/* Demo Day landing — brand-true layout on AppWorks design system */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

body {
  background: var(--aw-white);
  color: var(--fg1);
  font-family: var(--font-sans);
  font-feature-settings: 'ss01', 'cv11';
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ───────── Top nav ───────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  color: var(--accent);
}
.nav-brand svg { display: block; color: var(--accent); }
.nav-brand .logo { height: 24px; color: var(--aw-slate); }
.nav-brand .pipe { width: 1px; height: 18px; background: var(--border-strong); }
.nav-brand .crumb {
  font-size: 13px; font-weight: 500; color: var(--fg2);
  letter-spacing: var(--tracking-snug);
}
.nav-brand .crumb b { color: var(--fg1); font-weight: 600; }
.nav-tabs {
  display: flex; gap: 4px;
}
.nav-tabs a {
  padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--fg2);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav-tabs a:hover { background: var(--aw-mist); color: var(--fg1); }
.nav-tabs a.active { color: var(--fg1); }
.nav-tabs a.active::after {
  content: ""; display: block; height: 2px; margin-top: 6px;
  background: var(--accent); border-radius: 1px;
}
.nav-cta { display: flex; gap: 8px; align-items: center; }

/* Mobile nav elements — hidden on desktop */
.nav-mobile { display: none; align-items: center; gap: 10px; }
.nav-sheet { display: none; }
.nav-burger {
  width: 42px; height: 42px; flex-shrink: 0;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: #fff; color: var(--aw-slate);
  display: grid; place-items: center;
}
.nav-burger svg { width: 22px; height: 22px; }
.nav-cap-pill { white-space: nowrap; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid var(--border-strong);
  background: var(--aw-white); color: var(--fg1);
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              transform 80ms var(--ease);
  cursor: pointer;
}
.btn:hover { border-color: var(--aw-slate); }
.btn:active { transform: scale(0.98); }
.btn.primary {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.dark {
  background: var(--aw-slate); color: #fff; border-color: var(--aw-slate);
}
.btn.dark:hover { background: #353F46; border-color: #353F46; }
.btn.ghost {
  background: transparent; border-color: transparent; color: var(--fg1);
}
.btn.ghost:hover { background: var(--aw-mist); }
.btn.outline {
  background: transparent; border-color: var(--border-strong); color: var(--fg1);
}
.btn.outline:hover { background: var(--aw-mist); }
.btn.sm { padding: 7px 12px; font-size: 13px; }
.btn.lg { padding: 14px 22px; font-size: 15px; }
.btn .live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7); animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ───────── Eyebrow ───────── */
.eyebrow {
  font-family: var(--font-sans); font-size: 11px; font-weight: 700;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.on-dark { color: #FFB079; }
.eyebrow.slate { color: var(--aw-slate-70); }

/* ───────── Hero ───────── */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero.slate { background: var(--aw-slate); color: #fff; }
.hero.bone { background: var(--aw-bone); color: var(--aw-slate); }
.hero.orange { background: var(--accent); color: #fff; }

/* Photo hero — white abstract background + key-visual lockup */
.hero.photo { background: #f4f6f8; color: var(--aw-slate); }
.hero.photo .hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("assets/hero-bg.jpg") center/cover no-repeat;
}
.hero.photo .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0.55) 70%, #ffffff 100%);
}
.hero.photo .hero-inner { z-index: 2; }
.hero-keyvisual {
  width: 100%; max-width: 760px; height: auto;
  margin: 8px auto 0;
  filter: drop-shadow(0 6px 24px rgba(66,79,87,0.12));
}

/* Text headline lockup (editions without a printed key visual, e.g. SG) */
.hero-wordmark {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; margin: 4px 0 0;
}
.hero-wordmark .hw-mark {
  font-family: var(--font-mono);
  font-size: clamp(15px, 2.2vw, 22px); font-weight: 700;
  letter-spacing: 0.04em; color: var(--accent);
  text-transform: none;
}
.hero-wordmark .hw-big {
  font-family: var(--font-display);
  font-size: clamp(56px, 11vw, 132px); font-weight: 900;
  letter-spacing: -0.04em; line-height: 0.92;
  color: var(--aw-slate);
}
.hero-wordmark .hw-city {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 40px); font-weight: 800;
  letter-spacing: -0.01em; color: var(--accent);
  margin-top: 2px;
}
.hero.photo .eyebrow.slate { color: var(--accent); }
.hero.photo .lede { color: var(--aw-slate-90); }
.hero.photo .lede b { color: var(--aw-slate); }
.hero.photo .lede.zh { color: var(--aw-grey); }
.hero.photo .hero-meta { border-color: rgba(66,79,87,0.18); }
.hero.photo .hero-meta .item { border-right-color: rgba(66,79,87,0.18); }
.hero.photo .hero-meta .k { color: var(--aw-grey); }
.hero.photo .hero-meta .v { color: var(--aw-slate); }
.hero.photo .hero-meta .v small { color: var(--aw-grey); }
.hero.photo .hero-meta .v .num { color: var(--accent); }

.hero .hero-inner {
  padding: 88px 0 72px;
  position: relative;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  z-index: 2;
}
.hero .eyebrow { display: inline-block; text-transform: none; letter-spacing: 0.04em; }

/* Headline block: cohort stamp + big "Demo Day" + optional zh mark */
.hero-headline-block {
  margin: 28px 0 8px;
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.cohort-stamp {
  display: inline-flex; align-items: baseline; gap: 14px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 18px; font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.hero.bone .cohort-stamp {
  background: rgba(66,79,87,0.06);
  border-color: rgba(66,79,87,0.18);
}
.cohort-stamp .num { color: var(--accent); }
.hero.bone .cohort-stamp .num { color: var(--accent); }
.cohort-stamp .plus {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 500;
  opacity: 0.55;
  color: currentColor;
}

.hero h1 {
  font-size: clamp(72px, 13vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 900;
  margin: 0;
  text-align: center;
  white-space: nowrap;
}
.hero.slate h1, .hero.orange h1 { color: #fff; }
.hero.bone h1 { color: var(--aw-slate); }
.hero h1 .punct { color: var(--accent); }
.hero.orange h1 .punct { color: var(--aw-slate); }

.hero-zh-mark {
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: 0.4em;
  opacity: 0.32;
  margin-top: 18px;
  text-transform: none;
}
.hero.bone .hero-zh-mark { color: var(--aw-slate); opacity: 0.4; }

.hero .lede {
  font-size: 18px; line-height: 1.55; max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
}
.hero.slate .lede { color: rgba(255,255,255,0.84); }
.hero.bone .lede { color: var(--aw-slate-90); }
.hero.orange .lede { color: rgba(255,255,255,0.94); }
.hero .lede b { color: inherit; font-weight: 600; }
.hero.slate .lede b { color: #fff; }
.hero .lede.zh {
  margin-top: 12px; font-size: 15.5px; line-height: 1.6;
  font-family: var(--font-sans); font-weight: 400;
  max-width: 760px;
}
.hero.slate .lede.zh { color: rgba(255,255,255,0.62); }
.hero.bone .lede.zh { color: var(--aw-grey); }
.hero.orange .lede.zh { color: rgba(255,255,255,0.78); }

.hero-meta {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0; margin: 56px auto 0;
  border-top: 1px solid;
  border-color: rgba(255,255,255,0.16);
  text-align: left;
  width: 100%; max-width: 560px;
}
.hero.bone .hero-meta { border-color: rgba(66,79,87,0.18); }
.hero-meta .item {
  padding: 20px 24px 0 24px;
  border-right: 1px solid rgba(255,255,255,0.16);
}
.hero.bone .hero-meta .item { border-right-color: rgba(66,79,87,0.18); }
.hero-meta .item:last-child { border-right: 0; padding-right: 0; }
.hero-meta .item:first-child { padding-left: 0; }
.hero-meta .k {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero.slate .hero-meta .k, .hero.orange .hero-meta .k { color: rgba(255,255,255,0.6); }
.hero.bone .hero-meta .k { color: var(--aw-grey); }
.hero-meta .v {
  font-family: var(--font-display); font-size: 24px; font-weight: 800;
  letter-spacing: -0.015em; margin-top: 4px;
}
.hero.slate .hero-meta .v, .hero.orange .hero-meta .v { color: #fff; }
.hero.bone .hero-meta .v { color: var(--aw-slate); }
.hero-meta .v small {
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  margin-left: 6px;
}
.hero.slate .hero-meta .v small, .hero.orange .hero-meta .v small { color: rgba(255,255,255,0.62); }
.hero.bone .hero-meta .v small { color: var(--aw-grey); }
.hero-meta .v .num {
  font-family: var(--font-mono); color: var(--accent);
}
.hero.orange .hero-meta .v .num { color: var(--aw-slate); }

/* Hero decorative panel — full-width symmetric backdrop */
.hero-deck {
  position: absolute; inset: 0;
  pointer-events: none; opacity: 0.85;
  z-index: 1;
}
.hero-deck svg { width: 100%; height: 100%; display: block; }

/* ───────── Now on stage ───────── */
.stage-strip {
  margin-top: -32px; position: relative; z-index: 2;
}
.stage-card {
  display: grid; grid-template-columns: 280px 1fr auto;
  gap: 32px; align-items: center;
  background: #fff; color: var(--fg1);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px 28px;
  box-shadow: var(--shadow-md);
}
/* Captions-only card — the on-stage team block was removed */
.stage-card.captions-only {
  display: block;
  padding: 20px 24px;
}
.stage-card.captions-only .captions {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.stage-card .stage-photo {
  height: 168px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--aw-slate) 0%, #2b3a44 60%, var(--accent) 130%);
  position: relative; overflow: hidden;
}
.stage-card .stage-photo::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 20% 20%, rgba(255,255,255,0.18), transparent 60%);
}
.stage-card .stage-photo .live-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #fff;
  padding: 5px 10px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  display: flex; gap: 6px; align-items: center;
}
.stage-card .stage-photo .live-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: pulse-orange 1.6s infinite;
}
@keyframes pulse-orange {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70% { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.stage-card .stage-info .eyebrow { color: var(--accent); }
.stage-card .stage-info h2 {
  font-size: 32px; line-height: 1.1; margin: 6px 0 4px;
  font-weight: 800; letter-spacing: -0.02em;
}
.stage-card .stage-info .sub {
  font-size: 15px; color: var(--fg2); margin: 0 0 14px;
}
.stage-card .stage-info .pitch {
  font-size: 14px; color: var(--fg1); line-height: 1.55;
  margin: 0; max-width: 640px;
}
.stage-card .stage-side {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
  min-width: 200px;
}
.stage-card .timer {
  font-family: var(--font-mono); font-size: 28px; font-weight: 700;
  color: var(--aw-slate); letter-spacing: -0.01em;
}
.stage-card .timer .label {
  display: block; font-family: var(--font-sans);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg2);
  margin-bottom: 2px;
}
.stage-card .pos {
  font-size: 12px; color: var(--fg2);
  display: flex; gap: 8px; align-items: center;
}
.stage-card .pos b { color: var(--fg1); font-weight: 600; }

/* Phase variants — before show / intermission / cocktail. The hero photo
   on the left gets a different gradient + badge style per phase so the
   audience can read it from across the room. */
.stage-card.phase-before .stage-photo,
.stage-card.phase-cocktail .stage-photo,
.stage-card.phase-break .stage-photo {
  background: linear-gradient(135deg, var(--aw-slate) 0%, #2b3a44 100%);
}
.stage-card.phase-cocktail .stage-photo {
  background: linear-gradient(135deg, var(--accent) 0%, #C8431A 100%);
}
.stage-card.phase-break .stage-photo {
  background: linear-gradient(135deg, var(--aw-grey) 0%, var(--aw-slate) 100%);
}
.stage-card .stage-photo .live-badge.phase {
  background: rgba(255,255,255,0.16);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 6px;
}
.stage-card.phase-cocktail .stage-photo .live-badge.phase {
  background: rgba(255,255,255,0.92);
  color: var(--accent);
}
.stage-card .stage-photo .live-badge.phase svg { width: 12px; height: 12px; }

@media (max-width: 920px) {
  .stage-card { grid-template-columns: 1fr; }
  .stage-card .stage-side { align-items: flex-start; }
}

/* ───────── AI Interpretation caption strip ───────── */
.captions {
  grid-column: 1 / -1;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.captions .captions-header {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.captions .badge-ai {
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--aw-orange-wash);
  padding: 4px 9px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: 6px;
  flex-shrink: 0;
}
.captions .badge-ai .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-orange 1.6s infinite;
}
.captions .powered {
  font-size: 12px; color: var(--fg2);
  letter-spacing: -0.005em;
  flex: 1;
}
.captions .powered b { color: var(--fg1); font-weight: 600; }
.captions .powered code {
  font-family: var(--font-mono); font-size: 11.5px;
  background: var(--aw-mist); padding: 2px 7px; border-radius: var(--radius-xs);
  color: var(--fg1); margin-left: 4px; font-weight: 600;
  letter-spacing: 0.04em;
}
.captions .lang-seg {
  display: inline-flex; background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 2px;
}
.captions .lang-seg button {
  border: 0; background: transparent;
  padding: 5px 11px; font-size: 12px; font-weight: 600;
  color: var(--fg2); border-radius: var(--radius-pill);
  letter-spacing: -0.005em;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.captions .lang-seg button:hover { color: var(--fg1); }
.captions .lang-seg button.on { background: var(--aw-slate); color: #fff; }

.captions-body {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
  align-items: stretch;
}
@media (max-width: 920px) {
  .captions-body { grid-template-columns: 1fr; }
}

.wordly-frame {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
  min-height: 200px;
  display: flex;
}
.wordly-frame iframe {
  border: 0; width: 100%; min-height: 200px;
  display: block; flex: 1;
  background: #fff;
}
.wordly-frame .wordly-fallback {
  /* Visible only while the iframe is loading; the iframe sits on top once
     it renders. */
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 10px;
  align-items: center; justify-content: center;
  padding: 20px; text-align: center;
  background: var(--aw-mist); color: var(--fg2);
  pointer-events: none;
  z-index: 0;
}
.wordly-frame iframe { position: relative; z-index: 1; }
.wordly-frame .wordly-fallback .head {
  font-size: 13px; color: var(--fg2);
}
.wordly-frame .wordly-fallback .btn { pointer-events: auto; }

.wordly-qr {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--aw-mist);
  padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
  align-items: stretch;
}
.wordly-qr .qr-eyebrow {
  font-family: var(--font-sans);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg2);
  text-align: center;
}
.wordly-qr .qr-img {
  display: grid; place-items: center;
  background: #fff; border-radius: var(--radius-xs);
  padding: 8px;
  border: 1px solid var(--border);
}
.wordly-qr .qr-img img { display: block; }
.wordly-qr .qr-detail {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 11.5px; color: var(--fg2);
}
.wordly-qr .qr-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.wordly-qr .qr-row .k { color: var(--fg2); letter-spacing: 0.02em; }
.wordly-qr .qr-row .v {
  color: var(--fg1); font-weight: 600;
}
.wordly-qr .qr-row .v.mono {
  font-family: var(--font-mono); letter-spacing: 0.04em;
  background: #fff; padding: 1px 6px; border-radius: var(--radius-xs);
  border: 1px solid var(--border);
}
.wordly-qr .open-link {
  font-size: 12px; color: var(--accent);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
  text-decoration: none; margin-top: 2px;
}
.wordly-qr .open-link:hover { color: var(--accent-hover); }

/* ───────── Captions tab in live panel (Wordly iframe) ───────── */
.caption-live-stack {
  display: flex; flex-direction: column;
  height: 100%;
}
.caption-live-frame {
  flex: 1; min-height: 280px;
  background: #fff;
  display: flex;
}
.caption-live-frame iframe {
  border: 0; width: 100%; min-height: 280px; flex: 1; display: block;
}
.caption-live-footer {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 10px; align-items: center;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: var(--aw-mist);
}
.caption-live-footer .qr-thumb {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-xs); padding: 4px;
  display: grid; place-items: center;
}
.caption-live-footer .qr-thumb img { display: block; }
.caption-live-footer .qr-text { min-width: 0; }
.caption-live-footer .qr-text .k {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg2);
}
.caption-live-footer .qr-text .v {
  font-size: 12px; color: var(--fg1); margin-top: 2px;
  font-family: var(--font-sans);
}
.caption-live-footer .qr-text .v b {
  font-family: var(--font-mono); font-weight: 700;
  background: #fff; padding: 1px 5px; border-radius: var(--radius-xs);
  border: 1px solid var(--border); letter-spacing: 0.04em;
}

.caption-toolbar {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--aw-mist);
  display: flex; gap: 10px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
}
.caption-toolbar-info {
  display: flex; gap: 8px; align-items: center;
}
.caption-toolbar-info .badge-ai {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--aw-orange-wash);
  padding: 3px 8px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: 5px;
}
.caption-toolbar-info .badge-ai .dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
  animation: pulse-orange 1.6s infinite;
}
.caption-toolbar-info .session-code {
  font-family: var(--font-mono); font-size: 11.5px;
  background: #fff; padding: 2px 8px; border-radius: var(--radius-xs);
  border: 1px solid var(--border); color: var(--fg1);
  font-weight: 600; letter-spacing: 0.04em;
}
.caption-toolbar .lang-mini {
  display: inline-flex; gap: 4px;
}
.caption-toolbar .lang-mini button {
  border: 1px solid var(--border-strong);
  background: #fff; color: var(--fg1);
  padding: 4px 10px; font-size: 11.5px; font-weight: 600;
  border-radius: var(--radius-pill);
  letter-spacing: -0.005em;
}
.caption-toolbar .lang-mini button.on {
  background: var(--aw-slate); color: #fff; border-color: var(--aw-slate);
}

/* ───────── Section scaffold ───────── */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section.bone { background: var(--aw-bone); }
.section.mist { background: var(--aw-mist); }
.section.slate { background: var(--aw-slate); color: #fff; }
.section.slate h2, .section.slate h3 { color: #fff; }
.section.slate p { color: rgba(255,255,255,0.78); }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 32px; flex-wrap: wrap;
}
.section-head h2 {
  font-size: 40px; line-height: 1.1; letter-spacing: -0.022em;
  font-weight: 800; margin: 8px 0 0;
}
.section-head .sub {
  margin: 8px 0 0; font-size: 15px; color: var(--fg2);
  max-width: 580px; line-height: 1.6;
}
.section.slate .section-head .sub { color: rgba(255,255,255,0.7); }

/* ───────── Filters ───────── */
.filters {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-bottom: 24px;
}
.search {
  flex: 1; min-width: 280px;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  background: #fff;
  transition: border-color var(--dur-fast) var(--ease);
}
.search:focus-within { border-color: var(--aw-slate); }
.search input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 14px; color: var(--fg1);
}
.search input::placeholder { color: var(--aw-grey-60); }
.search .kbd {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg2); border: 1px solid var(--border);
  border-radius: 4px; padding: 2px 6px;
}
.search-clear {
  border: 0; background: var(--aw-mist); color: var(--fg2);
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 16px; line-height: 1; cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.search-clear:hover { background: var(--aw-slate); color: #fff; }

.chip {
  border: 1px solid var(--border-strong);
  background: #fff; color: var(--fg1);
  padding: 8px 12px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all var(--dur-fast) var(--ease);
}
.chip:hover { border-color: var(--aw-slate); }
.chip.on {
  background: var(--aw-slate); color: #fff; border-color: var(--aw-slate);
}
.chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--fg2);
}
.chip.tag-ai .dot { background: #1f1f1f; }
.chip.tag-enterprise .dot { background: #1d4ed8; }
.chip.tag-manufacturing .dot { background: #b45309; }
.chip.tag-dual-use .dot { background: #0f766e; }
.chip.on.tag-ai { background: #1f1f1f; border-color: #1f1f1f; }
.chip.on.tag-ai .dot { background: #fff; }
.chip.on.tag-enterprise { background: #1d4ed8; border-color: #1d4ed8; }
.chip.on.tag-enterprise .dot { background: #fff; }
.chip.on.tag-manufacturing { background: #b45309; border-color: #b45309; }
.chip.on.tag-manufacturing .dot { background: #fff; }
.chip.on.tag-dual-use { background: #0f766e; border-color: #0f766e; }
.chip.on.tag-dual-use .dot { background: #fff; }
.chip-divider { width: 1px; height: 20px; background: var(--border-strong); margin: 0 4px; }

/* ───────── Stage (teams) ───────── */
.stage { display: block; }

/* ───────── Teams grid ───────── */
.teams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.teams.comfy { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.teams.editorial { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.teams.compact { grid-template-columns: 1fr; gap: 0; }
@media (max-width: 1100px) {
  .teams, .teams.comfy { grid-template-columns: repeat(3, 1fr); }
  .teams.editorial { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) { .teams, .teams.comfy, .teams.editorial { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .teams, .teams.comfy, .teams.editorial, .teams.compact { grid-template-columns: 1fr; } }

.team-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px; display: flex; flex-direction: column; gap: 12px;
  position: relative; cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.team-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.team-card.live { border-color: var(--accent); }
.team-card .head { display: flex; gap: 12px; align-items: flex-start; }
.team-card .logo {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--aw-mist); color: var(--aw-slate);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 15px; font-weight: 800;
  letter-spacing: -0.01em; flex-shrink: 0;
}
.team-card .logo.order {
  font-family: var(--font-mono);
  font-size: 17px; font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--aw-slate); color: #fff;
}
.team-card.live .logo.order {
  background: var(--accent); color: #fff;
}
.team-card.live .logo { background: var(--aw-orange-wash); color: var(--accent); }

/* Team logo lockups on cards */
.card-logo-row {
  display: flex; align-items: center;
  height: 40px; margin-bottom: 2px;
}
.card-logo-img {
  max-height: 34px; max-width: 80%; width: auto;
  object-fit: contain; object-position: left center;
  display: block;
}
.card-logo-img.sm { max-height: 26px; max-width: 100%; }
.card-logo-sub {
  font-size: 13px; color: var(--fg2); line-height: 1.4;
}

/* Founder portrait avatars in the presenter row */
.presenter-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  flex-shrink: 0; background: var(--aw-mist);
  border: 1px solid var(--border);
}
.presenter-avatar.sm {
  width: 22px; height: 22px; vertical-align: middle;
  display: inline-block; margin-right: 2px;
}

/* Editorial cover: large order number badge top-left */
.teams.editorial .team-card .cover .order-tag {
  position: absolute; top: 18px; left: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em;
  background: rgba(255,255,255,0.95);
  color: var(--aw-slate);
  padding: 4px 10px; border-radius: var(--radius-xs);
}

/* Presenter row inside team cards */
.team-card .presenter {
  display: flex; gap: 10px; align-items: center;
  padding: 10px 0 0;
  margin-top: auto;
  border-top: 1px dashed var(--border);
}
.team-card .presenter .flag {
  font-size: 18px; line-height: 1;
  width: 22px; text-align: center;
  filter: saturate(1.1);
}
.team-card .presenter .who {
  display: flex; flex-direction: column; gap: 1px; min-width: 0;
}
.team-card .presenter .who b {
  font-size: 13px; color: var(--fg1); font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.team-card .presenter .who span {
  font-size: 11.5px; color: var(--fg2);
  letter-spacing: -0.005em;
}

/* Language badge — small chip */
.badge.lang {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--fg2);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.badge.lang.mandarin {
  background: var(--aw-slate);
  color: #fff;
  border-color: var(--aw-slate);
  font-family: var(--font-sans);
  letter-spacing: 0;
}
.badge.lang.english {
  background: transparent;
  color: var(--fg1);
}

/* Compact density: presenter mini column */
.teams.compact .team-card .presenter-mini {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0; padding: 0;
}
.teams.compact .team-card .presenter-mini .who {
  font-size: 13px; font-weight: 600; color: var(--fg1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: -0.005em;
}
.teams.compact .team-card .presenter-mini .role {
  font-size: 11.5px; color: var(--fg2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Compact density now has 6 columns: order, name, pitch, presenter, stats, actions */
.teams.compact .team-card {
  display: grid; grid-template-columns: 56px 1.1fr 1.6fr 1fr auto;
  gap: 20px; align-items: center; padding: 14px 18px;
}
.team-card .head .meta { min-width: 0; flex: 1; }
.team-card h4 {
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  margin: 0; color: var(--fg1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.team-card .head .sub {
  font-size: 13px; color: var(--fg2); margin-top: 2px;
  line-height: 1.4;
}
.team-card .pill {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  padding: 4px 8px; border-radius: var(--radius-pill);
  background: var(--aw-mist); color: var(--fg2);
}
.team-card.live .pill {
  background: var(--accent); color: #fff;
  display: flex; align-items: center; gap: 5px;
}
.team-card.live .pill .dot {
  width: 5px; height: 5px; border-radius: 50%; background: #fff;
  animation: pulse-orange 1.6s infinite;
}
.team-card .badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em;
  padding: 3px 7px; border-radius: var(--radius-xs);
  background: var(--aw-mist); color: var(--fg2);
  text-transform: uppercase;
}
.badge.ai { background: #1f1f1f; color: #fff; }
.badge.enterprise { background: #1d4ed8; color: #fff; }
.badge.manufacturing { background: #b45309; color: #fff; }
.badge.dual-use { background: #0f766e; color: #fff; }
.badge.batch { background: transparent; color: var(--fg1); border: 1px solid var(--border-strong); }
.team-card .pitch {
  font-size: 13.5px; line-height: 1.5; color: var(--fg1);
  margin: 0; min-height: 60px;
}
.team-card .foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.team-card .stats {
  display: flex; gap: 14px; font-size: 12px; color: var(--fg2);
  font-family: var(--font-mono);
}
.team-card .stats span { display: inline-flex; align-items: center; gap: 4px; }
.team-card .actions { display: flex; gap: 6px; align-items: center; }
.iconbtn {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: #fff; color: var(--fg2);
  display: grid; place-items: center;
  transition: border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}
.iconbtn:hover { border-color: var(--aw-slate); color: var(--fg1); }
.iconbtn.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.iconbtn svg { width: 15px; height: 15px; }

/* Editorial variant: cover image up top */
.teams.editorial .team-card { padding: 0; }
.teams.editorial .team-card .cover {
  height: 160px; border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: linear-gradient(135deg, var(--aw-slate), #2b3a44);
  position: relative; overflow: hidden;
}
.teams.editorial .team-card .cover::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 30% 20%, rgba(255,255,255,0.15), transparent 60%);
}
.teams.editorial .team-card.tag-ai .cover { background: linear-gradient(135deg, #1f1f1f, #424F57); }
.teams.editorial .team-card.tag-enterprise .cover { background: linear-gradient(135deg, #1d4ed8, #424F57); }
.teams.editorial .team-card.tag-manufacturing .cover { background: linear-gradient(135deg, #b45309, #424F57); }
.teams.editorial .team-card.tag-dual-use .cover { background: linear-gradient(135deg, #0f766e, #424F57); }
.teams.editorial .team-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.teams.editorial .team-card .pill { top: 18px; right: 18px; }
.teams.editorial .team-card .pitch { font-size: 14.5px; }

/* Compact variant: row */
.teams.compact .team-card {
  border-radius: 0; border-top: 0; border-left: 0; border-right: 0;
  border-bottom: 1px solid var(--border);
}
.teams.compact .team-card:first-child { border-top: 1px solid var(--border); }
.teams.compact .team-card:hover { transform: none; background: var(--aw-mist); }
.teams.compact .team-card .head { display: contents; }
.teams.compact .team-card .head .meta { display: contents; }
.teams.compact .team-card .pill { position: static; }
.teams.compact .team-card .pitch { min-height: 0; font-size: 13px; color: var(--fg2); }
.teams.compact .team-card .badges { gap: 4px; }
.teams.compact .team-card .foot { display: none; }
.teams.compact .team-card .compact-actions {
  display: flex; gap: 8px;
}

/* ───────── Live panel ───────── */
.live-panel {
  position: sticky; top: calc(var(--nav-height) + 12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  display: flex; flex-direction: column;
  max-height: calc(100vh - var(--nav-height) - 24px);
}
.live-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.live-head h3 {
  margin: 0; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  letter-spacing: -0.005em;
}
.live-head h3 .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-orange 1.6s infinite;
}
.live-head .meta {
  font-size: 12px; color: var(--fg2);
}
.live-head .meta b { color: var(--fg1); font-weight: 600; }
.live-tabs {
  display: flex; border-bottom: 1px solid var(--border);
}
.live-tabs button {
  flex: 1; background: transparent; border: 0;
  padding: 12px 4px; font: inherit; font-size: 12.5px; font-weight: 600;
  color: var(--fg2); position: relative;
  transition: color var(--dur-fast) var(--ease);
}
.live-tabs button:hover { color: var(--fg1); }
.live-tabs button.on { color: var(--fg1); }
.live-tabs button.on::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px;
  height: 2px; background: var(--accent);
}
.live-body {
  flex: 1; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--aw-mist);
}
.msg { display: flex; gap: 10px; }
.msg .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--aw-slate); color: #fff;
  display: grid; place-items: center;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em;
  flex-shrink: 0;
}
.msg .avatar.inv { background: #0f766e; }
.msg .avatar.fnd { background: var(--accent); }
.msg .avatar.med { background: #6d28d9; }
.msg .avatar.you { background: var(--aw-slate); }
.msg .content { min-width: 0; flex: 1; }
.msg .who {
  font-size: 11.5px; color: var(--fg2);
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
  margin-bottom: 3px;
}
.msg .who b { color: var(--fg1); font-weight: 600; }
.role-pill {
  font-size: 10px; font-weight: 600;
  padding: 1px 6px; border-radius: var(--radius-pill);
  background: var(--aw-mist); color: var(--fg2);
  border: 1px solid var(--border);
}
.role-pill.inv { background: #ECFDF5; color: #065F46; border-color: #A7F3D0; }
.role-pill.fnd { background: var(--aw-orange-wash); color: var(--accent); border-color: #FFCFB3; }
.role-pill.med { background: #F5F3FF; color: #5B21B6; border-color: #DDD6FE; }
.bubble {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 8px 12px;
  font-size: 13px; line-height: 1.5; color: var(--fg1);
}

.qa-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px;
  display: flex; gap: 12px; align-items: flex-start;
}
.qa-item .up { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 36px; }
.qa-item .up button {
  width: 30px; height: 28px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: #fff; color: var(--fg2);
  display: grid; place-items: center;
  transition: all var(--dur-fast) var(--ease);
}
.qa-item .up button:hover { border-color: var(--accent); color: var(--accent); }
.qa-item .up .n { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--fg1); }
.qa-item p { margin: 0; font-size: 13px; line-height: 1.5; }
.qa-item .meta { font-size: 11px; color: var(--fg2); margin-top: 6px; }

.poll {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.poll .q { margin: 0; font-size: 13.5px; font-weight: 600; }
.poll .opt {
  background: var(--aw-mist); border-radius: var(--radius-sm);
  overflow: hidden; height: 28px; position: relative;
  display: flex; align-items: center;
  font-size: 12px; color: var(--fg1);
}
.poll .opt .fill {
  position: absolute; top: 0; left: 0; bottom: 0;
  background: var(--accent); opacity: 0.18;
}
.poll .opt.a .fill { background: var(--accent); }
.poll .opt.b .fill { background: #0f766e; }
.poll .opt.c .fill { background: var(--aw-slate); }
.poll .opt.d .fill { background: var(--aw-grey); }
.poll .opt .label { position: relative; padding: 0 12px; font-weight: 600; }
.poll .opt .pct {
  position: relative; margin-left: auto; padding: 0 12px;
  font-family: var(--font-mono); font-weight: 700;
}
.poll .foot {
  font-size: 11px; color: var(--fg2);
  font-family: var(--font-mono);
}

.reactions {
  display: flex; gap: 6px; flex-wrap: wrap;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.reactions button {
  border: 1px solid var(--border-strong);
  background: #fff; border-radius: var(--radius-pill);
  padding: 4px 10px; font-size: 13px;
  display: inline-flex; gap: 6px; align-items: center;
  transition: border-color var(--dur-fast) var(--ease);
}
.reactions button:hover { border-color: var(--accent); }
.reactions .count {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg2); font-weight: 600;
}

.composer {
  display: flex; gap: 8px; padding: 12px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.composer input {
  flex: 1; border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 8px 14px; font: inherit; font-size: 13px;
  outline: none;
}
.composer input:focus { border-color: var(--accent); }
.composer button {
  border: 0; background: var(--accent); color: #fff;
  border-radius: var(--radius-pill);
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  transition: background var(--dur-fast) var(--ease);
}
.composer button:hover { background: var(--accent-hover); }

/* ───────── Agenda ───────── */
.agenda { display: grid; grid-template-columns: 1fr; gap: 12px; }
.agenda.one-col { grid-template-columns: 1fr; }
@media (max-width: 780px) { .agenda { grid-template-columns: 1fr; } }
.slot {
  display: grid; grid-template-columns: 130px 1fr;
  gap: 18px; align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  background: #fff;
}
.slot .t {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  color: var(--fg1); letter-spacing: -0.005em;
}
.slot .title { font-size: 14.5px; font-weight: 500; color: var(--fg1); }
.slot .tag {
  font-size: 11px; font-weight: 600;
  color: var(--fg2);
  background: var(--aw-mist);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}
.slot.now {
  background: var(--aw-slate);
  border-color: var(--aw-slate);
  color: #fff;
}
.slot.now .t { color: var(--accent); }
.slot.now .title { color: #fff; }
.slot.now .title::after {
  content: "LIVE"; margin-left: 10px;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.12em; color: var(--accent);
  background: rgba(255,107,15,0.15); padding: 2px 8px; border-radius: var(--radius-pill);
  vertical-align: 2px;
}
.slot.now .tag {
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85);
}

/* ───────── Album ───────── */
.album-wrap {
  display: grid; grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
}
@media (max-width: 920px) { .album-wrap { grid-template-columns: 1fr; } }

/* Album CTA card — tap to open the Accupai viewer */
.album-cta {
  display: grid; grid-template-columns: 300px 1fr auto;
  gap: 0; align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.album-cta.compact { grid-template-columns: 1fr auto; margin-top: 16px; }
.album-cta:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.album-cta-art {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--aw-slate) 0%, #2b3a44 60%, var(--accent) 140%);
  display: grid; place-items: center;
  min-height: 240px;
}
.album-cta-art .lens {
  position: relative; z-index: 2;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  display: grid; place-items: center;
  backdrop-filter: blur(4px);
}
.album-cta-art .lens svg { width: 28px; height: 28px; color: #fff; }
.album-cta-art .frames { position: absolute; inset: 0; }
.album-cta-art .fr {
  position: absolute; border: 1px solid rgba(255,255,255,0.16);
  border-radius: 4px;
}
.album-cta-art .fr-0 { width: 70px; height: 52px; top: 28px; left: 30px; transform: rotate(-8deg); }
.album-cta-art .fr-1 { width: 90px; height: 64px; bottom: 30px; left: 42px; transform: rotate(6deg); background: rgba(255,255,255,0.05); }
.album-cta-art .fr-2 { width: 60px; height: 44px; top: 40px; right: 38px; transform: rotate(10deg); background: rgba(255,107,15,0.18); }
.album-cta-art .fr-3 { width: 80px; height: 58px; bottom: 40px; right: 30px; transform: rotate(-6deg); }
.album-cta-art .fr-4 { width: 50px; height: 38px; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(3deg); opacity: 0; }

.album-cta-body {
  padding: 32px 32px; display: flex; flex-direction: column; gap: 10px;
  justify-content: center;
}
.album-cta-body h3 {
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
  margin: 4px 0 0; color: var(--fg1);
}
.album-cta-body p {
  font-size: 14.5px; line-height: 1.6; color: var(--fg2);
  margin: 0; max-width: 460px;
}
.album-cta-actions {
  display: flex; align-items: center; gap: 14px; margin-top: 8px;
  flex-wrap: wrap;
}
.album-cta-actions .hint { font-size: 12.5px; color: var(--fg2); }

.album-cta-qr {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  justify-content: center;
  padding: 28px 32px;
  border-left: 1px solid var(--border);
  background: var(--aw-mist);
}
.album-cta-qr img {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 8px; background: #fff;
}
.album-cta-qr .k {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg2); text-align: center;
  line-height: 1.4;
}
@media (max-width: 920px) {
  .album-cta { grid-template-columns: 1fr; }
  .album-cta-art { min-height: 180px; }
  .album-cta-qr { border-left: 0; border-top: 1px solid var(--border); flex-direction: row; }
}

.album-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 130px; gap: 8px;
}
.album-grid .tile {
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--aw-slate), #2b3a44);
  position: relative; overflow: hidden;
}
.album-grid .tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.3));
}
.album-grid .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, var(--accent), #C8431A); }
.album-grid .tile:nth-child(3) { background: linear-gradient(135deg, var(--aw-bone), var(--aw-grey)); }
.album-grid .tile:nth-child(5) { background: linear-gradient(135deg, #0f766e, var(--aw-slate)); }
.album-grid .tile:nth-child(6) { background: linear-gradient(135deg, var(--aw-slate), var(--accent)); }
.album-grid .tile:nth-child(8) { background: linear-gradient(135deg, var(--aw-mist), var(--aw-bone)); }
.album-meta {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.album-meta .qr-block {
  display: flex; gap: 14px; align-items: center;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.album-meta .qr-block img {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 6px; background: #fff; flex-shrink: 0;
}
.album-meta .qr-block .k {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg2);
}
.album-meta .qr-block .v {
  font-family: var(--font-mono); font-size: 13px; color: var(--fg1);
  font-weight: 600; margin-top: 3px;
}
.album-meta ol { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.7; color: var(--fg1); }
.album-meta ol b { color: var(--accent); }

/* ───────── About cards ───────── */
.about-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 780px) { .about-grid { grid-template-columns: 1fr; } }
.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.section.bone .about-card { background: #fff; }
.about-card h3 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.015em;
  margin: 0;
}
.about-card h3 .dot { color: var(--accent); }
.about-card p {
  font-size: 14.5px; line-height: 1.65; color: var(--fg1);
  margin: 0;
}
.about-card p.zh { color: var(--fg2); font-size: 13.5px; }
.about-card .stats-inline {
  display: flex; gap: 24px; flex-wrap: wrap; margin-top: 4px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.about-card .stats-inline .stat .v {
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  letter-spacing: -0.015em; color: var(--aw-slate);
}
.about-card .stats-inline .stat .v .num { color: var(--accent); font-family: var(--font-mono); }
.about-card .stats-inline .stat .l {
  font-size: 11px; font-weight: 600;
  color: var(--fg2); text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 2px;
}
.about-card .arrow { margin-top: auto; }

/* ───────── Sponsors ───────── */
.sponsors {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: #fff; overflow: hidden;
}
@media (max-width: 780px) { .sponsors { grid-template-columns: repeat(3, 1fr); } }

/* Two-sponsor layout — large, balanced tiles */
.sponsors.two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px; margin: 0 auto;
}
.sponsors.two .sp { min-height: 132px; font-size: 18px; }
.sponsors.two .sp:nth-child(1) { border-right: 1px solid var(--border); }
.sponsors.two .sp:nth-child(2) { border-right: 0; }
@media (max-width: 520px) {
  .sponsors.two { grid-template-columns: 1fr; }
  .sponsors.two .sp:nth-child(1) { border-right: 0; }
}
.sponsors .sp {
  padding: 32px 20px; text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--fg2);
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.02em;
  display: grid; place-items: center;
  min-height: 96px;
  transition: background var(--dur-fast) var(--ease);
}
.sponsors.two .sp { border-bottom: 0; }
.sponsors .sp:hover { background: var(--aw-mist); color: var(--fg1); }
.sponsors .sp:nth-child(6n) { border-right: 0; }
@media (max-width: 780px) {
  .sponsors:not(.two) .sp { border-right: 1px solid var(--border); }
  .sponsors:not(.two) .sp:nth-child(6n) { border-right: 1px solid var(--border); }
  .sponsors:not(.two) .sp:nth-child(3n) { border-right: 0; }
}

/* ───────── Footer ───────── */
footer.foot {
  background: var(--aw-slate); color: #fff;
  padding: 80px 0 48px;
}
/* AW#33 application CTA */
.foot-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding: 20px 24px; margin-bottom: 40px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius-md);
  transition: background var(--dur-fast) var(--ease);
}
.foot-cta:hover { background: var(--accent-hover); }
.foot-cta-text { display: flex; flex-direction: column; gap: 2px; }
.foot-cta-text b { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.foot-cta-text span { font-size: 14px; color: rgba(255,255,255,0.9); }
.foot-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--accent);
  padding: 11px 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; white-space: nowrap;
}
footer.foot .grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 780px) { footer.foot .grid { grid-template-columns: 1fr 1fr; } }
footer.foot .foot-simple {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
}
footer.foot .foot-simple .foot-backstage { margin-top: 20px; }
footer.foot h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  margin: 0 0 14px;
}
footer.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
footer.foot a { color: rgba(255,255,255,0.85); font-size: 14px; }
footer.foot a:hover { color: var(--accent); }
footer.foot .tag {
  font-family: var(--font-display); font-size: 18px; font-style: italic;
  color: #fff; margin-top: 12px;
}
footer.foot .meta {
  margin-top: 12px; font-size: 12.5px; color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
footer.foot .logo { height: 28px; color: #fff; }
footer.foot .nav-brand svg, footer.foot svg[aria-label="AppWorks"] { color: #fff; }

/* ───────── Intro modal ───────── */
.modal-back {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(15,21,25,0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; backdrop-filter: blur(4px);
  animation: fade var(--dur) var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff; border-radius: var(--radius-lg);
  max-width: 560px; width: 100%;
  max-height: 90vh;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  overflow: hidden;
  animation: rise var(--dur) var(--ease);
}
@keyframes rise { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal .head {
  padding: 22px 24px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.modal .head h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.modal .head h3 .accent { color: var(--accent); }
.modal .close {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: #fff; color: var(--fg2);
  display: grid; place-items: center; font-size: 20px; line-height: 1;
}
.modal .close:hover { border-color: var(--aw-slate); color: var(--fg1); }
.modal .body {
  padding: 20px 24px; display: flex; flex-direction: column; gap: 14px;
  overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; min-height: 0;
}
.modal label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg2);
  margin-bottom: 6px; display: block;
}
.modal .field {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--aw-mist); padding: 10px 12px;
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.55;
  color: var(--fg1); white-space: pre-wrap; word-break: break-word;
}
.modal .head {
  flex-shrink: 0;
}
.modal .foot {
  padding: 16px 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 10px; align-items: center;
  flex-shrink: 0; flex-wrap: wrap;
}
@media (max-width: 600px) {
  .modal-back { padding: 12px; align-items: flex-end; }
  .modal { max-height: 92vh; border-radius: var(--radius-lg); }
  .modal .close { width: 40px; height: 40px; font-size: 24px; }
  .modal .foot { justify-content: stretch; }
  .modal .foot .hint { flex-basis: 100%; margin-right: 0; margin-bottom: 4px; }
  .modal .foot .btn { flex: 1; justify-content: center; padding: 12px; }
}
.modal .foot .hint {
  margin-right: auto; font-size: 12px; color: var(--fg2);
}

/* ───────── Banner ───────── */
.banner {
  background: var(--aw-slate); color: #fff;
  padding: 8px 16px; text-align: center;
  font-size: 12px; letter-spacing: -0.005em;
}
.banner b { color: var(--accent); font-weight: 700; }
.banner .pulse { color: var(--accent); }
.banner-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 8px;
  color: #fff; font-weight: 600;
  transition: color var(--dur-fast) var(--ease);
}
.banner-link:hover { color: var(--accent); }
.banner-link .sep { color: rgba(255,255,255,0.4); margin-right: 4px; }
.banner-link .badge-ai {
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em;
  background: var(--accent); color: #fff;
  padding: 1px 6px; border-radius: var(--radius-xs);
  margin-right: 2px;
}

/* ───────── Misc ───────── */
.icon { width: 16px; height: 16px; flex-shrink: 0; }
.zh-line { font-family: var(--font-sans); }
.fade-in { animation: fade-in var(--dur) var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* Tweaks: accent intensity dampening */
.accent-restrained .team-card.live { border-color: var(--border); }
.accent-restrained .stage-card .stage-photo { background: linear-gradient(135deg, var(--aw-slate), #2b3a44); }
.accent-restrained .stage-card .stage-photo .live-badge { background: var(--aw-slate); }
.accent-restrained .hero h1 .num { color: rgba(255,255,255,0.78); }
.accent-restrained .hero.bone h1 .num { color: var(--aw-slate); }

.accent-expressive .btn.primary { box-shadow: 0 4px 14px rgba(255,107,15,0.35); }
.accent-expressive .team-card.live { box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); }

/* ───────── Backstage operator console ───────── */
.foot-backstage { opacity: 0.5; font-size: 12.5px; }
.foot-backstage:hover { opacity: 1; }

.bk-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,21,25,0.62);
  backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 48px 20px;
  overflow-y: auto;
  animation: fade var(--dur) var(--ease);
}
.bk-panel {
  background: #fff;
  width: 100%; max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  overflow: hidden;
  animation: rise var(--dur) var(--ease);
}
.bk-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  background: var(--aw-slate); color: #fff;
}
.bk-title {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 17px; font-weight: 800;
  letter-spacing: -0.01em;
}
.bk-title .bk-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  animation: pulse-orange 1.6s infinite;
}
.bk-title .bk-sub {
  font-family: var(--font-sans); font-size: 11.5px; font-weight: 500;
  color: rgba(255,255,255,0.55); letter-spacing: 0;
  margin-left: 4px;
}
.bk-close {
  width: 30px; height: 30px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2); background: transparent; color: #fff;
  font-size: 20px; line-height: 1; display: grid; place-items: center;
}
.bk-close:hover { background: rgba(255,255,255,0.12); }

.bk-body { padding: 8px 22px 4px; }
.bk-section { padding: 16px 0; border-bottom: 1px solid var(--border); }
.bk-section:last-child { border-bottom: 0; }
.bk-label {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg2); margin-bottom: 10px;
}
.bk-label .bk-muted { color: var(--aw-grey-60); font-weight: 600; text-transform: none; letter-spacing: 0; }

.bk-input {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px; font: inherit; font-size: 14px; color: var(--fg1);
  background: #fff; outline: none;
  transition: border-color var(--dur-fast) var(--ease);
}
.bk-input:focus { border-color: var(--aw-slate); }
.bk-input.mono { font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.bk-input.warn { border-color: #C8431A; }

.bk-id-row { display: flex; gap: 8px; }
.bk-id-row .bk-input { flex: 1; }

.bk-btn {
  border: 1px solid var(--border-strong); background: #fff; color: var(--fg1);
  border-radius: var(--radius-sm); padding: 9px 14px;
  font: inherit; font-size: 13px; font-weight: 600;
  transition: all var(--dur-fast) var(--ease); white-space: nowrap;
}
.bk-btn:hover:not(:disabled) { border-color: var(--aw-slate); }
.bk-btn:disabled { opacity: 0.45; cursor: default; }
.bk-btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.bk-btn.primary:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); }
.bk-btn.ghost { border-color: transparent; color: var(--fg2); }
.bk-btn.ghost:hover { background: var(--aw-mist); color: var(--fg1); border-color: transparent; }

.bk-hint { font-size: 12px; color: var(--fg2); line-height: 1.5; margin-top: 8px; }
.bk-hint .warn { color: #C8431A; }
.bk-hint b { color: var(--fg1); font-weight: 600; }

.bk-live {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border);
  font-size: 12.5px; color: var(--fg2);
}
.bk-live .k { font-weight: 600; }
.bk-live code {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 700;
  background: var(--aw-orange-wash); color: var(--accent);
  padding: 2px 8px; border-radius: var(--radius-xs); letter-spacing: 0.05em;
}
.bk-live .bk-open { margin-left: auto; color: var(--accent); font-weight: 600; }

.bk-seg {
  display: flex; gap: 0; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); overflow: hidden;
}
.bk-seg button {
  flex: 1; border: 0; background: #fff; color: var(--fg2);
  padding: 10px 8px; font: inherit; font-size: 13px; font-weight: 600;
  border-right: 1px solid var(--border);
  transition: all var(--dur-fast) var(--ease);
}
.bk-seg button:last-child { border-right: 0; }
.bk-seg button:hover { background: var(--aw-mist); color: var(--fg1); }
.bk-seg button.on { background: var(--aw-slate); color: #fff; }

.bk-stepper { display: flex; gap: 8px; margin-top: 10px; }
.bk-stepper .bk-btn { flex: 1; }

.bk-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; border-top: 1px solid var(--border); background: var(--aw-mist);
}
.bk-kbd { font-family: var(--font-mono); font-size: 11px; color: var(--fg2); }

/* ═══════════════════════════════════════════════════════════════
   MOBILE / RESPONSIVE LAYER
   Most of the audience is on a phone — these rules optimise the
   touch experience without touching the desktop layout above.
   ═══════════════════════════════════════════════════════════════ */

/* ── Switch to mobile nav early: 6 tabs + 3 CTAs need a lot of room ── */
@media (max-width: 980px) {
  .nav-tabs, .nav-cta { display: none; }
  .nav-mobile { display: flex; }
}

@media (max-width: 980px) {
  /* Mobile menu sheet */
  .nav-sheet {
    display: block;
    position: fixed; inset: var(--nav-height) 0 0 0;
    background: rgba(15,21,25,0.45);
    backdrop-filter: blur(2px);
    opacity: 0; pointer-events: none;
    transition: opacity var(--dur-fast) var(--ease);
    z-index: 39;
  }
  .nav-sheet.open { opacity: 1; pointer-events: auto; }
  .nav-sheet-panel {
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg, 0 20px 50px rgba(0,0,0,0.18));
    padding: 14px;
    transform: translateY(-8px);
    transition: transform var(--dur) var(--ease);
    max-height: calc(100vh - var(--nav-height)); overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-sheet.open .nav-sheet-panel { transform: translateY(0); }
  .nav-sheet-links { display: flex; flex-direction: column; gap: 2px; }
  .nav-sheet-links a {
    padding: 14px 12px; border-radius: var(--radius-sm);
    font-size: 16px; font-weight: 600; color: var(--fg1);
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-sheet-links a.active { color: var(--accent); background: var(--aw-orange-wash); }
  .nav-sheet-links a:active { background: var(--aw-mist); }
  .nav-sheet-actions {
    display: flex; flex-direction: column; gap: 8px;
    margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--border);
  }
  .nav-sheet-actions .btn { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }
}

/* ── General phone layout (≤ 720px) ── */
@media (max-width: 720px) {
  :root { --gutter: 18px; }

  /* Section rhythm tightened */
  .section { padding: 56px 0; }
  .section.tight { padding: 40px 0; }
  .section-head { gap: 12px; margin-bottom: 22px; }
  .section-head h2 { font-size: 28px; }
  .section-head .sub { font-size: 14px; }
  /* Push secondary section-head buttons to wrap full width */
  .section-head > div:last-child:not(:only-child) { width: 100%; }

  /* Hero */
  .hero .hero-inner { padding: 36px 0 44px; }
  .hero-keyvisual { max-width: 86%; }
  .hero-headline-block { margin: 18px 0 4px; }
  /* SG text headline — keep "Demo Day" on one strong line, tighten the stack */
  .hero-wordmark { gap: 2px; }
  .hero-wordmark .hw-mark { font-size: 14px; letter-spacing: 0.06em; }
  .hero-wordmark .hw-big { font-size: clamp(52px, 16vw, 88px); line-height: 0.95; }
  .hero-wordmark .hw-city { font-size: clamp(22px, 7vw, 34px); margin-top: 4px; }
  .hero .lede { font-size: 16px; margin-top: 26px; }
  .hero .lede.zh { font-size: 14.5px; }
  .hero-meta {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 32px; gap: 0;
    max-width: 100%;
  }
  .hero-meta .item {
    padding: 16px 14px;
    border-right: 1px solid rgba(66,79,87,0.18);
    border-bottom: 1px solid rgba(66,79,87,0.18);
  }
  .hero-meta .item:first-child { padding-left: 14px; }
  .hero-meta .item:last-child { padding-right: 14px; }
  .hero-meta .item:nth-child(2n) { border-right: 0; }
  .hero-meta .item:nth-child(3), .hero-meta .item:nth-child(4) { padding-bottom: 0; }
  .hero-meta .item:nth-child(3), .hero-meta .item:nth-child(4) { border-bottom: 0; }
  .hero-meta .v { font-size: 21px; }
  .hero-meta .v small { display: block; margin-left: 0; margin-top: 2px; }

  /* Now on stage — stack and tame the photo height */
  .stage-strip { margin-top: -20px; }
  .stage-card { padding: 16px; gap: 16px; border-radius: var(--radius-md); }
  .stage-card .stage-photo { height: 120px; }
  .stage-card .stage-info h2 { font-size: 24px; }
  .stage-card .stage-side { min-width: 0; }

  /* Captions strip */
  .captions-body { grid-template-columns: 1fr; }
  .captions .captions-header { gap: 8px; }
  .captions .powered { flex-basis: 100%; order: 3; }
  .captions .lang-seg { width: 100%; }
  .captions .lang-seg button { flex: 1; padding: 9px 8px; }
  .wordly-qr {
    flex-direction: row; flex-wrap: wrap; align-items: center;
    justify-content: center; gap: 12px 14px;
  }
  .wordly-qr .qr-eyebrow { flex-basis: 100%; text-align: center; }
  .wordly-qr .qr-img { flex: 0 0 auto; }
  .wordly-qr .qr-detail { flex: 1 1 150px; min-width: 140px; }
  .wordly-qr .open-link { flex-basis: 100%; justify-content: center; }

  /* Filters → horizontal scroll strip so they don't stack into a wall */
  .filters {
    flex-wrap: nowrap; overflow-x: auto; gap: 8px;
    margin: 0 calc(-1 * var(--gutter)) 18px;
    padding: 2px var(--gutter) 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filters .search {
    flex: 0 0 100%; min-width: 0; order: -1;
    margin-right: 4px;
  }
  .search .kbd { display: none; }
  .chip { flex-shrink: 0; padding: 9px 14px; }
  .chip-divider { flex-shrink: 0; }

  /* Teams — single column, comfortable cards */
  .teams, .teams.comfy, .teams.editorial, .teams.compact {
    grid-template-columns: 1fr; gap: 12px;
  }
  .team-card .pitch { min-height: 0; }
  /* Compact rows fall back to normal stacked cards on phone */
  .teams.compact .team-card {
    display: flex; flex-direction: column; align-items: stretch;
    grid-template-columns: none; padding: 18px;
    border: 1px solid var(--border); border-radius: var(--radius-md);
  }
  .teams.compact .team-card:first-child { border-top: 1px solid var(--border); }
  .teams.compact .team-card .head { display: flex; }
  .teams.compact .team-card .head .meta { display: block; }
  .teams.compact .team-card .foot { display: flex; }
  .teams.compact .team-card .presenter-mini { display: none; }

  /* Agenda — let the time/title/tag wrap nicely */
  .agenda { grid-template-columns: 1fr; }
  .slot { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
  .slot .t { grid-column: 1 / -1; }

  /* Album */
  .album-cta, .album-cta.compact { grid-template-columns: 1fr; }
  .album-cta-art { min-height: 150px; }
  .album-cta-body { padding: 22px 20px; }
  .album-cta-body h3 { font-size: 21px; }
  .album-cta-qr { flex-direction: row; justify-content: center; gap: 16px; padding: 20px; }

  /* About + sponsors */
  .about-grid { grid-template-columns: 1fr; }
  .about-card { padding: 22px; }
  .about-card .stats-inline { gap: 18px; }

  /* Footer */
  footer.foot { padding: 56px 0 40px; }
  footer.foot .grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  footer.foot .grid > div:first-child { grid-column: 1 / -1; }
}

/* ── Small phones (≤ 420px) ── */
@media (max-width: 420px) {
  .section-head h2 { font-size: 25px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .nav-cap-pill { padding: 8px 12px; }
  footer.foot .grid { grid-template-columns: 1fr; }
}

/* ── Touch ergonomics: bigger tap targets, no hover-stuck states ── */
@media (hover: none) and (pointer: coarse) {
  .iconbtn { width: 40px; height: 40px; }
  .iconbtn svg { width: 18px; height: 18px; }
  .btn.sm { padding: 10px 14px; }
  .chip { padding: 10px 15px; }
  .team-card:hover { transform: none; box-shadow: none; border-color: var(--border); }
  .team-card:active { border-color: var(--accent); }
  .album-cta:hover { transform: none; box-shadow: none; }
  /* Smooth momentum scrolling for any inner scroll regions */
  .live-body, .filters, .nav-sheet-panel { -webkit-overflow-scrolling: touch; }
}
