:root {
  --ink: #1b2420;
  --ink-soft: #4a5751;
  --paper: #fbf8f3;
  --paper-warm: #f4efe6;
  --green: #1f4d3d;
  --green-bright: #2f6b55;
  --rule: #ded5c6;
  --measure: 68ch;
  --shell: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
a { color: var(--green); }
a:hover { color: var(--green-bright); }
img { max-width: 100%; }
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--green); color: #fff;
  padding: 10px 16px; z-index: 10;
}
.skip:focus { left: 0; }

/* Masthead */
.masthead { border-bottom: 1px solid var(--rule); background: var(--paper); }
.masthead-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap;
}
.wordmark { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.crest {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--green); color: #fff; display: grid; place-items: center;
  font-size: 17px; letter-spacing: .04em; font-weight: 600;
}
.wordmark .names strong { display: block; font-size: 19px; font-weight: 600; }
.wordmark .place {
  display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
nav a {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px; text-decoration: none; color: var(--ink);
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
nav a:hover, nav a[aria-current="page"] { border-bottom-color: var(--green); }

/* Hero. Two columns at the widths this is mostly read at: words on the left,
   a photograph on the right. The first cut was type-only and read as an
   unfinished build — every school site in the country is image-led, and a
   principal judges ours against those, not against a design annual. */
.hero { padding: 52px 0 44px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.hero h1 { font-size: clamp(34px, 4.2vw, 48px); max-width: 15ch; }
.hero p { font-size: 19px; color: var(--ink-soft); max-width: 46ch; margin: 0 0 26px; }
.hero-photo { margin: 0; }
.hero-photo img {
  display: block; width: 100%; height: auto; border-radius: 12px;
  border: 1px solid var(--rule);
}

/* The next few dates, as a band under the hero rather than a sidebar card —
   the thing a parent opens the site to check. */
.upnext { background: var(--paper-warm); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 30px 0; }
.upnext .section-head { margin-bottom: 18px; }
.upnext ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 900px) { .upnext ul { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.upnext li { border-left: 2px solid var(--green); padding-left: 14px; }
.upnext .when {
  display: block; font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px; letter-spacing: .04em; color: var(--green); margin-bottom: 3px;
}
.upnext .what { font-size: 17px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px;
  text-decoration: none; padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--green); color: var(--green); display: inline-block;
}
.btn-solid { background: var(--green); color: #fff; }
.btn:hover { background: var(--green-bright); border-color: var(--green-bright); color: #fff; }

/* Sections */
section { padding: 56px 0; border-bottom: 1px solid var(--rule); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: 28px; margin: 0; }
.section-head a {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14px; text-decoration: none;
}
.eyebrow {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  margin: 0 0 10px;
}

/* Notices */
/* minmax(220px) so four notices sit in one row at desktop width. At 280px the
   fourth wrapped onto a line of its own and the board looked half-finished. */
.notices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.notice {
  background: var(--paper-warm); border: 1px solid var(--rule); border-radius: 10px;
  padding: 22px 22px 20px; position: relative;
}
.notice.pinned { border-color: var(--green); box-shadow: inset 3px 0 0 var(--green); }
.notice h3 { font-size: 19px; }
.notice p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.tag {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--green);
  display: block; margin-bottom: 8px;
}

/* Term dates */
.dates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.dates li {
  display: grid; grid-template-columns: 220px 1fr; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.dates .when {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14px;
  color: var(--green); letter-spacing: .01em;
}
.dates .what { font-size: 18px; }
.dates .where { display: block; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 640px) { .dates li { grid-template-columns: 1fr; gap: 4px; } }

/* News */
.news { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.news article img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--rule); margin-bottom: 16px;
}
.news article h3 { font-size: 21px; }
.news article h3 a { text-decoration: none; color: inherit; }
.news article h3 a:hover { color: var(--green); }
.news article p { color: var(--ink-soft); margin: 0 0 10px; }
.byline {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 13px;
  color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px;
}

/* Article page */
.article { padding: 56px 0 72px; }
.article h1 { font-size: clamp(30px, 4vw, 42px); max-width: 22ch; }
.article > img {
  display: block; width: 100%; max-width: var(--shell); height: auto;
  border-radius: 12px; border: 1px solid var(--rule); margin: 0 0 32px;
}
.article .body { max-width: var(--measure); }
.article .body h2 { font-size: 24px; margin-top: 1.6em; }
.article .body p { margin: 0 0 1.1em; }
.back {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14px;
  text-decoration: none; display: inline-block; margin-bottom: 24px;
}

/* Footer */
footer { padding: 44px 0 60px; font-size: 15px; color: var(--ink-soft); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
footer strong { display: block; color: var(--ink); margin-bottom: 6px; font-size: 15px; }
footer a { color: var(--ink-soft); }