/* Your Fabrication Co. (welding, fabrication, and powder coating industry site).
   Borrows Improvement Journey's broad ideas (numbered steps joined by a line, alternating text
   and drawings, large numerals, pale panels, strong accent actions) and makes them industrial:
   dark steel bands, pale steel panels, 2px ink outlines, Bespoke Slab headings, Switzer text, and
   one spark amber for actions and the step numerals. The line that joins the steps is drawn as a
   weld bead (a mask over --seam). Fonts are declared in inc/head.html (they need /showcase/assets).
   Drawings in inc/ read the --d-* tokens through the classes under "Drawings". Contrast pairs
   are checked by tools/contrast.py. */

:root {
  color-scheme: light;
  --paper: #f3f3f1; --card: #ffffff; --panel: #e4e7e9; --picked: #fff3d1;
  --ink: #14181c; --body: #353d45; --muted: #525b64; --line: #cdd2d6; --line-strong: #8a939b;
  --field-bg: #ffffff; --field-line: #6c757e; --ph: #5f6871; --invalid: #b3261e;
  --accent: #f5a300; --accent-hover: #ffb92e; --on-accent: #14181c;
  --link: #14181c; --link-line: #c98500; --link-hover: #7a4e00;
  --focus: #14181c; --select: #ffd88a; --select-fg: #14181c;
  --steel: #1c2126; --steel-2: #262c33; --steel-3: #3a434c; --steel-fg: #ffffff; --steel-copy: #c5ccd2;
  --steel-muted: #a3adb6; --steel-line: #8b96a0; --steel-focus: #ffc04d; --seam: #6b7781;
  --footer: #111417; --footer-copy: #b9c1c8; --footer-rule: #2c333a;
  --open: #3fb26b; --closed: #8a949d;
  --display: "Bespoke Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --text: Switzer, "Helvetica Neue", Arial, sans-serif;
  --side: 40px; --section: 96px;
  --bead-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 6'%3E%3Cpath d='M1 6Q8-5 15 6Q8 1.5 1 6Z'/%3E%3C/svg%3E");
  --bead-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 16'%3E%3Cpath d='M0 1Q11 8 0 15Q4.5 8 0 1Z'/%3E%3C/svg%3E");

  /* drawings */
  --d-bg: #e2e6e8; --d-wall: #d3d8dc; --d-wall-lo: #c2c8cd; --d-floor: #aab2b8; --d-line: #14181c;
  --d-s0: #c3cad0; --d-s1: #9aa3ab; --d-s2: #737d86; --d-s3: #3d454d;
  --d-x0: #f2f5f7; --d-x1: #d5dce1; --d-x2: #aab4bc;
  --d-a0: #f6f6f1; --d-a1: #dfe0d8; --d-a2: #b9bbb1;
  --d-r0: #eba79d; --d-r1: #b8352a; --d-g1: #3f6e55; --d-g2: #2d533f;
  --d-y0: #ffe08a; --d-y1: #f2b705; --d-y2: #c99400; --d-b1: #2f5c93; --d-b2: #20446f;
  --d-n0: #4a525a; --d-n1: #262b30; --d-z1: #9a7446; --d-z2: #6e5230; --d-or: #e0662a; --d-or2: #f08a52;
  --d-spark: #ffb000; --d-spark-hi: #ffe7a0; --d-arc: #ffffff; --d-glow: rgba(255, 214, 102, .55); --d-hot: #ff7a1a;
  --d-t1: #d9b25c; --d-t2: #5b78a8; --d-t3: #8a5f8f; --d-w1: #cfa16a; --d-w2: #a87b46;
  --d-paper: #fbfbf7; --d-print: #4a5560; --d-glass: #9fb4c3; --d-water: #8fb4c6; --d-wave: #d4e4eb;
  --d-shadow: rgba(20, 24, 28, .16); --d-smoke: rgba(255, 255, 255, .6); --d-cup: #d98e6a; --d-lcd: #ffcf5a;
  --d-go: #3fb26b; --d-ham: #8a939b; --d-ham2: #6c757e; --d-candy: rgba(190, 30, 45, .58); --d-sw: #2a3f59;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-synthesis: none; }
body { margin: 0; padding-bottom: 52px; background: var(--paper); color: var(--body); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
p { margin: 0 0 16px; }
a { color: var(--link); text-decoration-color: var(--link-line); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
a[href^="tel:"] { white-space: nowrap; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
blockquote, figure, dl, dd { margin: 0; }
em, i, cite, address { font-style: normal; }
svg { max-width: 100%; }
::selection { background: var(--select); color: var(--select-fg); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 60; padding: 12px 18px; background: var(--accent); color: var(--on-accent); border: 2px solid var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(1240px, calc(100% - 2 * var(--side))); margin: 0 auto; }
.arw { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Dark surfaces: white type, amber link lines, amber focus. */
.site-header, .hero, .page-head, .process, .cta, .footer, .side-panel {
  --focus: var(--steel-focus); --link: #ffffff; --link-hover: var(--accent); --link-line: var(--accent);
}

/* Buttons and links */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px;
  font: 600 16px/1.2 var(--text); color: var(--on-accent); background: var(--accent); border: 2px solid var(--ink); border-radius: 2px;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.button:hover { color: var(--on-accent); background: var(--accent-hover); }
.button-ghost { color: #ffffff; background: transparent; border-color: var(--steel-line); }
.button-ghost:hover { color: #ffffff; background: var(--steel-2); border-color: #ffffff; }
.button-line { color: var(--ink); background: var(--card); border-color: var(--ink); }
.button-line:hover { color: #ffffff; background: var(--ink); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0;
  font: 600 16px/1.3 var(--text); color: var(--link); background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--link-line); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.text-link:hover { color: var(--link-hover); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Header */
.site-header { position: relative; z-index: 30; background: var(--steel); border-bottom: 4px solid var(--accent); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 700 21px/1 var(--display); letter-spacing: -.01em; color: #ffffff; text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: #ffffff; }
.mark { width: 34px; height: 34px; flex: none; }
.mark-plate { fill: var(--accent); }
.mark-beam { fill: var(--ink); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding-top: 3px; border-bottom: 3px solid transparent; font: 500 15px/1.2 var(--text); color: #e6eaed; text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: #ffffff; border-bottom-color: var(--steel-line); }
.nav-links a[aria-current] { color: #ffffff; border-bottom-color: var(--accent); }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 15px/1 var(--text); color: #ffffff; text-decoration: none; }
.nav-phone:hover { color: var(--accent); }
.i-sm { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; }
.nav-cta { min-height: 46px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; }

/* Home hero */
.hero { background: var(--steel); color: var(--steel-copy); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; padding: 64px 0 60px; }
.hero h1 { color: #ffffff; font-size: clamp(40px, 4.4vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; }
.lede { font-size: 20px; line-height: 1.55; }
.hero .lede { max-width: 560px; margin: 22px 0 0; }
.art-frame { position: relative; background: var(--d-bg); border-radius: 2px; }
.art-frame svg { display: block; width: 100%; height: auto; }
.hero-art, .head-art { margin: 12px 12px 0 0; }
.hero-art::before, .head-art::before {
  content: ""; position: absolute; right: -12px; top: -12px; width: 72px; height: 72px;
  border-top: 6px solid var(--accent); border-right: 6px solid var(--accent); pointer-events: none;
}
.facts-bar { background: var(--steel-2); border-top: 1px solid var(--steel-3); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts > div { padding: 22px 24px; border-left: 1px solid var(--steel-3); }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts dt { font-size: 14px; font-weight: 500; color: var(--steel-muted); }
.facts dd { margin-top: 4px; font: 600 17px/1.4 var(--text); color: #ffffff; }
.facts a { color: #ffffff; }
.status { display: flex; width: fit-content; align-items: center; gap: 7px; margin: 2px 0 8px; padding: 2px 9px; border: 1px solid var(--steel-line); border-radius: 2px; font: 600 13px/1.5 var(--text); color: #ffffff; vertical-align: middle; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--closed); }
.status.is-open::before { background: var(--open); }

/* Interior page heads */
.page-head { background: var(--steel); color: var(--steel-copy); padding: 8px 0 64px; }
.page-head-short { padding-bottom: 52px; }
.page-head-404 { padding-top: 56px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; font-size: 15px; }
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; color: var(--steel-muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--steel-copy); text-decoration-color: var(--steel-line); }
.crumbs a:hover { color: #ffffff; }
.crumbs [aria-current] { color: #ffffff; }
.head-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 56px; align-items: center; margin-top: 16px; }
.head-grid-text { grid-template-columns: minmax(0, 1fr); }
.head-copy { max-width: 760px; }
.page-head h1 { color: #ffffff; font-size: clamp(42px, 5vw, 68px); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.page-head .lede { max-width: 640px; margin: 18px 0 0; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--steel-line); border-radius: 2px; font-weight: 600; font-size: 15px; color: #ffffff; text-decoration: none; }
.jump a:hover { color: #ffffff; border-color: var(--accent); }
.links-list { display: flex; flex-direction: column; margin-top: 24px; max-width: 420px; border-top: 1px solid var(--steel-3); }
.links-list a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--steel-3); font-weight: 600; color: #ffffff; text-decoration: none; }
.links-list a:hover { color: var(--accent); }

/* Sections */
.section { padding: var(--section) 0; }
.section:not(.section-panel) + .section:not(.section-panel) { padding-top: 0; }
.section-panel { background: var(--panel); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2, .split-copy h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.015em; }
.section-head p { margin: 14px 0 0; font-size: 18px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head-row > div { max-width: 700px; }
.section-head-row .button { flex: none; }
.after-grid { margin: 28px 0 0; }
.ticks li { position: relative; margin-top: 8px; padding-left: 24px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 11px; background: var(--accent); border: 2px solid var(--ink); }
.ticks-x li::before { background: var(--line-strong); border-color: var(--line-strong); }
.ticks-col li { margin: 0; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line-strong); font-weight: 600; color: var(--ink); }
.ticks-col li:first-child { border-top: 2px solid var(--ink); }
.ticks-col li::before { top: 1.2em; }

/* Capabilities */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cap { position: relative; display: flex; flex-direction: column; background: var(--card); border: 2px solid var(--ink); border-radius: 2px; transition: transform .15s; }
.cap:hover { transform: translateY(-3px); }
.cap:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.cap-art { background: var(--d-bg); border-bottom: 2px solid var(--ink); }
.cap-art svg { display: block; width: 100%; height: auto; }
.cap-body { padding: 24px 24px 28px; }
.cap h3 { font-size: 28px; font-weight: 800; }
.cap h3 a { color: var(--ink); text-decoration: none; }
.cap h3 a::after { content: ""; position: absolute; inset: 0; }
.cap h3 a:focus-visible { outline: none; }
.cap h3 .arw { display: inline-block; width: 16px; height: 16px; margin-left: 12px; vertical-align: .08em; stroke-width: 2; }
.cap p { margin: 10px 0 14px; }

/* Process: numbered steps joined by a weld bead */
.process { padding: var(--section) 0; background: var(--steel); color: var(--steel-copy); }
.section-head-dark h2 { color: #ffffff; }
.section-head-dark p { color: var(--steel-copy); }
.steps { margin-top: 64px; }
.step { --node-y: 50%; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 128px; align-items: center; padding-bottom: 80px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 18px; margin-left: -9px; background: var(--seam);
  -webkit-mask: var(--bead-v) repeat-y center top / 18px 7px; mask: var(--bead-v) repeat-y center top / 18px 7px;
}
.step:first-child::before { top: var(--node-y); }
.step:last-child::before { bottom: auto; height: var(--node-y); }
.step::after {
  content: ""; position: absolute; left: 50%; top: var(--node-y); width: 26px; height: 26px; margin: -13px 0 0 -13px;
  background: var(--accent); border: 4px solid var(--steel); box-shadow: 0 0 0 2px var(--accent); transform: rotate(45deg);
}
.step-text { max-width: 500px; }
.step:nth-child(odd) .step-text { justify-self: end; }
.step:nth-child(even) .step-text { order: 2; }
.step:nth-child(even) .step-art { order: 1; }
.step-num { display: block; font: 800 112px/1.08 var(--display); letter-spacing: -.04em; color: var(--accent); font-variant-numeric: lining-nums; }
.step h3 { margin-top: 0; font-size: 32px; font-weight: 800; color: #ffffff; }
.step p { margin: 12px 0 0; }
.step .step-out { position: relative; margin-top: 18px; padding-left: 24px; font-weight: 600; color: #ffffff; }
.step-out::before { content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 11px; background: var(--accent); }

/* Project cards and the gallery */
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.project[hidden], .project-grid[hidden], .empty[hidden] { display: none; }
.project-card { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 2px solid var(--ink); border-radius: 2px; }
.project-art { background: var(--d-bg); border-bottom: 2px solid var(--ink); }
.project-art svg { display: block; width: 100%; height: auto; }
.project-body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 14px; }
.project-body h3 { font-size: 23px; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { padding: 3px 9px; border-radius: 2px; font: 600 13px/1.4 var(--text); color: var(--ink); background: var(--panel); }
.tag-mat { color: #ffffff; background: var(--ink); }
.project-body p { margin: 12px 0 6px; font-size: 16px; }
.project-body .text-link { align-self: flex-start; margin-top: auto; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 36px; margin-bottom: 32px; padding: 24px; background: var(--card); border: 2px solid var(--ink); border-radius: 2px; }
html:not(.js) .filters { display: none; }
.filter { min-width: 0; margin: 0; padding: 0; border: 0; }
.filter legend { margin-bottom: 10px; padding: 0; font: 700 19px/1.2 var(--display); color: var(--ink); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; display: block; }
.seg input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 2px; font-weight: 600; font-size: 16px; color: var(--ink); background: var(--card); }
.seg label:hover span { background: var(--panel); }
.seg input:checked + span { background: var(--accent); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.filter-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-left: auto; min-height: 46px; }
.count { margin: 0; font-weight: 600; color: var(--ink); }
.empty { display: flex; gap: 24px; align-items: flex-start; padding: 32px; background: var(--card); border: 2px dashed var(--ink); border-radius: 2px; }
.empty .icon { flex: none; }
.empty h3 { font-size: 26px; font-weight: 800; }
.empty p { margin: 10px 0 0; max-width: 640px; }
.empty-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 20px; }
.empty .empty-actions { margin-top: 20px; }

/* Materials and reviews (home) */
.mat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mat { padding: 24px; background: var(--card); border: 2px solid var(--ink); border-radius: 2px; }
.mat-chip { max-width: 200px; margin: -4px 0 14px; }
.mat-chip svg { display: block; width: 100%; height: auto; }
.mat h3 { font-size: 24px; font-weight: 800; }
.mat p { margin: 10px 0 0; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.reviews li { padding: 4px 0 4px 24px; border-left: 6px solid var(--accent); }
.reviews blockquote p { margin: 0; font: 500 19px/1.5 var(--text); color: var(--ink); }
.reviews .who { margin: 14px 0 0; font-weight: 600; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq details { border-top: 2px solid var(--ink); }
.faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding: 14px 0; font: 700 20px/1.35 var(--display); color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--ink); border-radius: 2px; background: var(--accent); font: 600 22px/1 var(--text); color: var(--ink); }
.faq details[open] summary::after { content: "\2212"; background: var(--card); }
.faq summary:hover { color: var(--link-hover); }
.faq .answer { padding: 0 56px 22px 0; }
.faq .answer p { margin: 0; }

/* CTA band */
.cta { background: var(--steel); color: var(--steel-copy); border-top: 6px solid var(--accent); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding: 76px 0; }
.cta h2 { color: #ffffff; font-size: clamp(32px, 3.4vw, 46px); font-weight: 800; }
.cta p { max-width: 600px; margin: 14px 0 0; font-size: 18px; }
.cta-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; border-top: 1px solid var(--steel-3); }
.cta-facts > div { min-width: 0; padding: 16px 0; border-bottom: 1px solid var(--steel-3); }
.cta-facts dt { font-size: 14px; font-weight: 500; color: var(--steel-muted); }
.cta-facts dd { margin-top: 4px; font-weight: 600; color: #ffffff; overflow-wrap: anywhere; }
.cta-facts a { color: #ffffff; }

/* Service pages */
.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.method { padding: 26px 24px; background: var(--card); border: 2px solid var(--ink); border-radius: 2px; }
.method h3 { margin-top: 14px; font-size: 28px; font-weight: 800; }
.method p { margin: 8px 0 0; }
.icon { width: 48px; height: 48px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon .hl { fill: var(--accent); }
.method .icon, .op .icon, .pcc .icon, .empty .icon { width: 68px; height: 68px; padding: 9px; background: var(--panel); border-radius: 2px; }
.table-wrap { margin-top: 40px; overflow-x: auto; background: var(--card); border: 2px solid var(--ink); border-radius: 2px; }
.section-head + .table-wrap { margin-top: 0; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec-table caption { padding: 16px 20px; text-align: left; font: 700 21px/1.3 var(--display); color: var(--ink); border-bottom: 2px solid var(--ink); }
.spec-table caption.sr-only { padding: 0; border: 0; }
.spec-table th, .spec-table td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table thead th { font: 600 14px/1.3 var(--text); color: var(--ink); background: var(--panel); border-bottom: 2px solid var(--ink); }
.spec-table tbody th { width: 26%; font: 700 17px/1.35 var(--display); color: var(--ink); }
.spec-table tbody tr:last-child > * { border-bottom: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.split-copy p { margin: 16px 0 0; font-size: 18px; }
.ops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--card); border: 2px solid var(--ink); border-radius: 2px; }
.op { padding: 28px 24px; border-left: 1px solid var(--line-strong); }
.op:first-child { border-left: 0; }
.op h3 { margin-top: 14px; font-size: 26px; font-weight: 800; }
.op p { margin: 8px 0 0; font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 16px; background: var(--card); border: 2px solid var(--ink); border-radius: 2px; font-weight: 600; color: var(--ink); }
.runs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.runs li { padding: 24px; background: var(--card); border: 2px solid var(--ink); border-top-width: 8px; border-radius: 2px; }
.runs h3 { font-size: 24px; font-weight: 800; }
.runs p { margin: 8px 0 0; }
.pcc { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pcc::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 52px; height: 18px; background: var(--seam);
  -webkit-mask: var(--bead-h) repeat-x left center / 7px 18px; mask: var(--bead-h) repeat-x left center / 7px 18px;
}
.pcc li { position: relative; padding: 28px 24px; background: var(--card); border: 2px solid var(--ink); border-radius: 2px; }
.pcc-num { position: absolute; top: -2px; right: -2px; display: grid; place-items: center; width: 56px; height: 56px; background: var(--accent); border: 2px solid var(--ink); font: 800 28px/1 var(--display); color: var(--ink); }
.pcc h3 { margin-top: 14px; font-size: 28px; font-weight: 800; }
.pcc p { margin: 8px 0 0; }
.finish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.finish { padding: 24px; background: var(--card); border: 2px solid var(--ink); border-radius: 2px; }
.finish-chips { max-width: 320px; margin-bottom: 16px; }
.finish-chips svg { display: block; width: 100%; height: auto; }
.finish h3 { font-size: 24px; font-weight: 800; }
.finish p { margin: 8px 0 0; }
.two-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.two-lists h3 { padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-size: 22px; font-weight: 800; }
.two-lists .ticks li { margin-top: 12px; }

/* Equipment */
.plan-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 48px; align-items: center; }
.plan-copy h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; }
.plan-copy > p { margin: 14px 0 24px; font-size: 18px; }
.plan-legend { counter-reset: zone; border-top: 2px solid var(--ink); }
.plan-legend li { counter-increment: zone; display: flex; align-items: center; gap: 14px; min-height: 48px; border-bottom: 1px solid var(--line-strong); font-weight: 600; color: var(--ink); }
.plan-legend li::before { content: counter(zone); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 50%; background: var(--accent); font: 700 15px/1 var(--display); }
.plan-art { border: 2px solid var(--ink); margin: 0; }

/* Quote */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.qform, .result { padding: 32px; background: var(--card); border: 2px solid var(--ink); border-radius: 2px; }
.qset { min-width: 0; margin: 0 0 12px; padding: 0; border: 0; }
.qset legend { display: block; width: 100%; margin-bottom: 22px; padding: 0 0 12px; border-bottom: 2px solid var(--ink); font: 800 26px/1.2 var(--display); color: var(--ink); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field { min-width: 0; margin-bottom: 22px; }
.field-wide { grid-column: 1 / -1; }
.field > label, .field-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--ink); }
.opt { font-size: 14px; font-weight: 400; color: var(--muted); }
.hint { margin: -2px 0 8px; font-size: 15px; color: var(--muted); }
.field input:not([type="checkbox"]):not([type="file"]), .field select, .field textarea, .result textarea {
  display: block; width: 100%; min-height: 50px; padding: 11px 14px; font: 17px/1.45 var(--text); color: var(--ink);
  background: var(--field-bg); border: 2px solid var(--field-line); border-radius: 2px;
}
.field select { appearance: none; padding-right: 44px; background: var(--field-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2314181c' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px; }
.field textarea { min-height: 140px; resize: vertical; }
.field ::placeholder { color: var(--ph); opacity: 1; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, .result textarea:focus-visible { border-color: var(--ink); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--invalid); }
.field-error { display: flex; gap: 8px; align-items: baseline; margin: 8px 0 0; font-size: 15px; font-weight: 600; color: var(--invalid); }
.field-error::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--invalid); }
.proc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.proc { position: relative; display: block; }
.proc input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.proc-box { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 108px; padding: 16px; border: 2px solid var(--field-line); border-radius: 2px; background: var(--field-bg); color: var(--ink); }
.proc-box::after { content: ""; position: absolute; right: 12px; top: 12px; width: 24px; height: 24px; border: 2px solid var(--field-line); border-radius: 2px; background: var(--field-bg); }
.proc:hover .proc-box { border-color: var(--ink); }
.proc input:checked + .proc-box { border-color: var(--ink); background: var(--picked); box-shadow: inset 0 0 0 1px var(--ink); }
.proc input:checked + .proc-box::after { border-color: var(--ink); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'%3E%3Cpath d='M1.5 6.5 5 10 12.5 1.5' fill='none' stroke='%2314181c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 14px 12px; }
.proc input:focus-visible + .proc-box { outline: 3px solid var(--focus); outline-offset: 3px; }
.proc .icon { width: 40px; height: 40px; }
.proc-name { font-size: 16px; font-weight: 600; }
.proc-tiles + .hint { margin: 10px 0 0; }
.drop { padding: 18px; background: var(--paper); border: 2px dashed var(--field-line); border-radius: 2px; }
.drop input[type="file"] { display: block; width: 100%; min-height: 48px; font: 16px/1.4 var(--text); color: var(--ink); }
.drop input[type="file"]::file-selector-button { min-height: 46px; margin-right: 14px; padding: 0 18px; font: 600 15px/1 var(--text); color: var(--on-accent); background: var(--accent); border: 2px solid var(--ink); border-radius: 2px; cursor: pointer; }
.drop .hint { margin: 10px 0 0; }
.file-list { margin-top: 12px; border: 2px solid var(--ink); border-radius: 2px; }
.file-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.file-list li:last-child { border-bottom: 0; }
.fname { min-width: 0; overflow-wrap: anywhere; font-weight: 600; color: var(--ink); }
.fsize { flex: none; color: var(--muted); }
.file-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; margin-top: 4px; font-size: 15px; color: var(--muted); }
.local-note { margin: 12px 0 0; padding: 12px 16px; background: var(--panel); border-left: 4px solid var(--ink); font-size: 15px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 24px; border-top: 2px solid var(--ink); }
.form-note { flex: 1 1 260px; margin: 0; font-size: 15px; color: var(--muted); }
.form-status { margin: 16px 0 0; font-weight: 600; color: var(--invalid); }
.form-status:empty { margin: 0; }
.result { margin-top: 24px; }
.result h2 { font-size: 30px; font-weight: 800; }
.result h2:focus { outline: none; }
.result > p { margin: 8px 0 18px; }
.result > label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--ink); }
.result textarea { min-height: 340px; font-size: 15px; line-height: 1.6; resize: vertical; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; }
.result-status { min-height: 1.6em; margin: 12px 0 0; font-weight: 600; color: var(--ink); }
.quote-side { position: sticky; top: 24px; display: grid; gap: 20px; }
.side-panel { padding: 28px; background: var(--steel); color: var(--steel-copy); border-top: 6px solid var(--accent); border-radius: 2px; }
.side-panel h2, .side-tips h2 { font-size: 24px; font-weight: 800; }
.side-panel h2 { color: #ffffff; }
.side-phone { display: inline-flex; align-items: center; min-height: 48px; margin-top: 8px; font: 800 32px/1.1 var(--display); color: #ffffff; text-decoration: none; }
.side-phone:hover { color: var(--accent); }
.side-panel p { margin: 6px 0 0; }
.side-panel p a { color: #ffffff; }
.side-hours { color: #ffffff; }
.side-tips { padding: 24px; background: var(--card); border: 2px solid var(--ink); border-radius: 2px; }
.side-tips .ticks { margin-top: 8px; }
.side-tips .ticks li { font-size: 16px; }

/* Privacy */
.doc { max-width: 760px; }
.doc h2 { margin: 40px 0 10px; font-size: 26px; font-weight: 800; }
.doc h2:first-child { margin-top: 0; }

/* Footer */
.footer { padding: 64px 0 28px; background: var(--footer); color: var(--footer-copy); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.15fr); gap: 40px; }
.footer .wordmark { font-size: 19px; }
.footer-brand p { max-width: 360px; margin: 16px 0 0; }
.footer h2 { margin-bottom: 8px; font: 700 18px/1.3 var(--display); color: #ffffff; }
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; color: #e6eaed; text-decoration: none; }
.footer-col a:hover { color: #ffffff; text-decoration: underline; text-decoration-color: var(--accent); }
.footer-col li { min-height: 40px; display: flex; align-items: center; }
.footer-hours { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--footer-rule); }
.footer-hours li { min-height: 0; padding: 2px 0; }
.footer-credit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: 48px 0 0; padding-top: 20px; border-top: 1px solid var(--footer-rule); font-size: 14px; color: var(--steel-muted); }
.footer-credit a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #e6eaed; }

/* Drawings: every fill and stroke reads a --d-* token. */
.d { display: block; width: 100%; height: auto; }
.d .o { stroke: var(--d-line); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.d .o1 { stroke: var(--d-line); stroke-width: 1.25; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.d .ln { fill: none; stroke: var(--d-line); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.d .k { fill: var(--d-line); } .d .bg { fill: var(--d-bg); } .d .wl { fill: var(--d-wall); } .d .fl { fill: var(--d-floor); }
.d .s0 { fill: var(--d-s0); } .d .s1 { fill: var(--d-s1); } .d .s2 { fill: var(--d-s2); } .d .s3, .d .hole { fill: var(--d-s3); }
.d .x0 { fill: var(--d-x0); } .d .x1 { fill: var(--d-x1); } .d .x2 { fill: var(--d-x2); }
.d .a0 { fill: var(--d-a0); } .d .a1 { fill: var(--d-a1); } .d .a2 { fill: var(--d-a2); }
.d .r0 { fill: var(--d-r0); } .d .r1 { fill: var(--d-r1); } .d .g1 { fill: var(--d-g1); } .d .g2 { fill: var(--d-g2); }
.d .y0 { fill: var(--d-y0); } .d .y1 { fill: var(--d-y1); } .d .y2 { fill: var(--d-y2); }
.d .b1 { fill: var(--d-b1); } .d .b2 { fill: var(--d-b2); } .d .n0 { fill: var(--d-n0); } .d .n1 { fill: var(--d-n1); }
.d .z1 { fill: var(--d-z1); } .d .z2 { fill: var(--d-z2); } .d .or { fill: var(--d-or); } .d .or2 { fill: var(--d-or2); }
.d .t1 { fill: var(--d-t1); } .d .t2 { fill: var(--d-t2); } .d .t3 { fill: var(--d-t3); }
.d .w1 { fill: var(--d-w1); } .d .w2 { fill: var(--d-w2); } .d .pp { fill: var(--d-paper); } .d .gl { fill: var(--d-glass); }
.d .wt { fill: var(--d-water); } .d .cup { fill: var(--d-cup); } .d .lcd { fill: var(--d-lcd); } .d .go { fill: var(--d-go); }
.d .sp { fill: var(--d-spark); } .d .glow { fill: var(--d-glow); } .d .arc { fill: var(--d-arc); } .d .hot { fill: var(--d-hot); }
.d .sh { fill: var(--d-shadow); } .d .smk { fill: var(--d-smoke); } .d .pw { fill: var(--d-r0); fill-opacity: .85; }
.d .ham { fill: var(--d-ham); } .d .ham2 { fill: var(--d-ham2); } .d .candy { fill: var(--d-candy); }
.d .strap { fill: var(--d-or); stroke: var(--d-line); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.d .bead { fill: var(--d-t1); stroke: var(--d-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.d .cut { fill: var(--d-s2); stroke: var(--d-line); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.d .seam { stroke: var(--d-wall-lo); stroke-width: 2; }
.d .pr { fill: none; stroke: var(--d-print); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.d .pr2 { fill: none; stroke: var(--d-ham); stroke-width: 3; stroke-linecap: round; }
.d .tk { stroke: var(--d-line); stroke-width: 1.2; }
.d .dsh { fill: none; stroke: var(--d-line); stroke-width: 1.5; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.d .dsh2 { fill: none; stroke: var(--d-r1); stroke-width: 2; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.d .spk { fill: none; stroke: var(--d-spark); stroke-width: 2; stroke-linecap: round; }
.d .spk2 { fill: none; stroke: var(--d-spark-hi); stroke-width: 1.5; stroke-linecap: round; }
.d .cab { fill: none; stroke: var(--d-n1); stroke-width: 6; stroke-linecap: round; }
.d .bd { fill: none; stroke: var(--d-s3); stroke-width: 3; stroke-linecap: round; }
.d .rod { stroke: var(--d-x2); stroke-width: 3; stroke-linecap: round; }
.d .tb { fill: none; stroke: var(--d-line); stroke-linecap: round; stroke-linejoin: round; }
.d .tbs { fill: none; stroke: var(--d-s0); stroke-linecap: round; stroke-linejoin: round; }
.d .tbx { fill: none; stroke: var(--d-x1); stroke-linecap: round; stroke-linejoin: round; }
.d .tba { fill: none; stroke: var(--d-a1); stroke-linecap: round; stroke-linejoin: round; }
.d .tbn { fill: none; stroke: var(--d-n0); stroke-linecap: round; stroke-linejoin: round; }
.d .tbg { fill: none; stroke: var(--d-g2); stroke-linecap: round; stroke-linejoin: round; }
.d .hi2 { fill: none; stroke: #ffffff; stroke-opacity: .7; stroke-width: 2; stroke-linecap: round; }
.d .chain { fill: none; stroke: var(--d-s3); stroke-width: 2.5; stroke-dasharray: 4 3; stroke-linecap: round; }
.d .wave { fill: none; stroke: var(--d-wave); stroke-width: 2; }
.d .zone { fill: var(--d-bg); stroke: var(--d-line); stroke-width: 1.25; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; }
.d .slat { stroke: var(--d-s1); stroke-width: 2; }
.d .hatch { fill: var(--d-s2); stroke: var(--d-hot); stroke-width: 2; stroke-dasharray: 4 6; }
.d .flow { fill: none; stroke: var(--d-line); stroke-width: 3; stroke-dasharray: 10 7; stroke-linecap: round; }
.d .mk { font: 700 15px/1 var(--display); fill: var(--d-line); text-anchor: middle; dominant-baseline: central; }
.d .sw-ink { fill: var(--d-sw); } .d .sw-gray { fill: var(--d-ham); } .d .sw-metal { fill: var(--d-s1); }
.d .gl1 { fill: #ffffff; fill-opacity: .1; } .d .gl2 { fill: #ffffff; fill-opacity: .22; }
.d .gl3 { fill: #ffffff; fill-opacity: .4; } .d .gl4 { fill: #ffffff; fill-opacity: .72; }
.d .tx { fill: var(--d-line); fill-opacity: .35; } .d .spark-dot { fill: #ffffff; fill-opacity: .85; }
.d .txl, .d .txc { fill: none; stroke: var(--d-line); stroke-opacity: .32; stroke-width: 1.5; }

/* Breakpoints: 1160 (menu), 980, 900, 760, 640, 400. */
@media (max-width: 1260px) {
  .nav-links { gap: 18px; }
  .nav { gap: 18px; }
}
@media (max-width: 1160px) {
  .cap h3 { font-size: 25px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; flex: none;
    font: 600 15px/1 var(--text); color: #ffffff; background: none; border: 2px solid var(--steel-line); border-radius: 2px; cursor: pointer;
  }
  .menu-btn:hover { border-color: #ffffff; }
  .menu-lines { position: relative; width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
  .menu-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
  .site-header.open .menu-lines { border-color: transparent; }
  .site-header.open .menu-lines::after { top: 3px; border-top-color: currentColor; transform: rotate(45deg); }
  .site-header.open .menu-lines::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; transform: rotate(-45deg); }
  .header-row { position: relative; min-height: 72px; }
  .nav {
    display: none; position: absolute; left: calc(var(--side) * -1); right: calc(var(--side) * -1); top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--side) 24px;
    background: var(--steel); border-top: 1px solid var(--steel-3); border-bottom: 4px solid var(--accent);
  }
  .site-header.open .nav { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { width: 100%; min-height: 54px; padding: 0; border-bottom: 1px solid var(--steel-3); font-size: 18px; }
  .nav-links a:hover { border-bottom-color: var(--steel-3); }
  .nav-links a[aria-current] { padding-left: 14px; border-bottom-color: var(--steel-3); box-shadow: inset 4px 0 0 var(--accent); }
  .nav-phone { min-height: 54px; font-size: 18px; }
  .nav-cta { min-height: 54px; margin-top: 6px; font-size: 17px; }
}
@media (max-width: 980px) {
  .quote-grid { grid-template-columns: minmax(0, 1fr); }
  .quote-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --side: 28px; --section: 76px; }
  .hero-grid, .head-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 40px; }
  .head-grid { padding-top: 0; }
  .hero-art, .head-art { max-width: 600px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--steel-3); }
  .cap-grid { grid-template-columns: minmax(0, 1fr); }
  .cap { flex-direction: row; }
  .cap-art { flex: 0 0 42%; display: flex; align-items: center; border-bottom: 0; border-right: 2px solid var(--ink); }
  .steps { margin-top: 48px; }
  .step { --node-y: 48px; grid-template-columns: minmax(0, 1fr); row-gap: 28px; padding: 0 0 64px 64px; }
  .step::before { left: 20px; }
  .step::after { left: 20px; }
  .step:nth-child(odd) .step-text { justify-self: start; }
  .step:nth-child(even) .step-text, .step:nth-child(even) .step-art { order: 0; }
  .step-text { max-width: 620px; }
  .step-art { max-width: 560px; }
  .step-num { font-size: 88px; }
  .project-grid, .project-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid-home li:nth-child(3) { display: none; }
  .mat-grid, .reviews, .split, .faq-grid, .cta-grid, .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .split, .faq-grid, .plan-grid { gap: 32px; }
  .cta-grid { gap: 36px; }
  .mat { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 24px; align-items: center; }
  .mat-chip { grid-row: span 2; margin: 0; }
  .mat p { grid-column: 2; }
  .ops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op:nth-child(3) { border-left: 0; }
  .op:nth-child(n+3) { border-top: 1px solid var(--line-strong); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .method-grid, .finish-grid, .runs { grid-template-columns: minmax(0, 1fr); }
  .pcc { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-left: 0; }
  .pcc::before { left: 50%; right: auto; top: 0; bottom: 0; width: 18px; height: auto; margin-left: -9px; -webkit-mask: var(--bead-v) repeat-y center top / 18px 7px; mask: var(--bead-v) repeat-y center top / 18px 7px; }
  .spec-table thead { display: none; }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: auto; }
  .spec-table tr { padding: 16px 18px; border-bottom: 1px solid var(--line-strong); }
  .spec-table tbody tr:last-child { border-bottom: 0; }
  .spec-table th, .spec-table td { padding: 0; border: 0; }
  .spec-table tbody th { width: auto; }
  .spec-table td { margin-top: 10px; }
  .spec-table td::before { content: attr(data-label); display: block; font-size: 14px; font-weight: 600; color: var(--muted); }
  .filters { flex-direction: column; align-items: stretch; }
  .filter-status { margin-left: 0; }
  .quote-side { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --side: 20px; --section: 64px; }
  body { font-size: 16px; }
  .lede { font-size: 18px; }
  .wordmark { font-size: 18px; gap: 10px; }
  .mark { width: 30px; height: 30px; }
  .menu-label { display: none; }
  .menu-btn { width: 44px; justify-content: center; padding: 0; }
  .hero h1 { font-size: clamp(34px, 9.4vw, 46px); }
  .page-head h1 { font-size: clamp(38px, 10vw, 48px); }
  .hero-art::before, .head-art::before { width: 48px; height: 48px; border-width: 5px; }
  .actions .button { width: 100%; }
  .cap { flex-direction: column; }
  .cap-art { border-right: 0; border-bottom: 2px solid var(--ink); }
  .cap h3, .method h3, .op h3, .pcc h3 { font-size: 25px; }
  .step { padding-left: 52px; padding-bottom: 56px; --node-y: 40px; }
  .step::before, .step::after { left: 16px; }
  .step-num { font-size: 72px; }
  .step h3 { font-size: 27px; }
  .project-grid, .project-grid-home { grid-template-columns: minmax(0, 1fr); }
  .project-grid-home li:nth-child(3) { display: block; }
  .mat { grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .mat-chip { grid-row: auto; }
  .mat p { grid-column: 1 / -1; }
  .faq summary { font-size: 18px; }
  .faq .answer { padding-right: 0; }
  .cta-grid { padding: 60px 0; }
  .cta-facts { grid-template-columns: minmax(0, 1fr); }
  .ops { grid-template-columns: minmax(0, 1fr); }
  .op { border-left: 0; }
  .op + .op { border-top: 1px solid var(--line-strong); }
  .two-lists { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .qform, .result { padding: 22px 18px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .proc-tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .proc-box { flex-direction: row; align-items: center; min-height: 64px; padding: 10px 52px 10px 12px; }
  .proc-box::after { top: 50%; margin-top: -12px; }
  .side-phone { font-size: 28px; }
  .empty { flex-direction: column; padding: 24px 20px; }
  .seg span { padding: 0 13px; font-size: 15px; }
  .filters { padding: 20px 16px; }
}
@media (max-width: 400px) {
  :root { --side: 16px; }
  .wordmark { font-size: 16px; gap: 8px; }
  .mark { width: 28px; height: 28px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div, .facts > div:nth-child(odd) { padding: 14px 0; border-left: 0; }
  .facts > div + div { border-top: 1px solid var(--steel-3); }
  .step { padding-left: 44px; }
  .step::before, .step::after { left: 13px; }
  .step::after { width: 22px; height: 22px; margin: -11px 0 0 -11px; }
  .mat { grid-template-columns: minmax(0, 1fr); }
  .mat-chip { max-width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .cap:hover { transform: none; }
}
@media print {
  .site-header, .skip, .qform, .result-actions, .filters, .cta { display: none; }
  body { padding-bottom: 0; }
}

/* Showcase bar. Showcase chrome, not part of any template: Lumen Alto's night colors
   in every template and style, removed when a template becomes a client site.
   build.py appends this to base.css (Standard) and inlines it in single-page templates. */
.sc-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px; height: 52px; padding: 0 clamp(16px, 3vw, 40px);
  background: #000000; color: #f2f0eb; border-top: 1px solid rgba(242, 240, 235, .16);
  font: 500 .9rem/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none;
  overflow-x: auto; white-space: nowrap;
}
.sc-bar a { color: #f2f0eb; text-decoration: none; }
.sc-bar a:hover { text-decoration: underline; }
.sc-bar :focus-visible { outline: 2px solid #f2f0eb; outline-offset: 2px; }
.sc-home { font-weight: 700; padding-right: 16px; border-right: 1px solid rgba(242, 240, 235, .24); }
.sc-label { color: rgba(242, 240, 235, .62); }
.sc-styles { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sc-styles li { flex-shrink: 0; text-wrap: nowrap; }
.sc-styles a { display: inline-block; padding: 7px 12px; border: 1px solid transparent; border-radius: 2px; }
.sc-styles a[aria-current] { border-color: rgba(242, 240, 235, .5); }
@media print { .sc-bar { display: none; } }

/* Template look switcher (2026-11-02): a bar at the top of every template page, above the site's
   header, and a corner "Next look" button once the bar scrolls away. Industry sites keep .sc-bar. */
.sc-looks {
  position: relative; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 12px clamp(16px, 3vw, 40px);
  background: #000000; color: #f2f0eb; border-bottom: 1px solid rgba(242, 240, 235, .16);
  font: 500 15px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; text-align: left;
}
.sc-looks a { color: #f2f0eb; text-decoration: none; }
.sc-looks :focus-visible, .sc-pill:focus-visible { outline: 2px solid #f2f0eb; outline-offset: 3px; }
.sc-looks p { margin: 0; }
.sc-looks-home { font-weight: 700; padding-right: 14px; border-right: 1px solid rgba(242, 240, 235, .24); }
.sc-looks-home:hover { text-decoration: underline; }
.sc-looks-prompt { font-weight: 700; }
.sc-looks-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sc-looks-list a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 13px 0 7px;
  border: 1px solid rgba(242, 240, 235, .38); border-radius: 999px; white-space: nowrap; font-size: 14px;
}
.sc-looks-list a:hover { border-color: #f2f0eb; background: rgba(242, 240, 235, .1); }
.sc-looks-list a[aria-current] { border: 2px solid #f2f0eb; padding: 0 12px 0 6px; background: rgba(242, 240, 235, .14); font-weight: 700; }
.sc-sw {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%);
  box-shadow: 0 0 0 1px rgba(242, 240, 235, .55);
}
.sc-looks-count { margin-left: auto !important; color: rgba(242, 240, 235, .78); white-space: nowrap; }
.sc-looks-cur { display: none; }
.sc-looks-next, .sc-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: 999px;
  background: #f2f0eb; color: #000000 !important; font-weight: 700; white-space: nowrap;
}
.sc-looks-next:hover, .sc-pill:hover { background: #ffffff; }
.sc-vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc-pill {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; gap: 10px; min-height: 46px;
  font: 700 15px/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 8px 24px rgba(0, 0, 0, .35);
}
.sc-pill[hidden] { display: none; }
.sc-pill-count { font-weight: 500; color: #3a3a3a; }
/* The prompt needs the most room, then the names. Below 1440px the prompt goes; below 1200px the
   names give way to swatches (names stay as tooltips) and the count names the current look. */
@media (max-width: 1439px) { .sc-looks-prompt { display: none; } }
@media (max-width: 1199px) {
  .sc-looks-name { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sc-looks-list a, .sc-looks-list a[aria-current] { width: 40px; padding: 0; justify-content: center; }
  .sc-looks-list a[aria-current] .sc-sw { box-shadow: 0 0 0 2px #000000, 0 0 0 4px #f2f0eb; }
  .sc-looks-list a { border-color: transparent; }
  .sc-looks-list a[aria-current] { border-color: transparent; background: none; }
  .sc-looks-cur { display: inline; color: #f2f0eb; font-weight: 700; }
}
@media (max-width: 760px) {
  .sc-looks { padding-block: 10px; }
  .sc-looks-home { order: 1; }
  .sc-looks-next { order: 2; margin-left: auto; }
  .sc-looks-count { order: 3; flex-basis: 100%; margin-left: 0 !important; }
  .sc-looks-list { order: 4; }
  .sc-pill-count { display: none; }
}
@media print { .sc-looks, .sc-pill { display: none !important; } }
