:root {
  --ink: #f8f5ff;
  --muted: rgba(235, 228, 255, 0.72);
  --deep: #09031b;
  --deep-alt: #0f0529;
  --violet: #6f35df;
  --violet-bright: #8c51f3;
  --gold: #f0d060;
  --lavender: #f4efff;
  --lavender-ink: #32156d;
  --dark-border: rgba(159, 116, 226, 0.25);
  --light-border: rgba(80, 36, 157, 0.18);
  --font-display: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: Inter, Montserrat, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--deep); color: var(--ink); font-family: var(--font-body); }
button, a { font: inherit; }
button { border: 0; }

.program-page { overflow: visible; background: var(--deep); }
.section { position: relative; padding-block: 72px; scroll-margin-top: 102px; }
.section-dark { color: var(--ink); background: var(--deep); }
.section-dark:nth-of-type(3n) { background: var(--deep-alt); }
.section-light { color: var(--lavender-ink); background: var(--lavender); }
.page-container, .page-grid { width: min(1240px, calc(100% - 128px)); margin-inline: auto; }
.page-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.narrow-container { width: min(1060px, calc(100% - 128px)); margin-inline: auto; }

.program-page h1, .program-page h2, .program-page h3 { margin: 0; font-family: var(--font-display); }
.program-page h1 { max-width: 100%; font-size: clamp(48px, 4.6vw, 78px); font-weight: 800; line-height: 1; letter-spacing: 0.008em; }
.program-page h2 { max-width: 15ch; font-size: clamp(32px, 3vw, 48px); font-weight: 800; line-height: 1.08; letter-spacing: 0.01em; }
.program-page h3 { font-size: clamp(23px, 1.7vw, 30px); line-height: 1.12; letter-spacing: 0.005em; }
.program-page p { max-width: 66ch; margin: 24px 0 0; color: var(--muted); font-size: clamp(17px, 1.25vw, 19px); line-height: 1.62; }
.section-light p { color: rgba(50, 21, 109, 0.76); }
.program-page .lead { font-size: clamp(19px, 1.45vw, 22px); line-height: 1.55; }
.eyebrow { display: block; margin-bottom: 24px; color: var(--gold); font-size: 13px; font-weight: 800; line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; }
.section-light .eyebrow { color: #652ad4; }
.wide-heading h2 { max-width: 18ch; }
.center-heading { display: grid; justify-items: center; text-align: center; }
.center-heading h2 { max-width: 18ch; }
.center-heading p { margin-inline: auto; }
.section-heading .lead { margin-top: 24px; }
.statement { color: var(--gold) !important; font-weight: 750; }

.split-5-7 > :first-child { grid-column: 1 / span 5; }
.split-5-7 > :last-child { grid-column: 6 / span 7; }
.split-4-8 > :first-child { grid-column: 1 / span 4; }
.split-4-8 > :last-child { grid-column: 5 / span 8; }
.split-7-5 > :first-child { grid-column: 1 / span 7; }
.split-7-5 > :last-child { grid-column: 8 / span 5; }

.hero-section { min-height: 600px; max-height: 700px; padding-block: 24px; background: radial-gradient(circle at 80% 46%, rgba(111, 53, 223, 0.2), transparent 32%), var(--deep); }
.hero-grid { min-height: 552px; align-items: center; }
.hero-copy { grid-column: 1 / span 7; }
.hero-copy .eyebrow { margin-bottom: 12px; }
.hero-copy .lead { max-width: 58ch; }
.hero-copy > p { margin-top: 12px; }
.hero-copy > p:not(.lead) { max-width: 61ch; }
.hero-copy .button-row { margin-top: 12px; }
.hero-copy .button { min-height: 54px; }
.hero-visual { position: relative; grid-column: 8 / span 5; min-height: 450px; display: grid; align-content: center; justify-items: center; overflow: hidden; border: 1px solid var(--dark-border); border-radius: 24px; background: radial-gradient(circle at 50% 46%, rgba(140, 81, 243, 0.26), transparent 36%), rgba(255,255,255,0.015); }
.hero-word { color: rgba(248, 245, 255, 0.08); font-family: var(--font-display); font-size: clamp(62px, 7vw, 116px); font-weight: 800; letter-spacing: -0.05em; }
.visual-note { margin-top: 24px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; }
.orbit { position: absolute; width: 75%; aspect-ratio: 1; border: 1px solid rgba(240, 208, 96, 0.18); border-radius: 50%; pointer-events: none; }
.orbit-one { transform: rotate(28deg) scaleY(0.42); }
.orbit-two { width: 52%; border-color: rgba(159, 116, 226, 0.22); transform: rotate(-24deg) scaleY(0.62); }
.comet { position: absolute; top: 18%; right: 14%; width: 72px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); transform: rotate(38deg); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; padding: 0 28px; border-radius: 999px; cursor: pointer; color: #fff; font-family: var(--font-display); font-size: 13px; font-weight: 800; letter-spacing: 0.06em; transition: transform .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); outline: none; }
.button-primary { background: linear-gradient(135deg, var(--violet-bright), #652ad4); box-shadow: 0 14px 30px rgba(101,42,212,.24); }
.button-secondary { border: 1px solid var(--dark-border); background: transparent; }

.section-copy p:first-of-type { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chips span { min-height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--dark-border); border-radius: 999px; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .08em; }

.journey-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.journey-columns ol { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.journey-columns li { min-height: 68px; display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--dark-border); }
.journey-columns li span, .card-index { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.journey-columns li strong { font-family: var(--font-display); font-size: 19px; line-height: 1.15; }
.journey-result { max-width: none !important; margin-top: 32px !important; color: var(--ink) !important; font-weight: 700; }

.formats-section { background: linear-gradient(180deg, var(--deep), #12062d); }
.formats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; margin-top: 32px; }
.formats-grid div { min-height: 68px; display: grid; grid-template-columns: 32px 1fr; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--dark-border); color: var(--ink); font-size: 18px; line-height: 1.35; }
.formats-grid span { color: var(--gold); font-size: 11px; font-weight: 800; }

.skills-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.skills-grid ul { min-height: 330px; margin: 0; padding: 36px; border: 1px solid var(--light-border); border-radius: 24px; list-style: none; }
.skills-grid li { padding-block: 12px; border-bottom: 1px solid var(--light-border); font-family: var(--font-display); font-size: 20px; font-weight: 750; line-height: 1.2; }
.skills-grid li:last-child { border-bottom: 0; }
.section-footer-statement { max-width: none !important; margin-top: 32px !important; color: var(--lavender-ink) !important; font-family: var(--font-display); font-size: clamp(23px, 1.8vw, 30px) !important; font-weight: 800; text-align: center; }

.balance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.info-card, .safety-card { min-height: 300px; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--dark-border); border-radius: 24px; background: linear-gradient(145deg, rgba(44,20,94,.76), rgba(13,4,40,.9)); }
.info-card h3, .safety-card h3 { margin-top: 24px; }
.info-card p, .safety-card p { margin-top: 24px; }
.text-button { min-height: 44px; width: max-content; margin-top: auto; padding: 0; cursor: pointer; color: var(--gold); background: transparent; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.text-button:hover, .text-button:focus-visible { color: #fff; outline: none; }
.balance-summary { display: grid; gap: 12px; margin-top: 32px; text-align: center; }
.balance-summary strong { font-family: var(--font-display); font-size: 34px; }
.balance-summary span { color: var(--muted); font-size: 18px; }

.quote-card { min-height: 360px; display: grid; place-content: center; margin: 0; padding: 40px; border: 1px solid rgba(240,208,96,.25); border-radius: 24px; color: var(--ink); background: radial-gradient(circle at 50% 50%, rgba(111,53,223,.22), transparent 60%); font-family: var(--font-display); font-size: clamp(34px, 3.5vw, 54px); font-weight: 800; line-height: 1.08; letter-spacing: 0.008em; }

.creative-title blockquote { margin: 32px 0 0; color: var(--gold); font-family: var(--font-display); font-size: 23px; font-weight: 750; line-height: 1.4; }
.creative-lines { display: grid; gap: 12px; }
.creative-lines p { max-width: none; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--dark-border); color: var(--ink); font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.25; }

.adult-lines { color: var(--ink) !important; font-family: var(--font-display); font-size: 25px !important; font-weight: 750; }
.image-placeholder { aspect-ratio: 4 / 5; display: grid; place-content: center; justify-items: center; border: 1px solid var(--dark-border); border-radius: 24px; background: radial-gradient(circle, rgba(111,53,223,.22), transparent 54%), rgba(255,255,255,.02); }
.image-placeholder span { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.image-placeholder small { margin-top: 12px; color: var(--muted); }

.atmosphere-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.atmosphere-grid div { min-height: 170px; padding: 24px; border: 1px solid var(--light-border); border-radius: 24px; font-family: var(--font-display); font-size: 19px; font-weight: 750; line-height: 1.3; }
.atmosphere-grid span { display: block; margin-bottom: 24px; color: #652ad4; font-size: 12px; }

.community-content { width: min(960px, calc(100% - 128px)); margin-inline: auto; }
.community-content h2 { max-width: 16ch; }
.community-content blockquote { margin: 32px 0 0; color: var(--gold); font-family: var(--font-display); font-size: clamp(38px, 3.8vw, 58px); font-weight: 800; line-height: 1.05; letter-spacing: 0; }

.safety-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.safety-card { min-height: 300px; }
.location-section { padding-top: 0; }
.location-section h3 { margin-bottom: 24px; }
.checklist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--dark-border); }
.checklist span { min-height: 44px; display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.checklist span::before { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--gold); content: ""; }

.quality-copy { margin-top: 32px; }
.quality-copy p { max-width: 66ch; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; border-block: 1px solid rgba(240,208,96,.24); }
.stats-grid div { min-height: 220px; display: grid; align-content: center; justify-items: center; padding: 32px; border-right: 1px solid var(--dark-border); text-align: center; }
.stats-grid div:last-child { border-right: 0; }
.stats-grid strong { color: var(--gold); font-family: var(--font-display); font-size: clamp(56px, 6vw, 92px); line-height: 1; }
.stats-grid span { margin-top: 12px; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.comfort-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.comfort-grid div { min-height: 112px; display: grid; align-content: center; justify-items: start; padding: 24px; border: 1px solid var(--light-border); border-radius: 24px; color: var(--lavender-ink); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.comfort-grid i { width: 28px; height: 28px; margin-bottom: 12px; border: 1px solid #652ad4; border-radius: 50%; background: radial-gradient(circle, rgba(101,42,212,.28) 0 24%, transparent 26%); }

.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.audience-grid > div { padding: 36px; border: 1px solid var(--dark-border); border-radius: 24px; }
.audience-grid p { max-width: none; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--dark-border); color: var(--ink); font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.audience-grid p:last-child { border-bottom: 0; }
.audience-footer { max-width: none !important; margin-top: 32px !important; color: var(--ink) !important; font-size: 22px !important; text-align: center; }
.audience-footer strong { color: var(--gold); }

.final-section { background: radial-gradient(circle at 50% 45%, rgba(111,53,223,.25), transparent 42%), var(--deep); text-align: center; }
.final-content { width: min(840px, calc(100% - 128px)); margin-inline: auto; }
.final-content h2 { max-width: none; }
.final-content p { margin-inline: auto; }
.final-lines { color: var(--ink) !important; font-family: var(--font-display); font-size: 28px !important; font-weight: 750; }
.final-content blockquote { margin: 32px 0; color: var(--gold); font-family: var(--font-display); font-size: clamp(30px, 3vw, 46px); font-weight: 800; }
.centered-buttons { justify-content: center; }

.program-dialog[hidden] { display: none; }
.program-dialog { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; }
.dialog-backdrop { position: absolute; inset: 0; padding: 0; border: 0; background: rgba(5,2,15,.84); backdrop-filter: blur(10px); }
.dialog-panel { position: relative; z-index: 1; width: min(100%, 620px); max-height: calc(100dvh - 48px); overflow: auto; padding: 32px; border: 1px solid rgba(240,208,96,.34); border-radius: 24px; color: var(--ink); background: linear-gradient(145deg,#1b0c3f,#0b051d); box-shadow: 0 28px 90px rgba(0,0,0,.52); }
.dialog-panel:focus { outline: none; }
.dialog-panel h2 { max-width: 12ch; padding-right: 48px; }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 1px solid var(--dark-border); border-radius: 50%; cursor: pointer; color: #fff; background: transparent; font-size: 28px; }
.dialog-close:hover, .dialog-close:focus-visible { border-color: var(--gold); outline: none; }
.dialog-content { margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.dialog-content p { margin-top: 0; }
.dialog-content ul { display: grid; gap: 12px; margin: 24px 0 0; padding-left: 20px; }
.camp-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.camp-links > a { min-height: 72px; display: grid; align-content: center; padding: 20px; border: 1px solid var(--dark-border); border-radius: 20px; color: #fff; font-family: var(--font-display); font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.camp-links > a:hover, .camp-links > a:focus-visible { border-color: var(--gold); outline: none; }
.season-links { grid-column: 1 / -1; display: grid; gap: 12px; padding-top: 12px; }
.season-links strong { color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.season-links div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.season-links a { min-height: 54px; display: grid; place-items: center; border: 1px solid var(--dark-border); border-radius: 999px; color: #fff; text-decoration: none; }
body.dialog-open { overflow: hidden; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1499px) {
  .page-container, .page-grid { width: min(1240px, calc(100% - 128px)); }
  .narrow-container { width: min(1060px, calc(100% - 128px)); }
}

@media (max-width: 1279px) {
  .page-container, .page-grid { width: calc(100% - 96px); }
  .page-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .narrow-container, .community-content, .final-content { width: calc(100% - 96px); }
  .split-5-7 > :first-child, .split-4-8 > :first-child, .split-7-5 > :first-child { grid-column: 1 / span 3; }
  .split-5-7 > :last-child, .split-4-8 > :last-child, .split-7-5 > :last-child { grid-column: 4 / span 5; }
  .hero-copy { grid-column: 1 / span 5; }
  .hero-visual { grid-column: 6 / span 3; min-height: 420px; }
  .program-page h1 { font-size: clamp(48px, 4.8vw, 62px); }
  .program-page h2 { font-size: clamp(32px, 3.4vw, 44px); }
}

@media (max-width: 1023px) {
  .section { padding-block: 64px; }
  .page-container, .page-grid { width: calc(100% - 72px); }
  .narrow-container, .community-content, .final-content { width: calc(100% - 72px); }
  .page-grid { row-gap: 32px; }
  .split-5-7 > :first-child, .split-4-8 > :first-child, .split-7-5 > :first-child { grid-column: 1 / span 3; }
  .split-5-7 > :last-child, .split-4-8 > :last-child, .split-7-5 > :last-child { grid-column: 4 / span 5; }
  .hero-section { max-height: none; }
  .hero-copy { grid-column: 1 / span 5; }
  .hero-visual { grid-column: 6 / span 3; min-height: 360px; }
  .skills-grid, .balance-grid { grid-template-columns: 1fr; }
  .skills-grid ul { min-height: 0; }
  .atmosphere-grid { grid-template-columns: repeat(2, 1fr); }
  .atmosphere-grid div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .section { padding-block: 56px; }
  .page-container, .page-grid, .narrow-container, .community-content, .final-content { width: calc(100% - 40px); }
  .page-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .split-5-7 > :first-child, .split-5-7 > :last-child, .split-4-8 > :first-child, .split-4-8 > :last-child, .split-7-5 > :first-child, .split-7-5 > :last-child, .hero-copy, .hero-visual { grid-column: 1; }
  .program-page h1 { max-width: 100%; font-size: 36px; line-height: 1.04; }
  .program-page h2 { max-width: 18ch; font-size: 34px; line-height: 1.08; }
  .hero-section { min-height: 0; padding-block: 56px; }
  .hero-grid { min-height: 0; }
  .hero-visual { min-height: 300px; }
  .journey-columns, .formats-grid, .skills-grid, .balance-grid, .safety-grid, .stats-grid, .comfort-grid, .audience-grid { grid-template-columns: 1fr; }
  .formats-grid { gap: 0; }
  .info-card, .safety-card { min-height: 280px; padding: 24px; }
  .quote-card { min-height: 300px; padding: 24px; }
  .skills-grid ul, .audience-grid > div { padding: 24px; }
  .stats-grid div { min-height: 160px; border-right: 0; border-bottom: 1px solid var(--dark-border); }
  .stats-grid div:last-child { border-bottom: 0; }
  .checklist { grid-template-columns: repeat(2, 1fr); }
  .atmosphere-grid { grid-template-columns: 1fr; }
  .atmosphere-grid div:last-child { grid-column: auto; }
  .program-dialog { padding: 12px; }
  .dialog-panel { max-height: calc(100dvh - 24px); padding: 24px; }
  .camp-links { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .page-container, .page-grid, .narrow-container, .community-content, .final-content { width: calc(100% - 32px); }
  .program-page h1 { font-size: 34px; }
  .program-page h2 { font-size: 32px; }
  .button-row { display: grid; }
  .button { width: 100%; }
  .hero-visual { min-height: 280px; }
  .checklist { grid-template-columns: 1fr; }
  .season-links div { grid-template-columns: 1fr; }
}

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