/* ==========================================================================
   Cartwheel Club — stylesheet  (brochure-driven visual language)
   navy #173B57 | orange #F28A4B | coastal blue #DCEFF3 | cream #FFF8EF
   ========================================================================== */

:root {
  --navy: #173B57;
  --navy-deep: #0f2b40;
  --orange: #F28A4B;
  --orange-dark: #d9722f;
  --blue: #DCEFF3;
  --blue-mid: #9BC9D6;
  --cream: #FFF8EF;
  --white: #ffffff;
  --ink: #223b4d;
  --muted: #5b6b76;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 14px 40px rgba(23, 59, 87, 0.14);
  --shadow-sm: 0 6px 18px rgba(23, 59, 87, 0.10);
  --maxw: 1140px;
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-accent: "Caveat", "Segoe UI", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.62;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
a { color: var(--orange-dark); }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* handwritten accent w/ brochure-style brush underline */
.accent {
  font-family: var(--font-accent);
  color: var(--orange);
  font-weight: 700;
  font-size: 1.35em;
  line-height: 1;
  position: relative;
  white-space: nowrap;
}
.accent-underline::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  bottom: -.12em;
  height: .18em;
  background: var(--orange);
  border-radius: 999px;
  transform: rotate(-1deg);
  opacity: .85;
}

/* star-tick divider used above/below section titles (‹ ✦ ›) */
.tick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  color: var(--blue-mid);
  margin: 0 0 .6rem;
}
.tick::before, .tick::after {
  content: "";
  width: 34px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.tick span { color: var(--orange); font-size: 1.1rem; line-height: 1; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(242,138,75,.35); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-deep); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: .55rem 1.15rem; font-size: .9rem; }

/* ---- Header / Nav --------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 239, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(23, 59, 87, 0.10);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem 22px; max-width: var(--maxw); margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.nav-brand img { height: 56px; width: auto; }
.nav-brand span {
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
  font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: .5rem .8rem; border-radius: 999px;
  text-decoration: none; color: var(--navy);
  font-family: var(--font-head); font-weight: 500; font-size: .93rem;
}
.nav-links a:hover { background: var(--blue); }
.nav-links a.active { background: var(--navy); color: #fff; }
.nav-links a.nav-register { background: var(--orange); color: #fff; }
.nav-links a.nav-register:hover { background: var(--orange-dark); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--navy); border-radius: 2px; }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid rgba(23,59,87,.12);
    padding: .5rem 22px 1rem; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem .6rem; border-radius: var(--radius-sm); }
  .nav-links a.nav-register { text-align: center; margin-top: .4rem; }
}

/* ---- Decorative starfish ----------------------------------------- */
.starfish {
  position: absolute;
  width: 90px; height: 90px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
}
.sf-orange { background-image: url("../assets/svg/starfish-orange.svg"); }
.sf-blue   { background-image: url("../assets/svg/starfish-blue.svg"); }
.sf-navy   { background-image: url("../assets/svg/starfish-navy.svg"); }
.sf-cream  { background-image: url("../assets/svg/starfish-cream.svg"); }
.sf-spin   { animation: sf-float 9s ease-in-out infinite; }
@keyframes sf-float { 0%,100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .sf-spin { animation: none; } }

/* ---- Hero -------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(165deg, var(--blue) 0%, var(--cream) 68%); }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.6rem; align-items: center;
  padding: 3.4rem 0 4.6rem; position: relative; z-index: 2;
}
.hero-eyebrow {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .16em; font-size: .78rem; color: var(--orange-dark);
}
.hero h1 { margin: .35rem 0 .2rem; }
.hero .script-line { font-family: var(--font-accent); font-size: 2rem; color: var(--orange); line-height: 1; margin-bottom: .6rem; }
.hero-sub { font-size: 1.08rem; color: var(--muted); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

.hero-logo { position: relative; display: grid; place-items: center; }
.hero-logo img {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(23, 59, 87, .18));
  animation: logo-float 11s ease-in-out infinite;
}
@keyframes logo-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-logo img { animation: none; } }
.hero .starfish.s1 { top: 6%; left: -34px; width: 74px; }
.hero .starfish.s2 { bottom: 8%; right: 40%; width: 52px; opacity: .9; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 2.4rem 0 3.4rem; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-logo { order: -1; max-width: 300px; margin: 0 auto; }
  .hero .starfish.s1 { left: 4px; top: 2%; }
  .hero .starfish.s2 { display: none; }
}

/* ---- Sections -------------------------------------------------- */
.section { padding: 4rem 0; position: relative; }
.section-tint { background: var(--white); }
.section-blue { background: var(--blue); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3, .section-navy .tick span { color: #fff; }
.section-navy .tick { color: rgba(255,255,255,.4); }
.section-head { text-align: center; max-width: 62ch; margin: 0 auto 2.6rem; position: relative; z-index: 2; }
.section-head p { color: var(--muted); }
.section-navy .section-head p { color: rgba(255,255,255,.82); }

/* wave divider between stacked sections */
.wave { display: block; width: 100%; height: 70px; line-height: 0; }
.wave svg { width: 100%; height: 100%; display: block; }

/* ---- Grid ---------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; position: relative; z-index: 2; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 940px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .grid-4 { grid-template-columns: 1fr; } }

/* ---- Benefit rows (brochure col-2 style: icon + dotted leader) --- */
.benefits { max-width: 760px; margin: 0 auto; display: grid; gap: 1.1rem; position: relative; z-index: 2; }
.benefit {
  display: grid; grid-template-columns: 64px 1fr; gap: 1.1rem; align-items: start;
  padding-bottom: 1.1rem;
  border-bottom: 2px dotted rgba(23,59,87,.22);
}
.benefit:last-child { border-bottom: 0; }
.b-icon {
  width: 64px; height: 64px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
}
.b-icon svg { width: 34px; height: 34px; }
.b-icon.i-orange { background: var(--orange); }
.b-icon.i-navy   { background: var(--navy); }
.b-icon.i-blue   { background: var(--blue); }
.b-icon.i-outline { background: transparent; border: 3px solid var(--navy); }
.benefit h3 { margin: .15rem 0 .2rem; text-transform: uppercase; letter-spacing: .02em; font-size: 1.02rem; }
.benefit p { margin: 0; color: var(--muted); font-size: .97rem; }
.section-navy .benefit { border-color: rgba(255,255,255,.28); }
.section-navy .benefit p { color: rgba(255,255,255,.8); }

/* ---- Cards (brochure age-group style: photo + colored frame) ---- */
.age-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; position: relative; z-index: 2; }
@media (max-width: 940px) { .age-cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.age-card {
  background: #fff; border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(23,59,87,.10);
  border-top: 6px solid var(--orange);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.age-card.frame-orange { border-top-color: var(--orange); }
.age-card.frame-blue   { border-top-color: var(--blue-mid); }
.age-card.frame-navy   { border-top-color: var(--navy); }
.age-card-top {
  height: 86px; display: grid; place-items: center;
  background: var(--blue);
}
.frame-orange .age-card-top { background: #FDEBDD; }
.frame-navy   .age-card-top { background: #E3EAEF; }
.age-glyph { font-size: 3rem; line-height: 1; color: var(--orange); opacity: .85; }
.frame-blue .age-glyph { color: var(--blue-mid); }
.frame-navy .age-glyph { color: var(--navy); }
.age-card .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.age-card .kicker { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--orange-dark); font-size: 1.15rem; }
.frame-blue .kicker { color: var(--navy); }
.frame-navy .kicker { color: var(--navy); }
.age-card .ages { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .9rem; margin-top: -.2rem; }
.age-card p { color: var(--muted); font-size: .96rem; margin: 0; flex: 1; }
.age-card .btn { align-self: flex-start; margin-top: .6rem; }

/* ---- Simple card (icon tiles) --------------------------------- */
.card {
  background: var(--white);
  border: 1px solid rgba(23, 59, 87, 0.10);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.card .b-icon { margin: 0 auto .9rem; }
.card h3 { margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .02em; font-size: 1rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.section-navy .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.section-navy .card h3 { color: #fff; }
.section-navy .card p { color: rgba(255,255,255,.78); }

/* ---- Class list (Classes page) ------------------------------- */
.class-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid rgba(23,59,87,.10);
  border-left: 6px solid var(--orange);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem; display: flex; flex-direction: column; gap: .55rem;
}
.class-card .meta { font-family: var(--font-head); font-weight: 700; color: var(--orange-dark); font-size: .86rem; text-transform: uppercase; letter-spacing: .03em; }
.class-card p { color: var(--muted); margin: 0; flex: 1; }
.class-card .btn { align-self: flex-start; margin-top: .6rem; }
.age-badge { display: inline-block; background: var(--blue); color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: .78rem; padding: .28rem .8rem; border-radius: 999px; }

/* ---- Split feature (photo + text) --------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; position: relative; z-index: 2; }
.split img { width: 100%; border-radius: 22px; border: 8px solid #fff; box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 2 / 1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---- Schedule ---------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 1.8rem; }
.filters select {
  font-family: var(--font-body); font-size: .95rem; padding: .55rem .9rem;
  border-radius: 999px; border: 2px solid rgba(23,59,87,.2); background: #fff; color: var(--navy);
}
.schedule-table { width: 100%; border-collapse: separate; border-spacing: 0 .6rem; position: relative; z-index: 2; }
.schedule-table th { text-align: left; font-family: var(--font-head); color: var(--navy); padding: .4rem 1rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.schedule-table td { background: #fff; padding: 1rem; border-top: 1px solid rgba(23,59,87,.08); border-bottom: 1px solid rgba(23,59,87,.08); }
.schedule-table td:first-child { border-left: 1px solid rgba(23,59,87,.08); border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-weight: 700; font-family: var(--font-head); color: var(--navy); }
.schedule-table td:last-child { border-right: 1px solid rgba(23,59,87,.08); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; text-align: right; }
.schedule-table tr.hidden { display: none; }
.schedule-empty { text-align: center; color: var(--muted); padding: 2rem; display: none; }
@media (max-width: 720px) {
  .schedule-table, .schedule-table tbody, .schedule-table tr, .schedule-table td { display: block; width: 100%; }
  .schedule-table thead { display: none; }
  .schedule-table tr { background: #fff; border-radius: var(--radius-sm); margin-bottom: .9rem; box-shadow: var(--shadow-sm); }
  .schedule-table td { border: 0 !important; text-align: left !important; padding: .5rem 1rem; }
  .schedule-table td:first-child { padding-top: 1rem; font-size: 1.05rem; }
  .schedule-table td:last-child { padding-bottom: 1rem; }
  .schedule-table td::before { content: attr(data-label); display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
}

/* ---- Coming soon ---------------------------------------- */
.coming-soon { text-align: center; max-width: 640px; margin: 0 auto; position: relative; z-index: 2; }
.coming-soon .pill { display: inline-block; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; padding: .45rem 1.1rem; border-radius: 999px; margin-bottom: 1.2rem; }
.interest-form { display: flex; gap: .6rem; margin-top: 1.6rem; flex-wrap: wrap; justify-content: center; }
.interest-form input { flex: 1; min-width: 220px; padding: .8rem 1.1rem; border-radius: 999px; border: 2px solid rgba(23,59,87,.2); font-family: var(--font-body); font-size: 1rem; }

/* ---- FAQ ---------------------------------------------- */
.faq { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }
.faq details { background: #fff; border: 1px solid rgba(23,59,87,.12); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: .8rem; }
.faq summary { font-family: var(--font-head); font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--orange); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: .8rem 0 0; color: var(--muted); }

/* ---- CTA band --------------------------------------- */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 3.4rem 0; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band .script-line { font-family: var(--font-accent); font-size: 1.9rem; color: var(--orange); line-height: 1; margin-bottom: .3rem; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 46ch; margin-inline: auto; }
.cta-band .btn-outline { color: #fff; border-color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--navy); }
.cta-band .starfish { opacity: .9; }
.cta-band .starfish.c1 { bottom: -18px; left: 4%; width: 84px; }
.cta-band .starfish.c2 { top: -20px; right: 6%; width: 64px; }

/* ---- Brochure preview ------------------------------ */
.brochure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; position: relative; z-index: 2; }
.brochure-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 720px) { .brochure-grid { grid-template-columns: 1fr; } }

/* ---- Steps ---------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1rem; max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }
.steps li { list-style: none; background: #fff; border-radius: var(--radius-sm); padding: 1.1rem 1.2rem 1.1rem 3.6rem; position: relative; border: 1px solid rgba(23,59,87,.1); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 1rem; top: 1rem; width: 32px; height: 32px; background: var(--orange); color: #fff; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .9rem; }

/* ---- Doc list ------------------------------------ */
.doc-list { list-style: none; padding: 0; margin: 0 auto; max-width: 740px; position: relative; z-index: 2; }
.doc-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; border: 1px solid rgba(23,59,87,.1); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: .7rem; }
.doc-list .name { font-family: var(--font-head); font-weight: 600; color: var(--navy); }

/* ---- Footer ------------------------------------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 3rem 0 2rem; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; position: relative; z-index: 2; }
.site-footer .brandmark { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.site-footer .brandmark img { height: 58px; }
.site-footer .brandmark span { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff; }
.site-footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2rem; padding-top: 1.4rem; font-size: .84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; position: relative; z-index: 2; }
.site-footer .starfish { bottom: -22px; right: -18px; width: 120px; opacity: .5; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Interior page hero ----------------------- */
.page-hero { background: linear-gradient(165deg, var(--blue), var(--cream)); padding: 3rem 0 3.2rem; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { position: relative; z-index: 2; }
.page-hero p { color: var(--muted); max-width: 56ch; margin: .5rem auto 0; position: relative; z-index: 2; }
.page-hero .starfish.p1 { top: 12%; left: 6%; width: 70px; }
.page-hero .starfish.p2 { bottom: -20px; right: 8%; width: 58px; }

.poc-note {
  background: #fff6e9; border: 1px dashed var(--orange); color: var(--orange-dark);
  border-radius: var(--radius-sm); padding: .7rem 1rem; font-size: .84rem;
  text-align: center; margin: 1.6rem auto 0; max-width: 660px; position: relative; z-index: 2;
}


/* ======================================================================
   Email signup, about collage, class list, misc
   ====================================================================== */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Email signup (home) ------------------------------------------ */
.signup { max-width: 700px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.signup-lede { color: var(--muted); max-width: 54ch; margin-inline: auto; }

/* Grid, not nested flex rows: lets the button sit inline with the inputs
   on wide screens but drop below the interest checkboxes on narrow ones,
   without reordering the DOM (so tab/reading order stays name → email →
   submit → interests everywhere). */
.signup-form {
  margin-top: 1.6rem;
  display: grid;
  gap: .6rem .7rem;
  justify-content: center;
  align-items: center;
  grid-template-columns: minmax(0, 200px) minmax(0, 240px) auto;
  grid-template-areas:
    "name  email submit"
    "interests interests interests";
}
.field-name { grid-area: name; }
.field-email { grid-area: email; }
.signup-submit { grid-area: submit; }

.field input {
  width: 100%;
  padding: .82rem 1.2rem;
  border-radius: 999px;
  border: 2px solid rgba(23,59,87,.2);
  background: #fff;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
}
.field input::placeholder { color: #93a3ad; }
.field input:focus-visible { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242,138,75,.18); }
.field input[aria-invalid="true"] { border-color: #c0392b; }

@media (max-width: 560px) {
  .signup-form {
    grid-template-columns: 1fr;
    grid-template-areas: "name" "email" "interests" "submit";
  }
  .signup-submit { width: 100%; margin-top: .3rem; }
}

.signup-interests {
  grid-area: interests;
  border: 0; margin: .7rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem .7rem; justify-content: center; align-items: center;
}
.signup-interests legend {
  padding: 0; float: left; width: 100%; text-align: center;
  font-family: var(--font-head); font-weight: 600; font-size: .86rem;
  color: var(--navy); margin-bottom: .7rem;
}
.signup-interests legend span { color: var(--muted); font-weight: 400; }
.signup-interests label {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--blue); color: var(--navy);
  border: 2px solid transparent; border-radius: 999px;
  padding: .36rem .95rem; cursor: pointer;
  font-size: .9rem; font-weight: 600;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.signup-interests label:hover { border-color: var(--blue-mid); }
.signup-interests input { accent-color: var(--orange); width: 16px; height: 16px; margin: 0; cursor: pointer; }
.signup-interests input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.signup-interests label:has(input:checked) { background: var(--orange); color: #fff; }

.signup-error { grid-column: 1 / -1; color: #c0392b; font-weight: 600; font-size: .92rem; margin: .9rem 0 0; }

.signup-success {
  max-width: 460px; margin: 1.6rem auto 0;
  background: #fff; border: 2px solid var(--blue-mid);
  border-radius: var(--radius); padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.signup-check {
  width: 58px; height: 58px; margin: 0 auto .8rem;
  border-radius: 50%; background: var(--orange);
  display: grid; place-items: center;
}
.signup-check svg { width: 30px; height: 30px; }
.signup-success h3 { margin-bottom: .3rem; }
.signup-success p { margin: 0; color: var(--muted); }

.signup-duplicate { border-color: var(--orange); }
.signup-duplicate .signup-check { background: var(--navy); }

/* Honeypot: off-screen, not display:none — some bots skip hidden fields,
   none skip ones they just can't see on a normal layout pass. */
.signup-hp {
  position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden;
}

/* ---- About: story + scrapbook collage ----------------------------- */
.story { max-width: 720px; margin: 0 auto; text-align: center; }
.story-lead { font-size: 1.14rem; color: var(--ink); }
.story p:last-child { margin-bottom: 0; color: var(--muted); }
.page-hero-script {
  font-family: var(--font-accent); font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--orange); line-height: 1.1;
  max-width: none !important; margin-top: .4rem !important;
}

/* Masonry columns: never crops a photo, and reflows cleanly on phones. */
.collage { columns: 3; column-gap: 1.4rem; position: relative; z-index: 2; }
@media (max-width: 900px) { .collage { columns: 2; column-gap: 1rem; } }
@media (max-width: 400px) { .collage .snap { padding: .5rem .5rem 1.1rem; } }
@media (max-width: 330px) { .collage { columns: 1; } }

.collage .snap {
  break-inside: avoid;
  margin: 0 0 1.4rem;
  background: #fff;
  padding: .7rem .7rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 10px 26px rgba(23, 59, 87, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.collage .snap img { width: 100%; height: auto; border-radius: 2px; }

/* Scrapbook tilt only where there is room; phones stay straight. */
@media (min-width: 720px) {
  .collage .snap { margin-bottom: 1.9rem; }
  .collage .snap:nth-child(3n+1) { transform: rotate(-1.8deg); }
  .collage .snap:nth-child(3n+2) { transform: rotate(1.4deg); }
  .collage .snap:nth-child(3n+3) { transform: rotate(-.8deg); }
  .collage .snap:hover { transform: rotate(0) translateY(-5px); box-shadow: 0 16px 36px rgba(23,59,87,.24); position: relative; z-index: 3; }
}
@media (prefers-reduced-motion: reduce) { .collage .snap { transition: none; } }

/* ---- Class description list (Schedule + Classes) ------------------ */
.class-list { max-width: 820px; margin: 0 auto; display: grid; gap: 1rem; position: relative; z-index: 2; }
.class-row {
  background: #fff; border: 1px solid rgba(23,59,87,.10);
  border-left: 6px solid var(--orange);
  border-radius: var(--radius); padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.class-row:nth-child(even) { border-left-color: var(--blue-mid); }
.class-row-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.class-row-head h3 { margin: 0; flex: 1 1 auto; font-size: 1.2rem; }
.class-row p { margin: 0; color: var(--muted); }
.len-badge {
  display: inline-block; background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  padding: .28rem .8rem; border-radius: 999px;
}
@media (max-width: 480px) { .class-row-head h3 { flex: 1 1 100%; } }

/* ---- Notice block (schedule coming soon) -------------------------- */
.notice {
  max-width: 660px; margin: 0 auto; text-align: center;
  background: #fff; border: 2px dashed var(--blue-mid);
  border-radius: var(--radius); padding: 2.2rem 1.8rem;
  position: relative; z-index: 2;
}
.notice .pill {
  display: inline-block; background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; font-size: .74rem;
  padding: .4rem 1rem; border-radius: 999px; margin-bottom: 1rem;
}
.notice p { color: var(--muted); margin: 0; }

/* ---- Waivers doc list --------------------------------------------- */
.doc-tag {
  font-family: var(--font-head); font-weight: 700; font-size: .76rem;
  text-transform: uppercase; letter-spacing: .05em;
  background: var(--blue); color: var(--navy);
  padding: .3rem .8rem; border-radius: 999px; white-space: nowrap;
}
.doc-foot { max-width: 740px; margin: 1.2rem auto 0; text-align: center; color: var(--muted); font-size: .94rem; }

/* ---- Footer brand (logo-forward) ---------------------------------- */
.footer-brand img { height: 120px; width: auto; margin-bottom: .9rem; }
.footer-brand p { margin: 0; }
.footer-address { font-style: normal; margin-top: .6rem; line-height: 1.5; }
@media (max-width: 760px) { .footer-brand img { height: 100px; } }
