:root {
  color-scheme: light;
  --ink: #173d35;
  --ink-soft: #52645d;
  --green: #214f43;
  --green-dark: #163c34;
  --cream: #fbf8f0;
  --paper: #fffdf8;
  --yellow: #f5bd4d;
  --coral: #ee8064;
  --lilac: #e7e5f4;
  --line: #e8e5da;
  --font-body: "DM Sans", sans-serif;
  --font-heading: "Manrope", sans-serif;
}

.student-gallery-hero .documents-hero-inner { padding-top: 28px; }
.gallery-breadcrumb { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 32px; color: var(--ink-soft); font-size: 11px; }
.gallery-breadcrumb a:hover { text-decoration: underline; }
.gallery-breadcrumb > span[aria-hidden] { color: #a5ab9e; }
.student-gallery-hero h1 { font-size: clamp(38px, 5.3vw, 62px); }
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.gallery-tabs a { padding: 11px 20px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--green); font-size: 13px; font-weight: 700; transition: background .2s, color .2s; }
.gallery-tabs a:hover { background: #e8efe7; }
.gallery-tabs a[aria-current="page"] { border-color: var(--green); background: var(--green); color: #fff; }
.student-gallery-section + .student-gallery-section { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--line); }
.student-gallery-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.student-gallery-heading .eyebrow { margin-bottom: 10px; }
.student-gallery-heading h2 { margin: 0; font-size: clamp(26px, 3.3vw, 36px); line-height: 1.25; letter-spacing: -.04em; }
.student-gallery-heading h2 span { color: #d77857; }
.student-gallery-heading > p { max-width: 255px; margin: 0; color: var(--ink-soft); font-size: 12px; }
.student-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.student-photo { min-width: 0; overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.student-photo-link { position: relative; display: block; overflow: hidden; background: #f5f2e8; }
.student-photo-link img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.student-photo-zoom { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: 99px; background: rgba(255, 253, 248, .94); color: var(--ink); font-size: 11px; font-weight: 700; }
.student-photo-link:hover .student-photo-zoom { background: var(--green); color: #fff; }
.student-photo-link:focus-visible, .gallery-tabs a:focus-visible { outline: 3px solid #d77857; outline-offset: -4px; }
.student-photo figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; }
.student-photo h3 { margin: 0 0 4px; font-size: 20px; line-height: 1.3; letter-spacing: -.025em; }
.student-photo figcaption p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.student-photo-year { padding: 5px 10px; border-radius: 99px; background: #e8efe7; color: var(--green); font-size: 10px; font-weight: 700; }
.student-gallery-source { max-width: 800px; margin: 32px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.8; }
.student-gallery-source a { color: var(--green); text-decoration: underline; }
@media (max-width: 650px) {
  .student-gallery-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .gallery-tabs { gap: 8px; margin-bottom: 32px; }
  .gallery-tabs a { padding: 9px 13px; font-size: 12px; }
  .gallery-breadcrumb { margin-bottom: 26px; }
  .student-gallery-heading > p { max-width: none; }
  .student-photo figcaption { padding: 16px; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -60px; left: 12px; z-index: 20; padding: 10px 14px; background: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.topline { background: var(--green-dark); color: #edf2e9; font-size: 12px; }
.topline-inner, .topline-links { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topline-inner { min-height: 36px; }
.topline-links { gap: 26px; }
.topline a:hover, .footer-bottom a:hover { text-decoration: underline; }
.site-header { position: relative; z-index: 5; background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 0; }
.brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.brand span { display: grid; line-height: 1.35; }
.brand strong { font: 800 15px var(--font-heading); }
.brand small { margin-top: 3px; color: #738078; font-size: 11px; }
.main-nav { display: flex; align-items: center; gap: 18px; font-size: 12px; font-weight: 600; }
.main-nav > a:not(.nav-contact) { transition: color .2s; }
.main-nav > a:not(.nav-contact):hover { color: #d57a45; }
.nav-contact { padding: 12px 19px; border-radius: 999px; background: var(--green); color: white; }
.nav-contact span { margin-left: 8px; }
.login-button, .logout-button { padding: 8px 0; border: 0; background: transparent; color: var(--green); cursor: pointer; font-size: 12px; font-weight: 700; }
.account-status { color: #718076; font-size: 11px; }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; background: #f5f2e8; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 525px; padding-block: 46px 40px; }
.hero-copy { position: relative; z-index: 1; padding: 10px 0 20px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: #778477; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-heading); }
.hero h1 { max-width: 630px; margin-bottom: 20px; font-size: clamp(42px, 5.7vw, 72px); line-height: 1.08; letter-spacing: -.055em; }
.hero h1 span, .section-heading h2 span, .section-topline h2 span, .students-copy h2 span { color: #d77857; }
.hero-lead { max-width: 460px; margin-bottom: 25px; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 13px; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-dark); }
.button-quiet { color: var(--ink); }
.button-quiet:hover { background: #fff; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 30px; color: #788077; font-size: 11px; line-height: 1.5; }
.hero-note strong { color: var(--ink); font-size: 12px; }
.note-icon { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 50%; background: #f4dfae; color: #ab6b33; font-size: 21px; }
.hero-visual { position: relative; display: grid; min-height: 460px; place-items: center; padding: 12px 16px 18px; }
.hero-orbit { position: absolute; top: 5%; right: 5%; width: min(390px, 88%); aspect-ratio: 1; border-radius: 49% 51% 48% 52%; background: #eee5d4; transform: rotate(-12deg); }
.hero-image { position: relative; z-index: 1; display: block; width: min(390px, 100%); max-height: 500px; border: 7px solid rgba(255, 255, 255, .88); border-radius: 22px; object-fit: contain; box-shadow: 0 18px 42px rgba(55, 57, 47, .2); transform: rotate(1deg); }
.hero-image-edit { position: absolute; z-index: 3; bottom: 16px; left: 50%; transform: translateX(-50%); border: 2px solid var(--paper); box-shadow: 0 4px 18px rgba(22, 50, 40, .22); white-space: nowrap; }
.hero-image-edit[hidden] { display: none; }
.hero-image-help { margin: 8px 0; color: var(--ink-soft); font-size: 12px; }
.hero-image-preview { width: 100%; height: 250px; margin: 12px 0; border-radius: 10px; background: #f5f2e8; object-fit: contain; }
.hero-image-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.hero-sticker { position: absolute; right: -2px; bottom: 25px; z-index: 2; display: grid; width: 110px; height: 110px; align-content: center; justify-items: center; border: 6px solid var(--paper); border-radius: 50%; background: var(--yellow); color: #4b4536; line-height: 1.25; transform: rotate(8deg); }
.hero-sticker span { font-size: 11px; }
.hero-sticker strong { font: 800 14px var(--font-heading); text-align: center; }
.hero-spark { position: absolute; color: var(--coral); }
.spark-one { top: 34px; left: 6%; font-size: 30px; }
.spark-two { right: 0; top: 26%; color: #d69b36; font-size: 19px; }
.hero-bottom { background: #fff; }
.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-links > a { display: flex; min-height: 92px; align-items: center; gap: 14px; padding: 16px 26px; border-right: 1px solid var(--line); }
.quick-links > a:first-child { border-left: 1px solid var(--line); }
.quick-links > a:hover .quick-arrow { transform: translateX(5px); }
.quick-icon { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #f5efdf; color: #a36c3e; font-size: 19px; }
.quick-links > a:nth-child(2) .quick-icon { background: #e7eee6; color: var(--green); }
.quick-links > a:nth-child(3) .quick-icon { background: #f7e9e2; color: #c2745b; }
.quick-links > a > span:nth-child(2) { display: grid; line-height: 1.4; }
.quick-links small { color: #8a9288; font-size: 10px; }
.quick-links strong { font: 700 13px var(--font-heading); }
.quick-arrow { margin-left: auto; color: #9ca49a; transition: transform .2s; }

.section { padding-block: 100px; }
.about-section { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 95px; }
.section-heading h2, .section-topline h2, .students-copy h2 { margin-bottom: 20px; font-size: clamp(34px, 4vw, 48px); line-height: 1.15; letter-spacing: -.045em; }
.section-intro, .students-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 14px; line-height: 1.85; }
.section-intro { margin-bottom: 25px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid #d7b276; font-size: 12px; font-weight: 700; }
.text-link span { color: #d77857; font-size: 17px; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.value-card { min-height: 185px; padding: 23px; border-radius: 15px; }
.value-green { background: #e8efe7; }
.value-yellow { background: #f7f0df; }
.value-lilac { background: #efedf7; }
.value-icon { font-size: 23px; }
.value-card h3 { margin: 14px 0 7px; font-size: 16px; }
.value-card p { max-width: 230px; margin: 0; color: #68756a; font-size: 11px; line-height: 1.7; }
.values-caption { display: grid; align-content: center; padding-left: 12px; }
.values-caption span { margin-bottom: 8px; color: #858d83; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.values-caption strong { font: 700 20px/1.4 var(--font-heading); white-space: pre-line; }

.news-section { background: var(--cream); }
.section-topline { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-topline h2 { margin-bottom: 0; }
.news-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -14px 0 20px; }
.news-filter { min-height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--ink-soft); cursor: pointer; font: inherit; font-size: 11px; font-weight: 700; }
.news-filter:hover, .news-filter.is-active { border-color: var(--green); background: var(--green); color: #fff; }
.news-card[hidden] { display: none; }
.news-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.news-card { position: relative; overflow: hidden; display: flex; min-width: 0; flex-direction: column; border-radius: 15px; background: #fff; transition: transform .2s, box-shadow .2s; }
.news-secondary { position: relative; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(28, 58, 46, .1); }
.news-card-link { position: relative; display: flex; min-width: 0; flex: 1; flex-direction: column; color: inherit; }
.news-card-link:hover { color: inherit; }
.news-main { position: relative; min-height: 385px; }
.news-main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-main::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(20, 41, 34, .82)); content: ""; }
.news-label { position: absolute; top: 17px; left: 17px; z-index: 1; padding: 7px 12px; border-radius: 99px; background: #fff; color: var(--green); font-size: 10px; font-weight: 700; }
.news-main .news-card-copy { position: relative; z-index: 1; justify-content: end; margin-top: auto; color: #fff; }
.news-main .news-card-copy small, .news-main .news-read { color: rgba(255,255,255,.8); }
.news-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px; }
.news-card-copy small { margin-bottom: 8px; color: #8b9387; font-size: 10px; }
.news-card-copy strong { font: 700 17px/1.4 var(--font-heading); }
.news-read { display: inline-flex; gap: 8px; margin-top: 16px; color: var(--green); font-size: 11px; font-weight: 700; }
.news-art { position: relative; display: flex; height: 210px; align-items: center; justify-content: center; overflow: hidden; }
.art-project { flex-direction: column; background: #dfebe2; color: var(--green); }
.art-project strong { z-index: 1; font: 800 26px/1.2 var(--font-heading); text-align: center; }
.art-project span:first-child { position: absolute; top: 15px; left: 25px; color: #d87859; font-size: 50px; }
.art-project span:nth-child(2) { position: absolute; right: 25px; bottom: 12px; color: #d4a437; font-size: 45px; }
.art-kids { background: #f4e9d7; }
.art-kids img { width: 100%; height: 100%; object-fit: cover; }
.news-delete-button { position: absolute; z-index: 2; top: 14px; right: 14px; display: none; min-height: 32px; padding: 0 11px; border: 1px solid #ead8c6; border-radius: 99px; background: #fffefa; color: #985d40; cursor: pointer; font: inherit; font-size: 10px; font-weight: 700; }
body.authenticated .news-delete-button { display: inline-flex; align-items: center; }
.news-delete-button:hover { background: #f5e6d8; }
.news-delete-button:disabled, .project-delete-button:disabled { opacity: .6; cursor: wait; }
.news-empty { padding: 24px; border: 1px dashed var(--line); border-radius: 12px; color: var(--ink-soft); text-align: center; font-size: 12px; }

.students-section { background: var(--paper); }
.students-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 90px; }
.students-image { position: relative; min-height: 415px; }
.students-image > img { width: 100%; height: 415px; border-radius: 16px; object-fit: cover; }
.photo-caption { position: absolute; right: -18px; bottom: 22px; padding: 13px 19px; border-radius: 8px; background: var(--yellow); color: #574828; font-size: 12px; font-weight: 700; transform: rotate(-2deg); }
.students-copy h2 { margin-bottom: 18px; }
.students-copy > p:not(.eyebrow) { margin-bottom: 22px; }
.class-links { border-top: 1px solid var(--line); }
.class-links a { display: flex; align-items: center; gap: 15px; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.class-links a span { color: #a4a89d; font-size: 10px; }
.class-links a b { margin-left: auto; color: #d77857; font-size: 15px; }
.class-links a:hover { padding-left: 5px; transition: padding .2s; }

.cta-section { overflow: hidden; background: var(--green); color: white; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 285px; padding-block: 50px; }
.cta-inner .eyebrow { color: #bdcfc1; }
.cta-inner h2 { margin-bottom: 11px; font-size: 38px; line-height: 1.15; letter-spacing: -.04em; }
.cta-inner p:not(.eyebrow) { max-width: 430px; margin-bottom: 0; color: #cfddd1; font-size: 13px; }
.cta-actions { z-index: 1; display: grid; gap: 11px; min-width: 235px; }
.button-light { background: var(--yellow); color: #354338; }
.button-light:hover { background: #ffd171; }
.button-outline-light { border-color: rgba(255,255,255,.5); color: white; }
.button-outline-light:hover { background: rgba(255,255,255,.1); }
.cta-decoration { position: absolute; right: 28%; bottom: -83px; color: rgba(255,255,255,.06); font-size: 280px; line-height: 1; }

.site-footer { background: #f3f0e7; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 55px; padding-block: 62px 48px; }
.brand-footer img { width: 52px; height: 52px; }
.footer-school > p { margin: 15px 0 0 65px; color: #7e897e; font-size: 12px; }
.footer-main h2 { margin-bottom: 13px; font-size: 13px; }
.footer-contact, .footer-hours { display: flex; flex-direction: column; align-items: flex-start; color: #647168; font-size: 12px; }
.footer-contact address { margin-bottom: 10px; font-style: normal; line-height: 1.8; }
.footer-contact > a { margin-bottom: 5px; }
.footer-hours p { line-height: 1.8; }
.footer-hours strong { color: var(--ink); }
.footer-hours > a { color: var(--green); font-weight: 700; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 57px; border-top: 1px solid #dedbd0; color: #828b80; font-size: 10px; }
.footer-bottom > div { display: flex; gap: 22px; }
.documents-hero { position: relative; overflow: hidden; background: #f5f2e8; }
.documents-hero-inner { position: relative; min-height: 300px; padding-block: 63px 55px; }
.documents-hero h1 { position: relative; z-index: 1; margin: 0 0 12px; font-size: clamp(46px, 6vw, 68px); line-height: 1.08; letter-spacing: -.055em; }
.documents-hero h1 span, .documents-intro h2 span { color: #d77857; }
.documents-hero-inner > p:not(.eyebrow) { position: relative; z-index: 1; max-width: 570px; margin-bottom: 20px; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.documents-hero .button { position: relative; z-index: 1; }
.documents-decoration { position: absolute; top: 8px; right: 8%; color: #e9e3d4; font-size: 225px; line-height: 1; transform: rotate(-9deg); }
.documents-content { background: var(--paper); }
.documents-intro { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 50px; margin-bottom: 35px; }
.documents-intro > div { grid-column: 1; grid-row: 1; }
.documents-intro > p { grid-column: 2; grid-row: 1; }
.document-add-button { grid-column: 1 / -1; justify-self: end; min-height: 42px; }
.document-add-button[hidden] { display: none; }
.documents-intro .eyebrow { margin-bottom: 12px; }
.documents-intro h2 { margin: 0; font-size: clamp(32px, 4vw, 44px); line-height: 1.15; letter-spacing: -.045em; }
.documents-intro > p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.85; }
.document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.document-card { position: relative; display: flex; min-height: 205px; flex-direction: column; align-items: flex-start; padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.document-card:hover { transform: translateY(-3px); border-color: #d7b276; box-shadow: 0 12px 28px rgba(28, 58, 46, .08); }
.document-icon { display: grid; width: 39px; height: 39px; place-items: center; margin-bottom: 17px; border-radius: 11px; background: #e8efe7; color: var(--green); font-size: 20px; font-weight: 700; }
.document-icon-yellow { background: #f7f0df; color: #a67929; }
.document-icon-lilac { background: #efedf7; color: #756c9e; }
.document-icon-coral { background: #f7e9e2; color: #c2745b; }
.document-card-copy { display: grid; gap: 6px; padding-right: 8px; }
.document-card-copy small { color: #8b9387; font-size: 10px; }
.document-card-copy strong { font: 700 15px/1.4 var(--font-heading); }
.document-card-copy > span { color: var(--ink-soft); font-size: 11px; line-height: 1.65; }
.document-body { width: 100%; margin-top: 12px; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }
.document-body > :first-child { margin-top: 0; }
.document-body > :last-child { margin-bottom: 0; }
.document-body p, .document-body ul, .document-body ol, .document-body blockquote { margin-bottom: 8px; }
.document-body h2, .document-body h3, .document-body h4 { margin: 9px 0 6px; color: var(--ink); font-size: 13px; }
.document-body ul, .document-body ol { padding-left: 20px; }
.document-body a { color: var(--green); text-decoration: underline; }
.document-card-actions { display: flex; width: 100%; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 16px; }
.document-download, .document-source { display: inline-flex; min-height: 34px; align-items: center; gap: 6px; padding: 0 11px; border: 1px solid var(--line); border-radius: 99px; color: var(--green); font-size: 10px; font-weight: 700; }
.document-download:hover, .document-source:hover { border-color: #c8d5c7; background: #f5f8f3; }
.document-edit-button { display: none; min-height: 34px; align-items: center; gap: 5px; margin-left: auto; padding: 0 10px; border: 1px solid #ead8c6; border-radius: 99px; background: #fbf3eb; color: #985d40; cursor: pointer; font-size: 10px; font-weight: 700; }
body.authenticated .document-edit-button { display: inline-flex; }
.document-edit-button:hover { background: #f5e6d8; }
.document-edit-button:disabled { opacity: .6; cursor: wait; }
.document-empty { padding: 36px; border: 1px dashed var(--line); border-radius: 12px; color: var(--ink-soft); text-align: center; font-size: 13px; }
.staff-content { background: var(--paper); }
.staff-heading { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 50px; margin-bottom: 32px; }
.staff-heading .eyebrow { margin-bottom: 12px; }
.staff-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 44px); line-height: 1.15; letter-spacing: -.045em; }
.staff-heading h2 span { color: #d77857; }
.staff-heading > p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.85; }
.staff-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.staff-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.staff-table thead { background: var(--green); color: white; }
.staff-table th, .staff-table td { padding: 13px 16px; vertical-align: top; }
.staff-table thead th { font: 700 11px var(--font-heading); }
.staff-table tbody tr:not(.staff-group) { border-bottom: 1px solid #efede6; }
.staff-table tbody tr:not(.staff-group):hover { background: #fbfaf6; }
.staff-table tbody td:first-child { width: 17%; color: #768177; font-size: 11px; }
.staff-table tbody td:nth-child(2) { width: 23%; font-weight: 700; }
.staff-table tbody td:nth-child(3) { width: 35%; color: var(--ink-soft); }
.staff-table tbody td:nth-child(4) { width: 25%; }
.staff-table tbody td a { color: var(--green); overflow-wrap: anywhere; }
.staff-table tbody td a:hover { text-decoration: underline; }
.staff-table .staff-group th { padding: 12px 16px; background: #f5f2e8; color: var(--green); font: 700 12px var(--font-heading); }
.staff-source { margin-top: 16px; color: #788077; font-size: 11px; }
.staff-source a { color: var(--green); text-decoration: underline; }
.history-content, .projects-content { background: var(--paper); }
.history-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .7fr); align-items: start; gap: 54px; }
.history-article { max-width: 740px; }
.history-article h2, .projects-intro h2 { margin: 0 0 15px; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; letter-spacing: -.04em; }
.history-article h2 span, .projects-intro h2 span { color: #d77857; }
.history-article > p, .history-event p, .projects-intro > p { color: var(--ink-soft); font-size: 14px; line-height: 1.85; }
.history-article > .eyebrow { margin-bottom: 13px; }
.history-timeline { position: relative; display: grid; gap: 0; margin-top: 28px; padding-left: 27px; border-left: 1px solid #d9dfd5; }
.history-event { position: relative; padding: 0 0 28px 8px; }
.history-event:last-child { padding-bottom: 0; }
.history-event::before { position: absolute; top: 4px; left: -34px; width: 12px; height: 12px; border: 3px solid var(--paper); border-radius: 50%; background: #d77857; box-shadow: 0 0 0 1px #d77857; content: ""; }
.history-event h3 { margin: 0 0 8px; font-size: 17px; }
.history-event p { margin: 0; font-size: 13px; }
.history-facts { position: sticky; top: 24px; display: grid; gap: 12px; }
.history-fact { padding: 20px; border-radius: 13px; background: #f5f2e8; }
.history-fact:nth-child(2) { background: #e8efe7; }
.history-fact:nth-child(3) { background: #efedf7; }
.history-fact strong { display: block; margin-bottom: 7px; color: var(--green); font: 800 22px var(--font-heading); }
.history-fact span { color: #657168; font-size: 11px; line-height: 1.65; }
.history-source { margin-top: 25px; }
.projects-intro { max-width: 720px; margin-bottom: 42px; }
.projects-intro .eyebrow { margin-bottom: 13px; }
.project-add-button { margin-top: 10px; }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-card { overflow: hidden; border: 1px solid #ebe9e1; border-radius: 15px; background: #fff; }
.project-card img { display: block; width: 100%; max-height: 270px; object-fit: cover; }
.project-card-copy { padding: 22px; }
.project-card-copy small { display: block; margin-bottom: 8px; color: #8a9288; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.project-card-copy h3 { margin: 0 0 9px; font-size: 20px; }
.project-card-copy p { margin: 0 0 11px; color: var(--ink-soft); font-size: 12px; line-height: 1.8; white-space: pre-line; }
.project-support { display: inline-flex; margin-top: 3px; padding: 7px 10px; border-radius: 99px; background: #e8efe7; color: var(--green); font-size: 10px; font-weight: 700; }
.project-card-actions { display: none; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.project-edit-button, .project-delete-button { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 0 11px; border: 1px solid #ead8c6; border-radius: 99px; background: #fbf3eb; color: #985d40; cursor: pointer; font-size: 10px; font-weight: 700; }
.project-delete-button { border-color: #efd4ce; background: #fff5f2; color: #a24f42; }
body.authenticated .project-card-actions { display: flex; }
body.authenticated .project-edit-button { display: inline-flex; }
.project-edit-button:hover, .project-delete-button:hover { background: #f5e6d8; }
.project-delete-button:hover { background: #fbe8e3; }
.project-edit-button:disabled { opacity: .6; cursor: wait; }
.project-empty { padding: 36px; border: 1px dashed var(--line); border-radius: 12px; color: var(--ink-soft); text-align: center; font-size: 13px; }
.projects-source { margin-top: 24px; color: #788077; font-size: 11px; }
.projects-source a { color: var(--green); text-decoration: underline; }
.project-dialog { width: min(620px, calc(100% - 28px)); max-height: min(90vh, 820px); overflow: auto; padding: 0; border: 0; border-radius: 15px; background: #fffefa; color: var(--ink); box-shadow: 0 14px 46px rgba(22, 50, 40, .15); }
.project-dialog::backdrop { background: rgba(19, 42, 35, .4); backdrop-filter: blur(2px); }
.project-form { position: relative; display: flex; flex-direction: column; padding: 28px; }
.project-form .eyebrow { margin-bottom: 7px; }
.project-form h2 { margin-bottom: 13px; font-size: 26px; letter-spacing: -.04em; }
.project-form label { margin: 9px 0 5px; color: #59685f; font-size: 10px; font-weight: 600; }
.project-form input, .project-form textarea { width: 100%; min-height: 40px; padding: 9px 11px; border: 1px solid #e8e6de; border-radius: 7px; background: #fff; color: var(--ink); font: inherit; font-size: 12px; }
.project-form textarea { min-height: 130px; resize: vertical; line-height: 1.65; }
.project-form input[type="file"] { min-height: 42px; padding: 6px; background: #fff; }
.project-form input:focus, .project-form textarea:focus { border-color: #a9bcae; outline: 2px solid rgba(155, 180, 160, .22); }
.project-image-preview { display: block; width: min(100%, 320px); max-height: 190px; margin-top: 10px; border: 1px solid #e8e6de; border-radius: 8px; object-fit: cover; }
.project-upload-help { margin: 7px 0 0; color: #788077; font-size: 10px; }
.project-form .button:disabled { opacity: .65; cursor: wait; }
.history-page .edit-toggle, .projects-page .edit-toggle { display: none !important; }
.document-arrow { position: absolute; top: 20px; right: 20px; color: #d77857; font-size: 16px; transition: transform .2s; }
a.document-card:hover .document-arrow { transform: translate(2px, -2px); }
.document-note { margin-top: auto; padding-top: 12px; color: #8b7761; font-size: 10px; }
.documents-help { display: flex; align-items: center; gap: 17px; margin-top: 28px; padding: 22px 24px; border-radius: 13px; background: var(--cream); }
.documents-help-icon { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #f4dfae; color: #84642c; font: 700 18px var(--font-heading); }
.documents-help p { flex: 1; margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.documents-help .text-link { flex-shrink: 0; }
.edit-toggle { position: fixed; right: 18px; bottom: 18px; z-index: 10; display: flex; align-items: center; gap: 8px; padding: 11px 15px; border: 0; border-radius: 99px; background: var(--green-dark); box-shadow: 0 5px 18px rgba(20, 45, 37, .2); color: white; cursor: pointer; font-size: 11px; font-weight: 700; }
.edit-toggle[hidden] { display: none; }
.edit-toggle:hover { background: #245b4d; }
.edit-toggle[aria-pressed="true"] { background: #bc6145; }
.edit-actions { position: fixed; right: 18px; bottom: 68px; z-index: 10; display: flex; gap: 8px; }
.edit-actions[hidden] { display: none; }
.edit-actions button { min-height: 40px; padding: 0 15px; border: 1px solid var(--line); border-radius: 99px; background: white; box-shadow: 0 5px 18px rgba(20, 45, 37, .12); color: var(--ink); cursor: pointer; font-size: 11px; font-weight: 700; }
.edit-actions .edit-save { border-color: var(--green); background: var(--green); color: white; }
.edit-actions button:disabled { cursor: wait; opacity: .65; }
.edit-notice { position: fixed; right: 18px; bottom: 72px; z-index: 10; max-width: min(320px, calc(100% - 36px)); padding: 12px 15px; border-radius: 10px; background: #fff; box-shadow: 0 5px 22px rgba(20, 45, 37, .16); color: var(--ink); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.edit-notice.visible { opacity: 1; transform: translateY(0); }
body.editing [data-editable] { outline: 2px dashed #bd684d; outline-offset: 5px; cursor: text; }
.login-dialog { width: min(420px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 15px; background: #fffefa; color: var(--ink); box-shadow: 0 14px 46px rgba(22, 50, 40, .15); }
.login-dialog::backdrop { background: rgba(19, 42, 35, .4); backdrop-filter: blur(2px); }
.login-form { position: relative; display: flex; flex-direction: column; padding: 30px; }
.login-form .eyebrow { margin-bottom: 9px; }
.login-form h2 { margin-bottom: 6px; font-size: 27px; letter-spacing: -.04em; }
.login-description { margin-bottom: 15px; color: var(--ink-soft); font-size: 12px; }
.login-form label { margin: 10px 0 5px; color: #59685f; font-size: 10px; font-weight: 600; }
.login-form input { min-height: 40px; padding: 0 11px; border: 1px solid #e8e6de; border-radius: 7px; background: #fff; color: var(--ink); font: inherit; }
.login-form input:focus { border-color: #a9bcae; outline: 2px solid rgba(155, 180, 160, .22); }
.login-submit { margin-top: 10px; }
.login-submit:disabled { cursor: wait; opacity: .7; }
.login-error { min-height: 18px; margin: 10px 0 0; color: #a34034; font-size: 12px; }
.dialog-close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f0eee6; color: var(--ink); cursor: pointer; font-size: 22px; }
.document-dialog { width: min(760px, calc(100% - 28px)); max-height: min(90vh, 900px); overflow: auto; padding: 0; border: 0; border-radius: 15px; background: #fffefa; color: var(--ink); box-shadow: 0 14px 46px rgba(22, 50, 40, .15); }
.document-dialog::backdrop { background: rgba(19, 42, 35, .4); backdrop-filter: blur(2px); }
.document-form { position: relative; display: flex; flex-direction: column; padding: 28px; }
.document-form .eyebrow { margin-bottom: 7px; }
.document-form h2 { margin-bottom: 13px; font-size: 26px; letter-spacing: -.04em; }
.document-form > label { margin: 9px 0 5px; color: #59685f; font-size: 10px; font-weight: 600; }
.document-form > input { min-height: 40px; padding: 0 11px; border: 1px solid #e8e6de; border-radius: 7px; background: #fff; color: var(--ink); font: inherit; }
.document-form > input:focus { border-color: #a9bcae; outline: 2px solid rgba(155, 180, 160, .22); }
.document-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 7px; border: 1px solid #ece9e0; border-bottom: 0; border-radius: 8px 8px 0 0; background: #f8f7f2; }
.document-toolbar button, .document-toolbar select { min-width: 31px; min-height: 30px; padding: 0 7px; border: 1px solid #ebe9e2; border-radius: 5px; background: #fff; color: var(--ink); cursor: pointer; font: inherit; font-size: 10px; }
.document-toolbar button:hover, .document-toolbar select:hover { border-color: #c6d2c8; background: #fbfcfa; }
.document-toolbar button:disabled, .document-toolbar select:disabled { opacity: .5; cursor: not-allowed; }
.document-toolbar-divider { width: 1px; height: 21px; margin: 0 1px; background: #e6e4dc; }
.document-editor { min-height: 230px; max-height: 42vh; overflow: auto; padding: 14px; border: 1px solid #e8e6de; border-radius: 0 0 8px 8px; background: #fff; color: var(--ink); font-size: 13px; line-height: 1.75; }
.document-editor:focus { outline: 2px solid rgba(155, 180, 160, .22); outline-offset: 1px; }
.document-editor > :first-child { margin-top: 0; }
.document-editor > :last-child { margin-bottom: 0; }
.document-editor h2 { margin: 12px 0 8px; font-size: 20px; }
.document-editor h3 { margin: 11px 0 7px; font-size: 17px; }
.document-editor h4 { margin: 10px 0 6px; font-size: 15px; }
.document-editor blockquote { margin: 10px 0; padding: 8px 14px; border-left: 3px solid #9bb4a0; color: #637168; }
.document-editor hr { border: 0; border-top: 1px solid var(--line); }
.document-source-editor { width: 100%; min-height: 230px; max-height: 42vh; resize: vertical; padding: 14px; border: 1px solid #e8e6de; border-radius: 0 0 8px 8px; background: #fff; color: var(--ink); font: 12px/1.6 Consolas, "Courier New", monospace; }
.document-source-editor:focus { outline: 2px solid rgba(155, 180, 160, .22); outline-offset: 1px; }
.document-editor-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.document-editor-help { margin: 7px 0 0; color: #788077; font-size: 10px; }
.document-word-count { flex: 0 0 auto; margin-top: 7px; color: #788077; font-size: 10px; }
.document-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.document-form-actions .edit-cancel { min-height: 39px; padding: 0 14px; border: 1px solid #e8e6de; border-radius: 99px; background: #fff; color: var(--ink); cursor: pointer; font-size: 10px; font-weight: 600; }
.document-form-actions .button:disabled { opacity: .65; cursor: wait; }

@media (max-width: 860px) {
  .main-nav { gap: 19px; font-size: 12px; }
  .hero-grid { min-height: 460px; }
  .hero h1 { font-size: clamp(42px, 6vw, 58px); }
  .hero-visual { min-height: 340px; }
  .about-grid, .students-grid { gap: 45px; }
  .section { padding-block: 75px; }
  .documents-hero-inner { min-height: 270px; padding-block: 48px 42px; }
  .documents-decoration { right: 1%; font-size: 180px; }
  .documents-intro { gap: 25px; }
  .staff-heading { gap: 25px; }
  .document-grid { grid-template-columns: repeat(2, 1fr); }
  .document-card { min-height: 195px; padding: 17px; }
  .documents-help { align-items: flex-start; flex-wrap: wrap; }
  .documents-help p { flex-basis: calc(100% - 60px); }
  .documents-help .text-link { margin-left: 55px; }
  .news-grid { gap: 12px; }
  .news-card-copy { padding: 15px; }
  .footer-main { gap: 28px; }
}

@media (max-width: 1100px) {
  .header-inner { position: relative; }
  .menu-toggle { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 17px; height: 2px; border-radius: 2px; background: currentColor; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { position: absolute; left: 0; content: ""; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 7px 18px 18px; background: var(--paper); box-shadow: 0 15px 22px rgba(25, 53, 43, .1); }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .main-nav > .login-button, .main-nav > .logout-button { align-self: stretch; padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; }
  .main-nav > .account-status { padding: 12px 8px; }
  .main-nav .nav-contact { margin-top: 10px; padding: 12px 16px; border: 0; text-align: center; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 36px, 520px); }
  .topline-inner { min-height: 34px; }
  .topline-inner > span { display: none; }
  .topline-links { justify-content: space-between; width: 100%; gap: 10px; font-size: 10px; }
  .header-inner { min-height: 75px; }
  .brand img { width: 47px; height: 47px; }
  .brand strong { font-size: 13px; }
  .brand small { max-width: 210px; font-size: 9px; }
  .menu-toggle { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 17px; height: 2px; border-radius: 2px; background: currentColor; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { position: absolute; left: 0; content: ""; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 7px 18px 18px; background: var(--paper); box-shadow: 0 15px 22px rgba(25, 53, 43, .1); }
  .main-nav.open { display: flex; flex-direction: column; }
  .main-nav > a { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .main-nav > .login-button, .main-nav > .logout-button { align-self: stretch; padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; }
  .main-nav > .account-status { padding: 12px 8px; }
  .main-nav .nav-contact { margin-top: 10px; padding: 12px 16px; border: 0; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 4px; padding-block: 42px 24px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(43px, 12vw, 61px); }
  .hero-lead { font-size: 14px; }
  .hero-note { margin-top: 22px; }
  .hero-visual { min-height: 0; margin-top: 5px; padding: 12px 18px 24px; }
  .hero-orbit { top: 3%; right: 8%; width: min(290px, 82%); }
  .hero-image { width: min(330px, 90%); max-height: none; border-width: 5px; border-radius: 17px; }
  .quick-links { grid-template-columns: 1fr; padding-block: 5px; }
  .quick-links > a, .quick-links > a:first-child { min-height: 72px; padding: 10px 6px; border: 0; border-bottom: 1px solid var(--line); }
  .quick-links > a:last-child { border-bottom: 0; }
  .quick-icon { flex-basis: 38px; width: 38px; height: 38px; }
  .section { padding-block: 62px; }
  .documents-hero-inner { min-height: 250px; padding-block: 42px 36px; }
  .documents-hero h1 { font-size: 45px; }
  .documents-hero-inner > p:not(.eyebrow) { max-width: 90%; font-size: 12px; }
  .documents-decoration { top: 40px; right: -30px; font-size: 145px; }
  .documents-intro { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
  .documents-intro > div, .documents-intro > p { grid-column: 1; grid-row: auto; }
  .documents-intro .document-add-button { justify-self: start; }
  .staff-heading { grid-template-columns: 1fr; gap: 12px; }
  .staff-table { min-width: 760px; }
  .document-form { padding: 23px 18px 18px; }
  .document-form h2 { font-size: 24px; }
  .document-editor, .document-source-editor { min-height: 190px; }
  .documents-intro h2 { font-size: 34px; }
  .document-grid { grid-template-columns: 1fr; gap: 10px; }
  .document-card { min-height: 0; padding: 17px; }
  .document-card-copy { padding-right: 17px; }
  .document-icon { margin-bottom: 12px; }
  .documents-help { gap: 12px; padding: 17px; }
  .documents-help p { flex-basis: calc(100% - 50px); }
  .documents-help .text-link { margin-left: 50px; }
  .history-layout { grid-template-columns: 1fr; gap: 30px; }
  .history-facts { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .history-fact { padding: 15px; }
  .projects-intro { margin-bottom: 28px; }
  .projects-grid { grid-template-columns: 1fr; gap: 13px; }
  .project-form { padding: 23px 18px 18px; }
  .about-grid, .students-grid { grid-template-columns: 1fr; gap: 34px; }
  .section-heading h2, .section-topline h2, .students-copy h2 { font-size: 36px; }
  .values-grid { gap: 10px; }
  .value-card { min-height: 165px; padding: 17px; }
  .value-card h3 { font-size: 14px; }
  .values-caption { padding-left: 4px; }
  .values-caption strong { font-size: 17px; }
  .section-topline { align-items: flex-start; flex-direction: column; margin-bottom: 24px; }
  .news-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .news-main { grid-column: 1 / -1; min-height: 320px; }
  .news-art { height: 140px; }
  .art-project strong { font-size: 21px; }
  .news-card-copy { padding: 13px; }
  .news-card-copy strong { font-size: 14px; }
  .news-secondary .news-read { font-size: 10px; }
  .students-image { min-height: 310px; }
  .students-image > img { height: 310px; }
  .photo-caption { right: -5px; bottom: 14px; padding: 10px 13px; font-size: 10px; }
  .cta-inner { align-items: flex-start; flex-direction: column; min-height: 0; padding-block: 50px; }
  .cta-inner h2 { font-size: 34px; }
  .cta-actions { width: 100%; }
  .cta-decoration { right: -40px; bottom: 10px; font-size: 180px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-block: 45px 34px; }
  .footer-school { grid-column: 1 / -1; }
  .footer-school > p { margin-left: 60px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; padding-block: 13px; }
  .footer-bottom > div { flex-wrap: wrap; gap: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Seasonal palettes apply to every page; uploaded photographs keep their original colours. */
:root[data-season="autumn"] {
  --ink: #3e3025; --ink-soft: #6f5d50; --green: #76452d; --green-dark: #54321f;
  --paper: #fffaf1; --cream: #f8eedf; --line: #e9dcc9;
  --season-hero: #f6ead5; --season-accent: #a64c28; --season-orbit: #ead8b8;
  --season-card-one: #e8eddd; --season-card-two: #f7e8c9; --season-card-three: #f0e1d9;
  --season-footer: #f1e5d1; --season-symbol: "🍂";
}
:root[data-season="winter"] {
  --ink: #233e54; --ink-soft: #536a7c; --green: #2a5877; --green-dark: #1e4059;
  --paper: #fbfdff; --cream: #eff5fa; --line: #dce7ef;
  --season-hero: #eaf2f8; --season-accent: #276d99; --season-orbit: #d4e5ef;
  --season-card-one: #e1edf4; --season-card-two: #edf3fb; --season-card-three: #e9e8f5;
  --season-footer: #e8f0f5; --season-symbol: "❄";
}
:root[data-season="spring"] {
  --ink: #254332; --ink-soft: #586d5b; --green: #386348; --green-dark: #294a35;
  --paper: #fffef8; --cream: #f1f6e9; --line: #dfe7d6;
  --season-hero: #eff4e5; --season-accent: #8c4c65; --season-orbit: #dce8cf;
  --season-card-one: #e1eddf; --season-card-two: #f7efce; --season-card-three: #f1e7ef;
  --season-footer: #e8efdf; --season-symbol: "✿";
}
:root[data-season="summer"] {
  --ink: #274a42; --ink-soft: #596f64; --green: #286350; --green-dark: #1e4a3e;
  --paper: #fffdf5; --cream: #fff7e4; --line: #e9e2c9;
  --season-hero: #fcf0d2; --season-accent: #a35a16; --season-orbit: #f4d98e;
  --season-card-one: #e3f0e1; --season-card-two: #fff0bf; --season-card-three: #e9f0ef;
  --season-footer: #f5edcf; --season-symbol: "☀";
}
html[data-season] .hero, html[data-season] .documents-hero { background: var(--season-hero); }
html[data-season] .hero-orbit { background: var(--season-orbit); }
html[data-season] .hero-orbit::after { position: absolute; top: -30px; right: -22px; color: var(--season-accent); font-size: 72px; line-height: 1; content: var(--season-symbol); transform: rotate(12deg); }
html[data-season] .hero h1 span, html[data-season] .section-heading h2 span,
html[data-season] .section-topline h2 span, html[data-season] .students-copy h2 span,
html[data-season] .documents-hero h1 span, html[data-season] .documents-intro h2 span,
html[data-season] .staff-heading h2 span, html[data-season] .history-article h2 span,
html[data-season] .projects-intro h2 span, html[data-season] .student-gallery-heading h2 span { color: var(--season-accent); }
html[data-season] .eyebrow-dot, html[data-season] .history-event::before { background: var(--season-accent); }
html[data-season] .value-green, html[data-season] .history-fact:first-child { background: var(--season-card-one); }
html[data-season] .value-yellow, html[data-season] .history-fact:nth-child(2) { background: var(--season-card-two); }
html[data-season] .value-lilac, html[data-season] .history-fact:nth-child(3) { background: var(--season-card-three); }
html[data-season] .site-footer { background: var(--season-footer); }
html[data-season] .student-photo-link, html[data-season] .hero-image-preview { background: var(--season-hero); }
html[data-season] .theme-choice { color: var(--ink); }
.theme-toggle { position: fixed; left: 18px; bottom: 18px; z-index: 10; min-height: 40px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--ink); box-shadow: 0 5px 18px rgba(20, 45, 37, .15); cursor: pointer; font: 700 11px var(--font-body); }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { border-color: var(--green); }
.theme-current, .theme-help { color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.theme-help { margin: 18px 0 0; }
.theme-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.project-form .theme-choice { position: relative; display: flex; align-items: center; gap: 12px; min-height: 92px; margin: 0; padding: 16px; border: 2px solid transparent; border-radius: 12px; cursor: pointer; }
.theme-choice:has(input:checked) { border-color: var(--green); }
.theme-choice:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 3px; }
.project-form .theme-choice input { flex: 0 0 18px; width: 18px; min-height: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--green); }
.theme-choice span { display: grid; gap: 4px; }
.theme-choice strong { font-size: 14px; }
.theme-choice small { font-size: 11px; font-weight: 400; }
.theme-choice-auto { grid-column: 1 / -1; background: #f0f0e9; }
.theme-choice[data-theme-choice="autumn"] { background: linear-gradient(120deg, #f6ead5 65%, #cf956a); }
.theme-choice[data-theme-choice="winter"] { background: linear-gradient(120deg, #eaf2f8 65%, #b9d5e8); }
.theme-choice[data-theme-choice="spring"] { background: linear-gradient(120deg, #eff4e5 65%, #b4cea6); }
.theme-choice[data-theme-choice="summer"] { background: linear-gradient(120deg, #fcf0d2 65%, #efd06e); }
@media (max-width: 450px) {
  .theme-options { grid-template-columns: 1fr; }
  .project-form .theme-choice { min-height: 76px; }
  .theme-toggle { left: 12px; padding-inline: 12px; }
  html[data-season] .hero-orbit::after { top: -16px; right: -8px; font-size: 48px; }
}
