/* Advanced Foundry Tech — site styles.
   Graphite + white + one restrained accent (molten orange, a quiet nod to the foundry).
   Paper sections read as drawing sheets; everything else sits on graphite. */

@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #0e0f10;
  --bg-raised: #15171a;
  --panel: #1a1d21;
  --line: #262a2f;
  --line-strong: #3a3f46;
  --text: #eceded;
  --text-2: #a7acb3;
  --text-3: #767c84;
  --accent: #e8792b;
  --accent-hover: #f28c43;
  --on-accent: #120a04;
  --paper: #f2f0eb;
  --paper-line: #dbd7ce;
  --ink: #141516;
  --ink-2: #53585e;
  --ok: #5fb87a;
  --err: #ef6a5a;

  --sans: "Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 136px);
  --radius: 4px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 14px; font-weight: 600; }
.skip-link:focus { top: 12px; }

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

.eyebrow {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.lede { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--text); }
.section-intro { max-width: 680px; color: var(--text-2); font-size: 18px; margin-top: 20px; }
.fine-print { font-size: 13px; color: var(--text-3); margin-top: 20px; max-width: 680px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font: 600 15px/1 var(--sans); letter-spacing: 0.01em;
  border: 1px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #2a2c2f; color: var(--paper); }
.btn[disabled] { opacity: .55; cursor: progress; }

.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; color: var(--accent); transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand:hover { color: var(--text); }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font: 400 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.brand-name strong { font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { font-size: 14px; color: var(--text-2); text-decoration: none; }
.site-nav ul a:hover { color: var(--text); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--text); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background-color .2s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 20px var(--gutter) 28px; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 420px) { .brand-name { font-size: 11px; letter-spacing: 0.12em; } }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 9vw, 128px);
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 30% 45%, var(--bg) 35%, transparent 100%);
  opacity: .92;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 78px); letter-spacing: -0.035em; line-height: 1.02; }
.hero .lede { margin-top: 28px; max-width: 560px; color: var(--text-2); }
.hero-note { font: 400 13px/1.6 var(--mono); color: var(--text-3); margin-top: 20px; letter-spacing: 0.02em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-drawing { margin: 0; position: relative; }
.drawing { width: 100%; height: auto; overflow: visible; }
.drawing .construction line, .drawing .construction circle { fill: none; stroke: var(--text-3); stroke-width: 1.5; opacity: .5; }
.drawing .centerline { stroke-dasharray: 36 8 4 8; }
.drawing .dashed { stroke-dasharray: 10 8; }
.drawing .part * { fill: none; stroke: var(--text); stroke-width: 3; stroke-linejoin: round; }
.drawing .dims line { fill: none; stroke: var(--text-3); stroke-width: 1.5; }
.drawing .dims .dim { stroke: var(--text-2); }
.drawing .dims .accent { stroke: var(--accent); }
.drawing text { font: 500 24px var(--mono); fill: var(--text-2); letter-spacing: 0.08em; }
.drawing text.accent { fill: var(--accent); }
.drawing .arrowhead { fill: none; stroke: var(--text-2); stroke-width: 1.5; }
.drawing .arrowhead.accent { stroke: var(--accent); }
.title-block {
  display: grid; grid-template-columns: auto auto 1fr; margin-top: 18px;
  border: 1px solid var(--line-strong);
  font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3);
}
.title-block span { padding: 10px 12px; border-right: 1px solid var(--line-strong); }
.title-block span:last-child { border-right: 0; text-align: right; }

@media (prefers-reduced-motion: no-preference) {
  .drawing .part * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s cubic-bezier(.65,0,.35,1) forwards; }
  .drawing .part circle { animation-delay: .5s; }
  .drawing .part rect { animation-delay: .9s; animation-duration: 1.2s; }
  .drawing .construction, .drawing .dims { opacity: 0; animation: fade 1.2s ease 1.4s forwards; }
  .drawing .construction { animation-delay: .1s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-drawing { max-width: 420px; width: 100%; margin: 8px auto 0; }
}

/* Sections */
.section { padding: var(--section-y) 0; border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(32px, 4.4vw, 54px); max-width: 900px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); margin-top: 40px; }
.two-col > p { color: var(--text-2); }
.two-col > .lede { color: var(--text); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

.disciplines { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.disciplines li { padding: 28px 28px 8px 0; }
.disciplines li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.disciplines h3 { font-size: 20px; margin: 16px 0 10px; }
.disciplines p { color: var(--text-2); font-size: 16px; }
.disc-index { font: 500 12px/1 var(--mono); color: var(--text-3); letter-spacing: .14em; }
@media (max-width: 760px) {
  .disciplines { grid-template-columns: 1fr; }
  .disciplines li, .disciplines li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Solution Finder */
.section-finder { background: var(--bg-raised); }
.finder { margin-top: 48px; border: 1px solid var(--line-strong); background: var(--bg); border-radius: var(--radius); }
.finder-steps { list-style: none; margin: 0; padding: 0; }
.finder-step { padding: 28px clamp(20px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.finder-step fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder-step legend { font-size: 19px; font-weight: 600; padding: 0; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.step-num {
  display: inline-grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0;
  border: 1px solid var(--line-strong); border-radius: 50%;
  font: 500 12px/1 var(--mono); color: var(--text-2);
}
.finder-step.is-done .step-num { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-stack { flex-direction: column; align-items: stretch; }
.chip {
  font: 500 15px/1.3 var(--sans); color: var(--text-2);
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 12px 18px; cursor: pointer; text-align: left;
  transition: border-color .15s, color .15s, background-color .15s;
}
.chip:hover { border-color: var(--text-2); color: var(--text); }
.chip[aria-pressed="true"] { border-color: var(--accent); color: var(--text); background: color-mix(in srgb, var(--accent) 12%, var(--panel)); }
.finder-step[hidden], .finder-result[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .finder-step:not([hidden]), .finder-result:not([hidden]) { animation: rise .35s ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.finder-result { padding: clamp(24px, 3vw, 40px); outline: none; }
.result-kicker { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.result-title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.result-body { color: var(--text-2); max-width: 640px; }
.result-products { display: grid; gap: 16px; margin: 24px 0 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 380px)); }
.result-products .product-card { min-height: 240px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
.btn-text { background: none; border: 0; color: var(--text-2); font: 500 14px var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 8px 4px; }
.btn-text:hover { color: var(--text); }
.finder-noscript { padding: 28px; color: var(--text-2); }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 960px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 28px; min-height: 280px;
}
.product-card h3 { font-size: 24px; }
.product-card p { color: var(--text-2); font-size: 16px; margin: 0; }
.product-card .link-arrow, .product-card .product-foot { margin-top: auto; padding-top: 12px; }
.product-tag { font: 500 11px/1 var(--mono) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3) !important; }
.product-status {
  position: absolute; top: 24px; right: 24px;
  font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 8px; border: 1px solid var(--line-strong); color: var(--text-2); border-radius: 2px;
}
.product-status.is-live { border-color: color-mix(in srgb, var(--ok) 60%, transparent); color: var(--ok); }
.product-foot { font-size: 14px !important; color: var(--text-3) !important; }
.product-card-open { background: transparent; border-style: dashed; }
.product-card-open h3 { color: var(--text); }

/* Paper section */
.section-paper {
  background: var(--paper); color: var(--ink); border-bottom-color: var(--paper-line);
  background-image:
    linear-gradient(var(--paper-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--paper-line) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}
.section-paper .wrap { position: relative; }
.section-paper .eyebrow { color: #b4561a; }
.section-paper .two-col > p { color: var(--ink-2); }
.section-paper .two-col > .lede { color: var(--ink); }
.section-paper a:hover { color: var(--ink); }
.outcomes { list-style: none; padding: 0; margin: 56px 0 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.outcomes li { background: var(--paper); border: 1px solid var(--ink); padding: 28px; }
.outcomes h3 { font-size: 22px; margin: 12px 0 10px; }
.outcomes p { color: var(--ink-2); font-size: 16px; }
.outcome-label { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 760px) { .outcomes { grid-template-columns: 1fr; } }

/* Process */
.process { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: step; }
.process li { position: relative; padding: 28px 20px 0 0; border-top: 1px solid var(--line-strong); }
.process li::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px;
  background: var(--bg); border: 1px solid var(--accent); transform: rotate(45deg);
}
.process-n { font: 500 12px/1 var(--mono); color: var(--accent); letter-spacing: .12em; }
.process h3 { font-size: 19px; margin: 12px 0 8px; }
.process p { font-size: 15px; color: var(--text-2); }
@media (max-width: 960px) { .process { grid-template-columns: repeat(3, 1fr); row-gap: 40px; } }
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; row-gap: 0; border-left: 1px solid var(--line-strong); margin-left: 4px; }
  .process li { border-top: 0; padding: 0 0 28px 28px; }
  .process li::before { top: 2px; left: -5px; }
}

/* Request / Problem Brief */
.section-request { background: var(--bg-raised); }
.request-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.request-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.request-intro h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 24px; }
.request-intro p { color: var(--text-2); }
.request-promises { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.request-promises li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; color: var(--text-2); }
.request-promises li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
@media (max-width: 900px) {
  .request-grid { grid-template-columns: 1fr; }
  .request-intro { position: static; }
}

.brief { background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
.brief-group { border: 0; padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--line); min-width: 0; }
.brief-group legend { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); padding: 0; margin-bottom: 20px; }
.field { display: block; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field-label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.field-label em, .check em { font-style: normal; font: 400 11px var(--mono); color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; margin-left: 6px; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: 400 16px/1.45 var(--sans); color: var(--text);
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 12px 14px; transition: border-color .15s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field input::placeholder { color: var(--text-3); }
.field-hint { font-size: 13px; color: var(--text-3); margin: 8px 0 0; }
.field-error { font-size: 13px; color: var(--err); margin: 6px 0 0; }
.field-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .radio-row { grid-template-columns: 1fr; } }
.radio-card { position: relative; display: flex; gap: 12px; padding: 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel); cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--accent); }
.radio-card input { accent-color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.radio-card strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.radio-card small { display: block; color: var(--text-3); font-size: 13px; margin-top: 4px; }

.file-drop { display: inline-flex; align-items: center; position: relative; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius); font-size: 14px; font-weight: 500; color: var(--text-2); }
.file-drop:hover span, .file-drop:focus-within span { border-color: var(--accent); color: var(--text); }
.file-list { list-style: none; padding: 0; margin: 12px 0 0; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; font: 400 13px var(--mono); color: var(--text-2); padding: 8px 0; border-bottom: 1px solid var(--line); }
.file-list li.is-error { color: var(--err); }
.file-list button { background: none; border: 0; color: var(--text-3); cursor: pointer; font: inherit; }
.file-list button:hover { color: var(--text); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { accent-color: var(--accent); margin-top: 4px; width: 16px; height: 16px; flex-shrink: 0; }
.brief-status { min-height: 0; margin-bottom: 16px; font-size: 15px; }
.brief-status:empty { margin: 0; }
.brief-status.is-error { color: var(--err); }
.brief-done { text-align: left; padding: clamp(12px, 3vw, 24px) 0; }
.brief-done h3 { font-size: 28px; margin: 12px 0; }
.brief-done p { color: var(--text-2); }
.brief-ref { font: 500 13px var(--mono); color: var(--text-3); letter-spacing: .06em; }

/* About */
.about h2 { font-size: clamp(32px, 4.4vw, 54px); }
.about { margin-top: 0; }
.about > div:last-child p:not(.lede) { color: var(--text-2); }

/* Footer */
.site-footer { padding: 72px 0 36px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-id { display: flex; gap: 18px; align-items: flex-start; }
.footer-mark { width: 44px; height: 44px; flex-shrink: 0; }
.footer-id p { color: var(--text-2); font-size: 15px; }
.footer-id strong { color: var(--text); }
.footer-h { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.site-footer p, .footer-links { font-size: 15px; color: var(--text-2); }
.footer-links { list-style: none; margin: 0; padding: 0; line-height: 2; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-legal p, .footer-legal ul { font-size: 13px; color: var(--text-3); margin: 0; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Legal / document pages */
.doc { padding: clamp(56px, 8vw, 96px) 0; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 12px; }
.doc .doc-meta { font: 400 13px var(--mono); color: var(--text-3); margin-bottom: 48px; }
.doc h2 { font-size: 22px; margin: 44px 0 14px; letter-spacing: -0.01em; }
.doc h3 { font-size: 17px; margin: 28px 0 10px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--text); font-weight: 600; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* 404 */
.not-found { min-height: 60vh; display: grid; align-content: center; padding: var(--section-y) 0; }
.not-found h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.not-found p { color: var(--text-2); max-width: 560px; }
.not-found .hero-actions { margin-top: 28px; }
