/* Vedic International School — "Roots and wings": a painted folio of Mandana-bordered frames.
   Palette pinned by the brief: sandstone, maroon ink, jade, gold as fine borders. */
:root {
  --sand: #F1E4CF;
  --paper: #F8F1E4;
  --sand-deep: #E6D3B2;
  --maroon: #3B1218;
  --maroon-2: #4C1C22;
  --maroon-3: #6B2E35;
  --jade: #2F6F5E;
  --jade-dark: #24594B;
  --gold: #C9A13B;
  --ink: #3B1218;
  --ink-2: #5E3B33;
  --rule: #B8956A;
  --field: #8A6658;
  --error: #9E1B1B;
  --light: #F4E9D6;
  --display: "Eczar", Georgia, serif;
  --body: "Yantramanav", "Segoe UI", system-ui, sans-serif;
  --band: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; scrollbar-color: var(--maroon-3) var(--sand); }
body {
  margin: 0;
  background: var(--sand) url("/assets/lime-wash.svg") repeat;
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--body);
  font-variant-numeric: lining-nums;
  caret-color: var(--jade);
  accent-color: var(--jade);
  overflow-x: hidden;
}
::selection { background: var(--maroon); color: var(--sand); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jade); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--jade-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--jade); outline-offset: 3px; }
.band-maroon :focus-visible, .site-foot :focus-visible, .lightbox :focus-visible { outline-color: var(--gold); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--maroon); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.6vw + .6rem, 4.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 2.2vw + 1rem, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; max-width: 62ch; text-wrap: pretty; }
ul, ol { padding: 0; margin: 0; list-style: none; }
address { font-style: normal; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.defs { position: absolute; }
.muted { color: var(--ink-2); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--maroon); color: var(--sand); padding: .7rem 1rem; }
.skip:focus { top: 1rem; }
.skip:hover { color: var(--sand); }
main:focus { outline: none; }
.hi { font-family: var(--display); font-weight: 500; }
.hi-sub { display: block; font-size: .55em; color: var(--jade); margin-top: .3em; font-weight: 500; }
.hi-inline { font-family: var(--body); font-weight: 500; color: var(--ink-2); font-size: .85em; }

/* ---------------------------------------------------------------- buttons */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .65rem 1.25rem; border: 1.5px solid transparent;
  border-radius: 16px 16px 4px 4px;
  font: 500 1.0625rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn .ic { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-go { background: var(--jade); color: #FFF9EE; }
.btn-go:hover { background: var(--jade-dark); color: #FFF9EE; text-decoration: none; }
.btn-line { background: transparent; color: var(--maroon); border-color: var(--maroon); }
.btn-line:hover { background: var(--maroon); color: var(--sand); text-decoration: none; }
.btn-sand { background: var(--sand); color: var(--maroon); border-color: var(--gold); }
.btn-sand:hover { background: #FFF4E2; color: var(--maroon); text-decoration: none; }
.btn-line-light { background: transparent; color: var(--light); border-color: var(--light); }
.btn-line-light:hover { background: var(--light); color: var(--maroon); text-decoration: none; }
.btn-sm { min-height: 44px; padding: .5rem 1rem; font-size: 1rem; }
.btn-lg { min-height: 56px; padding: .8rem 1.6rem; font-size: 1.125rem; }
.btn[disabled] { opacity: .65; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
.link { font-weight: 500; }

/* ---------------------------------------------------------------- header */
.site-head { position: sticky; top: 0; z-index: 40; background: var(--sand); }
.head-row { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--maroon); margin-right: auto; min-width: 0; }
.brand img { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font: 600 1.2rem/1.1 var(--display); }
.brand-sub { display: flex; gap: .5rem; font-size: .85rem; color: var(--ink-2); line-height: 1.3; }
.brand-hi { font-weight: 500; }
.brand-place::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--jade); transform: rotate(45deg); margin: 0 .45rem .15em 0; }
.main-nav ul { display: flex; gap: .2rem; }
.main-nav a { position: relative; display: block; padding: .6rem .7rem; color: var(--maroon); text-decoration: none; font-weight: 500; }
.main-nav a:hover { color: var(--jade); }
.main-nav a[aria-current="page"] { color: var(--jade); }
.main-nav a[aria-current="page"]::after, .main-nav a:hover::after {
  content: ""; position: absolute; left: 50%; bottom: .1rem; width: 7px; height: 7px; background: var(--jade); transform: translateX(-50%) rotate(45deg);
}
.head-actions { display: flex; gap: .5rem; align-items: center; }
.menu-btn { display: none; }
.strip { height: 12px; background: url("/assets/mandana-strip.svg") repeat-x; background-size: 32px 12px; }
@media (max-width: 1199.98px) {
  .main-nav, .head-call { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 575.98px) {
  .head-enquire, .brand-place { display: none; }
  .head-row { min-height: 66px; gap: .6rem; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 1.02rem; }
}

/* ---------------------------------------------------------------- bottom sheet */
.sheet-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(43, 12, 16, .55); opacity: 0; transition: opacity .3s var(--ease); }
.sheet-scrim.open { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-height: 92vh; overflow: auto;
  background: var(--sand);
  padding: 0 1.25rem 1.5rem; transform: translateY(100%); transition: transform .35s var(--ease);
}
.sheet.open { transform: none; }
.sheet::before { content: ""; display: block; height: 12px; margin: 0 -1.25rem 1rem; background: url("/assets/mandana-strip.svg") repeat-x; background-size: 32px 12px; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.sheet-title { font: 600 1.3rem var(--display); }
.sheet-title .hi { font-size: .8em; color: var(--jade); margin-left: .4rem; }
.sheet-close { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .4rem .8rem; background: none; border: 1.5px solid var(--maroon); border-radius: 14px 14px 4px 4px; color: var(--maroon); font: 500 1rem var(--body); cursor: pointer; }
.sheet-close .ic { width: 20px; height: 20px; }
.sheet-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; margin: .5rem 0 1rem; }
.sheet-links a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--rule); font: 600 1.3rem var(--display); color: var(--maroon); text-decoration: none; }
.sheet-links a[aria-current="page"] { color: var(--jade); }
.sheet-actions { display: grid; gap: .6rem; }
.sheet-note { font-size: .95rem; color: var(--ink-2); margin: 1rem 0 0; }
body.sheet-open { overflow: hidden; }

/* ---------------------------------------------------------------- frames (the folio's grammar) */
.frame {
  position: relative; background: var(--paper);
  border: var(--band) solid var(--maroon);
  border-image: url("/assets/mandana-frame.svg") 14 round;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}
.frame > :last-child { margin-bottom: 0; }
.plaque { font-size: .9rem; color: var(--ink-2); margin: .9rem 0 0; max-width: 62ch; }
.plaque::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--maroon-3); transform: rotate(45deg); margin: 0 .55rem .15em 0; }
.plaque-center { text-align: center; margin-left: auto; margin-right: auto; }
.todo { border: 1.5px dashed var(--field); background: rgba(255, 252, 244, .55); padding: .9rem 1rem; color: var(--ink-2); max-width: 68ch; }
.todo-tag { display: block; font-weight: 700; color: var(--jade); font-size: .95rem; margin-bottom: .15rem; }

/* arched miniature window */
.arch { position: relative; aspect-ratio: 4 / 5; margin: 0; max-width: 520px; margin-inline: auto; }
.arch-band { position: absolute; inset: 0; clip-path: url(#arch); background: var(--maroon) url("/assets/mandana-band.svg"); background-size: 20px 20px; }
.arch-gold { position: absolute; inset: 16px; clip-path: url(#arch); background: var(--gold); }
.arch-pic { position: absolute; inset: 3px; clip-path: url(#arch); background: var(--sand-deep); }
.arch-pic img { width: 100%; height: 100%; object-fit: cover; }
.arch-hero { width: calc(100% - 20px); }
.cartouche { position: relative; z-index: 2; width: max-content; max-width: 92%; margin: -1.6rem auto 0; padding: .55rem 1.4rem .5rem; text-align: center; background: var(--maroon); color: var(--sand); border-radius: 999px 999px 6px 6px / 28px 28px 6px 6px; outline: 1px solid var(--gold); outline-offset: -5px; }
.cartouche-en { display: block; font: 600 1.05rem/1.2 var(--display); }
.cartouche-hi { display: block; font: 500 .95rem/1.3 var(--display); color: #EBDCC2; }
.status.hero-status-m { display: none; }
@media (max-width: 991.98px) {
  .hero-copy .status { display: none; }
  .status.hero-status-m { display: grid; justify-content: center; }
  .arch-hero { width: min(calc(100% - 20px), 44svh); }
}
@media (max-width: 575.98px) {
  .hero { padding-top: 1.75rem; }
  .hero-h { font-size: 2.35rem; }
  .hero-hi { font-size: 1.15rem; margin-bottom: .8rem; }
  .hero .lead { font-size: 1.05rem; }
  .hero .actions { margin-top: 1.1rem; gap: .6rem; }
  .hero .actions .btn:first-child { flex: 1 1 100%; }
  .hero .actions .btn:not(:first-child) { flex: 1 1 0; padding-inline: .6rem; }
}
.arch-line { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); overflow: visible; pointer-events: none; }
.arch-line path { fill: none; stroke: var(--gold); stroke-width: .35; }
@media (prefers-reduced-motion: no-preference) { .arch-line path { stroke-dasharray: 1; stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .arch-line path { animation: draw 1.8s .25s var(--ease) both; }
  .arch-hero .arch-pic img { animation: settle 1.6s var(--ease) both; }
}
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes settle { from { transform: scale(1.06); opacity: .6; } to { transform: none; opacity: 1; } }

/* ---------------------------------------------------------------- sections */
.band { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.band-sand { background: var(--paper); border-block: 1px solid var(--rule); }
.band-maroon { background: var(--maroon); color: var(--light); }
.band-maroon h1, .band-maroon h2, .band-maroon h3 { color: #FFF4E2; }
.band-maroon .hi-sub { color: var(--sand); }
.band-maroon a:not(.btn) { color: var(--sand); text-decoration-color: var(--gold); }
.sec-head { margin-bottom: 2.25rem; max-width: 760px; }
.sec-head p { color: var(--ink-2); }
.sec-head-light p { color: var(--light); }
.lead { font-size: clamp(1.15rem, .5vw + 1rem, 1.3rem); color: var(--ink-2); max-width: 60ch; }
.band-maroon .lead { color: var(--light); }
.more { margin: 2rem 0 0; }

/* hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-h { max-width: 13ch; }
.hero-hi { font: 500 clamp(1.25rem, 1vw + 1rem, 1.6rem)/1.4 var(--display); color: var(--jade); margin: -.2rem 0 1.1rem; }
.status { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .15rem .55rem; margin: 1.4rem 0 0; font-size: 1rem; color: var(--ink-2); }
.status .ic { width: 20px; height: 20px; color: var(--jade); }
.status-text { font-weight: 500; color: var(--maroon); }
.status-src { font-size: .9rem; grid-column: 2; }
.status[data-open="true"] .status-text::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--jade); margin-right: .45rem; }

/* values folios */
.folio { height: 100%; background: var(--sand); border: var(--band) solid var(--maroon); border-image: url("/assets/mandana-frame.svg") 14 round; }
.folio-pic { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 3px solid var(--gold); }
.folio-pic img { width: 100%; height: 100%; object-fit: cover; }
.folio-roots .folio-pic img { object-position: 50% 30%; }
.folio-body { padding: 1.5rem clamp(1.25rem, 3vw, 2rem) 1.75rem; }
.folio-body h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.7rem; }
.folio-body h3 .ic { color: var(--jade); width: 28px; height: 28px; }
.tick-list li { position: relative; padding: .45rem 0 .45rem 1.6rem; border-bottom: 1px solid rgba(184, 149, 106, .55); }
.tick-list li:last-child { border-bottom: 0; }
.tick-list li::before { content: ""; position: absolute; left: .2rem; top: 1.05rem; width: 8px; height: 8px; background: var(--jade); transform: rotate(45deg); }

/* stage windows (home) */
.stages { display: grid; gap: 1.5rem; grid-template-columns: repeat(4, 1fr); }
.stage { display: flex; flex-direction: column; gap: 1rem; }
.stage-win { width: 72px; aspect-ratio: 4 / 5; clip-path: url(#arch); background: var(--maroon) url("/assets/mandana-band.svg"); background-size: 16px 16px; }
.stage-tbc .stage-win { background: var(--sand-deep); outline: 1.5px dashed var(--field); outline-offset: -6px; }
.stage-text h3 { margin-bottom: .2rem; }
.stage-hi { display: block; color: var(--jade); margin-bottom: .5rem; }
.stage-age { font-weight: 500; margin: 0 0 .3rem; }
.stage-src { font-size: .95rem; color: var(--ink-2); margin: 0; }
.stage-tbc .stage-src { font-weight: 700; color: var(--jade); }
@media (max-width: 991.98px) { .stages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) {
  .stages { grid-template-columns: 1fr; gap: 1.25rem; }
  .stage { flex-direction: row; align-items: flex-start; }
  .stage-win { width: 52px; flex: none; }
}

/* admission steps (framed panels on maroon) */
.steps { display: grid; gap: 1.5rem; grid-template-columns: repeat(4, 1fr); counter-reset: none; }
.step-frame { height: 100%; position: relative; background: var(--paper); color: var(--ink); border: var(--band) solid var(--maroon); border-image: url("/assets/mandana-frame.svg") 14 round; outline: 1px solid var(--gold); outline-offset: 3px; padding: 1.4rem 1.25rem 1.3rem; }
.band-maroon .step-frame h3 { color: var(--maroon); }
.step-num { display: block; font: 600 3rem/1 var(--display); color: var(--maroon-3); margin-bottom: .6rem; }
.step-h { font-size: 1.35rem; margin-bottom: .1rem; }
.step-hi { display: block; color: var(--jade); font-size: 1rem; margin-bottom: .7rem; }
.step-frame p { margin: 0; color: var(--ink-2); font-size: 1.02rem; }
.actions-light { margin-top: 2.25rem; }
@media (max-width: 991.98px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .steps { grid-template-columns: 1fr; } }

/* visit */
.addr { display: flex; gap: .7rem; margin: 1rem 0 1.25rem; font-size: 1.1rem; }
.addr .ic { color: var(--jade); flex: none; margin-top: .2rem; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: .5rem 0 1rem; }
.hours caption { caption-side: bottom; text-align: left; font-size: .9rem; color: var(--ink-2); padding-top: .6rem; }
.hours th, .hours td { padding: .45rem .5rem; border-bottom: 1px solid rgba(184, 149, 106, .55); text-align: left; font-weight: 400; }
.hours tr.today th, .hours tr.today td { background: var(--sand); font-weight: 700; color: var(--maroon); }
.hours tr.today th::after { content: " (today)"; font-weight: 400; color: var(--jade); }
.access { display: flex; gap: .5rem; align-items: center; font-size: 1rem; color: var(--ink-2); }
.access .ic { color: var(--jade); }
.map-box { position: relative; height: 100%; min-height: 380px; background: var(--sand-deep) url("/assets/mandana-band.svg"); background-size: 20px 20px; padding: 14px; }
.map-box iframe { display: block; width: 100%; height: 100%; min-height: 352px; border: 0; }
.map-fallback { height: 100%; min-height: 352px; background: var(--paper); border: 1px solid var(--gold); padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.map-fallback-h { font: 600 1.5rem var(--display); margin: 0 0 .3rem; }
.map-note { font-size: .9rem; color: var(--ink-2); margin: 1rem 0 0; }
.map-tall { min-height: 520px; }

/* voices + notices */
.frame-quote { min-height: 160px; display: flex; align-items: center; }
.notice { height: 100%; border-top: 3px double var(--gold); padding: 1.1rem 0 0; }
.notice-tag { font-size: .95rem; font-weight: 700; color: var(--jade); margin: 0 0 .3rem; }

/* ---------------------------------------------------------------- inner page heroes */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }
.page-hero h1 .hi-sub { font-size: .45em; }
.frame-photo { padding: 10px; margin: 0; }
.frame-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.page-hero-adm { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.steps-hero { margin-top: 2rem; }
.narrow { max-width: 820px; }
.prose p { max-width: 68ch; }

/* ledger */
.frame-table { padding: 0; }
.table-wrap { overflow-x: auto; }
.ledger { width: 100%; border-collapse: collapse; min-width: 640px; }
.ledger th, .ledger td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid rgba(184, 149, 106, .6); vertical-align: top; }
.ledger thead th { font: 600 1.05rem var(--display); background: var(--sand); color: var(--maroon); }
.ledger tbody th { font-weight: 700; color: var(--maroon); white-space: nowrap; }
.ledger td:last-child { color: var(--ink-2); font-size: 1rem; }
.tag { display: inline-block; padding: .1rem .55rem; font-size: .9rem; font-weight: 700; border: 1.5px solid currentColor; border-radius: 10px 10px 3px 3px; white-space: nowrap; }
.tag-verified { color: var(--jade); }
.tag-listed { color: var(--ink-2); }
.tag-to { color: var(--error); border-style: dashed; }
.frame-letter { min-height: 180px; }
.pairs { display: grid; gap: 0; border-top: 1px solid var(--rule); margin-bottom: 1rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); }
.pair p { margin: 0; padding: 1rem 1.25rem; display: flex; gap: .6rem; align-items: center; font-size: 1.15rem; }
.pair .ic { color: var(--jade); flex: none; }
.pair-a { border-right: 1px solid var(--gold); }
@media (max-width: 575.98px) { .pair { grid-template-columns: 1fr; } .pair-a { border-right: 0; border-bottom: 1px dotted var(--rule); } }

/* academics: a facade of four windows */
.windows { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2rem); margin: 2.5rem 0 0; }
.win-arch { aspect-ratio: 4 / 5; clip-path: url(#arch); background: var(--maroon) url("/assets/mandana-band.svg"); background-size: 20px 20px; display: grid; place-items: center; margin-bottom: 1.1rem; position: relative; }
.win-arch::after { content: ""; position: absolute; inset: 14px; clip-path: url(#arch); background: var(--maroon-2); border: 0; }
.win-arch span { position: relative; z-index: 1; font: 600 clamp(3rem, 6vw, 5rem)/1 var(--display); color: var(--sand); margin-top: 18%; }
.win-tbc .win-arch { background: var(--sand-deep); }
.win-tbc .win-arch::after { background: var(--paper); }
.win-tbc .win-arch span { color: var(--ink-2); }
.win-h { font-size: 1.35rem; margin-bottom: .1rem; }
.win-hi { display: block; color: var(--jade); margin-bottom: .4rem; }
.win-age { font-weight: 500; margin-bottom: .5rem; }
.win p { font-size: 1.02rem; }
.win-src { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 991.98px) { .windows { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) {
  .windows { grid-template-columns: 1fr; }
  .win { display: grid; grid-template-columns: 96px 1fr; column-gap: 1rem; }
  .win > :not(.win-arch) { grid-column: 2; }
  .win-arch { grid-row: 1 / span 6; margin: 0; align-self: start; }
  .win-arch::after { inset: 8px; }
  .win-arch span { font-size: 2.4rem; }
}
.frame-cta { text-align: left; }

/* admissions */
.frame-list { padding: .5rem 1.25rem; }
.checklist li { border-bottom: 1px solid rgba(184, 149, 106, .55); }
.checklist li:last-child { border-bottom: 0; }
.check { display: flex; gap: .85rem; align-items: flex-start; padding: .85rem 0; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: .15rem 0 0; flex: none; accent-color: var(--jade); }
.check input:checked + span { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--gold); }
.ages { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-bottom: 1.25rem; background: var(--paper); border: 1px solid var(--gold); }
.ages th, .ages td { padding: .65rem 1rem; text-align: left; border-bottom: 1px solid rgba(184, 149, 106, .55); }
.ages thead th { font: 600 1.05rem var(--display); background: var(--sand); }
.ages tbody th { font-weight: 500; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { position: relative; list-style: none; cursor: pointer; padding: 1rem 2.5rem 1rem 0; font: 600 1.2rem/1.3 var(--display); color: var(--maroon); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 16px; height: 2px; background: var(--jade); transition: transform .25s var(--ease); }
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0); }
.faq-item p { padding-bottom: 1rem; margin: 0; }

/* form */
.form-h { font-size: clamp(1.6rem, 1.5vw + 1rem, 2.1rem); }
.form-intro { color: var(--ink-2); }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; color: var(--maroon); }
.opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .65rem .8rem; font: 400 1.0625rem/1.4 var(--body); color: var(--ink);
  background: #FFFCF6; border: 1.5px solid var(--field); border-radius: 10px 10px 3px 3px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--jade); outline-offset: 1px; border-color: var(--jade); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.hint { font-size: .92rem; color: var(--ink-2); margin: .3rem 0 0; }
.err { color: var(--error); font-weight: 700; font-size: .95rem; margin: .35rem 0 0; }
.form-summary { border: 2px solid var(--error); background: #FFF6F2; padding: 1rem 1.2rem; margin-bottom: 1.25rem; color: var(--error); font-weight: 700; }
.form-summary ul { list-style: disc; padding-left: 1.2rem; margin-top: .4rem; font-weight: 400; }
.form-summary a { color: var(--error); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form-note { font-size: .92rem; color: var(--ink-2); margin: 0; }
.form-ok, .form-fail { margin-top: 1.25rem; padding: 1rem 1.2rem; border: 2px solid var(--jade); background: #EEF5EF; }
.form-fail { border-color: var(--error); background: #FFF6F2; }
.honey { position: absolute; left: -9999px; }
.frame-form-wide { max-width: 900px; margin-inline: auto; }

/* school life */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); margin-top: 2rem; }
.g-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-frame { display: block; border: 10px solid var(--maroon); border-image: url("/assets/mandana-frame.svg") 14 / 10px round; background: var(--paper); padding: 3px; transition: transform .3s var(--ease); }
.g-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.g-btn:hover .g-frame { transform: translateY(-3px); }
@media (max-width: 767.98px) { .gallery { grid-template-columns: 1fr 1fr; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); width: 100%; }
.lightbox::backdrop { background: rgba(30, 8, 11, .88); }
.lb-inner { background: var(--maroon); border: 1px solid var(--gold); padding: 1rem; color: var(--light); }
.lb-img { width: 100%; max-height: 72vh; object-fit: contain; background: #2A0C11; }
.lb-cap { margin: .8rem 0; font-size: 1rem; }
.lb-ctrl { display: flex; flex-wrap: wrap; gap: .6rem; }
.expect { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2rem; margin-bottom: 2rem; }
.expect li { padding: 1.25rem 0; border-top: 3px double var(--gold); }
.expect h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.expect p { margin: 0; color: var(--ink-2); }
@media (max-width: 991.98px) { .expect { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .expect { grid-template-columns: 1fr; } }

/* contact */
.big-phone { margin: 0 0 .5rem; }
.big-phone a { display: inline-flex; align-items: center; gap: .7rem; font: 600 clamp(2rem, 4vw, 3rem)/1.1 var(--display); color: var(--maroon); text-decoration: none; }
.big-phone .ic { width: 36px; height: 36px; color: var(--jade); }
.big-phone a:hover { color: var(--jade); }
.frame-contact .status { margin-bottom: 1rem; }

/* ---------------------------------------------------------------- footer */
.site-foot { background: var(--maroon); color: var(--light); padding: 0 0 2.5rem; }
.site-foot .strip { margin-bottom: 3rem; background-color: var(--maroon); }
.foot-brand { display: flex; gap: .8rem; align-items: center; text-decoration: none; color: #FFF4E2; margin-bottom: 1rem; }
.foot-name { display: block; font: 600 1.35rem var(--display); }
.foot-hi { display: block; color: var(--sand); }
.foot-addr { margin-bottom: .8rem; }
.foot-line { margin: 0 0 .4rem; }
.site-foot a { color: var(--sand); text-decoration-color: var(--gold); }
.site-foot a:hover { color: #FFF4E2; }
.foot-h { font: 600 1.1rem var(--display); color: #FFF4E2; margin-bottom: .6rem; }
.foot-links li { margin-bottom: .2rem; }
.foot-links a { display: inline-block; padding: .3rem 0; }
.foot-small { font-size: .9rem; color: #E3D3BB; margin-top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .sheet { transform: none; }
}
@media print {
  .site-head, .site-foot, .sheet, .sheet-scrim, .map-box { display: none !important; }
}
@media (max-width: 575.98px) {
  .ledger { min-width: 0; }
  .ledger thead { display: none; }
  .ledger tr { display: block; padding: .8rem 1rem; border-bottom: 1px solid rgba(184, 149, 106, .6); }
  .ledger th, .ledger td { display: block; border: 0; padding: .1rem 0; }
  .ledger tbody th { white-space: normal; }
}
