/* Marvilo landing, Draft 4.
   Brand: Route Pair logo, navy #000039, electric #0000F4, cream #F3F0E9, white, Manrope.
   Layout modes are set on <html> by main.js:
     (none)        no JavaScript, reduced motion or a short screen: everything stacks and reads in order
     .mode-full    wide + tall enough: the opening and journey share one pinned stage
     .mode-compact phone: the opening flows, the journey pins on its own */

@font-face {
  font-family: Manrope;
  src: url("fonts/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

/* The scroll chapter sets each of these to 0 or 1; registering them lets the browser animate
   between those states, so nothing can rest half-way when scrolling stops. */
@property --t { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --ts { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --tm { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --tb { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --b { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --b2 { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --g { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --r { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --v { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --d { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --rail { syntax: '<number>'; inherits: true; initial-value: 0; }

:root {
  --navy: #000039;
  --blue: #0000F4;
  --cream: #F3F0E9;
  --white: #FFFFFF;
  --ink: rgba(0, 0, 57, .78);
  --ink-soft: rgba(0, 0, 57, .62);
  --line: rgba(0, 0, 57, .12);
  --pale: #C9C9FF;
  --blue-wash: #E6E6FE;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --radius: clamp(28px, 3.4vw, 44px);
  /* Motion tokens: the transitions.dev shared scale. Small interactions use these so the page moves
     with one rhythm; the scroll-linked moments (the opening card, the navy sheet, the journey) are driven
     by scroll position, not by duration. */
  --duration-stagger: 40ms;
  --duration-micro: 80ms;
  --duration-quick: 150ms;
  --duration-fast: 250ms;
  --duration-medium: 350ms;
  --duration-slow: 400ms;
  --duration-very-slow: 500ms;
  --ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: ease-in-out;
  --ease-bounce: cubic-bezier(0.34, 1.36, 0.64, 1);
  --ease-bounce-strong: cubic-bezier(0.34, 3.85, 0.64, 1);
  --ease: var(--ease-smooth-out);
  /* transitions.dev: texts reveal (18), text swap (04), number pop-in (02),
     accordion (21), toast (22), learn more (24), checkbox check (25) */
  --stagger-dur: 500ms; --stagger-distance: 12px; --stagger-stagger: 40ms; --stagger-blur: 3px; --stagger-ease: var(--ease-smooth-out);
  --text-swap-dur: 150ms; --text-swap-translate-y: 4px; --text-swap-blur: 2px; --text-swap-ease: ease-in-out;
  --digit-dur: 500ms; --digit-distance: 8px; --digit-stagger: 70ms; --digit-blur: 2px; --digit-ease: cubic-bezier(0.34, 1.45, 0.64, 1);
  --acc-expand: 250ms; --acc-collapse: 250ms; --acc-chevron: 250ms; --acc-ease: var(--ease-smooth-out);
  --toast-open: 350ms; --toast-close: 250ms; --toast-distance: 16px; --toast-blur: 2px; --toast-scale: 0.97; --toast-ease: var(--ease-smooth-out);
  --dropdown-open-dur: 250ms; --dropdown-close-dur: 150ms; --dropdown-pre-scale: 0.97; --dropdown-closing-scale: 0.99; --dropdown-ease: var(--ease-smooth-out);
  --learn-shift: 2px; --learn-spread: 8deg; --learn-in: 350ms; --learn-out: 350ms; --learn-ease: var(--ease-smooth-out);
  --check-box: 150ms; --check-draw: 350ms; --check-delay: 0ms; --check-uncheck: 150ms; --check-ease: var(--ease-smooth-out);
  --bar-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--navy); color: var(--white); border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 16px; }

.wrap { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }

/* ---------- type ---------- */
.eyebrow { font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; }
.eyebrow.pale { color: var(--pale); }
h1 { font-size: clamp(44px, 6.4vw, 94px); line-height: .98; letter-spacing: -.045em; font-weight: 780; }
h1 .line { display: block; }
h1 .accent, .accent-text { color: var(--blue); }
.journey .accent-text, .team .accent-text { color: var(--pale); }
h2 { font-size: clamp(36px, 4.8vw, 68px); line-height: 1.02; letter-spacing: -.04em; font-weight: 760; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -.02em; font-weight: 740; }
.lede { font-size: clamp(18px, 1.45vw, 21px); color: var(--ink); max-width: 30em; margin-top: 26px; }
.section-lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink); max-width: 30em; }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 740; text-decoration: none; border: 0; cursor: pointer; transition: transform var(--duration-fast) var(--ease), background-color var(--duration-fast), color var(--duration-fast), box-shadow var(--duration-fast) var(--ease); }
/* 24 · Learn more hover: the chevron slides and its arms open toward an arrow */
.t-learn-chevron { display: inline-flex; width: 16px; height: 16px; transform: translateX(0); transition: transform var(--learn-out) var(--learn-ease); }
.t-learn-chevron svg { width: 16px; height: 16px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.t-learn-arm { transform-box: view-box; transform-origin: 10px 8px; vector-effect: non-scaling-stroke; transition: transform var(--learn-out) var(--learn-ease); }
.t-learn:hover .t-learn-chevron, .t-learn:focus-visible .t-learn-chevron { transform: translateX(var(--learn-shift)); transition-duration: var(--learn-in); }
.t-learn:hover .t-learn-arm, .t-learn:focus-visible .t-learn-arm { transition-duration: var(--learn-in); }
.t-learn:hover .t-learn-arm-top, .t-learn:focus-visible .t-learn-arm-top { transform: rotate(var(--learn-spread)); }
.t-learn:hover .t-learn-arm-bot, .t-learn:focus-visible .t-learn-arm-bot { transform: rotate(calc(var(--learn-spread) * -1)); }
.button.primary { background: var(--blue); color: var(--white); box-shadow: 0 14px 30px -14px rgba(0, 0, 244, .8); }
.button.primary:hover { background: var(--navy); transform: translateY(-2px); }
.button.ghost { color: var(--navy); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 57, .2); }
.button.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.button.white { background: var(--white); color: var(--blue); }
.button.white:hover { transform: translateY(-2px); background: var(--cream); }
.button.outline { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.button.outline:hover { box-shadow: inset 0 0 0 1.5px var(--white); }

/* ---------- floating header pill ---------- */
.bar {
  position: fixed; z-index: 60; top: 14px; left: 50%;
  width: min(var(--max) + 24px, 100% - 2 * var(--pad) + 24px); height: var(--bar-h);
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 9px 0 22px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(0, 0, 57, .06), 0 14px 40px -24px rgba(0, 0, 57, .5);
  transition: transform var(--duration-very-slow) var(--ease);
}
.bar.hide { transform: translate(-50%, -110px); }
.brand img { width: 118px; height: auto; }
.bar nav { display: flex; gap: 28px; font-size: 14px; font-weight: 650; }
.bar nav a { text-decoration: none; color: var(--ink); padding: 8px 0; }
.bar nav a:hover { color: var(--blue); }
.bar-actions { display: flex; align-items: center; gap: 6px; }
.bar-login { display: inline-flex; align-items: center; height: 46px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: none; transition: background-color var(--duration-fast); }
.bar-login:hover { background: var(--cream); }
.staff-login-narrow { display: none; }
.bar-cta { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 14px; font-weight: 720; text-decoration: none; transition: background-color var(--duration-fast); }
.bar-cta:hover { background: var(--blue); }
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font-size: 12px; font-weight: 650; color: var(--ink-soft); cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { background: var(--cream); }
.motion-icon { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.motion-toggle[aria-pressed="true"] .motion-icon { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-block: 6px solid transparent; }

/* =========================================================
   1 + 2 · STORY: opening and journey
   ========================================================= */
.story { position: relative; background: var(--cream); }
.scene { position: relative; }

/* Static default: readable order, nothing hidden. */
.hero-copy { width: min(var(--max), 100% - 2 * var(--pad)); margin: 0 auto; padding-top: 150px; }
.story .card { width: min(520px, 100% - 2 * var(--pad)); margin: 56px auto 0; }
.ribbon, .drag-hint, .navy-sheet { display: none; }
.pane-file { display: none; }
.journey { position: relative; z-index: 1; background: var(--navy); color: var(--white); margin-top: 96px; border-radius: var(--radius) var(--radius) 0 0; padding: 96px 0 calc(110px + var(--radius)); }
.journey-inner { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }
.journey .anchor { display: block; position: relative; top: -100px; height: 0; }
.rail { display: none; }
.stages { display: grid; gap: 16px; margin-top: 48px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.stage { padding: 28px; border-radius: 24px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.stage h3 { margin: 10px 0 12px; }
.stage > p:not(.stage-num):not(.deliver) { color: rgba(255, 255, 255, .8); font-size: 17px; }
.stage-num { font-size: 12px; font-weight: 750; letter-spacing: .14em; color: var(--pale); font-variant-numeric: tabular-nums; }
.deliver { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: 15px; font-weight: 650; line-height: 1.35; color: var(--white); width: fit-content; max-width: 100%; }
.deliver small { display: block; font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--pale); margin-bottom: 2px; }
.deliver-icon { flex: none; position: relative; width: 36px; height: 36px; border-radius: 12px; background: var(--blue); }
.deliver-icon::before, .deliver-icon::after { content: ""; position: absolute; background: var(--white); border-radius: 2px; }
/* a tiny Route Pair: two offset corners */
.deliver-icon::before { left: 9px; top: 9px; width: 11px; height: 11px; background: none; border: solid var(--white); border-width: 3px 0 0 3px; border-radius: 3px 0 0 0; }
.deliver-icon::after { right: 9px; bottom: 9px; width: 11px; height: 11px; background: none; border: solid var(--white); border-width: 0 3px 3px 0; border-radius: 0 0 3px 0; }
.journey-note { margin-top: 36px; font-size: 13px; color: rgba(255, 255, 255, .6); }


/* the card that stays while the page moves past it */
.card {
  position: relative; z-index: 3;
  background: var(--white); border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(0, 0, 57, .05), 0 40px 80px -40px rgba(0, 0, 57, .45);
  padding: 22px 24px 20px;
}
.card-head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 720; }
.card-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px var(--blue-wash); }
.card-title { position: relative; flex: 1; min-height: 1.6em; }
.card-title > span { display: block; }
.card-title .t-brief, .card-title .t-file { display: none; }
.card-id { font-size: 12px; color: var(--ink-soft); }
.panes { position: relative; }
.pane { padding-top: 18px; }
.mail-from { font-size: 12px; color: var(--ink-soft); margin-bottom: 10px; }
.mail-body { font-size: 17px; line-height: 1.7; color: var(--navy); }
.mail-body mark { background: transparent; color: inherit; border-radius: 6px; padding: 1px 3px; margin: 0 -3px; box-shadow: inset 0 -.5em 0 var(--blue-wash); }
.filler { color: var(--ink-soft); }
.mail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.mail-tags span { font-size: 11px; font-weight: 750; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; background: var(--blue-wash); color: var(--blue); }
.pane-brief { border-top: 1px dashed var(--line); margin-top: 18px; }
.pane-brief dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pane-brief dt { font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.pane-brief dd { font-weight: 650; }
.pane-brief em { font-style: normal; font-size: 11px; font-weight: 750; letter-spacing: .04em; margin-left: 6px; padding: 3px 8px; border-radius: 999px; background: var(--blue); color: var(--white); vertical-align: 2px; white-space: nowrap; }
.brief-next { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px; border-radius: 16px; background: var(--navy); color: var(--white); font-size: 14px; font-weight: 650; line-height: 1.35; }
.next-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); font-weight: 700; }
.brief-next small { display: block; font-size: 10px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--pale); }
.card figcaption { margin-top: 14px; font-size: 12px; color: var(--ink-soft); }

.file-rows li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 650; transition: color var(--duration-fast); }
.file-rows .t-check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); transition: background var(--check-box) var(--check-ease), box-shadow var(--check-box) var(--check-ease); }
.t-check svg { width: 11px; height: 11px; overflow: visible; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* 25 · Checkbox check: the box fills, then the tick draws itself */
.t-check svg path { stroke-dasharray: var(--check-len, 15); stroke-dashoffset: var(--check-len, 15); transition: stroke-dashoffset var(--check-uncheck) var(--check-ease); }
.t-check[data-checked="true"] svg path { stroke-dashoffset: 0; transition: stroke-dashoffset var(--check-draw) var(--check-ease) var(--check-delay); }
.file-rows b { font-size: 12px; font-weight: 720; color: var(--ink-soft); padding: 4px 10px; border-radius: 999px; background: var(--cream); transition: background-color .3s, color .3s; }
.file-rows li.active .t-check { box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 6px var(--blue-wash); }
.file-rows li.active b { background: var(--blue); color: var(--white); }
.file-rows li.done .t-check { background: var(--blue); box-shadow: none; }
.file-rows li.done span { color: var(--ink-soft); }
/* 04 · Text states swap */
.t-text-swap { display: inline-block; transform: translateY(0); filter: blur(0); opacity: 1; transition: transform var(--text-swap-dur) var(--text-swap-ease), filter var(--text-swap-dur) var(--text-swap-ease), opacity var(--text-swap-dur) var(--text-swap-ease); will-change: transform, filter, opacity; }
.t-text-swap.is-exit { transform: translateY(calc(var(--text-swap-translate-y) * -1)); filter: blur(var(--text-swap-blur)); opacity: 0; }
.t-text-swap.is-enter-start { transform: translateY(var(--text-swap-translate-y)); filter: blur(var(--text-swap-blur)); opacity: 0; transition: none; }
/* 02 · Number pop-in; direction follows the scroll direction */
@keyframes t-digit-pop-in {
  0% { transform: translate(0, calc(var(--digit-distance) * var(--digit-dir-y, 1))); opacity: 0; filter: blur(var(--digit-blur)); }
  100% { transform: translate(0, 0); opacity: 1; filter: blur(0); }
}
.t-digit-group { display: inline-flex; align-items: baseline; }
.t-digit { display: inline-block; will-change: transform, opacity, filter; }
.t-digit-group.is-animating .t-digit { animation: t-digit-pop-in var(--digit-dur) var(--digit-ease) both; }
.t-digit-group.is-animating .t-digit[data-stagger="1"] { animation-delay: var(--digit-stagger); }
.file-foot { display: flex; justify-content: space-between; padding-top: 16px; font-size: 13px; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }

/* ---------- FULL MODE: one pinned stage ---------- */
.mode-full .story { height: calc(100vh + var(--story-scroll, 440vh)); }
.mode-full .scene { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.mode-full .hero-copy {
  position: absolute; left: max(var(--pad), (100% - var(--max)) / 2); top: 0; bottom: 0;
  width: min(620px, 50%); margin: 0; padding: calc(var(--bar-h) + 40px) 0 16px;
  display: flex; flex-direction: column; justify-content: center;
  transform: translate3d(0, calc(var(--b) * -40px), 0); opacity: calc(1 - var(--b) * 2.5);
}
.mode-full .story .card {
  position: absolute; margin: 0; width: min(460px, 38vw);
  right: max(var(--pad), (100% - var(--max)) / 2); top: 50%;
  transform: translate3d(0, calc(-50% + 34px), 0) rotate(calc((1 - var(--b)) * -1.4deg));
}
.mode-full .ribbon { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; opacity: calc((1 - var(--b)) * (1 - var(--tb) * .4)); }
.ribbon path { fill: none; stroke: none; }
.ribbon text { font-size: 18px; font-weight: 650; fill: rgba(0, 0, 57, .2); }
.mode-full .drag-hint { display: flex; position: absolute; z-index: 4; left: 50%; bottom: 20px; transform: translateX(-50%); align-items: center; gap: 10px; font-size: 13px; font-weight: 650; color: var(--ink-soft); opacity: calc(1 - var(--t) * 5); pointer-events: none; }
.drag-hint i { width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--ink-soft); position: relative; }
.drag-hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ink-soft); animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* The navy chapter: one plain sheet rises behind the card, which stays in place. */
.mode-full .navy-sheet { display: block; position: absolute; z-index: 1; inset: 0; background: var(--navy); border-radius: var(--radius) var(--radius) 0 0; transform: translate3d(0, calc((1 - var(--b)) * 101%), 0); }
.mode-full .journey {
  position: absolute; z-index: 2; inset: 0; margin: 0; padding: 0; background: none; border-radius: 0;
  opacity: calc(var(--b) * 2.5 - 1.5); transform: translate3d(0, calc((1 - var(--b)) * 80px), 0);
  pointer-events: none;
}
.mode-full .journey.live { pointer-events: auto; }
.mode-full .journey .anchor { position: absolute; top: 0; }
.mode-full .journey-inner {
  position: absolute; top: 0; bottom: 0; left: max(var(--pad), (100% - var(--max)) / 2);
  width: min(560px, 48%);
  display: flex; flex-direction: column; justify-content: center; padding: calc(var(--bar-h) + 30px) 0 24px;
}
.mode-full .journey h2 { font-size: clamp(34px, 3.8vw, 56px); }
.mode-full h1 { font-size: clamp(44px, min(6vw, 10.5vh), 88px); }
.mode-full .rail, .mode-compact .rail { display: flex; position: relative; margin-top: 30px; }
.rail button { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 44px; padding: 0 6px 0 0; border: 0; background: none; cursor: pointer; color: rgba(255, 255, 255, .56); font-size: 13px; font-weight: 700; text-align: left; transition: color var(--duration-fast); }
.rail button b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .32); font-size: 12px; font-variant-numeric: tabular-nums; transition: background-color var(--duration-fast), box-shadow var(--duration-fast), color var(--duration-fast); }
.rail button.reached b { background: var(--blue); box-shadow: none; color: var(--white); }
.rail button[aria-pressed="true"] { color: var(--white); }
.rail button[aria-pressed="true"] b { background: var(--white); color: var(--blue); box-shadow: 0 0 0 6px rgba(255, 255, 255, .14); }
.rail button:focus-visible { outline-color: var(--white); }
.rail-line { position: absolute; left: 17px; right: calc(25% - 17px); top: 16px; height: 2px; background: rgba(255, 255, 255, .2); border-radius: 2px; }
.rail-line i { position: absolute; inset: 0; background: var(--white); border-radius: 2px; transform-origin: 0 50%; transform: scaleX(var(--rail, 0)); }

.mode-full .stages, .mode-compact .stages { display: grid; margin-top: 34px; grid-template-columns: 1fr; gap: 0; }
.mode-full .stage, .mode-compact .stage {
  grid-area: 1 / 1; padding: 0; background: none; box-shadow: none;
  opacity: var(--v, 0); transform: translate3d(0, calc(var(--d, 0) * 34px), 0);
}
.mode-full .stage h3, .mode-compact .stage h3 { font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.03em; }
.mode-full .journey-note { margin-top: 26px; }

/* the card's panes swap in place */
.mode-full .card-title .t-brief, .mode-full .card-title .t-file,
.mode-compact .card-title .t-brief { display: block; position: absolute; inset: 0; }
.mode-full .card-title .t-mail, .mode-compact .card-title .t-mail { opacity: calc(1 - var(--tb) * 2); }
.mode-full .card-title .t-brief, .mode-compact .card-title .t-brief { opacity: calc(var(--tb) * 2 - 1 - var(--b2) * 2); }
.mode-full .card-title .t-file { opacity: calc(var(--b2) * 2 - 1); }
.mode-full .panes, .mode-compact .panes { height: var(--panes-h, 360px); }
.mode-full .pane, .mode-compact .pane { position: absolute; inset: 0 0 auto 0; margin: 0; border: 0; }
.mode-full .pane-mail, .mode-compact .pane-mail { opacity: calc(1 - var(--tb) * 1.5); transform: translate3d(0, calc(var(--tb) * -46px), 0) scale(calc(1 - var(--tb) * .05)); transform-origin: 50% 0; }
.mode-full .pane-brief, .mode-compact .pane-brief { opacity: calc(var(--tb) * 1.3 - .3 - var(--b2) * 1.8); transform: translate3d(0, calc((1 - var(--tb)) * 50px + var(--b2) * -30px), 0); }
.mode-full .pane-file { display: block; opacity: calc(var(--b2) * 1.5 - .5); transform: translate3d(0, calc((1 - var(--b2)) * 40px), 0); }
.mode-full .pane-brief dl > div, .mode-compact .pane-brief dl > div,
.mode-full .brief-next, .mode-compact .brief-next { opacity: var(--r, 1); transform: translate3d(calc((1 - var(--r, 1)) * 20px), 0, 0); }
.mode-full .filler, .mode-compact .filler { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 0, 244, calc(var(--ts) * .8)); opacity: calc(1 - var(--ts) * .6); }
.mode-full .mail-body mark, .mode-compact .mail-body mark { box-shadow: inset 0 calc(var(--tm) * -1.4em) 0 var(--blue-wash); }
.mode-full .mail-tags span, .mode-compact .mail-tags span { opacity: var(--g, 0); transform: translate3d(0, calc((1 - var(--g, 0)) * 8px), 0) scale(calc(.9 + var(--g, 0) * .1)); }
.mode-full .card figcaption { opacity: calc(1 - var(--b2) * 2); }

/* ---------- COMPACT MODE (phones): the opening flows, the journey pins on its own ---------- */
.mode-compact .hero-copy { padding-top: 112px; }
.mode-compact .story .card { margin-top: 44px; }
.mode-compact .journey { height: var(--journey-h, 440vh); padding: 0; margin-top: 70px; }
.mode-compact .journey-inner { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--bar-h) + 30px) 0 30px; }
.mode-compact .journey h2 { font-size: clamp(32px, 9vw, 44px); }
.mode-compact .rail button { font-size: 11px; }
.mode-compact .stages { margin-top: 26px; }
.mode-compact .journey-note { margin-top: 18px; }

/* Timed steps of the scroll chapter. Forward plays as a short sequence; going back is quicker. */
.mode-full .story, .mode-compact .story {
  transition: --t var(--duration-medium) var(--ease), --ts var(--duration-slow) var(--ease), --tm var(--duration-very-slow) var(--ease) 150ms, --tb 600ms var(--ease) 750ms;
}
.mode-full .story[data-tidy="0"], .mode-compact .story[data-tidy="0"] {
  transition: --t var(--duration-medium) var(--ease), --tb var(--duration-slow) var(--ease), --tm var(--duration-medium) var(--ease) 150ms, --ts var(--duration-medium) var(--ease) 250ms;
}
.mode-full .mail-tags span, .mode-compact .mail-tags span { transition: --g var(--duration-medium) var(--ease) calc(400ms + var(--n, 0) * 60ms); }
.mode-full .pane-brief dl > div, .mode-full .brief-next, .mode-compact .pane-brief dl > div, .mode-compact .brief-next { transition: --r var(--duration-slow) var(--ease) calc(950ms + var(--n, 0) * 60ms); }
[data-tidy="0"] .mail-tags span, [data-tidy="0"] .pane-brief dl > div, [data-tidy="0"] .brief-next { transition-duration: var(--duration-fast); transition-delay: 0ms; }
.mode-full .scene { transition: --b 900ms var(--ease), --b2 var(--duration-very-slow) var(--ease) 350ms; }
.mode-full .scene[data-journey="0"] { transition: --b 800ms var(--ease) 150ms, --b2 var(--duration-medium) var(--ease); }
/* The leaving stage clears quickly; the arriving one starts after it, so their text never overlaps. */
.mode-full .stage, .mode-compact .stage { transition: --v var(--duration-quick) var(--ease), --d var(--duration-fast) var(--ease); }
.mode-full .stage[aria-hidden="false"], .mode-compact .stage[aria-hidden="false"] { transition: --v var(--duration-slow) var(--ease) 160ms, --d var(--duration-very-slow) var(--ease) 160ms; }
.rail-line i { transition: --rail 600ms var(--ease); }

/* =========================================================
   Rising sheets: each section arrives as a rounded panel that widens as it reaches the top
   ========================================================= */
.sheet { position: relative; padding: clamp(96px, 11vw, 150px) 0; border-radius: var(--radius) var(--radius) 0 0; margin-top: calc(var(--radius) * -1); }
.resmi { background: var(--cream); z-index: 2; }
.services { background: var(--white); z-index: 3; }
.team { background: var(--navy); color: var(--white); z-index: 4; }
.onboard { background: var(--cream); z-index: 5; }
.faq { background: var(--white); z-index: 6; }
.contact { background: var(--blue); color: var(--white); z-index: 7; }

.section-head { margin-bottom: clamp(44px, 5vw, 72px); }
.section-head .section-lede { margin-top: 18px; }
.section-head.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.section-head.split .section-lede { margin: 0; }

/* reveal on enter */
.js:not(.motion-off) .reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js:not(.motion-off) .reveal.in { opacity: 1; transform: none; }

/* ---------- 3 · Resmi ---------- */
.big-quote { font-size: clamp(34px, 5vw, 72px); max-width: 15em; }
.big-quote .hl { color: var(--blue); white-space: nowrap; background: linear-gradient(var(--blue-wash), var(--blue-wash)) 0 90% / calc(var(--hl, 1) * 100%) .32em no-repeat; }
.resmi .section-lede { margin-top: 26px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 36px); margin-top: clamp(56px, 6vw, 88px); }
.pillars li { padding-top: 24px; border-top: 2px solid var(--navy); }
.pillars li:nth-child(2) { --delay: .1s; }
.pillars li:nth-child(3) { --delay: .2s; }
.pillars .num { font-size: 13px; font-weight: 750; color: var(--blue); font-variant-numeric: tabular-nums; }
.pillars h3 { margin: 12px 0 10px; }
.pillars p { color: var(--ink); font-size: 17px; }

/* ---------- 4 · Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.service { position: relative; padding: 26px; border-radius: 28px; background: var(--cream); transition: transform var(--duration-slow) var(--ease), box-shadow var(--duration-slow) var(--ease), background-color var(--duration-slow), opacity .8s var(--ease); }
.service:nth-child(2) { --delay: .1s; }
.service:nth-child(3) { --delay: .2s; }
.js:not(.motion-off) .service.reveal.in:hover, .service:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(0, 0, 57, .55); }
.service-art { height: 170px; margin: -8px -8px 22px; border-radius: 20px; background: var(--white); display: grid; place-items: center; overflow: hidden; }
.service-art svg { width: 84%; height: auto; overflow: visible; }
.service-art .sea { fill: none; stroke: var(--pale); stroke-width: 3; }
.service-art .ship rect { fill: var(--blue); }
.service-art .ship rect:nth-child(4) { fill: var(--navy); }
.service-art .hull, .service-art .jet { fill: var(--navy); }
.service-art .trail { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 3 7; }
.service-art .doc { fill: var(--white); stroke: var(--navy); stroke-width: 2; }
.service-art .doc.back { fill: var(--blue-wash); stroke: var(--pale); }
.service-art .doc-line { stroke: var(--pale); stroke-width: 6; stroke-linecap: round; fill: none; }
.service-art .chip { fill: var(--blue); }
.service-art .chip-line { stroke: var(--white); stroke-width: 4; stroke-linecap: round; }
.service-art .lens circle { fill: rgba(230, 230, 254, .75); stroke: var(--navy); stroke-width: 3; }
.service-art .lens path { stroke: var(--navy); stroke-width: 6; stroke-linecap: round; }
.service-art .stamp circle { fill: var(--blue); }
.service-art .stamp path { fill: none; stroke: var(--white); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.service-art .ship, .service-art .plane, .service-art .lens, .service-art .stamp { transition: transform .9s var(--ease); transform-box: fill-box; transform-origin: center; }
.service:hover .ship { transform: translateX(10px); }
.service:hover .plane { transform: translate(10px, -8px); }
.service:hover .lens { transform: translate(-10px, 8px) rotate(-10deg); }
.service:hover .stamp { transform: rotate(-14deg) scale(1.08); }
.service-num { font-size: 13px; font-weight: 750; color: var(--blue); font-variant-numeric: tabular-nums; }
.service h3 { margin: 8px 0 10px; }
.service > p:not(.service-num) { color: var(--ink); font-size: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.tags li { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--white); color: var(--navy); }
.scope-note { margin-top: 28px; font-size: 15px; color: var(--ink-soft); max-width: 44em; }

/* ---------- 5 · Team ---------- */
.team .section-lede { color: rgba(255, 255, 255, .8); }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); align-items: start; }
.person:nth-child(2) { --delay: .08s; }
.person:nth-child(3) { --delay: .16s; }
.person:nth-child(4) { --delay: .24s; }
.person { position: relative; border-radius: 26px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); overflow: hidden; }
.t-acc-head { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.person .t-acc-head { border-radius: 26px; }
.person .t-acc-head:focus-visible { outline-color: var(--white); outline-offset: -3px; }
.photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #dfe8f6; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transition: transform var(--duration-very-slow) var(--ease); }
.person .t-acc-head:hover .photo img { transform: scale(1.04); }
.person-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 18px 20px; }
.person-meta strong { display: block; font-size: 20px; font-weight: 760; letter-spacing: -.01em; }
.person-meta small { display: block; font-size: 14px; color: rgba(255, 255, 255, .7); line-height: 1.4; }
.plus { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--navy); transition: background-color var(--acc-chevron) var(--acc-ease), color var(--acc-chevron) var(--acc-ease); }
.t-acc[data-open="true"] .plus { background: var(--blue); color: var(--white); }
.bio { padding: 0 20px 22px; font-size: 16px; color: rgba(255, 255, 255, .84); }
.bio p + p { margin-top: 10px; }
.bio-line { font-weight: 740; color: var(--white); font-size: 17px; }
/* 21 · Accordion: grid-rows 0fr ↔ 1fr animates height in every browser; the chevron flips v → ^.
   Panels start open, so everything reads without JavaScript; main.js closes them on load. */
.t-acc-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--acc-collapse) var(--acc-ease); }
.t-acc-panel-inner { min-height: 0; overflow: hidden; transition: opacity var(--acc-collapse) var(--acc-ease), filter var(--acc-collapse) var(--acc-ease); }
.t-acc[data-open="false"] .t-acc-panel { grid-template-rows: 0fr; }
.t-acc[data-open="false"] .t-acc-panel-inner { opacity: 0; filter: blur(2px); }
.t-acc[data-open="true"] .t-acc-panel { transition: grid-template-rows var(--acc-expand) var(--acc-ease); }
.t-acc[data-open="true"] .t-acc-panel-inner { transition: opacity var(--acc-expand) var(--acc-ease), filter var(--acc-expand) var(--acc-ease); }
.t-acc-chevron { display: inline-flex; transform: scaleY(1); transform-origin: center; transition: transform var(--acc-chevron) var(--acc-ease); }
.t-acc-chevron svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.t-acc-chevron path { vector-effect: non-scaling-stroke; }
.t-acc[data-open="true"] .t-acc-chevron { transform: scaleY(-1); }

/* ---------- 6 · Becoming a user ---------- */
.onboard-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.onboard-steps li { padding: 26px; border-radius: 24px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.onboard-steps li:nth-child(2) { --delay: .08s; }
.onboard-steps li:nth-child(3) { --delay: .16s; }
.onboard-steps li:nth-child(4) { --delay: .24s; }
.onboard-steps .num { font-size: 13px; font-weight: 750; color: var(--blue); font-variant-numeric: tabular-nums; }
.onboard-steps h3 { margin: 12px 0 8px; }
.onboard-steps p { color: var(--ink); font-size: 16px; }
.onboard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }
.onboard-login { font-size: 16px; color: var(--ink); }
.onboard-login a { font-weight: 720; color: var(--blue); }

/* ---------- 7 · FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { font: inherit; letter-spacing: inherit; }
.faq-q .t-acc-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 4px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; letter-spacing: -.01em; line-height: 1.4; transition: color var(--duration-fast); }
.faq-q .t-acc-head:hover, .faq-item[data-open="true"] .t-acc-head { color: var(--blue); }
.faq-q i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 57, .2); transition: background-color var(--acc-chevron) var(--acc-ease), box-shadow var(--acc-chevron) var(--acc-ease), color var(--acc-chevron) var(--acc-ease); }
.faq-item[data-open="true"] .faq-q i { background: var(--blue); box-shadow: none; color: var(--white); }
.faq-list .answer { padding: 0 60px 26px 4px; color: var(--ink); font-size: 17px; }

/* ---------- 8 · Contact ---------- */
.contact { width: min(var(--max) + 2 * var(--pad), 100% - 24px); margin-inline: auto; border-radius: var(--radius); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.contact h2 { font-size: clamp(40px, 5.4vw, 80px); max-width: 9em; }
.contact-lede { margin-top: 22px; font-size: clamp(18px, 1.5vw, 21px); color: rgba(255, 255, 255, .88); max-width: 28em; }
.contact-email { margin-top: 30px; font-size: clamp(20px, 2vw, 28px); font-weight: 720; letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact-email a { text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: rgba(255, 255, 255, .45); }
.contact-email a:hover { text-decoration-color: var(--white); }
/* 05 · Menu dropdown: ways to write the email */
.send-menu { position: relative; }
.send-list { display: none; }
.js .send-list { display: grid; position: absolute; z-index: 20; left: 0; bottom: calc(100% + 10px); width: min(320px, 86vw); padding: 8px; border-radius: 22px; background: var(--white); color: var(--navy); box-shadow: 0 0 0 1px rgba(0, 0, 57, .08), 0 30px 60px -24px rgba(0, 0, 57, .55); }
.t-dropdown { transform-origin: bottom left; transform: scale(var(--dropdown-pre-scale)); opacity: 0; pointer-events: none; visibility: hidden; transition: transform var(--dropdown-open-dur) var(--dropdown-ease), opacity var(--dropdown-open-dur) var(--dropdown-ease), visibility 0s linear var(--dropdown-open-dur); }
.t-dropdown.is-open { transform: scale(1); opacity: 1; pointer-events: auto; visibility: visible; transition: transform var(--dropdown-open-dur) var(--dropdown-ease), opacity var(--dropdown-open-dur) var(--dropdown-ease), visibility 0s; }
.t-dropdown.is-closing { transform: scale(var(--dropdown-closing-scale)); opacity: 0; pointer-events: none; transition: transform var(--dropdown-close-dur) var(--dropdown-ease), opacity var(--dropdown-close-dur) var(--dropdown-ease), visibility 0s linear var(--dropdown-close-dur); }
.send-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 14px; background: none; color: var(--navy); text-align: left; text-decoration: none; cursor: pointer; font: inherit; transition: background-color var(--duration-quick); }
.send-item:hover, .send-item:focus-visible { background: var(--cream); outline: none; }
.send-item strong { display: block; font-size: 15px; font-weight: 720; }
.send-item small { display: block; font-size: 13px; color: var(--ink-soft); }
.send-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--blue-wash); color: var(--blue); font-size: 16px; font-weight: 800; }
.send-trigger .t-learn-chevron { transition: transform var(--duration-fast) var(--ease); }
.send-trigger[aria-expanded="true"] .t-learn-chevron { transform: rotate(-90deg); }
.wa-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.wa-icon .wa-dots { stroke-width: 2.6; stroke-linecap: round; }
.checklist { padding: 28px; border-radius: 26px; background: rgba(0, 0, 57, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.checklist-title { font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--pale); margin-bottom: 14px; }
.checklist li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 17px; font-weight: 620; }
.checklist li span { font-size: 13px; font-weight: 750; color: var(--pale); padding-top: 3px; font-variant-numeric: tabular-nums; }
.contact :focus-visible { outline-color: var(--white); }

/* 22 · Toast: confirmation after copying the email address */
.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 15px; font-weight: 650; box-shadow: 0 20px 40px -20px rgba(0, 0, 57, .6); pointer-events: none; translate: -50% 0; }
.toast-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); }
.toast-icon svg { width: 11px; height: 11px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.t-toast { opacity: 0; transform: translateY(var(--toast-distance)) scale(var(--toast-scale)); filter: blur(var(--toast-blur)); will-change: transform, opacity, filter; transition: opacity var(--toast-close) var(--toast-ease), transform var(--toast-close) var(--toast-ease), filter var(--toast-close) var(--toast-ease); }
.t-toast.is-open { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); transition: opacity var(--toast-open) var(--toast-ease), transform var(--toast-open) var(--toast-ease), filter var(--toast-open) var(--toast-ease); }

/* ---------- footer: revealed as the page lifts away ---------- */
main { position: relative; z-index: 1; }
.foot { position: relative; z-index: 0; background: var(--cream); padding: 110px 0 36px; }
.js:not(.motion-off) .foot { position: sticky; bottom: 0; }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px 40px; align-items: end; }
.foot-line { font-size: clamp(26px, 2.8vw, 40px); font-weight: 760; letter-spacing: -.03em; line-height: 1.1; }
.foot-links { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 16px; font-weight: 650; }
.foot-links a { text-decoration: none; padding: 4px 0; }
.foot-links a:hover { color: var(--blue); }
.foot-logo { grid-column: 1 / -1; width: min(600px, 100%); height: auto; margin-top: 20px; }
.foot-note { grid-column: 1 / -1; font-size: 12px; color: var(--ink-soft); }

/* ---------- 18 · Texts reveal: staggered blurred rise ----------
   The opening plays once after fonts load (.loading is removed); section heads play when they
   enter view (main.js adds .is-shown). Without JavaScript or with reduced motion, nothing hides. */
.js:not(.motion-off) .t-stagger-line, .js:not(.motion-off) .section-head.t-stagger > *, .js:not(.motion-off) .section-head.t-stagger > div > * {
  transition: opacity var(--stagger-dur) var(--stagger-ease), transform var(--stagger-dur) var(--stagger-ease), filter var(--stagger-dur) var(--stagger-ease);
  transition-delay: calc(var(--stagger-stagger) * 2 * var(--i, 0) + 100ms);
}
.js.loading:not(.motion-off) .hero-copy .t-stagger-line,
.js:not(.motion-off) .section-head.t-stagger:not(.is-shown) > *,
.js:not(.motion-off) .section-head.t-stagger:not(.is-shown) > div > * {
  opacity: 0; transform: translateY(var(--stagger-distance)); filter: blur(var(--stagger-blur));
}
.js:not(.motion-off) .section-head.t-stagger > :nth-child(2), .js:not(.motion-off) .section-head.t-stagger > div > :nth-child(2) { --i: 1; }
.js:not(.motion-off) .section-head.t-stagger > :nth-child(3), .js:not(.motion-off) .section-head.t-stagger > div > :nth-child(3) { --i: 2; }
.js:not(.motion-off) .section-head.split > .section-lede { --i: 2; }
.js:not(.motion-off) .story .card { transition: opacity 1s var(--ease) .5s, translate 1.2s var(--ease) .5s; }
.js.loading:not(.motion-off) .story .card { opacity: 0; translate: 0 40px; }

/* =========================================================
   Account pages: daftar.html (become a user) and masuk.html (sign-in design reference)
   ========================================================= */
.account-page { background: var(--cream); }
.bar-simple { position: sticky; top: 14px; margin: 14px auto 0; transform: none; left: auto; }
.bar-back { font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 999px; }
.bar-back:hover { background: var(--cream); }
.account-wrap { width: min(var(--max), 100% - 2 * var(--pad)); margin: 0 auto; padding: clamp(48px, 7vw, 96px) 0 96px; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.account-intro { position: sticky; top: 120px; }
.account-title { font-size: clamp(34px, 4vw, 56px); line-height: 1.04; letter-spacing: -.04em; font-weight: 760; }
.apply-steps { display: grid; gap: 12px; margin-top: 34px; }
.apply-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }
.apply-steps li > span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 12px; font-weight: 750; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.apply-steps li.is-current { background: var(--white); box-shadow: 0 0 0 1.5px var(--blue); }
.apply-steps li.is-current > span { background: var(--blue); color: var(--white); box-shadow: none; }
.apply-steps strong { display: block; font-size: 16px; }
.apply-steps small { display: block; font-size: 14px; color: var(--ink-soft); }
.apply-note { margin-top: 22px; font-size: 14px; color: var(--ink-soft); }
.account-card { background: var(--white); border-radius: 28px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 0 0 1px rgba(0, 0, 57, .05), 0 40px 80px -48px rgba(0, 0, 57, .45); }
.card-heading { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.025em; font-weight: 760; line-height: 1.2; }
.card-sub { margin-top: 8px; color: var(--ink); font-size: 16px; }
.apply-form fieldset { border: 0; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.apply-form legend { font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; padding: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span, .field-line { font-size: 14px; font-weight: 700; color: var(--navy); }
.field-line { display: flex; justify-content: space-between; gap: 12px; }
.field-line a, .card-foot a, .login-side-foot a { color: var(--blue); font-weight: 700; }
.field b { color: var(--blue); }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--cream); box-shadow: inset 0 0 0 1.5px transparent; font: inherit; font-size: 16px; color: var(--navy); transition: box-shadow var(--duration-fast) var(--ease), background-color var(--duration-fast); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 2px var(--blue); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid .choice { box-shadow: inset 0 0 0 2px #C4002B; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 999px; background: var(--cream); font-size: 15px; font-weight: 650; cursor: pointer; transition: background-color var(--duration-fast), color var(--duration-fast); }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice:has(input:checked) { background: var(--navy); color: var(--white); }
.choice:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; font-size: 15px; color: var(--ink); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.consent.is-invalid span { color: #C4002B; }
.form-error { margin-top: 18px; padding: 12px 16px; border-radius: 14px; background: #FFF0F2; color: #A00024; font-size: 15px; font-weight: 650; }
.apply-form .submit { width: 100%; margin-top: 22px; }
.form-foot, .card-foot { margin-top: 14px; font-size: 14px; color: var(--ink-soft); text-align: center; }
.apply-done { display: grid; gap: 14px; text-align: left; }
.apply-done:focus { outline: none; }
.done-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue-wash); transition: background var(--check-box) var(--check-ease); }
.done-mark[data-checked="true"] { background: var(--blue); }
.done-mark svg { width: 20px; height: 20px; overflow: visible; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.apply-done p { color: var(--ink); font-size: 16px; }
.done-alt { font-size: 14px !important; color: var(--ink-soft) !important; }
.apply-done .actions { margin-top: 6px; }
.send-choices { display: grid; gap: 4px; padding: 6px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }

/* masuk.html */
.design-banner { position: sticky; top: 0; z-index: 70; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 10px var(--pad); background: #FFF6D6; color: var(--navy); font-size: 14px; }
.design-banner a { font-weight: 700; color: var(--navy); }
.state-switch { display: flex; flex-wrap: wrap; gap: 6px; }
.state-switch button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(0, 0, 57, .08); font-size: 13px; font-weight: 700; cursor: pointer; }
.state-switch button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.login-split { display: grid; grid-template-columns: .9fr 1.1fr; min-height: calc(100vh - 56px); }
.login-side { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: clamp(32px, 5vw, 64px); background: var(--navy); color: var(--white); border-radius: 0 var(--radius) var(--radius) 0; }
.login-side-title { font-size: clamp(36px, 4vw, 56px); font-weight: 760; letter-spacing: -.04em; line-height: 1.04; }
.login-side-list { display: grid; gap: 14px; margin-top: 30px; }
.login-side-list li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 620; color: rgba(255, 255, 255, .88); }
.login-side-foot { font-size: 14px; color: rgba(255, 255, 255, .66); }
.login-side-foot a { color: var(--white); }
.login-main { display: grid; align-content: center; justify-items: center; gap: 18px; padding: clamp(32px, 5vw, 64px) var(--pad); }
.login-top { width: min(440px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.login-brand img { width: 118px; }
.login-card { width: min(440px, 100%); display: grid; gap: 16px; }
.login-card .submit { width: 100%; margin-top: 4px; }
.galat-msg { display: none; margin: 0; }
[data-state="galat"] .galat-msg { display: block; }
[data-state="galat"] #l-pass { box-shadow: inset 0 0 0 2px #C4002B; }
.field-hint { font-size: 13px; color: var(--ink-soft); }
.design-note { width: min(440px, 100%); padding: 12px 16px; border-radius: 14px; background: #FFF6D6; font-size: 14px; font-weight: 650; }
.no-js-only { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bar nav { gap: 20px; }
  .motion-label { display: none; }
}
@media (max-width: 900px) {
  .account-wrap, .login-split { grid-template-columns: 1fr; }
  .account-intro { position: static; }
  .login-side { display: none; }
  .bar-back { padding: 8px 10px; font-size: 13px; }
  :root { --bar-h: 58px; }
  body { font-size: 17px; }
  .bar { top: 10px; padding-left: 18px; }
  .bar nav { display: none; }
  .brand img { width: 104px; }
  .staff-login-wide { display: none; }
  .staff-login-narrow { display: inline; }
  .staff-login { padding: 0 12px; }
  .bar-cta { height: 42px; padding: 0 16px; }
  .section-head.split, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-head.split { gap: 18px; }
  .pillars, .service-grid { grid-template-columns: 1fr; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .faq-list .answer { padding-right: 8px; }
  .contact { width: calc(100% - 16px); }
}
@media (max-width: 560px) {
  .bar { gap: 8px; padding-left: 14px; }
  .brand img { width: 90px; }
  .bar-actions { gap: 2px; }
  .motion-toggle { padding-inline: 6px; }
  .staff-login { padding-inline: 8px; }
  .bar-cta { padding-inline: 12px; font-size: 13px; white-space: nowrap; }
  .field-row { grid-template-columns: 1fr; }
  .people { gap: 10px; }
  .person-meta { padding: 14px; }
  .person-meta strong { font-size: 17px; }
  .person-meta small { font-size: 13px; }
  .plus { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; }
  .bio { padding: 0 14px 18px; font-size: 15px; }
  .actions .button { width: 100%; }
  .pane-brief dl > div { grid-template-columns: 82px 1fr; font-size: 14px; }
  .mail-body { font-size: 16px; }
  .card { padding: 18px 18px 16px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-links { align-items: flex-start; }
}

/* ---------- reduced motion ---------- */
.motion-off *, .motion-off *::before, .motion-off *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
html.motion-off { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
