/* ===== src/css/tokens.css ===== */
/* ==========================================================================
   Design tokens — Copperplate (Cobalt)
   Two grounds. Components read only the semantic tokens; the ground sets them.
   ========================================================================== */
:root {
  /* raw palette */
  --paper: #F1EDE6;
  --paper-2: #E8E3DA;
  --paper-surface: #FAF8F4;
  --slate: #1B2229;
  --slate-2: #222B33;
  --slate-surface: #2A343E;
  --ink: #1C1815;
  --ink-soft: #5A5048;
  --paper-text: #F1ECE4;
  --taupe: #C0B2A2;
  --cobalt: #2447C9;
  --cobalt-bright: #8FB0FF;
  --cobalt-ink: #0F1730;

  /* semantic (paper is the root default) */
  --bg: var(--paper);
  --bg-2: var(--paper-2);
  --surface: var(--paper-surface);
  --text: var(--ink);
  --text-2: var(--ink-soft);
  --line: rgba(28, 24, 21, 0.14);
  --line-strong: rgba(28, 24, 21, 0.3);
  --grid: transparent;
  --accent: var(--cobalt);
  --on-accent: #FFFFFF;
  --accent-dim: rgba(36, 71, 201, 0.12);
  --focus: var(--cobalt);
  --danger: #B92E1B;

  /* type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', Menlo, monospace;
  --w-display: 600;
  --size-d1: clamp(2.75rem, 7vw, 5.5rem);
  --size-d2: clamp(2rem, 4.4vw, 3.5rem);
  --size-d3: clamp(1.5rem, 2.8vw, 2.125rem);
  --size-d4: 1.375rem;
  --size-lg: 1.125rem;
  --size-md: 1rem;
  --size-sm: 0.9rem;
  --size-label: 0.6875rem;
  --size-data: 0.75rem;
  --track-display: -0.015em;
  --track-label: 0.08em;
  --measure: 65ch;

  /* elevation */
  --shadow-pop: 0 20px 40px rgba(0, 0, 0, 0.28);
  --shadow-lift: 0 -8px 30px rgba(0, 0, 0, 0.25);

  /* space and shape */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2.5rem;
  --s7: 4rem;
  --s8: 6rem;
  --s9: 8rem;
  --chapter-y: clamp(4rem, 9vw, 8rem);
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 68px;
  --r-pill: 999px;
  --r-tile: 22px;
  --r-card: 14px;
  --r-input: 10px;

  /* motion and layers */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.6s;
  --dur-fast: 0.2s;
  --z-header: 100;
  --z-menu: 110;
}

[data-ground="paper"] {
  --bg: var(--paper);
  --bg-2: var(--paper-2);
  --surface: var(--paper-surface);
  --text: var(--ink);
  --text-2: var(--ink-soft);
  --line: rgba(28, 24, 21, 0.14);
  --line-strong: rgba(28, 24, 21, 0.3);
  --grid: transparent;
  --accent: var(--cobalt);
  --on-accent: #FFFFFF;
  --accent-dim: rgba(36, 71, 201, 0.12);
  --focus: var(--cobalt);
}

[data-ground="slate"] {
  --bg: var(--slate);
  --bg-2: var(--slate-2);
  --surface: var(--slate-surface);
  --text: var(--paper-text);
  --text-2: var(--taupe);
  --line: rgba(241, 236, 228, 0.14);
  --line-strong: rgba(241, 236, 228, 0.3);
  --grid: rgba(241, 236, 228, 0.055);
  --accent: var(--cobalt-bright);
  --on-accent: var(--cobalt-ink);
  --accent-dim: rgba(143, 176, 255, 0.14);
  --focus: var(--cobalt-bright);
  --danger: #FF8A70;
}

/* ===== src/css/base.css ===== */
/* ==========================================================================
   Base — reset, grounds, type utilities, focus, reveal states
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--size-md);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas, video { max-width: 100%; display: block; }
img { height: auto; }
/* <picture> is a wrapper, not a box: the <img> stays the layout child of the parent. */
picture { display: contents; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 200; padding: var(--s2) var(--s4); background: var(--accent); color: var(--on-accent); border-radius: var(--r-pill); font-weight: 600; }
.skip:focus { top: var(--s4); }

/* type utilities */
.display {
  font-family: var(--font-display);
  font-weight: var(--w-display);
  font-optical-sizing: auto;
  letter-spacing: var(--track-display);
  line-height: 1.02;
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--accent); }
.label {
  font-family: var(--font-mono);
  font-size: var(--size-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 500;
}
.data { font-family: var(--font-mono); font-size: var(--size-data); font-variant-numeric: tabular-nums; }
.lede { font-size: var(--size-lg); color: var(--text-2); max-width: 56ch; }
.prose > * + * { margin-top: var(--s4); }
.prose p { max-width: var(--measure); }
.prose h2, .prose h3 { max-width: 24ch; }
.prose ul { display: grid; gap: var(--s2); padding-left: 1.2em; list-style: disc; max-width: var(--measure); }

/* reveal on scroll (JS-gated: no-JS visitors see everything) */
html.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ===== src/css/components.css ===== */
/* ==========================================================================
   Components — BEM. Values come from tokens.css only.
   ========================================================================== */

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); height: var(--header-h); }
.header__logo { font-size: 1.25rem; letter-spacing: -0.01em; }
.header__logo-accent { color: var(--accent); }
.header__nav { display: none; align-items: center; gap: var(--s5); }
.header__link {
  font-size: var(--size-sm);
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  list-style: none;
  transition: color var(--dur-fast);
}
.header__link:hover, .header__link[aria-current="page"] { color: var(--text); }
a.header__cta { display: none; }
.header__burger { display: grid; gap: 5px; width: 40px; height: 40px; place-content: center; }
.header__burger i { display: block; width: 20px; height: 2px; background: currentColor; transition: transform var(--dur-fast); }
.header__burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.header__burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (min-width: 900px) {
  .header__nav { display: flex; }
  a.header__cta { display: inline-flex; }
  .header__burger { display: none; }
}

/* --- Services dropdown (details/summary) --- */
.nav-dd { position: relative; }
.nav-dd summary::-webkit-details-marker { display: none; }
.nav-dd summary::marker { content: ''; }
.nav-dd__list {
  position: absolute;
  top: calc(100% + 14px);
  left: -12px;
  min-width: 300px;
  padding: var(--s2);
  display: grid;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-pop);
}
.nav-dd__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  gap: var(--s3);
  padding: var(--s3);
  border-radius: 8px;
  font-size: var(--size-sm);
  font-weight: 500;
}
.nav-dd__item:hover { background: var(--accent-dim); }
.nav-dd__item--all { grid-template-columns: 1fr; color: var(--accent); border-top: 1px solid var(--line); border-radius: 0; margin-top: var(--s2); padding-top: var(--s3); }

/* --- Mobile menu --- */
.menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: var(--z-menu);
  background: var(--bg);
  color: var(--text);
  padding: var(--s6) var(--gutter);
  overflow-y: auto;
}
.menu__list { display: grid; gap: var(--s3); }
.menu__list a { font-family: var(--font-display); font-weight: var(--w-display); font-size: 2rem; line-height: 1.1; }
.menu__sub a { font-family: var(--font-body); font-weight: 500; font-size: 1.05rem; color: var(--text-2); padding-left: var(--s4); }
body.menu-open { overflow: hidden; }

/* --- Footer --- */
.footer { border-top: 1px solid var(--line); background: var(--bg); color: var(--text); padding-block: var(--s7) var(--s6); }
.footer__grid { display: grid; gap: var(--s6) var(--s5); grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; }
.footer__tag { color: var(--text-2); margin-top: var(--s2); max-width: 32ch; }
.footer__col h2 { margin-bottom: var(--s3); }
.footer__col ul { display: grid; gap: var(--s2); font-size: var(--size-sm); }
.footer__col a:hover { color: var(--accent); }
.footer__legal {
  margin-top: var(--s7);
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s5);
  color: var(--text-2);
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
  .footer__brand { grid-column: auto; }
}

/* --- Statements, buttons, links --- */
.statement { font-size: var(--size-d2); max-width: 18ch; }
.statement--left { text-align: left; margin-top: var(--s3); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.8rem 1.35rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--size-sm);
  line-height: 1;
  border: 1px solid transparent;
  transition: filter var(--dur-fast), transform var(--dur-fast);
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { filter: brightness(0.94); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.8125rem; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.textlink {
  font-weight: 500;
  color: var(--accent);
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--dur-fast);
}
.textlink:hover { background-size: 100% 1px; }
.chapter__more { margin-top: var(--s5); text-align: center; }

/* --- Corner metadata --- */
.meta { display: flex; justify-content: space-between; gap: var(--s4); }
.meta__item { display: grid; gap: 3px; }
.meta__item--end { text-align: right; }
.meta__item b { font-weight: 500; color: var(--text); }
.meta__item a:hover { color: var(--accent); }

/* --- Specimen rows --- */
.rows { border-top: 1px solid var(--line); margin-top: var(--s6); }
.row { display: grid; gap: var(--s2); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.row__label { display: flex; align-items: center; gap: var(--s2); }
.row__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.row__name { font-size: var(--size-d3); }
.row__desc { color: var(--text-2); max-width: 46ch; font-size: var(--size-sm); }
@media (min-width: 768px) {
  .row { grid-template-columns: 110px minmax(0, 1.1fr) minmax(0, 1.6fr) auto; gap: var(--s4) var(--s5); align-items: baseline; }
}

/* --- Product tiles --- */
.tiles { display: grid; gap: var(--s4); margin-top: var(--s6); }
.tile {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  overflow: hidden;
  min-height: 340px;
  transition: transform var(--dur-fast);
}
.tile:hover { transform: translateY(-2px); }
.tile__body { padding: var(--s5) var(--s5) 0; text-align: center; display: grid; gap: var(--s2); justify-items: center; }
.tile__title { font-size: var(--size-d3); }
.tile__pitch { color: var(--text-2); font-size: var(--size-sm); max-width: 34ch; }
.tile__tags { justify-content: center; margin-top: var(--s1); }
.tile__links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s4); font-size: 0.85rem; margin-top: var(--s1); }
.tile__art {
  margin: var(--s4) var(--s5) 0;
  border-radius: 14px 14px 0 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: linear-gradient(180deg, var(--accent-dim), transparent);
  min-height: 150px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.tile__shot { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tile__art--phone { align-items: end; }
.tile__art--phone .tile__shot { width: 46%; height: auto; margin-top: var(--s4); border-radius: 18px 18px 0 0; box-shadow: var(--shadow-lift); }
.tile__glyph { font-size: 3rem; color: var(--accent); opacity: 0.7; }
@media (min-width: 768px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --- Cards (engagement models, packages) --- */
.cards { display: grid; gap: var(--s4); margin-top: var(--s6); }
.card {
  display: grid;
  gap: var(--s3);
  align-content: start;
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.card__title { font-size: var(--size-d4); }
.card p { color: var(--text-2); font-size: var(--size-sm); }
.card .textlink { margin-top: auto; font-size: var(--size-sm); }
.card .data { color: var(--accent); }
@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) { .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* --- Timeline --- */
.timeline { display: grid; border-top: 1px solid var(--line); }
.timeline__item { display: grid; grid-template-columns: 96px 1fr; gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--line); font-size: var(--size-sm); }
.timeline__item b { display: block; font-weight: 600; }
.timeline__item small { display: block; color: var(--text-2); }

/* --- Points (2-up facts) --- */
.points { display: grid; gap: var(--s4); margin-top: var(--s6); }
.point { display: grid; gap: var(--s2); padding-top: var(--s4); border-top: 1px solid var(--line); }
.point b { font-weight: 600; }
.point p { color: var(--text-2); font-size: var(--size-sm); }
@media (min-width: 768px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s6); } }

/* --- Pills, crumbs, chips --- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: var(--size-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pill--live { background: var(--accent-dim); color: var(--accent); }
.pill--soon { background: var(--surface); color: var(--text-2); border: 1px solid var(--line); }
.crumb { display: flex; flex-wrap: wrap; gap: var(--s2); }
.crumb a:hover { color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { font-family: var(--font-mono); font-size: var(--size-data); padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--text-2); }

/* --- Process (a real sequence, so numbered) --- */
.process { counter-reset: step; display: grid; gap: var(--s4); margin-top: var(--s6); }
.process__step { counter-increment: step; display: grid; gap: var(--s2); padding-top: var(--s4); border-top: 1px solid var(--line); }
.process__step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--size-data); color: var(--accent); }
.process__step b { font-family: var(--font-display); font-weight: var(--w-display); font-size: var(--size-d4); }
.process__step p { color: var(--text-2); font-size: var(--size-sm); }
@media (min-width: 768px) { .process { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* --- FAQ --- */
.faq { display: grid; margin-top: var(--s6); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: var(--s4) 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: var(--s4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-mono); color: var(--accent); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding-bottom: var(--s4); color: var(--text-2); max-width: var(--measure); }

/* --- Frames and diagrams --- */
.frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.frame img { width: 100%; }
.diagram { display: grid; gap: var(--s3); margin-top: var(--s6); }
.diagram svg { width: 100%; height: auto; font-family: var(--font-mono); font-size: 11px; color: var(--text); }
.diagram figcaption { color: var(--text-2); font-size: var(--size-sm); }

/* --- Diagram primitives (inline SVG) --- */
.diagram .dg-box { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1; }
.diagram .dg-box--accent { stroke: var(--accent); }
.diagram .dg-title { fill: currentColor; font-family: var(--font-body); font-size: 13px; font-weight: 600; }
.diagram .dg-sub { fill: var(--text-2); font-size: 10.5px; }
.diagram .dg-line { stroke: var(--accent); stroke-width: 1.5; fill: none; }
.diagram .dg-dash { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 4 4; fill: none; }
.diagram .dg-arrow { fill: var(--accent); }
.diagram .dg-note { fill: var(--text-2); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; }

/* --- Form --- */
.form { display: grid; gap: var(--s5); }
.form__grid { display: grid; gap: var(--s4); }
.field { display: grid; gap: var(--s2); }
.field__label { font-weight: 500; font-size: var(--size-sm); }
.field__opt { color: var(--text-2); font-weight: 400; margin-left: var(--s1); }
.field__input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: var(--r-input);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--dur-fast);
}
.field__input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.field__input[aria-invalid="true"] { border-color: var(--danger); }
textarea.field__input { resize: vertical; min-height: 9rem; }
.field__error { color: var(--danger); font-size: var(--size-sm); min-height: 1.2em; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: var(--s3); }
.field--check input { margin-top: 0.35em; width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }
.field--check label { font-size: var(--size-sm); color: var(--text-2); }
.field--check .field__error { grid-column: 1 / -1; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { color: var(--danger); font-size: var(--size-sm); min-height: 1.2em; }
.form__submit { justify-self: start; }
.form__success { display: grid; gap: var(--s3); padding: var(--s6); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
@media (min-width: 640px) {
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--wide { grid-column: 1 / -1; }
}

/* ===== src/css/layouts.css ===== */
/* ==========================================================================
   Layouts — container, chapters, grids, breakpoints (640 / 768 / 1024 / 1280)
   ========================================================================== */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.chapter { background: var(--bg); color: var(--text); padding-block: var(--chapter-y); position: relative; }
.chapter--grid {
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}
.chapter--tight { padding-block: var(--s7); }
.chapter__head { text-align: center; display: grid; gap: var(--s4); justify-items: center; }
.chapter__head .lede { text-align: center; }

.grid-2, .grid-3 { display: grid; gap: var(--s5); }
.split { display: grid; gap: var(--s6); align-items: start; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s8); }
}

/* ===== src/css/pages.css ===== */
/* ==========================================================================
   Page-specific rules — hero, case study, about, contact
   ========================================================================== */

/* --- Home hero --- */
.hero { padding-top: var(--s6); }
.hero__body { display: grid; gap: var(--s5); justify-items: center; text-align: center; padding-block: clamp(2rem, 5vw, 4rem) var(--s5); }
.hero__title { font-size: var(--size-d1); max-width: 14ch; line-height: 0.98; }
.hero__lede { text-align: center; max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s4); }
.hero__cast { width: 100%; max-width: 760px; height: clamp(160px, 26vw, 280px); }
.founder__summary { margin-top: var(--s4); }
.founder__more { margin-top: var(--s4); }

/* --- Services --- */
.chapter__head--spaced { margin-top: var(--s8); }
.practice { display: grid; gap: var(--s5); }
.practice__head { display: grid; gap: var(--s3); }
.practice__name { font-size: var(--size-d2); }
.practice__cols { display: grid; gap: var(--s5); }
.practice__cols h3 { margin-bottom: var(--s3); }
.practice__cols ul { display: grid; gap: var(--s2); color: var(--text-2); font-size: var(--size-sm); }
.practice__cols li { padding-left: 1.1em; position: relative; }
.practice__cols li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (min-width: 768px) { .practice__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .practice { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s8); align-items: start; } }
.page-hero { padding-top: var(--s6); }
.page-hero__title { font-size: var(--size-d1); max-width: 12ch; margin-top: var(--s4); }
.page-hero__lede { margin-top: var(--s4); }
.page-hero__cta { margin-top: var(--s5); }
.page-hero__art { margin-top: var(--s6); }
.page-hero__art img { border-radius: var(--r-card); }
.proof { display: grid; gap: var(--s6); align-items: start; }
.proof__lede { margin-top: var(--s4); }
.proof .tiles { margin-top: 0; }
@media (min-width: 1024px) { .proof { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); } }
.stack { margin-top: var(--s6); justify-content: center; }

/* --- Products index rows --- */
.row__meta { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; font-size: var(--size-sm); }

/* --- Case study --- */
.facts { display: grid; gap: var(--s4); margin-top: var(--s6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts__item { display: grid; gap: 4px; padding-top: var(--s3); border-top: 1px solid var(--line); }
.facts__item dd { color: var(--text); }
.facts--big .facts__value { font-size: var(--size-d2); color: var(--accent); }
.facts__item small { color: var(--text-2); font-size: var(--size-sm); }
.gallery { display: grid; gap: var(--s4); margin-top: var(--s6); }
@media (min-width: 768px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- About --- */
.founder { display: grid; gap: var(--s6); }
.founder__aside { display: grid; gap: var(--s3); align-content: start; }
.founder__photo { width: 100%; max-width: 320px; border-radius: var(--r-card); border: 1px solid var(--line); }
.founder__name { font-size: var(--size-d3); }
.founder__title { color: var(--text-2); }
.founder__bio { margin-top: var(--s5); }
.founder__timeline { margin-top: var(--s6); }
.founder__skills { margin-top: var(--s5); }
.points--3 { gap: var(--s5); }
@media (min-width: 768px) { .points--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .founder { grid-template-columns: 300px minmax(0, 1fr); gap: var(--s8); } }

/* --- Contact --- */
.contact { display: grid; gap: var(--s7); }
.contact__privacy { margin-top: var(--s5); color: var(--text-2); font-size: var(--size-sm); max-width: var(--measure); }
.contact__privacy .label { display: block; margin-bottom: var(--s1); }
.contact__aside { display: grid; gap: var(--s5); align-content: start; }
.contact__block { display: grid; gap: var(--s2); padding-top: var(--s4); border-top: 1px solid var(--line); font-size: var(--size-sm); }
.contact__steps { list-style: decimal; padding-left: 1.2em; display: grid; gap: var(--s2); color: var(--text-2); }
@media (min-width: 1024px) { .contact { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s8); } }
