/* =====================================================================
   TDN Five — site system (2027 build)
   Layout concept: "The Building" — a large calm space entered through
   one doorway, four principal doors (the operating companies), rooms
   beyond them (the brands). Full-bleed architecture alternates with
   paper-light reading rooms. Signature device: corner-bracket FRAMES
   with structural COORDINATES (L = level, D = door).
   One gold moment only: the hero headline phrase.
   ===================================================================== */

:root {
  color-scheme: light;
  /* palette (brand: #FFF9AB, #C7D0B4, #2E5BA7, #919558) */
  --paper: #FBFAF0;          /* lightest tint of #FFF9AB */
  --paper-2: #F1F3E8;        /* sage-tinted reading room */
  --champagne: #FFF9AB;
  --sage: #C7D0B4;
  --olive: #919558;
  --olive-ink: #5D6233;      /* olive darkened for small text on paper */
  --blue: #2E5BA7;
  --blue-deep: #22457F;
  --navy: #13213D;           /* deep architecture band, from #2E5BA7 */
  --navy-2: #1B2F55;
  --ink: #17203A;
  --ink-2: #3F4860;
  --muted: #5B6377;
  --rule: rgba(23, 32, 58, .14);
  --rule-strong: rgba(23, 32, 58, .32);
  --on-dark: #F6F5E6;
  --on-dark-muted: rgba(246, 245, 230, .72);
  --rule-dark: rgba(246, 245, 230, .18);
  --gold: linear-gradient(100deg, #FFF9AB 0%, #EFE69A 30%, #CFC77C 62%, #A9AC67 100%);

  /* type */
  --f-display: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --t-display: clamp(2.5rem, 1.35rem + 3.9vw, 5.25rem);
  --t-h2: clamp(1.95rem, 1.35rem + 2.1vw, 3.35rem);
  --t-h3: clamp(1.3rem, 1.1rem + .7vw, 1.75rem);
  --t-lead: clamp(1.12rem, 1.02rem + .35vw, 1.32rem);
  --t-body: 1.0625rem;
  --t-small: .9375rem;
  --t-label: .75rem;

  /* layout */
  --canvas: 1440px;
  --gutter: clamp(20px, 4.2vw, 72px);
  --band: clamp(72px, 9vw, 144px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.6;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--champagne); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: var(--on-dark); padding: 10px 16px; }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--canvas) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.band { padding-block: var(--band); }
.band--tight { padding-block: calc(var(--band) * .62); }
.band--paper2 { background: var(--paper-2); }
.band--sage { background: color-mix(in srgb, var(--sage) 42%, var(--paper)); }
.band--navy { background: var(--navy); color: var(--on-dark); }
.band--blue { background: var(--blue); color: var(--on-dark); }
.rule-top { border-top: 1px solid var(--rule); }
.stack { display: grid; gap: 1.25rem; }
.stack-lg { display: grid; gap: 2rem; }
.measure { max-width: 64ch; }
.measure-sm { max-width: 46ch; }

/* ---------- type utilities ---------- */
.coord {
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--olive-ink);
  display: inline-flex; align-items: center; gap: .75em; flex-wrap: wrap;
}
.coord .sep { width: 28px; height: 1px; background: currentColor; opacity: .6; }
.on-dark .coord, .band--navy .coord, .band--blue .coord { color: var(--sage); }
.h-display, .h2, .h3 { font-family: var(--f-display); font-weight: 500; letter-spacing: -.01em; text-wrap: balance; }
.h-display { font-size: var(--t-display); line-height: 1.02; }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); line-height: 1.18; }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }
.on-dark .lead, .band--navy .lead, .band--blue .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.small { font-size: var(--t-small); }
em.serif, .serif-i { font-family: var(--f-display); font-style: italic; }
.gold-text {
  background: var(--gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-style: italic;
}

/* ---------- signature device: FRAMES (corner brackets) ---------- */
.frame {
  --fc: var(--olive);
  --fl: 22px;
  position: relative;
  padding: 12px;
  background:
    linear-gradient(var(--fc), var(--fc)) top left / var(--fl) 1px no-repeat,
    linear-gradient(var(--fc), var(--fc)) top left / 1px var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) top right / var(--fl) 1px no-repeat,
    linear-gradient(var(--fc), var(--fc)) top right / 1px var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) bottom left / var(--fl) 1px no-repeat,
    linear-gradient(var(--fc), var(--fc)) bottom left / 1px var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) bottom right / var(--fl) 1px no-repeat,
    linear-gradient(var(--fc), var(--fc)) bottom right / 1px var(--fl) no-repeat;
}
.frame--light { --fc: var(--sage); }
.frame--lg { --fl: 34px; padding: 18px; }
.frame img { width: 100%; }
.frame figcaption, .figcap {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule);
  font-size: .8125rem; color: var(--muted);
}
.on-dark .frame figcaption, .band--navy .frame figcaption { border-color: var(--rule-dark); color: var(--on-dark-muted); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .8rem 1.5rem;
  font: 600 .9375rem/1.2 var(--f-body); letter-spacing: .04em;
  text-decoration: none; border: 1px solid transparent; border-radius: 0;
  cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--blue-deep); }
.btn--light { background: var(--champagne); color: var(--navy); }
.btn--light:hover, .btn--light:focus-visible { background: #EDE68F; }
.btn--ghost { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--ink); background: rgba(23,32,58,.04); }
.on-dark .btn--ghost, .band--navy .btn--ghost, .band--blue .btn--ghost { color: var(--on-dark); border-color: var(--rule-dark); }
.on-dark .btn--ghost:hover, .band--navy .btn--ghost:hover, .band--blue .btn--ghost:hover { border-color: var(--on-dark); background: rgba(255,255,255,.06); }
.btn .arr { transition: transform .15s var(--ease); }
.btn:hover .arr { transform: translateX(2px); }
.tlink {
  font-weight: 600; text-decoration: none; color: var(--blue);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color .15s var(--ease);
}
.tlink:hover { color: var(--navy); }
.on-dark .tlink, .band--navy .tlink, .band--blue .tlink { color: var(--champagne); }
.on-dark .tlink:hover, .band--navy .tlink:hover { color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.microcopy { font-size: .875rem; color: var(--muted); }
.on-dark .microcopy, .band--navy .microcopy { color: var(--on-dark-muted); }

/* ---------- utility bar + header ---------- */
.utility { background: var(--navy); color: var(--on-dark-muted); font-size: .8125rem; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; flex-wrap: wrap; }
.utility nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.utility a { text-decoration: none; color: var(--on-dark); letter-spacing: .02em; }
.utility a:hover { color: var(--champagne); }
.utility .lab { color: var(--sage); letter-spacing: .14em; text-transform: uppercase; font-size: .6875rem; font-weight: 600; }

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { height: 44px; width: auto; }
.brand .descr { display: grid; line-height: 1.15; }
.brand .descr b { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .01em; }
.brand .descr span { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--olive-ink); font-weight: 600; }
.mainnav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.mainnav a.nl { text-decoration: none; font-weight: 600; font-size: .9375rem; color: var(--ink-2); padding-block: 8px; border-bottom: 1px solid transparent; transition: color .15s var(--ease), border-color .15s var(--ease); }
.mainnav a.nl:hover { color: var(--ink); border-color: var(--rule-strong); }
.mainnav a.nl[aria-current="page"] { color: var(--ink); border-color: var(--olive); }
.mainnav .btn { min-height: 44px; padding: .6rem 1.15rem; }
.navtoggle { display: none; background: none; border: 1px solid var(--rule-strong); min-width: 48px; min-height: 44px; cursor: pointer; color: var(--ink); font: 600 .8125rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; padding: 0 14px; }
@media (max-width: 1080px) {
  .navtoggle { display: inline-flex; align-items: center; }
  .mainnav { position: fixed; inset: calc(78px + 38px) 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 24px max(var(--gutter), env(safe-area-inset-left, 0px)); max-height: calc(100vh - 116px); overflow-y: auto; }
  .mainnav:not(.open) { display: none; }
  .mainnav a.nl { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.0625rem; }
  .mainnav .btn { margin-top: 16px; }
  .is-scrolled .mainnav { top: 78px; }
}
@media (max-width: 640px) {
  .utility .wrap > span { display: none; }
  .utility nav { gap: .9rem 1.1rem; padding-block: 6px; }
  .brand .descr span { display: none; }
}

/* ---------- full-bleed photography ---------- */
.bleed { position: relative; overflow: hidden; isolation: isolate; }
.bleed > picture, .bleed > img, .bleed .bleed-img { position: absolute; inset: 0; z-index: -2; }
.bleed .bleed-img, .bleed > img { width: 100%; height: 100%; object-fit: cover; }
.bleed::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bleed--scrim-left::after { background: linear-gradient(90deg, rgba(19,33,61,.94) 0%, rgba(19,33,61,.86) 34%, rgba(19,33,61,.35) 62%, rgba(19,33,61,.05) 82%); }
.bleed--scrim-full::after { background: linear-gradient(90deg, rgba(19,33,61,.93) 0%, rgba(19,33,61,.8) 45%, rgba(19,33,61,.62) 100%); }
.bleed--scrim-soft::after { background: linear-gradient(0deg, rgba(19,33,61,.55), rgba(19,33,61,.15)); }
@media (max-width: 860px) {
  .bleed--scrim-left::after { background: linear-gradient(0deg, rgba(19,33,61,.95) 0%, rgba(19,33,61,.86) 55%, rgba(19,33,61,.45) 100%); }
}

/* ---------- HERO (home) ---------- */
.hero { color: var(--on-dark); min-height: clamp(560px, 74vh, 860px); display: flex; align-items: stretch; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; padding-block: clamp(64px, 8vw, 120px) clamp(48px, 6vw, 88px); }
.hero-copy { display: grid; gap: 1.6rem; max-width: 760px; }
.hero-copy .lead { max-width: 54ch; }
.hero .door-mark { align-self: center; justify-self: center; display: grid; justify-items: center; gap: 10px; color: var(--champagne); }
.hero .door-mark .frame { --fc: var(--champagne); width: clamp(120px, 14vw, 200px); aspect-ratio: 3 / 5; padding: 0; }
.tertiary { font-size: .9375rem; color: var(--on-dark-muted); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .door-mark { display: none; }
}

/* coordinate strip */
.coordstrip { background: var(--navy); color: var(--on-dark); border-top: 1px solid var(--rule-dark); }
.coordstrip .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.coordstrip .cell { padding: 22px 0 22px 22px; border-left: 1px solid var(--rule-dark); display: grid; gap: 4px; }
.coordstrip .cell:first-child { border-left: 0; padding-left: 0; }
.coordstrip .k { font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.coordstrip .v { font-family: var(--f-display); font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 760px) {
  .coordstrip .wrap { grid-template-columns: 1fr 1fr; }
  .coordstrip .cell:nth-child(3) { border-left: 0; padding-left: 0; }
  .coordstrip .cell:nth-child(n+3) { border-top: 1px solid var(--rule-dark); }
}

/* section heading block */
.sh { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 5vw, 6rem); align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.sh .stack { gap: 1rem; }
.sh--hero { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
@media (max-width: 900px) { .sh, .sh--hero { grid-template-columns: 1fr; } }

/* ---------- LOBBY DIRECTORY ---------- */
.directory { background: var(--navy); color: var(--on-dark); padding: clamp(18px, 2.4vw, 34px); }
.directory .dir-head, .directory .dir-row { display: grid; grid-template-columns: 92px minmax(0, 2.2fr) minmax(0, 1.1fr) minmax(0, 3fr) 92px 150px; gap: 20px; align-items: center; }
.directory .dir-head { padding: 0 18px 14px; border-bottom: 1px solid var(--rule-dark); font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.dir-row {
  padding: 22px 18px; border: 1px solid transparent; border-bottom-color: var(--rule-dark);
  text-decoration: none; color: inherit; transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.dir-row:hover, .dir-row:focus-within { border-color: rgba(255,249,171,.55); background: rgba(255,255,255,.03); box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.dir-row .door { font-family: var(--f-display); font-size: 1.6rem; color: var(--champagne); font-variant-numeric: lining-nums; }
.dir-row .door small { display: block; font-family: var(--f-body); font-size: .6875rem; letter-spacing: .16em; color: var(--sage); }
.dir-row .co { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + .9vw, 2.05rem); line-height: 1.1; }
.dir-row .ind { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8125rem; color: var(--sage); }
.dir-row .ovs { color: var(--on-dark-muted); font-size: .9688rem; line-height: 1.5; }
.dir-row .num { font-family: var(--f-display); font-size: 1.6rem; font-variant-numeric: lining-nums tabular-nums; }
.dir-row .num small { display: block; font-family: var(--f-body); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.dir-row .go { display: grid; gap: 8px; justify-items: start; }
.dir-row .go a { color: var(--champagne); font-weight: 600; font-size: .875rem; text-decoration: none; border-bottom: 1px solid rgba(255,249,171,.4); }
.dir-row .go a:hover { border-color: var(--champagne); }
.dir-row .go a.sec { color: var(--on-dark); border-color: var(--rule-dark); }
.dir-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 18px 18px 0; font-size: .8125rem; color: var(--on-dark-muted); }
@media (max-width: 1100px) {
  .directory .dir-head { display: none; }
  .directory .dir-row { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "door co num" "door ind num" "door ovs ovs" "door go go"; row-gap: 8px; align-items: start; }
  .dir-row .door { grid-area: door; } .dir-row .co { grid-area: co; } .dir-row .ind { grid-area: ind; }
  .dir-row .ovs { grid-area: ovs; } .dir-row .num { grid-area: num; text-align: right; } .dir-row .go { grid-area: go; grid-auto-flow: column; justify-content: start; gap: 22px; margin-top: 6px; }
}
@media (max-width: 520px) {
  .directory { padding: 10px; }
  .directory .dir-row { grid-template-columns: 48px minmax(0, 1fr) auto; padding: 18px 8px; }
}

/* ---------- pain: split reading room ---------- */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 7rem); }
.split .aside { position: sticky; top: 120px; align-self: start; display: grid; gap: 1.25rem; }
.prose-xl { display: grid; gap: 1.6rem; font-family: var(--f-display); font-size: clamp(1.35rem, 1.08rem + .9vw, 2rem); line-height: 1.32; color: var(--ink); }
.prose-xl p.q { color: var(--ink-2); }
.prose-xl .divide { height: 1px; background: var(--rule); margin-block: .4rem; }
.prose { display: grid; gap: 1.1rem; max-width: 64ch; color: var(--ink-2); }
.band--navy .prose, .on-dark .prose { color: var(--on-dark-muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .aside { position: static; } }

/* ---------- full-bleed corridor with framed panel ---------- */
.corridor { min-height: clamp(620px, 90vh, 920px); display: flex; align-items: center; }
.corridor .wrap { display: flex; justify-content: flex-end; padding-block: clamp(64px, 8vw, 120px); }
.panel { background: color-mix(in srgb, var(--paper) 96%, transparent); color: var(--ink); max-width: 620px; padding: clamp(28px, 3.6vw, 52px); display: grid; gap: 1.1rem; box-shadow: 0 30px 80px -40px rgba(19,33,61,.55); }
.panel.frame { --fc: var(--olive); --fl: 34px; padding: clamp(32px, 4vw, 56px); }
.panel .last { font-family: var(--f-display); font-size: var(--t-h3); line-height: 1.25; color: var(--ink); padding-top: .4rem; border-top: 1px solid var(--rule); }
@media (max-width: 760px) { .corridor .wrap { justify-content: center; } }

/* ---------- bridge (navy) ---------- */
.bridge-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.bridge-grid .stmt { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 4.1rem); line-height: 1.06; }
.paths { display: grid; border-top: 1px solid var(--rule-dark); }
.paths .p { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.25rem; padding-block: 22px; border-bottom: 1px solid var(--rule-dark); }
.paths .p dt { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); font-weight: 600; padding-top: 4px; }
.paths .p dd { margin: 0; font-family: var(--f-display); font-size: 1.35rem; line-height: 1.25; }
@media (max-width: 900px) { .bridge-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .paths .p { grid-template-columns: 1fr; gap: .4rem; } }

/* ---------- structure map ---------- */
.mapwrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.map { overflow-x: auto; }
.map svg { width: 100%; min-width: 560px; height: auto; display: block; }
.map .edge { stroke: var(--rule-strong); stroke-width: 1.2; transition: stroke .18s var(--ease), stroke-width .18s var(--ease); fill: none; }
.map .edge.on { stroke: var(--blue); stroke-width: 2.2; }
.map .node rect { fill: var(--paper); stroke: var(--rule-strong); transition: stroke .18s var(--ease), fill .18s var(--ease); }
.map .node text { fill: var(--ink); font-family: var(--f-body); }
.map .node .nm { font-family: var(--f-display); font-size: 21px; }
.map .node .lb { font-size: 11px; letter-spacing: 2.2px; fill: var(--olive-ink); font-weight: 600; }
.map .node .ct { font-size: 12.5px; fill: var(--muted); }
.map .node { cursor: pointer; outline: none; }
.map .node.on rect, .map .node:focus-visible rect { stroke: var(--blue); stroke-width: 2; fill: #fff; }
.map .hub rect { fill: var(--navy); stroke: var(--navy); }
.map .hub text { fill: var(--on-dark); }
.map .hub .lb { fill: var(--sage); }
.map .dot { fill: var(--olive); transition: fill .18s var(--ease); }
.map .dot.on { fill: var(--blue); }
.map .leaf text { font-size: 12px; fill: var(--muted); font-family: var(--f-body); }
.map .leaf circle { fill: var(--sage); stroke: var(--olive); stroke-width: 1; transition: fill .18s var(--ease); }
.map .leaf.on circle { fill: var(--blue); stroke: var(--blue); }
.map .leaf.on text { fill: var(--ink); }
.map-detail { border-top: 1px solid var(--rule-strong); padding-top: 1.4rem; display: grid; gap: 1rem; min-height: 260px; }
.map-detail .h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { font-size: .8125rem; padding: 5px 10px; border: 1px solid var(--rule-strong); color: var(--ink-2); }
.band--navy .chips li { border-color: var(--rule-dark); color: var(--on-dark-muted); }
@media (max-width: 1000px) { .mapwrap { grid-template-columns: 1fr; } }

/* role ledger */
.ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); margin-top: clamp(40px, 5vw, 72px); }
.ledger li { list-style: none; align-content: start; padding: 20px 20px 22px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 6px; font-size: .9688rem; color: var(--ink-2); }
.ledger li b { font-family: var(--f-display); font-weight: 500; font-size: 1.12rem; color: var(--ink); }
@media (max-width: 900px) { .ledger { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ledger { grid-template-columns: 1fr; } }

/* ---------- proof ---------- */
.proof-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); }
.facts div { padding: 22px 16px 22px 0; display: grid; gap: 4px; }
.facts div + div { border-left: 1px solid var(--rule); padding-left: 18px; }
.facts .n { font-family: var(--f-display); font-size: clamp(2.4rem, 1.7rem + 2.2vw, 3.8rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; color: var(--navy); }
.facts .l { font-size: .875rem; color: var(--muted); }
.distbar { display: grid; gap: 10px; }
.distbar .bar { display: flex; height: 44px; border: 1px solid var(--rule-strong); }
.distbar .bar span { display: flex; align-items: center; padding-left: 10px; font-size: .8125rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; }
.distbar .bar span + span { border-left: 1px solid var(--paper); }
.distbar .legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; font-size: .8125rem; color: var(--muted); }
.distbar .legend b { display: block; color: var(--ink); font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; }
.sw-d { background: var(--blue); color: #fff !important; } .sw-e { background: var(--sage); } .sw-f { background: var(--olive); color: #fff !important; } .sw-c { background: var(--champagne); }
.milestones { list-style: none; display: grid; border-top: 1px solid var(--rule-strong); }
.milestones li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1.25rem; padding-block: 18px; border-bottom: 1px solid var(--rule); }
.milestones .yr { font-family: var(--f-display); font-size: 1.35rem; color: var(--olive-ink); font-variant-numeric: lining-nums; }
.milestones p { color: var(--ink-2); }
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); } .milestones li { grid-template-columns: 1fr; gap: .25rem; } .distbar .legend { grid-template-columns: 1fr 1fr; } }

/* ---------- summary request ---------- */
.summary-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.toc { list-style: none; display: grid; border-top: 1px solid var(--rule-strong); }
.toc li { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 1.25rem; padding-block: 18px; border-bottom: 1px solid var(--rule); }
.toc b { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; }
.toc span { color: var(--ink-2); }
.draft-note { display: inline-block; font-size: .8125rem; color: var(--olive-ink); border: 1px dashed var(--olive); padding: 4px 10px; }
.benefits { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.benefits li { padding-left: 22px; position: relative; color: var(--ink-2); }
.benefits li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-left: 1px solid var(--olive); border-top: 1px solid var(--olive); }
@media (max-width: 900px) { .summary-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .toc li { grid-template-columns: 1fr; gap: .25rem; } .benefits { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.field .hint { font-size: .8125rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: 400 1rem/1.4 var(--f-body); color: var(--ink);
  background: #fff; border: 1px solid var(--rule-strong); border-radius: 0; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,91,167,.18); }
.field fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--rule-strong); padding: 10px 14px; min-height: 44px; font-weight: 500; cursor: pointer; background: #fff; }
.radio-row input { accent-color: var(--blue); width: 18px; height: 18px; min-height: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { font-size: .8125rem; color: var(--muted); border-left: 2px solid var(--olive); padding-left: 12px; }
.form-status { font-size: .9375rem; padding: 14px 16px; border: 1px solid var(--rule-strong); background: #fff; }
.form-status.ok { border-color: var(--olive); }
.form-status.err { border-color: #9B3B2E; color: #7A2C21; }
.formcard { background: #fff; border: 1px solid var(--rule); padding: clamp(22px, 3vw, 40px); }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }

/* stepper */
.steps-ind { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; list-style: none; margin-bottom: 8px; }
.steps-ind li { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--rule); }
.steps-ind li.on { color: var(--ink); border-color: var(--blue); }
.steps-ind li.done { border-color: var(--olive); }
.fstep[hidden] { display: none !important; }
.fnav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- careers band ---------- */
.careers { min-height: clamp(560px, 72vh, 780px); display: flex; align-items: flex-end; color: var(--on-dark); }
.careers .wrap { padding-block: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2rem; align-items: end; }
.careers .ctabox { display: grid; gap: 1.2rem; justify-items: start; }
.careers ul.paths-c { list-style: none; display: grid; border-top: 1px solid var(--rule-dark); }
.careers ul.paths-c li { display: flex; justify-content: space-between; gap: 1rem; padding-block: 14px; border-bottom: 1px solid var(--rule-dark); color: var(--on-dark-muted); }
.careers ul.paths-c li b { color: var(--on-dark); font-weight: 600; }
@media (max-width: 900px) { .careers .wrap { grid-template-columns: 1fr; } }

/* ---------- opportunity (understated) ---------- */
.opp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
@media (max-width: 860px) { .opp { grid-template-columns: 1fr; } }

/* ---------- accordion ---------- */
.acc { border-top: 1px solid var(--rule-strong); }
.acc-item { border-bottom: 1px solid var(--rule); }
.acc-item h3 { margin: 0; font-size: inherit; }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; text-align: left;
  background: none; border: 0; padding: 22px 0; cursor: pointer; color: var(--ink);
  font: 500 clamp(1.1rem, 1rem + .4vw, 1.35rem)/1.3 var(--f-display);
}
.acc-btn .pm { flex: none; width: 28px; height: 28px; border: 1px solid var(--rule-strong); position: relative; }
.acc-btn .pm::before, .acc-btn .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .24s var(--ease); }
.acc-btn .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .24s ease-in-out; }
.acc-panel > div { overflow: hidden; }
.acc-panel .inner { padding: 0 0 24px; color: var(--ink-2); max-width: 72ch; display: grid; gap: .8rem; }
.acc-btn[aria-expanded="true"] + .acc-panel, .acc-panel.open { grid-template-rows: 1fr; }
.band--navy .acc { border-color: var(--rule-dark); }
.band--navy .acc-item { border-color: var(--rule-dark); }
.band--navy .acc-btn { color: var(--on-dark); }
.band--navy .acc-panel .inner { color: var(--on-dark-muted); }
.band--navy .acc-btn .pm { border-color: var(--rule-dark); }

/* ---------- decision / final ---------- */
.decide { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule-dark); }
.decide > div { padding: clamp(26px, 3.4vw, 48px); display: grid; gap: 1rem; align-content: start; }
.decide > div + div { border-left: 1px solid var(--rule-dark); }
@media (max-width: 760px) { .decide { grid-template-columns: 1fr; } .decide > div + div { border-left: 0; border-top: 1px solid var(--rule-dark); } }

/* ---------- page hero (inside pages) ---------- */
.phero { color: var(--on-dark); min-height: clamp(420px, 56vh, 620px); display: flex; align-items: flex-end; }
.phero .wrap { padding-block: clamp(80px, 9vw, 140px) clamp(44px, 5vw, 72px); display: grid; gap: 1.4rem; }
.phero .lead { max-width: 60ch; }
.phero:not(.phero--paper) h1 { max-width: 15ch; }
.phero--paper { color: var(--ink); min-height: 0; background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.phero--paper .lead { color: var(--ink-2); }
.crumbs { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--sage); display: flex; gap: .6rem; flex-wrap: wrap; }
.phero--paper .crumbs { color: var(--olive-ink); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- four doors (companies page) ---------- */
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 28px); }
.door-col { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--rule); background: #fff; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); scroll-margin-top: 140px; }
.door-col:hover, .door-col:focus-within { border-color: var(--rule-strong); box-shadow: 0 18px 44px -30px rgba(19,33,61,.5); }
.door-col .img { aspect-ratio: 1376 / 768; overflow: hidden; border-bottom: 1px solid var(--rule); }
.door-col .img img { width: 100%; height: 100%; object-fit: cover; }
.door-col .body { padding: 22px; display: grid; gap: .9rem; align-content: start; }
.door-col .h3 { font-size: clamp(1.45rem, 1.2rem + .6vw, 1.9rem); }
.door-col .count { display: flex; align-items: baseline; gap: 8px; border-top: 1px solid var(--rule); padding-top: 12px; }
.door-col .count b { font-family: var(--f-display); font-weight: 500; font-size: 2rem; font-variant-numeric: lining-nums; }
.door-col .count span { font-size: .8125rem; color: var(--muted); }
@media (max-width: 1100px) { .doors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .doors { grid-template-columns: 1fr; } }

/* ---------- portfolio grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters button {
  min-height: 44px; padding: 8px 16px; border: 1px solid var(--rule-strong); background: transparent; color: var(--ink-2);
  font: 600 .875rem var(--f-body); letter-spacing: .04em; cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.result-count { margin-left: auto; font-size: .875rem; color: var(--muted); }
.brandgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule); margin-top: 24px; }
.btile { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 22px 20px; display: grid; gap: 10px; align-content: start; min-height: 150px; text-decoration: none; color: inherit; background: var(--paper); transition: box-shadow .18s var(--ease), opacity .2s var(--ease), background-color .18s var(--ease); position: relative; }
a.btile:hover, a.btile:focus-visible { box-shadow: inset 0 0 0 1px var(--blue); background: #fff; }
.btile .nm { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.2; overflow-wrap: anywhere; }
.btile .meta { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-ink); font-weight: 600; }
.btile .go { font-size: .8125rem; font-weight: 600; color: var(--blue); margin-top: auto; }
.btile .go.none { color: var(--muted); font-weight: 400; }
.btile.fade { opacity: 0; }
@media (max-width: 1100px) { .brandgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .brandgrid { grid-template-columns: 1fr 1fr; } .result-count { margin-left: 0; width: 100%; } }
@media (max-width: 420px) { .brandgrid { grid-template-columns: 1fr; } }

/* ---------- two-column compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule-strong); }
.compare > div { padding: clamp(24px, 3vw, 44px); display: grid; gap: 1rem; align-content: start; }
.compare > div + div { border-left: 1px solid var(--rule-strong); background: var(--paper-2); }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border: 1px solid var(--olive); }
.ticks.yes li::after { content: ""; position: absolute; left: 5px; top: calc(.32em + 3px); width: 5px; height: 8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); }
.ticks.no li::after { content: ""; position: absolute; left: 4px; top: calc(.32em + 7.5px); width: 9px; height: 1.5px; background: var(--muted); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare > div + div { border-left: 0; border-top: 1px solid var(--rule-strong); } }

/* readiness checker */
.ready { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.ready .list { display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
.ready .list label { display: flex; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--rule); cursor: pointer; align-items: flex-start; }
.ready .list input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; margin-top: 3px; }
.meter { position: sticky; top: 120px; border: 1px solid var(--rule-strong); padding: 26px; display: grid; gap: 14px; background: #fff; }
.meter .track { height: 6px; background: var(--paper-2); border: 1px solid var(--rule); }
.meter .fill { height: 100%; width: 0; background: var(--blue); transition: width .2s var(--ease); }
.meter .score { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 900px) { .ready { grid-template-columns: 1fr; } .meter { position: static; } }

/* process stages */
.stages { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule); }
.stages li { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 26px 24px; display: grid; gap: .7rem; align-content: start; }
.stages .no { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; color: var(--olive); font-variant-numeric: lining-nums; }
.stages .out { font-size: .875rem; color: var(--ink-2); border-top: 1px solid var(--rule); padding-top: .7rem; }
.stages .out b { color: var(--olive-ink); font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; display: block; margin-bottom: 2px; }
@media (max-width: 1000px) { .stages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .stages { grid-template-columns: 1fr; } }

/* operate split */
.opsplit { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rule-strong); }
.opsplit > div { padding: clamp(26px, 3.4vw, 48px); display: grid; gap: 1.1rem; align-content: start; }
.opsplit > div:first-child { background: var(--navy); color: var(--on-dark); }
.opsplit > div:first-child .ticks li { color: var(--on-dark-muted); }
.opsplit > div:first-child .ticks li::before { border-color: var(--sage); }
@media (max-width: 760px) { .opsplit { grid-template-columns: 1fr; } }

.flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: f; }
.flow li { position: relative; padding: 28px 28px 0 0; display: grid; gap: .6rem; align-content: start; border-top: 1px solid var(--rule-strong); }
.flow li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--paper); border: 1px solid var(--olive); }
.flow li::after { content: ""; position: absolute; top: -1px; right: 18px; width: 9px; height: 9px; border-top: 1px solid var(--rule-strong); border-right: 1px solid var(--rule-strong); transform: translateY(-50%) rotate(45deg); }
.flow li:last-child::after { display: none; }
.flow .no { font-size: .75rem; letter-spacing: .18em; color: var(--olive-ink); font-weight: 600; }
.flow p { color: var(--ink-2); font-size: .9688rem; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } .flow li::after { display: none; } }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.cols-2-img { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
@media (max-width: 900px) { .cols-2, .cols-2-img { grid-template-columns: 1fr; } }

/* timeline (about) */
.timeline { list-style: none; position: relative; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 160px 28px minmax(0, 1fr); gap: 0 1.5rem; padding-bottom: 36px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(160px + 1.5rem + 13px); top: 10px; bottom: 0; width: 1px; background: var(--rule-strong); }
.timeline li:last-child::before { display: none; }
.timeline .mk { font-family: var(--f-display); font-size: 1.5rem; color: var(--olive-ink); text-align: right; font-variant-numeric: lining-nums; line-height: 1.2; }
.timeline .pt { width: 11px; height: 11px; border: 1px solid var(--olive); background: var(--paper); margin: 8px auto 0; position: relative; z-index: 1; }
.timeline li.now .pt { background: var(--blue); border-color: var(--blue); }
.timeline .tx { display: grid; gap: .4rem; }
.timeline .tx b { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; }
.timeline .tx p { color: var(--ink-2); }
@media (max-width: 600px) {
  .timeline li { grid-template-columns: 22px minmax(0, 1fr); }
  .timeline .mk { grid-column: 2; text-align: left; font-size: 1.15rem; }
  .timeline .pt { grid-row: 1; grid-column: 1; margin: 8px 0 0; }
  .timeline .tx { grid-column: 2; }
  .timeline li::before { left: 5px; }
}

/* hierarchy (about) */
.tiers { display: grid; gap: 10px; }
.tier { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: stretch; border: 1px solid var(--rule-strong); }
.tier .lv { background: var(--navy); color: var(--on-dark); padding: 18px; display: grid; align-content: center; gap: 2px; }
.tier .lv b { font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; }
.tier .lv span { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.tier .cn { padding: 18px 22px; display: grid; gap: 8px; background: #fff; }
.tier .cn .units { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tier .cn .units span { border: 1px solid var(--rule); padding: 8px 10px; font-size: .875rem; }
.tier .cn .units span b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; }
.tier:nth-child(1) { margin-right: 24%; } .tier:nth-child(2) { margin-right: 8%; }
@media (max-width: 760px) { .tier { grid-template-columns: 1fr; } .tier:nth-child(n) { margin-right: 0; } }

.values { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-dark); }
.values li { padding: 26px 26px 28px 0; border-bottom: 1px solid var(--rule-dark); display: grid; gap: .5rem; align-content: start; }
.values li + li { }
.values b { font-family: var(--f-display); font-weight: 500; font-size: 1.35rem; color: var(--on-dark); }
.values p { color: var(--on-dark-muted); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* insights */
.notes { display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
.note { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: clamp(1.5rem, 3vw, 3.5rem); padding-block: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--rule); scroll-margin-top: 140px; }
.note .h3 { font-size: clamp(1.6rem, 1.25rem + 1vw, 2.3rem); }
.note p { color: var(--ink-2); }
.note ul { list-style: none; display: grid; gap: 10px; border-left: 1px solid var(--olive); padding-left: 18px; }
.note ul li { font-size: .9688rem; color: var(--ink-2); }
@media (max-width: 960px) { .note { grid-template-columns: 1fr; } }

/* contact routes */
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule); }
.route { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 26px 24px; display: grid; gap: .65rem; align-content: start; background: var(--paper); transition: box-shadow .18s var(--ease), background-color .18s var(--ease); }
.route:hover, .route:focus-within { box-shadow: inset 0 0 0 1px var(--blue); background: #fff; }
.route .h3 { font-size: 1.4rem; }
.route .to { font-size: .875rem; border-top: 1px solid var(--rule); padding-top: .7rem; margin-top: .3rem; overflow-wrap: anywhere; }
.route .to a { color: var(--blue); font-weight: 600; text-decoration: none; }
.route .to a:hover { text-decoration: underline; }
@media (max-width: 960px) { .routes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .routes { grid-template-columns: 1fr; } }

/* pathways */
.pathways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.pathway { border: 1px solid var(--rule-strong); padding: clamp(24px, 2.6vw, 36px); display: grid; gap: 1rem; align-content: start; background: #fff; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.pathway:hover, .pathway:focus-within { border-color: var(--blue); box-shadow: 0 16px 40px -30px rgba(19,33,61,.55); }
.pathway dl { display: grid; gap: .8rem; margin: 0; }
.pathway dt { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--olive-ink); }
.pathway dd { margin: 0; color: var(--ink-2); }
@media (max-width: 960px) { .pathways { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-muted); font-size: .9375rem; }
.site-footer .wrap { padding-block: clamp(56px, 6vw, 88px) 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr)) minmax(0, 3fr); gap: 2rem clamp(1.5rem, 3vw, 3rem); }
.foot-brand { display: grid; gap: 1.1rem; align-content: start; }
.foot-brand img { width: 170px; }
.foot-brand .tag { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.3; color: var(--on-dark); }
.site-footer h2 { font-family: var(--f-body); font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; color: var(--on-dark); }
.site-footer a:hover { color: var(--champagne); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .co small { display: block; font-size: .75rem; color: var(--on-dark-muted); letter-spacing: .06em; }
.foot-legal { margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--rule-dark); display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; font-size: .8125rem; }
.foot-legal p { max-width: 80ch; }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* mobile sticky CTA (home only, never over forms) */
.mcta { display: none; }
@media (max-width: 760px) {
  .mcta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--navy); padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); transform: translateY(110%); transition: transform .2s var(--ease); }
  .mcta.show { transform: none; }
  .mcta .btn { width: 100%; }
  .cta-row .btn { width: 100%; }
}

/* ---------- motion: fade-in / slide-up, once, visible at rest ---------- */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-f { opacity: 0; transition: opacity .6s var(--ease); }
.js .rv-f.in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .js .rv, .js .rv-f { opacity: 1 !important; transform: none !important; }
}
@media print { .site-header, .utility, .mcta { display: none; } }
.opsplit > div:first-child .coord { color: var(--sage); }
