/* ==========================================================================
   Top Grade Comprehensive Primary & Secondary School Ltd
   Design: tropical academic — royal blue, cream paper, Nigerian green & gold
   Type: Fraunces (display serif) + Archivo (grotesque body)
   ========================================================================== */

:root {
  --paper: #FBF7EC;
  --paper-soft: #F5EEDC;
  --cream: #F2E4A8;
  --gold: #E4B94E;
  --ink: #10263F;
  --ink-soft: #3D5470;
  --blue: #1560B0;
  --blue-deep: #0D4485;
  --blue-ink: #0A2E57;
  --green: #1E8A4C;
  --green-deep: #136437;
  --sky: #DDEFF9;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", "Helvetica Neue", Helvetica, sans-serif;

  --shadow-card: 0 18px 40px -18px rgb(16 38 63 / .28);
  --shadow-soft: 0 10px 28px -14px rgb(16 38 63 / .22);
  --radius: 18px;
  --container: 1140px;
  --flagline: linear-gradient(90deg,
    var(--green) 0 33.4%,
    var(--white) 33.4% 66.7%,
    var(--blue) 66.7% 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1100px 500px at 85% -100px, rgb(21 96 176 / .07), transparent 60%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

.container {
  width: min(var(--container), 100% - 2.75rem);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -3.5rem; z-index: 100;
  background: var(--blue); color: var(--white);
  padding: .6rem 1.1rem; border-radius: 10px;
  font-weight: 600; text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Nigerian-flag ribbon running along the very top of every page */
.flagline { height: 6px; background: var(--flagline); }

/* ---------- Typography helpers ---------- */

.accent-serif { font-style: italic; font-weight: 500; }
.accent-serif-gold { font-style: italic; font-weight: 500; color: var(--cream); }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-label {
  display: inline-flex; align-items: center; gap: .55rem;
  margin: 0 0 1.1rem;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-deep);
}
.section-label.on-dark { color: var(--cream); }
.section-label.on-cream { color: var(--green-deep); }
.section-label span[aria-hidden] { font-size: .9rem; }

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--blue-ink);
  text-wrap: balance;
}
.section-title.on-dark { color: var(--white); }
.section-title .accent-serif { color: var(--blue); }
.section-title.on-dark .accent-serif-gold { color: var(--cream); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-solid {
  background: var(--blue); color: var(--white);
  box-shadow: 0 12px 24px -12px rgb(13 68 133 / .55);
}
.btn-solid:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgb(13 68 133 / .6);
}

.btn-green {
  background: var(--green); color: var(--white);
  box-shadow: 0 12px 24px -12px rgb(19 100 55 / .55);
}
.btn-green:hover { background: var(--green-deep); transform: translateY(-2px); }

.btn-ghost {
  color: var(--blue-ink);
  border-color: rgb(16 38 63 / .25);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.btn-outline {
  color: var(--blue-ink);
  border-color: rgb(16 38 63 / .3);
  background: rgb(255 255 255 / .4);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 247 236 / .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(16 38 63 / .08);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgb(16 38 63 / .35); }

.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 76px;
}

.brand {
  display: inline-flex; align-items: center; gap: .8rem;
  text-decoration: none; color: inherit;
  margin-right: auto;
  min-width: 0;
}
.crest { width: 44px; height: 44px; flex: none; color: var(--blue); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name,
.brand-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: .01em;
  color: var(--blue-ink);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-list {
  display: flex; align-items: center; gap: 1.7rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500; font-size: .95rem;
  padding: .4rem 0;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--green);
  transition: right .22s ease;
}
.nav-list a:hover::after,
.nav-list a:focus-visible::after { right: 0; }

.btn-nav { padding: .6rem 1.3rem; font-size: .9rem; }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: 0; padding: .6rem;
  cursor: pointer;
}
.nav-toggle-bar {
  width: 24px; height: 2.5px; border-radius: 2px;
  background: var(--blue-ink);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1.4rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue-deep);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow-star { color: var(--green); }

.hero-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  color: var(--blue-ink);
  text-wrap: balance;
}
.hero-title .accent-serif { color: var(--blue); }

.hero-lede {
  margin: 0 0 2.2rem;
  max-width: 34rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.8rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1.6rem 2.4rem;
  margin: 0;
  padding-top: 1.6rem;
  border-top: 1px dashed rgb(16 38 63 / .2);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  align-items: flex-start;
}
.stat dt {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem; font-weight: 600;
  color: var(--blue-ink); line-height: 1.25;
}
.stat dd {
  margin: 0;
  font-size: .82rem; color: var(--ink-soft);
}

/* Arch-shaped photo — echoes the arched verandas of the school building.
   Softer radius keeps the full signboard visible; crop biases toward the façade. */
.hero-media { margin: 0; }

.arch-frame {
  border-radius: 190px 190px var(--radius) var(--radius);
  overflow: hidden;
  border: 6px solid var(--white);
  outline: 2px solid rgb(21 96 176 / .25);
  outline-offset: 6px;
  box-shadow: 0 30px 60px -25px rgb(13 68 133 / .45);
}
.arch-frame img {
  width: 100%; height: clamp(380px, 46vw, 560px);
  object-fit: cover;
  object-position: center 32%;
  transition: transform .6s ease;
}
.arch-frame:hover img { transform: scale(1.03); }

.media-note {
  display: flex; align-items: center; gap: .6rem;
  margin-top: 1.4rem;
  font-size: .86rem; font-style: italic;
  color: var(--ink-soft);
  font-family: var(--font-display);
}
.note-dot {
  width: 10px; height: 10px; flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgb(30 138 76 / .18);
}

.hero-baseline { line-height: 0; }
.hero-baseline svg { width: 100%; height: clamp(40px, 6vw, 90px); }

/* ==========================================================================
   Values ticker
   ========================================================================== */

.ticker {
  background: var(--green-deep);
  color: var(--cream);
  overflow: hidden;
  padding: .85rem 0;
  border-block: 3px solid var(--white);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-group {
  display: flex; align-items: center; gap: 2.2rem;
  padding-right: 2.2rem;
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}
.tick-star { color: var(--white); font-size: .8rem; }

@keyframes ticker-scroll { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; }
}

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about-media { position: relative; margin: 0; }

.offset-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 6px solid var(--white);
}
.frame-gold::before {
  content: ""; position: absolute; inset: auto -18px -18px auto;
  width: 62%; height: 62%;
  border-radius: var(--radius);
  background: var(--cream);
  z-index: -1;
}
.offset-frame img { aspect-ratio: 16 / 10; object-fit: cover; }

.stamp {
  position: absolute; top: -26px; left: -26px;
  width: 108px; height: 108px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  transform: rotate(-8deg);
  font-weight: 700;
}
.stamp-top, .stamp-bottom { font-size: .72rem; letter-spacing: .22em; }
.stamp-star { color: var(--cream); font-size: 1rem; margin: .15rem 0; }

.about-copy p { color: var(--ink-soft); }
.about-copy h2 + p { margin-top: 0; }

.checklist {
  list-style: none; margin: 1.8rem 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem 1.4rem;
}
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  font-weight: 500;
  color: var(--ink);
}
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 1.3rem; height: 1.3rem;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: rgb(30 138 76 / .14);
  color: var(--green-deep);
  font-size: .8rem; font-weight: 700;
}
.checklist.compact { gap: .5rem 1.2rem; margin-top: 1.2rem; }
.checklist.compact li { font-size: .92rem; }

/* ==========================================================================
   Pillars — deep blue band
   ========================================================================== */

.pillars {
  background:
    radial-gradient(900px 400px at 100% 0%, rgb(30 138 76 / .25), transparent 55%),
    linear-gradient(160deg, var(--blue) 0%, var(--blue-ink) 100%);
  color: var(--white);
  position: relative;
}
.pillars::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgb(255 255 255 / .045) 0 1px, transparent 1px 90px);
  pointer-events: none;
}

.pillar-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  position: relative;
}

.pillar {
  background: rgb(255 255 255 / .07);
  border: 1px solid rgb(255 255 255 / .14);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem 1.9rem;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.pillar:hover {
  transform: translateY(-6px);
  background: rgb(255 255 255 / .12);
  border-color: rgb(242 228 168 / .5);
}
.pillar-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.1rem; font-weight: 500;
  color: var(--cream);
  margin-bottom: .8rem;
  line-height: 1;
}
.pillar h3 {
  margin: 0 0 .6rem;
  font-family: var(--font-display);
  font-size: 1.22rem; font-weight: 600;
  color: var(--white);
}
.pillar p { margin: 0; font-size: .93rem; line-height: 1.6; color: rgb(221 239 249 / .85); }

/* ==========================================================================
   Programmes
   ========================================================================== */

.programme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.programme {
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgb(16 38 63 / .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.programme:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -20px rgb(16 38 63 / .35);
}

.programme-media { position: relative; }
.programme-media img { aspect-ratio: 16 / 9; object-fit: cover; }

.programme-tag {
  position: absolute; left: 1.1rem; bottom: 1.1rem;
  padding: .38rem 1rem;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 8px 18px -8px rgb(13 68 133 / .6);
}
.programme-tag.tag-green { background: var(--green); }

.programme-body { padding: 1.7rem 1.7rem 1.9rem; }
.programme-body h3 {
  margin: 0 0 .55rem;
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 600;
  color: var(--blue-ink);
}
.programme-body > p { margin: 0 0 .4rem; color: var(--ink-soft); font-size: .98rem; }

/* ==========================================================================
   Campus gallery
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(200px, 26vw, 300px);
  gap: 1.3rem;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.gallery-wide { grid-column: span 2; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.gallery-item:hover img { transform: scale(1.045); }

.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 1.6rem 1.2rem .85rem;
  background: linear-gradient(to top, rgb(10 46 87 / .82), transparent);
  color: var(--white);
  font-size: .9rem; font-weight: 500;
}

/* ==========================================================================
   Admissions band
   ========================================================================== */

.admissions {
  position: relative;
  background:
    radial-gradient(700px 300px at 15% 20%, rgb(255 255 255 / .5), transparent 60%),
    var(--cream);
  padding: clamp(4rem, 8vw, 6.5rem) 0 0;
  overflow: hidden;
}
.admissions-inner { text-align: center; max-width: 46rem; }

.admissions-title {
  margin: 0 0 1.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  color: var(--blue-ink);
}
.admissions-title .accent-serif { color: var(--blue); }

.admissions-lede { margin: 0 auto 2.2rem; color: var(--ink-soft); max-width: 36rem; }
.admissions-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .9rem; }

.admissions-stripe { height: clamp(40px, 6vw, 72px); margin-top: clamp(3rem, 6vw, 4.5rem); }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-copy > p { color: var(--ink-soft); max-width: 34rem; }

.contact-list {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; gap: 1.1rem;
}
.contact-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  font-size: .97rem; color: var(--ink-soft);
}
.contact-list strong { color: var(--blue-ink); font-weight: 600; }

.contact-ico {
  flex: none;
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border-radius: 12px;
  background: var(--sky);
  color: var(--blue-deep);
}
.contact-ico svg { width: 21px; height: 21px; fill: currentColor; }

.hours-card {
  background: var(--blue-ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  box-shadow: var(--shadow-card);
  position: sticky; top: 100px;
}
.hours-card::before {
  content: ""; display: block;
  width: 54px; height: 5px; border-radius: 3px;
  background: var(--flagline);
  margin-bottom: 1.4rem;
}
.hours-card h3 {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 600;
}
.hours-card dl { margin: 0; }
.hours-card dl div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px dashed rgb(255 255 255 / .18);
}
.hours-card dl div:last-of-type { border-bottom: 0; }
.hours-card dt { color: rgb(221 239 249 / .8); }
.hours-card dd { margin: 0; font-weight: 600; color: var(--cream); }
.hours-note { margin: 1.1rem 0 0; font-size: .8rem; color: rgb(221 239 249 / .6); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--blue-ink);
  color: rgb(221 239 249 / .85);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand { display: flex; align-items: center; gap: 1.1rem; }
.crest-lg { width: 58px; height: 58px; color: var(--cream); }
.footer-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem; font-weight: 600;
  color: var(--white); line-height: 1.3;
}
.footer-motto {
  margin: .35rem 0 0;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}

.footer-nav { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-nav a {
  color: rgb(221 239 249 / .85);
  text-decoration: none; font-size: .93rem; font-weight: 500;
  transition: color .18s ease;
}
.footer-nav a:hover { color: var(--cream); }

.footer-base { border-top: 1px solid rgb(255 255 255 / .12); padding: 1.2rem 0; }
.footer-base-inner {
  display: flex; flex-wrap: wrap; gap: .8rem 2rem;
  align-items: center; justify-content: space-between;
  font-size: .84rem;
}
.footer-base p { margin: 0; }
.footer-flag { font-weight: 600; }

/* ==========================================================================
   Reveal animations
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.65,.3,1), transform .7s cubic-bezier(.2,.65,.3,1);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1020px) {
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none;
    background: var(--paper);
    border-bottom: 1px solid rgb(16 38 63 / .1);
    box-shadow: 0 24px 40px -24px rgb(16 38 63 / .35);
    padding: 1rem 1.4rem 1.6rem;
  }
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list {
    flex-direction: column; align-items: flex-start;
    gap: .4rem; margin-bottom: 1.1rem;
  }
  .nav-list a { display: block; padding: .55rem 0; font-size: 1.05rem; }
  .btn-nav { width: 100%; }

  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }

  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-wide { grid-column: span 2; }

  .hours-card { position: static; }
}

@media (max-width: 620px) {
  .pillar-grid,
  .programme-grid,
  .checklist { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-wide { grid-column: auto; }
  .stamp { width: 88px; height: 88px; top: -18px; left: -8px; }
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
}
