/* Последний слой стилей. Основные блоки: .header — шапка; .course-showcase и .course-readable — занятие;
   .schedule-glass — расписание; .gallery-route — галерея; .winners-glass — победители;
   .news-glass — газета; .contacts-glass — контакты; .app-phone-stage — модель телефона. */
:root {
  --bg:#f7f7f5;
  --paper:#fff;
  --ink:#242323;
  --muted:#62605e;
  --line:#e7e5e2;
  --blue:#9e361f;
  --deep:#742310;
  --red:#b8472f;
  --pale:#f7ede9;
  --soft:#f5efeb;
  --brand-orange:#b8472f;
  --page-gap:76px;
  --header-height:68px;
  --shadow:none;
}
body.dark { --bg:#161616;--paper:#20201f;--ink:#f5f3f0;--muted:#cfcbc7;--line:#43403e;--blue:#ffac96;--deep:#ffd0c3;--pale:#3d2f2a;--soft:#302824; }
body { font-family:Manrope,Arial,sans-serif; letter-spacing:-.014em; }
.container { width:min(1216px,calc(100% - 80px)); }
.header .container { width:min(1376px,calc(100% - 64px)); }
.header-inner { height:var(--header-height); gap:clamp(12px,2vw,28px); }
.header .logo { flex:0 0 auto; }
.header .brand-name strong { font-size:25px; letter-spacing:.09em; }
.header .brand-name small { font-size:7px; letter-spacing:.115em; }
.header .nav { display:flex; margin:0 auto; gap:clamp(12px,1.55vw,24px); align-items:center; }
.header .nav a { white-space:nowrap;font-size:14px;font-weight:650; padding-block:9px; }
.header .nav a[aria-current="page"] { color:var(--blue); }
.header-tools { gap:5px; margin-left:0; }
.header-tools .iconbtn,.header-tools .lang { border:0;background:transparent;color:inherit; }
.header[data-surface="hero"] { background:transparent;color:#fff;backdrop-filter:none;box-shadow:none;border-bottom-color:transparent; }
.header[data-surface="hero"] .nav a[aria-current],.header[data-surface="footer"] .nav a[aria-current] { color:#fff; }
.header[data-surface="hero"] .brand-name strong { animation:none;background:none;color:#fff; }
.header[data-surface="footer"] { background:#171717; }
h1,h2,h3,h4 { letter-spacing:-.045em; overflow-wrap:break-word; }
h1,h2 { font-weight:720; }
h2 { font-size:clamp(34px,4.7vw,69px); line-height:1.03; }
h3 { font-weight:720; }
.btn { border-radius:11px; letter-spacing:0; font-size:14px; min-height:44px; font-weight:700; max-width:100%; }
.btn.secondary { background:var(--paper); border:1px solid var(--line); color:var(--ink); }
.btn.primary { background:var(--blue); }
.hero,body.dark .hero { isolation:isolate;background:radial-gradient(ellipse at 81% 39%,#cf785c,#b6533c 50%,#85372d 100%); }
.hero-grid { position:static;isolation:auto; min-height:clamp(590px,78svh,790px); }
.hero-copy { width:min(56%,650px); }
.hero h1 { font-size:clamp(61px,7.1vw,110px);font-weight:680;letter-spacing:-.06em;line-height:.99; }
.hero .lead { font-size:clamp(17px,1.5vw,21px); }
.hero-work { right:0;width:76%;mask-image:linear-gradient(to right,transparent,#000 39%); }
.hero-work img { object-position:52% 40%; filter:saturate(.88) sepia(.07); }
.hero-work::after { background:linear-gradient(90deg,#a6493990,transparent 52%),linear-gradient(0deg,#85372d 0,transparent 28%),linear-gradient(180deg,#85372d70,transparent 30%); }
.hero .btn.primary { background:#fff7f4;color:#2a211e; }
.feature { padding-block:clamp(48px,7vw,115px); }
.feature-quiet { background:var(--paper); }
.feature-mist { background:var(--bg); }
.feature-layout { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:clamp(28px,8vw,140px);align-items:center; }
.feature-layout > * { min-width:0; }
.feature-copy h2 { text-wrap:balance; }
.feature-copy p,.location-panel p { margin:18px 0 24px;max-width:34ch;font-size:clamp(16px,1.8vw,20px);color:var(--muted); }
.feature-copy .btn,.location-panel .btn { width:fit-content;padding:11px 16px; }
.feature-photo { margin:0;overflow:hidden;border-radius:24px;aspect-ratio:1.15;background:var(--bg); }
.feature-photo img { width:100%;height:100%;object-fit:cover;object-position:50% 58%; }
.motion-ready .feature-photo.visible img { animation:small-group-in .95s ease-out both; }
@keyframes small-group-in { from { transform:scale(1.055); } to { transform:scale(1); } }
.studio-feature { background:#242322; }
.studio-feature-grid { min-height:0; }
.studio-feature h2 { font-size:clamp(37px,4.9vw,73px); }
.studio-feature .btn.secondary { background:transparent;border-color:#ffffff55; }
.studio-feature .programme-art { width:112%;margin-left:-6%;background:radial-gradient(ellipse,#514642 0,transparent 70%); }
.device-stage { width:100%;min-width:0;display:grid;place-items:center;perspective:1100px; }
.device { position:relative;width:min(346px,100%);padding:8px;border-radius:48px;background:linear-gradient(112deg,#e4e1dc 0,#6c6862 3%,#252525 6%,#a49f95 18%,#393836 51%,#bcb7ad 81%,#464442 97%);box-shadow:0 1px 2px #0008,1px 4px 0 #373432,12px 22px 32px #18151226,0 38px 80px #0f0e0d11; }
.motion-ready .device-stage.visible .device { animation:device-enter .92s cubic-bezier(.19,.78,.26,1) both; }
@keyframes device-enter { from { transform:translateY(22px) rotateY(-14deg) rotateX(7deg); opacity:.3; } to {transform:none;opacity:1;} }
.device::before,.device::after,.device-side { content:"";position:absolute;width:3px;background:linear-gradient(#a59f96,#4d4842);border-radius:6px;left:-2px;top:22%;height:9%; }
.device::after { top:34%;height:9%; }
.device-side { left:auto;right:-2px;top:27%;height:13%; }
.device-screen { display:flex;flex-direction:column;position:relative;isolation:isolate;min-height:495px;overflow:hidden;border:3px solid #141414;border-radius:40px;background:#fffdfb;color:#262321; }
.device-island { position:absolute;left:50%;top:11px;transform:translateX(-50%);width:78px;height:20px;border-radius:20px;background:#141414; }
.device-island::after { content:"";position:absolute;right:9px;top:6px;width:7px;height:7px;border:1px solid #313238;background:#181b22;border-radius:50%; }
.device-home { height:4px;border-radius:4px;background:#211e1c;width:31%;margin:auto auto 9px; }
.device-content { padding:12px 17px 30px; min-width:0; }
.device-content h3 { font-size:23px;line-height:1.13;margin:0 0 14px; }
.device-content output { display:block;font-size:53px;line-height:.92;font-weight:740;color:#a43d25;margin:8px 0 7px; }
.device-content .age-slider { width:100%;margin:5px 0;accent-color:#ad432a; }
.device-content .age-result { margin-top:13px; }
.device-content .age-ticks { color:#625951;font-size:11px; }
.device-content .phone-class > span { font-size:13px; }
.device-content .phone-class button { color:#962d16;font-size:12px; }
.device-days { display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin:0 0 18px; }
.device-days button { font-size:10.5px;padding:7px 0;min-height:34px;background:#f4f1ee;border-radius:7px;text-align:center; }
.device-days button[aria-pressed="true"] { color:#fff;background:#ac442d; }
.device-appointments { display:grid;gap:7px; }
.device-appointments a { display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:8px;padding:10px 8px;border-radius:9px;background:#f3efeb;font-size:12px;line-height:1.32; }
.device-appointments time { font-weight:800;font-variant-numeric:tabular-nums;color:#8f371f; }
.device-appointments a:hover { background:#eee3dc; }
.device-media { position:absolute;inset:0;z-index:-1;background:#332c28; }
.device-media figure { margin:0;height:100%; }
.device-media img { width:100%;height:100%;object-fit:cover;object-position:50% 47%; }
.device-gallery .device-pagination { margin:auto 0 0;display:flex;justify-content:center;align-items:center;gap:3px;background:linear-gradient(transparent,#0007);padding:26px 0 5px; }
.device-pagination button { width:30px;height:32px;display:grid;place-items:center; }
.device-pagination button::after { content:"";height:6px;width:6px;border-radius:10px;background:#fff9; }
.device-pagination button[aria-pressed="true"]::after { width:15px;background:#fff; }
.location-panel { display:flex;justify-content:space-between;align-items:center;gap:20px;padding:clamp(24px,5vw,60px);background:var(--paper);border:1px solid var(--line);border-radius:20px; }
.location-panel h2 { font-size:clamp(32px,4vw,54px); }
.location-panel p { margin:10px 0 0; }
.footer { background:#171717;color:#f5f3f0;padding:54px 0; }
.footer-layout { display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:28px;align-items:start; }
.footer-layout p { color:#bdbab7;font-size:14px;margin-top:18px; }
.footer-layout nav,.footer-legal { display:grid;justify-items:start;gap:10px; }
.footer-layout nav button,.footer-layout nav a,.footer-legal a { font-size:14px;padding:0;color:inherit; }
.footer-layout a:hover,.footer-layout button:hover { text-decoration:underline; }

/* Shared layout for information pages, with one visual language across routes. */
#main > .section:not(.feature):not(.studio-feature):not(.location-feature) { padding-block:clamp(42px,6vw,88px); }
.section-top { align-items:end; gap:16px; margin-bottom:28px; }
.section-top > * { min-width:0; }
.section-top h2 { margin:0; }
.section-top .lead { color:var(--muted);font-size:16px;line-height:1.5; }
#catalog .section-top .lead { display:none; }
.crumbs { margin-top:0; padding-top:14px; }
.catalog-tools { gap:14px; }
.catalog-tools .tabs { gap:6px; }
.tab,.catalog-tools .tab { min-height:41px; padding:8px 12px; border-radius:9px; }
.catalog-tools .search { border-radius:11px; }
.courses { grid-template-columns:repeat(3,minmax(0,1fr));gap:16px; }
.course { border:1px solid var(--line);box-shadow:none;border-radius:17px;background:var(--paper); }
.course:hover { transform:none;box-shadow:none;border-color:#a96451; }
.course .course-img { height:auto;aspect-ratio:1.57; }
.course .course-img img { height:100%;object-fit:cover; }
.course .course-img .badge { display:none; }
.course .course-body { padding:18px; }
.course h3 { margin:0;font-size:clamp(19px,2.1vw,26px);line-height:1.16; }
.course .course-body p { font-size:14px;line-height:1.48;margin:8px 0 12px; }
.course .more { margin-block:10px; }
.course .course-actions { margin-top:8px; }
.course .course-actions .btn { min-height:36px; }
.course .circle-arr { color:var(--blue);background:var(--pale); }
.schedule-shell { background:transparent;border:0;box-shadow:none;padding:0; }
.schedule-shell .seg { padding:3px;border:1px solid var(--line);box-shadow:none;background:var(--paper);border-radius:11px; }
.schedule-shell .seg button { padding:8px 16px;min-height:38px;border-radius:8px;font-size:14px; }
.schedule-shell .daystrip { display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px; }
.schedule-shell .day-button { min-width:0;border-radius:9px;padding:8px 5px;min-height:43px;font-size:13px; }
.schedule-shell .day-button small { display:none; }
.schedule-filters { border:1px solid var(--line);background:var(--paper);border-radius:12px;padding:5px 13px;margin:12px 0; }
.schedule-filters[open] { padding-bottom:13px; }
.schedule-filters summary { position:relative; padding-right:14px; }
.schedule-filters summary span:not(:empty) { color:var(--blue); padding-left:4px; }
.schedule-list { gap:7px; }
.schedule-list .public-lesson { padding:13px 16px; border-radius:11px;gap:14px;grid-template-columns:70px minmax(0,1fr) auto;box-shadow:none;align-items:center; }
.public-lesson .time { font-size:20px;font-weight:760;letter-spacing:-.035em;font-variant-numeric:tabular-nums; }
.public-lesson h3 { font-size:17px;line-height:1.22; }
.lesson-meta { gap:5px 9px; }
.lesson-meta small { font-size:12px; color:var(--muted); }
.week-scroll { max-width:100%; overflow:auto; }
.week-card { border-radius:9px; }
.about-grid { align-items:start;gap:clamp(28px,5vw,72px);grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr); }
.about-copy { min-width:0; }
.about-copy h2 { margin-top:0; }
.about-photo { box-shadow:none;border-radius:20px; }
.about-facts h3 { font-size:20px; }
.winner-grid { gap:14px; }
.winner-grid .gallery-item { box-shadow:none;border-radius:18px; }
.winner-grid .gallery-item:nth-child(n+2) img { aspect-ratio:1;object-fit:cover;object-position:50% 36%; }
.staff-grid { grid-template-columns:minmax(0,760px); }
.staff-card,.form-card,.contact-details,.news-list article { box-shadow:none;border-radius:17px;border:1px solid var(--line);background:var(--paper);padding:clamp(18px,4vw,34px); }
.staff-card p { font-size:16px;line-height:1.65; }
.staff-icon { display:none; }
.news-list { display:grid;gap:10px; }
.contact-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:17px; }
.contact-details,.contact-art { min-width:0; }
.contact-details > a { font-size:clamp(18px,2.1vw,26px);margin:6px 0 16px;word-break:break-word; }
.contact-art { border-radius:17px;box-shadow:none;background:var(--soft);padding:clamp(18px,4vw,34px); }
.contact-art::before,.contact-art::after { display:none; }
.map,.way-panel { border-radius:17px;box-shadow:none; }
.map .map-card { max-width:min(100%,360px);padding:19px; }
.form-card { border-radius:17px; }
.form-card .field { min-width:0; }
.field input,.field select,.field textarea { border-radius:9px; }
.faq-item { box-shadow:none;border-radius:11px; }
.programme-art { border-radius:18px; }
.structured-copy { max-width:68ch; }
.structured-copy p,.structured-copy li { font-size:16px;line-height:1.64; }
.content-outline { margin-block:18px; }
.course-media-grid .gallery-item { border-radius:12px;box-shadow:none; }
.chat,.cookie,dialog { box-shadow:0 18px 46px #25231e25; }
@media(max-width:1120px) {
  .header .nav { display:none; }
  .header .hamb { display:grid; }
  .header-tools { margin-left:auto; }
  .header .mobile-nav.open { display:grid;position:absolute;inset:100% 0 auto;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 20px 18px;gap:3px;background:var(--paper);color:var(--ink);box-shadow:0 16px 27px #0002;max-height:calc(100dvh - var(--header-height));overflow:auto; }
  .header .mobile-nav a,.header .mobile-nav button { padding:12px;text-align:left;white-space:normal; }
}
@media(max-width:900px) {
  .courses { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .feature-layout { gap:32px; }
}
@media(max-width:680px) {
  :root { --header-height:60px; --page-gap:54px; }
  .container,.header .container { width:calc(100% - 36px); }
  .header .brand-name strong { font-size:23px; }
  .header .mobile-nav.open { grid-template-columns:minmax(0,1fr); }
  .header .mobile-nav a { min-height:46px; }
  .hero-copy { width:100%;padding:0 0 32px; }
  .hero h1 { font-size:clamp(45px,11.7vw,73px);line-height:1; }
  .hero-work { width:auto;inset:0;mask-image:none; }
  .hero-work img { object-position:52% 35%; }
  .hero-work::after { background:linear-gradient(0deg,#74372b 1%,#853d30e3 25%,transparent 73%),linear-gradient(180deg,#74372b96,transparent 28%); }
  .feature-layout,.about-grid,.contact-grid { grid-template-columns:minmax(0,1fr); }
  .feature-copy p { margin:12px 0 17px; }
  .feature-photo { aspect-ratio:1.25; }
  .studio-feature .programme-art { width:100%;margin:0; }
  .device { width:min(320px,100%); }
  .device-screen { min-height:430px; }
  .footer-layout { grid-template-columns:1fr 1fr;gap:17px; }
  .footer-layout > :first-child { grid-column:1/-1; }
  .location-panel { align-items:start;flex-direction:column; }
  .course .course-body { padding:13px; }
  .course .course-body p { font-size:13px; }
  .course .course-img { aspect-ratio:1.35; }
  .schedule-list .public-lesson { grid-template-columns:52px minmax(0,1fr);gap:8px; }
  .public-lesson .slot-actions { grid-column:2; }
  .public-lesson .slot-actions .btn { min-height:34px; }
}
@media(max-width:370px) {
  .container,.header .container { width:calc(100% - 28px); }
  .courses { grid-template-columns:minmax(0,1fr); }
  .device-content { padding-inline:12px; }
  .device-days { gap:2px; }
  .device-days button { font-size:10px; }
}
@media(prefers-reduced-motion:no-preference) {
  .device-appointments a,.device-media figure:not([hidden]) { animation:device-content-in .42s ease-out both; }
  .device-appointments a:nth-child(2) { animation-delay:45ms; }
  .device-appointments a:nth-child(3) { animation-delay:90ms; }
  .device-appointments a:nth-child(4) { animation-delay:135ms; }
  @keyframes device-content-in { from { opacity:.25;transform:translateY(7px); } to { opacity:1;transform:none; } }
}
@media(prefers-reduced-motion:reduce) {
  .motion-ready .device-stage.visible .device,.motion-ready .feature-photo.visible img { animation:none; }
}
.footer .logo { display:inline-flex; }
.full-gallery { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:14px; }
.full-gallery .gallery-item { width:100%;height:auto;padding:0;box-shadow:none;border-radius:14px;overflow:hidden; }
.full-gallery .gallery-item img { width:100%;aspect-ratio:1.25;object-fit:cover; }
@media(max-width:680px) {
  #about .about-copy { order:-1; }
  .full-gallery { grid-template-columns:repeat(2,minmax(0,1fr));gap:9px; }
}

/* Saturated opening, neutral device finishes and uninterrupted screen content. */
.hero,body.dark .hero { background:radial-gradient(ellipse at 78% 42%,#ff6d19,#dd350a 48%,#a9210a 100%); }
.hero-work img { filter:saturate(1.08) sepia(.08); }
.hero-work::after { background:linear-gradient(90deg,#bd2c0ab5,transparent 45%),linear-gradient(0deg,#9c2008,transparent 27%),linear-gradient(180deg,#a5290b66,transparent 28%); }
.device {
  width:min(410px,100%);
  aspect-ratio:76.7 / 159.9;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  padding:7px;
  border:1px solid #b3aea4;
  border-radius:clamp(37px,5vw,56px);
  background:linear-gradient(145deg,#c7c1b6 0%,#484540 7%,#aaa398 14%,#3c3934 58%,#a49e93 95%,#d9d5cd);
}
.device-screen {
  height:100%;
  min-height:0;
  border:3px solid #171615;
  border-radius:clamp(32px,4.5vw,49px);
  padding-top:49px;
  background:#fcfbf9;
}
.device-island { top:10px;width:29%;max-width:104px;height:25px;z-index:2; }
.device-island::after { top:8px; }
.device-home { flex:0 0 4px;margin: auto auto 12px; }
.device-content { padding:18px clamp(12px,4.4%,23px) 24px; }
.device-content h3 { font-size:clamp(24px,3vw,31px);margin-bottom:17px; }
.device-content .age-result { margin-top:22px; }
.device-content .phone-class { padding:13px 0; }
.device-content .phone-class > span { font-size:15px; }
.device-content .phone-class button { font-size:13px; }
.device-days { margin-bottom:23px;gap:4px; }
.device-days button { min-height:39px;font-size:12px; }
.device-day-summary { display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:3px;font-size:14px; }
.device-day-summary span { color:#77716a;font-size:11px;white-space:nowrap; }
.device-appointments a { padding:12px 10px;font-size:14px;grid-template-columns:auto minmax(0,1fr) auto; }
.device-appointments .device-full-day { display:flex;justify-content:space-between;color:#96371f;background:transparent;padding-inline:3px; }
.device-gallery .device-screen { background:#f3f0eb; }
.device-gallery .device-media { position:static; z-index:auto; flex:1 1 0; min-height:0;padding:0 11px;background:#f3f0eb; }
.device-gallery .device-media figure { position:relative; display:block; }
.device-gallery .device-media figure[hidden] { display:none; }
.device-gallery .device-media img { position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center; }
.device-gallery .device-pagination { flex:0 0 auto;margin:7px 0 5px;background:none;padding:0; }
.device-gallery .device-pagination button::after { background:#a9a096; }
.device-gallery .device-pagination button[aria-pressed="true"]::after { background:#9c3b24; }
.device-gallery .device-home { background:#211e1c;margin:0 auto 12px; }
.rendered-film { width:100%;height:auto;aspect-ratio:16/9;display:block;object-fit:contain; }
.studio-feature,.studio-feature .studio-film { background:#242424; }
.studio-feature .studio-film { border-radius:18px;overflow:hidden; }
.studio-film { background:#242424; }
@media(max-width:680px) {
  .hero-work::after { background:linear-gradient(0deg,#a7260b 3%,#a5260bd9 29%,transparent 71%),linear-gradient(180deg,#a5290bb3,transparent 29%); }
  .device { width:min(372px,100%); }
  .device-content h3 { font-size:24px; }
  .device-days button { font-size:11px; }
  .device-appointments a { font-size:12px; }
}
@media(max-width:360px) {
  .device-screen { padding-top:42px; }
  .device-content { padding-inline:12px; }
  .device-appointments a { padding:8px 6px; }
}

/* Glass surfaces share a muted red-to-orange wash and crisp content edges. */
.glass-route {
  --surface-glass:#ffffff93;
  --surface-fill:#fffaf6;
  --surface-border:#ffffffb0;
  position:relative;
  isolation:isolate;
  background:
    radial-gradient(ellipse at 17% 7%,#e5634f65,transparent 50%),
    radial-gradient(ellipse at 87% 23%,#f8a65b72,transparent 53%),
    linear-gradient(165deg,#fff2ee,#f9efea 54%,var(--bg) 100%);
}
body.dark .glass-route {
  --surface-glass:#242121bd;--surface-fill:#302b29;--surface-border:#ffffff25;
  background:radial-gradient(ellipse at 17% 7%,#8c2a24,transparent 58%),radial-gradient(ellipse at 87% 20%,#6c391d,transparent 62%),var(--bg);
}
.glass-heading {
  display:flex;justify-content:space-between;align-items:end;gap:15px;
  margin-bottom:clamp(18px,3vw,33px);
}
.glass-heading h2 { margin:0; }
.glass-heading .muted { margin-top:8px; }
.catalog-glass-toolbar {
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:10px 18px;padding:10px 12px;border:1px solid var(--surface-border);
  background:var(--surface-glass);backdrop-filter:blur(21px);border-radius:20px;
}
.catalog-glass-toolbar .tabs { display:flex;flex-wrap:wrap;gap:6px; }
.catalog-glass-toolbar .tab {
  min-height:34px;padding:6px 12px;font-size:13px;border-radius:50px;
  border:1px solid #7b30282e;background:transparent;white-space:nowrap;
}
.catalog-glass-toolbar .tab.active {
  color:#fff;background:#a93b28;border-color:#a93b28;
}
.catalog-glass-search { display:flex;min-width:0; flex:0 1 340px;align-items:center;gap:8px; }
.catalog-glass-search .search { min-width:0;flex:1;padding:0 10px;min-height:35px;border-radius:30px;font-size:13px; }
.catalog-glass-search .search input { width:100%; min-width:0; padding:0; }
.catalog-glass-search .btn { white-space:nowrap;min-height:35px;padding:7px 11px;font-size:13px;border-radius:30px; }
.catalog-summary { display:block;margin:11px 0 14px; }
.course.photo-course {
  position:relative;isolation:isolate;min-width:0;overflow:hidden;
  border-radius:20px;border:1px solid var(--surface-border);background:#412921;
}
.photo-course-link { display:block;position:relative;min-height:0;aspect-ratio:1.25;color:#fff; }
.photo-course-link img { width:100%;height:100%;object-fit:cover;transition:transform .37s ease; }
.photo-course-link::after {
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,#180f0cec 0%,#2514119e 22%,transparent 62%);
  pointer-events:none;
}
.photo-course-link h3 {
  position:absolute;z-index:1;top:16px;left:16px;
  max-width:calc(100% - 117px);color:#fff;overflow-wrap:anywhere;text-wrap:pretty;
  font-size:clamp(18px,2.1vw,26px);line-height:1.13;
}
.photo-course-arrow,.photo-course .course-fav {
  display:grid;place-items:center;width:38px;height:38px;
  border-radius:50%;border:1px solid #ffffff7a;color:#fff;
  background:#23161268;backdrop-filter:blur(9px);box-shadow:none;
}
.photo-course-arrow { position:absolute;top:12px;right:12px;z-index:2; }
.photo-course .course-fav { position:absolute;top:12px;right:56px;z-index:3; }
.photo-course .course-fav svg { width:18px;height:18px; }
.photo-course .course-fav.saved { color:#fff;background:#a93b28;border-color:#ffffffad; }
.photo-course .course-fav.saved svg { fill:currentColor; }
.photo-course:hover .photo-course-link img { transform:scale(1.045); }
.photo-course-link:hover .photo-course-arrow,.photo-course .course-fav:hover { background:#7f3224; }
.photo-course-link:focus-visible,.photo-course .course-fav:focus-visible { outline:2px solid #fff;outline-offset:-4px; }
.schedule-glass-tools { display:flex;align-items:center;gap:8px;margin:0 0 15px; }
.schedule-glass-tools .seg {
  display:inline-flex;padding:3px;border-radius:40px;gap:3px;
  background:var(--surface-glass);border:1px solid var(--surface-border);
}
.schedule-glass-tools .seg button { min-height:33px;padding:5px 12px;border-radius:34px;font-size:13px; }
.schedule-glass-tools { position:relative; }
.schedule-glass-tools .schedule-filter-toggle {
  display:flex;gap:5px;align-items:center;padding:7px 13px;min-height:39px;
  cursor:pointer;border-radius:34px;background:var(--surface-glass);
  border:1px solid var(--surface-border);font-size:13px;white-space:nowrap;
}
.schedule-filter-toggle::after { content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:-3px 1px 1px 4px; }
.schedule-filter-toggle[aria-expanded="true"]::after { transform:rotate(225deg);margin-top:2px; }
.filter-popover {
  z-index:12;position:absolute;top:calc(100% + 7px);left:0;
  width:min(430px,calc(100vw - 195px));padding:12px;
  background:var(--surface-fill);border:1px solid var(--surface-border);
  box-shadow:0 12px 35px #5b211d28;border-radius:15px;
}
.filter-popover .schedule-bar { display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 9px; }
.filter-popover .field { min-width:0;width:100%; }
.filter-popover .field label { font-size:12px; }
.filter-popover .field input,.filter-popover .field select { min-width:0;width:100%;padding:7px 8px;min-height:37px;font-size:13px; }
.filter-popover .search { padding:7px 8px;min-height:36px;font-size:13px;border-radius:9px; }
.filter-popover .search input { padding:0;min-width:0; }
.filter-actions { gap:7px;margin-top:8px; }
.filter-actions .btn { min-height:33px;padding:5px 10px;font-size:12px; }
.schedule-glass .public-lesson,.schedule-glass .week-card,.teachers-glass .staff-card {
  background:var(--surface-glass);border:1px solid var(--surface-border);
  backdrop-filter:blur(17px);
}
.schedule-glass .day-button { background:var(--surface-glass);border-color:var(--surface-border); }
.schedule-glass .day-button.active { background:#a93b28;color:white; }
.teachers-glass .staff-card .badge { background:var(--surface-fill);border:1px solid var(--surface-border); }
@media(max-width:680px){
  .glass-heading { align-items:start;flex-direction:column; }
  .glass-heading .row .btn { min-height:36px;font-size:13px;padding:7px 10px; }
  .catalog-glass-toolbar { display:grid;grid-template-columns:minmax(0,1fr);gap:8px; }
  .photo-course-link { aspect-ratio:1.02; }
  .photo-course-link h3 { top:12px;left:11px;max-width:calc(100% - 83px);font-size:16px; }
  .photo-course-arrow,.photo-course .course-fav { width:29px;height:29px;top:8px;right:8px; }
  .photo-course .course-fav { right:42px; }
  .photo-course-arrow svg,.photo-course .course-fav svg { width:15px;height:15px; }
  .filter-popover { left:auto;right:0;width:min(335px,calc(100vw - 38px)); }
}
@media(prefers-reduced-motion:reduce){
  .photo-course-link img { transition:none; }
  .photo-course:hover .photo-course-link img { transform:none; }
}
@media(max-width:680px) {
  .schedule-glass-tools { position:relative; }
  .filter-popover { left:0;right:auto;width:min(335px,100%); }
}
@media(max-width:480px) {
  #catalog .courses { grid-template-columns:minmax(0,1fr); }
  .photo-course-link { aspect-ratio:1.5; }
  .photo-course-link h3 { font-size:21px;max-width:calc(100% - 103px); }
  .photo-course-arrow,.photo-course .course-fav { width:36px;height:36px; }
  .photo-course .course-fav { right:49px; }
}

/* Match the sticky header to the light or dark section it overlaps. */
.header[data-surface="studio"],.header[data-surface="footer"] { background:#111;color:#fff;border-color:#ffffff20; }
.header[data-surface="studio"] .brand-name,.header[data-surface="footer"] .brand-name { color:#ff4a2a; }
.header[data-surface="studio"] .nav a,.header[data-surface="footer"] .nav a { color:#fff; }
.header[data-surface="studio"] .nav a:hover,.header[data-surface="footer"] .nav a:hover { color:#ff9e8c; }
.studio-feature,.studio-film,.studio-feature .studio-film { background:#111; }
.location-feature { background:var(--paper); }
.location-feature .location-panel {
  position:relative;isolation:isolate;overflow:hidden;
  background:radial-gradient(ellipse at 82% 20%,#f14c22 0,transparent 58%),linear-gradient(115deg,#a32717,#c42e19 62%,#da411b);
  color:#fff;border:0;
}
.location-feature .location-panel::after {
  content:"";pointer-events:none;position:absolute;z-index:-1;inset:-180% -20% -60% 63%;transform:rotate(-25deg);
  background:linear-gradient(90deg,transparent,#ffaf6848 38%,#ffdbc535 53%,transparent 72%);filter:blur(22px);
}
.location-feature .location-panel p { color:#ffede5; }
.location-glass-link {
  position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;
  gap:10px;min-height:53px;max-width:100%;padding:10px 17px;
  overflow:hidden;border-radius:100px;border:1px solid #ffedddbc;
  color:#fff;background:linear-gradient(145deg,#ffffff42 5%,#ffffff16 52%,#fcbaa53d),var(--location-glass-base,transparent);
  backdrop-filter:blur(17px);box-shadow:inset 0 2px 2px #ffffff57,inset 0 -4px 10px #c03c1d3d,0 7px 22px #64231243;
  font-size:14px;font-weight:750;transition:background .2s,box-shadow .2s,transform .2s;
}
.location-glass-link::after {
  content:"";pointer-events:none;position:absolute;z-index:-1;inset:2px 9px auto;height:49%;
  border-radius:100px 100px 45% 45%;background:linear-gradient(180deg,#ffffff2e,transparent);
}
.location-glass-link:hover {
  transform:translateY(-2px);background:linear-gradient(#ffffff3b,#ffffff3b),var(--location-glass-base,transparent);
  box-shadow:inset 0 2px 2px #ffffff70,0 10px 25px #64231255;
}
.location-glass-link:focus-visible { outline:2px solid white;outline-offset:4px; }
@media(max-width:1120px){
  .header[data-surface="studio"] .mobile-nav.open,.header[data-surface="footer"] .mobile-nav.open { background:#171717;color:#fff; }
}
@media(prefers-reduced-motion:reduce){.location-glass-link{transition:none;}.location-glass-link:hover{transform:none;}}

:root { --resurs-red-surface:radial-gradient(ellipse at 82% 20%,#f14c22 0,transparent 58%),linear-gradient(115deg,#a32717,#c42e19 62%,#da411b); }
.header { transition:transform .28s; }
.header[data-surface="page"] { background:#ffffffdf;backdrop-filter:blur(14px) saturate(120%);color:#252323; }
.header[data-surface="page"] .brand-name { color:#c32d21; }
.header[data-surface="page"] .nav a:not([aria-current]) { color:#292625; }
.header[data-surface="page"] .nav a:hover { color:#af271a; }
.header[data-surface="concealed"]:not(:focus-within):not(:has(.mobile-nav.open)) {
  transform:translateY(-100%);pointer-events:none;
}
body:has(.header[data-surface="concealed"]) .progress { opacity:0; }
.hero-work img {
 position:absolute;
 inset:auto 0 0;
 height:calc(100% - clamp(32px,5svh,58px));
 object-position:55% 2%;
 transform-origin:62% 9%;
 mask-image:linear-gradient(180deg,transparent,#000 36px);
}
.hero-grid { min-height:100vh;min-height:100svh; }
.hero-copy { padding-top:calc(var(--header-height) + 12px); }
.hero h1 { font-size:clamp(63px,7.35vw,114px); }
.feature-photo { aspect-ratio:1.06; }
.feature-copy h2 { font-size:clamp(37px,5.12vw,75px); }
.feature-copy p { font-size:clamp(17px,1.9vw,22px);line-height:1.48; }
.feature-glass-link { background:var(--resurs-red-surface);border-color:#fff8; }
.feature-glass-link:hover { background:var(--resurs-red-surface);filter:brightness(1.08); }
.feature-glass-link:focus-visible { outline-color:#952b19; }
#age-feature .device { width:min(345px,100%); }
#age-feature .device-content { padding-bottom:13px; }
#age-feature .device-screen { background:#fdfaf7; }
.schedule-feature-layout { grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:clamp(24px,5vw,78px); }
.desk-calendar {
  position:relative;isolation:isolate;min-width:0;padding:36px 13px 17px;
  border:1px solid #e9ded4;border-radius:21px;
  background:linear-gradient(174deg,#dbcbbd,#f4eee9 13%,#ede4dc 98%);
  box-shadow:0 3px 0 #dcc9b7,5px 12px 0 -3px #d4b69c,0 22px 38px #3a231721;
}
.calendar-binding { position:absolute;left:13%;right:13%;top:-11px;display:flex;justify-content:space-between;pointer-events:none; }
.calendar-binding i { width:13px;height:27px;border:3px solid #b7b1ab;border-radius:14px;box-shadow:inset 1px 1px 1px #7773,1px 1px 2px #796d6888;background:linear-gradient(#453e37, #4f4237 42%,#c0a88e 55%,transparent); }
.desk-calendar .device-content { border-radius:14px;background:#fffcf7;padding:clamp(12px,2vw,25px);border:1px solid #f0e9e1; color:#24201e; }
.desk-calendar .device-day-summary { margin-block:4px 9px; }
.desk-calendar .device-days button { background:#f4eae2; }
.desk-calendar .device-days button[aria-pressed="true"] { background:#aa3524; }
.desk-calendar .device-appointments a { background:#f5eee7; }
.desk-calendar .device-appointments .device-full-day { background:transparent; }
.editorial-gallery-head { display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:23px; }
.editorial-gallery-head p { margin-bottom:0; }
.carousel-frame { aspect-ratio:2.05;position:relative;overflow:hidden;border-radius:24px;background:#f2ece5; }
.carousel-frame figure { margin:0;position:absolute;inset:0; }
.carousel-frame img { height:100%;width:100%;object-fit:cover;object-position:50% 45%; }
.carousel-frame figure:nth-child(2) img { object-position:50% 22%; }
.carousel-frame figcaption {
 position:absolute;bottom:0;left:0;right:0;padding:35px 21px 16px;background:linear-gradient(transparent,#190d0ab0);
 color:#fff;font-size:14px;font-weight:650;
}
.carousel-controls { display:flex;justify-content:space-between;align-items:center;margin-top:12px; }
.carousel-dots,.carousel-arrows { display:flex;gap:7px;align-items:center; }
.carousel-dots button { padding:0;width:28px;height:30px;display:grid;place-items:center; }
.carousel-dots button::after { content:"";width:7px;height:7px;border-radius:99px;background:#b6aaa1; }
.carousel-dots button[aria-pressed="true"]::after { width:21px;background:#ac3725; }
.carousel-arrows button { width:41px;height:41px;padding:0;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line);background:var(--paper); }
.carousel-arrows button:hover { background:var(--pale); }
.studio-feature-grid { grid-template-columns:minmax(0,.73fr) minmax(0,1.27fr);gap:clamp(20px,4vw,60px); }
.studio-feature .studio-film { width:118%;margin-left:-9%; }
.location-feature .location-panel { background:var(--resurs-red-surface); }
.glass-route,body.dark .glass-route {
  --surface-glass:#fff8f3e8;--surface-fill:#fffaf6;--surface-border:#ffeddfb9;
  background:var(--resurs-red-surface);color:#fff;
}
.glass-route .glass-heading h2,.glass-route .glass-heading .muted,.glass-route .catalog-summary,.glass-route .site-breadcrumb { color:#fff; }
.glass-route .site-breadcrumb { width:100%;margin:0 0 clamp(17px,3vw,32px);padding:0; }
.glass-route .glass-heading { margin-bottom:20px; }
#main > .glass-route { padding-top:clamp(21px,3vw,43px); }
.catalog-glass-toolbar { padding:0;border:0;border-radius:0;background:none;backdrop-filter:none; }
.catalog-glass-toolbar .tab { background:#ffffff1d;border:1px solid #ffded3a3;color:#fff;backdrop-filter:blur(10px); }
.catalog-glass-toolbar .tab.active { background:#fff7f2;border-color:#fff7f2;color:#7d2319; }
.catalog-glass-toolbar .search { background:#fff9f4e8;color:#3b221a; }
.catalog-glass-toolbar .search input { color:#3b221a; }
.schedule-glass :is(.seg,.filter-popover,.public-lesson,.week-card,.day-button, .schedule-filter-toggle,.unscheduled,.empty),
.teachers-glass .staff-card { color:#26201c; }
.schedule-glass .day-button.active { color:#fff; }
.schedule-glass .week-day-head { color:#fff;background:#ffffff24; }
.schedule-glass .schedule-list { gap:5px; }
.schedule-glass .schedule-list .public-lesson { padding:9px 12px;gap:10px; }
.schedule-glass .lesson-meta small { color:#5d4a42; }
.schedule-glass .public-lesson .time { font-size:17px; }
.schedule-glass .public-lesson h3 { font-size:15px; }
.schedule-glass .public-lesson .btn { min-height:33px;padding:5px 8px;font-size:12px; }
.teachers-glass .staff-card p { color:#42372f; }
.course-information { margin-top:clamp(22px,4vw,46px);max-width:950px; }
.course-detail[data-programme="arch_byro"] .programme-art { max-width:420px;justify-self:start; }
.course-detail[data-programme="arch_byro"] .programme-art .rendered-scene { aspect-ratio:1.45; }
.chat { background:#fff6f2;border:1px solid #b83c28;border-radius:23px; }
.chat .chat-head { background:var(--resurs-red-surface);color:#fff; }
.chat .chat-head .iconbtn { color:#fff;background:#fff2;border-color:#fff4; }
.chat .chat-log { background:linear-gradient(155deg,#f9e2db,#fff4ed); }
.chat .bubble { background:#aa3423;color:#fff;border:0;border-radius:15px 15px 15px 3px;font-size:14px; }
.chat .bubble.me { background:#fff9f4;color:#562c21;border-radius:15px 15px 3px 15px; }
.chat .chat-actions { gap:5px;padding-block:7px;background:#fff6f2; }
.chat .chat-actions button { padding:5px 8px;font-size:11px;border-radius:100px;border:1px solid #a43c2936;color:#8a2b1c;background:#fff; }
.chat .chat-input { background:#fff6f2; }
.chat .chat-input input { background:#fff;color:#2d201c;font-size:14px; }
@media(prefers-reduced-motion:no-preference) {
  .carousel-frame figure:not([hidden]) { animation:carousel-in .58s ease-out both; }
  .desk-calendar .device-appointments { perspective:680px; }
  @keyframes carousel-in { from { opacity:.35;transform:scale(1.021); } to { opacity:1;transform:none; } }
}
@media(max-width:680px) {
  .hero-work img { object-position:54% 5%; }
  .hero-copy { padding-top:0; }
  .hero h1 { font-size:clamp(45px,12vw,74px); }
  #age-feature .device { width:min(306px,100%); }
  .schedule-feature-layout,.studio-feature-grid { grid-template-columns:minmax(0,1fr);gap:25px; }
  .studio-feature .studio-film { width:100%;margin-left:0; }
  .editorial-gallery-head { align-items:start;flex-direction:column; }
  .carousel-frame { aspect-ratio:1.25;border-radius:17px; }
  .calendar-binding { top:-9px; }
}
@media(prefers-reduced-motion:reduce) { .header { transition:none; } }

body:has(.header[data-surface="hero"]) .progress { opacity:0; }
.hero { border-radius:0 0 20px 20px; }
.app-feature { padding-block:clamp(38px,7vw,100px); }
.app-feature-layout { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(23px,5vw,76px);overflow:hidden; }
.app-feature-copy { min-width:0;padding-block:24px; }
.app-feature-titles h2 { max-width:13ch; }
.app-feature-tabs { display:flex;flex-wrap:wrap;gap:7px;margin-top:23px; }
.app-phone-stage { min-width:0;position:relative;isolation:isolate;display:grid;justify-items:center;align-items:start; --phone-stage-height:clamp(480px,56vw,680px);height:var(--phone-stage-height);overflow:hidden;padding:16px 10px 0; }
.app-phone-stage::before { content:"";position:absolute;inset:10% 0 0;z-index:-1;background:radial-gradient(ellipse,#f6ded1 0,transparent 67%); }
#age-feature .device-showcase { width:min(424px,100%); }
.device-showcase .device-screen { min-height:0;display:block; }
.app-phone-screen { position:relative;min-height:0; }
.app-phone-screen[hidden],.app-feature-titles [hidden] { display:none; }
.device-showcase .device-home { display:none; }
.app-phone-screen .desk-calendar { margin:16px 12px; padding:17px 7px 7px;box-shadow:0 3px 0 #dcc9b7; }
.app-phone-screen .calendar-binding i { height:18px;width:9px;border-width:2px; }
.app-phone-screen .calendar-binding { top:-7px; }
.app-phone-screen .desk-calendar .device-content { padding:10px; }
.app-phone-screen .device-appointments a { font-size:12px;padding:8px 7px; }
.app-phone-screen .device-days { gap:3px;margin-bottom:9px; }
.app-phone-screen .device-days button { min-height:31px;font-size:10px; }
.app-phone-screen .photo-carousel { margin:12px 12px 0; }
.app-phone-screen .carousel-frame { aspect-ratio:1 / 1.06;border-radius:14px; }
.app-phone-screen .carousel-controls { margin-top:6px; }
.app-phone-screen .carousel-arrows button { width:31px;height:31px; }
.app-phone-screen .carousel-dots button { width:19px; }
.app-phone-screen .carousel-frame figcaption { padding:21px 9px 9px;font-size:11px; }
@media(max-width:680px){
 .hero { border-radius:0 0 15px 15px; }
 .app-feature-layout { grid-template-columns:minmax(0,1fr);gap:15px; }
 .app-feature-copy { padding-block:0; }
 .app-phone-stage { --phone-stage-height:clamp(476px,127vw,610px); }
 #age-feature .device-showcase { width:min(342px,100%); }
}
@media(prefers-reduced-motion:no-preference){
 .motion-ready .app-phone-stage.visible .device { animation:device-enter .9s cubic-bezier(.19,.78,.26,1) both; }
 .app-phone-screen:not([hidden]),.app-feature-titles > div:not([hidden]) { animation:device-content-in .32s ease-out both; }
}
.app-feature,.awards-feature,.home-facts {
 background:color-mix(in srgb,var(--paper) 96%,var(--muted));
}
.awards-feature {
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(0,44%) minmax(0,1fr);
 grid-template-areas:"left copy right";
 align-items:center;
 overflow:hidden;
 padding-block:clamp(56px,8vw,132px);
}
.awards-copy { grid-area:copy;position:relative;z-index:1;text-align:center;padding-inline:8px; }
.awards-copy h2 { font-size:clamp(38px,7vw,108px);line-height:.99; }
.awards-copy h2 span { color:#bd301f; }
body.dark .awards-copy h2 span { color:#ff7155; }
.awards-copy p { margin-inline:auto; }
.awards-object { min-width:0;pointer-events:none; }
.awards-object-left { grid-area:left;--award-angle:-3deg;--award-sway:-1; }
.awards-object-right { grid-area:right;--award-angle:3deg;--award-sway:1; }
.awards-object img {
 display:block;
 width:100%;
 height:clamp(245px,34vw,510px);
 object-fit:contain;
 filter:drop-shadow(0 18px 14px #30221529);
 transform:perspective(900px) rotateZ(var(--award-angle));
}
@media(max-width:680px){
 .awards-feature {
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-areas:"copy copy" "left right";
  gap:22px 8px;
  padding:55px 12px 42px;
 }
 .awards-copy h2 { font-size:clamp(42px,11vw,64px); }
 .awards-object img { height:clamp(136px,44vw,245px); }
}
@media(prefers-reduced-motion:no-preference){
 .motion-ready .awards-object.visible img { animation:awards-sway 7s ease-in-out infinite; }
 .motion-ready .awards-object-right.visible img { animation-delay:-2s; }
}
@keyframes awards-sway {
 0%,100% { transform:perspective(900px) rotateZ(var(--award-angle)); }
 46% {
  transform:perspective(900px) translate(calc(8px * var(--award-sway)),-7px)
   rotateY(calc(8deg * var(--award-sway))) rotateZ(calc(-1 * var(--award-angle)));
 }
 74% {
  transform:perspective(900px) translate(calc(-3px * var(--award-sway)),-3px)
   rotateY(calc(-3deg * var(--award-sway))) rotateZ(var(--award-angle));
 }
}
.home-facts { padding:0 0 clamp(40px,7vw,98px); }
.home-facts .container {
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 grid-template-areas:"founding programmes" "founding week";
 gap:16px;
}
.fact-card {
 display:grid;
 align-items:center;
 grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 min-height:clamp(175px,18vw,265px);
 overflow:hidden;
 border-radius:26px;
 background:var(--paper);
 padding:clamp(20px,3vw,43px);
}
.fact-card-founding { grid-area:founding;grid-template-columns:1fr;grid-template-rows:1fr auto; }
.fact-card-programmes { grid-area:programmes; }
.fact-card-week { grid-area:week; }
.fact-copy { position:relative;z-index:1; }
.fact-copy strong { display:block;color:#bd301f;font-size:clamp(40px,6.3vw,91px);line-height:1;letter-spacing:-.07em; }
body.dark .fact-copy strong { color:#ff7155; }
.fact-copy h3 { margin:8px 0 0;font-size:clamp(15px,2.1vw,29px);line-height:1.2;letter-spacing:-.035em;text-wrap:balance; }
.fact-art { display:block;width:100%;height:clamp(96px,13vw,198px);object-fit:contain;filter:drop-shadow(0 12px 9px #33272223); }
.fact-card-founding .fact-art { grid-row:1;height:clamp(160px,23vw,330px);width:93%;justify-self:center; }
@media(max-width:680px){
 .home-facts .container { grid-template-columns:minmax(0,1fr);grid-template-areas:"founding" "programmes" "week";gap:10px; }
 .fact-card { min-height:144px;border-radius:20px;gap:12px; }
 .fact-card-founding { grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto; }
 .fact-card-founding .fact-art { grid-row:auto;height:clamp(96px,23vw,180px); }
}
@media(prefers-reduced-motion:no-preference){
 .motion-ready .fact-card.visible .fact-art { animation:fact-arrive 1s cubic-bezier(.18,.74,.25,1) both; }
}
@keyframes fact-arrive {
 from { transform:translateY(16px) scale(.93); }
 to { transform:translateY(0) scale(1); }
}

.app-phone-stage { perspective:1400px; }
#age-feature .device-showcase {
 aspect-ratio:76.7 / 159.9;
 border:1px solid #979591;
 border-radius:clamp(41px,5vw,58px);
 padding:7px 8px 7px 6px;
 background:
  linear-gradient(90deg,#615e5a 0,#f3f2ef 2px,#9b9997 5px,transparent 7px,transparent calc(100% - 9px),#55534f calc(100% - 7px),#dedbd5 calc(100% - 3px),#77736d 100%),
  linear-gradient(163deg,#efeeed,#a6a6a4 20%,#dad8d5 58%,#797670);
 box-shadow:inset 0 1px 0 #fff,0 1px 2px #28231f50,6px 8px 30px #26201923,0 38px 70px #17120f20;
}
.device-showcase .device-screen {
 border:3px solid #121211;
 border-radius:clamp(35px,4.6vw,50px);
 box-shadow:0 0 0 1px #353332,inset 0 0 0 1px #e0dcd7;
}
.device-showcase .device-island {
 top:10px;
 height:clamp(19px,2.15vw,24px);
 width:26%;
 background:#080809;
 box-shadow:inset 0 -1px 1px #313033;
}
.device-showcase .device-island::after {
 top:50%;
 transform:translateY(-50%);
 width:7px;
 height:7px;
 border:0;
 background:radial-gradient(circle at 45% 38%,#596574 0,#1d2434 23%,#080a12 54%,#23262e 66%,#0b0c0e 82%);
}
.device-showcase::before,.device-showcase::after,.device-showcase .device-side {
 width:3px;
 border:1px solid #696661;
 background:linear-gradient(90deg,#8e8c89,#dedbd6 48%,#67645f);
}
.device-showcase::before { top:18.4%;height:5.8%; }
.device-showcase::after { top:26%;height:6.3%; }
.device-showcase .device-side { top:24%;height:10%; }
.device-showcase .device-antenna {
 position:absolute;
 inset:7.5% 0 auto;
 height:3px;
 pointer-events:none;
 background:linear-gradient(90deg,#4d4b4880 6px, transparent 6px, transparent calc(100% - 7px),#4d4b4880 calc(100% - 7px));
}

body:has(#main > .glass-route) #main {
 margin-top:calc(-1 * (var(--header-height) + env(safe-area-inset-top)));
}
#main > .glass-route {
 padding-top:calc(var(--header-height) + env(safe-area-inset-top) + clamp(21px,3vw,43px));
}
.glass-route,body.dark .glass-route {
 background:
  radial-gradient(ellipse at 16% 21%,#ffba941f 0%,transparent 57%),
  radial-gradient(ellipse at 79% 34%,#ff955445 0%,transparent 65%),
  var(--resurs-red-surface);
}
.glass-route::before {
 content:"";
 position:absolute;
 inset:0;
 z-index:-1;
 pointer-events:none;
 background:linear-gradient(130deg,#ffffff14 0%,#ffffff04 48%,#a1342814 100%);
 box-shadow:inset 0 1px 0 #ffffff24;
}
.header:is([data-surface="glass"],[data-surface="glass-scrolled"]) {
 color:#fff;
 backdrop-filter:blur(12px) saturate(115%);
}
.header[data-surface="glass"] {
 background:#ffffff0b;
 border-color:transparent;
 box-shadow:none;
}
.header[data-surface="glass-scrolled"] {
 background:#9b2318e8;
 border-color:#ffffff35;
}
.header:is([data-surface="glass"],[data-surface="glass-scrolled"]) :is(.nav a,.brand-name,.brand-name strong) {
 color:#fff;
}
.glass-route .site-breadcrumb a:first-child {
 color:#151312;
 background:#fff5f0e8;
 border:1px solid #ffffff95;
 border-radius:99px;
 padding:3px 9px;
 line-height:1.22;
 backdrop-filter:blur(10px);
}
.glass-route .site-breadcrumb a:first-child:hover { background:#fff; }

.hero { border-radius:clamp(10px,1.5vw,22px); }
.header[data-surface="hero"] .header-inner { transform:translateY(-3px); }
.app-feature .feature-glass-link { box-shadow:inset 0 1px 1px #fff5,0 5px 12px #70241122; }
.awards-feature,.home-facts { background:color-mix(in srgb,var(--paper) 92%,var(--muted)); }
.awards-feature { border-radius:clamp(20px,4vw,58px) clamp(20px,4vw,58px) 0 0; }
.header[data-surface="glass"] { background:transparent;border-color:transparent;box-shadow:none;backdrop-filter:none; }
.header[data-surface="glass-scrolled"] { border-color:transparent; }

.about-glass .about-copy > p,.contacts-glass .contact-grid > div:not([class]) .lead { color:#fff; }
.about-glass .about-grid { align-items:start; }
.about-glass .site-breadcrumb { grid-column:1 / -1;margin-bottom:0; }
.about-glass .about-facts article,
.contacts-glass :is(.contact-details,.contact-art,.form-card,.way-panel) {
 color:#251a18;
 background:linear-gradient(132deg,#fff9f4f5,#ffe8dec9);
 border:1px solid #ffffff82;
 box-shadow:inset 0 1px 0 #fff8,0 12px 28px #55180c16;
 backdrop-filter:blur(15px);
}
.contacts-glass :is(.contact-art,.contact-details) { padding:clamp(22px,3.3vw,46px);border-radius:24px; }
.contacts-glass :is(.contact-art,.contact-details,.form-card,.way-panel) :is(.lead,.muted,.eyebrow) { color:#55332b; }
.contacts-glass .contact-art { min-height:0; }
.contacts-glass .contact-art::before,.contacts-glass .contact-art::after { content:none; }
.contacts-glass .way-panel .tabs { gap:7px; }
.winners-glass .winner-grid { margin-top:14px; }
.winners-glass .gallery-item { border:1px solid #ffefea80;border-radius:22px; }

.newspaper-stack { isolation:isolate;position:relative;width:min(850px,100%);margin:18px auto 28px;perspective:950px; }
.newspaper-stack::before,.newspaper-stack::after {
 content:"";
 position:absolute;
 inset:7px 12px 3px;
 background:#e6dac3;
 border:1px solid #9c856a7a;
 box-shadow:0 9px 19px #57211443;
 z-index:-1;
 transform:rotate(-2deg) translate(-6px,5px);
}
.newspaper-stack::after { background:#f2e9d8;transform:rotate(1.8deg) translate(8px,8px); }
.newspaper {
 padding:clamp(22px,5vw,65px);
 color:#29231e;
 background:
  linear-gradient(90deg,transparent 49%,#6d523c14 50%,#ffffff50 50.2%,transparent 51%),
  repeating-linear-gradient(0deg,#bd9e7010 0 1px,transparent 1px 4px),
  #fff9ed;
 box-shadow:0 12px 29px #57211442;
 transform-origin:50% 94%;
}
.newspaper-masthead { display:grid;justify-items:center;border-block:3px double #645546;padding:14px 0 19px;margin-bottom:25px; }
.newspaper-masthead span { font-size:12px;text-transform:uppercase;letter-spacing:.16em; }
.newspaper-masthead strong { font-family:Georgia,serif;font-size:clamp(46px,9vw,113px);line-height:1.08;letter-spacing:-.065em; }
.newspaper .news-list { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px; }
.newspaper .news-list article { border:0;border-top:1px solid #958470;border-radius:0;background:none;padding:12px 0; }
.newspaper .news-list h3 { font-family:Georgia,serif; }
.newspaper :is(.news-list p,.news-list time) { color:#483c30; }
.enquiry-art { display:grid;place-items:center;overflow:hidden;background:var(--resurs-red-surface);min-height:240px;border-radius:20px; }
.enquiry-ticket {
 width:min(84%,245px);padding:20px;display:grid;gap:12px;border-radius:19px;
 color:#fff;background:#ffffff22;border:1px solid #ffffff82;box-shadow:0 16px 28px #541c1845;
 transform:rotate(-6deg);backdrop-filter:blur(12px);
}
.enquiry-ticket strong { font-size:clamp(19px,2vw,25px);line-height:1.13; }
.enquiry-ticket span { font-size:13px; }

#age-feature .device-showcase {
 --phone-lean:-7deg;
 --phone-twist:-2.2deg;
 transform:rotateY(var(--phone-lean)) rotateZ(var(--phone-twist));
 box-shadow:inset 0 1px 0 #fff,4px 1px 0 #8a8883,7px 2px 0 #c3bfba,9px 3px 1px #686560,16px 18px 34px #2620192e;
}
.phone-tour {
 position:absolute;inset:38px 0 0;
 overflow:hidden;z-index:3;
 visibility:hidden;pointer-events:none;
 background:#fff9f5;
}
.phone-tour-hero {
 display:grid;align-content:center;gap:12px;min-height:320px;padding:21px;
 color:#fff;background:linear-gradient(100deg,#861d0bea,#ac230862),var(--tour-photo) 68% 25%/cover;
}
.phone-tour-hero span { font-size:clamp(26px,4vw,52px);font-weight:750;line-height:1; }
.phone-tour-hero strong { font-size:11px;letter-spacing:.12em; }
.phone-tour-hero i { font-size:12px;font-style:normal;width:fit-content;border-radius:99px;background:#fff;color:#3d231c;padding:9px 12px; }
.phone-tour-next { padding:25px 20px;font-size:24px;font-weight:700; }
@media(prefers-reduced-motion:no-preference){
 .motion-ready .app-phone-stage.visible .device-showcase { animation:showcase-enter .95s cubic-bezier(.19,.78,.26,1) both; }
 .tour-running .phone-tour { visibility:visible;animation:tour-fade 2.3s ease both; }
 .tour-running .phone-tour-page { animation:tour-scroll 2.3s cubic-bezier(.37,.06,.22,1) both; }
 .motion-ready .newspaper-stack.visible .newspaper { animation:paper-land .85s cubic-bezier(.18,.72,.27,1) both; }
}
@keyframes showcase-enter {
 from { transform:translateY(22px) rotateY(-15deg) rotateZ(-4deg);opacity:.3; }
 to { transform:rotateY(var(--phone-lean)) rotateZ(var(--phone-twist));opacity:1; }
}
@keyframes tour-scroll { 0%,28% {transform:translateY(0);} 88%,100% {transform:translateY(-320px);} }
@keyframes tour-fade { 0%,81% {opacity:1;} 100% {opacity:0;} }
@keyframes paper-land { from { transform:translateY(-23px) rotateX(24deg) rotate(-3deg); } to { transform:none; } }
@media(max-width:680px){
 .hero { border-radius:10px 10px 15px 15px; }
 #age-feature .device-showcase { --phone-lean:-4deg;--phone-twist:-1deg; }
}

.course-detail { padding-block:clamp(24px,4vw,66px) clamp(50px,7vw,100px); }
.course-showcase {
 display:grid;
 grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
 align-items:center;
 gap:clamp(18px,4vw,58px);
 border-radius:clamp(22px,3vw,38px);
 overflow:hidden;
 background:var(--paper);
 box-shadow:0 14px 40px #4c251616;
 padding:clamp(18px,4vw,54px);
}
.course-showcase-studio {
 color:#fff;
 background:radial-gradient(ellipse at 23% 51%,#222124 0,#141416 48%,#181617 78%,#1d1717 100%);
}
.course-showcase-studio .studio-film {
 background:transparent;
 mix-blend-mode:lighten;
 width:120%;
 margin-left:-10%;
}
.course-showcase-studio .rendered-film {
 width:100%;
 aspect-ratio:16 / 9;
 object-fit:contain;
 mask-image:linear-gradient(to right,transparent,#000 9%,#000 91%,transparent);
}
.course-intro { position:relative;z-index:1;min-width:0; }
.course-intro h2 { margin:10px 0 15px;font-size:clamp(33px,4.5vw,68px);line-height:1.04;text-wrap:balance;overflow-wrap:anywhere; }
.course-intro .lead { margin:16px 0 0;font-size:clamp(16px,1.65vw,22px); }
.course-showcase-studio .course-intro :is(.lead,.eyebrow) { color:#f3e7e3; }
.course-showcase-studio .course-intro .btn.secondary { background:#ffffff12;border-color:#ffffff4f;color:#fff; }
.course-intro .row { gap:8px; }
.course-portrait { min-width:0;overflow:hidden;border-radius:clamp(15px,2vw,25px); }
.course-portrait img { display:block;width:100%;aspect-ratio:5 / 4;object-fit:cover;object-position:center 40%; }
.course-readable[hidden] { display:none; }
.course-readable { display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);gap:14px;margin:clamp(24px,4vw,54px) 0 0;align-items:start; }
.course-readable > div {
 border-radius:23px;background:var(--paper);border:1px solid var(--line);
 padding:clamp(19px,3vw,36px);
}
.course-readable h3,.course-media h3 { font-size:clamp(23px,2.8vw,38px); }
.course-readable p { margin:12px 0; }
.studio-topics { margin:13px 0 19px;padding-left:20px;line-height:1.7; }
.course-more { border-top:1px solid var(--line);margin-top:20px;padding-top:12px; }
.course-more summary { cursor:pointer;font-weight:670; }
.course-more .structured-copy { margin-top:18px; }
.course-group-list { display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:15px 0 0; }
.course-group-list li { padding:7px 11px;border-radius:99px;border:1px solid var(--line);font-size:14px; }
.course-media { display:grid;gap:clamp(24px,5vw,60px);margin-block:clamp(30px,5vw,70px); }
.course-media h3 { margin:0 0 16px; }
.course-carousel { margin:0;min-width:0; }
.course-carousel .carousel-frame {
 aspect-ratio:16 / 9;
 background:#211d1b;
 border-radius:clamp(16px,3vw,30px);
 overflow:hidden;
}
.course-carousel .carousel-frame figure,.course-carousel .gallery-item { width:100%;height:100%;margin:0; }
.course-carousel .carousel-frame figure[hidden] { display:none; }
.course-carousel .gallery-item { display:block;border:0;border-radius:0;box-shadow:none;background:#211d1b;padding:0; }
.course-carousel .gallery-item img { display:block;width:100%;height:100%;object-fit:contain; }
.course-carousel .carousel-controls { gap:14px; }
.course-carousel [data-preview-scrub] { width:100%;min-width:0;accent-color:#ba3423;cursor:ew-resize; }
.course-media .course-class-video video {
 display:block;width:100%;max-width:850px;aspect-ratio:16 / 9;height:auto;max-height:none;
 border-radius:clamp(14px,2vw,24px);object-fit:contain;background:#171617;
}
.course-schedule-panel {
 background:var(--resurs-red-surface);
 color:white;border-radius:clamp(20px,3vw,32px);
 display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;
 padding:clamp(22px,5vw,61px);
 box-shadow:inset 0 1px 0 #ffffff58,0 12px 30px #71281924;
}
.course-schedule-panel h3 { font-size:clamp(24px,4vw,50px); }
.course-schedule-panel p { color:#fff4ed;margin:8px 0 0; }
@media(max-width:680px){
 .course-showcase,.course-readable { grid-template-columns:minmax(0,1fr); }
 .course-showcase .course-intro { grid-row:1; }
 .course-showcase-studio .studio-film { width:116%;margin-left:-8%; }
 .course-carousel .carousel-frame { aspect-ratio:5 / 4; }
}
@media(prefers-reduced-motion:no-preference){
 .motion-ready .course-portrait.visible img { animation:course-photo-arrive .85s ease-out both; }
}
@keyframes course-photo-arrive { from { transform:scale(1.065); } to { transform:scale(1); } }

#main > .contacts-glass,.contact-newsletter { background:#111; }
.contacts-glass::before { content:none; }
body:has(.contacts-glass) .header[data-surface="glass-scrolled"] { background:#111e; }
.contacts-glass :is(.contact-details,.contact-art,.form-card,.way-panel),
.contact-newsletter .newsletter {
 color:#fff;
 background:var(--resurs-red-surface);
 border:1px solid #ffbb9c52;
 box-shadow:inset 0 1px 0 #ffffff38,0 12px 28px #0003;
}
.contacts-glass .map-placeholder .map-card {
 color:#fff;background:#1c1919;border:1px solid #ffffff25;
}
.contacts-glass :is(.contact-art,.contact-details,.form-card,.way-panel,.map-card) :is(.lead,.muted,.eyebrow) {
 color:#fff3ed;
}
.contacts-glass :is(.contact-details,.contact-art,.form-card) :is(a:not(.btn),.field span,.field label) { color:#fff; }
.contacts-glass :is(.contact-details,.contact-art,.form-card,.way-panel) :is(.btn,.tab) {
 color:#fff;background:#ffffff20;border:1px solid #ffffff7a;border-radius:99px;backdrop-filter:blur(12px);
}
.contacts-glass .form-card :is(input:not([type="checkbox"]),select,textarea),
.contact-newsletter input[type="email"] { color:#fff;background:#291b1e4d;border:1px solid #ffffff69; }
.contacts-glass .form-card select option { color:#211e1c;background:#fff9f5; }
.contacts-glass .map .btn,.contact-newsletter .btn { border-radius:99px; }

.header .brand-name strong { font-size:clamp(26px,2.4vw,34px); }
.header .brand-name small { font-size:8px; }
.header[data-surface="hero"] {
 background:linear-gradient(180deg,#6d19082f 5%,#a8240d1c 66%,transparent);
}
.header[data-surface="hero"]::after {
 content:"";
 position:absolute;
 inset:100% 0 auto;
 height:19px;
 pointer-events:none;
 background:linear-gradient(180deg,#a8240d12,transparent);
}
#age-feature .device-showcase { --phone-lean:-5deg;--phone-twist:0deg; }
#age-feature .device-screen {
 background:linear-gradient(170deg,#fff0e7,#fff9f4 38%,#fffdfb 72%);
}
.header.phone-site-masthead {
 position:relative;inset:auto;z-index:1;
 background:var(--resurs-red-surface);color:#fff;
}
/* The preview uses a two-column header at every host viewport width. */
.header.phone-preview-header .header-inner {
 display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;
 width:100%;max-width:none;margin-inline:0;min-height:48px;
 padding:7px 9px 7px 13px;gap:8px;
}
.header.phone-preview-header .logo { grid-column:1;justify-self:start; }
.header.phone-preview-header .brand-name { color:inherit; }
.header.phone-preview-header .brand-name small { font-size:8px; }
.header.phone-preview-header .brand-name strong { font-size:20px; }
.header.phone-preview-header .nav,
.phone-site-masthead :is(.mobile-nav,.brand-paint-heart) { display:none; }
.header.phone-preview-header .header-tools {
 grid-column:2;justify-self:end;display:flex;gap:4px;margin:0;
}
.header.phone-preview-header :is(.hamb,.lang) {
 display:grid;place-items:center;min-width:30px;min-height:30px;color:inherit;
}
.phone-tour-site {
 position:absolute;inset:0;display:block;width:100%;height:100%;border:0;pointer-events:none;
}
.device-showcase .device-content :is(h3,output) { color:#221a18; }
.device-showcase .phone-class > span { color:#891e16;font-weight:650; }
.device-showcase .phone-class button {
 color:#862417;background:linear-gradient(145deg,#fff7f1,#ffdacf);
 border:1px solid #d759453f;border-radius:99px;padding:6px 9px;
 box-shadow:inset 0 1px 0 #fff9;
 white-space:nowrap;
}
.device-showcase .age-result { margin-top:14px; }
.schedule-glass .day-button {
 border-color:#ffd4bf72;
 background:linear-gradient(140deg,#fff2e5f8,#ffddcef0);
 color:#702719;
}
.schedule-glass .day-button time { font-size:clamp(13px,1.8vw,19px);line-height:1; }
.schedule-glass .day-button.active {
 color:white;background:linear-gradient(140deg,#c54634,#a5281c);
 border-color:#ffa281;box-shadow:inset 0 1px 0 #ffffff4f;
}
.schedule-glass .week-day-head time { opacity:.92; }
.schedule-glass :is(.public-lesson,.week-card) {
 background:linear-gradient(130deg,#fff5edf5,#ffdfd0e8);
 border:1px solid #fff1e6a3;
 box-shadow:inset 0 1px 0 #ffffff95;
 backdrop-filter:blur(8px);
}
.schedule-glass :is(.public-lesson h3,.week-card strong) { color:#832719; }
.newspaper .news-list { grid-template-columns:minmax(0,1fr);gap:26px; }
.newspaper .news-list article { padding-block:16px 6px; }
.newspaper-photo {
 position:relative;
 width:min(100%,460px);
 margin:18px 0 16px;
 padding:8px 8px 15px;background:#fffdf4;
 box-shadow:2px 6px 14px #53422e3d;
 transform:rotate(-1deg);
}
.newspaper-photo img { display:block;width:100%;max-height:380px;object-fit:cover; }
.newspaper-photo::after {
 content:"";position:absolute;top:-10px;right:22px;width:11px;height:32px;
 border:2px solid #90887a;border-bottom-color:#5f574d;border-radius:9px;
 transform:rotate(12deg);box-shadow:1px 1px 2px #52321640;
}
/* Активный способ проезда отличается только более светлой кромкой. */
.contacts-glass .way-panel .tab[aria-pressed="true"] {
 border-color:#ffffffe0;
 box-shadow:inset 0 0 0 1px #ffffff4d;
}
@media(max-width:680px){
 .header .brand-name strong { font-size:26px; }
 #age-feature .device-showcase { --phone-lean:-3deg; }
}

#main > .schedule-glass { background:#121111; }
.schedule-glass::before { content:none; }
body:has(.schedule-glass) .header[data-surface="glass-scrolled"] { background:#141212ed; }
.schedule-glass .day-button,.schedule-glass .week-day-head {
 color:#fff3ee;
 background:linear-gradient(160deg,#a7382bc9,#60211dcc);
 border:1px solid #ff927a51;
 box-shadow:inset 0 1px 1px #ffcfb635;
 backdrop-filter:blur(10px);
}
.schedule-glass .day-button.active {
 background:linear-gradient(150deg,#e1543a,#aa291d);
 border-color:#ff9e83;
}
.schedule-glass :is(.public-lesson,.week-card) {
 color:#fff1e9;
 background:linear-gradient(150deg,#a34428,#683123);
 border-color:#ffad7659;
 box-shadow:inset 0 1px 1px #ffdec03d;
}
.schedule-glass :is(.public-lesson h3,.week-card strong,.public-lesson .time,.week-card .time) { color:#fff3ed; }
.schedule-glass :is(.lesson-meta small,.week-card > span:not(.time)) { color:#ffe1d1; }

.course-showcase,.course-showcase-studio {
 color:#fff;
 background:var(--resurs-red-surface);
}
.course-showcase-studio {
 background:radial-gradient(ellipse at 6% 50%,#481715,#801e1a 44%,#be3624 79%,#eb4825);
}
.course-showcase .course-intro :is(.eyebrow,.lead) { color:#fff3ea; }
.course-showcase .course-intro :is(.btn.primary,.btn.secondary) {
 color:#fff;
 border:1px solid #ffd0b08c;
 border-radius:99px;
 background:linear-gradient(150deg,#ec685c70,#7b1f2855);
 box-shadow:inset 0 1px 0 #fff7,0 6px 18px #64171335;
 backdrop-filter:blur(12px);
}
.course-showcase .course-intro .btn:hover,
.course-showcase .course-intro .btn[aria-pressed="true"] { background:#8c241bea; }

.course-readable {
 display:block;
 position:relative;
 min-height:210px;
 border:1px solid #fc8a7259;
 border-radius:24px;
 padding:clamp(18px,3vw,32px);
 color:#fff;
 background:var(--resurs-red-surface);
}
.course-readable > :is(.course-description,.course-groups) {
 display:none;
 margin-top:14px;
 border-color:#ffffff68;
 color:#281916;
 background:#fff4ecf0;
}
.course-readable .structured-copy,.course-readable .structured-copy p { color:#392723; }
.course-view-choice { position:absolute;inline-size:1px;block-size:1px;opacity:0; }
.course-view-label {
 display:inline-flex;
 margin:0 5px 0 0;
 padding:8px 15px;
 border:1px solid #fff7;border-radius:99px;
 background:#ffffff20;color:white;cursor:pointer;
}
.course-view-choice:checked + .course-view-label { color:#6e251d;background:#fff0e5; }
.course-view-choice:focus-visible + .course-view-label { outline:2px solid white;outline-offset:3px; }
#course-view-description:checked ~ .course-description,
#course-view-groups:checked ~ .course-groups { display:block; }
.course-group-list li { color:#68251f;border-color:#9b493044; }
.course-media .course-media-heading { display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px; }
.course-media-heading a { color:#af2e21;font-size:14px;font-weight:650;text-decoration:underline;text-underline-offset:.2em; }
body.dark .course-media-heading a { color:#ff9a82; }
.course-carousel .carousel-frame { height:auto;aspect-ratio:2.4 / 1;background:#f1e5df;touch-action:pan-y; }
.course-reel {
 --slide-width:76%;
 display:flex;
 width:100%;height:100%;gap:10px;
 transform:translateX(calc(12% - var(--active-slide,0) * (var(--slide-width) + 10px)));
}
.course-slide { flex:0 0 var(--slide-width);height:100%;overflow:hidden;border-radius:15px;background:#faf1ec; }
.course-carousel .course-slide .gallery-item { background:#faf1ec;border-radius:15px; }
.course-carousel .course-slide img { object-fit:contain; }
.course-carousel .carousel-controls { margin-top:12px; }
.gallery-videos { margin:0 0 35px; }
.gallery-videos > div { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
.gallery-videos h3 { margin-bottom:12px; }
.gallery-videos h4 { margin-bottom:9px; }
.gallery-videos video { display:block;width:100%;aspect-ratio:16 / 9;object-fit:contain;background:#181414;border-radius:17px; }
.device-showcase::before,.device-showcase::after,.device-showcase .device-side {
 border:0;
 width:2px;
 left:-1px;
 background:linear-gradient(90deg,#797874,#e7e6e2 50%,#90908f);
 box-shadow:inset 0 1px 0 #f8f7f2,inset 0 -1px 1px #62615e;
}
.device-showcase::before { top:18%;height:4.6%; }
.device-showcase::after { top:24.2%;height:4.6%; }
.device-showcase .device-side { left:auto;right:-6px;width:4px;top:24%;height:8.7%; }
@media(prefers-reduced-motion:no-preference){
 .course-reel { transition:transform .52s cubic-bezier(.23,.7,.26,1); }
}
@media(max-width:680px){
 .course-carousel .carousel-frame { aspect-ratio:1.34 / 1; }
 .gallery-videos > div { grid-template-columns:minmax(0,1fr); }
}

.gallery-route { --frame-dark:#2d190f;--frame-edge:#9c6740;--frame-light:#d8a578; }
.gallery-wall {
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 align-items:center;
 gap:clamp(32px,6vw,88px) clamp(14px,4vw,60px);
 padding:clamp(19px,4vw,54px) 0;
}
.gallery-hanging {
 position:relative;
 display:grid;justify-items:center;
 min-width:0;
 margin:0;
 padding-top:20px;
}
.gallery-hanging::before {
 content:"";position:absolute;top:4px;left:50%;
 width:39px;height:34px;
 border-top:1px solid #fbdbbf83;border-left:1px solid #fbdbbf83;
 transform:translateX(-50%) rotate(45deg);
 pointer-events:none;
}
.gallery-hanging::after {
 content:"";position:absolute;top:0;left:50%;width:5px;height:5px;
 background:#f4c098;border-radius:50%;transform:translateX(-50%);
 box-shadow:0 1px 2px #38130a80;pointer-events:none;
}
.gallery-frame {
 display:grid;
 position:relative;
 justify-items:center;
 max-width:100%;
 cursor:zoom-in;
 padding:clamp(6px,1.1vw,15px);
 border:clamp(6px,1.2vw,15px) solid var(--frame-dark);
 border-color:var(--frame-light) var(--frame-dark) var(--frame-dark) var(--frame-edge);
 border-radius:2px;
 background:#fff1d9;
 box-shadow:inset 0 0 0 1px #bca283,4px 7px 0 #561a2060,8px 15px 25px #430d1765;
}
.gallery-hanging:nth-child(3n+2) {
 --frame-dark:#271c19;--frame-edge:#67483b;--frame-light:#9b6a51;
}
.gallery-hanging:nth-child(3n) {
 --frame-dark:#663a23;--frame-edge:#b27a53;--frame-light:#e5b58b;
}
.gallery-frame .gallery-print {
 display:block;
 width:auto;height:auto;max-width:100%;max-height:clamp(170px,29vw,380px);
 object-fit:contain;
 box-shadow:0 0 0 1px #63423365;
}
.gallery-frame-open {
 position:absolute;right:10px;bottom:10px;
 display:grid;place-items:center;width:34px;height:34px;border-radius:50%;
 background:#2f1614b8;color:white;border:1px solid #ffffff9d;
 opacity:0;
}
.gallery-frame:is(:hover,:focus-visible) .gallery-frame-open { opacity:1; }
.gallery-frame:focus-visible { outline:3px solid #ffe6cb; }
.gallery-route :is(.gallery-wall-section,.gallery-videos) {
 margin-block:clamp(33px,6vw,78px) 0;
 padding-top:clamp(20px,4vw,43px);
 border-top:1px solid #ffffff65;
}
.gallery-route :is(.gallery-wall-section,.gallery-videos) h3 { font-size:clamp(29px,4vw,58px); }
.gallery-enlarged { display:block;width:auto;max-width:100%;max-height:75vh;margin:auto;object-fit:contain; }
@media (prefers-reduced-motion:no-preference) {
 .gallery-frame { transition:transform .22s ease,box-shadow .22s ease; }
 .gallery-frame:is(:hover,:focus-visible) { transform:translateY(-3px);box-shadow:3px 11px 32px #430d1783; }
 .gallery-frame-open { transition:opacity .18s ease; }
}
@media (max-width:780px){
 .gallery-wall { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:480px){
 .gallery-wall { grid-template-columns:minmax(0,1fr);gap:32px; }
 .gallery-frame .gallery-print { max-height:min(60svh,420px); }
}

#main > .schedule-glass { background:#151312; }
.schedule-glass .day-button,.schedule-glass .week-day-head {
 color:#32160a;
 background:linear-gradient(145deg,#ffae63,#ff7424 67%,#f25813);
 border-color:#ffb37e;
 box-shadow:inset 0 1px 0 #ffffff66;
}
.schedule-glass .day-button.active {
 color:#2c1308;
 background:linear-gradient(145deg,#ffd1a0,#ff963e 64%,#f46a1e);
 border-color:#fff0da;
}
.schedule-glass .week-day-head { width:100%; }
.schedule-glass :is(.public-lesson,.week-card) {
 color:#362018;
 background:linear-gradient(140deg,#fff3df,#ffd6a7 75%,#ffbd83);
 border-color:#ffe4bd;
 box-shadow:inset 0 1px 0 #fff9;
}
.schedule-glass :is(.public-lesson h3,.week-card strong,.public-lesson .time,.week-card .time) { color:#692b13; }
.schedule-glass :is(.lesson-meta small,.week-card > span:not(.time)) { color:#4c3021; }

.header[data-surface="hero"] { border-bottom:0;box-shadow:none; }
.header[data-surface="hero"]::after,.header[data-surface="hero"] .brand-name::after { content:none; }
.hero { border-radius:clamp(10px,1.5vw,22px) clamp(10px,1.5vw,22px) 0 0; }
.hero-work img { height:calc(100% - clamp(39px,6svh,70px)); }

.footer { padding:clamp(23px,3vw,37px) 0; }
.footer-layout {
 grid-template-columns:minmax(175px,.9fr) minmax(0,1.45fr) minmax(0,1fr);
 gap:clamp(12px,3.5vw,38px);
 align-items:start;
}
.footer-layout nav,.footer-legal { display:flex;flex-wrap:wrap;gap:8px 16px; }
.footer-layout :is(nav,.footer-legal) :is(a,button) { font-size:13px; }
.footer-identity { min-width:0; }
.footer-identity .logo { display:inline-flex;max-width:100%;overflow:visible; }
.footer-identity .brand-name { gap:6px; }
.footer-identity .brand-name small { margin:0;line-height:1.15; }
.footer-identity .brand-name strong { line-height:1; }
.footer-identity address { font-style:normal;font-size:13px;color:#d6c8c1;margin-top:12px;overflow-wrap:anywhere; }
.footer-identity address a { color:inherit; }
body:has(.schedule-glass) .footer { border-top:1px solid #ffffff25; }

.gallery-hanging { padding-top:0; }
.gallery-hanging::before,.gallery-hanging::after { content:none; }
.gallery-frame {
 border:0;
 border-radius:3px;
 padding:clamp(14px,2.2vw,27px);
 background:
  linear-gradient(#fcf0dc,#f7e4c8) padding-box,
  #412514;
 box-shadow:inset 0 0 0 2px #301e17,inset 0 0 0 5px var(--frame-edge),
  inset 0 0 0 8px var(--frame-dark),inset 0 0 0 10px var(--frame-light),
  3px 5px 0 #391c14a8,8px 15px 23px #430d1765;
}
.gallery-frame:is(:hover,:focus-visible) {
 box-shadow:inset 0 0 0 2px #301e17,inset 0 0 0 5px var(--frame-edge),
  inset 0 0 0 8px var(--frame-dark),inset 0 0 0 10px var(--frame-light),
  3px 9px 25px #430d1783;
}
.gallery-frame-open { right:14px;bottom:14px; }

.device-status {
 position:absolute;z-index:2;left:0;right:0;top:0;height:43px;
 display:flex;justify-content:space-between;align-items:center;
 padding:2px 15px 0;color:#1f1b1a;font-size:clamp(10px,1.18vw,14px);font-weight:750;
}
.device-status svg { width:clamp(41px,5vw,57px);flex:none; }
.device-showcase .device-island { height:clamp(21px,2.45vw,29px);width:29%;top:8px;z-index:3; }
.device-showcase .device-island::after { width:8px;height:8px; }
.device-showcase .device-screen { padding-top:43px; }
.device-showcase .phone-class {
 position:relative;
 background:radial-gradient(ellipse at -4% 50%,#ed503b3a,transparent 63%);
 padding-inline:10px 0;
}
.device-showcase .phone-class::before {
 content:"";position:absolute;left:0;top:20%;bottom:20%;width:2px;
 border-radius:4px;background:#d8442e;box-shadow:0 0 9px 2px #eb4b3b50;
}
.device-showcase .phone-class button {
 color:#fff;
 background:linear-gradient(148deg,#f16a49,#c32b1e 78%);
 border-color:#e68164;
 box-shadow:inset 0 1px 0 #ffffff70,0 2px 7px #80231624;
}
@media(max-width:740px){
 .footer-layout { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .footer-identity { grid-column:1 / -1; }
}

.phone-tour { top:43px; }

.course-showcase-studio .course-portrait img { aspect-ratio:4 / 3;object-position:50% 32%; }
.course-carousel .carousel-frame {
 background:linear-gradient(135deg,#f9eee8,#eedfd5);
 aspect-ratio:2.1 / 1;
}
.course-reel {
 position:relative;
 display:block;
 transform:none;
 isolation:isolate;
}
.course-slide {
 position:absolute;
 inset:6% 14%;
 opacity:0;
 pointer-events:none;
 transform:scale(.73);
 box-shadow:0 10px 26px #623b2d27;
}
.course-slide.slide-current {
 z-index:3;
 opacity:1;
 transform:none;
 pointer-events:auto;
}
.course-slide.slide-previous,.course-slide.slide-next {
 z-index:1;
 opacity:.7;
 filter:blur(1.75px);
}
.course-slide.slide-previous { transform:translateX(-24%) scale(.84) rotate(-4deg); }
.course-slide.slide-next { transform:translateX(24%) scale(.84) rotate(4deg); }
.course-photo-count { font-size:13px;color:var(--muted);white-space:nowrap; }
.course-carousel [data-preview-scrub] { max-width:720px; }
.course-carousel .carousel-controls { justify-content:center; }
.course-more .course-copy-section + .course-copy-section { border-top:1px solid #b5705438;margin-top:20px;padding-top:16px; }
.course-copy-section h4 { margin:0 0 10px;color:#762c20;font-size:clamp(17px,2vw,23px); }
.course-copy-section p { max-width:70ch;line-height:1.58; }
.course-copy-section ul { max-width:70ch;padding-inline-start:22px; }
.course-copy-section li { margin:6px 0; }
#modal:has(.enquiry-form-layout) {
 width:min(670px,calc(100% - 24px));
 max-width:none;
 padding:0;
 border-radius:24px;
 color:#291d18;
 background:#fff5ee;
 border:1px solid #ffbba486;
}
#modal:has(.enquiry-form-layout) .modal-head {
 padding:18px clamp(18px,4vw,31px);
 color:#fff;
 background:var(--resurs-red-surface);
 border:0;
}
#modal:has(.enquiry-form-layout) .modal-head h3 { font-size:clamp(20px,4vw,31px); }
#modal:has(.enquiry-form-layout) .modal-head .iconbtn {
 color:#fff;border:1px solid #ffffff6b;border-radius:99px;background:#ffffff25;
}
#modal:has(.enquiry-form-layout) .modal-body { padding:clamp(16px,3.8vw,30px); }
.enquiry-form-layout .enquiry-content { color:#291d18; }
.enquiry-form-layout .eyebrow { color:#80281d; }
.enquiry-form-layout .booking-step { background:#e4b1a1; }
.enquiry-form-layout .booking-step.active { background:#c7462d; }
.enquiry-form-layout .enquiry-content :is(.booking-slot,.field input,.field select,.field textarea) {
 color:#362018;background:#fffdf9;border-color:#b273593c;
}
.enquiry-form-layout .booking-slot.active { background:#ffdfd1;border-color:#cc5a40; }
.enquiry-form-layout .btn {
 color:#fff;
 border-radius:99px;
 border:1px solid #d36b4c9b;
 background:linear-gradient(145deg,#d95038,#a52920);
 box-shadow:inset 0 1px 0 #ffffff6e,0 4px 12px #75271b21;
}
.enquiry-form-layout .btn.secondary { color:#822a20;background:linear-gradient(145deg,#ffebdf,#ffd8c8); }
.enquiry-form-layout .notice { color:#63382c;background:#ffe3d6;border-color:#db8f764f; }
@media(prefers-reduced-motion:no-preference){
 .course-slide { transition:transform .5s cubic-bezier(.2,.7,.26,1),opacity .35s,filter .35s; }
}
@media(max-width:680px){
 .course-carousel .carousel-frame { aspect-ratio:1.25 / 1; }
 .course-slide { inset:7% 11%; }
}

.schedule-glass :is(.public-lesson,.week-card) { color:#fff7f3;background:var(--resurs-red-surface);border-color:#f58b62; }
.schedule-glass :is(.public-lesson h3,.week-card strong,.public-lesson .time,.week-card .time) { color:#fff8f2; }
.schedule-glass :is(.lesson-meta small,.week-card > span:not(.time)) { color:#fff0df; }
.schedule-glass :is(.day-button,.week-day-head) {
 color:#27110b;
 background:linear-gradient(140deg,#ffaa58,#ff7527 67%,#ff581b);
 border-color:#fca16c;
}
.schedule-glass .day-button.active { background:linear-gradient(140deg,#ffc085,#ff8c35 64%,#fb6c21); }
.schedule-glass .slot-actions .btn { background:#fff1e5;color:#862a1d;border-color:#ffd6bf; }

.about-glass .about-facts article {
 border-radius:clamp(22px,4vw,37px);
 padding:clamp(15px,2.2vw,25px) clamp(19px,3.5vw,42px);
 background:#fffaf6;
 color:#271815;
 border:1px solid #fffdf9;
}
.about-glass .about-facts article :is(h3,p) { color:#391f1a; }
.contacts-glass .form-card .check,
.contacts-glass .form-card .check span { color:#fff; }

#age-feature .device-screen { background:#fff; }
.device-status {
 display:grid;grid-template-columns:1fr 35% 1fr;
 align-items:center;
 padding:0 clamp(9px,4%,16px);
 top:1px;
 height:42px;
 font-variant-numeric:tabular-nums;
}
.device-status span { grid-column:1;justify-self:center;line-height:1; }
.device-status svg { grid-column:3;justify-self:center;display:block;height:clamp(12px,1.8vw,16px); }
.device-showcase .device-island { top:8px; }
.device-showcase .phone-class { background:radial-gradient(ellipse at -6% 50%,#fa845326,transparent 62%); }
.device-showcase .phone-class > span { color:#a53020; }
.phone-photo-gallery {
 max-height:clamp(296px,36vw,430px);
 overflow:auto;
 padding:10px 10px 14px;
 overscroll-behavior:contain;
 scrollbar-width:thin;
}
.phone-photo-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px; }
.phone-photo-gallery figure { position:relative;margin:0;overflow:hidden;aspect-ratio:1 / 1.18;border-radius:10px; }
.phone-photo-gallery img { width:100%;height:100%;object-fit:cover;display:block; }
.phone-photo-gallery figcaption {
 position:absolute;inset:auto 0 0;padding:18px 7px 7px;
 background:linear-gradient(transparent,#201514bd);color:#fff;font-size:10px;
}
.phone-tour { inset:43px 0 auto; height:min(65%,490px); }
.phone-tour-hero { height:100%;min-height:0; }
.studio-replay {
 display:block;
 margin-top:12px;
 padding:5px 0;
 color:#fff1e8;
 text-decoration:underline;
 text-underline-offset:.2em;
 font-size:13px;
}
.course-photo-strip {
 display:grid;
 grid-auto-flow:column;
 grid-auto-columns:max-content;
 gap:clamp(10px,1.75vw,21px);
 overflow-x:auto;
 overscroll-behavior-inline:contain;
 scroll-snap-type:x proximity;
 scrollbar-color:#c2402b #f1ddd3;
 padding:2px 3px 13px;
}
.course-strip-item {
 display:block;
 overflow:hidden;
 border:1px solid #c77e6460;
 border-radius:clamp(12px,1.8vw,22px);
 background:#ffefe8;
 scroll-snap-align:start;
 padding:0;
 cursor:zoom-in;
}
.course-strip-item img {
 display:block;
 height:clamp(172px,29vw,395px);
 width:auto;
 max-width:min(82vw,520px);
 object-fit:cover;
}
@media(prefers-reduced-motion:no-preference){
 .tour-running .phone-tour { visibility:visible;animation:phone-cover-swipe 2.3s cubic-bezier(.56,0,.23,1) both; }
 .app-phone-screen:not([hidden]) { animation:phone-screen-rise .32s ease-out both; }
}
@keyframes phone-cover-swipe {
 0%,25% { transform:translateY(0);opacity:1; }
 90% { opacity:1; }
 100% { transform:translateY(calc(-100% - 12px));opacity:0; }
}
@keyframes phone-screen-rise { from { transform:translateY(12px);opacity:.72; } to { transform:translateY(0);opacity:1; } }
@media(prefers-reduced-motion:no-preference){
 .tour-running .phone-tour { visibility:visible;animation:none; }
 .tour-running .phone-tour-hero { animation:phone-cover-swipe 2.3s cubic-bezier(.56,0,.23,1) both; }
}

.course-readable > .course-description { display:block; }
.course-readable > h3 { font-size:clamp(21px,2.6vw,32px); }
.course-photo-strip { scroll-snap-type:none; }
.studio-feature .feature-glass-link { background:var(--resurs-red-surface); }
.device-status {
 grid-template-columns:minmax(0,1fr) 32% minmax(0,1fr);
 height:42px;
 color:#171515;
 font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 font-weight:780;
 padding-inline:clamp(12px,5.5%,21px);
}
.device-status span { line-height:1;letter-spacing:-.025em; }
.device-status svg { height:14px;align-self:center; }
.device-showcase .phone-class {
 grid-template-columns:minmax(0,1fr) auto;
 align-items:center;
 gap:6px;
 padding:9px;
 margin-bottom:7px;
 border:1px solid #e5765e;
 border-radius:12px;
 background:linear-gradient(147deg,#d64b36,#a7271f 85%);
}
.device-showcase .phone-class::before { content:none; }
.device-showcase .phone-class > span { color:#fff;font-weight:650; }
.device-showcase .phone-class button {
 color:#fff;
 border-color:#ffc5a78c;
 background:linear-gradient(145deg,#f582634f,#ab252a59);
 box-shadow:inset 0 1px 0 #fff6;
}
.schedule-glass :is(.public-lesson,.week-card) {
 background:
  linear-gradient(150deg,#79301835,#f8a3614a 64%,#ffac682e),
  var(--resurs-red-surface);
 box-shadow:inset 0 1px 0 #fff6;
 border-color:#f5a07a;
}
@media(prefers-reduced-motion:no-preference){
 .tour-running .phone-tour-hero {
  animation:phone-cover-swipe-ready 1.1s cubic-bezier(.33,.01,.2,1) both;
  will-change:transform;
 }
}
@keyframes phone-cover-swipe-ready {
 from { transform:translate3d(0,0,0); }
 to { transform:translate3d(0,-105%,0); }
}

.device-status {
 top:0;
 height:44px;
 grid-template-columns:minmax(0,1fr) 31% minmax(0,1fr);
 padding-inline:clamp(12px,5%,20px);
}
.device-status span {
 font-size:clamp(12px,1.55vw,17px);
 font-weight:760;
 font-variant-numeric:tabular-nums;
 transform:translateY(-.25px);
}
.device-status svg { width:clamp(47px,5.25vw,64px);height:auto; }
.device-showcase .device-island { top:8px; }
@media(prefers-reduced-motion:no-preference){
 .app-phone-screen:not([hidden]) { animation:phone-panel-in .37s cubic-bezier(.2,.65,.25,1) both; }
 .device-showcase .phone-class { animation:phone-result-in .25s cubic-bezier(.2,.6,.25,1) both; }
 .device-showcase .phone-class:nth-child(2) { animation-delay:.025s; }
 .device-showcase .phone-class:nth-child(3) { animation-delay:.05s; }
}
@keyframes phone-panel-in {
 from { transform:translate3d(0,9px,0);opacity:.68; }
 to { transform:translate3d(0,0,0);opacity:1; }
}
@keyframes phone-result-in {
 from { transform:translate3d(0,4px,0);opacity:.72; }
 to { transform:translate3d(0,0,0);opacity:1; }
}
.schedule-glass .slot-actions .btn {
 color:#fff;
 background:linear-gradient(155deg,#f5674bc4,#ae281f);
 border:1px solid #ffb194a6;
 border-radius:99px;
 box-shadow:inset 0 1px 0 #fff5,0 3px 9px #76231735;
 backdrop-filter:blur(9px);
}
.schedule-glass .slot-actions .btn:hover { background:linear-gradient(155deg,#d9503e,#962017); }

.enquiry-form-layout .booking-slot[aria-pressed="true"] {
 color:#301608;
 background:linear-gradient(150deg,#ffd2a5,#ffac64 60%,#ff8d46);
 border-color:#e66b34;
 box-shadow:inset 0 1px 0 #fff9,0 3px 12px #be57232a;
}
.enquiry-form-layout .booking-slot[aria-pressed="true"] small { color:#61290d; }
.enquiry-form-layout .booking-slot:focus-visible { outline:2px solid #9d3020;outline-offset:2px; }

#main > .schedule-glass { background:var(--resurs-red-surface);color:#fff; }
.schedule-glass::before { content:""; }
body:has(.schedule-glass) .header[data-surface="glass-scrolled"] {
 background:linear-gradient(105deg,#a82a1cf0,#c74020ed);
 border-color:transparent;
}
.schedule-glass :is(.day-button,.week-day-head) {
 color:#fff;
 background:linear-gradient(135deg,#b63b21,#942717);
 border:1px solid #ff9b755e;
 box-shadow:inset 0 1px 0 #ffc1a238;
}
.schedule-glass .day-button.active {
 color:#fff;background:linear-gradient(150deg,#903021,#771e16);
 border-color:#ffba92;
}
.schedule-glass :is(.public-lesson,.week-card) {
 color:#331f1a;
 background:linear-gradient(135deg,#fffdfa,#fff3eae8 68%,#ffe6d7ed);
 border:1px solid #fffdf6ba;
 box-shadow:inset 0 1px 0 #fff,0 3px 10px #6c261b13;
 backdrop-filter:blur(10px);
}
.schedule-glass :is(.public-lesson h3,.week-card strong) { color:#291914; }
.schedule-glass :is(.public-lesson .time,.week-card .time) { color:#9d301c; }
.schedule-glass :is(.lesson-meta small,.week-card > span:not(.time)) { color:#654036; }
.schedule-glass .slot-actions .btn { background:var(--resurs-red-surface); }

.contact-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap; }
.contact-palette {
 display:inline-flex;align-items:center;gap:4px;
 padding:4px;border:1px solid #ed805972;border-radius:99px;
 background:#371f1b;
}
.contact-palette button {
 display:inline-flex;align-items:center;gap:5px;
 border:0;border-radius:99px;padding:8px 10px;
 background:transparent;color:#ffebe3;font-size:13px;font-weight:650;
}
.contact-palette button[aria-pressed="true"] { color:#fff;background:var(--resurs-red-surface); }
#main > .contacts-glass[data-contact-surface="light"],
.contacts-glass[data-contact-surface="light"] + .contact-newsletter { background:#fcf8f4;color:#2e1e18; }
.contacts-glass[data-contact-surface="light"] :is(.site-breadcrumb,.contact-grid > div:not([class]) .lead) { color:#39251e; }
.contacts-glass[data-contact-surface="light"] .contact-palette { background:#f7e5da; }
.contacts-glass[data-contact-surface="light"] .contact-palette button:not([aria-pressed="true"]) { color:#622b20; }

.enquiry-form-layout .booking-slot[aria-pressed="true"] {
 color:#fff;
 background:var(--resurs-red-surface);
 border-color:#f1835d;
 box-shadow:inset 0 1px 0 #fff6,0 4px 13px #9c30232c;
}
.enquiry-form-layout .booking-slot[aria-pressed="true"] small { color:#fff1e7; }
@media(prefers-reduced-motion:no-preference){
 .motion-ready .reveal { transition-timing-function:cubic-bezier(.2,.66,.24,1); }
 .tour-running .phone-tour-hero { animation-duration:1.34s;animation-timing-function:cubic-bezier(.32,.10,.23,1); }
 .app-phone-screen:not([hidden]) { animation-duration:.43s; }
 .device-showcase .phone-class { animation-duration:.30s; }
}

.course-photo-strip { grid-auto-columns:max-content;overflow-x:auto;scroll-behavior:auto; }
.chat {
 width:min(325px,calc(100vw - 24px));
 height:min(555px,calc(100dvh - 120px));
 max-height:calc(100dvh - 120px);
}
.chat .chat-head { padding:8px 11px 8px 14px; }
.chat .chat-head b { font-size:15px; }
.chat .chat-head .iconbtn { width:32px;height:32px;min-width:32px;min-height:32px;padding:0; }
.chat .chat-log { flex:1 1 auto;min-height:105px;max-height:none;padding:12px; }
.chat-compose {
 position:relative;
 display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;
 gap:5px;padding:7px 8px;
 background:#fff6f2;border-top:1px solid #c667501f;
}
.chat-compose .chat-input { min-width:0;padding:0;border:0;gap:5px;background:none; }
.chat-compose .chat-input input { min-width:0;min-height:34px;padding:6px 9px;border-radius:99px;font-size:13px; }
.chat-compose .chat-input .btn {
 width:34px;min-width:34px;min-height:34px;height:34px;
 border-radius:99px;padding:0;display:grid;place-items:center;
}
.chat-commands summary {
 display:grid;place-items:center;list-style:none;cursor:pointer;
 width:34px;height:34px;border-radius:99px;
 background:#ffeadf;border:1px solid #d65d433d;color:#86291e;
}
.chat-commands summary::-webkit-details-marker { display:none; }
.chat-command-list {
 position:absolute;bottom:calc(100% + 2px);left:8px;
 z-index:2;
 display:grid;gap:3px;
 padding:5px;
 min-width:155px;
 color:#68231a;background:#fff5ee;border:1px solid #dd846b80;
 border-radius:12px;box-shadow:0 7px 22px #58231843;
}
.chat-command-list button {
 min-height:34px;text-align:left;padding:5px 8px;border:0;border-radius:8px;
 color:inherit;background:transparent;font-size:13px;
}
.chat-command-list button:hover { background:#ffded0; }

.hero,body.dark .hero {
 border-radius:0 0 clamp(12px,1.8vw,24px) clamp(12px,1.8vw,24px);
 background:
  radial-gradient(ellipse at 28% 46%,#ed4b0bd9,transparent 61%),
  radial-gradient(ellipse at 64% 46%,#ff7919 0,#fb5b0a 40%,transparent 74%),
  linear-gradient(110deg,#a82a11 0%,#e64609 38%,#f85d0a 74%,#ef5209 100%);
}
.hero-work {
 inset:0 0 0 auto;
 width:77%;
 mask-image:linear-gradient(90deg,transparent 6%,#000 49%);
}
.hero-work img {
 inset:0 0 auto;
 width:100%;height:100%;
 object-fit:cover;object-position:58% 24%;
 transform-origin:67% 35%;
 mask-image:none;
 filter:none;
}
.hero-work::after {
 background:linear-gradient(180deg,#8e24081b,transparent 23%),
            linear-gradient(110deg,#f9460024,#ff4c000b),
            linear-gradient(0deg,#ce410c47,transparent 29%);
}
.header[data-surface="hero"] { background:linear-gradient(180deg,#6620062e,transparent); }
.hero-copy { width:min(50%,630px); }
.hero-copy :is(h1,.lead) { text-shadow:0 2px 30px #5f1e1642; }
.studio-feature { overflow:hidden;border-radius:0 0 clamp(12px,1.8vw,24px) clamp(12px,1.8vw,24px); }
.phone-tour-hero {
 background:linear-gradient(100deg,#861d0bd9,#ac230850),var(--tour-photo) 63% 26%/cover;
}
.app-phone-screen .desk-calendar {
 margin:17px 11px 0;
 padding:16px 7px 8px;
 border:1px solid #f1a585;
 background:radial-gradient(ellipse at 81% 20%,#fff1e8,#ffd8c5 95%);
 box-shadow:inset 0 1px 0 #fff,0 4px 9px #c7593938;
}
.app-phone-screen .desk-calendar .device-content { padding:10px 8px; }
.app-phone-screen .calendar-binding i {
 border-color:#813824;background:linear-gradient(#ffe2d4,#b6533c 70%,#ffbe95);
}
.app-phone-screen .device-days button {
 display:grid;justify-items:center;align-content:center;
 gap:2px;min-height:38px;
 color:#fff;
 border-color:#ed886a99;
 background:linear-gradient(145deg,#b94829,#9d2f1e);
}
.app-phone-screen .device-days button[aria-pressed="true"] {
 background:#732217;border-color:#642018;box-shadow:inset 0 1px #f5b18b80;
}
.app-phone-screen .device-days time { font-size:10px;line-height:1; }
.app-phone-screen .device-day-summary { align-items:flex-start;gap:4px; }
.app-phone-screen .device-day-summary strong { font-size:12px; }
.app-phone-screen .device-day-summary span { color:#733820;font-size:10px; }
.app-phone-screen .device-appointments a:not(.device-full-day) {
 color:#351c17;background:#fffaf6ed;border:1px solid #ffc5ad;
 box-shadow:inset 0 1px #fff;
}
.app-phone-screen .device-appointments a:not(.device-full-day) time { color:#9f3223; }
.app-phone-screen .device-full-day { color:#861f17; }
@media (prefers-reduced-motion:no-preference){
 .tour-running .phone-tour-hero { animation-duration:1.64s;animation-timing-function:cubic-bezier(.32,.03,.2,1); }
}
@media(max-width:680px){
 .hero-work { width:100%;inset:0;mask-image:none; }
 .hero-work img { height:75%;object-position:61% 12%;object-fit:cover; }
 .hero-work::after {
  background:linear-gradient(180deg,#7a24074d,transparent 23%,transparent 46%,#b7350de6 72%,#b33110 87%);
 }
 .hero-copy { width:100%; }
}

:root { --resurs-cta:#ff5a0a; }
.hero .btn.primary,.feature-copy .about-cta {
 color:#21100a;
 background:var(--resurs-cta);
 border-color:#ff894e;
 border-radius:14px;
 box-shadow:inset 0 1px 0 #ffc18472,0 8px 22px #8c240b28;
}
.hero .btn.primary:hover,.feature-copy .about-cta:hover { background:#ff7528; }
.hero,body.dark .hero { border-radius:0 0 clamp(20px,3vw,48px) clamp(20px,3vw,48px); }
.hero + .section { background:#fbf8f3; }
body.dark .hero + .section { background:var(--paper); }
.studio-feature,body.dark .studio-feature {
 background:radial-gradient(ellipse at 74% 45%,#252222 0,#171616 55%,#111 100%);
}
.studio-chalk { display:grid;place-items:center;min-height:clamp(190px,31vw,430px); }
.chalk-board { display:block;width:100%;height:auto;max-width:720px;overflow:visible; }
.chalk-lines { fill:none;stroke:#f7ead7;stroke-width:3.1;stroke-linecap:round;stroke-linejoin:round; }
.chalk-stick { opacity:0; }
.chalk-board.is-drawing .chalk-stick { opacity:1; }
.header[data-surface="studio"] { background:#141313e8;box-shadow:none;border-color:#ffffff21; }
.header[data-surface="studio"] .brand-name { position:relative;color:#f7ead7; }
.header[data-surface="studio"] .brand-name::after {
 content:"♡";position:absolute;left:calc(100% + 6px);top:2px;
 color:#f7ead7;font-family:Georgia,serif;font-size:24px;
 transform:rotate(-12deg);text-shadow:1px 1px #ffffff4d;
}

#age-feature .device-showcase {
 border-radius:clamp(38px,5.1vw,61px);
 background:linear-gradient(150deg,#fafaef 0%,#9fa19f 12%,#dfdcd6 44%,#66645f 78%,#e5e0d6);
 box-shadow:inset 0 1px #fff,2px 1px 0 #65645f,5px 1px 0 #bdb9b0,7px 2px 0 #827e77,14px 16px 28px #2f261c26;
}
.device-showcase .device-island { width:27%;height:clamp(21px,2.3vw,27px); }
.phone-tour { inset:43px 0 0;height:100%;max-height:610px;background:#fff8f2; }
.phone-demo-label {
 position:absolute;top:9px;right:9px;z-index:1;
 border-radius:99px;background:#2e1b17dd;color:#fff;
 font-size:10px;padding:3px 7px;
}
.phone-demo-screen { height:100%; }
.phone-demo-screen .phone-tour-hero { height:100%;padding-top:44px; }
.phone-demo-page {
 background:linear-gradient(165deg,#fff5ee,#fffdfa 55%);
 padding:28px 15px 16px;
 min-height:100%;
 color:#352019;
}
.phone-demo-page h3 { font-size:clamp(22px,3vw,36px);margin:9px 0 12px;line-height:1.05; }
.demo-pills { display:flex;gap:6px;margin-bottom:9px;font-size:11px; }
.demo-pills > *,.demo-row { border:1px solid #ea9b8055;border-radius:12px;padding:7px 8px;background:#fff; }
.demo-pills b,.demo-selected,.demo-cta { background:var(--resurs-red-surface);color:#fff; }
.demo-row { margin:5px 0;font-size:13px; }
.demo-fields .demo-row small { display:block;font-size:10px;color:#794334; }
.demo-cta { margin-top:12px;border-radius:12px;padding:8px 10px;font-size:12px;font-weight:700; }
.demo-catalog { display:grid;grid-template-columns:1fr 1fr;gap:6px;font-size:13px; }
.demo-catalog img,.demo-course-image { display:block;width:100%;height:clamp(84px,12vw,142px);object-fit:cover;border-radius:11px; }
.demo-complete {
 display:grid;place-items:center;background:#ffe0ce;color:#892a1a;width:46px;height:46px;border-radius:50%;margin:15px 0;
}
.phone-photo-gallery { max-height:clamp(385px,49vw,610px); }
@media(prefers-reduced-motion:no-preference){
 .tour-running .phone-tour-hero { animation:demo-hero-in .48s cubic-bezier(.2,.65,.24,1) both; }
 .phone-demo-page { animation:demo-stage-in .43s cubic-bezier(.2,.67,.24,1) both; }
 .demo-catalog { animation:demo-catalog-rise .8s .2s both; }
}
@keyframes demo-hero-in { from {opacity:.35;} to {opacity:1;} }
@keyframes demo-stage-in { from { opacity:.64;transform:translateY(17px); } to { opacity:1;transform:translateY(0); } }
@keyframes demo-catalog-rise { from { transform:translateY(22px); } to { transform:translateY(0); } }

.schedule-glass .schedule-shell .day-button,
.schedule-glass .week-day-head {
 min-height:39px;padding:6px 8px;font-size:13px;
 border:1px solid #ffba9d94;box-shadow:inset 0 1px 0 #ffcfb984;
 backdrop-filter:blur(10px);
}
#main .schedule-glass .schedule-shell :is(.week-card strong,.public-lesson h3) { color:#211715; }
#main .schedule-glass .schedule-shell :is(.week-card .time,.public-lesson .time) { color:#151211; }
.schedule-glass :is(.schedule-filter-toggle,.schedule-glass-tools .seg,.glass-heading .btn.secondary) {
 background:#ffe9dcbe;border:1px solid #ffffffa6;border-radius:99px;color:#552319;
 box-shadow:inset 0 1px 0 #ffffffa0;backdrop-filter:blur(12px);
}
.schedule-glass .filter-popover {
 background:#fff0e6ee;border:1px solid #ffffffae;color:#321b15;
 box-shadow:0 12px 32px #63201538,inset 0 1px #fff;
 backdrop-filter:blur(18px);
}
.catalog-search-disclosure { display:flex;align-items:center; }
.catalog-search-disclosure summary {
 display:grid;place-items:center;list-style:none;cursor:pointer;width:42px;height:42px;flex:none;
 border-radius:99px;border:1px solid #ffffffa4;background:#fff0e4cc;color:#58271e;
}
.catalog-search-disclosure summary::-webkit-details-marker { display:none; }
.catalog-search-disclosure[open] summary { float:left;margin-right:5px; }
.catalog-search-disclosure[open] .search { width:min(220px,39vw);animation:catalog-search-in .26s ease both; }
@keyframes catalog-search-in { from { opacity:0;transform:translateX(9px); } to { opacity:1;transform:translateX(0); } }

#modal:has(.enquiry-form-layout)::backdrop { background:#32161458;backdrop-filter:blur(13px) saturate(96%); }
.enquiry-form-layout .booking-slot {
 background:linear-gradient(145deg,#ffecdf,#ffdabb);
 border:1px solid #f6b08f;
}
.enquiry-form-layout .booking-slot[aria-pressed="true"] {
 background:linear-gradient(145deg,#d84b24,#a72d19);
 border-color:#ffad83;
 transform:translateY(-1px);
}
.enquiry-form-layout .enquiry-content .fields .field {
 border:1px solid #f08b655e;
 background:linear-gradient(145deg,#fff2e8,#ffe2d8);
 border-radius:13px;padding:9px 10px;
}
.newspaper .news-list article > p { margin:0 0 14px;line-height:1.58; }
.newspaper .news-list article > time { display:block;font-weight:700;margin-bottom:8px; }
.newspaper .news-list article > h3 { margin-bottom:13px; }
.newspaper-photo { width:min(100%,360px); }
.hero .btn.primary,.feature-copy .about-cta {
 color:#fff;
 font-size:19px;
 font-weight:750;
 text-shadow:0 1px 2px #92350f56;
}
.catalog-search-disclosure:not([open]) > label { display:none; }
.phone-photo-gallery { max-height:clamp(345px,43vw,540px); }
@media(max-width:680px){ .phone-photo-gallery { max-height:clamp(305px,99vw,465px); } }

.brand-name strong {
 display:flex;
 align-items:baseline;
 font-weight:740;
 letter-spacing:.07em;
}
.brand-letter { display:inline-block; }
.brand-letter-cut { clip-path:polygon(0 0,100% 0,100% 75%,74% 100%,0 100%); }
.hero-grid { min-height:calc(100svh + clamp(18px,4svh,49px)); }
.hero-work img { scale:1.033;transform-origin:65% 11%;object-position:58% 17%; }
.studio-chalk .chalk-board { max-width:780px;width:110%; }
.schedule-glass > .container { width:min(1510px,calc(100% - 44px)); }
.schedule-glass-tools { display:flex;flex-wrap:wrap;align-items:center;gap:8px; }
.schedule-actions { margin-left:auto;gap:7px; }
.schedule-glass .schedule-actions .btn {
 min-height:37px;padding:7px 12px;
 background:#fff0e4d9;color:#56291d;border:1px solid #ffffffba;border-radius:99px;
 font-weight:650;font-size:13px;box-shadow:inset 0 1px #fff9;backdrop-filter:blur(12px);
}
.schedule-glass .schedule-actions .btn:hover { background:#fff5ed;color:#492019; }
.schedule-glass :is(.week-card,.public-lesson) { padding:10px 12px;min-height:0; }
.schedule-glass .week-scroll { scrollbar-width:none; }
.schedule-glass .week-scroll::-webkit-scrollbar { display:none; }
.schedule-glass .unscheduled {
 border-top:1px solid #ffebd9c4;padding-top:17px;margin-top:22px;
}
.schedule-glass .unscheduled h3 { margin-bottom:12px;color:#fff1e8; }
.schedule-glass .unscheduled button {
 color:#51271a;background:#fff7f1dc;border:1px solid #fff9;
 border-radius:12px;padding:8px 12px;
}
.schedule-glass .unscheduled button:hover { background:#fff5e8; }
.phone-demo-screen { position:relative;overflow:hidden; }
.phone-demo-track {
 position:absolute;inset:0;
 transform:translate3d(0,calc(-100% * var(--phone-page,0)),0);
}
.phone-stage-sheet { height:100%;overflow:hidden;background:#fff8f2; }
.tour-running .phone-tour { opacity:1; }
.tour-running.tour-leaving .phone-tour { opacity:0; }
.tour-running .phone-demo-page,.tour-running .phone-tour-hero,.tour-running .demo-catalog { animation:none; }
@media(prefers-reduced-motion:no-preference){
 .phone-demo-track { transition:transform .75s cubic-bezier(.25,.66,.2,1);will-change:transform; }
 .phone-tour { transition:opacity .42s ease; }
}

.newspaper-stack { width:min(940px,100%);transition:width .25s; }
.newspaper-stack:has(.news-photo-wide) { width:min(1050px,100%); }
.news-issue > time { display:block;color:#6c3d30;font-size:14px;font-weight:700;margin-bottom:9px; }
.news-issue h3 {
 font-family:Georgia,serif;font-size:clamp(27px,4.5vw,58px);
 color:#2e231a;line-height:1.02;margin:0 0 14px;
}
.news-ink { font-family:Georgia,serif;color:#2d251e;line-height:1.65;font-size:clamp(16px,1.75vw,22px); }
.news-ink p { margin:0 0 13px; }
.news-photo-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px; }
.news-photo-grid .newspaper-photo { width:100%;margin:0; }
.news-photo-grid .newspaper-photo:nth-child(even) { transform:rotate(1deg); }
.news-photo-grid .newspaper-photo:only-child,.news-photo-grid .news-photo-wide { grid-column:1 / -1;justify-self:center; }
.news-photo-grid .newspaper-photo:only-child:not(.news-photo-wide) { width:min(100%,410px); }
.news-photo-grid .newspaper-photo img { object-fit:contain;height:auto;max-height:480px; }
.news-pagination {
 display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;
 margin-top:27px;border-top:3px double #8c7a66;padding-top:13px;
 color:#5c493a;font-family:Georgia,serif;font-size:15px;
}
.news-pagination a { color:#71332a;text-decoration:underline;text-underline-offset:3px;justify-self:start; }
.news-pagination :last-child { justify-self:end; }
@media(max-width:680px){
 .hero-work img { object-position:61% 9%; }
 .studio-chalk .chalk-board { width:101%; }
 .schedule-glass > .container { width:calc(100% - 26px); }
 .schedule-actions { margin-left:0; }
 .news-photo-grid { gap:9px; }
}
.brand-letter-cut { clip-path:polygon(0 0,100% 0,100% 82%,80% 100%,9% 100%,0 86%); }

.course-photo-strip {
 display:flex;width:100%;max-width:100%;min-width:0;
 align-items:stretch;overflow-x:auto;overflow-y:hidden;
 overscroll-behavior-inline:contain;
 scrollbar-width:none;
}
.course-photo-strip::-webkit-scrollbar { display:none; }
.course-strip-item { flex:0 0 auto; }
.course-strip-item img { pointer-events:none; }

#modal:has(.gallery-enlarged) .modal-body { overflow:hidden; }
#modal .gallery-enlarged { max-height:calc(100dvh - 170px); }
#modal:has(.enquiry-single) { max-height:calc(100dvh - 20px); }
#modal:has(.enquiry-single)::backdrop { backdrop-filter:blur(20px) saturate(95%); }
.enquiry-single { padding:0; }
.enquiry-single > p { margin:0 0 14px;color:#6d3b2d; }
.enquiry-single .fields { gap:8px; }
.enquiry-single .field {
 border:1px solid #f1a88c99;
 background:#fff6ef;
 border-radius:14px;padding:6px 9px;min-width:0;
}
.enquiry-single .field :is(input,textarea,select) { width:100%;min-width:0; }
.enquiry-single .check { margin-top:12px; }
.enquiry-single .form-actions { justify-content:flex-end; }
.enquiry-single .btn svg,.schedule-glass .slot-actions .btn svg { flex:0 0 auto;margin:0; }
.enquiry-single .btn,.schedule-glass .slot-actions .btn { display:inline-flex;align-items:center;justify-content:center;gap:6px; }

.news-ink p { white-space:pre-line; }

.editorial-checklist { list-style:none; padding:0; margin:18px 0 22px; display:grid; gap:9px; }
.editorial-checklist li { display:grid; grid-template-columns:34px minmax(0,1fr); align-items:center; gap:12px; padding:8px 12px; border-radius:14px; background:rgba(198,64,17,.065); }
.editorial-checklist li > span { display:grid; place-items:center; border-radius:50%; width:34px; height:34px; font:700 16px/1 system-ui,sans-serif; font-variant-numeric:tabular-nums; color:#872706; background:#f9decf; border:1px solid rgba(147,45,9,.2); }
.calligraphy-description { margin-top:24px; }
.calligraphy-description h4 { font-size:clamp(20px,2.4vw,29px); margin:0 0 12px; }
.editorial-video { display:block; width:100%; max-width:420px; max-height:min(620px,82svh); margin:24px auto 0; border-radius:16px; background:#211a16; }

/* Homepage details */
.hero,body.dark .hero { border-radius:0 0 clamp(11px,1.15vw,19px) clamp(11px,1.15vw,19px); }
.hero-grid { min-height:calc(100svh + clamp(34px,7svh,72px)); }
.hero .hero-work img { object-position:58% 14%; }
.header .brand-name strong { font-size:clamp(26px,2.5vw,37px);font-weight:830; }
.section .btn.home-orange-cta {
 background:var(--resurs-cta);color:white;border:1px solid #ff894e;border-radius:14px;
 box-shadow:inset 0 1px 0 #ffc18472,0 8px 22px #8c240b28;
 font-size:19px;font-weight:750;text-shadow:0 1px 2px #92350f56;
}
.section .btn.home-orange-cta:hover { background:#ff7528; }
.studio-chalk .chalk-board { max-width:820px;width:113%; }
.chalk-lines { stroke-width:3.8; }
.chalk-stick { transition:opacity .4s ease; }
@media(max-width:680px) {
 .studio-chalk .chalk-board { width:102%; }
 .hero .hero-work img { object-position:58% 14%; }
}

/* Catalogue controls */
.catalog-glass-search { flex:0 0 auto;justify-content:flex-end;margin-inline-start:auto; }
.catalog-search-disclosure { position:relative; }
.catalog-search-disclosure[open] summary { float:none;margin:0; }
.catalog-search-disclosure[open] .search {
 position:absolute;right:calc(100% + 6px);top:50%;width:min(225px,43vw);min-height:42px;
 border:1px solid #fff9;box-shadow:0 4px 16px #5c221d33;
 animation:catalog-field-slide .36s cubic-bezier(.22,.7,.23,1) both;
}
.catalog-search-disclosure[open] { z-index:3; }
@keyframes catalog-field-slide {
 from { opacity:0;transform:translate(18px,-50%) scaleX(.88);transform-origin:right; }
 to { opacity:1;transform:translate(0,-50%) scaleX(1); }
}
.catalog-saved {
 display:grid;place-items:center;position:relative;width:42px;height:42px;flex:none;
 border-radius:50%;border:1px solid #fff9;background:#fff0e4cc;color:#81291b;
}
.catalog-saved[aria-pressed="true"] { background:#802619;color:white; }
.catalog-saved[aria-pressed="true"] svg { fill:currentColor; }
.catalog-saved span {
 position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:18px;height:18px;
 padding:0 3px;border-radius:99px;background:#8c281a;border:1px solid #fff;color:#fff;font-size:11px;
 line-height:1;font-weight:750;
}
@media(prefers-reduced-motion:reduce) {
 .catalog-search-disclosure[open] .search { animation:none;transform:translateY(-50%); }
}

/* Shared booking form */
#modal:has(.booking-overlay-card) {
 inset:0;width:100%;height:100%;max-height:none;margin:0;border:0;border-radius:0;
 background:transparent;color:#fff8f2;box-shadow:none;overflow:auto;
}
#modal:has(.booking-overlay-card)[open] {
 display:grid;justify-items:center;align-content:safe center;
 padding:max(18px,env(safe-area-inset-top)) 14px 22px;
}
#modal:has(.booking-overlay-card)::backdrop {
 background:#2c19146b;backdrop-filter:blur(24px) saturate(.85);
}
.booking-overlay-card {
 width:min(100%,650px);border:1px solid #ffc3a484;border-radius:25px;overflow:hidden;
 background:radial-gradient(ellipse at 72% 28%,#ce4a1b,#a8321c 59%,#912a1c);
 box-shadow:0 18px 58px #2a140d70,inset 0 1px #fff4;
}
#modal:has(.booking-overlay-card) .modal-head {
 position:static;background:none;padding-bottom:0;
}
#modal:has(.booking-overlay-card) .modal-body { padding-top:10px; }
.booking-dismiss {
 position:fixed;z-index:9;right:max(16px,env(safe-area-inset-right));top:max(14px,env(safe-area-inset-top));
 width:45px;height:45px;border-radius:50%;color:#fff;background:#442019b8;
 border:1px solid #fff9;backdrop-filter:blur(12px);
}
.booking-dismiss:hover { color:#fff;background:#8a3023; }
.booking-overlay-card .enquiry-single > p { color:#fff1e7;font-size:14px;line-height:1.45; }
.booking-overlay-card .enquiry-single .fields { gap:13px 17px; }
.booking-overlay-card .enquiry-single .field { background:none;border:0;padding:0; }
.booking-overlay-card .enquiry-single :is(label,.check,.privacy-note,a) { color:#fff8f2; }
.booking-overlay-card .enquiry-single .field :is(input,select,textarea) {
 color:white;background:#6e251b72;border:1px solid #ffd0b586;border-radius:12px;
 min-height:43px;padding:9px 11px;box-shadow:inset 0 1px 5px #60211335;
}
.booking-overlay-card .enquiry-single .field :is(input,select,textarea):focus {
 outline:2px solid #ffcca4;outline-offset:2px;
}
.booking-overlay-card .enquiry-single option { background:#92301f;color:white; }
.booking-overlay-card .enquiry-single .btn.primary {
 background:#fff3e827;color:#fff;border:1px solid #fff8;border-radius:99px;
 box-shadow:inset 0 1px #fff4;
}
.booking-overlay-card .enquiry-single .btn.primary:hover { background:#fff3e842; }

/* Animated site walkthrough */
.phone-demo-track { transition-duration:1.06s;transition-timing-function:cubic-bezier(.28,.58,.24,1); }
.phone-tour { transition-duration:.65s; }
.phone-demo-page {
 position:relative;background:var(--resurs-red-surface);color:#fff;padding-top:26px;
}
.phone-demo-page h3 { font-size:clamp(22px,3vw,34px); }
.phone-demo-label { z-index:2; }
.phone-demo-screen .phone-tour-hero i { background:var(--resurs-cta);color:white;border:1px solid #ffc4977a;border-radius:11px; }
.phone-demo-screen .demo-catalog { gap:8px;align-items:start; }
.demo-class { position:relative;overflow:hidden;border-radius:12px;border:1px solid #fff8; }
.demo-class b { display:block;padding:5px 6px;font-size:11px;line-height:1.15; }
.demo-class img { border-radius:0; }
.demo-date { display:block;background:#8c2d1e;padding:6px 8px;border-radius:10px;margin:8px 0; }
.phone-demo-page .demo-pills { flex-wrap:wrap;gap:4px; }
.phone-demo-page .demo-pills > * { color:#4b271c;background:#fff1e4;border:1px solid #fff8;padding:5px 6px; }
.phone-demo-page .demo-pills b { background:#853026;color:white; }
.phone-demo-page .demo-days { flex-wrap:nowrap;gap:3px; }
.phone-demo-page .demo-days span { padding:3px 4px;font-size:9px;white-space:nowrap; }
.phone-demo-page .demo-row { color:#312018;font-size:12px;background:#fff6ed; }
.phone-demo-page .demo-row b { margin-right:4px;white-space:nowrap; }
.phone-demo-page .demo-selected { outline:2px solid #ffab74;outline-offset:-2px; }
.phone-demo-page .demo-cta { background:#fff3e82c;border:1px solid #fff8;color:white;display:flex;align-items:center;gap:6px; }
.demo-booking-page { isolation:isolate;background:#f5b69d;padding:38px 9px 8px; }
.demo-booking-backdrop { position:absolute;inset:0;z-index:-1;filter:blur(8px);opacity:.55;overflow:hidden;color:#592818; }
.demo-booking-backdrop p { font-size:26px;font-weight:800;margin:20px 8px; }
.demo-booking-backdrop img { width:100%; }
.demo-booking-close { position:absolute;right:8px;top:20px;line-height:1;border-radius:50%;background:#6c2d22;padding:2px 5px;color:white; }
.demo-booking-card { border:1px solid #ffd4bc91;border-radius:13px;padding:8px;background:var(--resurs-red-surface);box-shadow:0 7px 20px #6835225c; }
.demo-booking-card h3 { margin:3px 0 8px;font-size:clamp(16px,2vw,24px); }
.demo-booking-fields { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px; }
.demo-booking-field { min-width:0;line-height:1.2; }
.demo-booking-field small { display:block;font-size:9px;font-weight:650;margin-bottom:3px; }
.demo-booking-field b { display:block;border:1px solid #fff6;background:#6c251849;border-radius:7px;padding:5px;color:#fff;font-size:10px; }
.demo-booking-field:last-child { grid-column:1 / -1; }
.demo-agree { font-size:9px;margin:6px 0; }
.demo-booking-page .demo-cta { margin-top:7px; }
@media(prefers-reduced-motion:no-preference) {
 .demo-step-current .demo-booking-card { animation:demo-card-enter .65s .38s both; }
 .demo-step-current .demo-selected { animation:demo-click 1s 1.5s both; }
 @keyframes demo-click { 45% { box-shadow:inset 0 0 0 3px #ffc599;scale:.979; } }
 @keyframes demo-card-enter { from { opacity:0;transform:translateY(13px); } to { opacity:1;transform:translateY(0); } }
}

/* Timetable and newspaper */
.schedule-glass .schedule-shell .day-button {
 display:flex;align-items:center;justify-content:center;gap:3px;
 min-width:110px;border-radius:99px;background:linear-gradient(135deg,#b63b21,#942717);
 white-space:nowrap;
}
.schedule-glass .schedule-shell .day-button.active { background:#7d281c;border-color:#ffd4bc; }
.schedule-glass .schedule-list .schedule-day-lesson {
 width:100%;display:grid;grid-template-columns:64px minmax(0,1fr);
 align-items:center;text-align:left;gap:12px;margin:0;border-radius:13px;
}
.schedule-glass .schedule-day-lesson :is(.time,strong) { margin:0;line-height:1.3; }
.schedule-glass .filter-popover {
 background:#ffecdfd4;backdrop-filter:blur(22px) saturate(1.2);
 border:1px solid #fff9;border-radius:20px;
}
.schedule-glass .filter-popover :is(select,input) { font-size:12px; }
.schedule-glass .filter-popover .field :is(select,input) {
 background:#fffbf6b2;border:1px solid #d5735155;border-radius:11px;
}
.schedule-glass .filter-popover .field input[type="time"] { min-height:32px;padding:4px 7px; }
.schedule-glass .filter-popover .schedule-search-pill {
 display:flex;border-radius:99px;background:#fffbf6d9;color:#59271c;
 border:1px solid #d5735155;
}
.schedule-glass .filter-actions .btn { border-radius:99px; }
.news-ink { font-size:clamp(17px,calc(1.75vw + 1px),23px); }
.newspaper-video {
 width:fit-content;max-width:100%;margin:24px auto 4px;padding:6px;
 background:#fff8e9;border:1px solid #b19b78a8;border-radius:13px;
 box-shadow:0 5px 14px #56462826;
}
.newspaper-video .editorial-video { width:auto;max-width:100%;margin:0;border-radius:8px; }
.course-copy-section p { white-space:pre-line; }
.schedule-glass .schedule-shell .daystrip {
 grid-template-columns:repeat(7,minmax(110px,1fr));overflow-x:auto;scrollbar-width:none;
 padding:1px 1px 3px;
}
.schedule-glass .schedule-shell .daystrip::-webkit-scrollbar { display:none; }
.phone-tour { opacity:0; }
@media(prefers-reduced-motion:no-preference) {
 .tour-running .phone-tour { animation:demo-hero-in .56s ease-out both; }
 .tour-running.tour-leaving .phone-tour { animation:none; }
}

.header[data-surface="dark"] { background:#141313ed;color:#fff;border-color:#fff2; }
.header[data-surface="dark"] :is(.nav a,.mobile-nav a) { color:#fff; }
.header[data-surface="dark"] .mobile-nav.open { background:#171717;color:#fff; }
.header .brand-name,.header .brand-name strong { transition:color .34s ease; }
.header:is([data-surface="studio"],[data-surface="footer"],[data-surface="dark"]) :is(.brand-name,.brand-name strong) {
 color:#ed3c19;
}

.chalk-lines path { transition:stroke .95s ease var(--chalk-delay); }
.chalk-coloured .chalk-lines path { stroke:var(--chalk-color); }
.chalk-board.is-drawing .chalk-stick.is-lifted { opacity:.55; }
@media(prefers-reduced-motion:reduce) {
 .chalk-lines path { transition:none; }
}

/* Keep the animated screen opaque while the phone walkthrough is playing. */
.app-phone-stage.tour-running .phone-tour {
 top:42px;bottom:0;height:auto;max-height:none;
 opacity:1;animation:none;background:#fff8f2;
}
.app-phone-stage.tour-running :is(.phone-site-masthead,.app-phone-screen) { visibility:hidden; }
.phone-tour-hero { animation:phone-hero-arrive .58s ease-out both; }
.tour-running .phone-demo-screen .phone-tour-hero { animation:phone-hero-arrive .58s ease-out both; }
@keyframes phone-hero-arrive { from { opacity:.45; } to { opacity:1; } }
.app-phone-stage.tour-leaving .phone-demo-screen { opacity:0;transition:opacity .58s ease; }
#resurs-screen-photos { border:0;box-shadow:none;background:#fff8f2; }
.phone-photo-gallery { padding-top:17px;border:0;box-shadow:none;scrollbar-width:none; }
.phone-photo-gallery::-webkit-scrollbar { display:none; }

#main .schedule-glass .schedule-shell :is(.day-button,.week-day-head),
#main .schedule-glass .schedule-shell :is(.day-button,.week-day-head) :is(b,time) { color:#fff; }
#main .schedule-glass .schedule-shell .day-button[aria-pressed="true"] {
 background:linear-gradient(145deg,#ffd8bb52,#8a2a204e);
 border-color:#ffe3ce;box-shadow:inset 0 1px #fff9,0 3px 12px #7b230e40;
}
.schedule-glass .filter-popover {
 background:linear-gradient(140deg,#fff3e4b5,#fcd5bd99);
 backdrop-filter:blur(28px) saturate(1.3);border-color:#fff9;
 box-shadow:inset 0 1px #fff9,0 14px 35px #6c28193a;
}
.catalog-glass-search .search input {
 appearance:none;min-height:0;background:transparent;border:0;border-radius:0;
 box-shadow:none;outline:none;font-size:14px;
}
.catalog-glass-search .search:focus-within { outline:2px solid #ffcfad;outline-offset:2px; }
.booking-overlay-card .enquiry-single #booking-age { appearance:textfield; }
.booking-overlay-card .enquiry-single #booking-age::-webkit-inner-spin-button,
.booking-overlay-card .enquiry-single #booking-age::-webkit-outer-spin-button { appearance:none;margin:0; }
.booking-overlay-card .enquiry-single input:-webkit-autofill {
 -webkit-text-fill-color:#fff;box-shadow:inset 0 0 0 99px #85301f;
}
#main:has(.news-glass) { overflow-anchor:none; }

#modal:has(.booking-overlay-card)[open] {
 display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
 overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
 box-sizing:border-box;
}
.booking-overlay-card { flex:none;margin-block:0 auto; }
.booking-dismiss {
 border-radius:13px;background:radial-gradient(ellipse at 72% 28%,#ce4a1b,#a8321c 59%,#912a1c);
 border-color:#ffc3a484;
}
.booking-dismiss:hover { background:#bd4224;border-color:#ffd4bb; }
.booking-overlay-card .enquiry-single input[hidden] { display:none!important; }
.booking-overlay-card .enquiry-single #booking-note { resize:none;overflow:hidden; }

.field .select-control { position:relative;display:block;min-width:0;width:100%; }
.field .select-control::after {
 content:"";pointer-events:none;position:absolute;inset-inline-end:14px;top:50%;
 width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;
 transform:translateY(-70%) rotate(45deg);
}
.field .select-control select,
.booking-overlay-card .field .select-control select,
.schedule-glass .filter-popover .field .select-control select {
 appearance:none;width:100%;min-width:0;max-width:100%;padding-inline-end:33px;
 text-overflow:ellipsis;background-image:none;
}
.booking-overlay-card .select-control::after { color:#fff4e9; }
.btn > svg,.location-glass-link > svg { flex-shrink:0;vertical-align:middle; }
.schedule-filter-toggle::after { flex-shrink:0; }

.header .brand-name strong {
 font-family:Manrope,'Avenir Next',Arial,sans-serif;
 font-weight:850;letter-spacing:.032em;line-height:.94;
}
.header .brand-letter {
 background:linear-gradient(166deg,color-mix(in srgb,currentColor 83%,white) 5%,currentColor 45%,color-mix(in srgb,currentColor 91%,#9c5b47) 100%);
 background-clip:text;-webkit-text-fill-color:transparent;padding-block:1px;
}
.header .brand-letter-cut { clip-path:polygon(0 0,100% 0,100% 87%,79% 100%,0 100%); }
.header .brand-letter-bevel { clip-path:polygon(0 0,100% 0,100% 100%,12% 100%,0 87%); }
@media(forced-colors:active) {
 .header .brand-letter { background:none;-webkit-text-fill-color:currentColor; }
}

.phone-demo-track { transition-duration:.9s; }
.phone-demo-page.demo-programme-shell { padding:0; }
.demo-programme-page { position:absolute;inset:0; }
.demo-programme-content { position:absolute;inset:0 0 54px;overflow:hidden;padding:17px 15px 0; }
.demo-programme-content h3 { margin:5px 0 9px; }
.demo-programme-description { padding:9px 0 8px;font-size:12px;line-height:1.42; }
.demo-programme-description :is(p,ul) { margin:0 0 8px; }
.demo-programme-description h4 { margin:9px 0 4px;font-size:13px; }
.demo-programme-description ul { padding-inline-start:15px; }
@media(prefers-reduced-motion:no-preference) {
 .demo-step-current .demo-tap.demo-pressed { position:relative;animation:demo-confirm-press .55s ease both; }
 @keyframes demo-confirm-press {
  25%,55% { scale:.96;background:#d84c25;box-shadow:inset 0 0 0 2px #ffdbb6,0 0 0 3px #ffbb8670; }
 }
}

/* Continue the photo grid through the lower crop of the phone mock-up. */
#resurs-screen-photos .phone-photo-gallery {
 height:calc(var(--phone-stage-height) - 72px);
 max-height:none;
 padding-block-end:0;
 align-content:start;
}

.demo-programme-content { inset:0;display:flex;flex-direction:column;padding:12px 15px 0; }
.demo-programme-content h3 { font-size:clamp(18px,2.2vw,28px);flex:none; }
.demo-programme-content > img { height:clamp(72px,9vw,108px);flex:none; }
.demo-programme-action { flex:none; }
.demo-programme-action .demo-cta { margin-top:8px;background:#8b281a; }
.demo-description-window { overflow:hidden;flex:1;min-height:0; }
.demo-programme-description { color:#fff; }
.demo-programme-description h4 { color:#fff;font-size:14px;font-weight:800; }
#resurs-screen-photos .phone-photo-grid { grid-auto-rows:max-content; }
.phone-photo-gallery figure { min-width:0; }
.phone-photo-gallery figure > img { position:absolute;inset:0; }
.schedule-glass .schedule-shell .daystrip { padding-block:7px 5px; }
.schedule-glass .schedule-shell .day-button { transition:transform .24s ease,background-color .24s ease; }
.schedule-glass .schedule-shell .day-button:is(:hover,[aria-pressed="true"]) { transform:translateY(-3px); }

.news-unread:not([hidden]) {
 display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;
 margin-inline-start:5px;padding:0 4px;border:1px solid #fff8;border-radius:99px;
 background:#9b321e;color:#fff;font-size:10px;line-height:1;font-weight:750;
 vertical-align:middle;font-variant-numeric:tabular-nums;
}
.news-count-label {
 position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}

.schedule-glass a.week-card {
 position:relative;text-decoration:none;background:#fffdfb;backdrop-filter:none;
 transition:transform .2s ease-out;
}
.schedule-glass a.week-card::after {
 content:"";position:absolute;inset:0 0 -4px;pointer-events:none;
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 .schedule-glass a.week-card:hover { background:#fffdfb;transform:translateY(-3px); }
 .schedule-glass a.week-card:hover::after { pointer-events:auto; }
}
@media(hover:none), (prefers-reduced-motion:reduce) {
 .schedule-glass a.week-card:hover { background:#fffdfb;transform:none; }
}
.schedule-glass a.week-card:focus-visible { outline:2px solid #682719;outline-offset:-4px; }
.course-detail .course-media { display:block;min-width:0; }
.course-detail .course-photo-strip {
 box-sizing:border-box;max-width:none;width:100%;min-width:0;
 padding-inline:clamp(16px,3.2vw,52px);padding-block:0;gap:clamp(5px,.6vw,9px);
 scroll-behavior:auto;scroll-snap-type:none;touch-action:pan-x pan-y;
}
.course-detail .course-strip-item { flex:0 0 max(245px,38%);min-width:0; }
.course-detail .course-photo-strip:has(> :nth-child(2):last-child) .course-strip-item { flex-basis:55%; }
.course-detail .course-photo-strip:has(> :only-child) .course-strip-item { flex-basis:auto; }
.course-detail .course-strip-item img { width:100%;max-width:none; }

.phone-demo-page.demo-booking-page { padding-top:48px; }
.demo-booking-close {
 top:9px;right:10px;width:27px;height:27px;padding:0;
 display:grid;place-items:center;border-radius:8px;border:1px solid #ffc3a484;
 background:linear-gradient(145deg,#cc481d,#942b1d);font-size:18px;
}

.app-phone-screen .desk-calendar {
 background:linear-gradient(145deg,#fff0df,#fcd7bc);
 border-color:#eaa487;
}
.app-phone-screen .desk-calendar .device-days button {
 border-radius:10px;background:linear-gradient(155deg,#bf5939,#9b3525);
 color:#fff;border:1px solid #ffc7a996;box-shadow:inset 0 1px #ffcaa57d;
}
.app-phone-screen .desk-calendar .device-days button[aria-pressed="true"] {
 background:linear-gradient(150deg,#e48661,#ab482d);
 border-color:#fff0d9;box-shadow:inset 0 1px #ffedc9;
}
.phone-demo-page.demo-schedule-page {
 background:linear-gradient(150deg,#b64e2c,#a33321 72%);
}
.phone-demo-page .demo-days span {
 color:#fff;background:#8d3226;border-color:#ffc2a499;
 border-radius:8px;font-variant-numeric:tabular-nums;
}
.app-phone-stage.tour-running .phone-tour {
 height:calc(var(--phone-stage-height) - 65px);
}
.app-phone-stage.tour-leaving .phone-tour { opacity:0; }
.app-phone-stage.tour-leaving :is(.phone-site-masthead,.app-phone-screen) { visibility:visible; }
.app-phone-stage.tour-leaving .phone-demo-screen { opacity:1; }
.demo-programme-content { padding-bottom:8px; }
.demo-programme-content > .demo-course-image {
 height:clamp(150px,22vw,235px);object-fit:cover;object-position:center 14%;
}
.demo-programme-description { margin:7px 0 0;padding:0; }
.demo-typed-value { display:inline-block; }
.demo-step-current .demo-typed-value {
 animation:demo-type-in .58s steps(var(--demo-chars),end) var(--demo-type-delay) both;
}
@keyframes demo-type-in { from { clip-path:inset(0 100% 0 0); } to { clip-path:inset(0); } }
.demo-confirmation-page {
 position:absolute;inset:0;z-index:3;display:grid;place-items:center;padding:15px;
 background:#4d231a83;opacity:0;visibility:hidden;
 transition:opacity .48s ease,visibility .48s;
}
.demo-show-confirmation .demo-confirmation-page { opacity:1;visibility:visible; }
.demo-confirm-card {
 width:min(100%,270px);padding:19px 12px;border:1px solid #ffc8a5;
 border-radius:18px;background:linear-gradient(145deg,#cf5a32,#a13826);
 color:#fff;text-align:center;box-shadow:0 10px 26px #431a1b5e;
 transform:translateY(8px) scale(.97);transition:transform .48s ease;
}
.demo-show-confirmation .demo-confirm-card { transform:none; }
.demo-confirm-card .demo-complete { margin:0 auto 10px; }
.demo-confirm-card h3 { font-size:clamp(18px,2.3vw,27px);margin:0 0 6px; }
.demo-confirm-card p { margin:0;font-size:13px; }

.newspaper-video { width:min(100%,350px);box-sizing:border-box; }
.newspaper-video .editorial-video { width:100%;aspect-ratio:auto 394 / 720;object-fit:contain; }
.header[data-surface="studio"] .brand-name::after { content:none; }
.brand-paint-heart { display:none; }
.header[data-surface="studio"] .brand-paint-heart {
 display:block;position:absolute;inset-inline-start:calc(100% + 8px);top:1px;
 width:26px;height:32px;overflow:visible;transform:rotate(10deg);
 color:#ff7895;filter:drop-shadow(0 1px 3px #ff567245);
}
.brand-paint-heart path {
 fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}
.brand-paint-heart .brand-heart-outline { fill:#e9456040; }
.brand-paint-heart .brand-heart-drip { fill:#f47797;stroke:none; }
.paint-heart-drips path {
 fill:#f57496;opacity:0;transform:scaleY(.3);
 transform-box:fill-box;transform-origin:center top;
 transition:opacity .32s ease .65s,transform .78s cubic-bezier(.24,.62,.26,1) .65s;
}
.paint-heart-drips path:nth-child(even) { transition-delay:.8s; }
.chalk-coloured .paint-heart-drips path { opacity:1;transform:scaleY(1); }
@media(prefers-reduced-motion:reduce) { .paint-heart-drips path { transition:none; } }

.app-feature-tabs .location-glass-link:focus-visible { outline-color:#822c1e; }


/* The interactive age panel stays still throughout the handoff from the tour. */
#resurs-screen-age:not([hidden]) { animation:none;transform:none; }
.app-phone-stage.tour-running .phone-tour {
 --phone-page-edge:#9d3526;
 background:var(--phone-page-edge);
}
.phone-demo-track > .phone-stage-sheet { background:var(--phone-page-edge,#9d3526); }
.phone-demo-track > .phone-stage-sheet > :is(.phone-tour-hero,.phone-demo-page:not(.demo-booking-page)) {
 position:relative;isolation:isolate;
}
.phone-demo-track > .phone-stage-sheet > :is(.phone-tour-hero,.phone-demo-page:not(.demo-booking-page))::after {
 content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
 background:linear-gradient(to bottom,var(--phone-page-edge) 0%,transparent 15px,transparent calc(100% - 15px),var(--phone-page-edge) 100%);
}
.demo-programme-content > .demo-course-image { height:clamp(139px,20vw,211px); }
.demo-programme-description p { margin:0; }

.app-feature-titles .home-orange-cta,.awards-feature .home-orange-cta {
 box-shadow:inset 0 1px 0 #ffca9a92,0 3px 8px #8c240b13;
}
.phone-demo-page.demo-schedule-page {
 display:flex;flex-direction:column;padding-bottom:10px;
}
.demo-schedule-page > :is(h3,.demo-pills) { flex:none; }
.demo-schedule-list {
 flex:1;min-height:0;overflow:hidden;
}
.demo-week-list { overflow-y:auto;scrollbar-width:none; }
.demo-week-list::-webkit-scrollbar { display:none; }
.demo-week-list section + section { margin-top:12px; }
.demo-schedule-list .demo-date { border:1px solid #ffc2a494; }
.phone-demo-page .demo-days .demo-day-active { background:#bd5436;border-color:#ffdfca; }
.phone-demo-page .demo-week-target.demo-pressed { color:#421707; }
.demo-programme-description p + p { margin-top:6px; }

.chalk-board.is-drawing.chalk-exiting .chalk-stick { opacity:0;transition-duration:.42s; }
.chalk-cast-shadow { filter:blur(.8px); }

.demo-programme-content > .demo-course-image { height:clamp(112px,17vw,185px); }
.demo-programme-description {
 min-height:0;font-size:clamp(10px,1vw,13px);line-height:1.38;
}
.demo-programme-description h4 { margin:5px 0 3px; }

.chalk-board.is-drawing:not(.chalk-exiting) .chalk-stick { opacity:.81; }
.chalk-board.is-drawing .chalk-stick.is-lifted { opacity:.48; }
.chalk-stick > :not(.chalk-cast-shadow) { transform:scale(.83); }
.week-panel:is(:hover,:focus-within) .week-scrub { opacity:1; }
.schedule-glass .week-grid {
 grid-template-columns:repeat(7,minmax(180px,1fr));min-width:1320px;
}
.schedule-glass .schedule-shell .daystrip { grid-template-columns:repeat(7,minmax(max-content,1fr)); }
.schedule-glass .schedule-shell .day-button { min-width:0;padding-inline:11px; }
.schedule-glass .schedule-shell .day-button b { font-size:inherit; }
.phone-tour-hero .demo-mobile-header,.demo-mobile-header {
 position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;
 background:var(--resurs-red-surface);padding:8px 13px;color:#fff;font-size:14px;
}
.phone-tour-hero .demo-mobile-header span { font-size:inherit; }
.demo-menu-icon { display:grid;place-items:center;min-width:28px;min-height:26px; }
.demo-menu-page { background:linear-gradient(150deg,#dc6134,#ae3826);padding:53px 12px 10px; }
.demo-mobile-menu {
 display:grid;gap:3px;border-radius:14px;padding:6px;color:#fff;
 background:#ffd2b52b;border:1px solid #ffdfc777;backdrop-filter:blur(12px);
}
.demo-mobile-menu span { padding:5px 9px;line-height:1.2;border-radius:8px;font-size:13px;font-weight:650; }
.demo-schedule-list .week-card { margin:0 0 5px; }
.demo-schedule-list .week-card :is(.time,strong) { color:inherit;font-size:inherit;line-height:1.32; }
.demo-schedule-list .demo-week-target { background:#fff6ed;color:#312018;border:1px solid #ea9b8055;border-radius:12px;padding:7px 8px;font-size:12px; }

@media(max-width:1120px) {
 .header .header-tools .lang { display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:38px;font-size:13px;font-weight:800; }
 #header .mobile-nav.open {
  inset:calc(100% + 6px) 10px auto auto;width:min(355px,calc(100% - 20px));
  grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:8px;
  background:linear-gradient(145deg,#b63d24ed,#a33120e8);backdrop-filter:blur(20px) saturate(1.15);
  border:1px solid #ffded68c;border-radius:18px;box-shadow:0 8px 25px #511b1d38;color:#fff;
 }
 #header .mobile-nav :is(a,button) { color:#fff;min-height:36px;padding:7px 9px;font-size:15px;line-height:1.2; }
 #header .mobile-nav [aria-current="page"] { border-radius:10px;background:#fff3e52b; }
}
@media(max-width:680px) {
 body:has(#main > .glass-route) #main { margin-top:0; }
 #main > .glass-route { padding-top:18px; }
 .about-grid { grid-template-columns:minmax(0,1fr);gap:16px; }
 .about-grid .about-copy { grid-row:auto;grid-column:1; }
 .about-grid .about-photo { grid-row:auto;grid-column:1; }
 .schedule-glass .schedule-shell .daystrip { gap:5px; }
 .schedule-glass .schedule-shell .day-button { min-height:34px;font-size:12px;padding-inline:8px; }
 .schedule-glass .week-scroll { overflow:visible; }
 .schedule-glass .week-grid { display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:15px; }
 .schedule-glass .week-day-head { text-align:left;margin:0 0 6px;min-height:0;padding:8px 12px; }
 .schedule-glass .week-grid .week-card {
  display:grid;grid-template-columns:57px minmax(0,1fr);align-items:center;gap:7px;
  margin:0 0 5px;font-size:14px;
 }
 .schedule-glass .week-grid .week-card > span:not(.time) { grid-column:2; }
 .schedule-glass .week-scrub { display:none; }
 .winners-glass .winner-grid { display:grid;grid-template-columns:minmax(0,1fr); }
 .winners-glass .winner-grid .gallery-item { grid-column:1;min-width:0;width:100%; }
 .winners-glass .winner-grid .gallery-item img { width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain; }
 .catalog-glass-toolbar { margin-top:8px;column-gap:8px; }
 .catalog-glass-toolbar .tabs { gap:4px; }
 .catalog-glass-toolbar .tab { padding:5px 8px;min-height:31px;font-size:12px; }
 .catalog-glass-search { gap:4px; }
 .catalog-glass-search :is(.catalog-saved,.catalog-search-disclosure summary) { width:36px;height:36px; }
}

.contact-newsletter .newsletter::before { content:none; }
.catalog-glass-toolbar .catalog-summary { flex:0 0 100%; }
.about-glass .about-copy { grid-column:2; }
.about-glass .about-photo { grid-column:1;grid-row:2 / span 2; }
.about-glass .about-facts { grid-column:2; }
.about-glass .about-grid { row-gap:16px; }
.schedule-glass #schedule-content { overflow-anchor:none; }
.schedule-glass .week-day-head {
 background:linear-gradient(135deg,#c85633,#a22f1d);
 min-height:46px;display:flex;align-items:center;justify-content:center;
}
.schedule-glass .schedule-shell .day-button {
 background:linear-gradient(135deg,#c45634,#a63220);
 min-height:45px;padding-inline:13px;
}
.schedule-glass .week-card .time { white-space:nowrap;font-variant-numeric:tabular-nums; }
.schedule-glass .schedule-list .schedule-day-lesson {
 grid-template-columns:minmax(5.6ch,max-content) minmax(0,1fr);column-gap:13px;
}
:is(.footer-legal,.form-policy,.news-pagination,.course-media-heading,.map-card,.way-panel) a svg {
 vertical-align:middle;flex-shrink:0;display:inline-block;
}
@media(max-width:680px) {
 #header.header:is([data-surface="glass"],[data-surface="glass-scrolled"]) {
  background:linear-gradient(110deg,#9a2d1d,#b93f23);
  color:#fff;box-shadow:none;border-color:transparent;
 }
 .about-glass .about-grid > :is(.about-copy,.about-photo,.about-facts) { grid-column:1;grid-row:auto; }
 .catalog-glass-toolbar {
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 9px;margin-top:15px;
 }
 .catalog-glass-toolbar .tabs { grid-column:1/-1;margin-bottom:3px; }
 .catalog-glass-toolbar .catalog-summary { grid-column:1;grid-row:2;margin:0;min-width:0;align-self:center; }
 .catalog-glass-toolbar .catalog-glass-search { grid-column:2;grid-row:2; }
 .schedule-glass .week-day-head { justify-content:flex-start;min-height:44px;font-size:15px; }
 .schedule-glass .week-grid .week-card {
  grid-template-columns:minmax(5.6ch,max-content) minmax(0,1fr);
  column-gap:13px;
 }
 .schedule-glass .week-grid .week-card strong,.schedule-glass .schedule-day-lesson strong {
  min-width:0;overflow-wrap:anywhere;
 }
 .schedule-glass .schedule-shell .day-button { min-height:43px;font-size:13px;padding-inline:13px; }
}

.catalog-search-disclosure[open] { display:flex;align-items:center;gap:6px; }
.catalog-search-disclosure[open] .search {
 position:static;order:-1;min-height:36px;width:clamp(95px,20vw,220px);
 transform:none;animation:catalog-field-reveal .26s ease-out both;
}
@keyframes catalog-field-reveal { from { opacity:0;translate:6px 0; } to { opacity:1;translate:0 0; } }
.catalog-search-disclosure[open] .search:focus-within { outline-offset:0; }
.schedule-glass .week-grid { grid-template-columns:repeat(var(--week-columns,7),minmax(0,1fr));min-width:0;gap:8px; }
.schedule-glass .week-grid .week-card { min-width:0;overflow-wrap:anywhere;align-content:center; }
.schedule-glass .week-grid .week-day-head { gap:4px;font-size:clamp(13px,1.15vw,16px);line-height:1.2; }
.schedule-glass .week-card strong { line-height:1.28; }
.slot-group { font-size:.82em;font-weight:500;color:#62473b; }
.schedule-glass .unscheduled a {
 display:inline-flex;padding:8px 12px;border-radius:12px;color:#51271a;
 background:#fff7f1dc;border:1px solid #fff9;font-size:14px;
}
.schedule-glass .unscheduled a:hover { background:#fff5e8; }
.schedule-glass .filter-popover :is(.schedule-bar,.field,.select-control,input,select) { box-sizing:border-box;min-width:0;max-width:100%; }
.schedule-glass .filter-popover .schedule-bar { grid-template-columns:repeat(2,minmax(0,1fr)); }
.schedule-glass .filter-popover :is(#schedule-from,#schedule-to) { display:block;width:100%;font-variant-numeric:tabular-nums; }
#resurs-screen-age {
 height:calc(var(--phone-stage-height) - 118px);
 overflow:hidden;
}

#resurs-screen-age .device-content { height:100%;display:flex;flex-direction:column; }
#resurs-screen-age .device-content > :not(.age-result) { flex:none; }
#resurs-screen-age .age-result { flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;align-content:start; }

.demo-schedule-tools { display:flex;gap:5px;align-items:center;margin-bottom:5px; }
.demo-schedule-tools .seg,.demo-schedule-tools > span {
 display:inline-flex;gap:3px;border:1px solid #fff9;background:#ffe4d8;border-radius:99px;padding:2px;color:#543022;font-size:11px;
}
.demo-schedule-tools > span { padding:5px 8px; }
.demo-schedule-tools .seg button { padding:4px 8px;border:0;border-radius:99px;font-size:11px; }
.demo-schedule-tools .seg button.active { color:#fff;background:#9e311c; }
.phone-demo-page .demo-catalog-site { display:grid;grid-template-columns:minmax(0,1fr);gap:8px; }
.phone-demo-page .demo-catalog-site .photo-course { min-height:100px; }
.phone-demo-page .demo-catalog-site .photo-course-link { min-height:120px; }
.phone-demo-page .demo-catalog-site .photo-course h3 { font-size:14px; }
.phone-demo-page .catalog-glass-toolbar .tab { min-height:26px;padding:4px 6px;font-size:10px; }
.demo-site-search {
 display:flex;gap:6px;align-items:center;min-height:29px;margin:5px 0 7px;padding:4px 8px;
 background:#fff7ef;color:#47281d;border-radius:99px;font-size:12px;
}
.phone-demo-page .demo-booking-card { width:100%;border-radius:15px;padding:8px 9px;color:#fff; }
.demo-booking-card .modal-head { position:static;padding:0;border:0;background:none; }
.demo-booking-card .enquiry-single > p { margin:4px 0 6px;font-size:9px;line-height:1.25; }
.demo-booking-card .enquiry-single .fields { grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 7px; }
.demo-booking-card .enquiry-single label { font-size:9px;line-height:1.2; }
.demo-booking-card .enquiry-single .field :is(input,select,textarea) {
 min-height:24px;font-size:9px;padding:4px 6px;border-radius:6px;
}
.demo-booking-card .enquiry-single .field .select-control select { padding-inline-end:12px; }
.demo-booking-card .select-control::after { width:4px;height:4px;inset-inline-end:6px; }
.demo-booking-card .enquiry-single textarea { resize:none;height:25px; }
.demo-booking-card .enquiry-single .check { margin-top:5px;font-size:8px;gap:5px; }
.demo-booking-card .enquiry-single .check input { width:11px;height:11px;flex:none; }
.demo-booking-card .enquiry-single .form-actions { margin-top:5px; }
.demo-booking-card .enquiry-single .btn { min-height:25px;padding:4px 8px;font-size:10px; }

@media(max-width:680px) {
 .catalog-glass-toolbar .catalog-glass-search { align-self:start;translate:0 -8px; }
 .catalog-glass-toolbar:has(.catalog-search-disclosure[open]) .catalog-glass-search {
  grid-column:1/-1;grid-row:3;justify-self:stretch;translate:none;
 }
 .catalog-glass-toolbar .catalog-glass-search:has(.catalog-search-disclosure[open]) .catalog-search-disclosure { flex:1;min-width:0; }
 .catalog-glass-toolbar .catalog-search-disclosure[open] .search { flex:1;width:100%; }
 .schedule-glass .week-grid { grid-template-columns:minmax(0,1fr);gap:15px; }
 .schedule-glass .week-grid .week-card,.schedule-glass .schedule-list .week-card {
  min-height:53px;padding:8px 11px;row-gap:0;line-height:1.24;
 }
 .schedule-glass .filter-popover {
  position:static;grid-column:1/-1;grid-row:3;width:100%;box-sizing:border-box;padding:9px;border-radius:14px;
 }
 .schedule-glass .filter-popover .schedule-bar { gap:5px 8px;margin-bottom:6px; }
 .schedule-glass .filter-popover .field { gap:3px; }
 .schedule-glass .filter-popover .field :is(input,select),
 .schedule-glass .filter-popover .schedule-search-pill { min-height:32px;padding-block:4px; }
 .schedule-glass .filter-popover .filter-actions { gap:6px;margin-top:6px; }
 .schedule-glass .unscheduled .row { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px; }
 .schedule-glass .unscheduled a { align-items:center;min-height:44px;line-height:1.2;overflow-wrap:anywhere; }
 .course-detail .course-photo-strip { overflow-x:auto;overscroll-behavior-inline:contain; }
 #modal:has(.booking-overlay-card)[open] { padding-top:max(52px,calc(env(safe-area-inset-top) + 44px)); }
 .course-showcase .course-intro { display:contents; }
 .course-showcase { gap:9px; }
 .course-showcase :is(.eyebrow,h2,.lead,.row,.course-portrait) { min-width:0; }
 .course-showcase h2 { grid-row:2;font-size:clamp(26px,8vw,41px);margin:0; }
 .course-showcase .eyebrow { grid-row:1; }
 .course-showcase .course-portrait { grid-row:3; }
 .course-showcase .course-portrait img { max-height:210px; }
 .course-showcase .lead { grid-row:5;margin:0; }
 .course-showcase .row { grid-row:4; }
 .course-showcase .row .btn { padding:7px 10px;min-height:38px;font-size:12px; }
}


.booking-choice > span { color:#fff8f2;font-size:14px;font-weight:700; }
.booking-select { min-width:0; }
.booking-select-trigger {
 display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;height:54px;text-align:start;color:inherit;
 padding:7px 12px;border:1px solid #ffc8aeaa;border-radius:10px;background:#65261855;cursor:pointer;
}
.booking-select-trigger::after {
 content:"";width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;
 transform:rotate(45deg);flex:none;
}
.booking-select-trigger[aria-expanded="true"]::after { transform:rotate(225deg); }
.booking-options { max-height:min(240px,36dvh);overflow:auto;overscroll-behavior:contain;margin-top:5px;
 border:1px solid #ffc8aeaa;border-radius:10px;background:#fff5ee;color:#432018;
}
.booking-options button { display:block;width:100%;min-height:42px;border:0;background:transparent;text-align:start;
 color:inherit;padding:7px 12px;overflow-wrap:anywhere;
}
.booking-options button:is(:hover,[aria-pressed="true"]) { background:#f5ceb9; }
.booking-options button:focus-visible { outline-offset:-3px; }
.news-unread[hidden] { display:none!important; }


body:has(#main > .contacts-glass) #header.header:is([data-surface="dark"],[data-surface="page"]) {
 border-bottom-color:transparent;box-shadow:none;
 -webkit-backdrop-filter:none;backdrop-filter:none;
}
body:has(#main > .contacts-glass[data-contact-surface="dark"]) #header.header[data-surface="dark"] { background:#111; }
body:has(#main > .contacts-glass[data-contact-surface="light"]) #header.header[data-surface="page"] { background:#fcf8f4; }

/* Render the phone at its actual size, including when its host window is resized. */
#age-feature .app-phone-stage .device-showcase { transform:none;animation:none; }
.course-readable { min-height:0;padding:clamp(15px,2.6vw,26px); }
.course-readable .course-summary { margin:8px 0 0; }
.course-readable .course-more { margin-top:11px;padding-top:9px;border-color:#fff6; }
.course-readable .course-description { color:#2d1c17;background:#fff4ec;border-radius:14px;padding:clamp(12px,2.2vw,20px);margin-top:12px; }
.course-readable .structured-copy { margin-top:0; }
/* Кнопки превью телефона: приглушённый цвет, мягкая кромка и матовое стекло. */
.app-feature-tabs .location-glass-link {
 color:#fff;
 background:linear-gradient(135deg,#dc591deb,#c94113f5);
 border-color:#f1c0a9b3;
 box-shadow:inset 0 1px 1px #fff3;
 -webkit-backdrop-filter:blur(16px);
 backdrop-filter:blur(16px);
}
.app-feature-tabs .location-glass-link::after { content:none; }
.app-feature-tabs .location-glass-link:hover {
 background:linear-gradient(135deg,#dc591df0,#c94113f8);
 box-shadow:inset 0 1px 1px #fff3;
 transform:none;
}
.app-feature-tabs .location-glass-link[aria-pressed="true"] {
 border-color:#fff0e1;
 box-shadow:inset 0 1px 2px #fff5;
}
.booking-overlay-card .enquiry-single .fields { align-items:start; }
.booking-overlay-card .booking-choice { display:grid;align-content:start;grid-template-columns:minmax(0,1fr);gap:6px; }
.booking-select { position:relative; }
.booking-select:has([aria-expanded="true"]) { z-index:3; }
.booking-select .booking-options {
 position:absolute;top:calc(100% + 5px);inset-inline:0;margin:0;
 background:linear-gradient(155deg,#fff4e8f0,#ffd8c2e8);
 border-color:#fff8;box-shadow:inset 0 1px 0 #fffc,0 12px 26px #51231165;
 -webkit-backdrop-filter:blur(18px) saturate(1.2);
 backdrop-filter:blur(18px) saturate(1.2);
 scrollbar-width:thin;scrollbar-color:#ae664c transparent;
}
.booking-select .booking-options[hidden] { display:none; }
.booking-choice-value {
 display:flex;align-items:center;min-height:54px;padding:9px 12px;border:1px solid #ffc8aeaa;
 border-radius:10px;background:#65261855;color:#fff8f2;
}
.booking-select-trigger > span {
 min-width:0;overflow:hidden;overflow-wrap:anywhere;line-height:1.2;
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
}
#header.header[data-scrolled="false"] {
 box-shadow:none;border-bottom-color:transparent;
 -webkit-backdrop-filter:none;backdrop-filter:none;
}
#header.header[data-surface="page"][data-scrolled="false"] { background:var(--bg); }
#header.header[data-surface="hero"][data-scrolled="true"],
#header.header[data-surface="glass-scrolled"] {
 -webkit-backdrop-filter:blur(20px) saturate(1.18);
 backdrop-filter:blur(20px) saturate(1.18);
}
#header.header[data-surface="hero"][data-scrolled="true"] {
 background:linear-gradient(112deg,#a52c14cc,#df4909b8 58%,#f15d08b8);
}
body:has(#main > .contacts-glass[data-contact-surface="light"]) #header.header[data-scrolled="false"] { background:#fcf8f4; }
body:has(#main > .contacts-glass[data-contact-surface="dark"]) #header.header[data-scrolled="true"][data-surface="dark"] { background:#111d; }
body:has(#main > .contacts-glass[data-contact-surface="light"]) #header.header[data-scrolled="true"][data-surface="page"] { background:#fcf8f4d9; }
body:has(#main > .contacts-glass) #header.header[data-scrolled="true"]:is([data-surface="dark"],[data-surface="page"]) {
 -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
}
@media(min-width:681px) {
 #header.header[data-surface="glass"][data-scrolled="false"] { background:transparent; }
}
.course-showcase .course-intro .row { align-self:start; }

#header.header[data-surface="hero"][data-scrolled="false"] { background:transparent; }
body:has(#main > .hero) #main {
 margin-top:calc(-1 * (var(--header-height) + env(safe-area-inset-top,0px)));
}
body:has(#main:empty) #header.header[data-surface="hero"][data-scrolled="false"] {
 background:#a52c14;
}

.course-showcase .course-intro .row .course-save-icon,
.course-showcase .row .course-save-icon {
 display:inline-grid;place-items:center;flex:none;width:44px;min-width:44px;height:44px;
 padding:0;border-radius:50%;
}
.course-save-icon[aria-pressed="true"] svg { fill:currentColor; }

.catalog-glass-search [hidden] { display:none!important; }
.catalog-search-toggle,.catalog-search-close {
 display:grid;place-items:center;flex:none;width:42px;height:42px;padding:0;
 color:#58271e;border:1px solid #ffffffa4;border-radius:50%;background:#fff0e4cc;cursor:pointer;
}
.catalog-search-close { width:32px;height:32px;border:0;background:transparent; }
.catalog-glass-toolbar .catalog-search-field {
 display:flex;align-items:center;flex:1;min-width:0;width:clamp(150px,24vw,310px);
 min-height:42px;padding:0 5px 0 13px;border-radius:99px;
}
.catalog-glass-toolbar .catalog-search-field input { flex:1;min-width:0;font-size:16px; }
.catalog-glass-toolbar .catalog-search-field input::-webkit-search-cancel-button { display:none; }
#age-feature .device-status {
 display:grid;grid-template-columns:minmax(0,1fr) 30% minmax(0,1fr);
 align-items:center;padding-inline:7%;height:42px;
}
#age-feature .device-status span { font-size:clamp(12px,3.3vw,16px);transform:none; }
#age-feature .device-status svg { width:clamp(52px,17vw,66px);max-width:100%;height:auto; }
html:has(#main > .hero),html:has(#main:empty) { background:#a52c14;overscroll-behavior-y:none; }
@media(max-width:680px) {
 .catalog-glass-toolbar:has(.catalog-search-field:not([hidden])) .catalog-glass-search {
  grid-column:1/-1;grid-row:3;width:100%;margin:0 0 9px;translate:none;
 }
 .catalog-glass-toolbar .catalog-search-field { width:auto; }
 .catalog-search-toggle { width:36px;height:36px; }
 .hero .hero-work img {
  height:clamp(400px,150vw,740px);
  transform:none;scale:none;animation:none;
 }
}



/* Paint the viewport edge, sticky header and section from one palette. */
html:has(#main > .glass-route:not(.contacts-glass)) {
 --section-orange:linear-gradient(90deg,#ad3518,#c04317 48%,#cf4c17);
 --section-orange-glass:linear-gradient(90deg,#ad3518c9,#c04317c9 48%,#cf4c17c9);
 background:#ad3518;
 overscroll-behavior-y:none;
}
#main > .glass-route:not(.contacts-glass) { background:var(--section-orange); }
#main > .glass-route:not(.contacts-glass)::before { content:none; }
body:has(#main > .glass-route:not(.contacts-glass)) > #header.header:is([data-surface="glass"],[data-surface="glass-scrolled"]) {
 border-bottom:0;
}
body:has(#main > .glass-route:not(.contacts-glass)) > #header.header[data-surface="glass"][data-scrolled="false"] {
 background:var(--section-orange);
}
body:has(#main > .glass-route:not(.contacts-glass)) > #header.header[data-surface="glass-scrolled"] {
 background:var(--section-orange-glass);
 -webkit-backdrop-filter:blur(23px) saturate(1.18);
 backdrop-filter:blur(23px) saturate(1.18);
}
body:has(#main > .glass-route:not(.contacts-glass)) > #header.header:is([data-surface="glass"],[data-surface="glass-scrolled"])::before {
 content:"";
 position:absolute;
 inset:-1px 0 auto;
 height:1px;
 background:var(--section-orange);
 pointer-events:none;
}
body:has(#main > .glass-route:not(.contacts-glass)) > .progress { background:#e96d31; }
#header.header[data-surface="hero"][data-scrolled="true"] {
 -webkit-backdrop-filter:blur(23px) saturate(1.18);
 backdrop-filter:blur(23px) saturate(1.18);
}
@media (max-width:680px), (pointer:coarse) {
 .glass-route .site-breadcrumb a:first-child {
  background:#fae6dc;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
 }
}

.app-phone-stage { grid-template-columns:minmax(0,1fr); }
#age-feature .device-showcase,.device-showcase .device-screen { min-width:0; }

.course-showcase .course-intro > .row {
 inline-size:100%;justify-self:stretch;align-items:center;flex-wrap:nowrap;
}
.course-showcase .course-intro > .row .btn.primary {
 flex:1;min-inline-size:0;min-block-size:44px;justify-content:space-between;
}
.catalog-glass-search .catalog-saved { border:0; }

@media(max-width:680px) {
 /* The mobile browser toolbar can change viewport height mid-swipe. */
 .hero .hero-grid {
  min-height:clamp(620px,calc(180vw + 54px),900px);
 }
}

/* Stable viewport geometry for the page and the phone preview. */
html { scrollbar-gutter:stable; }
.contacts-glass[data-contact-surface] .site-breadcrumb a:first-child {
 background:#b63e19;color:#fff;
}
.contacts-glass[data-contact-surface] .site-breadcrumb a:first-child:hover {
 background:#973117;color:#fff;
}

/* Невысокий экран в альбомной ориентации: шапка занимает место в потоке. */
@media (orientation:landscape) and (max-height:540px) and (max-width:1120px) {
 body:has(#main > .glass-route) #main { margin-top:0; }
 #main > .section.glass-route:not(.feature):not(.studio-feature) { padding-top:12px; }
 #main > .site-breadcrumb { margin-block-start:22px; }
}
@media (max-width:680px) {
 .hero .hero-work img {
  -webkit-mask-image:linear-gradient(to bottom,transparent,#000 32px,#000 76%,transparent);
  mask-image:linear-gradient(to bottom,transparent,#000 32px,#000 76%,transparent);
 }
}
#age-feature .device-showcase {
 container-type:inline-size;
}
#age-feature .device-status {
 grid-template-columns:minmax(0,1fr) 29% minmax(0,1fr);
 padding-inline:6%;
 height:43px;
 top:0;
}
#age-feature .device-status span {
 font:650 clamp(12px,4.2cqw,16px)/1 system-ui,sans-serif;
 font-variant-numeric:tabular-nums;
}
#age-feature .device-status svg {
 width:clamp(46px,19cqw,70px);
 max-width:100%;height:auto;
}
#age-feature .device-island {
 top:21.5px;
 transform:translate(-50%,-50%);
}
#age-feature .app-phone-stage .phone-tour {
 inset:43px 0 auto;
 width:100%;
 height:calc(var(--phone-stage-height) - 65px);
 max-height:none;
}
#age-feature .device-showcase,
#age-feature .device-screen {
 transition:none;
}

.booking-overlay-card { position:relative; }
#modal:has(.booking-overlay-card) #modal-title:focus { outline:none; }
@media (max-width:680px), (pointer:coarse) {
 #modal:has(.booking-overlay-card) .modal-head { padding-inline-end:62px; }
 #modal .booking-dismiss {
  position:absolute;top:8px;right:8px;
  display:grid;place-items:center;
  padding:0;border:0;border-radius:0;background:transparent;
  box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;
 }
 #modal .booking-dismiss:is(:hover,:active) { background:transparent;box-shadow:none; }
}
#modal:has(.booking-overlay-card)[open] {
 padding-top:max(18px,env(safe-area-inset-top,0px));
}
 .course-showcase .course-intro > .row .course-save-icon,
 .course-showcase .course-intro > .row .course-save-icon svg {
  animation:none;
  transition:none;
  transform:none;
  translate:none;
  scale:none;
  rotate:none;
 }
 .course-showcase .course-intro > .row .course-save-icon {
  min-block-size:44px;
  box-sizing:border-box;
  place-content:center;
  touch-action:manipulation;
 }
 .course-showcase .course-intro > .row .course-save-icon:is(:hover,:active) {
  background:#561e2966;
 }
 .course-showcase .course-intro > .row .course-save-icon svg {
  display:block;
  inline-size:18px;
  block-size:18px;
 }

@media (prefers-reduced-motion:no-preference) {
 .chalk-lines path { transition:stroke 1s ease; }
 .paint-heart-drips path,.paint-heart-drips path:nth-child(even) {
  transition:opacity 1s ease,transform 1s ease;
 }
}

@media (hover:none) {
 .photo-course:hover .photo-course-link img { transform:none; }
}
@media (max-width:450px) {
 .booking-overlay-card .enquiry-single .fields {
  grid-template-columns:minmax(0,1fr);
 }
}

/* Switch the preview content without scaling the screen or its background. */
#age-feature .app-phone-screen:not([hidden]),
#age-feature .phone-demo-screen {
 animation:none;
 transform:none;
}
#age-feature .phone-tour-site { min-inline-size:100%; }

@media (max-width:680px) {
 .schedule-glass .week-grid .week-day-head { font-size:17px; }
}

.schedule-glass .filter-popover[hidden] { display:none; }
.schedule-glass .schedule-filter-toggle #filter-count:empty { display:none; }
@media (max-width:680px) {
 .schedule-glass .schedule-glass-tools {
  display:grid;grid-template-columns:minmax(0,1fr);align-items:start;
 }
 .schedule-glass .schedule-actions {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  grid-column:1;grid-row:2;width:100%;margin:0;gap:7px;
 }
 .schedule-glass .schedule-actions :is(.btn,.schedule-filter-toggle) {
  display:flex;align-items:center;justify-content:center;
  min-width:0;height:100%;min-height:42px;padding:6px 3px;
  font-size:clamp(11px,3.1vw,13px);line-height:1.2;
  white-space:normal;text-align:center;overflow-wrap:anywhere;
 }
 .schedule-glass .schedule-filter-toggle::after { margin-inline-start:1px; }
 .schedule-glass .schedule-glass-tools .seg { grid-column:1;grid-row:1;width:100%; }
}
@media (min-width:681px) {
 .schedule-glass .schedule-actions { display:contents; }
 .schedule-glass .schedule-actions [data-action="share-schedule"] { margin-inline-start:auto; }
}
/* Keep the dark glass on one layer as the sticky header leaves the studio. */
#header.header:is([data-surface="studio"],[data-surface="concealed"],[data-surface="footer"]) {
 background:transparent;border-color:transparent;color:#fff;box-shadow:none;
 -webkit-backdrop-filter:none;backdrop-filter:none;
}
#header.header:is([data-surface="studio"],[data-surface="concealed"],[data-surface="footer"])::before {
 content:"";position:absolute;inset:-1px 0 0;z-index:-1;
 background:#141313c7;
 -webkit-backdrop-filter:blur(24px) saturate(1.12);
 backdrop-filter:blur(24px) saturate(1.12);
 pointer-events:none;
}
#header.header[data-surface="concealed"]:not(:focus-within):not(:has(.mobile-nav.open)) {
 transform:translate3d(0,calc(-100% - 1px),0);
}
#header.header[data-surface="concealed"] :is(.nav a,.brand-name) { color:#f7ead7; }

.course-showcase .course-summary-desktop,
.course-more .course-about-desktop { display:none; }

.course-showcase .course-intro .eyebrow::before {
 background:#9fdb9b;
 box-shadow:0 0 0 3px #b4e5a825;
}
@media (min-width:681px) {
 .course-showcase .course-intro > .row { width:auto; }
 .course-showcase .course-intro > .row .btn.primary {
  flex:0 1 auto;justify-content:center;
  padding-inline-end:calc(1em + clamp(8px,1vw,16px));
 }
 .course-showcase .course-summary-desktop {
  display:block;
  margin:clamp(12px,1.65vw,22px) 0 0;
  font-size:clamp(16px,1.4vw,20px);
  line-height:1.65;
 }
 .course-readable .course-about-mobile { display:none; }
 .course-more .course-about-desktop { display:inline; }
 .course-readable .course-more { margin:0;padding:0;border:0; }
 .course-readable .course-more > summary {
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  list-style:none;font-size:clamp(20px,2vw,28px);line-height:1.25;
 }
 .course-readable .course-more > summary::-webkit-details-marker { display:none; }
 .course-readable .course-more > summary::after {
  content:"";
  width:10px;height:10px;margin-inline-end:5px;
  border:solid currentColor;border-width:0 2px 2px 0;
  transform:translateY(-2px) rotate(45deg);
 }
 .course-readable .course-more[open] > summary::after {
  transform:translateY(3px) rotate(225deg);
 }
}

@media (max-width:680px) {
 .schedule-glass {
  --schedule-gutter:13px;
  --schedule-control-glass:linear-gradient(170deg,#ffffffdf,#ffffffb8);
  --schedule-control-edge:#ffffffbd;
  --schedule-control-light:inset 0 1px 1px #fffc,inset 0 -1px 1px #fff4,0 2px 6px #32151220;
 }
 .schedule-glass > .container { width:calc(100% - 2 * var(--schedule-gutter)); }
 .schedule-glass .schedule-shell .daystrip {
  margin-inline:calc(-1 * var(--schedule-gutter));
  padding-inline:var(--schedule-gutter);
  scroll-padding-inline:var(--schedule-gutter);
  overscroll-behavior-inline:contain;
 }
 .schedule-glass .schedule-glass-tools :is(.seg,.schedule-filter-toggle,.schedule-actions .btn),
 .schedule-glass .filter-popover {
  background:var(--schedule-control-glass);
  border-color:var(--schedule-control-edge);
  box-shadow:var(--schedule-control-light);
  -webkit-backdrop-filter:blur(16px) saturate(.72);
  backdrop-filter:blur(16px) saturate(.72);
 }
 .schedule-glass .filter-popover { background:linear-gradient(160deg,#fffffff3,#ffffffe3); }
 .schedule-glass .schedule-glass-tools .seg button[aria-pressed="true"] {
  color:#fff;
  background:linear-gradient(165deg,#3d251bb3,#331b15ce);
  box-shadow:inset 0 1px 1px #fff4,inset 0 -1px 2px #24111039;
 }
}

/* Расписание: единый шрифт кнопок на телефоне и более заметный фильтр на компьютере. */
@media (max-width:680px) {
 .schedule-glass .schedule-glass-tools .seg button,
 .schedule-glass .schedule-actions :is(.btn,.schedule-filter-toggle) {
  font-family:inherit;
  font-size:clamp(11px,3.1vw,13px);
  font-weight:700;
 }
}
@media (min-width:681px) {
 .schedule-glass .schedule-glass-tools .schedule-filter-toggle { font-weight:750; }
}

/* Матовое стекло дней недели: сохраняем фон и добавляем мягкую внутреннюю кромку. */
#main .schedule-glass .schedule-shell .day-button {
 -webkit-backdrop-filter:blur(10px) saturate(.94);
 backdrop-filter:blur(10px) saturate(.94);
 box-shadow:inset 0 1px 1px #ffffff3b,inset 0 -1px 2px #ffffff1f;
}
#main .schedule-glass .schedule-shell .day-button[aria-pressed="true"] {
 box-shadow:inset 0 1px 2px #ffffff52,inset 0 -1px 2px #ffffff2b,0 2px 6px #461c192b;
}
@media (max-width:680px), (pointer:coarse) {
 #main .schedule-glass .schedule-shell .day-button {
  -webkit-backdrop-filter:blur(14px) saturate(.92);
  backdrop-filter:blur(14px) saturate(.92);
  box-shadow:inset 0 1px 2px #ffffff53,inset 0 -1px 3px #ffffff29;
 }
 #main .schedule-glass .schedule-shell .day-button[aria-pressed="true"] {
  box-shadow:inset 0 1px 2px #ffffff6b,inset 0 -1px 3px #ffffff30,0 2px 6px #461c192b;
 }
}


/* Общая оболочка поиска каталога и расписания: одна рамка, одинаковый ввод и очистка. */
.catalog-glass-toolbar .class-search-field,
.schedule-glass .filter-popover .class-search-field {
 display:flex;align-items:center;gap:8px;
 min-width:0;min-height:42px;padding:0 5px 0 13px;
 border:1px solid var(--line);border-radius:99px;
 background:#fff9f4e8;color:#3b221a;
}
.schedule-glass .filter-popover .class-search-field { width:100%; }
.catalog-glass-toolbar .class-search-field:focus-within,
.schedule-glass .filter-popover .class-search-field:focus-within {
 outline:2px solid #ffcfad;outline-offset:2px;
}
.catalog-glass-toolbar .class-search-field input,
.schedule-glass .filter-popover .class-search-field input {
 appearance:none;-webkit-appearance:none;
 display:block;flex:1;width:100%;min-width:0;min-height:40px;
 margin:0;padding:0;border:0;border-radius:0;
 background:transparent;color:#3b221a;
 font:inherit;font-size:16px;line-height:normal;
 outline:none;box-shadow:none;
}
.catalog-glass-toolbar .class-search-field input:focus,
.schedule-glass .filter-popover .class-search-field input:focus {
 outline:none;border:0;box-shadow:none;
}
.class-search-field input::-webkit-search-decoration,
.class-search-field input::-webkit-search-cancel-button { -webkit-appearance:none;display:none; }
.class-search-field .catalog-search-close {
 flex:none;align-self:center;min-height:32px;min-width:32px;
}

/* Фильтры расписания: спокойное выделение ввода без двойной рамки. */
.schedule-glass .filter-popover .field :is(input,select):focus {
 outline:2px solid #ffcfad;outline-offset:2px;
 border-color:#d5735155;box-shadow:none;
}
.schedule-glass .filter-popover #schedule-age { appearance:textfield;-moz-appearance:textfield; }
.schedule-glass .filter-popover #schedule-age::-webkit-inner-spin-button,
.schedule-glass .filter-popover #schedule-age::-webkit-outer-spin-button {
 -webkit-appearance:none;margin:0;
}
/* Избранное в расписании: форма и положение кнопки постоянны. */
.schedule-glass .filter-actions [data-action="schedule-saved"],
.schedule-glass .filter-actions [data-action="schedule-saved"] svg {
 transform:none;translate:none;scale:none;rotate:none;
 animation:none;transition:none;
}
.schedule-glass .filter-actions [data-action="schedule-saved"] {
 display:inline-grid;place-items:center;box-sizing:border-box;
 width:42px;height:38px;min-width:42px;min-height:38px;padding:0;
}
.schedule-glass .filter-actions [data-action="schedule-saved"] svg {
 display:block;width:17px;height:17px;
}
.schedule-glass .filter-actions [data-action="schedule-saved"][aria-pressed="true"] svg {
 fill:currentColor;
}
/* Названия в календаре модели телефона: чуть крупнее и на лёгком стекле. */
#age-feature .app-phone-screen .device-appointments a:not(.device-full-day) {
 align-items:center;font-size:14px;font-weight:650;line-height:1.4;
 background:linear-gradient(145deg,#ffffffb8,#ffffff6b);
 border-color:#e5bbaa9e;border-radius:12px;
 box-shadow:inset 0 1px 1px #ffffffb3,inset 0 -1px 1px #ffffff4d;
 -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
}
#age-feature .app-phone-screen .device-appointments a:not(.device-full-day) > span {
 min-width:0;overflow-wrap:anywhere;
}

/* Формы контактов и подписки: одинаковое стекло у кнопок отправки. */
.contacts-glass #contact-form button[type="submit"],
.contact-newsletter #newsletter-form button[type="submit"] {
 color:#fff;
 background:#ffffff20;
 border:1px solid #ffffff7a;
 border-radius:99px;
 box-shadow:none;
 font-size:14px;min-height:44px;
 -webkit-backdrop-filter:blur(12px);
 backdrop-filter:blur(12px);
}
.contacts-glass #contact-form button[type="submit"]:hover,
.contact-newsletter #newsletter-form button[type="submit"]:hover {
 background:#ffffff30;
}

/* Дни календаря в модели телефона: лёгкое матовое стекло и заметный выбранный день. */
#age-feature .app-phone-screen .desk-calendar .device-days button {
 color:#fff;
 background:linear-gradient(135deg,#c45634,#a63220);
 border:1px solid #ff9b755e;
 border-radius:11px;
 box-shadow:inset 0 1px 1px #ffffff3b,inset 0 -1px 2px #ffffff1f;
 -webkit-backdrop-filter:blur(10px) saturate(.94);
 backdrop-filter:blur(10px) saturate(.94);
}
#age-feature .app-phone-screen .desk-calendar .device-days button[aria-pressed="true"] {
 color:#fff;
 /* Выбранный день: лёгкий подъём и наружная светлая кромка, как в основном расписании. */
 background:linear-gradient(110deg,#c46a40,#b14d2f 58%,#a63c24);
 border-color:#ffe3ce;
 box-shadow:inset 0 1px 1px #ffffff59,0 0 0 1px #ffe3ce66,0 3px 8px #6a30252b;
 transform:translateY(-3px);
}
@media (max-width:680px) and (orientation:portrait) {
 body:has(#main > .glass-route) > #header .header-inner {
  transform:translateY(2px);
 }
}

@media (prefers-reduced-motion:no-preference) {
 #age-feature .app-phone-screen .desk-calendar .device-days button {
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;
 }
}

/* Подтверждение записи на компьютере и телефоне. */
#modal:has(.booking-confirmation-card) {
 inset:0;margin:0;width:100%;height:100%;max-width:none;max-height:none;
 padding:max(18px,env(safe-area-inset-top,0px)) 18px;
 border:0;border-radius:0;background:transparent;box-shadow:none;
 overflow:auto;overscroll-behavior:contain;
}
#modal:has(.booking-confirmation-card)[open] {
 display:flex;align-items:safe center;justify-content:center;
}
#modal:has(.booking-confirmation-card)::backdrop {
 background:#2c19146b;
 -webkit-backdrop-filter:blur(24px) saturate(.85);
 backdrop-filter:blur(24px) saturate(.85);
}
.booking-confirmation-card {
 position:relative;flex:none;width:min(100%,450px);padding:36px 26px 28px;
 border:1px solid #ffc3a484;border-radius:24px;
 color:#fff8f2;text-align:center;
 background:radial-gradient(ellipse at 72% 28%,#ce4a1b,#a8321c 59%,#912a1c);
 box-shadow:none;text-shadow:none;
}
.booking-confirmation-card > svg { display:block;margin:0 auto 16px; }
.booking-confirmation-card h3 { margin:0;font-size:clamp(23px,5.5vw,30px);line-height:1.2;outline:none; }
.booking-confirmation-card p { margin:0; }
.booking-confirmation-card .booking-confirmation-subtitle { margin-top:10px;font-size:18px; }
.booking-confirmation-card .booking-confirmation-note { margin-top:16px;font-size:14px;line-height:1.5;color:#fff1e7; }
.booking-confirmation-card .booking-confirmation-delivery { margin-top:12px;font-size:13px;line-height:1.5;color:#fff1e7; }
.booking-confirmation-close {
 position:absolute;right:8px;top:8px;display:grid;place-items:center;
 width:36px;height:36px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;
}
