/* ============================================================
   KSE Engineering & Contracting — website v3
   "The Routing System" — Carbon/Concrete rhythm + MEP line-geometry spine
   Palette (canon): Brass #DBA14A · Carbon #191B20 · Steel #8B8D91 · Concrete #E9E7E4
   ============================================================ */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url("fonts/inter-800.woff2") format("woff2"); }

:root {
  --brass: #DBA14A;
  --brass-deep: #C29044;
  --carbon: #191B20;
  --deep: #131519;
  --graphite: #22252C;
  --graphite-2: #272a32;
  --steel: #8B8D91;
  --offwhite: #E9E7E4;
  --body: #AFB1B5;
  --body-strong: #D2D0CC;
  --concrete: #E9E7E4;
  --bone: #F3F1ED;
  --ink: #191B20;
  --ink-mute: #5A5C61;
  --ink-line: rgba(25, 27, 32, 0.14);
  --hair: rgba(255, 255, 255, 0.12);
  --hair-2: rgba(255, 255, 255, 0.20);
  --brass-line: rgba(219, 161, 74, 0.55);
  --max: 1200px;
  --pad: clamp(20px, 5vw, 52px);
  --gutter: clamp(16px, 3.2vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--carbon);
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--brass); text-decoration: none; }
::selection { background: var(--brass); color: var(--carbon); }

/* unified cinematic documentary grade across every source photo */
.grade { filter: saturate(0.72) contrast(1.10) brightness(0.94); }

.skip { position: absolute; left: -999px; top: 0; z-index: 300; background: var(--brass); color: var(--carbon); font-weight: 700; padding: 12px 18px; border-radius: 2px; }
.skip:focus { left: 12px; top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- section surfaces & rhythm ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section.alt { background: var(--deep); }
.section.concrete { background: var(--concrete); color: var(--ink-mute); }
.section.concrete.bone { background: var(--bone); }

/* ---------- the routing spine ---------- */
.tag { display: inline-flex; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brass); }
.tag::before { content: ""; width: 9px; height: 9px; flex: none; border: 1.5px solid var(--brass); background: transparent; transform: rotate(45deg); }
.tag .num { color: var(--steel); }
.section.concrete .tag { color: var(--brass-deep); }
.section.concrete .tag .num { color: var(--ink-mute); }

.sechead { position: relative; }
.sechead .dsp { margin-top: 18px; }

.dsp { font-size: clamp(28px, 4.4vw, 50px); line-height: 1.06; font-weight: 800; letter-spacing: -0.015em; color: var(--offwhite); text-wrap: balance; }
.dsp em { font-style: normal; color: var(--brass); }
.section.concrete .dsp { color: var(--ink); }
.section.concrete .dsp em { color: var(--brass-deep); }

.lede { margin-top: 20px; max-width: 640px; font-size: clamp(15px, 1.35vw, 17px); line-height: 1.66; color: var(--body); }
.section.concrete .lede { color: var(--ink-mute); }

.route-fig { position: absolute; pointer-events: none; }
.route-fig path, .route-fig line, .route-fig polyline { fill: none; stroke: var(--brass-line); stroke-width: 1; }
.route-fig .node { fill: var(--brass); stroke: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 1.6s var(--ease); }
.draw.in { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .draw { stroke-dashoffset: 0 !important; transition: none; }
}
.qa *, .qa *::before, .qa *::after { animation: none !important; transition: none !important; }
.qa .reveal { opacity: 1 !important; transform: none !important; }
.qa .draw { stroke-dashoffset: 0 !important; }
.qa .hero { min-height: 0; height: 820px; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .35s ease, border-color .35s ease; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(19, 21, 25, 0.90); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--hair); }
.nav .bar { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); height: 74px; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 44px; width: auto; }
.menu .links { list-style: none; display: flex; align-items: center; gap: clamp(20px, 2.4vw, 34px); }
.menu a { color: var(--body-strong); font-size: 14px; font-weight: 600; letter-spacing: 0.01em; transition: color .2s; }
.menu a:hover { color: var(--brass); }
.menu a.cta { color: var(--carbon); background: var(--brass); padding: 11px 20px; border-radius: 2px; }
.menu a.cta:hover { background: #e7b264; color: var(--carbon); }
.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 12px; }
.menu-btn span { width: 24px; height: 2px; background: var(--offwhite); transition: transform .3s var(--ease), opacity .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; padding: 14px 26px; border-radius: 2px; min-height: 46px; transition: background .22s, color .22s, border-color .22s, transform .22s; }
.btn.solid { background: var(--brass); color: var(--carbon); }
.btn.solid:hover { background: #e7b264; transform: translateY(-1px); }
.btn.ghost { border: 1px solid var(--hair-2); color: var(--body-strong); }
.btn.ghost:hover { border-color: var(--brass); color: var(--brass); }
.section.concrete .btn.ghost { border-color: var(--ink-line); color: var(--ink); }
.section.concrete .btn.ghost:hover { border-color: var(--brass-deep); color: var(--brass-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; z-index: 0; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(19,21,25,.72) 0%, rgba(19,21,25,.55) 42%, rgba(19,21,25,.92) 100%); }
.hero .edge { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brass); z-index: 2; }
.hero .route-fig { right: clamp(-40px, 2vw, 40px); top: 12%; width: clamp(220px, 34vw, 520px); height: auto; z-index: 2; opacity: .5; }
.hero .inner { position: relative; z-index: 3; padding-bottom: clamp(48px, 8vh, 96px); padding-top: 120px; }
.hero h1 { margin-top: 22px; font-size: clamp(38px, 6.6vw, 82px); line-height: 1.02; font-weight: 800; letter-spacing: -0.02em; color: var(--offwhite); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--brass); }
.hero .sub { margin-top: 22px; max-width: 560px; font-size: clamp(15px, 1.5vw, 18px); color: var(--body-strong); }
.hero .edge-cap { position: absolute; right: var(--pad); bottom: 22px; z-index: 3; font-size: 11px; letter-spacing: 0.04em; color: var(--steel); text-align: right; max-width: 42%; }

.statband { margin-top: clamp(34px, 5vw, 52px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); max-width: 720px; }
.statband .stat { background: var(--carbon); padding: 20px 22px; position: relative; }
.statband .stat::before { content: ""; position: absolute; left: 0; top: 0; width: 7px; height: 7px; background: var(--brass); }
.statband .v { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; color: var(--offwhite); line-height: 1; letter-spacing: -0.01em; }
.statband .v em { font-style: normal; color: var(--brass); }
.statband .l { margin-top: 9px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }

.scroll-cue { position: absolute; left: 50%; bottom: 20px; width: 22px; height: 34px; border: 1px solid var(--hair-2); border-radius: 12px; z-index: 3; transform: translateX(-50%); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; background: var(--brass); border-radius: 2px; transform: translateX(-50%); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0%,100% { opacity: 0; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, 8px); } }

/* ---------- service cards ---------- */
.svc-grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.svc-card { background: var(--carbon); padding: clamp(28px, 3vw, 40px); position: relative; overflow: hidden; }
.svc-card .bignum { position: absolute; right: 20px; top: 8px; font-size: clamp(56px, 8vw, 104px); font-weight: 800; color: rgba(255,255,255,0.045); line-height: 1; letter-spacing: -0.03em; }
.svc-card h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 700; color: var(--offwhite); position: relative; padding-left: 20px; }
.svc-card h3::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--brass); transform: rotate(45deg); }
.svc-card .intro { margin-top: 16px; font-size: 14.5px; line-height: 1.62; color: var(--body); }
.svc-card .svc-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.svc-card .svc-link::after { content: "\2192"; transition: transform .2s; }
.svc-card:hover .svc-link::after { transform: translateX(4px); }
.svc-card:hover .bignum { color: rgba(219,161,74,0.10); }

/* ---------- proof band (concrete) ---------- */
.proof { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.proofstats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); }
.proofstats .s { background: var(--concrete); padding: 24px 22px; }
.section.concrete.bone .proofstats .s { background: var(--bone); }
.proofstats .v { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.proofstats .v em { font-style: normal; color: var(--brass-deep); }
.proofstats .l { margin-top: 10px; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.proofquote blockquote { font-size: clamp(19px, 2.2vw, 27px); line-height: 1.4; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; position: relative; padding-left: 22px; }
.proofquote blockquote::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; background: var(--brass); }
.proofquote cite { display: block; margin-top: 18px; font-style: normal; font-size: 13px; letter-spacing: 0.03em; color: var(--ink-mute); }

/* ---------- pillars ---------- */
.pillars { margin-top: clamp(40px, 5vw, 60px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.pillar { position: relative; padding-top: 26px; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--hair); }
.pillar::after { content: ""; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; background: var(--brass); transform: rotate(45deg); }
.pillar .pn { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; color: var(--steel); }
.pillar h3 { margin-top: 12px; font-size: clamp(18px, 1.9vw, 22px); font-weight: 700; color: var(--offwhite); }
.pillar p { margin-top: 14px; font-size: 14.5px; line-height: 1.62; color: var(--body); }
.pillar p b { color: var(--body-strong); font-weight: 600; }
.section.concrete .pillar::before { background: var(--ink-line); }
.section.concrete .pillar h3 { color: var(--ink); }
.section.concrete .pillar p { color: var(--ink-mute); }
.section.concrete .pillar p b { color: var(--ink); }

/* ---------- work ---------- */
.subhead { display: flex; align-items: baseline; gap: 14px; margin: clamp(40px,5vw,56px) 0 24px; }
.subhead .lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); white-space: nowrap; }
.subhead .rule { flex: 1; height: 1px; background: var(--hair); }
.section.concrete .subhead .rule { background: var(--ink-line); }

.now-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.now-card { background: var(--carbon); padding: 24px 22px; position: relative; }
.now-card .yr { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--brass); }
.now-card h3 { margin-top: 12px; font-size: 17px; font-weight: 700; color: var(--offwhite); line-height: 1.2; }
.now-card .d { margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--body); }
.rel-note { margin-top: 24px; font-size: 14px; color: var(--body); }
.section.concrete .rel-note { color: var(--ink-mute); }

.prj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.2vw, 28px); }
.prj-card { background: var(--graphite); border: 1px solid var(--hair); position: relative; }
.prj-card .ph { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.prj-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prj-card:hover .ph img { transform: scale(1.04); }
.prj-card .grad { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(19,21,25,.86) 100%); }
.prj-card .name { position: absolute; left: 22px; bottom: 18px; right: 22px; }
.prj-card .sector { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.prj-card .name h3 { margin-top: 6px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; color: var(--offwhite); letter-spacing: -0.01em; }
.prj-card .meta { padding: 20px 22px 22px; }
.rowline { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 9px 0; border-top: 1px solid var(--hair); font-size: 13.5px; }
.rowline:first-child { border-top: 0; }
.rowline .k { color: var(--steel); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 2px; position: relative; padding-left: 14px; }
.rowline .k::before { content: ""; position: absolute; left: 0; top: 6px; width: 5px; height: 5px; background: var(--brass); }
.rowline .v { color: var(--body-strong); }
.rowline .v b { color: var(--offwhite); }

.case-teaser { margin-top: clamp(28px, 3vw, 40px); position: relative; overflow: hidden; background: linear-gradient(120deg, var(--graphite) 0%, var(--deep) 100%); border: 1px solid var(--hair); border-left: 3px solid var(--brass); padding: clamp(30px, 4vw, 48px); }
.case-teaser h3 { margin-top: 12px; font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; color: var(--offwhite); max-width: 22ch; line-height: 1.14; letter-spacing: -0.01em; position: relative; }
.case-teaser p { margin-top: 16px; max-width: 62ch; font-size: 15px; line-height: 1.64; color: var(--body); position: relative; }
.case-teaser .actions { position: relative; }
.case-teaser .route-fig { right: -20px; bottom: -30px; width: 320px; opacity: .35; }

/* ---------- clients who stayed (concrete timeline) ---------- */
.retire { margin-top: clamp(40px, 5vw, 56px); }
.rt-item { position: relative; padding: 18px 0 18px 34px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.rt-item:first-child { border-top: 0; }
.rt-item::before { content: ""; position: absolute; left: 6px; top: 22px; width: 10px; height: 10px; border: 1.5px solid var(--brass-deep); background: var(--concrete); transform: rotate(45deg); z-index: 1; }
.rt-item::after { content: ""; position: absolute; left: 10.5px; top: 0; bottom: 0; width: 1px; background: var(--ink-line); }
.rt-item:first-child::after { top: 22px; }
.rt-item:last-child::after { bottom: calc(100% - 22px); }
.rt-item .c { font-size: clamp(16px, 1.8vw, 20px); font-weight: 700; color: var(--ink); }
.rt-item .s { font-size: 13px; letter-spacing: 0.03em; color: var(--ink-mute); }
.section.concrete .retire .rel-note { color: var(--ink-mute); margin-top: 22px; }

/* ---------- field ---------- */
.field-grid { margin-top: clamp(40px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.field-grid .ph { position: relative; aspect-ratio: 4/3; overflow: hidden; margin: 0; }
.field-grid .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.field-grid .ph:hover img { transform: scale(1.05); }
.field-grid .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(19,21,25,.8) 100%); z-index: 1; }
.field-grid .cap { position: absolute; left: 16px; bottom: 14px; right: 16px; z-index: 2; }
.field-grid .cap .t { font-size: 15px; font-weight: 700; color: #fff; }
.field-grid .cap .s { font-size: 11.5px; letter-spacing: 0.06em; color: var(--offwhite); opacity: .85; margin-top: 3px; }

/* ---------- heritage ---------- */
.about-cols { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about-cols .story p { font-size: clamp(15px, 1.5vw, 17.5px); line-height: 1.68; color: var(--body-strong); }
.about-cols .story p b { color: var(--offwhite); font-weight: 600; }
.pullstat { border-left: 3px solid var(--brass); padding: 8px 0 8px 28px; }
.pullstat .big { font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; line-height: 1.28; color: var(--body-strong); }
.pullstat .big span { color: var(--brass); }

/* ---------- final CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--deep); padding: clamp(72px, 10vw, 120px) 0; border-top: 1px solid var(--hair); }
.cta-band .route-fig { right: -10px; top: 50%; transform: translateY(-50%); width: clamp(240px, 30vw, 460px); opacity: .4; }
.cta-band .dsp { max-width: 18ch; }
.cta-band .wrap { position: relative; z-index: 1; }
.tel-note { margin-top: 22px; font-size: 14px; color: var(--steel); }
.tel-note a { font-weight: 700; }

/* ---------- footer ---------- */
.footer { background: var(--deep); border-top: 1px solid var(--hair); padding: clamp(56px, 7vw, 84px) 0 40px; position: relative; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 48px); }
.footer .brand img { height: 46px; width: auto; }
.footer .brand .line { margin-top: 18px; font-size: 13.5px; line-height: 1.6; color: var(--steel); max-width: 30ch; }
.footer .col .t { font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: 16px; }
.footer .col ul { list-style: none; }
.footer .col li { margin-bottom: 11px; }
.footer .col a { color: var(--body); font-size: 14px; transition: color .2s; }
.footer .col a:hover { color: var(--brass); }
.footer .fine { margin-top: clamp(40px, 5vw, 60px); padding-top: 24px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 12px; color: var(--steel); }

/* ---------- breadcrumb / sub-page hero ---------- */
.crumb { padding-top: 108px; font-size: 12px; letter-spacing: 0.06em; color: var(--steel); text-transform: uppercase; }
.crumb a { color: var(--steel); } .crumb a:hover { color: var(--brass); }
.crumb .sep { margin: 0 8px; opacity: .5; }

.phero { position: relative; padding: 8px 0 clamp(40px, 6vw, 68px); overflow: hidden; }
.phero .route-fig { right: 0; top: 60px; width: clamp(180px, 24vw, 360px); opacity: .4; }
.phero h1 { margin-top: 20px; font-size: clamp(34px, 5.4vw, 66px); font-weight: 800; line-height: 1.03; letter-spacing: -0.02em; color: var(--offwhite); max-width: 18ch; position: relative; }
.phero h1 em { font-style: normal; color: var(--brass); }
.phero .sub { margin-top: 20px; max-width: 620px; font-size: clamp(15px, 1.4vw, 17px); color: var(--body-strong); position: relative; }
.phero .facts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 1px; background: var(--hair); border: 1px solid var(--hair); position: relative; }
.phero .facts .f { background: var(--carbon); padding: 14px 20px; }
.phero .facts .fk { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.phero .facts .fv { margin-top: 5px; font-size: 15px; font-weight: 700; color: var(--offwhite); }

.feature-img { position: relative; overflow: hidden; }
.feature-img img { width: 100%; height: clamp(280px, 44vw, 560px); object-fit: cover; }
.feature-img .cap { position: absolute; left: var(--pad); bottom: 20px; font-size: 11.5px; letter-spacing: 0.04em; color: var(--offwhite); background: rgba(19,21,25,.6); padding: 7px 12px; backdrop-filter: blur(3px); }

/* ---------- service scope tables (concrete) ---------- */
.scopes { margin-top: clamp(36px, 4vw, 52px); border-top: 1px solid var(--ink-line); }
.scope-row { display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 3vw, 40px); padding: 22px 0; border-bottom: 1px solid var(--ink-line); }
.scope-row .sk { font-size: clamp(16px, 1.7vw, 19px); font-weight: 700; color: var(--ink); position: relative; padding-left: 20px; }
.scope-row .sk::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; background: var(--brass-deep); transform: rotate(45deg); }
.scope-row .sv { font-size: 14.5px; line-height: 1.6; color: var(--ink-mute); }
.section.concrete a { color: var(--brass-deep); }

.lightprose p { font-size: 15px; line-height: 1.7; color: var(--ink-mute); margin-top: 14px; max-width: 68ch; }
.lightprose p b { color: var(--ink); }
.chiplist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { font-size: 13px; padding: 8px 14px; border: 1px solid var(--ink-line); border-radius: 2px; color: var(--ink); background: var(--bone); }
.section.concrete.bone .chip { background: var(--concrete); }

/* ---------- capability columns (services index) ---------- */
.caps { margin-top: clamp(40px, 5vw, 60px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.capcol { background: var(--carbon); padding: clamp(22px, 2.4vw, 32px); }
.section.alt .capcol { background: var(--deep); }
.capcol h3 { font-size: 16px; font-weight: 700; color: var(--offwhite); position: relative; padding-left: 18px; }
.capcol h3::before { content: ""; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; background: var(--brass); transform: rotate(45deg); }
.capcol ul { list-style: none; margin-top: 16px; }
.capcol li { font-size: 13.5px; line-height: 1.5; color: var(--body); padding: 8px 0 8px 15px; border-top: 1px solid var(--hair); position: relative; }
.capcol li:first-child { border-top: 0; }
.capcol li::before { content: ""; position: absolute; left: 0; top: 15px; width: 5px; height: 5px; background: var(--brass); opacity: .65; }

.darkprose p { font-size: 15px; line-height: 1.7; color: var(--body); margin-top: 14px; max-width: 68ch; }
.darkprose p b { color: var(--body-strong); }
.darkprose h3 { margin-top: 30px; font-size: 20px; color: var(--offwhite); font-weight: 700; }

.split { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.factpanel { background: var(--bone); border: 1px solid var(--ink-line); border-left: 3px solid var(--brass-deep); padding: clamp(24px, 3vw, 36px); }
.section.concrete .factpanel { background: #fff; }
.factpanel .frow { display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid var(--ink-line); font-size: 14px; }
.factpanel .frow:first-child { border-top: 0; }
.factpanel .fk { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
.factpanel .fv { color: var(--ink); font-weight: 600; }
.evidence { margin-top: clamp(30px, 4vw, 44px); border-left: 3px solid var(--brass-deep); padding: 6px 0 6px 24px; }
.evidence blockquote { font-size: clamp(17px, 2vw, 22px); font-weight: 600; line-height: 1.42; color: var(--ink); }
.evidence cite { display: block; margin-top: 14px; font-style: normal; font-size: 13px; color: var(--ink-mute); }

/* ---------- track record register ---------- */
.reg-controls { position: sticky; top: 74px; z-index: 40; background: var(--carbon); padding: 16px 0; border-bottom: 1px solid var(--hair); display: flex; flex-direction: column; gap: 12px; }
.fgroup { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.flabel { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); width: 62px; flex: none; }
.reg-row .rn small, .reg-row .rscope small { display: block; color: var(--steel); font-size: 12px; font-weight: 400; margin-top: 3px; letter-spacing: 0; }
.reg-controls .fbtn { font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--body); background: var(--graphite); border: 1px solid var(--hair); padding: 9px 15px; border-radius: 2px; cursor: pointer; min-height: 40px; transition: all .2s; }
.reg-controls .fbtn.on { background: var(--brass); color: var(--carbon); border-color: var(--brass); }
.reg-controls .fbtn:hover:not(.on) { border-color: var(--brass); color: var(--brass); }
.reg-count { margin-left: auto; font-size: 12px; color: var(--steel); letter-spacing: 0.04em; }
.register { margin-top: 4px; }
.reg-head { display: grid; grid-template-columns: 1.7fr 0.9fr 1fr 82px; gap: 18px; padding: 14px 0 12px 16px; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); border-bottom: 1px solid var(--hair-2); }
.reg-row { display: grid; grid-template-columns: 1.7fr 0.9fr 1fr 82px; gap: 18px; padding: 15px 0 15px 16px; border-bottom: 1px solid var(--hair); position: relative; align-items: baseline; }
.reg-row::before { content: ""; position: absolute; left: 0; top: 20px; width: 5px; height: 5px; background: var(--brass); opacity: .6; }
.reg-row .rn { color: var(--offwhite); font-weight: 600; font-size: 15px; }
.reg-row .rsec { color: var(--steel); font-size: 12.5px; letter-spacing: 0.02em; }
.reg-row .rscope { color: var(--body); font-size: 13px; }
.reg-row .ryr { color: var(--brass); font-size: 13px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.reg-row.hide { display: none; }
.reg-more { margin: 30px auto 0; display: block; }

/* ---------- register: count-first summary + period groups ---------- */
.reg-summary { padding: 16px 20px; background: var(--graphite); border: 1px solid var(--hair); border-left: 3px solid var(--brass); font-size: 14px; line-height: 1.6; color: var(--body); }
.reg-summary b { color: var(--offwhite); font-weight: 700; }
.reg-group { margin: 0; }
.reg-group.ghide { display: none; }
.reg-ghead { display: flex; align-items: baseline; gap: 14px; padding: 26px 0 12px 16px; border-bottom: 1px solid var(--hair-2); }
.reg-ghead .gp { font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); flex: none; }
.reg-ghead .gc { margin-left: auto; font-size: 12px; color: var(--steel); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
details.reg-group > summary.reg-ghead { cursor: pointer; list-style: none; }
details.reg-group > summary.reg-ghead::-webkit-details-marker { display: none; }
details.reg-group > summary.reg-ghead::after { content: "\25B8\00a0 show"; margin-left: 16px; flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
details.reg-group[open] > summary.reg-ghead::after { content: "\25BE\00a0 hide"; }
details.reg-group[open] > summary.reg-ghead { border-bottom-color: var(--brass-line); }

.refs.three { grid-template-columns: repeat(3, 1fr); }
.refs { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.4vw, 30px); margin-top: clamp(36px, 4vw, 52px); }
.ref { background: var(--bone); border: 1px solid var(--ink-line); border-top: 3px solid var(--brass-deep); padding: 26px; }
.section.concrete .ref { background: #fff; }
.ref blockquote { font-size: 15px; line-height: 1.55; color: var(--ink); font-weight: 500; }
.ref cite { display: block; margin-top: 16px; font-style: normal; font-size: 12.5px; color: var(--ink-mute); }
.ref cite b { color: var(--ink); font-weight: 700; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); margin-top: clamp(36px, 4vw, 52px); }
.cblock { background: var(--carbon); padding: clamp(24px, 3vw, 34px); }
.cblock .ck { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.cblock .cname { margin-top: 8px; font-size: 18px; font-weight: 700; color: var(--offwhite); }
.cblock .crole { font-size: 12.5px; color: var(--steel); margin-top: 3px; }
.cblock .cval { margin-top: 16px; font-size: clamp(20px, 2.4vw, 27px); font-weight: 700; color: var(--offwhite); letter-spacing: -0.01em; }
.cblock .cval a { color: var(--offwhite); }
.cblock .cval a:hover { color: var(--brass); }
.cblock .cnote { margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--body); }

.locator { margin-top: clamp(28px, 3vw, 40px); border: 1px solid var(--hair); position: relative; overflow: hidden; min-height: 240px; display: grid; grid-template-columns: 1.1fr 0.9fr; }
.locator .map { position: relative; background: var(--carbon); overflow: hidden; min-height: 240px; }
.locator .map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.locator .info { padding: clamp(24px, 3vw, 34px); background: var(--deep); display: flex; flex-direction: column; justify-content: center; }
.locator .info .ck { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.locator .info .addr { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--body-strong); }
.locator .info .addr b { color: var(--offwhite); font-weight: 600; }
.locator .pin { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; background: var(--brass); border: 3px solid var(--carbon); border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 6px rgba(219,161,74,.18); z-index: 2; }

.ready { margin-top: clamp(36px, 4vw, 52px); background: linear-gradient(120deg, var(--graphite) 0%, var(--deep) 100%); border: 1px solid var(--hair); border-left: 3px solid var(--brass); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.ready h3 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; color: var(--offwhite); max-width: 20ch; line-height: 1.16; }
.ready p { margin-top: 16px; max-width: 60ch; font-size: 14.5px; line-height: 1.62; color: var(--body); }
.ready p b { color: var(--body-strong); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .menu-btn { display: flex; }
  .menu { position: fixed; inset: 74px 0 auto 0; background: rgba(19,21,25,.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--hair); transform: translateY(-120%); transition: transform .4s var(--ease); padding: 20px var(--pad) 30px; }
  .menu.open { transform: translateY(0); }
  .menu .links { flex-direction: column; align-items: stretch; gap: 4px; }
  .menu .links li { border-bottom: 1px solid var(--hair); }
  .menu a { display: block; padding: 15px 0; font-size: 16px; }
  .menu a.cta { text-align: center; margin-top: 12px; padding: 15px; }
  .svc-grid, .now-strip, .pillars, .prj-grid, .proof, .about-cols, .split, .contact-grid, .refs, .refs.three, .locator { grid-template-columns: 1fr; }
  .caps { grid-template-columns: repeat(2, 1fr); }
  .field-grid { grid-template-columns: repeat(2, 1fr); }
  .statband { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .proofstats { grid-template-columns: repeat(2, 1fr); }
  .scope-row { grid-template-columns: 1fr; gap: 8px; }
  .locator { min-height: 0; }
  .reg-head { display: none; }
  .reg-row { grid-template-columns: 1fr 70px; gap: 6px 12px; }
  .reg-row .rsec { grid-column: 1; }
  .reg-row .rscope { grid-column: 1 / -1; }
  .reg-row .ryr { grid-row: 1; grid-column: 2; }
}
@media (max-width: 560px) {
  .field-grid { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr; }
  .now-strip { grid-template-columns: 1fr 1fr; }
  .hero .edge-cap { display: none; }
  .statband { grid-template-columns: 1fr 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .footer .brand { grid-column: 1 / -1; }
}
