:root {
  /* Brand palette (brief Â§Color System) â€” light-led application */
  --navy:        #0E1A2B;   /* Authoritative Navy â€” now the primary text/structure */
  --ink:         #1A1A1D;   /* Deep Foundation â€” reserved for CTA text + footer   */
  --orange:      #FF5722;   /* Modern Activation â€” CTAs only                      */
  --neutral:     #F7F7F8;   /* Soft Neutral â€” alternating bands                   */
  --white:       #FFFFFF;
  --gray:        #8A8F98;   /* Muted Gray â€” on dark only                          */

  /* AA-safe derivations */
  --orange-hi:   #FF7043;
  /* Filled CTA. Near-black on #FF5722 passes WCAG (5.5:1) but scores APCA Lc 44
     â€” below even the large-text floor â€” so it reads muddy. White on this deeper
     tone is 5.2:1 WCAG *and* APCA Lc 80. Vivid #FF5722 stays the accent colour
     for rules, dots, icons and other non-text graphics. */
  --orange-cta:       #C2410C;
  --orange-cta-hover: #A83607;
  --orange-deep: #C2410C;   /* orange text/links on light â€” 5.2:1 on white */
  --slate:       #55595F;   /* body secondary on light â€” 7.1:1 on white    */
  --tint:        #FFF4F0;   /* soft orange wash for highlight panels       */
  --tint-navy:   #EEF2F7;
  --line:        #E3E5E9;
  --line-soft:   #EFF1F4;

  /* Type â€” Poppins display (warmer, rounder) + Inter body.
     NOTE: a deliberate departure from the brand guide's Inter-only spec. */
  --font-display: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-display: clamp(2.5rem, 1.35rem + 4.6vw, 4.25rem);
  --fs-h2:      clamp(1.875rem, 1.2rem + 2.6vw, 2.75rem);
  --fs-h3:      clamp(1.1875rem, 1.06rem + .5vw, 1.4375rem);
  --fs-body:    1.0625rem;
  --fs-lead:    clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  --fs-caption: .8125rem;

  /* Spacing â€” density 3/10, spacious (24â€“96px) */
  --s-1: .75rem; --s-2: 1.5rem; --s-3: 2rem;  --s-4: 3rem;
  --s-5: 4rem;   --s-6: 6rem;   --s-7: 8rem;  --s-8: 12rem;
  --section-y: clamp(3.25rem, 6vw, 6rem);

  --wrap: 1480px;
  --radius:    12px;        /* soft, approachable â€” not "engineered" */
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(14,26,43,.04), 0 4px 12px -8px rgba(14,26,43,.14);
  --shadow:    0 2px 4px rgba(14,26,43,.04), 0 14px 34px -18px rgba(14,26,43,.22);
  --shadow-lg: 0 4px 8px rgba(14,26,43,.05), 0 28px 60px -28px rgba(14,26,43,.30);

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: 220ms;
}

/* --- Reset --- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img,svg { display: block; max-width: 100%; }
img { height: auto; }
h1,h2,h3,h4,p,ul,ol,figure,blockquote { margin: 0; }
ul,ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--orange); }

/* --- Layout --- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(100% - 5rem, var(--wrap)); }}

.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--neutral); }

/* --- Type --- */
h1,h2,h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: var(--fs-display); letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.01em; }

.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--slate); }        /* 8.9:1 on navy */
.hl { color: var(--orange-deep); }

.section-head { max-width: 60ch; margin-bottom: clamp(2.25rem, 3.4vw, 3.25rem); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head p { margin-top: var(--s-2); }
/* That rule is meant for the lead paragraph that follows the heading, but the
   eyebrow is a <p> too â€” so every section-head was carrying 24px of dead space
   above its first element, on top of the section padding. */
.section-head > p:first-child { margin-top: 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .875rem 1.75rem;
  font-size: 1rem; font-weight: 600; letter-spacing: -.005em;
  border-radius: var(--radius-pill);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
  cursor: pointer;
}
.btn--primary { background: var(--orange-cta); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--orange-cta-hover); box-shadow: var(--shadow); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }

.btn--outline { border: 1.5px solid var(--line); color: var(--navy); background: var(--white); }
.btn--outline:hover { border-color: var(--navy); background: var(--neutral); }

.btn--sm { min-height: 46px; padding: .625rem 1.25rem; font-size: .9375rem; }
.btn .ico { width: 17px; height: 17px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-1); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; font-weight: 600; color: var(--orange-deep);
  transition: gap var(--dur) var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: .8125rem; }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--orange-cta); color: var(--white);
  padding: .875rem 1.5rem; font-weight: 600; border-radius: var(--radius);
  transition: top 150ms var(--ease);
}
.skip:focus { top: 1rem; }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header .wrap { position: relative; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); min-height: 84px; }
.nav__logo { display: flex; align-items: center; gap: .625rem; flex: none; min-height: 44px; }
.nav__logo .mark { width: 34px; height: 34px; }
.nav__logo .word { width: 132px; }

.nav__links { display: none; align-items: center; gap: var(--s-3); }
.nav__links a {
  font-size: .9375rem; font-weight: 500; color: var(--slate);
  padding: .5rem 0; min-height: 44px;
  display: inline-flex; align-items: center; position: relative;
  transition: color var(--dur) var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--orange); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__links a:hover { color: var(--navy); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: none; }
@media (min-width: 1040px) { .nav__links, .nav__cta { display: flex; }}

.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -.5rem;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--navy);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after  { transform: translateY(4px); }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(0); }

.nav__panel { display: none; border-top: 1px solid var(--line-soft); padding: var(--s-1) 0 var(--s-2); }
.nav__panel.is-open { display: block; }
.nav__panel a { display: block; padding: .9375rem 0; font-weight: 500; border-bottom: 1px solid var(--line-soft); }
.nav__panel .btn { width: 100%; margin-top: var(--s-2); }

/* --- Hero --------------------------------------------------------------- */
.hero { padding-block: clamp(2.5rem, 4.5vw, 4.25rem) clamp(3rem, 5.5vw, 5rem); position: relative; overflow: hidden; }
.hero__grid { display: grid; gap: clamp(3rem, 5vw, 4.5rem); align-items: center; }
/* The hero photograph is the field itself (see the A-layer), so the grid runs a
   single track and the copy is capped instead. The uncovered right-hand side is
   not empty space â€” it is what lets the bridge and the trucks read. */
.hero__copy { max-width: 40rem; }
@media (min-width: 1200px) { .hero__copy { max-width: 44rem; }}
.hero h1 { margin-bottom: var(--s-2); text-wrap: balance; }
.hero .lead { max-width: 52ch; margin-bottom: var(--s-3); }

/* --- Generic cards ------------------------------------------------------ */
.grid { display: grid; gap: var(--s-2); }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 680px)  { .grid--3 { grid-template-columns: repeat(2,1fr); }}
@media (min-width: 1020px) { .grid--3 { grid-template-columns: repeat(3,1fr); }}

.card {
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: clamp(1.75rem,2.6vw,2.25rem);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { margin-bottom: .625rem; }
.card p { color: var(--slate); }

/* --- Split (mission / culture) ------------------------------------------ */
.split { display: grid; gap: clamp(2.5rem,5vw,4.5rem); align-items: center; }
@media (min-width: 940px) { .split { grid-template-columns: 1fr 1fr; }}
.split__body h2 { margin-bottom: var(--s-2); max-width: 18ch; }
.split__body p { max-width: 58ch; }
.split__body p + p { margin-top: var(--s-1); }
.split__body .btn-row, .split__body .link-arrow { margin-top: var(--s-2); }

/* Checklist */
.checks { margin-top: var(--s-2); display: grid; gap: .875rem; }
.checks li { display: flex; gap: .75rem; align-items: flex-start; color: var(--slate); }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--orange-deep); margin-top: 1px; }

/* --- Steps (numbered, soft) --------------------------------------------- */
.steps { display: grid; gap: var(--s-2); grid-template-columns: 1fr; }
@media (min-width: 680px)  { .steps { grid-template-columns: repeat(2,1fr); }}
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4,1fr); }}
.step { padding: var(--s-2); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--slate); }

/* --- CTA band ----------------------------------------------------------- */
.cta {
  background: var(--navy); color: var(--white); text-align: center;
  position: relative; overflow: hidden;
  padding-block: clamp(2.5rem, 4vw, 3.5rem);   /* tighter than a full section */
}
.cta .wrap { max-width: 720px; position: relative; z-index: 1; }
.cta h2 { margin-bottom: var(--s-1); text-wrap: balance; }
.cta .lead { margin-inline: auto; margin-bottom: var(--s-2); color: var(--white); } /* 17.5:1 on navy */
.cta .btn-row { justify-content: center; }

/* Blueprint grid (as in Direction A) â€” reads as structure rather than the
   blurred house mark it replaced. */
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 68%);
          mask-image: radial-gradient(circle at 50% 50%, #000, transparent 68%);
  pointer-events: none;
}

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--white); padding-block: var(--s-5) var(--s-3); }
.footer__top { display: grid; gap: var(--s-4); margin-bottom: var(--s-4); }
@media (min-width: 880px) { .footer__top { grid-template-columns: 1.5fr 1fr 1.6fr; }}
.footer__logo { display: flex; align-items: center; gap: .625rem; margin-bottom: var(--s-2); }
.footer__logo .mark { width: 34px; }
.footer__logo .word { width: 150px; }
.footer__tag { color: var(--gray); max-width: 34ch; font-size: 1rem; }
.site-footer h4, .site-footer nav > h2 {
  font-size: var(--fs-caption); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: var(--s-1);
}
.footer__list li a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  color: var(--gray); font-size: .9375rem; transition: color var(--dur) var(--ease);
}
.footer__list li a:hover { color: var(--orange); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: var(--s-1);
  display: flex; flex-wrap: wrap; gap: .5rem var(--s-2);
  justify-content: space-between; align-items: center;
  font-size: .875rem; color: var(--gray);
}
.footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .125rem; }
.footer__bottom a:hover { color: var(--orange); }

/* --- Motion (Subtle tier â€” 300-350ms, fade-up only) --------------------- */
[data-reveal] { opacity: 0; transform: translateY(14px); }
.no-js [data-reveal] { opacity: 1; transform: none; }

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

/* --- Site menu: full-width sheet on mobile, dropdown at desktop ---------- */
@media (min-width: 1040px) {
  .nav__panel {
    position: absolute; right: 0; top: calc(100% + 10px);
    width: 300px; padding: .5rem;
    z-index: 120;
    background: var(--white);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }
  .nav__panel a {
    padding: .75rem 1rem; border-bottom: 0;
    border-radius: var(--radius);
  }
  .nav__panel a:hover { background: var(--neutral); }
  .nav__panel .btn { margin-top: .5rem; }}

/* ==========================================================================
   â–¼ DIRECTION A LAYER â€” everything below deliberately overrides the base
   ========================================================================== */

:root {
  --ink-raised:     #212125;
  --line-dark:      rgba(255, 255, 255, .10);
  --line-dark-soft: rgba(255, 255, 255, .06);
  /* Secondary text on dark. The base palette's #8A8F98 clears WCAG at 5.3:1 but
     only reaches APCA Lc 40 â€” the same perceptual shortfall that made the old
     orange button unreadable. #B8BDC4 is 9.2:1 and APCA Lc 65. */
  --on-dark-muted:  #B8BDC4;
}
.section > .wrap, .hero > .wrap { position: relative; z-index: 1; }

/* --- Header rides the dark hero ---------------------------------------- */
.site-header {
  background: rgba(26, 26, 29, .82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-dark-soft);
  box-shadow: none;
}
.nav__links a { color: rgba(255,255,255,.82); }
.nav__links a:hover { color: var(--white); }
.nav__toggle { border-color: var(--line-dark); }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { background: var(--white); }
.nav__panel { border-top-color: var(--line-dark-soft); }
@media (min-width: 1040px) {
  .nav__panel {
    background: var(--ink-raised);
    border: 1px solid var(--line-dark);
    box-shadow: 0 24px 52px -22px rgba(0,0,0,.75);
  }
  .nav__panel a:hover { background: rgba(255,255,255,.07); }}
.nav__panel a { color: var(--white); border-bottom-color: var(--line-dark-soft); }

/* --- Hero: dark foundation + geometry ---------------------------------- */
.hero { background: var(--ink); color: var(--white); overflow: hidden; }
.hero .lead { color: var(--on-dark-muted); }
.hero .hl { color: var(--orange); }                 /* the grid replaces the watermark */
.hero .btn--outline {
  border-color: var(--line-dark); color: var(--white); background: rgba(255,255,255,.02);
}
.hero .btn--outline:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.07); }

/* --- Stat strip: A's hairline rules ------------------------------------- */
.hero__stats {
  display: grid; grid-template-columns: repeat(2,1fr);
  border-top: 1px solid var(--line-dark);
  margin-top: clamp(1.75rem,3vw,2.75rem);
}
@media (min-width: 760px) { .hero__stats { grid-template-columns: repeat(4,1fr); }}
.hero__stat { padding: var(--s-2) var(--s-2) var(--s-2) 0; border-right: 1px solid var(--line-dark-soft); }
.hero__stat:last-child { border-right: 0; }
.hero__stat b {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.75rem,2.8vw,2.5rem); line-height: 1;
  letter-spacing: -.03em; color: var(--white); margin-bottom: .5rem;
}
.hero__stat span {
  font-size: var(--fs-caption); font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--on-dark-muted);
}

/* --- Stronger orange: accent rule under section headings --------------- */
.section-head h2 { position: relative; }
.section-head.is-centered { text-align: center; }

.card { position: relative; }
.card::before {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 16px; height: 16px;
  border-top: 2px solid var(--orange); border-left: 2px solid var(--orange);
  border-top-left-radius: var(--radius-lg);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.card:hover::before { opacity: 0; }

/* --- CTA band keeps A's grid ------------------------------------------- */
.cta { background: var(--ink); }
.cta::before {
  background-image:
    linear-gradient(to right,  var(--line-dark-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-dark-soft) 1px, transparent 1px);
}

/* ==========================================================================
   â–¼ REVISION LAYER â€” round 2 feedback
   1. Dark surfaces gain depth (ambient gradient) and an ownable texture:
      the T3 gable, tessellated. Same role the honeycomb plays for a bee
      brand â€” a motif taken straight from the mark, not a stock pattern.
   2. Desktop navigation is a single end-aligned bar. No hamburger, no
      anchored dropdown, nothing hidden behind a toggle above 940px.
   3. "What We Do" reads and behaves as a set of clickable tiles.
   ========================================================================== */

:root {
  /* Texture tile is the brand mark itself â€” same geometry as
     assets/img/t3-mark.svg, inlined so the layer's colour and alpha stay under
     CSS control (an external SVG can't be recoloured from here). Keep the two
     in sync if the mark is ever redrawn. */
  --mark-tile:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-16 -16 132 132'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.05 35.1 L49.83 0.5 L97.6 35.1 V91.15 A7 7 0 0 1 90.6 98.15 H9.05 A7 7 0 0 1 2.05 91.15 Z'/%3E%3Cpath d='M14.07 28.88 A21.03 21.03 0 0 1 49.97 43.75 V64.35 A24 24 0 0 0 73.97 88.35 H97.6'/%3E%3C/g%3E%3C/svg%3E");
  /* Tile size drives BOTH the mark size and the spacing, and because the
     stroke lives inside the SVG viewBox it scales too â€” so a smaller tile
     gives more, finer marks at the same overall ink coverage, not a heavier
     field. At 96px the mark renders ~73px tall with a ~2.3px stroke. */
  --roof-tile: 96px;
}

/* --- Dark surfaces: ambient depth --------------------------------------- */
/* Warm bloom where the eye lands first, a cool navy counterweight opposite,
   and a vertical fall-off so the band is never one flat field of black.
   Base stays #1A1A1D â€” pure #000 smears on OLED and kills the gradient. */
/* ==========================================================================
   Hero photograph â€” same construction as .page-hero--photo in pages.css, so
   the homepage and the interior pages read as one treatment. Six layers,
   listed top-down as CSS paints them:
     1. orange bloom    â€” brand constant, top right
     2. navy counterweight â€” brand constant, bottom left
     3. lateral scrim   â€” heaviest on the left, where the headline sits
     4. vertical scrim  â€” kills the bright sky at the top, grounds the base
     5. the photograph
     6. the original ink gradient, as the floor
   The blooms stay on their brand positions rather than being re-aimed at the
   photograph's own sun: aligning them doubled the warmth and turned the whole
   frame sepia. Kept apart, the picture reads cool and the orange stays brand.
   ========================================================================== */
.hero {
  background-color: var(--ink);
  background-size: cover, cover, cover, cover, cover, cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cta {
  background-color: var(--ink);
  background-image:
    radial-gradient(72% 118% at 50% 120%, rgba(255,87,34,.24), rgba(255,87,34,0) 62%),
    linear-gradient(180deg, #131316 0%, #1A1A1D 100%);
}
.site-footer {
  position: relative;
  background-color: var(--ink);
  background-image: linear-gradient(180deg, #17171A 0%, #101012 100%);
  border-top: 1px solid rgba(255,87,34,.16);
}
.site-footer .wrap { position: relative; z-index: 1; }

/* --- Roofline motif ------------------------------------------------------ */
/* One texture per surface, never two. The old blueprint grid is retired â€”
   a grid plus a pattern reads as noise. Masked so it decays into the field
   well before it reaches body copy. */
.rooflines { position: relative; }
/* class name kept from the blueprint era; the motif is now the T3 mark */
.rooflines::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background-image: var(--mark-tile), var(--mark-tile);
  background-size: var(--roof-tile) var(--roof-tile);
  background-position: 0 0, calc(var(--roof-tile) / 2) calc(var(--roof-tile) / 2);
  background-repeat: repeat;
  opacity: .055;
}
/* The mark tile moves to the flat left side, as on .page-hero--photo. Sitting
   top-right it would have landed on the busiest part of the photograph â€” the
   sunset and the far ridge â€” and read as dirt. */
.hero.rooflines::before {
  -webkit-mask-image: radial-gradient(ellipse 76% 128% at 4% 46%, #000 4%, transparent 70%);
          mask-image: radial-gradient(ellipse 76% 128% at 4% 46%, #000 4%, transparent 70%);
  opacity: .06;
}

/* Over a photograph the stat panel needs to be a panel, not a translucent box â€”
   otherwise the figures inherit whatever crop happens to sit behind them. Same
   glass as .page-hero--photo .hero__stats. */
.hero .hero__stats {
  background: linear-gradient(180deg, rgba(19,19,22,.74) 0%, rgba(19,19,22,.60) 100%);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  border-color: rgba(255,255,255,.16);
}
@supports not (backdrop-filter: blur(2px)) {
  .hero .hero__stats {
    background: linear-gradient(180deg, rgba(19,19,22,.92) 0%, rgba(19,19,22,.86) 100%);
  }}
/* Overrides the A-layer blueprint grid that used to live on this pseudo. */
.cta.rooflines::before {
  background-image: var(--mark-tile), var(--mark-tile);
  background-size: var(--roof-tile) var(--roof-tile);
  background-position: 0 0, calc(var(--roof-tile) / 2) calc(var(--roof-tile) / 2);
  -webkit-mask-image: radial-gradient(ellipse 84% 96% at 50% 108%, #000 4%, transparent 72%);
          mask-image: radial-gradient(ellipse 84% 96% at 50% 108%, #000 4%, transparent 72%);
}
.site-footer.rooflines::before {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 62%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 62%);
  opacity: .04;
}
@supports not (mask-image: linear-gradient(#000, transparent)) {
  .rooflines::before { opacity: .03; }   /* no mask â€” dial the whole layer back */
}

/* --- Navigation: one bar, five items, end-aligned ----------------------- */
.nav { gap: var(--s-2); }
.nav__links { gap: clamp(1.25rem, 2.1vw, 2.25rem); margin-left: auto; }
.nav__links a { font-size: .9375rem; font-weight: 500; white-space: nowrap; }
.nav__links a::after { bottom: 2px; }

/* Current section, set by main.js. Gives the bar a sense of place â€” the
   thing the hidden menu was destroying. */
.nav__links a[aria-current="true"] { color: var(--white); }
.nav__links a[aria-current="true"]::after { transform: scaleX(1); }

.nav__cta { margin-left: var(--s-1); flex: none; }

@media (min-width: 940px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__toggle { display: none; }
  .nav__panel, .nav__panel.is-open { display: none; }}
@media (max-width: 939.98px) {
  .nav__links { display: none; }
  .nav__cta   { display: none; }}

/* Mobile sheet â€” full-width, flush to the header, not an anchored dropdown */
.nav__panel {
  background: transparent; border: 0; box-shadow: none;
  border-top: 1px solid var(--line-dark-soft);
}
.nav__panel a:not(.btn) { color: var(--white); font-size: 1.0625rem; }
.nav__panel a:not(.btn):last-of-type { border-bottom: 0; }
/* The panel's blanket `display:block` was flattening the CTA, dropping its
   horizontal padding and pulling the label to the pill's left edge. */
.nav__panel a.btn {
  display: inline-flex; justify-content: center;
  padding: .875rem 1.75rem; border-bottom: 0;
}
.nav__panel .btn { width: 100%; margin-top: var(--s-1); }

/* --- Header: solid ink gradient, not a translucent grey ----------------- */
/* The old bar was 82% ink over whatever scrolled beneath it, so its value
   drifted section to section and the links lost contrast. Now it's an opaque
   surface of its own â€” the tone the sticky state used to hit (#1A1A1D-ish),
   held everywhere, with a clean top-to-bottom fall-off for a little dimension. */
.site-header {
  background-color: #17171A;
  background-image: linear-gradient(180deg, #202025 0%, #191A1D 58%, #141416 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: none;
}
.nav__links a { color: rgba(255,255,255,.86); }   /* 11.6:1 on #17171A */
.nav__links a:hover { color: var(--white); }
.nav__toggle { border-color: rgba(255,255,255,.16); }
.nav__panel { border-top-color: rgba(255,255,255,.08); }
.nav__panel a { border-bottom-color: rgba(255,255,255,.07); }

/* --- Hero proof strip, rebuilt ------------------------------------------- */
/* Was four left-aligned text blocks under a single hairline: the numbers sat
   hard left while the rules sat hard right, so each cell read as a gap with a
   figure in the corner. Now it's one panel with even cells, inset dividers and
   an orange tick that ties the strip to the section rules elsewhere. */
.hero__stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.015) 100%);
  overflow: hidden;
}
@media (min-width: 760px) { .hero__stats { grid-template-columns: repeat(4, 1fr); }}

.hero__stat {
  position: relative;
  padding: clamp(1.375rem, 2.4vw, 1.875rem) clamp(1.25rem, 2vw, 1.75rem);
  border: 0;
}
/* Dividers drawn as insets so they stop short of the panel edge instead of
   running into the corner radius. */
.hero__stat::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: var(--line-dark); opacity: 0;
}
.hero__stat::after {
  content: ""; position: absolute; left: 12%; right: 12%; top: 0;
  height: 1px; background: var(--line-dark); opacity: 0;
}
/* Two-up on small screens: vertical rule between the pairs, horizontal
   between the rows. Four-up above 760px: vertical rules only. */
.hero__stat:nth-child(2n)::before { opacity: 1; }
.hero__stat:nth-child(n+3)::after { opacity: 1; }
@media (min-width: 760px) {
  .hero__stat:nth-child(n+2)::before { opacity: 1; }
  .hero__stat::after { opacity: 0; }}

.hero__stat b {
  display: block; margin-bottom: .4375rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.875rem, 3vw, 2.625rem); line-height: 1;
  letter-spacing: -.035em; color: var(--white);
  font-variant-numeric: tabular-nums;
}
/* The tick echoes .accent-rule under every section heading */
.hero__stat b::before { display: none; }
.hero__stat span {
  display: block;
  font-size: .78125rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--on-dark-muted);
}