/* Heidtman Manufactured Products */

:root {
  --crumb-h: 40px;   /* breadcrumb bar under the nav (pages with breadcrumbs) */
  --nav-h: 80px;     /* logo bar height; 64px on phones */
  --head: var(--nav-h);   /* fixed header height; sticky parts and anchor jumps sit below it */
  --night:   #0D1013;   /* shop floor: hero and dark sections */
  --night-2: #161B20;
  --night-3: #232A31;
  --sheet:   #EEF0F2;   /* cold-rolled light sections */
  --sheet-2: #DDE1E5;
  --ink:     #121519;
  --mute:    #59616A;   /* secondary text on light: 5.9:1 */
  --mute-d:  #9AA3AC;   /* secondary text on dark: 7.4:1 */
  --die:     #F0A21E;   /* die-shoe orange: progress, live values */
  --red:     #DA2128;   /* logo red, as in hmp-logo.svg and hmp-logo-white.svg. White on it: 5.0:1 */
  --red-deep:#AE1A21;

  --display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --body:    "Barlow", system-ui, sans-serif;
  --mono:    "Spline Sans Mono", ui-monospace, Consolas, monospace;

  /* type scale: page titles, section headings, smaller section headings, large and standard card headings,
     card text. The home hero title and the capability panels are deliberately larger. */
  --fs-title: clamp(48px, 6vw, 100px);
  --fs-h2: clamp(40px, 5.6vw, 92px);
  --fs-h2-sm: clamp(34px, 3.6vw, 56px);
  --fs-h3-lg: clamp(28px, 2.6vw, 40px);
  --fs-h3: 26px;
  --fs-card: 17px;

  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1440px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--head); }
body { margin: 0; font: 400 18px/1.6 var(--body); color: var(--ink); background: var(--sheet); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--die); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 200; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: .02em; color: var(--mute); margin: 0 0 22px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; }
h2 { font-size: var(--fs-h2); line-height: .98; letter-spacing: -.012em; }
h3 { font-size: var(--fs-h3); line-height: 1.1; }

.btn { display: inline-flex; align-items: center; justify-content: center; font: 600 17px/1 var(--body); text-decoration: none; border: 0; cursor: pointer; padding: 18px 26px; background: var(--ink); color: #fff; transition: background .2s, color .2s, box-shadow .2s; }
.btn.red { background: var(--red); }
.btn.red:hover { background: var(--red-deep); }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px #fff; background: rgba(255,255,255,.06); }

/* ---------- header: transparent over the hero, solid once scrolled ---------- */
header.site { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .3s, box-shadow .3s; }
header.site.solid { background: rgba(13,16,19,.88); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; gap: 32px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
/* hmp-logo-white.svg is 1944 x 342; keep the width at 5.68 x the height. Any wider and the menu wraps at 1101px. */
.brand img { width: 262px; height: 46px; }
.nav nav { margin-left: auto; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav nav a { text-decoration: none; font-weight: 600; font-size: 16px; opacity: .9; }
.nav nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--die); }
.nav-cta { padding: 14px 20px; font-size: 15.5px; }
/* Capabilities dropdown: opens on hover, keyboard focus or click; one entry per service page */
.has-sub { position: relative; }
.sub-btn { font: 600 16px var(--body); color: inherit; background: none; border: 0; padding: 0; cursor: pointer; opacity: .9; display: inline-flex; align-items: center; gap: 8px; }
.sub-btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
/* hmp.js puts a .sub-toggle after each link label; it carries the arrow, so the link's own is hidden */
.js a.sub-btn::after { content: none; }
/* 24px box: the smallest touch target WCAG 2.5.8 allows; the arrow is centered in it */
.sub-toggle { color: inherit; background: none; border: 0; width: 24px; height: 24px; padding: 0; margin-left: 0; cursor: pointer; opacity: .9; vertical-align: middle; display: inline-flex; align-items: center; justify-content: center; }
.sub-toggle::after { content: ""; display: block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.sub-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.sub { display: none; position: absolute; top: calc(100% + 22px); left: -22px; min-width: 250px; list-style: none; margin: 0; padding: 10px 0; background: var(--night); border-top: 2px solid var(--die); box-shadow: 0 24px 48px -16px rgba(0,0,0,.6); }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 22px; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub, .nav [aria-expanded="true"] ~ .sub { display: flex; }
/* .nav ul sets display:flex, so the hidden state needs this higher-specificity rule */
.nav .sub { display: none; flex-direction: column; gap: 0; }
.nav .sub a { display: block; padding: 11px 22px; opacity: 1; }
.nav .sub a:hover { background: var(--night-2); text-decoration: none; color: var(--die); }
/* current page: styled from aria-current="page" on the menu link */
#menu > li > a[aria-current],
.has-sub:has(.sub a[aria-current]) > .sub-btn {
  opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--die);
}
.nav .sub a[aria-current] { color: var(--die); background: var(--night-2); box-shadow: inset 3px 0 0 var(--die); }
/* breadcrumb bar: hmp.js moves the page's breadcrumbs here, under the nav, inside the fixed header */
html.has-crumbs { --head: calc(var(--nav-h) + var(--crumb-h)); }
.crumb-bar { border-top: 1px solid rgba(255,255,255,.1); }
.crumb-bar .wrap { display: flex; align-items: center; height: var(--crumb-h); }
.crumb-bar .crumbs { margin: 0; flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
.crumb-bar .crumbs > :last-child { overflow: hidden; text-overflow: ellipsis; }
/* each crumb fills the bar's height, so the whole bar is the tap target */
.crumb-bar .crumbs > * { line-height: var(--crumb-h); }
/* Hamburger: the button's "Menu" text is kept for screen readers and hidden by font-size 0; the three bars are
   ::before (top and bottom, as borders) and ::after (middle). Open, it becomes an X. */
.menu-btn { display: none; position: relative; width: 46px; height: 46px; font-size: 0; background: none; color: #fff; border: 0; padding: 0; cursor: pointer; }
.menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 11px; right: 11px; transition: transform .2s, border-color .2s; }
.menu-btn::before { top: 13px; height: 14px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-btn::after { top: 19px; height: 2px; background: currentColor; }
.menu-btn[aria-expanded="true"]::before { top: 19px; height: 2px; border: 0; background: currentColor; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"]::after { transform: rotate(-45deg); }

/* ---------- home hero ---------- */
.strip-hero { position: relative; background: var(--night); color: #fff; padding-top: clamp(112px, 14vh, 150px); overflow: hidden; }
.strip-copy { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 96px); align-items: end; }
.strip-hero h1 { font-size: clamp(54px, 7.6vw, 128px); line-height: .94; letter-spacing: -.015em; }
.strip-hero .lead { margin-bottom: 28px; }
/* height follows the viewBox aspect (1600 x 420) above 838px; no upper cap, or the slice crops the callout */
.strip-art { display: block; width: 100%; height: max(220px, 26.25vw); margin-top: clamp(8px, 1.5vw, 24px); }
.strip-art .die-line { stroke: var(--die); stroke-width: 2; stroke-dasharray: 10 8; fill: none; }
.strip-art .dim path { stroke: var(--die); stroke-width: 1.5; fill: none; }
.strip-art .dim .dim-head { fill: var(--die); stroke: none; }
.strip-art .dim text { fill: var(--die); font: 500 17px var(--mono); }
@media (max-width: 860px) {
  .strip-copy { grid-template-columns: 1fr; }
  .strip-hero h1 { font-size: clamp(46px, 13vw, 72px); }
}

/* ---------- inner-page hero ----------
   SVG board 640 x 440; classes: .steel (gradient #steel defined in each SVG), .ln, .dim, .lbl */
.draw-hero { background: var(--night); color: #fff; padding: clamp(118px, 15vh, 160px) 0 clamp(48px, 7vh, 88px); }
.draw-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.draw-hero h1 { font-size: var(--fs-title); line-height: .96; letter-spacing: -.012em; margin-bottom: 24px; }
.draw-hero .lead { margin-bottom: 30px; }
.draw-art { margin: 0; }
.draw-art svg { display: block; width: 100%; height: auto; max-height: 520px; overflow: visible; }
/* Unlisted video page (/hmp-launch-2026/): title over a full-width 16:9 player. */
.watch video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.draw-art .ln { fill: none; stroke: #9AA3AC; stroke-width: 2; stroke-linejoin: round; }
.draw-art .ln-soft { fill: none; stroke: #59616A; stroke-width: 1.5; }
.draw-art .steel { fill: url(#steel); stroke: #59616A; stroke-width: 1; }
.draw-art .sec { fill: url(#hatch); stroke: #9AA3AC; stroke-width: 2; }
.draw-art .part { fill: none; stroke-width: 9; stroke-linejoin: round; stroke-linecap: square; }
.draw-art .dim path, .draw-art .dim line { stroke: var(--die); stroke-width: 1.5; fill: none; }
.draw-art .dim .head { fill: var(--die); stroke: none; }
.draw-art .dim text { fill: var(--die); font: 500 15px var(--mono); }
.draw-art .lbl { fill: #C3CAD1; font: 600 16px var(--body); }
.draw-art .lbl-s { fill: var(--mute-d); font: 500 13px var(--body); }
.draw-art .ink { fill: var(--ink); font: 600 15px var(--mono); }
.draw-art .dim-t { fill: var(--die); font: 500 15px var(--mono); }
.draw-art .part { stroke: #C3CAD1; }
.draw-art .cl { fill: none; stroke: #59616A; stroke-width: 1.2; stroke-dasharray: 18 5 3 5; }   /* drafting centerline */
.draw-art .hid { stroke-dasharray: 8 6; }                                                      /* hidden edge */
.draw-art .cut { fill: none; stroke: var(--ink); stroke-width: 2.5; }                          /* blank outline on the strip */
/* visit plan: the chosen route only, drawn when a visitor picks a visit type */
.draw-art .route { opacity: 0; transition: opacity .25s; }
.draw-art .route.on { opacity: 1; }
.draw-art .route path { fill: none; stroke: var(--die); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 10 8; }
.draw-art .route circle { fill: var(--die); }
.draw-hero .ind-tabs a { font: 600 15px/1 var(--body); color: #fff; text-decoration: none; border: 1.5px solid rgba(255,255,255,.35); padding: 11px 14px; }
.draw-hero .ind-tabs a:hover { border-color: #fff; }
@media (max-width: 980px) {
  .draw-grid { grid-template-columns: 1fr; }
  .draw-art svg { max-height: 360px; }
}

/* ---------- hero copy shared by the page heroes ---------- */
.lead { font-size: clamp(19px, 1.45vw, 22px); line-height: 1.55; color: #D3D9DF; max-width: 30em; margin: 0 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- numbers ---------- */
.numbers { padding: clamp(96px, 13vw, 200px) 0 clamp(80px, 10vw, 150px); }
.statement { font-size: clamp(40px, 5.4vw, 88px); max-width: 15em; margin-bottom: clamp(56px, 8vw, 110px); }
.statement span { color: var(--mute); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 2px solid var(--ink); }
.stats div { padding: 26px 24px 0 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid #C3C9CF; }
.stats dt { font: 500 13px/1.3 var(--mono); letter-spacing: .02em; color: var(--mute); order: 2; }
.stats div { display: flex; flex-direction: column-reverse; gap: 10px; }
.stats dd { margin: 0; font: 700 clamp(56px, 7.4vw, 124px)/.9 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* ---------- capabilities: panels that widen on hover ---------- */
.caps { background: var(--night); color: #fff; padding: clamp(80px, 10vw, 150px) 0 0; }
.caps .eyebrow { color: var(--mute-d); }
.caps-head { margin-bottom: clamp(40px, 5vw, 64px); }
.caps-row { display: flex; height: min(78vh, 760px); min-height: 520px; }
.cap { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 44px); text-decoration: none; color: #fff; overflow: hidden; transition: flex-grow .7s var(--ease); isolation: isolate; border-right: 1px solid rgba(255,255,255,.12); }
.cap::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--pos, center) / cover var(--img);   /* --pos keeps the subject in the narrow panel */ transform: scale(1.06); transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(.6) brightness(.6); }
.cap::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13,16,19,.95) 0%, rgba(13,16,19,.35) 55%, rgba(13,16,19,.1) 100%); }
.cap:hover, .cap:focus-visible { flex-grow: 2.1; }
.cap:hover::before, .cap:focus-visible::before { transform: scale(1); filter: none; }
.cap-tag { position: absolute; top: clamp(24px, 3vw, 44px); left: clamp(24px, 3vw, 44px); font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 8px 10px; color: #fff; background: rgba(13,16,19,.86); border-left: 3px solid var(--die); }   /* its own plate: the photo brightens on hover */
.cap h3 { font-size: clamp(36px, 3.8vw, 64px); line-height: 1; margin-bottom: 16px; }
/* two-line room for every card title, so the three descriptions start on one line */
@media (min-width: 901px) { .cap h3 { min-height: 2em; display: flex; align-items: flex-end; } }
.cap p { max-width: 30em; margin: 0 0 22px; color: #D3D9DF; opacity: .85; }
.cap-go { font-weight: 600; display: inline-flex; gap: 10px; align-items: center; }
.cap-go::after { content: "→"; color: var(--die); transition: transform .3s var(--ease); }
.cap:hover .cap-go::after { transform: translateX(6px); }

/* ---------- photo band ---------- */
.band { position: relative; height: 92vh; min-height: 520px; overflow: hidden; background: var(--night); color: #fff; display: flex; align-items: flex-end; }
.band-img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
/* one fade for every band: dark under the text (bottom, and left where the text starts), clear at the top right.
   Measured so orange text stays above 5.5:1 on the brightest photo. */
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,16,19,.92) 0%, rgba(13,16,19,.78) 35%, rgba(13,16,19,0) 70%), linear-gradient(90deg, rgba(13,16,19,.5) 0%, rgba(13,16,19,0) 65%); }
.band-copy { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(48px, 7vw, 110px); }
.band-quote { font: 700 clamp(40px, 5.6vw, 96px)/.98 var(--display); max-width: 13em; margin: 0; letter-spacing: -.012em; text-shadow: 0 1px 2px rgba(13,16,19,.4), 0 2px 28px rgba(13,16,19,.6); }
.band-quote span { color: var(--die); }

/* ---------- shared split heading ---------- */
.split-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.split-head > p { margin: 0; font-size: 19px; color: var(--mute); max-width: 30em; }

/* ---------- blank shapes ---------- */
.shapes-sec { padding: clamp(96px, 12vw, 180px) 0; }
.shapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.shapes li { background: #fff; padding: 30px 26px 30px; transition: transform .4s var(--ease), box-shadow .4s; }
.shapes li:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(18,21,25,.35); }
.shapes svg { width: 100%; max-width: 140px; height: auto; margin-bottom: 26px; }
.shapes svg * { fill: #AEB5BC; stroke: #6A727A; stroke-width: 1.2; }
.shapes li:hover svg * { fill: var(--die); stroke: #9B6407; }
.shapes p { margin: 8px 0 0; font-size: var(--fs-card); color: var(--mute); }

/* ---------- stamping ---------- */
.stamp { background: var(--sheet-2); padding: clamp(96px, 12vw, 180px) 0; }
.stamp-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.stamp-photo { margin: 0; overflow: hidden; }
.stamp-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 60% 70%; }
.stamp-grid h2 { font-size: var(--fs-h2-sm); margin-bottom: 24px; }
.stamp-grid p { color: var(--mute); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid #B9C0C7; }
.ticks li { padding: 16px 0; border-bottom: 1px solid #B9C0C7; font: 600 20px var(--display); display: flex; gap: 14px; align-items: center; }
.ticks li::before { content: ""; width: 10px; height: 10px; background: var(--die); }
.stamp-more { margin: 28px 0 0; }

/* ---------- calculator (dark) ---------- */
.calc { background: var(--night-2); color: #fff; padding: clamp(96px, 12vw, 180px) 0; }
.calc .eyebrow, .calc .split-head > p { color: var(--mute-d); }
.calc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.calc-in { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg { display: inline-flex; border: 2px solid rgba(255,255,255,.75); margin-bottom: 28px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 12px 22px; font-weight: 600; }
.seg input:checked + span { background: #fff; color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--die); outline-offset: -3px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.f { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 15px; min-width: 0; }
.f[hidden] { display: none; }
input[type=number], input[type=text], input[type=email], input[type=tel], textarea {
  font: 500 19px/1.3 var(--body); color: #fff; background: var(--night-3);
  border: 0; border-bottom: 2px solid #6B747D; padding: 14px; width: 100%; border-radius: 0;
}
input:focus, textarea:focus { border-bottom-color: var(--die); outline: none; }
input[type=number] { font-family: var(--mono); }
textarea { font-size: 17px; resize: vertical; }
.readout { background: var(--die); color: var(--ink); padding: clamp(28px, 3.4vw, 48px); display: grid; gap: 26px; }
.ro { display: flex; flex-direction: column; gap: 8px; }
.ro span { font: 500 12.5px/1 var(--mono); letter-spacing: .02em; color: #3A2604; }
.ro b { font: 700 clamp(34px, 3vw, 48px)/1 var(--display); font-variant-numeric: tabular-nums; }
.ro.big b { font-size: clamp(64px, 7.4vw, 128px); letter-spacing: -.02em; }
.how { font-size: 15px; color: var(--mute-d); margin: 16px 0 0; }

/* ---------- link lists ---------- */
.markets { padding: clamp(96px, 12vw, 180px) 0 clamp(96px, 12vw, 180px); overflow: clip; }
/* industry pages: the related-links list sits right above Other Industries, so the pair shares one gap */
.markets.rel { padding-bottom: 0; }
.markets.rel + .markets { padding-top: clamp(64px, 8vw, 110px); }
/* industry pages end with related pages and other industries side by side */
.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(40px, 7vw, 120px); align-items: start; }
.pair-grid h2 { margin-bottom: 26px; }
.mk-list.sm a { padding: 13px 0; font-size: clamp(21px, 1.9vw, 27px); }
@media (max-width: 900px) { .pair-grid { grid-template-columns: 1fr; } }
/* the heading stays at the top of the list while it scrolls past */
.mk-grid { align-items: start; }
.mk-head { position: sticky; top: calc(var(--head) + 40px); }
.mk-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.mk-note { margin: 22px 0 0; color: var(--mute); max-width: 26em; }
.mk-list li { border-bottom: 1px solid rgba(18,21,25,.18); }
.mk-list a { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; font: 700 clamp(26px, 2.6vw, 38px)/1.1 var(--display); gap: 16px; color: var(--ink); text-decoration: none; transition: color .2s, transform .3s var(--ease); }
.mk-list a::after { content: "\2192"; font: 400 22px var(--body); color: var(--die); }
/* slides instead of padding, so long names do not re-wrap on hover */
.mk-list a:hover { color: var(--red); transform: translateX(10px); }
/* names with no page to link to yet: same size, no arrow */
.mk-list.plain span { display: block; padding: 18px 0; font: 700 clamp(26px, 2.6vw, 38px)/1.1 var(--display); color: var(--ink); }

/* ---------- about ---------- */
.about { background: var(--sheet-2); padding: clamp(96px, 12vw, 180px) 0; }

/* ---------- contact ---------- */
.contact { background: var(--night); color: #fff; padding: clamp(96px, 12vw, 180px) 0; }
.contact .eyebrow { color: var(--mute-d); }
.ct-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 96px); }
.ct-grid h2 { font-size: var(--fs-h2); margin-bottom: 26px; }
.ct-grid > div > p { color: #D3D9DF; margin: 0 0 32px; }
address { font-style: normal; line-height: 1.75; color: #D3D9DF; }
address b { color: #fff; }
address a { color: #fff; }
.quote { display: grid; gap: 20px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.drop { position: relative; display: grid; place-items: center; text-align: center; gap: 6px; padding: 44px 20px; border: 2px dashed #6B747D; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop:focus-within { border-color: var(--die); background: rgba(240,162,30,.05); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop b { font: 700 26px/1.1 var(--display); }
.drop span { font: 400 13px var(--mono); color: var(--mute-d); }
.quote .btn { justify-self: start; }

/* ---------- footer ---------- */
footer.site { background: #08090B; color: #C9CED3; padding: 64px 0 44px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; padding-bottom: 44px; border-bottom: 1px solid #2A2F35; }
/* the footer's first column can be narrower than the logo: shrink it, never squash it */
footer .brand img { max-width: 100%; height: auto; }
.foot-brand p { margin: 18px 0 16px; }
.foot-brand address { color: #C9CED3; font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.foot-brand .btn { padding: 14px 20px; font-size: 16px; }
.foot-h { margin: 6px 0 14px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8C939B; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 16px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.family { display: flex; flex-wrap: wrap; gap: 10px 30px; padding: 28px 0; font-size: 15.5px; }
.family a { text-decoration: none; }
.family a:hover { text-decoration: underline; }
.family a[aria-current] { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--die); }
.legal { margin: 0; font-size: 14px; color: #8C939B; }

/* ---------- page notes ---------- */
.mock-notes { background: #FFF6D6; color: #3B3000; border-top: 3px solid #3B3000; padding: 22px var(--gutter) 28px; font: 400 13.5px/1.55 var(--mono); }
.mock-notes ul { margin: 8px 0 0; padding-left: 20px; }

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

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav nav { display: none; }
  /* the header is fixed, so a menu taller than the screen must scroll inside itself */
  .nav nav.open { display: block; position: absolute; top: var(--nav-h); left: 0; right: 0; max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; background: var(--night); border-bottom: 2px solid var(--die); }
  .nav nav.open ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 18px; }
  .nav nav.open a, .nav nav.open .sub-btn { display: block; padding: 13px 0; font-size: 19px; }
  .nav nav.open .sub-btn { display: inline-flex; }
  /* submenus stay closed until their button is tapped, so the top-level items all fit on a phone */
  .nav nav.open .sub { position: static; display: none; box-shadow: none; border: 0; background: none; padding: 0 0 6px 18px; min-width: 0; }
  /* desktop opens them on hover and focus; on a phone only the button's open state counts */
  .nav nav.open .has-sub:hover .sub, .nav nav.open .has-sub:focus-within .sub { display: none; }
  .nav nav.open .has-sub [aria-expanded="true"] ~ .sub { display: block; }
  /* a finger-sized target: the arrow sits in a 48px box at the end of its label */
  .nav nav.open .sub-toggle { width: 48px; height: 48px; padding: 0; margin-left: 4px; display: inline-flex; align-items: center; justify-content: center; }
  .nav nav.open .sub a { padding: 9px 0; font-size: 17px; }
  .menu-btn { display: block; }
  .nav-cta { margin-left: auto; }
  .shapes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* the header's contact button moves into the menu when the header gets too narrow for it */
.nav .menu-quote { display: none; }
@media (max-width: 900px) {
  .nav-cta { display: none; }
  .nav nav.open .menu-quote { display: block; margin-top: 14px; }
  .nav nav.open .menu-quote a { display: inline-flex; padding: 16px 24px; font-size: 17px; }
  .menu-btn { margin-left: auto; }
  .lead { font-size: 17.5px; margin-bottom: 26px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(n+3) { padding-top: 32px; }
  .caps-row { flex-direction: column; height: auto; }
  .cap { min-height: 360px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .cap::before { filter: brightness(.7); }
  .split-head, .stamp-grid, .calc-grid, .ct-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .mk-head { position: static; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .shapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields, .two { grid-template-columns: 1fr; }
  .spec-rows { grid-template-columns: 1fr; }
  /* phones: the bar drops "Home" (the logo already goes there) so the section and page fit on one line */
  .crumb-bar .crumbs > :first-child { display: none; }
  .crumb-bar .crumbs > :nth-child(2)::before { content: none; }
  :root { --nav-h: 64px; }
  .brand img { width: 205px; height: 36px; }
  /* the breadcrumb bar folds away once the page is scrolled, so the fixed header stays short */
  .crumb-bar { transition: height .25s, opacity .25s; height: var(--crumb-h); overflow: hidden; }
  header.site.solid .crumb-bar { height: 0; opacity: 0; border-top: 0; }
  html.has-crumbs:has(header.site.solid) { --head: var(--nav-h); }
  :root { --crumb-h: 44px; }
  /* photo band: the whole photo above the line, so a tall crop never cuts the subject off */
  .band { height: auto; min-height: 0; display: block; }
  .band-img { position: static; display: block; height: auto; aspect-ratio: 3 / 2; transform: none !important; }
  .band::after { content: none; }
  .band-copy { padding-top: 28px; padding-bottom: 56px; }
  .stats div { padding-right: 12px; }
  .stats div + div { padding-left: 12px; }
  .stats div:nth-child(3) { padding-left: 0; }
  .stats dd { font-size: clamp(36px, 11vw, 56px); }
  .shapes li { padding: 22px 16px 24px; }
  .shapes h3 { font-size: 21px; }
  .lesson-stage { scroll-margin-top: calc(var(--head) + 12px); }
  /* calculator drawings are 1000 units wide; these sizes come out near 11px on a phone, and the drawing code
     measures them when it places its labels */
  .nest-grid .nest-fig { padding-left: 0; padding-right: 0; }
  .nest .seg { flex-wrap: wrap; max-width: 100%; }
  .nest .seg span { padding: 12px 14px; }
  .nest-fig .fig-key { margin-left: 10px; margin-right: 10px; }
  .nest-fig .n-label { font-size: 33px; }
  .nest-fig .n-more { font-size: 32px; }
}

/* ==================== capability pages ==================== */

.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 500 13px/1 var(--mono); letter-spacing: .02em; color: var(--mute-d); margin-bottom: 22px; }
.crumbs a { color: var(--mute-d); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs > * + *::before { content: "/"; margin-right: 10px; color: var(--die); }
.crumbs [aria-current] { color: #fff; }
.crumbs [aria-current] small { font-size: inherit; color: var(--mute-d); }

/* capacity: big values on ruled rows, like a spec sheet */
.specs { padding: clamp(96px, 12vw, 180px) 0; }
.specs-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.specs-head { position: sticky; top: calc(var(--head) + 40px); }
.specs-head h2 { margin-bottom: 24px; }
.specs-head p { color: var(--mute); max-width: 26em; margin: 0; }
/* each spec reads label, then value right under it; the unit is set close to the number's size so it reads as part of it */
.spec-rows { margin: 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.spec-rows div { display: flex; flex-direction: column; gap: 8px; padding: 20px 0 22px; border-bottom: 1px solid #C3C9CF; }
.spec-rows dt { font: 500 13px/1.3 var(--mono); letter-spacing: .02em; color: var(--mute); }
.spec-rows dd { margin: 0; font: 600 22px/1.15 var(--display); color: var(--ink); }
.spec-rows dd b { font-weight: 700; font-size: clamp(30px, 2.8vw, 40px); letter-spacing: -.01em; margin-right: 4px; font-variant-numeric: tabular-nums; }

.shapes-sec.alt, .specs + .shapes-sec, .specs + .prose-sec { background: var(--sheet-2); }
.specs + .shapes-sec .shapes li { background: var(--sheet); }

/* die types, drawn in section */
.dies { background: var(--night); color: #fff; padding: clamp(96px, 12vw, 180px) 0; }
.dies .eyebrow, .dies .split-head > p { color: var(--mute-d); }
.die-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.die-cards li { background: var(--night-2); padding: 30px 30px 34px; border-top: 2px solid var(--night-3); transition: border-color .3s, transform .4s var(--ease); }
.die-cards li:hover { border-top-color: var(--die); transform: translateY(-4px); }
.die-cards svg { width: 100%; height: auto; margin-bottom: 26px; }
.die-cards h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.die-cards p { margin: 0; color: #C3CAD1; font-size: var(--fs-card); }
.d-shoe { fill: #3B434B; }
.d-punch { fill: var(--red); }
.d-pierce { fill: #E0656B; }
.d-die { fill: var(--die); }
.d-strip { fill: #AEB5BC; }
.d-blank { fill: #E2E6EA; }
.d-arrow { fill: none; stroke: var(--die); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* nest calculator */
.nest { padding: clamp(96px, 12vw, 180px) 0; }
/* drawing (.nest-fig) and results (.nest-out) read as one white panel beside the inputs */
.nest-grid { display: grid; grid-template-columns: .7fr 1.3fr; grid-template-rows: auto 1fr; grid-template-areas: "in fig" "in out"; gap: 0 clamp(28px, 4vw, 64px); align-items: start; }
.nest-in { grid-area: in; }
.nest-fig { grid-area: fig; background: #fff; padding: clamp(18px, 2.4vw, 32px) clamp(18px, 2.4vw, 32px) 0; }
.nest-fig svg { width: 100%; height: auto; display: block; }
.has-problems .nest-fig { display: none; }
.fig-key { display: none; }
.nest-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.nest-in .f { color: var(--ink); }
.nest-in output { font: 600 15px var(--mono); color: var(--ink); margin-left: auto; }
.nest-in .f:has(output) { flex-flow: row wrap; align-items: baseline; }
.nest-in .f:has(output) input { flex-basis: 100%; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; background: #B9C0C7; }
input[type=range]::-moz-range-track { height: 4px; background: #B9C0C7; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; background: var(--ink); border: 3px solid var(--die); border-radius: 50%; }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; background: var(--ink); border: 3px solid var(--die); border-radius: 50%; }
.nest .seg { border-color: var(--ink); margin: 0; justify-self: start; }
.nest .seg input:checked + span { background: var(--ink); color: #fff; }
.nest input[type=number] { background: #fff; color: var(--ink); border-bottom-color: var(--ink); }
.nest-out { grid-area: out; background: #fff; padding: clamp(18px, 2.4vw, 32px); padding-top: 0; }
.has-problems .nest-out { padding-top: clamp(18px, 2.4vw, 32px); }
#nest-svg { width: 100%; height: auto; display: block; background: var(--sheet); }
.n-strip { fill: #B4BBC2; }
.n-blank { fill: var(--die); stroke: #9B6407; stroke-width: 1.5; }
.n-dim { fill: none; stroke: var(--ink); stroke-width: 2; }
.n-more { fill: var(--mute); font-size: 13px; }
.n-arrow { fill: none; stroke: var(--mute); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.n-label { font: 600 15px var(--mono); fill: var(--ink); }
.nest-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0 0; border-top: 2px solid var(--ink); }
.nest-stats div { padding: 16px 12px 4px 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.nest-stats dt { font: 500 12px/1.3 var(--mono); letter-spacing: .02em; color: var(--mute); }
.nest-stats dd { margin: 0; font: 700 clamp(26px, 2.4vw, 38px)/1.05 var(--display); font-variant-numeric: tabular-nums; }
.nest .how { color: var(--mute); }
.nest .fields { gap: 16px; align-items: end; }
.nest .f .opt { margin-left: 0; }
#n-find { justify-self: start; }
/* where the coil goes: one bar split into blanks, skeleton and edge strip; the blank color matches the drawing */
.n-split { margin: 20px 0 0; }
.n-bar { display: flex; height: 14px; background: var(--sheet-2); }
.n-bar i { display: block; transition: width .3s var(--ease); }
.b-blank { background: var(--die); }
.b-web { background: #8C949C; }
.b-edge { background: var(--ink); }
.n-key { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; color: var(--mute); }
.n-key li { display: flex; align-items: center; gap: 8px; }
.n-key i { width: 12px; height: 12px; display: block; }
.n-key b { color: var(--ink); font: 600 15px var(--mono); }
/* layout comparison and best-width tables */
.n-cmp { width: 100%; border-collapse: collapse; margin: 22px 0 0; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.n-cmp th, .n-cmp td { text-align: left; padding: 10px 10px 10px 0; border-bottom: 1px solid #D3D8DD; }
.n-cmp thead th { font: 500 12px/1.3 var(--mono); letter-spacing: .02em; color: var(--mute); border-bottom: 2px solid var(--ink); }
.n-cmp tbody th { font-weight: 600; }
.n-cmp td { font-family: var(--mono); font-size: 14.5px; }
.n-cmp tr.on { background: var(--sheet); box-shadow: inset 4px 0 0 var(--die); }
.n-cmp tr.on > :first-child { padding-left: 12px; }
.n-tag { display: inline-block; margin-left: 8px; padding: 3px 6px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: #fff; vertical-align: 2px; }
.nest-stats.cost { margin-top: 8px; border-top-width: 1px; }
.nest-stats[hidden], .n-best[hidden] { display: none; }
.n-best { margin: 28px 0 0; padding: 22px 0 0; border-top: 2px solid var(--ink); }
.n-best-h { font-size: clamp(24px, 2.2vw, 32px); margin: 0 0 10px; }
.n-best p { margin: 0 0 10px; }
.n-hints { margin: 0; padding-left: 20px; color: var(--mute); font-size: 16px; }
.n-hints li { margin: 4px 0; }
.n-use { font: 600 14px/1 var(--body); background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 7px 14px; cursor: pointer; }
.n-use:hover, .n-use:focus-visible { background: var(--ink); color: #fff; outline: none; }
.n-rank td:last-child { text-align: right; padding-right: 0; }
/* shared calculator parts (calc.js): gauge picker, button row, formulas and FAQ section */
.nest select { font: 500 16px/1.3 var(--mono); color: var(--ink); background: #fff; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 15px 12px; width: 100%; cursor: pointer; }
.nest select:focus { border-bottom-color: var(--die); outline: none; }
.calc-tools { margin: 22px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.calc-tools .btn { padding: 14px 20px; font-size: 16px; }
/* Same height and type as the buttons beside it: 12px padding + the 2px border = the .btn's 14px */
.calc-tools .n-use { padding: 12px 18px; font-size: 16px; }
/* share dialog (calc.js) */
.share-modal { width: min(520px, calc(100vw - 32px)); padding: 32px; border: 0; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(18,21,25,.5); }
.share-modal::backdrop { background: rgba(18,21,25,.55); }
.share-modal h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 0 0 10px; }
.share-modal p { margin: 0 0 18px; color: var(--mute); font-size: 16px; }
.share-modal input { background: var(--sheet); color: var(--ink); border-bottom-color: var(--ink); font: 500 15px var(--mono); }
.share-close { position: absolute; top: 10px; right: 10px; margin: 0; }
.share-x { width: 40px; height: 40px; border: 0; background: transparent; font: 400 30px/1 var(--body); color: var(--ink); cursor: pointer; }
.share-x:hover, .share-x:focus-visible { background: var(--sheet); outline: none; }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.share-actions .btn { padding: 14px 20px; font-size: 16px; }
.share-actions .btn[hidden] { display: none; }
.share-modal .share-status { margin: 12px 0 0; min-height: 1.4em; color: var(--ink); }
/* quote form: where prefilled numbers came from */
.calc-from { margin: 0 0 22px; padding: 14px 16px; background: var(--sheet); border-left: 4px solid var(--die); font-size: 16px; color: var(--ink); }
.calc-from a { color: inherit; font-weight: 600; }
a.n-use { display: inline-flex; align-items: center; text-decoration: none; }
.n-use[hidden], .fields[hidden] { display: none; }
.f-group { margin: 6px 0 -10px; padding-top: 18px; border-top: 1px solid #B9C0C7; font: 700 20px/1.2 var(--display); }
.f-group .opt { margin-left: 8px; }
.bw-hole { fill: var(--sheet); stroke: #9B6407; stroke-width: 1.5; }
/* input problems (calc.js hmpCheck): listed above the results; a real problem hides the results */
.calc-problems { list-style: none; margin: 0 0 18px; padding: 14px 16px; background: #FCEDEC; border-left: 4px solid var(--red); display: grid; gap: 6px; font-size: 16px; }
.calc-problems[hidden] { display: none; }
.calc-problems li.warn { color: var(--mute); }
.calc-problems li.warn::before { content: "Note: "; font-weight: 600; color: var(--ink); }
.calc-problems:not(:has(li:not(.warn))) { background: var(--sheet); border-left-color: var(--die); }
.has-problems .nest-out > :not(.calc-problems):not(.how) { display: none; }
.nest input[aria-invalid=true], .nest select[aria-invalid=true] { border-bottom-color: var(--red); background: #FCEDEC; }
/* From a DXF File controls (dxf-ui.js) */
.fields .f-wide { grid-column: 1 / -1; }
.f.dxf-single { display: none; }
.nest input[type=file] { font: 500 15px var(--body); color: var(--ink); background: #fff; border-bottom: 2px solid var(--ink); padding: 12px; width: 100%; }
.nest .f-hint { color: var(--mute); }
.dxf-notes { list-style: none; margin: 0; padding: 0; gap: 6px; font-weight: 400; font-size: 15px; color: var(--mute); }
.dxf-notes:empty { display: none; }
.dxf-notes li { padding-left: 14px; border-left: 3px solid var(--die); }
/* press tonnage: the edges the die cuts, drawn heavy in red */
.t-cut { stroke: var(--red); stroke-width: 4; }
.t-hole { fill: #fff; stroke: var(--red); stroke-width: 3; }
/* blanks per coil: coil end view and the unrolled strip */
.c-coil { fill: #B4BBC2; stroke: var(--ink); stroke-width: 2; }
.c-eye { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.calc-faq { background: var(--sheet-2); }
.calc-math { margin: 0; border-top: 2px solid var(--ink); }
.calc-math div { padding: 14px 0; border-bottom: 1px solid #B9C0C7; }
.calc-math dt { font: 500 12px/1.3 var(--mono); letter-spacing: .02em; color: var(--mute); margin-bottom: 6px; }
.calc-math dd { margin: 0; font: 500 15.5px/1.5 var(--mono); }
@media (max-width: 600px) {
  .nest .fields { grid-template-columns: 1fr; }
  .n-cmp { font-size: 14px; }
  .n-cmp td { font-size: 13px; }
  .n-cmp th, .n-cmp td { padding-right: 6px; }
}

/* how a job runs */
.job { background: var(--night-2); color: #fff; padding: clamp(96px, 12vw, 180px) 0; }
.job .eyebrow, .job .split-head > p { color: var(--mute-d); }
.job-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: job; }
.job-steps li { counter-increment: job; padding: 0 22px 0 0; position: relative; }
.job-steps li::before { content: counter(job, decimal-leading-zero); display: block; font: 700 clamp(64px, 6vw, 104px)/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--die); margin-bottom: 18px; }
.job-steps li::after { content: ""; position: absolute; left: 0; right: 0; top: clamp(78px, 7.2vw, 122px); height: 2px; background: var(--night-3); }
.job-steps li:first-child::after { background: linear-gradient(90deg, var(--die), var(--night-3)); }
.job-steps h3 { font-size: var(--fs-h3); margin: 28px 0 10px; }
.job-steps p { margin: 0; color: #C3CAD1; font-size: var(--fs-card); }

/* materials + FAQ */
.faq-sec { padding: clamp(96px, 12vw, 180px) 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 120px); }
/* industry pages: a dark quote panel beside the FAQ, held in view while the FAQ scrolls past */
.quote-cta { position: sticky; top: calc(var(--head) + 32px); align-self: start; isolation: isolate; overflow: hidden; background: var(--night); color: #fff; padding: clamp(32px, 4vw, 56px); padding-right: clamp(32px, 9vw, 150px); }
.quote-cta h2 { font-size: var(--fs-h2-sm); margin: 0 0 18px; }
.quote-cta p { color: #D3D9DF; margin: 0 0 28px; max-width: 26em; }
.qc-acts { display: flex; flex-wrap: wrap; gap: 12px; }
* + .quote-cta { margin-top: clamp(40px, 5vw, 64px); }   /* capability pages: under the steel list */
.qc-blank { position: absolute; z-index: -1; right: -70px; bottom: -70px; width: 240px; height: 240px; }
.qc-disc { fill: var(--night-3); }
.qc-cut { fill: none; stroke: var(--die); stroke-width: 2; stroke-dasharray: 10 8; transform-origin: 100px 100px; animation: qc-turn 40s linear infinite; }
@keyframes qc-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .qc-cut { animation: none; } }
@media (max-width: 900px) { .quote-cta { position: relative; top: auto; padding-right: 120px; } .qc-blank { width: 170px; height: 170px; right: -60px; bottom: -60px; } }
@media (max-width: 600px) { .quote-cta { padding-right: 32px; padding-bottom: 72px; } }
.h-sm { font-size: var(--fs-h2-sm); margin-bottom: 28px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 500 13px/1 var(--mono); letter-spacing: .02em; padding: 11px 13px; border: 1.5px solid var(--ink); }
.note { color: var(--mute); margin: 24px 0 0; max-width: 28em; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid #C3C9CF; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 700 clamp(21px, 1.7vw, 26px)/1.2 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; display: grid; place-items: center; font: 400 26px/1 var(--body); border: 1.5px solid var(--ink); transition: background .2s, color .2s; }
.faq details[open] summary::after { content: "−"; background: var(--ink); color: #fff; }
.faq details p { margin: 0 0 24px; color: var(--mute); max-width: 36em; }

/* next capability: a full-width photo link */
.next-cap { position: relative; display: block; padding: clamp(80px, 11vw, 160px) 0; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; }
.next-cap::before { content: ""; position: absolute; inset: 0; z-index: -2; background: center 70% / cover var(--img); filter: grayscale(.5) brightness(.5); transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s; }
.next-cap::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,16,19,.85), rgba(13,16,19,.2)); }
.next-cap:hover::before { transform: scale(1); filter: none; }
.next-cap .wrap { display: block; }
.next-cap .eyebrow { display: block; color: #D3D9DF; }
.next-title { display: inline-flex; align-items: center; gap: 24px; font: 700 clamp(56px, 9vw, 150px)/.95 var(--display); letter-spacing: -.02em; }
.next-title::after { content: "→"; color: var(--die); transition: transform .4s var(--ease); }
.next-cap:hover .next-title::after { transform: translateX(14px); }

@media (max-width: 1100px) {
  .job-steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .nest-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .specs-grid, .nest-grid, .faq-grid { grid-template-columns: 1fr; }
  /* phones and tablets: the drawing stays pinned under the header while the inputs scroll past it */
  .nest-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "fig" "in" "out"; }
  .nest-fig { position: sticky; top: var(--head); z-index: 5; padding: 10px; box-shadow: 0 10px 16px -12px rgba(18,21,25,.35); }
  .nest-in { padding-top: 28px; }
  .nest-out { margin-top: 28px; padding-top: clamp(18px, 2.4vw, 32px); }
  .fig-key { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 0; padding-top: 8px; border-top: 1px solid #DDE1E5; }
  .fig-key div { display: flex; flex-direction: column-reverse; gap: 2px; min-width: 0; }
  .fig-key dt { font: 500 12px/1.25 var(--mono); letter-spacing: .02em; color: var(--mute); }
  .fig-key dd { margin: 0; font: 700 22px/1.1 var(--display); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
  .has-problems .fig-key { display: none; }
  .specs-head { position: static; }
  .die-cards { grid-template-columns: 1fr; }
  .job-steps { grid-template-columns: 1fr; row-gap: 36px; }
  .job-steps li::after { display: none; }
  .job-steps h3 { margin-top: 0; }
}
@media (max-width: 600px) {
  .spec-rows dd b { font-size: 30px; }
  .nest-stats { grid-template-columns: 1fr 1fr; }
}

/* ==================== stamping page ==================== */

/* two suppliers vs one plant */
.compare { padding: clamp(96px, 12vw, 180px) 0; }
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cmp-col { padding: clamp(28px, 3.4vw, 48px); }
.cmp-col.old { background: var(--sheet-2); color: var(--mute); }
.cmp-col.ours { background: var(--night); color: #fff; }
.cmp-col h3 { font-size: var(--fs-h3-lg); margin-bottom: 28px; }
.cmp-col.old h3 { color: var(--ink); }
.cmp-col ol { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.cmp-col li { counter-increment: c; display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(128,138,148,.35); font: 600 20px/1.2 var(--display); }
.cmp-col li::before { content: counter(c); flex: none; width: 34px; height: 34px; display: grid; place-items: center; font: 600 14px var(--mono); border: 1.5px solid currentColor; border-radius: 50%; }
.cmp-col li.ship::after { content: "Truck"; margin-left: auto; font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 5px 8px; border: 1px solid currentColor; }
.cmp-col.old li.ship { color: var(--red-deep); }   /* the brighter logo red is under 4.5:1 at this size */
.cmp-col.ours li::before { border-color: var(--die); color: var(--die); }
.cmp-foot { margin: 22px 0 0; font-size: 17px; }
.cmp-col.ours .cmp-foot { color: #D3D9DF; }
/* Capabilities overview: the process lists under the chain comparison */
.chain-h { font-size: var(--fs-h3); margin: clamp(40px, 5vw, 64px) 0 14px; }

.specs.alt { background: var(--sheet-2); }
.die-cards.four { grid-template-columns: repeat(4, 1fr); }
.d-part { fill: none; stroke: #E2E6EA; stroke-width: 7; stroke-linejoin: round; }

/* cup calculator drawing */
.c-blank { fill: var(--die); stroke: #9B6407; stroke-width: 2; }
.c-cup { fill: none; stroke: var(--die); stroke-linejoin: miter; }
.c-arrow { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
#cup-svg { width: 100%; height: auto; display: block; background: var(--sheet); }

@media (max-width: 1100px) { .die-cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .cmp-grid, .die-cards.four { grid-template-columns: 1fr; } }

/* ==================== value-added services page ==================== */

.svc { padding: clamp(96px, 12vw, 180px) 0; }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-grid li { position: relative; background: #fff; padding: 34px 30px 36px; transition: transform .4s var(--ease), box-shadow .4s; }
.svc-grid li:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(18,21,25,.35); }
.svc-grid svg { width: 56px; height: 56px; margin-bottom: 26px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.svc-grid li:hover svg { stroke: var(--die); }
.svc-grid h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.svc-grid p { margin: 0; color: var(--mute); font-size: var(--fs-card); }
.svc-grid .svc-ask { background: var(--night); color: #fff; }
.svc-grid .svc-ask svg { stroke: var(--die); }
.svc-grid .svc-ask p { color: #C3CAD1; margin-bottom: 20px; }
.svc-grid .svc-ask .arrow { border-color: var(--die); }

/* Heidtman family flow */
.family-sec { background: var(--night); color: #fff; padding: clamp(96px, 12vw, 180px) 0; }
.family-sec .eyebrow, .family-sec .split-head > p { color: var(--mute-d); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.flow li { position: relative; padding: 30px 28px 34px 0; border-top: 2px solid var(--night-3); }
.flow li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--night); border: 2px solid var(--mute-d); }
.flow li.here { border-top-color: var(--die); }
.flow li.here::before { background: var(--die); border-color: var(--die); }
.flow-tag { display: inline-block; font: 500 12px/1 var(--mono); letter-spacing: .02em; color: var(--mute-d); margin-bottom: 14px; }
.flow li.here .flow-tag { color: var(--die); }
.flow h3 { font-size: var(--fs-h3-lg); margin-bottom: 8px; }
.flow p { margin: 0; color: #C3CAD1; }

/* lift planner drawing */
#lift-svg { width: 100%; height: auto; display: block; background: var(--sheet); }
.l-pallet { fill: #5A3320; }
.l-stack { fill: #C9CED4; stroke: #6A727A; stroke-width: 1.5; }
.l-line { stroke: #9AA1A8; stroke-width: 1; }
.l-cap { fill: #B98F5E; }
.l-strap { fill: #1F8A3C; }
.l-limit { stroke: var(--red); stroke-width: 2; stroke-dasharray: 8 6; }

@media (max-width: 1100px) { .svc-grid { grid-template-columns: 1fr 1fr; } .flow { grid-template-columns: 1fr 1fr; row-gap: 26px; } }
@media (max-width: 600px) { .svc-grid, .flow { grid-template-columns: 1fr; } }

/* ==================== industries page ==================== */

/* hero industry buttons: pick which part the showcase shows */
.ind-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; max-width: 620px; }
.ind-tabs button { font: 600 15px/1 var(--body); color: #fff; background: rgba(13,16,19,.4); border: 1.5px solid rgba(255,255,255,.35); padding: 13px 14px; min-height: 44px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.ind-tabs button:hover { border-color: #fff; }
.ind-tabs button[aria-pressed="true"] { background: var(--die); border-color: var(--die); color: var(--ink); }
.ind-caption { margin: 18px 0 0; min-height: 1.4em; font: 500 13px/1.4 var(--mono); letter-spacing: .02em; color: var(--die); }

/* spec rows on the industry pages */
.ind-specs { margin: 26px 0 0; border-top: 2px solid var(--ink); }
.ind-specs div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid #C3C9CF; }
.ind-specs dt { font: 500 12px/1.6 var(--mono); letter-spacing: .02em; color: var(--mute); }
.ind-specs dd { margin: 0; font: 600 19px/1.3 var(--display); }

/* industries overview: one card per industry, linking to its page */
.ind-cards { padding: clamp(72px, 9vw, 130px) 0; }
.ind-grid { list-style: none; margin-top: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ind-grid li { scroll-margin-top: calc(var(--head) + 10px); }
.ind-grid a { display: flex; flex-direction: column; height: 100%; background: #fff; color: var(--ink); text-decoration: none; overflow: hidden; }
/* each card shows its industry page's hero drawing, cropped above the caption; the Industries hero holds the shared
   #steel and #hatch defs, so it must stay on the page */
.ind-grid .ind-art { margin: 0; background: var(--night); aspect-ratio: 16 / 10; padding: 14px 18px; }
.ind-grid .ind-art svg { width: 100%; height: 100%; max-height: none; transition: transform 1.2s var(--ease); }
.ind-grid .ind-art .dim text { font-size: 22px; }
.ind-grid a:hover .ind-art svg { transform: scale(1.04); }
.ind-card-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 22px 24px 26px; position: relative; background: #fff; }
.ind-card-body h2 { font-size: var(--fs-h3-lg); }
.ind-spec { font: 500 12px/1.4 var(--mono); letter-spacing: .02em; color: var(--mute); }
.ind-line { color: var(--mute); font-size: var(--fs-card); flex: 1; }
.ind-card-body .arrow { align-self: flex-start; margin-top: 6px; }
@media (max-width: 1100px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ind-grid { grid-template-columns: 1fr; } }


/* ==================== about page ==================== */

/* hero era list: the blank for each era lands, and its entry lights up */

/* history */
.history { background: var(--night); color: #fff; padding: clamp(96px, 12vw, 180px) 0; }
.history .eyebrow, .history .split-head > p { color: var(--mute-d); }
.hist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--night-3); }
.hist li { position: relative; padding: 34px 24px 0 0; }
.hist li::before { content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--night); border: 2px solid var(--mute-d); }
.hist li.now::before { background: var(--red); border-color: var(--red); }
.hist b { display: block; font: 700 clamp(44px, 4.6vw, 76px)/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--die); margin-bottom: 14px; }
.hist li.now b { color: var(--red); -webkit-text-stroke: 0; }
.hist h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.hist p { margin: 0; color: #C3CAD1; font-size: var(--fs-card); }

/* Heidtman family */
.family-cards { padding: clamp(96px, 12vw, 180px) 0; }
.fam-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.fam-grid li > a, .fam-grid li > div { display: flex; flex-direction: column; height: 100%; padding: 28px 24px; background: #fff; text-decoration: none; border-top: 3px solid var(--red); transition: transform .4s var(--ease), box-shadow .4s; }
.fam-grid li > a:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(18,21,25,.35); }
.fam-grid li.you > div { background: var(--night); color: #fff; border-top-color: var(--die); }
.fam-tag { font: 500 12px/1.4 var(--mono); letter-spacing: .02em; color: var(--mute); margin-bottom: 14px; }
.fam-grid li.you .fam-tag { color: var(--mute-d); }
.fam-grid h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.fam-grid p { margin: 0 0 18px; color: var(--mute); font-size: var(--fs-card); flex: 1; }
.fam-grid li.you p { color: #C3CAD1; margin: 0; }
.fam-go { font: 600 14px var(--mono); }
.fam-go::after { content: " →"; color: var(--red); }

/* quality and safety: big figures */
.qs { background: var(--sheet-2); padding: clamp(96px, 12vw, 180px) 0; }
.qs-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.qs-grid li { padding: 28px 24px 0 0; }
.qs-grid li + li { padding-left: 24px; border-left: 1px solid #B9C0C7; }
.qs-grid b { display: block; font: 700 clamp(44px, 4.4vw, 72px)/1 var(--display); letter-spacing: -.015em; margin-bottom: 14px; }
.qs-grid h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.qs-grid p { margin: 0 0 16px; color: var(--mute); font-size: var(--fs-card); }

/* location */
.loc { background: var(--night); color: #fff; padding: clamp(96px, 12vw, 180px) 0; }
.loc .eyebrow { color: var(--mute-d); }
.loc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.loc-grid h2 { font-size: var(--fs-h2-sm); margin-bottom: 22px; }
.loc-grid > div > p { color: #C3CAD1; margin: 0 0 28px; }
.loc-facts { margin: 0 0 32px; border-top: 1px solid var(--night-3); }
.loc-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--night-3); }
.loc-facts dt { font: 500 12px/1.6 var(--mono); letter-spacing: .02em; color: var(--mute-d); }
.loc-facts dd { margin: 0; font-weight: 600; }
.loc-facts a { color: #fff; }
.loc-map { margin: 0; }
.loc-map svg { width: 100%; height: auto; display: block; }
.m-road { fill: none; stroke: #3B444D; stroke-width: 10; }
.m-road.big { stroke: #59626B; stroke-width: 16; }
.m-label { font: 500 14px var(--mono); fill: var(--mute-d); letter-spacing: .08em; }
.m-label.strong { fill: #fff; font-weight: 600; }
.m-plant { fill: var(--night-3); stroke: var(--die); stroke-width: 2; }
.m-pin { fill: var(--red); }
.m-pulse { fill: none; stroke: var(--red); stroke-width: 2; transform-origin: 348px 242px; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

@media (max-width: 1100px) {
  .hist { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .fam-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hist { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--night-3); }
  .hist li { padding: 0 0 8px 30px; }
  .hist li::before { top: 8px; left: -9px; }
  .loc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .fam-grid, .qs-grid { grid-template-columns: 1fr; }
  .qs-grid li + li { padding-left: 0; border-left: 0; }
}

/* ==================== careers page ==================== */

/* open positions */
.jobs { padding: clamp(96px, 12vw, 180px) 0; background: var(--sheet-2); }
.job-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.job-list > li { border-bottom: 1px solid #B9C0C7; }
.job-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1.4fr 1fr .7fr auto; gap: 20px; align-items: center; padding: 22px 6px; transition: background .2s; }
.job-list summary::-webkit-details-marker { display: none; }
.job-list summary:hover { background: rgba(255,255,255,.5); }
.jt { display: flex; align-items: center; gap: 12px; }
.jt b { font: 700 clamp(22px, 2vw, 30px)/1.1 var(--display); }
.jt b::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-5px) rotate(45deg); transition: transform .3s; }
.job-list details[open] .jt b::after { transform: translateY(-1px) rotate(225deg); }
.new { font: 600 12px/1 var(--mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--die); padding: 5px 7px; }
.jm { color: var(--mute); }
.jp { font: 700 20px var(--display); font-variant-numeric: tabular-nums; }
.job-apply { font-weight: 600; text-decoration: none; padding: 11px 20px; background: var(--red); color: #fff; transition: background .2s; }
.job-apply:hover { background: var(--red-deep); }
.jd { padding: 0 6px 26px; max-width: 760px; color: var(--mute); }
.jd p { margin: 0 0 12px; }
.jd ul { margin: 0; padding-left: 20px; }
.jobs-more { margin: 30px 0 0; }

/* career ladder: each rung steps up */
.ladder { background: var(--night); color: #fff; padding: clamp(96px, 12vw, 180px) 0; }
.ladder .eyebrow, .ladder .split-head > p { color: var(--mute-d); }
.rungs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; }
.rungs li { background: var(--night-2); padding: 26px 24px 30px; border-top: 3px solid var(--night-3); }
.rungs li:nth-child(2) { margin-bottom: 40px; }
.rungs li:nth-child(3) { margin-bottom: 80px; }
.rungs li:nth-child(4) { margin-bottom: 120px; border-top-color: var(--die); }
.rung-pay { display: block; font: 700 clamp(32px, 3vw, 48px)/1 var(--display); color: var(--die); margin-bottom: 14px; }
.rungs h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.rungs p { margin: 0; color: #C3CAD1; font-size: var(--fs-card); }

/* a shift, by the clock */
.shift { background: var(--night-2); color: #fff; padding: clamp(96px, 12vw, 180px) 0; }
.shift .eyebrow, .shift .split-head > p { color: var(--mute-d); }
.clock { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--night-3); }
.clock li { position: relative; padding: 30px 22px 0 0; }
.clock li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--night-2); border: 2px solid var(--die); }
.clock b { display: block; font: 700 clamp(36px, 3.4vw, 56px)/1 var(--display); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.clock h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.clock p { margin: 0; color: #C3CAD1; font-size: var(--fs-card); }

@media (max-width: 1100px) {
  .job-list summary { grid-template-columns: 1fr auto; row-gap: 6px; }
  .job-list .jm { grid-column: 1; }
  .job-list .jp { grid-column: 2; grid-row: 1; text-align: right; }
  .job-list .job-apply { grid-column: 2; grid-row: 2; }
  .rungs { grid-template-columns: 1fr 1fr; }
  .rungs li:nth-child(n) { margin-bottom: 0; }
  .clock { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
}
@media (max-width: 600px) {
  .rungs, .clock { grid-template-columns: 1fr; }
  .clock { border-top: 0; border-left: 2px solid var(--night-3); }
  .clock li { padding: 0 0 8px 28px; }
  .clock li::before { top: 8px; left: -8px; }
}


/* ==================== learn page ==================== */

.gauge-readout { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 36px 0 0; }
.gauge-readout div { display: flex; flex-direction: column-reverse; gap: 6px; }
.gauge-readout dt { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute-d); }
.gauge-readout dd { margin: 0; font: 700 clamp(30px, 3vw, 46px)/1 var(--display); color: var(--die); font-variant-numeric: tabular-nums; }

.tools { padding: clamp(96px, 12vw, 180px) 0; }
.tool-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool-grid.three { grid-template-columns: repeat(3, 1fr); }  /* six calculators: two even rows */
.tool-grid a { display: flex; flex-direction: column; height: 100%; padding: 30px 26px; background: #fff; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s; }
.tool-grid a:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(18,21,25,.35); }
.tool-grid svg { width: 100%; max-width: 150px; height: auto; margin-bottom: 24px; fill: #D4D9DE; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.tool-grid a:hover svg { fill: var(--die); }
.tool-tag { font: 500 12px/1 var(--mono); letter-spacing: .02em; color: var(--mute); margin-bottom: 10px; }
.tool-grid h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.tool-grid p { margin: 0 0 20px; color: var(--mute); font-size: var(--fs-card); flex: 1; }
.tool-go { font-weight: 600; }
.tool-go::after { content: " →"; color: var(--red); }

.gauge-sec { background: var(--night); color: #fff; padding: clamp(96px, 12vw, 180px) 0; }
.gauge-sec .eyebrow { color: var(--mute-d); }
.gauge-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.gauge-head { position: sticky; top: calc(var(--head) + 30px); }
.gauge-head h2 { margin-bottom: 22px; }
.gauge-head p { color: #C3CAD1; }
.gauge-head .note { color: var(--mute-d); font-size: 15px; }
.gauge-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.gauge-table th, .gauge-table td { padding: 11px 14px; text-align: right; border-bottom: 1px solid var(--night-3); }
.gauge-table thead th { font: 500 12px var(--mono); letter-spacing: .02em; color: var(--mute-d); border-bottom: 2px solid var(--mute-d); }
.gauge-table th[scope=row] { text-align: left; font: 700 20px var(--display); }
.gauge-table td { font: 500 16px var(--mono); color: #C3CAD1; }
.gauge-table tr[data-wheel] { cursor: pointer; }
.gauge-table tr[data-wheel]:hover td, .gauge-table tr[data-wheel]:focus-visible td { color: #fff; }
.gauge-table tr.on { background: rgba(240,162,30,.12); }
.gauge-table tr.on th, .gauge-table tr.on td { color: var(--die); }

.gloss { padding: clamp(96px, 12vw, 180px) 0; }
.gloss-search { max-width: 420px; justify-self: end; width: 100%; }
input[type=search] { font: 500 19px/1.3 var(--body); color: var(--ink); background: #fff; border: 0; border-bottom: 2px solid var(--ink); padding: 14px; width: 100%; border-radius: 0; }
.gloss-count { font: 500 13px var(--mono); letter-spacing: .02em; color: var(--mute); margin: 0 0 18px; }
.gloss-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 2px solid var(--ink); }
.gloss-list div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid #C3C9CF; }
.gloss-list div[hidden] { display: none; }
.gloss-list dt { font: 700 20px/1.2 var(--display); }
.gloss-list dd { margin: 0; color: var(--mute); font-size: var(--fs-card); }

/* ==================== before you visit ==================== */

.route-sec { padding: clamp(80px, 10vw, 140px) 0; }
.route-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.route-grid .note { color: var(--mute); }
.visit-steps h3 { font-size: var(--fs-h3-lg); margin-bottom: 20px; }
.visit-steps ol { list-style: none; margin: 0; padding: 0; counter-reset: v; border-top: 2px solid var(--ink); }
.visit-steps li { counter-increment: v; display: grid; grid-template-columns: 44px 220px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid #C3C9CF; }
.visit-steps li::before { content: counter(v); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--die); color: var(--ink); font: 600 14px var(--mono); }
.visit-steps b { font: 700 21px/1.2 var(--display); }
.visit-steps span { color: var(--mute); }
.visit-hours { margin: 20px 0 0; font: 500 14px var(--mono); color: var(--ink); }
.visit-rules { background: var(--sheet-2); }
.ct-side { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; justify-content: center; }

/* ==================== simple page header (no 3D) ==================== */

.page-hero { position: relative; background: var(--night); color: #fff; padding: 190px 0 clamp(72px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: center / cover var(--img, none); filter: grayscale(.4) brightness(.45); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,16,19,.95), rgba(13,16,19,.4)); }
.page-hero h1 { font-size: var(--fs-title); line-height: .96; letter-spacing: -.015em; margin-bottom: 24px; max-width: 12em; }
.page-hero .lead { margin: 0; }
.page-hero.slim { padding-bottom: 64px; }

/* contact: the quote prompt leads; the message form is below it; the phone line is last */
.depts { padding: clamp(80px, 10vw, 140px) 0; }
.ct-quote { padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 110px); }
.ct-quote h2 { font-size: var(--fs-h2-sm); margin-bottom: 22px; }
.ct-quote .ct-grid > div > p { color: var(--mute); max-width: 30em; margin: 0 0 32px; }
.ct-ready { align-self: start; background: #fff; border-top: 3px solid var(--red); padding: 28px 30px; }
.ct-ready h3 { font-size: var(--fs-h3); margin: 0 0 14px; }
.ct-ready ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ct-ready li { position: relative; padding-left: 24px; }
.ct-ready li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 2px; background: var(--die); }
/* the message heading stays smaller than the quote prompt's */
.ct-quote + .msg .ct-grid { border-top: 1px solid #C3C9CF; padding-top: clamp(56px, 7vw, 96px); }
.msg .ct-grid h2 { font-size: var(--fs-h2-sm); margin-bottom: 22px; }
.ct-call { margin: clamp(48px, 6vw, 72px) 0 0; font-size: 16px; color: var(--mute); }
.ct-call a { color: var(--ink); font-weight: 600; }

/* site forms (forms.js); inputs default to dark sections, .msg is light */
.msg { padding: 0 0 clamp(80px, 10vw, 140px); }
.msg .ct-grid > div > p { color: var(--mute); }
.msg input[type=text], .msg input[type=email], .msg input[type=tel], .msg textarea, .msg select, .msg input[type=file] { background: #fff; color: var(--ink); border-bottom-color: var(--ink); }
.msg input:focus, .msg textarea:focus, .msg select:focus { border-bottom-color: var(--die); outline: none; }
.msg .btn.ghost { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.msg .btn.ghost:hover { background: rgba(18,21,25,.06); }
.msg .site-form .fs { border-top-color: #C3C9CF; }
.msg .site-form .fs legend { color: var(--ink); }
.msg .f .f-hint, .msg .site-form .f-hint { color: var(--mute); }
.msg .step-count { color: var(--red-deep); }   /* die orange is too faint on the light sheet */
.msg .calc-from { background: #fff; }
/* starts a second group of questions within one step */
.site-form .f-break { border-top: 1px solid #C3C9CF; padding-top: 24px; margin-top: 8px; }
/* follow-up questions opened by an answer on the same step */
.site-form .fs-more { display: grid; gap: 20px; }
.site-form .f-head { margin: 0; font: 700 21px/1.2 var(--display); }
/* quote page: the form section follows the dark hero; What Happens Next sits on the darker sheet below it */
.qt-sec { padding-top: clamp(80px, 10vw, 140px); }
.qt-next { background: var(--sheet-2); }
.site-form { display: grid; gap: 20px; align-content: start; }
/* forms.js hides a branch with the hidden attribute; a class that sets display (.two) would otherwise win */
.site-form [data-show-when][hidden] { display: none; }
.site-form ::placeholder { color: #8A939C; opacity: 1; }
.site-form .btn { justify-self: start; }
.site-form .btn[disabled] { opacity: .6; cursor: progress; }
.f .opt { font: 400 12.5px var(--mono); letter-spacing: .02em; color: var(--mute); margin-left: 6px; }
.f .err { font-size: 14px; font-weight: 500; color: var(--red-deep); }
.contact .f .err { color: #FF8F94; }
.f [aria-invalid=true] { border-bottom-color: var(--red); }
/* file picker: matches the text inputs; the browser's own button is restyled as a small die-orange tab */
input[type=file] { font: 500 16px var(--body); color: #fff; background: var(--night-3); border: 0; border-bottom: 2px solid #6B747D; padding: 12px 14px; width: 100%; border-radius: 0; }
input[type=file]::file-selector-button { font: 600 14px var(--body); color: var(--ink); background: var(--die); border: 0; padding: 8px 14px; margin-right: 14px; cursor: pointer; }
.f .f-hint, .site-form .f-hint { font-size: 14px; font-weight: 400; color: var(--mute-d); margin: 0; }
/* quote form steps (The Job, The Die, The Part, The Steel, About You) */
.site-form .fs { border: 0; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.18); display: grid; gap: 20px; min-width: 0; }
.site-form .fs legend { float: left; width: 100%; padding: 0; margin: 0 0 4px; font: 700 26px/1.1 var(--display); color: #fff; }
.site-form .fs legend + * { clear: both; }
/* stepped forms (forms.js): only the current step shows; .btn sets display, so hidden needs saying here */
.site-form [data-step]:not(.on) { display: none; }
.site-form .btn[hidden] { display: none; }
.step-count { margin: 0 0 -8px; font: 500 13px var(--mono); letter-spacing: .02em; color: var(--die); }
.step-count:empty { display: none; }
.step-nav { display: flex; flex-wrap: wrap; gap: 12px; }
/* Turnstile widget: holds its height while it loads so the buttons below don't jump */
.site-form .ts { min-height: 65px; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-sent { align-self: start; margin: 0; padding: 28px; background: #fff; border-top: 3px solid var(--die); font: 600 22px/1.35 var(--display); }
.form-sent:focus { outline: none; }
/* honeypot: off screen, hidden from screen readers */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.dept-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dept-grid li { display: flex; flex-direction: column; gap: 6px; padding: 28px 26px; background: #fff; border-top: 3px solid var(--red); }
.dept-grid h3 { font-size: var(--fs-h3); margin: 4px 0; }
.dept-grid p { margin: 0 0 10px; color: var(--mute); }
.dept-grid a { font-weight: 600; }
select { font: 500 18px var(--body); color: #fff; background: var(--night-3); border: 0; border-bottom: 2px solid #6B747D; padding: 14px; border-radius: 0; max-width: 100%; min-width: 0; }
.credit { background: var(--sheet-2); padding: clamp(80px, 10vw, 140px) 0; }
.credit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.credit-grid p { color: var(--mute); }
.credit-card { background: var(--night); color: #fff; padding: clamp(28px, 3.4vw, 48px); }
.credit-card ol { margin: 0 0 28px; padding-left: 22px; display: grid; gap: 10px; font: 600 20px var(--display); }

/* quality */
.certs { padding: clamp(80px, 10vw, 140px) 0; }
.cert-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert-grid li { display: flex; flex-direction: column; padding: 28px 24px; background: #fff; }
.cert-badge { align-self: flex-start; font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 8px 10px; background: var(--ink); color: #fff; margin-bottom: 18px; }
.cert-grid h3 { font-size: var(--fs-h3); margin-bottom: 14px; }
.cert-grid dl { margin: 0 0 22px; flex: 1; }
.cert-grid dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #DDE1E5; font-size: 15px; }
.cert-grid dt { color: var(--mute); }
.cert-grid dd { margin: 0; font-weight: 600; text-align: right; }
.cert-dl { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; padding: 10px 0; }
.cert-dl::before { content: "↓"; color: var(--red); font-weight: 700; }

/* terms and privacy */
.legal-doc { padding: clamp(64px, 8vw, 110px) 0; }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 96px); }
.legal-toc { position: sticky; top: calc(var(--head) + 30px); align-self: start; }
.legal-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.legal-toc a { text-decoration: none; font-weight: 600; }
.legal-toc a:hover { text-decoration: underline; }
.updated { margin-top: 24px; font: 500 12.5px var(--mono); color: var(--mute); }
.legal-body { max-width: 38em; }
.legal-body h2 { font-size: var(--fs-h3-lg); margin: 44px 0 14px; scroll-margin-top: calc(var(--head) + 20px); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: #2b2f34; }

/* 404 */
.page-hero.lost { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.lost-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.lost-links { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lost-links a { display: inline-block; padding: 12px 16px; border: 1.5px solid rgba(255,255,255,.4); text-decoration: none; font-weight: 600; }
.lost-links a:hover { border-color: var(--die); color: var(--die); }
.lost-art { width: 100%; height: auto; }
.la-strip { fill: #AEB5BC; }
.la-hole { fill: var(--night); }
.la-die { fill: var(--die); }
.la-blank { fill: #E2E6EA; }
.la-arrow { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1100px) {
  .tool-grid, .tool-grid.three, .cert-grid, .dept-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .gauge-grid, .route-grid, .credit-grid, .legal-grid, .lost-grid { grid-template-columns: 1fr; }
  .gauge-head, .legal-toc { position: static; }
  .gloss-list { grid-template-columns: 1fr; }
  .gloss-search { justify-self: start; }
  .visit-steps li { grid-template-columns: 40px 1fr; }
  .visit-steps li span { grid-column: 2; }
  .lost-art { max-width: 280px; }
}
@media (max-width: 600px) {
  .tool-grid, .tool-grid.three, .cert-grid, .dept-grid { grid-template-columns: 1fr; }
  .gloss-list div { grid-template-columns: 1fr; gap: 4px; }
  .gauge-table th, .gauge-table td { padding: 9px 8px; }
}

/* text links that lead to another page: an underline in die orange, thickened on hover */
/* text links with an orange underline: all caps, a size smaller and spaced out so the caps don't shout */
.arrow { display: inline-block; font: 600 15px/1.3 var(--body); letter-spacing: 0; color: inherit; text-decoration: none; padding-bottom: 3px; border-bottom: 2px solid var(--die); transition: box-shadow .15s; }
/* the thicker line is a shadow, so hovering never moves the text around it */
.arrow:hover { box-shadow: 0 2px 0 var(--die); }
/* phones: a taller tap area for the text links that stand alone, without moving or resizing what shows */
@media (max-width: 900px) {
  .arrow { position: relative; }
  .arrow::before { content: ""; position: absolute; inset: -10px -6px; }
  .foot-col ul { gap: 0; }
  .foot-col a { display: block; padding: 10px 0; }
  .foot-brand address a, .legal a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .family { gap: 0 30px; padding: 18px 0; }
  .family a { display: inline-block; padding: 10px 0; }
  .nav .brand, .foot-brand .brand { padding: 4px 0; }
  .draw-hero .ind-tabs a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* "Before you visit" link under the address in the dark contact sections */
address + .arrow { display: inline-block; margin-top: 20px; }
.contact .arrow, .loc .arrow { color: #fff; border-color: var(--die); }

/* ---------- Learn lessons ----------
   the active step is marked aria-current="step" by lesson-player.js */
.lesson { background: var(--night); color: #fff; padding: clamp(118px, 15vh, 160px) 0 clamp(64px, 8vw, 120px); }
.lesson-head { max-width: 900px; margin-bottom: clamp(36px, 5vw, 64px); }
.lesson h1 { font-size: var(--fs-title); line-height: .96; letter-spacing: -.012em; margin-bottom: 22px; }
.lesson .lead { margin-bottom: 0; }
.lesson-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.lesson-fig { margin: 0; position: sticky; top: calc(var(--head) + 16px); }
.lesson-stage { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(120% 90% at 50% 35%, #1d242b 0%, var(--night) 70%); border: 1px solid var(--night-3); overflow: hidden; }
.lesson-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s ease; }
.lesson-stage.gl-ready canvas { opacity: 1; }
/* these scenes set the canvas opacity every frame for the fade where the cycle loops */
.lesson-stage[data-scene="line"].gl-ready canvas, .lesson-stage[data-scene="pack"].gl-ready canvas { transition: none; }
.lesson-fallback { display: none; position: absolute; inset: 0; place-items: center; margin: 0; padding: 24px; text-align: center; color: var(--mute-d); }
.lesson-stage.no-gl .lesson-fallback { display: grid; }
.lesson-bar { display: flex; align-items: center; gap: 20px; padding-top: 16px; }
.lesson-toggle { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); background: none; cursor: pointer; transition: border-color .2s; }
.lesson-toggle:hover { border-color: #fff; }
.lesson-toggle:focus-visible, .lesson-steps button:focus-visible { outline: 2px solid var(--die); outline-offset: 4px; }
.lesson-toggle::before, .lesson-toggle::after { content: ""; position: absolute; top: 14px; width: 4px; height: 14px; background: #fff; }
.lesson-toggle::before { left: 15px; }
.lesson-toggle::after { right: 15px; }
.lesson-toggle[data-state="paused"]::before { left: 17px; top: 12px; width: 0; height: 0; background: none; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.lesson-toggle[data-state="paused"]::after { display: none; }
.lesson-progress { position: relative; flex: 1; height: 2px; background: rgba(255,255,255,.16); }
.lesson-progress i { position: absolute; inset: 0; background: var(--die); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.lesson-hud { display: flex; gap: 22px; margin: 0; }
.lesson-hud div { display: flex; flex-direction: column-reverse; gap: 4px; }
.lesson-hud dt { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute-d); white-space: nowrap; }
.lesson-hud dd { margin: 0; font: 500 20px/1 var(--mono); color: var(--die); font-variant-numeric: tabular-nums; }
.lesson-hint { color: var(--mute-d); font-size: 15px; }
.lesson-how { margin: 0 0 14px; color: var(--mute-d); font-size: 15px; }
.lesson-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 2px solid var(--night-3); }
.lesson-steps li { counter-increment: step; position: relative; padding: 18px 0 20px 54px; border-bottom: 1px solid var(--night-3); }
.lesson-steps li::before { content: counter(step); position: absolute; left: 0; top: 15px; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--night-3); border-radius: 50%; font: 600 15px/1 var(--mono); color: var(--mute-d); transition: background .25s, border-color .25s, color .25s; }
.lesson-steps button { background: none; border: 0; padding: 0; min-height: 44px; color: #C3CAD1; font: 700 24px/1.15 var(--display); text-align: left; cursor: pointer; transition: color .2s; }
.lesson-steps button:hover { color: #fff; }
.lesson-steps p { margin: 8px 0 0; color: var(--mute-d); font-size: var(--fs-card); transition: color .25s; }
.lesson-steps li[aria-current]::before { background: var(--die); border-color: var(--die); color: var(--ink); }
.lesson-steps li[aria-current] button { color: #fff; }
.lesson-steps li[aria-current] p { color: #D3D9DF; }
.lesson-side .gauge-readout { margin: 0 0 28px; }
/* gauge lesson: chart beside the wheel */
.gauge-lesson .gauge-readout { margin: 22px 0 0; }
.gauge-h { font-size: var(--fs-h3-lg); margin: 0 0 12px; }
.gauge-lesson .note { color: var(--mute-d); font-size: 15px; margin: 0 0 18px; }
.gauge-lesson .gauge-table th, .gauge-lesson .gauge-table td { padding: 7px 10px; }
.gauge-lesson .gauge-table th[scope=row] { font-size: 18px; }
.gauge-lesson .gauge-table td { font-size: 15px; }
.more-grid h2 + p ~ h2 { margin-top: 56px; }
/* calculator pages (/calculators/): a short dark head, then the calculator close under it */
.calc-head { padding-bottom: clamp(36px, 5vw, 56px); }
.calc-head + section { padding-top: clamp(48px, 6vw, 80px); }
/* capabilities page */
.draw-hero + .caps { padding-top: clamp(24px, 3vw, 48px); }

/* part photos (cut-outs on white panels) */
.part-shot { margin: 0; background: #fff; padding: clamp(16px, 2vw, 26px); }
.part-shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.part-shot figcaption { margin-top: 12px; font: 500 12px/1.5 var(--mono); letter-spacing: .02em; color: var(--mute); }
.part-shots { list-style: none; margin-top: clamp(48px, 6vw, 80px); margin-bottom: 0; padding-top: 0; padding-bottom: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
/* Blanking: one wide panel under the shape cards, photo left and caption right */
.part-shot.feature { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 16px; padding: clamp(20px, 3vw, 40px); }
.part-shot.feature figcaption { margin: 0; font: 400 17px/1.5 var(--body); letter-spacing: 0; text-transform: none; color: var(--mute); }
.part-shot.feature figcaption .tool-tag { display: block; }
.part-shot.feature figcaption b { display: block; margin-bottom: 10px; font: 700 clamp(26px, 2.4vw, 34px)/1.1 var(--display); color: var(--ink); }
/* Wheels: the photo sits at the top of the sticky typical-job panel */
.ind-job .part-shot { margin-bottom: 28px; }
/* lessons: a plant photo beside the FAQ, under "On Our Floor" */
.see-it { margin: 0 0 22px; }
.see-it img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.see-it.prod img { object-fit: contain; background: #fff; padding: 6%; }
@media (max-width: 900px) {
  .part-shots { grid-template-columns: 1fr 1fr; }
  .part-shot.feature { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .part-shots { grid-template-columns: 1fr; }
}
.lesson-side > p { color: #C3CAD1; font-size: var(--fs-card); margin: 0 0 16px; }
/* .prose-sec: the same two-column text block on capability and industry pages */
.lesson-more, .prose-sec { padding: clamp(96px, 12vw, 160px) 0; }
.more-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.more-grid h2 { font-size: var(--fs-h2-sm); margin-bottom: 26px; }
.more-grid > div > p:not(.eyebrow) { color: var(--mute); max-width: 34em; margin: 0 0 18px; }
.more-grid .arrow { margin-top: 12px; }
.words { margin: 0 0 22px; border-top: 2px solid var(--ink); }
.words div { padding: 14px 0; border-bottom: 1px solid rgba(18,21,25,.18); }
.words dt { font: 700 20px/1.2 var(--display); margin-bottom: 4px; }
.words dd { margin: 0; color: var(--mute); font-size: var(--fs-card); }
.next-cap.plain { background: var(--night-2); }
@media (max-width: 980px) {
  .lesson-grid, .more-grid { grid-template-columns: 1fr; }
  .lesson-fig { position: static; }
  /* one column: wheel stays pinned under the header */
  .gauge-lesson .lesson-fig { position: sticky; top: var(--head); z-index: 2; background: var(--night); padding-bottom: 10px; }
  .gauge-lesson .lesson-stage { aspect-ratio: 16 / 9; }
  .gauge-lesson .gauge-readout { margin-top: 10px; gap: 8px 28px; }
  .gauge-lesson .gauge-readout dd { font-size: 24px; }
}
@media (max-width: 600px) {
  .lesson-stage { aspect-ratio: 4 / 3; }
  .lesson-bar { flex-wrap: wrap; }
  .lesson-hud { gap: 16px; }
  .lesson-hud dd { font-size: 17px; }
}

/* ---------- Learn hub ---------- */
.lessons { padding: clamp(96px, 12vw, 180px) 0; }
.lesson-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); counter-reset: les; }
.lesson-list li { counter-increment: les; border-bottom: 1px solid rgba(18,21,25,.18); }
.lesson-list a { display: grid; grid-template-columns: 96px 130px minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 40px); align-items: center; padding: 26px 0; color: var(--ink); text-decoration: none; }
.lesson-list a::before { content: counter(les, decimal-leading-zero); font: 700 clamp(44px, 4.4vw, 68px)/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: color .2s, -webkit-text-stroke-color .2s; }
.lesson-list a:hover::before { color: var(--die); -webkit-text-stroke-color: var(--die); }
.lesson-list svg { width: 120px; height: auto; fill: #D4D9DE; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; transition: fill .2s; }
.lesson-list a:hover svg { fill: var(--die); }
.lesson-list h3 { font-size: var(--fs-h3-lg); margin: 0 0 6px; }
.lesson-list p { margin: 0; color: var(--mute); font-size: var(--fs-card); max-width: 36em; }
.lesson-go { font: 500 13px/1.3 var(--mono); letter-spacing: .02em; color: var(--mute); white-space: nowrap; }
.draw-art .num circle { fill: var(--night); stroke: var(--die); stroke-width: 2; }
.draw-art .num text { fill: var(--die); font: 600 14px var(--mono); }
@media (max-width: 860px) {
  .lesson-list a { grid-template-columns: 64px minmax(0, 1fr); }
  .lesson-list svg, .lesson-go { display: none; }
}

/* ---------- industry pages ---------- */
.ind-page { padding: clamp(96px, 12vw, 160px) 0; }
.ind-page-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.ind-page h2 { font-size: var(--fs-h2-sm); }
.part-list { list-style: none; margin: 34px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.part-list li { padding: 22px 0; border-bottom: 1px solid rgba(18,21,25,.18); }
.part-list h3 { font-size: var(--fs-h3); margin: 0 0 6px; }
.part-list p { margin: 0; color: var(--mute); }
.ind-job { position: sticky; top: calc(var(--head) + 30px); }
.ind-job .ind-specs { margin: 0 0 28px; }
.made { background: var(--night); color: #fff; padding: clamp(96px, 12vw, 180px) 0; }
.made .eyebrow, .made .split-head > p { color: var(--mute-d); }
.make-chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: mk; }
.make-chain li { counter-increment: mk; }
.make-chain a { display: flex; flex-direction: column; height: 100%; padding: 28px 26px 30px; background: var(--night-2); border-top: 2px solid var(--night-3); color: #fff; text-decoration: none; transition: border-color .25s; }
.make-chain a::before { content: counter(mk); font: 700 52px/1 var(--display); color: var(--die); margin-bottom: 20px; }
.make-chain a:hover { border-top-color: var(--die); }
.make-chain h3 { font-size: var(--fs-h3); margin: 0 0 8px; }
.make-chain p { margin: 0 0 22px; color: #C3CAD1; font-size: var(--fs-card); flex: 1; }
.make-go { font: 500 12.5px/1.4 var(--mono); letter-spacing: .02em; color: var(--mute-d); }
.make-chain a:hover .make-go { color: var(--die); }
@media (max-width: 1100px) { .make-chain { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .ind-page-grid { grid-template-columns: 1fr; }
  .ind-job { position: static; }
}
@media (max-width: 600px) { .make-chain { grid-template-columns: 1fr; } }
