/* Learning in Godly Hands: site styles. Built by Carver Clicks.
   Palette: paper cream, garden greens, terracotta, sunshine, sky, plum.
   Fonts are served from this site (OFL licences in /assets/fonts/). */

@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-full.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-full-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(/assets/fonts/nunito.woff2) format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(/assets/fonts/caveat-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --paper: #FFF8EC;
  --paper-2: #FBEEDA;
  --paper-3: #F6E3C4;
  --ink: #2E2A26;
  --ink-soft: #5B524A;
  --olive: #3E4C35;
  --leaf: #5E8B4E;
  --sage: #8DB56A;
  --terra: #D9774B;
  --terra-dark: #B85A31;
  --sun: #F6C445;
  --sky: #9FD3E8;
  --sky-deep: #3F87AB;
  --plum: #8C5A8F;
  --rose: #F2A7A0;
  --c: var(--terra);          /* category colour, set per card */
  --c-soft: #FBE3D6;
  --radius: 22px;
  --shadow: 6px 6px 0 var(--ink);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem; line-height: 1.65; font-weight: 500;
  overflow-x: hidden;
  background-image: radial-gradient(rgba(46,42,38,.045) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
}
img, svg { max-width: 100%; }
a { color: var(--sky-deep); text-underline-offset: 3px; }
a:hover { color: var(--terra-dark); }
:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif; font-weight: 640; line-height: 1.08;
  color: var(--olive); margin: 0 0 .5em; letter-spacing: -.01em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.32rem; font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 24; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 800; }
.skip:focus { top: 12px; color: var(--paper); }

.eyebrow {
  font-family: "Caveat", "Comic Sans MS", cursive; font-weight: 600; font-size: 1.55rem; line-height: 1.1;
  color: var(--terra-dark); margin: 0 0 .35em; display: inline-flex; align-items: center; gap: .45em;
}
.eyebrow::before { content: ""; width: 26px; height: 12px; flex: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M2 7 C7 2 11 11 16 6 C19 3 22 4 24 6' fill='none' stroke='%23D9774B' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 36em; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 800 1rem/1 "Nunito", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  padding: .95em 1.5em; border-radius: 999px; border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease, background .2s;
  min-height: 48px; white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-sun { background: var(--terra); color: #fff; }
.btn-sun:hover { background: var(--terra-dark); color: #fff; }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-ghost:hover { background: var(--sun); color: var(--ink); }
.btn-big { font-size: 1.08rem; padding: 1.05em 1.7em; }
.btn-small { font-size: .95rem; padding: .8em 1.25em; min-height: 44px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 236, .92); backdrop-filter: saturate(1.3) blur(8px); -webkit-backdrop-filter: saturate(1.3) blur(8px);
  border-bottom: 2.5px solid var(--ink);
}
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--olive); min-width: 0; }
.brand .mark { width: 50px; height: 50px; flex: none; transition: transform .3s ease; }
.brand:hover .mark { transform: rotate(-6deg) scale(1.06); }
.brand-words { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.28rem; line-height: 1.05; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--olive); }
.brand-sub { font-family: "Caveat", cursive; font-size: 1.08rem; color: var(--terra-dark); line-height: 1.1; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.site-nav li a {
  display: block; text-decoration: none; color: var(--ink); font-weight: 800; font-size: .98rem;
  padding: .55em .85em; border-radius: 999px; transition: background .2s;
}
.site-nav li a:hover { background: var(--paper-3); color: var(--ink); }
.site-nav li a[aria-current="page"] { background: var(--sun); box-shadow: inset 0 0 0 2px var(--ink); }
.nav-cta { padding: .8em 1.25em; min-height: 46px; }
.nav-cta[aria-current="page"] { background: var(--olive); }
.menu-btn {
  display: none; align-items: center; gap: 8px; font: 800 .98rem/1 "Nunito", sans-serif; color: var(--ink);
  background: var(--sun); border: 2.5px solid var(--ink); border-radius: 999px; padding: 10px 16px; min-height: 46px;
  box-shadow: 3px 3px 0 var(--ink); cursor: pointer;
}
.menu-ico { display: inline-flex; flex-direction: column; gap: 4px; width: 20px; }
.menu-ico i { display: block; height: 3px; border-radius: 3px; background: var(--ink); transition: transform .25s, opacity .2s; }
.menu-btn[aria-expanded="true"] .menu-ico i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-ico i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-ico i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  :root { --head-h: 68px; }
  .brand .mark { width: 44px; height: 44px; }
  .menu-btn { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 14px; padding: 18px var(--gutter) 24px;
    background: var(--paper); border-bottom: 2.5px solid var(--ink);
    box-shadow: 0 18px 30px -18px rgba(46,42,38,.35);
    transform-origin: top; transform: scaleY(.96); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility 0s linear .2s;
    max-height: calc(100dvh - var(--head-h)); overflow-y: auto;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav li a { font-size: 1.12rem; padding: .8em 1em; }
  .nav-cta { align-self: flex-start; }
}
@media (max-width: 400px) {
  .brand-name { font-size: 1.08rem; }
  .brand-sub { font-size: .95rem; }
  .brand .mark { width: 38px; height: 38px; }
  .menu-txt { display: none; }
  .menu-btn { padding: 10px 13px; }
}

/* ---------------------------------------------------------------- hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(20px, 3vw, 40px); position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.torah { font-style: italic; color: var(--terra); position: relative; white-space: nowrap; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72; }
.squig { position: absolute; left: -2%; right: -2%; bottom: -.16em; height: .26em; color: var(--sun); pointer-events: none; }
.squiggle { width: 100%; height: 100%; display: block; overflow: visible; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.hero-chips li { font-weight: 800; font-size: .9rem; padding: .4em .9em; border-radius: 999px; background: #fff; border: 2px dashed rgba(46,42,38,.35); }
.hero-art-wrap { position: relative; }
.hero-art { width: 100%; height: auto; display: block; overflow: visible; }
.sign-text { font: 700 17px "Nunito", sans-serif; fill: var(--olive); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art-wrap { order: -1; max-width: 520px; margin: 0 auto -8px; width: 100%; }
}

/* ---------------------------------------------------------------- ticker */
.ticker-clip { overflow: hidden; padding: 18px 0 10px; }
.ticker { position: relative; background: var(--sun); border-block: 2.5px solid var(--ink); transform: rotate(-1.2deg); margin: 0 -24px; overflow: hidden; }
.ticker-track { display: flex; width: max-content; }
.ticker ul { list-style: none; display: flex; margin: 0; padding: 12px 0; }
.ticker li { font-family: "Fraunces", Georgia, serif; font-weight: 650; font-size: 1.18rem; white-space: nowrap; padding: 0 22px; font-variation-settings: "SOFT" 100, "WONK" 1; }
.ticker li::after { content: "✿"; margin-left: 44px; color: var(--terra-dark); position: relative; left: -22px; }

/* ---------------------------------------------------------------- sections */
section { position: relative; }
.offers-sec, .how-sec, .rhythm-sec, .pillars-mini, .story-sec, .pay-sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head p:last-child { color: var(--ink-soft); font-size: 1.1rem; }
.sec-head-center { margin-inline: auto; text-align: center; }
.sec-head-center .eyebrow { justify-content: center; }

/* sticker cards */
.offer-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.offer { grid-column: span 2; }
.offer:nth-child(4) { grid-column: 2 / span 2; }
.offer:nth-child(5) { grid-column: 4 / span 2; }
.offer {
  position: relative; background: #fff; border: 2.5px solid var(--ink); border-radius: var(--radius);
  padding: 26px 24px 22px; box-shadow: 6px 6px 0 var(--c); transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.offer:nth-child(odd) { transform: rotate(-.8deg); }
.offer:nth-child(even) { transform: rotate(.9deg); }
.offer:hover { transform: rotate(0) translateY(-6px); box-shadow: 9px 10px 0 var(--c); }
.offer-ico { width: 88px; height: 88px; margin: -2px 0 6px -6px; }
.offer-ico svg, .class-ico svg, .how-ico svg, .pay-ico svg { width: 100%; height: 100%; display: block; overflow: visible; }
.tag {
  display: inline-block; align-self: flex-start; white-space: nowrap; font-weight: 900; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--c-soft); color: var(--ink); padding: .4em .85em; border-radius: 999px; border: 2px solid var(--ink); margin: 0 0 12px;
}
.offer h3 { margin-bottom: .35em; }
.offer p { color: var(--ink-soft); font-size: 1rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 16px; padding: 0; }
.chips li { font-size: .86rem; font-weight: 800; background: var(--paper-2); border: 1.8px solid rgba(46,42,38,.25); border-radius: 999px; padding: .3em .8em; }
.card-link { margin-top: auto; font-weight: 900; color: var(--ink); text-decoration: none; display: inline-flex; gap: .35em; }
.card-link span { transition: transform .2s; }
.card-link:hover { color: var(--terra-dark); }
.card-link:hover span { transform: translateX(4px); }
.cat-academic { --c: var(--sky); --c-soft: #DCEFF7; }
.cat-testprep { --c: #B48BB7; --c-soft: #EADCEB; }
.cat-lifeskills { --c: var(--terra); --c-soft: #FBE3D6; }
.cat-social { --c: var(--sage); --c-soft: #E3EFD2; }
.cat-writing { --c: var(--rose); --c-soft: #FCE4E1; }
@media (max-width: 1000px) {
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer, .offer:nth-child(4), .offer:nth-child(5) { grid-column: auto; }
  .offer:nth-child(5) { grid-column: 1 / -1; max-width: 560px; justify-self: center; width: 100%; }
}
@media (max-width: 640px) {
  .offer-grid { grid-template-columns: minmax(0, 1fr); }
  .offer:nth-child(5) { max-width: none; }
}

/* chalkboard */
.approach-sec { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
.chalk { position: relative; }
.chalk-board {
  position: relative; background: #34453A; color: #F5F1E6; border-radius: 18px; padding: clamp(32px, 5vw, 64px);
  border: 14px solid #A8743F; box-shadow: inset 0 0 0 3px rgba(0,0,0,.25), inset 0 0 80px rgba(0,0,0,.35), 8px 8px 0 var(--ink);
  outline: 2.5px solid var(--ink); outline-offset: 0;
  background-image: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.07), transparent 60%), radial-gradient(ellipse at 80% 90%, rgba(255,255,255,.05), transparent 55%);
  overflow: hidden;
}
.chalk-cols { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.chalk h2 { color: #FFFDF5; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.eyebrow-chalk { color: var(--sun); }
.eyebrow-chalk::before { filter: brightness(1.6) saturate(.6); }
.chalk-text p { color: rgba(245,241,230,.92); font-size: 1.1rem; }
.verse { margin: 22px 0 18px; padding: 0; }
.verse p { font-family: "Caveat", cursive; font-size: clamp(1.6rem, 2.6vw, 2.05rem); line-height: 1.25; margin: 0 0 .25em; }
.verse cite { font-style: normal; font-weight: 800; letter-spacing: .06em; font-size: .9rem; text-transform: uppercase; }
.chalk .verse p { color: #FFF3C4; }
.chalk .verse cite { color: var(--sky); }
.chalk-link { color: #FFFDF5; font-weight: 900; text-decoration-color: var(--sun); text-decoration-thickness: 3px; }
.chalk-link:hover { color: var(--sun); }
.chalk-doodles .cd { position: absolute; font-family: "Caveat", cursive; color: rgba(255,255,255,.16); font-size: 2.6rem; pointer-events: none; }
.cd-abc { bottom: 9%; left: 6%; transform: rotate(-6deg); }
.cd-123 { bottom: 9%; left: 22%; transform: rotate(5deg); }
.cd-star { top: 7%; right: 3.5%; font-size: 2rem !important; }
.cd-heart { bottom: 22%; left: 33%; font-size: 2.2rem !important; }
@media (max-width: 800px) { .chalk-doodles { display: none; } }
.chalk-tray { position: relative; height: 16px; margin: -4px 6% 0; background: #8C5E32; border: 2.5px solid var(--ink); border-radius: 0 0 10px 10px; }
.chalk-stick { position: absolute; top: -9px; left: 18%; width: 46px; height: 9px; border-radius: 4px; background: #FFFDF5; border: 2px solid var(--ink); }
.chalk-stick.c2 { left: 26%; width: 30px; background: var(--rose); }
.eraser { position: absolute; top: -16px; right: 16%; width: 70px; height: 16px; border-radius: 4px; background: var(--sky-deep); border: 2.5px solid var(--ink); }
.eraser::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: #F3DDB0; border-top: 2px solid var(--ink); }
@media (max-width: 800px) { .chalk-cols { grid-template-columns: minmax(0, 1fr); } .chalk-board { border-width: 10px; } }

/* how it works */
.how-sec-tint { background: var(--paper-2); border-block: 2.5px dashed rgba(46,42,38,.2); }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.how-card { background: #fff; border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.how-card:nth-child(2) { transform: translateY(14px); }
.how-ico { width: 84px; height: 84px; margin-bottom: 8px; }
.how-card p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .how-grid { grid-template-columns: minmax(0, 1fr); } .how-card:nth-child(2) { transform: none; } }

/* weekly rhythm */
.rhythm-sec { background: linear-gradient(180deg, transparent, var(--paper-2) 30%, var(--paper-2) 70%, transparent); }
.week { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; max-width: 880px; margin: 0 auto; padding: 0; }
.day { display: flex; flex-direction: column; align-items: center; gap: 2px; background: #fff; border: 2.5px solid var(--ink); border-radius: 20px; padding: 14px 6px 12px; box-shadow: 4px 4px 0 var(--sun); text-align: center; }
.day-ico { width: 46px; height: 46px; }
.day-ico svg { width: 100%; height: 100%; display: block; overflow: visible; }
.day-short { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.25rem; color: var(--olive); font-variation-settings: "SOFT" 100, "WONK" 1; }
.day-note { font-family: "Caveat", cursive; font-size: 1.05rem; color: var(--ink-soft); line-height: 1; }
.day-rest { background: #3C3150; box-shadow: 4px 4px 0 var(--plum); transform: rotate(2deg) scale(1.06); }
.day-rest .day-short { color: #FFF3C4; }
.day-rest .day-note { color: var(--sun); font-size: 1.2rem; }
@media (max-width: 700px) {
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .day-rest { grid-column: span 2; flex-direction: row; justify-content: center; gap: 10px; transform: rotate(1deg); }
}

/* call to action band */
.cta-band { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }
.cta-inner {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 36px); align-items: center;
  background: var(--sky); border: 2.5px solid var(--ink); border-radius: 30px; padding: clamp(24px, 4vw, 44px) clamp(22px, 4vw, 48px);
  box-shadow: 8px 8px 0 var(--ink);
  background-image: radial-gradient(circle at 88% 20%, rgba(255,255,255,.55) 0 60px, transparent 61px), radial-gradient(circle at 96% 70%, rgba(255,255,255,.4) 0 34px, transparent 35px);
}
.cta-inner h2 { margin-bottom: .2em; }
.cta-inner p { margin: 0; color: var(--ink); font-weight: 600; }
.cta-art { width: 86px; }
.cta-art svg { width: 100%; height: auto; display: block; overflow: visible; }
.cta-btns { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) {
  .cta-inner { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .cta-btns { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .cta-art { width: 70px; }
}

/* ---------------------------------------------------------------- inner page hero */
.page-hero { padding: clamp(36px, 6vw, 76px) 0 clamp(20px, 3vw, 36px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.page-hero-grid:not(:has(.page-hero-art)) { grid-template-columns: minmax(0, 1fr); }
.page-hero-text { max-width: 820px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); }
.roots-art, .lost-art { width: 100%; height: auto; display: block; overflow: visible; }
.root-label text { font: 600 30px "Caveat", cursive; fill: var(--olive); }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } .page-hero-art { max-width: 460px; } }

/* about: story */
.story-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(22px, 4vw, 48px); align-items: center; }
.paper {
  position: relative; background: #fff; border: 2.5px solid var(--ink); border-radius: 8px;
  padding: 34px clamp(24px, 4vw, 48px); box-shadow: var(--shadow);
  background-image: repeating-linear-gradient(180deg, transparent 0 32px, rgba(63,135,171,.18) 32px 34px);
}
.paper p { font-size: 1.125rem; line-height: 34px; margin: 0 0 34px; }
.paper p:last-child { margin-bottom: 0; }
.dropcap::first-letter { float: left; font-family: "Fraunces", Georgia, serif; font-weight: 800; font-size: 60px; line-height: 60px; margin: 4px 10px 0 0; color: var(--terra); font-variation-settings: "SOFT" 100, "WONK" 1; }
.tape { position: absolute; top: -16px; left: 50%; width: 120px; height: 30px; margin-left: -60px; background: rgba(246,196,69,.75); border: 1.5px solid rgba(46,42,38,.25); transform: rotate(-3deg); clip-path: polygon(0 10%, 4% 0, 8% 12%, 12% 0, 16% 10%, 100% 0, 96% 50%, 100% 100%, 4% 92%, 0 100%); }
.verse-card { position: relative; background: var(--olive); color: #FFF3C4; border-radius: 26px; padding: clamp(26px, 4vw, 40px); border: 2.5px solid var(--ink); box-shadow: 8px 8px 0 var(--sun); transform: rotate(1.5deg); }
.verse-card .verse { margin: 0; }
.verse-card .verse p { color: #FFF3C4; }
.verse-card .verse cite { color: var(--sky); }
.verse-star { position: absolute; top: -20px; right: -14px; width: 44px; height: 44px; overflow: visible; }
@media (max-width: 860px) { .story-grid { grid-template-columns: minmax(0, 1fr); } .verse-card { transform: none; } }

/* ---------------------------------------------------------------- classes page */
.jump-nav { position: sticky; top: var(--head-h); z-index: 30; background: rgba(255,248,236,.94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-block: 2px dashed rgba(46,42,38,.2); }
.jump-nav ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.jump-nav ul::-webkit-scrollbar { display: none; }
.jump { display: block; white-space: nowrap; text-decoration: none; font-weight: 900; font-size: .9rem; color: var(--ink); padding: .5em 1em; border-radius: 999px; background: var(--c-soft); border: 2px solid var(--ink); }
.jump:hover { background: var(--c); color: var(--ink); }
.class-sec { padding: clamp(48px, 7vw, 88px) 0; scroll-margin-top: calc(var(--head-h) + 60px); }
.class-sec:nth-of-type(even) { background: var(--paper-2); }
.class-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.class-sec.flip .class-intro { order: 2; }
.class-ico { width: 110px; height: 110px; margin-bottom: 6px; }
.class-intro p { color: var(--ink-soft); font-size: 1.08rem; }
.price-card { position: relative; background: #fff; border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 30px clamp(20px, 3vw, 32px) 26px; box-shadow: 8px 8px 0 var(--c); }
.price-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.price-list { list-style: none; margin: 0 0 22px; padding: 0; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 2px dotted rgba(46,42,38,.22); }
.price-row:last-child { border-bottom: 0; }
.pr-name { display: flex; flex-direction: column; min-width: 0; }
.pr-name b { font-weight: 850; font-size: 1.04rem; }
.pr-name span { font-size: .86rem; color: var(--ink-soft); }
.pr-amt { flex: none; font-family: "Fraunces", Georgia, serif; font-weight: 750; font-size: 1.32rem; color: var(--terra-dark); background: var(--c-soft); border: 2px solid var(--ink); border-radius: 12px; padding: .1em .55em; transform: rotate(-2deg); font-variation-settings: "SOFT" 100, "WONK" 1; }
.pr-free { background: var(--sage); color: var(--ink); }
@media (max-width: 860px) {
  .class-grid { grid-template-columns: minmax(0, 1fr); }
  .class-sec.flip .class-intro { order: 0; }
  .class-ico { width: 88px; height: 88px; }
}
.pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 26px); }
.pay-card { background: #fff; border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.pay-card p { color: var(--ink-soft); margin: 0; }
.pay-card.soon { background: var(--paper-2); border-style: dashed; box-shadow: none; }
.pay-ico { width: 60px; height: 60px; margin-bottom: 6px; }
.ico-dollar { font: 900 18px "Nunito", sans-serif; fill: var(--ink); }
.soon-badge { display: inline-block; vertical-align: middle; font: 900 .7rem/1 "Nunito", sans-serif; letter-spacing: .08em; text-transform: uppercase; background: var(--sun); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: .45em .8em; margin-left: 6px; }
@media (max-width: 700px) { .pay-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- forms */
.enroll-sec { padding: 8px 0 clamp(56px, 8vw, 96px); }
.enroll-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(22px, 3vw, 40px); align-items: start; }
.step { border: 0; padding: 0; margin: 0 0 clamp(30px, 4vw, 44px); min-width: 0; }
.step legend { display: flex; align-items: center; gap: 12px; font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: clamp(1.45rem, 2.6vw, 1.9rem); color: var(--olive); margin-bottom: 10px; font-variation-settings: "SOFT" 100, "WONK" 1; padding: 0; }
.step-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sun); border: 2.5px solid var(--ink); font-family: "Nunito", sans-serif; font-weight: 900; font-size: 1.2rem; color: var(--ink); flex: none; box-shadow: 3px 3px 0 var(--ink); }
.step-help { color: var(--ink-soft); margin-bottom: 18px; }
.loading { color: var(--ink-soft); font-style: italic; }
.picker { display: flex; flex-direction: column; gap: 26px; }
.pick-group { scroll-margin-top: calc(var(--head-h) + 20px); }
.pick-group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 12px; }
.pick-group h3 .pg-ico { width: 44px; height: 44px; flex: none; }
.pick-group h3 .pg-ico svg { width: 100%; height: 100%; display: block; overflow: visible; }
.pick-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.pick { position: relative; background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; transition: box-shadow .2s, transform .2s, background .2s; box-shadow: 3px 3px 0 rgba(46,42,38,.25); }
.pick:hover { transform: translateY(-2px); }
.pick:has(input:checked) { background: var(--c-soft); box-shadow: 5px 5px 0 var(--c); }
.pick-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; }
.pick-main input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick-box { width: 28px; height: 28px; border-radius: 9px; border: 2.5px solid var(--ink); background: #fff; display: grid; place-items: center; transition: background .2s; }
.pick-box svg { width: 18px; height: 18px; opacity: 0; transform: scale(.4) rotate(-20deg); transition: opacity .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.pick:has(input:checked) .pick-box { background: var(--sun); }
.pick:has(input:checked) .pick-box svg { opacity: 1; transform: none; }
.pick-main input:focus-visible + .pick-box { outline: 3px solid var(--sky-deep); outline-offset: 3px; }
.pick-txt { display: flex; flex-direction: column; min-width: 0; }
.pick-txt b { font-weight: 850; line-height: 1.25; }
.pick-txt small { font-size: .82rem; color: var(--ink-soft); line-height: 1.35; margin-top: 2px; }
.pick-price { font-family: "Fraunces", Georgia, serif; font-weight: 750; color: var(--terra-dark); white-space: nowrap; font-variation-settings: "SOFT" 100, "WONK" 1; }
.pick-price.free { color: var(--leaf); }
.pick-freq { display: none; padding: 0 16px 14px 56px; }
.pick:has(input:checked) .pick-freq { display: block; }
.pick-freq label { display: block; font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--olive); margin-bottom: 4px; }
@media (max-width: 1100px) { .pick-list { grid-template-columns: minmax(0, 1fr); } }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 850; font-size: .95rem; color: var(--olive); }
.req { font-family: "Caveat", cursive; font-weight: 600; font-size: 1.05rem; color: var(--terra-dark); margin-left: 4px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: 600 1rem/1.4 "Nunito", sans-serif; color: var(--ink); background: #fff;
  border: 2.5px solid var(--ink); border-radius: 14px; padding: 12px 14px; min-height: 48px; transition: box-shadow .2s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff no-repeat right 14px center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1.5 2 L7 8 L12.5 2' fill='none' stroke='%232E2A26' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 0 0 0 4px rgba(63,135,171,.35); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 4px rgba(179,38,30,.16); }
::placeholder { color: #9B9086; opacity: 1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts-box { min-height: 0; margin: 4px 0 16px; }
.form-msg { background: #FDECEA; border: 2.5px solid #B3261E; color: #6E1712; border-radius: 14px; padding: 12px 16px; font-weight: 700; }
.form-msg.info { background: #E8F4FA; border-color: var(--sky-deep); color: #1F4E66; }
.form-msg a { color: inherit; font-weight: 900; }
.form-msg .btn { margin-top: 10px; font-size: .95rem; }
.btn-send { width: 100%; }
.fine { font-size: .9rem; color: var(--ink-soft); margin-top: 14px; }
.nojs { background: var(--paper-2); border-radius: 14px; padding: 14px; }
@media (max-width: 640px) { .fields { grid-template-columns: minmax(0, 1fr); } .field-wide { grid-column: auto; } }

.summary { position: sticky; top: calc(var(--head-h) + 18px); }
.summary-card { position: relative; background: #fff; border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 30px 24px 22px; box-shadow: 8px 8px 0 var(--olive); }
.summary-card h2 { font-size: 1.5rem; }
.sum-lines { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.sum-empty { color: var(--ink-soft); font-style: italic; margin: 0; }
.sum-line { display: flex; justify-content: space-between; gap: 10px; font-size: .94rem; line-height: 1.35; padding-bottom: 8px; border-bottom: 2px dotted rgba(46,42,38,.2); }
.sum-line b { font-weight: 800; }
.sum-line span { white-space: nowrap; font-weight: 800; color: var(--terra-dark); }
.sum-line small { display: block; color: var(--ink-soft); font-weight: 600; }
.sum-totals { margin: 0 0 14px; }
.sum-totals div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 12px; border-radius: 12px; }
.sum-totals div:first-child { background: var(--sun); border: 2px solid var(--ink); margin-bottom: 8px; }
.sum-totals div:last-child { background: var(--paper-2); border: 2px dashed rgba(46,42,38,.35); }
.sum-totals dt { font-weight: 850; font-size: .95rem; }
.sum-totals dd { margin: 0; font-family: "Fraunces", Georgia, serif; font-weight: 750; font-size: 1.5rem; font-variation-settings: "SOFT" 100, "WONK" 1; }
.sum-fine { font-size: .8rem; color: var(--ink-soft); margin: 0; }
.sum-bar { display: none; }
@media (max-width: 960px) {
  .enroll-grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; order: -1; }
  .enroll-form { order: 0; }
  .summary { order: 1; }
  .sum-bar:not([hidden]) {
    display: flex; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    align-items: center; justify-content: space-between; gap: 12px; background: var(--olive); color: #FFF8EC;
    border: 2.5px solid var(--ink); border-radius: 999px; padding: 10px 10px 10px 20px; font-weight: 850; box-shadow: 4px 4px 0 var(--ink);
  }
  .sum-bar-link { background: var(--sun); color: var(--ink); text-decoration: none; border: 2px solid var(--ink); border-radius: 999px; padding: 9px 16px; font-weight: 900; white-space: nowrap; }
}

.done { padding: clamp(40px, 8vw, 110px) 0; text-align: center; }
.done-inner { max-width: 640px; }
.grow-art { width: 200px; height: auto; display: block; margin: 0 auto 10px; overflow: visible; }

/* contact */
.contact-sec { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 100px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 64px); align-items: start; }
.contact-info h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.contact-list { list-style: none; margin: 26px 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 800; color: var(--olive); min-width: 0; overflow-wrap: anywhere; }
.c-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--olive); color: var(--paper); font-weight: 900; font-size: 1.2rem; border: 2.5px solid var(--ink); }
.c-ico svg { width: 22px; height: 22px; }
.enroll-nudge { background: var(--c-soft); border: 2.5px dashed var(--terra); border-radius: 18px; padding: 16px 18px; }
.enroll-nudge p { margin: 0; }
.contact-art svg { width: 100%; max-width: 360px; height: auto; display: block; margin-top: 18px; overflow: visible; }
.q-form { position: relative; background-image: none; }
.q-form h2 { font-size: 1.8rem; }
.q-done { text-align: center; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* 404 */
.lost-sec { padding: clamp(40px, 8vw, 110px) 0; }
.lost-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 760px) { .lost-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- footer */
.site-foot { position: relative; margin-top: 10px; color: #F5EFE2; }
.foot-wave { display: block; width: 100%; height: 54px; margin-bottom: -1px; }
.foot-body { background: var(--olive); padding: clamp(28px, 4vw, 48px) 0 calc(28px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr); gap: 28px; }
.brand-light .brand-name { color: #FFF8EC; }
.brand-light .brand-sub { color: var(--sun); }
.foot-brand p { margin-top: 14px; color: rgba(245,239,226,.85); max-width: 30em; }
.foot-h { font-family: "Caveat", cursive; font-weight: 600; font-size: 1.6rem; color: var(--sun); margin: 0 0 8px; font-variation-settings: normal; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.foot-links li { overflow-wrap: anywhere; }
.foot-links a { color: #FFF8EC; text-decoration-color: rgba(246,196,69,.6); }
.foot-links a:hover { color: var(--sun); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 32px; padding-top: 18px; border-top: 1.5px dashed rgba(245,239,226,.3); font-size: .88rem; color: rgba(245,239,226,.75); }
.foot-base p { margin: 0; }
.made-by a { color: rgba(245,239,226,.9); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.made-by a:hover { color: var(--sun); }
.made-by b { font-weight: 900; }
.made-by svg { width: 16px; height: 16px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- reveal on scroll
   Only elements below the first screen get .pre (set by site.js), so nothing
   visible on arrival ever blinks. Uses the separate `translate` property so
   cards keep their own rotate() transform. */
.reveal.pre { opacity: 0; translate: 0 24px; transition: opacity .6s ease, translate .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.pre.in { opacity: 1; translate: 0 0; }

/* ---------------------------------------------------------------- gentle animation (only if the visitor allows motion) */
@media (prefers-reduced-motion: no-preference) {
  .rays, .mini-rays { transform-box: view-box; transform-origin: 0 0; animation: spin 46s linear infinite; }
  .mini-rays { animation-duration: 24s; }
  .cloud-a { animation: drift 26s ease-in-out infinite alternate; }
  .cloud-b { animation: drift 34s ease-in-out infinite alternate-reverse; }
  .sway { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 3.2s ease-in-out infinite alternate; }
  .hero-art .sway:nth-of-type(odd) { animation-delay: -1.6s; }
  .kite { animation: bob 5s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 0; }
  .plane { animation: fly 16s ease-in-out infinite; }
  .bfly { animation: flutter 7s ease-in-out infinite; }
  .bfly-2 { animation-duration: 9s; animation-delay: -3s; }
  .wing { transform-box: fill-box; animation: flap .45s ease-in-out infinite alternate; }
  .wing-l { transform-origin: 100% 50%; }
  .wing-r { transform-origin: 0 50%; }
  .twinkle { transform-box: fill-box; transform-origin: center; animation: twinkle 2.6s ease-in-out infinite; }
  .bell { transform-box: fill-box; transform-origin: 50% 0; animation: ring 6s ease-in-out infinite; }
  .canopy { transform-box: fill-box; transform-origin: 50% 100%; animation: breeze 6s ease-in-out infinite alternate; }
  .ico-bob { animation: bob-small 4s ease-in-out infinite; }
  .offer:nth-child(2n) .ico-bob, .how-card:nth-child(2) .ico-bob { animation-delay: -2s; }
  .flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker 1.6s ease-in-out infinite alternate; }
  .flame-2 { animation-delay: -.8s; }
  .ticker-track { animation: tick 46s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  .grow { transform-box: fill-box; transform-origin: 50% 100%; animation: grow 1.1s cubic-bezier(.3, 1.5, .5, 1) both; }
  .torah .squiggle path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.2s .5s ease-out forwards; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translateX(-14px); } to { transform: translateX(26px); } }
@keyframes sway { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
@keyframes bob { 0%, 100% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(8px, -10px) rotate(5deg); } }
@keyframes bob-small { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes fly { 0% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-60px, -46px) rotate(-8deg); } 50% { transform: translate(-130px, -10px) rotate(4deg); } 75% { transform: translate(-60px, 20px) rotate(8deg); } 100% { transform: translate(0, 0) rotate(0); } }
@keyframes flutter { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(20px, -18px); } 60% { transform: translate(-12px, -30px); } }
@keyframes flap { from { transform: scaleX(1); } to { transform: scaleX(.35); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.7) rotate(20deg); } }
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(14deg); } 92% { transform: rotate(-12deg); } 95% { transform: rotate(8deg); } 98% { transform: rotate(-4deg); } }
@keyframes breeze { from { transform: rotate(-1.2deg); } to { transform: rotate(1.4deg); } }
@keyframes flicker { from { transform: scale(1, 1) rotate(-2deg); } to { transform: scale(.9, 1.08) rotate(3deg); } }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes grow { from { transform: scale(.1, 0); } to { transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media print {
  .site-head, .site-foot, .ticker, .cta-band, .hero-art-wrap, .sum-bar { display: none !important; }
  body { background: #fff; }
}
.sum-bar[data-away] { display: none !important; }
