/* ==========================================================================
   makemyflow — Corporate Design System
   Tinte #0E0F10 · Kreide #EFEFEC · Stahl #A4ACB4 · Signal #FF4D00
   Hanken Grotesk (Display/Text) · DM Mono (Daten)
   ========================================================================== */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dm-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dm-mono-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette */
  --ink: #0E0F10;
  --ink-2: #16171A;
  --ink-3: #1F2124;
  --chalk: #EFEFEC;
  --chalk-2: #E5E5E1;
  --steel: #A4ACB4;
  --signal: #FF4D00;

  /* Type */
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-display: clamp(3.25rem, 10.4vw, 12.75rem);
  --fs-h2: clamp(2.5rem, 6.2vw, 7.25rem);
  --fs-h3: clamp(1.625rem, 2.6vw, 2.75rem);
  --fs-statement: clamp(1.75rem, 3.6vw, 4rem);
  --fs-lead: clamp(1.125rem, 1.35vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-mono: 0.75rem;

  /* Layout */
  --m: clamp(20px, 3.2vw, 56px);
  --g: clamp(16px, 1.6vw, 28px);
  --maxw: 1760px;
  --sec: clamp(104px, 13vw, 224px);
  --hdr: 76px;
  --r: 2px;

  /* Motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

.t-light {
  --bg: var(--chalk);
  --fg: var(--ink);
  --mut: #5D6268;
  --dim: #7E8389;
  --line: rgba(14, 15, 16, .14);
  --line-s: rgba(14, 15, 16, .28);
  --tile: #E2E3DF;
  background: var(--bg);
  color: var(--fg);
}
.t-dark {
  --bg: var(--ink);
  --fg: var(--chalk);
  --mut: #8E949B;
  --dim: #62676D;
  --line: rgba(239, 239, 236, .13);
  --line-s: rgba(239, 239, 236, .3);
  --tile: var(--ink-2);
  background: var(--bg);
  color: var(--fg);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 8px);
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.005em;
  background: var(--ink);
  color: var(--chalk);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" 0;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 1px solid var(--signal); outline-offset: 4px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--m);
}
.mono {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.4;
}
/* the brand name stays lowercase, also inside uppercase mono labels */
.lc { text-transform: none; }
.nw { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 10px 14px; background: var(--signal); color: var(--ink);
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* Status square — the agent at work */
.sq {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--signal);
  flex: none;
}
.sq--pulse { animation: pulse 2.4s var(--ease-io) infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
.display {
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -0.052em;
  margin-left: -0.06em;
}
.h2 {
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -0.045em;
  margin-left: -0.05em;
  text-wrap: balance;
}
.h3 {
  font-size: var(--fs-h3);
  font-weight: 350;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.statement {
  font-size: var(--fs-statement);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}
.statement .dim, .dim { color: var(--dim); }
.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--mut);
  text-wrap: pretty;
}
.lead strong { color: var(--fg); font-weight: 400; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  --b-bg: var(--fg);
  --b-fg: var(--bg);
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 22px 0 20px;
  background: var(--b-bg); color: var(--b-fg);
  border-radius: var(--r);
  font-size: var(--fs-small); font-weight: 500; letter-spacing: -0.005em;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--signal);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { color: var(--ink); }
.btn .sq { transition: background .4s var(--ease), transform .6s var(--ease); }
.btn:hover .sq, .btn:focus-visible .sq { background: var(--ink); transform: rotate(90deg); }
.btn .arr { transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
/* outline button: the second action in a view that already has a filled one */
.btn--line { --b-bg: transparent; --b-fg: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.btn--line:hover, .btn--line:focus-visible { box-shadow: none; }

.link {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-small); font-weight: 500;
  padding-block: 6px;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; opacity: .35;
  transform-origin: 100% 50%;
  transition: transform .6s var(--ease), opacity .3s;
}
.link:hover::after { opacity: 1; animation: underline .8s var(--ease); }
@keyframes underline {
  0% { transform: scaleX(1); transform-origin: 100% 50%; }
  45% { transform: scaleX(0); transform-origin: 100% 50%; }
  46% { transform: scaleX(0); transform-origin: 0 50%; }
  100% { transform: scaleX(1); transform-origin: 0 50%; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--hdr);
  color: var(--h-fg, var(--chalk));
  transition: transform .7s var(--ease), color .4s var(--ease);
}
.hdr::before {
  content: ""; position: absolute; inset: 0;
  background: var(--h-bg, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--h-line, transparent);
  opacity: 0; transition: opacity .4s var(--ease);
}
.hdr.is-solid::before { opacity: 1; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr[data-on="light"] { --h-fg: var(--ink); --h-bg: rgba(239, 239, 236, .82); --h-line: rgba(14, 15, 16, .1); }
.hdr[data-on="dark"] { --h-fg: var(--chalk); --h-bg: rgba(14, 15, 16, .78); --h-line: rgba(239, 239, 236, .08); }
.hdr__in {
  position: relative; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; }
/* logo: letters and the first line follow the header colour, the second line is signal */
.brand__logo { width: auto; height: 32.4px; flex: none; overflow: visible; }
.brand:hover .sig { animation: flow 1.1s var(--ease-io); }
@keyframes flow { from { stroke-dasharray: 0 100; } to { stroke-dasharray: 100 0; } }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.nav a {
  position: relative; font-size: var(--fs-small); font-weight: 400; padding-block: 6px;
  opacity: .78; transition: opacity .3s;
}
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a::before {
  content: ""; position: absolute; left: -12px; top: 50%; width: 5px; height: 5px; margin-top: -2px;
  background: var(--signal); transform: scale(0); transition: transform .4s var(--ease);
}
.nav a.is-active::before { transform: scale(1); }
.hdr__cta { display: flex; align-items: center; gap: 20px; }
.hdr .btn { height: 42px; padding: 0 16px 0 14px; gap: 12px; }
.hdr .btn { --b-bg: var(--h-fg, var(--chalk)); --b-fg: var(--ink); }
.hdr[data-on="light"] .btn { --b-fg: var(--chalk); }

.menu-btn { display: none; height: 42px; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 500; }
.menu-btn__icon { position: relative; width: 18px; height: 8px; }
.menu-btn__icon::before, .menu-btn__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-btn__icon::before { top: 0; }
.menu-btn__icon::after { top: 6.5px; }
.menu-open .menu-btn__icon::before { top: 3.25px; transform: rotate(45deg); }
.menu-open .menu-btn__icon::after { top: 3.25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  padding: calc(var(--hdr) + 24px) var(--m) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0); visibility: visible; }
.menu__nav a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(2rem, 9vw, 3.5rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1;
}
.menu__nav a span { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .04em; color: var(--mut); }
.menu__foot { display: grid; gap: 6px; color: var(--mut); }
.menu-open .hdr { --h-fg: var(--chalk); color: var(--chalk); }
.menu-open .hdr::before { opacity: 0; }
.menu-open { overflow: hidden; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr__cta .btn { display: none; }
}

/* --------------------------------------------------------------------------
   Section head
   -------------------------------------------------------------------------- */
.sec { padding-block: var(--sec); position: relative; }
.shead {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g);
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 120px);
}
.shead .h2 { grid-column: 1 / span 8; }
.shead > p { grid-column: 9 / -1; max-width: 34ch; padding-bottom: .5em; }
@media (max-width: 900px) {
  .shead { grid-template-columns: 1fr; gap: 28px; }
  .shead .h2, .shead > p { grid-column: auto; }
}

/* Spec table */
.spec { display: grid; border-top: 1px solid var(--line); }
.spec > div {
  display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: var(--g);
  padding: 14px 0; border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.spec dt { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--mut); }
.spec dd { font-size: var(--fs-small); line-height: 1.45; }
.spec dd a { border-bottom: 1px solid var(--line-s); transition: border-color .3s; }
.spec dd a:hover { border-color: var(--signal); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: max(100svh, 680px);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero__art {
  position: absolute; z-index: 0;
  right: max(var(--m), calc((100vw - var(--maxw)) / 2 + var(--m)));
  top: calc(var(--hdr) + 3vh);
  width: min(50vw, 86vh);
  aspect-ratio: 42 / 36;
  color: var(--chalk);
  pointer-events: none;
}
.hero__art svg { width: 100%; height: 100%; overflow: visible; }
.hero__art .c-grid line { stroke: rgba(239, 239, 236, .055); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero__art .c-line { fill: none; stroke: rgba(239, 239, 236, .3); stroke-width: .055; }
.hero__art .c-dash { stroke-dasharray: .22 .32; stroke: rgba(239, 239, 236, .24); }
.hero__art .c-mark { fill: none; stroke: var(--chalk); stroke-width: .075; stroke-linejoin: miter; }
.hero__art .c-fill { fill: var(--chalk); opacity: 0; }
.hero__art text { font-family: var(--mono); font-size: .6px; letter-spacing: .03em; fill: rgba(239, 239, 236, .48); text-transform: uppercase; }
.hero__art .c-dot { fill: var(--signal); }
.hero__art .c-ring { fill: none; stroke: var(--signal); stroke-width: 1; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: ring 2.8s var(--ease) infinite 2.6s; opacity: 0; }
@keyframes ring {
  0% { transform: scale(1); opacity: .9; }
  100% { transform: scale(2.6); opacity: 0; }
}
.js .hero__art .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s var(--ease-io) forwards; }
.js .hero__art .draw.d2 { animation-delay: .25s; }
.js .hero__art .draw.d3 { animation-delay: .6s; }
.js .hero__art .draw.d4 { animation-delay: 1s; }
.js .hero__art .fade { opacity: 0; animation: fadein 1.4s var(--ease) forwards 1.5s; }
.js .hero__art .c-dot { opacity: 0; transform-box: fill-box; transform-origin: center; animation: dotin .9s var(--ease) forwards 2.1s; }
.js .hero__art .c-fill { animation: fillin 1.6s var(--ease) forwards 1.8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes fillin { to { opacity: .045; } }
@keyframes dotin { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }

.hero__in { position: relative; z-index: 1; padding-bottom: clamp(48px, 6vw, 104px); }
.hero h1 { max-width: 15ch; font-size: clamp(3rem, 8.2vw, 10.25rem); text-wrap: balance; }
.hero__foot {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g);
  margin-top: clamp(32px, 4.4vw, 72px);
  align-items: end;
}
.hero__foot .lead { grid-column: 1 / span 6; color: #A7ACB2; }
.hero__cta { grid-column: 8 / -1; display: flex; gap: 28px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.hero__3d { position: absolute; inset: 0; z-index: 0; }
/* keeps the copy readable while the stream passes behind it */
.hero__3d::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(62% 58% at 16% 80%, rgba(14, 15, 16, .78), rgba(14, 15, 16, 0) 72%);
}
.hero__3d canvas { display: block; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 2s var(--ease) .1s; }
.hero__3d.is-ready canvas { opacity: 1; }
/* steps of the example process, pinned to the workflow stations by hero3d.js */
.hero__steps { position: absolute; inset: 0; z-index: 1; display: none; pointer-events: none; }
.hero__steps.is-placed { display: block; }
.hero__step {
  position: absolute; left: 0; top: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding-bottom: 26px; text-align: center; white-space: nowrap;
  transform: translate(var(--x, 0), var(--y, 0)) translate(-50%, -100%);
  opacity: 0; transition: opacity 1s var(--ease);
}
.hero__step[data-side="down"] { padding: 26px 0 0; transform: translate(var(--x, 0), var(--y, 0)) translate(-50%, 0); }
.hero__step::after { content: ""; position: absolute; left: calc(50% + var(--lx, 0px)); bottom: 0; width: 1px; height: 16px; background: rgba(239, 239, 236, .28); }
.hero__step[data-side="down"]::after { top: 0; bottom: auto; }
.hero__step.is-on { opacity: 1; }
.hero__step-n { display: inline-flex; align-items: center; gap: 8px; color: var(--mut); }
.hero__step-k { display: inline-flex; align-items: center; gap: 8px; }
.hero__step-t { font-size: var(--fs-small); line-height: 1.3; letter-spacing: -0.005em; color: var(--chalk); }
.hero__step--agent .hero__step-n { color: var(--chalk); }
/* narrow and portrait screens: the stations sit close together, so only number and name */
@media (max-width: 600px), (max-aspect-ratio: 1/1) {
  .hero__step { padding-bottom: 20px; }
  .hero__step[data-side="down"] { padding-top: 20px; }
  .hero__step::after { height: 12px; }
  .hero__step-n { flex-direction: column; gap: 3px; font-size: 10px; }
  .hero__step-k { gap: 6px; }
  .hero__step-t { display: none; }
}

@media (max-width: 900px) {
  .hero__art { width: 92vw; right: -22vw; top: calc(var(--hdr) + 2vh); opacity: .55; }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__foot .lead, .hero__cta { grid-column: auto; justify-content: flex-start; }
  .hero__3d::after { background: linear-gradient(to top, rgba(14, 15, 16, .9) 0%, rgba(14, 15, 16, .55) 38%, rgba(14, 15, 16, 0) 62%); }
}
@media (max-width: 600px) {
  .display, .hero h1 { font-size: clamp(2.75rem, 12.6vw, 4.5rem); }
}

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */
/* video top left, statement below on the right */
.intro .statement { grid-column: 7 / -1; max-width: 22ch; line-height: 1.06; }
.intro__row {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g);
  margin-top: clamp(56px, 6vw, 104px);
}
.intro__row--first { margin-top: 0; }
.intro__row .lead { grid-column: 7 / span 5; }

/* Video: own controls (main.js) so the video stays in the page — no fullscreen, no picture-in-picture.
   Without JS the browser's controls stay on and the custom UI below stays hidden. */
.video { grid-column: 1 / span 6; margin: 0; }
.player {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--ink); border-radius: var(--r); color: var(--chalk);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.player video { display: block; width: 100%; height: 100%; object-fit: cover; }
.player__big, .player__len, .player__wait, .player__bar { display: none; }
.player.is-ready video { cursor: pointer; }
.player.is-ready.is-idle, .player.is-ready.is-idle video { cursor: none; }

/* big play button (as in the placeholder), visible whenever the video is paused */
.player.is-ready .player__big {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  display: grid; place-items: center; background: var(--chalk); color: var(--ink); border-radius: var(--r);
  transition: background .4s var(--ease), color .4s var(--ease), opacity .4s var(--ease), transform .6s var(--ease), visibility 0s;
}
.player__big svg { width: 26px; height: 26px; margin-left: 3px; }
.player.is-ready .player__big:hover, .player.is-ready .player__big:focus-visible { background: var(--signal); color: var(--ink); }
.player.is-playing .player__big {
  opacity: 0; visibility: hidden; transform: scale(.88);
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .3s;
}

/* running time before the first play, bottom right (the name plate in the poster sits bottom left) */
.player.is-ready .player__len {
  display: block; position: absolute; right: 16px; bottom: 16px; padding: 6px 9px;
  background: var(--ink); color: var(--chalk); border-radius: var(--r);
}
.player.is-started .player__len { display: none; }

/* buffering: pulsing signal square in the middle */
.player.is-ready.is-playing.is-waiting .player__wait {
  display: block; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: var(--signal); animation: pulse 1.2s var(--ease-io) infinite;
}

/* control bar: after the first play; hides while playing without interaction */
.player.is-ready .player__bar {
  display: flex; align-items: center; gap: 14px;
  position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 18px 12px;
  background: linear-gradient(rgba(14, 15, 16, 0), rgba(14, 15, 16, .72));
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s;
}
.player.is-started .player__bar { opacity: 1; visibility: visible; transition: opacity .4s var(--ease), visibility 0s; }
.player.is-started.is-idle .player__bar { opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.player__btn { display: grid; place-items: center; width: 28px; height: 28px; flex: none; color: var(--chalk); transition: color .3s var(--ease); }
.player__btn:hover, .player__btn:focus-visible { color: var(--signal); }
.player__btn svg { width: 18px; height: 18px; }
.player .i-pause, .player.is-playing .i-play, .player .i-mute, .player.is-muted .i-vol { display: none; }
.player.is-playing .i-pause, .player.is-muted .i-mute { display: block; }
.player__track { position: relative; flex: 1; height: 28px; cursor: pointer; touch-action: none; }
.player__track::before, .player__fill { content: ""; position: absolute; left: 0; top: 50%; height: 1px; }
.player__track::before { right: 0; background: rgba(239, 239, 236, .28); }
.player__fill { width: calc(var(--p, 0) * 100%); background: var(--signal); }
.player__track i {
  position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 7px; height: 7px; margin: -3px 0 0 -3.5px;
  background: var(--signal); transition: transform .3s var(--ease);
}
.player__track:hover i, .player__track:focus-visible i, .player.is-seeking .player__track i { transform: scale(1.6); }
.player__time { flex: none; color: rgba(239, 239, 236, .78); white-space: nowrap; }

@media (max-width: 600px) {
  .player.is-ready .player__big { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .player__big svg { width: 22px; height: 22px; }
  .player.is-ready .player__bar { gap: 10px; padding: 28px 10px 6px; }
  .player.is-ready .player__len { right: 10px; bottom: 10px; }
}

@media (max-width: 900px) {
  .intro__row .lead, .video, .intro .statement { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.svc { border-top: 1px solid var(--line-s); }
.svc__item { border-bottom: 1px solid var(--line); position: relative; }
.svc__item::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--fg);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease);
}
.svc__item:hover::before, .svc__item.is-open::before { transform: scaleX(1); }
.svc__btn {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g);
  align-items: baseline;
  padding: clamp(22px, 2.4vw, 36px) 0;
}
.svc__n { grid-column: 1 / span 1; color: var(--mut); display: inline-flex; align-items: center; gap: 10px; }
.svc__n .sq { transform: scale(0); transition: transform .5s var(--ease); }
.svc__item:hover .svc__n .sq, .svc__item.is-open .svc__n .sq { transform: scale(1); }
.svc__t { grid-column: 2 / span 5; font-size: var(--fs-h3); font-weight: 350; letter-spacing: -0.03em; line-height: 1.05; transition: transform .7s var(--ease); }
.svc__item:hover .svc__t { transform: translateX(10px); }
.svc__d { grid-column: 7 / span 5; color: var(--mut); font-size: var(--fs-lead); letter-spacing: -0.012em; line-height: 1.3; }
.plus { grid-column: 12; justify-self: end; position: relative; width: 16px; height: 16px; align-self: center; }
.plus::before, .plus::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.25px; margin-top: -.6px; background: currentColor;
  transition: transform .6s var(--ease);
}
.plus::after { transform: rotate(90deg); }
.is-open > * > .plus::after, .is-open .plus::after { transform: rotate(0deg); }
.is-open .plus::before { transform: rotate(180deg); }

.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.is-open > .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; min-height: 0; }
.svc__body {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g);
  padding-bottom: clamp(32px, 3.6vw, 56px);
}
.svc__body > p { grid-column: 2 / span 5; font-size: var(--fs-lead); line-height: 1.45; letter-spacing: -0.012em; max-width: 40ch; }
.svc__body .spec { grid-column: 7 / -1; }
.svc__body > * { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.is-open .svc__body > * { opacity: 1; transform: none; transition-delay: .12s; }

.stack {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g);
  margin-top: clamp(64px, 7vw, 112px); align-items: baseline;
}
.stack p { grid-column: 1 / span 5; font-size: var(--fs-lead); letter-spacing: -0.012em; }
.stack ul { grid-column: 7 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.stack li {
  font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .04em; text-transform: uppercase;
  padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r); color: var(--mut);
  transition: color .3s, border-color .3s;
}
.stack li:hover { color: var(--fg); border-color: var(--line-s); }

@media (max-width: 900px) {
  .svc__btn { grid-template-columns: auto 1fr auto; row-gap: 10px; }
  .svc__n { grid-column: 1; }
  .svc__t { grid-column: 2; }
  .plus { grid-column: 3; grid-row: 1; }
  .svc__d { grid-column: 2 / -1; font-size: var(--fs-body); }
  .svc__body { grid-template-columns: 1fr; gap: 28px; }
  .svc__body > p, .svc__body .spec { grid-column: auto; }
  .stack { grid-template-columns: 1fr; gap: 20px; }
  .stack p, .stack ul { grid-column: auto; }
}

/* --------------------------------------------------------------------------
   References (cases)
   -------------------------------------------------------------------------- */
.sep { border: 0; height: 1px; background: var(--line); margin: 0 0 var(--sec); }
.cases {
  --stack-top: calc(var(--hdr) + 28px);
  --stack-step: 22px;
  position: relative; isolation: isolate;
  display: grid; gap: clamp(40px, 5vw, 72px);
  max-width: 1120px; margin-inline: auto;
}
/* hold the finished stack for a moment before it scrolls away */
.cases[data-stack]::after { content: ""; height: 26vh; }
@media (max-width: 900px) and (max-height: 779px) { .cases[data-stack]::after { display: none; } }
/* backdrop for the glass: hairline grid + two soft lights */
.cases::before {
  content: ""; position: absolute; inset: -12% -6%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(34% 26% at 80% 18%, rgba(255, 77, 0, .11), transparent 70%),
    radial-gradient(40% 30% at 14% 64%, rgba(164, 172, 180, .12), transparent 70%),
    linear-gradient(rgba(239, 239, 236, .05) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(239, 239, 236, .05) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 35%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 35%, transparent 85%);
}
.case {
  position: relative;
  background: linear-gradient(180deg, rgba(36, 37, 41, .72), rgba(22, 23, 26, .78));
  border: 1px solid rgba(239, 239, 236, .1);
  border-radius: var(--r);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 24px 48px -28px rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
  transition: border-color .5s var(--ease);
}
.cases[data-stack] .case {
  position: sticky;
  top: calc(var(--stack-top) + var(--i, 0) * var(--stack-step));
  scale: var(--s, 1);
  transform-origin: 50% 0;
}
/* cards further down the stack fade back */
.case::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: var(--ink); opacity: calc(var(--depth, 0) * .26);
}
.case {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--g);
  padding: clamp(22px, 2.2vw, 34px);
}
.case:hover { border-color: rgba(239, 239, 236, .2); }
.case__main { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; }
.case__plate {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px;
  background: var(--chalk); color: var(--ink); border-radius: var(--r);
  font-size: 13px; font-weight: 600; letter-spacing: -0.02em; line-height: 1;
}
.case__t { margin-top: clamp(20px, 2vw, 28px); font-size: clamp(1.5rem, 2.1vw, 2.25rem); font-weight: 300; letter-spacing: -0.038em; line-height: 1.04; max-width: 18ch; }
.case__d { margin-top: 12px; color: var(--mut); font-size: var(--fs-small); line-height: 1.5; max-width: 42ch; }

.case__flow { grid-column: 7 / -1; display: flex; flex-direction: column; gap: 22px; }
.case__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--g); }
.case__head { display: flex; align-items: center; }
.case__node {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid var(--line-s); border-radius: var(--r); color: var(--mut);
}
.case__node--agent { color: var(--fg); border-color: var(--fg); }
.case__node--out { background: var(--fg); border-color: var(--fg); color: var(--ink); }
.case__line {
  position: relative; flex: 1; height: 7px; margin-right: calc(var(--g) * -1);
  background:
    linear-gradient(var(--line-s), var(--line-s)) 0 50% / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10px);
}
.case__steps li:last-child .case__line { margin-right: 0; }
.case__line i { position: absolute; top: 0; left: 0; width: 7px; height: 7px; background: var(--signal); opacity: 0; }
.case__flow.is-in .case__line i { animation: seg 4.2s var(--ease-io) infinite; animation-delay: calc(var(--sd, 0s) + var(--cd, 0s)); }
.case__steps li:nth-child(2) .case__line i { --sd: 1.4s; }
.case__steps li:nth-child(3) .case__line i { --sd: 2.8s; }
.case:nth-child(2) { --cd: .5s; }
.case:nth-child(3) { --cd: 1s; }
@keyframes seg {
  0% { left: 0; opacity: 0; }
  4% { opacity: 1; }
  29% { opacity: 1; }
  33.3%, 100% { left: calc(100% - 7px); opacity: 0; }
}
.case__steps p { margin-top: 14px; font-size: 14px; line-height: 1.45; max-width: 26ch; opacity: .82; }

.case__kpi { display: flex; align-items: baseline; gap: 14px; }
.case__kv { font-size: clamp(2.25rem, 3.4vw, 3.5rem); font-weight: 300; letter-spacing: -0.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.case__kv small { font-size: .38em; letter-spacing: -0.02em; font-weight: 400; margin-left: .1em; }
.case__kl { color: var(--mut); }


@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; }
  .case__main, .case__flow { grid-column: 1 / -1; }
  .case__flow { margin-top: 32px; }
  .case__line { display: none; }
  .case__steps { grid-template-columns: 1fr; gap: 0; }
  .case__steps li { position: relative; padding: 0 0 20px; }
  .case__steps li:not(:last-child)::before { content: ""; position: absolute; left: 14px; top: 28px; bottom: 0; width: 1px; background: var(--line-s); }
  .case__steps p { margin: 8px 0 0 36px; }
  .cases { --stack-top: calc(var(--hdr) + 12px); --stack-step: 14px; }
}
@media (max-width: 900px) and (max-height: 779px) {
  .cases[data-stack] .case { position: relative; top: auto; scale: none; }
  .case::after { display: none; }
}

/* --------------------------------------------------------------------------
   Process (timeline)
   -------------------------------------------------------------------------- */
.road { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); align-items: start; }
.road__intro { grid-column: 1 / span 5; position: sticky; top: calc(var(--hdr) + 48px); }
.road__intro .lead { margin-top: 28px; max-width: 34ch; }
.road__track { grid-column: 7 / -1; position: relative; --n: 44px; }
.road__line { position: absolute; left: calc(var(--n) / 2); width: 1px; margin-left: -.5px; background: var(--line-s); top: var(--line-top, 22px); height: var(--line-h, 0px); }
.road__line span { position: absolute; inset: 0; background: var(--signal); transform: scaleY(var(--fill, 0)); transform-origin: 50% 0; }
.road__step { position: relative; display: grid; grid-template-columns: var(--n) 1fr; gap: clamp(20px, 2vw, 32px); padding-bottom: clamp(56px, 7vw, 104px); }
.road__step:last-child { padding-bottom: 0; }
.road__n {
  position: relative; z-index: 1; width: var(--n); height: var(--n); display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; letter-spacing: .02em;
  background: var(--bg); color: var(--mut); border: 1px solid var(--line-s); border-radius: var(--r);
  transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease);
}
.road__body { padding-top: 6px; transition: opacity .7s var(--ease), transform .9s var(--ease); }
.road__body h3 { font-size: var(--fs-h3); font-weight: 350; letter-spacing: -0.03em; line-height: 1.05; }
.road__s { margin-top: 12px; font-size: var(--fs-lead); letter-spacing: -0.012em; }
.road__b { margin-top: 12px; color: var(--mut); max-width: 44ch; }
.js .road__step:not(.is-on) .road__body { opacity: .24; transform: translateX(-6px); }
.road__step.is-on .road__n { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
@media (max-width: 900px) {
  .road { grid-template-columns: 1fr; gap: 56px; }
  .road__intro, .road__track { grid-column: auto; position: static; }
  .road__track { --n: 38px; }
}

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.people { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); }
.person { grid-column: span 6; display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--g); align-content: start; }
.person:nth-child(2) { margin-top: clamp(0px, 9vw, 160px); }
.person__img {
  grid-column: 1 / span 3; aspect-ratio: 4 / 5; position: relative; overflow: hidden;
  background: var(--ink); color: var(--chalk); border-radius: var(--r);
}
.person__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); transition: filter 1s var(--ease), scale 1.4s var(--ease); }
.person:hover .person__img img { filter: none; scale: 1.025; }
.person__meta { grid-column: 4 / -1; align-self: end; }
.person__meta h3 { font-size: var(--fs-h3); font-weight: 350; letter-spacing: -0.03em; line-height: 1.05; }
.person__meta p { margin-top: 10px; color: var(--mut); }
.person__bio { grid-column: 1 / -1; margin-top: 24px; font-size: var(--fs-lead); letter-spacing: -0.012em; line-height: 1.45; max-width: 44ch; }
.person .spec { grid-column: 1 / -1; margin-top: 8px; }

@media (max-width: 900px) {
  .person { grid-column: 1 / -1; }
  .person:nth-child(2) { margin-top: 56px; }
}
@media (max-width: 560px) {
  .person__img { grid-column: 1 / span 4; }
  .person__meta { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); align-items: start; }
.faq__grid .h2 { grid-column: 1 / span 5; position: sticky; top: calc(var(--hdr) + 40px); }
.acc { grid-column: 7 / -1; border-top: 1px solid var(--line-s); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(1.25rem, 1.6vw, 1.625rem); font-weight: 350; letter-spacing: -0.022em; line-height: 1.25;
  transition: color .3s;
}
.acc__btn .plus { flex: none; }
.acc__body { padding-bottom: 28px; max-width: 54ch; color: var(--mut); }
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; gap: 48px; }
  .faq__grid .h2, .acc { grid-column: auto; position: static; }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact .h2 { max-width: 14ch; }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); margin-top: clamp(64px, 7vw, 120px); }
.contact__info { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 48px; }
.contact__info .lead { max-width: 36ch; }
.contact__book { display: grid; gap: 28px; justify-items: start; }
/* spam trap: invisible to people, bots fill it in */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { grid-column: 7 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px var(--g); align-content: start; }
.field { position: relative; display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--mut);
  padding-top: 18px;
}
.field label span { color: var(--dim); }
.field input, .field textarea {
  font: inherit; font-size: clamp(1.125rem, 1.4vw, 1.375rem); letter-spacing: -0.012em;
  color: var(--fg); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-s); border-radius: 0;
  padding: 12px 0 14px; outline: none;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.4; }
.field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--signal);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease);
}
.field:focus-within::after { transform: scaleX(1); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--signal); }
.check { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; color: var(--mut); font-size: var(--fs-small); line-height: 1.45; cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 18px; height: 18px; margin: 1px 0 0; border: 1px solid var(--line-s); border-radius: var(--r);
  display: grid; place-content: center; cursor: pointer; transition: border-color .3s;
}
.check input::before { content: ""; width: 8px; height: 8px; background: var(--signal); transform: scale(0); transition: transform .35s var(--ease); }
.check input:checked::before { transform: scale(1); }
.check.is-invalid input { border-color: var(--signal); }
.check a { color: var(--fg); border-bottom: 1px solid var(--line-s); }
.form__end { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.form__note { color: var(--mut); }
.form__note.is-ok { color: var(--chalk); }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; gap: 64px; }
  .contact__info, .form { grid-column: auto; }
  .form { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.foot { padding-top: clamp(40px, 4vw, 72px); }
.foot__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); padding-top: clamp(40px, 4vw, 64px); border-top: 1px solid var(--line); }
.foot__claim { grid-column: 1 / span 5; font-size: var(--fs-lead); letter-spacing: -0.012em; color: var(--mut); max-width: 30ch; }
.foot__claim strong { color: var(--chalk); font-weight: 400; }
.foot__col { grid-column: span 2; display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-small); }
.foot__col--first { grid-column: 7 / span 2; }
.foot__col a { opacity: .78; transition: opacity .3s; width: fit-content; }
.foot__col a:hover { opacity: 1; }
.foot__logo { width: 70%; height: auto; margin-top: clamp(80px, 9vw, 160px); }
.foot__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--g); align-items: center;
  padding-block: 24px 28px; margin-top: clamp(24px, 2.4vw, 40px); border-top: 1px solid var(--line); color: var(--mut);
}
.foot__bar > :last-child { justify-self: end; }
.foot__bar a:hover { color: var(--chalk); }
@media (max-width: 900px) {
  .foot__top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .foot__claim { grid-column: 1 / -1; }
  .foot__col, .foot__col--first { grid-column: auto; }
  .foot__bar { grid-template-columns: 1fr; gap: 8px; }
  .foot__bar > :last-child { justify-self: start; }
}

/* --------------------------------------------------------------------------
   Reveal motion
   -------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em 0 .1em; margin: -.12em 0 -.1em; }
.split .w > span { display: inline-block; transform: translateY(108%); transition: transform 1.25s var(--ease); transition-delay: calc(var(--i) * 38ms + var(--d, 0s)); }
.split.is-in .w > span { transform: none; }
.js .line-in { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease); }
.js .line-in.is-in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .split .w > span { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   Sub pages (legal, brand)
   -------------------------------------------------------------------------- */
.page-head { padding-top: calc(var(--hdr) + clamp(80px, 10vw, 180px)); padding-bottom: clamp(56px, 6vw, 104px); }
.page-head .h2 { max-width: 14ch; }
.page-head .lead { margin-top: 32px; max-width: 46ch; }
.legal { padding-bottom: var(--sec); }
.legal__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); border-top: 1px solid var(--line-s); }
.legal__sec { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); padding-block: 36px; border-bottom: 1px solid var(--line); }
.legal__sec h2 { grid-column: 1 / span 4; font-size: clamp(1.25rem, 1.6vw, 1.625rem); font-weight: 400; letter-spacing: -0.022em; line-height: 1.25; }
.legal__sec .body { grid-column: 6 / span 6; display: grid; gap: 14px; color: var(--mut); max-width: 64ch; }
.legal__sec .body strong { color: var(--fg); font-weight: 500; }
.legal__sec .body a { color: var(--fg); border-bottom: 1px solid var(--line-s); }
.legal__sec .body ul { display: grid; gap: 6px; padding-left: 18px; list-style: square; }
.legal__sec .body ul li::marker { color: var(--signal); }
.todo { background: rgba(255, 77, 0, .12); color: var(--fg); padding: 0 4px; border-radius: var(--r); font-family: var(--mono); font-size: .8em; }
@media (max-width: 900px) {
  .legal__sec { grid-template-columns: 1fr; gap: 14px; }
  .legal__sec h2, .legal__sec .body { grid-column: auto; }
}

/* --------------------------------------------------------------------------
   Brand manual
   -------------------------------------------------------------------------- */
.bp-hero { padding-top: calc(var(--hdr) + clamp(72px, 9vw, 160px)); padding-bottom: clamp(64px, 7vw, 120px); }
.bp-hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); align-items: end; }
.bp-hero__grid .display { grid-column: 1 / span 8; }
.bp-hero__grid .lead { grid-column: 9 / -1; padding-bottom: .6em; }
.bp-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(48px, 5vw, 88px); padding-top: 24px; border-top: 1px solid var(--line); }
.bp-toc a { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .04em; text-transform: uppercase; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r); color: var(--mut); transition: color .3s, border-color .3s; }
.bp-toc a:hover { color: var(--fg); border-color: var(--line-s); }

.bp-idea { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); align-items: center; }
.bp-idea__mark { grid-column: 1 / span 6; aspect-ratio: 1; background: var(--ink); border-radius: var(--r); display: grid; place-items: center; color: var(--chalk); }
.bp-idea__mark svg { width: 46%; }
.bp-idea__mark .sig { stroke: var(--signal); }
.bp-idea__text { grid-column: 8 / -1; }
.bp-read { display: grid; grid-template-columns: 64px 1fr; gap: var(--g); padding: 22px 0; border-top: 1px solid var(--line); }
.bp-read:last-child { border-bottom: 1px solid var(--line); }
.bp-read > b { font-size: 2.25rem; font-weight: 300; line-height: 1; letter-spacing: -0.04em; }
.bp-read > b.sig { width: 34px; height: 3px; background: var(--signal); margin-top: 17px; }
.bp-read h3 { font-size: var(--fs-lead); font-weight: 400; letter-spacing: -0.012em; }
.bp-read p { color: var(--mut); margin-top: 6px; max-width: 42ch; }

.bp-tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); }
.bp-tile { grid-column: span 6; display: flex; flex-direction: column; gap: 14px; }
.bp-tile--s { grid-column: span 3; }
.bp-tile__box { aspect-ratio: 16 / 10; border-radius: var(--r); display: grid; place-items: center; padding: 12%; border: 1px solid var(--line); }
.bp-tile--s .bp-tile__box { aspect-ratio: 1; padding: 28%; }
.bp-tile__box img { width: 100%; height: auto; }
.bp-tile__box--ink { background: var(--ink); border-color: var(--ink); }
.bp-tile__box--white { background: #FFFFFF; }
.bp-tile__box--signal { background: var(--signal); border-color: var(--signal); }
.bp-tile__cap { display: flex; justify-content: space-between; gap: 16px; color: var(--mut); }
.bp-tile__cap a { color: var(--fg); border-bottom: 1px solid var(--line-s); }
.bp-tile__cap a:hover { border-color: var(--signal); }

.bp-construct { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); align-items: start; }
.bp-construct__art { grid-column: 1 / span 7; background: var(--ink); border-radius: var(--r); padding: 7% 5% 5%; }
.bp-construct__art .hero__art { position: static; width: 100%; opacity: 1; }
.bp-construct .spec { grid-column: 9 / -1; }

.bp-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); }
.bp-swatch__c { aspect-ratio: 4 / 5; border-radius: var(--r); border: 1px solid var(--line); display: flex; align-items: flex-end; padding: 18px; }
.bp-swatch__c span { font-size: clamp(1.5rem, 2.4vw, 2.5rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.bp-swatch .spec { margin-top: 16px; }
.bp-ratio { display: flex; height: 72px; margin-top: clamp(48px, 5vw, 80px); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.bp-ratio span { display: flex; align-items: flex-end; padding: 10px 12px; font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .04em; white-space: nowrap; }
.bp-ratio__cap { margin-top: 14px; color: var(--mut); max-width: 64ch; }

.bp-fonts { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); }
.bp-font { grid-column: span 6; border-top: 1px solid var(--line-s); padding-top: 24px; display: flex; flex-direction: column; gap: 24px; }
.bp-font__aa { font-size: clamp(7rem, 16vw, 18rem); font-weight: 300; letter-spacing: -0.06em; line-height: .8; }
.bp-font--mono .bp-font__aa { font-family: var(--mono); letter-spacing: -0.04em; }
.bp-font__chars { color: var(--mut); font-size: var(--fs-lead); line-height: 1.4; overflow-wrap: anywhere; }
.bp-font--mono .bp-font__chars { font-family: var(--mono); font-size: 1rem; }
.bp-font .spec { margin-top: auto; }

.bp-scale { margin-top: clamp(64px, 7vw, 120px); border-top: 1px solid var(--line-s); }
.bp-scale__row { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.bp-scale__row > :nth-child(1) { grid-column: 1 / span 2; color: var(--mut); }
.bp-scale__row > :nth-child(2) { grid-column: 3 / span 7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-scale__row > :nth-child(3) { grid-column: 10 / -1; color: var(--mut); text-align: right; }

.bp-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--g); margin-top: clamp(64px, 7vw, 120px); row-gap: 48px; }
.bp-rule { border-top: 1px solid var(--line-s); padding-top: 22px; }
.bp-rule h3 { font-size: var(--fs-lead); font-weight: 400; letter-spacing: -0.012em; }
.bp-rule p { margin-top: 10px; color: var(--mut); max-width: 38ch; }

.bp-elements { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); row-gap: 48px; }
.bp-el { grid-column: span 4; display: flex; flex-direction: column; gap: 16px; }
.bp-el__box { min-height: 240px; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 18px; align-items: flex-start; }
.bp-el__box .spec { width: 100%; }
.bp-el__cap { color: var(--mut); }

.bp-voice { border-top: 1px solid var(--line-s); }
.bp-voice__row { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.bp-voice__row > :nth-child(1) { grid-column: 1 / span 6; font-size: clamp(1.25rem, 1.8vw, 1.75rem); font-weight: 350; letter-spacing: -0.022em; line-height: 1.25; }
.bp-voice__row > :nth-child(2) { grid-column: 7 / -1; color: var(--dim); text-decoration: line-through; text-decoration-color: var(--signal); text-decoration-thickness: 1px; font-size: var(--fs-lead); }
.bp-voice__row--head > * { font-family: var(--mono) !important; font-size: var(--fs-mono) !important; letter-spacing: .04em !important; text-transform: uppercase; color: var(--mut) !important; text-decoration: none !important; }

.bp-imagery { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); }
.bp-imagery > div { grid-column: span 6; }
.bp-imagery h3 { font-size: var(--fs-lead); font-weight: 400; margin-bottom: 18px; }
.bp-list { border-top: 1px solid var(--line-s); }
.bp-list li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bp-list li::before { content: ""; flex: none; width: 7px; height: 7px; transform: translateY(-2px); background: var(--fg); }
.bp-list--no li { color: var(--mut); }
.bp-list--no li::before { background: transparent; border: 1px solid var(--signal); }

@media (max-width: 900px) {
  .bp-hero__grid, .bp-idea, .bp-construct, .bp-fonts, .bp-imagery { grid-template-columns: 1fr; gap: 40px; }
  .bp-hero__grid > *, .bp-idea > *, .bp-construct > *, .bp-construct .spec, .bp-font, .bp-imagery > div { grid-column: auto; }
  .bp-tile { grid-column: span 12; }
  .bp-tile--s { grid-column: span 6; }
  .bp-swatches { grid-template-columns: 1fr 1fr; }
  .bp-scale__row > :nth-child(n) { grid-column: 1 / -1; text-align: left; }
  .bp-rules { grid-template-columns: 1fr; }
  .bp-el { grid-column: span 12; }
  .bp-voice__row > :nth-child(n) { grid-column: 1 / -1; }
}
