/* JCF Precision: every style here comes from the logo.
   Black stage, brushed steel, wide forward-leaning type, cut corners, the car's roofline.
   Steel values are sampled from the logo (average metal is a cool 154/159/164). */

:root {
  color-scheme: dark;

  --black: #000;
  --carbon: #08090a;
  --panel: #0e1012;
  --line: #2a2d31;
  --line-2: #474b51;
  --white: #f6f7f8;
  --text: #d3d6da;
  --muted: #9ba1a8;
  --steel: #9aa0a6;
  --ink: #0a0b0c;

  --sans: "Saira", "Segoe UI", Arial, sans-serif;
  --read: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --read-text: #c8ccd1;
  --read-strong: #e4e6e9;
  --mono: "IBM Plex Mono", Consolas, "Courier New", monospace;

  --brush: url("/assets/img/brushed.jpg");
  --chrome: linear-gradient(100deg, #fff 0%, #d4d7db 16%, #8d9399 32%, #f7f8f9 47%, #fff 52%, #b4b9be 66%, #858b91 80%, #eceef0 100%);
  --sheen: linear-gradient(100deg, rgba(255,255,255,.8) 0%, rgba(255,255,255,0) 20%, rgba(0,0,0,.2) 36%, rgba(255,255,255,.9) 50%, rgba(255,255,255,.12) 66%, rgba(0,0,0,.22) 82%, rgba(255,255,255,.75) 100%);
  --bar: linear-gradient(180deg, #f1f2f3 0%, #c3c7cc 46%, #a4a9af 54%, #dcdfe1 100%);
  --hairline: linear-gradient(90deg, transparent, var(--line-2) 18%, #c9cdd2 50%, var(--line-2) 82%, transparent);

  --cut: 22px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --focus: #fff;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection { background: #d9dcdf; color: var(--ink); }

img, svg { display: block; max-width: 100%; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-color: var(--steel); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--white); text-decoration-color: var(--white); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Display type: the wide, forward-leaning cut of PRECISION in the logo */
h1, h2, h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--sans);
  font-style: italic;
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: .005em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2rem, 4.7vw, 3.875rem); text-wrap: balance; }
h1 em { font-style: inherit; }
h2 { font-size: clamp(1.4375rem, 2.7vw, 2.125rem); font-weight: 700; }
h3 { font-size: 1.1875rem; font-weight: 700; }

/* Chrome face on the big type, with the same brushing as the logo */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  h1, h2 {
    padding-inline: .06em .14em;
    margin-inline: -.06em;
    background-color: #d3d6da;
    background-image: var(--chrome), var(--brush);
    background-size: 220% 100%, 760px auto;
    background-position: 0 0, 0 0;
    background-blend-mode: multiply;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    /* The brushed layer multiplies the face darker, so brightness restores the logo's highlights */
    filter: brightness(1.22) contrast(1.06) drop-shadow(0 1px 0 rgba(255,255,255,.14));
  }
  h2 { background-size: 160% 100%, 760px auto; }
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 8px;
  top: -64px;
  z-index: 10;
  padding: .6rem .9rem;
  background: var(--white);
  color: var(--ink);
  font: 600 .875rem var(--mono);
}
.skip:focus { top: 8px; }

.mono, .code { font-family: var(--mono); }
.code { font-weight: 500; font-size: .875em; white-space: nowrap; color: var(--white); }
.muted { color: var(--muted); }

.sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Masthead ---------------------------------------------------------- */

.masthead { position: relative; z-index: 2; background: var(--black); }
.masthead::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--hairline);
  opacity: .7;
}
/* Home: the nav floats over the lit stage, so the lighting has no top edge */
.masthead--home { position: absolute; top: 0; left: 0; right: 0; background: none; }
.masthead--home::after { display: none; }

.masthead-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding-block: .625rem;
}
.masthead--home .masthead-row { justify-content: center; padding-top: 1rem; }

.brand { display: block; }
.brand img { width: auto; height: 58px; }

.mainnav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.25rem);
  font: italic 600 .875rem/1 var(--sans);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.mainnav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
}
.mainnav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.mainnav a:hover { color: var(--white); }
.mainnav a:hover::after, .mainnav a[aria-current="page"]::after { transform: scaleX(1); }
.mainnav a[aria-current="page"] { color: var(--white); }

/* Buttons: slanted plates. The slant lives on a layer so the text stays upright in its box. */
.btn, .mainnav .nav-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  border: 0;
  background: none;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.btn {
  min-height: 52px;
  padding: .75rem 1.75rem;
  font: italic 700 .9375rem/1.2 var(--sans);
  font-stretch: 112%;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.mainnav .nav-cta { padding-inline: 1rem; color: var(--ink); font-weight: 700; }

.btn::before, .mainnav .nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: skewX(-14deg);
  background-color: #d3d6da;
  background-image: var(--sheen), var(--brush);
  background-size: 100% 100%, 700px auto;
  transition: filter .18s ease;
}
.btn:hover, .mainnav .nav-cta:hover { color: var(--ink); }
.btn:hover::before, .mainnav .nav-cta:hover::before { filter: brightness(1.14); }
.btn:focus-visible, .mainnav .nav-cta:focus-visible { outline: 0; }
.btn:focus-visible::before, .mainnav .nav-cta:focus-visible::before { outline: 2px solid var(--focus); outline-offset: 3px; }

.btn-ghost, .btn-ghost:hover { color: var(--white); }
.btn-ghost::before { background: rgba(255,255,255,.02); border: 1px solid var(--steel); }
.btn-ghost:hover::before { background: rgba(255,255,255,.1); filter: none; }

.btn-ink, .btn-ink:hover { color: var(--white); }
.btn-ink::before { background: var(--ink); }
.btn-ink:hover::before { background: #2a2d31; filter: none; }

.actions { display: flex; flex-wrap: wrap; gap: .875rem 1.25rem; margin-top: 1.875rem; }

/* Hero: lit like a studio, with the roofline running behind the page title */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 84px) clamp(36px, 5vw, 68px);
  background: radial-gradient(70% 90% at 22% 0%, rgba(150,158,166,.17), rgba(0,0,0,0) 70%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -5%;
  bottom: 6%;
  width: min(86%, 1040px);
  aspect-ratio: 1120 / 176;
  background: url("/assets/img/roofline.svg") center / contain no-repeat;
  opacity: .13;
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.docline {
  margin-bottom: 1rem;
  color: var(--steel);
  font: 500 .8125rem/1.3 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lede {
  max-width: 35em;
  margin-top: 1.25rem;
  color: var(--text);
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.5;
}

/* Home: the logo is the car on the showroom floor */
.hero--home {
  padding-block: calc(76px + clamp(4px, 1.5vw, 20px)) clamp(36px, 5vw, 64px);
  text-align: center;
  background: radial-gradient(58% 62% at 50% 24%, rgba(165,173,181,.26), rgba(120,128,136,.08) 55%, rgba(0,0,0,0) 76%);
}
.hero--home::after { display: none; }
.hero--home .lede { margin-inline: auto; }
.hero--home .actions { justify-content: center; }

.stage { width: min(100%, 760px); margin-inline: auto; }
.stage-logo { width: 100%; height: auto; animation: lights-up 1.5s ease-out both; }
.stage-floor {
  position: relative;
  height: clamp(36px, 5.6vw, 66px);
  margin-top: -6px;
  overflow: hidden;
  animation: lights-up 1.5s ease-out both;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 92%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 92%);
}
.stage-floor img { width: 100%; height: auto; transform: scaleY(-1); opacity: .4; filter: blur(.6px); }

/* Starts dimmed, never hidden: the logo stays readable if the animation doesn't run */
@keyframes lights-up {
  from { filter: brightness(.6); }
  to { filter: brightness(1); }
}

.hero--home h1 {
  margin-top: .375rem;
  font-size: clamp(1.75rem, 3.9vw, 3.25rem);
  animation: sheen 2.2s ease-out .35s both;
}
.hero--home h1 em { display: block; }

@keyframes sheen {
  from { background-position: 100% 0, 0 0; }
  to { background-position: 0 0, 0 0; }
}

/* Spec plate: engraved labels on dark steel */
.titleblock {
  position: relative;
  margin: 0;
  background: linear-gradient(160deg, #1a1c1f, #0e1012 50%, #17191c);
  border: 1px solid var(--line-2);
  font-family: var(--mono);
}
.titleblock > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); }
.titleblock > div + div { border-top: 1px solid var(--line); }
.titleblock dt {
  padding: .5625rem .75rem;
  color: var(--muted);
  font-size: .6875rem;
  line-height: 1.5;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.titleblock dd {
  margin: 0;
  padding: .4375rem .75rem;
  color: var(--read-strong);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.titleblock--strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(32px, 4.5vw, 52px);
  text-align: left;
}
.titleblock--strip > div { display: block; padding: .75rem .875rem; }
.titleblock--strip > div + div { border-top: 0; border-left: 1px solid var(--line); }
.titleblock--strip dt, .titleblock--strip dd { padding: 0; }
.titleblock--strip dd { margin-top: .1875rem; }

/* Roofline divider, traced from the logo */
.roofline {
  display: block;
  width: min(100%, 900px);
  aspect-ratio: 1120 / 176;
  margin: clamp(16px, 3vw, 32px) auto 0;
  background: url("/assets/img/roofline.svg") center / contain no-repeat;
  opacity: .6;
}

/* Sections ---------------------------------------------------------- */

.sec { padding-block: clamp(12px, 2vw, 24px); }
.sec:last-of-type { padding-bottom: clamp(36px, 5vw, 68px); }
.sec--open { padding-block: clamp(28px, 4.5vw, 52px); }

/* Blackened steel panel with the logo's cut corners and a metal edge */
.doc {
  position: relative;
  isolation: isolate;
  padding: clamp(18px, 3vw, 36px);
  background: linear-gradient(115deg, #7b8086 0%, #2b2e32 26%, #a6abb1 54%, #2b2e32 78%, #6d7278 100%);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.doc::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background-color: var(--panel);
  background-image: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,0) 38%, rgba(255,255,255,.03) 72%, rgba(255,255,255,0)), var(--brush);
  background-size: 100% 100%, 1100px auto;
  background-blend-mode: normal, multiply;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}

/* Reading text inside boxes: a calmer humanist face with softer contrast.
   Headings, buttons, labels and part numbers set their own fonts and are unaffected. */
.doc, .spec, .titleblock dd, .warning-body { font-family: var(--read); }
.doc .sec-intro, .spec td, .warning-body, .hint, .check { color: var(--read-text); }

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .125rem .875rem;
  margin-bottom: 1.25rem;
}
.sec-no { margin: 0; color: var(--steel); font: 500 .9375rem var(--mono); }
.sec-ref { margin: 0 0 0 auto; color: var(--muted); font: 400 .8125rem var(--mono); }
.sec-intro { max-width: 46em; margin-bottom: 1.25rem; color: var(--text); }

.two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
}

.rowlink {
  display: inline-block;
  color: var(--white);
  font: italic 700 .8125rem/1.3 var(--sans);
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Tables ------------------------------------------------------------ */

.spec { width: 100%; border-collapse: collapse; font-size: 1.0625rem; line-height: 1.55; }
.spec thead th {
  padding: .5625rem .75rem;
  background: var(--bar);
  color: var(--ink);
  font: 600 .75rem/1.3 var(--mono);
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
}
.spec tbody th, .spec td {
  padding: .8125rem .75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
  font-weight: 400;
}
.spec tbody th { color: var(--read-strong); font-weight: 600; }
.spec tbody tr:hover > * { background: rgba(255,255,255,.035); }

.spec--kv { border-top: 1px solid var(--line-2); }
.spec--kv tbody th {
  width: 11rem;
  color: var(--muted);
  font: 500 .75rem/1.6 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tag {
  display: inline-block;
  padding: .0625rem .4375rem;
  border: 1px solid var(--steel);
  color: var(--white);
  font: 600 .75rem/1.5 var(--mono);
  letter-spacing: .06em;
}
a.tag { text-decoration: none; }
a.tag:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

/* Fitment matrix */
.fig { margin: 0; }
.fig-cap { margin-bottom: .625rem; color: var(--muted); font: 500 .8125rem/1.4 var(--mono); }
.scroll { overflow-x: auto; }
.matrix { width: 100%; min-width: 660px; border-collapse: collapse; font-family: var(--mono); }
.matrix th, .matrix td { padding: .5rem .375rem; border: 1px solid var(--line); text-align: center; vertical-align: middle; }
.matrix thead th { background: var(--bar); border-color: var(--line); color: var(--ink); font-size: .8125rem; font-weight: 600; }
.matrix thead th:first-child, .matrix tbody th { text-align: left; }
.matrix tbody th { min-width: 8.25rem; padding-inline: .625rem; color: var(--white); font-size: .875rem; font-weight: 600; }
.matrix small { display: block; font-size: .6875rem; font-weight: 400; opacity: .85; }
.matrix tbody th small { color: var(--muted); opacity: 1; }
.matrix td { color: var(--white); font-size: .9375rem; font-weight: 600; line-height: 1.2; }
.matrix .pre { background: #15171a; }
.matrix .lci { background: #33373c; }
.matrix .n55 { background: linear-gradient(180deg, #f1f2f3, #b4b9be); color: var(--ink); }
.matrix .none { background: transparent; color: var(--muted); font-weight: 400; }
.matrix thead .hot { background: #fff; border-color: #fff; }
.matrix td.hot { box-shadow: inset 2px 0 0 #fff, inset -2px 0 0 #fff; }
.matrix tr:last-child td.hot { box-shadow: inset 2px 0 0 #fff, inset -2px 0 0 #fff, inset 0 -2px 0 #fff; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem 1.25rem;
  margin: .75rem 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font: 400 .75rem/1.4 var(--mono);
}
.legend li { display: inline-flex; align-items: center; gap: .4rem; }
.legend i { width: .875rem; height: .875rem; border: 1px solid var(--line-2); }
.legend .k-pre { background: #15171a; }
.legend .k-lci { background: #33373c; }
.legend .k-n55 { background: linear-gradient(180deg, #f1f2f3, #b4b9be); }

.warning { margin: 1.25rem 0 0; border: 1px solid var(--steel); }
.warning-band {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .3125rem .75rem;
  background: var(--bar);
  color: var(--ink);
  font: 700 .8125rem/1.5 var(--mono);
  letter-spacing: .1em;
}
.warning-band svg { width: 16px; height: 16px; }
.warning-body { padding: .75rem; font-size: 1.0625rem; line-height: 1.55; }

.dl-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2.5rem;
  align-items: center;
}

/* Call to action: one full band of bare brushed steel, the face of the logo */

.cta {
  --focus: var(--ink);
  background-color: #cfd2d6;
  background-image: var(--sheen), var(--brush);
  background-size: 100% 100%, 1400px auto;
  color: var(--ink);
}
.cta h2 {
  padding-inline: 0;
  margin-inline: 0;
  background: none;
  color: var(--ink);
  -webkit-text-fill-color: currentColor;
  filter: none;
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
  padding-block: clamp(30px, 4vw, 46px);
}
.cta p.cta-note { margin: .5rem 0 0; font-weight: 500; }
.cta .actions { margin-top: 0; }

/* Footer ------------------------------------------------------------ */

.foot { background: var(--black); font-size: .9375rem; }
.foot::before { content: ""; display: block; height: 1px; background: var(--hairline); opacity: .7; }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 1.75rem clamp(32px, 6vw, 96px);
  padding-block: clamp(28px, 4vw, 44px) 1.25rem;
}
.foot-logo { width: 190px; height: auto; margin-bottom: .875rem; }
.foot-brand p { color: var(--muted); }
.foot-nav {
  display: grid;
  gap: .125rem;
  align-content: start;
  font: italic 600 .8125rem var(--sans);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.foot-nav a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); text-decoration: none; }
.foot-nav a:hover { color: var(--white); }
.foot-legal { padding-block: 0 1.25rem; color: var(--muted); font: 400 .75rem var(--mono); }

/* Quote form -------------------------------------------------------- */

.rfq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.rfq-side { display: grid; gap: 1.5rem; position: sticky; top: 16px; }
.rfq-side h2 { margin-bottom: .625rem; font-size: 1.1875rem; }

.rfq fieldset { min-width: 0; margin: 0 0 1.5rem; padding: 0; border: 0; }
.rfq legend {
  display: block;
  width: 100%;
  padding: 0 0 .375rem;
  color: var(--white);
  font: italic 700 .9375rem/1.3 var(--sans);
  font-stretch: 112%;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; margin-top: .375rem; }
.cell {
  display: block;
  min-width: 0;
  padding: .4375rem .6875rem .3125rem;
  border: 1px solid var(--line-2);
  background: rgba(0,0,0,.45);
}
.cell--full { grid-column: 1 / -1; }
.cell:focus-within { border-color: var(--white); box-shadow: inset 0 0 0 1px var(--white); }

.cell-label, .group-label {
  display: block;
  color: var(--muted);
  font: 500 .6875rem/1.4 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.req { color: var(--white); font-weight: 600; }

.cell input[type="text"],
.cell input[type="email"],
.cell input[type="url"],
.cell select,
.cell textarea {
  display: block;
  width: 100%;
  min-height: 34px;
  padding: .1875rem 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--read-strong);
  font: 400 1.0625rem/1.4 var(--read);
}
.cell input::placeholder, .cell textarea::placeholder { color: #80868d; opacity: 1; }
.cell textarea { min-height: 128px; resize: vertical; }
.cell select { cursor: pointer; }
.cell select option { background: #101214; color: var(--white); }

.hint { display: block; margin-top: .25rem; color: var(--muted); font-size: .875rem; line-height: 1.35; }

.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .125rem .75rem; margin-top: .25rem; padding-bottom: .1875rem; }
.check { display: flex; align-items: center; gap: .5rem; min-height: 36px; font-size: 1.0625rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: #d3d6da; flex: none; }

.cell input[type="file"] { display: block; width: 100%; padding: .4375rem 0; color: var(--read-text); font: 400 1rem var(--read); }
.cell input[type="file"]::file-selector-button {
  margin-right: .75rem;
  padding: .5rem .875rem;
  border: 0;
  background: var(--bar);
  color: var(--ink);
  font: 600 .75rem var(--mono);
  text-transform: uppercase;
  cursor: pointer;
}
.cell input[type="file"]::file-selector-button:hover { filter: brightness(1.1); }

.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; margin-top: .375rem; }
.svc-opt { position: relative; display: block; padding: .875rem .875rem; border: 1px solid var(--line-2); background: rgba(0,0,0,.45); cursor: pointer; }
.svc-opt input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.svc-title { display: block; margin-top: .5rem; color: var(--white); font: italic 700 1.0625rem/1.2 var(--sans); font-stretch: 112%; text-transform: uppercase; }
.svc-sub { display: block; margin-top: .25rem; color: var(--muted); font-size: .9375rem; line-height: 1.35; }
.svc-opt:hover { border-color: var(--steel); }
.svc-opt:has(input:checked) {
  border-color: #d3d6da;
  background-color: #d3d6da;
  background-image: var(--sheen), var(--brush);
  background-size: 100% 100%, 700px auto;
  color: var(--ink);
}
.svc-opt:has(input:checked) .svc-title, .svc-opt:has(input:checked) .svc-sub { color: var(--ink); }
.svc-opt:has(input:checked) .tag { background: var(--ink); border-color: var(--ink); color: var(--white); }
.svc-opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.rfq-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .875rem 1.25rem; padding-inline: 6px; }
.rfq-status { flex: 1 1 100%; margin: 0; }
.rfq-status:empty { display: none; }
.rfq-status[data-kind] { padding: .625rem .75rem; border: 1px solid var(--steel); color: var(--white); font-weight: 500; }

/* Responsive -------------------------------------------------------- */

@media (max-width: 960px) {
  .hero-grid, .two, .rfq-layout { grid-template-columns: minmax(0, 1fr); }
  .rfq-side { position: static; }
  .titleblock--strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .titleblock--strip > div:nth-child(3) { border-left: 0; }
  .titleblock--strip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Multi-column tables become labeled stacks on a phone */
@media (max-width: 760px) {
  :root { --cut: 14px; }

  .spec--stack, .spec--stack tbody, .spec--stack tr, .spec--stack td, .spec--stack tbody th { display: block; width: 100%; }
  .spec--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .spec--stack tr { margin-bottom: .875rem; border: 1px solid var(--line); border-top: 2px solid var(--steel); }
  .spec--stack tr:last-child { margin-bottom: 0; }
  .spec--stack tbody th, .spec--stack td { padding: .5rem .625rem; border: 0; }
  .spec--stack td + td, .spec--stack th + td { border-top: 1px solid var(--line); }
  .spec--stack td[data-label]:not([data-label=""])::before {
    content: attr(data-label);
    display: block;
    margin-bottom: .0625rem;
    color: var(--muted);
    font: 500 .6875rem/1.4 var(--mono);
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .spec--kv tbody th { width: 7.5rem; }

  .sec-ref { flex-basis: 100%; margin-left: 0; }
  .dl-card { grid-template-columns: minmax(0, 1fr); }

  .cells, .svc { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .actions .btn, .rfq-foot .btn { width: calc(100% - 12px); margin-inline: 6px; }
  .brand img { height: 50px; }
  .mainnav { width: 100%; justify-content: space-between; gap: .5rem; font-size: .75rem; letter-spacing: .04em; }
  .mainnav .nav-cta { padding-inline: .625rem; }
  .titleblock > div { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .titleblock--strip { grid-template-columns: minmax(0, 1fr); }
  .titleblock--strip > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); padding: .5rem .75rem; }
  .titleblock--strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .titleblock--strip dd { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Print: drop the black so it comes out as a clean document */
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .skip, .mainnav, .actions, .cta, .foot-nav, .roofline, .stage-floor { display: none !important; }
  .masthead, .foot, .hero, .hero--home { background: none; }
  .hero::after { display: none; }
  .brand img, .stage-logo, .foot-logo { filter: invert(1); animation: none; }
  h1, h2 { background: none; color: #000; -webkit-text-fill-color: #000; filter: none; }
  .doc { padding: 0; background: none; clip-path: none; }
  .doc::before { display: none; }
  .hero, .sec { padding-block: 10pt; }
  .docline, .lede, .sec-intro, .sec-no, .sec-ref, .titleblock dt, .foot-brand p, .foot-legal { color: #333; }
  .titleblock dd, .spec tbody th, .spec td, .spec--kv tbody th { color: #000; }
  .spec { page-break-inside: avoid; }
}
