/* AXLE site v3: the Vision Deck, on the web.
   Formative type, bone / charcoal / teal chapters, editorial layout, scroll scenes. */

@font-face {
  font-family: "Formative";
  src: url("/assets/fonts/Formative-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Formative";
  src: url("/assets/fonts/Formative-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Formative";
  src: url("/assets/fonts/Formative-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ── tokens ─────────────────────────────────────────────────────────── */
:root {
  --ink: #171613;
  --cream: #f2eeea;
  --bone: #dcd8d0;
  --paper: #d1cdc4;
  --char: #1d1d1d;
  --char-deep: #121211;
  --teal: #5a777e;
  --teal-mid: #41687a;
  --teal-deep: #1d3f51;
  --teal-ink: #12303d;
  --mist: #8fa6ae;
  --sage: #76837c;
  --signal: #e8643a;

  --type: "Formative", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* dark tone (default) */
  --fg: var(--cream);
  --fg-2: rgba(242, 238, 234, 0.74);
  --fg-3: rgba(242, 238, 234, 0.48);
  --fg-inv: var(--ink);
  --line: rgba(242, 238, 234, 0.26);
  --line-2: rgba(242, 238, 234, 0.13);
  --veil: rgba(22, 22, 20, 0.55);
  --glass: rgba(242, 238, 234, 0.08);
  --glass-edge: rgba(242, 238, 234, 0.16);

  --px: clamp(20px, 7.4vw, 176px);
  --gap: clamp(16px, 2vw, 32px);
  --nav-h: 72px;

  --fs-display-xl: clamp(2.85rem, 0.9rem + 6.3vw, 8.75rem);
  --fs-display: clamp(2.5rem, 1.15rem + 4.9vw, 7rem);
  --fs-h2: clamp(2rem, 1.1rem + 3vw, 4.4rem);
  --fs-h3: clamp(1.35rem, 1.02rem + 1vw, 2.1rem);
  --fs-lead: clamp(1.1rem, 0.88rem + 0.82vw, 1.75rem);
  --fs-body: clamp(1rem, 0.95rem + 0.22vw, 1.16rem);
  --fs-eyebrow: clamp(0.95rem, 0.84rem + 0.4vw, 1.4rem);
  --fs-caps: 0.78rem;
  --fs-fine: 0.8rem;

  --track-display: -0.04em;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* light tone: bone and paper chapters */
html[data-tone="light"],
.tone-light {
  --fg: var(--ink);
  --fg-2: rgba(23, 22, 19, 0.68);
  --fg-3: rgba(23, 22, 19, 0.46);
  --fg-inv: var(--cream);
  --line: rgba(23, 22, 19, 0.24);
  --line-2: rgba(23, 22, 19, 0.12);
  --veil: rgba(226, 222, 214, 0.62);
  --glass: rgba(255, 255, 255, 0.34);
  --glass-edge: rgba(23, 22, 19, 0.12);
}
.tone-dark {
  --fg: var(--cream);
  --fg-2: rgba(242, 238, 234, 0.74);
  --fg-3: rgba(242, 238, 234, 0.48);
  --fg-inv: var(--ink);
  --line: rgba(242, 238, 234, 0.26);
  --line-2: rgba(242, 238, 234, 0.13);
  --veil: rgba(22, 22, 20, 0.55);
  --glass: rgba(242, 238, 234, 0.08);
  --glass-edge: rgba(242, 238, 234, 0.16);
}

/* Without JS each chapter paints itself; with JS the fixed atmosphere does. */
html:not(.js) [data-chapter="bone"],
html:not(.js) [data-chapter="paper"] {
  --fg: var(--ink);
  --fg-2: rgba(23, 22, 19, 0.68);
  --fg-3: rgba(23, 22, 19, 0.46);
  --fg-inv: var(--cream);
  --line: rgba(23, 22, 19, 0.24);
  --line-2: rgba(23, 22, 19, 0.12);
  color: var(--fg);
}
html:not(.js) [data-chapter="bone"] {
  background: #dedad2;
}
html:not(.js) [data-chapter="paper"] {
  background: var(--paper);
}
html:not(.js) [data-chapter="char"] {
  background: var(--char);
  color: var(--cream);
}
html:not(.js) [data-chapter="teal"],
html:not(.js) [data-chapter="mist"],
html:not(.js) [data-chapter="sea"] {
  background: var(--teal);
  color: var(--cream);
}
html:not(.js) [data-chapter="deep"],
html:not(.js) [data-chapter="dusk"] {
  background: var(--teal-deep);
  color: var(--cream);
}

/* ── base ──────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  background: var(--char);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html[data-tone="light"] {
  color-scheme: light;
}
body {
  min-height: 100vh;
  font-family: var(--type);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--fg);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: color 0.7s var(--ease);
}
html:not(.js) body {
  background: var(--char);
}
img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
::selection {
  background: var(--teal-deep);
  color: var(--cream);
}
html[data-tone="light"] ::selection {
  background: var(--ink);
  color: var(--cream);
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 3px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 500;
  transition: top 0.25s var(--ease);
}
.skip-link:focus {
  top: 16px;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── atmosphere: the deck's backgrounds, crossfading by chapter ───── */
.atmos {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--char);
  pointer-events: none;
}
.atmos i {
  position: absolute;
  inset: -2%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.05s var(--ease);
}
.atmos i.on {
  opacity: 1;
}
.atmos i[data-k="bone"] {
  background-image:
    linear-gradient(rgba(242, 238, 234, 0.2), rgba(242, 238, 234, 0.2)),
    url("/assets/img/bg/bg-7.webp");
}
.atmos i[data-k="paper"] {
  background-image: url("/assets/img/bg/bg-1.webp");
}
.atmos i[data-k="char"] {
  background-image: url("/assets/img/bg/bg-3.webp");
}
.atmos i[data-k="teal"] {
  background-image: url("/assets/img/bg/bg-8.webp");
}
.atmos i[data-k="mist"] {
  background-image: url("/assets/img/bg/bg-4.webp");
}
.atmos i[data-k="sea"] {
  background-image: url("/assets/img/bg/bg-6.webp");
}
.atmos i[data-k="deep"] {
  background-image: url("/assets/img/bg/bg-9.webp");
}
.atmos i[data-k="dusk"] {
  background-image: url("/assets/img/bg/bg-5.webp");
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  opacity: 0.075;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── type ──────────────────────────────────────────────────────────── */
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.eyebrow--rule {
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow--rule::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.display-xl,
.display,
.h2,
.h3 {
  font-weight: 400;
  color: var(--fg);
  text-wrap: balance;
}
.display-xl {
  font-size: var(--fs-display-xl);
  line-height: 0.96;
  letter-spacing: var(--track-display);
}
.display {
  font-size: var(--fs-display);
  line-height: 0.99;
  letter-spacing: var(--track-display);
}
.h2 {
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-wrap: pretty;
}
.lead--muted,
.muted {
  color: var(--fg-2);
}
.body {
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
}
.body strong,
.lead strong {
  font-weight: 500;
  color: var(--fg);
}
.caps {
  font-size: var(--fs-caps);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--fg);
}
.caps--muted {
  color: var(--fg-3);
}
.fine {
  font-size: var(--fs-fine);
  line-height: 1.6;
  color: var(--fg-3);
}
.fine a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.nowrap {
  white-space: nowrap;
}
.prose p + p {
  margin-top: 1em;
}

/* ── layout ────────────────────────────────────────────────────────── */
main {
  position: relative;
  z-index: 1;
}
.wrap {
  padding-left: var(--px);
  padding-right: var(--px);
}
.chapter {
  position: relative;
  padding-top: clamp(110px, 17vh, 190px);
  padding-bottom: clamp(110px, 17vh, 190px);
}
.chapter--full {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.chapter--tight {
  padding-top: clamp(72px, 11vh, 120px);
  padding-bottom: clamp(72px, 11vh, 120px);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.8fr);
  column-gap: clamp(32px, 6.5vw, 132px);
  row-gap: 48px;
  align-items: start;
}
.split--even {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.split--center {
  align-items: center;
}
.stack {
  display: flex;
  flex-direction: column;
}
.stack > * + * {
  margin-top: var(--s, 24px);
}
.mt-s {
  margin-top: 16px;
}
.mt-m {
  margin-top: clamp(24px, 3vw, 40px);
}
.mt-l {
  margin-top: clamp(40px, 5.5vw, 84px);
}
.mt-xl {
  margin-top: clamp(64px, 9vw, 140px);
}
.maxw-s {
  max-width: 34rem;
}
.maxw-m {
  max-width: 44rem;
}
.maxw-l {
  max-width: 62rem;
}
@media (max-width: 900px) {
  .split,
  .split--even {
    grid-template-columns: 1fr;
  }
}

/* deck header strip at the top of a chapter */
.strip {
  position: absolute;
  top: clamp(84px, 11vh, 108px);
  left: var(--px);
  right: var(--px);
  display: grid;
  grid-template-columns: 7rem 1fr 1fr auto;
  gap: 16px;
  font-size: 12.5px;
  line-height: 1.2;
  color: var(--fg-3);
  pointer-events: none;
}
.strip-n {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) {
  .strip {
    grid-template-columns: 1fr auto;
  }
  .strip-brand,
  .strip-title {
    display: none;
  }
}

/* ── buttons and links ─────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  background: var(--fg);
  color: var(--fg-inv);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.4s var(--ease),
    background 0.5s var(--ease),
    color 0.5s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--teal-deep);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.btn:hover {
  color: var(--cream);
  transform: translateY(-1px);
}
.btn:hover::after {
  transform: translateY(0);
}
.btn--ghost {
  background: transparent;
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost::after {
  background: var(--fg);
}
.btn--ghost:hover {
  color: var(--fg-inv);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--fg);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 3px;
  transition: background-size 0.5s var(--ease);
}
.link-arrow:hover {
  background-size: 100% 1px;
}
.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.45s var(--ease);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 14px;
  background: var(--fg);
  color: var(--fg-inv);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.store:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}
.store svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.store span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.store small {
  font-size: 0.7rem;
  letter-spacing: 0.01em;
  opacity: 0.86;
}
.store b {
  font-size: 1.14rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

/* ── nav ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 var(--px);
  color: var(--fg);
  transition:
    transform 0.6s var(--ease),
    background 0.6s var(--ease),
    color 0.7s var(--ease);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--veil);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 -1px 0 var(--line-2);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.nav.is-scrolled::before {
  opacity: 1;
}
.nav.is-hidden {
  transform: translateY(-100%);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  width: 30px;
  height: auto;
  color: var(--fg);
}
.brand-word {
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  padding-top: 1px;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 40px);
}
.nav-links a {
  position: relative;
  font-size: 0.96rem;
  font-weight: 400;
  color: var(--fg-2);
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--fg);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav-cta {
  min-height: 42px;
  padding: 0 20px;
  font-size: 0.95rem;
}
.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 4px 0 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg);
}
.menu-btn i {
  position: relative;
  width: 22px;
  height: 10px;
}
.menu-btn i::before,
.menu-btn i::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition:
    transform 0.45s var(--ease),
    top 0.45s var(--ease);
}
.menu-btn i::before {
  top: 0;
}
.menu-btn i::after {
  top: 8.5px;
}
.menu-open .menu-btn i::before {
  top: 4.25px;
  transform: rotate(45deg);
}
.menu-open .menu-btn i::after {
  top: 4.25px;
  transform: rotate(-45deg);
}
@media (max-width: 980px) {
  .nav {
    grid-template-columns: auto 1fr auto;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
    justify-self: end;
    grid-column: 3;
  }
}

/* full-screen menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 28px) var(--px) 36px;
  background: var(--char-deep);
  color: var(--cream);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition:
    clip-path 0.7s var(--ease-io),
    visibility 0s linear 0.7s;
}
.menu-open .menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition:
    clip-path 0.7s var(--ease-io),
    visibility 0s;
}
.menu-open .nav {
  --fg: var(--cream);
  --fg-2: rgba(242, 238, 234, 0.74);
  --fg-inv: var(--ink);
}
.menu-open .nav::before {
  opacity: 0;
}
.menu-links {
  display: flex;
  flex-direction: column;
}
.menu-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(242, 238, 234, 0.12);
  font-size: clamp(2.1rem, 9vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.menu-links a small {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: rgba(242, 238, 234, 0.48);
}
.menu-open .menu-links a {
  opacity: 1;
  transform: none;
}
.menu-open .menu-links a:nth-child(1) {
  transition-delay: 0.18s;
}
.menu-open .menu-links a:nth-child(2) {
  transition-delay: 0.23s;
}
.menu-open .menu-links a:nth-child(3) {
  transition-delay: 0.28s;
}
.menu-open .menu-links a:nth-child(4) {
  transition-delay: 0.33s;
}
.menu-open .menu-links a:nth-child(5) {
  transition-delay: 0.38s;
}
.menu-open .menu-links a:nth-child(6) {
  transition-delay: 0.43s;
}
.menu-open .menu-links a:nth-child(7) {
  transition-delay: 0.48s;
}
.menu-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
html.menu-open,
html.menu-open body {
  overflow: hidden;
}

/* ── the mark ──────────────────────────────────────────────────────── */
.mark {
  display: block;
  width: 100%;
  height: auto;
  fill: currentColor;
}
.mark-giant {
  position: absolute;
  pointer-events: none;
  color: var(--fg);
}

/* ── media ─────────────────────────────────────────────────────────── */
.media {
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.12);
}
.media img,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--tall {
  aspect-ratio: 4 / 5;
}
.media--wide {
  aspect-ratio: 16 / 9;
}
.media--square {
  aspect-ratio: 1;
}
.caption {
  margin-top: 14px;
  font-size: var(--fs-fine);
  color: var(--fg-3);
}

/* device frame */
.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 640 / 1385;
  border-radius: 14% / 6.5%;
  padding: 3.2%;
  background: linear-gradient(145deg, #2c2c2b, #0d0d0c 55%, #232322);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 2px 0 rgba(255, 255, 255, 0.1) inset,
    0 50px 90px -30px rgba(0, 0, 0, 0.55),
    0 30px 60px -40px rgba(0, 0, 0, 0.6);
}
.phone::before {
  content: "";
  position: absolute;
  top: 4.4%;
  left: 50%;
  width: 29%;
  height: 3.1%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050505;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 11.4% / 5.3%;
  overflow: hidden;
  background: #0b0b0b;
  isolation: isolate;
}
.phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* glass chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--fg);
  background: var(--glass);
  box-shadow:
    inset 0 0 0 1px var(--glass-edge),
    0 18px 40px -18px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}
.chip b {
  font-weight: 500;
}
.chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(232, 100, 58, 0.18);
  flex: none;
}
.chip .dot--teal {
  background: #7fb3c3;
  box-shadow: 0 0 0 4px rgba(127, 179, 195, 0.2);
}
.chip .dot--cream {
  background: var(--cream);
  box-shadow: 0 0 0 4px rgba(242, 238, 234, 0.18);
}

/* deck list: label column + statement column */
.rows {
  border-top: 1px solid var(--line);
}
.row {
  display: grid;
  grid-template-columns: minmax(8rem, 13rem) 1fr;
  gap: 8px 32px;
  padding: clamp(18px, 2.2vw, 28px) 0;
  border-bottom: 1px solid var(--line-2);
}
.row dt,
.row .k {
  padding-top: 0.42em;
}
.row dd,
.row .v {
  font-size: var(--fs-lead);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.row dd small,
.row .v small {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-body);
  color: var(--fg-2);
  letter-spacing: 0;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .row {
    grid-template-columns: 1fr;
  }
  .row dt,
  .row .k {
    padding-top: 0;
  }
}

/* bullet list, deck style */
.ticks {
  list-style: none;
}
.ticks li {
  position: relative;
  padding-left: 1.2em;
}
.ticks li + li {
  margin-top: 0.35em;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.1em;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* index ledger */
.ledger {
  border-top: 1px solid var(--line);
}
.ledger-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-2);
}
.ledger-row .idx {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-3);
  padding-top: 0.25em;
  font-variant-numeric: tabular-nums;
}
.ledger-row h3 {
  font-size: var(--fs-h3);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.ledger-row p {
  margin-top: 8px;
  color: var(--fg-2);
}

/* stat */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 32px;
}
.stat .num {
  display: block;
  font-size: clamp(3rem, 1.6rem + 4.4vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stat .lbl {
  display: block;
  margin-top: 14px;
  max-width: 18rem;
  color: var(--fg-2);
}

/* columns of four (touchpoints) */
.cols4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 32px);
}
@media (max-width: 1100px) {
  .cols4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .cols4 {
    grid-template-columns: 1fr;
  }
}

/* photo tile */
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--fg);
}
.tile .media {
  aspect-ratio: 4 / 5;
}
.tile .media img {
  transform: scale(1.04);
  transition: transform 1.2s var(--ease);
}
.tile:hover .media img {
  transform: scale(1.1);
}
.tile .tile-k {
  margin-top: 20px;
}
.tile h3 {
  margin-top: 10px;
  font-size: var(--fs-h3);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.tile p {
  margin-top: 10px;
  color: var(--fg-2);
}
.tile .link-arrow {
  margin-top: 16px;
}

/* quote */
.quote {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 18ch;
}
.quote-sub {
  margin-top: 28px;
  text-align: center;
}

/* marquee */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  padding: 22px 0;
}
.marquee-track {
  display: inline-flex;
  gap: 56px;
  will-change: transform;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--fg-2);
}
.marquee-track span::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

/* ── reveal defaults (JS adds motion; content is visible without it) ── */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}
html.js.no-motion [data-reveal],
html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
html.js [data-reveal].is-in {
  transition:
    opacity 1s var(--ease),
    transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.split-line {
  overflow: clip;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

/* ── footer ────────────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: clamp(80px, 12vh, 140px) var(--px) 36px;
  background: var(--char-deep);
  color: var(--cream);
  --fg: var(--cream);
  --fg-2: rgba(242, 238, 234, 0.7);
  --fg-3: rgba(242, 238, 234, 0.46);
  --fg-inv: var(--ink);
  --line: rgba(242, 238, 234, 0.22);
  --line-2: rgba(242, 238, 234, 0.1);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
}
.footer-lede .h3 {
  max-width: 14ch;
}
.footer-lede .store {
  margin-top: 28px;
}
.footer-col h4 {
  font-size: var(--fs-caps);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--fg-2);
  transition: color 0.3s var(--ease);
}
.footer-col a:hover {
  color: var(--fg);
}
.footer-word {
  display: flex;
  align-items: flex-end;
  gap: clamp(16px, 2.4vw, 40px);
  margin-top: clamp(64px, 10vw, 140px);
  color: var(--cream);
}
.footer-word .mark {
  width: clamp(110px, 21vw, 380px);
  flex: none;
}
.footer-word span {
  font-size: clamp(5rem, 1rem + 19vw, 22rem);
  font-weight: 500;
  line-height: 0.74;
  letter-spacing: -0.06em;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
  font-size: var(--fs-fine);
  color: var(--fg-3);
}
.footer-legal p {
  max-width: 46rem;
}
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-lede {
    grid-column: 1 / -1;
  }
}

/* ── page hero (sub pages) ─────────────────────────────────────────── */
.page-hero {
  position: relative;
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 60px) var(--px) clamp(56px, 10vh, 110px);
}
.page-hero .display-xl,
.page-hero .display {
  max-width: 15ch;
}
.page-hero .lead {
  max-width: 36rem;
}
.page-hero--photo {
  color: var(--cream);
}
.page-hero--photo .hero-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.page-hero--photo .hero-photo img {
  width: 100%;
  height: 115%;
  object-fit: cover;
}
.page-hero--photo .hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(14, 14, 13, 0.35) 0%,
      rgba(14, 14, 13, 0) 30%,
      rgba(14, 14, 13, 0.15) 55%,
      rgba(14, 14, 13, 0.72) 100%
    ),
    linear-gradient(90deg, rgba(14, 14, 13, 0.45), rgba(14, 14, 13, 0) 60%);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-top: clamp(40px, 6vh, 72px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* ── HOME: hero with the orb ───────────────────────────────────────── */
.hero {
  position: relative;
  height: 230vh;
}
.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
#canvas-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}
#canvas-container canvas {
  display: block;
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: var(--px);
  top: 50%;
  transform: translateY(-50%);
  max-width: min(46rem, 52vw);
  will-change: opacity, transform;
}
.hero-copy .display-xl {
  margin-top: clamp(20px, 3vh, 34px);
  font-size: clamp(2.85rem, 1rem + 5.4vw, 7.6rem);
}
.hero-copy .lead {
  margin-top: clamp(20px, 3vh, 32px);
  max-width: 30rem;
  color: var(--fg-2);
}
.hero-copy .cta-row {
  margin-top: clamp(28px, 4.5vh, 48px);
}
.hero-caption {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 13vh;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  pointer-events: none;
}
.hero-caption .word {
  font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.hero-caption .tag {
  margin-top: 10px;
}
.hero-foot {
  position: absolute;
  z-index: 2;
  left: var(--px);
  right: var(--px);
  bottom: 26px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 12.5px;
  color: var(--fg-3);
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-cue .line {
  position: relative;
  width: 1px;
  height: 38px;
  overflow: hidden;
  background: var(--line-2);
}
.scroll-cue .line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 50%;
  background: var(--fg);
  animation: cue 2.6s var(--ease-io) infinite;
}
@keyframes cue {
  to {
    top: 110%;
  }
}
@media (max-width: 860px) {
  .hero-copy {
    top: auto;
    bottom: 12vh;
    transform: none;
    right: var(--px);
    max-width: none;
  }
  .hero-copy .display-xl {
    font-size: clamp(2.6rem, 11vw, 4.2rem);
  }
  .hero-caption {
    bottom: 44vh;
  }
  .hero-foot .scroll-cue {
    display: none;
  }
}

/* ── HOME: mark window zoom ────────────────────────────────────────── */
.markzoom {
  position: relative;
  height: 320vh;
}
.markzoom-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.markzoom-photo {
  position: absolute;
  inset: 0;
}
.markzoom-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
}
.markzoom-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 11, 0.1),
    rgba(12, 12, 11, 0.62)
  );
  opacity: var(--shade, 0);
}
.markzoom-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.markzoom-frame path {
  fill: var(--char);
}
.markzoom-copy {
  position: absolute;
  left: var(--px);
  top: 50%;
  transform: translateY(-50%);
  max-width: 34rem;
  z-index: 2;
}
.markzoom-after {
  position: absolute;
  inset: auto var(--px) clamp(56px, 12vh, 120px) var(--px);
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px clamp(32px, 6vw, 120px);
  align-items: end;
  color: var(--cream);
  opacity: 0;
}
.markzoom-after .lead + .lead {
  margin-top: 18px;
}
@media (max-width: 900px) {
  .markzoom-copy {
    top: 16vh;
    transform: none;
    right: var(--px);
  }
  .markzoom-after {
    grid-template-columns: 1fr;
  }
}

/* ── signal convergence scene ──────────────────────────────────────── */
.converge {
  position: relative;
  height: 300vh;
}
.converge-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: calc(var(--nav-h) + 3vh) var(--px) 5vh;
}
.converge-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.converge-head .h2 {
  max-width: 16ch;
}
.converge-head .body {
  max-width: 24rem;
}
.converge-canvas {
  position: relative;
  min-height: 0;
}
.converge-canvas canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cv-label {
  position: absolute;
  transform: translate(-50%, -50%);
  text-align: center;
  white-space: nowrap;
  opacity: 0;
}
.cv-label .h3 {
  font-size: clamp(1.15rem, 0.9rem + 0.9vw, 1.9rem);
}
.cv-label .fine {
  margin-top: 6px;
  color: var(--fg-2);
}
.cv-label--left {
  transform: translate(0, -50%);
  text-align: left;
}
.cv-label--right {
  transform: translate(-100%, -50%);
  text-align: right;
}
.cv-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
}
.cv-core .h3 {
  font-size: clamp(1.1rem, 0.85rem + 0.8vw, 1.7rem);
}
@media (max-width: 860px) {
  .converge-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .converge-head .body {
    display: none;
  }
}

/* ── pinned phone tour ─────────────────────────────────────────────── */
.phonetour {
  position: relative;
  height: calc(var(--n, 5) * 90vh + 10vh);
}
.phonetour-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: clamp(32px, 6vw, 120px);
  align-items: center;
  padding: calc(var(--nav-h) + 12px) var(--px) 32px;
}
.phonetour-copy {
  position: relative;
  height: min(26rem, 52vh);
}
.pt-panel {
  position: absolute;
  inset: 0 0 auto 0;
}
.pt-panel .caps {
  color: var(--fg-3);
}
.pt-panel .h2 {
  margin-top: 16px;
}
.pt-panel .lead {
  margin-top: 22px;
  max-width: 30rem;
  color: var(--fg-2);
}
.pt-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  gap: 8px;
}
.pt-progress i {
  position: relative;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.pt-progress i b {
  position: absolute;
  inset: 0;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
}
.phonetour-device {
  position: relative;
  width: min(100%, 330px, 34vh);
  justify-self: center;
}
.phonetour-device .phone {
  transition: transform 0.6s var(--ease);
}
.phonetour-device .phone-screen img {
  opacity: 0;
}
.phonetour-device .phone-screen img:first-child {
  opacity: 1;
}
.pt-chip {
  position: absolute;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 900px) {
  .phonetour-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    align-content: center;
    gap: 22px;
  }
  .phonetour-device {
    order: -1;
    width: min(52vw, 230px, 30vh);
  }
  .phonetour-copy {
    height: 15.5rem;
  }
  .pt-panel .h2 {
    margin-top: 10px;
  }
  .pt-panel .lead {
    margin-top: 14px;
  }
  .pt-chip {
    display: none;
  }
}

/* static fallback for the tour (no JS or reduced motion): every panel, one screen */
html:not(.js) .phonetour,
html.no-motion .phonetour,
.phonetour.is-static {
  height: auto;
}
html:not(.js) .phonetour-stage,
html.no-motion .phonetour-stage,
.phonetour.is-static .phonetour-stage {
  position: relative;
  height: auto;
  padding-top: clamp(110px, 17vh, 190px);
}
html:not(.js) .phonetour-copy,
html.no-motion .phonetour-copy,
.phonetour.is-static .phonetour-copy {
  height: auto;
}
html:not(.js) .pt-panel,
html.no-motion .pt-panel,
.phonetour.is-static .pt-panel {
  position: static;
  margin-bottom: 48px;
}
html:not(.js) .pt-progress,
html.no-motion .pt-progress,
.phonetour.is-static .pt-progress {
  display: none;
}

/* ── horizontal week scene ─────────────────────────────────────────── */
.hweek {
  position: relative;
}
.hweek-stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 12px) 0 32px;
}
.hweek-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding: 0 var(--px);
}
.hweek-track {
  display: flex;
  gap: clamp(18px, 2vw, 32px);
  margin-top: clamp(28px, 5vh, 56px);
  padding: 0 var(--px);
  width: max-content;
  will-change: transform;
}
.wk-card {
  position: relative;
  width: clamp(280px, 30vw, 460px);
  flex: none;
  display: flex;
  flex-direction: column;
}
.wk-card .media {
  aspect-ratio: 4 / 3;
}
.wk-card .when {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}
.wk-card .h3 {
  margin-top: 10px;
}
.wk-card p {
  margin-top: 10px;
  color: var(--fg-2);
  max-width: 26rem;
}
.wk-card--note {
  justify-content: flex-end;
  width: clamp(260px, 26vw, 400px);
}
@media (max-width: 760px) {
  .hweek-stage {
    height: auto;
    padding-top: 0;
  }
  .hweek-track {
    width: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .hweek-track::-webkit-scrollbar {
    display: none;
  }
  .wk-card {
    width: 82vw;
    scroll-snap-align: center;
  }
  .hweek-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── 3D chrome mark ────────────────────────────────────────────────── */
.mark3d {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  touch-action: pan-y;
  cursor: grab;
}
.mark3d:active {
  cursor: grabbing;
}
.mark3d canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}
.mark3d img {
  position: absolute;
  inset: 12%;
  width: 76%;
  height: auto;
  margin: auto;
  filter: drop-shadow(0 30px 50px rgba(23, 22, 19, 0.3));
}
.mark3d.is-live img {
  display: none;
}
.mark3d-hint {
  text-align: center;
  margin-top: 8px;
}

/* ── chat scene (text AXLE) ────────────────────────────────────────── */
.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
  margin-left: auto;
  padding: 28px 22px;
  border-radius: 34px;
  background: rgba(10, 10, 9, 0.42);
  box-shadow: inset 0 0 0 1px rgba(242, 238, 234, 0.1);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.chat-head {
  text-align: center;
  margin-bottom: 8px;
}
.bubble {
  max-width: 80%;
  padding: 11px 15px;
  border-radius: 20px;
  font-size: 0.98rem;
  line-height: 1.35;
}
.bubble--me {
  align-self: flex-end;
  background: #3a7ea8;
  color: #fff;
  border-bottom-right-radius: 6px;
}
.bubble--axle {
  align-self: flex-start;
  background: rgba(242, 238, 234, 0.12);
  color: var(--cream);
  border-bottom-left-radius: 6px;
}
.bubble--typing {
  display: inline-flex;
  gap: 5px;
  padding: 14px 16px;
}
.bubble--typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(242, 238, 234, 0.6);
  animation: typing 1.2s infinite;
}
.bubble--typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.bubble--typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
.sms-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.sms-cta .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(232, 100, 58, 0.2);
}

/* ── closing chapter ───────────────────────────────────────────────── */
.closing {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: calc(var(--nav-h) + 40px) var(--px) clamp(60px, 10vh, 110px);
}
.closing-mark {
  position: absolute;
  left: -1.5vw;
  bottom: -3vw;
  width: clamp(240px, 34vw, 640px);
  color: var(--cream);
  opacity: 0.95;
}
.closing-copy {
  grid-column: 2;
}
.closing-copy .lead {
  margin-top: 22px;
  color: var(--fg-2);
  max-width: 28rem;
}
.closing-copy .cta-row {
  margin-top: 40px;
}
.closing-copy .fine {
  margin-top: 36px;
  max-width: 30rem;
}
@media (max-width: 900px) {
  .closing {
    grid-template-columns: 1fr;
    align-items: start;
    padding-bottom: 46vw;
  }
  .closing-copy {
    grid-column: 1;
  }
  .closing-mark {
    width: 62vw;
  }
}

/* ── reduced motion ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .hero,
  .markzoom,
  .converge {
    height: auto;
  }
  .hero-stage,
  .markzoom-stage,
  .converge-stage {
    position: relative;
  }
}

/* cross-document page transitions where supported */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: vt-out 0.45s var(--ease-io) both;
}
::view-transition-new(root) {
  animation: vt-in 0.6s var(--ease) both;
}
@keyframes vt-out {
  to {
    opacity: 0;
    transform: translateY(-2.5%);
  }
}
@keyframes vt-in {
  from {
    opacity: 0;
    transform: translateY(3%);
  }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

/* split and scrub text stays hidden until it is split, so it never flashes */
html.js:not(.no-motion) [data-split],
html.js:not(.no-motion) [data-scrub] {
  visibility: hidden;
}

/* ── fixes after first visual pass ── */
.brand .mark,
.brand-mark {
  width: 30px;
}
@media (min-width: 861px) {
  .hero-copy {
    max-width: min(46rem, 50vw);
  }
  .hero-copy .display-xl {
    font-size: clamp(2.6rem, 0.6rem + 4.2vw, 6.2rem);
  }
}
.cv-core .h3 {
  font-size: clamp(1rem, 0.8rem + 0.55vw, 1.45rem);
}
#trust .split > div:first-child {
  position: sticky;
  top: 14vh;
  align-self: start;
}
@media (max-width: 900px) {
  #trust .split > div:first-child {
    position: relative;
    top: 0;
  }
  .mark3d {
    max-width: 380px;
  }
}
/* text-wrap: balance resets wrapping, so labels that must stay on one line say so directly */
.cv-label *,
.cv-core * {
  white-space: nowrap;
  text-wrap: nowrap;
}
.cv-label--left,
.cv-label--right {
  transform: none;
}
@media (max-width: 860px) {
  .hero-copy {
    bottom: 9vh;
  }
  .hero-copy .display-xl {
    font-size: clamp(2.25rem, 9.4vw, 3.6rem);
  }
  .hero-copy .lead {
    font-size: 1.02rem;
  }
}
@media (max-width: 700px) {
  .cv-label .fine,
  .cv-core .fine {
    display: none;
  }
  .cv-label .h3 {
    font-size: 0.92rem;
  }
  .converge-head > div:last-child {
    display: none;
  }
}

/* ════════════════════════════════════════════════════════════════════
   Components for the inner pages
   ════════════════════════════════════════════════════════════════════ */

/* feature grid: numbered cards, deck list style */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 48px);
  border-top: 1px solid var(--line);
}
.features--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feature {
  padding: clamp(24px, 3vw, 40px) 0 clamp(28px, 3.4vw, 44px);
  border-bottom: 1px solid var(--line-2);
}
.feature .caps {
  color: var(--fg-3);
}
.feature h3 {
  margin-top: 14px;
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.feature p {
  margin-top: 12px;
  color: var(--fg-2);
  max-width: 30rem;
}
@media (max-width: 980px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .features,
  .features--2 {
    grid-template-columns: 1fr;
  }
}

/* steps: four numbered beats with a rule that draws across */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 40px);
  padding-top: 34px;
}
.steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line);
  transform: scaleX(var(--draw, 1));
  transform-origin: left;
}
.step .n {
  display: block;
  font-size: clamp(2.4rem, 1.6rem + 2.4vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--fg-3);
}
.step h3 {
  margin-top: 18px;
  font-size: var(--fs-h3);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.step p {
  margin-top: 10px;
  color: var(--fg-2);
}
@media (max-width: 980px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 44px;
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* faq accordion */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line-2);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem);
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform 0.4s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq .a {
  padding: 0 0 28px;
  max-width: 46rem;
  color: var(--fg-2);
}
.faq .a p + p,
.faq .a p + ul,
.faq .a ul + p {
  margin-top: 0.8em;
}
.faq .a ul {
  padding-left: 1.2em;
}
.faq .a a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-group + .faq-group {
  margin-top: clamp(56px, 7vw, 100px);
}
.faq-group > .caps {
  display: block;
  margin-bottom: 18px;
  color: var(--fg-3);
}

/* console reveal: tilts up flat as you scroll */
.console {
  position: relative;
  perspective: 1600px;
}
.console-frame {
  position: relative;
  transform-origin: 50% 100%;
  will-change: transform;
}
.console-frame img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 50px 70px rgba(0, 0, 0, 0.45));
}
.callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
}
.callout .chip {
  font-size: 0.86rem;
}
.callout::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 6px rgba(242, 238, 234, 0.18);
  flex: none;
}
@media (max-width: 760px) {
  .callout {
    display: none;
  }
}

/* white-label phone: one app, many brands */
.brandswap {
  position: relative;
  height: 400vh;
}
.brandswap-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(32px, 6vw, 120px);
  align-items: center;
  padding: calc(var(--nav-h) + 12px) var(--px) 32px;
}
.bs-names {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bs-names span {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--fg-2);
  transition:
    background 0.5s var(--ease),
    color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.bs-names span.on {
  background: var(--fg);
  color: var(--fg-inv);
  box-shadow: none;
}
.bs-device {
  width: min(100%, 330px, 34vh);
  justify-self: center;
}
.bs-ui {
  --brand: #6e8b74;
  --brand-ink: #0f1411;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 4.2%;
  padding: 16% 6.5% 7%;
  background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--brand) 38%, #0b0b0b), #0b0b0b 70%);
  color: #f2eeea;
  font-size: clamp(9px, 1.25vh, 13px);
  transition: background 0.8s var(--ease);
}
.bs-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bs-logo {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.bs-logo i {
  display: grid;
  place-items: center;
  width: 2.3em;
  height: 2.3em;
  border-radius: 0.7em;
  background: var(--brand);
  color: var(--brand-ink);
  font-style: normal;
  font-weight: 600;
  transition: background 0.6s var(--ease);
}
.bs-day {
  font-size: 0.85em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  transition: color 0.6s var(--ease);
}
.bs-hello {
  font-size: 1.9em;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.bs-card {
  border-radius: 1.3em;
  padding: 1.1em 1.1em 0.4em;
  background: rgba(242, 238, 234, 0.07);
  box-shadow: inset 0 0 0 1px rgba(242, 238, 234, 0.08);
}
.bs-card > p {
  font-size: 0.78em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 238, 234, 0.5);
  margin-bottom: 0.6em;
}
.bs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 0.75em 0;
  border-top: 1px solid rgba(242, 238, 234, 0.08);
}
.bs-row b {
  display: block;
  font-weight: 500;
}
.bs-row small {
  display: block;
  margin-top: 0.15em;
  font-size: 0.82em;
  color: rgba(242, 238, 234, 0.55);
}
.bs-pill {
  flex: none;
  padding: 0.45em 0.9em;
  border-radius: 999px;
  font-size: 0.85em;
  font-weight: 500;
  background: var(--brand);
  color: var(--brand-ink);
  transition: background 0.6s var(--ease);
}
.bs-pill--ghost {
  background: transparent;
  color: rgba(242, 238, 234, 0.75);
  box-shadow: inset 0 0 0 1px rgba(242, 238, 234, 0.25);
}
.bs-tabs {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  padding: 0 0.4em;
  font-size: 0.8em;
  color: rgba(242, 238, 234, 0.45);
}
.bs-tabs b {
  color: var(--brand);
  font-weight: 500;
  transition: color 0.6s var(--ease);
}
.bs-swap {
  transition:
    opacity 0.35s var(--ease),
    transform 0.5s var(--ease);
}
.bs-ui.is-swapping .bs-swap {
  opacity: 0;
  transform: translateY(6px);
}
@media (max-width: 900px) {
  .brandswap-stage {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 22px;
  }
  .bs-device {
    order: -1;
    width: min(52vw, 230px, 30vh);
  }
  .bs-names {
    display: none;
  }
}
html.no-motion .brandswap,
html:not(.js) .brandswap {
  height: auto;
}
html.no-motion .brandswap-stage,
html:not(.js) .brandswap-stage {
  position: relative;
  height: auto;
  padding-top: clamp(110px, 17vh, 190px);
  padding-bottom: clamp(110px, 17vh, 190px);
}

/* one brain, many hands */
.brain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 96px);
  align-items: center;
}
.brain-core {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  width: 100%;
  justify-self: center;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px var(--line),
    0 0 0 18px rgba(242, 238, 234, 0.03),
    0 0 0 40px rgba(242, 238, 234, 0.025);
}
.brain-core .ring {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  border: 1px dashed var(--line);
  animation: spin 60s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.brain-core .inner {
  max-width: 70%;
}
.brain-core .inner .h3 {
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.8rem);
  letter-spacing: -0.035em;
}
.brain-core .inner p {
  margin-top: 12px;
  color: var(--fg-2);
}
.brain-core .badge {
  display: inline-block;
  margin-top: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.82rem;
  color: var(--fg-2);
}
.hands {
  display: grid;
  gap: 14px;
}
.hand {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--glass-edge);
}
.hand .n {
  font-size: 0.85rem;
  color: var(--fg-3);
  padding-top: 0.35em;
}
.hand h3 {
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hand p {
  margin-top: 6px;
  color: var(--fg-2);
  font-size: 0.98rem;
}
.axis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.axis span {
  padding-top: 16px;
  font-size: var(--fs-caps);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.axis span::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: -21px 0 12px;
  border-radius: 50%;
  background: var(--fg);
}
@media (max-width: 900px) {
  .brain {
    grid-template-columns: 1fr;
  }
  .brain-core {
    max-width: 360px;
  }
}

/* closing call to action band */
.cta-band {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) var(--px) clamp(60px, 10vh, 110px);
}
.cta-band .display {
  max-width: 14ch;
}
.cta-band .lead {
  margin-top: 24px;
  max-width: 34rem;
  color: var(--fg-2);
}
.cta-band .cta-row {
  margin-top: 40px;
}
.cta-band .mark-giant {
  right: -4vw;
  bottom: -6vw;
  width: clamp(260px, 40vw, 720px);
  opacity: 0.1;
}

/* split media rows (photo + copy) */
.mrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 96px);
  align-items: center;
}
.mrow + .mrow {
  margin-top: clamp(72px, 10vw, 160px);
}
.mrow--flip > :first-child {
  order: 2;
}
.mrow .media {
  aspect-ratio: 4 / 3;
}
.mrow .media--tall {
  aspect-ratio: 4 / 5;
}
.mrow .h2 {
  margin-top: 14px;
}
.mrow .lead {
  margin-top: 20px;
  color: var(--fg-2);
}
.mrow .ticks {
  margin-top: 22px;
  color: var(--fg-2);
}
@media (max-width: 900px) {
  .mrow {
    grid-template-columns: 1fr;
  }
  .mrow--flip > :first-child {
    order: 0;
  }
}

/* team */
.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 40px);
}
.person {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.person .mono {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.person h3 {
  margin-top: 20px;
  font-size: var(--fs-h3);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.person .caps {
  display: block;
  margin-top: 8px;
  color: var(--fg-3);
}
.person p {
  margin-top: 14px;
  color: var(--fg-2);
}
@media (max-width: 900px) {
  .team {
    grid-template-columns: 1fr;
  }
}

/* legal prose */
.legal {
  max-width: 50rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--fg-2);
}
.legal h1,
.legal h2,
.legal h3,
.legal h4 {
  color: var(--fg);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 2.2em 0 0.6em;
}
.legal h1 {
  font-size: 1.8rem;
}
.legal h2 {
  font-size: 1.45rem;
}
.legal h3 {
  font-size: 1.2rem;
}
.legal p,
.legal ul,
.legal ol,
.legal table {
  margin: 0.8em 0;
}
.legal ul,
.legal ol {
  padding-left: 1.3em;
}
.legal a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.legal td,
.legal th {
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  vertical-align: top;
  text-align: left;
}
.legal strong {
  color: var(--fg);
  font-weight: 500;
}

/* proof line under a column */
.proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.86rem;
  color: var(--fg-2);
}
.proof::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

/* stat row with sources */
.whynow .stat .num {
  font-size: clamp(3.2rem, 2rem + 4.2vw, 7.2rem);
}
.sources {
  margin-top: clamp(32px, 4vw, 56px);
}

/* section heads used across inner pages */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr);
  gap: 24px clamp(32px, 6vw, 120px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 110px);
}
.sec-head .lead {
  color: var(--fg-2);
}
@media (max-width: 900px) {
  .sec-head {
    grid-template-columns: 1fr;
  }
}
/* deck lists inside a two-column split get a tighter label column and type */
.split .row {
  grid-template-columns: minmax(6.5rem, 9rem) 1fr;
  gap: 6px 24px;
}
.split .row dd,
.split .row .v {
  font-size: clamp(1.05rem, 0.88rem + 0.55vw, 1.42rem);
  line-height: 1.3;
}
@media (max-width: 700px) {
  .cv-core .h3 {
    font-size: 0.86rem;
  }
}

/* ── travel: jet lag planner ── */
.jl {
  max-width: 1100px;
}
.jl-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
}
.jl-range {
  display: grid;
  gap: 10px;
  width: min(100%, 440px);
}
.jl-value {
  font-size: var(--fs-h3);
  letter-spacing: -0.02em;
}
.jl-value b {
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.jl input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  cursor: pointer;
}
.jl input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: var(--line);
  border-radius: 2px;
}
.jl input[type="range"]::-moz-range-track {
  height: 2px;
  background: var(--line);
}
.jl input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 6px rgba(242, 238, 234, 0.16);
}
.jl input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
}
.jl-dir {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.jl-dir button {
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--fg-2);
  transition:
    background 0.4s var(--ease),
    color 0.4s var(--ease);
}
.jl-dir button[aria-checked="true"] {
  background: var(--fg);
  color: var(--fg-inv);
}
.jl-chart {
  position: relative;
  margin-top: 44px;
  padding-left: 5.5rem;
}
.jl-axis {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--fg-3);
}
.jl-rows {
  display: grid;
  gap: 16px;
}
.jl-row {
  position: relative;
  height: 36px;
}
.jl-row .lbl {
  position: absolute;
  left: -5.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fg-2);
}
.jl-row.is-done .lbl {
  color: var(--fg);
}
.jl-track {
  position: absolute;
  inset: 0;
  border-radius: 9px;
  background: rgba(242, 238, 234, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-2);
  overflow: hidden;
}
.jl-track i {
  position: absolute;
  transition:
    left 0.75s var(--ease),
    width 0.75s var(--ease),
    opacity 0.4s var(--ease);
}
.jl-sleep {
  top: 7px;
  bottom: 7px;
  border-radius: 6px;
  background: var(--cream);
  opacity: 0.92;
}
.jl-light {
  top: 4px;
  bottom: 4px;
  border-radius: 6px;
  background: rgba(169, 210, 223, 0.42);
}
.jl-caff {
  top: 3px;
  bottom: 3px;
  width: 2px;
  margin-left: -1px;
  background: var(--signal);
}
.jl-train {
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 2.5px var(--cream),
    0 0 0 4px rgba(242, 238, 234, 0.14);
}
.jl-dest {
  position: absolute;
  top: 30px;
  bottom: -30px;
  left: calc(5.5rem + (100% - 5.5rem) * 0.2083);
  border-left: 1px dashed var(--fg-2);
  pointer-events: none;
}
.jl-dest span {
  position: absolute;
  bottom: 0;
  left: 8px;
  font-size: 12px;
  white-space: nowrap;
  color: var(--fg-2);
}
.jl-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 48px;
}
.jl-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.jl-legend i {
  display: inline-block;
  width: 18px;
  height: 8px;
  border-radius: 3px;
}
.jl-legend .k-sleep {
  background: var(--cream);
}
.jl-legend .k-light {
  background: rgba(169, 210, 223, 0.6);
}
.jl-legend .k-caff {
  width: 2px;
  height: 14px;
  background: var(--signal);
}
.jl-legend .k-train {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--cream);
}
.jl-summary {
  margin-top: 26px;
  max-width: 50rem;
}
.jl-summary + .fine {
  margin-top: 14px;
}
@media (max-width: 640px) {
  .jl-chart {
    padding-left: 3.6rem;
  }
  .jl-row .lbl {
    left: -3.6rem;
    font-size: 0.66rem;
  }
  .jl-dest {
    left: calc(3.6rem + (100% - 3.6rem) * 0.2083);
  }
  .jl-axis span:nth-child(2),
  .jl-axis span:nth-child(4) {
    visibility: hidden;
  }
}

/* ── how it works: figures ── */
.baseline svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.bl-t {
  font-family: var(--type);
  font-size: 15px;
  fill: rgba(242, 238, 234, 0.7);
  letter-spacing: 0.02em;
}
.bl-accent {
  fill: #f0a184;
}
.asks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
  width: 100%;
  justify-self: end;
}
.asks .bubble {
  max-width: 86%;
}
.asks .bubble u {
  text-underline-offset: 3px;
  opacity: 0.8;
}
.loop {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  justify-self: center;
  color: var(--fg);
}
.loop svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.loop-k {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.92rem;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--glass-edge);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--fg-3);
  transition:
    color 0.5s var(--ease),
    background 0.5s var(--ease);
}
.loop-k.on {
  color: var(--fg-inv);
  background: var(--fg);
}
html:not(.js) .loop-k,
html.no-motion .loop-k {
  color: var(--fg);
}
.conf {
  display: grid;
  gap: 18px;
  max-width: 34rem;
}
.conf-row {
  display: grid;
  grid-template-columns: 9rem 1fr auto;
  gap: 16px;
  align-items: center;
}
.conf-bar {
  position: relative;
  height: 6px;
  border-radius: 6px;
  background: var(--line-2);
  overflow: hidden;
}
.conf-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--v) * 100%);
  border-radius: 6px;
  background: var(--fg);
  transform-origin: left;
}
@media (max-width: 640px) {
  .conf-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .loop-k {
    font-size: 0.78rem;
    padding: 6px 10px;
  }
}

/* ── faq ── */
.faq-nav {
  position: sticky;
  top: 18vh;
  align-self: start;
}
.faq-jump {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
}
.faq-jump a {
  padding: 8px 0;
  font-size: var(--fs-lead);
  letter-spacing: -0.02em;
  color: var(--fg-2);
  transition: color 0.3s var(--ease);
}
.faq-jump a:hover {
  color: var(--fg);
}
.faq-group {
  scroll-margin-top: 110px;
}
@media (max-width: 900px) {
  .faq-nav {
    position: relative;
    top: 0;
  }
  .faq-jump {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 18px;
  }
  .faq-jump a {
    font-size: 1rem;
    padding: 4px 0;
  }
}

/* ── the app page ── */
.app-hero {
  overflow: hidden;
}
.fan {
  position: absolute;
  right: var(--px);
  top: calc(var(--nav-h) + 4vh);
  width: min(46vw, 640px);
  height: 74vh;
  pointer-events: none;
}
.fan .phone {
  position: absolute;
  top: 0;
  width: 42%;
  max-width: 280px;
}
.fan-1 {
  left: 0;
  transform: translateY(14%) rotate(-9deg);
}
.fan-2 {
  left: 29%;
  z-index: 2;
}
.fan-3 {
  right: 0;
  transform: translateY(18%) rotate(8deg);
}
@media (max-width: 900px) {
  .fan {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 56vw;
    margin: 0 0 6vh;
  }
  .fan .phone {
    width: 34%;
  }
  .fan-2 {
    left: 33%;
  }
  .app-hero {
    justify-content: flex-end;
  }
}
.tour-phone {
  width: min(78%, 330px);
  justify-self: center;
}
.mrow .tour-phone + div .h2,
.mrow > div > .caps + .h2 {
  margin-top: 14px;
}

/* widgets and live activity mocks */
.glance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(170px, auto);
  gap: clamp(14px, 1.6vw, 24px);
}
.w {
  position: relative;
  border-radius: 28px;
  padding: 18px 20px;
  background: linear-gradient(160deg, rgba(242, 238, 234, 0.13), rgba(242, 238, 234, 0.04));
  box-shadow:
    inset 0 0 0 1px rgba(242, 238, 234, 0.12),
    0 30px 60px -30px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: var(--cream);
  overflow: hidden;
}
.w-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(242, 238, 234, 0.7);
}
.w-mark {
  width: 20px;
  opacity: 0.8;
}
.w-ring > svg {
  width: 62%;
  margin: 10px auto 0;
}
.w-ring .w-num {
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  text-align: center;
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.w-num small {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(242, 238, 234, 0.6);
}
.w-wide {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}
.w-title {
  margin-top: auto;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}
.w-sub {
  margin-top: 4px;
  font-size: 0.9rem;
  color: rgba(242, 238, 234, 0.66);
}
.w-btn {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  background: var(--cream);
  color: var(--ink);
}
.w-sleep .w-num {
  margin-top: 16px;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}
.w-bars {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  height: 38px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.w-bars i {
  flex: 1;
  border-radius: 4px;
  background: rgba(242, 238, 234, 0.55);
}
.la {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(14px, 1.6vw, 24px);
  align-items: center;
}
.la-island {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 16px;
  border-radius: 999px;
  background: #000;
  color: var(--cream);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}
.la-island b {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.la-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fd68f;
}
.la-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 26px;
  background: rgba(10, 10, 9, 0.62);
  box-shadow: inset 0 0 0 1px rgba(242, 238, 234, 0.1);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: var(--cream);
}
.la-k {
  font-size: 0.8rem;
  color: rgba(242, 238, 234, 0.6);
}
.la-t {
  margin-top: 2px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.la-time {
  font-size: 2rem;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.la-btn {
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(242, 238, 234, 0.14);
  font-size: 0.86rem;
}
@media (max-width: 980px) {
  .glance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .la {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
@media (max-width: 560px) {
  .la-card {
    grid-template-columns: 1fr auto;
  }
  .la-btn {
    display: none;
  }
}

/* plans */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
  max-width: 980px;
}
.plan {
  padding: clamp(24px, 3vw, 40px);
  border-radius: 28px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.plan--pro {
  background: var(--fg);
  color: var(--fg-inv);
  box-shadow: none;
  --fg-2: currentColor;
}
.plan .caps {
  color: inherit;
  opacity: 0.7;
}
.plan-price {
  margin-top: 18px;
  font-size: clamp(2.8rem, 2rem + 2.6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}
.plan-price small {
  font-size: 1rem;
  letter-spacing: 0;
  opacity: 0.7;
}
.plan-alt {
  margin-top: 10px;
  font-size: 0.95rem;
  opacity: 0.75;
}
.plan .ticks {
  margin-top: 26px;
}
.plan .ticks li + li {
  margin-top: 0.6em;
}
@media (max-width: 760px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

/* trust hero mark, clinic phone */
.trust-hero-mark {
  position: absolute;
  right: calc(var(--px) - 2vw);
  top: calc(var(--nav-h) + 6vh);
  width: min(38vw, 540px);
  max-width: none;
  margin: 0;
}
@media (max-width: 900px) {
  .trust-hero-mark {
    position: relative;
    right: auto;
    top: auto;
    width: min(78vw, 360px);
    margin: 0 auto 4vh;
  }
  .page-trust .page-hero {
    justify-content: flex-end;
  }
}
.clinic-phone {
  width: min(78%, 330px);
  justify-self: center;
}
.clinic-phone img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.5));
}
@media (min-width: 901px) {
  .app-hero .display-xl {
    max-width: 50vw;
    font-size: clamp(2.8rem, 0.8rem + 4.6vw, 7rem);
  }
  .app-hero .hero-meta .lead {
    max-width: min(34rem, 44vw) !important;
  }
  .fan {
    right: calc(var(--px) - 3vw);
    width: min(40vw, 600px);
  }
}
@media (max-width: 900px) {
  .brandswap-stage .bs-device {
    width: min(44vw, 200px, 27vh);
  }
  .brandswap-stage .display {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }
  .brandswap-stage .lead {
    font-size: 1rem;
    margin-top: 14px;
  }
  .brandswap-stage .fine {
    display: none;
  }
}
/* widget mock layout, sturdy at any size */
.w-ring,
.w-sleep,
.w-wide {
  display: flex;
  flex-direction: column;
}
.w-ringwrap {
  position: relative;
  width: min(62%, 150px);
  margin: 12px auto 0;
}
.w-ringwrap svg {
  width: 100%;
  height: auto;
}
.w-ring .w-num {
  position: absolute;
  inset: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.4rem, 1rem + 1vw, 2rem);
}
.w-bars {
  position: static;
  margin-top: auto;
  padding-top: 14px;
  height: 52px;
}
.w-sleep .w-num {
  margin-top: 12px;
}
@media (max-width: 560px) {
  .w-btn {
    position: static;
    align-self: flex-start;
    margin-top: 14px;
  }
  .w-title {
    margin-top: 18px;
  }
  .fan {
    height: 82vw;
    margin-bottom: 4vh;
  }
}
.w-ring .w-num small {
  font-size: 0.62rem;
  margin-top: 4px;
}
@media (max-width: 860px) {
  .hero-caption {
    bottom: 38vh;
  }
  .hero-caption .tag {
    letter-spacing: 0.1em;
  }
  /* keep the headline legible where the orb sits behind it */
  .hero-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(26, 26, 25, 0.9) 0%, rgba(26, 26, 25, 0.72) 34%, rgba(26, 26, 25, 0) 58%);
    opacity: var(--copy-shade, 1);
  }
}
/* full-bleed photo scene fills the large viewport so a collapsing Safari toolbar never shows a gap */
.markzoom-stage {
  height: 100vh;
  height: 100lvh;
}
.markzoom-after {
  bottom: calc(clamp(56px, 12vh, 120px) + (100lvh - 100svh));
}

/* ── accessibility: contrast on the mid-teal chapters, stronger muted ink on bone ── */
html[data-chapter="teal"],
html[data-chapter="mist"],
html[data-chapter="sea"] {
  --fg-2: rgba(242, 238, 234, 0.9);
  --fg-3: rgba(242, 238, 234, 0.72);
}
html[data-tone="light"] {
  --fg-3: rgba(23, 22, 19, 0.56);
}

/* ── reduced motion: every scene still tells its story, just without moving ── */
html.no-motion .markzoom-after {
  position: relative;
  inset: auto;
  opacity: 1;
  padding: clamp(48px, 8vh, 90px) var(--px) 0;
  color: var(--fg);
}
html.no-motion .markzoom-stage {
  height: 100vh;
}
html.no-motion .hweek-stage {
  height: auto;
  overflow: visible;
  padding-top: clamp(110px, 17vh, 190px);
}
html.no-motion .hweek-track {
  width: auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
html.no-motion .wk-card {
  scroll-snap-align: start;
}

/* ════════════════════════════════════════════════════════════════════
   Round 2 (founder feedback, 2026-10-08)
   ════════════════════════════════════════════════════════════════════ */

/* highlighter: a teal band sweeps in behind key phrases */
.hl {
  font-weight: 500;
  color: var(--fg);
  padding: 0.04em 0.12em;
  border-radius: 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: linear-gradient(var(--teal-deep), var(--teal-deep));
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 0% 100%;
  transition:
    background-size 1.1s var(--ease) 0.25s,
    color 0.6s var(--ease) 0.35s;
}
.hl.is-lit,
html:not(.js) .hl,
html.no-motion .hl {
  background-size: 100% 100%;
  color: var(--cream);
}
.punch {
  margin-top: 26px;
  font-size: clamp(1.25rem, 0.95rem + 1.2vw, 2.1rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-wrap: pretty;
}
.until {
  margin-top: 22px;
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* split whose left column holds still while the long right column scrolls */
@media (min-width: 901px) {
  .split--sticky > :first-child {
    position: sticky;
    top: calc(var(--nav-h) + 7vh);
    align-self: start;
  }
}

/* data streams: four glass cards of signals */
.streams {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}
.stream {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2vw, 30px);
  border-radius: 26px;
  background: var(--glass);
  box-shadow:
    inset 0 0 0 1px var(--glass-edge),
    0 30px 60px -40px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.stream .caps {
  color: var(--fg-3);
}
.stream h3 {
  margin-top: 12px;
  font-size: var(--fs-h3);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.stream .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.pill {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.stream p:last-child {
  margin-top: auto;
  padding-top: 20px;
  font-size: 0.95rem;
  color: var(--fg-2);
}
@media (max-width: 1100px) {
  .streams {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .streams {
    grid-template-columns: 1fr;
  }
}

/* goals ticker: two rows drifting in opposite directions */
.goals {
  overflow: hidden;
}
.goals .marquee {
  border: 0;
  padding: 12px 0;
}
.goals .marquee-track span {
  gap: 18px;
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.45rem);
  letter-spacing: -0.015em;
  color: var(--fg);
}
.goals .marquee-track span::after {
  display: none;
}
.goals .marquee-track {
  gap: 14px;
}
.goals .goal {
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--glass-edge);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.goals .goal b {
  font-weight: 500;
  margin-right: 10px;
  color: var(--fg-3);
}

/* confidence cards (how it works, honesty) */
.confs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}
.conf-card {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2vw, 30px);
  border-radius: 26px;
  background: rgba(242, 238, 234, 0.06);
  box-shadow: inset 0 0 0 1px rgba(242, 238, 234, 0.12);
}
.conf-card .caps {
  color: var(--fg-3);
}
.conf-card .val {
  margin-top: 14px;
  font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}
.conf-card .val small {
  font-size: 0.42em;
  letter-spacing: -0.01em;
  color: var(--fg-2);
  margin-left: 8px;
}
.conf-card .meter {
  position: relative;
  height: 6px;
  margin-top: 22px;
  border-radius: 6px;
  background: rgba(242, 238, 234, 0.12);
  overflow: hidden;
}
.conf-card .meter i {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--v) * 100%);
  border-radius: 6px;
  background: var(--cream);
  transform-origin: left;
}
.conf-card .meter-k {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--fg-2);
}
.conf-card .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.conf-card .pill {
  font-size: 0.8rem;
  padding: 6px 10px;
  color: var(--fg-2);
}
.conf-card .note {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.92rem;
  color: var(--fg-2);
}
@media (max-width: 980px) {
  .confs {
    grid-template-columns: 1fr;
  }
}

/* trust rules as a grid of cards */
.rules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}
.rule {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: clamp(20px, 2vw, 30px);
  border-radius: 26px;
  background: var(--glass);
  box-shadow:
    inset 0 0 0 1px var(--glass-edge),
    0 30px 60px -44px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.rule .idx {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.rule h3 {
  margin-top: auto;
  padding-top: 40px;
  font-size: var(--fs-h3);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.rule p {
  margin-top: 12px;
  color: var(--fg-2);
  font-size: 0.98rem;
}
@media (max-width: 1100px) {
  .rules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .rules {
    grid-template-columns: 1fr;
  }
  .rule {
    min-height: 0;
  }
}

/* three plans */
.plans--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}
.plan-tag {
  display: inline-block;
  margin: -6px 0 -6px 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
  box-shadow: inset 0 0 0 1px currentColor;
  opacity: 0.8;
}
.plan--max {
  background: linear-gradient(160deg, var(--teal-deep), var(--teal-ink));
  color: var(--cream);
  box-shadow: none;
}
@media (max-width: 1000px) {
  .plans--3 {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}
/* the mark now forms centered, with no caption under it, so the hero is shorter
   and the next chapter starts closer */
.hero {
  height: 200vh;
}
.chapter--foundation {
  padding-top: clamp(64px, 9vh, 110px);
}
@media (min-width: 861px) {
  /* the formed mark leaves air below it; the next chapter tucks up under it */
  .chapter--foundation {
    margin-top: -10vh;
  }
}
.chapter--foundation .strip {
  top: clamp(20px, 3vh, 36px);
}
@media (prefers-reduced-motion: reduce) {
  .hero {
    height: auto;
  }
}

/* travel: one day on the road, stop by stop, a line drawing through it */
.split--trip {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
}
.trip-k {
  margin-bottom: 18px;
}
.trip {
  --trip-time: 4.8rem;
  position: relative;
  display: grid;
  gap: clamp(12px, 1.3vw, 18px);
  padding: 0;
  margin: 0;
  list-style: none;
}
.trip::before {
  content: "";
  position: absolute;
  left: calc(var(--trip-time) + 17px);
  top: 30px;
  bottom: 30px;
  width: 1px;
  background: var(--fg-3);
  transform: scaleY(var(--trip, 1));
  transform-origin: top;
}
.trip-stop {
  position: relative;
  display: grid;
  grid-template-columns: var(--trip-time) minmax(0, 1fr);
  gap: 0 36px;
  align-items: start;
}
.trip-stop::after {
  content: "";
  position: absolute;
  left: calc(var(--trip-time) + 13px);
  top: 25px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fg-3);
  box-shadow: 0 0 0 5px rgba(242, 238, 234, 0.08);
  transition:
    background-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.trip-stop.is-on::after,
html.no-motion .trip-stop::after,
html:not(.js) .trip-stop::after {
  background: var(--fg);
  box-shadow: 0 0 0 5px rgba(242, 238, 234, 0.16);
}
.trip-time {
  padding-top: 18px;
  text-align: right;
  white-space: nowrap;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  color: var(--fg-2);
}
.trip-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(88px, 8.5vw, 128px);
  gap: 20px;
  align-items: center;
  padding: 16px 16px 16px 24px;
  border-radius: 24px;
  background: var(--glass);
  box-shadow:
    inset 0 0 0 1px var(--glass-edge),
    0 30px 60px -44px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.trip-card .caps {
  color: var(--fg-3);
}
.trip-card h3 {
  margin-top: 8px;
  font-size: clamp(1.18rem, 0.98rem + 0.62vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.trip-card p:not(.caps) {
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--fg-2);
}
.trip-card .media {
  aspect-ratio: 1;
  border-radius: 16px;
}
@media (max-width: 900px) {
  .split--trip {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .trip {
    --trip-time: 0px;
  }
  .trip::before,
  .trip-stop::after {
    display: none;
  }
  .trip-stop {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .trip-time {
    padding: 0 0 0 4px;
    text-align: left;
    font-size: 0.85rem;
  }
  .trip-card {
    grid-template-columns: minmax(0, 1fr) 84px;
    gap: 14px;
    padding: 14px 14px 14px 18px;
  }
}

/* convergence on short laptop screens: a smaller heading leaves the diagram room
   for four streams a side, and very short screens drop the sublabels */
@media (min-width: 861px) and (max-height: 880px) {
  .converge-stage {
    padding-top: calc(var(--nav-h) + 1vh);
  }
  .converge-head .h2 {
    font-size: clamp(1.9rem, 5.4vh, 3.4rem);
  }
}
.converge-canvas.cv--tight .cv-label .fine {
  display: none;
}
.converge-canvas.cv--compact .cv-label .h3 {
  font-size: 1.12rem;
}
.converge-canvas.cv--compact .cv-label .fine {
  margin-top: 3px;
  font-size: 0.74rem;
}
.converge-canvas.cv--compact .cv-core .h3 {
  font-size: 1.05rem;
}

/* a media row whose copy runs long: the device holds still beside it */
@media (min-width: 901px) {
  .mrow--sticky {
    align-items: start;
  }
  .mrow--sticky > :first-child {
    position: sticky;
    top: calc(var(--nav-h) + 6vh);
  }
}
