/* ═══════════════════════════════════════════════════════════════════════════
   ACTAA v5 — "The Invoice & The Vortex", screen one.

   Language learned from actbe.co.jp: monochrome sculpture as the whole
   background, typography carrying all contrast, and the personality
   concentrated in ONE designed artifact. Palette and faces are the live
   site's own (porcelain.css): porcelain, ink, measured gold, Actaa blue,
   Questrial / Hanken / JetBrains Mono.

   Two departures, both deliberate:
   · their rings are circles; ours are SQUIRCLES — the app-icon silhouette,
     because Actaa's subject is apps becoming one.
   · their ticket is a nav; ours is an INVOICE — the menu is the module
     list, and the bill is the real pitch: $78 struck, $4.99 + $29 kept.

   Type is the live site's own scale and faces end to end — Questrial 400
   display at --h1, Hanken 300 at the one reading size, JetBrains Mono on
   the 12px floor. Nothing on this page renders below 11px.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Jost — the geometric that does the Chanel work (Futura's lineage).
   OFL, self-hosted, latin only, declared here so live pages stay
   untouched until v5 ships. */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jost-500-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/jost-600-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/jost-700-latin.woff2) format('woff2');
}

:root {
  --porcelain: #F6F1E8;
  --bone:      #EDE5D6;
  --sand:      #E2D7C2;
  --ink:       #26211A;
  --ink-70:    rgba(38, 33, 26, 0.72);
  --ink-50:    rgba(38, 33, 26, 0.65);
  --gold:      #7D622E;
  --line:      rgba(38, 33, 26, 0.14);
  --blue:      #2E6FD6;
  --blue-deep: #1A3D6E;
  --dark:      #12213A;

  --lux:     'Jost', 'Futura', 'Century Gothic', sans-serif;
  --display: 'Questrial', 'Century Gothic', sans-serif;
  --sans:    'Hanken Grotesk', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  /* the live site's scale, verbatim (porcelain.css): one reading size,
     one interface size, one mono tier on the 12px floor, one display */
  --text:    clamp(16.5px, 1.35vw, 18.5px);
  --text-sm: 15px;
  --text-xs: 12.5px;
  --h1:      clamp(40px, 4.9vw, 92px);

  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Ground ─────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { background: var(--porcelain); }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--text);
  line-height: 1.55;
  color: var(--ink);
  background: var(--porcelain);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: inherit; text-decoration: none; }
s { text-decoration: line-through; }
::selection { background: rgba(46, 111, 214, 0.22); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.mono { font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.18em; color: var(--gold); }

/* ── Veil ───────────────────────────────────────────────────────────────── */
.veil { display: none; }
.js .veil {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--porcelain);
  transition: opacity 0.7s var(--ease), visibility 0s 0.7s;
}
.veil__mark {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.6em;
  color: var(--ink-50);
  opacity: 0;
  animation: veil-in 0.6s var(--ease) 0.05s forwards;
}
@keyframes veil-in { to { opacity: 1; } }
.veil.gone { opacity: 0; visibility: hidden; }
body.no-veil .veil { display: none; }

/* the cue: the hero's floor is not empty, it points down */
.hero__cue {
  position: absolute;
  left: var(--pad);
  bottom: 40px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__cue span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.42em;
  color: var(--ink-50);
}
.hero__cue i {
  display: block;
  width: 72px;
  height: 1px;
  background: var(--gold);
  transform-origin: left center;
  animation: cue-sweep 2.6s var(--ease) infinite;
}
@keyframes cue-sweep {
  0% { transform: scaleX(0); opacity: 0; }
  35% { opacity: 1; }
  70% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero__cue i { animation: none; } }

/* ── Top bar — the live site's nav, quiet over the sculpture ────────────── */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 86px;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.top--hide { transform: translateY(-100%); }
.top--solid {
  background: rgba(246, 241, 232, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(38, 33, 26, 0.08);
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad);
}
.top__nav { display: flex; gap: clamp(16px, 2.4vw, 30px); }
.top__nav a {
  font-size: 16.5px;
  font-weight: 400;
  color: var(--ink-70);
  transition: color 0.2s;
}
.top__nav a:hover { color: var(--ink); }
.top__nav a.on { color: var(--ink); position: relative; }
.top__nav a.on::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -8px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateX(-50%);
}
.top .pill { font-size: 16px; padding: 13px 24px; }
@media (max-width: 900px) { .top__nav { display: none; } }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--sans);
  font-weight: 400;
  font-size: var(--text-sm);
  line-height: 1;
  padding: 12px 22px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.pill:hover { background: var(--blue-deep); transform: translateY(-1px); }

/* ── sticky mobile CTA: the ask never scrolls away on a phone ───────────── */
.mcta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(246, 241, 232, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 -1px 0 rgba(38, 33, 26, 0.1);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}
.mcta .pill { width: 100%; justify-content: center; }
.mcta--on { transform: none; }
@media (max-width: 1080px) {
  .mcta { display: block; }
}

/* ── nav dropdown (shared by home and subpages) ─────────────────────────── */
.top__logo img { display: block; margin-left: -11px; }
.top__nav { align-items: center; }
.top__drop { position: relative; display: inline-flex; align-items: center; }
.top__drop > a { display: inline-flex; align-items: center; gap: 5px; }
.top__caret { font-size: 9px; opacity: 0.55; }
.top__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  display: grid;
  gap: 2px;
  min-width: 190px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(38, 33, 26, 0.1);
  box-shadow: 0 22px 50px -24px rgba(38, 33, 26, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s;
}
.top__drop:hover .top__menu,
.top__drop:focus-within .top__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.top__menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: var(--text-sm);
  color: var(--ink-70);
}
.top__menu a:hover { background: rgba(38, 33, 26, 0.05); color: var(--ink); }

/* ── Stage ──────────────────────────────────────────────────────────────── */
.stage { position: relative; height: 100svh; overflow: hidden; }
.world { position: absolute; inset: 0; pointer-events: none; transition: transform 0.6s var(--ease); }

/* ── The vortex: nested app-icon squircles, white on porcelain ──────────
   Value does everything: each sheet is barely lighter than the ground, cut
   from it by two soft shadows (drop + inner light). Alternate rings turn in
   opposite directions, a full turn in minutes — motion you feel, not watch. */
/* The film: cover the stage, centre the object a step right of centre so
   the headline keeps its column. The stage behind matches the film's own
   edge tone, so loading and letterboxing never flash a different world. */
body { background: linear-gradient(160deg, #F6F1E8 0%, #F3ECDE 55%, #EFE6D4 100%) fixed; }
.film {
  position: fixed;
  z-index: 1;
  left: 64%;
  top: 50%;
  width: 96%;
  height: 116%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  transition: transform 1.1s var(--ease), margin-left 1.1s var(--ease), opacity 0.7s var(--ease) 0.45s, -webkit-mask-image 1.1s var(--ease), mask-image 1.1s var(--ease);
  /* the film's left edge melts into the page, so the object lives beside
     the words instead of underneath them */
  -webkit-mask-image: linear-gradient(90deg, transparent 2%, #000 30%);
          mask-image: linear-gradient(90deg, transparent 2%, #000 30%);
}
/* Private AI: the glide target is computed in JS so the stack lands exactly
   behind the ask; this class only swaps the feather to the other edge. */
.film--left {
  -webkit-mask-image: linear-gradient(90deg, #000 68%, transparent 94%);
          mask-image: linear-gradient(90deg, #000 68%, transparent 94%);
}
/* the turn's cover: a quick clean fade with no delay */
.film--dim { opacity: 0; transition: opacity 0.45s var(--ease); }

.world__grain {
  position: absolute;
  inset: 0;
  opacity: 0.085;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── The words: the headline is the contrast ────────────────────────────── */
.hero {
  position: absolute;
  z-index: 10;
  left: var(--pad);
  top: 49%;
  transform: translateY(-50%);
  max-width: 640px;
}
/* the mark IS the monument; the words beneath it only speak once */
.hero__mark {
  margin-bottom: clamp(24px, 4vh, 44px);
  /* the logo file carries 9.6% internal left padding; pull it back so the
     ink sits flush with the headline's axis (margin, because the .rv
     reveal owns this element's transform) */
  margin-left: calc(clamp(300px, 34vw, 540px) * -0.096);
}
.hero__mark img {
  display: block;
  width: clamp(300px, 34vw, 540px);
  height: auto;
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
  clip-path: inset(0 100% 0 0);
}
.js .hero__mark.in img { animation: mark-in 1.15s var(--ease) 0.1s forwards; }
@keyframes mark-in {
  40% { opacity: 1; filter: blur(0); }
  to { opacity: 1; transform: none; filter: blur(0); clip-path: inset(0 0 0 0); }
}
.hero__mark.in html:not(.js) .hero__mark img { opacity: 1; transform: none; filter: none; clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  .hero__mark img { opacity: 1; transform: none; filter: none; clip-path: none; animation: none; }
  }
.hero__h {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 4.4vw, 72px);
  line-height: 1.06;
  color: var(--ink);
  margin-bottom: 18px;
}
.hero__sub {
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-70);
  max-width: 26em;
}

/* ── The invoice ────────────────────────────────────────────────────────
   One artifact carries all the personality: menu, product tour and the
   arithmetic, printed like the receipt that ends the other ten. */
.ticket {
  position: absolute;
  z-index: 20;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  width: 312px;
  background: #FEFCF8;
  border: 1px solid rgba(38, 33, 26, 0.10);
  border-radius: 10px;
  padding: 20px 22px 18px;
  box-shadow:
    0 30px 70px -30px rgba(38, 33, 26, 0.28),
    0 2px 6px rgba(38, 33, 26, 0.06);
}
.ticket__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ticket__head .mono { font-size: var(--text-xs); }

.ticket__rule { border-top: 1.5px dashed rgba(38, 33, 26, 0.22); margin: 14px 0; position: relative; }
.ticket__rule--cut span {
  position: absolute;
  right: -6px;
  top: -9px;
  font-size: 11px;
  color: var(--ink-50);
  background: #FEFCF8;
  padding: 0 3px;
}

.ticket__menu { display: flex; flex-direction: column; }
.ticket__menu a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 4.5px 0;
  transition: color 0.2s, transform 0.25s var(--ease);
}
.ticket__menu a em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.ticket__menu a:hover { color: var(--blue); transform: translateX(4px); }

.ticket__label { display: block; font-size: var(--text-xs); margin-bottom: 10px; }
.ticket__bill { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.bill__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-70);
}
/* dot leaders, like a real bill */
.bill__row span {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.bill__row span::after {
  content: ' ...................................';
  letter-spacing: 2px;
  color: rgba(38, 33, 26, 0.25);
}
.bill__row b { font-weight: 600; font-family: var(--mono); font-size: 13.5px; }

.ticket__stamp { margin-top: 8px; display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--ink-50); }

/* ── Screen 02 · Private AI ─────────────────────────────────────────────
   Headline C and the proof lines — the ticket's receipt voice grown to
   section scale. Quiet ground after the film: no motion but the reveals. */
.s2 {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
@media (max-width: 1080px) {
  .s2 { background: linear-gradient(180deg, #F1EADB 0%, var(--porcelain) 30%, #EFE8D9 100%); }
  .s2__inner { grid-template-columns: 1fr; padding: 80px 0; }
  .abars { order: 2; height: auto; opacity: 1; }
  .abar { position: static; width: 100%; transform: none; }
  .abar:nth-child(1) { height: 54px; border-radius: 999px; background: rgba(255,255,255,0.78); margin-bottom: 12px; }
  .abar:not(:nth-child(1)):not(:nth-child(7)) { display: none; }
  .abar:nth-child(7) { height: auto; border-radius: 16px; background: rgba(255,255,255,0.78); }
  .abar__ask, .abar__ans { opacity: 1; }
  .s2__right { order: 1; }
  .film--aside { transform: none; }
}
.s2__inner {
  width: min(1200px, calc(100vw - 2 * var(--pad)));
  margin: 0 auto;
  padding: 120px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.s2__right { width: min(560px, 100%); }
.s2__lock { width: fit-content; margin-bottom: 30px; }
.s2__over {
  display: flex;
  justify-content: space-between;
  font-family: var(--lux);
  font-weight: 600;
  font-size: clamp(12px, 1.1vw, 16px);
  color: var(--ink);
  margin-bottom: 2px;
}
.s2__ai {
  font-family: var(--lux);
  font-weight: 500;
  font-size: clamp(56px, 6.6vw, 104px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-left: -6px;
}
.s2__line {
  font-family: var(--lux);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 23px);
  color: var(--ink);
  margin-bottom: 24px;
}
.s2__proof { list-style: none; }
.s2__proof li {
  font-size: clamp(16.5px, 1.4vw, 19.5px);
  font-weight: 300;
  color: var(--ink-70);
  padding: 10px 0;
}

/* ── Screen 03 · Email — the seven bars turn into the inbox ─────────────
   Seven strips drawn in the film's own colours stand where its stack stood;
   entering the section they rotate open, one by one, into seven mail rows.
   Geometry is animated per bar (left/top/width/height), so scrolling back
   up folds the inbox back into bars. */
.s3 {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.s3__inner {
  width: min(1200px, calc(100vw - 2 * var(--pad)));
  margin: 0 auto;
  padding: 120px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.s3__lock { width: fit-content; margin-bottom: 26px; }
.s3__over {
  display: flex;
  justify-content: space-between;
  font-family: var(--lux);
  font-weight: 600;
  font-size: clamp(12px, 1.1vw, 16px);
  color: var(--ink);
  margin-bottom: 2px;
}
.s3__h {
  font-family: var(--lux);
  font-weight: 500;
  font-size: clamp(56px, 6.6vw, 104px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-left: -4px;
}
.s3__line {
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink);
  max-width: 24em;
  margin-bottom: 24px;
}
.s3__facts { list-style: none; }
.s3__facts li {
  font-size: clamp(16.5px, 1.4vw, 19.5px);
  font-weight: 300;
  color: var(--ink-70);
  padding: 8px 0;
}

/* ── The ask, floating on the film (desktop) ────────────────────────────
   Plain glass over the paused stack: the pill types, the answer lands.
   backdrop blur drinks the film's own colours. */
.dask {
  width: min(460px, 100%);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.dask--in { opacity: 1; transform: none; }
.dask__pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 15px 20px;
  box-shadow: 0 20px 50px -22px rgba(38, 33, 26, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.dask__card {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 24px 56px -26px rgba(38, 33, 26, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.dask--answered .dask__card { opacity: 1; transform: none; }
.dask--answered .ask__caret { animation: none; opacity: 0; }
.dask__card p { font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--ink); }

/* ── The rows, sliding out of the stack (desktop) ────────────────────────
   Seven glass mail rows born from the film's bars: they start gathered at
   the stack and fan out to rest, each keeping a colour spine. */
.dmail { display: flex; flex-direction: column; gap: 14px; }
.drow > * { opacity: 0; transition: opacity 0.45s var(--ease) calc(0.55s + var(--i) * 55ms); }
.dmail--set .drow > * { opacity: 1; }
.drow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px 0 16px;
  height: 58px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-left: 5px solid var(--pb-c, #D9C7A6);
  box-shadow: 0 18px 44px -20px rgba(38, 33, 26, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transform-origin: top left;
  transition: opacity 0.5s var(--ease) calc(var(--i) * 55ms),
              transform 0.75s var(--ease) calc(var(--i) * 55ms),
              background 0.75s var(--ease) calc(var(--i) * 55ms),
              border-radius 0.75s var(--ease) calc(var(--i) * 55ms);
}
.drow:nth-child(1) { --pb-c: #DCC9A8; }
.drow:nth-child(2) { --pb-c: #E6D9C0; }
.drow:nth-child(3) { --pb-c: #F2EBDA; }
.drow:nth-child(4) { --pb-c: #C2D2C6; }
.drow:nth-child(5) { --pb-c: #8FBECB; }
.drow:nth-child(6) { --pb-c: #5B8FBC; }
.drow:nth-child(7) { --pb-c: #AFC9E4; }
.dmail--in .drow { opacity: 1; }

.mfall { display: none; }
@media (max-width: 1080px) {
  .dask, .dmail { display: none; }
}

/* ── Screen 04 · Chat — the rows become a conversation ──────────────────
   Bubbles left, monument right. The bubbles are FLIPped from the mail
   rows by the engine; one of them is a checklist that ticks itself. */
.s4 {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.s4__inner {
  width: min(1200px, calc(100vw - 2 * var(--pad)));
  margin: 0 auto;
  padding: 120px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.dchat { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.cb {
  position: relative;
  width: fit-content;
  max-width: 86%;
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  padding: 11px 16px;
  box-shadow: 0 16px 40px -20px rgba(38, 33, 26, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform-origin: top left;
  transition: opacity 0.5s var(--ease) calc(var(--i) * 55ms),
              transform 0.75s var(--ease) calc(var(--i) * 55ms),
              background 0.75s var(--ease) calc(var(--i) * 55ms),
              border-radius 0.75s var(--ease) calc(var(--i) * 55ms);
}
.cb b {
  display: block;
  font-family: var(--lux);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-50);
  margin-bottom: 3px;
  text-transform: uppercase;
}
.cb--r { align-self: flex-end; background: rgba(216, 231, 252, 0.68); border-color: rgba(255, 255, 255, 0.9); }
.cb--sys {
  align-self: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-50);
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 4px 0 0;
}
.cb--ck { width: 100%; max-width: 100%; padding: 14px 18px 12px; }
.ck__t { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--gold); }
.cb--ck ul { list-style: none; margin-top: 8px; }
.cb--ck li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink);
}
.cb--ck li i {
  width: 16px; height: 16px;
  border-radius: 5px;
  border: 1.5px solid rgba(38, 33, 26, 0.3);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 10px;
  color: #fff;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cb--ck li.on i { background: var(--blue); border-color: var(--blue); }
.cb--ck li.on i::before { content: '\2713'; }
/* ticks arrive staggered once the thread has settled */
.dchat--set .ck1 { transition-delay: 0.2s; }
.dchat--set .ck2 { transition-delay: 0.5s; }
.dchat--set .ck3 { transition-delay: 0.8s; }
.cb--sys { visibility: hidden; }
.dchat--done .cb--sys { visibility: visible; }
/* content inside bubbles hides until the turn lands */
.cb > * { opacity: 0; transition: opacity 0.45s var(--ease) calc(0.55s + var(--i) * 55ms); }
.dchat--set .cb > * { opacity: 1; }

@media (max-width: 1080px) {
  .s4 { background: linear-gradient(180deg, #F1EADB 0%, var(--porcelain) 40%, #EFE8D9 100%); }
  .s4__inner { grid-template-columns: 1fr; padding: 80px 0; }
  .dchat { display: none; }
  .mfall--chat .mcb {
    width: fit-content; max-width: 92%;
    background: rgba(255,255,255,0.7); border-radius: 14px;
    padding: 10px 14px; margin-bottom: 10px; font-size: 14px; color: var(--ink);
    box-shadow: 0 12px 26px -14px rgba(38,33,26,0.22);
  }
  .mfall--chat .mcb--r { margin-left: auto; background: rgba(216,231,252,0.75); }
  .mfall--chat .mcb b { font-weight: 500; margin-right: 6px; }
}

/* ── Screen 05 · Calendar — the bubbles stand up into a week ─────────────
   Seven glass day columns; the bars vertical again, carrying time. Event
   blocks fade in after the turn; the call chip goes live on its own. */
.s5 {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.s5__inner {
  width: min(1200px, calc(100vw - 2 * var(--pad)));
  margin: 0 auto;
  padding: 120px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
/* CALENDAR is the longest monument word: it gets its own scale so it
   never bleeds into the week */
.s5__text { position: relative; z-index: 2; }

.dweek {
  display: flex;
  gap: 12px;
  height: 460px;
  align-items: stretch;
}
.day {
  position: relative;
  flex: 1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 44px -22px rgba(38, 33, 26, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform-origin: top left;
  transition: opacity 0.5s var(--ease) calc(var(--i) * 55ms),
              transform 0.75s var(--ease) calc(var(--i) * 55ms),
              background 0.75s var(--ease) calc(var(--i) * 55ms),
              border-radius 0.75s var(--ease) calc(var(--i) * 55ms);
}
.day--off { background: rgba(255, 255, 255, 0.32); }
.dweek--in .day { opacity: 1; }
.day__l {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-50);
}
.ev {
  position: absolute;
  left: 6px; right: 6px;
  top: calc(14% + var(--t, 0%));
  height: var(--h, 10%);
  border-radius: 8px;
  background: rgba(46, 111, 214, 0.16);
  border-left: 3px solid var(--blue);
  font-style: normal;
  padding: 7px 8px;
  overflow: hidden;
}
.ev u { display: block; text-decoration: none; font-size: 11.5px; font-weight: 400; color: var(--ink); line-height: 1.25; }
.ev s { display: block; text-decoration: none; font-family: var(--mono); font-size: 9px; color: var(--ink-50); margin-top: 2px; }
.ev--dim { background: rgba(38, 33, 26, 0.07); border-left-color: rgba(38, 33, 26, 0.2); }
.ev--gold { background: rgba(125, 98, 46, 0.14); border-left-color: var(--gold); }
.ev--call { background: rgba(46, 111, 214, 0.2); }
.join {
  position: absolute;
  left: 8px; bottom: 8px;
  white-space: nowrap;
  font-style: normal;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  padding: 4px 10px;
  animation: cue 2s ease-in-out infinite;
}
.join--live { background: var(--ink); animation: none; }
/* contents wait for the turn to land */
.day > * { opacity: 0; transition: opacity 0.45s var(--ease) calc(0.55s + var(--i) * 55ms); }
.dweek--set .day > * { opacity: 1; }
.join--ended { background: rgba(38, 33, 26, 0.5); animation: none; }

/* the AI notes card lands on the quiet end of the week */
.dweek { position: relative; }
.ainotes {
  position: absolute;
  right: -8px;
  top: 32%;
  width: min(46%, 300px);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 24px 56px -24px rgba(38, 33, 26, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.dweek--notes .ainotes { opacity: 1; transform: none; }
.ai__t { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--gold); }
.ainotes ul { list-style: none; margin: 8px 0 10px; }
.ainotes li {
  position: relative;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink);
  padding: 4px 0 4px 16px;
}
.ainotes li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.7;
}
.ai__m { font-style: normal; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; color: var(--ink-50); }

@media (max-width: 1080px) {
  .s5 { background: linear-gradient(180deg, #EFE8D9 0%, var(--porcelain) 40%, #F1EADB 100%); }
  .s5__inner { grid-template-columns: 1fr; padding: 80px 0; }
  .dweek { display: none; }
}

/* ── Screen 06 · Documents — the week lies down into pages ──────────────
   Seven day columns fan into seven sheets. The front three carry the
   suite: doc lines, a sheet grid, a deck slide. ActiveSpace, in small. */
.s6 {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.s6__inner {
  width: min(1200px, calc(100vw - 2 * var(--pad)));
  margin: 0 auto;
  padding: 120px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.s6__text { position: relative; z-index: 2; }
.s6__credit { margin-top: 22px; font-size: 10.5px; letter-spacing: 0.16em; }
.dstack {
  position: relative;
  height: 500px;
}
.pg {
  position: absolute;
  left: 8%;
  top: 4%;
  width: 66%;
  height: 88%;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 60px -26px rgba(38, 33, 26, 0.35);
  transform: rotate(calc(-7deg + var(--i) * 2.6deg)) translateX(calc(var(--i) * 14px));
  transform-origin: bottom left;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.5s var(--ease) calc(var(--i) * 55ms),
              transform 0.75s var(--ease) calc(var(--i) * 55ms),
              background 0.75s var(--ease) calc(var(--i) * 55ms),
              border-radius 0.75s var(--ease) calc(var(--i) * 55ms);
}
/* later pages sink behind, fainter */
.pg:nth-child(n+4) { background: rgba(255, 255, 255, 0.55); }
.pg:nth-child(1) { z-index: 7; }
.pg:nth-child(2) { z-index: 6; }
.pg:nth-child(3) { z-index: 5; }
.pg:nth-child(4) { z-index: 4; }
.pg:nth-child(5) { z-index: 3; }
.pg:nth-child(6) { z-index: 2; }
.pg:nth-child(7) { z-index: 1; }
.dstack--in .pg { opacity: 1; }
.pg__c { padding: 20px 22px; opacity: 0; transition: opacity 0.45s var(--ease) 0.55s; }
.dstack--set .pg__c { opacity: 1; }
.pg__tab {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.pg__title {
  display: block;
  font-family: var(--lux);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  margin: 10px 0 14px;
}
.pg__ln {
  display: block;
  height: 8px;
  width: var(--w, 80%);
  border-radius: 4px;
  background: rgba(38, 33, 26, 0.1);
  margin-bottom: 10px;
}
.pg__ln--ai { background: rgba(46, 111, 214, 0.28); }
.pg__chip {
  position: absolute;
  right: 14px;
  top: 14px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  padding: 4px 9px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.dstack--ai .pg__chip { opacity: 1; }
.pg__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}
.pg__grid i { height: 16px; border-radius: 3px; background: rgba(38, 33, 26, 0.08); }
.pg__grid i:nth-child(3n) { background: rgba(46, 111, 214, 0.14); }
.pg__slide {
  margin-top: 12px;
  border-radius: 8px;
  background: rgba(46, 111, 214, 0.1);
  padding: 14px;
}
.pg__slide b { display: block; height: 12px; width: 60%; border-radius: 4px; background: rgba(38, 33, 26, 0.2); margin-bottom: 8px; }
.pg__slide i { display: block; height: 7px; width: 80%; border-radius: 3px; background: rgba(38, 33, 26, 0.1); margin-bottom: 6px; }
.pg__board { width: 100%; height: auto; margin-top: 12px; stroke: rgba(38, 33, 26, 0.35); stroke-width: 1.5; }
.pg__board rect:first-of-type, .pg__board circle { stroke: var(--blue); stroke-opacity: 0.55; }
.pg__note { margin-top: 12px; border-radius: 8px; background: rgba(125, 98, 46, 0.1); padding: 12px; }
.pg__note i { display: block; height: 7px; width: var(--w, 80%); border-radius: 3px; background: rgba(38, 33, 26, 0.14); margin-bottom: 6px; }

@media (max-width: 1080px) {
  .s6 { background: linear-gradient(180deg, #F1EADB 0%, var(--porcelain) 40%, #EFE8D9 100%); }
  .s6__inner { grid-template-columns: 1fr; padding: 80px 0; }
  .dstack { display: none; }
}

/* ── Screen 07 · Projects — the pages sweep into the board ──────────────
   Three lanes, seven cards, one bar. The banner card finishes itself. */
.s7 {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.s7__inner {
  width: min(1200px, calc(100vw - 2 * var(--pad)));
  margin: 0 auto;
  padding: 120px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.s7__text { position: relative; z-index: 2; }
.dboard { position: relative; }
.dboard__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.6s;
}
.dboard--set .dboard__top { opacity: 1; }
.dboard__t { color: var(--gold); }
.dboard__n { color: var(--ink-50); letter-spacing: 0.12em; }
.dboard__n b { font-weight: 600; color: var(--ink); }
.dboard__bar {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(38, 33, 26, 0.12);
  overflow: hidden;
}
.dboard__bar u {
  display: block;
  height: 100%;
  width: 43%;
  border-radius: 999px;
  background: var(--blue);
  transition: width 0.9s var(--ease);
}
.dboard--plus .dboard__bar u { width: 57%; }
.dboard__lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start;
}
.lane {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 12px;
  min-height: 380px;
}
.lane__h {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--ink-50);
  margin: 2px 4px 12px;
}
.tc {
  position: relative;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px -18px rgba(38, 33, 26, 0.3);
  padding: 12px 14px;
  margin-bottom: 10px;
  opacity: 0;
  transform-origin: top left;
  transition: opacity 0.5s var(--ease) calc(var(--i) * 55ms),
              transform 0.75s var(--ease) calc(var(--i) * 55ms),
              background 0.75s var(--ease) calc(var(--i) * 55ms),
              border-radius 0.75s var(--ease) calc(var(--i) * 55ms);
}
.dboard--in .tc { opacity: 1; }
.tc b { display: block; font-family: var(--lux); font-weight: 500; font-size: 14.5px; color: var(--ink); }
.tc span { display: block; font-size: 12px; font-weight: 300; color: var(--ink-50); margin-top: 3px; }
.tc > * { opacity: 0; transition: opacity 0.45s var(--ease) calc(0.55s + var(--i) * 55ms); }
.dboard--set .tc > * { opacity: 1; }
.tc--done { background: rgba(255, 255, 255, 0.55); }
.tc--done b { color: var(--ink-70); }
.tc--done::after {
  content: '\2713';
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 11px;
  color: var(--blue);
}
.tc--gold { border-left: 4px solid var(--gold); }
.tc__ai {
  position: absolute;
  right: 10px;
  top: 10px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  padding: 3px 7px;
}
/* the mover rides above while crossing lanes */
.tc--moving { z-index: 5; transition: transform 0.85s var(--ease), background 0.4s var(--ease); }

@media (max-width: 1080px) {
  .s7 { background: linear-gradient(180deg, #EFE8D9 0%, var(--porcelain) 40%, #F1EADB 100%); }
  .s7__inner { grid-template-columns: 1fr; padding: 80px 0; }
  .dboard { display: none; }
}

/* ── Screen 08 · Files — the board becomes the drive ─────────────────────
   Folders and files with the app's real AI badge vocabulary, and a drawn
   cursor that performs the one-click flip. */
.s8 {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.s8__inner {
  width: min(1200px, calc(100vw - 2 * var(--pad)));
  margin: 0 auto;
  padding: 120px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.s8__text { position: relative; z-index: 2; }
.dfiles {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-content: center;
}
.ft {
  position: relative;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px -20px rgba(38, 33, 26, 0.3);
  padding: 16px 16px 14px;
  min-height: 118px;
  opacity: 0;
  transform-origin: top left;
  transition: opacity 0.5s var(--ease) calc(var(--i) * 55ms),
              transform 0.75s var(--ease) calc(var(--i) * 55ms),
              background 0.75s var(--ease) calc(var(--i) * 55ms),
              border-radius 0.75s var(--ease) calc(var(--i) * 55ms);
}
.dfiles--in .ft { opacity: 1; }
.ft > * { opacity: 0; transition: opacity 0.45s var(--ease) calc(0.55s + var(--i) * 55ms); }
.dfiles--set .ft > * { opacity: 1; }
.ft b { display: block; font-family: var(--lux); font-weight: 500; font-size: 14px; color: var(--ink); margin-top: 10px; }
.ft span { display: block; font-size: 11.5px; font-weight: 300; color: var(--ink-50); margin-top: 2px; }
.ft--folder { background: rgba(255, 255, 255, 0.6); }
.ft__ico {
  display: block;
  width: 34px; height: 26px;
  border-radius: 6px;
  background: linear-gradient(180deg, #E9DCC2, #DCCBA6);
  position: relative;
  font-style: normal;
}
.ft--folder .ft__ico::before {
  content: '';
  position: absolute;
  top: -5px; left: 0;
  width: 16px; height: 7px;
  border-radius: 4px 4px 0 0;
  background: #DCCBA6;
}
.ft__ico--doc {
  width: 34px; height: 40px;
  border-radius: 5px;
  background: #FDFBF6;
  border: 1px solid rgba(38, 33, 26, 0.14);
  display: grid;
  place-items: end center;
  padding-bottom: 4px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--ink-50);
}
/* the app's badge vocabulary, verbatim */
.fb {
  position: absolute;
  right: 12px;
  top: 12px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 4px 8px;
  border: 1px solid rgba(38, 33, 26, 0.14);
  background: rgba(255, 255, 255, 0.7);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.fb--on { color: #1b7e3a; border-color: rgba(27, 126, 58, 0.3); }
.fb--proc { color: var(--ink-50); }
.fb--off { color: var(--ink-50); opacity: 0.85; }
/* the drawn cursor that performs the click */
.dcursor {
  position: absolute;
  z-index: 6;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.65), 0 6px 16px rgba(38, 33, 26, 0.35);
  opacity: 0;
  left: 0; top: 0;
  transition: transform 0.8s var(--ease), opacity 0.4s var(--ease);
  pointer-events: none;
}
.dcursor--on { opacity: 1; }
.dcursor--click { animation: clickpulse 0.35s var(--ease); }
@keyframes clickpulse { 50% { box-shadow: 0 0 0 9px rgba(46, 111, 214, 0.25), 0 6px 16px rgba(38, 33, 26, 0.35); } }

@media (max-width: 1080px) {
  .s8 { background: linear-gradient(180deg, #F1EADB 0%, var(--porcelain) 40%, #EFE8D9 100%); }
  .s8__inner { grid-template-columns: 1fr; padding: 80px 0; }
  .dfiles { display: none; }
}

/* ── Screen 09 · People — the drive becomes the org ──────────────────────
   Seven person cards on a small tree; connectors draw in; the new hire
   arrives ringed, onboarding, then simply on the team. */
.s9 {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.s9__inner {
  width: min(1200px, calc(100vw - 2 * var(--pad)));
  margin: 0 auto;
  padding: 120px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.s9__text { position: relative; z-index: 2; }
.dorg {
  position: relative;
  width: min(520px, 100%);
  height: 460px;
  margin-left: auto;
}
.dorg__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: rgba(38, 33, 26, 0.18);
  stroke-width: 1.5;
}
.dorg__lines path {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  transition: stroke-dashoffset 0.9s var(--ease) 0.7s;
}
.dorg--set .dorg__lines path { stroke-dashoffset: 0; }
.pc {
  position: absolute;
  width: 150px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px -20px rgba(38, 33, 26, 0.3);
  padding: 14px 14px 12px;
  opacity: 0;
  transform-origin: top left;
  transition: opacity 0.5s var(--ease) calc(var(--i) * 55ms),
              transform 0.75s var(--ease) calc(var(--i) * 55ms),
              background 0.75s var(--ease) calc(var(--i) * 55ms),
              border-radius 0.75s var(--ease) calc(var(--i) * 55ms),
              box-shadow 0.5s var(--ease);
}
.dorg--in .pc { opacity: 1; }
.pc > * { opacity: 0; transition: opacity 0.45s var(--ease) calc(0.55s + var(--i) * 55ms); }
.dorg--set .pc > * { opacity: 1; }
.pc .bar__av { width: 28px; }
.pc b { display: block; font-family: var(--lux); font-weight: 500; font-size: 13.5px; color: var(--ink); margin-top: 9px; white-space: nowrap; }
.pc span { display: block; font-size: 11px; font-weight: 300; color: var(--ink-50); margin-top: 2px; }
/* the new hire: ringed on arrival, then simply one of the team */
.dorg--set .pc--new { box-shadow: 0 0 0 2px var(--blue), 0 16px 38px -20px rgba(38, 33, 26, 0.35); }
.dorg--settled .pc--new { box-shadow: 0 16px 38px -20px rgba(38, 33, 26, 0.3); }
.pc__chip {
  position: absolute;
  left: 12px;
  bottom: -10px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  padding: 4px 8px;
  transition: background 0.4s var(--ease);
}
.dorg--settled .pc__chip { background: #1b7e3a; }

@media (max-width: 1080px) {
  .s9 { background: linear-gradient(180deg, #EFE8D9 0%, var(--porcelain) 40%, #F1EADB 100%); }
  .s9__inner { grid-template-columns: 1fr; padding: 80px 0; }
  .dorg { display: none; }
}

/* ── Screen 10 · Finance — the org becomes the invoice ───────────────────
   Seven person cards fly into one printed invoice: header, client, three
   line items, the total, the status row. Sent, then paid. */
.s10 {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.s10__inner {
  width: min(1200px, calc(100vw - 2 * var(--pad)));
  margin: 0 auto;
  padding: 120px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.s10__text { position: relative; z-index: 2; }
.dinv {
  position: relative;
  width: min(460px, 100%);
  margin-right: auto;
  padding: 34px 36px 30px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0);
  box-shadow: 0 30px 70px -30px rgba(38, 33, 26, 0);
  transition: background 0.7s var(--ease) 0.5s, border-color 0.7s var(--ease) 0.5s,
              box-shadow 0.7s var(--ease) 0.5s;
}
.dinv--in {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 70px -30px rgba(38, 33, 26, 0.38);
}
.iv {
  display: flex;
  align-items: baseline;
  gap: 12px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease) calc(0.35s + var(--i) * 70ms),
              transform 0.7s var(--ease) calc(0.35s + var(--i) * 70ms);
}
.dinv--in .iv { opacity: 1; transform: none; }
/* the carriers: seven avatars leave the org tree and dock on the paper */
.dinv__team { display: flex; align-items: center; gap: 7px; padding-bottom: 16px; }
.dinv__team small {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--ink-50);
  margin-right: 6px;
  opacity: 0;
  transition: opacity 0.45s var(--ease) 0.55s;
}
.dinv--set .dinv__team small { opacity: 1; }
.dinv__team .bar__av {
  width: 22px;
  flex: 0 0 22px;
  height: 22px;
  font-size: 8.5px;
  opacity: 0;
  transition: opacity 0.4s var(--ease) calc(var(--i) * 55ms),
              transform 0.8s var(--ease) calc(var(--i) * 55ms);
}
.dinv--in .dinv__team .bar__av { opacity: 1; }
.iv > * { opacity: 0; transition: opacity 0.45s var(--ease) calc(0.55s + var(--i) * 55ms); }
.dinv--set .iv > * { opacity: 1; }
/* header: the word, the number, the date */
.iv--head { align-items: center; padding-bottom: 18px; }
.iv--head b { font-family: var(--lux); font-weight: 500; font-size: 26px; letter-spacing: 0.02em; color: var(--ink); }
.iv--head i { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--gold); }
.iv--head em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ink-50); margin-left: auto; }
/* billed to */
.iv--to { display: block; padding: 16px 0 18px; border-top: 1px solid rgba(38, 33, 26, 0.12); }
.iv--to small { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.16em; color: var(--ink-50); }
.iv--to b { display: block; font-family: var(--lux); font-weight: 500; font-size: 16px; color: var(--ink); margin-top: 6px; }
.iv--to span { display: block; font-size: 12.5px; font-weight: 300; color: var(--ink-50); margin-top: 3px; }
/* line items */
.iv--line { padding: 11px 0; border-top: 1px solid rgba(38, 33, 26, 0.08); }
.iv--line span { font-size: 13.5px; font-weight: 300; color: var(--ink); }
.iv--line b { margin-left: auto; font-family: var(--mono); font-weight: 400; font-size: 12.5px; color: var(--ink); }
/* the total */
.iv--total { padding: 14px 0 16px; border-top: 1px solid rgba(38, 33, 26, 0.18); }
.iv--total span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-50); }
.iv--total b { margin-left: auto; font-family: var(--lux); font-weight: 600; font-size: 22px; color: var(--ink); }
/* status: perforation above, chip + note. Paid = the chip turns green. */
.iv--status { align-items: center; padding-top: 16px; border-top: 1px dashed rgba(38, 33, 26, 0.22); }
.iv__chip {
  font-style: normal;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  padding: 4px 9px;
  transition: background 0.4s var(--ease);
}
.dinv--paid .iv__chip { background: #1b7e3a; }
.iv__note { font-style: normal; margin-left: auto; font-size: 11px; font-weight: 300; color: var(--ink-50); }

@media (max-width: 1080px) {
  .s10 { background: linear-gradient(180deg, #EFE8D9 0%, var(--porcelain) 40%, #F1EADB 100%); }
  .s10__inner { grid-template-columns: 1fr; padding: 80px 0; }
  .dinv { display: none; }
}

/* ── Screen 11 · Control — the invoice folds into the settings panel ─────
   Same paper, different authority: five governed rows, one live switch,
   and the audit strip that records the flip in front of you. */
.s11 {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.s11__inner {
  width: min(1200px, calc(100vw - 2 * var(--pad)));
  margin: 0 auto;
  padding: 120px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.s11__text { position: relative; z-index: 2; }
.s11__inner { perspective: 1400px; }
.dctl {
  position: relative;
  width: min(460px, 100%);
  margin-left: auto;
  padding: 34px 36px 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0);
  box-shadow: 0 30px 70px -30px rgba(38, 33, 26, 0);
  transform-origin: top center;
  transition: transform 0.9s var(--ease),
              background 0.7s var(--ease) 0.35s, border-color 0.7s var(--ease) 0.35s,
              box-shadow 0.7s var(--ease) 0.35s;
}
.dctl--in {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 70px -30px rgba(38, 33, 26, 0.38);
}
.cr {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease) calc(0.3s + var(--i) * 70ms),
              transform 0.7s var(--ease) calc(0.3s + var(--i) * 70ms);
}
.dctl--in .cr { opacity: 1; transform: none; }
.cr > * { opacity: 0; transition: opacity 0.45s var(--ease) calc(0.55s + var(--i) * 55ms); }
.dctl--set .cr > * { opacity: 1; }
.cr--head { padding-bottom: 16px; }
.cr--head b { font-family: var(--lux); font-weight: 500; font-size: 26px; letter-spacing: 0.02em; color: var(--ink); }
.cr--head i { font-style: normal; margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--gold); }
.cr + .cr { border-top: 1px solid rgba(38, 33, 26, 0.08); }
.cr span { font-size: 13.5px; font-weight: 300; color: var(--ink); }
.cr { padding: 12px 0; }
.cr--head { padding-top: 0; }
.cr__tag {
  margin-left: auto;
  font-style: normal;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--ink-50);
  border: 1px solid rgba(38, 33, 26, 0.18);
  border-radius: 999px;
  padding: 4px 9px;
}
.cr__tag--on { color: #1b7e3a; border-color: rgba(27, 126, 58, 0.35); }
/* the switch: a real toggle, blue when on, bone when flipped off */
.sw {
  margin-left: auto;
  flex: 0 0 34px;
  width: 34px;
  height: 19px;
  border-radius: 999px;
  background: var(--sand);
  position: relative;
  transition: background 0.35s var(--ease);
}
.sw u {
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(38, 33, 26, 0.3);
  transition: left 0.35s var(--ease);
}
.sw--on { background: var(--blue); }
.sw--on u { left: 17.5px; }
/* the audit strip: dashed perforation, mono ledger lines */
.cr--log { display: block; padding: 14px 0 0; border-top: 1px dashed rgba(38, 33, 26, 0.22) !important; }
.cr--log small { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.16em; color: var(--ink-50); margin-bottom: 8px; }
.cr--log p { display: flex; gap: 12px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em; color: var(--ink-50); padding: 3px 0; }
.cr--log p span:last-child { margin-left: auto; }
.cr--log p span:nth-child(2) { margin-left: auto; }
.cr--log p span:last-child { margin-left: 0; }
/* the line the beat writes: hidden until the switch is flipped */
.cr__new { max-height: 0; overflow: hidden; opacity: 0 !important; transition: max-height 0.4s var(--ease), opacity 0.4s var(--ease) !important; }
.dctl--flip .cr__new { max-height: 26px; opacity: 1 !important; color: #1b7e3a; }
.dctl--set .cr--log .cr__new { transition: max-height 0.4s var(--ease), opacity 0.4s var(--ease) !important; }

@media (max-width: 1080px) {
  .s11 { background: linear-gradient(180deg, #EFE8D9 0%, var(--porcelain) 40%, #F1EADB 100%); }
  .s11__inner { grid-template-columns: 1fr; padding: 80px 0; }
  .dctl { display: none; }
}

/* ── Screen 12 · Who it's for — three readers, one by one ────────────────
   A different act: centered type, no artifact, no engine. Each block
   holds its own screen-moment. */
.s12 {
  position: relative;
  z-index: 5;
  padding: 140px 0 60px;
  /* flat porcelain: the journey scenes are baked onto this exact color,
     so they sit on the page with no visible frame */
  background: var(--porcelain);
}
/* the chapter card: one full screen, gold lines drawing behind the title */
.s12__title {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.s12__title h2 {
  position: relative;
  z-index: 1;
  font-family: var(--lux);
  font-weight: 500;
  font-size: clamp(44px, 5.6vw, 88px);
  letter-spacing: 0.04em;
  color: var(--ink);
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease) 0.2s, transform 1s var(--ease) 0.2s;
}
.s12__title.who--in h2 { opacity: 1; transform: none; }
.s12t__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* the plan sheet behind: faint blueprint grid, drifting like a held drawing */
.s12t__bg {
  position: absolute;
  inset: -4% -6%;
  width: 112%;
  height: 108%;
  pointer-events: none;
  fill: none;
  stroke: rgba(125, 98, 46, 0.13);
  stroke-width: 1;
  opacity: 0;
  transition: opacity 1.4s var(--ease) 0.3s;
}
.s12__title.who--in .s12t__bg {
  opacity: 1;
  animation: s12t-drift 34s ease-in-out infinite alternate;
}
@keyframes s12t-drift {
  from { transform: translate(-1.4%, 0.6%); }
  to   { transform: translate(1.4%, -0.6%); }
}
/* film-frame corners: they draw in once and hold */
.s12t__corner {
  stroke: rgba(125, 98, 46, 0.55);
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: none;
}
.s12__title.who--in .s12t__lines .s12t__corner {
  animation: s12t-corner 1.1s var(--ease) 0.35s forwards;
}
@keyframes s12t-corner { to { stroke-dashoffset: 0; } }
.s12t__c { position: relative; z-index: 1; display: grid; justify-items: center; }
.s12t__rule {
  display: block;
  width: 96px;
  height: 1px;
  margin-top: 30px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 1s var(--ease) 0.75s;
}
.s12__title.who--in .s12t__rule { transform: scaleX(1); }
.s12t__lines path {
  fill: none;
  stroke: rgba(125, 98, 46, 0.3);
  stroke-width: 1;
  stroke-dasharray: 1700;
  stroke-dashoffset: 1700;
}
/* the background lives: each line draws, rests, and undraws on a slow loop */
.s12__title.who--in .s12t__lines path:not(.s12t__corner) { animation: s12t-draw 11s var(--ease) infinite; }
.s12__title.who--in .s12t__lines path:nth-child(2) { animation-delay: 1.4s; }
.s12__title.who--in .s12t__lines path:nth-child(3) { animation-delay: 2.9s; }
.s12__title.who--in .s12t__lines path:nth-child(4) { animation-delay: 4.1s; }
.s12__title.who--in .s12t__lines path:nth-child(5) { animation-delay: 5.6s; }
.s12__title.who--in .s12t__lines path:nth-child(6) { animation-delay: 7.2s; }
@keyframes s12t-draw {
  0%   { stroke-dashoffset: 1700; }
  32%  { stroke-dashoffset: 0; }
  62%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1700; }
}
@media (prefers-reduced-motion: reduce) {
  .s12__title.who--in .s12t__lines path { animation: none; stroke-dashoffset: 0; }
}
.who {
  min-height: 96svh;
  width: min(1160px, calc(100vw - 2 * var(--pad)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.who--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.who--flip .who__img { order: 2; }
/* the page draws the scene's own blueprint lines outward around it */
.who { position: relative; }
.who__img, .who__txt { position: relative; z-index: 1; }
.who__lines {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: min(760px, 100%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.who--flip .who__lines { transform: translate(-50%, -50%) scaleX(-1); }
.who__lines path {
  fill: none;
  stroke: rgba(125, 98, 46, 0.38);
  stroke-width: 1;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
}
.who--in .who__lines path { stroke-dashoffset: 0; }
.who__lines path:nth-child(1) { transition: stroke-dashoffset 1.7s var(--ease) 0.5s; }
.who__lines path:nth-child(2) { transition: stroke-dashoffset 1.7s var(--ease) 0.72s; }
.who__lines path:nth-child(3) { transition: stroke-dashoffset 1.4s var(--ease) 0.92s; }
/* the scenes are borderless: their cream dissolves into the page itself */
.who__img { margin: 0; }
.who__img img {
  display: block;
  width: min(430px, 36vw);
  height: auto;
  margin: 0 auto;
  opacity: 0;
  transform: scale(0.975);
  transition: opacity 0.9s var(--ease), transform 1.2s var(--ease);
}
.who--in .who__img img {
  opacity: 1;
  transform: none;
  animation: who-breathe 16s var(--ease) 1.2s infinite alternate;
}
/* the little effect: the scene breathes, slow enough to feel rather than see */
@keyframes who-breathe {
  from { transform: scale(1); }
  to   { transform: scale(1.045); }
}
@media (prefers-reduced-motion: reduce) {
  .who--in .who__img img { animation: none; }
}
.who__txt > * {
  opacity: 0;
  transform: translateY(14px);
}
.who__txt > *:nth-child(1) { transition: opacity 0.6s var(--ease) 0.15s, transform 0.8s var(--ease) 0.15s; }
.who__txt > *:nth-child(2) { transition: opacity 0.6s var(--ease) 0.29s, transform 0.8s var(--ease) 0.29s; }
.who__txt > *:nth-child(3) { transition: opacity 0.6s var(--ease) 0.43s, transform 0.8s var(--ease) 0.43s; }
.who--in .who__txt > * { opacity: 1; transform: none; }
.who__over { justify-content: flex-start; gap: 0.5em; }
.who__line {
  margin-top: 22px;
  font-family: var(--lux);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 23px);
  color: var(--ink);
}
.who__p {
  margin-top: 14px;
  max-width: 44ch;
  font-size: var(--text);
  font-weight: 300;
  color: var(--ink-70);
}
@media (max-width: 1080px) {
  .s12__title { min-height: 62svh; }
  .who { grid-template-columns: 1fr; min-height: 0; padding: 48px 0; gap: 28px; }
  .who__lines { display: none; }
  .who--flip .who__img { order: 0; }
  .who__img img { width: min(340px, 76vw); }
  .who__txt { text-align: center; }
  .who p { margin-left: auto; margin-right: auto; }
  .s12 { padding-top: 100px; }
}

/* ── Scroll settle: the page always comes to rest on a chapter ───────────
   Mandatory snap on the desktop story: every flick lands a composed frame,
   never a half-turned one. The reader blocks land centered, one by one.
   Small screens read as a normal page, so they stay free. */
@media (min-width: 1081px) {
  html { scroll-snap-type: y mandatory; }
  .stage, .s2, .s3, .s4, .s5, .s6, .s7, .s8, .s9, .s10, .s11 {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
  .who { scroll-snap-align: center; }
  .s12__title { scroll-snap-align: start; }
  .s13__net { scroll-snap-align: start; }
  .s14 { scroll-snap-align: start; }
  .vfoot { scroll-snap-align: end; }
}

/* ── Screen 13 · The Network — the lines from every desk meet ────────────
   Chapter card reuses the s12 title treatment; the overline THE sits
   small above the monument. Then the web: three small scenes, gold lines
   growing between them, nodes lighting at the joins. */
.s13t__over {
  font-family: var(--lux);
  font-weight: 600;
  font-size: clamp(12px, 1.1vw, 16px);
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  color: var(--ink);
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease) 0.12s, transform 0.9s var(--ease) 0.12s;
}
.s12__title.who--in .s13t__over { opacity: 1; transform: none; }
.s13__net {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--porcelain);
  padding: 40px 0 70px;
}
.s13 { background: var(--porcelain); }
.s13__stage {
  position: relative;
  width: min(1200px, calc(100vw - 2 * var(--pad)));
  height: min(560px, 58svh);
}
.s13__web {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.s13__web path {
  fill: none;
  stroke: rgba(125, 98, 46, 0.45);
  stroke-width: 1;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}
.s13__net.who--in .s13__web path { stroke-dashoffset: 0; }
.s13__web path:nth-of-type(1) { transition: stroke-dashoffset 1.3s var(--ease) 0.75s; }
.s13__web path:nth-of-type(2) { transition: stroke-dashoffset 1.3s var(--ease) 0.95s; }
.s13__web path:nth-of-type(3) { transition: stroke-dashoffset 1.5s var(--ease) 1.15s; }
.s13__web path:nth-of-type(4) { transition: stroke-dashoffset 1.3s var(--ease) 1.35s; }
/* the joins: people light up where lines meet */
.s13__node {
  fill: var(--blue);
  stroke: none;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  transition: transform 0.45s var(--ease);
}
.s13__net.who--in .s13__node { transform: scale(1); }
.s13__net.who--in .s13__node:nth-of-type(1) { transition-delay: 1.9s; }
.s13__net.who--in .s13__node:nth-of-type(2) { transition-delay: 2.05s; }
.s13__net.who--in .s13__node:nth-of-type(3) { transition-delay: 2.2s; }
.s13__mini {
  position: absolute;
  margin: 0;
  width: clamp(150px, 16vw, 210px);
  opacity: 0;
  transform: translateY(16px);
}
.s13__mini img { width: 100%; height: auto; display: block; }
.s13__mini--a { left: 6%; top: 18%; }
.s13__mini--b { left: 41%; top: 4%; }
.s13__mini--c { right: 6%; top: 22%; }
.s13__net.who--in .s13__mini { opacity: 1; transform: none; }
.s13__net.who--in .s13__mini--a { transition: opacity 0.7s var(--ease) 0.1s, transform 0.9s var(--ease) 0.1s; }
.s13__net.who--in .s13__mini--b { transition: opacity 0.7s var(--ease) 0.28s, transform 0.9s var(--ease) 0.28s; }
.s13__net.who--in .s13__mini--c { transition: opacity 0.7s var(--ease) 0.46s, transform 0.9s var(--ease) 0.46s; }
.s13__mini { transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.s13__txt { text-align: center; max-width: 760px; padding: 0 var(--pad); }
.s13__line {
  font-family: var(--lux);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.2;
  color: var(--ink);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease) 1.7s, transform 0.9s var(--ease) 1.7s;
}
.s13__sub {
  margin-top: 12px;
  font-size: var(--text);
  font-weight: 300;
  color: var(--ink-70);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease) 1.95s, transform 0.9s var(--ease) 1.95s;
}
.s13__net.who--in .s13__line, .s13__net.who--in .s13__sub { opacity: 1; transform: none; }
.s13__cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease) 2.2s, transform 0.9s var(--ease) 2.2s;
}
.s13__net.who--in .s13__cta { opacity: 1; transform: none; }
.s13__cta span { font-size: var(--text-sm); font-weight: 300; color: var(--ink-50); }
@media (max-width: 1080px) {
  .s13__net { min-height: 0; padding: 70px 0; }
  .s13__stage { height: auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
  .s13__web { display: none; }
  .s13__mini { position: static; width: min(300px, 70vw); }
  .s13__txt { margin-top: 24px; }
}

/* ── Screen 14 · Closer + footer ─────────────────────────────────────────
   The hero sentence returns in the hero's own face; two asks, then the
   quiet colophon mirroring the live site's footer. */
.s14 {
  min-height: 92svh;
  display: flex;
  align-items: center;
  background: var(--porcelain);
  padding: 60px var(--pad);
}
.s14__inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(36px, 5vw, 90px);
  align-items: center;
}
.s14__c { text-align: left; }
/* the ticket, back where we started, resting in the flow */
.ticket--closer {
  position: relative;
  right: auto;
  top: auto;
  transform: none;
  margin: 0 0 0 auto;
  opacity: 1;
}
.ticket--closer .ticket__menu a { pointer-events: auto; }
.s14__stamp { display: none; }
.ticket__stampline {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gold);
}
@media (max-width: 1080px) {
  .s14__inner { grid-template-columns: 1fr; }
  .s14__c { text-align: center; }
  .ticket--closer { margin: 0 auto; }
}
.s14__h {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(42px, 5vw, 84px);
  line-height: 1.04;
  color: var(--ink);
}
.s14__sub {
  margin: 26px 0 0;
  max-width: 44ch;
  font-size: var(--text);
  font-weight: 300;
  color: var(--ink-70);
}
.s14__cta {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
@media (max-width: 1080px) { .s14__cta { justify-content: center; } }
.s14__ghost {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid rgba(38, 33, 26, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.25s var(--ease);
}
.s14__ghost:hover { border-color: var(--ink); }
.s14__ghost span { display: inline-block; transition: transform 0.25s var(--ease); }
.s14__ghost:hover span { transform: translateX(3px); }
/* network facts: three quiet verified rows */
.s13__facts {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 8px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease) 2.05s, transform 0.9s var(--ease) 2.05s;
}
.s13__net.who--in .s13__facts { opacity: 1; transform: none; }
.s13__facts li {
  font-size: clamp(16.5px, 1.4vw, 19.5px);
  font-weight: 300;
  color: var(--ink-70);
}
/* footer */
.vfoot {
  background: var(--porcelain);
  border-top: 1px solid rgba(38, 33, 26, 0.12);
  padding: 64px var(--pad) 34px;
}
.vfoot__grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
}
.vfoot__brand img { display: block; margin-left: -8px; }
.vfoot__brand p {
  margin-top: 16px;
  max-width: 30ch;
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--ink-70);
}
.vfoot__brand > a {
  display: inline-block;
  margin-top: 12px;
  font-size: var(--text-sm);
  color: var(--ink);
  border-bottom: 1px solid rgba(38, 33, 26, 0.3);
}
.vfoot__h {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 14px;
}
.vfoot__col { display: grid; align-content: start; gap: 9px; }
.vfoot__col a {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--ink-70);
  transition: color 0.2s;
  justify-self: start;
}
.vfoot__col a:hover { color: var(--ink); }
.vfoot__base {
  width: min(1200px, 100%);
  margin: 46px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(38, 33, 26, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--ink-50);
}
.vfoot__base a { color: inherit; }
.vfoot__base a:hover { color: var(--ink); }
.vfoot__legal { display: flex; gap: 18px; }
@media (max-width: 1080px) {
  .vfoot__grid { grid-template-columns: 1fr 1fr; }
  .s14 { min-height: 70svh; }
}
@media (max-width: 560px) {
  .vfoot__grid { grid-template-columns: 1fr; }
}

/* mail-row anatomy: avatar, sender, subject with snippet, chip, time.
   Used by the seven's mail pose and the small-screen fallback rows. */
.bar__av {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-family: var(--lux);
  font-weight: 600;
  font-size: 10.5px;
  color: var(--ink);
  background: color-mix(in srgb, var(--pb-c, var(--bar-c, #D9C7A6)) 55%, #FFFFFF);
}
.bar__av--a { background: var(--blue); color: #fff; }
.bar__who {
  flex: 0 0 118px;
  font-weight: 400;
  font-size: 14.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bar__who--new::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-right: 7px;
  vertical-align: 2px;
}
.bar__sub {
  flex: 1;
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-50);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bar__sub strong { font-weight: 400; color: var(--ink); }
.bar__pdf {
  flex: 0 0 auto;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--ink-50);
  border: 1px solid rgba(38, 33, 26, 0.22);
  border-radius: 999px;
  padding: 3px 8px;
}
.bar__time {
  flex: 0 0 auto;
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-50);
}
/* ask furniture shared with the fallback */
.ask__spark { font-style: normal; color: var(--blue); font-size: 15px; }
.ask__q { font-size: 15.5px; font-weight: 300; color: var(--ink); white-space: nowrap; overflow: hidden; }
.ask__caret { width: 1.5px; height: 18px; background: var(--blue); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.ask__src { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.ask__src span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid rgba(125, 98, 46, 0.3);
  border-radius: 999px;
  padding: 4px 10px;
}

/* the film bows out while the bars own the stage */


@media (max-width: 1080px) {
  .s3 { background: linear-gradient(180deg, #EFE8D9 0%, var(--porcelain) 40%, #F1EADB 100%); }
  .s3__inner { grid-template-columns: 1fr; padding: 80px 0; }
  .bars { height: auto; opacity: 1; }
  .bar { position: static; width: 100%; height: 58px; border-radius: 13px; transform: none;
    background: rgba(255, 255, 255, 0.66); border-left: 5px solid var(--bar-c);
    margin-bottom: 12px; box-shadow: 0 14px 30px -16px rgba(38, 33, 26, 0.25); }
  .bar__c { opacity: 1; }
}

.mfall { display: none; }
@media (max-width: 1080px) {
  .pbstage { display: none; }
  .slot { display: none; }
  .mfall { display: block; }
  .mfall--ask .mfall__pill {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.78); border-radius: 999px;
    padding: 15px 20px; margin-bottom: 12px; font-size: 15px; color: var(--ink);
    box-shadow: 0 16px 40px -20px rgba(38,33,26,0.3);
  }
  .mfall--ask .mfall__card {
    background: rgba(255,255,255,0.7); border-radius: 16px; padding: 18px 20px;
    box-shadow: 0 16px 40px -20px rgba(38,33,26,0.25);
  }
  .mfall--ask .mfall__card p { font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--ink); }
  .mrow {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.66); border-radius: 13px;
    padding: 14px 16px; margin-bottom: 12px; overflow: hidden; white-space: nowrap;
    box-shadow: 0 14px 30px -16px rgba(38,33,26,0.22);
  }
}

/* screen-02 reveals ride their own observer */
.js .rv2 { opacity: 0; transform: translateY(18px); }
.js .rv2.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease) var(--rd, 0s), transform 0.9s var(--ease) var(--rd, 0s);
}

/* ── Entry ──────────────────────────────────────────────────────────────── */
.js .rv { opacity: 0; transform: translateY(14px); }
.js .ticket.rv { transform: translateY(calc(-50% + 14px)); }
.js .rv.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease) var(--rd, 0s), transform 0.9s var(--ease) var(--rd, 0s);
}
.js .ticket.rv.in { transform: translateY(-50%); }
.js .world { opacity: 0; }
.js .world.in { opacity: 1; transition: opacity 1.6s var(--ease) 0.05s; }

/* ── Small screens ──────────────────────────────────────────────────────── */
@media (max-width: 1360px) and (min-width: 1081px) {
  .film { left: 57%; width: 68%; height: 104%; }
}

/* ── Stacked layout: phones, tablets, narrow windows ─────────────────────
   The film stops being a backdrop and becomes its own band in the flow:
   headline, then the sculpture breathing in a strip, then the ticket. */
@media (max-width: 1080px) {
  body { overflow: auto; background: var(--porcelain); }
  .film { position: relative; z-index: 0; }
  .stage {
    height: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding: 100px var(--pad) 84px;
    overflow: visible;
  }
  .hero { position: static; transform: none; max-width: 34em; order: 1; }
  .film {
    position: relative;
    order: 2;
    left: 0; top: 0;
    transform: none;
    width: calc(100% + 2 * var(--pad));
    height: clamp(240px, 42vh, 420px);
    margin: 6px calc(-1 * var(--pad)) 30px;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  }
  .ticket {
    position: static;
    order: 3;
    transform: none;
    width: min(360px, 100%);
    margin: 0 auto;
  }
  .js .ticket.rv { transform: translateY(14px); }
  .js .ticket.rv.in { transform: none; }
  .meta { position: static; order: 4; margin-top: 26px; }
  .meta--br { display: none; }
}

@media (max-width: 560px) {
  .film { height: clamp(200px, 32vh, 300px); }
  .hero__h { font-size: clamp(34px, 9vw, 44px); }
}

@media (max-height: 800px) and (min-width: 1081px) {
  .ticket { padding: 16px 20px 14px; }
  .ticket__menu a { padding: 3px 0; font-size: 13px; }
  .ticket__rule { margin: 10px 0; }
  .ticket__head { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .rv, .js .world { opacity: 1; transform: none; }
  .js .ticket.rv { transform: translateY(-50%); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PHONE
   Two things were wrong on a real handset. The mobile fallback rows kept the
   desktop mail-row anatomy, whose `white-space: nowrap` gives them a 562px
   minimum width: a grid column cannot shrink below its content's minimum, so
   every section — and with it the whole document — was 583px wide inside a
   430px viewport, which is the sideways slide. And below 900px the nav was
   simply hidden with nothing put in its place, so the header held a CTA and no
   way to reach any other page.
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  /* nothing may impose a minimum wider than its column */
  .s2__inner, .s3__inner, .s4__inner, .s5__inner, .s6__inner, .s7__inner,
  .s8__inner, .s9__inner, .s10__inner, .s11__inner, .s14__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .mfall { min-width: 0; }
  .mfall .mrow, .mfall .mcb, .mfall__pill, .mfall__card {
    white-space: normal;
    min-width: 0;
  }
  .mfall .mrow {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 10px;
    align-items: start;
  }
  .mfall .mrow .bar__av { grid-row: span 2; }
  .mfall .bar__who,
  .mfall .bar__sub,
  .mfall .bar__time,
  .mfall .mrow strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .mfall .bar__sub { margin-left: 0; }
  .mfall .bar__time { grid-column: 2; font-size: 10px; }
  .mfall .bar__pdf { display: none; }
}

@media (max-width: 900px) {
  /* the hero is absolutely positioned, so on a phone it must be told both
     edges or it sizes to its content and hangs off the right */
  .hero {
    left: var(--pad);
    right: var(--pad);
    max-width: none;
  }
  .hero__mark { margin-left: calc(min(300px, 74vw) * -0.096); }
  .hero__mark img { width: min(300px, 74vw); }
  .hero__h { font-size: clamp(30px, 8.2vw, 44px); }
  .ticket { display: none; }
  .hero__cue { bottom: 92px; }
}

/* ── the phone menu ─────────────────────────────────────────────────────── */
.navtoggle { display: none; }
@media (max-width: 900px) {
  .top { height: 68px; }
  .top .pill { display: none; }
  .navtoggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0 9px;
    border: none;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .navtoggle i {
    display: block;
    height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  }
  .navtoggle[aria-expanded="true"] i:first-child { transform: translateY(3.75px) rotate(45deg); }
  .navtoggle[aria-expanded="true"] i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .mnav {
    position: fixed;
    inset: 0;
    z-index: 65;
    background: var(--porcelain);
    padding: 84px var(--pad) calc(28px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0s 0.35s;
  }
  .mnav--on {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
  }
  .mnav a {
    font-family: var(--lux);
    font-weight: 500;
    font-size: 26px;
    line-height: 1.1;
    color: var(--ink);
    padding: 13px 0;
    border-bottom: 1px solid rgba(38, 33, 26, 0.1);
  }
  .mnav a.on { color: var(--gold); }
  .mnav .mnav__cta {
    margin-top: 26px;
    border: none;
    align-self: flex-start;
    font-family: var(--sans);
    font-size: var(--text-sm);
    color: #fff;
  }
  body.mnav-open { overflow: hidden; }
}

@media (max-width: 900px) {
  /* iOS zooms the page in when a focused field is under 16px */
  .cfield input, .cfield select, .cfield textarea { font-size: 16px; }
  /* the sticky ask sits above the header, so it must yield to the open menu */
  body.mnav-open .mcta { display: none; }
}
