/* DDX Asia 2.0 — "Observatory / Live Signal" design system
   Direction: a screen-at-night canvas, the DDX prism spectrum as the one accent,
   monospace telemetry for the live-feed feel. Boldness spent on the spectrum
   signal + pulse readouts; everything else kept quiet. */

:root {
  /* canvas */
  --ink: #0A0E1A;
  --surface: #111728;
  --surface-2: #161E33;
  --surface-3: #1C2641;
  --line: #232E49;
  --line-soft: #1A2238;
  --nav-bg: rgba(10,14,26,0.78);
  /* radar grid — brighter than --line so concentric rings/labels read on the dark canvas */
  --radar-ring: rgba(150,166,201,0.34);
  --radar-axis: rgba(150,166,201,0.18);
  --radar-label: #C2CBE0;
  color-scheme: dark;

  /* spectrum (from the DDX prism logo) */
  --s1: #E0218A;  /* magenta */
  --s2: #7A3DF5;  /* violet  */
  --s3: #2563EB;  /* blue    */
  --s4: #22D3EE;  /* cyan    */
  --spectrum: linear-gradient(90deg, var(--s1), var(--s2) 42%, var(--s3) 72%, var(--s4));

  /* ink text */
  --text: #EEF1F8;
  --muted: #939CB4;
  --muted-2: #646E88;

  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1180px;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

/* ---------- light theme ---------- */
html[data-theme="light"] {
  --ink: #EEF1F8;
  --surface: #FFFFFF;
  --surface-2: #F4F6FC;
  --surface-3: #E7EBF6;
  --line: #D5DCEC;
  --line-soft: #E5E9F4;
  --text: #131A2B;
  --muted: #4C5A74;
  --muted-2: #74819B;
  --nav-bg: rgba(238,241,248,0.85);
  --radar-ring: rgba(76,90,116,0.30);
  --radar-axis: rgba(76,90,116,0.16);
  --radar-label: #4C5A74;
  /* Spectrum darkened for legibility on light surfaces (text + white-on-accent buttons),
     while the prism identity is preserved in gradients and swatches. */
  --s1: #C81E80;  /* magenta */
  --s2: #6A2BE0;  /* violet  */
  --s3: #1E55D0;  /* blue    */
  --s4: #0E7490;  /* cyan    */
  color-scheme: light;
}
html[data-theme="light"] body {
  background-image:
    radial-gradient(60rem 40rem at 80% -10%, rgba(122,61,245,0.09), transparent 60%),
    radial-gradient(50rem 35rem at -10% 0%, rgba(224,33,138,0.06), transparent 55%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* faint pixel/scanline grid nodding to LED displays */
  background-image:
    radial-gradient(60rem 40rem at 80% -10%, rgba(122,61,245,0.10), transparent 60%),
    radial-gradient(50rem 35rem at -10% 0%, rgba(224,33,138,0.08), transparent 55%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- spectrum signal bar (signature) ---------- */
.signal { height: 3px; background: var(--spectrum); background-size: 200% 100%; animation: drift 9s linear infinite; }
@keyframes drift { to { background-position: 200% 0; } }

/* ---------- top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.theme-toggle {
  background: none; border: 1px solid var(--line); color: var(--text);
  width: 38px; height: 38px; border-radius: 9px; cursor: pointer; font-size: 15px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  transition: border-color .15s, background .15s;
}
.theme-toggle:hover { border-color: var(--muted-2); background: var(--surface); }
.nav-inner { display: flex; align-items: center; gap: 18px; height: 90px; flex-wrap: nowrap; max-width: 1460px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; flex: 0 0 auto; }
.brand .mark { width: 34px; height: 34px; }
.brand > span { display: inline-flex; flex-direction: column; line-height: 1.12; }
.brand .name { font-size: 19px; }
.brand .sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--muted-2); text-transform: uppercase; margin-top: 3px; }
/* full DDX Asia lockup logo (prism + wordmark + Retail | OOH) */
/* Cap the width so a wide uploaded logo can't push the nav onto a second line.
   object-fit keeps the aspect ratio (letterboxes within the box, no distortion). */
.brand-logo { height: 69px; width: auto; max-width: 285px; object-fit: contain; object-position: left center; display: block; }
html[data-theme="dark"] .brand-logo { filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.35)); }
@media (max-width: 520px) { .brand-logo { height: 54px; } }
.nav-links { display: flex; gap: 4px; margin-left: auto; flex-wrap: nowrap; }
.nav-links a {
  font-size: 13.5px; color: var(--muted); padding: 8px 10px; border-radius: 8px; white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ''; display: block; height: 2px; margin-top: 5px; background: var(--spectrum); border-radius: 2px; }
/* scoped to .nav-links a so the generic link colour/hover rules above don't override the CTA */
.nav-links a.nav-cta { background: var(--spectrum); color: #fff; font-weight: 600; padding: 8px 13px; border-radius: 9px; font-size: 13.5px; }
.nav-links a.nav-cta:hover { color: #fff; background: var(--spectrum); filter: brightness(1.08); }
.nav-burger { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 7px 10px; cursor: pointer; }

/* ---------- generic bits ---------- */
.eyebrow { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--s4); }
.section { padding: 88px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(28px, 3.8vw, 44px); margin: 10px 0 0; letter-spacing: -0.02em; line-height: 1.08; }
.section-head p { color: var(--muted); margin: 8px 0 0; max-width: 54ch; }
.link-more { font-family: var(--font-mono); font-size: 13px; color: var(--s4); white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  padding: 11px 18px; border-radius: 10px; font-family: var(--font-body); font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; }
.btn:hover { border-color: var(--s3); }
.btn-primary { background: var(--spectrum); border: none; color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }

/* ---------- hero ---------- */
.hero { padding: 76px 0 44px; position: relative; overflow: hidden; }
/* Ambient hero background image, heavily overlaid so text stays crisp. */
.hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: .62; }
.hero-bg::after { content: ''; position: absolute; inset: 0;
  background: radial-gradient(55rem 36rem at 80% -12%, rgba(34,211,238,.14), transparent 58%),
              linear-gradient(180deg, rgba(10,14,26,.15) 0%, rgba(10,14,26,.5) 66%, var(--ink) 100%); }
.hero > .wrap { position: relative; z-index: 1; }
.hero h1, .hero .lede { text-shadow: 0 1px 18px rgba(10,14,26,.55); }
html[data-theme="light"] .hero-bg { opacity: .5; }
html[data-theme="light"] .hero-bg::after {
  background: radial-gradient(55rem 36rem at 80% -12%, rgba(30,85,208,.08), transparent 58%),
             linear-gradient(180deg, rgba(238,241,248,.25) 0%, rgba(238,241,248,.62) 64%, var(--ink) 100%); }
html[data-theme="light"] .hero h1, html[data-theme="light"] .hero .lede { text-shadow: 0 1px 16px rgba(238,241,248,.85); }
/* Futures Index explainer for site visitors */
.fx-note { margin: 16px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); max-width: 60ch; }
.fx-note b { color: var(--text); }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 6vw, 62px); line-height: 1.02; letter-spacing: -0.03em; margin: 18px 0 0; max-width: 17ch; }
.hero h1 .grad { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { color: var(--muted); font-size: clamp(18px, 1.8vw, 22px); max-width: 56ch; margin: 24px 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* live pulse dashboard (telemetry) */
.pulse {
  margin-top: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--ink));
  overflow: hidden;
}
.pulse-top { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--s1); box-shadow: 0 0 0 0 rgba(224,33,138,.55); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(224,33,138,.5);} 70%{ box-shadow:0 0 0 9px rgba(224,33,138,0);} 100%{ box-shadow:0 0 0 0 rgba(224,33,138,0);} }
.pulse-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pulse-cell { padding: 22px 18px; border-right: 1px solid var(--line-soft); }
.pulse-cell:last-child { border-right: none; }
.pulse-cell .num { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -0.02em; }
.pulse-cell .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-top: 4px; }

/* ---------- category chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: all .15s; white-space: nowrap;
}
.chip:hover { color: var(--text); border-color: var(--muted-2); }
.chip[aria-pressed="true"] { color: #fff; border-color: transparent; }
.chip .swatch { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }

/* ---------- observatory grid + cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px; }
.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 0; overflow: hidden; transition: transform .18s, border-color .18s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); border-color: var(--s3); }

/* media cover */
.cover { position: relative; height: 152px; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.cover::after { content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1.4px); background-size: 12px 12px; }
.cover-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cover-cat { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 3; }
.cover-hero { height: 300px; border: 1px solid var(--line); border-radius: var(--radius); margin: 18px 0 6px; }

.card .body { padding: 22px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.card .meta-row { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted-2); }
.card .cat-tag { color: var(--text); }
.card h3 { font-family: var(--font-display); font-size: 21px; line-height: 1.24; letter-spacing: -0.01em; margin: 0; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 0; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; }
.card .foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; border-top: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.card.feature { grid-column: span 2; flex-direction: row; }
.card.feature .cover { height: auto; width: 44%; min-height: 260px; border-bottom: none; border-right: 1px solid var(--line-soft); }
.card.feature .card-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.badge-feat { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1); }

@media (max-width: 720px) {
  .card.feature { grid-column: span 1; flex-direction: column; }
  .card.feature .cover { width: 100%; min-height: 0; height: 152px; border-right: none; border-bottom: 1px solid var(--line-soft); }
  .cover-hero { height: 200px; }
}

/* ---------- futures index ---------- */
.fx { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.fx-row { display: grid; grid-template-columns: 46px 1fr auto auto; align-items: center; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--line-soft); }
.fx-row:first-child { border-top: none; }
.fx-rank { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.fx-rank.top { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.fx-tag { font-family: var(--font-display); font-size: 16px; }
.fx-mom { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.fx-bar { width: 120px; height: 6px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.fx-bar > span { display: block; height: 100%; background: var(--spectrum); }
@media (max-width: 620px){ .fx-bar{ display:none; } .fx-row{ grid-template-columns: 40px 1fr auto; } }

/* ---------- copilot ---------- */
.copilot { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); padding: 24px; }
.copilot .ask { display: flex; gap: 10px; margin-top: 14px; }
.copilot input[type=text] { flex: 1; background: var(--ink); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 12px 14px; font-family: var(--font-body); font-size: 15px; }
.copilot input[type=text]:focus { outline: none; border-color: var(--s3); }
.copilot .suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.copilot .suggestions button { font-family: var(--font-mono); font-size: 12px; background: none; border: 1px solid var(--line); color: var(--muted); padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.copilot .suggestions button:hover { color: var(--text); border-color: var(--muted-2); }
.copilot-answer { margin-top: 16px; padding: 14px 16px; border-left: 2px solid var(--s2); background: var(--ink); border-radius: 0 10px 10px 0; }
.copilot-answer .src { display: block; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 13px; }
.copilot-answer .src:first-of-type { margin-top: 10px; }

/* ---------- detail page ---------- */
.detail { max-width: 760px; margin: 0 auto; padding: 48px 0; }
.detail .back { font-family: var(--font-mono); font-size: 12px; color: var(--s4); }
.detail h1 { font-family: var(--font-display); font-size: clamp(26px,4vw,40px); line-height: 1.12; letter-spacing: -0.02em; margin: 18px 0 14px; }
.detail .lede { font-size: 19px; color: var(--text); }
.detail .body-text { color: var(--muted); font-size: 16px; line-height: 1.8; margin: 22px 0; border-left: 2px solid var(--line); padding-left: 20px; }
.detail .body-text p { margin: 0 0 14px; }
.detail .body-text p:last-child { margin-bottom: 0; }
.detail .body-text ul, .detail .body-text ol { padding-left: 22px; margin: 8px 0 14px; }
.detail .body-text li { margin-bottom: 4px; }
.detail .body-text a { color: var(--s4); text-decoration: underline; }
.detail .body-text strong, .detail .body-text b { color: var(--text); font-weight: 600; }
.detail .body-text em, .detail .body-text i { font-style: italic; }
.detail .meta { display: flex; flex-wrap: wrap; gap: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin: 18px 0; }

/* ---------- generic page (stubs) ---------- */
/* Breadcrumbs — orient across the 3 nav levels (Home › Pillar › Section) */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .03em; margin-bottom: 14px; }
.crumbs .crumb { color: var(--muted); text-decoration: none; }
.crumbs .crumb:hover { color: var(--text); }
.crumbs .crumb-sep { color: var(--muted-2); }
.crumbs .crumb-cur { color: var(--text); font-weight: 600; max-width: 52ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail .crumbs { margin-bottom: 18px; }

.page-head { padding: 64px 0 12px; }
.page-head h1 { font-family: var(--font-display); font-size: clamp(34px,5.2vw,58px); letter-spacing:-0.03em; margin: 14px 0 0; line-height: 1.03; }
.feature-list { display:grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap:14px; margin-top:28px; }
.feature-list .it { border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--surface); padding:18px; }
.feature-list .it h4 { font-family:var(--font-display); margin:0 0 6px; font-size:16px; }
.feature-list .it p { color:var(--muted); font-size:13.5px; margin:0; }
.soon { font-family:var(--font-mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--s1); border:1px solid var(--line); border-radius:999px; padding:3px 9px; display:inline-block; margin-bottom:12px; }

/* ---------- Home event promo band ---------- */
.home-event { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; }
.home-event .att-banner { position: absolute; inset: 0; height: 100%; margin: 0; border: none; border-radius: 0; z-index: 0; }
.home-event::after { content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,14,26,.2) 0%, rgba(10,14,26,.55) 45%, rgba(10,14,26,.9) 100%); }
html[data-theme="light"] .home-event::after { background: linear-gradient(180deg, rgba(19,26,43,.15) 0%, rgba(19,26,43,.5) 45%, rgba(19,26,43,.85) 100%); }
.home-event-inner { position: relative; z-index: 2; width: 100%; padding: 28px 30px; color: #fff; display: flex; flex-direction: column; gap: 16px; }
.home-ev-when { font-family: var(--font-mono); font-size: 13.5px; letter-spacing: .03em; color: #fff; }
.home-ev-count { display: flex; gap: 10px; }
.home-ev-count .cd { display: flex; flex-direction: column; align-items: center; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22); border-radius: 10px; padding: 6px 12px; min-width: 52px; }
.home-ev-count .cd b { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #fff; line-height: 1; }
.home-ev-count .cd i { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); font-style: normal; margin-top: 4px; }
.home-ev-count .att-live { color: #fff; font-weight: 600; }
.home-ev-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.home-ev-stat { display: flex; flex-direction: column; }
.home-ev-stat b { font-family: var(--font-display); font-size: 27px; font-weight: 700; color: #fff; line-height: 1; }
.home-ev-stat span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-top: 5px; }
.home-ev-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.home-ev-cta .btn:not(.btn-primary) { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.08); }
.home-ev-cta .btn:not(.btn-primary):hover { background: rgba(255,255,255,.18); }
@media (max-width: 640px) { .home-event { min-height: auto; } .home-ev-stats { gap: 20px; } }

/* ---------- AI transparency disclosure ---------- */
.ai-disclosure { display: flex; align-items: flex-start; gap: 9px; margin: 28px 0 0; padding-top: 14px;
  border-top: 1px dashed var(--line); font-family: var(--font-mono); font-size: 11.5px; line-height: 1.55;
  color: var(--muted-2); max-width: 74ch; }
.ai-disclosure-badge { flex: none; font-weight: 600; font-size: 9.5px; letter-spacing: .1em; color: var(--s4);
  border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; margin-top: 1px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-soft); margin-top: 40px; padding: 40px 0 56px; color: var(--muted); }
.footer .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; }
.footer h5 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 14px; }
.footer a { display: block; font-size: 15px; color: var(--muted); padding: 5px 0; }
.footer p a { display: inline; padding: 0; color: var(--s4); }
.footer p a:hover { text-decoration: underline; }
.footer a:hover { color: var(--text); }
.footer .legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- skeleton / empty ---------- */
.skeleton { border:1px solid var(--line); border-radius:var(--radius); height:190px; background:linear-gradient(100deg,var(--surface),var(--surface-2),var(--surface)); background-size:200% 100%; animation:sk 1.3s linear infinite; }
@keyframes sk { to { background-position:-200% 0; } }
.empty { text-align:center; color:var(--muted); padding:48px; border:1px dashed var(--line); border-radius:var(--radius); }

/* ---------- responsive ---------- */
/* The full nav (big logo + 4 links + 2 CTAs) needs room; below this it collapses
   to the burger so it never wraps to a second line. */
@media (max-width: 1024px) {
  .nav-links { position: fixed; inset: 90px 0 auto 0; flex-direction: column; background: var(--ink); border-bottom: 1px solid var(--line); padding: 12px 24px; gap: 2px; display: none; max-width: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-links .nav-ctas { flex-direction: column; align-items: stretch; margin-left: 0; margin-top: 6px; gap: 6px; }
  .nav-burger { display: inline-block; margin-left: auto; }
}
@media (max-width: 860px) {
  .pulse-grid { grid-template-columns: repeat(2, 1fr); }
  .pulse-cell:nth-child(2) { border-right: none; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px){ .pulse-grid{ grid-template-columns:1fr 1fr; } .footer .cols{ grid-template-columns:1fr; } }

/* ---------- Future Lab ---------- */
/* Technology Radar */
.flab-radar-wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; }
.flab-radar { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background:
    radial-gradient(circle at 50% 48%, rgba(34,211,238,0.06), transparent 62%), linear-gradient(180deg, var(--surface), var(--ink)); padding: 12px; overflow: hidden; }
.flab-radar::after { content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1.4px); background-size: 13px 13px; }
.flab-svg { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
.flab-ring { fill: none; stroke: var(--radar-ring); stroke-width: 1.2; }
.flab-axis { stroke: var(--radar-axis); stroke-width: 1; }
.flab-ring-label { fill: var(--radar-label); font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  paint-order: stroke; stroke: var(--ink); stroke-width: 3px; stroke-linejoin: round; }
.flab-quad { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.flab-sweep { stroke: var(--s4); stroke-width: 2; opacity: .35; }
.flab-sweep-g { transform-box: view-box; transform-origin: 360px 270px; animation: flab-sweep 7s linear infinite; }
@keyframes flab-sweep { to { transform: rotate(360deg); } }
/* Epicentre mark */
.flab-core-halo { fill: none; stroke: var(--s4); stroke-width: 1.2; opacity: .35; animation: flab-core-pulse 3.2s ease-in-out infinite; transform-box: view-box; transform-origin: 360px 270px; }
.flab-core-disc { fill: var(--ink); stroke: var(--radar-ring); stroke-width: 1.2; }
.flab-core-logo { pointer-events: none; }
@keyframes flab-core-pulse { 0%, 100% { opacity: .12; transform: scale(1); } 50% { opacity: .5; transform: scale(1.12); } }
.flab-blip { cursor: pointer; transition: opacity .15s; }
.flab-blip-dot { fill: var(--bc); fill-opacity: .85; stroke: var(--ink); stroke-width: 1.5; transition: fill-opacity .15s; }
.flab-blip-num { fill: #fff; font-family: var(--font-mono); font-size: 11px; font-weight: 700; pointer-events: none;
  paint-order: stroke; stroke: rgba(6,10,20,.55); stroke-width: 2.5px; stroke-linejoin: round; }
.flab-blip-label { fill: var(--text); font-family: var(--font-mono); font-size: 11px; opacity: 0; transition: opacity .15s; pointer-events: none;
  paint-order: stroke; stroke: var(--ink); stroke-width: 3px; stroke-linejoin: round; }
.flab-blip:hover .flab-blip-label, .flab-blip.active .flab-blip-label { opacity: 1; }
.flab-blip:hover .flab-blip-dot, .flab-blip.active .flab-blip-dot { fill-opacity: 1; }
.flab-blip.active .flab-blip-dot { stroke: var(--bc); stroke-width: 3; }
.flab-blip.hot .flab-blip-dot { filter: drop-shadow(0 0 5px var(--bc)); }
.flab-blip.dim { opacity: .14; }

.flab-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 80px; }
.flab-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.flab-leg { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); background: var(--surface); padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.flab-leg:hover { color: var(--text); border-color: var(--muted-2); }
.flab-leg.on { color: #fff; border-color: transparent; background: var(--surface-3); }
.flab-leg .sw { width: 9px; height: 9px; border-radius: 50%; }
.flab-detail { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px; min-height: 220px; }
.flab-detail-empty { color: var(--muted); font-size: 14px; }
.flab-detail-ring { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.flab-detail-head h3 { font-family: var(--font-display); font-size: 22px; margin: 8px 0 6px; letter-spacing: -0.01em; }
.flab-mom { font-family: var(--font-mono); font-size: 12px; color: var(--s4); }
.flab-mom.muted { color: var(--muted-2); }
.flab-detail-blurb { color: var(--muted); font-size: 14.5px; margin: 12px 0 16px; }
.flab-rel-head, .flab-rel-loading, .flab-rel-empty { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.flab-rel { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px dashed var(--line); }
.flab-rel:hover .flab-rel-title { color: var(--s4); }
.flab-rel-cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.flab-rel-title { font-size: 14px; color: var(--text); transition: color .15s; }

/* Future Concepts */
.flab-concepts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.flab-concept { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: transform .18s, border-color .18s; }
.flab-concept:hover { transform: translateY(-3px); border-color: var(--cc); }
.flab-concept-art { position: relative; height: 120px; background:
    radial-gradient(120% 130% at 82% 12%, var(--cc), transparent 58%), var(--ink); border-bottom: 1px solid var(--line-soft); }
.flab-concept-art::after { content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1.4px); background-size: 12px 12px; }
.flab-concept-horizon { position: absolute; left: 14px; bottom: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); z-index: 1; }
.flab-concept-body { padding: 18px; }
.flab-concept-body h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 8px; }
.flab-concept-body p { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.maturity { height: 6px; border-radius: 4px; background: var(--surface-3); overflow: hidden; margin-bottom: 12px; }
.maturity > span { display: block; height: 100%; background: var(--spectrum); }
.flab-concept-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* Future Horizons timeline */
.flab-timeline { position: relative; }
.flab-rail { position: relative; height: 2px; background: var(--line); margin: 18px 0 30px; overflow: visible; }
.flab-rail::before { content: ''; position: absolute; inset: 0; background: var(--spectrum); opacity: .5; }
.flab-scan { position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--s4); box-shadow: 0 0 10px var(--s4); animation: flab-scan 6s ease-in-out infinite; }
@keyframes flab-scan { 0% { left: 0; } 50% { left: calc(100% - 10px); } 100% { left: 0; } }
.flab-tick { position: absolute; top: 12px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted-2); }
.flab-horizons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.flab-horizon { border: 1px solid var(--line); border-top: 2px solid var(--cc); border-radius: var(--radius); background: var(--surface); overflow: hidden; cursor: pointer; transition: transform .18s, border-color .18s; }
.flab-horizon:hover, .flab-horizon:focus-visible { transform: translateY(-3px); border-color: var(--cc); outline: none; }
.flab-horizon-view { position: relative; height: 150px; overflow: hidden; background: var(--ink); border-bottom: 1px solid var(--line-soft); }
.flab-horizon-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.flab-horizon-view::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,14,26,0) 42%, color-mix(in srgb, var(--cc) 22%, rgba(10,14,26,.55))); }
.flab-horizon:hover .flab-horizon-img { transform: scale(1.06); }
.flab-horizon-body { padding: 18px 20px 20px; }
.flab-horizon-year { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--cc); }
.flab-horizon h3 { font-family: var(--font-display); font-size: 19px; margin: 6px 0 10px; }
.flab-horizon p { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.flab-horizon-signals { display: flex; flex-wrap: wrap; gap: 6px; }
.flab-horizon-enter { position: absolute; left: 14px; bottom: 12px; z-index: 3; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text); background: rgba(10,14,26,.55); border: 1px solid color-mix(in srgb, var(--cc) 50%, var(--line)); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px); transition: background .15s; }
.flab-horizon:hover .flab-horizon-enter { background: color-mix(in srgb, var(--cc) 32%, rgba(10,14,26,.5)); }
.flab-horizon-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2; background: linear-gradient(90deg, transparent, var(--cc), transparent); opacity: .8; animation: flab-vscan 4.5s ease-in-out infinite; }
@keyframes flab-vscan { 0% { top: 4%; } 50% { top: 92%; } 100% { top: 4%; } }
/* Immersive cinematic viewer */
.flab-vr { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 3vmin;
  background: rgba(4,6,12,.92); backdrop-filter: blur(8px); opacity: 0; transition: opacity .28s ease; }
.flab-vr.show { opacity: 1; }
.flab-vr-stage { position: relative; width: min(1240px, 96vw); height: min(800px, 90vh); border-radius: 16px; overflow: hidden;
  background: #05070e; border: 1px solid color-mix(in srgb, var(--cc) 36%, var(--line));
  box-shadow: 0 30px 90px rgba(0,0,0,.6), 0 0 70px color-mix(in srgb, var(--cc) 18%, transparent) inset;
  transform: scale(.97); transition: transform .28s ease; }
.flab-vr.show .flab-vr-stage { transform: scale(1); }
.flab-vr-photowrap { position: absolute; inset: -3%; transition: transform .25s ease-out; will-change: transform; }
.flab-vr-photo { position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.06); animation: flab-ken 26s ease-in-out infinite alternate; }
@keyframes flab-ken { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.16) translate(-2.5%, -1.5%); } }
.flab-vr-grade { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(130% 120% at 50% 42%, transparent 56%, rgba(4,6,12,.5) 100%),
    linear-gradient(180deg, rgba(4,6,12,.42) 0%, transparent 22%, transparent 50%, rgba(4,6,12,.84) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--cc) 12%, transparent), transparent 32%); }
.flab-vr-hotspots { position: absolute; inset: 0; transition: transform .25s ease-out; }
.flab-vr-cap { position: absolute; left: 28px; right: 28px; bottom: 24px; max-width: 560px; z-index: 5; pointer-events: none; }
.flab-vr-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--cc); }
.flab-vr-cap h3 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); letter-spacing: -.02em; margin: 8px 0 8px; color: #fff; }
.flab-vr-cap p { color: rgba(238,241,248,.84); font-size: 14.5px; line-height: 1.6; margin: 0 0 10px; max-width: 48ch; }
.flab-vr-hint { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.flab-vr-credit { position: absolute; right: 14px; bottom: 12px; z-index: 8; font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; color: rgba(238,241,248,.55); }
.flab-vr-credit:hover { color: var(--text); text-decoration: underline; }

/* Interactive info points */
.flab-hot { position: absolute; transform: translate(-50%,-50%); width: 18px; height: 18px; padding: 0; background: none; border: none; cursor: pointer; z-index: 6; }
.flab-hot-dot { position: absolute; inset: 4px; border-radius: 50%; background: var(--cc); box-shadow: 0 0 10px var(--cc); }
.flab-hot-pulse { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--cc); animation: flab-hotpulse 2s ease-out infinite; }
@keyframes flab-hotpulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.flab-hot-card { position: absolute; left: 26px; top: 50%; transform: translateY(-50%) scale(.96); transform-origin: left center;
  width: 230px; padding: 12px 14px; border-radius: 10px; background: rgba(8,11,20,.92); border: 1px solid color-mix(in srgb, var(--cc) 55%, var(--line));
  box-shadow: 0 10px 30px rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; backdrop-filter: blur(6px); }
.flab-hot:hover .flab-hot-card, .flab-hot.open .flab-hot-card { opacity: 1; transform: translateY(-50%) scale(1); }
.flab-hot.open { z-index: 8; }
.flab-hot-title { display: block; font-family: var(--font-display); font-size: 14px; color: var(--text); margin-bottom: 4px; }
.flab-hot-detail { display: block; font-family: var(--font-body); font-size: 12.5px; line-height: 1.55; color: var(--muted); }
/* flip card to the left for right-edge markers */
.flab-hot[style*="left:8"] .flab-hot-card, .flab-hot[style*="left:9"] .flab-hot-card { left: auto; right: 26px; transform-origin: right center; }

.flab-vr-close { position: absolute; top: 14px; right: 16px; z-index: 9; pointer-events: auto; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
  color: var(--text); background: rgba(8,11,20,.7); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer; transition: border-color .15s; }
.flab-vr-close:hover { border-color: var(--cc); }

@media (max-width: 640px) {
  .flab-vr-stage { height: 88vh; }
  .flab-hot-card { width: 180px; }
  .flab-vr-cap { left: 18px; right: 18px; bottom: 18px; }
  .flab-vr-cap p { display: none; }
}

/* Future Experience Simulator */
.flab-sim { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); padding: 24px; }
.flab-sim-controls { display: flex; flex-wrap: wrap; gap: 22px; }
.flab-sim-group { display: flex; flex-direction: column; gap: 8px; }
.flab-sim-lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.flab-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.flab-seg button { font-family: var(--font-body); font-size: 13.5px; font-weight: 600; color: var(--muted); background: none; border: none; padding: 8px 13px; border-radius: 7px; cursor: pointer; transition: all .15s; }
.flab-seg button:hover { color: var(--text); }
.flab-seg button.on { color: #fff; background: var(--spectrum); }
.flab-sim-out { margin-top: 18px; }
.flab-sim-card { border-left: 2px solid var(--s4); background: var(--ink); border-radius: 0 10px 10px 0; padding: 18px 20px; }
.flab-sim-card p { margin: 0; font-size: 16px; line-height: 1.7; }

@media (max-width: 860px) {
  .flab-radar-wrap { grid-template-columns: 1fr; }
  .flab-side { position: static; }
  .flab-horizons { grid-template-columns: 1fr; }
}

/* ---------- Future Concepts controls ---------- */
.flab-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.flab-sort { background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 8px 14px; font-family: var(--font-mono); font-size: 12px; cursor: pointer; }
.flab-sort:focus { outline: none; border-color: var(--s3); }
.chip[aria-pressed="true"] { background: var(--s3); color: #fff; border-color: transparent; }

/* ---------- Learn ---------- */
.learn-nav { gap: 8px; }
.learn-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.learn-card { position: relative; border: 1px solid var(--line); border-top: 2px solid var(--cc); border-radius: var(--radius); background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: transform .18s, border-color .18s; cursor: pointer; }
.learn-card:hover { transform: translateY(-3px); border-color: var(--cc); }
.learn-kind { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cc); }
.learn-card h3 { font-family: var(--font-display); font-size: 18px; margin: 0; line-height: 1.25; }
.learn-card p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.learn-meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); border-top: 1px solid var(--line-soft); padding-top: 12px; }
.learn-open { color: var(--s4); }

/* DDX TV */
.tv-filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.tv-filter-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tv-filter-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); min-width: 58px; }
.tv-wrap { display: grid; grid-template-columns: 1.7fr 1fr; gap: 22px; align-items: start; }
.tv-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.tv-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.tv-player h3 { font-family: var(--font-display); font-size: 20px; margin: 16px 0 4px; line-height: 1.25; }
.tv-cur-meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.tv-list { display: flex; flex-direction: column; gap: 8px; max-height: 520px; overflow-y: auto; padding-right: 4px; }
.tv-item { display: flex; gap: 12px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px; cursor: pointer; transition: border-color .15s, background .15s; }
.tv-item:hover { border-color: var(--muted-2); }
.tv-item.on { border-color: var(--s3); background: var(--surface-2); }
.tv-thumb { flex: none; width: 104px; aspect-ratio: 16/9; border-radius: 7px; overflow: hidden; background: var(--ink); }
.tv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tv-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tv-it-title { font-size: 13px; color: var(--text); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tv-it-meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted-2); }

/* Podcast Hub */
.pod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.pod-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.pod-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.pod-cat { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--s4); }
.pod-src { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted-2); }
/* Apple Podcasts "show" embeds need the full-player height (~450px) so the
   artwork, play controls and episode list are all visible without scrolling
   inside the card. 175px is the compact single-episode size and cuts them off. */
.pod-frame { width: 100%; height: 450px; border: none; display: block; background: var(--surface); }

@media (max-width: 820px) {
  .tv-wrap { grid-template-columns: 1fr; }
  .tv-list { max-height: none; }
}

/* ---------- Attend ---------- */
/* Section banner (crossfading image carousel) */
.att-banner { position: relative; height: clamp(180px, 30vw, 300px); border-radius: var(--radius); overflow: hidden;
  margin: 2px 0 26px; border: 1px solid var(--line); background: linear-gradient(120deg, var(--surface-2), var(--surface-3)); }
.att-banner .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.1s ease; }
.att-banner .slide.on { opacity: 1; }
.att-banner::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,14,26,0) 38%, rgba(10,14,26,.6)); }
html[data-theme="light"] .att-banner::after { background: linear-gradient(180deg, rgba(19,26,43,0) 45%, rgba(19,26,43,.3)); }
.att-banner-cap { position: absolute; left: 18px; bottom: 14px; z-index: 2; font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.att-banner-dots { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: flex; gap: 6px; }
.att-banner-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.45); transition: background .3s; }
.att-banner-dots i.on { background: #fff; }
/* Past-editions running thumbnail reel */
.att-reel { overflow: hidden; margin: 8px 0 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 14px 0; }
.att-reel-track { display: flex; gap: 14px; width: max-content; animation: att-scroll 36s linear infinite; }
.att-reel:hover .att-reel-track { animation-play-state: paused; }
.att-reel-item { width: 220px; flex: none; }
.att-reel-thumb { width: 220px; height: 124px; border-radius: 10px; object-fit: cover; display: block;
  border: 1px solid var(--line); background: var(--surface-2); }
.att-reel-cap { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 7px; padding: 0 2px; }
@keyframes att-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .att-reel-track { animation: none; } .att-banner .slide { transition: none; } }

.att-hero { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
  background: radial-gradient(120% 150% at 92% -30%, color-mix(in srgb, var(--s2) 24%, transparent), transparent 55%), linear-gradient(180deg, var(--surface), var(--ink)); }
.att-when { font-family: var(--font-display); font-size: clamp(24px, 4vw, 38px); letter-spacing: -.02em; }
.att-venue { color: var(--muted); margin-top: 6px; font-size: 15px; }
.att-count { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.cd { display: flex; flex-direction: column; align-items: center; background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; min-width: 64px; }
.cd b { font-family: var(--font-display); font-size: 26px; line-height: 1; }
.cd i { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-style: normal; margin-top: 4px; }
.att-live { color: var(--s1); font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
.att-note { margin-top: 16px; display: inline-block; font-family: var(--font-mono); font-size: 12px; color: var(--s4); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.att-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.att-stat { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 18px; text-align: center; }
.att-stat .n { font-family: var(--font-display); font-size: 28px; }
.att-stat .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: 4px; }
.panel-plain { margin-top: 18px; }
.att-about { color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 70ch; }
.att-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 26px; }
.att-link { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); padding: 18px; transition: border-color .15s, transform .15s; }
.att-link:hover { border-color: var(--s3); transform: translateY(-2px); }
.att-link h4 { font-family: var(--font-display); margin: 0 0 6px; font-size: 16px; }
.att-link p { color: var(--muted); font-size: 13.5px; margin: 0; }
.att-lead { color: var(--muted); font-size: 15px; max-width: 68ch; margin: 0 0 24px; }
.att-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.att-zone { border: 1px solid var(--line); border-left: 2px solid var(--s2); border-radius: var(--radius-sm); background: var(--surface); padding: 18px; }
.att-zone h4 { font-family: var(--font-display); margin: 0 0 6px; font-size: 16px; }
.att-zone p { color: var(--muted); font-size: 13.5px; margin: 0; }
.att-cta-row { margin-top: 24px; }
.att-sub { font-family: var(--font-display); font-size: 18px; margin: 30px 0 14px; }
.att-speakers { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.att-speaker { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); padding: 14px; }
.att-avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: #fff; background: var(--spectrum); }
.att-speaker b { display: block; font-size: 14.5px; }
.att-speaker span { color: var(--muted); font-size: 12.5px; }
.att-agenda { display: grid; gap: 18px; }
.att-day { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.att-day-h { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--s4); padding: 12px 18px; border-bottom: 1px solid var(--line-soft); background: var(--surface-2); }
.att-slot { display: flex; gap: 16px; padding: 12px 18px; border-top: 1px solid var(--line-soft); }
.att-slot:first-of-type { border-top: none; }
.att-time { font-family: var(--font-mono); font-size: 13px; color: var(--muted); min-width: 52px; }
.att-slot-t { font-size: 14.5px; }
.att-slot-t i { color: var(--muted); font-style: normal; }
.att-deadline { display: inline-block; font-size: 13.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; margin-bottom: 22px; }
.att-award { position: relative; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); padding: 18px; }
.att-award-n { font-family: var(--font-mono); font-size: 12px; color: var(--s1); }
.att-award h4 { font-family: var(--font-display); margin: 8px 0 0; font-size: 16px; }
.att-passes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.att-pass { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px; display: flex; flex-direction: column; }
.att-pass.featured { border-color: var(--s2); box-shadow: 0 0 0 1px var(--s2) inset; }
.att-pass-name { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.att-pass-price { font-family: var(--font-display); font-size: 30px; margin: 8px 0; }
.att-pass-perks { color: var(--muted); font-size: 13.5px; flex: 1; }
.att-archive { display: grid; gap: 14px; }
.att-arch { display: flex; gap: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); padding: 18px; }
.att-arch-year { font-family: var(--font-display); font-size: 22px; color: var(--s4); min-width: 64px; }
.att-arch b { font-size: 16px; }
.att-arch-venue { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); margin: 2px 0 6px; }
.att-arch p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* Hall of Innovation */
.hall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.hall-card { border: 1px solid var(--line); border-top: 2px solid var(--cc); border-radius: var(--radius); background: var(--surface); padding: 20px; }
.hall-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.hall-cat { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--cc); }
.hall-year { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }
.hall-card h4 { font-family: var(--font-display); font-size: 17px; margin: 0 0 8px; }
.hall-card p { color: var(--muted); font-size: 13.5px; margin: 0 0 10px; }
.hall-org { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }

/* admin event editor rows */
.ev-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-soft); }
.ev-row .row { flex: 1; }
.ev-row [data-rm] { align-self: center; }

/* admin users & role permissions */
.perm-block { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ink); padding: 14px 16px; margin-bottom: 14px; }
.perm-role { font-family: var(--font-display); font-size: 15px; margin-bottom: 10px; }
.perm-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 460px; }
.perm-table th, .perm-table td { padding: 7px 10px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.perm-table th { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
#actingRole { font-family: var(--font-mono); font-size: 11px; }

/* admin innovation preview modal */
.pv-overlay { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 3vmin; background: rgba(4,6,12,.72); backdrop-filter: blur(6px); }
.pv-modal { width: min(820px, 96vw); max-height: 92vh; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.pv-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: var(--surface-2); }
.pv-badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--s4); }
.pv-close { font-family: var(--font-mono); font-size: 12px; color: var(--text); background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.pv-close:hover { border-color: var(--s3); }
.pv-scroll { overflow-y: auto; }
.pv-inner { max-width: 680px; margin: 0 auto; padding: 28px 28px 36px; }
.pv-cover { width: 100%; height: 300px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); display: block; }
.pv-cover.pv-gen { background: radial-gradient(120% 130% at 82% 12%, var(--cc, var(--s2)), transparent 58%), var(--ink); }
.pv-meta { display: flex; flex-wrap: wrap; gap: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin: 18px 0; }
.pv-inner h1 { font-family: var(--font-display); font-size: clamp(24px, 4vw, 34px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; }
.pv-lede { font-size: 18px; color: var(--text); margin: 0; }
.pv-body { color: var(--muted); font-size: 16px; line-height: 1.8; margin: 22px 0; border-left: 2px solid var(--line); padding-left: 20px; }
.pv-body p { margin: 0 0 14px; } .pv-body p:last-child { margin-bottom: 0; }
.pv-body ul, .pv-body ol { padding-left: 22px; margin: 8px 0 14px; }
.pv-body a { color: var(--s4); text-decoration: underline; }
.pv-body strong, .pv-body b { color: var(--text); }
.pv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }

/* admin run-history expandable tag cells */
.rh-tags { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.rh-chip { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; white-space: nowrap; }
.rh-more { font-family: var(--font-mono); font-size: 10.5px; color: var(--s4); background: none; border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; cursor: pointer; }
.rh-more:hover { border-color: var(--s4); }

/* admin source recommendations */
.rec-list { display: grid; gap: 8px; }
.rec-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--ink); padding: 10px 14px; cursor: pointer; }
.rec-row:hover { border-color: var(--muted-2); }
.rec-row input { width: auto; }
.rec-topic { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--s4); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; margin-left: 8px; }
.rec-url { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 340px; }
@media (max-width: 640px) { .rec-row { grid-template-columns: auto 1fr; } .rec-url { display: none; } }

@media (max-width: 640px) { .att-stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Explore · vendor marketplace ---------- */
.ven-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.ven-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px; cursor: pointer; transition: transform .18s, border-color .18s; display: flex; flex-direction: column; }
.ven-card:hover { transform: translateY(-3px); border-color: var(--s3); }
.ven-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.ven-logo { width: 48px; height: 48px; border-radius: 12px; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: #fff; background: var(--spectrum); }
.ven-logo.lg { width: 64px; height: 64px; font-size: 24px; border-radius: 16px; }
.ven-badges { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.ven-badge { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.ven-badge.verified { color: #3fb96b; border-color: color-mix(in srgb, #3fb96b 40%, var(--line)); }
.ven-badge.startup { color: var(--s4); border-color: color-mix(in srgb, var(--s4) 40%, var(--line)); }
.ven-badge.feat { color: var(--s1); border-color: color-mix(in srgb, var(--s1) 40%, var(--line)); }
.ven-card h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 4px; }
.ven-cat { color: var(--s4); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.ven-loc { color: var(--muted-2); font-size: 12.5px; margin-top: 3px; }
.ven-card p { color: var(--muted); font-size: 13.5px; margin: 12px 0; flex: 1; }
.ven-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ven-cta { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--s4); }

.ven-filter { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ven-search { flex: 1; min-width: 220px; background: var(--ink); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 11px 14px; font-family: var(--font-body); }
.ven-filter select { background: var(--ink); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 11px 12px; font-family: var(--font-body); font-size: 14px; cursor: pointer; }
.ven-search:focus, .ven-filter select:focus { outline: none; border-color: var(--s3); }

.ven-overlay { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 3vmin; background: rgba(4,6,12,.72); backdrop-filter: blur(6px); }
.ven-modal { position: relative; width: min(760px, 96vw); max-height: 92vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.ven-close { position: absolute; top: 16px; right: 16px; font-family: var(--font-mono); font-size: 13px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.ven-close:hover { border-color: var(--s3); }
.ven-modal-head { display: flex; gap: 16px; align-items: center; padding-right: 40px; }
.ven-modal-head h2 { font-family: var(--font-display); font-size: 24px; margin: 0 0 4px; }
.ven-about { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 18px 0; }
.ven-spec { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ven-contact { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.ven-contact a { color: var(--s4); }
.ven-enquire { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); padding: 20px; margin-top: 20px; }
.ven-enquire h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 4px; }
.ven-enquire .row { display: flex; flex-wrap: wrap; gap: 10px; }
.ven-enquire input, .ven-enquire textarea { background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 9px; padding: 10px 12px; font-family: var(--font-body); font-size: 14px; }
.ven-enquire input { flex: 1; min-width: 140px; }
.ven-enquire input:focus, .ven-enquire textarea:focus { outline: none; border-color: var(--s3); }
.enq-ok { color: #3fb96b; font-size: 14px; border-left: 2px solid #3fb96b; padding-left: 12px; }
.ven-related { margin-top: 24px; }
.ven-related h3 { font-family: var(--font-display); font-size: 16px; margin: 0 0 14px; }
.ven-logo { overflow: hidden; }
img.ven-logo { object-fit: cover; }

/* admin vendor add/edit + live preview */
.ven-editor { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.ven-preview { position: sticky; top: 76px; }
.ven-preview-lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
@media (max-width: 860px) { .ven-editor { grid-template-columns: 1fr; } .ven-preview { position: static; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
:focus-visible { outline: 2px solid var(--s4); outline-offset: 2px; border-radius: 4px; }

/* ============================================================
   3-pillar IA · CES-style home · BookMyBooth  (v0.12)
   ============================================================ */

/* header — dual front-door CTA (attendees + exhibitors) */
.nav-ctas { display: inline-flex; gap: 8px; align-items: center; margin-left: 8px; }
.nav-links a.nav-cta.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.nav-links a.nav-cta.ghost:hover { background: var(--surface); border-color: var(--s3); color: var(--text); filter: none; }

/* CES-style event hero */
.ev-hero { position: relative; min-height: clamp(520px, 76vh, 760px); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); }
.ev-hero .att-banner { position: absolute; inset: 0; height: 100%; width: 100%; margin: 0; border: none; border-radius: 0; z-index: 0; }
.ev-hero-grad { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,14,26,.28) 0%, rgba(10,14,26,.60) 52%, rgba(10,14,26,.93) 100%); }
html[data-theme="light"] .ev-hero-grad { background: linear-gradient(180deg, rgba(6,10,22,.30) 0%, rgba(6,10,22,.55) 52%, rgba(6,10,22,.9) 100%); }
.ev-hero-inner { position: relative; z-index: 2; padding: 60px 0 48px; color: #fff; }
.ev-hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #fff; opacity: .92; }
.ev-hero-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 7.4vw, 86px); line-height: .96; letter-spacing: -.03em; margin: 14px 0 0; color: #fff; text-shadow: 0 2px 34px rgba(0,0,0,.45); }
.ev-hero-when { font-family: var(--font-mono); font-size: clamp(14px, 1.8vw, 19px); margin-top: 14px; color: #fff; }
.ev-hero-count { margin: 16px 0 4px; }
.ev-hero-lede { max-width: 60ch; font-size: clamp(15px, 1.5vw, 18px); color: rgba(255,255,255,.9); margin: 16px 0 26px; }
.ev-hero-lede b { color: #fff; }
.ev-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ev-hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 32px; }
.ev-hero-stat { display: flex; flex-direction: column; }
.ev-hero-stat b { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: #fff; line-height: 1; }
.ev-hero-stat span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-top: 6px; }

.btn-exhibit { background: #fff; color: #0A0E1A; border: none; font-weight: 700; }
.btn-exhibit:hover { filter: brightness(.94); border: none; }
.btn-ghost-light { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.42); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); border-color: #fff; }

/* home — 3-pillar "aha" cards */
.home-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-pillar { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-left: 3px solid var(--cc); border-radius: var(--radius); background: var(--surface); padding: 24px; text-decoration: none; color: var(--text); transition: transform .16s, border-color .16s; }
.home-pillar:hover { transform: translateY(-3px); border-color: var(--cc); }
.home-pillar-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cc); }
.home-pillar h3 { font-family: var(--font-display); font-size: 22px; margin: 0; }
.home-pillar p { color: var(--muted); font-size: 14.5px; margin: 0; flex: 1; }
.home-pillar-go { font-family: var(--font-mono); font-size: 13px; color: var(--cc); }

/* accent chip (Book a Booth in the Expo sub-nav) */
.chip.chip-accent { border-color: var(--s2); color: var(--s2); font-weight: 700; }
.chip.chip-accent[aria-pressed="true"] { background: var(--s2); color: #fff; border-color: transparent; }

/* DDX TV hub head (Watch / Listen) */
.tvhub-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }

/* ---------- BookMyBooth wizard ---------- */
.book-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 4px; }
.book-step { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted-2); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.book-step-n { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--muted); font-size: 11px; font-weight: 700; }
.book-step.on { color: var(--text); border-color: var(--s3); }
.book-step.on .book-step-n { background: var(--spectrum); color: #fff; }
.book-step.done .book-step-n { background: var(--s4); color: #0A0E1A; }
.book-panel { margin-top: 22px; }
.book-lead { color: var(--muted); max-width: 72ch; }
.book-event-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 26px; margin-top: 16px; }
.book-event-card h3 { font-family: var(--font-display); font-size: 26px; margin: 8px 0 6px; }
.book-event-meta { color: var(--muted); font-size: 14px; }

.book-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 16px 0; font-size: 13px; color: var(--muted); }
.book-leg { display: inline-flex; align-items: center; gap: 7px; }
.book-leg .sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.book-leg .sw.av { background: var(--surface-3); border: 1px solid var(--line); }
.book-leg .sw.sel { background: var(--spectrum); }
.book-leg .sw.bk { background: repeating-linear-gradient(45deg, var(--line), var(--line) 3px, transparent 3px, transparent 6px); border: 1px solid var(--line); }
.book-leg-sep { width: 1px; height: 18px; background: var(--line); }

.book-hall-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); padding: 20px; }
.book-hall { display: grid; gap: 10px; min-width: 560px; }
.booth { position: relative; aspect-ratio: 1 / .72; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-3); color: var(--text); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px; transition: transform .12s, border-color .12s; }
.booth:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--s4); }
.booth-id { font-family: var(--font-mono); font-size: 13px; font-weight: 700; }
.booth-sz { font-size: 13px; font-weight: 700; color: var(--text); }
.booth.tier-premium { background: linear-gradient(180deg, var(--surface-3), rgba(122,61,245,.14)); }
.booth.tier-island { background: linear-gradient(180deg, var(--surface-3), rgba(224,33,138,.16)); }
.booth.sel { border-color: transparent; background: var(--spectrum); color: #fff; box-shadow: 0 6px 18px rgba(37,99,235,.35); }
.booth.sel .booth-sz { color: rgba(255,255,255,.82); }
.booth.bk { opacity: .42; cursor: not-allowed; background: repeating-linear-gradient(45deg, var(--surface-3), var(--surface-3) 4px, transparent 4px, transparent 8px); }

.book-bar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.book-bar-info { color: var(--muted); font-size: 14px; }

.book-cost, .book-pay { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: start; }
.book-cost-booth, .book-cost-bill, .book-pay-summary, .book-pay-methods { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px; }
.book-cost-booth h3, .book-pay-summary h3 { font-family: var(--font-display); }
.book-spec { list-style: none; padding: 0; margin: 14px 0; }
.book-spec li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.book-spec li span { color: var(--muted); }
.book-note { color: var(--muted-2); font-size: 12.5px; margin-top: 12px; }
.book-bill-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.book-bill-row.total { border-bottom: none; font-family: var(--font-display); font-size: 20px; font-weight: 700; padding-top: 14px; }
.book-full { width: 100%; justify-content: center; margin-top: 12px; }

.book-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.book-field { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.book-field i { color: var(--s1); font-style: normal; }
.book-field input, .book-field textarea { background: var(--ink); border: 1px solid var(--line); color: var(--text); border-radius: 9px; padding: 11px 13px; font-family: var(--font-body); font-size: 14px; text-transform: none; letter-spacing: normal; }
.book-field input:focus, .book-field textarea:focus { outline: none; border-color: var(--s3); }
.book-field-wide { grid-column: 1 / -1; }
.book-err { color: #ff9bb0; font-size: 13.5px; margin-top: 12px; }

.book-methods { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.book-method { border: 1px solid var(--line); background: var(--ink); color: var(--text); border-radius: 9px; padding: 11px 16px; cursor: pointer; font-family: var(--font-body); font-size: 14px; font-weight: 600; }
.book-method.on { border-color: transparent; background: var(--spectrum); color: #fff; }
.book-pay-for { color: var(--muted); font-size: 13px; margin-top: 10px; }
.book-demo { color: var(--s4); }

.book-done { text-align: center; max-width: 620px; margin: 0 auto; padding: 20px 0; }
.book-done-tick { width: 64px; height: 64px; border-radius: 50%; background: var(--spectrum); color: #fff; font-size: 32px; display: grid; place-items: center; margin: 0 auto 18px; }
.book-done h3 { font-family: var(--font-display); font-size: 28px; margin: 0 0 10px; }
.book-done .book-lead { margin: 0 auto 22px; }
.book-done-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px 24px; text-align: left; max-width: 460px; margin: 0 auto 8px; }
.book-done .book-bar { justify-content: center; }

@media (max-width: 820px) { .home-pillars { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .book-cost, .book-pay, .book-form { grid-template-columns: 1fr; } .ev-hero-stats { gap: 22px; } }

/* ============================================================
   Hero copy · motion · "Next starts here" · scroll-reveal  (v0.13)
   ============================================================ */

/* hero tagline (the one-line show descriptor) */
.ev-hero-tagline { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.5vw, 32px); line-height: 1.18; letter-spacing: -.01em; color: #fff; margin: 16px 0 0; max-width: 30ch; }
.ev-hero-tagline b { font-weight: 700; }
.ev-hero-when { margin-top: 18px; }

/* hero on-load emergence — content rises in, staggered */
@keyframes evrise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.ev-hero-anim > * { opacity: 0; animation: evrise .9s cubic-bezier(.22,.61,.36,1) forwards; }
.ev-hero-anim > *:nth-child(1) { animation-delay: .06s; }
.ev-hero-anim > *:nth-child(2) { animation-delay: .16s; }
.ev-hero-anim > *:nth-child(3) { animation-delay: .26s; }
.ev-hero-anim > *:nth-child(4) { animation-delay: .36s; }
.ev-hero-anim > *:nth-child(5) { animation-delay: .46s; }
.ev-hero-anim > *:nth-child(6) { animation-delay: .56s; }
.ev-hero-anim > *:nth-child(7) { animation-delay: .66s; }

/* scroll cue at the foot of the hero */
.ev-hero-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; padding: 0; background: none; cursor: pointer; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; }
.ev-hero-scroll:hover { border-color: #fff; }
.ev-hero-scroll span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.7s ease-in-out infinite; }
@keyframes scrolldot { 0% { opacity: 0; top: 7px; } 30% { opacity: 1; } 70% { opacity: 1; top: 22px; } 100% { opacity: 0; top: 22px; } }

/* "The next in Retail & OOH starts here" band */
.next-band { padding: clamp(72px, 12vw, 148px) 0; border-bottom: 1px solid var(--line-soft); }
.next-eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--s4); margin: 0; }
.next-line { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 6.6vw, 78px); line-height: 1.02; letter-spacing: -.03em; margin: 18px 0 0; max-width: 20ch; }
.next-line .grad { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.next-sub { color: var(--muted); font-size: clamp(17px, 1.7vw, 21px); max-width: 62ch; margin: 24px 0 0; }
.next-sub b { color: var(--text); }

/* scroll-reveal: elements emerge as they enter the viewport */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1); transition-delay: calc(var(--i, 0) * 90ms); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ev-hero-anim > * { opacity: 1; animation: none; }
  .ev-hero-scroll span { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   CES-style expanding hero  (v0.15)
   Two layers on a dark sticky stage: a BACKGROUND (event date, location,
   sign-up CTA, scroll cue) and a purple PANEL that expands to full-bleed
   as you scroll. Progress --p (0→1) is set on .ces-hero-sticky in JS and
   lerp-smoothed there; opacities are derived from it here.
   ============================================================ */
.ces-hero { position: relative; }
.ces-hero-track { height: 210vh; }               /* scroll distance driving the rise */
.ces-hero-sticky {
  --p: 0;
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  /* soft aurora — luminous colour glows blending over a deep indigo base,
     brightest toward the bottom where the panel emerges */
  background:
    radial-gradient(68% 62% at 16% 34%, rgba(59,86,222,.55), transparent 62%),   /* blue, left */
    radial-gradient(64% 58% at 50% 116%, rgba(34,211,238,.42), transparent 64%),  /* cyan, centre-bottom */
    radial-gradient(66% 62% at 90% 84%, rgba(196,58,206,.50), transparent 62%),   /* magenta, right */
    radial-gradient(52% 54% at 78% 122%, rgba(122,61,245,.44), transparent 60%),  /* violet, bottom-right */
    radial-gradient(60% 50% at 8% 108%, rgba(224,33,138,.24), transparent 60%),   /* pink, bottom-left */
    linear-gradient(158deg, #171a46 0%, #121748 46%, #101a44 100%);               /* indigo base */
}

/* background layer — the event pitch, centred like CES; fades as the panel rises */
.ces-bg { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12vh 6vw; color: #fff; opacity: calc(1 - var(--p) * 1.8); }
.ces-hero-logo { height: clamp(56px, 9vw, 96px); width: auto; display: block; margin: 0 auto 22px; background: rgba(255,255,255,.94); padding: 14px 20px; border-radius: 16px; box-shadow: 0 6px 22px rgba(0,0,0,.28); box-sizing: content-box; }
.ces-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: #fff; opacity: .92; margin-bottom: 18px; }
.ces-date { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6.8vw, 92px); letter-spacing: -.025em; line-height: 1.02; color: #fff; max-width: 18ch; }
.ces-loc { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 3vw, 40px); letter-spacing: -.01em; color: rgba(255,255,255,.9); margin-top: 6px; }
.ces-signup { max-width: 52ch; color: rgba(255,255,255,.82); font-size: clamp(15px, 1.55vw, 19px); margin: 22px 0 26px; }
/* On desktop keep the tagline on a single line; it still wraps on narrow screens. */
@media (min-width: 900px) { .ces-signup { max-width: none; white-space: nowrap; } }
.ces-signup-cta { pointer-events: auto; }
.ces-hero-sticky.expanded .ces-bg { pointer-events: none; }
.ces-scroll { position: absolute; left: 50%; bottom: clamp(22px, 4vh, 44px); transform: translateX(-50%); width: 26px; height: 42px; padding: 0; background: none; cursor: pointer; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; }
.ces-scroll:hover { border-color: #fff; }
.ces-scroll span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.7s ease-in-out infinite; }

/* purple panel — a full-size layer revealed through an expanding clip window that
   starts as an inset rounded sliver at the bottom and opens out in three
   directions (up, left, right; the bottom stays anchored) to full-bleed. */
.ces-hero-panel {
  position: absolute; inset: 0; z-index: 2; overflow: hidden;
  clip-path: inset(
    calc((1 - var(--p)) * 82%)
    calc((1 - var(--p)) * 7%)
    0%
    calc((1 - var(--p)) * 7%)
    round calc((1 - var(--p)) * 40px));
  will-change: clip-path;
}
.ces-hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; overflow: hidden; }
/* uploaded hero background image (takes precedence over the generated pattern) */
.ces-hero-photo { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
/* Technical background — deep gradient + LED dot-matrix + signal mesh (no photo) */
.ces-hero-bg.tech {
  /* If /assets/hero-bg.jpg exists it becomes the background; otherwise the
     gradient below shows through (a 404 CSS background layer renders nothing). */
  background:
    url('/assets/hero-bg.jpg') center / cover no-repeat,
    radial-gradient(120% 95% at 50% 0%, rgba(122,61,245,.42), transparent 60%),
    radial-gradient(80% 70% at 88% 108%, rgba(34,211,238,.28), transparent 60%),
    radial-gradient(70% 60% at 6% 104%, rgba(224,33,138,.24), transparent 60%),
    linear-gradient(140deg, #0a0e2e 0%, #170b3e 46%, #250f57 100%);
}
.ces-hero-bg.tech::before { content: ''; position: absolute; inset: -2px; z-index: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1.7px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 10%, #000 40%, transparent 80%);
  mask-image: radial-gradient(120% 100% at 50% 10%, #000 40%, transparent 80%);
  opacity: .55; }
.ces-hero-bg.tech::after { content: ''; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(34,211,238,.10) 1px, transparent 1px),
    linear-gradient(0deg, rgba(224,33,138,.07) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px; opacity: .5; }
.ces-hero-veil { position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 80% at 50% 6%, rgba(255,255,255,.14), transparent 55%),
    linear-gradient(180deg, rgba(9,7,28,.20) 0%, rgba(9,7,28,.42) 60%, rgba(9,7,28,.62) 100%); }
.ces-hero-content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8vh 6vw; color: #fff; transform: scale(calc(0.92 + 0.08 * var(--p))); transform-origin: center center; }
.ces-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(42px, 8.4vw, 116px); line-height: .96; letter-spacing: -.035em; margin: 0; max-width: 16ch; color: #fff; text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.ces-title span { color: #7defff; -webkit-text-fill-color: #7defff; }
.ces-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.ces-count { justify-content: center; margin-top: 26px; opacity: .9; }
@media (max-width: 640px) { .ces-hero-track { height: 190vh; } .ces-title { font-size: clamp(34px, 11vw, 60px); } .ces-date { font-size: clamp(30px, 9vw, 52px); } .ces-loc { font-size: clamp(18px, 5vw, 28px); } }
@media (prefers-reduced-motion: reduce) { .ces-scroll span { animation: none; } }

/* ============================================================
   Home event-marketing sections  (v0.17)
   Why Exhibit · Get Involved · Exhibit band · Guides
   ============================================================ */

/* Why exhibit */
.wx-stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 52px); margin-bottom: 34px; }
.wx-stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4.2vw, 46px); line-height: 1; }
.wx-stat span { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: 7px; }
.wx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wx-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 24px; }
.wx-ic { display: block; font-size: 26px; margin-bottom: 14px; }
.wx-card h3 { font-family: var(--font-display); font-size: 19px; margin: 0 0 8px; }
.wx-card p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.55; }
/* Showcase logo grids (Past Exhibitors/Visitors, 2027 Exhibitors) + sponsors strip. */
.home-sub { color: var(--muted); margin: -6px 0 18px; max-width: 60ch; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.logo-cell { position: relative; display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.logo-cell img { max-width: 100%; max-height: 56px; width: auto; object-fit: contain; }
.logo-cell .logo-name { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--muted-2); }
.logo-cell.has-note { cursor: default; }
.logo-cell .logo-note { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 12px; font-size: 12.5px; line-height: 1.45; color: #fff; background: var(--spectrum); opacity: 0; transition: opacity .18s; border-radius: var(--radius); }
.logo-cell.has-note:hover .logo-note, .logo-cell.has-note:focus-within .logo-note { opacity: 1; }
.sponsors-strip { border-top: 1px solid var(--line); background: var(--surface); padding: 20px 0; }
.sponsors-strip .sponsors-eyebrow { display: block; text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.sponsors-strip .logo-strip { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: center; }
.sponsors-strip .logo-strip img { max-height: 42px; max-width: 150px; width: auto; object-fit: contain; opacity: .85; transition: opacity .16s; }
.sponsors-strip .logo-strip img:hover { opacity: 1; }

/* Cookie-consent banner */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(0,0,0,.08); }
.cookie-inner { max-width: var(--maxw, 1200px); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cookie-inner p { margin: 0; flex: 1; min-width: 240px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.cookie-inner a { color: var(--s4); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex: none; }
.cookie-btn { font-size: 13.5px; padding: 8px 18px; }
@media (max-width: 520px) { .cookie-btns { width: 100%; } .cookie-btn { flex: 1; } }

/* Legal pages (editable content) — readable prose column. */
.legal-content { max-width: 72ch; color: var(--text); font-size: 15.5px; line-height: 1.7; }
.legal-content h2 { font-family: var(--font-display); font-size: 20px; margin: 28px 0 8px; }
.legal-content h3 { font-size: 16px; margin: 20px 0 6px; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content ul, .legal-content ol { padding-left: 22px; margin: 8px 0; }
.legal-content a { color: var(--s4); text-decoration: underline; }
.footer .legal-row { margin-top: 14px; text-align: center; font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }
.footer .legal-row a { display: inline; padding: 0 8px; font-family: inherit; font-size: inherit; color: var(--muted-2); white-space: nowrap; }
.footer .legal-row a:hover { color: var(--text); }

/* Register CTA box in the "Why visit" grid — a clickable, accented wx-card. */
.wx-card-link { position: relative; display: block; text-decoration: none; color: var(--text); border-color: var(--s3); transition: transform .16s, border-color .16s, box-shadow .16s; }
.wx-card-link:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.wx-card-link h3 { padding-right: 26px; }
.wx-go { position: absolute; top: 22px; right: 22px; color: var(--s3); font-size: 20px; line-height: 1; }

/* Get involved */
.involved-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.involved-card { position: relative; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-left: 3px solid var(--cc); border-radius: var(--radius); background: var(--surface); padding: 22px 24px; text-decoration: none; color: var(--text); transition: transform .16s, border-color .16s; }
.involved-card:hover { transform: translateY(-3px); border-color: var(--cc); }
.involved-card h3 { font-family: var(--font-display); font-size: 19px; margin: 0; padding-right: 28px; }
.involved-card p { color: var(--muted); font-size: 14px; margin: 0; }
.involved-go { position: absolute; top: 20px; right: 22px; color: var(--cc); font-size: 20px; line-height: 1; }

/* Exhibit band */
.exhibit-band { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; border-radius: calc(var(--radius) + 4px); padding: clamp(28px, 4vw, 50px); color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(255,255,255,.12), transparent 55%),
    linear-gradient(125deg, #241056 0%, #6d28d9 38%, #a21caf 72%, #1d4ed8 100%); }
.exhibit-band-main { max-width: 62ch; }
.exhibit-band-main h2 { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 42px); margin: 8px 0 12px; color: #fff; letter-spacing: -.02em; }
.exhibit-band-main p { color: rgba(255,255,255,.9); margin: 0 0 22px; }
.exhibit-band-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.exhibit-band-tiers { display: flex; gap: 12px; flex-wrap: wrap; }
.etier { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); border-radius: 12px; padding: 16px 22px; text-align: center; min-width: 96px; }
.etier b { display: block; font-family: var(--font-display); font-size: 17px; }
.etier span { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.78); }

/* Guides */
.guides-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.guide-card { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px 24px; text-decoration: none; color: var(--text); transition: transform .16s, border-color .16s; }
.guide-card:hover { transform: translateY(-2px); border-color: var(--s3); }
.guide-ic { flex: none; font-size: 26px; }
.guide-card h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 4px; }
.guide-card p { color: var(--muted); font-size: 14px; margin: 0; }
.guide-go { margin-left: auto; font-family: var(--font-mono); font-size: 13px; color: var(--s4); white-space: nowrap; }

@media (max-width: 900px) { .wx-grid { grid-template-columns: 1fr 1fr; } .involved-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .wx-grid, .involved-grid, .guides-grid { grid-template-columns: 1fr; } }

/* ============================================================
   BookMyBooth — image floor-plan map (public)  (v0.18)
   ============================================================ */
.book-hall-wrap.is-map { overflow-x: auto; padding: 12px; }
.book-map { position: relative; display: inline-block; width: 100%; min-width: 640px; line-height: 0; }
.book-map-img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.mbooth { position: absolute; box-sizing: border-box; margin: 0; padding: 2px; border: 2px solid var(--s4); border-radius: 4px; background: rgba(34,211,238,.20); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; transition: filter .12s, transform .12s; }
.mbooth:hover:not(:disabled) { filter: brightness(1.15); transform: scale(1.02); z-index: 3; }
.mbooth.sel { border-color: #fff; background: var(--spectrum); box-shadow: 0 4px 16px rgba(37,99,235,.45); z-index: 4; }
.mbooth.bk { border-color: var(--muted-2); background: repeating-linear-gradient(45deg, rgba(150,150,170,.42), rgba(150,150,170,.42) 4px, transparent 4px, transparent 8px); color: rgba(255,255,255,.7); cursor: not-allowed; }
.mbooth-l { pointer-events: none; font-family: var(--font-mono); font-size: clamp(8px, 1vw, 12px); font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,.6); white-space: nowrap; }

/* ============================================================
   Floor-plan editor (admin portal)
   ============================================================ */
.fp-editor { display: grid; grid-template-columns: 1.6fr .9fr; gap: 18px; margin-top: 16px; align-items: start; }
.fp-stage { position: relative; width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); overflow: hidden; line-height: 0; }
.fp-stage.empty { min-height: 300px; display: grid; place-items: center; }
.fp-stage-img { display: block; width: 100%; height: auto; }
.fp-empty-msg { color: var(--muted); font-family: var(--font-mono); font-size: 13px; }
.fp-booth { position: absolute; box-sizing: border-box; border: 2px solid var(--s4); background: rgba(34,211,238,.22); border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; }
.fp-booth span { pointer-events: none; font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.65); line-height: 1; }
.fp-booth.sel { border-color: #fff; background: var(--spectrum); box-shadow: 0 0 0 2px rgba(255,255,255,.4); z-index: 3; }
.fp-booth.bk { border-color: var(--muted-2); background: repeating-linear-gradient(45deg, rgba(150,150,170,.42), rgba(150,150,170,.42) 4px, transparent 4px, transparent 8px); }
.fp-list { max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.fp-litem { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left; border: 1px solid var(--line); background: var(--ink); color: var(--text); border-radius: 8px; padding: 8px 10px; cursor: pointer; font-size: 13px; }
.fp-litem.on { border-color: var(--s3); background: var(--surface); }
.fp-litem-m { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted-2); white-space: nowrap; }
.fp-edit { border-top: 1px solid var(--line-soft); padding-top: 12px; }
.fp-edit .field { min-width: 0; }
@media (max-width: 820px) { .fp-editor { grid-template-columns: 1fr; } }

/* exhibitor name on booked map booths */
.mbooth { flex-direction: column; gap: 1px; }
.mbooth-x { pointer-events: none; font-family: var(--font-body); font-size: clamp(7px, .8vw, 10px); font-weight: 500; opacity: .92; text-shadow: 0 1px 3px rgba(0,0,0,.7); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 3px; }

/* Apply to Exhibit — "booths listed below the plan" reference image */
.book-plan-ref { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; line-height: 0; }
.book-plan-ref .book-map-img { min-width: 640px; }

/* floor-plan editor — "below" preview grid */
.fp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; margin-top: 14px; }
.fp-gbooth { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-3); color: var(--text); cursor: pointer; padding: 12px 6px; transition: border-color .12s, transform .12s; }
.fp-gbooth:hover { border-color: var(--s4); transform: translateY(-2px); }
.fp-gbooth.sel { border-color: transparent; background: var(--spectrum); color: #fff; }
.fp-gbooth.bk { opacity: .5; background: repeating-linear-gradient(45deg, var(--surface-3), var(--surface-3) 4px, transparent 4px, transparent 8px); }
.fp-gb-l { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; }
.fp-gb-sz { font-size: 11px; color: var(--muted-2); }
.fp-gbooth.sel .fp-gb-sz { color: rgba(255,255,255,.85); }

/* ============================================================
   Floor-plan editor — stepped flow, grid/scale, drag, list  (v0.22)
   ============================================================ */
.fp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.fp-stepc { display: flex; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ink); padding: 14px 16px; }
.fp-stepno { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--spectrum); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.fp-stepno.sm { width: 22px; height: 22px; font-size: 12px; }
.fp-stepbody { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.fp-steplabel { font-size: 13.5px; font-weight: 600; color: var(--text); }
.fp-stepbody input[type="file"], .fp-stepbody select, .fp-stepbody input[type="text"], .fp-stepbody #fp-hall { max-width: 100%; }
.fp-import-box { border-top: 1px solid var(--line-soft); margin-top: 16px; padding-top: 14px; }
.fp-btnrow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fp-actions-bottom { margin-top: 18px; }
.fp-actions-bottom .mini { display: inline-flex; align-items: center; }
.fp-stephead { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 16px; font-weight: 600; margin: 0 0 12px; }

/* plan grid + scale ruler */
.fp-stage.has-grid { position: relative; }
.fp-gridlines { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(37,99,235,.22) 0 1px, transparent 1px 10%),
    repeating-linear-gradient(to bottom, rgba(37,99,235,.22) 0 1px, transparent 1px 10%); }
.fp-ruler { position: absolute; z-index: 1; pointer-events: none; font-family: var(--font-mono); font-size: 9px; color: var(--s4); }
.fp-ruler span { position: absolute; }
.fp-ruler.rx { top: 1px; left: 0; right: 0; height: 12px; }
.fp-ruler.rx span { top: 0; transform: translateX(2px); }
.fp-ruler.ry { top: 0; bottom: 0; left: 1px; width: 14px; }
.fp-ruler.ry span { left: 0; transform: translateY(1px); }
.fp-booth { z-index: 2; }
.fp-stage.has-grid .fp-booth { cursor: grab; }
.fp-stage.has-grid .fp-booth:active { cursor: grabbing; }

/* colour-coded booth list */
.fp-litem-l { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.fp-litem.free .fp-dot { background: #3fb950; }
.fp-litem.booked .fp-dot { background: #ff7a90; }
.fp-litem.free { border-left: 3px solid #3fb950; }
.fp-litem.booked { border-left: 3px solid #ff7a90; }
@media (max-width: 760px) { .fp-steps { grid-template-columns: 1fr; } }

/* Awards — nomination form */
.att-award[data-nomcat] { cursor: pointer; transition: transform .14s, border-color .14s; }
.att-award[data-nomcat]:hover, .att-award[data-nomcat]:focus-visible { transform: translateY(-2px); border-color: var(--s1); outline: none; }
.nom-form { margin-top: 40px; border-top: 1px solid var(--line-soft); padding-top: 30px; }
.nom-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nom-field { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nom-field.nom-wide { grid-column: 1 / -1; }
.nom-field input, .nom-field select, .nom-field textarea { background: var(--ink); border: 1px solid var(--line); color: var(--text); border-radius: 9px; padding: 11px 13px; font-family: var(--font-body); font-size: 14px; text-transform: none; letter-spacing: normal; }
.nom-field input:focus, .nom-field select:focus, .nom-field textarea:focus { outline: none; border-color: var(--s3); }
@media (max-width: 640px) { .nom-fields { grid-template-columns: 1fr; } }

/* ============================================================
   End-user accounts — header control, auth modal, booth gate  (v0.26)
   ============================================================ */
.account-slot { display: inline-flex; align-items: center; gap: 8px; }
.acct { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--text); }
.acct-dot { width: 7px; height: 7px; border-radius: 50%; background: #3fb950; }
.acct-btn { font-family: var(--font-body); font-size: 13.5px; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 8px 13px; cursor: pointer; }
.acct-btn:hover { border-color: var(--s3); }

.auth-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(6,10,22,.6); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; overflow-y: auto; }
.auth-modal { position: relative; width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 28px; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.auth-close { position: absolute; top: 14px; right: 14px; background: none; border: none; color: var(--muted); font-size: 16px; cursor: pointer; }
.auth-close:hover { color: var(--text); }
.auth-head { text-align: center; margin-bottom: 18px; }
.auth-logo { height: 30px; width: auto; margin: 0 auto 14px; }
.auth-head h2 { font-family: var(--font-display); font-size: 24px; margin: 0 0 6px; }
.auth-head p { color: var(--muted); font-size: 14px; margin: 0; }
.auth-tabs { display: flex; gap: 4px; background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 4px; margin-bottom: 18px; }
.auth-tabs button { flex: 1; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--muted); background: none; border: none; padding: 9px; border-radius: 7px; cursor: pointer; }
.auth-tabs button.on { color: #fff; background: var(--spectrum); }
.auth-body { display: flex; flex-direction: column; gap: 12px; }
.auth-row { display: flex; gap: 10px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); flex: 1; }
.auth-field input { background: var(--ink); border: 1px solid var(--line); color: var(--text); border-radius: 9px; padding: 11px 13px; font-family: var(--font-body); font-size: 14px; text-transform: none; letter-spacing: normal; }
.auth-field input:focus { outline: none; border-color: var(--s3); }
.auth-err { color: #ff9bb0; font-size: 13.5px; min-height: 1px; }
.auth-submit { width: 100%; justify-content: center; margin-top: 4px; }

.book-gate { text-align: center; max-width: 620px; margin: 0 auto; padding: 30px 0; }
.book-gate-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font-size: 26px; margin: 0 auto 16px; }
.book-gate h3 { font-family: var(--font-display); font-size: 26px; margin: 0 0 10px; }
.book-gate-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) { .auth-row { flex-direction: column; } }

/* Customer profile modal + resumed-draft banner */
.profile-modal { max-width: 480px; }
.prof-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.prof-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--spectrum); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 22px; flex: none; }
.prof-head h2 { font-family: var(--font-display); font-size: 22px; margin: 0; }
.prof-head p { color: var(--muted); font-size: 13.5px; margin: 2px 0 0; }
.prof-grid { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 16px; }
.prof-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.prof-row:last-child { border-bottom: none; }
.prof-row span { color: var(--muted); }
.prof-h { font-family: var(--font-display); font-size: 16px; margin: 6px 0 10px; }
.prof-draft { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--s2); background: var(--surface-2); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 16px; }
.prof-draft b { display: block; font-size: 14px; }
.prof-draft span { font-size: 12.5px; color: var(--muted); }
.prof-bookings { display: flex; flex-direction: column; gap: 8px; max-height: 230px; overflow-y: auto; }
.prof-bk { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 14px; }
.prof-bk b { font-size: 14px; }
.prof-bk-ref { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); margin-top: 2px; }
.prof-bk-amt { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-family: var(--font-display); font-weight: 700; font-size: 14px; white-space: nowrap; }

.book-resumed { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--surface-2); border: 1px solid var(--s3); border-radius: 9px; padding: 10px 14px; margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.book-startover { background: none; border: none; color: var(--s4); font-family: var(--font-body); font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: underline; padding: 0; }

/* Booking — part-payment plan choice */
.book-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 4px; }
.book-plan { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; border: 1px solid var(--line); background: var(--ink); color: var(--text); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.book-plan b { font-size: 14px; }
.book-plan span { font-size: 11.5px; color: var(--muted); }
.book-plan.on { border-color: transparent; background: var(--spectrum); color: #fff; }
.book-plan.on span { color: rgba(255,255,255,.85); }
@media (max-width: 520px) { .book-plans { grid-template-columns: 1fr; } }

/* header account dropdown (Profile / Site mode / Sign out) */
.acct-menu { position: relative; }
.acct-trigger { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; cursor: pointer; }
.acct-trigger:hover { border-color: var(--s3); }
.acct-caret { font-size: 10px; color: var(--muted-2); }
.acct-drop { position: absolute; top: calc(100% + 8px); right: 0; min-width: 210px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 16px 44px rgba(0,0,0,.4); padding: 6px; z-index: 60; }
.acct-drop-item { display: block; width: 100%; text-align: left; font-family: var(--font-body); font-size: 14px; color: var(--text); background: none; border: none; border-radius: 7px; padding: 10px 12px; cursor: pointer; }
.acct-drop-item:hover { background: var(--surface-2); }
.acct-drop-mode { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin: 4px 0; font-size: 13px; color: var(--muted); }
.mode-seg { display: inline-flex; gap: 2px; background: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.mode-seg button { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; color: var(--muted); background: none; border: none; padding: 5px 10px; border-radius: 6px; cursor: pointer; }
.mode-seg button.on { color: #fff; background: var(--spectrum); }
.theme-mini { font-size: 15px; line-height: 1; padding: 8px 11px; }

/* booth scheme label (grid boxes) + cost-step description box */
.booth-scheme { font-size: 9.5px; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: .03em; }
.booth.sel .booth-scheme { color: rgba(255,255,255,.85); }
.book-booth-desc { background: var(--ink); border: 1px solid var(--line-soft); border-radius: 9px; padding: 12px 14px; font-size: 14px; color: var(--muted); line-height: 1.55; margin: 4px 0 10px; }
