/* Little Soldiers Pre Primary School: "Fold, play, grow" (paper-craft origami)
   Pinned: ground #FDFBF7, ink #232323, teal #1F8E8A, coral #E85D44, mustard #E2A93B; Gluten + Mulish.
   Colour jobs: teal = actions and admissions; coral = making and school life; mustard = notes and parent help.
   Every folded plane is a lit half and a shaded half split by a hard crease (no soft gradients). */

:root {
  --paper: #FDFBF7;
  --paper-2: #F5F0E6;
  --sheet: #FFFFFF;
  --ink: #232323;
  --ink-2: #514B42;
  --line: #E4DCCD;
  --teal: #1F8E8A;
  --teal-d: #17706C;
  --teal-dd: #0F5552;
  --coral: #E85D44;
  --coral-d: #C94A33;
  --coral-ink: #A63A25;
  --mustard: #E2A93B;
  --mustard-d: #C98F22;
  --mustard-l: #F6E2B4;
  --err: #A3261A;
  --lift: 0 1px 1px rgba(60, 45, 20, .08), 0 6px 14px -6px rgba(60, 45, 20, .22);
  --lift-hi: 0 2px 2px rgba(60, 45, 20, .08), 0 14px 28px -10px rgba(60, 45, 20, .30);
  --display: "Gluten", "Comic Sans MS", cursive;
  --body: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; color: var(--ink); font: 400 1.0625rem/1.65 var(--body);
  background-color: var(--paper);
  /* paper fibre: two faint crossing hatch layers */
  background-image:
    repeating-linear-gradient(115deg, rgba(120, 100, 70, .025) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(25deg, rgba(120, 100, 70, .02) 0 1px, transparent 1px 11px);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-d); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-dd); text-decoration-thickness: 2px; }
::selection { background: var(--mustard-l); color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal-d); outline-offset: 3px; border-radius: 2px; }
input, select, textarea { caret-color: var(--coral-d); accent-color: var(--teal-d); }
html { scrollbar-color: var(--teal) var(--paper-2); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.1875rem; color: var(--ink-2); }
.hi { font-family: var(--body); font-weight: 600; color: var(--coral-ink); }
.small { font-size: .9375rem; color: var(--ink-2); }
.tnum { font-variant-numeric: tabular-nums; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: .6em 1em; border-radius: var(--r); }
.skip:focus, .skip:hover { top: 12px; color: #fff; }

/* -------------------------------------------------- icons and buttons */
.ic { width: 1.25em; height: 1.25em; flex: none; }
.btn {
  display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: .7em 1.25em;
  font: 700 1rem/1.2 var(--body); text-decoration: none; border: 0; border-radius: var(--r); cursor: pointer;
  box-shadow: var(--lift); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--lift-hi); text-decoration: none; }
.btn:active { transform: translateY(0); box-shadow: var(--lift); }
.btn-go { color: #fff; background: linear-gradient(90deg, var(--teal-d) 0 82%, #146460 82% 100%); }
.btn-go:hover { color: #fff; }
.btn-plain { color: var(--ink); background: var(--sheet); box-shadow: var(--lift), inset 0 0 0 1px var(--line); }
.btn-plain:hover { color: var(--ink); }
.btn-note { color: var(--ink); background: linear-gradient(90deg, var(--mustard) 0 82%, #D9A033 82% 100%); }
.btn-note:hover { color: var(--ink); }
.btn-sm { min-height: 44px; padding: .5em .95em; font-size: .9375rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.actions .pair { display: flex; flex-wrap: wrap; gap: .75rem; flex-basis: 100%; }

/* -------------------------------------------------- header + folded tab nav */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(253, 251, 247, .96); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; margin-right: auto; min-width: 0; }
.brand:hover { color: var(--ink); }
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name { font: 700 1.45rem/1 var(--display); white-space: nowrap; }
.brand-sub { font-size: .78rem; font-weight: 700; color: var(--ink-2); margin-top: .2rem; white-space: nowrap; }

.tabs { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 0; align-self: flex-end; }
.tab {
  --tab: var(--sheet); --ear: var(--paper-2);
  position: relative; display: block; padding: .62rem 1.05rem .7rem .9rem; margin-bottom: -1px;
  font-weight: 700; font-size: .95rem; color: var(--ink); text-decoration: none; background: var(--tab);
  border: 1px solid var(--line); border-bottom: 0; border-radius: 3px 0 0 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: background-color .2s, transform .2s var(--ease);
}
/* the dog-ear: the folded corner, shaded underside */
.tab::after {
  content: ""; position: absolute; top: 0; right: 0; width: 12px; height: 12px;
  background: linear-gradient(225deg, transparent 0 50%, var(--ear) 50% 100%);
  box-shadow: -1px 1px 2px rgba(60, 45, 20, .18); transition: opacity .2s;
}
.tab:hover { color: var(--ink); transform: translateY(-2px); --tab: #FFFCF4; }
.tab[aria-current="page"] { --tab: var(--mustard); --ear: var(--mustard-d); border-color: var(--mustard-d); clip-path: none; border-radius: 3px 3px 0 0; }
.tab[aria-current="page"]::after { opacity: 0; }
.head-actions { display: flex; align-items: center; gap: .5rem; }
.menu-btn { display: none; position: relative; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.menu-btn::after { content: ""; position: absolute; top: 0; right: 0; width: 12px; height: 12px; background: linear-gradient(225deg, transparent 0 50%, #B98118 50% 100%); }
.menu-btn[aria-expanded="true"] { clip-path: none; }
.menu-btn[aria-expanded="true"]::after { opacity: 0; }

@media (max-width: 1199.98px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 479.98px) {
  .head-call span { display: none; }
  .head-call { padding: .5em .7em; }
  .brand-name { font-size: 1.12rem; }
  .brand img { width: 40px; height: 40px; }
  .brand-sub { font-size: .72rem; }
  .brand-sub .road { display: none; }
}

/* phone menu: panels unfold downward from the header crease */
.fold-menu { position: fixed; inset: 76px 0 auto 0; z-index: 39; max-height: calc(100vh - 76px); overflow-y: auto; perspective: 1200px; padding: 12px 12px 20px; background: var(--paper); box-shadow: 0 18px 30px -12px rgba(35, 35, 35, .35); }
.fold-menu[hidden] { display: none; }
.fold-scrim { position: fixed; inset: 76px 0 0 0; z-index: 38; background: rgba(35, 35, 35, .35); }
.fold-scrim[hidden] { display: none; }
.fold-list { list-style: none; margin: 0 auto; padding: 0; max-width: 560px; }
.fold-list li { transform-origin: top center; animation: unfold .38s var(--ease) both; animation-delay: calc(var(--i) * 55ms); }
.fold-list a {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: .8rem 1.1rem;
  font: 700 1.45rem/1 var(--display); color: var(--ink); text-decoration: none;
  background: linear-gradient(180deg, var(--sheet) 0 50%, #F7F2E8 50% 100%);
  border: 1px solid var(--line); border-top: 0; box-shadow: var(--lift);
}
.fold-list li:first-child a { border-top: 1px solid var(--line); }
.fold-list a[aria-current="page"] { background: linear-gradient(180deg, var(--mustard) 0 50%, #DBA032 50% 100%); }
.fold-list .ic { color: var(--ink-2); }
.fold-actions { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 560px; margin: .9rem auto 0; animation: unfold .38s var(--ease) both; animation-delay: 330ms; transform-origin: top; }
@keyframes unfold { from { transform: rotateX(-88deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* -------------------------------------------------- hero: accordion fold */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero h1 { margin-bottom: .35em; }
.hero .hi-line { font-size: 1.15rem; margin-bottom: .9rem; }
.slip {
  display: grid; grid-template-columns: auto 1fr; gap: .35rem .8rem; margin-top: 1.6rem; padding: 1rem 1.1rem;
  background: var(--sheet); box-shadow: var(--lift); border-radius: 2px; max-width: 30rem; position: relative;
  font-size: .975rem;
}
.slip::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed rgba(80, 70, 50, .12); }
.slip dt { font-weight: 700; display: flex; gap: .4rem; align-items: center; }
.slip dd { margin: 0; }
.open-pill { display: inline-block; margin-left: .4rem; padding: .05rem .5rem; border-radius: 99px; font-size: .8rem; font-weight: 700; background: var(--paper-2); color: var(--ink-2); }
.open-pill.is-open { background: #DDEFEC; color: var(--teal-dd); }

.fold { position: relative; display: flex; align-items: stretch; height: clamp(320px, 42vw, 520px); perspective: 1400px; margin: 4.2rem 0 0; }
.fold .pnl { position: relative; flex: 1 1 0; transform-style: preserve-3d; box-shadow: var(--lift-hi); }
.fold .pnl-a { transform-origin: right center; transform: rotateY(28deg); background: linear-gradient(90deg, #F06A51 0 55%, var(--coral) 55% 100%); }
.fold .pnl-b { flex: 2.3 1 0; transform-origin: left center; transform: rotateY(-14deg); background: var(--sheet); padding: 10px; }
.fold .pnl-c { transform-origin: left center; transform: rotateY(26deg) translateZ(-30px); background: linear-gradient(90deg, var(--mustard-d) 0 45%, var(--mustard) 45% 100%); }
.fold .pnl-b img { width: 100%; height: 100%; object-fit: cover; }
.fold .pnl-b::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .14), transparent 30%); pointer-events: none; }
.fold-note { position: absolute; left: 10%; bottom: 8%; width: 70%; font: 600 1.05rem/1.2 var(--display); color: var(--ink); }
.pnl-c .fold-note { color: var(--ink); }
.fold-wrap { position: relative; }
.crane { position: absolute; z-index: 3; width: clamp(120px, 14vw, 190px); top: -19%; left: 38%; filter: drop-shadow(0 8px 6px rgba(60, 45, 20, .35)); }
.photo-note { margin-top: .9rem; font-size: .85rem; color: var(--ink-2); }

@media (prefers-reduced-motion: no-preference) {
  .js .fold.opening .pnl { transition: transform 1.1s var(--ease); }
  .js .fold.closed .pnl-a, .js .fold.closed .pnl-b, .js .fold.closed .pnl-c { transform: rotateY(0deg); }
  .js .fold-wrap .crane { transition: transform 1.1s var(--ease), opacity .6s; }
  .js .fold-wrap:has(.fold.closed) .crane { transform: translateY(-18px) rotate(-6deg); opacity: 0; }
}
@media (max-width: 991.98px) {
  .fold { height: 300px; margin-top: 2.6rem; }
  .fold-wrap { margin-top: 4.5rem; }
  .fold-wrap .fold { margin-top: 0; }
  .crane { top: -66px; left: 34%; width: 124px; }
}
@media (max-width: 575.98px) {
  .fold { height: 250px; }
  .fold .pnl-b { flex-basis: 0; flex-grow: 3; }
  .fold-note { display: none; }
}

/* -------------------------------------------------- sections and paper bands */
.band { padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; }
.band-sheet { background: var(--sheet); box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); }
.band-teal { background-color: var(--teal-d); background-image: linear-gradient(100deg, rgba(255, 255, 255, .03) 0 50%, transparent 50% 100%); color: #fff; }
.band-teal a:not(.btn) { color: #fff; }
.band-teal .lead, .band-teal .small { color: #F1F8F7; }
.sec-head { margin-bottom: 2.4rem; }
.sec-head p { color: var(--ink-2); }
.band-teal .sec-head p { color: #F1F8F7; }
/* the crease between two bands: a fold line across the page */
.crease { height: 0; border-top: 1px solid rgba(80, 70, 50, .12); box-shadow: 0 1px 0 rgba(255, 255, 255, .8); }

/* visit: one folded sheet, two creased halves */
.visit { display: grid; grid-template-columns: 1.4fr 1fr; background: var(--sheet); box-shadow: var(--lift); position: relative; }
.visit-a { padding: clamp(1.5rem, 4vw, 2.6rem); }
.visit-b { padding: clamp(1.5rem, 4vw, 2.6rem); background: linear-gradient(90deg, #F3EDE2 0 6px, #FAF6EE 6px 100%); }
.visit h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
@media (max-width: 767.98px) { .visit { grid-template-columns: 1fr; } .visit-b { background: linear-gradient(180deg, #F3EDE2 0 6px, #FAF6EE 6px 100%); } }

/* -------------------------------------------------- Little makers: cards that unfold */
.makers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 991.98px) { .makers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .makers { grid-template-columns: 1fr; } }
.maker { position: relative; background: var(--sheet); box-shadow: var(--lift); perspective: 900px; }
.maker figure { margin: 0; }
.maker img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.maker-body { padding: 1.1rem 1.2rem 1.25rem; }
.maker-flat { border-top: 6px solid var(--coral); }
.maker-flat.maker-c2 { border-top-color: var(--teal); }
.maker-flat.maker-c3 { border-top-color: var(--mustard); }
.maker h3 { margin-bottom: .3rem; }
.maker-body > p { margin-bottom: .9rem; }
.maker-btn {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .85rem; border: 0; cursor: pointer;
  font: 700 .95rem/1.2 var(--body); color: var(--coral-ink); background: #FBEAE5; border-radius: var(--r);
}
.maker-btn .ic { transition: transform .3s var(--ease); }
.maker-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
/* the flap: hangs from a crease and unfolds down */
.flap { transform-origin: top center; background: linear-gradient(180deg, #FDEDE8 0 50%, #F9E1DA 50% 100%); border-top: 1px dashed rgba(166, 58, 37, .35); }
.flap-in { padding: 1rem 1.2rem 1.2rem; }
.flap ul { margin: 0; padding-left: 1.1rem; }
.flap li { margin-bottom: .25rem; }
@media (prefers-reduced-motion: no-preference) {
  .flap:not([hidden]) { animation: unfold .45s var(--ease) both; }
}
.maker-c2 .maker-btn { color: var(--teal-dd); background: #E2F1EF; }
.maker-c2 .flap { background: linear-gradient(180deg, #E8F4F2 0 50%, #DCEEEB 50% 100%); border-top-color: rgba(23, 112, 108, .35); }
.maker-c3 .maker-btn { color: #6B4A0B; background: #FBF0D8; }
.maker-c3 .flap { background: linear-gradient(180deg, #FCF3DD 0 50%, #F8EACB 50% 100%); border-top-color: rgba(150, 105, 20, .35); }

/* -------------------------------------------------- what we know: verified / listed / to be shared */
.know { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.know li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; align-items: start; padding: .95rem 1.1rem; }
.know .k { font-weight: 800; }
.know .v { margin: 0; }
.know .src { display: block; font-size: .85rem; color: var(--ink-2); margin-top: .2rem; }
.st-v { background: var(--sheet); box-shadow: var(--lift); }
.st-l { background: #FCF4E0; box-shadow: var(--lift); position: relative; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }
.st-l::after { content: ""; position: absolute; top: 0; right: 0; width: 16px; height: 16px; background: linear-gradient(225deg, transparent 0 50%, #E9D3A0 50% 100%); }
.st-u { border: 2px dashed #B9AE98; background: transparent; }
.tag { display: inline-block; font-size: .78rem; font-weight: 800; padding: .1rem .5rem; border-radius: 99px; margin-left: .35rem; vertical-align: .1em; white-space: nowrap; }
.tag-v { background: #DDEFEC; color: var(--teal-dd); }
.tag-l { background: #F6E2B4; color: #5E420A; }
.tag-u { background: #EFEAE0; color: var(--ink-2); }
.legend { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 0 0 1.4rem; padding: 0; list-style: none; font-size: .95rem; }
@media (max-width: 575.98px) { .know li { grid-template-columns: 1fr; gap: .2rem; } }

/* dashed placeholder note */
.todo { border: 2px dashed #B9AE98; padding: .9rem 1.1rem; border-radius: 2px; color: var(--ink-2); background: rgba(255, 255, 255, .5); max-width: 68ch; }
.todo-tag { display: inline-block; font-weight: 800; color: var(--ink); margin-right: .3rem; }
.band-teal .todo { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); color: #E3F2F0; }
.band-teal .todo-tag { color: #fff; }

/* -------------------------------------------------- Week 1: paper-boat route */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; position: relative; counter-reset: day; }
.route::before { content: ""; position: absolute; left: 4%; right: 4%; top: 30px; border-top: 3px dashed rgba(23, 112, 108, .55); transform-origin: left center; }
@media (prefers-reduced-motion: no-preference) {
  .js .route::before { transform: scaleX(0); transition: transform 1.6s var(--ease); }
  .js .route.drawn::before { transform: none; }
}
.route li { position: relative; padding-top: 74px; }
.route .boat { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 64px; height: 56px; }
.route h3 { font-size: 1.2rem; text-align: center; margin-bottom: .35rem; }
.route p { font-size: .95rem; text-align: center; color: var(--ink-2); margin: 0 auto; }
@media (max-width: 991.98px) {
  .route { grid-template-columns: 1fr; gap: 0; }
  .route::before { left: 31px; right: auto; top: 20px; bottom: 20px; border-top: 0; border-left: 3px dashed rgba(23, 112, 108, .55); transform-origin: center top; }
  .js .route::before { transform: scaleY(0); }
  .js .route.drawn::before { transform: none; }
  .route li { padding: 0 0 1.4rem 84px; min-height: 64px; }
  .route .boat { left: 0; transform: none; }
  .route h3, .route p { text-align: left; margin-left: 0; }
}

/* -------------------------------------------------- admissions: fold-out accordion */
.folds { list-style: none; margin: 0; padding: 0; perspective: 1200px; max-width: 860px; }
.folds > li { position: relative; background: var(--sheet); box-shadow: var(--lift); }
.folds > li + li { margin-top: 2px; }
.folds > li:nth-child(even) { background: #FBF8F2; }
.fold-btn {
  display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: 1rem; width: 100%; min-height: 64px;
  padding: 1rem 1.2rem; border: 0; background: none; cursor: pointer; text-align: left; color: var(--ink); font: inherit;
}
.fold-btn .n { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; font: 700 1.3rem/1 var(--display); color: #fff; background: linear-gradient(135deg, var(--teal) 0 50%, var(--teal-d) 50% 100%); }
.fold-btn .t { font: 600 1.3rem/1.2 var(--display); }
.fold-btn .ic { transition: transform .3s var(--ease); color: var(--teal-d); }
.fold-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.fold-panel { transform-origin: top center; padding: 0 1.2rem 1.3rem calc(3rem + 2.2rem); }
.fold-panel p:last-child, .fold-panel ul:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: no-preference) { .fold-panel:not([hidden]) { animation: unfold .45s var(--ease) both; } }
@media (max-width: 575.98px) { .fold-panel { padding-left: 1.2rem; } .fold-btn { grid-template-columns: 2.6rem 1fr auto; gap: .7rem; } }
.band-teal .folds > li { color: var(--ink); }
.band-teal .folds a { color: var(--teal-d); }

/* -------------------------------------------------- checklist and tables */
.check { list-style: none; margin: 0; padding: 0; }
.check li { display: flex; gap: .6rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.check .ic { color: var(--teal-d); margin-top: .2rem; }
table.paper { width: 100%; border-collapse: collapse; background: var(--sheet); box-shadow: var(--lift); font-variant-numeric: tabular-nums; }
.paper th, .paper td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.paper th { font-weight: 800; background: #FAF6EE; }
.paper tr.today td { background: #FCF1D6; font-weight: 700; }
.paper caption { caption-side: bottom; text-align: left; padding-top: .6rem; font-size: .9rem; color: var(--ink-2); }

/* -------------------------------------------------- page heads (inner pages) */
.page-head { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.ph-plane { position: relative; padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--lift-hi); }
.ph-coral { background: linear-gradient(100deg, #F06A51 0 58%, var(--coral) 58% 100%); color: var(--ink); }
.ph-coral .lead { color: #2A1410; }
.ph-mustard { background: linear-gradient(100deg, #EDB850 0 58%, var(--mustard) 58% 100%); }
.ph-mustard .lead { color: #3A2C10; }
.ph-teal { background: linear-gradient(100deg, var(--teal-d) 0 58%, #146460 58% 100%); color: #fff; }
.ph-teal h1 { color: #fff; }
.ph-teal .lead { color: #E3F2F0; }
.ph-plane .dog { position: absolute; right: 0; top: 0; width: 44px; height: 44px; background: linear-gradient(225deg, var(--paper) 0 50%, rgba(0, 0, 0, .14) 50% 100%); }
.ph-photo { margin: 0; background: var(--sheet); padding: 10px 10px 34px; box-shadow: var(--lift-hi); transform: rotate(1.6deg); }
.ph-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ph-photo figcaption { font-size: .8rem; color: var(--ink-2); margin-top: .5rem; }
.crumbs { font-size: .9rem; margin-bottom: 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--ink-2); }
.ph-teal .crumbs a { color: #fff; }
.ph-teal .crumbs, .ph-teal .crumbs li + li::before { color: #E3F2F0; }
.ph-coral .crumbs a, .ph-coral .crumbs, .ph-coral .crumbs li + li::before { color: var(--ink); }
.ph-mustard .crumbs a { color: #3A2C10; }

/* class sheets on Classes page */
.classes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 991.98px) { .classes { grid-template-columns: 1fr; } }
.class-sheet { padding: 1.4rem 1.4rem 1.5rem; position: relative; }
.class-sheet h3 { font-size: 1.7rem; }

/* -------------------------------------------------- gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.gallery button { padding: 8px 8px 10px; border: 0; background: var(--sheet); box-shadow: var(--lift); cursor: zoom-in; transition: transform .25s var(--ease), box-shadow .25s; }
.gallery button:hover { transform: translateY(-3px) rotate(-.6deg); box-shadow: var(--lift-hi); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.g1 { grid-column: span 5; } .g2 { grid-column: span 4; } .g3 { grid-column: span 3; }
.g4 { grid-column: span 3; } .g5 { grid-column: span 4; } .g6 { grid-column: span 5; }
@media (max-width: 767.98px) { .gallery > * { grid-column: span 6 !important; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(35, 35, 35, .82); }
.lb-sheet { background: var(--sheet); padding: 12px 12px 14px; }
.lb-sheet img { width: 100%; max-height: 72vh; object-fit: contain; background: #F3EEE4; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .6rem; }
.lb-cap { margin: 0; font-size: .95rem; }
.lb-btns { display: flex; gap: .4rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r); background: var(--paper-2); color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--mustard-l); }

/* notices (samples) pinned like paper slips */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 767.98px) { .notes { grid-template-columns: 1fr; } }
.note { background: #FFFDF6; padding: 1.2rem 1.2rem 1.3rem; box-shadow: var(--lift); position: relative; }
.note:nth-child(1) { transform: rotate(-1deg); } .note:nth-child(3) { transform: rotate(.8deg); }
.note::before { content: ""; position: absolute; top: -9px; left: 50%; width: 70px; height: 18px; transform: translateX(-50%) rotate(-2deg); background: rgba(226, 169, 59, .55); }
.note .tag { margin: 0 0 .5rem; }

/* -------------------------------------------------- form */
.form-sheet { background: var(--sheet); padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: var(--lift-hi); position: relative; color: var(--ink); }
.form-sheet::after { content: ""; position: absolute; right: 0; top: 0; width: 34px; height: 34px; background: linear-gradient(225deg, var(--paper) 0 50%, #EDE6D8 50% 100%); }
.band-teal .form-sheet::after { background: linear-gradient(225deg, #146460 0 50%, #EDE6D8 50% 100%); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 800; margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .65rem .8rem; font: inherit; color: var(--ink);
  background: #FFFDF8; border: 1.5px solid #CFC5B2; border-radius: var(--r);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(23, 112, 108, .35); border-color: var(--teal-d); }
.field [aria-invalid="true"] { border-color: var(--err); background: #FFF6F4; }
.field .hint { font-size: .875rem; color: var(--ink-2); margin: .3rem 0 0; }
.field .err { font-size: .9rem; color: var(--err); font-weight: 700; margin: .35rem 0 0; }
.field .err:empty { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 575.98px) { .form-row { grid-template-columns: 1fr; } }
.err-summary { border: 2px solid var(--err); background: #FFF6F4; padding: .9rem 1rem; margin-bottom: 1.2rem; }
.err-summary h3 { font: 800 1rem/1.3 var(--body); margin: 0 0 .4rem; color: var(--err); }
.err-summary ul { margin: 0; padding-left: 1.1rem; }
.form-status { margin-top: 1rem; padding: 1rem 1.1rem; }
.form-status.ok { background: #E2F1EF; }
.form-status.bad { background: #FFF1EC; }
.form-status h3 { font-size: 1.3rem; }
.honey { position: absolute; left: -9999px; }

/* -------------------------------------------------- contact */
.big-phone { display: inline-block; font: 700 clamp(2.2rem, 6vw, 3.6rem)/1 var(--display); color: var(--ink); text-decoration: none; }
.big-phone:hover { color: var(--teal-d); }
.map-card { background: var(--sheet); box-shadow: var(--lift); padding: 1.2rem; }
.map-frame { width: 100%; height: 360px; border: 0; display: block; }
.map-wrap { margin-top: 1rem; }

/* -------------------------------------------------- footer */
.site-foot { background: var(--ink); color: #E9E4DA; padding: 3.5rem 0 2rem; margin-top: 0; }
.site-foot a, .site-foot a:hover { color: #fff; }
.foot-brand { display: inline-flex; align-items: center; gap: .6rem; font: 700 1.6rem/1 var(--display); color: #fff; text-decoration: none; margin-bottom: 1rem; }
.foot-brand:hover { color: #fff; }
.foot-h { font-weight: 800; color: #fff; margin-bottom: .6rem; }
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { margin-bottom: .35rem; }
.foot-list a { display: inline-block; padding: .2rem 0; }
.foot-phone { font: 700 1.5rem/1.2 var(--display); text-decoration: none; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .875rem; color: #CFC8BB; }
.foot-legal p { max-width: none; margin-bottom: .4rem; }

/* 404 */
.adrift { width: min(280px, 70vw); margin: 0 auto 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-head, .site-foot, .fold-menu, .actions { display: none !important; }
  body { background: #fff; }
}
.band-teal .form-sheet .small, .band-teal .form-sheet .hint { color: var(--ink-2); }
.band-teal .form-sheet a:not(.btn) { color: var(--teal-d); }
@media (max-width: 575.98px) { .container { --bs-gutter-x: 2rem; } }
