:root {
  --green: #527e27;
  --green-dark: #40631e;
  --magenta: #963476;
  --magenta-dark: #702454;
  --ink: #29272a;
  --muted: #656166;
  --text-muted: #656166;
  --cream: #faf7f1;
  --paper: #fffdf9;
  --line: #e6e0d8;
  --shadow: 0 18px 45px rgba(52, 39, 47, .09);
}

* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.025em; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 78px;
  display: flex;
  align-items: center;
  background: rgba(255, 253, 249, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-container { display: flex; align-items: center; justify-content: space-between; }
.logo-link { flex: 0 0 auto; }
.logo-link img { width: 120px; height: 54px; object-fit: contain; }
.nav-menu, .footer-nav { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.nav-link, .footer-link { font-size: 14px; font-weight: 700; text-decoration: none; }
.nav-link { position: relative; padding: 27px 0 25px; }
.nav-link::after { position: absolute; right: 0; bottom: 19px; left: 0; height: 2px; content: ""; background: var(--magenta); transform: scaleX(0); transition: transform .18s ease; }
.nav-link:hover, .nav-link.active { color: var(--magenta); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.cta-btn, .btn-secondary, .form-submit {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 10px 22px;
  font: 700 15px/1.35 "Trebuchet MS", Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.cta-btn, .form-submit { background: var(--green); color: #fff !important; }
.cta-btn:hover, .form-submit:hover { background: var(--green-dark); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(82, 126, 39, .2); }
.btn-secondary { border-color: var(--magenta); color: var(--magenta); background: transparent; }
.btn-secondary:hover { background: var(--magenta); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(150, 52, 118, .18); }
.nav-toggle { display: none; border: 0; border-radius: 6px; background: none; padding: 8px; cursor: pointer; }
.nav-toggle:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }
.nav-toggle span { display: block; width: 26px; height: 2px; margin: 6px; background: var(--ink); transition: transform .18s, opacity .18s; }

.hero { position: relative; overflow: hidden; padding: 82px 0 86px; text-align: center; background: var(--cream); border-bottom: 1px solid var(--line); }
.hero::before { position: absolute; inset: 0; content: ""; opacity: .32; background: radial-gradient(circle at 12% 22%, #d9edbf 0 2px, transparent 3px), radial-gradient(circle at 88% 70%, #eac9df 0 2px, transparent 3px); background-size: 46px 46px, 58px 58px; }
.hero .container { position: relative; }
.hero h1 { max-width: 880px; margin: 10px auto 18px; color: var(--magenta-dark); font-size: clamp(38px, 5.5vw, 64px); line-height: 1.08; }
.hero-tagline { color: var(--green-dark); font-size: 13px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero-desc { max-width: 680px; margin: 0 auto 28px; color: var(--muted); font-size: 20px; }
.hero-actions { display: flex; justify-content: center; gap: 12px; }
.summer-pre-reg { gap: .25rem; white-space: nowrap; }
.summer-pre-reg-separator::before { content: "–"; }
.breadcrumbs { display: flex; justify-content: center; gap: 8px; margin: 0 0 12px; color: var(--muted); font-size: 13px; font-weight: 700; }
.breadcrumbs a { color: var(--magenta-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.section { padding: 80px 0; }
.summer-splash { position: relative; overflow: hidden; padding: 30px 0; background: #ffd800; color: #29272a; }
.summer-splash::before, .summer-splash::after { position: absolute; content: ""; border: 1px solid rgba(150, 52, 118, .25); border-radius: 50%; }
.summer-splash::before { width: 300px; height: 300px; top: -190px; right: 8%; }
.summer-splash::after { width: 180px; height: 180px; bottom: -130px; left: 8%; }
.summer-splash-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.summer-splash h2 { margin: 0 0 2px; color: #702454; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; }
.summer-splash p { margin: 0; font-weight: 700; }
.summer-splash-kicker { color: #702454; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.summer-splash .cta-btn { background: #702454; white-space: nowrap; }
.summer-splash .cta-btn:hover { background: #963476; }
.surface, .section:nth-of-type(even) { background: var(--cream); }
.split-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 64px; align-items: center; }
.split-content, .split-visual { min-width: 0; }
.split-visual { width: 100%; display: flex; align-items: center; justify-content: center; }
.split-content h2, .section-header h2 { margin: 0 0 20px; color: var(--magenta-dark); font-size: clamp(30px, 4vw, 42px); line-height: 1.2; }
.split-content p { color: var(--muted); }
.section-header { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-header p { color: var(--muted); }
.feature-image { width: 100%; aspect-ratio: 16 / 9; margin-inline: auto; border-radius: 18px 18px 70px 18px; object-fit: cover; object-position: center; box-shadow: var(--shadow); }
.poster-image { aspect-ratio: auto; object-fit: contain; object-position: center; border-radius: 18px; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
#summer-camp { grid-column: 2; grid-row: 1; }
#alpha { grid-column: 1; grid-row: 1; }
#alpha-plus { grid-column: 3; grid-row: 1; }
#restart { grid-column: 1; grid-row: 2; }
#summer-camp .cta-btn { margin-top: 12px; background: var(--green); color: #fff; }
#summer-camp .cta-btn:hover { background: var(--green-dark); }
.supporting-grid { max-width: 780px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: auto; }
.card { min-width: 0; display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 28px rgba(52, 39, 47, .06); }
.card[id] { scroll-margin-top: 100px; }
.card { transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.card:hover { border-color: #d4c8d0; box-shadow: var(--shadow); transform: translateY(-8px); }
.card h3 { margin: 6px 0 8px; color: var(--magenta-dark); font-size: 27px; }
.card-badge { margin-top: 17px; color: var(--green-dark); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card-meta { display: grid; gap: 4px; margin: 10px 0 15px; font-size: 14px; }
.card-desc { flex: 1; color: var(--text-muted); }
.card .btn-secondary { width: 100% !important; margin-top: auto; }
.program-art { width: 100%; height: 190px; margin-inline: auto; border-radius: 8px; object-fit: contain; object-position: center; background-color: var(--cream); }
.program-art.program-photo { object-fit: cover; }
.program-detail-image { width: min(420px, 100%); max-height: 360px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; object-fit: contain; box-shadow: var(--shadow); }
.program-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; }
.program-facts div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); }
.registration-facts { gap: 16px; }
.registration-facts div { display: flex; flex-direction: column; gap: 5px; min-height: 88px; justify-content: center; }
.registration-facts strong { color: var(--magenta-dark); font-size: 14px; line-height: 1.25; }
.registration-facts span { color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.35; }
.program-facts dt { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.program-facts dd { margin: 3px 0 0; color: var(--magenta-dark); font-weight: 800; }

.video-grid, .image-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16/9; border-radius: 10px; background: #eee; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.archive-visual { padding: 54px 0; background: var(--cream); }
.archive-visual img { width: min(893px, 100%); margin: auto; border-radius: 12px; box-shadow: var(--shadow); }
.image-grid img { width: 100%; aspect-ratio: 16/9; margin-inline: auto; border-radius: 10px; object-fit: cover; object-position: center; }
.asset-note { color: var(--muted); font-size: 13px; text-align: center; }
.content-narrow, .faq-list { max-width: 860px; }
.content-narrow p { color: var(--muted); }
.included-benefits { display: grid; gap: 8px; margin: 24px 0 0; padding-left: 1.25rem; }
.included-benefits li { color: var(--muted); }
.benefit-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.benefit-list li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); color: var(--magenta-dark); font-weight: 700; }
.related-links { margin-top: 28px; text-align: center; }
.related-links a, .program-intro a { color: var(--magenta-dark); font-weight: 700; text-underline-offset: 3px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; padding: 22px 5px; border: 0; background: transparent; color: var(--ink); font: 700 17px inherit; text-align: left; cursor: pointer; }
.faq-question::after { float: right; content: '+'; color: var(--green-dark); }
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height .25s; }
.faq-answer p { margin: 0; padding: 0 5px 18px; }
.contact-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; }
.contact-form, .form-group { display: grid; gap: 14px; }
.contact-form > label { display: grid; gap: 5px; color: var(--muted); font-size: 14px; font-weight: 700; }
.form-group { gap: 5px; }
.form-group input, .form-group textarea, .form-group select, .contact-form > input, .contact-form > textarea, .contact-form > select { width: 100%; min-width: 0; padding: 12px; border: 1px solid #ccc; border-radius: 5px; background: #fff; font: inherit; }
.form-submit:disabled { cursor: wait; opacity: .65; }
.form-status { min-height: 1.5em; color: var(--magenta-dark); font-weight: 700; }
.form-group textarea, .contact-form > textarea { resize: vertical; }
.contact-form > input, .contact-form > textarea, .contact-form > select { margin-bottom: 10px; }
.map-section iframe { display: block; width: 100%; height: 420px; border: 0; }
.cta-section { text-align: center; }
.site-footer { padding: 44px 0; background: #292529; color: #fff; text-align: center; }
.footer-nav { justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.footer-link:hover { color: #b9dd8f; }
.footer-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 16px; color: #d8d3d7; font-size: 13px; font-style: normal; }
.footer-contact a:hover { color: #b9dd8f; }
.site-footer p { margin-bottom: 0; color: #d8d3d7; font-size: 13px; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }

/* Motion is enabled progressively so the page remains usable without JavaScript. */
.js-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }
.js-ready .card-grid .card { transition-delay: calc(var(--card-index, 0) * 70ms); }
.hero h1, .hero-desc, .hero-actions { animation: hero-rise .75s cubic-bezier(.2,.7,.2,1) both; }
.hero-desc { animation-delay: .1s; }
.hero-actions { animation-delay: .2s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu { display: none; position: absolute; top: 77px; right: 0; left: 0; align-items: stretch; gap: 4px; padding: 18px max(4%, 14px) 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px #0002; }
  .nav-menu.open { display: flex; flex-direction: column; }
  .nav-link { display: block; padding: 10px 4px; }
  .nav-link::after { display: none; }
  .nav-menu .cta-btn { margin-top: 6px; }
  .split-layout, .contact-container { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #summer-camp, #alpha, #alpha-plus, #restart { grid-column: auto; grid-row: auto; }
  .card .cta-btn, .card .btn-secondary { width: 100%; }
  .section { padding: 58px 0; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  .hero { padding: 58px 0 62px; }
  .hero h1 { font-size: clamp(32px, 10vw, 39px); overflow-wrap: anywhere; }
  .hero-desc { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 300px; margin-inline: auto; }
  .hero-actions a, .summer-splash .cta-btn { width: 100%; white-space: normal; }
  .summer-pre-reg { flex-direction: column; gap: 2px; line-height: 1.2; }
  .summer-pre-reg-separator { display: none; }
  .card-grid, .video-grid, .image-grid { grid-template-columns: 1fr; }
  .program-facts { grid-template-columns: 1fr; }
  .feature-image { border-radius: 14px 14px 45px 14px; }
  .section { padding: 46px 0; }
  .summer-splash-inner { align-items: flex-start; flex-direction: column; }
  .summer-splash { padding: 26px 0; }
  .summer-splash h2 { font-size: 34px; }
  .contact-form { gap: 12px; }
  .program-detail-image { padding: 14px; }
  .footer-nav, .footer-contact { gap: 10px 14px; }
  .footer-link { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } .js-ready .reveal { opacity: 1; transform: none; } }
