:root{--wine:#532637;--rose:#f1c8d2;--ink:#30232a;--bg:#f7f3f3}*{box-sizing:border-box}body{margin:0;font-family:Onest,system-ui,sans-serif;background:var(--bg);color:var(--ink);line-height:1.55}header{background:var(--wine);color:white;padding:22px max(5%,calc((100% - 1100px)/2));display:flex;align-items:center;justify-content:space-between;gap:12px}a{color:inherit}header a{text-decoration:none}nav{display:flex;gap:20px}.brand{font:italic 28px Onest,system-ui,sans-serif;color:var(--rose)}main{max-width:1100px;margin:auto;padding:40px 20px 65px}.hero{text-align:center;background:var(--wine);color:#fff;padding:70px 25px;border-radius:24px}.hero span{letter-spacing:3px;color:var(--rose)}h1{font:normal 46px Onest,system-ui,sans-serif;margin:16px 0}.hero p{max-width:600px;margin:0 auto 26px}.button{display:inline-block;background:var(--rose);color:var(--wine);border:0;border-radius:30px;padding:13px 25px;font-weight:bold;text-decoration:none;cursor:pointer;margin:8px 5px 8px 0}.secondary{background:#eee}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin:35px 0}.card{background:white;border:1px solid #e8d7db;border-radius:20px;padding:26px;box-shadow:0 8px 25px #5326370b}.card h2{font:normal 27px Onest,system-ui,sans-serif}.card strong{color:var(--wine);font-size:24px}.selectable{cursor:pointer}.selectable:has(input:checked){outline:3px solid var(--wine)}.selectable input{width:20px;height:20px;accent-color:var(--wine)}.summary,.panel{background:white;border-radius:20px;padding:30px;max-width:700px;margin:25px auto}.note{text-align:center}footer{text-align:center;background:#e9dfe2;padding:24px}@media(max-width:600px){h1{font-size:34px}header{padding:18px}main{padding:20px 15px}.hero{padding:45px 20px}}

/* Legal pages and necessary-cookie notice */
.legal{max-width:850px}.legal h1{font-size:36px}.legal h2{font:normal 24px Onest,system-ui,sans-serif;color:var(--wine);margin:28px 0 8px}
.legal a{color:var(--wine);text-decoration:underline;text-underline-offset:2px}.legal p{margin:12px 0}.muted{font-size:13px;color:#76666d}
footer{display:grid;gap:10px}footer a{text-decoration:underline;text-underline-offset:3px}footer small{color:#66535c}
.cookie-banner[hidden]{display:none!important}.cookie-banner{position:fixed;bottom:18px;left:18px;right:18px;z-index:999;max-width:900px;margin:auto;background:#fff;color:var(--ink);border:1px solid #e6cbd2;border-radius:18px;box-shadow:0 14px 50px #27121e35;padding:18px 22px;display:flex;align-items:center;gap:22px;justify-content:space-between}
.cookie-banner p{margin:5px 0 0;font-size:14px}.cookie-banner a{color:var(--wine)}
.cookie-button{flex-shrink:0;background:var(--wine);color:#fff;border:0;border-radius:24px;padding:11px 22px;font-size:14px;font-weight:600;cursor:pointer}
@media(max-width:600px){.cookie-banner{bottom:8px;left:8px;right:8px;flex-direction:column;align-items:stretch;padding:16px}.cookie-button{width:100%}.legal h1{font-size:29px}}

/* Online lessons — isolated styles, preserving the original shop */
header nav{flex-wrap:wrap;align-items:center}header nav a:hover{text-decoration:underline;text-underline-offset:5px}
.teachers-page{--line:#eadbe0;--muted:#76636b}.eyebrow{display:block;letter-spacing:2.5px;font-size:11px;font-weight:700;color:#ad7185}.teachers-hero{background:linear-gradient(125deg,#532637,#733b50);color:#fff;border-radius:26px;padding:70px 8%;text-align:center}.teachers-hero h1{font-size:clamp(32px,5vw,56px);max-width:780px;margin:18px auto}.teachers-hero p{max-width:650px;margin:0 auto 25px;color:#f5e5e9}.teachers-hero .eyebrow{color:#f1c8d2}.teachers-section{padding-top:70px}.section-heading{margin-bottom:26px}.section-heading h2,.lessons-promo h2{font:normal clamp(29px,4vw,42px) Onest,system-ui,sans-serif;color:var(--wine);margin:8px 0 10px}.section-heading p{color:var(--muted);margin:0}.teacher-profile{display:grid;grid-template-columns:minmax(220px,0.85fr) 1.15fr;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 12px 35px #5326370a}.teacher-image{min-height:370px;background:#e9d7dc}.teacher-image img{width:100%;height:100%;max-height:530px;object-fit:cover;object-position:center 30%;display:block}.teacher-details{padding:clamp(25px,5vw,58px);align-self:center}.teacher-details h3{font:normal 45px Onest,system-ui,sans-serif;color:var(--wine);margin:8px 0 18px}.teacher-details p{max-width:530px}.teacher-note{color:var(--muted);font-size:14px}.text-link{color:var(--wine);font-weight:700;text-underline-offset:5px}.schedule-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.schedule-card{background:#fff;border:1px solid var(--line);padding:26px;border-radius:18px}.schedule-card strong{color:var(--wine);font-size:18px}.schedule-card p{margin:9px 0 0}.schedule-footnote{font-size:14px;color:var(--muted)}.pricing-panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:clamp(18px,4vw,40px)}.pricing-fieldset{border:0;margin:0 0 28px;padding:0;min-width:0}.pricing-fieldset legend{font-weight:700;font-size:19px;margin-bottom:15px;color:var(--wine)}.format-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.choice-card,.package-choice{position:relative;display:block;cursor:pointer}.choice-card input,.package-choice input{position:absolute;opacity:0;width:1px;height:1px}.choice-card span,.package-choice span{display:flex;flex-direction:column;justify-content:center;gap:4px;border:1px solid #e6d7dc;border-radius:14px;padding:19px 14px;height:100%;background:#fdfafb;transition:background .15s,border-color .15s}.choice-card small,.package-choice small{font-size:12px;color:#76636b}.choice-card input:checked+span,.package-choice input:checked+span{background:#f8e9ee;border:2px solid var(--wine);padding:18px 13px}.choice-card input:focus-visible+span,.package-choice input:focus-visible+span{outline:3px solid #b96e88;outline-offset:3px}.package-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.package-choice span{align-items:center;text-align:center;padding:14px 5px}.package-choice input:checked+span{padding:13px 4px}.package-choice strong{font-size:22px;color:var(--wine)}.pricing-result{background:#f7f0f2;border-radius:17px;padding:22px 26px}.pricing-result>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:7px 0}.pricing-result strong{color:var(--wine);font-size:20px;text-align:right}.pricing-result .pricing-total{font-size:clamp(25px,4vw,34px)}.pricing-result p{color:#80616c;font-size:13px;margin:10px 0 0}.application{margin-top:34px;border-top:1px solid var(--line);padding-top:24px}.application h3{font:normal 27px Onest,system-ui,sans-serif;color:var(--wine);margin:0 0 8px}.application p{color:var(--muted)}.application label{display:block;font-weight:700;margin:20px 0 8px}.application textarea{width:100%;resize:vertical;border:1px solid #dcc6cf;border-radius:12px;padding:15px;background:#fdfafb;color:var(--ink);font:14px/1.65 Onest,system-ui,sans-serif}.application-actions{display:flex;flex-wrap:wrap;gap:12px;margin:13px 0}.application-actions .button{margin:0;font-size:15px}.button-outline{background:var(--wine);color:white}.application small{display:block;color:var(--muted);margin-top:10px}.copy-status{min-height:22px;font-size:14px!important;color:var(--wine)!important}.lessons-promo{display:grid;grid-template-columns:1.4fr .6fr;gap:30px;align-items:center;background:#fff;border:1px solid #e8d7db;border-radius:24px;overflow:hidden;margin:38px 0;padding:25px 25px 25px 35px}.lessons-promo p{max-width:570px}.lessons-promo img{width:100%;height:270px;object-fit:cover;object-position:center 30%;border-radius:15px}
@media(max-width:760px){header{flex-direction:column;align-items:flex-start}header nav{gap:12px 20px;font-size:14px}.teachers-hero{padding:52px 20px}.teachers-section{padding-top:48px}.teacher-profile{grid-template-columns:1fr}.teacher-image{height:350px;min-height:0}.teacher-image img{max-height:none}.teacher-details{padding:26px}.teacher-details h3{font-size:36px}.format-grid{grid-template-columns:1fr}.package-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.schedule-grid{grid-template-columns:1fr}.lessons-promo{grid-template-columns:1fr;padding:24px}.lessons-promo img{height:260px;order:-1}.pricing-result>div{align-items:flex-start}.pricing-result>div span{max-width:50%}}
@media(max-width:400px){.package-grid{gap:7px}.package-choice span{padding:12px 2px}.package-choice input:checked+span{padding:11px 1px}.application-actions{flex-direction:column}.application-actions .button{text-align:center;width:100%}.pricing-result{padding:17px}.teachers-hero h1{font-size:31px}}
.shop-heading{font:normal 36px Onest,system-ui,sans-serif;color:var(--wine);margin-top:48px}.catalog-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.catalog-card{display:flex;flex-direction:column;gap:8px;padding:18px}.catalog-card h2,.catalog-card p{margin:0}.catalog-card .button{margin-top:auto;text-align:center}.cover-link{display:flex;justify-content:center;height:230px;background:#f4eaed;border-radius:12px;padding:12px}.cover-link img{max-width:100%;height:100%;object-fit:contain}.cover-placeholder{background:var(--wine);color:var(--rose);padding:25px;display:grid;align-content:center;text-align:center;width:150px}.cover-placeholder strong{color:var(--rose)}.course-detail{display:grid;grid-template-columns:1fr 1.5fr;gap:25px;max-width:950px}.detail-cover,.preview-grid img{width:100%;height:auto;display:block;border:1px solid #eadbe0}.preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}details{border-top:1px solid #eadbe0;padding:12px 0}summary{cursor:pointer;font-weight:bold}header{flex-wrap:wrap}@media(max-width:600px){.course-detail{grid-template-columns:1fr}.detail-cover{max-width:230px;margin:auto}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.catalog-card{padding:10px}.catalog-card h2{font-size:20px}.cover-link{height:160px}.catalog-card .button{padding:10px 12px}.catalog-card strong{font-size:18px}}

/* Refined surfaces and aligned catalogue */
body{background-color:var(--bg);background-image:radial-gradient(#5326370b .65px,transparent .65px);background-size:5px 5px}
.hero,.teachers-hero{background-image:radial-gradient(#ffffff0b 1px,transparent 1px),linear-gradient(125deg,#532637,#70394e);background-size:7px 7px,100% 100%}
.button,.cookie-button{box-shadow:0 3px 7px #53263725,inset 0 1px 0 #ffffff50;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.button:hover,.cookie-button:hover{transform:translateY(-2px);box-shadow:0 6px 13px #53263730;filter:brightness(1.025)}
.button:active,.cookie-button:active{transform:translateY(1px)}
.button:focus-visible,.cookie-button:focus-visible{outline:3px solid #a85d78;outline-offset:3px}
.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.catalog-card .catalog-price{margin-top:auto;padding-top:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.catalog-card .button{margin:4px 0 0;width:100%}
.catalog-card p{overflow-wrap:anywhere}
.selectable{display:flex;flex-direction:column;gap:8px}.selectable h2{margin:0}.selectable strong{margin-top:0}.selectable p{margin:0;font-size:14px}
#original-total{font:normal .65em Onest,system-ui,sans-serif;color:#79666f;margin-left:10px;white-space:nowrap}#total{white-space:nowrap}
@media(max-width:950px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){.catalog-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}@view-transition{navigation:auto}::view-transition-old(root){animation:140ms ease both shop-out}::view-transition-new(root){animation:220ms ease both shop-in}.page-enter{animation:shop-in 220ms ease both}@keyframes shop-out{to{opacity:0}}@keyframes shop-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-motion:no-preference){main.page-enter{animation:shop-in 220ms ease both}}

/* Theme: local preference, shared across all pages */
.theme-toggle[hidden]{display:none!important}
.theme-toggle{display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid #ffffff55;border-radius:50%;background:#ffffff12;color:#f1c8d2;font-size:25px;line-height:1;cursor:pointer;box-shadow:0 3px 9px #0003}
.theme-toggle:hover{background:#ffffff25}.theme-toggle:focus-visible{outline:3px solid #f1c8d2;outline-offset:3px}
@media(max-width:760px){header{position:relative;padding-right:64px}.theme-toggle{position:absolute;right:16px;top:16px}}
:root[data-theme=dark]{color-scheme:dark;--bg:#20191e;--ink:#f1e1e8;--wine:#e9b6ca;--rose:#e3b2c5;--dark-surface:#322630;--dark-line:#604653;--dark-muted:#cbb3bf}
[data-theme=dark] body{background-image:radial-gradient(#ffffff09 .65px,transparent .65px)}
[data-theme=dark] header{background:#35232e;color:#f5e5ec}
[data-theme=dark] .hero{background-color:#532637}
[data-theme=dark] :is(.card,.panel,.summary,.teacher-profile,.schedule-card,.pricing-panel,.lessons-promo,.cookie-banner){background:var(--dark-surface);border-color:var(--dark-line);box-shadow:0 8px 24px #0002}
[data-theme=dark] :is(.button,.cookie-button){background:#e3b2c5;color:#35212d;box-shadow:0 3px 9px #0004}
[data-theme=dark] :is(.secondary,.button-outline){background:#503745;color:#f5dbe6;border:1px solid #896477}
[data-theme=dark] footer{background:#291f27}
[data-theme=dark] :is(footer small,.muted,#original-total,.choice-card small,.package-choice small,.pricing-result p){color:var(--dark-muted)}
[data-theme=dark] .teachers-page{--line:var(--dark-line);--muted:var(--dark-muted)}
[data-theme=dark] :is(.choice-card span,.package-choice span,.application textarea,.pricing-result,.cover-link,.teacher-image){background:#40303b;border-color:var(--dark-line);color:var(--ink)}
[data-theme=dark] :is(.choice-card input:checked+span,.package-choice input:checked+span){background:#563747;border-color:var(--wine)}
[data-theme=dark] :is(details,.detail-cover,.preview-grid img){border-color:var(--dark-line)}
[data-theme=dark] .cover-placeholder{background:#532637;color:#f1c8d2}
[data-theme=dark] .eyebrow{color:#e0a7bf}
[data-theme=dark] :is(input,textarea,select){accent-color:#e3b2c5}

/* Brand refresh: dusty blue accents, typography and accessible contrast */
:root{--wine:#592638;--rose:#C994A8;--bg:#F5F5FA;--ink:#30232a;--blue:#A3BACD;--blue-ink:#263A50;--blue-soft:#E2EBF2;--blue-line:#829DB4}
body{background-image:radial-gradient(#263a500b .65px,transparent .65px)}
button,input,textarea,select{font-family:inherit}
.brand{font:italic 600 32px/1.1 "Cormorant Garamond",Georgia,serif;color:#F5E4E8}
h1,.card h2,.legal h2,.shop-heading,.section-heading h2,.lessons-promo h2,.teacher-details h3,.application h3{font-weight:600;letter-spacing:-.035em}
.hero,.teachers-hero{background-color:#592638;background-image:radial-gradient(#ffffff0b 1px,transparent 1px),linear-gradient(125deg,#592638,#73465d)}
.hero span,.teachers-hero .eyebrow{color:#F5E4E8}
.button{font-weight:600;background:#592638;color:#fff}
.hero .button,.teachers-hero .button{background:#F5E4E8;color:#592638}
.button.secondary,.hero .button.secondary,.button-outline,.catalog-card .button{background:var(--blue-soft);color:var(--blue-ink);border:1px solid var(--blue-line)}
.hero .button.secondary{background:var(--blue);color:#263A50}
.cover-link{background:var(--blue-soft)}
.note,#discount{color:var(--blue-ink)}
#discount{background:var(--blue-soft);padding:3px 9px;border-radius:8px}
.theme-toggle{color:#D5E5F2}
.text-link,.legal a,.cookie-banner a{color:var(--blue-ink)}
.button:focus-visible,.cookie-button:focus-visible,.theme-toggle:focus-visible{outline-color:var(--blue-line)}
.choice-card input:checked+span,.package-choice input:checked+span{background:var(--blue-soft);border-color:var(--blue-line)}
:root[data-theme=dark]{--bg:#201A23;--ink:#F0D7E2;--wine:#E5B7CA;--rose:#C994A8;--dark-surface:#362936;--dark-line:#604653;--dark-muted:#C3B6C5;--blue:#A3BACD;--blue-ink:#D5E5F2;--blue-soft:#344657;--blue-line:#829DB4}
[data-theme=dark] header{background:#352735}
[data-theme=dark] .brand{color:#E5B7CA}
[data-theme=dark] :is(.button,.cookie-button){background:#C994A8;color:#38202B}
[data-theme=dark] :is(.button.secondary,.button-outline,.catalog-card .button){background:var(--blue-soft);color:var(--blue-ink);border-color:var(--blue-line)}
[data-theme=dark] .hero .button.secondary{background:#A3BACD;color:#263A50}
[data-theme=dark] :is(.cover-link,.choice-card input:checked+span,.package-choice input:checked+span){background:var(--blue-soft);border-color:var(--blue-line)}
[data-theme=dark] .theme-toggle{color:#A3BACD}
@media(max-width:600px){.brand{font-size:30px}}

/* Detailed course program */
.course-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.course-facts span{padding:14px;border-radius:12px;background:var(--blue-soft);color:var(--blue-ink)}.course-facts strong{display:block;font-size:1.5rem}.course-module{margin:8px 0;padding:12px 14px;border:1px solid var(--blue-line);border-radius:10px}.course-module summary{cursor:pointer;display:flex;align-items:center;gap:10px;justify-content:space-between;font-weight:600}.course-module summary::before{content:'+';color:var(--blue-ink);flex-shrink:0}.course-module[open] summary::before{content:'−'}.course-module summary span{flex:1}.course-module summary small{white-space:nowrap;font-weight:400}.course-module ul{margin-bottom:4px;line-height:1.6}.course-program li{margin:5px 0}@media(max-width:540px){.course-facts{grid-template-columns:1fr}.course-module summary{flex-wrap:wrap}}
