/* ==========================================================================
   Davis Data & Electrical — dde.com.au
   Static site, no dependencies. Built by Front Porch, owned by DDE.
   Palette drawn from the DDE logo: navy / blue / cyan letterforms, amber bolt.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  /* ground */
  --bg: oklch(0.17 0.032 252);          /* deep navy, from the logo's dark D */
  --bg-raised: oklch(0.21 0.038 252);
  --bg-deep: oklch(0.13 0.028 254);
  /* ink */
  --ink: oklch(0.96 0.008 240);
  --ink-soft: oklch(0.82 0.018 240);
  --ink-faint: oklch(0.68 0.024 242);
  /* brand */
  --cyan: oklch(0.72 0.115 228);         /* logo E */
  --blue: oklch(0.56 0.1 251);           /* logo middle D */
  --amber: oklch(0.78 0.155 65);         /* the bolt — the one live wire */
  --amber-deep: oklch(0.68 0.16 55);
  /* lines */
  --trace: oklch(0.34 0.04 250);         /* schematic hairlines */
  --trace-bright: oklch(0.46 0.06 240);
  /* type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 118%;
  /* spacing rhythm */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 3rem;
  --space-5: 5rem;
  --space-6: 8rem;
  --measure: 68ch;
  /* z scale */
  --z-nav: 100;
  --z-skip: 200;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: oklch(0.13 0.028 254);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--display);
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
  accent-color: var(--amber);
  caret-color: var(--amber);
}

/* Browser surfaces carry the design too */
::selection { background: var(--amber); color: var(--bg-deep); }
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}
@supports (scrollbar-color: red blue) {
  html { scrollbar-color: var(--trace-bright) var(--bg-deep); }
}

h1, h2, h3 { text-wrap: balance; line-height: 1.08; }
p { text-wrap: pretty; }

a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: var(--z-skip);
  background: var(--amber); color: var(--bg-deep);
  padding: 0.6rem 1.2rem; font-weight: 700; text-decoration: none;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-head {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in oklab, var(--bg-deep) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--trace);
}
.site-head-inner {
  max-width: 72rem; margin-inline: auto;
  padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--ink);
  font-weight: 800; font-stretch: var(--wide);
  font-size: 1.05rem; letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand svg { flex: none; }
.brand .amp { color: var(--cyan); font-weight: 400; }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: clamp(0.9rem, 2.5vw, 2rem); }
.site-nav a {
  color: var(--ink-soft); text-decoration: none;
  font-weight: 600; font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 160ms cubic-bezier(0.16, 1, 0.3, 1);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--amber); }

.head-call {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--amber); text-decoration: none;
  font-weight: 800; font-size: 1rem; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.head-call:hover { color: var(--ink); }
.head-call svg { flex: none; }
@media (max-width: 60rem) { .head-call span { display: none; } }

/* Mobile nav: burger + dropdown panel, checkbox-driven, no JS */
.nav-toggle, .nav-burger { display: none; }
@media (max-width: 47rem) {
  .site-head-inner { position: relative; padding-block: 0.7rem; gap: 0.9rem; }
  .head-call { margin-left: auto; }
  .nav-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; flex: none;
    color: var(--ink); cursor: pointer;
    border: 1px solid var(--trace); border-radius: 10px;
  }
  .nav-toggle:checked ~ .nav-burger,
  .nav-toggle:checked + .site-nav ~ .nav-burger { background: var(--bg-raised); }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    margin-left: 0;
    background: #fff;
    border-bottom: 1px solid var(--trace);
    box-shadow: 0 18px 30px -18px oklch(0.3 0.05 260 / 0.35);
  }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 0.4rem 0 0.6rem; }
  .site-nav a {
    display: block; padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem);
    font-size: 1.02rem; border-bottom: 0;
  }
  .site-nav a[aria-current="page"] { border-bottom: 0; font-weight: 800; }
}

/* --------------------------------------------------------------------------
   Hero — skyline + single-line diagram
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 78%);
  overflow: clip;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 72rem; margin-inline: auto;
  padding: clamp(4rem, 10vw, 7.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(7rem, 14vw, 11rem);
}
.hero h1 {
  font-size: clamp(2.5rem, 7.2vw, 5.25rem);
  font-weight: 800;
  font-stretch: var(--wide);
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.hero h1 em {
  font-style: normal; color: var(--cyan);
}
.hero .lede {
  margin-top: var(--space-3);
  max-width: 52ch;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--ink-soft);
}
.hero-actions {
  margin-top: var(--space-4);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem;
}
.cred-line {
  margin-top: var(--space-4);
  color: var(--ink-faint); font-size: 0.95rem; font-weight: 500;
}
.cred-line b { color: var(--ink-soft); font-weight: 700; }

.skyline {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 1;
  width: 100%; height: auto; display: block;
  pointer-events: none;
}

/* the animated schematic trace across the hero */
.trace-line { position: absolute; inset-inline: 0; bottom: 0; z-index: 3; pointer-events: none; }
.trace-line path {
  fill: none; stroke: var(--amber); stroke-width: 2;
  stroke-dasharray: 2400; stroke-dashoffset: 2400;
  animation: trace-draw 2.4s cubic-bezier(0.22, 1, 0.36, 1) 300ms forwards;
  filter: drop-shadow(0 0 6px oklch(0.78 0.155 65 / 0.55));
}
.trace-line circle { fill: var(--amber); opacity: 0; animation: node-on 400ms ease-out 2.3s forwards; }
@keyframes trace-draw { to { stroke-dashoffset: 0; } }
@keyframes node-on { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .trace-line path { animation: none; stroke-dashoffset: 0; }
  .trace-line circle { animation: none; opacity: 1; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn-call {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--amber); color: var(--bg-deep);
  text-decoration: none; font-weight: 800;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-variant-numeric: tabular-nums;
  padding: 0.85rem 1.6rem; border-radius: 4px;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
              background 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-call:hover { background: var(--ink); color: var(--bg-deep); transform: translateY(-2px); }
.btn-call svg { flex: none; }

.btn-quiet {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--ink); text-decoration: none; font-weight: 700;
  border-bottom: 2px solid var(--trace-bright);
  padding-bottom: 0.15rem;
  transition: border-color 160ms ease-out;
}
.btn-quiet:hover { border-color: var(--amber); color: var(--ink); }

/* --------------------------------------------------------------------------
   Sections + schematic dividers
   -------------------------------------------------------------------------- */

.section {
  max-width: 72rem; margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem);
}
.section > h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 800; font-stretch: var(--wide);
  letter-spacing: -0.015em;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  max-width: 22ch;
}
.section > .section-intro {
  max-width: var(--measure);
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin-top: calc(-1 * clamp(1.25rem, 3vw, 2.25rem));
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

/* schematic divider: hairline with node + tick, like a single-line diagram */
.divider {
  max-width: 72rem; margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  height: 17px; position: relative;
}
.divider::before {
  content: ""; position: absolute; left: clamp(1.25rem, 4vw, 2.5rem); right: clamp(1.25rem, 4vw, 2.5rem);
  top: 8px; height: 1px; background: var(--trace);
}
.divider::after {
  content: ""; position: absolute; left: clamp(1.25rem, 4vw, 2.5rem); top: 4px;
  width: 9px; height: 9px; background: var(--bg);
  border: 1.5px solid var(--trace-bright); border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Service ledger — full-width rows, not cards
   -------------------------------------------------------------------------- */

.ledger { list-style: none; border-top: 1px solid var(--trace); }
.ledger li { border-bottom: 1px solid var(--trace); }
.ledger a {
  display: grid;
  grid-template-columns: minmax(11rem, 16rem) 1fr auto;
  align-items: baseline; gap: 1rem 2rem;
  padding: clamp(1.4rem, 3vw, 2.1rem) 0.25rem;
  text-decoration: none; color: var(--ink);
  transition: background 180ms ease-out;
}
.ledger a > * { transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1); }
.ledger a:hover { background: var(--bg-raised); }
.ledger a:hover > * { transform: translateX(0.9rem); }
@media (prefers-reduced-motion: reduce) {
  .ledger a > * { transition: none; }
  .ledger a:hover > * { transform: none; }
}
.ledger .svc {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800; font-stretch: var(--wide); letter-spacing: -0.01em;
}
.ledger .what { color: var(--ink-soft); max-width: 52ch; font-size: 1rem; }
.ledger .go { color: var(--amber); font-weight: 800; font-size: 1.3rem; }
svg.go { align-self: center; }
@media (max-width: 47rem) {
  .ledger a { grid-template-columns: 1fr auto; }
  .ledger .what { grid-column: 1 / -1; }
  svg.go { grid-row: 1; grid-column: 2; justify-self: end; }
}

/* --------------------------------------------------------------------------
   Project record — a build ledger with real numbers
   -------------------------------------------------------------------------- */

.projects { list-style: none; display: grid; gap: var(--space-2); }
.project {
  display: grid; gap: 0.4rem 2.5rem;
  grid-template-columns: 1fr;
  align-content: start;
  background: var(--bg-raised);
  border: 1px solid var(--trace);
  border-radius: 6px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
}
.project h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 800; font-stretch: var(--wide);
}
.project .where {
  color: var(--cyan); font-weight: 600; font-size: 0.98rem;
}
.project .fact {
  color: var(--ink-soft); max-width: var(--measure); margin-top: 0.35rem;
}
.project .spec {
  margin-top: 0.9rem;
  display: flex; flex-wrap: wrap; gap: 0.45rem 1.6rem;
  color: var(--ink-faint); font-size: 0.92rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.project .spec span { display: inline-flex; align-items: center; gap: 0.45rem; }

@media (min-width: 60rem) {
  .projects { grid-template-columns: repeat(6, 1fr); }
  .project:nth-child(1) { grid-column: span 4; }
  .project:nth-child(2) { grid-column: span 2; }
  .project:nth-child(3) { grid-column: span 2; }
  .project:nth-child(4) { grid-column: span 4; }
  .project:nth-child(5) { grid-column: span 6; }
}

/* --------------------------------------------------------------------------
   Statement band — Tried and True
   -------------------------------------------------------------------------- */

.statement {
  background: var(--bg-deep);
  border-block: 1px solid var(--trace);
}
.statement .section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.statement blockquote {
  font-size: clamp(1.45rem, 3.2vw, 2.3rem);
  font-weight: 650; font-stretch: 105%;
  line-height: 1.3; letter-spacing: -0.01em;
  max-width: 30ch;
}
.statement blockquote strong { color: var(--amber); font-weight: 800; }
.statement figcaption {
  margin-top: var(--space-3);
  color: var(--ink-faint); font-weight: 600; font-size: 0.98rem;
}

/* --------------------------------------------------------------------------
   Prose pages
   -------------------------------------------------------------------------- */

.page-head {
  background: linear-gradient(180deg, var(--bg-deep), var(--bg));
  border-bottom: 1px solid var(--trace);
}
.page-head .section { padding-block: clamp(3rem, 7vw, 5rem); }
.page-head h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800; font-stretch: var(--wide); letter-spacing: -0.018em;
  max-width: 20ch;
}
.page-head .lede {
  margin-top: var(--space-3); max-width: 54ch;
  color: var(--ink-soft); font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.prose { max-width: var(--measure); }
.prose h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800; font-stretch: var(--wide);
  margin: var(--space-5) 0 var(--space-2);
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: var(--space-2); color: var(--ink-soft); }
.prose p strong { color: var(--ink); }
.prose ul { margin: var(--space-2) 0 var(--space-3); padding-left: 1.1rem; color: var(--ink-soft); }
.prose li { margin-bottom: 0.55rem; padding-left: 0.35rem; }
.prose li::marker { color: var(--amber); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 55rem) { .contact-grid { grid-template-columns: 1.2fr 1fr; } }

.contact-big { list-style: none; display: grid; gap: var(--space-3); }
.contact-big .label { color: var(--ink-faint); font-weight: 600; font-size: 0.92rem; }
.contact-big a {
  color: var(--ink); text-decoration: none;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800; font-stretch: var(--wide);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  border-bottom: 3px solid var(--trace-bright);
  transition: border-color 160ms ease-out;
}
.contact-big a:hover { border-color: var(--amber); }
.contact-big .email a { font-size: clamp(1.15rem, 2.6vw, 1.7rem); }

address { font-style: normal; color: var(--ink-soft); line-height: 1.8; }
address b { color: var(--ink); }

/* --------------------------------------------------------------------------
   Call band + footer
   -------------------------------------------------------------------------- */

.call-band { background: var(--bg-deep); border-top: 1px solid var(--trace); }
.call-band .section {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.call-band h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800; font-stretch: var(--wide);
  max-width: 16ch;
}
.call-band .btn-call { margin-left: auto; }
@media (max-width: 47rem) { .call-band .btn-call { margin-left: 0; } }

.site-foot { background: var(--bg-deep); border-top: 1px solid var(--trace); }
.foot-inner {
  max-width: 72rem; margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem);
  display: grid; gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 55rem) { .foot-inner { grid-template-columns: 2fr 1fr 1fr; } }
.foot-inner h3 { font-size: 0.95rem; font-weight: 700; color: var(--ink-faint); margin-bottom: 0.8rem; }
.foot-inner ul { list-style: none; display: grid; gap: 0.5rem; }
.foot-inner a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.foot-inner a:hover { color: var(--ink); text-decoration: underline; }
.foot-brand { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.8; }
.foot-brand .brand { margin-bottom: 0.9rem; }
.foot-legal {
  border-top: 1px solid var(--trace);
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  max-width: 72rem; margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem;
  color: var(--ink-faint); font-size: 0.88rem;
}
.foot-legal b { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Reveal on scroll — content visible by default, motion is additive
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rise {
      animation: rise-in both cubic-bezier(0.22, 1, 0.36, 1);
      animation-timeline: view();
      animation-range: entry 0% entry 42%;
    }
    @keyframes rise-in {
      from { opacity: 0.25; transform: translateY(18px); }
      to { opacity: 1; transform: none; }
    }
  }
}


/* ==========================================================================
   Light theme — client-directed revision (5 Aug 2026), home page first.
   White ground, navy ink, blues as the accents; amber lives only in the logo.
   Scoped to body.light so not-yet-revised pages keep the previous skin.
   ========================================================================== */

html:has(body.light) { color-scheme: light; scrollbar-color: oklch(0.8 0.02 250) #fff; }

body.light {
  --bg: oklch(1 0 0);
  --bg-raised: oklch(0.963 0.006 250);
  --ink: oklch(0.26 0.05 261);
  --ink-soft: oklch(0.38 0.04 260);
  --ink-faint: oklch(0.51 0.025 258);
  --navy: oklch(0.32 0.085 262);
  --navy-deep: oklch(0.23 0.065 263);
  --cyan: oklch(0.48 0.105 250);
  --trace: oklch(0.905 0.01 250);
  --trace-bright: oklch(0.795 0.02 250);
  accent-color: var(--navy);
  caret-color: var(--navy);
}
body.light ::selection { background: var(--navy); color: #fff; }
body.light :focus-visible { outline-color: var(--navy); }

body.light .site-head {
  background: color-mix(in oklab, #fff 92%, transparent);
  border-bottom-color: var(--trace);
}
.brand-logo { height: 46px; width: auto; display: block; }
body.light .site-nav a[aria-current="page"] { border-bottom-color: var(--navy); }
body.light .head-call { color: var(--navy); }
body.light .head-call:hover { color: var(--cyan); }

.head-mail {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--navy); text-decoration: none;
  font-weight: 700; font-size: 0.95rem; white-space: nowrap;
}
.head-mail:hover { color: var(--cyan); }
.head-mail svg { flex: none; }
@media (max-width: 66rem) { .head-mail span { display: none; } }

body.light .btn-call { background: var(--navy); color: #fff; }
body.light .btn-call:hover { background: var(--navy-deep); color: #fff; }
body.light .btn-quiet { color: var(--ink); border-bottom-color: var(--trace-bright); }
body.light .btn-quiet:hover { border-color: var(--navy); }

/* Soft hero: the light page as before, Brisbane breathing gently behind it */
body.light .hero-soft {
  position: relative;
  overflow: clip;
  background: #fff;
  min-height: calc(100svh - 76px);
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 60%;
}
/* One journey, then rest: a 45s cinematic settle, never a loop */
.hero-bg {
  animation: hero-settle 45s cubic-bezier(0.22, 0.6, 0.24, 1) forwards;
  will-change: transform;
}
@keyframes hero-settle {
  from { transform: scale(1.14) translate(2.2%, 1.6%); }
  to { transform: scale(1.03) translate(0, 0); }
}
/* the copy arrives with the same calm: one staggered rise on load */
.hero-soft h1, .hero-soft .lede, .hero-soft .hero-actions, .hero-soft .cred-line {
  animation: hero-copy-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-soft .lede { animation-delay: 0.12s; }
.hero-soft .hero-actions { animation-delay: 0.24s; }
.hero-soft .cred-line { animation-delay: 0.36s; }
@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; transform: scale(1.03); }
  .hero-soft h1, .hero-soft .lede, .hero-soft .hero-actions, .hero-soft .cred-line { animation: none; }
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, oklch(1 0 0 / 0.22) 0%, oklch(1 0 0 / 0.08) 45%, oklch(1 0 0 / 0) 70%),
    linear-gradient(180deg, oklch(1 0 0 / 0.1) 0%, transparent 30%, transparent 88%, oklch(1 0 0 / 0.55) 97%, #fff 100%);
}
body.light .hero-soft .hero-inner {
  position: relative; z-index: 2;
  max-width: 72rem; margin-inline: auto;
  padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(4.5rem, 9vw, 7rem);
}
body.light .hero-soft .lede { color: var(--ink); font-weight: 550; }
body.light .hero-soft .cred-line {
  display: inline-block;
  background: oklch(1 0 0 / 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  color: var(--ink-soft);
}
body.light .hero-soft .cred-line b { color: var(--ink); }
body.light .ledger .go, body.light .ledger svg.go { color: var(--cyan); }
body.light .ledger { border-top: 0; }
body.light .ledger li:last-child { border-bottom: 0; }
body.light .ledger a {
  grid-template-columns: 76px minmax(10rem, 14rem) 1fr auto;
  align-items: center;
}
.ledger .ic { width: 60px; height: 60px; }
.panel-ic { width: 64px; height: 64px; margin-bottom: 1.1rem; }
@media (max-width: 47rem) {
  body.light .ledger a {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 0.9rem;
    min-width: 0;
  }
  body.light .ledger .ic { width: 56px; height: 56px; flex: none; }
  body.light .ledger .svc { flex: 1; min-width: 0; font-size: 1.25rem; }
  body.light .ledger svg.go { display: none; }
  body.light .ledger .what { flex: 0 0 100%; min-width: 0; max-width: none; order: 5; }
}

/* Experience — credibility zone: copy left, service breadth right, proof strip under */
.exp-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 55rem) { .exp-grid { grid-template-columns: 0.9fr 1.25fr; align-items: center; } }
@media (max-width: 55rem) { .exp-grid .section-lead { max-width: 46ch; } }
.exp-grid.top { align-items: start; }
@media (min-width: 55rem) { .exp-grid.top { grid-template-columns: 1fr 1fr; align-items: start; } }

/* two-tone section heading with the trace signature */
body.light .section > h2 em { font-style: normal; color: var(--cyan); }
.h-trace { position: relative; padding-bottom: 1.4rem; }
.h-trace::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 74px; height: 2px; background: var(--cyan);
}
.h-trace::before {
  content: ""; position: absolute; left: 78px; bottom: -3px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff; border: 2px solid var(--cyan);
}
.section-lead {
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  font-weight: 650; color: var(--ink);
  line-height: 1.45; text-wrap: pretty;
  max-width: 30ch;
  margin-bottom: 1.1rem;
}
.section-lead strong { color: var(--cyan); font-weight: 800; }
.section-follow { color: var(--ink-soft); max-width: 44ch; }

/* The services board — every switch on */
.board {
  border: 2px solid var(--navy);
  border-radius: 16px;
  background: #fff;
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 2.5vw, 1.75rem) clamp(0.9rem, 2vw, 1.25rem);
  box-shadow:
    0 1px 2px oklch(0.3 0.05 260 / 0.05),
    0 16px 40px -18px oklch(0.3 0.06 260 / 0.16);
}
.board-label {
  position: absolute; top: 0; left: clamp(1.25rem, 2.5vw, 1.75rem);
  transform: translateY(-50%);
  background: #fff; padding: 0 0.7rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em;
  color: var(--ink-faint);
}
.board-grid { display: grid; grid-template-columns: 1fr; gap: 0 2rem; }
@media (min-width: 34rem) { .board-grid { grid-template-columns: 1fr 1fr; } }
.breaker {
  display: flex; align-items: center; gap: 0.95rem;
  padding: 0.7rem 0.15rem;
  border-bottom: 1px solid var(--trace);
}
.breaker:nth-last-child(-n+1) { border-bottom: 0; }
@media (min-width: 34rem) { .breaker:nth-last-child(-n+2) { border-bottom: 0; } }
.breaker .tile {
  flex: none; width: 54px; height: 54px;
  border: 2px solid var(--navy); border-radius: 10px;
  display: grid; place-items: center;
  position: relative; background: #fff;
}
.breaker .tile img { width: 38px; height: 38px; }
.breaker .tile::after {
  content: ""; position: absolute; top: 4px; right: 4px;
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.72 0.15 60);
}
.breaker > span:last-child { font-weight: 650; font-size: 0.95rem; line-height: 1.3; }

.badge-strip {
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--trace);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1.25rem 2.75rem;
}
.badge-strip .fact { font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.badge-strip img { height: 46px; width: auto; }

/* Two-up: the promise pair on the palest wash */
.two-up { background: var(--bg-raised); border-block: 1px solid var(--trace); }
.two-up .section {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 55rem) { .two-up .section { grid-template-columns: 1fr 1fr; } }
.two-up article {
  background: #fff;
  border: 1px solid var(--trace);
  border-radius: 14px;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-shadow:
    0 1px 2px oklch(0.3 0.05 260 / 0.05),
    0 16px 40px -18px oklch(0.3 0.06 260 / 0.18);
}
.two-up h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800; font-stretch: var(--wide);
  padding-bottom: 1.2rem; margin-bottom: 1.4rem;
  position: relative;
}
.two-up h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 58px; height: 2px; background: var(--cyan);
}
.two-up h2::before {
  content: ""; position: absolute; left: 62px; bottom: -3px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff; border: 2px solid var(--cyan);
}
.two-up .panel-lead {
  font-size: clamp(1.15rem, 1.9vw, 1.35rem);
  font-weight: 650;
  color: var(--ink);
  line-height: 1.45;
  text-wrap: pretty;
}
.two-up p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 58ch; }
.two-up p:last-child { margin-bottom: 0; }

/* Contact band — the navy closer */
.contact-band {
  background: var(--navy);
  --ink: oklch(0.97 0.008 250);
  --ink-soft: oklch(0.86 0.02 250);
  --ink-faint: oklch(0.75 0.03 250);
  --trace: oklch(0.44 0.06 260);
}
.contact-band .section {
  padding-block: clamp(3rem, 6vw, 4.5rem);
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 55rem) { .contact-band .section { grid-template-columns: 1.2fr 1fr; } }
.contact-band h2 {
  color: var(--ink);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800; font-stretch: var(--wide);
  max-width: 16ch;
}
.contact-links { list-style: none; display: grid; gap: 1.2rem; justify-items: start; }
.contact-links a {
  color: #fff; text-decoration: none;
  font-weight: 800; font-stretch: var(--wide);
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  border-bottom: 3px solid oklch(0.5 0.08 255);
  transition: border-color 160ms ease-out;
}
.contact-links a:hover { border-color: #fff; }
.contact-links .em a { font-size: clamp(1.05rem, 2.2vw, 1.45rem); }
.contact-band address { color: var(--ink-soft); }

/* Footer stays the dark navy close on light pages */
body.light .site-foot {
  background: var(--navy-deep);
  --ink: oklch(0.96 0.008 240);
  --ink-soft: oklch(0.84 0.02 245);
  --ink-faint: oklch(0.7 0.025 245);
  --trace: oklch(0.36 0.045 255);
}
body.light .site-foot .amp { color: oklch(0.72 0.115 228); }
.foot-logo {
  background: #fff;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  width: fit-content;
}
.foot-logo .brand-logo { height: 52px; }

/* Mobile: What-we-do becomes a swipe-through (CSS scroll-snap, no JS) */
@media (max-width: 47rem) {
  body.light .ledger {
    border-top: 0;
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0.25rem 0.25rem 0.6rem;
  }
  body.light .ledger::-webkit-scrollbar { display: none; }
  body.light .ledger li {
    flex: 0 0 84%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--trace); border-radius: 10px;
    scroll-snap-align: start;
  }
  body.light .ledger a { padding: 1.25rem; height: 100%; align-items: start; }
}


/* --------------------------------------------------------------------------
   Light inner pages
   -------------------------------------------------------------------------- */

body.light .page-head { background: var(--bg-raised); border-bottom-color: var(--trace); }
body.light .page-head h1 em { font-style: normal; color: var(--cyan); }
body.light .call-band {
  background: var(--navy); border-top: 0;
  color: var(--ink);
  --ink: oklch(0.97 0.008 250);
  --ink-soft: oklch(0.86 0.02 250);
  --ink-faint: oklch(0.75 0.03 250);
  --trace: oklch(0.44 0.06 260);
}
body.light .call-band .btn-call { background: #fff; color: var(--navy); }
body.light .call-band .btn-call:hover { background: var(--cyan); color: #fff; }
body.light .prose li::marker { color: var(--cyan); }

/* --------------------------------------------------------------------------
   Key achievements (About) — quiet stat blocks, no chronology
   -------------------------------------------------------------------------- */

.achieve { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 1.5rem; }
@media (min-width: 55rem) { .achieve { grid-template-columns: repeat(4, 1fr); } }
.anode { padding-left: 1.25rem; border-left: 1px solid var(--trace-bright); }
.anode .big {
  display: block; font-weight: 800; font-stretch: var(--wide);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ink); line-height: 1.1;
  letter-spacing: -0.015em;
}
.anode .sub {
  display: block; color: var(--ink-faint);
  font-size: 0.92rem; font-weight: 600; margin-top: 0.45rem;
  text-wrap: balance; max-width: 24ch;
}

/* --------------------------------------------------------------------------
   Locate panel (About) — the drawn map
   -------------------------------------------------------------------------- */

.locate {
  border: 1px solid var(--trace);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 1px 2px oklch(0.3 0.05 260 / 0.05),
    0 16px 40px -18px oklch(0.3 0.06 260 / 0.16);
}
.map-link { display: block; }
.map-svg { display: block; width: 100%; height: auto; }
.map-svg text { font-family: var(--display); }
.locate-cta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1rem 2rem;
  padding: 1.25rem clamp(1.25rem, 2.5vw, 2rem);
  border-top: 1px solid var(--trace);
}
.locate-cta address b { color: var(--ink); }
.btn-directions { margin-left: auto; font-size: 1.05rem; padding: 0.7rem 1.3rem; }
@media (max-width: 47rem) { .btn-directions { margin-left: 0; } }

/* --------------------------------------------------------------------------
   Promise band (home) — Why you'll love us, full width
   -------------------------------------------------------------------------- */

.promise .section { grid-template-columns: 1fr; }
.promise-panel { position: relative; overflow: hidden; }
.promise-cols { display: grid; gap: 0.5rem 2.75rem; position: relative; }
@media (min-width: 55rem) { .promise-cols { grid-template-columns: 1fr 1fr; } }
.promise-panel .wm {
  position: absolute; right: -3rem; bottom: -3.5rem;
  width: min(300px, 42%); height: auto;
  opacity: 0.09; pointer-events: none;
}


/* --------------------------------------------------------------------------
   Capabilities page — capability list + alternating service sections
   -------------------------------------------------------------------------- */

/* the distribution spine: one supply, six circuits */
.spine {
  list-style: none; position: relative;
  display: grid; gap: 1.05rem;
  padding-left: 2.4rem;
  align-self: center;
  justify-self: start;
}
.spine::before {
  content: ""; position: absolute;
  left: 6px; top: 0.7em; bottom: 0.7em; width: 2.5px;
  border-radius: 2px;
  background: var(--cyan);
}
.spine li {
  position: relative;
  font-weight: 700; color: var(--ink);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  font-stretch: 108%;
}
.spine li::before {
  content: ""; position: absolute;
  left: calc(-2.4rem + 7px); top: 50%;
  width: 1rem; height: 2px;
  background: var(--cyan);
  transform: translateY(-50%);
}
.spine li::after {
  content: ""; position: absolute;
  left: calc(-2.4rem + 7px + 0.72rem); top: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff; border: 2px solid var(--cyan);
  transform: translateY(-50%);
}

#fit-out, #construction, #maintenance { scroll-margin-top: 5.5rem; }

.cap-sec {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 55rem) {
  .cap-sec { grid-template-columns: 1.1fr 0.9fr; }
  .cap-sec.flip .cap-copy { order: 2; }
  .cap-sec.flip .cap-photo { order: 1; }
}
.cap-ic { width: clamp(96px, 12vw, 132px); height: auto; margin-bottom: 1.25rem; }
.cap-photo { position: relative; }
.cap-photo img, .cap-photo svg {
  width: 100%; height: auto; display: block;
  border-radius: 18px;
  box-shadow:
    0 2px 6px oklch(0.3 0.06 260 / 0.12),
    0 32px 70px -28px oklch(0.3 0.08 260 / 0.5);
}
.cap-photo::before {
  content: ""; position: absolute; z-index: -1;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 2px solid var(--cyan);
  border-radius: 18px;
}
.cap-sec.flip .cap-photo::before { inset: 1.1rem 1.1rem -1.1rem -1.1rem; }
.cap-photo::after {
  content: ""; position: absolute;
  right: -1.1rem; top: 40%;
  width: 9px; height: 9px; border-radius: 50%;
  background: #fff; border: 2px solid var(--cyan);
  transform: translate(50%, -50%);
}
.cap-sec.flip .cap-photo::after { right: auto; left: -1.1rem; transform: translate(-50%, -50%); }
@media (max-width: 55rem) {
  .cap-photo::before { inset: 0.8rem -0.55rem -0.8rem 0.8rem; }
  .cap-sec.flip .cap-photo::before { inset: 0.8rem -0.55rem -0.8rem 0.8rem; }
  .cap-photo::after { right: -0.55rem; }
  .cap-sec.flip .cap-photo::after { right: -0.55rem; left: auto; transform: translate(50%, -50%); }
}


/* --------------------------------------------------------------------------
   The drawing sheet (Capabilities) — scope of works as a stamped plan
   -------------------------------------------------------------------------- */

.sheet {
  --sp: clamp(1.75rem, 4vw, 3rem);
  position: relative;
  border: 1.5px solid var(--navy);
  border-radius: 6px;
  padding: var(--sp);
  background-color: #fff;
  background-image:
    linear-gradient(oklch(0.9665 0.006 250) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.9665 0.006 250) 1px, transparent 1px);
  background-size: 28px 28px;
}
.sheet-label {
  position: absolute; top: 0; left: var(--sp);
  transform: translateY(-50%);
  background: #fff; padding: 0 0.7rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em;
  color: var(--ink-faint);
}
.sheet .corner { position: absolute; width: 14px; height: 14px; border: 2px solid var(--cyan); }
.sheet .c1 { top: -2px; left: -2px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.sheet .c2 { top: -2px; right: -2px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.sheet .c3 { bottom: -2px; left: -2px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.sheet .c4 { bottom: -2px; right: -2px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.sheet-grid { position: relative; }
.tblock {
  margin: 2rem calc(-1 * var(--sp)) calc(-1 * var(--sp)) auto;
  width: fit-content;
  border-top: 1.5px solid var(--navy);
  border-left: 1.5px solid var(--navy);
  border-bottom-right-radius: 6px;
  background: #fff;
  display: grid; grid-template-columns: auto auto;
  font-size: 0.78rem;
  overflow: hidden;
}
.tblock div { padding: 0.42rem 1rem; border-top: 1px solid var(--trace); }
.tblock div:nth-child(-n+2) { border-top: 0; }
.tblock div:nth-child(odd) { color: var(--ink-faint); font-weight: 600; border-right: 1px solid var(--trace); }
.tblock b { font-weight: 800; color: var(--ink); }

/* the spine draws itself in as it enters the viewport */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .spine::before {
      transform-origin: top;
      animation: spine-grow both cubic-bezier(0.22, 1, 0.36, 1);
      animation-timeline: view();
      animation-range: entry 5% entry 55%;
    }
    @keyframes spine-grow {
      from { transform: scaleY(0); }
      to { transform: scaleY(1); }
    }
  }
}


/* --------------------------------------------------------------------------
   Projects showcase — named work, no dates
   -------------------------------------------------------------------------- */

.proj-sec h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
.proj-sec .where {
  color: var(--cyan); font-weight: 700; font-size: 1.02rem;
  margin: 0.9rem 0 1.1rem;
}
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.25rem; }
.tags li {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1.5px solid var(--trace-bright);
  border-radius: 999px;
  padding: 0.28rem 0.85rem;
  font-size: 0.85rem; font-weight: 700; color: var(--ink);
  white-space: nowrap;
}
.tags li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
}
.pspecs { display: flex; flex-wrap: wrap; gap: 1.25rem 2.25rem; margin-top: 1.5rem; }
.pspec { padding-left: 1rem; border-left: 1px solid var(--trace-bright); }
.pspec .num {
  display: block; font-weight: 800; font-stretch: var(--wide);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ink); line-height: 1.1; letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.pspec .lbl {
  display: block; color: var(--ink-faint);
  font-size: 0.88rem; font-weight: 600; margin-top: 0.25rem;
}


/* --------------------------------------------------------------------------
   Project light matrix — real quantities as lit windows
   -------------------------------------------------------------------------- */

.msvg text { font-family: var(--display); }
.matrix .win circle { fill: oklch(0.8 0.15 70); }
.matrix .win g { filter: drop-shadow(0 0 5px oklch(0.78 0.155 65 / 0.6)); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .matrix .win g { opacity: 0.12; animation: row-on both ease-out; animation-timeline: view(); }
    @keyframes row-on { to { opacity: 1; } }
    .matrix .ra1 { animation-range: entry 16% entry 36%; }
    .matrix .rb1 { animation-range: entry 20% entry 40%; }
    .matrix .ra2 { animation-range: entry 24% entry 44%; }
    .matrix .rb2 { animation-range: entry 28% entry 48%; }
    .matrix .ra3 { animation-range: entry 32% entry 52%; }
    .matrix .rb3 { animation-range: entry 36% entry 56%; }
    .matrix .ra4 { animation-range: entry 40% entry 60%; }
    .matrix .rb4 { animation-range: entry 44% entry 64%; }
    .matrix .ra5 { animation-range: entry 48% entry 68%; }
    .matrix .rb5 { animation-range: entry 52% entry 72%; }
  }
}


/* --------------------------------------------------------------------------
   Poster numerals (Projects) — the number is the artwork
   -------------------------------------------------------------------------- */

.bignum {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
}
.bignum .n {
  font-weight: 230; font-stretch: 100%;
  font-size: clamp(8rem, 18vw, 15.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}
.bignum .sep {
  position: relative;
  width: 62px; height: 1.5px;
  background: var(--trace-bright);
  margin: 1.7rem 0 1.2rem;
}
.bignum .sep::after {
  content: ""; position: absolute;
  right: -9px; top: 50%;
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--cyan);
  transform: translateY(-50%);
}
.bignum .u {
  font-weight: 700; font-stretch: 106%;
  font-size: clamp(1.05rem, 1.9vw, 1.4rem);
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.bignum.wide .n { font-size: clamp(4.75rem, 10vw, 8.5rem); line-height: 1.05; }
@media (min-width: 55rem) {
  .cap-sec.flip .bignum { order: 1; }
}


/* Contact page: side details stack */
.contact-side { display: grid; gap: 1.5rem; align-content: start; }


/* --------------------------------------------------------------------------
   Manifesto band (About) — Tried and true at statement scale
   -------------------------------------------------------------------------- */

.story { display: grid; grid-template-columns: 1fr; gap: 2rem 4rem; }
@media (min-width: 55rem) {
  .story { grid-template-columns: 1fr 1.05fr; align-items: center; }
}
.story-left h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 800; font-stretch: var(--wide);
  letter-spacing: -0.015em;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}
body.light .story-left h2 em { font-style: normal; color: var(--cyan); }
.story .section-lead { max-width: 30ch; margin-bottom: 0; }
.story .section-follow { max-width: 52ch; }
.story-body { max-width: 46ch; }
.story-body p {
  font-size: 1.13rem;
  line-height: 1.85;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.story-body strong { color: var(--ink); font-weight: 700; }
.story-body a {
  color: var(--cyan); font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
}
.story-body a:hover { color: var(--navy); }

.manifesto {
  background: var(--navy);
  color: oklch(0.94 0.012 250);
  --ink: oklch(0.97 0.008 250);
  --ink-faint: oklch(0.78 0.03 245);
  --trace: oklch(0.44 0.06 260);
}
.manifesto .section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.manifesto h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800; font-stretch: var(--wide);
  color: var(--ink);
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}
.manifesto .h-trace::before { background: var(--navy); }
.manifesto .creed {
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 600;
  line-height: 1.55;
  max-width: 52ch;
  color: oklch(0.88 0.02 248);
  text-wrap: pretty;
}
.manifesto .creed strong {
  color: oklch(0.82 0.13 70);
  font-weight: 750;
}


/* Dark-photo hero: white copy over the dusk skyline, dark edge scrims, crisp bottom edge */
body.light .hero-soft .hero-veil {
  background:
    linear-gradient(90deg, oklch(0.23 0.05 262 / 0.62) 0%, oklch(0.23 0.05 262 / 0.34) 42%, oklch(0.23 0.05 262 / 0) 68%),
    linear-gradient(180deg, oklch(0.23 0.05 262 / 0.3) 0%, transparent 26%, transparent 74%, oklch(0.2 0.05 262 / 0.52) 100%);
}
body.light .hero-soft h1 { color: #fff; }
body.light .hero-soft h1 em { color: oklch(0.78 0.1 228); }
body.light .hero-soft .lede { color: oklch(0.93 0.012 240); font-weight: 480; }
body.light .hero-soft .btn-call { background: #fff; color: var(--navy); }
body.light .hero-soft .btn-call:hover { background: var(--cyan); color: #fff; }
body.light .hero-soft .btn-quiet { color: #fff; border-bottom-color: oklch(1 0 0 / 0.55); }
body.light .hero-soft .btn-quiet:hover { border-color: #fff; color: #fff; }
body.light .hero-soft .cred-line {
  background: oklch(0.24 0.05 262 / 0.5);
  color: oklch(0.92 0.012 240);
}
body.light .hero-soft .cred-line b { color: #fff; }


/* Mobile header: calmer brand, phone number promoted to a tappable pill; centred licence strip */
@media (max-width: 47rem) {
  body.light .brand-logo { height: 38px; }
  body.light .site-head .head-call {
    background: var(--navy); color: #fff;
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    font-size: 0.92rem; font-weight: 700;
  }
  body.light .site-head .head-call span { display: inline; }
  body.light .site-head .head-call:hover { background: var(--navy-deep); color: #fff; }
  body.light .nav-burger { color: var(--navy); border-color: oklch(0.85 0.02 250); }
  .badge-strip { justify-content: center; text-align: center; gap: 1rem 1.75rem; }
}
