/* CHG Engineering: "the blueprint sheet". Navy #12213B, yellow #F1D435 and white from the client's capability portfolio, deep navy for the
   footer and form, Marcellus (flared, close to the old stand-in wordmark) for H1/H2, Lato (the client's portfolio font) for the rest.
   Radius 0 everywhere (machined edges); the chamfer on buttons is the one cut corner. Motion verb: measure. */
:root {
  --ind: #12213B; --ind-2: #273957; --ink: #101D31; --yel: #F1D435;
  --text: #34445F; --muted: #56688A; --grey: #EFF3F7; --line: #D8E0E9; --white: #fff;
  --wrap: 1240px; --pad: clamp(64px, 8vw, 112px); --gut: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 400 17px/1.62 Lato, "Segoe UI", Arial, sans-serif; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--ind); }
h1, h2, h3 { margin: 0; color: var(--ind); text-wrap: balance; }
h1, h2 { font-family: Marcellus, "Times New Roman", serif; font-weight: 400; letter-spacing: -.005em; -webkit-text-stroke: .012em currentColor; }
h1 { font-size: clamp(36px, 3.7vw, 56px); line-height: 1.08; }
h2 { font-size: clamp(30px, 2.8vw, 44px); line-height: 1.12; }
h3, .h3 { font: 800 19px/1.3 Lato, Arial, sans-serif; letter-spacing: .005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow > * { max-width: 1000px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yel); color: var(--ind); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ind); outline-offset: 3px; }
.ul { text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; color: var(--ind); font-weight: 700; }
.ul:hover { color: var(--ind-2); text-decoration-thickness: 2px; }

/* ---------- buttons: square indigo block with one machined chamfer; a yellow tool pass runs in on hover ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--ind); color: #fff; font: 700 16.5px/1 Lato, Arial, sans-serif; letter-spacing: .01em; text-decoration: none; white-space: nowrap; border: 0; cursor: pointer; clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%); transition: color .25s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yel); transform: scaleX(0); transform-origin: left; transition: transform .38s var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn:hover { color: var(--ind); } .btn:hover::before { transform: scaleX(1); } }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { clip-path: none; outline: 3px solid var(--ind); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.btn-yel { background: var(--yel); color: var(--ind); }
.btn-yel::before { background: #fff; }
.btn-yel:focus-visible { outline-color: var(--yel); box-shadow: 0 0 0 3px var(--ink); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: #fff; transition: box-shadow .25s; }
.hdr.scrolled { box-shadow: 0 2px 18px rgba(16, 29, 49, .1); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { flex: none; display: block; }
.brand img { height: 34px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 24px; }
.nav a { position: relative; display: block; padding: 10px 0; color: var(--ind); text-decoration: none; font: 700 15px/1.2 Lato, Arial, sans-serif; white-space: nowrap; }
/* the marker is a short dimension line: end ticks and a line, drawn out from the left */
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 8px; border-left: 1.5px solid currentColor; border-right: 1.5px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav .sub-tog { position: relative; display: block; padding: 10px 0; background: none; border: 0; cursor: pointer; color: var(--ind); font: 700 15px/1.2 Lato, Arial, sans-serif; white-space: nowrap; }
.nav .sub-tog::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 8px; border-left: 1.5px solid currentColor; border-right: 1.5px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after, .nav .sub-tog:hover::after, .nav .sub-tog.in-sec::after, .nav .sub-tog[aria-expanded="true"]::after { transform: scaleX(1); }
.nav a:hover { color: var(--ind-2); }
/* the Finishing menu: a white panel under the bar (no yellow top edge since round 7s), opened on hover or keyboard focus */
.nav li { position: relative; }
.nav .chev { width: 14px; height: 14px; margin-left: 3px; vertical-align: -2px; }
.nav .sub { display: none; position: absolute; top: 100%; left: -20px; z-index: 5; min-width: 250px; padding: 8px 20px 12px; background: #fff; box-shadow: 0 18px 36px rgba(16, 29, 49, .16); }
.nav .sub-tog[aria-expanded="true"] .chev { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .nav .has-sub:hover .sub { display: block; } }
.nav .has-sub:focus-within .sub, .nav .sub-tog[aria-expanded="true"] + .sub { display: block; }
.nav .sub a { padding: 11px 0; }
.hdr-cta { flex: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; padding: 10px 8px; background: none; border: 0; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ind); margin: 6px 0; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.drawer { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(84vw, 380px); background: #fff; padding: 88px 24px 28px; overflow-y: auto; box-shadow: -10px 0 40px rgba(16, 29, 49, .18); }
.drawer ul { margin-bottom: 24px; }
.drawer a:not(.btn) { display: block; padding: 13px 0; color: var(--ind); text-decoration: none; font: 700 18px/1.3 Lato, Arial, sans-serif; }
.drawer a[aria-current="page"]:not(.btn) { color: var(--ind-2); text-decoration: underline; text-underline-offset: .25em; }
.scrim { position: fixed; inset: 0; z-index: 65; background: rgba(16, 29, 49, .45); }
body.menu-open { overflow: hidden; }
body.menu-open .hdr { position: fixed; left: 0; right: 0; z-index: 80; }
body.menu-open main { margin-top: 78px; }
@media (max-width: 1259px) {
  .nav, .hdr-cta { display: none; }
  .burger { display: block; }
}

/* ---------- sections ---------- */
.sec { padding: var(--pad) 0; }
.sec.tight { padding: calc(var(--pad) * .6) 0; }
.sec + .sec.tight:not(.grey) { padding-top: 0; }
.grey { background: var(--grey); }
.yellow { background: var(--yel); }
.ink { background: var(--ink); color: #D5DFEB; }
.ink h2, .ink h3 { color: #fff; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head .sub { margin-top: 12px; font-size: 18.5px; color: var(--muted); max-width: 64ch; }
.ink .sec-head .sub, .ink .sub { color: #B9C5D6; }
.yellow .sec-head .sub { color: #2A3A57; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.split-photo-l > :first-child { order: 0; }
.split-copy { align-self: center; }
.split-copy .sec-head { margin-bottom: 28px; }
.note { margin-top: 18px; font-size: 16px; color: var(--muted); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-photo-r > figure { order: 2; }
}

/* ---------- hero: the blueprint sheet ---------- */
.hero { position: relative; background-color: var(--ind); color: #E2E8F0; background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; padding: clamp(60px, 7vw, 96px) 0 clamp(64px, 7vw, 104px); overflow: hidden; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.hero h1 { color: #fff; margin: 18px 0 18px; font-size: clamp(34px, 3.2vw, 46px); }
.hero .lead { font-size: clamp(18px, 1.35vw, 20px); max-width: 40ch; margin-bottom: 30px; color: #D5DFEB; }
.hero-fig { position: relative; margin: 40px 44px 0 0; }
.hero-fig img { width: 100%; aspect-ratio: 1785 / 1311; object-fit: cover; }

/* dimension lines: drawn with gradients, arrowheads with clip-path; they extend from their datum once */
.dim { position: absolute; color: var(--yel); }
.dim i { position: absolute; display: block; }
.dim-h { left: 0; right: 0; top: -38px; height: 24px; }
.dim-h .dl { left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(currentColor, currentColor); }
.dim-h .wit { top: 0; bottom: -14px; width: 1px; background: linear-gradient(currentColor, currentColor); opacity: .8; }
.dim-h .wit-a { left: 0; } .dim-h .wit-b { right: 0; }
.dim-h .ah { top: 6px; width: 14px; height: 12px; background: currentColor; }
.dim-h .ah-a { left: 0; clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.dim-h .ah-b { right: 0; clip-path: polygon(100% 50%, 0 0, 0 100%); }
.dim-lab { position: absolute; left: 50%; top: -2px; transform: translateX(-50%); background: var(--ind); color: var(--yel); font: 900 14px/1 Lato, Arial, sans-serif; letter-spacing: .04em; padding: 6px 12px; white-space: nowrap; }
.dim-v { top: 0; bottom: 0; right: -40px; width: 24px; }
.dim-v .dl { top: 0; bottom: 0; left: 11px; width: 2px; background: linear-gradient(currentColor, currentColor); }
.dim-v .wit { left: -14px; right: 0; height: 1px; background: linear-gradient(currentColor, currentColor); opacity: .8; }
.dim-v .wit-a { top: 0; } .dim-v .wit-b { bottom: 0; }
.dim-v .ah { left: 6px; width: 12px; height: 14px; background: currentColor; }
.dim-v .ah-a { top: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.dim-v .ah-b { bottom: 0; clip-path: polygon(50% 100%, 100% 0, 0 0); }
@media (prefers-reduced-motion: no-preference) {
  .js .dim-h .dl { animation: measureX .9s var(--ease) .25s both; transform-origin: left; }
  .js .dim-v .dl { animation: measureY .9s var(--ease) .45s both; transform-origin: top; }
  .js .dim .ah-b, .js .dim-lab { animation: fadeIn .3s ease-out 1.05s both; }
}
@keyframes measureX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes measureY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* trust line (#9): G, score, true stars, count; nothing tagged on */
.trust { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); font-size: 15.5px; }
.trust .g { width: 24px; height: 24px; flex: none; }
.trust strong { font-size: 17px; }
.t-count { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.trust.on-dark { color: #fff; }
.stars { position: relative; display: inline-block; width: 100px; height: 20px; flex: none; }
.stars svg { position: absolute; inset: 0; width: 100px; height: 20px; }
.stars .s-off { fill: #CBD3DE; }
.stars .s-on { fill: #F5B400; clip-path: inset(0 calc(100% - var(--fill)) 0 0); }
.on-dark .stars .s-off { fill: rgba(255, 255, 255, .3); }

/* ---------- title block (authority / spec strip) ---------- */
.tb-sec { padding: 40px 0 0; }
.tblock { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 0; border: 2px solid var(--ind); }
.tblock > div { padding: 16px 20px 18px; border-left: 1px solid var(--ind); min-width: 0; }
.tblock > div:first-child { border-left: 0; }
.tblock dt { font: 700 14.5px/1.3 Lato, Arial, sans-serif; color: var(--muted); margin-bottom: 6px; } /* sentence case: no small uppercase labels (user) */
.tblock .nwd { white-space: nowrap; }
.tblock dd { margin: 0; font: 400 clamp(20px, 1.8vw, 27px)/1.15 Marcellus, serif; color: var(--ind); -webkit-text-stroke: .01em currentColor; }
.split-copy .tblock { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) {
  .tblock { grid-auto-flow: row; grid-template-columns: 1fr 1fr; border-width: 2px; }
  .tblock > div { border-left: 0; border-top: 1px solid var(--ind); }
  .tblock > div:nth-child(-n+2) { border-top: 0; }
  .tblock > div:nth-child(even) { border-left: 1px solid var(--ind); }
  .tblock > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- departments ---------- */
.depts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.dept { position: relative; }
.dept-img { overflow: hidden; margin-bottom: 22px; background: var(--grey); }
.dept-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.dept h3 { font-size: 22px; margin-bottom: 8px; }
.dept h3 a { color: var(--ind); text-decoration: none; text-underline-offset: .2em; text-decoration-thickness: 2px; }
.dept h3 a::after { content: ""; position: absolute; inset: 0; }
.dept:hover h3 a, .dept:focus-within h3 a { color: var(--ind-2); text-decoration-line: underline; }
.dept:hover .dept-img img { transform: scale(1.04); }
.dept:active .dept-img img { opacity: .85; }
.dept p { color: var(--muted); margin-bottom: 14px; }
.ticks li { position: relative; padding-left: 22px; margin: 5px 0; font-weight: 700; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--ind); }
@media (max-width: 900px) { .depts { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- why / details ---------- */
.tall-fig, .feat-fig { margin: 0; min-height: 100%; }
.tall-fig img, .feat-fig img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.details { display: grid; gap: 22px; }
.details li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; }
.details .ic { width: 30px; height: 30px; color: var(--ind); margin-top: 1px; }
.details h3 { margin-bottom: 4px; }
.details p { color: var(--muted); }
.details-row { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
.details-row li { grid-template-columns: 1fr; gap: 12px; align-content: start; }
@media (max-width: 900px) { .tall-fig img, .feat-fig img { min-height: 0; aspect-ratio: 4 / 3; height: auto; } }

/* ---------- process: a chain dimension on the yellow band ---------- */
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.chain.chain-3 { grid-template-columns: repeat(3, 1fr); }
.chain li { position: relative; padding: 46px 28px 0 0; }
.chain .seg { position: absolute; left: 0; right: 0; top: 0; height: 22px; color: var(--ind); border-left: 1.5px solid var(--ind); }
.chain li:last-child .seg { border-right: 1.5px solid var(--ind); }
.chain .seg i { position: absolute; display: block; }
.chain .seg .dl { left: 2px; right: 2px; top: 10px; height: 2px; background: linear-gradient(currentColor, currentColor); transform-origin: left; }
.chain .seg .ah { top: 5px; width: 13px; height: 12px; background: currentColor; }
.chain .seg .ah-a { left: 1px; clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.chain .seg .ah-b { right: 1px; clip-path: polygon(100% 50%, 0 0, 0 100%); }
.chain .num { display: block; font: 400 clamp(52px, 5vw, 76px)/.9 Marcellus, serif; color: var(--ind); -webkit-text-stroke: .012em currentColor; margin-bottom: 14px; }
.chain .yr { font: 400 clamp(36px, 3.4vw, 50px)/1 Marcellus, serif; -webkit-text-stroke: .012em currentColor; margin-bottom: 12px; }
.chain h3 { margin-bottom: 6px; }
.chain p { color: #273957; max-width: 30ch; }
@media (prefers-reduced-motion: no-preference) {
  .js .chain .seg .dl { transform: scaleX(0); transition: transform .55s var(--ease) calc(var(--i) * .18s); }
  .js .chain .seg .ah { opacity: 0; transition: opacity .25s ease-out calc(var(--i) * .18s + .45s); }
  .js .chain.in .seg .dl { transform: scaleX(1); }
  .js .chain.in .seg .ah { opacity: 1; }
}
@media (max-width: 900px) {
  .chain, .chain.chain-3 { grid-template-columns: 1fr; gap: 0; }
  .chain li { padding: 0 0 34px 52px; }
  .chain li:last-child { padding-bottom: 0; }
  .chain .seg { top: 0; bottom: 0; left: 0; right: auto; width: 22px; height: auto; border-left: 0; border-top: 1.5px solid var(--ind); }
  .chain li:last-child .seg { border-right: 0; border-bottom: 1.5px solid var(--ind); }
  .chain .seg .dl { left: 10px; right: auto; top: 2px; bottom: 2px; width: 2px; height: auto; transform-origin: top; }
  .chain .seg .ah { left: 5px; width: 12px; height: 13px; }
  .chain .seg .ah-a { top: 1px; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
  .chain .seg .ah-b { top: auto; right: auto; bottom: 1px; clip-path: polygon(50% 100%, 100% 0, 0 0); }
  .chain .num { font-size: 46px; margin-bottom: 8px; }
  .js .chain .seg .dl { transform: scaleY(0); }
  .js .chain.in .seg .dl { transform: scaleY(1); }
}

/* ---------- parts (job photos) ---------- */
.parts { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.part { position: relative; margin: 0; }
.part.big { grid-row: span 2; }
.part-img { display: block; overflow: hidden; background: var(--grey); }
.part-img:focus-visible { outline: 3px solid var(--ind); outline-offset: 3px; }
.part-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
/* the big photo fills the height of the two rows beside it, so a portrait photo can't stretch those rows apart */
.part.big { display: flex; flex-direction: column; }
.part.big .part-img { flex: 1; position: relative; min-height: 0; }
.part.big .part-img img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.part:hover .part-img img { transform: scale(1.04); }
.more { margin-top: 30px; }
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jobs-2 { grid-template-columns: repeat(2, 1fr); }
.jobs-4 { grid-template-columns: repeat(4, 1fr); }
.jobs-2 .part-img img { aspect-ratio: 4 / 3; object-position: 50% 35%; }
@media (max-width: 900px) {
  .parts { grid-template-columns: 1fr 1fr; gap: 16px; }
  .part.big { grid-column: 1 / -1; grid-row: auto; }
  .part.big .part-img img { position: static; aspect-ratio: 4 / 3; height: auto; }
  .jobs { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ---------- reviews: the score as a measured value ---------- */
.rev { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.rev-head .sec-head { margin-bottom: 30px; }
.score { display: grid; grid-template-columns: auto; justify-items: start; gap: 8px; position: relative; width: max-content; }
.score-dim { position: absolute; left: 0; right: 0; top: 0; height: 22px; color: var(--ind); border-left: 1.5px solid var(--ind); border-right: 1.5px solid var(--ind); }
.score-dim i { position: absolute; display: block; }
.score-dim .dl { left: 2px; right: 2px; top: 10px; height: 2px; background: linear-gradient(currentColor, currentColor); }
.score-dim .ah { top: 5px; width: 12px; height: 12px; background: currentColor; }
.score-dim .ah-a { left: 1px; clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.score-dim .ah-b { right: 1px; clip-path: polygon(100% 50%, 0 0, 0 100%); }
.score-link { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ind); }
.score-link .g { width: 32px; height: 32px; }
.score-link strong { font: 400 84px/1 Marcellus, serif; -webkit-text-stroke: .012em currentColor; }
.score .stars { width: 130px; height: 26px; }
.score .stars svg { width: 130px; height: 26px; }
.score-count { font-weight: 700; color: var(--ind); text-underline-offset: .2em; }
.quotes { display: grid; gap: 34px; padding-top: 6px; }
.q { margin: 0; }
.q blockquote { margin: 0; }
.q blockquote p { font-size: 19.5px; line-height: 1.55; color: var(--text); }
.q blockquote p::before { content: "\201C"; } .q blockquote p::after { content: "\201D"; }
.q figcaption { display: flex; align-items: center; gap: 9px; margin-top: 12px; font-weight: 700; color: var(--ind); }
.q figcaption .g { width: 20px; height: 20px; }
.rev-more { margin-top: -6px; }
@media (max-width: 900px) { .rev { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- FAQ: quick answers table (F2) ---------- */
.qa { margin: 0; }
.qa-row { display: grid; grid-template-columns: 2fr 3fr; gap: 12px 40px; padding: 22px 0; border-top: 1px solid var(--line); }
.qa-row:last-child { border-bottom: 1px solid var(--line); }
.qa dt h3 { font-size: 18px; }
.qa dd { margin: 0; color: var(--text); }
@media (max-width: 760px) { .qa-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; } }

/* ---------- RFQ form on the ink band, over the client's blueprint drawing ---------- */
/* round 11 (Armin: "make that whole section like the background, the drawing type"): the drawing from the home hero
   wall (the sign filled in, white lines lifted off at 8%: _research/hero-blueprint/make_textures.py) across the whole
   band, in place of the big faint swirl */
.form-sec { position: relative; overflow: hidden; background: var(--ink) url(/img/brand/blueprint-white.webp) center / cover no-repeat; }
.form-split { position: relative; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.form-intro { max-width: 460px; }
.form-intro .sub { margin: 14px 0 18px; font-size: 18.5px; }
.quiet { font-size: 15.5px; color: #B9C5D6; }
.quiet a { color: #fff; }
.rfq { display: grid; gap: 18px; background: #fff; color: var(--text); padding: clamp(24px, 3vw, 40px); }
.f label { display: block; font-weight: 700; font-size: 15.5px; color: var(--ind); margin-bottom: 6px; }
.f .opt { font-weight: 400; color: var(--muted); }
.f input, .f textarea { width: 100%; font: 400 16.5px/1.4 Lato, Arial, sans-serif; color: var(--text); background: #fff; border: 1.5px solid #9AA9BD; border-radius: 0; padding: 11px 13px; min-height: 46px; }
.f textarea { resize: vertical; min-height: 92px; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--ind); box-shadow: 0 0 0 3px rgba(18, 33, 59, .2); }
.f input[aria-invalid="true"] { border-color: #B3261E; }
.drop { position: relative; }
.drop-in { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; }
.drop-lab { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px 20px; border: 2px dashed #8396B0; background: var(--grey); color: var(--ind); cursor: pointer; }
.drop-lab .ic { grid-row: span 2; width: 34px; height: 34px; }
.drop-lab strong { font-size: 17px; line-height: 1.3; }
.drop-lab span { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
@media (max-width: 600px) {
  .drop-lab { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 4px; padding: 22px 16px 20px; }
  .drop-lab .ic { grid-row: auto; width: 30px; height: 30px; margin-bottom: 6px; }
  .drop-lab span { text-wrap: balance; }
}
.drop.over .drop-lab, .drop-in:focus-visible + .drop-lab { border-color: var(--ind); background: #E2E9F1; outline: 3px solid var(--ind); outline-offset: 2px; }
.drop-note { font-size: 14.5px; color: var(--muted); margin-top: 6px; }
.drop-list li { font-size: 14.5px; padding: 6px 0 0; color: var(--ind); font-weight: 700; word-break: break-all; }
.btn-submit { justify-self: start; margin-top: 4px; }
.popia { font-size: 13.5px; color: var(--muted); }
.popia a { color: var(--muted); }
.sent { font-weight: 700; color: var(--ind); background: #FCF6D3; padding: 12px 14px; }
.err { color: #B3261E; font-weight: 700; font-size: 15px; }
@media (max-width: 900px) {
  .form-split { grid-template-columns: 1fr; gap: 28px; }
  .btn-submit { width: 100%; }
}

/* ---------- NAP ---------- */
.map-frame { position: relative; min-height: 420px; background: var(--grey); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.nap-copy { align-self: center; }
.clist { display: grid; gap: 14px; }
.clist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 17px; }
.clist .ic { width: 22px; height: 22px; color: var(--ind); margin-top: 2px; }
.clist a { color: var(--text); text-decoration: none; font-weight: 700; }
.clist a:hover { color: var(--ind-2); text-decoration: underline; }
@media (max-width: 900px) { .map-frame { min-height: 340px; } .map-frame iframe { min-height: 340px; } }

/* ---------- inner pages ---------- */
.phero { position: relative; background-color: var(--grey); background-image: linear-gradient(rgba(18, 33, 59, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 33, 59, .06) 1px, transparent 1px); background-size: 32px 32px; padding: clamp(52px, 6vw, 84px) 0 clamp(56px, 6vw, 88px); overflow: hidden; }
.phero-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.phero-in.no-photo { grid-template-columns: minmax(0, 860px); }
.phero h1 { margin: 16px 0 16px; font-size: clamp(34px, 3.1vw, 48px); }
.phero .crumbs { margin-bottom: 18px; }
.phero-copy > h1:first-child, .prose .wrap > h1:first-child { margin-top: 0; } /* when no breadcrumb sits above */
.phero .lead { font-size: 19px; color: var(--muted); max-width: 44ch; margin-bottom: 28px; }
.phero-fig { position: relative; margin: 40px 44px 0 0; }
.phero-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.phero .dim { color: var(--ind); }
.phero .dim-lab { background: var(--grey); color: var(--ind); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14.5px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #8C9AB0; }
.crumbs a { color: var(--muted); }
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; }
.items li { position: relative; }
.items-2 { grid-template-columns: repeat(2, 1fr); margin-top: clamp(40px, 5vw, 64px); }
.plain { columns: 2; column-gap: 40px; max-width: 760px; }
.plain li { break-inside: avoid; padding: 6px 0 6px 22px; position: relative; font-weight: 700; font-size: 18px; color: var(--ind); }
.plain li::before { content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; background: var(--ind); }
.cmm-split { align-items: center; }
.items h3 { margin-bottom: 6px; }
.items p { color: var(--muted); }
.items-1 { grid-template-columns: 1fr; gap: 22px; }
.items-4 { grid-template-columns: repeat(4, 1fr); } /* Finishing: four finishes in one row, 2 x 2 on tablets */
@media (max-width: 1100px) { .items-4 { grid-template-columns: repeat(2, 1fr); } }
.brands { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; margin-top: 44px; padding: 20px 24px; background: var(--grey); }
.brands span { font: 700 15px/1.3 Lato, Arial, sans-serif; color: var(--muted); }
.brands b { font: 400 22px/1.2 Marcellus, serif; color: var(--ind); }
.inds { margin-top: 24px; }
/* coating brands: the real logos in a quiet grey band, at heights set per logo shape */
.brandband { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; margin-top: 44px; padding: 22px 26px; background: var(--grey); }
.bb-lab { font: 700 1.2rem/1.3 Lato, Arial, sans-serif; color: var(--ind); }
.bb-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 44px; }
.bb-logos img { display: block; width: auto; height: calc(var(--h) * 1px); }
.bb-note { flex-basis: 100%; font-size: 15px; color: var(--muted); }
.also { margin-top: 34px; font-size: 17.5px; color: var(--muted); }
.cmm-fig { margin: 0; align-self: center; }
.cmm-svg { width: 100%; height: auto; background: #fff; }
.cmm-fig figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.rel { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.rel-card { position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center; background: #fff; padding: 14px; }
.rel-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rel-card h3 a { color: var(--ind); text-decoration: none; text-underline-offset: .2em; }
.rel-card h3 a::after { content: ""; position: absolute; inset: 0; }
.rel-card:hover h3 a, .rel-card:focus-within h3 a { text-decoration-line: underline; color: var(--ind-2); }
.rel-card p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
@media (max-width: 900px) {
  .hero-in, .phero-in { grid-template-columns: 1fr; }
  .phero-fig, .hero-fig { margin: 40px 0 0; }
  .dim-v { display: none; }
  .items { grid-template-columns: 1fr; gap: 26px; }
  .rel { grid-template-columns: 1fr; }
  .rel-card { grid-template-columns: 120px 1fr; }
}

/* our work */
.jump ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ind); color: var(--ind); text-decoration: none; font-weight: 700; font-size: 15px; background: #fff; }
.jump a:hover { background: var(--ind); color: #fff; }
.wgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.wgrid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
.wgrid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
/* five or six photos sit in one row of squares, so no tile is left alone and the group stays short */
.wgrid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); }
.wgrid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(6, 1fr); gap: 28px 18px; }
.witem { margin: 0; }
.wbtn { display: block; width: 100%; padding: 0; border: 0; background: var(--grey); cursor: zoom-in; overflow: hidden; }
.wbtn img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s var(--ease); }
.wbtn:hover img { transform: scale(1.04); }
.witem figcaption { padding-top: 12px; }
.witem strong { display: block; color: var(--ind); font-size: 16.5px; line-height: 1.3; }
/* round 13 (Armin): titles only under the tiles; the one-line description shows in the lightbox caption */
@media (max-width: 1000px) {
  .wgrid, .wgrid:has(> :nth-child(2):last-child), .wgrid:has(> :nth-child(3):last-child), .wgrid:has(> :nth-child(5):last-child), .wgrid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .wgrid:has(> :nth-child(odd):last-child) > :first-child { grid-column: 1 / -1; }
}
.lb { width: min(1200px, 94vw); max-height: 94vh; padding: 0; border: 0; background: var(--ink); color: #fff; }
.lb::backdrop { background: rgba(8, 15, 27, .85); }
.lb figure { margin: 0; }
.lb img { width: 100%; max-height: 80vh; object-fit: contain; background: #000; }
.lb figcaption { padding: 14px 70px 18px 20px; font-size: 16px; }
/* controls: quiet see-through navy squares with line icons, so the photo keeps the attention (Armin, 5 Nov 2026);
   the arrows are SVG chevrons centred on the photo, so both sit at exactly the same height and size */
.lb-stage { position: relative; }
.lb-count { position: absolute; left: 10px; top: 10px; z-index: 2; height: 32px; padding: 0 10px; line-height: 32px; background: rgba(16, 29, 49, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-weight: 700; font-size: 13.5px; }
.lb button { position: absolute; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: rgba(16, 29, 49, .5); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s; }
.lb button:hover { background: rgba(16, 29, 49, .85); }
.lb button:focus-visible { outline: 2px solid var(--yel); outline-offset: 2px; }
.lb button .ic { width: 22px; height: 22px; stroke-width: 2; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.lb-close { right: 10px; top: 10px; }

/* contact */
.contact-top h1 { margin: 0 0 28px; }
.contact-top .crumbs + h1 { margin-top: 14px; }
.ct-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ct-grid .rfq { border: 2px solid var(--ind); }
.ct-side h2 { margin-bottom: 18px; }
.ct-note { margin-top: 18px; font-size: 15.5px; color: var(--muted); }
@media (max-width: 900px) { .ct-grid { grid-template-columns: 1fr; } }

/* prose, 404 */
.prose p { margin-bottom: 1em; }
.prose h1 { margin: 14px 0 22px; }
.split-copy.prose p { margin: 0 0 1em; color: var(--text); }
.nf-list li a { display: block; padding: 12px 0; font-weight: 700; font-size: 18px; color: var(--ind); }

/* ---------- footer: FT4 compact on deep ink ---------- */
.ftr { background: var(--ink); color: #B9C5D6; padding: 56px 0 26px; font-size: 16px; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { text-decoration: underline; text-underline-offset: .2em; }
.ftr-top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding-bottom: 30px; }
.ftr-brand img { height: 30px; width: auto; }
.ftr-cols { display: grid; grid-template-columns: 1.15fr .85fr 1.2fr 1.4fr; gap: 28px 40px; padding-bottom: 30px; } /* Services, Company, Factory, Contact */
.ftr-h { font: 700 16px/1.3 Lato, Arial, sans-serif; color: var(--yel); margin-bottom: 12px; }
.ftr nav ul { display: grid; gap: 8px; }
.nw { white-space: nowrap; }
.ftr address { font-style: normal; line-height: 1.6; }
.ftr-contact { display: grid; gap: 8px; }
.ftr-contact li { display: flex; align-items: center; gap: 10px; }
.ftr-contact .ic { width: 18px; height: 18px; color: var(--yel); flex: none; }
.ftr-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; font-size: 14.5px; color: #93A3BA; background: linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, .14)) top / 100% 1px no-repeat; }
.ftr-legal a { color: #B9C5D6; }
@media (max-width: 900px) { .ftr-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr-cols > div { grid-column: 1 / -1; } } /* phones: the two link lists side by side, address and contact full width */

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

/* phones: last, so it wins over the base rules above */
@media (max-width: 600px) {
  .hero { padding: 30px 0 38px; }
  .phero { padding: 30px 0 40px; }
  .hero h1, .phero h1 { margin: 12px 0 12px; }
  .hero .lead, .phero .lead { font-size: 17px; margin-bottom: 22px; }
  .hero-fig, .phero-fig { margin-top: 44px; }
  .hero-fig img, .phero-fig img { aspect-ratio: 16 / 10; }
  .items-2, .plain { grid-template-columns: 1fr; columns: 1; }
  .hdr-in { height: 64px; }
  .brand img { height: 27px; }
  body.menu-open main { margin-top: 64px; }
  .drawer { padding-top: 76px; }
}

/* round 4 (28 Oct 2026): the heading sub line inside prose; a shorter inner hero on phones */
.prose .sec-head .sub { margin-top: 12px; color: var(--muted); }
@media (max-width: 520px) {
  .phero h1 { margin: 12px 0; }
  .phero .lead { font-size: 17px; margin-bottom: 22px; }
  .phero-fig { margin-top: 32px; }
  .phero-fig img { aspect-ratio: 2 / 1; }
}

/* round 5 (28 Oct 2026): phone fixes from the round-4 audit */
@media (max-width: 900px) { .story .feat-fig { order: 2; } }
@media (max-width: 520px) {
  .tblock .nwd { white-space: normal; }
  .bb-logos { flex-wrap: nowrap; gap: 16px; }
  .bb-logos img { height: calc(var(--h) * .78px); }
}

/* ---------- round 7 (4 Nov 2026): full-picture home hero, 50/50 inner heroes, machining first, the dispatch checks ---------- */
/* home hero, round 10 (10 Nov 2026): the client's picture of the CHG sign on their purple blueprint wall. Rounds 7m-7w
   (the factory picture: the card sized and placed around its signs) are history; what stays from them: the navy card
   with the button's chamfer and the drawing grid, vertically centred, left on the wrap edge, and a hero that never fills
   the screen so the next section shows (7r).
   Desktop (from 1101px): the 20:9 version, photo flush right, and the hero never taller than 45vw (= the picture's own
   20:9), so the picture is never cropped at the sides: the circle always spans 57.3% to 82.4% of the width, vertically
   centred (object-position 45% = the circle's centre). The card ends at least 48px before the circle: 560px wide,
   less below about 1135px (57.3vw - 88px). The header is a normal white bar above the hero (no see-through bar over
   purple). Tablets and phones (up to 1100px): the copy on navy, then the original photo with the circle in the middle. */
.hero.hero-full { display: grid; padding: 0; min-height: max(480px, min(calc(88vh - 78px), 45vw)); background: var(--ink); }
.hero-full > * { grid-area: 1 / 1; }
.hero-bg { position: relative; overflow: hidden; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 45%; }
.hero-full .hero-in { align-self: center; grid-template-columns: minmax(0, 1fr); position: relative; z-index: 2; padding: 48px var(--gut); filter: drop-shadow(0 16px 36px rgba(10, 8, 40, .45)); }
.hero-full .hero-copy { position: relative; isolation: isolate; max-width: min(560px, calc(57.3vw - 88px)); padding: clamp(28px, 2.4vw, 38px) clamp(28px, 2.8vw, 44px) clamp(30px, 2.6vw, 40px); background: var(--ind); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.hero-full .hero-copy::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; }
.hero-full h1 { font-size: clamp(30px, 2.4vw, 35px); }
.hero-full .lead { max-width: none; margin-bottom: 14px; color: #E2E8F0; font-size: 16.5px; text-wrap: pretty; }
.hero-full .lead-2 { font-size: 17px; color: #C3CFDF; margin-bottom: 30px; }

/* inner heroes: the drawing sheet with the copy on the left half, the photo edge to edge on the right half */
.phero.phero-split { padding: 0; background-image: none; } /* round 12: no square grid; the blueprint drawing on the sheet replaces it */
.phero-grid { position: relative; display: grid; grid-template-columns: minmax(var(--gut), 1fr) minmax(0, calc(var(--wrap) / 2 - var(--gut))) minmax(0, calc(var(--wrap) / 2 - var(--gut))) minmax(var(--gut), 1fr); min-height: clamp(480px, 62vh, 640px); }
.phero-sheet { grid-column: 1 / 3; grid-row: 1; position: relative; }
/* round 11: the same blueprint, faint navy lines (7%), on the drawing sheet. Round 12: no frame, the drawing runs
   to the edges of the column (Armin) */
.phero-sheet::before { content: ""; position: absolute; inset: 0; background: url(/img/brand/blueprint-navy.webp) right center / cover no-repeat; opacity: .78; pointer-events: none; } /* round 12d: a touch fainter (Armin) */
.phero-split .phero-copy { grid-column: 2; grid-row: 1; align-self: center; position: relative; padding: clamp(60px, 6vw, 92px) clamp(28px, 3.5vw, 56px) clamp(60px, 6vw, 92px) 0; }
.phero-split h1 { font-size: clamp(32px, 2.45vw, 40px); }
.phero-split .lead { max-width: 46ch; }
.phero-photo { grid-column: 3 / 5; grid-row: 1; position: relative; margin: 0; overflow: hidden; background: var(--grey); }
.phero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* title block: a long value sets a size down so the row stays even; the industries line sits right under it */
.tblock dd.long { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.25; }
.tb-sec .inds { margin-top: 16px; }

/* services: one large CNC block, then the supporting services as smaller cards */
.core { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.core-img { overflow: hidden; background: var(--grey); }
.core-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s var(--ease); }
.core h3 { font: 400 clamp(28px, 2.4vw, 38px)/1.15 Marcellus, "Times New Roman", serif; -webkit-text-stroke: .012em currentColor; margin-bottom: 14px; }
.core h3 a { color: var(--ind); text-decoration: none; text-underline-offset: .15em; text-decoration-thickness: 2px; }
.core h3 a::after { content: ""; position: absolute; inset: 0; }
.core:hover h3 a, .core:focus-within h3 a { text-decoration-line: underline; color: var(--ind-2); }
.core:hover .core-img img { transform: scale(1.03); }
.core-copy > p { color: var(--muted); font-size: 18px; margin-bottom: 18px; }
.core .ticks li { font-size: 17px; }
.sup-h { margin: clamp(40px, 4vw, 56px) 0 20px; font-size: 21px; }
.sup { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sup-card { position: relative; display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 22px; align-items: center; background: var(--grey); padding: 14px 22px 14px 14px; }
.sup-img { position: relative; align-self: stretch; min-height: 120px; overflow: hidden; }
.sup-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.sup-card:hover .sup-img img { transform: scale(1.04); }
.sup-card h4 { margin: 0 0 6px; font: 800 19px/1.3 Lato, Arial, sans-serif; color: var(--ind); text-wrap: balance; }
.sup-card h4 a { color: var(--ind); text-decoration: none; text-underline-offset: .2em; }
.sup-card h4 a::after { content: ""; position: absolute; inset: 0; }
.sup-card:hover h4 a, .sup-card:focus-within h4 a { text-decoration-line: underline; color: var(--ind-2); }
.sup-card p { color: var(--muted); font-size: 15.5px; }

/* how every part is checked: heading and photo, then the four checks in a row */
.chk-top { align-items: center; }
.chk-fig { margin: 0; }
.chk-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chk-note { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-weight: 700; font-size: 17.5px; color: var(--ind); }
.chk-note .ic { width: 26px; height: 26px; }
.chk-row { margin-top: clamp(40px, 5vw, 60px); grid-template-columns: repeat(4, 1fr); }

/* the client's five steps */
.chain.chain-5 { grid-template-columns: repeat(5, 1fr); }
.chain-5 li { padding-right: 22px; }
.chain-5 .num { font-size: clamp(48px, 4.4vw, 68px); }

@media (max-width: 1100px) {
  .chk-row { grid-template-columns: 1fr 1fr; }
  .chain-5 p { font-size: 15.5px; }
  .hero.hero-full { display: flex; flex-direction: column; min-height: 0; background-color: var(--ind); }
  .hero-full .hero-in { order: 1; align-self: stretch; padding-top: 40px; padding-bottom: 36px; filter: none; }
  .hero-full .hero-copy { max-width: none; padding: 0; background: none; clip-path: none; }
  .hero-full .hero-copy::before { display: none; }
  .hero-bg { order: 2; }
  .hero-bg img { position: static; aspect-ratio: 16 / 9; height: auto; object-position: 50% 45%; }
}
@media (max-width: 900px) {
  .phero-grid { grid-template-columns: var(--gut) minmax(0, 1fr) var(--gut); min-height: 0; }
  .phero-sheet { grid-column: 1 / -1; }
  .phero-split .phero-copy { grid-column: 2; padding: 44px 0 40px; }
  .phero-photo { grid-column: 1 / -1; grid-row: 2; }
  .phero-photo img { position: static; height: auto; aspect-ratio: 16 / 10; }
  .core, .sup { grid-template-columns: 1fr; }
  /* phones and tablets: the photo above the title and text, so the card isn't cramped (Armin, 5 Nov 2026) */
  .sup-card { grid-template-columns: 1fr; gap: 16px; padding: 14px 14px 22px; }
  .sup-card > div:last-child { padding: 0 6px; }
  .sup-img { align-self: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .chain.chain-5 { grid-template-columns: 1fr; }
  .chain-5 li { padding-right: 0; }
}
@media (max-width: 600px) {
  .hero-full .hero-in { padding-top: 30px; padding-bottom: 30px; }
  .hero-bg img { aspect-ratio: 4 / 3; } /* phones: the client's whole photo */
  .hero-full h1 { font-size: 31px; }
  .hero-full .lead { font-size: 17px; }
  .hero-full .lead-2 { font-size: 16px; margin-bottom: 22px; }
  .phero-split .phero-copy { padding: 46px 0 32px; }
  .phero-split h1 { font-size: 30px; }
  .phero-photo img { aspect-ratio: 3 / 2; }
  .chk-row { grid-template-columns: 1fr; }
}

/* round 7 audit (5 Nov 2026) */
.jump-sec { padding: 32px 0 0; }
.jump-sec .jump ul { margin-top: 0; }
.nf-list li a { text-decoration: none; }
.nf-list li a:hover { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 900px) {
  .split-photo-l > figure, .split-photo-l > .map-frame { order: 2; } /* phones: the heading before its photo or map */
  .jobs-3 > :first-child { grid-column: 1 / -1; } /* no photo left alone on a row */
}

/* industries (home): one row of six in the title block's navy rules; three across on tablets, two on phones */
.ind-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--ind); border: 2px solid var(--ind); }
.ind-grid li { display: grid; align-content: center; min-height: 84px; padding: 18px; background: #fff; }
.ind-grid span { font: 400 19px/1.25 Marcellus, "Times New Roman", serif; color: var(--ind); -webkit-text-stroke: .01em currentColor; }
@media (max-width: 1100px) {
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .ind-grid li { min-height: 68px; padding: 14px; }
  .ind-grid span { font-size: 17.5px; }
}

/* phones and tablets: a portrait hero photo gets a square frame so the whole part shows (Armin, 5 Nov 2026: the
   Our work ring was cut off in the 3:2 frame); landscape photos keep the shorter frame */
@media (max-width: 900px) {
  .phero-photo.portrait img { aspect-ratio: 1 / 1; }
}

/* "whole" hero photo (portrait shots: CNC, Our work): the full photo framed on the navy drawing grid of the home
   hero card, with a soft shadow; no part cut, no AI (round 11; was a blurred copy of the photo behind it) */
.phero-photo.whole { --fr: clamp(24px, 2.8vw, 40px); background-color: var(--ind); background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; }
.phero-photo.whole img { inset: var(--fr) 0; height: calc(100% - 2 * var(--fr)); object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
@media (max-width: 900px) {
  .phero-photo.whole { aspect-ratio: 1 / 1; --fr: 22px; }
  .phero-photo.whole img { position: absolute; height: calc(100% - 2 * var(--fr)); aspect-ratio: auto; }
}
.hero-full .lead:last-of-type { margin-bottom: 30px; }
@media (max-width: 600px) { .hero-full .lead:last-of-type { margin-bottom: 22px; } }

/* Our work group links on one row (Armin, 5 Nov 2026): compact enough for one desktop row; on smaller screens the
   row scrolls sideways (with a fade at the right edge as the hint) instead of wrapping down the page */
.jump-sec .jump ul { flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.jump-sec .jump ul::-webkit-scrollbar { display: none; }
.jump-sec .jump li { flex: none; scroll-snap-align: start; }
.jump-sec .jump a { padding: 0 13px; font-size: 14.5px; white-space: nowrap; }
@media (max-width: 1180px) {
  .jump-sec .jump ul { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 40px; }
}
