:root {
  color-scheme: light;
  --cream: #fff7ef;
  --paper: #ffffff;
  --ink: #2f1a3d;
  --muted: #6d5f78;
  --line: #eadfea;
  --pink: #d6336c;
  --pink-deep: #b8245a;
  --pink-soft: #ffe3ec;
  --sun: #ffc23d;
  --sun-soft: #fff1c9;
  --teal: #1fa595;
  --teal-soft: #d8f4ef;
  --sky: #4aa8f0;
  --sky-soft: #dceeff;
  --lilac: #f3ecff;
  --error-bg: #fdecec;
  --error-ink: #a12a24;
  --ok: #1f7a4d;
  --radius: 22px;
  --display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

/* Elements like .field set their own display, which would otherwise keep
   them visible when the page hides them (follow-up questions, buttons). */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; }

a { color: var(--pink-deep); }

.test-banner {
  background: #fff4cc;
  color: #6b5200;
  text-align: center;
  font-size: 14px;
  padding: 8px 16px;
  border-bottom: 1px solid #f0de9a;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font: 600 19px/1 var(--display);
  text-decoration: none;
  box-shadow: 0 4px 0 var(--pink-deep);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--pink-deep); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--pink-deep); }
.btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.btn-small { padding: 11px 20px; font-size: 16px; box-shadow: 0 3px 0 var(--pink-deep); }

/* Header */

.site-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink);
  text-decoration: none;
  font: 600 24px/1 var(--display);
}
.logo b { color: var(--pink); font-weight: 600; }
.logo-mark { width: 30px; height: 30px; fill: var(--sun); transform: rotate(-8deg); }

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 24px 96px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--paper);
  border: 2px solid var(--ink);
  font-weight: 800;
  font-size: 15px;
}
.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgb(31 165 149 / 50%);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgb(31 165 149 / 0%); }
  100% { box-shadow: 0 0 0 0 rgb(31 165 149 / 0%); }
}

h1 {
  font-size: clamp(44px, 8vw, 84px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

/* The hand-drawn underline repeats on each line if the words wrap. */
.scribble {
  color: var(--pink);
  padding-bottom: 0.1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14c40-10 90-12 194-6' fill='none' stroke='%23ffc23d' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% 0.28em no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-lede {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 20px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  margin-bottom: 40px;
}

.hero-price { margin: 0; color: var(--muted); font-weight: 600; }
.hero-price strong { color: var(--ink); font: 600 24px/1 var(--display); }

.facts {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.facts li {
  padding: 10px 18px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 16px;
}
.facts span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
}

.confetti { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; }
.s1 { width: 120px; left: -30px; top: 60px; fill: var(--sun); }
.s2 { width: 54px; left: 12%; top: 58%; fill: var(--teal); transform: rotate(14deg); }
.s3 { width: 130px; right: 6%; top: 40px; stroke: var(--sky); }
.s4 { width: 70px; right: 10%; top: 52%; fill: var(--pink-soft); transform: rotate(18deg); }
.s5 { width: 240px; right: -150px; bottom: 30px; fill: var(--lilac); }
.s6 { width: 38px; right: 22%; bottom: 16%; fill: var(--sun); transform: rotate(-12deg); }
.s7 { width: 46px; left: 20%; top: 22px; fill: var(--pink); opacity: 0.85; transform: rotate(-20deg); }

/* Season cards */

.season {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 24px 88px;
  text-align: center;
}
.season h2 { font-size: clamp(30px, 4.5vw, 42px); margin-bottom: 36px; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: left;
}
.card {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.card svg {
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 14px;
  margin-bottom: 16px;
}
.card h3 { font-size: 22px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.tint-pink svg { background: var(--pink-soft); fill: var(--pink); }
.tint-sun svg { background: var(--sun-soft); fill: #c98a00; }
.tint-teal svg { background: var(--teal-soft); fill: var(--teal); }
.tint-sky svg { background: var(--sky-soft); fill: var(--sky); }

/* Registration */

.register {
  background: var(--lilac);
  padding: 88px 24px 100px;
  border-radius: 48px 48px 0 0;
  scroll-margin-top: 0;
}

.register-head {
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
}
.register-head h2 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 12px; }
.register-head p { margin: 0; color: var(--muted); font-size: 18px; }
.register-head .eyebrow {
  margin-bottom: 10px;
  color: var(--pink);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: 28px;
  padding: 44px;
  box-shadow: 0 2px 0 rgb(47 26 61 / 6%), 0 24px 48px -24px rgb(47 26 61 / 25%);
}

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset:disabled { opacity: 0.6; }

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}

.form-section {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  margin-top: 14px;
}
.form-section:first-child { margin-top: 0; }
.form-section::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--pink);
  transform: rotate(45deg);
  flex: none;
}
.section-help { grid-column: 1 / -1; margin: -8px 0 0; color: var(--muted); font-size: 15px; }

.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.half { grid-column: span 1; }

.field > label, .field legend { font-weight: 700; font-size: 15px; padding: 0; }
.optional { font-weight: 400; color: var(--muted); }
.help { margin: -2px 0 2px; color: var(--muted); font-size: 14px; }

input, select, textarea {
  width: 100%;
  min-height: 48px;
  font: inherit;
  font-size: 16px;
  color: inherit;
  padding: 11px 14px;
  border: 1.5px solid #d9cde0;
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px var(--pink-soft);
}

.choices { display: flex; flex-direction: column; gap: 8px; }
.choices.inline { flex-direction: row; flex-wrap: wrap; }
.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1.5px solid #d9cde0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
}
.choices.inline .choice { flex: 1 1 140px; }
.choice:has(input:checked) { border-color: var(--pink); background: var(--pink-soft); }
.choice:has(input:focus-visible) { box-shadow: 0 0 0 4px var(--pink-soft); }
.choice input, .field.check input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 0;
  flex: none;
  accent-color: var(--pink);
}

.field.check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field.check input { margin-top: 3px; }
.field.check label { font-weight: 600; }

/* Payment */

.pay {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 2px dashed var(--line);
}
.pay .form-section { margin: 0 0 16px; }

.summary {
  padding: 16px 20px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--cream);
}
.summary .line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-weight: 600;
}
.summary .line.struck span { text-decoration: line-through; color: var(--muted); }
.summary .line.total {
  align-items: baseline;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-weight: 800;
}
.summary .total strong { font: 600 28px/1 var(--display); color: var(--pink); }

.scholarship {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1.5px dashed #d9cde0;
  border-radius: 14px;
  cursor: pointer;
}
.scholarship:has(input:checked) { border-style: solid; border-color: var(--teal); background: var(--teal-soft); }
.scholarship input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--teal); }
.scholarship-note { display: block; color: var(--muted); font-size: 15px; }

.btn-block { display: block; width: 100%; border: 0; cursor: pointer; }
.btn-block:disabled { opacity: 0.6; cursor: default; }

#pay-online.is-busy { display: none; }

/* Hidden from people; bots fill it in. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hint { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

.message {
  margin: 0 0 16px;
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
}
.message.error { background: var(--error-bg); color: var(--error-ink); }
.message.note { background: var(--cream); color: var(--ink); }

.busy { padding: 16px; text-align: center; color: var(--muted); font-weight: 700; }

#paypal-buttons { min-height: 52px; }

.done { text-align: center; padding: 12px 0; outline: none; }
.done h3 { font-size: 34px; margin-bottom: 10px; }
.done p { margin: 0 0 10px; }
.check-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--ok);
  font-size: 38px;
  font-weight: 800;
}
.reference { color: var(--muted); font-size: 15px; }
.reference strong { color: var(--ink); font-family: ui-monospace, Menlo, monospace; }

/* Daughters */

.girls { display: flex; flex-direction: column; gap: 16px; margin-top: 14px; }

.girl {
  padding: 22px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: #fffdfb;
}
.girl-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.girl-title { margin: 0; font: 600 19px/1.2 var(--display); color: var(--pink); }
.girl-remove {
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.add-girl {
  display: block;
  width: 100%;
  margin: 14px 0 30px;
  padding: 14px;
  border: 2px dashed var(--pink);
  border-radius: 16px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font: 600 18px/1 var(--display);
  cursor: pointer;
}
.add-girl:hover { background: #ffd6e3; }

.statements {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  padding: 16px 20px 16px 40px;
  border-radius: 16px;
  background: var(--cream);
  font-size: 15px;
  color: var(--ink);
}
.statements li + li { margin-top: 8px; }

/* Where & when */

.details { padding: 0 24px 88px; }
.details-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
}
.details h2 { font-size: clamp(28px, 4vw, 36px); margin-bottom: 20px; }

.branches { display: grid; gap: 14px; }
.branch {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.branch h3 { font-size: 24px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.branch p { margin: 0; }
.branch-place { font-weight: 700; }
.branch-note { margin-top: 6px !important; color: var(--muted); font-size: 15px; }
.new-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font: 700 13px/1.4 var(--body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.good-to-know ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.good-to-know li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
}
.good-to-know li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231fa595' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.good-to-know strong { color: var(--ink); }

/* This year */

.this-year { padding: 0 24px 88px; }
.this-year-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px clamp(24px, 6vw, 72px);
  border-radius: 32px;
  background: var(--pink);
  color: #fff;
  overflow: hidden;
}
.this-year-inner::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23ffc23d' d='M16 2.5l3.9 8.2 9 1.1-6.6 6.2 1.7 8.9L16 22.5l-8 4.4 1.7-8.9-6.6-6.2 9-1.1z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.9;
  transform: rotate(14deg);
}
.this-year .eyebrow {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.this-year h2 { font-size: clamp(40px, 6vw, 64px); font-weight: 700; margin-bottom: 8px; }
.this-year .tagline { margin: 0 0 18px; font-size: 20px; }
.this-year .tagline strong { font-family: var(--display); font-weight: 600; color: var(--sun); }
.this-year p { position: relative; z-index: 1; max-width: 640px; margin: 0; }

/* Confirmation */

.done-locations { display: grid; gap: 10px; margin: 18px 0; text-align: left; }
.done-location {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--cream);
}
.done-location span { color: var(--muted); font-size: 15px; }

/* Footer */

.site-footer { background: var(--ink); color: #e9e0ef; }
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo-light { color: #fff; }
.logo-light b { color: #ff9dbf; }
.footer-org { margin: 6px 0 0; font-size: 15px; opacity: 0.8; }
.footer-contact { margin: 0; }
.footer-contact a { color: #fff; font-weight: 700; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .details-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header { padding: 16px; }
  .logo { font-size: 21px; }
  .hero { padding: 32px 16px 72px; }
  .hero-lede { font-size: 18px; }
  .s2, .s3, .s4, .s6, .s7 { display: none; }
  .s1 { width: 80px; left: -40px; top: 20px; }
  .season { padding: 8px 16px 64px; }
  .cards { grid-template-columns: 1fr; }
  .register { padding: 64px 12px 72px; border-radius: 32px 32px 0 0; }
  .form-card { padding: 28px 18px; border-radius: 22px; }
  .fields { grid-template-columns: 1fr; }
  .field.half { grid-column: 1 / -1; }
  .girl { padding: 16px; }
  .details, .this-year { padding: 0 16px 64px; }
  .this-year-inner { padding: 36px 22px; }
  .this-year-inner::after { width: 140px; height: 140px; right: -40px; top: -40px; }
  .footer-inner { padding: 32px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
  .btn { transition: none; }
}
