/* ==========================================================================
   Delhi Public School, Parsabad — design system
   Tokens first, then base, layout, components, pages. Plain CSS, no build step.
   ========================================================================== */

:root {
  /* Colour */
  --forest: #075a32;        /* primary — academic green */
  --forest-deep: #04402a;   /* footer, top bar */
  --leaf: #16834a;          /* secondary — fresh green */
  --leaf-soft: #e6f2eb;
  --gold: #c99a1e;          /* torch flame accent, used sparingly */
  --gold-bright: #f0c855;
  --gold-soft: #fbf3dc;
  --ink: #16251c;
  --slate: #4c5d53;
  --line: #dbe3de;
  --mist: #f4f6f4;          /* very light neutral */
  --white: #ffffff;
  --danger: #b42318;
  --danger-soft: #fdecea;

  /* Type */
  --font-serif: 'Literata', Georgia, 'Times New Roman', serif;
  --font-sans: 'Mukta', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Space + shape */
  --gutter: 16px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-1: 0 1px 2px rgba(7, 64, 42, 0.06), 0 2px 8px rgba(7, 64, 42, 0.06);
  --shadow-2: 0 8px 28px rgba(7, 64, 42, 0.16);
  --nav-h: 56px;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--forest); line-height: 1.2; margin: 0 0 0.5em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.85rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 1.95rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--leaf); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
main:focus { outline: none; }
address { font-style: normal; }
code { font-size: 0.9em; background: var(--mist); padding: 0.1em 0.35em; border-radius: var(--radius-sm); }
button { font: inherit; color: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--slate); }

.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons + links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 6px; border: 1.5px solid transparent;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn--primary { background: var(--forest); color: var(--white); }
.btn--primary:hover { background: var(--leaf); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--forest); border-color: var(--forest); }
.btn--secondary:hover { background: var(--leaf-soft); color: var(--forest); }
.btn--light { background: var(--white); color: var(--forest); }
.btn--light:hover { background: var(--leaf-soft); color: var(--forest); }
.btn--gold { background: var(--gold-bright); color: var(--ink); }
.btn--gold:hover { background: #f6d77f; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--forest); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0;
  color: var(--forest); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(7,90,50,.35);
  text-underline-offset: 4px; cursor: pointer; font-size: 1rem;
}
.text-link:hover { color: var(--leaf); text-decoration-color: currentColor; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--white); color: var(--forest); cursor: pointer;
}
.icon-btn:hover { border-color: var(--forest); }

/* ---------- Status markers (honest placeholders) ---------- */
.pending {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 9px; border-radius: var(--radius-sm);
  background: var(--gold-soft); color: #6f5200; border: 1px dashed #d4b04b;
  font-size: 0.875rem; font-weight: 500; line-height: 1.5; font-family: var(--font-sans);
}
.draft-marker {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px;
  padding: 1px 9px; border-radius: var(--radius-sm); border: 1px dashed #9fb0a6;
  color: var(--slate); font-size: 0.8125rem; font-weight: 500; background: var(--white);
}
.sample-badge {
  display: inline-block; padding: 0 8px; border-radius: var(--radius-sm); background: #fde8d7; color: #8a3a00;
  font-size: 0.8125rem; font-weight: 600; margin-left: 6px;
}
.tag { display: inline-block; padding: 0 9px; border-radius: 999px; background: var(--leaf-soft); color: var(--forest); font-size: 0.8125rem; font-weight: 600; }
.tag--light { background: var(--white); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--forest-deep); color: rgba(255,255,255,.88); font-size: 0.9rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; flex-wrap: wrap; }
.topbar__list { display: flex; flex-wrap: wrap; gap: 4px 22px; list-style: none; margin: 0; padding: 6px 0; }
.topbar__list a, .topbar__timings { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar__list a:hover { color: var(--gold-bright); }
.topbar__cbse { color: rgba(255,255,255,.75); }
.topbar__announce { color: var(--gold-bright); font-weight: 600; }
@media (max-width: 760px) {
  .topbar__cbse { display: none; }
  .topbar__list { gap: 2px 16px; font-size: 0.85rem; }
}

.site-header { background: var(--white); position: relative; z-index: 60; }
.brandrow { border-bottom: 1px solid var(--line); background: var(--white); }
.brandrow__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.logo { border-radius: 50%; flex-shrink: 0; background: var(--white); }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: var(--font-serif); font-weight: 700; color: var(--forest); font-size: 1.55rem; line-height: 1.1; letter-spacing: -0.015em; }
.brand__place { color: var(--slate); font-size: 0.98rem; margin-top: 3px; }
.brandrow__actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; align-items: center; gap: 6px; height: 46px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 6px; background: var(--white); color: var(--forest);
  font-weight: 600; cursor: pointer;
}

/* Desktop nav row (sticky) */
.navrow { background: var(--forest); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.nav { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; flex-wrap: nowrap; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 5px; height: var(--nav-h); padding: 0 15px;
  color: var(--white); background: none; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 500; white-space: nowrap; position: relative;
}
.nav__item:first-child .nav__link { padding-left: 0; }
.nav__link::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--gold-bright); transform: scaleX(0); transition: transform .18s ease;
}
.nav__item:first-child .nav__link::after { left: 0; }
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--white); background: rgba(255,255,255,.07); }
.nav__link.is-active::after, .nav__link[aria-current='page']::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--white); }
.nav__chev { transition: transform .18s; opacity: .85; }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }
.nav__link:focus-visible { outline-offset: -3px; }

.dropdown, .flyout {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 250px;
  background: var(--white); border-radius: 0 0 var(--radius) var(--radius); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-2); z-index: 70;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility 0s .16s;
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .16s, transform .16s; }
.nav__item:last-child .dropdown { left: auto; right: 0; }
.dropdown__item > a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 0.98rem; line-height: 1.35;
}
.dropdown__item > a:hover, .dropdown__item > a:focus-visible { background: var(--mist); color: var(--forest); }
.dropdown__item > a.is-active { color: var(--forest); font-weight: 600; background: var(--leaf-soft); box-shadow: inset 3px 0 0 var(--gold); }
.has-flyout { position: relative; }
.flyout { top: -8px; left: 100%; border-radius: var(--radius); border-top-width: 1px; }
.has-flyout:hover > .flyout, .has-flyout:focus-within > .flyout { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 1099px) {
  .navrow { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header { position: sticky; top: 0; }
  .brandrow__inner { min-height: 72px; }
  .brand .logo { width: 54px; height: 54px; }
  .brand__name { font-size: 1.25rem; }
  .brand__place { font-size: 0.88rem; }
}
@media (max-width: 640px) {
  .brandrow__cta { display: none; }
  .brand { gap: 10px; }
  .brand .logo { width: 48px; height: 48px; }
  .brand__name { font-size: 1.12rem; }
  .menu-toggle span { display: none; }
  .menu-toggle { width: 46px; padding: 0; justify-content: center; }
}

/* Mobile drawer */
.mnav { position: fixed; inset: 0; z-index: 120; pointer-events: none; overflow: hidden; visibility: hidden; transition: visibility 0s .25s; }
.mnav.is-open { pointer-events: auto; visibility: visible; transition: none; }
.mnav__scrim { position: absolute; inset: 0; background: rgba(4, 30, 18, .5); opacity: 0; transition: opacity .2s; }
.mnav.is-open .mnav__scrim { opacity: 1; }
.mnav__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 100%);
  background: var(--white); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .24s ease; box-shadow: var(--shadow-2);
}
.mnav.is-open .mnav__panel { transform: none; }
.mnav__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--white); z-index: 1; }
.mnav__title { font-family: var(--font-serif); font-weight: 700; color: var(--forest); flex: 1; }
.mnav__close { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 6px; border: 1.5px solid var(--line); background: var(--white); color: var(--forest); font-weight: 600; cursor: pointer; }
.mnav__list { list-style: none; margin: 0; padding: 8px 0; }
.mnav__list > li { border-bottom: 1px solid var(--line); }
.mnav__link {
  display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 20px;
  font-size: 1.06rem; font-weight: 600; color: var(--ink); text-decoration: none; background: none; border: 0; text-align: left; cursor: pointer;
}
.mnav__link.is-active { color: var(--forest); box-shadow: inset 4px 0 0 var(--gold); }
.mnav__toggle[aria-expanded='true'] .mnav__chev { transform: rotate(180deg); }
.mnav__chev { transition: transform .18s; color: var(--forest); flex-shrink: 0; }
.mnav__sub { list-style: none; margin: 0; padding: 0 0 10px; background: var(--mist); }
.mnav__sub a { display: flex; align-items: center; min-height: 46px; padding: 0 20px 0 34px; color: var(--ink); text-decoration: none; font-size: 1rem; }
.mnav__sub a.is-active { color: var(--forest); font-weight: 600; box-shadow: inset 4px 0 0 var(--gold); }
.mnav__foot { margin-top: auto; padding: 16px; display: grid; gap: 10px; border-top: 1px solid var(--line); }

/* ==========================================================================
   Sections + headings
   ========================================================================== */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tint { background: var(--mist); }
.section--green { background: var(--forest); color: var(--white); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 28px; flex-wrap: wrap; }
.section-heading h2 { margin: 0; }
.section-intro { color: var(--slate); margin: 8px 0 0; max-width: 62ch; }
.section-heading__action { padding-bottom: 4px; }

.prose { max-width: 70ch; }
.prose p, .prose li { color: #24352b; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.2em; }

.fact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin: 20px 0 26px; border-top: 1px solid var(--line); }
.fact-list > div { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); }
.fact-list dt { color: var(--slate); font-size: 0.875rem; }
.fact-list dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.fact-list--stacked { grid-template-columns: 1fr; margin: 0 0 12px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); min-height: 560px; background: var(--forest); isolation: isolate; }
.hero__media { position: relative; order: 2; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide figcaption {
  position: absolute; left: 0; bottom: 0; padding: 40px 20px 18px; width: 100%;
  background: linear-gradient(to top, rgba(4,40,26,.72), transparent); color: var(--white); font-size: 0.95rem;
}
.hero__panel { order: 1; padding: clamp(36px, 5vw, 72px) clamp(20px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; color: var(--white); position: relative; }
.hero__panel::before {
  /* torch-flame rule */
  content: ''; display: block; width: 48px; height: 4px; border-radius: 2px; background: var(--gold-bright); margin-bottom: 26px;
}
.hero__motto { font-family: var(--font-sans); font-weight: 700; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); line-height: 1.15; color: var(--gold-bright); margin: 0; letter-spacing: 0; }
.hero__motto-en { font-family: var(--font-serif); font-style: italic; color: rgba(255,255,255,.82); margin: 6px 0 30px; font-size: 1.08rem; }
.hero__title { color: var(--white); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: 14px; }
.hero__lead { color: rgba(255,255,255,.86); max-width: 46ch; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__controls {
  position: absolute; right: 20px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 8px;
}
.hero__btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--forest); border: 0; box-shadow: var(--shadow-1);
}
.hero__btn:hover { background: var(--white); }
.hero__dots { list-style: none; display: flex; gap: 2px; margin: 0 4px; padding: 0; }
.hero__dots button { width: 28px; height: 28px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.hero__dots button::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.65); border: 1.5px solid rgba(4,40,26,.35); transition: width .2s; }
.hero__dots button.is-active::before { background: var(--gold-bright); width: 22px; border-radius: 6px; }

@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: 1; aspect-ratio: 16 / 10; }
  .hero__panel { order: 2; padding-top: 32px; padding-bottom: 40px; }
  .hero__slide figcaption { padding-right: 220px; }
}
@media (max-width: 480px) {
  .hero__slide figcaption { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Home — quick links (ruled index, not cards)
   ========================================================================== */
.quick { background: var(--white); border-bottom: 1px solid var(--line); }
.quick__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.quick__grid > li { border-right: 1px solid var(--line); }
.quick__grid > li:last-child { border-right: 0; }
.quick__item { display: grid; align-content: start; gap: 4px; padding: 26px 18px 24px; height: 100%; text-decoration: none; color: var(--ink); transition: background-color .15s; }
.quick__item svg { color: var(--leaf); margin-bottom: 6px; }
.quick__label { font-family: var(--font-serif); font-weight: 600; color: var(--forest); font-size: 1.05rem; line-height: 1.25; }
.quick__text { color: var(--slate); font-size: 0.92rem; line-height: 1.45; }
.quick__item:hover { background: var(--mist); }
.quick__item:hover .quick__label { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1099px) {
  .quick__grid { grid-template-columns: repeat(3, 1fr); }
  .quick__grid > li { border-bottom: 1px solid var(--line); }
  .quick__grid > li:nth-child(3n) { border-right: 0; }
  .quick__grid > li:nth-last-child(-n+3) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .quick__grid { grid-template-columns: repeat(2, 1fr); }
  .quick__grid > li, .quick__grid > li:nth-child(3n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .quick__grid > li:nth-child(2n) { border-right: 0; }
  .quick__grid > li:nth-last-child(-n+2) { border-bottom: 0; }
  .quick__item { padding: 18px 12px; }
}

/* About split */
.about-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-split__media, .framed { margin: 0; }
.about-split__media img, .framed img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-split__media figcaption, .framed figcaption { color: var(--slate); font-size: 0.9rem; margin-top: 10px; }
@media (max-width: 899px) { .about-split { grid-template-columns: 1fr; } .about-split__media { order: -1; } }

/* Vision / mission / values */
.vmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.vmv__item { padding: 4px 32px 4px 0; margin-right: 32px; border-right: 1px solid var(--line); }
.vmv__item:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.vmv__item h3 { display: flex; align-items: center; gap: 10px; }
.vmv__item h3::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.vmv__item p { color: #2b3c32; font-size: 1.08rem; }
@media (max-width: 899px) {
  .vmv { grid-template-columns: 1fr; gap: 24px; }
  .vmv__item { border-right: 0; margin-right: 0; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
  .vmv__item:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* Academic grid */
.academic-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.academic-card {
  display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px 22px;
  background: var(--mist); border-radius: var(--radius); border-top: 3px solid var(--forest);
  text-decoration: none; color: var(--ink); transition: background-color .15s, box-shadow .15s;
}
.academic-card svg { color: var(--leaf); }
.academic-card__title { font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem; color: var(--forest); }
.academic-card__text { color: var(--slate); font-size: 0.95rem; }
.academic-card:hover { background: var(--white); box-shadow: var(--shadow-1); color: var(--ink); }
.academic-card:hover .academic-card__title { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 999px) { .academic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .academic-grid { grid-template-columns: 1fr; } }

/* Leaders */
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); }
.leader { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; background: var(--white); padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); }
.leader__portrait { width: 96px; height: 96px; border-radius: 50%; background: var(--leaf-soft); color: var(--forest); display: grid; place-items: center; overflow: hidden; }
.leader__portrait img { width: 100%; height: 100%; object-fit: cover; }
.leader__role { margin: 0 0 4px; font-size: 1.25rem; }
.leader__name { font-weight: 600; margin: 0 0 12px; }
.leader__quote { margin: 0 0 12px; font-family: var(--font-serif); font-style: italic; color: #2b3c32; }
.leader__placeholder { color: var(--slate); }
@media (max-width: 899px) { .leaders { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .leader { grid-template-columns: 1fr; padding: 22px; } }

/* Facilities on home + index */
.facilities-home { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.facilities-home__photo { margin: 0 0 22px; }
.facilities-home__photo img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.facilities-home__photo figcaption { color: var(--slate); font-size: 0.9rem; margin-top: 8px; }
.facility-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facility-card { border-bottom: 1px solid var(--line); }
.facility-card__link { display: grid; grid-template-columns: 52px 1fr 24px; gap: 16px; align-items: center; padding: 16px 8px 16px 0; text-decoration: none; color: var(--ink); transition: background-color .15s, padding .15s; border-radius: var(--radius-sm); }
.facility-card__icon { width: 52px; height: 52px; border-radius: var(--radius); background: var(--leaf-soft); color: var(--forest); display: grid; place-items: center; }
.facility-card__name { display: block; font-family: var(--font-serif); font-weight: 600; font-size: 1.12rem; color: var(--forest); }
.facility-card__summary { display: block; color: var(--slate); font-size: 0.95rem; line-height: 1.45; }
.facility-card__chev { color: var(--leaf); }
.facility-card__link:hover { background: var(--mist); padding-left: 10px; }
.facility-list--wide { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
.facility-list--wide .facility-card { border-top: 1px solid var(--line); border-bottom: 0; }
@media (max-width: 899px) { .facilities-home { grid-template-columns: 1fr; } .facility-list--wide { grid-template-columns: 1fr; } }

/* Notices + events board */
.board { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 899px) { .board { grid-template-columns: 1fr; } }
.notice-list, .event-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.notice, .event { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.date-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 72px; padding: 8px 0; border-radius: var(--radius); background: var(--forest); color: var(--white); line-height: 1.1; align-self: start; }
.date-tile__day { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; }
.date-tile__month { font-size: 0.9rem; font-weight: 600; }
.date-tile__year { font-size: 0.75rem; opacity: .8; }
.event .date-tile { background: var(--white); color: var(--forest); border: 1.5px solid var(--forest); }
.event--holiday .date-tile { border-color: var(--gold); color: #6f5200; }
.notice__meta { margin: 0 0 4px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.notice__title { font-size: 1.15rem; margin: 0 0 4px; }
.notice__title a { text-decoration: none; }
.notice__title a:hover { text-decoration: underline; }
.notice__summary { color: var(--slate); margin-bottom: 8px; }
.notice__actions { display: flex; gap: 18px; flex-wrap: wrap; }
.event__kind { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--leaf); }
.event__title { font-size: 1.08rem; margin: 2px 0 4px; }
.event__meta, .event__desc { color: var(--slate); margin: 0; font-size: 0.95rem; }

.empty-state { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border: 1px dashed #b7c6bd; border-radius: var(--radius); background: var(--white); color: var(--slate); }
.empty-state > svg { color: var(--leaf); flex-shrink: 0; margin-top: 2px; }
.empty-state__title { font-family: var(--font-serif); font-weight: 600; color: var(--forest); font-size: 1.12rem; margin: 0 0 4px; }
.empty-state__body p:last-child { margin-bottom: 0; }

/* Gallery */
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-grid__item { display: block; position: relative; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--mist); }
.gallery-grid__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.gallery-grid__item:hover img { transform: scale(1.03); }
.gallery-grid__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; text-align: left; color: var(--white); font-size: 0.92rem; background: linear-gradient(to top, rgba(4,40,26,.78), transparent); }
@media (max-width: 899px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { gap: 8px; } .gallery-grid__caption { font-size: 0.82rem; padding: 18px 8px 6px; } }

.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(5, 18, 11, .94); display: grid; place-items: center; padding: 64px 16px 24px; }
.lightbox__figure { margin: 0; max-width: min(1200px, 100%); }
.lightbox__figure img { max-height: calc(100vh - 150px); width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox__figure figcaption { display: flex; justify-content: space-between; gap: 16px; color: rgba(255,255,255,.9); padding-top: 12px; }
.lightbox__count { color: rgba(255,255,255,.65); }
.lightbox__close { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 6px; background: transparent; color: var(--white); font-weight: 600; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--forest); display: grid; place-items: center; cursor: pointer; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
@media (max-width: 640px) { .lightbox__nav { top: auto; bottom: 18px; transform: none; width: 46px; height: 46px; } .lightbox { padding-bottom: 84px; } }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.news-card__media img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.news-card__body { padding: 18px 20px 22px; }
.news-card__date { color: var(--slate); font-size: 0.9rem; margin: 0 0 4px; }
.news-card__title { font-size: 1.12rem; margin: 0 0 8px; }
.news-card__title a { text-decoration: none; }
.news-card__title a:hover { text-decoration: underline; }
.news-card p:last-child { color: var(--slate); margin: 0; }
@media (max-width: 899px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }

/* Enquiry + contact */
.enquiry-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.section--green h2 { color: var(--white); }
.section--green .enquiry-split__info p { color: rgba(255,255,255,.86); }
.contact-lines { display: grid; gap: 12px; margin: 24px 0; }
.contact-lines a { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--white); text-decoration: none; }
.contact-lines a:hover { color: var(--gold-bright); }
.contact-lines svg { margin-top: 3px; color: var(--gold-bright); }
.card-surface { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(20px, 3.5vw, 36px); box-shadow: var(--shadow-1); border: 1px solid var(--line); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--mist); aspect-ratio: 4 / 3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-frame--small { aspect-ratio: 16 / 10; border-color: rgba(255,255,255,.2); }
@media (max-width: 899px) { .enquiry-split { grid-template-columns: minmax(0, 1fr); } }

/* Form */
.enquiry-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 600; font-size: 0.98rem; }
.field__opt { color: var(--slate); font-weight: 400; }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #c3cfc8; border-radius: 6px;
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(22,131,74,.22); }
.field [aria-invalid='true'] { border-color: var(--danger); background: #fffafa; }
.field [aria-invalid='true']:focus { box-shadow: 0 0 0 3px rgba(180,35,24,.18); }
.field__error { display: flex; gap: 6px; align-items: flex-start; color: var(--danger); font-size: 0.92rem; margin: 0; }
.field__error svg { margin-top: 4px; flex-shrink: 0; }
.form-note { color: var(--slate); font-size: 0.9rem; margin: -6px 0 0; }
.form-summary { display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: var(--danger-soft); color: var(--danger); border-radius: 6px; font-weight: 500; }
.form-summary p { margin: 0; }
.form-status { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); margin-top: 6px; }
.form-status p { margin: 0 0 8px; }
.form-status__title { font-weight: 700; font-family: var(--font-serif); }
.form-status--ok { background: var(--leaf-soft); color: var(--forest); }
.form-status--error { background: var(--danger-soft); color: #7a1a12; }
.form-status--info { background: var(--gold-soft); color: #4d3a00; border: 1px solid #ecd590; }
.form-status--info > svg { color: #8a6800; flex-shrink: 0; }
.form-status__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: var(--white); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--forest-deep); color: rgba(255,255,255,.82); font-size: 0.97rem; }
.footer__grid { display: grid; grid-template-columns: 2.1fr repeat(5, 1fr); gap: 32px 28px; padding-top: 64px; padding-bottom: 48px; }
.footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.footer a:hover { color: var(--gold-bright); text-decoration: underline; }
.footer__brand { display: flex; align-items: center; gap: 14px; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--white) !important; margin-bottom: 16px; text-decoration: none !important; }
.footer__about p { max-width: 42ch; }
.footer__contact { display: grid; gap: 10px; margin-top: 18px; }
.footer__contact a { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.footer__contact svg { margin-top: 3px; color: var(--gold-bright); }
.footer__heading { font-family: var(--font-serif); color: var(--white); font-size: 1.05rem; margin-bottom: 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px; font-size: 0.9rem; }
.footer__bottom p { margin: 0; }
.footer__social { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
@media (max-width: 1099px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } .footer__about { grid-column: 1 / -1; } }
.footer__facts { margin: 0; display: grid; gap: 10px; }
.footer__facts dt { font-size: 0.85rem; color: rgba(255,255,255,.65); }
.footer__facts dd { margin: 0; color: var(--white); font-weight: 600; }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr 1fr; padding-top: 44px; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-header { background: var(--mist); border-bottom: 1px solid var(--line); padding: 26px 0 36px; }
.page-header h1 { margin: 10px 0 8px; }
.page-header__lead { color: var(--slate); max-width: 66ch; margin: 0; font-size: 1.1rem; }
.page-header__meta { display: flex; gap: 10px; align-items: center; color: var(--slate); margin: 0; flex-wrap: wrap; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; font-size: 0.92rem; color: var(--slate); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; }
.breadcrumbs a { color: var(--forest); }
.breadcrumbs__sep { color: #8ea096; }
.breadcrumbs [aria-current='page'] { color: var(--ink); font-weight: 500; }

.page-body { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(56px, 8vw, 96px); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 999px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.side-stack { display: grid; gap: 22px; }
.info-panel { background: var(--mist); border-radius: var(--radius); padding: 22px; border-top: 3px solid var(--forest); }
.info-panel__title { font-size: 1.15rem; }
.info-panel__source { color: var(--slate); font-size: 0.88rem; }
.info-panel .btn { width: 100%; margin-top: 4px; }
.motto-line { font-size: 1.15rem; }
.motto-line span { font-weight: 700; color: var(--forest); }
.source-note { color: var(--slate); font-size: 0.92rem; margin-top: 18px; }

.with-subnav { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.subnav { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 14px; }
.subnav__title { font-family: var(--font-serif); font-weight: 600; color: var(--forest); margin: 0; font-size: 1.1rem; }
.subnav ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.subnav a { display: block; padding: 8px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink); text-decoration: none; }
.subnav a:hover { color: var(--forest); background: var(--mist); }
.subnav a.is-active, .subnav a[aria-current='page'] { border-left-color: var(--gold); color: var(--forest); font-weight: 600; }
@media (max-width: 899px) {
  .with-subnav { grid-template-columns: minmax(0, 1fr); }
  .subnav { position: static; order: 2; }
}

.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.check-list svg { color: var(--leaf); margin-top: 4px; }
.policy-block { padding-bottom: 8px; }
.policy-block h2, .method h2 { font-size: 1.3rem; margin-top: 1.2em; }
.method-list { display: grid; gap: 0; }
.method { padding: 18px 0; border-bottom: 1px solid var(--line); }
.method h2 { margin-top: 0; }
.method p { margin: 0; }
.stage-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.awaiting { padding: 22px; border: 1px dashed #b7c6bd; border-radius: var(--radius); }
.awaiting p { margin: 12px 0 0; color: var(--slate); }

.message { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.message__aside { text-align: center; padding: 26px; background: var(--mist); border-radius: var(--radius); }
.message__portrait { width: 140px; height: 140px; margin: 0 auto 16px; border-radius: 50%; background: var(--leaf-soft); color: var(--forest); display: grid; place-items: center; overflow: hidden; }
.message__portrait img { width: 100%; height: 100%; object-fit: cover; }
.message__name { font-weight: 700; margin: 0 0 4px; }
.message__role, .message__qual { color: var(--slate); margin: 0; font-size: 0.95rem; }
.message__more { margin-top: 28px; }
@media (max-width: 760px) { .message { grid-template-columns: 1fr; } }

.photo-awaited { border: 1px dashed #b7c6bd; border-radius: var(--radius); padding: 22px; text-align: center; color: var(--slate); }
.photo-awaited p { margin: 14px 0 0; font-size: 0.95rem; }
.facility-plate { display: grid; place-items: center; border-radius: var(--radius); background: var(--leaf-soft); color: var(--forest);
  background-image: radial-gradient(circle at 1px 1px, rgba(7,90,50,.12) 1px, transparent 0); background-size: 14px 14px; }
.facility-plate--lg { aspect-ratio: 4 / 3; }
.facility-plate--md { aspect-ratio: 16 / 10; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; border-top: 1px solid var(--line); padding-top: 22px; }
.pager__link { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 12px; border-radius: var(--radius); }
.pager__link:hover { background: var(--mist); }
.pager__link small { display: block; color: var(--slate); font-size: 0.85rem; }
.pager__link span { font-weight: 600; }
.pager__link--next { justify-content: flex-end; text-align: right; }

/* Filters + chips */
.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 14px; }
.search-field { display: flex; align-items: center; gap: 8px; flex: 1 1 260px; max-width: 420px; padding: 0 14px; min-height: 48px; border: 1.5px solid #c3cfc8; border-radius: 6px; background: var(--white); color: var(--slate); }
.search-field:focus-within { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(22,131,74,.22); }
.search-field input { border: 0; outline: none; flex: 1; font: inherit; min-width: 0; background: transparent; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters .chips { margin-bottom: 0; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.chip:hover { border-color: var(--forest); }
.chip.is-active { background: var(--forest); border-color: var(--forest); color: var(--white); }
.chip__count { font-size: 0.8rem; opacity: .75; }
.results-count { color: var(--slate); font-size: 0.92rem; }
.notice-detail { max-width: 72ch; }
.news-detail { max-width: 820px; }
.news-detail .framed img { aspect-ratio: auto; margin-bottom: 24px; }
.more-news { margin-top: 56px; }

/* Calendar */
.calendar-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 899px) { .calendar-layout { grid-template-columns: minmax(0, 1fr); } }
.calendar { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.calendar__head h2 { margin: 0; font-size: 1.4rem; }
.calendar__grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.calendar__grid th { font-size: 0.85rem; color: var(--slate); font-weight: 600; padding: 6px 0; }
.calendar__grid td { padding: 2px; }
.calendar__day { width: 100%; height: 56px; min-height: 44px; border: 0; border-radius: 6px; background: var(--white); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-weight: 500; }
.calendar__day:hover { background: var(--mist); }
.calendar__day.has-events { background: var(--leaf-soft); }
.calendar__day.is-today span:first-child { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--gold); }
.calendar__day.is-selected { background: var(--forest); color: var(--white); }
.calendar__dots { display: flex; gap: 3px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }
.dot--holiday { background: var(--gold); }
.dot--examination { background: #a4410f; }
.dot--meeting { background: var(--slate); }
.calendar__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 12px 0 0; margin: 12px 0 0; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--slate); }
.calendar__legend li { display: inline-flex; align-items: center; gap: 6px; }
.calendar__list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.calendar__list-head h2 { font-size: 1.3rem; margin: 0; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 48px; }
.contact-card { padding: 22px; border-radius: var(--radius); background: var(--mist); }
.contact-card > svg { color: var(--leaf); }
.contact-card h2 { font-size: 1.15rem; margin: 10px 0 6px; }
.contact-card p { margin: 0 0 4px; }
.contact-card address { margin-bottom: 8px; }
@media (max-width: 999px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }
.enquiry-split--page h2 { margin-bottom: 4px; }
@media (max-width: 899px) { .enquiry-split--page .card-surface { order: 0; } }

/* 404 */
.notfound h2 { margin-top: 40px; }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.sitemap-grid h3 { font-size: 1.05rem; }
.sitemap-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }

/* ==========================================================================
   Mandatory Disclosure
   ========================================================================== */
.disclosure { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding-top: 40px; padding-bottom: 96px; }
.disclosure__toc { position: sticky; top: calc(var(--nav-h) + 20px); }
.disclosure__toc-title { font-family: var(--font-serif); font-weight: 600; color: var(--forest); margin-bottom: 8px; }
.disclosure__toc ol { list-style: none; counter-reset: toc; margin: 0 0 20px; padding: 0; border-left: 2px solid var(--line); }
.disclosure__toc li { counter-increment: toc; }
.disclosure__toc a { display: flex; gap: 8px; padding: 7px 12px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink); text-decoration: none; font-size: 0.97rem; }
.disclosure__toc a::before { content: counter(toc, upper-alpha) '.'; color: var(--slate); font-size: 0.88rem; min-width: 16px; }
.disclosure__toc a:hover { border-left-color: var(--gold); color: var(--forest); background: var(--mist); }
.disclosure__status { margin: 0; padding: 14px; background: var(--mist); border-radius: var(--radius); display: grid; gap: 10px; }
.disclosure__status dt { font-size: 0.85rem; color: var(--slate); }
.disclosure__status dd { margin: 0; font-weight: 700; font-family: var(--font-serif); color: var(--forest); font-size: 1.15rem; }
.disclosure-section { margin-bottom: 44px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.disclosure-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid var(--forest); padding-bottom: 8px; margin-bottom: 0; }
.disclosure-section__head h2 { margin: 0; font-size: 1.45rem; scroll-margin-top: calc(var(--nav-h) + 20px); }
.disclosure-section__head h2:focus { outline: none; }
.disclosure-section__count { color: var(--slate); font-size: 0.92rem; }
.disclosure__footnote { color: var(--slate); font-size: 0.95rem; border-top: 1px solid var(--line); padding-top: 18px; }
@media (max-width: 999px) {
  .disclosure { grid-template-columns: minmax(0, 1fr); padding-top: 28px; }
  .disclosure__toc { position: static; }
  .disclosure__toc ol { display: flex; flex-wrap: wrap; gap: 6px; border-left: 0; margin-bottom: 14px; }
  .disclosure__toc a { border: 1.5px solid var(--line); border-radius: 999px; margin-left: 0; padding: 5px 12px; font-size: 0.9rem; }
  .disclosure__status { grid-template-columns: 1fr 1fr; }
}

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.table-scroll:focus-visible { outline-offset: 2px; }
.dtable { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 560px; }
.dtable--results { min-width: 760px; }
.dtable thead th { background: var(--forest); color: var(--white); text-align: left; font-weight: 600; font-size: 0.93rem; padding: 11px 16px; white-space: nowrap; }
.dtable td, .dtable tbody th { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
.dtable tbody th { font-weight: 500; color: var(--ink); width: 42%; }
.dtable--docs tbody th { width: auto; }
.dtable tbody tr:nth-child(even) { background: #fafbfa; }
.dtable tbody tr:hover { background: var(--leaf-soft); }
.dtable__num { width: 72px; text-align: center !important; color: var(--slate); font-variant-numeric: tabular-nums; }
.dtable__note { display: block; color: var(--slate); font-size: 0.86rem; font-weight: 400; margin-top: 4px; line-height: 1.45; }
.dtable tr.is-pending th { color: #3e4d44; }
.doc-name { display: inline-flex; gap: 8px; align-items: flex-start; }
.doc-name svg { color: var(--leaf); margin-top: 3px; flex-shrink: 0; }
.doc-actions { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.doc-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 6px;
  background: var(--forest); color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.93rem; white-space: nowrap;
}
.doc-btn:hover { background: var(--leaf); color: var(--white); }
.doc-btn--ghost { background: var(--white); color: var(--forest); border: 1.5px solid var(--forest); }
.doc-btn--ghost:hover { background: var(--leaf-soft); color: var(--forest); }
.dtable--docs td:last-child { width: 270px; }
.swipe-hint { display: none; }

/* Docs table becomes stacked rows on small screens so names are never truncated */
@media (max-width: 640px) {
  .dtable--docs { min-width: 0; }
  .dtable--docs thead { display: none; }
  .dtable--docs tbody tr { display: grid; grid-template-columns: 40px 1fr; padding: 12px 12px 14px; border-top: 1px solid var(--line); }
  .dtable--docs tbody td, .dtable--docs tbody th { border: 0; padding: 0; }
  .dtable--docs .dtable__num { width: auto; text-align: left !important; padding-top: 2px; }
  .dtable--docs td:last-child { grid-column: 2; width: auto; padding-top: 10px; }
  .dtable td, .dtable tbody th { padding: 11px 12px; }
  .dtable__num { width: 52px; }
  /* Information tables: label and value stacked under the serial number */
  .dtable--stack { min-width: 0; }
  .dtable--stack thead { display: none; }
  .dtable--stack tbody tr { display: grid; grid-template-columns: 40px 1fr; padding: 12px 12px 14px; border-top: 1px solid var(--line); }
  .dtable--stack tbody tr:first-child { border-top: 0; }
  .dtable--stack tbody td, .dtable--stack tbody th { border: 0; padding: 0; width: auto; }
  .dtable--stack .dtable__num { text-align: left !important; }
  .dtable--stack tbody th { font-weight: 600; }
  .dtable--stack td:last-child { grid-column: 2; padding-top: 4px; overflow-wrap: anywhere; }
  .swipe-hint { display: block; color: var(--slate); font-size: 0.86rem; margin: 8px 0 6px; }
}

/* Print: disclosure tables print cleanly */
@media print {
  .topbar, .site-header, .navrow, .footer, .disclosure__toc, .hero__controls, .mnav, .skip-link { display: none !important; }
  .disclosure { display: block; }
  .table-scroll { overflow: visible; }
  .dtable thead th { background: #eee !important; color: #000; }
}

@media (max-width: 520px) { .calendar { padding: 10px; } .calendar__day { height: 46px; } }

.dtable__blank { color: #8a998f; }
.dtable--docs td:last-child { width: 140px; }

/* Campus stats (home) */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 40px; border-top: 3px solid var(--forest); background: var(--mist); border-radius: 0 0 var(--radius) var(--radius); }
.stats__item { padding: 22px 24px; display: flex; flex-direction: column-reverse; gap: 2px; border-right: 1px solid var(--line); }
.stats__item:last-child { border-right: 0; }
.stats dd { margin: 0; font-family: var(--font-serif); font-weight: 700; font-size: 2rem; color: var(--forest); line-height: 1.1; }
.stats dt { color: var(--slate); font-size: 0.95rem; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.facility-card__link--static { grid-template-columns: 52px 1fr; }
.facility-card__link--static:hover { background: none; padding-left: 0; }
.section--green h2:focus { outline: none; }

.notfound-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Menu and footer items shown as plain text (not links) */
.nav__link--text { cursor: default; }
.nav__link--text:hover { background: none; }
.dropdown__text { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); font-size: 0.98rem; line-height: 1.35; cursor: default; }
.dropdown__text:focus-visible { background: var(--mist); }
.dropdown__text.is-active { color: var(--forest); font-weight: 600; background: var(--leaf-soft); box-shadow: inset 3px 0 0 var(--gold); }
.mnav__link--text { cursor: default; }
.mnav__text { display: flex; align-items: center; min-height: 46px; padding: 0 20px 0 34px; color: var(--ink); font-size: 1rem; }
.mnav__text.is-active { color: var(--forest); font-weight: 600; box-shadow: inset 4px 0 0 var(--gold); }
.footer__text { color: rgba(255,255,255,.86); }
.leader__qual { display: block; font-weight: 400; color: var(--slate); font-size: 0.95rem; }

/* ---------- Mobile refinements ---------- */
[hidden] { display: none !important; }
@media (max-width: 640px) {
  /* Compact top bar: phone and email on one line */
  .topbar { font-size: 0.82rem; }
  .topbar__inner { min-height: 34px; }
  .topbar__list { gap: 2px 14px; padding: 5px 0; }
  .topbar__list a { gap: 5px; white-space: nowrap; }
  /* Compact header */
  .brandrow__inner { min-height: 64px; gap: 10px; }
  .brand__state { display: none; }
  .brand__place { font-size: 0.85rem; margin-top: 1px; }
  /* Hero */
  .hero__panel { padding: 26px var(--gutter) 34px; }
  .hero__panel::before { margin-bottom: 18px; }
  .hero__motto-en { margin-bottom: 20px; }
  .hero__lead { margin-bottom: 22px; }
  .hero__controls { right: 10px; bottom: 10px; gap: 6px; }
  .hero__btn { width: 38px; height: 38px; }
  /* Sections */
  .section { padding: 44px 0; }
  .section-heading { margin-bottom: 20px; }
  .page-header { padding: 20px 0 26px; }
  .page-body { padding-top: 28px; }
  .leader { padding: 20px; }
  .academic-card { padding: 20px 18px; }
  .card-surface { padding: 18px; }
  /* Results tables become labelled cards */
  .dtable--cards { min-width: 0; }
  .dtable--cards thead { display: none; }
  .dtable--cards tbody tr { display: grid; grid-template-columns: 40px 1fr; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
  .dtable--cards tbody tr:first-child { border-top: 0; }
  .dtable--cards tbody td, .dtable--cards tbody th { border: 0; padding: 4px 0; width: auto; display: flex; justify-content: space-between; gap: 12px; grid-column: 2; font-weight: 400; }
  .dtable--cards tbody .dtable__num { grid-column: 1; grid-row: 1 / span 5; display: block; text-align: left !important; }
  .dtable--cards tbody [data-label]::before { content: attr(data-label); color: var(--slate); font-size: 0.9rem; }
}

/* ---------- Non-clickable items (links removed; same look, no link behaviour) ---------- */
.is-unlinked { cursor: default; }
.topbar__list .is-unlinked { color: inherit; display: inline-flex; align-items: center; gap: 7px; }
.contact-lines .is-unlinked { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--white); }
.footer .is-unlinked { color: rgba(255,255,255,.86); }
.footer__contact .is-unlinked { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.subnav .is-unlinked { display: block; padding: 8px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink); }
.subnav .is-unlinked[aria-current='page'] { border-left-color: var(--gold); color: var(--forest); font-weight: 600; }
.text-link.is-unlinked { text-decoration: none; }
.text-link.is-unlinked:hover { color: var(--forest); }
.quick__item.is-unlinked:hover { background: none; }
.quick__item.is-unlinked:hover .quick__label, .academic-card.is-unlinked:hover .academic-card__title { text-decoration: none; }
.academic-card.is-unlinked:hover { background: var(--mist); box-shadow: none; }
.facility-card__link.is-unlinked:hover { background: none; padding-left: 0; }
.pager__link.is-unlinked:hover { background: none; }
.btn--primary.is-unlinked:hover { background: var(--forest); }
.btn--secondary.is-unlinked:hover, .btn--light.is-unlinked:hover { background: var(--white); }
.btn--gold.is-unlinked:hover { background: var(--gold-bright); }
.news-card__media.is-unlinked { display: block; }
@media (max-width: 640px) {
  .topbar__list .is-unlinked { gap: 5px; white-space: nowrap; }
}
