/* ==========================================================
   Mor Dayan — Business Operations Partner
   Shared styles for the Hebrew (RTL) and English (LTR) pages.
   ========================================================== */

:root {
  --ink: #1f1a17;
  --ink-2: #3a312c;
  --ink-3: #574b44;
  --paper: #fbf4ec;
  --card: rgba(255, 250, 244, 0.8);
  --card-line: rgba(31, 26, 23, 0.12);

  --coral: #f2734f;
  --coral-ink: #b4452a; /* coral dark enough for small text */
  --orange: #f39a3c;
  --yellow: #f5c451;
  --pink: #f29ab4;
  --lilac: #c9b4e6;
  --purple: #9479c9;
  --teal: #5fb3aa;
  --green: #86b37f;
  --blue: #8fb0e3;

  --f-display: "Fraunces", "Rubik", Georgia, serif;
  --f-body: "DM Sans", "Heebo", system-ui, sans-serif;
  --f-hand: "Amatic SC", "Comic Sans MS", cursive;
  --f-latin-display: "Fraunces", Georgia, serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 28px;
  --r-md: 20px;
}

html[lang="he"] {
  --f-display: "Rubik", "Fraunces", Georgia, serif;
  --f-body: "Heebo", "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(16px, 0.5vw + 14px, 18px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.skip:focus { top: 16px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.latin { font-family: var(--f-latin-display); }

/* ---------- living background ---------- */

#bg {
  position: fixed;
  inset: -12vh -12vw;
  z-index: -2;
  pointer-events: none;
  --g1: rgba(246, 135, 95, .9);
  --g2: rgba(245, 163, 77, .85);
  --g3: rgba(243, 165, 189, .85);
  --g4: rgba(205, 186, 234, .85);
  background:
    radial-gradient(48vmax 42vmax at var(--x1, 18%) var(--y1, 22%), var(--g1), transparent 70%),
    radial-gradient(52vmax 46vmax at var(--x2, 86%) var(--y2, 28%), var(--g2), transparent 70%),
    radial-gradient(58vmax 48vmax at var(--x3, 28%) var(--y3, 86%), var(--g3), transparent 72%),
    radial-gradient(50vmax 44vmax at var(--x4, 82%) var(--y4, 80%), var(--g4), transparent 70%),
    var(--paper);
}

#grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .28;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .12 0 0 0 0 .1 0 0 0 0 .09 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- header ---------- */

.site-head {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  padding: 12px var(--gutter) 0;
}

.site-head__bar {
  position: relative;
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 8px;
  padding-inline: 22px 8px;
  background: rgba(251, 244, 236, .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(31, 26, 23, .08);
  border-radius: 999px;
  box-shadow: 0 10px 30px -20px rgba(31, 26, 23, .45);
}

.brand {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 2px;
  margin-inline: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-2);
  font-size: .92rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav a:hover,
.nav a[aria-current="true"] {
  background: rgba(31, 26, 23, .08);
  color: var(--ink);
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}
.nav + .head-actions { margin-inline-start: 0; }

.lang {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 40px;
  padding: 0 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none;
  font-family: var(--f-body);
}
.lang:hover { background: var(--ink); color: var(--paper); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  padding: 0;
}
.nav-toggle svg { width: 20px; height: 20px; display: block; margin: auto; }
.nav-toggle .x { display: none; }
.is-open .nav-toggle .x { display: block; }
.is-open .nav-toggle .bars { display: none; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 12px 26px -14px rgba(31, 26, 23, .7);
}
.btn--ghost {
  background: rgba(255, 250, 244, .66);
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: rgba(255, 250, 244, .95); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }

[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- shared section scaffolding ---------- */

main {
  position: relative;
  overflow-x: clip;
}

.sec {
  position: relative;
  z-index: 1;
  padding-block: clamp(80px, 12vh, 140px);
}

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(32px, 6vh, 60px);
}
.sec-head--flip .station { order: -1; }
.sec-head--solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

.num {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border: 1.8px solid var(--ink);
  border-radius: 50%;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1;
  background: rgba(255, 250, 244, .45);
}

h1, h2, h3 { text-wrap: balance; }

h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 16px;
}
html[lang="he"] h2 { letter-spacing: -.01em; font-weight: 600; }

h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.22rem, 1.6vw, 1.55rem);
  line-height: 1.25;
  margin: 0 0 10px;
}
html[lang="he"] h3 { font-weight: 600; }

.sec-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--ink-2);
  max-width: 34em;
  margin: 0;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 34px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 50px -38px rgba(31, 26, 23, .55);
}
.card p:last-child { margin-bottom: 0; }

.tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .03em;
}
html[lang="en"] .tag { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }

.hand {
  font-family: var(--f-hand);
  font-weight: 700;
}

/* ---------- stations & illustrations ---------- */

.station {
  position: relative;
  width: 100%;
  max-width: 440px;
  justify-self: center;
}

.anchor {
  position: absolute;
  left: var(--ax, 50%);
  top: var(--ay, 96%);
  width: 2px;
  height: 2px;
  pointer-events: none;
}

.ill {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.ill .l, .finale-svg .l {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ill .lf, .finale-svg .lf {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ill .thin { stroke-width: 1.4; }
.ill .soft { opacity: .45; }
.ill .dash { stroke-dasharray: 3 7; }
.ill text, .finale-svg text {
  font-family: var(--f-hand);
  font-weight: 700;
  fill: var(--ink);
}

/* progress-driven pieces: --p (0..1) arrives from JS; --a/--b select a window */
[data-p] { --p: 1; }

.ill .d, .ill .u, .ill .pp, .ill .fo, .ill .grow, .ill .gauge {
  --q: clamp(0, (var(--p, 1) - var(--a, 0)) / (var(--b, 1) - var(--a, 0)), 1);
}
.ill .d { stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--q)); }
.ill .u { stroke-dasharray: 1 1; stroke-dashoffset: calc(-1 * var(--q)); }
.ill .pp {
  opacity: var(--q);
  transform: scale(calc(.4 + .6 * var(--q)));
  transform-box: fill-box;
  transform-origin: center;
}
.ill .fo { opacity: calc(1 - var(--q)); }
.ill .grow {
  transform: scaleY(var(--q));
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.ill .gauge {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: calc(1 - (.78 + .11 * var(--q)));
}

/* ---------- the journey line and the walker ---------- */

.journey {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.journey__svg { position: absolute; top: 0; left: 0; overflow: visible; }
.journey__future {
  fill: none;
  stroke: var(--ink);
  stroke-opacity: .3;
  stroke-width: 1.6;
  stroke-dasharray: 1.5 10;
  stroke-linecap: round;
}
.journey__drawn {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .88;
}
.journey__ghost {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.1;
  opacity: .32;
  transform: translate(1.6px, 1.2px);
}

.walker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0; /* walks behind the frosted cards so text always stays readable */
  width: 64px;
  height: 111px;
  pointer-events: none;
  will-change: transform;
}
.walker__flip { width: 100%; height: 100%; transform-origin: 50% 90%; }
.mor { display: block; width: 100%; height: 100%; overflow: visible; }
.mor .l { fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mor .lf { fill: var(--paper); stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mor .g { stroke-width: 1.35; }
.mor .ink-fill { fill: var(--ink); }
.mor .paper-line { fill: none; stroke: var(--paper); stroke-width: 1.3; stroke-linecap: round; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 120px 80px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  width: 100%;
}
.hero__q {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 5.4vw, 4.7rem);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin: 0 0 30px;
}
html[lang="he"] .hero__q { letter-spacing: -.015em; font-weight: 600; line-height: 1.12; }

.role {
  display: inline-block;
  margin: 0 0 18px;
  font-family: var(--f-latin-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 1.2;
  padding-bottom: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'><path d='M3 9 C60 3 130 4 190 7 C230 9 270 6 297 4' fill='none' stroke='%23f2734f' stroke-width='5' stroke-linecap='round'/></svg>") no-repeat bottom / 100% 12px;
}

.lead {
  font-size: clamp(1.08rem, 1.35vw, 1.27rem);
  color: var(--ink-2);
  max-width: 34em;
  margin-bottom: 30px;
}

.hero__exp {
  margin: 34px 0 0;
  max-width: 40em;
  font-size: .95rem;
  color: var(--ink-2);
  padding-inline-start: 14px;
  border-inline-start: 2px solid var(--ink);
}

.station--hero { max-width: 460px; }
.station--hero .see {
  position: absolute;
  inset-inline-start: 0;
  top: -8px;
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  translate: -50% 0;
  width: 30px;
  height: 48px;
  border: 1.8px solid var(--ink);
  border-radius: 999px;
  opacity: .7;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 9px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--ink);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } }

/* ---------- results ---------- */

.results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.metric__viz { max-width: 280px; margin: -6px 0 2px; }
.metric__num {
  display: block;
  font-family: var(--f-latin-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.metric p { color: var(--ink-2); }

.cap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 18px;
}
.cap .ill { width: 96px; flex: none; }
.cap h3 { margin: 0; }

/* ---------- ways ---------- */

.ways {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.ways__or {
  align-self: center;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1.8px dashed var(--ink);
  border-radius: 50%;
  background: var(--card);
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 1.7rem;
}
.way .ill { width: 88px; margin-bottom: 10px; }
.way p { color: var(--ink-2); }

/* ---------- areas ---------- */

.areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.area .ill { width: 76px; margin-bottom: 14px; }
.area .q { font-weight: 600; color: var(--ink); }
.area p { color: var(--ink-2); }

/* ---------- process ---------- */

.process {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.station--cycle { max-width: 420px; }

.steps {
  list-style: none;
  margin: 0;
  padding: clamp(10px, 2vw, 18px) clamp(20px, 3vw, 32px);
}
.steps li {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed rgba(31, 26, 23, .28);
  color: var(--ink-3);
  transition: color .4s ease, transform .4s ease;
}
.steps li:last-child { border-bottom: 0; }
.steps .n {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1.8px solid currentColor;
  border-radius: 50%;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  transition: background .4s ease, color .4s ease;
}
.steps h3 { margin: 6px 0 6px; font-size: clamp(1.12rem, 1.4vw, 1.3rem); }
.steps p { margin: 0; }
.steps li.is-on { color: var(--ink); }
.steps li.is-on .n { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- selected work ---------- */

.cases { display: grid; gap: 22px; }
.case {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}
.case h3 { font-size: clamp(1.35rem, 2.1vw, 1.85rem); }
.case p { color: var(--ink-2); }
.case__viz { align-self: center; }

.more { margin-top: 6px; }
.more summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  background: rgba(255, 250, 244, .6);
}
.more summary::-webkit-details-marker { display: none; }
.more summary::before {
  content: "+";
  font-size: 1.25rem;
  line-height: 1;
  transition: transform .25s ease;
}
.more[open] summary::before { transform: rotate(45deg); }
.more .when-open { display: none; }
.more[open] .when-open { display: inline; }
.more[open] .when-closed { display: none; }
.more__body { padding-top: 18px; max-width: 46em; }

/* ---------- voices ---------- */

.voices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.quote {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.12rem, 1.5vw, 1.32rem);
  line-height: 1.55;
}
.quote::before {
  content: "“";
  display: block;
  height: .6em;
  margin-bottom: 8px;
  font-family: var(--f-latin-display);
  font-size: 4.2rem;
  line-height: 1;
  color: var(--coral);
}
html[lang="he"] .quote::before { content: "״"; font-family: var(--f-display); }

/* ---------- about ---------- */

.about h3.motto {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 500;
  margin-bottom: 18px;
}
html[lang="he"] .about h3.motto { font-weight: 600; }
.about p { color: var(--ink-2); }
.about .more__body p { color: var(--ink-2); }

/* ---------- finale ---------- */

.finale {
  position: relative;
  z-index: 1;
  height: 340vh;
}
.finale > .anchor { top: 4%; left: 50%; }
.finale__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.finale__art {
  width: min(100%, 1240px);
  height: 100%;
  padding: 86px var(--gutter) 120px;
}
.finale-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.finale-svg .tint { opacity: calc(var(--tint, 0) * .9); stroke: none; }
.finale-svg .fl {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
}
.finale-svg .fring {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
}
.finale-svg .vine { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1 1; }
.finale-svg .flabel { font-size: 40px; }

.finale__caption {
  position: absolute;
  bottom: clamp(24px, 6vh, 56px);
  left: 50%;
  translate: -50% 0;
  width: max-content;
  max-width: calc(100% - 2 * var(--gutter));
  margin: 0;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--card-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

/* ---------- contact ---------- */

.contact {
  text-align: center;
  padding-block: clamp(100px, 16vh, 170px) clamp(80px, 12vh, 130px);
}
.contact h2 {
  max-width: 17em;
  margin-inline: auto;
  margin-bottom: 34px;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
}
.contact .ctas { justify-content: center; }
.site-foot {
  position: relative;
  z-index: 1;
  padding: 26px var(--gutter) 38px;
  font-size: .9rem;
  color: var(--ink-2);
}
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 0;
  border-top: 1px solid rgba(31, 26, 23, .18);
  padding-top: 22px;
}

/* ---------- responsive ---------- */

@media (max-width: 1060px) {
  .nav a { padding: 8px 9px; font-size: .88rem; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    inset-inline: 0;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
    background: rgba(251, 244, 236, .97);
    border: 1px solid rgba(31, 26, 23, .1);
    border-radius: 24px;
    box-shadow: 0 24px 50px -24px rgba(31, 26, 23, .5);
  }
  .nav a { padding: 12px 16px; font-size: 1rem; }
  .is-open .nav { display: flex; }
  .head-actions { margin-inline-start: auto; }
  .nav + .head-actions { margin-inline-start: auto; }
}

@media (max-width: 860px) {
  .hero { padding-top: 110px; align-items: flex-start; }
  .hero__grid,
  .sec-head,
  .process,
  .case { grid-template-columns: minmax(0, 1fr); }

  .sec-head .station,
  .hero .station { width: 80%; max-width: 360px; justify-self: end; order: 0; }
  .sec-head--flip .station { justify-self: start; }
  .process .station { width: 82%; max-width: 360px; justify-self: start; order: -1; }

  .results,
  .voices,
  .areas { grid-template-columns: minmax(0, 1fr); }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .ways__or { justify-self: center; }
  .case__viz { max-width: 340px; }
  .scroll-cue { display: none; }
  .walker { width: 48px; height: 83px; }
}

@media (max-width: 560px) {
  .head-actions .btn { display: none; }
  .site-head__bar { padding-inline: 18px 6px; }
  .ctas .btn { flex: 1 1 100%; justify-content: center; }
  .finale__caption { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .steps li, .steps .n { transition: none; }
  .scroll-cue::after { animation: none; }
  .walker { display: none; }
  .finale { height: auto; }
  .finale__stage { position: relative; height: auto; min-height: 90vh; }
}

.finale-svg .g { stroke-width: 1.35; }
.finale-svg .ink-fill { fill: var(--ink); }
.finale-svg .paper-line { fill: none; stroke: var(--paper); stroke-width: 1.3; stroke-linecap: round; }
