:root {
  color-scheme: light;
  --ink: #151221;
  --hero-black: #0a090c;
  --purple: #3921a8;
  --violet: #a795ff;
  --lime: #d9ff58;
  --cloud: #f4f1ff;
  --white: #fff;
  --muted: #564e69;
  --rule: #ccc4e4;
  --gutter: clamp(18px, 4.5vw, 76px);
  --edge: max(var(--gutter), calc((100% - 1440px) / 2));
  --type: "Golos Text", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--ink); font: 16px/1.55 var(--type); }
h1, h2, h3, p, ul, figure, dl, dd { margin: 0; }
h1, h2 { font-weight: 900; line-height: .98; letter-spacing: -.055em; text-transform: uppercase; }
h2 { font-size: clamp(2.4rem, 6.2vw, 6.25rem); }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img, video { display: block; width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.shell { width: min(1440px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 4; transform: translateY(-170%); padding: 8px 12px; background: var(--white); }
.skip:focus { transform: none; }

.header { color: var(--white); background: var(--hero-black); }
.header-inner { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.wordmark { color: var(--white); text-decoration: none; font-size: 1.7rem; font-weight: 900; letter-spacing: -.055em; line-height: 1; }
.header nav { display: flex; flex-wrap: wrap; column-gap: clamp(.7rem, 2.4vw, 2.3rem); }
.header nav a { display: flex; align-items: center; min-height: 44px; font-size: .92rem; font-weight: 600; text-decoration: none; }
.header nav a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: .2em; }

.hero { background: var(--hero-black); color: var(--white); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); max-width: 1760px; margin-inline: auto; }
.hero-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(48px, 7vw, 110px) 1.5rem clamp(48px, 7vw, 110px) var(--edge);
}
.hero h1 { font-size: clamp(3.6rem, 10.45vw, 10.75rem); }
.hero-ananko, .hero-school { display: block; white-space: nowrap; }
.hero-school { font-size: .49em; margin-top: .06em; letter-spacing: -.047em; }
.hero-description { margin-top: clamp(1rem, 2.5vw, 2.1rem); font-size: clamp(1.5rem, 3vw, 3rem); line-height: 1.12; font-weight: 800; letter-spacing: -.045em; }
.hero-description::before { content: ""; display: block; width: 48px; height: 4px; margin-bottom: .65rem; background: var(--lime); }
.hero-city { margin-top: .45rem; max-width: 35ch; font-size: clamp(.95rem, 1.5vw, 1.19rem); }
.hero-info .button { margin-top: clamp(1.2rem, 3vw, 2.35rem); }
.button { display: inline-flex; align-items: center; min-height: 49px; padding: .7rem 1rem; background: var(--lime); color: var(--ink); font-weight: 750; line-height: 1.25; text-decoration: none; }
.button:hover { background: var(--white); color: var(--purple); }
.hero .button:focus-visible, .price .button:focus-visible { outline-color: var(--white); }
.hero-media { position: relative; min-height: clamp(465px, 46vw, 720px); background: var(--ink); }
.hero-media video, .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-media::before, .hero-media::after { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: clamp(24px, 4.4vw, 64px); pointer-events: none; }
.hero-media::before { background: var(--hero-black); clip-path: polygon(0 0, 100% 0, 0 100%); }
.hero-media::after { background: var(--violet); clip-path: polygon(calc(100% - 6px) 0, 100% 0, 6px 100%, 0 100%); }
.hero-motion { z-index: 2; position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; border: 1px solid #ffffff80; width: 46px; height: 46px; padding: 0; color: var(--white); background: #151221dc; }
.hero-motion:hover { background: var(--lime); color: var(--ink); }
.hero-motion[data-playing="true"] .play-icon, .hero-motion:not([data-playing="true"]) .pause-icon { display: none; }
.hero-motion > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.section { padding-block: clamp(42px, 6.1vw, 90px); }
.section-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .9rem 1.5rem; margin-bottom: 1.4rem; }
.text-link { display: inline-block; font-weight: 700; text-underline-offset: .25em; }
.text-link:hover { text-decoration-thickness: 2px; }

#schedule { background: var(--cloud); padding-bottom: 0; }
.schedule-header { color: var(--purple); }
.days { display: flex; flex-wrap: wrap; gap: 0 .45rem; }
.days button { min-height: 44px; min-width: 42px; padding: .75rem 1rem; border: 0; border-bottom: 2px solid transparent; background: none; font-weight: 700; line-height: 1.1; }
.days button:hover { border-bottom-color: var(--purple); }
.days button[aria-pressed="true"] { background: var(--purple); color: var(--white); }
.days button:focus-visible { outline-color: var(--ink); outline-offset: -3px; }
.schedule-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; align-items: start; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
.schedule-track:focus-visible { outline-offset: -3px; }
.schedule-panel { min-width: 0; scroll-snap-align: start; }
.schedule-panel h3 { padding: .8rem var(--edge); color: var(--white); background: var(--purple); font-size: clamp(1.05rem, 2.1vw, 1.55rem); line-height: 1.25; }
.schedule-row { display: grid; grid-template-columns: clamp(65px, 12vw, 180px) minmax(0, 1fr); align-items: baseline; padding: .9rem var(--edge); border-bottom: 1px solid var(--rule); }
.schedule-row:nth-child(even) { background: var(--white); }
.schedule-row time { color: var(--purple); font-size: clamp(1.18rem, 2.35vw, 2.1rem); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.schedule-row ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem 1.2rem; padding: 0; list-style: none; }
.schedule-row li { line-height: 1.35; }
.schedule-row li strong { font-size: clamp(.96rem, 1.65vw, 1.3rem); font-weight: 800; }
.class-age { display: inline-block; margin-inline-start: .4rem; font-size: .87rem; color: var(--purple); white-space: nowrap; }
.schedule-row small { display: flex; flex-wrap: wrap; gap: .03rem .55rem; margin-top: .18rem; color: var(--muted); font-size: .82rem; }

#teachers { background: var(--ink); color: var(--white); }
#teachers h2 { color: var(--lime); }
.leaders { display: grid; grid-template-columns: minmax(0, .8fr) repeat(2, minmax(0, 1fr)); align-items: center; gap: 1.25rem; padding-block: 1rem; margin-block: 1.6rem clamp(1.5rem, 3.6vw, 3.25rem); border-block: 1px solid #574e71; }
.leaders h3 { font-weight: 800; font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.25; }
.leaders figure { display: flex; align-items: center; gap: clamp(.6rem, 1.4vw, 1.15rem); }
.leaders img { width: clamp(58px, 7vw, 110px); aspect-ratio: 1; object-fit: cover; object-position: center 28%; }
.leaders figcaption { line-height: 1.32; }
.leaders strong, .leaders span { display: block; }
.leaders span { margin-top: .26rem; font-size: .88rem; color: #cebfef; }
.teacher-navigation { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.teacher-controls { display: flex; gap: .45rem; }
.teacher-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #a895dc; background: transparent; }
.teacher-controls button:hover:not(:disabled) { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.teacher-controls button:disabled { opacity: .42; cursor: default; }

.teacher-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 3);
  gap: 12px;
  max-width: 1760px;
  margin-inline: auto;
  padding: 0 0 .55rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #a795ff #2b223f;
  list-style: none;
}
.teacher-track:focus-visible { outline-offset: -3px; }
.teacher-card { --card-color: var(--violet); min-width: 0; scroll-snap-align: start; }
.teacher-card:last-child { scroll-snap-align: end; }
.teacher-vogue { --card-color: #ff624e; }
.teacher-hip-hop { --card-color: #a89cff; }
.teacher-all-styles { --card-color: #ffac59; }
.teacher-pro { --card-color: var(--lime); }
.teacher-card figure { height: 100%; display: flex; flex-direction: column; background: var(--card-color); color: var(--ink); clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%); }
.teacher-card img { flex: none; aspect-ratio: 1.09; object-fit: cover; object-position: center; }
.teacher-card figcaption { flex: 1; padding: .85rem 8% 1rem; line-height: 1.2; }
.teacher-card strong { display: block; font-size: clamp(1.16rem, 2.25vw, 2.15rem); font-weight: 900; letter-spacing: -.045em; text-transform: uppercase; }
.teacher-card span { display: block; margin-top: .35rem; font-size: .93rem; font-weight: 650; }

.price { background: var(--purple); color: var(--white); }
.price h2 { max-width: 13ch; }
.price .section-heading { margin-bottom: clamp(1.2rem, 2.5vw, 2.1rem); }
.price-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #9e8aeb; border: 1px solid #9e8aeb; }
.price-list > div { display: flex; flex-direction: column; gap: .34rem; min-width: 0; padding: clamp(.62rem, 1.6vw, 1.4rem); background: var(--purple); }
.price-list > div:first-child { background: var(--lime); color: var(--ink); }
.price-list > div:last-child { grid-column: span 2; }
.price-list dt { font-weight: 600; }
.price-list dd { font-size: clamp(1.6rem, 3.7vw, 3.65rem); font-weight: 900; line-height: 1; letter-spacing: -.035em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-list dd span { font-size: clamp(.73rem, 1.28vw, 1.06rem); font-weight: 650; letter-spacing: 0; }
.price-note { max-width: 88ch; margin-top: 1rem; color: #eeebff; }

#video {
  --season-orange: #ff9252;
  --season-purple: #382078;
  background: var(--season-orange);
}
.season {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  align-items: center;
  max-width: 1760px;
  margin-inline: auto;
}
.season-media {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.season-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--season-purple);
  color: var(--white);
}
.season-picker button {
  min-height: 52px;
  padding: .55rem .65rem;
  border: 0;
  border-bottom: 4px solid transparent;
  background: transparent;
  font-size: clamp(.82rem, 1.25vw, 1.05rem);
  font-weight: 700;
  line-height: 1.25;
}
.season-picker button:hover { background: #4b318d; }
.season-picker button[aria-pressed="true"] {
  border-bottom-color: var(--season-purple);
  background: var(--season-orange);
  color: var(--season-purple);
}
.season-picker button:focus-visible, .season video:focus-visible { outline: 2px solid var(--white); outline-offset: -4px; }
.season video {
  flex: 1 0 auto;
  aspect-ratio: 1;
  object-fit: cover;
}
#season-performance { object-position: center 60%; }
.season-caption { position: relative; padding: clamp(1.85rem, 5vw, 5rem) var(--gutter); }
.season-caption::before { content: ""; display: block; width: clamp(2.5rem, 5vw, 4.25rem); height: 5px; margin-bottom: .85rem; background: var(--season-purple); transform: skewX(-20deg); }
.season h2 { margin-bottom: 1.15rem; font-size: clamp(1.95rem, 3.65vw, 4.5rem); line-height: 1.01; }
.season-emphasis { display: block; color: var(--season-purple); }
.season-trophy { margin-inline-start: .22em; font-size: .53em; letter-spacing: 0; }
.season p + p { margin-top: .65rem; }
.season ul { padding-inline-start: 1.16rem; margin-block: .95rem; }
.season li { margin-block: .22rem; }
.season li::marker { color: var(--season-purple); }
.season-close { color: var(--season-purple); font-weight: 800; }

@media (max-width: 760px) {
  .season { grid-template-columns: 1fr; }
  .season-caption { padding-block: 2rem 2.4rem; }
  .season h2 { font-size: clamp(2rem, 6.5vw, 3.7rem); }
}

.contact { background: var(--lime); }
.contact-info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem 2rem; margin-top: 1.2rem; }
.contact-info address { font-style: normal; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; }
.contact-links a { display: inline-block; min-height: 34px; text-underline-offset: .19em; }
.contact-links a:hover { text-decoration-thickness: 2px; }

@media (max-width: 860px) {
  .hero-info { padding-inline-end: .9rem; }
  .schedule-row ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .teacher-track { grid-auto-columns: calc((100% - 12px) / 2.3); }
  .price-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-list > div:last-child { grid-column: span 3; }
}

@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; gap: .18rem; padding-top: .7rem; }
  .header nav { width: 100%; justify-content: space-between; gap: 0 .4rem; }
  .header nav a { min-height: 37px; font-size: clamp(.67rem, 2.65vw, .86rem); }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-info { padding: 1.65rem var(--gutter); }
  .hero h1 { font-size: clamp(3.15rem, 16vw, 6.3rem); }
  .hero-description { margin-top: .9rem; }
  .hero-city { margin-top: .25rem; }
  .hero-info .button { margin-top: .85rem; }
  .hero-media { min-height: 0; aspect-ratio: 1.12; }
  .hero-media video, .hero-poster { object-position: center 35%; }
  .hero-media::before { display: none; }
  .hero-media::after { width: 100%; height: 3px; clip-path: none; }
  .section-heading { gap: .65rem; }
  .days { gap: 0 .15rem; }
  .days button { padding: .65rem .55rem; }
  .schedule-row { grid-template-columns: 59px minmax(0, 1fr); padding-block: .68rem; }
  .schedule-row ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem .6rem; }
  .schedule-row li strong { display: block; }
  .class-age { margin-inline-start: 0; }
  .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .leaders h3 { grid-column: 1 / -1; }
  .leaders figcaption { font-size: .86rem; }
  .leaders span { font-size: .75rem; }
  .teacher-track { grid-auto-columns: 78%; gap: 8px; }
  .teacher-navigation .text-link { font-size: .91rem; }
  .price-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-list > div:last-child { grid-column: span 2; }
}

@media (max-width: 360px) {
  .schedule-row ul { grid-template-columns: 1fr; }
  .leaders figure { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
