/* Shri Balaji Ganesh Marwadi Girls H.S. School preview: "In harmony" (sheet music).
   Cormorant Garamond (display) + Lora (body). Bootstrap grid only; everything else is restyled. */
@font-face { font-family: "Cormorant Fallback"; src: local("Times New Roman Bold"), local("TimesNewRomanPS-BoldMT"), local("Times New Roman"); size-adjust: 91.7%; ascent-override: 92.4%; descent-override: 28.7%; line-gap-override: 0%; font-weight: 500 700; }
@font-face { font-family: "Lora Fallback"; src: local("Georgia"); size-adjust: 104.8%; ascent-override: 100.6%; descent-override: 27.4%; line-gap-override: 0%; }
:root {
  --ground: #FAF6F0;
  --ink: #2A1E26;
  --muted: #5C4A55;
  --cream: #F6EDDC;
  --rose: #7B2D3B;
  --rose-d: #5E2030;
  --brass: #C69A3C;
  --brass-d: #8A6516;
  --black: #1D1A1F;
  --teal: #3E8E8A;
  --teal-d: #2B6B67;
  --teal-l: #8FD0CB;
  --line: rgba(198, 154, 60, .55);
  --hair: rgba(42, 30, 38, .2);
  --err: #A3202E;
  --serif: "Cormorant Garamond", "Cormorant Fallback", "Noto Serif Devanagari", Georgia, serif;
  --body: "Lora", "Lora Fallback", "Noto Serif Devanagari", Georgia, serif;
  --staff: linear-gradient(var(--line), var(--line)) 0 0/100% 1px no-repeat,
           linear-gradient(var(--line), var(--line)) 0 12px/100% 1px no-repeat,
           linear-gradient(var(--line), var(--line)) 0 24px/100% 1px no-repeat,
           linear-gradient(var(--line), var(--line)) 0 36px/100% 1px no-repeat,
           linear-gradient(var(--line), var(--line)) 0 48px/100% 1px no-repeat;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.72; font-variant-numeric: lining-nums; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.005em; color: var(--ink); margin: 0; }
p { margin: 0 0 1rem; }
a { color: var(--rose); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rose-d); }
.hi { font-family: "Noto Serif Devanagari", var(--body); line-height: 1.6; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.narrow { max-width: 820px; }
:focus-visible { outline: 3px solid var(--teal-d); outline-offset: 3px; border-radius: 2px; }
.sec-dark :focus-visible, .foot :focus-visible, .band-cta :focus-visible, .ph-rose :focus-visible { outline-color: var(--brass); }
.skip { position: absolute; left: .75rem; top: -4rem; z-index: 2000; background: var(--black); color: var(--ground); padding: .7rem 1rem; text-decoration: none; }
.skip:focus { top: .75rem; }

/* ---------- buttons: keys, square-cut ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .6rem 1.25rem; border: 1.5px solid transparent; border-radius: 3px; font: 700 .95rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn .ic { flex: none; }
.btn-rose { background: var(--rose); color: var(--ground); }
.btn-rose:hover { background: var(--rose-d); color: var(--ground); }
.btn-line { background: transparent; color: var(--rose); border-color: var(--rose); }
.btn-line:hover { background: var(--rose); color: var(--ground); }
.btn-brass { background: var(--brass); color: var(--black); }
.btn-brass:hover { background: #D7AC4D; color: var(--black); }
.btn-ghost-light { background: transparent; color: var(--ground); border-color: rgba(250, 246, 240, .7); }
.btn-ghost-light:hover { background: var(--ground); color: var(--rose-d); }
.btn:disabled { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }

/* ---------- header: links sit on a five-line staff ---------- */
.top { background: var(--ground); border-bottom: 1px solid var(--hair); position: relative; z-index: 50; }
.top-row { display: flex; align-items: center; gap: 1.25rem; padding-top: .75rem; padding-bottom: .75rem; }
.brand { flex: none; display: block; line-height: 0; }
.brand img { height: 46px; width: auto; }
.staff-nav { display: none; flex: 1; min-width: 0; }
.staff-nav ul { list-style: none; margin: 0; padding: 0 .9rem; display: flex; justify-content: center; position: relative; height: 49px; background: var(--staff); }
.staff-nav ul::before, .staff-nav ul::after { content: ""; position: absolute; top: 0; height: 49px; background: var(--ink); }
.staff-nav ul::before { left: 0; width: 1.5px; }
.staff-nav ul::after { right: 0; width: 5px; box-shadow: -4px 0 0 var(--ground), -5.5px 0 0 var(--ink); }
.sn { display: flex; align-items: center; gap: .3rem; height: 49px; padding: 0 .8rem; margin: 0 .2rem; background: var(--ground); color: var(--ink); font: 700 .88rem/1 var(--body); letter-spacing: .02em; text-decoration: none; }
.sn:hover { color: var(--rose); }
.sn[aria-current="page"] { color: var(--rose); }
.nt-ic { flex: none; color: var(--rose); margin-top: -3px; }
.top-call { display: none; margin-left: auto; min-height: 42px; padding: .4rem 1rem; }
.menu-btn { margin-left: auto; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem 1rem; background: var(--rose); color: var(--ground); border: 0; border-radius: 3px; font: 700 .95rem/1 var(--body); cursor: pointer; }
@media (min-width: 992px) {
  .staff-nav { display: block; }
  .menu-btn { display: none; }
  .top-call { display: inline-flex; }
  .top-call span { display: none; }
  .top-call { padding: .4rem .8rem; }
  .brand img { height: 52px; }
}
@media (min-width: 1200px) {
  .top-call span { display: inline; }
  .top-call { padding: .4rem 1.1rem; }
  .sn { padding: 0 1rem; font-size: .92rem; }
}

/* ---------- phone sheet: a folded score that unfolds ---------- */
.sheet { position: fixed; inset: 0; z-index: 1000; background: var(--ground); overflow-y: auto; display: flex; flex-direction: column; }
.sheet[hidden] { display: none; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; border-bottom: 1px solid var(--hair); }
.sheet-top img { height: 40px; width: auto; max-width: 70vw; }
.sheet-close { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .9rem; background: transparent; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 3px; font: 700 .95rem/1 var(--body); cursor: pointer; }
.fold-list { list-style: none; margin: 0; padding: 0; perspective: 1000px; flex: 1; }
.fold-list li { transform-origin: top center; animation: unfold .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 70ms); border-bottom: 1px solid var(--hair); }
.fold-list li:nth-child(odd) { background-color: var(--cream); }
.fold-list li:nth-child(even) { background-color: var(--ground); }
.fl { position: relative; display: flex; align-items: center; gap: .6rem; min-height: 72px; padding: .6rem 1.25rem; font: 600 1.9rem/1 var(--serif); color: var(--ink); text-decoration: none; background: var(--staff); background-size: 100% 1px; background-position: 0 12px, 0 24px, 0 36px, 0 48px, 0 60px; background-repeat: no-repeat; }
.fold-list li:nth-child(odd) { --rowbg: var(--cream); }
.fold-list li:nth-child(even) { --rowbg: var(--ground); }
.fl span { background: var(--rowbg); padding: .1rem .5rem; margin-left: -.5rem; position: relative; }
.fl[aria-current="page"] { color: var(--rose); }
.fl .nt-ic { height: 30px; width: auto; }
.fold-list li { background-image: linear-gradient(to bottom, rgba(42, 30, 38, .09), transparent 22%, transparent 78%, rgba(42, 30, 38, .07)); }
@keyframes unfold { from { transform: rotateX(-82deg); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-acts { display: flex; gap: .75rem; padding: 1.25rem 1rem 1.75rem; }
.sheet-acts .btn { flex: 1; }
@media (prefers-reduced-motion: reduce) { .fold-list li { animation: none; } }

/* ---------- hero: flowing staff, notes drifting, gilded poster ---------- */
.hero { position: relative; overflow: hidden; padding: 1.75rem 0 10.75rem; }
.hero-staff { position: absolute; left: 0; bottom: 0; width: 100%; height: 230px; z-index: 0; pointer-events: none; }
.hs-lines path { stroke: var(--brass); stroke-opacity: .55; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.nt { offset-rotate: 0deg; offset-distance: calc(var(--p) * 100%); animation: drift var(--t) linear infinite; animation-delay: calc(var(--p) * var(--t) * -1); }
.n-rose { fill: var(--rose); } .n-teal { fill: var(--teal); } .n-brass { fill: var(--brass); }
@keyframes drift { 0% { offset-distance: 0%; opacity: 0; } 4% { opacity: 1; } 96% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nt { animation: none; } }
.hero-grid { position: relative; z-index: 1; }
.eyebrow { font: 600 1.3rem/1.25 var(--serif); font-style: italic; color: var(--teal-d); margin-bottom: .8rem; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
.hero h1 em, .ph h1 em { font-style: normal; color: var(--rose); }
.lead { font-size: 1.15rem; max-width: 34rem; margin-top: 1.2rem; }
.hero-hi { font-size: 1.15rem; color: var(--rose); margin-top: .25rem; }
.poster { margin: 0; padding: 12px; background: linear-gradient(135deg, #D9B15A, #B88A2B 45%, #E2C375 60%, #A8791F); box-shadow: 0 18px 40px -22px rgba(29, 26, 31, .55); }
.poster-mat { background: var(--cream); padding: 10px; border: 1px solid var(--brass-d); }
.poster-img { width: 100%; height: auto; }
.poster-plate { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .7rem 1rem .6rem; background: var(--black); color: var(--brass); text-align: center; margin-top: 10px; }
.pl-main { font: 600 1.35rem/1.1 var(--serif); letter-spacing: .12em; text-transform: uppercase; }
.pl-sub { font: 400 .8rem/1.3 var(--body); letter-spacing: .02em; color: #E9DCC0; }
.photo-note { font-size: .82rem; color: var(--muted); margin: .85rem 0 0; }

/* ---------- section scaffolding ---------- */
.sec { padding: clamp(3.25rem, 7vw, 5.75rem) 0; }
.sec-paper { background: var(--ground); }
.sec-come { background: var(--cream); }
.sec-notices { background: var(--ground); border-top: 1px solid var(--hair); }
.sec-dark { background: var(--black); color: #EFE5D0; }
.sec-dark h2, .sec-dark h3 { color: var(--ground); }
.sec-cream-staff { background-color: var(--cream); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='150'%3E%3Cg stroke='%23C69A3C' stroke-opacity='.2' stroke-width='1'%3E%3Cpath d='M0 40.5H160M0 50.5H160M0 60.5H160M0 70.5H160M0 80.5H160'/%3E%3C/g%3E%3C/svg%3E"); }
.mini-staff { display: block; position: relative; width: 76px; height: 25px; margin-bottom: 1.1rem; background: linear-gradient(var(--brass), var(--brass)) 0 0/100% 1px no-repeat, linear-gradient(var(--brass), var(--brass)) 0 6px/100% 1px no-repeat, linear-gradient(var(--brass), var(--brass)) 0 12px/100% 1px no-repeat, linear-gradient(var(--brass), var(--brass)) 0 18px/100% 1px no-repeat, linear-gradient(var(--brass), var(--brass)) 0 24px/100% 1px no-repeat; }
.mini-staff::after { content: ""; position: absolute; right: 0; top: 0; width: 1.5px; height: 25px; background: currentColor; }
.sh { margin-bottom: 2.25rem; max-width: 40rem; }
.sh-wide { max-width: 46rem; }
.sh-title { font-size: clamp(2rem, 4vw, 3rem); }
.sh-hi { color: var(--rose); font-size: 1.1rem; margin: .4rem 0 0; }
.sh-lead { margin: 1rem 0 0; font-size: 1.05rem; }
.sh-dark .sh-title { color: var(--ground); }
.sh-dark .sh-hi { color: var(--brass); }
.sh-dark .mini-staff::after { background: var(--brass); }
.plain-h { font-size: 1.9rem; margin-bottom: 1rem; }
.small-note { font-size: .9rem; color: var(--muted); margin-top: 1.25rem; max-width: 44rem; }
.after-link { margin-top: 2rem; }
.plain-list { margin: 1.25rem 0 .5rem; padding-left: 1.2rem; }
.plain-list li { margin-bottom: .5rem; }
.plain-list li::marker { color: var(--brass-d); }

/* ---------- at a glance: bar lines divide the facts ---------- */
.glance { background: var(--cream); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.glance-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
.glance-row li { padding: 1.4rem 0; border-top: 1px solid var(--hair); }
.glance-row li:first-child { border-top: 0; }
.g-k { font: 700 .72rem/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-d); margin-bottom: .4rem; }
.g-v { font: 600 1.2rem/1.35 var(--serif); margin-bottom: .35rem; }
.g-big { font-size: 1.7rem; }
.g-big a { color: var(--ink); text-decoration: none; }
.g-a { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 700; }
.g-a .ic { width: 16px; height: 16px; }
.g-note { font-size: .84rem; color: var(--muted); margin: 0; line-height: 1.5; }
@media (min-width: 576px) { .glance-row { grid-template-columns: 1fr 1fr; } .glance-row li { padding: 1.4rem 1.4rem; border-top: 0; } .glance-row li:nth-child(odd) { padding-left: 0; } .glance-row li:nth-child(n+3) { border-top: 1px solid var(--hair); } .glance-row li:nth-child(even) { border-left: 1px solid var(--hair); } }
@media (min-width: 992px) { .glance-row { grid-template-columns: repeat(4, 1fr); } .glance-row li { border-top: 0 !important; border-left: 1px solid var(--hair); padding: 1.7rem 1.4rem; } .glance-row li:first-child { border-left: 0; padding-left: 0; } }

/* ---------- movements: measures on a staff ---------- */
.measures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 2rem; }
.measure { position: relative; }
.m-staff { position: relative; height: 49px; background: var(--staff); margin-bottom: 1.1rem; }
.m-staff::after { content: ""; position: absolute; right: 0; top: 0; width: 1.5px; height: 49px; background: var(--ink); }
.m-num { position: absolute; left: 0; top: 50%; transform: translateY(-50%); padding: 0 .55rem 0 0; background: var(--ground); font: 600 2.1rem/1 var(--serif); color: var(--rose); }
.sec-cream-staff .m-num, .sec-come .m-num { background: var(--cream); }
.m-note { position: absolute; right: 22%; top: calc(var(--y) - 19px); color: var(--teal-d); line-height: 0; }
.mv-name { font-size: 1.65rem; margin-bottom: .3rem; }
.mv-classes { font-weight: 700; margin-bottom: .5rem; font-size: .98rem; }
.mv-ages { font-weight: 400; color: var(--muted); }
.mv-text { font-size: .97rem; max-width: 34rem; }
.mv-tbc { font-size: .84rem; color: var(--muted); margin: .6rem 0 0; line-height: 1.5; }
.mv-tbc span { display: inline-block; margin-right: .4rem; padding: .05rem .45rem; border: 1px dashed var(--brass-d); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; color: var(--brass-d); }
@media (min-width: 576px) { .measures { grid-template-columns: 1fr 1fr; gap: 2.25rem 1.5rem; } }
@media (min-width: 992px) { .measures:not(.full) { grid-template-columns: repeat(4, 1fr); gap: 0; } .measures:not(.full) .measure { padding-right: 1.5rem; } .measures:not(.full) .measure + .measure .m-staff { margin-left: 0; } }
.measures.full { grid-template-columns: 1fr; gap: 2.4rem; }
@media (min-width: 768px) { .measures.full .measure { display: grid; grid-template-columns: 220px 1fr; column-gap: 2rem; align-items: start; } .measures.full .m-staff { grid-row: 1 / span 4; margin-bottom: 0; margin-top: .45rem; } .measures.full .m-note { right: 28%; } }

/* ---------- come and see ---------- */
.gilt { margin: 0; padding: 10px; background: #FFFCF7; border: 1px solid var(--brass-d); box-shadow: 0 16px 30px -22px rgba(29, 26, 31, .5); }
.gilt-in { display: block; padding: 6px; border: 1px solid var(--line); background: var(--cream); }
.gilt figcaption { font-size: .78rem; color: var(--muted); padding: .55rem .2rem .1rem; line-height: 1.4; }
.gilt img { width: 100%; }
.gilt-tall { max-width: 440px; margin: 0 auto 2rem; }

/* ---------- marks on the page (dark) ---------- */
.marks { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(246, 237, 220, .22); }
.mark { padding: 1.7rem 1.25rem 1.7rem 0; border-bottom: 1px solid rgba(246, 237, 220, .22); }
.mark-g { color: var(--brass); margin-bottom: 1rem; line-height: 0; }
.glyph { transition: transform .35s ease; transform-origin: left center; }
.mark:hover .glyph { transform: scaleX(1.12); }
@media (prefers-reduced-motion: reduce) { .glyph { transition: none; } .mark:hover .glyph { transform: none; } }
.mark-name { font-size: 1.7rem; margin-bottom: .2rem; }
.mark-plain { margin-bottom: .6rem; color: #F6EDDC; font-size: 1.02rem; }
.mark-ask { margin: 0; font-size: .92rem; color: var(--teal-l); font-style: italic; line-height: 1.55; }
@media (min-width: 768px) { .marks { grid-template-columns: repeat(2, 1fr); } .mark { padding-right: 2rem; } .mark:nth-child(even) { padding-left: 2rem; border-left: 1px solid rgba(246, 237, 220, .22); } }
@media (min-width: 992px) { .marks { grid-template-columns: repeat(3, 1fr); } .mark:nth-child(even) { border-left: 0; padding-left: 0; } .mark:not(:nth-child(3n+1)) { padding-left: 2rem; border-left: 1px solid rgba(246, 237, 220, .22); } }

/* ---------- placeholders ---------- */
.blank { margin: 0 0 1rem; padding: 1.1rem 1.3rem; border: 1.5px dashed var(--brass-d); background: rgba(198, 154, 60, .09); }
.blank-title { font-size: 1.45rem; margin-bottom: .35rem; }
.blank p { margin-bottom: .5rem; font-size: .97rem; }
.blank .blank-title { font-size: 1.45rem; margin-bottom: .35rem; }
.blank-tag { display: flex; align-items: center; gap: .4rem; margin: .6rem 0 0 !important; font: 700 .72rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-d); }
.blank-tag .ic { width: 16px; height: 16px; }
.blank-dark { border-color: var(--brass); background: rgba(198, 154, 60, .08); max-width: 38rem; }
.blank-dark .blank-tag { color: var(--teal-l); }
.blank-dark p { color: #EFE5D0; }
.blank-inline { margin-top: .5rem; }
.notes-stack { margin-top: 1.75rem; }
.drop { font-size: 1.15rem; }
.drop::first-letter { float: left; font: 600 4.6rem/.78 var(--serif); color: var(--rose); padding: .35rem .6rem 0 0; }

/* ---------- rehearsal: bar-numbered steps ---------- */
.rehearsal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
.reh { position: relative; padding: 0 1.25rem 2rem 0; }
.reh::before { content: ""; display: block; height: 49px; background: var(--staff); margin-bottom: 1rem; }
.reh::after { content: ""; position: absolute; right: 0; top: 0; width: 1.5px; height: 49px; background: var(--ink); }
.reh-num { position: absolute; left: 0; top: 0; height: 49px; display: flex; align-items: center; margin: 0; padding-right: .6rem; background: var(--ground); font: 600 2.4rem/1 var(--serif); color: var(--rose); }
.sec-cream-staff .reh-num { background: var(--cream); }
.reh-name { font-size: 1.65rem; margin-bottom: .3rem; }
.reh-text { font-size: .97rem; max-width: 24rem; }
@media (min-width: 576px) { .rehearsal { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
@media (min-width: 992px) { .rehearsal { grid-template-columns: repeat(4, 1fr); column-gap: 0; } }
.cta-row { margin-top: 1rem; }

/* ---------- notices (sample) ---------- */
.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-list li { padding: 1.3rem 0; border-bottom: 1px solid var(--hair); }
.notice-list li:first-child { padding-top: 0; }
.n-tag { display: inline-block; margin-bottom: .5rem; padding: .05rem .5rem; border: 1px dashed var(--brass-d); font: 700 .72rem/1.6 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-d); }
.n-title { font: 600 1.45rem/1.2 var(--serif); margin-bottom: .3rem; }
.n-text { margin: 0; font-size: .97rem; }
.sh-left { margin-bottom: 1.25rem; }

/* ---------- closing band ---------- */
.band-cta { background: var(--rose); color: var(--ground); padding: 3.25rem 0; }
.band-cta h2 { color: var(--ground); font-size: clamp(2rem, 4vw, 3rem); }
.band-cta .hi { color: #F0D9A4; margin: .35rem 0 0; font-size: 1.1rem; }
.band-cta .actions { margin-top: 1.25rem; }

/* ---------- inner page headings (each page its own treatment) ---------- */
.ph { padding: 3rem 0 2.5rem; border-bottom: 1px solid var(--hair); }
.ph h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); max-width: 18ch; }
.ph-lead { margin: 1rem 0 0; max-width: 40rem; font-size: 1.12rem; }
.ph-hi { margin: .5rem 0 0; color: var(--rose); font-size: 1.1rem; }
.ph-title { text-align: center; background: var(--ground); border-bottom: 3px double var(--ink); }
.ph-title .mini-staff { margin-left: auto; margin-right: auto; }
.ph-title h1, .ph-title .ph-lead { margin-left: auto; margin-right: auto; }
.ph-cream { background-color: var(--cream); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='150'%3E%3Cg stroke='%23C69A3C' stroke-opacity='.22' stroke-width='1'%3E%3Cpath d='M0 40.5H160M0 50.5H160M0 60.5H160M0 70.5H160M0 80.5H160'/%3E%3C/g%3E%3C/svg%3E"); }
.ph-rose { background: var(--rose); color: var(--ground); border-bottom: 0; }
.ph-rose h1 { color: var(--ground); }
.ph-rose .ph-hi { color: #F0D9A4; }
.mini-light::after { background: var(--brass); }
.ph-gallery { background: var(--ground); }
.ph-gallery h1 { max-width: 14ch; }
.ph-contact { background: var(--ground); }

/* ---------- about: title block ---------- */
.title-block { border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); padding: 1.3rem 0 1.1rem; max-width: 440px; margin: 0 auto; }
.tb-h { font-size: 1.6rem; margin-bottom: .75rem; }
.title-block dl { margin: 0; display: grid; grid-template-columns: 1fr; }
.title-block dt { font: 700 .7rem/1.3 var(--body); letter-spacing: .15em; text-transform: uppercase; color: var(--teal-d); margin-top: .8rem; }
.title-block dd { margin: .1rem 0 0; font-size: .98rem; line-height: 1.5; }
.tb-src { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; }
.unknowns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(246, 237, 220, .22); }
.unknowns li { padding: 1rem .25rem; border-bottom: 1px solid rgba(246, 237, 220, .22); font: 600 1.3rem/1.2 var(--serif); color: var(--ground); }
.unknowns li::before { content: "?"; display: inline-block; width: 1.5rem; color: var(--brass); font-family: var(--body); font-weight: 700; font-size: 1rem; }
@media (min-width: 768px) { .unknowns { grid-template-columns: repeat(4, 1fr); } .unknowns li { padding-left: 1rem; border-left: 1px solid rgba(246, 237, 220, .22); } .unknowns li:nth-child(4n+1) { padding-left: .25rem; border-left: 0; } }

/* ---------- admissions ---------- */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: .7rem 0 .7rem 2rem; border-bottom: 1px solid var(--hair); font-size: .98rem; }
.check-list li::before { content: ""; position: absolute; left: .15rem; top: 1.05rem; width: 14px; height: 14px; border: 1.5px solid var(--rose); border-radius: 2px; }
.enquiry-box { background: #FFFCF7; border: 1px solid var(--brass-d); padding: 1.6rem 1.3rem 1.4rem; box-shadow: 0 18px 34px -26px rgba(29, 26, 31, .5); }
.enq-title { font-size: 1.9rem; }
.enq-hi { color: var(--rose); margin: .25rem 0 .5rem; }
.enq-intro { font-size: .98rem; }
.field { margin-bottom: .25rem; }
.field label { display: block; font: 700 .86rem/1.3 var(--body); margin-bottom: .35rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: .7rem .8rem; background: #fff; color: var(--ink); border: 1.5px solid #6F5E68; border-radius: 3px; font: 400 1rem/1.4 var(--body); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--teal-d); outline-offset: 1px; border-color: var(--teal-d); }
.field [aria-invalid="true"] { border-color: var(--err); background: #FFF5F5; }
.hint { font-size: .8rem; color: var(--muted); margin: .3rem 0 0; }
.err { font-size: .84rem; font-weight: 700; color: var(--err); margin: .3rem 0 0; }
.err[hidden], .form-summary[hidden] { display: none; }
.form-summary { margin: 0 0 1rem; padding: .7rem .9rem; border: 1.5px solid var(--err); color: var(--err); background: #FFF5F5; font-weight: 700; font-size: .92rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1rem; }
.form-foot .small { margin: 0; font-size: .82rem; color: var(--muted); flex: 1 1 14rem; }
.form-result { margin-top: 1rem; font-weight: 700; }
.form-result.ok { padding: .8rem 1rem; background: #EAF5F3; border: 1.5px solid var(--teal-d); color: #1F4F4C; }
.form-result.bad { padding: .8rem 1rem; background: #FFF5F5; border: 1.5px solid var(--err); color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.faq-list { border-top: 1px solid var(--hair); }
.faq { border-bottom: 1px solid var(--hair); }
.faq summary { display: flex; align-items: center; gap: .9rem; padding: 1.05rem 0; cursor: pointer; list-style: none; font: 600 1.35rem/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq-mark { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid var(--rose); border-radius: 50%; color: var(--rose); transition: transform .25s, background-color .25s, color .25s; }
.faq-mark .ic { width: 16px; height: 16px; }
.faq[open] .faq-mark { transform: rotate(45deg); background: var(--rose); color: var(--ground); }
.faq-a { padding: 0 0 1.2rem 2.7rem; max-width: 40rem; }
@media (prefers-reduced-motion: reduce) { .faq-mark { transition: none; } }

/* ---------- classes page ---------- */
/* (shares .measures.full) */

/* ---------- school life ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 2rem; }
.g-btn { display: block; width: 100%; padding: 10px; background: #FFFCF7; border: 1px solid var(--brass-d); text-align: left; cursor: pointer; box-shadow: 0 16px 30px -22px rgba(29, 26, 31, .5); color: var(--ink); font: inherit; }
.g-btn img { width: 100%; }
.g-cap { display: block; padding: .6rem .2rem .1rem; font-size: .84rem; color: var(--muted); }
.g-btn:hover { background: var(--cream); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(12, 1fr); align-items: start; } .gal-room { grid-column: 1 / span 7; } .gal-reading { grid-column: 8 / span 5; margin-top: 4rem; } }
.expect { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--hair); }
.expect li { padding: 1.4rem 1.25rem 1.4rem 0; border-bottom: 1px solid var(--hair); }
.expect h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.expect p { font-size: .96rem; margin-bottom: .6rem; }
.tbc-chip { display: inline-block; padding: .05rem .5rem; border: 1px dashed var(--brass-d); font: 700 .72rem/1.6 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--brass-d); margin: 0 !important; }
@media (min-width: 768px) { .expect { grid-template-columns: repeat(3, 1fr); } .expect li:not(:nth-child(3n+1)) { padding-left: 1.5rem; border-left: 1px solid var(--hair); } }
.mt-4 { margin-top: 1.5rem; }
.lightbox { border: 0; padding: 1rem; background: var(--black); color: var(--ground); max-width: min(94vw, 1100px); width: 100%; }
.lightbox::backdrop { background: rgba(29, 26, 31, .82); }
.lb-bar { display: flex; justify-content: flex-end; margin-bottom: .6rem; }
.lb-img { width: 100%; max-height: 70vh; object-fit: contain; background: #111; }
.lb-cap { font-size: .86rem; margin: .7rem 0; color: #E9DCC0; }
.lb-nav { display: flex; justify-content: space-between; gap: .5rem; }
.lightbox button { display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: .4rem .9rem; background: transparent; color: var(--ground); border: 1.5px solid rgba(250, 246, 240, .7); border-radius: 3px; font: 700 .9rem/1 var(--body); cursor: pointer; }
.lightbox button:hover { background: var(--ground); color: var(--black); }

/* ---------- contact ---------- */
.addr-card { font-style: normal; padding: 1.4rem 0; border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); }
.addr-card .hi { color: var(--rose); }
.addr-line { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; }
.addr-line .ic { flex: none; margin-top: .3rem; color: var(--rose); }
.map-card { position: relative; min-height: 360px; background: var(--cream); border: 1px solid var(--brass-d); overflow: hidden; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-fallback { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-height: 360px; padding: 1.6rem; background-color: var(--cream); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='150'%3E%3Cg stroke='%23C69A3C' stroke-opacity='.25' stroke-width='1'%3E%3Cpath d='M0 40.5H160M0 50.5H160M0 60.5H160M0 70.5H160M0 80.5H160'/%3E%3C/g%3E%3C/svg%3E"); }
.map-name { font: 600 1.7rem/1.15 var(--serif); margin-bottom: .3rem; }
.map-addr { margin-bottom: 1rem; }
.map-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.map-card.loaded .map-fallback { position: absolute; left: 0; right: 0; bottom: 0; min-height: 0; padding: .75rem 1rem; background: var(--cream); background-image: none; border-top: 1px solid var(--brass-d); }
.map-card.loaded .map-name { font-size: 1.15rem; margin: 0; }
.map-card.loaded .map-addr { font-size: .84rem; margin: 0; }
.map-card.loaded .map-btns, .map-card.loaded .small { display: none; }

.prose h2 { font-size: 1.8rem; margin: 1.8rem 0 .5rem; }
.prose p { max-width: 40rem; }

/* ---------- footer, dock ---------- */
.foot { background: var(--black); color: #E6DAC2; padding: 0 0 3rem; }
.foot-staff { height: 49px; margin-bottom: 2.5rem; background: linear-gradient(rgba(198, 154, 60, .45), rgba(198, 154, 60, .45)) 0 0/100% 1px no-repeat, linear-gradient(rgba(198, 154, 60, .45), rgba(198, 154, 60, .45)) 0 12px/100% 1px no-repeat, linear-gradient(rgba(198, 154, 60, .45), rgba(198, 154, 60, .45)) 0 24px/100% 1px no-repeat, linear-gradient(rgba(198, 154, 60, .45), rgba(198, 154, 60, .45)) 0 36px/100% 1px no-repeat, linear-gradient(rgba(198, 154, 60, .45), rgba(198, 154, 60, .45)) 0 48px/100% 1px no-repeat; }
.foot a { color: #F3E7C8; }
.foot-logo { height: 62px; width: auto; max-width: 100%; margin-bottom: 1rem; }
.foot-hi { color: var(--brass); margin-bottom: .6rem; }
.foot-addr { font-size: .96rem; }
.foot-phone a { display: inline-flex; align-items: center; gap: .5rem; font: 600 1.5rem/1 var(--serif); text-decoration: none; }
.foot-h { font: 700 .72rem/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: .8rem; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin-bottom: .45rem; }
.foot-note { font-size: .86rem; line-height: 1.6; color: #D9CCB2; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; background: var(--black); border-top: 2px solid var(--brass); }
.dock a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 58px; color: var(--ground); font: 700 .78rem/1 var(--body); text-decoration: none; }
.dock .ic { color: var(--brass); }
body { padding-bottom: 60px; }
@media (min-width: 992px) { .dock { display: none; } body { padding-bottom: 0; } }
@media (min-width: 992px) { .hero { padding: 3rem 0 10.75rem; } }

h1, h2, h3, .g-v, .m-num, .reh-num, .pl-main, .map-name, .faq summary, .foot-phone a, .fl, .unknowns li, .n-title, .mv-name { font-variant-numeric: lining-nums; }

.foot a:hover, .sec-dark a:hover { color: #fff; }
.skip:hover, .dock a:hover, .band-cta a:hover { color: var(--ground); } .band-cta .btn-brass:hover { color: var(--black); } .band-cta .btn-ghost-light:hover { color: var(--rose-d); }
