:root {
  color-scheme: light;
  --ink: #302d36;
  --muted: #66616c;
  --plum: #6b4a73;
  --plum-deep: #50365a;
  --coral: #e9896d;
  --gold: #e8b84e;
  --mint: #dceee3;
  --cream: #fff9ed;
  --paper: #fffefa;
  --line: #e8dfd1;
  --shadow: 0 18px 48px rgba(73, 53, 73, .11);
  --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  --font-display: 'Hiragino Maru Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.85 var(--font-body);
  letter-spacing: .025em;
}
img, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--plum-deep); text-underline-offset: .2em; }
a:hover { color: #9d5849; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #c66b50; outline-offset: 3px; }

.skip-link {
  position: fixed; z-index: 100; top: .5rem; left: .5rem;
  padding: .65rem 1rem; border-radius: .6rem; background: #fff; color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
#site-header {
  position: sticky; z-index: 20; top: 0;
}
.site-header {
  position: relative;
  background: rgba(255, 254, 250, .96); border-bottom: 1px solid rgba(232, 223, 209, .8);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(1180px, calc(100% - 48px)); min-height: 88px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.brand-mark {
  display: grid; place-items: center; width: 49px; height: 49px; border-radius: 17px 17px 17px 6px;
  background: var(--plum); color: white; font-size: 1.45rem; box-shadow: 0 6px 15px rgba(80, 54, 90, .2);
}
.brand-name { display: block; font: 500 1.25rem/1.3 var(--font-display); letter-spacing: .04em; }
.brand-caption { display: block; margin-top: .15rem; color: var(--muted); font: 600 .66rem/1.2 var(--font-body); letter-spacing: .12em; }
.site-nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.8rem); }
.site-nav a { color: var(--ink); font-size: .91rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--plum); }
.site-nav a[aria-current="page"]:not(.nav-cta) { margin: -.5rem -.75rem; padding: .5rem .75rem; border-radius: 999px; background: rgba(107, 74, 115, .10); color: var(--plum-deep); box-shadow: inset 0 0 0 1px rgba(80, 54, 90, .08); }
.site-nav .nav-cta { padding: .72rem 1.1rem; border-radius: 999px; background: var(--coral); color: #fff; box-shadow: 0 5px 12px rgba(233, 137, 109, .2); }
.site-nav .nav-cta:hover { background: #d8755b; color: #fff; }
.menu-toggle { display: none; min-height: 46px; white-space: nowrap; border: 1px solid var(--line); border-radius: .7rem; background: white; padding: .55rem .8rem; color: var(--ink); font-weight: 700; }

.hero {
  position: relative; overflow: hidden; background: var(--cream);
  padding: clamp(3.2rem, 7vw, 6.7rem) 24px clamp(3.5rem, 7vw, 6.2rem);
}
.hero::before, .hero::after { content: ''; position: absolute; pointer-events: none; border-radius: 50%; }
.hero::before { width: 370px; height: 370px; right: -95px; top: -195px; background: rgba(232, 184, 78, .21); }
.hero::after { width: 190px; height: 190px; left: -80px; bottom: -115px; background: rgba(220, 238, 227, .75); }
.hero-inner { position: relative; z-index: 1; width: min(1120px, 100%); margin: auto; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 6vw, 5.5rem); }
.eyebrow, .section-kicker { margin: 0 0 .8rem; color: var(--plum); font-size: .82rem; font-weight: 700; letter-spacing: .16em; }
.hero h1, .page-hero h1 { margin: 0; font: 500 clamp(2.15rem, 3.55vw, 3.45rem)/1.48 var(--font-display); letter-spacing: .025em; }
.hero h1 .accent { color: #bb674f; }
.hero-lead { max-width: 39rem; margin: 1.25rem 0 0; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.button {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: .45rem;
  padding: .72rem 1.25rem; border: 2px solid transparent; border-radius: 999px;
  background: var(--plum); color: #fff; font-weight: 700; text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--plum-deep); color: white; }
.button--light { border-color: var(--plum); background: transparent; color: var(--plum-deep); }
.button--light:hover { background: #f2e9f2; color: var(--plum-deep); }
.hero-art { position: relative; width: min(100%, 420px); justify-self: end; }
.hero-photo { aspect-ratio: 4 / 4.6; width: 100%; object-fit: cover; object-position: center 27%; border: 10px solid white; border-radius: 48% 48% 1.5rem 1.5rem; box-shadow: var(--shadow); }
.hero-sticker {
  position: absolute; right: -1.3rem; bottom: 1.7rem; width: 118px; height: 118px; display: grid; place-content: center;
  border: 5px solid var(--paper); border-radius: 50%; background: var(--gold); color: #513d2b; text-align: center;
  font: 500 1rem/1.45 var(--font-display); transform: rotate(8deg);
}
.hero-sticker span { display: block; font-size: .76rem; }
.hero-note { position: absolute; left: -3.4rem; top: 2rem; padding: .72rem 1rem; border-radius: 1rem 1rem 1rem .3rem; background: white; color: var(--plum-deep); box-shadow: var(--shadow); font-size: .84rem; font-weight: 700; }
.hero-instructor-link { display: inline-flex; align-items: center; gap: .45rem; justify-self: end; margin: .85rem .35rem 0 0; padding: .45rem .9rem; border: 1px solid rgba(80, 54, 90, .35); border-radius: 999px; color: var(--plum-deep); font-size: .9rem; font-weight: 700; text-decoration: none; transition: background .2s ease, color .2s ease; }
.hero-instructor-link:hover { background: var(--plum-deep); color: white; }

.section { padding: clamp(3.6rem, 7vw, 6rem) 24px; }
.section--tint { background: #f7f4ee; }
.section--mint { background: #f0f7f1; }
.section-inner { width: min(1080px, 100%); margin: auto; }
.section-heading { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-heading h2, .page-hero h1 { color: var(--ink); }
.section-heading h2 { margin: 0; font: 500 clamp(1.8rem, 3.5vw, 2.7rem)/1.5 var(--font-display); }
.section-heading p:last-child { margin: .8rem 0 0; color: var(--muted); }
.page-hero { padding: clamp(2.6rem, 6vw, 4.7rem) 24px; background: var(--cream); text-align: center; }
.page-hero .section-kicker { margin-bottom: .25rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.page-hero p:last-child { max-width: 700px; margin: .7rem auto 0; color: var(--muted); }
.classroom-card { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(1.8rem, 5vw, 4.2rem); overflow: hidden; padding: clamp(1rem, 2vw, 1.4rem); border: 1px solid rgba(80, 54, 90, .08); border-radius: 1.6rem; background: var(--paper); box-shadow: var(--shadow); }
.classroom-photo { display: block; width: 100%; aspect-ratio: 2.14 / 1; object-fit: cover; border-radius: 1.1rem; }
.classroom-copy { padding: clamp(.5rem, 2vw, 1.6rem) clamp(.3rem, 2vw, 1.4rem) clamp(.5rem, 2vw, 1.6rem) 0; }
.classroom-copy h2 { margin: 0; color: var(--plum-deep); font: 500 clamp(1.65rem, 3vw, 2.25rem)/1.55 var(--font-display); }
.classroom-copy > p:not(.section-kicker) { margin: 1rem 0 1.4rem; color: var(--muted); line-height: 1.9; }
.page-body { width: min(1020px, 100%); margin: auto; }
.page-body p { margin: 1rem 0; }
.page-body h2, .page-body h3, .page-body h4 { color: var(--plum-deep); font-family: var(--font-display); line-height: 1.55; }
.page-body h2 { margin: 2.8rem 0 1.2rem; padding-bottom: .55rem; border-bottom: 2px solid #edd5b7; font-size: clamp(1.55rem, 3vw, 2.1rem); }
.page-body h3 { margin: 1.7rem 0 .7rem; font-size: 1.3rem; }
.page-body h4 { margin: 2rem 0 .7rem; font-size: 1.42rem; }
.page-body ul, .page-body ol { padding-left: 1.5em; }
.page-body li { margin: .4rem 0; padding-left: .15rem; }
.page-body pre { margin: 0; overflow: auto; white-space: pre-wrap; font: inherit; line-height: 2; }
.page-body .wp-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.4rem; align-items: start; margin: 1.5rem 0; }
.page-body .wp-column { min-width: 0; padding: 1rem; border-radius: 1.2rem; background: white; box-shadow: 0 9px 25px rgba(73, 53, 73, .07); }
.page-body .home-thoughts-panel { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.page-body .home-thoughts-copy { padding: clamp(1.25rem, 3vw, 2rem); }
.page-body .home-thoughts-copy h4 { margin-top: 0; color: var(--plum-deep); font-size: clamp(1.35rem, 2vw, 1.7rem); }
.page-body .home-thoughts-photo { padding: clamp(.75rem, 1.8vw, 1.15rem); }
.page-body .home-thoughts-photo .home-thoughts-image { width: 100%; max-height: none; aspect-ratio: 1.55 / 1; object-fit: cover; object-position: center; }
.home-classroom-note { padding: .25rem .25rem .5rem; }
.home-classroom-note .section-kicker { margin: 1rem 0 .25rem; font-size: .72rem; }
.home-classroom-note h3 { margin: 0; color: var(--plum-deep); font: 500 clamp(1.25rem, 2vw, 1.65rem)/1.5 var(--font-display); }
.home-classroom-note > p:not(.section-kicker) { margin: .55rem 0 1rem; color: var(--muted); font-size: .92rem; }
.page-body > div:not(.wp-columns) { margin: 1.4rem 0; padding: clamp(1rem, 3vw, 2rem); border-radius: 1.35rem; background: #fff; }
.page-body .wp-column h2 { margin-top: .8rem; border: 0; text-align: center; }
.page-body .wp-column img { width: 100%; max-height: 360px; object-fit: cover; border-radius: .9rem; }
.page-body .media-figure { margin: 1.5rem auto; }
.page-body .media-wrap { text-align: center; }
.page-body .media-figure img { width: auto; max-height: 680px; margin: auto; border-radius: 1rem; }
.page-body .align-center { text-align: center; }
.page-body iframe { display: block; width: 100%; min-height: 360px; margin: 1.5rem 0; border: 0; border-radius: 1rem; }
.page-body .staff-layout { display: grid; grid-template-columns: 1.3fr .7fr; align-items: start; gap: 2rem; }
.page-body .staff-copy { min-width: 0; }
.page-body .staff-image img { width: min(100%, 360px); margin: .5rem auto; border-radius: 1.5rem; box-shadow: var(--shadow); }
.page-body .lesson-panel { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 1.3rem; background: #fffefa; box-shadow: 0 9px 28px rgba(73, 53, 73, .06); }
.page-body .lesson-panel h1 { color: var(--plum-deep); font: 500 clamp(1.45rem, 3vw, 2rem)/1.5 var(--font-display); }
.page-body .lesson-panel .wp-columns { margin: 1.2rem 0; }
.page-body .lesson-panel .wp-column { border: 1px solid #eee4d7; background: #fff9ed; }
.page-body .lesson-panel strong { color: #6b4a73; }
.page-body .media-video video { display: block; width: 100%; max-height: 560px; border-radius: 1rem; background: #231f25; }
.page-body figcaption { margin-top: .5rem; color: var(--muted); font-size: .92rem; text-align: center; }

.activity-archive-index { margin: 0 auto 1.5rem; padding: clamp(1rem, 2.5vw, 1.6rem); border: 1px solid var(--line); border-radius: 1.25rem; background: #fff9ed; }
.activity-archive-index h2 { margin: 0 0 .8rem; color: var(--plum-deep); font-size: 1.2rem; }
.activity-archive-years { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; }
.activity-archive-year { display: flex; align-items: center; gap: .65rem; }
.activity-archive-year h3 { min-width: 4.2rem; margin: 0; color: var(--muted); font-size: .9rem; }
.activity-archive-months { display: flex; flex-wrap: wrap; gap: .55rem; }
.activity-archive-link { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .8rem; border: 1px solid #dce7de; border-radius: 999px; background: white; color: #365f4b; font-size: .9rem; font-weight: 700; text-decoration: none; }
.activity-archive-link:hover { border-color: #9fc2aa; color: var(--plum-deep); background: #f7fcf8; }
.activity-archive-back { margin: 0 0 1rem; }
.activity-archive-back a { font-weight: 700; }
.archive-empty { padding: 1.5rem; border-radius: 1rem; background: #fff9ed; text-align: center; }
.activity-list { display: grid; gap: 2rem; }
.activity-card { padding: clamp(1.1rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: 1.5rem; background: white; box-shadow: 0 12px 32px rgba(73, 53, 73, .07); scroll-margin-top: 7rem; }
.activity-card header { margin-bottom: 1rem; }
.activity-card time { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: var(--mint); color: #365f4b; font-size: .85rem; font-weight: 700; }
.activity-card h2 { margin: .55rem 0 0; font: 500 clamp(1.35rem, 2.7vw, 1.9rem)/1.5 var(--font-display); }
.activity-card .page-body { width: 100%; }
.activity-media-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1rem; margin-top: 1rem; }
.activity-media-gallery .media-figure { min-width: 0; margin: 0; }
.activity-media-gallery .media-video video { display: block; width: 100%; height: clamp(180px, 20vw, 260px); max-height: none; aspect-ratio: 16 / 9; object-fit: contain; }
.activity-media-gallery > .media-figure:not(.media-video) { grid-column: 1 / -1; }
.activity-media-gallery > .media-figure:not(.media-video) img { display: block; width: 100%; height: 260px; object-fit: contain; border-radius: 1rem; background: #faf8f5; }
.activity-media-gallery.activity-photo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.activity-media-gallery.activity-photo-gallery > .media-figure:not(.media-video) { grid-column: auto; }
.activity-media-gallery.activity-photo-gallery > .media-figure:not(.media-video) img { height: 250px; object-fit: contain; }
.activity-photo-gallery .image-lightbox-trigger { display: block; width: 100%; }
@media (max-width: 600px) {
  .activity-media-gallery { grid-template-columns: 1fr; }
  .activity-media-gallery > .media-figure:not(.media-video) { grid-column: auto; }
  .activity-media-gallery .media-video video { height: min(55vw, 220px); min-height: 180px; }
  .activity-media-gallery > .media-figure:not(.media-video) img { height: auto; max-height: 70vh; }
  .activity-media-gallery.activity-photo-gallery > .media-figure:not(.media-video) img { height: auto; max-height: 70vh; }
}
.activity-card .page-body > div:not(.wp-columns) { padding: 0; box-shadow: none; background: transparent; }
.activity-card .page-body .wp-columns { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.activity-preview-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: .9rem; }
.activity-preview-card { position: relative; min-height: 118px; display: grid; align-content: center; gap: .3rem; padding: 1.2rem 3rem 1.2rem 1.3rem; border: 1px solid #dce7de; border-radius: 1rem; background: #fffefa; color: var(--ink); text-decoration: none; box-shadow: 0 7px 18px rgba(46, 75, 57, .05); }
.activity-preview-card:hover { border-color: #9fc2aa; color: var(--plum-deep); transform: translateY(-2px); }
.preview-date { color: #52765f; font-size: .82rem; font-weight: 700; }
.preview-title { font-weight: 700; line-height: 1.55; }
.preview-arrow { position: absolute; top: 50%; right: 1.2rem; color: var(--plum); font-size: 1.35rem; transform: translateY(-50%); }
.center-link { margin: 1.6rem 0 0; text-align: center; }
.text-link { display: inline-block; padding: .55rem .15rem; font-weight: 700; }

.news-update-note { display: flex; align-items: center; gap: 1rem; max-width: 920px; margin: 0 auto 2rem; padding: 1rem 1.25rem; border: 1px solid #eadfcf; border-left: 5px solid var(--plum); border-radius: 1rem; background: #fff9ed; }
.news-update-note p { margin: 0; color: #514b55; }
.news-note-icon { display: grid; flex: 0 0 2.6rem; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #f0e8f2; color: var(--plum-deep); font-size: 1.3rem; }
.news-list { display: grid; gap: 1.4rem; }
.news-card { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); align-items: center; gap: clamp(1.3rem, 4vw, 3rem); padding: clamp(1rem, 3vw, 1.7rem); border: 1px solid var(--line); border-radius: 1.4rem; background: #fff; box-shadow: 0 12px 30px rgba(73, 53, 73, .07); }
.news-card:nth-child(even) .notice-poster-button { order: 2; }
.news-card:nth-child(even) .news-copy { order: 1; }
.news-card .notice-poster-button { position: relative; display: block; width: 100%; max-width: 360px; justify-self: center; padding: .45rem; border: 1px solid #eee4d7; border-radius: 1rem; background: #fffefa; box-shadow: 0 7px 18px rgba(73, 53, 73, .08); text-align: center; cursor: zoom-in; }
.notice-poster-button img { width: 100%; height: min(68vw, 420px); object-fit: contain; border-radius: .65rem; background: #fff; }
.notice-zoom-hint { display: flex; align-items: center; justify-content: center; gap: .35rem; padding: .5rem .25rem .2rem; color: var(--plum-deep); font-size: .9rem; font-weight: 700; }
.notice-zoom-hint span { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #f0e8f2; font-size: 1.1rem; line-height: 1; }
.news-copy { padding: .5rem 0; }
.news-category { display: inline-flex; align-items: center; min-height: 2rem; padding: .25rem .75rem; border-radius: 999px; background: #edf5ef; color: #365f4b; font-size: .84rem; font-weight: 700; }
.news-copy h2 { margin: .85rem 0 .55rem; color: var(--plum-deep); font: 500 clamp(1.45rem, 2.8vw, 2rem)/1.5 var(--font-display); }
.news-copy > p { max-width: 42rem; margin: .5rem 0; }
.news-copy .news-card-note { margin-top: 1.2rem; padding-top: .8rem; border-top: 1px solid #eee8df; color: var(--muted); font-size: .9rem; }
.news-contact-link { margin: 2rem 0 0; text-align: center; }

.contact-band { padding: clamp(3rem, 6vw, 5rem) 24px; background: var(--plum-deep); color: white; }
.contact-inner { width: min(1080px, 100%); margin: auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-band h2 { margin: 0; color: white; font: 500 clamp(1.75rem, 3vw, 2.45rem)/1.5 var(--font-display); }
.contact-band p { color: #f5eefa; }
.contact-details { display: grid; gap: .65rem; margin-top: 1.4rem; }
.contact-details a { color: white; font-size: 1.1rem; font-weight: 700; }
.contact-form { padding: clamp(1.2rem, 3vw, 2rem); border-radius: 1.3rem; background: white; color: var(--ink); }
.contact-form h3 { margin: 0 0 .5rem; color: var(--plum-deep); font: 500 1.35rem/1.5 var(--font-display); }
.contact-form p { color: var(--muted); font-size: .9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.form-field { display: grid; gap: .3rem; }
.form-field--wide { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: .92rem; }
.form-field input, .form-field textarea { width: 100%; min-height: 48px; padding: .65rem .75rem; border: 1px solid #cfc5d2; border-radius: .65rem; background: #fffefa; color: var(--ink); }
.form-field textarea { min-height: 126px; resize: vertical; }
.form-submit { margin-top: 1rem; border: 0; cursor: pointer; }
.form-note { min-height: 1.6em; margin-bottom: 0; font-size: .84rem !important; }
.site-footer { padding: 1.5rem 24px; background: #34263a; color: #f5eefa; text-align: center; font-size: .9rem; }
.site-footer a { color: #fff4c9; }
.site-footer p { margin: .25rem; }
.noscript { max-width: 900px; margin: 2rem auto; padding: 1rem; }

@media (max-width: 860px) {
  .header-inner { width: min(100% - 32px, 720px); min-height: 76px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .4rem; }
  .site-nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 1rem 24px 1.2rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px rgba(40, 30, 45, .08); }
  .site-nav.is-open { display: grid; gap: .15rem; }
  .site-nav a { padding: .7rem .35rem; }
  .site-nav .nav-cta { justify-self: start; margin-top: .35rem; padding: .65rem 1rem; }
  .hero-inner { grid-template-columns: 1fr .72fr; gap: 1.4rem; }
  .hero-sticker { right: -.5rem; width: 98px; height: 98px; font-size: .85rem; }
}
@media (max-width: 1100px) {
  .hero-art { display: flex; flex-direction: column; align-items: center; }
  .hero-note { position: static; order: -1; align-self: flex-start; max-width: 100%; margin: 0 0 .8rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { min-height: 70px; }
  .brand-mark { width: 43px; height: 43px; font-size: 1.25rem; }
  .brand-name { font-size: 1.12rem; }
  .brand-caption { font-size: .6rem; }
  .hero { padding: 3.1rem 20px 3.5rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { order: 0; }
  .hero-art { order: 1; width: min(70%, 260px); justify-self: center; margin: 1.8rem auto 0; }
  .hero-instructor-link { margin-top: .55rem; margin-right: .1rem; }
  .hero-photo { aspect-ratio: 1 / 1.05; border-width: 7px; }
  .hero-sticker { right: -1rem; bottom: .4rem; width: 85px; height: 85px; border-width: 4px; font-size: .78rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { padding: .65rem .8rem; font-size: .95rem; }
  .section { padding-inline: 20px; }
  .page-hero { padding-inline: 20px; }
  .classroom-card { grid-template-columns: 1fr; gap: 1.2rem; padding: .8rem; border-radius: 1.25rem; }
  .classroom-photo { aspect-ratio: 2.14 / 1; border-radius: .85rem; }
  .classroom-copy { padding: .25rem .65rem .8rem; }
  .classroom-copy h2 { font-size: 1.65rem; }
  .classroom-copy .button { width: 100%; }
  .page-body .staff-layout { grid-template-columns: 1fr; }
  .page-body .home-thoughts-panel { grid-template-columns: 1fr; }
  .page-body .staff-image { grid-row: 1; }
  .page-body .staff-image img { max-height: 430px; object-fit: cover; object-position: center 30%; }
  .page-body iframe { min-height: 280px; }
  .contact-inner { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--wide { grid-column: auto; }
}
@media (max-width: 380px) {
  .header-inner { gap: .5rem; }
  .brand { gap: .55rem; }
  .brand-name { font-size: 1.02rem; }
  .brand-caption { font-size: .55rem; }
  .menu-toggle { padding: .45rem .55rem; }
  .hero h1 { font-size: 1.95rem; }
}

@media (max-width: 760px) {
  .news-card { grid-template-columns: 1fr; gap: 1rem; }
  .news-card:nth-child(even) .notice-poster-button,
  .news-card:nth-child(even) .news-copy { order: initial; }
  .news-card .notice-poster-button { width: min(100%, 380px); }
  .notice-poster-button img { height: min(112vw, 460px); }
  .news-copy { padding: .25rem .2rem .4rem; }
  .news-update-note { align-items: flex-start; padding: .9rem; }
}

.image-lightbox-trigger {
  display: inline-block; max-width: 100%; padding: 0; border: 0; background: transparent;
  cursor: zoom-in; line-height: 0;
}
.image-lightbox {
  position: fixed; inset: 0; width: min(98vw, 1600px); height: 98vh; max-width: none; max-height: none; margin: auto;
  padding: 3.25rem .75rem .75rem; overflow: visible; border: 0; background: transparent;
}
.image-lightbox::backdrop { background: rgba(25, 19, 29, .88); backdrop-filter: blur(3px); }
.image-lightbox-image {
  display: block; width: 100%; height: min(100%, 1100px); max-width: none; max-height: none;
  margin: auto; object-fit: contain; border-radius: .7rem; box-shadow: 0 20px 70px rgba(0, 0, 0, .4);
}
.image-lightbox-close {
  position: absolute; top: .35rem; right: .35rem; display: inline-flex; align-items: center; gap: .45rem;
  min-height: 44px; padding: .55rem .85rem; border: 1px solid rgba(255,255,255,.55); border-radius: 999px;
  background: rgba(45, 35, 50, .9); color: white; font-weight: 700; cursor: pointer;
}
.image-lightbox-close span { font-size: 1.3rem; line-height: 1; }
@media (max-width: 640px) {
  .image-lightbox { width: 98vw; height: 96vh; padding: 3.25rem .25rem .25rem; }
  .image-lightbox-image { height: min(100%, 900px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
