/* MerryDiAn — "Прана" design, fresh palette. Colours are the variables below. */
@font-face { font-family: "Prata"; font-weight: 400; font-display: swap; src: url("fonts/prata-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Prata"; font-weight: 400; font-display: swap; src: url("fonts/prata-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 400 700; font-display: swap; src: url("fonts/inter-cyrillic-95314a.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-weight: 400 700; font-display: swap; src: url("fonts/inter-cyrillic-ext-75b9e2.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Inter"; font-weight: 400 700; font-display: swap; src: url("fonts/inter-latin-04a6ae.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 400 700; font-display: swap; src: url("fonts/inter-latin-ext-4c9196.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f5faf7; --surface: #ffffff; --tint: #e6f3ed; --ink: #10302a; --muted: #4f6b64; --line: #10302a1c;
  --accent: #0d8a79; --accent-2: #12a891; --on-accent: #ffffff; --coral: #ff7f5c; --peach: #ffb38a; --sun: #ffc85c;
  --shadow: 0 1px 2px #10302a0f, 0 14px 34px -18px #10302a40;
  --serif: "Prata", Georgia, serif; --sans: "Inter", system-ui, -apple-system, sans-serif;
  --pad: clamp(20px, 5vw, 56px); --r: 22px; --tab-h: 0px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1c1a; --surface: #112926; --tint: #0f2421; --ink: #e8f5f0; --muted: #9fbfb7; --line: #ffffff1a;
    --accent: #4fd1b8; --accent-2: #7de3cf; --on-accent: #052019; --coral: #ff9474; --peach: #ffbf9c; --sun: #ffd27a;
    --shadow: 0 1px 2px #0005, 0 18px 40px -20px #000c; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1c1a; --surface: #112926; --tint: #0f2421; --ink: #e8f5f0; --muted: #9fbfb7; --line: #ffffff1a;
  --accent: #4fd1b8; --accent-2: #7de3cf; --on-accent: #052019; --coral: #ff9474; --peach: #ffbf9c; --sun: #ffd27a;
  --shadow: 0 1px 2px #0005, 0 18px 40px -20px #000c; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; transition: background .3s, color .3s; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 800px; }
.sec { padding: clamp(64px, 10vw, 120px) 0; }
.tint { background: var(--tint); }
.eyebrow { font: 600 .72rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.eyebrow a { text-decoration: none; }
.muted { color: var(--muted); }
.i { flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: 32px; }
.sec-head h2, .faq h2, .h-sec { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); margin-top: 10px; }
.h-sec { margin: 0 0 28px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--accent); text-decoration: none; }
.link:hover .i { transform: translateX(3px); }
.link .i { transition: transform .2s; }

/* buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--on-accent); border: 0; border-radius: 99px; padding: 14px 24px; font: 700 .92rem var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; box-shadow: 0 8px 22px -12px var(--accent); }
.btn:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn.small { padding: 10px 18px; font-size: .84rem; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.ghost.light { color: #fff; border-color: #ffffff70; }
.btn.ghost.light:hover { border-color: #fff; color: #fff; background: #ffffff1a; }
.iconbtn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; padding: 0; }
.iconbtn:hover { border-color: var(--accent); color: var(--accent); }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; gap: 20px; padding: 12px var(--pad); padding-top: max(12px, env(safe-area-inset-top)); color: #fff; transition: background .35s, color .35s, box-shadow .35s; }
.top .iconbtn { background: #ffffff1f; border-color: #ffffff40; color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.top.solid, .solid-top .top { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.top.solid .iconbtn, .solid-top .top .iconbtn { background: var(--surface); border-color: var(--line); color: var(--ink); }
.logo { font-family: var(--serif); font-size: 1.4rem; text-decoration: none; white-space: nowrap; }
.logo span { color: var(--peach); }
.top.solid .logo span, .solid-top .top .logo span, .foot .logo span { color: var(--coral); }
.mainnav { display: none; gap: 26px; margin-left: auto; font-size: .9rem; }
.mainnav a { text-decoration: none; opacity: .85; padding: 6px 0; border-bottom: 2px solid transparent; }
.mainnav a:hover, .mainnav a[aria-current] { opacity: 1; border-color: currentColor; }
.tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.cta-top { display: none; }
[data-theme-toggle] .i:last-child { display: none; }
:root[data-theme="dark"] [data-theme-toggle] .i:first-child { display: none; }
:root[data-theme="dark"] [data-theme-toggle] .i:last-child { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) [data-theme-toggle] .i:first-child { display: none; }
  :root:not([data-theme]) [data-theme-toggle] .i:last-child { display: block; }
}
@media (min-width: 1000px) {
  .mainnav { display: flex; }
  .tools { margin-left: 12px; }
  .cta-top { display: inline-flex; }
  .menu-btn { display: none; }
}

/* language */
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border-radius: 99px; border: 1px solid #ffffff40; background: #ffffff1f; cursor: pointer; font: 700 .78rem var(--sans); letter-spacing: .06em; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lang summary::-webkit-details-marker { display: none; }
.top.solid .lang summary, .solid-top .top .lang summary { background: var(--surface); border-color: var(--line); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 6px; min-width: 180px; display: grid; }
.lang-menu button { all: unset; cursor: pointer; padding: 10px 12px; border-radius: 10px; font-size: .9rem; display: flex; gap: 10px; }
.lang-menu button b { width: 26px; color: var(--accent); }
.lang-menu button:hover, .lang-menu button[aria-current] { background: var(--tint); }

/* mobile menu */
dialog.menu { margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; border: 0; padding: 80px var(--pad) 40px; background: var(--bg); color: var(--ink); overflow-y: auto; }
dialog.menu::backdrop { background: #0006; }
dialog.menu[open] { animation: menuIn .3s ease; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } }
.menu-close { position: absolute; top: 14px; right: var(--pad); }
.menu-main { display: grid; gap: 4px; }
.menu-main a { font: 400 2rem/1.3 var(--serif); text-decoration: none; }
.menu-sub { display: grid; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.menu-sub a { text-decoration: none; color: var(--muted); }
.menu-contact { display: grid; gap: 10px; margin-top: 28px; }
.menu-contact a { display: flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 600; color: var(--accent); }

/* bottom tab bar (phones) */
.tabbar { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 25; display: grid; grid-template-columns: repeat(5, 1fr); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 6px; transition: transform .3s; }
.tabbar a { display: grid; justify-items: center; gap: 2px; padding: 7px 2px; border-radius: 16px; text-decoration: none; font-size: .68rem; font-weight: 600; color: var(--muted); }
.tabbar a.on { color: var(--accent); background: var(--tint); }
.tabbar.hide { transform: translateY(140%); }
@media (max-width: 999px) { :root { --tab-h: 92px; } }
@media (min-width: 1000px) { .tabbar { display: none; } }

/* home hero */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; display: grid; align-items: end; color: #fff; background: #0b1c1a; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 1.8s ease; }
.slides img.on { opacity: 1; animation: kb 9s ease-out forwards; }
@keyframes kb { from { transform: scale(1.14) translate(1%, 1%); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #06171599 0%, #0617151a 25%, #06171540 45%, #061715d9 75%, #061715 100%); }
.hero-in { position: relative; z-index: 2; width: 100%; padding-bottom: calc(clamp(40px, 9vh, 96px) + var(--tab-h) * .5); }
.hero h1 { font-size: clamp(3.1rem, 1.6rem + 7vw, 7.4rem); margin: 16px 0 18px; text-shadow: 0 2px 30px #0007; }
.hero h1 em { font-style: normal; color: var(--peach); }
.hero p { max-width: 540px; color: #ffffffd9; font-size: 1.06rem; margin: 0 0 28px; }
.hero .eyebrow { color: #9ff0de; }
.dots { position: absolute; right: var(--pad); bottom: clamp(40px, 9vh, 96px); z-index: 2; display: none; gap: 8px; }
.dots i { width: 28px; height: 3px; border-radius: 3px; background: #ffffff4d; transition: background .4s; }
.dots i.on { background: var(--peach); }
@media (min-width: 760px) { .dots { display: flex; } }
.scrollhint { position: absolute; left: 50%; bottom: 14px; z-index: 2; width: 2px; height: 36px; background: linear-gradient(var(--peach), transparent); animation: drop 2.2s infinite; }
@media (max-width: 999px) { .scrollhint { display: none; } }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* page hero */
.phero { position: relative; padding: calc(120px + env(safe-area-inset-top)) 0 clamp(40px, 7vw, 80px); background: linear-gradient(135deg, #0d8a79 0%, #12a891 45%, #ffb38a 130%); color: #fff; overflow: hidden; isolation: isolate; }
.phero::before { content: ""; position: absolute; width: 520px; aspect-ratio: 1; right: -140px; top: -160px; border-radius: 50%; border: 1px solid #ffffff33; box-shadow: 0 0 0 60px #ffffff0d, 0 0 0 140px #ffffff08; z-index: -1; }
.phero.has-img { min-height: min(72svh, 640px); display: grid; align-items: end; background: #0b1c1a; }
.phero.has-img.small { min-height: min(52svh, 460px); }
.phero.has-img::before { display: none; }
.phero .ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kb 14s ease-out forwards; }
.phero.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0617158c 0%, #06171526 35%, #061715e0 100%); }
.phero .wrap { width: 100%; }
.phero h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.4rem); max-width: 22ch; margin-top: 12px; text-shadow: 0 2px 24px #0005; }
.phero .eyebrow { color: #d6fff5; }
.phero .eyebrow a { color: #fff; }
.phero .sub { max-width: 600px; font-size: 1.08rem; color: #ffffffe0; margin: 16px 0 0; }
.phero .sub a { color: #fff; }

/* story */
.story { display: grid; gap: 40px; align-items: center; }
.portrait { border-radius: 999px 999px 26px 26px; overflow: hidden; aspect-ratio: 4/5; max-width: 420px; box-shadow: var(--shadow); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.story blockquote { margin: 16px 0 22px; font: 400 clamp(1.7rem, 1.2rem + 2vw, 2.8rem)/1.2 var(--serif); }
.story blockquote::before { content: "“"; display: block; font-size: 2.4em; line-height: .6; color: var(--coral); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 580px; }
@media (min-width: 900px) { .story { grid-template-columns: .85fr 1.15fr; gap: 80px; } }
.nums { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.nums div { padding: 26px 16px 26px 0; border-bottom: 1px solid var(--line); }
.nums div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.nums b { font: 400 clamp(2.6rem, 1.8rem + 3vw, 4.2rem)/1 var(--serif); color: var(--accent); }
.nums sup { font: 400 1.6rem var(--serif); color: var(--coral); vertical-align: top; }
.nums span { display: block; margin-top: 8px; font-size: .86rem; color: var(--muted); }
@media (min-width: 900px) { .nums { grid-template-columns: repeat(4, 1fr); } .nums div { padding: 32px 24px !important; border-left: 1px solid var(--line); } .nums div:first-child { border-left: 0; padding-left: 0 !important; } }

/* courses */
.courses { display: grid; gap: 16px; }
@media (min-width: 900px) { .courses { grid-template-columns: repeat(3, 1fr); } }
.course { position: relative; border-radius: 26px; overflow: hidden; min-height: 460px; display: flex; flex-direction: column; justify-content: end; padding: 28px; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow); }
.course img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s; }
.course::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0617151a 0%, #06171540 35%, #061715f5 78%); }
.course:hover img { transform: scale(1.06); }
.course .eyebrow { color: #9ff0de; }
.course h3 { font-size: 1.9rem; margin: 8px 0 10px; }
.course p { color: #ffffffcc; margin: 0 0 18px; font-size: .94rem; }
.price { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #ffffff33; padding-top: 16px; font-size: .9rem; }
.price b { font: 400 1.45rem var(--serif); color: var(--peach); }

/* breathe */
.breathe { text-align: center; background: radial-gradient(ellipse at 50% 55%, color-mix(in srgb, var(--accent) 22%, var(--bg)) 0%, var(--bg) 68%); }
.breathe h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); margin: 12px 0 8px; }
.breathe p { color: var(--muted); max-width: 460px; margin: 0 auto; }
.orb-box { position: relative; width: min(300px, 74vw); aspect-ratio: 1; margin: 44px auto 30px; display: grid; place-items: center; }
.orb-box::before, .orb-box::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.orb-box::after { inset: 18%; border-style: dashed; }
.orb { width: 42%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c9fff2, var(--accent-2) 45%, var(--accent)); box-shadow: 0 0 80px color-mix(in srgb, var(--accent) 55%, transparent); transition: transform 4s cubic-bezier(.45, 0, .55, 1); }
.orb.in { transform: scale(2.2); }
.orb-label { position: absolute; font: 400 1.5rem var(--serif); color: #06251f; pointer-events: none; }
.count { font: 600 .82rem var(--sans); letter-spacing: .2em; color: var(--muted); min-height: 1.3em; margin-bottom: 18px; }

/* chips + cards */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1) 28px; padding: 2px var(--pad); }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 99px; padding: 9px 16px; font: 600 .86rem var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chips button:hover { border-color: var(--accent); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .25s; }
.card:hover { transform: translateY(-4px); }
.card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--tint); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-ph { display: grid; place-items: center; height: 100%; font-size: 3rem; background: linear-gradient(135deg, var(--tint), color-mix(in srgb, var(--accent) 25%, var(--tint))); }
.card-body { padding: 18px 20px 22px; }
.card .meta { display: flex; gap: 10px; align-items: center; font-size: .78rem; color: var(--muted); margin-bottom: 10px; }
.chip { background: var(--tint); color: var(--accent); border-radius: 99px; padding: 4px 10px; font-weight: 600; }
.card h3 { font-size: 1.22rem; line-height: 1.25; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hide { display: none !important; }

/* gallery */
.masonry { columns: 2 150px; column-gap: 12px; }
@media (min-width: 900px) { .masonry { columns: 4; column-gap: 16px; } }
.ph { display: block; position: relative; margin-bottom: 12px; break-inside: avoid; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--tint); }
.ph img { width: 100%; transition: transform .6s; }
.ph:hover img { transform: scale(1.04); }
.ph span { position: absolute; left: 10px; bottom: 10px; font-size: .75rem; font-weight: 600; color: #fff; background: #0617158c; backdrop-filter: blur(6px); padding: 4px 10px; border-radius: 99px; opacity: 0; transition: opacity .3s; }
.ph:hover span { opacity: 1; }
.albums { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.album { position: relative; aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; display: flex; align-items: end; padding: 16px; box-shadow: var(--shadow); }
.album img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.album::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, #061715d9); }
.album:hover img { transform: scale(1.06); }
.album h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); }
.album span { font-size: .8rem; opacity: .85; }
dialog.lightbox { border: 0; padding: 0; margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; background: #050f0ef2; color: #fff; }
dialog.lightbox::backdrop { background: #000a; }
dialog.lightbox figure { margin: 0; height: 100%; display: grid; place-items: center; align-content: center; gap: 12px; padding: 60px 12px; }
dialog.lightbox img { max-width: 100%; max-height: calc(100dvh - 140px); border-radius: 10px; object-fit: contain; }
dialog.lightbox figcaption { font-family: var(--serif); font-size: 1.05rem; text-align: center; }
dialog.lightbox .iconbtn { position: absolute; background: #ffffff1a; border-color: #ffffff33; color: #fff; z-index: 2; }
.lb-close { top: 14px; right: 14px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* faq */
.faq { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
details:not(.lang) { border-bottom: 1px solid var(--line); }
details:not(.lang) summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 400 1.2rem/1.35 var(--serif); }
details:not(.lang) summary::-webkit-details-marker { display: none; }
details:not(.lang) summary::after { content: "+"; font: 300 1.7rem/1 var(--sans); color: var(--coral); transition: transform .3s; }
details[open]:not(.lang) summary::after { transform: rotate(45deg); }
details:not(.lang) p { margin: -6px 0 22px; color: var(--muted); max-width: 640px; }
.faq .muted a { color: var(--accent); }

/* closing block + CTA band */
.end { position: relative; text-align: center; overflow: hidden; isolation: isolate; padding: clamp(90px, 14vw, 170px) 0; color: #fff; background: #0b1c1a; }
.end-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.end::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, #06171566, #061715e6 80%); }
.end .eyebrow { color: #9ff0de; }
.end h2 { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.6rem); margin: 14px 0 26px; }
.end .btns { justify-content: center; }
.end small { display: block; margin-top: 24px; color: #ffffffbf; }
.cta-band { padding: clamp(56px, 8vw, 90px) 0; background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: var(--on-accent); text-align: center; }
.cta-band h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
.cta-band p { opacity: .85; margin: 10px 0 24px; }
.cta-band .btns { justify-content: center; }
.cta-band .btn { background: var(--on-accent); color: var(--accent); box-shadow: none; }
.cta-band .btn.ghost { background: transparent; color: var(--on-accent); border-color: color-mix(in srgb, var(--on-accent) 45%, transparent); }

/* article text */
.prose { max-width: 760px; font-size: 1.06rem; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { margin: 1.8em 0 .6em; line-height: 1.25; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); }
.prose h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.45rem); }
.prose h4 { font-size: 1.15rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose img { border-radius: 16px; margin: 1.4em auto; box-shadow: var(--shadow); }
.prose a:has(> img) { display: block; cursor: zoom-in; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 16px; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--coral); font-family: var(--serif); font-size: 1.2rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }

/* contact */
.contact { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; } }
.contact-cards { display: grid; gap: 12px; }
.ccard { display: flex; gap: 16px; align-items: center; padding: 20px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); text-decoration: none; transition: transform .2s; }
.ccard:hover { transform: translateX(4px); }
.ccard .i { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--tint); color: var(--accent); }
.ccard b { display: block; }
.ccard span { color: var(--muted); font-size: .92rem; }
.form { display: grid; gap: 16px; background: var(--surface); padding: clamp(20px, 4vw, 36px); border-radius: 26px; box-shadow: var(--shadow); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .88rem; }
.form small { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: 400 1rem var(--sans); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.form .btn { justify-self: start; }
.row2 { display: grid; gap: 16px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } }
.hp { display: none; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--coral); }

/* footer */
.foot { background: var(--tint); border-top: 1px solid var(--line); padding: 56px 0 calc(24px + var(--tab-h)); font-size: .92rem; }
.foot-grid { display: grid; gap: 32px 20px; grid-template-columns: 1fr 1fr; }
.foot-grid > div:last-child { grid-column: 1 / -1; }
.foot-grid > div:first-child { grid-column: 1 / -1; max-width: 420px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .foot-grid > div:first-child, .foot-grid > div:last-child { grid-column: auto; } }
.foot p { color: var(--muted); }
.foot h3 { font: 700 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot ul a { text-decoration: none; color: var(--muted); }
.foot ul a:hover { color: var(--ink); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

/* reveal on scroll */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; }
  .slides img.on, .phero .ph-bg { animation: none; }
  .orb { transition-duration: 0s; }
}

/* Google Translate: hide its toolbar, keep the page where it is */
body { top: 0 !important; position: static !important; }
.skiptranslate > iframe, iframe.skiptranslate, #goog-gt-tt, .goog-te-banner-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* World Yoga Federation: badge in the logo, button in the header/menu, logo in the footer */
.logo { display: inline-flex; align-items: center; }
.logo-badge { width: 40px; height: 40px; flex: none; margin-right: 10px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px -4px #0006; }
.fed-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 99px; padding: 9px 16px; font: 700 .8rem var(--sans); letter-spacing: .02em; text-decoration: none; white-space: nowrap; background: #c01f2f; color: #fff; transition: transform .2s, background .2s; }
.fed-btn::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.fed-btn:hover { background: #a3192a; transform: translateY(-1px); }
.top .fed-btn { display: none; }
@media (min-width: 1100px) { .top .fed-btn { display: inline-flex; } }
.menu > .fed-btn { margin-bottom: 24px; padding: 12px 20px; font-size: .9rem; }
.fed-logo { display: inline-block; margin-top: 18px; }
.fed-logo img { width: 220px; height: auto; display: block; }
@media (max-width: 420px) { .top { gap: 12px; } .top .logo { font-size: 1.25rem; } .top .logo-badge { width: 34px; height: 34px; margin-right: 8px; } }
.mainnav a, .btn { white-space: nowrap; }
@media (min-width: 1000px) and (max-width: 1199px) { .top { gap: 14px; } .mainnav { gap: 16px; font-size: .86rem; } }
.h-captcha { min-height: 78px; }
