/* Direction C, "Bright precision": a gallery-white industrial site. One semi-expanded grotesk, hairline rules,
   spec data in mono like a job ticket, router-bed blue as the single accent, and the shop's own end mill as the cursor. */
:root {
  --bg: #ffffff; --paper: #f4f5f3; --paper-2: #eceeeb; --rule: #e1e4e2; --rule-2: #cdd2cf;
  --ink: #0f1316; --ink-2: #545c63; --ink-3: #8a9299;
  --accent: #1d4fd0; --accent-2: #e8eefc; --gold: #b0844a;
  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --head-h: 72px;
  --ease: cubic-bezier(.2,.7,.1,1);
  --h3-bg: #eceeeb; --h3-bp-bg: #f7f8f6; --h3-line: #2a5bd7; --h3-accent: #1d4fd0; --h3-floor: #d8dbd9;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-sans); font-variation-settings: "wdth" 100; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.wrap { max-width: 1320px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }

h1, h2, h3 { font-family: var(--f-sans); font-weight: 600; font-variation-settings: "wdth" 108; letter-spacing: -0.028em; line-height: 1.02; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); letter-spacing: -0.035em; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; max-width: 62ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .74rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); line-height: 1.55; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.btn { --bg-b: var(--ink); --fg-b: #fff; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 24px; background: var(--bg-b); color: var(--fg-b); border: 1px solid var(--bg-b); border-radius: 999px; font: 600 .95rem/1 var(--f-sans); text-decoration: none; overflow: hidden; isolation: isolate; transition: color .35s var(--ease); cursor: pointer; }
.btn::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform .4s var(--ease); z-index: -1; }
.btn:hover::after, .btn:focus-visible::after { transform: none; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.light { --bg-b: #fff; --fg-b: var(--ink); border-color: var(--rule-2); }
.btn.light:hover { color: #fff; }
.link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
.link:hover { background-size: 100% 1px; }

/* ---------- header ---------- */
.util { background: var(--ink); color: #c9d0d5; font: 400 .78rem/1 var(--f-mono); letter-spacing: .04em; }
.util .wrap { display: flex; gap: 24px; align-items: center; min-height: 34px; }
.util span:first-child { margin-right: auto; }
.util b { color: #fff; font-weight: 500; }
@media (max-width: 760px) { .util { display: none; } }
.head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--rule); }
.head > .wrap { display: flex; align-items: center; gap: 28px; height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 1 auto; min-width: 0; }
.brand img { width: 46px; height: 46px; flex: none; }
.brand > div { min-width: 0; }
.brand b { display: block; font: 700 1.05rem/1 var(--f-sans); font-variation-settings: "wdth" 112; letter-spacing: -0.01em; white-space: nowrap; }
.brand span { display: block; margin-top: 4px; font: 500 .66rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) { .head > .wrap { gap: 12px; } .brand { gap: 10px; } .brand img { width: 40px; height: 40px; } .brand span { letter-spacing: .05em; } }
.nav { display: flex; align-items: stretch; height: 100%; margin-left: 12px; }
.nav > div { position: relative; display: flex; }
.nav > div > a, .nav > div > button { display: flex; align-items: center; gap: 6px; padding: 0 14px; font: 500 .95rem/1 var(--f-sans); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; position: relative; }
.nav > div > a::after, .nav > div > button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav > div:hover > a::after, .nav > div:hover > button::after, .nav > div:focus-within > button::after { transform: scaleX(1); }
.nav svg { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.nav > div:hover svg, .nav > div:focus-within svg { transform: rotate(180deg); }
.mega { position: fixed; left: 0; right: 0; top: calc(var(--head-h) + env(safe-area-inset-top, 0px)); background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 30px 60px -30px rgba(15,19,22,.25); opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
.nav > div:hover .mega, .nav > div:focus-within .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .25s, transform .3s var(--ease); }
.mega .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 320px; gap: 8px 40px; padding-block: 32px 40px; }
.mega a { display: grid; gap: 4px; padding: 14px 16px; border-radius: 10px; text-decoration: none; transition: background .2s; }
.mega a:hover { background: var(--paper); }
.mega a b { font-weight: 600; font-size: 1rem; }
.mega a span { color: var(--ink-2); font-size: .88rem; line-height: 1.4; }
.mega .feat { grid-column: 3; grid-row: 1 / span 4; background: var(--paper); border-radius: 14px; overflow: hidden; display: grid; grid-template-rows: 180px auto; padding: 0; }
.mega .feat img { width: 100%; height: 100%; object-fit: cover; }
.mega .feat div { padding: 16px 18px 20px; display: grid; gap: 6px; }
.head .cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.head .phone { font: 500 .9rem/1 var(--f-mono); color: var(--ink-2); user-select: all; white-space: nowrap; }
.head .btn { min-height: 44px; }
.menu-btn { display: none; }
@media (max-width: 1100px) { .head .phone { display: none; } .nav > div > a, .nav > div > button { padding: 0 10px; } }
@media (max-width: 940px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--rule-2); border-radius: 999px; background: #fff; font: 600 .92rem var(--f-sans); color: var(--ink); }
  .head .cta .btn { display: none; }
  /* the blur on .head makes it the containing block for fixed children, which squashed the open menu to the header's height; drop it while open */
  .head.open { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .head.open .nav { display: flex; flex-direction: column; position: fixed; top: var(--menu-top, calc(var(--head-h) + env(safe-area-inset-top, 0px))); left: 0; right: 0; bottom: 0; height: auto; margin: 0; background: #fff; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--rule); padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(40px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  html.menu-open { overflow: hidden; }
  .head.open .nav > div { flex-direction: column; border-bottom: 1px solid var(--rule); }
  .head.open .nav > div > a, .head.open .nav > div > button { padding: 18px 0; font-size: 1.2rem; }
  .head.open .nav > div > a::after, .head.open .nav > div > button::after { display: none; }
  .head.open .nav svg { display: none; }
  .head.open .mega { position: static; opacity: 1; visibility: visible; transform: none; pointer-events: auto; box-shadow: none; border: 0; }
  .head.open .mega .wrap { grid-template-columns: minmax(0, 1fr); padding: 0 0 12px; }
  .head.open .mega .feat { display: none; }
  .head.open .mega a { padding: 8px 0; }
  .head.open .mega a span { display: none; }
  .head.open .nav .m-cta { display: flex; margin-top: 24px; border-bottom: 0; }
  .head.open .nav .m-cta > a.btn { width: 100%; min-height: 54px; padding: 0 24px; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 999px; font: 600 1rem/1 var(--f-sans); }
}
.nav .m-cta { display: none; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(48px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; align-content: start; }
.doors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 8px; }
.door { position: relative; display: grid; gap: 8px; align-content: start; padding: 20px 20px 22px; border: 1px solid var(--rule-2); border-radius: 16px; text-decoration: none; background: #fff; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); min-width: 0; }
.door:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(15,19,22,.35); }
.door .k { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.door b { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.door span { color: var(--ink-2); font-size: .9rem; line-height: 1.45; }
.door .go { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--rule-2); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.door:hover .go { background: var(--accent); color: #fff; border-color: var(--accent); transform: rotate(-45deg); }
.door .go svg { width: 12px; height: 12px; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .doors { grid-template-columns: minmax(0, 1fr); } }

/* carve panel */
.sheet { position: relative; aspect-ratio: 5 / 4; border-radius: 18px; overflow: hidden; background: #e4d2b2; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 40px 80px -50px rgba(70,50,20,.55); touch-action: pan-y; }
.sheet canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sheet .tag { position: absolute; left: 16px; top: 14px; display: flex; gap: 10px; align-items: center; font: 500 .7rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(40,30,15,.62); pointer-events: none; }
.sheet .tag i { width: 7px; height: 7px; border-radius: 50%; background: #1fae5b; box-shadow: 0 0 0 4px rgba(31,174,91,.18); }
.sheet .readout { position: absolute; left: 16px; bottom: 14px; right: 140px; font: 400 .72rem/1.3 var(--f-mono); color: rgba(40,30,15,.66); white-space: pre; overflow: hidden; text-overflow: ellipsis; pointer-events: none; font-variant-numeric: tabular-nums; }
.sheet .reset { position: absolute; right: 12px; bottom: 10px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(40,30,15,.2); background: rgba(255,255,255,.7); font: 600 .8rem/1 var(--f-sans); color: var(--ink); cursor: pointer; backdrop-filter: blur(4px); }
.sheet .reset:hover { background: #fff; }
.sheet-cap { margin-top: 12px; display: flex; justify-content: space-between; gap: 16px; font-size: .85rem; color: var(--ink-3); }
.sheet-cap .mono { white-space: nowrap; }

/* ---------- proof strip ---------- */
.proof { border-block: 1px solid var(--rule); }
.proof .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 28px 24px 30px 0; display: grid; gap: 6px; border-right: 1px solid var(--rule); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat b { font: 600 clamp(1.9rem, 3.4vw, 2.9rem)/1 var(--f-sans); font-variation-settings: "wdth" 108; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat b small { font-size: .5em; letter-spacing: 0; color: var(--ink-3); margin-left: 2px; }
.stat span { color: var(--ink-2); font-size: .9rem; }
@media (max-width: 860px) { .proof .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(3) { padding-left: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); } }

section.sec { padding-block: clamp(72px, 10vw, 140px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head > div { display: grid; gap: 18px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- capabilities ---------- */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cap { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); text-decoration: none; color: #fff; isolation: isolate; min-width: 0; }
.cap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); z-index: -2; }
.cap::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,13,16,0) 35%, rgba(10,13,16,.82) 100%); z-index: -1; transition: background .5s; }
.cap:hover img { transform: scale(1.06); }
.cap:hover::before { background: linear-gradient(180deg, rgba(10,13,16,.25) 0%, rgba(10,13,16,.9) 100%); }
.cap .in { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; display: grid; gap: 10px; }
.cap .k { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.cap h3 { font-size: 1.55rem; }
.cap .specs { display: grid; gap: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .4s; }
.cap:hover .specs, .cap:focus-visible .specs { max-height: 160px; opacity: 1; }
.cap .specs span { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.18); font: 400 .8rem/1.3 var(--f-mono); }
.cap .specs span em { font-style: normal; opacity: .7; }
.cap .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; }
@media (max-width: 980px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .caps { grid-template-columns: minmax(0, 1fr); } .cap { aspect-ratio: 4 / 4.3; } .cap .specs { max-height: 160px; opacity: 1; } .cap h3 { font-size: 1.4rem; } .cap .in { padding: 20px; } }
@media (hover: none) { .cap .specs { max-height: 160px; opacity: 1; } .cap::before { background: linear-gradient(180deg, rgba(10,13,16,.05) 0%, rgba(10,13,16,.6) 38%, rgba(10,13,16,.92) 100%); } }

/* ---------- 3D story ---------- */
.h3 { position: relative; height: 400vh; background: var(--h3-bg); }
.h3-stage { position: sticky; top: calc(var(--head-h) + env(safe-area-inset-top, 0px)); height: calc(100vh - var(--head-h)); height: calc(100svh - var(--head-h) - env(safe-area-inset-top, 0px)); overflow: hidden; background: var(--h3-bg); }
.h3-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.h3-copy { position: absolute; inset: 0; pointer-events: none; display: flex; align-items: center; }
.h3-copy::before { content: ""; position: absolute; inset: 0 auto 0 0; width: min(640px, 52%); background: linear-gradient(90deg, rgba(236,238,235,.96) 0%, rgba(236,238,235,.82) 55%, rgba(236,238,235,0) 100%); }
.h3-copy .wrap { position: relative; width: 100%; }
.h3-chapters { list-style: none; margin: 0; padding: 0; display: grid; max-width: 440px; }
.h3-chapters li { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .45s var(--ease); pointer-events: none; display: grid; gap: 16px; align-content: start; }
.h3-chapters li[data-active] { opacity: 1; transform: none; pointer-events: auto; }
.h3-chapters .step { font: 500 .76rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.h3-chapters h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); }
.h3-chapters p { color: var(--ink-2); }
.h3-chapters .spec { font: 400 .82rem/1.65 var(--f-mono); color: var(--ink); border-top: 1px solid var(--rule-2); padding-top: 12px; }
.h3-hud { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; }
.h3-hud .wrap { display: flex; gap: 18px; align-items: center; padding-block: 16px; }
.h3-hud output { font: 400 .74rem/1.3 var(--f-mono); color: var(--ink-2); white-space: pre; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; font-variant-numeric: tabular-nums; }
.h3-bar { --p: 0; position: relative; width: min(260px, 34vw); height: 2px; background: var(--rule-2); flex: none; }
.h3-bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: var(--accent); }
.h3-bar i { position: absolute; top: -4px; width: 1px; height: 10px; background: var(--ink-3); }
.h3-dim { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; white-space: nowrap; font: 500 .8rem/1 var(--f-mono); letter-spacing: .1em; color: var(--accent); background: var(--h3-bg); padding: 5px 8px; border: 1px solid var(--accent); }
.no-webgl .h3-stage { background: var(--h3-bg) url(img/machine-cutting-sm.jpg) right center / contain no-repeat; }
@media (max-width: 900px) {
  .h3 { height: 380vh; }
  .h3-copy { align-items: flex-end; padding-bottom: 72px; }
  .h3-copy::before { inset: auto 0 0 0; width: auto; height: 60%; background: linear-gradient(0deg, var(--h3-bg) 35%, rgba(236,238,235,0)); }
  .h3-chapters li { gap: 10px; }
  .h3-chapters .spec { display: none; }
}
@media (prefers-reduced-motion: reduce) { .h3 { height: auto; } .h3-stage { position: relative; top: 0; height: 78vh; } .h3-chapters li { transition: none; } }

/* ---------- two audiences ---------- */
.paths { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.path { border-radius: 22px; padding: clamp(28px, 4vw, 48px); display: grid; gap: 22px; align-content: start; min-width: 0; }
.path.new { background: var(--paper); }
.path.pro { background: var(--ink); color: #e9edf0; }
.path.pro .lede, .path.pro li span { color: #a8b1b8; }
.path ol, .path ul { list-style: none; margin: 0; padding: 0; display: grid; }
.path li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 16px 0; border-top: 1px solid var(--rule-2); }
.path.pro li { border-top-color: #2a3238; }
.path li i { grid-row: span 2; font: 500 .8rem/1.6 var(--f-mono); font-style: normal; color: var(--accent); }
.path.pro li i { color: #7fa3ff; }
.path li b { font-weight: 600; }
.path li span { color: var(--ink-2); font-size: .93rem; }
.path .btn.inv { --bg-b: #fff; --fg-b: var(--ink); }
.path .btn.inv:hover { color: #fff; }
@media (max-width: 860px) { .paths { grid-template-columns: minmax(0, 1fr); } }

/* ---------- industries ---------- */
.inds { border-top: 1px solid var(--ink); }
.ind { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1.4fr) 40px; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--rule-2); text-decoration: none; transition: padding .45s var(--ease), color .3s; }
.ind .n { font: 400 .8rem/1 var(--f-mono); color: var(--ink-3); }
.ind h3 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); letter-spacing: -0.03em; transition: transform .45s var(--ease); }
.ind p { color: var(--ink-2); font-size: .95rem; }
.ind .go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule-2); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s, transform .45s var(--ease); }
.ind .go svg { width: 13px; height: 13px; }
.ind:hover { padding-block: 40px; }
.ind:hover h3 { transform: translateX(10px); color: var(--accent); }
.ind:hover .go { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg); }
.peek { position: fixed; left: 0; top: 0; width: 280px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; pointer-events: none; z-index: 40; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .25s, transform .35s var(--ease); box-shadow: 0 30px 60px -20px rgba(15,19,22,.45); }
.peek.on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .ind { grid-template-columns: 36px minmax(0, 1fr) 40px; } .ind p { grid-column: 2; grid-row: 2; } .ind .go { grid-row: 1 / span 2; grid-column: 3; } .peek { display: none; } }

/* ---------- work ---------- */
.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.work figure { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--paper-2); min-width: 0; }
.work figure:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.work figure:nth-child(2), .work figure:nth-child(3) { grid-column: span 5; }
.work figure:nth-child(n+4) { grid-column: span 4; }
.work img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 1s var(--ease); }
.work figure:nth-child(1) img { position: absolute; inset: 0; aspect-ratio: auto; }
.work figure > a { display: block; height: 100%; color: inherit; text-decoration: none; }
.work figure > a:focus-visible { outline: 2px solid var(--accent, #0a58ff); outline-offset: -4px; border-radius: 16px; }
.work figure:hover img { transform: scale(1.04); }
.work figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); font-weight: 600; font-size: .92rem; transform: translateY(6px); transition: transform .4s var(--ease); }
.work figure:hover figcaption { transform: none; }
.work figcaption span { font: 400 .72rem/1.3 var(--f-mono); color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
@media (max-width: 800px) { .work figure:nth-child(n) { grid-column: span 12; grid-row: auto; } .work figure:nth-child(1) img { position: static; aspect-ratio: 4 / 3; } }

/* ---------- clean air ---------- */
.caw { background: var(--paper); }
.caw .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.caw-mark { display: flex; align-items: center; gap: 14px; }
.caw-mark img { width: 72px; }
.caw-mark b { display: block; font-weight: 700; font-size: 1.05rem; font-variation-settings: "wdth" 112; }
.caw-mark span { font: 500 .68rem/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.caw .copy { display: grid; gap: 24px; }
.machines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-2); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; }
.machines li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule-2); font-size: .93rem; }
.machines li span:last-child { font: 400 .82rem/1.5 var(--f-mono); color: var(--ink-2); white-space: nowrap; }
.caw-photos { position: relative; }
.caw-photos img { border-radius: 18px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.caw-photos img + img { position: absolute; width: 46%; right: -4%; bottom: -8%; aspect-ratio: 3 / 4; border: 6px solid var(--paper); box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); }
@media (max-width: 860px) { .caw .wrap { grid-template-columns: minmax(0, 1fr); } .caw-photos img + img { right: 4%; } .machines { grid-template-columns: minmax(0, 1fr); } }

/* ---------- pillars + faq ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule-2); }
.pillar { padding: 28px 28px 8px 0; display: grid; gap: 12px; align-content: start; }
.pillar svg { width: 34px; height: 34px; color: var(--accent); }
.pillar p { color: var(--ink-2); font-size: .94rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pillars { grid-template-columns: minmax(0, 1fr); } }
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.faq details { border-bottom: 1px solid var(--rule-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 1.08rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 22px; height: 22px; position: relative; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); }
.faq-list { border-top: 1px solid var(--ink); }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ---------- carve CTA ---------- */
.band { position: relative; background: #e9d8b9; overflow: hidden; touch-action: pan-y; }
.band canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.band .wrap { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; padding-block: clamp(72px, 10vw, 128px); pointer-events: none; }
.band .wrap > * { pointer-events: auto; }
.band h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 14ch; color: #2a1f12; }
.band .hint { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); top: 18px; font: 500 .7rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(42,31,18,.55); pointer-events: none; }
.band .phone { font: 500 1.05rem/1 var(--f-mono); color: #2a1f12; user-select: all; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #a8b1b8; padding-block: 72px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: .93rem; }
.foot .top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot img { width: 84px; margin-bottom: 18px; }
.foot h4 { margin: 0 0 14px; font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .fine { margin-top: 56px; padding-top: 20px; border-top: 1px solid #262e34; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; }
@media (max-width: 860px) { .foot .top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot .top > div:first-child { grid-column: 1 / -1; } }

/* ---------- reveal (content is visible at rest; motion only adds) ---------- */
.rv { transition: transform .9s var(--ease), opacity .9s var(--ease); }
.js .rv.pre { transform: translateY(18px); opacity: .001; }
@media (prefers-reduced-motion: reduce) { .js .rv.pre { transform: none; opacity: 1; } }

/* ---------- end mill cursor ---------- */
.em-on, .em-on a, .em-on button, .em-on summary, .em-on .sheet, .em-on .band { cursor: none; }
.em-on input, .em-on textarea, .em-on select { cursor: auto; }
.em { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; width: 0; height: 0; }
.em .tool { position: absolute; left: -9px; bottom: 0; width: 18px; height: 54px; transform-origin: 50% 100%; transition: transform .25s var(--ease), opacity .2s; }
.em .shank { position: absolute; left: 2px; right: 2px; top: 0; height: 24px; border-radius: 2px 2px 0 0; background: linear-gradient(90deg, #8d969d, #e6eaed 40%, #b8c0c6 60%, #737c83); }
.em .flutes { position: absolute; left: 1px; right: 1px; top: 23px; bottom: 0; border-radius: 0 0 3px 3px; background: repeating-linear-gradient(155deg, #4c555c 0 3px, #d9dee2 3px 6px, #8c959c 6px 9px); background-size: 100% 18px; animation: spin .18s linear infinite; box-shadow: inset 2px 0 2px rgba(0,0,0,.25), inset -2px 0 2px rgba(255,255,255,.25); }
.em .tool::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 20px; height: 6px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(rgba(0,0,0,.28), transparent 70%); }
@keyframes spin { to { background-position: 0 18px; } }
.em .ring { position: absolute; width: 44px; height: 44px; left: -22px; top: -22px; border-radius: 50%; border: 1.5px solid var(--accent); opacity: 0; transform: scale(.5); transition: opacity .25s, transform .3s var(--ease); }
.em.link .ring { opacity: 1; transform: scale(1); }
.em.link .tool { transform: translate(14px, -10px) rotate(28deg) scale(.82); }
.em.carving .tool { transform: translateY(3px); }
.em.text .tool { opacity: 0; }
.em.hide { display: none; }
/* cursor per tool (set by the tool rack) */
.em .tool { transition: transform .25s var(--ease), opacity .2s, width .3s var(--ease), left .3s var(--ease); }
.em[data-tool="e125"] .tool { width: 9px; left: -4.5px; }
.em[data-tool="e125"] .shank { left: 0; right: 0; }
.em[data-tool="e125"] .flutes { left: 1.5px; right: 1.5px; background-size: 100% 12px; }
.em[data-tool="e25"] .tool { width: 13px; left: -6.5px; }
.em[data-tool="v"] .tool { width: 16px; left: -8px; }
.em[data-tool="v"] .flutes { left: 0; right: 0; border-radius: 0; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.em[data-tool="bowl"] .tool { width: 32px; left: -16px; height: 50px; }
.em[data-tool="bowl"] .shank { left: 10px; right: 10px; height: 26px; }
.em[data-tool="bowl"] .flutes { top: 25px; left: 0; right: 0; border-radius: 0 0 16px 16px / 0 0 24px 24px; background-size: 100% 22px; }
.em[data-tool="bowl"] .tool::after { width: 36px; }
.em[data-tool="laser"] .tool { width: 22px; left: -11px; }
.em[data-tool="laser"] .shank { left: 0; right: 0; height: 26px; border-radius: 4px; background: linear-gradient(90deg, #1c2226, #4b555d 42%, #2b3237 70%, #151a1e); }
.em[data-tool="laser"] .flutes { display: none; }
.em[data-tool="laser"] .tool::before { content: ""; position: absolute; left: 50%; top: 26px; bottom: 0; width: 2px; transform: translateX(-50%); background: linear-gradient(rgba(255,70,30,0), #ff4a24); box-shadow: 0 0 6px 1px rgba(255,74,36,.65); }
.em[data-tool="laser"] .tool::after { width: 14px; height: 14px; bottom: -7px; background: radial-gradient(rgba(255,120,60,.95), rgba(255,74,36,.35) 45%, rgba(255,74,36,0) 72%); }
.em.swap .tool { transform: translateY(-34px); opacity: 0; transition: transform .3s var(--ease), opacity .2s; }

/* tool rack under the hero sheet */
.rack { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.rack button { position: relative; display: grid; justify-items: center; align-content: start; gap: 5px; min-height: 92px; padding: 9px 4px 10px; border: 1px solid var(--rule-2); border-radius: 12px; background: #fff; color: var(--ink); font: 500 .74rem/1.2 var(--f-sans); cursor: pointer; transition: border-color .25s, background .25s, color .25s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.rack button i { font: 500 .6rem/1 var(--f-mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); transition: color .25s; }
.rack button svg { width: 20px; height: 34px; fill: currentColor; transition: transform .35s var(--ease); }
.rack button span { text-align: center; }
.rack button:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px -16px rgba(15,19,22,.5); }
.rack button:hover svg { transform: translateY(2px); }
.rack button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.rack button[aria-pressed="true"] i { color: #7fa3ff; }
.rack button[data-tool="laser"][aria-pressed="true"] i { color: #ff7a52; }
@media (max-width: 560px) { .rack { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rack button { min-height: 84px; } }
.sheet .tag i { transition: background .2s, box-shadow .2s; }
.sheet .tag.chg i { background: #e0a21b; box-shadow: 0 0 0 4px rgba(224,162,27,.2); }
.sheet .tag.laser i { background: #ff4a24; box-shadow: 0 0 0 4px rgba(255,74,36,.2); }
.nav a[aria-current="page"]::after, .nav button[aria-current="page"]::after { transform: scaleX(1); }

/* =================== inner pages =================== */
.page-hero { padding-block: clamp(36px, 5.5vw, 80px) clamp(36px, 4.5vw, 64px); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px clamp(32px, 5vw, 88px); align-items: end; }
.page-hero .copy { display: grid; gap: 22px; align-content: start; }
.page-hero .side { display: grid; gap: 24px; align-content: end; }
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs i { font-style: normal; color: var(--rule-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* drifting photo strip: moves sideways as the page scrolls */
.strip { overflow: hidden; }
.strip-track { display: flex; gap: 16px; width: max-content; padding-inline: max(16px, env(safe-area-inset-left, 0px)); will-change: transform; }
.strip figure { position: relative; margin: 0; flex: none; height: clamp(260px, 32vw, 460px); border-radius: 18px; overflow: hidden; background: var(--paper-2); }
.strip img { height: 100%; width: auto; max-width: none; transition: transform 1.1s var(--ease); }
.strip figure:hover img { transform: scale(1.04); }
.strip figcaption { position: absolute; left: 12px; bottom: 12px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); font-weight: 600; font-size: .86rem; line-height: 1.25; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--ease); }
.strip figure:hover figcaption { opacity: 1; transform: none; }
@media (hover: none) { .strip figcaption { opacity: 1; transform: none; } }

/* crop out a watermark that sits in the bottom strip of a photo */
.nowm { object-position: 50% 0 !important; }

/* numbered process with a progress rail that fills on scroll */
.flow { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 104px); }
.flow .stick { position: sticky; top: calc(var(--head-h) + 40px); align-self: start; display: grid; gap: 22px; }
.flow .stick img { border-radius: 18px; aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.steps { --p: 0; position: relative; list-style: none; margin: 0; padding: 0 0 0 52px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 11px; top: 12px; width: 2px; }
.steps::before { bottom: 12px; background: var(--rule-2); }
.steps::after { height: calc((100% - 24px) * var(--p)); background: var(--accent); }
.steps > li { position: relative; display: grid; gap: 12px; padding-bottom: clamp(40px, 5vw, 64px); }
.steps > li:last-child { padding-bottom: 0; }
.steps > li::before { content: ""; position: absolute; left: -52px; top: 0; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--rule-2); transition: background .35s, border-color .35s, box-shadow .35s; box-sizing: border-box; }
.steps > li.on::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-2); }
.steps .k { font: 500 .74rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding-top: 5px; }
.steps h3 { font-size: clamp(1.45rem, 2.3vw, 2rem); letter-spacing: -0.03em; }
.steps p { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li, .chips span { font: 500 .76rem/1 var(--f-mono); padding: 8px 11px; border: 1px solid var(--rule-2); border-radius: 999px; background: #fff; color: var(--ink); white-space: nowrap; }
@media (max-width: 900px) { .flow { grid-template-columns: minmax(0, 1fr); } .flow .stick { position: static; } }

/* dark spec band */
.dark { background: var(--ink); color: #e9edf0; }
.dark .eyebrow, .dark .lede { color: #a8b1b8; }
.spec { width: 100%; border-collapse: collapse; }
.spec th { text-align: left; font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #8a9299; padding: 0 20px 16px 0; border-bottom: 1px solid #e9edf0; }
.spec td { padding: 22px 20px 22px 0; border-bottom: 1px solid #262e34; vertical-align: baseline; transition: color .3s, padding .45s var(--ease); }
.spec td:first-child { font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.35rem); letter-spacing: -0.015em; width: 34%; }
.spec td.q { font: 400 1rem/1.4 var(--f-mono); color: #fff; white-space: nowrap; width: 22%; }
.spec td:last-child { color: #a8b1b8; }
.spec tr { transition: background .3s; }
.spec tbody tr:hover { background: #161c21; }
.spec tbody tr:hover td:first-child { padding-left: 14px; color: #7fa3ff; }
@media (max-width: 700px) {
  .spec thead { display: none; }
  .spec tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid #262e34; }
  .spec td { padding: 0; border: 0; width: auto !important; }
  .spec td:last-child { grid-column: 1 / -1; }
  .spec tbody tr:hover td:first-child { padding-left: 0; }
}

/* masonry gallery with a lightbox */
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry a { position: relative; display: block; break-inside: avoid; margin-bottom: 16px; border-radius: 16px; overflow: hidden; background: var(--paper-2); text-decoration: none; }
.masonry img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.masonry a:hover img { transform: scale(1.04); }
.masonry .cut { overflow: hidden; }
.masonry .cut img { margin-bottom: -5%; }
.masonry span { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; gap: 12px; padding: 11px 13px; border-radius: 11px; background: rgba(255,255,255,.93); backdrop-filter: blur(8px); font-weight: 600; font-size: .88rem; line-height: 1.3; transform: translateY(8px); opacity: 0; transition: opacity .35s, transform .45s var(--ease); }
.masonry span em { font: 400 .7rem/1.6 var(--f-mono); font-style: normal; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.masonry a:hover span, .masonry a:focus-visible span { opacity: 1; transform: none; }
@media (hover: none) { .masonry span { opacity: 1; transform: none; } }
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lb::backdrop { background: rgba(10,13,16,.9); }
.em-on .lb, .em-on .lb * { cursor: auto; }
.em-on .lb button { cursor: pointer; }
.lb[open] { display: grid; place-items: center; }
.lb figure { margin: 0; display: grid; gap: 14px; justify-items: center; padding: 64px 72px 32px; }
.lb img { max-width: min(1400px, calc(100vw - 144px)); max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 12px; }
.lb figcaption { color: #e9edf0; font-size: .95rem; text-align: center; max-width: 60ch; }
.lb button { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(15,19,22,.5); color: #fff; font: 400 1.2rem/1 var(--f-sans); cursor: pointer; transition: background .25s, border-color .25s; }
.lb button:hover { background: var(--accent); border-color: var(--accent); }
.lb .x { top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lb .pv, .lb .nx { top: 50%; transform: translateY(-50%); }
.lb .pv { left: max(12px, env(safe-area-inset-left, 0px)); }
.lb .nx { right: max(12px, env(safe-area-inset-right, 0px)); }
@media (max-width: 700px) { .lb figure { padding: 64px 12px 24px; } .lb img { max-width: calc(100vw - 24px); } .lb .pv, .lb .nx { top: auto; bottom: max(16px, env(safe-area-inset-bottom, 0px)); transform: none; } }

/* two-column feature: photo plus copy */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature .copy { display: grid; gap: 22px; }
.feature .ph { position: relative; border-radius: 18px; overflow: hidden; }
.feature .ph img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }
.feature .ph figcaption, .ph-cap { position: absolute; left: 12px; bottom: 12px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); font-size: .82rem; line-height: 1.3; max-width: calc(100% - 24px); }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); } }

/* in-page section nav, sticky under the header; the current section's chip is filled */
html:has(.jump) { scroll-padding-top: calc(var(--head-h) + 84px); }
.jump { position: sticky; top: calc(var(--head-h) + env(safe-area-inset-top, 0px)); z-index: 40; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--rule); }
.jump .wrap { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.jump .wrap::-webkit-scrollbar { display: none; }
.jump .wrap > span { flex: none; font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-right: 10px; }
.jump a { flex: none; font: 500 .76rem/1 var(--f-mono); letter-spacing: .02em; padding: 10px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; transition: background .25s, color .25s; }
.jump a:hover { color: var(--ink); background: var(--paper); }
.jump a.on { background: var(--ink); color: #fff; }
@media (max-width: 760px) { .jump .wrap > span { display: none; } }

/* alternating capability rows: photo on one side, copy and a tick list on the other */
.rows { display: grid; gap: clamp(72px, 10vw, 136px); }
.row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.row.flip > .media { order: 2; }
.row .media { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: var(--paper-2); }
.row .media > img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4.4; object-fit: cover; transition: transform 1.2s var(--ease); }
.row:hover .media > img { transform: scale(1.035); }
.row .media .n { position: absolute; top: 14px; left: 14px; z-index: 1; font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.92); color: var(--ink); }
.row .media figcaption { position: absolute; left: 14px; bottom: 14px; z-index: 1; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.92); font-size: .82rem; line-height: 1.3; max-width: calc(100% - 28px); }
.row .media.quad { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; aspect-ratio: 5 / 4.4; background: #fff; }
.row .media.quad img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.row .media.quad img:hover { transform: scale(1.06); }
.row .copy { display: grid; gap: 20px; align-content: center; min-width: 0; }
.row h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.row .copy > p { color: var(--ink-2); }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 28px; border-top: 1px solid var(--rule-2); }
.ticks li { position: relative; padding: 12px 0 12px 24px; border-bottom: 1px solid var(--rule); font-size: .95rem; line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 21px; width: 12px; height: 2px; background: var(--accent); transition: width .35s var(--ease); }
.ticks li:hover::before { width: 16px; }
@media (max-width: 860px) { .row { grid-template-columns: minmax(0, 1fr); } .row.flip > .media { order: 0; } }
@media (max-width: 520px) { .ticks { grid-template-columns: minmax(0, 1fr); } }

/* tile grid: short cards separated by hairlines (light by default, dark inside .dark) */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule-2); border: 1px solid var(--rule-2); border-radius: 20px; overflow: hidden; }
.tile { position: relative; background: #fff; padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; transition: background .3s; min-width: 0; }
.tile:hover { background: var(--paper); }
.tile .k { font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.tile h3 { font-size: 1.35rem; }
.tile p { color: var(--ink-2); font-size: .95rem; }
.dark .tiles { background: #262e34; border-color: #262e34; }
.dark .tile { background: var(--ink); }
.dark .tile:hover { background: #161c21; }
.dark .tile .k { color: #7fa3ff; }
.dark .tile h3 { color: #fff; }
.dark .tile p { color: #a8b1b8; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: minmax(0, 1fr); } }

/* material groups */
.mats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mat { border: 1px solid var(--rule-2); border-radius: 18px; padding: 24px; display: grid; gap: 14px; align-content: start; background: #fff; transition: border-color .3s, transform .45s var(--ease); min-width: 0; }
.mat:hover { border-color: var(--ink); transform: translateY(-3px); }
.mat .chips li { white-space: normal; line-height: 1.25; }
@media (max-width: 1000px) { .mats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mats { grid-template-columns: minmax(0, 1fr); } }
.sec.paper { background: var(--paper); }

/* project stories: two wide cards, then three */
.stories { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stories .cap { grid-column: span 2; aspect-ratio: 4 / 4.4; }
.stories .cap:nth-child(-n+2), .stories .cap:nth-child(n+6) { grid-column: span 3; aspect-ratio: 16 / 11; }
@media (max-width: 900px) { .stories .cap, .stories .cap:nth-child(-n+2), .stories .cap:nth-child(n+6) { grid-column: span 3; aspect-ratio: 4 / 4.2; } .stories .cap:last-child { grid-column: span 6; aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .stories .cap, .stories .cap:nth-child(-n+2), .stories .cap:nth-child(n+6), .stories .cap:last-child { grid-column: span 6; aspect-ratio: 4 / 3.8; } }

/* filterable project grid */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { display: inline-flex; align-items: baseline; gap: 6px; font: 500 .8rem/1 var(--f-mono); padding: 11px 14px; border-radius: 999px; border: 1px solid var(--rule-2); background: #fff; color: var(--ink); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters button sup { font-size: .68rem; opacity: .55; vertical-align: baseline; }
@media (max-width: 700px) { .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; } .filters::-webkit-scrollbar { display: none; } .filters button { flex: none; } }
.pjs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 20px; }
.pj { display: grid; gap: 16px; align-content: start; min-width: 0; }
.pj[hidden] { display: none; }
.pj.in { animation: pj-in .55s var(--ease) both; }
@keyframes pj-in { from { opacity: 0; transform: translateY(14px); } }
.pj .pm { position: relative; border-radius: 16px; overflow: hidden; background: var(--paper-2); }
.pj .pm img { width: 100%; height: auto; aspect-ratio: 4 / 3.3; object-fit: cover; transition: transform 1s var(--ease); }
.pj .pm:hover img { transform: scale(1.04); }
.pj .pm .cnt { position: absolute; right: 10px; bottom: 10px; font: 500 .7rem/1 var(--f-mono); padding: 7px 9px; border-radius: 8px; background: rgba(15,19,22,.72); color: #fff; pointer-events: none; }
.pj .pb { display: grid; gap: 8px; justify-items: start; }
.pj .tag { font: 500 .7rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.pj h3 { font-size: 1.3rem; }
.pj p { color: var(--ink-2); font-size: .94rem; }
@media (max-width: 1000px) { .pjs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pjs { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .pj.in { animation: none; } }

/* numbered steps in a row (Laser and industry pages) */
.order { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule-2); }
.order li { position: relative; padding: 26px 22px 0 0; display: grid; gap: 10px; align-content: start; }
.order li::before { content: ""; position: absolute; top: -1px; left: 0; width: 28px; height: 2px; background: var(--accent); transition: width .6s var(--ease); }
.order li:hover::before { width: calc(100% - 22px); }
.order .k { font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; color: var(--accent); }
.order b { font-size: 1.1rem; letter-spacing: -0.01em; }
.order span { color: var(--ink-2); font-size: .92rem; }
.order a { color: var(--ink); font-weight: 600; }
@media (max-width: 1000px) { .order { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 520px) { .order { grid-template-columns: minmax(0, 1fr); } .order li { padding-right: 0; } }

/* industry pages: hero facts, wide media, item lists, callouts, FAQ */
.ihero h1 { max-width: 14ch; }
.ihero .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule-2); }
.ihero .facts div { padding: 14px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
.ihero .facts b { font: 600 1.35rem/1 var(--f-sans); letter-spacing: -0.03em; }
.ihero .facts span { font-size: .86rem; color: var(--ink-2); }
.wide-media { margin: 0; position: relative; border-radius: 22px; overflow: hidden; background: #0e1215; }
.wide-media > img, .wide-media > video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; }
.wide-media > video { aspect-ratio: 16 / 9; }
.wide-media figcaption { position: absolute; left: 16px; bottom: 16px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .84rem; line-height: 1.3; max-width: calc(100% - 32px); pointer-events: none; }
.wide-media.vid figcaption { position: static; display: block; max-width: none; border-radius: 0; background: #0e1215; color: #a8b1b8; padding: 14px 18px; }
@media (max-width: 700px) { .wide-media > img { aspect-ratio: 4 / 3; } }
.ilist { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--rule-2); }
.ilist > div { padding: 20px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 6px; align-content: start; }
.ilist h3 { font-size: 1.05rem; letter-spacing: -0.01em; transition: color .25s; }
.ilist > div:hover h3 { color: var(--accent); }
.ilist p { color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
@media (max-width: 1000px) { .ilist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ilist { grid-template-columns: minmax(0, 1fr); } }
.callout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 22px; background: var(--paper); }
.callout h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.callout p { color: var(--ink-2); }
.callout .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .callout { grid-template-columns: minmax(0, 1fr); } }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.duo > div { border-radius: 20px; padding: clamp(24px, 3vw, 36px); background: var(--paper); display: grid; gap: 16px; align-content: start; }
.duo h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.duo .ticks { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 860px) { .duo { grid-template-columns: minmax(0, 1fr); } }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stats > div { border: 1px solid var(--rule-2); border-radius: 18px; padding: 22px; display: grid; gap: 8px; align-content: start; background: #fff; transition: border-color .3s, transform .45s var(--ease); }
.stats > div:hover { border-color: var(--ink); transform: translateY(-3px); }
.stats b { font: 600 clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--f-sans); letter-spacing: -0.04em; }
.stats span { color: var(--ink-2); font-size: .9rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qa { border-top: 1px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--rule-2); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; font-weight: 600; font-size: clamp(1.05rem, 1.5vw, 1.22rem); letter-spacing: -0.015em; transition: color .25s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font: 400 1.5rem/1 var(--f-mono); color: var(--accent); transition: transform .35s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--accent); }
.qa details > div { padding: 0 0 24px; color: var(--ink-2); max-width: 74ch; display: grid; gap: 12px; }
.qa details > div a { color: var(--ink); font-weight: 600; }
.tag-concept { position: absolute; top: 12px; left: 12px; z-index: 1; font: 500 .66rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 7px 9px; border-radius: 8px; background: rgba(14,18,21,.78); color: #fff; }
.note { color: var(--ink-3); font-size: .86rem; line-height: 1.5; }

/* client stories */
.cs-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.cs-hero .copy { gap: 18px; }
.cs-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.9rem); }
.cs-media { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: var(--paper-2); }
.cs-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.cs-media figcaption, .cs-single figcaption { position: absolute; left: 14px; bottom: 14px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.92); font-size: .82rem; line-height: 1.3; max-width: calc(100% - 28px); }
.cs { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose { display: grid; gap: 20px; font-size: 1.06rem; line-height: 1.7; max-width: 66ch; }
.prose p { color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose blockquote { margin: 6px 0; padding: 6px 0 6px 24px; border-left: 2px solid var(--accent); font-size: 1.15rem; line-height: 1.55; letter-spacing: -0.01em; }
.prose blockquote cite { display: block; margin-top: 12px; font: 400 .78rem/1.5 var(--f-mono); font-style: normal; color: var(--ink-3); }
.prose blockquote cite a { color: var(--ink-2); text-decoration-color: var(--rule-2); }
.cs-card { position: sticky; top: calc(var(--head-h) + 28px); border-radius: 20px; padding: clamp(22px, 3vw, 32px); background: var(--paper); display: grid; gap: 14px; }
.cs-card h2 { font-size: 1.3rem; letter-spacing: -0.02em; }
.cs-card dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 18px; }
.cs-card dt, .cs-card dd { padding: 12px 0; border-top: 1px solid var(--rule-2); margin: 0; }
.cs-card dt { font: 500 .68rem/1.7 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.cs-card dd { font-size: .93rem; line-height: 1.5; }
.cs-links { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--rule-2); }
.cs-single { position: relative; margin: 0 auto; max-width: 560px; border-radius: 20px; overflow: hidden; }
.cs-single img { width: 100%; height: auto; display: block; }
.years { border-top: 1px solid var(--ink); }
.years > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--rule-2); }
.years b { font: 600 clamp(1.7rem, 2.8vw, 2.4rem)/1 var(--f-sans); letter-spacing: -0.04em; transition: color .3s; }
.years > div:hover b { color: var(--accent); }
.years ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.years li { position: relative; padding-left: 24px; color: var(--ink-2); }
.years li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--accent); }
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pager a { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; padding: 12px; border: 1px solid var(--rule-2); border-radius: 18px; text-decoration: none; color: var(--ink); transition: border-color .3s, transform .45s var(--ease); }
.pager a:hover { border-color: var(--ink); transform: translateY(-3px); }
.pager a[rel="next"] { grid-template-columns: minmax(0, 1fr) 120px; text-align: right; }
.pager a[rel="next"] img { order: 2; }
.pager img { width: 120px; height: 90px; object-fit: cover; border-radius: 12px; }
.pager span { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.pager b { display: block; margin-top: 8px; font-size: 1.02rem; line-height: 1.3; }
@media (max-width: 900px) { .cs-hero .wrap, .cs { grid-template-columns: minmax(0, 1fr); } .cs-card { position: static; } }
@media (max-width: 640px) { .pager { grid-template-columns: minmax(0, 1fr); } .pager a[rel="next"] { grid-template-columns: 96px minmax(0, 1fr); text-align: left; } .pager a[rel="next"] img { order: 0; } .pager a { grid-template-columns: 96px minmax(0, 1fr); } .pager img { width: 96px; height: 72px; } .years > div { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
