/* =====================================================================
   Discovery Hebrew School, Site Styles
   Aesthetic: Editorial-playful. Strong serif display type, clean sans body,
   confetti-like color accents from the DHS logo palette, hand-drawn feel.
   ===================================================================== */

/* When Sanity content replaces a headline, the inline-styled <em> gets
   wiped out. This rule makes any <em> inside a [data-sanity-em] element
   show in DHS blue italic by default. Specific contexts (.hero h1 em,
   .philosophy__heading em) have their own rules and override as needed. */
[data-sanity-em] em { color: var(--dhs-blue); font-style: italic; }

/* ===== Tokens ===== */
:root {
  /* DHS palette pulled from the logo */
  --dhs-blue: #1B7BC7;
  --dhs-blue-deep: #0F4D85;
  --dhs-blue-soft: #E8F3FB;
  --dhs-green: #8BC441;
  --dhs-green-deep: #5C8B1F;
  --dhs-yellow: #F2B21F;
  --dhs-yellow-deep: #C18800;
  --dhs-red: #E33232;
  --dhs-red-deep: #B01F1F;

  /* Surfaces */
  --cream: #FBF7EE;
  --cream-2: #F4EEDF;
  --paper: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #4B4B4B;
  --ink-muted: #7A7A7A;
  --hairline: rgba(26,26,26,0.08);
  --hairline-strong: rgba(26,26,26,0.16);

  /* Type */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-handwritten: 'Caveat', 'Marker Felt', cursive;

  /* Sizes (fluid where possible) */
  --size-hero: clamp(2.75rem, 7vw, 5.5rem);
  --size-h1: clamp(2.25rem, 5vw, 4rem);
  --size-h2: clamp(1.5rem, 3vw, 2.25rem);
  --size-h3: 1.375rem;
  --size-body: 1.0625rem;
  --size-small: 0.9375rem;
  --size-tiny: 0.8125rem;

  /* Layout */
  --max-w: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ===== Layout helpers ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 238, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; gap: 1.5rem;
}
.site-header__logo img { height: 56px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 500;
  font-size: var(--size-small); padding: 0.6rem 0.9rem; border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover { background: var(--dhs-blue-soft); color: var(--dhs-blue-deep); }
.site-nav a.is-active { color: var(--dhs-blue-deep); }
.site-nav a.is-active::after {
  content: ""; display: block; width: 24px; height: 3px; background: var(--dhs-yellow);
  border-radius: 2px; margin: 4px auto -10px;
}
.btn-register {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--dhs-red); color: white !important; text-decoration: none;
  padding: 0.7rem 1.25rem; border-radius: 999px; font-weight: 600;
  font-size: var(--size-small); margin-left: 0.5rem;
  box-shadow: 0 2px 0 var(--dhs-red-deep);
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn-register:hover {
  background: var(--dhs-red) !important; transform: translateY(-1px);
  box-shadow: 0 3px 0 var(--dhs-red-deep);
}
.btn-register::after {
  content: "→"; font-weight: 400; transition: transform 0.15s;
}
.btn-register:hover::after { transform: translateX(2px); }

/* Mobile nav button */
.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--hairline-strong);
  border-radius: 6px; padding: 0.5rem 0.75rem; font-size: 1rem;
  cursor: pointer;
}
.nav-toggle:hover { background: var(--dhs-blue-soft); }

@media (max-width: 880px) {
  .site-header__inner { position: relative; }
  .site-nav { gap: 0.5rem; }
  .site-nav a:not(.btn-register) { display: none; }
  .nav-toggle { display: inline-block; }

  .site-nav.is-open {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    padding: 0.5rem;
    z-index: 80;
  }
  .site-nav.is-open a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    text-align: left;
  }
  .site-nav.is-open a:not(.btn-register) { color: var(--ink); }
  .site-nav.is-open .nav-toggle { display: none; }
  .site-nav.is-open .btn-register {
    margin: 0.35rem 0 0;
    justify-content: center;
  }
  body.nav-open { overflow: hidden; }
}

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(242, 178, 31, 0.18), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(139, 196, 65, 0.12), transparent 50%),
    var(--cream);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-handwritten); font-size: 1.6rem;
  color: var(--dhs-blue-deep);
  transform: rotate(-2deg);
  margin-bottom: 0.5rem;
}
.hero__eyebrow::before {
  content: ""; width: 24px; height: 2px; background: var(--dhs-yellow);
  border-radius: 2px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--size-hero); line-height: 1.02; letter-spacing: -0.02em;
  margin: 0 0 1.25rem; max-width: 14ch;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic; color: var(--dhs-blue);
  font-weight: 400; position: relative; display: inline-block;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.05em; height: 0.2em;
  background: var(--dhs-yellow); opacity: 0.45; z-index: -1;
  transform: skewX(-6deg);
}
.hero__lead {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem); color: var(--ink-soft);
  max-width: 38ch; margin: 0 0 2rem; line-height: 1.5;
}
.hero__ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--dhs-red); color: white; text-decoration: none;
  padding: 1rem 1.75rem; border-radius: 999px; font-weight: 600;
  font-size: 1rem; border: none;
  box-shadow: 0 3px 0 var(--dhs-red-deep);
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--dhs-red-deep); }
.btn-primary::after { content: "→"; transition: transform 0.15s; }
.btn-primary:hover::after { transform: translateX(3px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--dhs-blue-deep); text-decoration: none;
  padding: 1rem 1.5rem; border-radius: 999px; font-weight: 600;
  font-size: 1rem; border: 2px solid var(--dhs-blue-deep);
  transition: background 0.15s, color 0.15s;
}
.btn-secondary:hover { background: var(--dhs-blue-deep); color: white; }

.hero__layout {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) { .hero__layout { grid-template-columns: 1fr; } }

.hero__visual {
  position: relative; aspect-ratio: 4/5;
  background: var(--dhs-blue-soft);
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(15,77,133,0.35),
              0 12px 24px -12px rgba(15,77,133,0.15);
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }

/* Floating decorative confetti around hero visual */
.hero__visual-wrap { position: relative; }
.confetti {
  position: absolute; pointer-events: none; user-select: none;
  font-size: 2rem; opacity: 0.9;
}
.confetti--1 { top: -12px; right: -16px; color: var(--dhs-yellow); transform: rotate(15deg); font-size: 2.5rem; }
.confetti--2 { bottom: 20%; left: -28px; color: var(--dhs-green); font-size: 2rem; transform: rotate(-15deg); }
.confetti--3 { top: 30%; right: -36px; color: var(--dhs-red); font-size: 1.5rem; }

/* ===== Tile band ===== */
.tile-band {
  background: var(--paper);
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.tile-band__heading {
  text-align: center; font-family: var(--font-display);
  font-size: var(--size-h3); font-weight: 500; color: var(--ink-soft);
  margin: 0 0 1.5rem; font-style: italic;
}
.tile-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem;
}
@media (max-width: 880px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }

.tile {
  display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none; color: white;
  padding: 1.5rem 1.25rem 1.25rem;
  border-radius: 18px; aspect-ratio: 1.05;
  font-weight: 600; position: relative; overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 16px 24px -16px rgba(0,0,0,0.25); }
.tile__icon {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.22); border-radius: 10px; font-size: 1.25rem;
}
.tile__label { font-size: 1.0625rem; line-height: 1.15; margin-top: 1.5rem; }
.tile__arrow { position: absolute; top: 1.25rem; right: 1.25rem; opacity: 0.7; font-size: 1.1rem; }

.tile--blue { background: var(--dhs-blue); }
.tile--yellow { background: var(--dhs-yellow); color: var(--dhs-yellow-deep); }
.tile--yellow .tile__icon { background: rgba(0,0,0,0.12); }
.tile--red { background: var(--dhs-red); }
.tile--green { background: var(--dhs-green); color: var(--dhs-green-deep); }
.tile--green .tile__icon { background: rgba(0,0,0,0.13); }
.tile--blue-deep { background: var(--dhs-blue-deep); }

/* ===== Generic section spacing ===== */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--cream { background: var(--cream); }
.section--cream-2 { background: var(--cream-2); }
.section--paper { background: var(--paper); }
.section--blue { background: var(--dhs-blue-deep); color: white; }

.section-eyebrow {
  font-family: var(--font-handwritten); font-size: 1.5rem;
  color: var(--dhs-blue); margin: 0 0 0.25rem;
  transform: rotate(-1.5deg); display: inline-block;
}
.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--size-h1); line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 1rem; color: var(--ink);
}
.section--blue .section-title { color: white; }
.section-lead {
  font-size: 1.1875rem; color: var(--ink-soft); max-width: 56ch;
  margin: 0 0 2.5rem; line-height: 1.55;
}
.section--blue .section-lead { color: rgba(255,255,255,0.85); }

/* ===== Welcome (director) section ===== */
.welcome {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 880px) { .welcome { grid-template-columns: 1fr; } }
.welcome__photo {
  aspect-ratio: 1; background: var(--dhs-yellow);
  border-radius: 50%; overflow: hidden; max-width: 360px; margin: 0 auto;
  position: relative;
  background-size: cover; background-position: center;
}
.welcome__photo::after {
  content: "Director photo"; position: absolute; inset: auto auto 50% 50%;
  transform: translate(-50%, 50%);
  color: var(--dhs-yellow-deep); font-weight: 600; font-size: 0.875rem;
  letter-spacing: 0.05em;
}
.welcome__photo[style*="background-image"]::after { content: none; }
.welcome__photo--decoration {
  position: absolute; inset: -8px; border: 2px dashed var(--dhs-blue);
  border-radius: 50%; pointer-events: none; opacity: 0.5;
}
.welcome blockquote {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  line-height: 1.35; color: var(--ink); margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}
.welcome blockquote::before { content: "\201C"; color: var(--dhs-yellow); margin-right: 0.1em; }
.welcome blockquote::after { content: "\201D"; color: var(--dhs-yellow); margin-left: 0.1em; }
.welcome cite {
  font-style: normal; font-weight: 600; font-size: var(--size-small);
  color: var(--ink-soft); display: block; letter-spacing: 0.02em;
}
.welcome cite span { color: var(--ink-muted); font-weight: 400; }

/* ===== Why DHS, three columns ===== */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: var(--paper); border-radius: 20px; padding: 2rem;
  border: 1px solid var(--hairline);
  position: relative;
}
.why-card__num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 600;
  line-height: 1; color: var(--dhs-yellow); margin-bottom: 1rem;
  font-style: italic; letter-spacing: -0.04em;
}
.why-card:nth-child(2) .why-card__num { color: var(--dhs-green); }
.why-card:nth-child(3) .why-card__num { color: var(--dhs-red); }
.why-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.5rem; margin: 0 0 0.5rem; line-height: 1.15;
  letter-spacing: -0.01em;
}
.why-card p { color: var(--ink-soft); margin: 0; font-size: 1rem; line-height: 1.55; }

/* ===== Featured testimonial ===== */
.testimonial-feature {
  text-align: center;
  max-width: 720px; margin: 0 auto;
  position: relative; padding: 2rem 0;
}
.testimonial-feature::before, .testimonial-feature::after {
  content: ""; position: absolute; width: 60px; height: 4px;
  background: var(--dhs-yellow); border-radius: 2px;
}
.testimonial-feature::before { top: 0; left: 50%; transform: translateX(-50%); }
.testimonial-feature::after { bottom: 0; left: 50%; transform: translateX(-50%); }
.testimonial-feature blockquote {
  font-family: var(--font-display); font-weight: 400; font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.3;
  margin: 0 0 1.5rem; color: var(--ink);
}
.testimonial-feature cite {
  font-style: normal; color: var(--ink-soft); font-weight: 500;
  font-size: var(--size-small);
}

/* ===== Events strip ===== */
.events-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
@media (max-width: 880px) { .events-strip { grid-template-columns: 1fr; } }
.event-card {
  background: var(--paper); border-radius: 16px; padding: 1.5rem;
  border: 1px solid var(--hairline);
  display: flex; align-items: flex-start; gap: 1rem;
  text-decoration: none; color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.event-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(0,0,0,0.18); }
.event-card__date {
  background: var(--dhs-blue-soft); color: var(--dhs-blue-deep);
  border-radius: 12px; padding: 0.5rem 0.6rem; text-align: center;
  min-width: 64px; flex-shrink: 0;
}
.event-card__date .day {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 1.625rem; line-height: 1; margin-bottom: 2px;
}
.event-card__date .month {
  display: block; font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.event-card h4 {
  margin: 0 0 0.25rem; font-size: 1.0625rem; font-weight: 600;
  line-height: 1.25;
}
.event-card p {
  margin: 0; color: var(--ink-muted); font-size: var(--size-small);
}

/* ===== Big bottom CTA ===== */
.cta-block {
  background: var(--dhs-blue-deep); color: white;
  border-radius: 28px; padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta-block::before {
  content: ""; position: absolute; top: -40px; left: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--dhs-yellow); opacity: 0.18;
}
.cta-block::after {
  content: ""; position: absolute; bottom: -60px; right: -30px;
  width: 200px; height: 200px; border-radius: 50%;
  background: var(--dhs-red); opacity: 0.18;
}
.cta-block h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1;
  margin: 0 0 1rem; letter-spacing: -0.02em;
  position: relative;
}
.cta-block p {
  font-size: 1.1875rem; opacity: 0.9; margin: 0 0 2rem;
  max-width: 50ch; margin-left: auto; margin-right: auto;
  position: relative;
}
.cta-block .btn-primary { position: relative; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
.site-footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 880px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
.site-footer h4 {
  font-family: var(--font-display); color: white; font-weight: 600;
  font-size: 1.0625rem; margin: 0 0 1rem; letter-spacing: -0.005em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; font-size: var(--size-small); }
.site-footer a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color 0.15s, color 0.15s;
}
.site-footer a:hover { color: white; border-bottom-color: var(--dhs-yellow); }
.site-footer__brand p {
  font-size: var(--size-small); line-height: 1.6;
  color: rgba(255,255,255,0.65); margin: 0.75rem 0;
}
.site-footer__brand img {
  height: 64px; width: auto; margin-bottom: 0.5rem;
}
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--size-tiny); color: rgba(255,255,255,0.55); flex-wrap: wrap; gap: 1rem;
}
.site-footer__bottom a { color: rgba(255,255,255,0.7); }

/* ===== Curriculum page ===== */
.page-header {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(27, 123, 199, 0.12), transparent 50%),
    var(--cream);
  border-bottom: 1px solid var(--hairline);
  text-align: center;
}
.page-header__eyebrow {
  font-family: var(--font-handwritten); font-size: 1.6rem;
  color: var(--dhs-blue); transform: rotate(-1deg);
  display: inline-block; margin-bottom: 0.25rem;
}
.page-header h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--size-h1); margin: 0 0 1rem;
  letter-spacing: -0.02em; line-height: 1.05;
}
.page-header p {
  font-size: 1.1875rem; color: var(--ink-soft);
  max-width: 60ch; margin: 0 auto; line-height: 1.55;
}

.units {
  display: grid; gap: 1.25rem; margin-top: 2rem;
}
.unit {
  background: var(--paper); border-radius: 22px; padding: 2rem 2.25rem;
  border: 1px solid var(--hairline); position: relative;
  display: grid; grid-template-columns: 90px 1fr; gap: 1.5rem;
  align-items: start;
}
@media (max-width: 700px) { .unit { grid-template-columns: 1fr; } }
.unit__badge {
  width: 90px; height: 90px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: 600;
}
.unit:nth-child(1) .unit__badge { background: var(--dhs-blue-soft); color: var(--dhs-blue-deep); }
.unit:nth-child(2) .unit__badge { background: #FBE6E6; color: var(--dhs-red-deep); }
.unit:nth-child(3) .unit__badge { background: #FFF3D6; color: var(--dhs-yellow-deep); }
.unit:nth-child(4) .unit__badge { background: #EFF7DD; color: var(--dhs-green-deep); }
.unit:nth-child(5) .unit__badge { background: var(--dhs-blue-soft); color: var(--dhs-blue-deep); }
.unit__num {
  font-family: var(--font-handwritten); font-size: 1.25rem;
  color: var(--ink-muted); margin: 0 0 0.25rem;
}
.unit__num strong { color: var(--dhs-yellow-deep); font-weight: 700; }
.unit h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.875rem; line-height: 1.1; letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}
.unit p {
  margin: 0; color: var(--ink-soft); line-height: 1.6;
  font-size: 1.0625rem;
}

.grade-band {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-top: 2.5rem;
}
@media (max-width: 700px) { .grade-band { grid-template-columns: 1fr; } }
.grade-card {
  padding: 1.5rem 1.75rem; border-radius: 18px;
  border-left: 6px solid;
}
.grade-card--younger {
  background: #FFF8E5; border-color: var(--dhs-yellow);
}
.grade-card--older {
  background: #F0F8E0; border-color: var(--dhs-green);
}
.grade-card h4 {
  font-family: var(--font-display); margin: 0 0 0.25rem;
  font-size: 1.25rem; font-weight: 600;
}
.grade-card p { margin: 0; color: var(--ink-soft); font-size: var(--size-small); }

/* Aleph Champ */
.aleph-section {
  background: var(--paper); border-radius: 24px; padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--hairline); margin-top: 3rem;
}
.aleph-section__head {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem;
}
.aleph-badge {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--dhs-red); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.875rem; font-weight: 700;
  flex-shrink: 0;
}
.aleph-section h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.75rem; margin: 0; letter-spacing: -0.01em;
}
.aleph-section > p {
  color: var(--ink-soft); margin: 0 0 1.5rem; font-size: 1.0625rem;
  max-width: 64ch;
}
.aleph-levels {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.5rem;
  margin-top: 1.25rem;
}
.aleph-level {
  text-align: center; padding: 0.75rem 0.5rem;
  border-radius: 10px; font-size: 0.8125rem; font-weight: 600;
  color: white;
}
.aleph-level--white { background: #FAFAFA; color: var(--ink); border: 1px solid var(--hairline-strong); }
.aleph-level--red { background: var(--dhs-red); }
.aleph-level--orange { background: #E67821; }
.aleph-level--yellow { background: var(--dhs-yellow); color: var(--dhs-yellow-deep); }
.aleph-level--green { background: var(--dhs-green); }
.aleph-level--blue { background: var(--dhs-blue); }

/* ===== Dates & Rates ===== */
.feature-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem;
  margin: 0 0 3rem;
}
@media (max-width: 880px) { .feature-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feature-row { grid-template-columns: 1fr; } }
.feature {
  text-align: center; padding: 1.25rem 0.75rem;
  background: var(--paper); border-radius: 16px;
  border: 1px solid var(--hairline);
}
.feature__icon {
  width: 48px; height: 48px; margin: 0 auto 0.75rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; font-size: 1.5rem;
}
.feature:nth-child(1) .feature__icon { background: var(--dhs-blue-soft); color: var(--dhs-blue-deep); }
.feature:nth-child(2) .feature__icon { background: #FFF3D6; color: var(--dhs-yellow-deep); }
.feature:nth-child(3) .feature__icon { background: #FBE6E6; color: var(--dhs-red-deep); }
.feature:nth-child(4) .feature__icon { background: #EFF7DD; color: var(--dhs-green-deep); }
.feature:nth-child(5) .feature__icon { background: var(--dhs-blue-soft); color: var(--dhs-blue-deep); }
.feature h4 {
  margin: 0; font-size: var(--size-small); font-weight: 600;
  line-height: 1.3;
}

.pricing {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem;
  margin: 0 0 3rem;
  align-items: stretch;
}
@media (max-width: 880px) { .pricing { grid-template-columns: 1fr; } }
.pricing > * { display: flex; flex-direction: column; }

.price-card {
  background: var(--paper); border-radius: 24px;
  padding: 2.5rem; border: 2px solid var(--dhs-blue);
  position: relative; overflow: hidden;
}
.price-card::before {
  content: "★"; position: absolute; top: -20px; right: -10px;
  font-size: 8rem; color: var(--dhs-yellow); opacity: 0.18;
  font-family: var(--font-display); transform: rotate(15deg);
}
.price-card__eyebrow {
  font-family: var(--font-handwritten); font-size: 1.4rem;
  color: var(--dhs-blue); margin: 0 0 0.25rem;
  position: relative;
}
.price-card .amount {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1;
  color: var(--ink); margin: 0 0 0.25rem; letter-spacing: -0.03em;
  position: relative;
}
.price-card .amount sup { font-size: 0.45em; vertical-align: 0.7em; color: var(--ink-soft); font-weight: 500; }
.price-card .amount-meta {
  color: var(--ink-soft); margin: 0 0 1.5rem; font-size: var(--size-small);
}
.early-bird {
  background: var(--dhs-yellow); color: var(--dhs-yellow-deep);
  padding: 1rem 1.25rem; border-radius: 14px;
  font-size: var(--size-small); font-weight: 500;
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.early-bird strong { font-weight: 700; }
.early-bird-icon {
  font-size: 1.5rem; line-height: 1; flex-shrink: 0;
}
.discounts {
  font-size: var(--size-small); color: var(--ink-muted);
  margin: 0;
}

.includes {
  background: var(--cream-2); border-radius: 24px;
  padding: 2.5rem;
}
.includes h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.375rem; margin: 0 0 1.25rem; letter-spacing: -0.005em;
}
.includes ul {
  list-style: none; padding: 0; margin: 0;
}
.includes li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.625rem 0; border-bottom: 1px solid rgba(26,26,26,0.06);
  font-size: 1rem;
}
.includes li:last-child { border-bottom: none; }
.includes li::before {
  content: ""; width: 22px; height: 22px; flex-shrink: 0;
  background: var(--dhs-green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.includes li::after {
  content: ""; position: absolute; left: 6px; top: 12px;
  width: 6px; height: 10px;
  border: solid white; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.includes li { position: relative; }

.logistics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin: 2rem 0 2rem;
}
@media (max-width: 700px) { .logistics { grid-template-columns: 1fr; } }
.logistics-card {
  background: var(--paper); border-radius: 16px;
  padding: 1.5rem; border: 1px solid var(--hairline);
}
.logistics-card .label {
  font-family: var(--font-handwritten); font-size: 1.2rem;
  color: var(--dhs-blue); margin-bottom: 0.25rem;
  display: block;
}
.logistics-card .value {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.005em;
}
.logistics-card .meta {
  color: var(--ink-muted); font-size: var(--size-small);
  margin-top: 0.25rem;
}

.no-turn-away {
  background: var(--dhs-yellow); color: var(--dhs-yellow-deep);
  padding: 2rem 2.5rem; border-radius: 20px;
  margin: 2rem 0 0;
  display: flex; align-items: center; gap: 1.5rem;
}
.no-turn-away__icon {
  font-size: 2.5rem; flex-shrink: 0; line-height: 1;
}
.no-turn-away strong {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.375rem; display: block; margin-bottom: 0.25rem;
  letter-spacing: -0.005em;
}
.no-turn-away p { margin: 0; font-size: var(--size-small); line-height: 1.5; }

/* ===== Decorative scattered marks ===== */
.scribble-1 {
  position: absolute; pointer-events: none; opacity: 0.7;
}

/* =====================================================================
   ABOUT page
   ===================================================================== */
.philosophy {
  display: grid; grid-template-columns: 0.4fr 0.6fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) { .philosophy { grid-template-columns: 1fr; } }
.philosophy__heading {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0;
  position: sticky; top: 100px;
}
.philosophy__heading em { color: var(--dhs-blue); font-style: italic; }
.philosophy__body p {
  font-size: 1.125rem; color: var(--ink-soft); line-height: 1.65;
  margin: 0 0 1.25rem;
}
.philosophy__body p:first-child::first-letter {
  font-family: var(--font-display); font-size: 4em; font-weight: 600;
  float: left; line-height: 0.9; padding-right: 0.1em; padding-top: 0.1em;
  color: var(--dhs-red);
}

/* Staff grid */
.staff-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 700px) { .staff-grid { grid-template-columns: 1fr; } }
.staff-card {
  background: var(--paper); border-radius: 22px; overflow: hidden;
  border: 1px solid var(--hairline);
  display: grid; grid-template-columns: 140px 1fr;
}
@media (max-width: 600px) { .staff-card { grid-template-columns: 1fr; } }
.staff-card__photo {
  background: var(--cream-2); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-muted); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  position: relative;
  /* When a Sanity photo is set via background-image, fill the square. */
  background-size: cover; background-position: center;
}
.staff-card:nth-child(1) .staff-card__photo { background: var(--dhs-blue-soft); color: var(--dhs-blue-deep); }
.staff-card:nth-child(2) .staff-card__photo { background: #FFF3D6; color: var(--dhs-yellow-deep); }
.staff-card:nth-child(3) .staff-card__photo { background: #FBE6E6; color: var(--dhs-red-deep); }
.staff-card:nth-child(4) .staff-card__photo { background: #EFF7DD; color: var(--dhs-green-deep); }
.staff-card__body { padding: 1.5rem 1.5rem 1.75rem; }
.staff-card__role {
  font-family: var(--font-handwritten); font-size: 1.2rem;
  color: var(--dhs-blue); margin: 0 0 0.1rem;
}
.staff-card__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.375rem; margin: 0 0 0.5rem; letter-spacing: -0.005em;
}
.staff-card__bio {
  font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.55;
  margin: 0;
}

/* =====================================================================
   FAQs page
   ===================================================================== */
.faq-categories {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem; margin-bottom: 2rem;
  background: var(--paper); padding: 0.5rem; border-radius: 14px;
  border: 1px solid var(--hairline);
}
.faq-cat-btn {
  background: transparent; border: none; padding: 0.7rem 1rem;
  border-radius: 10px; font-size: var(--size-small); font-weight: 600;
  color: var(--ink-soft); cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.faq-cat-btn:hover { background: var(--cream-2); }
.faq-cat-btn.is-active { background: var(--dhs-blue); color: white; }

.faq-list { display: grid; gap: 0.75rem; }
details.faq {
  background: var(--paper); border-radius: 16px;
  border: 1px solid var(--hairline);
  padding: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}
details.faq[open] {
  border-color: var(--dhs-blue);
  box-shadow: 0 4px 12px -8px rgba(15, 77, 133, 0.25);
}
details.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.25rem 1.5rem; padding-right: 3.5rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.005em;
  position: relative;
  color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 1.5rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 400;
  color: var(--dhs-blue); line-height: 1;
  transition: transform 0.2s;
}
details.faq[open] summary::after { content: "−"; }
details.faq[open] summary { color: var(--dhs-blue-deep); }
.faq__answer {
  padding: 0 1.5rem 1.25rem; color: var(--ink-soft);
  font-size: 1rem; line-height: 1.65;
}
.faq__answer p { margin: 0 0 0.75rem; }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__category-label {
  display: inline-block; font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dhs-blue); margin-bottom: 0.4rem;
}

/* =====================================================================
   Testimonials page
   ===================================================================== */
.testimonial-hero {
  background: var(--cream-2); border-radius: 28px;
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center; position: relative; overflow: hidden;
  margin-bottom: 3rem;
}
.testimonial-hero::before {
  content: "\201C"; position: absolute; top: -2rem; left: 1.5rem;
  font-family: var(--font-display); font-size: 14rem;
  color: var(--dhs-yellow); opacity: 0.25; line-height: 1;
}
.testimonial-hero blockquote {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.3;
  margin: 0 0 1.5rem; color: var(--ink); position: relative;
  max-width: 36ch; margin-left: auto; margin-right: auto;
}
.testimonial-hero cite {
  font-style: normal; font-weight: 600; font-size: var(--size-small);
  color: var(--ink-soft); display: block;
}
.testimonial-hero cite span { color: var(--ink-muted); font-weight: 400; }

.testimonial-grid {
  columns: 2; column-gap: 1.5rem;
}
@media (max-width: 700px) { .testimonial-grid { columns: 1; } }
.testimonial-card {
  background: var(--paper); border-radius: 18px;
  padding: 1.75rem 1.75rem 1.5rem;
  border: 1px solid var(--hairline);
  break-inside: avoid; margin-bottom: 1.5rem;
}
.testimonial-card__quote {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.0625rem; line-height: 1.55; color: var(--ink);
  margin: 0 0 1rem;
}
.testimonial-card__author {
  font-size: var(--size-small); font-weight: 600;
  color: var(--ink-soft); padding-top: 0.75rem;
  border-top: 1px solid var(--hairline);
}
.testimonial-card__author span {
  color: var(--ink-muted); font-weight: 400; display: block;
  font-size: var(--size-tiny); margin-top: 0.15rem;
}
/* Vary card accents */
.testimonial-card:nth-child(3n+1) { border-top: 4px solid var(--dhs-blue); }
.testimonial-card:nth-child(3n+2) { border-top: 4px solid var(--dhs-yellow); }
.testimonial-card:nth-child(3n+3) { border-top: 4px solid var(--dhs-green); }
.testimonial-card:nth-child(5n+1) { border-top: 4px solid var(--dhs-red); }

/* =====================================================================
   Calendar page
   ===================================================================== */
.calendar-actions {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  margin-bottom: 2rem; align-items: center;
}
.cal-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--paper); border: 1px solid var(--hairline-strong);
  padding: 0.7rem 1.1rem; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 500;
  font-size: var(--size-small);
  transition: background 0.15s, border-color 0.15s;
}
.cal-btn:hover { background: var(--cream-2); border-color: var(--dhs-blue); }
.cal-btn__icon { font-size: 1.05rem; }

.school-year-banner {
  background: var(--dhs-blue-soft); color: var(--dhs-blue-deep);
  border-radius: 18px; padding: 1.75rem 2rem;
  display: flex; gap: 1.5rem; align-items: center;
  margin-bottom: 2rem;
}
.school-year-banner__icon {
  font-size: 2.5rem; flex-shrink: 0;
}
.school-year-banner__text {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.375rem; line-height: 1.3; letter-spacing: -0.005em;
}
.school-year-banner__text strong { font-weight: 600; }
.school-year-banner__text span { display: block; font-family: var(--font-body);
  font-size: 0.9375rem; color: var(--dhs-blue); margin-top: 0.25rem; font-weight: 500; }

.calendar-pdf-wrap {
  background: var(--paper); border-radius: 22px;
  border: 1px solid var(--hairline);
  padding: 2rem;
  text-align: center;
}
.calendar-pdf-placeholder {
  background: var(--cream-2); border-radius: 14px;
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.75rem; color: var(--ink-muted);
  border: 2px dashed var(--hairline-strong);
}
.calendar-pdf-placeholder__icon { font-size: 3rem; }
.calendar-pdf-placeholder__label {
  font-family: var(--font-display); font-weight: 500; font-size: 1.25rem;
  color: var(--ink-soft);
}
.calendar-pdf-placeholder__sub {
  font-size: var(--size-small); color: var(--ink-muted);
  max-width: 36ch;
}

/* Upcoming events list (full version) */
.events-list {
  display: grid; gap: 0.75rem; margin-top: 2rem;
}
.events-list .event-card { background: var(--paper); }

/* =====================================================================
   Gallery page
   ===================================================================== */
.gallery-filters {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 2rem; justify-content: center;
}
.gallery-filter {
  background: var(--paper); border: 1px solid var(--hairline-strong);
  padding: 0.55rem 1rem; border-radius: 999px;
  font-size: var(--size-small); font-weight: 500;
  color: var(--ink-soft); cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.gallery-filter:hover { background: var(--cream-2); }
.gallery-filter.is-active {
  background: var(--dhs-blue); color: white; border-color: var(--dhs-blue);
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
}
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
  aspect-ratio: 1;
  border-radius: 14px; overflow: hidden;
  position: relative;
  display: flex; align-items: flex-end;
  cursor: pointer;
  transition: transform 0.18s;
}
.gallery-item:hover { transform: scale(0.99); }
.gallery-item:nth-child(1) { aspect-ratio: 4/5; }
.gallery-item:nth-child(5) { aspect-ratio: 4/5; }
.gallery-item:nth-child(8) { aspect-ratio: 4/5; }
/* When a real photo from Sanity is loaded, this div sits ON TOP of the
   colored placeholder bg and emoji and covers them. When empty (no
   background-image set), it's transparent and the placeholder shows through. */
.gallery-item__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.gallery-item__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85); font-size: 1.75rem;
}
.gallery-item__caption {
  position: relative; padding: 1rem;
  color: white; font-size: var(--size-small); font-weight: 500;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent 80%);
  width: 100%;
}
.gallery-item:nth-child(7n+1) { background: var(--dhs-blue); }
.gallery-item:nth-child(7n+2) { background: var(--dhs-yellow); }
.gallery-item:nth-child(7n+3) { background: var(--dhs-red); }
.gallery-item:nth-child(7n+4) { background: var(--dhs-green); }
.gallery-item:nth-child(7n+5) { background: var(--dhs-blue-deep); }
.gallery-item:nth-child(7n+6) { background: #E67821; }
.gallery-item:nth-child(7n+7) { background: var(--dhs-yellow-deep); }

/* =====================================================================
   Contact page
   ===================================================================== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: grid; gap: 1.25rem; }
.contact-card {
  background: var(--paper); border-radius: 18px;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--hairline);
  border-left: 4px solid;
  display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: center;
}
.contact-card:nth-child(1) { border-left-color: var(--dhs-blue); }
.contact-card:nth-child(2) { border-left-color: var(--dhs-yellow); }
.contact-card:nth-child(3) { border-left-color: var(--dhs-green); }
.contact-card:nth-child(4) { border-left-color: var(--dhs-red); }
.contact-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream-2); font-size: 1.5rem;
}
.contact-card__label {
  font-family: var(--font-handwritten); font-size: 1.1rem;
  color: var(--dhs-blue); margin: 0;
}
.contact-card__value {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.0625rem; margin: 0; letter-spacing: -0.005em;
}
.contact-card__value a { text-decoration: none; color: inherit; border-bottom: 2px solid var(--dhs-yellow); }
.contact-card__sub {
  font-size: var(--size-small); color: var(--ink-muted); margin: 0.15rem 0 0;
}

.contact-form {
  background: var(--paper); border-radius: 22px;
  padding: 2rem; border: 1px solid var(--hairline);
}
.contact-form h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.5rem; margin: 0 0 0.25rem; letter-spacing: -0.005em;
}
.contact-form > p {
  color: var(--ink-soft); margin: 0 0 1.5rem;
  font-size: var(--size-small);
}
.field { margin-bottom: 1rem; }
.field label {
  display: block; font-size: var(--size-tiny); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 0.4rem;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 0.75rem 0.9rem;
  background: var(--cream); border: 1.5px solid var(--hairline-strong);
  border-radius: 10px; font-family: var(--font-body);
  font-size: 1rem; color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--dhs-blue); background: var(--paper);
}
.field textarea { min-height: 120px; resize: vertical; }

.map-embed {
  background: var(--cream-2); aspect-ratio: 16/9;
  border-radius: 18px; margin-top: 2rem;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.5rem;
  color: var(--ink-muted);
  border: 2px dashed var(--hairline-strong);
}
.map-embed__icon { font-size: 2.5rem; }
.map-embed__label { font-family: var(--font-display); font-size: 1.125rem; color: var(--ink-soft); }

/* =====================================================================
   Section variant for split header pages
   ===================================================================== */
.split-header {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 880px) { .split-header { grid-template-columns: 1fr; text-align: left; } }
.split-header h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--size-h1); line-height: 1.05;
  margin: 0 0 1rem; letter-spacing: -0.02em;
}
.split-header p {
  font-size: 1.1875rem; color: var(--ink-soft); margin: 0;
  line-height: 1.55;
}
.split-header__art {
  background: var(--dhs-blue-soft); border-radius: 24px;
  aspect-ratio: 1.2; display: flex; align-items: center; justify-content: center;
  font-size: 6rem; color: var(--dhs-blue-deep);
  position: relative; overflow: hidden;
}
.split-header__art::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, var(--dhs-yellow) 8px, transparent 9px),
    radial-gradient(circle at 80% 20%, var(--dhs-red) 6px, transparent 7px),
    radial-gradient(circle at 70% 70%, var(--dhs-green) 10px, transparent 11px),
    radial-gradient(circle at 30% 30%, var(--dhs-yellow) 5px, transparent 6px);
  opacity: 0.85;
}

/* =====================================================================
   REGISTRATION FORM
   ===================================================================== */

/* Progress bar, sticky under header */
.reg-progress {
  position: sticky; top: 84px; z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
  padding: 1.25rem 0;
}
.reg-progress__inner {
  display: flex; align-items: center; gap: 0;
  max-width: 880px; margin: 0 auto; padding: 0 var(--gutter);
  position: relative;
}
.reg-step {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 2;
  cursor: pointer; user-select: none;
}
.reg-step__circle {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--hairline-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.9375rem; color: var(--ink-muted);
  transition: all 0.2s;
  margin-bottom: 0.4rem;
}
.reg-step__label {
  font-size: 0.75rem; font-weight: 500; color: var(--ink-muted);
  text-align: center; line-height: 1.2;
  letter-spacing: 0.02em;
}
@media (max-width: 700px) {
  .reg-step__label { display: none; }
  .reg-step:not(.is-current):not(.is-complete) .reg-step__circle { width: 28px; height: 28px; font-size: 0.8125rem; }
}
.reg-step.is-current .reg-step__circle {
  background: var(--dhs-blue); border-color: var(--dhs-blue); color: white;
  transform: scale(1.1); box-shadow: 0 0 0 6px rgba(27,123,199,0.12);
}
.reg-step.is-current .reg-step__label { color: var(--dhs-blue-deep); font-weight: 600; }
.reg-step.is-complete .reg-step__circle {
  background: var(--dhs-green); border-color: var(--dhs-green); color: white;
}
.reg-step.is-complete .reg-step__circle::before {
  content: ""; width: 11px; height: 6px;
  border: solid white; border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg) translateY(-2px);
}
.reg-step.is-complete .reg-step__circle .num { display: none; }
.reg-step__connector {
  position: absolute; top: 18px; left: calc(50% + 24px); right: calc(-50% + 24px);
  height: 2px; background: var(--hairline-strong); z-index: -1;
}
.reg-step.is-complete + .reg-step .reg-step__connector,
.reg-step.is-complete .reg-step__connector {
  background: var(--dhs-green);
}
@media (max-width: 700px) {
  .reg-step__connector { top: 14px; left: calc(50% + 18px); right: calc(-50% + 18px); }
}

/* Form container */
.reg-form {
  background: var(--cream);
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 5vw, 4rem);
  min-height: 60vh;
}
.reg-form__inner {
  max-width: 720px; margin: 0 auto; padding: 0 var(--gutter);
}

/* Step content */
.reg-step-panel { display: none; }
.reg-step-panel.is-active { display: block; animation: panelIn 0.25s ease-out; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.reg-step-panel__header {
  margin-bottom: 2rem;
}
.reg-step-panel__eyebrow {
  font-family: var(--font-handwritten); font-size: 1.4rem;
  color: var(--dhs-blue); margin: 0 0 0.25rem;
}
.reg-step-panel__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0 0 0.75rem;
  color: var(--ink);
}
.reg-step-panel__title em { color: var(--dhs-blue); font-style: italic; }
.reg-step-panel__sub {
  color: var(--ink-soft); font-size: 1rem; line-height: 1.55;
  margin: 0; max-width: 60ch;
}

/* Form fields */
.reg-fields { display: grid; gap: 1.25rem; }
.reg-fieldset {
  background: var(--paper); border-radius: 18px;
  border: 1px solid var(--hairline);
  padding: 1.75rem;
  margin-bottom: 0;
}
.reg-fieldset__heading {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.25rem; margin: 0 0 1.25rem;
  letter-spacing: -0.005em;
  display: flex; align-items: center; gap: 0.5rem;
}
.reg-fieldset__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--dhs-blue-soft); color: var(--dhs-blue-deep);
  font-size: 0.875rem; flex-shrink: 0;
}
.reg-fieldset__sub {
  font-size: var(--size-small); color: var(--ink-muted);
  margin: -1rem 0 1.25rem;
}
.reg-row {
  display: grid; gap: 1rem;
  margin-bottom: 1rem;
}
.reg-row:last-child { margin-bottom: 0; }
.reg-row--2 { grid-template-columns: 1fr 1fr; }
.reg-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.reg-row--3-2 { grid-template-columns: 2fr 1fr; }
@media (max-width: 600px) {
  .reg-row--2, .reg-row--3, .reg-row--3-2 { grid-template-columns: 1fr; }
}

.reg-field { display: flex; flex-direction: column; }
.reg-field label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 0.4rem;
  display: flex; align-items: baseline; gap: 0.4rem;
}
.reg-field label .req {
  color: var(--dhs-red); font-weight: 700;
}
.reg-field label .opt {
  color: var(--ink-muted); font-weight: 400;
  text-transform: none; letter-spacing: 0;
  font-size: 0.6875rem; font-style: italic;
}
.reg-field input[type="text"],
.reg-field input[type="email"],
.reg-field input[type="tel"],
.reg-field input[type="number"],
.reg-field input[type="date"],
.reg-field select,
.reg-field textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  background: var(--cream); border: 1.5px solid var(--hairline-strong);
  border-radius: 10px; font-family: var(--font-body);
  font-size: 1rem; color: var(--ink);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.reg-field input:focus, .reg-field select:focus, .reg-field textarea:focus {
  outline: none; border-color: var(--dhs-blue);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(27,123,199,0.1);
}
.reg-field textarea { min-height: 90px; resize: vertical; line-height: 1.5; }

.reg-field.has-error input,
.reg-field.has-error select,
.reg-field.has-error textarea {
  border-color: var(--dhs-red); background: #FFF6F6;
}
.reg-field__error {
  font-size: 0.8125rem; color: var(--dhs-red);
  margin-top: 0.4rem; display: none;
  font-weight: 500;
}
.reg-field.has-error .reg-field__error { display: block; }

.reg-field__hint {
  font-size: 0.8125rem; color: var(--ink-muted);
  margin-top: 0.4rem; line-height: 1.4;
}

/* Promo code row: input + Apply / Remove buttons */
.promo-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
  max-width: 460px;
}
.promo-row input[name="promo_code"] {
  flex: 1 1 200px; min-width: 160px;
  text-transform: uppercase;
}
.promo-row #promo-apply-btn {
  padding: 0.65rem 1.1rem;
  font-size: var(--size-small);
  white-space: nowrap;
}
.promo-row.is-applied input[name="promo_code"] {
  background: #F2F8E8; border-color: #8BC441;
  pointer-events: none; color: var(--ink-soft);
}
.promo-row.is-applied #promo-apply-btn { display: none; }
.promo-remove {
  background: transparent; border: 1px solid var(--hairline-strong);
  border-radius: 6px; padding: 0.65rem 1rem; cursor: pointer;
  font-size: var(--size-small); color: var(--ink-soft);
}
.promo-remove:hover { background: var(--cream-2); color: var(--ink); }
.promo-feedback {
  font-size: 0.8125rem; margin-top: 0.5rem; line-height: 1.4;
  font-weight: 500;
}
.promo-feedback.is-success { color: #4F7E15; }
.promo-feedback.is-error { color: var(--dhs-red); }

/* Radio / checkbox groups */
.reg-radio-group, .reg-check-group {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.reg-radio-group--vertical { flex-direction: column; gap: 0.5rem; }

.reg-radio, .reg-check {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: var(--cream); border: 1.5px solid var(--hairline-strong);
  border-radius: 10px; cursor: pointer;
  font-size: 0.9375rem;
  transition: all 0.15s;
  flex: 1; min-width: 110px;
}
.reg-radio:hover, .reg-check:hover { border-color: var(--dhs-blue); }
.reg-radio input, .reg-check input {
  margin: 0; accent-color: var(--dhs-blue);
  width: 16px; height: 16px;
  cursor: pointer;
}
.reg-radio.is-selected, .reg-check.is-selected {
  border-color: var(--dhs-blue); background: var(--dhs-blue-soft);
  color: var(--dhs-blue-deep); font-weight: 500;
}

/* Number stepper for kid count */
.reg-stepper {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--paper); border: 1.5px solid var(--hairline-strong);
  border-radius: 12px; padding: 0.4rem;
}
.reg-stepper button {
  width: 36px; height: 36px;
  background: var(--cream); border: 1px solid var(--hairline-strong);
  border-radius: 8px; font-size: 1.25rem;
  font-weight: 600; cursor: pointer; color: var(--dhs-blue-deep);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.12s;
}
.reg-stepper button:hover:not(:disabled) {
  background: var(--dhs-blue-soft); border-color: var(--dhs-blue);
}
.reg-stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.reg-stepper__value {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.5rem; min-width: 36px; text-align: center;
  color: var(--ink);
}

/* Child sections */
.reg-child {
  margin-bottom: 1.5rem; position: relative;
}
.reg-child__divider {
  border: none; height: 1px; background: var(--hairline);
  margin: 2rem 0;
}
.reg-child__tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--dhs-yellow); color: var(--dhs-yellow-deep);
  padding: 0.4rem 0.9rem; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.reg-child:nth-child(2) .reg-child__tag { background: #FBE6E6; color: var(--dhs-red-deep); }
.reg-child:nth-child(3) .reg-child__tag { background: #EFF7DD; color: var(--dhs-green-deep); }
.reg-child:nth-child(4) .reg-child__tag { background: var(--dhs-blue-soft); color: var(--dhs-blue-deep); }

/* Payment options */
.pay-option {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.1rem 1.25rem;
  background: var(--cream); border: 1.5px solid var(--hairline-strong);
  border-radius: 12px; cursor: pointer;
  transition: all 0.15s;
  margin-bottom: 0.5rem;
}
.pay-option:hover { border-color: var(--dhs-blue); }
.pay-option.is-selected {
  border-color: var(--dhs-blue); background: var(--dhs-blue-soft);
}
.pay-option input { accent-color: var(--dhs-blue); width: 18px; height: 18px; flex-shrink: 0; }
.pay-option__main { flex: 1; }
.pay-option__title {
  font-weight: 600; font-size: 1rem; line-height: 1.2;
}
.pay-option__sub {
  font-size: 0.8125rem; color: var(--ink-muted); margin-top: 0.2rem;
}
.pay-option__amount {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.25rem; color: var(--dhs-blue-deep);
  letter-spacing: -0.01em; flex-shrink: 0;
}
.pay-option.is-discounted .pay-option__amount {
  color: var(--dhs-red-deep);
}
.pay-option__badge {
  background: var(--dhs-yellow); color: var(--dhs-yellow-deep);
  font-size: 0.6875rem; font-weight: 700;
  padding: 0.15rem 0.5rem; border-radius: 999px;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-left: 0.5rem;
}

/* Donation tier grid */
.donation-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
}
@media (max-width: 480px) { .donation-grid { grid-template-columns: repeat(2, 1fr); } }
.donation-tier {
  text-align: center; padding: 0.85rem 0.5rem;
  background: var(--cream); border: 1.5px solid var(--hairline-strong);
  border-radius: 10px; cursor: pointer;
  transition: all 0.15s;
}
.donation-tier:hover { border-color: var(--dhs-yellow); }
.donation-tier.is-selected {
  border-color: var(--dhs-yellow); background: #FFF8E5;
  color: var(--dhs-yellow-deep); font-weight: 600;
}
.donation-tier__amount {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.125rem;
}
.donation-tier__custom-input {
  width: 100%; padding: 0.45rem 0.5rem;
  border: 1.5px solid var(--hairline-strong); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.9375rem;
  background: white; text-align: center;
}

/* Card field treatment - styled like PayArc hosted fields would render */
.card-section {
  background: var(--paper); border: 2px solid var(--dhs-blue);
  border-radius: 18px; padding: 1.5rem 1.75rem;
  position: relative;
}
.card-section::before {
  content: "🔒  Secured by PayArc"; position: absolute;
  top: -0.7rem; left: 1.25rem;
  background: var(--paper); padding: 0 0.5rem;
  font-size: 0.75rem; font-weight: 600;
  color: var(--dhs-blue-deep);
  letter-spacing: 0.04em;
}
.card-brands {
  display: flex; gap: 0.5rem; margin-bottom: 1rem;
  align-items: center;
}
.card-brand {
  font-size: 0.6875rem; font-weight: 700;
  padding: 0.2rem 0.55rem; border-radius: 4px;
  background: var(--cream-2); color: var(--ink-soft);
  letter-spacing: 0.05em;
  border: 1px solid var(--hairline);
}
.card-note {
  font-size: 0.75rem; color: var(--ink-muted);
  margin: 0.75rem 0 0; padding: 0.6rem 0.75rem;
  background: var(--cream); border-radius: 8px; line-height: 1.4;
  border-left: 3px solid var(--dhs-yellow);
}

/* Running total */
.reg-total {
  position: sticky; bottom: 0;
  background: var(--paper);
  border-top: 1.5px solid var(--hairline);
  padding: 1.25rem 0;
  margin-top: 2rem;
  z-index: 10;
}
.reg-total__inner {
  max-width: 720px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.reg-total__breakdown {
  font-size: var(--size-small); color: var(--ink-soft);
  display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: baseline;
}
.reg-total__breakdown span:not(:last-child)::after { content: " +"; color: var(--ink-muted); margin-left: 0.5rem; }
.reg-total__amount {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.75rem; color: var(--dhs-blue-deep);
  letter-spacing: -0.02em;
}
.reg-total__label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 0.1rem;
}

/* Navigation buttons */
.reg-nav {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 2.5rem;
}
.reg-nav__back, .reg-nav__next {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.95rem 1.75rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  cursor: pointer; border: 2px solid;
  transition: all 0.12s;
  font-family: inherit;
}
.reg-nav__back {
  background: transparent; color: var(--ink-soft);
  border-color: var(--hairline-strong);
}
.reg-nav__back:hover {
  border-color: var(--ink-soft); color: var(--ink);
}
.reg-nav__next {
  background: var(--dhs-blue); color: white;
  border-color: var(--dhs-blue);
  box-shadow: 0 3px 0 var(--dhs-blue-deep);
  margin-left: auto;
}
.reg-nav__next:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--dhs-blue-deep);
}
.reg-nav__next--submit {
  background: var(--dhs-red); border-color: var(--dhs-red);
  box-shadow: 0 3px 0 var(--dhs-red-deep);
}
.reg-nav__next--submit:hover { box-shadow: 0 4px 0 var(--dhs-red-deep); }

/* Resume banner */
.resume-banner {
  background: var(--dhs-yellow); color: var(--dhs-yellow-deep);
  border-radius: 14px; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.resume-banner__icon { font-size: 1.5rem; flex-shrink: 0; }
.resume-banner__text {
  flex: 1; min-width: 200px;
  font-size: var(--size-small); line-height: 1.4;
}
.resume-banner__text strong { font-weight: 700; }
.resume-banner__buttons { display: flex; gap: 0.5rem; }
.resume-banner button {
  background: var(--paper); border: 1.5px solid currentColor;
  color: var(--dhs-yellow-deep); padding: 0.5rem 1rem;
  border-radius: 999px; font-weight: 600; font-size: 0.875rem;
  cursor: pointer; font-family: inherit;
  transition: background 0.12s;
}
.resume-banner button:hover { background: rgba(255,255,255,0.6); }
.resume-banner button.is-secondary {
  background: transparent; border-color: rgba(193,136,0,0.3);
  font-weight: 500;
}

/* Auto-save indicator */
.autosave-indicator {
  position: fixed; bottom: 1.25rem; left: 1.25rem;
  background: var(--paper); border: 1px solid var(--hairline);
  padding: 0.5rem 0.85rem; border-radius: 999px;
  font-size: 0.75rem; color: var(--ink-muted);
  display: flex; align-items: center; gap: 0.4rem;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.1);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
  z-index: 60; pointer-events: none;
}
.autosave-indicator.is-visible {
  opacity: 1; transform: translateY(0);
}
.autosave-indicator__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--dhs-green);
}

/* Review step */
.review-section {
  background: var(--paper); border-radius: 14px;
  border: 1px solid var(--hairline);
  padding: 1.25rem 1.5rem; margin-bottom: 1rem;
}
.review-section__header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 0.75rem;
}
.review-section__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.0625rem; margin: 0;
  letter-spacing: -0.005em;
}
.review-section__edit {
  background: transparent; border: none;
  color: var(--dhs-blue); font-weight: 600;
  font-size: 0.8125rem; cursor: pointer;
  font-family: inherit;
}
.review-section__edit:hover { text-decoration: underline; }
.review-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0.5rem;
}
.review-list li {
  display: grid; grid-template-columns: 140px 1fr; gap: 1rem;
  font-size: 0.9375rem; line-height: 1.4;
}
@media (max-width: 500px) { .review-list li { grid-template-columns: 1fr; gap: 0.1rem; } }
.review-list dt {
  color: var(--ink-muted); font-size: 0.75rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  font-weight: 600; padding-top: 0.15rem;
}
.review-list dd { margin: 0; color: var(--ink); font-weight: 500; }

.terms-block {
  background: var(--cream-2); border-radius: 14px;
  padding: 1.25rem; margin-top: 1.5rem;
  display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: 0.875rem; line-height: 1.5;
  color: var(--ink-soft);
}
.terms-block input { margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--dhs-blue); }
.terms-block a { color: var(--dhs-blue-deep); border-bottom: 1px solid var(--dhs-yellow); text-decoration: none; }

/* Confirmation page */
.confirmation {
  text-align: center; padding: clamp(2rem, 5vw, 4rem) 0;
}
.confirmation__check {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--dhs-green); color: white;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; position: relative;
  box-shadow: 0 0 0 12px rgba(139,196,65,0.18);
}
.confirmation__check::before {
  content: ""; width: 36px; height: 18px;
  border: solid white; border-width: 0 0 5px 5px;
  transform: rotate(-45deg) translateY(-4px);
}
.confirmation__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1;
  letter-spacing: -0.02em; margin: 0 0 0.75rem;
}
.confirmation__title em { color: var(--dhs-blue); font-style: italic; }
.confirmation__lead {
  font-size: 1.1875rem; color: var(--ink-soft);
  max-width: 50ch; margin: 0 auto 2rem; line-height: 1.55;
}

/* Disabled / ended state for payment options */
.pay-option.is-ended {
  opacity: 0.55; cursor: not-allowed;
  background: var(--cream-2);
}
.pay-option.is-ended:hover { border-color: var(--hairline-strong); }
.pay-option.is-ended .pay-option__amount {
  text-decoration: line-through;
  color: var(--ink-muted);
}
.pay-option__ended-flag {
  display: inline-block;
  background: var(--ink-soft); color: white;
  font-size: 0.6875rem; font-weight: 700;
  padding: 0.15rem 0.5rem; border-radius: 999px;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Payment plan section */
.plan-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--hairline-strong);
}
.plan-section__intro {
  background: var(--dhs-blue-soft);
  border-radius: 12px; padding: 1rem 1.25rem;
  margin-bottom: 1rem; display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: var(--size-small); line-height: 1.5;
  color: var(--dhs-blue-deep);
}
.plan-section__intro strong { font-weight: 700; }
.plan-section__intro-icon {
  font-size: 1.25rem; flex-shrink: 0; margin-top: 0.05rem;
}
.plan-section__balance {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.75rem 1rem; background: var(--paper);
  border-radius: 10px; margin-bottom: 1rem;
  border: 1px solid var(--hairline);
}
.plan-section__balance-label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted);
}
.plan-section__balance-amount {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.25rem; color: var(--dhs-blue-deep);
  letter-spacing: -0.01em;
}

.plan-options { display: grid; gap: 0.5rem; }
.plan-option {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--cream); border: 1.5px solid var(--hairline-strong);
  border-radius: 12px; cursor: pointer;
  transition: all 0.15s;
}
.plan-option:hover { border-color: var(--dhs-blue); }
.plan-option.is-selected {
  border-color: var(--dhs-blue); background: var(--dhs-blue-soft);
}
.plan-option input { accent-color: var(--dhs-blue); width: 18px; height: 18px; flex-shrink: 0; }
.plan-option__main { flex: 1; }
.plan-option__title {
  font-weight: 600; font-size: 1rem; line-height: 1.2;
}
.plan-option__sub {
  font-size: 0.8125rem; color: var(--ink-muted); margin-top: 0.2rem;
  line-height: 1.4;
}
.plan-option__breakdown {
  font-family: var(--font-display); font-weight: 500;
  font-size: 0.9375rem; color: var(--dhs-blue-deep);
  white-space: nowrap; flex-shrink: 0;
  text-align: right;
}
.plan-option__breakdown small {
  display: block; font-family: var(--font-body); font-size: 0.75rem;
  color: var(--ink-muted); font-weight: 500; margin-top: 0.15rem;
}
@media (max-width: 500px) {
  .plan-option { flex-wrap: wrap; }
  .plan-option__breakdown { width: 100%; text-align: left; padding-left: 2.5rem; }
}

