:root {
  --bg: #090d1a;
  --bg-soft: #121a2e;
  --panel: rgba(139, 111, 214, 0.10);
  --panel-strong: rgba(139, 111, 214, 0.17);
  --text: #f4f2ff;
  --muted: #b9b5cf;
  --accent: #8b6fd6;
  --accent-2: #3d63b8;
  --gold: #e2c675;
  --gold-2: #b99a4a;
  --line: rgba(226, 198, 117, 0.18);
  --shadow: 0 24px 80px rgba(2, 5, 16, 0.48);
  --radius: 28px;
  --container: 1240px;
  --section-frame-width: min(calc(100vw - 32px), 1880px);
  --section-inner-width: min(calc(100% - 64px), 1480px);
  --header-height: 78px;
  --parallax-y: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 8%, rgba(89, 67, 167, .28), transparent 34rem),
    radial-gradient(circle at 86% 22%, rgba(38, 87, 164, .22), transparent 28rem),
    radial-gradient(circle at 52% 86%, rgba(226, 198, 117, .08), transparent 32rem);
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 12px; background: var(--gold); color: #101525; padding: 10px 14px; border-radius: 999px; z-index: 20; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 80;
  background: rgba(9, 13, 26, .86);
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(18px);
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  background: rgba(6, 10, 22, .94);
  border-color: rgba(226, 198, 117, .24);
}
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; }
.brand-logo {
  width: auto;
  max-width: 220px;
  height: clamp(34px, 5vw, 52px);
  object-fit: contain;
}
.footer-logo { height: 48px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #101525;
  box-shadow: 0 10px 28px rgba(61, 99, 184, .34);
}
.main-nav { display: none; align-items: center; gap: clamp(14px, 1.7vw, 24px); color: var(--muted); font-size: 14px; white-space: nowrap; }
.main-nav a:hover { color: var(--text); }
.nav-menu { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 24px); margin: 0; padding: 0; list-style: none; }
.nav-menu li:last-child a { color: #101525; background: linear-gradient(135deg, var(--gold), #cab15f); padding: 10px 18px; border-radius: 999px; font-weight: 900; }
.nav-cta { color: #101525 !important; background: linear-gradient(135deg, var(--gold), #cab15f); padding: 10px 18px; border-radius: 999px; font-weight: 900; box-shadow: 0 12px 34px rgba(226,198,117,.22); }
.nav-menu li:last-child a,
.nav-cta,
button {
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease, border-color .22s ease;
}
.nav-menu li:last-child a:hover,
.nav-cta:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.08);
  box-shadow: 0 18px 44px rgba(226,198,117,.30);
}
.nav-toggle { background: var(--panel); border: 1px solid var(--line); color: var(--text); border-radius: 14px; padding: 9px 12px; }

.section {
  padding: clamp(86px, 10vw, 132px) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
.section::before {
  content: "";
  position: absolute;
  width: min(38vw, 520px);
  height: min(38vw, 520px);
  right: -12vw;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,111,214,.18), transparent 64%);
  filter: blur(2px);
  transform: translate3d(0, calc(var(--parallax-y) * .18), 0);
  pointer-events: none;
  z-index: -1;
}
.section:nth-of-type(even)::before {
  right: auto;
  left: -14vw;
  background: radial-gradient(circle, rgba(61,99,184,.16), transparent 64%);
}
.section-wow > .container { position: relative; z-index: 2; }
.section-media,
.section-orb {
  position: absolute;
  inset: 5%;
  z-index: -1;
  border-radius: clamp(34px, 5vw, 70px);
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, calc(var(--parallax-y) * .22), 0) scale(1.02);
}
.section-media {
  opacity: .34;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 40px 120px rgba(0,0,0,.34);
}
.section-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,13,26,.94), rgba(9,13,26,.58) 48%, rgba(9,13,26,.90)),
    linear-gradient(180deg, rgba(9,13,26,.80), transparent 45%, rgba(9,13,26,.94));
}
.section-media img,
.section-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
.section-orb {
  opacity: .7;
  background:
    radial-gradient(circle at 20% 25%, rgba(226,198,117,.16), transparent 34%),
    radial-gradient(circle at 82% 65%, rgba(89,67,167,.22), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.045), transparent);
  border: 1px solid rgba(255,255,255,.06);
}
.section-soft { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)); }
.hero { min-height: calc(100svh - var(--header-height)); display: grid; align-items: center; overflow: hidden; padding-top: clamp(40px, 6vw, 86px); }
.hero-bg {
  position: absolute; inset: auto -20% -12% auto; width: 62vw; height: 62vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,111,214,.24), transparent 62%);
  filter: blur(4px);
  transform: translate3d(0, calc(var(--parallax-y) * .28), 0);
}
.hero-grid { display: grid; gap: clamp(38px, 6vw, 82px); align-items: center; }
.eyebrow { margin: 0 0 16px; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-weight: 900; font-size: 12px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  font-size: clamp(38px, 8.5vw, 92px);
  line-height: 1.04;
  letter-spacing: -.02em;
  max-width: 920px;
}
h2 { margin: 0; font-size: clamp(32px, 5.2vw, 60px); line-height: 1.1; letter-spacing: -.015em; }
h3 { margin: 0 0 10px; font-size: clamp(20px, 2vw, 26px); line-height: 1.18; letter-spacing: -.01em; }
p { color: var(--muted); margin: 0; }
.hero-subtitle { margin-top: 28px; font-size: clamp(18px, 2vw, 25px); max-width: 720px; }
.hero-actions { display: flex; flex-direction: column; gap: 14px; margin: 38px 0 20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 800; transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease, filter .22s ease;
}
.btn:hover { transform: translateY(-3px) scale(1.015); filter: brightness(1.07); box-shadow: 0 18px 50px rgba(89,67,167,.30); }
.btn:active,
button:active,
.nav-cta:active,
.nav-menu li:last-child a:active { transform: translateY(1px) scale(.965); }
.btn.is-clicked,
button.is-clicked,
.nav-cta.is-clicked,
.nav-menu li:last-child a.is-clicked { animation: olaButtonClick .42s cubic-bezier(.2,.8,.2,1); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--accent), var(--accent-2)); color: #101525; border-color: transparent; box-shadow: 0 20px 54px rgba(89,67,167,.30); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); }
.microcopy { font-size: 14px; max-width: 560px; }
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 360px;
  max-height: 660px;
  border-radius: 38px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
  transform: translate3d(0, calc(var(--parallax-y) * -.08), 0);
}
.hero-visual img,
.hero-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(9,13,26,.82));
}
.visual-placeholder { min-height: 520px; display: grid; place-items: center; text-align: center; background: linear-gradient(135deg, rgba(139,111,214,.34), rgba(61,99,184,.22)), linear-gradient(160deg, #17213d, #070a14); }
.visual-placeholder span { position: absolute; font-size: clamp(54px, 14vw, 140px); opacity: .12; font-weight: 900; letter-spacing: -.08em; }
.visual-placeholder strong { font-size: 26px; z-index: 1; }
.floating-card {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1;
  padding: 18px; border-radius: 24px; background: rgba(9,13,26,.76); border: 1px solid var(--line); backdrop-filter: blur(16px);
  transform: translate3d(0, calc(var(--parallax-y) * -.16), 0);
}
.floating-card strong, .floating-card span { display: block; }
.floating-card span { color: var(--muted); font-size: 14px; margin-top: 4px; }

.split-heading, .section-head { display: grid; gap: 20px; margin-bottom: clamp(34px, 5vw, 62px); }
.split-heading p, .section-head p { max-width: 720px; font-size: clamp(18px, 1.55vw, 22px); }
.cards { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.card, .review-card, .price-card, .teacher-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.055));
  border: 1px solid var(--line);
  border-radius: clamp(26px, 3vw, 38px);
  padding: clamp(28px, 3vw, 44px);
  box-shadow: 0 28px 90px rgba(0,0,0,.22);
  transform-style: preserve-3d;
  transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
}
.card::after, .review-card::after, .price-card::after, .teacher-card::after,
.check-item::after, .schedule-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 38%, rgba(226,198,117,.14) 48%, transparent 58% 100%);
  transform: translateX(-130%);
  opacity: 0;
  pointer-events: none;
}
.card.is-visible::after, .review-card.is-visible::after, .price-card.is-visible::after, .teacher-card.is-visible::after,
.check-item.is-visible::after, .schedule-row.is-visible::after {
  animation: olaShimmer 1.45s ease .25s both;
}
.card:hover, .review-card:hover, .price-card:hover, .teacher-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139,111,214,.42);
  background: rgba(255,255,255,.095);
  box-shadow: 0 28px 90px rgba(0,0,0,.26);
}
.card { min-height: clamp(260px, 24vw, 340px); }
.card-dot {
  position: relative;
  width: 12px;
  height: 12px;
  display: block;
  border-radius: 50%;
  background: var(--gold);
  margin-bottom: clamp(42px, 6vw, 82px);
  box-shadow: 0 0 32px rgba(139,111,214,.30);
}
.card-dot::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(226,198,117,.28);
  border-radius: 50%;
  opacity: .72;
  transform: scale(.72);
  animation: olaPulse 2.8s ease-in-out infinite;
  will-change: transform, opacity;
}
.two-col { display: grid; gap: clamp(32px, 6vw, 78px); align-items: center; }
.check-list { display: grid; gap: 16px; }
.check-item { position: relative; overflow: hidden; display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.035)); }
.check-item span { color: var(--accent); font-weight: 900; }
.program-list { display: grid; border-top: 1px solid var(--line); }
.program-item { display: grid; gap: 18px; padding: clamp(26px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line); }
.program-item span, .step-number { color: var(--accent); font-weight: 900; letter-spacing: .08em; }
.schedule-table { display: grid; gap: 16px; }
.schedule-scroll {
  max-height: min(62vh, 680px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 24px 18px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 34px, #000 calc(100% - 34px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 34px, #000 calc(100% - 34px), transparent 100%);
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}
.schedule-scroll::-webkit-scrollbar { display: none; }
.schedule-scroll.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.schedule-scroll .schedule-row {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  transform: none !important;
  filter: none !important;
}
.schedule-scroll:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 26px; }
.schedule-row { position: relative; overflow: hidden; display: grid; gap: 7px; grid-template-columns: 1fr auto; align-items: center; background: linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.045)); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 2.6vw, 34px); }
.schedule-row small { grid-column: 1 / -1; color: var(--muted); }
.schedule-direction { display: block; grid-column: auto; color: var(--gold) !important; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.price-lessons { margin-top: 8px; color: var(--gold); font-weight: 800; }
.text-link { display: inline-flex; margin-top: 24px; color: var(--accent); font-weight: 800; }
.teacher-card {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: min(76vh, 780px);
  padding: clamp(24px, 3vw, 46px);
}
#teachers .cards.two { grid-template-columns: 1fr; }
.teacher-static {
  width: min(calc(100% - 32px), 1600px);
  max-width: 1600px;
  justify-content: center;
  gap: clamp(20px, 2.2vw, 34px);
}
.teacher-static.teacher-count-2 {
  grid-template-columns: repeat(2, minmax(0, 690px)) !important;
}
.teacher-static.teacher-count-1 {
  width: min(calc(100% - 32px), 690px);
}
.teacher-static .teacher-card,
.teacher-static .teacher-card:nth-child(even) {
  width: min(100%, 690px);
  max-width: 690px;
  min-height: clamp(470px, 35vw, 560px);
  grid-template-columns: minmax(215px, .46fr) minmax(0, .54fr) !important;
  grid-template-areas: "media copy" !important;
  gap: 0;
  padding: 0;
  border-radius: clamp(28px, 3vw, 40px);
  transform: none !important;
  filter: none !important;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.055));
}
.teacher-static .teacher-card img,
.teacher-static .teacher-placeholder {
  width: 100%;
  height: 100%;
  min-height: clamp(470px, 35vw, 560px);
  aspect-ratio: auto;
  border-radius: clamp(28px, 3vw, 40px) 0 0 clamp(28px, 3vw, 40px);
  box-shadow: none;
}
.teacher-static .teacher-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  padding: clamp(28px, 2.5vw, 40px);
}
.teacher-static .teacher-copy h3 {
  font-size: clamp(28px, 2.15vw, 36px);
  line-height: 1.02;
  letter-spacing: -.045em;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  margin-bottom: clamp(22px, 2vw, 32px);
}
.teacher-static .teacher-copy p:not(.eyebrow) {
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.5;
}
.teacher-marquee {
  display: flex !important;
  width: min(calc(100% - 32px), 1600px);
  max-width: 1600px;
  gap: clamp(20px, 2.2vw, 34px);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: none;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  padding: 8px clamp(18px, 4vw, 70px) 20px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.teacher-marquee::-webkit-scrollbar { display: none; }
.teacher-marquee.is-dragging { cursor: grabbing; }
.teacher-marquee .teacher-card {
  flex: 0 0 clamp(560px, 43vw, 690px);
  width: clamp(560px, 43vw, 690px);
  max-width: clamp(560px, 43vw, 690px);
  min-height: clamp(470px, 35vw, 560px);
  grid-template-columns: minmax(215px, .46fr) minmax(0, .54fr) !important;
  grid-template-areas: "media copy" !important;
  gap: 0;
  padding: 0;
  border-radius: clamp(28px, 3vw, 40px);
  transform: none !important;
  filter: none !important;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.055));
}
.teacher-marquee .teacher-card:nth-child(even) {
  grid-template-columns: minmax(215px, .46fr) minmax(0, .54fr) !important;
  grid-template-areas: "media copy" !important;
}
.teacher-marquee .teacher-card img,
.teacher-marquee .teacher-placeholder {
  width: 100%;
  height: 100%;
  min-height: clamp(470px, 35vw, 560px);
  aspect-ratio: auto;
  border-radius: clamp(28px, 3vw, 40px) 0 0 clamp(28px, 3vw, 40px);
  box-shadow: none;
}
.teacher-marquee .teacher-card > .teacher-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  padding: clamp(30px, 3.4vw, 54px);
}
.teacher-marquee .teacher-card > .teacher-copy > h3 {
  font-size: clamp(30px, 2.55vw, 44px);
  line-height: .98;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  margin-bottom: clamp(28px, 3vw, 46px);
}
.teacher-marquee .teacher-card > .teacher-copy > p:not(.eyebrow) {
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.55;
}
.teacher-marquee:focus-visible { outline: 2px solid var(--gold); outline-offset: 8px; border-radius: 38px; }
.teacher-card img, .teacher-placeholder {
  grid-area: media;
  width: 100%;
  height: min(68vh, 720px);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center top;
  border-radius: clamp(24px, 3vw, 36px);
  background: linear-gradient(135deg, rgba(139,111,214,.28), rgba(61,99,184,.20));
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.teacher-card > .teacher-copy { grid-area: copy; max-width: 620px; min-width: 0; }
.teacher-card > .teacher-copy > h3 { font-size: clamp(34px, 5vw, 70px); margin-bottom: 22px; }
.teacher-card > .teacher-copy > p:not(.eyebrow) { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.65; }
@media (min-width: 700px) {
  #teachers .teacher-static .teacher-card > .teacher-copy {
    padding: clamp(28px, 2.5vw, 40px);
  }
  #teachers .teacher-static .teacher-card > .teacher-copy > h3 {
    margin-bottom: clamp(22px, 2vw, 32px);
    font-size: clamp(28px, 2.15vw, 36px);
    line-height: 1.02;
    letter-spacing: -.045em;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  #teachers .teacher-static .teacher-card > .teacher-copy > p:not(.eyebrow) {
    font-size: clamp(16px, 1.05vw, 18px);
    line-height: 1.5;
  }
}
.teacher-placeholder { display: grid; place-items: center; font-size: 72px; font-weight: 900; color: rgba(255,255,255,.75); }
.price-grid { align-items: stretch; }
.price-card { display: flex; flex-direction: column; gap: 22px; min-height: 420px; }
.price-card.featured { background: linear-gradient(180deg, rgba(139,111,214,.20), rgba(255,255,255,.07)); border-color: rgba(226,198,117,.48); }
.price { font-size: clamp(36px, 3.6vw, 50px); font-weight: 900; letter-spacing: -.015em; }
.price-card ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.price-card li::before { content: "✓"; color: var(--accent); font-weight: 900; margin-right: 9px; }
.price-card .btn { margin-top: auto; }
.stars { color: var(--accent); letter-spacing: .08em; margin-bottom: 16px; }
.review-card { min-height: 320px; }
.review-card strong { display: block; margin-top: 22px; }
.faq-list { display: grid; gap: 14px; }
details { background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.04)); border: 1px solid var(--line); border-radius: 26px; padding: 22px 24px; }
summary { cursor: pointer; font-weight: 800; }
details p { margin-top: 12px; }
.section-cta { background: radial-gradient(circle at 50% 0%, rgba(139,111,214,.22), transparent 45%); }
.contact-grid { display: grid; gap: clamp(34px, 6vw, 80px); align-items: center; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact-links a { border: 1px solid var(--line); padding: 10px 14px; border-radius: 999px; background: var(--panel); }
.lead-form { background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.065)); border: 1px solid var(--line); border-radius: 34px; padding: clamp(24px, 3vw, 42px); display: grid; gap: 16px; box-shadow: var(--shadow); }
.lead-form label { display: grid; gap: 7px; color: var(--muted); font-size: 14px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; border: 1px solid var(--line); background: rgba(0,0,0,.22); color: var(--text);
  border-radius: 16px; padding: 13px 14px; outline: none;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(139,111,214,.16); }
.lead-form small { color: var(--muted); font-size: 12px; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.form-status { min-height: 22px; font-weight: 800; color: var(--accent); }
.form-status.error { color: #ff8f89; }
.site-footer { padding: 48px 0 28px; border-top: 1px solid var(--line); background: #070a14; }
.footer-grid { display: grid; gap: 28px; }
.footer-title { font-size: 16px; letter-spacing: 0; margin-bottom: 12px; }
.footer-links, .footer-contacts { display: grid; gap: 8px; align-content: start; color: var(--muted); }
.copyright { margin-top: 34px; color: var(--muted); font-size: 13px; }

.direction-card { color: inherit; }
.direction-card strong { display: inline-block; margin-top: auto; padding-top: 26px; color: var(--gold); }
.page-hero { min-height: min(900px, calc(100svh - var(--header-height))); }
.privacy-hero {
  min-height: 0;
  padding-block: clamp(70px, 8vw, 118px) clamp(48px, 6vw, 82px);
}
.privacy-hero .hero-grid { grid-template-columns: 1fr; }
.privacy-hero .hero-copy { max-width: 1040px; }
.privacy-hero .hero-copy::before {
  content: "Документи студії";
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(226,198,117,.28);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(226,198,117,.06);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.privacy-hero .hero-actions,
.privacy-hero .microcopy,
.privacy-hero .eyebrow { display: none; }
.legal-page-content {
  width: min(calc(100% - 24px), 1880px);
  margin: 0 auto 12px;
  padding: clamp(18px, 3vw, 42px);
  border: 1px solid rgba(226,198,117,.12);
  border-radius: clamp(30px, 5vw, 60px);
  background:
    radial-gradient(circle at 8% 2%, rgba(139,111,214,.16), transparent 30rem),
    radial-gradient(circle at 96% 92%, rgba(61,99,184,.13), transparent 28rem),
    linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
}
.legal-page-content .rich-content {
  width: min(100%, 1120px);
  margin-inline: auto;
}
.legal-page-content .rich-content > section {
  min-height: 0;
  width: 100%;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 50px);
  border: 1px solid rgba(226,198,117,.12);
  border-radius: 26px;
  background: rgba(7,10,20,.46);
  display: block;
}
.legal-page-content .rich-content > section + section {
  margin-top: 14px;
}
.legal-page-content .rich-content h2 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 38px);
}
.legal-page-content .rich-content p,
.legal-page-content .rich-content li {
  max-width: 920px;
  font-size: clamp(16px, 1.25vw, 18px);
  color: var(--muted);
}
.legal-page-content .rich-content strong { color: var(--text); }
.legal-page-content .rich-content > section:nth-child(odd) {
  background:
    linear-gradient(135deg, rgba(139,111,214,.10), rgba(7,10,20,.48));
}
.legal-page-content .rich-content > section::before { display: none; }
.page-content { position: relative; padding: 0; }
.rich-content { width: 100%; max-width: none; }

/* Ритм сторінки: велика плашка чергується з відкритою секцією. */
main#main > .section:not(.hero):not(.home-seo-copy),
.rich-content > section {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background-color: transparent;
}

main#main > .section:not(.hero):not(.home-seo-copy):nth-of-type(even),
.rich-content > section:nth-child(odd) {
  width: calc(100% - 24px);
  margin: 12px auto;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: clamp(34px, 5vw, 64px);
  background:
    radial-gradient(circle at 14% 12%, rgba(139,111,214,.15), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(61,99,184,.10), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}

.rich-content > section {
  position: relative;
  min-height: min(82svh, 900px);
  padding: clamp(82px, 10vw, 140px) 0;
  isolation: isolate;
  display: grid;
  align-items: center;
}
.rich-content > section::before {
  content: "";
  position: absolute;
  width: min(48vw, 680px);
  height: min(48vw, 680px);
  right: -20vw;
  top: 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,198,117,.10), transparent 65%);
  z-index: -1;
  pointer-events: none;
}
.rich-content > section:nth-child(even)::before { right: auto; left: -20vw; background: radial-gradient(circle, rgba(61,99,184,.14), transparent 65%); }
.rich-content > section:last-child { margin-bottom: 0; }
.inner-section-shell {
  width: var(--section-inner-width);
  max-width: 1480px;
  min-width: 0;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.rich-content h2 { max-width: 1080px; margin: 0 0 clamp(24px, 3vw, 38px); }
.rich-content h3 { margin-bottom: 12px; }
.rich-content p, .rich-content li { font-size: clamp(17px, 1.45vw, 20px); }
.rich-content p { max-width: 1080px; }
.rich-content p + p { margin-top: 18px; }
.rich-content ul, .rich-content ol { display: grid; gap: 12px; padding-left: 24px; color: var(--muted); }
.rich-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.content-grid { display: grid; gap: 18px; margin-top: clamp(32px, 4vw, 52px); }
.content-grid article {
  position: relative;
  min-height: clamp(230px, 22vw, 320px);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}
.content-grid article::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: clamp(38px, 5vw, 68px);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 12px rgba(226,198,117,.08), 0 0 34px rgba(139,111,214,.24);
}
.layout-list .inner-section-shell,
.layout-editorial .inner-section-shell,
.layout-cards .inner-section-shell {
  display: block;
  padding-inline: 0;
}
.layout-list ul, .layout-list ol {
  list-style: none;
  padding: 0;
  margin: clamp(32px, 4vw, 52px) 0 0;
  gap: 14px;
  max-width: 1080px;
}
.layout-list li {
  position: relative;
  padding: 22px 24px 22px 66px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
}
.layout-list li::before {
  content: "✓";
  position: absolute;
  left: 24px;
  top: 22px;
  color: var(--accent);
  font-weight: 900;
}
.layout-cards .content-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.commerce-section {
  isolation: isolate;
}
.schedule-section,
.prices-section {
  min-height: calc(100svh - var(--header-height));
  padding: clamp(96px, 9vw, 138px) 0;
}
.schedule-section .container,
.prices-section .container {
  width: min(calc(100% - 32px), var(--container));
}
.prices-section .section-head {
  margin-bottom: clamp(42px, 5vw, 68px);
}
.prices-section .price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.schedule-section .two-col {
  min-height: min(66vh, 720px);
}
.schedule-section .two-col > :first-child,
.prices-section .section-head {
  align-self: center;
}
.schedule-section .two-col > :first-child h2,
.prices-section .section-head h2 {
  margin-bottom: 20px;
}
.schedule-section .two-col > :first-child > p,
.prices-section .section-head > p {
  max-width: 680px;
}

@media (min-width: 700px) and (max-width: 979px) {
  .prices-section .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-section .two-col {
    min-height: auto;
  }
}

@media (max-width: 699px) {
  .schedule-section,
  .prices-section {
    min-height: auto;
    padding: 72px 0;
  }

  .schedule-section .container,
  .prices-section .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .schedule-section .two-col {
    min-height: auto;
  }

  .prices-section .price-grid {
    grid-template-columns: 1fr;
  }
}
.commerce-empty {
  min-height: 420px;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: clamp(28px, 4vw, 42px);
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-shadow: var(--shadow);
}
.commerce-empty h3 { font-size: clamp(32px, 5vw, 62px); max-width: 720px; }
.commerce-empty p:not(.eyebrow) { max-width: 620px; font-size: clamp(17px, 1.5vw, 21px); }
.commerce-empty .btn { margin-top: 30px; }
.direction-marquee {
  display: flex;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: clamp(32px, 4vw, 52px);
  padding: 8px 8px 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}
.direction-marquee::-webkit-scrollbar { display: none; }
.direction-marquee.is-dragging { cursor: grabbing; }
.direction-marquee .reveal {
  opacity: 1;
  transform: none;
  filter: none;
}
.direction-slide {
  flex: 0 0 clamp(300px, 31vw, 420px);
  min-height: 390px;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid var(--line);
  border-radius: clamp(26px, 3vw, 38px);
  background: linear-gradient(150deg, rgba(255,255,255,.095), rgba(255,255,255,.04));
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.other-directions-section {
  grid-template-columns: minmax(0, 1fr);
}
.other-directions-section .inner-section-shell {
  width: var(--section-inner-width);
  max-width: 1480px;
  min-width: 0;
  padding-inline: 0 !important;
}
.other-directions-section h2 { margin-bottom: 0; }
.direction-slide:hover { transform: translateY(-8px); border-color: rgba(226,198,117,.36); background: rgba(255,255,255,.09); }
.direction-slide > span { color: var(--gold); font-weight: 900; letter-spacing: .12em; }
.direction-slide > div { margin: auto 0; }
.direction-slide h3 { font-size: clamp(28px, 3vw, 42px); }
.direction-slide strong { color: var(--gold); }
.rich-block-media {
  width: 100%;
  margin: clamp(34px, 5vw, 58px) 0 0;
  border: 1px solid var(--line);
  border-radius: clamp(24px, 4vw, 44px);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.rich-block-media img,
.rich-block-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.rich-media-background {
  margin: 0;
  padding: clamp(82px, 10vw, 140px) 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0;
  isolation: isolate;
}
.rich-block-background {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.rich-block-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9,13,26,.97), rgba(9,13,26,.70)), linear-gradient(0deg, rgba(9,13,26,.68), transparent);
}
.rich-block-background img,
.rich-block-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rich-block-inner { position: relative; z-index: 1; }
.has-block-media .inner-section-shell { display: grid; gap: clamp(34px, 6vw, 82px); align-items: center; }
.home-seo-copy {
  width: calc(100% - 24px);
  min-height: auto !important;
  margin: 12px auto;
  padding: clamp(72px, 8vw, 120px) 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: clamp(34px, 5vw, 64px);
  background:
    radial-gradient(circle at 14% 12%, rgba(226,198,117,.10), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(130,82,184,.08), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}
.home-seo-shell {
  width: var(--section-inner-width);
  max-width: 1480px;
  min-width: 0;
  margin-inline: auto;
}
.home-seo-content { min-width: 0; overflow-wrap: anywhere; }
.home-seo-content h2,
.home-seo-content p { max-width: 1080px; }
.home-seo-content h2 { margin-bottom: clamp(24px, 3vw, 38px); }
.mobile-sticky-cta { display: none; }
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 74;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226,198,117,.46);
  border-radius: 50%;
  background: rgba(9,13,26,.90);
  color: var(--gold);
  font-size: 22px;
  box-shadow: 0 16px 44px rgba(0,0,0,.38);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
body.show-back-to-top .back-to-top { opacity: 1; visibility: visible; transform: translateY(0); }

@keyframes olaPulse {
  0%, 100% { transform: scale(.72); opacity: .72; }
  50% { transform: scale(1.22); opacity: .18; }
}
@keyframes olaButtonClick {
  0% { transform: scale(1); }
  38% { transform: scale(.94); filter: brightness(1.18); }
  72% { transform: scale(1.035); }
  100% { transform: scale(1); }
}

@keyframes olaShimmer {
  0% { opacity: 0; transform: translateX(-130%); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translateX(130%); }
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 46px, 0) scale(.985);
  filter: blur(10px);
  transition: opacity .85s cubic-bezier(.22,1,.36,1), transform .85s cubic-bezier(.22,1,.36,1), filter .85s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-from-left { transform: translate3d(-58px, 24px, 0) rotate(-1.8deg); }
.reveal-from-right { transform: translate3d(58px, 24px, 0) rotate(1.8deg); }
.reveal-zoom { transform: translate3d(0, 38px, 0) scale(.92); }
.reveal-soft { transform: translate3d(0, 28px, 0) scale(.99); filter: blur(16px); }
.reveal-lift { transform: translate3d(0, 72px, 0) rotate(.8deg); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.is-visible { filter: blur(0); }
.reveal.is-visible.price-card.featured { transform: translateY(-6px); }
.reveal.is-visible.card:hover,
.reveal.is-visible.review-card:hover,
.reveal.is-visible.teacher-card:hover,
.reveal.is-visible.price-card:hover { transform: translateY(-10px); }
.reveal.is-visible.price-card.featured:hover { transform: translateY(-16px); }

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity .2s ease, width .25s ease, height .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.cursor-dot {
  width: 9px;
  height: 9px;
  background: var(--gold);
  box-shadow: 0 0 22px rgba(226,198,117,.95);
}
.cursor-ring {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(226,198,117,.78);
  background: rgba(226,198,117,.055);
  box-shadow: 0 0 34px rgba(226,198,117,.14), inset 0 0 22px rgba(226,198,117,.06);
}
body.cursor-ready .cursor-dot,
body.cursor-ready .cursor-ring { opacity: 1; }
body.cursor-hover .cursor-ring {
  width: 86px;
  height: 86px;
  background: rgba(226,198,117,.13);
  border-color: rgba(226,198,117,1);
  box-shadow: 0 0 52px rgba(226,198,117,.24), inset 0 0 34px rgba(226,198,117,.10);
}
body.cursor-pressed .cursor-ring {
  width: 62px;
  height: 62px;
  background: rgba(226,198,117,.20);
}
body.cursor-pressed .cursor-dot {
  transform: scale(.75);
}

.cursor-trail {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
body.cursor-ready .cursor-trail { opacity: 1; }

@media (min-width: 700px) {
  .hero-actions { flex-direction: row; }
  .cards.two, .cards.three, .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.35fr repeat(3, minmax(0, .8fr)); }
  .program-item { grid-template-columns: 90px 1fr 1.2fr; align-items: start; }
  .content-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 980px) {
  body.custom-cursor,
  body.custom-cursor a,
  body.custom-cursor button,
  body.custom-cursor summary,
  body.custom-cursor input,
  body.custom-cursor select,
  body.custom-cursor textarea { cursor: none; }
  .nav-toggle { display: none; }
  .main-nav { display: flex; }
  .section {
    min-height: calc(100svh - var(--header-height));
    display: grid;
    align-items: center;
    padding: clamp(96px, 9vw, 138px) 0;
  }
  .hero-grid { grid-template-columns: 1.08fr .92fr; }
  .hero-visual { aspect-ratio: 5 / 6; min-height: 620px; }
  .split-heading, .two-col, .contact-grid { grid-template-columns: .85fr 1.15fr; }
  .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #teachers .cards.two { grid-template-columns: 1fr; }
  #teachers .teacher-static .teacher-card,
  #teachers .teacher-static .teacher-card:nth-child(even),
  #teachers .teacher-marquee .teacher-card,
  #teachers .teacher-marquee .teacher-card:nth-child(even) {
    height: clamp(470px, 35vw, 560px);
    min-height: 0;
    max-height: 560px;
    align-self: center;
  }
  #teachers .teacher-static .teacher-card img,
  #teachers .teacher-static .teacher-placeholder,
  #teachers .teacher-marquee .teacher-card img,
  #teachers .teacher-marquee .teacher-placeholder {
    height: 100%;
    min-height: 0;
    max-height: 560px;
  }
  #teachers .teacher-static .teacher-copy,
  #teachers .teacher-marquee .teacher-copy {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }
  .teacher-card {
    grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
    grid-template-areas: "media copy";
  }
  .teacher-card:nth-child(even) {
    grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr);
    grid-template-areas: "copy media";
  }
  .has-block-media .inner-section-shell {
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  }
  .has-block-media:nth-child(even) .inner-section-shell {
    grid-template-columns: minmax(420px, 1.08fr) minmax(0, .92fr);
  }
  .has-block-media:nth-child(even) .inner-section-copy { order: 2; }
  .has-block-media:nth-child(even) .rich-block-media { order: 1; }
  .has-block-media .rich-block-media { margin: 0; }
  .lead-form { padding: 30px; }
}

@media (max-width: 979px) {
  :root { --header-height: 72px; }
  .admin-bar .site-header { top: 46px; }
  .brand-logo { max-width: 168px; }
  .main-nav.is-open {
    position: fixed;
    top: calc(var(--header-height) + var(--wp-admin--admin-bar--height, 0px) + 12px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 2px;
    max-height: calc(100svh - var(--header-height) - var(--wp-admin--admin-bar--height, 0px) - 28px);
    overflow-y: auto;
    padding: 16px;
    background: rgba(9,13,26,.97);
    border: 1px solid rgba(226,198,117,.22);
    border-radius: 22px;
    backdrop-filter: blur(18px);
    box-shadow: 0 26px 90px rgba(0,0,0,.45);
  }
  .admin-bar .main-nav.is-open { top: calc(var(--header-height) + 46px + 12px); }
  .main-nav.is-open a { padding: 12px; }
  .main-nav.is-open .nav-menu { display: grid; gap: 2px; }
  .main-nav.is-open .nav-menu li:last-child a { display: block; text-align: center; }
  .section-media, .section-orb { inset: 18px; opacity: .22; border-radius: 32px; }
  .teacher-card {
    grid-template-areas: "media" "copy";
    min-height: 0;
  }
  .teacher-card img, .teacher-placeholder {
    height: auto;
    max-height: 680px;
  }
  .teacher-marquee .teacher-card {
    flex-basis: min(88vw, 620px);
    width: min(88vw, 620px);
    max-width: min(88vw, 620px);
    min-height: 460px;
    grid-template-columns: minmax(180px, .44fr) minmax(0, .56fr) !important;
    grid-template-areas: "media copy" !important;
  }
  .teacher-marquee .teacher-card img,
  .teacher-marquee .teacher-placeholder {
    height: 100%;
    min-height: 460px;
    border-radius: 28px 0 0 28px;
  }
  .rich-content > section {
    min-height: auto;
    padding: clamp(70px, 14vw, 108px) 0;
  }
  .rich-media-background { padding: clamp(70px, 14vw, 108px) 0 !important; }
  .schedule-scroll { max-height: 520px; padding: 22px 10px; }
  body { padding-bottom: 0; }
  .mobile-sticky-cta {
    position: fixed;
    left: auto;
    right: 14px;
    bottom: 16px;
    z-index: 75;
    display: inline-flex;
    width: auto;
    max-width: calc(100vw - 86px);
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--accent), var(--accent-2));
    color: #101525;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 18px 48px rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }
  body.show-mobile-cta .mobile-sticky-cta { opacity: 1; visibility: visible; transform: translateY(0); }
  .back-to-top { right: 14px; bottom: 76px; width: 46px; height: 46px; }
}

@media (max-width: 699px) {
  .container,
  .inner-section-shell {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
  }
  main#main > .section:not(.hero):not(.home-seo-copy):nth-of-type(even),
  .rich-content > section:nth-child(odd) {
    width: calc(100% - 20px);
    margin: 10px auto;
    border-radius: 28px;
  }
  .inner-page-section {
    padding-block: clamp(54px, 14vw, 82px) !important;
  }
  .rich-content h2 {
    margin-bottom: 22px;
    font-size: clamp(34px, 11vw, 52px);
  }
  .privacy-hero {
    padding-block: 54px 38px;
  }
  .privacy-hero h1 {
    font-size: clamp(38px, 12vw, 58px);
  }
  .legal-page-content {
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 10px;
    border-radius: 28px;
  }
  .legal-page-content .rich-content > section,
  .legal-page-content .rich-content > section:nth-child(odd) {
    width: 100%;
    margin: 0;
    padding: 26px 20px;
    border-radius: 20px;
  }
  .legal-page-content .rich-content > section + section {
    margin-top: 10px;
  }
  .legal-page-content .rich-content h2 {
    margin-bottom: 14px;
    font-size: clamp(23px, 7vw, 31px);
  }
  .rich-content p,
  .rich-content li {
    font-size: 16px;
    line-height: 1.6;
  }
  .home-seo-copy {
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 64px 0;
  }
  .home-seo-shell { width: calc(100% - 24px); }
  .content-grid,
  .layout-list ul,
  .layout-list ol,
  .direction-marquee {
    margin-top: 30px;
  }
  .hero-grid,
  .two-col,
  .contact-grid,
  .cards,
  .content-grid,
  .inner-section-shell,
  .teacher-card,
  .schedule-row {
    min-width: 0;
  }
  h1, h2, h3, p, li, a, span, strong, label {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .btn, button, input, select, textarea { max-width: 100%; }
  .layout-cards .content-grid { grid-template-columns: 1fr; }
  .content-grid article { min-height: 240px; }
  .layout-list li { padding: 20px 18px 20px 54px; }
  .layout-list li::before { left: 19px; top: 20px; }
  .direction-slide { flex-basis: min(84vw, 340px); min-height: 350px; }
  .commerce-empty { min-height: 360px; padding: 28px 20px; }
  .teacher-marquee {
    width: 100%;
    padding: 0 16px 18px;
    align-items: flex-start;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  }
  .teacher-marquee .teacher-card,
  .teacher-marquee .teacher-card:nth-child(even) {
    flex-basis: min(84vw, 430px);
    width: min(84vw, 430px);
    max-width: min(84vw, 430px);
    min-height: 0;
    grid-template-columns: 1fr !important;
    grid-template-areas: "media" "copy" !important;
    align-self: flex-start;
    margin-top: 0;
  }
  .teacher-marquee .teacher-card img,
  .teacher-marquee .teacher-placeholder {
    height: auto;
    min-height: 0;
    aspect-ratio: 9 / 12;
    border-radius: 28px 28px 0 0;
    object-position: center top;
    margin-top: 0;
  }
  .teacher-marquee .teacher-card > .teacher-copy {
    position: relative;
    padding: 30px 24px 34px;
    background: linear-gradient(180deg, rgba(47,31,33,.98), rgba(34,22,24,.99));
  }
  .teacher-marquee .teacher-card > .teacher-copy > h3 {
    font-size: clamp(32px, 10vw, 46px);
    overflow-wrap: anywhere;
    margin-bottom: 20px;
  }
  .teacher-static,
  .teacher-static.teacher-count-1 {
    width: calc(100% - 20px);
  }
  .teacher-static.teacher-count-2 {
    grid-template-columns: 1fr !important;
  }
  .teacher-static .teacher-card,
  .teacher-static .teacher-card:nth-child(even) {
    min-height: 0;
    grid-template-columns: 1fr !important;
    grid-template-areas: "media" "copy" !important;
  }
  .teacher-static .teacher-card img,
  .teacher-static .teacher-placeholder {
    height: auto;
    min-height: 0;
    aspect-ratio: 9 / 12;
    border-radius: 28px 28px 0 0;
    object-position: center top;
  }
  .teacher-static .teacher-copy {
    padding: 30px 24px 34px;
  }
  .teacher-static .teacher-copy h3 {
    font-size: clamp(32px, 10vw, 46px);
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .cursor-dot, .cursor-ring, .cursor-trail { display: none; }
}
