/* Signal build-out: visible actions, icon + text navigation, and policy pages. */
.ui-icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.icon-label { display: inline-flex; align-items: center; gap: 9px; }
.button > .icon-label { font-size: inherit; line-height: 1.3; }
.button { min-height: 48px; }
.site-header [data-theme-toggle], .site-footer [data-theme-toggle] { min-width: 44px; min-height: 44px; justify-content: center; padding: 4px; flex-shrink: 0; }
.site-footer [data-theme-toggle] { margin-left: 0; }
.site-header .theme-toggle { min-height: 44px; flex-shrink: 0; margin-left: 0; white-space: nowrap; font-size: 12px; }
@media (max-width:760px) {
  .site-header .theme-toggle { font-size: 10px; gap: 5px; }
  .site-header .main-nav { margin-left: auto; }
  .design-bar { height: 76px; grid-template-rows: 28px 48px; }
}
@media (max-width:380px) {
  .site-header .nav-logo { width: 110px; }
  .site-header { gap: 10px; }
}
.button > .ui-icon { width: 20px; height: 20px; }
.main-nav > a, .member-link { min-height: 44px; }
.main-nav .ui-icon { width: 18px; height: 18px; }
.main-nav > a > .ui-icon:last-child:not(:first-child) { width: 14px; }
.member-link span { margin-left: 0; color: inherit; }
.hero-scroll { min-height: 44px; }
.hero-scroll .ui-icon { width: 17px; height: 17px; color: var(--accent); }
.hero-scroll > span:not(:last-child) { color: var(--fg); font-size: inherit; }

/* A quiet, static brushed-metal finish for the real site chrome, not the
   design-review toolbar. CSS only: no texture download or moving shimmer. */
.site-header, .site-footer {
  --metal-base: #0e1012;
  --metal-grain: rgb(223 232 240 / .012);
  --metal-sheen: rgb(223 232 240 / .055);
  --metal-soft: rgb(223 232 240 / .018);
  --metal-edge: rgb(230 237 242 / .06);
  --metal-shade: rgb(0 0 0 / .13);
  --metal-reflection: linear-gradient(112deg, transparent 4%, var(--metal-soft) 20%, transparent 32%, var(--metal-sheen) 49%, transparent 66%, var(--metal-soft) 84%, transparent 100%);
  background-color: var(--metal-base);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 2px, var(--metal-grain) 2px 3px),
    var(--metal-reflection),
    linear-gradient(180deg, var(--metal-soft), transparent 38%, var(--metal-shade));
  box-shadow: inset 0 1px var(--metal-edge), inset 0 -1px var(--metal-shade);
}
.site-header { margin: 0; padding: 0 var(--pad); }
[data-theme="light"] :is(.site-header, .site-footer) {
  --metal-base: #e5e6e2;
  --metal-grain: rgb(255 255 255 / .13);
  --metal-sheen: rgb(255 255 255 / .4);
  --metal-soft: rgb(255 255 255 / .13);
  --metal-edge: rgb(255 255 255 / .65);
  --metal-shade: rgb(60 66 70 / .035);
}

.signal-next.next-up-panel {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
}
.next-panel-label { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 8px; border-right: 1px solid var(--line); padding-right: 16px; }
.next-panel-label h2 { display: flex; align-items: center; gap: 8px; font: 11px var(--mono); text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.next-panel-label .ui-icon { width: 17px; height: 17px; }
.next-panel-label > span { font: 10px/1.5 var(--mono); color: var(--muted); }
.next-up-events { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.next-up-panel[data-count="2"] .next-up-events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.next-up-event { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; align-items: center; gap: 18px; min-width: 0; }
.next-up-event + .next-up-event { border-left: 1px solid var(--line); padding-left: 24px; }
.next-up-event .button { min-width: 164px; gap: 16px; padding: 12px 16px; font-size: 14px; white-space: nowrap; }
.next-up-event time { font-size: 12px; }
.next-up-event time strong { font-size: 34px; }
.next-up-event time small { display: block; font: 9px/1.5 var(--mono); margin-top: 5px; }
.next-up-event .next-name a { font-size: 33px; line-height: 1.05; text-transform: uppercase; overflow-wrap: anywhere; }
.next-up-event .next-name > span { font: 10px/1.5 var(--mono); }
.next-up-panel[data-count="2"] .next-name a { font-size: 27px; }
.next-up-empty { grid-template-columns: minmax(0, 1fr) auto !important; }
.next-up-empty p { margin-top: 5px; font-size: 17px; }
.afterhours-hero .next-up-panel { left: auto; right: var(--pad); bottom: 112px; width: 42%; grid-template-columns: 1fr; gap: 15px; }
.afterhours-hero .next-panel-label { border: 0; padding: 0; flex-direction: row; justify-content: space-between; }
.afterhours-hero .next-up-events { grid-template-columns: 1fr; }
.afterhours-hero .next-up-event { grid-template-columns: 64px minmax(0, 1fr); }
.afterhours-hero .next-up-event .button { grid-column: 1 / -1; }
.afterhours-hero .next-up-event + .next-up-event { border: 0; border-top: 1px solid var(--line); padding: 16px 0 0; }

.section-heading .eyebrow { font-size: 11px; }
.section-heading .eyebrow .ui-icon { width: 16px; height: 16px; }
.card-topline { font: 12px Barlow, Arial, sans-serif; }
.card-topline time { color: var(--fg); }
.card-topline time .ui-icon { width: 17px; height: 17px; color: var(--accent); }
.date-weekday { color: var(--muted); }
.event-grid { row-gap: 42px; }
.event-card { display: flex; flex-direction: column; }
.event-art { flex-shrink: 0; }
.card-content { flex: 1; display: flex; flex-direction: column; }
.card-content .eyebrow { font: 12px/1.5 Barlow, Arial, sans-serif; color: var(--fg); letter-spacing: 0; }
.card-content .eyebrow .ui-icon { width: 16px; height: 16px; color: var(--muted); }
.card-content h3 { text-transform: uppercase; margin-top: 9px; }
.event-detail { font: 12px/1.5 Barlow, Arial, sans-serif; min-height: 18px; margin: 7px 0 22px; }
.card-actions { display: grid; grid-template-columns: 1fr; gap: 10px; padding-top: 17px; margin-top: auto; }
.card-actions .ticket-link { background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; padding: 14px 18px; font-size: 16px; }
.card-actions .ticket-link span { font-size: inherit; }
.card-actions .ticket-link:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.card-actions .detail-link { justify-content: center; color: var(--fg); border: 1px solid var(--line); min-height: 46px; width: 100%; font: 14px Barlow, Arial, sans-serif; }
.card-actions .detail-link span { margin: 0; }
.card-actions .detail-link > .ui-icon:last-child { width: 16px; height: 16px; }
.card-actions .detail-link:hover { border-color: var(--accent); color: var(--accent); }
.empty-events { border: 1px solid var(--line); padding: 45px 24px; text-align: center; }
.empty-events > .ui-icon { width: 38px; height: 38px; color: var(--accent); margin-bottom: 15px; }
.empty-events h3 { font: 36px Condensed, Arial, sans-serif; }
.empty-events p { color: var(--muted); margin: 10px 0 24px; }

.footer-top { display: grid; grid-template-columns: 195px 1fr auto; gap: 32px; }
.footer-top p { font: 10px/1.8 var(--mono); margin: 0; }
.footer-top .contact-link { margin: 0; padding: 12px 0; min-height: 44px; font-size: 14px; }
.footer-top .contact-link span { color: var(--fg); margin: 0; }
.footer-top .contact-link > .ui-icon:first-child { color: var(--accent); }
.footer-utilities { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.footer-top .footer-utilities a { min-height: 44px; font-size: 14px; margin: 0; }
.footer-top .footer-utilities a span { color: var(--fg); margin: 0; }
.footer-utilities > a > .ui-icon:first-child { color: var(--accent); }
.footer-utilities > a > .ui-icon:last-child { width: 16px; height: 16px; }
.footer-socials { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 22px; align-items: center; border-top: 1px solid var(--line); padding: 24px 0; }
.footer-socials > .eyebrow { font-size: 10px; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 0; font: 13px Barlow, Arial, sans-serif; white-space: nowrap; }
.social-icon { display: block; width: 30px; height: 30px; flex: 0 0 auto; }
.social-link:hover { color: var(--accent); }
.social-link:hover > span { text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 44px; gap: 30px; align-items: center; padding-top: 16px; font-size: 9px; }
.footer-bottom > [data-theme-toggle] { justify-self: end; width: 44px; }
.policy-links { display: flex; flex-wrap: wrap; gap: 25px; }
.policy-links a { min-height: 44px; color: var(--fg); font: 14px Barlow, Arial, sans-serif; }
.policy-links .ui-icon { width: 18px; height: 18px; color: var(--accent); }
.footer-bottom button { min-height: 44px; font: 14px Barlow, Arial, sans-serif; }
.footer-bottom button .ui-icon { width: 18px; height: 18px; }
.preview-note { font: 8px/1.6 var(--mono); color: var(--muted); letter-spacing: .025em; margin-top: 12px; }

/* Direct-only entry point until authentication is ready. No launch navigation. */
[data-page="login"] .direction-picker { display: none; }
.login-page { padding: 38px var(--pad) 85px; min-height: 500px; }
.login-page > .back-link { display: flex; width: fit-content; }
.login-page h1 { font: bold clamp(48px, 7vw, 92px)/1.05 Condensed, Arial, sans-serif; margin: 22px 0 18px; }
.login-intro { font-size: 20px; max-width: 600px; }
.login-status { color: var(--muted); margin: 16px 0 28px; font-size: 14px; max-width: 580px; }
.login-notify { font-size: 15px; }

[data-page="policy"] .direction-picker { display: none; }
.policy-page { padding: 40px var(--pad) 90px; }
.policy-intro { border-bottom: 1px solid var(--line); padding-bottom: 35px; }
.back-link { min-height: 44px; font-size: 14px; margin-bottom: 35px; }
.back-link .ui-icon { width: 18px; }
.policy-intro h1 { font-family: Condensed, Arial, sans-serif; font-size: clamp(64px, 7vw, 105px); text-transform: uppercase; line-height: 1.05; letter-spacing: -.025em; margin: 14px 0 18px; }
.policy-source { font-size: 14px; color: var(--muted); max-width: 700px; }
.policy-source a { display: inline-flex; align-items: center; gap: 5px; color: var(--fg); margin-left: 8px; min-height: 32px; }
.policy-source .ui-icon { width: 16px; height: 16px; }
.policy-layout { display: grid; grid-template-columns: 225px minmax(0, 780px); gap: 70px; padding-top: 42px; }
.policy-index { position: sticky; top: 90px; align-self: start; }
.policy-index summary { cursor: pointer; font: 11px var(--mono); color: var(--accent); min-height: 35px; }
.policy-index nav { display: flex; flex-direction: column; max-height: calc(100svh - 165px); overflow-y: auto; padding-right: 15px; }
.policy-index nav a { font: 11px/1.5 Barlow, Arial, sans-serif; padding: 12px 0; min-height: 44px; color: var(--muted); border-bottom: 1px solid var(--line); }
.policy-index nav a:hover { color: var(--accent); }
.policy-copy { font: 15px/1.8 Barlow, Arial, sans-serif; overflow-wrap: break-word; }
.policy-copy h2 { font: bold 26px/1.3 Condensed, Arial, sans-serif; margin: 42px 0 18px; border-top: 1px solid var(--line); padding-top: 25px; scroll-margin-top: 95px; }
.policy-copy h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.policy-copy p { margin: 0 0 22px; }
.policy-copy ul { margin: 0 0 22px; padding-left: 22px; }
.policy-copy ul ul { margin: 12px 0; }
.policy-copy li { padding-left: 5px; margin-bottom: 12px; }
.policy-copy li::marker { color: var(--accent); }

@media (max-width: 1100px) {
  .signal-next.next-up-panel[data-count="2"] { grid-template-columns: 1fr; gap: 14px; }
  .next-up-panel[data-count="2"] .next-panel-label { flex-direction: row; justify-content: flex-start; align-items: center; border: 0; gap: 16px; }
  .next-up-panel[data-count="2"] .next-up-events { grid-template-columns: 1fr; gap: 18px; }
  .next-up-event + .next-up-event { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; }
  [data-next-count="2"] .signal-hero { min-height: 820px; }
  .afterhours-hero .next-up-panel { width: 42%; }
  .afterhours-hero .next-name a { font-size: 28px; }
  .afterhours-hero .next-up-event .button { min-width: 0; }
  .footer-socials { grid-template-columns: 1fr; gap: 16px; }
  .footer-top { grid-template-columns: 195px 1fr; }
  .footer-utilities { grid-column: 1 / -1; }
  .footer-bottom { gap: 18px; }
  .policy-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 35px; }
}

@media (max-width: 760px) {
  /* The stacked footer is tall: keep its reflection near the top instead of
     stretching a diagonal stripe through every row of links. */
  .site-footer { --metal-reflection: radial-gradient(ellipse 80% 140px at 45% 0%, var(--metal-sheen), transparent 100%); }
  .main-nav { gap: 16px; }
  .member-link span { margin: 0; }
  .main-nav .ui-icon { width: 18px; height: 18px; }
  .signal-hero { height: 680px; }
  .signal-copy { top: 20%; }
  .signal-next.next-up-panel { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 15px; }
  .next-panel-label { border: 0; padding: 0; }
  .next-panel-label h2 { font-size: 10px; }
  .next-panel-label .ui-icon { width: 15px; height: 15px; }
  .next-up-events, .next-up-panel[data-count="2"] .next-up-events { grid-template-columns: 1fr; gap: 17px; }
  .next-up-event { grid-template-columns: 66px minmax(0, 1fr); gap: 12px; }
  .next-up-event .button { grid-column: 1 / -1; min-height: 48px; min-width: 0; padding: 12px 14px; font-size: 15px; }
  .next-up-event .next-name a, .next-up-panel[data-count="2"] .next-name a { font-size: 28px; }
  .next-up-event .next-name > span { max-width: none; font-size: 10px; }
  .next-up-event time small { font-size: 8px; }
  .next-up-event time strong { font-size: 29px; }
  [data-next-count="2"] .signal-hero { height: 845px; min-height: 845px; }
  [data-next-count="2"] .signal-copy { top: 16%; }
  .next-up-empty { grid-template-columns: 1fr !important; }
  .afterhours-hero { height: 860px; }
  .afterhours-hero .next-up-panel { left: var(--pad); right: var(--pad); width: auto; bottom: 62px; }
  [data-next-count="2"] .afterhours-hero { height: 1060px; }
  .hero-actions .micro { display: none; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 38px; }
  .season-label { font-size: 8px; max-width: 74px; }
  .section-heading .eyebrow { font-size: 9px; }
  .card-topline { font-size: 12px; }
  .card-content h3 { font-size: 36px; }
  .card-content .eyebrow, .event-detail { font-size: 13px; }
  .card-actions { padding-top: 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-top p { font-size: 8px; text-align: right; }
  .footer-top .contact-link { grid-column: 1 / -1; text-align: left; justify-self: start; padding: 0; }
  .footer-utilities { gap: 16px; }
  .social-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
  .social-link { font-size: 13px; gap: 7px; }
  .social-icon { width: 28px; height: 28px; }
  .footer-bottom { grid-template-columns: 1fr auto; gap: 15px; }
  .footer-bottom .policy-links { grid-column: 1 / -1; grid-row: 1; gap: 18px; }
  .policy-links a { font-size: 13px; gap: 7px; }
  .footer-bottom > span { font-size: 8px; grid-column: 1; grid-row: 2; }
  .footer-bottom > [data-theme-toggle] { grid-column: 2; grid-row: 2; }
  .footer-bottom button { font-size: 13px; }
  .policy-page { padding-top: 22px; padding-bottom: 50px; }
  .policy-intro h1 { font-size: 60px; }
  .policy-source { font-size: 13px; }
  .policy-source a { margin-left: 0; }
  .policy-layout { display: block; padding-top: 24px; }
  .policy-index { position: static; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
  .policy-index summary { font-size: 12px; min-height: 36px; }
  .policy-index nav { max-height: 350px; }
  .policy-index nav a { font-size: 12px; }
  .policy-copy { font-size: 14px; line-height: 1.8; }
  [data-page="policy"] .design-bar { height: 42px; grid-template-rows: 42px; }
  [data-page="login"] .design-bar { height: 42px; grid-template-rows: 42px; }
}

@media (max-width: 380px) {
  .nav-logo, [data-direction="afterhours"] .nav-logo { width: 120px; }
  .main-nav { gap: 10px; }
  .main-nav .icon-label { gap: 6px; }
  .section-heading h2 { font-size: 33px; }
  .social-link { font-size: 12px; gap: 5px; }
  .social-icon { width: 25px; height: 25px; }
  .policy-links { gap: 10px !important; }
}
