@charset "UTF-8";
/* ==========================================================================
   InkFlow — public stylesheet
   Print studio identity: warm paper, ink black, CMYK as accents.
   Light only, by deliberate choice. No dark mode.

   Contents
     01  Fonts
     02  Tokens
     03  Reset & base
     04  Typography
     05  Layout primitives
     06  Buttons
     07  Signature devices (colour bar, registration patch, halftone)
     08  Chrome — skip link, header, nav, language switch, footer
     09  Hero
     10  Checklist
     11  Technology cards
     12  CTA band
     13  FAQ
     14  Contact — layout, details, form
     15  Gallery & lightbox
     16  Error page
     17  Utilities
     18  Reveal on scroll
     19  Reduced motion
     20  Print
   ========================================================================== */

/* ── 01  Fonts ───────────────────────────────────────────────────────────── */
/* Polish diacritics (ą ć ę ł ń ś ź ż) live in the latin-ext subsets, so both
   subsets are declared for both families. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── 02  Tokens ──────────────────────────────────────────────────────────── */

:root {
  --ink-900:#0B0C0F; --ink-800:#14161B; --ink-700:#1E2128; --ink-600:#2C3038;
  --ink-400:#5A606E; --ink-300:#8A9099;
  --paper-50:#FCFAF6; --paper-100:#F6F2EA; --paper-200:#EDE7DB; --paper-300:#DCD4C4;
  --cyan-100:#D8F1FB; --cyan-500:#0092CC; --cyan-600:#00719F;
  --magenta-500:#D6006E; --magenta-600:#A80057;
  --yellow-400:#FFC400;

  --bg:var(--paper-50); --fg:var(--ink-900); --muted:var(--ink-400);
  --line:var(--paper-300); --surface:#FFFFFF; --surface-ink:var(--ink-900);
  --accent:var(--cyan-500); --accent-strong:var(--cyan-600); --accent-alt:var(--magenta-500);

  --font-display:'Bricolage Grotesque',ui-sans-serif,system-ui,sans-serif;
  --font-body:'Archivo',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;

  /* fluid type, 360px → 1400px */
  --step--1:clamp(.8125rem,.79rem + .11vw,.875rem);
  --step-0:clamp(1rem,.97rem + .14vw,1.0625rem);
  --step-1:clamp(1.125rem,1.07rem + .27vw,1.3125rem);
  --step-2:clamp(1.375rem,1.27rem + .48vw,1.75rem);
  --step-3:clamp(1.625rem,1.43rem + .93vw,2.375rem);
  --step-4:clamp(2rem,1.62rem + 1.8vw,3.25rem);
  --step-5:clamp(2.5rem,1.83rem + 3.2vw,4.75rem);

  --sp-3xs:.25rem; --sp-2xs:.5rem; --sp-xs:.75rem; --sp-s:1rem; --sp-m:1.5rem;
  --sp-l:2rem; --sp-xl:3rem; --sp-2xl:4.5rem; --sp-3xl:6.5rem; --sp-4xl:9rem;

  --container:75rem; --container-narrow:46rem; --container-wide:88rem;
  --radius-1:3px; --radius-2:6px; --radius-3:12px; --radius-pill:999px;
  --shadow-1:0 1px 2px rgb(11 12 15 / .06), 0 2px 8px rgb(11 12 15 / .04);
  --shadow-2:0 2px 4px rgb(11 12 15 / .06), 0 12px 28px rgb(11 12 15 / .08);
  --dur-fast:140ms; --dur:240ms; --dur-slow:420ms;
  --ease:cubic-bezier(.16,1,.3,1);
  --header-h:4.5rem;
}

/* Derived values used across components. */
:root {
  --measure:68ch;          /* never let a paragraph run wider than this */
  --measure-lede:56ch;
  --gutter:clamp(.875rem,4vw,2rem);
  --hairline:1px;
  --colour-bar:linear-gradient(
      to right,
      var(--cyan-500) 0 25%,
      var(--magenta-500) 25% 50%,
      var(--yellow-400) 50% 75%,
      var(--ink-900) 75% 100%);
  --reg-patch:conic-gradient(
      var(--cyan-500) 0 25%,
      var(--magenta-500) 0 50%,
      var(--yellow-400) 0 75%,
      var(--ink-900) 0);
}

/* ── 03  Reset & base ────────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--sp-s));
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  font-synthesis-weight: none;
  overflow-wrap: break-word;
  overflow-x: clip;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; }
li { list-style: none; }

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }

a:hover { text-decoration-color: var(--accent-strong); }

button, input, select, textarea { font: inherit; color: inherit; }

hr { border: 0; margin: 0; }

::selection { background: var(--cyan-100); color: var(--ink-900); }

:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 2px;
}

/* Older engines: keep a ring for keyboard users. */
:focus:not(:focus-visible) { outline: none; }

/* ── 04  Typography ──────────────────────────────────────────────────────── */

h1, .h1, h2, .h2, h3, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.04;
  text-wrap: balance;
}

h1, .h1 {
  font-size: var(--step-4);
  letter-spacing: -.03em;
}

h2, .h2 {
  font-size: var(--step-3);
  line-height: 1.08;
}

h3, .h3 {
  font-size: var(--step-2);
  line-height: 1.14;
  letter-spacing: -.015em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-2xs);
  margin: 0 0 var(--sp-s);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .11em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--ink-600);
}

.section--ink .eyebrow { color: var(--paper-200); }

/* Registration patch: four CMYK quadrants, the smallest instance of the
   colour-bar device. */
.eyebrow::before {
  content: "";
  flex: none;
  width: .625rem;
  height: .625rem;
  background: var(--reg-patch);
}

.lede {
  max-width: var(--measure-lede);
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-700);
}

.section--ink .lede { color: var(--paper-200); }

.prose {
  max-width: var(--measure);
}

.prose > * + * { margin-top: var(--sp-s); }

.prose h2 {
  font-size: var(--step-2);
  margin-top: var(--sp-xl);
}

.prose h3 {
  font-size: var(--step-1);
  font-weight: 700;
  margin-top: var(--sp-l);
}

.prose > :first-child { margin-top: 0; }

.prose ul, .prose ol {
  margin-top: var(--sp-s);
  padding-left: 0;
}

.prose li {
  position: relative;
  padding-left: 1.5rem;
  margin-top: var(--sp-2xs);
}

.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .4rem;
  height: .4rem;
  background: var(--accent-alt);
}

.prose ol { counter-reset: prose-ol; }

.prose ol > li { counter-increment: prose-ol; }

.prose ol > li::before {
  content: counter(prose-ol) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--accent-strong);
}

.prose a {
  color: var(--accent-strong);
  text-decoration: underline;
}

.prose strong { font-weight: 700; }

/* ── 05  Layout primitives ───────────────────────────────────────────────── */

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

.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.section {
  padding-block: var(--sp-2xl);
}

.section--tight { padding-block: var(--sp-xl); }

@media (min-width: 48em) {
  .section { padding-block: var(--sp-3xl); }
  .section--tight { padding-block: var(--sp-2xl); }
}

.section--paper {
  background: var(--paper-100);
  --line: var(--paper-300);
}

.section--ink,
.site-footer {
  --bg: var(--ink-900);
  --fg: var(--paper-50);
  --muted: var(--ink-300);
  --line: var(--ink-700);
  --surface: var(--ink-800);
  --accent-strong: var(--cyan-500);
  background: var(--ink-900);
  color: var(--paper-50);
}

.section__head {
  max-width: 60ch;
  margin-bottom: var(--sp-xl);
}

.section__head > .rule { margin-bottom: var(--sp-m); }

.section__head > .lede { margin-top: var(--sp-s); }

.grid {
  display: grid;
  gap: var(--sp-m);
}

@media (min-width: 46em) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 62em) {
  .grid--2 { gap: var(--sp-l); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 46em) and (max-width: 61.999em) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.stack > * + * { margin-top: var(--sp-s); }

/* ── 06  Buttons ─────────────────────────────────────────────────────────── */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-line: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2xs);
  min-height: 2.875rem;
  padding: .6875rem 1.25rem;
  border: var(--hairline) solid var(--btn-line);
  border-radius: var(--radius-1);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--lg {
  min-height: 3.25rem;
  padding: .875rem 1.625rem;
  font-size: var(--step-0);
}

.btn--primary {
  --btn-bg: var(--cyan-600);
  --btn-fg: #FFFFFF;
  --btn-line: var(--cyan-600);
}

.btn--primary:hover {
  --btn-bg: var(--ink-900);
  --btn-line: var(--ink-900);
}

.btn--ink {
  --btn-bg: var(--ink-900);
  --btn-fg: var(--paper-50);
  --btn-line: var(--ink-900);
}

.btn--ink:hover {
  --btn-bg: var(--cyan-600);
  --btn-line: var(--cyan-600);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-900);
  --btn-line: var(--ink-900);
}

.btn--ghost:hover {
  --btn-bg: var(--ink-900);
  --btn-fg: var(--paper-50);
}

.section--ink .btn--ghost,
.site-footer .btn--ghost {
  --btn-fg: var(--paper-50);
  --btn-line: var(--ink-600);
}

.section--ink .btn--ghost:hover,
.site-footer .btn--ghost:hover {
  --btn-bg: var(--paper-50);
  --btn-fg: var(--ink-900);
  --btn-line: var(--paper-50);
}

.section--ink .btn--ink {
  --btn-bg: var(--paper-50);
  --btn-fg: var(--ink-900);
  --btn-line: var(--paper-50);
}

.section--ink .btn--ink:hover {
  --btn-bg: var(--cyan-500);
  --btn-line: var(--cyan-500);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: .55;
  cursor: default;
  transform: none;
}

.btn .icon {
  transition: transform var(--dur) var(--ease);
}

.btn:hover .icon { transform: translateX(2px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-xs) var(--sp-s);
}

/* ── 07  Signature devices ───────────────────────────────────────────────── */

/* A hairline rule capped at its left end by a CMYK press control strip —
   the same device as the eyebrow patch, at a different scale. */
.rule {
  position: relative;
  display: block;
  width: 100%;
  height: var(--hairline);
  background: var(--line);
  overflow: visible;
}

.rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 5.5rem;
  max-width: 40%;
  height: 3px;
  background: var(--colour-bar);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2xs);
  padding: .3125rem .625rem;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius-1);
  background: var(--surface);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-600);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── 08  Chrome ──────────────────────────────────────────────────────────── */

.skip-link {
  position: absolute;
  z-index: 200;
  top: var(--sp-2xs);
  left: var(--sp-2xs);
  padding: .6875rem 1rem;
  background: var(--ink-900);
  color: var(--paper-50);
  border-radius: var(--radius-1);
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-250%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper-50);
  border-bottom: var(--hairline) solid var(--line);
  transition: box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--paper-300);
  box-shadow: var(--shadow-1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  min-height: var(--header-h);
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  margin-right: auto;
  padding-block: var(--sp-2xs);
  text-decoration: none;
  color: var(--ink-900);
}

.brand__mark {
  /* The mark is the wide CMYK bar cluster, not a square glyph — fix the height and
     let the width follow, or the aspect ratio gets squashed. */
  width: auto;
  height: 2rem;
  flex: none;
  transition: transform var(--dur-slow) var(--ease);
}

/* A wide mark tipping on its corner looks broken; scale instead. */
.brand:hover .brand__mark { transform: scale(1.06); }

.brand__text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Navigation */

.nav { display: flex; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 1.6vw, 1.5rem);
  margin: 0;
}

.nav__link {
  position: relative;
  display: block;
  padding: .5rem 0;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink-700);
  transition: color var(--dur) var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .125rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}

.nav__link:hover { color: var(--ink-900); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__link--current {
  color: var(--ink-900);
  font-weight: 700;
}

.nav__link--current::after {
  transform: scaleX(1);
  background: var(--ink-900);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3xs);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius-1);
  background: var(--surface);
  color: var(--ink-900);
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.nav-toggle:hover {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--paper-50);
}

.nav-toggle .icon { width: 1.375rem; height: 1.375rem; }

/* Closed / open icon swap, class-driven — never a style attribute. */
.nav-toggle [data-icon="close"] { display: none; }
.site-header.is-open .nav-toggle [data-icon="close"] { display: block; }
.site-header.is-open .nav-toggle [data-icon="menu"] { display: none; }

/* Language switch */

.lang-switch {
  display: flex;
  align-items: center;
  gap: var(--sp-3xs);
  padding-left: var(--sp-xs);
  border-left: var(--hairline) solid var(--line);
}

.lang-switch__link {
  display: block;
  padding: .375rem .5rem;
  border-radius: var(--radius-1);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-400);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.lang-switch__link:hover {
  color: var(--ink-900);
  background: var(--paper-200);
}

.lang-switch__link--current {
  color: var(--ink-900);
  background: var(--paper-200);
  cursor: default;
}

/* Mobile navigation panel */
@media (max-width: 56.1875em) {
  .nav { position: static; }

  .nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 55;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: var(--sp-2xs) var(--gutter) var(--sp-m);
    background: var(--surface);
    border-bottom: var(--hairline) solid var(--paper-300);
    box-shadow: var(--shadow-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-.5rem);
    transition: opacity var(--dur) var(--ease),
                transform var(--dur) var(--ease),
                visibility var(--dur) var(--ease);
  }

  .site-header.is-open .nav__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__item + .nav__item { border-top: var(--hairline) solid var(--paper-200); }

  .nav__link {
    padding: var(--sp-xs) 0;
    font-size: var(--step-0);
    white-space: normal;
  }

  .nav__link::after { bottom: auto; top: 50%; left: -.75rem; right: auto; width: 3px; height: 1.25rem; transform: scaleY(0) translateY(-50%); transform-origin: center top; }
  .nav__link:hover::after { transform: scaleY(1) translateY(-50%); }
  .nav__link--current::after { transform: scaleY(1) translateY(-50%); }

  .lang-switch { order: 8; margin-left: auto; }
  .nav-toggle { order: 9; }

  /* No JavaScript: the panel becomes a plain wrapping row inside the header
     and the toggle disappears, so every link stays reachable. */
  .no-js .nav-toggle { display: none; }

  .no-js .nav {
    order: 10;
    flex: 1 0 100%;
    padding-top: var(--sp-2xs);
    padding-bottom: var(--sp-2xs);
    border-top: var(--hairline) solid var(--paper-200);
  }

  .no-js .nav__list {
    position: static;
    max-height: none;
    overflow: visible;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--sp-2xs) var(--sp-m);
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .no-js .nav__item + .nav__item { border-top: 0; }
  .no-js .nav__link { padding: .375rem 0; font-size: var(--step--1); }
  .no-js .nav__link::after { top: auto; bottom: .125rem; left: 0; right: 0; width: auto; height: 2px; transform: scaleX(0) translateY(0); transform-origin: left center; }
  .no-js .nav__link:hover::after,
  .no-js .nav__link--current::after { transform: scaleX(1) translateY(0); }
}

@media (min-width: 56.25em) {
  .nav-toggle { display: none; }
  .nav__list { visibility: visible; opacity: 1; }
  .lang-switch { padding-left: var(--sp-m); margin-left: var(--sp-2xs); }
}

/* Main */

.site-main { display: block; }

/* Footer */

.site-footer {
  padding-block: var(--sp-2xl) var(--sp-m);
  font-size: var(--step--1);
}

.footer__grid {
  display: grid;
  gap: var(--sp-xl);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 40em) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64em) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: var(--sp-l); }
}

.footer__col .brand {
  color: var(--paper-50);
  margin-right: 0;
}

.footer__col .brand__text { font-size: 1.5rem; }

.footer__col > * + * { margin-top: var(--sp-s); }

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .11em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--ink-300);
}

.footer__list { display: grid; gap: var(--sp-2xs); }

.footer__list a,
.footer__col a:not(.brand):not(.btn):not(.social__link) {
  color: var(--paper-100);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer__list a:hover,
.footer__col a:not(.brand):not(.btn):not(.social__link):hover {
  color: var(--cyan-500);
  text-decoration: underline;
}

.footer__col p { color: var(--paper-200); max-width: 40ch; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2xs) var(--sp-m);
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-s);
  border-top: var(--hairline) solid var(--ink-700);
  color: var(--ink-300);
}

.footer__bottom p { margin: 0; }

.footer__bottom a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3xs);
  margin-left: auto;
  color: var(--paper-100);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer__bottom a:hover { color: var(--cyan-500); }
.footer__bottom a:hover .icon { transform: translateY(-2px); }
.footer__bottom .icon { transition: transform var(--dur) var(--ease); }

.social { display: flex; flex-wrap: wrap; gap: var(--sp-2xs); }

.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: var(--hairline) solid var(--ink-700);
  border-radius: var(--radius-1);
  color: var(--paper-100);
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.social__link:hover {
  background: var(--paper-50);
  border-color: var(--paper-50);
  color: var(--ink-900);
  transform: translateY(-2px);
}

.social__link .icon { width: 1.25rem; height: 1.25rem; }

/* ── 09  Hero ────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-2xl) var(--sp-xl);
  border-bottom: var(--hairline) solid var(--line);
}

@media (min-width: 48em) {
  .hero { padding-block: var(--sp-3xl) var(--sp-2xl); }
}

.hero__inner { position: relative; z-index: 1; }

.hero__title {
  max-width: 22ch;
  font-size: var(--step-4);
  hyphens: auto;
}

.hero__lead {
  max-width: 60ch;
  margin-top: var(--sp-m);
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-700);
}

.hero__lead + .hero__lead { margin-top: var(--sp-s); }

.hero .btn-row { margin-top: var(--sp-l); }

.hero .rule { margin-top: var(--sp-xl); max-width: 24rem; }

/* Halftone field, bleeding off an edge. Decorative only. */
.hero__deco {
  position: absolute;
  z-index: 0;
  inset-inline: 0;
  bottom: 0;
  height: 7rem;
  background-image: url("../img/pattern-halftone.svg");
  background-repeat: repeat;
  background-size: 26px 26px;
  opacity: .5;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgb(0 0 0 / .35) 55%, transparent 100%);
          mask-image: linear-gradient(to top, #000 0%, rgb(0 0 0 / .35) 55%, transparent 100%);
}

@media (min-width: 48em) {
  .hero__deco {
    inset-block: 0;
    inset-inline: auto 0;
    width: min(46%, 30rem);
    height: auto;
    -webkit-mask-image: linear-gradient(to left, #000 0%, rgb(0 0 0 / .28) 62%, transparent 100%);
            mask-image: linear-gradient(to left, #000 0%, rgb(0 0 0 / .28) 62%, transparent 100%);
  }
}

/* Home hero: a printed poster. */
.hero--home {
  padding-block: var(--sp-2xl) var(--sp-2xl);
}

@media (min-width: 48em) {
  .hero--home { padding-block: var(--sp-3xl) var(--sp-3xl); }
}

.hero--home .hero__title {
  max-width: 18ch;
  font-size: var(--step-5);
  letter-spacing: -.035em;
  line-height: .95;
}

.hero--home .hero__lead { max-width: 46ch; }

@media (min-width: 48em) {
  .hero--home .hero__inner { max-width: min(100%, 44rem); }
  .hero--home .hero__deco { width: min(52%, 38rem); opacity: .45; }
}

/* ── 10  Checklist ───────────────────────────────────────────────────────── */

.checklist {
  display: grid;
  gap: 0 var(--sp-xl);
  grid-template-columns: minmax(0, 1fr);
  border-bottom: var(--hairline) solid var(--line);
}

@media (min-width: 44em) {
  .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-s);
  padding-block: var(--sp-s);
  border-top: var(--hairline) solid var(--line);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.005em;
}

.checklist__item .icon {
  width: 1.75rem;
  height: 1.75rem;
  padding: .3125rem;
  margin-top: .1em;
  box-sizing: border-box;
  background: var(--cyan-500);
  color: #FFFFFF;
}

/* Press order: cyan, magenta, yellow, black — the control strip again. */
.checklist__item:nth-child(4n+2) .icon { background: var(--magenta-500); }
.checklist__item:nth-child(4n+3) .icon { background: var(--yellow-400); color: var(--ink-900); }
.checklist__item:nth-child(4n+4) .icon { background: var(--ink-900); }

.section--ink .checklist__item:nth-child(4n+4) .icon {
  background: var(--paper-50);
  color: var(--ink-900);
}

/* ── 11  Technology cards ────────────────────────────────────────────────── */

.tech-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-s);
  padding: var(--sp-l) var(--sp-m) var(--sp-m);
  background: #FFFFFF;
  border: var(--hairline) solid var(--ink-900);
  border-radius: 0;
  color: var(--ink-900);
  text-decoration: none;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

@media (min-width: 46em) {
  .tech-card { padding: var(--sp-xl) var(--sp-l) var(--sp-l); }
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--cyan-500);
  transform-origin: center top;
  transition: transform var(--dur) var(--ease);
}

.tech-card:nth-child(4n+2)::before { background: var(--magenta-500); }
.tech-card:nth-child(4n+3)::before { background: var(--yellow-400); }
.tech-card:nth-child(4n+4)::before { background: var(--ink-900); }

.tech-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}

.tech-card:hover::before { transform: scaleY(1.75); }

.tech-card__title {
  font-size: var(--step-2);
  letter-spacing: -.02em;
}

@media (min-width: 62em) {
  .tech-card__title { font-size: var(--step-3); }
}

.tech-card__text {
  max-width: 42ch;
  color: var(--ink-700);
}

.tech-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: auto;
  border: var(--hairline) solid var(--paper-300);
  color: var(--ink-900);
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}

.tech-card__more .icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform var(--dur) var(--ease);
}

.tech-card:hover .tech-card__more,
.tech-card:focus-visible .tech-card__more {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--paper-50);
}

.tech-card:hover .tech-card__more .icon { transform: translateX(2px); }

/* ── 12  CTA band ────────────────────────────────────────────────────────── */

.cta-band .container {
  display: grid;
  gap: var(--sp-m);
  align-items: center;
}

@media (min-width: 52em) {
  .cta-band .container {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--sp-xl);
  }
}

.cta-band__text {
  max-width: 44ch;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.2;
  text-wrap: balance;
}

.cta-band > .container > .rule { grid-column: 1 / -1; margin-bottom: var(--sp-s); }

/* ── 13  FAQ ─────────────────────────────────────────────────────────────── */

.faq {
  border-top: var(--hairline) solid var(--line);
}

/* The quote button sits directly under the last answer's bottom rule, which reads
   as part of the list rather than a separate call to action. Scoped to this pair
   rather than added to .btn-row, which is a shared utility used in the hero and
   the CTA blocks where the spacing is already handled. */
.faq + .btn-row {
  margin-top: var(--sp-xl);
}

.faq__item {
  border-bottom: var(--hairline) solid var(--line);
}

.faq__q {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-s);
  padding-block: var(--sp-s);
  cursor: pointer;
  list-style: none;
  transition: color var(--dur) var(--ease);
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q h2 {
  flex: 1 1 auto;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.3;
  text-wrap: initial;
}

@media (min-width: 46em) {
  .faq__q h2 { font-size: var(--step-2); }
}

.faq__q:hover { color: var(--accent-strong); }

.faq__q .icon {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: .25em;
  color: var(--ink-400);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}

.faq__q:hover .icon { color: var(--accent-strong); }

.faq__item[open] > .faq__q .icon { transform: rotate(180deg); }

.faq__item[open] > .faq__q { color: var(--ink-900); }

.faq__a {
  padding: 0 0 var(--sp-m);
  max-width: var(--measure);
  color: var(--ink-700);
}

/* ── 14  Contact ─────────────────────────────────────────────────────────── */

.contact-layout {
  display: grid;
  gap: var(--sp-xl);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

@media (min-width: 62em) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: var(--sp-2xl);
  }
}

.contact-details > * + * { margin-top: var(--sp-m); }

.detail {
  padding-top: var(--sp-s);
  border-top: var(--hairline) solid var(--line);
}

.detail__label {
  display: flex;
  align-items: center;
  gap: var(--sp-2xs);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--ink-400);
}

.detail__label .icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--accent-strong);
}

.detail__value {
  margin-top: var(--sp-3xs);
  font-size: var(--step-1);
  line-height: 1.45;
}

.detail__value a {
  color: var(--ink-900);
  text-decoration: none;
  border-bottom: 1px solid var(--paper-300);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.detail__value a:hover {
  color: var(--accent-strong);
  border-bottom-color: currentColor;
}

.detail__value .icon { width: 1rem; height: 1rem; display: inline-block; vertical-align: -.15em; }

.detail__value > span { display: block; }

.detail__value small {
  display: inline-block;
  margin-top: var(--sp-2xs);
  font-size: var(--step--1);
}

/* Form */

.form {
  padding: var(--sp-m) var(--sp-s);
  background: #FFFFFF;
  border: var(--hairline) solid var(--paper-300);
}

@media (min-width: 34em) {
  .form { padding: var(--sp-l); }
}

@media (min-width: 62em) {
  .form { padding: var(--sp-xl); }
}

.form > * + * { margin-top: var(--sp-m); }

.form__grid {
  display: grid;
  gap: var(--sp-m);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 34em) {
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.field { display: block; min-width: 0; }

.field--wide { grid-column: 1 / -1; }

.field__label {
  display: block;
  margin-bottom: var(--sp-3xs);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-800);
}

.field__req { color: var(--magenta-600); margin-left: .15em; }

.field__hint,
.field__error {
  margin-top: var(--sp-3xs);
  font-size: var(--step--1);
  line-height: 1.45;
}

.field__hint { color: var(--ink-400); }

.field__error { color: var(--magenta-600); font-weight: 600; }

.field__error[hidden] { display: none; }

.input,
.textarea,
.select {
  display: block;
  width: 100%;
  padding: .6875rem .75rem;
  background: var(--paper-50);
  border: var(--hairline) solid var(--paper-300);
  border-radius: var(--radius-1);
  color: var(--ink-900);
  font-size: var(--step-0);
  line-height: 1.5;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.input:hover,
.textarea:hover,
.select:hover { border-color: var(--ink-300); }

.input:focus,
.textarea:focus,
.select:focus {
  background: #FFFFFF;
  border-color: var(--ink-600);
}

.input::placeholder,
.textarea::placeholder { color: var(--ink-400); opacity: 1; }

.textarea {
  min-height: 10rem;
  resize: vertical;
}

.select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C3038' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .625rem center;
  background-size: 1.125rem 1.125rem;
}

/* Artwork picker: the native control, only restyled. A custom widget would cost
   accessibility and keyboard support. */
.input--file {
  padding: .5rem;
  background: var(--paper-100);
  font-size: var(--step--1);
  cursor: pointer;
}

.input--file::file-selector-button {
  margin-right: var(--sp-xs);
  padding: .4375rem .875rem;
  border: var(--hairline) solid var(--ink-900);
  border-radius: var(--radius-1);
  background: var(--surface);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.input--file::file-selector-button:hover {
  background: var(--ink-900);
  color: var(--paper-50);
}

.field--error .input,
.field--error .textarea,
.field--error .select { border-color: var(--magenta-600); background: #FFF; }

.field--error .field__label { color: var(--magenta-600); }

.consent {
  display: flex;
  /* Required: the error message uses `flex: 1 0 100%` to take its own line below
     the checkbox and label. Without wrapping it has nowhere to go and stretches
     the row far past the box. */
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--sp-xs);
  padding: var(--sp-s);
  background: var(--paper-100);
  border: var(--hairline) solid var(--paper-200);
  border-radius: var(--radius-1);
}

.consent.field--error { border-color: var(--magenta-600); }

.consent__box {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: .15rem 0 0;
  accent-color: var(--cyan-600);
  cursor: pointer;
}

.consent label {
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--ink-700);
  cursor: pointer;
}

.consent a { color: var(--accent-strong); }

/* Own line under the consent text. min-width:0 lets a long message wrap instead
   of stretching the row. */
.consent .field__error {
  flex: 1 0 100%;
  min-width: 0;
  margin-top: var(--sp-2xs);
}

/* Basis 0, not auto. When wrapping, flexbox decides using the base size; with
   `auto` that is the full unbroken consent text, so the label would always drop
   below the checkbox. With 0 it stays beside it and grows to fit. */
.consent label { flex: 1 1 0; min-width: 0; }

/* ── Cookie consent bar ───────────────────────────────────────────────────
   A bar at the bottom rather than a full-page overlay, so the content stays
   readable. Both buttons are the same size: refusing must be as easy as
   accepting, which is a legal requirement rather than a matter of taste. */

.consent-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 130;
  background: var(--ink-900);
  color: var(--paper-100);
  border-top: 3px solid var(--accent);
  box-shadow: 0 -6px 24px rgb(11 12 15 / .22);
}

.consent-bar[hidden] { display: none; }

.consent-bar__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-s);
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--sp-m) var(--gutter);
}

@media (min-width: 52em) {
  .consent-bar__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-xl);
  }
}

.consent-bar__text { min-width: 0; }

.consent-bar__title {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 700;
  letter-spacing: -.01em;
}

.consent-bar__body {
  margin-top: var(--sp-3xs);
  max-width: 68ch;
  color: var(--ink-300);
  font-size: var(--step--1);
  line-height: 1.55;
}

.consent-bar__body a { color: var(--paper-50); text-underline-offset: 2px; }
.consent-bar__body a:hover { color: var(--cyan-500); }

.consent-bar__error {
  margin-top: var(--sp-2xs);
  color: var(--yellow-400);
  font-size: var(--step--1);
  font-weight: 600;
}

.consent-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2xs);
  flex: none;
}

/* Equal width, so neither choice is visually easier than the other. */
.consent-bar__btn { flex: 1 1 auto; min-width: 10rem; justify-content: center; }

@media (min-width: 52em) {
  .consent-bar__btn { flex: 0 0 auto; }
}

.consent-bar .btn--ghost { --btn-fg: var(--paper-50); --btn-line: var(--ink-400); }
.consent-bar .btn--ghost:hover { --btn-bg: var(--paper-50); --btn-fg: var(--ink-900); --btn-line: var(--paper-50); }

/* The bar would cover the footer, so reserve space while it is shown. */
.has-consent-bar .site-footer { padding-bottom: calc(var(--sp-4xl) + var(--sp-l)); }

@media (min-width: 52em) {
  .has-consent-bar .site-footer { padding-bottom: calc(var(--sp-2xl) + var(--sp-xl)); }
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  padding: var(--sp-s) var(--sp-m);
  background: var(--surface);
  border: var(--hairline) solid var(--line);
  border-left: 3px solid var(--ink-900);
  border-radius: 0;
}

.alert > * + * { margin-top: var(--sp-3xs); }

.alert h2,
.alert h3 {
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

.alert p { color: var(--ink-700); }

.alert--ok { border-left-color: var(--cyan-600); background: var(--cyan-100); }
.alert--ok h2, .alert--ok h3 { color: var(--cyan-600); }
.alert--ok p { color: var(--ink-800); }

.alert--error { border-left-color: var(--magenta-600); background: #FFF; }
.alert--error h2, .alert--error h3 { color: var(--magenta-600); }

.alert ul { margin-top: var(--sp-2xs); }

.alert li { position: relative; padding-left: 1rem; }

.alert li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .3rem;
  height: .3rem;
  background: currentColor;
}

/* ── 15  Gallery & lightbox ──────────────────────────────────────────────── */

.gallery {
  display: grid;
  gap: var(--sp-s);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
}

@media (min-width: 62em) {
  .gallery { gap: var(--sp-m); }
}

.gallery__item {
  position: relative;
  min-width: 0;
}

.gallery__item > a {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--paper-200);
  border: var(--hairline) solid var(--line);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.gallery__item > a:hover {
  border-color: var(--ink-900);
  transform: translateY(-2px);
}

.gallery__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  transition: transform var(--dur-slow) var(--ease);
}

.gallery__item > a:hover .gallery__img { transform: scale(1.02); }

.gallery__caption {
  margin-top: var(--sp-2xs);
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--ink-400);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: auto 1fr auto;
  place-items: center;
  gap: var(--sp-s);
  padding: var(--sp-m) var(--sp-s);
  background: rgb(11 12 15 / .95);
  color: var(--paper-50);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.lightbox[hidden] { display: none; }

.lightbox--open { opacity: 1; }

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  background: transparent;
  border: var(--hairline) solid var(--ink-600);
  border-radius: var(--radius-1);
  color: var(--paper-50);
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--paper-50);
  border-color: var(--paper-50);
  color: var(--ink-900);
}

.lightbox__close { grid-row: 1; justify-self: end; }

.lightbox__figure {
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-s);
  min-height: 0;
  max-width: 100%;
  margin: 0;
}

.lightbox__img {
  max-width: 100%;
  max-height: 68vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: var(--ink-800);
}

.lightbox__figure figcaption {
  max-width: 60ch;
  text-align: center;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--ink-300);
}

.lightbox__figure figcaption span { display: block; }

.lightbox__figure figcaption span:empty { display: none; }

.lightbox__prev,
.lightbox__next { grid-row: 3; }

.lightbox__prev { justify-self: start; }
.lightbox__next { justify-self: end; }

@media (min-width: 48em) {
  .lightbox {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(0, 1fr);
    padding: var(--sp-l);
  }
  .lightbox__close { grid-column: 3; grid-row: 1; }
  .lightbox__prev { grid-column: 1; grid-row: 2; justify-self: start; }
  .lightbox__figure { grid-column: 2; grid-row: 2; }
  .lightbox__next { grid-column: 3; grid-row: 2; justify-self: end; }
  .lightbox__img { max-height: 74vh; }
}

/* ── 16  Error page ──────────────────────────────────────────────────────── */

.error-page {
  padding-block: var(--sp-2xl) var(--sp-3xl);
  text-align: left;
}

@media (min-width: 48em) {
  .error-page { padding-block: var(--sp-3xl) var(--sp-4xl); }
}

.error-page .eyebrow {
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  text-transform: none;
  color: var(--ink-900);
}

.error-page .eyebrow::before {
  width: 1.25rem;
  height: 1.25rem;
  align-self: center;
}

.error-page h1 { margin-top: var(--sp-m); }
.error-page p { margin-top: var(--sp-s); max-width: 52ch; color: var(--ink-700); font-size: var(--step-1); }
.error-page .btn-row { margin-top: var(--sp-l); }

/* ── 17  Utilities ───────────────────────────────────────────────────────── */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.nowrap { white-space: nowrap; }

/* ── 18  Reveal on scroll ────────────────────────────────────────────────── */

/* Hidden only when JavaScript is running — without it everything is visible. */
html:not(.no-js) [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
}

html:not(.no-js) [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.checklist__item:nth-child(2) { transition-delay: 50ms; }
.checklist__item:nth-child(3) { transition-delay: 100ms; }
.checklist__item:nth-child(4) { transition-delay: 150ms; }
.checklist__item:nth-child(5) { transition-delay: 200ms; }
.checklist__item:nth-child(6) { transition-delay: 250ms; }
.checklist__item:nth-child(7) { transition-delay: 300ms; }
.checklist__item:nth-child(8) { transition-delay: 350ms; }

.tech-card:nth-child(2) { transition-delay: 90ms; }
.tech-card:nth-child(3) { transition-delay: 180ms; }
.tech-card:nth-child(4) { transition-delay: 270ms; }

.gallery__item:nth-child(2) { transition-delay: 40ms; }
.gallery__item:nth-child(3) { transition-delay: 80ms; }
.gallery__item:nth-child(4) { transition-delay: 120ms; }
.gallery__item:nth-child(5) { transition-delay: 160ms; }
.gallery__item:nth-child(6) { transition-delay: 200ms; }

/* ── 19  Reduced motion ──────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  html:not(.no-js) [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .btn:hover,
  .tech-card:hover,
  .gallery__item > a:hover,
  .social__link:hover { transform: none; }

  .brand:hover .brand__mark { transform: none; }
  .gallery__item > a:hover .gallery__img { transform: none; }
}

/* ── 20  Print ───────────────────────────────────────────────────────────── */

@media print {
  :root { --bg: #FFF; --fg: #000; }

  body { background: #FFF; color: #000; font-size: 11pt; }

  .site-header,
  .nav,
  .nav-toggle,
  .lang-switch,
  .skip-link,
  .lightbox,
  .hero__deco,
  .cta-band,
  .btn-row,
  .social { display: none !important; }

  .section,
  .hero { padding-block: 1.5rem; background: #FFF !important; color: #000 !important; }

  .section--ink,
  .site-footer { background: #FFF !important; color: #000 !important; }

  .tech-card,
  .form { border: 1px solid #999; }

  a { text-decoration: underline; }

  .faq__item > .faq__a { display: block !important; }
}
