/* ============================================================
   STUDIO KLAP — D4 "Brutal" master
   Contract: ../DESIGN-SYSTEM.md — deviations logged in NOTES at
   the bottom of this file.
   ============================================================ */

/* ---------- §1 Fonts (self-hosted, no CDN) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wdth-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("fonts/space-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("fonts/space-mono-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- §3 §5 §6 Tokens ---------- */
:root {
  --paper: #F2F0E9;
  --paper-2: #E5E2D8;
  --ink: #111110;
  --accent: #FF4D00;

  --bw-1: 1.5px;
  --bw-2: 2px;
  --bw-3: 3px;

  --shadow-1: 3px 3px 0 var(--ink);
  --shadow-2: 6px 6px 0 var(--ink);
  --shadow-3: 10px 10px 0 var(--ink);

  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2.5rem;
  --s6: 4rem;
  --s7: 6rem;
  --s8: 9rem;

  --font-sans: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --wrap: 80rem;
  --gutter: 1.5rem;
  --margin: 2rem;

  --t-hover: 120ms ease-out;
  --t-press: 70ms linear;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;      /* body token */
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }

/* §8.3 link hover: underline snaps 2px -> 4px, no draw animation */
.link {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.link:hover { text-decoration-thickness: 4px; }

/* ---------- §2 Type scale ---------- */
.display-1 {
  font-family: var(--font-sans);
  font-size: clamp(3.75rem, 11.5vw, 10.5rem);
  line-height: 0.92;
  font-weight: 830;
  font-stretch: 122%;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.display-2 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 0.98;
  font-weight: 800;
  font-stretch: 122%;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
/* Mobile display-type clamp (§2/§9.4): at ≤26rem the 2.5rem floor forces long
   display-2 headings to 5 lines ("WORK WE TAKE. PRICES WE KEEP.") and shoves
   the fold CTA down. Drop the mobile floor to 8vw so the widest word still
   fits and long heads land in ≤4 lines. See NOTES 6. */
@media (max-width: 26rem) {
  .display-2 { font-size: clamp(1.9rem, 8vw, 2.5rem); }
}
.title {
  font-size: clamp(1.625rem, 2.4vw, 2.125rem);
  line-height: 1.1;
  font-weight: 700;
  font-stretch: 110%;
}
.price-xl {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  font-weight: 700;
}
.lede {
  font-size: 1.1875rem;
  line-height: 1.55;
  max-width: 36em;
}
.small { font-size: 0.875rem; line-height: 1.5; }
.mono-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.4;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

p { max-width: 36em; }

/* ---------- §10 Skip link: bordered ink chip ---------- */
.skip-link {
  position: fixed;
  top: var(--s3);
  left: var(--s3);
  z-index: 200;
  transform: translateY(-250%);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: var(--s2) var(--s3);
  border: var(--bw-2) solid var(--ink);
  transition: transform var(--t-hover);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- §10.3 Focus visibility ---------- */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
.site-footer :focus-visible,
.mobile-menu :focus-visible,
.skip-link:focus-visible {
  outline-color: var(--paper);
}

/* Nav focus = INVERT (TRENDS "thicken/invert" — brutalist signature, not a thin box).
   Link flips to an ink chip; ring stays as the outer marker. See NOTES 4. */
.nav-links a:focus-visible,
.nav-phone:focus-visible,
.wordmark:focus-visible {
  outline: var(--bw-3) solid var(--ink);
  outline-offset: 2px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.mobile-menu-links a:focus-visible,
.mobile-menu-phone:focus-visible,
.mobile-menu .wordmark:focus-visible {
  background: var(--paper);
  color: var(--ink);
  outline-color: var(--paper);
}

/* ---------- §4 Layout primitives ---------- */
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--margin);
}
@media (max-width: 47.9375rem) {
  .wrap { padding-inline: 1rem; }
}

/* Sections separated by full-bleed 2px ink rules */
.section {
  border-top: var(--bw-2) solid var(--ink);
  padding-block: var(--s6);
}
@media (min-width: 48rem) {
  .section { padding-block: var(--s7); }
}
.section--band { background: var(--paper-2); }

/* Section header: mono number + label left, rule to the edge */
.section-head {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s5);
}
.section-head .rule {
  flex: 1;
  height: 0;
  border-top: var(--bw-1) solid var(--ink);
}

/* ---------- §7 Nav ---------- */
.site-header {
  background: var(--paper);
  border-bottom: var(--bw-2) solid var(--ink);
  position: relative;
  z-index: 100;
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: var(--s4);
  min-height: 4.25rem;
}
.wordmark {
  font-weight: 800;
  font-stretch: 122%;
  font-size: 1.375rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}
.nav-links a:hover {
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 4px;
}
.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.nav-phone {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.nav-phone:hover { text-decoration: underline; text-decoration-thickness: 4px; }

.nav-toggle { display: none; }

@media (max-width: 47.9375rem) {
  .nav-links, .nav-bar a.nav-cta { display: none; }
  .nav-bar { gap: var(--s2); }
  .wordmark { font-size: 1.0625rem; }
  .nav-phone { font-size: 0.75rem; letter-spacing: 0; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    background: var(--paper);
    color: var(--ink);
    border: var(--bw-2) solid var(--ink);
    box-shadow: var(--shadow-1);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: var(--s2);
    min-height: 44px;
    cursor: pointer;
    transition: transform var(--t-hover), box-shadow var(--t-hover);
  }
  .nav-toggle:active {
    transform: translate(3px, 3px);
    box-shadow: 0 0 0 var(--ink);
    transition-duration: 70ms;
    transition-timing-function: linear;
  }
}

/* Mobile menu: full-screen paper overlay, display-2 links */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--ink);
  color: var(--paper);
  padding: var(--s3) 1rem var(--s6);
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  border-bottom: var(--bw-2) solid var(--paper);
  margin-bottom: var(--s4);
}
.mobile-menu .wordmark { color: var(--paper); }
.menu-close {
  background: var(--ink);
  color: var(--paper);
  border: var(--bw-2) solid var(--paper);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--s2) var(--s3);
  min-height: 44px;
  cursor: pointer;
}
.mobile-menu-links { list-style: none; margin: 0; padding: 0; }
.mobile-menu-links li { border-bottom: var(--bw-1) solid var(--paper); }
.mobile-menu-links a {
  display: block;
  color: var(--paper);
  text-decoration: none;
  font-size: clamp(2.5rem, 9vw, 4.5rem);
  line-height: 0.98;
  font-weight: 800;
  font-stretch: 122%;
  text-transform: uppercase;
  padding: var(--s3) 0;
}
.mobile-menu-phone {
  display: inline-block;
  margin-top: var(--s5);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

body.menu-open { overflow: hidden; }

/* ---------- §7 Buttons — the only two ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  min-height: 44px;
  padding: var(--s2) var(--s4);
  border: var(--bw-2) solid var(--ink);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: transform var(--t-hover), box-shadow var(--t-hover);
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-secondary { background: var(--paper); color: var(--ink); }
.btn-lg { min-height: 52px; padding: var(--s3) var(--s5); font-size: 0.875rem; }

/* §8.1 hover lift: -2px + shadow one step up (3 -> 6) */
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}
/* §8.2 active press: element pushes into the page, shadow collapses */
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--ink);
  transition: transform var(--t-press), box-shadow var(--t-press);
}

.fold-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s5);
}

/* ---------- §7 Stamp — ONE per page, tied to a true fact ---------- */
.stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: var(--bw-2) solid var(--ink);
  border-radius: 999px;
  padding: var(--s2) var(--s3);
  transform: rotate(-2deg);
  background: var(--paper);
}

/* Chip (mono-label pill, non-rotated) */
.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: var(--bw-2) solid var(--ink);
  border-radius: 999px;
  padding: var(--s1) var(--s3);
}

/* ---------- Hero (Home) ---------- */
.hero { padding-block: var(--s6); }
@media (min-width: 48rem) { .hero { padding-block: var(--s7); } }

.hero-grid {
  display: grid;
  gap: var(--s6);
  align-items: start;
}
@media (min-width: 64rem) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s6); }
  /* Column-fit sub-clamp: §2 display-1 clamp assumes full-width; inside the
     7/5 split the column is ~52% of the wrap, so 11.5vw/10.5rem overflows
     ("BROKEN?" measured 1026px vs 672px column at 1440). 7.8vw/6.5rem keeps
     the widest word inside the column at every ≥64rem width. See NOTES 3. */
  .hero-grid .display-1 { font-size: clamp(3.75rem, 7.8vw, 6.5rem); }
}
.hero .display-1 { margin-top: var(--s4); }
.hero .lede { margin-top: var(--s4); }

/* Proof widget: the ONE shadow-3 featured card per viewport */
.proof-widget {
  background: var(--paper);
  border: var(--bw-3) solid var(--ink);
  box-shadow: var(--shadow-3);
  padding: var(--s4);
  position: relative;
}
@media (min-width: 48rem) { .proof-widget { padding: var(--s5); } }
.proof-widget .stamp {
  position: absolute;
  top: calc(-1 * var(--s3));
  right: var(--s3);
}
.proof-rows { margin-top: var(--s3); }
.proof-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s3);
  padding-block: var(--s3);
  border-bottom: var(--bw-1) solid var(--ink);
}
.proof-row:last-child { border-bottom: 0; }
.proof-row .name { font-weight: 600; }
.proof-row .price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  white-space: nowrap;
}
.proof-foot {
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: var(--bw-2) solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  justify-content: space-between;
}
.proof-foot .mono-label { letter-spacing: 0.06em; }

/* ---------- Service cards (§7) — whole card clickable ---------- */
.card-grid {
  display: grid;
  gap: var(--s5);
}
@media (min-width: 48rem) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .card-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; } }

.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  background: var(--paper);
  border: var(--bw-2) solid var(--ink);
  box-shadow: var(--shadow-2);
  padding: var(--s4);
  text-decoration: none;
  color: var(--ink);
  transition: transform var(--t-hover), box-shadow var(--t-hover);
}
@media (min-width: 48rem) { .service-card { padding: var(--s5); } }
.service-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 var(--ink);
}
.service-card:active {
  transform: translate(6px, 6px);
  box-shadow: 0 0 0 var(--ink);
  transition: transform var(--t-press), box-shadow var(--t-press);
}
.service-card .num { font-family: var(--font-mono); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.08em; }
.service-card .title { margin-top: var(--s1); }
.service-card p { flex: 1; }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  margin-top: var(--s2);
}
.card-foot .from {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.125rem;
}
.arrow-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: var(--bw-2) solid var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.125rem;
}

/* ---------- Price table (§7) — spec-sheet rows ---------- */
.price-table { border-top: var(--bw-2) solid var(--ink); }
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  padding-block: var(--s4);
  border-bottom: var(--bw-1) solid var(--ink);
}
.price-row .price-name { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 700; font-stretch: 110%; line-height: 1.1; }
.price-row .price-note { margin-top: var(--s1); max-width: 32em; }
.price-row .price-xl { white-space: nowrap; }
.price-caption { margin-top: var(--s3); }

/* ---------- Spec list (flat, bw-1 rules only) ---------- */
.spec-list { list-style: none; margin: 0; padding: 0; border-top: var(--bw-1) solid var(--ink); }
.spec-list li {
  display: flex;
  gap: var(--s3);
  align-items: baseline;
  padding-block: var(--s3);
  border-bottom: var(--bw-1) solid var(--ink);
}
.spec-list .k { font-family: var(--font-mono); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; min-width: 8.5rem; }

/* Steps (numbered, flat) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: var(--s4); }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }
.steps li { border-top: var(--bw-2) solid var(--ink); padding-top: var(--s3); }
.steps .step-num { font-family: var(--font-mono); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.08em; }
.steps h3 { font-size: 1.25rem; line-height: 1.2; font-weight: 700; font-stretch: 110%; margin-top: var(--s2); }
.steps p { margin-top: var(--s2); }

/* ---------- Blog cards ---------- */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: var(--bw-2) solid var(--ink);
  box-shadow: var(--shadow-2);
  text-decoration: none;
  color: var(--ink);
  transition: transform var(--t-hover), box-shadow var(--t-hover);
}
.blog-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 var(--ink);
}
.blog-card:active {
  transform: translate(6px, 6px);
  box-shadow: 0 0 0 var(--ink);
  transition: transform var(--t-press), box-shadow var(--t-press);
}
.blog-card-body { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
.blog-card .date { font-family: var(--font-mono); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; }
.blog-card h3 { font-size: 1.375rem; line-height: 1.15; font-weight: 700; font-stretch: 110%; }

/* Photo frames (§6): img fills the bordered container, slight contrast lift,
   no duotone. Container keeps the 2px ink frame / bottom rule. */
.ph-tile img,
.ph-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05);
}

/* Placeholder "photo" tile: 4:3, drawn in CSS (see IMAGES.md) */
.ph-tile {
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  border-bottom: var(--bw-2) solid var(--ink);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  position: relative;
}
.ph-tile .ph-num {
  font-weight: 830;
  font-stretch: 122%;
  font-size: clamp(5rem, 12vw, 8rem);
  line-height: 0.8;
  padding: 0 var(--s3);
  transform: translateY(0.08em);
  color: var(--ink);
}
.ph-tile .ph-label {
  position: absolute;
  top: var(--s2);
  right: var(--s2);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: var(--bw-1) solid var(--ink);
  padding: 2px var(--s2);
  background: var(--paper);
}

/* Standalone framed placeholder (About / detail pages) */
.ph-frame {
  border: var(--bw-2) solid var(--ink);
  background: var(--paper-2);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.ph-frame .ph-num {
  font-weight: 830;
  font-stretch: 122%;
  font-size: clamp(6rem, 16vw, 12rem);
  line-height: 0.8;
  padding: 0 var(--s3);
  transform: translateY(0.08em);
}
.ph-frame .ph-label {
  position: absolute;
  top: var(--s2);
  right: var(--s2);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: var(--bw-1) solid var(--ink);
  padding: 2px var(--s2);
  background: var(--paper);
}

/* ---------- Forms (§7) ---------- */
.form-grid { display: grid; gap: var(--s4); }
@media (min-width: 48rem) {
  .form-grid.two-col { grid-template-columns: 1fr 1fr; }
  .form-grid.two-col .field-full, .form-grid.two-col .form-actions { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: var(--s2); }
.field label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--paper-2);
  border: var(--bw-2) solid var(--ink);
  border-radius: 0;
  padding: var(--s2) var(--s3);
  min-height: 48px;
  width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--ink);   /* border reads as bw-3 */
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border: var(--bw-3) solid var(--accent);
}
.field-error {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.field.has-error .field-error { display: block; }
.form-note { margin-top: var(--s3); font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 700; }
.form-note:empty { margin-top: 0; }

/* Booking form card (clickable-form treatment: bw-2 + shadow-2) */
.form-card {
  background: var(--paper);
  border: var(--bw-2) solid var(--ink);
  box-shadow: var(--shadow-2);
  padding: var(--s4);
}
@media (min-width: 48rem) { .form-card { padding: var(--s5); } }

/* ---------- Page head (interior pages) ---------- */
.page-head { padding-block: var(--s6); }
@media (min-width: 48rem) { .page-head { padding-block: var(--s7); } }
.page-head .display-2 { margin-top: var(--s3); }
.page-head .lede { margin-top: var(--s4); }

/* Page-head fold-fill grid (§4 skeleton): the interior fold ran ~45% empty at
   1440. Same 7/5 split as the hero — copy left, a static info panel right, so
   the fold reads full without a second stunt. Single column < 64rem. See NOTES 5. */
.page-head-grid { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 64rem) {
  .page-head-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* Info panel (§5 depth=affordance): STATIC content, so FLAT — a bw-2 frame with
   bw-1 internal rules and ONE stamp. No offset-shadow: it does not click. The TOC
   variant's links DO click, so they carry link-language (§8.3) inside the flat frame. */
.info-panel {
  border: var(--bw-2) solid var(--ink);
  background: var(--paper);
  padding: var(--s4);
  position: relative;
}
@media (min-width: 48rem) { .info-panel { padding: var(--s5); } }
.info-panel > .stamp { position: absolute; top: calc(-1 * var(--s3)); right: var(--s3); }
.info-panel > .mono-label { display: block; }

.info-steps { list-style: none; margin: var(--s3) 0 0; padding: 0; border-top: var(--bw-1) solid var(--ink); }
.info-steps li {
  display: flex;
  gap: var(--s3);
  align-items: baseline;
  padding-block: var(--s3);
  border-bottom: var(--bw-1) solid var(--ink);
}
.info-steps .k {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  min-width: 2rem;
}
.info-foot {
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: var(--bw-2) solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  justify-content: space-between;
}
.toc-list { list-style: none; margin: var(--s3) 0 0; padding: 0; border-top: var(--bw-1) solid var(--ink); }
.toc-list li { padding-block: var(--s3); border-bottom: var(--bw-1) solid var(--ink); }
.toc-list a { display: inline-block; }

/* ---------- Article (blog post) ---------- */
.article-body { display: grid; gap: var(--s4); }
.article-body h2 {
  font-size: clamp(1.625rem, 2.4vw, 2.125rem);
  line-height: 1.1;
  font-weight: 700;
  font-stretch: 110%;
  margin-top: var(--s4);
}
.article-body ul { padding-left: 1.25rem; max-width: 36em; }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: center; }
/* Keep each meta segment whole — "· 4 min read" was orphaning its last word
   at 390. Segments wrap as units, never mid-phrase. See NOTES 6. */
.article-meta .mono-label { white-space: nowrap; }

/* ---------- CTA band ---------- */
.cta-band { text-align: left; }
.cta-band .display-2 { max-width: 18em; }
.cta-band .fold-cta-row { margin-top: var(--s4); }

/* ---------- Footer (§7) — the one dark zone ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  border-top: var(--bw-2) solid var(--ink);
  padding-block: var(--s6);
}
.site-footer a { color: var(--paper); }
.footer-big {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.footer-big a { text-decoration: none; }
.footer-big a:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.footer-hours {
  margin-top: var(--s3);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.125rem, 2.2vw, 1.75rem);
  line-height: 1.3;
  color: rgba(242, 240, 233, 0.85);
}
.footer-cols {
  margin-top: var(--s6);
  padding-top: var(--s4);
  border-top: var(--bw-1) solid rgba(242, 240, 233, 0.4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4) var(--s6);
  justify-content: space-between;
  align-items: flex-start;
}
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); list-style: none; margin: 0; padding: 0; }
.footer-links a { font-size: 0.875rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 4px; }
.footer-addr { font-size: 0.875rem; font-style: normal; color: rgba(242, 240, 233, 0.85); }
.footer-legal {
  margin-top: var(--s5);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(242, 240, 233, 0.85);
}
.footer-legal a { color: var(--paper); }

/* ---------- §8 prefers-reduced-motion: transforms OFF ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service-card, .blog-card, .nav-toggle, .skip-link { transition: none; }
  .btn:hover, .service-card:hover, .blog-card:hover {
    transform: none;
  }
  .btn:active, .service-card:active, .blog-card:active, .nav-toggle:active {
    transform: none;
    box-shadow: none;          /* press still reads: shadow drops */
  }
  .btn:hover { box-shadow: var(--shadow-2); }              /* hover reads via shadow step only */
  .service-card:hover, .blog-card:hover { box-shadow: var(--shadow-3); }
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3);
}

/* ============================================================
   NOTES — logged deviations from DESIGN-SYSTEM.md
   1. §7 says "Primary CTA button right" in the nav. Shipped as
      .btn-secondary instead: §10.1 demands EXACTLY ONE prominent
      accent CTA in the fold, and the nav sits inside every fold.
      An accent nav button would put two accent CTAs above the
      fold on all 7 pages. Secondary keeps the button, obeys the
      accent law. (Written reason per contract header.)
   2. Focus on form fields simulates the bw-3 border with an
      inset 1px box-shadow instead of a real border-width jump,
      to avoid 1px layout shift. Visual result is identical.
   3. §2 display-1 clamp is full-width math; inside the 7/5
      hero grid (≥64rem) the heading column is ~52% of the wrap
      and "BROKEN?" overflowed under the price board (1026px vs
      672px at 1440). Added a column-fit sub-clamp
      clamp(3.75rem, 7.8vw, 6.5rem) scoped to .hero-grid only.
      Full-width display-1 keeps the §2 clamp.
   4. Nav-link focus upgraded from the bare 3px ring to an
      INVERT (ink chip + ring), per TRENDS "thicken/invert"
      guidance — borders as a11y asset, crit round-1 finding.
   5. Interior page-heads (Contact, Blog post) ran ~45% empty
      on the 1440 right edge. Added .page-head-grid (same 7/5
      split as the hero) + a flat .info-panel: static "what
      happens next" / TOC beside the copy. §5 depth=affordance
      kept — the static panel is FLAT (bw-2 frame, bw-1 rules,
      one stamp, NO shadow); the TOC's links click, so they
      carry link-language inside the flat frame. One stunt per
      screen preserved (h1 display-2 is the stunt; panel is mono).
   6. Mobile display-type: long display-2 heads hit the 2.5rem
      floor and wrapped to 5 lines at 390, pushing the fold CTA
      down. Added a ≤26rem clamp(1.9rem, 8vw, 2.5rem). Plus
      .article-meta segments now white-space:nowrap so
      "· 4 min read" stops orphaning its last word.
   ============================================================ */
