/* Танцевальная пластика поверх принятой структуры Gilana. */
:root{--dance-progress:0}
.site-header:after{content:'';position:absolute;bottom:-1px;left:0;width:calc(var(--dance-progress)*100%);height:2px;background:#638573;pointer-events:none}
.hero-photo-stage{position:relative;box-shadow:0 18px 34px #203c2410}
.hero-photo-stage:after{content:'';position:absolute;inset:10px;border:1px solid #fffdf672;border-radius:inherit;pointer-events:none;z-index:2}
.hero-story{border-left:1px solid #63857344}
.hero .dance-motion{stroke:#356d5b2e}
.school-section-heading h2,.one-heading h2{padding-bottom:27px}
.school-section-heading h2:after,.one-heading h2:after{width:104px;height:18px;background:transparent url('assets/ornaments/phrase-line.svg') center/contain no-repeat}
.event-section .one-heading h2:after{background-color:transparent;filter:brightness(1.8)}
.button,.header-signup.button,.main-nav .header-signup.button,.main-nav .header-signup.button[aria-current]{border-radius:999px;gap:18px}
.button{transition:background .2s ease,box-shadow .2s ease,transform .2s ease}
.button>svg{width:28px;height:28px;padding:5px;border:1px solid #fffdf64d;border-radius:50%;transition:transform .3s ease,border-color .3s ease;flex:none}
.main-nav .header-signup.button>svg{width:26px;height:26px;padding:5px}
.button:hover>svg{transform:rotate(-35deg);border-color:#fffdf6a6}
.button:hover{box-shadow:0 4px 12px #102f2912}
.button:active{transform:translateY(1px)}
.school-navigation>.school-tabs{background:transparent;padding:3px 0;gap:10px}
.school-navigation .school-tabs button{border:1px solid #9db29266;border-radius:999px;background:#f6f8ef66;transition:background .25s ease,border-color .25s ease}
.school-navigation .school-tabs button:hover{border-color:var(--jade);background:#fffdf699}
.school-navigation .school-tabs button[aria-pressed=true]{background:var(--jade);border-color:var(--jade);box-shadow:inset 0 0 0 3px #ffffff0b;color:var(--cream)}
.school-slide .teacher-copy blockquote,html[lang=ka] .school-slide .teacher-copy blockquote{border-left:3px solid #8eab7e;padding:2px 0 2px 24px;margin-block:32px 12px;background:transparent;border-radius:0;font-family:var(--font);font-size:clamp(24px,1.85vw,28px);font-weight:500;font-style:normal;line-height:1.5;letter-spacing:-.015em;max-width:30ch;color:var(--jade)}
.school-slide .teacher-copy blockquote:before{content:none}
.dance-selector>button{border-radius:3px 18px 18px 18px;position:relative;transition:background .25s ease,border-color .25s ease}
.dance-selector>button[aria-pressed=true]{box-shadow:inset 3px 0 0 #a8c394}
.dance-selector>button[aria-pressed=true]:after{content:'';position:absolute;right:12px;bottom:10px;width:26px;height:9px;border-bottom:1px solid #fffdf67a;border-radius:0 0 50% 50%;transform:rotate(-12deg)}
.events-accordion .dance-item>summary{border-radius:3px 18px 18px 18px}
.events-accordion .dance-item[open]>summary{box-shadow:inset 0 -3px 0 #9cb28c}
.friends-choice{border-radius:3px 14px 14px 14px}
.friends-choice[aria-pressed=true]{box-shadow:inset 3px 0 0 var(--jade)}
.video-button .play{border:1px solid #fffdf6a6;box-shadow:0 0 0 7px #fffdf617;backdrop-filter:blur(5px)}
.video-button:hover .play{box-shadow:0 0 0 11px #fffdf61a}
.reviews-showcase .review{border-radius:2px 22px 22px 22px;border-color:#d4ddc9}
.reviews-showcase .review:before{color:#77906a}
.reviews-showcase .review figcaption{border-top:0;position:relative}
.reviews-showcase .review figcaption:before{content:'';position:absolute;top:0;left:0;width:40px;height:1px;background:#b5c6a7}
.contact-section .contact-grid{border-radius:3px 22px 22px 22px}
.contact-section #contact-form>.button{border-radius:999px}

/* Восемь счётов: отметки шага и пара движущихся акцентов. */
.dance-score{position:fixed;right:12px;top:50%;transform:translateY(-50%);width:42px;padding:13px 8px 16px;background:#faf9f2ec;border:1px solid #7c967530;border-radius:24px;z-index:8;pointer-events:none;box-shadow:0 4px 20px #153d2910;color:#234d3e}
.rhythm-track{height:210px;position:relative}
.rhythm-track:before,.rhythm-fill{content:'';position:absolute;top:6px;left:50%;width:1px;height:calc(100% - 12px);background:#c9d4c0}
.rhythm-fill{background:#52765e;transform-origin:top;transform:scaleY(var(--dance-progress))}
.rhythm-beat{position:absolute;top:calc(6px + var(--beat)* (198px / 7));left:50%;width:5px;height:5px;border-radius:50%;background:#d5ddcd;transform:translate(-50%,-50%);transition:background .2s,box-shadow .2s}
.rhythm-beat i{position:absolute;top:-1px;left:-7px;width:3px;height:7px;background:#b7c7ae;border-radius:70% 40% 50% 50%;transform:rotate(-24deg);transition:background .2s}
.rhythm-beat:nth-of-type(even) i{left:9px;transform:rotate(24deg)}
.rhythm-beat.is-complete,.rhythm-beat.is-current{background:#52765e}
.rhythm-beat.is-complete i,.rhythm-beat.is-current i{background:#52765e}
.rhythm-beat.is-current{box-shadow:0 0 0 4px #52765e18}
.rhythm-accent{position:absolute;left:50%;top:6px;width:24px;height:22px;transform:translate(-50%,-50%);color:#315d49}
.rhythm-accent i{position:absolute;top:5px;left:1px;width:5px;height:11px;border:1px solid currentColor;border-radius:65% 45% 40% 40%;background:#faf9f2;transform:rotate(-25deg)}
.rhythm-accent i+i{top:0;left:17px;transform:rotate(25deg)}
body:has(dialog[open]) .dance-score{visibility:hidden}
.school-navigation .school-tabs button,.dance-selector>button,.friends-choice,.events-accordion summary,.button{isolation:isolate}
.school-navigation .school-tabs button:hover,.dance-selector>button:hover,.friends-choice:hover{box-shadow:0 7px 14px #143c2914}
.button:hover>svg{transform:none}
.dance-selector .shoe-left,.dance-selector .shoe-right,.events-accordion .shoe-left,.events-accordion .shoe-right{transform-box:fill-box;transform-origin:center}
.dance-selector>button:hover .shoe-left,.dance-selector>button:hover .shoe-right{animation:none}
.school-navigation .school-tabs button:focus-visible,.dance-selector>button:focus-visible,.button:focus-visible,.friends-choice:focus-visible{outline:2px solid #759469;outline-offset:4px}
@media(max-width:1399px){.dance-score{right:3px;width:28px;padding:11px 2px 14px}.rhythm-accent{width:20px}.rhythm-accent i+i{left:14px}}
@media(max-width:1279px){.dance-score{display:none}}
@media(prefers-reduced-motion:reduce){.button,.button>svg,.school-navigation .school-tabs button,.dance-selector>button,.rhythm-beat,.rhythm-beat i{transition:none}}
/* Второй акцент движения — расходящийся тонкий контур. */
.button,.school-navigation .school-tabs button,.friends-choice{position:relative}
.button:before,.school-navigation .school-tabs button:before,.friends-choice:before{content:'';position:absolute;inset:-1px;border:1px solid currentColor;border-radius:inherit;opacity:0;pointer-events:none}
.button:hover:before,.school-navigation .school-tabs button:hover:before,.friends-choice:hover:before{animation:gilana-step-ring .65s ease-out both}
@keyframes gilana-step-ring{0%{opacity:.25;transform:scale(1)}100%{opacity:0;transform:scale(1.06,1.22)}}
@media(prefers-reduced-motion:reduce){.button:hover:before,.school-navigation .school-tabs button:hover:before,.friends-choice:hover:before{animation:none}}

/* Исходное описание занятий: два абзаца и свободный интерлиньяж. */
.school-slide .lesson-intro{max-width:65ch;margin:26px 0 32px;text-align:left}
.school-slide .lesson-intro p{font-family:var(--font);font-size:16px;font-weight:400;line-height:1.85;letter-spacing:0;margin:0;color:var(--jade);text-align:left}
.school-slide .lesson-intro p+p{margin-top:16px}
