/* ============================================================
   Calusa Elementary School — "Always A Step Ahead"
   Royal blue + sunshine gold — matches the Calusa PTA site
   ============================================================ */

:root {
  --navy: #1b2468;
  --royal: #2b3990;
  --royal-light: #4053b4;
  --gold: #f6c945;
  --gold-soft: #f8dc63;
  --gold-pale: #fdf6df;
  --cream: #fffdf6;
  --ink: #232841;
  --ink-soft: #555b7a;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(27, 36, 104, 0.12);
  --shadow-lg: 0 18px 50px rgba(27, 36, 104, 0.2);
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --font-hand: "Caveat", cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

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

a { color: var(--royal); }
a:hover { color: var(--navy); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }

.caveat { font-family: var(--font-hand); }
.gold { color: var(--gold); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 50%; border: 2px solid var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--navy); }
.brand-text em { font-family: var(--font-hand); font-size: 1rem; color: var(--royal-light); }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a {
  text-decoration: none; font-weight: 700; font-size: 0.98rem; color: var(--ink);
  border-bottom: 2px solid transparent; padding: 4px 0; transition: border-color .2s, color .2s;
}
.site-nav a:hover { color: var(--royal); border-bottom-color: var(--gold); }
.site-nav .nav-cta {
  background: var(--royal); color: #fff; padding: 9px 18px; border-radius: 999px;
  border-bottom: none; box-shadow: 0 4px 0 var(--navy); transition: transform .15s, box-shadow .15s;
}
.site-nav .nav-cta:hover { color: #fff; transform: translateY(2px); box-shadow: 0 2px 0 var(--navy); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: 1.02rem; text-decoration: none; padding: 13px 26px; border-radius: 999px;
  border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 5px 0 #d9a616; }
.btn-gold:hover { color: var(--navy); transform: translateY(3px); box-shadow: 0 2px 0 #d9a616; }
.btn-blue { background: var(--royal); color: #fff; box-shadow: 0 5px 0 var(--navy); }
.btn-blue:hover { color: #fff; transform: translateY(3px); box-shadow: 0 2px 0 var(--navy); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-ghost:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
.btn-ghost-blue { background: transparent; color: var(--royal); border: 2px solid var(--royal); }
.btn-ghost-blue:hover { background: var(--royal); color: #fff; }
.btn-block { display: block; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--navy) 0%, var(--royal) 55%, var(--royal-light) 100%);
  color: #fff;
  padding: 70px 0 110px;
}
.hero-sun {
  position: absolute; right: -180px; top: -180px; width: 640px; height: 640px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    rgba(246, 201, 69, 0.28) 0deg 12deg,
    rgba(246, 201, 69, 0.05) 12deg 24deg
  );
  animation: sunspin 70s linear infinite;
}
.hero-sun::after {
  content: ""; position: absolute; inset: 33%;
  background: radial-gradient(circle, var(--gold-soft) 0%, var(--gold) 70%);
  border-radius: 50%; box-shadow: 0 0 80px rgba(246, 201, 69, .55);
}
@keyframes sunspin { to { transform: rotate(360deg); } }

.hero-inner {
  position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem;
  color: var(--gold-soft); margin-bottom: 18px;
}
.hero-kicker .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 600; margin-bottom: 18px; }
.hero-sub { font-size: 1.13rem; max-width: 560px; color: #e8ebff; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero-ctas.center { justify-content: center; }
.hero-theme { font-size: 1.05rem; color: #dfe4ff; }
.hero-theme .caveat { font-size: 1.5rem; color: var(--gold-soft); }
.theme-tag {
  display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; margin-right: 8px; vertical-align: 2px;
}

.hero-badge { position: relative; justify-self: center; }
.badge-ring {
  width: min(300px, 60vw); aspect-ratio: 1; border-radius: 50%;
  border: 6px solid var(--gold); background: #fff; overflow: hidden;
  box-shadow: 0 0 0 10px rgba(246, 201, 69, .18), var(--shadow-lg);
  transform: rotate(-4deg); transition: transform .4s;
}
.badge-ring:hover { transform: rotate(2deg) scale(1.03); }
.badge-ring img { width: 100%; height: 100%; object-fit: cover; }
.badge-stamps .stamp {
  position: absolute; font-family: var(--font-display); font-weight: 600; text-align: center;
  font-size: .82rem; line-height: 1.2; color: var(--navy);
  background: var(--gold-soft); border-radius: 999px; padding: 14px 12px;
  box-shadow: var(--shadow);
}
.stamp-a { top: -12px; left: -34px; transform: rotate(-10deg); }
.stamp-stem { bottom: 6px; right: -30px; transform: rotate(8deg); background: #fff; }

.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 60px; }

/* ---------- Trail note & footprints ---------- */
.trail-note {
  text-align: center; padding: 26px 0 6px; background: var(--gold-pale);
  color: var(--royal);
}
.trail-note .caveat { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.foot { width: 20px; height: 34px; fill: var(--royal-light); opacity: .55; display: inline-block; }
.foot-l { transform: rotate(-8deg); }
.foot-r { transform: rotate(10deg) translateY(-8px); }
.steps-decor { text-align: center; padding: 10px 0 0; }
.steps-decor .foot { width: 17px; height: 29px; margin: 0 7px; }
.steps-decor-top { padding: 0 0 14px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; position: relative; }
.section-cream { background: var(--gold-pale); }
.section-blue {
  background: linear-gradient(160deg, var(--royal) 0%, var(--navy) 100%);
  color: #fff;
}
.section-kicker {
  font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem;
  color: var(--royal-light); margin-bottom: 10px;
}
.section-kicker.on-blue { color: var(--gold-soft); }
.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; margin-bottom: 16px; color: var(--navy); }
.section h2.on-blue { color: #fff; }
.section-lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 720px; margin-bottom: 40px; }
.section-lead.on-blue { color: #dfe4ff; }
.underline-gold {
  background-image: linear-gradient(transparent 62%, var(--gold-soft) 62%, var(--gold-soft) 92%, transparent 92%);
}

/* ---------- What we do ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.do-card {
  background: #fff; border-radius: var(--radius); padding: 28px 22px;
  box-shadow: var(--shadow); border-top: 5px solid var(--gold);
  transition: transform .25s, box-shadow .25s;
}
.do-card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow-lg); }
.do-icon { font-size: 2.1rem; margin-bottom: 12px; }
.do-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 8px; font-weight: 600; }
.do-card p { font-size: .96rem; color: var(--ink-soft); }

/* ---------- Membership ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 30px; }
.price-card {
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px 26px;
  text-align: center; box-shadow: var(--shadow-lg);
  transition: transform .25s;
}
.price-card:hover { transform: translateY(-6px); }
.price-card.featured { outline: 4px solid var(--gold); outline-offset: -4px; }
.price-emoji { font-size: 2.4rem; margin-bottom: 8px; }
.price-card h3 { font-size: 1.3rem; color: var(--navy); font-weight: 600; }
.price { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--royal); margin: 6px 0 10px; }
.price span { font-size: 1.05rem; font-weight: 500; color: var(--ink-soft); }
.price-note { font-size: .95rem; color: var(--ink-soft); margin-bottom: 20px; min-height: 3.2em; }
.member-fineprint { text-align: center; color: #cfd6ff; font-size: .95rem; max-width: 640px; margin: 0 auto; }
.member-fineprint a { color: var(--gold-soft); }

/* ---------- Events ---------- */
.event-feature {
  display: flex; gap: 28px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 34px; align-items: flex-start;
  border-left: 8px solid var(--gold);
}
.event-date {
  flex: 0 0 auto; text-align: center; background: var(--royal); color: #fff;
  border-radius: 14px; padding: 16px 22px; box-shadow: 0 6px 0 var(--navy);
}
.ev-month { display: block; font-weight: 800; letter-spacing: .14em; font-size: .85rem; color: var(--gold-soft); }
.ev-day { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.event-body h3 { color: var(--navy); font-size: 1.45rem; font-weight: 600; margin-bottom: 8px; }
.event-body > p { color: var(--ink-soft); max-width: 640px; }
.mg-schedule {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 18px;
  margin: 18px 0 22px;
}
.mg-schedule li {
  background: var(--gold-pale); border-radius: 10px; padding: 10px 14px;
  display: flex; justify-content: space-between; gap: 8px; font-size: .95rem;
}
.mg-schedule strong { color: var(--navy); }
.event-links { display: flex; flex-wrap: wrap; gap: 12px; }
.events-note { margin-top: 26px; font-size: 1.02rem; color: var(--ink-soft); }

/* ---------- Store ---------- */
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.store-card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 26px 22px 22px;
  text-decoration: none; box-shadow: var(--shadow); border: 2px solid transparent;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.store-card:hover { transform: translateY(-6px) rotate(.5deg); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.store-emoji { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.store-card h3 { color: var(--navy); font-size: 1.12rem; font-weight: 600; margin-bottom: 4px; }
.store-price { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--royal); }
.store-tag {
  position: absolute; top: 16px; right: 16px; background: var(--gold-soft); color: var(--navy);
  font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.store-cta { text-align: center; margin-top: 34px; }

/* ---------- Board ---------- */
.board-group { margin: 0 0 36px; }
.board-group img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.board-group figcaption { text-align: center; font-size: 1.5rem; color: var(--royal); margin-top: 12px; }
.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.board-card { text-align: center; }
.board-card img {
  width: 100%; aspect-ratio: 3 / 3.4; object-fit: cover; object-position: center 20%;
  border-radius: 16px; box-shadow: var(--shadow); border: 4px solid #fff;
  transition: transform .25s;
}
.board-card:hover img { transform: scale(1.04) rotate(-1deg); }
.board-card h3 { font-size: 1.08rem; color: var(--navy); font-weight: 600; margin-top: 12px; }
.board-card p { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Volunteer ---------- */
.volunteer { text-align: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.contact-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-card img { width: 100%; height: 240px; object-fit: cover; }
.contact-body { padding: 24px 28px 28px; }
.contact-body h3 { color: var(--navy); font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.contact-body address { font-style: normal; color: var(--ink-soft); margin-bottom: 10px; }
.contact-list { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px; }
.contact-list h3 { color: var(--navy); font-size: 1.3rem; font-weight: 600; margin-bottom: 16px; }
.contact-list ul { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > span { font-size: 1.4rem; line-height: 1.3; }
.contact-list strong { color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #ccd3f5; padding: 46px 0 30px; border-top: 6px solid var(--gold); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { border-radius: 50%; border: 2px solid var(--gold); }
.footer-brand strong { color: #fff; font-family: var(--font-display); font-size: 1.15rem; }
.footer-brand .caveat { font-size: 1.25rem; }
.footer-badges { display: flex; gap: 16px; align-items: center; }
.footer-badges img { border-radius: 8px; background: #fff; padding: 4px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a { color: #ccd3f5; text-decoration: none; font-weight: 700; font-size: .95rem; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: .88rem; }
.footer-legal a { color: var(--gold-soft); }

/* ---------- Scroll trail ---------- */
.scroll-trail {
  position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.trail-line {
  position: absolute; top: 8px; bottom: 8px; left: 50%; width: 3px; transform: translateX(-50%);
  background-image: linear-gradient(var(--royal-light) 33%, rgba(64,83,180,0) 0%);
  background-size: 3px 10px; border-radius: 3px; opacity: .35;
}
.trail-fill {
  width: 100%; height: 0%;
  background: var(--gold); border-radius: 3px; transition: height .2s;
}
.trail-stop {
  position: relative; z-index: 2; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--royal-light); transition: background .25s, transform .25s;
}
.trail-stop:hover { transform: scale(1.3); }
.trail-stop.passed { background: var(--gold); border-color: var(--gold); }
.trail-stop.active { background: var(--gold); border-color: var(--navy); transform: scale(1.35); }

/* ---------- Fade-up reveals (gated on html.js; reveal rule matches specificity) ---------- */
html.js .fade-up { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
html.js .fade-up.in-view { opacity: 1; transform: none; }

/* ---------- Accessibility widget ---------- */
.a11y-btn {
  position: fixed; right: 20px; bottom: 20px; z-index: 120;
  width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--royal); color: #fff; box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.a11y-btn:hover { background: var(--navy); }
.a11y-panel {
  position: fixed; right: 20px; bottom: 84px; z-index: 120; width: 230px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 18px;
  border: 2px solid var(--royal-light);
}
.a11y-panel h2 { font-size: 1.05rem; color: var(--navy); margin-bottom: 12px; }
.a11y-panel button {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  background: var(--gold-pale); border: 1px solid #eadfb0; border-radius: 10px;
  padding: 9px 12px; margin-bottom: 8px; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: .9rem; color: var(--ink);
}
.a11y-panel button:hover { background: var(--gold-soft); }
.a11y-panel button[aria-pressed="true"] .a11y-state::after { content: "ON"; color: var(--royal); }
.a11y-panel .a11y-reset { background: #fff; border: 1px dashed var(--ink-soft); justify-content: center; }

/* a11y modes */
html.a11y-fontsize body { font-size: 20px; }
html.a11y-contrast body { background: #fff; color: #000; }
html.a11y-contrast .section-lead, html.a11y-contrast .do-card p,
html.a11y-contrast .price-note, html.a11y-contrast .events-note,
html.a11y-contrast .board-card p { color: #222; }
html.a11y-contrast .hero, html.a11y-contrast .section-blue, html.a11y-contrast .site-footer { background: var(--navy); }
html.a11y-links a { text-decoration: underline !important; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after {
  animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important;
}
html.a11y-motion.js .fade-up { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-sun { animation: none; }
  html.js .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 130;
  max-width: 520px; margin: 0 auto;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold); padding: 20px 22px;
}
.consent p { font-size: .95rem; margin-bottom: 14px; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-actions .btn { padding: 9px 20px; font-size: .95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1250px) {
  .scroll-trail { display: none; }
}
@media (max-width: 960px) {
  .hero-sun { width: 360px; height: 360px; right: -150px; top: -150px; opacity: .55; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-badge { margin-top: 10px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .board-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .event-feature { flex-direction: column; }
  .mg-schedule { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 3px solid var(--gold);
    flex-direction: column; padding: 18px 24px 24px; gap: 14px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .brand-text em { display: none; }
  .card-grid, .store-grid { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .mg-schedule { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 50px 0 90px; }
  .stamp-a { left: -10px; }
  .stamp-stem { right: -8px; }
  .footer-grid { flex-direction: column; text-align: center; justify-content: center; }
  .footer-brand { flex-direction: column; }
}

/* ============================================================
   School-site additions (multi-page components)
   ============================================================ */

/* ---------- Site nav active page ---------- */
.site-nav a[aria-current="page"] { color: var(--royal); border-bottom-color: var(--gold); }

/* ---------- Compact page hero (subpages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--navy) 0%, var(--royal) 55%, var(--royal-light) 100%);
  color: #fff;
  padding: 52px 0 84px;
}
.page-hero .hero-sun { width: 420px; height: 420px; right: -160px; top: -160px; opacity: .8; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 600; margin-bottom: 10px; }
.page-hero .hero-inner { display: block; }
.page-hero .hero-sub { margin-bottom: 0; }
.page-hero .hero-kicker { margin-bottom: 12px; }

/* ---------- Announcement ribbon ---------- */
.ribbon {
  background: var(--gold); color: var(--navy); text-align: center;
  padding: 10px 18px; font-weight: 800; font-size: .98rem;
}
.ribbon a { color: var(--navy); text-decoration: underline; }

/* ---------- Stat stamps row ---------- */
.stamp-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.stamp-chip {
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px; padding: 8px 18px; font-weight: 800; font-size: .92rem; color: #fff;
}
.stamp-chip .gold { margin-right: 6px; }

/* ---------- Big link grid (resources, student links) ---------- */
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.link-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border-radius: var(--radius); padding: 20px 20px;
  text-decoration: none; box-shadow: var(--shadow); border: 2px solid transparent;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.link-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.link-card .lc-icon { font-size: 1.7rem; line-height: 1.2; }
.link-card h3 { font-size: 1.04rem; color: var(--navy); font-weight: 600; margin-bottom: 2px; }
.link-card p { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.link-card .ext { margin-left: auto; color: var(--royal-light); font-weight: 800; align-self: center; }

/* ---------- File / PDF cards ---------- */
.file-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.file-card {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 14px; padding: 16px 18px;
  text-decoration: none; box-shadow: var(--shadow);
  border-left: 6px solid var(--gold); font-weight: 800; color: var(--navy);
  transition: transform .2s, box-shadow .2s;
}
.file-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--royal); }
.file-card .fc-type {
  flex: 0 0 auto; background: var(--gold-pale); color: var(--royal);
  font-size: .68rem; letter-spacing: .08em; border-radius: 8px; padding: 6px 8px;
}
.file-card span.small { display: block; font-weight: 600; font-size: .84rem; color: var(--ink-soft); }

/* ---------- Faculty directory ---------- */
.dir-section { margin-bottom: 44px; }
.dir-section > h3 {
  font-size: 1.35rem; color: var(--navy); font-weight: 600; margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px;
}
.dir-section > h3 .caveat { color: var(--royal-light); font-size: 1.2rem; }
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.dir-card {
  background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.dir-card strong { color: var(--navy); display: block; }
.dir-card em { font-style: normal; font-size: .84rem; color: var(--royal); font-weight: 800; display: block; margin-bottom: 2px; }
.dir-card a { font-size: .86rem; word-break: break-all; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0,340px)); gap: 24px; justify-content: center; }
.admin-card { text-align: center; background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-lg); }
.admin-card img {
  width: 170px; height: 170px; object-fit: cover; object-position: center 15%;
  border-radius: 50%; border: 5px solid var(--gold); margin: 0 auto 14px;
}
.admin-card h3 { color: var(--navy); font-size: 1.3rem; font-weight: 600; }
.admin-card p { color: var(--royal); font-weight: 800; margin-bottom: 6px; }

/* ---------- Info split (arrival / dismissal) ---------- */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.info-panel {
  background: #fff; border-radius: var(--radius); padding: 26px 26px; box-shadow: var(--shadow);
  border-top: 6px solid var(--gold);
}
.info-panel h3 { color: var(--navy); font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
.info-panel ul { list-style: none; display: grid; gap: 10px; }
.info-panel ul li { padding-left: 26px; position: relative; font-size: .97rem; }
.info-panel ul li::before { content: "👟"; position: absolute; left: 0; top: 0; font-size: .9rem; }
.info-panel.alert ul li::before { content: "⭐"; }
.map-figure { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.map-figure img { width: 100%; }
.map-figure figcaption { padding: 14px 18px; font-size: .92rem; color: var(--ink-soft); }

/* ---------- Mission / vision ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv-card {
  background: #fff; border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow);
  border-top: 6px solid var(--gold);
}
.mv-card h3 { color: var(--navy); font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
.mv-card p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Principal message ---------- */
.principal-grid { display: grid; grid-template-columns: 320px 1fr; gap: 34px; align-items: start; }
.principal-photo { position: sticky; top: 110px; text-align: center; }
.principal-photo img {
  width: 100%; max-width: 300px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 5px solid #fff;
}
.principal-photo figcaption { margin-top: 12px; }
.principal-photo strong { color: var(--navy); font-family: var(--font-display); font-size: 1.1rem; display: block; }
.principal-photo span { color: var(--royal); font-weight: 800; font-size: .9rem; }
.prose p { margin-bottom: 16px; }
.prose .caveat { font-size: 1.55rem; color: var(--royal); }

/* ---------- Tour / schedule card ---------- */
.sched-list {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 18px; margin: 18px 0 8px;
}
.sched-list li {
  background: var(--gold-pale); border-radius: 10px; padding: 10px 14px;
  display: flex; justify-content: space-between; gap: 8px; font-size: .95rem;
}
.sched-list strong { color: var(--navy); }

/* ---------- Contact page ---------- */
.contact-hours { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.hour-chip { background: var(--gold-pale); border-radius: 999px; padding: 7px 16px; font-weight: 800; font-size: .9rem; color: var(--navy); }

/* ---------- PTA corner ---------- */
.pta-banner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  background: #fff; border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow-lg);
  border-left: 8px solid var(--gold);
}
.pta-banner img { width: 110px; height: 110px; border-radius: 50%; border: 4px solid var(--gold); }
.pta-banner h3 { color: var(--navy); font-size: 1.5rem; font-weight: 600; margin-bottom: 6px; }
.pta-banner p { color: var(--ink-soft); max-width: 560px; }
.pta-banner .btn { margin-top: 10px; }

/* ---------- Footer school info ---------- */
.footer-contact { font-size: .92rem; }
.footer-contact a { color: var(--gold-soft); }

/* ---------- Responsive additions ---------- */
@media (max-width: 960px) {
  .link-grid, .file-grid, .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .split-2, .mv-grid { grid-template-columns: 1fr; }
  .principal-grid { grid-template-columns: 1fr; }
  .principal-photo { position: static; }
  .admin-grid { grid-template-columns: 1fr; }
  .sched-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .link-grid, .file-grid, .dir-grid { grid-template-columns: 1fr; }
  .sched-list { grid-template-columns: 1fr; }
  .page-hero { padding: 40px 0 72px; }
}
