/* Melbourne Engineering Group — site stylesheet
   Navy + gold identity, with the logo's teal as a supporting tone.
   All text/background pairs below were checked against WCAG 2.2 AA. */

:root {
  --navy-900: #0a1628;
  --navy-800: #0f2138;
  --navy-700: #12325a;
  --navy-600: #1d4474;
  --teal-600: #0b6b6e;
  --teal-50:  #e8f3f3;
  --gold-400: #d9a94e;
  --gold-500: #d4a045;
  --gold-600: #b8862f;
  --gold-700: #8a5f14;
  --gold-50:  #fbf5e9;

  --ink: #16202e;
  --ink-muted: #4f5b69;
  --ink-on-dark: #ffffff;
  --muted-on-dark: #b9c4d2;
  --surface: #ffffff;
  --surface-alt: #f5f7fa;
  --line: #dfe5ee;
  --line-strong: #c5cfdc;
  --error: #b3261e;
  --success: #1b6e3a;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(10, 22, 40, .06), 0 8px 24px rgba(10, 22, 40, .06);
  --header-h: 72px;

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --step-3: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --step-4: clamp(1.875rem, 1.45rem + 1.8vw, 2.75rem);
  --step-5: clamp(2.125rem, 1.6rem + 2.4vw, 3.375rem);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-size: var(--step-0); line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy-900); text-wrap: balance; }
h1, h2 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); font-weight: 650; }
h4 { font-size: var(--step-1); font-weight: 650; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: .35em; }
a { color: var(--navy-700); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-600); }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 2px; border-radius: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--gold-400); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; transition: top .15s;
}
.skip-link:focus { top: 12px; color: #fff; }
.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 ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--alt { background: var(--surface-alt); }
.section--navy { background: var(--navy-900); color: var(--muted-on-dark); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--ink-muted); font-size: var(--step-1); }
.section--navy .section-head p { color: var(--muted-on-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gold-500); }
.on-dark .eyebrow, .section--navy .eyebrow, .hero .eyebrow { color: var(--gold-400); }

.lead { font-size: var(--step-1); color: var(--ink-muted); max-width: 64ch; }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid--2 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font: 600 1rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s, border-color .15s, color .15s;
}
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-400); color: var(--navy-900); }
.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-600); color: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--navy-700); background: #fff; }
.btn--ghost:hover { border-color: var(--navy-700); color: var(--navy-700); }
.btn--ghost-dark { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn--ghost-dark:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.text-link {
  font-weight: 600; color: var(--navy-700); text-decoration: none; display: inline; padding: 4px 0;
}
.text-link::after { content: "→"; display: inline-block; margin-left: 6px; transition: transform .15s; }
.text-link:hover::after { transform: translateX(3px); }
.text-link:hover { color: var(--teal-600); text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; margin-right: auto; }
.brand img { width: 150px; height: auto; }

.primary-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; margin: 0; }
.nav-link, .nav-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px;
  font: 500 .9375rem/1 var(--font-sans); color: var(--ink); text-decoration: none;
  background: none; border: 0; border-radius: var(--radius); cursor: pointer;
}
.nav-link:hover, .nav-toggle:hover { color: var(--navy-700); background: var(--surface-alt); }
.nav-link[aria-current="page"], .nav-toggle.is-current { color: var(--navy-700); box-shadow: inset 0 -2px 0 var(--gold-500); border-radius: 0; }
.nav-toggle .chev { width: 10px; height: 10px; transition: transform .15s; }
.nav-split { display: flex; align-items: center; }
.nav-split .nav-link { padding-right: 4px; }
.nav-toggle--icon { padding: 8px 10px; min-width: 32px; justify-content: center; }
.nav-link.is-current { color: var(--navy-700); box-shadow: inset 0 -2px 0 var(--gold-500); border-radius: 0; }
@media (hover: hover) and (min-width: 981px) {
  .has-mega:hover > .dropdown { display: block; }
  .has-mega:hover .nav-toggle .chev { transform: rotate(180deg); }
}
.dropdown--mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 320px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 10px; display: none;
}
.dropdown.is-open { display: block; }
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dropdown li { margin: 0; }
.dropdown a {
  display: block; padding: 10px 12px; border-radius: var(--radius); text-decoration: none; color: var(--ink);
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--surface-alt); color: var(--navy-700); }
.dropdown a span { display: block; font-size: .8125rem; color: var(--ink-muted); margin-top: 2px; }
.dropdown a strong { font-weight: 600; font-size: .9375rem; }
.dropdown .dropdown-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.dropdown .dropdown-all a { font-weight: 600; color: var(--navy-700); }
.dropdown--wide { min-width: 560px; }
.header-inner { position: relative; }
.nav-list > li.has-mega { position: static; }
.dropdown--mega { left: 0; right: 0; top: calc(100% + 1px); min-width: 0; padding: 22px 20px 14px; margin: 0 var(--gutter); }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 20px; }
.mega-h { margin: 0 0 4px; min-height: 44px; }
.mega-h a { font-size: .75rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600) !important; }
.dropdown--mega .dropdown-all { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.dropdown--wide > ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 8px 10px;
  color: var(--navy-700); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; }
.header-cta { min-height: 44px; padding: 10px 16px; font-size: .9375rem; }
.menu-toggle {
  display: none; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; color: var(--navy-900);
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1120px) {
  .header-phone .phone-text { display: none; }
}
.mobile-nav-cta { display: none; }
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .brand img { width: 128px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .primary-nav {
    display: none; position: fixed; inset: var(--header-h) 0 0 0; background: #fff;
    overflow-y: auto; padding: 12px var(--gutter) 32px; border-top: 1px solid var(--line);
  }
  .primary-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-toggle { width: 100%; justify-content: space-between; min-height: 52px; padding: 12px 4px; font-size: 1.0625rem; border-radius: 0; }
  .nav-link[aria-current="page"], .nav-toggle.is-current { box-shadow: none; color: var(--teal-600); }
  .mega-grid { grid-template-columns: 1fr; gap: 4px; }
  .mega-h { min-height: 0; }
  .dropdown--mega { margin: 0; }
  .nav-split .nav-link { flex: 1; }
  .nav-toggle--icon { width: 52px !important; flex: 0 0 52px; min-height: 52px; justify-content: center !important; }
  .dropdown, .dropdown--wide, .dropdown--mega { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 12px 8px; }
  .dropdown--wide > ul { grid-template-columns: 1fr; }
  .dropdown a span { display: none; }
  .mobile-nav-cta { display: grid; gap: 10px; margin-top: 20px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero {
  background: var(--navy-900); color: var(--muted-on-dark); position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero .lead { color: var(--muted-on-dark); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); margin-bottom: 28px; }
.hero-figure { color: var(--muted-on-dark); }
.hero-figure figcaption { font-size: .8125rem; margin-top: 10px; color: var(--muted-on-dark); }
.hero-credentials {
  list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: .875rem; color: var(--muted-on-dark);
}
.hero-credentials li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.hero-credentials li::before { content: ""; width: 6px; height: 6px; background: var(--gold-400); border-radius: 50%; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 460px; }
}
@media (max-width: 560px) { .hero-figure { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy-900); color: var(--muted-on-dark); padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 420px; height: 420px; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 36px 36px; mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.page-hero h1 { color: #fff; max-width: 22ch; font-size: var(--step-5); }
.page-hero .lead { color: var(--muted-on-dark); margin-bottom: 24px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: end; position: relative; z-index: 1; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }
.glance {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
  padding: 22px 24px; color: var(--muted-on-dark); font-size: .9375rem;
}
.glance dl { margin: 0; display: grid; gap: 14px; }
.glance dt { font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-400); font-weight: 600; margin-bottom: 2px; }
.glance dd { margin: 0; color: #fff; }

.breadcrumb { font-size: .875rem; margin-bottom: 22px; position: relative; z-index: 1; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: rgba(255,255,255,.35); }
.breadcrumb a { color: var(--muted-on-dark); text-decoration: none; display: inline-block; padding: 6px 0; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Home: entry points ---------- */
.entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.entry { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.entry + .entry { border-left: 1px solid var(--line); }
.entry h3 { font-size: var(--step-2); margin-bottom: 8px; }
.entry > p { color: var(--ink-muted); }
.entry-num { font: 600 .8125rem/1 var(--font-sans); letter-spacing: .09em; color: var(--gold-700); margin-bottom: 14px; text-transform: uppercase; }
.entry-links { list-style: none; padding: 0; margin: auto 0 0; border-top: 1px solid var(--line); }
.entry-links li { margin: 0; border-bottom: 1px solid var(--line); }
.entry-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0;
  text-decoration: none; font-weight: 600; color: var(--navy-700); min-height: 48px;
}
.entry-links a::after { content: "→"; color: var(--gold-600); transition: transform .15s; }
.entry-links a:hover { color: var(--teal-600); }
.entry-links a:hover::after { transform: translateX(3px); }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .entry-grid { grid-template-rows: repeat(5, auto); }
    .entry { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
    .entry-links { margin-top: 8px; align-self: start; }
  }
}
@media (max-width: 900px) {
  .entry-grid { grid-template-columns: 1fr; }
  .entry + .entry { border-left: 0; border-top: 1px solid var(--line); }
}

.entry-eg { font-size: .875rem; color: var(--ink); background: var(--surface-alt); border-radius: var(--radius); padding: 10px 12px; margin: 0 0 16px; }
.entry-eg span { display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 3px; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; }
.trust-list li { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 500; color: var(--ink); }
.trust-list svg { width: 18px; height: 18px; color: var(--teal-600); flex-shrink: 0; }
@media (max-width: 700px) { .trust-list { justify-content: flex-start; flex-direction: column; } }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold-500); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); }
.cat-top { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.cat-top h3 { margin: 0; font-size: var(--step-2); }
.cat-top h3 a { color: var(--navy-900); text-decoration: none; }
.cat-top h3 a:hover { color: var(--teal-600); text-decoration: underline; }
.cat-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; flex-shrink: 0; }
.cat-icon svg { width: 22px; height: 22px; }
.cat-desc { color: var(--ink-muted); margin-bottom: 14px; }
.cat-links { margin: 0 0 16px !important; align-self: stretch !important; }
.cat-meta { font-size: .875rem; margin: 0 0 10px; color: var(--ink); }
.cat-meta span { display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 2px; }
@media (max-width: 820px) { .cat-grid { grid-template-columns: 1fr; } }
.hub-cat-head { display: flex; align-items: center; gap: 14px; }
.hub-cat-head h2 { margin: 0; }
.hub-group > p { margin-top: 10px; }
.jump-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump-list li { margin: 0; }
.jump-list a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: #fff; text-decoration: none; font-size: .9375rem; }
.jump-list a:hover { border-color: var(--gold-400); color: var(--gold-400); }
.eyebrow-link { color: inherit; text-decoration: none; display: inline-block; padding: 5px 0; }
.eyebrow-link:hover { text-decoration: underline; color: inherit; }

/* ---------- Proof strip ---------- */
.proof { background: var(--navy-800); color: var(--muted-on-dark); border-top: 1px solid rgba(255,255,255,.08); }
.proof-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: end; padding-top: 18px; padding-bottom: 18px; }
.proof-label { grid-column: 1 / -1; margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-400); }
.proof-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.proof-list li { margin: 0; color: #fff; font-weight: 500; font-size: .9375rem; display: inline-flex; align-items: center; gap: 8px; }
.proof-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-400); flex-shrink: 0; }
.proof-link { color: #fff; white-space: nowrap; }
.proof-link:hover { color: var(--gold-400); }
@media (max-width: 700px) { .proof-inner { grid-template-columns: 1fr; } .proof-list { gap: 4px 16px; } }

/* ---------- Service cards (home, hubs) ---------- */
.svc-group + .svc-group { margin-top: clamp(32px, 4vw, 48px); }
.svc-group-h { font-family: var(--font-sans); font-size: .8125rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 4px; }
.svc-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); }
.svc { margin: 0; padding: 20px 0 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.svc h3, .svc h4 { font-family: var(--font-sans); font-size: var(--step-1); font-weight: 650; margin: 0 0 6px; }
.svc h3 a, .svc h4 a { color: var(--navy-900); text-decoration: none; }
.svc h3 a:hover, .svc h4 a:hover { color: var(--teal-600); text-decoration: underline; }
.svc > p { color: var(--ink-muted); font-size: .9375rem; margin: 0 0 12px; }
.chips { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { margin: 0; font-size: .8125rem; padding: 4px 10px; border-radius: 999px; background: var(--surface-alt); border: 1px solid var(--line); color: var(--navy-700); }
.section--alt .chips li { background: #fff; }
.svc-eg { font-size: .875rem; color: var(--ink); margin: 0 0 12px; padding-left: 12px; border-left: 3px solid var(--gold-500); }
.svc-eg strong { color: var(--gold-700); }
.svc-more { margin-top: auto; align-self: flex-start; font-size: .9375rem; }
@media (max-width: 760px) { .svc-list { grid-template-columns: 1fr; } }

/* ---------- Service index (ruled list) ---------- */
.service-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); list-style: none; padding: 0; margin: 0; }
.service-index li { margin: 0; border-top: 1px solid var(--line); }
.service-index a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; text-decoration: none; color: inherit; }
.service-index a:hover h3 { color: var(--teal-600); }
.service-index h3 { font-size: var(--step-1); margin: 0; color: var(--navy-900); font-family: var(--font-sans); font-weight: 650; }
.service-index p { grid-column: 1 / -1; margin: 0; color: var(--ink-muted); font-size: .9375rem; }
.service-index .kind { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-700); font-weight: 600; align-self: center; }
@media (max-width: 760px) { .service-index { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.founder-photo { position: relative; max-width: 440px; }
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: var(--radius-lg); background: var(--surface-alt); }
.founder-photo::before { content: ""; position: absolute; left: -12px; bottom: -12px; width: 45%; height: 45%; border-left: 3px solid var(--gold-500); border-bottom: 3px solid var(--gold-500); border-radius: 0 0 0 var(--radius-lg); }
.founder blockquote { margin: 0 0 20px; font-family: var(--font-serif); font-size: var(--step-2); color: var(--navy-900); line-height: 1.4; }
.cred-list { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.cred-list li { margin: 0; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.cred-list svg { width: 18px; height: 18px; color: var(--teal-600); margin-top: 4px; }
@media (max-width: 820px) {
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 300px; }
}

/* ---------- Project entries ---------- */
.project-list { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.project-list > li { margin: 0; border-bottom: 1px solid var(--line); }
.project { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 2fr); gap: 12px clamp(20px, 3vw, 40px); padding: 24px 0; }
.project h3 { font-family: var(--font-sans); font-size: var(--step-1); margin: 0 0 4px; }
.project .where { font-size: .875rem; color: var(--ink-muted); margin: 0; }
.project .scope { margin: 0; color: var(--ink); }
.project .tags { display: flex; flex-wrap: wrap; gap: 6px; align-content: start; justify-content: flex-end; }
.tag {
  display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .03em; padding: 4px 10px;
  border-radius: 999px; background: var(--surface-alt); color: var(--navy-700); border: 1px solid var(--line);
}
a.tag { text-decoration: none; padding: 6px 10px; }
a.tag:hover { border-color: var(--navy-700); color: var(--navy-700); background: #fff; }
.tag--gold { background: var(--gold-50); color: var(--gold-700); border-color: #f0e2c4; }
.tag--teal { background: var(--teal-50); color: var(--teal-600); border-color: #cfe5e5; }
@media (max-width: 820px) {
  .project { grid-template-columns: 1fr; }
  .project .tags { justify-content: flex-start; }
}
.project-note { font-size: .875rem; color: var(--ink-muted); margin-top: 20px; max-width: 75ch; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-bar button {
  min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: #fff; font: 500 .875rem/1 var(--font-sans); color: var(--ink); cursor: pointer;
}
.filter-bar button[aria-pressed="true"] { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

/* ---------- Process steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { margin: 0; padding: 0 clamp(12px, 2vw, 24px) 0 0; position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font: 700 .875rem/1 var(--font-sans);
  color: var(--gold-700); letter-spacing: .06em; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 2px solid var(--line);
}
.steps li:first-child::before { border-bottom-color: var(--gold-500); }
.steps h3 { font-family: var(--font-sans); font-size: var(--step-1); margin-bottom: 6px; }
.steps p { color: var(--ink-muted); font-size: .9375rem; margin: 0; }
.section--navy .steps li::before { color: var(--gold-400); border-bottom-color: rgba(255,255,255,.15); }
.section--navy .steps li:first-child::before { border-bottom-color: var(--gold-400); }
.section--navy .steps p { color: var(--muted-on-dark); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Article layout (service/sector pages) ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 980px) { .article-layout { grid-template-columns: minmax(0, 1fr); } }
.article > section { padding-bottom: clamp(28px, 4vw, 44px); margin-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.article > section:last-child { border-bottom: 0; margin-bottom: 0; }
.article h2 { font-size: var(--step-3); }
.article h3 { font-size: var(--step-1); font-family: var(--font-sans); margin-top: 1.4em; }
.article p, .article li { max-width: 70ch; }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { margin: 0; padding-left: 30px; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230b6b6e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
@media (max-width: 640px) { .check-list--2 { grid-template-columns: 1fr; } }

.deliverables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.deliverables li { margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--gold-500); border-radius: var(--radius); background: #fff; }
.deliverables strong { display: block; color: var(--navy-900); margin-bottom: 4px; }
.deliverables span { color: var(--ink-muted); font-size: .9375rem; }
@media (max-width: 640px) { .deliverables { grid-template-columns: 1fr; } }

.inputs { background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px); }
.inputs h2 { margin-top: 0; }
.inputs .check-list li::before { background-color: #fff; }

.boundary {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.boundary > div { padding: 20px 22px; }
.boundary > div + div { border-left: 1px solid var(--line); background: var(--surface-alt); }
.boundary h3 { margin-top: 0 !important; font-size: 1rem !important; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-muted); }
.boundary ul { margin: 0; padding-left: 1.1em; }
@media (max-width: 640px) { .boundary { grid-template-columns: 1fr; } .boundary > div + div { border-left: 0; border-top: 1px solid var(--line); } }

.process { list-style: none; padding: 0; margin: 0; counter-reset: pstep; }
.process li { counter-increment: pstep; position: relative; padding: 0 0 22px 52px; margin: 0; }
.process li::before {
  content: counter(pstep); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy-700); color: #fff; font-weight: 700; font-size: .9375rem;
}
.process li::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--line); }
.process li:last-child::after { display: none; }
.process strong { display: block; color: var(--navy-900); }
.process span { color: var(--ink-muted); }

.figure { max-width: 100%; min-width: 0; margin: 1.5em 0; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 28px); background: #fff; }
.figure svg { width: 100%; height: auto; }
.figure-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) { .figure-scroll .dg { min-width: 560px; } .figure-scroll { margin: 0 -8px; padding: 0 8px 6px; } }
.figure figcaption { font-size: .875rem; color: var(--ink-muted); margin-top: 12px; }
.figure figcaption strong { color: var(--ink); }

.callout { border-left: 3px solid var(--teal-600); background: var(--teal-50); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.25em 0; }
.callout p:last-child { margin-bottom: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-weight: 600; color: var(--navy-900); font-size: var(--step-0); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--navy-700); border-bottom: 2px solid var(--navy-700); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--teal-600); }
.faq .answer { padding: 0 0 18px; color: var(--ink); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
@media (max-width: 980px) { .sidebar { position: static; } }
.side-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: #fff; }
.side-card h2 { font-family: var(--font-sans); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); margin-bottom: 14px; }
.engineer-card { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; margin-bottom: 14px; }
.engineer-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.engineer-card strong { display: block; color: var(--navy-900); }
.engineer-card span { font-size: .875rem; color: var(--ink-muted); }
.side-card p { font-size: .9375rem; color: var(--ink-muted); }
.side-card .btn { width: 100%; }
.side-contact { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: .9375rem; }
.side-contact li { margin: 0; }
.side-contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; max-width: 100%; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.side-contact svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--teal-600); }
.related-list { list-style: none; padding: 0; margin: 0; }
.related-list li { margin: 0; border-top: 1px solid var(--line); }
.related-list li:first-child { border-top: 0; }
.related-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; min-height: 44px; text-decoration: none; font-weight: 500; color: var(--navy-700); }
.related-list a::after { content: "→"; color: var(--gold-600); }
.related-list a:hover { color: var(--teal-600); }

/* ---------- Hubs ---------- */
.hub-group + .hub-group { margin-top: clamp(40px, 5vw, 64px); }
.hub-group > h2 { font-size: var(--step-3); }
.hub-group > p { color: var(--ink-muted); max-width: 70ch; }
.hub-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hub-list li { margin: 0; }
.hub-item {
  display: flex; flex-direction: column; height: 100%; padding: 22px 24px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); text-decoration: none; color: inherit; background: #fff; transition: border-color .15s;
}
.hub-item:hover { border-color: var(--navy-700); }
.hub-item h3 { font-family: var(--font-sans); font-size: var(--step-1); margin-bottom: 6px; color: var(--navy-900); }
.hub-item p { color: var(--ink-muted); font-size: .9375rem; margin-bottom: 14px; }
.hub-item .text-link { margin-top: auto; }
@media (max-width: 760px) { .hub-list { grid-template-columns: 1fr; } }
.audience-list > li { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-alt); }
.audience-list h3 { font-family: var(--font-sans); font-size: var(--step-1); margin-bottom: 6px; }
.audience-list p { margin-bottom: 8px; color: var(--ink-muted); font-size: .9375rem; }
.audience-list .meta-line { margin: 0; }
.audience-list .meta-line a { font-weight: 600; }
.engineer-card picture, .founder-photo picture { display: block; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-800); color: var(--muted-on-dark); padding: clamp(44px, 6vw, 72px) 0; }
.cta-band-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.cta-band h2 { color: #fff; font-size: var(--step-4); margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 58ch; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band .contact-lines { margin-top: 14px; font-size: .9375rem; }
.cta-band .contact-lines a { color: #fff; font-weight: 600; }
@media (max-width: 860px) { .cta-band-grid { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Contact page & form ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } .contact-layout .form-card { order: -1; } }
.contact-methods { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.contact-methods li { margin: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; }
.contact-methods .ic { width: 44px; height: 44px; border-radius: var(--radius); background: var(--teal-50); display: grid; place-items: center; color: var(--teal-600); }
.contact-methods .ic svg { width: 20px; height: 20px; }
.contact-methods small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); font-weight: 600; }
.contact-methods a { display: inline-block; max-width: 100%; padding: 6px 0; font-weight: 600; font-size: 1.0625rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-methods a:hover { text-decoration: underline; }

.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); background: #fff; box-shadow: var(--shadow); }
.form-card h2 { font-size: var(--step-3); }
.form-intro { color: var(--ink-muted); margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; color: var(--ink); }
.field .req { color: var(--error); margin-left: 2px; }
.field .opt { font-weight: 400; color: var(--ink-muted); font-size: .875rem; }
.field .hint { display: block; font-size: .875rem; color: var(--ink-muted); margin-top: 4px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: 400 1rem/1.4 var(--font-sans); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(11,107,110,.25); outline-offset: 0; border-color: var(--teal-600); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { display: none; color: var(--error); font-size: .875rem; font-weight: 500; margin-top: 6px; }
.field-error.is-visible { display: block; }
.more-fields { border: 1px solid var(--line); border-radius: var(--radius); margin: 4px 0 20px; }
.more-fields summary { cursor: pointer; padding: 14px 16px; font-weight: 600; color: var(--navy-700); min-height: 48px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.more-fields summary::-webkit-details-marker { display: none; }
.more-fields summary::after { content: "+"; font-size: 1.25rem; line-height: 1; color: var(--gold-700); }
.more-fields[open] summary::after { content: "−"; }
.more-fields .inner { padding: 4px 16px 2px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius); padding: 14px 16px; margin-top: 16px; display: none; }
.form-status.is-visible { display: block; }
.form-status--success { background: #eaf5ee; border: 1px solid #b9dcc5; color: var(--success); }
.form-status--error { background: #fbeceb; border: 1px solid #efc2bf; color: var(--error); }
.form-status strong { display: block; margin-bottom: 4px; }
.form-status p { margin: 0; color: var(--ink); }
.form-fineprint { font-size: .8125rem; color: var(--ink-muted); margin-top: 14px; }
.docs-note { background: var(--gold-50); border: 1px solid #f0e2c4; border-radius: var(--radius); padding: 14px 16px; font-size: .9375rem; margin-bottom: 20px; }
.docs-note strong { color: var(--gold-700); }

/* ---------- Prose (privacy, about) ---------- */
.prose h2 { font-size: var(--step-3); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--font-sans); font-size: var(--step-1); margin-top: 1.4em; }
.prose p, .prose li { max-width: 72ch; }
.meta-line { font-size: .875rem; color: var(--ink-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--muted-on-dark); font-size: .9375rem; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); padding: clamp(48px, 6vw, 72px) 0 40px; }
.footer-brand .logo-plate { display: inline-block; background: #fff; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; }
.footer-brand .logo-plate img { width: 170px; }
.footer-brand p { max-width: 36ch; }
.site-footer h2 { font: 600 .8125rem/1.2 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 4px; }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; display: inline-block; max-width: 100%; padding: 5px 0; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .875rem; }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-main { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { text-align: left; }
.notfound .code { font: 700 .875rem/1 var(--font-sans); letter-spacing: .12em; color: var(--gold-700); }

/* ---------- Illustrative diagrams ---------- */
.dg { width: 100%; height: auto; font-family: var(--font-sans); }
.dg text { font-size: 12.5px; fill: var(--ink-muted); }
.dg .t-strong { font-weight: 600; fill: var(--navy-900); font-size: 13px; }
.dg .t-label { fill: var(--ink); }
.dg .t-soil { font-style: italic; fill: #6b5a3a; }
.dg .soil1 { fill: #f4efe5; }
.dg .soil2 { fill: #e8dfcc; }
.dg .ground { stroke: #7a6a4c; stroke-width: 2; }
.dg .layer { stroke: #a8977a; stroke-width: 1.2; stroke-dasharray: 6 5; }
.dg .sep line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; }
.dg .conc { fill: #d9dfe7; stroke: var(--navy-700); stroke-width: 1.5; }
.dg .wall { fill: #c7cfda; stroke: var(--navy-700); stroke-width: 1.5; }
.dg .steel { fill: var(--navy-600); }
.dg .helix { fill: none; stroke: var(--navy-600); stroke-width: 2.4; }
.dg .panel { fill: var(--navy-600); }
.dg .hub { fill: #fff; stroke: var(--navy-700); stroke-width: 2; }
.dg .load { fill: #e3e8ef; stroke: var(--navy-700); stroke-width: 1.2; }
.dg .pressure { fill: rgba(212,160,69,.14); stroke: rgba(184,134,47,.5); stroke-width: 1; }
.dg .gravel { stroke: #a8977a; stroke-width: 1; }
.dg .dot { fill: #9a8a6a; }
.dg .pipe { fill: #fff; stroke: var(--teal-600); stroke-width: 2.4; }
.dg .weep { stroke: var(--teal-600); stroke-width: 2; stroke-dasharray: 3 3; }
.dg .leader { stroke: var(--ink-muted); stroke-width: 1; }
.dg .bracket line { stroke: var(--ink-muted); stroke-width: 1.2; }
.dg .arrow { stroke: var(--gold-600); stroke-width: 2.5; fill: none; }
.dg .arrow-t { stroke: var(--teal-600); stroke-width: 2.5; fill: none; }
.dg .arrow-sm line { stroke: var(--gold-600); stroke-width: 2; }
.dg .arrow-t-sm line { stroke: var(--teal-600); stroke-width: 2; }
/* dark variant for the home hero */
.dg--dark text { fill: var(--muted-on-dark); }
.dg--dark .t-strong { fill: #fff; }
.dg--dark .t-label { fill: var(--muted-on-dark); }
.dg--dark .t-soil { fill: #c9bfa6; }
.dg--dark .soil1 { fill: rgba(255,255,255,.035); }
.dg--dark .soil2 { fill: rgba(255,255,255,.075); }
.dg--dark .ground { stroke: rgba(255,255,255,.55); }
.dg--dark .layer { stroke: rgba(255,255,255,.3); }
.dg--dark .conc { fill: rgba(255,255,255,.12); stroke: rgba(255,255,255,.7); }
.dg--dark .frame line { stroke: rgba(255,255,255,.22); stroke-width: 1.5; }
.dg--dark .pile rect { fill: rgba(255,255,255,.75); }
.dg--dark .helix { stroke: rgba(255,255,255,.75); stroke-width: 2; fill: none; }
.dg--dark .arrow { stroke: var(--gold-400); }
.dg--dark .arrow-t { stroke: #6fc2c4; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .sidebar, .skip-link { display: none !important; }
  .page-hero, .hero { background: none; color: #000; }
  .page-hero h1, .hero h1 { color: #000; }
}
