:root {
  font-family: system-ui, sans-serif;
  color: #172b22;
  background: #fff;
  line-height: 1.6;
  --green: #176447;
  --muted: #4e6259;
  --border: #d3e2d9;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
.container { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--border); }
.header-inner, .actions, nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.header-inner { justify-content: space-between; padding-block: 1rem; }
.brand { font-size: 1.25rem; font-weight: 750; color: var(--green); }
.brand, nav a, .button { text-decoration: none; }
nav { gap: clamp(.8rem, 2.5vw, 1.75rem); }
.button { display: inline-block; padding: .65rem 1rem; border: 1px solid var(--green); border-radius: .5rem; font-weight: 650; }
.primary { background: var(--green); color: #fff; }
.secondary { color: var(--green); background: #fff; }
.button:hover { box-shadow: 0 0 0 2px var(--border); }
a:focus-visible { outline: 3px solid #916003; outline-offset: 3px; }
.intro { padding-block: clamp(3rem, 8vw, 6rem); background: #eaf5ee; }
.intro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
.intro-photo { display: block; width: 100%; height: auto; border-radius: .75rem; }
.eyebrow { margin: 0; color: var(--green); font-size: .9rem; font-weight: 700; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1 { font-size: clamp(2.7rem, 7vw, 5.25rem); margin-top: .75rem; letter-spacing: -.045em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.025em; }
h3 { font-size: 1.4rem; margin-top: .6rem; }
.intro-copy { font-size: 1.125rem; max-width: 39ch; color: var(--muted); }
.content-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.batch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); gap: 1rem; margin-top: 1.5rem; }
.batch { display: flex; flex-direction: column; padding: 1.4rem; border-radius: .75rem; border: 1px solid var(--border); }
.batch p:not(.eyebrow, .price) { color: var(--muted); }
.price { margin: auto 0 0; color: var(--green); font-size: 1.9rem; font-weight: 750; }
.price span { color: var(--muted); font-size: 1rem; font-weight: 400; }
.contact { background: #f3f8f5; }
.contact-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); align-items: center; }
address { margin-block: 1rem 1.5rem; font-style: normal; color: var(--muted); }
iframe { width: 100%; min-height: 265px; border: 1px solid var(--border); border-radius: .75rem; }
.site-footer { padding-block: 1.25rem; color: var(--muted); }

.intro, .about-page {
  position: relative;
  isolation: isolate;
}
.intro { overflow: clip; }
.about-page { overflow-x: clip; }
.intro::before, .about-page::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -14%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 30%, #a4dbc2 0, transparent 45%),
    radial-gradient(ellipse at 82% 70%, #b5e5d5 0, transparent 42%);
}
.about-page::before {
  background:
    radial-gradient(ellipse at 10% 16%, #dff3e8 0, transparent 42%),
    radial-gradient(ellipse at 85% 60%, #e4f7ef 0, transparent 38%);
}
.site-header { background: #fff; }
.about-page .batch { background: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .intro::before, .about-page::before {
    animation: background-drift 9s ease-in-out 1 both;
  }
}
@keyframes background-drift {
  0% { transform: translate(-5%, -4%) scale(1); }
  55% { transform: translate(5%, 3%) scale(1.08); }
  100% { transform: translate(1%, -1%) scale(1.03); }
}

.achievement-gallery { align-items: start; }
.achievement-gallery a { display: block; }
.achievement-gallery img { display: block; width: 100%; height: auto; border-radius: .75rem; }

.celebration-album { max-width: 25rem; text-decoration: none; }
.celebration-album:hover h2 { text-decoration: underline; }
.celebration-album img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .5rem; }
.celebration-album h2 { font-size: 1.35rem; margin-top: .85rem; }
.celebration-album p { margin-bottom: 0; }

.batch-poster { max-width: 29rem; margin: 1.5rem auto 0; }
.batch-poster a { display: block; }
.batch-poster img, .profile-photo { display: block; width: 100%; height: auto; border-radius: .75rem; }

.batch .teacher-subject {
  margin: .2rem 0 .65rem;
  font-size: 1rem;
  line-height: 1.5;
}
.teacher-subject strong {
  display: block;
  color: var(--green);
  font-size: 1.125rem;
  font-weight: 750;
}
