/* ---------- Statement ---------- */
.statement { background: var(--white); padding: clamp(72px, 12vw, 160px) 0; }
.statement-text { font-size: clamp(30px, 4.6vw, 64px); font-weight: 900; line-height: 1.18; letter-spacing: -.015em; max-width: 22ch; margin: 0; text-wrap: balance; }
.statement-text .sw { display: inline; }

/* ---------- Subcontractor ---------- */
.sub { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding-bottom: 0; }
.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
.sub-head h2 { font-size: clamp(32px, 4.4vw, 58px); }
.sub-text { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; color: rgba(255,255,255,.82); }
.sub-points { margin-top: 28px; }
.sub-points li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); }
.sub-points .n { font-weight: 900; color: var(--orange); font-size: 22px; font-variant-numeric: tabular-nums; }
.sub-points strong { display: block; font-size: 19px; }
.sub-points span { color: rgba(255,255,255,.68); }
@media (max-width: 860px) { .sub-grid { grid-template-columns: 1fr; } }
.sub-paving { display: grid; gap: 4px; padding: 4px 0 0; background: #B9A57E; overflow: hidden; }
.pv-row { display: grid; grid-template-columns: repeat(28, 1fr); gap: 4px; }
.pv-row.is-off { transform: translateX(calc(-100% / 56)); width: calc(100% + 100% / 28); }
.pv-row i { display: block; height: clamp(14px, 1.9vw, 28px); border-radius: 2px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.18), inset 0 2px 0 rgba(255,255,255,.08); }
html:not(.has-motion) .sub-paving { display: none; }

/* ---------- Projects horizontal run ---------- */
.projects-strip.is-hscroll { height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 0; }
.projects-strip.is-hscroll .wrap { width: 100%; max-width: none; padding-inline: max(var(--gutter), calc((100vw - 1400px) / 2)); }
.projects-strip.is-hscroll .section-head { max-width: none; margin-bottom: 32px; }
.projects-strip.is-hscroll .project-grid { display: flex; gap: 20px; grid-auto-rows: initial; width: max-content; will-change: transform; }
.projects-strip.is-hscroll .project-card { width: min(42vw, 620px); height: 56vh; flex: none; grid-column: auto; grid-row: auto; }
.projects-strip.is-hscroll .project-card.is-featured { width: min(58vw, 860px); }
.projects-strip.is-hscroll .project-card img { width: 116%; max-width: none; margin-inline-start: -8%; }

/* ---------- Hex cursor ---------- */
.hex-cursor { position: fixed; top: 0; left: 0; width: 96px; height: 108px; margin: -54px 0 0 -48px; background: var(--orange); clip-path: var(--hex); z-index: 90; pointer-events: none;
	display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 14px; opacity: 0; transition: opacity .25s, scale .3s var(--ease-out); scale: .2; }
.hex-cursor.is-on { opacity: 1; scale: 1; }

/* ---------- Groundworks skip link ---------- */
.gw-skip { display: inline-block; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.55); border-bottom: 1px solid rgba(255,255,255,.2); }
.gw-skip:hover { color: var(--orange); border-color: var(--orange); }
@media (max-width: 860px) { .gw-skip { display: none; } }

/* ============================================================
   v3 — palette depth: orange scale, warm whites, layered darks
   ============================================================ */
:root {
	--orange-50: #FDF5EA; --orange-100: #F9E4C6; --orange-300: #F1AC52; --orange-400: #E6942E;
	--orange-600: #B86A0E; --orange-700: #94540A; --orange-900: #4A2905;
	--orange-text: #A15B0A; /* orange that passes contrast on light backgrounds */
	--grad-orange: linear-gradient(135deg, #F0A443 0%, #DD8619 42%, #BA650C 100%);
	--grad-orange-soft: linear-gradient(180deg, #E8922A, #C8700F);
	--asphalt: #181B1F; --graphite: #3A3F48; --steel: #5A606A; --night: #0E1012;
	--chalk: #FBF9F5; --sand: #D9CBAE; --concrete: #CFCAC0; --bone: #F6F1E8;
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .08 0 0 0 0 .05 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Light surfaces: warm whites instead of flat white */
body { background: var(--chalk); }
.statement { background: var(--chalk); }
.statement-text { color: var(--ink); }
.services { background: linear-gradient(180deg, var(--stone-2), #EFE9DD); }
.service-card { background: #fff; border-color: rgba(20,22,24,.08); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 1px 2px rgba(20,22,24,.04); }
.service-card::before { background: var(--grad-orange); }
.service-card:hover { box-shadow: 0 24px 48px -12px rgba(74,41,5,.22), 0 2px 6px rgba(20,22,24,.06); }
.service-num { color: rgba(43,47,54,.06); }
.service-card .more, .services .eyebrow, .process .eyebrow, .faq .eyebrow, .statement .eyebrow, .why .eyebrow { color: var(--orange-text); }
.process { background: linear-gradient(180deg, #E9E3D7, #E1D9CA); }
.steps li { background: var(--bone); border: 1px solid rgba(20,22,24,.06); }
.steps .num { background: var(--grad-orange); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why { background: var(--chalk); }
.faq { background: var(--stone-2); }
.checks svg { background: var(--grad-orange); box-shadow: 0 4px 10px -2px rgba(186,101,12,.45); }

/* Hex icons: graphite with an orange core */
.hex { background: linear-gradient(160deg, var(--graphite), var(--ink)); }
.service-card:hover .hex { background: var(--grad-orange); }
.hex-lg { background: var(--grad-orange); }

/* Buttons: depth, not flat */
.btn-primary { background: var(--grad-orange-soft); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -2px 0 rgba(0,0,0,.14), 0 10px 24px -10px rgba(186,101,12,.7); text-shadow: 0 1px 0 rgba(0,0,0,.12); }
.btn-primary:hover { background: linear-gradient(180deg, #DD8619, #B4620C); }
.cta-band .btn-primary { background: linear-gradient(180deg, #24282E, var(--night)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 26px -12px rgba(0,0,0,.6); }

/* Dark surfaces: layered, warm, with grain */
/* Decorative backgrounds live on their own compositor layer (painted once, never on scroll) */
.projects-strip, .sub, .team, .site-footer { position: relative; isolation: isolate; }
.site-footer { overflow: hidden; }
.projects-strip, .team { background: var(--ink); }
.sub { background: var(--asphalt); }
.site-footer { background: var(--night); border-top: 2px solid transparent; border-image: linear-gradient(90deg, transparent, rgba(184,106,14,.6) 20%, rgba(241,172,82,.6) 50%, rgba(184,106,14,.6) 80%, transparent) 1; }
.projects-strip::before, .sub::before, .team::before, .site-footer::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; will-change: transform; transform: translateZ(0); }
.projects-strip::before { background: var(--grain), radial-gradient(ellipse 70% 60% at 85% 0%, rgba(217,130,24,.10), transparent 60%), linear-gradient(180deg, var(--ink), var(--asphalt)); }
.sub::before { background: var(--grain), radial-gradient(ellipse 60% 70% at 0% 100%, rgba(217,130,24,.09), transparent 60%), linear-gradient(180deg, var(--asphalt), var(--ink)); }
.team::before { background: var(--grain), radial-gradient(ellipse 60% 60% at 100% 100%, rgba(217,130,24,.08), transparent 60%), var(--ink); }
.site-footer::after { background: var(--grain), linear-gradient(180deg, var(--ink), var(--night)); }
.projects-strip h2, .sub h2, .team h2, .gw h2 { color: var(--bone); }
.sub-points .n, .project-meta .loc { color: var(--orange-300); }
.project-meta { background: linear-gradient(to top, rgba(14,16,18,.96), rgba(14,16,18,.55) 55%, transparent); }

/* Marquee + CTA: orange with body */
.marquee { background: var(--grad-orange); border-block: 1px solid rgba(74,41,5,.25); box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.marquee span { color: var(--night); }
.marquee i { background: var(--orange-900); }
.cta-band { background: radial-gradient(ellipse 50% 120% at 0% 50%, rgba(255,214,150,.35), transparent 60%), var(--grad-orange); }
.why-card { background: var(--grad-orange); box-shadow: 0 24px 50px -16px rgba(74,41,5,.6); }
.scroll-bar i { background: linear-gradient(270deg, var(--orange-300), var(--orange-600)); }
.mobile-bar .is-primary { background: var(--grad-orange-soft); }
.hex-cursor { background: var(--grad-orange); }

/* Projects horizontal run: progress rail */
.projects-strip.is-hscroll { position: relative; }
.projects-strip.is-hscroll::after { content: ""; position: absolute; bottom: 6vh; inset-inline: max(var(--gutter), calc((100vw - 1400px) / 2)); height: 2px;
	background: linear-gradient(270deg, var(--orange) calc(var(--hs, 0) * 100%), rgba(255,255,255,.1) calc(var(--hs, 0) * 100%)); }

/* ============================================================
   770 — quiet references
   ============================================================ */
/* Plate codes on project cards, like equipment ID plates */
.project-grid { counter-reset: plate; }
.project-card { counter-increment: plate; }
.project-card::before { content: "770-" counter(plate, decimal-leading-zero); position: absolute; top: 16px; inset-inline-end: 16px; z-index: 2; direction: ltr;
	font: 700 11px/1 ui-monospace, 'SFMono-Regular', Menlo, monospace; letter-spacing: .14em; color: rgba(246,241,232,.82);
	padding: 6px 8px; border: 1px solid rgba(246,241,232,.28); border-radius: 2px; background: rgba(14,16,18,.55); }

/* Survey elevation tag on the hero level line */
.hero-elev { position: absolute; bottom: 30px; inset-inline-start: var(--gutter); z-index: 1; display: flex; align-items: center; gap: 8px; direction: ltr;
	font: 700 12px/1 ui-monospace, 'SFMono-Regular', Menlo, monospace; letter-spacing: .12em; color: var(--orange-300); opacity: 0; animation: elevIn .8s 3.4s var(--ease-out) forwards; pointer-events: none; }
.hero-elev::before { content: ""; width: 0; height: 0; border-inline: 6px solid transparent; border-top: 9px solid var(--orange); }
@keyframes elevIn { to { opacity: .85; } }
@media (max-width: 960px) { .hero-elev { bottom: 14px; } }

/* Footer watermark */
.footer-mark { position: absolute; inset-inline-end: -2vw; bottom: -6vw; z-index: -1; pointer-events: none; direction: ltr;
	font: 900 clamp(160px, 30vw, 440px)/1 var(--font); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(217,130,24,.12); user-select: none; }

/* Team section: oversized outline numeral */
.team-mark { position: absolute; top: clamp(20px, 4vw, 60px); inset-inline-start: -1vw; z-index: -1; pointer-events: none; direction: ltr;
	font: 900 clamp(120px, 22vw, 320px)/1 var(--font); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.05); }
.sub-paving { direction: ltr; }

@media (max-width: 860px) { .footer-brand { grid-column: 1 / -1; } }
