/*
 * styles.css — Gibson Spyre, LLC
 * Letterhead masthead · angled lifecycle panels joined by the red/white stripe seam.
 * One stylesheet. No framework. Tokens from design-tokens.json.
 */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  /* Client-locked triad — fields before accents */
  --color-primary: #150042;          /* Board Navy — dominant field */
  --color-primary-dark: #0C0028;     /* Night Navy — footer, drawer */
  --color-primary-light: #DDE3FF;    /* Callout Periwinkle */
  --color-secondary: #5371FF;        /* Spyre Blue — secondary field */
  --color-accent: #FF000F;           /* Stripe Red — seams, one field, pins, focus */
  --color-bg: #F5F3EE;               /* Board-Packet Paper */
  --color-surface: #FFFFFF;          /* Form White */
  --color-text: #150042;
  --color-text-secondary: #4B4868;   /* Slate Navy */
  --color-border: #CFCCDD;           /* Ledger Rule */

  --navy: var(--color-primary);
  --night: var(--color-primary-dark);
  --peri: var(--color-primary-light);
  --blue: var(--color-secondary);
  --red: var(--color-accent);
  --paper: var(--color-bg);
  --white: var(--color-surface);
  --slate: var(--color-text-secondary);
  --rule: var(--color-border);

  /* Type — Urbanist (display/UI) + Quicksand (client-linked body face, per tokens) */
  --font-primary: 'Urbanist', 'Helvetica Neue', Arial, sans-serif;
  --font-secondary: 'Quicksand', 'Helvetica Neue', Arial, sans-serif;
  --font-display: var(--font-primary);
  --font-body: var(--font-secondary);
  --font-size-base: 17px;

  --spacing-base: 8px;
  --gutter: clamp(20px, 4vw, 64px);
  --shell: 1320px;
  --nav-h: 100px;

  --motion-duration: 320ms;
  --motion-duration-slow: 560ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* The seam — the deck's red/white corner stripe, drawn in CSS */
  --stripe: repeating-linear-gradient(180deg, var(--red) 0 4px, #fff 4px 8px);
  --stripe-v: repeating-linear-gradient(90deg, var(--red) 0 4px, #fff 4px 8px);
  --seam: 28px;
  --tan8: 0.1405;
}

/* ============================================================
   Base Reset
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base, 16px);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  background-color: var(--paper);
  color: var(--navy);
  line-height: 1.7;
  letter-spacing: 0.005em;
  padding-bottom: 42px; /* required */
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: inherit;
  line-height: 1.1;
  text-wrap: balance;
}
p { text-wrap: pretty; }

ul, ol { list-style: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Focus states — WCAG AA required. Stripe Red ring, 2px offset. */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.on-dark :focus-visible,
.on-color :focus-visible { outline-color: #fff; }

/* Skip navigation link — WCAG 2.4.1 (managed by fix_ada_safe.py) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--color-surface, #ffffff);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--red);
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  left: 0;
}

main:focus { outline: none; }

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

/* ============================================================
   Type scale
   ============================================================ */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 4.6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.015em;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
}
.rubric {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lead {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.1875rem, 1.6vw, 1.375rem);
  line-height: 1.5;
}
.small {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.caption {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.prose p + p { margin-top: 1em; }
.prose { max-width: 64ch; }

/* Link with the red stripe underline — never red text */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  color: inherit;
  text-decoration: none;
  padding-bottom: 6px;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 100% 3px no-repeat;
  transition: background-size var(--motion-duration) var(--motion-ease);
}
.link-arrow i { font-size: 0.95em; transition: transform var(--motion-duration) var(--motion-ease); }
.link-arrow:hover i,
.link-arrow:focus-visible i { transform: translateX(4px); }
.link-arrow:hover,
.link-arrow:focus-visible {
  background-image: linear-gradient(currentColor, currentColor);
}
/* Service-line links draw their underline in on hover */
.link-draw {
  background-size: 0 3px;
  background-image: linear-gradient(var(--red), var(--red));
}
.link-draw:hover,
.link-draw:focus-visible { background-size: 100% 3px; background-image: linear-gradient(var(--red), var(--red)); }
.link-draw { box-shadow: inset 0 -1px 0 currentColor; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Stripe-motif corner triangle (from the deck) */
.stripe-corner {
  position: absolute;
  width: 160px;
  height: 160px;
  background: var(--stripe);
  pointer-events: none;
}
.stripe-corner--tr { top: 0; right: 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.stripe-corner--bl { bottom: 0; left: 0; clip-path: polygon(0 0, 0 100%, 100% 100%); }
.stripe-corner--on-red { background: repeating-linear-gradient(180deg, #fff 0 4px, transparent 4px 8px); }

/* Horizontal stripe edge (footer top, services sheet top) */
.stripe-edge {
  display: block;
  height: 12px;
  background: var(--stripe);
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%);
}

/* Photo caption line under images */
.figcap {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.45;
}

/* ============================================================
   Masthead — letterhead nav (raised-nav: 100px bar, 90px logo)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  overflow: visible;
  transition: transform var(--motion-duration) var(--motion-ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}

.masthead {
  position: relative;
  height: var(--nav-h);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 var(--gutter);
  overflow: visible;
}
.masthead__brand {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}
.masthead__brand img {
  height: 90px;          /* logo_nav_height_px — primary line ≈ 15.2px vs 15px links */
  width: auto;
  max-width: 470px;
}
.masthead__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.masthead__links a {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 0;
  background: linear-gradient(var(--navy), var(--navy)) 0 100% / 0 1px no-repeat;
  transition: background-size var(--motion-duration) var(--motion-ease);
}
.masthead__links a:hover,
.masthead__links a:focus-visible { background-size: 100% 1px; }
.masthead__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 3px;
  background: var(--red);
}
.masthead__links .masthead__cta {
  background: var(--navy);
  color: #fff;
  padding: 14px 20px 13px;
  box-shadow: inset 0 -3px 0 var(--red);
}
.masthead__links .masthead__cta:hover,
.masthead__links .masthead__cta:focus-visible {
  background: var(--night);
  background-size: auto;
}
.masthead__links .masthead__cta[aria-current="page"]::after { display: none; }

.masthead__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-size: 22px;
  cursor: pointer;
}
.masthead__toggle[aria-expanded="true"] { background: var(--navy); color: #fff; }

/* Drawer (tablet + mobile) — Night Navy overlay below the bar */
.nav-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  z-index: 59;
  background: var(--night);
  color: #fff;
  padding: 40px var(--gutter) 56px;
  overflow-y: auto;
  border-top: 6px solid transparent;
  border-image: var(--stripe) 6;
}
.nav-drawer[hidden] { display: none; }
.nav-drawer ul { display: grid; gap: 4px; }
.nav-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid rgba(221, 227, 255, 0.18);
}
.nav-drawer a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--red); padding-left: 16px; }
.nav-drawer a i { color: var(--peri); font-size: 18px; }
.nav-drawer__note {
  margin-top: 32px;
  color: var(--peri);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
}
body.drawer-open { overflow: hidden; }

@media (max-width: 1100px) {
  html.js .masthead__links { display: none; }
  html.js .masthead__toggle { display: inline-flex; }
}
/* No-JS fallback: links wrap under the logo, always reachable */
@media (max-width: 1100px) {
  html:not(.js) .masthead { height: auto; min-height: var(--nav-h); flex-wrap: wrap; padding-block: 5px 12px; }
  html:not(.js) .masthead__links { flex-wrap: wrap; gap: 8px 24px; }
}
@media (max-width: 720px) {
  :root { --nav-h: 76px; }
  .masthead__brand img {
    height: min(60px, calc((100vw - 112px) / 5.12));
    min-height: 24px;
  }
}

/* ============================================================
   Shared: angled-panel hero grammar (seam = the deck's stripe)
   ============================================================ */
.seam {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--seam);
  background: var(--stripe);
  transform: skewX(-8deg);
  z-index: 3;
  pointer-events: none;
  transition: transform var(--motion-duration-slow) var(--motion-ease);
}
html.js body:not(.is-seated) .seam { transform: skewX(-8deg) scaleX(0); }
@media (prefers-reduced-motion: reduce) {
  .seam { transition: none; }
  html.js body:not(.is-seated) .seam { transform: skewX(-8deg); }
}

/* Interior hero: photo parallelogram + navy dock */
.hero-panel {
  --h: clamp(520px, 72vh, 760px);
  --d: calc(var(--h) * var(--tan8));
  position: relative;
  display: grid;
  grid-template-columns: 40fr 60fr;
  min-height: var(--h);
  background: var(--navy);
  color: #fff;
}
.hero-panel__media {
  position: relative;
  height: var(--h);
  grid-column: 2;
  grid-row: 1;
}
.hero-panel__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(calc(var(--d) + var(--seam)) 0, 100% 0, 100% 100%, var(--seam) 100%);
}
.hero-panel__media .seam { left: calc(var(--d) / 2); }
.hero-panel__dock {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  position: relative;
  z-index: 4;
  background: var(--navy);
  margin-right: calc(-1 * (var(--seam) + 48px));
  padding: clamp(40px, 5vw, 80px) clamp(28px, 4vw, 64px) clamp(40px, 5vw, 72px) var(--gutter);
  min-width: 0;
}
.hero-panel__dock h1 { max-width: 14ch; }
.hero-panel__dock .lead {
  margin-top: 24px;
  color: var(--peri);
  max-width: 36ch;
}
/* Mirror: photo left, dock right, seam on the right diagonal */
.hero-panel--mirror { grid-template-columns: 58fr 42fr; }
.hero-panel--mirror .hero-panel__media { grid-column: 1; }
.hero-panel--mirror .hero-panel__media img {
  clip-path: polygon(0 0, calc(100% - var(--seam)) 0, calc(100% - var(--seam) - var(--d)) 100%, 0 100%);
}
.hero-panel--mirror .hero-panel__media .seam { left: auto; right: calc(var(--d) / 2); }
.hero-panel--mirror .hero-panel__dock {
  grid-column: 2;
  margin-right: 0;
  margin-left: calc(-1 * (var(--seam) + 48px));
  padding-left: clamp(28px, 4vw, 64px);
  padding-right: var(--gutter);
}

/* ============================================================
   HOME — Hero: angled lifecycle triptych
   ============================================================ */
.hero-tri {
  position: relative;
  min-height: min(86vh, 880px);
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.triptych {
  --h: clamp(380px, 60vh, 616px);
  --d: calc(var(--h) * var(--tan8));
  --half: calc(var(--seam) / 2);
  position: relative;
  height: var(--h);
  overflow: hidden;          /* image layer only — no running text inside */
  background: var(--paper);
}
.triptych__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: 0;
  transition: transform var(--motion-duration-slow) var(--motion-ease);
}
.triptych__panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.triptych__panel--1 {
  left: 0;
  width: calc(30% + var(--d) / 2);
  clip-path: polygon(0 0, calc(100% - var(--half)) 0, calc(100% - var(--half) - var(--d)) 100%, 0 100%);
}
.triptych__panel--2 {
  left: calc(30% - var(--d) / 2);
  width: calc(34% + var(--d));
  clip-path: polygon(calc(var(--d) + var(--half)) 0, calc(100% - var(--half)) 0, calc(100% - var(--half) - var(--d)) 100%, var(--half) 100%);
}
.triptych__panel--3 {
  left: calc(64% - var(--d) / 2);
  right: 0;
  clip-path: polygon(calc(var(--d) + var(--half)) 0, 100% 0, 100% 100%, var(--half) 100%);
}
.triptych__panel--1 img { object-position: 50% 50%; }
.triptych__panel--2 img { object-position: 55% 40%; }
.triptych__panel--3 img { object-position: 40% 55%; }
.triptych .seam--1 { left: calc(30% - var(--half)); }
.triptych .seam--2 { left: calc(64% - var(--half)); }

/* Seating: panels 12px apart, then seat together once */
html.js body:not(.is-seated) .triptych__panel--1 { transform: translateX(-12px); }
html.js body:not(.is-seated) .triptych__panel--3 { transform: translateX(12px); }
@media (prefers-reduced-motion: reduce) {
  .triptych__panel { transition: none; }
  html.js body:not(.is-seated) .triptych__panel--1,
  html.js body:not(.is-seated) .triptych__panel--3 { transform: none; }
}

.tri-chip {
  position: absolute;
  bottom: calc(64px + 18px);
  z-index: 2;
  background: var(--navy);
  color: #fff;
  padding: 7px 11px 6px;
  pointer-events: none;
}
.triptych__panel--1 .tri-chip { left: var(--gutter); }
.triptych__panel--2 .tri-chip,
.triptych__panel--3 .tri-chip { left: calc(var(--d) * 0.3 + var(--half) + 18px); }
.triptych img { cursor: zoom-in; }

.hero-tri__base {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 72fr 28fr;
  margin-top: -64px;
  flex: 1 0 auto;
}
.hero-dock {
  background: var(--navy);
  color: #fff;
  padding: clamp(36px, 4.4vw, 72px) clamp(28px, 4vw, 64px) clamp(36px, 4vw, 64px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: end;
  min-width: 0;
}
.hero-dock h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 4.2vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.hero-dock__side { min-width: 0; padding-bottom: 6px; }
.hero-dock__tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: var(--peri);
  margin-bottom: 26px;
}
.hero-dock .link-arrow { color: #fff; }
.hero-tri__corner {
  align-self: end;
  padding: 88px var(--gutter) 34px clamp(20px, 2.4vw, 40px);
  display: grid;
  gap: 10px;
  min-width: 0;
}
.hero-tri__corner p {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  color: var(--navy);
}
.hero-tri__corner i { font-size: 18px; margin-top: -1px; flex: none; }

/* ============================================================
   HOME — The record ("1st") — the site's single red field
   ============================================================ */
.record {
  position: relative;
  background: var(--red);
  color: var(--navy);
  min-height: 64vh;
  display: grid;
  grid-template-columns: 58fr 42fr;
}
.record__numeral-wrap {
  overflow: hidden;              /* the cut is the composition — numeral only */
  display: flex;
  align-items: flex-end;
  padding-left: var(--gutter);
  min-height: 64vh;
}
.record__numeral {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(12rem, 28vw, 26rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: -0.1em;         /* feet cut by the section edge */
  font-variant-numeric: lining-nums;
  user-select: none;
}
.record__text {
  padding: 96px clamp(var(--gutter), 9vw, 150px) 72px 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 1;
}
.record__text h2 {
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.18;
  max-width: 22ch;
}
.record__years {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}
.record__source {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ============================================================
   HOME — Ledger (By the numbers)
   ============================================================ */
.ledger {
  position: relative;
  background: var(--paper);
  display: grid;
  grid-template-columns: 58fr 42fr;
}
.ledger__main {
  position: relative;
  padding: clamp(72px, 9vw, 128px) clamp(24px, 4vw, 64px) clamp(72px, 9vw, 120px) calc(var(--gutter) + 56px);
  min-width: 0;
}
.ledger__rubric {
  position: absolute;
  left: var(--gutter);
  top: clamp(72px, 9vw, 128px);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
.ledger__rubric::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 40px;
  background: var(--red);
  margin-bottom: 14px;
}
.ledger__table { border-top: 2px solid var(--navy); }
.ledger__row {
  display: grid;
  grid-template-columns: clamp(9.5rem, 15vw, 13.5rem) minmax(0, 1fr) minmax(0, 11rem);
  gap: 0 clamp(16px, 2vw, 32px);
  align-items: baseline;
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--rule);
}
.ledger__fig {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}
.ledger__dagger { color: var(--red); font-weight: 800; margin-left: 0.04em; }
.ledger__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.4;
  min-width: 0;
}
.ledger__note {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.45;
  color: var(--slate);
  border-left: 1px solid var(--rule);
  padding-left: 14px;
}
.ledger__media {
  position: relative;
  margin-top: -80px;             /* climbs 80px into the red field */
  z-index: 2;
  min-width: 0;
}
.ledger__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 38% 40%;
  height: auto;
}

/* ============================================================
   HOME — Two ways we work (blue field, upright seam)
   ============================================================ */
.lines {
  background: var(--blue);
  color: var(--navy);
  padding: clamp(72px, 9vw, 128px) 0;
}
.lines__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr);
  gap: 0 clamp(32px, 4.5vw, 72px);
}
.lines__seam {
  background: var(--stripe);
  clip-path: polygon(0 12px, 100% 0, 100% calc(100% - 12px), 0 100%);
}
.line { min-width: 0; }
.line__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  height: auto;
}
.line__media--maple img { object-position: 60% 70%; }
.line__media--binder img { object-position: 45% 50%; }
.line__num {
  display: block;
  margin-top: 36px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4rem;
  line-height: 0.9;
  color: var(--navy);
}
.line h2 { margin-top: 12px; font-size: clamp(1.75rem, 2.8vw, 2.5rem); }
.line p { margin-top: 16px; max-width: 54ch; font-weight: 600; }
.line__list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.35;
}
.line__list li { display: flex; gap: 8px; align-items: flex-start; }
.line__list i { margin-top: 2px; flex: none; }
.line .link-arrow { margin-top: 28px; }

/* ============================================================
   Photo band with docked paper panel (Home refs, Clients close, About mission)
   ============================================================ */
.band {
  position: relative;
  min-height: 78vh;
  background: var(--navy);
}
.band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band__panel {
  position: absolute;
  z-index: 5;
  background: var(--paper);
  color: var(--navy);
  padding: 48px;
  max-width: 560px;
  width: calc(100% - 2 * var(--gutter));
}
.band--refs .band__panel { right: 64px; bottom: -48px; }
.band--refs + section { padding-top: calc(48px + clamp(64px, 8vw, 112px)); }
.band__panel h2 {
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.band__panel .rule-top {
  display: block;
  height: 2px;
  background: var(--navy);
  margin-bottom: 18px;
}
.roster { margin-top: 22px; }
.roster li { padding: 16px 0; border-top: 1px solid var(--rule); }
.roster li:first-child { border-top: 0; padding-top: 0; }
.roster__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}
.roster__role { display: block; font-size: 0.9375rem; line-height: 1.45; margin-top: 4px; }
.roster__org { font-weight: 700; }

/* ============================================================
   HOME — Map in brief (brick texture + paper Virginia)
   ============================================================ */
.mapbrief {
  position: relative;
  min-height: 70vh;
  background: var(--night) url("/images/tex-brick.png?v=9077f029") center / cover no-repeat;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(64px, 8vw, 112px) var(--gutter);
}
.mapbrief__map { position: relative; width: min(56vw, 900px); max-width: 100%; }
.mapbrief__map svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(12, 0, 40, 0.45)); }
.va-land { fill: var(--paper); fill-opacity: 0.92; }
.pin-dot { transition: transform var(--motion-duration) var(--motion-ease); transform-box: fill-box; transform-origin: center; }
.pin-dot:hover { transform: scale(1.15); }
.mapbrief__panel {
  background: var(--navy);
  color: #fff;
  padding: 44px 40px;
  min-width: 0;
}
.mapbrief__panel h2 { font-size: 2rem; line-height: 1.12; }
.mapbrief__panel .link-arrow { margin-top: 28px; color: #fff; }
.mapbrief__legend { margin-top: 20px; display: grid; gap: 8px; color: var(--peri); }
.legend-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.key-jv { width: 13px; height: 13px; background: var(--red); transform: rotate(45deg); box-shadow: 0 0 0 2px #fff; flex: none; margin: 0 3px; }
.key-ring { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--peri); flex: none; margin: 0 2px; }

/* ============================================================
   Forms — paper fields on navy / white fields on paper
   ============================================================ */
.contact-form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label,
.field legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}
.field .req { font-weight: 500; opacity: 0.85; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--white);
  color: var(--navy);
  border: 0;
  border-bottom: 2px solid var(--navy);
  border-radius: 0;
  padding: 13px 14px 11px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.field__help { font-family: var(--font-display); font-weight: 500; font-size: 14px; color: var(--slate); }
.on-dark .field input,
.on-dark .field select,
.on-dark .field textarea { background: var(--paper); border-bottom-color: var(--peri); }
.on-dark .field input:focus-visible,
.on-dark .field select:focus-visible,
.on-dark .field textarea:focus-visible { outline-color: var(--red); }
fieldset.field { border: 0; }
.radio-set { display: grid; gap: 10px; margin-top: 4px; }
.radio {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}
.radio input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--white);
  flex: none;
  display: grid;
  place-content: center;
  margin: 0;
}
.radio input::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--red);
  transform: scale(0);
  transition: transform 160ms var(--motion-ease);
}
.radio input:checked::before { transform: scale(1); }
.btn-submit {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 16px 26px 15px;
  box-shadow: inset 0 -3px 0 var(--red);
  transition: background-color var(--motion-duration) var(--motion-ease);
}
.btn-submit:hover { background: var(--night); }
.on-dark .btn-submit { background: var(--paper); color: var(--navy); }
.on-dark .btn-submit:hover { background: #fff; }

/* ============================================================
   HOME — Contact dock (navy)
   ============================================================ */
.dock {
  background: var(--navy);
  color: #fff;
  display: grid;
  grid-template-columns: 22vw minmax(0, 34fr) minmax(0, 44fr);
  gap: 0 clamp(32px, 4vw, 72px);
  min-height: 80vh;
}
.dock__media { position: relative; min-height: 100%; }
.dock__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 50%;
}
.dock__text { padding: clamp(72px, 9vw, 128px) 0; min-width: 0; }
.dock__text h2 { font-weight: 800; }
.dock__text p { margin-top: 20px; color: var(--peri); max-width: 36ch; font-weight: 600; }
.dock__place {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
}
.dock__form { padding: clamp(72px, 9vw, 128px) var(--gutter) clamp(72px, 9vw, 128px) 0; min-width: 0; }

/* ============================================================
   EXPERIENCE — The map
   ============================================================ */
.mapband {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: clamp(64px, 8vw, 112px) 0 clamp(64px, 8vw, 104px);
}
.mapband__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 40px;
  align-items: flex-end;
}
.mapband__head .rubric { color: var(--peri); }
.mapband__legend { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 12px; color: #fff; }
.filter { display: flex; flex-wrap: wrap; gap: 6px; }
.filter[hidden] { display: none; }
html:not(.js) .filter { display: none; }
.filter button {
  background: transparent;
  color: var(--peri);
  border: 1px solid rgba(221, 227, 255, 0.4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background-color var(--motion-duration), color var(--motion-duration);
}
.filter button:hover { color: #fff; border-color: #fff; }
.filter button[aria-pressed="true"] { background: var(--peri); color: var(--navy); border-color: var(--peri); }

.map {
  position: relative;
  margin-top: 36px;
}
.map__canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
}
.map__canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-land { fill: color-mix(in srgb, #DDE3FF 18%, transparent); stroke: rgba(221, 227, 255, 0.55); stroke-width: 1; }
.map-neighbor { fill: color-mix(in srgb, #DDE3FF 6%, transparent); stroke: rgba(221, 227, 255, 0.18); stroke-width: 0.75; }
.map-label { fill: rgba(221, 227, 255, 0.55); font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; }
.map__pins { position: absolute; inset: 0; }
.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: transform var(--motion-duration) var(--motion-ease), opacity var(--motion-duration);
}
.pin::before { content: ""; display: block; }
.pin--jv::before {
  width: 18px; height: 18px;
  background: var(--red);
  transform: rotate(45deg);
  box-shadow: 0 0 0 2px #fff;
}
.pin--consult::before {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 3px solid var(--peri);
  background: transparent;
}
.pin:hover,
.pin:focus-visible { transform: translate(-50%, -50%) scale(1.2); z-index: 3; }
.pin:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pin.is-dim { opacity: 0.22; }
.pin__tip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  padding: 5px 9px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms;
}
.pin:hover .pin__tip,
.pin:focus-visible .pin__tip { opacity: 1; }

.map-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 360px;
  max-width: 100%;
  z-index: 10;
  background: var(--paper);
  color: var(--navy);
  padding: 28px 28px 32px;
  overflow-y: auto;
  box-shadow: -18px 0 40px rgba(12, 0, 40, 0.4);
  border-top: 6px solid transparent;
  border-image: var(--stripe) 6;
}
.map-drawer[hidden] { display: none; }
.map-drawer__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
}
.map-drawer__type { margin-top: 4px; display: flex; gap: 10px; align-items: center; color: var(--slate); }
.map-drawer h3 { margin-top: 10px; padding-right: 44px; font-size: 1.5rem; line-height: 1.15; }
.map-drawer dl { margin-top: 16px; display: grid; gap: 10px; }
.map-drawer dt { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.map-drawer dd { font-weight: 600; line-height: 1.45; }
.map-drawer__photos { margin-top: 20px; display: grid; gap: 14px; }
.map-drawer__photos img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.map-drawer__photos img.is-diagram { object-fit: contain; background: #fff; padding: 12px; }
.map-drawer__photos figcaption { font-family: var(--font-display); font-weight: 500; font-size: 13px; margin-top: 6px; color: var(--slate); }

.project-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  border-top: 1px solid rgba(221, 227, 255, 0.3);
}
.project-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(221, 227, 255, 0.18);
  min-width: 0;
}
.project-list li.is-dim { opacity: 0.35; }
.project-list .key-jv,
.project-list .key-ring { position: relative; top: 1px; }
.project-list strong { font-family: var(--font-display); font-weight: 700; }
.project-list span { color: var(--peri); font-size: 0.9375rem; }
.map-beyond {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: baseline;
  color: var(--peri);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
}
.map-beyond a { color: #fff; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.map-note { margin-top: 10px; color: var(--peri); font-family: var(--font-display); font-weight: 500; font-size: 14px; }

/* ============================================================
   EXPERIENCE — JV index (stair-stepped spread)
   ============================================================ */
.jv {
  background: var(--paper);
  padding: clamp(72px, 9vw, 128px) 0;
}
.jv__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.jv__intro p { max-width: 52ch; font-weight: 600; }
.jv__grid { margin-top: 56px; }
.jv__row {
  display: grid;
  gap: 0 clamp(28px, 3.4vw, 56px);
  padding: 40px 0;
  border-top: 1px solid var(--rule);
}
.jv__row--a { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.jv__row--b { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.jv__entry { position: relative; min-width: 0; }
.jv__entry figure { margin: 0; }
.jv__entry img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  height: auto;
}
.jv__entry img.is-diagram { object-fit: contain; background: #fff; padding: 24px; }
.jv__num {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.jv__num::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.jv__entry h3 { margin-top: 8px; }
.jv__meta { margin-top: 8px; color: var(--slate); display: grid; gap: 2px; }
.jv__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy);
  color: #fff;
  padding: 6px 10px;
  pointer-events: none;
}

/* ============================================================
   EXPERIENCE — Before / after pairs on brick
   ============================================================ */
.pairs {
  background: var(--night) url("/images/tex-brick.png?v=9077f029") center / cover no-repeat;
  padding: clamp(64px, 8vw, 120px) var(--gutter);
}
.pairs__frame {
  max-width: 1180px;
  margin-inline: auto;
  background: var(--paper);
  padding: 40px;
}
.pairs__frame > h2 { max-width: 20ch; }
.pairs__frame > p { margin-top: 14px; max-width: 60ch; font-weight: 600; }
.pair { margin-top: 48px; scroll-margin-top: 120px; }
.pair__images {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: stretch;
}
.pair__images figure { position: relative; margin: 0; min-width: 0; }
.pair__images img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pair__chip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: #fff;
  padding: 6px 10px 5px;
  pointer-events: none;
}
.pair__seam {
  position: relative;
  width: var(--seam);
  justify-self: center;
  background: var(--stripe);
  transform: skewX(-8deg);
}
.pair__caption { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.pair__caption h3 { font-size: 1.25rem; }
.pair__caption span { color: var(--slate); font-weight: 600; }

/* ============================================================
   Blue CTA field (Experience close)
   ============================================================ */
.cta-blue {
  position: relative;
  background: var(--blue);
  color: var(--navy);
  min-height: 48vh;
  display: grid;
  grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
  align-items: center;
  gap: 40px;
  padding: clamp(64px, 8vw, 112px) var(--gutter) clamp(64px, 8vw, 112px) calc(var(--gutter) + 40px);
}
.cta-blue h2 {
  font-weight: 800;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.02;
  color: #fff;
  max-width: 16ch;
}
.cta-blue p { margin-top: 18px; max-width: 46ch; font-weight: 600; }
.cta-blue__links { display: grid; gap: 22px; justify-items: start; }

/* ============================================================
   CLIENTS — The ring
   ============================================================ */
.ring-band {
  background: var(--navy);
  color: #fff;
  padding: clamp(64px, 8vw, 112px) 0;
}
.ring-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 48px clamp(32px, 5vw, 96px);
  align-items: center;
}
.ring { position: relative; max-width: 620px; width: 100%; margin-inline: auto; }
.ring svg { display: block; width: 100%; height: auto; overflow: visible; }
.ring__seg { transition: transform var(--motion-duration) var(--motion-ease); }
.ring a:hover .ring__seg,
.ring a:focus-visible .ring__seg { transform: translate(var(--dx), var(--dy)); }
.ring a:focus-visible { outline: none; }
.ring a:focus-visible .ring__seg { stroke: #fff; stroke-width: 3; }
.ring__label { font-family: var(--font-display); font-weight: 700; font-size: 26px; fill: #fff; }
.ring__count { font-family: var(--font-display); font-weight: 800; font-size: 40px; fill: #fff; }
.ring__center-num { font-family: var(--font-display); font-weight: 800; font-size: 124px; fill: #fff; letter-spacing: -0.03em; }
.ring__center-sub { font-family: var(--font-display); font-weight: 600; font-size: 22px; fill: var(--peri); }
.sector-list h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.sector-list ol { margin-top: 24px; border-top: 1px solid rgba(221, 227, 255, 0.3); }
.sector-list li { border-bottom: 1px solid rgba(221, 227, 255, 0.2); }
.sector-list a {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 16px 0;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
}
.sector-list a:hover span:nth-child(2),
.sector-list a:focus-visible span:nth-child(2) { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.sector-list .n { font-weight: 800; font-size: 1.75rem; font-variant-numeric: tabular-nums lining-nums; }
.swatch { width: 14px; height: 14px; display: inline-block; }

/* ============================================================
   CLIENTS — Sector groups (logo-tile wall)
   ============================================================ */
.sectors { background: var(--paper); padding: clamp(72px, 9vw, 128px) 0; }
.sectors > .shell > h2 { max-width: 18ch; }
.sector {
  display: grid;
  grid-template-columns: minmax(0, 30fr) minmax(0, 70fr);
  gap: 28px clamp(28px, 4vw, 64px);
  padding: 44px 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 110px;
}
.sectors > .shell > h2 + .sector { margin-top: 44px; }
.sector__head { min-width: 0; }
.sector__count {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums lining-nums;
}
.sector__head .link-arrow { margin-top: 18px; font-size: 1rem; }
.sector__head .link-arrow i { color: var(--navy); }
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  align-content: start;
}
.tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px;
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 18px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.25;
  filter: grayscale(1);
  transition: filter var(--motion-duration), border-color var(--motion-duration);
}
.tile:hover { filter: none; border-color: var(--navy); }
.tile small { display: block; margin-top: 6px; font-weight: 500; font-size: 13px; color: var(--slate); }
.sector-break {
  display: grid;
  grid-template-columns: minmax(0, 30fr) minmax(0, 70fr);
  gap: clamp(28px, 4vw, 64px);
  padding: 8px 0 44px;
}
.sector-break figure {
  grid-column: 2;
  justify-self: end;
  width: 300px;
  margin: 0 -40px 0 0;
}
.sector-break img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 52% 50%; height: auto; }
.sector-break__line {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.25;
  max-width: 16ch;
  border-top: 3px solid var(--red);
  padding-top: 16px;
}

/* ============================================================
   CLIENTS — References (blue field, edge-bleed photo)
   ============================================================ */
.refs {
  background: var(--blue);
  color: var(--navy);
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: 64vh;
}
.refs__media { position: relative; min-height: 420px; }
.refs__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.refs__body { padding: clamp(64px, 8vw, 112px) var(--gutter) clamp(64px, 8vw, 112px) clamp(32px, 5vw, 88px); min-width: 0; }
.refs__body .rule-top { display: block; height: 2px; background: var(--navy); margin-bottom: 18px; }
.refs__grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 40px;
}
.refs__grid li { border-top: 3px solid var(--red); padding-top: 16px; }
.refs__note { margin-top: 36px; font-family: var(--font-display); font-weight: 600; font-size: 14px; max-width: 52ch; }

/* ============================================================
   SERVICES — I. Joint venture (navy broadsheet)
   ============================================================ */
.jvband {
  background: var(--navy);
  color: #fff;
  padding: clamp(72px, 9vw, 128px) 0;
}
.jvband__grid {
  display: grid;
  grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
  gap: 48px clamp(40px, 5vw, 96px);
}
.jvband__main { min-width: 0; }
.jvband__main .rubric { color: var(--peri); }
.jvband__main h2 { margin-top: 14px; max-width: 18ch; }
.jvband__main .prose { margin-top: 24px; color: var(--peri); font-weight: 600; }
.partner-line {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(221, 227, 255, 0.3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.6;
}
.partner-line .dot { color: var(--red); padding: 0 0.45em; font-weight: 900; }
.jvband__scope { margin-top: 28px; display: grid; gap: 10px; color: #fff; }
.jvband__scope li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.jvband__scope i { color: var(--peri); margin-top: 4px; flex: none; }
.jvband__media { position: relative; min-width: 0; }
.jvband__media figure { margin: 0; }
.jvband__media .stair-1 img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% 50%; height: auto; }
.jvband__media .stair-2 { width: 82%; margin: -64px -48px 0 auto; position: relative; z-index: 1; }
.jvband__media .stair-2 img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; height: auto; box-shadow: 0 0 0 8px var(--navy); }
.jvband__media .figcap { color: var(--peri); }

/* ============================================================
   SERVICES — II. Lifecycle index (01–07)
   ============================================================ */
.index { background: var(--paper); padding: clamp(72px, 9vw, 128px) 0; }
.index__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.index__intro .numeral-head { display: flex; gap: 18px; align-items: baseline; }
.index__intro .numeral-head span { font-family: var(--font-display); font-weight: 800; font-size: 4rem; line-height: 0.9; }
.index__intro p { max-width: 52ch; font-weight: 600; }
.index__list { margin-top: 56px; border-bottom: 1px solid var(--rule); }
.svc {
  position: relative;
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 30fr) minmax(0, 44fr) 16%;
  gap: 0 clamp(20px, 2.4vw, 40px);
  align-items: stretch;
  border-top: 1px solid var(--rule);
  min-height: 170px;
  transition: grid-template-columns var(--motion-duration) var(--motion-ease);
}
.svc::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--red);
  transition: width var(--motion-duration) var(--motion-ease);
}
.svc:hover::before,
.svc:focus-within::before { width: 100%; }
.svc:hover,
.svc:focus-within { grid-template-columns: 5.5rem minmax(0, 24fr) minmax(0, 34fr) 32%; }
.svc__num {
  padding-top: 26px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}
.svc__name { padding: 30px 0 26px; min-width: 0; }
.svc__name h3 { display: flex; gap: 12px; align-items: flex-start; font-size: 1.375rem; }
.svc__name h3 i { font-size: 1.25rem; margin-top: 3px; flex: none; }
.svc__desc { padding: 30px 0 26px; min-width: 0; }
.svc__desc p { font-weight: 500; }
.svc__sliver { position: relative; margin: 0; min-height: 100%; }
.svc__sliver img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc__sliver--empty { background: repeating-linear-gradient(180deg, transparent 0 11px, var(--rule) 11px 12px); opacity: 0.6; }
@media (prefers-reduced-motion: reduce) {
  .svc, .svc::before { transition: none; }
}

/* ============================================================
   SERVICES — Typical clients (blue, poster-scale names)
   ============================================================ */
.types { background: var(--blue); color: var(--navy); padding: clamp(72px, 9vw, 128px) 0; }
.types__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--navy);
}
.types__grid li {
  padding: 36px 36px 40px 0;
  border-bottom: 1px solid var(--navy);
  min-width: 0;
}
.types__grid li:nth-child(odd) { border-right: 1px solid var(--navy); }
.types__grid li:nth-child(even) { padding-left: 36px; padding-right: 0; }
.types__grid h3 {
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: #fff;
  max-width: 11ch;
}
.types__grid p { margin-top: 14px; max-width: 40ch; font-weight: 600; }
.types .link-arrow { margin-top: 40px; }
.types__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.types__head h2 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); max-width: 26ch; }

/* ============================================================
   SERVICES — Application review sheet on blueprints
   ============================================================ */
.sheet-band {
  background: var(--navy) url("/images/tex-blueprint.png?v=2e1db6a5") center / cover no-repeat;
  padding: clamp(72px, 9vw, 128px) var(--gutter);
}
.sheet {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  background: var(--paper);
  padding: 56px;
  box-shadow: 0 30px 60px -20px rgba(12, 0, 40, 0.55);
}
.sheet .stripe-edge { position: absolute; top: 0; left: 0; right: 0; }
.sheet h2 { font-weight: 800; }
.sheet > p { margin-top: 14px; max-width: 52ch; font-weight: 600; }
.sheet .contact-form { margin-top: 32px; }

/* ============================================================
   ABOUT — Leadership broadsheet
   ============================================================ */
.leader { background: var(--paper); padding: clamp(72px, 9vw, 128px) 0; }
.leader__grid {
  display: grid;
  grid-template-columns: minmax(0, 32fr) minmax(0, 68fr);
  gap: 48px 0;
}
.leader__side { padding-right: clamp(28px, 4vw, 64px); border-right: 1px solid var(--rule); min-width: 0; }
.leader__photo { width: 180px; height: 180px; object-fit: cover; }
.leader__photo-note { margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.plate {
  margin-top: 28px;
  background: var(--peri);
  border-radius: 8px;
  padding: 20px 20px 22px;
  display: grid;
  gap: 14px;
}
.plate__title { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; line-height: 1.2; }
.plate img { width: 100%; max-width: 280px; height: auto; }
.leader__main { padding-left: clamp(28px, 4vw, 64px); min-width: 0; }
.leader__role { margin-top: 6px; display: flex; gap: 10px; align-items: center; color: var(--slate); }
.leader__bio { margin-top: 28px; }
.leader__bio p:first-child::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 5.6em;
  line-height: 0.78;
  padding: 6px 12px 0 0;
  color: var(--navy);
}
.facts {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  border-top: 2px solid var(--navy);
}
.facts li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--rule); font-weight: 600; min-width: 0; }
.facts i { font-size: 20px; margin-top: 2px; flex: none; }

/* ============================================================
   ABOUT — What is the Spyre? (image-in-type)
   ============================================================ */
.spyre { background: var(--blue); color: var(--navy); padding: clamp(56px, 7vw, 104px) 0 clamp(72px, 9vw, 128px); overflow-x: clip; }
.spyre__word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(6rem, 22vw, 20rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
  user-select: none;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .spyre__word {
    background: url("/images/env-spire.png?v=db69838b") 62% 40% / cover no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 6px 0 rgba(21, 0, 66, 0.25));
  }
}
.spyre__row {
  margin-top: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: 20vw minmax(0, 620px);
  gap: 0;
  justify-content: end;
  padding-right: calc(var(--gutter) + 8vw);
  align-items: stretch;
}
.spyre__strip { margin: 0; min-width: 0; }
.spyre__strip img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; object-position: 78% 30%; border-radius: 8px 0 0 8px; }
.spyre__card {
  background: var(--peri);
  border-radius: 0 8px 8px 0;
  padding: 36px 40px 40px;
  min-width: 0;
}
.spyre__card h2 { font-size: 1.5rem; line-height: 1.2; }
.spyre__card blockquote { margin-top: 16px; font-size: 1.1875rem; line-height: 1.6; font-weight: 600; }

/* ============================================================
   ABOUT — Credentials (white rail on navy)
   ============================================================ */
.creds { background: var(--navy); color: #fff; padding: clamp(72px, 9vw, 120px) 0; }
.creds .rubric { color: var(--peri); }
.creds h2 { margin-top: 14px; max-width: 22ch; }
.creds__grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 40px clamp(32px, 5vw, 80px);
  align-items: center;
}
.badge-rail {
  background: var(--white);
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 22px;
  align-items: center;
  justify-content: space-between;
}
.badge-rail img { height: 96px; width: auto; max-width: 100%; object-fit: contain; }
.badge-rail .badge-pmp { height: 96px; max-height: 120px; }
.creds__facts { display: grid; gap: 0; border-top: 1px solid rgba(221, 227, 255, 0.3); }
.creds__facts li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(221, 227, 255, 0.2); color: var(--peri); font-weight: 600; font-size: 1.0625rem; }
.creds__facts i { color: #fff; font-size: 20px; margin-top: 2px; flex: none; }

/* ============================================================
   Band variants: upper-left / bottom-left docked panels
   ============================================================ */
.band--mission { min-height: 76vh; }
.band--mission .band__panel { left: var(--gutter); top: -48px; max-width: 540px; }
.band--close { min-height: 70vh; margin-bottom: 104px; }
.band--close .band__panel { left: var(--gutter); bottom: -48px; max-width: 480px; }
.band__panel .panel-line { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1.18; }
.band__panel p + p,
.band__panel .panel-line + p { margin-top: 14px; }
.band__panel .link-arrow { margin-top: 24px; }

/* ============================================================
   CONTACT — Form broadsheet + Dahlgren plate
   ============================================================ */
.cform { background: var(--paper); padding: clamp(72px, 9vw, 128px) 0; }
.cform__grid {
  display: grid;
  grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
  gap: 48px 0;
}
.cform__main { padding-right: clamp(32px, 5vw, 80px); border-right: 1px solid var(--rule); min-width: 0; }
.cform__main h2 { max-width: 18ch; }
.cform__main > p { margin-top: 14px; max-width: 54ch; font-weight: 600; }
.cform__main .contact-form { margin-top: 36px; gap: 28px; }
.cform__side { padding-left: clamp(32px, 5vw, 80px); min-width: 0; }
.cform__side h3 { font-size: 1.25rem; }
.helps { margin-top: 16px; display: grid; gap: 10px; }
.helps li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.helps i { margin-top: 4px; flex: none; }
.cform__base { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.cform__base i { margin-top: 4px; flex: none; }
.cform__side figure { margin: 32px 0 0; }
.cform__side img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 50%; height: auto; }

.plate-band {
  min-height: 40vh;
  background: var(--night) url("/images/tex-brick.png?v=9077f029") center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: clamp(56px, 7vw, 96px) var(--gutter);
}
.cornerstone {
  background: var(--navy);
  color: #fff;
  padding: 36px 40px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 40px -12px rgba(12, 0, 40, 0.6);
}
.cornerstone p:first-child { display: flex; gap: 12px; align-items: flex-start; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.25; }
.cornerstone p:first-child i { margin-top: 5px; flex: none; }
.cornerstone p + p { margin-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--peri); }

/* ============================================================
   404
   ============================================================ */
.nf .hero-panel__dock h1 { font-size: clamp(5rem, 12vw, 10rem); line-height: 0.85; }
.nf__links { margin-top: 28px; display: grid; gap: 14px; justify-items: start; }
.nf__links .link-arrow { color: #fff; }

/* ============================================================
   Footer — Night Navy with the stripe seam top edge
   ============================================================ */
.site-footer {
  position: relative;
  background: var(--night);
  color: #fff;
}
.site-footer .stripe-edge { position: relative; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px 64px;
  padding-top: 64px;
  padding-bottom: 48px;
}
.footer__brand { min-width: 0; }
.footer__logo {
  display: block;
  height: 96px;           /* logo_footer_height_px — primary line ≈ 16.2px vs 15px links */
  width: auto;
  max-width: 500px;
}
.footer__logo--stacked { display: none; }
.footer__facts { margin-top: 20px; display: grid; gap: 6px; }
.footer__facts p {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--peri);
}
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 4px 56px; align-content: start; }
.footer__nav ul { display: grid; gap: 4px; align-content: start; }
.footer__nav a {
  display: inline-block;
  padding: 6px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat;
  transition: background-size var(--motion-duration) var(--motion-ease);
}
.footer__nav a:hover,
.footer__nav a:focus-visible { background-size: 100% 2px; }
.footer__rail {
  background: var(--white);
  padding: 20px;
  border-radius: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
}
.footer__rail img { height: 72px; width: auto; max-width: 100%; object-fit: contain; }
.footer__rail .badge-pmp { height: 72px; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 28px;
  padding-bottom: 36px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  color: var(--peri);
}

/* ============================================================
   Gallery lightbox — scaffolded shared mechanism (binding default)
   Inert until a data-lightbox group container exists on the page.
   Chrome restyled to the brand; mechanism unchanged.
   (frontend-design.md § "Gallery lightbox")
   ============================================================ */
.lightbox-zoomable {
  cursor: zoom-in;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}
.lightbox.is-open {
  display: flex;
  animation: lightbox-in var(--motion-duration) var(--motion-ease);
}
@keyframes lightbox-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox.is-open { animation: none; }
}
.lightbox__scrim {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--night) 92%, transparent);
}
.lightbox__frame {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-top: 6px solid transparent;
  border-image: var(--stripe) 6;
  box-shadow: 0 24px 80px -16px rgba(0, 0, 0, 0.6);
}
.lightbox__caption {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  max-width: 60ch;
}
.lightbox__counter {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--peri);
  font-variant-numeric: tabular-nums;
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  z-index: 2;
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  background: var(--paper);
  color: var(--navy);
  box-shadow: inset 0 -3px 0 var(--red);
  font-size: 1.15rem;
  line-height: 1;
}
.lightbox__close:hover,
.lightbox__close:focus-visible,
.lightbox__prev:hover,
.lightbox__prev:focus-visible,
.lightbox__next:hover,
.lightbox__next:focus-visible {
  background: #fff;
}
.lightbox__close:focus-visible,
.lightbox__prev:focus-visible,
.lightbox__next:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev  { left: 1rem;  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__caption[hidden],
.lightbox__counter[hidden],
.lightbox__prev[hidden],
.lightbox__next[hidden] {
  display: none;
}

/* Reveal-gating floor (no scroll reveals are used — the motion signature is
   triptych-seats-then-stillness — but the floor is kept for any future .reveal) */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   Responsive — tablet
   ============================================================ */
@media (max-width: 1100px) {
  .hero-dock { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hero-tri__base { grid-template-columns: 78fr 22fr; }
  .mapbrief { grid-template-columns: minmax(0, 1fr); }
  .mapbrief__map { width: 100%; }
  .mapbrief__panel { max-width: 560px; }
  .dock { grid-template-columns: 26vw minmax(0, 1fr); }
  .dock__form { grid-column: 2; padding: 0 var(--gutter) 88px 0; }
  .dock__media { grid-row: 1 / span 2; }
  .dock__text { padding-bottom: 36px; }
  .ledger__row { grid-template-columns: clamp(8.5rem, 20vw, 12rem) minmax(0, 1fr); }
  .ledger__note { grid-column: 2; margin-top: 10px; border-left: 0; padding-left: 0; }
  .project-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ring-band__grid { grid-template-columns: minmax(0, 1fr); }
  .sector-list { max-width: 560px; }
  .svc { grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.3fr) 18%; }
  .svc:hover, .svc:focus-within { grid-template-columns: 4.5rem minmax(0, 0.8fr) minmax(0, 1fr) 30%; }
  .creds__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .hero-panel { grid-template-columns: 1fr; --h: 46vh; min-height: 0; }
  .hero-panel__media { grid-column: 1; grid-row: 1; width: 72%; margin-left: auto; height: max(300px, 46vh); --h: max(300px, 46vh); }
  .hero-panel--mirror .hero-panel__media { margin-left: 0; margin-right: auto; }
  .hero-panel__dock,
  .hero-panel--mirror .hero-panel__dock { grid-column: 1; grid-row: 2; margin: -40px 0 0; padding: 40px var(--gutter) 48px; }
  .hero-panel--mirror .hero-panel__dock { width: 100%; }
  .record { grid-template-columns: 1fr; }
  .record__numeral-wrap { min-height: 0; order: 2; }
  .record__numeral { font-size: 44vw; }
  .record__text { padding: 80px var(--gutter) 24px; }
  .ledger { grid-template-columns: 1fr; }
  .ledger__main { padding-left: calc(var(--gutter) + 40px); }
  .ledger__media { margin: 0 0 0 20%; order: -1; margin-top: -60px; }
  .lines__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lines__seam { height: 16px; clip-path: polygon(0 0, 100% 3px, 100% 100%, 0 calc(100% - 3px)); background: var(--stripe-v); margin: 56px 0; }
  .jv__intro,
  .index__intro { grid-template-columns: minmax(0, 1fr); }
  .jv__row--a, .jv__row--b { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cta-blue { grid-template-columns: minmax(0, 1fr); }
  .refs { grid-template-columns: minmax(0, 1fr); }
  .refs__media { min-height: 52vh; }
  .jvband__grid { grid-template-columns: minmax(0, 1fr); }
  .jvband__media .stair-1 { width: 78%; }
  .jvband__media .stair-2 { width: 62%; margin: -80px 0 0 auto; }
  .leader__grid { grid-template-columns: minmax(0, 1fr); }
  .leader__side { border-right: 0; padding-right: 0; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: start; }
  .leader__side .plate { margin-top: 0; }
  .leader__main { padding-left: 0; }
  .cform__grid { grid-template-columns: minmax(0, 1fr); }
  .cform__main { border-right: 0; padding-right: 0; }
  .cform__side { padding-left: 0; padding-top: 40px; border-top: 1px solid var(--rule); }
  .cform__side figure { max-width: 420px; }
  .sector { grid-template-columns: minmax(0, 1fr); }
  .sector-break { grid-template-columns: minmax(0, 1fr); }
  .sector-break figure { grid-column: 1; grid-row: 1; width: 62%; margin-right: calc(-1 * var(--gutter)); }
  .sector-break__line { grid-row: 2; }
  .spyre__row { grid-template-columns: minmax(0, 32%) minmax(0, 1fr); padding-right: var(--gutter); padding-left: var(--gutter); }
  .band__panel { padding: 36px; }
}

/* ============================================================
   Responsive — mobile
   ============================================================ */
@media (max-width: 720px) {
  /* Triptych turns, not stacks: three diagonal slices with stripe seams */
  .hero-tri { min-height: 0; }
  .triptych {
    --dm: calc(100vw * var(--tan8));
    height: auto;
    display: flex;
    flex-direction: column;
    background: var(--stripe);
  }
  .triptych .seam { display: none; }
  .triptych__panel {
    position: relative;
    left: auto !important;
    right: auto;
    width: 100% !important;
    height: calc(24vh + var(--dm));
    min-height: calc(150px + var(--dm));
    transform: none !important;
  }
  .triptych__panel--1 { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--dm)), 0 100%); }
  .triptych__panel--2 { margin-top: calc(16px - var(--dm)); clip-path: polygon(0 var(--dm), 100% 0, 100% calc(100% - var(--dm)), 0 100%); }
  .triptych__panel--3 { margin-top: calc(16px - var(--dm)); clip-path: polygon(0 var(--dm), 100% 0, 100% 100%, 0 100%); padding-bottom: 40px; box-sizing: content-box; }
  .triptych__panel .tri-chip { left: var(--gutter) !important; bottom: auto; top: calc(var(--dm) + 10px); }
  .triptych__panel--1 .tri-chip { top: 14px; }
  .hero-tri__base { grid-template-columns: 1fr; margin-top: -40px; }
  .hero-dock { padding: 36px var(--gutter) 40px; }
  .hero-dock h1 { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
  .hero-tri__corner { padding: 24px var(--gutter) 28px; }

  .lines .line__list { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }

  .band { min-height: 0; display: flex; flex-direction: column; }
  .band__img { position: relative; height: 58vh; min-height: 300px; }
  .band__panel,
  .band--refs .band__panel,
  .band--close .band__panel,
  .band--mission .band__panel {
    position: relative;
    left: auto; right: auto; top: auto; bottom: auto;
    width: auto;
    max-width: none;
    margin: -64px var(--gutter) 0;
    padding: 30px 24px;
  }
  .band--mission { flex-direction: column-reverse; }
  .band--mission .band__panel { margin: -48px var(--gutter) -64px; }
  .band--refs + section { padding-top: clamp(64px, 8vw, 112px); }
  .band--refs { padding-bottom: 0; }
  .band--close { padding-bottom: 48px; margin-bottom: 0; background: var(--paper); }
  .band--refs { background: var(--paper); padding-bottom: 48px; }

  .mapbrief { padding-inline: var(--gutter); }
  .mapbrief__panel { padding: 32px 26px; }

  .dock { grid-template-columns: minmax(0, 1fr); }
  .dock__media { grid-row: auto; min-height: 0; margin-right: 28%; }
  .dock__media img { position: relative; aspect-ratio: 3 / 4; height: auto; max-height: 62vh; }
  .dock__text { padding: 48px var(--gutter) 24px; }
  .dock__form { grid-column: 1; padding: 0 var(--gutter) 72px; }

  .map__canvas { margin-inline: calc(-1 * var(--gutter)); width: calc(100% + 2 * var(--gutter)); }
  .pin { width: 26px; height: 26px; }
  .pin--jv::before { width: 12px; height: 12px; }
  .pin--consult::before { width: 11px; height: 11px; border-width: 2px; }
  .map-drawer {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 78vh;
    z-index: 200;
    box-shadow: 0 -18px 40px rgba(12, 0, 40, 0.5);
  }
  .project-list { grid-template-columns: minmax(0, 1fr); }

  .pairs { padding-inline: 12px; }
  .pairs__frame { padding: 28px 18px; }
  .pair__images { grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); }
  .pair__seam { width: 18px; }

  .cta-blue { padding-left: var(--gutter); padding-bottom: 180px; }
  .cta-blue .stripe-corner--bl { width: 120px; height: 120px; }

  .svc,
  .svc:hover,
  .svc:focus-within { grid-template-columns: 3.4rem minmax(0, 1fr); grid-template-rows: auto auto auto; min-height: 0; }
  .svc__sliver { grid-column: 1 / -1; grid-row: 1; height: 64px; min-height: 0; margin-top: 18px; }
  .svc__sliver--empty { display: none; }
  .svc__num { grid-column: 1; grid-row: 2; font-size: 2rem; padding-top: 18px; }
  .svc__name { grid-column: 2; grid-row: 2; padding: 20px 0 6px; }
  .svc__desc { grid-column: 2; grid-row: 3; padding: 0 0 24px; }

  .types__grid { grid-template-columns: minmax(0, 1fr); }
  .types__grid li,
  .types__grid li:nth-child(even) { padding: 28px 0 30px; border-right: 0; }
  .types__grid li:nth-child(odd) { border-right: 0; }

  .sheet { padding: 44px 22px 32px; }
  .sheet-band { padding-inline: 12px; }

  .refs__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .spyre__row { grid-template-columns: minmax(0, 1fr); padding: 0 var(--gutter); }
  .spyre__strip img { min-height: 0; height: 160px; border-radius: 8px 8px 0 0; }
  .spyre__card { border-radius: 0 0 8px 8px; padding: 28px 24px 30px; }
  .leader__side { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .badge-rail { justify-content: center; }
  .badge-rail img, .badge-rail .badge-pmp { height: 72px; }
  .footer__rail { justify-content: center; }
  .footer__rail img, .footer__rail .badge-pmp { height: 56px; }
  .ledger__main { padding-left: calc(var(--gutter) + 34px); padding-right: var(--gutter); }
  .ledger__row { grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 0 16px; }
  .ledger__note { grid-column: 1 / -1; }
  .ledger__media { margin: -56px 0 0 56%; }
  .record__text { padding-top: 132px; }
  .record .stripe-corner { width: 108px; height: 108px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { min-height: 88px; padding: 14px; font-size: 0.9375rem; }
}

@media (max-width: 560px) {
  /* Footer: the horizontal lockup can't keep its primary line legible at this width;
     swap to the client's own stacked white-wordmark variant, sized to the width. */
  .footer__logo--wide { display: none; }
  .footer__logo--stacked {
    display: block;
    height: min(176px, calc((100vw - 40px) / 1.837));
    max-width: 100%;
  }
  .footer__nav { gap: 4px 40px; }
}

@media (max-width: 480px) {
  /* Type gains weight on mobile */
  .hero-dock h1,
  .hero-panel__dock h1 { font-weight: 900; letter-spacing: -0.025em; }
  .record__numeral { font-size: 44vw; }
  .sector-list a { grid-template-columns: 2.6rem minmax(0, 1fr) auto; }
}

/* ============================================================
   Self-hosted Google Fonts (localized by 20_performance_sweep)
   ============================================================ */
/* vietnamese */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/6xKtdSZaM9iE8KbpRA_hJFQNYuDyP7bh.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/6xKtdSZaM9iE8KbpRA_hJVQNYuDyP7bh.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/6xKtdSZaM9iE8KbpRA_hK1QNYuDyPw.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/6xKtdSZaM9iE8KbpRA_hJFQNYuDyP7bh.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/6xKtdSZaM9iE8KbpRA_hJVQNYuDyP7bh.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/6xKtdSZaM9iE8KbpRA_hK1QNYuDyPw.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/6xKtdSZaM9iE8KbpRA_hJFQNYuDyP7bh.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/6xKtdSZaM9iE8KbpRA_hJVQNYuDyP7bh.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/6xKtdSZaM9iE8KbpRA_hK1QNYuDyPw.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/L0x-DF02iFML4hGCyMqrbS1miXK2Z7s.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/L0x-DF02iFML4hGCyMqlbS1miXK2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/L0x-DF02iFML4hGCyMqrbS1miXK2Z7s.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/L0x-DF02iFML4hGCyMqlbS1miXK2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/L0x-DF02iFML4hGCyMqrbS1miXK2Z7s.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/L0x-DF02iFML4hGCyMqlbS1miXK2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/L0x-DF02iFML4hGCyMqrbS1miXK2Z7s.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/L0x-DF02iFML4hGCyMqlbS1miXK2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/L0x-DF02iFML4hGCyMqrbS1miXK2Z7s.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/L0x-DF02iFML4hGCyMqlbS1miXK2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
