/* ============================================================
   Westbridge — Meridian-inspired editorial theme
   Shared across all pages.
   Palette: cream #fbfaf7 · forest #0f3b32 · red #e40014
   Type:    Fraunces (serif display) + DM Sans (sans body)
============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

img,
svg {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit
}

ul {
  list-style: none
}

/* ---------- tokens ---------- */
:root {
  --cream: #fbfaf7;
  --cream-2: #f4f1ed;
  --cream-3: #ece6de;
  --ink: #0b1620;
  --ink-2: #0f1b26;
  --ink-3: #1a2a3a;
  --muted: #5b6670;
  --muted-2: #7a828a;
  --line: #d9d3c7;
  --line-2: #e8ecef;
  --forest: #0f3b32;
  --forest-lt: #186b47;
  --forest-glow: #1e8f5e;
  --teal: #0d7c8f;
  --teal-lt: #1a9db3;
  --red: #e40014;
  --rust: #c2410c;
  --gold: #a8894c;
  --gold-lt: #e8d6a5;
  --f-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- base ---------- */
body {
  font-family: var(--f-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

@media(max-width:720px) {
  .container {
    padding: 0 20px
  }
}

/* ---------- typography ---------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--f-serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 30;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  font-weight: 500
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.05;
  font-weight: 500
}

h3 {
  font-size: clamp(1.4rem, 1.8vw, 1.9rem);
  line-height: 1.15;
  font-weight: 500
}

h4 {
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 600
}

em {
  font-style: italic;
  color: var(--forest);
  font-weight: 500
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--f-sans);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-text);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--forest);
  display: inline-block
}

.eyebrow-inline {
  display: block;
  font-family: var(--f-sans);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--forest-lt);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.55;
  margin-top: 1rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px
}

.brand {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -.01em;
  display: inline-flex;
  align-items: center;
  gap: .55em;
  color: var(--ink);
}

.brand em {
  color: var(--red);
  font-style: normal;
  font-weight: 600
}

.brand-mark {
  width: 14px;
  height: 14px;
  background: var(--forest);
  transform: rotate(45deg);
  display: inline-block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem
}

.nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: .5rem 0;
  position: relative;
}

.nav a:hover {
  color: var(--forest)
}

.nav a.active {
  color: var(--forest);
  font-weight: 600
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--forest);
}

.cta-login {
  padding: .55rem 1.15rem !important;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem !important;
}

.cta-login:hover {
  background: var(--ink);
  color: var(--cream)
}

.cta-login::after {
  display: none !important
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  z-index: 60
}

.burger span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  display: block;
  transition: transform .25s, opacity .25s
}

.burger.open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg)
}

.burger.open span:nth-child(2) {
  opacity: 0
}

.burger.open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg)
}

@media(max-width:960px) {

  /* NOTE: .site-header sets backdrop-filter, which makes it the containing block
     for position:fixed descendants. `bottom:0` would therefore resolve against the
     76px header box and collapse this panel to zero height, so set height explicitly.
     This is correct whether the header or the viewport is the containing block. */
  /* `display` can't be transitioned, so the panel stays laid out and is hidden
     with visibility/opacity/transform instead. visibility is delayed on close so
     the fade-out is visible before the panel leaves the a11y tree. */
  .nav {
    display: flex;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    padding: 1.5rem 32px;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    overscroll-behavior: contain;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity .26s ease,
      transform .34s cubic-bezier(.2, .8, .3, 1),
      visibility 0s linear .34s;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition:
      opacity .26s ease,
      transform .34s cubic-bezier(.2, .8, .3, 1),
      visibility 0s;
  }

  .nav a {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line-2);
    font-size: 1.1rem;

    /* staggered reveal; on close the delays drop away so links leave together */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .26s ease, transform .26s cubic-bezier(.2, .8, .3, 1);
  }

  .nav.open a {
    opacity: 1;
    transform: none
  }

  .nav.open a:nth-child(1) {
    transition-delay: .06s
  }

  .nav.open a:nth-child(2) {
    transition-delay: .09s
  }

  .nav.open a:nth-child(3) {
    transition-delay: .12s
  }

  .nav.open a:nth-child(4) {
    transition-delay: .15s
  }

  .nav.open a:nth-child(5) {
    transition-delay: .18s
  }

  .nav.open a:nth-child(6) {
    transition-delay: .21s
  }

  .nav.open a:nth-child(7) {
    transition-delay: .24s
  }

  .nav.open a:nth-child(8) {
    transition-delay: .27s
  }

  .nav.open a:nth-child(9) {
    transition-delay: .30s
  }

  .nav.open a:nth-child(n+10) {
    transition-delay: .33s
  }

  .nav a.active::after {
    display: none
  }

  .cta-login {
    margin-top: 1rem;
    border-radius: 999px !important;
    align-self: flex-start
  }

  .burger {
    display: flex
  }
}

@media(max-width:720px) {
  .nav {
    padding: 1.25rem 20px
  }
}

@media(prefers-reduced-motion:reduce) {

  .nav,
  .nav a,
  .burger span {
    transition: none !important
  }

  .nav.open a {
    transition-delay: 0s !important
  }
}

/* ---------- touch targets ---------- */
/* below ~44px is hard to hit reliably on a phone; give the small text links
   real vertical room on touch screens without changing the desktop layout. */
@media(max-width:720px) {
  .burger {
    padding: 12px;
    margin-right: -12px
  }

  .footer-grid ul li,
  .footer-brand-row ul li {
    margin-bottom: 0
  }

  .footer-grid ul a,
  .footer-brand-row ul a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .25rem 0;
  }

  .footer-social a,
  .social-links a {
    width: 44px;
    height: 44px
  }

  .press a,
  .card-link {
    min-height: 44px;
    align-items: center;
  }

  .footer-bottom .disclaimer a {
    display: inline-block;
    padding: .35rem 0;
  }

  /* inline mail links sit mid-sentence: vertical padding grows the hit area
     without affecting the line box, so the layout is unchanged */
  .footer-grid p a,
  .footer-brand-row p a {
    padding: .45rem 0
  }

  /* standalone action links (not inline in a sentence) get full targets */
  .contact-block a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .login-card .form-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .legal-doc li>a.chip,
  li>a.chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: .5rem .8rem;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .01em;
  transition: transform .2s, background .25s, color .25s, border-color .25s;
  white-space: nowrap;
  line-height: 1;
}

.btn .arrow {
  transition: transform .25s
}

.btn:hover .arrow {
  transform: translateX(4px)
}

.btn-primary {
  background: var(--forest);
  color: #fdfaf1
}

.btn-primary:hover {
  background: var(--ink);
  color: #fdfaf1
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink)
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--cream)
}

.btn-gold,
.hero-page .btn-gold,
.cta .btn-gold {
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
  box-shadow: 0 6px 18px rgba(4, 20, 16, .28);
}

.btn-gold:hover,
.hero-page .btn-gold:hover,
.cta .btn-gold:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(4, 20, 16, .34);
}

.btn-gold:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(4, 20, 16, .3);
}

.btn-gold:focus-visible {
  outline: 2px solid var(--gold-lt);
  outline-offset: 3px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .6rem 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  line-height: 1.2;
  transition: color .2s, border-color .2s;
}

.btn-ghost:hover {
  color: var(--red);
  border-color: var(--red)
}

.btn-block {
  width: 100%;
  justify-content: center
}

/* ---------- section base ---------- */
section.band {
  padding: 110px 0
}

@media(max-width:720px) {
  section.band {
    padding: 70px 0
  }
}

.band-head {
  margin-bottom: 3.5rem;
  max-width: 66ch
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0
}

/* ---------- dark band base (used by hero/CTA/footer) ---------- */
.band-dark {
  background: var(--forest);
  color: #fdfaf1
}

.band-dark h1,
.band-dark h2,
.band-dark h3,
.band-dark h4 {
  color: #fdfaf1
}

.band-dark .eyebrow {
  color: var(--gold-lt)
}

.band-dark .eyebrow::before {
  background: var(--gold-lt)
}

.band-dark .eyebrow-inline {
  color: var(--gold-lt)
}

.band-dark p {
  color: rgba(253, 250, 241, .78)
}

.band-dark em {
  color: var(--gold-lt)
}

.band-dark .btn-primary {
  background: #fdfaf1;
  color: var(--forest)
}

.band-dark .btn-primary:hover {
  background: var(--gold-lt);
  color: var(--ink)
}

.band-dark .btn-outline {
  color: #fdfaf1;
  border-color: rgba(253, 250, 241, .4)
}

.band-dark .btn-outline:hover {
  background: #fdfaf1;
  color: var(--forest)
}

.grid-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ---------- HERO (generic, small) ---------- */
.hero-page {
  background: var(--forest);
  color: #fdfaf1;
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(30, 143, 94, .35), transparent 55%);
  pointer-events: none;
}

.hero-page .container {
  position: relative;
  z-index: 1;

  em {
    color: var(--gold-lt);
  }
}

.hero-page h1 {
  color: #fdfaf1;
  margin: 1.5rem 0 1.75rem;
  font-weight: 400;
  max-width: 20ch;
}

.hero-page h1 .accent {
  color: var(--gold-lt);
  font-style: italic;
  font-weight: 500
}

.hero-page .lead {
  font-size: 1.15rem;
  line-height: 1.55;
  max-width: 60ch;
  color: rgba(253, 250, 241, .78);
  margin-bottom: 0;
}

.hero-page .hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem
}

.hero-page .btn-primary {
  background: #fdfaf1;
  color: var(--forest)
}

.hero-page .btn-primary:hover {
  background: var(--gold-lt);
  color: var(--ink)
}

.hero-page .btn-outline {
  color: #fdfaf1;
  border-color: rgba(253, 250, 241, .4)
}

.hero-page .btn-outline:hover {
  background: #fdfaf1;
  color: var(--forest)
}

/* KPI strip (used on hero + elsewhere) */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(253, 250, 241, .18);
  padding-top: 2.5rem;
  margin-top: 3rem;
}

.kpi {
  padding: 0 1.75rem;
  border-left: 1px solid rgba(253, 250, 241, .18)
}

.kpi:first-child {
  border-left: 0;
  padding-left: 0
}

.kpi-num {
  font-family: var(--f-serif);
  font-size: clamp(2.25rem, 3.6vw, 3.4rem);
  line-height: 1;
  font-weight: 500;
  color: #fdfaf1;
  margin-bottom: .4rem;
  letter-spacing: -.02em;
}

.kpi-num sup {
  font-size: .4em;
  vertical-align: top;
  color: var(--gold-lt)
}

.kpi-lbl {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(253, 250, 241, .65);
  font-weight: 500;
}

@media(max-width:820px) {
  .kpi-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 0
  }

  .kpi {
    padding: 0 1.25rem
  }

  .kpi:nth-child(3) {
    border-left: 0;
    padding-left: 0
  }
}

@media(max-width:520px) {
  .kpi-strip {
    grid-template-columns: 1fr;
    gap: 1.5rem
  }

  .kpi {
    padding: 0;
    border-left: 0;
    border-top: 1px solid rgba(253, 250, 241, .18);
    padding-top: 1.5rem
  }

  .kpi:first-child {
    border-top: 0;
    padding-top: 0
  }
}

/* ---------- generic 2-col intro ---------- */
.split-intro {
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.split-intro .col-copy p {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 1.25rem;
}

.split-intro .col-copy p:last-child {
  margin-bottom: 0
}

.split-intro h2 em {
  color: var(--red)
}

@media(max-width:900px) {
  .split-intro {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }
}

/* ---------- pull-quote ---------- */
.pull-quote {
  margin: 5rem auto;
  max-width: 900px;
  padding: 0 2rem;
  text-align: center;
}

.pull-quote p {
  font-family: var(--f-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -.01em;
}

.pull-quote footer {
  margin-top: 1.75rem;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 600;
}

.pull-quote footer strong {
  color: var(--ink);
  font-weight: 600
}

/* ---------- tenets / 4-col numbered ---------- */
.tenets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.tenet {
  padding: 2.5rem 1.75rem 2.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tenet:last-child {
  border-right: 0
}

.tenet-num {
  font-family: var(--f-serif);
  font-size: .95rem;
  color: var(--red);
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 1.5rem;
}

.tenet h4 {
  margin-bottom: .75rem;
  font-size: 1.2rem
}

.tenet p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55
}

@media(max-width:900px) {
  .tenets {
    grid-template-columns: repeat(2, 1fr)
  }

  .tenet:nth-child(2) {
    border-right: 0
  }
}

@media(max-width:520px) {
  .tenets {
    grid-template-columns: 1fr
  }

  .tenet {
    border-right: 0
  }
}

/* ---------- stage row (used for process, timeline pages) ---------- */
.stage {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 3rem;
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.stage:last-child {
  border-bottom: 1px solid var(--line)
}

.stage-idx {
  font-family: var(--f-serif);
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 600;
  padding-top: .3rem;
}

.stage-idx .stage-num {
  display: block;
  font-size: 3.5rem;
  letter-spacing: -.03em;
  color: var(--ink);
  text-transform: none;
  font-weight: 500;
  line-height: 1;
  margin-bottom: .75rem;
  font-style: normal;
}

.stage-idx .stage-dur {
  color: var(--muted);
  font-weight: 500;
  font-family: var(--f-sans);
}

.stage-quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--ink-2);
  padding-right: 1rem;
}

.stage-quote::before {
  content: "“";
  color: var(--red);
  font-weight: 600;
  margin-right: .1em
}

.stage-quote::after {
  content: "”";
  color: var(--red);
  font-weight: 600;
  margin-left: .1em
}

.stage-quote small {
  display: block;
  margin-top: 1rem;
  font-family: var(--f-sans);
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.stage-body h3 {
  margin-bottom: 1rem
}

.stage-body p {
  color: var(--ink-2);
  margin-bottom: 1.25rem;
  line-height: 1.6
}

.stage-body ul li {
  padding: .65rem 0 .65rem 1.4rem;
  border-top: 1px solid var(--line-2);
  position: relative;
  font-size: .95rem;
  color: var(--ink-2);
}

.stage-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 8px;
  height: 1px;
  background: var(--forest);
}

.stage-body ul li:last-child {
  border-bottom: 1px solid var(--line-2)
}

@media(max-width:900px) {
  .stage {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 3rem 0
  }

  .stage-idx .stage-num {
    font-size: 2.75rem
  }
}

/* ---------- editorial cards (used on index, insights, careers, etc.) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.card {
  padding: 2.25rem 1.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  transition: background .25s;
  display: flex;
  flex-direction: column;
}

.card:nth-child(3n) {
  border-right: 0
}

.card:hover {
  background: var(--cream-2)
}

.card-idx {
  font-family: var(--f-serif);
  font-size: .85rem;
  color: var(--red);
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 1.25rem;
}

.card-meta {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: .75rem;
}

.card h3 {
  margin-bottom: .75rem;
  font-size: 1.35rem;
  font-weight: 500
}

.card h4 {
  margin-bottom: .75rem
}

.card p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1
}

.card-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .4em;
  align-self: flex-start;
  transition: color .2s, border-color .2s;
}

.card-link:hover {
  color: var(--red);
  border-color: var(--red)
}

.card-icon {
  font-family: var(--f-serif);
  font-size: 1.6rem;
  color: var(--forest);
  margin-bottom: 1.5rem;
  display: inline-block;
}

@media(max-width:900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .card:nth-child(3n) {
    border-right: 1px solid var(--line)
  }

  .card:nth-child(2n) {
    border-right: 0
  }
}

@media(max-width:520px) {
  .card-grid {
    grid-template-columns: 1fr
  }

  .card {
    border-right: 0 !important
  }
}

/* ---------- CTA band ---------- */
.cta {
  background: var(--forest);
  color: #fdfaf1;
  padding: 100px 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 64px 64px;
}

.cta h2 {
  color: #fdfaf1
}

.cta h2 em {
  color: var(--gold-lt)
}

.cta .eyebrow-inline {
  color: var(--gold-lt)
}

.cta .inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: end;
}

.cta p {
  color: rgba(253, 250, 241, .75);
  margin-top: 1rem;
  max-width: 52ch;
  font-size: 1.05rem
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start
}

.cta .btn-primary {
  background: #fdfaf1;
  color: var(--forest)
}

.cta .btn-primary:hover {
  background: var(--gold-lt)
}

.cta .btn-outline {
  color: #fdfaf1;
  border-color: rgba(253, 250, 241, .4)
}

.cta .btn-outline:hover {
  background: #fdfaf1;
  color: var(--forest)
}

@media(max-width:820px) {
  .cta .inner {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap
  }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(253, 250, 241, .75);
  padding: 80px 0 32px;
}

.footer-brand-row,
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(253, 250, 241, .14);
}

.footer-brand-row .brand,
.footer-grid .brand {
  color: #fdfaf1
}

.footer-brand-row p,
.footer-grid p {
  color: rgba(253, 250, 241, .6);
  font-size: .9rem;
  line-height: 1.55;
  margin-top: 1.25rem;
  max-width: 34ch;
}

.footer-brand-row h5,
.footer-grid h5 {
  font-family: var(--f-sans);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-lt);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-brand-row ul li,
.footer-grid ul li {
  margin-bottom: .65rem
}

.footer-brand-row ul a,
.footer-grid ul a {
  color: rgba(253, 250, 241, .7);
  font-size: .92rem
}

.footer-brand-row ul a:hover,
.footer-grid ul a:hover {
  color: #fdfaf1
}

.footer-grid a {
  color: rgba(253, 250, 241, .75)
}

.footer-grid a:hover {
  color: #fdfaf1
}

.footer-social,
.social-links {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem
}

.footer-social a,
.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(253, 250, 241, .25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(253, 250, 241, .75);
  transition: background .2s, border-color .2s, color .2s;
}

.footer-social a:hover,
.social-links a:hover {
  background: var(--gold-lt);
  color: var(--ink);
  border-color: var(--gold-lt)
}

.footer-bottom {
  padding-top: 2rem;
  font-size: .78rem;
  color: rgba(253, 250, 241, .5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom .disclaimer {
  font-size: .75rem;
  line-height: 1.7;
  color: rgba(253, 250, 241, .55);
  max-width: none;
  flex: 1;
}

.footer-bottom .disclaimer strong {
  color: rgba(253, 250, 241, .85);
  font-weight: 600
}

.footer-bottom .disclaimer a {
  color: rgba(253, 250, 241, .7);
  text-decoration: underline;
  text-decoration-color: rgba(253, 250, 241, .25)
}

.footer-bottom a {
  color: rgba(253, 250, 241, .6)
}

.footer-bottom a:hover {
  color: #fdfaf1
}

@media(max-width:820px) {

  .footer-brand-row,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem
  }
}

@media(max-width:520px) {

  .footer-brand-row,
  .footer-grid {
    grid-template-columns: 1fr
  }
}

/* ---------- forms ---------- */
.form-card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 2rem;
}

.form-card.on-dark {
  background: #fdfaf1;
  color: var(--ink)
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column
}

.form-group label {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: .5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--f-sans);
  font-size: 1rem;
  color: var(--ink);
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 2px;
  transition: border-color .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--forest);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical
}

.form-note {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .85rem;
  line-height: 1.5;
}

@media(max-width:640px) {
  .form-row {
    grid-template-columns: 1fr
  }
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

@media(prefers-reduced-motion:reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }

  html {
    scroll-behavior: auto
  }
}

/* ---------- fact list (2-col with meta ) ---------- */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.fact-grid>div {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-2)
}

.fact-grid small {
  display: block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: .4rem;
}

.fact-grid p {
  font-size: .98rem;
  color: var(--ink-2);
  line-height: 1.5
}

@media(max-width:640px) {
  .fact-grid {
    grid-template-columns: 1fr;
    gap: 1rem
  }
}

/* ---------- 4-stat row (used across pages) ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-row>div {
  padding: 2rem 1.5rem 2rem 0;
  border-right: 1px solid var(--line);
}

.stat-row>div:last-child {
  border-right: 0;
  padding-right: 0
}

.stat-row b {
  font-family: var(--f-serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--forest);
  display: block;
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: .6rem;
}

.stat-row span {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.4;
  display: block
}

@media(max-width:820px) {
  .stat-row {
    grid-template-columns: repeat(2, 1fr)
  }

  .stat-row>div:nth-child(2) {
    border-right: 0
  }

  .stat-row>div:nth-child(3),
  .stat-row>div:nth-child(4) {
    border-top: 1px solid var(--line-2)
  }
}

@media(max-width:480px) {
  .stat-row {
    grid-template-columns: 1fr
  }

  .stat-row>div {
    border-right: 0 !important;
    border-top: 1px solid var(--line-2)
  }

  .stat-row>div:first-child {
    border-top: 0
  }
}

/* ---------- small utilities ---------- */
.text-muted {
  color: var(--muted)
}

.mt-0 {
  margin-top: 0
}

.mt-1 {
  margin-top: .75rem
}

.mt-2 {
  margin-top: 1.5rem
}

.mt-3 {
  margin-top: 2.5rem
}

/* ---------- institutional additions (rebuild 2026-07) ---------- */
.disclaimer-strip {
  background: var(--gold-lt);
  color: var(--ink);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  font-size: .82rem;
  padding: .85rem 0;
  font-weight: 500;
  letter-spacing: .01em;
}

.disclaimer-strip .container {
  display: flex;
  gap: .75rem;
  align-items: baseline;
  flex-wrap: wrap
}

.disclaimer-strip strong {
  color: var(--forest);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 700
}

.glance-strip {
  background: var(--forest);
  color: #fdfaf1;
  padding: 1.4rem 0;
}

.glance-strip .container {
  display: flex;
  gap: 2.5rem;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center
}

.glance-strip .g {
  font-size: .88rem;
  letter-spacing: .02em;
  color: rgba(253, 250, 241, .85)
}

.glance-strip .g b {
  color: var(--gold-lt);
  font-weight: 600;
  margin-right: .4em;
  font-family: var(--f-serif);
  font-size: 1.05rem;
  letter-spacing: -.01em
}

@media(max-width:720px) {
  .glance-strip .container {
    gap: 1rem;
    flex-direction: column;
    align-items: flex-start
  }
}

/* tables keep their own horizontal scroll instead of blowing out the page */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  max-width: 100%;
  overflow-y: hidden;
}

.table-scroll .data-table {
  min-width: 520px
}

/* grid/flex items default to min-width:auto, which stops a scroll container from
   ever shrinking below its content; opt every table ancestor out of that. */
.strategy-block .sb-body>*,
.perf-grid>*,
.split-intro>* {
  min-width: 0
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  font-variant-numeric: tabular-nums;
}

.data-table thead th {
  text-align: left;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--line);
}

.data-table tbody td {
  padding: .95rem 1rem;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-2);
  vertical-align: top
}

.data-table tbody tr:last-child td {
  border-bottom: 1px solid var(--line)
}

.data-table .lbl {
  color: var(--muted);
  font-size: .85rem
}

.data-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums
}

.data-table .num.pos {
  color: var(--forest-lt)
}

.data-table .num.neg {
  color: var(--red)
}

.data-table.striped tbody tr:nth-child(odd) {
  background: var(--cream-2)
}

.strategy-block {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 2.25rem;
  margin-bottom: 2rem;
}

.strategy-block .sb-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.strategy-block .sb-head h3 {
  font-size: 1.6rem
}

.strategy-block .sb-head .aum {
  font-family: var(--f-serif);
  font-size: 1.5rem;
  color: var(--forest);
  letter-spacing: -.01em;
}

.strategy-block .sb-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem
}

.strategy-block .sb-chart {
  background: var(--cream-2);
  padding: 1.25rem;
  height: 220px;
  position: relative
}

.strategy-block .sb-chart canvas {
  position: absolute;
  inset: 1.25rem
}

@media(max-width:820px) {
  .strategy-block .sb-body {
    grid-template-columns: 1fr
  }
}

/* timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--line);
  margin-top: 2rem
}

.timeline .tl {
  position: relative;
  padding: 0 0 2rem 1.5rem
}

.timeline .tl::before {
  content: "";
  position: absolute;
  left: -2.6rem;
  top: .35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 4px var(--cream);
}

.timeline .tl-date {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .35rem;
}

.timeline .tl h4 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: .3rem
}

.timeline .tl p {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.55;
  max-width: 60ch
}

/* chip / tag */
.chip {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border: 1px solid var(--line);
  color: var(--forest);
  font-weight: 600;
  background: var(--cream);
  border-radius: 2px;
  margin-right: .4rem;
}

.chip.gold {
  border-color: var(--gold);
  color: var(--gold)
}

.chip.red {
  border-color: var(--red);
  color: var(--red)
}

/* linkedin button */
.li-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--forest);
  color: var(--forest);
  padding: .5rem .8rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .2s, color .2s;
}

.li-btn:hover {
  background: var(--forest);
  color: var(--cream)
}

.li-btn .li-i {
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20.45 20.45h-3.55v-5.57c0-1.33-.03-3.04-1.85-3.04-1.86 0-2.14 1.45-2.14 2.95v5.66H9.36V9h3.41v1.56h.05c.47-.9 1.63-1.85 3.36-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.44c-1.14 0-2.06-.92-2.06-2.06s.92-2.06 2.06-2.06 2.06.92 2.06 2.06-.92 2.06-2.06 2.06zM7.12 20.45H3.56V9h3.56v11.45zM22.22 0H1.77C.79 0 0 .77 0 1.72v20.56C0 23.23.79 24 1.77 24h20.45C23.2 24 24 23.23 24 22.28V1.72C24 .77 23.2 0 22.22 0z'/></svg>") no-repeat center/contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20.45 20.45h-3.55v-5.57c0-1.33-.03-3.04-1.85-3.04-1.86 0-2.14 1.45-2.14 2.95v5.66H9.36V9h3.41v1.56h.05c.47-.9 1.63-1.85 3.36-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.44c-1.14 0-2.06-.92-2.06-2.06s.92-2.06 2.06-2.06 2.06.92 2.06 2.06-.92 2.06-2.06 2.06zM7.12 20.45H3.56V9h3.56v11.45zM22.22 0H1.77C.79 0 0 .77 0 1.72v20.56C0 23.23.79 24 1.77 24h20.45C23.2 24 24 23.23 24 22.28V1.72C24 .77 23.2 0 22.22 0z'/></svg>") no-repeat center/contain;
}

/* team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.team-card {
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.team-card .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: .02em;
  margin-bottom: 1.25rem;
}

.team-card .role {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .35rem;
}

.team-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: .6rem
}

.team-card .bio {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  min-height: 3.5em
}

.team-card .creds {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem
}

.team-card .creds .chip {
  font-size: .62rem;
  padding: .22rem .55rem;
  margin: 0
}

@media(max-width:820px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:560px) {
  .team-grid {
    grid-template-columns: 1fr
  }
}

/* section group heading */
.team-group {
  margin: 3rem 0 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
}

.team-group h3 {
  font-size: 1.4rem;
  font-weight: 500
}

.team-group span {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600
}

/* gated preview */
.gated-list {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 0;
}

.gated-list .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line-2);
}

.gated-list .row:last-child {
  border-bottom: 0
}

.gated-list .row .doc {
  display: flex;
  gap: .9rem;
  align-items: baseline;
}

.gated-list .row .doc h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink)
}

.gated-list .row .doc small {
  color: var(--muted);
  font-size: .8rem;
  display: block;
  margin-top: .15rem
}

.gated-list .row .lock {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: .35rem .75rem;
  font-weight: 600;
}

.gated-list .row .lock::before {
  content: "🔒 ";
}

/* login card */
.login-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 2.5rem;
}

.login-card h3 {
  font-size: 1.6rem;
  margin-bottom: .4rem
}

.login-card p.hint {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 1.75rem
}

.login-card .form-group {
  margin-bottom: 1rem
}

.login-card .form-actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap
}

/* three-column partnerships */
.tri-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tri-col .col {
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.tri-col .col h3 {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 1rem
}

.tri-col .col ul {
  margin-top: 1rem
}

.tri-col .col ul li {
  padding: .5rem 0;
  border-bottom: 1px dashed var(--line-2);
  font-size: .94rem;
  color: var(--ink-2)
}

.tri-col .col ul li:last-child {
  border-bottom: 0
}

.tri-col .col {
  min-width: 0
}

@media(max-width:1000px) {
  .tri-col {
    grid-template-columns: 1fr
  }
}

/* role cards */
.role-list {
  border-top: 1px solid var(--line)
}

.role {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.role h4 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: .35rem;
  font-family: var(--f-serif)
}

.role .meta {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .75rem;
}

.role p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
  max-width: 70ch
}

.role .actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: flex-end
}

@media(max-width:640px) {
  .role {
    grid-template-columns: 1fr
  }

  .role .actions {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap
  }
}

/* press strip */
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem
}

.press {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.press .src {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  color: var(--forest);
  font-style: italic;
}

.press .date {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600
}

.press h4 {
  font-size: 1.05rem;
  font-weight: 500;
  font-family: var(--f-serif);
  line-height: 1.3
}

.press a {
  color: var(--forest);
  font-size: .85rem;
  font-weight: 600;
  margin-top: auto;
  padding-top: .5rem
}

@media(max-width:820px) {
  .press-grid {
    grid-template-columns: 1fr
  }
}

/* office cards */
.office-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem
}

.office {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.office h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: var(--forest)
}

.office p {
  font-size: .9rem;
  color: var(--ink-2);
  line-height: 1.55
}

.office p.phone {
  color: var(--muted);
  font-size: .85rem;
  margin-top: .5rem
}

@media(max-width:820px) {
  .office-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:520px) {
  .office-grid {
    grid-template-columns: 1fr
  }
}

/* contact block */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem
}

.contact-block {
  background: var(--cream-2);
  padding: 1.5rem;
  border-left: 2px solid var(--forest);
}

.contact-block .lbl {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .4rem
}

.contact-block a {
  color: var(--forest);
  font-weight: 600;
  font-size: .95rem;
  word-break: break-all
}

@media(max-width:820px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:520px) {
  .contact-grid {
    grid-template-columns: 1fr
  }
}

/* insight card variant with share */
.insight-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 2rem;
  align-items: baseline;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.insight-row .idate {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600
}

.insight-row h3 {
  font-family: var(--f-serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: .4rem
}

.insight-row .by {
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: .06em;
  font-weight: 600;
  margin-bottom: .5rem
}

.insight-row p {
  color: var(--muted);
  font-size: .95rem;
  max-width: 70ch;
  line-height: 1.55
}

.insight-row .share {
  display: flex;
  gap: .5rem;
  align-items: center
}

@media(max-width:820px) {
  .insight-row {
    grid-template-columns: 1fr
  }
}

/* legal sections */
.legal-doc {
  max-width: 70ch;
  margin: 0 auto
}

.legal-doc h2 {
  scroll-margin-top: 120px;
  margin-top: 3rem;
  margin-bottom: 1rem
}

.legal-doc h3 {
  margin-top: 2rem;
  margin-bottom: .7rem
}

.legal-doc p,
.legal-doc li {
  color: var(--ink-2);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: .7rem
}

.legal-doc ul {
  margin-left: 1.2rem;
  list-style: disc;
  margin-bottom: 1rem
}

/* CTA row */
.home-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem
}

/* dark hero utility */
.hero-page.compact {
  padding: 110px 0 80px
}

.hero-page .lead-max {
  max-width: 60ch
}

/* ---------- hero lead form (index / contact / partnerships / investors) ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.hero-grid .hero-copy h1 {
  max-width: 15ch
}

.hero-grid .hero-copy .lead {
  font-size: 1.04rem;
  max-width: 54ch
}

.hero-form-col {
  position: relative
}

.hero-form {
  padding: 2.1rem 2rem 1.85rem;
  border: 1px solid rgba(253, 250, 241, .16);
  box-shadow: 0 30px 70px rgba(4, 20, 16, .38);
  position: relative;
  overflow: hidden;
}

.hero-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
}

.hero-form-head {
  margin-bottom: 1.6rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.hero-form-eyebrow {
  display: block;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .7rem;
}

.hero-form-head h2 {
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5rem;
}

.hero-page .hero-form em,
.hero-form-head h2 em {
  color: var(--forest);
  font-style: italic
}

.hero-form-head p {
  font-size: .9rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  max-width: 40ch;
}

.hero-form .form-group {
  margin-bottom: 1.05rem
}

.hero-form .form-row {
  gap: 1rem;
  align-items: end
}

.hero-form input,
.hero-form select,
.hero-form textarea {
  width: 100%;
  padding: .8rem .95rem;
  font-size: .97rem;
}

.hero-form input::placeholder,
.hero-form textarea::placeholder {
  color: var(--muted-2);
  opacity: .75
}

.hero-form textarea {
  min-height: 104px
}

.hero-form .form-group input:focus,
.hero-form .form-group select:focus,
.hero-form .form-group textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(15, 59, 50, .1);
}

.hero-form .hero-form-submit {
  width: 100%;
  justify-content: center;
  margin-top: .35rem
}

.hero-page .hero-form .btn-primary {
  background: var(--forest);
  color: #fdfaf1
}

.hero-page .hero-form .btn-primary:hover {
  background: var(--ink);
  color: #fdfaf1
}

.hero-page .hero-form .btn-primary:disabled {
  opacity: .6;
  cursor: not-allowed
}

.hero-form .form-note {
  margin-top: .95rem;
  margin-bottom: 0;
  font-size: .74rem;
  line-height: 1.5
}

/* inline validation */
.hero-form-fields[hidden] {
  display: none
}

.field-error {
  display: block;
  margin-top: .4rem;
  font-size: .75rem;
  line-height: 1.35;
  color: #a12622;
  font-weight: 500;
}

.hero-form .form-group.has-error input,
.hero-form .form-group.has-error select,
.hero-form .form-group.has-error textarea {
  border-color: #a12622;
  background: #fffafa
}

.hero-form .form-group.has-error input:focus,
.hero-form .form-group.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(161, 38, 34, .12)
}

/* success panel */
.hero-form-success[hidden] {
  display: none
}

.hero-form-success {
  text-align: center;
  padding: 1.25rem 0 .5rem
}

.hero-form-success .hfs-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  background: var(--forest);
  color: #fdfaf1;
  font-size: 26px;
  line-height: 1;
}

.hero-form-success h3 {
  font-size: 1.35rem;
  margin: 0 0 .55rem;
  color: var(--ink);
  outline: none
}

.hero-form-success p {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 auto 1.5rem;
  max-width: 34ch
}

.hero-form-success .btn-ghost {
  color: var(--forest);
  border-color: var(--forest)
}

.hero-form-success .btn-ghost:hover {
  color: var(--ink);
  border-color: var(--ink)
}

@media(max-width:1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .hero-grid .hero-copy h1 {
    max-width: 18ch
  }

  .hero-form-col {
    max-width: 640px;
    width: 100%
  }
}

@media(max-width:720px) {
  .hero-form {
    padding: 1.6rem 1.25rem 1.4rem
  }

  .hero-form-head {
    margin-bottom: 1.35rem
  }
}

@media(max-width:640px) {
  .hero-form .form-row {
    gap: 0
  }
}

/* ---------- lead modal ---------- */
.lead-modal[hidden] {
  display: none
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px 20px;
  overflow-y: auto;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 26, 22, .72);
  backdrop-filter: blur(4px);
  animation: lm-fade .25s ease;
}

.lead-modal__dialog {
  position: relative;
  width: min(560px, 100%);
  margin: auto;
  animation: lm-rise .3s cubic-bezier(.2, .8, .3, 1);
}

.lead-modal .hero-form {
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45)
}

.lead-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.lead-modal__close:hover {
  background: var(--cream-2);
  color: var(--ink)
}

.lead-modal .hero-form .btn-primary {
  background: var(--forest);
  color: #fdfaf1
}

.lead-modal .hero-form .btn-primary:hover {
  background: var(--ink);
  color: #fdfaf1
}

.lead-modal .hero-form .btn-primary:disabled {
  opacity: .6;
  cursor: not-allowed
}

.lead-modal .hero-form-head {
  padding-right: 2.5rem
}

@keyframes lm-fade {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes lm-rise {
  from {
    opacity: 0;
    transform: translateY(18px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@media (prefers-reduced-motion: reduce) {

  .lead-modal__backdrop,
  .lead-modal__dialog {
    animation: none
  }
}

@media(max-width:560px) {
  .lead-modal {
    padding: 14px 12px;
    place-items: start center
  }

  .lead-modal__dialog {
    width: 100%
  }
}

/* ---------- request success modal (investors / partnerships) ---------- */
.request-modal[hidden] {
  display: none
}

.request-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.request-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 29, 25, .72);
  backdrop-filter: blur(4px);
}

.request-modal__card {
  position: relative;
  width: min(460px, 100%);
  padding: 42px 34px 34px;
  text-align: center;
  background: var(--cream, #fff);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.request-modal__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--forest, #173f35);
  color: #fff;
  font-size: 28px;
}

.request-modal__card h3 {
  margin: 0 0 12px
}

.request-modal__card p {
  margin: 0 0 24px;
  color: var(--muted, #666)
}

.request-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

/* ============================================================
   Motion & interaction polish
   All transforms are opt-out under prefers-reduced-motion (bottom of file).
============================================================ */

/* header condenses + lifts once the page is scrolled */
.site-header {
  transition: box-shadow .3s ease, background .3s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 26px rgba(11, 22, 32, .09);
  background: rgba(251, 250, 247, .97);
}

/* nav underline grows from the left on hover (desktop bar only - the mobile
   panel uses full-width rows with their own borders) */
@media(min-width:961px) {
  .nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 100%;
    background: var(--forest);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s cubic-bezier(.2, .8, .3, 1);
  }

  .nav a:hover::after {
    transform: scaleX(1)
  }

  .nav a.active::after {
    transform: scaleX(1)
  }
}

/* card + panel hover lift */
.card,
.press,
.office,
.team-card,
.strategy-block {
  transition: transform .3s cubic-bezier(.2, .8, .3, 1), box-shadow .3s ease, background .25s;
}

.card:hover,
.press:hover,
.office:hover,
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(11, 22, 32, .08);
}

/* buttons get a subtle lift, matching .btn-gold's existing press state */
.btn-primary,
.btn-outline {
  transition: transform .2s cubic-bezier(.2, .8, .3, 1), background .25s, color .25s, border-color .25s, box-shadow .25s;
}

.btn-primary:hover,
.btn-outline:hover {
  transform: translateY(-2px)
}

.btn-primary:active,
.btn-outline:active {
  transform: translateY(0)
}

/* keyboard focus ring, consistent site-wide */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--forest-glow);
  outline-offset: 3px;
  border-radius: 2px;
}

.hero-page a:focus-visible,
.cta a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--gold-lt)
}

/* staggered reveal for grid children */
.reveal-stagger>* {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .3, 1);
}

.reveal-stagger.in>* {
  opacity: 1;
  transform: none
}

.reveal-stagger.in>*:nth-child(1) {
  transition-delay: .05s
}

.reveal-stagger.in>*:nth-child(2) {
  transition-delay: .12s
}

.reveal-stagger.in>*:nth-child(3) {
  transition-delay: .19s
}

.reveal-stagger.in>*:nth-child(4) {
  transition-delay: .26s
}

.reveal-stagger.in>*:nth-child(5) {
  transition-delay: .33s
}

.reveal-stagger.in>*:nth-child(6) {
  transition-delay: .40s
}

.reveal-stagger.in>*:nth-child(n+7) {
  transition-delay: .45s
}

/* numerals tick up on first view; .counting hides the jump before JS starts */
.count-up {
  font-variant-numeric: tabular-nums
}

@media(prefers-reduced-motion:reduce) {

  .card:hover,
  .press:hover,
  .office:hover,
  .team-card:hover,
  .btn-primary:hover,
  .btn-outline:hover,
  .btn-gold:active {
    transform: none !important
  }

  .reveal-stagger>* {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .nav a::after {
    transition: none
  }
}