/* Latin Groove site. Dark stage theme (owner-locked), gold accent only.
   Shape rule: buttons = pill, cards/media = 20px, inputs = 12px. */
:root {
  --bg: #110e24;
  --bg-2: #17132f;
  --surface: #1d1840;
  --surface-2: #251f52;
  --line: rgb(255 255 255 / .09);
  --line-2: rgb(255 255 255 / .16);
  --text: #f5f0e6;
  --text-2: rgb(245 240 230 / .74);
  --text-3: rgb(245 240 230 / .56);
  --gold: #e8b64c;
  --gold-2: #f6d68c;
  --gold-ink: #1a1405;
  --r-card: 20px;
  --r-input: 12px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --sec: clamp(56px, 8vw, 104px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 24px 60px -24px rgb(5 3 20 / .75), 0 2px 6px rgb(5 3 20 / .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.7 "Rubik", system-ui, sans-serif;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: "Secular One", "Rubik", sans-serif; font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sec { padding-block: var(--sec); }
.sec + .sec { padding-top: 0; }
.sec-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
/* Mid-page lead capture (30.11): a warm gold-tinted band so it reads as a pause, not one more section */
.sec-mid { background: radial-gradient(120% 90% at 85% 0%, rgb(232 182 76 / .13), transparent 60%), var(--bg-2); border-block: 1px solid rgb(232 182 76 / .28); }
.mid-lead .form h3 { font-size: 22px; }
@media (min-width: 900px) { .lead.mid-lead { align-items: center; } }
.sec.sec-alt, .sec-alt + .sec { padding-top: var(--sec); }
.h2 { font-size: clamp(30px, 4.2vw, 48px); }
.h3 { font-size: clamp(21px, 2.2vw, 25px); }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); max-width: 62ch; margin-top: 14px; }
.head { margin-bottom: clamp(28px, 4vw, 44px); }
.head-center { text-align: center; }
.head-center .lede { margin-inline: auto; }
.muted { color: var(--text-3); }
.gold { color: var(--gold); }
.prose p + p { margin-top: 14px; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 600; }

/* Buttons */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px; border-radius: 999px;
  font: 600 17px/1 "Rubik", sans-serif; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 8px 20px -10px rgb(3 2 12 / .8), inset 0 1px 0 rgb(255 255 255 / .35); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { background: rgb(255 255 255 / .05); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .28); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link:hover { color: var(--gold-2); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgb(17 14 36 / .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-in { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 26px; font-size: 15.5px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--text-2); transition: color .2s; padding-block: 8px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .btn-gold { display: none; }
.burger { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: rgb(255 255 255 / .06); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; }
.burger svg { width: 22px; height: 22px; }
.menu { display: none; }
.menu.is-open { display: block; position: fixed; inset: 70px 0 0; background: var(--bg); z-index: 49; overflow-y: auto; padding: 16px var(--gutter) 40px; }
.menu a { display: block; padding: 14px 4px; font-size: 20px; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 20px; width: 100%; }
@media (min-width: 440px) { .nav-cta .btn-gold { display: inline-flex; } }
@media (min-width: 1060px) {
  .nav-links { display: flex; }
  .burger { display: none; }
  .menu.is-open { display: none; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .v-wide { display: none; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 2%, rgb(17 14 36 / .88) 34%, rgb(17 14 36 / .25) 70%, rgb(17 14 36 / .55) 100%);
}
.hero-in { padding: 110px 0 44px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; max-width: 11em; }
.hero h1 .gold { display: block; }
.hero-sub { font-size: clamp(17px, 1.7vw, 20px); color: var(--text-2); max-width: 44ch; margin-top: 16px; }
.hero .btn-row { margin-top: 26px; }
.hero-note { margin-top: 14px; font-size: 14.5px; color: var(--text-3); }
.hero-next:not(:empty) { display: block; margin-top: 6px; color: var(--gold, #e8b64c); font-weight: 600; }
@media (max-width: 439px) { .hero .btn-row .btn { flex: 1 1 100%; } }
/* Phone (29.11): the tall loop has ceiling in its top 40% and the dancers in the bottom half,
   which the text covered. Media sits in the top part of the screen, cropped toward the dancers,
   and the text gets the dark area below it. */
@media (max-width: 899px) {
  .hero-media { bottom: auto; height: 66svh; }
  .hero-media video, .hero-media img { object-position: 50% 82%; }
  .hero::after {
    background:
      linear-gradient(to top, var(--bg) 36%, rgb(17 14 36 / .7) 46%, rgb(17 14 36 / 0) 62%, rgb(17 14 36 / 0) 86%, rgb(17 14 36 / .55) 100%);
  }
}
/* Tablet portrait (1.12): the box is much wider than 9:16, so 82% showed only legs. Aim higher, at the faces. */
@media (min-width: 600px) and (max-width: 899px) {
  .hero-media video, .hero-media img { object-position: 50% 38%; }
}
@media (min-width: 900px) {
  .hero { align-items: center; min-height: min(100svh, 860px); }
  .hero-media .v-tall { display: none; }
  .hero-media .v-wide { display: block; }
  .hero::after {
    background:
      linear-gradient(to left, rgb(17 14 36 / .96) 0%, rgb(17 14 36 / .82) 36%, rgb(17 14 36 / .1) 70%),
      linear-gradient(to top, var(--bg) 0%, transparent 22%);
  }
  .hero-in { padding: 110px 0 80px; }
}

/* Proof strip */
.proof { border-block: 1px solid var(--line); background: var(--bg-2); }
.proof-in { display: grid; grid-template-columns: repeat(2, 1fr); }
.proof-item { padding: 20px 8px; text-align: center; }
.proof-item b { display: block; font: 400 clamp(26px, 3vw, 34px)/1.1 "Secular One", sans-serif; color: var(--gold); }
.proof-item span { font-size: 14.5px; color: var(--text-2); }
.proof-item:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
@media (min-width: 760px) {
  .proof-in { grid-template-columns: repeat(4, 1fr); }
  .proof-item { border: 0 !important; }
  .proof-item + .proof-item { border-inline-start: 1px solid var(--line) !important; }
}

/* Video frames */
.vframe { position: relative; border-radius: var(--r-card); overflow: hidden; background: #000; box-shadow: var(--shadow); border: 1px solid var(--line); }
.vframe video, .vframe img { width: 100%; height: 100%; object-fit: cover; }
.vplay {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer;
  background: #000; color: #fff; isolation: isolate;
}
.vplay img { position: absolute; inset: 0; z-index: 0; }
.vplay::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgb(8 6 20 / .6), rgb(8 6 20 / 0) 50%); }
.vplay-btn, .vplay-len { z-index: 2; }
.vplay-btn { width: 68px; height: 68px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgb(3 2 12 / .7); transition: transform .25s var(--ease); }
.vplay-btn svg { width: 28px; height: 28px; margin-left: 4px; }
.vplay:hover .vplay-btn { transform: scale(1.08); }
.vplay-len { color: #fff; position: absolute; bottom: 12px; inset-inline-start: 12px; font-size: 13px; background: rgb(0 0 0 / .55); padding: 3px 10px; border-radius: 999px; }
.r-9x16 { aspect-ratio: 9 / 16; }
.r-4x5 { aspect-ratio: 4 / 5; }
.r-16x9 { aspect-ratio: 16 / 9; }
.r-9x10 { aspect-ratio: 9 / 10; }
.r-1 { aspect-ratio: 1; }

/* Class peek (level videos) */
.peek { display: grid; gap: 20px; }
.peek-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: grid; }
.peek-card .vframe { border-radius: 0; border: 0; box-shadow: none; }
.peek-body { padding: 22px 24px 26px; }
.peek-body .tag { display: inline-block; font-size: 14px; font-weight: 600; color: var(--gold-ink); background: var(--gold); padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; }
.peek-body p { color: var(--text-2); margin-top: 8px; }
.peek-body .when { color: var(--text); font-weight: 500; margin-top: 14px; font-size: 15.5px; }
@media (min-width: 900px) {
  .peek { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* Voices rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(74%, 290px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent; overscroll-behavior-x: contain; }
.rail > * { scroll-snap-align: start; }
.rail:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.voice h3 { font-size: 21px; margin-top: 14px; }
.voice p { color: var(--text-2); font-size: 15.5px; margin-top: 6px; }
@media (min-width: 1100px) {
  .rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }
}

/* Split (text + media) */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-7-5 { grid-template-columns: 7fr 5fr; }
  .split-5-7 { grid-template-columns: 5fr 7fr; }
  .split > .rv > .vframe.r-9x16 { max-width: 380px; margin-inline: auto; }
}
.learn { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.learn li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.learn .ic { width: 40px; height: 40px; border-radius: 12px; background: rgb(232 182 76 / .12); color: var(--gold); display: grid; place-items: center; }
.learn .ic svg { width: 22px; height: 22px; }
.learn b { display: block; font-weight: 600; }
.learn span { color: var(--text-2); font-size: 16px; }
.photo { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

/* Big quote */
.bigq { text-align: center; max-width: 880px; margin-inline: auto; }
.bigq blockquote { margin: 0; font: 400 clamp(26px, 3.6vw, 42px)/1.3 "Secular One", sans-serif; }
.bigq figcaption { margin-top: 18px; color: var(--text-2); }

/* Schedule + pricing */
.week { display: grid; gap: 12px; }
.day { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px 20px; display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; }
.day h3 { font-size: 22px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; }
.slot b { font-weight: 600; font-variant-numeric: tabular-nums; }
.slot.l1 { border-color: rgb(232 182 76 / .55); background: rgb(232 182 76 / .08); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; color: var(--text-2); font-size: 15px; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-inline-end: 6px; border: 1px solid var(--line-2); }
.legend i.l1 { background: rgb(232 182 76 / .35); border-color: var(--gold); }
@media (min-width: 900px) { .week { grid-template-columns: repeat(2, 1fr); } }

.prices { display: grid; gap: 14px; }
.price { border-radius: var(--r-card); padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.price.is-main { background: linear-gradient(160deg, #3a2d12, #221a33 70%); border-color: rgb(232 182 76 / .5); }
.price .when { font-weight: 500; color: var(--text-2); }
.price .num { font: 400 46px/1.1 "Secular One", sans-serif; margin-top: 6px; }
.price .num small { font-size: 22px; }
.price p { color: var(--text-2); font-size: 15.5px; margin-top: 6px; }
.price .btn { margin-top: 18px; width: 100%; }
.terms { color: var(--text-3); font-size: 14.5px; margin-top: 16px; }
@media (min-width: 760px) { .prices { grid-template-columns: 1.2fr 1fr 1fr; align-items: stretch; } }

/* Friend band */
.band { border-radius: calc(var(--r-card) + 8px); padding: clamp(26px, 4vw, 44px); background: radial-gradient(120% 140% at 100% 0%, rgb(232 182 76 / .22), transparent 55%), var(--surface); border: 1px solid rgb(232 182 76 / .35); display: grid; gap: 20px; align-items: center; }
.band p { color: var(--text-2); margin-top: 8px; max-width: 56ch; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr auto; } }

/* Reviews */
.reviews { columns: 1; column-gap: 16px; }
.review { break-inside: avoid; margin: 0 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; }
.review .stars { color: var(--gold); display: flex; gap: 2px; }
.review .stars svg { width: 16px; height: 16px; }
.review blockquote { margin: 10px 0 0; font-size: 17px; }
.review figcaption { margin-top: 12px; font-size: 14.5px; color: var(--text-3); }
@media (min-width: 700px) { .reviews { columns: 2; } }
@media (min-width: 1060px) { .reviews { columns: 3; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 500; font-size: 17.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--gold); transition: transform .25s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .a { padding: 0 20px 20px; color: var(--text-2); }

/* Lead / contact */
.lead { display: grid; gap: 28px; }
.form { background: var(--surface); border: 1px solid var(--line-2); border-radius: calc(var(--r-card) + 4px); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.form h3 { font-size: 26px; }
.form .muted { margin-top: 6px; font-size: 15.5px; }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label, .field legend { font-weight: 500; font-size: 15.5px; padding: 0; }
.field input, .field select { height: 50px; border-radius: var(--r-input); border: 1px solid var(--line-2); background: var(--bg); color: var(--text); padding: 0 14px; font: inherit; font-size: 17px; }
.field input::placeholder { color: rgb(245 240 230 / .5); }
.field input:focus, .field select:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.field .err { color: #ffb4a8; font-size: 14.5px; min-height: 0; }
fieldset.field { border: 0; margin-inline: 0; padding: 0; margin-bottom: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; }
.choices span { display: inline-flex; min-height: 44px; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); cursor: pointer; font-weight: 400; transition: background-color .2s, border-color .2s; }
.choices input:checked + span { background: rgb(232 182 76 / .16); border-color: var(--gold); color: var(--text); }
.choices input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form .btn { width: 100%; margin-top: 22px; }
.form .fine { font-size: 13.5px; color: var(--text-3); margin-top: 12px; }
.form-done { text-align: center; padding: 20px 0; }
.form-done svg { width: 54px; height: 54px; color: var(--gold); margin: 0 auto 10px; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 2px; }
.contact-list a, .contact-list span { display: flex; gap: 12px; align-items: center; min-height: 44px; text-decoration: none; color: var(--text); }
.contact-list svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.map { margin-top: 22px; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.6); }
.map-load { width: 100%; height: 100%; display: grid; place-content: center; gap: 6px; justify-items: center; background: var(--surface); border: 0; color: var(--text); font: inherit; cursor: pointer; }
.map-load svg { width: 30px; height: 30px; color: var(--gold); }
.map-load small { color: var(--text-3); font-size: 14px; }
.map-load:hover { background: var(--surface-2); }
@media (min-width: 900px) { .lead { grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; } }

/* Cards grid (articles, paths) */
.cards { display: grid; gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.card .img { aspect-ratio: 16/10; overflow: hidden; }
.card .img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.card .body { padding: 18px 20px 22px; }
.card .cat { font-size: 13.5px; color: var(--gold); font-weight: 500; }
.card h3 { font-size: 21px; margin-top: 6px; }
.card p { color: var(--text-2); font-size: 15.5px; margin-top: 8px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

/* Paths (other programs) */
.paths { display: grid; gap: 16px; }
.path { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: border-color .3s; }
.path:hover { border-color: var(--line-2); }
.path img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; object-position: 50% 25%; }
.path h3 { font-size: 20px; }
.path p { color: var(--text-2); font-size: 15px; margin-top: 4px; }
@media (min-width: 700px) { .paths { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .paths { grid-template-columns: repeat(4, 1fr); } }

/* Page header (inner pages) */
.phead { padding: 128px 0 36px; position: relative; }
.phead h1 { font-size: clamp(36px, 5.4vw, 60px); max-width: 18ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: var(--text-3); margin-bottom: 16px; list-style: none; padding: 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: .5; }

/* Article */
.article { max-width: 760px; }
.article .cover { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16/9; margin-bottom: 32px; border: 1px solid var(--line); }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.article h2 { font-size: clamp(25px, 3vw, 32px); margin: 40px 0 12px; }
.article h3 { font-size: 22px; margin: 28px 0 8px; }
.article p, .article li { color: var(--text-2); font-size: 18px; }
.article p + p { margin-top: 14px; }
.article ul:not(.crumbs), .article ol:not(.crumbs) { padding-inline-start: 22px; margin: 14px 0; display: grid; gap: 8px; }
.article strong { color: var(--text); font-weight: 600; }
.article a:not(.btn) { color: var(--gold); }
.article .crumbs a { color: inherit; }
.article .crumbs li { font-size: 14.5px; color: var(--text-3); }
.article .intro { font-size: 20px; color: var(--text); }
.article .meta { color: var(--text-3); font-size: 14.5px; margin-top: 14px; }
.inline-cta { margin: 36px 0; padding: 24px; border-radius: var(--r-card); background: var(--surface); border: 1px solid rgb(232 182 76 / .35); display: grid; gap: 14px; }
.inline-cta p { color: var(--text-2) !important; font-size: 16.5px !important; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 26px 0; }
.toc b { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; }
.toc a { color: var(--text-2) !important; text-decoration: none; }
.toc a:hover { color: var(--text) !important; }

/* Local pages facts */
.facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 24px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.fact b { display: block; font-weight: 600; }
.fact span { color: var(--text-2); font-size: 15.5px; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 110px; }
.foot-grid { display: grid; gap: 32px; }
.foot img { height: 44px; width: auto; }
.foot p, .foot li { color: var(--text-2); font-size: 15px; }
.foot .foot-h { font-weight: 600; color: var(--text); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; color: var(--text-3); font-size: 14px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .foot { padding-bottom: 56px; } }

/* Sticky mobile CTA */
.sticky { position: fixed; inset: auto 0 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgb(17 14 36 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); display: flex; gap: 10px; transform: translateY(110%); transition: transform .35s var(--ease); }
.sticky.is-on { transform: none; }
.sticky .btn { flex: 1; --h: 48px; padding: 0 14px; }
.sticky .btn-ghost { flex: 0 0 48px; padding: 0; }
@media (min-width: 900px) { .sticky { display: none; } }

/* Reveal (IntersectionObserver adds .in) */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }
  .hero-in > * { animation: rise .8s var(--ease) both; }
  .hero-in > :nth-child(2) { animation-delay: .08s; }
  .hero-in > :nth-child(3) { animation-delay: .16s; }
  .hero-in > :nth-child(4) { animation-delay: .24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn, .vplay-btn { transition: none; }
}

/* Teams page */
.team-days { display: grid; gap: 32px; }
.team-list { display: grid; gap: 14px; }
.team { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 22px; }
.team .cat { font-size: 14px; color: var(--gold); font-weight: 500; }
.team h4 { font: 400 22px/1.2 "Secular One", sans-serif; margin: 6px 0 0; }
.team p { color: var(--text-2); font-size: 15.5px; margin-top: 8px; }
.path-ig { grid-template-columns: 56px 1fr; }
.path-ig .ig { width: 56px; height: 56px; border-radius: 14px; background: rgb(232 182 76 / .12); color: var(--gold); display: grid; place-items: center; }
.path-ig .ig svg { width: 26px; height: 26px; }
@media (min-width: 900px) {
  .team-days { grid-template-columns: repeat(2, 1fr); }
  .prices-4 { grid-template-columns: repeat(4, 1fr); }
  .prices-6 { grid-template-columns: repeat(3, 1fr); }
  .paths:has(.path-ig) { grid-template-columns: repeat(4, 1fr); }
}
.reel { aspect-ratio: 9 / 16; background: radial-gradient(120% 90% at 50% 20%, #3b2a5c, var(--surface) 70%); }
.reel iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.igplay { position: absolute; inset: 0; border: 0; background: none; color: var(--text); cursor: pointer; display: grid; place-items: center; align-content: center; gap: 16px; font: inherit; }
.igplay .ig-note { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.igplay .ig-note svg { width: 20px; height: 20px; color: var(--gold); }
.igplay:hover .vplay-btn { transform: scale(1.08); }
@media (min-width: 1060px) {
  .cards-5 { grid-template-columns: repeat(6, 1fr); }
  .cards-5 > * { grid-column: span 2; }
  .cards-5 > :nth-child(-n+2) { grid-column: span 3; }
}

/* Accessibility panel (Israeli accessibility regulations: adjustments + a statement) */
.linkish { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }
.a11y { position: fixed; z-index: 60; inset-block-end: 16px; inset-inline-start: 16px; width: min(320px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 16px; }
.a11y[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.a11y-head h2 { font-size: 20px; }
.a11y-x { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.a11y-x svg { width: 18px; height: 18px; }
.a11y-body { display: grid; gap: 8px; margin-top: 14px; }
.a11y-body button { min-height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgb(255 255 255 / .05); color: var(--text); font: inherit; cursor: pointer; }
.a11y-body button[aria-pressed="true"] { background: rgb(232 182 76 / .18); border-color: var(--gold); }
.a11y-foot { margin-top: 12px; font-size: 14px; color: var(--text-3); }
.a11y-foot a { color: var(--gold); }
html.a11y-font { font-size: 125%; }
html.a11y-contrast { --text-2: #fff; --text-3: rgb(255 255 255 / .85); --line: rgb(255 255 255 / .3); --line-2: rgb(255 255 255 / .5); --surface: #000; --bg: #000; --bg-2: #050510; }
html.a11y-contrast body { background: #000; }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* Cookie / tracking consent (no tracker loads before a yes) */
.cookie { position: fixed; z-index: 61; inset-block-end: 0; inset-inline: 0; background: var(--bg-2); border-top: 1px solid var(--line-2); padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); display: grid; gap: 10px; }
.cookie[hidden] { display: none; }
.cookie p { font-size: 15px; color: var(--text-2); }
.cookie a { color: var(--gold); }
@media (min-width: 760px) { .cookie { grid-template-columns: 1fr auto; align-items: center; gap: 20px; } }

/* Legal documents */
.doc { max-width: 760px; }
.doc .short { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 26px; }
.doc .short p { color: var(--text); }
.doc .toc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 28px; }
.doc .toc a { color: var(--text-2); text-decoration: none; }
.doc .toc a:hover { color: var(--text); }
.doc h2 { font-size: clamp(21px, 2.4vw, 26px); margin: 34px 0 10px; }
.doc p, .doc li { color: var(--text-2); }
.doc p + p, .doc ul, .doc ol { margin-top: 12px; }
.doc ul, .doc ol { padding-inline-start: 22px; display: grid; gap: 8px; }
.doc a { color: var(--gold); }
.doc .updated { color: var(--text-3); font-size: 14.5px; margin-top: 8px; }
.doc .foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 15px; }
.doc mark.todo { background: rgb(232 182 76 / .2); color: var(--gold-2); padding: 1px 6px; border-radius: 6px; }
body:has(.cookie:not([hidden])) .sticky { transform: translateY(110%); }
body:has(.cookie:not([hidden])) .a11y { inset-block-end: 150px; }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 400; font-size: 15px; color: var(--text-2); cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--gold); margin: 2px 0 0; }
.check a { color: var(--gold); }
.field.consent { margin-top: 18px; }

/* Daniel & Tom: international proof */
.astats { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-2); overflow: hidden; }
.astats > div { padding: 18px 10px; text-align: center; }
.astats > div:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.astats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.astats b { display: block; font: 400 clamp(26px, 3vw, 34px)/1.1 "Secular One", sans-serif; color: var(--gold); }
.astats span { font-size: 14.5px; color: var(--text-2); }
@media (min-width: 900px) {
  .astats { grid-template-columns: repeat(4, 1fr); }
  .astats > div { border: 0 !important; }
  .astats > div + div { border-inline-start: 1px solid var(--line) !important; }
}
.yt-grid { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 700px) { .yt-grid { grid-template-columns: repeat(2, 1fr); } }
.yt { margin: 0; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt figcaption { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.yt figcaption b { font-size: 17px; font-weight: 600; }
.yt figcaption span { color: var(--text-2); font-size: 15px; }
.alinks { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; }
.alinks a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.alinks svg { width: 20px; height: 20px; }

/* Trial offer (the one offer on the site) */
.offer { display: grid; gap: 22px; border-radius: calc(var(--r-card) + 8px); padding: clamp(22px, 4vw, 40px); background: radial-gradient(120% 140% at 100% 0%, rgb(232 182 76 / .2), transparent 55%), var(--surface); border: 1px solid rgb(232 182 76 / .4); }
.offer-main .when { font-weight: 500; color: var(--text-2); }
.offer-main .num { font: 400 56px/1.05 "Secular One", sans-serif; margin-top: 6px; color: var(--gold); }
.offer-main .num small { font-size: 26px; }
.offer-main p { color: var(--text-2); margin-top: 8px; }
.offer-main .btn { margin-top: 20px; width: 100%; }
.offer-list { margin-top: 0; }
@media (min-width: 860px) { .offer { grid-template-columns: 5fr 7fr; align-items: center; gap: 44px; } }

/* Footer legal row: comfortable tap targets on phones */
.foot-bottom a, .foot-bottom .linkish { display: inline-block; padding-block: 12px; }

/* Phones: compact consent bar, and the hero keeps its CTA above it */
@media (max-width: 759px) {
  .cookie { padding-block: 10px calc(10px + env(safe-area-inset-bottom)); gap: 8px; }
  .cookie p { font-size: 13.5px; line-height: 1.5; }
  .cookie .btn-row { margin: 0; flex-wrap: nowrap; }
  .cookie .btn { flex: 1; min-height: 44px; }
  .cookie-open .hero-in { padding-bottom: calc(44px + var(--cookie-h, 0px)); }
}
/* First-class section: on phones the steps come before the video */
@media (max-width: 899px) { #first-class .split > .rv:first-child { order: 2; } }
