/* Malhar Progressive Public School: "Learning in every season" (monsoon: rain, puddles, paper boats).
   Bootstrap 5.3.3 grid only; everything else is here. */
:root {
  --ground: #F3F6F4;
  --ink: #17232B;
  --slate: #4F6D7A;
  --slate-d: #3B5561;
  --rain: #3E8ED0;
  --rain-ink: #1F5F99;
  --leaf: #2E8B57;
  --leaf-ink: #23704A;
  --white: #FFFFFF;
  --yel: #F6C23E;
  --margin-red: #C8473F;
  --muted: #4A5A63;
  --line: #CBD7DC;
  --rule: #D5E4F0;
  --focus: #1F5F99;
  --display: "Prata", Georgia, "Times New Roman", serif;
  --body: "Spline Sans", "Segoe UI", system-ui, sans-serif;
  --r: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 1rem/1.6 var(--body); font-variant-numeric: lining-nums;
  caret-color: var(--rain-ink); accent-color: var(--slate);
}
@media (min-width: 992px) { body { font-size: 1.0625rem; } }
::selection { background: var(--yel); color: var(--ink); }
html { scrollbar-color: var(--slate) #DDE6E9; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--rain-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .band :focus-visible, .raga :focus-visible, .site-foot :focus-visible, .sheet :focus-visible, .act-bar :focus-visible { --focus: var(--yel); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem); line-height: 1.04; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; max-width: 68ch; }
.h-sm { font-size: 1.6rem; }
.lead { font-size: 1.15rem; line-height: 1.55; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.mt { margin-top: 2.2rem; }
.mt-s { margin-top: 1.2rem; }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yel); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.ic { width: 20px; height: 20px; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .7rem 1.25rem;
  border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1.2 var(--body); text-decoration: none;
  cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-yel { background: var(--yel); color: var(--ink); border-color: var(--yel); }
.btn-yel:hover { background: #FFD25C; }
.btn-glass { color: var(--white); border-color: rgba(255,255,255,.7); background: rgba(23,35,43,.18); }
.btn-glass:hover { background: rgba(23,35,43,.32); border-color: var(--white); }
.btn-line { color: var(--ink); border-color: var(--slate); background: transparent; }
.btn-line:hover { background: #E3ECEF; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #24343E; }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.75); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1.25rem; }
.link-arrow { font-weight: 600; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(243,246,244,.94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-head { background: rgba(243,246,244,.82); backdrop-filter: blur(10px) saturate(1.2); } }
.head-row { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand-t { display: flex; flex-direction: column; line-height: 1.1; }
.brand-n { font-family: var(--display); font-size: 1.2rem; }
.brand-s { font-size: .78rem; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
.main-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.nl { position: relative; display: block; padding: 1.35rem .7rem 1rem; color: var(--ink); text-decoration: none; font-weight: 500; }
.nl-drop { position: absolute; top: .35rem; left: 50%; width: 10px; height: 13px; margin-left: -5px; fill: var(--rain); opacity: 0;
  transform: translateY(-6px); transition: opacity .25s var(--ease), transform .35s var(--ease); }
.nl:hover .nl-drop { opacity: .45; transform: none; }
.nl[aria-current="page"] .nl-drop { opacity: 1; transform: none; }
.nl[aria-current="page"] span { box-shadow: inset 0 -2px var(--rain); }
.head-call { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border: 1.5px solid var(--slate); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; }
.head-call:hover { background: #E3ECEF; }
.menu-btn { display: none; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--slate); background: var(--white); color: var(--ink); font: 600 1rem var(--body); cursor: pointer; }
@media (max-width: 1199.98px) { .head-call span { display: none; } .head-call { padding: .6rem; } .nl { padding-inline: .5rem; } }
@media (max-width: 991.98px) {
  .main-nav, .head-call { display: none; }
  .menu-btn { display: inline-flex; }
  .brand-n { font-size: 1.08rem; }
}

/* umbrella sheet: a canopy that opens from the Menu button */
.sheet-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(23,35,43,.45); opacity: 0; transition: opacity .3s; }
.sheet-scrim.open { opacity: 1; }
.sheet { position: fixed; top: 0; left: 0; right: 0; z-index: 70; max-height: 100dvh; overflow-y: auto; padding-bottom: 28px;
  clip-path: circle(0% at calc(100% - 52px) 34px); transition: clip-path .5s var(--ease); }
.sheet.open { clip-path: circle(150% at calc(100% - 52px) 34px); }
.canopy { position: relative; background: var(--slate); color: var(--white); padding: 14px 20px 26px; }
.canopy::after { content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 22px;
  background: radial-gradient(ellipse 24px 22px at 24px 0, var(--slate) 98%, transparent 100%) 0 0 / 48px 22px repeat-x; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.sheet-t { font-family: var(--display); font-size: 1.3rem; }
.sheet-close { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .4rem .9rem; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.7); background: transparent; color: var(--white); font: 600 1rem var(--body); cursor: pointer; }
.sheet-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.sl { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; color: var(--white); text-decoration: none; font-family: var(--display); font-size: 1.65rem; border-bottom: 1px solid rgba(255,255,255,.18); }
.sl .nl-drop { position: static; margin: 0; opacity: .35; transform: none; fill: var(--white); width: 12px; height: 16px; }
.sl[aria-current="page"] .nl-drop { opacity: 1; fill: var(--yel); }
.sheet-acts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 .6rem; }
.sheet-note { font-size: .9rem; color: #E6EEF1; margin: 0; }
body.sheet-open { overflow: hidden; }

/* ---------- rain (one wind angle, seamless loop) ---------- */
.hero-rain, .win-rain, .band-rain, .raga-rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rain-fall { animation: fall 1.3s linear infinite; }
.win-rain .rain-fall { animation-duration: 1s; }
@keyframes fall { from { transform: translate(0, 0); } to { transform: translate(var(--dx), var(--dy)); } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--slate); color: var(--white); padding: 2.5rem 0 3.5rem; }
.hero-rain { opacity: .35; }
.hero .container { position: relative; z-index: 1; }
.hero-name { display: flex; flex-wrap: wrap; gap: .25rem .9rem; font-size: .95rem; font-weight: 500; color: #F1F5F6; margin-bottom: 1rem; }
.hero-name span[lang] { font-weight: 400; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { color: #F1F5F6; max-width: 34rem; }
.status { display: flex; align-items: center; gap: .55rem; font-size: .95rem; color: #E6EEF1; margin: 0; }
.status .open-txt { font-weight: 600; color: var(--white); }
.status.is-open .ic { color: #9BE3B6; }
.status-src { color: #EEF3F5; }
.window-wrap { position: relative; max-width: 420px; margin: 0 auto; padding-bottom: 1.6rem; }
.window { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 210px 210px 14px 14px / 160px 160px 14px 14px;
  box-shadow: 0 18px 40px -18px rgba(10,20,26,.6); background: var(--slate-d); }
.window img { width: 100%; height: 100%; object-fit: cover; }
.win-rain { opacity: .5; }
.puddle { position: relative; height: 104px; margin: -6px -8% 0; border-radius: 50%; overflow: hidden; background: #3F5D69; }
.reflect { position: absolute; top: 0; left: 6.9%; width: 86.2%; height: 100%; object-fit: cover; object-position: 50% 100%;
  transform: scaleY(-1); opacity: .75; filter: blur(1px) saturate(.85);
  -webkit-mask-image: linear-gradient(transparent 0%, #000 85%); mask-image: linear-gradient(transparent 0%, #000 85%); }
.ripples { position: absolute; inset: 0; width: 100%; height: 100%; }
.rp { fill: none; stroke: #DCEAF2; stroke-width: 1.4; transform-box: fill-box; transform-origin: center; opacity: 0; animation: ripple 3.6s var(--ease) infinite; }
.rp1 { animation-delay: .9s; } .rp2 { animation-delay: 1.8s; } .rp3 { animation-delay: 2.7s; }
@keyframes ripple { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.pb { position: absolute; width: 64px; height: auto; filter: drop-shadow(0 6px 4px rgba(10,25,32,.35)); animation: bob 4s ease-in-out infinite; }
.pb1 { left: 14%; top: 22px; }
.pb2 { left: 56%; top: 40px; width: 50px; animation-delay: -1.3s; }
.pb3 { left: 78%; top: 14px; width: 40px; animation-delay: -2.4s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(4px) rotate(3deg); } }
.cap { font-size: .8rem; color: #EEF3F5; text-align: center; margin: .6rem auto 0; }

/* ---------- facts strip ---------- */
.facts { padding: 2.5rem 0 1rem; }
.fact-row { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .fact-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .fact-row { grid-template-columns: 1fr 1fr 1fr 1.25fr; } }
.fact-slip { position: relative; display: flex; gap: .8rem; background: var(--white); border: 1px solid var(--line); border-radius: 6px 18px 6px 6px; padding: 1.1rem 1.1rem 1rem; }
.fact-slip::after { content: ""; position: absolute; top: -1px; right: -1px; width: 18px; height: 18px; background: linear-gradient(225deg, var(--ground) 50%, #DCE5E8 50%); border-bottom-left-radius: 4px; }
.fact-slip .ic { color: var(--slate); margin-top: .15rem; }
.fk { font-size: .85rem; font-weight: 600; color: var(--muted); margin: 0; }
.fv { font-weight: 600; margin: .1rem 0; }
.fv a { color: var(--ink); }
.fs { font-size: .88rem; color: var(--muted); margin: 0; }
.fact-slip.is-open .fs { color: var(--leaf-ink); font-weight: 600; }

/* placeholder: a ruled exercise-book slip with a red margin line */
.slip-tbc { position: relative; background:
    repeating-linear-gradient(to bottom, var(--white) 0, var(--white) 25px, var(--rule) 25px, var(--rule) 26px) 0 13px, var(--white);
  border: 1.5px dashed #8EA4AE; border-radius: 6px; padding: 13px 1rem 13px 2.2rem; margin: 0 0 1rem; line-height: 26px; }
.slip-tbc::before { content: ""; position: absolute; top: 0; bottom: 0; left: 22px; width: 2px; background: var(--margin-red); }
.slip-tbc p { line-height: 26px; }
.tbc-k { font-weight: 600; color: #8A3A33; margin: 0; font-size: .92rem; }
.tbc-v { margin: 0; }
.fact-tbc .slip-tbc { height: 100%; margin: 0; }

/* ---------- section scaffolding ---------- */
.sec { padding: 4rem 0; }
.sec-alt { background: #E6EDEF; }
.sec-lead { color: var(--muted); }
.fleet, .seasons, .steps-sec, .ask { padding: 4.5rem 0; }

/* ---------- paper boats (tabs on one water line) ---------- */
.boats { margin-top: 1.5rem; }
.water { display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem 2px 0; scrollbar-width: none; }
.water::-webkit-scrollbar { display: none; }
.bt { flex: 1 0 140px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: .5rem; min-height: 44px;
  padding: .4rem .3rem .9rem; border: 0; background: transparent; color: var(--ink); font: 600 .98rem/1.25 var(--body); cursor: pointer; text-align: center; }
.bt-boat { width: 116px; height: auto; transition: transform .45s var(--ease); filter: drop-shadow(0 6px 4px rgba(23,35,43,.18)); }
.bt:hover .bt-boat { transform: translateY(-3px) rotate(-2deg); }
.bt[aria-selected="true"] .bt-boat { transform: translateY(-10px) rotate(-4deg); }
.bt[aria-selected="true"] .b-sl, .bt[aria-selected="true"] .b-hull { fill: var(--yel); }
.bt[aria-selected="true"] .b-sr { fill: #E0AA2A; }
.bt[aria-selected="true"] .bt-t { box-shadow: inset 0 -3px var(--yel); }
.water-line { height: 18px; margin-top: -10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='18' viewBox='0 0 80 18'%3E%3Cpath d='M0 9c10 0 10-6 20-6s10 6 20 6 10-6 20-6 10 6 20 6' fill='none' stroke='%233E8ED0' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 50%; }
.bps { background: var(--white); border-radius: var(--r); padding: 1.5rem; margin-top: 1rem; border: 1px solid var(--line); }
.bp-photo { margin: 0; overflow: hidden; border-radius: 8px; aspect-ratio: 1; }
.bp-photo img { width: 100%; height: 100%; object-fit: cover; }
.bp-h { font-size: 1.7rem; }
.bp-hi { display: block; font-family: var(--body); font-size: 1rem; color: var(--muted); margin-top: .3rem; }
.bp-notice { color: var(--muted); }
.k { font-weight: 600; color: var(--ink); }

/* ---------- seasons (one April-to-March strip) ---------- */
.hi-line { color: var(--muted); font-size: 1.05rem; }
.season-strip { list-style: none; margin: 2rem 0 0; padding: 18px 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%);
  gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; position: relative; scrollbar-width: thin; }
.season-strip::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: var(--rain); min-width: 100%; }
@media (min-width: 576px) { .season-strip { grid-auto-columns: minmax(250px, 44%); } }
@media (min-width: 992px) { .season-strip { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; } }
.season { position: relative; scroll-snap-align: start; padding-bottom: .5rem; }
.season::before { content: ""; position: absolute; top: -17px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ground); border: 2px solid var(--rain); }
.season.is-now::before { background: var(--yel); border-color: var(--ink); }
.season-photo { margin: 0 0 .8rem; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; }
.season-photo img { width: 100%; height: 100%; object-fit: cover; }
.season-when { display: flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600; color: var(--rain-ink); margin: 0 0 .35rem; }
.season-ic { width: 18px; height: 18px; }
.now-tag { background: var(--yel); color: var(--ink); border-radius: 999px; padding: .05rem .55rem; font-size: .8rem; }
.season h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.season-hi { font-family: var(--body); font-size: .9rem; color: var(--muted); }
.season p { font-size: .95rem; }

/* ---------- admission drops ---------- */
.steps-sec { background: var(--white); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .steps-wide { grid-template-columns: repeat(4, 1fr); } }
.step h3 { margin: .6rem 0 .3rem; }
.step-drop { position: relative; display: inline-grid; place-items: center; width: 44px; height: 57px; }
.sd { position: absolute; inset: 0; width: 100%; height: 100%; fill: #2F78B7; }
.sd-n { position: relative; color: var(--white); font: 600 1.25rem var(--body); margin-top: 14px; }

/* ---------- enquiry page (ruled notebook) ---------- */
.page-note { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.4rem 1.4rem 1.4rem; }
@media (min-width: 768px) { .page-note { padding: 2rem 2rem 1.8rem 3.4rem; }
  .page-note::before { content: ""; position: absolute; top: 0; bottom: 0; left: 2.2rem; width: 2px; background: var(--margin-red); opacity: .7; } }
.note-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .4rem;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, var(--rule) 27px, var(--rule) 28px); }
.note-h { margin: 0; }
.note-boat { width: 78px; height: auto; flex: none; transform: rotate(-6deg); }
.note-sub { color: var(--muted); margin: .6rem 0 1.2rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .65rem .8rem; font: 400 1rem var(--body); color: var(--ink);
  background: #FBFCFC; border: 1.5px solid #8FA3AD; border-radius: 8px; }
.field textarea { min-height: 48px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(62,142,208,.45); outline-offset: 0; border-color: var(--rain-ink); }
.field input[aria-invalid="true"] { border-color: #B3261E; background: #FFF6F5; }
.field ::placeholder { color: #66757D; }
.hint { font-size: .85rem; color: var(--muted); margin: .3rem 0 0; }
.err { font-size: .88rem; color: #B3261E; font-weight: 600; margin: .3rem 0 0; }
.form-summary { border: 1.5px solid #B3261E; background: #FFF6F5; border-radius: 8px; padding: .8rem 1rem; margin-bottom: 1rem; color: #8C1D18; }
.form-summary ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.form-summary a { color: #8C1D18; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: 1.4rem; }
.form-foot p { margin: 0; }
.form-ok, .form-fail { display: flex; gap: .6rem; align-items: flex-start; margin: 1.2rem 0 0; padding: .9rem 1rem; border-radius: 8px; }
.form-ok { background: #E7F4EC; color: #1B5A3A; border: 1px solid #A8D5B9; }
.form-fail { background: #FFF6F5; color: #8C1D18; border: 1px solid #E6B3AE; }
.hp { position: absolute; left: -9999px; }

/* ---------- puddle FAQ (a ripple spreads when one opens) ---------- */
.puddles { border-top: 1px solid var(--line); }
.pud { border-bottom: 1px solid var(--line); }
.pud summary { display: flex; align-items: center; gap: .9rem; padding: 1rem 0; cursor: pointer; list-style: none; font-weight: 600; min-height: 48px; }
.pud summary::-webkit-details-marker { display: none; }
.pud-mark { position: relative; flex: none; width: 30px; height: 30px; }
.pud-mark::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--rain); transition: transform .3s var(--ease); }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--rain); transform: scale(.35); opacity: .55; }
.ring.r2 { opacity: 0; }
.pud[open] .pud-mark::before { transform: scale(.6); }
.pud[open] .ring { animation: ring .9s var(--ease) both; }
.pud[open] .ring.r2 { animation: ring 1.2s .15s var(--ease) both; }
@keyframes ring { 0% { transform: scale(.35); opacity: .9; } 100% { transform: scale(1); opacity: .35; } }
.pud p { margin: 0 0 1.1rem 2.8rem; color: var(--muted); }
.pud summary:hover .pud-q { text-decoration: underline; text-underline-offset: .2em; }

/* ---------- inner page band ---------- */
.band { position: relative; overflow: hidden; background: var(--slate); color: var(--white); padding: 2.5rem 0 3rem; }
.band-rain { opacity: .3; }
.band-in { position: relative; z-index: 1; }
.band h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); max-width: 18ch; }
.band .lead { color: #F1F5F6; max-width: 46rem; }
.band-hi { color: #E6EEF1; font-size: 1.1rem; margin: 0; }
.band-boat { position: absolute; right: 4%; bottom: -6px; width: 150px; height: auto; transform: rotate(-6deg); opacity: .95; }
@media (max-width: 767.98px) { .band-boat { width: 90px; right: 12px; bottom: -18px; } }
.crumbs { display: flex; gap: .5rem; font-size: .9rem; margin-bottom: 1rem; color: #E6EEF1; }
.crumbs a { color: var(--white); }

/* about */
.file { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; }
.file-list { margin: 0 0 1rem; }
.file-list div { display: grid; grid-template-columns: 7rem 1fr; gap: .6rem; padding: .6rem 0; border-bottom: 1px solid #E3EAED; }
.file-list dt { font-weight: 600; color: var(--muted); }
.file-list dd { margin: 0; }
.raga { position: relative; overflow: hidden; background: var(--ink); color: #EEF3F5; }
.raga .container { position: relative; z-index: 1; }
.raga-rain { opacity: .18; }
.raga .small { color: #C6D3D9; }
.raga-q { margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.5; color: var(--white); }
.raga-q p { margin: 0; }
.raga-tr { color: #C6D3D9; margin-top: .8rem; }

/* classes */
.stages { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .stages { grid-template-columns: repeat(4, 1fr); align-items: start; } }
.stage { position: relative; padding-top: 1rem; }
.stage-l { display: block; height: 14px; background: #A9CDEB; border-top: 3px solid var(--rain); margin-bottom: 1rem; }
@media (min-width: 768px) {
  .stage:nth-child(1) .stage-l { height: 24px; margin-top: 72px; } .stage:nth-child(2) .stage-l { height: 48px; margin-top: 48px; }
  .stage:nth-child(3) .stage-l { height: 72px; margin-top: 24px; } .stage:nth-child(4) .stage-l { height: 96px; }
}
.stage-tbc { font-size: .88rem; font-weight: 600; color: #8A3A33; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
caption { caption-side: top; text-align: left; padding: .9rem 1rem .4rem; font-size: .9rem; color: var(--muted); }
th, td { text-align: left; padding: .7rem 1rem; border-bottom: 1px solid #E3EAED; vertical-align: top; }
thead th { font-size: .9rem; color: var(--muted); }
.tbc-cell { color: #8A3A33; font-weight: 600; font-size: .92rem; }

/* admissions */
.doc-list { list-style: none; padding: 0; margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.doc-list li { border-bottom: 1px solid #E3EAED; }
.doc-list li:last-child { border-bottom: 0; }
.doc-list label { display: flex; gap: .8rem; align-items: flex-start; padding: .85rem 1rem; cursor: pointer; min-height: 48px; }
.doc-list input { width: 20px; height: 20px; margin-top: .15rem; flex: none; }
.doc-list input:checked + span { text-decoration: line-through; color: var(--muted); }

/* campus life */
.album { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .album { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .album { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; }
  .shot-0 { grid-row: span 2; } }
.shot-btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--slate-d); cursor: zoom-in; }
.shot-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (max-width: 991.98px) { .shot-btn img { aspect-ratio: 4 / 3; } }
.shot-btn:hover img { transform: scale(1.03); }
.shot-cap { position: absolute; left: .7rem; bottom: .7rem; display: inline-flex; align-items: center; gap: .4rem; background: rgba(23,35,43,.78); color: var(--white);
  padding: .35rem .7rem; border-radius: 999px; font-size: .88rem; font-weight: 500; }
.shot-ic { width: 16px; height: 16px; }
.exps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .exps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .exps { grid-template-columns: repeat(3, 1fr); } }
.exp { background: var(--white); border: 1.5px dashed #8EA4AE; border-radius: 8px; padding: 1.1rem 1.2rem; }
.exp h3 { font-size: 1.2rem; }
.exp p { margin: 0 0 .4rem; }
.exp-tbc { font-size: .88rem; font-weight: 600; color: #8A3A33; }
.notices { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.notice { background: var(--white); border: 1px solid var(--line); border-radius: 6px 18px 6px 6px; padding: 1rem 1.2rem; }
.notice-tag { display: inline-block; font-size: .8rem; font-weight: 600; background: #FFF1CC; color: #6B4E00; border-radius: 999px; padding: .1rem .6rem; margin-bottom: .4rem; }
.notice h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.notice p:last-child { margin: 0; color: var(--muted); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(960px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(15,24,30,.88); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; height: auto; max-height: 76vh; object-fit: contain; border-radius: 8px; background: #0F181E; }
.lightbox figcaption { color: #EEF3F5; padding: .6rem 0; }
.lb-bar { display: flex; gap: .6rem; justify-content: center; }
.lb-bar button { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.7);
  background: transparent; color: var(--white); font: 600 .95rem var(--body); cursor: pointer; }
.lightbox :focus-visible { --focus: var(--yel); }

/* contact */
.reach { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .7rem; }
.reach a { display: flex; gap: .9rem; align-items: center; padding: .9rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; }
.reach a:hover { border-color: var(--slate); }
.reach .ic { width: 26px; height: 26px; color: var(--slate); }
.status-light { display: flex; gap: .5rem; align-items: center; font-weight: 600; }
.status-light.is-open { color: var(--leaf-ink); }
.hours { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 1.4rem; }
.hours tr.today { background: #FFF6D9; }
.today-tag { font-weight: 400; color: var(--muted); font-size: .88rem; }
.map-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.map-fallback { padding: 1.5rem; }
.map-addr { display: flex; gap: .8rem; }
.map-addr .ic { color: var(--slate); width: 26px; height: 26px; }
.map-card iframe { display: block; width: 100%; height: 420px; border: 0; border-top: 1px solid var(--line); }

/* ---------- footer ---------- */
.site-foot { position: relative; background: var(--ink); color: #DCE6EA; padding: 3.5rem 0 6rem; }
@media (min-width: 992px) { .site-foot { padding-bottom: 2rem; } }
.foot-rain { position: absolute; top: 0; left: 0; right: 0; height: 26px;
  background: repeating-linear-gradient(100deg, transparent 0 22px, rgba(255,255,255,.18) 22px 23px); -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.foot-logo { width: 262px; height: auto; margin-bottom: .5rem; }
.foot-note { font-size: .85rem; color: #B9C8CF; }
.foot-line { display: flex; gap: .6rem; align-items: flex-start; }
.foot-line a, .site-foot a { color: var(--white); }
.foot-line .ic { margin-top: .2rem; color: var(--yel); }
.foot-h { font-family: var(--body); font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: .8rem; }
.foot-links { list-style: none; margin: 0; padding: 0; columns: 2; }
.foot-links li { margin-bottom: .45rem; }
.foot-small { font-size: .92rem; color: #C6D3D9; }
.foot-base { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2rem; padding-top: 1rem; font-size: .85rem; color: #B9C8CF; max-width: none; }

/* phone action bar */
.act-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--slate-d); border-top: 1px solid rgba(255,255,255,.15); padding-bottom: env(safe-area-inset-bottom); }
.act-bar a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .55rem 0 .6rem; color: var(--white); text-decoration: none; font-size: .85rem; font-weight: 600; min-height: 56px; }
.act-bar a + a { border-left: 1px solid rgba(255,255,255,.15); }
@media (min-width: 992px) { .act-bar { display: none; } }

/* ---------- phones ---------- */
@media (max-width: 575.98px) {
  .hero { padding: 1.8rem 0 2.5rem; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .window-wrap { max-width: 300px; }
  .sec, .fleet, .seasons, .steps-sec, .ask { padding: 3rem 0; }
  .bps { padding: 1rem; }
  .bt { flex-basis: 118px; }
  .bt-boat { width: 78px; }
  .file-list div { grid-template-columns: 1fr; gap: .1rem; }
}

/* ---------- reduced motion: rain stands still ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rp { opacity: .5; transform: scale(.9); }
  .rp1, .rp3 { opacity: 0; }
  .sheet { clip-path: none; }
}
@media print { .site-head, .act-bar, .site-foot, .hero-rain { display: none; } }
