/* Estudios Védicos, masterclass v2: the page's own layer, on page/v2-base.css (and v2-sections.css after it).
   Session 11 (24 Nov 2026) restyled the theme's sections to home v2's language; the round 2 rollout (26 Nov 2026)
   set them to Ben's round 2 rules (V2-SET-BRIEF.md, notes 28 to 41) and row 64:
   - order: the hero, Vasiliy explains (this week's class, the first section after the hero, row 64), save your
     place, how the class works, past classes (locked), the next step;
   - how the class works sits on the locked earn steps (photo beside three steps in order), the next step on the
     locked offer pair; their designs come from v2-sections.css, this file only scopes this page's lines;
   - one gap ratio (--g1 12, --g2 24, --g3 head to showpiece), rows on shared top and bottom lines, centred heads,
     captions and short blocks, left only for form fields and the copy column of a split band;
   - one size per role: no figure or date set larger than the heading scale;
   - every section has its own entrance; the heads no longer share one fade.
   Every colour is a token from v2-base.css. Mobile first. */

/* ---------------------------------------------------------------- Line icons: home v2's 1.5 stroke */
.mc-plaza svg [stroke] { stroke-width: 1.5; }

/* ---------------------------------------------------------------- 1. Hero: the live picture comes into focus */
/* The hero itself is the base's (home v2's shade, type and buttons); the page keeps its framing.
   Entrance, this section's own: the picture tunes in like a stream starting, soft and dim to sharp, then the
   headline, the line and the two buttons arrive in reading order. */
.mc-hero__bg { object-position: 49% 22%; animation: mc-tune 1.6s var(--ease) both; }
@keyframes mc-tune {
  from { transform: scale(1.05); filter: sepia(.14) saturate(.92) contrast(1.04) brightness(.55) blur(10px); }
  to { transform: none; filter: sepia(.14) saturate(.92) contrast(1.04) brightness(1) blur(0); }
}
.mc-hero .hero__inner > * { animation: mc-rise .8s var(--ease) .25s both; }
.mc-hero .hero__standfirst { animation-delay: .4s; }
.mc-hero .hero__ctas { animation-delay: .55s; }
@keyframes mc-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- 2. Vasiliy explains: this week's class (row 64) */
/* The player and its words, on the past classes' lines (the locked #temas feature: an h3 title at the heading
   step, the gloss under it, the date and views as one small meta line). Stacked and centred up to 1100 px; from
   1100 px the player beside a left copy column that spans the player's full height, its words centred on it
   (as the locked earn steps' copy beside its photo). masterclass.js swaps the head and the pane (live, now,
   replay) from data-titles. */
.mc-week__grid { display: grid; gap: var(--g2); max-width: 920px; margin: 0 auto; }
.mc-week__media { overflow: hidden; border-radius: var(--rm); box-shadow: var(--pop); background: var(--ink); }
.mc-week__body { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mc-week__name { margin: 0; font-size: var(--fs-h3); line-height: 1.25; color: var(--forest); text-wrap: balance; }
.mc-week__gloss { margin: var(--g1) 0 0; color: var(--muted); text-wrap: pretty; }
.mc-week__meta { margin: var(--g1) 0 0; font-size: var(--fs-small); color: var(--muted); }
.mc-week__links { margin: 0; padding-top: var(--g2); display: flex; flex-direction: column; align-items: stretch; gap: var(--g1); width: 100%; max-width: 360px; }
@media (min-width: 600px) { .mc-week__links { flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: none; } }
@media (min-width: 1100px) {
  .mc-week__grid { max-width: none; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s-7); align-items: stretch; }
  .mc-week__body { justify-content: center; align-items: flex-start; text-align: left; }
  .mc-week__links { justify-content: flex-start; }
}
/* Entrance, this section's own: the player switches on like a screen. A bright line opens across the frame to
   the full picture, the picture warms from a pale flash into colour, the play mark pops in, and the class's
   words fade in one after another beside it. */
.js .mc-week__stage[data-reveal] { opacity: 1; transform: none; }
.js .mc-week__stage[data-reveal] .mc-week__media { clip-path: inset(49.5% 0 49.5% 0); transition: clip-path .7s cubic-bezier(.6, 0, .2, 1); }
.js .mc-week__stage.is-in .mc-week__media { clip-path: inset(-80px); }
.js .mc-week__stage.is-in .mc-week__media .vfacade__img { animation: mc-warm 1s var(--ease) .3s backwards; }
@keyframes mc-warm { from { filter: brightness(2.4) saturate(0) contrast(.5); } }
.js .mc-week__stage.is-in .mc-week__media .vfacade__play { animation: mc-pop .5s cubic-bezier(.3, 1.5, .5, 1) .85s backwards; }
@keyframes mc-pop { from { opacity: 0; transform: scale(.4); } }
.js .mc-week__stage[data-reveal] .mc-week__body > * { opacity: 0; transition: opacity .6s var(--ease); }
.js .mc-week__stage.is-in .mc-week__body > * { opacity: 1; }
.js .mc-week__stage.is-in .mc-week__body > :nth-child(1) { transition-delay: .55s; }
.js .mc-week__stage.is-in .mc-week__body > :nth-child(2) { transition-delay: .7s; }
.js .mc-week__stage.is-in .mc-week__body > :nth-child(3) { transition-delay: .85s; }
.js .mc-week__stage.is-in .mc-week__body > :nth-child(n+4) { transition-delay: 1s; }

/* ---------------------------------------------------------------- 3. Save your place: the live class photograph, the form beside it */
/* Two panels in a row: the tile gap between them, one top line and one bottom line. The photograph's foot is a
   caption (centred at every width); the form sheet is form fields (left at every width, its title with it).
   The next date and the form's title share one size, the panel title step, under the section heading. */
.mc-plaza { --mc-pt: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); }
.mc-plaza__grid { display: grid; gap: var(--g2); }
.mc-plaza__media { position: relative; margin: 0; min-height: 540px; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--rm); background: var(--ink); box-shadow: var(--pop); color: var(--paper); }
.mc-plaza__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 30%; }
.mc-when { position: relative; z-index: 1; width: 100%; margin: 0; padding: 120px var(--g2) var(--g2); display: flex; flex-direction: column; align-items: center; gap: var(--g2); text-align: center; background: linear-gradient(to top, color-mix(in srgb, var(--ink) 94%, transparent) 0%, color-mix(in srgb, var(--ink) 78%, transparent) 55%, transparent 100%); }
.mc-when__date, .mc-when__item { display: flex; flex-direction: column; align-items: center; gap: var(--s-1); }
.mc-when__icon { color: var(--saffron); display: flex; margin-bottom: var(--s-1); }
.mc-when__icon svg { width: 28px; height: 28px; }
.mc-when__main { font-family: var(--fd); font-weight: 400; font-size: var(--fs-h3); line-height: 1.2; color: var(--paper); font-variation-settings: "opsz" 72; }
.mc-when__main--date { font-size: var(--mc-pt); line-height: 1.05; letter-spacing: -0.01em; font-variation-settings: "opsz" 144; text-wrap: balance; }
.mc-when__sub { font-size: var(--fs-small); line-height: 1.4; color: var(--sage-l); }
/* The two times: one under the other on phones (a visitor's place name can be long), side by side from 600 px. */
.mc-when__times { display: grid; gap: var(--g2); width: 100%; }
@media (min-width: 600px) { .mc-when__times { grid-template-columns: 1fr 1fr; } }
/* The form on home v2's paper sheet: the grain, the media corner, the deep soft shadow, no hairline. */
.mc-form { display: flex; flex-direction: column; align-items: flex-start; text-align: left; width: 100%; max-width: 480px; margin: 0 auto; padding: clamp(24px, 3.2vw, 44px); background-color: var(--paper); background-image: var(--noise), var(--surface-paper); background-blend-mode: soft-light, normal; border-radius: var(--rm); box-shadow: var(--pop); }
.mc-form__icon { color: var(--copper); display: flex; }
.mc-form__icon svg { width: 30px; height: 30px; }
.mc-form__title { margin: var(--g1) 0 0; font-size: var(--mc-pt); line-height: 1.05; letter-spacing: -0.01em; color: var(--forest); font-variation-settings: "opsz" 144; }
.mc-form__form { width: 100%; margin-top: var(--g1); display: flex; flex-direction: column; gap: var(--s-2); }
.mc-plaza .mc-form__label { margin-top: var(--g1); font-size: var(--fs-small); font-weight: 600; color: var(--text); }
.mc-plaza .fm-field__input { min-height: 54px; border: 1px solid color-mix(in srgb, var(--forest) 45%, transparent); border-radius: var(--r); background: var(--white); color: var(--text); }
.mc-plaza .fm-field__input::placeholder { color: var(--muted); }
.mc-plaza .fm-field__input:hover { border-color: var(--forest); }
.mc-plaza .fm-field__input:focus, .mc-plaza .fm-field__input:focus-visible { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest), 0 0 0 3px var(--glow-soft); }
.mc-plaza .fm-field.is-invalid .fm-field__input { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.mc-plaza .fm-field__error, .mc-plaza .fm-note { color: var(--forest); }
/* The base sets each error's mark above its words on phones (for centred panels); this sheet is left, so the
   mark stays beside the words at every width. */
.mc-plaza .fm-field__error { flex-direction: row; align-items: flex-start; gap: var(--s-2); }
.mc-form__submit { width: 100%; margin-top: var(--g1); }
.mc-form__small { margin-top: var(--g2); color: var(--muted); }
.mc-plaza .mc-form__small a { color: var(--forest); }
@media (min-width: 900px) {
  .mc-plaza__grid { grid-template-columns: 7fr 5fr; align-items: stretch; }
  .mc-plaza__media { min-height: 600px; }
  .mc-when { padding: 200px var(--s-6) var(--s-6); }
  .mc-form { justify-content: center; max-width: none; margin: 0; }
}
/* Entrance, this section's own: the photograph fades up, then the date and the two times turn down onto it one
   after another like calendar pages, while the form sheet lifts off the band, its shadow growing under it. */
.js .mc-plaza__grid[data-reveal] { opacity: 1; transform: none; }
.js .mc-plaza__grid[data-reveal] .mc-plaza__media { opacity: 0; transition: opacity .6s var(--ease); }
.js .mc-plaza__grid[data-reveal] .mc-plaza__img { transform: scale(1.05); transition: transform 1.5s var(--ease); }
.js .mc-plaza__grid[data-reveal] .mc-when__date, .js .mc-plaza__grid[data-reveal] .mc-when__item { opacity: 0; transform: perspective(800px) rotateX(-75deg); transform-origin: 50% 0; transition: opacity .45s var(--ease) .35s, transform .8s cubic-bezier(.3, 1.25, .5, 1) .35s; }
.js .mc-plaza__grid[data-reveal] .mc-when__item:nth-child(1) { transition-delay: .6s; }
.js .mc-plaza__grid[data-reveal] .mc-when__item:nth-child(2) { transition-delay: .78s; }
.js .mc-plaza__grid.is-in .mc-plaza__media, .js .mc-plaza__grid.is-in .mc-when__date, .js .mc-plaza__grid.is-in .mc-when__item { opacity: 1; transform: none; }
.js .mc-plaza__grid.is-in .mc-plaza__img { transform: none; }
.js .mc-form[data-reveal] { opacity: 0; transform: translateY(14px); box-shadow: 0 0 0 -24px var(--shadow-ink); transition: opacity .6s var(--ease) .3s, transform .9s var(--ease) .3s, box-shadow 1.1s var(--ease) .45s; }
.js .mc-form[data-reveal].is-in { opacity: 1; transform: none; box-shadow: var(--pop); }

/* ---------------------------------------------------------------- 4. How the class works: the locked earn steps, on the dark band */
/* system-v2.html #earn (v2-sections.css .earn2, .grow): the garden photograph beside the copy column, its head,
   then three steps in order (before, during, after the class), each with a drawn icon; the button under them.
   The design is the locked one; this page sets it on the textured band, so only its text colours turn light.
   Entrance: the locked one (the photograph settles, the three icons draw and the steps come in together). */
#como-funciona .earn2__body .lede { color: var(--sage-l); }
#como-funciona .grow h3 { color: var(--paper); }
#como-funciona .grow p { color: var(--sage-l); }
.mc-how__cta { margin: var(--g3) 0 0; }

/* ---------------------------------------------------------------- 5. The next step: the locked offer pair */
/* system-v2.html #offer (v2-sections.css .offer2, .plan2): two cards on shared lines, with one line under each
   name saying who it is for (as on the programmes page), so six shared lines: photo, name, who, price, points,
   button. Stacked under 900 px by the shared rules. Entrance: the locked one (the cards slide in from their sides). */
#siguiente .plan2__who { max-width: 40ch; margin: 0; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
#siguiente .plan2--forest .plan2__who { color: var(--sage-l); }
@media (min-width: 900px) {
  #siguiente .offer2__grid { grid-template-rows: repeat(6, auto); }
  #siguiente .plan2 { grid-row: span 6; }
}

/* ---------------------------------------------------------------- Reduced motion: everything in place at once */
@media (prefers-reduced-motion: reduce) {
  .mc-hero__bg, .mc-hero .hero__inner > * { animation: none; }
  .js .mc-plaza__grid[data-reveal] *, .js .mc-plaza__grid[data-reveal] .mc-plaza__media, .js .mc-form[data-reveal],
  .js .mc-week__stage[data-reveal] * {
    opacity: 1 !important; transform: none !important; translate: none !important; transition: none !important; animation: none !important; }
  .js .mc-week__stage[data-reveal] .mc-week__media { clip-path: none !important; }
  .js .mc-form[data-reveal] { box-shadow: var(--pop); }
}
