/* ==========================================================================
   Project 01 · Huawei Tech Arena 2026 (team of seven, 2nd place). An interactive recap: every section leads with a
   visual. Black and white like the rest of the site, with gold for "us" and highlights, teal and sky as supporting
   chart colours, and greys for everyone and everything else. The deck's violet only appears inside the slide images.
   ========================================================================== */

.ta { --ta-silver: linear-gradient(140deg, #ffffff 0%, #d9d9d9 38%, #9c9c9c 62%, #e9e9e9 100%); }
.ta-k { display: block; font: 500 11px/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.ta-n { font: 500 12px/1 var(--mono); color: var(--gold); font-variant-numeric: tabular-nums; }

/* section heads, the same rhythm as the other project panels */
.ta-h { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; align-items: baseline; margin: 96px 0 22px; scroll-margin-top: 90px; }
.ta-h h4 { margin: 0; font: 600 clamp(24px, 2.8vw, 34px)/1.1 var(--font); letter-spacing: -0.04em; }
.ta-h p { grid-column: 2; margin: 0; max-width: 720px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }

/* ---------- 0 · hero ---------- */
.ta-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(22px, 4vw, 52px); align-items: center; margin: 8px 0 18px; }
.ta-eyebrow { margin: 0 0 18px; font: 500 11.5px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.ta-hl { margin: 0; font: 600 clamp(40px, 5.6vw, 76px)/0.98 var(--font); letter-spacing: -0.055em; color: var(--ink); }
.ta-hl span { display: block; font-weight: 300; color: #8f8f8f; }
.ta-sub { max-width: 520px; margin: 22px 0 26px; font: 300 clamp(17px, 1.6vw, 20px)/1.5 var(--font); letter-spacing: -0.012em; color: var(--ink-2); }
.ta-ticker { display: grid; gap: 8px; padding: 16px 0 18px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.ta-tick-num { font: 600 clamp(52px, 6.4vw, 84px)/0.9 var(--font); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--gold); }
.ta-tick-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; }
.ta-tick-steps li { padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 12px/1 var(--mono); color: var(--dim); transition: color var(--dur-2), border-color var(--dur-2), background-color var(--dur-2); }
.ta-tick-steps li.on { color: var(--ink); border-color: var(--line-3); }
.ta-tick-steps li.on:last-child { background: var(--gold); border-color: var(--gold); color: #000; }
.ta-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ta-cta .btn > svg:last-child { --nx: 0px; --ny: 3px; }
.ta-hero-photo { position: relative; margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); }
.ta-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ta-hero-photo figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; align-items: center; gap: 12px; width: fit-content; max-width: calc(100% - 28px);
  padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font: 500 13.5px/1.3 var(--font); color: var(--ink); }
.ta-medal { flex: none; display: inline-flex; align-items: flex-start; justify-content: center; width: 40px; height: 40px; padding-top: 7px; border-radius: 50%; background: var(--ta-silver); color: #111; font: 700 10px/1 var(--font); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.5); }
.ta-medal b { font-size: 20px; letter-spacing: -0.05em; margin-right: 1px; line-height: 1; }
.ta-prize { display: block; margin-top: 2px; font: 600 12px/1.2 var(--mono); letter-spacing: 0.06em; color: var(--gold); }

.ta-stats { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ta-stats li { display: flex; flex-direction: column; gap: 6px; padding: 22px 18px 4px 0; }
.ta-stats li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.ta-stats b { font: 600 clamp(32px, 3.6vw, 46px)/1 var(--font); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.ta-stats li > span { font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.ta-stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }

/* ---------- charts: shared frame ---------- */
.ta-chart { margin: 0; padding: clamp(18px, 2.2vw, 26px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); min-width: 0; }
.ta-ct { display: grid; gap: 6px; margin-bottom: 16px; }
.ta-ct > span:first-child { font: 600 17px/1.3 var(--font); letter-spacing: -0.02em; color: var(--ink); }
.ta-cc { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.ta-callout { margin: 0 0 14px; font-size: 15px; color: var(--ink-2); }
.ta-callout b { color: var(--ink); font-weight: 600; }
.ta-note { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.ta-svg { display: block; width: 100%; height: auto; overflow: visible; }
.ta-svg text { font: 500 12.5px/1 var(--font); fill: var(--muted); }
.ta-svg .ax.hl { fill: var(--gold-hi); font-weight: 600; }
.ta-svg .val { fill: var(--ink); font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
.ta-svg .val.big { font-size: 22px; letter-spacing: -0.03em; }
.ta-svg .grid { stroke: var(--line); stroke-width: 1; }
.ta-svg .grid.base { stroke: var(--line-3); }
.ta-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; padding: 0; font-size: 12.5px; color: var(--muted); }
.ta-legend li { display: inline-flex; align-items: center; gap: 7px; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.sw-1 { background: var(--gold); } .sw-2 { background: var(--c-teal); } .sw-3 { background: #2e2e2e; box-shadow: inset 0 0 0 1px var(--line-3); }
.sw-hatch { background: repeating-linear-gradient(45deg, #8a8a8a 0 2px, #262626 2px 5px); }
.ta-callout b { color: var(--gold-hi); }

/* growing bars: scale from their base once seen (the end state is the default, so nothing hides without JS) */
.ta-svg .hbar rect, .ta-svg .seg rect { transform-box: fill-box; transform-origin: 0 50%; }
.ta-svg .vbar rect { transform-box: fill-box; transform-origin: 50% 100%; }
.ta-svg:not(.grown) .hbar rect, .ta-svg:not(.grown) .seg rect { transform: scaleX(0); }
.ta-svg:not(.grown) .vbar rect { transform: scaleY(0); }
.ta-svg .hbar rect, .ta-svg .seg rect, .ta-svg .vbar rect { transition: transform 900ms var(--ease-out) calc(var(--i, 0) * 90ms); }
.ta-svg .hbar rect { fill: #5a5a5a; } .ta-svg .hbar.hl rect { fill: var(--gold); }
.ta-svg .vbar rect { fill: #5a5a5a; } .ta-svg .vbar.hl rect { fill: var(--gold); } .ta-svg .vbar.hatch rect { fill: url(#ta-hatch); stroke: #8a8a8a; stroke-width: 1; }
.ta-svg .seg.s1 rect { fill: var(--gold); } .ta-svg .seg.s2 rect { fill: var(--c-teal); } .ta-svg .seg.s3 rect { fill: #2e2e2e; stroke: var(--line-3); stroke-width: 1; }
.ta-svg .seg text { font-weight: 600; font-size: 12.5px; fill: #000; } .ta-svg .seg.s3 text { fill: var(--ink-2); }
.ta-svg:not(.grown) .seg text, .ta-svg:not(.grown) .val { opacity: 0; }
.ta-svg .seg text, .ta-svg .val { transition: opacity 400ms var(--ease-out) 500ms; }

/* the scores line draws itself in */
.ta-scores-svg .line { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1400ms var(--ease-out); }
.ta-scores-svg:not(.grown) .line { stroke-dashoffset: 1; }
.ta-scores-svg .pt circle { fill: #000; stroke: var(--gold); stroke-width: 2.4; transition: opacity 300ms calc(300ms + var(--i) * 300ms), transform 500ms var(--ease-spring) calc(300ms + var(--i) * 300ms); transform-box: fill-box; transform-origin: center; }
.ta-scores-svg .pt:last-of-type circle { fill: var(--gold); }
.ta-scores-svg:not(.grown) .pt circle { opacity: 0; transform: scale(0.3); }
.ta-scores-svg .pt .val { font-size: 14px; transition-delay: calc(400ms + var(--i) * 300ms); }
.ta-scores-svg .band { fill: rgba(79, 179, 162, 0.16); stroke: var(--c-teal); stroke-dasharray: 3 3; }
.ta-scores-svg .leader { stroke: #8a8a8a; stroke-width: 1.6; stroke-dasharray: 5 4; }
.ta-scores-svg .note { font-size: 12px; fill: var(--ink-2); }
.ta-scores-svg .xl { fill: var(--ink-2); }

/* the funnel (HTML bars) */
.ta-funnel { margin-top: 14px; }
.ta-fn-row { display: grid; grid-template-columns: minmax(130px, 220px) minmax(0, 1fr) 54px; align-items: center; gap: 14px; padding: 7px 0; }
.ta-fn-lab { font-size: 14px; color: var(--ink-2); }
.ta-fn-track { position: relative; height: 26px; border-radius: 6px; background: rgba(255, 255, 255, 0.03); }
.ta-fn-bar { position: absolute; inset: 0 auto 0 0; width: var(--w); min-width: 4px; border-radius: 6px; background: #5a5a5a; transform-origin: 0 50%; transition: transform 1000ms var(--ease-out); }
.ta-fn-bar.hl { background: var(--gold); }
.ta-funnel-bars:not(.grown) .ta-fn-bar { transform: scaleX(0); }
.ta-fn-val { text-align: right; font: 600 16px/1 var(--font); font-variant-numeric: tabular-nums; }
.ta-fn-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.ta-fn-foot b { color: var(--gold); font-weight: 600; }

/* ---------- 1 · the game ---------- */
.ta-game { margin: 0; padding: clamp(16px, 2.2vw, 26px); border: 1px solid var(--line); border-radius: 18px; background:
  radial-gradient(60% 70% at 50% 0%, rgba(255, 255, 255, 0.05), transparent 70%), var(--surface); }
.ta-game-stage { max-width: 760px; margin: 0 auto; }
.ta-game-svg { display: block; width: 100%; height: auto; overflow: visible; }
.ta-game-svg text { font: 600 12px/1 var(--font); }
.g-slate { fill: rgba(255, 255, 255, 0.02); stroke: var(--line-3); stroke-dasharray: 4 4; transition: opacity 400ms; }
.g-slate.dim { opacity: 0.35; }
.g-lab { fill: var(--dim); font: 500 10.5px/1 var(--mono) !important; letter-spacing: 0.12em; text-transform: uppercase; }
.g-user circle { fill: #151515; stroke: #fafafa; stroke-width: 1.6; }
.g-user .head { fill: #fafafa; stroke: none; }
.g-user .body { fill: none; stroke: #fafafa; stroke-width: 1.6; stroke-linecap: round; }
.g-noclick { fill: var(--ink); font: 600 12px/1 var(--mono) !important; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; }
.g-pick { fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.g-agent rect { fill: #121212; stroke: var(--line-3); stroke-width: 1.2; transition: fill 300ms, stroke 300ms; }
.g-agent .eye { fill: #6a6a6a; transition: fill 300ms; }
.g-agent.us rect { stroke: var(--gold); stroke-width: 1.8; }
.g-agent.us text:not(.g-credit) { fill: var(--gold); }
.g-agent.won rect { fill: var(--gold); stroke: var(--gold); }
.g-agent.won .eye { fill: #000; }
.g-agent.us.won text:not(.g-credit) { fill: #000; }
.g-credit { fill: var(--gold); opacity: 0; transition: opacity 300ms; }
.g-agent.won .g-credit { opacity: 1; }
.g-tile rect { fill: #1a1a1a; stroke: #6a6a6a; stroke-width: 1.2; transition: fill 250ms, stroke 250ms; }
.g-tile text { fill: var(--ink-2); }
.g-tile.us rect { stroke: var(--gold); stroke-width: 1.8; }
.g-tile.won rect { fill: var(--gold); stroke: var(--gold); }
.g-tile.won text { fill: #000; }
.g-count { fill: var(--muted); font-size: 10.5px !important; transition: opacity 300ms; }
.g-dup { fill: var(--gold); font: 500 11px/1 var(--mono) !important; letter-spacing: 0.08em; text-transform: uppercase; transition: opacity 300ms; }
.ta-game-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.ta-game-btns { display: flex; gap: 8px; }
.ta-game-btns .btn svg { width: 14px; height: 14px; }
.ta-game-out { flex: 1 1 260px; margin: 0; min-height: 1.5em; font-size: 14px; color: var(--ink); text-align: right; }
.ta-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; padding: 0; }
.ta-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); transition: color var(--dur-2), border-color var(--dur-2), background-color var(--dur-2); }
.ta-steps .ta-n { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--line-3); border-radius: 50%; }
.ta-steps li.on { color: var(--ink); border-color: var(--line-3); background: var(--surface-2); }
.ta-steps li.on .ta-n { background: var(--gold); color: #000; border-color: var(--gold); }

/* ---------- 2 · the journey ---------- */
.ta-tl { --hex: 58px; }
.ta-tl-nodes { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; --prog: 0; }
.ta-tl-nodes::before, .ta-tl-nodes::after { content: ""; position: absolute; top: calc(var(--hex) / 2); left: 10%; right: 10%; height: 1px; background: var(--line-3); }
.ta-tl-nodes::after { right: auto; width: calc(80% * var(--prog)); background: var(--gold); transition: width var(--dur-3) var(--ease-out); }
.ta-node { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; padding: 0 4px 12px; border: 0; background: none; color: var(--muted); font: inherit; cursor: pointer; border-radius: 12px; }
.ta-hex { display: block; width: var(--hex); height: var(--hex); }
.ta-hex svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ta-hex polygon { fill: #0a0a0a; stroke: var(--line-3); stroke-width: 1.4; transition: fill var(--dur-2), stroke var(--dur-2), transform var(--dur-3) var(--ease-spring); transform-origin: 28px 28px; }
.ta-hex g { stroke: var(--ink-2); transition: stroke var(--dur-2); color: var(--ink-2); }
.ta-node-t { font: 600 15px/1.2 var(--font); color: var(--ink-2); letter-spacing: -0.015em; }
.ta-node-s { font: 500 12px/1 var(--mono); color: var(--dim); font-variant-numeric: tabular-nums; }
.ta-node:hover .ta-hex polygon { stroke: #fafafa; }
.ta-node.done .ta-hex polygon { stroke: var(--gold); }
.ta-node[aria-selected="true"] .ta-hex polygon { fill: var(--gold); stroke: var(--gold); transform: scale(1.08); }
.ta-node[aria-selected="true"] .ta-hex g { stroke: #000; color: #000; }
.ta-node[aria-selected="true"] .ta-node-t { color: var(--ink); }
.ta-node[aria-selected="true"] .ta-node-s { color: var(--ink-2); }
.ta-node:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ta-tl-card { margin-top: 14px; padding: clamp(20px, 2.6vw, 30px); border: 1px solid var(--line-2); border-radius: 18px; background: var(--surface); }
.ta-tl-card:not([hidden]) { animation: ta-card-in var(--dur-3) var(--ease-out); }
@keyframes ta-card-in { from { opacity: 0; translate: 0 8px; } }
html.reduce-motion .ta-tl-card { animation: none; }
.ta-tl-when { margin: 0 0 16px; font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.ta-tl-dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; }
.ta-tl-dl > div { padding: 0 20px; border-left: 1px solid var(--line); }
.ta-tl-dl > div:first-child { padding-left: 0; border-left: 0; }
.ta-tl-dl dt { margin-bottom: 10px; font: 500 11px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.ta-tl-dl dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ta-tl-dl dd strong { color: var(--ink); font-weight: 600; }
.ta-tl-dl dd a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-3); }
.ta-tl-score { font: 600 clamp(26px, 2.8vw, 34px)/1.05 var(--font) !important; letter-spacing: -0.04em; color: var(--ink) !important; }
.ta-tl-score span { display: block; margin-top: 6px; font: 400 13.5px/1.4 var(--font); letter-spacing: 0; color: var(--muted); }

/* ---------- 3 / 4 · chart layouts ---------- */
.ta-insight { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.ta-insight-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }

/* ---------- 5 · mistakes ---------- */
.ta-mistakes { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.ta-mistakes li { position: relative; display: grid; align-content: start; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.ta-warn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(224, 122, 95, 0.5); color: var(--c-coral); background: rgba(224, 122, 95, 0.1); }
.ta-warn svg { width: 20px; height: 20px; }
.ta-badge { position: absolute; top: 22px; right: 22px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 11.5px/1 var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ta-mistakes h5 { margin: 8px 0 0; font: 600 17px/1.3 var(--font); letter-spacing: -0.02em; }
.ta-mistakes p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- 6 · the pitch ---------- */
.ta-deck { border: 1px solid var(--line-2); border-radius: 18px; background: var(--surface); padding: 12px; outline: none; }
.ta-deck:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ta-deck-stage { position: relative; border-radius: 10px; overflow: hidden; background: #27173a; aspect-ratio: 16 / 9; touch-action: pan-y; }
.ta-deck-img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.ta-deck-nav { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.55); color: #fff; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color var(--dur-1), color var(--dur-1); }
.ta-deck-nav:hover { background: #fff; color: #000; }
.ta-deck-nav svg { width: 20px; height: 20px; }
.ta-deck-nav.prev { left: 12px; } .ta-deck-nav.next { right: 12px; }
.ta-deck-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 14px 6px 4px; font-size: 14.5px; color: var(--ink-2); }
.ta-deck-count { font: 500 12px/1 var(--mono); color: var(--dim); font-variant-numeric: tabular-nums; }
.ta-deck-who { padding: 5px 10px; border-radius: 999px; background: var(--gold); color: #000; font: 600 12px/1 var(--font); }
.ta-deck-thumbs { display: flex; gap: 8px; margin-top: 10px; padding: 4px; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; }
.ta-deck-thumbs button { flex: none; width: 112px; padding: 0; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: 0.5; scroll-snap-align: center; transition: opacity var(--dur-2), border-color var(--dur-2); }
.ta-deck-thumbs button:hover { opacity: 0.85; }
.ta-deck-thumbs button.on { opacity: 1; border-color: var(--gold); }
.ta-deck-thumbs img { display: block; width: 100%; height: auto; }
.ta-deck-thumbs button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.ta-talk { margin-top: 26px; }
.ta-talk-bar { display: flex; gap: 4px; height: 56px; margin: 12px 0 16px; }
.ta-talk-seg { position: relative; flex: 0 0 auto; width: var(--w); display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 10px; overflow: hidden; min-width: 0;
  transform-origin: 0 50%; transition: transform 700ms var(--ease-out) calc(var(--i) * 120ms), opacity 400ms calc(var(--i) * 120ms); }
.ta-talk-bar:not(.grown) .ta-talk-seg { transform: scaleX(0.2); opacity: 0; }
.ta-talk-seg img { flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.ta-talk-seg em { font: 600 13px/1 var(--font); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-anish { background: var(--gold); color: #000; } .s-shaurya { background: var(--c-teal); color: #000; } .s-adarsh { background: var(--c-sky); color: #000; }
.ta-speakers { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.ta-speakers li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: start; }
.ta-speakers img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.ta-speakers li:nth-child(1) img { box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--gold); }
.ta-speakers li:nth-child(2) img { box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--c-teal); }
.ta-speakers li:nth-child(3) img { box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--c-sky); }
.ta-speakers b { display: block; font: 600 15px/1.3 var(--font); letter-spacing: -0.015em; }
.ta-speakers span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.ta-quote { margin: 64px auto 0; max-width: 900px; padding: 0; text-align: center; }
.ta-quote p { margin: 0; font: 300 clamp(26px, 3.4vw, 44px)/1.2 var(--font); letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }

/* ---------- 7 · how we worked ---------- */
.ta-flow-wrap { padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.ta-flow { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; counter-reset: f; }
.ta-flow li { position: relative; display: grid; align-content: start; justify-items: start; gap: 6px; font-size: 13px; color: var(--muted); }
.ta-flow li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 50px; right: -10px; height: 1px; background: linear-gradient(90deg, var(--line-3), var(--line-3) 85%, transparent); }
.ta-flow li:not(:last-child)::before { content: ""; position: absolute; top: 18px; right: -10px; width: 6px; height: 6px; border-top: 1px solid var(--line-3); border-right: 1px solid var(--line-3); rotate: 45deg; }
.ta-flow b { font: 600 14.5px/1.25 var(--font); color: var(--ink); letter-spacing: -0.01em; }
.ta-fi { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-3); background: #0a0a0a; color: var(--ink); }
.ta-fi svg { width: 20px; height: 20px; }
.ta-ship .ta-fi { background: var(--gold); color: #000; border-color: var(--gold); }
.ta-moon { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding: 10px 12px; border: 1px dashed var(--gold-lo); border-radius: 10px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.ta-moon svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.ta-mine { margin-top: 18px; padding: 20px 22px; border: 1px solid rgba(227, 181, 91, 0.45); border-radius: 16px; background: linear-gradient(120deg, var(--gold-soft), transparent 60%), var(--surface); }
.ta-mine p { margin: 10px 0 0; max-width: 820px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.ta-mine b { color: var(--gold-hi); }

/* ---------- 8 · team ---------- */
/* a centred wrap, so a short last row sits in the middle */
.ta-team { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 12px; margin: 0; padding: 0; --cols: 7; }
.ta-team li { flex: 0 0 calc((100% - (var(--cols) - 1) * 12px) / var(--cols)); min-width: 0; display: grid; justify-items: center; align-content: start; text-align: center; gap: 4px; }
.ta-team img { width: min(116px, 100%); aspect-ratio: 1; height: auto; border-radius: 50%; object-fit: cover; margin-bottom: 10px; box-shadow: 0 0 0 1px var(--line-2); filter: grayscale(0.15); transition: filter var(--dur-2), transform var(--dur-3) var(--ease-spring); }
.ta-team li:hover img { filter: none; transform: translateY(-3px); }
.ta-team .is-pres img { box-shadow: 0 0 0 3px #000, 0 0 0 5px var(--gold); }
.ta-team b { font: 600 14.5px/1.25 var(--font); letter-spacing: -0.015em; }
.ta-team span { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.ta-team .is-me b::after { content: " (me)"; font-weight: 400; color: var(--dim); }

/* ---------- 9 · gallery + lightbox ---------- */
.ta-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ta-gallery figure { margin: 0; min-width: 0; }
.ta-gallery button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); cursor: zoom-in; }
.ta-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 700ms var(--ease-out); }
.ta-gallery button:hover img { transform: scale(1.03); }
.ta-gallery button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ta-lightbox { width: min(1200px, 94vw); max-height: 94vh; padding: 0; border: 1px solid var(--line-2); border-radius: 16px; background: #050505; color: var(--ink); overflow: visible; }
.ta-lightbox::backdrop { background: rgba(0, 0, 0, 0.86); backdrop-filter: blur(6px); }
.ta-lightbox img { display: block; width: 100%; height: auto; max-height: 88vh; object-fit: contain; border-radius: 16px; }
.ta-lb-btn { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(0, 0, 0, 0.6); color: #fff; cursor: pointer; }
.ta-lb-btn:hover { background: #fff; color: #000; }
.ta-lb-btn svg { width: 20px; height: 20px; }
.ta-lb-btn.close { top: 10px; right: 10px; }
.ta-lb-btn.prev { top: 40%; left: 10px; } .ta-lb-btn.next { top: 40%; right: 10px; }

/* ---------- the plain-words summary ---------- */
.ta-sum { position: relative; margin-top: 72px; padding: clamp(24px, 3.4vw, 44px); border: 1px solid rgba(227, 181, 91, 0.45); border-radius: 22px; overflow: hidden;
  background: radial-gradient(80% 120% at 0% 0%, rgba(227, 181, 91, 0.13), transparent 60%), var(--surface); }
.ta-sum::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--gold-hi), var(--gold-lo)); }
.ta-sum h4 { margin: 12px 0 26px; font: 600 clamp(26px, 3.2vw, 40px)/1.1 var(--font); letter-spacing: -0.04em; color: var(--ink); }
.ta-sum-list { list-style: none; counter-reset: s; display: grid; gap: 0; margin: 0; padding: 0; max-width: 900px; }
.ta-sum-list li { counter-increment: s; position: relative; padding: 15px 0 15px 48px; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.ta-sum-list li::before { content: counter(s); position: absolute; left: 0; top: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold-lo); font: 600 12px/1 var(--mono); color: var(--gold); }
.ta-sum-list b { color: var(--ink); font-weight: 600; }
.ta-sum-list .ta-sum-hl { color: var(--gold); }
.ta-sum-moral { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font: 300 clamp(18px, 1.8vw, 22px)/1.45 var(--font); color: var(--ink); }

/* ---------- 10 / 11 · takeaways and thanks ---------- */
.ta-take { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.ta-take .ta-fi { color: var(--gold); border-color: rgba(227, 181, 91, 0.45); }
.ta-take li { display: grid; align-content: start; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.ta-take p { margin: 0; font: 500 17px/1.35 var(--font); letter-spacing: -0.02em; color: var(--ink); }
.ta-next { display: grid; gap: 8px; margin: 18px 0 0; padding: 18px 22px; border: 1px dashed var(--line-3); border-radius: 16px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.ta-thanks { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); }
.ta-thanks p { margin: 0; max-width: 640px; font: 300 clamp(18px, 1.8vw, 22px)/1.45 var(--font); color: var(--ink-2); }

/* ---------- the tiles (Projects grid + Selected work) ---------- */
.tile-techarena { grid-column: 1 / -1; }
.tile-techarena .tile-art { inset: 50px 28px 24px 42%; }
.tile-techarena .tile-info { right: 60%; }
.ta-tile-art { width: 100%; height: 100%; }
.ta-tile-art .grid { stroke: rgba(255, 255, 255, 0.07); }
.ta-tile-art .band { fill: rgba(255, 255, 255, 0.06); }
.ta-tile-art .lead { stroke: rgba(255, 255, 255, 0.35); stroke-dasharray: 5 5; stroke-width: 1.4; }
.ta-tile-art .ln { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linejoin: round; }
.ta-tile-art .area { fill: url(#ta-tile-fill); }
.ta-tile-art circle { fill: #000; stroke: var(--gold); stroke-width: 2.2; }
.ta-tile-art circle.last { fill: var(--gold); }
.ta-tile-art text { font: 600 15px/1 var(--font); fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.ta-tile-art text.last { fill: var(--gold); font-size: 18px; }
.ta-tile-art .hexes polygon { fill: none; stroke: rgba(255, 255, 255, 0.07); }
.feats .tile-techarena .tile-art { inset: 0; }
.feats .tile-techarena .tile-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: grayscale(1) contrast(1.05) brightness(0.8); transition: filter var(--dur-3); }
.feats .tile-techarena:hover .tile-art img { filter: grayscale(0.2) brightness(0.9); }
.feats .tile-techarena .tile-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 30%, rgba(0, 0, 0, 0.55) 62%, rgba(0, 0, 0, 0.92) 100%); }
.feats .tile-techarena .tile-info { right: 22px; }

/* the Projects grid with nine tiles: Tech Arena takes the first row, then Oikos + fin can, then two rows of three */
@media (min-width: 961px) {
  .tiles .tile-oikos { grid-column: span 5; }
  .tiles .tile-oikos .tile-art { inset: 66px 24px 122px; }
  .tiles .tile-oikos .tile-info { right: 22px; }
  .tiles .tile-fincan { grid-column: span 7; }
  .tiles .tile-v8, .tiles .tile-biking, .tiles .tile-tiktok { grid-column: span 4; }
}
/* Selected work on tablets: Oikos is now a half-width card, so its drawing sits above the text */
@media (min-width: 601px) and (max-width: 960px) {
  .feats .tile-oikos .tile-art { inset: 66px 24px 122px; }
  .feats .tile-oikos .tile-info { right: 22px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .ta-insight { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ta-insight > :last-child { grid-column: 1 / -1; }
  .ta-team { --cols: 4; }
  .ta-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .ta-flow li:nth-child(3)::after, .ta-flow li:nth-child(3)::before { display: none; }
  .ta-take { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ta-tl-dl { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .ta-tl-dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  .ta-hero { grid-template-columns: minmax(0, 1fr); }
  .ta-hero-photo { order: -1; }
  .tile-techarena .tile-art { inset: 64px 20px 118px; }
  .tile-techarena .tile-info { right: 20px; }
  .ta-mistakes, .ta-speakers { grid-template-columns: minmax(0, 1fr); }
  .ta-mistakes li { padding-right: 22px; }
}
@media (max-width: 700px) {
  .ta-h { grid-template-columns: minmax(0, 1fr); margin-top: 72px; }
  .ta-h p { grid-column: 1; }
  .ta-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ta-stats li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .ta-stats li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ta-stats li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ta-stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ta-stats-3 li:nth-child(3) { padding-left: 12px; border-left: 1px solid var(--line); border-top: 0; }
  .ta-stats-3 li { padding-right: 8px; }
  .ta-stats-3 li + li { padding-left: 12px; }
  .ta-insight, .ta-insight-2 { grid-template-columns: minmax(0, 1fr); }
  .ta-insight > :last-child { grid-column: auto; }
  .ta-steps { grid-template-columns: minmax(0, 1fr); }
  .ta-game-out { text-align: left; }
  /* the journey turns vertical: hexes in a column joined by a line, the card underneath */
  .ta-tl { --hex: 48px; }
  .ta-tl-nodes { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ta-tl-nodes::before, .ta-tl-nodes::after { top: 24px; bottom: 24px; left: 28px; right: auto; width: 1px; height: auto; }
  .ta-tl-nodes::after { bottom: auto; height: calc((100% - 48px) * var(--prog)); width: 1px; transition: height var(--dur-3) var(--ease-out); }
  .ta-node { grid-template-columns: var(--hex) minmax(0, 1fr) auto; justify-items: start; align-items: center; gap: 14px; padding: 2px 4px; text-align: left; }
  .ta-tl-dl { grid-template-columns: minmax(0, 1fr); }
  .ta-tl-dl > div, .ta-tl-dl > div:nth-child(3) { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .ta-tl-dl > div:first-child { padding-top: 0; border-top: 0; }
  .ta-flow { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .ta-flow li { grid-template-columns: 42px minmax(0, 1fr); align-items: center; column-gap: 14px; }
  .ta-flow li > b, .ta-flow li > span:not(.ta-fi):not(.ta-moon) { grid-column: 2; }
  .ta-flow li > .ta-fi { grid-row: span 2; }
  .ta-flow li .ta-moon { grid-column: 1 / -1; }
  .ta-flow li::after, .ta-flow li::before { display: none; }
  .ta-team { --cols: 3; }
  .ta-gallery { grid-template-columns: minmax(0, 1fr); }
  .ta-take { grid-template-columns: minmax(0, 1fr); }
  .ta-fn-row { grid-template-columns: minmax(0, 1fr) 48px; row-gap: 6px; }
  .ta-fn-lab { grid-column: 1 / -1; }
  .ta-talk-seg em { display: none; }
  .ta-deck { padding: 8px; }
  .ta-deck-nav { width: 36px; height: 36px; }
  .ta-deck-nav.prev { left: 6px; } .ta-deck-nav.next { right: 6px; }
  .ta-deck-thumbs button { width: 84px; }
  .tile-techarena .tile-art { inset: 78px 22px 112px; }
}
html.reduce-motion .ta-team li:hover img, html.reduce-motion .ta-gallery button:hover img { transform: none; }
