/* TAKT Training · studio at night */
:root {
  --canvas: #0B0E14; --panel: #141923; --panel-2: #10141C; --ink: #EEF0F6; --muted: #9AA3B8; --dim: #6C7489;
  --line: rgba(238, 240, 246, .12); --line-2: rgba(238, 240, 246, .22);
  --accent: #FF5B47; --accent-muted: #7A2F2A; --ice: #A9DCFF;
  --f-d: "Archivo", "Arial Narrow", system-ui, sans-serif; --f-b: "Instrument Sans", system-ui, sans-serif; --f-m: "Geist Mono", ui-monospace, monospace;
  --hdr: 76px; --gut: clamp(20px, 4vw, 64px);
  --e-out: cubic-bezier(.16, 1, .3, 1); --e-io: cubic-bezier(.65, 0, .35, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--canvas); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.55 var(--f-b); background: var(--canvas); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.mono { font-family: var(--f-m); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--canvas); padding: 12px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.tag { display: inline-flex; align-items: center; font: 500 .62rem/1 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 99px; padding: 3px 7px 2px; vertical-align: middle; white-space: nowrap; }

/* ---------- stage: designed first frame + fallback base ---------- */
.stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: radial-gradient(120% 70% at 62% 58%, #151b28 0%, #0c1018 55%, #07090e 100%); }
.stage__wall { position: absolute; inset: 0 0 38% 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 2px, transparent 2px 22px); mask-image: linear-gradient(#000, transparent); -webkit-mask-image: linear-gradient(#000, transparent); }
.stage__bars { position: absolute; left: 50%; top: 22%; width: min(86vw, 1200px); height: 40%; transform: translateX(-34%); display: flex; justify-content: space-between; }
.stage__bars i { width: 3px; height: 100%; border-radius: 3px; background: linear-gradient(#fff 0%, #f3ede6 70%, rgba(255,255,255,.4)); box-shadow: 0 0 18px 3px rgba(255,246,236,.35), 0 0 70px 10px rgba(255,240,226,.12); opacity: .75; }
.stage__bars i:nth-child(odd) { height: 92%; margin-top: 2%; opacity: .55; }
.stage__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(180deg, #0b0e15 0%, #07090d 100%); }
.stage__floor::before { content: ""; position: absolute; left: 50%; top: 0; width: min(86vw, 1200px); height: 70%; transform: translateX(-34%); background: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 2px), rgba(255,244,232,.13) calc(12.5% - 2px) 12.5%); filter: blur(3px); mask-image: linear-gradient(#000, transparent); -webkit-mask-image: linear-gradient(#000, transparent); }
.stage__ring { position: absolute; left: 66%; top: 70%; width: min(34vw, 460px); aspect-ratio: 3.2; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(220,230,255,.18); box-shadow: 0 0 40px rgba(169,220,255,.08); }
.stage__pool { position: absolute; left: 66%; top: 58%; width: min(30vw, 420px); height: 60%; transform: translate(-50%, -50%); background: radial-gradient(50% 50% at 50% 60%, rgba(169,220,255,.10), transparent 70%); }
#gl, #fb { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0; transition: opacity 1.1s var(--e-out); }
html.gl-on #gl { opacity: 1; }
html.no-gl #fb { opacity: 1; }
html.no-gl #gl { display: none; }
.scrim { position: fixed; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(8,10,15,.78) 0%, rgba(8,10,15,.42) 32%, rgba(8,10,15,0) 56%), linear-gradient(180deg, rgba(8,10,15,.55) 0%, rgba(8,10,15,0) 18%); transition: opacity .8s; }

/* ---------- intro ---------- */
.intro { display: none; }
html.js .intro { display: flex; position: fixed; inset: 0; z-index: 60; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: radial-gradient(80% 60% at 50% 50%, #121826, #090b10); transition: opacity .9s var(--e-out), visibility 0s .9s; }
html.intro-done .intro { opacity: 0; visibility: hidden; }
.intro__word { margin: 0; font: 800 clamp(4rem, 14vw, 9rem)/.9 var(--f-d); font-stretch: 66%; letter-spacing: .02em; }
.intro__pulse { width: min(60vw, 420px); height: 46px; }
.intro__pulse path { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 1.4s var(--e-io) .15s forwards; }
.intro__sub { margin: 0; color: var(--muted); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- header ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 var(--gut); background: linear-gradient(180deg, rgba(9,11,16,.86), rgba(9,11,16,.5) 70%, rgba(9,11,16,0)); }
.brand { display: inline-flex; align-items: baseline; gap: 12px; text-decoration: none; min-height: 44px; align-items: center; }
.brand__word { font: 800 1.7rem/1 var(--f-d); font-stretch: 70%; letter-spacing: .04em; }
.brand__sub { color: var(--muted); font-size: .66rem; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 500; font-size: .92rem; color: var(--muted); border-radius: 99px; transition: color .3s, background .3s; }
.nav a .mono { font-size: .62rem; color: var(--dim); }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
.nav a[aria-current="true"] .mono { color: var(--accent); }
.nav__cta { display: none; }
.hdr__tools { display: flex; align-items: center; gap: 10px; }
.snd { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px; background: transparent; border: 1px solid var(--line); border-radius: 99px; }
.snd__bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.snd__bars i { width: 2px; height: 3px; background: var(--muted); border-radius: 1px; transition: height .3s; }
.snd[aria-pressed="true"] .snd__bars i { background: var(--accent); animation: eq .9s ease-in-out infinite alternate; }
.snd[aria-pressed="true"] .snd__bars i:nth-child(2) { animation-delay: -.3s; } .snd[aria-pressed="true"] .snd__bars i:nth-child(3) { animation-delay: -.6s; } .snd[aria-pressed="true"] .snd__bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }
.snd__txt { font-size: .66rem; }
.menu { display: none; }

/* ---------- buttons ---------- */
.btn { --bx: 0px; --by: 0px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 99px; background: var(--ink); color: #0B0E14; font: 600 .98rem/1 var(--f-b); text-decoration: none; transform: translate(var(--bx), var(--by)); transition: transform .5s var(--e-out), background .3s, color .3s, box-shadow .3s; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--accent); transform: translateY(101%); transition: transform .45s var(--e-out); z-index: 0; }
.btn > * { position: relative; z-index: 1; }
.btn:hover::after, .btn:focus-visible::after { transform: none; }
.btn:hover, .btn:focus-visible { color: #fff; box-shadow: 0 10px 40px -12px rgba(255,91,71,.6); }
.btn span { position: relative; z-index: 1; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost::after { background: rgba(238,240,246,.08); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .88rem; }
.btn--wide { width: 100%; }

/* ---------- rail ---------- */
.rail { position: fixed; right: var(--gut); top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.rail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rail button { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 30px; min-width: 44px; background: none; border: 0; color: var(--dim); padding: 0; }
.rail button i { width: 18px; height: 1px; background: currentColor; transition: width .4s var(--e-out), background .3s; }
.rail button span { font: 500 .62rem/1 var(--f-m); letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .4s var(--e-out); }
.rail button:hover span, .rail button:focus-visible span, .rail button[aria-current="true"] span { opacity: 1; transform: none; }
.rail button[aria-current="true"] { color: var(--ink); }
.rail button[aria-current="true"] i { width: 34px; background: var(--accent); }
html.ch-5 .rail, html.ch-6 .rail { opacity: 0; visibility: hidden; }
.rail { transition: opacity .5s, visibility 0s; }
.rail__bpm { margin: 0; color: var(--muted); font-size: .66rem; display: flex; gap: 6px; align-items: center; }
.rail__bpm b { color: var(--ink); font-weight: 500; font-size: .9rem; min-width: 3ch; text-align: right; }

/* ---------- chapters & panels ---------- */
main { position: relative; z-index: 10; }
.ch { position: relative; }
html.js .ch:not(.ch--flow) { height: calc(var(--len) * 1vh); }
.panel { position: relative; padding: calc(var(--hdr) + 40px) var(--gut) 60px; }
html.js .panel { position: fixed; inset: 0; padding: 0; pointer-events: none; visibility: hidden; }
html.js .panel.is-on { visibility: visible; }
.panel__in { position: relative; max-width: 36rem; }
html.js .panel__in { position: absolute; left: var(--gut); top: calc(var(--hdr) + clamp(20px, 7vh, 88px)); bottom: clamp(24px, 6vh, 64px); width: min(36rem, 42vw); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; pointer-events: auto; }
html.js .panel--hero .panel__in { width: min(44rem, 50vw); justify-content: flex-end; gap: 36px; }
html.js .panel--hero .panel__in { top: calc(var(--hdr) + 24px); }
.panel__head { display: flex; flex-direction: column; gap: 18px; }
.panel__dock { display: flex; flex-direction: column; gap: 16px; }
.kicker { margin: 0; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.kicker .no { color: var(--accent); }
.h1, .h2 { margin: 0; font-family: var(--f-d); font-weight: 800; font-stretch: 66%; text-transform: uppercase; letter-spacing: -.005em; line-height: .9; text-wrap: balance; }
.h1 { font-size: clamp(3.6rem, 9.2vw, 9.4rem); max-width: 8ch; }
.h2 { font-size: clamp(2.6rem, 5.4vw, 5.6rem); max-width: 12ch; overflow-wrap: normal; hyphens: manual; }
.h1 .ln, .h2 .ln { padding: .1em 0 .06em; margin: -.1em 0 -.06em; }
.lede { margin: 0; font-size: clamp(1.02rem, 1.25vw, 1.2rem); color: #cdd2de; max-width: 34ch; }
.body { margin: 0; color: #c3c9d6; max-width: 38ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .62rem; }
.hint__line { width: 1px; height: 28px; background: linear-gradient(var(--ink), transparent); animation: hint 2.2s var(--e-io) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
html.js .panel .hint { pointer-events: none; }
.status { margin: 0; min-height: 1.4em; font-size: .9rem; color: var(--muted); }

/* tempo */
.bpm { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.bpm__n { display: inline-flex; align-items: baseline; gap: 8px; }
.bpm__n b { font: 800 clamp(3rem, 5vw, 4.4rem)/.9 var(--f-d); font-stretch: 70%; font-variant-numeric: tabular-nums; min-width: 3ch; }
.bpm__n small { font: 500 .8rem/1 var(--f-m); color: var(--muted); letter-spacing: .1em; }
.bpm__note { flex-basis: 100%; font-size: .82rem; color: var(--dim); }
.tempo-ctl { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hold { --p: 0; display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 6px 24px 6px 6px; background: rgba(238,240,246,.06); border: 1px solid var(--line-2); border-radius: 99px; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: background .3s, border-color .3s, transform .3s var(--e-out); }
.hold__ring { position: relative; width: 52px; height: 52px; flex: none; }
.hold__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hold__ring circle { fill: none; stroke: var(--line-2); stroke-width: 2; }
.hold__ring .hold__fill { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: calc(176 - 176 * var(--p)); }
.hold__ring i { position: absolute; inset: 15px; border-radius: 50%; background: var(--ink); transform: scale(calc(.55 + var(--p) * .45)); transition: background .3s; }
.hold__lbl { font-weight: 600; }
.hold:hover { border-color: var(--ink); }
.hold.is-on { background: rgba(255,91,71,.12); border-color: var(--accent); transform: scale(.98); }
.hold.is-on .hold__ring i { background: var(--accent); }
.help { margin: 0; color: var(--dim); font-size: .62rem; max-width: 22ch; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 99px; background: transparent; border: 1px solid var(--line); color: var(--muted); font-weight: 500; font-size: .9rem; transition: color .3s, border-color .3s, background .3s; }
.chip:hover { color: var(--ink); border-color: var(--line-2); }
.chip[aria-pressed="true"] { color: var(--ink); border-color: var(--accent); background: rgba(255,91,71,.1); }

/* kraft */
.lift { display: flex; flex-direction: column; gap: 10px; max-width: 26rem; }
.lift__track { position: relative; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.lift__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ice), var(--accent)); transform-origin: left; transform: scaleX(var(--lift, 0)); }
.lift__steps { display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; color: var(--dim); font-size: .62rem; }
.lift__steps li.is-on { color: var(--ink); }
.lift-ctl { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.spec { margin: 0; color: var(--muted); display: flex; gap: 8px; align-items: center; font-size: .66rem; }

/* kurse */
.courses { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.course { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 12px; row-gap: 2px; text-align: left; padding: 14px 16px; min-height: 44px; border-radius: 14px; background: rgba(14,18,26,.55); border: 1px solid var(--line); transition: border-color .3s, background .3s, transform .4s var(--e-out); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.course__no { grid-row: 1 / 4; color: var(--dim); padding-top: 4px; }
.course strong { font: 800 1.5rem/1 var(--f-d); font-stretch: 70%; text-transform: uppercase; letter-spacing: .01em; }
.course__d { font-size: .84rem; color: var(--muted); line-height: 1.35; }
.course__m { color: var(--dim); font-size: .62rem; display: flex; gap: 6px; align-items: center; margin-top: 4px; }
.course:hover { border-color: var(--line-2); transform: translateY(-2px); }
.course[aria-pressed="true"] { border-color: var(--accent); background: rgba(40,18,18,.55); }
.course[aria-pressed="true"] .course__no { color: var(--accent); }

/* ruhe */
.panel--quiet .h2 { max-width: 12ch; }
.breath { margin: 0; display: flex; align-items: center; gap: 14px; color: var(--muted); }
.breath__dot { width: 12px; height: 12px; border-radius: 50%; background: #ffd8b8; box-shadow: 0 0 24px 6px rgba(255,200,160,.25); animation: breath 6.2s ease-in-out infinite; }
.breath__in, .breath__out { transition: color .6s; }
.breath__in { animation: bIn 6.2s ease-in-out infinite; } .breath__out { animation: bOut 6.2s ease-in-out infinite; }
@keyframes breath { 0%, 100% { transform: scale(.6); opacity: .6; } 50% { transform: scale(1.4); opacity: 1; } }
@keyframes bIn { 0%, 45% { color: var(--ink); } 55%, 100% { color: var(--dim); } }
@keyframes bOut { 0%, 45% { color: var(--dim); } 55%, 100% { color: var(--ink); } }

/* ---------- flow chapters ---------- */
.ch--flow { padding: calc(var(--hdr) + 12vh) var(--gut) 12vh; }
.ch--flow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9,11,16,0) 0%, rgba(9,11,16,.8) 14%, rgba(9,11,16,.9) 100%); }
.flow { max-width: 1240px; margin: 0 auto; }
.flow__head { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 18px 48px; margin-bottom: clamp(40px, 7vh, 80px); }
.flow__head .kicker { grid-column: 1 / -1; }
.flow__head .h2 { max-width: 12ch; }
.flow__head .body { justify-self: end; max-width: 36ch; }
.plans { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plan { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1.4fr) minmax(200px, .8fr) 240px; align-items: center; gap: 28px; padding: clamp(26px, 4vh, 40px) 8px; border-bottom: 1px solid var(--line); isolation: isolate; }
.plan::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--ice), var(--accent), transparent); background-size: 40% 100%; background-repeat: no-repeat; background-position: -50% 0; transition: background-position 1.1s var(--e-out); }
.plan::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 80% 50%, rgba(169,220,255,.06), transparent 70%); opacity: 0; transition: opacity .6s; }
.plan:hover::before, .plan:focus-within::before { background-position: 150% 0; }
.plan:hover::after, .plan:focus-within::after { opacity: 1; }
.plan__no { color: var(--dim); align-self: start; padding-top: 10px; }
.plan--key .plan__no { color: var(--accent); }
.plan__name { margin: 0 0 8px; font: 800 clamp(2.2rem, 4vw, 3.6rem)/.9 var(--f-d); font-stretch: 66%; text-transform: uppercase; }
.plan__what { margin: 0; color: #c3c9d6; max-width: 40ch; }
.plan__list { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .66rem; }
.plan__list li::before { content: "+ "; color: var(--accent); }
.plan__price { margin: 0; display: grid; grid-template-columns: auto auto; align-items: end; justify-content: start; column-gap: 12px; row-gap: 8px; }
.plan__price b { grid-row: 1 / 3; font: 800 clamp(4rem, 7vw, 6.4rem)/.82 var(--f-d); font-stretch: 62%; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.plan__price span:not(.tag) { color: var(--muted); font-size: .9rem; align-self: end; }
.plan__price .tag { justify-self: start; align-self: start; }
.plan__cta { justify-self: end; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 99px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 600; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.plan__cta span { transition: transform .4s var(--e-out); }
.plan__cta:hover, .plan__cta:focus-visible { background: var(--accent); border-color: var(--accent); color: #fff; }
.plan__cta:hover span { transform: translateX(4px); }
.fine { margin: 26px 0 0; color: var(--dim); font-size: .62rem; }

/* booking */
.ch--book { padding-bottom: 8vh; }
.flow--book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.book__intro { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--hdr) + 32px); }
.facts { margin: 12px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--dim); }
.facts dd { margin: 0; display: flex; gap: 8px; align-items: center; text-align: right; }
.book { display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 3vw, 40px); border-radius: 22px; background: linear-gradient(180deg, rgba(20,25,35,.92), rgba(14,18,26,.92)); border: 1px solid var(--line); box-shadow: 0 40px 100px -40px rgba(0,0,0,.8); }
.form-note { margin: 0; color: var(--muted); font-size: .62rem; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: .86rem; color: var(--muted); font-weight: 500; padding: 0; display: flex; align-items: center; gap: 8px; }
.field legend { margin-bottom: 8px; }
.opt { color: var(--dim); font-size: .78rem; }
.field input:not([type=radio]), .field textarea { width: 100%; min-height: 48px; padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font-size: 1.02rem; border-radius: 0; transition: border-color .3s; resize: vertical; }
.field input:not([type=radio]):focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.pick { display: flex; flex-wrap: wrap; gap: 6px; }
.pick label { position: relative; display: block; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); font-size: .9rem; font-weight: 500; transition: all .25s; }
.pick input:checked + span { color: var(--ink); border-color: var(--accent); background: rgba(255,91,71,.12); }
.pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pick label:hover span { color: var(--ink); }
.err { margin: 0; min-height: 0; color: #ff8a7a; font-size: .9rem; }
.err:empty { display: none; }
.ok { margin: 0; padding: 14px 16px; border-radius: 12px; background: rgba(169,220,255,.08); border: 1px solid rgba(169,220,255,.25); color: var(--ink); }

/* footer */
.foot { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; padding: 32px var(--gut) 40px; border-top: 1px solid var(--line); background: #090b10; color: var(--muted); font-size: .88rem; }
.foot p { margin: 0; }
.foot__top { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* cursor */
.cursor { display: none; }

/* ---------- no js ---------- */
html:not(.js) .stage { position: fixed; }
html:not(.js) #gl, html:not(.js) #fb, html:not(.js) .rail { display: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .intro__pulse path { animation: none; stroke-dashoffset: 0; }
  .hint__line, .breath__dot, .breath__in, .breath__out, .snd__bars i { animation: none !important; }
  .btn, .plan::before { transition: none; }
}

/* ---------- tablet / laptop ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 0 9px; } .nav a .mono { display: none; }
  .plan { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .plan__cta { grid-column: 2 / -1; justify-self: start; }
}
@media (max-height: 760px) and (min-width: 761px) {
  .h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
  html.js .panel__in { gap: 14px; }
  .panel__head { gap: 12px; }
  .course { padding: 10px 14px; }
  .course__d { display: none; }
  .bpm__n b { font-size: 2.8rem; }
  .bpm__note, .help { display: none; }
  .hold { min-height: 56px; } .hold__ring { width: 44px; height: 44px; } .hold__ring i { inset: 13px; }
  .panel__dock { gap: 12px; }
}
@media (max-height: 680px) and (min-width: 761px) {
  .h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
  .body { font-size: .92rem; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  :root { --hdr: 60px; --gut: 16px; }
  .brand__sub { display: none; }
  .hdr__cta { display: none; }
  .menu { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: 99px; position: relative; z-index: 2; }
  .menu__l, .menu__l::before { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: transform .35s var(--e-out); }
  .menu__l::before { content: ""; position: absolute; top: 5px; }
  .menu__l { transform: translateY(-2.5px); }
  .menu[aria-expanded="true"] .menu__l { transform: rotate(45deg); }
  .menu[aria-expanded="true"] .menu__l::before { transform: translateY(-5px) rotate(-90deg); }
  .nav { position: fixed; inset: 0; z-index: 1; background: rgba(9,11,16,.97); display: flex; align-items: center; padding: 0 24px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
  .nav ul { flex-direction: column; gap: 4px; width: 100%; }
  .nav__cta { display: block; }
  .nav a { font: 800 2.6rem/1 var(--f-d); font-stretch: 66%; text-transform: uppercase; color: var(--ink); padding: 8px 0; min-height: 56px; }
  .nav a .mono { display: inline; font-size: .7rem; color: var(--accent); }
  .rail { display: none; }
  .scrim { background: linear-gradient(180deg, rgba(8,10,15,.86) 0%, rgba(8,10,15,.55) 30%, rgba(8,10,15,0) 46%, rgba(8,10,15,0) 58%, rgba(8,10,15,.75) 80%, rgba(8,10,15,.9) 100%); }
  html.js .panel__in, html.js .panel--hero .panel__in { left: 16px; right: 16px; width: auto; top: calc(var(--hdr) + 10px); bottom: max(16px, env(safe-area-inset-bottom)); justify-content: space-between; gap: 12px; }
  html.js .panel--hero .panel__in { justify-content: space-between; }
  .panel__head { gap: 10px; }
  .h1 { font-size: clamp(3.2rem, 17vw, 4.6rem); }
  .h2 { font-size: clamp(2.2rem, 11vw, 3rem); max-width: 12ch; }
  .lede { font-size: .98rem; }
  .body { font-size: .94rem; }
  .dsk { display: none; }
  .hint { display: none; }
  .ctas .btn { flex: 1 1 auto; }
  .panel--hero .lede { max-width: 30ch; }
  .bpm__n b { font-size: 2.6rem; }
  .bpm__note { display: none; }
  .bpm { gap: 10px; }
  .hold { min-height: 56px; }
  .hold__ring { width: 44px; height: 44px; }
  .hold__ring i { inset: 13px; }
  .help { display: none; }
  .chips { gap: 5px; }
  .chip { padding: 0 11px; font-size: .84rem; }
  .courses { gap: 6px; }
  .course { padding: 10px 12px; grid-template-columns: 1fr; }
  .course__no, .course__d { display: none; }
  .course strong { font-size: 1.3rem; }
  .ch--flow { padding: calc(var(--hdr) + 40px) 16px 56px; }
  .flow__head { grid-template-columns: 1fr; }
  .flow__head .body { justify-self: start; }
  .plan { grid-template-columns: 1fr auto; gap: 14px 16px; padding: 26px 0; }
  .plan__no { display: none; }
  .plan__txt { grid-column: 1 / -1; }
  .plan__price b { font-size: 4.2rem; }
  .plan { grid-template-columns: minmax(0, 1fr); }
  .plan__cta { grid-column: 1 / -1; justify-self: start; padding: 0 18px; }
  .flow--book { grid-template-columns: 1fr; }
  .book__intro { position: static; }
  .field-row { grid-template-columns: 1fr; }
  .book { padding: 20px 16px; border-radius: 18px; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .chip { padding: 0 9px; font-size: .8rem; }
  .h1 { font-size: 3.1rem; }
  .plan__price b { font-size: 3.6rem; }
}
