/* ============================================================
   MAYA RASAK, MFT — Design System
   Quiet-luxury: Aman sand tones + ÖND/Life's Breath black-cream-gold
   ============================================================ */

:root {
  /* ---------- Type scale (fluid clamp) ---------- */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 0.5rem + 7vw, 7rem);

  /* ---------- 4px spacing system ---------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ---------- Radius ---------- */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;

  /* ---------- Transitions ---------- */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* ---------- Content widths ---------- */
  --content-narrow: 640px;
  --content-default: 980px;
  --content-wide: 1240px;
  --content-full: 100%;

  /* ---------- Fonts ---------- */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Switzer', 'Work Sans', 'Helvetica Neue', sans-serif;
}

/* ================= LIGHT MODE (default) ================= */
:root,
[data-theme='light'] {
  /* Surfaces */
  --color-bg: oklch(96.2% 0.014 87);          /* ~#F7F2E9 warm ivory */
  --color-surface: oklch(97.8% 0.009 87);     /* ~#FBF8F2 warm white */
  --color-surface-2: oklch(98.6% 0.006 87);
  --color-surface-offset: oklch(93.4% 0.019 80); /* ~#EFE7D6 */
  --color-surface-offset-2: oklch(90.8% 0.022 75);
  --color-surface-dynamic: oklch(88% 0.025 70);
  --color-divider: oklch(87.8% 0.021 75);     /* ~#E1D6BE stone border */
  --color-border: oklch(84% 0.024 72);

  /* Text */
  --color-text: oklch(24.5% 0.014 55);        /* ~#2A2620 deep charcoal */
  --color-text-muted: oklch(48% 0.014 55);    /* ~#6B6255 muted gray-brown */
  --color-text-faint: oklch(68% 0.012 60);
  --color-text-inverse: oklch(96% 0.012 87);  /* cream on dark bands */

  /* Near-black charcoal band — header/footer/eyebrow */
  --color-band: oklch(16.5% 0.006 55);        /* ~#1B1814 */
  --color-band-text: oklch(95% 0.014 87);     /* cream text on band */
  --color-band-text-muted: oklch(72% 0.015 75);
  --color-band-border: oklch(26% 0.01 55);

  /* Primary accent — warm gold-amber-orange */
  --color-primary: oklch(58% 0.135 48);       /* ~#C1752E */
  --color-primary-hover: oklch(52% 0.14 46);
  --color-primary-active: oklch(46% 0.14 44);
  --color-primary-highlight: oklch(90% 0.05 55);
  --color-primary-on: oklch(99% 0.005 90);

  /* Secondary accent — deep sage/moss green */
  --color-sage: oklch(41% 0.045 130);         /* ~#4A5A40 */
  --color-sage-hover: oklch(35% 0.045 130);
  --color-sage-highlight: oklch(88% 0.03 125);

  /* Semantic */
  --color-error: oklch(52% 0.16 25);
  --color-success: var(--color-sage);

  /* Shadows — tone-matched warm */
  --shadow-sm: 0 1px 2px oklch(30% 0.02 55 / 0.07);
  --shadow-md: 0 4px 16px oklch(30% 0.02 55 / 0.09);
  --shadow-lg: 0 16px 40px oklch(30% 0.02 55 / 0.14);
}

/* ================= DARK MODE ================= */
[data-theme='dark'] {
  --color-bg: oklch(13.5% 0.006 55);          /* ~#15130F near-black charcoal */
  --color-surface: oklch(16.5% 0.007 55);
  --color-surface-2: oklch(19% 0.008 55);
  --color-surface-offset: oklch(21% 0.009 55);
  --color-surface-offset-2: oklch(24% 0.01 55);
  --color-surface-dynamic: oklch(27% 0.011 55);
  --color-divider: oklch(28% 0.012 55);
  --color-border: oklch(33% 0.013 55);

  --color-text: oklch(91% 0.012 85);
  --color-text-muted: oklch(70% 0.014 78);
  --color-text-faint: oklch(52% 0.013 70);
  --color-text-inverse: oklch(18% 0.01 55);

  --color-band: oklch(9% 0.004 55);
  --color-band-text: oklch(93% 0.013 85);
  --color-band-text-muted: oklch(65% 0.014 78);
  --color-band-border: oklch(20% 0.008 55);

  --color-primary: oklch(66% 0.15 50);        /* brightened for dark contrast */
  --color-primary-hover: oklch(72% 0.15 52);
  --color-primary-active: oklch(60% 0.15 48);
  --color-primary-highlight: oklch(30% 0.05 50);
  --color-primary-on: oklch(14% 0.01 55);

  --color-sage: oklch(62% 0.06 130);
  --color-sage-hover: oklch(68% 0.06 130);
  --color-sage-highlight: oklch(28% 0.03 130);

  --color-error: oklch(65% 0.16 25);
  --color-success: var(--color-sage);

  --shadow-sm: 0 1px 2px oklch(0% 0 0 / 0.35);
  --shadow-md: 0 4px 16px oklch(0% 0 0 / 0.45);
  --shadow-lg: 0 16px 40px oklch(0% 0 0 / 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: oklch(13.5% 0.006 55);
    --color-surface: oklch(16.5% 0.007 55);
    --color-surface-2: oklch(19% 0.008 55);
    --color-surface-offset: oklch(21% 0.009 55);
    --color-surface-offset-2: oklch(24% 0.01 55);
    --color-surface-dynamic: oklch(27% 0.011 55);
    --color-divider: oklch(28% 0.012 55);
    --color-border: oklch(33% 0.013 55);
    --color-text: oklch(91% 0.012 85);
    --color-text-muted: oklch(70% 0.014 78);
    --color-text-faint: oklch(52% 0.013 70);
    --color-text-inverse: oklch(18% 0.01 55);
    --color-band: oklch(9% 0.004 55);
    --color-band-text: oklch(93% 0.013 85);
    --color-band-text-muted: oklch(65% 0.014 78);
    --color-band-border: oklch(20% 0.008 55);
    --color-primary: oklch(66% 0.15 50);
    --color-primary-hover: oklch(72% 0.15 52);
    --color-primary-active: oklch(60% 0.15 48);
    --color-primary-highlight: oklch(30% 0.05 50);
    --color-primary-on: oklch(14% 0.01 55);
    --color-sage: oklch(62% 0.06 130);
    --color-sage-hover: oklch(68% 0.06 130);
    --color-sage-highlight: oklch(28% 0.03 130);
    --shadow-sm: 0 1px 2px oklch(0% 0 0 / 0.35);
    --shadow-md: 0 4px 16px oklch(0% 0 0 / 0.45);
    --shadow-lg: 0 16px 40px oklch(0% 0 0 / 0.55);
  }
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.eyebrow,
.tracked-label,
.nav-link,
.stat-label,
.pillar-num {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

body {
  font-weight: 380;
}

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container-wide {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container-narrow {
  max-width: var(--content-narrow);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.section-tight {
  padding-block: clamp(var(--space-10), 5vw, var(--space-20));
}

main {
  overflow-x: hidden;
}

/* ============================================================
   Skip link
   ============================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-primary-on);
  padding: var(--space-3) var(--space-5);
  z-index: 200;
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* ============================================================
   Eyebrow announcement bar
   ============================================================ */
/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-band);
  color: var(--color-band-text);
  border-bottom: 1px solid var(--color-band-border);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.site-header--hidden {
  transform: translateY(-100%);
}
.site-header--scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: var(--space-4);
  padding-block: var(--space-4);
}
.site-header .container-wide {
  max-width: 1680px;
}

.wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--color-band-text);
  text-decoration: none;
  line-height: 1;
}
.wordmark-main {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.5rem);
  letter-spacing: 0.06em;
  font-weight: 500;
  white-space: nowrap;
}
.wordmark-main svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.wordmark-sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-band-text-muted);
  padding-left: 34px;
  white-space: nowrap;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .wordmark-sub {
    white-space: normal;
    max-width: 220px;
    line-height: 1.4;
    font-size: 0.54rem;
  }
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: clamp(var(--space-3), 1.6vw, var(--space-8));
}
.nav-links {
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: clamp(var(--space-2), 1vw, var(--space-4));
  list-style: none;
}
.nav-links > li {
  white-space: nowrap;
}
.nav-link {
  display: inline-block;
  color: var(--color-band-text-muted);
  text-decoration: none;
  font-size: var(--text-xs);
  padding: var(--space-2) 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.06em;
  transition: color var(--transition-interactive), border-color var(--transition-interactive);
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current='page'] {
  color: var(--color-band-text);
  border-color: var(--color-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  min-height: 44px;
  border: 1px solid transparent;
  transition: background var(--transition-interactive), color var(--transition-interactive),
    border-color var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
  cursor: pointer;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-on);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active {
  transform: translateY(0);
  background: var(--color-primary-active);
}
.btn-outline {
  border-color: oklch(from var(--color-band-text) l c h / 0.35);
  color: var(--color-band-text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline-light {
  border-color: oklch(from white l c h / 0.5);
  color: white;
  background: transparent;
}
.btn-outline-light:hover {
  border-color: white;
  background: oklch(from white l c h / 0.12);
}
.btn-ghost {
  color: var(--color-text);
  background: transparent;
  border-color: var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-band-text-muted);
  border-radius: var(--radius-full);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.theme-toggle:hover {
  color: var(--color-band-text);
  background: oklch(from var(--color-band-text) l c h / 0.08);
}
.theme-toggle svg {
  width: 19px;
  height: 19px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--color-band-text);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--color-band);
  color: var(--color-band-text-muted);
  padding-block: var(--space-20) var(--space-10);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-band-border);
}
.footer-brand .wordmark-main { color: var(--color-band-text); }
.footer-tagline {
  margin-top: var(--space-4);
  max-width: 32ch;
  font-size: var(--text-sm);
  color: var(--color-band-text-muted);
}
.footer-heading {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-band-text);
  margin-bottom: var(--space-4);
}

/* ---------- OND partner badge ---------- */
.ond-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-band-border);
  text-decoration: none;
  color: var(--color-band-text);
  max-width: 32ch;
  text-align: center;
}
.ond-badge-label {
  display: block;
  width: 100%;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-band-text-muted);
  margin-bottom: var(--space-1);
}
.ond-badge-mark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-band-text);
  line-height: 1;
  transition: opacity 0.2s ease;
}
.ond-badge-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-band-text-muted);
}
.ond-badge:hover .ond-badge-mark { opacity: 0.7; }

/* ---------- OND page lockup (larger, standalone use) ---------- */
.ond-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.ond-lockup-mark {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1;
}
.ond-lockup-sub {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}
.ond-lockup-divider {
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  margin: var(--space-1) 0;
}
a.ond-lockup { transition: opacity 0.2s ease; }
a.ond-lockup:hover { opacity: 0.75; }
/* ---------- BHLI partner badge ---------- */
.partner-badges {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.bhli-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-band-text);
  max-width: 32ch;
  transition: opacity 0.2s ease;
}
.bhli-badge:hover { opacity: 0.75; }
.bhli-badge-logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}
.bhli-badge-text { display: flex; flex-direction: column; }
.bhli-badge-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-band-text-muted);
  margin-bottom: var(--space-2);
}
.bhli-badge-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-band-text-muted);
}
@media (max-width: 640px) {
  .bhli-badge-sub { display: block; }
}
.studio-badge {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-band-text);
  max-width: 32ch;
  transition: opacity 0.2s ease;
}
.studio-badge:hover { opacity: 0.75; }

/* ---------- BHLI page lockup (larger, standalone use) ---------- */
.bhli-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.bhli-lockup-logo {
  height: clamp(70px, 9vw, 108px);
  width: auto;
}
a.bhli-lockup { transition: opacity 0.2s ease; }
a.bhli-lockup:hover { opacity: 0.75; }
.partner-lockups {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}
.partner-lockups-divider {
  width: 1px;
  height: 64px;
  background: currentColor;
  opacity: 0.2;
}
@media (max-width: 640px) {
  .partner-lockups-divider { display: none; }
}

.pillar-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 720px) {
  .pillar-mini-grid { grid-template-columns: 1fr; }
}
.pillar-mini-card {
  padding: var(--space-6);
  background: var(--color-surface-offset);
  border-radius: var(--radius-md);
}
.pillar-mini-num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
  display: block;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}
.footer-links a {
  color: var(--color-band-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
}
.footer-links a:hover {
  color: var(--color-primary);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  font-size: var(--text-xs);
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-social {
  display: flex;
  gap: var(--space-4);
  list-style: none;
}
.footer-social a {
  color: var(--color-band-text-muted);
}
.footer-social a:hover {
  color: var(--color-primary);
}

/* ============================================================
   Buttons / links generic
   ============================================================ */
a {
  color: var(--color-primary);
}
a:hover {
  color: var(--color-primary-hover);
}

/* ============================================================
   Hero (turning silhouette sequence) — Home only
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: white;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  animation: hero-cycle 21s infinite;
  will-change: opacity, transform;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 7s; }
.hero-slide:nth-child(3) { animation-delay: 14s; }

@keyframes hero-cycle {
  0% { opacity: 0; transform: scale(1.02) translateX(0); }
  3% { opacity: 1; }
  28% { opacity: 1; transform: scale(1.08) translateX(-1%); }
  33% { opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
    opacity: 0;
  }
  .hero-slide:nth-child(1) {
    opacity: 1;
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(15% 0.01 55 / 0.35) 0%, oklch(15% 0.01 55 / 0.15) 40%, oklch(15% 0.01 55 / 0.78) 100%);
  z-index: 1;
}
.hero-heading {
  position: absolute;
  top: 3%;
  left: 0;
  right: 0;
  z-index: 2;
  width: 100%;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--space-24) var(--space-16);
}
.hero-eyebrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: oklch(95% 0.02 60 / 0.85);
  margin-bottom: var(--space-4);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 0.4rem + 5vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  max-width: 16ch;
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 24px oklch(10% 0.01 55 / 0.35);
}
.hero-sub {
  font-size: var(--text-lg);
  max-width: 44ch;
  margin-bottom: var(--space-8);
  color: oklch(96% 0.02 60 / 0.92);
}
.hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.hero-dots {
  position: absolute;
  bottom: var(--space-8);
  right: var(--space-6);
  z-index: 2;
  display: flex;
  gap: var(--space-2);
}
.hero-dots span {
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: oklch(95% 0 0 / 0.35);
}

/* Page hero (interior pages, no crossfade) */
.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  color: white;
  overflow: hidden;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero .hero-scrim {
  background: linear-gradient(180deg, oklch(15% 0.01 55 / 0.28) 0%, oklch(15% 0.01 55 / 0.15) 35%, oklch(15% 0.01 55 / 0.82) 100%);
}
.page-hero .hero-scrim.hero-scrim-strong {
  background: linear-gradient(180deg, oklch(12% 0.01 55 / 0.55) 0%, oklch(12% 0.01 55 / 0.4) 35%, oklch(12% 0.01 55 / 0.85) 100%);
}
.page-hero .hero-content {
  padding-block: var(--space-16) var(--space-12);
}
.page-hero .hero-title {
  font-size: var(--text-2xl);
  max-width: 22ch;
}

/* ============================================================
   Stats bar
   ============================================================ */
.stats-bar {
  background: var(--color-band);
  color: var(--color-band-text);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: var(--space-10);
}
.stat {
  text-align: center;
  padding-inline: var(--space-4);
  border-left: 1px solid var(--color-band-border);
}
.stat:first-child {
  border-left: none;
}
.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.stat-label {
  font-size: 0.68rem;
  color: var(--color-band-text-muted);
  max-width: 18ch;
  margin-inline: auto;
}

/* ============================================================
   Eyebrow labels / section headers
   ============================================================ */
.eyebrow-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.eyebrow-label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--color-primary);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: var(--space-5);
  max-width: 20ch;
}
.section-lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 62ch;
  font-family: var(--font-body);
}
.h3-block {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin-top: var(--space-10);
  margin-bottom: var(--space-3);
}
.h3-block:first-of-type {
  margin-top: var(--space-6);
}

/* ============================================================
   Insight article body typography (scoped to <article>, used
   only on /insights/*.html — safe, additive spacing fix)
   ============================================================ */
article p,
article ul,
article ol {
  margin-top: var(--space-5);
}
article h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
}
article h3 {
  margin-top: var(--space-7);
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
}
article p:first-child,
article h2:first-child,
article h3:first-child {
  margin-top: 0;
}
article ul,
article ol {
  padding-left: 1.25em;
}
article li {
  margin-bottom: var(--space-3);
}
article li:last-child {
  margin-bottom: 0;
}
article strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 1;
}
@supports (animation-timeline: view()) {
  .reveal {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}
@keyframes reveal-fade {
  to { opacity: 1; }
}

/* ============================================================
   Six Pillars
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.pillar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.pillar-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.pillar-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-divider);
}
.pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pillar-icon-badge {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-band);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.pillar-icon {
  width: 20px;
  height: 20px;
  color: var(--color-band-text);
}
.pillar-body {
  padding: var(--space-6);
}
.pillar-num {
  color: var(--color-primary);
  font-size: var(--text-xs);
  margin-bottom: var(--space-3);
  display: block;
  letter-spacing: 0.12em;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.pillar-line {
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.pillar-fact {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   Cards (services / insights / journal / press)
   ============================================================ */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
a.card {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: var(--space-6);
}
.card-eyebrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.card-cta {
  display: inline-block;
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-6);
}

/* ============================================================
   Split section (image + text)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.split.reverse .split-media {
  order: 2;
}
.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.split-media.wide img {
  aspect-ratio: 4/3;
}
.split-portrait {
  grid-template-columns: minmax(280px, 420px) 1fr;
  align-items: center;
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial {
  background: var(--color-surface-offset);
  padding: var(--space-10) var(--space-8);
  border-radius: var(--radius-lg);
  position: relative;
}
.testimonial-mark {
  color: var(--color-accent);
  opacity: 0.55;
  margin-bottom: var(--space-4);
  display: block;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.5;
  margin-bottom: var(--space-6);
  font-weight: 400;
  font-style: italic;
}
.testimonial-attr {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-6);
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
}
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  transition: transform var(--transition-interactive);
}
.faq-item[data-open='true'] .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease-in-out);
}
.faq-item[data-open='true'] .faq-answer {
  max-height: 600px;
}
.faq-answer-inner {
  padding-bottom: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 68ch;
}

/* ============================================================
   Forms
   ============================================================ */
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.form-field label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-base);
  min-height: 44px;
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
}
.form-field input:focus-visible,
.form-field textarea:focus-visible,
.form-field select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-divider);
}
.contact-detail:last-child {
  border-bottom: none;
}
.contact-detail .contact-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.contact-detail a,
.contact-detail span {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
}
.contact-detail a {
  text-decoration: none;
}
.contact-detail a:hover {
  color: var(--color-primary);
}
.contact-detail span:not(.contact-label) {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
}

/* ============================================================
   Badges / tags
   ============================================================ */
.tag {
  display: inline-flex;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--color-band);
  color: var(--color-band-text);
  text-align: center;
}
.cta-band .section-title,
.cta-band .eyebrow-label {
  color: var(--color-band-text);
}
.cta-band .eyebrow-label::before {
  background: var(--color-primary);
}
.cta-band .section-lede {
  color: var(--color-band-text-muted);
  margin-inline: auto;
}

/* ============================================================
   Utility
   ============================================================ */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: var(--space-4); }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.divider {
  height: 1px;
  background: var(--color-divider);
  border: none;
  margin-block: var(--space-12);
}

.bg-offset {
  background: var(--color-surface-offset);
}
.bg-band {
  background: var(--color-band);
  color: var(--color-band-text);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1600px) {
  .main-nav > .btn.btn-primary {
    padding: var(--space-2) var(--space-3);
    font-size: 0.68rem;
  }
  .main-nav {
    gap: var(--space-3);
  }
  .nav-links {
    gap: var(--space-2);
  }
  .nav-link {
    font-size: 0.68rem;
    letter-spacing: 0.02em;
  }
  .wordmark-sub {
    font-size: 0.5rem;
    letter-spacing: 0.03em;
    padding-left: 30px;
  }
  .header-inner {
    gap: var(--space-3);
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
  .stat:nth-child(3) {
    border-left: none;
  }
}

@media (max-width: 1080px) {
  .main-nav .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .main-nav > .btn.btn-primary {
    display: none;
  }
  .main-nav {
    gap: var(--space-3);
  }
  .wordmark-main {
    white-space: nowrap;
  }
}
@media (max-width: 1024px) {
  .split,
  .split.reverse .split-media {
    grid-template-columns: 1fr;
    order: 0;
  }
  .split {
    gap: var(--space-8);
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(odd) {
    border-left: none;
  }
  .hero-title {
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--color-band);
  color: var(--color-band-text);
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
}
.mobile-nav[data-open='true'] {
  transform: translateX(0);
}
.mobile-nav-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--space-10);
}
.mobile-nav-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-band-text);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  list-style: none;
}
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-band-text);
  text-decoration: none;
}
.mobile-nav-footer {
  margin-top: auto;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-band-border);
}
