/* =========================================================
   Strive — shared stylesheet
   Palette built around the logo: teal #0AA1B9 + gold #F5A623
   ========================================================= */

/* Photo helpers — any element with class .has-img gets cover/center */
.has-img {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

:root {
  --cream:      #F4EFE4;
  --cream-2:    #EAE3D2;
  --teal:       #0AA1B9;   /* logo primary */
  --teal-deep:  #0D4D5C;   /* darker teal for headings */
  --navy:       #133B4C;   /* near-black teal for body text */
  --navy-deep:  #0A2E39;   /* footer */
  --gold:       #F5A623;   /* logo sunburst */
  --yellow:     #F5C538;   /* warmer variant for hero cards */
  --coral:      #E55A3C;
  --blue:       #1E4C8A;
  --ink:        #1A2B3C;
  --muted:      #5E6D7A;
  --white:      #FFFFFF;
  --rule:       rgba(13, 77, 92, 0.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', 'Source Serif 4', Georgia, serif;
  color: var(--teal-deep);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; color: var(--ink); }
a { color: var(--teal-deep); text-decoration-color: rgba(10,161,185,0.4); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--teal); }

/* decorative chevrons on both edges */
.edge-chevrons {
  position: fixed; top: 0; bottom: 0; width: 72px;
  pointer-events: none; z-index: 1; opacity: 0.5;
  background-image:
    linear-gradient(135deg, transparent 45%, var(--teal) 45%, var(--teal) 55%, transparent 55%),
    linear-gradient(135deg, transparent 45%, var(--gold) 45%, var(--gold) 55%, transparent 55%);
  background-size: 48px 48px, 48px 48px;
  background-position: 0 140px, 0 540px;
  background-repeat: no-repeat, no-repeat;
}
.edge-chevrons.left { left: 0; }
.edge-chevrons.right { right: 0; transform: scaleX(-1); }
@media (max-width: 960px) { .edge-chevrons { display: none; } }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 72px; display: block; }
nav.primary { display: flex; gap: 24px; align-items: center; }
nav.primary > .item { position: relative; }
nav.primary a, nav.primary .item > button {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  text-decoration: none; font-weight: 600;
  background: transparent; border: 0; cursor: pointer;
  padding: 8px 0;
}
nav.primary a:hover, nav.primary button:hover { color: var(--coral); }
nav.primary .item.has-menu > button::after { content: " ▾"; font-size: 10px; margin-left: 4px; opacity: 0.7; }

.dropdown {
  position: absolute; top: 100%; left: -16px;
  width: max-content; min-width: 240px; max-width: 320px;
  background: var(--white);
  border: 1px solid var(--rule);
  box-shadow: 0 20px 50px -30px rgba(0,0,0,0.35);
  padding: 8px 0; margin-top: 6px;
  opacity: 0; visibility: hidden;
  transform: translateY(-4px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 40;
}
/* Bridge the gap between the trigger and the dropdown so hover doesn't drop */
nav.primary .item.has-menu::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%;
  height: 10px;
}
nav.primary .item:hover .dropdown,
nav.primary .item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
/* Right-align dropdowns on nav items near the right edge so they don't overflow */
nav.primary > .item:nth-last-of-type(-n+3) .dropdown { left: auto; right: -16px; }
nav.primary .dropdown a {
  display: block; padding: 10px 20px;
  text-transform: none; letter-spacing: 0.01em; font-size: 14px;
  font-weight: 500; white-space: nowrap; line-height: 1.3;
  color: var(--teal-deep);
}
nav.primary .dropdown a:hover { background: var(--cream); color: var(--teal); }

.lang-toggle {
  display: inline-flex; border: 1px solid var(--teal-deep);
  border-radius: 2px; overflow: hidden; margin-left: 8px;
}
.lang-toggle button {
  background: transparent; border: 0;
  padding: 4px 10px; font-size: 12px; letter-spacing: 0.1em;
  font-family: 'Inter', sans-serif; color: var(--teal-deep); cursor: pointer;
}
.lang-toggle button.active { background: var(--teal-deep); color: var(--cream); }

.hamburger { display: none; background: transparent; border: 0; cursor: pointer; color: var(--teal-deep); }
.hamburger svg { width: 26px; height: 26px; }

@media (max-width: 940px) {
  nav.primary { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--cream); gap: 0; padding: 14px 24px 20px; border-bottom: 1px solid var(--rule); }
  nav.primary.open { display: flex; }
  nav.primary a, nav.primary .item > button { padding: 12px 0; width: 100%; text-align: left; }
  nav.primary .item { position: static; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 16px; background: transparent; min-width: 0; }
  .dropdown a { padding: 6px 0; }
  .hamburger { display: inline-flex; }
}

/* ---------- Generic ---------- */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 32px; position: relative; }
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--teal-deep);
  font-weight: 700;
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid var(--teal-deep);
  display: inline-block;
}
.outline-text {
  position: absolute; font-family: 'DM Serif Display', serif;
  font-size: clamp(90px, 14vw, 200px);
  letter-spacing: -0.02em; font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(13, 77, 92, 0.22);
  line-height: 0.9; pointer-events: none; user-select: none;
  white-space: nowrap; z-index: 0;
}
.btn {
  display: inline-block; padding: 12px 22px;
  background: var(--white); border: 1px solid var(--teal-deep);
  color: var(--teal-deep); text-decoration: none;
  font-size: 12.5px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700;
  margin-top: 8px; transition: all 0.15s ease;
}
.btn:hover { background: var(--teal-deep); color: var(--cream); }
.btn.primary { background: var(--teal); border-color: var(--teal); color: var(--white); }
.btn.primary:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.btn.gold:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--cream); }

/* ---------- Hero variants (home + banner) ---------- */
.hero { padding: 40px 0 60px; position: relative; }
.hero-grid { position: relative; }
.hero-image {
  height: 460px; border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(13, 77, 92, 0.55), rgba(10, 161, 185, 0.3)),
    radial-gradient(circle at 30% 40%, #a9cfd4, #4b7781 70%);
  position: relative; overflow: hidden;
}
.hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(120deg, rgba(255,255,255,0.02) 0 6px, transparent 6px 14px);
}
.hero-card {
  background: var(--yellow); padding: 36px 34px 32px;
  max-width: 360px; position: absolute;
  right: 48px; top: 120px;
  box-shadow: 0 20px 60px -30px rgba(0,0,0,0.35);
}
.hero-card .eyebrow { color: var(--navy-deep); border-color: var(--navy-deep); }
.hero-card h1 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 18px; color: var(--navy-deep); }
.hero-card a.btn-link { font-weight: 700; text-decoration: none; color: var(--navy-deep); font-size: 14px; letter-spacing: 0.02em; }
.hero-card a.btn-link::after { content: " →"; }

.hero-thumbs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: -60px;
  padding-left: 60px; max-width: 820px;
  position: relative; z-index: 2;
}
.hero-thumbs .thumb { aspect-ratio: 4 / 3; border-radius: 3px; box-shadow: 0 20px 50px -30px rgba(0,0,0,0.3); }
.thumb.a { background: linear-gradient(135deg, #a9cfd4, #4b7781); }
.thumb.b { background: linear-gradient(135deg, #ecc579, #b07623); }
.thumb.c { background: linear-gradient(135deg, #e8a192, #8c4a3a); }

@media (max-width: 820px) {
  .hero-card { position: static; margin: -50px 18px 0; max-width: none; }
  .hero-thumbs { padding-left: 0; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
  .hero-image { height: 320px; }
}

/* Banner hero (used on inner pages) */
.banner {
  padding: 48px 0 32px;
}
.banner-inner {
  position: relative; padding: 56px 48px 56px;
  background: var(--coral); color: var(--white);
  overflow: hidden;
}
.banner-inner::after {
  content: ""; position: absolute; right: -60px; top: -20px;
  width: 340px; height: 340px; opacity: 0.18;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255,255,255,0.9) 49%, rgba(255,255,255,0.9) 51%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255,255,255,0.9) 49%, rgba(255,255,255,0.9) 51%, transparent 51%);
  background-size: 40px 40px, 40px 40px;
}
.banner-inner .eyebrow { color: var(--white); border-color: var(--white); }
.banner-inner h1 { color: var(--white); font-size: clamp(36px, 5vw, 58px); position: relative; z-index: 1; margin: 0; }
.banner-inner p.kicker { color: rgba(255,255,255,0.9); margin-top: 14px; position: relative; z-index: 1; max-width: 560px; }

.banner-inner.yellow { background: var(--yellow); color: var(--navy-deep); }
.banner-inner.yellow .eyebrow, .banner-inner.yellow h1, .banner-inner.yellow p.kicker { color: var(--navy-deep); }
.banner-inner.yellow .eyebrow { border-color: var(--navy-deep); }

.banner-inner.teal { background: var(--teal); color: var(--white); }
.banner-inner.blue { background: var(--blue); color: var(--white); }
.banner-inner.gold { background: var(--gold); color: var(--navy-deep); }
.banner-inner.gold .eyebrow, .banner-inner.gold h1, .banner-inner.gold p.kicker { color: var(--navy-deep); }
.banner-inner.gold .eyebrow { border-color: var(--navy-deep); }
.banner-inner.navy { background: var(--teal-deep); color: var(--cream); }

/* ---------- Split/Two-column (about-grid) ---------- */
.two-col {
  position: relative; padding: 120px 0 80px;
}
.two-col .outline-text { left: -10px; top: 30px; }
.two-col-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; position: relative; z-index: 2;
}
.two-col-grid h2 { font-size: clamp(28px, 3.2vw, 40px); }
.two-col-grid p { font-size: 15px; color: var(--ink); }
@media (max-width: 820px) { .two-col-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Photo-block with colored accent rectangle ---------- */
.photo-block { position: relative; padding: 0 28px 28px 0; }
.photo-block .accent {
  position: absolute; right: 0; bottom: 0;
  width: 85%; height: 85%; z-index: 0;
}
.photo-block .accent.teal { background: var(--teal); }
.photo-block .accent.coral { background: var(--coral); }
.photo-block .accent.blue { background: var(--blue); }
.photo-block .accent.gold { background: var(--gold); }
.photo-block .accent.yellow { background: var(--yellow); }
.photo-block .photo {
  position: relative; z-index: 1; aspect-ratio: 4 / 5;
  background: linear-gradient(140deg, #6a9ba3, #243d47 80%);
  box-shadow: 0 15px 45px -25px rgba(0,0,0,0.4);
}
.photo-block .photo.warm { background: linear-gradient(140deg, #d7b27a, #704e2a 80%); }
.photo-block .photo.cool { background: linear-gradient(140deg, #91b9c1, #2c4a56 80%); }
.photo-block .photo.teal-warm { background: linear-gradient(140deg, #6bb3c2, #0d4d5c 80%); }
.photo-block .photo.coral-warm { background: linear-gradient(140deg, #e79b87, #a8432a 80%); }
.photo-block .photo.sun { background: linear-gradient(140deg, #efc67a, #a36a14 80%); }
.photo-block.left-offset { padding: 0 0 28px 28px; }
.photo-block.left-offset .accent { left: 0; right: auto; }
.photo-block.landscape .photo { aspect-ratio: 4 / 3; }

/* Two-col with image + copy */
.work-section { position: relative; padding: 100px 0 80px; }
.work-section .outline-text { right: -10px; top: 20px; }
.work-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 60px; align-items: start; position: relative; z-index: 2;
}
.work-grid.reverse { grid-template-columns: 1.2fr 1fr; }
.work-copy h2 { font-size: clamp(26px, 2.6vw, 34px); }
@media (max-width: 820px) {
  .work-grid, .work-grid.reverse { grid-template-columns: 1fr; gap: 28px; }
  .work-section .outline-text, .two-col .outline-text { display: none; }
}

/* ---------- Callout cards ---------- */
section.cards { position: relative; padding: 40px 0 80px; }
section.cards .outline-text { left: -6px; top: -20px; }
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px 50px; position: relative; z-index: 2; }
.card-col { position: relative; }
.callout {
  padding: 28px 28px 26px; color: var(--white);
  position: relative; max-width: 360px;
  box-shadow: 0 20px 50px -30px rgba(0,0,0,0.35);
}
.callout.coral { background: var(--coral); }
.callout.blue  { background: var(--blue); }
.callout.teal  { background: var(--teal); }
.callout.gold  { background: var(--gold); color: var(--navy-deep); }
.callout .eyebrow { color: currentColor; border-color: currentColor; font-weight: 600; }
.callout h3 { color: currentColor; font-size: 22px; margin-bottom: 14px; line-height: 1.2; }
.callout a { color: currentColor; font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.callout a::after { content: " →"; }

.card-col .support-photo { aspect-ratio: 4/3; margin-top: 24px; max-width: 360px; background: linear-gradient(140deg, #4b4f58, #1c222d); }
.card-col.right .callout { margin-left: auto; margin-top: -30px; position: relative; z-index: 2; }
.card-col.right .support-photo { background: linear-gradient(140deg, #4b4f58, #1c222d); max-width: 420px; }
.card-col.left .support-photo { background: linear-gradient(140deg, #aeb1b6, #5f6672); max-width: 420px; margin-top: 0; margin-bottom: 24px; }
@media (max-width: 820px) { .cards-grid { grid-template-columns: 1fr; gap: 30px; } .callout { max-width: none; } }

/* ---------- Quote band ---------- */
section.quote-band {
  background: var(--teal-deep); color: var(--cream);
  padding: 90px 0; margin: 40px 0;
}
section.quote-band.gold { background: var(--yellow); color: var(--navy-deep); }
section.quote-band.gold .bigquote { color: var(--coral); }
section.quote-band.gold p.q { color: var(--navy-deep); }
section.quote-band .quote-inner {
  max-width: 820px; margin: 0 auto; padding: 0 48px; position: relative;
}
section.quote-band .bigquote {
  position: absolute; left: 0; top: -10px;
  font-family: 'DM Serif Display', serif; font-size: 80px;
  color: var(--gold); line-height: 1;
}
section.quote-band p.q {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.3; color: var(--cream);
  padding-left: 56px; margin: 0;
}
section.quote-band .attr {
  padding-left: 56px; margin-top: 20px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85;
}

/* ---------- Programs grid ---------- */
section.programs { position: relative; padding: 60px 0 100px; }
section.programs .outline-text { right: -10px; top: 20px; }
.programs-head {
  display: flex; justify-content: space-between; align-items: end;
  flex-wrap: wrap; gap: 20px; position: relative; z-index: 2;
  margin-bottom: 36px;
}
.programs-head h2 { font-size: clamp(30px, 3vw, 40px); }
.programs-head p { max-width: 420px; font-size: 15px; color: var(--muted); margin: 0; }
.programs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; position: relative; z-index: 2;
}
.program-card {
  background: var(--white); padding: 26px 24px 28px;
  border-top: 4px solid var(--teal-deep);
  box-shadow: 0 20px 50px -40px rgba(0,0,0,0.35);
  display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.program-card:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -40px rgba(0,0,0,0.4); }
.program-card.one   { border-top-color: var(--coral); }
.program-card.two   { border-top-color: var(--yellow); }
.program-card.three { border-top-color: var(--teal); }
.program-card.four  { border-top-color: var(--blue); }
.program-card.five  { border-top-color: var(--gold); }
.program-card h3 { font-size: 22px; margin: 4px 0 6px; }
.program-card .ages { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.program-card p { font-size: 14px; margin: 0; color: var(--ink); }
.program-card .more { margin-top: 12px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--teal-deep); }
.program-card .more::after { content: " →"; }
@media (max-width: 900px) { .programs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .programs-grid { grid-template-columns: 1fr; } }

/* ---------- Video section ---------- */
section.video { position: relative; padding: 80px 0 100px; }
section.video .outline-text { left: -10px; top: 20px; }
.video-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 40px; align-items: start; position: relative; z-index: 2;
}
.video-frame {
  aspect-ratio: 16/9; background: linear-gradient(120deg, #2f4a52, #0a1f25 80%);
  position: relative; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 25px 60px -35px rgba(0,0,0,0.5);
  border-radius: 10px;
  overflow: hidden;
}
.video-frame.video-embed { background: #000; }
.video-frame.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-frame .play {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.video-frame .play::after {
  content: ""; width: 0; height: 0;
  border-left: 20px solid var(--teal-deep);
  border-top: 12px solid transparent; border-bottom: 12px solid transparent;
  margin-left: 4px;
}
.video-caption h3 { font-size: 26px; }
.video-secondary {
  margin-top: 24px; aspect-ratio: 4/3;
  background: linear-gradient(140deg, #d7b27a, #704e2a 80%);
  box-shadow: 0 20px 50px -30px rgba(0,0,0,0.4);
}
.video-placeholder {
  background: repeating-linear-gradient(45deg, #eae3d2 0 14px, #e0d6bf 14px 28px);
  border: 2px dashed rgba(13, 77, 92, 0.35);
  position: relative; flex-direction: column; gap: 14px;
}
.video-placeholder .play { background: rgba(255,255,255,0.85); }
.video-placeholder-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal-deep); opacity: 0.7;
}
@media (max-width: 820px) { .video-grid { grid-template-columns: 1fr; } }

/* ---------- Virtue cards (children's page) ---------- */
.virtue-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px; position: relative; z-index: 2;
}
.virtue {
  background: var(--white); padding: 22px 20px;
  border-top: 3px solid var(--teal); min-height: 180px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 12px 30px -28px rgba(0,0,0,0.3);
}
.virtue:nth-child(2) { border-top-color: var(--gold); }
.virtue:nth-child(3) { border-top-color: var(--coral); }
.virtue:nth-child(4) { border-top-color: var(--blue); }
.virtue:nth-child(5) { border-top-color: var(--yellow); }
.virtue h4 { font-size: 20px; margin: 0; color: var(--teal-deep); }
.virtue p { font-size: 13px; margin: 0; color: var(--ink); line-height: 1.5; }
.virtue:hover { transform: translateY(-3px); box-shadow: 0 22px 45px -35px rgba(0,0,0,0.35); }
@media (max-width: 900px) { .virtue-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .virtue-grid { grid-template-columns: 1fr; } }

/* ---------- Step walkthrough (children's) ---------- */
.steps {
  display: grid; grid-template-columns: 1fr; gap: 20px; position: relative; z-index: 2;
}
.step {
  background: var(--white); padding: 28px 32px;
  border-left: 5px solid var(--teal); display: grid;
  grid-template-columns: 80px 1fr; gap: 22px; align-items: start;
  box-shadow: 0 14px 30px -30px rgba(0,0,0,0.3);
}
.step .num {
  font-family: 'DM Serif Display', serif;
  font-size: 48px; color: var(--teal-deep); line-height: 1;
}
.step h3 { margin: 0 0 4px; font-size: 22px; }
.step .dur { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.step p { margin: 8px 0 0; font-size: 14px; }
.step:nth-child(2) { border-color: var(--gold); }
.step:nth-child(3) { border-color: var(--coral); }
.step:nth-child(4) { border-color: var(--blue); }
.step:nth-child(5) { border-color: var(--yellow); }
.step:nth-child(6) { border-color: var(--teal-deep); }
.step:nth-child(2) .num { color: var(--gold); }
.step:nth-child(3) .num { color: var(--coral); }
.step:nth-child(4) .num { color: var(--blue); }
.step:nth-child(5) .num { color: var(--gold); }
.step:nth-child(6) .num { color: var(--teal-deep); }
@media (max-width: 640px) { .step { grid-template-columns: 1fr; gap: 4px; } .step .num { font-size: 40px; } }

/* ---------- Zig-zag list (youth program) ---------- */
.zigzag { display: flex; flex-direction: column; gap: 40px; }
.zig {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 30px; align-items: start;
  padding: 28px 0; border-top: 1px solid var(--rule);
}
.zig:first-child { border-top: 0; padding-top: 0; }
.zig .idx {
  font-family: 'DM Serif Display', serif;
  font-size: 64px; color: var(--teal); line-height: 1;
}
.zig h3 { font-size: 24px; margin: 0 0 8px; }
.zig p { font-size: 15px; margin: 0; }
.zig:nth-child(2) .idx { color: var(--gold); }
.zig:nth-child(3) .idx { color: var(--coral); }
.zig:nth-child(4) .idx { color: var(--blue); }
.zig:nth-child(5) .idx { color: var(--yellow); }
@media (max-width: 640px) { .zig { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Flow tabs (junior youth) ---------- */
.tabs-wrap { position: relative; z-index: 2; }
.tab-buttons {
  display: flex; flex-wrap: wrap; gap: 0;
  border-bottom: 1px solid var(--rule); margin-bottom: 0;
}
.tab-buttons button {
  padding: 14px 20px; background: transparent; border: 0; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.tab-buttons button.active { color: var(--teal-deep); border-bottom-color: var(--teal); }
.tab-panel { display: none; padding: 32px 0 8px; }
.tab-panel.active { display: block; }
.tab-panel h3 { font-size: 28px; margin-bottom: 12px; }
.tab-panel p { font-size: 15px; max-width: 720px; }

/* ---------- Facts strip ---------- */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; position: relative; z-index: 2;
}
.fact {
  background: var(--white); padding: 22px 20px;
  border-top: 3px solid var(--teal);
}
.fact:nth-child(2) { border-top-color: var(--gold); }
.fact:nth-child(3) { border-top-color: var(--coral); }
.fact:nth-child(4) { border-top-color: var(--blue); }
.fact .label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.fact .value { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--teal-deep); margin-top: 6px; }
@media (max-width: 780px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Final CTA block ---------- */
.final-cta {
  background: var(--teal-deep); color: var(--cream);
  padding: 80px 48px; text-align: center; margin-top: 40px;
  position: relative; z-index: 2;
}
.final-cta h2 { color: var(--cream); font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.final-cta p { max-width: 620px; margin: 0 auto 26px; color: rgba(244,239,228,0.85); }
.final-cta .btn { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.final-cta .btn:hover { background: var(--cream); border-color: var(--cream); color: var(--navy-deep); }
.final-cta .btn.secondary { background: transparent; border-color: var(--cream); color: var(--cream); }
.final-cta .btn.secondary:hover { background: var(--cream); color: var(--teal-deep); }
.final-cta .btn + .btn { margin-left: 10px; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; position: relative; z-index: 2;
}
form.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form.contact-form .full { grid-column: 1 / -1; }
form.contact-form label {
  display: block; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); font-weight: 700;
  margin-bottom: 6px;
}
form.contact-form input,
form.contact-form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--rule); background: var(--white);
  font-family: inherit; font-size: 15px; color: var(--ink);
  border-radius: 2px;
}
form.contact-form textarea { min-height: 140px; resize: vertical; }
form.contact-form input:focus, form.contact-form textarea:focus {
  outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal);
}
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; margin-top: 4px; }
form.contact-form .checks label {
  display: flex; gap: 10px; align-items: center;
  font-size: 14px; text-transform: none; letter-spacing: 0;
  color: var(--ink); font-weight: 500; margin: 0;
  cursor: pointer;
}
form.contact-form .checks input[type="checkbox"] {
  width: 18px; height: 18px; margin: 0; flex-shrink: 0;
  accent-color: var(--teal); cursor: pointer;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 30px; } form.contact-form { grid-template-columns: 1fr; } .checks { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy-deep); color: #ffffff;
  padding: 70px 0 30px; margin-top: 60px;
}
.footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr;
  gap: 70px;
}
footer.site h4 {
  font-family: 'DM Serif Display', serif;
  color: #FFC23A !important; font-size: 22px; margin: 0 0 18px;
}
footer.site a { color: #ffffff !important; text-decoration: none; }
footer.site a:hover { color: #FFC23A !important; }
footer.site span, footer.site .copyright { color: #ffffff !important; }
footer.site .footer-col ul li a { color: #ffffff !important; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; color: #ffffff; }
.contact-line .ico { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding-right: 20px; }
.footer-brand .contact-line { margin-bottom: 0; }
.footer-brand img + .contact-line { margin-top: 18px; }
.footer-brand .social-row { margin-top: 10px !important; }
.footer-brand img {
  height: 88px !important;
  width: auto !important;
  max-width: 280px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.97;
}
.footer-brand .tag { font-size: 14px; opacity: 0.85; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  color: var(--cream);
  transition: all 0.18s ease;
}
.social-row a:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; display: block; }
.copyright {
  max-width: 1100px; margin: 50px auto 0;
  padding: 18px 32px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; opacity: 0.7;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr; gap: 30px; } }

/* =========================================================
   HERO V2 — alternate home hero (editorial split)
   ========================================================= */
.hero-v2 {
  position: relative;
  padding: 54px 0 80px;
  overflow: hidden;
}
.hero-v2::before {
  content: "";
  position: absolute;
  left: -120px; top: 40px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(10,161,185,0.14), rgba(10,161,185,0) 70%);
  pointer-events: none;
}
.hero-v2-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
  position: relative;
}
.hero-v2-copy { position: relative; }
.hero-v2-crowd {
  position: absolute;
  top: -40px;
  left: 20px;
  width: 360px;
  height: auto;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  /* Tint the black silhouette toward our teal brand color */
  filter: brightness(0) saturate(100%) invert(38%) sepia(60%) saturate(640%) hue-rotate(150deg) brightness(88%) contrast(92%);
}
.hero-v2-copy > * { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .hero-v2-crowd { top: -20px; left: 10px; width: 240px; }
}

.hero-v2-copy .eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 6px 12px;
  border: 1px solid var(--teal);
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-v2-copy h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
  margin: 0 0 22px;
}
.hero-v2-copy h1 em {
  font-style: italic;
  color: var(--coral);
  position: relative;
}
.hero-v2-copy .lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 30px;
}
.hero-v2-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-v2-meta {
  display: flex;
  gap: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
  max-width: 520px;
}
.hero-v2-meta > div { display: flex; flex-direction: column; gap: 4px; }
.hero-v2-meta strong {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 30px;
  color: var(--teal-deep);
  font-weight: 400;
  line-height: 1;
}
.hero-v2-meta span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Right side: layered photo composition */
.hero-v2-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 500px;
}
.hero-v2-photo {
  position: absolute;
  top: 0; right: 0;
  width: 82%; height: 78%;
  border-radius: 3px;
  box-shadow: 0 50px 100px -40px rgba(13,77,92,0.45);
}
.hero-v2-photo-2 {
  position: absolute;
  bottom: 0; left: 0;
  width: 50%; height: 44%;
  border-radius: 3px;
  box-shadow: 0 30px 60px -30px rgba(13,77,92,0.35);
  border: 8px solid var(--cream);
  z-index: 2;
}
.hero-v2-star {
  position: absolute;
  top: 60%; left: 40%;
  width: 76px; height: 76px;
  filter: drop-shadow(0 10px 24px rgba(245,166,35,0.55));
  animation: striveStarSpin 22s linear infinite;
  z-index: 3;
}
@keyframes striveStarSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-v2-caption {
  position: absolute;
  bottom: -8px; right: 0;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--cream);
  padding: 6px 10px;
}

@media (max-width: 860px) {
  .hero-v2 { padding: 30px 0 60px; }
  .hero-v2-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-v2-visual { aspect-ratio: auto; min-height: 420px; height: 420px; }
  .hero-v2-copy h1 { font-size: clamp(36px, 8vw, 52px); }
  .hero-v2-meta { gap: 24px; }
  .hero-v2-meta strong { font-size: 24px; }
}
@media (max-width: 480px) {
  .hero-v2-visual { min-height: 340px; height: 340px; }
  .hero-v2-photo { width: 86%; height: 76%; }
  .hero-v2-photo-2 { width: 55%; height: 45%; border-width: 6px; }
  .hero-v2-star { width: 58px; height: 58px; }
  .hero-v2-meta { flex-wrap: wrap; gap: 16px 28px; }
}

/* =========================================================
   CHILDREN'S HERO — playful photo mosaic
   ========================================================= */
.page-hero { position: relative; padding: 54px 0 80px; overflow: hidden; }
.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  position: relative;
}
.page-hero-copy { position: relative; }
.page-hero-copy .eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 12px;
  border: 1px solid var(--gold);
  border-radius: 20px;
  margin-bottom: 20px;
}
.page-hero-copy h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
  margin: 0 0 22px;
}
.page-hero-copy .lede {
  font-size: 17px; line-height: 1.55;
  color: var(--muted); max-width: 520px;
  margin: 0 0 20px;
}
.ch-underline {
  position: relative; display: inline-block;
  color: var(--coral);
}
.ch-underline::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 8px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10'><path d='M2 6 Q 25 -2, 50 6 T 100 6 T 150 6 T 198 6' fill='none' stroke='%23F5A623' stroke-width='3' stroke-linecap='round'/></svg>") no-repeat center/100% 100%;
}
.ch-hero-ornaments { position: relative; height: 0; }
.ch-hero-ornaments .dot {
  position: absolute; border-radius: 50%;
}
.ch-hero-ornaments .dot.c1 { width: 12px; height: 12px; background: var(--gold); top: -300px; left: 92%; }
.ch-hero-ornaments .dot.c2 { width: 8px;  height: 8px;  background: var(--coral); top: -240px; left: -14px; }
.ch-hero-ornaments .dot.c3 { width: 10px; height: 10px; background: var(--teal); top: 8px; left: 60%; }
.ch-hero-ornaments .dot.c4 { width: 6px;  height: 6px;  background: var(--gold); top: -40px; left: 18%; }

/* Mosaic grid — 3 photos of varied shapes */
.ch-mosaic {
  position: relative;
  height: 540px;
  min-height: 480px;
}
.ch-photo {
  position: absolute;
  box-shadow: 0 30px 60px -30px rgba(13,77,92,0.45);
  border-radius: 4px;
}
.ch-photo.round {
  top: 0; right: 0;
  width: 62%; aspect-ratio: 1 / 1;
  border-radius: 50%;
  box-shadow: 0 40px 80px -30px rgba(13,77,92,0.5);
  border: 10px solid var(--cream);
  z-index: 2;
  animation: chFloatA 8s ease-in-out infinite;
}
.ch-photo.tall {
  bottom: 0; left: 0;
  width: 48%; height: 58%;
  z-index: 3;
  animation: chFloatB 9s ease-in-out infinite;
}
.ch-photo.wide {
  bottom: 14%; right: 4%;
  width: 38%; height: 32%;
  z-index: 1;
  animation: chFloatA 11s ease-in-out infinite;
}
.ch-squiggle {
  position: absolute;
  top: 10%; left: 30%;
  width: 120px; height: 28px;
  filter: drop-shadow(0 6px 14px rgba(245,166,35,0.4));
  z-index: 4;
  transform: rotate(-8deg);
}
@keyframes chFloatA {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes chFloatB {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

@media (max-width: 860px) {
  .page-hero { padding: 30px 0 60px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .ch-mosaic { height: 400px; min-height: 380px; }
  .page-hero-copy h1 { font-size: clamp(34px, 8vw, 48px); }
}
@media (max-width: 480px) {
  .ch-mosaic { height: 340px; min-height: 320px; }
  .ch-photo.round { width: 68%; border-width: 6px; }
  .ch-photo.tall { width: 52%; height: 50%; }
  .ch-photo.wide { width: 44%; height: 30%; }
}

/* =========================================================
   JUNIOR YOUTH HERO — different mosaic layout (pill + square + wide)
   ========================================================= */
.jy-hero-ornaments { position: relative; height: 0; }
.jy-hero-ornaments .dot { position: absolute; border-radius: 50%; }
.jy-hero-ornaments .dot.j1 { width: 14px; height: 14px; background: var(--coral); top: -320px; left: 88%; }
.jy-hero-ornaments .dot.j2 { width: 8px;  height: 8px;  background: var(--teal);  top: -260px; left: -10px; }
.jy-hero-ornaments .dot.j3 { width: 10px; height: 10px; background: var(--gold);  top: -20px;  left: 70%; }
.jy-hero-ornaments .dot.j4 { width: 6px;  height: 6px;  background: var(--navy-deep); top: -80px; left: 22%; }
.jy-hero-ornaments .dot.j5 { width: 18px; height: 18px; border: 2px solid var(--gold); background: transparent; top: -160px; left: 50%; }

.jy-mosaic {
  position: relative;
  height: 540px;
  min-height: 480px;
}
.jy-photo {
  position: absolute;
  background-size: cover; background-position: center;
  box-shadow: 0 30px 60px -30px rgba(13,77,92,0.45);
}
.jy-photo.pill-tall {
  top: 0; left: 8%;
  width: 44%; height: 86%;
  border-radius: 160px 160px 28px 28px;
  border: 10px solid var(--cream);
  animation: jyFloatA 9s ease-in-out infinite;
  z-index: 2;
}
.jy-photo.square {
  top: 8%; right: 0;
  width: 48%; height: 52%;
  border-radius: 6px;
  animation: jyFloatB 10s ease-in-out infinite;
  z-index: 3;
}
.jy-photo.pill-wide {
  bottom: 2%; right: 6%;
  width: 52%; height: 30%;
  border-radius: 200px;
  border: 8px solid var(--cream);
  animation: jyFloatA 11s ease-in-out infinite;
  z-index: 4;
}
@keyframes jyFloatA {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes jyFloatB {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(8px) rotate(-1deg); }
}

@media (max-width: 860px) {
  .jy-mosaic { height: 420px; min-height: 380px; }
}
@media (max-width: 480px) {
  .jy-mosaic { height: 340px; min-height: 320px; }
  .jy-photo.pill-tall { width: 52%; height: 80%; left: 4%; border-width: 6px; }
  .jy-photo.square { width: 50%; height: 44%; }
  .jy-photo.pill-wide { width: 58%; height: 26%; border-width: 5px; }
}

/* =========================================================
   YOUTH PROGRAM HERO — arch + orb + tilted wedge
   ========================================================= */
.yp-hero-ornaments { position: relative; height: 0; }
.yp-hero-ornaments .dot { position: absolute; border-radius: 50%; }
.yp-hero-ornaments .dot.y1 { width: 14px; height: 14px; background: var(--teal); top: -320px; left: 90%; }
.yp-hero-ornaments .dot.y2 { width: 8px;  height: 8px;  background: var(--gold);  top: -220px; left: -14px; }
.yp-hero-ornaments .dot.y3 { width: 10px; height: 10px; background: var(--coral); top: -40px;  left: 72%; }
.yp-hero-ornaments .dot.y4 { width: 18px; height: 18px; border: 2px solid var(--teal); background: transparent; top: -160px; left: 18%; }

.yp-mosaic {
  position: relative;
  height: 540px;
  min-height: 480px;
}
.yp-photo {
  position: absolute;
  background-size: cover; background-position: center;
  box-shadow: 0 30px 60px -30px rgba(13,77,92,0.45);
}
.yp-photo.arch {
  top: 0; left: 2%;
  width: 48%; height: 88%;
  border-radius: 240px 240px 20px 20px;
  border: 10px solid var(--cream);
  animation: ypFloatA 9s ease-in-out infinite;
  z-index: 2;
}
.yp-photo.orb {
  top: 4%; right: 0;
  width: 42%; aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 10px solid var(--cream);
  box-shadow: 0 40px 80px -30px rgba(13,77,92,0.5);
  animation: ypFloatB 10s ease-in-out infinite;
  z-index: 3;
}
.yp-photo.wedge {
  bottom: 0; right: 8%;
  width: 46%; height: 32%;
  border-radius: 10px;
  animation: ypFloatWedge 11s ease-in-out infinite;
  z-index: 4;
}

@keyframes ypFloatA {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
@keyframes ypFloatB {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}
@keyframes ypFloatWedge {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-6px) rotate(-5deg); }
}

@media (max-width: 860px) {
  .yp-mosaic { height: 420px; min-height: 380px; }
}
@media (max-width: 480px) {
  .yp-mosaic { height: 340px; min-height: 320px; }
  .yp-photo.arch { width: 56%; height: 82%; border-width: 6px; }
  .yp-photo.orb { width: 48%; border-width: 6px; }
  .yp-photo.wedge { width: 58%; height: 28%; }
}

/* =========================================================
   FAMILY PROGRAMS hero mosaic (petal + disc + stripe)
   ========================================================= */
.fp-hero-ornaments { position: relative; height: 0; }
.fp-hero-ornaments .dot { position: absolute; border-radius: 50%; }
.fp-hero-ornaments .dot.f1 { width: 14px; height: 14px; background: var(--coral); top: -300px; left: 88%; }
.fp-hero-ornaments .dot.f2 { width: 10px; height: 10px; background: var(--gold);  top: -200px; left: -12px; }
.fp-hero-ornaments .dot.f3 { width: 8px;  height: 8px;  background: var(--teal);  top: -60px;  left: 62%; }
.fp-hero-ornaments .dot.f4 { width: 18px; height: 18px; border: 2px solid var(--gold); background: transparent; top: -140px; left: 24%; }

.fp-mosaic {
  position: relative;
  height: 540px;
  min-height: 480px;
}
.fp-photo {
  position: absolute;
  background-size: cover; background-position: center;
  box-shadow: 0 30px 60px -30px rgba(13,77,92,0.45);
}
.fp-photo.petal {
  top: 0; left: 0;
  width: 54%; height: 88%;
  border-radius: 30px 200px 30px 200px;
  border: 10px solid var(--cream);
  animation: fpFloatPetal 10s ease-in-out infinite;
  z-index: 2;
}
.fp-photo.disc {
  top: 6%; right: 2%;
  width: 40%; aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 10px solid var(--cream);
  box-shadow: 0 40px 80px -30px rgba(13,77,92,0.5);
  animation: fpFloatDisc 11s ease-in-out infinite;
  z-index: 3;
}
.fp-photo.stripe {
  bottom: 0; right: 10%;
  width: 56%; height: 26%;
  border-radius: 120px 20px 120px 20px;
  border: 8px solid var(--cream);
  animation: fpFloatStripe 12s ease-in-out infinite;
  z-index: 4;
}

@keyframes fpFloatPetal {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes fpFloatDisc {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(9px); }
}
@keyframes fpFloatStripe {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-5px) rotate(-4deg); }
}

@media (max-width: 860px) {
  .fp-mosaic { height: 420px; min-height: 380px; }
}
@media (max-width: 480px) {
  .fp-mosaic { height: 340px; min-height: 320px; }
  .fp-photo.petal  { width: 60%; height: 82%; border-width: 6px; }
  .fp-photo.disc   { width: 46%; border-width: 6px; }
  .fp-photo.stripe { width: 62%; height: 24%; border-width: 6px; }
}

/* =========================================================
   INTERACTIVE SERVICE PATH — youth program
   ========================================================= */
.path-section { padding-top: 40px; }
.path-intro {
  position: relative; z-index: 2;
  margin-bottom: 28px;
  max-width: 720px;
}
.path-intro p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.path-intro p em {
  color: var(--teal-deep);
  font-style: normal;
  font-weight: 600;
}

.service-path {
  position: relative;
  height: 300px;
  margin: 20px 0 40px;
  padding: 0;
  overflow: visible;
}
.service-path-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Little walkers traveling along the path — side profile, facing right */
.walker {
  position: absolute;
  width: 22px; height: 32px;
  transform: translate(-50%, -100%);
  z-index: 1;
  pointer-events: none;
  animation: walkPath 22s linear infinite;
  will-change: left, top;
}
.walker svg {
  width: 100%; height: 100%;
  display: block;
  overflow: visible;
  animation: walkBob 0.55s ease-in-out infinite;
}
.walker .w-leg-back {
  transform-origin: 13px 22px;
  animation: wLegBack 0.55s ease-in-out infinite;
}
.walker .w-leg-front {
  transform-origin: 13px 22px;
  animation: wLegFront 0.55s ease-in-out infinite;
}
.walker .w-arm {
  transform-origin: 13px 13px;
  animation: wArmSwing 0.55s ease-in-out infinite;
}
.walker-1 { color: var(--teal);      animation-delay: 0s; }
.walker-2 { color: var(--gold);      animation-delay: -5.5s; }
.walker-3 { color: var(--coral);     animation-delay: -11s; }
.walker-4 { color: var(--teal-deep); animation-delay: -16.5s; }

@keyframes walkPath {
  0%    { left: 4%;     top: 88.5%; }
  12.5% { left: 16.75%; top: 86.1%; }
  25%   { left: 27%;    top: 75%;   }
  37.5% { left: 37.25%; top: 61.5%; }
  50%   { left: 50%;    top: 51.9%; }
  62.5% { left: 62.75%; top: 43.8%; }
  75%   { left: 73%;    top: 34.6%; }
  87.5% { left: 83.25%; top: 26%;   }
  100%  { left: 96%;    top: 19.2%; }
}
@keyframes walkBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-1.5px); }
}
@keyframes wLegBack {
  0%, 100% { transform: rotate(-26deg); }
  50%      { transform: rotate(26deg); }
}
@keyframes wLegFront {
  0%, 100% { transform: rotate(26deg); }
  50%      { transform: rotate(-26deg); }
}
@keyframes wArmSwing {
  0%, 100% { transform: rotate(22deg); }
  50%      { transform: rotate(-22deg); }
}
.path-node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--cream);
  border: 3px solid var(--teal);
  border-radius: 50%;
  width: 58px; height: 58px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  transition: transform 0.3s cubic-bezier(0.4, 0.2, 0.2, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, width 0.3s ease, height 0.3s ease;
  padding: 0;
  z-index: 2;
}
.path-node .num {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--teal-deep);
}
.path-node .lbl {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  font-weight: 600;
  transition: color 0.3s ease;
}
.path-node:hover {
  transform: translate(-50%, -50%) scale(1.08);
  border-color: var(--gold);
}
.path-node.active {
  background: var(--teal);
  border-color: var(--gold);
  width: 70px; height: 70px;
  box-shadow: 0 18px 36px -14px rgba(10, 161, 185, 0.6),
              0 0 0 6px rgba(245, 166, 35, 0.15);
}
.path-node.active .num { color: var(--white); font-size: 15px; }
.path-node.active .lbl {
  color: var(--teal-deep);
  font-weight: 800;
}

.path-details {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 32px 34px;
  min-height: 180px;
  position: relative;
  box-shadow: 0 20px 40px -28px rgba(10, 46, 57, 0.25);
  overflow: visible;
  margin-top: 60px;
}
.path-panel { display: none; }
.path-panel.active {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 40px;
  align-items: center;
  animation: pathFade 0.4s ease;
}
.path-panel-copy { order: 1; }
.path-panel-book { order: 2; }
.path-panel-book {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  margin-top: -80px;
  margin-right: -60px;
}
.book-stage {
  position: relative;
  width: 220px;
  height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.book-stage .book-backdrop {
  position: absolute;
  inset: 30px -18px 8px 18px;
  background: var(--teal);
  border-radius: 8px 20px 20px 8px;
  transform: rotate(-5deg);
  opacity: 0.22;
  z-index: 0;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}
.book-stage.color-teal      .book-backdrop { background: var(--teal); }
.book-stage.color-gold      .book-backdrop { background: var(--gold); }
.book-stage.color-coral     .book-backdrop { background: var(--coral); }
.book-stage.color-teal-deep .book-backdrop { background: var(--teal-deep); }
.book-stage.color-navy      .book-backdrop { background: var(--navy); }

.book-stage .book-dot {
  position: absolute;
  left: -18px;
  bottom: 28px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid var(--cream);
  z-index: 2;
  box-shadow: 0 8px 18px -6px rgba(13,77,92,0.4);
  animation: bookDotFloat 4.8s ease-in-out infinite;
}
.book-stage.color-teal      .book-dot { background: var(--coral); }
.book-stage.color-gold      .book-dot { background: var(--teal); }
.book-stage.color-coral     .book-dot { background: var(--gold); }
.book-stage.color-teal-deep .book-dot { background: var(--gold); }
.book-stage.color-navy      .book-dot { background: var(--coral); }

.book-stage .book-badge {
  position: absolute;
  top: -10px;
  right: -14px;
  z-index: 3;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 30px;
  line-height: 1;
  border: 4px solid var(--cream);
  box-shadow: 0 10px 22px -8px rgba(13,77,92,0.5);
  transform: rotate(8deg);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.book-stage.color-teal      .book-badge { background: var(--gold);      color: var(--navy); }
.book-stage.color-gold      .book-badge { background: var(--teal);      color: var(--cream); }
.book-stage.color-coral     .book-badge { background: var(--teal-deep); color: var(--cream); }
.book-stage.color-teal-deep .book-badge { background: var(--coral);     color: var(--cream); }
.book-stage.color-navy      .book-badge { background: var(--gold);      color: var(--navy); }

.book-stage img {
  position: relative;
  z-index: 1;
  width: 200px;
  height: auto;
  display: block;
  border: 7px solid var(--cream);
  border-radius: 3px 8px 8px 3px;
  outline: 1px solid rgba(10,46,57,0.12);
  box-shadow: 0 30px 50px -22px rgba(13,77,92,0.6),
              -4px 0 0 rgba(10,46,57,0.1),
              -8px 0 0 rgba(10,46,57,0.05);
  transform: rotate(-3deg);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  animation: bookFloat 5.5s ease-in-out infinite;
}

.book-stage:hover img { transform: rotate(0deg) translateY(-6px); animation-play-state: paused; }
.book-stage:hover .book-backdrop { transform: rotate(-2deg) translateX(-4px); opacity: 0.32; }
.book-stage:hover .book-badge { transform: rotate(-2deg) scale(1.08); }

@keyframes bookFloat {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-3deg) translateY(-5px); }
}
@keyframes bookDotFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.path-panel-book .book-caption {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
  max-width: 170px;
}
.path-panel-copy { min-width: 0; }
.path-panel .eyebrow {
  color: var(--gold);
  margin-bottom: 8px;
}
.path-panel h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--teal-deep);
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 12px;
}
.path-panel h3::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 14px;
}
.path-panel p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0;
  max-width: 780px;
}
@keyframes pathFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
  .service-path { height: 260px; padding: 16px 18px; }
  .service-path-svg { inset: 16px 18px; width: calc(100% - 36px); height: calc(100% - 32px); }
  .path-node { width: 50px; height: 50px; }
  .path-node.active { width: 58px; height: 58px; }
  .path-node .num { font-size: 12px; }
  .path-node .lbl { font-size: 10px; letter-spacing: 0.1em; }
  .path-panel.active { grid-template-columns: 1fr 170px; gap: 24px; }
  .book-stage { width: 170px; height: 240px; }
  .book-stage img { width: 150px; border-width: 6px; }
  .book-stage .book-badge { width: 46px; height: 46px; font-size: 22px; }
  .path-panel-book { margin-top: -55px; margin-right: -40px; }
}
@media (max-width: 560px) {
  .service-path { height: 240px; }
  .path-node .lbl { display: none; }
  .path-node.active .lbl { display: block; }
  .path-details { padding: 24px 22px; overflow: hidden; }
  .path-panel h3 { font-size: 24px; }
  .path-panel.active {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: left;
  }
  /* Reset desktop offsets so the book sits cleanly below the copy */
  .path-panel-book {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 28px;
    margin: 8px 0 0 0;
  }
  .book-stage { width: 120px; height: 165px; flex: 0 0 120px; }
  .book-stage img { width: 100px; border-width: 5px; }
  .book-stage .book-badge { width: 38px; height: 38px; font-size: 18px; top: -4px; right: -8px; border-width: 3px; }
  .book-stage .book-dot { width: 22px; height: 22px; left: -10px; bottom: 14px; }
  .path-panel-book .book-caption { text-align: left; max-width: none; flex: 1; }
}

/* =========================================================
   PICTURE TABS (elements of the program)
   ========================================================= */
.ptabs { position: relative; z-index: 2; }
.ptab-buttons {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 28px;
}
.ptab-buttons button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; background: var(--white);
  border: 1px solid var(--rule); border-radius: 999px;
  font-family: 'Inter', sans-serif; font-size: 13px;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); cursor: pointer;
  transition: all 0.2s ease;
}
.ptab-buttons button:hover {
  color: var(--teal-deep); border-color: var(--teal);
  transform: translateY(-1px);
}
.ptab-buttons button.active {
  background: var(--teal-deep); color: var(--cream); border-color: var(--teal-deep);
  box-shadow: 0 8px 20px -10px rgba(10,46,57,0.55);
}
.ptab-buttons .ptab-icon {
  display: inline-flex; width: 20px; height: 20px;
}
.ptab-buttons .ptab-icon svg { width: 100%; height: 100%; }

.ptab-panel {
  display: none;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px; align-items: center;
}
.ptab-panel.active { display: grid; animation: ptabFadeIn 0.4s ease; }
.ptab-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
  border-radius: 6px;
  box-shadow: 0 30px 60px -30px rgba(13,77,92,0.5);
}
.ptab-accent {
  position: absolute; inset: 14px -14px -14px 14px;
  border-radius: 6px; z-index: -1;
}
.ptab-accent.gold { background: var(--gold); }
.ptab-accent.coral { background: var(--coral); }
.ptab-accent.teal { background: var(--teal); }

.ptab-copy { padding: 8px 0; }
.ptab-num {
  display: inline-block; font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.ptab-copy h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15; margin: 0 0 14px; color: var(--navy-deep);
}
.ptab-copy p {
  font-size: 16px; line-height: 1.6; color: var(--ink); max-width: 540px;
}
@keyframes ptabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 860px) {
  .ptab-panel.active { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   LIBRARY — flip-card book shelf
   Simple, reliable pattern: <img> tag drives the natural height
   of the card. No aspect-ratio trickery.
   ========================================================= */
.library-section { position: relative; }

.library-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 28px 24px;
  position: relative; z-index: 2;
}

.lbook {
  flex: 0 0 calc(20% - 20px); /* 5 per row */
  cursor: pointer;
  perspective: 1400px;
  outline: none;
}
.lbook:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 6px; }

.lbook-card {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.lbook.flipped .lbook-card { transform: rotateY(180deg); }

.lbook-face {
  /* Front uses the img to set size; back is absolutely positioned to match */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 8px solid var(--cream);
  outline: 1px solid var(--rule);
  background: var(--cream);
  border-radius: 4px 8px 8px 4px;
  box-shadow:
    0 22px 40px -22px rgba(13,77,92,0.5),
    0 2px 0 rgba(10,46,57,0.08);
  overflow: hidden;
}

.lbook-front {
  position: relative;
  line-height: 0; /* prevents gap under image */
}
.lbook-front img {
  display: block;
  width: 100%;
  height: auto; /* natural aspect from PNG — drives card height */
  object-fit: cover;
}
/* Spine binding edge */
.lbook-front::before {
  content: "";
  position: absolute; left: -8px; top: -8px; bottom: -8px;
  width: 14px;
  background: linear-gradient(90deg, rgba(0,0,0,0.22), rgba(0,0,0,0.04) 70%, transparent);
  pointer-events: none;
  z-index: 2;
}
/* Inner sheen */
.lbook-front::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 55%);
  pointer-events: none;
}

.lbook-back {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  transform: rotateY(180deg);
  padding: 22px 18px;
  color: var(--ink);
  text-align: left;
  display: flex; flex-direction: column;
  overflow: auto;
}
.lbook-back .lbook-no {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.lbook-back h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 15px; margin: 0 0 8px; line-height: 1.2;
  color: var(--navy-deep);
}
.lbook-back p {
  font-size: 12px; line-height: 1.5; color: var(--ink);
  margin: 0;
}

.lbook:hover .lbook-card { transform: translateY(-4px); }
.lbook.flipped:hover .lbook-card { transform: rotateY(180deg) translateY(-4px); }

@media (max-width: 1080px) {
  .lbook { flex: 0 0 calc(33.333% - 16px); }
}
@media (max-width: 720px) {
  .library-grid { gap: 20px 16px; }
  .lbook { flex: 0 0 calc(50% - 8px); }
}
@media (max-width: 420px) {
  .lbook-face { border-width: 6px; }
  .lbook-back { padding: 16px 14px; }
  .lbook-back p { font-size: 12.5px; }
}

/* =========================================================
   INTERNSHIP PAGE — hero mosaic (slab + medal + ribbon),
   meta pills, three aspects, takeaway chips
   ========================================================= */

/* --- Hero mosaic: a tall slab, a medal/octagon, and a ribbon --- */
.int-hero-ornaments { position: relative; height: 0; }
.int-hero-ornaments .dot { position: absolute; border-radius: 50%; }
.int-hero-ornaments .dot.i1 { width: 14px; height: 14px; background: var(--gold);  top: -280px; left: 90%; }
.int-hero-ornaments .dot.i2 { width: 10px; height: 10px; background: var(--coral); top: -180px; left: -10px; }
.int-hero-ornaments .dot.i3 { width: 8px;  height: 8px;  background: var(--teal);  top: -40px;  left: 58%; }
.int-hero-ornaments .dot.i4 { width: 18px; height: 18px; border: 2px solid var(--teal); background: transparent; top: -120px; left: 30%; }

.int-mosaic {
  position: relative;
  height: 560px;
  min-height: 500px;
}
.int-photo {
  position: absolute;
  background-size: cover; background-position: center;
  box-shadow: 0 30px 60px -30px rgba(13,77,92,0.45);
}
.int-photo.slab {
  top: 0; left: 2%;
  width: 48%; height: 92%;
  border-radius: 160px 20px 160px 20px;
  border: 10px solid var(--cream);
  animation: intFloatSlab 11s ease-in-out infinite;
  z-index: 2;
}
.int-photo.medal {
  top: 10%; right: 4%;
  width: 44%; aspect-ratio: 1 / 1;
  /* octagonal medal shape */
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
  box-shadow: 0 40px 80px -30px rgba(13,77,92,0.55);
  animation: intFloatMedal 10s ease-in-out infinite;
  z-index: 3;
}
.int-photo.medal::before {
  content: "";
  position: absolute; inset: 0;
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
  border: 4px solid var(--gold);
  /* ring inside the clip */
  box-shadow: inset 0 0 0 10px var(--cream);
  pointer-events: none;
}
.int-photo.ribbon {
  bottom: 2%; left: 20%;
  width: 60%; height: 22%;
  border-radius: 20px 120px 20px 120px;
  border: 8px solid var(--cream);
  transform: rotate(2deg);
  animation: intFloatRibbon 12s ease-in-out infinite;
  z-index: 4;
}

@keyframes intFloatSlab {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes intFloatMedal {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(10px) rotate(2deg); }
}
@keyframes intFloatRibbon {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%      { transform: translateY(-5px) rotate(3deg); }
}

@media (max-width: 860px) {
  .int-mosaic { height: 440px; min-height: 380px; }
}
@media (max-width: 480px) {
  .int-mosaic { height: 340px; min-height: 320px; }
  .int-photo.slab   { width: 56%; height: 82%; border-width: 6px; }
  .int-photo.medal  { width: 48%; border-width: 6px; }
  .int-photo.ribbon { width: 66%; height: 22%; border-width: 6px; }
}

/* --- Meta pills (date / location / age) right under hero h1 --- */
.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cream);
  border: 1.5px solid rgba(13,77,92,0.15);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal-deep);
  letter-spacing: 0.01em;
}
.meta-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.meta-pill.teal .dot { background: var(--teal); }
.meta-pill.coral .dot { background: var(--coral); }

/* --- Three aspects cards --- */
.aspect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.aspect-card {
  position: relative;
  background: var(--cream);
  border-radius: 18px;
  padding: 28px 24px 26px;
  box-shadow: 0 20px 40px -26px rgba(13,77,92,0.35);
  border: 1px solid rgba(13,77,92,0.08);
  overflow: hidden;
}
.aspect-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--teal);
}
.aspect-card.gold::before  { background: var(--gold); }
.aspect-card.coral::before { background: var(--coral); }
.aspect-card .num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 38px;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 10px;
}
.aspect-card.gold .num  { color: var(--gold); }
.aspect-card.coral .num { color: var(--coral); }
.aspect-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--navy-deep);
  line-height: 1.25;
}
.aspect-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .aspect-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* --- Takeaways: featured stat + grid of tiles --- */
.takeaway-featured {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, var(--teal-deep, #0d4d5c) 0%, var(--teal) 100%);
  color: #fff;
  border-radius: 22px;
  padding: 34px 40px;
  margin-top: 24px;
  box-shadow: 0 30px 60px -30px rgba(13,77,92,0.55);
  position: relative;
  overflow: hidden;
}
.takeaway-featured::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, var(--gold) 0, transparent 70%);
  opacity: 0.22;
  pointer-events: none;
}
.takeaway-featured::after {
  content: "";
  position: absolute;
  left: -40px; bottom: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--coral) 0, transparent 70%);
  opacity: 0.16;
  pointer-events: none;
}
.takeaway-featured .big-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 108px;
  line-height: 0.9;
  color: var(--gold);
  text-shadow: 0 4px 14px rgba(0,0,0,0.22);
  position: relative;
  z-index: 1;
}
.takeaway-featured .feature-copy {
  position: relative;
  z-index: 1;
}
.takeaway-featured .feature-copy .eyebrow-lite {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.takeaway-featured .feature-copy h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  margin: 0 0 8px;
  color: #fff;
  line-height: 1.2;
}
.takeaway-featured .feature-copy p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 440px;
}

.takeaway-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.tk-tile {
  background: #fff;
  border-radius: 16px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(13,77,92,0.09);
  box-shadow: 0 14px 28px -22px rgba(13,77,92,0.3);
  display: flex; align-items: flex-start; gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tk-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -24px rgba(13,77,92,0.4);
}
.tk-emblem {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  display: inline-flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.tk-tile.gold  .tk-emblem { background: var(--gold); }
.tk-tile.coral .tk-emblem { background: var(--coral); }
.tk-body .tk-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.tk-body h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 17px;
  line-height: 1.28;
  margin: 0;
  color: var(--navy-deep);
}

@media (max-width: 860px) {
  .takeaway-featured { grid-template-columns: 1fr; padding: 26px 26px; gap: 10px; }
  .takeaway-featured .big-num { font-size: 76px; }
  .takeaway-tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .takeaway-tiles { grid-template-columns: 1fr; }
}

/* =========================================================
   JY DAY CAMP PAGE — hero mosaic (kite + arch + pebble),
   activity grid, schedule strip
   ========================================================= */
.jy-hero-ornaments { position: relative; height: 0; }
.jy-hero-ornaments .dot { position: absolute; border-radius: 50%; }
.jy-hero-ornaments .dot.j1 { width: 14px; height: 14px; background: var(--teal);  top: -300px; left: 90%; }
.jy-hero-ornaments .dot.j2 { width: 10px; height: 10px; background: var(--coral); top: -210px; left: -10px; }
.jy-hero-ornaments .dot.j3 { width: 8px;  height: 8px;  background: var(--gold);  top: -60px;  left: 58%; }
.jy-hero-ornaments .dot.j4 { width: 18px; height: 18px; border: 2px solid var(--coral); background: transparent; top: -130px; left: 28%; }

.jy-mosaic {
  position: relative;
  height: 560px;
  min-height: 500px;
}
.jy-photo {
  position: absolute;
  background-size: cover; background-position: center;
  box-shadow: 0 30px 60px -30px rgba(13,77,92,0.45);
}
.jy-photo.kite {
  top: 2%; right: 6%;
  width: 44%; aspect-ratio: 1 / 1.15;
  border-radius: 50% 14px 50% 14px;
  border: 10px solid var(--cream);
  transform: rotate(-6deg);
  animation: jyFloatKite 11s ease-in-out infinite;
  z-index: 3;
}
.jy-photo.arch {
  top: 8%; left: 0;
  width: 46%; height: 82%;
  border-radius: 999px 999px 24px 24px;
  border: 10px solid var(--cream);
  animation: jyFloatArch 12s ease-in-out infinite;
  z-index: 2;
}
.jy-photo.pebble {
  bottom: 0; left: 22%;
  width: 56%; height: 26%;
  border-radius: 60% 40% 65% 35% / 55% 50% 50% 45%;
  border: 8px solid var(--cream);
  transform: rotate(3deg);
  animation: jyFloatPebble 10s ease-in-out infinite;
  z-index: 4;
}

@keyframes jyFloatKite {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-9px) rotate(-4deg); }
}
@keyframes jyFloatArch {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}
@keyframes jyFloatPebble {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50%      { transform: translateY(-5px) rotate(4deg); }
}

@media (max-width: 860px) {
  .jy-mosaic { height: 440px; min-height: 380px; }
}
@media (max-width: 480px) {
  .jy-mosaic { height: 340px; min-height: 320px; }
  .jy-photo.kite   { width: 50%; border-width: 6px; }
  .jy-photo.arch   { width: 58%; height: 76%; border-width: 6px; }
  .jy-photo.pebble { width: 68%; height: 22%; border-width: 6px; }
}

/* --- Activity cards --- */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.activity-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px 22px 24px;
  border: 1px solid rgba(13,77,92,0.1);
  box-shadow: 0 16px 34px -24px rgba(13,77,92,0.3);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease;
}
.activity-card:hover { transform: translateY(-3px); }
.activity-card::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, currentColor 0, transparent 70%);
  opacity: 0.08;
  pointer-events: none;
  color: var(--teal);
}
.activity-card.gold::after  { color: var(--gold); }
.activity-card.coral::after { color: var(--coral); }
.activity-card.navy::after  { color: var(--navy-deep); }

.activity-emblem {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--teal);
  color: #fff;
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 1;
}
.activity-card.gold  .activity-emblem { background: var(--gold); }
.activity-card.coral .activity-emblem { background: var(--coral); }
.activity-card.navy  .activity-emblem { background: var(--navy-deep); }

.activity-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--navy-deep);
  line-height: 1.25;
}
.activity-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .activity-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .activity-grid { grid-template-columns: 1fr; }
}

/* --- Schedule strip (two-week overview) --- */
.schedule-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}
.week-card {
  position: relative;
  background: var(--cream);
  border-radius: 20px;
  padding: 28px 28px 26px;
  border: 1px solid rgba(13,77,92,0.09);
  box-shadow: 0 18px 36px -26px rgba(13,77,92,0.35);
  overflow: hidden;
}
.week-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 6px;
  background: var(--teal);
}
.week-card.week-2::before { background: var(--gold); }
.week-card .week-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}
.week-card.week-2 .week-label { color: var(--gold); }
.week-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 26px;
  margin: 0 0 8px;
  color: var(--navy-deep);
  line-height: 1.2;
}
.week-card .week-hours {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 720px) {
  .schedule-strip { grid-template-columns: 1fr; }
}

/* =========================================================
   CONTACT PAGE — simple hero
   One clean photo, rounded rectangle, no ornaments.
   ========================================================= */
.ct-simple {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: stretch;
}
.ct-simple-photo {
  flex: 1;
  min-height: 420px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 60px -30px rgba(13,77,92,0.45);
}
@media (max-width: 860px) {
  .ct-simple-photo { min-height: 320px; }
}

/* ---- (legacy experimental hero styles kept below, unused) ---- */
.ct-hero-ornaments { position: relative; height: 0; }
.ct-hero-ornaments .dot { position: absolute; border-radius: 50%; }
.ct-hero-ornaments .dot.c1 { width: 14px; height: 14px; background: var(--coral); top: -280px; left: 92%; }
.ct-hero-ornaments .dot.c2 { width: 10px; height: 10px; background: var(--gold);  top: -200px; left: -12px; }
.ct-hero-ornaments .dot.c3 { width: 8px;  height: 8px;  background: var(--teal);  top: -50px;  left: 60%; }
.ct-hero-ornaments .dot.c4 { width: 18px; height: 18px; border: 2px solid var(--gold); background: transparent; top: -120px; left: 26%; }

.ct-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.ct-portrait {
  position: relative;
  width: min(460px, 86%);
  aspect-ratio: 1 / 1;
  z-index: 2;
  animation: ctPortraitFloat 9s ease-in-out infinite;
}
.ct-portrait::before,
.ct-portrait::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 0;
  pointer-events: none;
}
.ct-portrait::before {
  inset: -22px;
  border: 2px dashed var(--gold);
  animation: ctRingSpin 40s linear infinite;
}
.ct-portrait::after {
  border: 12px solid var(--cream);
  box-shadow:
    0 30px 70px -20px rgba(13,77,92,0.55),
    inset 0 0 0 2px rgba(13,77,92,0.08);
  z-index: 2;
}
.ct-portrait .photo {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.ct-stamp {
  position: absolute;
  top: 4%;
  right: 4%;
  width: 128px;
  height: 128px;
  background: var(--coral);
  color: #fff;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  transform: rotate(8deg);
  box-shadow: 0 18px 36px -14px rgba(13,77,92,0.45);
  z-index: 5;
  font-family: var(--serif);
  line-height: 1.05;
}
.ct-stamp::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px dashed rgba(255,255,255,0.7);
  border-radius: 10px;
}
.ct-stamp .big { font-size: 28px; letter-spacing: 0.02em; position: relative; }
.ct-stamp .small {
  position: relative;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 700;
}

.ct-plane {
  position: absolute;
  top: 6%;
  left: 2%;
  width: 88px;
  height: 88px;
  color: var(--teal);
  z-index: 3;
  animation: ctPlaneFloat 6s ease-in-out infinite;
}
.ct-plane svg { width: 100%; height: 100%; }

.ct-peek {
  position: absolute;
  bottom: 2%;
  left: 2%;
  width: 40%;
  aspect-ratio: 5 / 4;
  border-radius: 18px 70px 18px 70px;
  background-size: cover;
  background-position: center;
  border: 8px solid var(--cream);
  box-shadow: 0 24px 50px -24px rgba(13,77,92,0.5);
  transform: rotate(-4deg);
  z-index: 4;
  animation: ctPeekFloat 11s ease-in-out infinite;
}

@keyframes ctPortraitFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes ctRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes ctPlaneFloat {
  0%, 100% { transform: translate(0, 0) rotate(-6deg); }
  50%      { transform: translate(8px, -10px) rotate(-2deg); }
}
@keyframes ctPeekFloat {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(-3deg) translateY(-6px); }
}

@media (max-width: 860px) {
  .ct-stage { min-height: 440px; }
  .ct-stamp { width: 96px; height: 96px; }
  .ct-stamp .big { font-size: 22px; }
  .ct-plane { width: 64px; height: 64px; }
  .ct-peek { width: 44%; }
}
@media (max-width: 480px) {
  .ct-stage { min-height: 360px; }
  .ct-portrait { width: 82%; }
  .ct-portrait::before { inset: -12px; }
  .ct-portrait::after { border-width: 8px; }
  .ct-portrait .photo { inset: 8px; }
  .ct-stamp { width: 76px; height: 76px; }
  .ct-stamp .big { font-size: 18px; }
  .ct-stamp .small { font-size: 8px; letter-spacing: 0.18em; }
  .ct-plane { width: 48px; height: 48px; }
}

/* =========================================================
   INVERSE (dark) theme — for Summer 2026 pages
   Flips the base cream palette to navy-deep, while keeping
   cards as bright cream islands for strong contrast.
   ========================================================= */
body.inverse {
  background: var(--navy-deep);
  color: var(--cream);
}
body.inverse h1,
body.inverse h2,
body.inverse h3,
body.inverse h4,
body.inverse h5 {
  color: var(--cream);
}
body.inverse p { color: rgba(244,239,228,0.82); }
body.inverse strong { color: var(--cream); }
body.inverse a { color: var(--gold); text-decoration-color: rgba(245,166,35,0.45); }
body.inverse a:hover { text-decoration-color: var(--gold); }

/* Eyebrows glow gold on dark */
body.inverse .eyebrow {
  color: var(--gold);
  border-color: var(--gold);
}

/* Outline watermark text — light translucent stroke */
body.inverse .outline-text {
  color: transparent;
  -webkit-text-stroke: 1px rgba(244,239,228,0.14);
}

/* Header — preserved as the light original, regardless of inverse theme.
   The global inverse `a { color: gold }` rule above would otherwise paint
   every nav anchor gold — revert header anchors back to teal-deep and only
   highlight the current page via the `.active` class. */
body.inverse header.site nav.primary a,
body.inverse header.site nav.primary .item > button {
  color: var(--teal-deep);
}
body.inverse header.site nav.primary a:hover,
body.inverse header.site nav.primary .item > button:hover {
  color: var(--coral);
}
/* Active (current-page) nav link */
nav.primary a.active,
nav.primary .item > button.active,
body.inverse header.site nav.primary a.active,
body.inverse header.site nav.primary .item > button.active {
  color: var(--gold);
}

/* Edge chevrons — subtle on dark */
body.inverse .edge-chevrons { opacity: 0.22; }

/* Page-hero text */
body.inverse .page-hero-copy .lede { color: rgba(244,239,228,0.82); }

/* Meta pills on dark */
body.inverse .meta-pill {
  background: rgba(255,255,255,0.06);
  border-color: rgba(244,239,228,0.22);
  color: var(--cream);
}

/* Buttons — invert */
body.inverse .btn {
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
}
body.inverse .btn:hover { background: var(--cream); color: var(--navy-deep); border-color: var(--cream); }
body.inverse .btn.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
body.inverse .btn.primary:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--navy-deep);
}
body.inverse .btn.secondary {
  background: transparent;
  border-color: rgba(244,239,228,0.5);
  color: var(--cream);
}
body.inverse .btn.secondary:hover { background: var(--cream); color: var(--navy-deep); border-color: var(--cream); }

/* Cards become bright islands of cream on dark */
body.inverse .aspect-card,
body.inverse .tk-tile,
body.inverse .activity-card,
body.inverse .week-card {
  background: var(--cream);
  border-color: transparent;
  box-shadow: 0 24px 50px -24px rgba(0,0,0,0.55);
}
body.inverse .aspect-card h3,
body.inverse .tk-tile h4,
body.inverse .activity-card h3,
body.inverse .week-card h3 { color: var(--navy-deep); }
body.inverse .aspect-card p,
body.inverse .activity-card p,
body.inverse .week-card .week-hours { color: var(--muted); }
body.inverse .tk-body .tk-label,
body.inverse .week-card .week-label {
  /* keep existing accent colors (they'll still read on cream) */
}

/* Facts strip */
body.inverse .facts { }
body.inverse .fact {
  background: var(--cream);
  box-shadow: 0 14px 30px -20px rgba(0,0,0,0.45);
}
body.inverse .fact .label { color: var(--muted); }
body.inverse .fact .value { color: var(--navy-deep); }

/* Final CTA (already dark) — slightly lighter background so it doesn't blend */
body.inverse .final-cta {
  background: var(--teal-deep);
  border: 1px solid rgba(244,239,228,0.08);
}

/* Photo mosaic — swap the cream photo borders for a cream that still pops */
body.inverse .int-photo,
body.inverse .jy-photo,
body.inverse .fp-photo {
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
}

/* Featured stat card stays teal gradient (already dark) — just add stronger ring */
body.inverse .takeaway-featured {
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
}

/* Work-section / two-col photos — soften accent tiles */
body.inverse .photo-block .accent { opacity: 0.9; }

/* About page — hero-v2 element overrides */
body.inverse .hero-v2-copy .eyebrow { color: var(--gold); border-color: var(--gold); }
body.inverse .hero-v2-copy h1 { color: var(--cream); }
body.inverse .hero-v2-copy h1 em { color: var(--gold); }
body.inverse .hero-v2-copy .lede { color: rgba(244,239,228,0.82); }
body.inverse .hero-v2-meta strong { color: var(--cream); }
body.inverse .hero-v2-meta span { color: rgba(244,239,228,0.65); }
body.inverse .hero-v2-caption { color: rgba(244,239,228,0.72); }
body.inverse .hero-v2::before {
  background: radial-gradient(circle at 50% 50%, rgba(245,166,35,0.16), rgba(245,166,35,0) 70%);
}
body.inverse .hero-v2-crowd {
  opacity: 0.14;
  /* tint toward cream instead of teal */
  filter: brightness(0) invert(1);
}
body.inverse .hero-v2-star { fill: var(--gold); }

/* About page — video placeholder reads on dark */
body.inverse .video-placeholder {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(244,239,228,0.14);
}
body.inverse .video-placeholder-label { color: rgba(244,239,228,0.72); }

/* About page — quote band (gold) pops on dark already; keep as-is but refine.
   Remove the vertical margin so the dark body background doesn't show through
   as a blue strip between the cream and gold sections. */
body.inverse section.quote-band {
  margin: 0;
}
body.inverse section.quote-band.gold {
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.6);
}

/* Alternating light sections within inverse theme.
   Add class="section-alt" to any section you want to flip back to cream. */
body.inverse .section-alt {
  background: var(--cream);
  color: var(--ink);
  position: relative;
}
body.inverse .section-alt h1,
body.inverse .section-alt h2,
body.inverse .section-alt h3,
body.inverse .section-alt h4 { color: var(--teal-deep); }
body.inverse .section-alt p { color: var(--ink); }
body.inverse .section-alt .eyebrow { color: var(--teal); border-color: var(--teal); }
body.inverse .section-alt .outline-text {
  color: transparent;
  -webkit-text-stroke: 1px rgba(13, 77, 92, 0.22);
}
body.inverse .section-alt a { color: var(--teal-deep); text-decoration-color: rgba(10,161,185,0.4); }
body.inverse .section-alt a:hover { text-decoration-color: var(--teal); }
body.inverse .section-alt .btn {
  background: #fff;
  border-color: var(--teal-deep);
  color: var(--teal-deep);
}
body.inverse .section-alt .btn:hover { background: var(--teal-deep); color: var(--cream); }
body.inverse .section-alt .btn.primary { background: var(--teal); border-color: var(--teal); color: #fff; }
body.inverse .section-alt .btn.primary:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
body.inverse .section-alt .btn.secondary { background: transparent; border-color: var(--teal-deep); color: var(--teal-deep); }
body.inverse .section-alt .video-placeholder {
  background: var(--cream-2);
  border: 1px solid rgba(13,77,92,0.15);
}
body.inverse .section-alt .video-placeholder-label { color: var(--muted); }

/* Inside a light section, inner cards get a white fill and subtle border so they
   don't vanish against the cream background */
body.inverse .section-alt .aspect-card,
body.inverse .section-alt .tk-tile,
body.inverse .section-alt .activity-card,
body.inverse .section-alt .week-card {
  background: #fff;
  border: 1px solid rgba(13,77,92,0.1);
  box-shadow: 0 14px 28px -22px rgba(13,77,92,0.22);
}
body.inverse .section-alt .fact {
  background: #fff;
  border-top-width: 3px;
  box-shadow: 0 14px 28px -22px rgba(13,77,92,0.22);
}
body.inverse .section-alt .fact .label { color: var(--muted); }
body.inverse .section-alt .fact .value { color: var(--teal-deep); }

/* Alternation backgrounds also need to play nicely with the featured stat card
   (which uses the teal-deep gradient already) — let it float on cream too.
   Its own text must stay white since the card itself is dark. */
body.inverse .section-alt .takeaway-featured {
  box-shadow: 0 30px 60px -30px rgba(13,77,92,0.45);
}
body.inverse .section-alt .takeaway-featured h3 { color: #fff; }
body.inverse .section-alt .takeaway-featured p { color: rgba(255,255,255,0.85); }
body.inverse .section-alt .takeaway-featured .eyebrow-lite { color: var(--gold); }

/* =========================================================
   CONTACT PAGE V2 — clean split layout (eyebrow + big serif
   on the left, form card on the right). Light theme.
   ========================================================= */
.contact-v2 { padding: 120px 0 100px; }

.contact-v2-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-v2-lead { padding-top: 16px; }

/* dashed eyebrow — short gold rule + uppercase label */
.eyebrow.dashed {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 40px;
  border: none;
  padding: 0;
  background: transparent;
}
.eyebrow.dashed::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--gold);
}

.contact-v2-lead h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.04;
  color: var(--ink);
  margin: 0 0 36px;
  font-weight: 400;
}
.contact-v2-lead p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 18px;
  max-width: 440px;
}

/* Form card */
.contact-v2-card {
  background: rgba(244, 239, 228, 0.55);
  border: 1px solid rgba(13, 77, 92, 0.06);
  border-radius: 22px;
  padding: 44px;
}
.contact-v2-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 22px;
}
.contact-v2-form .field { display: flex; flex-direction: column; }
.contact-v2-form .field.full { grid-column: 1 / -1; }

.contact-v2-form label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-v2-form label .opt {
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
  margin-left: 6px;
}

.contact-v2-form input,
.contact-v2-form select,
.contact-v2-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(13, 77, 92, 0.14);
  border-radius: 14px;
  padding: 16px 20px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 0 rgba(13, 77, 92, 0.03);
}
.contact-v2-form input::placeholder,
.contact-v2-form textarea::placeholder {
  color: rgba(13, 77, 92, 0.38);
}
.contact-v2-form input:focus,
.contact-v2-form select:focus,
.contact-v2-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.contact-v2-form textarea {
  min-height: 130px;
  resize: vertical;
  font-family: var(--sans);
}

/* Select wrapper with custom chevron */
.contact-v2-form .select-wrap { position: relative; }
.contact-v2-form .select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 46px;
  cursor: pointer;
}
.contact-v2-form .select-wrap::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  opacity: 0.6;
}

.btn-send {
  grid-column: 1 / -1;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 20px 28px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 10px;
}
.btn-send:hover {
  background: #b88512;
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .contact-v2 { padding: 80px 0 70px; }
  .contact-v2-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-v2-lead { padding-top: 0; }
  .contact-v2-card { padding: 28px; }
  .contact-v2-form { grid-template-columns: 1fr; gap: 22px; }
}

/* =========================================================
   CONTACT PAGE — photo banner + dark form section
   ========================================================= */
.ct-banner {
  min-height: 360px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}
.ct-banner h1 {
  color: #fff;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 86px);
  margin: 0;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 18px rgba(0,0,0,0.25);
}

.ct-dark {
  background: var(--teal-deep);
  color: var(--cream);
  padding: 70px 0 90px;
}
.ct-intro {
  color: rgba(255,255,255,0.92);
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 56px;
}

.ct-form {
  max-width: 960px;
  margin: 0 auto;
}
.ct-row { display: grid; gap: 22px; margin-bottom: 22px; }
.ct-row.two { grid-template-columns: 1fr 1fr; }
.ct-row.split { grid-template-columns: 1fr 1fr; gap: 40px; }
.ct-col { display: flex; flex-direction: column; }
.ct-field { display: flex; flex-direction: column; margin-bottom: 22px; }
.ct-field:last-child { margin-bottom: 0; }

.ct-form label {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}
.ct-form input[type="text"],
.ct-form input[type="email"],
.ct-form input[type="tel"],
.ct-form textarea {
  background: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ct-form input:focus,
.ct-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(197,147,27,0.35);
}
.ct-form textarea { min-height: 140px; resize: vertical; font-family: var(--sans); }

/* Interest checkboxes */
.ct-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.ct-checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.95);
  font-weight: 400;
  margin-bottom: 0;
  font-size: 15px;
  cursor: pointer;
}
.ct-checks input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}

.ct-submit {
  margin-top: 18px;
  width: 100%;
  background: #fff;
  color: var(--teal-deep);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 4px;
  padding: 16px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.ct-submit:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .ct-banner { min-height: 280px; padding: 40px 16px; }
  .ct-dark { padding: 50px 0 70px; }
  .ct-row.two, .ct-row.split { grid-template-columns: 1fr; gap: 22px; }
}

/* =========================================================
   Cream hero variant (used on the Contact page)
   Overrides the inverse theme just for this hero band so it
   reads as a warm tan panel — like the homepage.
   ========================================================= */
body.inverse .hero-v2.hero-cream {
  background: var(--cream);
}
body.inverse .hero-v2.hero-cream .hero-v2-copy h1 {
  color: var(--teal-deep);
}
body.inverse .hero-v2.hero-cream .hero-v2-copy .lede {
  color: var(--ink);
}
body.inverse .hero-v2.hero-cream .hero-v2-copy .eyebrow {
  color: var(--teal);
  border-color: var(--teal);
}

/* =========================================================
   Hide only the large ring-style ornament dot that was sitting
   on top of the description text on the program + camp pages.
   All the smaller accent dots are kept in place.
   ========================================================= */
.ch-hero-ornaments .dot.c4,
.jy-hero-ornaments .dot.j5,
.jy-hero-ornaments .dot.j4,
.yp-hero-ornaments .dot.y4,
.fp-hero-ornaments .dot.f4,
.int-hero-ornaments .dot.i4,
.camp-hero-ornaments .dot.k4 {
  display: none !important;
}

/* =========================================================
   Floating confetti — extra drifting dots on program/camp heroes
   Scatters ~8 little dots across the hero area and drifts them
   around with gentle individual animations.
   ========================================================= */
.ch-hero-ornaments .dot,
.jy-hero-ornaments .dot,
.yp-hero-ornaments .dot,
.fp-hero-ornaments .dot,
.int-hero-ornaments .dot,
.ct-hero-ornaments .dot,
.camp-hero-ornaments .dot {
  animation: dotFloatA 9s ease-in-out infinite;
  will-change: transform;
}

/* Alternate base float timings for the original labelled dots so they don't all move together. */
.ch-hero-ornaments .dot.c2, .jy-hero-ornaments .dot.j2,
.yp-hero-ornaments .dot.y2, .fp-hero-ornaments .dot.f2,
.int-hero-ornaments .dot.i2, .camp-hero-ornaments .dot.k2 {
  animation: dotFloatB 11s ease-in-out infinite;
}
.ch-hero-ornaments .dot.c3, .jy-hero-ornaments .dot.j3,
.yp-hero-ornaments .dot.y3, .fp-hero-ornaments .dot.f3,
.int-hero-ornaments .dot.i3, .camp-hero-ornaments .dot.k3 {
  animation: dotFloatC 13s ease-in-out infinite;
}

/* ---- Drift dots: base shape ---- */
[class$="-hero-ornaments"] .dot.drift {
  position: absolute;
  border-radius: 50%;
  opacity: 0.9;
}

/* Positions/sizes/colors — shared across all program + camp pages. */
[class$="-hero-ornaments"] .dot.drift.d1 {
  width: 8px;  height: 8px;  background: var(--gold);
  top: -420px; left: 6%;
  animation: dotFloatA 10s ease-in-out infinite;
}
[class$="-hero-ornaments"] .dot.drift.d2 {
  width: 6px;  height: 6px;  background: var(--coral);
  top: -380px; left: 34%;
  animation: dotFloatB 12s ease-in-out infinite;
}
[class$="-hero-ornaments"] .dot.drift.d3 {
  width: 10px; height: 10px; background: var(--teal);
  top: -460px; left: 70%;
  animation: dotFloatC 14s ease-in-out infinite;
}
[class$="-hero-ornaments"] .dot.drift.d4 {
  width: 5px;  height: 5px;  background: var(--navy-deep);
  top: -100px; left: 4%;
  animation: dotFloatB 9s  ease-in-out infinite;
}
[class$="-hero-ornaments"] .dot.drift.d5 {
  width: 9px;  height: 9px;  background: var(--gold);
  top: -240px; left: 94%;
  animation: dotFloatA 11s ease-in-out infinite;
}
[class$="-hero-ornaments"] .dot.drift.d6 {
  width: 7px;  height: 7px;  background: var(--teal);
  top: -30px;  left: 44%;
  animation: dotFloatC 10s ease-in-out infinite;
}
[class$="-hero-ornaments"] .dot.drift.d7 {
  width: 14px; height: 14px; border: 2px solid var(--coral); background: transparent;
  top: -500px; left: 18%;
  animation: dotFloatB 15s ease-in-out infinite;
}
[class$="-hero-ornaments"] .dot.drift.d8 {
  width: 12px; height: 12px; border: 2px solid var(--gold); background: transparent;
  top: -320px; left: 54%;
  animation: dotFloatA 13s ease-in-out infinite;
}

/* Wandering paths — the dots trace loose loops around their home positions
   rather than just bobbing. Three distinct patterns so adjacent dots
   never follow the same path. */
@keyframes dotFloatA {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(40px, -22px); }
  40%  { transform: translate(70px, 18px); }
  60%  { transform: translate(22px, 48px); }
  80%  { transform: translate(-30px, 20px); }
  100% { transform: translate(0, 0); }
}
@keyframes dotFloatB {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-50px, 28px); }
  50%  { transform: translate(-18px, 60px); }
  75%  { transform: translate(34px, 12px); }
  100% { transform: translate(0, 0); }
}
@keyframes dotFloatC {
  0%   { transform: translate(0, 0); }
  15%  { transform: translate(28px, 30px); }
  35%  { transform: translate(60px, -12px); }
  55%  { transform: translate(20px, -40px); }
  75%  { transform: translate(-34px, -18px); }
  90%  { transform: translate(-10px, 24px); }
  100% { transform: translate(0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  [class$="-hero-ornaments"] .dot { animation: none !important; }
}

/* =========================================================
   CAMPS hero mosaic (tall rectangle + round disc + wide band)
   Matches the pattern of the program-page mosaics so the
   Camps landing feels like a sibling of Children's / Youth /
   Family programs.
   ========================================================= */
.camp-hero-ornaments { position: relative; height: 0; }
.camp-hero-ornaments .dot { position: absolute; border-radius: 50%; }
.camp-hero-ornaments .dot.k1 { width: 14px; height: 14px; background: var(--gold);  top: -300px; left: 84%; }
.camp-hero-ornaments .dot.k2 { width: 10px; height: 10px; background: var(--coral); top: -210px; left: -14px; }
.camp-hero-ornaments .dot.k3 { width: 8px;  height: 8px;  background: var(--teal);  top: -70px;  left: 60%; }
.camp-hero-ornaments .dot.k4 { width: 18px; height: 18px; border: 2px solid var(--teal); background: transparent; top: -150px; left: 22%; }

.camp-mosaic {
  position: relative;
  height: 540px;
  min-height: 480px;
}
.camp-photo {
  position: absolute;
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 60px -30px rgba(13,77,92,0.45);
}
.camp-photo.tall {
  top: 0; left: 0;
  width: 50%; height: 88%;
  border-radius: 24px 24px 240px 24px;
  border: 10px solid var(--cream);
  animation: campFloatTall 10s ease-in-out infinite;
  z-index: 2;
}
.camp-photo.round {
  top: 4%; right: 4%;
  width: 42%; aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 10px solid var(--cream);
  box-shadow: 0 40px 80px -30px rgba(13,77,92,0.5);
  animation: campFloatRound 11s ease-in-out infinite;
  z-index: 3;
}
.camp-photo.band {
  bottom: 0; right: 8%;
  width: 58%; height: 26%;
  border-radius: 20px 120px 20px 120px;
  border: 8px solid var(--cream);
  animation: campFloatBand 12s ease-in-out infinite;
  z-index: 4;
}

@keyframes campFloatTall {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes campFloatRound {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(9px); }
}
@keyframes campFloatBand {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%      { transform: translateY(-5px) rotate(3deg); }
}

@media (max-width: 860px) {
  .camp-mosaic { height: 420px; min-height: 380px; }
}
@media (max-width: 480px) {
  .camp-mosaic { height: 340px; min-height: 320px; }
  .camp-photo.tall  { width: 58%; height: 82%; border-width: 6px; }
  .camp-photo.round { width: 48%; border-width: 6px; }
  .camp-photo.band  { width: 64%; height: 24%; border-width: 6px; }
}

/* =========================================================
   Scroll reveal transitions (homepage)
   Base: elements fade + slide in when they enter the viewport.
   JS in index.html toggles `.in-view` via IntersectionObserver.
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.9s cubic-bezier(.22, 1, .36, 1),
    transform 0.9s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Directional variants */
.reveal-left {
  transform: translateX(-42px);
}
.reveal-left.in-view {
  transform: translateX(0);
}
.reveal-right {
  transform: translateX(42px);
}
.reveal-right.in-view {
  transform: translateX(0);
}
.reveal-zoom {
  transform: scale(0.94);
  opacity: 0;
}
.reveal-zoom.in-view {
  transform: scale(1);
  opacity: 1;
}

/* Staggered children — each child reveals slightly after the prev */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(.22, 1, .36, 1),
    transform 0.8s cubic-bezier(.22, 1, .36, 1);
}
.reveal-stagger.in-view > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.55s; }

/* Subtle float-up for the outline watermarks */
.outline-text.reveal {
  transform: translateY(48px);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-zoom,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
