:root {
  --forest-950: #0b2822;
  --forest-900: #10352d;
  --forest-800: #173f35;
  --forest-700: #225a4b;
  --sage-100: #e8efe9;
  --cream: #fffaf0;
  --paper: #f6f0e3;
  --gold: #f4c45f;
  --gold-deep: #c88e20;
  --navy: #20344a;
  --ink: #18231f;
  --muted: #58645f;
  --white: #ffffff;
  --line: rgba(23, 63, 53, 0.16);
  --shadow: 0 22px 60px rgba(12, 40, 34, 0.13);
  --radius: 1.25rem;
  --shell: min(1180px, calc(100vw - 2.5rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 1000; transform: translateY(-160%);
  padding: .75rem 1rem; border-radius: .5rem; background: var(--white); color: var(--forest-900);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white);
  border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.site-header.scrolled {
  color: var(--forest-950); background: rgba(255, 250, 240, .96); border-color: var(--line);
  box-shadow: 0 8px 30px rgba(12, 40, 34, .08); backdrop-filter: blur(14px);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { width: 42px; color: currentColor; flex: 0 0 auto; }
.brand strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; line-height: 1; letter-spacing: .02em; }
.brand small { display: block; margin-top: .28rem; font-size: .65rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .78; }
.site-nav { display: flex; align-items: center; gap: 1.7rem; }
.site-nav a { text-decoration: none; font-size: .88rem; font-weight: 750; }
.site-nav a:not(.nav-cta):hover { color: var(--gold); }
.site-header.scrolled .site-nav a:not(.nav-cta):hover { color: var(--forest-700); }
.nav-cta { padding: .72rem 1.05rem; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; }
.site-header.scrolled .nav-cta { color: var(--white); background: var(--forest-800); border-color: var(--forest-800); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; color: inherit; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s ease; }

.hero { min-height: 760px; height: 92vh; max-height: 920px; position: relative; display: grid; align-items: center; color: var(--white); overflow: hidden; background: var(--forest-950); }
.hero-image, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-scrim {
  background:
    linear-gradient(90deg, rgba(5, 26, 22, .94) 0%, rgba(7, 30, 25, .78) 35%, rgba(7, 30, 25, .28) 67%, rgba(7, 30, 25, .12) 100%),
    linear-gradient(0deg, rgba(8, 31, 26, .65) 0%, transparent 35%);
}
.hero-content { position: relative; z-index: 2; padding-top: 82px; }
.eyebrow { margin: 0 0 1.1rem; color: var(--gold); font-size: .76rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.green { color: var(--forest-700); }
.eyebrow.gold { color: var(--gold-deep); }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.05; letter-spacing: -.025em; }
h1 { max-width: 760px; margin-bottom: 1.35rem; font-size: clamp(4rem, 8vw, 7.6rem); font-weight: 600; }
h2 { font-size: clamp(2.6rem, 5vw, 4.7rem); font-weight: 600; }
h3 { font-size: 1.65rem; }
.hero-copy { max-width: 620px; margin: 0 0 1.8rem; font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.89); }
.hero-copy strong { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.button {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: .8rem 1.35rem;
  border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: .92rem; font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--forest-950); background: var(--gold); box-shadow: 0 12px 30px rgba(244,196,95,.18); }
.button-gold:hover { background: #ffd377; box-shadow: 0 16px 36px rgba(244,196,95,.28); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
.button-ghost:hover { background: rgba(255,255,255,.14); }
.hero-note { margin: 1.15rem 0 0; font-size: .86rem; color: rgba(255,255,255,.72); }
.image-note { position: absolute; right: 1rem; bottom: .8rem; z-index: 2; font-size: .68rem; color: rgba(255,255,255,.62); }

.quick-facts { position: relative; z-index: 5; margin-top: -1px; padding: 1.15rem 0; color: var(--white); background: var(--forest-900); }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact-grid > div { display: flex; align-items: center; gap: .85rem; padding: .65rem 1.15rem; border-right: 1px solid rgba(255,255,255,.14); }
.fact-grid > div:first-child { padding-left: 0; }
.fact-grid > div:last-child { border-right: 0; }
.fact-icon { min-width: 44px; color: var(--gold); font-family: Georgia, serif; font-size: 1.2rem; font-weight: 800; text-align: center; }
.fact-grid p { margin: 0; color: rgba(255,255,255,.72); font-size: .74rem; line-height: 1.4; }
.fact-grid strong { color: var(--white); font-size: .85rem; }

.section { padding: clamp(5rem, 9vw, 8.5rem) 0; }
.split-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.section-heading h2 { margin-bottom: 1.3rem; }
.section-heading > p:last-child { max-width: 620px; color: var(--muted); }
.intro { background: var(--cream); }
.intro-copy { font-size: 1.03rem; color: var(--muted); }
.intro-copy .lead { margin-top: 0; color: var(--ink); font-family: Georgia, serif; font-size: 1.6rem; line-height: 1.45; }
.formation-note { display: grid; gap: .35rem; margin-top: 2.1rem; padding: 1.45rem 1.5rem; border-left: 5px solid var(--gold); border-radius: 0 .8rem .8rem 0; background: var(--paper); }
.formation-note strong { color: var(--forest-800); }

.adventure { color: var(--white); background: var(--forest-950); overflow: hidden; }
.centered { max-width: 780px; margin: 0 auto 3.2rem; text-align: center; }
.centered > p:last-child { margin-inline: auto; color: rgba(255,255,255,.7); }
.adventure .eyebrow.gold { color: var(--gold); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.adventure-card { position: relative; min-height: 340px; padding: 1.6rem; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); background: rgba(255,255,255,.055); }
.adventure-card:hover { border-color: rgba(244,196,95,.45); background: rgba(255,255,255,.08); }
.card-number { position: absolute; top: 1.25rem; right: 1.35rem; color: rgba(255,255,255,.27); font-size: .74rem; font-weight: 800; }
.card-icon { display: grid; width: 64px; height: 64px; margin: 3.4rem 0 2rem; place-items: center; border-radius: 50%; color: var(--gold); background: rgba(244,196,95,.11); font-size: 1.7rem; }
.adventure-card h3 { margin-bottom: .75rem; }
.adventure-card p { margin: 0; color: rgba(255,255,255,.68); font-size: .92rem; }

.families { background: var(--paper); }
.family-layout { display: grid; grid-template-columns: 1.05fr .95fr; box-shadow: var(--shadow); }
.family-panel, .path-panel { padding: clamp(2.2rem, 5vw, 4.3rem); }
.family-panel { color: var(--white); background: var(--forest-800); border-radius: var(--radius) 0 0 var(--radius); }
.family-panel .eyebrow { color: var(--gold); }
.family-panel h2 { margin-bottom: 1.4rem; font-size: clamp(2.2rem, 4vw, 3.6rem); }
.family-panel > p:not(.eyebrow) { color: rgba(255,255,255,.76); }
.check-list { margin: 1.8rem 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: .8rem 0 .8rem 2rem; border-top: 1px solid rgba(255,255,255,.14); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.path-panel { background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; }
.path-kicker { margin: 0 0 1.3rem; color: var(--forest-700); font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.path-list { margin: 0 0 1.6rem; padding: 0; list-style: none; }
.path-list li { display: grid; grid-template-columns: 38px 1fr; gap: 1rem; padding: .9rem 0; }
.path-list li > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--forest-900); background: var(--gold); font-size: .8rem; font-weight: 900; }
.path-list strong { display: block; color: var(--forest-900); }
.path-list p { margin: .2rem 0 0; color: var(--muted); font-size: .86rem; }
.text-link { color: var(--forest-700); font-weight: 850; text-decoration-thickness: 1px; text-underline-offset: .25em; }

.faq { background: var(--cream); }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 8rem); }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; padding: 1.35rem 3rem 1.35rem 0; color: var(--forest-900); cursor: pointer; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: .35rem; top: 1.15rem; color: var(--gold-deep); font-family: system-ui; font-size: 1.65rem; font-weight: 400; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { margin: -.4rem 3rem 1.4rem 0; color: var(--muted); }

.cta-section { padding: 5rem 0; color: var(--white); background: var(--navy); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.cta-inner h2 { max-width: 800px; margin: 0; font-size: clamp(2.3rem, 5vw, 4.4rem); }
.cta-action { text-align: center; }
.cta-action p { margin: .8rem 0 0; font-size: .78rem; color: rgba(255,255,255,.75); }

.site-footer { padding: 4rem 0 1.5rem; color: rgba(255,255,255,.72); background: var(--forest-950); }
.footer-grid { display: grid; grid-template-columns: 1.6fr .6fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand { color: var(--white); }
.footer-status { max-width: 500px; margin-top: 1.2rem; font-size: .86rem; }
.footer-title { margin: 0 0 .85rem; color: var(--gold); font-size: .72rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) a { display: block; margin: .48rem 0; text-decoration: none; font-size: .88rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .7rem; }
.footer-bottom p { max-width: 620px; margin: 0; }

.legal-page { min-height: 100vh; background: var(--cream); }
.legal-header { color: var(--white); background: var(--forest-900); }
.legal-header .header-inner { min-height: 82px; }
.legal-main { width: min(800px, calc(100vw - 2.5rem)); margin: 0 auto; padding: 7rem 0; }
.legal-main h1 { color: var(--forest-900); font-size: clamp(3rem, 8vw, 5rem); }
.legal-main h2 { margin: 2.5rem 0 .8rem; color: var(--forest-800); font-size: 1.65rem; }
.legal-main p, .legal-main li { color: var(--muted); }
.legal-main .updated { color: var(--gold-deep); font-weight: 850; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem; color: var(--white); text-align: center; background: var(--forest-950); }
.error-card { max-width: 680px; }
.error-code { margin: 0; color: var(--gold); font-family: Georgia, serif; font-size: clamp(6rem, 20vw, 12rem); line-height: .8; }
.error-card h1 { margin: 1.5rem 0 1rem; font-size: clamp(2.4rem, 7vw, 4.5rem); }
.error-card p { color: rgba(255,255,255,.72); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: .8rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .fact-grid > div:nth-child(2) { border-right: 0; }
  .fact-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .family-layout, .faq-layout { grid-template-columns: 1fr; }
  .family-panel { border-radius: var(--radius) var(--radius) 0 0; }
  .path-panel { border-radius: 0 0 var(--radius) var(--radius); }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-action { text-align: left; }
}

@media (max-width: 780px) {
  :root { --shell: min(100% - 1.5rem, 1180px); }
  .header-inner { min-height: 72px; }
  .nav-toggle { display: block; position: relative; z-index: 3; cursor: pointer; }
  .site-nav {
    position: fixed; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 6rem 2rem 3rem; color: var(--white); background: var(--forest-950); transform: translateX(100%); transition: transform .25s ease;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { font-family: Georgia, serif; font-size: 1.8rem; }
  .site-nav .nav-cta { margin-top: 1rem; font-family: system-ui; font-size: .9rem; }
  .nav-open .nav-toggle { color: var(--white); }
  .nav-open .nav-toggle span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(3) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 760px; height: 100svh; max-height: none; align-items: end; }
  .hero-image { object-position: 64% center; }
  .hero-scrim { background: linear-gradient(0deg, rgba(5,26,22,.98) 0%, rgba(5,26,22,.78) 48%, rgba(5,26,22,.2) 100%); }
  .hero-content { padding: 7rem 0 3.5rem; }
  h1 { font-size: clamp(3.5rem, 17vw, 5.4rem); }
  .hero-copy { font-size: 1rem; }
  .hero-note { max-width: 90%; }
  .quick-facts { margin-top: 0; }
  .split-layout { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-grid > div, .fact-grid > div:first-child { padding: .8rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .fact-grid > div:last-child { border-bottom: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .adventure-card { min-height: 290px; }
  .family-panel, .path-panel { padding: 2rem 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
