/* Castlewood International School: "Into the woods, into wonder" (woodland storybook).
   Bootstrap 5.3.3 grid only; everything else here. */
:root {
  --paper: #FAF6EC;
  --paper-2: #F1EBDB;
  --paper-3: #FFFDF7;
  --ink: #2A2420;
  --moss: #5B7F3A;
  --moss-deep: #34501F;
  --moss-text: #3F5F24;
  --leaf: #E6EBD6;
  --sage: #C9D4B0;
  --bark: #6B4B3E;
  --bark-deep: #4A3229;
  --twig: #C9B08F;
  --red: #B5372B;
  --red-deep: #962A20;
  --cream: #F6EFDD;
  --display: "Bree Serif", Georgia, serif;
  --body: "Cabin", "Segoe UI", system-ui, sans-serif;
  --r-pebble: 14px 22px 14px 22px;
  --shadow: 0 10px 30px rgba(74, 50, 41, .14);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--bark) var(--paper-2); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body); font-variant-numeric: lining-nums;
  caret-color: var(--moss);
}
::selection { background: var(--moss); color: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss-text); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--bark-deep); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, .form-h { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); color: var(--ink); letter-spacing: -.01em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); color: var(--moss-deep); }
h3 { font-size: 1.35rem; color: var(--bark-deep); }
p { margin: 0 0 1em; max-width: 68ch; }
:lang(hi) { font-family: "Noto Sans Devanagari", "Kohinoor Devanagari", "Mangal", var(--body); }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.sec-lead { font-size: 1.125rem; color: #4A3F37; }
.small-src { font-size: .9rem; color: #5E5048; }
section { position: relative; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .7rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }
.skip:hover, .skip:focus { color: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .75rem 1.3rem;
  border-radius: var(--r-pebble); font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .2s, color .2s, transform .2s var(--ease), border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #FFF8EE; box-shadow: 0 6px 16px rgba(181, 55, 43, .22); }
.btn-red:hover { background: var(--red-deep); color: #FFF8EE; }
.btn-line { border-color: var(--moss-text); color: var(--moss-text); background: transparent; }
.btn-line:hover { background: var(--moss-text); color: var(--paper); }
.btn-ghost { color: var(--bark-deep); background: transparent; padding-left: .6rem; padding-right: .6rem; text-decoration: underline; text-decoration-color: var(--twig); }
.btn-ghost:hover { color: var(--red); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(250, 246, 236, .96); border-bottom: 1px solid #E5DCC6; }
.head-row { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }
.brand img { height: 52px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.nav-a, .sheet-a {
  display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .7rem; min-height: 44px;
  color: var(--ink); font-weight: 600; text-decoration: none; border-radius: 10px;
}
.nav-leaf { color: var(--moss); width: 0; opacity: 0; transform: rotate(-30deg) scale(.4); transition: width .25s var(--ease), opacity .25s, transform .35s var(--ease); }
.nav-a:hover .nav-leaf { width: 14px; opacity: .55; transform: none; }
.nav-a[aria-current="page"], .sheet-a[aria-current="page"] { color: var(--moss-text); }
.nav-a[aria-current="page"] .nav-leaf, .sheet-a[aria-current="page"] .nav-leaf { width: 16px; opacity: 1; transform: none; }
.head-call {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; min-height: 44px;
  border: 2px solid var(--bark); border-radius: var(--r-pebble); color: var(--bark-deep); font-weight: 700; text-decoration: none;
}
.head-call:hover { background: var(--bark); color: var(--paper); }
.menu-btn {
  display: none; align-items: center; gap: .4rem; margin-left: .25rem; min-height: 44px; padding: .5rem .9rem;
  background: var(--moss-deep); color: var(--paper); border: 0; border-radius: var(--r-pebble); font: 600 1rem var(--body); cursor: pointer;
}

/* ---------- phone sheet edged with branches ---------- */
.sheet-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(42, 36, 32, .45); opacity: 0; transition: opacity .3s; }
.sheet-scrim.open { opacity: 1; }
.sheet {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(420px, 100%); overflow-y: auto;
  background: var(--paper); padding: 0 1.5rem 1.5rem; box-shadow: -10px 0 40px rgba(42, 36, 32, .25);
  transform: translateX(100%); transition: transform .4s var(--ease);
}
.sheet.open { transform: none; }
.sheet-branch { display: block; width: calc(100% + 3rem); margin: 0 -1.5rem; height: 54px; }
.sheet-branch-b { margin-top: 1.25rem; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.sheet-title { font: 400 1.6rem var(--display); color: var(--moss-deep); }
.sheet-close { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: .4rem .8rem; background: none; border: 2px solid var(--bark); border-radius: var(--r-pebble); color: var(--bark-deep); font: 600 1rem var(--body); cursor: pointer; }
.sheet-list { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.sheet-list li { border-bottom: 2px dotted var(--twig); }
.sheet-a { width: 100%; font: 400 1.5rem var(--display); padding: .75rem .25rem; }
.sheet-acts { display: grid; gap: .75rem; }
.sheet-acts .btn { justify-content: center; }
body.sheet-open { overflow: hidden; }

/* ---------- hero: layered woodland ---------- */
.hero { overflow: hidden; padding: 2.5rem 0 7.5rem; background: var(--paper); }
.wood-back { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { position: relative; }
.hero-place { display: inline-flex; align-items: center; gap: .45rem; color: var(--bark-deep); font-weight: 600; margin-bottom: 1rem; }
.hero-place .ic { color: var(--moss); }
.hero h1 { max-width: 14ch; }
.hero-hi { font-size: 1.35rem; color: var(--bark-deep); margin: -.2em 0 .8em; }
.hero-lead { font-size: 1.2rem; max-width: 34ch; }
.hero-facts { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.hero-facts li, .hero-facts a { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); text-decoration: none; }
.hero-facts a:hover span { text-decoration: underline; }
.hero-facts .ic { color: var(--moss-text); }
.hero-facts strong { font-size: 1.15rem; }
.hero-acts { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; margin-bottom: 1.4rem; }
.hero-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.hero-chips p { margin: 0; font-weight: 600; color: #4A3F37; }
.hero-chips ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border-radius: 999px;
  background: var(--paper-3); border: 2px solid var(--twig); color: var(--bark-deep); font-weight: 600; text-decoration: none;
}
.chip:hover { border-color: var(--moss); color: var(--moss-text); }

.tree { position: relative; width: 100%; max-width: 540px; margin: 0 auto; aspect-ratio: 600 / 720; }
.oak { position: absolute; inset: 0; width: 100%; height: 100%; }
.hollow {
  position: absolute; left: 32%; top: 47.8%; width: 38.67%; height: 41.1%;
  border-radius: 50%; overflow: hidden; background: var(--bark-deep);
}
.hollow img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hollow::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 8px 18px rgba(42, 25, 18, .55); pointer-events: none; }
.owl-spot { position: absolute; left: 10.5%; top: 27.2%; width: 15.5%; }
.owl-spot .owl { width: 100%; height: auto; display: block; transform-origin: 50% 90%; animation: owl-tilt 1.6s var(--ease) .6s 1 both; }
.owl-lids { transform-box: fill-box; transform-origin: 50% 50%; transform: scaleY(0); animation: blink 5s ease-in-out 1.4s 3; }
@keyframes blink { 0%, 44%, 52%, 100% { transform: scaleY(0); } 48% { transform: scaleY(1); } }
@keyframes owl-tilt { 0% { transform: rotate(0); } 35% { transform: rotate(-9deg); } 70% { transform: rotate(3deg); } 100% { transform: rotate(0); } }
.photo-note { text-align: center; font-size: .85rem; color: #4A3F37; margin: .4rem auto 0; position: relative; }

/* ---------- parent voices (forest floor band) ---------- */
.voices { background: var(--moss-deep); color: var(--cream); padding: 4.5rem 0 5rem; overflow: hidden; }
.voices h2 { color: var(--paper); }
.voices .container { position: relative; z-index: 1; }
.voices-leaves { position: absolute; right: -40px; top: -30px; width: 260px; height: 260px; opacity: .9; }
.score { display: flex; align-items: baseline; gap: .8rem; margin: 0; }
.score-n { font: 400 4rem/1 var(--display); color: var(--paper); }
.score-t { max-width: 22ch; color: #DCE6C8; }
.voice-wrap { display: grid; gap: 2.5rem; margin: 2.5rem 0 1.5rem; }
.voice { margin: 0; }
.voice blockquote { margin: 0; }
.voice p { font-family: var(--display); color: var(--paper); margin: 0 0 .5rem; line-height: 1.2; }
.voice figcaption { color: #DCE6C8; font-size: .95rem; }
.v1 p { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 18ch; }
.v2 { justify-self: end; max-width: 30ch; }
.v2 p { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.v3 p { font-size: 1.35rem; }
.voices-more a { color: var(--paper); font-weight: 600; }
.voices-more a:hover { color: #E9D9A8; }
@media (min-width: 992px) {
  .voice-wrap { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; align-items: end; }
  .v1 { grid-row: span 2; }
  .v2 { justify-self: start; }
  .v3 { padding-left: 3rem; }
}

/* ---------- woodland trail ---------- */
.trail-sec { padding: 5rem 0; }
.trail { position: relative; margin: 1.5rem 0 1rem; }
.trail-path { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 100%; }
.stops { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; min-height: 150px; }
.stop {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: .3rem; padding: .5rem .25rem;
  background: none; border: 0; cursor: pointer; color: var(--ink); font: inherit; min-height: 44px; border-radius: 14px;
}
.stop:nth-child(1) { padding-top: 1.6rem; }
.stop:nth-child(2) { padding-top: 3.7rem; }
.stop:nth-child(3) { padding-top: .6rem; }
.stop-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--paper); border: 6px solid var(--bark); transition: background-color .2s, transform .3s var(--ease); }
.stop-name { font: 400 1.35rem var(--display); color: var(--bark-deep); background: var(--paper); padding: 0 .4rem; border-radius: 6px; }
.stop-age { font-size: .9rem; color: #4A3F37; background: var(--paper); padding: 0 .4rem; border-radius: 6px; }
.stop:hover .stop-dot { transform: scale(1.12); }
.stop[aria-selected="true"] .stop-dot { background: var(--red); border-color: var(--bark-deep); transform: scale(1.15); }
.stop[aria-selected="true"] .stop-name { color: var(--red); }
.trail-panel { background: var(--paper-3); border-radius: 26px; padding: 1.75rem; box-shadow: var(--shadow); }
.clearing { max-width: 340px; margin: 0 auto; }
.clearing img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 47% 53% 50% 50% / 52% 48% 52% 48%; border: 8px solid var(--sage); }
.panel-age { font-weight: 600; }
.tag-general { display: inline-block; margin-left: .35rem; padding: 0 .55rem; border: 1.5px dashed var(--bark); border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--bark-deep); }
.panel-note { font-size: .92rem; color: #5E5048; }

/* ---------- visit ---------- */
.visit { background: var(--paper-2); padding: 5rem 0; }
.lantern { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; }
.lamp { width: 14px; height: 14px; border-radius: 50%; background: var(--twig); box-shadow: 0 0 0 4px rgba(201, 176, 143, .35); }
.is-open .lamp { background: var(--moss); box-shadow: 0 0 0 5px rgba(91, 127, 58, .28), 0 0 14px 2px rgba(91, 127, 58, .45); }
.is-closed .lamp { background: var(--red); box-shadow: 0 0 0 4px rgba(181, 55, 43, .22); }
.hours { width: 100%; max-width: 420px; border-collapse: collapse; margin: 1rem 0 1.5rem; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font-size: .9rem; color: #5E5048; padding-bottom: .4rem; }
.hours th, .hours td { text-align: left; padding: .45rem .6rem; border-bottom: 1px dotted var(--twig); font-weight: 400; }
.hours tr.today { background: var(--leaf); }
.hours tr.today th, .hours tr.today td { font-weight: 700; }
.today-tag { font-weight: 400; color: var(--moss-text); }
.visit-acts { display: flex; flex-wrap: wrap; gap: .65rem; }
.map-card { position: relative; min-height: 360px; border-radius: 26px; overflow: hidden; background: var(--leaf); border: 2px solid var(--sage); }
.map-card::before {
  content: ""; position: absolute; inset: 0; opacity: .7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cpath d='M0 60C60 40 120 80 240 50M0 150C80 120 160 170 240 140M60 0C80 80 40 160 90 240M170 0C150 90 200 160 180 240' fill='none' stroke='%23C9D4B0' stroke-width='3'/%3E%3C/svg%3E");
}
.map-fallback { position: relative; padding: 2rem; max-width: 30rem; }
.map-name { font: 400 1.5rem var(--display); color: var(--moss-deep); margin-bottom: .4rem; }
.map-plus { font-size: .92rem; color: #5E5048; }
.map-acts { display: flex; flex-wrap: wrap; gap: .5rem; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card.loaded .map-fallback { visibility: hidden; }

/* ---------- ask the owl ---------- */
.owl-sec { padding: 5rem 0; }
.owl-perch { position: relative; width: 220px; margin-bottom: 1rem; }
.owl-big { width: 130px; height: auto; display: block; margin-left: 40px; position: relative; z-index: 1; }
.owl-big .owl-lids { animation: none; }
.perch { display: block; width: 220px; height: 30px; margin-top: -10px; }
.qa-list { border-top: 2px dotted var(--twig); }
.qa { border-bottom: 2px dotted var(--twig); }
.qa summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem .25rem; cursor: pointer; font: 400 1.25rem/1.3 var(--display); color: var(--bark-deep); min-height: 44px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--moss-text); }
.acorn { width: 28px; height: 28px; flex: none; transition: transform .35s var(--ease); }
.qa[open] .acorn { transform: rotate(160deg); }
.qa p { padding: 0 .25rem 1.2rem; margin: 0; }

/* ---------- enquiry ---------- */
.cta-wood { background: var(--leaf); padding: 5rem 0; }
.cta-hi { font-size: 1.15rem; color: var(--bark-deep); }
.paper { position: relative; background: var(--paper-3); border-radius: 22px; padding: 2.25rem 1.5rem 1.75rem; box-shadow: var(--shadow); }
.paper::before {
  content: ""; position: absolute; left: 1.25rem; right: 1.25rem; top: -16px; height: 34px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 34' preserveAspectRatio='none'%3E%3Cpath d='M0 18C90 8 200 26 300 14S380 10 400 16' stroke='%236B4B3E' stroke-width='6' fill='none' stroke-linecap='round'/%3E%3Cpath d='M70 16c10-14 28-16 40-8-12 10-26 12-40 8zM250 18c12 12 30 12 40 0-14-6-28-6-40 0z' fill='%235B7F3A'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.paper-gap { margin-top: 2.5rem; }
.form-h { font-size: 1.75rem; color: var(--moss-deep); margin-bottom: .3em; }
.form-lead { color: #4A3F37; }
.field label { display: block; font-weight: 700; margin-bottom: .3rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .65rem .85rem; font: 400 1rem/1.4 var(--body); color: var(--ink);
  background: #fff; border: 2px solid var(--twig); border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #75675D; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(91, 127, 58, .25); }
.field [aria-invalid="true"] { border-color: var(--red); }
.hint { font-size: .88rem; color: #5E5048; margin: .3rem 0 0; }
.err { font-size: .92rem; color: var(--red-deep); font-weight: 700; margin: .3rem 0 0; }
.form-summary { border: 2px solid var(--red); border-radius: 12px; padding: .9rem 1rem; margin-bottom: 1rem; background: #FBEDEA; color: var(--red-deep); }
.form-summary ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.form-summary a { color: var(--red-deep); }
.btn-send { margin-top: 1.25rem; }
.note-owl { margin-top: 1rem; padding: .9rem 1rem; border-radius: 12px; }
.form-ok { background: var(--leaf); border: 2px solid var(--moss); }
.form-fail { background: #FBEDEA; border: 2px solid var(--red); }
.form-small { font-size: .85rem; color: #5E5048; margin-top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- placeholders ---------- */
.tbc { border: 2px dashed #8A6A55; background: #F4EDDC; border-radius: 14px; padding: .9rem 1.1rem; color: #3D332C; max-width: 68ch; }
.tbc-k { display: block; font-size: .85rem; font-weight: 700; color: var(--bark-deep); margin-bottom: .15rem; }

/* ---------- inner page band ---------- */
.page-band { background: var(--leaf); padding: 3.5rem 0 6rem; overflow: hidden; }
.page-band h1 { color: var(--moss-deep); max-width: 16ch; }
.band-hi { font-size: 1.25rem; color: var(--bark-deep); margin-top: -.3em; }
.band-lead { font-size: 1.2rem; max-width: 52ch; }
.band-owl { position: absolute; right: 0; top: 3.2rem; width: 360px; display: none; }
.band-owl .owl { width: 96px; height: auto; display: block; margin-left: 140px; position: relative; z-index: 1; }
.band-branch { display: block; width: 360px; height: 50px; margin-top: -14px; }
@media (min-width: 992px) { .band-owl { display: block; } }
.band-hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 90px; }
.chapter, .values-sec, .lead-sec, .learn-sec, .tbc-sec, .steps-sec, .docs-sec, .gallery-sec, .stage-sec, .contact-sec, .prose-sec { padding: 4rem 0; }
.values-sec, .docs-sec, .stage-sec { background: var(--paper-2); }
.framed { margin: 0; }
.framed img { border-radius: 30px; border: 10px solid var(--bark); width: 100%; }
.framed figcaption { font-size: .85rem; color: #5E5048; margin-top: .5rem; }
.topic-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.topic-list li { display: flex; align-items: center; gap: .8rem; }
.topic-n { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--moss-deep); color: var(--paper); font: 400 1.25rem var(--display); }
.leaf-row { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1.5rem; }
.leaf-row li { position: relative; padding-left: 3rem; }
.leaf-row li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 32px; height: 32px; background: var(--moss); border-radius: 0 100% 0 100%; }
.leaf-row li:nth-child(even)::before { background: var(--bark); border-radius: 100% 0 100% 0; }
@media (min-width: 768px) { .leaf-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .leaf-row { grid-template-columns: repeat(4, 1fr); } }
.area-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem 1.5rem; }
.area-list h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.area-list p { margin: 0; color: #4A3F37; }
@media (min-width: 576px) { .area-list { grid-template-columns: 1fr 1fr; } }

/* admissions */
.footsteps { list-style: none; padding: 0; margin: 1rem 0 0; position: relative; }
.footsteps::before { content: ""; position: absolute; left: 25px; top: 20px; bottom: 30px; border-left: 4px dotted var(--twig); }
.footsteps li { position: relative; padding: 0 0 1.75rem 4.5rem; min-height: 60px; }
.step-n { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 48% 52% 46% 54%; background: var(--bark); color: var(--paper); font: 400 1.5rem var(--display); }
.footsteps h3 { margin-bottom: .2rem; }
.footsteps p { margin: 0; }
.ages { width: 100%; max-width: 460px; border-collapse: collapse; margin-bottom: 1.25rem; }
.ages caption { text-align: left; font-size: .9rem; color: #5E5048; padding-bottom: .5rem; }
.ages th, .ages td { text-align: left; padding: .6rem .7rem; border-bottom: 1px dotted var(--twig); }
.ages thead th { font-weight: 700; color: var(--bark-deep); border-bottom: 2px solid var(--bark); }
.ages tbody th { font: 400 1.1rem var(--display); color: var(--moss-deep); }
.docs { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .55rem; }
.docs li { display: flex; gap: .6rem; align-items: flex-start; }
.docs .ic { color: var(--moss-text); margin-top: .2rem; }

/* campus life: leaf gallery */
.leaf-gallery { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 2rem 1.5rem; }
@media (min-width: 576px) { .leaf-gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .leaf-gallery { grid-template-columns: repeat(3, 1fr); } }
.leaf-tile { margin: 0; }
.g-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px 70% 6px 70%; }
.g-btn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px 70% 6px 70%; transition: transform .45s var(--ease), border-radius .45s var(--ease); }
.lt1 .g-btn, .lt1 .g-btn img { border-radius: 70% 6px 70% 6px; }
.lt2 .g-btn, .lt2 .g-btn img { border-radius: 60% 60% 6px 60%; }
.g-btn:hover img { transform: rotate(-1.5deg) scale(1.02); }
.lt1 .g-btn:hover img { transform: rotate(1.5deg) scale(1.02); }
.leaf-cap { font: 400 1.15rem var(--display); color: var(--bark-deep); margin: .7rem 0 0; text-align: center; }
.lt0 .leaf-cap { text-align: left; } .lt1 .leaf-cap { text-align: right; }
.expect { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 576px) { .expect { grid-template-columns: 1fr 1fr; } }
.tbc-card h3 { font-size: 1.15rem; margin: .2rem 0 .2rem; }
.tbc-card p { margin: 0; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(28, 22, 18, .85); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: 16px; background: var(--bark-deep); }
.lightbox figcaption { color: var(--paper); text-align: center; padding: .6rem; }
.lb-acts { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; }
.lb-acts button { display: inline-flex; align-items: center; gap: .4rem; min-height: 46px; padding: .5rem 1rem; border-radius: var(--r-pebble); border: 2px solid var(--paper); background: transparent; color: var(--paper); font: 600 1rem var(--body); cursor: pointer; }
.lb-acts button:hover { background: var(--paper); color: var(--ink); }

/* contact */
.addr { font-style: normal; font-size: 1.15rem; line-height: 1.6; margin-bottom: .6rem; }
.contact-list { list-style: none; padding: 0; margin: 1.25rem 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.5rem; }

/* thank you / 404 */
.lost { padding: 5rem 0 6rem; text-align: center; }
.lost .owl-big { margin: 0 auto 1.5rem; }
.lost p { margin-left: auto; margin-right: auto; }
.lost-links { list-style: none; padding: 0; display: flex; justify-content: center; gap: 1.5rem; font-weight: 600; }

/* ---------- footer ---------- */
.site-foot { position: relative; background: var(--bark-deep); color: #F3EAD6; padding: 3.5rem 0 2rem; margin-top: 0; }
main > section:last-child { padding-bottom: 8rem; }
.roots { position: absolute; left: 0; top: -79px; width: 100%; height: 80px; }
.site-foot a { color: #F6EFDD; }
.site-foot a:hover { color: #E9D9A8; }
.foot-logo { height: 56px; width: auto; margin-bottom: .4rem; }
.foot-note { font-size: .85rem; color: #E0D2BA; }
.foot-addr { display: flex; gap: .6rem; align-items: flex-start; }
.foot-addr .ic { margin-top: .2rem; color: #C9D4B0; }
.foot-h { font: 400 1.5rem var(--display); color: var(--paper); margin-bottom: .6rem; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.foot-links a { display: inline-block; padding: .3rem 0; }
.foot-small { font-size: .85rem; color: #E0D2BA; border-top: 1px solid #6B4B3E; padding-top: 1.25rem; margin-top: 2rem; max-width: none; }

/* ---------- phone action bar ---------- */
.act-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .main-nav { display: none; }
  .head-call { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .hero { padding-bottom: 6rem; }
  .hero h1 { max-width: 13ch; }
  .tree { max-width: 440px; }
  .act-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--paper); border-top: 2px solid var(--sage); box-shadow: 0 -6px 18px rgba(42, 36, 32, .12);
  }
  .act-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 60px; color: var(--moss-deep); font-weight: 700; font-size: .9rem; text-decoration: none; }
  .act-bar a + a { border-left: 1px solid #E5DCC6; }
  body { padding-bottom: 62px; }
}
@media (max-width: 575.98px) {
  body { font-size: 1rem; }
  .voices-leaves { width: 150px; height: 150px; right: -50px; top: -40px; opacity: .6; }
  .head-row { gap: .6rem; min-height: 66px; }
  .brand img { height: 42px; }
  .head-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .head-call { padding: .5rem .65rem; }
  .hero { padding-top: 1.75rem; }
  .hero-acts .btn { flex: 1 1 auto; justify-content: center; }
  .stop-name { font-size: 1.1rem; }
  .stop-age { font-size: .78rem; text-align: center; }
  .stop:nth-child(2) { padding-top: 2.4rem; }
  .trail-panel { padding: 1.25rem; }
  .paper { padding: 2rem 1.1rem 1.5rem; }
  .v1 p { font-size: 2rem; }
}

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