:root {
  --ink: #111312;
  --ink-soft: #202421;
  --cream: #f2eee5;
  --paper: #faf7f0;
  --coral: #df4c35;
  --coral-soft: #ef806d;
  --green: #3d9861;
  --green-light: #71d796;
  --acid: #ccf05e;
  --line-dark: rgba(17, 19, 18, .18);
  --line-light: rgba(255, 255, 255, .22);
  --font-display: "Helvetica Neue", "Arial Nova", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --deck-scale: 1;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body {
  background: #090a09;
  color: var(--cream);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
figure { margin: 0; }

.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--cream); color: var(--ink); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.chrome {
  position: fixed; inset: 0 0 auto 0; height: 68px; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 28px; color: var(--cream);
  background: linear-gradient(180deg, rgba(9,10,9,.82), rgba(9,10,9,.28) 72%, transparent);
}
.brand-mark { justify-self: start; display: flex; align-items: center; gap: 7px; border: 0; background: none; padding: 8px 0; cursor: pointer; font-weight: 900; letter-spacing: -.05em; font-size: 23px; }
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.chrome-center { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.chrome-center .current-label { opacity: .56; }
.chrome-right { justify-self: end; display: flex; align-items: center; gap: 12px; }
.chrome-actions { justify-self: end; display: flex; gap: 6px; }
.client-logo { width: 168px; height: 52px; border-radius: 7px; border: 1px solid rgba(255,255,255,.2); background-image: url("assets/otto-fleets.jpg"); background-size: 186px auto; background-position: center 50%; background-repeat: no-repeat; box-shadow: 0 9px 24px rgba(0,0,0,.23); }
.icon-btn { width: 34px; height: 34px; display: grid; place-items: center; background: rgba(9,10,9,.3); border: 1px solid rgba(255,255,255,.52); border-radius: 50%; cursor: pointer; font-family: var(--font-mono); font-size: 10px; backdrop-filter: blur(12px); }
.icon-btn svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.icon-btn:hover, .icon-btn:focus-visible { background: var(--cream); color: var(--ink); }

.deck { position: fixed; inset: 0; overflow: hidden; z-index: 1; }
.scene {
  position: absolute; width: 1440px; height: 810px; left: 50%; top: 50%;
  overflow: hidden; opacity: 0; visibility: hidden;
  transform-origin: center center;
  transform: translate(-50%, -47.5%) scale(var(--deck-scale));
  transition: opacity .48s ease, transform .82s cubic-bezier(.2,.75,.15,1), visibility 0s .82s;
}
.scene.is-active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(var(--deck-scale)); transition-delay: 0s; }
.scene-inner { width: 100%; height: 100%; padding: 102px 96px 76px; position: relative; z-index: 3; }
.tone-dark { background: var(--ink); color: var(--cream); }
.tone-cream { background: var(--cream); color: var(--ink); }
.tone-coral { background: var(--coral); color: #fff9ef; }
.tone-green { background: var(--green); color: #fffdf5; }

.kicker { margin: 0 0 20px; font-family: var(--font-mono); font-size: 12px; line-height: 1; letter-spacing: .16em; text-transform: uppercase; }
.kicker::before { content: ""; display: inline-block; width: 36px; height: 1px; background: currentColor; vertical-align: middle; margin: 0 13px 3px 0; }
.kicker span { opacity: .55; margin-left: 12px; }
.kicker-invert { color: rgba(255,255,255,.84); }
.display { font-size: 102px; letter-spacing: -.072em; line-height: .88; margin: 0; font-weight: 900; }
.headline { font-size: 72px; letter-spacing: -.064em; line-height: .92; margin: 0; font-weight: 870; }
.headline-accent { font-size: 49px; letter-spacing: -.052em; line-height: .96; color: var(--coral); font-weight: 850; margin: 8px 0 0; }
.headline-accent.green { color: var(--green-light); }
.body-copy { font-size: 20px; line-height: 1.45; margin: 24px 0 0; max-width: 520px; }

.reveal { opacity: 0; transform: translateY(30px); filter: blur(3px); }
.is-active .reveal { animation: text-enter .82s cubic-bezier(.16,.8,.2,1) forwards; animation-delay: var(--delay, 0ms); }
@keyframes text-enter { to { opacity: 1; transform: none; filter: none; } }
.visual-reveal { opacity: 0; clip-path: inset(8% 8% 8% 8%); }
.is-active .visual-reveal { animation: visual-enter 1.05s cubic-bezier(.16,.8,.2,1) forwards; animation-delay: var(--delay, 0ms); }
.visual-reveal img { transform: scale(1.055); }
.is-active .visual-reveal img { animation: visual-image 1.45s cubic-bezier(.16,.8,.2,1) forwards; animation-delay: var(--delay, 0ms); }
@keyframes visual-enter { to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes visual-image { to { transform: scale(1); } }

/* Cover */
.scene-cover { background: #0d100e; }
.cover-media { position: absolute; inset: 0 0 0 48%; z-index: 0; display: grid; grid-template-columns: 1.06fr .94fr; gap: 2px; overflow: hidden; }
.cover-panel { overflow: hidden; background: #252925; }
.cover-panel img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.04) brightness(.74); transform: scale(1.06); }
.is-active .cover-panel-a img { animation: cover-drift-a 13s ease-in-out infinite alternate; }
.is-active .cover-panel-b img { animation: cover-drift-b 15s ease-in-out infinite alternate; }
@keyframes cover-drift-a { to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes cover-drift-b { to { transform: scale(1.12) translate(1%, 1.5%); } }
.cover-wash { position: absolute; inset: 0; background: linear-gradient(90deg, #0d100e 0%, rgba(13,16,14,.98) 12%, rgba(13,16,14,.65) 45%, rgba(13,16,14,.16) 78%, rgba(13,16,14,.55)); }
.cover-layout { display: grid; grid-template-rows: auto 1fr auto; }
.cover-center { align-self: center; max-width: 735px; }
.cover-index { margin: 0 0 20px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .17em; color: var(--acid); }
.scene-cover .display { max-width: 8.5ch; }
.cover-footer { display: flex; justify-content: space-between; align-items: end; width: 760px; }
.cover-footer p { margin: 0; width: 500px; font-size: 22px; line-height: 1.35; }
.start-cue { display: flex; align-items: center; gap: 15px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.start-cue i { width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-style: normal; }

/* Shared imagery */
.art-frame { overflow: hidden; position: relative; background: #e6e0d5; border: 1px solid rgba(17,19,18,.12); box-shadow: 0 28px 65px rgba(17,19,18,.14); }
.art-frame img { width: 100%; height: 100%; object-fit: cover; }
.art-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.35); pointer-events: none; }

/* Who we are */
.visual-split { display: grid; grid-template-columns: 480px 1fr; gap: 70px; align-items: center; }
.visual-split .headline { font-size: 74px; }
.visual-split .headline-accent { font-size: 48px; }
.visual-split .body-copy { width: 440px; }
.ecosystem-art { width: 698px; height: 510px; }
.capability-legend { list-style: none; padding: 0; margin: 38px 0 0; display: flex; flex-wrap: wrap; gap: 0; width: 450px; border-top: 1px solid var(--line-dark); }
.capability-legend li { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; padding: 13px 22px 0 0; }
.capability-legend li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); margin: 0 8px 1px 0; }

/* Capabilities */
.capability-layout { display: grid; grid-template-columns: 535px 1fr; gap: 92px; align-items: center; }
.capability-head .headline { font-size: 67px; }
.capability-lines { border-bottom: 1px solid rgba(255,255,255,.34); }
.capability-row { display: grid; grid-template-columns: 52px 220px 1fr; gap: 18px; align-items: center; min-height: 148px; border-top: 1px solid rgba(255,255,255,.34); }
.capability-row > span { font-family: var(--font-mono); font-size: 11px; color: var(--acid); }
.capability-row h3 { margin: 0; font-size: 49px; line-height: 1; letter-spacing: -.05em; }
.capability-row p { margin: 0; font-size: 17px; line-height: 1.42; color: rgba(255,255,255,.82); max-width: 380px; }

/* Products */
.product-layout { display: grid; grid-template-columns: 430px 1fr; gap: 68px; align-items: center; }
.product-copy .headline { font-size: 74px; }
.product-copy .headline-accent { font-size: 45px; max-width: 390px; }
.product-copy .body-copy { width: 390px; }
.product-gallery { height: 530px; display: grid; grid-template-columns: 1.35fr .86fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.product-shot { min-width: 0; position: relative; overflow: hidden; background: var(--ink-soft); border: 1px solid rgba(255,255,255,.16); }
.product-shot-main { grid-row: 1 / 3; }
.product-shot img { width: 100%; height: 100%; object-fit: cover; }
.product-shot::after { content: ""; position: absolute; inset: 46% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.product-shot figcaption { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: flex; gap: 12px; align-items: end; color: #fff; }
.product-shot figcaption > span { font-family: var(--font-mono); font-size: 10px; opacity: .66; }
.product-shot figcaption b { display: block; font-size: 30px; letter-spacing: -.04em; line-height: 1; }
.product-shot-main figcaption b { font-size: 43px; }
.product-shot figcaption small { display: block; margin-top: 5px; font-size: 12px; opacity: .72; }

/* Cases */
.cases-layout { display: grid; grid-template-rows: 156px 1fr; gap: 20px; }
.cases-head { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; }
.cases-head .headline { font-size: 58px; max-width: 720px; }
.cases-head .body-copy { justify-self: end; margin: 0 0 4px; width: 420px; }
.case-showcase { min-height: 0; display: grid; grid-template-columns: 1.55fr .82fr; gap: 16px; }
.case-feature, .case-thumb { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #dcd7cd; border: 1px solid var(--line-dark); }
.case-feature { display: grid; grid-template-rows: minmax(0, 1fr) 64px; }
.case-rail { display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; min-height: 0; }
.case-thumb { display: grid; grid-template-columns: 1.25fr .75fr; }
.case-feature img, .case-thumb img { width: 100%; height: 100%; min-height: 0; object-fit: contain; background: #dfe4dd; }
.case-feature > img { grid-row: 1; }
.case-feature > figcaption { grid-row: 2; }
.case-feature figcaption, .case-thumb figcaption { background: var(--ink); color: var(--cream); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
.case-feature figcaption span, .case-thumb figcaption span { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; opacity: .66; }
.case-feature figcaption b { font-size: 27px; letter-spacing: -.03em; }
.case-thumb figcaption { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
.case-thumb figcaption b { font-size: 22px; letter-spacing: -.03em; }

/* Discovery */
.discovery-layout { display: grid; grid-template-rows: 232px 1fr; gap: 34px; }
.discovery-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 72px; align-items: end; }
.discovery-head .headline { font-size: 62px; max-width: 760px; }
.discovery-head .body-copy { margin: 0 0 6px; width: 390px; color: rgba(255,255,255,.8); }
.discovery-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); overflow: hidden; }
.discovery-flow::before { content: ""; position: absolute; z-index: 0; left: 0; top: -1px; width: 25%; height: 2px; background: var(--acid); transform: translateX(-110%); }
.is-active .discovery-flow::before { animation: discovery-line 1.45s .55s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes discovery-line { to { transform: translateX(400%); } }
.discovery-step { position: relative; z-index: 1; padding: 28px 28px 24px 0; display: grid; grid-template-rows: auto 1fr auto; }
.discovery-step + .discovery-step { border-left: 1px solid var(--line-light); padding-left: 28px; }
.discovery-step > span { font-family: var(--font-mono); font-size: 12px; color: var(--acid); }
.discovery-step h3 { align-self: center; margin: 0; font-size: 33px; line-height: 1; letter-spacing: -.045em; max-width: 9ch; }
.discovery-step p { margin: 0; font-size: 16px; line-height: 1.42; color: rgba(255,255,255,.76); max-width: 250px; }

.diagnostic-layout { display: grid; grid-template-columns: 420px 1fr; gap: 78px; align-items: center; }
.diagnostic-head .headline { font-size: 63px; max-width: 420px; }
.diagnostic-head .body-copy { width: 350px; color: rgba(255,255,255,.84); }
.diagnostic-questions { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.42); border-bottom: 1px solid rgba(255,255,255,.42); }
.diagnostic-question { min-height: 168px; padding: 24px 24px 20px 0; display: grid; grid-template-rows: auto 1fr; }
.diagnostic-question:nth-child(even) { border-left: 1px solid rgba(255,255,255,.42); padding-left: 28px; }
.diagnostic-question:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.42); }
.diagnostic-question span { font-family: var(--font-mono); font-size: 11px; color: var(--acid); }
.diagnostic-question h3 { align-self: end; margin: 0; font-size: 27px; line-height: 1.06; letter-spacing: -.035em; max-width: 13ch; }

/* First project */
.project-layout { display: grid; grid-template-columns: .92fr 1.08fr; grid-template-rows: 1fr 118px; gap: 36px 76px; align-items: center; }
.project-head .headline { font-size: 67px; max-width: 600px; }
.project-head .headline-accent { font-size: 45px; max-width: 600px; }
.project-contrast { border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); display: grid; grid-template-columns: 1fr 1fr; min-height: 370px; }
.project-contrast > div { padding: 28px 28px 24px; display: flex; flex-direction: column; justify-content: center; }
.project-contrast > div + div { border-left: 1px solid var(--line-light); background: var(--cream); color: var(--ink); }
.project-contrast span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--coral-soft); }
.project-contrast strong { font-size: 68px; line-height: .92; letter-spacing: -.06em; margin-top: 48px; }
.project-contrast p { margin: 16px 0 0; font-size: 17px; line-height: 1.4; }
.project-steps { grid-column: 1 / 3; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.step { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 10px; padding: 20px 20px 0 0; }
.step + .step { border-left: 1px solid var(--line-light); padding-left: 22px; }
.step span { font-family: var(--font-mono); font-size: 11px; color: var(--acid); }
.step b { font-size: 20px; letter-spacing: -.02em; }

/* Friction */
.friction-layout { display: grid; grid-template-rows: 225px 1fr 58px; }
.friction-head .headline { font-size: 65px; width: 950px; }
.friction-stream { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.36); border-bottom: 1px solid rgba(255,255,255,.36); }
.friction-item { padding: 30px 34px 25px 0; display: grid; grid-template-rows: auto 1fr auto; }
.friction-item + .friction-item { border-left: 1px solid rgba(255,255,255,.36); padding-left: 34px; }
.friction-item > span { font-family: var(--font-mono); font-size: 13px; color: var(--acid); }
.friction-item h3 { align-self: end; margin: 0 0 22px; font-size: 42px; line-height: .95; letter-spacing: -.05em; max-width: 9ch; }
.friction-item p { margin: 0; font-size: 17px; line-height: 1.42; color: rgba(255,255,255,.8); max-width: 330px; }
.evidence-row { display: flex; align-items: end; justify-content: space-between; }
.evidence-row p { margin: 0; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; opacity: .76; }
.evidence-row button { border: 0; background: none; cursor: pointer; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.evidence-row button span { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; margin-left: 8px; }

/* Pipeline */
.pipeline-layout { display: grid; grid-template-columns: 390px 1fr; gap: 56px; align-items: center; }
.pipeline-copy .headline { font-size: 64px; }
.pipeline-copy .body-copy { width: 360px; font-size: 18px; }
.human-note { margin-top: 38px; padding-left: 16px; border-left: 5px solid var(--coral); }
.human-note span, .human-note b { display: block; }
.human-note span { font-size: 15px; }
.human-note b { font-size: 26px; margin-top: 3px; }
.pipeline-visual { min-width: 0; }
.pipeline-visual .art-frame { width: 802px; height: 451px; }
.pipeline-labels { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pipeline-labels li { min-width: 0; border-top: 1px solid var(--line-dark); padding-top: 10px; }
.pipeline-labels span { display: block; font-family: var(--font-mono); font-size: 9px; color: var(--coral); margin-bottom: 6px; }
.pipeline-labels b { display: block; font-size: 14px; letter-spacing: -.02em; }
.is-active .pipeline-visual .art-frame::before { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; width: 110px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.48), transparent); transform: translateX(-140px) skewX(-12deg); animation: scan 2.2s .9s cubic-bezier(.3,.8,.2,1) both; pointer-events: none; }
@keyframes scan { to { transform: translateX(940px) skewX(-12deg); } }

/* Dossier */
.scene-dossier { background: #171918; }
.dossier-backdrop { position: absolute; inset: 0; z-index: 0; }
.dossier-backdrop img { width: 100%; height: 100%; object-fit: cover; }
.dossier-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(17,19,18,.99) 0%, rgba(17,19,18,.95) 31%, rgba(17,19,18,.42) 53%, rgba(17,19,18,.06) 73%); }
.dossier-layout { display: flex; align-items: center; }
.dossier-copy { width: 575px; }
.dossier-copy .headline { font-size: 70px; }
.dossier-copy .headline-accent { font-size: 45px; width: 520px; }
.role-lines { margin-top: 44px; width: 500px; border-bottom: 1px solid var(--line-light); }
.role-lines > div { display: grid; grid-template-columns: 90px 1fr; align-items: center; border-top: 1px solid var(--line-light); min-height: 70px; }
.role-lines span { font-family: var(--font-mono); font-size: 11px; color: var(--coral-soft); }
.role-lines p { margin: 0; font-size: 17px; color: rgba(255,255,255,.78); }

/* Continuity */
.continuity-layout { display: grid; grid-template-rows: 285px 1fr; }
.continuity-head { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; }
.continuity-head .kicker { grid-column: 1 / 3; align-self: start; }
.continuity-head .headline { font-size: 65px; max-width: 800px; }
.continuity-head .body-copy { margin: 0 0 6px; color: rgba(255,255,255,.86); }
.continuity-lane { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.42); }
.continuity-item { position: relative; padding: 30px 30px 0 0; }
.continuity-item + .continuity-item { border-left: 1px solid rgba(255,255,255,.3); padding-left: 30px; }
.continuity-item::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 0 rgba(204,240,94,.4); }
.is-active .continuity-item::before { animation: node-pulse 2s ease-out infinite; animation-delay: var(--delay, 0ms); }
@keyframes node-pulse { 60%,100% { box-shadow: 0 0 0 16px rgba(204,240,94,0); } }
.continuity-item > span { font-family: var(--font-mono); font-size: 11px; }
.continuity-item h3 { margin: 58px 0 18px; font-size: 34px; line-height: .98; letter-spacing: -.05em; max-width: 9ch; }
.continuity-item p { margin: 0; font-size: 16px; line-height: 1.42; color: rgba(255,255,255,.8); max-width: 250px; }

/* Alliance */
.alliance-layout { display: grid; grid-template-columns: 390px 1fr; gap: 56px; align-items: center; }
.alliance-copy .headline { font-size: 64px; }
.alliance-copy .body-copy { width: 360px; font-size: 18px; }
.alliance-visual .art-frame { width: 802px; height: 451px; }
.alliance-labels { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.alliance-labels li { border-top: 1px solid var(--line-dark); padding-top: 11px; font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.alliance-labels li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--coral); border-radius: 50%; margin: 0 6px 1px 0; }

/* Employer brand */
.scene-aspiration { background: #090a09; }
.aspiration-photo { position: absolute; z-index: 0; inset: 0 0 0 50%; overflow: hidden; }
.aspiration-photo img { width: 100%; height: 100%; object-fit: cover; }
.aspiration-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #090a09 0%, #090a09 43%, rgba(9,10,9,.78) 57%, rgba(9,10,9,.08) 88%); }
.aspiration-layout { display: grid; grid-template-rows: auto 1fr; }
.aspiration-copy { align-self: center; width: 720px; }
.aspiration-lead { margin: 0 0 22px; font-size: 22px; color: rgba(255,255,255,.82); }
.aspiration-quote { margin: 0; font-size: 83px; line-height: .88; letter-spacing: -.07em; max-width: 10.5ch; color: var(--acid); }
.aspiration-copy .body-copy { margin-top: 34px; width: 540px; color: rgba(255,255,255,.82); }

/* Close */
.close-layout { display: grid; grid-template-rows: 54px 1fr 54px; }
.close-top { display: flex; justify-content: space-between; align-items: start; }
.close-mark { display: flex; align-items: center; gap: 8px; font-size: 31px; line-height: 1; font-weight: 900; letter-spacing: -.05em; }
.close-mark span { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.close-main { align-self: center; display: grid; grid-template-columns: .88fr 1.12fr; gap: 86px; align-items: center; }
.close-main .display { color: var(--ink); font-size: 118px; max-width: 5.5ch; }
.closing-question { border-top: 2px solid var(--ink); padding-top: 22px; }
.closing-question span { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; color: var(--coral); }
.closing-question p { margin: 18px 0 0; font-size: 35px; line-height: 1.13; letter-spacing: -.035em; font-weight: 760; }
.invite-card { border-top: 2px solid var(--ink); padding-top: 17px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.invite-head { grid-column: 1 / 3; display: grid; grid-template-columns: 190px 1fr; gap: 22px; align-items: start; margin-bottom: 2px; }
.invite-head span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--coral); }
.invite-head p { margin: 0; font-size: 16px; line-height: 1.35; font-weight: 680; }
.invite-card label { display: grid; gap: 6px; font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.invite-card label:nth-of-type(3) { grid-column: 1 / 3; }
.invite-card input { width: 100%; min-height: 47px; border: 1px solid var(--line-dark); border-radius: 0; padding: 0 12px; background: var(--paper); color: var(--ink); font-family: var(--font-display); font-size: 15px; text-transform: none; letter-spacing: normal; outline: none; }
.invite-card input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(223,76,53,.12); }
.invite-submit { grid-column: 1 / 3; min-height: 49px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border: 0; padding: 0 16px; background: var(--ink); color: var(--cream); cursor: pointer; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.invite-submit:hover { background: var(--coral); }
.invite-submit:disabled { opacity: .52; cursor: wait; }
.invite-status { grid-column: 1 / 3; min-height: 18px; margin: 0; font-size: 12px; line-height: 1.4; color: #a32d20; }
.invite-status.is-success { padding: 10px 12px; background: rgba(61,152,97,.14); color: #20603a; font-weight: 700; }
.close-footer { display: flex; align-items: center; justify-content: space-between; }
.close-footer a, .close-footer button { min-height: 44px; display: inline-flex; align-items: center; gap: 22px; padding: 0 15px; border: 1px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.close-footer a { background: var(--ink); color: var(--cream); }

/* Navigation */
.deck-nav { position: fixed; z-index: 41; left: 28px; right: 28px; bottom: 18px; height: 40px; display: grid; grid-template-columns: auto minmax(120px, 420px) auto; justify-content: space-between; gap: 16px; align-items: center; color: var(--cream); pointer-events: none; }
.deck-nav > * { pointer-events: auto; }
.nav-arrow { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(9,10,9,.72); color: var(--cream); cursor: pointer; backdrop-filter: blur(10px); }
.nav-arrow:hover, .nav-arrow:focus-visible { background: var(--cream); color: var(--ink); }
.progress-wrap { height: 34px; padding: 0 13px; display: flex; align-items: center; gap: 14px; background: rgba(9,10,9,.72); border-radius: 999px; backdrop-filter: blur(10px); }
.progress-track { flex: 1; height: 1px; background: rgba(255,255,255,.28); }
.progress-fill { display: block; height: 100%; background: var(--coral-soft); width: 7.69%; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.progress-count { font-family: var(--font-mono); font-size: 10px; min-width: 55px; }

/* Auxiliary panels */
.presenter-panel { position: fixed; z-index: 70; top: 0; right: 0; width: min(448px, 92vw); height: 100%; background: #090a09; color: var(--cream); border-left: 1px solid rgba(255,255,255,.16); transform: translateX(105%); transition: transform .42s cubic-bezier(.2,.8,.2,1); padding: 22px; display: flex; flex-direction: column; }
body.presenter-open .presenter-panel { transform: none; }
.presenter-head, .sources-head, .overview-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,.16); padding-bottom: 18px; }
.presenter-head span, .sources-head span, .overview-head span { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .13em; opacity: .55; }
.presenter-head b { display: block; font-size: 24px; margin-top: 6px; }
.presenter-head button, .sources-head button, .overview-head button { border: 0; background: none; font-size: 31px; cursor: pointer; line-height: 1; }
.presenter-timer { margin-top: 18px; padding: 16px; border: 1px solid rgba(255,255,255,.16); display: grid; grid-template-columns: 1fr auto; align-items: end; }
.presenter-timer span { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; opacity: .5; }
.presenter-timer b { grid-row: 1 / 3; grid-column: 2; font-family: var(--font-mono); font-size: 31px; }
.presenter-timer button { justify-self: start; border: 0; background: none; color: var(--coral-soft); padding: 6px 0 0; cursor: pointer; font-size: 11px; }
.presenter-notes { margin-top: 18px; padding: 20px; background: var(--cream); color: var(--ink); flex: 1; }
.presenter-notes span, .presenter-next span { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; opacity: .55; }
.presenter-notes p { font-size: 18px; line-height: 1.55; }
.presenter-next { margin-top: 16px; border-top: 1px solid rgba(255,255,255,.16); padding-top: 16px; }
.presenter-next b { display: block; margin-top: 7px; }

.overview { position: fixed; inset: 0; z-index: 65; background: rgba(17,19,18,.98); color: var(--cream); padding: 28px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
body.overview-open .overview { opacity: 1; visibility: visible; transition-delay: 0s; }
.overview-head h2, .sources-head h2 { margin: 6px 0 0; font-size: 31px; letter-spacing: -.04em; }
.overview-grid { height: calc(100% - 78px); padding-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; overflow: auto; }
.overview-card { position: relative; min-height: 145px; border: 1px solid rgba(255,255,255,.17); padding: 16px; background: #1a1c1b; cursor: pointer; text-align: left; color: var(--cream); overflow: hidden; }
.overview-card::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: var(--coral); filter: blur(35px); opacity: .12; right: -45px; bottom: -45px; }
.overview-card small { font-family: var(--font-mono); opacity: .45; }
.overview-card b { display: block; margin-top: 28px; font-size: 20px; letter-spacing: -.03em; }
.overview-card.is-current { border-color: var(--coral-soft); }

.sources { position: fixed; z-index: 75; top: 0; right: 0; width: min(830px, 96vw); height: 100%; background: var(--cream); color: var(--ink); transform: translateX(105%); transition: transform .45s cubic-bezier(.2,.8,.2,1); padding: 25px; overflow: auto; }
body.sources-open .sources { transform: none; }
.sources-head { border-color: var(--line-dark); }
.sources-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 18px; }
.sources-body article { border: 1px solid var(--line-dark); padding: 20px; min-height: 235px; display: flex; flex-direction: column; }
.sources-body article > span { font-family: var(--font-mono); font-size: 9px; color: var(--coral); text-transform: uppercase; letter-spacing: .1em; }
.sources-body h3 { font-size: 26px; letter-spacing: -.04em; line-height: 1.05; margin: 18px 0 10px; }
.sources-body p { margin: 0; font-size: 14px; line-height: 1.45; }
.sources-body a { margin-top: auto; padding-top: 16px; color: var(--ink); font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }

.welcome-hint { position: fixed; z-index: 80; left: 50%; bottom: 76px; transform: translateX(-50%); background: rgba(242,238,229,.96); color: var(--ink); border-radius: 999px; padding: 12px 18px 12px 12px; display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; align-items: center; box-shadow: 0 16px 55px rgba(0,0,0,.25); animation: hint-in .7s 1s both; }
.welcome-hint span { grid-row: 1 / 3; width: 36px; height: 36px; background: var(--coral); color: #fff; display: grid; place-items: center; border-radius: 50%; }
.welcome-hint p { margin: 0; font-size: 12px; font-weight: 700; }
.welcome-hint small { font-family: var(--font-mono); font-size: 8px; opacity: .58; }
.welcome-hint.is-hidden { animation: hint-out .35s both; pointer-events: none; }
@keyframes hint-in { from { opacity: 0; transform: translate(-50%, 16px); } }
@keyframes hint-out { to { opacity: 0; transform: translate(-50%, 16px); } }

@media (max-width: 760px) {
  .chrome { height: 52px; padding: 0 12px; }
  .chrome-center { display: none; }
  .client-logo { width: 75px; height: 36px; background-size: 114px auto; }
  .chrome-right { gap: 7px; }
  .optional-control { display: none; }
  .brand-mark { font-size: 18px; }
  .icon-btn { width: 31px; height: 31px; }
  .deck-nav { left: 12px; right: 12px; bottom: 10px; grid-template-columns: auto minmax(92px, 180px) auto; }
  .progress-wrap { padding: 0 10px; }
  .overview { padding: 16px; }
  .overview-grid { grid-template-columns: 1fr 1fr; }
  .overview-card { min-height: 110px; }
  .sources-body { grid-template-columns: 1fr; }
  .welcome-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  html, body { overflow: visible; background: #fff; }
  .chrome, .deck-nav, .presenter-panel, .overview, .sources, .welcome-hint { display: none !important; }
  .deck { position: relative; overflow: visible; }
  .scene { position: relative; left: 0; top: 0; width: 1440px; height: 810px; opacity: 1; visibility: visible; transform: none; break-after: page; }
  .reveal, .visual-reveal { opacity: 1; transform: none; filter: none; clip-path: none; }
}
