:root {
  color-scheme: light;
  --night: #0a0d16; --navy: #121a30; --navy-soft: #1b2946;
  --alloy: #e7edf4; --mist: #f5f7fa; --surface: #fff;
  --ink: #101521; --muted: #596477; --line: #cbd3df;
  --violet: #675cf5; --violet-dark: #4337cc; --violet-soft: #e5e3ff;
  --spark: #ff8a4c; --spark-soft: #ffe1cf; --success: #16815a;
  --display: Bahnschrift, "Arial Narrow", "Aptos Narrow", sans-serif;
  --body: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --radius-sm: 8px; --radius: 18px; --radius-lg: 30px;
  --shadow: 0 26px 70px rgba(7, 12, 25, .16);
  --home-max: 1360px;
  --home-gutter: clamp(24px, 5vw, 96px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; overflow-x: hidden; background: var(--mist); color: var(--ink); font: 400 1rem/1.62 var(--body); }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-stretch: condensed; line-height: .98; text-wrap: balance; }
h1 { margin-bottom: 0; font-size: clamp(3.5rem, 7.5vw, 8rem); letter-spacing: -.065em; }
h2 { margin-bottom: 1rem; font-size: clamp(2.35rem, 4.8vw, 5rem); letter-spacing: -.052em; }
h3 { margin-bottom: .45rem; font-size: 1.45rem; letter-spacing: -.025em; }
p { max-width: 68ch; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-160%); background: var(--spark); color: var(--night); border-radius: 6px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--spark); outline-offset: 4px; }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(10, 13, 22, .88); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(18px); }
.header-inner { width: min(1480px, calc(100% - 40px)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { min-height: 46px; display: inline-flex; align-items: center; gap: 12px; color: white; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.brand:hover .brand-mark { transform: rotate(-5deg) scale(1.06); }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font: 750 1.35rem/.9 var(--display); letter-spacing: -.035em; }
.brand-copy small { color: #9ca7bc; font-size: .69rem; line-height: 1; letter-spacing: .06em; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { min-height: 42px; padding: 0 13px; display: inline-flex; align-items: center; position: relative; color: #bec7d8; text-decoration: none; font-size: .9rem; font-weight: 650; border-radius: 9px; transition: color .2s ease, background .2s ease, transform .2s ease; }
.main-nav a::after { content: ""; position: absolute; right: 12px; bottom: 7px; left: 12px; height: 1px; background: var(--spark); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: white; background: rgba(255,255,255,.07); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .nav-cta { margin-left: 8px; padding: 0 20px; overflow: hidden; background: var(--violet); color: white; box-shadow: 0 8px 26px rgba(103,92,245,.28); }
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: #786eff; transform: translateY(-2px); }
.menu-toggle { display: none; width: 46px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); border-radius: 10px; }
.menu-toggle span:not(.sr-only) { display: block; width: 19px; height: 2px; margin: 5px auto; background: white; }

.workbench { padding-bottom: clamp(70px, 8vw, 120px); background: var(--night); color: white; }
.hero-stage { position: relative; min-height: min(780px, calc(100vh - 78px)); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; z-index: -2; inset: 0; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,10,18,.97) 0%, rgba(7,10,18,.78) 38%, rgba(7,10,18,.12) 76%), linear-gradient(0deg, var(--night) 0%, transparent 42%), radial-gradient(circle at 76% 58%, rgba(103,92,245,.22), transparent 34%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.035); }
.hero-copy { width: min(var(--home-max), calc(100% - (var(--home-gutter) * 2))); margin: 0 auto; padding: clamp(90px, 12vh, 150px) 0 190px; }
.hero-copy h1 { max-width: 9ch; color: #f8f9fc; }
.hero-copy > p:not(.hero-label) { max-width: 610px; margin: 26px 0 0; color: #c6cede; font-size: clamp(1.05rem, 1.55vw, 1.3rem); }
.hero-label { margin-bottom: 26px; display: flex; align-items: center; gap: 12px; color: #d7dced; font-size: .82rem; font-weight: 700; }
.hero-label::before { content: ""; width: 42px; height: 1px; background: var(--spark); }
.hero-label span { color: var(--spark); }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.hero-link { min-height: 48px; display: inline-flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.5); color: white; text-decoration: none; font-weight: 700; }
.hero-link:hover { border-color: var(--spark); color: var(--spark-soft); }
.hero-stats { width: min(var(--home-max), calc(100% - (var(--home-gutter) * 2))); margin: -120px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; z-index: 2; background: rgba(18,26,48,.82); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.hero-stats div { min-height: 112px; padding: 25px 30px; border-right: 1px solid rgba(255,255,255,.14); }
.hero-stats div:last-child { border: 0; }
.hero-stats dt { color: #9ca8bd; font-size: .79rem; }
.hero-stats dd { margin: 5px 0 0; font: 720 clamp(1.45rem, 2.5vw, 2.15rem)/1 var(--display); letter-spacing: -.04em; }
.quote-intro { width: min(var(--home-max), calc(100% - (var(--home-gutter) * 2))); margin: clamp(90px, 9vw, 140px) auto 42px; display: grid; grid-template-columns: 1.15fr .6fr; gap: clamp(30px, 7vw, 100px); align-items: end; }
.quote-intro h2 { max-width: 14ch; margin: 12px 0 0; font-size: clamp(2.8rem, 5.7vw, 5.8rem); }
.quote-intro p { margin: 0; color: #aeb8ca; font-size: 1.05rem; }
.section-index { color: var(--spark); font-size: .84rem; font-weight: 700; }
.quote-bench { width: min(var(--home-max), calc(100% - (var(--home-gutter) * 2))); margin: 0 auto; display: grid; grid-template-columns: minmax(350px, .72fr) minmax(520px, 1.28fr); overflow: hidden; background: #f7f9fc; color: var(--ink); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); box-shadow: 0 32px 90px rgba(0,0,0,.34); }
.quote-form { padding: clamp(26px, 3vw, 44px); border-right: 1px solid var(--line); }
fieldset { margin: 0; padding: 0; border: 0; }
legend { width: 100%; margin-bottom: 20px; padding-bottom: 13px; border-bottom: 2px solid var(--ink); font: 720 1.2rem/1.2 var(--display); }
.quote-form > fieldset:first-child { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-form > fieldset:first-child legend { grid-column: 1 / -1; }
.field { min-width: 0; }
.field.span-2 { grid-column: span 2; }
.field label, .form-grid label { display: block; margin-bottom: 7px; color: var(--muted); font-size: .86rem; font-weight: 680; }
.field input, .field select, .form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid #abb6c6; border-radius: var(--radius-sm); background: white; color: var(--ink); }
.field input:focus, .field select:focus, .form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--violet); outline: 3px solid rgba(103,92,245,.17); }
.input-unit { position: relative; }
.input-unit input { padding-right: 50px; }
.input-unit span { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); color: var(--muted); font-size: .82rem; }
.operations { margin-top: 30px; }
.operations label { min-height: 50px; padding: 10px 0; display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); cursor: pointer; }
.operations label:hover span { color: var(--violet-dark); }
.operations input { width: 18px; height: 18px; accent-color: var(--violet); }
.operations span { font-weight: 680; }
.operations small { color: var(--muted); }
.form-note { margin: 22px 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.primary-button, .secondary-button { min-height: 50px; padding: 13px 21px; display: inline-flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border: 0; border-radius: 10px; text-decoration: none; font-weight: 750; cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .2s ease, color .2s ease; }
.primary-button { background: var(--violet); color: white; box-shadow: 0 10px 28px rgba(103,92,245,.26); }
.primary-button::after { content: ""; position: absolute; top: -100%; bottom: -100%; left: -35%; width: 24%; transform: rotate(18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); transition: left .55s ease; }
.primary-button:hover { background: #776cff; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(103,92,245,.38); }
.primary-button:hover::after { left: 115%; }
.secondary-button { border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.secondary-button:hover { background: var(--ink); color: white; transform: translateY(-2px); }
.quote-form .primary-button { width: 100%; }
.sheet-panel { min-width: 0; padding: clamp(26px, 3vw, 44px); position: relative; overflow: hidden; background: var(--navy); color: white; }
.sheet-panel::before { content: ""; position: absolute; width: 440px; height: 440px; right: -180px; bottom: -220px; border-radius: 50%; background: rgba(103,92,245,.24); filter: blur(30px); pointer-events: none; }
.sheet-meta { margin-bottom: 18px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #526078; border-radius: 10px; overflow: hidden; }
.sheet-meta div { padding: 12px 14px; border-right: 1px solid #526078; }
.sheet-meta div:last-child { border: 0; }
.sheet-meta span, .sheet-meta strong { display: block; }
.sheet-meta span { color: #9da9bd; font-size: .76rem; }
.sheet-meta strong { margin-top: 2px; font-family: var(--display); font-size: 1.05rem; }
.sheet-wrap { padding: 16px; background: #080c16; border: 1px solid #526078; border-radius: 12px; }
.sheet-map { width: 100%; color: #43506a; background: #0d1424; border-radius: 6px; }
.sheet-grid { stroke: #8f9bb0; stroke-width: 2; }
.part { fill: rgba(103,92,245,.72); stroke: #afa8ff; stroke-width: 1.4; }
.part:nth-child(3n) { fill: rgba(255,138,76,.68); stroke: #ffba93; }
.dimension-line { fill: none; stroke: var(--spark); stroke-width: 1.4; }
.dimension-text { fill: var(--spark); font: 13px var(--body); }
.dimension-text-v { transform: rotate(-90deg); transform-origin: 22px 180px; }
.diagram-caption { margin: 14px 0 0; display: flex; align-items: center; gap: 8px; color: #aab5c7; font-size: .78rem; }
.legend-used, .legend-offcut { width: 14px; height: 14px; display: inline-block; }
.legend-used { background: var(--violet); border: 1px solid #afa8ff; }
.legend-offcut { margin-left: 12px; background: #0d1424; border: 1px solid #526078; }
.quote-result { margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; border-top: 1px solid #526078; border-bottom: 1px solid #526078; }
.quote-result div { padding: 15px 12px 13px 0; }
.quote-result dt { color: #9da9bd; font-size: .76rem; }
.quote-result dd { margin: 3px 0 0; font: 720 1.15rem/1.2 var(--display); }
.quote-result .result-price { padding-left: 14px; border-left: 1px solid #526078; }
.result-price dd { color: var(--spark); font-size: clamp(1.3rem, 2vw, 1.9rem); }
.result-disclaimer { margin: 12px 0 0; color: #9da9bd; font-size: .77rem; }
.noscript-note { margin: 18px auto 0; padding: 14px 16px; width: min(var(--home-max), calc(100% - (var(--home-gutter) * 2))); background: var(--spark); color: var(--night); }

.proof-strip { padding: 0 max(var(--home-gutter), calc((100% - var(--home-max)) / 2)); background: var(--violet); color: white; }
.proof-strip dl { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-strip div { padding: 27px clamp(16px, 2vw, 32px); border-right: 1px solid rgba(255,255,255,.28); }
.proof-strip div:first-child { padding-left: 0; }
.proof-strip div:last-child { border: 0; }
.proof-strip dt { color: #dcd9ff; font-size: .8rem; }
.proof-strip dd { margin: 4px 0 0; font: 720 clamp(1.15rem, 2vw, 1.5rem)/1.1 var(--display); }
.section { width: min(var(--home-max), calc(100% - (var(--home-gutter) * 2))); margin: 0 auto; padding: clamp(80px, 9vw, 140px) 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .62fr); gap: 18px clamp(32px, 7vw, 120px); align-items: end; margin-bottom: 48px; }
.section-heading h2 { max-width: 16ch; margin: 0; }
.section-heading p { margin: 0; color: var(--muted); }
.text-link { grid-column: 2; width: max-content; min-height: 44px; display: inline-flex; align-items: center; color: var(--violet-dark); font-weight: 750; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.process-gallery { margin-bottom: 62px; display: grid; grid-template-columns: 1.42fr .78fr; gap: 18px; }
.gallery-card { min-height: 470px; position: relative; overflow: hidden; border-radius: var(--radius); color: white; text-decoration: none; box-shadow: var(--shadow); transform-style: preserve-3d; }
.gallery-card::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(0deg, rgba(5,8,14,.92), rgba(5,8,14,0) 68%), radial-gradient(circle at var(--x,70%) var(--y,35%), rgba(103,92,245,.35), transparent 32%); }
.gallery-card img { width: 100%; height: 100%; position: absolute; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .4s ease; }
.gallery-card:last-child img { object-position: 58% center; }
.gallery-card span { max-width: 590px; padding: 32px; display: grid; gap: 8px; position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; transform: translateZ(20px); }
.gallery-card small { color: var(--spark); font-size: .8rem; font-weight: 750; }
.gallery-card strong { font: 720 clamp(1.65rem, 3vw, 2.65rem)/1.05 var(--display); letter-spacing: -.035em; }
.gallery-card:hover img { transform: scale(1.055); filter: saturate(1.08); }
.process-list { border-top: 2px solid var(--ink); }
.process-list article { min-height: 114px; padding: 22px 0; display: grid; grid-template-columns: 90px 1fr 150px; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); transition: padding .3s ease, background .3s ease; }
.process-list article:hover { padding-right: 20px; padding-left: 20px; background: white; }
.process-code { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font: 750 .78rem/1 var(--body); transition: transform .3s ease, background .3s ease, color .3s ease; }
.process-list article:hover .process-code { transform: rotate(-8deg); background: var(--violet); border-color: var(--violet); color: white; }
.process-list h3 { margin: 0 0 5px; }
.process-list p { margin: 0; color: var(--muted); }
.process-list strong { justify-self: end; color: var(--violet-dark); font-family: var(--display); font-size: 1.2rem; text-align: right; }
.production { width: 100%; padding-right: max(20px, calc((100% - 1480px) / 2)); padding-left: max(20px, calc((100% - 1480px) / 2)); background: radial-gradient(circle at 84% 12%, #263b69 0, transparent 30%), var(--navy); }
.production-ledger { color: white; }
.section-heading-light p { color: #aeb9ca; }
.section-heading-light .job-code { grid-column: 1 / -1; margin-bottom: 0; color: var(--spark); }
.job-code { display: block; margin: 0 0 22px; color: var(--spark); font-size: .84rem; font-weight: 730; letter-spacing: .01em; }
.ledger-table-wrap { overflow-x: auto; border: 1px solid #586780; border-radius: 14px; background: rgba(7,11,20,.34); }
.ledger-table { width: 100%; min-width: 840px; border-collapse: collapse; }
.ledger-table th, .ledger-table td { padding: 18px; border-bottom: 1px solid #46546b; text-align: left; }
.ledger-table th { color: #9eabbe; font-size: .77rem; }
.ledger-table tbody tr { transition: background .2s ease; }
.ledger-table tbody tr:hover { background: rgba(103,92,245,.15); }
.ledger-table tbody tr:last-child td { border: 0; }
.ledger-table td:first-child { font-weight: 700; }
.ledger-table td:last-child { color: var(--spark); }
.quality-card { display: grid; grid-template-columns: minmax(390px, .9fr) 1fr minmax(250px, .52fr); overflow: hidden; background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.quality-photo { min-height: 510px; position: relative; overflow: hidden; }
.quality-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,8,14,.5)); }
.quality-photo > img { width: 100%; height: 100%; object-fit: cover; }
.quality-card > div:nth-child(2) { padding: clamp(34px, 4vw, 64px); align-self: center; }
.quality-card h2 { font-size: clamp(2.3rem, 4vw, 4.25rem); }
.quality-card p { color: var(--muted); }
.gauge { width: 108px; height: 108px; display: grid; place-items: center; position: absolute; z-index: 2; right: 24px; bottom: 24px; border: 10px solid rgba(255,255,255,.82); border-radius: 50%; background: rgba(10,13,22,.72); backdrop-filter: blur(8px); }
.gauge::before, .gauge::after { content: ""; width: 2px; height: 42px; position: absolute; bottom: 50%; background: white; transform-origin: 50% 100%; }
.gauge::before { transform: rotate(42deg); }
.gauge::after { height: 33px; background: var(--spark); transform: rotate(128deg); }
.gauge i { width: 16px; height: 16px; z-index: 2; background: var(--spark); border: 4px solid white; border-radius: 50%; }
.gauge span { display: none; }
.quality-values { margin: 48px 38px 48px 0; align-self: center; border-top: 2px solid var(--ink); }
.quality-values div { padding: 14px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.quality-values dt { color: var(--muted); }
.quality-values dd { margin: 0; font-family: var(--display); font-weight: 720; }
.quality-values .pass { color: var(--success); }
.final-cta { margin-bottom: clamp(80px, 9vw, 140px); padding: clamp(36px, 5vw, 70px); display: flex; align-items: center; justify-content: space-between; gap: 34px; overflow: hidden; position: relative; background: var(--spark); border-radius: var(--radius-lg); }
.final-cta::after { content: ""; width: 320px; height: 320px; position: absolute; right: 18%; border: 70px solid rgba(255,255,255,.18); border-radius: 50%; }
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 { max-width: 21ch; margin-bottom: 10px; }
.final-cta p { margin-bottom: 0; }
.final-cta .primary-button { flex: 0 0 auto; background: var(--night); box-shadow: none; }

.site-footer { background: var(--night); color: white; }
.footer-main, .footer-note { width: min(1480px, calc(100% - 40px)); margin: 0 auto; }
.footer-main { padding: 70px 0 54px; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; }
.brand-footer { color: white; }
.footer-main p, .footer-main span { color: #9da8ba; }
.footer-main h2 { margin: 5px 0 16px; color: #8995a9; font: 650 .82rem/1.2 var(--body); }
.footer-main > div:not(:first-child) { display: flex; flex-direction: column; gap: 8px; }
.footer-main a:not(.brand) { width: max-content; color: white; text-decoration: none; }
.footer-main a:hover { color: var(--spark); }
.footer-note { min-height: 72px; padding: 20px 0; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid #323b4d; color: #8f9bad; font-size: .8rem; }
.footer-note p { margin: 0; }

/* Inner pages */
.breadcrumb { width: min(var(--home-max), calc(100% - (var(--home-gutter) * 2))); margin: 0 auto; padding-top: 22px; color: #8f9aaf; font-size: .82rem; }
.breadcrumb ol { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #606b7e; }
.breadcrumb a { text-underline-offset: 3px; }
body:has(.page-hero) { background: var(--night); }
.page-hero { width: min(var(--home-max), calc(100% - (var(--home-gutter) * 2))); min-height: 600px; margin: 0 auto; padding: clamp(80px, 9vw, 140px) 0 clamp(64px, 7vw, 110px); display: grid; grid-template-columns: 1.08fr .55fr; gap: clamp(42px, 8vw, 120px); align-items: end; position: relative; overflow: hidden; color: white; border-radius: 0 0 var(--radius-lg) var(--radius-lg); isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: url("../img/laser-floor-v1.jpg") center/cover no-repeat; opacity: .43; }
.page-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(7,10,18,.97) 0%, rgba(7,10,18,.84) 48%, rgba(7,10,18,.26)), linear-gradient(0deg, rgba(7,10,18,.75), transparent 50%); }
.page-hero > div { min-width: 0; align-self: end; }
.page-hero h1 { max-width: 10ch; margin: 0; font-size: clamp(3.25rem, 7vw, 6.9rem); line-height: .92; overflow-wrap: normal; }
.page-hero > p { margin: 0 0 .25rem; color: #c5cddd; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.page-hero .job-code { margin: 0 0 28px; color: var(--spark); font-size: .86rem; line-height: 1.35; }
.inner-main { width: 100%; margin-top: 72px; padding: clamp(68px, 8vw, 116px) max(var(--home-gutter), calc((100% - var(--home-max)) / 2)); background: var(--mist); color: var(--ink); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.inner-section { margin-bottom: clamp(68px, 9vw, 116px); }
.inner-section:last-child { margin-bottom: 0; }
.inner-section > header { max-width: 760px; margin-bottom: 36px; }
.inner-section > header p, .inner-section p { color: var(--muted); }
.inner-section h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.spec-card { min-height: 230px; padding: 30px; display: grid; grid-template-columns: 62px 1fr; gap: 20px; background: white; border: 1px solid transparent; border-radius: var(--radius); box-shadow: 0 14px 42px rgba(12,18,31,.07); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.spec-card:hover { transform: translateY(-5px); border-color: #aaa3ff; box-shadow: 0 22px 50px rgba(45,37,144,.14); }
.spec-card .process-code { width: 52px; height: 52px; }
.spec-card p { color: var(--muted); }
.spec-list { margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 18px; list-style: none; font-size: .88rem; }
.spec-list li { padding-top: 7px; border-top: 1px solid var(--line); }
.spec-list strong { display: block; color: var(--ink); }
.table-shell { overflow-x: auto; background: white; border-radius: 14px; box-shadow: 0 14px 42px rgba(12,18,31,.08); }
.data-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.data-table th, .data-table td { padding: 17px 19px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table thead { background: var(--navy); color: white; }
.data-table th { font-size: .8rem; }
.data-table tbody tr:hover { background: var(--violet-soft); }
.data-table tbody tr:last-child td { border: 0; }
.data-table td:first-child { font-weight: 700; }
.table-note { margin-top: 14px; color: var(--muted); font-size: .84rem; }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.75fr); gap: clamp(34px, 7vw, 90px); align-items: start; }
.metric-stack, .step-list { border-top: 2px solid var(--ink); }
.metric-stack div { padding: 18px 0; display: grid; grid-template-columns: 1fr auto; gap: 20px; border-bottom: 1px solid var(--line); }
.metric-stack dt { color: var(--muted); }
.metric-stack dd { margin: 0; font: 720 1.28rem/1.2 var(--display); text-align: right; }
.step-list { margin: 0; padding: 0; counter-reset: steps; list-style: none; }
.step-list li { min-height: 106px; padding: 22px 0; display: grid; grid-template-columns: 58px 1fr; gap: 20px; border-bottom: 1px solid var(--line); counter-increment: steps; }
.step-list li::before { content: counter(steps); width: 44px; height: 44px; display: grid; place-items: center; background: var(--violet); color: white; border-radius: 12px 12px 12px 2px; font: 750 .88rem/1 var(--body); }
.step-list h3 { margin: 2px 0 5px; }
.step-list p { margin: 0; }
.notice, .callout { padding: clamp(27px, 4vw, 48px); background: white; border-radius: var(--radius); box-shadow: 0 14px 42px rgba(12,18,31,.07); }
.notice { border-left: 7px solid var(--spark); }
.notice h2, .callout h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.notice p:last-child, .callout p:last-child { margin-bottom: 0; }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--violet-soft); }
.callout > div { max-width: 760px; }
.detail-nav { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; background: white; border-radius: 14px; box-shadow: 0 12px 36px rgba(12,18,31,.08); }
.detail-nav a { min-height: 74px; padding: 14px 16px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); text-align: center; text-decoration: none; font-weight: 700; transition: background .2s ease, color .2s ease; }
.detail-nav a:last-child { border: 0; }
.detail-nav a[aria-current="page"] { background: var(--violet); color: white; }
.detail-nav a:hover { background: var(--violet-soft); color: var(--violet-dark); }
.detail-nav a[aria-current="page"]:hover { background: var(--violet-dark); color: white; }
.form-panel { padding: clamp(26px, 5vw, 58px); background: white; border-radius: var(--radius); box-shadow: 0 18px 48px rgba(12,18,31,.09); }
.form-panel fieldset + fieldset { margin-top: 40px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-grid .span-2 { grid-column: span 2; }
.form-grid textarea { min-height: 126px; resize: vertical; }
.form-grid input[type="file"] { padding: 9px; }
.form-actions { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-actions p { margin: 0; color: var(--muted); font-size: .84rem; }
.demo-status { margin-top: 20px; padding: 16px 18px; display: none; background: #def3e8; border: 1px solid #77ba97; border-radius: 10px; color: #0d5535; }
.demo-status.is-visible { display: block; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-grid article { min-height: 200px; padding: 28px; background: white; border-radius: var(--radius); box-shadow: 0 14px 42px rgba(12,18,31,.07); transition: transform .25s ease; }
.contact-grid article:hover { transform: translateY(-5px); }
.contact-grid p { color: var(--muted); }
.contact-grid a { color: var(--violet-dark); font-weight: 700; text-underline-offset: 3px; }
.prose { max-width: 800px; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose li + li { margin-top: 8px; }
.error-page { min-height: 68vh; display: grid; place-items: center; background: var(--night); color: white; text-align: center; }
.error-page .error-code { margin: 0; color: var(--violet); font: 720 clamp(5rem, 20vw, 13rem)/.8 var(--display); letter-spacing: -.07em; }
.error-page h1 { margin: 28px 0 16px; font-size: clamp(2.5rem, 6vw, 5.2rem); }
.error-page p { color: #9faabd; }

@media (max-width: 1080px) {
  .main-nav { gap: 3px; }
  .main-nav a:not(.nav-cta) { display: none; }
  .hero-stage { min-height: 720px; }
  .quote-bench { grid-template-columns: 1fr; }
  .quote-form { border-right: 0; border-bottom: 1px solid var(--line); }
  .quality-card { grid-template-columns: minmax(340px,.9fr) 1fr; }
  .quality-values { grid-column: 1 / -1; margin: 0 38px 40px; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 2 / -1; }
  .page-hero { grid-template-columns: 1fr; min-height: 560px; }
  .page-hero h1 { max-width: 12ch; }
  .detail-nav { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 740px) {
  h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .header-inner { width: calc(100% - 28px); min-height: 68px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 68px; right: 14px; left: 14px; padding: 12px; display: none; flex-direction: column; align-items: stretch; background: rgba(16,22,37,.98); border: 1px solid #354058; border-radius: 14px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a:not(.nav-cta) { display: flex; padding: 5px 12px; }
  .main-nav .nav-cta { margin: 8px 0 0; justify-content: center; }
  .hero-stage { min-height: 660px; }
  .hero-media::after { background: linear-gradient(90deg, rgba(7,10,18,.93), rgba(7,10,18,.42)), linear-gradient(0deg, var(--night) 0, transparent 65%); }
  .hero-media img { object-position: 62% center; }
  .hero-copy { width: calc(100% - 40px); padding: 80px 0 170px; }
  .hero-copy h1 { max-width: 10ch; }
  .hero-copy > p:not(.hero-label) { font-size: 1rem; }
  .hero-stats { width: calc(100% - 40px); margin-top: -125px; grid-template-columns: 1fr; }
  .hero-stats div { min-height: 0; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .hero-stats dd { font-size: 1.35rem; }
  .quote-intro { width: calc(100% - 40px); margin-top: 84px; grid-template-columns: 1fr; }
  .quote-bench { width: calc(100% - 40px); border-radius: 20px; }
  .quote-form, .sheet-panel { padding: 22px; }
  .quote-form > fieldset:first-child { grid-template-columns: 1fr; }
  .field.span-2 { grid-column: auto; }
  .sheet-meta { grid-template-columns: 1fr 1fr; }
  .sheet-meta div:nth-child(2) { border-right: 0; }
  .sheet-meta div:last-child { grid-column: 1 / -1; border-top: 1px solid #526078; }
  .quote-result { grid-template-columns: 1fr 1fr; }
  .quote-result .result-price { padding-left: 0; border-left: 0; }
  .proof-strip { padding: 0 20px; }
  .proof-strip dl { grid-template-columns: 1fr 1fr; }
  .proof-strip div { border-bottom: 1px solid rgba(255,255,255,.28); }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(3), .proof-strip div:nth-child(4) { border-bottom: 0; }
  .section { width: calc(100% - 40px); }
  .section-heading { grid-template-columns: 1fr; }
  .text-link { grid-column: 1; }
  .process-gallery { grid-template-columns: 1fr; }
  .gallery-card { min-height: 390px; }
  .process-list article { grid-template-columns: 62px 1fr; gap: 14px; }
  .process-list strong { grid-column: 2; justify-self: start; }
  .quality-card { grid-template-columns: 1fr; }
  .quality-photo { min-height: 400px; }
  .quality-values { grid-column: 1; margin: 0 32px 36px; }
  .final-cta { align-items: stretch; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-main > div:first-child, .footer-main > div:last-child { grid-column: 1 / -1; }
  .footer-note { flex-direction: column; }
  .breadcrumb, .page-hero { width: calc(100% - 40px); }
  .page-hero { min-height: 520px; padding: 72px 0 54px; gap: 32px; }
  .page-hero h1 { max-width: 11ch; font-size: clamp(3.1rem, 14vw, 5rem); line-height: .94; }
  .page-hero .job-code { margin-bottom: 24px; }
  .page-hero > p { max-width: 36ch; }
  .inner-main { margin-top: 36px; padding-right: 20px; padding-left: 20px; }
  .spec-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .callout { align-items: stretch; flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .brand-copy small { display: none; }
  .hero-stage { min-height: 620px; }
  .hero-copy { padding-top: 60px; }
  .hero-label { margin-bottom: 20px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .hero-link { justify-content: center; }
  .quote-form, .sheet-panel { padding: 18px; }
  .operations label { grid-template-columns: 22px 1fr; }
  .operations small { grid-column: 2; }
  .sheet-wrap { padding: 8px; }
  .quote-result { grid-template-columns: 1fr; }
  .quote-result div { padding: 10px 0; border-bottom: 1px solid #45516a; }
  .quote-result div:last-child { border: 0; }
  .proof-strip dl { grid-template-columns: 1fr; }
  .proof-strip div, .proof-strip div:nth-child(3) { padding-left: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.28); }
  .proof-strip div:last-child { border-bottom: 0; }
  .gallery-card { min-height: 340px; }
  .gallery-card span { padding: 24px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > div { grid-column: 1 !important; }
  .spec-card { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .detail-nav { grid-template-columns: 1fr; }
  .detail-nav a { border-right: 0; border-bottom: 1px solid var(--line); }
  .page-hero { min-height: 500px; }
  .page-hero h1 { font-size: clamp(3rem, 13.5vw, 4.35rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .is-ready .hero-copy > * { animation: hero-in .8s both cubic-bezier(.2,.8,.2,1); }
  .is-ready .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .is-ready .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .is-ready .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .is-ready .hero-stats { animation: stats-in .8s .28s both cubic-bezier(.2,.8,.2,1); }
  .part { transition: x .2s ease, y .2s ease, width .2s ease, height .2s ease, opacity .2s ease; }
  @keyframes hero-in { from { opacity: 0; transform: translateY(26px); } }
  @keyframes stats-in { from { opacity: 0; transform: translateY(30px); } }
}
@media print {
  .site-header, .site-footer, .primary-button, .secondary-button, .hero-media { display: none !important; }
  body, .workbench, .inner-main { background: white; color: black; }
  .workbench, .section { padding: 24px 0; }
  .quote-bench { box-shadow: none; }
}
