/* ==========================================================================
   APX Construction — website styles
   Brand source: APX Brand Standards Manual (APX-BR-001) + approved concept board
   Colours: graphite #484E53 · APX blue #0B2D5B · steel #6B7280 · gold #C9A54D · off-white #F5F6F4
   Type: Montserrat SemiBold (display) · Inter (body) — both SIL Open Font Licence
   ========================================================================== */

:root {
  --navy: #0B2D5B;
  --navy-900: #071E3E;
  --navy-700: #123A70;
  --graphite: #484E53;
  --steel: #6B7280;
  --gold: #C9A54D;
  --gold-700: #A9873A;
  --paper: #F5F6F4;
  --white: #FFFFFF;
  --ink: #151922;
  --line: rgba(11, 45, 91, 0.12);
  --line-strong: rgba(11, 45, 91, 0.22);
  --line-inverse: rgba(255, 255, 255, 0.14);

  --font-display: "Montserrat", "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 2px;
  --shadow: 0 1px 2px rgba(21, 25, 34, .06), 0 8px 24px rgba(21, 25, 34, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--navy);
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); letter-spacing: -0.005em; }
h4 { font-size: 1rem; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.86); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }

/* Eyebrow — echoes the logo's gold rule + tracked "MAIN CONTRACTORS" wordline */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--steel); margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 4px; height: 18px; background: var(--gold); flex: none; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: rgba(255,255,255,.72); }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.65; color: var(--graphite); max-width: 62ch; }
.section--navy .lead { color: rgba(255,255,255,.8); }
.muted { color: var(--graphite); }
.small { font-size: 14px; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; }
.section-head--split .lead { margin: 0; }

/* Buttons — square, architectural */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .02em;
  text-decoration: none; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-700); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--navy-900); }
.btn--gold:hover { background: #D6B464; color: var(--navy-900); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); color: var(--white); }
.btn--outline { border-color: var(--line-strong); color: var(--navy); background: transparent; }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--navy); text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px;
}
.text-link:hover { color: var(--navy-700); border-color: var(--navy); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: block; flex: none; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; text-decoration: none;
  font-weight: 500; font-size: 15px; color: var(--graphite);
}
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--gold);
}
.nav .btn { margin-left: 12px; min-height: 44px; padding: 0 20px; color: var(--white); }
.nav .btn:hover { color: var(--white); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--white); color: var(--navy); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------------- Hero (home) ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  color: rgba(255,255,255,.86);
  isolation: isolate;
}
.blueprint::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(100deg, transparent 0%, #000 45%, #000 100%);
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 45%, #000 100%);
}
/* gold diagonal band — from the site board / business card artwork */
.slash::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: 0;
  width: clamp(48px, 9vw, 150px);
  background: var(--gold);
  clip-path: polygon(62% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
}
.hero h1 { color: var(--white); margin-bottom: 24px; font-size: clamp(2.2rem, 4vw, 3.45rem); }
.hero h1 .l { display: block; }
.hero h1 .accent { color: var(--gold); display: block; }
.hero .lead { color: rgba(255,255,255,.82); margin-bottom: 36px; }
.hero-art { position: relative; padding-right: clamp(20px, 5vw, 84px); }
.hero-art svg { width: 100%; height: auto; }

.hero-proof {
  border-top: 1px solid var(--line-inverse);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-proof li {
  list-style: none; padding: 22px 24px 26px 0; display: flex; gap: 14px; align-items: flex-start;
  font-size: 14.5px; line-height: 1.45; color: rgba(255,255,255,.78);
}
.hero-proof strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 15px; margin-bottom: 2px; }
.marker {
  flex: none; width: 18px; height: 11px; margin-top: 5px; background: var(--gold);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); /* the gold inset of the A */
}

/* Elevation drawing animation */
.draw .ln { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.6s var(--ease) forwards; }
.draw .ln.d2 { animation-delay: .5s; }
.draw .ln.d3 { animation-delay: 1s; }
.draw .fade { opacity: 0; animation: fade 1s ease 1.8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------------- Inner page hero ---------------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: rgba(255,255,255,.84); isolation: isolate; }
.page-hero .container { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 7vw, 88px); }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lead { color: rgba(255,255,255,.8); }
.page-hero .hero-content { max-width: 820px; padding-right: clamp(40px, 10vw, 140px); }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 28px; }
.breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

/* ---------------- Model diagram ---------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.callout {
  border-left: 4px solid var(--gold); background: var(--white); padding: 20px 24px; margin-top: 28px;
  color: var(--graphite); font-size: 16px;
}
.section--white .callout { background: var(--paper); }
.callout strong { color: var(--navy); }

.model { display: grid; gap: 0; font-size: 14px; }
.model-node {
  border: 1px solid var(--line-strong); background: var(--white); padding: 16px 20px; border-radius: var(--radius);
}
.model-node .label { font-family: var(--font-display); font-weight: 600; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); }
.model-node .title { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--navy); margin-top: 2px; }
.model-node--apx { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.8); position: relative; overflow: hidden; }
.model-node--apx .label { color: var(--gold); }
.model-node--apx .title { color: var(--white); font-size: 20px; }
.model-node--apx::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 26px; background: var(--gold); clip-path: polygon(55% 0, 100% 0, 100% 100%, 0 100%); }
.model-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-right: 28px; }
.model-tags span { font-size: 12.5px; padding: 3px 9px; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.9); border-radius: 20px; }
.model-link {
  display: flex; align-items: center; gap: 10px; padding: 8px 0 8px 28px; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--steel);
}
.model-link::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 1.5px; background: var(--line-strong); }
.model-link::after { content: ""; position: absolute; left: 16px; bottom: 0; border: 5px solid transparent; border-top: 6px solid var(--steel); border-bottom: 0; }
.model-link span { padding-left: 14px; }
.model-trades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.model-trades div { border: 1px dashed var(--line-strong); background: var(--white); padding: 10px 12px; font-size: 13px; color: var(--graphite); line-height: 1.35; border-radius: var(--radius); }
.model-note { margin-top: 12px; font-size: 13px; color: var(--graphite); display: flex; gap: 10px; }
.model-note::before { content: ""; flex: none; width: 3px; background: var(--gold); }

/* ---------------- Cards / grids ---------------- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); padding: clamp(24px, 2.6vw, 34px); position: relative; transition: background .25s var(--ease); }
.section--white .card { background: var(--paper); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--graphite); font-size: 15.5px; margin: 0; }
.card-num {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .14em; color: var(--steel);
}
.card-num .marker { margin-top: 0; }
.card:hover { background: #FBFBFA; }
.section--white .card:hover { background: #EEF0EC; }
.card .text-link { margin-top: 18px; }
.card ul { margin-top: 14px; }

.ticks li { list-style: none; position: relative; padding-left: 26px; margin: 8px 0; color: var(--graphite); font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 7px; background: var(--gold); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
.section--navy .ticks li { color: rgba(255,255,255,.82); }

/* Services list (home) */
.service-list { border-top: 1px solid var(--line-strong); }
.service-row {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.3fr) 40px; gap: 24px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; color: inherit;
  transition: padding .25s var(--ease), background .25s var(--ease);
}
.service-row:hover { background: var(--white); padding-left: 16px; padding-right: 16px; color: inherit; }
.service-row .num { font-family: var(--font-display); font-weight: 600; color: var(--steel); font-size: 14px; letter-spacing: .12em; }
.service-row h3 { margin: 0; }
.service-row p { margin: 0; color: var(--graphite); font-size: 15.5px; }
.service-row svg { width: 20px; height: 20px; color: var(--navy); justify-self: end; transition: transform .25s var(--ease); }
.service-row:hover svg { transform: translateX(4px); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { padding: 28px 22px 0 0; position: relative; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line-inverse);
}
.step::after {
  content: ""; position: absolute; top: -5px; left: 0; width: 20px; height: 12px; background: var(--gold);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}
.step .step-n { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .14em; color: var(--gold); margin-bottom: 10px; display: block; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; line-height: 1.55; margin: 0; color: rgba(255,255,255,.72); }

/* Audience */
.audience h3 { display: flex; align-items: center; gap: 12px; }
.audience .tag { font-family: var(--font-display); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--steel); margin-bottom: 14px; display: block; }

/* Values band */
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-inverse); }
.value { padding: 32px 28px 8px 0; }
.value + .value { padding-left: 28px; border-left: 1px solid var(--line-inverse); }
.value h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 10px; }
.value p { margin: 0; font-size: 15px; color: rgba(255,255,255,.72); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: rgba(255,255,255,.84); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); padding-right: calc(var(--gutter) + clamp(40px, 9vw, 140px)); }
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.76); max-width: 58ch; }

/* Supply-chain teaser */
.teaser {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center;
  border: 1px solid var(--line-strong); background: var(--white); padding: clamp(28px, 4vw, 44px);
  position: relative;
}
.teaser::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 5px; background: var(--gold); }
.teaser h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-bottom: 8px; }
.teaser p { margin: 0; color: var(--graphite); }

/* ---------------- Inner page components ---------------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--graphite); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: .35em 0; }

.gateway-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 15.5px; }
.gateway-table th, .gateway-table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.gateway-table thead th { font-family: var(--font-display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); background: var(--paper); font-weight: 600; }
.gateway-table tbody th { font-family: var(--font-display); font-weight: 600; color: var(--navy); width: 28%; }
.gateway-table td { color: var(--graphite); }
.gateway-table .g-n { display: inline-block; min-width: 34px; color: var(--gold-700); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }

/* Variation record (change control visual) */
.vo-card { background: var(--white); border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-size: 14.5px; }
.vo-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; background: var(--navy); color: var(--white); }
.vo-head .t { font-family: var(--font-display); font-weight: 600; letter-spacing: .04em; }
.vo-head .s { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; background: var(--gold); color: var(--navy-900); padding: 4px 10px; font-weight: 600; font-family: var(--font-display); }
.vo-row { display: grid; grid-template-columns: 130px 1fr; border-top: 1px solid var(--line); }
.vo-row:first-of-type { border-top: 0; }
.vo-row dt { padding: 12px 20px; color: var(--steel); font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; background: #FAFAF9; }
.vo-row dd { margin: 0; padding: 12px 20px; color: var(--ink); }
.vo-foot { padding: 12px 20px; font-size: 12.5px; color: var(--steel); border-top: 1px solid var(--line); }

/* Weekly report mock */
.report { background: var(--white); border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-size: 14px; }
.report-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); gap: 12px; }
.report-head img { height: 22px; width: auto; }
.report-head .meta { font-size: 12px; color: var(--steel); text-align: right; line-height: 1.4; }
.report-body { padding: 20px; display: grid; gap: 18px; }
.report h4 { font-family: var(--font-display); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); margin: 0 0 10px; font-weight: 600; }
.bar { display: grid; grid-template-columns: 120px 1fr 44px; gap: 12px; align-items: center; margin: 7px 0; font-size: 13px; color: var(--graphite); }
.bar .track { height: 8px; background: var(--paper); border-radius: 4px; overflow: hidden; }
.bar .fill { height: 100%; background: var(--navy); border-radius: 4px; }
.bar .fill.gold { background: var(--gold); }
.bar .pct { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.kpi { background: var(--white); padding: 12px 14px; }
.kpi .v { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--navy); font-variant-numeric: tabular-nums; }
.kpi .l { font-size: 12px; color: var(--steel); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2F7D4F; }
.status.amber::before { background: #C98A1B; }
.report-list li { list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); color: var(--graphite); font-size: 13px; }
.report-list li:first-child { border-top: 0; }
.illustrative { font-size: 12.5px; color: var(--steel); margin-top: 10px; font-style: italic; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { list-style: none; padding: 7px 14px; border: 1px solid var(--line-strong); background: var(--white); font-size: 14px; color: var(--graphite); border-radius: 20px; }

/* Requirements list */
.req { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.req div { background: var(--white); padding: 18px 20px; }
.req strong { display: block; color: var(--navy); font-family: var(--font-display); font-weight: 600; font-size: 15.5px; margin-bottom: 4px; }
.req span { font-size: 14.5px; color: var(--graphite); }

/* Service detail blocks */
.service-detail { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line-strong); }
.service-detail:first-child { border-top: 0; padding-top: 0; }
.service-detail .num { font-family: var(--font-display); font-weight: 600; color: var(--steel); letter-spacing: .14em; font-size: 13px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.service-detail .num .marker { margin-top: 0; }
.service-detail h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.service-detail h4 { font-family: var(--font-display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); margin: 0 0 8px; }
.service-detail .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service-detail .ticks li { font-size: 15px; margin: 6px 0; }

/* ---------------- Forms ---------------- */
.form-wrap { background: var(--white); border: 1px solid var(--line-strong); padding: clamp(24px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 500; font-size: 14.5px; color: var(--ink); }
.field .opt { color: var(--steel); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(201,165,77,.35); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B42318; }
.field .hint { font-size: 13px; color: var(--steel); }
.field .err { font-size: 13px; color: #B42318; display: none; }
.field.has-error .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--graphite); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-status { display: none; padding: 16px 18px; border-left: 4px solid var(--gold); background: var(--paper); font-size: 15px; color: var(--ink); margin-top: 20px; }
.form-status.show { display: block; }
.form-status.ok { border-color: #2F7D4F; }
.form-status.warn { border-color: #C98A1B; }

.contact-panel { background: var(--navy); color: rgba(255,255,255,.84); padding: clamp(24px, 4vw, 40px); position: relative; overflow: hidden; isolation: isolate; }
.contact-panel h3 { color: var(--white); }
.contact-panel { padding-right: 76px; }
.contact-panel.slash::after { width: 52px; }
.contact-panel dl { margin: 0; }
.contact-panel dt { font-family: var(--font-display); font-weight: 600; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 20px; }
.contact-panel dd { margin: 4px 0 0; }
.contact-panel a { color: var(--white); }
.next-steps li { list-style: none; display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line-inverse); font-size: 15px; }
.next-steps li:first-child { border-top: 0; }
.next-steps .n { font-family: var(--font-display); font-weight: 600; color: var(--gold); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: clamp(56px, 7vw, 80px) 0 48px; }
.footer-brand img { width: 230px; height: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; font-size: 14.5px; }
.site-footer h4 { font-family: var(--font-display); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.site-footer ul li { list-style: none; margin: 8px 0; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-legal { border-top: 1px solid var(--line-inverse); padding: 24px 0 32px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.58); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.footer-legal p { margin: 0; max-width: 90ch; }

[data-apx-row][hidden] { display: none !important; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    display: none; box-shadow: 0 12px 24px rgba(21,25,34,.08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a[aria-current="page"]::after { left: 0; right: auto; width: 32px; bottom: 8px; }
  .nav .btn { margin: 16px 0 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; padding-right: 40px; }
  .hero-proof { grid-template-columns: repeat(2, 1fr); }
  .split, .section-head--split, .service-detail { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .value:nth-child(3) { padding-left: 0; border-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line-inverse); }
  .cta-inner, .teaser { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 56px minmax(0, 1fr) 28px; }
  .service-row p { grid-column: 2 / 3; }
  .service-row svg { grid-row: 1; grid-column: 3; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { height: 36px; }
  .header-inner { height: 70px; }
  .nav { top: 70px; }
  .hero-proof, .grid-2, .grid-3, .grid-4, .values, .req, .form-grid, .service-detail .cols, .model-trades { grid-template-columns: 1fr; }
  .model-trades { grid-template-columns: 1fr 1fr; }
  .hero-proof li { padding-right: 0; }
  .value, .value + .value { padding-left: 0; border-left: 0; }
  .value + .value { border-top: 1px solid var(--line-inverse); }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .footer-top { grid-template-columns: 1fr; }
  .gateway-table tbody th { width: auto; }
  .bar { grid-template-columns: 96px 1fr 40px; }
  .vo-row { grid-template-columns: 1fr; }
  .vo-row dt { padding-bottom: 4px; }
  .vo-row dd { padding-top: 4px; }
  .page-hero .hero-content { padding-right: 36px; }
}
@media (max-width: 760px) {
  .slash::after { width: 26px; clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%); }
  .hero .container, .page-hero .container, .cta-band .container { padding-right: calc(var(--gutter) + 30px); }
  .page-hero .hero-content { padding-right: 0; }
  .cta-inner { padding-right: calc(var(--gutter) + 30px); }
  .hero-art { padding-right: 0; }
  .contact-panel { padding-right: 56px; }
  .contact-panel.slash::after { width: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .draw .ln { animation: none; stroke-dashoffset: 0; }
  .draw .fade { animation: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
@media print {
  .site-header, .nav-toggle, .cta-band, .form-wrap { display: none; }
  .hero, .page-hero, .section--navy { background: #fff; color: #000; }
}
