/* ==========================================================================
   Fonts – Hanken Grotesk (SIL OFL 1.1), served from our own server
   ========================================================================== */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/hanken-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/hanken-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --ink: #111111;
  --paper: #ffffff;
  --ghost: #d3d3d3;
  --muted: #5c5c5c;
  --line: #e3e3e3;
  --logo: #b2b4b6;
  --orange: #eb4926;
  --dark: #0e0e0e;
  --pad: clamp(20px, 3vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ast-top: var(--orange);  /* the mark is all orange by default; --ast-arrow is only set where the arrow does something */
  --font: 'Hanken Grotesk', 'Neue Haas Unica', 'Helvetica Neue', Helvetica, sans-serif;
  /* Layout grid: 12 columns inside .wrap. Headlines and statements start at column 1,
     second headlines indent their first line by one quarter (--indent), running copy
     starts on that same line, labels sit in the quarter before it. */
  --gutter: clamp(16px, 2.2vw, 32px);
  --inner: calc(min(100vw, 1440px) - 2 * var(--pad));
  --col: calc((var(--inner) - 11 * var(--gutter)) / 12);
  --indent: calc(3 * (var(--col) + var(--gutter)));   /* one quarter: start of column 4 */
  --measure: calc(6 * var(--col) + 5 * var(--gutter));   /* copy: six columns */
  --measure-wide: calc(8 * var(--col) + 7 * var(--gutter));
}
@media (max-width: 720px) {
  :root { --indent: 0px; --measure: 100%; --measure-wide: 100%; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }  /* clip: nothing (e.g. hidden popups at the edge) can make the page scroll sideways, sticky scenes keep working */
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; }

.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--pad); }
.wrap--full { width: 100%; }
.sprite { position: absolute; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ==========================================================================
   Type scale
   ========================================================================== */
.display {
  margin: 0;
  font-size: clamp(50px, 9.4vw, 156px);
  line-height: .95;
  font-weight: 400;
  letter-spacing: -.045em;
}
.display-l {
  margin: 0;
  font-size: clamp(46px, 8.4vw, 140px);
  line-height: .95;
  font-weight: 400;
  letter-spacing: -.045em;
}
.statement {
  margin: 0;
  font-size: clamp(28px, 3.9vw, 60px);
  line-height: 1.12;
  letter-spacing: -.03em;
}
.statement + .statement { margin-top: .7em; }  /* two statements in a row read as one block */
.small {
  margin: 0 0 0 auto;
  max-width: 520px;
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.55;
  color: #3a3a3a;
}
.label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Brand asterisk, used inline everywhere. Two tones: rays on top, arrow below */
.ast-top { fill: var(--ast-top); }
.ast-arrow { fill: var(--ast-arrow, var(--ast-top)); }  /* resolved here, so it follows a context's --ast-top */
.on-orange .site-header { --ast-top: var(--ink); }
/* The arrow on its own, replaces → and ↗ */
.arw { display: inline-block; width: .62em; height: .62em; fill: currentColor; vertical-align: -.04em; }
.arw--e { transform: rotate(90deg); }
.arw--ne { transform: rotate(45deg); }
.ast { display: inline-block; width: .62em; height: .6em; fill: currentColor; color: var(--orange); vertical-align: baseline; }

/* Highlight: orange only. Underlines belong to links (a.hl, .cta-inline) */
.hl { transition: color .6s ease; }
.hl.on, html:not(.js) .hl { color: var(--orange); }

/* ==========================================================================
   Chrome: progress, cursor, header
   ========================================================================== */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: var(--orange); transform-origin: left; transform: scaleX(0);
}
.cursor {
  /* Zero-size anchor on the pointer. Over the hero it shows the arrow from the mark
     (tip on the hotspot, sized to match the hero asterisk so the two lock together);
     elsewhere a small orange point. */
  position: fixed; left: 0; top: 0; z-index: 70; width: 0; height: 0;
  pointer-events: none; opacity: 0; transition: opacity .3s;
}
.has-cursor .cursor { opacity: 1; }
.cursor.is-text { opacity: 0; }
.cursor > svg {
  position: absolute; left: -14.85px; top: 0; width: 29.7px; height: 24.242px;
  fill: currentColor; color: var(--ink); transform-origin: 50% 0;
  opacity: 0; transform: scale(.4); transition: transform .35s var(--ease), opacity .25s, color .3s;
}
.cursor::after {
  content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--orange);
  transition: width .35s var(--ease), height .35s var(--ease), left .35s var(--ease), top .35s var(--ease), background-color .35s, opacity .25s;
}
.cursor.is-hover::after { left: -32px; top: -32px; width: 64px; height: 64px; background: rgba(235, 73, 38, .16); }
.cursor.is-light::after { background: #fff; }
.cursor.is-light.is-hover::after { background: rgba(255, 255, 255, .25); }
.cursor.is-arrow > svg { opacity: 1; transform: none; }
.cursor.is-arrow::after { opacity: 0; }
.cursor.is-arrow.is-hover > svg { color: var(--orange); transform: rotate(45deg); }
.cursor.is-arrow.is-light > svg { color: #fff; }
/* Pause: two bars, shown while the pointer holds the running problem → solution pairs */
.cursor__pause { position: absolute; left: -9px; top: -11px; width: 18px; height: 22px; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .35s var(--ease); }
.cursor__pause::before, .cursor__pause::after { content: ""; position: absolute; top: 0; bottom: 0; width: 6px; background: var(--orange); }
.cursor__pause::before { left: 0; }
.cursor__pause::after { right: 0; }
.cursor.is-pause > svg { opacity: 0; transform: scale(.4); }
.cursor.is-arrow.is-next > svg { opacity: 1; color: var(--orange); transform: rotate(90deg) scale(1.15); }  /* over the arrow: next */
.cursor.is-pause .cursor__pause { opacity: 1; transform: none; }
.cursor__play { position: absolute; left: -8px; top: -11px; width: 20px; height: 22px; background: var(--orange); clip-path: polygon(0 0, 100% 50%, 0 100%); opacity: 0; transform: scale(.4); transition: opacity .2s, transform .35s var(--ease); }
.cursor.is-play > svg { opacity: 0; transform: scale(.4); }
.cursor.is-play .cursor__play { opacity: 1; transform: none; }
/* The asterisk as pointer: on every page, except over the home hero where the arrow docks
   onto the big asterisk. Scrolling out of the hero pops the big one onto the pointer.
   --dx/--dy/--k are set for the pop (start where the hero asterisk was). Always upright. */
.cursor__star { position: absolute; left: -12px; top: -13px; width: 24px; height: 26px; opacity: 0; transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(var(--k, .3)); transition: opacity .2s, transform .6s cubic-bezier(.34, 1.6, .5, 1); }
.cursor__star svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cursor.is-on-orange .cursor__star { --ast-top: #fff; }  /* white on the orange flood */
.cursor.is-star:not(.is-nav):not(.is-next) > svg { opacity: 0; }  /* the arrow stays for the top bar and for "next" */
.cursor.is-star .cursor__star { opacity: 1; --k: 1; }
.cursor.is-star.is-hover .cursor__star { --k: 1.45; }
.cursor.is-star:is(.is-pause, .is-play, .is-next, .is-text, .is-nav) .cursor__star { opacity: 0; --k: .3; }
.cursor-arrow.has-cursor:not(.menu-open), .cursor-arrow.has-cursor:not(.menu-open) * { cursor: none; }
.cursor-arrow.has-cursor:not(.menu-open) :is(input, textarea, select) { cursor: text; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: transform .6s var(--ease), color .4s;
}
.site-header.is-hidden { transform: translateY(-110%); }
/* Frosted glass behind the bar once the page has scrolled, so it stays legible over content */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  opacity: 0; transition: opacity .4s, background-color .4s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.on-dark::before { background: rgba(0, 0, 0, .18); }
.site-header__inner {
  max-width: 1440px; margin: 0 auto; padding: 22px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header.on-dark { color: #fff; }
.logo { display: block; line-height: 0; text-decoration: none; }
.logo svg { width: clamp(110px, 10vw, 140px); height: auto; overflow: visible; }
.logo .logo-word { fill: var(--logo-ink); transition: fill .4s; }
.logo { --logo-ink: var(--ink); }
.site-header.on-dark .logo, .contact .logo { --logo-ink: #fff; }
.logo .logo-ast { fill: var(--orange); transform-box: fill-box; transform-origin: 50% 50%; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); font-size: 17px; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat left calc(50% + .75em) / 0% 1px; }  /* the line is simply there on hover, no draw-in */
.nav-link:hover, .nav-link[aria-current="page"] { background-size: 100% 1px; }
.nav-link[aria-current="page"] { color: inherit; }
/* Letter mix on hover (JS): fixed width while the letters change, plain colour */
.mix { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: top; pointer-events: none; }
/* Text that is rebuilt while it scrambles must not take the click: mousedown and mouseup would
   land on different elements and the browser drops the click. The link or stage gets it instead. */
[data-scramble] { pointer-events: none; }
.lang { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; letter-spacing: .04em; }
.lang a { text-decoration: none; color: var(--muted); min-width: 24px; text-align: center; }
.lang a:hover { color: var(--orange); }
.lang__sep { color: var(--ghost); }
.on-dark .lang a { color: #9a9a9a; }

/* ==========================================================================
   Split text mechanics
   ========================================================================== */
.js [data-reveal] .w {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding-bottom: .14em; margin-bottom: -.14em;
  /* Room at the sides too: with the tight tracking, round glyphs (the s of Rund Text) overhang the word box */
  padding-inline: .1em; margin-inline: -.1em;
}
.js [data-reveal] .w__i {
  display: inline-block;
  transform: translate3d(0, 112%, 0) rotate(5deg);
  transform-origin: left bottom;
  transition: transform 1.2s var(--ease), color .8s ease;
  transition-delay: calc(var(--i) * 45ms), calc(var(--i) * 45ms + .55s);
}
.js [data-reveal].is-in .w__i { transform: none; }
.js [data-reveal].is-in .w--hl .w__i { color: var(--orange); }

.js [data-ink] .w { color: var(--ghost); transition: color .45s ease; }
.js [data-ink] .w.on { color: var(--ink); }
.js [data-ink] .w--hl.on { color: var(--orange); }

.cw { display: inline-block; white-space: nowrap; }
.w, .w__i, .cw { text-indent: 0; }  /* a first-line indent must not be inherited by every word */
.c { display: inline-block; will-change: transform; }

.js [data-fade] { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js [data-fade].is-in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__inner { position: relative; z-index: 1; width: 100%; padding-top: 160px; padding-bottom: clamp(48px, 9vh, 104px); }
.hero h1 { max-width: 1240px; font-size: clamp(48px, 8.6vw, 144px); }
.hero__meta {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-top: clamp(40px, 6vh, 72px); font-size: 15px; color: var(--muted);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(120px, 16vw, 220px); }
.section--tight-top { padding-top: 0; }
.section--airy { padding-top: clamp(180px, 24vw, 360px); }
.stack-gap { margin-top: clamp(64px, 9vw, 120px); }

/* Scene: a sticky stage driven by scroll progress */
.scene { position: relative; }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
}
.scene--break { height: 150vh; }
.break-next { display: block; color: var(--ink); }
/* Poster type for the held scenes: every line exactly as wide as the column (font size per line
   set by JS, [data-fit]), so the type fills the held screen instead of floating in it */
.break-fit { line-height: .92; letter-spacing: -.055em; }
.break-fit .fit { display: block; width: max-content; white-space: nowrap; letter-spacing: -.055em; }  /* on the line itself: em must follow the fitted size, not the heading's */
.break-fit .break-next { transform-origin: 0 100%; }

/* Flash scene: sentence ends in an asterisk, the asterisk floods the page */
.scene--flash { height: 260vh; }
.ast-bg { position: absolute; inset: 0; background: var(--orange); opacity: 0; }
.flash-lead { position: relative; width: 100%; }
.flash-lead__text { margin: 0; font-size: clamp(30px, 4.6vw, 76px); line-height: 1.08; letter-spacing: -.035em; }
.js .flash-lead .w { color: var(--ghost); transition: color .45s ease; }
.js .flash-lead .w.on { color: var(--ink); }
.js .flash-lead .w--hl.on { color: var(--orange); }
.hl--plain { background: none !important; }
.nw { white-space: nowrap; }
.ast-anchor { display: inline-block; width: .55em; height: .52em; margin-left: .05em; vertical-align: .2em; color: var(--orange); }
.ast-anchor svg, .ast-big svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.js:not(.reduced) .ast-anchor { visibility: hidden; }
.ast-big { position: absolute; left: 0; top: 0; z-index: 1; width: 22vmin; height: 22vmin; color: var(--orange); transform: scale(0); transform-origin: 50% 50%; will-change: transform; }
.flash-copy { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; will-change: opacity, transform; }
.js:not(.reduced) .flash-copy { opacity: 0; }
.flash-claim { margin: 0 auto; max-width: 1200px; font-size: clamp(38px, 6vw, 100px); line-height: 1; letter-spacing: -.045em; }
.flash-claim .w { opacity: .22; transition: opacity .35s ease; }
.flash-claim .w.on { opacity: 1; }
html:not(.js) .scene--flash, .reduced .scene--flash { height: auto; }
html:not(.js) .scene--flash .stage, .reduced .scene--flash .stage { position: relative; height: auto; display: block; padding: 0; overflow: visible; }
html:not(.js) .flash-lead, .reduced .flash-lead { padding-block: 120px; }
html:not(.js) .flash-copy, .reduced .flash-copy { position: relative; background: var(--orange); padding-block: 140px; opacity: 1; }
html:not(.js) .ast-big, html:not(.js) .ast-bg { display: none; }

/* Years: the one number that matters */
.years { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px clamp(24px, 4vw, 64px); margin-bottom: clamp(80px, 10vw, 140px); }
.years__num { display: inline-block; font-size: clamp(180px, 30vw, 480px); line-height: .78; letter-spacing: -.07em; font-variant-numeric: tabular-nums; transform-origin: left bottom; will-change: transform; }
.years__plus { color: var(--orange); font-size: .45em; vertical-align: top; margin: .12em 0 0 .08em; letter-spacing: 0; display: inline-block; }
.years__plus svg { display: block; width: .7em; height: .58em; fill: currentColor; }
.years__text { flex: 1 1 280px; max-width: 560px; margin: 0 0 .4em; font-size: clamp(28px, 3.6vw, 56px); line-height: 1.08; letter-spacing: -.03em; }

/* References */
.refs-title { margin: 0 0 clamp(80px, 10vw, 140px); }
.ref-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.ref-head .label { font-size: 15px; }
.ref-head .count { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* One size for every list of names; air instead of separators */
.cloud { display: flex; flex-wrap: wrap; gap: .12em .62em; margin: 0; padding: 0; list-style: none; font-size: clamp(30px, 3.8vw, 60px); line-height: 1.12; letter-spacing: -.035em; }
.cloud li { white-space: nowrap; transition: color .3s; }
.cloud li:hover { color: var(--orange); }
/* Public sector: the state is the word, the authority appears beneath it */
.cloud .ps { position: relative; cursor: default; }
.cloud .ps:focus { outline: none; }
.cloud .ps:focus-visible { color: var(--orange); }
.ps__office {
  position: absolute; left: 0; top: 100%; z-index: 2; width: max-content; max-width: min(360px, 80vw);
  padding: 6px 8px 6px 0; background: var(--paper); font-size: 15px; line-height: 1.35; letter-spacing: 0; white-space: normal; color: var(--ink);
  opacity: 0; transform: translate3d(0, -4px, 0); pointer-events: none; transition: opacity .3s, transform .4s var(--ease);
}
.ps:hover .ps__office, .ps:focus .ps__office { opacity: 1; transform: none; }


.ref-block + .ref-block { margin-top: clamp(96px, 11vw, 160px); }

/* Contact footer (black, on every page) */
.contact { background: var(--dark); color: #fff; padding-top: clamp(120px, 16vw, 220px); }
.wave { margin: 0; font-size: clamp(44px, 9vw, 152px); line-height: .95; letter-spacing: -.05em; font-weight: 400; cursor: default; }
.wave .c { transition: color .3s; }
.wave-sub { margin: clamp(20px, 2.4vw, 36px) 0 0; max-width: var(--measure-wide); font-size: clamp(24px, 3vw, 44px); line-height: 1.15; letter-spacing: -.03em; color: #8f8f8f; }
.talk {
  display: inline-flex; align-items: center; gap: .3em; margin-top: clamp(40px, 6vw, 80px);
  font-size: clamp(56px, 12vw, 200px); line-height: .9; letter-spacing: -.05em; text-decoration: none; color: var(--orange);
}
.talk:hover { color: #fff; }
.talk__arrow { display: inline-block; transition: transform .6s var(--ease); }
.talk:hover .talk__arrow { transform: translateX(.18em); }
.mail-plain { margin: clamp(28px, 3vw, 40px) 0 0; font-size: clamp(18px, 1.6vw, 22px); }
.mail-plain a { color: #cfcfcf; text-decoration: none; border-bottom: 1px solid #444; padding-bottom: 3px; }
.mail-plain a:hover { color: #fff; border-color: var(--orange); }
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px;
  margin-top: clamp(120px, 14vw, 200px); padding: 28px 0 36px; border-top: 1px solid #2c2c2c;
  font-size: 15px; color: #9a9a9a;
}
.footer nav { display: flex; gap: 28px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }

/* Inline CTA, dropped in between sections */
.cta-inline { margin: clamp(56px, 7vw, 96px) 0 0; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.3; letter-spacing: -.02em; color: var(--muted); }
.cta-inline a { color: var(--ink); text-decoration: none; margin-left: .3em; border-bottom: 2px solid var(--orange); padding-bottom: 2px; transition: color .3s; }
.cta-inline a:hover { color: var(--orange); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 720px) {
  .site-header__inner { padding-block: 16px; }
  .logo svg { width: 96px; }
  .site-nav { gap: 16px; font-size: 15px; }
  .lang__cur, .lang__sep { display: none; }
  .ref-head { margin-bottom: 24px; }
  .ps-row { grid-template-columns: minmax(0, 1fr) auto; }
  .ps-idx { display: none; }
  .hero__meta { font-size: 14px; }
}

/* ==========================================================================
   Reduced motion: static, fully readable
   ========================================================================== */
.reduced .scene--break { height: auto; }
.reduced .stage { position: relative; height: auto; min-height: 0; padding-block: 120px; }
.reduced .flash-claim .w { opacity: 1; }
.reduced .ast-big, .reduced .ast-bg { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   Typographic wrapping: no orphans, no ragged display lines
   ========================================================================== */
.display, .display-l, .person__name, .way__title, .flash-claim, .wave, .years__text, .places, .menu__word { text-wrap: balance; }
.statement, .small, .footnote, .person__text, .way__lead, .way__text, .way__result, .step__text, .qa dt, .qa dd, .cta-inline { text-wrap: pretty; }
.small, .person__text, .way__text, .step__text, .qa dd, .legal { -webkit-hyphens: auto; hyphens: auto; }

/* ==========================================================================
   Sub pages – same language as the start page: big type, white space,
   ink. Orange only as a micro moment (asterisk, highlight on scroll).
   ========================================================================== */
.page-hero { padding-top: clamp(170px, 26vh, 280px); padding-bottom: clamp(100px, 12vw, 180px); }
.page-hero--legal { min-height: 70vh; }
/* Zusammenarbeiten: a knot beside the headline that the pointer combs out into an arrow */
.page-hero--tangle { position: relative; touch-action: pan-y; }
.page-hero--tangle > .wrap { position: relative; z-index: 1; }
.tangle { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.page-hero--tangle.has-tangle .ast-inline { display: none; }  /* the knot becomes the asterisk here */
.page-hero--tangle:not(.has-tangle) .tangle { display: none; }
a.hl, .js [data-ink] a.hl .w--hl.on { color: var(--ink); }
a.hl:hover, .js [data-ink] a.hl:hover .w--hl.on { color: var(--orange); }
a.hl { text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) no-repeat left 94% / 100% .055em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.legal { margin-top: 48px; max-width: 720px; font-size: 18px; line-height: 1.6; color: #3a3a3a; }

/* Asterisk at the end of a headline: pops in, then turns now and then */
.ast-inline { display: inline-block; width: .46em; height: .44em; margin-left: .04em; vertical-align: .34em; color: var(--orange); transform-origin: 50% 50%; }
.ast-inline svg, .ast-mini svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.js .ast-inline { transform: scale(0) rotate(-120deg); transition: transform .9s cubic-bezier(.34, 1.56, .64, 1) .9s; }
.js .is-in .ast-inline, .js .ast-inline.is-in { transform: none; }
.ast-inline.is-idle { animation: ast-turn 7s var(--ease) infinite; }
/* Wir: the arrow comes back and the asterisk turns to the pointer like a compass */
.ast-inline.is-compass { --ast-arrow: var(--ink); }
.ast-inline.is-compass.is-idle { animation: none; }
.ast-inline.is-compass svg { will-change: transform; }
@keyframes ast-turn { 0%, 82% { transform: rotate(0); } 92%, 100% { transform: rotate(360deg); } }

.footnote { margin: clamp(32px, 4vw, 56px) 0 0; max-width: 760px; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.25; letter-spacing: -.02em; color: var(--muted); }
.footnote__mark { color: var(--orange); margin-right: .15em; }

/* People */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 96px clamp(32px, 5vw, 96px); }
.person__media { position: relative; margin: 0 0 32px; aspect-ratio: 4 / 5; background: #f4f4f2; overflow: hidden; }
.person__media canvas, .person__media video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.person__media video { filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease); }
.person:hover .person__media video { filter: none; }
.person__media figcaption { position: absolute; left: 18px; bottom: 16px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #9a9a9a; }
.person__media.has-video figcaption { display: none; }
.person__name { margin: 0; font-size: clamp(36px, 4vw, 64px); line-height: .95; letter-spacing: -.045em; font-weight: 400; }
.person__role { margin: 12px 0 0; font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.person__text { margin: 22px 0 0; max-width: 560px; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.55; color: #2b2b2b; }
.person__links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 14px 0 0; font-size: 17px; }
.person__links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; }
.person__links .arrow { display: inline-block; color: var(--muted); transition: transform .5s var(--ease), color .3s; }
.person__links a:hover .arrow { transform: translate(3px, -3px); color: var(--orange); }

/* Duo: the two of us together, full width on Björn's lines (light grey ground, they part around
   the pointer). The photo is a cut-out standing on the bottom edge; on scroll it rises a little
   and settles, the lines behind drift slower. --duo-h drives photo and name positions. */
.duo-section { --duo-h: min(92vh, 66vw); }
.duo { position: relative; margin: 0; height: calc(var(--duo-h) + clamp(80px, 9vw, 180px));  /* photo size fixed, extra air above the heads */
  min-height: 420px; overflow: hidden; background: #f4f4f2; }
.duo__bg { position: absolute; inset: -8% 0; }
.duo__bg canvas { display: block; width: 100%; height: 100%; }
.duo__img { position: absolute; left: 50%; bottom: 0; height: calc(var(--duo-h) * .96); width: auto; max-width: none; translate: -50% 0; transform-origin: 50% 100%; pointer-events: none; will-change: transform; }
/* Names centred under each person: the row is as wide as the photo, people stand at ~31% and ~69% */
.duo__names { position: relative; width: calc(var(--duo-h) * .96 * 1448 / 1086); max-width: 100%; height: clamp(110px, 9vw, 150px); margin: clamp(24px, 2.6vw, 40px) auto 0; padding: 0; }
.duo__person { position: absolute; top: 0; translate: -50% 0; text-align: center; white-space: nowrap; }
.duo__person:first-child { left: 31%; }
.duo__person--right { left: 69%; }
.duo__person .person__name { margin: 0; }
.duo__person .person__links { justify-content: center; }
@media (max-width: 720px) {
  .duo-section { --duo-h: 72vw; }
  .duo { min-height: 0; }
  /* Small screens: two plain columns, links stacked, nothing collides */
  .duo__names { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: auto; height: auto; padding-inline: var(--pad); }
  .duo__person { position: static; translate: none; white-space: normal; }
  .duo__person .person__name { font-size: 24px; }
  .duo__person .person__links { flex-direction: column; align-items: center; gap: 0; margin-top: 6px; font-size: 15px; }
  .duo__person .person__links a { min-height: 44px; }
}

/* Ways in: one big word, then situation, contribution, result */
.ways { list-style: none; margin: 0; padding: 0; }
.way { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 120px); align-items: start; }
.way + .way { margin-top: clamp(64px, 7vw, 112px); }
.js .way[data-fade] { transform: translate3d(0, 24px, 0); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.js .way[data-fade].is-in { transform: none; }
.way__title { margin: 0; font-size: clamp(56px, 9vw, 150px); line-height: .9; letter-spacing: -.05em; font-weight: 400; }
.way__body { padding-top: clamp(8px, 1.2vw, 20px); }
.way__lead { margin: 0; font-size: clamp(24px, 2.4vw, 38px); line-height: 1.15; letter-spacing: -.025em; }
.way__text { margin: 24px 0 0; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.55; color: var(--muted); }
.way__result { margin: 24px 0 0; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; }
/* Bullet: spins in, stops with the arrow pointing at the text, then the orange rays fade */
.ast-mini { position: relative; display: inline-block; width: .8em; height: .76em; margin-right: .45em; vertical-align: -.05em; transition: transform .8s var(--ease) .1s; transform: rotate(-270deg) scale(.6); }
.ast-mini svg { position: absolute; inset: 0; }
.ast-mini .ast-mini__top { fill: var(--orange); transition: opacity .5s; }
.ast-mini .ast-mini__arrow { fill: var(--ink); }
/* Each bullet plays once it is itself in view: spins in, points at the text, the orange fades */
.ast-mini.is-shown { transform: rotate(90deg); }
.ast-mini.is-shown .ast-mini__top { opacity: 0; transition-delay: .9s; }
.way:hover .ast-mini.is-shown { transform: rotate(450deg); transition-delay: 0s; }
.way:hover .ast-mini.is-shown .ast-mini__top { opacity: 1; transition-delay: 0s; }
html:not(.js) .ast-mini, .reduced .ast-mini { transform: rotate(90deg); }
html:not(.js) .ast-mini__top, .reduced .ast-mini__top { opacity: 0; }

/* Steps and questions: type carries the structure, no rules */
/* .steps/.qa reset their margins below; restore the section rhythm after a headline */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px clamp(32px, 4vw, 72px); }
.step__title { margin: 0; font-size: clamp(28px, 2.8vw, 44px); line-height: 1.05; letter-spacing: -.035em; font-weight: 400; }
.step__text { margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: var(--muted); }
.qa { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(48px, 5vw, 72px) clamp(32px, 4vw, 72px); }
.qa dt { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -.03em; }
.qa dd { margin: 14px 0 0; font-size: 18px; line-height: 1.55; color: var(--muted); }

/* Inline CTA: black link, orange underline up to the last letter, arrow points up and out */
.cta-inline a { border-bottom: 0; padding-bottom: 0; color: var(--ink); }
.cta-inline__text { background: linear-gradient(var(--orange), var(--orange)) no-repeat left 100% / 100% 2px; padding-bottom: 4px; }
.cta-inline a:hover { color: var(--orange); }
.cta-inline a .arw { transition: transform .5s var(--ease); }
.cta-inline a:hover .arw { transform: rotate(45deg) translate(.08em, -.08em); }

/* Footer CTA: white, orange only in the moment */
.talk { color: #fff; cursor: pointer; }
.talk__arrow { color: var(--orange); }
.talk:hover { color: #fff; }
.talk:hover .talk__arrow { transform: translate(.12em, -.12em); }
.contact-expand summary { list-style: none; }
.contact-expand summary::-webkit-details-marker { display: none; }
.contact-expand[open] .talk__arrow { transform: rotate(90deg); }

/* Brief (questionnaire) on black: quiet fields, no frames */
.brief { max-width: 900px; padding-top: 56px; }
.brief__intro { font-size: clamp(24px, 3vw, 40px); line-height: 1.2; letter-spacing: -.025em; max-width: 650px; margin: 0 0 48px; color: #cfcfcf; }
.brief fieldset { border: 0; padding: 0; margin: 0 0 40px; min-width: 0; }
.brief legend, .brief__field > label { display: block; font-size: 22px; line-height: 1.35; margin-bottom: 14px; }
.brief__optional { color: #8a8a8a; font-size: 15px; }
.brief__choices { display: flex; flex-wrap: wrap; gap: 10px; }
.brief-choice { position: relative; cursor: pointer; }
.brief-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.brief-choice span { display: block; padding: 13px 18px; border-radius: 999px; background: #1d1d1d; font-size: 17px; transition: background .25s, color .25s, transform .4s var(--ease); }
.brief-choice:hover span { background: #2a2a2a; }
.brief-choice input:checked + span { background: #fff; color: #111; }
.brief-choice input:checked + span::before { content: "*"; color: var(--orange); margin-right: .3em; }
.brief-choice input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 4px; }
.brief__field { margin: 0 0 32px; }
.brief__hint { color: #8f8f8f; font-size: 16px; line-height: 1.55; margin: 6px 0 14px; max-width: 680px; }
.brief input:not([type=radio]), .brief textarea { display: block; width: 100%; box-sizing: border-box; border: 0; border-radius: 4px; background: #1d1d1d; color: #fff; padding: 16px 18px; font: inherit; font-size: 18px; line-height: 1.5; transition: background .25s; }
.brief input:not([type=radio]):focus, .brief textarea:focus { background: #262626; outline: 2px solid var(--orange); outline-offset: 0; }
.brief textarea { resize: vertical; }
.brief__field--name { max-width: 440px; }
.brief__button { display: inline-flex; align-items: center; gap: 16px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: #fff; color: #111; font-size: 18px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background .3s, color .3s; }
.brief__button:hover { background: var(--orange); color: #111; }
.brief__review { margin-top: 56px; }
.brief__review h3 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.03em; font-weight: 400; margin: 0 0 16px; }
.brief__review > p { max-width: 680px; font-size: 18px; line-height: 1.5; color: #cfcfcf; }
.brief__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 24px 0; }
.brief__copy { background: transparent; border: 0; padding: 12px 0; font-size: 18px; color: #cfcfcf; cursor: pointer; }
.brief__copy:hover { color: #fff; }
.brief__status { color: #fff; }
.brief [hidden] { display: none; }
html:not(.js) .brief__form { display: none; }  /* without JS the form could not stay local, so it is not offered */
/* hilfe.: first pill; picking it hides everything else, help is on its way */
.brief.is-help .brief-choice:not(.brief-choice--help), .brief.is-help .brief__field:not(.brief__field--name, .brief__field--phone) { display: none; }
.brief:not(.is-help) .brief__field--phone { display: none; }
.brief__field--phone { max-width: 440px; }
.brief__label--help, .brief.is-help .brief__label:not(.brief__label--help) { display: none; }
.brief.is-help .brief__label--help { display: inline; }
.brief__sos { margin: 0 0 40px; animation: sos-in .6s var(--ease) both; }
.brief__sos-title { margin: 0; font-size: clamp(40px, 7vw, 96px); line-height: 1; letter-spacing: -.045em; }
.brief__sos-run { display: inline-block; color: var(--orange); animation: sos-run 1.1s cubic-bezier(.5, 0, .2, 1) infinite; }
.brief__back { background: none; border: 0; padding: 8px 0; font-size: 16px; color: #8f8f8f; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.brief__back:hover { color: #fff; }
@keyframes sos-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes sos-run { 0% { transform: translateX(0); opacity: 1; } 60% { transform: translateX(.9em); opacity: 0; } 61% { transform: translateX(-.4em); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }
.reduced .brief__sos, .reduced .brief__sos-run { animation: none; }
.brief__hint a { overflow-wrap: anywhere; }

/* Small screens get their own rhythm instead of the desktop minimum: shorter scroll scenes
   (on a phone they were screens of nothing but one line) and tighter section spacing. */
@media (max-width: 720px) {
  .section { padding-block: 84px; }
  .section--airy { padding-top: 120px; }
  .stack-gap, .steps.stack-gap, .qa.stack-gap { margin-top: 44px; }
  .scene--break { height: 115vh; height: 115svh; }
  .scene--flash { height: 190vh; height: 190svh; }
  .cases-section { padding-top: 72px; padding-bottom: 96px; }
  .cases-head { margin-bottom: 56px; font-size: calc((100vw - 2 * var(--pad)) / 9.3); }  /* "Wo es hinführen kann." fills one line exactly */
  .cases__more { margin-top: 48px; }
  .refs-title { margin-bottom: 56px; }
  .rail--next, .ref-block + .ref-block { margin-top: 72px; }
  .contact { padding-top: 96px; }
  .page-hero { padding-bottom: 72px; }
}

/* Small screens, the "gewisse Etwas":
   1. louder statements next to the quiet copy (size contrast),
   2. the copy steps in from the left, as it sits right on desktop (left-right play). */
@media (max-width: 720px) {
  .statement { font-size: 32px; line-height: 1.1; }
  .small, .copy { margin-left: 16%; max-width: none; font-size: 17px; }
  /* The knot only where it fits next to the headline; otherwise the plain headline asterisk */
  .page-hero--tangle:not(.has-tangle) .ast-inline { display: inline-block; }
}

/* Small screens: every tap target at least 44px high (logo, footer links, mail, profile links) */
@media (max-width: 720px) {
  .site-header .logo, .footer .logo { padding-block: 6px; }
  .footer nav a { display: inline-block; padding-block: 12px; }
  .footer nav { gap: 22px; }
  .mail-plain a { display: inline-block; padding-top: 14px; }
  .person__links a { min-height: 44px; }
  .cases__more .cases__all { padding-block: 12px; }
}

/* ==========================================================================
   Mobile menu: the asterisk is the button. Tap it and it spins, bursts
   over the screen and floods it orange; the pages rise out of the ground.
   ========================================================================== */
.menu-btn { display: none; }
.menu[hidden] { display: none; }

@media (max-width: 720px) {
  .site-nav { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 0 0 8px;
    background: none; border: 0; cursor: pointer; font-size: 15px; letter-spacing: .02em; color: inherit;
  }
  .menu-btn__ast { display: inline-block; width: 26px; height: 25px; color: var(--orange); animation: ast-turn 6s var(--ease) infinite; }
  .menu-btn__ast svg { width: 100%; height: 100%; fill: currentColor; display: block; }
  .menu-btn:active .menu-btn__ast { transform: scale(.8); }

  .way { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .people, .qa { grid-template-columns: minmax(0, 1fr); }
  .brief { padding-top: 36px; }
  .brief__intro { margin-bottom: 32px; }
}

.menu { position: fixed; inset: 0; z-index: 90; color: #fff; }
.menu__flood { position: absolute; inset: 0; background: var(--orange); opacity: 0; transition: opacity .25s ease .38s; }
.menu__burst {
  position: fixed; left: 0; top: 0; width: 26px; height: 25px; margin: -12.5px 0 0 -13px; color: var(--orange);
  transform: scale(1) rotate(0); transition: transform .75s cubic-bezier(.7, 0, .2, 1);
}
.menu__burst svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.menu.is-open .menu__burst { transform: scale(130) rotate(420deg); }
.menu.is-open .menu__flood { opacity: 1; }
.menu.is-closing .menu__flood { transition: opacity .2s ease .12s; }
.menu.is-closing .menu__burst { transition: transform .6s cubic-bezier(.7, 0, .2, 1) .2s; }

.menu__inner { position: relative; height: 100%; display: flex; flex-direction: column; padding: 16px var(--pad) calc(28px + env(safe-area-inset-bottom)); }
.menu__bar { display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.menu__brand { font-size: 15px; letter-spacing: .02em; opacity: 0; transition: opacity .3s; }
.menu__close { min-height: 44px; padding: 0; background: none; border: 0; color: #fff; font-size: 15px; letter-spacing: .02em; cursor: pointer; opacity: 0; transition: opacity .3s; }
.menu.is-open .menu__brand, .menu.is-open .menu__close { opacity: 1; transition-delay: .55s; }

.menu__list { list-style: none; margin: auto 0; padding: 0; }
.menu__link { display: flex; align-items: flex-start; gap: .12em; padding: .06em 0; color: #fff; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.menu__inner > nav { margin: auto 0; }
.menu__list { font-size: 12vw; }
.menu__link { font-size: var(--fs, 1em); }
.menu__word { display: block; overflow: hidden; padding-bottom: .08em; font-size: 1em; line-height: .98; letter-spacing: -.05em; }
.menu__word .c { transform: translate3d(0, 110%, 0) rotate(10deg); transform-origin: left bottom; transition: transform .7s var(--ease); transition-delay: calc(var(--d) * 1ms); }
.menu.is-open .menu__word .c { transform: none; }
.menu.is-closing .menu__word .c { transform: translate3d(0, -110%, 0); transition-duration: .3s; transition-delay: 0s; }
.menu__here { display: none; width: .32em; height: .3em; margin-top: .14em; color: var(--ink); font-size: 1em; opacity: 0; transition: opacity .4s; }
.menu.is-open .menu__here { opacity: 1; transition-delay: .9s; }
.menu__here { --ast-top: var(--ink); }
.menu__here svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.menu__link[aria-current="page"] .menu__here { display: block; animation: ast-spin 5s linear infinite; }
@keyframes ast-spin { to { transform: rotate(360deg); } }
.menu__link.is-press .c { animation: menu-hop .45s var(--ease) both; animation-delay: calc(var(--j) * 22ms); }
@keyframes menu-hop { 0% { transform: none; } 40% { transform: translate3d(0, -.16em, 0); color: var(--ink); } 100% { transform: none; color: var(--ink); } }

.menu__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .4s, transform .6s var(--ease); }
.menu.is-open .menu__foot { opacity: 1; transform: none; transition-delay: .7s; }
.menu.is-closing .menu__foot { opacity: 0; transition-delay: 0s; }
.menu__talk { font-size: clamp(28px, 8vw, 40px); letter-spacing: -.035em; color: var(--ink); text-decoration: none; }
.menu__lang { font-size: 15px; }
.menu__lang a { color: #fff; text-decoration: none; display: inline-block; min-width: 32px; min-height: 44px; line-height: 44px; text-align: center; }
.menu__lang [aria-current] { color: var(--ink); }

.menu-open, .menu-open body { overflow: hidden; }
.menu-open .cursor { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .menu__burst { display: none; }
  .menu__flood { transition: none; }
}

/* Headline to list spacing on sub pages (same rhythm as statements) */
.steps.stack-gap, .qa.stack-gap, .people.stack-gap { margin-top: clamp(72px, 10vw, 140px); }
.way { scroll-margin-top: clamp(120px, 16vh, 180px); }

/* Legal pages */
.legal h2 { margin: 48px 0 12px; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; font-weight: 500; color: var(--ink); }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.legal a:hover { color: var(--orange); }
.legal .legal__lede { font-size: 22px; line-height: 1.45; color: var(--ink); }
.legal .legal__stand { margin-top: 48px; font-size: 14px; color: var(--muted); }

/* ==========================================================================
   Grid rail: label in the first two columns, content from column 3.
   The same line as the indented copy, so every page shares one edge.
   ========================================================================== */
.rail { display: block; }
.rail > .rail__label { display: block; margin-bottom: clamp(32px, 4vw, 56px); font-size: 15px; }
.rail--next { margin-top: clamp(96px, 11vw, 160px); }
.copy { margin-left: auto; max-width: 520px; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.55; color: #3a3a3a; -webkit-hyphens: auto; hyphens: auto; }
.copy p { margin: 0; text-wrap: pretty; }
.copy p + p { margin-top: 1.1em; }

/* Problem → solution, side by side and top-aligned: problem from column 1, arrow in
   column 6, solution from column 7. The heading is the column heads: "Wo es anfängt."
   over the problem, "Wo es hinführen kann." over the solution. One pair at a time: the
   problem decodes out of flickering glyphs, the arrow dings orange, the solution decodes,
   both fall apart again, next. The stage keeps the height of the tallest pair, so nothing
   moves while it runs. "Mehr Probleme, bitte." opens all twelve as a quiet list. */
h2.statement { font-weight: 400; }
.cases-section { padding-top: clamp(110px, 12vw, 190px); padding-bottom: clamp(180px, 22vw, 340px); }
.cases { list-style: none; margin: 0; padding: 0; }
/* The solution sits exactly in the column of the copy above (.small: right, 520px); the problem
   is right-aligned left of it, the arrow centred in between */
.case { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(64px, 7vw, 120px) min(520px, 45%); column-gap: 0; align-items: start; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.4; letter-spacing: -.015em; }
.cases > .case + .case { margin-top: clamp(72px, 8vw, 128px); }
.cases-head { margin: 0 0 clamp(80px, 10vw, 160px); }
.case__problem { justify-self: end; max-width: 520px; margin: 0; font-weight: 500; text-align: right; text-wrap: pretty; }
.case__solution { margin: 0; text-wrap: pretty; }
/* The arrow sits on the first line, centred in column 6: the problem is right-aligned to its
   column edge, so the column centre is the optical centre between the two texts */
.case__arrow { display: block; justify-self: center; width: 1.05em; height: 1.05em; margin-top: calc(.7em - .525em); line-height: 0; color: var(--ink); }
.case__arrow .arw { display: block; width: 100%; height: 100%; vertical-align: 0; }
.scr { color: var(--orange); }
.js:not(.reduced) [data-decode]:not(.is-decoded) { visibility: hidden; }  /* decodes in when it comes into view */
.scr--gone { visibility: hidden; }
/* Stage: all pairs share one grid cell, so the height is the tallest one and nothing jumps */
.is-stage:not(.is-all) .cases { display: grid; }
.is-stage:not(.is-all) { cursor: pointer; }
.is-stage .cases__more { cursor: auto; }
.is-stage:not(.is-all) .cases > .case { grid-area: 1 / 1; margin: 0; visibility: hidden; align-self: start; align-content: start; }  /* no stretching: rows (and the arrow) keep their place */
.is-stage:not(.is-all) .cases > .case.is-active { visibility: visible; }
.is-stage:not(.is-all) .case__arrow { position: relative; cursor: pointer; }
.is-stage:not(.is-all) .case__arrow::before { content: ""; position: absolute; inset: -.7em; }  /* bigger target */
.is-all .case__arrow { pointer-events: none; }
.case__arrow .arw--fill { position: absolute; inset: 0; color: var(--orange); clip-path: inset(0 calc((1 - var(--wait, 0)) * 100%) 0 0); transition: clip-path .1s linear; }  /* egg timer; the glyph is turned 90°, its left edge is the top on screen */
.is-all .case__arrow .arw--fill, .reduced .case__arrow .arw--fill { display: none; }
.cases__more { width: min(520px, 45%); margin: clamp(80px, 9vw, 150px) 0 0 auto; }
.cases__more[hidden] { display: none; }
.cases__more:not([hidden]) { display: flex; align-items: center; gap: 18px; }
/* Plain pause / play: two bars, a triangle when held */
.cases__toggle { display: none; position: relative; flex: none; width: 44px; height: 44px; margin-left: -14px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.cases__icon { position: absolute; left: 50%; top: 50%; width: 12px; height: 14px; translate: -50% -50%; }
.cases__icon::before, .cases__icon::after { content: ""; position: absolute; top: 0; bottom: 0; width: 4px; background: currentColor; }
.cases__icon::before { left: 0; }
.cases__icon::after { right: 0; }
.is-held .cases__icon { background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.is-held .cases__icon::before, .is-held .cases__icon::after { display: none; }
.cases__toggle:hover { color: var(--orange); }
/* Only where there is no pause pointer: phones and touch screens */
@media (max-width: 720px), (hover: none) { .cases__toggle { display: block; } }
.is-all .cases__toggle { display: none; }
.cases__all { padding: 6px 0; border: 0; background: none; color: var(--ink); font-size: clamp(18px, 1.5vw, 22px); cursor: pointer; transition: color .3s; }
.cases__all-text { background: linear-gradient(var(--orange), var(--orange)) no-repeat left 100% / 100% 2px; padding-bottom: 3px; }
.cases__all:hover { color: var(--orange); }

@media (max-width: 720px) {
  .rail { grid-template-columns: minmax(0, 1fr); }
  .rail > *, .rail > .rail__label { grid-column: 1; }
  .rail__label { margin-bottom: 24px; }
  .case { grid-template-columns: minmax(0, 1fr); row-gap: 14px; justify-items: start; }
  .case__problem { justify-self: start; }
  .case__problem { text-align: left; }
  .case__arrow { justify-self: start; margin-top: 0; rotate: 90deg; }  /* stacked: it points down to the solution */
  .case__arrow .arw--fill { clip-path: inset(calc((1 - var(--wait, 0)) * 100%) 0 0 0); }  /* turned another 90°: its bottom edge is the top on screen */
  .is-stage:not(.is-all) .case__problem { height: var(--problem-h, auto); }  /* fixed: scrambling may not push the arrow */
  .cases__more { width: auto; margin-left: 0; }
  .people { grid-template-columns: minmax(0, 1fr); }
}
