/* Keystone Cross-Border — premium dark theme */
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-latin-var.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-var.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  --black: #07080a;
  --bg: #0b0c0e;
  --graphite: #121418;
  --graphite-2: #181b20;
  --graphite-3: #22262d;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #eceef1;
  --muted: #9aa1ab;
  --dim: #6b727c;
  --accent: #ff7a1a;
  --accent-hot: #ff9142;
  --accent-soft: rgba(255, 122, 26, .12);
  --danger: #ff5c5c;
  --ok: #3ddc97;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #000; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--accent); color: #000; padding: .6rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* Labels & accents */
.label { display: inline-flex; align-items: center; gap: .9rem; font-family: var(--body); font-size: .74rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.4rem; }
.label::before { content: ""; width: 36px; height: 1px; background: var(--accent); }
.label-accent { color: var(--accent); }
.accent { color: var(--accent); }
.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Buttons */
.btn { --b: var(--line-strong); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7em; padding: 1.05em 1.7em; border: 1px solid var(--b); border-radius: 2px; background: transparent; color: var(--text); font: 700 .8rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); white-space: nowrap; }
.btn .icon { width: 1.25em; height: 1.25em; }
.btn:hover { border-color: var(--text); }
.btn-accent { --b: var(--accent); background: var(--accent); color: #0b0c0e; }
.btn-accent:hover { background: var(--accent-hot); border-color: var(--accent-hot); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { padding: .85em 1.25em; font-size: .72rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .6em; font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: .35em; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; font-family: var(--body); }
.link-arrow:hover { color: var(--accent); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s; border-bottom: 1px solid transparent; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(9, 10, 12, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); opacity: 0; transition: opacity .35s var(--ease); }
.site-header.scrolled, .site-header.solid { border-bottom-color: var(--line); }
.site-header.scrolled::before, .site-header.solid::before { opacity: 1; }
body.nav-open .site-header::before { opacity: 0; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--text); }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: .95rem; letter-spacing: .02em; line-height: 1; text-transform: uppercase; }
.brand-name small { display: block; font-family: var(--body); font-size: .58rem; font-weight: 700; letter-spacing: .34em; color: var(--accent); margin-top: .35rem; }
.site-nav ul { display: flex; align-items: center; gap: 2.2rem; }
.site-nav a:not(.btn) { position: relative; text-decoration: none; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #c8ccd2; padding: .4rem 0; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav a:not(.btn):hover { color: #fff; }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-phone a { display: inline-flex; align-items: center; gap: .5rem; color: #fff !important; white-space: nowrap; }
.nav-phone .icon { color: var(--accent); }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; background: var(--black); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 100% 0%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(7,8,10,.94) 0%, rgba(7,8,10,.78) 38%, rgba(7,8,10,.25) 70%, rgba(7,8,10,.35) 100%),
  linear-gradient(0deg, rgba(7,8,10,1) 0%, rgba(7,8,10,0) 38%),
  linear-gradient(180deg, rgba(7,8,10,.7) 0%, rgba(7,8,10,0) 22%); }
.hero-content { padding: calc(var(--header-h) + 4rem) 0 3.5rem; }
.hero h1 { font-size: clamp(2.3rem, 6.2vw, 5.6rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; max-width: 11.5em; margin-bottom: 1.6rem; }
.hero h1 .line { display: block; }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #c3c8cf; max-width: 34em; margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-specs { border-top: 1px solid var(--line); margin-top: clamp(3rem, 7vh, 5rem); display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-specs li { padding: 1.4rem 1.2rem 0 0; }
.hero-specs li + li { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.spec-k { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); margin-bottom: .35rem; }
.spec-v { font-family: var(--display); font-size: .92rem; font-weight: 500; color: var(--text); letter-spacing: 0; }

/* Sections */
.section { position: relative; padding: clamp(5rem, 11vw, 9.5rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-graphite { background: var(--graphite); }
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: start; margin-bottom: clamp(3rem, 6vw, 5rem); }
.sec-num { font-family: var(--display); font-weight: 700; font-size: clamp(4rem, 10vw, 8.5rem); line-height: .85; letter-spacing: -.04em; color: rgba(255,255,255,.14); background: linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.03) 95%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; user-select: none; }
.sec-num::after { content: ""; display: block; width: 100%; height: 2px; margin-top: 1.2rem; background: linear-gradient(90deg, var(--accent), transparent); }
.sec-head h2 { font-size: clamp(1.9rem, 4vw, 3.4rem); max-width: 16em; }
.sec-head p { color: var(--muted); font-size: 1.1rem; max-width: 40em; margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { position: relative; padding: 2.4rem 2.1rem 2.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .35s var(--ease); overflow: hidden; }
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service:hover { background: var(--graphite-2); }
.service:hover::before { transform: scaleX(1); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.2rem; }
.service-idx { font-family: var(--display); font-size: .8rem; color: var(--dim); letter-spacing: .1em; }
.service-icon { width: 44px; height: 44px; color: var(--accent); }
.service h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; margin-bottom: .8rem; }
.service p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Cinematic photo band */
.band { position: relative; height: clamp(320px, 62vw, 720px); overflow: hidden; background: var(--black); }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,14,.9) 0%, rgba(11,12,14,0) 25%, rgba(11,12,14,0) 60%, rgba(11,12,14,.95) 100%); }
.band-caption { position: absolute; left: 0; right: 0; bottom: clamp(1.5rem, 4vw, 3rem); z-index: 1; }
.band-caption p { font-family: var(--display); font-size: clamp(1.3rem, 3.2vw, 2.6rem); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; max-width: 18em; margin: 0; }

/* Split feature (cross-border / north) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split + .split { margin-top: clamp(4rem, 9vw, 8rem); }
.split-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--graphite-2); }
.split-media picture, .mosaic picture, .band picture { width: 100%; height: 100%; }
.split-media img, .mosaic img { filter: brightness(.9) saturate(.88) contrast(1.04); }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split-media:hover img { transform: scale(1.04); }
.split-media::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); pointer-events: none; }
.corner { position: absolute; width: 22px; height: 22px; border-color: var(--accent); border-style: solid; border-width: 0; z-index: 1; }
.corner-tl { top: 12px; left: 12px; border-top-width: 2px; border-left-width: 2px; }
.corner-br { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; }
.split-body h3 { font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 500; }
.split-body > p { color: var(--muted); }
.ticks { margin: 1.8rem 0 0; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: 1rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line); color: #d5d9de; font-size: .98rem; }
.ticks li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--accent); transform: translateY(-2px) rotate(45deg); }
.split-reverse .split-media { order: 2; }

/* Industries */
.industries-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.industry-list { counter-reset: ind; border-top: 1px solid var(--line); }
.industry-list li { counter-increment: ind; display: flex; align-items: baseline; gap: 1.6rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: clamp(1.05rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -.01em; transition: padding .35s var(--ease), color .35s; }
.industry-list li::before { content: counter(ind, decimal-leading-zero); font-size: .72rem; color: var(--accent); letter-spacing: .12em; min-width: 2em; }
.industry-list li:hover { padding-left: .8rem; color: #fff; }
.mosaic { display: grid; grid-template-columns: 1fr; gap: 1rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.mosaic figure { margin: 0; position: relative; overflow: hidden; background: var(--graphite-2); }
.mosaic figure { aspect-ratio: 1 / 1; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { position: absolute; left: 0; bottom: 0; padding: .6rem .9rem; font-size: .66rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; background: rgba(7,8,10,.75); color: #d5d9de; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { position: relative; padding: 2.6rem 2.4rem 0 0; }
.step + .step { padding-left: 2.4rem; border-left: 1px solid var(--line); }
.step-num { display: block; font-family: var(--display); font-size: clamp(3rem, 6vw, 4.8rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--accent); margin-bottom: 1.6rem; }
.step h3 { font-size: 1.2rem; font-weight: 500; line-height: 1.3; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }

/* CTA with image */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(6rem, 13vw, 11rem) 0; border-top: 1px solid var(--line); }
.cta-media, .cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-media { z-index: -2; }
.cta-media img { object-fit: cover; object-position: 30% 60%; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,8,10,.35) 0%, rgba(7,8,10,.8) 55%, rgba(7,8,10,.95) 100%), linear-gradient(0deg, rgba(7,8,10,.9), rgba(7,8,10,0) 40%); }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.cta-body { grid-column: 2; }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.cta p { color: #c3c8cf; font-size: 1.1rem; max-width: 30em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

/* Share */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.share-title { font-size: .68rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); margin-right: .4rem; }
.share a, .share button { display: inline-flex; align-items: center; gap: .5em; background: none; border: 0; padding: .3rem 0; color: #d5d9de; font: 700 .72rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { color: var(--accent); }
.share .icon { color: var(--accent); }
.toast { position: fixed; left: 50%; bottom: 2rem; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--text); color: var(--black); padding: .85rem 1.3rem; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; transition: opacity .3s var(--ease), transform .3s var(--ease); box-shadow: 0 20px 40px rgba(0,0,0,.4); display: inline-flex; gap: .6rem; align-items: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .icon { color: var(--accent); }

/* Footer */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding: clamp(4rem, 8vw, 6rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.25fr 1.15fr .95fr .65fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer-brand p { color: var(--muted); margin-top: 1.4rem; max-width: 26em; font-size: .96rem; }
.footer-h { font-family: var(--body); font-size: .68rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.3rem; }
.footer-contact li { margin-bottom: .9rem; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); font-weight: 600; }
.footer-contact .icon { color: var(--accent); }
.footer-contact a:hover, .footer-links a:hover { color: var(--accent); }
.footer-links li { margin-bottom: .7rem; }
.footer-links a { text-decoration: none; color: #c8ccd2; }
.footer-big { font-family: var(--display); font-weight: 700; font-size: min(calc((100vw - 2 * var(--gutter)) / 6.6), calc(var(--wrap) / 6.6)); line-height: .9; letter-spacing: -.045em; background: linear-gradient(180deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,0) 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; white-space: nowrap; overflow: hidden; margin: 0 0 1.5rem; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--dim); letter-spacing: .06em; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); text-decoration: none; }

.mobile-cta { display: none; }

/* About / founder */
.founder-photo { position: relative; margin: clamp(2.5rem, 5vw, 4rem) 0 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--graphite-2); }
.founder-photo picture { display: block; width: 100%; height: 100%; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.founder-photo::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); background: linear-gradient(0deg, rgba(7,8,10,.55) 0%, rgba(7,8,10,0) 35%); pointer-events: none; }
.founder-photo figcaption { position: absolute; left: 0; bottom: 0; z-index: 1; padding: .6rem .9rem; font-size: .66rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; background: rgba(7,8,10,.7); }

/* Gallery */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 17vw, 250px); gap: .9rem; }
.g-item { position: relative; overflow: hidden; background: var(--graphite-2); grid-column: span 2; }
.g-1 { grid-column: span 4; grid-row: span 2; }
.g-4, .g-5 { grid-column: span 3; }
.g-item a { display: block; width: 100%; height: 100%; position: relative; color: var(--text); outline-offset: -3px; }
.g-item picture { display: block; width: 100%; height: 100%; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .4s var(--ease); filter: brightness(.9); }
.g-1 img { object-position: 35% 60%; }
.g-3 img { object-position: 78% 50%; }
.g-item a::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); background: linear-gradient(0deg, rgba(7,8,10,.5) 0%, rgba(7,8,10,0) 40%); pointer-events: none; transition: border-color .3s var(--ease); }
.g-item a:hover img, .g-item a:focus-visible img { transform: scale(1.04); filter: brightness(1); }
.g-item a:hover::after, .g-item a:focus-visible::after { border-color: var(--accent); }
.g-zoom { position: absolute; right: .8rem; bottom: .8rem; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; background: rgba(7,8,10,.7); border: 1px solid var(--line-strong); }
.g-zoom svg { width: 18px; height: 18px; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(5,6,8,.97); padding: clamp(3.5rem, 7vw, 5rem) clamp(.5rem, 6vw, 5.5rem); opacity: 0; transition: opacity .25s var(--ease); touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-figure picture { display: block; }
.lb-figure img { display: block; max-width: min(1600px, 100%); max-height: calc(100vh - 9rem); max-height: calc(100dvh - 9rem); width: auto; height: auto; border: 1px solid var(--line); user-select: none; -webkit-user-drag: none; }
.lb-figure figcaption { display: flex; gap: 1.2rem; justify-content: space-between; width: 100%; padding-top: .9rem; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lb-count { color: var(--accent); white-space: nowrap; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; background: rgba(18,20,24,.85); border: 1px solid var(--line-strong); color: var(--text); cursor: pointer; transition: border-color .2s var(--ease), color .2s var(--ease); }
.lb-btn:hover, .lb-btn:focus-visible { border-color: var(--accent); color: var(--accent); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }
.founder { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.founder-card { position: relative; background: var(--graphite); border: 1px solid var(--line); padding: clamp(1.8rem, 3.5vw, 2.6rem); overflow: hidden; }
.founder-id { display: flex; align-items: center; gap: 1.4rem; }
.founder-mark { flex: none; display: grid; place-items: center; width: 84px; height: 84px; border: 2px solid var(--accent); font-family: var(--display); font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; color: #fff; background: linear-gradient(180deg, var(--accent-soft), rgba(255,122,26,0)); }
.founder-name { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .55rem; }
.founder-role { font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin: 0; }
.founder-stat { display: flex; align-items: center; gap: 1.2rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.founder-stat-v { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--accent); }
.founder-stat-k { font-size: .7rem; font-weight: 700; letter-spacing: .22em; line-height: 1.6; text-transform: uppercase; color: var(--muted); }
.founder-truck { width: 100%; max-width: 260px; height: auto; margin-top: 1.8rem; color: var(--dim); }
.founder-body h3 { font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 500; }
.founder-body p { color: var(--muted); font-size: 1.05rem; }
.founder-body p:last-child { margin-bottom: 0; color: #d5d9de; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--line-strong) 0%, var(--line-strong) 60%, var(--accent) 100%); }
.tl-item { position: relative; padding: 2.2rem 2rem 0 0; }
.tl-item + .tl-item { padding-left: 2rem; border-left: 1px solid var(--line); }
.tl-item::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--bg); border: 1.5px solid var(--accent); transform: rotate(45deg); }
.tl-item + .tl-item::before { left: -6px; }
.tl-now::before { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.tl-k { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); margin-bottom: .8rem; }
.tl-yrs { display: block; font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--text); margin-bottom: 1.1rem; }
.tl-now .tl-yrs { color: var(--accent); }
.tl-item h3 { font-size: 1.1rem; font-weight: 500; line-height: 1.3; margin-bottom: .5rem; }
.tl-item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Why Keystone */
.why-grid .service h3 { max-width: 16em; }
.inline-link { color: var(--text); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--accent); white-space: nowrap; }
.inline-link:hover { color: var(--accent); }

/* Reveal animations (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.hero .rise { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Quote page ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem)) 0 clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero .hero-media img { object-position: 62% 58%; animation: none; transform: none; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,8,10,.95) 0%, rgba(7,8,10,.7) 45%, rgba(7,8,10,.1) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(7,8,10,0) 45%); }
.page-hero h1 { font-size: clamp(2.1rem, 5.2vw, 4.4rem); letter-spacing: -.035em; max-width: 12em; }
.page-hero p { color: #c3c8cf; font-size: 1.12rem; max-width: 36em; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.quote-aside { position: sticky; top: calc(var(--header-h) + 2rem); border: 1px solid var(--line); background: var(--graphite); padding: 2rem; }
.quote-aside h2 { font-size: 1.05rem; font-weight: 500; margin-bottom: 1.2rem; }
.quote-aside p { color: var(--muted); font-size: .95rem; }
.aside-phone { display: flex; align-items: center; gap: .7rem; font-family: var(--display); font-size: 1.3rem; font-weight: 500; text-decoration: none; color: var(--text); margin: .4rem 0 .6rem; }
.aside-phone .icon { color: var(--accent); }
.aside-text { display: flex; align-items: center; gap: .6rem; width: max-content; padding: .2rem 0; margin: 0 0 .7rem; font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--text); }
.aside-text .icon { color: var(--accent); }
.aside-mail { color: var(--text); font-weight: 600; font-size: .95rem; }
.aside-mail:hover, .aside-phone:hover, .aside-text:hover { color: var(--accent); }
.aside-block + .aside-block { margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.quote-aside .share { margin-top: 0; padding-top: 0; border-top: 0; flex-direction: column; align-items: flex-start; gap: .8rem; }

.qform fieldset { border: 0; padding: 0; margin: 0 0 3.2rem; min-width: 0; }
.qform legend { display: flex; align-items: center; gap: 1rem; width: 100%; padding: 0 0 1.1rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.05rem; font-weight: 500; letter-spacing: -.01em; }
.qform legend .n { font-size: .72rem; letter-spacing: .14em; color: var(--accent); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1rem; }
.f { display: flex; flex-direction: column; margin-bottom: 1.5rem; min-width: 0; }
.f > label, .f .f-label { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #b9bec6; margin-bottom: .6rem; }
.req { color: var(--accent); }
.opt { color: var(--dim); letter-spacing: .1em; text-transform: none; font-weight: 600; }
.qform input[type=text], .qform input[type=tel], .qform input[type=email], .qform input[type=date], .qform input[type=number], .qform select, .qform textarea {
  width: 100%; min-height: 52px; padding: .8rem .95rem; font: 500 1rem var(--body); color: var(--text); background: var(--graphite); border: 1px solid var(--line-strong); border-radius: 2px; transition: border-color .2s, background-color .2s, box-shadow .2s; color-scheme: dark; appearance: none; -webkit-appearance: none; }
.qform select { background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem; }
.qform textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.qform ::placeholder { color: #5f6670; }
.qform input:hover, .qform select:hover, .qform textarea:hover { border-color: rgba(255,255,255,.3); }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: none; border-color: var(--accent); background: var(--graphite-2); box-shadow: 0 0 0 3px var(--accent-soft); }
.combo { display: grid; grid-template-columns: 1fr auto; }
.combo select { width: auto; min-width: 5.5rem; border-left: 0; }
.dims { display: grid; grid-template-columns: 1fr 1fr 1fr auto; }
.dims input + input, .dims select { border-left: 0; }
.dims select { min-width: 6.5rem; }
.hint { font-size: .82rem; color: var(--dim); margin-top: .5rem; }
/* Inches <-> feet converter beside the dimensions (helper only; inputs have no name so they are never submitted) */
.ucalc { margin-top: .9rem; max-width: 38rem; padding: .85rem 1rem .9rem; border: 1px solid var(--line); border-left: 2px solid var(--accent); background: var(--graphite); }
.ucalc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .9rem; margin-bottom: .65rem; }
.ucalc-title { font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.ucalc-note { font-size: .78rem; color: var(--dim); }
.ucalc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: .6rem; }
.ucalc-f { min-width: 0; }
.ucalc-f label { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #b9bec6; margin-bottom: .35rem; }
.qform .ucalc input[type=text] { min-height: 44px; padding: .55rem .75rem; font-size: 1rem; background: var(--bg); font-variant-numeric: tabular-nums; }
.qform .ucalc input[type=text]:focus { background: var(--graphite-2); }
.ucalc-eq { padding-bottom: .7rem; font-weight: 700; color: var(--accent); line-height: 1; }
.ucalc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem 1rem; margin-top: .7rem; }
.ucalc-out { margin: 0; flex: 1 1 14rem; min-width: 0; font-size: .9rem; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; line-height: 1.4; }
.ucalc-out.is-empty { color: var(--dim); font-weight: 500; }
.ucalc-out.is-err { color: var(--danger); }
.ucalc-use { display: flex; align-items: center; gap: .35rem; font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ucalc-use span { margin-right: .2rem; }
.ucalc-use button { min-width: 40px; min-height: 36px; padding: 0 .6rem; border: 1px solid var(--line-strong); border-radius: 2px; background: transparent; color: var(--text); font: 700 .78rem/1 var(--body); letter-spacing: .08em; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.ucalc-use button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.ucalc-use button:disabled { opacity: .35; cursor: not-allowed; }
@media (max-width: 640px) {
  .ucalc { padding: .8rem .8rem .85rem; }
  .ucalc-use { width: 100%; }
  .ucalc-use button { flex: 1 1 0; min-height: 40px; }
}
.err { display: none; font-size: .82rem; font-weight: 600; color: var(--danger); margin-top: .5rem; }
.f.invalid .err { display: block; }
.f.invalid input, .f.invalid select, .f.invalid textarea { border-color: var(--danger); }
.f.invalid .cards .card-opt span, .f.invalid .pills .pill span { border-color: rgba(255, 92, 92, .6); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.card-opt { position: relative; cursor: pointer; }
.card-opt input, .pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.card-opt span { display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem; height: 100%; min-height: 128px; padding: 1rem .9rem; border: 1px solid var(--line-strong); background: var(--graphite); font-size: .82rem; font-weight: 700; line-height: 1.3; transition: border-color .2s, background-color .2s, color .2s; }
.card-opt svg { width: 40px; height: 40px; color: var(--dim); transition: color .2s; }
.card-opt:hover span { border-color: rgba(255,255,255,.35); }
.card-opt input:checked + span { border-color: var(--accent); background: linear-gradient(180deg, rgba(255,122,26,.14), rgba(255,122,26,.03)); box-shadow: inset 0 0 0 1px var(--accent); }
.card-opt input:checked + span svg { color: var(--accent); }
.card-opt input:focus-visible + span, .pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill span { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: .75rem 1.2rem; border: 1px solid var(--line-strong); background: var(--graphite); font-size: .9rem; font-weight: 700; cursor: pointer; transition: border-color .2s, background-color .2s; }
.pill span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); flex: none; transition: all .2s; }
.pill:hover span { border-color: rgba(255,255,255,.35); }
.pill input:checked + span { border-color: var(--accent); background: rgba(255,122,26,.08); }
.pill input:checked + span::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--graphite); }
.pill small { font-weight: 500; color: var(--muted); }

.form-summary { display: none; border: 1px solid rgba(255,92,92,.5); background: rgba(255,92,92,.08); color: #ffd0d0; padding: 1rem 1.2rem; margin-bottom: 1.6rem; font-weight: 600; font-size: .95rem; }
.form-summary.show { display: block; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.submit-row .btn { min-width: 260px; }
.submit-note { color: var(--dim); font-size: .85rem; margin: 0; max-width: 32em; }
.hp { position: absolute !important; left: -9999px !important; }
.btn[disabled] { opacity: .6; cursor: progress; }

.success { display: none; border: 1px solid var(--line-strong); background: var(--graphite); padding: clamp(2rem, 5vw, 3.5rem); }
.success.show { display: block; animation: rise .8s var(--ease) both; }
.success-mark { width: 64px; height: 64px; border: 1px solid var(--accent); display: grid; place-items: center; color: var(--accent); margin-bottom: 1.8rem; }
.success-mark svg { width: 30px; height: 30px; }
.success h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.success p { color: var(--muted); max-width: 36em; }
.success .btn { margin-top: 1rem; }

/* ---------- Responsive ---------- */
/* ===== Service & lane pages (SEO landing pages) ===== */
.crumbs { margin-bottom: 1.6rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem .6rem; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: .6rem; color: var(--line-strong); }
.crumbs a { color: #c3c8cf; text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--accent); }
.page-hero .hero-actions { margin-top: 2.2rem; }
.page-svc .page-hero { min-height: min(88vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; }
.page-svc .page-hero .hero-media img { object-position: var(--pos, 60% 55%); }
.page-svc .page-hero::before { background: linear-gradient(90deg, rgba(7,8,10,.94) 0%, rgba(7,8,10,.78) 45%, rgba(7,8,10,.35) 100%), linear-gradient(0deg, rgba(11,12,14,1) 0%, rgba(11,12,14,0) 40%); }
.page-svc .page-hero h1 { max-width: 14em; }
.prose { max-width: 46em; min-width: 0; }
.prose > h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 500; margin-top: 3.4rem; }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { font-size: 1.12rem; font-weight: 500; line-height: 1.3; margin-top: 2rem; }
.prose > p { color: #c3c8cf; }
.prose strong { color: var(--text); }
.prose a:not(.btn) { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--accent); }
.prose a:not(.btn):hover { color: var(--accent); }
.prose .ticks { margin: 1.4rem 0 2rem; }
.table-scroll { overflow-x: auto; margin: 1.4rem 0 1rem; border-top: 1px solid var(--line-strong); }
.spec-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .94rem; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: .85rem 1.2rem .85rem 0; border-bottom: 1px solid var(--line); }
.spec-table thead th { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.spec-table tbody th { color: var(--text); font-weight: 600; }
.spec-table td { color: #c3c8cf; }
.table-note { font-size: .86rem; color: var(--dim) !important; }
.prose-figure { position: relative; margin: 2.6rem 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--graphite-2); }
.prose-figure picture { display: block; width: 100%; height: 100%; }
.prose-figure img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.92) saturate(.9); }
.prose-figure::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); background: linear-gradient(0deg, rgba(7,8,10,.55) 0%, rgba(7,8,10,0) 35%); pointer-events: none; }
.prose-figure figcaption { position: absolute; left: 0; bottom: 0; z-index: 1; padding: .6rem .9rem; font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; background: rgba(7,8,10,.72); color: #d5d9de; }
.note { border-left: 2px solid var(--accent); background: var(--graphite); padding: 1.2rem 1.4rem; margin: 2rem 0; color: #c3c8cf; }
.note p { margin: 0; }
.aside-links li { border-bottom: 1px solid var(--line); }
.aside-links a { display: block; padding: .7rem 0; color: #d5d9de; font-weight: 600; font-size: .95rem; text-decoration: none; }
.aside-links a:hover, .aside-links a[aria-current] { color: var(--accent); }
.quote-aside .btn { margin-top: 1.2rem; }
.faq { border-top: 1px solid var(--line); max-width: 56em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1.5rem 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: clamp(1.02rem, 1.7vw, 1.25rem); font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.faq summary::after { content: "+"; flex: none; font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover h3 { color: #fff; }
.faq-a { padding: 0 2.5rem 1.6rem 0; color: var(--muted); }
.faq-a p { margin: 0 0 .8em; max-width: 46em; }
.faq-a p:last-child { margin-bottom: 0; }
a.service { display: block; text-decoration: none; color: inherit; }
.service-go { display: inline-flex; align-items: center; gap: .5em; margin-top: 1.4rem; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.service-go .icon { transition: transform .25s var(--ease); }
.service:hover .service-go .icon { transform: translateX(4px); }
.service h3 a { color: inherit; text-decoration: none; }
.service h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service h3 a:focus-visible { outline: none; }
.service:has(h3 a:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; }
.lane-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.8rem; }
@media (max-width: 640px) {
  .page-svc .page-hero { min-height: 0; }
  .page-svc .page-hero::before { background: linear-gradient(0deg, rgba(7,8,10,.97) 15%, rgba(7,8,10,.7) 60%, rgba(7,8,10,.55) 100%); }
  .page-hero .hero-actions .btn { flex: 1 1 100%; }
  .faq-a { padding-right: 0; }
  .prose-figure { aspect-ratio: 4 / 3; }
}

@media (max-width: 1260px) {
  .nav-phone { display: none; }
}
@media (max-width: 1100px) {
  .site-nav ul { gap: 1.5rem; }
  .nav-phone { display: none; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .split, .industries-grid, .quote-layout { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .mosaic { position: static; }
  .mosaic figure { aspect-ratio: 16 / 10; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-body { grid-column: 1; }
  .founder { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 2.6rem; }
  .timeline::before { display: none; }
  .tl-item { border-top: 1px solid var(--line-strong); }
  .tl-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .tl-item:nth-child(3)::before { left: 0; }
  .cta::before { background: linear-gradient(0deg, rgba(7,8,10,.95) 10%, rgba(7,8,10,.6) 100%); }
  .quote-aside { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-specs { grid-template-columns: repeat(2, 1fr); }
  .hero-specs li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 46px; height: 46px; padding: 0 12px; background: transparent; border: 1px solid var(--line-strong); border-radius: 2px; cursor: pointer; position: relative; z-index: 2; }
  .nav-toggle span:not(.visually-hidden) { display: block; height: 1.5px; background: #fff; transition: transform .3s var(--ease), opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; z-index: 1; background: #07080a; height: 100vh; height: 100dvh; display: flex; align-items: center; padding: var(--header-h) var(--gutter) 2rem; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
  .site-nav.open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn) { display: block; padding: 1.1rem 0; font-family: var(--display); font-size: 1.5rem; font-weight: 500; letter-spacing: -.01em; text-transform: none; color: #fff; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .nav-phone { display: block; }
  .site-nav .nav-phone a { display: flex !important; font-size: 1.15rem !important; }
  .site-nav li:last-child { border-bottom: 0; padding-top: 1.6rem; }
  .site-nav .btn { width: 100%; padding: 1.2em; }
  html:not(.js) .site-nav { position: static; opacity: 1; visibility: visible; background: none; padding: 0; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 34vw; gap: .6rem; }
  .g-item, .g-4, .g-5 { grid-column: span 1; }
  .g-1 { grid-column: span 2; grid-row: span 2; }
  .g-zoom { width: 32px; height: 32px; right: .5rem; bottom: .5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
  .lightbox { padding: 4rem .5rem 5.5rem; }
  .founder-photo { aspect-ratio: 4 / 3; }
  :root { --header-h: 66px; }
  body { font-size: 1rem; padding-bottom: 68px; }
  .brand-name { font-size: .82rem; }
  .brand-mark { width: 30px; height: 30px; }
  .hero-media img { object-position: 50% 0%; }
  .hero::before { background: linear-gradient(0deg, rgba(7,8,10,1) 6%, rgba(7,8,10,.82) 45%, rgba(7,8,10,.35) 80%, rgba(7,8,10,.6) 100%); }
  .label { letter-spacing: .2em; gap: .7rem; }
  .label::before { width: 24px; }
  .hero-content { padding-top: calc(var(--header-h) + 6rem); padding-bottom: 2rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-specs { margin-top: 2.5rem; }
  .hero-specs li { padding: 1.1rem 0 1.1rem 0 !important; border-left: 0 !important; }
  .hero-specs li:nth-child(even) { padding-left: 1rem !important; border-left: 1px solid var(--line) !important; }
  .hero-specs li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .spec-v { font-size: .8rem; }
  .sec-head { grid-template-columns: 1fr; gap: 1.2rem; }
  .sec-num::after { width: 80px; }
  .services { grid-template-columns: 1fr; }
  .service { padding: 2rem 1.5rem; }
  .service-top { margin-bottom: 1.4rem; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 2rem 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .founder-mark { width: 72px; height: 72px; font-size: 1.45rem; }
  .founder-id { gap: 1.1rem; }
  .timeline { grid-template-columns: 1fr; row-gap: 0; padding-left: 1.9rem; }
  .timeline::before { display: block; top: 6px; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--line-strong) 0%, var(--line-strong) 60%, var(--accent) 100%); }
  .tl-item, .tl-item + .tl-item { padding: 0 0 2.2rem; border-left: 0; border-top: 0; }
  .tl-item:last-child { padding-bottom: 0; }
  .tl-item::before, .tl-item + .tl-item::before, .tl-item:nth-child(3)::before { top: .15rem; left: calc(-1.9rem); }
  .tl-k { margin-bottom: .5rem; }
  .tl-yrs { font-size: 1.9rem; margin-bottom: .7rem; }
  .mosaic { grid-template-columns: 1fr; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 2.4rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card-opt span { min-height: 108px; }
  .card-opt:last-child { grid-column: 1 / -1; }
  .card-opt:last-child span { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; }
  .dims { grid-template-columns: 1fr 1fr 1fr; }
  .dims select { grid-column: 1 / -1; border-left: 1px solid var(--line-strong); border-top: 0; }
  .submit-row .btn { width: 100%; min-width: 0; }
  .quote-aside { padding: 1.5rem; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: .5rem; position: fixed; inset: auto 0 0 0; z-index: 90; padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(7,8,10,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mobile-cta .btn { padding: 1em .8em; font-size: .7rem; }
  .toast { bottom: 5.5rem; }
}
/* Very narrow phones: drop Text from the bottom bar so Call / Quote keep their room */
@media (max-width: 339px) {
  .mobile-cta { grid-template-columns: 1fr 1.5fr; }
  .mobile-cta .mobile-cta-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero .rise { opacity: 1; transform: none; }
}
@media print {
  .site-header, .mobile-cta, .hero-media, .cta-media, .toast, .lightbox, .g-zoom { display: none !important; }
  body { background: #fff; color: #000; }
}
