@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garant:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --mauve: #EDE7E3;
  --navy: #12335D;
  --gold: #C8A84B;
  --white: #FFFFFF;
  --navy-light: #1a4475;
  --plum: #5A4080;
  --lavender: #CDC2DA;
  --lavender-light: #F2EEF6;
  --rose: #D2C3C6;
  --text-muted: #5a6e85;
  --mauve-dark: #ddd5cf;
  --serif: 'Cormorant Garant', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--navy);
  background: var(--mauve);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: 9.5rem;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

/* Highlighted landing header when arriving on a page */
.landing-header {
  font-weight: 700;
  transition: transform 180ms ease, color 180ms ease;
  color: var(--navy);
}

p { margin-bottom: 1.2rem; font-size: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0.25rem;
}

.container--narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 0.25rem;
}

/* Breathing room at the screen edge on phones and small tablets */
@media (max-width: 960px) {
  .container,
  .container--narrow {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .container,
  .container--narrow {
    padding: 0 1.25rem;
  }
}

.section {
  padding: 4.5rem 0;
}

.section--white {
  background: var(--white);
}

.section--navy {
  background: var(--navy);
  color: var(--mauve);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy p { color: var(--mauve); }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--mauve);
  border-bottom: 1px solid var(--mauve-dark);
  padding: 1.25rem 0;
}

.nav__inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 4rem;
}

.nav__logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin-right: 0.35rem;
  flex-shrink: 0;
}

.nav__logo img {
  display: block;
  height: 84px;
  width: auto;
}

.nav__logo-sub {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.85;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-left: 0;
  flex-wrap: wrap;
}

.nav__links a {
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--navy);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.nav__links a:hover { opacity: 1; color: var(--plum); }

.nav__links a.active { opacity: 1; }

/* Make banner links bolder only when the page is active/landed on */
.nav__links a.active {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav__cta {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  opacity: 1 !important;
  border: 1px solid var(--gold);
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s !important;
}

.nav__cta.active {
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
}

.nav__cta:hover {
  background: var(--navy) !important;
  color: var(--mauve) !important;
}

.nav__cta--mobile { display: none; }

/* Mobile nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.3s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--mauve-dark);
}

.nav__mobile a {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--navy);
  opacity: 0.8;
  font-weight: 400;
}

.nav__mobile a.active {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav__mobile.open { display: flex; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 0.85rem 2rem;
  border: 1px solid var(--gold);
  color: var(--navy);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: var(--navy);
  color: var(--mauve);
  border-color: var(--navy);
}

.btn--filled {
  background: var(--navy);
  color: var(--mauve);
  border-color: var(--navy);
}

.btn--filled:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}

.btn:disabled,
.btn.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Divider ────────────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
  margin: 3rem 0;
}

.divider--short {
  width: 60px;
  height: 1.5px;
  background: var(--plum);
  opacity: 0.8;
  margin: 1.5rem 0;
}

/* ── Star motifs (scroll breaks) ────────────────────────────── */
.motif {
  display: flex;
  justify-content: center;
  padding: 1.25rem 0;
}

.motif svg { display: block; }

/* Keep space above and below a motif equal by tightening the
   adjacent sections' padding on the motif side */
section:has(+ .motif),
.section:has(+ .motif) { padding-bottom: 0; }
section:has(+ .motif) p:last-child { margin-bottom: 0; }
.motif + section,
.motif + .section { padding-top: 1rem; }

/* ── Eyebrow labels ─────────────────────────────────────────── */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 0.9rem;
}

/* ── Icon row (line-art section indicators) ─────────────────── */
.icon-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  text-align: center;
}

.icon-row svg {
  display: block;
  margin: 0 auto 0.9rem;
}

.icon-row .icon-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.75;
}

@media (max-width: 480px) {
  .icon-row { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Split layout (copy beside illustration) ────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: center;
}

.split--flip {
  grid-template-columns: 320px 1fr;
}

.illo {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo mark watermark in the footer (renders on every page) */
.footer--mark {
  position: relative;
  overflow: hidden;
}

.footer--mark::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: url('logo-mark.png') no-repeat center / contain;
  filter: invert(1);
  opacity: 0.16;
  pointer-events: none;
}

.footer--mark > * { position: relative; }

@media (max-width: 768px) {
  .footer--mark::before { width: 200px; height: 200px; opacity: 0.13; }
}

/* Hero with logo mark watermark */
.brand-mark {
  position: relative;
}

.brand-mark::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: url('logo-mark.png') no-repeat center / contain;
  opacity: 0.09;
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 600px) {
  .brand-mark::before { width: 200px; height: 200px; opacity: 0.07; }
}

/* Wide hero illustration band */
.hero-illo {
  max-width: 1100px;
  margin: 0.5rem auto 0;
  padding: 0 1rem;
}

.hero-illo svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .hero-illo { margin-top: 0.25rem; }
}

.illo--top { align-self: start; margin-top: 1rem; }

/* Credentials list (About hero) */
.credentials {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.5rem;
  max-width: 520px;
}

.credentials li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  opacity: 0.8;
}

.credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 4px;
  height: 4px;
  background: var(--plum);
  border-radius: 50%;
}

/* Photo beside the homepage About teaser */
.about-teaser-photo img {
  width: 100%;
  max-width: 320px;
  border-radius: 2px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .about-teaser-photo { order: -1; }
  .about-teaser-photo img { max-width: 240px; }
}

.illo svg {
  width: 100%;
  max-width: 340px;
  height: auto;
}

@media (max-width: 768px) {
  .split, .split--flip { grid-template-columns: 1fr; gap: 2rem; }
  .split .illo { order: -1; }
  .illo svg { max-width: 250px; }
}

/* ── Statement band ─────────────────────────────────────────── */
.statement-band {
  background: var(--navy);
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.statement-band p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.45;
  color: var(--mauve);
  max-width: 700px;
  margin: 0 auto;
}

.statement-band em {
  color: var(--lavender);
}

.statement-band svg {
  display: block;
  margin: 0 auto 1.25rem;
}

/* ── Pillars ────────────────────────────────────────────────── */
.pillars {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pillar {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.7;
}

.pillar-dot {
  color: var(--gold);
  font-size: 0.9rem;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 680px;
}

.hero p {
  font-size: 1.05rem;
  max-width: 500px;
  opacity: 0.85;
  margin-bottom: 2.5rem;
}

/* ── How It Works ───────────────────────────────────────────── */
.steps {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.step__number {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--plum);
  margin-bottom: 0.5rem;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* ── Bullet List ────────────────────────────────────────────── */
.bullet-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.bullet-list li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.65;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--mauve-dark);
  padding: 1.75rem 0;
}

.faq-item:first-child { border-top: 1px solid var(--mauve-dark); }

.faq-question {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--plum);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.75;
  opacity: 0.85;
}

.faq-item.open .faq-answer { display: block; }

/* ── Form ───────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--mauve-dark);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
}

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

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

.form-group--radio { display: flex; gap: 2rem; }
.form-group--radio label { text-transform: none; font-size: 0.9rem; letter-spacing: 0; display: flex; align-items: center; gap: 0.5rem; font-weight: 300; }

.crisis-gate {
  background: var(--lavender-light);
  border: 1px solid var(--lavender);
  border-left: 3px solid var(--plum);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.crisis-gate .form-group { margin-bottom: 0; }
.crisis-gate-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--navy);
  opacity: 0.6;
  margin-bottom: 0.75rem;
}

.crisis-message {
  display: none;
  background: #fff8f0;
  border: 1px solid #e8c97a;
  border-radius: 2px;
  padding: 1.25rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* ── About ──────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.about-photo {
  position: sticky;
  top: 6rem;
}

.about-photo img {
  width: 100%;
  border-radius: 2px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 4rem 0 2.5rem;
}

.footer p, .footer a {
  color: var(--mauve);
  opacity: 0.7;
  font-size: 0.85rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.footer__brand {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve) !important;
  opacity: 1 !important;
  margin-bottom: 0.5rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__bottom {
  border-top: 1px solid rgba(237,231,227,0.15);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  opacity: 0.5;
  color: var(--mauve);
}

/* ── CTA Section ────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 480px;
  margin: 0 auto 2rem;
  opacity: 0.8;
}

/* ── Who It's For ───────────────────────────────────────────── */
.not-fit-box {
  background: var(--white);
  border-radius: 2px;
  padding: 2.5rem;
  margin-top: 1rem;
}

@media (max-width: 480px) {
  .not-fit-box { padding: 1.75rem 1.5rem; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  body { padding-top: 7.5rem; }

  .nav { padding: 0.75rem 0; }
  .nav__logo img { height: 52px; }
  .nav__logo-sub { font-size: 0.5rem; letter-spacing: 0.22em; }
  .nav__inner { padding: 0 1.25rem; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; order: 2; margin-left: auto; }

  .nav__cta--mobile {
    display: inline-block;
    order: 3;
    margin-left: 0.75rem;
    padding: 0.45rem 0.9rem;
    white-space: nowrap;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-photo {
    position: static;
    max-width: 280px;
  }

  .hero { padding-top: 1.5rem; padding-bottom: 3.5rem; }
  .section { padding: 3.5rem 0; }

  .footer__inner { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .pillars { gap: 0.5rem; }
  .form-group--radio { flex-direction: column; gap: 0.75rem; }
}
