:root {
  --graphite: #15191c;
  --graphite-2: #20262a;
  --blueprint: #153a5b;
  --blue-light: #245a83;
  --concrete: #d8d5cd;
  --paper: #f4f3ef;
  --white: #fff;
  --amber: #d59638;
  --amber-light: #edbd6e;
  --steel: #7b858c;
  --line: rgba(21,25,28,.2);
  --sans: "Noto Sans JP", "Yu Gothic", sans-serif;
  --display: "Archivo", "Noto Sans JP", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; background: var(--paper); color: var(--graphite); font-family: var(--sans); line-height: 1.8; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--amber); color: var(--graphite); }
:where(h1,h2,h3,h4,summary,.button,.nav-cta) { font-feature-settings: "palt" 1; line-break: strict; word-break: auto-phrase; text-wrap: balance; }
:where(p,li,dd,label) { line-break: strict; word-break: auto-phrase; text-wrap: pretty; overflow-wrap: break-word; }

.skip-link { position: fixed; z-index: 999; top: -5rem; left: 1rem; padding: .7rem 1rem; background: var(--amber); color: var(--graphite); }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

.site-header { min-height: 82px; padding: 0 clamp(22px,4.5vw,72px); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--graphite); color: #fff; border-bottom: 1px solid rgba(255,255,255,.14); position: relative; z-index: 60; }
.brand { display: inline-flex; align-items: center; gap: 13px; font: 800 14px/1 var(--display); letter-spacing: .13em; }
.brand small { display: block; margin-top: 6px; color: rgba(255,255,255,.5); font: 500 7px/1 var(--mono); letter-spacing: .16em; }
.brand-box { width: 44px; height: 38px; display: grid; place-items: center; border: 1px solid var(--amber); color: var(--amber); font: 700 11px var(--mono); }
.global-nav { display: flex; align-items: center; gap: clamp(18px,2.4vw,39px); font-size: 12px; font-weight: 600; }
.global-nav > a:not(.nav-cta) { color: rgba(255,255,255,.76); }
.global-nav > a:not(.nav-cta):hover { color: var(--amber-light); }
.nav-cta { min-height: 44px; padding: 10px 18px; display: inline-flex; align-items: center; gap: 17px; background: var(--amber); color: var(--graphite); font-weight: 800; }
.menu-button { display: none; }

.hero { min-height: min(850px,calc(100svh - 82px)); padding: clamp(65px,8vw,120px) max(5vw,28px) clamp(72px,8vw,110px); display: grid; grid-template-columns: minmax(380px,.87fr) minmax(520px,1.13fr); gap: clamp(55px,8vw,135px); align-items: center; position: relative; background: var(--graphite); color: #fff; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -2; right: 0; top: 0; bottom: 0; width: 46%; background: var(--blueprint); clip-path: polygon(14% 0,100% 0,100% 100%,0 100%); }
.axis { position: absolute; z-index: -1; background: rgba(255,255,255,.1); pointer-events: none; }
.axis-x { height: 1px; left: 2%; right: 2%; top: 50%; }
.axis-y { width: 1px; top: 3%; bottom: 3%; left: 51.7%; }
.project-code { max-width: 560px; margin-bottom: 26px; padding-bottom: 13px; display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.25); color: var(--amber-light); font: 600 9px var(--mono); letter-spacing: .14em; }
.hero h1 { max-width: 720px; margin: 0; font: 800 clamp(46px,5.4vw,84px)/1.18 var(--display); letter-spacing: -.055em; }
.hero h1 > span { display: block; margin-bottom: 21px; color: var(--amber-light); font: 600 clamp(13px,1.12vw,17px)/1.75 var(--sans); letter-spacing: .05em; }
.hero h1 em, h2 em { color: var(--amber-light); font-style: normal; }
.hero-lead { max-width: 620px; margin: 30px 0 0; color: rgba(255,255,255,.72); font-size: clamp(14px,1.2vw,17px); line-height: 2; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.button { min-height: 59px; padding: 15px 25px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; border: 0; cursor: pointer; font-weight: 800; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 15px 35px rgba(0,0,0,.25); }
.button-amber { background: var(--amber); color: var(--graphite); }
.line-link { padding-bottom: 4px; border-bottom: 1px solid var(--amber); color: var(--amber-light); font-size: 12px; font-weight: 700; }
.hero-spec { max-width: 660px; margin: 34px 0 0; padding: 19px 0 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; border-top: 1px solid rgba(255,255,255,.17); list-style: none; color: rgba(255,255,255,.62); font-size: 10px; }
.hero-spec b { margin-right: 8px; color: var(--amber); font: 600 9px var(--mono); }

.hero-board { position: relative; min-height: 0; align-self: start; justify-self: end; width: 100%; max-width: 780px; padding-top: 42px; display: grid; grid-template-columns: minmax(0, 1fr) 175px; gap: 14px; align-items: stretch; }
.hero-board::before, .hero-board::after { content: ""; position: absolute; pointer-events: none; }
.hero-board::before { inset: 7% 0 5% 7%; border: 1px solid rgba(255,255,255,.26); }
.hero-board::after { left: 0; top: 16%; width: 52px; height: 52px; border-left: 1px solid var(--amber); border-top: 1px solid var(--amber); }
.board-coordinates { position: absolute; left: 10%; right: 4%; top: 4%; display: flex; justify-content: space-between; color: rgba(255,255,255,.42); font: 500 8px var(--mono); }
.project-window { position: relative; grid-column: 1 / -1; width: 100%; margin: 0; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.34); }
.window-top { min-height: 38px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; background: var(--paper); color: var(--graphite); font: 600 8px var(--mono); letter-spacing: .09em; }
.window-top b { font-size: 14px; }
.project-window img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: top; }
.project-data { position: relative; z-index: 3; left: auto; bottom: auto; width: auto; min-width: 0; margin: 0; padding: 16px 18px; display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 12px; background: var(--paper); color: var(--graphite); box-shadow: 0 14px 35px rgba(0,0,0,.18); }
.project-data dt { color: var(--blue-light); font: 600 7px var(--mono); letter-spacing: .12em; }
.project-data dd { margin: 3px 0 0; font: 600 8px var(--mono); }
.price-stamp { position: relative; z-index: 4; right: auto; bottom: auto; width: auto; min-width: 0; padding: 16px; background: var(--amber); color: var(--graphite); transform: none; }
.price-stamp small { display: block; font: 600 7px var(--mono); letter-spacing: .1em; }
.price-stamp b { display: block; margin-bottom: 8px; font: 800 25px var(--display); }
.price-stamp strong { font: 800 30px var(--display); }

.data-rail { min-height: 90px; display: grid; grid-template-columns: repeat(4,1fr); background: var(--concrete); border-bottom: 1px solid var(--line); }
.data-rail > div { padding: 19px clamp(18px,3vw,45px); display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: end; border-right: 1px solid var(--line); }
.data-rail > div:last-child { border-right: 0; }
.data-rail small { grid-column: 1/-1; color: var(--blueprint); font: 600 7px var(--mono); letter-spacing: .12em; }
.data-rail b { font: 800 32px/1 var(--display); }
.data-rail span { font: 600 8px var(--mono); }

.section, .section-dark { padding: clamp(90px,10vw,155px) max(5vw,25px); position: relative; }
.section-label { position: absolute; left: max(1.2vw,8px); top: clamp(92px,10vw,155px); display: flex; flex-direction: column; align-items: center; color: var(--blueprint); font-family: var(--mono); }
.section-label::after { content: ""; width: 1px; height: 85px; margin-top: 14px; background: currentColor; opacity: .38; }
.section-label span { font-size: 19px; font-weight: 600; }
.section-label b { margin-top: 8px; font-size: 7px; letter-spacing: .14em; writing-mode: vertical-rl; }
.section-label.light { color: var(--amber-light); }
.kicker { margin: 0 0 22px; color: var(--blueprint); font: 600 9px/1.4 var(--mono); letter-spacing: .16em; }
.kicker.light { color: var(--amber-light); }
h2 { margin: 0; font: 800 clamp(40px,4.8vw,74px)/1.25 var(--display); letter-spacing: -.05em; }

.problem { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(70px,11vw,170px); background: var(--paper); }
.problem-body .lead { max-width: 760px; margin: 0 0 45px; font-size: clamp(17px,1.55vw,22px); line-height: 2; }
.gap-list { border-top: 2px solid var(--graphite); }
.gap-list article { min-height: 115px; padding: 24px 0; display: grid; grid-template-columns: 60px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.gap-list article > span { color: var(--amber); font: 800 25px/1 var(--display); }
.gap-list h3 { margin: 0 0 7px; font-size: 17px; }
.gap-list p { margin: 0; color: #626a6f; font-size: 13px; }

.section-dark { background: var(--graphite); color: #fff; }
.portfolio-intro { max-width: 1260px; margin: auto; display: grid; grid-template-columns: 1fr .72fr; gap: 80px; align-items: end; }
.portfolio-intro > p { margin: 0 0 8px; color: rgba(255,255,255,.64); }
.project-sheet { max-width: 1260px; margin: 70px auto 0; display: grid; grid-template-columns: 1.2fr .8fr; background: var(--paper); color: var(--graphite); }
.sheet-image { min-height: 0; overflow: hidden; background: #fff; }
.sheet-image img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: top; }
.sheet-info { padding: clamp(30px,4vw,55px); border-left: 1px solid var(--line); background-image: linear-gradient(rgba(21,58,91,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(21,58,91,.06) 1px,transparent 1px); background-size: 24px 24px; }
.sheet-head { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 2px solid var(--graphite); color: var(--blueprint); font: 600 8px var(--mono); letter-spacing: .1em; }
.sheet-info h3 { margin: 36px 0 12px; font: 800 clamp(30px,3.2vw,48px) var(--display); }
.sheet-info > p { color: #5e666b; font-size: 13px; }
.sheet-info dl { margin: 30px 0 0; border-top: 1px solid var(--line); }
.sheet-info dl > div { min-height: 48px; padding: 11px 0; display: grid; grid-template-columns: 130px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.sheet-info dt { color: var(--blueprint); font: 600 8px var(--mono); }
.sheet-info dd { margin: 0; font-size: 12px; font-weight: 600; }
.sample-note { max-width: 1260px; margin: 24px auto 0; color: rgba(255,255,255,.48); font-size: 10px; }

.routes { background: var(--concrete); }
.routes-head { max-width: 820px; margin-left: 13%; }
.routes-head > p:last-child { max-width: 650px; color: #5d6468; }
.route-grid { max-width: 1260px; margin: 65px auto 0; display: grid; grid-template-columns: repeat(3,1fr); }
.route-grid article { min-height: 380px; padding: clamp(28px,3.2vw,45px); display: flex; flex-direction: column; border: 1px solid var(--graphite); border-right: 0; background: var(--paper); transition: transform .2s, background .2s; }
.route-grid article:last-child { border-right: 1px solid var(--graphite); }
.route-grid article:hover { transform: translateY(-7px); background: #fff; }
.route-no { margin-bottom: auto; color: var(--amber); font: 800 43px var(--display); }
.route-grid article > span { color: var(--blueprint); font: 600 8px var(--mono); letter-spacing: .15em; }
.route-grid h3 { margin: 9px 0; font-size: 21px; }
.route-grid p { min-height: 74px; margin: 0; color: #626a6f; font-size: 12px; }
.route-grid a { margin-top: 24px; padding-top: 14px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.route-grid a b { color: var(--amber); }

.samples { background: var(--paper); }
.samples-head { max-width: 1260px; margin: auto; display: grid; grid-template-columns: 1fr .7fr; gap: 80px; align-items: end; }
.samples-head > p { color: #626a6f; }
.sample-console { max-width: 1260px; margin: 65px auto 0; display: grid; grid-template-columns: 130px minmax(0,1fr) 250px; align-items: end; }
.sample-tabs { align-self: stretch; display: grid; grid-template-rows: repeat(3,1fr); border: 1px solid var(--graphite); border-right: 0; }
.sample-tab { padding: 15px 10px; border: 0; border-bottom: 1px solid var(--line); background: var(--concrete); cursor: pointer; }
.sample-tab:last-child { border-bottom: 0; }
.sample-tab b, .sample-tab span { display: block; }
.sample-tab b { font: 800 26px var(--display); }
.sample-tab span { font-size: 11px; }
.sample-tab.is-active { background: var(--amber); }
.sample-screen { overflow: hidden; border: 1px solid var(--graphite); background: #fff; transition: opacity .18s, transform .18s; }
.sample-screen.is-switching { opacity: .5; transform: translateY(3px); }
.screen-bar { min-height: 33px; padding: 0 12px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid #ddd; color: var(--blueprint); font: 600 7px var(--mono); }
.screen-bar span { margin-right: auto; }
.screen-bar i { width: 7px; height: 7px; border: 1px solid var(--graphite); }
.sample-screen img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: top; }
.sample-caption { min-height: 190px; padding: 27px; background: var(--blueprint); color: #fff; }
.sample-caption > span { color: var(--amber-light); font: 600 8px var(--mono); letter-spacing: .1em; }
.sample-caption h3 { margin: 16px 0 10px; font-size: 20px; }
.sample-caption p { margin: 0; color: rgba(255,255,255,.62); font-size: 11px; }

.seo-grid { max-width: 1260px; margin: auto; display: grid; grid-template-columns: .77fr 1.23fr; gap: clamp(60px,9vw,130px); align-items: center; }
.seo-copy > p:last-child { max-width: 550px; color: rgba(255,255,255,.63); }
.blueprint { padding: clamp(28px,4vw,52px); background-color: var(--blueprint); background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size: 28px 28px; border: 1px solid rgba(255,255,255,.34); box-shadow: inset 0 0 0 9px var(--blueprint),inset 0 0 0 10px rgba(255,255,255,.18); }
.bp-head { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.42); color: var(--amber-light); font: 600 8px var(--mono); letter-spacing: .1em; }
.bp-query { padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.bp-query small { display: block; color: rgba(255,255,255,.48); font: 600 8px var(--mono); }
.bp-query strong { display: block; margin-top: 7px; font-size: clamp(18px,2vw,28px); }
.bp-grid { display: grid; grid-template-columns: 1fr 1fr; }
.bp-grid article { min-height: 150px; padding: 21px; border-right: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.24); position: relative; }
.bp-grid article:nth-child(even) { border-right: 0; }
.bp-grid article:nth-child(n+3) { border-bottom: 0; }
.bp-grid article > span { position: absolute; right: 12px; top: 8px; color: rgba(255,255,255,.22); font: 800 36px var(--display); }
.bp-grid h3 { margin: 0 0 14px; color: var(--amber-light); font: 700 11px var(--mono); letter-spacing: .14em; }
.bp-grid p { margin: 0; color: rgba(255,255,255,.7); font-size: 11px; }
.seo-note { max-width: 1260px; margin: 50px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.17); color: rgba(255,255,255,.42); font-size: 10px; }

.price { background: var(--concrete); }
.price-grid { max-width: 1260px; margin: auto; display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px,9vw,130px); align-items: start; }
.price-copy > p:last-child { max-width: 500px; color: #5f676b; }
.cost-sheet { padding: clamp(28px,4vw,50px); background: #fff; border: 1px solid var(--graphite); box-shadow: 14px 14px 0 var(--amber); }
.cost-head { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 3px solid var(--graphite); font: 600 8px var(--mono); letter-spacing: .08em; }
.cost-title { padding: 25px 0; display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; border-bottom: 1px solid var(--line); }
.cost-title h3 { margin: 0; font-size: 22px; line-height: 1.6; }
.cost-title span { padding: 4px 8px; background: var(--graphite); color: #fff; font: 600 7px var(--mono); white-space: nowrap; }
.cost-lines > div { min-height: 40px; padding: 8px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px dotted var(--line); font-size: 11px; }
.cost-lines b { color: var(--blueprint); font: 600 8px var(--mono); }
.cost-total { margin-top: 22px; display: grid; grid-template-columns: .7fr 1.3fr; border: 2px solid var(--graphite); }
.cost-total > div { padding: 19px; }
.cost-total > div + div { border-left: 1px solid var(--graphite); background: var(--amber); }
.cost-total small { display: block; font: 600 8px var(--mono); }
.cost-total b { font: 800 35px var(--display); }
.cost-total strong { font: 800 clamp(39px,4.3vw,66px)/1 var(--display); }
.cost-sheet > p { color: #687075; font-size: 9px; }
.button-dark { width: 100%; margin-top: 15px; background: var(--graphite); color: #fff; }

.process { background: var(--paper); }
.process-head { max-width: 1260px; margin: auto; }
.process-line { max-width: 1260px; margin: 65px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); list-style: none; border-top: 2px solid var(--graphite); }
.process-line li { position: relative; min-height: 240px; padding: 35px 25px 25px 0; border-right: 1px solid var(--line); }
.process-line li + li { padding-left: 25px; }
.process-line li::before { content: ""; position: absolute; width: 10px; height: 10px; top: -6px; left: 0; background: var(--amber); border: 2px solid var(--graphite); }
.process-line span { color: var(--amber); font: 800 34px var(--display); }
.process-line h3 { margin: 35px 0 10px; font-size: 18px; }
.process-line p { margin: 0; color: #61696e; font-size: 12px; }

.faq { background: var(--concrete); }
.faq-grid { max-width: 1260px; margin: auto; display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(60px,9vw,130px); }
.faq-list { border-top: 2px solid var(--graphite); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--blueprint); font-size: 22px; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -5px 0 25px; padding-right: 45px; color: #5f676c; font-size: 13px; }

.request-grid { max-width: 1260px; margin: auto; display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(60px,9vw,130px); }
.request-copy > p:not(.kicker) { max-width: 520px; color: rgba(255,255,255,.62); }
.request-copy ul { margin: 30px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.77); font-size: 12px; }
.request-copy li { margin: 8px 0; }
.request-copy li::before { content: "■"; margin-right: 10px; color: var(--amber); font-size: 7px; }
.request-form { padding: clamp(28px,4vw,49px); background: var(--paper); color: var(--graphite); box-shadow: 14px 14px 0 var(--blueprint); }
.form-head { margin-bottom: 22px; padding-bottom: 16px; display: flex; justify-content: space-between; border-bottom: 3px solid var(--graphite); color: var(--blueprint); font: 600 8px var(--mono); letter-spacing: .1em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.request-form label { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 700; }
.request-form label b { margin-left: 7px; color: #a45a00; font-size: 9px; }
.request-form label small { color: #6c7479; font-weight: 400; }
.request-form input, .request-form textarea { display: block; width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--graphite); font-size: 14px; }
.request-form textarea { resize: vertical; }
.request-form input:focus, .request-form textarea:focus { outline: 0; border-color: var(--blueprint); box-shadow: 0 0 0 3px rgba(21,58,91,.13); }
.form-button { width: 100%; background: var(--amber); color: var(--graphite); }
.form-button:disabled { opacity: .6; cursor: wait; }
.form-status { min-height: 22px; margin: 11px 0 0; color: #6b7479; font-size: 10px; text-align: center; }
.form-status.is-error { color: #a33232; }
.form-status.is-ok { color: #286143; font-weight: 700; }
.honeypot { position: fixed !important; left: 0 !important; top: -100vh !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

.site-footer { background: #0d1012; color: #fff; }
.footer-top { padding: 64px max(5vw,25px); display: grid; grid-template-columns: .8fr 1.25fr .75fr; gap: 55px; align-items: start; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 30px; color: rgba(255,255,255,.64); font-size: 11px; }
.footer-top > p { margin: 0; color: rgba(255,255,255,.42); font-size: 9px; }
.footer-bottom { padding: 16px max(5vw,25px); display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.35); font: 500 8px var(--mono); letter-spacing: .07em; }
.mobile-cta { display: none; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: .9fr 1.1fr; gap: 45px; }
  .global-nav { gap: 17px; }
  .project-data { width: 73%; }
  .section-label { display: none; }
  .problem, .price-grid, .faq-grid, .request-grid, .seo-grid { gap: 60px; }
  .sample-console { grid-template-columns: 105px minmax(0,1fr) 210px; }
}

@media (max-width: 840px) {
  .site-header { min-height: 72px; }
  .menu-button { width: 48px; padding: 7px; display: grid; justify-items: end; gap: 6px; border: 0; background: transparent; color: #fff; cursor: pointer; }
  .menu-button span { width: 25px; height: 1px; background: var(--amber); }
  .menu-button b { font: 600 7px var(--mono); letter-spacing: .1em; }
  .global-nav { position: absolute; top: 72px; left: 0; right: 0; padding: 25px; display: none; flex-direction: column; align-items: stretch; background: var(--graphite-2); box-shadow: 0 20px 40px rgba(0,0,0,.25); }
  .global-nav.is-open { display: flex; }
  .global-nav a { padding: 8px 0; }
  .nav-cta { justify-content: center; }
  .hero { min-height: 0; padding-top: 66px; grid-template-columns: 1fr; }
  .hero::before { width: 76%; top: 48%; clip-path: polygon(18% 0,100% 0,100% 100%,0 100%); }
  .axis-y { left: 16%; }
  .hero-board { min-height: 560px; }
  .data-rail { grid-template-columns: 1fr 1fr; }
  .data-rail > div:nth-child(2) { border-right: 0; }
  .data-rail > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .problem, .portfolio-intro, .project-sheet, .samples-head, .seo-grid, .price-grid, .faq-grid, .request-grid { grid-template-columns: 1fr; }
  .problem, .portfolio-intro, .samples-head, .seo-grid, .price-grid, .faq-grid, .request-grid { gap: 48px; }
  .sheet-image { min-height: 460px; }
  .sheet-info { border-left: 0; border-top: 1px solid var(--line); }
  .routes-head { margin-left: 0; }
  .route-grid { grid-template-columns: 1fr; gap: 12px; }
  .route-grid article, .route-grid article:last-child { min-height: 300px; border-right: 1px solid var(--graphite); }
  .sample-console { grid-template-columns: 1fr; }
  .sample-tabs { grid-template-columns: repeat(3,1fr); grid-template-rows: 1fr; border-right: 1px solid var(--graphite); border-bottom: 0; }
  .sample-tab { border-bottom: 0; border-right: 1px solid var(--line); }
  .sample-tab:last-child { border-right: 0; }
  .sample-caption { min-height: 0; }
  .process-line { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > p { grid-column: 1/-1; }
}

@media (max-width: 560px) {
  body { padding-bottom: 70px; }
  .site-header { padding: 0 17px; }
  .brand { font-size: 11px; }
  .brand small { font-size: 6px; }
  .brand-box { width: 37px; height: 34px; }
  .hero { padding: 49px 20px 68px; gap: 40px; }
  .project-code { font-size: 7px; }
  .hero h1 { font-size: clamp(35px,11.2vw,47px); line-height: 1.25; }
  .hero h1 > span { margin-bottom: 15px; font-size: 11px; }
  .hero-lead { margin-top: 23px; font-size: 13px; line-height: 1.95; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .button { width: 100%; }
  .line-link { width: fit-content; }
  .hero-spec { grid-template-columns: 1fr; gap: 8px; }
  .hero-board { min-height: 0; padding-top: 38px; grid-template-columns: minmax(0, 1fr) 132px; gap: 9px; }
  .hero-board::before { inset: 5% 0 5% 5%; }
  .project-window { width: 100%; }
  .project-data { left: auto; bottom: auto; width: auto; padding: 10px; grid-template-columns: 1fr; gap: 5px; }
  .project-data > div:nth-child(n+2) { display: none; }
  .price-stamp { right: auto; width: auto; padding: 12px; }
  .price-stamp strong { font-size: 23px; }
  .data-rail { grid-template-columns: 1fr 1fr; }
  .data-rail > div { padding: 14px 15px; }
  .data-rail b { font-size: 25px; }
  .section, .section-dark { padding: 84px 20px; }
  h2 { font-size: clamp(34px,10.6vw,47px); line-height: 1.33; }
  .problem-body .lead { font-size: 16px; }
  .gap-list article { grid-template-columns: 43px 1fr; }
  .project-sheet { margin-top: 45px; }
  .sheet-image { min-height: 0; }
  .sheet-info dl > div { grid-template-columns: 105px 1fr; }
  .route-grid { margin-top: 42px; }
  .route-grid article { min-height: 280px; }
  .sample-console { margin-top: 42px; }
  .sample-tabs { grid-template-columns: 1fr; }
  .sample-tab { min-height: 54px; display: flex; align-items: center; gap: 15px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sample-tab:last-child { border-bottom: 0; }
  .sample-tab b { font-size: 22px; }
  .sample-screen img { height: auto; aspect-ratio: auto; }
  .blueprint { padding: 24px 18px; }
  .bp-grid article { min-height: 135px; padding: 17px 12px; }
  .cost-sheet { padding: 24px 18px; box-shadow: 8px 8px 0 var(--amber); }
  .cost-head { gap: 15px; font-size: 6px; }
  .cost-title { flex-direction: column; gap: 12px; }
  .cost-lines > div { font-size: 10px; }
  .cost-total { grid-template-columns: 1fr; }
  .cost-total > div + div { border-left: 0; border-top: 1px solid var(--graphite); }
  .cost-total strong { font-size: 45px; }
  .process-line { grid-template-columns: 1fr; gap: 0; }
  .process-line li, .process-line li + li { min-height: 190px; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-line li::before { left: 0; }
  .process-line h3 { margin-top: 18px; }
  .faq-list summary { min-height: 76px; font-size: 13px; }
  .faq-list details p { padding-right: 0; font-size: 12px; }
  .request-form { padding: 24px 18px; box-shadow: 8px 8px 0 var(--blueprint); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-top > p { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .mobile-cta { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; min-height: 70px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 14px; background: rgba(13,16,18,.97); color: #fff; box-shadow: 0 -8px 30px rgba(0,0,0,.22); }
  .mobile-cta div { min-width: 82px; }
  .mobile-cta small, .mobile-cta b { display: block; line-height: 1.3; }
  .mobile-cta small { color: var(--amber-light); font-size: 8px; }
  .mobile-cta b { font: 700 16px var(--display); }
  .mobile-cta a { flex: 1; padding: 11px 14px; display: flex; justify-content: space-between; background: var(--amber); color: var(--graphite); font-size: 12px; font-weight: 800; }
}

/* 2026-09-01: keep the project thesis close to the header on desktop. */
@media (min-width: 841px) {
  .hero {
    min-height: 0;
    padding-top: 52px;
    padding-bottom: 64px;
    align-items: start;
  }
  .hero h1 { font-size: clamp(52px, 4.55vw, 70px); }
}

@supports not (word-break: auto-phrase) {
  :where(h1,h2,h3,h4,summary) { word-break: normal; overflow-wrap: break-word; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
