:root {
  color-scheme: dark;
  --night: #0a0520;
  --panel: #1e1043;
  --ink: #f6f0ff;
  --muted: #c8b8e9;
  --violet: #a78bfa;
  --cyan: #38bdf8;
  --pink: #f472b6;
  --line: #7453b4;
  --action: linear-gradient(120deg, var(--violet), var(--cyan));
  font-family: "Trebuchet MS", Arial, sans-serif;
  color: var(--ink);
  background: var(--night);
}
*, *::before, *::after { box-sizing: border-box; }
body { position: relative; isolation: isolate; margin: 0; min-height: 100vh; background: radial-gradient(ellipse 80% 720px at 68% 9%, #231054, var(--night) 79%); }
body::before {
  content: ""; position: fixed; inset: 0; opacity: .64; pointer-events: none; z-index: -1;
  background: radial-gradient(circle at 43px 31px,#e9d5ff 1px,transparent 1.7px) 0 0 / 109px 101px,
              radial-gradient(circle at 89px 57px,#7dd3fc 1px,transparent 1.8px) 0 0 / 197px 137px,
              radial-gradient(circle at 143px 89px,#d8b4fe 1.3px,transparent 2px) 0 0 / 257px 193px;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
::selection { color: var(--night); background: var(--cyan); }
.wrap { width: min(100% - 48px, 1100px); margin-inline: auto; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 19px; border-bottom: 1px solid #7453b45c; }
.brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.42rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: #d3b4ff; }
nav { display: flex; flex-wrap: wrap; gap: 10px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; text-decoration: none; color: var(--muted); font-weight: 700; }
nav a:hover { color: var(--ink); }
nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px var(--cyan); }
.inner-page { padding-block: 38px 32px; }
.inner-page h1 { width: fit-content; margin-bottom: 24px; font-size: clamp(2rem, 5vw, 3.7rem); line-height: 1.08; }
.hero { display: grid; grid-template-columns: 1.19fr 1fr; align-items: center; gap: 14px; min-height: 416px; padding-block: 36px 30px; }
.hero-copy { z-index: 1; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.75rem, 5.45vw, 4.32rem); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; }
.heading-accent { display: block; width: fit-content; margin-top: .1em; color: #c7abff; }
.heading-accent, .brand { background: linear-gradient(100deg, var(--violet), var(--cyan) 67%, var(--pink)); background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { max-width: 43ch; margin-block: 20px 24px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.16rem); line-height: 1.52; }
.action { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 1px solid #a99aff; border-radius: 12px; font-weight: 700; text-align: center; text-decoration: none; }
.primary { color: #090421; background: var(--action); box-shadow: 0 5px 20px #6745de5e; }
.primary:hover { background: linear-gradient(120deg,#c4b5fd,#7dd3fc); }
.secondary { color: var(--ink); background: #2c1b56; }
.secondary:hover { background: #392467; border-color: var(--cyan); }
.art { position: relative; display: grid; place-items: center; min-width: 0; min-height: 320px; isolation: isolate; }
.art::before, .art::after { content: ""; position: absolute; z-index: -1; }
.art::before { inset: 1% 4%; background: radial-gradient(ellipse at center,#6d39c865,transparent 68%); }
.art::after { width: 97%; aspect-ratio: 2.2; border: 1px solid #a78bfa81; border-radius: 50%; transform: rotate(-21deg); box-shadow: 0 0 34px #7139c232, inset 0 0 24px #7139c232; }
.art img { width: min(83%, 340px); height: auto; filter: drop-shadow(0 14px 22px #07021ca0); }
.spark { position: absolute; width: 26px; aspect-ratio: 1; background: var(--cyan); clip-path: polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%); }
.spark.one { top: 13%; right: 14%; }
.spark.two { width: 18px; left: 13%; bottom: 15%; background: #fbbf24; }
.spark.three { width: 11px; right: 6%; bottom: 25%; background: var(--pink); }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.4rem); letter-spacing: -.035em; }
.practice h2 { margin-bottom: 14px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.activity { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 17px; min-width: 0; padding: 23px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.activity h3 { font-size: 1.42rem; line-height: 1.1; }
.activity p { margin-block: 8px 14px; color: var(--muted); line-height: 1.4; }
.icon { display: grid; place-items: center; width: 53px; height: 53px; border: 1px solid var(--line); border-radius: 13px; background: #2c195b; }
.icon svg { width: 30px; height: 30px; fill: none; stroke: #93dcfc; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cosmic svg { stroke: #e6b4fc; }
.about, .benefits, .guide { margin-top: 39px; padding-top: 24px; border-top: 1px solid #7453b45c; }
.about-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 28px; align-items: start; margin-top: 15px; }
.about h3 { font-size: 1.4rem; line-height: 1.18; }
.about p, .benefits p { margin-top: 10px; color: var(--muted); line-height: 1.52; }
.schedule { margin-top: 19px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); }
.schedule p { margin-top: 6px; }
.schedule strong { color: var(--ink); }
.teacher { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.teacher img { display: block; width: 100%; height: auto; }
.teacher figcaption { padding: 15px 18px 18px; }
.teacher figcaption span { display: block; margin-bottom: 4px; color: var(--muted); }
.teacher figcaption a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; color: #d8c6ff; text-underline-offset: 4px; }
.documents { margin-top: 23px; }
.credentials { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding: 0; margin: 12px 0 0; list-style: none; }
.credentials a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); text-decoration: none; }
.credentials a:hover { border-color: var(--cyan); }
.credentials img { display: block; width: 100%; height: 138px; padding: 7px; object-fit: contain; background: #e7e1ef; }
.credential-title { display: block; padding: 11px 11px 3px; font-weight: 700; line-height: 1.32; }
.credential-year { padding: 0 11px 10px; color: var(--muted); font-size: .89rem; }
.benefit-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding: 0; margin: 17px 0 0; list-style: none; }
.benefit-list li { padding: 15px 0 2px; border-top: 2px solid var(--violet); }
.benefit-list h3 { font-size: 1.14rem; }
.booking { margin-top: 32px; padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.booking p { margin-top: 9px; color: var(--muted); line-height: 1.5; }
.booking .action { margin-top: 14px; }
.booking .schedule { width: fit-content; margin-top: 16px; background: #241550; }
.inner-page > .about, .inner-page > .benefits { margin-top: 0; padding-top: 0; border-top: 0; }
.guide { padding-bottom: 34px; }
.guide p { margin-top: 10px; max-width: 64ch; color: var(--muted); line-height: 1.52; }
.guide .action { margin-top: 14px; }
footer { display: flex; align-items: baseline; gap: 9px 22px; flex-wrap: wrap; border-top: 1px solid #7453b45c; padding-block: 10px 20px; color: var(--muted); font-size: .93rem; }
footer strong { color: var(--ink); font-size: 1rem; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding-block: 26px; min-height: 0; grid-template-columns: 1.15fr .9fr; gap: 4px; }
  .art { min-height: 220px; }
  .art img { width: min(100%, 270px); }
  .activity { padding: 18px; gap: 11px; }
  .icon { width: 42px; height: 42px; }
  .about-grid { gap: 16px; }
  .credentials { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 360px) { .credentials { grid-template-columns: 1fr; } .top nav { width: 100%; justify-content: space-between; } }
@media (max-width: 520px) {
  .top { padding-block: 7px; flex-wrap: wrap; gap: 0 7px; }
  .brand { font-size: 1.14rem; letter-spacing: .09em; }
  nav { gap: 1px; }
  nav a { padding-inline: 6px; font-size: .87rem; white-space: nowrap; }
  .inner-page { padding-block: 24px; }
  .inner-page h1 { margin-bottom: 19px; }
  .booking { padding: 16px; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-block: 22px 25px; }
  .art { order: -1; min-height: 0; width: min(100%, 268px); margin-inline: auto; }
  .art img { width: min(80%, 200px); }
  .heading-accent, .hero p { margin-inline: auto; }
  h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero p { margin-block: 13px 17px; }
  .cards, .about-grid, .benefit-list { grid-template-columns: 1fr; }
  .about, .benefits, .guide { margin-top: 26px; }
  .benefit-list { gap: 10px; }
}
@media (forced-colors: active) { .heading-accent, .brand { -webkit-text-fill-color: CanvasText; } }
