/* Samverse AI — "The Record". Three fields switched with hard cuts: Ink, Carbon, Paper. */
:root {
  --ink: #0b0d12;
  --ink-2: #141821;
  --carbon: #1f2dd6;
  --carbon-deep: #1621a6;
  --paper: #eef0f4;
  --paper-2: #e2e5ec;
  --azure: #93a0ff;          /* the agent's voice on ink */
  --red: #ff7a6b;            /* a missed call, the only warning colour */
  --pad: clamp(20px, 4.4vw, 76px);
  --sec: clamp(96px, 15vh, 180px);
  --nav-h: 72px;
  --r: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { background: var(--ink); color: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scrollbar-color: #2b3140 var(--ink); }
body { margin: 0; font: 400 1rem/1.6 var(--display); font-stretch: 100%; background: var(--ink); overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body.at-door { overflow: hidden; }
::selection { background: var(--carbon); color: var(--paper); }
.field-paper ::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
img, video, canvas, svg { display: block; }
:focus-visible { outline: 2px solid var(--azure); outline-offset: 4px; border-radius: 6px; }
.field-paper :focus-visible { outline-color: var(--carbon); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 8px; }

/* fields */
.field-ink { background: var(--ink); color: var(--paper); --sub: rgba(238, 240, 244, .72); --hair: rgba(238, 240, 244, .14); }
.field-carbon { background: var(--carbon); color: var(--paper); --sub: rgba(238, 240, 244, .82); --hair: rgba(238, 240, 244, .24); }
.field-paper { background: var(--paper); color: var(--ink); --sub: rgba(11, 13, 18, .7); --hair: rgba(11, 13, 18, .14); }

/* type */
.display { margin: 0; font-family: var(--display); font-weight: 300; font-stretch: 112.5%; font-size: clamp(2.5rem, 5.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.h2 { margin: 0; font-family: var(--display); font-weight: 300; font-stretch: 112.5%; font-size: clamp(2.1rem, 4.1vw, 4.2rem); line-height: 1.04; letter-spacing: -.032em; text-wrap: balance; }
.lede { margin: 22px 0 0; color: var(--sub); font-size: clamp(1rem, 1.15vw, 1.16rem); line-height: 1.6; max-width: 46ch; }
.mono { font-family: var(--mono); font-size: .74rem; font-weight: 400; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.gate-word { display: inline-block; }

/* buttons: pills, one radius */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; font: 500 1rem/1 var(--display); font-stretch: 105%; text-decoration: none; cursor: pointer; border-radius: 999px; padding: 18px 30px; border: 1px solid transparent; transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .2s; }
.btn:active { transform: scale(.98); }
.btn--solid { background: var(--paper); color: var(--ink); }
.btn--solid:hover { background: var(--azure); }
.btn--paper { background: var(--paper); color: var(--carbon-deep); }
.btn--paper:hover { background: var(--ink); color: var(--paper); }
.btn--line { color: inherit; border-color: rgba(238, 240, 244, .32); background: transparent; }
.btn--line:hover { border-color: var(--paper); background: rgba(238, 240, 244, .07); }
.btn--quiet { color: inherit; background: transparent; padding-left: 8px; padding-right: 8px; text-decoration: underline; text-decoration-color: rgba(238, 240, 244, .4); }
.btn--quiet:hover { text-decoration-color: currentColor; }
.btn--sm { padding: 11px 20px; font-size: .92rem; }

/* the door: an incoming call */
.door { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--ink); overflow: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.door.is-gone { opacity: 0; visibility: hidden; }
.door__rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.door__rings i { position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(147, 160, 255, .5); animation: ring 3.6s cubic-bezier(.2, .6, .3, 1) infinite; opacity: 0; }
.door__rings i:nth-child(2) { animation-delay: 1.2s; }
.door__rings i:nth-child(3) { animation-delay: 2.4s; }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(5.2); opacity: 0; } }
.door__in { position: relative; text-align: center; padding: var(--pad); }
.door__title { margin: 0; font-weight: 300; font-stretch: 125%; font-size: clamp(3rem, 9vw, 8rem); line-height: 1; letter-spacing: -.045em; }
.door__note { margin: 18px 0 0; color: rgba(238, 240, 244, .62); }
.door__act { margin-top: 46px; display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.call { font: 500 1.05rem/1 var(--display); font-stretch: 105%; cursor: pointer; border-radius: 999px; border: 0; }
.call--answer { display: inline-flex; align-items: center; gap: 14px; padding: 8px 30px 8px 8px; background: var(--carbon); color: var(--paper); transition: background .4s var(--ease); }
.call--answer:hover { background: #2b3af0; }
.call__dot { width: 48px; height: 48px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; animation: wobble 1.6s ease-in-out infinite; }
.call__dot svg { width: 20px; height: 20px; fill: var(--carbon); }
@keyframes wobble { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-12deg); } 80% { transform: rotate(10deg); } 90% { transform: rotate(-6deg); } }
.call--quiet { background: none; color: rgba(238, 240, 244, .7); padding: 16px 18px; text-decoration: underline; text-decoration-color: rgba(238, 240, 244, .3); text-underline-offset: .25em; }
.call--quiet:hover { color: var(--paper); }
html:not(.js) .door { display: none; }

/* nav */
.nav { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--nav-h); padding: 0 var(--pad); display: flex; align-items: center; gap: 30px; color: var(--paper); transition: background .5s var(--ease), color .5s; }
.nav.is-solid { background: var(--ink); box-shadow: 0 1px 0 rgba(238, 240, 244, .1); }
.nav.on-paper { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 rgba(11, 13, 18, .1); }
.nav.on-paper .nav__links a, .nav.on-paper .snd, .nav.on-paper .replay { color: rgba(11, 13, 18, .7); }
.nav.on-paper .nav__links a:hover, .nav.on-paper .snd:hover { color: var(--ink); }
.nav.on-paper .btn--line { border-color: rgba(11, 13, 18, .3); }
.nav.on-paper .btn--line:hover { border-color: var(--ink); background: rgba(11, 13, 18, .05); }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; font-weight: 500; font-stretch: 112.5%; font-size: 1.06rem; letter-spacing: -.01em; }
.nav__mark { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--paper) 0 3px, transparent 3.5px), conic-gradient(from 0deg, var(--carbon), var(--azure), var(--carbon)); box-shadow: inset 0 0 0 1px rgba(238, 240, 244, .3); }
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; font-size: .94rem; color: rgba(238, 240, 244, .72); transition: color .3s; }
.nav__links a:hover { color: var(--paper); }
.snd { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: rgba(238, 240, 244, .72); font: 400 .78rem var(--mono); cursor: pointer; padding: 8px 2px; }
.snd:hover { color: var(--paper); }
.snd__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.snd__bars i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; }
.snd[aria-pressed="true"] .snd__bars i { animation: bar 1.1s ease-in-out infinite; }
.snd[aria-pressed="true"] .snd__bars i:nth-child(2) { animation-delay: -.3s; }
.snd[aria-pressed="true"] .snd__bars i:nth-child(3) { animation-delay: -.7s; }
.snd[aria-pressed="true"] .snd__bars i:nth-child(4) { animation-delay: -.5s; }
@keyframes bar { 0%, 100% { height: 3px; } 50% { height: 14px; } }

/* gates: one canvas per gate, over its stage */
.gate-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; }
/* the section after a word gate sits one screen up, under the zoom; the section above fades away as the colour lands,
   so the next one is already there: no empty screen between (sections stack top-down, set in app.js) */
.gate-src { isolation: isolate; }
.gate-next { margin-top: calc(var(--gov, 100vh) * -1); }
.gate-fade { opacity: var(--go, 1); }
.gate-gone { pointer-events: none; }

/* 1. hero */
.hero__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink); }
.hero__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: var(--ink); opacity: 0; pointer-events: none; }
.hero__word { font-kerning: none; position: absolute; z-index: 3; left: var(--pad); top: calc(var(--nav-h) + 4vh); margin: 0; font-weight: 800; font-stretch: 125%; font-size: clamp(5rem, 19vw, 21rem); line-height: .9; letter-spacing: -.05em; color: var(--paper); opacity: 0; }
.hero__copy { position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: clamp(40px, 8vh, 88px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 60px; align-items: end; opacity: 0; }
.hero__copy .display { grid-column: 1 / -1; max-width: 18ch; }
.hero__copy .lede { margin: 0; }
.hero__act { display: flex; gap: 12px; align-items: center; }
.hero__cc { position: absolute; z-index: 3; right: var(--pad); bottom: clamp(40px, 8vh, 88px); margin: 0; padding: 0; list-style: none; width: min(460px, 80vw); display: grid; gap: 12px; }
.hero__cc li { padding: 14px 18px; border-radius: var(--r); background: rgba(11, 13, 18, .86); border: 1px solid rgba(238, 240, 244, .12); font-size: 1rem; line-height: 1.45; }
.hero__cc li b { display: block; margin-bottom: 4px; font: 400 .72rem var(--mono); color: rgba(238, 240, 244, .6); }
.hero__cc li.is-agent b { color: var(--azure); }
.replay { display: none; align-items: center; gap: 8px; background: none; border: 0; color: rgba(238, 240, 244, .72); font: 400 .94rem var(--display); cursor: pointer; padding: 8px 2px; }
.replay svg { width: 15px; height: 15px; fill: currentColor; }
.replay:hover { color: var(--paper); }
body.hero-done .replay { display: inline-flex; }

/* 2. the evening: the same three hours, without Samverse and then with it */
.evening__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; padding: calc(var(--nav-h) + 4vh) var(--pad) 6vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); grid-template-rows: auto minmax(0, 1fr); gap: 4vh 5vw; }
.evening__head { grid-column: 1; position: relative; }
.ev-states, .evening__film figcaption { display: grid; }
.ev-states > div, .evening__film figcaption > span { grid-area: 1 / 1; }
.ev-states .lede { margin-top: 18px; max-width: 44ch; }
.ev-b { opacity: 0; }
.ev-switch { position: relative; display: inline-flex; margin: 0 0 24px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair); font-size: .92rem; font-weight: 500; }
.ev-switch span { position: relative; z-index: 1; padding: 9px 18px; color: var(--sub); white-space: nowrap; transition: color .45s var(--ease); }
.ev-switch span.is-on { color: var(--carbon); }
.ev-switch i { position: absolute; z-index: 0; left: 4px; top: 4px; bottom: 4px; width: 0; border-radius: 999px; background: var(--paper); transition: transform .55s var(--ease), width .55s var(--ease); }
.evening__film { grid-column: 1; grid-row: 2; position: relative; margin: 0; min-height: 220px; align-self: stretch; border-radius: var(--r); overflow: hidden; background: var(--carbon-deep); }
.evening__film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.evening__film figcaption { position: absolute; z-index: 1; left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 999px; background: rgba(11, 13, 18, .8); color: var(--paper); font-size: .92rem; }
.ev-list { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-width: 0; }
.ev-list__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 14px; color: var(--sub); font-size: .95rem; }
.ev-list__head .state { font-size: .78rem; padding: 7px 12px; }
.log { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.log li { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--hair); opacity: 0; transform: translateY(14px); }
.log li:last-child { border-bottom: 1px solid var(--hair); }
.log time { color: rgba(238, 240, 244, .72); white-space: nowrap; }
.log strong { display: block; font-weight: 500; font-size: 1rem; }
.log em { display: block; font-style: normal; font-size: .86rem; color: rgba(238, 240, 244, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.state { display: inline-flex; align-items: center; gap: 7px; font: 400 .72rem var(--mono); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.state--missed { color: var(--ink); background: var(--red); }
.state--live { color: var(--paper); background: rgba(147, 160, 255, .28); }
.state--live::before { animation: blink 1.2s ease-in-out infinite; }
.field-carbon .state--live { background: rgba(11, 13, 18, .35); }
.state--ringing { color: var(--paper); background: rgba(238, 240, 244, .12); }
.state--ringing::before { animation: blink .8s steps(2) infinite; }
.state--written { color: var(--carbon); background: var(--paper); }
.state--booked { color: var(--paper); background: var(--ink); }
@keyframes blink { 50% { opacity: .2; } }

/* 3. listen */
.listen { position: relative; height: 100vh; height: 100svh; min-height: 640px; padding: calc(var(--nav-h) + 3vh) var(--pad) 30px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.listen__cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.listen__top, .listen__foot { position: relative; z-index: 2; }
.listen__top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(30px, 6vw, 110px); align-items: start; }
.listen__ctl { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.play { display: inline-flex; align-items: center; gap: 14px; background: var(--paper); color: var(--ink); border: 0; border-radius: 999px; padding: 7px 28px 7px 7px; font: 500 1rem var(--display); font-stretch: 105%; cursor: pointer; transition: background .4s var(--ease); }
.play:hover { background: var(--azure); }
.play__i { width: 46px; height: 46px; border-radius: 50%; background: var(--carbon); display: grid; place-items: center; }
.play svg { width: 15px; height: 15px; fill: var(--paper); }
.play__pause, .is-playing .play__go { display: none; }
.is-playing .play__pause { display: block; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--hair); border-radius: 999px; }
.seg button { background: none; border: 0; color: var(--sub); font: 400 .9rem var(--display); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: rgba(238, 240, 244, .12); color: var(--paper); }
.listen__foot { max-width: 900px; }
.who { display: flex; gap: 14px; margin: 0 0 12px; color: var(--sub); }
.who[data-s="agent"] #who-name { color: var(--azure); }
.line { margin: 0; min-height: 4.3em; max-width: 58ch; font-size: clamp(1.1rem, 1.6vw, 1.55rem); line-height: 1.42; letter-spacing: -.01em; }
.line span { opacity: .22; transition: opacity .3s; }
.line span.on { opacity: 1; }
.rail { height: 1px; background: var(--hair); margin-top: 24px; }
.rail i { display: block; height: 1px; background: var(--paper); transform-origin: left; transform: scaleX(0); }
.fields { margin: 0; }
.fields div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-top: 1px solid var(--hair); }
.fields dt { margin: 0; color: var(--sub); font: 400 .74rem/1.6 var(--mono); }
.fields dd { margin: 0; text-align: right; color: rgba(238, 240, 244, .3); transition: color .6s; }
.fields div.on dd { color: var(--paper); }
.fields div.on:last-child dd { color: var(--azure); }

/* 4. the record */
.record { padding: var(--sec) var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 560px); gap: clamp(40px, 8vw, 150px); align-items: center; min-height: 100vh; }
.sheet { background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(22px, 2.6vw, 36px); box-shadow: 0 34px 80px -34px rgba(11, 13, 18, .32), 0 2px 8px rgba(11, 13, 18, .06); }
.sheet__top { display: flex; justify-content: space-between; color: rgba(11, 13, 18, .55); }
.sheet__name { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; font-weight: 400; font-stretch: 112.5%; font-size: 1.7rem; letter-spacing: -.02em; }
.chip { font: 400 .72rem var(--mono); padding: 6px 11px; border-radius: 999px; letter-spacing: .02em; }
.chip--hot { background: var(--carbon); color: var(--paper); }
.sheet__role { margin: 4px 0 18px; color: rgba(11, 13, 18, .6); font-size: .94rem; }
.sheet__wave { height: 52px; margin-bottom: 8px; }
.sheet__wave canvas { width: 100%; height: 100%; }
.sheet__rows div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(11, 13, 18, .1); }
.sheet__rows dt { color: rgba(11, 13, 18, .55); padding-top: 3px; }
.sheet__rows dd { margin: 0; }
.sheet__next dd { color: var(--carbon); font-weight: 600; }
.sheet__foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.sheet__foot span { border: 1px solid rgba(11, 13, 18, .14); border-radius: 999px; padding: 7px 11px; color: rgba(11, 13, 18, .7); }

/* 5. agents: see "seven agents" below */

/* shared scene parts */
.big { font-weight: 300; font-stretch: 112.5%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: center; gap: 3px; height: 34px; }
.bars i { flex: 1; max-width: 4px; border-radius: 2px; background: var(--azure); height: 20%; }
.bars { justify-content: space-between; }

/* 7. languages */
.langs { padding: var(--sec) var(--pad); min-height: 90vh; display: grid; align-content: center; justify-items: start; }
.phrase { margin: clamp(50px, 9vh, 110px) 0 clamp(40px, 7vh, 80px); }
.phrase__t { margin: 0; font: 300 clamp(2rem, 5.4vw, 5.6rem)/1.2 var(--display), "Nirmala UI", "Noto Sans", sans-serif; letter-spacing: -.025em; color: var(--carbon); transition: opacity .45s, transform .6s var(--ease), filter .45s; }
.phrase__t.is-out { opacity: 0; transform: translateY(12px); filter: blur(6px); }
.phrase__l { margin: 18px 0 0; color: var(--sub); }

/* 8. steps */
.start { position: relative; padding: var(--sec) var(--pad); }
.steps { list-style: none; margin: 80px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.steps li { position: relative; padding-top: 34px; }
.steps li::before { content: ""; position: absolute; left: 0; top: -5px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1px solid var(--azure); }
.steps h3 { margin: 0; font-weight: 300; font-stretch: 112.5%; font-size: clamp(1.5rem, 2.2vw, 2.1rem); letter-spacing: -.02em; }
.steps p { margin: 12px 0 0; color: var(--sub); max-width: 30ch; }
.steps__line { position: absolute; left: var(--pad); right: var(--pad); top: calc(var(--sec) + clamp(2.1rem, 4.1vw, 4.2rem) * 1.04 + 80px); height: 1px; background: var(--hair); }
.steps__line i { display: block; height: 1px; background: var(--azure); transform-origin: left; transform: scaleX(0); }

/* 9. questions */
.faq { padding: 0 var(--pad) var(--sec); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(30px, 6vw, 110px); }
.qa details { border-top: 1px solid var(--hair); }
.qa details:last-child { border-bottom: 1px solid var(--hair); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 1.16rem; display: flex; justify-content: space-between; gap: 20px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; background: linear-gradient(currentColor, currentColor) center / 14px 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 14px no-repeat; opacity: .6; transition: transform .45s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0 0 24px; color: var(--sub); max-width: 64ch; }

/* 10. close */
.close { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: var(--sec) var(--pad) clamp(60px, 10vh, 110px); overflow: hidden; clip-path: inset(0); }
/* the closing footage is held still on the screen and the section slides over it, so the last word gate hands over without a seam */
.close__film { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.close__veil { position: fixed; inset: 0; background: var(--ink); opacity: .5; }
.close__in { position: relative; z-index: 2; }
.close__in .display { max-width: 16ch; }
.close__act { display: flex; align-items: center; gap: 30px; margin-top: 44px; flex-wrap: wrap; }
.hold { position: relative; width: 132px; height: 132px; border-radius: 50%; border: 0; background: rgba(11, 13, 18, .22); color: var(--paper); font: 500 1rem/1.2 var(--display); cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; transition: background .4s; }
.hold:hover { background: rgba(11, 13, 18, .36); }
.hold svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.hold circle { fill: none; stroke-width: 1.5; }
.hold__track { stroke: rgba(238, 240, 244, .35); }
.hold__fill { stroke: var(--paper); stroke-dasharray: 358.1; stroke-dashoffset: 358.1; }
.hold__help { margin: 0 0 14px; color: var(--sub); font-size: .92rem; }

/* footer */
.foot { padding: 46px var(--pad) 50px; border-top: 1px solid var(--hair); color: rgba(238, 240, 244, .62); font-size: .92rem; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--paper); }
.foot__top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); font-stretch: 112.5%; font-weight: 500; }
.foot__pages { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; }
.foot__small { margin: 28px 0 0; font-size: .8rem; color: rgba(238, 240, 244, .45); }

/* phones */
@media (max-width: 900px) {
  :root { --nav-h: 62px; }
  .nav { gap: 16px; }
  .nav__links, .snd__txt, .replay__txt { display: none; }
  .nav__brand { white-space: nowrap; }
  .hero__word { top: calc(var(--nav-h) + 9vh); font-size: 20.5vw; }
  .hero__copy .display { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .hero__copy { grid-template-columns: 1fr; bottom: 32px; }
  .hero__act { flex-wrap: wrap; }
  .hero__cc { left: var(--pad); right: var(--pad); width: auto; bottom: 34vh; }
  .evening__stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 3vh; padding-top: calc(var(--nav-h) + 2.5vh); padding-bottom: 3vh; }
  .ev-switch { margin-bottom: 16px; font-size: .8rem; } .ev-switch span { padding: 8px 13px; }
  .ev-states .lede { margin-top: 12px; font-size: .95rem; }
  .ev-list { grid-column: 1; grid-row: 2; align-self: start; }
  .ev-list__head { font-size: .85rem; margin-bottom: 8px; }
  .evening__film { display: none; }

  .log li { grid-template-columns: 62px minmax(0, 1fr) auto; padding: 9px 0; gap: 10px; }
  .log time { white-space: nowrap; }
  .log li:nth-child(n+6) { display: none; }
  .listen__top { grid-template-columns: 1fr; }
  .fields { display: none; }
  .record { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; margin-top: 50px; }
  .steps li { padding-top: 0; padding-left: 30px; }
  .steps li::before { top: 10px; }
  .steps__line { display: none; }
  .faq { grid-template-columns: 1fr; }
  .speed__btn { left: var(--pad); right: auto; }
  .speed__copy { bottom: 116px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* gate hosts */
.record, .langs, .faq, .agents__stage { position: relative; }

/* languages: one question set in nine scripts, the one being spoken lit */
.langs { display: block; min-height: 0; }
.langs__head { max-width: 1100px; }
.specimen { list-style: none; margin: clamp(48px, 8vh, 90px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.specimen li { padding: 22px 0 26px; border-top: 1px solid var(--hair); transition: color .5s var(--ease); color: rgba(11, 13, 18, .5); }
.specimen span { display: block; color: rgba(11, 13, 18, .62); margin-bottom: 10px; }
.specimen p { margin: 0; font-family: var(--display), "Nirmala UI", "Noto Sans", sans-serif; font-weight: 400; font-size: clamp(1.25rem, 1.9vw, 1.85rem); line-height: 1.35; letter-spacing: -.01em; }
.specimen li.is-on { color: var(--carbon); }
.specimen li.is-on span { color: var(--ink); }
@media (max-width: 900px) { .specimen { grid-template-columns: 1fr; } .specimen li { padding: 16px 0 18px; } }

/* hero: the agent's first words type under the word */
.hero__line { position: absolute; z-index: 3; left: var(--pad); top: calc(var(--nav-h) + 4vh + clamp(5rem, 19vw, 21rem) * .95); margin: 0; max-width: min(640px, 80vw); font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.45; color: var(--paper); opacity: 0; }
.hero__line b { display: block; margin-bottom: 4px; color: var(--azure); font-size: .74rem; font-weight: 400; }
/* the record arrives with its carbon copy underneath */
.sheet-wrap { position: relative; }
.sheet__copy { position: absolute; inset: 0; border-radius: var(--r); background: var(--carbon); transform: translate(22px, 52px) rotate(1.4deg); padding: clamp(22px, 2.6vw, 36px); overflow: hidden; color: rgba(238, 240, 244, .55); }
.sheet__copy * { color: inherit !important; background: none !important; box-shadow: none !important; border-color: rgba(238, 240, 244, .16) !important; }
.sheet__copy .sheet__wave { visibility: hidden; }
.sheet { position: relative; }
@media (max-width: 900px) {
  .hero__line { top: calc(var(--nav-h) + 9vh + 20.5vw * .95); font-size: 1rem; }
  .sheet__copy { transform: translate(10px, 40px) rotate(1deg); }
}

/* ---------- seven agents: a row of photo cards; the open one plays a call ---------- */
.agents__stage { display: flex; flex-direction: column; gap: clamp(18px, 3vh, 32px); height: 100vh; height: 100svh; min-height: 640px; padding: calc(var(--nav-h) + 4vh) var(--pad) 5vh; }
.agents__head { flex: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 48px; flex-wrap: wrap; }
.agents__head .h2 { font-size: clamp(1.9rem, 3.1vw, 3.1rem); }
.agents__head .lede { margin: 0; max-width: 38ch; }
.deck { flex: 1; min-height: 0; display: flex; gap: 10px; }
.ag { position: relative; flex: .62 1 0; min-width: 72px; border-radius: var(--r); overflow: hidden; background: var(--ink-2); transition: flex .75s cubic-bezier(.2, 1, .3, 1); }
.ag.is-on { flex: 3.3 1 0; }
.ag__img { position: absolute; inset: 0; background-size: cover; background-position: var(--fx, 50%) 30%; transform: scale(1.06); filter: grayscale(.5) brightness(.46); transition: transform .9s cubic-bezier(.2, 1, .3, 1), filter .75s cubic-bezier(.2, 1, .3, 1); }
.ag:hover .ag__img { filter: grayscale(.25) brightness(.6); }
.ag.is-on .ag__img { transform: none; filter: none; }
.ag__hit { position: absolute; inset: 0; z-index: 6; width: 100%; background: none; border: 0; padding: 0; cursor: pointer; border-radius: var(--r); }
.ag.is-on .ag__hit { pointer-events: none; }
.ag__idx { position: absolute; z-index: 4; left: 16px; top: 16px; padding: 6px 10px; border-radius: 999px; background: rgba(11, 13, 18, .72); color: var(--paper); }
.ag__idx i { font-style: normal; opacity: .55; }
.ag:not(.is-on) .ag__idx i { display: none; }
.ag__st { position: absolute; z-index: 4; right: 16px; top: 16px; opacity: 0; transition: opacity .3s; }
.ag.is-on .ag__st { opacity: 1; transition: opacity .4s .3s; }
.ag__st.state--ringing, .ag__st.state--live { background: rgba(11, 13, 18, .72); }
.ag__v { position: absolute; z-index: 3; left: 50%; bottom: 22px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); font-weight: 400; font-stretch: 112.5%; font-size: 1.2rem; letter-spacing: -.01em; white-space: nowrap; color: var(--paper); transition: opacity .3s; }
.ag.is-on .ag__v { opacity: 0; }
.ag__body { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; justify-content: flex-end; }
.ag__call { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 16px 16px; transition: opacity .25s; }
.ag:not(.is-on) .ag__call { opacity: 0; }
.ag__line, .ag__res { margin: 0; max-width: min(100%, 420px); padding: 10px 14px 11px; border-radius: var(--r); background: rgba(11, 13, 18, .88); color: var(--paper); font-size: .95rem; line-height: 1.4; }
.ag__line b, .ag__res b { display: block; margin-bottom: 3px; font: 400 .7rem var(--mono); color: rgba(238, 240, 244, .62); }
.ag__line--agent { align-self: flex-end; }
.ag__line--agent b { color: var(--azure); }
.ag__say { display: grid; }
.ag__say i { grid-area: 1 / 1; font-style: normal; }
.ag__say .ghost { visibility: hidden; }
.ag__res { background: var(--paper); color: var(--ink); font-weight: 500; }
.ag__res b { color: var(--carbon); }
.ag__band { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: end; padding: 18px 20px 20px; background: var(--ink-2); transform: translateY(101%); transition: transform .45s cubic-bezier(.2, 1, .3, 1); }
.ag.is-on .ag__band { transform: none; transition: transform .65s cubic-bezier(.2, 1, .3, 1) .12s; }
.ag__band h3 { grid-column: 1; margin: 0; font-weight: 300; font-stretch: 112.5%; font-size: clamp(1.7rem, 2.3vw, 2.3rem); line-height: 1; letter-spacing: -.03em; }
.ag__band p { grid-column: 1; margin: 0; color: var(--sub); font-size: .95rem; line-height: 1.45; max-width: 46ch; }
.ag__cta { grid-column: 2; grid-row: 1 / span 2; align-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; white-space: nowrap; transition: background .3s; }
.ag__cta:hover { background: var(--azure); }
.ag__cta svg { width: 14px; height: 14px; }

@media (max-width: 1100px) and (min-width: 900px) {
  .ag__band { grid-template-columns: 1fr; }
  .ag__cta { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
}
@media (max-width: 899px) {
  .agents__stage { height: auto; min-height: 0; padding-bottom: var(--sec); }
  .agents__head .lede { font-size: .98rem; }
  .deck { flex: none; flex-direction: column; gap: 16px; }
  .ag, .ag.is-on { flex: none; min-width: 0; }
  .ag__hit, .ag__v { display: none; }
  .ag__img { inset: 0 0 auto 0; height: min(125vw, 620px); transform: none; filter: none; }
  .ag__body { position: relative; inset: auto; }
  .ag__call { box-sizing: border-box; height: min(125vw, 620px); justify-content: flex-end; padding: 56px 12px 12px; gap: 6px; }
  .ag__line, .ag__res { font-size: .9rem; padding: 8px 12px 9px; }
  .ag__band { transform: none; grid-template-columns: 1fr; }
  .ag__cta { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
}
.hero__word .hl { display: inline-block; will-change: transform, opacity; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
