/* Discovery Tree Preschool Eagle Mountain: one stylesheet for every page, in the storybook logo's own style (Kamber,
   2026-11-24): its colours, its lettering (Grandstander), its drawings, and scenery drawn to match. */
@font-face { font-family: "Grandstander"; src: url("/fonts/grandstander.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Andika"; src: url("/fonts/andika-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Andika"; src: url("/fonts/andika-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --navy: #12355f;
  --blue: #1760a8;
  --sky: #cfeefb;
  --red: #c8102e;
  --pink: #ec4b86;
  --orange: #e57c12;
  --sun: #f8c531;
  --leaf: #8ccf3c;
  --green: #377f19;
  --forest: #2f6f19;
  --bark: #7a4418;
  --paper: #fff6df;
  --page: #fffdf6;
  --ink: #2a2b3c;
  --muted: #4f5468;
  --line: #ecdcb6;
  --shadow: 0 10px 26px rgba(18, 53, 95, .14), 0 2px 5px rgba(18, 53, 95, .08);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  --head: "Grandstander", "Chalkboard SE", "Comic Sans MS", cursive;
  --body: "Andika", "Trebuchet MS", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 1.0625rem; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
button { font: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; color: var(--navy); margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 4px solid var(--sun); outline-offset: 3px; border-radius: 10px; }
[id] { scroll-margin-top: 132px; }

/* Draft marks: removed before the site goes live (tests/check.cjs --live fails while any remain). */
.draft { position: fixed; z-index: 60; bottom: 0; left: 0; background: var(--ink); color: #fff; font: 700 .72rem/1 var(--body); padding: .5em .9em; border-radius: 0 10px 0 0; opacity: .88; pointer-events: none; }
.todo { background: #fff3b0; outline: 2px dashed #e0a800; border-radius: 6px; padding: 0 .3em; color: var(--ink); }

/* Buttons: glossy and outlined, like the drawings in the tree. */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; text-decoration: none; font: 700 1.14rem/1.1 var(--head); border-radius: 999px; padding: .85em 1.5em .78em; border: 3px solid var(--edge, var(--navy)); cursor: pointer; color: #fff; background: linear-gradient(var(--hi, #2f86d2), var(--lo, #1760a8)); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .42), 0 5px 0 var(--edge, var(--navy)), 0 12px 20px rgba(18, 53, 95, .22); transition: transform .2s var(--pop), box-shadow .18s ease; }
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .42), 0 2px 0 var(--edge, var(--navy)); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-red { --hi: #ea3a50; --lo: #c8102e; --edge: #7d0a1d; }
.btn-green { --hi: #56a62c; --lo: #377f19; --edge: #1f4d0d; }
.btn-navy { --hi: #2f78c4; --lo: #17589b; --edge: #0f2f57; }
.btn-venmo { --hi: #1c8fe8; --lo: #0a6fc2; --edge: #064a86; }
.btn-paper { --edge: var(--navy); color: var(--navy); background: linear-gradient(#fff, #fff3d1); box-shadow: inset 0 3px 0 #fff, 0 5px 0 var(--edge), 0 12px 20px rgba(18, 53, 95, .18); }
.btn-small { font-size: 1rem; padding: .62em 1.1em .56em; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Header */
.bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px clamp(14px, 4vw, 40px); background: rgba(255, 253, 246, .96); border-bottom: 3px solid var(--navy); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font: 700 1.16rem/1.05 var(--head); }
.brand img { width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--sun); transition: transform .4s var(--pop); }
.brand:hover img { transform: rotate(-10deg) scale(1.06); }
.brand small { display: block; margin-top: 3px; font-size: .84rem; font-weight: 600; color: var(--red); }
.bar .btn { box-shadow: inset 0 3px 0 rgba(255, 255, 255, .42), 0 3px 0 var(--edge); }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; position: relative; }
section { position: relative; padding: clamp(52px, 7vw, 88px) 0; }

/* ---------- The opening scene ---------- */
.hero { display: grid; grid-template-columns: minmax(16px, 1fr) minmax(0, 1120px) minmax(16px, 1fr); padding: 0; overflow: hidden; background: #cfeefb; }
.hero > * { grid-column: 2; position: relative; }
.hero > .scene { grid-column: 1 / -1; grid-row: 1 / 3; position: absolute; inset: 0; width: 100%; height: 100%; }
.hero > .sun, .hero > .cloud, .hero > .eagle { position: absolute; }
.hero > .sun { width: clamp(84px, 11vw, 150px); right: -18px; top: -14px; }
.sun .rays { transform-origin: 80px 80px; animation: turn 60s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.cloud { position: absolute; pointer-events: none; animation: drift 16s ease-in-out infinite alternate; }
.hero .c1 { width: clamp(96px, 13vw, 190px); left: 2%; top: 9%; }
.hero .c2 { width: clamp(70px, 9vw, 140px); left: 58%; top: 4%; animation-duration: 21s; animation-delay: -6s; }
.hero .c3 { width: clamp(80px, 10vw, 150px); right: 3%; top: 30%; animation-duration: 25s; animation-delay: -11s; }
@keyframes drift { from { transform: translateX(-10px); } to { transform: translateX(26px); } }
.eagle { width: clamp(44px, 5vw, 78px); left: 8%; top: 41%; animation: soar 18s ease-in-out infinite; }
@keyframes soar { 0%, 100% { transform: translate(0, 0) rotate(-4deg); } 25% { transform: translate(40px, -22px) rotate(3deg); } 50% { transform: translate(86px, -6px) rotate(6deg); } 75% { transform: translate(38px, 16px) rotate(-3deg); } }

.hero-title { grid-row: 1; text-align: center; padding-top: clamp(18px, 3vw, 34px); }
.hero-title h1 { margin: 0; }
.hero-title h1 img { width: min(88vw, 470px); margin: 0 auto; }
.sticker { display: inline-block; margin: 0 0 12px; font: 700 1rem/1 var(--head); color: #4a3200; background: linear-gradient(#ffe07a, #f8c531); border: 3px solid #b98507; border-radius: 14px; padding: .55em .95em .48em; transform: rotate(-2.5deg); box-shadow: 0 4px 0 #b98507; animation: wobble 5s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(1.5deg); } }
/* A wooden signboard, the tree's own bark colours. */
.sign { position: relative; z-index: 3; display: table; margin: 8px auto 0; padding: .34em .95em .24em; font: 700 clamp(1.55rem, 6.4vw, 2.5rem)/1.1 var(--head); color: #fff7e0; text-shadow: 0 2px 0 #5d300d; background: repeating-linear-gradient(176deg, rgba(90, 45, 10, .2) 0 2px, transparent 2px 11px), linear-gradient(#d9954a, #b06a27); border: 4px solid #6d3a12; border-radius: 14px 20px 13px 22px; box-shadow: inset 0 3px 0 rgba(255, 231, 186, .6), 0 5px 0 #5d300d, 0 12px 20px rgba(60, 30, 5, .25); transform: rotate(-1.2deg); }
.sign::before, .sign::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-radius: 50%; background: #6d3a12; box-shadow: inset 0 2px 0 #a8642a; }
.sign::before { left: 9px; } .sign::after { right: 9px; }
.hero-art { grid-row: 2; z-index: 2; justify-self: center; width: min(92vw, 430px); margin: 8px auto -16px; }
.hero-art .tree { width: 100%; }
.song { position: absolute; left: 72%; top: 58%; width: 26%; height: 30%; pointer-events: none; }
.song .art { position: absolute; left: 0; bottom: 30%; width: clamp(18px, 4.4vw, 30px); opacity: 0; animation: sing 9s ease-out infinite; }
.song .art:nth-child(2) { animation-delay: 1.8s; } .song .art:nth-child(3) { animation-delay: 3.6s; } .song .art:nth-child(4) { animation-delay: 5.4s; } .song .art:nth-child(5) { animation-delay: 7.2s; }
@keyframes sing { 0% { opacity: 0; transform: translate(10px, 20px) scale(.5) rotate(-10deg); } 14% { opacity: 1; } 60% { opacity: 1; transform: translate(70px, -60px) scale(1) rotate(10deg); } 100% { opacity: 0; transform: translate(96px, -150px) scale(1.05) rotate(-8deg); } }
.hero-info { grid-row: 3; grid-column: 1 / -1; padding: 30px 20px 34px; text-align: center; background: linear-gradient(#4c9a20, #2f6f19); }
.tagline { font: 700 clamp(1.3rem, 5.4vw, 1.75rem)/1.2 var(--head); color: #fff; margin: 0 0 .7em; text-wrap: balance; }
.cta { display: flex; flex-wrap: wrap; gap: 16px 14px; justify-content: center; margin-bottom: 20px; }
.ig-chip { display: inline-flex; align-items: center; gap: 8px; padding: .55em 1em .5em; border-radius: 999px; color: #fff; text-decoration: none; font: 700 1rem/1 var(--head); background: linear-gradient(45deg, #f09433, #d62976 50%, #8134af); border: 3px solid #fff; box-shadow: 0 5px 12px rgba(18, 53, 95, .25); transition: transform .25s var(--pop); }
.ig-chip:hover { transform: scale(1.05) rotate(-2deg); }
.ig-chip svg { width: 20px; height: 20px; flex: none; }
@media (min-width: 940px) {
  .hero { grid-template-columns: minmax(24px, 1fr) minmax(0, 560px) minmax(0, 560px) minmax(24px, 1fr); grid-template-rows: auto auto; min-height: min(760px, calc(100svh - 70px)); align-content: end; }
  .hero > .scene { grid-row: auto; }
  .hero-title { grid-column: 2; grid-row: 1; align-self: end; padding-top: 44px; }
  .hero-title h1 img { width: min(100%, 540px); }
  .hero-art { grid-column: 3; grid-row: 1 / 3; align-self: end; width: 100%; max-width: 560px; margin: 24px auto 16px; }
  .hero-info { grid-column: 2; grid-row: 2; background: none; padding: 22px 0 150px; }
  .tagline { color: var(--red); text-shadow: 0 0 10px rgba(255, 255, 255, .9), 0 0 3px #fff; font-size: 1.85rem; }
  .eagle { left: 45%; top: 9%; }
  .hero > .sun { right: auto; left: -24px; top: -20px; }
  .hero .c1 { left: 10%; top: 5%; }
}

/* Headings: a chapter line and a ribbon */
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 12px; font: 700 1.02rem/1.1 var(--head); color: var(--red); }
.eyebrow span b { font-weight: 700; color: var(--blue); }
.eyebrow span b::before { content: "·"; margin: 0 .4em; color: var(--sun); }
.ticks { width: 34px; height: 34px; flex: none; }
.ticks.r { transform: scaleX(-1); }
.ribbon { position: relative; display: table; margin: 0 auto 28px; font-size: clamp(1.4rem, 6vw, 2.35rem); line-height: 1.1; text-align: center; }
.ribbon span { position: relative; z-index: 1; display: block; background: #fff; border: 4px solid var(--navy); border-radius: 14px; padding: .42em .8em .3em; box-shadow: inset 0 0 0 4px #e8f4fc; }
.ribbon .tail { position: absolute; z-index: 0; top: 13px; width: 44px; height: calc(100% - 4px); }
.ribbon .tl { left: -28px; } .ribbon .tr { right: -28px; }
@media (max-width: 350px) { .ribbon { font-size: 1.18rem; } .brand { font-size: 1rem; } .brand small { font-size: .74rem; } }
@media (max-width: 420px) { .ribbon .tl { left: -20px; } .ribbon .tr { right: -20px; } .ribbon span { padding-inline: .6em; } }
.intro { max-width: 660px; margin-inline: auto; text-align: center; color: var(--muted); text-wrap: balance; }
.art { width: auto; height: auto; }

/* Hills between sections */
.hill { position: absolute; left: 0; bottom: calc(100% - 3px); width: 100%; height: 90px; pointer-events: none; }
.site-foot .hill { bottom: calc(100% - 3px); }

/* On-page links, like a book's index tabs */
.jump { position: sticky; top: 67px; z-index: 30; background: var(--page); border-bottom: 3px solid var(--navy); overflow-x: auto; scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump ul { display: flex; gap: 8px; list-style: none; margin: 0 auto; padding: 8px 16px 9px; width: max-content; }
.jump a { display: block; padding: .5em .95em .42em; border-radius: 12px; text-decoration: none; color: #fff; background: var(--c); font: 700 1rem/1 var(--head); white-space: nowrap; transition: transform .2s var(--pop); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35); }
.jump a:hover { transform: translateY(-2px) rotate(-2deg); }
.jump li:nth-child(1) a { --c: #c8102e; } .jump li:nth-child(2) a { --c: #b85c00; } .jump li:nth-child(3) a { --c: #377f19; }
.jump li:nth-child(4) a { --c: #17589b; } .jump li:nth-child(5) a { --c: #7a3fa8; } .jump li:nth-child(6) a { --c: #c22a68; }

/* ---------- Classes: an open storybook ---------- */
.classes { background: radial-gradient(circle at 12% 8%, #fff 0, transparent 34%), radial-gradient(circle at 88% 30%, #fff 0, transparent 30%), var(--paper); }
.book { margin-top: 36px; padding: 14px 14px 20px; border-radius: 24px; background: linear-gradient(#2068b4, #164f8e); border: 4px solid var(--navy); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .35), 0 22px 40px rgba(18, 53, 95, .25); }
.pages { display: grid; gap: 0; border-radius: 12px; overflow: hidden; background: var(--page); box-shadow: 0 4px 0 #e7dcc0, 0 6px 0 #fffaf0, 0 9px 0 #dccfae, 0 11px 0 #fffaf0; }
.page { position: relative; padding: 62px 22px 22px; background: var(--page); overflow: hidden; display: flex; flex-direction: column; }
.page + .page { border-top: 3px dashed var(--line); }
.page.pre { --c: var(--green); } .page.prek { --c: #17589b; }
.page-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.page-head .art { width: 104px; transform: rotate(-3deg); }
.page.prek .page-head .art { transform: rotate(4deg); }
.page-head h3 { margin: 6px 0 0; font-size: clamp(1.8rem, 6vw, 2.3rem); }
.age { display: inline-block; font: 700 .95rem/1 var(--head); color: #fff; background: var(--c); border-radius: 999px; padding: .45em .9em .36em; }
.story::first-letter { float: left; font: 800 3.5em/.78 var(--head); color: var(--red); padding: .07em .09em 0 0; }
.page .story { color: var(--ink); }
.sessions { list-style: none; padding: 0; margin: auto 0 0; }
.sessions li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-top: 3px dotted var(--line); }
.dots { grid-column: 1 / -1; display: flex; gap: 6px; }
.dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 .88rem/1 var(--head); padding-top: 2px; color: #a39877; background: #f6edd6; }
.dot.on { background: var(--c); color: #fff; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), 0 2px 0 color-mix(in srgb, var(--c) 68%, #000); }
.sessions .days { font-weight: 700; }
.sessions .time { grid-column: 1; color: var(--muted); }
.sessions .price { grid-row: 2 / span 2; grid-column: 2; align-self: center; text-align: right; font: 700 1.8rem/1 var(--head); color: var(--red); }
.sessions .price small { display: block; font: 400 .82rem/1.2 var(--body); color: var(--muted); }
.branch { position: absolute; top: -4px; width: 130px; opacity: .95; pointer-events: none; }
.br-r { right: -6px; transform: scaleX(-1); } .br-l { left: -6px; }
.page .branch { width: 92px; right: -4px; left: auto; transform: scaleX(-1); }
@media (min-width: 820px) {
  .pages { grid-template-columns: 1fr 1fr; }
  .page { padding: 44px 40px 30px; }
  .page .branch { width: 118px; }
  .page + .page { border-top: 0; }
  .page.pre { background: linear-gradient(90deg, var(--page) 82%, #f1e6c9 99%, #e2d3ac); }
  .page.prek { background: linear-gradient(270deg, var(--page) 82%, #f1e6c9 99%, #e2d3ac); }
  .page.pre .branch { left: -6px; right: auto; transform: none; }
  .page.pre .page-head { padding-left: 84px; } .page.prek .page-head { padding-right: 84px; }
}
.fee-note { margin: 34px auto 0; display: table; text-align: center; font-weight: 700; color: #4a3200; }
.fee-note .art { width: 30px; display: inline-block; vertical-align: -8px; margin-right: 10px; }

/* ---------- Register ---------- */
.register { background: #e6f5cf; margin-top: 70px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 8px 0 36px; display: grid; gap: 18px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: var(--page); border: 3px solid #b9dd86; border-radius: 20px; padding: 18px 18px 16px 92px; position: relative; min-height: 98px; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 50%; width: 62px; height: 68px; margin-top: -36px; padding-top: 10px; background: url("/img/story/apple-180.webp") center / contain no-repeat; display: grid; place-items: center; color: #fff; font: 800 1.7rem/1 var(--head); text-shadow: 0 2px 0 #7d0a1d; }
.steps strong { display: block; font: 700 1.14rem/1.25 var(--head); color: var(--navy); }
.form-card { background: var(--page); border: 4px solid var(--navy); outline: 3px dotted #86bde6; outline-offset: -14px; border-radius: 28px; box-shadow: var(--shadow); padding: clamp(32px, 5vw, 52px) clamp(26px, 5vw, 52px); max-width: 900px; margin-inline: auto; position: relative; }
form .grid { display: grid; gap: 18px; }
@media (min-width: 700px) { form .grid { grid-template-columns: 1fr 1fr; } form .full { grid-column: 1 / -1; } }
form .grid > div { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
label, legend { display: block; font: 700 1.06rem/1.3 var(--head); color: var(--navy); margin-bottom: 6px; padding: 0; }
.req { color: var(--red); }
.hint { display: block; font: 400 .9rem/1.35 var(--body); color: var(--muted); }
input, select, textarea { width: 100%; font: 400 1.0625rem/1.4 var(--body); padding: .65em .8em; border: 3px solid #d9c99c; border-radius: 14px; background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
/* iPhone Safari sizes a date field itself (a fixed width, padding outside it) unless its own styling is off, so it hung off
   the card (owner, 2026-11-24). Off, an empty one has no height of its own and centres its date. */
input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; min-height: calc(1.4em + 1.3em + 6px); text-align: left; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; min-height: 1.4em; margin: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(23, 96, 168, .18); }
textarea { min-height: 84px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: grid; gap: 10px; }
@media (min-width: 700px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 3px solid #d9c99c; border-radius: 16px; background: #fff; cursor: pointer; margin: 0; transition: transform .2s var(--pop), border-color .15s ease; }
.choice:hover { transform: translateY(-2px); }
.choice input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--green); }
.choice:has(input:checked) { border-color: var(--green); background: #f0f9e2; }
.choice .sub { display: block; font: 400 .94rem/1.4 var(--body); color: var(--muted); }
.yesno { display: flex; gap: 10px; flex-wrap: wrap; }
.yesno .choice { flex: 1 1 140px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 20px 0 0; background: #fde8ec; color: #8d0f27; border-radius: 14px; padding: 12px 16px; font-weight: 700; }
.submit-row { margin-top: 28px; text-align: center; }
.sent { display: none; text-align: center; padding: 10px 6px; }
.sent h3 { color: var(--green); font-size: clamp(1.5rem, 4.4vw, 2rem); }
.sent-notes { display: flex; justify-content: center; gap: 18px; margin-bottom: 14px; }
.sent-notes .art { width: 40px; animation: bob 2.4s ease-in-out infinite; }
.sent-notes .art:nth-child(2) { animation-delay: -.8s; } .sent-notes .art:nth-child(3) { animation-delay: -1.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(6deg); } }
.form-card.done form { display: none; }
.form-card.done .sent { display: block; }

/* ---------- Photos ---------- */
.photos-teaser { background: linear-gradient(#e6f5cf, #d8f0fb 130px); }
.scrapbook { display: grid; gap: 34px; justify-content: center; padding: 16px 6px 6px; }
.pol { display: block; padding: 10px 10px 30px; background: #fff; border: 3px solid #e6dcc2; border-radius: 10px; box-shadow: 0 12px 24px rgba(18, 53, 95, .18); cursor: zoom-in; transition: transform .35s var(--pop), box-shadow .3s ease; position: relative; width: min(100%, 380px); margin: 0 auto; }
.pol img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 5px; }
.pol::before { content: ""; position: absolute; z-index: 1; top: -20px; left: 50%; width: 42px; height: 42px; margin-left: -21px; background: url("/img/story/star-120.webp") center / contain no-repeat; transform: rotate(-8deg); }
.pol.p1 { transform: rotate(-3deg); } .pol.p2 { transform: rotate(2.4deg); } .pol.p3 { transform: rotate(-1.6deg); }
.pol:hover, .pol:focus-visible { transform: rotate(0) scale(1.04); box-shadow: 0 20px 40px rgba(18, 53, 95, .25); z-index: 5; }
@media (min-width: 820px) { .scrapbook { grid-template-columns: repeat(3, minmax(0, 350px)); } }
.photos-cta { display: flex; flex-wrap: wrap; gap: 16px 14px; justify-content: center; margin: 34px 0 0; }
.pile { padding: 14px; }
.photos { background: linear-gradient(#a9def6, var(--sky) 260px, var(--paper) 620px); padding-top: 34px; }
.photos .cloud.c1, .lost .cloud.c1 { width: 140px; left: 4%; top: 22px; }
.photos .cloud.c2, .lost .cloud.c2 { width: 110px; right: 6%; top: 60px; animation-delay: -7s; }
.back { margin: 0 0 1.4em; text-align: center; }
.back a { color: var(--navy); font: 700 1.05rem/1.2 var(--head); text-decoration: none; }
.back a:hover { text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 28px; }
.chip { border: 3px solid var(--navy); border-radius: 999px; padding: .5em 1.1em .42em; font: 700 1rem/1 var(--head); background: #fff; color: var(--navy); cursor: pointer; transition: transform .2s var(--pop), background .2s ease; }
.chip:hover { transform: translateY(-2px) rotate(-2deg); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; }
.gallery { columns: 2; column-gap: 12px; }
@media (min-width: 700px) { .gallery { columns: 3; column-gap: 16px; } }
@media (min-width: 1100px) { .gallery { columns: 4; column-gap: 18px; } }
.shot { margin: 0 0 14px; break-inside: avoid; }
.shot.hide { display: none; }
.shot.pop { animation: pop-in .45s var(--pop) both; }
@keyframes pop-in { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
.zoom { display: block; width: 100%; padding: 7px; border: 3px solid #e6dcc2; background: #fff; cursor: zoom-in; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 14px rgba(18, 53, 95, .14); transition: transform .3s var(--pop); }
.zoom img { width: 100%; border-radius: 8px; }
.shot:nth-child(odd) .zoom:hover { transform: rotate(-1.8deg) scale(1.03); }
.shot:nth-child(even) .zoom:hover { transform: rotate(1.8deg) scale(1.03); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; overflow: hidden; }
.lightbox::backdrop { background: rgba(12, 30, 58, .88); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 64px 12px; animation: pop-in .3s var(--pop); }
.lightbox img { max-width: min(92vw, 1200px); max-height: 74vh; width: auto; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #fff; border: 8px solid #fff; }
.lightbox figcaption { color: #fff; font: 600 1.15rem/1.3 var(--head); text-align: center; padding: 0 56px; }
.lightbox button { position: absolute; border: 3px solid var(--navy); background: #fff; color: var(--navy); width: 50px; height: 50px; border-radius: 50%; font: 700 1.8rem/1 var(--head); cursor: pointer; display: grid; place-items: center; padding: 0; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; bottom: 18px; }
.lb-next { right: 10px; bottom: 18px; }
@media (min-width: 700px) { .lb-prev, .lb-next { bottom: auto; top: 50%; transform: translateY(-50%); } }

/* ---------- Instagram ---------- */
.insta { background: #d8f0fb; padding-top: 20px; }
.photos-page .insta { background: var(--paper); }
.ig-follow { display: flex; align-items: center; gap: 18px; max-width: 760px; margin: 0 auto; padding: 18px 22px; border-radius: 24px; text-decoration: none; color: var(--navy); background: #fff; border: 4px solid #d62976; box-shadow: var(--shadow); transition: transform .3s var(--pop); }
.ig-follow:hover { transform: translateY(-4px) rotate(-.5deg); }
.ig-badge { width: 60px; height: 60px; flex: none; border-radius: 18px; color: #fff; background: linear-gradient(45deg, #f09433, #d62976 50%, #8134af); display: grid; place-items: center; }
.ig-badge svg { width: 34px; height: 34px; }
.ig-text { display: grid; gap: 3px; line-height: 1.35; color: var(--muted); min-width: 0; }
.ig-text b { font: 700 1.2rem/1.2 var(--head); color: var(--navy); overflow-wrap: anywhere; }
.ig-go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: #c22a68; color: #fff; border-radius: 999px; padding: .6em 1.05em .5em; font: 700 1.02rem/1 var(--head); white-space: nowrap; }
.ig-go svg, .photos-cta .go { width: 18px; height: 18px; }
@media (max-width: 560px) { .ig-follow { flex-direction: column; text-align: center; } .ig-go { margin-left: 0; } }

/* ---------- Our school (Kamber's music text) ---------- */
.school { background: linear-gradient(#d8f0fb, var(--paper) 180px); }
.big-line { text-align: center; font-size: clamp(2rem, 7.4vw, 3.4rem); color: var(--red); margin-bottom: .2em; }
.r1 { color: var(--green); } .r2 { color: var(--blue); }
.staff { position: relative; height: 92px; margin: 6px calc(50% - 50vw) 30px; overflow: hidden; }
.staff svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.staff .art { position: absolute; width: 34px; animation: bob 4.5s ease-in-out infinite; }
.staff .n1 { left: 9%; top: 20%; } .staff .n2 { left: 29%; top: 34%; animation-delay: -1s; } .staff .n3 { left: 50%; top: 24%; animation-delay: -2s; width: 38px; } .staff .n4 { left: 70%; top: 8%; animation-delay: -3s; } .staff .n5 { left: 88%; top: 14%; animation-delay: -4s; }
.split { display: grid; gap: clamp(26px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr 1fr; } .split.flip { grid-template-columns: 1fr 1.15fr; } }
.why { margin: clamp(36px, 6vw, 64px) 0; text-align: center; }
.why h3, .h-mid { font-size: clamp(1.6rem, 5vw, 2.1rem); }
.why-grid { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.why-grid li { display: flex; flex-direction: column; align-items: center; gap: 10px; background: var(--page); border: 4px solid var(--c); border-radius: 22px; padding: 18px 12px 16px; font: 700 1.08rem/1.3 var(--head); color: var(--navy); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 6px color-mix(in srgb, var(--c) 22%, #fff); transition: transform .3s var(--pop); text-wrap: balance; }
.why-grid li:hover { transform: translateY(-4px) rotate(-1deg); }
.why-grid .w1 { --c: #17589b; } .why-grid .w2 { --c: #377f19; } .why-grid .w3 { --c: #c8102e; }
.why-grid .w4 { --c: #e0a21a; } .why-grid .w5 { --c: #7a3fa8; } .why-grid .w6 { --c: #e57c12; }
.wi { height: 92px; display: grid; place-items: center; }
.wi .art { max-height: 90px; max-width: min(124px, 100%); transition: transform .4s var(--pop); }
.wi .art-star { max-height: 84px; }
.why-grid li:hover .art { transform: scale(1.1) rotate(6deg); }
.framed { position: relative; background: var(--page); border: 4px solid var(--green); outline: 3px dotted var(--leaf); outline-offset: -14px; border-radius: 28px; padding: clamp(64px, 8vw, 84px) clamp(28px, 6vw, 70px) clamp(34px, 5vw, 52px); max-width: 900px; margin: clamp(40px, 7vw, 72px) auto 0; text-align: center; overflow: hidden; }
.framed h3 { font-size: clamp(1.6rem, 5vw, 2.1rem); }
.framed .branch { width: clamp(110px, 22vw, 170px); }
.quote { margin: 26px auto 0; max-width: 640px; font: 600 clamp(1.25rem, 4vw, 1.6rem)/1.35 var(--head); color: var(--red); text-wrap: balance; }
.quote cite { display: block; margin-top: .5em; font: 700 1rem/1 var(--body); font-style: normal; color: var(--muted); }

/* ---------- Policies ---------- */
.policies-sec { background: var(--paper); padding-top: 20px; }
.policies { display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
@media (min-width: 900px) { .policies { grid-template-columns: 1fr 1fr; max-width: none; align-items: start; } .policies details:last-child:nth-child(odd) { grid-column: 1 / -1; } }
details { background: var(--page); border: 3px solid #e3d3a6; border-radius: 18px; padding: 0 18px; transition: border-color .2s ease; }
details[open] { border-color: var(--green); }
summary { cursor: pointer; list-style: none; font: 700 1.12rem/1.25 var(--head); color: var(--navy); padding: 13px 34px 13px 0; position: relative; display: flex; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font: 700 1.7rem/1 var(--head); color: var(--red); transition: transform .25s var(--pop); }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--ink); padding-left: 54px; }
.pi { width: 42px; height: 42px; border-radius: 50% 50% 50% 14px; display: grid; place-items: center; flex: none; color: #fff; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .35); }
.pi svg { width: 22px; height: 22px; }
.pi.c1 { background: #377f19; } .pi.c2 { background: #c8102e; } .pi.c3 { background: #17589b; }
.pi.c4 { background: #c96a08; } .pi.c5 { background: #7a3fa8; } .pi.c6 { background: #c22a68; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(var(--paper), #cfeefb 160px, #bfe6f8); padding-bottom: 190px; }
.contact .cloud { display: none; }
@media (min-width: 1060px) { .contact .cloud { display: block; } }
.contact .c1 { width: 150px; left: 3%; top: 150px; } .contact .c2 { width: 120px; right: 4%; top: 220px; animation-delay: -8s; }
.contact-grid { display: grid; gap: 34px 18px; margin-top: 56px; }
@media (min-width: 620px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.tile { position: relative; background: var(--page); border: 4px solid var(--c); border-radius: 24px; padding: 58px 16px 18px; text-align: center; box-shadow: var(--shadow); transition: transform .3s var(--pop); }
.tile:hover { transform: translateY(-5px) rotate(-.8deg); }
.tile > .art { position: absolute; left: 50%; top: -38px; height: 84px; width: auto; max-width: none; transform: translateX(-50%); }
.t-call { --c: #c8102e; } .t-mail { --c: #7a3fa8; } .t-map { --c: #377f19; } .t-pay { --c: #17589b; }
.tile h3 { margin-bottom: .35em; }
.tile p { margin-bottom: .8em; }
.tile .big { font: 700 1.5rem/1.2 var(--head); }
.tile .big a { text-decoration: none; color: var(--navy); }
.tile .mail a { font: 700 1.12rem/1.3 var(--head); color: var(--navy); }
.tile .btn { font-size: .95rem; padding-inline: .85em; }
.tile .btn-venmo { white-space: nowrap; font-size: .88rem; padding-inline: .6em; }
.tile .pair { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.site-foot { position: relative; background: var(--forest); color: #eaf6dc; padding: 30px 0 96px; font-size: .98rem; text-align: center; }
.site-foot .wrap { display: grid; gap: 10px; justify-items: center; }
.site-foot a { color: #fff; font-weight: 700; }

/* Not found */
.lost { background: linear-gradient(#8fd3f4, #cfeefb); min-height: calc(100svh - 70px); text-align: center; }
.lost .tree { width: min(80vw, 420px); margin: 0 auto 20px; }

/* A Register button that follows on phones */
.fab { position: fixed; right: 14px; bottom: 14px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; padding: .8em 1.25em .72em; border-radius: 999px; background: linear-gradient(#ea3a50, #c8102e); border: 3px solid #7d0a1d; color: #fff; text-decoration: none; font: 700 1.06rem/1 var(--head); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .4), 0 4px 0 #7d0a1d, 0 12px 24px rgba(125, 10, 29, .35); transform: translateY(180%); transition: transform .35s var(--pop); }
.fab svg { width: 20px; height: 20px; }
body.show-fab .fab { transform: none; }
@media (min-width: 900px) { .fab { display: none; } }

/* Scroll reveal: only when the script runs (early.js marks <html class="js">). */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s var(--pop); }
.js .reveal.in { opacity: 1; transform: none; }
.steps .reveal:nth-child(2), .contact-grid .reveal:nth-child(2), .why-grid .reveal:nth-child(even) { transition-delay: .08s; }
.steps .reveal:nth-child(3), .contact-grid .reveal:nth-child(3), .why-grid .reveal:nth-child(3n) { transition-delay: .16s; }
.contact-grid .reveal:nth-child(4) { transition-delay: .24s; }

/* Confetti after a registration */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .song, .confetti { display: none; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
