/* Newsreader and Work Sans (SIL Open Font License), self-hosted */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/newsreader-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/newsreader-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/newsreader-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/newsreader-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/work-sans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/work-sans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #22325c;
  --rust: #a04a2c;
  --ink: #24211d;
  --paper: #faf7f1;
  --body-soft: #4a443c;
  --muted: #5c554b;
  --serif: 'Newsreader', Georgia, serif;
}

html, body { margin: 0; background: var(--paper); }
* { box-sizing: border-box; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rust); }

.page {
  font-family: 'Work Sans', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
}
.wrap { max-width: 1120px; margin: 0 auto; }

h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 40px; color: var(--navy); }

.photo { aspect-ratio: 4 / 3; width: 100%; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }

.site-header { padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.brand { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--navy); }
.site-nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }
.site-nav a { color: var(--ink); text-decoration: none; }

.hero { padding: 48px 28px 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.eyebrow { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rust); font-weight: 600; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 64px); line-height: 1.05; color: var(--navy); text-wrap: balance; }
.lede { margin: 0; font-size: 19px; max-width: 520px; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { text-decoration: none; white-space: nowrap; border-radius: 4px; font-weight: 500; }
.btn-primary { background: var(--navy); color: var(--paper); padding: 14px 24px; }
.btn-primary:hover { background: #1a2747; color: var(--paper); }
.btn-outline, .btn-outline:hover { border: 1px solid var(--navy); color: var(--navy); padding: 13px 24px; }

.programs { background: #f1ebe0; }
.programs > .wrap { padding: 72px 28px; display: flex; flex-direction: column; gap: 40px; }
.program-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 2px; background: #d9cfbf; border: 1px solid #d9cfbf; }
.program { background: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.program-name { font-family: var(--serif); font-size: 26px; color: var(--navy); }
.program-ages { font-size: 15px; color: var(--muted); }
.features { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px 40px; }
.features li { display: flex; gap: 12px; }
.features li::before { content: "—"; color: var(--rust); }
.note { margin: 0; font-size: 15px; color: var(--muted); }

.curriculum { padding: 72px 28px; display: flex; flex-direction: column; gap: 40px; }
.subjects { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px 40px; }
.subject { display: flex; flex-direction: column; gap: 6px; }
.subject h3 { margin: 0; font-size: 17px; font-weight: 600; }
.subject p { margin: 0; color: var(--body-soft); text-wrap: pretty; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }

.about { background: var(--navy); color: var(--paper); }
.about > .wrap { padding: 72px 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; }
.about h2 { color: inherit; }
.about-text { display: flex; flex-direction: column; gap: 16px; }
.about-text p { margin: 0; text-wrap: pretty; }
.about-text .signature { font-family: var(--serif); font-style: italic; font-size: 19px; }

.contact { padding: 72px 28px; display: flex; flex-direction: column; gap: 40px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; }
.contact-label { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #7a7266; }
.contact-note { margin: 0; color: var(--body-soft); }

.site-footer { border-top: 1px solid #e3dccf; }
.site-footer > .wrap { padding: 28px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 14px; color: var(--muted); }
.motto { font-family: var(--serif); font-style: italic; font-size: 17px; }
.footer-links { display: flex; gap: 20px; }
