/* ==========================================================================
   Asphaltic Science — shared styles
   See design-system/asphaltic-science/MASTER.md for the rules behind these tokens.
   ========================================================================== */

:root {
  --asphalt: #111315;
  --asphalt-2: #1b1e21;
  --asphalt-3: #2a2e33;
  --paper: #f4f1ea;
  --paper-2: #eae5da;
  --white: #ffffff;
  --ink: #16181a;
  --ink-muted: #55595e;
  --fog: #a9adb2;
  --line: #f5b700;
  --line-hover: #ffc72c;
  --rule: #d9d3c6;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --container: 1240px;
  --gutter: 24px;
  --radius: 2px;
  --header-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--line); outline-offset: 3px; }
.on-light :focus-visible, .section--light :focus-visible { outline-color: var(--asphalt); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--line); color: var(--asphalt); padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--dark { background: var(--asphalt); color: var(--white); }
.section--dark-2 { background: var(--asphalt-2); color: var(--white); }
.section--light { background: var(--paper); }
.section--light-2 { background: var(--paper-2); }
.section--white { background: var(--white); }

/* ---------- Type ---------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.98;
  text-wrap: balance;
}
.h-xl { font-size: clamp(3rem, 8.6vw, 7.5rem); font-weight: 800; line-height: 0.9; }
.h-lg { font-size: clamp(2.5rem, 5.6vw, 4.75rem); }
.h-md { font-size: clamp(2rem, 3.8vw, 3.25rem); }
.h-sm { font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.05; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; max-width: 62ch; }
.muted { color: var(--ink-muted); }
.section--dark .muted, .section--dark-2 .muted, .on-dark .muted { color: var(--fog); }
.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hl { background: linear-gradient(transparent 62%, var(--line) 62%, var(--line) 92%, transparent 92%); padding-inline: 0.05em; }
.section--dark .hl, .on-dark .hl { background: none; color: var(--line); padding: 0; }

/* Section label: "01 — SERVICES" */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--line); flex: none; }
.section--dark .eyebrow, .section--dark-2 .eyebrow, .on-dark .eyebrow { color: var(--fog); }
.eyebrow b { color: var(--ink); font-weight: 600; }
.section--dark .eyebrow b, .section--dark-2 .eyebrow b, .on-dark .eyebrow b { color: var(--white); }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 48px; }
}

/* ---------- Centre-line (signature divider) ---------- */
.centreline {
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--line) 0 56px, transparent 56px 96px);
}
.centreline--thin { height: 3px; background: repeating-linear-gradient(90deg, var(--line) 0 28px, transparent 28px 48px); }
.road-band { background: var(--asphalt); padding-block: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out), transform 200ms var(--ease-out);
  touch-action: manipulation;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 200ms var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--line); color: var(--asphalt); }
.btn--primary:hover { background: var(--line-hover); }
.btn--ghost { border-color: currentColor; color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--asphalt); border-color: var(--white); }
.btn--dark { background: var(--asphalt); color: var(--white); }
.btn--dark:hover { background: var(--asphalt-3); }
.btn--outline-dark { border-color: var(--asphalt); color: var(--asphalt); background: transparent; }
.btn--outline-dark:hover { background: var(--asphalt); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--line); padding-bottom: 2px; transition: gap 200ms var(--ease-out);
}
.text-link:hover { gap: 12px; }
.text-link svg { width: 16px; height: 16px; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--asphalt); color: var(--fog); font-size: 0.82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--line); }
.topbar__items { display: flex; gap: 22px; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 14px; height: 14px; color: var(--line); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--line); box-shadow: 0 0 0 3px rgba(245, 183, 0, 0.25); }
@media (max-width: 760px) { .topbar__hide-sm { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms, box-shadow 200ms;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); box-shadow: 0 6px 24px -18px rgba(17, 19, 21, 0.5); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--asphalt); flex: none; }
.brand img { width: 46px; height: auto; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: 0.9; text-transform: uppercase; letter-spacing: 0.01em; }
.brand__name small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 0.6rem; letter-spacing: 0.16em; color: var(--ink-muted); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; list-style: none; gap: 2px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
  font-weight: 500; font-size: 0.98rem; text-decoration: none; color: var(--ink);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px;
  background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { font-weight: 600; }
.nav .btn { margin-left: 12px; min-height: 46px; padding: 10px 20px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; color: var(--asphalt);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 38px) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--asphalt); padding: 24px var(--gutter) 40px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 200ms var(--ease-out), transform 250ms var(--ease-out), visibility 0s linear 250ms;
    overflow-y: auto;
  }
  .site-header.is-scrolled .nav, .topbar-hidden .nav { top: var(--header-h); }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav__list { flex-direction: column; }
  .nav__link {
    display: flex;
    color: var(--white); font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
    font-size: 2.2rem; padding: 10px 0; border-bottom: 1px solid var(--asphalt-3);
  }
  .nav__link::after { left: 0; right: auto; width: 48px; bottom: 10px; }
  .nav .btn { margin: 28px 0 0; min-height: 56px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); background: var(--asphalt);
  min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 50%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 19, 21, 0.92) 0%, rgba(17, 19, 21, 0.7) 45%, rgba(17, 19, 21, 0.25) 100%),
    linear-gradient(0deg, rgba(17, 19, 21, 0.95) 0%, rgba(17, 19, 21, 0) 45%);
}
.hero__inner { position: relative; width: 100%; padding-block: clamp(120px, 16vh, 180px) 0; }
.hero__kicker { color: var(--fog); }
.hero__title { margin-bottom: 28px; max-width: 12ch; }
.hero__title .line-y { color: var(--line); }
.hero__lead { color: #d6d9dc; margin-bottom: 36px; }

/* Lab readout strip on the hero */
.readout {
  margin-top: clamp(48px, 8vh, 88px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.readout__cell { padding: 22px 24px 26px 0; border-right: 1px solid rgba(255, 255, 255, 0.12); }
.readout__cell + .readout__cell { padding-left: 24px; }
.readout__cell:last-child { border-right: 0; }
.readout__code { color: var(--line); display: block; margin-bottom: 8px; }
.readout__name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; line-height: 1; }
.readout__desc { color: var(--fog); font-size: 0.9rem; margin: 6px 0 0; }
@media (max-width: 900px) {
  .readout { grid-template-columns: repeat(2, 1fr); }
  .readout__cell { padding: 18px 16px 18px 0 !important; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .readout__cell:nth-child(2n) { border-right: 0; padding-left: 16px !important; }
  .readout__cell:nth-child(2n+1) { padding-left: 0 !important; }
}

/* Page hero (inner pages) */
.page-hero { position: relative; background: var(--asphalt); color: var(--white); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,19,21,.94) 0%, rgba(17,19,21,.72) 55%, rgba(17,19,21,.4) 100%); }
/* Zoom from the top-left so a centred subject moves right, away from the headline (wide screens only) */
@media (min-width: 960px) {
  .page-hero__media--shift img { transform: scale(1.32); transform-origin: 0 0; }
}
.page-hero .container { position: relative; padding-block: clamp(96px, 14vw, 168px) clamp(56px, 7vw, 88px); }
.page-hero h1 { max-width: 14ch; margin-bottom: 20px; }
.page-hero .lead { color: #d6d9dc; }
.breadcrumb { display: flex; gap: 10px; color: var(--fog); margin-bottom: 24px; list-style: none; }
.breadcrumb a { color: var(--fog); text-decoration: none; }
.breadcrumb a:hover { color: var(--line); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--asphalt-3); }

/* ---------- Standards ticker ---------- */
.ticker { background: var(--line); color: var(--asphalt); overflow: hidden; border-block: 1px solid #d9a200; }
.ticker__track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 18px; padding: 16px 28px; white-space: nowrap; font-family: var(--font-mono); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ticker__item::after { content: ""; width: 10px; height: 10px; background: var(--asphalt); transform: rotate(45deg); margin-left: 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Intro + numbers ---------- */
.intro-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .intro-grid { grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; } }
.intro-grid p + p { margin-top: 18px; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--asphalt); }
.stat { padding: 26px 20px 26px 0; border-bottom: 1px solid var(--rule); }
.stat:nth-child(odd) { border-right: 1px solid var(--rule); }
.stat:nth-child(even) { padding-left: 24px; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 6vw, 4.5rem); line-height: 0.9; display: flex; align-items: flex-start; gap: 2px; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: 0.42em; color: var(--ink); margin-top: 0.15em; }
.stat__num sup.y { background: var(--line); padding: 0 6px; line-height: 1.25; }
.stat__label { font-weight: 600; margin-top: 10px; }
.stat__sub { color: var(--ink-muted); font-size: 0.92rem; }

/* Numbers band (dark) */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers .stat { border-color: var(--asphalt-3); padding: 32px 24px; border-right: 1px solid var(--asphalt-3); border-bottom: 0; }
.numbers .stat:first-child { padding-left: 0; }
.numbers .stat:last-child { border-right: 0; }
.numbers .stat__num { color: var(--white); }
.numbers .stat__num sup { color: var(--line); }
.numbers .stat__label { color: var(--white); }
.numbers .stat__sub { color: var(--fog); }
@media (max-width: 900px) {
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .numbers .stat { padding: 24px 16px !important; border-bottom: 1px solid var(--asphalt-3); }
  .numbers .stat:nth-child(2n) { border-right: 0; }
  .numbers .stat:nth-child(2n+1) { padding-left: 0 !important; }
}

/* ---------- Services grid ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--asphalt-3); border-left: 1px solid var(--asphalt-3); }
.service {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 36px 28px 32px; border-right: 1px solid var(--asphalt-3); border-bottom: 1px solid var(--asphalt-3);
  text-decoration: none; color: var(--white); background: var(--asphalt);
  transition: background-color 250ms var(--ease-out);
  min-height: 380px;
}
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--line); transition: width 350ms var(--ease-out); }
.service:hover { background: var(--asphalt-2); }
.service:hover::before { width: 100%; }
.service__num { color: var(--fog); }
.service__icon { width: 52px; height: 52px; color: var(--line); margin: 18px 0 8px; }
.service__icon svg { width: 100%; height: 100%; }
.service h3 { font-size: 1.85rem; line-height: 1; }
.service p { color: var(--fog); font-size: 0.97rem; }
.service__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: var(--white); }
.service__more svg { width: 16px; height: 16px; color: var(--line); transition: transform 250ms var(--ease-out); }
.service:hover .service__more svg { transform: translateX(4px); }
.service--soon { background: repeating-linear-gradient(-45deg, var(--asphalt) 0 14px, #15181a 14px 28px); }
.tag {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: var(--line); color: var(--asphalt); font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.tag--outline { background: transparent; color: inherit; border: 1px solid currentColor; }
@media (max-width: 1100px) { .services { grid-template-columns: repeat(2, 1fr); } .service { min-height: 320px; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } .service { min-height: 0; } }

/* ---------- Split feature (image + copy) ---------- */
.split { display: grid; gap: 0; align-items: stretch; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse .split__media { order: 2; } }
.split__media { position: relative; min-height: 360px; overflow: hidden; background: var(--asphalt-2); }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body { padding: clamp(40px, 6vw, 96px) clamp(var(--gutter), 6vw, 88px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.split__caption {
  position: absolute; left: 0; bottom: 0; background: var(--line); color: var(--asphalt); padding: 10px 16px;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.check-list svg { width: 22px; height: 22px; color: var(--asphalt); background: var(--line); padding: 3px; border-radius: 2px; margin-top: 2px; }
.section--dark .check-list svg, .on-dark .check-list svg { color: var(--asphalt); }

/* ---------- Process (along a road) ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; list-style: none; }
.process::before {
  content: ""; position: absolute; left: 0; right: 0; top: 31px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--line) 0 36px, transparent 36px 60px);
}
.process__step { position: relative; padding-top: 0; }
.process__marker {
  position: relative; z-index: 1; width: 66px; height: 66px; display: grid; place-items: center;
  background: var(--asphalt); color: var(--line); border: 2px solid var(--line);
  font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; margin-bottom: 28px;
}
.process__step h3 { font-size: 1.7rem; margin-bottom: 10px; }
.process__step p { color: var(--fog); font-size: 0.97rem; }
.process__meta { display: block; color: var(--line); margin-bottom: 8px; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before { left: 31px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 28px, transparent 28px 48px); }
  .process__step { display: grid; grid-template-columns: 66px 1fr; gap: 0 24px; padding-bottom: 36px; }
  .process__marker { margin-bottom: 0; grid-row: span 3; }
}

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--asphalt); }
.value { padding: 32px 28px 8px 0; }
.value + .value { padding-left: 28px; border-left: 1px solid var(--rule); }
.value__icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--asphalt); color: var(--line); margin-bottom: 22px; }
.value__icon svg { width: 28px; height: 28px; }
.value h3 { font-size: 1.55rem; margin-bottom: 10px; }
.value p { color: var(--ink-muted); font-size: 0.97rem; }
.value p strong { color: var(--ink); }
@media (max-width: 1000px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .value { padding: 28px 20px 28px 0 !important; border-bottom: 1px solid var(--rule); }
  .value:nth-child(2n) { padding-left: 20px !important; border-left: 1px solid var(--rule); }
  .value:nth-child(2n+1) { border-left: 0; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .value, .value:nth-child(2n) { padding: 26px 0 !important; border-left: 0 !important; }
}

/* ---------- Projects grid ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.project { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--asphalt-2); color: var(--white); text-decoration: none; }
.project--wide { grid-column: span 2; aspect-ratio: auto; }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out), filter 400ms; filter: saturate(0.85); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,19,21,.9) 0%, rgba(17,19,21,.2) 50%, rgba(17,19,21,0) 70%); transition: background 300ms; }
.project:hover img, .project:focus-visible img { transform: scale(1.05); filter: saturate(1); }
.project__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 24px; display: grid; gap: 6px; }
.project__loc { color: var(--line); }
.project__name { font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 700; text-transform: uppercase; line-height: 1; }
.project__type { color: #cfd2d5; font-size: 0.9rem; }
.project .tag { position: absolute; top: 16px; left: 16px; z-index: 1; }
@media (max-width: 900px) { .projects { grid-template-columns: repeat(2, 1fr); } .project--wide { grid-column: span 2; aspect-ratio: 16 / 9; } }
@media (max-width: 560px) { .projects { grid-template-columns: 1fr; } .project--wide { grid-column: auto; aspect-ratio: 4 / 3; } }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn {
  min-height: 44px; padding: 8px 18px; border: 1.5px solid var(--asphalt); background: transparent; color: var(--asphalt);
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; border-radius: 999px;
  transition: background-color 200ms, color 200ms;
}
.filter-btn:hover { background: var(--paper-2); }
.filter-btn[aria-pressed="true"] { background: var(--asphalt); color: var(--line); }
.project[hidden] { display: none; }

/* ---------- Coverage / service area ---------- */
.coverage { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .coverage { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.coverage-map { position: relative; background: var(--asphalt-2); border: 1px solid var(--asphalt-3); aspect-ratio: 1 / 1.05; overflow: hidden; }
.coverage-map svg { width: 100%; height: 100%; }
.coverage-map .map-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--fog); }
.coverage-map .map-label--main { fill: var(--white); font-size: 13px; font-weight: 600; }
.coverage-map .pulse { transform-origin: center; transform-box: fill-box; animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
.region-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 28px; border-top: 1px solid var(--asphalt-3); }
.region-list li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--asphalt-3); font-weight: 500; }
.region-list li::before { content: ""; width: 10px; height: 10px; background: var(--line); transform: rotate(45deg); flex: none; }
.region-list li.is-hq::before { background: var(--white); }
@media (max-width: 480px) { .region-list { grid-template-columns: 1fr; } }

/* ---------- Standards ---------- */
.standards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.standard { background: var(--white); border: 1px solid var(--rule); padding: 28px; display: grid; gap: 10px; align-content: start; }
.standard__code { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; text-transform: uppercase; }
.standard__code span { background: var(--line); padding: 0 6px; }
.standard p { color: var(--ink-muted); font-size: 0.95rem; }
.standard--pending { background: transparent; border-style: dashed; border-color: #b9b1a1; }
.standard--nata { background: var(--asphalt); border-color: var(--asphalt); color: var(--white); text-decoration: none; transition: background-color 200ms var(--ease-out); }
.standard--nata:hover { background: var(--asphalt-2); }
.standard--nata .mono { color: var(--line); }
.standard--nata p { color: var(--fog); }
.standard--nata .standard__code span { color: var(--asphalt); }
.standard__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; font-size: 0.95rem; }
.standard__link svg { width: 16px; height: 16px; color: var(--line); transition: transform 200ms var(--ease-out); }
.standard--nata:hover .standard__link svg { transform: translateX(4px); }

/* NATA badge in footer (text only; use NATA's official logo artwork only under NATA's rules) */
.footer-nata { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 10px 14px 10px 10px; border: 1px solid var(--asphalt-3); line-height: 1.3; font-size: 0.9rem; }
.footer-nata:hover { border-color: var(--line); }
.footer-nata__mark { background: var(--line); color: var(--asphalt); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; padding: 6px 8px; letter-spacing: 0.04em; }
.footer-nata small { color: var(--fog); font-size: 0.78rem; }
@media (max-width: 900px) { .standards { grid-template-columns: 1fr; } }

.method-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.method-table th, .method-table td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.method-table th { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); border-bottom: 2px solid var(--asphalt); }
.method-table td:first-child { font-family: var(--font-mono); font-weight: 500; white-space: nowrap; }
.table-wrap { overflow-x: auto; }

/* ---------- Clients + testimonials ---------- */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); margin-bottom: clamp(48px, 6vw, 80px); }
.logo-slot { display: grid; place-items: center; min-height: 112px; padding: 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: #8a8f94; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }
.logo-slot svg { width: 26px; height: 26px; margin: 0 auto 8px; opacity: .6; }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .logos { grid-template-columns: repeat(2, 1fr); } }

.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.quote { background: var(--asphalt); color: var(--white); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 28px; position: relative; }
.quote__mark { width: 44px; height: 44px; color: var(--line); }
.quote blockquote { margin: 0; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--asphalt-3); }
.quote__avatar { width: 48px; height: 48px; display: grid; place-items: center; background: var(--line); color: var(--asphalt); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; flex: none; }
.quote__who { font-weight: 600; }
.quote__role { color: var(--fog); font-size: 0.9rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--line); color: var(--asphalt); position: relative; overflow: hidden; }
.cta-band .container { display: grid; gap: 32px; align-items: center; padding-block: clamp(56px, 7vw, 96px); }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { max-width: 18ch; }
.cta-band p { margin-top: 16px; max-width: 54ch; font-size: 1.08rem; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-band__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); text-decoration: none; line-height: 1; }
.cta-band__phone svg { width: 28px; height: 28px; }
.cta-band::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: repeating-linear-gradient(90deg, var(--asphalt) 0 56px, transparent 56px 96px);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--asphalt); color: var(--fog); font-size: 0.95rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--line); }
.footer-top { display: grid; gap: 48px; padding-block: clamp(56px, 7vw, 96px) 48px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-brand img { width: 64px; margin-bottom: 18px; }
.footer-brand .brand__name { color: var(--white); font-size: 1.9rem; }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.footer-col h3 { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; color: var(--line); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 4px; }
.footer-col li a { display: inline-block; padding: 6px 0; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact a, .footer-contact span { display: inline-flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--line); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid var(--asphalt-3); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.85rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field label .req { color: #b42318; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #bdb6a8; border-radius: var(--radius);
  background: var(--white); color: var(--ink); font-size: 1rem; transition: border-color 150ms, box-shadow 150ms;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--asphalt); box-shadow: 0 0 0 3px var(--line); }
.field__hint { font-size: 0.85rem; color: var(--ink-muted); }
.field__error { font-size: 0.88rem; color: #b42318; font-weight: 500; display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b42318; }
.field.is-invalid .field__error { display: block; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.checks legend { font-weight: 600; font-size: 0.95rem; margin-bottom: 10px; padding: 0; }
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid #bdb6a8; border-radius: 999px; cursor: pointer; font-size: 0.93rem; background: var(--white); transition: background-color 150ms, border-color 150ms; }
.check-pill input:checked + span { background: var(--asphalt); color: var(--white); border-color: var(--asphalt); }
.check-pill input:focus-visible + span { outline: 3px solid var(--asphalt); outline-offset: 2px; }
.form-status { padding: 16px 18px; border-left: 4px solid var(--line); background: var(--white); display: none; }
.form-status.is-visible { display: block; }

.contact-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.35fr; gap: 72px; } }
.contact-card { background: var(--asphalt); color: var(--white); padding: clamp(28px, 4vw, 44px); display: grid; gap: 28px; align-content: start; }
.contact-line { display: grid; gap: 4px; padding-bottom: 22px; border-bottom: 1px solid var(--asphalt-3); }
.contact-line:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-line .mono { color: var(--line); }
.contact-line a { color: var(--white); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); text-transform: none; line-height: 1.1; overflow-wrap: anywhere; }
.contact-line a:hover { color: var(--line); }
.map-embed { margin-top: 16px; border: 0; width: 100%; aspect-ratio: 16 / 10; filter: grayscale(1) contrast(1.05); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person { display: grid; gap: 14px; }
.person__photo { aspect-ratio: 4 / 5; background: var(--paper-2); border: 1px dashed #b9b1a1; display: grid; place-items: center; color: #8a8f94; }
.person__photo svg { width: 48px; height: 48px; }
.person h3 { font-size: 1.5rem; }
.person p { color: var(--ink-muted); font-size: 0.92rem; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Service detail ---------- */
.svc-detail { display: grid; gap: 40px; padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); }
.svc-detail:first-child { border-top: 0; }
@media (min-width: 960px) {
  .svc-detail { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
  .svc-detail__media { position: sticky; top: calc(var(--header-h) + 76px); }
}
.svc-detail__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--asphalt-2); }
.svc-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail__body { display: grid; gap: 22px; align-content: start; }
.svc-detail__num { font-family: var(--font-display); font-weight: 800; font-size: 5rem; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--asphalt); }

.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--asphalt); border-bottom: 1px solid var(--asphalt-3); }
.subnav ul { display: flex; gap: 4px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 16px; color: var(--fog); text-decoration: none; white-space: nowrap; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 3px solid transparent; }
.subnav a:hover, .subnav a.is-active { color: var(--white); border-bottom-color: var(--line); }

/* ---------- Note for placeholders (remove before launch) ---------- */
.placeholder-note { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); margin-top: 16px; }
.section--dark .placeholder-note { color: var(--fog); }

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}
