:root {
  --navy: #071f3b;
  --navy-2: #0b3156;
  --navy-3: #123e64;
  --gold: #c89b4e;
  --gold-2: #dfba70;
  --gold-dark: #9c7230;
  --cream: #fff8ef;
  --ivory: #fffdf8;
  --paper: #ffffff;
  --ink: #17253c;
  --muted: #657085;
  --line: #eadfce;
  --sage: #9dae88;
  --rose: #d9a99a;
  --shadow: 0 18px 45px rgba(35, 25, 12, 0.12);
  --soft-shadow: 0 10px 30px rgba(7, 31, 59, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 18%, rgba(216, 183, 122, 0.13), transparent 24rem),
    linear-gradient(180deg, #fffdf9 0%, #fff9f0 42%, #fffdf9 100%);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", system-ui, sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 100%;
  height: 100%;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 22, 42, 0.98), rgba(6, 35, 65, 0.98)),
    var(--navy);
  border-bottom: 1px solid rgba(223, 186, 112, 0.3);
  box-shadow: 0 12px 30px rgba(7, 31, 59, 0.18);
  transition: background-color 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  background:
    linear-gradient(90deg, rgba(3, 22, 42, 0.94), rgba(6, 35, 65, 0.94)),
    var(--navy);
  border-bottom-color: rgba(223, 186, 112, 0.42);
  box-shadow: 0 8px 24px rgba(7, 31, 59, 0.24);
}

.header-inner {
  min-height: 88px;
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 58px;
  height: 58px;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-sub {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 15px;
}

.brand-main {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 30px;
  line-height: 1.2;
}

.brand-main small {
  margin-left: 8px;
  font-size: 16px;
  font-weight: 600;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold-2);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.primary-button,
.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.header-cta {
  padding: 10px 22px;
  color: #fff;
  background: linear-gradient(135deg, #d9ad61, #a9792e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 26px rgba(0, 0, 0, 0.22);
}

.header-cta:hover,
.primary-button:hover,
.gold-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 16px 32px rgba(137, 95, 34, 0.3);
}

.button-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.button-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  isolation: isolate;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: -3;
  transform-origin: 72% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.99) 0%, rgba(255, 253, 248, 0.94) 34%, rgba(255, 253, 248, 0.45) 60%, rgba(7, 31, 59, 0.24) 100%),
    linear-gradient(180deg, rgba(255, 248, 239, 0.08), rgba(255, 248, 239, 0.48));
}

.staff {
  position: absolute;
  pointer-events: none;
  opacity: 0.58;
}

.staff-hero {
  left: -60px;
  bottom: 28px;
  width: 610px;
  z-index: -1;
}

.hero-inner {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  padding: 102px 0 82px;
}

.script {
  margin: 0 0 20px;
  color: var(--gold-dark);
  font-family: "Brush Script MT", "Snell Roundhand", "Segoe Script", cursive;
  font-size: 30px;
  line-height: 1.2;
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  color: var(--navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 52px;
  line-height: 1.55;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.88);
}

.hero-lead {
  margin: 26px 0 0;
  max-width: 560px;
  color: #25344d;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.primary-button {
  min-width: 230px;
  padding: 14px 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  box-shadow: 0 14px 30px rgba(7, 31, 59, 0.22);
}

.text-link {
  color: var(--navy);
  font-weight: 800;
  border-bottom: 1px solid var(--gold);
}

.hero-badge {
  position: absolute;
  right: max(34px, calc((100vw - 1120px) / 2));
  bottom: 110px;
  width: 158px;
  height: 158px;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 50%, rgba(223, 186, 112, 0.16), transparent 52%),
    var(--navy);
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(7, 31, 59, 0.18), 0 18px 32px rgba(0, 0, 0, 0.22);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  line-height: 1.7;
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

/* JavaScriptが動作する場合だけアニメーション前の状態を適用する。 */
.js .hero-image,
.js .hero .script,
.js .hero h1,
.js .hero-lead,
.js .hero-actions,
.js .hero-badge {
  opacity: 0;
}

.js .hero-image {
  transform: scale(1.018);
}

.js .hero.is-ready .hero-image {
  opacity: 1;
  transform: scale(1.045);
  transition: opacity 1.1s ease, transform 12s ease-out;
}

.js .hero.is-ready .script,
.js .hero.is-ready h1,
.js .hero.is-ready .hero-lead,
.js .hero.is-ready .hero-actions,
.js .hero.is-ready .hero-badge {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .hero .script,
.js .hero h1,
.js .hero-lead,
.js .hero-actions,
.js .hero-badge {
  transform: translateY(14px);
}

.js .hero.is-ready .script {
  transition-delay: 180ms;
}

.js .hero.is-ready h1 {
  transition-delay: 260ms;
}

.js .hero.is-ready .hero-lead {
  transition-delay: 360ms;
}

.js .hero.is-ready .hero-actions,
.js .hero.is-ready .hero-badge {
  transition-delay: 480ms;
}

.js .reveal-section .section-heading,
.js .reveal-section .reveal-item {
  opacity: 0;
  transform: translateY(16px);
}

.js .reveal-section.is-visible .section-heading,
.js .reveal-section.is-visible .reveal-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease, transform 620ms ease;
}

.js .reveal-section.is-visible .reveal-item:nth-child(2) {
  transition-delay: 70ms;
}

.js .reveal-section.is-visible .reveal-item:nth-child(3) {
  transition-delay: 140ms;
}

.js .reveal-section.is-visible .reveal-item:nth-child(4) {
  transition-delay: 210ms;
}

.image-frame img {
  transition: transform 420ms ease, filter 420ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .image-frame:hover img {
    transform: scale(1.018);
    filter: drop-shadow(0 12px 18px rgba(7, 31, 59, 0.12));
  }
}

.section {
  position: relative;
  padding: 54px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 34px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 30px;
  line-height: 1.25;
}

.heading-line {
  position: relative;
  width: 92px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.heading-line::before,
.heading-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
  background: var(--ivory);
}

.heading-line::before {
  left: 12px;
}

.heading-line::after {
  right: 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card,
.teacher-card,
.lesson-panel,
.access-panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
}

.feature-card {
  min-height: 220px;
  padding: 28px 20px 24px;
  text-align: center;
  display: grid;
  align-content: start;
  gap: 12px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-inline: auto;
  color: var(--gold);
}

.feature-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon.small {
  width: 40px;
  height: 40px;
  margin: 0;
}

.feature-card h3,
.lesson-box h3,
.teacher-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 22px;
  line-height: 1.35;
}

.feature-card p,
.lesson-box p,
.teacher-card p,
.access-details p,
.contact-actions p {
  margin: 0;
  color: #344157;
  font-size: 15px;
}

.lesson {
  padding-top: 28px;
}

.lesson-panel {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.28fr 1.58fr;
  min-height: 260px;
}

.lesson-box {
  padding: 30px 28px;
}

.lesson-box + .lesson-box {
  border-left: 1px solid var(--line);
}

.lesson-box h3 {
  display: block;
  margin: -30px -28px 24px;
  padding: 10px 20px;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  background: linear-gradient(90deg, var(--navy), var(--navy-2));
  border-bottom: 3px solid var(--gold);
}

.genre-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.genre-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  font-weight: 700;
}

.genre-list span {
  width: 28px;
  height: 28px;
  color: var(--navy);
  flex: 0 0 auto;
}

.genre-list svg,
.access-list svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-list {
  margin: 0;
  display: grid;
  gap: 18px;
}

.info-list div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
}

.info-list dt {
  display: grid;
  place-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(200, 155, 78, 0.55);
  border-radius: 50%;
  color: var(--gold-dark);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.info-list dd {
  margin: 0;
  color: var(--navy);
}

.info-list strong {
  display: block;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 24px;
  line-height: 1.2;
}

.info-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.lesson-photo {
  margin: 0;
  min-height: 260px;
  overflow: hidden;
}

.lesson-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teachers {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 248, 239, 0.92)),
    radial-gradient(circle at 18% 30%, rgba(157, 174, 136, 0.18), transparent 24rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.staff-teachers {
  right: -80px;
  bottom: 26px;
  width: 520px;
  opacity: 0.32;
}

.teacher-layout {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 46px;
  align-items: center;
}

.teacher-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 1.55 / 1;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.teacher-photo figcaption {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%);
  display: grid;
  place-content: center;
  color: #fff;
  text-align: center;
  line-height: 1.35;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(7, 31, 59, 0.18), 0 16px 26px rgba(0, 0, 0, 0.18);
}

.teacher-photo figcaption strong {
  color: var(--gold-2);
  font-size: 42px;
  line-height: 1;
}

.section-heading-left {
  justify-content: flex-start;
  margin-bottom: 26px;
  text-align: left;
}

.teacher-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.teacher-card {
  min-height: 220px;
  padding: 30px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.access-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  padding: 24px;
  align-items: stretch;
  overflow: hidden;
}

.access-details {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 10px 8px;
}

.access-list {
  margin: 0;
  display: grid;
  gap: 20px;
}

.access-list div {
  display: grid;
  gap: 4px;
}

.access-list dt {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--navy);
  font-weight: 800;
}

.access-list dt span {
  width: 30px;
  height: 30px;
  color: var(--navy);
}

.access-list dd {
  margin: 0 0 0 43px;
  color: #2c3950;
  font-size: 18px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
}

.map-figure {
  margin: 0;
  min-height: 260px;
  border-radius: 6px;
  overflow: hidden;
  background: #f9f0df;
}

.map-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact {
  padding-top: 28px;
  overflow: hidden;
}

.staff-contact {
  left: -120px;
  bottom: 18px;
  width: 520px;
  opacity: 0.42;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.16fr;
  gap: 30px;
  align-items: center;
  padding: 28px 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 239, 0.9)),
    #fff;
}

.contact-panel::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 47%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(156, 114, 48, 0.45), transparent);
}

.phone-block {
  display: flex;
  align-items: center;
  gap: 22px;
}

.phone-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(7, 31, 59, 0.22);
}

.phone-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phone-block p {
  margin: 0 0 2px;
  color: var(--gold-dark);
  font-weight: 800;
}

.phone-block a {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1.1;
}

.phone-block span {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border: 1px solid rgba(156, 114, 48, 0.32);
  border-radius: 999px;
  color: #3b465b;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.68);
}

.contact-actions {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}

.gold-button {
  width: 100%;
  min-height: 78px;
  padding: 18px 28px;
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 27px;
  background: linear-gradient(135deg, #e3bd70, #b17d2d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 14px 30px rgba(137, 95, 34, 0.22);
}

.contact-actions p {
  text-align: center;
  font-weight: 700;
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, #061b34, #092d51 56%, #061b34),
    var(--navy);
  border-top: 1px solid rgba(223, 186, 112, 0.35);
}

.footer-inner {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  min-height: 168px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 34px 0 26px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand p,
.footer-brand strong,
.footer-brand span {
  display: block;
  margin: 0;
}

.footer-brand p {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 15px;
}

.footer-brand strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 30px;
  line-height: 1.25;
}

.footer-brand strong small {
  margin-left: 8px;
  font-size: 16px;
}

.footer-brand span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px 34px;
  justify-self: end;
  font-weight: 700;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--gold-2);
}

.footer-piano {
  position: absolute;
  right: 0;
  bottom: -24px;
  width: 210px;
  opacity: 0.16;
}

.copyright {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

@media (max-width: 1080px) {
  .header-inner {
    gap: 18px;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lesson-panel {
    grid-template-columns: 1fr 1fr;
  }

  .lesson-photo {
    grid-column: 1 / -1;
    min-height: 300px;
  }

  .teacher-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container,
  .header-inner,
  .hero-inner,
  .footer-inner,
  .copyright {
    width: min(100% - 32px, 640px);
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: auto;
    padding: 14px 0;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-sub {
    font-size: 12px;
  }

  .brand-main {
    font-size: 20px;
  }

  .brand-main small {
    display: block;
    margin: 2px 0 0;
    font-size: 13px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: clamp(650px, 76svh, 780px);
    display: grid;
    align-items: center;
    background: var(--navy);
  }

  .hero-image {
    height: 100%;
    top: 0;
    object-position: 72% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 25, 48, 0.9) 0%, rgba(5, 25, 48, 0.76) 58%, rgba(5, 25, 48, 0.34) 100%),
      linear-gradient(180deg, rgba(5, 25, 48, 0.2) 0%, rgba(5, 25, 48, 0.08) 55%, rgba(5, 25, 48, 0.58) 100%);
  }

  .hero-inner {
    padding: 72px 0 78px;
  }

  .script {
    margin-bottom: 16px;
    color: var(--gold-2);
    font-size: 26px;
  }

  .hero h1 {
    max-width: 520px;
    color: var(--ivory);
    font-size: 32px;
    line-height: 1.55;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
  }

  .hero-lead {
    max-width: 480px;
    color: rgba(255, 253, 248, 0.94);
    font-size: 16px;
    line-height: 1.9;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.52);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    max-width: 320px;
  }

  .primary-button {
    width: 100%;
    color: var(--navy);
    background: linear-gradient(135deg, #f0d28f, #c69543);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  }

  .text-link {
    width: max-content;
    color: var(--ivory);
    border-bottom-color: var(--gold-2);
  }

  .hero-badge {
    display: none;
  }

  .staff-hero {
    width: 420px;
    left: -150px;
    bottom: 28px;
    opacity: 0.25;
  }

  .section {
    padding: 44px 0;
  }

  .section-heading {
    gap: 16px;
    margin-bottom: 26px;
  }

  .section-heading h2 {
    font-size: 25px;
  }

  .heading-line {
    width: 48px;
  }

  .feature-grid,
  .teacher-cards,
  .access-panel,
  .contact-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .lesson-panel {
    grid-template-columns: 1fr;
  }

  .lesson-box + .lesson-box {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .lesson-photo {
    min-height: 240px;
  }

  .teacher-photo {
    aspect-ratio: 1.25 / 1;
  }

  .access-panel {
    padding: 18px;
  }

  .map-figure {
    min-height: 220px;
  }

  .contact-panel {
    padding: 24px 20px;
  }

  .contact-panel::before {
    display: none;
  }

  .phone-block {
    align-items: flex-start;
  }

  .phone-block a {
    font-size: 36px;
  }

  .gold-button {
    min-height: 66px;
    font-size: 21px;
    white-space: normal;
  }

  .footer-inner {
    gap: 24px;
  }

  .footer-nav {
    justify-self: stretch;
  }
}

@media (max-width: 460px) {
  .header-inner {
    align-items: flex-start;
  }

  .header-cta {
    display: none;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-inner {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .phone-block {
    gap: 14px;
  }

  .phone-icon {
    width: 50px;
    height: 50px;
  }

  .phone-block a {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js .hero-image,
  .js .hero .script,
  .js .hero h1,
  .js .hero-lead,
  .js .hero-actions,
  .js .hero-badge,
  .js .reveal-section .section-heading,
  .js .reveal-section .reveal-item {
    opacity: 1;
    transform: none;
  }
}
