/* Camp High Five St. Johns — colors sampled from the logo */
[hidden] { display: none !important; }
:root {
  --navy: #01255c;
  --navy-2: #0b3478;
  --red: #e30613;
  --red-dark: #c00410;
  --purple: #7a1a8d;
  --blue: #0083e0;
  --sky: #e8f3fd;
  --cream: #fffaf3;
  --ink: #0f1d3a;
  --muted: #51607a;
  --line: #d9e1ee;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(1, 37, 92, 0.12);
  --font-head: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Kaushan Script", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: #fff; line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.script { font-family: var(--font-script); color: var(--red); font-weight: 400; }
.container { width: min(1120px, 92vw); margin: 0 auto; }
.narrow { width: min(820px, 92vw); margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 100; }

/* Stripes from the logo */
.stripes { height: 14px; background: linear-gradient(to bottom, var(--red) 0 33%, var(--purple) 33% 66%, var(--blue) 66% 100%); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; }
.brand img { width: 52px; height: 52px; }
.nav { display: flex; gap: 1.2rem; align-items: center; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: .98rem; }
.nav a:hover { color: var(--red); }
.nav-toggle { display: none; background: none; border: 2px solid var(--navy); border-radius: 10px; padding: .35rem .6rem; font-weight: 800; color: var(--navy); cursor: pointer; }
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
}

/* Buttons */
.btn { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; border-radius: 999px; padding: .8rem 1.6rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .1s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff !important; }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: #fff !important; }
.btn-outline { background: transparent; color: var(--navy) !important; border: 2px solid var(--navy); }
.btn-white { background: #fff; color: var(--navy) !important; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* Hero */
.hero { background: radial-gradient(circle at 75% 30%, #0b4aa8 0, var(--navy) 60%); color: #fff; position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; padding: 4.5rem 0 4rem; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
.hero h1 .script { color: #ff4b55; font-size: 1.1em; }
.hero p.lead { font-size: 1.2rem; color: #dce8fb; max-width: 36em; }
.hero .facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 1.8rem; padding: 0; list-style: none; }
.hero .facts li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: .4rem .9rem; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.hero .logo-wrap img { width: min(420px, 100%); margin: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.hero .cta { display: flex; gap: .8rem; flex-wrap: wrap; }
@media (max-width: 820px) { .hero .container { grid-template-columns: 1fr; text-align: center; padding-top: 2.5rem; } .hero .logo-wrap { order: -1; } .hero .logo-wrap img { width: 220px; } .hero .facts, .hero .cta { justify-content: center; } }

/* Sections */
section { padding: 4.5rem 0; }
.section-alt { background: var(--sky); }
.section-cream { background: var(--cream); }
.eyebrow { display: inline-block; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: var(--purple); margin-bottom: .4rem; }
.section-head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem; border-top: 6px solid var(--blue); }
.card.red { border-top-color: var(--red); }
.card.purple { border-top-color: var(--purple); }
.card.navy { border-top-color: var(--navy); }
.card .icon { font-size: 2rem; line-height: 1; margin-bottom: .6rem; }

/* Weeks */
.week { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.week .top { background: var(--navy); color: #fff; padding: .9rem 1.2rem; display: flex; justify-content: space-between; align-items: baseline; }
.week:nth-child(4n+2) .top { background: var(--purple); }
.week:nth-child(4n+3) .top { background: var(--blue); }
.week:nth-child(4n+4) .top { background: var(--red); }
.week .num { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.week .dates { font-weight: 700; font-size: .95rem; opacity: .95; }
.week .body { padding: 1.1rem 1.2rem 1.3rem; flex: 1; }
.week h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.week p { font-size: .95rem; color: var(--muted); margin: 0; }
.week .tag { display: inline-block; margin-top: .7rem; background: #fff0f1; color: var(--red-dark); font-size: .8rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; }

/* Schedule table */
.schedule { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.schedule th, .schedule td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 500; }
.schedule td:first-child { white-space: nowrap; font-weight: 800; color: var(--navy); width: 9.5rem; }
.schedule tr:last-child td { border-bottom: 0; }
.schedule td b { color: var(--purple); }
@media (max-width: 620px) { .schedule td:first-child { white-space: normal; width: 6rem; } .schedule th, .schedule td { padding: .7rem; font-size: .93rem; } }

/* Rules */
.rules { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.rules ol { list-style: none; counter-reset: r; padding: 0; margin: 0; }
.rules li { counter-increment: r; position: relative; padding: 1rem 1rem 1rem 4.2rem; background: #fff; border-radius: var(--radius); margin-bottom: .9rem; box-shadow: var(--shadow); }
.rules li::before { content: counter(r); position: absolute; left: 1rem; top: 1rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }
.rules li:nth-child(2)::before { background: var(--purple); }
.rules li:nth-child(3)::before { background: var(--blue); }
.rules li:nth-child(4)::before { background: var(--navy); }
.rules li b { color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; }
.rules .poster img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) { .rules { grid-template-columns: 1fr; } .rules .poster { max-width: 320px; margin: auto; } }

/* Pricing */
.price-card { background: var(--navy); color: #fff; border-radius: 22px; padding: 2.2rem; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.price-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 10px; background: linear-gradient(90deg, var(--red) 0 33%, var(--purple) 33% 66%, var(--blue) 66%); }
.price-card h3 { color: #fff; }
.price-card .amount { font-family: var(--font-head); font-size: 3.6rem; font-weight: 600; line-height: 1; margin: .6rem 0; }
.price-card .amount small { font-size: 1.1rem; font-weight: 500; opacity: .85; }
.price-card.alt { background: #fff; color: var(--ink); border: 3px solid var(--red); }
.price-card.alt h3 { color: var(--navy); }
.price-card.alt .amount { color: var(--red); }
.price-card.purple { background: var(--purple); }
.prices .price-card { padding: 1.8rem 1.4rem; }
.prices .price-card .amount { font-size: 3rem; }
.examples { margin-top: 1.5rem; }
.examples table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.examples th, .examples td { padding: .7rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.examples th { background: var(--sky); color: var(--navy); }
.examples td:last-child, .examples th:last-child { text-align: right; font-weight: 800; }

/* Team / contact */
.person { text-align: center; }
.avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto .9rem; display: grid; place-items: center; font-family: var(--font-head); font-size: 2rem; color: #fff; background: linear-gradient(135deg, var(--red), var(--purple) 50%, var(--blue)); }
.person .role { color: var(--purple); font-weight: 800; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.contact-list { list-style: none; padding: 0; margin: .6rem 0 0; }
.contact-list li { margin: .25rem 0; }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* FAQ */
.faq details { background: #fff; border-radius: 12px; box-shadow: 0 4px 14px rgba(1,37,92,.08); margin-bottom: .8rem; border-left: 5px solid var(--blue); }
.faq details[open] { border-left-color: var(--red); }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.08rem; list-style: none; position: relative; padding-right: 3rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: .8rem; font-size: 1.5rem; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 1.2rem 1.1rem; }
.faq .a p:last-child { margin: 0; }
.faq h3 { margin-top: 2rem; color: var(--purple); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--red), var(--purple) 55%, var(--blue)); color: #fff; text-align: center; padding: 3.5rem 0; }
.cta-band h2 { color: #fff; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d6ee; padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .container { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .3rem 0; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.2rem; font-size: .85rem; }
@media (max-width: 760px) { .site-footer .container { grid-template-columns: 1fr; } }

/* Forms (registration) */
.form-section { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; margin-bottom: 1.6rem; }
.form-section > h2 { font-size: 1.5rem; display: flex; align-items: center; gap: .6rem; }
.step { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.1rem; flex: none; }
.row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1rem; }
.row.three { grid-template-columns: repeat(3, 1fr); }
.row.one { grid-template-columns: 1fr; }
@media (max-width: 620px) { .row, .row.three { grid-template-columns: 1fr; } }
label { display: block; font-weight: 800; font-size: .92rem; color: var(--navy); margin-bottom: .3rem; }
label .opt { font-weight: 600; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .7rem .85rem; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,131,224,.18); }
textarea { min-height: 70px; resize: vertical; }
.camper { border: 2px solid var(--line); border-radius: 14px; padding: 1.3rem; margin-bottom: 1.2rem; position: relative; }
.camper h3 { color: var(--purple); }
.camper .remove { position: absolute; top: 1rem; right: 1rem; background: none; border: 0; color: var(--red-dark); font-weight: 800; cursor: pointer; }
.week-picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (max-width: 620px) { .week-picks { grid-template-columns: 1fr; } }
.week-pick { display: flex; gap: .7rem; align-items: flex-start; border: 2px solid var(--line); border-radius: 12px; padding: .7rem .8rem; cursor: pointer; font-weight: 600; color: var(--ink); margin: 0; }
.week-pick input { margin-top: .3rem; width: 1.2rem; height: 1.2rem; accent-color: var(--red); flex: none; }
.week-pick.checked { border-color: var(--red); background: #fff5f5; }
.week-pick.full { opacity: .5; cursor: not-allowed; }
.week-pick .wk { display: block; font-family: var(--font-head); color: var(--navy); font-weight: 600; }
.week-pick .th { display: block; font-size: .88rem; color: var(--muted); font-weight: 600; }
.week-pick .left { display: block; font-size: .8rem; font-weight: 800; color: var(--purple); }
.week-pick.full .left { color: var(--red-dark); }
.doc { border: 2px solid var(--line); border-radius: 14px; margin-bottom: 1.2rem; overflow: hidden; }
.doc h3 { background: var(--sky); margin: 0; padding: .9rem 1.1rem; font-size: 1.08rem; }
.doc .text { max-height: 260px; overflow-y: auto; padding: 1rem 1.1rem; white-space: pre-wrap; font-size: .93rem; border-bottom: 2px solid var(--line); background: #fcfdff; }
.doc .sign { padding: 1rem 1.1rem; display: grid; gap: .8rem; }
.doc .sign .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 700; margin: 0; }
.doc .sign .check input { width: 1.2rem; height: 1.2rem; margin-top: .25rem; accent-color: var(--red); flex: none; }
.doc .sig-input { font-family: var(--font-script); font-size: 1.35rem; }
.doc.signed h3::after { content: " ✓ Signed"; color: #108a3e; font-size: .9rem; }
.choice { display: flex; gap: 1rem; flex-wrap: wrap; }
.choice label { display: flex; gap: .5rem; align-items: center; font-weight: 700; border: 2px solid var(--line); border-radius: 10px; padding: .55rem .8rem; cursor: pointer; margin: 0; }
.summary { position: sticky; top: 90px; }
.reg-layout { display: grid; grid-template-columns: 1fr 330px; gap: 1.6rem; align-items: start; }
@media (max-width: 960px) { .reg-layout { grid-template-columns: 1fr; } .summary { position: static; } }
.summary .form-section { border-top: 6px solid var(--red); }
.sum-line { display: flex; justify-content: space-between; gap: .5rem; margin: .35rem 0; font-size: .95rem; }
.sum-total { border-top: 2px solid var(--line); margin-top: .8rem; padding-top: .8rem; font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); font-weight: 600; }
.discount { color: #108a3e; font-weight: 800; }
.notice { border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; font-weight: 600; }
.notice.error { background: #fff0f1; border: 2px solid #ffc2c6; color: #8a0610; }
.notice.info { background: var(--sky); border: 2px solid #bcdcf7; color: var(--navy); }
.notice.ok { background: #eafaf0; border: 2px solid #b5e8c7; color: #0d5c2b; }
.notice ul { margin: .4rem 0 0 1.1rem; padding: 0; }
.hp { position: absolute; left: -5000px; }
.page-hero { background: var(--navy); color: #fff; padding: 2.6rem 0 2.2rem; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 2.8rem); margin: 0; }
.page-hero p { color: #dce8fb; margin: .5rem 0 0; }
.reg-body { background: var(--sky); padding: 2.5rem 0 4rem; }

@media print {
  .site-header, .site-footer, .no-print, .stripes { display: none !important; }
  body { font-size: 12pt; }
  .form-section { box-shadow: none; border: 1px solid #ccc; }
}

.day-picks { display: grid; gap: .6rem; }
.day-week { border: 2px solid var(--line); border-radius: 12px; padding: .6rem .8rem; }
.day-week .dw-title { font-family: var(--font-head); color: var(--navy); font-weight: 600; font-size: .95rem; margin-bottom: .4rem; }
.day-week .dw-title span { color: var(--muted); font-family: var(--font-body); font-weight: 600; font-size: .85rem; }
.day-week .dw-days { display: flex; flex-wrap: wrap; gap: .4rem; }
.day-pick { display: inline-flex; align-items: center; gap: .35rem; border: 2px solid var(--line); border-radius: 999px; padding: .25rem .7rem; font-size: .88rem; font-weight: 700; color: var(--ink); cursor: pointer; margin: 0; }
.day-pick input { accent-color: var(--red); }
.day-pick.checked { border-color: var(--red); background: #fff5f5; }
.day-pick.off { opacity: .45; cursor: not-allowed; }
.day-week.covered { opacity: .5; }
.prices .price-card .amount small { display: block; margin-top: .35rem; font-size: 1rem; }
