/* Perrin Strategic Solutions — design system aligned with The Financial Architect brand board.
   Source of truth: "PSS × TFA — Design Translation Plan" (2026-10-10), values from the approved TFA board.
   Layout concept: calm ivory field, charcoal-led executive voice, thin Champagne Gold hairlines and
   circle frames, square-edged panels. Gold, Taupe and Warm Stone are never used for text. */

/* Self-hosted fonts, SIL Open Font License 1.1 (licenses in /fonts/*-OFL.txt).
   Montserrat: Latin subset, 400-600. Playfair Display and Mrs Saint Delafield: original files, WOFF-wrapped, unmodified. */
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-display-var.woff") format("woff"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-latin-var.woff") format("woff"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Mrs Saint Delafield"; src: url("fonts/mrs-saint-delafield.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* TFA palette (exact board values) */
  --ivory: #faf7f2;        /* base background */
  --blush: #e8dad1;        /* soft panels, section tint */
  --taupe: #c9b8a8;        /* borders, dividers */
  --gold: #d4af7a;         /* hairlines, circle frames, accents (decorative only) */
  --stone: #a89680;        /* image borders/overlays only */
  --charcoal: #4b4b4b;     /* wordmark, headlines, body, buttons */

  --bg: var(--ivory);
  --ink: var(--charcoal);

  /* Type */
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: Montserrat, "Helvetica Neue", Arial, sans-serif;
  --font-script: "Mrs Saint Delafield", "Snell Roundhand", cursive;
  --step--2: 0.75rem;   /* spaced-caps labels */
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.1vw, 1.95rem);
  --step-3: clamp(2rem, 1.45rem + 2.3vw, 3.15rem);
  --step-4: clamp(2.6rem, 1.55rem + 4.3vw, 4.85rem);
  --track: 0.2em;

  /* Space and shape */
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --section: clamp(3.75rem, 2.75rem + 4vw, 7rem);
  --radius: 6px;
  --radius-btn: 8px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.18; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: var(--step-4); letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 3px; border-radius: 2px; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--charcoal); color: var(--ivory); padding: .6rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }

/* Labels: Montserrat spaced capitals with a short gold rule */
.eyebrow { font-family: var(--font-body); font-size: var(--step--2); font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink); display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.eyebrow::before { content: ""; width: 2.5rem; height: 2px; background: var(--gold); flex: none; }
.lead { font-size: var(--step-1); line-height: 1.6; max-width: 40rem; }
.lead-sm { max-width: 38rem; }
.small { font-size: var(--step--1); }
.tag { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: .25rem .65rem; border: 1px solid var(--taupe); border-radius: 3px; color: var(--ink); }

.tag.tag-strong { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }

/* Staging / preview notice */
.preview-bar { background: var(--blush); color: var(--charcoal); font-size: var(--step--2); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: .55rem var(--gutter-r) .55rem var(--gutter); border-bottom: 1px solid var(--taupe); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ivory); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--ivory); border-bottom: 2px solid var(--gold); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; color: var(--ink); text-decoration: none; }
.brand .mark { width: 2.75rem; height: 2.75rem; flex: none; }
.brand-logo-h { display: block; height: 46px; width: auto; max-width: 100%; }
.brand-logo-footer { height: 44px; }

.brand-logo { max-height: 96px; max-width: 220px; width: auto; height: auto; object-fit: contain; }
.brand-logo.brand-logo-pss { height: 140px; width: auto; max-height: none; max-width: 100%; justify-self: start; }
.brand-name { font-family: var(--font-display); font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.25; }

.nav-desktop { display: flex; align-items: center; gap: 1.75rem; }
.nav-desktop a, .nav-desktop .btn, .brand-name { white-space: nowrap; }
.nav-desktop ul { list-style: none; display: flex; gap: 1.4rem; }
.nav-desktop a:not(.btn) { color: var(--ink); text-decoration: none; font-size: var(--step--2); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding-block: .45rem; border-bottom: 1px solid transparent; }
.nav-desktop a:not(.btn):hover { border-bottom-color: var(--taupe); }
.nav-desktop a[aria-current="page"], .nav-desktop a.is-section { border-bottom: 2px solid var(--gold); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: .5rem .95rem; border: 1px solid var(--charcoal); border-radius: var(--radius-btn); font-size: var(--step--2); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; background: var(--ivory); }
.menu summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--gold); display: flex; flex-direction: column; align-items: stretch; gap: 1.25rem; padding: .5rem var(--gutter-r) 1.75rem var(--gutter); }
.menu ul { list-style: none; display: grid; }
.menu nav a:not(.btn) { display: block; padding-block: .95rem; border-bottom: 1px solid var(--taupe); color: var(--ink); text-decoration: none; font-size: var(--step--1); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.menu nav a.is-section, .menu nav a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--gold); padding-left: .9rem; }
@media (max-width: 1139px) {
  .nav-desktop { display: none; }
  .menu { display: block; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .8rem 1.6rem; border-radius: var(--radius-btn); font-family: var(--font-body); font-weight: 600; font-size: var(--step--2); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--charcoal); transition: background-color .2s, color .2s, border-color .2s; text-align: center; line-height: 1.3; }
.btn-sm { min-height: 44px; padding: .55rem 1.1rem; }
.btn-primary { background: var(--charcoal); color: var(--ivory); }
.btn-primary:hover { background: var(--ivory); color: var(--charcoal); }
.btn-quiet { background: transparent; color: var(--charcoal); }
.btn-quiet:hover { background: var(--charcoal); color: var(--ivory); }
.btn-gold { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }   /* light button on the charcoal panel */
.btn-gold:hover { background: transparent; color: var(--ivory); }
.btn-ghost-light { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.btn-ghost-light:hover { background: var(--ivory); color: var(--charcoal); }
.band-plum :focus-visible { outline-color: var(--ivory); }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.text-link { font-size: var(--step--2); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: .4rem; padding-block: .35rem; border-bottom: 1px solid var(--gold); justify-self: start; align-self: start; }
.text-link:hover { border-bottom-color: var(--charcoal); }

/* Sections */
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(2.75rem, 2rem + 2vw, 4.5rem); }
.band { padding-block: var(--section); }
.band-tint { background: var(--taupe); }          /* richer warm band (Charcoal text 4.5:1) */
.band-blush { background: var(--blush); }
.rule-top { border-top: 1px solid var(--stone); }   /* Warm Stone: borders and decoration only */
/* On Taupe, Champagne Gold disappears (1.1:1): accents switch to Charcoal or Ivory there */
.band-tint .eyebrow::before, .site-footer .footer-h::after { background: var(--charcoal); }
.band-tint .text-link { border-bottom-color: var(--charcoal); }
.band-tint .portrait-frame::after { border-color: var(--ivory); }
.band-tint .portrait { border-color: var(--ivory); }
.band-plum { background: var(--charcoal); color: var(--ivory); }   /* charcoal feature panel (class name kept for markup stability) */
.section-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); }
.split { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 5rem); grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
.split > div:first-child { display: grid; gap: 1rem; }
.prose { display: grid; gap: 1.15rem; max-width: 40rem; min-width: 0; }

/* Hero */
.hero { background: var(--blush); border-bottom: 1px solid var(--taupe); padding-block: clamp(3.5rem, 2.25rem + 4.5vw, 7rem) clamp(3.5rem, 2.25rem + 3.5vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.25rem, 1rem + 4vw, 5.5rem); align-items: center; isolation: isolate; }
.hero-copy { display: grid; gap: 1.5rem; }
.hero h1 { max-width: 15ch; }
.total { text-decoration: underline double var(--gold); text-decoration-thickness: 2px; text-underline-offset: .2em; text-decoration-skip-ink: none; }

/* Advisory focus panel: square-edged, taupe border, offset gold frame */
.ledger { border: 1px solid var(--charcoal); border-radius: var(--radius); padding: clamp(1.6rem, 1rem + 1.6vw, 2.5rem); display: grid; gap: 1.25rem; background: var(--charcoal); color: var(--ivory); position: relative; margin: 0 14px 14px 0; }
.ledger::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.ledger h2, .ledger .eyebrow { color: var(--ivory); }
.ledger .tag { color: var(--ivory); border-color: var(--gold); }
.ledger h2 { font-size: var(--step-2); }
.ledger-rows { list-style: none; display: grid; border-top: 1px solid var(--gold); }
.ledger-rows li { display: grid; grid-template-columns: 3.5rem 1fr; align-items: baseline; padding-block: 1rem; border-bottom: 1px solid var(--stone); font-weight: 500; }
.ledger-no { font-family: var(--font-display); font-size: 1.9rem; color: var(--gold); font-variant-numeric: lining-nums tabular-nums; position: relative; justify-self: start; }
.ledger-no::after { content: none; }
.ledger-foot { font-size: .95rem; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--gold); }
.service { display: grid; grid-template-rows: auto auto 1fr auto; gap: 1rem; padding: 2rem 2rem 2.25rem 0; }
.service + .service { padding-left: 2rem; border-left: 1px solid var(--gold); }
.service-pillar { font-size: var(--step--2); font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; }
.service h3 { font-size: var(--step-2); }
.service-pillar { color: var(--ink); }

.service-detail-list { display: grid; }
.service-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.25rem, 1rem + 3vw, 4.5rem); padding-block: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); border-top: 1px solid var(--taupe); }
.service-detail:first-child { border-top: 1px solid var(--gold); }
.service-detail:last-child { border-bottom: 1px solid var(--gold); }
.service-detail-head { display: grid; gap: .65rem; align-content: start; }
.service-detail-body { display: grid; gap: 1.1rem; min-width: 0; }
.mini-h { font-family: var(--font-body); font-size: var(--step--2); text-transform: uppercase; letter-spacing: var(--track); font-weight: 600; }

/* Lists */
.check-list { list-style: none; display: grid; border-top: 1px solid var(--taupe); }
.check-list li { position: relative; padding: .95rem 0 .95rem 2.1rem; border-bottom: 1px solid var(--taupe); font-weight: 500; }
.check-list li::before { content: ""; position: absolute; left: .2rem; top: 1.4rem; width: .8rem; height: .42rem; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.check-list.compact li { padding-block: .7rem; }
.check-list.compact li::before { top: 1.15rem; }
.band-tint .check-list, .band-tint .check-list li { border-color: var(--stone); }
.band-tint .check-list li::before { border-color: var(--charcoal); }

/* Industries as spaced-caps words split by gold dots */
.industry-line { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 0; border-block: 1px solid var(--gold); padding-block: 1.6rem; }
.industry-line li { font-size: var(--step--1); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; display: inline-flex; align-items: center; }
.industry-line li:not(:last-child)::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-inline: 1.15rem; }
.band-tint .industry-line { border-color: var(--stone); }
.band-tint .industry-line li:not(:last-child)::after { background: var(--charcoal); width: 4px; height: 4px; }

.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li { border: 1px solid var(--taupe); border-radius: 3px; padding: .3rem .85rem; font-size: var(--step--2); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.steps { list-style: none; counter-reset: step; display: grid; border-top: 1px solid var(--stone); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.25rem 1fr; column-gap: .5rem; row-gap: .3rem; padding-block: 1.2rem; border-bottom: 1px solid var(--stone); }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font-family: var(--font-display); font-size: 1.45rem; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.steps h3 { font-size: 1.2rem; }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2.25rem, 1rem + 4vw, 5.5rem); align-items: center; }
.founder-lg { align-items: start; }
.portrait-frame { position: relative; max-width: 100%; isolation: isolate; margin: 0 14px 14px 0; }
.portrait-frame::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold); z-index: -1; }
.portrait { width: 100%; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border: 1px solid var(--stone); display: block; }
/* Blank portrait space (no photo approved): Ivory mat, Champagne Gold hairline, offset line. Same sizes a photo would use. */
.portrait-blank { margin: 0 14px 14px 0; width: max-content; max-width: 100%; justify-self: start; }
.portrait-mat { background: var(--ivory); padding: clamp(.5rem, .35rem + .5vw, .75rem); border: 1px solid var(--stone); }
.portrait-space { width: 252px; height: 336px; max-width: 100%; background: var(--ivory); outline: 1px solid var(--gold); outline-offset: -1px; }
@media (min-width: 400px) and (max-width: 899px) { .portrait-space { width: 318px; height: 424px; } }
@media (min-width: 1100px) and (max-width: 1279px) { .portrait-space { width: 300px; height: 400px; } }
@media (min-width: 1280px) { .portrait-space { width: 348px; height: 464px; } }
/* Photo frame styles (used again when an approved photo is added) */
figure.portrait-frame { margin: 0 14px 14px 0; width: max-content; max-width: 100%; justify-self: start; }
.portrait-frame picture { display: block; background: var(--ivory); padding: clamp(.5rem, .35rem + .5vw, .75rem); border: 1px solid var(--stone); }
.portrait-photo { width: 252px; height: 336px; max-width: none; aspect-ratio: 3 / 4; object-position: 50% 0; border: 0; outline: 1px solid var(--gold); outline-offset: -1px; background: var(--blush); }
@media (min-width: 400px) and (max-width: 899px) { .portrait-photo { width: 318px; height: 424px; } }
@media (min-width: 1100px) and (max-width: 1279px) { .portrait-photo { width: 300px; height: 400px; } }
@media (min-width: 1280px) { .portrait-photo { width: 348px; height: 464px; } }
.portrait-fallback { display: grid; place-items: center; align-content: center; gap: 1rem; background: var(--ivory); text-align: center; padding: 2rem; }
.portrait-fallback .ring { width: 5.5rem; height: 5.5rem; border: 1px solid var(--gold); border-radius: 50%; }
.portrait-fallback span { font-size: var(--step--2); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; max-width: 14rem; line-height: 1.6; }
/* Founder nameplate (text-only founder layout while the photo is removed): Charcoal panel, gold frame */
.founder { isolation: isolate; }
.founder-plate { position: relative; margin: 0 14px 14px 0; background: var(--charcoal); color: var(--ivory); border-radius: var(--radius); padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); display: grid; gap: .55rem; align-content: start; }
.founder-plate::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.founder-plate p { color: var(--ivory); }
.band-tint .founder-plate::after { border-color: var(--ivory); }   /* gold disappears on Taupe */
.founder-plate-kicker { font-size: var(--step--2); font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; display: flex; align-items: center; gap: .9rem; }
.founder-plate-kicker::before { content: ""; width: 2.5rem; height: 2px; background: var(--gold); }
.founder-plate-name { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem); line-height: 1.1; margin-top: .35rem; }
.founder-plate-title { font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blush) !important; padding-bottom: 1.1rem; border-bottom: 2px solid var(--gold); }
.founder-plate-list { list-style: none; display: grid; gap: .55rem; padding-top: .5rem; }
.founder-plate-list li { display: flex; align-items: center; gap: .75rem; }
.founder-plate-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.founder-plate-firm { font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-top: .85rem; padding-top: .9rem; border-top: 1px solid var(--stone); }

.signature { font-family: var(--font-script); font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); line-height: 1.1; margin-top: .25rem; }

/* Brands */
.brands-teaser { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.75rem, 1rem + 3vw, 4.5rem); align-items: end; }
.brands-teaser > div:first-child { display: grid; gap: 1rem; }
.brand-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 2vw, 2rem); }
.brand-card { display: grid; gap: 1.2rem; align-content: start; padding: clamp(1.6rem, 1rem + 2vw, 2.75rem); border-radius: var(--radius); border: 1px solid var(--taupe); background: var(--ivory); }
.brand-card .btn { justify-self: start; }
.brand-card-pss { border-top: 2px solid var(--charcoal); }
.brand-card-tfa { border-top: 2px solid var(--gold); background: #f3ebe4; }   /* Blush Beige at 45% on Ivory */
.brand-kicker { font-size: var(--step--2); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; display: flex; gap: .65rem; flex-wrap: wrap; align-items: center; }
.brand-wordmark { font-family: var(--font-display); font-size: clamp(1.3rem, 1.05rem + 1vw, 1.7rem); letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; }
.brand-parts { margin: 0; display: grid; border-top: 1px solid var(--taupe); }
.brand-parts div { padding-block: 1rem; border-bottom: 1px solid var(--taupe); display: grid; gap: .25rem; }
.brand-parts dt { font-weight: 600; }
.brand-parts dd { margin: 0; }

/* Charcoal feature panel (Schedule a consultation) */
.cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2.25rem; align-items: end; }
.cta > div:first-child { display: grid; gap: 1.1rem; }
.cta p:not(.eyebrow) { color: var(--ivory); max-width: 40rem; }
.cta h2 { color: var(--ivory); }
.cta-actions { display: grid; gap: .85rem; justify-items: stretch; }
.band-plum .eyebrow { color: var(--blush); }


/* Charcoal feature bands */
.band-charcoal { background: var(--charcoal); color: var(--ivory); }
.band-charcoal h2, .band-charcoal h3, .band-charcoal p, .band-charcoal li { color: var(--ivory); }
.band-charcoal .eyebrow, .eyebrow-light { color: var(--ivory); }
.band-charcoal :focus-visible { outline-color: var(--ivory); }
.band-charcoal .industry-line { border-block: 2px solid var(--gold); }
.band-charcoal .industry-line li:not(:last-child)::after, .band-charcoal .industry-line li::before { background: var(--gold); }
.text-link-light { color: var(--ivory); border-bottom-color: var(--gold); }
.text-link-light:hover { border-bottom-color: var(--ivory); }
.section-head-wide { max-width: 60rem; }
.split-wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.fine-print { display: grid; gap: .6rem; font-size: var(--step--1); max-width: 52rem; border-left: 3px solid var(--gold); padding-left: 1.25rem; }

/* Ecosystem cards (Home, TFA) */
.eco-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
.eco-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.eco-card { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: .8rem; padding: clamp(1.6rem, 1rem + 1.6vw, 2.4rem); background: var(--ivory); border: 1px solid var(--stone); border-top: 4px solid var(--gold); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s; }
.eco-card:hover { border-color: var(--charcoal); border-top-color: var(--gold); }
.eco-card-dark { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); border-top-color: var(--gold); }
.eco-card-dark:hover { border-color: var(--gold); }
.eco-kicker { font-size: var(--step--2); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.eco-name { font-family: var(--font-display); font-weight: 500; font-size: var(--step-2); line-height: 1.2; }
.eco-more { font-size: var(--step--2); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding-top: .9rem; border-top: 1px solid var(--gold); }
.eco-all { margin-top: clamp(1.5rem, 1rem + 1vw, 2.25rem); }

/* Brand structure tree (Our Brands) */
.tree, .tree ol { list-style: none; }
.tree ol { display: grid; gap: .85rem; margin-top: .85rem; padding-left: clamp(1.25rem, .75rem + 2vw, 2.5rem); border-left: 2px solid var(--gold); margin-left: 1.25rem; }
.tree ol > li { position: relative; }
.tree ol > li::before { content: ""; position: absolute; left: calc(-1 * clamp(1.25rem, .75rem + 2vw, 2.5rem)); top: 1.6rem; width: clamp(1.25rem, .75rem + 2vw, 2.5rem); height: 2px; background: var(--gold); }
.node { display: grid; gap: .2rem; padding: 1rem 1.25rem; background: var(--ivory); border: 1px solid var(--stone); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
a.node:hover { border-color: var(--charcoal); }
.node-root { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.node-feature { background: var(--blush); border-color: var(--gold); border-width: 2px; }
.node-name { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.3; }
.node-role { font-size: var(--step--2); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* Our Brands: PSS feature and education cards */
.brand-feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.brand-feature-mark { background: var(--ivory); border: 1px solid var(--stone); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); display: grid; place-items: center; }
.brand-feature .brand-logo-pss { justify-self: center; }
.edu-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
.edu-card { display: grid; gap: 1rem; align-content: start; padding: clamp(1.6rem, 1rem + 1.6vw, 2.4rem); border: 1px solid var(--stone); border-top: 4px solid var(--gold); border-radius: var(--radius); }
.edu-card h3 { font-size: var(--step-2); }
.band-charcoal .edu-card-lead { background: var(--ivory); border-color: var(--ivory); border-top-color: var(--gold); }
.band-charcoal .edu-card-lead h3, .band-charcoal .edu-card-lead p { color: var(--charcoal); }
.edu-card-lead .btn-gold { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); justify-self: start; }
.edu-card-lead .btn-gold:hover { background: var(--ivory); color: var(--charcoal); }
.brand-logo-tfa { max-height: 88px; justify-self: start; }
.brand-logo-tfa-page { max-height: 120px; max-width: 260px; margin-bottom: .5rem; }

/* TFA: ARCH Method */
.arch-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--gold); }
.arch-step { display: grid; gap: .7rem; align-content: start; padding: 2rem 1.75rem 0 0; }
.arch-step + .arch-step { padding-left: 1.75rem; border-left: 1px solid var(--stone); }
.arch-letter { font-family: var(--font-display); font-weight: 500; font-size: clamp(3.75rem, 2.5rem + 4vw, 6rem); line-height: .9; color: var(--gold); }
.arch-step h3 { font-size: var(--step-2); }
.band-charcoal .arch-step h3 { color: var(--ivory); }

/* Two-column checklists and large pills */
.check-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; border-top: 0; }
.check-list-2 li:nth-child(-n + 2) { border-top: 1px solid var(--stone); }
.pill-list-lg li { font-size: var(--step--2); padding: .5rem 1rem; background: var(--blush); border-color: var(--blush); }

/* TFA-U */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.compare-col { padding: 1.25rem; border: 1px solid var(--stone); border-radius: var(--radius); display: grid; gap: .4rem; background: var(--ivory); }
.compare-col-strong { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); border-top: 4px solid var(--gold); }
.status-note { display: flex; gap: .75rem; align-items: baseline; padding: 1rem 1.25rem; background: var(--blush); border-left: 3px solid var(--gold); border-radius: var(--radius); font-weight: 500; }
.status-dot { flex: none; width: .6rem; height: .6rem; border-radius: 50%; background: var(--charcoal); box-shadow: 0 0 0 3px var(--gold); translate: 0 -.05rem; }
.model-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; counter-reset: model; }
.model-grid li { counter-increment: model; display: grid; gap: .55rem; padding-block: 1.6rem; border-top: 2px solid var(--gold); }
.model-grid li::before { content: counter(model, decimal-leading-zero); font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--gold); }
.model-grid h3 { font-size: var(--step-1); }

/* The Future Builders */
.pathway { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.pathway::before { content: ""; position: absolute; left: 0; right: 0; top: 1.45rem; height: 2px; background: var(--gold); }
.pathway li { display: grid; gap: .9rem; padding-right: 1rem; position: relative; }
.pathway-no { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; background: var(--charcoal); border: 2px solid var(--gold); color: var(--ivory); position: relative; }
.pathway-name { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; }
.cast { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .85rem; }
.cast li { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; padding: 1.1rem 1.25rem; background: var(--ivory); border: 1px solid var(--stone); border-bottom: 3px solid var(--gold); border-radius: var(--radius); }
.game-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
.game { display: grid; gap: 1rem; align-content: start; justify-items: start; padding: clamp(1.6rem, 1rem + 1.6vw, 2.4rem); background: var(--blush); border-top: 4px solid var(--charcoal); border-radius: var(--radius); }
.game-no { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--charcoal); }
.game h3 { font-size: var(--step-2); }

/* Page heads */
.page-head { background: var(--blush); padding-block: clamp(3.5rem, 2rem + 4.5vw, 7rem) clamp(2.75rem, 1.75rem + 2.5vw, 4.25rem); border-bottom: 3px solid var(--gold); position: relative; overflow: hidden; isolation: isolate; }
/* Architectural motif: two offset squares in Champagne Gold and Warm Stone (decorative, wide screens only) */
.page-head::before, .page-head::after { content: ""; position: absolute; aspect-ratio: 1; z-index: -1; pointer-events: none; }
.page-head::before { width: clamp(9rem, 16vw, 15rem); right: max(var(--gutter-r), calc((100vw - 1180px) / 2 + 16px)); top: 50%; translate: 0 -50%; border: 2px solid var(--gold); }
.page-head::after { width: clamp(9rem, 16vw, 15rem); right: max(calc(var(--gutter-r) + 1.5rem), calc((100vw - 1180px) / 2 + 16px + 1.5rem)); top: 50%; translate: 0 calc(-50% + 1.5rem); border: 1px solid var(--stone); }
@media (max-width: 1099px) { .page-head::before, .page-head::after { display: none; } }
.page-head .wrap { display: grid; gap: 1.15rem; }
.page-head h1 { max-width: 18ch; }
.page-head .wrap > * { max-width: min(46rem, 100%); }
.page-head h1 { max-width: 18ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.contact-card { display: grid; gap: .9rem; align-content: start; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border: 1px solid var(--taupe); border-radius: var(--radius); background: var(--ivory); }
.contact-card h2 { font-size: var(--step-1); }
.contact-card .btn { justify-self: start; }
.contact-card-primary { background: var(--blush); border-color: var(--blush); border-top: 2px solid var(--gold); }
.email { font-weight: 600; overflow-wrap: anywhere; }
.privacy-note { margin-top: 1.75rem; }

/* Legal */
.legal { max-width: 46rem; }
.legal h2 { font-size: var(--step-1); margin-top: 1.1rem; }
.legal ul { padding-left: 1.25rem; display: grid; gap: .55rem; }
.draft-notice { border: 1px solid var(--taupe); border-left: 3px solid var(--gold); background: var(--blush); border-radius: var(--radius); padding: 1rem 1.25rem; }

/* Footer */
.site-footer { background: var(--taupe); border-top: 1px solid var(--stone); padding-block: clamp(3.25rem, 2rem + 3vw, 5rem) 2.25rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .75fr) minmax(0, 1.85fr); gap: 2.25rem; padding-bottom: 2.75rem; }
.footer-brand { display: grid; gap: 1.1rem; align-content: start; }
.footer-brand p { max-width: 26rem; }
.footer-h { font-family: var(--font-body); font-size: var(--step--2); text-transform: uppercase; letter-spacing: var(--track); margin-bottom: 1rem; font-weight: 600; display: flex; align-items: center; gap: .7rem; }
.footer-h::after { content: ""; width: 1.25rem; height: 1px; background: var(--gold); }
.site-footer ul { list-style: none; display: grid; gap: .6rem; }
.site-footer a { color: var(--ink); text-decoration: none; font-size: var(--step--2); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; overflow-wrap: anywhere; }
.site-footer a.email-link { text-transform: none; letter-spacing: 0; font-size: .875rem; overflow-wrap: normal; word-break: normal; }
@media (max-width: 420px) { .site-footer a.email-link { overflow-wrap: anywhere; } }
.site-footer .brand { text-transform: none; letter-spacing: normal; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--charcoal); }
.footer-legal { display: flex; flex-wrap: wrap; gap: .6rem 2rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--stone); padding-top: 1.6rem; font-size: var(--step--1); }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.footer-legal p:first-child { flex-basis: 100%; }
.footer-entity { font-family: var(--font-display); letter-spacing: .16em; text-transform: uppercase; font-size: .85rem; }

/* Responsive */
@media (max-width: 899px) {
  .hero-grid, .split, .founder, .brands-teaser, .cta, .service-detail { grid-template-columns: minmax(0, 1fr); }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service { padding: 1.75rem 0; border-bottom: 1px solid var(--taupe); }
  .service + .service { padding-left: 0; border-left: 0; }
  .founder .portrait-frame, .founder .founder-plate { max-width: 26rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }   /* contact: room for the full email address */
  .cta-actions { justify-items: start; }
  .split-wide, .brand-feature, .edu-grid { grid-template-columns: minmax(0, 1fr); }
  .eco-grid { grid-template-columns: minmax(0, 1fr); }
  .arch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arch-step:nth-child(3) { padding-left: 0; border-left: 0; }
  .arch-step { padding-bottom: 1.75rem; }
  .model-grid, .game-grid { grid-template-columns: minmax(0, 1fr); }
  .pathway { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .pathway::before { left: 1.45rem; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .pathway li { grid-template-columns: 3rem 1fr; align-items: center; column-gap: 1rem; }
  .brand-feature-mark { max-width: 26rem; }
}
@media (max-width: 1099px) and (min-width: 900px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .brand-cards, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .brand-name { font-size: .8rem; letter-spacing: .12em; }
  .brand .mark { width: 2.4rem; height: 2.4rem; }
  .site-header .brand { min-width: 0; flex: 1 1 auto; }
  .site-header .brand-logo-h { height: 40px; }
  .actions .btn, .cta-actions .btn { width: 100%; }
  .cta-actions { justify-items: stretch; }
  .industry-line { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .industry-line li:not(:last-child)::after { display: none; }
  .eco-grid-2, .compare, .check-list-2 { grid-template-columns: minmax(0, 1fr); }
  .check-list-2 li:nth-child(2) { border-top: 0; }
  .arch-grid { grid-template-columns: minmax(0, 1fr); }
  .arch-step, .arch-step + .arch-step { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--stone); }
  .industry-line li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-right: .9rem; }
  .band-tint .industry-line li::before { background: var(--charcoal); }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .preview-bar, .band-plum { display: none; }
}
