/* Pop-up vGHC Austin
   Layout: a left-aligned column on a dark ground. The four tracks are four "channels".
   Each channel has an LED color, and every page borrows one of them as its accent.
   Single dark look by choice: the idea is a quiet room lit by headphones. */

:root {
  color-scheme: dark;
  /* color */
  --bg: #0C0A14;
  --raised: #15121F;
  --line: rgba(245, 242, 255, 0.14);
  --line-strong: rgba(245, 242, 255, 0.32);
  --text: #F5F2FF;
  --soft: #D6D1EC;
  --muted: #BDB7DA;
  --dim: #A9A3C8;
  --ch1: #2EE6C5;
  --ch2: #6FB1FF;
  --ch3: #B99AFF;
  --ch4: #FF6B97;
  /* type */
  --font-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Instrument Sans', 'Helvetica Neue', Helvetica, system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  /* layout */
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* every page picks one channel as its accent */
.page { --accent: var(--ch1); }
.page-c1 { --accent: var(--ch1); }
.page-c2 { --accent: var(--ch2); }
.page-c3 { --accent: var(--ch3); }
.page-c4 { --accent: var(--ch4); }
.c1 { --c: var(--ch1); }
.c2 { --c: var(--ch2); }
.c3 { --c: var(--ch3); }
.c4 { --c: var(--ch4); }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 10; padding: 10px 16px; border-radius: 4px; background: var(--text); color: var(--bg); font-weight: 700; }
.skip:focus { top: 12px; }

/* type roles */
h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.05rem, 6vw, 4.4rem); line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.45rem, 3.3vw, 2.25rem); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
h3 { font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
.eyebrow { font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.4; letter-spacing: 0.14em; color: var(--muted); }
.lede { max-width: 40em; font-size: clamp(1.1rem, 1.9vw, 1.32rem); line-height: 1.45; color: var(--soft); }
.note { max-width: 65ch; color: var(--muted); font-size: 0.98rem; }
.fn { text-decoration: none; padding-inline: 1px; }

/* LED: the one recurring mark */
.led { flex: none; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--accent)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--accent)) 24%, transparent); }
.led.lg { width: 16px; height: 16px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--c, var(--accent)) 24%, transparent); }

/* placeholders stay visibly unfinished */
.ph { padding: 0.1em 0.45em; border: 1px dashed var(--line-strong); border-radius: 4px; background: rgba(245, 242, 255, 0.07); font-family: var(--font-mono); font-size: 0.9em; color: var(--text); overflow-wrap: anywhere; }
.draft { max-width: 65ch; padding: 12px 16px; border: 1px dashed var(--line-strong); border-radius: 4px; font-family: var(--font-mono); font-size: 0.84rem; line-height: 1.5; color: var(--muted); }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; font-family: var(--font-mono); font-size: 0.86rem; letter-spacing: 0.14em; text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.site-nav a { padding-block: 8px; color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); box-shadow: 0 2px 0 var(--accent); }
.site-header .btn { min-height: 40px; padding: 6px 16px; }
/* below this width the single row no longer fits: brand and button share the first row,
   the links take the second */
@media (max-width: 800px) {
  .site-header .wrap { column-gap: 12px; }
  .site-nav { order: 3; flex-basis: 100%; }
}
@media (max-width: 400px) { .brand .city { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; border: 1.5px solid var(--text); border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--text); }
.btn:hover { border-color: var(--accent); }
.btn-primary:hover { background: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* sections */
.section { border-top: 1px solid var(--line); }
.section > .wrap { display: flex; flex-direction: column; gap: clamp(22px, 3vw, 34px); padding-block: clamp(44px, 7vw, 84px); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 46rem; }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero .rings { position: absolute; top: 0; right: 0; width: min(1100px, 170vw); max-width: none; transform: translate(42%, -44%); pointer-events: none; }
.hero .wrap { position: relative; display: flex; flex-direction: column; gap: clamp(22px, 3.2vw, 36px); padding-block: clamp(40px, 7vw, 88px) clamp(44px, 7vw, 84px); }
.hero h1 { max-width: 15em; }
.hero h1 .q { color: var(--ch1); }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: clamp(28px, 5vw, 64px); }
.hero-pitch { display: flex; flex-direction: column; gap: 24px; }
.facts { border-top: 1px solid var(--line-strong); }
.facts > div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.facts dt { padding-top: 0.3em; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.12em; color: var(--muted); }
.facts dd { font-weight: 600; }
.facts dd small { display: block; font-size: 0.95rem; font-weight: 400; color: var(--muted); }
@media (max-width: 800px) { .hero-row { grid-template-columns: minmax(0, 1fr); } }

/* inner page heads */
.page-head .wrap { display: flex; flex-direction: column; gap: 18px; padding-block: clamp(36px, 6vw, 72px) clamp(32px, 5vw, 60px); }
.page-head h1 { font-size: clamp(1.9rem, 5.2vw, 3.6rem); max-width: 16em; }
.crumb { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--muted); text-decoration: none; }
.crumb:hover { color: var(--text); }
.ch-label { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); letter-spacing: 0.12em; color: var(--c, var(--accent)); }

/* three statements */
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: clamp(22px, 3vw, 40px); }
.trio > div { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--line-strong); }
.trio p { color: var(--soft); }

/* the day */
.schedule { border-top: 1px solid var(--line-strong); }
.schedule li { display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; align-items: center; gap: 6px 20px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.schedule time { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--soft); }
.schedule .what { font-size: 1.12rem; font-weight: 600; line-height: 1.3; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 3px 12px; border-radius: 999px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; white-space: nowrap; }
.pill.on { border: 1px solid var(--line-strong); color: var(--soft); }
.pill.off { background: var(--text); color: var(--bg); }
@media (max-width: 600px) {
  .schedule li { grid-template-columns: 5.6rem minmax(0, 1fr); }
  .schedule .pill { grid-column: 2; justify-self: start; }
}

/* channel list */
.channels { border-top: 1px solid var(--line-strong); }
.channels li { border-bottom: 1px solid var(--line); }
.channels a { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 2px 16px; padding: 18px 10px 18px 6px; text-decoration: none; }
.channels a:hover { background: var(--raised); }
.channels .name { font-size: clamp(1.2rem, 2.6vw, 1.7rem); font-weight: 600; line-height: 1.2; }
.channels .ch { font-family: var(--font-mono); letter-spacing: 0.1em; color: var(--c); white-space: nowrap; }
.channels .for { grid-column: 2 / -1; color: var(--muted); }
.more { font-weight: 600; }

/* organizers */
.organizers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.organizer { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.organizer:hover { border-color: var(--line-strong); background: var(--raised); }
.monogram { display: grid; place-items: center; width: 76px; height: 76px; border: 2px solid var(--line-strong); border-radius: 50%; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; }
.organizer .who { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.organizer .role { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.12em; color: var(--muted); }
.organizer .name { font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.organizer .go { color: var(--muted); font-size: 0.95rem; }
.sponsor { font-weight: 600; }

/* label and value lists */
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 clamp(24px, 4vw, 56px); border-top: 1px solid var(--line-strong); }
.kv > div { display: flex; flex-direction: column; gap: 4px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.kv dt { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.12em; color: var(--muted); }
.kv dd { color: var(--soft); }
.kv dd strong { color: var(--text); }

/* track explorer */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; cursor: pointer; }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: var(--bg); }
.table-scroll { overflow-x: auto; border-top: 1px solid var(--line-strong); }
.guide { width: 100%; min-width: 782px; border-collapse: collapse; table-layout: fixed; }
.guide th, .guide td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.guide thead th { padding-bottom: 12px; border-bottom: 2px solid var(--c, var(--line-strong)); font-family: var(--font-mono); font-size: 0.8rem; font-weight: 400; letter-spacing: 0.1em; color: var(--c, var(--muted)); }
.guide thead th .name { display: block; margin-top: 2px; font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--text); }
.guide .time { width: 6.4rem; font-family: var(--font-mono); font-weight: 400; font-variant-numeric: tabular-nums; color: var(--soft); white-space: nowrap; }
.guide td a { display: block; font-weight: 600; line-height: 1.3; text-decoration: none; }
.guide td a:hover { text-decoration: underline; text-decoration-color: var(--c); }
.guide td small, .guide .time small { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 0.86rem; color: var(--muted); white-space: normal; }
.guide td.open { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--dim); }
.guide tr.together td.all { background: rgba(245, 242, 255, 0.06); padding-left: 14px; font-weight: 600; }
.guide .shared { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.guide[data-focus] .col { opacity: 0.3; }
.guide[data-focus="c1"] .col.c1, .guide[data-focus="c2"] .col.c2, .guide[data-focus="c3"] .col.c3, .guide[data-focus="c4"] .col.c4 { opacity: 1; }
.swipe { display: none; }
/* Below 850px the four-column table (782px at its narrowest) no longer fits the column.
   It scrolls sideways, and choosing a channel shows that one column on its own.
   site.js uses the same 849px. */
@media (max-width: 849px) {
  .swipe { display: block; }
  .guide[data-focus] { min-width: 0; }
  .guide[data-focus] .col { display: none; }
  .guide[data-focus="c1"] .col.c1, .guide[data-focus="c2"] .col.c2, .guide[data-focus="c3"] .col.c3, .guide[data-focus="c4"] .col.c4 { display: table-cell; opacity: 1; }
}
.offtrack { border-top: 1px solid var(--line-strong); }
.offtrack li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 4px 24px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.offtrack time { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--soft); white-space: nowrap; }
.offtrack .t { font-weight: 600; }
.offtrack .d { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 600px) { .offtrack li { grid-template-columns: minmax(0, 1fr); } }

/* one track in detail */
.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); align-items: start; gap: clamp(22px, 4vw, 56px); }
.fit ul { display: flex; flex-direction: column; gap: 12px; font-size: 1.12rem; }
.fit li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: baseline; color: var(--soft); }
.fit li .led { transform: translateY(-1px); }
.intro { max-width: 62ch; color: var(--soft); }
.lineup { border-top: 1px solid var(--line-strong); }
.lineup > li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 6px 24px; padding-block: 22px; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.lineup time { padding-top: 0.2em; font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--soft); white-space: nowrap; }
.lineup .body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lineup .sum { max-width: 62ch; color: var(--soft); }
.lineup .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.93rem; color: var(--muted); }
.lineup .tag { display: inline-flex; align-items: center; gap: 8px; }
.lineup li.together h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.lineup li.open h3 { font-weight: 600; color: var(--muted); }
.lineup li.open .sum { color: var(--muted); }
.lineup li:target { background: var(--raised); box-shadow: -12px 0 0 var(--raised), 12px 0 0 var(--raised); }
.alt { display: flex; flex-direction: column; gap: 4px; max-width: 62ch; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 4px; font-size: 0.97rem; color: var(--soft); }
.alt .label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--muted); }
.alt strong { color: var(--text); }
@media (max-width: 600px) { .lineup > li { grid-template-columns: minmax(0, 1fr); } }
.week { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(20px, 3vw, 40px); }
.week h3 { padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: 0.8rem; font-weight: 400; letter-spacing: 0.12em; color: var(--muted); }
.week li { display: flex; flex-direction: column; gap: 2px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.week time { font-family: var(--font-mono); font-size: 0.86rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.week .t { font-weight: 600; line-height: 1.3; }
.week .a { font-size: 0.93rem; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.pager a { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 20px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-weight: 600; }
.pager a:hover { border-color: var(--c, var(--text)); }

/* long-form pages */
.prose { display: flex; flex-direction: column; gap: 1.05em; max-width: 65ch; font-size: 1.1rem; line-height: 1.6; color: var(--soft); }
.prose h2 { margin-top: 0.9em; font-size: clamp(1.25rem, 2.6vw, 1.65rem); color: var(--text); }
.prose strong { color: var(--text); }
.timeline { border-top: 1px solid var(--line-strong); }
.timeline li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 4px 24px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.timeline .when { padding-top: 0.2em; font-family: var(--font-mono); font-size: 0.86rem; letter-spacing: 0.08em; color: var(--c, var(--muted)); }
.timeline .what { color: var(--soft); }
@media (max-width: 600px) { .timeline li { grid-template-columns: minmax(0, 1fr); } }

/* bios */
.bio-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 44px); }
.portrait { display: grid; place-items: center; width: clamp(120px, 22vw, 190px); aspect-ratio: 1; max-width: 100%; border: 2px dashed var(--line-strong); border-radius: 50%; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--muted); text-align: center; }
.bio-id { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (max-width: 560px) { .bio-head { grid-template-columns: minmax(0, 1fr); } }

/* footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 14px; padding-block: 36px 56px; font-size: 0.95rem; color: var(--dim); }
.site-footer .sponsor { color: var(--soft); font-size: 1.05rem; }
.site-footer .fine { max-width: 78ch; font-style: italic; }
.site-footer .fine a { overflow-wrap: anywhere; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 10px; }
.foot-nav a { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .channels a, .organizer, .btn, .chip, .pager a { transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
}

/* visually hidden, still read aloud */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
