@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Space+Grotesk:wght@500;700&display=swap');

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

:root {
  --ink: #0E1526;
  --graphite: #1C2740;
  --teal: #2DBE9A;
  --porcelain: #F3F5F9;
  --steel: #8A94A6;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-w: 1200px;
  --pad-section: clamp(64px, 10vw, 140px);
  --radius: 4px;
  --transition: 0.35s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: currentColor; text-decoration: underline; text-underline-offset: 3px; }
a:hover { opacity: 0.85; }
ul, ol { padding-left: 1.25rem; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 500; }

.surface-ink { background: var(--ink); color: var(--porcelain); }
.surface-porcelain { background: var(--porcelain); color: var(--ink); }
.surface-graphite { background: var(--graphite); color: var(--porcelain); }
.surface-teal { background: var(--teal); color: var(--ink); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.container { width: min(var(--max-w), 92vw); margin-inline: auto; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled,
.site-header--solid {
  background: var(--porcelain);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(14, 21, 38, 0.08);
}
.site-header.is-scrolled .nav-link,
.site-header--solid .nav-link { color: var(--ink); }
.site-header.is-scrolled .logo,
.site-header--solid .logo { color: var(--ink); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-w), 92vw);
  margin-inline: auto;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--porcelain);
  text-transform: lowercase;
}
.logo::first-letter {
  text-transform: uppercase;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid currentColor;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: inherit;
  border-radius: var(--radius);
}
.main-nav { display: flex; gap: 1.75rem; align-items: center; list-style: none; padding: 0; }
.nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--porcelain);
  opacity: 0.9;
}
.nav-link:hover, .nav-link.is-active { opacity: 1; text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: filter var(--transition), box-shadow var(--transition);
}
.btn:hover { filter: brightness(1.06); box-shadow: 0 4px 20px rgba(0,0,0,0.12); opacity: 1; }
.btn-primary { background: var(--teal); color: var(--ink); }
.btn-secondary {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Hero */
.hero-route {
  position: relative;
  min-height: 96vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0;
  overflow: hidden;
}
.hero-route__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-route__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,21,38,0.92) 0%, rgba(14,21,38,0.55) 50%, rgba(14,21,38,0.75) 100%);
  z-index: 1;
}
.hero-route__eyebrow-row {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7rem 4vw 1rem;
  border-bottom: 1px solid var(--teal);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}
.hero-route__eyebrow-row span:last-child { color: var(--teal); font-weight: 600; }
.hero-route__content {
  position: relative;
  z-index: 2;
  padding: 3rem 4vw 4rem;
  width: 100%;
  max-width: none;
}
.hero-route__content h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 1.5rem;
  max-width: none;
}
.hero-route__content h1 em {
  font-style: normal;
  color: var(--teal);
}
.hero-route__lead {
  font-size: 1.1rem;
  max-width: 560px;
  opacity: 0.85;
  line-height: 1.7;
}
.hero-route__trust {
  position: relative;
  z-index: 2;
  padding: 1rem 4vw;
  border-top: 1px solid rgba(138,148,166,0.35);
  font-size: 12px;
  color: var(--steel);
  letter-spacing: 0.02em;
}

/* Route line */
.route-line {
  height: 1px;
  background: var(--teal);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s ease;
}
.js .route-line.is-drawn { transform: scaleX(1); }

/* Sections */
.section { padding: var(--pad-section) 0; }
.section-header { margin-bottom: 3rem; max-width: 640px; }
.section-header p { margin-top: 1rem; opacity: 0.85; }

/* About spotlight — index */
.about-spotlight {
  position: relative;
  overflow: hidden;
  padding-bottom: var(--pad-section);
}
.about-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(138,148,166,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138,148,166,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 55%);
  pointer-events: none;
}
.about-spotlight__inner {
  display: grid;
  grid-template-columns: 1fr min(44vw, 540px);
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.about-spotlight__content {
  padding: var(--pad-section) 4vw var(--pad-section) max(4vw, calc((100vw - var(--max-w)) / 2 + 4vw));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-spotlight__content h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  max-width: 14ch;
  margin-top: 0.75rem;
}
.about-spotlight__rule {
  width: 120px;
  margin: 1.75rem 0;
  transform: scaleX(1);
}
.about-spotlight__lead {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 52ch;
  opacity: 0.9;
}
.about-spotlight__badges {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.about-spotlight__badges li {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(45, 190, 154, 0.45);
  color: var(--ink);
  background: rgba(45, 190, 154, 0.08);
  border-radius: var(--radius);
}
.about-spotlight__media {
  position: relative;
  margin: 0;
  min-height: 420px;
}
.about-spotlight__media::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: -1px;
  width: 3px;
  height: calc(100% - 4rem);
  background: var(--teal);
  z-index: 2;
}
.about-spotlight__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.about-spotlight__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--porcelain);
  background: linear-gradient(transparent, rgba(14, 21, 38, 0.88));
}
.about-spotlight__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: calc(var(--pad-section) * 0.65);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(138, 148, 166, 0.3);
}
.about-point {
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(138, 148, 166, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(14, 21, 38, 0.04);
}
.about-point__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 1rem;
}
.about-point h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}
.about-point p {
  font-size: 0.92rem;
  line-height: 1.65;
  opacity: 0.88;
}
.about-spotlight__quote {
  margin: 2.5rem 0 0;
  padding: 2rem 2rem 2rem 2.25rem;
  border-left: 3px solid var(--teal);
  background: rgba(14, 21, 38, 0.03);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 880px;
}
.about-spotlight__quote p { margin: 0; opacity: 0.92; }

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: var(--pad-section) 0;
  border-top: 1px solid rgba(138,148,166,0.25);
  border-bottom: 1px solid rgba(138,148,166,0.25);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat-label { margin-top: 0.5rem; font-size: 0.9rem; opacity: 0.8; }

/* Pillars grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.pillar-card {
  padding: 2rem 1.5rem;
  border: 1px solid rgba(138,148,166,0.35);
  border-radius: var(--radius);
}
.pillar-card h3 { margin-bottom: 0.75rem; color: var(--teal); }

/* Method block */
.method-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.method-steps { list-style: none; padding: 0; counter-reset: step; }
.method-steps li {
  counter-increment: step;
  padding: 1.25rem 0 1.25rem 3.5rem;
  position: relative;
  border-bottom: 1px solid rgba(243,245,249,0.12);
}
.method-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}

/* Program cards */
.programs-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.program-card {
  padding: 2rem;
  border: 1px solid rgba(138,148,166,0.35);
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--porcelain);
}
.program-card .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  margin-bottom: 1rem;
  display: block;
}

/* Photo band */
.photo-band {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
}
.photo-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-band__overlay {
  position: relative;
  z-index: 1;
  padding: 3rem;
  background: linear-gradient(90deg, rgba(14,21,38,0.88) 0%, rgba(14,21,38,0.4) 100%);
  width: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
}
.photo-band__text { max-width: 480px; }

/* Two column editorial */
.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.editorial-split img { border-radius: var(--radius); }

/* FAQ */
.faq-list { max-width: 780px; }
.faq-item {
  border-bottom: 1px solid rgba(138,148,166,0.35);
  padding: 1.5rem 0;
}
.faq-item h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.faq-item p { opacity: 0.9; }

/* CTA band */
.cta-band {
  text-align: center;
  padding: var(--pad-section) 2rem;
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { max-width: 520px; margin: 0 auto 2rem; opacity: 0.9; }

/* Disclaimer box */
.disclaimer-box {
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--teal);
  background: rgba(45, 190, 154, 0.08);
  margin: 2rem 0;
  font-size: 0.92rem;
  line-height: 1.7;
}
.surface-porcelain .disclaimer-box { background: rgba(14, 21, 38, 0.04); }

/* Forms */
.form-grid { display: grid; gap: 1.25rem; max-width: 560px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9rem; }
.form-check input { margin-top: 0.25rem; flex-shrink: 0; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid rgba(138,148,166,0.35);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.service-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(138,148,166,0.25);
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card__media img {
  transform: scale(1.03);
}
.service-card__body {
  padding: 2rem 2rem 2.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card__body h2 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  margin-bottom: 0.85rem;
}
.service-card__body p {
  font-size: 0.94rem;
  line-height: 1.65;
  opacity: 0.9;
}
.service-card .price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal);
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 1.1rem;
}
.service-card__note {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  opacity: 0.75;
  line-height: 1.55;
}
@media (prefers-reduced-motion: reduce) {
  .service-card:hover .service-card__media img { transform: none; }
}

/* Program full page */
.program-full {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(138,148,166,0.25);
}
.program-full .num-large {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}

/* Legal prose */
.legal-prose { max-width: 780px; }
.legal-prose h2 { margin: 2.5rem 0 1rem; font-size: 1.35rem; }
.legal-prose h3 { margin: 1.5rem 0 0.75rem; font-size: 1.1rem; }
.legal-prose p, .legal-prose li { margin-bottom: 1rem; }
.legal-prose ul { margin-bottom: 1.5rem; }

/* Contact info block */
.contact-block {
  padding: 2rem;
  border: 1px solid rgba(138,148,166,0.35);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.contact-block dl { display: grid; gap: 1rem; }
.contact-block dt { font-weight: 600; font-size: 0.85rem; color: var(--steel); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-block dd { margin: 0; }

/* Page hero (inner pages) */
.page-hero {
  padding: 8rem 0 4rem;
  border-bottom: 1px solid rgba(138,148,166,0.2);
}
.page-hero h1 { margin-top: 1rem; }

/* Footer */
.site-footer {
  padding: 4rem 0 2rem;
  font-size: 0.88rem;
  line-height: 1.7;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.logo-footer {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  text-transform: lowercase;
  color: inherit;
}
.logo-footer::first-letter {
  text-transform: uppercase;
}
.footer-brand .logo-footer {
  margin-bottom: 1rem;
  display: block;
}
.footer-nav { list-style: none; padding: 0; }
.footer-nav li { margin-bottom: 0.5rem; }
.footer-nav a { text-decoration: none; opacity: 0.85; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.footer-disclaimer {
  padding-top: 2rem;
  border-top: 1px solid rgba(138,148,166,0.25);
  font-size: 0.82rem;
  opacity: 0.75;
  margin-bottom: 1.5rem;
}
.footer-copy { font-size: 0.8rem; opacity: 0.6; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.5rem 2rem;
  background: var(--ink);
  color: var(--porcelain);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-inner {
  width: min(var(--max-w), 92vw);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-text { flex: 1; min-width: 280px; font-size: 0.9rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cookie-actions .btn { padding: 0.6rem 1.25rem; font-size: 0.85rem; }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(14,21,38,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.cookie-modal.is-open { display: flex; }
.cookie-modal__box {
  background: var(--porcelain);
  color: var(--ink);
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  border-radius: var(--radius);
  max-height: 90vh;
  overflow-y: auto;
}
.cookie-modal__box h2 { margin-bottom: 1rem; font-size: 1.25rem; }
.cookie-option { margin: 1rem 0; padding: 1rem; border: 1px solid rgba(138,148,166,0.35); border-radius: var(--radius); }
.cookie-option label { display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer; }
.cookie-option input:disabled { opacity: 0.5; }

/* Reveal animation */
.js .reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .js .reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(16px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transition: none; }
  .route-line { transform: scaleX(1); transition: none; }
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
}
.error-page h1 { margin-bottom: 1rem; }

/* Responsive */
@media (max-width: 960px) {
  .about-spotlight__inner { grid-template-columns: 1fr; }
  .about-spotlight__content {
    padding: var(--pad-section) 4vw 2rem;
  }
  .about-spotlight__content h2 { max-width: none; }
  .about-spotlight__media { min-height: 320px; }
  .about-spotlight__media img { min-height: 320px; }
  .about-spotlight__points { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-preview { grid-template-columns: 1fr; }
  .method-block, .editorial-split { grid-template-columns: 1fr; gap: 2rem; }
  .stats-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .program-full { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-route { min-height: 80vh; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--porcelain);
    color: var(--ink);
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }
  .main-nav.is-open { display: flex; }
  .site-header.is-scrolled .main-nav,
  .site-header--solid .main-nav { background: var(--porcelain); }
  .main-nav .nav-link { color: var(--ink); }
  .pillars-grid { grid-template-columns: 1fr; }
}
