/* ==========================================================================
   The Pocket School — site styles
   Palette and type come straight from the Claude Design file.
   ========================================================================== */

:root {
  --cream: #FFF7E6;
  --ink: #1F2E4A;
  --blue: #2E5FBF;
  --blue-dark: #1F4494;
  --red: #E6473B;
  --green: #2E9E5B;        /* decorative fills and large text only (3.4:1 with white) */
  --green-dark: #25844B;   /* surfaces with white body text: 4.7:1 (WCAG AA) */
  --green-deep: #1E6E3E;   /* hover for --green-dark */
  --red-deep: #D0362B;     /* white-on-red badges and link hover: 4.5:1+ on white and cream */
  --yellow: #FFD23F;
  --yellow-pale: #FFE9B3;
  --pink: #F5A8C7;
  --sky: #8EC9F2;
  --sky-pale: #DCEEFB;
  --tan: #E3D3AE;
  --muted: #4A5A78;
  --footer-text: #D9D3C3;
  --footer-muted: #9AA3B8;

  --font-body: 'Lora', Georgia, 'Times New Roman', serif;
  --font-hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;

  --container: 1140px;
  --section-pad: clamp(48px, 9vw, 80px);
  --ring: 0 0 0 2px var(--ink);
}

/* Self-hosted fonts (subset to Latin + Spanish punctuation). SIL OFL — see assets/fonts/ */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/lora-400.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/lora-600.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/lora-700.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/lora-400i.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/caveat-700.woff2') format('woff2'); }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

h1, h2, h3, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

a { color: var(--blue); }
a:hover { color: var(--red-deep); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--yellow); color: var(--ink); }

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: 24px; }

.tilt { transform: rotate(var(--tilt, 0deg)); }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.hand { font-family: var(--font-hand); font-weight: 700; line-height: 1; }

.kicker { font-family: var(--font-hand); font-weight: 700; font-size: 30px; line-height: 1; }
.kicker--lg { font-size: 32px; }
.kicker--blue { color: var(--blue); }
.kicker--red { color: var(--red); }
.kicker--green { color: var(--green); }
.kicker--yellow { color: var(--yellow); }

.h1 { font-size: clamp(40px, 5.6vw, 66px); line-height: 1.02; font-weight: 700; letter-spacing: -.01em; }
.h1--sub { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: 0; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 700; }
.h3 { font-size: 23px; line-height: 1.2; font-weight: 700; }
.h3--lg { font-size: 24px; }

.hand-word { font-family: var(--font-hand); font-weight: 700; color: var(--red); font-size: 1.25em; line-height: .9; }
.highlight { background: linear-gradient(transparent 58%, var(--yellow) 58%); }

.lead { font-size: 19px; line-height: 1.6; }
.lead--hero { line-height: 1.55; max-width: 520px; }
.text-lg { font-size: 18px; line-height: 1.6; }
.text { font-size: 16px; line-height: 1.6; }
.small { font-size: 15px; color: var(--muted); }
.arrow-link { font-weight: 600; font-size: 17px; }

.measure-720 { max-width: 720px; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack--6 { gap: 6px; }
.stack--8 { gap: 8px; }
.stack--10 { gap: 10px; }
.stack--12 { gap: 12px; }
.stack--16 { gap: 16px; }
.stack--18 { gap: 18px; }
.stack--20 { gap: 20px; }
.stack--24 { gap: 24px; }
.stack--32 { gap: 32px; }
.stack--36 { gap: 36px; }
.stack--44 { gap: 44px; }

.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.row--10 { gap: 10px; }
.row--12 { gap: 12px; }
.row--18 { gap: 18px; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }

.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--sched { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid--split { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 5vw, 48px); align-items: center; }
.grid--split-300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 56px); align-items: center; }
.grid--start { align-items: start; }
.grid--info { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.grid--passes { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 14px; }
.grid--photos { grid-template-columns: 1fr 1fr; gap: 16px; }

.center-x { display: flex; justify-content: center; }
.self-start { align-self: flex-start; }
.mt-6 { margin-top: 6px; }
.mt-8 { margin-top: 8px; }

/* --------------------------------------------------------------------------
   Sections & decorative shapes
   -------------------------------------------------------------------------- */
.section { position: relative; overflow: hidden; }
.section__inner { position: relative; max-width: var(--container); margin: 0 auto; padding: var(--section-pad) 24px; }
.section--white { background: #fff; border-top: 2px dashed var(--tan); border-bottom: 2px dashed var(--tan); }
.section--sky { background: var(--sky-pale); }
.section--blue { background: var(--blue); color: #fff; }
.section--blue .h2, .section--blue p { color: #fff; }

.section__inner--tail { padding-bottom: 88px; }
.section__inner--faq { padding-top: 0; padding-bottom: 88px; }

.page--sub { --section-pad: clamp(44px, 8vw, 72px); }

.link--yellow { color: var(--yellow-pale); }
.link--yellow:hover, .link--yellow:focus-visible { color: #fff; }

.hero { position: relative; overflow: hidden; }
.hero__inner { position: relative; max-width: var(--container); margin: 0 auto; padding: clamp(40px, 7vw, 64px) 24px clamp(56px, 9vw, 88px); }
.hero__inner--sub { padding: clamp(44px, 8vw, 72px) 24px 56px; }
.hero__inner--sub-short { padding: clamp(44px, 8vw, 72px) 24px 48px; }
.hero__inner--sub-shorter { padding: clamp(44px, 8vw, 72px) 24px 40px; }
.hero__inner--sub-tall { padding: clamp(44px, 8vw, 72px) 24px 80px; }
.hero__inner--sub-tallest { padding: clamp(44px, 8vw, 72px) 24px 88px; }
.hero__text { max-width: 760px; }
.hero__text--center { margin-inline: auto; }

.blob { position: absolute; pointer-events: none; }
.blob--a { border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%; }
.blob--b { border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%; }
.blob--c { border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%; }
.blob--d { border-radius: 50% 50% 45% 55% / 60% 40% 60% 40%; }
.blob--dot { border-radius: 50%; }
.blob--star { clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

.bg-yellow { background: var(--yellow); }
.bg-pink { background: var(--pink); }
.bg-sky { background: var(--sky); }
.bg-green { background: var(--green); }
.bg-blue { background: var(--blue); }
.bg-blue-dark { background: var(--blue-dark); }
.bg-red { background: var(--red); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream); border-bottom: 2px dashed var(--tan);
}
.site-header__bar {
  max-width: var(--container); margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap;
}

.brand { display: flex; align-items: center; text-decoration: none; border-radius: 8px; }
.brand__logo { height: 56px; width: auto; }

.site-nav { display: none; margin-left: auto; align-items: center; gap: 2px; flex-wrap: wrap; }
.site-nav a {
  position: relative; font-size: 15px; color: var(--ink); text-decoration: none;
  padding: 8px 10px; border-radius: 999px; white-space: nowrap; display: inline-block;
}
.site-nav a:hover, .site-nav a:focus-visible { background: var(--yellow-pale); color: var(--ink); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 8px; height: 8px;
  margin-left: -4px; border-radius: 50%; background: var(--red);
}

.site-header .header-wa { display: none; --tilt: -1deg; }

.menu-toggle {
  margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 2px solid var(--ink); background: #fff; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; cursor: pointer; padding: 0; box-shadow: 3px 3px 0 var(--yellow);
}
.menu-toggle__bar { display: block; width: 20px; height: 3px; border-radius: 2px; background: var(--ink); }
.menu-toggle__close { display: none; font-family: var(--font-hand); font-weight: 700; font-size: 34px; line-height: 1; color: var(--red); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

.mobile-menu {
  border-top: 2px dashed var(--tan); background: var(--cream);
  padding: 12px 16px 22px; display: flex; flex-direction: column; gap: 2px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; min-height: 48px; padding: 6px 14px;
  font-size: 20px; font-weight: 600; color: var(--ink); text-decoration: none; border-radius: 12px;
}
.mobile-menu a:not(.btn):hover, .mobile-menu a:not(.btn):focus-visible { background: var(--yellow-pale); color: var(--ink); }
.mobile-menu a[aria-current="page"]::after {
  content: ""; width: 8px; height: 8px; margin-left: 10px; border-radius: 50%; background: var(--red); flex-shrink: 0;
}
.mobile-menu__cta { margin: 14px 14px 0; min-height: 52px; font-size: 18px; }

/* No JavaScript: keep the menu reachable */
.no-js .menu-toggle { display: none; }
.no-js .mobile-menu[hidden] { display: flex; }

@media (min-width: 1000px) {
  .site-nav { display: flex; }
  .site-header .header-wa { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-menu, .no-js .mobile-menu[hidden] { display: none; }
}

/* --------------------------------------------------------------------------
   Buttons, pills, badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-family: inherit; font-weight: 700; font-size: 17px;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease, color .15s ease;
}
.btn--wa { background: var(--green-dark); color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.btn--wa:hover, .btn--wa:focus-visible { background: var(--green-deep); color: #fff; }
.btn--lift:hover { transform: translate(-1px, -1px) rotate(var(--tilt, 0deg)); }
.btn--sm { font-size: 15px; padding: 10px 18px; box-shadow: 3px 3px 0 var(--ink); }
.btn--lg { font-size: 18px; padding: 16px 26px; }
.btn--outline { background: #fff; color: var(--ink); border: 2px solid var(--ink); font-weight: 600; padding: 13px 22px; }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--yellow-pale); color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; font-size: 18px; padding: 16px 28px; box-shadow: 4px 4px 0 #fff; }
.btn--ink:hover, .btn--ink:focus-visible { background: var(--blue); color: #fff; }

.badge {
  display: inline-block; background: var(--red-deep); color: #fff; font-weight: 700;
  font-size: 14px; letter-spacing: .02em; padding: 8px 16px; border-radius: 999px;
}
.badge--lg { font-size: 16px; padding: 10px 18px; letter-spacing: 0; }

.price-pill { display: inline-block; background: var(--yellow); border-radius: 999px; padding: 14px 24px; font-weight: 700; font-size: 17px; color: var(--ink); }

.pill { display: inline-block; font-weight: 700; font-size: 16px; padding: 8px 16px; border-radius: 999px; color: var(--ink); }

.chip { display: inline-block; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 600; }

.sticker {
  position: absolute; top: 0; right: 0; font-family: var(--font-hand); font-weight: 700; line-height: 1;
  padding: 12px 16px; border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); white-space: nowrap;
}
.sticker--yellow { background: var(--yellow); color: var(--ink); font-size: 26px; }
.sticker--green { background: var(--green); color: #fff; font-size: 24px; }

/* --------------------------------------------------------------------------
   Photos (polaroid frames)
   -------------------------------------------------------------------------- */
.photo-wrap { position: relative; padding: 20px 10px; }
.photo-wrap--portrait { width: min(100%, 400px); padding: 20px 12px; }
.photo-wrap--square { width: min(100%, 360px); }

.polaroid { background: #fff; padding: 14px 14px 18px; border-radius: 6px; box-shadow: 0 18px 40px rgba(31, 46, 74, .16), var(--ring); }
.polaroid--sm { padding: 12px 12px 14px; }
.polaroid--xs { padding: 10px 10px 12px; box-shadow: 0 12px 30px rgba(31, 46, 74, .14), var(--ring); }
.polaroid--soft { box-shadow: 0 18px 40px rgba(0, 0, 0, .2); }
.polaroid--offset { margin-top: 28px; }
.polaroid--book { width: min(100%, 380px); }

.polaroid__photo { position: relative; width: 100%; aspect-ratio: var(--ratio, 4 / 5); overflow: hidden; background: var(--cream); }
.polaroid__photo img { width: 100%; height: 100%; object-fit: cover; }
.polaroid__caption { font-family: var(--font-hand); font-weight: 700; font-size: 30px; color: var(--ink); padding: 12px 6px 0; line-height: 1; }
.polaroid--sm .polaroid__caption { font-size: 28px; padding: 10px 4px 0; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  --shadow-size: 7px; --shadow-color: var(--yellow);
  background: var(--cream); border: 2px solid var(--ink); border-radius: 18px; padding: 28px;
  box-shadow: var(--shadow-size) var(--shadow-size) 0 var(--shadow-color);
  display: flex; flex-direction: column; gap: 14px;
}
.card--lg { padding: 30px; }
.card--yellow { --shadow-color: var(--yellow); }
.card--pink { --shadow-color: var(--pink); }
.card--sky { --shadow-color: var(--sky); }
.card--red { --shadow-color: var(--red); }

.num { width: 46px; height: 46px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.num--red { background: var(--red); }
.num--blue { background: var(--blue); }
.num--green { background: var(--green); }

.card__index { font-family: var(--font-hand); font-weight: 700; font-size: 30px; line-height: 1; }

/* Schedule cards */
.sched { border-radius: 22px; padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.sched--pink { background: var(--pink); }
.sched--green { background: var(--green-dark); color: #fff; }
.sched--sky { background: var(--sky); }
.sched--detail { padding: 28px; }
.sched__day { font-weight: 700; font-size: 22px; }
.sched__time { font-size: 17px; }
.sched__age { font-family: var(--font-hand); font-weight: 700; font-size: 26px; line-height: 1; margin-top: 8px; }
.sched--detail .sched__age { font-size: 28px; margin-top: 10px; }
.sched__desc { font-size: 15px; line-height: 1.5; margin-top: 10px; }

/* FAQ teaser links */
.faq-link {
  display: block; text-decoration: none; color: var(--ink); background: #fff; border: 2px solid var(--ink);
  border-radius: 14px; padding: 18px 22px; font-size: 18px; font-weight: 600;
  transition: background-color .15s ease;
}
.faq-link:hover, .faq-link:focus-visible { background: var(--yellow-pale); color: var(--ink); }

/* FAQ accordion */
.faq-list { max-width: 820px; }
.faq { background: #fff; border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-size: 19px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__q { font-size: 19px; font-weight: 600; line-height: 1.3; margin: 0; }
.faq summary:hover { background: var(--cream); }
.faq summary:focus-visible { outline-offset: -4px; border-radius: 12px; }
.faq__icon { font-family: var(--font-hand); font-weight: 700; font-size: 30px; line-height: 1; color: var(--red); flex-shrink: 0; }
.faq__icon::before { content: "+"; }
.faq[open] .faq__icon::before { content: "–"; }
.faq__answer { padding: 0 22px 22px; font-size: 17px; line-height: 1.65; }

/* Summer passes */
.pass { border-radius: 18px; padding: 22px 16px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.pass__name { font-family: var(--font-hand); font-weight: 700; font-size: 30px; line-height: 1; }
.pass__desc { font-size: 14px; }

/* Contact info cards */
.info { background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.info__label { font-family: var(--font-hand); font-weight: 700; font-size: 26px; line-height: 1; color: var(--blue); }
.info__text { font-size: 16px; line-height: 1.5; font-style: normal; }

/* --------------------------------------------------------------------------
   CTA band + footer
   -------------------------------------------------------------------------- */
.cta-band { background: var(--yellow); position: relative; overflow: hidden; }
.cta-band__inner {
  position: relative; max-width: var(--container); margin: 0 auto; padding: clamp(44px, 8vw, 72px) 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta-band__title { font-family: var(--font-hand); font-weight: 700; font-size: 44px; line-height: 1; color: var(--ink); }
.cta-band p { font-size: 18px; line-height: 1.5; max-width: 520px; }

.site-footer { background: var(--ink); color: var(--cream); }
.site-footer__grid {
  max-width: var(--container); margin: 0 auto; padding: 56px 24px 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px;
}
.site-footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.6; color: var(--footer-text); }
.site-footer__col--brand { gap: 12px; }
.site-footer__brand { font-family: var(--font-hand); font-weight: 700; font-size: 32px; line-height: 1; color: var(--cream); }
.site-footer__heading { font-weight: 700; font-size: 15px; color: var(--yellow); margin: 0; }
.site-footer a { color: var(--cream); }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--yellow); }
.site-footer__col--pages a { text-decoration: none; }
.site-footer address { font-style: normal; }
.site-footer__legal { max-width: var(--container); margin: 0 auto; padding: 0 24px 28px; font-size: 13px; color: var(--footer-muted); }

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .cta-band, .skip-link, .menu-toggle { display: none; }
  .blob { display: none; }
  body { background: #fff; }
}
