/* Kins Convent School: "Built to last" (art deco). Tokens first; Bootstrap 5.3.3 grid supplies container/row/col only. */
:root {
  --stone: #F3EFE6;        /* limestone ground */
  --stone-2: #E9E2D3;      /* deeper stone for alternate sections */
  --paper: #FAF7F0;        /* plaque and form face */
  --ink: #1B2430;
  --teal: #0E5E6F;
  --teal-deep: #0B4D5B;
  --brass: #A88450;        /* rules, rays, frames (decorative) */
  --brass-text: #6B5229;   /* brass-coloured text on stone, 6.4:1 (4.9:1 on the cornerstone) */
  --brass-light: #E9DCC0;  /* brass-coloured text on teal, 5.4:1 */
  --brass-glow: #C9A774;   /* brass on ink, 6.9:1 */
  --coral: #C95B3E;        /* decorative coral */
  --coral-btn: #B04A2F;    /* coral action with white text, 5.4:1 */
  --coral-btn-hover: #963D25;
  --mist: #B9D3D8;         /* small text on teal, 4.7:1 */
  --muted: #5A6470;
  --line: #D8CDB7;
  --field: #8B7D66;
  --ring: var(--teal);
  --display: "Limelight", "Poiret One", Georgia, serif;
  --body: "Josefin Sans", "Century Gothic", "Avenir Next", "Segoe UI", sans-serif;
  --hindi: "Noto Sans Devanagari", "Mangal", "Kohinoor Devanagari", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; scrollbar-color: var(--brass) var(--stone); }
body {
  margin: 0; background: var(--stone); color: var(--ink);
  font-family: var(--body); font-size: 1.125rem; line-height: 1.6; font-weight: 400;
  font-variant-numeric: lining-nums; caret-color: var(--teal);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
:lang(hi) { font-family: var(--hindi); }
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); }
::selection { background: var(--teal); color: var(--stone); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 400; color: var(--teal); font-size: clamp(1.85rem, 3.4vw, 2.75rem); letter-spacing: .01em; }
h3 { font-family: var(--body); font-weight: 700; font-size: 1.2rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.facade, .band, .site-foot, .sheet, .adm-tiers, .marquee-sec, .lightbox { --ring: #F2C14E; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--stone); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
.skip:hover { color: #fff; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.center-note { text-align: center; margin-top: 2rem; }
.container.narrow { max-width: 820px; }
.text-link { font-weight: 700; color: var(--teal); }

/* ---------- stepped brass rules: the spine ---------- */
.steps-rule {
  height: 14px; background:
    linear-gradient(var(--brass), var(--brass)) center bottom / 100% 1px no-repeat,
    linear-gradient(var(--brass), var(--brass)) center 7px / 34% 2px no-repeat,
    linear-gradient(var(--brass), var(--brass)) center 1px / 10% 3px no-repeat;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: 13px 24px 10px; border: 2px solid transparent; border-radius: 0;
  font: 700 1rem/1.2 var(--body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn .ic { margin-top: -3px; }
.btn-coral { background: var(--coral-btn); color: #fff; box-shadow: inset 0 0 0 3px var(--coral-btn), inset 0 0 0 4px rgba(255, 255, 255, .45); }
.btn-coral:hover { background: var(--coral-btn-hover); color: #fff; box-shadow: inset 0 0 0 3px var(--coral-btn-hover), inset 0 0 0 4px rgba(255, 255, 255, .45); }
.btn-coral[disabled] { opacity: .7; cursor: progress; }
.btn-line-light { border-color: var(--brass-light); color: var(--stone); background: transparent; }
.btn-line-light:hover { background: rgba(243, 239, 230, .1); color: #fff; }
.btn-line { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-line:hover { background: var(--teal); color: var(--stone); }
.btn-teal { background: var(--teal); color: var(--stone); }
.btn-teal:hover { background: var(--teal-deep); color: #fff; }
.acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 1.5rem 0 1rem; }

/* ---------- header: centred deco bar ---------- */
.site-head { background: var(--stone); position: relative; z-index: 20; }
.deco-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 14px 0 8px; }
.nav-side { display: flex; gap: 6px 26px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-l { justify-content: flex-end; }
.nav-r { justify-content: flex-start; }
.nav-side a {
  display: inline-block; padding: 10px 2px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.02rem;
  background:
    linear-gradient(var(--brass), var(--brass)) center bottom / 0 2px no-repeat;
  transition: background-size .25s var(--ease), color .2s;
}
.nav-side a:hover { color: var(--teal); background-size: 100% 2px; }
.nav-side a[aria-current="page"] {
  color: var(--teal);
  background:
    linear-gradient(var(--brass), var(--brass)) center bottom / 100% 2px no-repeat,
    linear-gradient(var(--brass), var(--brass)) center calc(100% - 5px) / 50% 2px no-repeat;
}
.nav-side a.nav-call { display: inline-flex; gap: 8px; align-items: center; color: var(--teal); font-weight: 700; background: none;
  border: 2px solid var(--teal); padding: 9px 14px 7px; }
.nav-side a.nav-call:hover { background: var(--teal); color: var(--stone); }
.crest-link { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: var(--ink); }
.crest-link img { width: 52px; height: 52px; display: block; }
.crest-name { font-weight: 700; font-size: .9rem; letter-spacing: .04em; white-space: nowrap; }
.m-call, .menu-btn { display: none; }
@media (max-width: 991.98px) {
  .nav-side { display: none; }
  .deco-bar { grid-template-columns: 48px 1fr 48px; gap: 10px; padding: 10px 0 6px; }
  .crest-link { flex-direction: row; justify-content: center; grid-column: 2; gap: 10px; }
  .crest-link img { width: 40px; height: 40px; }
  .crest-name { font-size: .95rem; }
  .m-call, .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 2px solid var(--teal); background: transparent; color: var(--teal); border-radius: 0; padding: 0; cursor: pointer;
  }
  .m-call { grid-column: 1; grid-row: 1; }
  .menu-btn { grid-column: 3; grid-row: 1; flex-direction: column; gap: 0; font: 700 .72rem/1 var(--body); letter-spacing: .02em; }
  .menu-btn .ic { width: 20px; height: 20px; }
}
@media (max-width: 359.98px) { .crest-name { font-size: .82rem; } }

/* ---------- menu sheet (phones) ---------- */
.sheet-scrim { position: fixed; inset: 0; background: rgba(27, 36, 48, .55); z-index: 40; opacity: 0; transition: opacity .3s; }
.sheet-scrim.open { opacity: 1; }
.sheet {
  position: fixed; inset: 0; z-index: 50; background: var(--teal); color: var(--stone); overflow-y: auto;
  padding: 18px 24px 32px; display: flex; flex-direction: column;
  transform: translateY(-102%); transition: transform .38s var(--ease);
}
.sheet.open { transform: none; }
.sheet::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background: linear-gradient(var(--brass), var(--brass)) center top / 100% 2px no-repeat,
              linear-gradient(var(--brass), var(--brass)) center 6px / 40% 2px no-repeat; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet-name { font-weight: 700; letter-spacing: .04em; color: var(--brass-light); }
.sheet-close { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px; background: transparent;
  color: var(--stone); border: 2px solid var(--brass-light); font: 700 1rem var(--body); cursor: pointer; }
.sheet-sun { position: absolute; left: 50%; bottom: 0; width: 160%; transform: translateX(-50%); color: var(--brass); opacity: .22; pointer-events: none; }
.sheet-links { list-style: none; margin: 28px 0 20px; padding: 0; text-align: center; position: relative; }
.sheet-links a { display: block; padding: 10px 0; font-family: var(--display); font-size: 2rem; color: var(--stone); text-decoration: none; }
.sheet-links a[aria-current="page"] { color: #F2C14E; }
.sheet-acts { display: grid; gap: 10px; position: relative; max-width: 420px; width: 100%; margin: 0 auto; }
.sheet-hours { text-align: center; margin-top: 18px; color: var(--brass-light); position: relative; }
body.sheet-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-scrim { transition: opacity .2s; transform: none; } .sheet { opacity: 0; } .sheet.open { opacity: 1; } }

/* ---------- hero: the entrance façade ---------- */
.facade {
  --fw: clamp(250px, 27vw, 380px);
  position: relative; overflow: hidden; color: var(--stone); text-align: center;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 22px);
  background-color: var(--teal);
  padding: 34px 0 40px;
}
.entrance { display: grid; grid-template-columns: 1fr var(--fw) 1fr; grid-template-rows: auto auto; column-gap: clamp(20px, 3vw, 44px); align-items: center; }
.ent-h1 { grid-column: 1 / -1; grid-row: 1 / 3; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; margin: 0; font-family: var(--display); font-weight: 400; }
.np {
  grid-column: 1 / -1; grid-row: 1; display: flex; align-items: center; justify-content: center; gap: 18px;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem); color: var(--brass-light); letter-spacing: .03em; margin-bottom: 18px;
}
.np::before, .np::after { content: ""; width: clamp(40px, 9vw, 140px); height: 7px;
  background: linear-gradient(var(--brass), var(--brass)) top / 100% 1px no-repeat, linear-gradient(var(--brass), var(--brass)) bottom / 60% 2px no-repeat; }
.np::after { background: linear-gradient(var(--brass), var(--brass)) top / 100% 1px no-repeat, linear-gradient(var(--brass), var(--brass)) bottom left / 60% 2px no-repeat; }
.np::before { background: linear-gradient(var(--brass), var(--brass)) top / 100% 1px no-repeat, linear-gradient(var(--brass), var(--brass)) bottom right / 60% 2px no-repeat; }
.np { position: relative; z-index: 2; }
.half { grid-row: 2; font-size: clamp(2.3rem, 4.4vw, 4.4rem); line-height: 1.02; color: var(--stone); position: relative; z-index: 2; white-space: nowrap; align-self: center; margin-bottom: 6%; }
.conn { display: block; font-family: var(--body); font-weight: 600; font-size: clamp(1rem, 1.4vw, 1.3rem); letter-spacing: .08em; color: var(--brass-light); margin-bottom: .35em; }
.hl { grid-column: 1; text-align: right; }
.hr { grid-column: 3; text-align: left; }
.zwrap { grid-column: 2; grid-row: 2; position: relative; z-index: 1; }
.hero-sun {
  position: absolute; left: 50%; bottom: 46%; width: 260%; transform: translateX(-50%); color: var(--brass); opacity: .42;
  pointer-events: none; z-index: -1; transform-origin: 50% 100%;
  animation: sunrise 1.6s var(--ease) both;
}
@keyframes sunrise { from { opacity: .12; transform: translateX(-50%) scale(.86); } to { opacity: .42; transform: translateX(-50%) scale(1); } }
.zframe { margin: 0; position: relative; aspect-ratio: 820 / 1067; }
.zframe::before { content: ""; position: absolute; inset: -9px; background: var(--brass);
  -webkit-mask: url(/assets/zig.svg) 0 0 / 100% 100% no-repeat; mask: url(/assets/zig.svg) 0 0 / 100% 100% no-repeat; }
.zframe::after { content: ""; position: absolute; inset: -4px; background: var(--teal);
  -webkit-mask: url(/assets/zig.svg) 0 0 / 100% 100% no-repeat; mask: url(/assets/zig.svg) 0 0 / 100% 100% no-repeat; }
.zframe img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask: url(/assets/zig.svg) 0 0 / 100% 100% no-repeat; mask: url(/assets/zig.svg) 0 0 / 100% 100% no-repeat; }
.ent-hi { margin: 22px 0 6px; color: var(--brass-light); font-size: 1.15rem; }
.facts-line { list-style: none; padding: 0; margin: 14px 0 4px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; font-weight: 700; font-size: 1.15rem; }
.facts-line li { display: inline-flex; align-items: center; }
.facts-line li + li::before { content: ""; width: 7px; height: 7px; background: var(--brass); transform: rotate(45deg); margin: 0 16px 3px; }
.facts-src { font-size: .92rem; color: var(--brass-light); margin: 0; }
.hours-line { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 4px 8px; margin: 4px 0 0; font-weight: 600; font-size: 1rem; }
.hours-line .src { color: var(--mist); font-weight: 400; }
.hours-line .dot { width: 10px; height: 10px; background: var(--brass-light); transform: rotate(45deg); margin-right: 4px; }
.hours-line.is-open .dot { background: #8FE3B0; }
.hours-line.is-closed .dot { background: #F2A48E; }
.hours-line.on-light { justify-content: flex-start; color: var(--ink); }
.hours-line.on-light .src { color: var(--muted); }
.hours-line.on-light.is-open .dot { background: #1F8A4C; }
.hours-line.on-light.is-closed .dot { background: var(--coral-btn); }
.stock-note { margin: 18px 0 0; font-size: .82rem; color: var(--mist); }
@media (max-width: 767.98px) {
  .facade { --fw: min(52vw, 230px); padding: 22px 0 30px; }
  .entrance { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .ent-h1 { grid-column: 1; grid-row: 2; display: block; margin-top: 18px; }
  .np { font-size: 1.15rem; margin-bottom: 8px; gap: 12px; }
  .np::before, .np::after { width: 28px; }
  .half { display: inline; font-size: clamp(1.9rem, 8.8vw, 2.5rem); white-space: normal; }
  .conn { display: inline; font-size: max(.55em, 1rem); letter-spacing: .04em; margin: 0; }
  .zwrap { grid-column: 1; grid-row: 1; width: var(--fw); margin: 8px auto 0; }
  .hero-sun { width: 300%; }
  .ent-hi { margin-top: 10px; font-size: 1rem; }
  .facts-line { font-size: .95rem; column-gap: 14px; }
  .facts-line li { white-space: nowrap; }
  .facts-line li::before, .facts-line li + li::before { content: ""; width: 6px; height: 6px; background: var(--brass); transform: rotate(45deg); margin: 0 8px 3px 0; }
  .acts { gap: 10px; margin: 1.1rem 0 .8rem; }
  .acts .btn-coral { flex: 1 1 100%; }
  .acts .btn-line-light { flex: 1 1 calc(50% - 5px); padding-left: 8px; padding-right: 8px; font-size: .95rem; white-space: nowrap; gap: .45rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-sun { animation: none; } * { scroll-behavior: auto !important; } }

/* ---------- section heads ---------- */
section { position: relative; }
.plaques, .stages-home, .life, .voices, .visit, .enquire, .story, .ledger-sec, .cornerstone, .zig-sec, .pattern, .subjects,
.adm-info, .faq, .expect, .gallery, .reach { padding: clamp(64px, 8vw, 104px) 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 2.5rem; }
.sec-head .fan { width: 64px; height: 24px; color: var(--brass); display: block; margin: 0 auto 14px; }
.sec-head h2 { margin-bottom: .35em; }
.sec-sub { color: var(--muted); max-width: 62ch; margin: 0 auto; }
.sec-head.on-dark h2 { color: var(--stone); }
.sec-head.on-dark .sec-sub { color: var(--brass-light); }
.adm-tiers .sec-head h2 { color: var(--stone); }
.adm-tiers .sec-sub { color: var(--brass-light); }
.story .sec-head, .life .sec-head { text-align: left; margin-left: 0; margin-bottom: 1.25rem; }
.story .sec-head .fan, .life .sec-head .fan { margin-left: 0; }
.story .sec-head + .tbc { margin-bottom: 3rem; }

/* ---------- placeholders ---------- */
.tbc { border: 2px dashed var(--brass); background: rgba(168, 132, 80, .08); padding: 14px 18px 12px; margin: 0 0 1em; }
.tbc-k { display: block; font-weight: 700; color: var(--brass-text); font-size: .95rem; margin-bottom: 2px; }

/* ---------- plaques ---------- */
.plaque-row { list-style: none; padding: 0; margin-bottom: 0; }
.plaque {
  height: 100%; text-align: center; padding: 26px 16px 18px; background: var(--paper);
  border: 2px solid var(--brass); box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px var(--brass);
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
}
.pl-val { font-family: var(--display); font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.2; margin: 0; color: var(--ink); }
.pl-src { margin: 0; font-size: .86rem; color: var(--brass-text); font-weight: 600; padding-top: 10px;
  background: linear-gradient(var(--brass), var(--brass)) center top / 40px 1px no-repeat; }
.plaque.blank { background: transparent; border-style: dashed; box-shadow: none; }
.plaque.blank .pl-val { color: var(--muted); }
.plaque.wide { max-width: 680px; margin: 0 auto; padding: 32px 28px 24px; }

/* ---------- ziggurat of stages ---------- */
.stages-home { background: var(--stone-2); }
.ziggurat { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 900px; }
.ziggurat .tier, .ztab { width: var(--w); }
.t0 { --w: 46%; } .t1 { --w: 62%; } .t2 { --w: 80%; } .t3 { --w: 100%; }
.tier a, .ztab {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 18px 24px 14px; background: var(--teal); color: var(--stone); text-decoration: none;
  border-top: 3px solid var(--brass); transition: background-color .2s var(--ease);
}
.tier a:hover { background: var(--teal-deep); color: #fff; }
.t-cls { font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.45rem); }
.t-name { font-weight: 600; color: var(--brass-light); }
.ziggurat .t3 a, .ztab.t3 { background: var(--teal-deep); }
@media (max-width: 575.98px) { .t0 { --w: 70%; } .t1 { --w: 80%; } .t2 { --w: 90%; } .t3 { --w: 100%; } .tier a, .ztab { padding: 14px 14px 10px; } }

.ztabs { align-items: center; }
.ztab { font: inherit; border-left: 0; border-right: 0; border-bottom: 0; cursor: pointer; text-align: left; position: relative; }
.ztab:hover { background: var(--teal-deep); }
.ztab[aria-selected="true"] { background: var(--ink); color: var(--stone); border-top-color: #F2C14E; }
.ztab[aria-selected="true"] .t-name { color: var(--brass-glow); }
.zpanel h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--teal); margin-top: 1rem; }
.zpanel:focus-visible { outline-offset: 8px; }

/* ---------- marquee notice board ---------- */
.marquee-sec { background: var(--ink); color: var(--stone); padding: clamp(64px, 8vw, 104px) 0; }
.marquee { position: relative; border: 2px solid var(--brass); padding: 56px clamp(20px, 4vw, 48px) 34px; }
.marquee::before {
  content: ""; position: absolute; inset: 8px; pointer-events: none;
  background:
    radial-gradient(circle, #F5D98B 0 3px, rgba(245, 217, 139, .25) 3.5px 5px, transparent 5.5px) top left / 26px 14px repeat-x,
    radial-gradient(circle, #F5D98B 0 3px, rgba(245, 217, 139, .25) 3.5px 5px, transparent 5.5px) bottom left / 26px 14px repeat-x,
    radial-gradient(circle, #F5D98B 0 3px, rgba(245, 217, 139, .25) 3.5px 5px, transparent 5.5px) top left / 14px 26px repeat-y,
    radial-gradient(circle, #F5D98B 0 3px, rgba(245, 217, 139, .25) 3.5px 5px, transparent 5.5px) top right / 14px 26px repeat-y;
}
.marquee-sign { text-align: center; margin-bottom: 2rem; }
.marquee-sign h2 { display: inline-block; color: #F5D98B; margin: 0; padding: 10px 28px 6px; border-top: 2px solid var(--brass); border-bottom: 2px solid var(--brass); }
.notices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.notices li { padding-top: 16px; border-top: 1px solid rgba(201, 167, 116, .5); }
.notices h3 { color: var(--stone); margin: 10px 0 6px; }
.notices p { color: #C9CED6; margin: 0; font-size: 1rem; }
.sample { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--brass-glow); border: 1px dashed var(--brass-glow); padding: 3px 8px 1px; }
.marquee-note { text-align: center; color: var(--brass-glow); font-size: .9rem; margin: 2rem 0 0; }
@media (max-width: 991.98px) { .notices { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 767.98px) { .marquee { padding: 52px 30px 36px; } .marquee::before { inset: 7px; } }

/* ---------- admission tiers ---------- */
.adm-tiers { background: var(--teal); color: var(--stone); padding: clamp(64px, 8vw, 104px) 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; }
.step { background: var(--stone); color: var(--ink); padding: 22px 20px 18px; border-top: 6px solid var(--brass); }
.step.s1 { min-height: 250px; } .step.s2 { min-height: 300px; } .step.s3 { min-height: 350px; } .step.s4 { min-height: 400px; }
.step-n { display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--teal); margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; }
.step p { font-size: 1rem; margin: 0; }
.adm-tiers .center-note a { color: var(--stone); }
@media (max-width: 991.98px) {
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .step { min-height: 0 !important; }
  .step.s2 { margin-left: 16px; } .step.s3 { margin-left: 32px; } .step.s4 { margin-left: 48px; }
  .step-n { font-size: 2rem; }
}

/* ---------- photos ---------- */
.deco-photo { margin: 0; }
.deco-photo img { display: block; width: 100%; border: 2px solid var(--brass); padding: 6px; background: var(--paper); }
.duo img { filter: grayscale(1) sepia(.35) hue-rotate(145deg) saturate(1.6) brightness(.98); }
.plate { font-size: .85rem; color: var(--brass-text); margin: 8px 0 0; }
.plate span { font-weight: 700; }

/* ---------- visit ---------- */
.visit { background: var(--stone-2); }
.addr-plaque { background: var(--paper); border: 2px solid var(--brass); box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px var(--brass); padding: 28px 26px 22px; margin-bottom: 24px; }
.ap-k { font-weight: 700; color: var(--brass-text); font-size: .9rem; margin: 0 0 2px; }
.addr-plaque address { font-family: var(--display); font-size: 1.35rem; line-height: 1.3; margin-bottom: 14px; }
.addr-plaque p a { font-weight: 700; font-size: 1.2rem; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font-weight: 700; padding-bottom: 8px; color: var(--teal); }
.hours th, .hours td { text-align: left; padding: 9px 12px 7px; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { font-weight: 600; }
.hours tr.today th, .hours tr.today td { background: var(--teal); color: var(--stone); }
.map-card { position: relative; min-height: 380px; border: 2px solid var(--brass); background: var(--paper); }
.map-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 376px; padding: 28px; }
.mf-name { font-family: var(--display); font-size: 1.5rem; color: var(--teal); }
.map-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card.loaded .map-fallback { visibility: hidden; }

/* ---------- form ---------- */
.form-frame { max-width: 920px; margin: 0 auto; background: var(--paper); border: 2px solid var(--brass);
  box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 7px var(--brass), 0 18px 40px -24px rgba(27, 36, 48, .35);
  padding: clamp(28px, 5vw, 56px); }
.ff-head { text-align: center; margin-bottom: 28px; }
.ff-head .fan { width: 64px; height: 24px; color: var(--brass); }
.ff-head p { color: var(--muted); max-width: 56ch; margin: 0 auto; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.hint-line { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px 9px; font: 400 1.05rem var(--body); color: var(--ink);
  background: #fff; border: 1.5px solid var(--field); border-radius: 0;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field input::placeholder { color: #6A7380; }
.field [aria-invalid="true"] { border-color: var(--coral-btn); border-width: 2px; }
.err { color: #9E3B22; font-weight: 600; font-size: .92rem; margin: 6px 0 0; }
.form-summary { border: 2px solid var(--coral-btn); background: #FBEDE8; padding: 14px 18px; margin-bottom: 20px; font-weight: 600; }
.form-summary ul { margin: 6px 0 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.fine { font-size: .9rem; color: var(--muted); margin: 0; }
.form-ok, .form-fail { margin: 18px 0 0; padding: 14px 18px; font-weight: 600; }
.form-ok { background: #E3F1EA; border: 2px solid #1F7A4C; }
.form-ok .ic { color: #1F7A4C; vertical-align: -3px; }
.form-fail { background: #FBEDE8; border: 2px solid var(--coral-btn); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- inner page band ---------- */
.band { background: var(--teal); color: var(--stone); text-align: center; padding: 30px 0 56px; overflow: hidden; }
.band-sun { position: absolute; left: 50%; bottom: 0; width: min(1100px, 180%); transform: translateX(-50%); color: var(--brass); opacity: .28; pointer-events: none; }
.band .container { position: relative; }
.crumbs { font-size: .9rem; color: var(--brass-light); margin-bottom: 18px; }
.crumbs a { color: var(--stone); }
.band h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5.2vw, 3.9rem); margin-bottom: .2em; }
.band-hi { color: var(--brass-light); font-size: 1.15rem; margin-bottom: .6em; }
.band-sub { max-width: 60ch; margin: 0 auto; }

/* ---------- about ---------- */
.stone { position: relative; text-align: center; padding: 40px 28px 34px;
  background:
    radial-gradient(rgba(27, 36, 48, .05) 1px, transparent 1.5px) 0 0 / 7px 7px,
    radial-gradient(rgba(255, 255, 255, .6) 1px, transparent 1.5px) 3px 4px / 11px 11px,
    #DCD3C1;
  border: 2px solid var(--brass); box-shadow: inset 0 0 0 8px #DCD3C1, inset 0 0 0 9px var(--brass-text), 0 16px 30px -22px rgba(27, 36, 48, .5); }
.stone-name { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--ink); }
.stone-line { font-weight: 700; letter-spacing: .03em; margin: 0 0 4px; }
.stone-blank { margin: 18px 0 0; font-family: var(--display); font-size: 1.25rem; }
.gap { display: inline-block; font-family: var(--body); font-size: .95rem; color: var(--brass-text); border-bottom: 2px dashed var(--brass); padding: 0 8px; }
.stone-note { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.ledger-sec { background: var(--stone-2); }
.table-wrap { overflow-x: auto; }
.ledger { width: 100%; border-collapse: collapse; background: var(--paper); border: 2px solid var(--brass); }
.ledger th, .ledger td { text-align: left; padding: 13px 16px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger thead th { color: var(--teal); background: var(--stone); border-bottom: 2px solid var(--brass); }
.ledger tbody th { font-weight: 700; }
.ledger .src { color: var(--brass-text); font-size: .95rem; }
.tbc-cell { color: var(--brass-text); font-weight: 600; }

/* ---------- admissions ---------- */
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { display: flex; gap: 12px; padding: 12px 0 9px; border-bottom: 1px solid var(--line); }
.doc-list .ic { color: var(--teal); margin-top: 2px; }
.faq { background: var(--stone-2); }
.faq-list { border-top: 2px solid var(--brass); }
.faq-i { border-bottom: 1px solid var(--brass); }
.faq-i summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px 14px; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary h3 { margin: 0; font-size: 1.1rem; }
.faq-i summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg) translateY(-4px); transition: transform .2s var(--ease); }
.faq-i[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-i p { padding: 0 2px 18px; margin: 0; max-width: 65ch; }

/* ---------- campus life ---------- */
.expect-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--brass); }
.expect-list li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0 11px; border-bottom: 1px solid var(--line); }
.ex-name { font-weight: 600; }
.expect-list li::after { content: ""; order: 1; flex: 1; border-bottom: 2px dotted var(--brass); transform: translateY(-4px); }
.ex-tag { order: 2; font-size: .85rem; font-weight: 700; color: var(--brass-text); border: 1px dashed var(--brass); padding: 3px 8px 1px; white-space: nowrap; }
.gallery { background: var(--stone-2); }
.g-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.g-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-btn img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 2px solid var(--brass); padding: 5px; background: var(--paper); transition: border-color .2s; }
.g-btn:hover img { border-color: var(--teal); }
@media (max-width: 767.98px) { .g-grid { grid-template-columns: 1fr 1fr; gap: 14px; } }
.lightbox { border: 2px solid var(--brass); padding: 16px; background: var(--ink); color: var(--stone); max-width: min(960px, 94vw); }
.lightbox::backdrop { background: rgba(27, 36, 48, .86); }
.lightbox figure { margin: 0; }
.lightbox img { display: block; max-height: 74vh; width: auto; margin: 0 auto; }
.lightbox figcaption { color: var(--brass-glow); font-size: .95rem; margin-top: 10px; text-align: center; }
.lb-acts { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.lb-acts button { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 16px; background: transparent; color: var(--stone); border: 2px solid var(--brass-glow); font: 700 1rem var(--body); cursor: pointer; }
.lb-acts button:hover { background: rgba(243, 239, 230, .1); }

/* ---------- contact ---------- */
.reach { padding-bottom: 24px; }
.reach-row { list-style: none; padding: 0; margin-bottom: 0; }
.reach-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 26px 16px 20px; height: 100%;
  background: var(--paper); border: 2px solid var(--brass); color: var(--ink); text-decoration: none; transition: background-color .2s, color .2s; }
.reach-tile .ic { width: 28px; height: 28px; color: var(--teal); }
.rt-k { font-weight: 700; }
.rt-v { font-family: var(--display); font-size: 1.3rem; color: var(--teal); }
.reach-tile:hover { background: var(--teal); color: var(--stone); }
.reach-tile:hover .ic, .reach-tile:hover .rt-v { color: var(--stone); }

.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }

/* ---------- footer ---------- */
.site-foot { background: var(--teal); color: var(--stone); padding: 0 0 28px; margin-top: 0; }
.foot-crown { height: 30px; background:
  linear-gradient(var(--teal), var(--teal)) center 0 / 30% 10px no-repeat,
  linear-gradient(var(--teal), var(--teal)) center 10px / 56% 10px no-repeat,
  linear-gradient(var(--teal), var(--teal)) center 20px / 80% 10px no-repeat,
  var(--stone); }
.enquire + .site-foot .foot-crown, .site-foot .foot-crown { margin-bottom: 48px; }
.foot-logo { width: 300px; height: auto; display: block; margin-bottom: 8px; }
.foot-hi { color: var(--brass-light); margin-bottom: 14px; }
.site-foot a { color: var(--stone); }
.site-foot a:hover { color: #fff; }
.foot-h { font-family: var(--body); font-weight: 700; font-size: 1rem; color: var(--brass-light); margin-bottom: 10px; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { padding: 3px 0; }
.foot-links a { display: inline-block; padding: 4px 0; }
.foot-small { color: var(--mist); font-size: .9rem; }
.foot-base { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(233, 220, 192, .35); font-size: .88rem; color: var(--mist); }
.foot-base p { margin-bottom: 6px; }
.today-tag { font-weight: 400; font-size: .9em; }

/* ---------- refinements after the first look ---------- */
.ztabs .ztab { flex-direction: column; align-items: flex-start; gap: 2px; }
.ztabs .t0 { --w: 64%; } .ztabs .t1 { --w: 76%; } .ztabs .t2 { --w: 88%; } .ztabs .t3 { --w: 100%; }
.ztabs .t-cls { white-space: nowrap; }
.cornerstone + .story { padding-top: 0; }
.pattern { background: var(--stone-2); }
.adm-tiers.alt { background: var(--stone-2); color: var(--ink); --ring: var(--teal); }
.adm-tiers.alt .sec-head h2 { color: var(--teal); }
.adm-tiers.alt .sec-sub { color: var(--muted); }
.adm-tiers.alt .step { background: var(--teal); color: var(--stone); }
.adm-tiers.alt .step-n { color: var(--brass-light); }
