/* ==========================================================================
   TruBuilt Exteriors — design system
   Warm bone and sand grounds, TruBuilt red (#DB1417) as the single accent,
   one warm-charcoal moment at the footer.
   Type: Archivo (display/UI, matches the logo), Newsreader (running text),
   IBM Plex Mono (spec + data).
   ========================================================================== */

:root {
  --ground:        #FBF8F3;
  --ground-deep:   #F5EFE5;
  --surface:       #FFFFFF;
  --surface-2:     #FDFBF7;
  --sand:          #F1E8DB;
  --sand-2:        #E7DAC8;
  --line:          #E8DECE;
  --line-strong:   #C9BAA4;
  --ink:           #211C17;
  --ink-2:         #504639;
  --ink-3:         #80735F;

  --red:        #C4141A;
  --red-fill:   #DB1417;
  --red-hover:  #A81015;
  --red-soft:   #FCEDE8;
  --on-red:     #FFF5F2;

  /* the one dark surface — warm charcoal, used at the footer + closing CTA */
  --charcoal:   #2B2520;
  --charcoal-2: #362E28;
  --on-dark:    #F7F1E7;
  --on-dark-2:  #C8BCAB;
  --on-dark-3:  #9A8B78;
  --line-dark:  #443A32;

  --focus: #DB1417;

  --shell: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-ui: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Newsreader", Georgia, "Times New Roman", serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground:        #16120E;
    --ground-deep:   #100D0A;
    --surface:       #1E1914;
    --surface-2:     #251F19;
    --sand:          #262019;
    --sand-2:        #2F2720;
    --line:          #372F27;
    --line-strong:   #5B5043;
    --ink:           #F6F0E7;
    --ink-2:         #C8BCAC;
    --ink-3:         #958775;

    --red:        #F4585C;
    --red-fill:   #E5202A;
    --red-hover:  #FF7A7D;
    --red-soft:   #2E1512;
    --on-red:     #FFF5F2;

    --charcoal:   #221D18;
    --charcoal-2: #2B2520;
    --focus: #F4585C;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --ground:        #16120E;
  --ground-deep:   #100D0A;
  --surface:       #1E1914;
  --surface-2:     #251F19;
  --sand:          #262019;
  --sand-2:        #2F2720;
  --line:          #372F27;
  --line-strong:   #5B5043;
  --ink:           #F6F0E7;
  --ink-2:         #C8BCAC;
  --ink-3:         #958775;

  --red:        #F4585C;
  --red-fill:   #E5202A;
  --red-hover:  #FF7A7D;
  --red-soft:   #2E1512;
  --on-red:     #FFF5F2;

  --charcoal:   #221D18;
  --charcoal-2: #2B2520;
  --focus: #F4585C;
  color-scheme: dark;
}

/* --------------------------------------------------------------- base --- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-text);
  font-optical-sizing: auto;
  font-size: 18px;
  line-height: 1.66;
  font-synthesis-weight: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 112;
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.04;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }

.wrap { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 60ch; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--red-fill); flex: none; }

.lede { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.56; color: var(--ink-2); }
.small { font-size: 15px; color: var(--ink-3); line-height: 1.6; }

/* ------------------------------------------------------------ buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-ui);
  font-variation-settings: "wdth" 105;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 24px;
  border: 2px solid transparent;
  background: var(--red-fill);
  color: var(--on-red);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover { background: var(--red-hover); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); background: transparent; }
.cta .btn--ghost { color: var(--on-dark); border-color: rgba(255,255,255,.3); }
.cta .btn--ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
.arrow { font-family: var(--f-mono); font-size: 13px; }

/* --------------------------------------------------------------- mark --- */

.mark { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.mark svg { height: 38px; width: auto; flex: none; }
.mark__text { display: flex; flex-direction: column; line-height: 1; }
.mark__name {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 118;
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
  white-space: nowrap;
}
.mark__sub {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 100;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 5px;
  white-space: nowrap;
}

/* ------------------------------------------------------------- header --- */

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head::after {
  content: ""; display: block; height: 3px;
  background: var(--red-fill);
  position: absolute; inset: auto 0 -1px 0;
}
.site-head__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  font-family: var(--f-ui);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2);
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--line-strong); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red-fill); }

.head-cta { display: flex; align-items: center; gap: 14px; }
.head-phone { font-family: var(--f-mono); font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.head-phone__short { display: none; }

.nav-toggle {
  display: none; background: none;
  border: 2px solid var(--ink); color: var(--ink);
  font-family: var(--f-ui); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 13px; cursor: pointer;
}

@media (max-width: 1010px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 18px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav-toggle { display: block; }
  .site-head__inner { position: relative; }
  .head-phone { display: none; }
}
@media (max-width: 680px) {
  .site-head__inner { gap: 10px; min-height: 66px; }
  .mark { min-width: 0; overflow: hidden; }
  .mark svg { height: 30px; }
  .mark__name { font-size: 15px; }
  .mark__sub { font-size: 7.5px; letter-spacing: 0.13em; }
  .head-cta .btn { display: none; }
  .head-phone {
    display: inline-block; font-size: 12.5px; padding: 9px 11px;
    border: 2px solid var(--red-fill); color: var(--red);
    font-weight: 500;
  }
  .nav-toggle { padding: 9px 11px; }
}

@media (max-width: 480px) {
  .mark { overflow: visible; }
  .mark__sub { display: none; }
  .mark__name {
    font-size: 13.5px;
    white-space: normal;
    line-height: 1.06;
    max-width: 8ch;
  }
  .head-phone__full { display: none; }
  .head-phone__short {
    display: inline; font-family: var(--f-ui); font-weight: 700;
    font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  }
}

/* ------------------------------------------------------------ imagery --- */

.swatch { width: 100%; height: 100%; display: block; }

.tile { position: relative; overflow: hidden; background: var(--sand); }
.tile__label {
  position: absolute; left: 0; bottom: 0;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: rgba(20,16,12,.72);
  padding: 6px 10px;
}

/* material band — full-width strip of drawn materials under the hero */
.matband {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.matband .tile { aspect-ratio: 16 / 7; }
@media (max-width: 720px) {
  .matband { grid-template-columns: repeat(2, 1fr); }
  .matband .tile { aspect-ratio: 16 / 8; }
}

/* hero lead capture card */
.leadcard {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px -28px rgba(40, 26, 14, .45);
  align-self: start;
}
.leadcard__head {
  background: var(--red-fill);
  color: var(--on-red);
  padding: 18px clamp(20px, 2.2vw, 26px);
}
.leadcard__title {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 110;
  font-weight: 800;
  font-size: clamp(19px, 1.9vw, 23px);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.leadcard__sub {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: .82;
  margin-top: 7px;
}
.leadcard__body { padding: clamp(20px, 2.2vw, 26px); gap: 14px; }
.leadcard .field input, .leadcard .field select { padding: 11px 12px; font-size: 16px; }
.leadcard .row2 { gap: 14px; }
.leadcard .opt {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--line-strong);
  text-transform: uppercase;
}
.leadcard__go { justify-content: center; width: 100%; padding: 15px 20px; font-size: 15px; }
.leadcard__fine { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.leadcard__fine a { font-family: var(--f-mono); color: var(--red); text-decoration: none; }
@media (max-width: 900px) { .leadcard { box-shadow: none; } }

/* trust strip under the hero headline */
.trustline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.trustline span { display: flex; align-items: center; gap: 8px; }
.trustline span::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--red-fill);
  flex: none;
}
.trustline a { color: var(--ink); text-decoration: none; font-size: 15px; letter-spacing: 0.02em; }

/* -------------------------------------------------------------- hero ---- */

.hero { border-bottom: 1px solid var(--line); background: var(--surface); }
.hero__inner {
  padding-block: clamp(44px, 6vw, 84px) clamp(40px, 5vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(30px, 4.5vw, 60px);
  align-items: center;
}
.hero--plain .hero__inner { grid-template-columns: 1fr; }
.hero h1 { font-size: clamp(36px, 4.9vw, 60px); margin-top: 20px; max-width: 16ch; line-height: 1.0; }
.hero h1 .set { color: var(--red); }
.hero__lede { margin-top: 24px; max-width: 54ch; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } }

/* the two front doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); background: var(--line); gap: 1px; }
.door {
  padding: 0; display: flex; flex-direction: column;
  text-decoration: none; background: var(--surface);
  transition: background .2s ease;
}
.door--residential { background: var(--surface-2); }
.door:hover { background: var(--sand); }
.door__img { aspect-ratio: 16 / 7; overflow: hidden; position: relative; }
.door__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.door h2 { font-size: clamp(25px, 2.5vw, 33px); max-width: 20ch; }
.door__list {
  list-style: none; margin: 2px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px 8px;
  font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3);
}
.door__list li { border: 1px solid var(--line); padding: 4px 9px; }
.door__go {
  margin-top: auto; padding-top: 18px;
  font-family: var(--f-ui); font-size: 13px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--red);
  display: flex; align-items: center; gap: 9px;
}
.door__go .arrow { transition: transform .18s ease; }
.door:hover .door__go .arrow { transform: translateX(5px); }
@media (max-width: 800px) { .doors { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ sections -- */

section[id], div[id] { scroll-margin-top: 92px; }
.band { padding-block: clamp(52px, 6.2vw, 94px); border-bottom: 1px solid var(--line); }
.band--surface { background: var(--surface); }
.band--deep { background: var(--ground-deep); }
.band--sand { background: var(--sand); }

.band__head { display: flex; flex-direction: column; gap: 18px; max-width: 64ch; }
.band__head h2 { font-size: clamp(28px, 3.4vw, 45px); }

.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.stack-40 { display: flex; flex-direction: column; gap: clamp(28px, 3.6vw, 46px); }

.ribbon {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-bottom: 1px solid var(--line); background: var(--ground-deep); margin: 0;
}
.ribbon > div { padding: 24px clamp(18px, 2vw, 30px); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.ribbon > div:first-child { border-left: 0; }
.ribbon dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.ribbon dd { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 105; font-size: 15.5px; font-weight: 600; line-height: 1.35; }

.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* material / system cards, now with artwork */
.systems { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.system { background: var(--surface); display: flex; flex-direction: column; }
.systems--2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
@media (max-width: 560px) { .systems--2 { grid-template-columns: 1fr; } }
.system__img { aspect-ratio: 16 / 7; overflow: hidden; }
.system__body { padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 12px; }
.system__name { font-family: var(--f-display); font-variation-settings: "wdth" 110; font-weight: 800; font-size: 21px; letter-spacing: -0.018em; line-height: 1.14; }
.system__spec { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--red); }
.system p { font-size: 16px; color: var(--ink-2); line-height: 1.6; }

/* --------------------------------------- interactive assembly diagram --- */

.asm { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
@media (max-width: 900px) { .asm { grid-template-columns: 1fr; } }

.asm__stage { border: 1px solid var(--line); background: var(--surface); padding: 18px; }
.asm__stage svg { width: 100%; height: auto; display: block; }
.asm__layers { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); }
.asm__btn {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center; gap: 14px;
  padding: 14px 18px; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; color: var(--ink);
  font-family: var(--f-text); font-size: 16px; text-align: left; cursor: pointer;
  transition: background .14s ease;
  width: 100%;
}
.asm__btn:last-of-type { border-bottom: 0; }
.asm__btn:hover { background: var(--sand); }
.asm__btn[aria-pressed="true"] { background: var(--red-soft); }
.asm__btn[aria-pressed="true"] .asm__n { color: var(--red); }
.asm__n { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); }
.asm__nm { font-family: var(--f-display); font-variation-settings: "wdth" 105; font-weight: 700; font-size: 15.5px; }
.asm__sp { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.asm__detail { border: 1px solid var(--line); border-top: 0; background: var(--sand); padding: 20px; display: grid; gap: 10px; }
.asm__detail h3 { font-size: 19px; }
.asm__detail p { font-size: 16px; color: var(--ink-2); }
.asm__detail .why { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
@media (max-width: 560px) {
  .asm__btn { grid-template-columns: 26px minmax(0,1fr); gap: 10px; }
  .asm__sp { grid-column: 2; text-align: left; }
}

/* ------------------------------------------------- system selector ------ */

.sel { border: 1px solid var(--line); background: var(--surface); }
.sel__q { padding: clamp(20px, 2.4vw, 28px); border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.sel__q > p { font-family: var(--f-display); font-variation-settings: "wdth" 108; font-weight: 700; font-size: 17px; }
.sel__q .n { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--red); }
.sel__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.sel__opt {
  font-family: var(--f-ui); font-size: 13.5px; font-weight: 600;
  padding: 10px 16px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink-2); cursor: pointer;
  transition: all .14s ease;
}
.sel__opt:hover { border-color: var(--ink); color: var(--ink); }
.sel__opt[aria-pressed="true"] { background: var(--red-fill); border-color: var(--red-fill); color: var(--on-red); }
.sel__out { padding: clamp(20px, 2.4vw, 28px); background: var(--sand); display: grid; gap: 12px; }
.sel__out .eyebrow { color: var(--ink-3); }
.sel__pick { font-family: var(--f-display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; }
.sel__why { font-size: 16px; color: var(--ink-2); max-width: 60ch; }
.sel__note { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); }

/* ---------------------------------------------- material comparison ----- */

.cmp { border: 1px solid var(--line); background: var(--surface); overflow-x: auto; }
.cmp table { width: 100%; border-collapse: collapse; min-width: 620px; }
.cmp th, .cmp td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp thead th {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 500;
  background: var(--ground-deep); white-space: nowrap;
}
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr:hover { background: var(--surface-2); }
.cmp .mat { font-family: var(--f-display); font-variation-settings: "wdth" 105; font-weight: 700; font-size: 15.5px; }
.cmp .mat small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.bar { display: flex; align-items: center; gap: 10px; }
.bar__track { flex: 1; min-width: 60px; height: 9px; background: var(--sand-2); position: relative; }
.bar__fill { position: absolute; inset: 0 auto 0 0; background: var(--red-fill); border-radius: 0 4px 4px 0; }
.bar__v { font-family: var(--f-mono); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 62px; }
.cmp tr[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters .lbl { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }

/* -------------------------------------------- quote / repair request ---- */

.request { background: var(--sand); border: 1px solid var(--line); }
.request__tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.request__tab {
  font-family: var(--f-ui); font-size: 14px; font-weight: 700;
  letter-spacing: 0.04em; padding: 18px 16px;
  background: var(--ground-deep); color: var(--ink-3);
  border: 0; border-right: 1px solid var(--line); cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .14s ease, color .14s ease;
}
.request__tab:last-child { border-right: 0; }
.request__tab:hover { color: var(--ink); }
.request__tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: inset 0 3px 0 var(--red-fill); }
.request__tab .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-fill); flex: none; opacity: 0; }
.request__tab[aria-selected="true"] .dot { opacity: 1; }
.request__panel { padding: clamp(22px, 3vw, 36px); background: var(--surface); }
.request__panel[hidden] { display: none; }
.request__intro { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.request__intro h3 { font-size: clamp(21px, 2.2vw, 27px); }
.urgent {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  background: var(--red-soft); border-left: 4px solid var(--red-fill);
  padding: 14px 18px; margin-bottom: 22px;
}
.urgent p { font-size: 15px; color: var(--ink-2); }
.urgent a { font-family: var(--f-mono); font-weight: 500; font-size: 15px; color: var(--red); white-space: nowrap; }

/* process steps */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--surface); display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: clamp(16px, 3vw, 36px); padding: clamp(22px, 2.5vw, 30px) clamp(18px, 2.5vw, 30px); }
.step__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--red); padding-top: 5px; }
.step h3 { font-size: 23px; margin-bottom: 9px; }
.step p { font-size: 16px; color: var(--ink-2); }
@media (max-width: 640px) { .step { grid-template-columns: 1fr; gap: 10px; } }

/* project case cards */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cases--2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
@media (max-width: 560px) { .cases--2 { grid-template-columns: 1fr; } }
.case { background: var(--surface); display: flex; flex-direction: column; }
.case__img { aspect-ratio: 16 / 9; overflow: hidden; }
.case__body { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.case__tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.case h3 { font-size: 23px; }
.case p { font-size: 16px; color: var(--ink-2); }
.facts { margin: auto 0 0; padding: 18px 0 0; border-top: 2px solid var(--red-fill); display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 14px; }
.facts div { display: flex; flex-direction: column; gap: 4px; }
.facts .k { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-3); }
.facts .v { font-family: var(--f-mono); font-size: 14.5px; font-variant-numeric: tabular-nums; font-weight: 500; }

/* hairline feature list */
.rules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rules li { padding: 17px 0; border-bottom: 1px solid var(--line); display: grid; gap: 5px; }
.rules strong { font-family: var(--f-display); font-variation-settings: "wdth" 105; font-weight: 700; font-size: 16px; }
.rules span { font-size: 16px; color: var(--ink-2); }

/* FAQ */
.faqs { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 620px) { .faqs { grid-template-columns: 1fr; } }
.faq { background: var(--surface); padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 12px; }
.faq__q {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 108;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.faq__a { font-size: 16px; color: var(--ink-2); line-height: 1.62; }

/* CTA band — the one dark moment */
.cta { background: var(--charcoal); color: var(--on-dark); padding-block: clamp(50px, 6vw, 86px); position: relative; }
.cta::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--red-fill); }
.cta h2 { font-size: clamp(28px, 3.6vw, 46px); color: var(--on-dark); }
.cta .eyebrow { color: var(--on-dark-3); }
.cta .lede, .cta p { color: var(--on-dark-2); }

/* forms */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font-family: var(--f-text); font-size: 17px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong);
  padding: 12px 13px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red-fill); }
.field textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }

/* footer */
.site-foot { background: var(--charcoal); color: var(--on-dark); padding-block: clamp(44px, 5vw, 68px) 28px; }
.site-foot .mark__sub { color: var(--on-dark-3); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(26px, 4vw, 48px); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col h4 { font-family: var(--f-mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 15px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 15.5px; color: var(--on-dark-2); text-decoration: none; }
.foot-col a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.site-foot .small { color: var(--on-dark-3); }
.foot-bottom {
  margin-top: clamp(34px, 4vw, 54px); padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--on-dark-3);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
