/* Estudios Védicos, the v2 set: the shared base for every restyled page (session 11, 24 Nov 2026).
   Ben, 24 Nov 2026: "apply the same desgin lang to the rest of the pages. keep the same sections and formation
   only apply the desgin style". This file is the theme's own shared layer (tokens.css, site.css, forms.css and
   kit.css, in their load order) rewritten in home v2's language: the theme's token names now point at the v2
   palette (forest, bone, copper, saffron), one band padding (--sec), one centred section head (920 px, the --hg
   gap under it), one button row under a section (.more), one media corner and shadow (--rm 14 px with --pop on
   top-level media, --r 4 px on nested items), the v2 bands (paper grain, bone, ink textured with the saffron glow,
   dark photo, slim forest), the v2 buttons, arrows, bars and rings, the belly in home v2's look (its copy stays the
   theme's), and at the end home v2's site chrome (header, search, footer).
   Each page links this file, then its own page/<slug>-v2.css (the theme's sections-<page>.css restyled).
   House rules: no pills or chips, 50% radius only on avatars, rings and the logo, no divider lines, no side
   accent lines, no eyebrows, no rank numerals, text centred in controls, nothing sticky but the header. */


/* ================================================================== From tokens.css */

/* Estudios Vedicos design system, brand Direction 1 "Consulta y aula".
   Palette and fonts: B-brand/RESULT.md, Direction 1. Controls use the brand
   forest green and warm paper, with clear primary and secondary emphasis.
   Ben rejected the inset gold frames and oval controls on 2 October 2026.
   This is the only file allowed to hold hex values. Mobile first.

   House rules carried here:
   - no fully rounded shapes: nothing gets 999px or 50% except a real avatar
     (the logo disc) and the story rings;
   - no pills, chips or icon-in-a-circle capsules; notes are small italic text;
   - no hr, no divider lines between sections, no border-left or border-right
     accents, no uppercase letter-spaced kickers, no rank numerals;
   - text centred inside every control;
   - carousels: arrows at the left and right sides, the scroll bar centred
     beneath (.mcar, the shared mobile carousel). */

:root {
  /* Home v2's palette (Ben: forest, bone, copper, saffron). Copper carries icons and accents on light
     bands, saffron on dark ones; copper-t is the copper that may carry small text. */
  --ink: #131A15; --ink-2: #1B241D; --forest: #24372A; --forest-2: #2F4636;
  --bone: #F2ECE1; --paper: #FAF6EE; --bone-2: #E6DDCC;
  --copper: #A9592F; --copper-t: #8E4824; --saffron: #D39A35;
  --text: #1E2620; --muted: #5E6458; --sage: #A9B39A; --sage-l: #C9CFBD;

  /* The theme's own names, now pointing at the v2 palette: every theme rule and every page file reads these */
  --tinta: var(--text); --noche: var(--ink); --verde: var(--forest); --musgo: var(--muted);
  --oliva: var(--copper); --salvia: var(--sage); --salvia-claro: var(--sage-l); --ghee: var(--saffron);
  --hueso: var(--bone); --hueso-2: var(--bone-2); --papel: var(--paper); --white: #FFFFFF; --tinta-2: var(--ink-2);
  --scrim: rgba(19, 26, 21, 0.84);
  --glass-dark: rgba(19, 26, 21, 0.6);
  --glass-light: rgba(250, 246, 238, 0.94);
  --glass-quiet: rgba(250, 246, 238, 0.72);
  --track-dark: rgba(250, 246, 238, 0.18);
  --track-light: rgba(19, 26, 21, 0.14);
  --shadow-ink: rgba(19, 26, 21, 0.5);
  --line-light: rgba(19, 26, 21, 0.16);
  --line-dark: rgba(250, 246, 238, 0.2);
  --line-strong: rgba(19, 26, 21, 0.34);
  --glow: rgba(211, 154, 53, 0.45);       /* the active glow, now saffron */
  --glow-soft: rgba(211, 154, 53, 0.2);
  --halo: 0 0 22px 3px rgba(211, 154, 53, 0.45);

  /* Real platform brand colours (allowed exception, kept here) */
  --brand-youtube: #FF0000;
  --brand-instagram: #E4405F;
  --brand-tiktok: #000000;
  --brand-facebook: #0866FF;
  --brand-whatsapp: #25D366;
  --brand-google-blue: #4285F4;
  --brand-google-green: #34A853;
  --brand-google-yellow: #FBBC05;
  --brand-google-red: #EA4335;

  /* Texture: the grain over the deep forest to ink gradient, the saffron glow on textured bands */
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.25 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  --grid-noise: var(--noise);
  --deep: linear-gradient(155deg, color-mix(in srgb, var(--forest) 62%, var(--ink)) 0%, var(--ink) 64%);
  --surface-deep: var(--deep);
  --surface-paper: linear-gradient(160deg, var(--paper) 0%, var(--bone) 100%);
  --band-glow: radial-gradient(60% 50% at 85% 0%, rgba(211, 154, 53, 0.16), rgba(211, 154, 53, 0) 70%);
  --slim: linear-gradient(155deg, var(--forest-2) 0%, var(--forest) 60%);
  --hero-shade: linear-gradient(90deg, rgba(19, 26, 21, 0.92) 0%, rgba(19, 26, 21, 0.8) 42%, rgba(19, 26, 21, 0.4) 74%, rgba(19, 26, 21, 0.24) 100%), linear-gradient(0deg, rgba(19, 26, 21, 0.5) 0%, rgba(19, 26, 21, 0) 40%);
  --hero-shade-mobile: linear-gradient(to top, rgba(19, 26, 21, 0.95) 0%, rgba(19, 26, 21, 0.76) 55%, rgba(19, 26, 21, 0.42) 100%);

  /* Type: Fraunces for display, Instrument Sans for text */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --fd: var(--font-display); --ft: var(--font-text);
  --fs-small: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1rem + .35vw, 1.3125rem);
  --fs-step1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-h2: clamp(2rem, 1.2rem + 2.6vw, 3.43rem);
  --fs-h1: clamp(2.67rem, 1.4rem + 4.9vw, 5.5rem);
  --lh-tight: 1.04;
  --lh-snug: 1.25;
  --lh-body: 1.6;

  /* Space: one band padding and one head gap on every page */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 40px; --s-7: 64px; --s-8: 96px;
  --sec: clamp(72px, 4vw + 52px, 112px);
  --section-y: var(--sec);
  --hg: clamp(40px, 3.5vw, 56px);
  --gutter: 16px; --gut: var(--gutter);
  --container: 1280px; --wrap: var(--container);

  /* Shape: one media corner and one shadow. Top-level media 14 px with the deep soft shadow, nested items 4 px. */
  --r: 4px;
  --r-media: 14px; --rm: var(--r-media);
  --shadow-pop: 0 28px 60px -24px var(--shadow-ink); --pop: var(--shadow-pop);
  --ring: var(--saffron);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px; --hdr: var(--header-h);
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 80px; } }

/* Base */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hdr); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 var(--fs-body)/var(--lh-body) var(--ft); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: var(--font-display); font-weight: 400; color: var(--verde);
  line-height: var(--lh-tight); margin: 0; overflow-wrap: break-word;
}
h1 { font-size: var(--fs-h1); font-variation-settings: "opsz" 144; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); font-variation-settings: "opsz" 144; letter-spacing: -0.01em; text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-variation-settings: "opsz" 36; line-height: var(--lh-snug); }
h1 em, h2 em { font-style: italic; font-weight: 300; }
p { margin: 0 0 var(--s-3); }
a { color: var(--verde); text-underline-offset: 3px; }
button { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--oliva); outline-offset: 3px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Bands. Tone alternates; no line ever separates two bands. */
.band { padding: var(--section-y) 0; position: relative; }
.band--papel, .band--paper { background-color: var(--paper); background-image: var(--noise), var(--surface-paper); background-blend-mode: soft-light, normal; }
.band--hueso { background: var(--hueso); }
.band--darker { background-color: var(--ink); background-image: var(--noise), var(--deep); background-blend-mode: overlay, normal; color: var(--paper); }
.on-dark h2 { color: var(--papel); }
.band--textured { background-color: var(--ink); background-image: var(--noise), var(--band-glow), var(--deep); background-blend-mode: overlay, normal, normal; color: var(--paper); }
.band--darker h2, .band--textured h2 { color: var(--papel); }
.on-dark h2 em, .band--darker h2 em, .band--textured h2 em { color: var(--saffron); }
/* The slim forest band (home v2's separator): a page may set it on a slim call to action */
.band--forest { background-color: var(--forest); background-image: var(--noise), radial-gradient(70% 120% at 100% 0%, rgba(211, 154, 53, .12), rgba(211, 154, 53, 0) 60%), var(--slim); background-blend-mode: overlay, normal, normal; color: var(--paper); }
.band--forest h2, .band--forest h3 { color: var(--paper); }
.band__head { max-width: 920px; margin: 0 auto var(--hg); text-align: center; }
.band__head .band__lede { max-width: 760px; }
.band__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.band__head--center .band__lede { margin-left: auto; margin-right: auto; }
.band__lede { font-size: var(--fs-lead); line-height: 1.5; margin: 18px 0 0; color: var(--muted); text-wrap: pretty; }
.band--darker .band__lede, .band--textured .band__lede { color: var(--salvia-claro); }
.more { margin: var(--hg) 0 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.more--start { justify-content: flex-start; }

/* ---------------------------------------------------------------- Components */

/* Shared brand controls. One surface, readable type, no ornamental frame. */
.btn {
  position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 48px; max-width: 100%; padding: 13px 23px;
  font: 500 1.125rem/1.25 var(--fd); text-align: center; text-decoration: none;
  color: var(--forest); background: var(--paper);
  border: 1px solid var(--forest); border-radius: var(--r); box-shadow: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { color: var(--papel); background: var(--verde); border-color: var(--salvia); }
.btn:hover:not(:disabled), .btn:focus-visible { background: var(--hueso-2); color: var(--verde); }
.btn--primary:hover:not(:disabled), .btn--primary:focus-visible { background: var(--copper); color: var(--paper); border-color: var(--copper); }
.btn:focus-visible { outline: 2px solid var(--oliva); outline-offset: 4px; }
.btn:disabled { opacity: .55; cursor: default; }
.btn__sub { display: block; font-family: var(--font-text); font-style: normal; font-weight: 400; font-size: .8125rem; line-height: 1.3; margin-top: 3px; }
.btn--row { flex-direction: row; gap: var(--s-2); }
.btn--row svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 1rem; }
.btn--lg { min-height: 56px; padding: 15px 27px; font-size: 1.1875rem; }
/* On the dark photo bands (hero, photo bands): the second button is home v2's ghost */
.btn--ghost, .hero .btn:not(.btn--primary), .pband .btn:not(.btn--primary), .cband .btn:not(.btn--primary), .belly .btn:not(.btn--primary) { color: var(--paper); background: rgba(19, 26, 21, .35); border-color: rgba(169, 179, 154, .6); }
.btn--ghost:hover:not(:disabled), .btn--ghost:focus-visible, .hero .btn:not(.btn--primary):hover, .pband .btn:not(.btn--primary):hover, .cband .btn:not(.btn--primary):hover, .belly .btn:not(.btn--primary):hover { color: var(--paper); background: rgba(250, 246, 238, .12); border-color: var(--paper); }
/* On the textured bands: the paper button, saffron under the pointer (home v2's btn--paper) */
.btn--paper { color: var(--forest); background: var(--paper); border-color: var(--paper); }
.btn--paper:hover:not(:disabled), .band--textured .btn:not(.btn--primary):not(.offer-sheet .btn):hover, .band--darker .btn:not(.btn--primary):hover { color: var(--ink); background: var(--saffron); border-color: var(--saffron); }

/* Text link with an underline */
.link-u { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link-u:hover { text-decoration-thickness: 2px; }

/* Note: for "temporary image", "to confirm" and similar. Small italic text
   with a tiny diamond mark. Never a pill. */
.note { display: inline-flex; align-items: baseline; gap: var(--s-2); font-size: var(--fs-small); font-style: italic; line-height: 1.4; color: var(--musgo); margin: 0; }
.note::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; background: var(--ghee); transform: translateY(-2px) rotate(45deg); }
.band--darker .note, .band--textured .note, .surface-dark .note { color: var(--salvia-claro); }

/* Square label, the coverflow's length marker (as in the reference) */
.label { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 30px; padding: 4px 12px; border-radius: 2px; background: var(--noche); color: var(--papel); font-size: var(--fs-small); font-weight: 600; line-height: 1.2; }

/* The same forest-green surface for carousel and notebook controls. */
.arrow-btn {
  position: relative; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--paper); background: var(--forest); border: 1px solid var(--sage); border-radius: var(--r);
  box-shadow: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
}
.arrow-btn svg { width: 23px; height: 23px; }
.arrow-btn:hover:not(:disabled), .arrow-btn:focus-visible { background: var(--copper); border-color: var(--copper); color: var(--paper); }
.arrow-btn:disabled { opacity: .35; cursor: default; }

/* Panel surfaces: paper texture with a hairline, never a flat rounded box */
.surface { background-color: var(--paper); background-image: var(--noise), var(--surface-paper); background-blend-mode: soft-light, normal; border: 0; border-radius: var(--rm); box-shadow: var(--pop); }
.surface-dark { background: rgba(19, 26, 21, .6); border: 1px solid rgba(250, 246, 238, .18); border-radius: var(--rm); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: var(--paper); }

/* Feature list: line icons set straight on the band, no capsules */
.flist { list-style: none; margin: 0; padding: 0; }
.flist__item { display: grid; grid-template-columns: 28px 1fr; gap: 2px var(--s-3); align-items: start; }
.flist__icon { grid-row: 1 / 3; color: var(--oliva); padding-top: 2px; }
.flist__icon svg { width: 28px; height: 28px; }
.flist__title { font-weight: 700; line-height: 1.25; }
.flist__text { font-size: var(--fs-small); line-height: 1.35; color: var(--musgo); }
.band--textured .flist__text { color: var(--salvia-claro); }
.on-dark .flist__icon, .band--textured .flist__icon, .band--darker .flist__icon { color: var(--saffron); }

/* Scroll bar: a hairline track, square ends, centred beneath */
.scrollbar { width: 160px; max-width: 50%; height: 3px; margin: 24px auto 0; border-radius: 1px; background: var(--track-light); overflow: hidden; position: relative; }
.band--darker .scrollbar, .band--textured .scrollbar { background: var(--track-dark); }
.scrollbar__thumb { position: absolute; top: 0; left: 0; height: 100%; width: 30%; border-radius: 1px; background: var(--oliva); }
.band--darker .scrollbar__thumb, .band--textured .scrollbar__thumb, .on-dark .scrollbar__thumb { background: var(--saffron); }

/* Mobile carousel: one shared component for the blog list, the library's
   topic tiles, the topic story rings, the class list under the player and
   the reviews. Under 768 px the track is a centred snap scroll (swipe) that
   opens on its middle item: the current slide sharp in the centre, one
   neighbour on each side partly visible, blurred, faded and a touch smaller.
   Small quiet outlined arrows sit over the blurred halves at the artwork's
   mid-height; a thin scroll line is centred beneath. From 768 px up the
   wrapper has no box of its own and every list keeps its desktop layout. */
.mcar { position: relative; --side: 22vw; --gap: var(--s-3); }
@media (max-width: 767.98px) {
  /* The track runs edge to edge; its side padding centres the first and last slides. */
  .mcar .mcar__track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: var(--s-2) var(--side); }
  .mcar .mcar__track::-webkit-scrollbar { display: none; }
  .mcar .mcar__track > * { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; filter: blur(3.5px); opacity: .5; transform: scale(.92); transition: transform .25s ease, filter .25s ease, opacity .25s ease; }
  .mcar .mcar__track > .is-before { transform-origin: 100% 50%; }
  .mcar .mcar__track > .is-after { transform-origin: 0 50%; }
  .mcar .mcar__track > .is-current { filter: none; opacity: 1; transform: none; }
  .mcar__btn { position: absolute; top: var(--arrow-top, 50%); transform: translateY(-50%); z-index: 3; width: 44px; height: 54px; }
  .mcar__btn svg { width: 21px; height: 21px; }
  .mcar__btn--prev { left: calc(8px - var(--gutter)); }
  .mcar__btn--next { right: calc(8px - var(--gutter)); }
  .mcar__btn:disabled { opacity: 0; pointer-events: none; }
  .mcar__bar { width: 160px; height: 3px; margin-top: 24px; }
}
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
  .mcar .mcar__track > * { filter: none; transform: none; }
}
@media (min-width: 768px) {
  .mcar { display: contents; }
  .mcar__btn, .mcar__bar { display: none; }
}

/* Story rings: the one round shape allowed, with the logo disc */
.story { display: inline-flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-2); text-decoration: none; color: inherit; }
.story__ring { width: 88px; height: 88px; border-radius: 50%; padding: 4px; background: var(--paper); box-shadow: 0 0 0 2px var(--saffron); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.story__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 0; }
/* .band--hueso .story__ring img: the ring has no inner border now */
/* .band--textured .story__ring img: the ring has no inner border now */
.story:hover .story__ring { transform: scale(1.05); box-shadow: 0 0 0 2px var(--copper); }
.story__label { font-size: var(--fs-small); line-height: 1.25; font-weight: 500; }

/* Phones: the page is centred, header to footer (the header bar keeps its logo left and its menu button right).
   The shared pieces are here; each section's own layout centring sits in its phone block in sections-home.css. */
@media (max-width: 767.98px) {
  main, .belly, .footer, .mobile-panel { text-align: center; }
  .more--start { justify-content: center; }
  /* A note's diamond sits above its words. */
  .note { flex-direction: column; align-items: center; gap: 2px; }
  .note::before { transform: rotate(45deg); }
}


/* ================================================================== From site.css */

/* Site-wide parts, loaded on every page after tokens.css: the brand marks, the
   photo hero, the YouTube facade, the feature strip and fact timeline, the
   reviews, the price line, the belly footer, the footer, the programmes path
   (parts/path.php, homepage and /cursos/), and the entrance motion. Moved here from sections-home.css (Diploma build, 30 Sep 2026) so
   every page shares them. No hex values: every colour is a token.
   Each page's own sections live in assets/css/sections-{key}.css. */

/* Brand marks: real platform logos (Simple Icons, CC0) masked in brand colour */
.bicon { display: inline-block; width: 28px; height: 28px; flex: 0 0 auto; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; background-color: currentColor; }
.bicon--youtube { --icon: url("https://cdn.jsdelivr.net/npm/simple-icons@13/icons/youtube.svg"); background-color: var(--brand-youtube); }
.bicon--instagram { --icon: url("https://cdn.jsdelivr.net/npm/simple-icons@13/icons/instagram.svg"); background-color: var(--brand-instagram); }
.bicon--tiktok { --icon: url("https://cdn.jsdelivr.net/npm/simple-icons@13/icons/tiktok.svg"); background-color: var(--brand-tiktok); }
.bicon--facebook { --icon: url("https://cdn.jsdelivr.net/npm/simple-icons@13/icons/facebook.svg"); background-color: var(--brand-facebook); }
.bicon--whatsapp { --icon: url("https://cdn.jsdelivr.net/npm/simple-icons@13/icons/whatsapp.svg"); background-color: var(--brand-whatsapp); }
.bicon--google { --icon: url("https://cdn.jsdelivr.net/npm/simple-icons@13/icons/google.svg"); background-color: var(--brand-google-blue); }
.bicon--sm { width: 20px; height: 20px; }
.bicon--xs { width: 16px; height: 16px; }
.bicon--mono { background-color: currentColor; }

/* ---------------------------------------------------------------- Hero */
/* Haviv's .ah-hero--has-image: a full-bleed photograph under one shade, the
   copy set over it. No framed image, no boxed figures, no quote card. */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--paper); display: flex; align-items: flex-end; min-height: calc(100svh - var(--hdr)); padding: 96px 0 44px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; filter: sepia(.14) saturate(.92) contrast(1.04); animation: settle 18s var(--ease) both; }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: var(--hero-shade-mobile); }
.hero__inner { position: relative; z-index: 1; }
.hero__title { color: var(--paper); font-size: var(--fs-h1); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.hero__title em { color: var(--saffron); }
.hero__standfirst { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.5rem); line-height: 1.45; color: var(--paper); margin: 24px 0 40px; text-wrap: pretty; }
.hero__ctas { display: flex; flex-direction: column; gap: var(--s-3); }
.hero__ctas .btn { width: 100%; }
@media (min-width: 768px) {
  .hero { align-items: center; min-height: 0; padding: clamp(88px, 12vh, 128px) 0; }
  .hero__standfirst { margin: var(--s-5) 0 var(--s-6); }
  .hero__shade { background: var(--hero-shade); }
  .hero__ctas { flex-direction: row; flex-wrap: wrap; }
  .hero__ctas .btn { width: auto; }
  .hero__inner > * { max-width: 1060px; }
  .hero__standfirst { max-width: 880px; }
}

/* Programme heroes: price is the fourth row, beneath the action buttons. */
.hero__price { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); margin-top: var(--s-5); }
.hero__price-option { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--s-3); margin: 0; }
.hero__price-amount { font-family: var(--font-display); font-size: clamp(1.5rem, 1.3rem + .5vw, 1.75rem); font-weight: 400; line-height: 1.25; color: var(--papel); white-space: nowrap; }
.hero__price-terms { font-size: var(--fs-small); line-height: 1.45; color: var(--salvia-claro); }
@media (max-width: 767.98px) {
  .hero__price { flex-direction: column; align-items: center; }
  .hero__price-option { flex-direction: column; align-items: center; }
}

/* A light band with the paper grain */
/* .band--paper: set with .band--papel in the base */

/* ---------------------------------------------------------------- Video facade */
/* Thumbnail and play mark first; the youtube-nocookie iframe only after a click. */
.vfacade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: var(--noche); cursor: pointer; overflow: hidden; }
.vfacade__img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease, filter .3s ease; }
.vfacade:hover .vfacade__img { transform: scale(1.02); filter: brightness(0.85); }
.vfacade__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 52px; margin: -26px 0 0 -36px; display: grid; place-items: center; border-radius: var(--r); background-color: var(--noche); background-image: var(--grid-noise), var(--surface-deep); border: 1px solid var(--salvia-claro); color: var(--papel); transition: border-color .15s ease; }
.vfacade__play svg { width: 26px; height: 26px; }
.vfacade:hover .vfacade__play, .vfacade:focus-visible .vfacade__play { border-color: var(--oliva); }
.vfacade:hover .vfacade__play, .vfacade:focus-visible .vfacade__play { background-color: var(--copper); background-image: none; border-color: var(--copper); }
.vframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--noche); }
/* A video slot that cannot play yet (no data-yt): the facade's look, no pointer, no hover zoom (SM merge, 1 Oct 2026). */
.vfacade--pending { cursor: default; }
.vfacade--pending:hover .vfacade__img { transform: none; filter: none; }
.watch-on-yt { font-size: var(--fs-small); color: var(--musgo); text-decoration: underline; text-underline-offset: 3px; }
.watch-on-yt:hover { color: var(--verde); }

/* ---------------------------------------------------------------- Feature strip and fact timeline */
/* The homepage About, Haviv's: .ah-feature-strip (portrait 42 percent, body beside it,
   shared top and bottom edges) and .ah-fact-timeline (a spine with a mark
   per year and fact). The spine is drawn as its own 1px element, neutral,
   so it is a timeline, not a side border on a box. */
.feature-strip { display: flex; flex-direction: column; gap: var(--s-5); }
.feature-strip__media { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-media); border: 1px solid var(--line-dark); display: flex; flex-direction: column; }
.feature-strip__img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-strip__img--portrait { aspect-ratio: 4 / 5; object-position: 70% 20%; }
.feature-strip__media .media-note { position: absolute; left: var(--s-4); bottom: var(--s-3); right: var(--s-4); color: var(--papel); }
.feature-strip__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to top, var(--scrim), transparent); pointer-events: none; }
.feature-strip__media .media-note { z-index: 1; }
.feature-strip__title { font-size: clamp(2.5rem, 1.8rem + 3vw, 4.25rem); font-weight: 400; line-height: 1; margin-bottom: var(--s-4); }
.feature-strip__text { max-width: 48ch; color: var(--salvia-claro); font-size: var(--fs-step1); line-height: 1.45; margin: 0; }
.fact-timeline { list-style: none; position: relative; margin: var(--s-5) 0; padding: 0 0 0 var(--s-5); display: flex; flex-direction: column; gap: var(--s-4); }
.fact-timeline::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--line-dark); }
.fact-timeline li { position: relative; display: flex; flex-direction: column; gap: 2px; }
.fact-timeline li::before { content: ""; position: absolute; left: calc(-1 * var(--s-5) - 3px); top: 0.45em; width: 7px; height: 7px; background: var(--ghee); transform: rotate(45deg); }
.fact-timeline__year { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; line-height: 1.2; color: var(--papel); }
.fact-timeline__fact { font-size: var(--fs-body); color: var(--salvia-claro); line-height: 1.45; }
/* Phones: no spine; each row centred, its diamond above the year, the year above the fact. */
@media (max-width: 767.98px) {
  .feature-strip__text { margin-left: auto; margin-right: auto; }
  .fact-timeline { padding: 0; }
  .fact-timeline::before { content: none; }
  .fact-timeline li { align-items: center; }
  .fact-timeline li::before { position: static; margin-bottom: var(--s-1); }
}
@media (min-width: 768px) {
  .feature-strip { flex-direction: row; align-items: stretch; gap: var(--s-7); }
  .feature-strip__media { flex: 0 0 42%; }
  .feature-strip__img { aspect-ratio: auto; height: 100%; }
  .feature-strip__body { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
  .feature-strip--about { flex-direction: row-reverse; }
}
/* On a light band (papel or hueso): the same strip and timeline in ink colours. */
.feature-strip--light .feature-strip__media { border-color: var(--line-light); }
.feature-strip--light .feature-strip__text { color: var(--musgo); }
.feature-strip--light .fact-timeline::before { background: var(--line-strong); }
.feature-strip--light .fact-timeline__year { color: var(--verde); }
.feature-strip--light .fact-timeline__fact { color: var(--tinta); }

/* ---------------------------------------------------------------- Reviews */
/* Set as type on the band: no card boxes. The rating is a headline line. */
.reviews__head { display: grid; gap: var(--s-5); align-items: end; margin-bottom: var(--s-6); }
.rating { display: inline-flex; align-items: center; gap: var(--s-4); color: var(--tinta); text-decoration: none; justify-self: start; }
.rating__num { font-family: var(--font-display); font-size: clamp(4rem, 3rem + 4vw, 6.5rem); line-height: .9; color: var(--verde); font-variation-settings: "opsz" 144; }
.rating__side { display: flex; flex-direction: column; gap: 4px; }
.rating__stars { display: inline-flex; gap: 2px; color: var(--ghee); }
.rating__stars svg { width: 20px; height: 20px; }
.rating__text { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; }
.rating__link { color: var(--verde); text-decoration: underline; text-underline-offset: 3px; font-size: var(--fs-small); }
.rating:hover .rating__link { text-decoration-thickness: 2px; }
.rcols { columns: 1; column-gap: var(--s-7); }
.rquote { break-inside: avoid; margin: 0 0 var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); }
.rquote__mark { color: var(--ghee); }
.rquote__mark svg { width: 34px; height: 34px; }
.rquote blockquote { margin: 0; }
.rquote blockquote p { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.35; color: var(--verde); margin: 0; }
.rquote__es { font-size: var(--fs-small); color: var(--musgo); font-style: italic; margin: 0; }
.rquote__who { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-small); font-weight: 600; color: var(--tinta); margin-top: var(--s-1); }
.rquote__who em { font-weight: 400; color: var(--musgo); }
@media (max-width: 767.98px) {
  .rating { justify-self: center; }
  .rating__side { align-items: center; }
  .mcar--reviews .rquote { margin: 0; align-items: center; }
  .rquote__who { justify-content: center; }
  .rquote__who:has(.bicon) { flex-direction: column; gap: var(--s-1); }
}
@media (min-width: 768px) { .rcols { columns: 2; } .reviews__head { grid-template-columns: 1fr auto; } }
@media (min-width: 1100px) { .rcols { columns: 3; } }

/* ---------------------------------------------------------------- Belly footer */
/* Haviv's belly: the photograph held back under the deep textured surface. */
.belly { position: relative; overflow: hidden; isolation: isolate; padding: var(--sec) 0; color: var(--paper); background: var(--ink); }
.belly__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.belly__scrim { position: absolute; inset: 0; z-index: -1; background-color: var(--noche); background-image: var(--grid-noise), var(--surface-deep); background-blend-mode: overlay, normal; opacity: 0.86; }
.belly__grid { position: relative; display: grid; gap: 32px; align-items: center; text-align: center; }
.belly__copy h2 { color: var(--paper); margin: 0 auto; max-width: 18ch; }
.belly__copy p { color: var(--sage-l); font-size: var(--fs-lead); line-height: 1.5; max-width: 620px; margin: 18px auto 0; }
.belly__members { display: flex; align-items: center; justify-content: center; gap: var(--s-2); margin: var(--s-4) 0 0; font-weight: 600; color: var(--paper); }
.belly__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.belly__signup { display: flex; flex-direction: column; gap: var(--s-3); padding: clamp(24px, 2.6vw, 36px); background: rgba(19, 26, 21, .6); border: 1px solid rgba(250, 246, 238, .18); border-radius: var(--rm); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.belly__form { display: flex; flex-direction: column; gap: 10px; }
.belly__form .fm-field__input { min-height: 56px; padding: 0 16px; color: var(--text); background: var(--paper); border: 1px solid var(--sage); border-radius: var(--r); }
.belly__submit { min-height: 56px; white-space: nowrap; }
.belly__wa { width: 100%; }
/* Phones: the copy centred; the form keeps its full-width field and button. */
@media (max-width: 767.98px) {
  .belly__copy h2, .belly__copy p { margin-left: auto; margin-right: auto; }
  .belly__members { flex-direction: column; }
}
@media (min-width: 768px) { .belly__form { flex-direction: row; } .belly__input { flex: 1 1 auto; } }
@media (min-width: 1100px) { .belly__grid { grid-template-columns: 1.1fr 1fr; gap: 64px; text-align: left; align-items: stretch; } .belly__signup { justify-content: center; } .belly__copy h2, .belly__copy p { margin-left: 0; } .belly__members, .belly__links { justify-content: flex-start; } }

/* ---------------------------------------------------------------- Shared: price line and button rows */
.prog__ctas { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-1) var(--s-3); margin: 0 0 var(--s-4); }
.price__num { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); line-height: 1; color: var(--verde); font-variation-settings: "opsz" 144; }
.price__terms { color: var(--musgo); }
@media (max-width: 767.98px) { .price { justify-content: center; } }
.prog__ctas { align-items: center; }

/* ---------------------------------------------------------------- The programmes path (parts/path.php), shared: homepage and /cursos/ */
/* The homepage look (31 Oct 2026), shared since the /cursos/ redesign. The two answers are vintage seed
   packet labels: a crimped top seal, the paper grain, the engraved botanical art, the words centred under
   or beside it. Chosen, the packet turns brand green, the art sits in its cream window and the packet lifts
   with the olive glow. The four stops are one strip of joined photographs (6 px seams), the name on the
   shaded foot of each; no line, no marks, no brackets ([data-tl-line] and [data-stop-mark] stay in the
   markup for site.js and are hidden here). An answer without "art" keeps the plain outlined button. */
.path { --leaf-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19C5 10 11 4 20 4c0 9-6 15-15 15z'/%3E%3C/svg%3E"); }
.path .band__head { margin-bottom: var(--s-5); }
.path__answers { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin: 0 0 var(--s-6); padding-top: 10px; }
.answer { display: flex; justify-content: center; align-items: center; gap: var(--s-4); text-align: left; padding: var(--s-4) var(--s-5); min-height: 96px; border: 1px solid var(--line-strong); border-radius: var(--r); background: transparent; color: var(--tinta); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.answer:hover { border-color: var(--verde); }
.answer__icon { color: var(--verde); flex: 0 0 auto; width: 44px; display: flex; justify-content: center; }
.answer__icon svg { width: 40px; height: 40px; }
.answer__txt { display: flex; flex-direction: column; gap: 3px; flex: 0 1 auto; min-width: 0; }
.answer__label { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.2; color: var(--verde); max-width: 24ch; text-wrap: balance; }
.answer__sub { font-size: var(--fs-small); color: var(--musgo); }
.answer[aria-pressed="true"] { background-color: var(--noche); background-image: var(--grid-noise), var(--surface-deep); background-blend-mode: overlay, normal; border-color: var(--oliva); color: var(--papel); }
.answer[aria-pressed="true"] .answer__label, .answer[aria-pressed="true"] .answer__icon { color: var(--papel); }
.answer[aria-pressed="true"] .answer__sub { color: var(--salvia-claro); }
@media (max-width: 767.98px) {
  .answer { flex-direction: column; gap: var(--s-2); text-align: center; }
  .answer__txt { align-items: center; }
}
.answer--packet { --paper: var(--papel); --vignette: var(--hueso-2); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: var(--s-3); min-height: 0; padding: var(--s-5) var(--s-3); border: 0; border-radius: 0 0 var(--r) var(--r); text-align: center; color: var(--tinta); background-color: var(--paper); background-image: repeating-linear-gradient(90deg, var(--line-light) 0 1px, transparent 1px 5px), var(--grid-noise), var(--surface-paper); background-size: 100% 16px, auto, auto; background-repeat: no-repeat, repeat, no-repeat; background-blend-mode: normal, soft-light, normal; box-shadow: 0 18px 30px -20px var(--shadow-ink); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease, background-color .3s ease; }
/* The crimped seal along the top edge: small paper teeth in the packet colour. */
.answer--packet::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 7px; background: var(--paper); -webkit-mask: conic-gradient(from 135deg at 50% 0, black 90deg, transparent 0) 0 0 / 10px 100% repeat-x; mask: conic-gradient(from 135deg at 50% 0, black 90deg, transparent 0) 0 0 / 10px 100% repeat-x; transition: background-color .3s ease; }
.answer--packet:hover { transform: translateY(-3px); }
.answer__art { display: block; width: 100%; height: 132px; background: radial-gradient(closest-side, var(--vignette) 94%, transparent 100%); }
.answer__art img { width: 100%; height: 100%; object-fit: contain; padding: 6px 0; transform-origin: 50% 90%; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.answer--packet:hover .answer__art img { transform: rotate(-3deg) scale(1.04); }
.answer--packet .answer__txt { align-items: center; gap: var(--s-1); }
.answer--packet .answer__label { font-size: clamp(1.0625rem, .95rem + .7vw, 1.625rem); line-height: 1.15; max-width: 22ch; }
.answer--packet .answer__sub { font-size: .8125rem; font-style: italic; line-height: 1.35; }
.answer--packet[aria-pressed="true"] { --paper: var(--verde); --vignette: var(--papel); background-color: var(--verde); background-image: repeating-linear-gradient(90deg, var(--line-dark) 0 1px, transparent 1px 5px), var(--grid-noise); background-size: 100% 16px, auto; background-repeat: no-repeat, repeat; background-blend-mode: normal, overlay; transform: translateY(-4px); box-shadow: 0 0 0 3px var(--glow-soft), 0 0 30px 6px var(--glow); }
.answer--packet[aria-pressed="true"] .answer__art img { animation: path-sway .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes path-sway { 0% { transform: rotate(-6deg) scale(.96); } 60% { transform: rotate(2deg) scale(1.02); } 100% { transform: none; } }
@media (min-width: 768px) {
  .path__answers { gap: var(--s-6); }
  .answer--packet { display: grid; grid-template-columns: minmax(150px, 38%) 1fr; align-items: center; gap: var(--s-4); padding: var(--s-5) var(--s-6) var(--s-5) var(--s-4); }
  .answer__art { height: 168px; }
  .answer--packet .answer__sub { font-size: var(--fs-small); }
}

/* The track: four photographs joined in one strip (a snap scroller on phones); the chosen stop in full
   colour, pushed in, with the olive glow. */
.tl { position: relative; }
.path .tl__line, .path .stop__mark, .path .tl__brackets { display: none; }
.tl__track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: var(--s-2); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: var(--s-4) var(--gutter); }
.tl__track::-webkit-scrollbar { display: none; }
.stop { scroll-snap-align: center; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; aspect-ratio: 4 / 3; padding: var(--s-4) var(--s-3); border: 0; border-radius: var(--r-media); overflow: hidden; text-align: center; background: var(--noche); color: var(--tinta); cursor: pointer; transition: box-shadow .4s ease; }
.stop::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, color-mix(in srgb, var(--noche) 88%, transparent) 0%, color-mix(in srgb, var(--noche) 40%, transparent) 42%, transparent 72%); }
.stop::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .4s ease; pointer-events: none; }
.stop__img { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; overflow: hidden; }
.stop__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.9); transform: scale(1.01); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1), filter .5s ease; }
.stop__name { font-family: var(--font-display); font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); line-height: 1.15; color: var(--papel); }
.stop__len { font-size: var(--fs-small); color: var(--salvia-claro); }
.stop.is-next .stop__name::after { content: "siguiente paso"; display: block; margin-top: 2px; font-family: var(--font-text); font-size: .8125rem; font-style: italic; color: var(--oliva); }
.stop:hover .stop__img img { filter: saturate(.9) brightness(.95); }
.stop.is-active { z-index: 1; box-shadow: 0 0 0 3px var(--glow-soft), 0 0 28px 4px var(--glow); }
.stop.is-active::after { box-shadow: inset 0 0 0 2px var(--oliva); }
.stop.is-active .stop__img img { filter: none; transform: scale(1.07); }
/* While no answer is chosen the chosen stop breathes: its glow swells and settles. */
.tl.is-idle .stop.is-active { animation: path-breathe 2.6s ease-in-out infinite; }
@keyframes path-breathe { 0%, 100% { box-shadow: 0 0 0 3px var(--glow-soft), 0 0 28px 4px var(--glow); } 50% { box-shadow: 0 0 0 5px var(--glow-soft), 0 0 44px 10px var(--glow); } }
@media (min-width: 900px) {
  .tl__track { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; gap: 6px; overflow: visible; margin: 0; padding: var(--s-2) 0 0; scroll-snap-type: none; }
  .stop { border-radius: 0; aspect-ratio: 5 / 4; }
  .stop:first-of-type { border-radius: var(--r-media) 0 0 var(--r-media); }
  .stop:last-of-type { border-radius: 0 var(--r-media) var(--r-media) 0; }
}

/* The detail: its own photograph settling in as it opens; what you get set with small olive leaves. */
.tl__details { margin-top: var(--s-6); }
.detail { display: grid; gap: var(--s-5); }
.detail.is-flash { animation: detail-flash .2s ease-out; }
@keyframes detail-flash { from { opacity: 0; } to { opacity: 1; } }
.detail__media { margin: 0; border-radius: var(--r-media); overflow: hidden; }
.detail__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.detail.is-flash .detail__media img { animation: path-settle 1.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes path-settle { from { transform: scale(1.08); } to { transform: none; } }
.detail__title { outline: none; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.05; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-3); }
.detail__len { font-family: var(--font-text); font-size: var(--fs-body); color: var(--musgo); }
.detail__who { font-size: var(--fs-lead); line-height: 1.5; margin: 0 0 var(--s-4); }
.detail__list { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: grid; gap: var(--s-3); }
.detail__list li { position: relative; padding-left: 30px; font-size: var(--fs-body); line-height: 1.5; }
.detail__list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: var(--oliva); -webkit-mask: var(--leaf-mark) center / contain no-repeat; mask: var(--leaf-mark) center / contain no-repeat; }
.detail__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); margin-top: var(--s-4); }
.detail__foot .price { margin: 0; flex-basis: 100%; }
/* Phones: the detail centred, each leaf just before its line. */
@media (max-width: 767.98px) {
  .detail__title, .detail__foot { justify-content: center; }
  .detail__list li { display: block; padding-left: 0; text-align: center; }
  .detail__list li::before { display: inline-block; position: static; margin-right: var(--s-2); vertical-align: -2px; }
}
@media (min-width: 1100px) { .detail { grid-template-columns: 1fr 1.25fr; gap: var(--s-7); align-items: center; } }
/* The stops rise in one after another when the timeline enters (the homepage's [data-reveal-stop]). */
.js [data-reveal-stop] { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease; }
.js .is-in [data-reveal-stop] { opacity: 1; transform: none; }
.js .is-in [data-reveal-stop]:nth-of-type(2) { transition-delay: .12s, .12s, 0s; }
.js .is-in [data-reveal-stop]:nth-of-type(3) { transition-delay: .24s, .24s, 0s; }
.js .is-in [data-reveal-stop]:nth-of-type(4) { transition-delay: .36s, .36s, 0s; }
/* The stop keeps its glow fade beside the rise (opacity, transform, box-shadow; the delays above match). */
.path .stop { transition-property: opacity, transform, box-shadow; transition-duration: .4s; transition-timing-function: ease; }
@media (prefers-reduced-motion: reduce) {
  .tl.is-idle .stop.is-active, .answer--packet[aria-pressed="true"] .answer__art img, .detail.is-flash .detail__media img { animation: none; }
}

/* ---------------------------------------------------------------- Closing band */
/* The last call before the belly footer (the Diploma's band, shared since the SM merge, 1 Oct 2026):
   the light hueso grain (papel with --papel), a line icon, the line and the action, on one row from
   768 px (from 1100 px with --wide). A page keeps only what differs, under its own section class. */
.close-band { background-color: var(--hueso); background-image: var(--grid-noise); background-blend-mode: soft-light; color: var(--tinta); }
.close-band--papel { background-color: var(--papel); }
.close-band__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-4); padding-top: var(--s-7); padding-bottom: var(--s-7); }
.close-band__icon { color: var(--verde); display: flex; }
.close-band__icon svg { width: 44px; height: 44px; }
.close-band__title { font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); line-height: 1.05; }
@media (min-width: 768px) {
  .close-band:not(.close-band--wide) .close-band__inner { flex-direction: row; gap: var(--s-5); text-align: left; }
  .close-band:not(.close-band--wide) .close-band__cta { margin-left: auto; }
}
@media (min-width: 1100px) {
  .close-band--wide .close-band__inner { flex-direction: row; gap: var(--s-5); text-align: left; }
  .close-band--wide .close-band__cta { margin-left: auto; }
}

/* ---------------------------------------------------------------- Class card */
/* A class of the free library (ev_class_card()), on the library and its class pages (SM merge, 1 Oct 2026;
   the library's card, shared). Signed out is the state shown; a page's own signed-in preview shows
   .ccard__access--in instead. */
/* Set on the band, no box: the picture, then the words. */
.ccard { display: flex; flex-direction: column; gap: var(--s-3); height: 100%; color: var(--tinta); text-decoration: none; }
.ccard__media { position: relative; display: block; flex: 0 0 auto; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--noche); }
.ccard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ccard:hover .ccard__media img, .ccard:focus-visible .ccard__media img { transform: scale(1.04); }
/* A recording with no picture yet: its topic's picture held back under the grain, the camera line icon and its format. */
.ccard__media--cover img { filter: saturate(.6); }
/* A frame from an intro clip, held a little closer: Zoom's name label (low, on the left) falls outside. */
.ccard__media--zoom img { transform: scale(1.16); transform-origin: 40% 50%; }
.ccard:hover .ccard__media--zoom img, .ccard:focus-visible .ccard__media--zoom img { transform: scale(1.2); }
.ccard__cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-1); background-color: var(--scrim); background-image: var(--grid-noise); background-blend-mode: overlay; color: var(--papel); }
.ccard__cover-icon { display: flex; color: var(--oliva); }
.ccard__cover-icon svg { width: 34px; height: 34px; }
.ccard__cover-text { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; line-height: 1.2; color: var(--papel); }
.ccard__len { position: absolute; left: var(--s-2); bottom: var(--s-2); min-height: 26px; padding: 2px 8px; font-size: .8125rem; }
.ccard__body { display: flex; flex-direction: column; gap: var(--s-1); min-width: 0; }
.ccard__title { font-family: var(--font-display); font-size: 1.1875rem; line-height: 1.25; color: var(--verde); font-variation-settings: "opsz" 36; }
.ccard:hover .ccard__title { text-decoration: underline; text-decoration-color: var(--oliva); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ccard__meta, .ccard__views { font-size: var(--fs-small); line-height: 1.35; color: var(--musgo); }
.ccard__access { display: inline-flex; align-items: center; gap: var(--s-2); margin-top: var(--s-1); font-size: var(--fs-small); font-weight: 600; line-height: 1.3; color: var(--verde); }
.ccard__icon { display: flex; }
.ccard__icon svg { width: 18px; height: 18px; }
.ccard__access--in { display: none; }
@media (max-width: 767.98px) {
  .ccard { align-items: stretch; text-align: center; }
  .ccard__body { align-items: center; }
}

/* ---------------------------------------------------------------- Entrance motion: once on entry, 0.4 to 0.6 s, transform and opacity only */
.js [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-rows] li { opacity: 0; transform: translateY(-8px); transition: opacity .3s ease, transform .3s ease; }
.js [data-reveal-rows].is-in li { opacity: 1; transform: none; }
.js [data-reveal-rows].is-in li:nth-child(1) { transition-delay: 0s; }
.js [data-reveal-rows].is-in li:nth-child(2) { transition-delay: .1s; }
.js [data-reveal-rows].is-in li:nth-child(3) { transition-delay: .2s; }
.js [data-reveal-rows].is-in li:nth-child(4) { transition-delay: .3s; }
.js [data-reveal-rows].is-in li:nth-child(5) { transition-delay: .4s; }
.js [data-reveal-rows].is-in li:nth-child(6) { transition-delay: .5s; }
.js [data-reveal-rows].is-in li:nth-child(n+7) { transition-delay: .6s; }
.js [data-reveal-strip] .feature-strip__media { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.js [data-reveal-strip].is-in .feature-strip__media { opacity: 1; transform: none; }
/* A set: its children rise in one after another (0.4 s each, 0.08 s apart). */
.js [data-reveal-set] > * { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
.js [data-reveal-set].is-in > * { opacity: 1; transform: none; }
.js [data-reveal-set].is-in > :nth-child(2) { transition-delay: 0.08s; }
.js [data-reveal-set].is-in > :nth-child(3) { transition-delay: 0.16s; }
.js [data-reveal-set].is-in > :nth-child(4) { transition-delay: 0.24s; }
.js [data-reveal-set].is-in > :nth-child(5) { transition-delay: 0.32s; }
.js [data-reveal-set].is-in > :nth-child(6) { transition-delay: 0.4s; }
.js [data-reveal-set].is-in > :nth-child(7) { transition-delay: 0.48s; }
.js [data-reveal-set].is-in > :nth-child(8) { transition-delay: 0.56s; }
.js [data-reveal-set].is-in > :nth-child(n+9) { transition-delay: .56s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal-rows] li, .js [data-reveal-strip] .feature-strip__media, .js [data-reveal-set] > * { opacity: 1; transform: none; transition: none; }
  .js [data-reveal-stop] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* Google sign-in mark; size matches the previous small brand icon. */
.gmark { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; }
.gmark__r { fill: var(--brand-google-red); }
.gmark__b { fill: var(--brand-google-blue); }
.gmark__y { fill: var(--brand-google-yellow); }
.gmark__g { fill: var(--brand-google-green); }

/* ================================================================== From forms.css */

/* ---------------------------------------------------------------- Forms (shared, 1 Oct 2026) */
.fm-panel { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-6) var(--s-5); box-shadow: var(--shadow-pop); }
.fm-panel__form { display: flex; flex-direction: column; gap: var(--s-4); }
.fm-panel__title { color: var(--papel); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); line-height: 1.1; }
.fm-panel .note { color: var(--salvia-claro); }
.fm-google { width: 100%; }
.fm-or { margin: 0; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.0625rem; line-height: 1.3; color: var(--salvia-claro); }
.fm-form { display: flex; flex-direction: column; gap: var(--s-4); }
.fm-field { display: flex; flex-direction: column; gap: var(--s-2); }
.fm-field__label { font-size: var(--fs-small); font-weight: 600; line-height: 1.3; color: var(--salvia-claro); }
.fm-field__hint { margin: 0; font-size: var(--fs-small); line-height: 1.35; color: var(--salvia-claro); }
.fm-field__input { width: 100%; min-height: 52px; min-width: 0; border: 1px solid var(--salvia-claro); border-radius: var(--r); padding: 0 var(--s-4); font: inherit; font-size: 1.0625rem; background: var(--noche); color: var(--papel); transition: border-color .15s ease, box-shadow .15s ease; }
.fm-field__input::placeholder { color: var(--salvia-claro); }
.fm-field__input:hover { border-color: var(--papel); }
/* Focus: the site's glow, a 2 px olive line and a soft olive halo. */
.fm-field__input:focus, .fm-field__input:focus-visible { outline: none; border-color: var(--oliva); box-shadow: inset 0 0 0 1px var(--oliva), 0 0 0 3px var(--glow-soft), 0 0 22px 2px var(--glow); }
/* Error: a 2 px ghee line and the message under the field, with the diamond mark. */
.fm-field.is-invalid .fm-field__input { border-color: var(--ghee); box-shadow: inset 0 0 0 1px var(--ghee); }
.fm-field.is-invalid .fm-field__input:focus { box-shadow: inset 0 0 0 1px var(--ghee), 0 0 0 3px var(--glow-soft); }
.fm-field__error { display: flex; align-items: flex-start; gap: var(--s-2); margin: 0; font-size: var(--fs-small); font-weight: 600; line-height: 1.35; color: var(--ghee); }
.fm-field__erricon { display: flex; flex: 0 0 auto; }
.fm-field__erricon svg { width: 18px; height: 18px; }
/* The password field and its show or hide control (an eye line icon inside the field). */
.fm-pass { position: relative; }
.fm-pass__input { padding-right: 56px; }
.fm-pass__toggle { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: var(--r); background: transparent; color: var(--salvia-claro); cursor: pointer; transition: color .15s ease; }
.fm-pass__toggle:hover, .fm-pass__toggle:focus-visible { color: var(--papel); }
.fm-pass__toggle[aria-pressed="true"] { color: var(--oliva); }
.fm-pass__toggle svg { width: 22px; height: 22px; }
/* The bot check slot: the footprint of the Turnstile widget (300 by 65 px), drawn with the site's hairline. */
.fm-bot { display: grid; grid-template-columns: 28px 1fr; column-gap: var(--s-3); row-gap: 2px; align-items: start; max-width: 100%; min-height: 65px; padding: var(--s-3) var(--s-4); border: 1px solid var(--line-dark); border-radius: var(--r); }
.fm-bot__icon { grid-row: 1 / 3; color: var(--oliva); display: flex; padding-top: 1px; }
.fm-bot__icon svg { width: 26px; height: 26px; }
.fm-bot__title { font-weight: 600; line-height: 1.3; color: var(--papel); }
.fm-bot__text { font-size: var(--fs-small); line-height: 1.4; color: var(--salvia-claro); }
.fm-submit { width: 100%; margin-top: var(--s-2); }
.fm-submit:disabled { cursor: not-allowed; }
.fm-small { margin: 0; font-size: var(--fs-small); line-height: 1.45; color: var(--salvia-claro); }
.fm-small a, .fm-switch a:not(.btn) { color: var(--papel); }
.fm-note.is-flagged { color: var(--papel); }
.fm-switch { margin: 0; color: var(--salvia-claro); }
/* Phones: everything in the panel centred; each error's mark above its words. */
@media (max-width: 767.98px) {
  .fm-panel { padding: var(--s-5) var(--s-4); text-align: center; }
  .fm-field { align-items: stretch; }
  .fm-field__error { flex-direction: column; align-items: center; gap: var(--s-1); }
  .fm-bot { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .fm-bot__icon { grid-row: auto; padding-top: 0; margin-bottom: var(--s-1); }
}


/* Flat fields retain the compact masterclass and belly layouts. */
.fm-field--flat { display: contents; }
.fm-field--flat .fm-field__input { width: auto; }
.belly__form:has(.is-invalid) { flex-wrap: wrap; }
.belly__form .fm-field__error { order: 3; flex-basis: 100%; }
.belly__form .fm-field__label { position: absolute; }
.belly__form .fm-field__input { min-width: 0; }

.fm-switch .btn { margin: 8px; }

/* ---------------------------------------------------------------- The light form (31 Oct 2026): white fields on a thin verde line, one column, on light bands (contact, sign up, login). */
.fm-light { display: flex; flex-direction: column; gap: var(--s-4); width: 100%; max-width: 480px; margin: 0 auto; text-align: center; }
.fm-light .fm-panel__title { color: var(--verde); }
.fm-light .fm-field__label { color: var(--tinta); }
.fm-light .fm-field__hint, .fm-light .fm-small, .fm-light .fm-switch, .fm-light .fm-or { color: var(--musgo); }
.fm-light .fm-field__input { min-height: 54px; border: 1px solid color-mix(in srgb, var(--verde) 45%, transparent); border-radius: var(--r); background: var(--white); color: var(--tinta); }
.fm-light .fm-field__input::placeholder { color: var(--musgo); }
.fm-light .fm-field__input:hover { border-color: var(--verde); }
.fm-light .fm-field__input:focus, .fm-light .fm-field__input:focus-visible { border-color: var(--verde); box-shadow: inset 0 0 0 1px var(--verde), 0 0 0 3px var(--glow-soft); }
.fm-light .fm-field.is-invalid .fm-field__input { border-color: var(--verde); box-shadow: inset 0 0 0 1px var(--verde); }
.fm-light .fm-field__error, .fm-light .fm-note, .fm-light .fm-note.is-flagged { color: var(--verde); }
.fm-light .fm-small a, .fm-light .fm-switch a:not(.btn) { color: var(--verde); }
.fm-light .fm-pass__toggle { color: var(--musgo); }
.fm-light .fm-pass__toggle:hover, .fm-light .fm-pass__toggle:focus-visible, .fm-light .fm-pass__toggle[aria-pressed="true"] { color: var(--verde); }
@media (max-width: 767.98px) {
  .fm-light .fm-field__error { flex-direction: column; align-items: center; gap: var(--s-1); }
}
@media (min-width: 900px) {
  .fm-light { text-align: left; margin: 0; }
}

/* ================================================================== From kit.css */

/* The shared kit of the 31 Oct 2026 redesign, loaded on every page after site.css and forms.css.
   Section heads centred, the photographic call to action band, the bio, the reviews wall, the
   belly footer refresh and the header fix. Mobile first; no hex values (tokens.css holds them). */

/* ---------------------------------------------------------------- Section heads: always centred, the line under the headline */
.band__head { margin-left: auto; margin-right: auto; text-align: center; max-width: 920px; }
.band__head .band__lede { max-width: 760px; margin-left: auto; margin-right: auto; text-wrap: pretty; }
.band__head h2 { text-wrap: balance; }

/* ---------------------------------------------------------------- Photographic call to action band (parts/cta-band.php) */
/* A separator: the photograph stays bright; the shade sits only behind the words on the left. */
.pband { position: relative; overflow: hidden; isolation: isolate; color: var(--papel); background: var(--noche); padding: var(--sec) 0; }
.pband__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: sepia(.14) saturate(.9); transform: scale(1.06); transition: transform 1.6s var(--ease); }
.pband__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(19, 26, 21, .95) 0%, rgba(19, 26, 21, .86) 60%, rgba(19, 26, 21, .6) 100%); }
.pband__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-4); }
.pband__title { color: var(--papel); max-width: 18ch; text-wrap: balance; margin: 0; }
.pband__text { color: var(--papel); font-size: var(--fs-lead); line-height: 1.5; max-width: 36rem; margin: 0; }
.pband__actions { width: 100%; display: flex; justify-content: center; margin-top: var(--s-3); }
.pband .dip-payment-links__terms { color: var(--salvia-claro); }
.pband:has(.is-in) .pband__bg { transform: none; }
@media (min-width: 900px) {
  .pband { padding: var(--sec) 0; }
  .pband__shade { background: linear-gradient(90deg, rgba(19, 26, 21, .95) 0%, rgba(19, 26, 21, .9) 40%, rgba(19, 26, 21, .55) 72%, rgba(19, 26, 21, .4) 100%); }
  .pband__inner { align-items: flex-start; text-align: left; }
  .pband__actions { justify-content: flex-start; max-width: 660px; }
}

/* ---------------------------------------------------------------- Bio (parts/bio.php) */
/* The portrait fills its half, top to bottom; four figures as large type, no line, no marks. */
.bio__grid { display: grid; gap: var(--s-6); align-items: stretch; }
.bio__media { margin: 0; border-radius: var(--rm); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); box-shadow: var(--pop); }
.bio__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%; }
.bio__body { display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; }
.bio__title { color: var(--papel); font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1; letter-spacing: -0.02em; margin: 0 0 var(--s-4); }
.bio__lede { color: var(--salvia-claro); font-size: var(--fs-lead); line-height: 1.5; max-width: 560px; margin: 0; }
.bio__figures { list-style: none; margin: var(--s-6) 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); width: 100%; }
.bio__figure { display: flex; flex-direction: column; gap: var(--s-2); }
.bio__value { font-family: var(--font-display); font-size: clamp(2.75rem, 2rem + 2vw, 3.75rem); line-height: 1; color: var(--papel); font-variation-settings: "opsz" 144; letter-spacing: -0.02em; }
.bio__value em { font: italic 300 1.5rem/1 var(--fd); letter-spacing: 0; color: var(--saffron); }
.bio__text { color: var(--salvia-claro); font-size: var(--fs-small); line-height: 1.45; text-wrap: balance; }
@media (min-width: 900px) {
  .bio__grid { grid-template-columns: 1.15fr .85fr; gap: var(--s-7); }
  .bio__media { order: 2; aspect-ratio: auto; min-height: 560px; }
  .bio__body { align-items: flex-start; text-align: left; }
  .bio__figures { gap: var(--s-6); }
}

/* ---------------------------------------------------------------- Reviews wall (parts/reviews.php) */
/* The rating under the headline; the quotes on paper notes, two lanes drifting in opposite directions. */
.rwall { overflow: hidden; }
.rwall .band__head { display: flex; flex-direction: column; align-items: center; gap: var(--s-4); }
.rwall__rating { display: inline-flex; align-items: center; gap: var(--s-4); color: var(--tinta); text-decoration: none; }
.rwall__num { font-family: var(--font-display); font-size: clamp(3.5rem, 2.6rem + 3vw, 5.5rem); line-height: .9; color: var(--verde); font-variation-settings: "opsz" 144; letter-spacing: -0.035em; }
.rwall__side { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.rwall__stars { display: inline-flex; gap: 2px; color: var(--ghee); }
.rwall__stars svg { width: 20px; height: 20px; }
.rwall__src { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; font-size: var(--fs-small); }
.rwall__rating:hover .rwall__src { text-decoration: underline; text-underline-offset: 3px; }
.rwall__lanes { display: flex; flex-direction: column; gap: var(--s-4); -webkit-mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent); mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent); }
.rwall__lane { display: flex; width: max-content; animation: rwall-drift 70s linear infinite; }
.rwall__lane--b { animation-duration: 82s; animation-direction: reverse; }
.rwall__lanes:hover .rwall__lane, .rwall__lanes:focus-within .rwall__lane { animation-play-state: paused; }
@keyframes rwall-drift { to { transform: translateX(-50%); } }
.rnote { flex: none; width: min(78vw, 380px); margin: 0 var(--s-4) 0 0; padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); border-radius: var(--r); background-color: var(--papel); background-image: var(--grid-noise), var(--surface-paper); background-blend-mode: soft-light, normal; }
.band--papel .rnote { background-color: var(--hueso); background-image: none; }
.rnote__mark { color: var(--ghee); display: flex; }
.rnote__mark svg { width: 26px; height: 26px; }
.rnote blockquote { margin: 0; }
.rnote blockquote p { font-family: var(--font-display); font-size: 1.3125rem; line-height: 1.35; color: var(--verde); margin: 0; }
.rnote__es { font-size: .875rem; line-height: 1.45; font-style: italic; color: var(--musgo); margin: 0; }
.rnote__who { display: flex; align-items: center; gap: var(--s-2); font-size: .875rem; font-weight: 600; color: var(--tinta); margin-top: auto; }
.rnote__who em { font-weight: 400; color: var(--musgo); }
@media (prefers-reduced-motion: reduce) {
  .rwall__lanes { -webkit-mask-image: none; mask-image: none; overflow-x: auto; padding: 0 var(--gutter); }
  .rwall__lane { animation: none; }
  .rwall__lane .rnote[aria-hidden="true"] { display: none; }
}

/* ---------------------------------------------------------------- Questions (parts/faq.php), one style on every page (2 Nov 2026) */
.faq__grid { display: grid; gap: var(--s-6); }
.faq__media { margin: 0; border-radius: var(--rm); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); box-shadow: var(--pop); }
.faq__media img { width: 100%; height: 100%; object-fit: cover; }
.faq__list { display: grid; gap: var(--s-6); }
.faq__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-2); }
.faq__q { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); color: var(--verde); margin: 0; text-wrap: balance; }
.faq__from { display: inline-flex; align-items: flex-start; gap: var(--s-2); margin: 0; font-size: .875rem; font-style: italic; color: var(--musgo); }
.faq__from .bicon { margin-top: 2px; flex: none; }
.faq__a { margin: 0; color: var(--tinta); line-height: 1.6; max-width: 40rem; }
@media (min-width: 900px) {
  .faq__grid { grid-template-columns: 5fr 7fr; gap: var(--s-7); align-items: start; }
  .faq__media { aspect-ratio: 4 / 5; }
  .faq__media img { object-position: 50% 30%; }
  .faq__item { align-items: flex-start; text-align: left; }
}

/* ---------------------------------------------------------------- Centred photo band (programme pages): the words centred under the hero's full shade */
.cband { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: clamp(560px, 76vh, 700px); padding: var(--s-8) 0; background: var(--noche); color: var(--papel); text-align: center; }
.cband__bg { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; object-position: 50% 45%; filter: sepia(.14) saturate(.9); z-index: -2; will-change: translate; }
.cband__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 80% 70% at 50% 52%, color-mix(in srgb, var(--noche) 86%, transparent) 0%, color-mix(in srgb, var(--noche) 72%, transparent) 55%, color-mix(in srgb, var(--noche) 52%, transparent) 100%); pointer-events: none; }
.cband__inner { display: flex; justify-content: center; }
.cband__words { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-4); max-width: 760px; }
.cband__title { color: var(--papel); font-size: var(--fs-h2); max-width: 18ch; text-wrap: balance; margin: 0; }
.cband__text { font-size: var(--fs-lead); line-height: 1.5; margin: 0; max-width: 40ch; color: var(--papel); text-wrap: balance; }
.cband .dip-payment-links { margin: var(--s-3) auto 0; }
.cband .dip-payment-links__terms { color: var(--salvia-claro); }

/* ---------------------------------------------------------------- Offer (programme pages): a photograph with a student's words, the offer sheet beside it */
.offer__grid { display: grid; gap: var(--s-5); }
.offer__media { position: relative; margin: 0; border-radius: var(--rm); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; background: var(--ink); box-shadow: var(--pop); }
.offer__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; }
.offer__quote { position: relative; z-index: 1; width: 100%; margin: 0; padding: 120px var(--s-5) var(--s-5); background: linear-gradient(to top, color-mix(in srgb, var(--noche) 92%, transparent) 0%, color-mix(in srgb, var(--noche) 70%, transparent) 55%, transparent 100%); display: flex; flex-direction: column; gap: var(--s-2); }
.offer__quote > span { color: var(--ghee); display: flex; }
.offer__quote svg { width: 28px; height: 28px; }
.offer__quote blockquote { margin: 0; }
.offer__quote blockquote p { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; color: var(--papel); margin: 0; }
.offer__quote cite { font-style: normal; font-size: var(--fs-small); color: var(--salvia-claro); }
.offer-sheet { text-align: left; color: var(--tinta); border-radius: var(--rm); box-shadow: var(--pop); padding: clamp(26px, 3.2vw, 48px); background-color: var(--papel); background-image: var(--grid-noise), var(--surface-paper); background-blend-mode: soft-light, normal; display: flex; flex-direction: column; }
.offer-sheet__icon { color: var(--verde); display: flex; }
.offer-sheet__icon svg { width: 32px; height: 32px; }
.offer-sheet__title { font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.5rem); color: var(--verde); margin: var(--s-3) 0 var(--s-5); }
.offer-sheet__benefits { list-style: none; margin: 0 0 var(--s-6); padding: 0; display: grid; gap: var(--s-3); }
.offer-sheet__benefits li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); line-height: 1.5; color: var(--musgo); }
.offer-sheet__benefits svg { width: 22px; height: 22px; color: var(--oliva); margin-top: 2px; }
.offer-sheet__benefits strong { color: var(--tinta); font-weight: 600; }
.offer-sheet__plans { display: grid; gap: var(--s-5); padding-top: var(--s-5); margin-top: auto; }
.offer-sheet__plan { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-1); padding: var(--s-3) var(--s-2); }
.offer-sheet__name { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--verde); }
.offer-sheet__amount { margin: 0; font-family: var(--font-display); font-size: clamp(3.25rem, 2.6rem + 2vw, 4.25rem); line-height: 1; color: var(--verde); letter-spacing: -.035em; font-variation-settings: "opsz" 144; }
.offer-sheet__amount span { font-size: .3em; letter-spacing: 0; margin-left: .3em; color: var(--musgo); }
.offer-sheet__terms { margin: 0 0 var(--s-3); font-size: var(--fs-small); color: var(--musgo); text-wrap: balance; }
.offer-sheet__plan .btn { width: 100%; margin-top: auto; }
.offer-sheet__saving { margin: var(--s-4) 0 0; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.125rem; color: var(--verde); }
.offer-sheet__refund { margin: var(--s-2) 0 0; text-align: center; font-size: var(--fs-small); color: var(--musgo); }
.offer .dip-syllabus__title { color: var(--papel); }
.offer .dip-syllabus__icon { color: var(--oliva); }
.offer__quiet { margin: var(--s-6) 0 0; display: flex; flex-direction: column; align-items: center; gap: var(--s-3); text-align: center; }
.offer__quiet p { margin: 0; color: var(--salvia-claro); }
.offer__alts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); }
@media (min-width: 600px) { .offer-sheet__plans { grid-template-columns: 1fr 1fr; gap: var(--s-3); } }
@media (min-width: 1000px) {
  .offer__grid { grid-template-columns: .95fr 1.05fr; gap: var(--s-5); align-items: stretch; }
  .offer__media { min-height: 100%; }
}

/* ================================================================== Home v2's site chrome
   The one header, search panel and footer of the v2 set, taken from page/home-v2.css (the same
   rules, so every page wears the same chrome). */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; }
.acts--c { justify-content: center; }
@media (max-width: 767px) { .acts .btn { flex: 1 1 100%; } }
.btn--sq { width: 44px; padding: 0; }
.btn--icon { flex-direction: row; gap: 10px; }
.btn--icon svg, .btn--sq svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stars { display: inline-flex; gap: 3px; color: var(--saffron); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.stars--lg svg { width: 26px; height: 26px; }
.glass { padding: clamp(24px, 2.6vw, 36px); background: rgba(19,26,21,.6); border: 1px solid rgba(250,246,238,.18); border-radius: var(--rm); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
/* ------------------------------------------------------------------ 0. Header (the site's glass header) */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(250,246,238,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hdr__in { display: flex; align-items: center; gap: 24px; min-height: var(--hdr); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex: none; }
.logo img { width: 44px; height: 44px; border-radius: 50%; }
.logo span { font: 400 1.375rem/1 var(--fd); font-variation-settings: "opsz" 36; color: var(--forest); }
.nav { display: none; align-items: center; gap: 22px; margin-left: auto; }
.nav > a, .nav__btn { font: 500 .984rem/1 var(--ft); color: var(--text); text-decoration: none; white-space: nowrap; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav > a:hover, .nav__btn:hover, .nav__btn[aria-expanded="true"] { text-decoration: underline; text-decoration-color: var(--copper); }
.nav__item { position: relative; }
.nav__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }
.nav__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s var(--ease); }
.nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.progs { position: absolute; top: calc(100% + 14px); left: -24px; width: 460px; display: grid; gap: 6px; padding: 12px; background: rgba(250,246,238,.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: var(--rm); box-shadow: var(--pop); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.progs.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.prog { display: grid; grid-template-columns: 108px 1fr; gap: 16px; align-items: center; padding: 8px; border-radius: 8px; text-decoration: none; color: var(--text); transition: background-color .2s; }
.prog:hover { background: var(--bone-2); }
.prog img { width: 108px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.prog b { display: block; font: 400 1.25rem/1.15 var(--fd); color: var(--forest); }
.prog span span { display: block; margin-top: 4px; font-size: .9375rem; color: var(--muted); }
.hdr__acts { display: none; gap: 10px; }
.hdr__acts .btn { white-space: nowrap; }
.hdr__mob { display: flex; gap: 8px; margin-left: auto; }
.mpanel { position: fixed; inset: 0; z-index: 60; overflow-y: auto; background-color: var(--ink); background-image: var(--noise), var(--deep); background-blend-mode: overlay, normal; color: var(--paper); padding: 80px var(--gut) 32px; display: flex; flex-direction: column; gap: 4px; transform: translateY(-100%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }
.mpanel.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
.mpanel > a { color: var(--paper); text-decoration: none; font: 400 1.6rem/1.55 var(--fd); }
.mpanel__progs { display: grid; gap: 4px; margin-bottom: 18px; }
.mpanel .prog { color: var(--paper); padding: 6px 0; }
.mpanel .prog:hover { background: none; }
.mpanel .prog b { color: var(--paper); }
.mpanel .prog span span { color: var(--sage-l); }
.mpanel .acts { margin-top: 24px; }
.mpanel__close { position: absolute; top: 12px; right: var(--gut); }
@media (max-width: 419px) { .hdr__in { gap: 10px; } .logo { gap: 8px; } .logo img { width: 38px; height: 38px; } .logo span { font-size: 1.125rem; } }
@media (min-width: 1200px) { .nav, .hdr__acts { display: flex; } .hdr__mob { display: none; } }

/* Search panel: classes, programmes and questions; it never holds the page */
.search { position: fixed; inset: 0; z-index: 70; display: grid; align-items: start; padding: 10vh var(--gut) 24px; background: rgba(19,26,21,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.search[hidden] { display: none; }
.search__box { width: 100%; max-width: 760px; margin: 0 auto; max-height: 80vh; display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border-radius: var(--rm); box-shadow: var(--pop); }
.search__top { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px; background: var(--bone); }
.search__ico { position: absolute; left: 30px; width: 22px; height: 22px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.search__top input { flex: 1; min-width: 0; min-height: 56px; padding: 0 16px 0 50px; font-size: 1.125rem; color: var(--text); background: var(--paper); border: 1px solid var(--sage); border-radius: var(--r); }
.search__res { overflow-y: auto; padding: 8px 14px 18px; }
.search__group { margin: 14px 4px 6px; font: 400 1.125rem/1.2 var(--fd); color: var(--forest); }
.search__hit { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; width: 100%; padding: 8px; text-align: left; text-decoration: none; color: var(--text); background: none; border: 0; border-radius: 8px; cursor: pointer; }
.search__hit:hover, .search__hit:focus-visible { background: var(--bone-2); }
.search__hit img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); background: var(--bone-2); }
.search__hit--q { grid-template-columns: 1fr; }
.search__hit b { display: block; font-weight: 600; line-height: 1.35; }
.search__hit span { display: block; font-size: .875rem; color: var(--muted); }
.search__none { margin: 18px 6px; color: var(--muted); }
.search mark { background: rgba(211,154,53,.3); color: inherit; }
.sfoot { background: var(--ink); color: var(--sage-l); padding: 56px 0 36px; font-size: 1rem; }
.sfoot__grid { display: grid; gap: 32px; }
.logo--foot { margin-bottom: 14px; }
.logo--foot img { background: var(--paper); }
.logo--foot span { color: var(--paper); }
.sfoot h4 { font: 400 1.1875rem/1.2 var(--fd); color: var(--paper); margin-bottom: 12px; }
.sfoot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.sfoot a { color: var(--sage-l); text-decoration: none; }
.sfoot a:hover { color: var(--paper); text-decoration: underline; }
.sfoot__legal { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .875rem; color: rgba(201,207,189,.75); }
@media (min-width: 768px) { .sfoot__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg { animation: none; }
}

/* ================================================================== Shared tweaks from the builders (session 11) */
.detail__media { background: var(--ink); box-shadow: var(--pop); }
.stop.is-next .stop__name::after { color: var(--saffron); }
/* The belly's own entrance, the same on every page (it is the site's one belly): the photograph settles, the ask
   and its lines come up in reading order, then the glass panel forms beside them. */
.belly__bg { transform: scale(1.06); transition: transform 1.6s var(--ease); }
.belly:has(.is-in) .belly__bg { transform: none; }
.js .belly__copy[data-reveal] { opacity: 1; transform: none; }
.js .belly__copy[data-reveal] > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .belly__copy[data-reveal] > :nth-child(2) { transition-delay: .1s; }
.js .belly__copy[data-reveal] > :nth-child(3) { transition-delay: .2s; }
.js .belly__copy[data-reveal] > :nth-child(4) { transition-delay: .3s; }
.js .belly__copy.is-in[data-reveal] > :nth-child(n) { opacity: 1; transform: none; }
.js .belly__signup[data-reveal] { opacity: 0; transform: scale(.97); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); transition: opacity .8s var(--ease) .3s, transform .8s var(--ease) .3s, backdrop-filter .8s var(--ease) .3s; }
.js .belly__signup.is-in[data-reveal] { opacity: 1; transform: none; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@media (prefers-reduced-motion: reduce) {
  .belly__bg, .js .belly__copy[data-reveal] > *, .js .belly__signup[data-reveal] { opacity: 1; transform: none; transition: none; }
}
