/* RSApps site styles.
 *
 * Ported from design/handoff/rsapps.html (tokens, globals, component
 * classes) and the page canvases in design/*.dc.html. See docs/DESIGN.md.
 * Token names and values are the design's; where the export used a raw
 * colour outside :root, it is a named token here instead. No inline styles
 * anywhere: the Content Security Policy forbids them.
 */

/* Fonts: self-hosted, subset to latin + latin-ext (Polish needs ł ą ę ś ż ź). */
@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/space-grotesk-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  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;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'JetBrains Mono';
  src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
  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;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
  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;
}

/* ---------- Tokens ---------- */

:root {
  /* colour — light */
  --bg: oklch(0.985 0.003 240);
  --surface: #fff;
  --surface-2: oklch(0.96 0.004 240);
  --line: oklch(0.91 0.006 240);
  --line-strong: oklch(0.86 0.008 240);
  --ink: oklch(0.21 0.02 255);
  --ink-2: oklch(0.40 0.018 255);
  --ink-3: oklch(0.50 0.015 255); /* smallest allowed text colour on --bg, ≥4.5:1 */
  --accent-from: oklch(0.68 0.15 230);
  --accent-to: oklch(0.78 0.13 195);
  --accent-grad: linear-gradient(90deg, var(--accent-from), var(--accent-to)); /* decoration only */
  --accent-ink: oklch(0.50 0.13 235); /* links, CTA bg — AA with white */
  --accent-ink-hover: oklch(0.44 0.13 235);
  --accent-wash: oklch(0.95 0.03 225);
  --accent-wash-ink: oklch(0.42 0.12 235);
  --ok: oklch(0.62 0.16 150);
  --warn: oklch(0.74 0.15 75);
  --muted: oklch(0.62 0.01 255);
  /* colour — dark surfaces (footer, terminal blocks) */
  --dk-bg: oklch(0.20 0.02 255);
  --dk-line: oklch(0.30 0.02 255);
  --dk-ink: oklch(0.96 0.005 240);
  --dk-ink-2: oklch(0.74 0.012 250);
  --dk-accent: oklch(0.80 0.11 195);
  --dk-string: oklch(0.84 0.12 90);

  /* colour — named here, raw values in the export (design/README.md item 3) */
  --ink-body: oklch(0.30 0.018 255); /* long-form text on cards and pages */
  --ink-tag: oklch(0.36 0.018 255); /* .pill, .tag, card outcomes */
  --ink-logo: oklch(0.45 0.012 255); /* client names in the logo row */
  --line-soft: oklch(0.93 0.005 240); /* dividers inside cards */
  --line-tag: oklch(0.92 0.005 240);
  --line-control: oklch(0.88 0.006 240); /* menu button, jump links */
  --line-locked: oklch(0.84 0.008 240);
  --stripe-1: oklch(0.97 0.004 240); /* NDA and placeholder hatching */
  --stripe-2: oklch(0.955 0.005 240);
  --wash: oklch(0.965 0.006 225); /* the process "You receive" box */
  --ink-wash: oklch(0.28 0.02 250);
  --wash-label: oklch(0.45 0.12 235);
  --fit-ink: oklch(0.45 0.13 155); /* "Good fit" label */
  --reveal-line: oklch(0.70 0.06 235);
  --reveal-bg: oklch(0.97 0.015 230);
  --reveal-bg-hover: oklch(0.95 0.03 230);
  --reveal-ink: oklch(0.40 0.12 235);
  --separator: oklch(0.75 0.01 255); /* the "|" in the language switch */
  --monogram-grad: linear-gradient(135deg, oklch(0.60 0.15 235), oklch(0.66 0.12 200));
  --accent-text-grad: linear-gradient(90deg, oklch(0.52 0.14 240), oklch(0.56 0.10 200)); /* gradient headline text */
  --cta-grad: linear-gradient(135deg, oklch(0.95 0.035 235), oklch(0.96 0.03 195));
  --cta-ink: oklch(0.30 0.08 240);
  --dk-ink-3: oklch(0.78 0.01 250); /* footer tagline, list text on dark */
  --dk-link: oklch(0.92 0.006 240);
  --dk-dots: oklch(0.40 0.02 255);
  --dk-line-dashed: oklch(0.32 0.02 255);
  --dk-tag-line: oklch(0.34 0.02 255);
  --dk-tag-ink: oklch(0.88 0.008 240);
  --dk-button: oklch(0.96 0.005 240);

  /* type */
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --fs-display: clamp(42px, 7.4vw, 96px);
  --fs-h1: clamp(38px, 5.6vw, 68px);
  --fs-h2: clamp(30px, 3.8vw, 46px);
  --fs-h3: clamp(20px, 2vw, 26px);
  --fs-lead: clamp(17px, 1.6vw, 20px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-eyebrow: 12px;
  --fs-stat: clamp(34px, 4.4vw, 52px);
  --lh-tight: 1.02;
  --lh-body: 1.55;
  --tracking-tight: -0.04em;
  --tracking-eyebrow: 0.14em;

  /* space */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --section: clamp(64px, 9vw, 120px);
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1200px;

  /* radii */
  --r-tag: 6px;
  --r-btn-sm: 10px;
  --r-btn: 12px;
  --r-card: 16px;
  --r-band: 24px;
  --r-pill: 100px;

  /* shadows */
  --sh-pop: 0 18px 40px -16px oklch(0.21 0.02 255 / 0.25);
  --sh-terminal: 0 30px 60px -30px oklch(0.2 0.02 255 / 0.5);
  --focus: 2px solid var(--accent-ink);

  color-scheme: light;
}

/* ───────────── base ───────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--fs-body) / var(--lh-body) var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd {
  margin: 0;
}

a {
  color: var(--accent-ink);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--accent-ink-hover);
}

:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

code,
pre,
.mono {
  font-family: var(--font-mono);
}

img {
  max-width: 100%;
  display: block;
}

/* `.btn` sets display, which would otherwise beat the attribute. The reveal
   buttons rely on it to stay hidden until reveal.js runs. */
[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 16px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--surface);
  border-radius: var(--r-btn-sm);
}

.skip-link:focus {
  left: 16px;
}

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

.section {
  padding-top: var(--section);
}

.eyebrow {
  font: 500 var(--fs-eyebrow) / 1.2 var(--font-mono);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--accent-ink);
}

.eyebrow--quiet {
  color: var(--ink-3);
}

.lead {
  font-size: var(--fs-lead);
  color: var(--ink-2);
}

.arrow {
  font-family: var(--font-sans);
}

/* ───────────── buttons ───────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--r-btn);
  font: 600 16px / 1.2 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.btn--primary {
  background: var(--accent-ink);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-ink-hover);
  color: #fff;
}

.btn--secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
  font-weight: 500;
}

.btn--secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost {
  padding-inline: 6px;
  font-weight: 500;
  color: var(--accent-ink);
  /* A text link in button clothing: allowed to wrap on the narrowest screens. */
  white-space: normal;
  text-align: left;
}

.btn--ghost:hover {
  color: var(--accent-ink-hover);
}

.btn--sm {
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--r-btn-sm);
  font-size: 14px;
}

.btn--md {
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-btn-sm);
  font-size: 15px;
}

.btn--lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 17px;
}

.btn[aria-disabled='true'],
.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.btn--reveal {
  border: 1px dashed var(--reveal-line);
  background: var(--reveal-bg);
  color: var(--reveal-ink);
  font: 500 14px var(--font-mono);
  padding: 0 18px;
}

.btn--reveal:hover {
  background: var(--reveal-bg-hover);
}

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

.text-link {
  font-weight: 500;
}

/* ───────────── announcement ───────────── */

.announce {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 10px var(--gutter);
  background: var(--ink);
  color: var(--dk-ink);
  font-size: 14px;
  text-align: center;
}

.announce__label {
  font: 12px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dk-accent);
}

.announce a {
  color: var(--dk-ink);
}

/* ───────────── header / nav — collapses under 900px via <details> (no JS) ───────────── */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site-header__bar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--ink);
}

.monogram {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--monogram-grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 15px;
}

.nav__links a {
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav__links a:hover {
  border-color: var(--line-strong);
}

.nav__links a[aria-current='page'] {
  font-weight: 600;
  border-color: var(--accent-from);
}

.nav-mobile {
  display: none;
  position: relative;
}

@media (max-width: 899px) {
  .nav {
    display: none;
  }

  .nav-mobile {
    display: block;
  }
}

.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-control);
  border-radius: var(--r-btn-sm);
  font: 500 13px var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-mobile summary::-webkit-details-marker {
  display: none;
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.burger span {
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.nav-mobile__panel {
  position: absolute;
  right: 0;
  top: 54px;
  width: min(260px, calc(100vw - 2 * var(--gutter)));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--sh-pop);
  padding: 8px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}

.nav-mobile__panel > a:not(.btn) {
  padding: 12px;
  color: var(--ink);
  text-decoration: none;
}

.nav-mobile__panel > a:not(.btn)[aria-current='page'] {
  font-weight: 600;
}

.nav-mobile__panel .lang {
  padding: 12px;
  border-top: 1px solid var(--line-soft);
}

.nav-mobile__panel .btn {
  margin: 4px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 13px var(--font-mono);
}

.lang a {
  text-decoration: none;
  color: var(--ink-3);
}

.lang a[aria-current] {
  color: var(--ink);
  font-weight: 600;
}

.lang__sep {
  color: var(--separator);
}

/* ───────────── availability pill ───────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font: 500 12px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-tag);
}

.pill::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--ok));
}

.pill[data-state='from'],
.pill[data-state='limited'] {
  --dot: var(--warn);
}

.pill[data-state='booked'] {
  --dot: var(--muted);
}

/* ───────────── hero (option 1b: centred + stats readout) ───────────── */

.hero {
  padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.hero__title {
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 12em;
}

.accent-text {
  background: var(--accent-text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (forced-colors: active) {
  .accent-text {
    background: none;
    color: CanvasText;
  }
}

.hero .lead {
  max-width: 36em;
}

.hero .actions {
  justify-content: center;
}

.hero__note {
  font: 13px var(--font-mono);
  color: var(--ink-3);
}

/* ───────────── terminal blocks ───────────── */

.terminal {
  background: var(--dk-bg);
  color: var(--dk-ink);
  border-radius: var(--r-card);
  box-shadow: var(--sh-terminal);
  font-family: var(--font-mono);
  overflow: hidden;
  min-width: 0;
}

.terminal__bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 18px;
  border-bottom: 1px solid var(--dk-line);
  font-size: 12px;
  color: var(--dk-ink-2);
}

.readout {
  margin: 24px 0 0;
  width: 100%;
  max-width: 760px;
  text-align: left;
}

.readout dl {
  padding: 10px 18px 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  column-gap: 40px;
  font-size: 14px;
}

.readout__row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed var(--dk-line-dashed);
}

.readout__row dt {
  flex: none;
  color: var(--dk-ink-2);
}

.readout__row::after {
  content: '';
  order: 1;
  flex: 1;
  align-self: center;
  border-bottom: 2px dotted var(--dk-dots);
}

.readout__row dd {
  order: 2;
  color: var(--dk-accent);
  font-weight: 500;
  text-align: right;
}

.prompt {
  color: var(--dk-accent);
}

/* ───────────── stats strip ───────────── */

.stats {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.stats dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}

.stat {
  margin-top: -1px;
  padding: clamp(24px, 3vw, 36px) 20px clamp(24px, 3vw, 36px) 0;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  border-top: 3px solid transparent;
  border-image: var(--accent-grad) 1;
  border-image-width: 3px 0 0 0;
}

.stat dt {
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-2);
}

.stat dd {
  font: 500 var(--fs-stat) / 1 var(--font-mono);
  letter-spacing: -0.04em;
}

/* ───────────── section headings ───────────── */

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 44em;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-heading h2 {
  font-size: var(--fs-h2);
  line-height: 1.08;
}

.section-heading .lead {
  font-size: 18px;
}

.section-heading--split {
  max-width: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.section-heading--split > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 40em;
}

.section-foot {
  margin-top: 24px;
}

/* ───────────── grids ───────────── */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 300px)), 1fr));
  gap: var(--s-4);
}

.grid--services {
  --min: 330px;
}

.grid--cases {
  --min: 500px;
}

.grid--engagements {
  --min: 250px;
}

.grid--way {
  --min: 300px;
}

/* ───────────── cards ───────────── */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.card__num {
  font: 13px var(--font-mono);
  color: var(--ink-3);
}

.card h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.card__outcome {
  color: var(--ink-tag);
}

.bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bullets li {
  display: flex;
  gap: 10px;
}

.bullets li::before {
  content: '';
  flex: none;
  margin-top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent-from);
}

.card .bullets {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
  color: var(--ink-2);
}

.badge {
  font: 500 11px var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--r-tag);
  background: var(--accent-wash);
  color: var(--accent-wash-ink);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.tag {
  font: 12px var(--font-mono);
  padding: 4px 9px;
  border-radius: var(--r-tag);
  background: var(--surface-2);
  border: 1px solid var(--line-tag);
  color: var(--ink-tag);
}

.tag--nda {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* case card */

.case-card {
  padding: clamp(24px, 2.6vw, 32px);
  gap: 18px;
}

.case-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font: 12px var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.case-card__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.case-card__head h3 {
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.case-card__head h3 a {
  color: inherit;
  text-decoration: none;
}

.case-card__head h3 a:hover {
  text-decoration: underline;
}

.case-card__head p {
  color: var(--ink-2);
}

.case-card__result {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 18px 0;
  border-block: 1px solid var(--line-soft);
}

.case-card__stat {
  flex: none;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.case-card__value {
  font: 500 30px / 1.1 var(--font-mono);
  letter-spacing: -0.04em;
  color: var(--accent-ink);
}

.case-card__label {
  font-size: 13px;
  color: var(--ink-3);
}

.case-card__result > p {
  flex: 1;
  min-width: min(100%, 220px);
  font-size: 15px;
  color: var(--ink-body);
}

.case-card__links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

/* NDA locked state */

.locked {
  padding: 18px;
  border-radius: 12px;
  border: 1px dashed var(--line-locked);
  background: repeating-linear-gradient(135deg, var(--stripe-1) 0 8px, var(--stripe-2) 8px 16px);
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.lock {
  flex: none;
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  display: grid;
  place-items: center;
}

.lock::before {
  content: '';
  position: absolute;
  top: 8px;
  width: 8px;
  height: 9px;
  border: 2px solid #fff;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
}

.lock::after {
  content: '';
  width: 12px;
  height: 9px;
  margin-top: 5px;
  border-radius: 2px;
  background: #fff;
}

.locked__text {
  flex: 1;
  min-width: min(100%, 200px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.locked__text strong {
  font-weight: 600;
  font-size: 15px;
}

.locked__text span {
  font-size: 14px;
  color: var(--ink-2);
}

.locked a {
  font-size: 14px;
  font-weight: 500;
}

/* engagement card */

.engagement-card {
  padding: 24px;
  gap: 12px;
}

.engagement-card h3 {
  font-size: 20px;
}

.engagement-card__summary {
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--ink-tag);
}

.engagement-card__min {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font: 13px var(--font-mono);
}

.engagement-card__min span {
  color: var(--ink-3);
}

.section-note {
  margin-top: 20px;
  font-size: 15px;
  color: var(--ink-2);
}

/* ───────────── client logos ───────────── */

.logos-section {
  padding-top: clamp(48px, 6vw, 72px);
}

.logos-section h2 {
  margin-bottom: 20px;
  font-weight: 500;
}

.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.logos li {
  height: 88px;
  display: grid;
  place-items: center;
  padding-inline: 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-logo);
  text-align: center;
}

/* ───────────── what the name means ───────────── */

.name-band h2 {
  margin-bottom: clamp(28px, 3vw, 40px);
  font-weight: 500;
}

.name-band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  border-top: 1px solid var(--ink);
}

.name-band__item {
  padding: 28px 28px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.name-band__word {
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.name-band__body {
  font-size: 17px;
  color: var(--ink-tag);
}

.name-band__proof {
  font: 13px var(--font-mono);
  color: var(--ink-3);
}

/* ───────────── process ───────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 0 24px;
}

.step {
  padding: 24px 0;
  border-top: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step__num {
  font: 13px var(--font-mono);
  color: var(--accent-ink);
}

.step h3 {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.step__body {
  font-size: 15px;
  color: var(--ink-2);
}

.step__gets {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--wash);
  font-size: 14px;
  color: var(--ink-wash);
}

.step__gets span {
  display: block;
  margin-bottom: 4px;
  font: 11px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wash-label);
}

/* ───────────── dark bands (how I work, tools, deliverables) ───────────── */

.dark-band {
  background: var(--dk-bg);
  color: var(--dk-ink);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
}

.dark-band :focus-visible {
  outline-color: var(--dk-accent);
}

.dark-band__title {
  margin-bottom: 28px;
  font: 500 13px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dk-accent);
}

.checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px 40px;
}

.checks li {
  display: flex;
  gap: 14px;
}

.checks li::before {
  content: '✓';
  flex: none;
  font-family: var(--font-mono);
  color: var(--dk-accent);
}

.checks strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 17px;
}

.checks span {
  font-size: 15px;
  color: var(--dk-ink-3);
}

/* ───────────── founder ───────────── */

.founder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.founder--solo {
  grid-template-columns: minmax(0, 44em);
}

.founder__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.founder__text h2 {
  font-size: var(--fs-h2);
  line-height: 1.08;
}

.founder__meta {
  font: 14px var(--font-mono);
  color: var(--ink-2);
}

.founder__bio {
  font-size: 18px;
  color: var(--ink-body);
}

.founder__note {
  color: var(--ink-2);
}

.portrait {
  width: 100%;
  max-width: 440px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line-control);
}

/* ───────────── call-to-action band ───────────── */

.cta-band {
  padding-top: var(--section);
}

.cta-band__box {
  border-radius: var(--r-band);
  padding: clamp(32px, 6vw, 72px);
  background: var(--cta-grad);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 28px;
  align-items: end;
}

.cta-band__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-band h2 {
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.cta-band__text p {
  font-size: 18px;
  color: var(--ink-body);
}

.cta-band .btn--ghost {
  color: var(--cta-ink);
}

/* ───────────── page intro (every page but Home) ───────────── */

.page-intro {
  padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-intro h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  max-width: 14em;
}

.page-intro .lead {
  max-width: 38em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.chips a {
  font: 13px var(--font-mono);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line-control);
  background: var(--surface);
  color: var(--ink-body);
  text-decoration: none;
}

.chips a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ───────────── services page ───────────── */

.service {
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(24px, 4vw, 56px);
  scroll-margin-top: 16px;
}

.service__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service__num {
  display: flex;
  gap: 10px;
  align-items: center;
  font: 13px var(--font-mono);
  color: var(--accent-ink);
}

.service h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
}

.service__outcome {
  font-size: 18px;
  color: var(--ink-body);
}

.service__proof {
  font: 13px var(--font-mono);
  color: var(--ink-3);
}

.service__detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.fit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
}

.fit__box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

.fit__box--no {
  background: var(--stripe-1);
}

.fit__box h3,
.deliverables h3 {
  margin-bottom: 10px;
  font: 500 12px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fit-ink);
}

.fit__box--no h3 {
  color: var(--ink-3);
}

.fit__box ul {
  padding-left: 18px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  color: var(--ink-body);
}

.fit__box--no ul {
  color: var(--ink-2);
}

.deliverables {
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--dk-bg);
  color: var(--dk-ink);
}

.deliverables h3 {
  color: var(--dk-accent);
}

.deliverables ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 6px 20px;
  font-size: 15px;
}

.deliverables li {
  display: flex;
  gap: 10px;
}

.deliverables li::before {
  content: '→';
  font-family: var(--font-mono);
  color: var(--dk-accent);
}

.engagement-section {
  padding-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 16px;
}

/* ───────────── work index ───────────── */

.case-list {
  border-top: 1px solid var(--ink);
}

.case-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px 32px;
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.case-row__who {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-row__period {
  font: 12px var(--font-mono);
  color: var(--ink-3);
}

.case-row h2 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.case-row__role {
  font-size: 14px;
  color: var(--ink-2);
}

.case-row__what {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.case-row__what > p {
  color: var(--ink-body);
}

.case-row__go {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 767px) {
  .case-row__what {
    grid-column: auto;
  }

  .case-row__go {
    justify-content: flex-start;
  }
}

/* ───────────── case study ───────────── */

.case-header {
  padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.case-header h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  max-width: 16em;
}

.case-header .lead {
  max-width: 40em;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font: 13px var(--font-mono);
  color: var(--ink-3);
}

.breadcrumbs li + li::before {
  content: '/';
  margin-right: 8px;
}

.facts {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  font: 13px var(--font-mono);
}

.facts dt {
  color: var(--ink-3);
}

/* wrap-reverse puts the numbers above the story once they no longer fit
   side by side. It also flips flex-start to the bottom, so align to the
   writing-mode start instead (the design's flex-start left the sidebar at
   the bottom of the story). */
.case-body {
  display: flex;
  flex-wrap: wrap-reverse;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.case-story {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}

.story-part {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.story-part h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.story-part__body {
  font-size: 17px;
  color: var(--ink-body);
}

.story-part__points {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-body);
}

.story-part__points li {
  display: flex;
  gap: 12px;
}

.story-part__points li::before {
  content: '';
  flex: none;
  margin-top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent-from);
}

/* Case-study screenshots: the design's 16:9 frame under the story, holding
   phone screens side by side, or desktop screens one under another. */
.case-shots {
  margin: 0; /* browsers indent <figure> by 40px */
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.case-shots__frame {
  border: 1px solid var(--line-control);
  border-radius: 16px;
  background: var(--cta-grad);
  padding: clamp(16px, 3vw, 32px);
}

.case-shots--phone .case-shots__frame {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: clamp(10px, 2vw, 20px);
  align-items: start;
}

.case-shots--desktop .case-shots__frame {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 28px);
}

.case-shots__shot img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: var(--sh-pop);
}

/* Roughly an iPhone's screen corners at this size. */
.case-shots--phone .case-shots__shot img {
  border-radius: clamp(10px, 2.2vw, 22px);
}

.case-shots--desktop .case-shots__shot img {
  border-radius: 10px;
  border: 1px solid var(--line);
}

.case-shots__caption {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
}

/* Four phones in a row get too small to read on a phone: two by two. */
@media (max-width: 599px) {
  .case-shots--phone .case-shots__frame {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* No overflow: hidden here, so the links' focus rings are never clipped. */
.case-aside {
  flex: 0 1 340px;
  min-width: 0;
  background: var(--dk-bg);
  color: var(--dk-ink);
  border-radius: var(--r-card);
}

/* Sticky only beside the story (the columns wrap below about 1005px);
   stacked above it, it would cover the text while scrolling. */
@media (min-width: 1024px) {
  .case-aside {
    position: sticky;
    top: 24px;
  }
}

.case-aside :focus-visible {
  outline-color: var(--dk-accent);
}

.case-aside > :first-child {
  padding-top: 18px;
}

.case-aside__bar {
  padding: 12px 18px;
  border-bottom: 1px solid var(--dk-line);
  font: 12px var(--font-mono);
  color: var(--dk-ink-2);
}

.case-aside > .case-aside__bar:first-child {
  padding-top: 12px;
}

.case-aside__numbers {
  padding: 6px 18px 12px;
  font-family: var(--font-mono);
}

.case-aside__numbers div {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--dk-line-dashed);
}

.case-aside__numbers dt {
  font-size: 12px;
  color: var(--dk-ink-2);
}

.case-aside__numbers dd {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--dk-accent);
}

.case-aside__tags {
  padding: 4px 18px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.case-aside__tags li {
  font: 12px var(--font-mono);
  padding: 4px 9px;
  border-radius: var(--r-tag);
  border: 1px solid var(--dk-tag-line);
  color: var(--dk-tag-ink);
}

.case-aside__links {
  padding: 0 18px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-aside__link,
.case-aside__link:hover {
  background: var(--dk-button);
  color: var(--ink);
  font-weight: 500;
}

/* ───────────── about ───────────── */

.about-intro {
  padding-top: clamp(48px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.about-intro__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-intro h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
}

.about-intro .lead {
  color: var(--ink-body);
}

.prose {
  font-size: 17px;
  color: var(--ink-tag);
}

.about-intro__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fact-line {
  font: 13px var(--font-mono);
  color: var(--ink-3);
}

.subsection {
  padding-top: clamp(56px, 7vw, 96px);
}

.subsection > h2 {
  margin-bottom: 24px;
  font-size: clamp(28px, 3.4vw, 40px);
}

.timeline {
  border-top: 1px solid var(--ink);
}

.timeline li {
  display: grid;
  grid-template-columns: minmax(0, 140px) minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.timeline__when {
  font: 13px var(--font-mono);
  color: var(--accent-ink);
}

.timeline__what {
  color: var(--ink-body);
}

.way-card {
  padding: 24px;
  gap: 8px;
}

.way-card h3 {
  font-size: 19px;
  letter-spacing: -0.015em;
}

.way-card p {
  font-size: 15px;
  color: var(--ink-2);
}

.tools {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tools .dark-band__title {
  margin-bottom: 0;
}

.tools__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
}

.tools__grid h3 {
  margin-bottom: 8px;
  font: 500 13px var(--font-mono);
  letter-spacing: 0;
  color: var(--dk-ink-2);
}

.tools__grid p {
  font: 14px / 1.8 var(--font-mono);
}

/* ───────────── contact ───────────── */

.contact {
  padding-top: clamp(48px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact__main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.contact__main h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
}

.contact__main .lead {
  color: var(--ink-tag);
}

/* Email and phone behind reveal buttons (components/reveal.dart, reveal.js). */
.reveals {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.reveal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.reveal-row__label {
  flex: none;
  min-width: 64px;
  font: 12px var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* The minimum height keeps the row from shifting when the script shows the
   button or swaps it for the link. */
.reveal {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
}

.reveal__link {
  font: 500 clamp(15px, 1.6vw, 18px) var(--font-mono);
  overflow-wrap: anywhere;
}

.reveal noscript {
  font-family: var(--font-mono);
}

.copy {
  margin-left: auto;
  background: var(--surface-2);
}

.copy[data-state] {
  color: var(--fit-ink);
}

.reveals__note {
  font-size: var(--fs-small);
  color: var(--ink-3);
}

.contact__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.contact-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  border-top: 1px solid var(--ink);
}

.contact-facts div {
  padding: 16px 12px 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-facts dt {
  font: 12px var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.contact-facts dd {
  font-size: 17px;
  font-weight: 500;
}

.include {
  border-radius: var(--r-card);
  padding: clamp(22px, 3vw, 32px);
}

.include .dark-band__title {
  margin-bottom: 16px;
}

.include ol {
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: include;
}

.include li {
  display: flex;
  gap: 14px;
  counter-increment: include;
}

.include li::before {
  content: counter(include, decimal-leading-zero);
  flex: none;
  font-family: var(--font-mono);
  color: var(--dk-accent);
}

/* ───────────── privacy ───────────── */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter) 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doc h1 {
  font-size: clamp(36px, 4.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.doc .lead {
  font-size: 19px;
  color: var(--ink-body);
}

.doc__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--ink-body);
}

.doc__body h2 {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.doc__body h3 {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.doc__body ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 20px;
  list-style: disc;
}

.doc__body li::marker {
  color: var(--accent-from);
}

.doc__body strong {
  color: var(--ink);
}

.doc__body .reveal {
  min-height: 0;
  vertical-align: middle;
}

.doc__body .btn--reveal {
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--r-btn-sm);
  font-size: 13px;
}

.doc__body .reveal__link {
  font-size: 15px;
}

/* ───────────── 404 ───────────── */

.not-found {
  padding-top: clamp(64px, 10vw, 140px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.not-found__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.not-found__text h1,
.not-found__text h2 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
}

.not-found__other {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.not-found__other h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.not-found__text > p {
  font-size: 18px;
  color: var(--ink-2);
}

.listing {
  margin: 0;
  padding: 22px;
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.listing span {
  display: block;
}

.listing .quiet {
  color: var(--dk-ink-2);
}

/* ───────────── footer ───────────── */

.site-footer {
  margin-top: var(--section);
  background: var(--dk-bg);
  color: var(--dk-link);
}

.site-footer :focus-visible {
  outline-color: var(--dk-accent);
}

.site-footer__inner {
  padding-block: clamp(48px, 6vw, 72px) 28px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 32px;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.site-footer .wordmark,
.site-footer .wordmark:hover {
  color: #fff;
}

.site-footer__tagline {
  color: var(--dk-ink-3);
}

.site-footer__heading {
  font: 11px var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dk-ink-2);
}

.site-footer__col a {
  color: var(--dk-link);
  text-decoration: none;
}

.site-footer__col a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__col span {
  color: var(--dk-ink-3);
}

.site-footer .lang {
  font-size: 14px;
}

.site-footer .lang a {
  color: var(--dk-ink-3);
}

.site-footer .lang a[aria-current] {
  color: #fff;
}

.site-footer .lang__sep {
  color: var(--dk-ink-2);
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--dk-line);
  font: 12px var(--font-mono);
  color: var(--dk-ink-2);
}

.legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.legal a {
  color: var(--dk-link);
}

.legal a:hover {
  color: #fff;
}

/* ───────────── motion ───────────── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
