/*
  Consequence Labs — restrained design system (shared stylesheet).
  Spec: docs/internal/brand/design-language-2026-09-27-restrained.md
  Promoted from /home-test-v2/home-test-v2.css; keep the two in step.
*/
@font-face {
  font-family: "Switzer";
  src: url("/fonts/Switzer-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: only light;
  --paper: #edece8;
  --paper-tone: #e2e1dc;
  --ink: #17181b;
  --ink-soft: #3a3b3f;
  --muted: #626368;
  --line: rgba(23, 24, 27, 0.16);
  --line-strong: rgba(23, 24, 27, 0.4);
  --accent: #ff4d2e;
  --sans: "Switzer", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --track: 0.2em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 350;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* Soft window light falling from the upper left across the page top. */
  background:
    radial-gradient(90% 60% at 12% 0%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 70%) no-repeat,
    linear-gradient(180deg, #f1f0ec 0%, var(--paper) 900px) no-repeat,
    var(--paper);
}
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
[hidden] { display: none !important; }

.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-link { position: fixed; top: 0; left: 1rem; z-index: 100; padding: .75rem 1rem; background: var(--ink); color: var(--paper); transform: translateY(-120%); }
.skip-link:focus { transform: none; }
.shell { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- Type primitives ---------- */
.label, .nav a, .btn, .n, .caps-list, .k, .strip, .text-link, dt {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.label-quiet { color: var(--muted); font-weight: 400; }
.mono { font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }

h1, h2 {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.06;
}
h1 { font-size: clamp(1.9rem, 4.1vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); max-width: 22ch; }
h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.25;
}
.body { max-width: 56ch; color: var(--ink-soft); font-size: 1.15rem; }
.lede { max-width: 44ch; color: var(--ink-soft); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; }
.num { margin-right: 1.1em; color: var(--muted); font-family: var(--mono); font-weight: 400; letter-spacing: .08em; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 1.4em;
  padding: 1.05rem 1.5rem;
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover, .btn-solid:focus-visible { background: transparent; color: var(--ink); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--ink); color: var(--paper); }
.btn-small { padding: .7rem 1.1rem; white-space: nowrap; gap: .9em; }
.arrow { font-size: 1.15em; font-weight: 300; letter-spacing: 0; transition: transform 160ms ease; }
.btn:hover .arrow, .text-link:hover .arrow, .inline-link:hover .arrow { transform: translateX(3px); }
.text-link {
  display: inline-flex; align-items: center; gap: 1em;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none;
}
.text-link:hover { border-color: var(--ink); }
.inline-link { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.inline-link:hover { border-color: var(--ink); }
.inline-link .arrow { display: inline-block; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 20; background: rgba(240, 239, 235, .9); backdrop-filter: blur(12px); }
.masthead-row {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding-block: .9rem;
  border-bottom: 1px solid var(--line);
}
.logo { display: block; flex: none; width: clamp(11rem, 16vw, 13.5rem); line-height: 0; }
.logo img { display: block; width: 100%; height: auto; }
.logo-small { width: 9.5rem; }
.nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { margin-left: clamp(0rem, 1vw, .6rem); color: var(--ink); }
.nav .nav-cta:hover, .nav .nav-cta:focus-visible { color: var(--paper); }
.tagline { padding-block: .6rem; color: var(--muted); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; }
.menu-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span:not(.sr-only) {
  position: absolute; left: 11px; right: 11px;
  height: 1px;
  background: var(--ink);
  transition: transform 160ms ease;
}
.menu-toggle span:nth-child(2) { top: 18px; }
.menu-toggle span:nth-child(3) { top: 26px; }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(2.5rem, 6vw, 5rem);
  /* Bright left, falling off toward the image side. */
  background:
    radial-gradient(70% 90% at 20% 35%, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 65%),
    linear-gradient(90deg, rgba(0, 0, 0, 0) 40%, rgba(23, 24, 27, .035) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; padding-block: 2rem; }
.hero-copy h1 { max-width: 20ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: .6rem; }
.hero-text { padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-text .hero-copy { max-width: 52rem; padding-block: 0; }
.hero-text .hero-copy h1 { max-width: 24ch; }
.hero-text .lede { max-width: 52ch; }

/* ---------- Plates (photographs) ---------- */
.plate {
  position: relative;
  overflow: hidden;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    radial-gradient(80% 70% at 70% 35%, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(160deg, #eceae6 0%, #d6d4cf 55%, #bfbdb7 100%);
}
.plate-photo { background: #e2e1dc; }
.plate-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate-hero { min-height: clamp(360px, 42vw, 540px); }
/* Subpage hero: a wide photograph cropped to 4:3 beside the copy. */
.plate-sub { align-self: center; aspect-ratio: 4 / 3; }
.focus-left img { object-position: 0% 50%; }
.focus-center img { object-position: 50% 50%; }
.focus-right img { object-position: 100% 50%; }
.focus-right-quarter img { object-position: 75% 50%; }
.focus-low img { object-position: 50% 78%; }

.callout {
  position: absolute; z-index: 1;
  display: flex; flex-direction: column; gap: .25rem;
  max-width: 18ch;
  padding: .45rem .7rem .55rem .75rem;
  border-left: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background: rgba(241, 240, 236, .74);
  backdrop-filter: blur(6px);
  font-size: .88rem;
  line-height: 1.35;
}
.callout .k { color: var(--ink); font-size: .74rem; }
.callout-people  { top: 3.5%; right: 4%; }
.callout-action  { top: 71%; left: 34%; }
.callout-outcome { top: 83%; left: 58%; }

/* ---------- Strip ---------- */
.strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .76rem;
  line-height: 1.7;
}
.strip li { padding: 1.1rem 1.25rem 1.6rem; border-left: 1px solid var(--line); }
.strip li:first-child { border-left: 0; padding-left: 0; }
.strip .n { display: block; margin-bottom: .6rem; color: var(--ink); font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; }
.strip-5 { grid-template-columns: repeat(5, 1fr); }
.strip-5 li { padding-bottom: 1.4rem; }
.strip-3 { grid-template-columns: repeat(3, 1fr); }

/* Overview: a ruled row of short numbered steps under a subpage hero. */
.overview { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.overview > .label { padding-bottom: .9rem; }
.overview ol { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.overview li { display: grid; gap: .55rem; align-content: start; padding: 1.2rem clamp(1.25rem, 3vw, 2.5rem) 1.6rem; border-left: 1px solid var(--line); }
.overview li:first-child { padding-left: 0; border-left: 0; }
.overview li:last-child { padding-right: 0; }
.overview h3 { font-size: .9rem; font-weight: 500; letter-spacing: var(--track); }
.overview li p:last-child { color: var(--ink-soft); font-size: 1rem; max-width: 34ch; }
.overview li p.n:last-child { color: var(--ink); font-size: .78rem; }
.overview-note { padding-block: 1.1rem 1.4rem; border-top: 1px solid var(--line); color: var(--ink-soft); max-width: 62ch; }

/* ---------- Bands ---------- */
.band { padding-block: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--line); }
/* Tone band: brushed-metal grey, darker at the edges. */
.band-tone {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(90deg, #dcdbd6 0%, #e6e5e1 45%, #e2e1dc 70%, #d9d8d3 100%);
}
.band-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--line);
}
.band-head .label-quiet { font-size: .74rem; }
.head-link { display: inline-flex; gap: .8em; text-decoration: none; }
.head-link:hover { color: var(--ink); }
.n { display: flex; align-items: center; gap: .9rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; color: var(--ink); }
.tick { display: inline-block; width: 2rem; height: 1px; background: var(--line-strong); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- Section intro patterns ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.about-grid h2 { margin-bottom: 1.5rem; }
.about-grid .body + .body { margin-top: 1.1rem; }
.section-title { margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 28ch; }
.intro-row {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}
.intro-row .body { max-width: 46ch; }
.intro-row:last-child { margin-bottom: 0; }
.intro-row-top { align-items: start; }
.intro-row-top .body { max-width: 56ch; }
.contact-actions { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- Paths ---------- */
.paths { display: grid; gap: 2.25rem; align-content: start; }
.paths article { display: grid; gap: .7rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.paths article:first-child { border-top: 0; padding-top: 0; }
.paths article p:last-child { color: var(--ink-soft); max-width: 46ch; }
.paths-ruled article:first-child { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.paths-ruled article:last-child { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }

/* ---------- Columns ---------- */
.cols { display: grid; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.col { display: flex; flex-direction: column; gap: 1.1rem; padding-inline: clamp(1.25rem, 3vw, 2.5rem); border-left: 1px solid var(--line); }
.col:first-child { padding-left: 0; border-left: 0; }
.col:last-child { padding-right: 0; }
.col-lede { color: var(--ink-soft); max-width: 38ch; }
.caps-list { display: grid; gap: .6rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .74rem; }
.col .text-link { align-self: flex-start; margin-top: auto; }
.cols + .cols { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
/* Four items: two rows of two, never four narrow columns. */
.cols-2 { grid-template-columns: repeat(2, 1fr); row-gap: clamp(2.5rem, 5vw, 3.5rem); }
.cols-2 .col:nth-child(odd) { padding-left: 0; border-left: 0; }
.cols-2 .col:nth-child(even) { padding-right: 0; }
.cols-2 .col:nth-child(n + 3) { padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.cols-2 .col-lede { max-width: 46ch; }

/* ---------- Footnotes ---------- */
.footnote { display: flex; gap: 1.5rem; align-items: baseline; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--ink-soft); }
.footnote .label { flex: none; color: var(--ink); }
.footnotes { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.footnotes .footnote { margin-top: 0; padding-block: 1.1rem; }
.footnotes .footnote + .footnote { border-top: 1px solid var(--line); }
.footnotes .footnote:last-child { border-bottom: 1px solid var(--line); }
.footnote .label { min-width: 12.5rem; }
.hero .footnote { margin-top: .6rem; max-width: 52rem; border-bottom: 1px solid var(--line); padding-bottom: 1.1rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); }
.steps li { display: grid; gap: .6rem; align-content: start; padding-inline: 1.5rem; border-left: 1px solid var(--line-strong); }
.steps li:first-child { padding-left: 0; border-left: 0; }
.steps h3 { font-size: 1.1rem; }
.steps li p:last-child { color: var(--ink-soft); font-size: 1rem; max-width: 22ch; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps-4 li p:last-child { max-width: 30ch; }
.steps-3 { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
.steps-3 li p:last-child { max-width: 34ch; }
.steps-3 li:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.steps + .footnote, .cols + .footnote { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- Records ---------- */
.record { display: grid; align-content: start; padding-left: 1.5rem; border-left: 1px solid var(--line); }
.record .label { margin-bottom: .9rem; }
.record div { display: grid; grid-template-columns: 6.5rem 1fr; gap: .75rem; padding-block: .8rem; border-top: 1px solid var(--line); }
.record dt { color: var(--muted); font-size: .72rem; padding-top: .2rem; }
.record dd { font-size: .98rem; color: var(--ink); }
.record div:last-child { border-bottom: 1px solid var(--line); }
.deliverables div { grid-template-columns: 3rem 1fr; align-items: baseline; padding-block: 1rem; }
.deliverables dt { font-family: var(--mono); letter-spacing: .1em; }
.deliverables dd { font-size: 1.1rem; font-weight: 350; }
/* Text record: a caps label above each value. */
.record-text { padding-left: 0; border-left: 0; }
.record-text div { grid-template-columns: 1fr; gap: .45rem; padding-block: 1.25rem; }
.record-text dt { color: var(--ink); font-size: .76rem; padding-top: 0; }
.record-text dd { color: var(--ink-soft); font-size: 1.05rem; max-width: 52ch; }

/* ---------- Prose and tables (articles) ---------- */
.prose { display: grid; gap: 1.1rem; max-width: 62ch; color: var(--ink-soft); font-size: 1.1rem; }
.prose-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.prose-cols h2 { margin-bottom: 0; }
.ruled-table { width: 100%; margin-top: clamp(2rem, 4vw, 3rem); border-collapse: collapse; text-align: left; }
.ruled-table th {
  padding: 0 1.5rem .9rem 0;
  border-bottom: 1px solid var(--line-strong);
  font-size: .76rem; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase;
}
.ruled-table td { padding: 1rem 1.5rem 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.ruled-table td:first-child { width: 14rem; color: var(--ink); font-size: .8rem; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; padding-top: 1.15rem; }
.ruled-list { border-top: 1px solid var(--line); }
.ruled-list li { display: grid; grid-template-columns: 3rem 1fr; align-items: baseline; padding-block: 1rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.ruled-list .n { font-size: .76rem; }
.figure { display: grid; gap: .9rem; }
.figure a { display: block; line-height: 0; }
.figure img { width: 100%; height: auto; }
.figure figcaption { color: var(--muted); font-size: .95rem; max-width: 70ch; }
.article-figure { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- Closing ---------- */
.closing { border-top: 1px solid var(--line); background: var(--paper-tone); }
.contact-block { display: grid; gap: .35rem; }
.contact-line { display: flex; flex-wrap: wrap; gap: .75rem; color: var(--ink-soft); }
.contact-line a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.contact-line a:hover { border-color: var(--ink); }
.contact-note { color: var(--muted); font-size: .95rem; }
/* Full-bleed photograph, copy on the open side. */
.closing-wide { position: relative; overflow: hidden; background: #e4e2dd; }
.closing-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 88%; }
.closing-bg-stone { object-position: 72% 60%; }
.closing-wide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(237, 236, 232, .78) 0%, rgba(237, 236, 232, .45) 38%, rgba(237, 236, 232, 0) 62%);
}
.closing-inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: clamp(520px, 46vw, 700px); }
.closing-copy { display: grid; gap: 1.5rem; max-width: 36rem; padding-block: clamp(4rem, 8vw, 7rem); }
.closing-copy .body { max-width: 46ch; }
.closing-copy .btn, .closing-copy .hero-actions { justify-self: start; }
.closing-copy .btn-outline { background: rgba(241, 240, 236, .5); }
.closing-copy .btn-outline:hover, .closing-copy .btn-outline:focus-visible { background: var(--ink); }
.closing-copy h1 { font-size: clamp(1.9rem, 4.1vw, 3.6rem); }

/* Related links (after a subpage closing). */
.related { padding-block: 1.75rem; border-top: 1px solid var(--line); }
.related-row { display: grid; grid-template-columns: 12.5rem 1fr; align-items: baseline; gap: .9rem 2rem; }
.related-links { display: flex; flex-wrap: wrap; gap: .9rem 2rem; }
.related-links a { color: var(--ink-soft); }

/* ---------- 404 ---------- */
.not-found { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.not-found .closing-wide { flex: 1; display: flex; flex-direction: column; }
.not-found .closing-inner { flex: 1; min-height: 0; }
.not-found .closing-copy { padding-block: clamp(3rem, 8vw, 6rem); }
.closing-bg-impression { object-position: 78% 70%; }

/* ---------- Jobs (test page) ---------- */
.jobs-status { margin-top: 1.25rem; color: var(--muted); font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.jobs-list { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.jobs-card { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.jobs-card > div { display: grid; gap: .6rem; }
.jobs-card h3 a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.jobs-card h3 a:hover { border-color: var(--ink); }
.jobs-card-location, .job-detail-location { color: var(--muted); font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.jobs-card-description { max-width: 62ch; color: var(--ink-soft); }
.jobs-card-arrow { font-size: 1.3rem; font-weight: 300; }
.job-detail { display: grid; gap: 1.1rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.job-detail h2 { max-width: 28ch; }
.job-detail-description { max-width: 62ch; color: var(--ink-soft); font-size: 1.1rem; }
.job-detail .text-link { justify-self: start; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.75rem; flex-wrap: wrap; }
.footer .label-quiet { font-size: .72rem; }
.footer-links { display: flex; gap: 1.75rem; flex-wrap: wrap; font-size: .76rem; letter-spacing: var(--track); text-transform: uppercase; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0 var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line);
    background: #f0efeb;
  }
  .nav.is-open { display: flex; }
  .nav a { padding-block: 1rem; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { justify-content: space-between; margin: 1.25rem 0 0; padding: 1rem 1.1rem; border: 1px solid var(--ink); }
  .strip-5 { grid-template-columns: repeat(3, 1fr); }
  .strip-5 li:nth-child(4) { border-left: 0; padding-left: 0; }
  .strip-5 li:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .steps li:nth-child(4) { padding-left: 0; border-left: 0; }
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-4 li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps-4 li:nth-child(4) { padding-left: 1.5rem; border-left: 1px solid var(--line-strong); }
  .hero-grid-sub { grid-template-columns: 1fr; }
  .plate-sub { max-width: 44rem; }
}
@media (max-width: 760px) {
  .logo { width: 9.5rem; }
  .logo-small { width: 8.5rem; }
  .masthead-row { gap: 1rem; }
  .btn-small { padding: .6rem .8rem; font-size: .72rem; }
  .hero-grid, .about-grid, .intro-row, .prose-cols { grid-template-columns: 1fr; }
  .plate-hero { min-height: 0; aspect-ratio: 1 / 1; }
  .callout-action  { left: 26%; }
  .callout-outcome { left: 48%; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip li:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .strip-5 { grid-template-columns: 1fr 1fr; }
  .strip-5 li:nth-child(n) { border-left: 1px solid var(--line); padding-left: 1.25rem; border-top: 0; }
  .strip-5 li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .strip-5 li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .strip-3 { grid-template-columns: 1fr; }
  .strip-3 li:nth-child(n) { border-left: 0; padding: 1rem 0; }
  .strip-3 li:nth-child(n + 2) { border-top: 1px solid var(--line); }
  .overview ol { grid-template-columns: 1fr; }
  .overview li:nth-child(n) { padding: 1.2rem 0; border-left: 0; }
  .overview li + li { border-top: 1px solid var(--line); }
  .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .col, .cols-2 .col:nth-child(n) { padding: 2rem 0 0; margin-top: 2rem; border-left: 0; border-top: 1px solid var(--line); }
  .col:first-child, .cols-2 .col:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
  .cols-2 { row-gap: 0; }
  .steps, .steps-4, .steps-3 { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(n) { padding-left: 1.25rem; border-left: 1px solid var(--line-strong); }
  .steps li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .band-head { flex-direction: column; gap: .4rem; }
  .footnote { flex-direction: column; gap: .5rem; }
  .footnote .label { min-width: 0; }
  .record { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .ruled-table, .ruled-table tbody, .ruled-table tr, .ruled-table td { display: block; width: auto; }
  .ruled-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .ruled-table tr { padding-block: 1rem; border-bottom: 1px solid var(--line); }
  .ruled-table td { padding: 0; border: 0; }
  .ruled-table td:first-child { width: auto; padding: 0 0 .4rem; }
  .closing-wide { display: flex; flex-direction: column; }
  .closing-wide::before { display: none; }
  .closing-inner { order: 1; min-height: 0; }
  .closing-copy { padding-block: 3.5rem 2.5rem; }
  .closing-bg { position: relative; order: 2; height: auto; aspect-ratio: 4 / 3; object-position: 72% 70%; }
  .closing-bg-stone { object-position: 70% 60%; }
  .contact-line > span[aria-hidden] { display: none; }
  .contact-line { column-gap: 1.5rem; }
  .related-row { grid-template-columns: 1fr; }
  .related-links { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .jobs-card { gap: 1rem; }
  .not-found .closing-wide { flex: none; }
}
@media (max-width: 420px) {
  .steps, .steps-4, .steps-3 { grid-template-columns: 1fr; row-gap: 0; }
  .steps li:nth-child(n) { padding: 1.25rem 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line-strong); }
  .steps li:first-child { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
