﻿:root{--paper:#e4e5e8;--muted:#9b9fa8;--line:rgba(214,223,234,.18)}
html{scroll-behavior:smooth}
.hero{min-height:100svh}
.hero-intro{font-weight:400}
.content-section{max-width:1180px;width:72%;margin:auto;padding:112px 0}
.section-index{margin:0 0 38px;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
h2{font-weight:400;font-size:clamp(32px,4.1vw,66px);line-height:1.12;letter-spacing:-.04em;margin:0 0 40px}
p{line-height:1.65}
.lead{font-size:clamp(21px,2.1vw,31px);max-width:830px;line-height:1.5;letter-spacing:-.015em}
.muted{color:var(--muted);font-size:17px;max-width:650px}
.approach{margin:34px 0 0 auto}
.introduction{border-bottom:1px solid var(--line)}
.section-heading{display:grid;grid-template-columns:1fr 2fr;gap:36px;align-items:start;margin-bottom:24px}
.principles{display:grid;grid-template-columns:1fr 1fr;gap:0 64px}
.principle{padding:32px 0 42px;border-top:1px solid var(--line)}
.number{font-size:11px;letter-spacing:.12em;color:var(--muted)}
h3{font-size:clamp(20px,2vw,28px);line-height:1.3;letter-spacing:-.02em;font-weight:400;margin:20px 0}
.principle p{font-size:16px;color:var(--muted);max-width:470px;margin-bottom:0}
.direction{border-top:1px solid var(--line)}
.direction:last-child{border-bottom:1px solid var(--line)}
.direction summary{display:grid;grid-template-columns:44px 1fr 28px;align-items:center;gap:16px;list-style:none;cursor:pointer;padding:28px 0;font-size:clamp(20px,2.2vw,32px);line-height:1.3;letter-spacing:-.025em}
.direction summary::-webkit-details-marker{display:none}
.direction summary::after{content:'+';font-weight:300;text-align:center;color:var(--muted)}
.direction[open] summary::after{content:'−'}
.direction summary:hover{color:white}
.direction summary:focus-visible,a:focus-visible{outline:1px solid var(--paper);outline-offset:7px}
.direction-body{padding:0 44px 40px 60px;display:grid;grid-template-columns:1.2fr 1fr;gap:48px}
.direction-body h3{font-size:23px;margin:0 0 16px}
.direction-body p{color:var(--muted);font-size:16px;margin:0}
.quotes{border-left:1px solid var(--line);padding-left:26px}
blockquote{margin:0 0 18px;font-size:17px;line-height:1.6;color:#c3c7ce}
.site-footer{width:72%;max-width:1180px;margin:0 auto;padding:40px 0 56px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:10px;letter-spacing:.12em;color:var(--muted)}
a{color:inherit;text-decoration:none}
.reveal{opacity:0;transform:translateY(20px);transition:opacity .7s ease,transform .7s ease}
.reveal.visible{opacity:1;transform:translateY(0)}
@media(max-width:760px){.content-section{width:74%;padding:68px 0}.section-heading{display:block}.principles{grid-template-columns:1fr;gap:0}.direction summary{grid-template-columns:22px 1fr 18px;gap:10px;font-size:20px}.direction-body{grid-template-columns:1fr;padding:0 0 28px 32px;gap:24px}.side-label-left{font-size:12px;left:2%}.side-label-right{font-size:11px;right:2%}.site-footer{width:74%;flex-wrap:wrap}.muted{font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}}

/* Constellation edition */
:root{--ice:#b5d4eb;--line:rgba(183,207,227,.16)}
body{background:radial-gradient(ellipse at 76% 53%,#10172266,transparent 42%),#080a0d}
.content-section{width:74%;max-width:1280px;padding:130px 0}
.section-index,.panel-index{font-family:Arial,sans-serif;font-size:10px;letter-spacing:.2em;color:#8495a5}
h2{font-size:clamp(38px,5.1vw,78px);font-weight:300;letter-spacing:-.055em}
.introduction{position:relative;border-bottom:0;padding-top:150px;padding-bottom:130px}
.introduction::before{content:'';position:absolute;left:0;top:92px;width:6px;height:6px;border-radius:50%;background:var(--ice);box-shadow:0 0 22px #adcfe88a}
.introduction::after{content:'';position:absolute;left:3px;top:0;height:74px;width:1px;background:linear-gradient(transparent,#7897b780)}
.lead{max-width:850px;font-weight:300;color:#c7cdd4}
.approach{font-size:16px;max-width:510px;line-height:1.9}
.scroll-cue{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);z-index:1;font-size:10px;letter-spacing:.16em;color:#8b9aa9;padding:15px;white-space:nowrap}
.scroll-cue:hover{color:#e4f2ff}
.section-heading{grid-template-columns:1fr 2fr;margin-bottom:60px}
.principles{position:relative;grid-template-columns:1fr 1fr;gap:18px 12%;padding:24px 0;background:linear-gradient(26deg,transparent 49.9%,#a2c5df14 50%,transparent 50.1%)}
.principle{position:relative;border-top:0;padding:32px 0 38px 26px;transition:transform .5s,color .5s;align-self:start}
.principle:nth-child(even){margin-top:85px}
.principle::before{content:'';position:absolute;width:5px;height:5px;border-radius:50%;left:0;top:37px;background:#b9d3e8;box-shadow:0 0 20px #b8dcff70}
.principle::after{content:'';position:absolute;left:2px;top:53px;bottom:10px;width:1px;background:linear-gradient(#8caec944,transparent)}
.principle:hover{transform:translateY(-6px)}
.principle h3{font-size:clamp(22px,2.2vw,31px);max-width:330px;font-weight:300}
.principle p{line-height:1.85;font-size:15px}
.directions-section{width:80%;padding-top:80px}
.directions-section .section-heading{width:92.5%;margin-inline:auto}
.constellation{position:relative;display:grid;grid-template-columns:1.2fr 1fr;gap:6%;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:40px 0 60px}
.star-map{--mx:0;--my:0;position:relative;aspect-ratio:1.25;min-width:0;transform:perspective(1000px) rotateY(calc(var(--mx)*2deg)) rotateX(calc(var(--my)*-2deg));transition:transform .7s ease-out;background:radial-gradient(ellipse at center,#8caec912,transparent 66%)}
.star-links{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.star-links line{stroke:#577087;stroke-width:.8;opacity:.35;transition:stroke 1s,opacity 1s;vector-effect:non-scaling-stroke}
.star-links line.active{stroke:#b9d8f2;opacity:.8;stroke-dasharray:5 8;animation:signal 12s linear infinite}
.star-node{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-14px);display:flex;flex-direction:column;align-items:center;gap:9px;width:140px;padding:0 4px 12px;background:none;border:0;color:#9ba9b7;cursor:pointer;font:inherit;text-align:center;z-index:1;-webkit-tap-highlight-color:transparent}
.star-dot{display:block;position:relative;width:28px;height:28px;flex-shrink:0;border:1px solid #aac9e52e;border-radius:50%;transition:border-color .5s,box-shadow .5s}
.star-dot::before{content:'';position:absolute;width:5px;height:5px;top:50%;left:50%;transform:translate(-50%,-50%);background:#c9dce9;border-radius:50%;box-shadow:0 0 14px #a6d4ff9c}
.star-dot::after{content:'';position:absolute;inset:-8px;border:1px solid #a8d6ff33;border-radius:50%;opacity:0}
.star-node[aria-selected=true]{color:#edf6ff}
.star-node[aria-selected=true] .star-dot{border-color:#bbdfff88;box-shadow:0 0 28px #a0ceff30}
.star-node[aria-selected=true] .star-dot::after{animation:beacon 3.5s ease-out infinite}
.star-code{font-size:9px;letter-spacing:.18em;color:#7c92a4}
.star-name{font-size:13px;line-height:1.5;max-width:140px;text-wrap:balance}
.star-node:hover .star-name{color:white}
.star-node:focus-visible,.next-star:focus-visible{outline:1px solid var(--ice);outline-offset:7px;border-radius:3px}
.star-panels{min-width:0;min-height:510px;padding:40px 0;display:grid;align-items:center}
.star-panel{animation:arrive .65s cubic-bezier(.2,.7,.3,1) both}
.star-panel[hidden]{display:none}
.panel-index{margin:0 0 34px}
.panel-title{font-size:clamp(29px,3vw,46px);font-weight:300;line-height:1.15;letter-spacing:-.04em;margin:0 0 26px;text-wrap:balance}
.panel-subtitle{font-size:18px;color:#d7e1ea;line-height:1.5;margin:0 0 18px}
.panel-text{font-size:15px;line-height:1.85;color:#969faa;margin:0}
.panel-quotes{margin-top:28px;padding-left:20px;border-left:1px solid #aecde33d}
.panel-quotes blockquote{font-size:13px;line-height:1.6;color:#b1bfcb;margin:0 0 10px}
.next-star{margin-top:28px;padding:10px 0;background:none;border:0;border-bottom:1px solid #9bb8cf55;color:#bbd0e1;font:11px Arial,sans-serif;letter-spacing:.06em;cursor:pointer}
.next-star:hover{color:white;border-color:white}
.map-caption{grid-column:1/-1;margin:0;text-align:center;font-size:10px;letter-spacing:.08em;color:#80909f}
.site-footer{border-top:0;padding-top:0}
@keyframes beacon{0%{transform:scale(.7);opacity:.7}100%{transform:scale(1.65);opacity:0}}
@keyframes signal{to{stroke-dashoffset:-156}}
@keyframes arrive{from{opacity:0;transform:translate(16px,10px);filter:blur(3px)}to{opacity:1;transform:translate(0,0);filter:blur(0)}}
@media(min-width:1400px){.star-name{font-size:15px}.star-node{width:160px}.star-panels{min-height:570px}}
@media(max-width:1000px){.constellation{grid-template-columns:1fr;gap:10px}.star-map{width:100%;max-width:620px;justify-self:center}.star-panels{min-height:0;padding:15px 6% 35px}.panel-title{max-width:600px}.panel-text{max-width:650px}.principles{gap:0 8%}}
@media(max-width:600px){.content-section{width:76%;padding:78px 0}.section-heading{margin-bottom:30px}.introduction{padding-top:100px}.introduction::before{top:60px}.introduction::after{height:44px}.principles{grid-template-columns:1fr;background:none;gap:0}.principle:nth-child(even){margin-top:0}.principle{padding-bottom:24px}.directions-section{width:80%}.directions-section .section-heading{width:95%}.constellation{padding-top:20px}.star-map{aspect-ratio:1;transform:none}.star-node{width:92px}.star-name{font-size:10px;line-height:1.4}.star-code{font-size:8px}.star-panels{padding:24px 2%}.panel-title{font-size:30px}.panel-subtitle{font-size:17px}.panel-quotes blockquote{font-size:13px}.map-caption{line-height:1.7;text-wrap:balance}.side-label-left{font-size:10px}.side-label-right{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.star-map{transform:none}.principle:hover{transform:none}.reveal{opacity:1;transform:none}}

/* Compact introduction and prominent direction navigation. */
.introduction{padding:42px 0 24px;text-align:center}
.introduction::before,.introduction::after{display:none}
.introduction .approach{max-width:710px;margin:0 auto;font-size:15px;line-height:1.9;letter-spacing:.01em}
.directions-section{padding-top:28px}
#directions{scroll-margin-top:24px}
.next-star{display:inline-flex;align-items:center;justify-content:center;min-height:50px;margin-top:32px;padding:15px 23px;border:1px solid #aacde36b;border-radius:999px;background:#a8cde512;color:#e2effa;font-size:13px;line-height:1.4;letter-spacing:.035em;box-shadow:0 0 24px #9ccaff08;transition:background .25s,border-color .25s,box-shadow .25s}
.next-star:hover{background:#a8cde526;border-color:#c5e2fa;box-shadow:0 0 24px #9ccaff18}
.next-star:active{background:#a8cde538}
@media(max-width:600px){.introduction{padding:30px 0 18px}.introduction .approach{font-size:13px;line-height:1.85}.directions-section{padding-top:14px}.next-star{width:100%;min-height:52px;padding:16px 18px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.next-star{transition:none}}

/* Bayun Lab: practice beyond the lesson. */
.app-section{display:grid;grid-template-columns:1.15fr 1fr;gap:9%;align-items:center;padding-top:60px;padding-bottom:130px}
.app-copy .section-index{color:#b3a1ce;font-size:10px;line-height:1.7;letter-spacing:.15em}
.app-copy h2{font-size:clamp(32px,3.7vw,56px);max-width:650px;line-height:1.14;margin-bottom:28px;text-wrap:balance}
.app-description{font-size:16px;line-height:1.85;color:#a9aeb8;max-width:560px}
.app-steps{list-style:none;counter-reset:practice;margin:36px 0 0;padding:0}
.app-steps li{counter-increment:practice;position:relative;padding:19px 0 19px 36px;border-top:1px solid var(--line)}
.app-steps li::before{content:'0' counter(practice);position:absolute;left:0;top:24px;font-size:10px;letter-spacing:.1em;color:#af9fc3}
.app-steps h3{margin:0 0 8px;font-size:18px;line-height:1.4;letter-spacing:-.01em}
.app-steps p{margin:0;color:#969faa;font-size:14px;line-height:1.75}
.app-preview{position:relative;margin:0;min-width:0;display:flex;flex-direction:column;align-items:center;isolation:isolate;padding:40px 0 10px}
.app-preview::before{content:'';position:absolute;z-index:-1;inset:4% -20%;background:radial-gradient(ellipse,#7738b326,transparent 66%);pointer-events:none}
.phone-shell{position:relative;width:min(100%,286px);padding:8px;border:1px solid #72717f;border-radius:39px;background:linear-gradient(135deg,#3d3b45,#0b0b10 22%,#1c1923 78%,#595460);box-shadow:0 32px 80px #0008,0 0 0 3px #14141b,0 0 0 4px #ffffff12;transform:rotate(-4deg);transition:transform .8s cubic-bezier(.2,.7,.3,1)}
.app-preview:hover .phone-shell{transform:rotate(0) translateY(-6px)}
.phone-screen{border-radius:31px;overflow:hidden;background:#51247c}
.phone-screen img{display:block;width:100%;height:auto}
.phone-button{position:absolute;width:3px;background:#696674;border-radius:3px}
.phone-button-left{left:-4px;top:111px;height:39px;box-shadow:0 48px #696674}
.phone-button-right{right:-4px;top:154px;height:58px}
.app-preview figcaption{margin-top:38px;font-size:10px;letter-spacing:.12em;color:#88909c;text-align:center}
.phone-orbit{position:absolute;z-index:-1;inset:16% -15%;border:1px solid #a4b9cd18;border-radius:50%;transform:rotate(-30deg);pointer-events:none}
.phone-orbit span{position:absolute;width:4px;height:4px;border-radius:50%;background:#c3b2dd;box-shadow:0 0 16px #be9afc88}
.phone-orbit span:nth-child(1){left:13%;top:15%}.phone-orbit span:nth-child(2){right:0;top:47%}.phone-orbit span:nth-child(3){left:20%;bottom:9%}
@media(max-width:1000px){.app-section{gap:8%;width:76%}.phone-shell{width:min(100%,250px)}.app-copy h2{font-size:36px}.phone-orbit{inset:20% -5%}}
@media(max-width:700px){.app-section{grid-template-columns:1fr;padding-top:30px;padding-bottom:80px;gap:24px}.app-copy h2{font-size:34px}.app-description{font-size:15px}.app-preview{padding-top:25px}.phone-shell{width:min(86%,265px)}.phone-orbit{inset:14% -2%}.app-steps h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){.phone-shell{transform:none;transition:none}.app-preview:hover .phone-shell{transform:none}}

/* Shared Bayun violet: restrained accents across the whole page. */
:root{--ice:#cfb8ef;--line:rgba(193,168,220,.17);--violet:#ae7cda;--violet-light:#dfcaf3}
body{background:radial-gradient(ellipse at 12% 44%,#71349413,transparent 38%),radial-gradient(ellipse at 86% 78%,#7838aa17,transparent 37%),#080a0d}
.hero::after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 5% 82%,#793da51c,transparent 45%),radial-gradient(ellipse at 96% 20%,#71349412,transparent 38%)}
.hero-intro,.scroll-cue{z-index:1}
.hero-intro strong{color:#d1c5df}
.scroll-cue{color:#ae9abf}.scroll-cue:hover{color:#e8d8f9}
.introduction .approach{color:#b7acbf}
.constellation{border-color:#b991d12c}
.star-map{background:radial-gradient(ellipse at 48% 45%,#8b45b71c,transparent 68%)}
.star-links line{stroke:#9173a8}
.star-links line.active{stroke:#c6a1e5}
.star-dot{border-color:#c09bdf3d}
.star-dot::before{background:#e2cff5;box-shadow:0 0 16px #bb83e9a1}
.star-dot::after{border-color:#c592ed55}
.star-node[aria-selected=true]{color:#f0e4fb}
.star-node[aria-selected=true] .star-dot{border-color:#d4b0f2a1;box-shadow:0 0 32px #a251d94a}
.star-code,.panel-index{color:#b19ac2}
.panel-subtitle{color:#dfd2e9}
.panel-quotes{border-left-color:#b080d15c}
.next-star{border-color:#ba91d77a;background:linear-gradient(115deg,#7232974a,#9b56c526);color:#f0e4fa;box-shadow:0 0 28px #8c39bd12}
.next-star:hover{background:linear-gradient(115deg,#8541ac73,#ae6bd63b);border-color:#d5afef;box-shadow:0 0 28px #9e49d125}
.next-star:active{background:#8c49b870}
.star-node:focus-visible,.next-star:focus-visible{outline-color:#d9b8f0}
.app-copy h2{font-size:clamp(30px,3.2vw,48px);line-height:1.2}
.app-copy .section-index{color:#bd9cd6}
.app-steps li{border-color:#ba91d12e}
.app-steps li::before{color:#c09cdb}
.phone-orbit{border-color:#b98bd528}
.site-footer{color:#a493b2}
@media(max-width:700px){.app-copy h2{font-size:30px}}

/* Scroll: portrait → scattered points → lifelong skills. */
.hero-morph{height:220vh;height:220svh;min-height:0}
.hero-stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden}
.hero-morph::after{display:none}
.hero-stage::after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 5% 82%,#793da51c,transparent 45%)}
.morph-approach{position:absolute;z-index:1;top:61%;left:50%;transform:translateX(-50%);width:min(74%,710px);text-align:center;opacity:0}
.morph-approach p{font-size:15px;line-height:1.9;color:#b7acbf;letter-spacing:.01em;margin:0}
.morph-accessible-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hero-morph>.scroll-cue{display:none}
@media(max-width:600px){.morph-approach{top:63%;width:74%}.morph-approach p{font-size:13px;line-height:1.85}.hero-morph{height:210svh}}
@media(prefers-reduced-motion:reduce){.hero-morph{height:auto}.hero-stage{position:relative;height:auto;min-height:100svh;padding-top:100svh;overflow:visible}.hero-stage canvas{height:100svh}.hero-stage .hero-intro{top:5svh}.morph-approach{position:relative;inset:auto;transform:none;margin:0 auto;opacity:1;padding:30px 0}.morph-accessible-title{position:static;width:auto;height:auto;clip-path:none;white-space:normal;margin:0 0 20px;font-size:30px}.hero-stage::after{display:none}}

/* Give the scroll transformation room to settle before the stage releases. */
.hero-morph{height:230vh;height:230svh}
@media(max-width:600px){.hero-morph{height:215svh}}
@media(prefers-reduced-motion:reduce){.hero-morph{height:auto}}


.constellation{touch-action:pan-y pinch-zoom}


/* Contact invitation and teacher editorial. */
.phone-request-trigger{z-index:2;position:relative;margin-top:25px;min-height:44px;padding:10px 18px;border:1px solid #bc96d565;border-radius:24px;background:#1d1427;color:#decaed;font:12px Arial,sans-serif;cursor:pointer}
.phone-request{position:absolute;z-index:4;left:50%;top:43%;width:min(330px,100%);padding:25px;background:#15101ff5;border:1px solid #b88dd34d;border-radius:20px;box-shadow:0 24px 70px #0009;backdrop-filter:blur(18px);opacity:0;visibility:hidden;transform:translate(-50%,15px);transition:opacity .3s,transform .3s,visibility .3s}
.phone-request h3{font-size:24px;margin:0 0 12px}.phone-request p{font-size:13px;color:#b4a9bf}.phone-request .section-index{font-size:9px;margin-bottom:16px}.phone-request .next-star{width:100%;margin-top:14px}
.app-preview.request-open .phone-request,.app-preview:focus-within .phone-request{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media(hover:hover){.app-preview:hover .phone-request{opacity:1;visibility:visible;transform:translate(-50%,0)}}
.teacher-section{display:grid;grid-template-columns:1fr 1fr;gap:9%;align-items:start;padding-top:20px;padding-bottom:130px}
.teacher-visual{position:sticky;top:70px;min-width:0}
.teacher-photos{position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:3px;background:#18121e;border:1px solid #bba3d021}
.teacher-photos img{width:100%;height:100%;object-fit:cover;display:block;animation:teacher-photo-in .7s ease both}
.teacher-photos img[hidden]{display:none}
#teacher-portrait{object-position:51% center}#teacher-studio{object-position:64% center}
.photo-controls{display:flex;gap:6px;margin-top:18px}
.photo-controls button{padding:10px 16px;min-height:44px;font:11px Arial,sans-serif;letter-spacing:.04em;cursor:pointer;border:1px solid #b593cb35;border-radius:24px;background:transparent;color:#a89aaf}
.photo-controls button[aria-pressed=true]{background:#a56bc321;border-color:#bc95d373;color:#e5d3ef}
.teacher-copy .section-index{margin:0 0 30px;color:#b198c3}.teacher-copy h2{font-size:clamp(34px,3.8vw,58px);line-height:1.12;margin-bottom:18px}
.teacher-role{font-size:13px;letter-spacing:.04em;color:#c5a7d8;margin-bottom:26px}.teacher-description{font-size:16px;line-height:1.9;color:#a9a5b1}
.education-label{font-size:13px;line-height:1.6;color:#b6a4c3;margin:34px 0 14px}
.education-item{border-top:1px solid #b18fc52e}.education-item:last-child{border-bottom:1px solid #b18fc52e}
.education-item summary{cursor:pointer;display:flex;justify-content:space-between;gap:20px;padding:20px 0;list-style:none;font-size:20px;font-weight:300}.education-item summary::-webkit-details-marker{display:none}.education-item summary>span:last-child{color:#b597cb;transition:transform .3s}.education-item[open] summary>span:last-child{transform:rotate(45deg)}
.education-body{padding:0 0 22px;animation:teacher-photo-in .35s ease}.education-body>p{font-size:14px;color:#a9a2b1;line-height:1.8;margin:0 0 18px}
.diploma-preview{border:1px dashed #c3a2dd36;padding:20px;text-align:center;background:#aa72cf08;color:#b9a3c8;font-size:11px}.diploma-preview p{font-size:11px;margin-bottom:0;color:#8f809b}.diploma-preview img{max-width:100%;max-height:250px;object-fit:contain;display:block;margin:auto}
.request-dialog{width:min(90vw,510px);max-height:85svh;padding:45px 35px;border:1px solid #bb96d55e;border-radius:22px;background:#14101c;color:#e4dce9;box-shadow:0 40px 120px #000b}.request-dialog::backdrop{background:#050308bb;backdrop-filter:blur(8px)}.request-dialog h2{font-size:36px;margin:25px 0}.request-dialog>p{font-size:15px;color:#b8acbf}.dialog-close{position:absolute;right:16px;top:12px;width:44px;height:44px;border:0;background:none;color:#c3aed0;font-size:28px;cursor:pointer}.request-dialog .request-pending{color:#ccaddf;margin-top:25px}.next-star:disabled{opacity:.45;cursor:default;box-shadow:none}
button:focus-visible,summary:focus-visible{outline:1px solid #d7b5ee;outline-offset:5px}
@keyframes teacher-photo-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:850px){.teacher-section{grid-template-columns:1fr;gap:45px}.teacher-visual{position:relative;top:auto}.teacher-photos{aspect-ratio:5/4}.teacher-copy h2{font-size:40px}.teacher-section{padding-bottom:80px}}
@media(max-width:500px){.teacher-photos{aspect-ratio:4/5}.teacher-copy h2{font-size:34px}.teacher-description{font-size:15px}.phone-request{width:100%;padding:22px}.request-dialog{padding:45px 24px}.request-dialog h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){.teacher-photos img,.education-body{animation:none}.phone-request,.education-item summary>span:last-child{transition:none}}

/* Phone invitation has its own column; it never covers the screen. */
.app-section{grid-template-columns:1fr 1.35fr;gap:6%;width:80%}
.app-preview{display:grid;grid-template-columns:minmax(170px,1fr) minmax(180px,240px);gap:18px;align-items:center}
.app-preview .phone-shell{grid-column:2;grid-row:1;width:100%;justify-self:center}
.app-preview .phone-request{position:relative;inset:auto;grid-column:1;grid-row:1;width:100%;padding:20px;transform:translate(-10px,0);align-self:center}
.app-preview .phone-request h3{font-size:21px}
.app-preview .phone-request-trigger{grid-column:2;grid-row:2;margin:5px 0 0;font-size:10px;padding:10px}
.app-preview figcaption{grid-column:2;grid-row:3;margin-top:0}
.app-preview .phone-orbit{inset:15% -5% 20% 28%}
.app-preview.request-open .phone-request,.app-preview:focus-within .phone-request{transform:translate(0,0)}
@media(hover:hover){.app-preview:hover .phone-request{transform:translate(0,0)}}
.teacher-editorial{display:block;padding-top:35px;width:80%;max-width:1280px}
.teacher-header{display:grid;grid-template-columns:1fr 2fr;column-gap:7%;align-items:baseline;margin-bottom:35px}
.teacher-header .section-index{grid-column:1;grid-row:1;color:#af96c2}
.teacher-header h2{grid-column:2;grid-row:1;font-size:clamp(36px,4.5vw,68px);margin:0;letter-spacing:-.05em}
.teacher-header .teacher-role{grid-column:2;margin:15px 0 0}
.teacher-scene{position:relative;overflow:hidden;margin:0;border:1px solid #bc9ad52e;border-radius:4px;aspect-ratio:1.8;background:#17101e}
.teacher-scene img{width:100%;height:100%;object-fit:cover;object-position:50% 40%;display:block;transition:transform 1.5s ease}
.teacher-scene:hover img{transform:scale(1.025)}
.teacher-scene figcaption{position:absolute;left:28px;bottom:24px;font-size:9px;letter-spacing:.2em;color:#f1dfef;background:#100a1570;padding:12px 16px;border:1px solid #d7b2ed22;backdrop-filter:blur(10px)}
.teacher-introduction{display:grid;grid-template-columns:1fr 1.5fr;gap:10%;margin:45px 0}
.teacher-introduction h3{margin:0;font-size:clamp(23px,2.6vw,36px);line-height:1.25;max-width:360px;font-weight:300}
.teacher-introduction p{margin:0;font-size:15px;line-height:1.9}
.education-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:start;position:relative}
.education-cards::before{content:'';height:1px;position:absolute;top:0;left:0;right:0;background:linear-gradient(90deg,#c8a4df60,#a57eb83b,#c8a4df60)}
.education-cards .education-item,.education-cards .education-item:last-child{border:0;position:relative}
.education-cards .education-item::before{content:'';width:5px;height:5px;border-radius:50%;position:absolute;top:-2px;background:#d8b8f0;box-shadow:0 0 15px #b07bd77a}
.education-cards summary{display:grid;grid-template-columns:1fr 20px;row-gap:22px;padding:24px 0;font-size:clamp(18px,1.8vw,25px);min-height:120px;align-items:start}
.education-number{grid-column:1/-1;font-size:9px;letter-spacing:.15em;color:#a68cb7}
.education-cards summary>span:last-child{font-size:18px}
.teacher-contact{margin-top:40px}
@media(max-width:1150px){.app-section{grid-template-columns:1fr 1fr}.app-preview{display:flex;flex-direction:column;gap:16px}.app-preview .phone-shell{width:min(90%,250px)}.app-preview .phone-request{order:4;transform:translate(0,8px);width:100%;max-width:320px;display:none}.app-preview.request-open .phone-request,.app-preview:focus-within .phone-request{display:block;transform:none}.app-preview .phone-request-trigger{margin:0}.app-preview figcaption{margin:0}.app-preview .phone-orbit{inset:10% 0 25% 0}}
@media(hover:hover) and (max-width:1150px){.app-preview:hover .phone-request{display:block;transform:none}}
@media(max-width:700px){.app-section{grid-template-columns:1fr}.teacher-header{display:block}.teacher-header .section-index{margin-bottom:20px}.teacher-header h2{font-size:36px}.teacher-introduction{grid-template-columns:1fr;gap:24px;margin:30px 0}.teacher-scene{aspect-ratio:1.05}.teacher-scene img{object-position:58% center}.teacher-scene figcaption{left:14px;bottom:14px;font-size:8px;padding:10px}.education-cards{grid-template-columns:1fr;gap:0}.education-cards::before{display:none}.education-cards .education-item{border-top:1px solid #b593cb40}.education-cards summary{min-height:0;padding:20px 0;row-gap:12px;font-size:22px}.teacher-contact{font-size:12px;padding:14px 18px}}
@media(prefers-reduced-motion:reduce){.teacher-scene img{transition:none}.teacher-scene:hover img{transform:none}}

/* Author: text and competencies lead, portrait is a compact companion. */
.teacher-editorial{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr);column-gap:7%;row-gap:24px;align-items:start}
.teacher-header{grid-column:1/-1;grid-row:1;display:block;margin-bottom:8px}
.teacher-header .section-index{margin:0 0 20px}
.teacher-header h2{font-size:clamp(34px,3.8vw,54px)}
.teacher-header .teacher-role{margin:14px 0 0}
.teacher-scene{grid-column:1;grid-row:2/5;width:100%;max-width:390px;aspect-ratio:1.5;align-self:start}
.teacher-scene img{object-fit:contain;object-position:center;transition:none}
.teacher-scene:hover img{transform:none}
.teacher-scene figcaption{left:12px;bottom:12px;padding:8px 10px;font-size:7px;letter-spacing:.12em}
.teacher-introduction{grid-column:2;grid-row:2;display:block;margin:0}
.teacher-introduction h3{font-size:clamp(23px,2.4vw,32px);max-width:480px;margin-bottom:20px}
.teacher-introduction p{font-size:15px;line-height:1.85}
.education-cards{grid-column:2;grid-row:3;grid-template-columns:1fr;gap:0}
.education-cards::before{display:none}
.education-cards .education-item,.education-cards .education-item:last-child{border-top:1px solid #b593cb40}
.education-cards .education-item::before{display:none}
.education-cards summary{min-height:0;row-gap:9px;padding:18px 0;font-size:22px}
.teacher-contact{grid-column:2;grid-row:4;justify-self:start;margin-top:0}
@media(max-width:760px){.teacher-editorial{grid-template-columns:1fr;gap:26px}.teacher-header{grid-column:1;grid-row:1}.teacher-scene{grid-column:1;grid-row:2;max-width:360px;aspect-ratio:1.5}.teacher-introduction{grid-column:1;grid-row:3}.education-cards{grid-column:1;grid-row:4}.teacher-contact{grid-column:1;grid-row:5}.teacher-header h2{font-size:34px}.teacher-introduction h3{font-size:26px}.education-cards summary{font-size:21px}}

/* Restore the large phone preview and explicit contact button. */
.app-section{grid-template-columns:1.15fr 1fr;gap:9%;width:74%}
.app-preview{display:flex;flex-direction:column;align-items:center;gap:0}
.app-preview .phone-shell{width:min(100%,286px)}
.app-preview .phone-orbit{inset:16% -15%;}
.app-preview .phone-request-trigger{margin-top:28px;padding:13px 22px;font-size:12px;min-height:46px}
.app-preview figcaption{margin-top:22px}
@media(max-width:1000px){.app-section{gap:8%;width:76%}.app-preview .phone-shell{width:min(100%,270px)}.app-preview .phone-orbit{inset:20% -5%}}
@media(max-width:700px){.app-section{grid-template-columns:1fr;gap:24px}.app-preview .phone-shell{width:min(92%,286px)}.app-preview .phone-orbit{inset:14% -2%}}

/* Panoramic studio portrait: more environment, smaller figure, competencies directly below. */
.teacher-editorial{display:grid;grid-template-columns:1fr;row-gap:30px}
.teacher-editorial .teacher-header{grid-column:1;grid-row:1}
.teacher-editorial .teacher-scene{grid-column:1;grid-row:2;width:100%;max-width:none;aspect-ratio:3/1}
.teacher-editorial .teacher-scene img{width:100%;height:100%;object-fit:contain;object-position:center;transform:none}
.teacher-editorial .teacher-introduction{grid-column:1;grid-row:3;display:grid;grid-template-columns:1fr 1.6fr;gap:8%;margin:8px 0 0}
.teacher-editorial .teacher-introduction h3{margin:0;font-size:clamp(24px,2.7vw,36px)}
.teacher-editorial .education-cards{grid-column:1;grid-row:4;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.teacher-editorial .education-cards summary{font-size:clamp(18px,1.8vw,24px)}
.teacher-editorial .teacher-contact{grid-column:1;grid-row:5;margin-top:0}
@media(max-width:700px){.teacher-editorial{row-gap:25px}.teacher-editorial .teacher-scene{aspect-ratio:2/1}.teacher-editorial .teacher-scene img{object-fit:cover;object-position:center}.teacher-editorial .teacher-introduction{grid-template-columns:1fr;gap:18px}.teacher-editorial .education-cards{grid-template-columns:1fr;gap:0}.teacher-editorial .teacher-scene figcaption{font-size:6px;padding:6px;bottom:8px;left:8px}}

/* Orbit particles follow the same ellipse as the phone's fine outline. */
@supports(offset-path:ellipse(50% 50% at 50% 50%)){
.phone-orbit span:nth-child(n){left:0;top:0;right:auto;bottom:auto;offset-path:ellipse(50% 50% at 50% 50%);offset-anchor:50% 50%;offset-distance:0%;animation:phone-orbit-travel 22s linear infinite;will-change:offset-distance}
.phone-orbit span:nth-child(2){animation-delay:-7.33s}
.phone-orbit span:nth-child(3){animation-delay:-14.66s}
}
@keyframes phone-orbit-travel{from{offset-distance:0%}to{offset-distance:100%}}
@media(prefers-reduced-motion:reduce){.phone-orbit span:nth-child(n){animation:none;will-change:auto}.phone-orbit span:nth-child(2){offset-distance:33.33%}.phone-orbit span:nth-child(3){offset-distance:66.66%}}

/* Original central photograph stays intact; generation is visible only at the sides. */
.teacher-editorial .teacher-scene img.teacher-extension-layer{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.teacher-editorial .teacher-scene img.teacher-original-layer{position:absolute;top:0;left:50%;width:auto;max-width:none;height:100%;object-fit:contain;transform:translateX(-50%);mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent)}
.teacher-editorial .teacher-scene:hover img.teacher-original-layer{transform:translateX(-50%)}
.teacher-scene figcaption{z-index:2}

.teacher-editorial .teacher-introduction{display:block;max-width:850px}.teacher-editorial .teacher-introduction p{max-width:850px}


/* Telegram remains within reach while browsing. */
.telegram-float{position:fixed;z-index:20;right:clamp(18px,3vw,46px);bottom:max(24px,env(safe-area-inset-bottom));width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#795098,#432b5c);border:1px solid #ceace776;color:#f1e6fa;box-shadow:0 8px 30px #0006,0 0 25px #ad79d21c;transition:transform .25s,box-shadow .25s}
.telegram-float:hover{transform:translateY(-3px);box-shadow:0 10px 34px #0008,0 0 28px #ba8ce43b}
.telegram-float:focus-visible{outline:2px solid #e7cef9;outline-offset:5px}
.telegram-float-label{position:absolute;right:calc(100% + 12px);white-space:nowrap;font:12px Arial,sans-serif;padding:10px 14px;border-radius:18px;background:#201529f2;border:1px solid #b495ca40;opacity:0;visibility:hidden;transition:opacity .2s}
.telegram-float:hover .telegram-float-label,.telegram-float:focus-visible .telegram-float-label{opacity:1;visibility:visible}
@media(max-width:600px){.telegram-float{width:54px;height:54px;right:16px;bottom:max(18px,env(safe-area-inset-bottom))}.site-footer{padding-bottom:92px}}
@media(prefers-reduced-motion:reduce){.telegram-float,.telegram-float-label{transition:none}.telegram-float:hover{transform:none}}

/* Contextual reminders near the contact button. */
.telegram-reminder{position:fixed;z-index:21;right:clamp(18px,3vw,46px);bottom:calc(max(24px,env(safe-area-inset-bottom)) + 76px);width:min(290px,calc(100vw - 32px));padding:18px 38px 18px 20px;border:1px solid #c6a3df57;border-radius:18px;background:#21152cf5;box-shadow:0 12px 40px #0006;animation:telegram-bubble-in .35s ease both}
.telegram-reminder[hidden]{display:none}
.telegram-reminder::after{content:'';position:absolute;right:23px;bottom:-6px;width:10px;height:10px;background:#21152c;border-right:1px solid #c6a3df57;border-bottom:1px solid #c6a3df57;transform:rotate(45deg)}
.telegram-reminder a{display:block;color:#e8d7f3;font-size:13px;line-height:1.65}
.telegram-reminder-close{position:absolute;right:0;top:0;width:36px;height:36px;background:none;border:0;color:#b9a4c9;font-size:22px;cursor:pointer}
.telegram-float.has-reminder{box-shadow:0 0 0 7px #b986d518,0 8px 30px #0006}
.telegram-float.has-reminder .telegram-float-label{visibility:hidden;opacity:0}
@keyframes telegram-bubble-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.telegram-reminder{right:16px;bottom:calc(max(18px,env(safe-area-inset-bottom)) + 70px)}}
@media(prefers-reduced-motion:reduce){.telegram-reminder{animation:none}}

/* Bring the selected constellation label gently forward. */
.star-node{transition:color .35s;isolation:isolate}
.star-name{display:block;transform-origin:center;transition:transform .45s cubic-bezier(.2,.7,.25,1),color .35s,text-shadow .35s}
.star-node[aria-selected=true]{z-index:3}
.star-node[aria-selected=true] .star-name{transform:translateY(-3px) scale(1.08);color:#f2e6fc;text-shadow:0 0 18px #c499eb70}
.star-node[aria-selected=false] .star-name{color:#a497b0}
@media(max-width:600px){.star-node[aria-selected=true] .star-name{transform:translateY(-2px) scale(1.06)}}
@media(prefers-reduced-motion:reduce){.star-name,.star-node{transition:none}.star-node[aria-selected=true] .star-name{transform:none}}

/* Format: rhythm on a timeline and a choice of meeting space. */
.format-section{padding-top:40px;padding-bottom:110px;width:80%;max-width:1280px}
.format-header{max-width:690px;margin-bottom:48px}.format-header h2{font-size:clamp(36px,4.5vw,64px);margin:0 0 22px}.format-header .section-index{color:#af96c2;margin-bottom:24px}.format-intro{color:#a9a1b3;font-size:17px;line-height:1.8}
.format-layout{display:grid;grid-template-columns:1fr 1fr;gap:9%;align-items:start}
.format-schedule{padding-top:16px}.format-fact{display:grid;grid-template-columns:58px 1fr;gap:22px;position:relative;padding:0 0 44px}
.format-fact:not(:last-child)::after{content:'';position:absolute;left:25px;top:56px;bottom:8px;width:1px;background:linear-gradient(#b894d559,#b894d511)}
.format-symbol{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border:1px solid #ba92d04d;border-radius:50%;font-size:13px;color:#d2b6e8;background:radial-gradient(circle,#8750b31f,transparent)}
.format-fact h3{font-size:25px;margin:10px 0 13px;line-height:1.3}.format-fact p{font-size:14px;color:#a69eaf;line-height:1.85;margin:0;max-width:390px}
.format-venue{padding:26px 30px 32px;border:1px solid #b18bc03a;border-radius:24px;background:radial-gradient(ellipse at 80% 25%,#8c4ca11c,transparent 65%),#100d16;overflow:hidden}
.format-tabs{display:flex;padding:5px;border:1px solid #b795ca38;border-radius:30px;gap:6px}.format-tabs button{flex:1;min-height:44px;padding:10px;border:0;border-radius:24px;background:transparent;color:#ac9ab8;font:13px Arial,sans-serif;cursor:pointer;transition:background .3s,color .3s}.format-tabs button[aria-selected=true]{background:#764c9359;color:#f1e4fa;box-shadow:0 2px 14px #0003}
.venue-art{position:relative;height:160px;margin:16px 0;transition:transform .7s}.venue-ring{position:absolute;left:50%;top:50%;width:210px;height:88px;border:1px solid #b895d13d;border-radius:50%;transform:translate(-50%,-50%) rotate(-22deg);transition:transform .7s}
.venue-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:32px;color:#d9b8ee;text-shadow:0 0 24px #b26ee961}
.venue-star{position:absolute;left:calc(50% + 80px);top:calc(50% - 44px);width:5px;height:5px;border-radius:50%;background:#e0c7f0;box-shadow:0 0 16px #bd8fdd;transition:transform .7s}.venue-star.secondary{left:calc(50% - 86px);top:calc(50% + 36px);width:3px;height:3px}
[data-venue=online] .venue-ring{transform:translate(-50%,-50%) rotate(22deg)}[data-venue=online] .venue-star{transform:translateY(68px)}[data-venue=online] .venue-star.secondary{transform:translateY(-60px)}
.venue-panel{min-height:165px;animation:venue-in .45s ease both}.venue-panel[hidden]{display:none}.venue-label{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:#bc9cd0;margin:0 0 15px}.venue-panel h3{font-size:26px;line-height:1.3;margin:0 0 16px}.venue-panel>p:last-child{font-size:14px;line-height:1.8;color:#aea1b8;margin:0}.format-venue .next-star{margin-top:24px}
@keyframes venue-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.format-layout{grid-template-columns:1fr;gap:10px}.format-header{margin-bottom:30px}.format-fact{padding-bottom:32px;gap:16px}.format-fact h3{font-size:23px}.format-venue{padding:23px}.venue-panel{min-height:170px}.format-venue .next-star{width:100%}.format-section{padding-bottom:75px}}
@media(prefers-reduced-motion:reduce){.venue-panel{animation:none}.venue-ring,.venue-star,.format-tabs button{transition:none}}

/* Small venue photographs replace the abstract diagram. */
.format-photo{position:relative;margin:22px 0 24px;height:180px;overflow:hidden;border-radius:14px;border:1px solid #b793cd30;background:#17121f}
.format-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.format-photo figcaption{position:absolute;left:10px;bottom:10px;max-width:calc(100% - 20px);padding:6px 9px;background:#100c17c9;border-radius:7px;color:#e6daef;font-size:9px;line-height:1.5;letter-spacing:.02em}
.venue-panel{min-height:355px}
@media(max-width:760px){.format-photo{height:175px}.venue-panel{min-height:365px}}

/* Matched full-frame portrait plates, subtle depth without stretching anatomy. */
.teacher-scene{--depth-x:0;--depth-y:0}
.teacher-editorial .teacher-scene img.teacher-static{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.teacher-editorial .teacher-scene img.teacher-depth-background,.teacher-editorial .teacher-scene img.teacher-depth-person{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;pointer-events:none;transition:transform 1s cubic-bezier(.2,.7,.25,1),opacity .5s}
.teacher-editorial .teacher-scene.depth-ready .teacher-depth-background,.teacher-editorial .teacher-scene.depth-ready .teacher-depth-person{opacity:1}
.teacher-editorial .teacher-scene img.teacher-depth-background{transform:translate(calc(var(--depth-x)*-4px),calc(var(--depth-y)*-2px)) scale(1.025)}
.teacher-editorial .teacher-scene img.teacher-depth-person{transform:translate(calc(var(--depth-x)*4px),calc(var(--depth-y)*1px)) scale(1.015)}
@media(prefers-reduced-motion:reduce){.teacher-editorial .teacher-scene img.teacher-depth-background,.teacher-editorial .teacher-scene img.teacher-depth-person{transform:none;transition:none}}

/* Original-photo cutout: uniform scaling and soft integration with studio lighting. */
.teacher-editorial .teacher-scene img.teacher-depth-person{object-fit:cover;transform-origin:50% 100%;transform:translate(calc(var(--depth-x)*4px),calc(var(--depth-y)*.7px)) scale(.96);filter:brightness(.94) saturate(.92)}
@media(prefers-reduced-motion:reduce){.teacher-editorial .teacher-scene img.teacher-depth-person{transform:scale(.96)}}

/* Clean single photograph: no overlapping cutouts, masks or sharpening filters. */
.teacher-editorial .teacher-scene img.teacher-clean-photo{display:block;position:static;width:100%;height:100%;object-fit:cover;object-position:center;transform:none;filter:none;mask-image:none;opacity:1;transition:none;animation:none}
.teacher-editorial .teacher-scene:hover img.teacher-clean-photo{transform:none}

/* Open horizontal rhythm constellation. */
.rhythm-map{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:20px 0 15px;isolation:isolate}
.rhythm-map::before{content:'';position:absolute;left:16.66%;right:16.66%;top:35px;height:1px;background:linear-gradient(90deg,#c4a1e15c,#b493d42e,#c4a1e15c);z-index:-1}
.rhythm-node{display:flex;flex-direction:column;align-items:center;gap:12px;padding:0 10px 18px;border:0;background:none;color:#a99ab6;cursor:pointer;font:inherit;text-align:center}
.rhythm-dot{position:relative;width:30px;height:30px;border-radius:50%;border:1px solid #ba95d23d;background:#0c0a10;transition:box-shadow .5s,border-color .5s}
.rhythm-dot::before{content:'';position:absolute;left:50%;top:50%;width:5px;height:5px;border-radius:50%;transform:translate(-50%,-50%);background:#d8bce9;box-shadow:0 0 16px #be8cde8a}
.rhythm-number{font-size:10px;letter-spacing:.14em;color:#9d83b0}
.rhythm-title{font-size:clamp(20px,2.5vw,33px);line-height:1.3;letter-spacing:-.025em;transition:transform .4s,color .4s}
.rhythm-node[aria-selected=true] .rhythm-dot{border-color:#d3b2ed;box-shadow:0 0 0 8px #b67bdd10,0 0 30px #a367ce32}
.rhythm-node[aria-selected=true] .rhythm-title{color:#f0e2fa;transform:translateY(-2px) scale(1.035)}
.rhythm-descriptions{min-height:110px;display:grid;place-items:start center;padding:12px 0 32px;border-bottom:1px solid #b593ca2e}
.rhythm-description{max-width:650px;margin:0;text-align:center;color:#b5a8bf;font-size:16px;line-height:1.85;animation:venue-in .4s ease both}
.rhythm-description[hidden]{display:none}
.format-venue.venue-open{padding:38px 0 0;border:0;border-radius:0;background:none;overflow:visible}
.venue-choice-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:28px}
.venue-choice-heading .section-index{margin:0}
.venue-open .format-tabs{padding:0;border:0;border-radius:0;gap:26px}
.venue-open .format-tabs button{padding:10px 0 12px;border-radius:0;border-bottom:1px solid transparent;font-size:22px;min-width:100px;text-align:left;background:none;box-shadow:none;display:flex;gap:24px;align-items:center}
.venue-open .format-tabs button[aria-selected=true]{background:none;box-shadow:none;border-color:#c6a0df;color:#eddbf8}
.venue-open .format-tabs button span{font-size:16px;color:#b495c8}
.venue-open .venue-panel{display:grid;grid-template-columns:1.2fr 1fr;gap:6%;align-items:center;min-height:300px}
.venue-open .venue-panel[hidden]{display:none}
.venue-open .format-photo{margin:0;height:280px;border-radius:4px}
.venue-description h3{font-size:clamp(24px,2.6vw,36px);margin:0 0 20px;line-height:1.2}
.venue-description>p:not(.venue-label){font-size:15px;color:#aaa0b4;line-height:1.85;margin:0}
.venue-description .next-star{width:auto;margin-top:24px}
@media(max-width:700px){.rhythm-map{gap:8px}.rhythm-node{padding-inline:0}.rhythm-title{font-size:16px}.rhythm-description{font-size:14px}.rhythm-descriptions{min-height:135px}.venue-choice-heading{display:block}.venue-choice-heading .section-index{margin-bottom:18px}.venue-open .format-tabs{gap:32px}.venue-open .format-tabs button{font-size:23px}.venue-open .venue-panel{grid-template-columns:1fr;gap:24px;min-height:0}.venue-open .format-photo{height:190px}.venue-description{min-height:230px}.venue-description .next-star{width:100%}}
@media(prefers-reduced-motion:reduce){.rhythm-title,.rhythm-dot{transition:none}.rhythm-description{animation:none}.rhythm-node[aria-selected=true] .rhythm-title{transform:none}}

/* Centered iOS-style segmented switch. */
.venue-choice-heading{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;margin-bottom:30px;text-align:center}
.venue-choice-heading .section-index{margin:0}
.venue-open .format-tabs{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr 1fr;width:min(100%,310px);gap:0;padding:5px;border:1px solid #c7b0da29;border-radius:17px;background:#a08bad17;box-shadow:inset 0 1px 3px #0005}
.venue-open .format-tabs::before{content:'';position:absolute;z-index:-1;left:5px;top:5px;bottom:5px;width:calc(50% - 5px);border-radius:12px;background:linear-gradient(180deg,#75518b,#50335f);box-shadow:0 2px 7px #0005,inset 0 1px #e5d2f32b;transform:translateX(0);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.format-section[data-venue=offline] .format-tabs::before{transform:translateX(100%)}
.venue-open .format-tabs button,.venue-open .format-tabs button[aria-selected=true]{display:flex;justify-content:center;align-items:center;min-width:0;min-height:44px;padding:10px 20px;border:0;border-radius:12px;background:transparent;box-shadow:none;font-size:15px;font-weight:500;text-align:center;color:#aa98b5;transition:color .25s}
.venue-open .format-tabs button[aria-selected=true]{color:#fff5ff}
.venue-open .format-tabs button span{display:none}
.venue-open .format-tabs button:focus-visible{outline-offset:1px}
@media(max-width:700px){.venue-choice-heading{display:flex}.venue-choice-heading .section-index{margin:0}.venue-open .format-tabs{gap:0}.venue-open .format-tabs button{font-size:15px}}
@media(prefers-reduced-motion:reduce){.venue-open .format-tabs::before,.venue-open .format-tabs button{transition:none}}

.format-header{margin-left:auto;margin-right:auto;text-align:center;max-width:800px}.format-intro{max-width:660px;margin-left:auto;margin-right:auto}
.education-heading{display:grid;grid-template-columns:1fr;gap:14px;padding:24px 0 16px;font-size:clamp(18px,1.8vw,24px);line-height:1.3}
.education-body{animation:none}
.diploma-preview{padding:0;border:0;background:none;text-align:left}
.diploma-preview[hidden]{display:none}
.diploma-open{min-height:44px;background:none;border:0;border-bottom:1px solid #b797cc55;padding:10px 0;color:#cfb3e2;font:12px Arial,sans-serif;cursor:pointer}
.diploma-open:hover{color:#f2e5fa;border-color:#d9b9ec}
.diploma-dialog{width:min(94vw,1040px);max-height:90svh;box-sizing:border-box;padding:56px 24px 24px;border:1px solid #c5a4d54d;border-radius:18px;background:#141019;color:#ddc9eb;overflow:auto}
.diploma-dialog::backdrop{background:#050309cc;backdrop-filter:blur(8px)}
.diploma-dialog[open]{animation:diploma-appear .25s ease both}
.diploma-dialog img{display:block;width:auto;max-width:100%;height:auto;max-height:72svh;object-fit:contain;margin:0 auto 18px}
.diploma-dialog>a{display:block;text-align:center;font-size:12px;padding:10px}
@keyframes diploma-appear{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
html:has(.diploma-dialog[open]){overflow:hidden;scrollbar-gutter:stable}
@media(prefers-reduced-motion:reduce){.diploma-dialog[open]{animation:none}}

.diploma-hover{position:fixed;z-index:35;padding:10px;border:1px solid #c3a1d45c;border-radius:12px;background:#19111ff5;box-shadow:0 18px 60px #0009;animation:diploma-appear .2s ease both;box-sizing:border-box}
.diploma-hover[hidden]{display:none}.diploma-hover img{display:block;width:100%;height:auto;border-radius:5px}
@media(prefers-reduced-motion:reduce){.diploma-hover{animation:none}}

/* Quiet author name hierarchy. */
.teacher-editorial .teacher-header h2{font-size:clamp(27px,2.8vw,40px);font-weight:400;letter-spacing:-.025em;line-height:1.2}
@media(max-width:700px){.teacher-editorial .teacher-header h2{font-size:28px}}

.bottom-application{display:flex;justify-content:center;padding:0 24px 70px}.bottom-application .next-star{margin:0;min-width:220px;min-height:54px;font-size:15px}


/* Primary consultation invitation. */
.consultation-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;max-width:100%;min-height:76px;padding:16px 18px 16px 30px;border:1px solid #d9bbf29c;border-radius:24px;background:linear-gradient(115deg,#8750b4,#633a8e 65%,#774da1);color:#fff7ff;font-size:clamp(16px,1.6vw,21px);font-weight:500;line-height:1.4;letter-spacing:-.015em;box-shadow:0 12px 35px #6d379b30,inset 0 1px #ffffff24;transition:transform .25s,box-shadow .25s,border-color .25s}
.consultation-arrow{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:50%;background:#ffffff16;border:1px solid #ffffff2e;font-size:25px;transition:transform .25s,background .25s}
.consultation-cta:hover{transform:translateY(-3px);border-color:#efdbff;box-shadow:0 16px 45px #9b57ce45,inset 0 1px #ffffff36}.consultation-cta:hover .consultation-arrow{transform:rotate(8deg);background:#ffffff26}
.consultation-cta:active{transform:translateY(0)}.consultation-cta:focus-visible{outline:2px solid #ecd5ff;outline-offset:6px}
@media(max-width:600px){.consultation-cta{width:100%;padding:16px 16px 16px 20px;gap:16px;border-radius:20px;min-height:80px}.consultation-arrow{width:40px;height:40px}.bottom-application{padding-left:28px;padding-right:28px}}
@media(prefers-reduced-motion:reduce){.consultation-cta,.consultation-arrow{transition:none}.consultation-cta:hover,.consultation-cta:hover .consultation-arrow{transform:none}}

/* Layered portrait v2: static, matching canvases, no old depth filters. */
.teacher-editorial .teacher-scene img.teacher-plate-background,.teacher-editorial .teacher-scene img.teacher-plate-person{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;transform:none;filter:none;mask-image:none;opacity:1;transition:none;animation:none;pointer-events:none}
.teacher-editorial .teacher-scene img.teacher-plate-person{transform-origin:50% 100%;transform:scale(.94)}
.teacher-editorial .teacher-scene:hover img.teacher-plate-background{transform:none}
.teacher-editorial .teacher-scene:hover img.teacher-plate-person{transform:scale(.94)}

/* A quiet thread ties the author section to the rhythm of lessons. */
.section-flow{position:relative;width:74%;max-width:1180px;height:210px;margin:-85px auto -125px;pointer-events:none;z-index:0}
.section-flow svg{display:block;width:100%;height:100%;overflow:visible}
.section-flow-particle{filter:drop-shadow(0 0 5px #d0a1ed)}
.format-section{position:relative}
.format-header{position:relative;z-index:1}
@media(max-width:700px){.section-flow{width:86%;height:145px;margin:-45px auto -70px}}
@media(prefers-reduced-motion:reduce){.section-flow-particle{display:none}}

/* Tiny opposing translations, uniform scale and restrained exposure. */
.teacher-scene{--portrait-x:0;--portrait-y:0}
.teacher-editorial .teacher-scene img.teacher-plate-background,.teacher-editorial .teacher-scene:hover img.teacher-plate-background{transform:translate(calc(var(--portrait-x)*-3px),calc(var(--portrait-y)*-1px)) scale(1.025);transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
.teacher-editorial .teacher-scene img.teacher-plate-person,.teacher-editorial .teacher-scene:hover img.teacher-plate-person{transform:translate(calc(var(--portrait-x)*3px),calc(var(--portrait-y)*.6px)) scale(.94);transform-origin:center bottom;filter:brightness(.91) saturate(.90);transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
@media(prefers-reduced-motion:reduce){.teacher-editorial .teacher-scene img.teacher-plate-background,.teacher-editorial .teacher-scene:hover img.teacher-plate-background{transform:none;transition:none}.teacher-editorial .teacher-scene img.teacher-plate-person,.teacher-editorial .teacher-scene:hover img.teacher-plate-person{transform:scale(.94);transition:none}}

/* Autonomous slow depth, no mouse input or face deformation. */
.teacher-editorial .teacher-scene img.teacher-plate-background,.teacher-editorial .teacher-scene:hover img.teacher-plate-background{animation:teacher-background-drift 17s ease-in-out infinite alternate;transition:none;transform:scale(1.04);animation-play-state:paused}
.teacher-editorial .teacher-scene img.teacher-plate-person,.teacher-editorial .teacher-scene:hover img.teacher-plate-person{filter:brightness(.94) contrast(.95) saturate(.90);animation:teacher-person-drift 13s ease-in-out infinite alternate;transition:none;transform:scale(.94);animation-play-state:paused}
.teacher-editorial .teacher-scene.portrait-in-view img.teacher-plate-background,.teacher-editorial .teacher-scene.portrait-in-view img.teacher-plate-person{animation-play-state:running}
@keyframes teacher-background-drift{from{transform:translate(-7px,0) scale(1.04)}to{transform:translate(7px,-2px) scale(1.055)}}
@keyframes teacher-person-drift{from{transform:translate(5px,0) scale(.94)}to{transform:translate(-5px,0) scale(.96)}}
@media(prefers-reduced-motion:reduce){.teacher-editorial .teacher-scene img.teacher-plate-background,.teacher-editorial .teacher-scene:hover img.teacher-plate-background{animation:none;transform:scale(1.025)}.teacher-editorial .teacher-scene img.teacher-plate-person,.teacher-editorial .teacher-scene:hover img.teacher-plate-person{animation:none;transform:scale(.94)}}

/* Display the user's resaved portrait in its original colours. */
.teacher-editorial .teacher-scene img.teacher-plate-person,.teacher-editorial .teacher-scene:hover img.teacher-plate-person{filter:none;opacity:1;mix-blend-mode:normal}


/* Decorative side lettering stays outside the reading column. */
@media(min-width:1101px){.side-label-left{left:2%;font-size:clamp(14px,1.4vw,24px)}.side-label-right{right:2%;font-size:clamp(14px,1.3vw,23px)}}
@media(max-width:1100px){.side-label{display:none}}

/* Readable source HTML while the interactive constellation is loading. */
.directions-static{width:100%;padding:25px 0}.directions-static h2{font-size:30px}.directions-static article{padding:22px 0;border-top:1px solid #b593ca30}.directions-static p{color:#b3a9be;line-height:1.85}
