/* ==========================================================================
   Saizen Acuity · Raj Jethwa · "Voice"
   White, and in Speechmatics' colours: deep petrol, emerald, a warm orange,
   and the four pastel cards (aqua, mint, peach, butter), with thin flowing
   contour lines as the motif. The page listens: the hero's contour lines
   are sound waves that ripple with a live caption of his line, the portrait
   sits in a voice ring, the career is a multitrack you can scrub, and the
   Speechmatics spotlight plays a call from speech to transcript to action.
   Type is the site's: Playfair Display SC headlines, Playfair Display,
   DM Sans and DM Mono.
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --bg-2: #FBFDFC;
  --bg-3: #F2F6F5;
  --ink: #102A31;
  --ink-2: #3E5258;
  --mut: #74868B;
  --ln: rgba(16, 42, 49, 0.09);
  --ln-2: rgba(16, 42, 49, 0.16);
  --petrol: #0D3C48;
  --petrol-2: #14505E;
  --emerald: #0A6F51;
  --teal: #1F7F95;
  --orange: #C66932;
  --aqua: #D9F3F6;
  --mint: #D6F4E5;
  --peach: #FFE0BA;
  --butter: #FFECB8;
  --gold: #E2AE36;

  --f-sc: 'Playfair Display SC', 'Playfair Display', Georgia, serif;
  --f-display: 'Playfair Display', Georgia, serif;
  --f-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.45, 0.64, 1);

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(96px, 12vw, 160px);
  --r: 14px;
  --e1: 0 1px 2px rgba(13, 60, 72, 0.06), 0 12px 32px -20px rgba(13, 60, 72, 0.28);
  --e2: 0 2px 6px rgba(13, 60, 72, 0.06), 0 30px 60px -30px rgba(13, 60, 72, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--mint); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
em, i { font-style: normal; }
.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; }
.wm { font-family: var(--f-sc); font-weight: 400; letter-spacing: 0.01em; }
.wm b { font-weight: 700; color: var(--gold); }
.led { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); flex: none; }
.led::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--emerald); animation: ping 2.2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(2.2); opacity: 0; } }

/* ── buttons: Speechmatics' squared petrol buttons ─────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 6px 0 22px; border-radius: 8px; font: 600 15px/1 var(--f-body); white-space: nowrap; transition: transform 0.45s var(--spring), background 0.3s, color 0.3s, box-shadow 0.3s; }
.btn__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; transition: transform 0.45s var(--spring), background 0.3s, color 0.3s; }
.btn__ico svg { width: 15px; height: 15px; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__ico { transform: rotate(45deg); }
.btn--em { color: #fff; background: var(--petrol); box-shadow: 0 14px 30px -14px rgba(13, 60, 72, 0.6); }
.btn--em:hover { background: var(--petrol-2); }
.btn--em .btn__ico { background: rgba(255, 255, 255, 0.12); }
.btn--line { color: var(--petrol); background: #fff; box-shadow: inset 0 0 0 1.5px var(--petrol); }
.btn--line .btn__ico { background: var(--aqua); }
.btn--line:hover { background: var(--bg-3); }

/* ── boot ───────────────────────────────────────────────────────────── */
.boot { display: none; }
.js .boot { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg-2); clip-path: inset(0 0 0 0); transition: clip-path 0.9s var(--ease-io); animation: bootFailsafe 0.01s 4.5s forwards; }
.boot.is-done { clip-path: inset(0 0 100% 0); }
.boot.is-gone { display: none; }
.boot.is-exit { clip-path: inset(0 0 0 0); animation: none; }
.boot.is-enter { clip-path: inset(100% 0 0 0); animation: none; transition: none; }
@keyframes bootFailsafe { to { visibility: hidden; } }
.boot__in { width: min(340px, 78vw); display: grid; gap: 14px; justify-items: center; text-align: center; }
.boot__wave { display: flex; align-items: center; gap: 4px; height: 44px; }
.boot__wave i { width: 4px; height: 100%; border-radius: 4px; background: var(--petrol); animation: wv 0.9s var(--ease-io) infinite alternate; }
.boot__wave i:nth-child(odd) { animation-delay: -0.3s; background: var(--teal); } .boot__wave i:nth-child(3n) { animation-delay: -0.6s; background: var(--emerald); }
.boot__wave i:nth-child(4) { animation-delay: -0.15s; background: var(--orange); }
@keyframes wv { from { transform: scaleY(0.15); } to { transform: scaleY(1); } }
.boot__line { font: 400 22px var(--f-display); color: var(--ink); }
.boot__bar { width: 100%; height: 3px; border-radius: 3px; background: var(--bg-3); overflow: hidden; }
.boot__bar i { display: block; height: 100%; background: var(--petrol); transform: scaleX(var(--p, 0)); transform-origin: left; }
.boot__meta { display: flex; justify-content: space-between; width: 100%; color: var(--mut); text-transform: none; letter-spacing: 0.04em; }

/* ── back ───────────────────────────────────────────────────────────── */
.back { position: fixed; z-index: 60; top: clamp(14px, 2.4vw, 26px); left: var(--gutter); height: 46px; padding: 0 18px 0 4px; gap: 10px; font: 500 14px/1 var(--f-body); color: var(--ink-2); background: rgba(255, 255, 255, 0.94); box-shadow: inset 0 0 0 1px var(--ln-2), var(--e1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.back .btn__ico { width: 38px; height: 38px; background: var(--bg-3); color: var(--petrol); }
.back:hover .btn__ico { transform: translateX(-3px); background: var(--petrol); color: #fff; }
.back .wm { color: var(--ink); font-size: 15px; }
.js .back { opacity: 0; transform: translateY(-12px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.is-live .back, html:not(.boot-pending) .back { opacity: 1; transform: none; }

/* ── rail ───────────────────────────────────────────────────────────── */
.bus { position: fixed; z-index: 40; right: clamp(16px, 2vw, 30px); top: 50%; transform: translateY(-50%); display: none; flex-direction: column; align-items: center; gap: 16px; pointer-events: none; }
@media (min-width: 1180px) { .bus { display: flex; } }
.bus__track { position: relative; width: 3px; height: 26vh; border-radius: 3px; background: var(--ln); overflow: hidden; }
.bus__fill { position: absolute; inset: 0; background: var(--petrol); transform: scaleY(var(--p, 0)); transform-origin: top; }
.bus__label { writing-mode: vertical-rl; display: flex; gap: 10px; color: var(--mut); font-size: 10px; }
.bus__ref { color: var(--petrol); font-weight: 500; }

/* ══ HERO ═══════════════════════════════════════════════════════════════ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; padding: clamp(100px, 13vh, 150px) 0 clamp(36px, 5vh, 56px); background: linear-gradient(180deg, var(--bg-2), #fff); }
.hero__photo { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; opacity: 0.72;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 70%); mask-image: linear-gradient(90deg, transparent 35%, #000 70%); }
.hero__board { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero:has(.hero__photo) .hero__board { opacity: 0.4; }
.hero__veil { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent 75%, #fff); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.hero__copy { position: relative; z-index: 3; }
.status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 16px 8px 14px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--ln-2), var(--e1); font-size: 14px; color: var(--mut); }
.status b { color: var(--ink); font-weight: 500; }
.status__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ln-2); }
.hero__name { margin: clamp(20px, 3vh, 30px) 0 clamp(16px, 2.2vh, 22px); font-family: var(--f-sc); font-weight: 400; font-size: clamp(62px, 8.6vw, 144px); line-height: 0.9; letter-spacing: -0.02em; color: var(--ink); }
.hero__l { display: block; white-space: nowrap; }
.hero__w { display: inline-block; }
.hero__w--em { color: var(--petrol); }
.hero__w .ch { display: inline-block; }
.js .hero__w .ch { opacity: 0; transform: scaleY(0.2); transform-origin: 50% 70%; }
.is-live .hero__w .ch { animation: chOn 0.9s var(--spring) forwards; animation-delay: calc(var(--i) * 60ms + var(--w, 0ms)); }
@keyframes chOn { 0% { opacity: 0; transform: scaleY(0.2); } 40% { opacity: 1; transform: scaleY(1.25); } 100% { opacity: 1; transform: none; } }

/* the live caption */
.caption { position: relative; max-width: 560px; padding: 14px 18px 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--ln), var(--e1); }
.caption::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--emerald); }
.caption__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--mut); font-size: 10px; text-transform: none; letter-spacing: 0.06em; }
.caption__sp { display: inline-flex; align-items: center; gap: 7px; color: var(--emerald); font-weight: 500; }
.caption__sp i { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); }
.caption__lang { padding: 1px 6px; border-radius: 6px; color: var(--orange); box-shadow: inset 0 0 0 1px rgba(198, 105, 50, 0.4); background: #FFF6EC; }
.caption__ms { margin-left: auto; color: var(--teal); }
.caption__txt { margin-top: 8px; min-height: 2.6em; font: italic 400 clamp(20px, 1.9vw, 27px)/1.3 var(--f-display); color: var(--ink); }
.caption__txt .w { transition: color 0.4s, background 0.4s; border-radius: 4px; }
.caption__txt .w.is-low { color: var(--mut); background: rgba(31, 127, 149, 0.08); }
.caption__txt .cur { display: inline-block; width: 2px; height: 0.95em; margin-left: 3px; vertical-align: -0.1em; background: var(--emerald); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__lead { margin-top: 22px; max-width: 34em; color: var(--ink-2); font-size: clamp(16.5px, 1.25vw, 18.5px); line-height: 1.65; }
.hero__lead b { color: var(--ink); font-weight: 600; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.js [data-boot] { opacity: 0; transform: translateY(16px); }
.is-live [data-boot] { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
html.js:not(.boot-pending):not(.is-live) [data-boot], html.js:not(.boot-pending):not(.is-live) .hero__w .ch, html.js:not(.boot-pending):not(.is-live) .voice__pkg { opacity: 1; transform: none; }

/* the voice ring */
.voice { position: relative; margin: 0; justify-self: center; width: min(480px, 100%); z-index: 1; }
.voice__pkg { position: relative; aspect-ratio: 1; }
.js .voice__pkg { opacity: 0; transform: scale(0.94); }
.is-live .voice__pkg { opacity: 1; transform: none; transition: opacity 1.1s var(--ease-out) 0.3s, transform 1.3s var(--spring) 0.3s; }
.voice__ring { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.voice__disc { position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #fff, var(--aqua) 80%); box-shadow: inset 0 0 0 1px rgba(31, 127, 149, 0.2), 0 30px 60px -30px rgba(13, 60, 72, 0.4); }
.voice__fig { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle closest-side at 50% 50%, #000 70%, transparent 70.4%), linear-gradient(#000 50%, transparent 50%); mask-image: radial-gradient(circle closest-side at 50% 50%, #000 70%, transparent 70.4%), linear-gradient(#000 50%, transparent 50%); }
.voice__fig img { position: absolute; left: 10%; bottom: 15%; width: 80%; height: auto; filter: drop-shadow(0 16px 24px rgba(13, 60, 72, 0.22)); }
.vtag { position: absolute; z-index: 3; display: grid; gap: 1px; padding: 9px 13px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--ln), var(--e2); }
.vtag .mono { font-size: 9px; color: var(--mut); }
.vtag b { font: 400 15px/1.2 var(--f-display); color: var(--ink); }
.vtag--a { right: -2%; top: 10%; background: var(--aqua); } .vtag--b { left: -8%; top: 52%; background: var(--mint); } .vtag--c { right: 0%; top: 78%; background: var(--peach); }
.vtag { animation: bob 5s var(--ease-io) infinite alternate; } .vtag--b { animation-delay: -1.7s; } .vtag--c { animation-delay: -3.4s; }
@keyframes bob { to { transform: translateY(-8px); } }
.cap { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 10px; color: var(--mut); font-size: 10px; }
.cap i { width: 16px; height: 1px; background: var(--ln-2); }

.readouts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 5vh, 64px); }
.ro { padding: 16px 18px 18px; border-radius: 12px; background: var(--c); }
.ro--a { --c: var(--aqua); } .ro--m { --c: var(--mint); } .ro--p { --c: var(--peach); } .ro--b { --c: var(--butter); }
.ro dt { font-size: 13px; color: var(--ink-2); line-height: 1.35; min-height: 2.7em; }
.ro dd { margin: 8px 0 0; font: 400 clamp(34px, 3.4vw, 52px)/1 var(--f-display); color: var(--petrol); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.ro dd small { font-size: 0.5em; margin: 0 0.04em; }

/* ══ SECTIONS ═══════════════════════════════════════════════════════════ */
.sec { position: relative; padding: var(--section) 0; overflow-x: clip; isolation: isolate; }
.tint { background: var(--bg-2); }
.tint::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-radial-gradient(ellipse at 110% -10%, transparent 0 46px, rgba(31, 127, 149, 0.06) 46px 47px); -webkit-mask-image: linear-gradient(90deg, transparent 50%, #000); mask-image: linear-gradient(90deg, transparent 50%, #000); }
.sh { margin-bottom: clamp(36px, 5vw, 60px); }
.sh__ref { display: flex; align-items: center; gap: 12px; color: var(--mut); margin-bottom: 18px; }
.sh__ref b { display: inline-grid; place-items: center; min-width: 36px; height: 26px; padding: 0 8px; border-radius: 6px; color: #fff; font-weight: 500; background: var(--petrol); }
.sh__ref i { flex: 1; max-width: 180px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 6c5 0 5-5 10-5s5 10 10 10 5-10 10-10 5 5 10 5' fill='none' stroke='%231F7F95' stroke-width='1.4'/%3E%3C/svg%3E") repeat-x left center / 40px 12px; transform-origin: left; }
.js .sh__ref i { transform: scaleX(0); transition: transform 1.2s var(--ease-out) 0.2s; }
.js .is-in .sh__ref i, .js .sh__ref.is-in i { transform: none; }
.sh__h { font: 400 clamp(40px, 5vw, 78px)/1 var(--f-sc); letter-spacing: -0.015em; max-width: 15em; }
.sh__h em { color: var(--emerald); }
.sh__sub { margin-top: 18px; max-width: 40em; color: var(--ink-2); font-size: 18px; }
.js .rv { opacity: 0; transform: translateY(24px); }
.js .rv.is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }

/* ── 01 about ───────────────────────────────────────────────────────── */
.bio__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr); gap: clamp(36px, 5vw, 88px); align-items: start; }
.bio__quote { margin: 0; font: 400 clamp(25px, 2.4vw, 36px)/1.36 var(--f-display); color: var(--ink); }
.bio__quote b { font-weight: 400; font-style: italic; color: var(--emerald); }
.bio__quote .w { transition: color 0.4s; }
.js .bio__quote.is-split .w { color: #C6D2D4; }
.js .bio__quote.is-split .w.on { color: var(--ink); }
.js .bio__quote.is-split b .w.on { color: var(--emerald); }
.js .bio__quote.is-split .w.tip { color: var(--orange); }
.sheet { position: sticky; top: 100px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--ln), var(--e1); overflow: hidden; }
.sheet__h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--petrol); color: #fff; }
.sheet__h .mono { color: rgba(255, 255, 255, 0.75); }
.sheet__wave { display: flex; align-items: center; gap: 3px; height: 16px; }
.sheet__wave i { width: 3px; height: 100%; border-radius: 3px; background: var(--mint); animation: wv 0.8s var(--ease-io) infinite alternate; }
.sheet__wave i:nth-child(2) { animation-delay: -0.3s; } .sheet__wave i:nth-child(3) { animation-delay: -0.55s; } .sheet__wave i:nth-child(4) { animation-delay: -0.15s; }
.sheet dl { margin: 0; padding: 4px 18px 8px; }
.sheet dl > div { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--ln); }
.sheet dl > div:last-child { border-bottom: 0; }
.sheet dt { color: var(--mut); font-size: 9.5px; padding-top: 3px; }
.sheet dd { margin: 0; font-size: 15px; line-height: 1.45; }
.focus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(48px, 6vw, 80px); }
.fc { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r); background: var(--c); box-shadow: inset 0 0 0 1px var(--cb); transition: transform 0.5s var(--ease-out), box-shadow 0.4s; }
.fc:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--cd), var(--e1); }
.fc--a { --c: var(--aqua); --cb: #B7E4EA; --cd: var(--teal); } .fc--m { --c: var(--mint); --cb: #B3E6CC; --cd: var(--emerald); }
.fc--p { --c: var(--peach); --cb: #F6C892; --cd: var(--orange); } .fc--b { --c: var(--butter); --cb: #F1D78A; --cd: #9A7413; }
.fc__tag { align-self: flex-start; padding: 2px 9px; border-radius: 6px; font-size: 12px; color: var(--cd); background: rgba(255, 255, 255, 0.6); }
.fc h3 { font: 400 22px/1.2 var(--f-display); }
.fc p:not(.fc__tag) { font-size: 14.5px; color: var(--ink-2); }
.fc__viz { margin-top: auto; padding-top: 10px; width: 100%; height: auto; overflow: visible; }
.fc__viz * { fill: none; stroke: var(--cd); stroke-width: 1.6; }
.fc__viz rect, .fc__viz circle { fill: rgba(255, 255, 255, 0.7); }
.fc__viz .me { fill: var(--cd); fill-opacity: 0.25; }
.fc__viz .dot { fill: var(--cd); stroke: none; animation: typing 1.2s infinite; }
.fc__viz .dot:nth-of-type(2) { animation-delay: 0.2s; } .fc__viz .dot:nth-of-type(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }
.fc__viz .flow { stroke-dasharray: 6 6; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }

/* ── 02 experience: the multitrack ──────────────────────────────────── */
.mt { border-radius: 16px; background: #0F2E37; color: #fff; box-shadow: var(--e2); overflow: hidden; }
.mt__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: #0B262E; }
.mt__play { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; cursor: pointer; color: var(--petrol); background: var(--mint); }
.mt__play svg { width: 18px; height: 18px; }
.mt__play .i-pause, .mt.is-playing .mt__play .i-play { display: none; }
.mt.is-playing .mt__play .i-pause { display: block; }
.mt__clock { display: flex; align-items: baseline; gap: 8px; color: rgba(255, 255, 255, 0.45); }
.mt__clock b { font: 400 22px var(--f-display); letter-spacing: 0; color: #fff; font-variant-numeric: tabular-nums; }
.mt__now { margin-left: auto; color: var(--mint); font-size: 10px; text-align: right; }
.mt__body { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.6fr); }
.mt__tracks { position: relative; padding: 10px 0 30px; cursor: ew-resize; touch-action: pan-y; user-select: none; }
.trk { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; height: 40px; }
.trk + .trk { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.trk__name { padding: 0 14px; font: 500 10px var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk__name i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 2px; background: var(--c); vertical-align: 1px; }
.trk__lane { position: relative; height: 100%; }
.clip { position: absolute; top: 6px; bottom: 6px; border-radius: 5px; background: color-mix(in srgb, var(--c) 22%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent); overflow: hidden; transition: background 0.3s, box-shadow 0.3s; }
.clip svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.clip svg path { fill: var(--c); opacity: 0.6; }
.clip.is-on { background: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: inset 0 0 0 1.5px var(--c), 0 0 18px -4px var(--c); }
.clip.is-on svg path { opacity: 1; }
.mt__ruler { position: absolute; left: 150px; right: 0; bottom: 6px; height: 18px; }
.mt__ruler span { position: absolute; transform: translateX(-50%); font: 500 9.5px var(--f-mono); color: rgba(255, 255, 255, 0.4); }
.mt__head { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--orange); box-shadow: 0 0 12px var(--orange); pointer-events: none; }
.mt__head::before { content: ''; position: absolute; top: 0; left: -6px; border: 7px solid transparent; border-top-color: var(--orange); }
.mt__gap { position: absolute; top: 0; bottom: 24px; display: grid; place-items: center; font: 500 9px var(--f-mono); letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.2); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 6px, transparent 6px 12px); pointer-events: none; }
.mt__card { padding: 20px; border-left: 1px solid rgba(255, 255, 255, 0.08); background: #12363F; }
.mt__when { color: var(--mint); }
.mt__co { margin-top: 8px; font: 400 26px/1.15 var(--f-display); }
.mt__role { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.mt__era { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 4px 10px; border-radius: 6px; font: 500 10px var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #0B262E; background: var(--c, var(--mint)); }
.mt__card.is-swap > * { animation: swap 0.4s var(--ease-out) both; }
@keyframes swap { from { opacity: 0.35; transform: translateY(4px); } }
.xps { display: grid; gap: 14px; margin-top: 22px; }
.xp { display: grid; grid-template-columns: minmax(0, 0.36fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); padding: clamp(22px, 2.6vw, 32px); border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--ln), var(--e1); }
.xp--sm { background: linear-gradient(135deg, var(--aqua), #fff 60%); box-shadow: inset 0 0 0 1px #B7E4EA, var(--e1); }
.xp__meta { display: flex; flex-direction: column; gap: 8px; }
.xp__when { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--mut); }
.xp__when b { color: var(--ink); font-weight: 500; }
.xp__org { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font: 600 15px var(--f-body); color: var(--petrol); }
.xp__live { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 6px; font-size: 11.5px; color: var(--emerald); background: var(--mint); }
.xp__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); animation: blink 1.6s steps(2) infinite; }
.xp__role { font: 400 clamp(22px, 2.1vw, 28px)/1.18 var(--f-display); }
.xp__big { margin-top: auto; padding-top: 16px; display: grid; gap: 4px; border-top: 1px solid var(--ln); }
.xp__big b { font: 400 clamp(32px, 3.4vw, 48px)/1 var(--f-display); color: var(--petrol); }
.xp__big span { font-size: 14px; color: var(--mut); }
.star { margin: 0; display: grid; gap: 6px; }
.star__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: start; padding: 11px 14px; border-radius: 10px; background: var(--bg-3); }
.xp--sm .star__row { background: rgba(255, 255, 255, 0.75); }
.star dt { display: flex; align-items: center; gap: 10px; font: 500 10.5px var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mut); padding-top: 1px; }
.star dt i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font: 500 11px/1 var(--f-mono); color: #fff; background: var(--petrol); }
.star dd { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.star dd a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.star dd b { color: var(--ink); font-weight: 600; }
.star .star--r { background: var(--mint) !important; }
.star--r dt { color: var(--emerald); }
.star--r dt i { background: var(--emerald); }
.star--r dd { color: var(--ink); }

/* ── 03 speechmatics spotlight ──────────────────────────────────────── */
.sm { background: var(--petrol); color: #fff; }
.sm::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-radial-gradient(ellipse at -10% 120%, transparent 0 38px, rgba(214, 244, 229, 0.06) 38px 39px); }
.sm__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.14; mix-blend-mode: luminosity; }
.sm .sh__ref { color: rgba(255, 255, 255, 0.6); }
.sm .sh__ref b { color: var(--petrol); background: var(--mint); }
.sm .sh__h em { color: var(--mint); }
.sm__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(28px, 4vw, 70px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.sm__mark { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font: 600 22px var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.sm__mark svg { width: 26px; height: 26px; color: var(--mint); }
.sm__intro p { color: rgba(255, 255, 255, 0.78); font-size: 17px; }
.sm__intro b { color: #fff; }
.sm__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 20px 0 0; }
.sm__facts > div { padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.sm__facts dt { color: rgba(255, 255, 255, 0.5); font-size: 9.5px; }
.sm__facts dd { margin: 6px 0 0; font: 400 20px/1.15 var(--f-display); color: #fff; }
.demo { display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.demo__side { display: flex; flex-direction: column; gap: 10px; padding: 6px; }
.demo__k { color: var(--mut); font-size: 10px; font-weight: 500; }
.demo__scen { display: grid; gap: 6px; }
.sc { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 999px; cursor: pointer; text-align: left; font: 500 14px var(--f-body); color: var(--ink-2); background: var(--bg-3); transition: background 0.3s, color 0.3s; }
.sc svg { width: 18px; height: 18px; flex: none; color: var(--teal); }
.sc.is-on { color: var(--ink); background: var(--aqua); box-shadow: inset 0 0 0 1px #B7E4EA; }
.demo__go { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; margin-top: 4px; border: 0; border-radius: 8px; cursor: pointer; font: 600 15px var(--f-body); color: #fff; background: var(--petrol); transition: background 0.3s; }
.demo__go:hover { background: var(--petrol-2); }
.demo__go svg { width: 18px; height: 18px; }
.demo.is-playing .demo__go { background: var(--orange); }
.demo__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: auto 0 0; }
.demo__stats > div { padding: 10px 12px; border-radius: 10px; background: var(--bg-3); }
.demo__stats dt { color: var(--mut); font-size: 9px; }
.demo__stats dd { margin: 4px 0 0; font: 400 24px/1 var(--f-display); color: var(--petrol); font-variant-numeric: tabular-nums; }
.demo__main { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; min-width: 0; padding: 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--ln); }
.demo__wave { width: 100%; height: 64px; }
.demo__tx { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; gap: 10px; min-height: 230px; }
.ln { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; animation: swap 0.35s var(--ease-out) both; }
.ln__who { display: grid; gap: 3px; align-content: start; font: 500 10px var(--f-mono); letter-spacing: 0.06em; color: var(--c); }
.ln__who span:last-child { color: var(--mut); }
.ln__txt { font-size: 16px; line-height: 1.55; color: var(--ink); }
.ln__txt .lang { display: inline-block; margin-right: 6px; padding: 0 5px; border-radius: 5px; font: 500 10px/1.6 var(--f-mono); color: var(--orange); box-shadow: inset 0 0 0 1px rgba(198, 105, 50, 0.4); background: #FFF6EC; vertical-align: 2px; }
.ln__txt .w { opacity: 0; transition: opacity 0.2s; }
.ln__txt .w.on { opacity: 1; }
.ln__txt .w.ent { padding: 0 3px; border-radius: 4px; background: var(--butter); }
.demo__act { padding-top: 10px; border-top: 1px dashed var(--ln-2); }
.demo__acts { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.demo__acts li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 8px; font-size: 13.5px; color: var(--ink-2); background: var(--bg-3); opacity: 0.4; transition: opacity 0.4s, background 0.4s, color 0.4s, transform 0.5s var(--spring); }
.demo__acts li i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--mut); }
.demo__acts li.is-on { opacity: 1; color: var(--ink); background: var(--mint); transform: translateY(-2px); }
.demo__acts li.is-on i { box-shadow: none; background: var(--emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.sm__note { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }

/* ── 04 ventures ────────────────────────────────────────────────────── */
.vg { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 16px; }
.vc { position: relative; overflow: hidden; border-radius: 16px; box-shadow: var(--e1); }
.vc--rec { background: var(--aqua); }
.vc--nex { background: var(--peach); }
.vc__img { display: block; width: 100%; height: auto; aspect-ratio: 2752 / 1536; object-fit: cover; }
.vc__in { padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 12px; }
.vc__tag { color: var(--petrol); font-size: 10px; }
.vc--nex .vc__tag { color: #8A4416; }
.vc h3 { font: 400 clamp(28px, 2.8vw, 40px)/1.1 var(--f-display); }
.vc p { color: var(--ink-2); font-size: 15.5px; }
.uses { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.uses .mono { font-size: 10px; color: var(--petrol); margin-bottom: 8px; }
.uses ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.uses li { padding: 5px 10px; border-radius: 999px; font-size: 13px; background: rgba(255, 255, 255, 0.75); box-shadow: inset 0 0 0 1px #B7E4EA; }
.pv { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 10px; align-items: center; margin-top: 6px; }
.pv > div:not(.pv__arrow) { padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.7); }
.pv .mono { font-size: 9.5px; color: #8A4416; margin-bottom: 6px; }
.pv p:not(.mono) { font-size: 14.5px; }
.pv__s { box-shadow: inset 0 0 0 1.5px var(--orange); }
.pv__arrow { color: var(--orange); }
.pv__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pv__chips span { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; background: var(--orange); }

/* ── 05 credentials ─────────────────────────────────────────────────── */
.cg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cc { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--r); background: var(--c); box-shadow: inset 0 0 0 1px var(--cb); }
.cc--a { --c: var(--aqua); --cb: #B7E4EA; } .cc--m { --c: var(--mint); --cb: #B3E6CC; } .cc--p { --c: var(--peach); --cb: #F6C892; } .cc--b { --c: var(--butter); --cb: #F1D78A; } .cc--w { --c: #fff; --cb: var(--ln-2); }
.cc__k { color: var(--petrol); font-size: 10px; }
.cc h3 { font: 400 clamp(24px, 2.2vw, 32px)/1.15 var(--f-display); }
.cc p:not(.cc__k) { color: var(--ink-2); font-size: 15px; }

/* ══ CLOSE ═════════════════════════════════════════════════════════════ */
.close { position: relative; padding: var(--section) 0 36px; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #fff, var(--aqua)); }
.close__photo { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: clamp(420px, 52vw, 760px); object-fit: cover; object-position: 50% 80%; opacity: 0.55;
  -webkit-mask-image: linear-gradient(transparent, #000 55%); mask-image: linear-gradient(transparent, #000 55%); }
.close__h { font: 400 clamp(48px, 7vw, 116px)/0.96 var(--f-sc); letter-spacing: -0.015em; max-width: 11em; }
.close__h em { color: var(--emerald); }
.close__sub { margin-top: 20px; max-width: 36em; color: var(--ink-2); font-size: 18px; }
.links { display: grid; margin-top: clamp(40px, 6vw, 70px); padding: 0 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.78); border-top: 1px solid var(--ln-2); }
.links a { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: clamp(18px, 2.2vw, 26px) 4px; border-bottom: 1px solid var(--ln-2); }
.links span { color: var(--mut); }
.links b { font: 400 clamp(22px, 3vw, 42px)/1.1 var(--f-display); overflow-wrap: anywhere; transition: transform 0.5s var(--spring), color 0.3s; }
.links i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; color: #fff; background: var(--petrol); font-size: 17px; transition: transform 0.45s var(--spring), background 0.3s; }
.links a:hover b { transform: translateX(10px); color: var(--petrol); }
.links a:hover i { transform: rotate(45deg); background: var(--emerald); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; margin-top: clamp(56px, 8vw, 100px); color: var(--mut); }
.foot__brand { display: inline-flex; align-items: center; gap: 12px; }
.foot__brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px rgba(23, 19, 14, 0.18); }
.foot__brand .wm { font-size: 22px; color: var(--ink); }
.foot .mono { font-size: 10px; }

/* ══ RESPONSIVE ═════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .readouts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .focus { grid-template-columns: 1fr 1fr; }
  .mt__body { grid-template-columns: 1fr; }
  .mt__card { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .xp { grid-template-columns: 1fr; }
  .xp__big { margin-top: 4px; }
  .sm__head { grid-template-columns: 1fr; }
  .demo { grid-template-columns: 1fr; }
  .demo__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vg { grid-template-columns: 1fr; }
  .cg { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { object-position: 80% 50%; opacity: 0.5; -webkit-mask-image: linear-gradient(180deg, transparent 35%, #000 65%, transparent 95%); mask-image: linear-gradient(180deg, transparent 35%, #000 65%, transparent 95%); }
  .voice { width: min(400px, 88%); margin-top: 6px; }
  .bio__grid { grid-template-columns: 1fr; }
  .sheet { position: relative; top: 0; }
  .trk { grid-template-columns: 96px minmax(0, 1fr); }
  .trk__name { font-size: 8.5px; padding: 0 8px; }
  .mt__ruler { left: 96px; }
}
@media (max-width: 640px) {
  .close__photo { opacity: 0.35; }
  .hero__name { font-size: clamp(58px, 18vw, 92px); }
  .readouts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ro:last-child { grid-column: 1 / -1; }
  .vtag { padding: 7px 10px; } .vtag b { font-size: 13px; }
  .vtag--b { left: -2%; }
  .focus, .cg { grid-template-columns: 1fr; }
  .star__row { grid-template-columns: 1fr; gap: 6px; }
  .sm__facts, .demo__stats { grid-template-columns: 1fr 1fr; }
  .ln { grid-template-columns: 1fr; gap: 4px; }
  .ln__who { display: flex; gap: 10px; }
  .uses { grid-template-columns: 1fr; }
  .pv { grid-template-columns: 1fr; }
  .pv__arrow { transform: rotate(90deg); justify-self: center; }
  .back { height: 42px; font-size: 13px; padding-right: 14px; }
  .back .btn__ico { width: 34px; height: 34px; }
  .links a { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; }
  .links span, .links b { grid-column: 1; }
  .links b { font-size: clamp(18px, 5vw, 22px); }
  .links i { grid-column: 2; grid-row: 1 / span 2; width: 42px; height: 42px; }
  .close__h { font-size: clamp(40px, 12vw, 64px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; transition-delay: 0s !important; }
}

/* ══ MOBILE (≤640px only; desktop untouched) ═════════════════════════════ */
@media (max-width: 640px) {
  /* back: a compact icon button, so it never sits over headings */
  .back { height: 44px; padding: 0 3px; gap: 0; }
  .back .btn__ico { width: 38px; height: 38px; }
  .back__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* multitrack: track names wrap onto two lines instead of truncating */
  .trk { grid-template-columns: 112px minmax(0, 1fr); height: 44px; }
  .trk__name { padding: 0 8px 0 10px; font-size: 9px; letter-spacing: 0.04em; line-height: 1.2; white-space: normal; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  /* close: the waves sit under the footer, not behind the wordmark */
  .close { padding-bottom: 200px; }
  .close__photo { height: 240px; -webkit-mask-image: linear-gradient(transparent, #000 40%); mask-image: linear-gradient(transparent, #000 40%); }
}
