/* Dolphin International School: "Make a splash". A pool seen from above: lanes, lane ropes, tiles, a diving board.
   Palette (pinned): ground #F2FAFC, ink #10283A, pool aqua #3CC4D9, lane red #E5484D, lane blue #1F5FBF,
   tile white #FFFFFF, sun yellow #FFD24A. Derived shades are marked. Fonts: Passion One + Ubuntu. */
:root {
  --ground: #F2FAFC;
  --ink: #10283A;
  --aqua: #3CC4D9;
  --red: #E5484D;
  --blue: #1F5FBF;
  --tile: #FFFFFF;
  --sun: #FFD24A;
  --grout: #D7EEF3;        /* derived: aqua tint for tile grout and hairlines */
  --ink-2: #3D5466;        /* derived: ink tint for secondary text (7.4:1 on ground) */
  --red-deep: #B3262B;     /* derived: lane red shade for error text (6.3:1 on white) */
  --night: #173650;        /* derived: ink tint for footer tile lines */
  --display: "Passion One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0 0 .5em; letter-spacing: .005em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding: 0; margin: 0; list-style: none; }
main { display: block; }
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.site-foot :focus-visible, .board :focus-visible, .entry-stub :focus-visible, .entry-head :focus-visible { outline-color: var(--sun); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: .7em 1.2em; border-radius: 999px; border: 2px solid var(--ink);
  font: 500 1rem/1.1 var(--body); text-decoration: none; cursor: pointer; transition: transform .18s ease, background-color .18s ease; }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn-sun:hover { color: var(--ink); transform: translateY(-2px); }
.btn-sun:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.btn-line { background: var(--tile); color: var(--ink); }
.btn-line:hover { background: var(--grout); color: var(--ink); }
.btn-big { font-size: 1.15rem; padding: .85em 1.5em; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- lane rope (decorative) ---------- */
.rope { height: 14px; background:
  radial-gradient(circle, var(--red) 0 5.5px, transparent 6px) 0 50% / 28px 14px repeat-x,
  radial-gradient(circle, var(--tile) 0 4px, var(--blue) 4.5px 6px, transparent 6.5px) 14px 50% / 28px 14px repeat-x,
  linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 2px no-repeat; }

/* ---------- header with lane-rope navigation ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: var(--tile); }
.head-row { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 46px; height: 46px; }
.brand-t { display: flex; flex-direction: column; line-height: 1; }
.brand-n { font-family: var(--display); font-size: 1.75rem; }
.brand-s { font-size: .82rem; font-weight: 500; color: var(--blue); }
.rope-nav { display: none; }
.rope-nav ul { position: relative; display: flex; gap: .35rem; align-items: center; padding: 0 .5rem; }
.rope-nav ul::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 14px; transform: translateY(-50%); z-index: 0;
  background: radial-gradient(circle, var(--red) 0 5px, transparent 5.5px) 0 50% / 24px 14px repeat-x,
    radial-gradient(circle, var(--tile) 0 3.5px, var(--blue) 4px 5.5px, transparent 6px) 12px 50% / 24px 14px repeat-x,
    linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 2px no-repeat; }
.float-link { position: relative; z-index: 1; display: inline-block; padding: .5rem .95rem; border-radius: 999px; background: var(--tile);
  border: 2px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; transition: background-color .18s ease, transform .18s ease; }
.float-link:hover { background: var(--grout); color: var(--ink); transform: translateY(-2px); }
.float-link[aria-current="page"] { background: var(--sun); }
.head-call { display: none; align-items: center; gap: .4rem; font-weight: 700; color: var(--ink); text-decoration: none; padding: .55rem .9rem; border-radius: 999px; background: var(--grout); }
.head-call:hover { background: var(--aqua); color: var(--ink); }
.menu-btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: .5rem 1rem; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--sun); color: var(--ink); font: 700 1rem var(--body); cursor: pointer; }
@media (min-width: 576px) { .head-call { display: inline-flex; } }
@media (min-width: 1100px) { .rope-nav { display: block; } .menu-btn { display: none; } }

/* ---------- ladder sheet (phones) ---------- */
.sheet-scrim { position: fixed; inset: 0; background: rgba(16, 40, 58, .55); z-index: 60; opacity: 0; transition: opacity .3s ease; }
.sheet-scrim.open { opacity: 1; }
.ladder { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; max-height: 88vh; overflow-y: auto; background: var(--aqua);
  border-top: 12px solid var(--tile); border-radius: 22px 22px 0 0; padding: 1rem 1.25rem 1.5rem; transform: translateY(100%); transition: transform .38s cubic-bezier(.2, .8, .25, 1); }
.ladder.open { transform: translateY(0); }
.ladder-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.ladder-t { font-family: var(--display); font-size: 1.9rem; }
.sheet-close { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: .4rem .9rem; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--tile); color: var(--ink); font: 500 1rem var(--body); cursor: pointer; }
.rungs { position: relative; padding: 0 22px; }
.rungs::before, .rungs::after { content: ""; position: absolute; top: -8px; bottom: -8px; width: 12px; border-radius: 6px; background: #E8F1F4; border: 2px solid var(--ink); }
.rungs::before { left: 0; } .rungs::after { right: 0; }
.rungs li + li { margin-top: .5rem; }
.rung { display: block; position: relative; z-index: 1; padding: .7rem 1rem; background: var(--tile); border: 2px solid var(--ink); border-radius: 10px;
  color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.6rem; line-height: 1; }
.rung[aria-current="page"] { background: var(--sun); }
.ladder-acts { display: grid; gap: .6rem; margin-top: 1.4rem; }
.ladder-acts .btn { justify-content: center; }
body.sheet-open { overflow: hidden; }

/* ---------- pool water (shared) ---------- */
.caustic { position: absolute; inset: -20%; pointer-events: none; opacity: .55;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, .55), transparent) 0 0 / 70px 46px,
    radial-gradient(closest-side, rgba(255, 255, 255, .4), transparent) 30px 20px / 110px 64px,
    radial-gradient(closest-side, rgba(255, 255, 255, .3), transparent) 60px 8px / 150px 90px;
  animation: shimmer 14s linear infinite alternate; }
.caustic.c2 { opacity: .35; animation-duration: 19s; animation-direction: alternate-reverse; background-size: 90px 52px, 130px 80px, 170px 110px; }
@keyframes shimmer { to { transform: translate(6%, 4%) rotate(2deg); } }

/* ---------- hero ---------- */
.hero { padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem); background:
  linear-gradient(var(--grout) 1px, transparent 1px) 0 0 / 34px 34px, linear-gradient(90deg, var(--grout) 1px, transparent 1px) 0 0 / 34px 34px, var(--tile); }
.deck h1 { margin-bottom: .6em; }
.h1-big { display: block; font-size: clamp(3.6rem, 10vw, 7.2rem); line-height: .86; }
.h1-small { display: block; margin-top: .35em; font: 500 clamp(1.1rem, 2vw, 1.35rem)/1.3 var(--body); color: var(--blue); }
.lead { font-size: 1.15rem; }
.hi { font-size: 1.05rem; color: var(--ink-2); }
.board-wrap { position: relative; padding-bottom: 26px; margin: 1.6rem 0 1.4rem; }
.diving-board { position: absolute; left: 0; bottom: 0; height: 14px; width: min(100%, 520px); border-radius: 4px 8px 8px 4px; background: var(--tile); border: 2px solid var(--ink); }
.diving-board::before { content: ""; position: absolute; left: 22px; top: 10px; width: 28px; height: 18px; background: var(--blue); border: 2px solid var(--ink); border-top: 0; border-radius: 0 0 6px 6px; }
.diving-board::after { content: ""; position: absolute; right: 18px; top: -2px; bottom: -2px; width: 3px; background: var(--red); }
@media (min-width: 992px) { .diving-board { width: calc(100% + 3rem); } }
.rating { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: 1rem; }
.rating .ic { color: var(--ink); fill: var(--sun); }

.pool { position: relative; border-radius: 28px; padding: clamp(40px, 7vw, 64px) clamp(18px, 4vw, 44px) clamp(36px, 6vw, 56px); border: 12px solid var(--tile);
  box-shadow: 0 0 0 2px var(--ink), inset 0 0 0 2px rgba(16, 40, 58, .25); isolation: isolate; }
.water { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; background: var(--aqua); z-index: -1; }
.lane-line { position: absolute; top: 10%; bottom: 10%; width: 10px; background: rgba(31, 95, 191, .45); border-radius: 2px; }
.lane-line::before, .lane-line::after { content: ""; position: absolute; left: -12px; width: 34px; height: 10px; background: inherit; }
.lane-line::before { top: 0; } .lane-line::after { bottom: 0; }
.l1 { left: 16%; } .l2 { left: 50%; } .l3 { left: 84%; }
.pool-rope { position: absolute; left: 0; right: 0; z-index: 1; }
.r1 { top: 18px; } .r2 { bottom: 16px; }
.poolside { position: relative; z-index: 2; margin: 0 auto; max-width: 440px; padding: 12px 12px 8px; border-radius: 16px; border: 2px solid var(--ink);
  background: linear-gradient(var(--grout) 2px, transparent 2px) 0 0 / 24px 24px, linear-gradient(90deg, var(--grout) 2px, transparent 2px) 0 0 / 24px 24px, var(--tile);
  transform: rotate(-1.2deg); }
.poolside img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 8px; }
.poolside figcaption, .tile-frame figcaption { font-size: .8rem; color: var(--ink-2); padding: .45rem .2rem 0; }
.mascot { position: absolute; z-index: 3; width: clamp(110px, 16vw, 170px); height: auto; right: -14px; top: -34px; transform-origin: 30% 80%;
  animation: bob 4.5s ease-in-out infinite; filter: drop-shadow(0 3px 0 rgba(16, 40, 58, .25)); }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-4deg); } }
.pool-note { font-size: .88rem; color: var(--ink-2); margin: .9rem 0 0; }

/* ---------- scoreboard ---------- */
.board { padding-top: 0; background: var(--tile); }
.sb-frame { background: var(--ink); color: var(--grout); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2.25rem); border: 6px solid var(--blue); box-shadow: 0 0 0 2px var(--ink); }
.sb-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 2rem; margin-bottom: 1rem; }
.sb-title { color: var(--sun); font-size: clamp(2rem, 4vw, 2.6rem); margin: 0; }
.sb-note { margin: 0; font-size: .92rem; }
.sb-grid { display: grid; grid-template-columns: 1fr; column-gap: 2.5rem; }
@media (min-width: 768px) { .sb-grid { grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(4, auto); } }
.sb-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: .9rem; padding: .7rem 0; border-bottom: 2px dashed #2B4A60; }
.sb-lane { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--aqua); color: var(--ink); font: 400 1.5rem var(--display); }
.sb-k { font-weight: 500; }
.sb-v { display: inline-flex; align-items: center; gap: .55rem; font: 400 clamp(1.9rem, 3.4vw, 2.4rem)/1 var(--display); color: var(--sun); }
.is-tbc .sb-v { color: var(--tile); }
.lamp { width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(229, 72, 77, .35); }

/* ---------- section heads, placeholders ---------- */
.sec-head { margin-bottom: 1.5rem; }
.sec-head h2 { margin: 0; }
.sec-lead { color: var(--ink-2); }
.tbc-note { margin: 0 0 1.2rem; padding: .9rem 1.1rem; border: 2px dashed var(--blue); border-radius: 12px; background: var(--tile); font-size: .97rem; }
.tbc-k { font-weight: 700; color: var(--blue); }
.tbc-lamp { display: inline-block; margin-left: .4rem; padding: 0 .45rem; border-radius: 6px; border: 2px dashed var(--red-deep); color: var(--red-deep); font-size: .82rem; font-weight: 700; }

/* ---------- lanes ---------- */
.lanes { background: var(--ground); }
.lane { padding: 1.6rem 0 0; }
.lane-rope { margin-top: 1.8rem; }
.lane:last-child .lane-rope { display: none; }
.lane-text { display: flex; gap: 1.1rem; align-items: flex-start; }
.block { flex: none; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 12px 12px 4px 4px; border: 2px solid var(--ink);
  font: 400 2.6rem/1 var(--display); box-shadow: 0 6px 0 var(--ink); }
.lane-red .block { background: var(--red); color: var(--tile); }
.lane-blue .block { background: var(--blue); color: var(--tile); }
.lane-aqua .block { background: var(--aqua); color: var(--ink); }
.lane-sun .block { background: var(--sun); color: var(--ink); }
.lane-h { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: .3em; }
.lane-home { font-size: .97rem; color: var(--ink-2); }
.lane-k { font-weight: 700; color: var(--ink); }
.lane-photo { margin: 0; }
.lane-photo img, .tile-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; border: 8px solid var(--tile); box-shadow: 0 0 0 2px var(--ink); }
@media (min-width: 768px) { .lane:nth-child(even) .row { flex-direction: row-reverse; } }

/* ---------- stands (reviews) ---------- */
.stands { background:
  linear-gradient(var(--grout) 1px, transparent 1px) 0 0 / 34px 34px, linear-gradient(90deg, var(--grout) 1px, transparent 1px) 0 0 / 34px 34px, var(--tile); }
.q-big { margin: 0 0 1.5rem; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--sun); border: 2px solid var(--ink); border-radius: 18px; }
.q-big blockquote { margin: 0; }
.q-big p { font: 500 clamp(1.3rem, 2.4vw, 1.7rem)/1.35 var(--body); margin-bottom: .6em; }
.q-big figcaption, .q-small figcaption { font-size: .92rem; color: var(--ink-2); }
.q-big figcaption { color: var(--ink); }
.q-row { display: grid; gap: 1rem; }
@media (min-width: 768px) { .q-row { grid-template-columns: 1fr 1fr; } }
.q-small { margin: 0; padding: 1rem 1.1rem; background: var(--tile); border: 2px solid var(--ink); border-radius: 14px; }
.q-small blockquote { margin: 0; }
.q-small p { font-size: 1.1rem; font-weight: 500; margin-bottom: .4em; }
.tally { background: var(--ink); color: var(--grout); border-radius: 18px; padding: 1.6rem; }
.tally .rating { color: var(--tile); font-size: 1.1rem; margin-bottom: 1.2rem; }
.tally .rating .ic { color: var(--sun); }
.tally .muted { color: #B8CBD6; }
.tally a { color: var(--sun); }
.tally-h { font-weight: 700; color: var(--tile); margin-bottom: .7rem; }
.topics { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.topics li { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem; border-radius: 999px; background: #1C3D55; color: var(--tile); font-size: .95rem; }
.float-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.t-n { font-family: var(--display); font-size: 1.2rem; color: var(--sun); }

/* ---------- entry card (swim meet form) ---------- */
.meet { background: var(--aqua); position: relative; overflow: hidden; }
.meet::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, transparent calc(50% - 5px), rgba(31, 95, 191, .35) calc(50% - 5px) calc(50% + 5px), transparent calc(50% + 5px)) 0 0 / 260px 100%; pointer-events: none; }
.entry { position: relative; display: grid; gap: 0; max-width: 1080px; margin: 0 auto; }
@media (min-width: 992px) { .entry { grid-template-columns: 1fr 280px; } }
.entry-card { background: var(--tile); border: 2px solid var(--ink); border-radius: 20px 20px 0 0; overflow: hidden; }
@media (min-width: 992px) { .entry-card { border-radius: 20px 0 0 20px; } }
.entry-head { background: var(--blue); color: var(--tile); padding: 1.4rem 1.6rem 1.2rem; border-bottom: 2px solid var(--ink);
  background-image: linear-gradient(90deg, var(--red) 0 33%, var(--tile) 33% 66%, var(--sun) 66%); background-size: 100% 8px; background-repeat: no-repeat; background-position: 0 100%; }
.entry-h { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 .15em; color: var(--tile); }
.entry-sub { margin: 0 0 .5rem; color: #E7F0FF; }
.enquiry { padding: 1.4rem 1.6rem 1.6rem; }
.field label { display: flex; align-items: center; gap: .5rem; font-weight: 500; margin-bottom: .35rem; }
.lane-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--aqua); font: 400 1.05rem var(--display); color: var(--ink); }
.opt { color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .65rem .8rem; border: 2px solid #7E95A5; border-radius: 10px; background: var(--tile);
  color: var(--ink); font: 400 1.0625rem var(--body); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(31, 95, 191, .25); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--red-deep); background: #FFF6F6; }
.hint { font-size: .86rem; color: var(--ink-2); margin: .3rem 0 0; }
.err { font-size: .9rem; color: var(--red-deep); font-weight: 500; margin: .3rem 0 0; }
.hp { position: absolute; left: -9999px; }
.form-summary { margin-bottom: 1rem; padding: .9rem 1rem; border: 2px solid var(--red-deep); border-radius: 10px; color: var(--red-deep); background: #FFF6F6; }
.form-summary ul { list-style: disc; padding-left: 1.2rem; margin-top: .3rem; }
.form-summary a { color: var(--red-deep); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.3rem; }
.form-foot p { margin: 0; }
.form-ok, .form-fail { display: flex; gap: .5rem; align-items: flex-start; margin: 1rem 0 0; padding: .9rem 1rem; border-radius: 10px; }
.form-ok { background: #E6F7EE; border: 2px solid #1E7A47; color: #14532F; }
.form-fail { background: #FFF6F6; border: 2px solid var(--red-deep); color: var(--red-deep); }
.entry-stub { position: relative; background: var(--ink); color: var(--grout); padding: 1.6rem; border: 2px solid var(--ink); border-top: 3px dashed var(--grout); border-radius: 0 0 20px 20px; }
@media (min-width: 992px) { .entry-stub { border-top: 2px solid var(--ink); border-left: 3px dashed var(--grout); border-radius: 0 20px 20px 0; } }
.stub-h { font: 400 1.9rem/1 var(--display); color: var(--sun); }
.stub-list { counter-reset: s; }
.stub-list li { counter-increment: s; position: relative; padding-left: 2.4rem; margin-bottom: .9rem; }
.stub-list li::before { content: counter(s); position: absolute; left: 0; top: -.1rem; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--aqua); color: var(--ink); font: 400 1.2rem var(--display); }
.stub-call { margin: 1.2rem 0 0; }
.stub-call a { color: var(--sun); font-weight: 700; }

/* ---------- enamel poolside signs ---------- */
.plates { display: grid; gap: .7rem; margin-bottom: 1.4rem; }
.plate { position: relative; display: grid; gap: .1rem; padding: .85rem 1.1rem .8rem 1.4rem; background: var(--tile); border: 2px solid var(--ink); border-radius: 10px;
  box-shadow: inset 0 0 0 4px var(--tile), inset 0 0 0 6px var(--blue); }
.plate::before, .plate::after { content: ""; position: absolute; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: #9DB3C2; }
.plate::before { left: 9px; } .plate::after { right: 9px; }
.plate-k { font-size: .85rem; font-weight: 500; color: var(--blue); }
.plate-v { font: 400 1.45rem/1.3 var(--display); }
.plate-v a { color: var(--ink); }
.plate-s { font-size: .78rem; color: var(--ink-2); }
.plate.tbc { box-shadow: inset 0 0 0 4px var(--tile), inset 0 0 0 6px var(--red); }
.plate.tbc .plate-k { color: var(--red-deep); }
.plate.tbc .plate-v::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: .45rem; border-radius: 50%; background: var(--red); vertical-align: .1em; }

/* ---------- visit + map ---------- */
.visit { background: var(--ground); }
.map-card { position: relative; border-radius: 18px; overflow: hidden; border: 2px solid var(--ink); background:
  linear-gradient(var(--grout) 2px, transparent 2px) 0 0 / 30px 30px, linear-gradient(90deg, var(--grout) 2px, transparent 2px) 0 0 / 30px 30px, var(--tile); }
.map-fallback { padding: 1.6rem; }
.map-addr { display: flex; gap: .7rem; font-size: 1.05rem; }
.map-addr .ic { color: var(--blue); margin-top: .2rem; }
.map-card iframe { display: block; width: 100%; height: 420px; border: 0; border-top: 2px solid var(--ink); }

/* ---------- FAQ (dive in) ---------- */
.faq-home, .faq-sec { background: var(--tile); }
.faq-item { border-bottom: 2px solid var(--grout); }
.faq-q { margin: 0; font: inherit; }
.faq-q button { width: 100%; display: flex; align-items: center; gap: .8rem; padding: 1.05rem .2rem; background: none; border: 0; text-align: left; cursor: pointer;
  font: 500 1.12rem/1.35 var(--body); color: var(--ink); }
.faq-q button:hover { color: var(--blue); }
.dive { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--aqua); border: 2px solid var(--ink); }
.faq-ic { margin-left: auto; transition: transform .25s ease; }
.faq-q [aria-expanded="true"] .faq-ic { transform: rotate(45deg); }
.faq-q [aria-expanded="true"] .dive { background: var(--sun); }
.faq-a { padding: 0 .2rem 1.1rem 2.2rem; }
.faq-a p { margin: 0; }

/* ---------- inner page band ---------- */
.band { position: relative; padding: clamp(2.4rem, 6vw, 4.5rem) 0 0; isolation: isolate; overflow: hidden; }
.band-water { position: absolute; inset: 0 0 14px; background: var(--aqua); z-index: -1; overflow: hidden; border-bottom: 12px solid var(--tile); }
.band-in { padding-bottom: clamp(2rem, 4vw, 3rem); }
.band h1 { font-size: clamp(2.8rem, 7vw, 5rem); max-width: 16ch; }
.band .lead { max-width: 60ch; }
.band-hi { font-size: 1.05rem; }
.crumbs { display: flex; gap: .5rem; font-size: .92rem; margin-bottom: 1rem; }
.crumbs a { color: var(--ink); }
.band-rope { position: relative; }

/* ---------- about ---------- */
.story { background: var(--tile); }
.mt-h { margin-top: 1.4rem; }
.tile-frame { margin: 0; }
.values { background: var(--ground); }
.podium { counter-reset: p; display: grid; gap: .6rem; }
.podium li { display: flex; align-items: center; gap: 1rem; padding: .7rem 1rem; background: var(--tile); border: 2px solid var(--ink); border-radius: 12px; }
.pod-n { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: var(--aqua); font: 400 2rem var(--display); }
.podium li:first-child .pod-n { background: var(--sun); }
.facts { background: var(--tile); }
.facts-sub { font-size: 1.5rem; }
.why-pool { background: var(--aqua); }
.why-in { display: grid; gap: 1.5rem; align-items: center; }
.why-in .mascot { position: static; width: 170px; animation: none; }
@media (min-width: 768px) { .why-in { grid-template-columns: 200px 1fr; } }

/* ---------- classes ---------- */
.cls-tbc { background: var(--tile); }
.lane-map { background: var(--ground); }
.vlanes { display: grid; gap: 0; border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--aqua); }
.vl { position: relative; padding: 1.3rem 1.3rem 1.5rem 4.6rem; border-bottom: 14px solid transparent; background:
  radial-gradient(circle, var(--red) 0 5px, transparent 5.5px) 0 100% / 26px 14px repeat-x, var(--aqua); }
.vl:last-child { border-bottom: 0; background: var(--aqua); }
.vl h3 { margin-bottom: .25em; }
.vl p { margin: 0; }
.vl-n { position: absolute; left: 1.1rem; top: 1.2rem; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; border: 2px solid var(--ink);
  background: var(--tile); font: 400 1.8rem var(--display); }
@media (min-width: 992px) {
  .vlanes { grid-template-columns: repeat(5, 1fr); }
  .vl { padding: 5rem 1.2rem 1.6rem; border-bottom: 0; border-right: 14px solid transparent; min-height: 320px;
    background: radial-gradient(circle, var(--red) 0 5px, transparent 5.5px) 100% 0 / 14px 26px repeat-y, var(--aqua); }
  .vl:last-child { border-right: 0; }
  .vl-n { left: 1.2rem; top: 1.2rem; }
}
.ages { background: var(--tile); }
.age-table, .hours { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.age-table th, .age-table td, .hours th, .hours td { text-align: left; padding: .7rem .6rem; border-bottom: 2px solid var(--grout); }
.age-table thead th { font-family: var(--display); font-weight: 400; font-size: 1.25rem; border-bottom: 3px solid var(--ink); }
.ask-list { margin-bottom: 1.4rem; }
.ask-list li { position: relative; padding: .45rem 0 .45rem 2rem; }
.ask-list li::before { content: ""; position: absolute; left: 0; top: .85rem; width: 16px; height: 16px; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); }

/* ---------- admissions ---------- */
.heats-sec { background: var(--tile); }
.heats { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .heats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .heats { grid-template-columns: repeat(4, 1fr); } }
.heat { padding: 1.3rem; border: 2px solid var(--ink); border-radius: 14px; background: var(--ground); }
.heat-n { display: inline-block; padding: .1rem .6rem; border-radius: 999px; border: 2px solid var(--ink); font: 400 1.15rem var(--display); background: var(--blue); color: var(--tile); margin-bottom: .6rem; }
.heat:nth-child(2) .heat-n { background: var(--red-deep); } .heat:nth-child(3) .heat-n { background: var(--aqua); color: var(--ink); } .heat:nth-child(4) .heat-n { background: var(--sun); color: var(--ink); }
.heat p { margin: 0; }
.docs { background: var(--ground); }
.doc-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .5rem 0; border-bottom: 2px solid var(--grout); }
.doc-list .ic { color: var(--blue); margin-top: .2rem; }
.sign-big { position: relative; padding: 2rem; background: var(--tile); border: 3px solid var(--ink); border-radius: 16px; box-shadow: inset 0 0 0 6px var(--tile), inset 0 0 0 9px var(--red); }
.sb-tag { display: inline-block; font: 400 2.4rem var(--display); color: var(--ink); }
.sign-big p { font-size: 1.15rem; margin: .3rem 0 0; }

/* ---------- campus ---------- */
.expect { background: var(--tile); }
.exp-list { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.exp { display: grid; gap: .3rem 1.5rem; padding: 1.1rem 0; border-bottom: 2px solid var(--grout); }
@media (min-width: 768px) { .exp { grid-template-columns: 240px 1fr auto; align-items: baseline; } }
.exp h3 { margin: 0; font-size: 1.55rem; }
.exp p { margin: 0; }
.exp-tag { justify-self: start; font-size: .82rem; font-weight: 700; color: var(--red-deep); border: 2px dashed var(--red-deep); border-radius: 6px; padding: .1rem .5rem; }
.gallery { background: var(--aqua); }
.gallery .sec-lead { color: var(--ink); }
.shots { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .shots { grid-template-columns: 1fr 1fr; } }
.shot { position: relative; display: block; width: 100%; padding: 8px; border: 2px solid var(--ink); border-radius: 14px; background: var(--tile); cursor: zoom-in; text-align: left; font: inherit; color: var(--ink); }
.shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.shot-cap { display: block; padding: .5rem .2rem .1rem; font-weight: 500; }
.shot-ic { position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); }
.lightbox { border: 0; padding: 0; max-width: min(94vw, 960px); width: 100%; background: transparent; }
.lightbox::backdrop { background: rgba(16, 40, 58, .85); }
.lightbox figure { margin: 0; background: var(--tile); padding: 10px; border-radius: 14px; }
.lightbox img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 8px; }
.lightbox figcaption { padding: .6rem .3rem .2rem; font-size: .95rem; }
.lb-ctrl { display: flex; gap: .6rem; justify-content: center; margin-top: .8rem; }
.lb-ctrl button { display: inline-flex; align-items: center; gap: .35rem; min-height: 46px; min-width: 46px; justify-content: center; padding: .4rem .9rem; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--sun); color: var(--ink); font: 500 1rem var(--body); cursor: pointer; }
.notices { background: var(--ground); }
.notice-list { display: grid; gap: 1rem; }
@media (min-width: 768px) { .notice-list { grid-template-columns: repeat(3, 1fr); } }
.notice { position: relative; padding: 1.4rem 1.2rem 1.2rem; background: var(--tile); border: 2px solid var(--ink); border-radius: 10px; box-shadow: inset 0 0 0 4px var(--tile), inset 0 0 0 6px var(--blue); }
.notice h3 { font-size: 1.45rem; }
.notice p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.n-tag { display: inline-block; margin-bottom: .5rem; padding: .05rem .55rem; border-radius: 6px; background: var(--sun); border: 2px solid var(--ink); font-weight: 700; font-size: .82rem; }

/* ---------- contact ---------- */
.contact-sec { background: var(--tile); }
.reach { display: grid; gap: .6rem; margin-bottom: 1.4rem; }
.reach-a { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border: 2px solid var(--ink); border-radius: 12px; background: var(--ground); color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.reach-a:hover { background: var(--grout); color: var(--ink); }
.reach-a .ic { color: var(--blue); }
.hours caption { caption-side: bottom; text-align: left; font-size: .86rem; color: var(--ink-2); padding-top: .6rem; }
.hours tr.today th, .hours tr.today td { background: #FFF3C4; }
.today-tag { font-weight: 400; color: var(--ink-2); }
.prose-sec { background: var(--tile); }
.prose h2 { font-size: 2rem; margin-top: 1.2rem; }
.lost { display: flex; flex-wrap: wrap; gap: .6rem; }
.lost a { display: inline-block; padding: .55rem 1rem; border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none; background: var(--ground); }

/* ---------- footer ---------- */
.site-foot { background:
  linear-gradient(var(--night) 1px, transparent 1px) 0 0 / 34px 34px, linear-gradient(90deg, var(--night) 1px, transparent 1px) 0 0 / 34px 34px, var(--ink);
  color: var(--grout); padding: 0 0 2rem; }
.foot-rope { margin-bottom: 2.6rem; background-color: var(--tile); }
.foot-logo { width: 250px; height: auto; margin-bottom: .4rem; }
.foot-note { font-size: .82rem; color: #B8CBD6; }
.foot-line { display: flex; gap: .6rem; align-items: flex-start; }
.foot-line .ic { color: var(--aqua); margin-top: .2rem; }
.site-foot a { color: var(--tile); }
.site-foot a:hover { color: var(--sun); }
.foot-h { font-size: 1.6rem; color: var(--sun); }
.foot-links li { padding: .2rem 0; }
.foot-small { font-size: .92rem; }
.foot-base { margin: 2rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--night); font-size: .86rem; color: #B8CBD6; max-width: none; }

/* ---------- quick action bar (phones) ---------- */
.act-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); border-top: 4px solid var(--aqua); }
.act-bar a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .55rem .2rem .6rem; color: var(--tile); text-decoration: none; font-size: .86rem; font-weight: 500; }
.act-bar a:last-child { background: var(--sun); color: var(--ink); }
body { padding-bottom: 66px; }
@media (min-width: 992px) { .act-bar { display: none; } body { padding-bottom: 0; } }

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