/* =========================================================
   MAY PARK PARTNERS — Institutional Design, Brand Palette
   ========================================================= */

:root {
  /* Brand color system — Slate Blue primary */
  --brand:        #5A6E86;
  --brand-dark:   #3D4F63;
  --brand-deeper: #2C3A4A;
  --brand-light:  #7A8FA5;
  --brand-faint:  rgba(90, 110, 134, 0.08);

  --white:        #FFFFFF;
  --off-white:    #F5F6F8;
  --gray-50:      #FAFBFC;
  --gray-100:     #ECEEF1;
  --gray-300:     #C5C9D0;
  --gray-500:     #8A909B;
  --gray-700:     #4A5568;
  --gray-900:     #1A1F2B;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --gutter: clamp(24px, 5vw, 80px);
  --section-pad: clamp(64px, 10vw, 120px);
}


/* ── TYPOGRAPHY CLASSES ── */

.overline {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}

.heading-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
}

.body-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1vw + 10px, 17px);
  line-height: 1.75;
  color: var(--gray-700);
}

/* Ghost button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  min-width: 200px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1.5px solid var(--brand-dark);
  background: transparent;
  color: var(--brand-dark);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-ghost:hover {
  background: var(--brand-dark);
  color: var(--white);
  border-color: var(--brand-dark);
}
.btn-ghost--light {
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost--light:hover {
  background: var(--white);
  color: var(--brand-dark);
  border-color: var(--white);
}


/* ── SCROLL-MARGIN (so anchored sections clear the fixed header) ── */

:root { --header-h: 72px; }
section[id], #about, #thesis, #services, #team, #contact {
  scroll-margin-top: var(--header-h);
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* ── HEADER ── */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  transition: box-shadow 0.3s ease;
}
.site-header--scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: 1400px;
  margin: 0 auto;
}

.logo-wordmark {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw + 10px, 30px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--brand-dark);
  text-transform: uppercase;
  text-decoration: none;
}

.header-right {
  display: flex;
  align-items: center;
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  color: var(--brand-dark);
  transition: opacity 0.2s;
}
.header-icon-btn:hover { opacity: 0.6; }


/* ── HERO ── */

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1792 / 1024;
  max-height: 88vh;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  margin-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}
@media (max-width: 768px) {
  .hero-bg img {
    /* Anchor toward the right where the cypress sits, and lift the focal point
       lower so the foreground hills and tree remain visible at narrow widths. */
    object-position: 72% 55%;
  }
}
@media (max-width: 480px) {
  .hero-bg img { object-position: 78% 60%; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 58, 74, 0.3) 0%,
    rgba(44, 58, 74, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) clamp(48px, 8vw, 100px);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-overline {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  color: rgba(255,255,255,0.78);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4.5vw + 4px, 72px);
  line-height: 1.08;
  color: var(--white);
}


/* ── HERO SUB ── */

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.2vw + 11px, 22px);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 56ch;
  margin-top: 20px;
}


/* ── EMERGING MANAGERS THESIS ── */

.thesis-section {
  padding: var(--section-pad) var(--gutter);
  background: var(--off-white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.thesis-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.thesis-header {
  margin-bottom: clamp(40px, 6vw, 72px);
}

.thesis-header .overline {
  color: var(--brand);
  margin-bottom: 20px;
}

.thesis-header .heading-display {
  font-size: clamp(26px, 3vw + 6px, 44px);
  max-width: 28ch;
  color: var(--brand-deeper);
}

.thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #D8DCE3;
  border: 1px solid #D8DCE3;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.thesis-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
  .thesis-grid--four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .thesis-grid--four { grid-template-columns: 1fr; }
}

.thesis-card {
  background: var(--white);
  padding: clamp(28px, 3vw, 48px);
}

.thesis-stat {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw + 10px, 64px);
  font-weight: 300;
  line-height: 1;
  color: var(--brand-dark);
  margin-bottom: 4px;
}

.thesis-grid--four .thesis-stat {
  font-size: clamp(34px, 3.4vw + 8px, 56px);
}

.thesis-stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.thesis-card p {
  font-family: var(--font-body);
  font-size: clamp(14px, 0.9vw + 8px, 15px);
  line-height: 1.7;
  color: var(--gray-700);
  max-width: 40ch;
}

.thesis-card cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-style: normal;
  color: var(--gray-300);
  letter-spacing: 0.02em;
}

/* Thesis secondary data grid */
.thesis-secondary {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.thesis-secondary-heading {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 28px;
}

.thesis-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.thesis-secondary-item {
  padding: 24px 28px;
  border-left: 2px solid var(--brand-light);
}

.thesis-source-name {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.thesis-secondary-item p {
  font-family: var(--font-body);
  font-size: clamp(13px, 0.8vw + 7px, 15px);
  line-height: 1.7;
  color: var(--gray-700);
}

.thesis-secondary-item strong {
  font-weight: 500;
  color: var(--gray-900);
}

.thesis-secondary-item sup {
  font-size: 10px;
  color: var(--brand);
}

.thesis-narrative {
  max-width: 72ch;
}

.thesis-narrative .body-text {
  color: var(--gray-700);
}

/* Thesis footnotes */
.thesis-footnotes {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

.thesis-footnotes ol {
  padding-left: 20px;
  margin: 0;
}

.thesis-footnotes li {
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.65;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.thesis-card sup {
  font-size: 10px;
  color: var(--brand);
}


/* ── SPLIT SECTION SYSTEM ── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-pane {
  padding: var(--section-pad) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-pane--brand {
  background: var(--brand-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.split-pane--brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.02) 60px,
    rgba(255,255,255,0.02) 61px
  );
  pointer-events: none;
}

.split-pane--white {
  background: var(--white);
  color: var(--gray-900);
}

.split-pane--off-white {
  background: var(--off-white);
  color: var(--gray-900);
}

.split-pane .overline { margin-bottom: 28px; }
.split-pane--brand .overline { color: var(--brand-light); }
.split-pane--white .overline,
.split-pane--off-white .overline { color: var(--brand); }

.split-pane .heading-display {
  font-size: clamp(26px, 3vw + 6px, 44px);
  margin-bottom: 24px;
}

.split-pane .body-text { max-width: 52ch; }
.split-pane .body-text + .body-text { margin-top: 20px; }
.split-pane--brand .body-text { color: rgba(255,255,255,0.7); }

.split-pane .btn-ghost { margin-top: 32px; align-self: flex-start; }


/* ── STATS GRID ── */

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 40px;
  position: relative;
  z-index: 1;
}

.stat-number {
  font-family: var(--font-body);
  font-size: clamp(38px, 4.5vw + 8px, 64px);
  font-weight: 300;
  line-height: 1;
  color: var(--white);
  margin-bottom: 8px;
  font-variant-numeric: lining-nums;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}


/* ── SERVICES SECTION ── */

.services-section {
  padding: var(--section-pad) var(--gutter);
  background: var(--white);
}

.services-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.services-header {
  margin-bottom: clamp(40px, 6vw, 72px);
}

.services-header .overline {
  color: var(--brand);
  margin-bottom: 20px;
}

.services-header .heading-display {
  font-size: clamp(26px, 3vw + 6px, 44px);
  max-width: 22ch;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
}

.service-card {
  background: var(--white);
  padding: clamp(32px, 4vw, 56px);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw + 6px, 30px);
  font-weight: 400;
  color: var(--brand-deeper);
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-card p {
  font-size: clamp(14px, 0.9vw + 8px, 16px);
  line-height: 1.75;
  color: var(--gray-500);
  max-width: 48ch;
}


/* ── VALUES LIST (Approach) ── */

.values-list {
  list-style: none;
  padding: 0;
}

.values-list li {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw + 4px, 34px);
  font-weight: 400;
  color: var(--brand-dark);
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-100);
  line-height: 1.3;
}
.values-list li:first-child {
  border-top: 1px solid var(--gray-100);
}


/* ── FIRM SECTION (single-column, replaces split) ── */

.firm-section {
  background: var(--white);
  padding: var(--section-pad) var(--gutter);
}
.firm-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.firm-section .overline { color: var(--brand); margin-bottom: 28px; }
.firm-section .heading-display {
  font-size: clamp(28px, 3vw + 8px, 48px);
  margin-bottom: 24px;
  color: var(--brand-deeper);
}
.firm-section .body-text { max-width: 60ch; }
.firm-section .btn-ghost { margin-top: 32px; }


/* ── COMMITMENT SECTION (standalone brand-colored) ── */

.commitment-section {
  background: var(--brand-dark);
  color: var(--white);
  padding: var(--section-pad) var(--gutter);
  position: relative;
  overflow: hidden;
}
.commitment-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.02) 60px,
    rgba(255,255,255,0.02) 61px
  );
  pointer-events: none;
}
.commitment-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.commitment-section .overline { color: var(--brand-light); margin-bottom: 28px; }
.commitment-section .heading-display {
  font-size: clamp(28px, 3vw + 8px, 48px);
  margin-bottom: 24px;
}
.commitment-section .body-text {
  color: rgba(255,255,255,0.75);
  max-width: 60ch;
}


/* ── LP NETWORK STANDALONE ── */

.lp-section-standalone {
  background: var(--off-white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: var(--section-pad) var(--gutter);
}
.lp-section-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.lp-section-standalone .overline { color: var(--brand); margin-bottom: 28px; }
.lp-section-standalone .heading-display {
  font-size: clamp(28px, 3vw + 8px, 48px);
  margin-bottom: 24px;
  color: var(--brand-deeper);
  max-width: 22ch;
}
.lp-section-standalone .body-text { max-width: 60ch; }


/* ── LP COVERAGE SECTION (legacy) ── */

.lp-section {
  background: var(--off-white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.lp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-100);
  position: relative;
  z-index: 1;
}

.lp-grid--four {
  grid-template-columns: repeat(2, 1fr);
}

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

.lp-card {
  background: var(--off-white);
  padding: clamp(32px, 3vw, 48px) clamp(20px, 2vw, 32px);
  text-align: center;
}

.lp-card-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: var(--brand);
}

.lp-card h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw + 4px, 26px);
  font-weight: 400;
  color: var(--brand-deeper);
  margin-bottom: 10px;
}

.lp-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-500);
  max-width: 38ch;
  margin: 0 auto;
}


/* ── TEAM SECTION ── */

.team-section {
  padding: var(--section-pad) var(--gutter);
  background: var(--white);
}

.team-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.team-header .overline {
  color: var(--brand);
  margin-bottom: 20px;
}
.team-header .heading-display {
  font-size: clamp(26px, 3vw + 6px, 44px);
  margin-bottom: 24px;
}

.team-name-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.team-bio-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw + 6px, 30px);
  font-weight: 500;
  color: var(--brand-deeper);
  margin: 0;
}
.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: transparent;
  color: var(--brand-dark);
  border: 1.5px solid var(--brand-dark);
  border-radius: 50%;
  text-decoration: none;
  transition: color 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.team-linkedin svg { width: 14px; height: 14px; }
.team-linkedin:hover {
  color: var(--brand-deeper);
  border-color: var(--brand-deeper);
}

.team-bio-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
}

.team-bio-text {
  font-size: clamp(14px, 0.9vw + 8px, 16px);
  line-height: 1.8;
  color: var(--gray-700);
}

.team-bio-text + .team-bio-text {
  margin-top: 16px;
}


/* ── CONTACT ── */

.contact-section {
  background: var(--brand-dark);
  color: var(--white);
  padding: var(--section-pad) var(--gutter);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.02) 60px,
    rgba(255,255,255,0.02) 61px
  );
  pointer-events: none;
}
.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
}
.contact-section .overline {
  color: var(--brand-light);
  margin-bottom: 28px;
}
.contact-section .heading-display {
  font-size: clamp(30px, 4vw + 6px, 54px);
  margin-bottom: 20px;
}
.contact-section .body-text {
  color: rgba(255,255,255,0.6);
  max-width: 60ch;
  margin: 0 0 40px;
}


/* ── FOOTER ── */

.site-footer {
  background: var(--brand-deeper);
  color: var(--white);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  max-width: 420px;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}
.footer-links li:last-child { margin-bottom: 0; }
.footer-links a {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-brand { text-align: right; }

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.footer-linkedin:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
}
.footer-linkedin svg { width: 18px; height: 18px; }

.footer-legal {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px var(--gutter) 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 80ch;
  margin-bottom: 12px;
}
.footer-bd-line {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  line-height: 1.7;
  margin-bottom: 12px;
}
.footer-bd-line a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.35);
  text-underline-offset: 2px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.footer-bd-line a:hover {
  color: #fff;
  text-decoration-color: rgba(255,255,255,0.8);
}
.footer-bd-line .sep {
  color: rgba(255,255,255,0.35);
  margin: 0 4px;
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.6);
}
.footer-bottom-links .sep { color: rgba(255,255,255,0.15); }
.footer-copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-top: 12px;
}


/* ── SCROLL REVEAL ── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }


/* ── MOBILE NAV ── */

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(44, 58, 74, 0.4);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.is-active { display: block; opacity: 1; }

.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 85vw);
  background: var(--white);
  z-index: 210;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 24px 32px;
}
.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 48px;
}
.mobile-nav-close {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
}
.mobile-nav-links {
  list-style: none;
  padding: 0;
}
.mobile-nav-links li {
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav-links a {
  display: block;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--brand-dark);
  text-decoration: none;
}


/* ── RESPONSIVE ── */

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-pane { padding: clamp(48px, 8vw, 80px) var(--gutter); }
  .stats-grid { gap: 32px 24px; }
  .stat-number { font-size: clamp(36px, 8vw, 56px); }

  .services-grid { grid-template-columns: 1fr; }
  .thesis-grid { grid-template-columns: 1fr; }
  .thesis-secondary-grid { grid-template-columns: 1fr; }

  .team-inner { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { text-align: left; }
  .footer-nav { gap: 32px; }

  .split--about .split-pane--brand { order: 2; }
  .split--about .split-pane--white { order: 1; }
  .split--approach .split-pane--off-white { order: 1; }
  .split--approach .split-pane--brand { order: 2; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: clamp(24px, 6vw, 42px); white-space: normal !important; }
  .hero-sub { font-size: 16px; }
  .stat-number { font-size: 32px; }
  .thesis-stat { font-size: 36px; }
  .values-list li { font-size: 20px; padding: 14px 0; }
  .lp-grid--four { grid-template-columns: 1fr; }
}
