/* ============================================================
   WOLFSON EQUITY — Site Stylesheet
   Build marker: WOLFSON-BUILD-v7
   Edition 01 · Merchant-bank institutional system
   ------------------------------------------------------------
   HARD RULES ENCODED HERE (do not regress):
   1. No font-size below 12.5px anywhere.
   2. Dark-zone contrast by construction: dark containers reset
      the text-color custom properties to light values, so a
      color: var(--dim) can never render dark-on-dark.
   3. Static px fallback precedes every clamp() font-size.
   4. Flex/grid gap always paired with margin fallbacks.
   5. Sections visible by default; reveal only when html.io is set
      by JS (html.io .reveal:not(.in) hides). No JS = fully visible.
   6. Nav markup + CSS live here, shared by every page.
   7. Mobile display:none hides are caged inside the media query.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --ink:       #0C1015;
  --midnight:  #131A24;
  --gold:      #C6A15B;
  --gold-deep: #9C7A38;  /* deeper gold for small labels/links on light grounds (clears AA-large) */
  --champagne: #E7D6AC;
  --ivory:     #F5F1E8;
  --ivory-2:   #EFE9DA;
  --line:      #DED5C0;
  --line-dark: #263041;

  /* Contextual text colors — LIGHT ground defaults.
     Dark containers override these (see .band-dark below). */
  --text:      #12161C;   /* primary text on light ground */
  --text-soft: #3A424E;   /* secondary text on light ground */
  --text-dim:  #5E6572;   /* tertiary/meta text on light ground */
  --hairline:  var(--line);
  --surface:   var(--ivory);
  --accent:    var(--gold-deep);

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 8px;

  --ff-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 18px;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }
h1, h2, h3, h4 { margin: 0; font-family: var(--ff-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; color: var(--text); }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 88px; padding-bottom: 88px; }
.section--tight { padding-top: 60px; padding-bottom: 60px; }
.narrow { max-width: 760px; }

/* Grid with margin fallback (rule 4). Children get margins;
   the gap-supporting path zeroes them out. */
.grid { display: block; }
.grid > * { margin-bottom: 28px; }
@supports (display:grid) {
  .grid { display: grid; gap: 28px; }
  .grid > * { margin-bottom: 0; }
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flex rows with margin fallback for gap (rule 4). */
.row { display: flex; flex-wrap: wrap; }
.row > * { margin-right: 16px; margin-bottom: 16px; }
@supports (gap: 1px) {
  .row { gap: 16px; }
  .row > * { margin-right: 0; margin-bottom: 0; }
}

/* ---------- Typography scale (static px fallback THEN clamp — rule 3) ---------- */
.eyebrow {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 13px;                 /* >= 12.5 */
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
  display: block;
}
.h1 {
  font-size: 60px;
  font-size: clamp(44px, 6.4vw, 76px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.h2 {
  font-size: 40px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.06;
}
.h3 {
  font-size: 27px;
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.12;
}
.h4 {
  font-size: 21px;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.2;
}
.lead {
  font-size: 20px;
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.6;
  color: var(--text-soft);
  font-weight: 400;
}
.measure { max-width: 62ch; }
.italic { font-style: italic; }
.serif { font-family: var(--ff-display); }
.text-soft { color: var(--text-soft); }
.text-dim  { color: var(--text-dim); }
.gold { color: var(--accent); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons (solid ink w/ ivory text; gold w/ ink on dark) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 15px;                 /* >= 12.5 */
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 17px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ivory);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  text-align: center;
}
.btn:hover { background: #1b232e; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(12,16,21,.18); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--champagne); border-color: var(--champagne); color: var(--ink); }
.btn--block { display: flex; width: 100%; }
.btn--lg { padding: 19px 36px; font-size: 16px; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease, gap .18s ease;
}
.textlink:hover { border-color: currentColor; gap: 12px; }
.textlink .arw { transition: transform .18s ease; }
.textlink:hover .arw { transform: translateX(3px); }

/* ============================================================
   DARK ZONE — contrast by construction (rule 2)
   Any container tagged .band-dark resets the text tokens to
   light values, so descendants using var(--text/-soft/-dim)
   are structurally guaranteed light-on-dark.
   ============================================================ */
.band-dark {
  --text:      #F5F1E8;
  --text-soft: #C7CBD2;
  --text-dim:  #A6ABB5;   /* still light — never dark on dark */
  --hairline:  var(--line-dark);
  --accent:    var(--gold);
  background: var(--ink);
  color: var(--text);
}
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4 { color: var(--text); }
.band-midnight { background: var(--midnight); }
.band-ivory-2 { background: var(--ivory-2); }
.hairline { border: 0; border-top: 1px solid var(--hairline); margin: 0; }

/* ============================================================
   SITE HEADER / NAV (shared across all pages — rule 6)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,16,21,0.94);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; }
.nav__brand img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; }
.nav__links a:not(.btn) {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 14px;               /* >= 12.5 */
  letter-spacing: 0.02em;
  color: #D9DCE1;
  padding: 10px 14px;
  border-radius: 6px;
  transition: color .16s ease, background .16s ease;
  white-space: nowrap;
}
.nav__links a:not(.btn):hover { color: #fff; }
.nav__links a.is-active { color: var(--gold); }
.nav__cta { margin-left: 10px; }
.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  width: 44px; height: 42px;
  cursor: pointer;
  padding: 0;
  color: var(--ivory);
}
.nav__toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav — hides caged strictly inside the media query (rule 7) */
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    padding: 12px var(--gutter) 22px;
    display: none;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a:not(.btn) { padding: 13px 6px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav__cta { margin-left: 0; margin-top: 14px; }
  .nav__cta.btn { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
  --text: #F5F1E8; --text-soft:#C7CBD2; --text-dim:#A6ABB5; --accent: var(--gold); --hairline: var(--line-dark);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(198,161,91,0.16), transparent 60%),
    radial-gradient(760px 460px at 6% 108%, rgba(19,26,36,0.9), transparent 62%);
  pointer-events: none;
}
.hero__inner { position: relative; padding-top: 80px; padding-bottom: 44px; }
.hero h1 { color: var(--ivory); max-width: 15ch; }
.hero .lead { color: var(--text-soft); max-width: 54ch; margin-top: 20px; }
.hero__ticker {
  margin-top: 24px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 13px;               /* >= 12.5 */
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--champagne);
}
.hero__actions { margin-top: 30px; }

/* Pillars row under hero */
.pillars { border-top: 1px solid var(--line-dark); }
.pillars .container.section--tight { padding-top: 40px; padding-bottom: 44px; }
.pillar h3 { font-size: 22px; }
.pillar__no { font-family: var(--ff-display); font-size: 22px; color: var(--gold); font-weight: 600; }
.pillar h3 { font-size: 22px; margin: 12px 0 8px; }
.pillar p { font-size: 16px; color: var(--text-dim); margin: 0; }

/* ============================================================
   SECTION HEADING BLOCK
   ============================================================ */
.section-head { margin-bottom: 52px; }
.section-head .h2 { max-width: 20ch; }
.section-head.center .h2 { margin-left: auto; margin-right: auto; }
.section-head p { margin-top: 18px; }

/* ============================================================
   SERVICE CARDS / ROWS
   ============================================================ */
.svc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(12,16,21,.08); border-color: var(--gold); }
.svc-card__no {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.svc-card h3 { margin: 16px 0 12px; font-size: 25px; }
.svc-card p { font-size: 16px; color: var(--text-soft); margin: 0 0 20px; }
.svc-card .textlink { font-size: 14px; }

/* Deep service section (Services page) */
.svc-block { scroll-margin-top: 96px; padding-top: 70px; padding-bottom: 70px; border-top: 1px solid var(--hairline); }
.svc-block:first-of-type { border-top: 0; }
.svc-block .eyebrow { color: var(--accent); }
.svc-block ul.ticks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 17px;
  color: var(--text-soft);
}
.svc-block ul.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* Numbered process (8-step) */
.process { counter-reset: step; }
.process__item {
  display: flex;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
}
.process__item > * { margin-right: 20px; }
@supports (gap:1px){ .process__item{ gap:20px; } .process__item>*{ margin-right:0; } }
.process__num {
  flex: 0 0 auto;
  counter-increment: step;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--gold);
  min-width: 46px;
}
.process__num::before { content: counter(step, decimal-leading-zero); }
.process__body { flex: 1 1 auto; }
.process__body h4 { font-size: 20px; margin-bottom: 4px; }
.process__body p { font-size: 16px; color: var(--text-soft); margin: 0; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats .stat { padding: 8px 0; }
.stat__num {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 46px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  color: var(--champagne);
  letter-spacing: -0.02em;
}
.stat__label {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-soft);
  max-width: 30ch;
}

/* ============================================================
   TEAM CARDS
   ============================================================ */
.person {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  height: 100%;
}
.person__monogram {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.person__monogram img { width: 34px; height: auto; }
.person__photo {
  width: 92px; height: 92px; border-radius: 50%;
  object-fit: cover; object-position: center 18%;
  margin-bottom: 20px; display: block;
  border: 2px solid var(--line);
  background: var(--ivory-2);
}
.band-ivory-2 .person__photo { border-color: #d9cfb6; }
.person--dark .person__photo { border-color: var(--line-dark); }
.person h3 { font-size: 24px; margin-bottom: 4px; }
.person__role { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.person p { font-size: 16px; color: var(--text-soft); margin: 0; }
.person--dark { background: var(--midnight); border-color: var(--line-dark); --text:#F5F1E8; --text-soft:#C7CBD2; --accent: var(--gold); }
.person--dark h3 { color: var(--ivory); }

/* ============================================================
   TESTIMONIAL BAND
   ============================================================ */
.quote { max-width: 21ch; }
.quote__mark { font-family: var(--ff-display); font-size: 88px; line-height: 0.5; color: var(--gold); display: block; height: 44px; }
.quote blockquote {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 500;
  font-style: italic;
  font-size: 30px;
  font-size: clamp(25px, 3.4vw, 40px);
  line-height: 1.28;
  color: var(--ivory);
  max-width: 24ch;
}
.quote figcaption { margin-top: 26px; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--champagne); }

/* ============================================================
   CTA BLOCK + FORMS
   ============================================================ */
.cta-band { text-align: center; }
.cta-band .h2 { color: var(--ivory); max-width: 18ch; margin: 0 auto; }
.cta-band p { color: var(--text-soft); max-width: 52ch; margin: 20px auto 34px; }

.form { display: block; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px;               /* >= 12.5 */
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.field .req { color: var(--accent); }
.input, .textarea, select.input {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  line-height: 1.4;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.textarea { min-height: 132px; resize: vertical; }
.input:focus, .textarea:focus, select.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,161,91,.18); outline: none; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-2 > .field { margin-bottom: 0; }
.form-note { font-size: 13px; color: var(--text-dim); margin-top: 6px; }

/* Form on dark grounds */
.band-dark .input, .band-dark .textarea, .band-dark select.input {
  background: #0f141b; border-color: #2b3646; color: var(--ivory);
}
.band-dark .input::placeholder, .band-dark .textarea::placeholder { color: #7f8794; }

@media (max-width: 640px){ .field-2 { grid-template-columns: 1fr; } .field-2 > .field { margin-bottom: 20px; } }

/* ============================================================
   VALUE LIST / FEATURES
   ============================================================ */
.feature h4 { font-size: 20px; margin-bottom: 8px; }
.feature p { font-size: 16px; color: var(--text-soft); margin: 0; }
.feature__ic {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--ivory-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--accent);
}
.band-dark .feature__ic { background: var(--midnight); border-color: var(--line-dark); color: var(--gold); }

/* ============================================================
   LISTS: case studies, news, newsletters
   ============================================================ */
.entry {
  display: block;
  border-top: 1px solid var(--hairline);
  padding: 30px 0;
  transition: padding .18s ease;
}
.entry:last-child { border-bottom: 1px solid var(--hairline); }
.entry:hover { padding-left: 8px; }
.entry__meta { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.entry h3 { font-size: 27px; margin-bottom: 8px; }
.entry p { font-size: 16px; color: var(--text-soft); margin: 0; max-width: 70ch; }
.tag {
  display: inline-block;
  font-size: 12.5px;             /* exactly at floor */
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--ivory-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}
.band-dark .tag, .pagehead .tag { background: var(--midnight); border-color: var(--line-dark); color: var(--champagne); }
.pagehead .tag:hover { background: #1b2432; color: #fff; }

/* ============================================================
   FOOTER (dark — contrast guaranteed by .band-dark)
   ============================================================ */
.site-footer { --text-dim:#9aa0aa; padding-top: 72px; padding-bottom: 40px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid > * { margin-bottom: 0; }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.footer__brand img { height: 30px; margin-bottom: 18px; }
.footer__tag { font-family: var(--ff-display); font-style: italic; font-size: 19px; color: var(--champagne); margin-bottom: 16px; }
.footer h4 { font-family: var(--ff-body); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--champagne); margin-bottom: 16px; }
.footer a { font-size: 15px; color: #C7CBD2; display: inline-block; padding: 5px 0; }
.footer a:hover { color: #fff; }
.footer__contact p { font-size: 15px; color: #C7CBD2; margin: 0 0 8px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line-dark); gap: 12px; }
.footer__bottom p { font-size: 13.5px; color: #8b9099; margin: 0; }
.footer__bottom a { font-size: 13.5px; }

/* ============================================================
   BREADCRUMB / PAGE HEADER
   ============================================================ */
.pagehead { background: var(--ink); color: var(--ivory); --text:#F5F1E8; --text-soft:#C7CBD2; --accent: var(--gold); }
.pagehead { position: relative; overflow: hidden; }
.pagehead::after {
  content: ""; position: absolute; z-index: 0;
  right: -4%; top: 50%; transform: translateY(-50%);
  width: 420px; height: 420px;
  background: url(/assets/mark-ivory-transparent-1000.png) center/contain no-repeat;
  opacity: 0.05; pointer-events: none;
}
@media (max-width: 720px){ .pagehead::after { width: 300px; height: 300px; right: -18%; opacity: 0.04; } }
.pagehead .inner { position: relative; z-index: 1; padding-top: 78px; padding-bottom: 66px; }
.pagehead h1 { color: var(--ivory); max-width: 20ch; }
.pagehead .lead { color: var(--text-soft); margin-top: 20px; }
.crumb { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--champagne); margin-bottom: 22px; }
.crumb a { color: var(--champagne); }
.crumb a:hover { color: #fff; }

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.mt-0{margin-top:0}.mt-1{margin-top:12px}.mt-2{margin-top:24px}.mt-3{margin-top:40px}.mt-4{margin-top:64px}
.mb-0{margin-bottom:0}
.divider-gold { width: 56px; height: 2px; background: var(--gold); border: 0; margin: 0 0 26px; }
.center .divider-gold { margin-left: auto; margin-right: auto; }
.card-flat { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.band-dark .card-flat,
.card-flat.band-dark { background: var(--midnight); border-color: var(--line-dark); }
/* Same-element dark composition guard: if any of these utility
   backgrounds is combined with .band-dark on ONE element, the dark
   ground must win so light text is never placed on a light fill. */
.card-flat.band-dark,
.svc-card.band-dark,
.person.band-dark { background: var(--midnight); border-color: var(--line-dark); }
.badge-row { display: flex; flex-wrap: wrap; align-items: center; }
.badge-row > * { margin-right: 10px; margin-bottom: 10px; }
@supports (gap:1px){ .badge-row{gap:10px} .badge-row>*{margin-right:0;margin-bottom:0} }

/* ============================================================
   REVEAL ANIMATION (rule 5) — safe by construction.
   Content is fully visible with no JS. Only when JS adds
   class "io" to <html> AND the browser confirms IO support
   do we hide-then-reveal. prefers-reduced-motion disables.
   ============================================================ */
.reveal { opacity: 1; transform: none; }
html.io .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
html.io .reveal { transition: opacity .7s ease, transform .7s ease; }
@media (prefers-reduced-motion: reduce) {
  html.io .reveal:not(.in) { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE COLLAPSES
   ============================================================ */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { padding-top: 80px; padding-bottom: 76px; }
  .section { padding-top: 66px; padding-bottom: 66px; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr !important; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   ============  v5 "STUNNING" ELEVATION LAYER  ==============
   Editorial merchant-bank system. Signature devices, richer
   motion, per-page distinctiveness. All hard rules preserved
   (fonts >=12.5, clamp px-fallbacks, gap margin-fallbacks,
   dark-zone contrast, no-JS visibility).
   ============================================================ */

/* ---- Hero elevation: oversized W watermark + animated gold rule ---- */
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__watermark {
  position: absolute; z-index: 0; pointer-events: none;
  right: 1%; top: 46%; transform: translateY(-50%);
  width: 40vw; max-width: 460px; opacity: 0.055;
  filter: none; user-select: none;
}
@media (max-width: 900px){ .hero__watermark { right: -16%; top: 30%; width: 70vw; opacity: 0.04; } }
.hero__rule { position: relative; height: 1px; background: transparent; margin: 26px 0 0; overflow: hidden; max-width: 520px; }
.hero__rule::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin:left; }
html.io .hero__rule::after { transition: transform 1.1s cubic-bezier(.2,.7,.2,1) .3s; }
html.io .hero .reveal.in ~ .hero__rule::after, html.io .hero__rule.in::after { transform: scaleX(1); }
.hero__rule.in::after, .hero__rule::after { transform: scaleX(1); } /* visible by default (no-JS) */
html.io .hero__rule:not(.in)::after { transform: scaleX(0); }
.hero h1 .accent { font-style: italic; font-weight: 500; color: var(--champagne); display:block; }

/* ---- Staggered reveal (dynamic feel; safe — only when html.io) ---- */
html.io .reveal { transition: opacity .7s ease, transform .7s ease; }
html.io .grid > .reveal:nth-child(2){ transition-delay:.08s }
html.io .grid > .reveal:nth-child(3){ transition-delay:.16s }
html.io .grid > .reveal:nth-child(4){ transition-delay:.24s }
html.io .grid > .reveal:nth-child(5){ transition-delay:.32s }
html.io .grid > .reveal:nth-child(6){ transition-delay:.40s }

/* ---- Marquee (slow sector/credential ticker) ---- */
.marquee { overflow: hidden; border-top:1px solid var(--hairline); border-bottom:1px solid var(--hairline); background: var(--midnight); }
.marquee__track { display:flex; white-space:nowrap; width:max-content; animation: mq 38s linear infinite; }
.marquee__track > span { display:inline-flex; align-items:center; padding: 18px 0; font-family:var(--ff-body); font-weight:600; font-size:13px; letter-spacing:.28em; text-transform:uppercase; color:var(--champagne); }
.marquee__track .sep { color: var(--gold); padding: 0 26px; }
@keyframes mq { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@media (prefers-reduced-motion: reduce){ .marquee__track{ animation:none } }

/* ---- Roman-numeral section markers + editorial section head ---- */
.sec-mark { display:flex; align-items:baseline; gap:16px; margin-bottom:8px; }
.sec-mark > * { margin:0; }
@supports not (gap:1px){ .sec-mark > * { margin-right:16px } }
.sec-mark__no { font-family:var(--ff-display); font-weight:600; font-size:20px; color:var(--accent); letter-spacing:.02em; }
.sec-mark__line { flex:1 1 auto; height:1px; background:var(--hairline); align-self:center; }
.section-head--xl .h2 { font-size:44px; font-size:clamp(34px,5vw,60px); }
.overline { display:block; width:44px; height:2px; background:var(--gold); margin-bottom:26px; }
.center .overline { margin-left:auto; margin-right:auto; }

/* ---- Editorial pull-quote (oversized serif) ---- */
.pullquote { max-width: 20ch; }
.pullquote p { font-family:var(--ff-display); font-weight:500; font-style:italic; font-size:34px; font-size:clamp(26px,4vw,46px); line-height:1.22; color:var(--text); margin:0; }
.band-dark .pullquote p { color: var(--ivory); }
.pullquote cite { display:block; margin-top:22px; font-style:normal; font-family:var(--ff-body); font-size:14px; letter-spacing:.12em; text-transform:uppercase; color:var(--accent); }

/* ---- Drop cap for lead editorial paragraphs ---- */
.dropcap::first-letter { font-family:var(--ff-display); font-weight:600; font-size:3.4em; line-height:.8; float:left; padding:6px 14px 0 0; color:var(--gold); }

/* ---- Card elevation with monogram corner ---- */
.svc-card, .aud, .person { position:relative; overflow:hidden; }
.svc-card::after, .aud::after { content:""; position:absolute; right:-30px; top:-30px; width:96px; height:96px; border-radius:50%; background:radial-gradient(circle at 30% 30%, rgba(198,161,91,.14), transparent 70%); opacity:0; transition:opacity .25s ease; }
.svc-card:hover::after, .aud:hover::after { opacity:1; }
.svc-card, .aud, .person, .card-flat { transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s ease, border-color .22s ease; }

/* ---- Ledger stat band (tabular, hairline-ruled) ---- */
.ledger { border-top:1px solid var(--hairline); }
.ledger__row { display:grid; grid-template-columns: 64px 1.6fr 1fr; align-items:center; gap:24px; padding:26px 0; border-bottom:1px solid var(--hairline); }
.ledger__row > *{ margin:0 }
@supports not (display:grid){ .ledger__row > *{ display:inline-block; vertical-align:middle } }
.ledger__no { font-family:var(--ff-display); font-size:18px; color:var(--accent); }
.ledger__fig { font-family:var(--ff-display); font-weight:600; font-size:40px; font-size:clamp(30px,4vw,52px); line-height:1; color:var(--champagne); letter-spacing:-.02em; }
.ledger__desc { font-size:16px; color:var(--text-soft); }
@media (max-width:640px){ .ledger__row{ grid-template-columns:1fr; gap:6px } .ledger__no{ display:none } }

/* ---- Gold underline draw on text links ---- */
.textlink { position:relative; border-bottom:0; }
.textlink::after { content:""; position:absolute; left:0; bottom:-2px; width:100%; height:1px; background:currentColor; transform:scaleX(0); transform-origin:left; transition:transform .25s ease; }
.textlink:hover::after { transform:scaleX(1); }

/* ---- Button sheen ---- */
.btn { position:relative; overflow:hidden; }
.btn::before { content:""; position:absolute; top:0; left:-120%; width:60%; height:100%; background:linear-gradient(100deg, transparent, rgba(255,255,255,.14), transparent); transition:left .5s ease; }
.btn:hover::before { left:130%; }

/* ---- Section tint variants for per-page rhythm ---- */
.band-gradient { background:
  radial-gradient(900px 480px at 85% 0%, rgba(198,161,91,.10), transparent 60%),
  var(--ink); color:var(--ivory); }
.band-gradient { --text:#F5F1E8; --text-soft:#C7CBD2; --text-dim:#A6ABB5; --accent:var(--gold); --hairline:var(--line-dark); }

/* ---- Figure/number counters for process ---- */
.process__item { transition: padding-left .2s ease; }
.process__item:hover { padding-left:8px; }

/* ============================================================
   PROOF BAR — compact stat strip directly under the hero
   (numbers-as-hero; the highest-trust element in this niche)
   ============================================================ */
.proofbar { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--midnight); }
.proofbar .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.proofbar .container > * { margin: 0; }
@supports not (display:grid){ .proofbar .container > *{ display:inline-block; width:32%; vertical-align:top; } }
.proofbar__item { padding: 30px 10px; text-align: center; border-left: 1px solid var(--line-dark); }
.proofbar__item:first-child { border-left: 0; }
.proofbar__num {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 40px;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1;
  color: var(--champagne);
  letter-spacing: -0.02em;
}
.proofbar__label { margin-top: 10px; font-size: 13px; letter-spacing: 0.02em; color: #AEB4BE; }
@media (max-width: 620px){
  .proofbar .container { grid-template-columns: 1fr; }
  .proofbar__item { border-left: 0; border-top: 1px solid var(--line-dark); padding: 22px 10px; }
  .proofbar__item:first-child { border-top: 0; }
}

/* ---- Reassurance microcopy under CTAs ---- */
.reassure { font-size: 13.5px; letter-spacing: 0.02em; color: var(--text-dim); margin-top: 16px; }
.reassure .dot { color: var(--gold); padding: 0 6px; }

/* ============================================================
   AUDIENCE ROUTER — "who we work with" cards
   ============================================================ */
.aud { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.aud:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(12,16,21,.08); border-color: var(--gold); }
.aud__tag { font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.aud h3 { font-size: 23px; margin: 12px 0 10px; }
.aud p { font-size: 15.5px; color: var(--text-soft); margin: 0 0 18px; }
.band-dark .aud { background: var(--midnight); border-color: var(--line-dark); }

/* ============================================================
   FAQ — accordion (native details/summary, no-JS safe) + FAQPage schema
   ============================================================ */
.faq { max-width: 860px; }
.faq__item { border-top: 1px solid var(--hairline); }
.faq__item:last-child { border-bottom: 1px solid var(--hairline); }
.faq__item > summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  position: relative;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 21px;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.25;
  color: var(--text);
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: "+";
  position: absolute; right: 4px; top: 22px;
  font-family: var(--ff-body); font-weight: 400;
  font-size: 26px; line-height: 1; color: var(--gold);
  transition: transform .2s ease;
}
.faq__item[open] > summary::after { content: "\2013"; }
.faq__item > summary:hover { color: var(--accent); }
.faq__answer { padding: 0 44px 26px 0; }
.faq__answer p { font-size: 16.5px; color: var(--text-soft); margin: 0; }

/* Two-column split layout */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.split > * { margin-bottom: 0; }
@supports not (display:grid){ .split>*{ display:inline-block; width:48%; vertical-align:top; } }
.split--form { grid-template-columns: 1fr 1fr; align-items: start; }
