/* ==========================================================================
   Talk companion page — NZGDC 2026 · Designing Shared Worlds Across Distance
   Builds on redesign.css + services.css. Event palette: NZGDC navy + orange,
   a warm yellow for "bold objects", and the orange view-cone from the study.
   ========================================================================== */

.talk-page {
  --navy: #121a2c;
  --navy-2: #18223a;
  --navy-3: #222e4a;
  --navy-line: rgba(255, 255, 255, 0.09);
  --paper: #f7f4ee;
  --orange: #f26b3a;
  --orange-deep: #d9531f;
  --orange-soft: #fff0e8;
  --yellow: #ffc933;
  --yellow-soft: #fff7dc;
  --mint: #3ecf9b;
  --on-navy: #eef0f6;
  --on-navy-dim: rgba(238, 240, 246, 0.66);
}
.talk-page em { color: inherit; }
/* Inside the page body the site's blue accent becomes NZGDC orange; the nav keeps the site look. */
.talk-page main { --accent: #f26b3a; --accent-dark: #d9531f; --accent-soft: #fff0e8; --ring: rgba(242, 107, 58, 0.22); }
.talk-page ::selection { background: var(--orange); color: #fff; }

/* ---------- Hero ---------- */
.t-hero {
  position: relative; overflow: hidden; color: var(--on-navy);
  background:
    radial-gradient(900px 520px at 78% 38%, rgba(242, 107, 58, 0.20), transparent 62%),
    radial-gradient(700px 480px at 8% 0%, rgba(47, 107, 255, 0.18), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #0e1526 100%);
  padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 88px);
}
.t-hero-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
}
.t-hero-grid { position: relative; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.t-kicker { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.t-badge {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 6px;
  background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .14em;
}
.t-status {
  display: inline-flex; align-items: center; gap: 9px; height: 30px; padding: 0 13px; border-radius: 999px;
  border: 1px solid var(--navy-line); background: rgba(255, 255, 255, 0.05);
  font-size: 12.5px; font-weight: 600; color: var(--on-navy);
}
.t-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(255, 201, 51, .6); }
.t-status[data-state="live"] i { background: #ff4d4d; animation: t-pulse 1.4s infinite; }
.t-status[data-state="after"] i { background: var(--mint); }
@keyframes t-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, .7); } 70% { box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); } }

.t-hero h1 {
  color: #fff; margin-top: 20px; font-size: clamp(40px, 5.3vw, 70px); line-height: 1.0; letter-spacing: -0.025em; font-weight: 500;
}
.t-hero h1 em { font-style: italic; color: var(--orange); }
.t-sub { margin-top: 18px; font-size: clamp(16.5px, 1.6vw, 19px); color: var(--on-navy-dim); max-width: 560px; line-height: 1.6; }
.t-meta { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--navy-line); max-width: 560px; }
.t-meta > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--navy-line); font-size: 14.5px; }
.t-meta dt { color: var(--on-navy-dim); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.t-meta dd { color: var(--on-navy); }
.t-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.t-btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.t-btn-primary:hover { background: #fff; border-color: #fff; color: var(--navy); }
.t-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
.t-btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

.t-countdown { display: flex; gap: 10px; margin-top: 22px; align-items: stretch; }
.t-countdown[hidden] { display: none; }
.t-countdown .u { min-width: 64px; padding: 10px 10px 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--navy-line); text-align: center; }
.t-countdown .u b { display: block; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.t-countdown .u small { display: block; margin-top: 6px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-dim); }
.t-countdown .lbl { align-self: center; font-size: 13px; color: var(--on-navy-dim); margin-left: 4px; max-width: 120px; line-height: 1.35; }

/* ---------- The Window (hero centrepiece) ---------- */
.t-window { margin: 0; position: relative; }
.t-window-stage { position: relative; perspective: 1600px; padding: 0 9%; }
.t-window-frame {
  position: relative; aspect-ratio: 4 / 3.3; border-radius: 6px;
  background: #0b1120; border: 12px solid #f3efe6;
  box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 40px 90px -30px rgba(0,0,0,.7), 0 0 120px -20px rgba(242, 107, 58, .35);
  transform-style: preserve-3d;
}
.t-window-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; touch-action: pan-y; outline: none; border-radius: 1px; }
.t-window-frame canvas:focus-visible { box-shadow: inset 0 0 0 3px var(--orange); }
.t-shutter {
  position: absolute; top: -12px; bottom: -12px; width: 44%;
  background:
    linear-gradient(90deg, rgba(0,0,0,.08), rgba(0,0,0,0) 30%),
    linear-gradient(#f3efe6, #f3efe6) padding-box;
  border: 12px solid #f3efe6; border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 30px 60px -30px rgba(0,0,0,.7);
  transition: transform 1.2s var(--ease);
  backface-visibility: hidden;
}
.t-shutter::before { /* panes */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 5px), #f3efe6 calc(50% - 5px), #f3efe6 calc(50% + 5px), transparent calc(50% + 5px)),
    linear-gradient(transparent calc(33.3% - 5px), #f3efe6 calc(33.3% - 5px), #f3efe6 calc(33.3% + 5px), transparent calc(33.3% + 5px), transparent calc(66.6% - 5px), #f3efe6 calc(66.6% - 5px), #f3efe6 calc(66.6% + 5px), transparent calc(66.6% + 5px)),
    linear-gradient(160deg, #2a3656 0%, #1a233a 55%, #2b3a5e 100%);
}
.t-shutter.l { right: 100%; transform-origin: right center; transform: rotateY(-62deg); }
.t-shutter.r { left: 100%; transform-origin: left center; transform: rotateY(62deg); }
.t-window.is-closed .t-shutter.l { transform: rotateY(0deg); }
.t-window.is-closed .t-shutter.r { transform: rotateY(0deg); }

.t-hud {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  pointer-events: none; z-index: 2;
}
.t-hud > * { pointer-events: auto; }
.t-hud .found {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px;
  background: rgba(11, 17, 32, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12); color: #fff; font-size: 12.5px; font-weight: 600;
}
.t-hud .found .dots { display: inline-flex; gap: 4px; }
.t-hud .found .dots i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); }
.t-hud .found .dots i.on { background: var(--orange); border-color: var(--orange); }
.t-hud button {
  height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(11, 17, 32, .72); color: #fff; font: 600 12.5px var(--sans); cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.t-hud button:hover { border-color: var(--orange); }
.t-hint {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.96); z-index: 2; pointer-events: none;
  padding: 10px 16px; border-radius: 999px; background: rgba(11, 17, 32, .74); border: 1px solid rgba(255,255,255,.16);
  color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transition: opacity .4s, transform .4s var(--ease);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap;
}
.t-hint.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.t-toast {
  position: absolute; left: 50%; top: 14px; transform: translate(-50%, -8px); opacity: 0; z-index: 3;
  padding: 9px 16px; border-radius: 14px; background: var(--orange); color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.4;
  width: max-content; max-width: calc(100% - 28px); text-align: center; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
  transition: opacity .3s, transform .3s var(--ease); pointer-events: none;
}
.t-toast.show { opacity: 1; transform: translate(-50%, 0); }
.t-window figcaption { margin: 22px auto 0; max-width: 470px; text-align: center; font-size: 14px; color: var(--on-navy-dim); line-height: 1.55; }
.t-window figcaption b { color: #fff; }
.t-window figcaption .k { display: inline-block; padding: 1px 7px; border-radius: 5px; background: rgba(255,255,255,.08); border: 1px solid var(--navy-line); font-size: 12px; color: #fff; }

/* ---------- Chapter bar (sticky) ---------- */
.t-chapters {
  position: sticky; top: 78px; z-index: 50; background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.t-chapters .container { display: flex; align-items: center; gap: 4px; height: 54px; overflow-x: auto; scrollbar-width: none; }
.t-chapters .container::-webkit-scrollbar { display: none; }
.t-chapters a {
  flex: 0 0 auto; height: 34px; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft); transition: background .2s, color .2s;
}
.t-chapters a small { font-size: 11px; font-weight: 700; color: var(--orange); letter-spacing: .06em; }
.t-chapters a:hover { color: var(--ink); background: var(--bg-soft); }
.t-chapters a.on { color: #fff; background: var(--navy); }
.t-chapters a.on small { color: var(--yellow); }
.t-chapters a.t-ch-cta { margin-left: auto; color: #fff; background: var(--orange); }
.t-chapters a.t-ch-cta:hover { background: var(--orange-deep); }
.t-ch-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--orange); transition: width .15s linear; }

/* ---------- Section scaffolding ---------- */
.t-sec { padding: clamp(72px, 10vw, 128px) 0; scroll-margin-top: 132px; }
.t-sec.navy { background: var(--navy); color: var(--on-navy); }
.t-sec.navy h2, .t-sec.navy h3 { color: #fff; }
.t-sec.paper { background: var(--paper); }
.t-sec.soft { background: var(--bg-soft); }
.t-chead { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 40px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.t-cnum {
  font-family: var(--serif); font-weight: 500; font-size: clamp(88px, 14vw, 180px); line-height: .78; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--orange);
}
.t-sec.navy .t-cnum { -webkit-text-stroke-color: var(--orange); }
.t-chead .eyebrow { color: var(--orange); }
.t-chead .eyebrow::before { background: var(--orange); }
.t-chead h2 { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.04; margin-top: 12px; max-width: 820px; }
.t-chead h2 em { font-style: italic; color: var(--orange); }
.t-chead .meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.t-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--orange-soft); color: var(--orange-deep); }
.t-chip.dark { background: var(--navy); color: #fff; }
.t-sec.navy .t-chip { background: rgba(255,255,255,.08); color: #fff; }
.t-lede { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.65; color: var(--ink-soft); max-width: 760px; }
.t-lede b { color: var(--ink); }
.t-sec.navy .t-lede { color: var(--on-navy-dim); }
.t-sec.navy .t-lede b { color: #fff; }

/* ---------- Prologue ---------- */
.t-stats { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; margin-top: 40px; }
.t-stat { padding: 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.t-stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 6vw, 72px); line-height: .95; letter-spacing: -0.03em; color: var(--ink); }
.t-stat b small { font-size: .5em; letter-spacing: 0; }
.t-stat span { display: block; margin-top: 12px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.t-stat cite { display: block; margin-top: 10px; font-size: 12px; font-style: normal; color: var(--muted); }
.t-stat.hot { background: var(--navy); border-color: var(--navy); }
.t-stat.hot b { color: var(--orange); }
.t-stat.hot span { color: var(--on-navy-dim); }
.t-stat.hot cite { color: rgba(255,255,255,.4); }
.t-pull {
  margin: clamp(40px, 6vw, 64px) 0 0; padding-left: 28px; border-left: 3px solid var(--orange);
  font-family: var(--serif); font-size: clamp(22px, 2.8vw, 32px); line-height: 1.35; color: var(--ink); max-width: 880px;
}
.t-pull cite { display: block; margin-top: 12px; font-family: var(--sans); font-size: 13px; font-style: normal; color: var(--muted); }
.t-questions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(40px, 6vw, 64px); }
.t-q { position: relative; padding: 30px 30px 32px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.t-q::after { content: "?"; position: absolute; right: 18px; bottom: -34px; font-family: var(--serif); font-size: 190px; line-height: 1; color: var(--orange-soft); z-index: 0; }
.t-q > * { position: relative; z-index: 1; }
.t-q small { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.t-q p { margin-top: 12px; font-family: var(--serif); font-size: clamp(22px, 2.5vw, 28px); line-height: 1.25; color: var(--ink); }
.t-study {
  margin-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 4vw, 48px); align-items: center;
  padding: clamp(26px, 4vw, 40px); border-radius: 22px; background: var(--navy); color: var(--on-navy);
}
.t-study-nums { display: flex; gap: clamp(18px, 3vw, 34px); }
.t-study-nums div b { display: block; font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); line-height: 1; color: #fff; font-weight: 500; }
.t-study-nums div span { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-dim); }
.t-study-q { font-family: var(--serif); font-size: clamp(19px, 2.1vw, 24px); line-height: 1.35; color: #fff; }
.t-study .t-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.t-study .t-tags span { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--on-navy); border: 1px solid var(--navy-line); }
.t-study-note { margin-top: 14px; font-size: 13.5px; color: var(--on-navy-dim); }

/* ---------- Chapter 1: mode switcher ---------- */
.t-modes { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.t-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.t-tabs button {
  height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  font: 600 14px var(--sans); color: var(--ink-soft); transition: background .25s var(--ease), color .25s;
}
.t-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.t-tabs button:focus-visible { outline: 3px solid var(--ring); }
.t-mode-view {
  position: relative; margin-top: 16px; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line);
  aspect-ratio: 288 / 396; max-height: 560px; box-shadow: var(--shadow);
}
.t-mode-view .strip {
  position: absolute; inset: 0; background-image: url("../images/ar-workshop/fig2-ar-display-modes.webp");
  background-size: 300% auto; background-repeat: no-repeat; background-position: 0% 50%;
  transition: background-position .7s var(--ease);
}
.t-mode-view[data-mode="window"] .strip { background-position: 0% 50%; }
.t-mode-view[data-mode="overlay"] .strip { background-position: 50% 50%; }
.t-mode-view[data-mode="tabletop"] .strip { background-position: 100% 50%; }
.t-mode-view .tag { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.t-mode-copy h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; }
.t-mode-copy .def { margin-top: 10px; font-size: 16px; color: var(--ink-soft); }
.t-mode-copy .big { margin-top: 26px; font-family: var(--serif); font-size: clamp(64px, 8vw, 104px); line-height: .9; letter-spacing: -0.04em; color: var(--orange); }
.t-mode-copy .big-l { margin-top: 10px; font-size: 16px; color: var(--ink); max-width: 420px; line-height: 1.55; }
.t-mode-panel { animation: t-fadeup .5s var(--ease); }
@keyframes t-fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.t-rule {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: clamp(40px, 6vw, 64px);
  padding: 24px 28px; border-radius: 20px; background: var(--navy); color: #fff;
}
.t-rule .n { width: 54px; height: 54px; border-radius: 14px; background: var(--orange); display: grid; place-items: center; font-family: var(--serif); font-size: 28px; }
.t-rule small { display: block; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); font-weight: 700; }
.t-rule p { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.25; margin-top: 4px; }
.t-rule p span { color: var(--on-navy-dim); }
.t-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.t-quote { margin: 0; padding: 22px 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-family: var(--serif); font-size: 19px; line-height: 1.45; color: var(--ink); }
.t-quote::before { content: "“"; display: block; font-size: 46px; line-height: .6; color: var(--orange); margin-bottom: 6px; }
.t-quote cite { display: block; margin-top: 10px; font-family: var(--sans); font-size: 12.5px; font-style: normal; color: var(--muted); }
.t-figure { margin: 22px 0 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.t-figure img { width: 100%; height: auto; }
.t-figure figcaption { padding: 12px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.t-figure figcaption b { color: var(--ink); }

/* ---------- Chapter 2 ---------- */
.t-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.t-role { padding: 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.t-role small { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; color: var(--orange); }
.t-role p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.t-role.cone { background: var(--navy); border-color: var(--navy); }
.t-role.cone small { color: var(--yellow); }
.t-role.cone p { color: var(--on-navy-dim); }
.t-role.cone p b { color: #fff; }

.t-compare { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; margin-top: clamp(36px, 5vw, 56px); }
.t-panel { padding: clamp(24px, 3.5vw, 36px); border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.t-panel h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
.t-panel h3 + p { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }
.t-legend { display: flex; gap: 16px; margin-top: 18px; font-size: 12.5px; color: var(--ink-soft); }
.t-legend span { display: inline-flex; align-items: center; gap: 7px; }
.t-legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--orange); }
.t-legend i.real { background: #b9c2d3; }
.t-bars { margin-top: 22px; display: grid; gap: 26px; }
.t-bar h4 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.t-bar .row { display: grid; grid-template-columns: 44px 1fr 56px; gap: 12px; align-items: center; margin-top: 10px; font-size: 13px; color: var(--ink-soft); }
.t-bar .t-track { position: relative; height: 16px; border-radius: 999px; background: var(--bg-panel); overflow: hidden; }
.t-bar .fill { position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-radius: 999px; background: var(--orange); transition: width 1.3s var(--ease); }
.t-bar .fill.real { background: #b9c2d3; }
.t-bar .val { font-family: var(--serif); font-size: 20px; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.t-bar .axis { display: flex; justify-content: space-between; margin: 6px 56px 0 56px; font-size: 11px; color: var(--muted); }
.t-bar.diverge .t-track { background: linear-gradient(90deg, var(--bg-panel) 50%, var(--bg-panel) 50%); }
.t-bar.diverge .t-track::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: var(--ink-soft); opacity: .35; }
.t-bar.diverge .fill { left: 50%; border-radius: 0 999px 999px 0; }
.reveal.in .t-bar .fill { width: var(--w); }
.t-bigstat { display: grid; gap: 14px; }
.t-bigstat > div { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 24px; border-radius: 18px; background: var(--navy); color: var(--on-navy-dim); }
.t-bigstat b { display: block; font-family: var(--serif); font-size: clamp(44px, 5vw, 60px); line-height: 1; color: #fff; font-weight: 500; }
.t-bigstat b em { font-style: italic; color: var(--orange); }
.t-bigstat > div > span { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.5; }

.t-spots { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.t-spots svg { width: 100%; height: auto; display: block; border-radius: 16px; background: #0f1627; }
.t-spots .t-tabs { margin-bottom: 14px; }
.t-spots .sp { transition: opacity .5s var(--ease), transform .5s var(--ease); transform-box: fill-box; transform-origin: center; }
.t-spots[data-view="real"] .sp.ar, .t-spots[data-view="ar"] .sp.real { opacity: 0; transform: scale(.4); }
.t-spots .gaze { transition: all .6s var(--ease); }
.t-spots-copy p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.t-spots-copy p + p { margin-top: 10px; }
.t-spots-copy .fine { font-size: 12.5px; color: var(--muted); }

.t-minion {
  margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  padding: clamp(28px, 4vw, 48px); border-radius: 26px; background: var(--yellow); color: #1b1606; position: relative; overflow: hidden;
}
.t-minion::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.25); }
.t-minion > * { position: relative; z-index: 1; }
.t-minion .versus { display: flex; align-items: flex-end; gap: 22px; }
.t-minion .versus div b { display: block; font-family: var(--serif); font-size: clamp(88px, 12vw, 150px); line-height: .8; letter-spacing: -0.05em; font-weight: 500; }
.t-minion .versus div span { display: block; margin-top: 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.t-minion .versus .vs { font-family: var(--serif); font-style: italic; font-size: 24px; padding-bottom: 36px; opacity: .6; }
.t-minion .versus div.small b { font-size: clamp(48px, 6vw, 72px); opacity: .55; }
.t-minion h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; color: #1b1606; }
.t-minion p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: #3a300b; }
.t-minion blockquote { margin-top: 16px; font-family: var(--serif); font-size: 20px; line-height: 1.4; }
.t-minion .pill { display: inline-flex; margin-top: 18px; padding: 8px 14px; border-radius: 999px; background: #1b1606; color: var(--yellow); font-size: 13px; font-weight: 700; }

.t-together { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.t-split { margin-top: 18px; display: flex; height: 58px; border-radius: 14px; overflow: hidden; font-size: 13px; font-weight: 700; }
.t-split > div { display: flex; align-items: center; justify-content: center; gap: 6px; color: #fff; transition: flex-grow 1.2s var(--ease); flex-grow: 1; flex-basis: 0; }
.t-split .cone { background: var(--orange); }
.t-split .avatar { background: #8f9bb3; }
.reveal.in .t-split .cone { flex-grow: 16; }
.reveal.in .t-split .avatar { flex-grow: 10; }
.t-split b { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.t-note { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--orange-soft); font-size: 14.5px; color: var(--ink); line-height: 1.55; }
.t-note b { color: var(--orange-deep); }

/* ---------- Chapter 3 ---------- */
.t-mechs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.t-mech { padding: 24px 22px; border-radius: 18px; background: var(--navy-2); border: 1px solid var(--navy-line); }
.t-mech svg { width: 44px; height: 44px; display: block; }
.t-mech small { display: block; margin-top: 18px; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; color: var(--orange); }
.t-mech h3 { margin-top: 6px; font-size: 18px; color: #fff; }
.t-mech p { margin-top: 8px; font-size: 14px; color: var(--on-navy-dim); line-height: 1.5; }
.t-sec.navy .t-quote { background: var(--navy-2); border-color: var(--navy-line); color: #fff; }
.t-sec.navy .t-quote cite { color: var(--on-navy-dim); }

.t-dial { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 20px; align-items: stretch; }
.t-settings {
  padding: 26px; border-radius: 22px; background: #0b1120; border: 1px solid var(--navy-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 30px 70px -40px rgba(0,0,0,.8);
}
.t-settings .ttl { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: .18em; color: var(--on-navy-dim); text-transform: uppercase; }
.t-settings .ttl span { color: var(--mint); letter-spacing: .06em; }
.t-set { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--navy-line); }
.t-set:last-of-type { border-bottom: none; }
.t-set label, .t-set .l { font-size: 15px; font-weight: 600; color: #fff; }
.t-set .l small { display: block; font-size: 12.5px; font-weight: 400; color: var(--on-navy-dim); margin-top: 2px; }
.t-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--navy-line); }
.t-seg button { height: 34px; min-width: 46px; border-radius: 999px; border: 0; background: transparent; color: var(--on-navy-dim); font: 700 14px var(--sans); cursor: pointer; }
.t-seg button[aria-pressed="true"] { background: var(--orange); color: #fff; }
.t-switch { position: relative; width: 56px; height: 32px; flex: 0 0 auto; }
.t-switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; z-index: 1; }
.t-switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,.14); transition: background .25s; }
.t-switch span::after { content: ""; position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.t-switch input:checked + span { background: var(--orange); }
.t-switch input:checked + span::after { transform: translateX(24px); }
.t-switch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(242,107,58,.45); }
.t-settings .hint { min-height: 20px; margin-top: 6px; font-size: 12.5px; color: var(--yellow); }
.t-outcome { position: relative; padding: 28px; border-radius: 22px; background: var(--paper); color: var(--ink); overflow: hidden; }
.t-outcome .mode { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-deep); }
.t-outcome h3 { margin-top: 8px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; color: var(--ink) !important; }
.t-outcome .win { margin-top: 12px; font-size: 17px; line-height: 1.5; color: var(--ink); }
.t-outcome .q { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-soft); }
.t-sec.navy .t-outcome .t-chip { background: var(--orange-soft); color: var(--orange-deep); }
.t-outcome.untested { background: #2a3350; color: #fff; }
.t-outcome.untested h3 { color: #fff !important; }
.t-outcome.untested .win, .t-outcome.untested .q { color: var(--on-navy-dim); }
.t-outcome.untested .mode { color: var(--yellow); }
.t-5050 { margin-top: 20px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.t-5050 .t-quote { font-size: 17px; }
.t-5050 .mid { font-family: var(--serif); font-size: 44px; color: var(--orange); text-align: center; line-height: 1; }
.t-5050 .mid small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-dim); margin-top: 6px; }

.t-honest { margin-top: clamp(48px, 7vw, 80px); }
.t-honest ul { margin-top: 18px; border-top: 1px solid var(--navy-line); }
.t-honest li { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--navy-line); font-size: 16px; color: #fff; }
.t-honest li span { font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255, 201, 51, .12); color: var(--yellow); white-space: nowrap; }
.t-honest .open { margin-top: 18px; font-family: var(--serif); font-size: clamp(20px, 2.3vw, 26px); color: #fff; }
.t-honest .open em { color: var(--orange); font-style: italic; }

/* ---------- Six rules ---------- */
.t-rules { background: var(--orange); color: #fff; }
.t-rules .t-chead h2, .t-rules .t-chead .eyebrow { color: #fff; }
.t-rules .t-chead .eyebrow::before { background: #fff; }
.t-rules .t-chead h2 em { color: var(--navy); }
.t-rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: rule; }
.t-rcard {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 250px;
  padding: 26px; border-radius: 22px; background: var(--navy); color: var(--on-navy-dim); scroll-margin-top: 150px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.t-rcard:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.t-rcard .n { font-family: var(--serif); font-size: 64px; line-height: .8; color: var(--orange); }
.t-rcard h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 2.1vw, 25px); line-height: 1.22; color: #fff; }
.t-rcard p { font-size: 14.5px; line-height: 1.55; }
.t-rcard .share {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; font: 600 12.5px var(--sans); cursor: pointer;
}
.t-rcard .share:hover { border-color: var(--orange); color: var(--orange); }
.t-rcard:target { box-shadow: 0 0 0 4px #fff; }
.t-closing {
  margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end;
}
.t-closing blockquote { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 46px); line-height: 1.15; color: #fff; letter-spacing: -0.01em; }
.t-closing blockquote em { font-style: italic; color: var(--navy); }
.t-closing .acts { display: flex; flex-direction: column; gap: 10px; }
.t-rules .btn { border-color: rgba(255,255,255,.5); color: #fff; }
.t-rules .btn:hover { background: #fff; color: var(--orange-deep); border-color: #fff; }
.t-rules .btn.solid { background: var(--navy); border-color: var(--navy); }
.t-rules .btn.solid:hover { background: #fff; color: var(--navy); }

/* ---------- Watch / resources ---------- */
.t-watch { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.t-watch .side { display: grid; gap: 20px; }
.t-soon {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--navy) url("../images/news/nzgdc-2023-lidar-talk.jpg") center 45% / cover no-repeat;
}
.t-soon::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,26,44,.15) 20%, rgba(18,26,44,.94) 85%); }
.t-soon div { position: absolute; left: 22px; right: 22px; bottom: 20px; color: #fff; }
.t-soon b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.t-soon span { display: block; margin-top: 6px; font-size: 14px; color: var(--on-navy-dim); }
.t-vcap { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); }
.t-vcap b { color: var(--ink); }

.t-res { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: start; }
.t-res > *, .t-watch > *, .t-fb > *, .t-compare > *, .t-dial > * { min-width: 0; }
.t-slides {
  position: relative; padding: 30px; border-radius: 22px; background: var(--navy); color: var(--on-navy-dim); overflow: hidden;
}
.t-slides::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 40px; background: var(--orange); opacity: .18; transform: rotate(18deg); }
.t-slides > * { position: relative; z-index: 1; }
.t-slides small { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; color: var(--yellow); text-transform: uppercase; }
.t-slides h3 { margin-top: 8px; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.8vw, 34px); color: #fff; line-height: 1.12; }
.t-slides p { margin-top: 10px; font-size: 15px; line-height: 1.55; }
.t-slides .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.t-slides .btn { color: #fff; border-color: rgba(255,255,255,.28); }
.t-slides .btn.t-btn-primary { border-color: var(--orange); }
.t-slides .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.t-reslist { display: grid; gap: 12px; margin-top: 20px; }
.t-resrow {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease);
}
.t-resrow:hover { border-color: var(--orange); transform: translateX(3px); }
.t-resrow .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-deep); font-weight: 800; font-size: 12px; letter-spacing: .04em; }
.t-resrow b { display: block; font-size: 15px; color: var(--ink); line-height: 1.35; }
.t-resrow small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.t-resrow .go { color: var(--orange); font-weight: 700; }
.t-papers .t-resrow .ic { background: var(--navy); color: #fff; font-size: 11px; }

/* ---------- Feedback / next ---------- */
.t-fb { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.t-fb .panel { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3.5vw, 36px); box-shadow: var(--shadow-sm); }
.t-fb .field input, .t-fb .field textarea { width: 100%; min-width: 0; }
.t-rate { display: flex; flex-wrap: wrap; gap: 8px; }
.t-rate label { position: relative; cursor: pointer; }
.t-rate input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.t-rate span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13.5px; font-weight: 600; color: var(--ink-soft); transition: all .2s; }
.t-rate input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.t-rate input:focus-visible + span { box-shadow: 0 0 0 3px var(--ring); }
.t-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.t-fb .t-consent input { flex: 0 0 auto; width: 18px; height: 18px; min-width: 0; padding: 0; margin-top: 2px; accent-color: var(--orange); }
.t-thanks { display: none; padding: 26px; border-radius: 20px; background: var(--navy); color: var(--on-navy-dim); }
.t-thanks h3 { color: #fff; font-family: var(--serif); font-weight: 500; font-size: 28px; }
.t-thanks p { margin-top: 8px; }
.t-thanks .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.t-thanks .btn { color: #fff; border-color: rgba(255,255,255,.3); }
.t-fb.is-done form { display: none; }
.t-fb.is-done .t-thanks { display: block; }
.t-qr-hello { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--orange-soft); font-size: 14.5px; color: var(--ink); }
.from-qr .t-qr-hello { display: block; }

.t-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.t-speaker { display: grid; grid-template-columns: 150px 1fr auto; gap: 28px; align-items: center; padding: 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); margin-top: 36px; }
.t-speaker img { width: 150px; height: 150px; object-fit: cover; object-position: center 22%; border-radius: 20px; background: #f4b8bf; }
.t-speaker h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.t-speaker p { margin-top: 6px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; max-width: 620px; }
.t-speaker .acts { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .t-mechs { grid-template-columns: repeat(2, 1fr); }
  .t-rules-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 940px) {
  .t-hero-grid, .t-modes, .t-compare, .t-spots, .t-minion, .t-together, .t-dial, .t-watch, .t-res, .t-fb, .t-study, .t-questions, .t-quotes { grid-template-columns: 1fr; }
  .t-window-stage { padding: 0 11%; max-width: 640px; margin-inline: auto; }
  .t-stats { grid-template-columns: 1fr 1fr; }
  .t-stats .t-stat:first-child { grid-column: 1 / -1; }
  .t-roles { grid-template-columns: 1fr; }
  .t-next { grid-template-columns: 1fr; }
  .t-speaker { grid-template-columns: 110px 1fr; }
  .t-speaker img { width: 110px; height: 110px; }
  .t-speaker .acts { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .t-closing { grid-template-columns: 1fr; }
  .t-closing .acts { flex-direction: row; flex-wrap: wrap; }
  .t-mode-view { max-height: 460px; margin-inline: auto; }
  .t-5050 { grid-template-columns: 1fr; }
  .t-chapters { top: 70px; }
}
@media (max-width: 640px) {
  .t-rules-grid, .t-mechs, .t-stats { grid-template-columns: 1fr; }
  .t-chead { grid-template-columns: 1fr; gap: 6px; }
  .t-cnum { font-size: 84px; }
  .t-window-stage { padding: 0 9%; }
  .t-shutter { width: 30%; border-width: 8px; }
  .t-window-frame { border-width: 9px; }
  .t-countdown .u { min-width: 54px; }
  .t-countdown .u b { font-size: 24px; }
  .t-countdown .lbl { display: none; }
  .t-meta > div { grid-template-columns: 78px 1fr; }
  .t-rule { grid-template-columns: 1fr; }
  .t-minion .versus div b { font-size: 92px; }
  .t-resrow { grid-template-columns: 38px 1fr; }
  .t-resrow .go { display: none; }
  .t-resrow .ic { width: 38px; height: 38px; }
  .t-honest li { grid-template-columns: 1fr; gap: 6px; }
  .t-honest li span { justify-self: start; }
  .t-slides .acts .btn { flex: 1 1 100%; }
  .t-speaker { grid-template-columns: 1fr; gap: 16px; }
  .t-speaker img { width: 96px; height: 96px; }
  .t-speaker h3 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .t-shutter, .t-bar .fill, .t-split > div, .t-mode-view .strip { transition: none !important; }
  .t-status[data-state="live"] i { animation: none; }
}
