/* Mount Sunset Group of Schools — site styles
   Palette drawn from the school crest: bottle green, sunset gold, white. */

:root {
  --green-950: #08240f;
  --green-900: #0b2e15;
  --green-800: #14421f;
  --green-700: #1c5a2c;
  --green-600: #2a7a3c;
  --green-100: #dfeadf;
  --green-50: #f3f6f2;

  --gold-600: #a97b1c;
  --gold-500: #c9962b;
  --gold-300: #e6c77a;
  --gold-100: #f8efd9;
  --sunset: #d97b00;

  --ink: #17231a;
  --ink-2: #47554a;
  --ink-3: #6f7c72;
  --line: #d3dcd3;
  --white: #ffffff;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --container: 1160px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--green-900);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; color: var(--green-800); }

p { margin: 0 0 1.1em; max-width: 68ch; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: 0.3em; }

a { color: var(--green-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--green-900); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--gold-500); color: var(--green-950); padding: 0.6rem 1rem; z-index: 100;
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 84px;
}
.brand {
  display: flex; align-items: center; gap: 0.85rem;
  text-decoration: none; color: var(--green-900);
}
.brand img { width: 58px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: 0.005em; }
.brand-sub { font-size: 0.82rem; color: var(--ink-2); letter-spacing: 0.06em; margin-top: 3px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(0.5rem, 1.5vw, 1.6rem); }
.site-nav a {
  display: inline-block; padding: 0.55rem 0.15rem; text-decoration: none;
  color: var(--ink); font-weight: 500; font-size: 0.98rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--green-800); border-bottom-color: var(--gold-300); }
.site-nav a[aria-current="page"] { color: var(--green-900); border-bottom-color: var(--gold-500); }
.site-nav .nav-cta a {
  background: var(--green-800); color: var(--white); padding: 0.55rem 1rem; border-radius: var(--radius); border: 0;
}
.site-nav .nav-cta a:hover { background: var(--green-900); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-weight: 600; color: var(--green-900); padding: 0.5rem 0.9rem; cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open { display: block; }
  .header-inner { flex-wrap: wrap; padding-block: 0.6rem; }
  .site-nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--line); padding-block: 0.5rem; }
  .site-nav a { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--green-50); }
  .site-nav .nav-cta { padding-top: 0.6rem; }
  .site-nav .nav-cta a { display: inline-block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.85rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; font-size: 1rem; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
}
.btn-gold { background: var(--gold-500); color: var(--green-950); border-color: var(--gold-500); }
.btn-gold:hover { background: var(--gold-300); border-color: var(--gold-300); color: var(--green-950); }
.btn-green { background: var(--green-800); color: var(--white); border-color: var(--green-800); }
.btn-green:hover { background: var(--green-900); border-color: var(--green-900); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: var(--white); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: min(88vh, 760px); display: flex; align-items: center;
  background: var(--green-900); color: var(--white); overflow: hidden; isolation: isolate;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  z-index: -2;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,36,15,0.25) 0%, rgba(8,36,15,0.1) 40%, rgba(8,36,15,0.55) 100%),
    linear-gradient(90deg, rgba(8,36,15,0.88) 0%, rgba(8,36,15,0.7) 40%, rgba(8,36,15,0.25) 75%, rgba(8,36,15,0.1) 100%);
}
.hero-content { padding-block: clamp(4rem, 10vw, 7rem) clamp(7rem, 14vw, 10rem); max-width: 720px; }
.hero-kicker { color: var(--gold-300); font-weight: 500; margin-bottom: 1rem; font-size: 1.02rem; }
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255,255,255,0.92); max-width: 58ch; }
.hero .btn-outline-light:focus-visible { outline-color: var(--white); }

.hero-sun {
  position: absolute; z-index: 0; width: clamp(64px, 8vw, 110px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #f6d36b 0%, var(--gold-500) 45%, var(--sunset) 100%);
  right: 17%; bottom: calc(clamp(30px, 4.5vw, 65px) - clamp(32px, 4vw, 55px));
  box-shadow: 0 0 60px rgba(217,123,0,0.45);
}
.hero-ridge {
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(60px, 9vw, 130px);
  z-index: 1; display: block;
}
.hero-ridge path { fill: var(--white); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative; background: var(--green-900); color: var(--white); overflow: hidden; isolation: isolate;
}
.page-banner .banner-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2;
}
.page-banner .banner-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,36,15,0.92) 0%, rgba(8,36,15,0.75) 50%, rgba(8,36,15,0.4) 100%);
}
.page-banner .container { padding-block: clamp(3rem, 7vw, 5.5rem); }
.page-banner h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-banner .lede { color: rgba(255,255,255,0.9); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 60ch; margin: 0; }
.page-banner .gold-rule { width: 64px; height: 3px; background: var(--gold-500); margin-bottom: 1.4rem; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-tint { background: var(--green-50); }
.section-green { background: var(--green-900); color: var(--white); }
.section-green h2, .section-green h3 { color: var(--white); }
.section-green p { color: rgba(255,255,255,0.88); }
.section-green a { color: var(--gold-300); }
.section-green a:hover { color: var(--white); }

.section-head { margin-bottom: clamp(1.8rem, 4vw, 3rem); max-width: 68ch; }
.section-head h2 { margin-bottom: 0.5rem; }
.section-head .lede { font-size: 1.15rem; color: var(--ink-2); margin: 0; }
.section-green .section-head .lede { color: rgba(255,255,255,0.85); }

.lede { font-size: 1.15rem; color: var(--ink-2); }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.split-text-wide { grid-template-columns: 1.15fr 1fr; }
  .split.split-reverse > :first-child { order: 2; }
}
.split img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.photo-frame { position: relative; }
.photo-frame img { aspect-ratio: 4 / 3; }
.photo-frame::after {
  content: ""; position: absolute; inset: auto -12px -12px auto; width: 45%; height: 45%;
  border-right: 3px solid var(--gold-500); border-bottom: 3px solid var(--gold-500); border-radius: 0 0 var(--radius) 0;
  pointer-events: none;
}

/* Motto band */
.motto-band { background: var(--white); padding-block: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem); text-align: center; }
.motto {
  font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.9rem); color: var(--green-900);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.4em 0.75em;
  margin: 0 0 0.4rem; font-weight: 500; letter-spacing: 0.01em;
}
.motto .dot { width: 0.32em; height: 0.32em; border-radius: 50%; background: var(--gold-500); display: inline-block; }
.motto-band .motto-note { margin: 0 auto; color: var(--ink-3); font-size: 0.98rem; }

/* Vision and mission statements */
.section-statements { padding-block: clamp(3rem, 6vw, 4.5rem); }
.statements { display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); }
@media (min-width: 860px) { .statements { grid-template-columns: 1fr 1.35fr; } }
.statement { border-top: 2px solid var(--gold-500); padding-top: 1.2rem; }
.statement-label {
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  color: var(--gold-300); margin: 0 0 0.6rem;
}
.section-green .statement-text {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.35;
  color: var(--white); margin: 0; max-width: 34ch;
}

/* Facts ledger */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--green-800); }
.ledger li {
  display: grid; grid-template-columns: minmax(120px, 0.7fr) 1.3fr; gap: 1rem;
  padding: 0.9rem 0; border-bottom: 1px solid var(--line); margin: 0;
}
.ledger dt, .ledger .k { color: var(--ink-2); font-weight: 500; }
.ledger .v { color: var(--ink); }
.ledger .v strong { color: var(--green-900); font-weight: 600; }

dl.ledger { display: block; }
dl.ledger > div {
  display: grid; grid-template-columns: minmax(130px, 0.7fr) 1.3fr; gap: 1rem;
  padding: 0.9rem 0; border-bottom: 1px solid var(--line);
}
dl.ledger dt { color: var(--ink-2); font-weight: 500; }
dl.ledger dd { margin: 0; }

/* Schools table */
.table-wrap { overflow-x: auto; }
.schools-table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 560px; }
.schools-table th, .schools-table td { text-align: left; padding: 1rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.schools-table thead th { border-bottom: 2px solid var(--green-800); color: var(--green-900); font-weight: 600; font-size: 0.95rem; }
.schools-table tbody th { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--green-900); }
.schools-table td .yes { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--green-800); font-weight: 600; }
.schools-table td .yes::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-500); }
.schools-table td .no { color: var(--ink-3); }
.schools-table td.note { color: var(--ink-2); }

/* Subject lists */
.subject-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 760px) { .subject-grid { grid-template-columns: 1fr 1fr; } }
.subject-block { border-top: 3px solid var(--green-800); padding-top: 1.2rem; }
.subject-block h3 { margin-bottom: 0.25rem; }
.subject-block .sub { color: var(--ink-2); margin-bottom: 1.1rem; }
.subject-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.5rem; }
.subject-list li { break-inside: avoid; padding: 0.42rem 0; border-bottom: 1px solid var(--line); margin: 0; }
@media (max-width: 480px) { .subject-list { columns: 1; } }

/* Feature list (sports / clubs) */
.feature-cols { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 760px) { .feature-cols { grid-template-columns: 1fr 1fr; } }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding: 0.65rem 0; border-bottom: 1px solid var(--line); margin: 0; display: flex; gap: 0.8rem; align-items: baseline; }
.plain-list li::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); position: relative; top: -2px; }
.section-green .plain-list li { border-bottom-color: rgba(255,255,255,0.15); }

/* Values */
.values { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { border-left: 3px solid var(--gold-500); padding-left: 1.2rem; }
.value h3 { margin-bottom: 0.4rem; }
.value p { margin: 0; color: var(--ink-2); }

/* Campus sections */
.campus { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.campus:last-of-type { border-bottom: 0; }
@media (min-width: 860px) { .campus { grid-template-columns: 1fr 1fr; align-items: center; } .campus.campus-reverse > :first-child { order: 2; } }
.campus img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.campus h2 { margin-bottom: 0.3rem; }
.campus .campus-loc { color: var(--ink-2); margin-bottom: 1rem; font-size: 1.05rem; }
.offer { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.offer li { margin: 0; padding: 0.35rem 0.8rem; border: 1px solid var(--green-800); color: var(--green-800); border-radius: 999px; font-size: 0.92rem; font-weight: 500; }
.offer li.offer-gold { border-color: var(--gold-500); background: var(--gold-100); color: var(--gold-600); }

/* Photo strip / gallery */
.photo-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 700px) { .photo-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .photo-strip { grid-template-columns: repeat(6, 1fr); } }
.photo-strip a { display: block; }
.photo-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

/* Gallery wall: framed prints stacked on a green wall */
.gallery-wall {
  background:
    radial-gradient(ellipse 120% 60% at 50% -10%, rgba(42,122,60,0.55) 0%, rgba(20,66,31,0) 60%),
    linear-gradient(180deg, var(--green-800) 0%, var(--green-900) 55%, var(--green-950) 100%);
  border-top: 6px solid var(--gold-500);
  box-shadow: inset 0 8px 0 rgba(0,0,0,0.25);
  padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 6rem);
}
.gallery-wall .section-head h2 { color: var(--white); }
.gallery-wall .section-head .lede { color: rgba(255,255,255,0.8); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  padding-inline: 0.6rem;
}
@media (min-width: 560px) {
  .gallery .wide { grid-column: span 2; }
  .gallery .tall { grid-row: span 2; }
}

.print {
  position: relative; display: block; height: 100%;
  text-decoration: none;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
.print:nth-child(5n+1) { --tilt: -1.6deg; }
.print:nth-child(5n+2) { --tilt: 1.3deg; }
.print:nth-child(5n+3) { --tilt: -0.7deg; }
.print:nth-child(5n+4) { --tilt: 1.9deg; }
.print:nth-child(5n+5) { --tilt: -1.1deg; }
.print:hover, .print:focus-visible { transform: rotate(0deg) translateY(-6px); z-index: 2; }
.print:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 6px; }

/* Loose prints tucked behind each framed photo */
.print::before, .print::after {
  content: ""; position: absolute; inset: 6px;
  background: #f3efe4; border: 5px solid #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  z-index: 0;
}
.print::before { transform: rotate(-4.5deg) translate(7px, 5px); }
.print::after { transform: rotate(3.5deg) translate(-6px, 7px); }
.print:nth-child(even)::before { transform: rotate(4deg) translate(-7px, 6px); }
.print:nth-child(even)::after { transform: rotate(-3deg) translate(6px, 8px); }

.frame {
  position: relative; z-index: 1; display: block; height: 100%;
  padding: 7px;
  background: linear-gradient(135deg, #f1d88a 0%, #d3a53a 22%, #a97b1c 48%, #c9962b 62%, #e9c56a 82%, #f6e2a0 100%);
  box-shadow:
    inset 0 0 0 1px rgba(90,60,10,0.45),
    inset 0 0 0 2px rgba(255,240,200,0.45),
    0 18px 32px -12px rgba(0,0,0,0.65),
    0 3px 8px rgba(0,0,0,0.35);
}
.mat {
  display: block; height: 100%; padding: 9px;
  background: #fbfaf6;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
}
.mat img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.3);
}

/* Placard cards between the photos */
.placard {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  height: 100%; padding: 1.4rem 1.5rem;
  background: #fbf7ec; color: var(--ink);
  border-top: 5px solid var(--gold-500);
  box-shadow: 0 14px 28px -12px rgba(0,0,0,0.6), 0 2px 6px rgba(0,0,0,0.3);
  transform: rotate(var(--tilt, 0deg));
}
.placard:nth-child(odd) { --tilt: 1deg; }
.placard:nth-child(even) { --tilt: -1.2deg; }
.placard::before {
  content: ""; position: absolute; top: -14px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f6e2a0, var(--gold-600) 70%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.placard h3 { font-size: 1.35rem; margin: 0 0 0.35rem; color: var(--green-900); }
.placard p { margin: 0; font-size: 0.95rem; color: var(--ink-2); line-height: 1.5; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(8,36,15,0.94); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(92vw, 1280px); max-height: 86vh; width: auto; height: auto;
  padding: 10px; background: #fbfaf6;
  border: 7px solid var(--gold-500);
  box-shadow: inset 0 0 0 1px rgba(90,60,10,0.45), 0 24px 48px rgba(0,0,0,0.6);
}
.lightbox button {
  position: absolute; background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.35);
  font: inherit; font-size: 1rem; padding: 0.55rem 0.9rem; border-radius: var(--radius); cursor: pointer;
}
.lightbox button:hover { background: rgba(255,255,255,0.22); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.8); font-size: 0.95rem; }
body.lb-locked { overflow: hidden; }

/* CTA band */
.cta-band { background: var(--green-800); color: var(--white); }
.cta-band .actions { margin-top: 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(2.5rem, 5vw, 4rem); }
.cta-band h2 { color: var(--white); margin: 0 0 0.35rem; }
.cta-band p { color: rgba(255,255,255,0.88); margin: 0; }

/* Admissions: enrolment requirements */
.req-grid { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }
@media (min-width: 640px) { .req-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .req-grid { grid-template-columns: repeat(4, 1fr); } }
.req {
  background: var(--white); border-top: 3px solid var(--green-800);
  padding: 1.3rem 1.4rem 1rem; box-shadow: 0 1px 2px rgba(23,35,26,0.06);
}
.req-wide { grid-column: 1 / -1; }
.req-transfer { border-top-color: var(--gold-500); }
.req .req-level { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); margin: 0 0 0.3rem; }
.req h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.req ul { list-style: none; padding: 0; margin: 0; }
.req li { padding: 0.5rem 0; border-bottom: 1px solid var(--line); margin: 0; display: flex; gap: 0.7rem; align-items: baseline; }
.req li::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); position: relative; top: -2px; }
.req li:last-child { border-bottom: 0; }
@media (min-width: 760px) {
  .req-wide ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2rem; }
  .req-wide li { border-bottom: 0; }
}

/* Admissions: uniform guide */
.uniform-grid { display: grid; gap: clamp(1.4rem, 3vw, 2.2rem); }
@media (min-width: 700px) { .uniform-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .uniform-grid { grid-template-columns: repeat(3, 1fr); } }
.uniform { margin: 0; }
.uniform a { display: block; }
.uniform img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.uniform figcaption { padding-top: 0.75rem; border-top: 2px solid var(--green-800); margin-top: 0.75rem; }
.uniform figcaption strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--green-900); line-height: 1.2; }
.uniform figcaption span { color: var(--ink-2); font-size: 0.95rem; }

/* Contact */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact-list li:first-child { border-top: 2px solid var(--green-800); }
.contact-list h3 { margin-bottom: 0.2rem; font-size: 1.25rem; }
.contact-list p { margin: 0.15rem 0; color: var(--ink-2); }
.contact-grid .h-campus { margin-top: 2.5rem; }
.placeholder { color: var(--gold-600); background: var(--gold-100); padding: 0 0.3em; border-radius: 3px; font-size: 0.95em; }

form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font-weight: 600; color: var(--green-900); font-size: 0.97rem; }
input, select, textarea {
  font: inherit; padding: 0.75rem 0.9rem; border: 1px solid #b9c5b9; border-radius: var(--radius);
  background: var(--white); color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--gold-300); outline-offset: 1px; border-color: var(--green-700); }
textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--ink-3); font-size: 0.92rem; margin: 0; }
.form-status { margin: 0; font-weight: 500; color: var(--green-800); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: rgba(255,255,255,0.85); padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img { width: 74px; flex: 0 0 auto; }
.footer-brand .brand-name { font-family: var(--serif); font-size: 1.4rem; color: var(--white); display: block; }
.footer-brand .brand-sub { color: rgba(255,255,255,0.7); letter-spacing: 0.06em; font-size: 0.85rem; display: block; margin-bottom: 0.8rem; }
.footer-brand p { color: rgba(255,255,255,0.78); font-size: 0.97rem; margin: 0; }
.footer-brand .footer-contact { margin-top: 0.8rem; line-height: 1.7; }
.footer-brand .footer-contact a { color: var(--gold-300); text-decoration: none; }
.footer-brand .footer-contact a:hover { color: var(--white); text-decoration: underline; }
.site-footer h4 { color: var(--gold-300); font-family: var(--sans); font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(255,255,255,0.88); text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); text-decoration: underline; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.65);
}
.footer-motto { color: var(--gold-300); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-muted { color: var(--ink-2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
