:root {
  --brand: #019302;
  --brand-text: #018002;
  --gold: #c6a15a;
  --gold-soft: #f4e4bc;
  --gold-ink: #5c4308;
  --navy: var(--brand);
  --navy-soft: #017a02;
  --green: var(--brand);
  --green-dark: var(--brand-text);
  --ink: #1b2422;
  --muted: #3e4c48;
  --cream: #f4f0e6;
  --paper: #fffcf7;
  --line: #e2d7c6;
  --danger: #8a2e2e;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: min(1120px, calc(100% - 2rem));
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

main,
section,
[id] { scroll-margin-top: 6.5rem; }

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

img { max-width: 100%; }

a { color: var(--green-dark); }

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

:focus-visible {
  outline: 3px solid #1b2422;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--paper);
  color: var(--navy);
  padding: 0.6rem 0.9rem;
  z-index: 50;
}

.skip:focus { top: 0.75rem; }

.wrap { width: var(--wrap); margin-inline: auto; }

.utility {
  background: var(--brand);
  color: #fff;
  font-size: 1.175rem;
  font-weight: 700;
}

.utility a { color: #fff; }

.utility-inner {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  padding: 0.55rem 0;
}

.utility p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 252, 247, 0.96);
  border-bottom: 4px solid var(--brand);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--navy);
  text-decoration: none;
  padding: 0.6rem 0;
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.15;
  font-weight: 700;
}

.brand-place {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 0.15rem;
}

.logo {
  width: 7.4rem;
  height: auto;
  flex: none;
  display: block;
}

.menu > summary {
  list-style: none;
  cursor: pointer;
  min-height: 3rem;
  padding: 0 0.95rem;
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--brand);
  background: var(--paper);
  color: var(--brand-text);
  font-weight: 700;
}

.menu > summary::-webkit-details-marker { display: none; }

.menu nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.7rem;
  color: var(--brand-text);
  text-decoration: none;
  font-weight: 700;
}

.menu a[aria-current="page"] {
  color: var(--green-dark);
  box-shadow: inset 0 -2px 0 var(--green);
}

@media (max-width: 959px) {
  .header-inner { flex-wrap: wrap; padding-bottom: 0.8rem; }
  .menu { width: 100%; }
  .menu nav { padding-top: 0.4rem; }
  .menu a {
    display: flex;
    border-top: 1px solid var(--line);
    padding: 0.85rem 0.2rem;
  }
}

@media (min-width: 960px) {
  .site-header .menu > summary { display: none; }
  .site-header .menu:not([open]) > nav { display: block; }
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.75rem 0 1.5rem;
}

h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--navy); font-weight: 600; }

h1 { font-size: clamp(2.15rem, 4.4vw, 3.5rem); margin: 0 0 0.8rem; letter-spacing: -0.02em; }

h2 { font-size: clamp(1.6rem, 2.4vw, 2.15rem); margin: 0 0 0.75rem; }

h3 { font-size: 1.5rem; margin: 0 0 0.4rem; }

.kicker {
  margin: 0 0 0.55rem;
  color: var(--brand-text);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede, .prose p { max-width: 68ch; }

.lede { font-size: 1.18rem; margin-top: 0; }

.established {
  margin: 0 0 0.85rem;
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 700;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.4rem 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.1rem;
  text-decoration: none;
  font-size: 1.175rem;
  font-weight: 700;
  border-radius: 2px;
}

.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--green-dark); color: white; }
.button-secondary { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.button-secondary:hover { background: var(--navy); color: white; }

.photo-slot {
  min-height: 18rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  padding: 1rem;
  border: 1.5px dashed var(--green);
  background:
    linear-gradient(180deg, rgba(16, 42, 58, 0.02), rgba(16, 42, 58, 0.08)),
    repeating-linear-gradient(-45deg, rgba(27, 94, 59, 0.07) 0 10px, transparent 10px 20px);
  color: var(--navy);
}

.photo-slot strong {
  align-self: flex-start;
  background: var(--navy);
  color: white;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.5rem;
}

.photo-slot p { margin: 0; max-width: 36ch; font-size: 0.95rem; }
.photo-slot.spaced { margin-top: 1rem; }

.photo-slot.waiting {
  justify-content: center;
  min-height: 10.5rem;
  background: #e8f6e8;
  border: 1px solid var(--brand);
}

.location-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.location-list li {
  margin: 0;
  padding: 1rem 1.1rem 0.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.map-frame {
  display: block;
  width: 100%;
  height: 22rem;
  margin-top: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  z-index: 0;
}

.leaflet-div-icon.map-pin {
  background: #019302;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.stats {
  list-style: none;
  margin: 0;
  padding: 0 0 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.stats li, .panel, .card, .callout, .form-card {
  background: var(--paper);
  border: 1px solid var(--line);
}

.stats li { padding: 1rem 1.1rem; }

.stats strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--navy); font-weight: 600; }

.stats span, .muted { color: var(--muted); }

.block { padding: 2.6rem 0; }

.band { background: #fbf7f0; border-block: 1px solid var(--line); }

.cards, .streams, .location-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.card { padding: 0 0 1.15rem; display: flex; flex-direction: column; }

.card .photo-slot { min-height: 11rem; border: 0; border-bottom: 1px dashed var(--green); }

.card > :not(.photo-slot):not(.shot), .card-body { padding: 0 1.1rem; }

.shot { margin: 0; max-width: 100%; }
.shot img { display: block; width: 100%; height: auto; object-fit: cover; }
.shot-students { max-width: 720px; }
.shot-students img { max-height: 383px; aspect-ratio: 720 / 383; }
.shot-classroom { max-width: 532px; }
.shot-classroom img { max-height: 264px; aspect-ratio: 532 / 264; }
.shot-netball { max-width: 245px; }
.shot-netball img { max-height: 255px; aspect-ratio: 245 / 255; }
.shot-dance { max-width: 282px; }
.shot-dance img { max-height: 260px; aspect-ratio: 282 / 260; }
.shot-apex { max-width: 1200px; }
.shot-apex img { max-height: 800px; aspect-ratio: 1200 / 800; }
.shot-highschool { max-width: 960px; }
.shot-highschool img { max-height: 641px; aspect-ratio: 960 / 641; }
.shot-graduation { max-width: 1600px; }
.shot-graduation img { max-height: 1055px; aspect-ratio: 1600 / 1055; }
.shot-room { max-width: 1600px; }
.shot-room img { max-height: 1200px; aspect-ratio: 1600 / 1200; }
.shot-hero { max-width: 1280px; }
.shot-hero img { max-height: 1020px; aspect-ratio: 1280 / 1020; }
.shot-reading { max-width: 1200px; }
.shot-reading img { max-height: 942px; aspect-ratio: 1200 / 942; }
.shot-sums { max-width: 800px; }
.shot-sums img { max-height: 1080px; aspect-ratio: 800 / 1080; }
.hero .shot { justify-self: end; width: min(100%, 640px); }
.placeholder-note {
  margin: 0;
  padding: 0.4rem 0.65rem;
  background: #014f01;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card .shot { width: min(100%, var(--shot, 100%)); margin-inline: auto; }
.card .shot-classroom { --shot: 532px; }
.card .shot-students { --shot: 720px; }
.card .shot-apex { --shot: 1200px; }
.card .shot-highschool { --shot: 960px; }
.card .shot img { height: 10.5rem; }
.life { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; }

.card h2, .card h3 { margin-top: 0.9rem; }
.card > h3:first-child { padding-top: 0.4rem; }

.card p:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; align-items: start; }

.on-this-page {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.on-this-page a { font-weight: 700; }

.prose h2, .prose h3 { margin-top: 1.6rem; }

.prose ul, .prose ol { padding-left: 1.2rem; max-width: 68ch; }

.prose li + li { margin-top: 0.3rem; }

.callout { padding: 1.2rem 1.25rem 1.3rem; border-left: 5px solid var(--green); }

.callout ol { margin-bottom: 0; }

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--paper);
}

.scroll-hint { display: none; color: var(--muted); font-size: 0.92rem; }

table { width: 100%; border-collapse: collapse; min-width: 36rem; }

caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  padding: 0.9rem 0.9rem 0.7rem;
}

th, td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

thead th { background: var(--brand); color: white; font-size: 1.175rem; font-weight: 700; }

tbody th { color: var(--navy); }

tbody tr:nth-child(even) { background: #f7f3eb; }

.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.facts { display: grid; grid-template-columns: 11rem 1fr; gap: 0.45rem 1rem; margin: 0; }

.facts dt { font-weight: 700; color: var(--navy); }

.facts dd { margin: 0; }

.pay-box { padding: 1.2rem 1.25rem; }

.page-hero { padding: 2.4rem 0 0.4rem; }

.page-hero .lede { margin-bottom: 1.4rem; }

address { font-style: normal; }

.phone-large {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.1;
  margin: 0.2rem 0 0.8rem;
}

.phone-large a { color: var(--navy); text-decoration: none; }
.phone-large a:hover { text-decoration: underline; }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1.25rem; align-items: start; }

.form-card { padding: 1.15rem 1.15rem 1.3rem; }

form { display: grid; gap: 0.9rem; }

label { display: grid; gap: 0.3rem; font-weight: 700; color: var(--navy); }

input, select, textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid #c9bfae;
  border-radius: 2px;
  background: white;
  color: var(--ink);
  font: inherit;
}

textarea { min-height: 9rem; resize: vertical; }

.req { font-weight: 600; color: var(--muted); }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status { min-height: 1.5rem; margin: 0; font-weight: 700; }
.form-status.error { color: var(--danger); }
.form-status.success { color: var(--green-dark); }
.form-status:focus { outline: none; }

.note {
  margin: 0;
  padding: 0.8rem 0.9rem;
  background: #f7f1e4;
  border: 1px solid var(--line);
}

button.button { border: 0; cursor: pointer; font: inherit; }
button:disabled { opacity: 0.65; cursor: not-allowed; }

.site-footer { background: var(--brand); color: #fff; margin-top: 1rem; font-size: 1.175rem; font-weight: 700; }

.site-footer a { color: white; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
  padding: 2.2rem 0 1.2rem;
}

.footer-name, .footer-heading {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0 0 0.45rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 0.35rem; }

.footer-end {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.9rem 0 1.3rem;
  color: #ddd4c6;
  font-size: 0.95rem;
}

.footer-end p { margin: 0; max-width: 70ch; }

.logo-footer {
  width: 6.4rem;
  margin-bottom: 0.7rem;
  background: #fff;
  border-radius: 0.4rem;
  padding: 0.28rem 0.35rem 0.15rem;
}

.book-grade { margin-top: 0.4rem; }
.book-grade h2 {
  padding-bottom: 0.35rem;
  border-bottom: 3px solid var(--gold);
}
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1rem;
}
.book-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  padding: 1rem 1.05rem 1.1rem;
}
.book-card.soon { background: #fbf6ea; }
.book-card h3 { margin-top: 0; }
.coming-soon {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.15rem 0.45rem;
  background: var(--gold-soft);
  color: var(--gold-ink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.edition-list { list-style: none; margin: 0; padding: 0; }
.edition-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.price-tag {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--gold-ink);
  font-weight: 700;
  text-align: right;
}
.order-label { color: var(--brand-text); font-size: 0.82rem; }
.order-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--brand);
  padding: 1.1rem 1.2rem 1.2rem;
}
.order-panel h2 { margin-top: 0; }
.form-follow { margin-top: 1.25rem; }
#book-quantities { border: 0; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
#book-quantities legend { font-weight: 700; color: var(--navy); padding: 0; }
.qty-group {
  padding: 0.75rem 0 0.2rem;
  border-top: 1px solid var(--line);
}
.qty-title { margin: 0 0 0.4rem; font-weight: 700; color: var(--brand-text); }
.qty-line {
  display: grid;
  grid-template-columns: 1fr 6.5rem;
  gap: 0.75rem;
  align-items: center;
  font-weight: 600;
}
.qty-line input { min-height: 2.6rem; }
#order-copy {
  white-space: pre-wrap;
  margin: 0;
  padding: 0.8rem 0.9rem;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  color: var(--ink);
  font-family: var(--sans);
}

@media (max-width: 800px) {
  .hero, .cards, .streams, .split, .contact-grid, .footer-grid, .stats, .location-list, .book-grid { grid-template-columns: 1fr; }
  .qty-line { grid-template-columns: 1fr; }
  .map-frame { height: 16rem; }
  .scroll-hint { display: block; }
  .facts { grid-template-columns: 1fr; gap: 0.15rem; }
  .facts div, .facts dt { margin-top: 0.55rem; }
  .actions .button { width: 100%; }
  .photo-slot { min-height: 14rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .utility, .menu, .actions, .site-footer, .skip { display: none !important; }
  body { background: white; }
  .site-header { position: static; }
  a { text-decoration: underline; }
}
