/* ============================================================
   JÁDRO — pilates & pohybové studio · Praha-Karlín
   Liquid-glass editorial system · light (default) + dark
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  /* light (default) */
  --bg:        #faf3f0;
  --bg-2:      #f3e6e1;
  --bg-3:      #efddd8;
  --ink:       #2b2026;
  --ink-soft:  #6e5b62;
  --ink-faint: #9a8990;
  --line:      rgba(43, 32, 38, .12);
  --line-soft: rgba(43, 32, 38, .07);

  --rose:      #cf7187;   /* primary accent */
  --rose-deep: #b75a73;
  --rose-soft: #e7a6b6;
  --peach:     #e2a682;
  --plum:      #9c7aa0;

  --card:      #ffffff;
  --card-2:    rgba(255,255,255,.66);
  --glass:     rgba(255,255,255,.55);
  --glass-brd: rgba(255,255,255,.72);
  --glass-sh:  0 18px 50px -22px rgba(120, 60, 75, .42);

  --nav-bg:    rgba(250,243,240,0);
  --nav-bg-s:  rgba(250,243,240,.72);
  --nav-brd:   rgba(43,32,38,0);
  --nav-brd-s: rgba(43,32,38,.08);

  --on-rose:   #fff7f9;
  --shadow:    0 24px 60px -28px rgba(120, 55, 72, .40);
  --shadow-sm: 0 10px 28px -16px rgba(120, 55, 72, .34);

  --glow-strength: .10;     /* cursor light over background */
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --spring: cubic-bezier(.34,1.56,.64,1);

  --font-d: "Fraunces", Georgia, serif;
  --font-b: "Manrope", system-ui, -apple-system, sans-serif;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg:        #1a1217;
  --bg-2:      #211720;
  --bg-3:      #271b25;
  --ink:       #f3e7eb;
  --ink-soft:  #c3a9b3;
  --ink-faint: #8d7480;
  --line:      rgba(243, 231, 235, .14);
  --line-soft: rgba(243, 231, 235, .08);

  --rose:      #e89db1;
  --rose-deep: #f0b0c0;
  --rose-soft: #b9637e;
  --peach:     #e0a682;
  --plum:      #b394b6;

  --card:      #241823;
  --card-2:    rgba(43,28,40,.62);
  --glass:     rgba(40,26,37,.5);
  --glass-brd: rgba(255,255,255,.10);
  --glass-sh:  0 22px 56px -26px rgba(0,0,0,.7);

  --nav-bg:    rgba(26,18,23,0);
  --nav-bg-s:  rgba(26,18,23,.74);
  --nav-brd:   rgba(243,231,235,0);
  --nav-brd-s: rgba(243,231,235,.10);

  --on-rose:   #2a1820;
  --shadow:    0 28px 70px -30px rgba(0,0,0,.75);
  --shadow-sm: 0 12px 30px -18px rgba(0,0,0,.6);

  --glow-strength: .16;
  color-scheme: dark;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.62;
  font-size: 17px;
  letter-spacing: .005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .6s var(--ease), color .6s var(--ease);
}
body.menu-open { overflow: hidden; }

h1,h2,h3,h4 {
  font-family: var(--font-d);
  font-weight: 380;
  font-optical-sizing: auto;
  line-height: 1.06;
  letter-spacing: -.012em;
  margin: 0;
  color: var(--ink);
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--rose); color: var(--on-rose); }

/* ---------- living background ---------- */
.bg-layer {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background: var(--bg);
  transition: background .6s var(--ease);
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  will-change: transform;
  transition: opacity .6s var(--ease);
}
[data-theme="dark"] .blob { opacity: .42; }
.blob.b1 { width: 46vw; height: 46vw; left: -8vw; top: -6vw;
  background: radial-gradient(circle at 30% 30%, var(--rose-soft), transparent 68%);
  animation: drift1 26s ease-in-out infinite; }
.blob.b2 { width: 40vw; height: 40vw; right: -10vw; top: 14vh;
  background: radial-gradient(circle at 60% 40%, var(--peach), transparent 66%);
  animation: drift2 32s ease-in-out infinite; }
.blob.b3 { width: 50vw; height: 50vw; left: 18vw; bottom: -18vw;
  background: radial-gradient(circle at 50% 50%, var(--plum), transparent 70%);
  animation: drift3 38s ease-in-out infinite; }
.bg-layer { transform: translate3d(calc(var(--px,0) * 14px), calc(var(--py,0) * 14px), 0); transition: transform .9s var(--ease); }

@keyframes drift1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(6vw,4vh) scale(1.12)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-5vw,5vh) scale(1.1)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(4vw,-4vh) scale(1.14)} }

/* faint grain so flat areas feel alive */
.bg-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="dark"] .bg-grain { opacity: .06; }

/* global cursor light */
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 1; pointer-events: none;
  width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, var(--rose-soft), transparent 60%);
  opacity: 0; mix-blend-mode: soft-light;
  transform: translate3d(var(--cx,-999px), var(--cy,-999px), 0);
  transition: opacity .6s var(--ease);
}
.cursor-glow.on { opacity: var(--glow-strength); }

/* ---------- layout ---------- */
.wrap { width: min(92%, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(48px, 6.2vw, 90px) 0; position: relative; }
.eyebrow {
  font-family: var(--font-b); font-weight: 700; font-size: 12.5px;
  letter-spacing: .26em; text-transform: uppercase; color: var(--rose-deep);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.eyebrow::before { content:""; width: 26px; height: 1.5px; background: var(--rose); display:inline-block; }
.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 60px); }
.section-head h2 { font-size: clamp(33px, 5vw, 56px); }
.section-head p { margin-top: 20px; color: var(--ink-soft); font-size: 18px; max-width: 56ch; }
.lead { color: var(--ink-soft); }

/* gradient ink accent (very subtle, principle 11) */
.grad {
  background: linear-gradient(95deg, var(--rose-deep), var(--plum) 55%, var(--rose-deep));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: .08em .04em; margin: -.08em -.04em;   /* descender safety */
  animation: inkflow 11s ease-in-out infinite;
}
@keyframes inkflow { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
.italic { font-style: italic; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px; font-weight: 700; font-size: 15px; line-height: 1.15;
  letter-spacing: .01em; overflow: hidden; isolation: isolate; text-align: center; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease), background .5s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  color: var(--on-rose);
  background: linear-gradient(120deg, var(--rose-deep), var(--rose) 38%, #e6a0b6 66%, var(--rose-deep));
  background-size: 220% 220%;
  box-shadow: var(--shadow-sm);
  animation: btnflow 6.5s ease-in-out infinite;
}
@keyframes btnflow { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -18px rgba(180,80,105,.6); }
.btn--ghost {
  color: var(--ink); background: var(--glass);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
}
.btn--ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn--block { width: 100%; justify-content: center; padding: 17px 28px; }
.btn--lg { padding: 18px 36px; font-size: 16px; }

/* reactive edge light on glass + buttons */
.glow { position: relative; }
.glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(150px circle at var(--mx,50%) var(--my,50%),
              rgba(255,255,255,.5), transparent 60%);
  opacity: 0; transition: opacity .5s var(--ease); z-index: 2;
}
.glow:hover::after { opacity: calc(.55 * var(--prox, 1)); }
.btn--primary.glow::after {
  background: radial-gradient(140px circle at var(--mx,50%) var(--my,50%),
              rgba(255,225,232,.85), transparent 58%);
}
[data-theme="dark"] .glow::after { background: radial-gradient(150px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.28), transparent 60%); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  background: var(--nav-bg); border-bottom: 1px solid var(--nav-brd);
  -webkit-backdrop-filter: blur(0px); backdrop-filter: blur(0px);
  transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s var(--ease), box-shadow .5s var(--ease);
}
.nav.scrolled {
  background: var(--nav-bg-s); border-bottom-color: var(--nav-brd-s);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 40px -28px rgba(120,55,72,.5);
}
.nav__in { display: flex; align-items: center; gap: 22px; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand__mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand__name { font-family: var(--font-d); font-weight: 500; font-size: 24px; letter-spacing: .04em; line-height: 1; padding-top: 2px; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.nav__links a {
  position: relative; font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  padding: 9px 14px; border-radius: 100px; transition: color .3s var(--ease), background .3s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: var(--line-soft); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* white nav chrome while transparent over the hero photo */
.nav:not(.scrolled) .brand__name,
.nav:not(.scrolled) .nav__links a { color: #fff; }
.nav:not(.scrolled) .nav__links a:hover { color: #fff; background: rgba(255,255,255,.16); }
.nav:not(.scrolled) .burger span { background: #fff; }
.nav:not(.scrolled) .tgl { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.12); }
.nav:not(.scrolled) .lang { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.12); }
.nav:not(.scrolled) .lang button:not(.active) { color: rgba(255,255,255,.8); }
.nav:not(.scrolled) .burger { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.12); }
/* keep white chrome legible over bright photo areas */
.nav:not(.scrolled) .brand__name,
.nav:not(.scrolled) .nav__links a { text-shadow: 0 1px 10px rgba(0,0,0,.32); }
.nav:not(.scrolled) .tgl svg,
.nav:not(.scrolled) .lang button,
.nav:not(.scrolled) .burger span { filter: drop-shadow(0 1px 5px rgba(0,0,0,.45)); }

/* scroll progress bar */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress__fill {
  height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--rose-deep), var(--rose) 55%, #e6a0b6);
  box-shadow: 0 0 12px rgba(207,113,135,.6);
  transition: transform .12s linear;
}

/* lang toggle */
.lang {
  display: inline-flex; align-items: center; padding: 4px; border-radius: 100px;
  background: var(--glass); border: 1px solid var(--glass-brd); position: relative;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.lang button {
  position: relative; z-index: 2; font-size: 12.5px; font-weight: 800; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 100px; color: var(--ink-faint); transition: color .35s var(--ease);
}
.lang button.active { color: var(--on-rose); }
.lang__pill {
  position: absolute; z-index: 1; top: 4px; bottom: 4px; left: 4px; width: 44px;
  border-radius: 100px; background: linear-gradient(120deg, var(--rose-deep), var(--rose));
  transition: transform .45s var(--spring); box-shadow: var(--shadow-sm);
}
.lang[data-lang="en"] .lang__pill { transform: translateX(100%); }

/* theme toggle */
.tgl {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--glass-brd); color: var(--ink);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
}
.tgl:hover { transform: translateY(-2px); box-shadow: 0 0 26px 2px rgba(231,166,182,.45); }
.tgl svg { width: 19px; height: 19px; }
.tgl .ico-sun { display: none; }
[data-theme="dark"] .tgl .ico-sun { display: block; }
[data-theme="dark"] .tgl .ico-moon { display: none; }

.burger { display: none; width: 42px; height: 42px; border-radius: 12px; background: var(--glass);
  border: 1px solid var(--glass-brd); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s var(--ease); }
.burger span:nth-child(1){ top: 15px; } .burger span:nth-child(2){ top: 20px; } .burger span:nth-child(3){ top: 25px; }
body.menu-open .burger span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2){ opacity: 0; }
body.menu-open .burger span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }

/* mobile menu */
.mobile {
  position: fixed; inset: 0; z-index: 55; background: var(--nav-bg-s);
  -webkit-backdrop-filter: blur(26px) saturate(1.4); backdrop-filter: blur(26px) saturate(1.4);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 8%;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
body.menu-open .mobile { opacity: 1; visibility: visible; }
.mobile a { font-family: var(--font-d); font-size: clamp(30px,8vw,46px); font-weight: 380; color: var(--ink);
  padding: 8px 0; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
body.menu-open .mobile a { opacity: 1; transform: none; }
body.menu-open .mobile a:nth-child(1){transition-delay:.06s} body.menu-open .mobile a:nth-child(2){transition-delay:.1s}
body.menu-open .mobile a:nth-child(3){transition-delay:.14s} body.menu-open .mobile a:nth-child(4){transition-delay:.18s}
body.menu-open .mobile a:nth-child(5){transition-delay:.22s} body.menu-open .mobile a:nth-child(6){transition-delay:.26s}
body.menu-open .mobile a:nth-child(7){transition-delay:.3s}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-bottom: clamp(46px,7vw,88px); padding-top: 120px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; transform: scale(1.06); animation: kenburns 22s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,12,16,.34) 0%, rgba(20,12,16,.05) 30%, rgba(20,12,16,.12) 58%, rgba(20,12,16,.72) 100%),
    linear-gradient(90deg, rgba(20,12,16,.45), transparent 60%);
}
.hero__in { position: relative; isolation: isolate; color: #fff; max-width: 760px; }
/* soft dark blur "lift" behind hero text for legibility over bright photo */
.hero__in::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -10%; right: -12%; top: -8%; bottom: -8%;
  background: radial-gradient(115% 95% at 38% 52%, rgba(16,9,13,.46), rgba(16,9,13,.16) 52%, transparent 76%);
  filter: blur(34px);
}
.hero .eyebrow { color: #f4c4cf; }
.hero .eyebrow::before { background: #f4c4cf; }
.hero h1 { color: #fff; font-size: clamp(46px, 8.2vw, 104px); font-weight: 340; letter-spacing: -.02em; }
.hero h1 .italic { font-weight: 340; }
.hero__sub { color: rgba(255,255,255,.9); font-size: clamp(17px,2.1vw,21px); max-width: 50ch; margin-top: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 30px 44px; margin-top: 48px; }
.hero__stat b { font-family: var(--font-d); font-weight: 400; font-size: 34px; display: block; line-height: 1; color: #fff; }
.hero__stat span { font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,.78); text-transform: uppercase; }
.scrolldot { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.8); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.scrolldot i { width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.9), transparent); animation: scrolly 2.1s ease-in-out infinite; }
@keyframes scrolly { 0%,100%{transform:scaleY(.4); transform-origin: top;} 50%{transform:scaleY(1); transform-origin: top;} }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--bg-2); }
.marquee__track { display: flex; gap: 56px; white-space: nowrap; width: max-content; animation: scrollx 34s linear infinite; }
/* marquee bez hover-pause — plynulý nepřetržitý scroll */
.marquee__track span { font-family: var(--font-d); font-style: italic; font-size: clamp(22px,3vw,30px); color: var(--ink-soft); display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: "✦"; color: var(--rose); font-style: normal; font-size: 16px; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- approach ---------- */
.approach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,5vw,72px); align-items: center; }
.approach__media { position: relative; }
.approach__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.approach__media .float-card {
  position: absolute; right: -18px; bottom: 28px; background: var(--card); color: var(--ink);
  border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow); border: 1px solid var(--line-soft);
  max-width: 230px;
}
.approach__media .float-card b { font-family: var(--font-d); font-size: 26px; color: var(--rose-deep); }
.approach__media .float-card span { font-size: 13.5px; color: var(--ink-soft); }
.principles { margin-top: 34px; display: grid; gap: 4px; }
.principle { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle__no { font-family: var(--font-d); font-style: italic; font-size: 20px; color: var(--rose); }
.principle h3 { font-size: 21px; margin-bottom: 6px; }
.principle p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- glass card base ---------- */
.glass {
  background: var(--glass); border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: var(--glass-sh);
}

/* ---------- classes ---------- */
.classes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cls {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--card);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cls:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cls__img { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.cls__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cls:hover .cls__img img { transform: scale(1.07); }
.cls__img::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(20,12,16,.82)); }
.cls__tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px; background: rgba(255,255,255,.16); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.28); }
.cls__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px; color: #fff; }
.cls__cap h3 { color: #fff; font-size: 25px; }
.cls__cap .meta { font-size: 13px; color: rgba(255,255,255,.82); margin-top: 4px; display: flex; gap: 14px; }
.cls__plus { position: absolute; right: 16px; bottom: 18px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .5s var(--spring), background .4s var(--ease); }
.cls__plus::before, .cls__plus::after { content:""; position: absolute; background: #fff; border-radius: 2px; }
.cls__plus::before { width: 14px; height: 2px; } .cls__plus::after { width: 2px; height: 14px; transition: transform .5s var(--spring); }
.cls.open .cls__plus { background: var(--rose); transform: rotate(135deg); }
.cls__detail { max-height: 0; overflow: hidden; transition: max-height .55s var(--ease); background: var(--card); }
.cls.open .cls__detail { max-height: 320px; }
.cls__detail-in { padding: 20px; border-top: 1px solid var(--line-soft); }
.cls__detail p { color: var(--ink-soft); font-size: 14.5px; }
.cls__detail ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cls__detail li { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); background: var(--bg-2); border: 1px solid var(--line-soft); padding: 6px 11px; border-radius: 100px; }

/* ---------- studio ---------- */
.studio__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; }
.studio__gal { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 18px; }
.studio__gal figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.studio__gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.studio__gal figure:hover img { transform: scale(1.06); }
.studio__gal .tall { grid-row: span 2; }
.studio__copy { display: flex; flex-direction: column; justify-content: center; padding: 8px; }
.studio__copy h2 { font-size: clamp(30px,4vw,46px); margin-bottom: 18px; }
.studio__copy p { color: var(--ink-soft); }
.amen { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.amen li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.amen svg { width: 20px; height: 20px; color: var(--rose); flex: 0 0 auto; }

/* ---------- schedule ---------- */
.sched__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.sched__tab { padding: 11px 20px; border-radius: 100px; font-weight: 700; font-size: 14px; color: var(--ink-soft);
  background: var(--glass); border: 1px solid var(--glass-brd); transition: all .35s var(--ease); }
.sched__tab:hover { color: var(--ink); transform: translateY(-2px); }
.sched__tab.active { color: var(--on-rose); background: linear-gradient(120deg,var(--rose-deep),var(--rose)); border-color: transparent; box-shadow: var(--shadow-sm); }
.sched__list { display: grid; gap: 12px; }
.slot { display: grid; grid-template-columns: 96px 1fr auto auto; align-items: center; gap: 20px; padding: 18px 22px;
  border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); animation: fadeUp .5s var(--ease) both; }
.slot:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.slot__time { font-family: var(--font-d); font-size: 22px; color: var(--ink); }
.slot__time small { display: block; font-family: var(--font-b); font-size: 12px; color: var(--ink-faint); }
.slot__name { font-weight: 700; font-size: 17px; }
.slot__name span { display: block; font-weight: 500; font-size: 13.5px; color: var(--ink-soft); }
.slot__lvl { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; }
.lvl-1 { color: #2f7d5b; background: rgba(72,170,120,.16); } .lvl-2 { color: var(--rose-deep); background: rgba(207,113,135,.16); } .lvl-3 { color: #b5713a; background: rgba(210,140,70,.18); }
[data-theme="dark"] .lvl-1{ color:#7fd6a8; } [data-theme="dark"] .lvl-3{ color:#e6b078; }
.slot__spots { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.slot__spots b { color: var(--rose-deep); }

/* ---------- pricing ---------- */
.price__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; border-radius: var(--radius); padding: 34px 30px; background: var(--card); border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--feat { background: linear-gradient(160deg, var(--rose-deep), #8d4763); color: #fff; border-color: transparent; }
.plan--feat h3, .plan--feat .plan__price b, .plan--feat .plan__price { color: #fff; }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: 11.5px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; background: var(--ink); color: var(--bg); padding: 6px 16px; border-radius: 100px; }
.plan h3 { font-size: 24px; margin-bottom: 6px; }
.plan__tag { font-size: 14px; color: var(--ink-soft); min-height: 42px; }
.plan--feat .plan__tag { color: rgba(255,255,255,.82); }
.plan__price { margin: 18px 0 4px; font-size: 15px; color: var(--ink-soft); display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-family: var(--font-d); font-weight: 400; font-size: 44px; color: var(--ink); line-height: 1; }
.plan--feat .plan__price { color: rgba(255,255,255,.82); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 11px; font-size: 14.5px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; color: var(--rose); }
.plan--feat li svg { color: #fff; }
.plan .btn { margin-top: auto; }
.plan--feat .btn--primary { background: #fff; color: var(--rose-deep); animation: none; }
.plan--feat .btn--primary:hover { box-shadow: 0 20px 40px -18px rgba(0,0,0,.4); }
.price__note { text-align: center; margin-top: 26px; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- team ---------- */
.team__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; max-width: 1060px; margin-inline: auto; }
.member { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.member__img { aspect-ratio: 3/4; overflow: hidden; position: relative; }
.member__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; transition: transform 1s var(--ease); }
.member:hover .member__img img { transform: scale(1.06); }
.member__body { padding: 18px 18px 22px; }
.member__body h3 { font-size: 21px; }
.member__role { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rose-deep); margin: 6px 0 10px; }
.member__body p { font-size: 14px; color: var(--ink-soft); }

/* ---------- testimonials ---------- */
.tst { position: relative; }
.tst__rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 6px 22px; scrollbar-width: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%); }
.tst__rail::-webkit-scrollbar { display: none; }
.tst__rail.dragging { cursor: grabbing; }
.tcard { scroll-snap-align: start; flex: 0 0 calc((100% - 40px) / 3); min-width: 280px; border-radius: var(--radius); padding: 30px 30px 28px;
  background: var(--card); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tcard__stars { color: var(--rose); letter-spacing: 3px; font-size: 15px; margin-bottom: 14px; }
.tcard p { font-family: var(--font-d); font-weight: 360; font-size: 20px; line-height: 1.4; color: var(--ink); }
.tcard__who { margin-top: auto; padding-top: 20px; display: flex; align-items: center; gap: 13px; }
.tcard__av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,var(--rose),var(--peach)); display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 16px; flex: 0 0 auto; }
.tcard__who b { font-size: 15px; display: block; } .tcard__who div span { font-size: 13px; color: var(--ink-soft); }
.tcard__av { color: #fff; }
.tst__nav { display: flex; gap: 10px; margin-top: 8px; }
.tst__nav button { width: 46px; height: 46px; border-radius: 50%; background: var(--glass); border: 1px solid var(--glass-brd); color: var(--ink);
  display: grid; place-items: center; transition: all .35s var(--ease); }
.tst__nav button:hover { transform: translateY(-2px); color: var(--on-rose); background: linear-gradient(120deg,var(--rose-deep),var(--rose)); border-color: transparent; }
.tst__nav svg { width: 20px; height: 20px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px; font-family: var(--font-d); font-size: clamp(18px,2.4vw,23px); color: var(--ink); }
.faq-q .ic { width: 26px; height: 26px; flex: 0 0 auto; position: relative; }
.faq-q .ic::before, .faq-q .ic::after { content:""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--rose); border-radius: 2px; }
.faq-q .ic::before { width: 15px; height: 2px; } .faq-q .ic::after { width: 2px; height: 15px; transition: transform .45s var(--spring); }
.faq-item.open .faq-q .ic::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a p { color: var(--ink-soft); padding: 0 4px 26px; font-size: 16px; max-width: 70ch; }

/* ---------- booking ---------- */
.book__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px,5vw,64px); align-items: stretch; }
.book__aside { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 460px; display: flex; align-items: flex-end; box-shadow: var(--shadow); }
.book__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book__aside::after { content:""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,12,16,.15), rgba(20,12,16,.82)); }
.book__aside-in { position: relative; z-index: 2; color: #fff; padding: 36px; }
.book__aside-in h3 { color: #fff; font-size: 30px; margin-bottom: 12px; }
.book__aside-in p { color: rgba(255,255,255,.86); font-size: 15px; }
.book__aside-in .contact-row { display: flex; align-items: center; gap: 11px; margin-top: 16px; font-size: 15px; font-weight: 600; }
.book__aside-in .contact-row svg { width: 18px; height: 18px; color: var(--rose-soft); }

.form { border-radius: var(--radius); padding: clamp(26px,3vw,38px); background: var(--card); border: 1px solid var(--line-soft); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line);
  color: var(--ink); font-family: inherit; font-size: 15px; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease); }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(207,113,135,.16); background: var(--card); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23a08' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

/* stepper */
.stepper { display: flex; align-items: stretch; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.stepper button { width: 44px; flex: 0 0 auto; display: grid; place-items: center; color: var(--ink-soft); transition: background .3s var(--ease), color .3s var(--ease); }
.stepper button:hover { background: var(--rose); color: var(--on-rose); }
.stepper button svg { width: 16px; height: 16px; }
.stepper__val { flex: 1; text-align: center; display: flex; flex-direction: column; justify-content: center; padding: 9px 6px; }
.stepper__val b { font-size: 15px; font-weight: 700; line-height: 1.1; }
.stepper__val small { font-size: 11.5px; color: var(--ink-faint); }

.form__success { display: none; flex-direction: column; align-items: center; text-align: center; padding: 28px 10px 6px; }
.form__success.show { display: flex; animation: fadeUp .6s var(--ease); }
.form__success .check { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg,var(--rose),var(--peach)); display: grid; place-items: center; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.form__success .check svg { width: 30px; height: 30px; color: #fff; }
.form__success h3 { font-size: 26px; margin-bottom: 8px; }
.form__success p { color: var(--ink-soft); font-size: 15px; max-width: 40ch; }
.form.sent .form__body { display: none; }

/* ---------- footer ---------- */
.footer { background: var(--bg-3); border-top: 1px solid var(--line); padding: clamp(56px,7vw,90px) 0 36px; position: relative; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer .brand { margin-bottom: 16px; }
.footer__about p { color: var(--ink-soft); font-size: 15px; max-width: 34ch; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; background: var(--glass); border: 1px solid var(--glass-brd); display: grid; place-items: center; color: var(--ink); transition: all .35s var(--ease); }
.footer__social a:hover { transform: translateY(-3px); color: var(--on-rose); background: linear-gradient(120deg,var(--rose-deep),var(--rose)); border-color: transparent; }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h4 { font-family: var(--font-b); font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.footer__col a:not(.btn), .footer__col p { display: block; color: var(--ink-soft); font-size: 15px; padding: 6px 0; transition: color .3s var(--ease); }
.footer__col a:not(.btn):hover { color: var(--rose-deep); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 28px; color: var(--ink-faint); font-size: 13.5px; }
.footer__bottom a { color: var(--ink-faint); } .footer__bottom a:hover { color: var(--rose-deep); }
.footer__made { transition: opacity .3s var(--ease); }
.footer__made:hover { opacity: .76; }
.footer__made b { color: var(--rose-deep); font-weight: 700; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1{transition-delay:.08s}.reveal.d2{transition-delay:.16s}.reveal.d3{transition-delay:.24s}.reveal.d4{transition-delay:.32s}.reveal.d5{transition-delay:.4s}
@keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:none} }
@media (prefers-reduced-motion: reduce) {
  .reveal{opacity:1;transform:none;} .blob,.marquee__track,.hero__media img{animation:none!important;}
  *{transition-duration:.001ms!important;}
}

/* ---------- legal pages ---------- */
.legal { padding: 150px 0 90px; }
.legal__in { max-width: 800px; margin-inline: auto; }
.legal h1 { font-size: clamp(34px,5vw,52px); margin-bottom: 10px; }
.legal .updated { color: var(--ink-faint); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 24px; margin: 40px 0 14px; }
.legal h3 { font-size: 18px; margin: 26px 0 10px; font-family: var(--font-b); font-weight: 800; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; } .legal a { color: var(--rose-deep); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .classes__grid { grid-template-columns: repeat(2,1fr); }
  .team__grid { grid-template-columns: repeat(3,1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .tcard { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .approach__grid, .studio__grid, .book__grid, .price__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; max-width: 440px; }
  .tcard { flex-basis: 86%; }
  .studio__gal { grid-template-columns: 1fr 1fr; }
  .approach__media .float-card { right: 12px; }
  .price__grid { gap: 30px; } .plan--feat { order: -1; }
  .slot { grid-template-columns: 70px 1fr; grid-auto-flow: row; gap: 8px 16px; }
  .slot__lvl, .slot__spots { grid-column: 2; }
  .form__row { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px 34px; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .marquee__track span { gap: 36px; } .marquee__track { gap: 36px; }
  .scrolldot { display: none; }
}
@media (max-width: 560px) {
  .nav__right .btn--primary { display: none; }
  .nav__in { gap: 12px; }
}
@media (max-width: 480px) {
  .classes__grid, .team__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
}
