/* =====================================================================
   DVB web · design tokens (base layer, owned by the skeleton).
   Adapted from 01-research/refero-apple/tokens.css ([R] Refero, [A] apple.com
   measured 29-oct-2026, [P] proposal). Changes for DVB:
   - ONE accent: Apple blue. --color-link (#0066cc) for inline links and
     --color-action (#0071e3) for filled pills + focus ring are the same blue
     family, as on apple.com. No other hue anywhere (launch orange removed).
   - Fonts: self-hosted Inter / Inter Display 4.1 (SIL OFL), declared in base.css.
   - Added: --ease-house (motion catalogue §1) and --nav-h.
   Sections must use these variables; never hard-code a colour or size.
   ===================================================================== */


:root {
  /* ---------- Color: brand & accent ---------- */
  --color-link: #0066cc;            /* [R][A] Apple Blue — inline links, text CTAs (--sk-body-link-color) */
  --color-action: #0071e3;          /* [R][A] Pricing Blue — filled pill buttons, focus ring */
  --color-action-hover: #0076df;    /* [A] .button hover */
  --color-action-active: #006edb;   /* [A] .button active */
  --color-link-on-dark: #2997ff;    /* [A] rgb(41,151,255) — secondary button text on dark tiles */

  /* ---------- Color: neutrals ---------- */
  --color-ink: #1d1d1f;             /* [R][A] headlines + body */
  --color-black: #000000;           /* [A] --sk-glyph */
  --color-ink-alpha: rgba(0, 0, 0, 0.88);        /* [A] --sk-glyph-gray-alpha */
  --color-text-secondary: #6e6e73;  /* [A] rgb(110,110,115) — intro copy, subheads, footer headers */
  --color-text-secondary-alpha: rgba(0, 0, 0, 0.56); /* [A] footer text */
  --color-text-secondary-alt: #424245; /* [A] --sk-glyph-gray-secondary-alt */
  --color-slate: #707070;           /* [R] secondary/legal copy (Refero) */
  --color-steel: #86868b;           /* [R][A] tertiary glyph, outlines */
  --color-hairline: #d6d6d6;        /* [R] 1px dividers */
  --color-control-gray: #e6e6e8;    /* [R] disabled fills, nav edge */
  --color-button-neutral-active: #ededf2; /* [A] */
  --color-ink-hover: #272729;       /* [A] neutral button hover */
  --color-ink-active: #18181a;      /* [A] neutral button active */
  --color-on-dark: #f5f5f7;         /* [A] text on black tiles */

  /* ---------- Surfaces ---------- */
  --surface-0: #ffffff;             /* [R][A] canvas, hero, cards (--sk-fill) */
  --surface-1: #f5f5f7;             /* [R][A] alternate band, footer (--sk-fill-tertiary) */
  --surface-2: #fafafc;             /* [R][A] opened nav, index section (--sk-fill-secondary) */
  --surface-3: #e6e6e8;             /* [R] subdued control fill */
  --surface-dark: #000000;          /* [A] dark home tiles */
  --surface-dark-alt: #1d1d1f;      /* [A] --global-section-background-color-alt-dark */
  --surface-nav-translucent: rgba(255, 255, 255, 0.8);   /* [A] floating local nav */
  --surface-globalnav-light: rgba(250, 250, 252, 0.8);   /* [A] product page global nav */
  --surface-globalnav-dark: rgba(29, 29, 31, 0.8);       /* [A] home global nav over dark hero */
  --surface-control-translucent: rgba(210, 210, 215, 0.64); /* [R] carousel playback track */
  --backdrop-nav: saturate(1.8) blur(20px); /* [A] global nav; local nav uses blur(20px) */

  /* ---------- Typography: families ---------- */
  /* SF Pro is not licensed for general web use [P]: Inter is the proposed substitute
     (SIL OFL; Refero lists it as first fallback). Use Inter Display / opsz for ≥ 21px. */
  --font-display: "Inter Display", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; /* [P] replaces SF Pro Display [R][A] */
  --font-text: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;                      /* [P] replaces SF Pro Text [R][A] */
  --font-weight-regular: 400;       /* [R][A] */
  --font-weight-medium: 500;        /* [R][A] */
  --font-weight-semibold: 600;      /* [R][A] — Apple never uses 700 on headlines [R] */

  /* ---------- Typography: scale (large ≥1069px) [A] class rules on /iphone-duo/ ---------- */
  --type-hero-size: 80px;   --type-hero-lh: 1.05;    --type-hero-ls: -0.015em;  /* ric-type-lockup-xxl-headline; = -1.2px [R] */
  --type-display-size: 64px; --type-display-lh: 1.0625; --type-display-ls: -0.009em; /* media-hero-headline-base */
  --type-headline-xl-size: 56px; --type-headline-xl-lh: 1.07143; --type-headline-xl-ls: -0.005em;
  --type-section-size: 48px; --type-section-lh: 1.08349; --type-section-ls: -0.003em; /* section-header-headline */
  --type-headline-size: 40px; --type-headline-lh: 1.1;  --type-headline-ls: 0em;
  --type-headline-sm-size: 32px; --type-headline-sm-lh: 1.125; --type-headline-sm-ls: 0.004em;
  --type-card-title-size: 28px; --type-card-title-lh: 1.14286; --type-card-title-ls: 0.007em; /* feature-card / tile headline */
  --type-title-size: 24px; --type-title-lh: 1.16667; --type-title-ls: 0.009em;
  --type-eyebrow-size: 21px; --type-eyebrow-lh: 1.19048; --type-eyebrow-ls: 0.011em; /* product kicker / section eyebrow (lh 1 in lockups) */
  --type-intro-size: 21px; --type-intro-lh: 1.381; --type-intro-ls: 0.011em;        /* lockup copy, regular 400 */
  --type-callout-size: 19px; --type-callout-lh: 1.21053; --type-callout-ls: 0.012em;
  --type-body-lg-size: 19px; --type-body-lg-lh: 1.4211; --type-body-lg-ls: 0.012em;
  --type-body-size: 17px;  --type-body-lh: 1.47059; --type-body-ls: -0.022em;       /* = 17/25, -0.374px */
  --type-body-tight-lh: 1.23536;                                                     /* = 17/21 */
  --type-small-size: 14px; --type-small-lh: 1.42859; --type-small-ls: -0.016em;     /* body-reduced */
  --type-small-tight-lh: 1.28577;
  --type-caption-size: 12px; --type-caption-lh: 1.33337; --type-caption-ls: -0.01em; /* captions, nav pills, footer */
  --type-micro-size: 10px; --type-micro-lh: 1.24; --type-micro-ls: -0.037em;         /* [R] */

  /* ---------- Spacing [R] base 4px ---------- */
  --space-unit: 4px;
  --space-4: 4px;  --space-8: 8px;  --space-12: 12px; --space-16: 16px;
  --space-20: 20px; --space-24: 24px; --space-28: 28px; --space-32: 32px;
  --space-40: 40px; --space-48: 48px; --space-52: 52px; --space-64: 64px;
  --space-76: 76px; --space-80: 80px; --space-96: 96px; /* 96 [A] */
  --space-128: 128px; --space-144: 144px; --space-224: 224px; /* 224 [A] */
  --element-gap: 20px;      /* [R] */
  --card-padding: 28px;     /* [R] */
  --section-gap-refero: 90px; /* [R] summary value; apple.com CSS uses the paddings below */

  /* ---------- Section rhythm [A] (large; see media queries below) ---------- */
  --section-padding: 144px;          /* --global-section-padding */
  --section-padding-story: 128px;    /* .section-product-stories */
  --section-padding-reduced: 120px;  /* --global-section-padding-top-reduced */
  --section-padding-end-long: 224px; /* --global-section-aap-padding */
  --section-header-gap: 48px;        /* .section-header margin-block-end */

  /* ---------- Layout / grid [A] ---------- */
  --content-max: 1260px;      /* --global-content-max-width */
  --content-max-hero: 1680px; /* --global-content-max-width-hero */
  --content-width: 87.5%;     /* .viewport-content width */
  --nav-content-max: 1024px;  /* globalnav-content (980px + 22px side padding) */
  --footer-content-max: 980px;
  --globalnav-height: 44px;   /* measured [A][R] (CSS var says 48px on small) */
  --nav-h: 44px;

  /* ---------- Radii ---------- */
  --radius-card: 28px;     /* [R][A] feature cards, media, immersive display */
  --radius-nav-float: 18px;/* [A] floating local nav wrap (Refero says 20px) */
  --radius-nav: 20px;      /* [R] */
  --radius-link: 10px;     /* [R] */
  --radius-pill-track: 36px; /* [R] playback control */
  --radius-button-block: 8px; /* [A] .button-block */
  --radius-button-block-lg: 12px; /* [A] .button-super.button-block */
  --radius-pill: 980px;    /* [A][R] every inline button & search input */
  --radius-round: 50%;     /* [A] 36px tile buttons */

  /* ---------- Elevation [R] (rings, not shadows) ---------- */
  --shadow-ring-subtle: 0 0 0 1px #e6e6e8;
  --shadow-ring-strong: 0 0 0 1px #86868b;
  --shadow-none: none;

  /* ---------- Focus [A] ---------- */
  --focus-ring: 2px solid #0071e3;
  --focus-offset: 3px;

  /* ---------- Buttons [A] (.button family, apple.com) ---------- */
  --btn-pad-y: 9px;  --btn-pad-x: 16px;  --btn-font: 14px;   /* .button default (cta in tiles ≤734 uses 8px 15px) */
  --btn-elevated-pad-y: 12px; --btn-elevated-pad-x: 22px; --btn-elevated-font: 17px; /* home hero "Learn more" 11/21 + 1px border */
  --btn-super-pad-y: 18px; --btn-super-pad-x: 31px; --btn-super-font: 17px;
  --btn-reduced-pad-y: 4px; --btn-reduced-pad-x: 11px; --btn-reduced-font: 12px; /* nav "Buy" pill */
  --btn-border: 1px;
  --btn-disabled-opacity: 0.42;

  /* ---------- Motion [A] + house curve (CATALOGO §1) ---------- */
  --ease-house: cubic-bezier(0.16, 1, 0.3, 1); /* default for anything not tied to scroll */
  --ease-standard: cubic-bezier(0.4, 0, 0.6, 1);   /* most frequent on apple.com */
  --ease-out-soft: cubic-bezier(0.25, 0.1, 0.3, 1);/* transform 0.3s */
  --ease-decel: cubic-bezier(0, 0, 0.5, 1);         /* card hover scale, tile image */
  --ease-decel-material: cubic-bezier(0, 0, 0.2, 1);
  --ease-scrim: cubic-bezier(0.4, 0.1, 0.4, 1);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  --ease-nav: cubic-bezier(0.28, 0.11, 0.32, 1);
  --dur-instant: 100ms;  /* button bg color */
  --dur-fast: 240ms;     /* nav (--r-globalnav-duration-medium) */
  --dur-base: 320ms;     /* link color */
  --dur-card-bg: 344ms;  /* card background */
  --dur-medium: 400ms;   /* opacity ease-in-out */
  --dur-slow: 500ms;     /* scrims, flyout link opacity */
  --dur-gallery: 1s;     /* media card gallery slide */
  /* StaggeredFadeIn reveal (scroll-in) */
  --reveal-translate-y: 30px;
  --reveal-opacity-dur: 0.9s;
  --reveal-translate-dur: 0.7s;
  --reveal-stagger: 0.15s;
}

/* ---------- Medium: 735–1068px [A] ---------- */
@media (max-width: 1068px) {
  :root {
    --type-hero-size: 64px; --type-hero-lh: 1.0625; --type-hero-ls: -0.009em;
    --type-display-size: 56px; --type-display-lh: 1.07143; --type-display-ls: -0.005em;
    --type-headline-xl-size: 48px; --type-headline-xl-lh: 1.08349; --type-headline-xl-ls: -0.003em;
    --type-section-size: 40px; --type-section-lh: 1.1; --type-section-ls: 0em;
    --type-card-title-size: 24px; --type-card-title-lh: 1.16667; --type-card-title-ls: 0.009em;
    --type-eyebrow-size: 19px; --type-eyebrow-lh: 1.21053; --type-eyebrow-ls: 0.012em;
    --section-padding: 120px;
    --section-padding-story: 96px;
    --section-padding-reduced: 80px;
    --section-padding-end-long: 176px;
    --section-header-gap: 40px;
  }
}

/* ---------- Small: ≤734px [A] ---------- */
@media (max-width: 734px) {
  :root {
    --type-hero-size: 48px; --type-hero-lh: 1.08349; --type-hero-ls: -0.003em; /* measured on hero; xxl lockup class says 40px */
    --type-display-size: 32px; --type-display-lh: 1.125; --type-display-ls: 0.004em;
    --type-headline-xl-size: 28px; --type-headline-xl-lh: 1.14286; --type-headline-xl-ls: 0.007em;
    --type-section-size: 32px; --type-section-lh: 1.125; --type-section-ls: 0.004em;
    --type-headline-size: 32px; --type-headline-lh: 1.125; --type-headline-ls: 0.004em;
    --type-card-title-size: 21px; --type-card-title-lh: 1.19048; --type-card-title-ls: 0.011em;
    --type-title-size: 21px; --type-title-lh: 1.19048; --type-title-ls: 0.011em;
    --type-eyebrow-size: 17px; --type-eyebrow-lh: 1.23536; --type-eyebrow-ls: -0.022em;
    --type-intro-size: 19px; --type-intro-lh: 1.4211; --type-intro-ls: 0.012em;
    --type-body-lg-size: 17px; --type-body-lg-lh: 1.47059; --type-body-lg-ls: -0.022em;
    --btn-font: 14px;
    --btn-elevated-font: 14px; --btn-elevated-pad-y: 8px; --btn-elevated-pad-x: 15px;
    --content-max: 420px;
    --section-padding: 112px;
    --section-padding-story: 80px;
    --section-padding-reduced: 56px;
    --section-padding-end-long: 144px;
    --section-header-gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --reveal-translate-y: 0px;
    --reveal-opacity-dur: 0s;
    --reveal-translate-dur: 0s;
    --reveal-stagger: 0s;
  }
}

/* =====================================================================
   DVB web · base layer (owned by the skeleton; sections never edit it).
   Reset, fonts, Apple .typography-* scale, layout container, section
   rhythm, buttons, links, nav, footer, media, cards, focus, print.
   Every value comes from tokens.css. Spec: 01-research/refero-apple/SISTEMA-VISUAL.md
   ===================================================================== */

/* ---------- Fonts: Inter 4.1 self-hosted (SIL OFL, see fonts/LICENSE-Inter-OFL.txt) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/InterDisplay-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/InterDisplay-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/InterDisplay-SemiBold.woff2") format("woff2"); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
/* Scroll-linked scenes change their own boxes while pinned: the browser must not move the page to
   «keep» an anchor in view (scroll anchoring), or the content jumps under the finger. */
html { overflow-anchor: none; }
body { margin: 0; background: var(--surface-0); color: var(--color-ink); font-family: var(--font-text);
  font-size: var(--type-body-size); line-height: var(--type-body-lh); letter-spacing: var(--type-body-ls);
  font-weight: var(--font-weight-regular); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, video, svg, canvas { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--color-link); text-decoration: none; transition: color var(--dur-base) var(--ease-standard); }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
strong, b { font-weight: var(--font-weight-semibold); }
[hidden] { display: none !important; }

/* ---------- Focus [A] ---------- */
:focus { outline: none; }
:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); border-radius: var(--radius-link); }

/* ---------- Utilities ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--color-ink); color: #fff; font-size: var(--type-small-size); transform: translateY(-200%); }
.skip-link:focus-visible { transform: none; }
.text-secondary { color: var(--color-text-secondary); }
.text-center { text-align: center; }
.nowrap { white-space: nowrap !important; text-wrap: nowrap !important; } /* utility beats .typography-* text-wrap */

/* =====================================================================
   Typography — mirrors apple.com .typography-* (sizes switch per breakpoint
   through tokens.css: large ≥1069 · medium 735–1068 · small ≤734).
   Display face from 19px up, Text face below. Never 700 on headlines.
   ===================================================================== */
.typography-hero, .typography-display, .typography-headline-xl, .typography-section,
.typography-headline, .typography-headline-sm, .typography-card-title, .typography-title,
.typography-eyebrow, .typography-callout { font-family: var(--font-display); font-weight: var(--font-weight-semibold); text-wrap: balance; }
.typography-hero        { font-size: var(--type-hero-size);        line-height: var(--type-hero-lh);        letter-spacing: var(--type-hero-ls); }
.typography-display     { font-size: var(--type-display-size);     line-height: var(--type-display-lh);     letter-spacing: var(--type-display-ls); }
.typography-headline-xl { font-size: var(--type-headline-xl-size); line-height: var(--type-headline-xl-lh); letter-spacing: var(--type-headline-xl-ls); }
.typography-section     { font-size: var(--type-section-size);     line-height: var(--type-section-lh);     letter-spacing: var(--type-section-ls); }
.typography-headline    { font-size: var(--type-headline-size);    line-height: var(--type-headline-lh);    letter-spacing: var(--type-headline-ls); }
.typography-headline-sm { font-size: var(--type-headline-sm-size); line-height: var(--type-headline-sm-lh); letter-spacing: var(--type-headline-sm-ls); }
.typography-card-title  { font-size: var(--type-card-title-size);  line-height: var(--type-card-title-lh);  letter-spacing: var(--type-card-title-ls); }
.typography-title       { font-size: var(--type-title-size);       line-height: var(--type-title-lh);       letter-spacing: var(--type-title-ls); }
.typography-eyebrow     { font-size: var(--type-eyebrow-size);     line-height: var(--type-eyebrow-lh);     letter-spacing: var(--type-eyebrow-ls); }
.typography-callout     { font-size: var(--type-callout-size);     line-height: var(--type-callout-lh);     letter-spacing: var(--type-callout-ls); }
.typography-intro       { font-family: var(--font-display); font-size: var(--type-intro-size); line-height: var(--type-intro-lh); letter-spacing: var(--type-intro-ls); color: var(--color-text-secondary); text-wrap: pretty; }
.typography-intro strong, .typography-intro em { color: var(--color-ink); font-weight: inherit; font-style: normal; } /* Apple "bold by colour" */
.typography-body-lg     { font-size: var(--type-body-lg-size); line-height: var(--type-body-lg-lh); letter-spacing: var(--type-body-lg-ls); text-wrap: pretty; }
.typography-body        { font-size: var(--type-body-size); line-height: var(--type-body-lh); letter-spacing: var(--type-body-ls); text-wrap: pretty; }
.typography-body-tight  { font-size: var(--type-body-size); line-height: var(--type-body-tight-lh); letter-spacing: var(--type-body-ls); }
.typography-small       { font-size: var(--type-small-size); line-height: var(--type-small-lh); letter-spacing: var(--type-small-ls); }
.typography-caption     { font-size: var(--type-caption-size); line-height: var(--type-caption-lh); letter-spacing: var(--type-caption-ls); }
.typography-label       { font-size: var(--type-small-size); line-height: var(--type-small-lh); letter-spacing: var(--type-small-ls); font-weight: var(--font-weight-medium); }
.tabular                { font-variant-numeric: tabular-nums; }

/* Vertical text rhythm [A] (--sk-*-margin) */
.stack > * + * { margin-top: 0.8em; }
.stack-tight > * + * { margin-top: 0.4em; }

/* =====================================================================
   Layout
   ===================================================================== */
.container { width: var(--content-width); max-width: var(--content-max); margin-inline: auto; }
.container--hero { width: 100%; max-width: var(--content-max-hero); margin-inline: auto; }
.container--narrow { width: var(--content-width); max-width: 980px; margin-inline: auto; }
.container--text { width: var(--content-width); max-width: 692px; margin-inline: auto; }

/* Section rhythm [A]: white canvas by default, #f5f5f7 bands for contrast. */
.section { position: relative; padding-block: var(--section-padding); background: var(--surface-0); }
.section--story   { padding-block: var(--section-padding-story); }
.section--reduced { padding-block: var(--section-padding-reduced); }
.section--flush   { padding-block: 0; }
.section--band    { background: var(--surface-1); }
.section--band-end { padding-bottom: var(--section-padding-end-long); }
.section--index   { background: var(--surface-2); }
.section--dark    { background: var(--surface-dark); color: var(--color-on-dark); }
.section--dark .typography-intro { color: var(--color-steel); }
.section--dark .typography-intro strong { color: var(--color-on-dark); }
.section--dark a:not(.button) { color: var(--color-link-on-dark); }

.section-header { display: flex; flex-direction: column; gap: 20px; margin-bottom: var(--section-header-gap); }
.section-header--row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 120px; }
@media (max-width: 734px) { .section-header--row { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* Centered chapter lockup [A] §6.6: eyebrow → headline → grey intro. */
.lockup { text-align: center; max-width: 980px; margin-inline: auto; }
.lockup > .typography-eyebrow + * { margin-top: 0.4em; }
.lockup > * + .typography-intro, .lockup > * + .lockup-copy { margin-top: 0.8em; }
.lockup .typography-intro, .lockup .lockup-copy { max-width: 692px; margin-inline: auto; }
.lockup-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; margin-top: 32px; align-items: center; }

/* Simple grids (gap = Refero element gap). */
.grid { display: grid; gap: var(--element-gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1068px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 734px)  { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* Text + image pair: image enters from the opposite side [R]. */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 734px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } .split--reverse > :first-child { order: 0; } }

/* =====================================================================
   Surfaces: card + media (28px radius, never a shadow)
   ===================================================================== */
.card { background: var(--surface-0); border-radius: var(--radius-card); padding: var(--card-padding); overflow: hidden; }
.section--band .card { background: var(--surface-0); }
.section:not(.section--band) .card { background: var(--surface-1); }
.card > * + * { margin-top: 12px; }

.media { position: relative; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-1); }
.media img, .media picture { width: 100%; height: 100%; object-fit: cover; }
.media--bleed { border-radius: 0; }
.ratio-4x5 { aspect-ratio: 4 / 5; } .ratio-3x2 { aspect-ratio: 3 / 2; } .ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-1x1 { aspect-ratio: 1 / 1; } .ratio-21x9 { aspect-ratio: 21 / 9; }
/* Photo slot until Harvey picks the photo: flat grey, centred caption. */
.media-ph { display: grid; place-items: center; background: var(--surface-1); color: var(--color-steel);
  font-size: var(--type-caption-size); line-height: var(--type-caption-lh); letter-spacing: var(--type-caption-ls); text-align: center; padding: 24px; }
.media > .media-ph { position: absolute; inset: 0; }
.section--band .media-ph { background: var(--surface-3); }
.section--dark .media-ph { background: var(--surface-dark-alt); color: var(--color-steel); }

.hairline { border: 0; border-top: 1px solid var(--color-hairline); margin: 0; }

/* =====================================================================
   Buttons [A] — pill 980px; hover changes colour only.
   ===================================================================== */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.35em; border: var(--btn-border) solid transparent;
  border-radius: var(--radius-pill); padding: calc(var(--btn-pad-y) - 1px) calc(var(--btn-pad-x) - 1px);
  font-family: var(--font-text); font-size: var(--btn-font); line-height: var(--type-small-tight-lh); letter-spacing: var(--type-small-ls);
  font-weight: var(--font-weight-regular); white-space: nowrap; text-decoration: none; cursor: pointer;
  background: var(--color-action); color: #fff;
  transition: background-color var(--dur-instant) linear, color var(--dur-instant) linear, border-color var(--dur-instant) linear; }
.button:hover { background: var(--color-action-hover); text-decoration: none; }
.button:active { background: var(--color-action-active); }
.button--secondary { background: transparent; color: var(--color-link); border-color: var(--color-link); }
.button--secondary:hover { background: var(--color-action-hover); color: #fff; border-color: var(--color-action-hover); }
.button--neutral { background: var(--color-ink); color: #fff; }
.button--neutral:hover { background: var(--color-ink-hover); } .button--neutral:active { background: var(--color-ink-active); }
.button--secondary-neutral { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.button--secondary-neutral:hover { background: var(--color-ink); color: #fff; }
.button--elevated { padding: calc(var(--btn-elevated-pad-y) - 1px) calc(var(--btn-elevated-pad-x) - 1px); font-size: var(--btn-elevated-font); line-height: 1.17648; letter-spacing: var(--type-body-ls); }
.button--reduced { padding: calc(var(--btn-reduced-pad-y) - 1px) calc(var(--btn-reduced-pad-x) - 1px); font-size: var(--btn-reduced-font); line-height: var(--type-caption-lh); letter-spacing: var(--type-caption-ls); }
.button[disabled], .button[aria-disabled="true"] { opacity: var(--btn-disabled-opacity); pointer-events: none; }
.section--dark .button--secondary { color: var(--color-link-on-dark); border-color: var(--color-link-on-dark); }
.section--dark .button--secondary:hover { color: #fff; }

/* Text link with chevron [A] "Learn more ›" */
.link-more { display: inline-flex; align-items: baseline; gap: 0.2em; font-size: inherit; }
.link-more::after { content: "›"; font-family: var(--font-text); }

/* =====================================================================
   Global nav [A] §6.1 — fixed, 44px, translucent + blur.
   ===================================================================== */
.globalnav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  background: var(--surface-globalnav-light); -webkit-backdrop-filter: var(--backdrop-nav); backdrop-filter: var(--backdrop-nav); }
.globalnav::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--color-control-gray); opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-standard); }
.globalnav.is-scrolled::after, .globalnav.is-open::after { opacity: 1; }
.globalnav-inner { max-width: var(--nav-content-max); height: 100%; margin-inline: auto; padding-inline: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.globalnav-brand { font-family: var(--font-display); font-size: 17px; line-height: 1; font-weight: var(--font-weight-semibold);
  letter-spacing: -0.01em; color: var(--color-ink); white-space: nowrap; }
.globalnav-brand:hover { text-decoration: none; }
.globalnav-links { display: flex; align-items: center; gap: 28px; }
.globalnav-links a:not(.button) { font-size: var(--type-caption-size); line-height: 1; letter-spacing: -0.01em; color: var(--color-ink-alpha); }
.globalnav-links a:not(.button):hover { color: var(--color-ink); text-decoration: none; }
.globalnav-toggle { display: none; width: 44px; height: 44px; margin-right: -12px; align-items: center; justify-content: center; color: var(--color-ink); }
.globalnav-toggle svg { width: 18px; height: 18px; }
@media (max-width: 734px) {
  .globalnav-inner { padding-inline: 16px; }
  .globalnav-toggle { display: inline-flex; }
  .globalnav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 32px 32px; background: var(--surface-2); border-bottom: 1px solid var(--color-control-gray); display: none; }
  .globalnav.is-open .globalnav-links { display: flex; }
  .globalnav-links a:not(.button) { font-family: var(--font-display); font-size: 28px; line-height: 1.14; font-weight: var(--font-weight-semibold);
    padding-block: 10px; color: var(--color-ink); }
  .globalnav-links .button { align-self: flex-start; margin-top: 16px; }
  html:not(.js) .globalnav-toggle { display: none; }
  html:not(.js) .globalnav-links { position: static; display: flex; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; background: transparent; border: 0; padding: 0; gap: 16px; }
  html:not(.js) .globalnav-links a:not(.button) { font-family: var(--font-text); font-size: var(--type-caption-size); font-weight: 400; padding: 0; white-space: nowrap; }
}
main { display: block; }
.page-offset { padding-top: var(--nav-h); }

/* =====================================================================
   Footer [A] §6.12 — #f5f5f7, 12/16, rgba(0,0,0,.56)
   ===================================================================== */
.footer { background: var(--surface-1); color: var(--color-text-secondary-alpha); font-size: var(--type-caption-size);
  line-height: var(--type-caption-lh); letter-spacing: var(--type-caption-ls); padding-block: 40px 24px; }
.footer-inner { width: var(--content-width); max-width: var(--footer-content-max); margin-inline: auto; }
.footer a { color: var(--color-ink-alpha); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--color-hairline); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* =====================================================================
   Motion hooks (driven by motion.js). Nothing is hidden without JS; only
   elements below the fold at load get .is-pending (CATALOGO A5, R11).
   ===================================================================== */
.is-pending { opacity: 0; transform: translate3d(0, var(--reveal-translate-y), 0); }
.is-pending[data-reveal="photo"] { transform: translate3d(0, 28px, 0); clip-path: inset(12% 0 0 0 round var(--radius-card)); }
.is-pending[data-reveal="fade"] { transform: none; }
.reveal-line { display: block; }

/* Sticky scene scaffold: a tall track with a pinned stage (CATALOGO §1.3). */
.scene { position: relative; }
.scene-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .is-pending { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ---------- Print: everything visible, no chrome ---------- */
@media print {
  .globalnav, .skip-link, .no-print { display: none !important; }
  .page-offset { padding-top: 0; }
  .is-pending { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .section { padding-block: 24px; background: #fff !important; color: #000 !important; }
  .scene-stage { position: static; height: auto; }
  a { color: #000; }
}

/* Footer socials (markup from {{html.socials}}, config.json → socials) */
.footer-socials { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; }

/* Harvey 30-oct: «hay esquinas duras, no con el formato Apple» → todas las fotos con esquinas redondeadas (salvo los retratos de estudio fundidos con el blanco). */
main dvb-img:not(.s-00-photo), main dvb-img:not(.s-00-photo) img, main dvb-img:not(.s-00-photo) picture { border-radius: 22px; }
main dvb-img:not(.s-00-photo) { overflow: hidden; display: block; }
.s-01-opening-image, .s-01-opening-image img { border-radius: 22px; }
@media (max-width: 734px) { main dvb-img:not(.s-00-photo), main dvb-img:not(.s-00-photo) img { border-radius: 16px; } }

/* ==== Titulares con degradado negro → gris (estilo «Might takes flight» de Apple), 30-oct ==== */
:root { --grad-ink: linear-gradient(100deg, #1d1d1f 0%, #3a3a3e 45%, #7c7c82 100%);
        --grad-on-dark: linear-gradient(100deg, #f5f5f7 0%, #d2d2d7 50%, #8e8e93 100%); }
:is(.s-00-title, .s-01-title, .s-02-title, .s-03-title, .s-04-title, .s-05-title, .s-06-title, .s-07-title, .s-08-title, .s-04b-title, .s-05b-title, .s-00b-lead) { position: relative; }
:is(.s-00-title, .s-01-title, .s-02-title, .s-03-title, .s-04-title, .s-05-title, .s-06-title, .s-07-title, .s-08-title, .s-04b-title, .s-05b-title, .s-00b-lead) * { background-repeat: no-repeat; }
/* The gradient goes on the LEAF that holds the text: a parent with background-clip:text paints its
   children's glyphs even when an animation has them at opacity 0 (Chrome desktop, 30-oct bug). */
:is(.s-00-title, .s-01-title, .s-02-title, .s-03-title, .s-04-title, .s-05-title, .s-06-title, .s-07-title, .s-04b-title, .s-05b-title, .s-00b-lead):not(:has(*)),
:is(.s-00-title, .s-01-title, .s-02-title, .s-03-title, .s-04-title, .s-05-title, .s-06-title, .s-07-title, .s-04b-title, .s-05b-title, .s-00b-lead) :not(:has(*)) {
  background-image: var(--grad-ink); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
:is(.s-00-title, .s-01-title, .s-02-title, .s-03-title, .s-04-title, .s-05-title, .s-06-title, .s-07-title, .s-08-title, .s-04b-title, .s-05b-title, .s-00b-lead):has(*) { background-image: none; }
.s-08-title:not(:has(*)), .s-08-title :not(:has(*)) {
  background-image: var(--grad-on-dark); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (forced-colors: active) { :is(.s-00-title, .s-01-title, .s-02-title, .s-03-title, .s-04-title, .s-05-title, .s-06-title, .s-07-title, .s-08-title, .s-04b-title, .s-05b-title, .s-00b-lead, .s-00-title *, .s-08-title *) { -webkit-text-fill-color: currentColor; color: CanvasText; background: none; } }
@media print { :is(.s-00-title, .s-01-title, .s-02-title, .s-03-title, .s-04-title, .s-05-title, .s-06-title, .s-07-title, .s-08-title, .s-04b-title, .s-05b-title, .s-00b-lead) * , :is(.s-00-title, .s-01-title, .s-02-title, .s-03-title, .s-04-title, .s-05-title, .s-06-title, .s-07-title, .s-08-title, .s-04b-title, .s-05b-title, .s-00b-lead) { -webkit-text-fill-color: #1d1d1f; } }
/* ==== Degradado y rabos de letra (Harvey, 11-nov: «ahí está cortado», la g y la coma de «Cada cargo,») ====
   Con background-clip:text el degradado solo pinta DENTRO de la caja del elemento. Con interlineado ~1,05 el
   rabo de g, j, p, q, y y la coma se sale 3-5 px por debajo de esa caja y queda sin pintar (15 titulares medidos).
   La caja crece .12em por abajo y el margen lo devuelve: el trazo cabe entero y nada cambia de sitio.
   Todo titular nuevo con degradado y display distinto de inline entra en esta lista. */
:root :is(.s-01-title > span, .s-02-line, .s-02-number-final, .s-02b-tline, .s-02b-word,
  .s-03-lead, .s-03-bridge, .s-03-phrase-title, .s-04b-title, .s-05-title, .s-05b-title, .s-06-title, .s-07-title, .s-08-line) {
  padding-bottom: .12em; margin-bottom: -.12em; }
/* ==== Costuras del orden 2.0 (integración 11-nov): ninguna frontera blanca > 80 px (00-transiciones, Verify) ==== */
.s-02b-jovenes:has(+ .s-05-conexiones) { padding-bottom: 0; }
.section.s-05b-reconocimientos.s-05b-tras-04 { padding-top: 0; }
.section.s-05b-reconocimientos:has(+ .s-07-medios) { padding-bottom: var(--space-24); }
/* 00 → 03: el escenario fijado del inicio (z-index 2) baja 56 px por debajo de la banda y tapaba el antetítulo
   «Trayectoria» a 1440 (medido con elementFromPoint). La Trayectoria pinta por encima; la frontera queda en 32 + 48 px. */
.section.s-03-trayectoria.s-03-after-band { position: relative; z-index: 3; padding-top: var(--space-16); }
/* ==== Anclas (FX2, 11-nov) ====
   05b no tiene relleno arriba (costura con 04), así que su antetítulo caía a 12 px bajo el menú con el
   scroll-padding global (nav + 12). 8 px más lo dejan a 20 px, entrando por el menú o por la URL.
   Las demás anclas se quedan como están: por el menú llegan bien (REVISION-2 R-04) y las escenas fijadas no se tocan. */
#reconocimientos { scroll-margin-top: 8px; }

/* Public page shell: the base owns behaviour; this layer refines its surfaces. */
.globalnav {
  --nav-surface: var(--surface-2);
  --nav-panel: var(--surface-2);
  --nav-ink: var(--color-ink);
  --nav-secondary: var(--color-ink-alpha);
  --nav-hairline: var(--color-control-gray);
  --nav-scrim: rgba(255, 255, 255, .6);
  isolation: isolate;
  background: var(--nav-surface);
  color: var(--nav-ink);
  -webkit-backdrop-filter: var(--backdrop-nav);
  backdrop-filter: var(--backdrop-nav);
}

/* Keep the edge to one hairline, including the scrolled state. */
.globalnav, .globalnav.is-scrolled { box-shadow: none; }

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .globalnav { --nav-surface: var(--surface-globalnav-light); }
}

/* The closing/footer controller owns is-dark, including reverse scroll. */
.globalnav.is-dark {
  --nav-surface: var(--surface-dark);
  --nav-panel: var(--surface-dark);
  --nav-ink: var(--color-on-dark);
  --nav-secondary: var(--color-on-dark);
  --nav-hairline: var(--color-text-secondary-alt);
  --nav-scrim: rgba(0, 0, 0, .4);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .globalnav.is-dark { --nav-surface: var(--surface-globalnav-dark); }
}

.globalnav::after { z-index: 3; pointer-events: none; background: var(--nav-hairline); }
.globalnav.is-open { background: var(--nav-panel); }
.globalnav-brand, .globalnav-home, .globalnav-toggle { color: var(--nav-ink); }
.globalnav-links > a:not(.button) { color: var(--nav-secondary); }
.globalnav-links > a:not(.button):hover { color: var(--nav-ink); }
.globalnav-links > a:not(.button)[aria-current="true"] { color: var(--nav-ink); font-weight: var(--font-weight-semibold); }

.globalnav-inner {
  width: 100%;
  max-width: none;
  gap: var(--space-20);
  padding-inline: var(--space-24);
}

.globalnav-brand {
  display: inline-flex;
  align-items: center;
  min-height: var(--nav-h);
  min-width: 0;
  flex: 0 1 auto;
  gap: 10px;
  font-family: var(--font-text);
  font-size: var(--type-body-size);
  font-weight: var(--font-weight-semibold);
  line-height: 1.1;
  white-space: normal;
}
.globalnav-monogram { width: var(--space-32); height: var(--space-28); flex: none; }
.globalnav-name { min-width: 0; }
.globalnav.is-dark .globalnav-brand { color: var(--surface-0); }

.globalnav-links { flex-shrink: 0; gap: clamp(var(--space-8), 1.5vw, var(--space-28)); }
.globalnav-links > a:not(.button), .globalnav-home {
  display: inline-flex;
  align-items: center;
  min-height: var(--nav-h);
  white-space: nowrap;
}

.globalnav a:focus-visible, .globalnav-toggle:focus-visible {
  outline-offset: calc(-1 * var(--space-4));
}

.globalnav-toggle { flex-shrink: 0; }
.globalnav-toggle path {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform var(--dur-fast) var(--ease-nav);
}
.globalnav.is-open .globalnav-icon-top { transform: translateY(3px) rotate(45deg); }
.globalnav.is-open .globalnav-icon-bottom { transform: translateY(-3px) rotate(-45deg); }

.globalnav-home {
  flex-shrink: 0;
  gap: var(--space-4);
  font-size: var(--type-caption-size);
  line-height: var(--type-caption-lh);
  letter-spacing: var(--type-caption-ls);
}
.globalnav-home svg { width: var(--space-16); height: var(--space-16); }

@media (max-width: 1068px) and (min-width: 735px) {
  .globalnav-inner { gap: var(--space-16); }
  .globalnav-links { gap: var(--space-8); }
}

@media (max-width: 734px) {
  .globalnav-inner {
    gap: var(--space-12);
    padding-inline: var(--space-16);
  }
  .globalnav-toggle { margin-right: 0; }
  /* The scrim belongs to the existing toggle: tapping its generated box
     reaches the same click handler, without a second focusable control. */
  .js .globalnav-toggle::before {
    content: "";
    position: fixed;
    inset: var(--nav-h) 0 auto;
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    z-index: 0;
    background: var(--nav-scrim);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-fast) var(--ease-nav);
  }
  .js .globalnav.is-open .globalnav-toggle::before { opacity: 1; pointer-events: auto; }
  /* An open panel is opaque. Removing the ancestor backdrop also leaves
     the fixed scrim attached to the viewport, with its own page blur. */
  .js .globalnav.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .globalnav-brand, .globalnav-toggle svg { position: relative; z-index: 1; }
  .globalnav-links {
    z-index: 2;
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
    overscroll-behavior-y: contain;
    background: var(--nav-panel);
    border-color: var(--nav-hairline);
    padding: var(--space-16) max(var(--space-16), env(safe-area-inset-right)) var(--space-32) max(var(--space-16), env(safe-area-inset-left));
  }
  .globalnav-links > a:not(.button) {
    min-height: var(--space-52);
    padding-block: var(--space-8);
    white-space: normal;
  }
  .globalnav-links .button { max-width: 100%; white-space: normal; }

  .js .globalnav.is-open .globalnav-links > a {
    animation: globalnav-link-in var(--dur-fast) var(--ease-nav) both;
  }

  /* Without JS, navigation is ordinary content: every destination stays visible. */
  html:not(.js) .globalnav { position: relative; height: auto; }
  html:not(.js) .globalnav-inner { flex-wrap: wrap; gap: 0; height: auto; }
  html:not(.js) .globalnav-brand { width: 100%; }
  html:not(.js) .globalnav-links {
    display: flex;
    position: static;
    width: 100%;
    max-height: none;
    flex-wrap: wrap;
    overflow: visible;
    gap: 0 var(--space-20);
    padding: 0 0 var(--space-12);
  }
  html:not(.js) .globalnav-links > a:not(.button) {
    display: inline-flex;
    min-height: var(--space-40);
    padding-block: var(--space-8);
    font-size: var(--type-small-size);
    line-height: var(--type-small-lh);
    white-space: normal;
  }
  html:not(.js) .globalnav-links .button { margin-block: var(--space-8); }
  html:not(.js) .globalnav-home { margin-top: calc(-1 * var(--nav-h)); margin-left: auto; }
  html:not(.js) .globalnav--minimal .globalnav-inner { flex-wrap: nowrap; gap: var(--space-12); }
  html:not(.js) .globalnav--minimal .globalnav-brand { width: auto; }
  html:not(.js) .globalnav--minimal .globalnav-home { margin-top: 0; }
  html:not(.js) .page-offset { padding-top: 0; }
}

@keyframes globalnav-link-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .js .globalnav.is-open .globalnav-links > a { animation: none; }
  .globalnav-toggle path { transition: none; }
  .js .globalnav-toggle::before { transition: none; }
}

/* Shell pages owned by the skeleton (404). */
.s-404 { min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); display: grid; place-items: center; }

/* Marca: sello DV (Harvey 30-oct: el cuadrado negro «cutre» → sello fino). */
.globalnav-badge { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1.25px solid currentColor; color: #1d1d1f; background: transparent;
  font-family: "Inter Display", "Inter", -apple-system, sans-serif; font-weight: 600; font-size: 11px; line-height: 1;
  letter-spacing: .06em; padding-left: .06em; transition: color .3s var(--ease-house); }
.globalnav.is-dark .globalnav-badge { color: #f5f5f7; }

/* Logo B: solo el nombre, «Daniel del Valle». */
.globalnav-name { font-weight: 600; letter-spacing: -.02em; }

/* ==== Cookie notice: thin bar at the foot (A2 11-nov, D-03: never covers the hero's tagline or buttons) ==== */
.consent { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255,255,255,.98); border-top: 1px solid var(--color-hairline); /* opaque: nunca dos textos a la vez */
  transform: translateY(100%); opacity: 0; transition: transform 420ms cubic-bezier(.16,1,.3,1), opacity 320ms ease; pointer-events: none; }
.consent.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.consent-card { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 980px; margin: 0 auto;
  min-height: 44px; padding: 6px 16px; color: var(--color-ink); }
.consent-text { font-size: 13px; line-height: 1.35; color: var(--color-text-secondary); margin: 0; text-wrap: pretty; }
.consent-text a { color: var(--color-link); white-space: nowrap; }
.consent-button { flex: 0 0 auto; min-height: 32px; padding: 0 14px; border-radius: 980px; font: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; border: 1px solid transparent; position: relative; }
.consent-button::after { content: ""; position: absolute; inset: -6px -4px; } /* 44px tap target without a taller bar */
.consent-button--primary { background: var(--color-action); color: #fff; }
.consent-button--primary:hover { background: var(--color-action-hover); }
.consent-button:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
@media (max-width: 734px) { /* ≤ 40px tall: the hero lockup ends 40px above the fold */
  .consent-card { gap: 10px; padding: 4px 12px; min-height: 0; justify-content: space-between; }
  .consent-text { font-size: 12px; line-height: 1.25; } .consent-button { font-size: 12.5px; padding: 0 12px; min-height: 28px; } }
@media (max-width: 359px) { .consent-card { gap: 8px; padding: 4px 10px; } .consent-text { font-size: 11px; } .consent-button { font-size: 12px; padding: 0 10px; } }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }
@media print { .consent { display: none !important; } }

/* ==== Legal pages ==== */
.legal { padding-block: calc(var(--globalnav-height) + 64px) 96px; }
.legal-inner { max-width: 760px; }
.legal-title { font-size: clamp(36px, 6vw, 56px); line-height: 1.07; font-weight: 600; letter-spacing: -0.015em; margin: 8px 0 12px; }
.legal-updated { color: var(--color-text-secondary); font-size: 14px; margin: 0 0 40px; }
.legal h2 { font-size: 21px; line-height: 1.25; font-weight: 600; margin: 40px 0 10px; }
.legal p, .legal-list { font-size: 17px; line-height: 1.55; color: var(--color-text-secondary-alt); }
.legal p + p { margin-top: 12px; }
.legal-list { padding-left: 1.2em; margin: 10px 0 0; }
.legal-list li + li { margin-top: 6px; }
.legal a { color: var(--color-link); }
.legal strong { color: var(--color-ink); font-weight: 600; }
.legal-table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--color-hairline); border-radius: 16px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--color-hairline); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table th { font-weight: 600; background: #f5f5f7; }
.legal-table code { font-size: 14px; }
.legal-inline-button { font: inherit; color: var(--color-link); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.legal-more { margin-top: 56px !important; padding-top: 20px; border-top: 1px solid var(--color-hairline); font-size: 15px !important; }
@media (max-width: 734px) { .legal { padding-block: calc(var(--globalnav-height) + 40px) 72px; } .legal p, .legal-list { font-size: 16px; } .legal-table { min-width: 560px; } }
@media (max-width: 734px) {
  .legal-table-wrap { overflow: visible; border: 0; border-radius: 0; }
  .legal-table { min-width: 0; }
  .legal-table thead { display: none; }
  .legal-table tr { display: block; border: 1px solid var(--color-hairline); border-radius: 16px; padding: 6px 0; }
  .legal-table tr + tr { margin-top: 12px; }
  .legal-table td { display: grid; grid-template-columns: 96px 1fr; gap: 12px; border: 0; padding: 8px 14px; }
  .legal-table td::before { content: attr(data-label); font-weight: 600; color: var(--color-ink); }
}

/* 9 links (con «Por los jóvenes»): en tabletas estrechas el menú se aprieta en vez de desbordar */
@media (max-width: 920px) and (min-width: 735px) {
  .globalnav-inner { gap: var(--space-12); }
  .globalnav-links { gap: 6px; }
  .globalnav-links > a:not(.button) { font-size: 11px; letter-spacing: 0; }
}

/* Owner 30-oct: menu links glide instead of jumping; native scroll, so the pinned
   scenes keep tracking it. Reduced motion keeps the instant jump (base.css). */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
/* Logo: «Daniel del Valle» (8-nov, tres palabras). One ink → grey gradient across the
   three words, tuned so «Valle» still reads as ink-grey and never fades out. */
.globalnav-name {
  background-image: linear-gradient(100deg, #1d1d1f 0%, #2a2a2d 42%, #6e6e73 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.globalnav.is-dark .globalnav-name { background-image: var(--grad-on-dark); }
@media (forced-colors: active) {
  .globalnav-name { -webkit-text-fill-color: currentColor; background: none; }
}

/* ==== sections/00-hero ==== */
/* Real photograph, with a complete reading order before the pinned handoff. */
.s-00-hero { position: relative; z-index: 2; padding: 0; overflow: clip; background: var(--surface-0); --s-00-name-size: clamp(32px, 8vw, 144px); }
.s-00-stage { position: relative; top: 0; height: auto; min-height: calc(100svh - var(--nav-h)); padding-block: var(--space-64) calc(var(--space-48) + var(--space-8)); overflow: visible; background: var(--surface-0); }
.s-00-heading, .s-00-portrait-frame { width: 87.5%; max-width: 1260px; margin-inline: auto; }
.s-00-heading { position: relative; z-index: 3; text-align: center; }
.s-00-eyebrow { margin: 0; font-size: var(--type-small-size); line-height: var(--type-small-lh); font-weight: var(--font-weight-regular); color: var(--color-text-secondary); text-wrap: balance; }
.s-00-title { margin: var(--space-20) 0 0; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: var(--s-00-name-size); line-height: 1.04; letter-spacing: -.035em; text-align: center; white-space: nowrap; }
.s-00-title-text, .s-00-word { display: inline-block; }
.s-00-title-line { display: inline; white-space: nowrap; }
.s-00-portrait-frame { position: relative; z-index: 2; margin-top: var(--space-32); height: 60vh; height: min(60svh, 175vw); min-height: min(40.25vw, 579.6px); overflow: hidden; border-radius: var(--radius-card); transform-origin: 0 0; background: var(--surface-1); }
.s-00-photo, .s-00-photo img { display: block; width: 100%; height: 100%; }
.s-00-photo { transform-origin: 50% 30%; }
.s-00-photo img { object-fit: cover; object-position: 50% 22%; transform-origin: 50% 35%; }
.s-00-lockup { position: relative; z-index: 4; margin-top: var(--space-32); text-align: center; }
.s-00-intro { max-width: 692px; margin: 0 auto; text-wrap: balance; }
.s-00-ctas { justify-content: center; margin-top: var(--space-24); gap: var(--space-16) var(--space-24); }
.s-00-primary { white-space: normal; text-align: center; }
.s-00-contact { display: inline-flex; gap: var(--space-4); align-items: center; min-height: var(--space-40); }
.s-00-arrow { flex: none; }
.s-00-skip { position: absolute; z-index: 6; top: var(--space-12); right: 6.25%; min-height: var(--space-40); padding-inline: var(--space-12); color: var(--color-text-secondary); background: var(--surface-0); border-radius: var(--radius-pill); }
.s-00-bridge, .s-00-landscape, .s-00-handoff-credit, .s-00-handoff-caption { display: none; pointer-events: none; }
.s-00-hero.s-00-enhanced { padding-bottom: 100svh; background: transparent; }
.s-00-enhanced .s-00-stage { position: sticky; top: var(--s-00-pin-top, var(--nav-h)); }
.s-00-enhanced .s-00-portrait-frame { border-radius: 0; clip-path: inset(0 round 28px); }
.s-00-enhanced .s-00-bridge { position: absolute; z-index: 4; display: flex; flex-direction: column; justify-content: center; text-align: center; opacity: 0; background: var(--surface-0); }
.s-00-bridge > p:first-child { font-size: var(--type-small-size); color: var(--color-text-secondary); }
.s-00-bridge-title { margin-top: var(--space-8); font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: clamp(48px, 5.2vw, 80px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.s-00-bridge-title > span { display: block; }
.s-00-enhanced .s-00-landscape { display: flex; flex-direction: column; position: absolute; z-index: 3; overflow: visible; opacity: 0; }
.s-00-landscape-media { flex: none; width: 100%; height: var(--s-00-landscape-h); overflow: hidden; border-radius: var(--radius-card); }
.s-00-castle, .s-00-castle img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 53% 40%; }
.s-00-enhanced .s-00-handoff-credit { display: block; position: static; margin: 0; padding: 10px 0 0; color: var(--color-text-secondary); font-size: 11px; line-height: 1.3; overflow-wrap: anywhere; letter-spacing: var(--type-caption-ls); text-align: right; }
.s-00-credit-link { text-decoration: underline; text-underline-offset: .15em; }
.s-00-enhanced .s-00-handoff-caption { position: absolute; z-index: 4; display: block; opacity: 0; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: 40px; line-height: 1.1; letter-spacing: -.025em; text-wrap: pretty; }
.s-00-handoff-caption span { display: block; }
.s-00-hero.s-00-direct { padding-bottom: 0; }
.s-00-direct .s-00-stage { position: relative; top: 0; }
.s-00-direct .s-00-bridge, .s-00-direct .s-00-landscape, .s-00-direct .s-00-handoff-credit { display: none; }
@media (max-width: 734px) {
 .s-00-hero { --s-00-name-size: clamp(32px, 14vw, 64px); }
 .s-00-title { white-space: normal; text-wrap: balance; }
 .s-00-title-line { display: block; width: max-content; margin-inline: auto; }
 .s-00-eyebrow { font-size: var(--type-caption-size); }
 .s-00-portrait-frame { margin-top: var(--space-28); }
 .s-00-intro { max-width: 27em; font-size: var(--type-body-size); line-height: var(--type-body-lh); }
 .s-00-primary { font-size: var(--type-small-size); }
 .s-00-bridge-title { font-size: clamp(32px, 10.25vw, 56px); }
 .s-00-bridge-title > span:first-child { white-space: nowrap; }
 .s-00-handoff-credit { font-size: var(--type-micro-size); line-height: var(--type-micro-lh); }
 .s-00-enhanced .s-00-handoff-caption { font-size: 24px; }
}
@media (min-width: 735px) and (max-height: 700px) {
 .s-00-bridge-title { font-size: var(--space-48); }
}
@media (prefers-reduced-motion: reduce), print {
 .s-00-hero.s-00-enhanced { padding-bottom: 0; background: var(--surface-0); }
 .s-00-enhanced .s-00-stage { position: relative; top: 0; opacity: 1 !important; }
 .s-00-title, .s-00-eyebrow, .s-00-lockup, .s-00-photo, .s-00-photo img { opacity: 1 !important; transform: none !important; }
 .s-00-portrait-frame { transform: none !important; clip-path: none !important; border-radius: var(--radius-card) !important; }
 .s-00-bridge, .s-00-landscape, .s-00-handoff-credit, .s-00-handoff-caption, .s-00-skip { display: none !important; }
}

/* Movimiento reducido: el nombre siempre cabe en su caja (≈10,3 em de ancho → 8,3vw entra en el contenedor de 87,5 %). */
@media (prefers-reduced-motion: reduce) and (min-width: 735px) {
  .s-00-title { font-size: min(8.3vw, 150px) !important; }
}

/* ===== Hero de estudio (Claude, Harvey 11:5x: «sigue muy cutre») =====
   Retrato entero (cabeza y hombros) sobre el mismo blanco de la página: sin caja, sin zoom, nítido. */
.s-00-hero .s-00-portrait-frame { background: #fff; overflow: hidden; border-radius: 0 !important;
  width: min(62vw, 760px); max-width: 760px; height: auto !important; min-height: 0 !important; aspect-ratio: 1536 / 1104; margin-top: var(--space-24); }
.s-00-hero .s-00-photo img { object-fit: contain; object-position: 50% 100%; }

@media (max-width: 734px) { .s-00-hero .s-00-portrait-frame { width: 100%; } }

/* Global-3: a stable top anchor preserves the complete studio portrait. */
.s-00-enhanced .s-00-portrait-frame { transform-origin: 50% 0; }
.s-00-enhanced .s-00-bridge-title { font-size: clamp(32px, 4vw, 48px); }
.s-00-enhanced .s-00-bridge { justify-content: flex-start; }
.s-00-hero .s-00-portrait-frame { width: min(48vw, 640px); margin-top: var(--space-8);
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 100%); mask-image: linear-gradient(to bottom, #000 74%, transparent 100%); }
.s-00-hero .s-00-lockup { margin-top: var(--space-16); position: relative; z-index: 3; }
@media (max-width: 734px) { .s-00-hero .s-00-portrait-frame { width: 100%; } }

/* Harvey 13:5x: «se le ve muy pequeño» → retrato grande. */
.s-00-hero .s-00-portrait-frame { width: min(74vw, 1060px) !important; margin-top: calc(-1 * var(--space-8)) !important;
  -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 97%); mask-image: linear-gradient(to bottom, #000 66%, transparent 97%); }
.s-00-hero .s-00-lockup { margin-top: calc(-1 * clamp(80px, 9vw, 140px)) !important; }
@media (max-width: 734px) { .s-00-hero .s-00-portrait-frame { width: 118% !important; margin-left: -9% !important; } .s-00-hero .s-00-lockup { margin-top: -48px !important; } }

/* ===== Hero a dos columnas (Harvey 13:5x: «Daniel a la izquierda y a la derecha lo otro, quedaba más pro») ===== */
.s-00-hero .s-00-stage { display: grid !important; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-areas: "foto titulo" "foto texto";
  align-items: end; column-gap: clamp(32px, 5vw, 88px); width: 87.5%; max-width: 1260px; margin-inline: auto;
  min-height: calc(100svh - var(--nav-h)); padding-block: clamp(40px, 6vh, 72px) 0 !important; }
.s-00-hero .s-00-heading { grid-area: titulo; width: auto !important; max-width: none !important; margin: 0 !important; text-align: left; align-self: end; }
.s-00-hero .s-00-title { white-space: normal !important; text-align: left; font-size: clamp(52px, 6vw, 100px) !important; line-height: 1.0; letter-spacing: -.04em; margin-top: 14px; }
.s-00-hero .s-00-title-line { display: inline !important; }
.s-00-hero .s-00-portrait-frame { grid-area: foto; width: 100% !important; max-width: none !important; margin: 0 !important; aspect-ratio: auto !important;
  height: calc(100svh - var(--nav-h) - clamp(40px, 6vh, 72px)) !important; min-height: 520px !important; align-self: end;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); }
.s-00-hero .s-00-photo, .s-00-hero .s-00-photo img { height: 100% !important; }
.s-00-hero .s-00-photo img { object-fit: cover !important; object-position: 50% 10% !important; }
.s-00-hero .s-00-lockup { grid-area: texto; width: auto !important; margin: 24px 0 clamp(64px, 12vh, 140px) !important; text-align: left; }
.s-00-hero .s-00-lockup .lockup-ctas { justify-content: flex-start; }
.s-00-hero .s-00-intro { max-width: 22em; margin-inline: 0; font-size: clamp(19px, 1.5vw, 24px); }
.s-00-hero .s-00-bridge, .s-00-hero .s-00-landscape, .s-00-hero .s-00-handoff-credit, .s-00-hero .s-00-skip { display: none !important; }
@media (max-width: 734px) {
  .s-00-hero .s-00-stage { grid-template-columns: 1fr; grid-template-areas: "titulo" "foto" "texto"; padding-top: 32px !important; }
  .s-00-hero .s-00-heading, .s-00-hero .s-00-lockup { text-align: center; }
  .s-00-hero .s-00-lockup .lockup-ctas { justify-content: center; }
  .s-00-hero .s-00-intro { margin-inline: auto; }
  .s-00-hero .s-00-portrait-frame { height: 58svh !important; min-height: 0 !important; }
  .s-00-hero .s-00-lockup { margin: 8px 0 40px !important; }
}

/* ===== Entrada «wow» recuperada (Harvey 14:5x: «¿Me quitaste las animaciones wow del inicio?») ===== */
@keyframes s-00-sube { from { opacity: 0; transform: translate3d(0, 34px, 0); } to { opacity: 1; transform: none; } }
@keyframes s-00-abre { from { clip-path: inset(14% 18% 0 18% round 28px); } to { clip-path: inset(0 0 0 0 round 0); } }
@keyframes s-00-acerca { from { transform: scale(1.12); filter: grayscale(1); } 55% { filter: grayscale(0); } to { transform: scale(1); filter: grayscale(0); } }
@media (prefers-reduced-motion: no-preference) {
  .s-00-hero .s-00-eyebrow { animation: s-00-sube .9s var(--ease-house) .15s both; }
  .s-00-hero .s-00-title { animation: s-00-sube 1.1s var(--ease-house) .3s both; }
  .s-00-hero .s-00-portrait-frame { animation: s-00-abre 1.5s var(--ease-house) .1s both; }
  .s-00-hero .s-00-photo img { animation: s-00-acerca 2.2s var(--ease-house) .1s both; transform-origin: 50% 30%; }
  .s-00-hero .s-00-intro { animation: s-00-sube .9s var(--ease-house) .75s both; }
  .s-00-hero .s-00-ctas { animation: s-00-sube .9s var(--ease-house) .9s both; }
  /* Al bajar: el retrato se aleja en profundidad y el texto sube más deprisa (parallax), sin dejar huecos. */
  @supports (animation-timeline: view()) {
    @keyframes s-00-profundidad { to { transform: translate3d(0, 12%, 0) scale(.94); opacity: .55; } }
    @keyframes s-00-texto-sube { to { transform: translate3d(0, -18%, 0); opacity: 0; } }
    .s-00-hero .s-00-photo { animation: s-00-profundidad linear both; animation-timeline: view(); animation-range: exit 0% exit 90%; }
    .s-00-hero .s-00-heading { animation: s-00-texto-sube linear both; animation-timeline: view(); animation-range: exit 10% exit 80%; }
  }
}

/* ===== Enlace con la historia (01) en escena fija · Claude c1, 30-oct =====
   El inicio de arriba se queda TAL CUAL. Al bajar, el escenario se fija: nombre y botones
   suben y se van, el retrato se reduce a un marco redondeado a la IZQUIERDA y el castillo
   de Manzanares llega desde el fondo a un marco a la DERECHA. El final es idéntico a la
   primera escena de 01, que toma el relevo sin salto (DVB.originPlate). */
.s-00-card, .s-00-overlay { display: none; }
.s-00-hero.s-00-enhanced { padding-bottom: 0; height: calc(var(--s-00-stage-h) + var(--s-00-track, 120svh)); background: var(--surface-0); }
.s-00-hero.s-00-enhanced .s-00-stage { position: sticky; top: var(--s-00-pin-top, var(--nav-h)); height: var(--s-00-stage-h) !important; min-height: 0 !important; overflow: visible; }
.s-00-hero.s-00-enhanced .s-00-portrait-frame { clip-path: none; transform-origin: 0 0; mix-blend-mode: multiply; will-change: transform; }
.s-00-hero.s-00-opened .s-00-portrait-frame { animation: none !important; }
.s-00-hero.s-00-enhanced .s-00-heading, .s-00-hero.s-00-enhanced .s-00-lockup { will-change: transform, opacity; }
.s-00-hero.s-00-enhanced .s-00-card { display: block; position: absolute; z-index: 1; background: var(--surface-1); opacity: 0; transform-origin: 0 0; pointer-events: none; }
.s-00-hero.s-00-enhanced .s-00-overlay { display: block; position: absolute; z-index: 3; top: 0; pointer-events: none; overflow: clip; }
.s-00-hero.s-00-faded .s-00-stage { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce), print {
  .s-00-hero.s-00-enhanced { padding-bottom: 0; height: auto; }
  .s-00-card, .s-00-overlay { display: none !important; }
}

/* ===== Correcciones de Harvey 30-oct (tarde): retrato más arriba y bloque de texto junto =====
   La foto de estudio trae mucho blanco sobre la cabeza: la imagen se alarga un 13 % y sube
   ese 13 % (la cabeza queda a ~70 px de la navegación y el retrato llena más la columna).
   01 aplica el mismo encuadre a su marco, así el relevo sigue sin salto. */
.s-00-hero .s-00-photo img { position: relative; top: -13%; height: 113% !important; }
@media (min-width: 735px) {
  .s-00-hero .s-00-stage { grid-template-areas: "foto ." "foto titulo" "foto texto" "foto ."; grid-template-rows: 1fr auto auto 1fr;
    padding-top: var(--space-16) !important; }
  .s-00-hero .s-00-portrait-frame { grid-row: 1 / -1; height: calc(100svh - var(--nav-h) - var(--space-16)) !important; }
  .s-00-hero .s-00-heading { align-self: end; }
  .s-00-hero .s-00-lockup { align-self: start; margin: var(--space-40) 0 var(--space-48) !important; }
  .s-00-hero .s-00-ctas { margin-top: var(--space-32); }
}
/* Hombros sin corte vertical duro: fundido lateral suave hacia el blanco, como el de abajo. */
.s-00-hero .s-00-portrait-frame {
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%), linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%) !important;
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%), linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%) !important;
  -webkit-mask-composite: source-in; mask-composite: intersect; }
/* Móvil: fundido lateral y de abajo más ancho y gradual (varias paradas), sin borde duro. */
@media (max-width: 734px) {
  .s-00-hero .s-00-portrait-frame { -webkit-mask-image: linear-gradient(to bottom, #000 66%, rgba(0,0,0,.75) 78%, rgba(0,0,0,.35) 88%, rgba(0,0,0,.1) 95%, transparent 100%), linear-gradient(to right, transparent 0, rgba(0,0,0,.12) 5%, rgba(0,0,0,.4) 11%, rgba(0,0,0,.75) 18%, #000 26%, #000 74%, rgba(0,0,0,.75) 82%, rgba(0,0,0,.4) 89%, rgba(0,0,0,.12) 95%, transparent 100%) !important; mask-image: linear-gradient(to bottom, #000 66%, rgba(0,0,0,.75) 78%, rgba(0,0,0,.35) 88%, rgba(0,0,0,.1) 95%, transparent 100%), linear-gradient(to right, transparent 0, rgba(0,0,0,.12) 5%, rgba(0,0,0,.4) 11%, rgba(0,0,0,.75) 18%, #000 26%, #000 74%, rgba(0,0,0,.75) 82%, rgba(0,0,0,.4) 89%, rgba(0,0,0,.12) 95%, transparent 100%) !important; }
}
/* Móvil: un solo eje (antetítulo, nombre, retrato, frase y botón centrados) y,
   en pantallas bajas, el retrato cede alto para que frase y botón entren en la primera pantalla. */
@media (max-width: 734px) {
  .s-00-hero .s-00-title { text-align: center; }
  .s-00-hero .s-00-portrait-frame { height: clamp(220px, calc(100svh - var(--nav-h) - 330px), 58svh) !important; }
}
/* Móvil estrecho/bajo: el marco del retrato nunca se vuelve apaisado (≤ 0,8 de ancho/alto),
   así la escena de Manzanares reparte los dos marcos a partes iguales. */
@media (max-width: 734px) {
  .s-00-hero .s-00-portrait-frame { width: min(100%, calc(.8 * clamp(220px, calc(100svh - var(--nav-h) - 330px), 58svh))) !important; justify-self: center; margin-inline: auto !important; }
}

/* ===== Portada nueva (Daniel, 8-nov): Daniel saludando, recortado sin fondo =====
   El recorte va directo sobre el blanco de la página: sin marco ni esquinas (como el
   retrato de la hoja de vida). El marco toma la proporción exacta del recorte y se
   apoya en el borde inferior del escenario; la cintura se funde a blanco (nunca un
   corte horizontal flotando). El PNG ya trae aire a la izquierda y arriba para que
   la mano alzada nunca toque un borde. Dos columnas, entrada y enlace 00→01 intactos. */
.s-00-hero .s-00-portrait-frame { background: transparent !important; border-radius: 0 !important;
  aspect-ratio: 2290 / 1973 !important; height: auto !important; min-height: 0 !important;
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, rgba(0,0,0,.6) 86%, rgba(0,0,0,.18) 93%, transparent 98%) !important;
  mask-image: linear-gradient(to bottom, #000 76%, rgba(0,0,0,.6) 86%, rgba(0,0,0,.18) 93%, transparent 98%) !important;
  -webkit-mask-repeat: no-repeat !important; mask-repeat: no-repeat !important; -webkit-mask-size: 100% 100% !important; mask-size: 100% 100% !important; }
.s-00-hero .s-00-photo img { top: 0 !important; height: 100% !important; object-fit: cover !important; object-position: 50% 100% !important; }
@media (min-width: 735px) {
  /* El recorte es apaisado: su columna crece con el alto de la pantalla (y un poco hacia
     los márgenes) para que Daniel llene el escenario sin hueco arriba; foto y texto
     quedan centrados en vertical, con la cintura fundida a blanco. */
  .s-00-hero .s-00-stage { width: calc(100% - 2 * clamp(24px, 4vw, 90px)); max-width: 1500px;
    grid-template-columns: minmax(0, min(63%, calc((100svh - var(--nav-h) - 112px) * 1.1607))) minmax(0, 1fr);
    column-gap: clamp(24px, 3.5vw, 56px); }
  .s-00-hero .s-00-portrait-frame { align-self: center; }
}
@media (max-width: 734px) {
  .s-00-hero .s-00-portrait-frame { width: calc(100% + 32px) !important; max-width: none !important; height: auto !important;
    justify-self: center; margin-inline: -16px !important; }
}

/* Ronda 2 (8-nov): la entrada del recorte nunca corta la mano. Mismo gesto aprobado
   (aparece, B/N → color, se asienta), pero sin la ventana que se abría desde dentro:
   el marco aparece con opacidad y la foto se asienta desde 1,03 anclada abajo-centro,
   que cabe en el aire transparente del PNG (70 px arriba, 90 a la izquierda). */
@keyframes s-00-aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes s-00-asienta { from { transform: translate3d(0, 2.5%, 0) scale(1.03); filter: grayscale(1); } 55% { filter: grayscale(0); } to { transform: none; filter: grayscale(0); } }
@media (prefers-reduced-motion: no-preference) {
  .s-00-hero .s-00-portrait-frame { animation: s-00-aparece 1.2s var(--ease-house) .1s both; }
  .s-00-hero .s-00-photo img { animation: s-00-asienta 2.2s var(--ease-house) .1s both; transform-origin: 50% 100%; }
}

/* 320 (11-nov): en dos líneas el nombre caía sobre la cara; en una sola línea, fitTitle lo ajusta al ancho.
   PORTADA-HITO: a 360 también partía en dos y «del Valle» pisaba el pelo → una línea hasta 374 px. */
@media (max-width: 374px) {
  .s-00-hero .s-00-title { white-space: nowrap !important; font-size: min(52px, 12.4vw) !important; }
}

/* 11-nov: hito visible en la primera pantalla (briefing del cliente §2). Se ve en todos los tamaños (ver PORTADA-HITO abajo). */
.s-00-hito { margin: var(--space-16) 0 0; color: var(--color-text-secondary); }
.s-00-hito-fecha { white-space: nowrap; }
.s-00-hito-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 734px) { .s-00-hito { margin-top: var(--space-12); } }
/* PORTADA-HITO (11-nov, «ponlo como dijo»): el hito se ve también en móviles bajos.
   En móvil el alto del retrato sale de su ANCHO (aspect-ratio del recorte), por eso bajar su `height` no subía
   nada: aquí se limita su ancho según el alto de pantalla. El bloque se apoya en el pie del escenario
   (rejilla con align-items: end), así que su margen inferior deja sitio al aviso de cookies (~40 px) + aire.
   El lema solo entra en la cintura ya fundida a blanco del recorte, nunca en la cara. */
@media (max-width: 734px) { .s-00-hero .s-00-lockup { margin-bottom: 52px !important; } }
@media (max-width: 734px) and (max-height: 760px) {
  .s-00-hero .s-00-stage { padding-top: 16px !important; }
  .s-00-hero .s-00-portrait-frame { width: min(calc(100% + 32px), calc((100svh - 400px) * 1.1607)) !important; }
  .s-00-hero .s-00-lockup { margin-top: -12px !important; }
  .s-00-hero .s-00-ctas { margin-top: var(--space-16); }
  .s-00-hito { margin-top: var(--space-8); }
}
@media (prefers-reduced-motion: no-preference) { .s-00-hero .s-00-hito { animation: s-00-sube .9s var(--ease-house) 1.05s both; } }

/* 16-nov (Harvey, móvil: «Quizás Daniel del Valle más grande? -- y que no haya tanto espacio?» / «Me pules la entrada en
   móvil?»): de 375 px en adelante el nombre va en dos líneas grandes (section.js pone .s-00-title--dos y ajusta cada línea
   al ancho); el escenario sube, el retrato arranca pegado al nombre y el lema entra en la cintura ya fundida a blanco. */
@media (max-width: 734px) and (min-width: 375px) and (min-height: 700px) {
  .s-00-hero .s-00-title.s-00-title--dos { font-size: min(21.5vw, 100px) !important; white-space: normal !important; line-height: .92; letter-spacing: -.045em; margin-top: 6px; }
  .s-00-hero .s-00-title.s-00-title--dos .s-00-title-line { display: block !important; width: max-content; margin-inline: auto; }
  .s-00-hero .s-00-stage { padding-top: 14px !important; }
  .s-00-hero .s-00-portrait-frame { margin-top: -6px !important; }
  .s-00-hero .s-00-lockup { margin-top: -28px !important; }
}

/* ==== sections/00b-banda ==== */
/* 00b · La banda: la bajada como declaración y tres hitos con el año en cifra grande.
   En flujo (movimiento reducido, impresión, pantallas bajas, sin JS) es un bloque normal, completo.
   Con la escena de la portada viva, la portada le pone .s-00b-en-escena y, en escritorio,
   --s-00b-x / --s-00b-w: la banda sube por encima de la pantalla fijada y ocupa la columna
   DERECHA, junto al retrato (fondo transparente: el retrato se ve a su izquierda).
   X3A (12-nov) · gesto propio: cada hito SE ABRE DESDE SU RAYA (la raya se dibuja, el año baja desde
   detrás de ella y el texto sube). Lo mueve section.js con transform / opacity / clip-path; sin JS o con
   movimiento reducido todo está abierto. No repite a las vecinas (la portada releva textos junto al
   retrato; Trayectoria acerca una foto). */
.s-00b-banda { position: relative; z-index: 3; background: var(--surface-0); padding-bottom: var(--space-32); }
.s-00b-inner { display: flex; flex-direction: column; }
.s-00b-banda p { margin: 0; }

/* La declaración: titular de apoyo con el degradado de la casa (base.css). */
.s-00b-lead { max-width: 24em; font-family: var(--font-display); font-weight: var(--font-weight-semibold);
  font-size: clamp(26px, 2.35vw, 38px); line-height: 1.16; letter-spacing: -.022em; color: var(--color-ink); text-wrap: pretty; }
.s-00b-ver { margin-top: var(--space-16); }
.s-00b-ver .s-00b-link { min-height: 44px; font-weight: var(--font-weight-semibold); font-size: 17px; }

/* Los tres hitos: raya fina arriba, año en cifra grande a la izquierda, rótulo y enlace a la derecha.
   La raya es un ::before (se puede dibujar con scaleX); --s-00b-l la pone section.js (1 = entera). */
.s-00b-hitos { list-style: none; margin: var(--space-32) 0 0; padding: 0; display: flex; flex-direction: column; }
.s-00b-hito { position: relative; display: grid; grid-template-columns: minmax(0, 10.25rem) minmax(0, 1fr); column-gap: var(--space-20); align-items: start;
  padding: 22px 0 var(--space-8); }
.s-00b-hito::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--color-hairline);
  transform: scaleX(var(--s-00b-l, 1)); transform-origin: 0 50%; }
.s-00b-when { position: relative; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: clamp(40px, 3.7vw, 56px);
  line-height: 1; letter-spacing: -.035em; color: var(--color-ink); white-space: nowrap; }
/* «28 may 2024»: el día va en pequeño sobre el año, para que las tres cifras grandes sean tres años. El texto no cambia. */
.s-00b-dia { position: absolute; left: 2px; bottom: 100%; padding-bottom: 1px; font-size: 13px; line-height: 1; letter-spacing: 0;
  font-weight: var(--font-weight-semibold); color: var(--color-text-secondary); }
.s-00b-what { font-size: 17px; line-height: 1.38; color: var(--color-ink); text-wrap: pretty; }
.s-00b-links { display: flex; flex-wrap: wrap; column-gap: var(--space-20); }
.s-00b-link { display: inline-flex; align-items: center; gap: var(--space-4); min-height: 40px; font-size: 15px; color: var(--color-link); }
.s-00b-link::after { content: ""; flex-shrink: 0; width: 7px; height: 7px; margin-inline: var(--space-4); border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.s-00b-when, .s-00b-body { will-change: transform; }

/* Escritorio, dentro de la escena: columna derecha, sin fondo (el retrato queda a la vista). */
@media (min-width: 735px) {
  .s-00b-banda.s-00b-en-escena { background: transparent; padding-top: 0; pointer-events: none; }
  .s-00b-banda.s-00b-en-escena .s-00b-inner { width: var(--s-00b-w, 50%); max-width: none; margin-left: var(--s-00b-x, 50%); margin-right: 0; padding: 0; }
  .s-00b-banda.s-00b-en-escena a { pointer-events: auto; }
  /* Pausa de lectura (Harvey, 11-nov): al llegar a su sitio la banda se queda quieta junto al retrato.
     La portada pone --s-00b-top (dónde se fija) y --s-00b-hold (cuánto recorrido dura) y alarga lo mismo
     su pantalla fijada; sin esas variables (móvil, o banda más alta que la pantalla) no cambia nada.
     En esa pausa se abren el segundo y el tercer hito, uno detrás de otro (section.js). */
  .s-00b-banda.s-00b-en-escena .s-00b-inner { position: sticky; top: var(--s-00b-top, auto); }
  .s-00b-banda.s-00b-en-escena::after { content: ""; display: block; height: var(--s-00b-hold, 0px); }
}

/* Pantallas bajas de ordenador (≤ 820 px de alto, p. ej. 1366×768): la banda cabía justa junto al retrato,
   con la primera línea a 30 px del menú. Cuerpos un punto menores para que quede centrada y con aire. */
@media (min-width: 735px) and (max-height: 820px) {
  .s-00b-en-escena .s-00b-lead { font-size: clamp(22px, 2.05vw, 30px); }
  .s-00b-en-escena .s-00b-ver { margin-top: var(--space-8); }
  .s-00b-en-escena .s-00b-ver .s-00b-link { min-height: 40px; font-size: 16px; }
  .s-00b-en-escena .s-00b-hitos { margin-top: var(--space-20); }
  .s-00b-en-escena .s-00b-hito { padding: 20px 0 var(--space-4); }
  .s-00b-en-escena .s-00b-when { font-size: clamp(34px, 3.3vw, 46px); }
  .s-00b-en-escena .s-00b-what { font-size: 16px; }
}

/* Móvil: la versión más pulida. Declaración grande y los hitos en columna con su año, grande, encima. */
@media (max-width: 734px) {
  /* Ronda 2: dentro de la escena el borde opaco de la banda va a 16 px de la bajada (antes 56): no tapa el lema
     de la portada antes de que la bajada llegue. La portada compensa la diferencia; la bajada no cambia de sitio. */
  .s-00b-banda.s-00b-en-escena { padding-top: var(--space-16); }
  .s-00b-lead { font-size: 24px; line-height: 1.2; letter-spacing: -.018em; }
  .s-00b-hitos { margin-top: var(--space-24); }
  .s-00b-hito { grid-template-columns: 1fr; row-gap: 6px; padding: 24px 0 var(--space-4); }
  .s-00b-when { font-size: 42px; }
  .s-00b-what { font-size: 16px; }
}

/* Entrada de la declaración y de su enlace: aparecen al asomar por abajo (los hitos tienen su gesto propio). */
@keyframes s-00b-entra { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .s-00b-en-escena .s-00b-lead, .s-00b-en-escena .s-00b-ver {
      animation: s-00b-entra linear both; animation-timeline: view(); animation-range: entry 15% entry 100%; }
  }
}

/* Móvil: la declaración se lee antes (a media entrada ya está entera): al apagarse el lema de la portada
   no queda el tercio bajo de la pantalla lavado. */
@media (prefers-reduced-motion: no-preference) and (max-width: 734px) {
  @supports (animation-timeline: view()) {
    .s-00b-en-escena .s-00b-lead, .s-00b-en-escena .s-00b-ver { animation-range: entry 0% entry 55%; }
  }
}

/* Escritorio estrecho (735-1199): la columna derecha es corta; el año cede ancho al rótulo. */
@media (min-width: 735px) and (max-width: 1199px) {
  .s-00b-hito { grid-template-columns: minmax(0, 7.25rem) minmax(0, 1fr); column-gap: var(--space-16); }
  .s-00b-when { font-size: 38px; }
  .s-00b-what { font-size: 16px; }
}
@media (min-width: 735px) and (max-width: 1199px) and (max-height: 820px) {
  .s-00b-en-escena .s-00b-when { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce), print {
  .s-00b-hito::before { transform: none !important; }
  .s-00b-when, .s-00b-body { transform: none !important; opacity: 1 !important; clip-path: none !important; }
}

/* 16-nov · móvil: la declaración se entinta palabra a palabra al bajar (--s-00b-k la pone section.js: 0 gris claro → 1 tinta)
   y cada año es un rodillo de cifras (cuentakilómetros). Sin JS o con movimiento reducido no existen las clases: todo quieto. */
@media (max-width: 734px) {
  .s-00b-movil .s-00b-lead .s-00b-w { opacity: calc(.16 + .84 * var(--s-00b-k, 1)); }
  .s-00b-movil .s-00b-odo { display: inline-flex; vertical-align: top; }
  .s-00b-movil .s-00b-odo, .s-00b-movil .s-00b-odo i { font-style: normal; }
  .s-00b-movil .s-00b-dig { display: inline-block; height: 1em; line-height: 1; overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent); }
  .s-00b-movil .s-00b-hito:not(.s-00b-rodando) .s-00b-dig { -webkit-mask-image: none; mask-image: none; }
  .s-00b-movil .s-00b-strip { display: flex; flex-direction: column; will-change: transform; }
  .s-00b-movil .s-00b-strip > i { display: block; height: 1em; line-height: 1; }
  .s-00b-movil .s-00b-when { font-size: 56px; letter-spacing: -.04em; }
}

/* ==== sections/03-trayectoria ==== */
/* 03 · Straight logarithmic zoom into the Security Council (sticky, three reading plateaus) + self-advancing gallery. */
.s-03-trayectoria { --s-03-phrase-size: var(--space-40); --s-03-phrase-leading: 1.1; --s-03-phrase-tracking: -.02em; --s-03-scene-top: var(--space-64); --s-03-scene-bottom: calc(var(--space-28) * 2); padding-block: var(--section-padding-story) 0; }
.s-03-header { padding-bottom: var(--space-64); }
.s-03-eyebrow { color: var(--color-text-secondary); margin-bottom: var(--space-24); }
.s-03-title { max-width: 16em; }
.s-03-intro { max-width: 34em; margin-top: var(--space-24); }
/* 00b → 03: right after the band the section keeps only a short breath of air (≤ 80 px to the eyebrow). */
.s-03-trayectoria.s-03-after-band { padding-top: var(--space-48); }
.s-03-skip { display: inline-flex; align-items: center; gap: var(--space-8); margin-top: var(--space-28); min-height: var(--space-40); }
.s-03-skip svg { flex-shrink: 0; }
/* Zoom scene. Without .s-03-live (no JS, reduced motion, print, too short a
   viewport) it is the complete static state: the photo, then the three steps. */
.s-03-trayectoria { --s-03-photo-radius: 22px; --s-03-top: calc(var(--nav-h) + var(--space-64)); --s-03-bottom: calc(var(--space-28) * 2); --s-03-credit-h: var(--space-48); }
.s-03-scene { position: relative; }
.s-03-stage { position: relative; }
.s-03-layout { width: var(--content-width); max-width: var(--content-max); margin-inline: auto; padding-bottom: var(--section-padding-story); }
.s-03-zoom { margin: 0; min-width: 0; }
.s-03-zoom-frame { position: relative; aspect-ratio: 3 / 2; overflow: clip; border-radius: var(--s-03-photo-radius); background: var(--surface-1); }
.s-03-zoom-image, .s-03-zoom-image img { display: block; width: 100%; height: 100%; }
.s-03-zoom-image img { object-fit: cover; object-position: 50% 50%; }
.s-03-zoom-credit { max-width: 40em; }
.s-03-caption { min-width: 0; margin-top: var(--space-64); }
.s-03-counter { display: none; }
.s-03-phrases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-48); }
.s-03-phrase { min-width: 0; }
.s-03-step { color: var(--color-text-secondary); margin-bottom: var(--space-20); font-family: var(--font-text); font-weight: var(--font-weight-medium); }
.s-03-phrase-title { color: var(--color-ink); font-family: var(--font-display); font-size: var(--s-03-phrase-size); line-height: var(--s-03-phrase-leading); font-weight: var(--font-weight-semibold); letter-spacing: var(--s-03-phrase-tracking); text-wrap: pretty; }
.s-03-phrase-detail { margin-top: var(--space-20); color: var(--color-text-secondary); font-size: var(--type-intro-size); line-height: var(--type-intro-lh); font-weight: var(--font-weight-regular); letter-spacing: var(--type-intro-ls); text-wrap: pretty; }
.s-03-press { margin: var(--space-24) 0 0; padding-top: var(--space-20); border-top: 1px solid var(--color-hairline); }
.s-03-press-source { color: var(--color-text-secondary); }
.s-03-press-source a { display: inline-flex; align-items: center; min-height: var(--space-32); }
.s-03-press-quote { margin: var(--space-4) 0 0; color: var(--color-ink); font-family: var(--font-display); font-size: var(--space-24); line-height: 1.25; font-weight: var(--font-weight-medium); letter-spacing: -.01em; }
.s-03-proof { margin-top: var(--space-12); }
/* Apple ink→grey gradient, only on the elements that hold the text themselves (their parents animate). */
.s-03-phrase-title, .s-03-role { width: fit-content; max-width: 100%; background-image: var(--grad-ink); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
@media (forced-colors: active) { .s-03-phrase-title, .s-03-role { -webkit-text-fill-color: currentColor; color: CanvasText; background: none; } }
/* Live: a pinned stage, copy beside the photo, never over it. */
.s-03-scene.s-03-live { height: 400vh; height: 400svh; }
.s-03-live .s-03-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
.s-03-live .s-03-layout { box-sizing: border-box; height: 100%; max-width: var(--content-max); padding: var(--s-03-top) 0 var(--s-03-bottom); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: var(--space-64); align-items: center; align-content: center; }
/* A big 4:3 frame (~74 % of the usable height); the zoom happens inside it. */
.s-03-live .s-03-zoom { grid-column: 2; grid-row: 1; width: 100%; max-width: calc((100vh - var(--s-03-top) - var(--s-03-bottom)) * .74 * 4 / 3); max-width: calc((100svh - var(--s-03-top) - var(--s-03-bottom)) * .74 * 4 / 3); justify-self: end; }
.s-03-live .s-03-zoom-frame { aspect-ratio: 4 / 3; transform-origin: 50% 50%; }
/* Origin above Daniel's face: at full zoom both faces stay whole (measured on the 1536 source). */
.s-03-live .s-03-zoom-image img { transform-origin: 36% 6%; }
/* 12-nov · One photo per stage. Static (no JS, reduced motion, print): the last photo and its caption, as before.
   Live: the pictures are stacked in the same frame and section.js relays them with a clean cut inside the same
   straight zoom; each photo keeps its own origin, measured between the faces. The caption box keeps the size of
   the last caption (the one it always had): the other two lie over it, out of flow, so the scene's geometry
   (and its air under the nav and above the bottom edge) is the approved one, to the pixel. */
.s-03-zoom-frame--relay .s-03-zoom-image:not(:last-child) { display: none; }
.s-03-zoom-credit--relay .s-03-credit-item:not(:last-child) { display: none; }
.s-03-zoom-image--malta img { object-position: 50% 30%; }
.s-03-zoom-image--oij img { object-position: 50% 35%; }
.s-03-live .s-03-zoom-frame--relay .s-03-zoom-image { position: absolute; inset: 0; display: block; }
.s-03-live .s-03-zoom-credit--relay { position: relative; }
.s-03-live .s-03-zoom-credit--relay .s-03-credit-item { display: block; }
.s-03-live .s-03-zoom-credit--relay .s-03-credit-item:not(:last-child) { position: absolute; inset: 0 0 auto 0; }
.s-03-live .s-03-zoom-frame--relay .s-03-zoom-image--malta img { transform-origin: 50% 36%; }
/* The 2024 photo is a wide shot: a 1,5 base scale brings the two of them to the size of the other stages and
   leaves the cut posters of the wall out of the frame (faces whole from start to end; source 2048 px ≥ 1,3× at the end). */
.s-03-live .s-03-zoom-frame--relay .s-03-zoom-image--oij img { transform-origin: 51% 38%; scale: 1.5; }
.s-03-live .s-03-caption { grid-column: 1; grid-row: 1; margin: 0; }
.s-03-live .s-03-counter { display: flex; align-items: center; gap: var(--space-12); color: var(--color-text-secondary); margin-bottom: var(--space-28); font-weight: var(--font-weight-medium); }
.s-03-counter-rule { position: relative; width: var(--space-64); height: 1px; background: var(--color-hairline); overflow: hidden; }
.s-03-counter-rule > span { position: absolute; inset: 0; background: var(--color-ink); transform: scaleX(0); transform-origin: left; }
.s-03-current { color: var(--color-ink); }
.s-03-live .s-03-phrases { display: grid; grid-template-columns: minmax(0, 1fr); }
.s-03-live .s-03-phrase { grid-area: 1 / 1; will-change: transform, opacity; }
.s-03-live .s-03-phrase:not(.s-03-on) { pointer-events: none; }
/* The pulled-up stage overlaps the header's air: only its photo and copy take pointer events. */
.s-03-live .s-03-stage { pointer-events: none; }
.s-03-live .s-03-zoom, .s-03-live .s-03-caption { pointer-events: auto; }
/* Wide cards keep the evidence and the photograph together; no date axis. */
.s-03-carousel { --s-03-gutter: max(6.25vw, calc((100vw - var(--content-max)) / 2)); --s-03-card-width: min(87.5vw, 1100px); --s-03-role-size: var(--space-28); --s-03-role-leading: var(--space-32); padding-block: var(--section-padding-story) var(--space-64); background: var(--surface-1); scroll-margin-top: calc(var(--nav-h) + var(--space-24)); }
.s-03-gallery-header { margin-bottom: var(--section-header-gap); }
.s-03-gallery-header h3 { max-width: 17em; }
.s-03-viewport { width: var(--content-width); max-width: var(--content-max); margin-inline: auto; }
.s-03-viewport:focus:not(:focus-visible) { outline: none; }
/* 11-nov: el foco de teclado se pinta en la tarjeta activa, no como dos rayas a todo el ancho del carrusel. */
.s-03-viewport:focus-visible { outline: none; }
.s-03-viewport:focus-visible .s-03-slide.s-03-active .s-03-card { outline: var(--focus-ring); outline-offset: var(--space-4); }
.s-03-track { display: grid; gap: var(--space-32); }
.s-03-slide { min-width: 0; }
.s-03-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: var(--space-224); background: var(--surface-0); border-radius: var(--radius-card); overflow: clip; }
.s-03-card--text { grid-template-columns: minmax(0, 1fr); }
.s-03-card-media { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: var(--space-28); }
.s-03-card-image { display: block; width: 100%; overflow: hidden; border-radius: var(--radius-nav-float); }
.s-03-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s-03-card-media--consejo .s-03-card-image { aspect-ratio: 1284 / 1011; border-radius: var(--s-03-photo-radius); }
.s-03-card-media--consejo img { object-fit: contain; object-position: 50% 50%; }
.s-03-card-media--onu .s-03-card-image { aspect-ratio: 3 / 2; border-radius: var(--s-03-photo-radius); }
.s-03-card-media--onu img { object-fit: cover; object-position: 42% 30%; }
.s-03-card-media--parlacen .s-03-card-image { aspect-ratio: 1; max-width: 440px; margin-inline: auto; border-radius: var(--s-03-photo-radius); }
.s-03-card-media--parlacen img { object-fit: cover; object-position: 50% 40%; }
/* Cards without a photo with data: a typographic composition (big year + institution), never a weak photo. */
.s-03-card-media--tipo { padding: var(--space-28); }
.s-03-type { display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-20); width: 100%; height: 100%; min-height: var(--space-224); padding: var(--space-40); border-radius: var(--s-03-photo-radius); background: var(--surface-1); }
.s-03-type-year { font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: var(--type-display-size); line-height: var(--type-display-lh); letter-spacing: var(--type-display-ls); background-image: var(--grad-ink); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; width: fit-content; }
.s-03-type-rule { display: block; width: var(--space-48); height: 2px; border-radius: var(--radius-pill); background: var(--color-ink); }
.s-03-type-inst { color: var(--color-text-secondary); font-family: var(--font-display); font-size: var(--type-intro-size); line-height: var(--type-intro-lh); font-weight: var(--font-weight-medium); max-width: 14em; }
.s-03-card-media--habitat .s-03-card-image { aspect-ratio: 4 / 5; max-width: 360px; margin-inline: auto; }
.s-03-card-media--habitat img { object-position: 50% 42%; }
.s-03-card-media--malta .s-03-card-image { aspect-ratio: 4 / 3; border-radius: var(--s-03-photo-radius); }
.s-03-card-media--malta img { object-fit: cover; object-position: 50% 24%; }
.s-03-card-media--eslovaquia .s-03-card-image { aspect-ratio: 4 / 3; }
.s-03-card-media--eslovaquia img { object-fit: contain; object-position: 50% 50%; }
/* 11-nov: fotos en las tarjetas que iban solo con el año (sede de la ONU, Orden de Malta, SICA, Consejo de Seguridad). */
.s-03-card-media--adopcion .s-03-card-image, .s-03-card-media--sede .s-03-card-image, .s-03-card-media--orden .s-03-card-image, .s-03-card-media--sica .s-03-card-image, .s-03-card-media--sesion .s-03-card-image, .s-03-card-media--teon .s-03-card-image { aspect-ratio: 4 / 3; border-radius: var(--s-03-photo-radius); }
/* 12-nov: tarjeta 10, la etapa actual (TEON). */
.s-03-card-media--teon img { object-fit: cover; object-position: 100% 50%; transform: scale(1.036); transform-origin: 100% 100%; }
/* (the 3,6 % push from the lower right corner leaves out the line of small print that the photo itself cuts at its top edge; the «EarthX» sign stays whole) */
.s-03-card-media--sede img { object-fit: cover; object-position: 30% 50%; }
.s-03-card-media--adopcion img { object-fit: cover; object-position: 47% 60%; }
.s-03-card-media--orden img { object-fit: cover; object-position: 50% 50%; }
.s-03-card-media--sica img { object-fit: cover; object-position: 50% 20%; }
/* 12-nov: fotograma nuevo del Consejo (mira al frente); con 60 % su cara y la placa entera caben de 1,9:1 a 5:4. */
.s-03-card-media--sesion img { object-fit: cover; object-position: 60% 50%; }
.s-03-credit { color: var(--color-text-secondary); margin-top: var(--space-12); }
.s-03-card-copy { padding: var(--space-48); display: flex; flex-direction: column; align-items: flex-start; }
.s-03-number { color: var(--color-text-secondary); font-size: var(--type-small-size); line-height: var(--type-small-lh); margin-bottom: var(--space-28); }
.s-03-year { color: var(--color-ink); font-family: var(--font-display); font-size: var(--type-intro-size); line-height: var(--type-intro-lh); font-weight: var(--font-weight-semibold); margin-bottom: var(--space-8); }
.s-03-role { font-size: var(--s-03-role-size); line-height: var(--s-03-role-leading); font-weight: var(--font-weight-semibold); }
.s-03-description { color: var(--color-text-secondary); font-size: var(--type-body-size); line-height: var(--type-body-lh); margin-top: var(--space-20); }
.s-03-source-note { color: var(--color-text-secondary); margin-top: var(--space-8); font-size: var(--type-small-size); line-height: var(--type-small-lh); letter-spacing: var(--type-small-ls); }
/* A card without links anchors its source line at the bottom, like the button on the others. */
.s-03-description + .s-03-source-note { margin-top: auto; padding-top: var(--space-28); }
.s-03-links { display: flex; flex-wrap: wrap; gap: var(--space-12) var(--space-28); padding-top: var(--space-28); margin-top: auto; }
.s-03-link { display: inline-flex; align-items: center; gap: var(--space-4); min-height: var(--space-40); }
.s-03-link svg { flex-shrink: 0; }
.s-03-links--inline { display: block; }
.s-03-link--wrapping { display: inline; }
.s-03-link-tail { white-space: nowrap; }
.s-03-link-tail svg { display: inline-block; vertical-align: middle; }
.s-03-carousel.s-03-enhanced .s-03-viewport { width: 100%; max-width: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--s-03-gutter); scrollbar-width: none; touch-action: pan-y pinch-zoom; }
.s-03-carousel.s-03-enhanced .s-03-viewport::-webkit-scrollbar { display: none; }
.s-03-carousel.s-03-enhanced .s-03-track { display: flex; gap: var(--space-24); width: max-content; padding: var(--space-4) var(--s-03-gutter); padding-inline-end: calc(100vw - var(--s-03-card-width) - var(--s-03-gutter)); }
.s-03-carousel.s-03-enhanced .s-03-slide { width: var(--s-03-card-width); flex: 0 0 auto; scroll-snap-align: start; }
.s-03-carousel.s-03-enhanced .s-03-card { min-height: 560px; }
.s-03-controls { display: flex; justify-content: center; align-items: center; gap: var(--space-8); margin: var(--space-32) auto 0; width: fit-content; padding: var(--space-8); border-radius: var(--radius-pill-track); background: var(--color-control-gray); }
.s-03-dots { display: flex; align-items: center; padding-inline: var(--space-8); }
/* Each dot is a button: 44 px tall, 28 px apart, its tap area widened to 44 px with ::before (a neighbour never covers a dot's centre). */
.s-03-dot { position: relative; display: flex; align-items: center; justify-content: center; width: var(--space-28); height: calc(var(--space-40) + var(--space-4)); padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--radius-pill); }
.s-03-dot::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--space-8)); }
.s-03-dot.s-03-active { width: calc(var(--space-48) + var(--space-20)); }
.s-03-dot:focus:not(:focus-visible) { outline: none; }
.s-03-dot:focus-visible { outline: var(--focus-ring); outline-offset: calc(-1 * var(--space-8)); }
.s-03-dot-bar { display: block; width: var(--space-8); height: var(--space-8); border-radius: var(--radius-pill); background: var(--color-steel); overflow: hidden; }
.s-03-dot.s-03-active .s-03-dot-bar { width: var(--space-48); background: var(--surface-0); }
.s-03-dot:hover .s-03-dot-bar { background: var(--color-text-secondary); }
.s-03-dot.s-03-active:hover .s-03-dot-bar { background: var(--surface-0); }
.s-03-dot-bar > span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--color-ink); border-radius: inherit; }
.s-03-pause { min-width: var(--space-96); min-height: var(--space-48); padding-inline: var(--space-16); border-radius: var(--radius-pill); display: flex; justify-content: center; align-items: center; gap: var(--space-8); background: var(--surface-0); }
.s-03-pause:hover { background: var(--surface-2); }
.s-03-pause svg { flex-shrink: 0; }
.s-03-play-icon { display: none; }
.s-03-pause[aria-pressed="true"] .s-03-play-icon { display: block; }
.s-03-pause[aria-pressed="true"] .s-03-pause-icon { display: none; }
/* End of the section: the fine line under the gallery draws itself from the centre (it was the line under «Hoy», which moved to 04b). */
.s-03-end { padding-block: var(--space-64) 0; }
.s-03-hinge { display: block; height: 1px; background: var(--color-hairline); transform-origin: 50% 50%; }
/* 02→03 bridge: the title's second line travels in from the 02 signature (FLIP, transform/opacity only). */
.s-03-bridge, .s-03-lead { display: inline-block; }
.s-03-lead-line { display: block; }
@media (max-width: 1068px) {
  .s-03-trayectoria { --s-03-phrase-size: var(--space-32); }
  .s-03-phrases { grid-template-columns: minmax(0, 1fr); max-width: 40em; }
  .s-03-live .s-03-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-40); }
  .s-03-card-copy { padding: var(--space-32); }
  .s-03-carousel.s-03-enhanced .s-03-card { min-height: 520px; }
}
@media (max-width: 734px) {
  /* Mobile entry: compact, the photo arrives right after «Ver los cargos». */
  .s-03-trayectoria { padding-top: var(--space-64); }
  .s-03-header { padding-bottom: var(--space-24); }
  .s-03-carousel { padding-top: var(--space-40); }
  .s-03-title { font-size: var(--type-headline-size); line-height: var(--type-headline-lh); letter-spacing: var(--type-headline-ls); }
  .s-03-title br { display: none; }
  .s-03-trayectoria { --s-03-phrase-size: var(--space-28); --s-03-photo-radius: 16px; --s-03-credit-h: var(--space-32); }
  .s-03-caption { margin-top: var(--space-40); }
  /* Mobile scene: big photo at 20 px margins just under the nav; counter and phrase below it, never over it. */
  /* Centred in the useful height (between the nav and the bottom edge): equal air above and below. */
  .s-03-live .s-03-layout { height: 100%; width: 100%; max-width: none; padding: var(--nav-h) var(--space-20) 0; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; }
  .s-03-live .s-03-zoom { max-width: none; }
  .s-03-live .s-03-zoom-frame { aspect-ratio: 4 / 3; }
  .s-03-live .s-03-zoom-image img { transform-origin: 36% 6%; }
  .s-03-live .s-03-zoom-credit { margin-top: var(--space-8); }
  .s-03-live .s-03-caption { margin-top: var(--space-20); padding-inline: max(0px, calc(6.25vw - var(--space-20))); }
  .s-03-live .s-03-counter { margin-bottom: var(--space-12); }
  .s-03-live { --s-03-phrase-size: var(--space-24); --s-03-phrase-leading: 1.16; }
  .s-03-live .s-03-press { margin-top: var(--space-16); padding-top: var(--space-12); }
  .s-03-live .s-03-press-quote { font-size: var(--space-20); }
  .s-03-live .s-03-proof { margin-top: var(--space-4); }
  .s-03-live .s-03-phrase-detail { margin-top: var(--space-12); }
  .s-03-step { margin-bottom: var(--space-16); }
  .s-03-phrase-detail { font-size: var(--type-body-size); line-height: var(--type-body-lh); letter-spacing: var(--type-body-ls); margin-top: var(--space-16); }
  .s-03-press-quote { font-size: var(--type-title-size); }
  .s-03-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: max-content 1fr; }
  .s-03-card-media { padding: var(--space-20) var(--space-20) 0; }
  .s-03-card-media--consejo { justify-content: flex-start; padding-top: var(--space-24); }
  .s-03-card-image { border-radius: var(--radius-nav-float); }
  .s-03-card-media--habitat .s-03-card-image { max-width: 220px; }
  .s-03-card-copy { padding: var(--space-24); }
  .s-03-number { margin-bottom: var(--space-20); }
  .s-03-description { margin-top: var(--space-16); }
  .s-03-carousel.s-03-enhanced .s-03-card { min-height: 680px; height: 100%; }
  .s-03-carousel.s-03-enhanced .s-03-track { align-items: stretch; gap: var(--space-16); }
  .s-03-carousel.s-03-enhanced .s-03-slide { width: 87.5vw; }
  /* Mobile cards: 20 px gutters with a deliberate 32 px peek of the next card; every photo fills the card at 4:3 with 16 px corners;
     the card is as tall as the tallest content (flex stretch), never a fixed height. */
  .s-03-carousel { --s-03-gutter: var(--space-20); --s-03-card-width: calc(100vw - var(--space-64)); }
  .s-03-carousel.s-03-enhanced .s-03-track { gap: var(--space-12); }
  .s-03-carousel.s-03-enhanced .s-03-slide { width: var(--s-03-card-width); display: flex; }
  .s-03-carousel.s-03-enhanced .s-03-card { min-height: 0; height: auto; flex: 1 1 auto; }
  .s-03-card { display: flex; flex-direction: column; }
  .s-03-card-media, .s-03-card-media--consejo { display: block; padding: var(--space-16) var(--space-16) 0; }
  .s-03-card-media .s-03-card-image, .s-03-card-media--habitat .s-03-card-image { width: 100%; max-width: none; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--s-03-photo-radius); }
  .s-03-card-media .s-03-card-image img { object-fit: cover; }
  .s-03-card-media--consejo img { object-position: 50% 80%; }
  .s-03-card-media--habitat img { object-position: 50% 20%; }
  .s-03-card-media--malta img { object-position: 50% 24%; }
  .s-03-card-media--eslovaquia img { object-position: 50% 50%; }
  .s-03-card-media .s-03-credit { margin-top: var(--space-8); }
  .s-03-card-copy { padding: var(--space-20) var(--space-16) var(--space-24); }
  .s-03-number { margin-bottom: var(--space-12); }
  .s-03-description { margin-top: var(--space-12); }
  .s-03-links { margin-top: 0; padding-top: var(--space-16); }
  /* Mobile controls: icon-only Pause (its aria-label names it), so dots + Pause fit 320 with air. */
  .s-03-pause { min-width: var(--space-48); width: var(--space-48); padding: 0; }
  .s-03-pause-label { display: none; }
  .s-03-end { padding-top: var(--space-40); }
  .s-03-trayectoria.s-03-after-band { padding-top: var(--space-32); }
  .s-03-intro { margin-top: var(--space-16); }
  /* Nine dots + Pause fit 390 (and 320 below) with air. */
  .s-03-dot { width: var(--space-20); }
  .s-03-dot::before { inset: 0 calc(-1 * var(--space-4)); }
  .s-03-dot.s-03-active { width: var(--space-40); }
  .s-03-dot.s-03-active .s-03-dot-bar { width: var(--space-28); }
  .s-03-dot-bar { width: 6px; height: 6px; }
  .s-03-dot.s-03-active .s-03-dot-bar { height: 6px; }
  .s-03-type { min-height: 0; aspect-ratio: 4 / 3; padding: var(--space-24); gap: var(--space-12); }
  .s-03-type-year { font-size: var(--type-headline-size); line-height: var(--type-headline-lh); letter-spacing: var(--type-headline-ls); }
  .s-03-type-inst { font-size: 17px; line-height: 1.35; }
  /* Common card height (the tallest): the button and its source line sit at the bottom, as at 1440;
     a card without photo lets its big-year panel take the spare height, so no card shows an empty band. */
  .s-03-card-copy { flex: 0 0 auto; }
  .s-03-card:has(.s-03-links) .s-03-card-copy { flex: 1 1 auto; }
  .s-03-card-copy .s-03-links { margin-top: auto; }
  .s-03-card-media--tipo { flex: 1 1 auto; display: flex; }
  .s-03-card-media--tipo .s-03-type { aspect-ratio: auto; min-height: calc((100vw - var(--space-64) - var(--space-32)) * .75); height: auto; flex: 1 1 auto; }
  .s-03-card-media--parlacen .s-03-card-image { max-width: none; }
  .s-03-card-media--parlacen img { object-position: 50% 10%; }
  .s-03-card-media--teon img { object-position: 100% 0%; }
  .s-03-card-media--sesion img { object-position: 64% 50%; }
  /* Phones: the stage captions drop their lead-in so none is longer than the two lines the scene always had. */
  .s-03-credit-more { display: none; }
  .s-03-card-media--onu img { object-position: 42% 30%; }
  .s-03-year { font-size: 17px; line-height: 1.35; margin-bottom: var(--space-4); }
}
@media (max-width: 734px) and (max-height: 720px) {
  /* Short phones: a 3:2 frame and a smaller phrase keep the scene pinned instead of static. */
  .s-03-live .s-03-zoom-frame { aspect-ratio: 3 / 2; }
  .s-03-live .s-03-zoom-image img { transform-origin: 40% 6%; }
  .s-03-live .s-03-caption { margin-top: var(--space-16); }
  .s-03-live .s-03-counter { margin-bottom: var(--space-8); }
  .s-03-live { --s-03-phrase-size: var(--space-20); --s-03-phrase-leading: 1.2; }
  .s-03-live .s-03-phrase-detail { font-size: 15px; line-height: 1.4; margin-top: var(--space-8); }
  .s-03-live .s-03-press { margin-top: var(--space-12); padding-top: var(--space-8); }
  .s-03-live .s-03-press-source a { min-height: var(--space-24); }
  .s-03-live .s-03-press-quote { font-size: 17px; }
  .s-03-live .s-03-proof { min-height: var(--space-32); }
}
@media (max-width: 360px) {
  .s-03-card-copy { padding: var(--space-24) var(--space-20); }
  .s-03-card-media { padding-inline: var(--space-16); }
  .s-03-dots { padding-inline: var(--space-4); }
  .s-03-dot { width: 18px; }
  .s-03-carousel { --s-03-role-size: var(--space-24); --s-03-role-leading: var(--space-28); }
  .s-03-description { font-size: 15px; line-height: 1.47; }
  .s-03-links { font-size: 15px; }
  .s-03-dot::before { inset: 0 calc(-1 * var(--space-4)); }
  .s-03-dot.s-03-active { width: calc(var(--space-32) + var(--space-4)); }
  .s-03-dot.s-03-active .s-03-dot-bar { width: var(--space-24); }
}
@media (prefers-reduced-motion: reduce) {
  .s-03-scene.s-03-live { height: auto; }
  .s-03-live .s-03-stage { position: relative; height: auto; }
  .s-03-zoom-frame, .s-03-zoom-image img, .s-03-zoom-credit, .s-03-phrase { transform: none !important; opacity: 1 !important; }
  .s-03-zoom-image { clip-path: none !important; visibility: visible !important; }
  .s-03-zoom-frame--relay .s-03-zoom-image:not(:last-child), .s-03-zoom-credit--relay .s-03-credit-item:not(:last-child) { display: none !important; }
  .s-03-credit-item, .s-03-lead, .s-03-bridge, .s-03-eyebrow, .s-03-intro, .s-03-skip { opacity: 1 !important; transform: none !important; }
  .s-03-controls { display: none; }
}
@media print {
  .s-03-phrase-title, .s-03-role { -webkit-text-fill-color: var(--color-ink); }
  .s-03-scene.s-03-live { height: auto; }
  .s-03-live .s-03-stage { position: relative; height: auto; }
  .s-03-zoom-frame, .s-03-zoom-image img, .s-03-zoom-credit, .s-03-phrase { transform: none !important; opacity: 1 !important; }
  .s-03-zoom-image { clip-path: none !important; visibility: visible !important; }
  .s-03-zoom-frame--relay .s-03-zoom-image:not(:last-child), .s-03-zoom-credit--relay .s-03-credit-item:not(:last-child) { display: none !important; }
  .s-03-credit-item, .s-03-lead, .s-03-bridge, .s-03-eyebrow, .s-03-intro, .s-03-skip { opacity: 1 !important; transform: none !important; }
  .s-03-carousel.s-03-enhanced .s-03-viewport { width: 100%; overflow: visible; }
  .s-03-carousel.s-03-enhanced .s-03-track { display: grid; width: 100%; padding: 0; }
  .s-03-carousel.s-03-enhanced .s-03-slide { width: 100%; break-inside: avoid; }
  .s-03-carousel.s-03-enhanced .s-03-card { min-height: 0; }
  .s-03-controls, .s-03-skip { display: none; }
}
/* Peeking images remain visible; clipped copies are absent from focus and AT. */
@media screen {
  .s-03-carousel.s-03-enhanced .s-03-slide:not(.s-03-active) { visibility: hidden; }
  .s-03-carousel.s-03-enhanced .s-03-slide:not(.s-03-active) .s-03-card-media { visibility: visible; }
  .s-03-carousel.s-03-enhanced .s-03-slide:not(.s-03-active) .s-03-credit { visibility: hidden; }
  /* A peeking neighbour without photo shows its panel, not its letters (no text cut by the screen edge). */
  .s-03-carousel.s-03-enhanced .s-03-slide:not(.s-03-active) .s-03-type > * { visibility: hidden; }
}
/* On a card without photo the big year already reads in the panel (aria-hidden): the copy's year stays for screen readers only. */
.s-03-card:has(.s-03-card-media--tipo) .s-03-year { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* D-06 (FX3): on phones every card fits one screen. Photo and typographic panel share ONE contained height;
   the panel without photo composes its big year and institution centred inside it; copy below, source and button at the bottom. */
@media (max-width: 734px) {
  .s-03-carousel { --s-03-media-h: clamp(150px, 24svh, 180px); }
  .s-03-card-media .s-03-card-image, .s-03-card-media--habitat .s-03-card-image { aspect-ratio: auto; height: var(--s-03-media-h); }
  .s-03-card-media--tipo { flex: 0 0 auto; display: block; }
  .s-03-card-media--tipo .s-03-type { aspect-ratio: auto; min-height: 0; height: var(--s-03-media-h); flex: none; justify-content: center; align-items: flex-start; gap: var(--space-12); padding: var(--space-24) var(--space-28); }
  .s-03-card .s-03-card-copy { flex: 1 1 auto; padding: var(--space-16) var(--space-16) var(--space-20); }
  .s-03-number { margin-bottom: var(--space-8); }
  .s-03-description { margin-top: var(--space-8); }
  .s-03-card-copy .s-03-source-note { margin-top: var(--space-8); }
  .s-03-description + .s-03-source-note { margin-top: auto; padding-top: var(--space-16); }
  .s-03-card-copy .s-03-links { margin-top: auto; padding-top: var(--space-12); }
  /* Each card as tall as its own content (no stretched empty band); the tallest stays under one screen. */
  .s-03-carousel.s-03-enhanced .s-03-track { align-items: flex-start; }
  .s-03-carousel.s-03-enhanced .s-03-slide { align-self: flex-start; }
  .s-03-carousel { --s-03-role-size: 22px; --s-03-role-leading: 27px; }
  .s-03-description { font-size: 15px; line-height: 21px; letter-spacing: -.01em; }
  .s-03-source-note { font-size: 12px; line-height: 16px; }
  .s-03-card-media .s-03-credit { margin-top: var(--space-4); font-size: 12px; line-height: 16px; }
}
/* 12-nov (X3C) · Phones: no empty grey band under a short card. Every card is as tall as the tallest one and the
   PHOTO of a short-text card takes the spare height, up to the tallest box that photo accepts (measured per photo:
   faces and plates stay whole). The figure dissolves (display: contents) so photo, caption and copy share the card's
   column: the photo grows first, and only what is left over goes to the copy, whose button stays at the bottom as at 1440. */
@media (max-width: 734px) {
  .s-03-carousel.s-03-enhanced { --s-03-photo-w: calc(100vw - var(--space-64) - var(--space-32)); }
  .s-03-carousel.s-03-enhanced .s-03-track { align-items: stretch; }
  .s-03-carousel.s-03-enhanced .s-03-slide { align-self: stretch; }
  .s-03-carousel.s-03-enhanced .s-03-card-media, .s-03-carousel.s-03-enhanced .s-03-card-media--consejo { display: contents; }
  .s-03-carousel.s-03-enhanced .s-03-card-media .s-03-card-image { position: relative; flex: 1000 1 var(--s-03-media-h); width: auto; height: auto; min-height: var(--s-03-media-h); max-height: max(var(--s-03-media-h), calc(var(--s-03-photo-w) * var(--s-03-media-ratio, .6667))); margin: var(--space-16) var(--space-16) 0; }
  .s-03-carousel.s-03-enhanced .s-03-card-media .s-03-card-image img { position: absolute; inset: 0; }
  .s-03-carousel.s-03-enhanced .s-03-card-media .s-03-credit { flex: 0 0 auto; margin-inline: var(--space-16); }
  .s-03-carousel.s-03-enhanced .s-03-card .s-03-card-copy { flex: 1 1 auto; }
  /* Tallest box of each photo, as height ÷ width. */
  .s-03-carousel.s-03-enhanced .s-03-card-media--sede { --s-03-media-ratio: 1.25; }
  .s-03-carousel.s-03-enhanced .s-03-card-media--consejo, .s-03-carousel.s-03-enhanced .s-03-card-media--habitat, .s-03-carousel.s-03-enhanced .s-03-card-media--sica { --s-03-media-ratio: .75; }
  .s-03-carousel.s-03-enhanced .s-03-card-media--eslovaquia { --s-03-media-ratio: .83; }
  .s-03-carousel.s-03-enhanced .s-03-card-media--sesion { --s-03-media-ratio: .94; }
  .s-03-carousel.s-03-enhanced .s-03-card-media--orden, .s-03-carousel.s-03-enhanced .s-03-card-media--parlacen, .s-03-carousel.s-03-enhanced .s-03-card-media--teon { --s-03-media-ratio: 1; }
}
/* 16-nov (RECO-MOVIL, auditoría #8) · Phones, 03 → 01: the gallery's grey ended on a straight edge, then a fine
   line and ~100 px of white before «De dónde viene» («se acabó una web y empieza otra»). Now the grey melts into the
   white over its last 120 px, the pill sits 16 px under the card, and the closing line is not drawn (it is the
   hand-over to 04, which is not the next section here). Desktop unchanged. */
@media (max-width: 734px) {
  .s-03-before-origen .s-03-carousel { padding-bottom: var(--space-40); background: linear-gradient(to bottom, var(--surface-1) 0, var(--surface-1) calc(100% - 120px), var(--surface-0) 100%); }
  .s-03-before-origen .s-03-controls { margin-top: var(--space-16); }
  .s-03-before-origen .s-03-end { display: none; }
  /* Ronda 2 · the gallery rises over the empty strip under the pinned scene (margin set by section.js). */
  .s-03-carousel { position: relative; z-index: 1; }
}
/* Ronda 2 (16-nov) · 320 px: five cards kept 95-139 px empty above their button (the card is as tall as the tallest
   and the photo stopped at its cap). At ≤ 360 px the photo takes ALL the spare height (cover, same focal points), so
   the copy sits right under it and the button at the foot, with no white band inside the card. */
@media (max-width: 360px) {
  .s-03-carousel.s-03-enhanced .s-03-card-media .s-03-card-image { max-height: none; }
}
/* 14-nov · Header height (owner: «esta sección no está muy grande»): on desktop the intro runs on one line
   and the gaps tighten, so the header stands about as tall as in the approved version. Type sizes unchanged. */
@media (min-width: 1069px) {
  .s-03-header { padding-bottom: var(--space-40); }
  .s-03-eyebrow { margin-bottom: var(--space-16); }
  .s-03-intro { max-width: 56em; margin-top: var(--space-16); }
  .s-03-skip { margin-top: var(--space-12); }
}

/* ==== sections/01-origen ==== */
/* 01 · De dónde viene · historia en escena fija (sticky) con profundidad.
   Sin JS / movimiento reducido / impresión: cabecera + dos bloques foto+texto apilados.
   Con JS (.s-01-on en el escenario): una sola escena fija; section.js coloca cada pieza
   en px y la mueve solo con transform/opacity. Créditos siempre DEBAJO de la foto. */
.s-01-origen { --s-01-r: 22px; --s-01-photo-h: clamp(420px, 66svh, 680px); --s-01-scene-gap: var(--space-128); }
.s-01-intro { padding-block: var(--space-96) var(--space-64); text-align: center; }
.s-01-eyebrow { margin: 0; color: var(--color-text-secondary); }
.s-01-title { margin: var(--space-12) 0 0; font-size: clamp(48px, 5.6vw, 80px); line-height: 1.03; letter-spacing: -.035em; text-wrap: balance; }
.s-01-title > span { display: block; }

.s-01-portrait { display: none; }

.s-01-scenes { list-style: none; margin-block: 0; padding: 0 0 var(--space-128); display: grid; gap: var(--s-01-scene-gap); }
.s-01-scene { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--element-gap); }
.s-01-figure { grid-column: 1 / -1; margin: 0; }
.s-01-media { position: relative; height: var(--s-01-photo-h); border-radius: var(--s-01-r); overflow: hidden; background: var(--surface-1); isolation: isolate; }
.s-01-image, .s-01-image picture, .s-01-image img { display: block; width: 100%; height: 100%; }
.s-01-image { transform-origin: 50% 55%; }
.s-01-image img { object-fit: cover; }
.s-01-scene--manzanares .s-01-image img { object-position: 50% 42%; }
.s-01-scene--escorial { --s-01-photo-h: clamp(460px, 76svh, 780px); }
.s-01-scene--escorial .s-01-image img { object-position: 50% 55%; }

.s-01-credit { margin: 0; padding-top: var(--space-12); color: var(--color-text-secondary); font-size: 11px; line-height: 1.3; letter-spacing: 0; text-align: right; overflow-wrap: anywhere; }
.s-01-credit a { color: inherit; text-decoration: underline; text-decoration-color: var(--color-hairline); text-underline-offset: .18em; }
.s-01-credit a:hover { color: var(--color-ink); text-decoration-color: currentColor; }

.s-01-text { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: start; margin-top: var(--space-24); padding-top: var(--space-28); border-top: 1px solid var(--color-hairline); }
.s-01-meta { grid-column: 1 / span 4; display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-16); row-gap: var(--space-4); margin: 0; padding-top: 6px; }
.s-01-index { grid-row: 1 / span 2; color: var(--color-steel); padding-top: 3px; white-space: nowrap; }
.s-01-place { font-family: var(--font-display); font-size: var(--type-callout-size); line-height: var(--type-callout-lh); font-weight: var(--font-weight-semibold); color: var(--color-ink); }
.s-01-where { font-size: var(--type-small-size); line-height: var(--type-small-lh); color: var(--color-text-secondary); }
.s-01-copy { grid-column: 5 / -1; margin: 0; font-family: var(--font-display); font-size: clamp(32px, 3.05vw, 44px); line-height: 1.1; font-weight: var(--font-weight-semibold); letter-spacing: -.026em; color: var(--color-ink); text-wrap: balance; max-width: 22ch; }
.s-01-copy span { display: block; }

@media (max-width: 1068px) {
  .s-01-origen { --s-01-photo-h: clamp(380px, 56svh, 560px); --s-01-scene-gap: var(--space-96); }
  .s-01-scene--escorial { --s-01-photo-h: clamp(420px, 64svh, 640px); }
}
@media (max-width: 734px) {
  .s-01-origen, .s-01-stage { --s-01-r: 16px; }
  .s-01-origen, .s-01-scene--escorial { --s-01-photo-h: min(118vw, 54svh, 480px); }
  .s-01-origen { --s-01-scene-gap: var(--space-80); }
  .s-01-intro { padding-block: var(--space-64) var(--space-40); }
  .s-01-title { font-size: clamp(36px, 10.4vw, 48px); line-height: 1.04; }
  .s-01-scenes { padding-bottom: var(--space-96); }
  .s-01-scene, .s-01-text { grid-template-columns: minmax(0, 1fr); }
  .s-01-text { margin-top: var(--space-16); padding-top: var(--space-20); row-gap: var(--space-12); }
  .s-01-meta, .s-01-copy { grid-column: 1; }
  .s-01-meta { padding-top: 0; }
  .s-01-copy { font-size: clamp(24px, 7.2vw, 28px); line-height: 1.12; max-width: none; }
  .s-01-credit { padding-top: var(--space-8); font-size: 10px; }
  .s-01-scene--manzanares .s-01-image img { object-position: 52% 45%; }
  .s-01-scene--escorial .s-01-image img { object-position: 42% 50%; }
}

/* ===== Escena fija (solo con JS y movimiento normal) ===== */
.s-01-origen.s-01-scened { height: calc(var(--s-01-stage-h, 100svh) + var(--s-01-track, 230svh)); }
.s-01-origen.s-01-joined { z-index: 3; background: transparent; margin-top: calc(-1 * var(--s-01-stage-h, 100svh)); }
.s-01-stage { --s-01-r: 22px; }
.s-01-stage.s-01-on { position: sticky; top: var(--nav-h); height: var(--s-01-stage-h, calc(100svh - var(--nav-h))); overflow: clip; background: var(--surface-0); }
.s-01-joined:not(.s-01-live) .s-01-stage.s-01-on { opacity: 0; pointer-events: none; }
.s-01-on .s-01-intro, .s-01-on .s-01-portrait, .s-01-on .s-01-figure, .s-01-on .s-01-text { position: absolute; margin: 0; }
.s-01-on .s-01-intro { padding: 0; text-align: left; }
.s-01-on .s-01-title { margin-top: var(--space-8); font-size: clamp(36px, 3.4vw, 52px); line-height: 1.04; letter-spacing: -.03em; }
.s-01-on .s-01-title > span { display: inline; }
.s-01-on .s-01-scenes { position: absolute; inset: 0; width: auto; max-width: none; margin: 0; padding: 0; display: block; }
.s-01-on .s-01-scene { position: absolute; inset: 0; display: block; pointer-events: none; }
.s-01-on .s-01-figure, .s-01-on .s-01-text { pointer-events: auto; will-change: transform, opacity; }
.s-01-on .s-01-media { height: var(--s-01-media-h, 400px); }
.s-01-on .s-01-image { will-change: transform; }
.s-01-on .s-01-credit { padding-top: 10px; }
.s-01-on .s-01-text { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--element-gap); padding-top: var(--space-20); }
.s-01-on .s-01-meta { grid-column: 1; }
.s-01-on .s-01-copy { grid-column: 2; font-size: clamp(26px, 2.5vw, 38px); max-width: 24ch; }
.s-01-on .s-01-scene--escorial .s-01-copy { max-width: 30ch; }
/* Retrato: misma foto y mismo encuadre que el inicio (multiplicada sobre una tarjeta gris). */
.s-01-on .s-01-portrait { display: block; border-radius: var(--s-01-r); overflow: hidden; background: var(--surface-1); isolation: isolate; will-change: transform, opacity; }
.s-01-portrait-img, .s-01-portrait-img img { display: block; width: 100%; height: 100%; }
.s-01-portrait-img { mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); }
.s-01-portrait-img img { object-fit: cover; object-position: 50% 10%; }
.s-01-on.s-01-solo .s-01-portrait { display: none; }
@media (max-width: 734px) {
  .s-01-on .s-01-title { font-size: clamp(28px, 8.4vw, 36px); }
  .s-01-on .s-01-title > span { display: block; }
  .s-01-on .s-01-text { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-8); padding-top: var(--space-12); }
  .s-01-on .s-01-meta, .s-01-on .s-01-copy { grid-column: 1; }
  .s-01-on .s-01-copy { font-size: clamp(20px, 6.2vw, 26px); max-width: none; }
  .s-01-on .s-01-credit { padding-top: 6px; }
}

@media (prefers-reduced-motion: reduce), print {
  .s-01-image { transform: none !important; }
}
@media print {
  .s-01-origen, .s-01-scene--escorial { --s-01-photo-h: 300px; }
  .s-01-origen { --s-01-scene-gap: var(--space-32); }
  .s-01-intro { padding-block: var(--space-32); }
  .s-01-scene { break-inside: avoid; }
  .s-01-copy { font-size: var(--type-title-size); }
}
/* Mismo encuadre que el retrato del inicio (imagen alargada un 13 % y subida). */
.s-01-portrait-img img { position: relative; top: -13%; height: 113%; }

/* Vuelta 3: titular por escena (Manzanares el Real → «Su voz empezó en El Escorial.»),
   cambiado en la misma transición; el nombre del lugar ya no se repite bajo la foto. */
.s-01-head1 { display: none; }
.s-01-on .s-01-heads { display: grid; }
.s-01-on .s-01-heads > .s-01-title { grid-area: 1 / 1; will-change: transform, opacity; }
.s-01-on .s-01-head1 { display: none; } /* D-10: no es titular */
.s-01-on .s-01-place { display: none; }
.s-01-on .s-01-meta { grid-template-columns: auto; row-gap: var(--space-4); }
.s-01-on .s-01-index { grid-row: auto; padding-top: 0; }
.s-01-on .s-01-copy { font-size: clamp(24px, 2.1vw, 32px); max-width: 34ch; }
.s-01-on .s-01-scene--escorial .s-01-copy { max-width: 34ch; }
@media (max-width: 734px) {
  .s-01-on .s-01-meta { grid-template-columns: auto 1fr; column-gap: var(--space-12); }
  .s-01-on .s-01-copy { font-size: clamp(20px, 5.8vw, 24px); }
}
/* Mismo fundido lateral que el retrato del inicio. */
.s-01-portrait-img {
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%), linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%), linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
@media (max-width: 734px) {
  .s-01-portrait-img { -webkit-mask-image: linear-gradient(to bottom, #000 66%, rgba(0,0,0,.75) 78%, rgba(0,0,0,.35) 88%, rgba(0,0,0,.1) 95%, transparent 100%), linear-gradient(to right, transparent 0, rgba(0,0,0,.12) 5%, rgba(0,0,0,.4) 11%, rgba(0,0,0,.75) 18%, #000 26%, #000 74%, rgba(0,0,0,.75) 82%, rgba(0,0,0,.4) 89%, rgba(0,0,0,.12) 95%, transparent 100%); mask-image: linear-gradient(to bottom, #000 66%, rgba(0,0,0,.75) 78%, rgba(0,0,0,.35) 88%, rgba(0,0,0,.1) 95%, transparent 100%), linear-gradient(to right, transparent 0, rgba(0,0,0,.12) 5%, rgba(0,0,0,.4) 11%, rgba(0,0,0,.75) 18%, #000 26%, #000 74%, rgba(0,0,0,.75) 82%, rgba(0,0,0,.4) 89%, rgba(0,0,0,.12) 95%, transparent 100%); }
}

/* Salida 01→02 «de la foto a la línea»: el 01 se solapa con el arranque del 02 (margen
   negativo medido en JS) y su escenario se vuelve transparente (velo blanco con opacidad)
   para que el 02 suba por debajo mientras el marco queda en una barra de 2 px. */
.s-01-origen.s-01-scened { position: relative; z-index: 3; background: transparent; margin-bottom: calc(-1 * var(--s-01-overlap, 0px)); }
.s-01-stage.s-01-on { background: transparent; }
.s-01-stage.s-01-on::before { content: ""; position: absolute; inset: 0; background: var(--surface-0); opacity: var(--s-01-veil, 1); pointer-events: none; }

/* Portada nueva (8-nov): el marco del retrato recibe el recorte de Daniel saludando sobre
   su fondo neutro, con el mismo encuadre que el inicio (proporción del recorte, apoyado
   abajo) y la cintura fundida, así el relevo 00→01 sigue sin salto. */
.s-01-portrait-img img { top: 0; height: 100%; object-fit: cover; object-position: 98% 100%; }
.s-01-portrait-img { -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, rgba(0,0,0,.6) 86%, rgba(0,0,0,.18) 93%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 76%, rgba(0,0,0,.6) 86%, rgba(0,0,0,.18) 93%, transparent 98%); }
@media (max-width: 734px) {
  .s-01-portrait-img {
    -webkit-mask-image: linear-gradient(to bottom, #000 76%, rgba(0,0,0,.6) 86%, rgba(0,0,0,.18) 93%, transparent 98%);
    mask-image: linear-gradient(to bottom, #000 76%, rgba(0,0,0,.6) 86%, rgba(0,0,0,.18) 93%, transparent 98%); }
}

/* 16-nov (RECO-MOVIL) · Móvil: el pie de El Escorial sobre la foto a sangre (section.js pone .s-01-sobre).
   Blanco sobre un degradado oscuro que nace en el borde inferior de la foto y nunca baja de él. */
@media (max-width: 734px) {
  .s-01-on .s-01-text.s-01-sobre { border-top-color: rgba(255,255,255,.35); }
  .s-01-on .s-01-sobre .s-01-copy, .s-01-on .s-01-sobre .s-01-index, .s-01-on .s-01-sobre .s-01-where { color: #fff; }
  .s-01-on .s-01-sobre .s-01-index, .s-01-on .s-01-sobre .s-01-where { color: rgba(255,255,255,.82); }
  .s-01-on .s-01-sobre::before { content: ""; position: absolute; left: -16px; right: -16px; bottom: -20px; height: calc(100% + 150px); z-index: -1; pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,.62) 0, rgba(0,0,0,.5) 40%, rgba(0,0,0,.22) 72%, rgba(0,0,0,0) 100%); }
}
/* X3A (12-nov) · ordenador, escena propia (.s-01-wide lo pone section.js cuando la sección va sola, sin el retrato).
   El Escorial se encuadra más arriba: con el travelling (foto un 5-10 % mayor que su marco) la cúpula queda entera. */
.s-01-wide .s-01-scene--escorial .s-01-image img { object-position: 50% 42%; }
.s-01-wide .s-01-media { will-change: clip-path; }
.s-01-wide .s-01-eyebrow, .s-01-wide .s-01-heads > .s-01-title { will-change: transform, opacity; }

/* ==== sections/02-jovenes ==== */
/* 02 · a typographic pause: statement, evidence, then the words behind it. */
/* 01→02: no top cushion; the Escorial bar of 01 hands over to the title. */
.s-02-jovenes { padding-block: var(--space-32) calc(var(--section-padding-story) * 0.5); }
/* The quote closes the section: the next section's own top space is the pause. */
.s-02-timeline { position: absolute; top: -100vh; height: calc(100% + 100vh); width: 1px; pointer-events: none; }
.s-02-content { position: relative; }
/* Base reserves nav + 12px; local targets add 52px (64px clear below nav). */
.s-02-title, .s-02-source, .s-02-document, .s-02-skip { scroll-margin-top: var(--space-52); }
.s-02-heading { text-align: center; }
.s-02-eyebrow { color: var(--color-text-secondary); margin-bottom: var(--space-24); }
.s-02-controls { display: flex; align-items: center; justify-content: center; gap: var(--space-16); margin-top: var(--space-28); }
.s-02-progress { width: var(--space-80); height: calc(var(--space-4) / 2); background: var(--color-hairline); overflow: hidden; }
.s-02-progress-fill { display: block; width: 100%; height: 100%; background: var(--color-text-secondary); transform-origin: left center; transform: scaleX(var(--s-02-progress, 1)); }
.s-02-skip { padding: var(--space-4) var(--space-8); color: var(--color-text-secondary); min-height: var(--space-32); }
.s-02-skip:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.s-02-skip:disabled { cursor: default; text-decoration: none; }
.s-02-title { font-size: calc(var(--type-hero-size) * 1.5); line-height: var(--type-hero-lh); letter-spacing: var(--type-hero-ls); }
.s-02-line { display: block; }
.s-02-title-row { display: block; }
.s-02-title-row .s-02-line { display: inline-block; }
/* One line on desktop: the sentence measures ~40em. */
.s-02-lead { max-width: 42em; margin: 0 auto var(--space-20); opacity: 1; color: var(--color-text-secondary); color: color-mix(in srgb, var(--color-text-secondary), var(--color-steel) var(--s-02-muted, 0%)); }
.s-02-intro { max-width: calc(var(--content-max) * 0.52); margin: var(--space-40) auto 0; }
.s-02-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--space-96); padding-block: var(--space-52); border-top: 1px solid var(--color-hairline); border-bottom: 1px solid var(--color-hairline); }
.s-02-stat { min-width: 0; padding-inline: var(--space-64); }
.s-02-stat:first-child { padding-left: 0; }
.s-02-stat + .s-02-stat { border-left: 1px solid var(--color-hairline); padding-right: 0; }
.s-02-figure { display: flex; align-items: baseline; gap: var(--space-12); font-family: var(--font-display); font-weight: var(--font-weight-semibold); line-height: var(--type-hero-lh); letter-spacing: var(--type-hero-ls); }
/* 160px from 1440 up; below that it scales so «23,33 %» never leaves its column. */
.s-02-number { position: relative; display: inline-block; font-size: min(calc(var(--type-hero-size) * 2), 11.12vw); letter-spacing: -0.035em; white-space: nowrap; }
.s-02-number-final { display: inline-block; opacity: var(--s-02-final, 1); background-image: var(--grad-ink); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
/* Each figure fills its own scale with the same scroll progress as its counter. */
.s-02-stat--edad { --s-02-pos: 71.7647%; } /* (30,2 - 18) / (35 - 18) */
.s-02-stat--paro { --s-02-pos: 23.33%; }
.s-02-scale { margin-top: var(--space-32); max-width: 28em; }
.s-02-scale-track { position: relative; display: block; height: var(--space-4); border-radius: var(--space-4); background: var(--color-control-gray); }
.s-02-scale-fill { position: absolute; top: 0; bottom: 0; left: 0; width: var(--s-02-pos); border-radius: inherit; background-image: var(--grad-ink); transform-origin: left center; transform: scaleX(var(--s-02-count, 1)); }
/* A box as wide as the value, carrying the dot at its right edge, slides in from the left (no overflow to the right). */
/* A light runs along the filling bar (--s-02-shine peaks halfway through the fill). */
.s-02-scale-fill { clip-path: inset(0 round var(--space-4)); }
.s-02-scale-fill::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 50%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent); opacity: var(--s-02-shine, 0); transform: translate3d(calc((var(--s-02-count, 1) * 2 - 1) * 100%), 0, 0); }
.s-02-scale-move { position: absolute; top: 0; bottom: 0; left: 0; width: var(--s-02-pos); transform: translate3d(calc((var(--s-02-count, 1) - 1) * 100%), 0, 0); }
.s-02-scale-dot { position: absolute; top: 50%; right: 0; width: var(--space-16); height: var(--space-16); margin: calc(var(--space-16) / -2) calc(var(--space-16) / -2) 0 0; border-radius: 50%; background: var(--color-ink); box-shadow: 0 0 0 var(--space-4) var(--surface-0); }
.s-02-scale-ends { display: flex; justify-content: space-between; margin-top: var(--space-12); font-size: var(--type-small-size); line-height: 1.3; color: var(--color-steel); font-variant-numeric: tabular-nums; }
.s-02-number-roll { position: absolute; top: 0; left: 0; white-space: nowrap; opacity: var(--s-02-rolling, 0); }
.s-02-unit { font-size: var(--type-headline-size); font-weight: var(--font-weight-medium); color: var(--color-text-secondary); }
.s-02-stat-label { color: var(--color-text-secondary); max-width: 25em; margin-top: var(--space-24); min-height: calc(var(--type-body-lg-size) * var(--type-body-lg-lh) * 2); }
.s-02-source { display: block; margin-top: var(--space-20); min-height: var(--space-32); }
.s-02-source-end { display: inline-flex; align-items: center; gap: var(--space-4); white-space: nowrap; }
.s-02-source svg, .s-02-document svg { flex: 0 0 auto; width: var(--space-16); height: var(--space-16); }
.s-02-digit { display: inline-block; vertical-align: -0.18em; height: 1.12em; width: 0.64em; overflow: hidden; }
.s-02-glyph { fill: currentColor; }
.s-02-fraction { line-height: 1.12; }
/* The quote is read, word by word: each word passes from light grey to ink as the scroll advances. */
.s-02-quote { position: relative; margin: var(--space-96) auto 0; max-width: calc(var(--content-max) * 0.8); text-align: center; }
/* Pins (JS only, when the stage fits the screen): the stage holds still while its scene plays. */
.s-02-pin.is-pinned > .s-02-stats, .s-02-pin.is-pinned > .s-02-quote { position: sticky; }
.s-02-mark { display: block; width: var(--space-64); height: var(--space-48); margin: 0 auto var(--space-32); color: var(--color-hairline); opacity: var(--s-02-mark, 1); transform: translate3d(0, calc((1 - var(--s-02-mark, 1)) * var(--space-24)), 0); }
.s-02-quote-text { font-family: var(--font-display); font-size: var(--type-section-size); font-weight: var(--font-weight-semibold); line-height: 1.16; letter-spacing: -0.012em; color: var(--color-ink); text-wrap: balance; }
/* Unread words wait in the secondary grey (5:1 on white, legible), never faded out; read ones turn ink. */
.s-02-word { color: color-mix(in srgb, var(--color-ink) calc((var(--s-02-word, 1) - 0.16) / 0.84 * 100%), var(--color-text-secondary)); }
.s-02-attribution { display: grid; justify-items: center; gap: var(--space-8); margin-top: var(--space-40); color: var(--color-text-secondary); }
.s-02-document { display: inline-flex; align-items: center; gap: var(--space-4); justify-self: center; min-height: var(--space-32); flex-wrap: wrap; }
.s-02-document-reference { color: var(--color-text-secondary); }
@media (max-width: 1279px) {
  .s-02-lead { text-wrap: balance; }
}
@media (max-width: 1068px) {
  .s-02-stat { padding-inline: var(--space-40); }
  /* Tablet: two figures side by side must fit their half column («23,33 %» ≈ 3.6em). */
  .s-02-number { font-size: min(calc(var(--type-hero-size) * 2), 10.5vw); }
  .s-02-intro { max-width: 32em; }
  .s-02-quote { max-width: 92%; }
}
@media (max-width: 734px) {
  .s-02-title, .s-02-source, .s-02-document, .s-02-skip { scroll-margin-top: var(--space-28); }
  .s-02-eyebrow { margin-bottom: var(--space-20); }
  .s-02-controls { gap: var(--space-12); margin-top: var(--space-24); }
  /* Touch targets: every link and button in the section reaches 44px on phones. */
  .s-02-skip, .s-02-document { min-height: calc(var(--space-40) + var(--space-4)); }
  .s-02-skip { display: inline-flex; align-items: center; }
  /* Two lines on every phone: «son el presente.» measures 7.09em, so 12vw keeps it inside the 87.5vw content. */
  .s-02-title { font-size: min(calc(var(--type-hero-size) * 1.17), 12vw); line-height: var(--type-hero-lh); }
  .s-02-title-row { white-space: nowrap; }
  /* Two balanced lines at 390: the sentence measures 40em on one line. */
  .s-02-lead { max-width: none; margin-bottom: var(--space-20); font-size: clamp(15px, 4vw, var(--type-intro-size)); text-wrap: balance; }
  /* Lighter on phones: smaller, full width, balanced, so it does not read as a block. */
  .s-02-intro { margin-top: var(--space-28); max-width: none; font-size: var(--type-body-size); line-height: var(--type-body-lh); text-wrap: balance; }
  /* The figure arrives whole while its bar fills: fade and a short rise, no rolling digits
     (audit 16-nov: a clipped, counting figure read as loose strokes on a phone). */
  .s-02-number, .s-02-unit { opacity: var(--s-02-count, 1); transform: translate3d(0, calc((1 - var(--s-02-count, 1)) * var(--space-12)), 0); }
  /* No visible skip control on phones: nothing here plays by itself, the OS reduced-motion
     setting gives the still page, and focus or an anchor into the section completes it. */
  .s-02-controls { display: none; }
  .s-02-stats { grid-template-columns: minmax(0, 1fr); margin-top: var(--space-64); padding-block: 0; }
  .s-02-stat, .s-02-stat:first-child { padding: var(--space-32) 0; }
  .s-02-stat + .s-02-stat { border-left: 0; border-top: 1px solid var(--color-hairline); }
  .s-02-number { font-size: calc(var(--type-hero-size) * 1.75); }
  .s-02-unit { font-size: var(--type-card-title-size); }
  .s-02-stat-label { margin-top: var(--space-20); min-height: 0; }
  .s-02-scale { margin-top: var(--space-24); }
  .s-02-source { margin-top: var(--space-4); padding-block: var(--space-12); min-height: calc(var(--space-40) + var(--space-4)); }
  .s-02-quote { max-width: 100%; margin-top: var(--space-64); }
  .s-02-mark { width: var(--space-48); height: calc(var(--space-48) * 0.75); margin-bottom: var(--space-24); }
  .s-02-quote-text { font-size: min(var(--space-28), 7.6vw); line-height: 1.2; letter-spacing: -0.006em; }
  .s-02-attribution { margin-top: var(--space-28); gap: var(--space-4); }
  /* Phones only: a photo of him under «Su idea» crowns the statement. The block holds still one screen
     at the top while the photo arrives and the title is written, then lets go to the figures.
     «Su idea» stays the first line of 02: the frame of 01 hands over to it. Hidden (never loaded) above 734px. */
  .s-02-photo[hidden] { display: block !important; }
  .s-02-photo { position: relative; height: var(--s-02-photo-h, min(66vw, 42svh)); margin: 0 0 var(--space-24); border-radius: 16px; overflow: hidden; background: var(--color-control-gray); opacity: var(--s-02-photo, 1); transform: translate3d(0, calc((1 - var(--s-02-photo, 1)) * var(--space-24)), 0); }
  .s-02-photo picture, .s-02-photo img { display: block; width: 100%; height: 100%; border-radius: 0; }
  /* The face sits at a quarter of the frame's height: covering from that point never cuts it. */
  .s-02-photo img { object-fit: cover; object-position: 50% 24%; transform: scale(calc(1.08 - 0.08 * var(--s-02-photo-z, 1))); transform-origin: 50% 24%; }
  .s-02-pin--head.is-pinned > .s-02-head { position: sticky; }
}
@media (max-width: 359px) {
  .s-02-number { font-size: calc(var(--type-hero-size) * 1.25); }
}
@media (prefers-reduced-motion: reduce) {
  .s-02-line, .s-02-lead, .s-02-number-final, .s-02-word, .s-02-mark { transform: none !important; opacity: 1 !important; }
  .s-02-lead { color: var(--color-text-secondary) !important; }
  .s-02-scale-fill, .s-02-scale-move, .s-02-number, .s-02-unit { transform: none !important; }
  .s-02-number, .s-02-unit, .s-02-line { clip-path: none !important; }
  .s-02-scale-fill::after { display: none; }
  .s-02-controls, .s-02-number-roll { display: none; }
}
@media print {
  .s-02-line, .s-02-lead, .s-02-number-final, .s-02-word, .s-02-mark { transform: none !important; opacity: 1 !important; }
  .s-02-lead { color: var(--color-text-secondary) !important; }
  .s-02-scale-fill, .s-02-scale-move, .s-02-number, .s-02-unit { transform: none !important; }
  .s-02-number, .s-02-unit, .s-02-line { clip-path: none !important; }
  .s-02-scale-fill::after { display: none; }
  .s-02-controls, .s-02-number-roll { display: none; }
  .s-02-number { font-size: var(--type-section-size); }
  .s-02-jovenes { break-inside: avoid; }
}

/* ==== sections/02b-por-los-jovenes ==== */
/* 02b · Por los jóvenes. Four blocks, one effect each:
   01 particles that gather into «2.000» (canvas) + an iris that opens on a photo,
   02 «En España»: two photo scenes with depth (recipe 03) and four facts in rows, then a filterable list of all the facts,
   04 words that arrive from depth. Without JS or with reduced motion: one static, complete column.
   Everything under .s-02b-on is the animated layout (set by section.js). */
.s-02b-jovenes { padding-block: var(--space-80) var(--space-64); overflow-x: clip; overflow-y: visible; }
.s-02b-jovenes :is(.s-02b-src, .s-02b-title) { scroll-margin-top: var(--space-52); }

/* ---------- Opening ---------- */
.s-02b-lockup { text-align: center; }
.s-02b-eyebrow { color: var(--color-text-secondary); margin-bottom: var(--space-20); }
.s-02b-title { position: relative; font-size: calc(var(--type-hero-size) * 1.25); }
/* The gradient lives on each line, never on the h2: a text-clipped background on the parent would paint the
   glyphs of its children even while those children are at opacity 0 (seen in desktop Chrome). */
/* One Apple-style sheen for every title of the section (ink → graphite → steel), built from the tokens. */
.s-02b-jovenes { --s-02b-grad: linear-gradient(100deg, var(--color-ink) 0%, var(--color-ink) 22%, var(--color-text-secondary-alt) 62%, var(--color-steel) 100%); }
.s-02b-tline, .s-02b-impact, .s-02b-word, .s-02b-uline { background-image: var(--s-02b-grad); background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
/* Each line hugs its own words (so the sheen spans them) with room for the glyphs' side bearings. */
.s-02b-tline { display: table; margin-inline: auto; padding-inline: 0.06em; }
/* Lines/words that animate carry the sheen themselves (a text-clipped parent would paint hidden children). */
.s-02b-jovenes:not(.s-02b-on) .s-02b-vline { background-image: var(--s-02b-grad); background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.s-02b-lead { max-width: 30em; margin: var(--space-28) auto 0; }
.s-02b-giant, .s-02b-entry-line { display: none; }

/* ---------- Shared pieces ---------- */
.s-02b-block { margin-top: var(--space-80); }
.s-02b-head { display: flex; align-items: center; gap: var(--space-12); color: var(--color-text-secondary); }
.s-02b-num { display: inline-grid; place-items: center; min-width: var(--space-32); height: var(--space-32); padding-inline: var(--space-8); border-radius: var(--radius-pill); background: var(--surface-1); color: var(--color-ink); font-size: var(--type-caption-size); }
.s-02b-when { color: var(--color-action); }
.s-02b-text { color: var(--color-ink); margin-top: var(--space-8); }
/* Every fact reads the same way: (a) the impact, big; (b) his exact role, short, with the year; (c) the source. */
.s-02b-impact { font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: var(--type-card-title-size); line-height: var(--type-card-title-lh); letter-spacing: var(--type-card-title-ls); color: var(--color-ink); text-wrap: balance; }
.s-02b-role { margin-top: var(--space-8); color: var(--color-text-secondary); text-wrap: pretty; }
/* The arrow follows the last word, even when the label wraps. */
.s-02b-src { display: inline-block; padding-block: var(--space-4); margin-top: var(--space-8); color: var(--color-link); }
.s-02b-src svg { display: inline-block; width: var(--space-16); height: var(--space-16); margin-left: var(--space-4); vertical-align: -0.2em; }
.s-02b-src:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- 01 · 2.000 ---------- */
.s-02b-canvas { display: none; }
.s-02b-dots-inner { text-align: center; }
.s-02b-dots-inner .s-02b-head { justify-content: center; }
.s-02b-big { display: flex; flex-direction: column; align-items: center; margin-top: var(--space-24); font-family: var(--font-display); font-weight: var(--font-weight-semibold); }
.s-02b-big-num { display: block; font-size: clamp(80px, min(28vw, 31vh), 300px); line-height: 1; letter-spacing: -0.04em; white-space: nowrap; color: var(--color-ink); }
.s-02b-big-unit { display: block; margin-top: var(--space-8); font-size: var(--type-headline-size); line-height: var(--type-headline-lh); color: var(--color-text-secondary); }
.s-02b-fact--center { max-width: 40em; margin: var(--space-28) auto 0; }

/* Block 01 rows: one grid, two columns shared by every row (media or figure | impact, role, source). */
.s-02b-feats { margin-top: var(--space-80); border-bottom: 1px solid var(--color-hairline); }
.s-02b-feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-64); align-items: center; padding-block: var(--space-48); border-top: 1px solid var(--color-hairline); }
.s-02b-feat-copy .s-02b-impact { font-size: var(--type-headline-sm-size); line-height: var(--type-headline-sm-lh); letter-spacing: var(--type-headline-sm-ls); }
.s-02b-stat { align-self: center; }
.s-02b-stat-num { font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: var(--type-hero-size); line-height: 1; letter-spacing: -0.03em; white-space: nowrap;
  background-image: var(--grad-ink); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.s-02b-stat-label { margin-top: var(--space-12); color: var(--color-text-secondary); max-width: 22em; }
.s-02b-conf-media { margin: 0; }
.s-02b-iris { border-radius: 22px; overflow: hidden; }
.s-02b-conf-image { aspect-ratio: 1; }
.s-02b-conf-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s-02b-credit { margin-top: var(--space-12); color: var(--color-text-secondary); }
/* 11-nov: foto de la entrega de becas (pedida por el cliente en su briefing). Misma entrada que la conferencia (iris),
   con la foto como protagonista: columna ancha. */
.s-02b-beca { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.s-02b-beca-frame { border-radius: 22px; overflow: hidden; }
/* 12-nov: recorte sin techo (2:1). El iris y el contrazoom son los mismos; solo se centra en su cara, que ahora queda más arriba. */
.s-02b-beca-image { display: block; aspect-ratio: 2 / 1; }
.s-02b-beca-image img { transform-origin: 50% 16%; }
.s-02b-beca-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }




.s-02b-vline { display: block; text-wrap: balance; }
.s-02b-place { color: var(--color-action); margin-bottom: var(--space-12); }

/* ---------- 03 · La voz: el titular y, debajo, un tríptico con la foto de cada acto (13-nov-2026) ---------- */
.s-02b-voice-inner { text-align: center; }
.s-02b-voice-inner .s-02b-head { justify-content: center; }
.s-02b-voice-title { margin-top: var(--space-16); color: var(--color-ink); max-width: 15em; margin-inline: auto; }
.s-02b-word { display: inline-block; }
.s-02b-uline { display: table; padding-right: 0.06em; }
.s-02b-voice-wall { margin-top: var(--space-48); }
.s-02b-rows { list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-40); align-items: start; text-align: left; }
.s-02b-voice-fig { margin: 0; transform-origin: 50% 0; }
.s-02b-voice-frame { border-radius: 22px; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 3; background: var(--surface-1); }
.s-02b-voice-image { display: block; width: 100%; height: 100%; }
.s-02b-voice-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Recortes a 4:3: él y la placa enteros; la sala con «#IYD 2022» en los escaños; él ante el micrófono. */
.s-02b-voice-image--consejo img { object-position: 48% 50%; }
.s-02b-voice-image--juventud img { object-position: 50% 70%; }
.s-02b-voice-image--montpellier img { object-position: 50% 50%; }
.s-02b-row-copy { margin-top: var(--space-20); }
.s-02b-voice-fig .s-02b-credit { text-wrap: balance; }
/* Retablo (ordenador): en el centro, más grande, él entre los jóvenes de la cumbre; a un lado el Consejo y al otro la sala.
   Las tres fotos se apoyan en la misma línea y los tres textos arrancan a la vez (subrejilla). */
@media (min-width: 1069px) {
  .s-02b-rows { grid-template-columns: minmax(0, 3fr) minmax(0, 4.4fr) minmax(0, 3fr); grid-template-rows: auto auto; row-gap: 0; }
  .s-02b-row { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
  .s-02b-voice-fig { align-self: end; }
  /* Tres líneas reservadas para cada pie: las tres fotos se apoyan en la misma línea aunque un pie sea más largo. */
  .s-02b-voice-fig .s-02b-credit { min-height: calc(3 * var(--type-caption-lh) * 1em); }
  .s-02b-row:not(:nth-child(2)) .s-02b-impact { font-size: var(--type-title-size); line-height: var(--type-title-lh); letter-spacing: var(--type-title-ls); }
}

/* «Ver más actuaciones»: a native disclosure (keyboard and reduced motion for free), a short dated list. */

/* ---------- 02 · En España: two scenes with a photo, then the four facts without one ---------- */
.s-02b-es-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-16); }
.s-02b-es-count { display: none; color: var(--color-text-secondary); }
.s-02b-es-now { color: var(--color-ink); }
.s-02b-es-scenes { display: grid; gap: var(--space-64); margin-top: var(--space-32); }
.s-02b-es-scene { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: var(--space-52); align-items: center; }
.s-02b-es-fig { margin: 0; transform-origin: 50% 0; }
.s-02b-es-frame { border-radius: 22px; overflow: hidden; isolation: isolate; aspect-ratio: 3 / 2; background: var(--surface-1); }
.s-02b-es-image { display: block; width: 100%; height: 100%; }
.s-02b-es-image img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; }
/* 12-nov (tarde): la foto de Cáceres pasa a la de la conversación (mismo encuentro; 1.910 px, nítida). El nombre de
   la clase se queda para no tocar más el fragmento. Recorte de X4-FOTOS: su cara entera en 3:2 y en 5:4. */
.s-02b-es-image--atril img { object-position: 50% 42%; }
.s-02b-es-image--conede img { object-position: 55% 30%; }
.s-02b-es-copy .s-02b-impact { font-size: var(--type-headline-sm-size); line-height: var(--type-headline-sm-lh); letter-spacing: var(--type-headline-sm-ls); }
.s-02b-place { color: var(--color-action); margin-bottom: var(--space-12); }
.s-02b-es-more { margin-top: var(--space-80); }
.s-02b-es-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-64); }
.s-02b-es-row { border-top: 1px solid var(--color-hairline); padding-block: var(--space-32) var(--space-40); }
.s-02b-es-row .s-02b-place { margin-bottom: var(--space-8); }
.s-02b-es-stats { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-12) var(--space-40); margin-top: var(--space-20); }
.s-02b-es-stat { display: flex; flex-direction: column; max-width: 15em; }
.s-02b-es-stat-num { font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: var(--type-display-size); line-height: 1; letter-spacing: -0.03em; color: var(--color-ink); white-space: nowrap; }
.s-02b-es-stat-label { margin-top: var(--space-4); color: var(--color-text-secondary); }
.s-02b-es-stats + .s-02b-credit { margin-top: var(--space-12); }
.s-02b-es-row .s-02b-impact { font-size: var(--type-headline-sm-size); line-height: var(--type-headline-sm-lh); letter-spacing: var(--type-headline-sm-ls); }

/* ---------- Todas las actuaciones (13-nov-2026): un cuadro cronológico. Titular con el degradado de la sección,
   los dos filtros de siempre y, debajo, las filas: fecha | qué fue y su papel | fuente. Sin JS: la lista entera. ---------- */
.s-02b-all { margin-top: var(--space-128); }
.s-02b-all-title { font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: var(--type-display-size); line-height: var(--type-display-lh); letter-spacing: var(--type-display-ls); display: table; padding-right: 0.06em;
  background-image: var(--s-02b-grad); background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.s-02b-all-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-12) var(--space-40); align-items: end; margin-top: var(--space-32); }
.s-02b-all-bar[hidden], .s-02b-all-item[hidden], .s-02b-all-empty[hidden] { display: none; }
.s-02b-all-group { grid-column: 1; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: baseline; gap: var(--space-12); }
.s-02b-all-glabel { color: var(--color-text-secondary); }
.s-02b-all-btns { display: flex; flex-wrap: wrap; gap: var(--space-8); }
.s-02b-all-btn { font: inherit; font-size: var(--type-small-size); line-height: 1.2; padding: var(--space-8) var(--space-16); min-height: 36px; border-radius: var(--radius-pill); border: 1px solid var(--color-hairline); background: var(--surface-0); color: var(--color-ink); cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.s-02b-all-btn:hover { border-color: var(--color-ink); }
.s-02b-all-btn[aria-pressed="true"] { background: var(--color-ink); border-color: var(--color-ink); color: var(--surface-0); }
.s-02b-all-btn:focus-visible { outline: 2px solid var(--color-action); outline-offset: 2px; }
/* El recuento, a la derecha de los filtros: la cifra en grande y «de 19» a su lado. */
.s-02b-all-count { grid-column: 2; grid-row: 1 / span 2; align-self: end; display: flex; align-items: baseline; gap: var(--space-8); color: var(--color-text-secondary); font-size: var(--type-body-size); line-height: 1; white-space: nowrap; }
.s-02b-all-n { font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: var(--type-display-size); line-height: 0.9; letter-spacing: -0.03em; color: var(--color-ink); }
.s-02b-all-list, .s-02b-all-sub { list-style: none; margin: 0; padding: 0; }
.s-02b-all-list { margin-top: var(--space-40); border-top: 1px solid var(--color-hairline); }
.s-02b-all-item { display: grid; grid-template-columns: 160px minmax(0, 1fr) minmax(0, 196px); gap: var(--space-4) var(--space-24); align-items: start; padding-block: var(--space-16) var(--space-20); border-bottom: 1px solid var(--color-hairline); }
.s-02b-all-date { color: var(--color-text-secondary); padding-top: 3px; }
.s-02b-all-what { color: var(--color-ink); font-weight: var(--font-weight-medium, 500); line-height: 1.35; text-wrap: pretty; }
.s-02b-all-role { margin-top: 3px; color: var(--color-text-secondary); text-wrap: pretty; }
.s-02b-all-src { grid-column: 3; margin-top: 0; padding-block: 3px; justify-self: end; text-align: right; text-wrap: balance; }
.s-02b-all-empty { margin-top: var(--space-24); color: var(--color-text-secondary); }
.s-02b-all-clear { font: inherit; margin-left: var(--space-8); padding: var(--space-8) 0; border: 0; background: none; color: var(--color-link); cursor: pointer; }
.s-02b-all-clear:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.s-02b-all-clear:focus-visible { outline: 2px solid var(--color-action); outline-offset: 2px; border-radius: 4px; }
.s-02b-all-year, .s-02b-all-odo { display: none; }

/* =====================================================================
   Animated layout (JS on, motion allowed)
   ===================================================================== */
.s-02b-on .s-02b-b1, .s-02b-on .s-02b-b4 { margin-top: 0; }
/* Opening: the giant line lands on the eyebrow. */
/* Every scene is pinned with its content centred in the viewport (sticky top set by JS), so the scene
   arrives right after the block before it and leaves with the next one right behind: no blank bands. */
.s-02b-on .s-02b-open-stage { position: sticky; top: var(--s-02b-top, var(--nav-h)); padding-block: var(--space-40); }
.s-02b-on .s-02b-giant { display: block; position: absolute; left: 0; top: 0; margin: 0; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: 200px; line-height: 1.1; letter-spacing: var(--type-eyebrow-ls); white-space: nowrap; transform-origin: 0 0; pointer-events: none;
  background-image: linear-gradient(100deg, var(--color-ink) 0%, var(--color-ink) 45%, var(--color-text-secondary-alt) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.s-02b-on .s-02b-eyebrow { opacity: 0; }
/* Entry from 02: a thread drops from the Security Council signature and opens the giant line. */
.s-02b-on .s-02b-entry-line { display: block; position: absolute; left: 50%; top: 0; width: 2px; margin-left: -1px; height: 100px; border-radius: 1px; background: var(--color-action); transform-origin: 50% 0; transform: scaleY(0); pointer-events: none; }
.s-02b-on .s-02b-tline, .s-02b-on .s-02b-lead { opacity: 0; }

/* 01 · particles */
.s-02b-on .s-02b-dots-stage { position: sticky; top: var(--s-02b-top, var(--nav-h)); }
.s-02b-on .s-02b-canvas { display: block; position: absolute; left: 0; top: -45vh; width: 100%; height: calc(100% + 57vh); pointer-events: none; }
.s-02b-on .s-02b-canvas { z-index: 0; }
.s-02b-on .s-02b-dots-inner { position: relative; z-index: 1; }
.s-02b-on .s-02b-big-num, .s-02b-on .s-02b-big-unit, .s-02b-on .s-02b-dots-stage .s-02b-fact { opacity: 0; }
.s-02b-on .s-02b-feats { margin-top: var(--space-40); }
.s-02b-on .s-02b-iris { clip-path: circle(0% at 42% 32%); }



/* 02 · En España: the two scenes share one pinned cell; JS poses them (recipe 03). */
.s-02b-on .s-02b-es-on .s-02b-es-stage { position: sticky; top: var(--s-02b-top, var(--nav-h)); padding-block: var(--space-16); }
.s-02b-on .s-02b-es-on .s-02b-es-count { display: block; }
.s-02b-on .s-02b-es-on .s-02b-es-scenes { grid-template-areas: "s"; gap: 0; }
.s-02b-on .s-02b-es-on .s-02b-es-scene { grid-area: s; }
.s-02b-on .s-02b-es-on .s-02b-es-scene + .s-02b-es-scene .s-02b-es-fig,
.s-02b-on .s-02b-es-on .s-02b-es-scene + .s-02b-es-scene .s-02b-es-copy > * { opacity: 0; }
.s-02b-on .s-02b-es-more { margin-top: var(--space-48); }

/* 03 · La voz: el titular llega palabra a palabra desde el fondo y espera arriba; debajo suben las tres fotos,
   cada una a su altura (tres planos), y se alinean. Nada se recorta: cada foto entra entera (R-075). */
.s-02b-on .s-02b-voice-stage { position: sticky; top: var(--s-02b-top, var(--nav-h)); padding-block: var(--space-24) var(--space-8); }
.s-02b-on .s-02b-voice-inner { width: var(--content-width); }
.s-02b-on .s-02b-voice-title { perspective: 900px; font-size: var(--type-hero-size); line-height: var(--type-hero-lh); letter-spacing: var(--type-hero-ls); max-width: 13em; }
.s-02b-on .s-02b-word { opacity: 0; }
.s-02b-on .s-02b-voice-wall { margin-top: var(--space-32); }
.s-02b-on .s-02b-voice-fig { will-change: transform; }
.s-02b-on .s-02b-voice-image img { will-change: transform; }

@media (max-width: 1068px) {
  .s-02b-feat { gap: var(--space-40); }
  .s-02b-stat-num { font-size: var(--type-display-size); }
  .s-02b-rows { gap: var(--space-24); }
  .s-02b-all-item { grid-template-columns: 148px minmax(0, 1fr); }
  .s-02b-all-src { grid-column: 2; justify-self: start; text-align: left; margin-top: var(--space-4); }
}

@media (max-width: 734px) {
  .s-02b-es-scene { grid-template-columns: minmax(0, 1fr); gap: var(--space-20); }
  .s-02b-es-frame { border-radius: 16px; aspect-ratio: 5 / 4; }
  .s-02b-es-copy .s-02b-impact, .s-02b-es-row .s-02b-impact { font-size: var(--type-title-size); line-height: var(--type-title-lh); letter-spacing: var(--type-title-ls); }
  .s-02b-es-copy .s-02b-role { font-size: var(--type-body-size, 17px); line-height: 1.4; }
  .s-02b-es-copy .s-02b-place { margin-bottom: var(--space-4); }
  .s-02b-es-copy .s-02b-src { margin-top: var(--space-4); }
  .s-02b-es-rows { grid-template-columns: minmax(0, 1fr); }
  .s-02b-es-row { padding-block: var(--space-24) var(--space-28); }
  .s-02b-all { margin-top: var(--space-80); }
  .s-02b-all-title { font-size: 36px; line-height: 1.08; }
  .s-02b-all-bar { grid-template-columns: minmax(0, 1fr); gap: var(--space-16); margin-top: var(--space-24); }
  .s-02b-all-group { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .s-02b-all-btn { min-height: 40px; }
  .s-02b-all-count { grid-column: 1; grid-row: auto; justify-self: start; font-size: var(--type-small-size); }
  .s-02b-all-n { font-size: var(--type-headline-size); }
  .s-02b-all-list { margin-top: var(--space-24); }
  .s-02b-all-item { grid-template-columns: auto minmax(0, 1fr); gap: 0 var(--space-12); align-items: center; padding-block: var(--space-8) var(--space-16); }
  .s-02b-all-date { grid-column: 1; grid-row: 1; padding-block: var(--space-8); font-size: 13px; }
  .s-02b-all-body { grid-column: 1 / -1; grid-row: 2; }
  .s-02b-all-what { font-size: 16px; line-height: 1.32; }
  .s-02b-all-role { margin-top: 2px; line-height: 1.36; }
  .s-02b-all-src { grid-column: 2; grid-row: 1; justify-self: end; text-align: right; margin-top: 0; padding-block: var(--space-8); font-size: 13px; }
  .s-02b-jovenes { padding-block: var(--space-64) var(--space-16); }
  .s-02b-jovenes :is(.s-02b-src, .s-02b-title) { scroll-margin-top: var(--space-28); }
  .s-02b-title { font-size: 40px; line-height: 1.1; }
  .s-02b-big-unit { font-size: var(--type-title-size); }
  .s-02b-src { padding-block: var(--space-12); }
  .s-02b-feat { grid-template-columns: minmax(0, 1fr); gap: var(--space-24); padding-block: var(--space-32); }
  .s-02b-stat-num { font-size: 48px; }
  .s-02b-impact { font-size: var(--type-title-size); line-height: var(--type-title-lh); }
  .s-02b-on .s-02b-voice-title { font-size: 38px; line-height: 1.1; }
  .s-02b-voice-wall, .s-02b-on .s-02b-voice-wall { margin-top: var(--space-28); }
  .s-02b-voice-frame { border-radius: 16px; }
  .s-02b-row-copy { margin-top: var(--space-16); }
  .s-02b-on .s-02b-giant { text-align: center; line-height: 0.98; }
  .s-02b-on .s-02b-open-stage { padding-block: var(--space-16); }
  .s-02b-iris { border-radius: 16px; }
  .s-02b-beca-frame { border-radius: 16px; }
  .s-02b-rows { grid-template-columns: minmax(0, 1fr); gap: var(--space-40); }
}

@media (max-width: 380px), (max-height: 700px) and (max-width: 734px) {
  .s-02b-on .s-02b-voice-title { font-size: 30px; }
  .s-02b-rows { gap: var(--space-32); }
  .s-02b-row .s-02b-impact { font-size: 19px; line-height: 1.25; }
  .s-02b-all-title { font-size: 30px; }
}

@media (forced-colors: active) { .s-02b-tline, .s-02b-impact, .s-02b-word, .s-02b-uline, .s-02b-stat-num { -webkit-text-fill-color: currentColor; color: CanvasText; background: none; } }

@media print {
}

/* 02 · En España on short phones (Safari bar visible): a lower frame so the scene still fits and pins. */
@media (max-width: 734px) and (max-height: 760px) {
  .s-02b-es-frame { aspect-ratio: 3 / 2; }
  .s-02b-on .s-02b-es-on .s-02b-es-stage { padding-block: var(--space-8); }
  .s-02b-on .s-02b-es-on .s-02b-es-scenes { margin-top: var(--space-16); }
  .s-02b-on .s-02b-es-on .s-02b-es-scene { gap: var(--space-12); }
  .s-02b-on .s-02b-es-on .s-02b-credit { margin-top: var(--space-8); }
  .s-02b-on .s-02b-es-on .s-02b-es-copy .s-02b-role { font-size: 15px; line-height: 1.4; margin-top: var(--space-4); }
}

/* =====================================================================
   X2 · 12-nov-2026 · El tramo plano de «En España» y «Todas las actuaciones»
   ===================================================================== */
/* Cáceres: con la foto antigua (1.065 px) el marco se limitó a 532 px. La nueva es nítida y la escena vuelve a
   compartir marco con la del CONEDE, como la pieza aprobada: ya no hay límite. */

/* --- El hilo de luz (receta 09, pieza aprobada en la 1.8.1): las cuatro actuaciones sin foto, a distintas
       alturas; el hilo las une y cada tarjeta se abre desde su punto. section.js añade el hilo, los puntos y
       la tarjeta; sin JS o con movimiento reducido queda la rejilla de arriba. --- */
.s-02b-thread { display: none; }
.s-02b-sky-on { position: relative; }
.s-02b-sky-on .s-02b-thread { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.s-02b-thread-base { fill: none; stroke: var(--color-hairline); stroke-width: 1; stroke-dasharray: 2 6; stroke-linecap: round; }
.s-02b-thread-light { fill: none; stroke: var(--color-action); stroke-width: 2; stroke-linecap: round; }
.s-02b-spark { fill: var(--color-action); }
.s-02b-spark-halo { fill: var(--color-action); opacity: 0.16; }
.s-02b-dust { fill: var(--color-steel); opacity: 0.35; }
.s-02b-sky-on .s-02b-es-rows { position: relative; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--space-32); align-items: start; }
.s-02b-sky-on .s-02b-star { position: relative; border-top: 0; padding: var(--space-40) 0 0; }
.s-02b-sky-on .s-02b-star--2 { margin-top: var(--space-96); }
.s-02b-sky-on .s-02b-star--3 { margin-top: var(--space-32); }
.s-02b-sky-on .s-02b-star--4 { margin-top: var(--space-128); }
/* 15-nov: con dos hechos (las destacadas bajan a diez) la fila usa dos columnas anchas, no dos de cuatro con
   media pantalla vacía a la derecha; el segundo baja menos, el hilo los une igual. */
@media (min-width: 1069px) {
  .s-02b-sky-on.s-02b-sky-n2 .s-02b-es-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-64); }
  .s-02b-sky-on.s-02b-sky-n2 .s-02b-star--2 { margin-top: var(--space-64); }
  .s-02b-sky-on.s-02b-sky-n2 .s-02b-star-card { padding: var(--space-32); }
}
.s-02b-node { display: none; }
.s-02b-sky-on .s-02b-node { display: block; position: absolute; top: 0; left: 0; width: var(--space-16); height: var(--space-16); border-radius: var(--radius-round); background: var(--surface-0); box-shadow: inset 0 0 0 2px var(--color-steel); }
.s-02b-sky-on .s-02b-node.is-lit { background: var(--color-action); box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-action) 14%, transparent); }
/* The window that opens from the node cuts only the card's background (::before); the text is never cut,
   it fades in whole (--s-02b-ink) once its box is open. Both values are set by section.js with the scroll. */
.s-02b-sky-on .s-02b-star-card { position: relative; isolation: isolate; border-radius: 22px; padding: var(--space-24); }
.s-02b-sky-on .s-02b-star-card::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 22px; background: var(--surface-1); clip-path: inset(0 var(--s-02b-cut, 100%) var(--s-02b-cut, 100%) 0 round 22px); }
.s-02b-sky-on .s-02b-star-card > * { opacity: var(--s-02b-ink, 0); }
.s-02b-sky-on .s-02b-star .s-02b-impact { font-size: var(--type-title-size); line-height: var(--type-title-lh); letter-spacing: var(--type-title-ls); }

/* --- Mente Joven: la cifra va aparte, en grande (ya cuenta con el scroll, R-076). section.js reúne el texto
       en un bloque y las cifras con su crédito en otro. --- */
.s-02b-sky-on .s-02b-es-figure { grid-column: 1 / -1; order: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-64); align-items: center; margin-top: var(--space-64); padding-block: var(--space-48) var(--space-16); border-top: 1px solid var(--color-hairline); }
.s-02b-sky-on .s-02b-es-nums .s-02b-es-stats { margin-top: 0; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-64); }
.s-02b-sky-on .s-02b-es-nums .s-02b-credit { margin-top: var(--space-16); }
.s-02b-sky-on .s-02b-es-figure .s-02b-es-stat-num { font-size: clamp(88px, 10vw, 144px); letter-spacing: -0.04em; background-image: var(--s-02b-grad); background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-right: 0.04em; }
/* The figure sets the width of its own block (the 15em cap is for the label under it). */
.s-02b-sky-on .s-02b-es-figure .s-02b-es-stat { max-width: none; }
.s-02b-sky-on .s-02b-es-figure .s-02b-es-stat-label { margin-top: var(--space-8); max-width: 15em; }
@media (max-width: 1068px) {
  /* Una columna: el hilo baja por la izquierda y cada tarjeta se abre desde su punto. */
  .s-02b-sky-on .s-02b-es-rows { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-28); }
  .s-02b-sky-on .s-02b-star { padding: 0 0 0 var(--space-40); }
  .s-02b-sky-on .s-02b-star--2, .s-02b-sky-on .s-02b-star--3, .s-02b-sky-on .s-02b-star--4 { margin-top: 0; }
  .s-02b-sky-on .s-02b-node { top: var(--space-28); }
  /* One column: the card enters whole (opacity and a short slide, set by section.js); no window at all. */
  .s-02b-sky-on .s-02b-star-card { --s-02b-cut: 0%; --s-02b-ink: 1; opacity: 0; }
  .s-02b-sky-on .s-02b-es-figure { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-20); margin-top: var(--space-32); padding-block: var(--space-32) 0; }
  .s-02b-sky-on .s-02b-es-nums .s-02b-es-stats { column-gap: var(--space-32); }
}
@media (max-width: 734px) {
  .s-02b-sky-on .s-02b-star-card { border-radius: 16px; padding: var(--space-20); }
  .s-02b-sky-on .s-02b-star-card::before { border-radius: 16px; }
  .s-02b-sky-on .s-02b-es-figure .s-02b-es-stat-num { font-size: clamp(50px, 17vw, 72px); }
  .s-02b-sky-on .s-02b-es-nums .s-02b-es-stats { column-gap: var(--space-24); }
}

/* --- Todas las actuaciones con JS (13-nov-2026). section.js agrupa las filas por año. Con movimiento, un solo
       año grande queda fijo a la izquierda (en el móvil, en una barra bajo el menú) y RUEDA como un
       cuentakilómetros cuando llegan las filas del año siguiente. Con movimiento reducido cada grupo lleva
       su año quieto. Los filtros siguen igual. --- */
.s-02b-all-on .s-02b-all-era { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 8.6fr); column-gap: var(--space-52); }
.s-02b-all-on .s-02b-all-era[hidden], .s-02b-all-on .s-02b-all-year[hidden] { display: none; }
.s-02b-all-on .s-02b-all-era:not(.is-first) { margin-top: var(--space-40); border-top: 1px solid var(--color-hairline); }
.s-02b-all-on .s-02b-all-year { display: block; align-self: start; position: sticky; top: calc(var(--nav-h) + var(--space-40)); padding-top: var(--space-16); font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: min(132px, 9.2vw); line-height: 1; letter-spacing: -0.02em;
  background-image: var(--s-02b-grad); background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.s-02b-all-on .s-02b-all-sub { grid-column: 2; }
.s-02b-all-on .s-02b-all-sub > .s-02b-all-item:last-child { border-bottom: 0; }
.s-02b-all-on .s-02b-all-list { border-bottom: 1px solid var(--color-hairline); }
@media (hover: hover) {
  .s-02b-all-on .s-02b-all-item { position: relative; isolation: isolate; }
  .s-02b-all-on .s-02b-all-item::before { content: ''; position: absolute; inset: 4px calc(-1 * var(--space-16)); z-index: -1; border-radius: 14px; background: var(--surface-1); opacity: 0; transition: opacity 0.2s; }
  .s-02b-all-on .s-02b-all-item:hover::before { opacity: 1; }
}
/* El año que rueda: cuatro columnas de cifras; cada una gira solo cuando su cifra cambia. */
.s-02b-all-odo-on .s-02b-all-ledger { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 8.6fr); column-gap: var(--space-52); align-items: start; margin-top: var(--space-40); border-block: 1px solid var(--color-hairline); }
.s-02b-all-odo-on .s-02b-all-list { margin-top: 0; border: 0; }
.s-02b-all-odo-on .s-02b-all-era { display: block; }
.s-02b-all-odo-on .s-02b-all-year { display: none; }
.s-02b-all-odo-on .s-02b-all-era:not(.is-first) { margin-top: var(--space-24); border-top: 1px solid var(--color-ink); }
.s-02b-all-odo-on .s-02b-all-odo { display: flex; position: sticky; top: calc(var(--nav-h) + 12vh - var(--s-02b-shift, 0px)); padding-top: var(--space-20); font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: min(132px, 9.2vw); line-height: 1; font-variant-numeric: tabular-nums; pointer-events: none; }
.s-02b-all-odo[hidden] { display: none !important; }
.s-02b-odo-col { display: block; height: 1em; overflow: hidden; }
.s-02b-odo-strip { display: block; will-change: transform; }
.s-02b-all-odo.is-live .s-02b-odo-strip { transition: transform 0.7s cubic-bezier(0.2, 0.9, 0.25, 1); }
.s-02b-odo-d { display: block; height: 1em; line-height: 1; text-align: center;
  background-image: linear-gradient(100deg, var(--color-ink) 0%, var(--color-ink) 45%, var(--color-text-secondary-alt) 100%); background-repeat: no-repeat; background-size: 400% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.s-02b-odo-col:nth-child(2) .s-02b-odo-d { background-position: 33.333% 0; }
.s-02b-odo-col:nth-child(3) .s-02b-odo-d { background-position: 66.667% 0; }
.s-02b-odo-col:nth-child(4) .s-02b-odo-d { background-position: 100% 0; }
@media (max-width: 1068px) {
  .s-02b-all-on .s-02b-all-era, .s-02b-all-odo-on .s-02b-all-ledger { grid-template-columns: 176px minmax(0, 1fr); column-gap: var(--space-32); }
  .s-02b-all-on .s-02b-all-year, .s-02b-all-odo-on .s-02b-all-odo { font-size: 64px; }
  .s-02b-all-odo-on .s-02b-all-era { display: block; }
}
@media (max-width: 734px) {
  /* Móvil: una columna. El año va en una barra que se queda bajo el menú mientras pasan sus filas. */
  .s-02b-all-on .s-02b-all-era, .s-02b-all-odo-on .s-02b-all-ledger { display: block; }
  .s-02b-all-on .s-02b-all-era:not(.is-first) { margin-top: var(--space-16); }
  /* Quieto (movimiento reducido): el año de cada grupo va en su sitio, encima de sus filas, sin fijar. */
  .s-02b-all-on .s-02b-all-year { position: static; padding-block: var(--space-20) var(--space-4); font-size: 44px; }
  .s-02b-all-odo-on .s-02b-all-odo { position: sticky; top: calc(var(--nav-h) - var(--s-02b-shift, 0px)); z-index: 2; padding-block: var(--space-12) var(--space-8); font-size: 44px; }
  /* Con movimiento: la barra del año que rueda va de borde a borde. */
  .s-02b-all-odo-on .s-02b-all-odo { --s-02b-bleed: max(6.25vw, calc(50vw - 210px)); margin-inline: calc(-1 * var(--s-02b-bleed)); padding-inline: var(--s-02b-bleed); }
  .s-02b-all-odo-on .s-02b-all-odo { background: color-mix(in srgb, var(--surface-0) 93%, transparent); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--color-hairline); }
  .s-02b-all-odo-on .s-02b-all-ledger { margin-top: var(--space-24); border-top: 0; }
  .s-02b-all-odo-on .s-02b-all-era:not(.is-first) { margin-top: var(--space-20); }
}
@media (forced-colors: active) { .s-02b-all-year, .s-02b-all-title, .s-02b-odo-d, .s-02b-es-stat-num { -webkit-text-fill-color: currentColor; color: CanvasText; background: none; } }
@media print { .s-02b-sky-on .s-02b-star-card { --s-02b-cut: 0% !important; --s-02b-ink: 1 !important; opacity: 1 !important; transform: none !important; } .s-02b-thread { display: none !important; } }

/* =====================================================================
   15-nov-2026 · BLOQUES (Harvey: «quiero que sea como un bloque: bajas y te va mostrando»)
   ===================================================================== */
/* --- «02 En España», un solo bloque (ordenador, si cabe): section.js mete las tres filas sueltas de debajo en la
       escena fija, como tres pasos más con la misma composición. La que no tiene foto de su acto lleva una pieza
       oscura con su nombre; Mente Joven, con su dato. Móvil, tableta, sin JS o sin sitio: lo de siempre. --- */
.s-02b-es-many .s-02b-es-more { display: none; }
.s-02b-es-many .s-02b-es-scene:not(.is-live) { pointer-events: none; }
/* Las cinco piezas ocupan exactamente el mismo sitio (unas llevan pie y otras no): arriba, no centradas. */
.s-02b-es-many .s-02b-es-fig { align-self: start; }
.s-02b-es-many .s-02b-es-copy { align-self: center; }
.s-02b-es-frame--tile { display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box; padding: 7% 8% 7.5%; background: var(--surface-dark-alt); color: var(--color-on-dark); }
.s-02b-es-tile-top { margin: 0; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: clamp(18px, 1.7vw, 26px); line-height: 1.1; letter-spacing: -0.01em; }
.s-02b-es-tile-top::after { content: ""; display: block; width: 2.2em; height: 2px; margin-top: 0.55em; border-radius: var(--radius-pill); background: var(--color-link-on-dark); }
.s-02b-es-tile-name { margin: 0; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: clamp(44px, 5.4vw, 86px); line-height: 0.98; letter-spacing: -0.03em; text-wrap: balance; }
.s-02b-es-tile-foot { margin: var(--space-16) 0 0; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.25; color: color-mix(in srgb, var(--color-on-dark) 80%, var(--color-steel)); }
.s-02b-es-frame--tile .s-02b-es-stats { margin-top: 0; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-52); align-items: start; }
.s-02b-es-frame--tile .s-02b-es-stat { max-width: none; }
.s-02b-es-frame--tile .s-02b-es-stat-num { font-size: clamp(72px, 9.2vw, 148px); line-height: 0.9; letter-spacing: -0.04em; color: var(--color-on-dark); }
.s-02b-es-frame--tile .s-02b-es-stat-label { margin-top: var(--space-8); max-width: 13em; color: color-mix(in srgb, var(--color-on-dark) 80%, var(--color-steel)); }
.s-02b-es-tile-cap { margin: 0; }

/* --- «03 La voz de los jóvenes en las instituciones», un solo bloque que cabe en pantalla (ordenador, si cabe):
       titular contenido, las tres piezas en fila y, debajo, el texto de la que toca. section.js mueve el muro dentro
       del escenario fijo y pasa sus tres pasos con el scroll. --- */
.s-02b-on .s-02b-voice-block .s-02b-voice-stage { padding-block: var(--space-16) var(--space-12); }
.s-02b-on .s-02b-voice-block .s-02b-voice-title { margin-top: var(--space-8); max-width: none; font-size: clamp(34px, 3.5vw, 52px); line-height: 1.08; letter-spacing: -0.012em; }
.s-02b-on .s-02b-voice-block .s-02b-vline { display: inline; }
.s-02b-on .s-02b-voice-block .s-02b-voice-wall { margin-top: var(--space-24); }
.s-02b-voice-block .s-02b-rows { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 0 var(--space-24); }
.s-02b-voice-block .s-02b-row { display: contents; }
.s-02b-voice-block .s-02b-voice-fig { grid-row: 1; align-self: start; transform-origin: 50% 100%; cursor: pointer; }
.s-02b-voice-block .s-02b-row:nth-child(1) .s-02b-voice-fig { grid-column: 1; }
.s-02b-voice-block .s-02b-row:nth-child(2) .s-02b-voice-fig { grid-column: 2; }
.s-02b-voice-block .s-02b-row:nth-child(3) .s-02b-voice-fig { grid-column: 3; }
.s-02b-voice-block .s-02b-voice-frame { aspect-ratio: 3 / 2; }
.s-02b-voice-block .s-02b-voice-fig .s-02b-credit { margin-top: var(--space-8); min-height: calc(2 * var(--type-caption-lh) * 1em); text-align: center; }
.s-02b-voice-block .s-02b-row-copy { grid-row: 2; grid-column: 1 / -1; justify-self: center; margin-top: var(--space-12); max-width: 46em; text-align: center; }
.s-02b-voice-block .s-02b-row .s-02b-impact { font-size: var(--type-headline-sm-size); line-height: var(--type-headline-sm-lh); letter-spacing: var(--type-headline-sm-ls); }
.s-02b-voice-block .s-02b-row:not(.is-live) .s-02b-row-copy { pointer-events: none; }
/* La ventana encogió y el bloque ya no cabe: el muro completo, en su sitio, con el titular entero. */
.s-02b-on .s-02b-voice-still .s-02b-word { opacity: 1; }

/* --- «Todas las actuaciones»: bajo el año, la foto del acto que se está leyendo (sube con el scroll y se asienta
       entera al parar); y una placa gris suave en la fila que se lee. Las fotos solo existen con movimiento y en
       ordenador; sin JS no se ven. --- */
.s-02b-all-shots { display: none; }
.s-02b-all-side { display: contents; }
.s-02b-all-odo-on .s-02b-all-item { position: relative; isolation: isolate; }
/* Con la placa de lectura, la del ratón sobra: dos filas grises a la vez no dicen cuál se está leyendo. */
.s-02b-all-odo-on .s-02b-all-item:hover::before { opacity: 0; }
.s-02b-all-odo-on .s-02b-all-item::after { content: ""; position: absolute; inset: 4px calc(-1 * var(--space-16)); z-index: -1; border-radius: 14px; background: var(--surface-1); opacity: var(--s-02b-read, 0); pointer-events: none; }
@media (min-width: 1069px) {
  .s-02b-all-odo-on .s-02b-all-side { display: block; position: sticky; top: calc(var(--nav-h) + 8vh - var(--s-02b-shift, 0px)); align-self: start; }
  .s-02b-all-odo-on .s-02b-all-side .s-02b-all-odo { position: static; padding-top: var(--space-12); }
  .s-02b-all-odo-on .s-02b-all-side .s-02b-all-shots { display: grid; margin-top: var(--space-20); max-width: 400px; opacity: var(--s-02b-shots, 1); }
  .s-02b-all-odo-on .s-02b-all-side .s-02b-all-shots.is-empty { display: none; }
  .s-02b-all-shot { grid-area: 1 / 1; margin: 0; visibility: hidden; }
  .s-02b-all-shot.is-on { visibility: visible; }
  .s-02b-all-shot-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--surface-1); clip-path: inset(calc((1 - var(--s-02b-r, 1)) * 100%) 0 0 0 round 18px 18px 0 0); }
  .s-02b-all-shot-img, .s-02b-all-shot-img img { display: block; width: 100%; height: 100%; }
  /* 15-nov (2.ª vuelta; Harvey: «en el desliz sale medio bug»): la foto que entra sube como una tarjeta ENTERA (su
     imagen viaja con el borde, que lleva las esquinas redondeadas) y la que queda debajo retrocede: algo más pequeña
     y más oscura. Antes eran dos mitades de fotos distintas cortadas en recto. */
  .s-02b-all-shot-img { transform: translate3d(0, calc((1 - var(--s-02b-r, 1)) * 100% - var(--s-02b-out, 0) * 3%), 0) scale(calc(1 - var(--s-02b-out, 0) * 0.04)); filter: brightness(calc(1 - var(--s-02b-out, 0) * 0.24)); }
  .s-02b-all-shot-img img { object-fit: cover; object-position: 50% 40%; transform: scale(1.04); }
  .s-02b-all-shot-img--aealcee img { object-position: 50% 42%; }
  .s-02b-all-shot-img--iyd img { object-position: 50% 70%; }
  .s-02b-all-shot-img--conede img { object-position: 55% 30%; }
  .s-02b-all-shot-img--interu img { object-position: 50% 30%; }
  .s-02b-all-shot-img--cyl img { object-position: 50% 88%; }
  .s-02b-all-shot-img--consejo img { object-position: 48% 50%; }
  .s-02b-all-shot-cap { margin-top: var(--space-12); min-height: calc(2 * var(--type-caption-lh) * 1em); color: var(--color-text-secondary); opacity: var(--s-02b-t, 1); text-wrap: pretty; }
  .s-02b-all-shot--dato .s-02b-all-shot-frame { display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box; padding: 8% 9%; background: var(--surface-dark-alt); color: var(--color-on-dark); }
  .s-02b-all-dato-top { display: block; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: 18px; line-height: 1.1; }
  .s-02b-all-dato-nums { display: grid; row-gap: var(--space-8); }
  .s-02b-all-dato { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-16); align-items: end; }
  .s-02b-all-dato-n { display: block; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: clamp(44px, 4.6vw, 68px); line-height: 0.88; letter-spacing: -0.04em; }
  .s-02b-all-dato-l { display: block; margin-bottom: 0.3em; font-size: 13px; line-height: 1.22; color: color-mix(in srgb, var(--color-on-dark) 80%, var(--color-steel)); }
}
/* --- Móvil (Harvey, 15-nov: «Esto en móvil más pulido»): la cabecera de la lista ocupaba pantalla y media antes de la
       primera fila. Ahora: título en su tamaño de subtítulo, cada grupo de filtros en línea con su rótulo y píldoras
       bajas, el contador como una línea pequeña y el año como rótulo que acompaña a sus filas. Mismas palabras y
       mismos filtros. --- */
@media (max-width: 734px) {
  .s-02b-all { margin-top: var(--space-64); }
  .s-02b-all-title { font-size: clamp(26px, 7.4vw, 30px); line-height: 1.1; }
  .s-02b-all-bar { gap: var(--space-8); margin-top: var(--space-16); }
  .s-02b-all-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 5px; }
  .s-02b-all-btns { display: contents; }
  .s-02b-all-glabel { flex: 0 0 auto; min-width: 2.5em; margin: 0; }
  .s-02b-all-btn { min-height: 34px; padding: 6px 10px; font-size: 13px; line-height: 1.15; letter-spacing: -0.005em; }
  .s-02b-all-count { gap: 4px; margin-top: 2px; font-size: 13px; line-height: 1.3; }
  .s-02b-all-n { font-family: inherit; font-size: 13px; line-height: 1.3; letter-spacing: 0; }
  .s-02b-all-list { margin-top: var(--space-16); }
  .s-02b-all-on .s-02b-all-year { padding-block: var(--space-16) var(--space-4); font-size: 22px; }
  .s-02b-all-odo-on .s-02b-all-odo { padding-block: var(--space-8) 6px; font-size: 22px; }
  .s-02b-all-odo-on .s-02b-all-ledger { margin-top: var(--space-12); }
}
/* La foto propia de una fila solo se ve dentro del bloque fijo (section.js la lleva a su paso). */
.s-02b-es-row-shot { display: none; }
.s-02b-es-image--ayoka img { object-position: 50% 30%; }

/* --- 15-nov-2026 · móvil · «Todas las actuaciones» (Harvey: «hay demasiadas (pon un ver más o algo así y muestra
       menos) y si puedes cambia el estilo para que no sea tan repetitivo»). En reposo, UNA actuación por año bajo su
       año, con la miniatura de su foto (5 de 19); un botón abre las 19 y otro las recoge. Las filas con foto llevan
       su miniatura también en la lista entera: ya no son diecinueve bloques de texto iguales. Con un filtro puesto se
       ven todas las que casan. Ordenador e impresión: igual que antes. --- */
.s-02b-all-thumb, .s-02b-all-foldbox { display: none; }
@media screen and (max-width: 734px) {
  .s-02b-all-item--pic { grid-template-columns: auto minmax(0, 1fr) 64px; }
  .s-02b-all-item--pic .s-02b-all-body { grid-column: 1 / 3; }
  /* Fecha y enlace, a todo el ancho (el enlace no parte en dos líneas); la miniatura, a la altura del título. */
  .s-02b-all-item--pic .s-02b-all-src { grid-column: 2 / 4; }
  .s-02b-all-thumb { display: block; grid-column: 3; grid-row: 2; align-self: start; width: 64px; height: 64px; margin-top: 3px; border-radius: 14px; overflow: hidden; background: var(--surface-1); }
  .s-02b-all-thumb picture, .s-02b-all-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .s-02b-all-thumb--dato { display: grid; place-content: center; justify-items: center; background: #1d1d1f; color: #fff; }
  .s-02b-all-thumb-n { font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: 22px; line-height: 1; letter-spacing: -0.02em; }
  .s-02b-all-thumb-l { margin-top: 3px; font-size: 10px; line-height: 1; opacity: 0.72; }
  /* Plegada: una fila por año, cada una bajo su año; sin barra fija, sin placa de lectura, sin contador. */
  .s-02b-all-less .s-02b-all-item:not([data-lead]) { display: none; }
  .s-02b-all-less .s-02b-all-count, .s-02b-all-less .s-02b-all-odo { display: none; }
  .s-02b-all-on.s-02b-all-less .s-02b-all-year { display: block; position: static; padding-block: var(--space-16) 0; font-size: 30px; }
  .s-02b-all-on.s-02b-all-less .s-02b-all-item { border-bottom: 0; padding-block: var(--space-4) var(--space-16); }
  .s-02b-all-on.s-02b-all-less .s-02b-all-item::after { opacity: 0; }
  .s-02b-all-on.s-02b-all-less .s-02b-all-era:not(.is-first) { margin-top: 0; border-top: 1px solid var(--color-hairline); }
  .s-02b-all-on.s-02b-all-less .s-02b-all-ledger { margin-top: var(--space-8); }
  .s-02b-all-foldbox:not([hidden]) { display: flex; margin-top: var(--space-20); }
  .s-02b-all-fold { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8); min-height: 48px; padding: 0 var(--space-20); border: 0; border-radius: var(--radius-pill); background: var(--surface-1); color: var(--color-link); font: inherit; font-size: 15px; line-height: 1.2; font-weight: var(--font-weight-medium, 500); letter-spacing: -0.01em; cursor: pointer; }
  .s-02b-all-fold[hidden] { display: none; }
  .s-02b-all-fold::after { content: ""; flex: none; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translate3d(0, -2px, 0) rotate(45deg); }
  .s-02b-all-fold--less::after { transform: translate3d(0, 2px, 0) rotate(-135deg); }
}
/* --- 15-nov-2026 · Harvey: «púleme estas» (las piezas oscuras de «En España»: solo rótulo y nombre sobre negro liso).
       · Fondo con una luz suave arriba a la derecha y un filo interior.
       · Talentum: detrás, el globo punteado de la casa con Madrid marcado (tools/mapa_pieza.py del carril
         PIEZAS-FOTOS-2100; mismos datos del globo). No se dibujan destinos.
       · Mente Joven: una matriz con un punto por plaza y uno encendido por inscrito (cifras leídas de su fila); se
         encienden a la vez que cuenta la cifra.
       Solo dentro del bloque fijo: en las filas sueltas el dibujo no se enseña. --- */
.s-02b-es-row-art { display: none; }
.s-02b-es-frame--tile { position: relative; isolation: isolate; background: radial-gradient(120% 105% at 92% -6%, #303036 0%, #1d1d1f 60%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.s-02b-es-frame--tile > * { position: relative; z-index: 1; }
.s-02b-es-frame--tile .s-02b-es-row-art { display: block; position: absolute; z-index: 0; top: -16%; right: -10%; height: 132%; width: auto; aspect-ratio: 1; pointer-events: none; -webkit-mask-image: linear-gradient(205deg, #000 38%, rgba(0, 0, 0, 0.2) 80%); mask-image: linear-gradient(205deg, #000 38%, rgba(0, 0, 0, 0.2) 80%); }
.s-02b-es-art-limb { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 0.6; }
.s-02b-es-art-dots { fill: none; stroke: rgba(245, 245, 247, 0.38); stroke-width: 2.1; stroke-linecap: round; }
.s-02b-es-art-ring { fill: none; stroke: var(--color-link-on-dark); stroke-width: 0.8; opacity: 0.6; }
.s-02b-es-art-ring + .s-02b-es-art-ring { opacity: 0.28; }
.s-02b-es-art-pin { fill: var(--color-link-on-dark); }
.s-02b-es-tile-seats { display: grid; grid-template-columns: repeat(var(--s-02b-cols, 40), minmax(0, 1fr)); align-self: stretch; margin-block: auto; }
.s-02b-es-tile-seat { aspect-ratio: 1; background: radial-gradient(circle, var(--s-02b-seat, rgba(245, 245, 247, 0.2)) 0 37%, transparent 40%); }
.s-02b-es-tile-seat.is-on { --s-02b-seat: var(--color-link-on-dark); }
/* Revisor independiente (15-nov): la marca de Madrid sin nombre se leía como textura; el 170 no se ligaba con sus puntos
   azules. El punto lleva su rótulo y la cifra de inscritos toma el azul de los puntos que enciende. */
.s-02b-es-art-place { fill: rgba(245, 245, 247, 0.86); font-family: var(--font-text, inherit); font-size: 9.5px; font-weight: 500; letter-spacing: 0.01em; }
.s-02b-es-frame--tile .s-02b-es-stat + .s-02b-es-stat .s-02b-es-stat-num { color: var(--color-link-on-dark); }

/* --- 16-nov-2026 · móvil · «Todas las actuaciones» (Harvey: «quizás para que no quede tanto bloque, puede ser un menú
       plegable y así queda todo en una línea»). Los dos grupos de pastillas (cuatro renglones) pasan a dos menús lado a
       lado: «Tema: Todos ▾» y «País: Todos ▾». Cada uno es un <select> nativo con su <label>, transparente sobre una
       pastilla gris que enseña lo elegido; al elegir, section.js pulsa la pastilla equivalente (oculta aquí). Con un filtro
       puesto, su pastilla se pone en tinta, como la pastilla pulsada. Ordenador: sin cambios (los menús no se muestran). --- */
@media (max-width: 734px) {
  .s-02b-all-bar .s-02b-all-group { display: none; }
  .s-02b-all-menus[hidden] { display: none; }
  .s-02b-all-menus:not([hidden]) { display: flex; gap: var(--space-8); }
  .s-02b-all-pick { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 0.3em; min-height: 44px; box-sizing: border-box; padding: 0 30px 0 var(--space-16); border-radius: var(--radius-pill); background: var(--surface-1); color: var(--color-ink); font-size: 15px; line-height: 1.2; letter-spacing: -0.01em; transition: background-color 0.2s, color 0.2s; }
  .s-02b-all-pick-k { flex: none; color: var(--color-text-secondary); transition: color 0.2s; }
  .s-02b-all-pick-v { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--font-weight-medium, 500); }
  .s-02b-all-pick::after { content: ""; position: absolute; right: var(--space-16); top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translate3d(0, -70%, 0) rotate(45deg); opacity: 0.7; pointer-events: none; }
  .s-02b-all-pick .s-02b-all-select { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: inherit; opacity: 0; font-size: 16px; -webkit-appearance: none; appearance: none; cursor: pointer; }
  .s-02b-all-pick:focus-within { outline: 2px solid var(--color-action); outline-offset: 2px; }
  .s-02b-all-pick.is-set { background: var(--color-ink); color: var(--surface-0); }
  .s-02b-all-pick.is-set .s-02b-all-pick-k { color: color-mix(in srgb, var(--surface-0) 72%, transparent); }
}

/* --- 16-nov-2026 · móvil · «Todas las actuaciones» se anima al bajar (Harvey: «¿Y que al bajar por el móvil se anime?»).
       La raya de cada año pasa a un trazo propio (::before) que section.js dibuja de izquierda a derecha con el scroll
       (--s-02b-ln); el año sube por su propia caja y la fila le sigue. Sin JS, con movimiento reducido o al imprimir:
       la raya entera y todo quieto (el valor por defecto es 1). --- */
@media screen and (max-width: 734px) {
  .s-02b-all-on .s-02b-all-era { position: relative; }
  .s-02b-all-on .s-02b-all-era:not(.is-first) { border-top-color: transparent; }
  .s-02b-all-on .s-02b-all-era:not(.is-first)::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--color-hairline); transform-origin: 0 50%; transform: scaleX(var(--s-02b-ln, 1)); pointer-events: none; }
  .s-02b-all-odo-on:not(.s-02b-all-less) .s-02b-all-era:not(.is-first)::before { background: var(--color-ink); }
  .s-02b-all-thumb { transform-origin: 50% 50%; }
}

/* --- 16-nov-2026 · ronda 2 · móvil ---
   · «2.000» (Harvey: «esto queda muy arriba ahora»): section.js lleva la foto de la entrega de becas dentro del bloque
     fijo, entre el rótulo de la cifra y su texto; el bloque, centrado, queda compuesto y lleno.
   · «Lo que ha hecho, con nombre y fecha.» (Harvey: «esto mejor en 2»): cada línea del titular entera, en dos líneas,
     con un tamaño que cabe sin partir palabras. --- */
@media (max-width: 734px) {
  .s-02b-dots-stage .s-02b-dots-fig { margin: var(--space-20) 0 0; }
  .s-02b-dots-stage .s-02b-dots-fig .s-02b-credit { margin-top: var(--space-8); }
  .s-02b-dots-stage .s-02b-dots-fig + .s-02b-fact { margin-top: var(--space-16); }
  .s-02b-title { font-size: min(40px, 9.4vw); line-height: 1.12; }
  .s-02b-tline { white-space: nowrap; }
}
@media (max-width: 734px) and (max-height: 700px) {
  .s-02b-dots-stage .s-02b-dots-fig .s-02b-beca-image { aspect-ratio: 5 / 2; }
  .s-02b-dots-stage .s-02b-dots-fig .s-02b-beca-image img { object-position: 50% 24%; }
}

/* ==== sections/05-conexiones ==== */
/* 05 · Centroamérica e Iberoamérica: two regional posts and four countries. The complete editorial list is the default. */
.s-05-conexiones { --s-05-photo-width: clamp(420px, 36vw, 560px); --s-05-globe-diameter: min(72svh, 46vw); --s-05-nav-clearance: 64px; --s-05-bottom-clearance: 56px; isolation: isolate; }
.s-05-stage { position: relative; height: auto; overflow: visible; }
.s-05-inner { position: relative; padding-block: var(--section-padding-story); }
.s-05-header { max-width: 1060px; }
.s-05-eyebrow { margin-bottom: var(--space-16); }
.s-05-title { max-width: 1060px; }
.s-05-intro { max-width: 692px; margin-top: var(--space-20); }
.s-05-world, .s-05-origin, .s-05-controls, .s-05-tunnel, .s-05-tunnel-backdrop, .s-05-finale { display: none; }
.s-05-stops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-64) var(--space-32); margin-top: var(--space-64); }
.s-05-stop { min-width: 0; padding: 2px; }
.s-05-sede { color: var(--color-text-secondary); margin-bottom: var(--space-4); }
.s-05-city { letter-spacing: var(--type-headline-ls); }
.s-05-institution { color: var(--color-text-secondary); margin-top: var(--space-4); min-height: 40px; }
.s-05-figure { margin-top: var(--space-16); }
.s-05-photo { width: 100%; aspect-ratio: var(--s-05-photo-ratio, 4 / 5); background: var(--surface-1); }
.s-05-photo picture, .s-05-photo img { width: 100%; height: 100%; object-fit: cover; }
.s-05-photo--1 img { object-position: 46% 0%; transform: scale(1.1); transform-origin: 0 0; }
.s-05-photo--2 img { object-position: 51.5% 30%; }
.s-05-photo--4 { --s-05-photo-ratio: 4 / 3; }
.s-05-photo--4 img { object-position: 50% 0%; transform: none; }
.s-05-photo--6 img { object-position: 56.7% 35%; }
.s-05-photo--7 img { object-position: 59.5% 30%; }
.s-05-photo--8 { --s-05-photo-ratio: 4 / 3; }
.s-05-photo--8 img { object-position: 50% 0%; transform: none; }
.s-05-photo--9 img { object-position: 54.5% 40%; }
.s-05-photo--10 img { object-position: 46.6% 40%; filter: contrast(1.08) saturate(1.05); }
.s-05-caption { margin-top: var(--space-16); color: var(--color-text-secondary); text-wrap: pretty; }
.s-05-end { padding-bottom: var(--section-padding-story); }
.s-05-static-promise { max-width: 800px; margin-bottom: var(--space-48); }
.s-05-credit { color: var(--color-text-secondary); }

/* Shared scroll engine opts into the stage after checking available height. */
.s-05-enhanced { --s-05-photo-width: min(clamp(420px, 36vw, 560px), calc((100svh - 380px) * .8)); }
.s-05-enhanced .s-05-track { --s-05-timeline: 950svh; height: calc(var(--s-05-timeline) + var(--s-05-tail, 0px)); pointer-events: none; }
/* The scene's timeline keeps its original length; the tail after it holds the
   closing phrase while the next section rises beneath, then lets it go. */
.s-05-timeline, .s-05-probe { display: none; }
.s-05-enhanced .s-05-timeline { display: block; position: absolute; inset: 0 0 auto; height: var(--s-05-timeline); visibility: hidden; pointer-events: none; }
.s-05-enhanced .s-05-probe { display: block; position: absolute; top: -100svh; bottom: 0; left: 0; width: 1px; visibility: hidden; pointer-events: none; }
.s-05-enhanced.s-05-conexiones { z-index: 1; margin-bottom: calc(-1 * var(--s-05-tail, 0px)); background: transparent; pointer-events: none; }
.s-05-enhanced .s-05-stage { pointer-events: auto; }
.s-05-enhanced .s-05-stage { position: sticky; top: 0; height: 100svh; overflow: clip; clip-path: inset(0); isolation: isolate; background: var(--surface-0); }
/* Keep the standard translucent navigation over its original white backing. */
.s-05-enhanced .s-05-stage::after { content: ''; position: absolute; inset: 0 0 auto; height: var(--nav-h); background: var(--surface-0); z-index: 9; pointer-events: none; }
.s-05-enhanced .s-05-inner { height: 100%; padding-block: 0; }
.s-05-enhanced .s-05-header { position: absolute; top: calc(var(--nav-h) + var(--s-05-nav-clearance)); left: 0; width: 100%; z-index: 3; pointer-events: none; transform-origin: left top; }
.s-05-enhanced .s-05-intro { max-width: 650px; }
/* The canvas spans the whole stage; JS anchors the globe to the container's left edge. */
.s-05-enhanced .s-05-world { display: block; position: absolute; width: 100vw; height: 100%; left: calc((100% - 100vw) / 2); top: 0; }
.s-05-canvas { width: 100%; height: 100%; max-width: none; }
.s-05-enhanced .s-05-origin { display: grid; gap: var(--space-8); position: absolute; top: 53%; left: var(--s-05-panel-x, auto); right: auto; width: 200px; }
.s-05-origin-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-action); margin-bottom: var(--space-12); }
.s-05-origin > :first-of-type, .s-05-origin > :last-child { color: var(--color-text-secondary); }
.s-05-enhanced .s-05-stops { display: block; margin: 0; }
.s-05-enhanced .s-05-stop { position: absolute; left: var(--s-05-panel-x, auto); right: auto; top: 50%; width: var(--s-05-panel-w, var(--s-05-photo-width)); transform-origin: center; }
.s-05-enhanced .s-05-controls { position: absolute; inset: auto 0 var(--s-05-bottom-clearance); display: flex; gap: var(--space-24); align-items: center; z-index: 8; background: var(--surface-0); border: 1px solid var(--color-hairline); border-radius: var(--radius-pill); padding-inline: var(--space-12); }
.s-05-controls[inert] { pointer-events: none; }
.s-05-position { min-width: 65px; }
.s-05-count { color: var(--color-ink); font-weight: var(--font-weight-semibold); }
.s-05-count-total { color: var(--color-text-secondary); }
.s-05-route { display: flex; gap: var(--space-4); align-items: center; }
.s-05-step { display: grid; place-items: center; width: 32px; height: 44px; }
.s-05-step::after { content: ''; width: 5px; height: 5px; border-radius: var(--radius-pill); background: var(--color-hairline); }
.s-05-step[aria-current="step"]::after { width: 24px; background: var(--color-action); }
.s-05-static { display: inline-flex; gap: var(--space-8); align-items: center; color: var(--color-link); margin-left: auto; min-height: 44px; }
.s-05-control-short { display: none; }
.s-05-static:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.s-05-enhanced .s-05-static-promise { display: none; }
.s-05-enhanced .s-05-end { display: none; }

/* The outer sticky stage clips the scene. Keeping this inner volume unflattened
   lets each complete photograph occupy its own tilted plane in perspective. */
.s-05-enhanced .s-05-tunnel, .s-05-enhanced .s-05-tunnel-backdrop { display: block; position: absolute; inset: var(--nav-h) calc((100% - 100vw) / 2) 0; pointer-events: none; opacity: 0; }
.s-05-enhanced .s-05-tunnel-backdrop { background: #fff; z-index: 4; }
.s-05-enhanced .s-05-tunnel { perspective: 1200px; perspective-origin: 50% 50%; transform-style: preserve-3d; overflow: visible; z-index: 5; }
.s-05-flight { position: absolute; left: 50%; top: 50%; min-width: 0; min-height: 0; opacity: 0; backface-visibility: hidden; }
.s-05-flight[hidden] { display: none; }
.s-05-flight picture, .s-05-flight img { display: block; width: 100%; height: 100%; }
/* Corners come from the clip-path set per frame, so they stay true at every scale. */
.s-05-flight img { object-fit: cover; object-position: 50% 50%; transform: none; }
.s-05-enhanced .s-05-finale { display: grid; place-items: center; position: absolute; inset: 0; padding-block: calc(var(--nav-h) + var(--s-05-nav-clearance)) var(--s-05-bottom-clearance); overflow: clip; background: var(--surface-0); color: var(--color-ink); z-index: 7; clip-path: circle(0px at 50% 50%); }
.s-05-finale-photo { position: absolute; inset: calc(var(--nav-h) + var(--s-05-nav-clearance)) 90px 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-12); margin: 0; pointer-events: none; }
.s-05-finale-media { width: min(100%, calc((100svh - var(--nav-h) - var(--s-05-nav-clearance) - 56px - 64px) * 1536 / 1264)); aspect-ratio: 1536 / 1264; flex: 0 0 auto; overflow: hidden; border-radius: var(--radius-card); }
.s-05-finale-media picture, .s-05-finale-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.s-05-finale-credit { display: block; margin-top: var(--space-4); }
.s-05-finale-caption { max-width: 100%; font-size: var(--type-caption-size); line-height: var(--type-caption-lh); color: var(--color-text-secondary); text-align: center; text-wrap: pretty; }
.s-05-finale-inner { position: relative; width: var(--content-width); max-width: var(--content-max); text-align: center; }
.s-05-home { color: var(--color-text-secondary); margin-bottom: var(--space-32); }
.s-05-promise { font-size: clamp(56px, 8vw, 120px); line-height: 1.05; letter-spacing: -.03em; }
.s-05-promise-line { display: block; width: fit-content; position: relative; margin-inline: auto; }
.s-05-promise-last { color: var(--color-link); }
.s-05-beam { display: block; position: absolute; width: 2px; top: 9%; bottom: 0; left: 0; background: var(--color-link); }
.s-05-again { display: inline-flex; align-items: center; gap: var(--space-8); color: var(--color-link); margin-top: var(--space-48); min-height: 44px; }

@media (min-width: 735px) and (max-width: 1068px) {
  .s-05-conexiones { --s-05-photo-width: clamp(300px, 40vw, 420px); }
  .s-05-enhanced { --s-05-photo-width: min(clamp(300px, 36vw, 420px), calc((100svh - 400px) * .8)); }
}
@media (max-width: 1068px) {
  .s-05-stops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-05-step { width: 28px; }
}
@media (max-width: 734px) {
  .s-05-conexiones, .s-05-enhanced { --s-05-photo-width: 100%; --s-05-globe-diameter: min(44svh, 86vw); --s-05-nav-clearance: 64px; }
  .s-05-stops { grid-template-columns: minmax(0, 1fr); gap: var(--space-48); }
  .s-05-stop { max-width: 360px; margin-inline: auto; }
  .s-05-title { font-size: var(--type-section-size); line-height: var(--type-section-lh); }
  .s-05-intro { font-size: var(--type-body-size); line-height: var(--type-body-lh); }
  .s-05-enhanced .s-05-track { --s-05-timeline: 1000svh; }
  .s-05-enhanced .s-05-eyebrow { font-size: var(--type-small-size); margin-bottom: var(--space-12); }
  .s-05-enhanced .s-05-intro { margin-top: var(--space-12); }
  .s-05-enhanced .s-05-origin { top: 70%; left: 0; right: auto; width: 100%; justify-items: center; text-align: center; }
  .s-05-origin-dot { margin-bottom: var(--space-4); }
  .s-05-enhanced .s-05-controls { gap: var(--space-12); flex-wrap: nowrap; justify-content: space-between; }
  .s-05-position { min-width: 42px; font-size: var(--type-caption-size); }
  .s-05-route { gap: 0; flex: 1; min-width: 0; }
  .s-05-step { width: auto; flex: 1; min-width: 0; }
  .s-05-step[aria-current="step"]::after { width: 16px; }
  .s-05-static { font-size: var(--type-caption-size); min-height: 44px; flex: 0 0 auto; margin: 0; }
  .s-05-static svg, .s-05-control-full { display: none; }
  .s-05-control-short { display: inline; }
  .s-05-finale-photo { inset-inline: var(--space-24); }
  .s-05-finale-media { width: min(100%, calc((100svh - var(--nav-h) - var(--s-05-nav-clearance) - 56px - 96px) * .8)); aspect-ratio: 4 / 5; }
  .s-05-finale-media img { object-position: 45% 40%; }
  .s-05-home { margin-bottom: var(--space-24); }
}
/* 2.0 · Centroamérica: each stop says what he did, with whom and when; the
   source link and any second line sit under it. Stops without a photograph
   are text cards: the text takes the whole card, never an empty frame. */
.s-05-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.s-05-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-link); }
.s-05-link:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.s-05-link::after { content: '\2197'; margin-left: var(--space-4); }
.s-05-second { margin-top: var(--space-8); }
.s-05-source { color: var(--color-text-secondary); margin-top: 0; }
.s-05-extra { margin-top: var(--space-16); padding-top: var(--space-16); border-top: 1px solid var(--color-hairline); }
.s-05-extra-title { color: var(--color-ink); font-weight: var(--font-weight-semibold); }
.s-05-extra .s-05-institution { min-height: 0; }
.s-05-stop .s-05-second, .s-05-stop .s-05-extra .s-05-institution { min-height: 0; }
.s-05-photo--rey img { object-position: 50% 30%; }
.s-05-support { margin-bottom: var(--space-64); }
.s-05-support-label { color: var(--color-text-secondary); margin-bottom: var(--space-24); }
.s-05-support-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-32); }
/* List without animation: photographs at 3:2 so a stop with a photo stays
   close to the height of its text neighbours (no tall blank beside it). */
.s-05-conexiones:not(.s-05-enhanced) .s-05-stop .s-05-photo, .s-05-support .s-05-photo { aspect-ratio: 3 / 2; }
.s-05-conexiones:not(.s-05-enhanced) .s-05-stop .s-05-photo img, .s-05-support .s-05-photo img { object-position: 50% 22%; transform: none; }
.s-05-support-row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
@media (max-width: 1068px) {
  .s-05-support-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 734px) {
  .s-05-support-row { grid-template-columns: minmax(0, 1fr); max-width: 360px; margin-inline: auto; }
}

/* ============================================================================
   X2 · 12-nov-2026 · La ficha de parada, en dos tiempos (una maqueta por tamaño).
   1) El arco aterriza y se abre la FOTO del encuentro en grande, con su pie
      (4:5 en ordenador, 3:2 a todo el ancho en el móvil): la pieza aprobada.
   2) Al seguir bajando la foto se recoge en su hueco y a su lado se abre el
      contexto: qué hizo, cuándo, con quién y la fuente («reducirlas y añadir
      contexto»). Nada se esconde tras un clic: lo trae el scroll.
   section.js mide en measure() y mueve la foto y el pie solo con transform,
   opacity y clip-path. Sin JS, con movimiento reducido o en «Ver lista»: la
   lista completa de arriba.
   ============================================================================ */
.s-05-when { color: var(--color-ink); font-weight: var(--font-weight-semibold); }
.s-05-enhanced .s-05-stop { display: grid; align-content: start; }
.s-05-enhanced .s-05-stop[hidden] { display: none; }
.s-05-enhanced .s-05-stop .s-05-location, .s-05-enhanced .s-05-stop .s-05-figure { display: contents; }
.s-05-enhanced .s-05-stop .s-05-sede { margin: 0 0 var(--space-8); }
.s-05-enhanced .s-05-stop .s-05-city { text-wrap: balance; overflow-wrap: break-word; }
.s-05-enhanced .s-05-stop .s-05-institution { display: block; min-height: 0; margin-top: 0; color: var(--color-text-secondary); text-wrap: pretty; }
.s-05-enhanced .s-05-stop .s-05-dated { display: flex; flex-direction: column; }
.s-05-enhanced .s-05-stop .s-05-dated > .s-05-when { order: -1; font-size: var(--type-caption-size); line-height: 16px; letter-spacing: .01em; margin-bottom: var(--space-4); }
.s-05-enhanced .s-05-stop .s-05-dated > .s-05-sep { display: none; }
.s-05-enhanced .s-05-stop .s-05-second { margin-top: var(--space-12); }
.s-05-enhanced .s-05-stop .s-05-link { min-height: 32px; margin-top: var(--space-4); font-size: var(--type-small-size); }
.s-05-enhanced .s-05-stop .s-05-source { margin-top: 0; color: var(--color-steel); }
.s-05-enhanced .s-05-stop .s-05-extra { margin-top: var(--space-12); padding-top: var(--space-12); }
.s-05-enhanced .s-05-stop .s-05-extra-title { margin-bottom: var(--space-4); }
/* The photograph is laid out at its resting size; the opening scales it up from its own corner. */
.s-05-enhanced .s-05-stop .s-05-photo { align-self: start; width: 100%; height: auto; max-height: none; margin: 0; border-radius: 0; transform-origin: 0 0; }
.s-05-enhanced .s-05-stop .s-05-caption { margin: var(--space-8) 0 0; font-size: var(--type-caption-size); line-height: 16px; text-align: left; }

/* Ordenador ancho: lugar y título a todo el ancho; debajo, la foto 4:5 y el contexto a su derecha. */
@media (min-width: 1069px) {
  .s-05-conexiones .s-05-dated { display: flex; flex-direction: column; }
  .s-05-conexiones .s-05-dated > .s-05-when { order: -1; font-size: var(--type-caption-size); line-height: 16px; letter-spacing: .01em; margin-bottom: var(--space-4); }
  .s-05-conexiones .s-05-dated > .s-05-sep { display: none; }
  .s-05-enhanced { --s-05-photo-width: clamp(420px, 40vw, 600px); }
  .s-05-enhanced .s-05-stop { grid-template-columns: clamp(180px, 41%, 236px) minmax(0, 1fr); column-gap: var(--space-28); grid-template-rows: auto auto repeat(6, auto) 1fr; }
  .s-05-enhanced .s-05-stop--text { grid-template-columns: minmax(0, 1fr); }
  .s-05-enhanced .s-05-stop .s-05-sede { grid-column: 1 / -1; grid-row: 1; }
  .s-05-enhanced .s-05-stop .s-05-city { grid-column: 1 / -1; grid-row: 2; margin-bottom: var(--space-20); font-size: var(--type-card-title-size); line-height: var(--type-card-title-lh); letter-spacing: var(--type-card-title-ls); }
  .s-05-enhanced .s-05-stop .s-05-location > :not(.s-05-sede):not(.s-05-city) { grid-column: 2; }
  .s-05-enhanced .s-05-stop--text .s-05-location > :not(.s-05-sede):not(.s-05-city) { grid-column: 1; }
  /* Photograph and caption stay one piece (the caption never drifts down when the text column is longer). */
  .s-05-enhanced .s-05-stop .s-05-figure { display: block; grid-column: 1; grid-row: 3 / 10; align-self: start; margin: 0; }
  .s-05-enhanced .s-05-stop .s-05-photo { aspect-ratio: 4 / 5; }
  .s-05-enhanced .s-05-stop .s-05-institution { font-size: var(--type-body-size); line-height: 24px; }
  .s-05-enhanced .s-05-stop .s-05-extra-title { font-size: var(--type-body-size); line-height: 24px; }
  .s-05-enhanced .s-05-stop .s-05-second, .s-05-enhanced .s-05-stop .s-05-extra .s-05-institution { font-size: var(--type-small-size); line-height: 20px; }
}
@media (min-width: 1069px) and (max-height: 800px) {
  .s-05-enhanced .s-05-stop .s-05-city { font-size: 22px; line-height: 26px; margin-bottom: var(--space-16); }
  .s-05-enhanced .s-05-stop .s-05-institution, .s-05-enhanced .s-05-stop .s-05-extra-title { font-size: var(--type-small-size); line-height: 20px; }
}

/* Tableta y móvil (ronda 2): el lugar y el título arriba, a todo el ancho y siempre a la vista, para que se
   sepa qué parada es también mientras la foto está grande. Debajo, la foto 3:2 con el hecho principal a su
   lado; lo demás, a todo el ancho. En el primer tiempo la foto ocupa el ancho y el pie va justo debajo. */
@media (max-width: 1068px) {
  .s-05-enhanced .s-05-stop { grid-template-columns: clamp(124px, 38%, 168px) minmax(0, 1fr); column-gap: var(--space-12); }
  .s-05-enhanced .s-05-stop--text { grid-template-columns: minmax(0, 1fr); }
  .s-05-enhanced .s-05-stop .s-05-sede { grid-column: 1 / -1; grid-row: 1; margin-bottom: 2px; }
  .s-05-enhanced .s-05-stop .s-05-city { grid-column: 1 / -1; grid-row: 2; margin-bottom: var(--space-12); font-size: 21px; line-height: 25px; }
  .s-05-enhanced .s-05-stop .s-05-photo { grid-column: 1; grid-row: 3; aspect-ratio: 3 / 2; margin-bottom: var(--space-8); }
  .s-05-enhanced .s-05-stop .s-05-photo img { object-position: 50% var(--s-05-face-y, 24%); transform: none; }
  .s-05-enhanced .s-05-stop .s-05-location > .s-05-city + .s-05-institution { grid-column: 2; grid-row: 3; }
  .s-05-enhanced .s-05-stop .s-05-location > :not(.s-05-sede):not(.s-05-city):not(.s-05-city + .s-05-institution) { grid-column: 1 / -1; }
  .s-05-enhanced .s-05-stop--text .s-05-location > .s-05-city + .s-05-institution { grid-column: 1; grid-row: auto; }
  .s-05-enhanced .s-05-stop .s-05-institution { font-size: var(--type-small-size); line-height: 20px; }
  /* Out of flow: it belongs to the large photograph and leaves with it. */
  .s-05-enhanced .s-05-stop .s-05-caption { position: absolute; inset: 0 0 auto; margin: 0; text-align: left; }
}
@media (max-width: 734px) {
  .s-05-enhanced .s-05-stop { top: 46svh; left: 0; right: 0; width: 100%; max-width: none; }
  .s-05-enhanced .s-05-stop .s-05-city { font-size: 19px; line-height: 23px; margin-bottom: var(--space-8); }
  .s-05-enhanced .s-05-stop .s-05-sede { font-size: var(--type-caption-size); line-height: 16px; }
  .s-05-enhanced .s-05-stop .s-05-institution { line-height: 19px; }
  .s-05-enhanced .s-05-stop .s-05-second, .s-05-enhanced .s-05-stop .s-05-extra .s-05-institution, .s-05-enhanced .s-05-stop .s-05-source { font-size: var(--type-caption-size); line-height: 16px; }
  .s-05-enhanced .s-05-stop .s-05-second { margin-top: var(--space-8); }
  .s-05-enhanced .s-05-stop .s-05-extra { margin-top: var(--space-8); padding-top: var(--space-8); }
  .s-05-enhanced .s-05-stop .s-05-extra-title { font-size: var(--type-small-size); line-height: 19px; }
  .s-05-enhanced .s-05-stop .s-05-link { font-size: var(--type-small-size); }
}
/* Ficha compacta (section.js la pide cuando con la normal el globo bajaría de su radio mínimo: teléfonos
   muy bajos o de 320 px): lugar y título a todo el ancho, como la ficha del 11-nov, y la foto fuera del
   flujo: abre igual de grande y después se funde, en vez de recogerse. La escena nunca cae a la lista por esto. */
@media (max-width: 734px) {
  .s-05-enhanced.s-05-compact .s-05-stop { grid-template-columns: minmax(0, 1fr); }
  .s-05-enhanced.s-05-compact .s-05-stop .s-05-sede, .s-05-enhanced.s-05-compact .s-05-stop .s-05-city { grid-column: 1; }
  .s-05-enhanced.s-05-compact .s-05-stop .s-05-location > .s-05-city + .s-05-institution { grid-column: 1; grid-row: auto; }
  .s-05-enhanced.s-05-compact .s-05-stop .s-05-photo { position: absolute; top: 0; left: 0; width: 124px; margin: 0; }
}
/* Teléfonos bajos (Safari con su barra): la ficha se queda con el hecho principal; las segundas
   líneas, el bloque extra y los enlaces de fuente siguen en «Ver lista». Así el globo conserva
   su radio mínimo y la escena siempre arranca (regla del 11-nov, intacta). */
@media (max-width: 734px) and (max-height: 819px) {
  .s-05-enhanced .s-05-stop .s-05-second, .s-05-enhanced .s-05-stop .s-05-extra, .s-05-enhanced .s-05-stop .s-05-source, .s-05-enhanced .s-05-stop .s-05-link { display: none; }
}
@media (min-width: 735px) and (max-width: 1068px) {
  .s-05-enhanced { --s-05-photo-width: clamp(300px, 40vw, 420px); }
}
@media print {
  .s-05-eyebrow, .s-05-intro { opacity: 1 !important; }
  .s-05-enhanced .s-05-track { height: auto; }
  .s-05-enhanced .s-05-stage { position: static; height: auto; overflow: visible; clip-path: none; isolation: auto; }
  .s-05-enhanced .s-05-stage::after { display: none; }
  .s-05-enhanced .s-05-header, .s-05-enhanced .s-05-stop { position: static; width: auto; opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .s-05-enhanced .s-05-stops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-32); margin-top: var(--space-32); }
  .s-05-enhanced .s-05-stop[hidden] { display: block !important; }
  .s-05-enhanced .s-05-inner { padding-block: var(--space-32); }
  .s-05-enhanced .s-05-stop .s-05-photo { width: 100%; height: auto; aspect-ratio: var(--s-05-photo-ratio, 4 / 5); clip-path: none !important; }
  .s-05-enhanced .s-05-stop { display: block; }
  .s-05-enhanced .s-05-figure { display: block; }
  .s-05-world, .s-05-origin, .s-05-controls, .s-05-tunnel, .s-05-tunnel-backdrop, .s-05-finale { display: none !important; }
  .s-05-enhanced .s-05-stop .s-05-photo, .s-05-enhanced .s-05-stop .s-05-caption, .s-05-enhanced .s-05-stop .s-05-location > * { transform: none !important; opacity: 1 !important; }
  .s-05-enhanced .s-05-stop .s-05-caption { position: static; text-align: left; margin-top: var(--space-8); }
}
/* X2 · 12-nov · encuadres de las cuatro fotos nuevas: caras enteras en 4:5 (ordenador) y en 3:2 (móvil). */
.s-05-photo--parlacen img { object-position: 44% 50%; }
.s-05-photo--salvador { --s-05-face-y: 60%; }
.s-05-photo--salvador img { object-position: 55% 50%; }
/* Ronda 2: Panamá lleva la foto del propio acto de la Orden (la de la galería). Los dos, de frente y enteros. */
.s-05-photo--panama { --s-05-face-y: 8%; }
.s-05-photo--panama img { object-position: 30% 50%; }
.s-05-photo--rd img { object-position: 44% 50%; }

/* 15-nov · apertura (parada 00) en móvil. «Punto de partida · Madrid · España» pasa a una línea bajo la entradilla
   (section.js le da el alto), y deja todo el hueco al globo, que abre a casi todo el ancho. */
@media (max-width: 734px) {
  .s-05-enhanced .s-05-origin { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 0 var(--space-8); text-align: left; }
  .s-05-enhanced .s-05-origin-dot { align-self: center; margin: 0; }
  .s-05-enhanced .s-05-origin > p { font-family: var(--font-text); font-size: 15px; line-height: 20px; letter-spacing: -0.01em; }
  .s-05-enhanced .s-05-origin > .typography-headline-sm { font-weight: var(--font-weight-semibold); color: var(--color-ink); }
  .s-05-enhanced .s-05-origin > p + p::before { content: "\00B7"; margin-right: var(--space-8); font-weight: var(--font-weight-regular); color: var(--color-text-secondary); }
}
/* 15-nov · la ficha de parada en móvil, un punto más grande (Harvey: «quizás queda el texto muy pequeño»): país y
   fecha de 12 a 13, título de 19 a 20 y texto de 14 a 15. Las segundas líneas y el bloque extra guardan su cuerpo, y la
   foto su ancho: son lo que hace alta la ficha más larga, y todo lo que crece la ficha lo pierde el globo. section.js vuelve a medir la ficha: el globo cede
   lo justo y la ficha nunca tapa la barra. */
@media (max-width: 734px) {
  .s-05-enhanced .s-05-stop .s-05-sede { font-size: 13px; line-height: 18px; }
  .s-05-enhanced .s-05-stop .s-05-city { font-size: 20px; line-height: 24px; }
  .s-05-enhanced .s-05-stop .s-05-institution { font-size: 15px; line-height: 20px; }
  .s-05-enhanced .s-05-stop .s-05-dated > .s-05-when { font-size: 13px; line-height: 18px; }
}

/* 16-nov (Harvey, móvil: «Aquí en abril no tendríamos que poner mayúsculas? y en agosto»): cuando la fecha va sola en su
   renglón, encima del hecho, empieza con mayúscula («Abril de 2023»). Dentro de la frase sigue en minúscula. */
.s-05-enhanced .s-05-stop .s-05-dated > .s-05-when::first-letter { text-transform: uppercase; }
@media (max-width: 1068px) { .s-05-conexiones .s-05-dated > .s-05-when::first-letter { text-transform: uppercase; } }
/* 16-nov (Harvey: «que la imagen se transforme a otro formato para que quede a la misma altura debajo que el texto y que
   se vea más clean y pulido»): en móvil, la foto pequeña de la ficha toma el alto del texto que tiene al lado (el renglón
   de la rejilla) en vez de ir a 3:2 fijo; así foto y texto acaban a la misma altura. Nunca más baja que 96 px. */
@media (max-width: 734px) {
  .s-05-enhanced:not(.s-05-compact) .s-05-stop:not(.s-05-stop--text) .s-05-photo { align-self: stretch; aspect-ratio: auto; height: auto; min-height: 96px; margin-bottom: 0; position: relative; overflow: hidden; }
  .s-05-enhanced:not(.s-05-compact) .s-05-stop:not(.s-05-stop--text) .s-05-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .s-05-enhanced:not(.s-05-compact) .s-05-stop:not(.s-05-stop--text) .s-05-photo picture { position: absolute; inset: 0; }
  .s-05-enhanced:not(.s-05-compact) .s-05-stop:not(.s-05-stop--text) .s-05-location > .s-05-city + .s-05-institution { margin-bottom: var(--space-8); }
}
/* 16-nov (auditoría móvil #15): «De vuelta a Madrid.» cabe entero a 320 (a 56 px «a Madrid.» llenaba la línea y, mientras
   la línea se dibuja, se leía «a Madri»). 13vw: 42 px a 320, 51 px a 390, 56 px desde 431. */
@media (max-width: 734px) {
  .s-05-promise { font-size: clamp(40px, 13vw, 56px); }
}
/* 16-nov (móvil): la pista acaba un poco antes que la línea de tiempo (--s-05-early, lo mide section.js), así «Cercanía»
   empieza a subir mientras «De vuelta a Madrid.» aún se dibuja. Sin la variable (ordenador) el alto es el de siempre. */
.s-05-enhanced .s-05-track { height: calc(var(--s-05-timeline) + var(--s-05-tail, 0px) - var(--s-05-early, 0px)); }

/* ==== sections/06-cercania ==== */
/* 06 · Editorial bento: two rows of four photographs, alternating wide and narrow.
   In each row one photo sets the height by its ratio; the other fills it, so both
   frames and both captions line up (subgrid). */
.s-06-cercania { --s-06-photo-radius: var(--radius-card); --s-06-gutter: var(--space-24); isolation: isolate; }
.s-06-track { position: absolute; top: -100vh; right: 0; bottom: 0; left: 0; pointer-events: none; }
/* .s-06-stage is a <section> on purpose: the globe (05-conexiones, measureTail) times its exit with the distance from
   the nearest <section> above «#s-06-title» to that title. In the pinned scene the title travels with the stage, so the
   stage must be that <section>, or the globe would measure a distance that grows with the scroll (and the page would
   jump on any re-measure). Out of the scene the stage starts where the section starts (its padding is the section's
   own, pulled up), so that distance is the one of 2.0.14. */
.s-06-stage { display: block; margin-top: calc(-1 * var(--section-padding-story)); padding-top: var(--section-padding-story); }
.s-06-header { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-06-gutter); align-items: end; margin-bottom: var(--space-80); }
.s-06-heading { grid-column: 1 / 7; min-width: 0; }
.s-06-eyebrow { margin-bottom: var(--space-20); }
.s-06-title { max-width: 8em; text-wrap: balance; }
.s-06-intro { grid-column: 8 / 13; color: var(--color-text-secondary); text-wrap: pretty; }
.s-06-grid { display: grid; gap: var(--space-64); }
.s-06-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: var(--s-06-gutter); }
.s-06-card { min-width: 0; position: relative; grid-row: span 2; display: grid; grid-template-rows: subgrid; row-gap: var(--space-16); margin: 0; }
.s-06-card--b { grid-column: 1 / 8; }
.s-06-card--e { grid-column: 8 / 13; }
.s-06-card--c { grid-column: 1 / 5; }
.s-06-card--g { grid-column: 5 / 13; }
.s-06-visual { position: relative; min-width: 0; min-height: 0; border-radius: var(--s-06-photo-radius); isolation: isolate; }
.s-06-visual::before { content: ""; position: absolute; inset: 0; border: var(--space-8) solid var(--color-link); border-radius: inherit; filter: blur(var(--space-8)); opacity: 0.05; pointer-events: none; }
.s-06-crop { position: relative; z-index: 1; border-radius: inherit; }
.s-06-photo { display: block; width: 100%; height: 100%; }
.s-06-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The leading photo of each row sets its height... */
.s-06-card--e .s-06-crop { aspect-ratio: 8 / 7; }
.s-06-card--g .s-06-crop { aspect-ratio: 4 / 3; }
/* ...and its partner fills it without adding height of its own. */
.s-06-card--fill .s-06-visual, .s-06-card--fill .s-06-crop { height: 100%; }
.s-06-card--fill .s-06-photo { position: absolute; inset: 0; }
/* Crops: every face whole. ECOSOC keeps the officer's face inside the frame. */
.s-06-card--b .s-06-photo img { object-position: 60% 78%; }
.s-06-card--e .s-06-photo img { object-position: 30% 50%; }
.s-06-card--c .s-06-photo img { object-position: 45% 0%; }
.s-06-card--g .s-06-photo img { object-position: 50% 60%; }
.s-06-caption { color: var(--color-text-secondary); padding-inline: var(--space-4); max-width: 46em; text-wrap: pretty; }
/* The credit sits right under the last photo; no empty cushion closes the section. */
.s-06-cercania { padding-bottom: var(--space-64); }
.s-06-credit { color: var(--color-text-secondary); margin-top: var(--space-16); }

@media (max-width: 1068px) {
  .s-06-heading { grid-column: 1 / -1; }
  .s-06-intro { grid-column: 1 / 10; margin-top: var(--space-24); }
}
@media (max-width: 734px) {
  .s-06-header { display: block; margin-bottom: var(--space-48); }
  .s-06-title { font-size: var(--type-hero-size); line-height: var(--type-hero-lh); letter-spacing: var(--type-hero-ls); }
  .s-06-eyebrow { margin-bottom: var(--space-16); }
  .s-06-grid { gap: var(--space-40); }
  .s-06-row { display: contents; }
  .s-06-card { grid-column: auto; grid-row: auto; grid-template-rows: auto auto; row-gap: var(--space-12); }
  .s-06-card--fill .s-06-visual, .s-06-card--fill .s-06-crop { height: auto; }
  .s-06-card--fill .s-06-photo { position: static; }
  .s-06-card--b .s-06-crop { aspect-ratio: 3 / 2; }
  .s-06-card--c .s-06-crop { aspect-ratio: 2 / 3; }
  .s-06-card--e .s-06-crop { aspect-ratio: 1; }
  .s-06-card--g .s-06-crop { aspect-ratio: 4 / 3; }
  .s-06-caption { padding-inline: 0; }
  /* Mobile polish: 20px gutter, 16px corners, no portrait taller than 4:5. */
  .s-06-cercania { --s-06-photo-radius: var(--space-16); }
  .s-06-container { width: calc(100% - var(--space-40)); }
  .s-06-title { text-wrap: balance; }
  .s-06-card--c .s-06-crop { aspect-ratio: 4 / 5; }
  .s-06-card--c .s-06-photo img { object-position: 45% 30%; }
}
@media (prefers-reduced-motion: reduce) {
  .s-06-card { opacity: 1 !important; transform: none !important; }
  .s-06-credit, .s-06-gallery { transform: none !important; }
  .s-06-visual { clip-path: none !important; transform: none !important; opacity: 1 !important; filter: none !important; }
  .s-06-caption, .s-06-gallery, .s-06-photo { opacity: 1 !important; transform: none !important; }
}
@media print {
  .s-06-track { display: none; }
  .s-06-row { display: contents; }
  .s-06-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-24); }
  .s-06-card { grid-column: auto; grid-row: auto; grid-template-rows: auto auto; opacity: 1 !important; transform: none !important; break-inside: avoid; }
  .s-06-card--fill .s-06-photo { position: static; }
  .s-06-card--fill .s-06-crop { aspect-ratio: 4 / 3; height: auto; }
  .s-06-visual { clip-path: none !important; transform: none !important; opacity: 1 !important; filter: none !important; }
  .s-06-photo { transform: none !important; opacity: 1 !important; }
  .s-06-visual::before { display: none; }
}

/* 11-nov: puerta a la galería por etapas (/galeria/). */
.s-06-gallery { margin-top: var(--space-24); }

/* 15-nov-2026 (noche) · Escena «las fotos se acercan» (Harvey: «Convierte esta en una seccion que al bajar se vaya
   animando (diferente a las demas)»). El bloque se queda fijo bajo el menú: el titular a la izquierda no se mueve y,
   a la derecha, las cuatro fotos esperan LEJOS (más pequeñas y algo apagadas, cada una dentro de su marco, que ya
   está en su sitio) y se acercan de una en una hasta llenarlo, en un mosaico de dos columnas; cada pie aparece cuando su foto llega y el enlace a la
   galería cierra la escena. La clase .s-06-escena la pone section.js solo con movimiento permitido, ≥ 1024 px de
   ancho y una ventana donde el bloque cabe; sin ella (móvil, tableta, ventana baja, sin JS, impresión) vale todo lo
   de arriba, como en la 2.0.14. */
.s-06-tira { display: none; }
@media screen and (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .s-06-escena { padding-block: 0; height: calc(var(--s-06-sh, 100vh) + var(--s-06-run, 0px)); }
  .s-06-escena .s-06-stage { position: sticky; top: var(--nav-h); display: flex; align-items: center; height: var(--s-06-sh, calc(100vh - var(--nav-h))); margin-top: 0; padding-top: 0; }
  .s-06-escena .s-06-container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto minmax(0, 1fr) auto auto auto; column-gap: var(--s-06-gutter); height: min(100% - 96px, 760px); }
  /* 16-nov (Harvey: «queda bastante espacio arriba y abajo»): el texto ya no flota en el centro con dos bandas vacías;
     el titular arranca a la altura de la primera foto y el crédito y el enlace cierran a la altura del último pie. */
  .s-06-escena .s-06-header { grid-column: 1 / 5; grid-row: 1; align-self: start; display: block; margin-bottom: 0; }
  .s-06-escena .s-06-title { max-width: none; font-size: clamp(44px, 4.9vw, 74px); }
  .s-06-escena .s-06-intro { margin-top: var(--space-24); }
  /* 16-nov, tercera pasada: abajo, una tira de la galería (cuatro fotos de la etapa «Con los jóvenes»), el enlace siempre a la vista
     y el crédito al final, a la altura del último pie del mosaico. */
  .s-06-escena .s-06-tira { grid-column: 1 / 5; grid-row: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .s-06-escena .s-06-tira picture, .s-06-escena .s-06-tira img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%; border-radius: 10px; }
  .s-06-escena .s-06-tira.s-06-tira-fit { grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .s-06-escena .s-06-tira.s-06-tira-fit picture, .s-06-escena .s-06-tira.s-06-tira-fit img { height: 100%; aspect-ratio: auto; }
  .s-06-escena .s-06-credit { grid-column: 1 / 5; grid-row: 5; margin-top: var(--space-8); }
  .s-06-escena .s-06-gallery { grid-column: 1 / 5; grid-row: 4; margin-top: var(--space-16); }
  /* Mosaico: dos columnas (2:1) sobre 40 filas finas; cada columna parte su alto a su manera, así las cuatro fotos
     guardan una proporción cercana a la suya (las dos anchas a la izquierda, el retrato y el trío a la derecha). */
  /* 2.ª vuelta: el mosaico respira (≥ 48 px arriba y abajo, y un pasillo claro hasta la columna de texto). */
  .s-06-escena .s-06-grid { position: relative; grid-column: 5 / 13; grid-row: 1 / -1; margin-left: clamp(var(--space-24), 4.25vw, var(--space-64)); grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(40, minmax(0, 1fr)); gap: 0 var(--s-06-gutter); min-height: 0; }
  .s-06-escena .s-06-row { display: contents; }
  .s-06-escena .s-06-card { display: flex; flex-direction: column; row-gap: var(--space-8); min-height: 0; }
  .s-06-escena .s-06-card--b { grid-column: 1; grid-row: 1 / 21; }
  .s-06-escena .s-06-card--e { grid-column: 2; grid-row: 1 / 18; }
  .s-06-escena .s-06-card--c { grid-column: 2; grid-row: 19 / 41; }
  .s-06-escena .s-06-card--g { grid-column: 1; grid-row: 22 / 41; }
  .s-06-escena .s-06-card .s-06-visual { flex: 1 1 0; height: auto; min-height: 0; }
  .s-06-escena .s-06-card .s-06-crop { position: absolute; inset: 0; height: auto; aspect-ratio: auto; }
  /* 2.ª vuelta: el MARCO de cada foto (la placa gris de la casa, a su tamaño final) está desde el principio, así el
     mosaico se ve entero en todas las paradas; la foto espera dentro, más pequeña, y crece hasta llenarlo. */
  .s-06-escena .s-06-card .s-06-photo { position: absolute; inset: 0; overflow: hidden; border-radius: var(--space-20); will-change: transform, opacity; }
  .s-06-escena .s-06-card--c .s-06-photo img { object-position: 45% 22%; }
  /* El pie llega con su foto: section.js pone .s-06-on al final del acercamiento y la transición hace el resto, así
     en reposo nunca queda un pie a medias. */
  /* text-wrap: balance — en una columna estrecha «pretty» dejaba «· 2024» solo en la segunda línea. */
  .s-06-escena .s-06-caption { flex: none; text-wrap: balance; opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity var(--dur-base) var(--ease-house), transform var(--dur-base) var(--ease-house); }
  .s-06-escena .s-06-on .s-06-caption { opacity: 1; transform: none; }
}

/* 16-nov (auditoría móvil #16: «cuatro fotos apiladas, la sección más plantilla»): en móvil, un mosaico de dos columnas.
   El aula de Navarra abre a todo el ancho, el Foro del ECOSOC y Guatemala van juntos en retrato, y los estudiantes
   brasileños cierran a todo el ancho. Mismas fotos, pies y enlace; la sección pasa de ~1.800 a ~1.150 px y sigue con
   su gesto de siempre (cada foto sube y se descubre al llegar). */
@media (max-width: 734px) {
  .s-06-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-28) var(--space-12); }
  .s-06-card--b, .s-06-card--g { grid-column: 1 / -1; }
  .s-06-card--e .s-06-crop, .s-06-card--c .s-06-crop { aspect-ratio: 4 / 5; }
  .s-06-card--e .s-06-photo img { object-position: 32% 50%; }
  .s-06-card--e .s-06-caption, .s-06-card--c .s-06-caption { font-size: var(--type-caption-size); line-height: 16px; }
}

/* ==== sections/05b-reconocimientos ==== */
/* 05b · Reconocimientos. A museum case: a vertical rail of light runs down the list and lights each label as it
   reaches it (the year inks, the label comes out of the shade, the plate glass catches one reflection).
   No JS / reduced motion / print: every label lit, rail full (CSS defaults = final state). */
.s-05b-reconocimientos { --s-05b-gut: var(--space-48); }
.s-05b-header { gap: var(--space-20); margin-bottom: var(--space-64); }
/* Header, case and «Ver todos» start on the container edge, the same left margin as «Hoy» and «En los medios». */
/* 04 → 05b: 04 already ends with its own air; ours drops to 48 px so the seam stays under 80 px. */
.s-05b-reconocimientos.s-05b-tras-04 { padding-top: var(--space-48); }
/* 06 → 05b: «Cercanía» ends with its link and its own air; ours drops so the blank stays near 80 px. */
.s-05b-reconocimientos.s-05b-tras-06 { padding-top: var(--space-24); }
.s-05b-eyebrow { color: var(--color-text-secondary); }
.s-05b-title { max-width: 16em; text-wrap: balance; }
.s-05b-lead { max-width: 34em; color: var(--color-text-secondary); }

.s-05b-case { position: relative; padding-left: var(--s-05b-gut); }
.s-05b-rail { position: absolute; top: var(--space-16); bottom: var(--space-16); left: var(--space-8); width: 1px; background: var(--color-hairline); }
.s-05b-light { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--color-hairline), var(--color-action) 92%); transform-origin: top center; transform: scaleY(var(--s-05b-fill, 1)); }

.s-05b-list { display: grid; row-gap: var(--space-64); }
.s-05b-item { --s-05b-k: calc(var(--s-05b-on, 1) * 100%); position: relative; display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); column-gap: var(--space-40); align-items: start; }
/* The dot sits on the rail, at the height of the year. */
.s-05b-item::before { content: ""; position: absolute; top: 0.95rem; left: calc(var(--space-8) - var(--s-05b-gut) - 5px); width: 11px; height: 11px; border-radius: var(--radius-round); box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--color-action) var(--s-05b-k), var(--color-control-gray)); background: color-mix(in srgb, var(--color-action) var(--s-05b-k), var(--surface-0));
  transform: scale(calc(0.7 + 0.3 * var(--s-05b-on, 1))); }
.s-05b-year { font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: clamp(var(--space-40), 3.6vw, var(--space-52)); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  color: color-mix(in srgb, var(--color-ink) var(--s-05b-k), var(--color-control-gray)); }
/* 12-nov · One row is read at a time. --s-05b-f (section.js; 1 without JS) is the focus of the row: full on the row
   the light is on, half on the rows before and after it. With the vitrine, that one row is the row whose piece is
   shown, so what stands in ink and what the case shows are always the same distinction. The year and the dot keep
   the light once reached (--s-05b-on): the rail still records what was read. Rows waiting sit at 50 %, not 28 %. */
.s-05b-body { min-width: 0; opacity: calc(0.5 + 0.5 * var(--s-05b-f, 1)); transform: translate3d(0, calc((1 - var(--s-05b-on, 1)) * 10px), 0); }
/* Keyboard focus brings its row back to full ink. Not the pointer: it rests over the list while the wheel turns, and
   a second row in full ink is exactly the confusion this focus removes. */
.s-05b-item:focus-within .s-05b-body { opacity: 1; }
.s-05b-by { color: var(--color-text-secondary); font-weight: var(--font-weight-medium); }
.s-05b-name { margin-top: var(--space-8); max-width: 26ch; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: clamp(var(--space-24), 2.3vw, var(--space-32)); line-height: 1.16; letter-spacing: -0.012em; color: var(--color-ink); text-wrap: balance; overflow-wrap: normal; hyphens: manual; }
.s-05b-why { margin-top: var(--space-12); max-width: 52ch; font-size: var(--type-body-size); line-height: var(--type-body-lh); color: var(--color-text-secondary); text-wrap: pretty; }
.s-05b-src { margin-top: var(--space-16); }
.s-05b-link { display: inline-flex; min-height: 44px; align-items: center; font-weight: var(--font-weight-medium); }

/* 11-nov · Every distinction carries its own image: a photo or plate when the archive has one, a typographic plate
   when there is no photo of the act. Same 4:3 frame for all, so the vitrine never jumps. Rows mode (no JS, reduced
   motion, print, tablets, very short phones): each photo sits inside its row, under the text. */
.s-05b-fig { min-width: 0; margin: var(--space-28) 0 0; grid-column: 2; max-width: 520px; opacity: calc(0.5 + 0.5 * var(--s-05b-on, 1)); }
.s-05b-fig--type, .s-05b-fig .s-05b-vit-label { display: none; }
.s-05b-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius-card); background: var(--surface-1); }
.s-05b-fig-img, .s-05b-fig-img picture, .s-05b-fig-img img { display: block; width: 100%; height: 100%; }
.s-05b-fig-img img { object-fit: cover; object-position: 50% 35%; }
/* 12-nov · Crops set photo by photo (X4-FOTOS): the Order of Panamá keeps the flag and the three men on the left;
   the Parliament's medal keeps both faces, his and the president's, whatever the frame. */
.s-05b-fig-img--izq img { object-position: 30% 35%; }
.s-05b-fig-img--der img { object-position: 75% 40%; }
/* Plates and the trophy-free documents: the whole piece, never cropped, like a piece behind glass. */
.s-05b-frame--plate { padding: var(--space-16); }
.s-05b-frame--plate .s-05b-fig-img { overflow: hidden; border-radius: calc(var(--radius-card) - var(--space-16)); }
.s-05b-frame--plate .s-05b-fig-img img { object-fit: contain; }
/* One reflection crosses the plate glass as its label lights; reversible with the scroll. */
.s-05b-frame--plate::after, .s-05b-type::after { content: ""; position: absolute; inset: -20% -60%; pointer-events: none; background: linear-gradient(105deg, transparent 42%, color-mix(in srgb, var(--surface-0) 60%, transparent) 50%, transparent 58%);
  transform: translate3d(calc((var(--s-05b-on, 1) * 2 - 1) * 60%), 0, 0); opacity: calc(4 * var(--s-05b-on, 1) * (1 - var(--s-05b-on, 1))); }
.s-05b-cap { margin-top: var(--space-12); color: var(--color-text-secondary); }
/* 12-nov · The typographic plate, for a distinction with no photo of the act. Not a placeholder: an engraved plate
   set in type with the three facts of its own row (who grants it · the name of the distinction · the date), centred
   like the two real plates of the list, white with a fine double rim and the same glass reflection. No seal, no icon,
   no document. Type and air follow the plate itself (container units), so it reads the same at 440 px and on a phone. */
.s-05b-type { container-type: size; display: grid; place-items: center; background: linear-gradient(165deg, var(--surface-0) 35%, var(--surface-1)); box-shadow: inset 0 0 0 1px var(--color-hairline); }
.s-05b-type::before { content: ""; position: absolute; inset: var(--space-12); border: 1px solid var(--color-control-gray); border-radius: calc(var(--radius-card) - var(--space-12)); pointer-events: none; }
.s-05b-type-in { display: grid; justify-items: center; align-content: center; row-gap: var(--space-12); row-gap: clamp(var(--space-8), 3.6cqh, var(--space-12)); box-sizing: border-box; width: 100%; height: 100%; padding: var(--space-28) var(--space-32); padding: 7cqh 8cqw; text-align: center; }
.s-05b-type-by { max-width: 30ch; font-size: var(--type-small-size); line-height: var(--type-small-tight-lh); letter-spacing: var(--type-small-ls); font-weight: var(--font-weight-medium); color: var(--color-text-secondary); text-wrap: balance; }
.s-05b-type-name { max-width: 22ch; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: var(--space-24); font-size: clamp(var(--type-body-size), min(6.1cqw, 8.2cqh), var(--space-28)); line-height: 1.14; letter-spacing: -0.015em; color: var(--color-ink); text-wrap: balance; }
.s-05b-type-rule { width: var(--space-40); height: 2px; border-radius: 1px; background: var(--color-action); }
/* 15-nov (2.0.13) · «Rellena las imágenes con algo» (Harvey). A distinction with no photo of the act now shows where it
   comes from: the dotted map of Central America (same source and same dots as the globe, generated without network by
   carriles/VITRINA-RITMO-1115/tools/mapa_placa.py) with its country marked in blue. The three facts of the row sit on
   a white card over the Pacific, bottom left; never a made-up photo, seal or document. */
.s-05b-type-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-05b-type-dots, .s-05b-type-map use { fill: none; stroke: color-mix(in srgb, var(--color-control-gray) 58%, var(--color-text-secondary)); stroke-width: 3.9; stroke-linecap: round; }
/* With the map and the card, the inner rim of the bare plate would be a third frame: it goes. */
.s-05b-type.s-05b-frame::before { display: none; }
.s-05b-type-halo { fill: var(--color-action); opacity: .16; }
.s-05b-type-pin { fill: var(--color-action); }
.s-05b-type-place { font-family: var(--font-text); font-size: 13px; font-weight: 600; letter-spacing: -0.01em; fill: var(--color-ink); paint-order: stroke; stroke: var(--surface-0); stroke-width: 4px; stroke-linejoin: round; }
.s-05b-type { place-items: end start; }
.s-05b-type .s-05b-type-in { position: relative; justify-items: start; align-content: end; box-sizing: border-box; width: auto; max-width: 66%; height: auto; margin: 0 0 6.5cqh 5.5cqw; padding: 4.6cqh 4.6cqw; row-gap: clamp(var(--space-8), 2.6cqh, var(--space-12)); text-align: left; border-radius: var(--space-16); background: var(--surface-0); box-shadow: 0 0 0 1px var(--color-hairline); }
.s-05b-type .s-05b-type-name { font-size: var(--space-20); font-size: clamp(16px, min(4.5cqw, 6.2cqh), 21px); line-height: 1.18; }
.s-05b-type .s-05b-type-rule { width: var(--space-32); }
.s-05b-type-date { font-size: var(--type-small-size); line-height: var(--type-small-tight-lh); letter-spacing: var(--type-small-ls); color: var(--color-text-secondary); font-variant-numeric: tabular-nums; }

.s-05b-more { margin-top: var(--space-48); padding-left: var(--s-05b-gut); }
.s-05b-more[hidden] { display: none; }
.s-05b-item.s-05b-folded { display: none; }

/* Vitrine (JS and motion allowed): section.js moves every figure into the stage; exactly one is shown, the one of
   the row being read. Every pixel of the frame shows one image at full strength (never two half-faded, never an
   empty case), and a caption never waits under another row's photo. */
.s-05b-vitrina { display: none; }
.s-05b-stage { display: grid; }
/* 15-nov (2.0.13) · The piece moves with the scroll. --s-05b-r (section.js) is how much of the piece has come in:
   it rises from the lower edge of the case over the piece before it, at the pace of the hand and back again; no
   timed transition. The pieces sit one over another in list order, so a later one always covers an earlier one.
   --s-05b-out = how much the next piece has come in (this one gives way a little); --s-05b-t = its label and caption. */
.s-05b-stage .s-05b-fig { display: block; grid-area: 1 / 1; margin: 0; max-width: none; opacity: 1; visibility: hidden; }
.s-05b-stage .s-05b-fig.is-on { visibility: visible; }
/* 15-nov (2.ª vuelta; Harvey: «en el desliz sale medio bug»): two halves of different photos cut by a straight edge
   read as a glitch. The piece that comes in now rises as a WHOLE CARD: its image travels with the edge (1:1) and the
   edge carries the card's rounded corners; the piece it covers steps back (a little smaller, a little darker). */
.s-05b-stage .s-05b-frame { clip-path: inset(calc((1 - var(--s-05b-r, 1)) * 100%) 0 0 0 round var(--radius-card) var(--radius-card) 0 0); }
.s-05b-stage .s-05b-frame > .s-05b-fig-img { transform: translate3d(0, calc((1 - var(--s-05b-r, 1)) * 100% - var(--s-05b-out, 0) * 3%), 0) scale(calc(1 - var(--s-05b-out, 0) * 0.04)); filter: brightness(calc(1 - var(--s-05b-out, 0) * 0.24)); }
.s-05b-stage .s-05b-type > .s-05b-type-map, .s-05b-stage .s-05b-type > .s-05b-type-in { transform: translate3d(0, calc((1 - var(--s-05b-r, 1)) * 100cqh), 0); opacity: clamp(0, calc(1 - var(--s-05b-out, 0) * 1.7), 1); }
.s-05b-stage .s-05b-vit-label, .s-05b-stage .s-05b-cap { opacity: var(--s-05b-t, 1); }
/* ≥ 1024 px: list on the left, the case fixed on the right. */
@media (min-width: 1024px) {
  .s-05b-vitrina-on .s-05b-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: var(--space-80); }
  .s-05b-vitrina-on .s-05b-vitrina { display: block; position: relative; }
  .s-05b-vitrina-on .s-05b-vitrina-in { position: sticky; top: calc(50vh - 13rem); padding-top: var(--space-8); }
  .s-05b-vitrina-on .s-05b-vit-label { display: grid; row-gap: var(--space-4); min-height: 5rem; align-content: end; margin: 0 0 var(--space-16); }
  .s-05b-vit-by { color: var(--color-ink); font-weight: var(--font-weight-semibold); }
  .s-05b-vit-what { color: var(--color-text-secondary); }
  /* The label above the case already says who grants it: here the plate carries the full name of the distinction. */
  .s-05b-vitrina-on .s-05b-type-by { display: none; }
}
/* 1024-1068 px (a tablet lying down): the same case, narrower, so the list keeps a readable column. */
@media (min-width: 1024px) and (max-width: 1068px) {
  .s-05b-vitrina-on .s-05b-case { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); column-gap: var(--space-48); }
  .s-05b-vitrina-on .s-05b-item { grid-template-columns: minmax(0, 6.5rem) minmax(0, 1fr); column-gap: var(--space-24); }
  .s-05b-vitrina-on .s-05b-vit-label { min-height: 6.5rem; }
}
/* 15-nov (2.0.13) · The case PINNED (class .s-05b-pin, set by section.js at ≥ 1024 px when the case fits under the
   menu). Harvey: «más coordinado… no entiendo las imágenes cuando bajo lo de la izq… si se queda parado una milésima
   más». The track is tall, the case stays still, and the list rolls behind a window so every distinction stops on the
   same reading line, level with its piece. --s-05b-th / -top / -sh / -ty come from section.js. */
/* The pinned case comes right under the heading (64 px of air read as a hole once the case is a block). */
/* 16-nov · El titular viaja dentro del bloque fijo, en compacto y a todo el ancho (antes se quedaba suelto arriba). */
.s-05b-pin .s-05b-header { grid-column: 1 / -1; grid-row: 1; margin: 0 0 var(--space-20); padding-left: var(--s-05b-gut); }
.s-05b-pin .s-05b-title { max-width: none; font-size: clamp(28px, 2.55vw, 38px); line-height: 1.12; }
.s-05b-pin .s-05b-lead { max-width: none; margin-top: var(--space-8); font-size: 15px; line-height: 1.4; }
.s-05b-pin .s-05b-view, .s-05b-pin .s-05b-vitrina { grid-row: 2; }
.s-05b-pin .s-05b-track { height: var(--s-05b-th, auto); }
.s-05b-pin .s-05b-case { position: sticky; top: var(--s-05b-top, calc(var(--nav-h) + var(--space-16))); height: var(--s-05b-sh, auto); grid-template-rows: auto minmax(0, 1fr); padding-left: 0; }
.s-05b-pin .s-05b-view { min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40px, #000 calc(100% - 88px), transparent); mask-image: linear-gradient(to bottom, transparent, #000 40px, #000 calc(100% - 88px), transparent); }
.s-05b-pin .s-05b-roll { position: relative; padding-left: var(--s-05b-gut); transform: translate3d(0, var(--s-05b-ty, 0px), 0); }
/* 16-nov: la pieza arranca arriba, a la altura de la fila que se lee (antes centrada: dejaba una banda vacía bajo el titular). */
.s-05b-pin .s-05b-vitrina { align-self: start; padding-top: 40px; }
.s-05b-pin .s-05b-vitrina-in { position: static; padding-top: 0; }
@media (max-width: 734px) {
  .s-05b-reconocimientos { --s-05b-gut: var(--space-28); }
  .s-05b-header { margin-bottom: var(--space-48); }
  .s-05b-reconocimientos.s-05b-tras-04 { padding-top: var(--space-40); }
  .s-05b-reconocimientos.s-05b-tras-06 { padding-top: var(--space-12); }
  .s-05b-title { font-size: calc(var(--space-28) + 2px); }
  .s-05b-rail { left: var(--space-4); }
  .s-05b-list { row-gap: var(--space-48); }
  .s-05b-item { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-12); }
  .s-05b-item::before { top: 0.55rem; left: calc(var(--space-4) - var(--s-05b-gut) - 5px); }
  .s-05b-year { font-size: var(--space-32); }
  .s-05b-name { max-width: none; font-size: var(--space-24); }
  .s-05b-fig { grid-column: 1; margin-top: var(--space-8); max-width: none; }
  /* 12-nov · The phone's own vitrine (.s-05b-vitrina-top, set by section.js when the screen is at least 560 px tall):
     the piece of the row being read stays under the menu and changes with the same wipe while the rows pass below it.
     No rail, no dots, no photos between rows: the list is text, the case is the image. */
  .s-05b-vitrina-top .s-05b-header { margin-bottom: var(--space-32); }
  /* A column of flex items, not a grid: a sticky grid item can only travel inside its own cell; a sticky flex item
     travels the whole case. `order` brings the vitrine above the list without touching the HTML. */
  .s-05b-vitrina-top .s-05b-case { display: flex; flex-direction: column; padding-left: 0; }
  .s-05b-vitrina-top .s-05b-rail { display: none; }
  .s-05b-vitrina-top .s-05b-item::before { display: none; }
  .s-05b-vitrina-top .s-05b-vitrina { display: block; order: -1; position: sticky; top: var(--nav-h); z-index: 2; margin-bottom: var(--space-20); padding-block: var(--space-12); background: var(--surface-0); }
  /* The rows leave under the case through a short fade, never cut by a hard edge. */
  .s-05b-vitrina-top .s-05b-vitrina::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: var(--space-28); pointer-events: none; background: linear-gradient(to bottom, var(--surface-0), color-mix(in srgb, var(--surface-0) 0%, transparent)); }
  .s-05b-vitrina-top .s-05b-list { row-gap: var(--space-40); }
  /* 16-nov (RECO-MOVIL, auditoría #5): 28 px de fundido dejaban media línea cortada en seco bajo la foto. Ahora 44 px
     con curva (blanco pleno los primeros 8 px, luego se abre): la línea que se va se disuelve, nunca se parte.
     La vitrina se suelta 44 px antes (margen inferior +44, la lista sube 44: en reposo todo queda donde estaba), así el
     último texto de la lista nunca se queda como fantasma bajo el fundido mientras la última pieza sigue fija. */
  .s-05b-vitrina-top .s-05b-vitrina { margin-bottom: calc(var(--space-20) + 44px); }
  .s-05b-vitrina-top .s-05b-list { margin-top: -44px; }
  .s-05b-vitrina-top .s-05b-vitrina::after { height: 44px; background: linear-gradient(to bottom, var(--surface-0) 0, var(--surface-0) 8px, color-mix(in srgb, var(--surface-0) 82%, transparent) 18px, color-mix(in srgb, var(--surface-0) 45%, transparent) 30px, color-mix(in srgb, var(--surface-0) 0%, transparent) 100%); }
  /* Las fichas que vienen se leen enteras: en espera al 78 % (antes 50 %, «gris pálido, como sin terminar») y su año
     nunca por debajo del 60 % de tinta. La que manda sigue siendo la de la foto, a tinta plena. */
  .s-05b-vitrina-top .s-05b-body { opacity: calc(0.78 + 0.22 * var(--s-05b-f, 1)); }
  .s-05b-vitrina-top .s-05b-year { color: color-mix(in srgb, var(--color-ink) calc(max(var(--s-05b-on, 1), 0.6) * 100%), var(--color-control-gray)); }
  /* Ronda 2 (16-nov) · The phone BLOCK (.s-05b-pin + .s-05b-vitrina-top, set by section.js only when it fits): the
     case is pinned under the menu; heading on top, the piece in the middle, one row at a time under it. The row being
     read is the only one in ink (--s-05b-f); the others give way as the roll brings the next one up. */
  .s-05b-pin.s-05b-vitrina-top .s-05b-case { display: flex; flex-direction: column; padding-left: 0; }
  .s-05b-pin.s-05b-vitrina-top .s-05b-header { order: -2; margin: 0 0 var(--space-12); padding-left: 0; gap: 0; }
  .s-05b-pin.s-05b-vitrina-top .s-05b-title { max-width: none; font-size: 26px; line-height: 1.12; }
  .s-05b-pin.s-05b-vitrina-top .s-05b-lead { max-width: none; margin-top: var(--space-4); font-size: 15px; line-height: 1.35; }
  .s-05b-pin.s-05b-vitrina-top .s-05b-vitrina { position: relative; top: auto; order: -1; flex: none; align-self: stretch; width: 100%; margin: 0 0 var(--space-8); padding: 0; z-index: auto; }
  .s-05b-pin.s-05b-vitrina-top .s-05b-vitrina::after { display: none; }
  .s-05b-pin.s-05b-vitrina-top .s-05b-frame { height: min(62cqw, 30svh); }
  .s-05b-pin.s-05b-vitrina-top .s-05b-cap { min-height: 0; }
  .s-05b-pin.s-05b-vitrina-top .s-05b-view { flex: 1 1 auto; min-height: 0; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10px, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to bottom, transparent, #000 10px, #000 calc(100% - 32px), transparent); }
  .s-05b-pin.s-05b-vitrina-top .s-05b-roll { padding-left: 0; }
  .s-05b-pin.s-05b-vitrina-top .s-05b-list { margin-top: 0; row-gap: var(--space-40); }
  .s-05b-pin.s-05b-vitrina-top .s-05b-item { opacity: calc(0.06 + 0.94 * var(--s-05b-f, 1)); }
  .s-05b-pin.s-05b-vitrina-top .s-05b-body { opacity: 1; transform: none; }
  .s-05b-pin.s-05b-vitrina-top .s-05b-year { font-size: var(--space-40); color: var(--color-ink); }
  /* Full width always; 4:3 while it fits, never more than a third of the screen (a max-height on a box with a ratio
     would narrow it instead, so the height is set from the width of the case). */
  .s-05b-vitrina-top .s-05b-stage { container-type: inline-size; }
  .s-05b-vitrina-top .s-05b-frame { aspect-ratio: auto; height: min(65.6vw, 34vh); height: min(75cqw, 34svh); }
  .s-05b-vitrina-top .s-05b-cap { margin-top: var(--space-8); min-height: calc(2em * var(--type-caption-lh)); }
  /* On the phone the row under the case carries the name of the distinction; the plate carries who grants it. */
  /* The card runs the whole width of the plate on the phone, under the map. */
  .s-05b-vitrina-top .s-05b-type .s-05b-type-in { max-width: none; margin: 0 4.5cqw 6cqh; padding: 4.4cqh 4.4cqw; row-gap: 6px; }
  .s-05b-vitrina-top .s-05b-type-by { max-width: none; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: var(--type-body-size); font-size: clamp(15px, min(4.8cqw, 7.4cqh), 18px); line-height: 1.16; letter-spacing: -0.015em; color: var(--color-ink); }
  .s-05b-vitrina-top .s-05b-type-name { max-width: 36ch; font-family: inherit; font-size: var(--type-small-size); line-height: var(--type-small-tight-lh); letter-spacing: var(--type-small-ls); font-weight: var(--font-weight-medium); color: var(--color-text-secondary); }
}
@media (max-width: 360px) {
  .s-05b-title { font-size: calc(var(--space-24) + 2px); }
  .s-05b-name { font-size: var(--space-20); }
}
@media (prefers-reduced-motion: reduce) {
  .s-05b-reconocimientos * { --s-05b-on: 1 !important; --s-05b-f: 1 !important; }
  .s-05b-light { transform: none !important; }
  .s-05b-frame--plate::after, .s-05b-type::after { display: none; }
}
@media print {
  .s-05b-rail, .s-05b-frame--plate::after, .s-05b-type::after, .s-05b-vitrina { display: none; }
  .s-05b-body, .s-05b-fig { opacity: 1 !important; transform: none !important; }
  .s-05b-item { break-inside: avoid; }
}

/* ==== sections/07-medios ==== */
/* 07 · press. An open editorial list; each halo inherits its row contour. */
/* integrar.sh renames the root class to .s-07-medios in the fragment only, so the root selector names both. */
:is(.s-07-propuestas, .s-07-medios) { isolation: isolate; padding-top: var(--space-48); }
/* 07→08: no own background; the page white and the 08's fixed black layer show through, with no seam. */
:is(.s-07-propuestas, .s-07-medios) { background: transparent; }
/* 07→08: the 08 publishes --cl on :root (0 white, 1 black); the list's ink lightens with the blackout.
   The swap is compressed into --cl 0.3-0.7 so text spends little time grey on grey. */
:is(.s-07-propuestas, .s-07-medios) { --s-07-k: clamp(0%, calc((0.7 - var(--cl, 0)) * 250%), 100%); --s-07-ink: color-mix(in srgb, var(--color-ink) var(--s-07-k), var(--color-on-dark)); --s-07-black: color-mix(in srgb, var(--color-black) var(--s-07-k), var(--color-on-dark)); --s-07-muted: color-mix(in srgb, var(--color-text-secondary) var(--s-07-k), var(--color-steel)); --s-07-link: color-mix(in srgb, var(--color-link) var(--s-07-k), var(--color-link-on-dark)); --s-07-line: color-mix(in srgb, var(--color-hairline) var(--s-07-k), var(--color-text-secondary-alt)); color: var(--s-07-ink); }
.s-07-title { color: var(--s-07-ink); }
.s-07-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
/* Base contributes nav + 12px; internal hashes/focus keep another 52px. */
:is(.s-07-propuestas, .s-07-medios) [id]:not(.s-07-anchor), .s-07-row { scroll-margin-top: var(--space-52); }
.s-07-header { gap: var(--space-20); margin-bottom: var(--space-48); }
.s-07-eyebrow { color: var(--s-07-muted); }
.s-07-title { max-width: 18ch; text-wrap: balance; }
.s-07-item { position: relative; }
.s-07-item::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--s-07-line); transform-origin: left center; transform: scaleX(var(--s-07-rule, 1)); }
.s-07-item:last-child::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--s-07-line); transform-origin: left center; transform: scaleX(var(--s-07-rule-end, 1)); transition: opacity var(--dur-base) var(--ease-house); }
/* The halo replaces the rules it touches, so the row reads as one lifted surface. */
.s-07-item::before { transition: opacity var(--dur-base) var(--ease-house); }
.s-07-item:hover::before, .s-07-item:hover + .s-07-item::before, .s-07-item:focus-within::before, .s-07-item:focus-within + .s-07-item::before { opacity: 0; }
.s-07-item:last-child:hover::after, .s-07-item:last-child:focus-within::after { opacity: 0; }
/* DVB.progress(track) runs from 0 to 1 as this row moves from 90vh to 65vh. */
.s-07-track { position: absolute; top: -90vh; left: 0; width: 1px; height: 125vh; pointer-events: none; visibility: hidden; }
.s-07-row { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.6fr) auto; align-items: start; gap: var(--space-40); padding-block: var(--space-32); min-width: 0; border-radius: var(--radius-nav-float); color: var(--s-07-ink); text-decoration: none; }
.s-07-row::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(-1 * var(--space-28)); transition: opacity var(--dur-base) var(--ease-house); border-radius: inherit; background: var(--color-black); opacity: 0; pointer-events: none; }
.s-07-row:hover { text-decoration: none; }
.s-07-row:hover::before, .s-07-row:focus-visible::before { opacity: 0.04; }
.s-07-row:focus-visible { outline-offset: var(--space-4); }
.s-07-source { min-width: 0; transform: translate3d(0, var(--s-07-rise, 0px), 0); opacity: var(--s-07-opacity, 1); }
/* 15-nov · Jerarquía (Harvey: «está al mismo nivel el título que la subsección»): el nombre del medio medía 64 px, como
   el titular de la sección. Ahora 34 px como mucho (53 %); el titular «Contado por otros.» es lo único a esa escala. */
.s-07-medium { max-width: 15ch; font-family: var(--font-display); font-size: clamp(26px, 2.3vw, 34px); font-weight: var(--font-weight-medium); line-height: 1.1; letter-spacing: -0.018em; color: var(--s-07-black); text-wrap: balance; }
.s-07-date { margin-top: var(--space-12); color: var(--s-07-muted); }
.s-07-headline { max-width: 40ch; padding-top: var(--space-4); font-size: var(--type-title-size); font-weight: var(--font-weight-medium); line-height: var(--type-title-lh); color: var(--s-07-ink); text-wrap: pretty; }
.s-07-read { display: inline-flex; align-items: center; padding-top: var(--space-4); font-size: var(--type-body-size); line-height: var(--type-body-lh); font-weight: var(--font-weight-medium); color: var(--s-07-link); white-space: nowrap; }
.s-07-read-content { display: inline-flex; align-items: center; gap: var(--space-8); transition: transform var(--dur-base) var(--ease-house); }
.s-07-arrow { width: var(--space-24); height: var(--space-24); flex: none; }
.s-07-row:hover .s-07-read-content, .s-07-row:focus-visible .s-07-read-content { transform: translate3d(var(--space-4), 0, 0); }
/* 2.0.0 · nine pieces: the 7th press piece and on wait behind «Ver más»; the own columns follow as a second group,
   with the same rows and the same rule-and-rise gesture. */
@media screen and (max-width: 734px) { .s-07-item.s-07-folded { display: none; } }
/* While folded, the last shown row closes the list with the same rule the last row draws. */
@media screen and (max-width: 734px) { .s-07-item:has(+ .s-07-folded)::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--s-07-line); transform-origin: left center; transform: scaleX(var(--s-07-rule-end, 1)); transition: opacity var(--dur-base) var(--ease-house); } }
@media screen and (max-width: 734px) { .s-07-item:has(+ .s-07-folded):hover::after, .s-07-item:has(+ .s-07-folded):focus-within::after { opacity: 0; } }
.s-07-more { display: none; margin-top: var(--space-32); }
.s-07-more[hidden] { display: none; }
.s-07-more-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-20); border: 1px solid var(--s-07-line); border-radius: var(--radius-pill); background: transparent; color: var(--s-07-link); font: inherit; font-size: var(--type-body-size); font-weight: var(--font-weight-medium); cursor: pointer; transition: border-color var(--dur-base) var(--ease-house); }
.s-07-more-btn:hover { border-color: var(--s-07-link); }
.s-07-group { margin-top: var(--space-56, 56px); margin-bottom: var(--space-20); color: var(--s-07-muted); }
/* 12-nov · Nine pieces (and room for more), all in view, with three weights instead of nine equal rows:
   press            = the editorial rows as approved in 1.8.1; the first one leads, its headline at double size;
   radio and TV     = a strip of three compact pieces (side by side from 900 px);
   his own articles = two pieces side by side where the title leads and the medium signs under it.
   Every piece keeps its rule-and-rise gesture and its halo; pieces that share a line draw one after the other. */
.s-07-item--lead .s-07-headline { max-width: 24ch; padding-top: 0; font-family: var(--font-display); font-size: clamp(26px, 2.5vw, 36px); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
/* Compact piece. Phone and tablet: name and verb on one line, the title under them. */
.s-07-item--air .s-07-row { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-16); row-gap: var(--space-12); padding-block: var(--space-28); }
.s-07-item--air .s-07-medium { max-width: none; font-size: clamp(22px, 1.6vw, 24px); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.s-07-item--air .s-07-date { margin-top: var(--space-8); }
.s-07-item--air .s-07-headline { grid-column: 1 / -1; max-width: 40ch; padding-top: 0; font-size: var(--type-body-lg-size); line-height: 1.36; letter-spacing: var(--type-body-lg-ls); font-weight: var(--font-weight-regular); }
.s-07-item--air .s-07-read { grid-column: 2; grid-row: 1; padding-top: var(--space-4); }
/* His own articles: the title is his, so it leads and takes the rise; the medium and the date sign under it. */
.s-07-list--own .s-07-row { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-12); padding-block: var(--space-32); }
.s-07-list--own .s-07-headline { order: -1; max-width: 24ch; padding-top: 0; font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 32px); font-weight: var(--font-weight-medium); line-height: 1.1; letter-spacing: -0.02em; color: var(--s-07-black); text-wrap: balance; transform: translate3d(0, var(--s-07-rise, 0px), 0); opacity: var(--s-07-opacity, 1); }
.s-07-list--own .s-07-medium { max-width: none; font-family: inherit; font-size: var(--type-body-lg-size); line-height: var(--type-body-lg-lh); letter-spacing: var(--type-body-lg-ls); font-weight: var(--font-weight-semibold); color: var(--s-07-ink); }
.s-07-list--own .s-07-date { margin-top: var(--space-4); }
/* 12-nov (ronda 2) · Entrance with rhythm, the same family gesture on every piece but the whole piece takes part,
   in three beats: the rule draws → the name comes up from behind its own baseline (masked rise) → the title and the
   verb follow. Press rows play it one by one across the page; the strip plays three short beats in a row; his own
   articles open from the centre and it is the title that rises. Defaults (no JS, reduced motion, print) = final state. */
.s-07-medium { transform: translate3d(0, calc((1 - var(--s-07-opacity, 1)) * 55%), 0); clip-path: inset(-12% -4% calc((1 - var(--s-07-opacity, 1)) * 55% - 12%) -4%); }
.s-07-headline { opacity: var(--s-07-rule-end, 1); transform: translate3d(0, calc((1 - var(--s-07-rule-end, 1)) * 20px), 0); }
.s-07-read { opacity: var(--s-07-rule-end, 1); transform: translate3d(0, calc((1 - var(--s-07-rule-end, 1)) * 14px), 0); }
.s-07-item--lead .s-07-headline { transform: translate3d(0, calc((1 - var(--s-07-rule-end, 1)) * 55%), 0); clip-path: inset(-12% -4% calc((1 - var(--s-07-rule-end, 1)) * 55% - 12%) -4%); }
.s-07-list--own .s-07-headline { transform: translate3d(0, calc((1 - var(--s-07-opacity, 1)) * 55%), 0); clip-path: inset(-12% -4% calc((1 - var(--s-07-opacity, 1)) * 55% - 12%) -4%); opacity: var(--s-07-opacity, 1); }
.s-07-list--own .s-07-source { opacity: var(--s-07-rule-end, 1); transform: translate3d(0, calc((1 - var(--s-07-rule-end, 1)) * 16px), 0); }
.s-07-list--own .s-07-medium { transform: none; clip-path: none; }
/* The strip is its own list (so the phone can pass it sideways); its counter only exists on the phone. */
.s-07-count, .s-07-go { display: none; }
@media (min-width: 735px) {
  /* The three rules that open the strip close the last press row. */
  .s-07-list--press .s-07-item:last-child::after { content: none; }
}
@media (min-width: 900px) {
  .s-07-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--space-48); }
  .s-07-item { grid-column: 1 / -1; }
  .s-07-item--air { display: grid; grid-column: span 2; }
  .s-07-list--own .s-07-item { display: grid; grid-column: span 3; }
  /* Pieces that share a line: each closes with its own rule, and they draw one after the other (40 px apart). */
  .s-07-item--air::after, .s-07-list--own .s-07-item::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--s-07-line); transform-origin: left center; transform: scaleX(var(--s-07-rule-end, 1)); transition: opacity var(--dur-base) var(--ease-house); }
  .s-07-item--air + .s-07-item--air .s-07-track, .s-07-list--own .s-07-item + .s-07-item .s-07-track { top: calc(-90vh + var(--space-64)); }
  .s-07-item--air + .s-07-item--air + .s-07-item--air .s-07-track { top: calc(-90vh + var(--space-128)); }
  /* His two articles open from the centre: the left rule draws towards the left, the right one towards the right. */
  .s-07-list--own .s-07-item:first-child::before, .s-07-list--own .s-07-item:first-child::after { transform-origin: right center; }
  /* In the strip a piece is a column: name, title, and the verb on the floor of the card, so the three verbs align. */
  .s-07-item--air .s-07-row { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; row-gap: var(--space-16); padding-block: var(--space-32); }
  .s-07-item--air .s-07-medium { display: flex; align-items: flex-end; min-height: 2.2em; }
  .s-07-item--air .s-07-read { grid-column: 1; grid-row: auto; padding-top: var(--space-8); }
  .s-07-list--own .s-07-row { grid-template-rows: auto 1fr auto; padding-block: var(--space-40); }
  .s-07-item--air .s-07-row::before, .s-07-list--own .s-07-row::before { inset: 0 calc(-1 * var(--space-20)); }
  /* The halo replaces only the rules it touches: its own two, never the rule of the piece beside it. */
  .s-07-item--air:hover + .s-07-item--air::before, .s-07-item--air:focus-within + .s-07-item--air::before, .s-07-list--own .s-07-item:hover + .s-07-item::before, .s-07-list--own .s-07-item:focus-within + .s-07-item::before { opacity: 1; }
  .s-07-item--air:hover::after, .s-07-item--air:focus-within::after, .s-07-list--own .s-07-item:hover::after, .s-07-list--own .s-07-item:focus-within::after { opacity: 0; }
  /* …and the press row above the strip touches the three rules that open it. */
  .s-07-list--press:has(.s-07-item:last-child:hover) ~ .s-07-list--air .s-07-item::before, .s-07-list--press:has(.s-07-item:last-child:focus-within) ~ .s-07-list--air .s-07-item::before { opacity: 0; }
}
/* Where the browser can share rows between the three pieces of the strip (subgrid), names, titles and verbs sit on
   common lines and the name needs no reserved second line. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 900px) {
    .s-07-item--air { grid-row: span 3; grid-template-rows: subgrid; }
    .s-07-item--air .s-07-row { grid-row: 1 / -1; grid-template-rows: subgrid; }
    .s-07-item--air .s-07-medium { display: block; min-height: 0; }
  }
}
@media (max-width: 1068px) {
  .s-07-row { column-gap: var(--space-32); }
}
@media (max-width: 734px) {
  :is(.s-07-propuestas, .s-07-medios) [id]:not(.s-07-anchor), .s-07-row { scroll-margin-top: var(--space-28); }
  :is(.s-07-propuestas, .s-07-medios) { padding-top: var(--space-32); }
  .s-07-header { margin-bottom: var(--space-48); }
  .s-07-title { font-size: var(--type-hero-size); line-height: var(--type-hero-lh); letter-spacing: var(--type-hero-ls); max-width: 12ch; }
  .s-07-row { grid-template-columns: minmax(0, 1fr); gap: var(--space-24); padding-block: var(--space-32); }
  .s-07-medium { max-width: none; text-wrap: pretty; }
  .s-07-date { margin-top: var(--space-8); }
  .s-07-headline { max-width: none; padding-top: 0; font-size: var(--type-title-size); }
  .s-07-row::before { inset: 0 calc(-1 * var(--space-12)); }
  .s-07-read { padding-top: 0; }
  .s-07-group { margin-top: var(--space-48); margin-bottom: var(--space-12); }
  /* 12-nov (ronda 2) · The phone's own version. The lead stands on the lifted surface the rows take under a finger
     (it opens downwards from where its rule was); radio and television are a strip passed sideways with the thumb,
     with a counter; nothing waits behind a tap. */
  .s-07-item--lead::before, .s-07-item--lead + .s-07-item::before { opacity: 0; }
  .s-07-item--lead .s-07-row { padding-block: var(--space-28); }
  .s-07-item--lead .s-07-headline { font-size: var(--space-28); }
  .s-07-item--lead .s-07-row::before { opacity: calc(0.045 * var(--s-07-opacity, 1)); clip-path: inset(0 0 calc((1 - var(--s-07-rule, 1)) * 100%) 0 round var(--radius-nav-float)); }
  /* The strip only exists when section.js says so (.s-07-con-tira on the section: JS present and motion allowed).
     Without JS or with reduced motion the three pieces stay stacked, each with its text, as compact rows. */
  :is(.s-07-propuestas, .s-07-medios):not(.s-07-con-tira) .s-07-list--press .s-07-item:last-child::after { content: none; }
  .s-07-con-tira .s-07-list--air { display: flex; gap: var(--space-12); margin: var(--space-12) -6.25vw 0; padding: var(--space-8) 6.25vw; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .s-07-con-tira .s-07-list--air::-webkit-scrollbar { display: none; }
  .s-07-con-tira .s-07-list--air:focus-visible { outline-offset: calc(-1 * var(--space-4)); }
  /* Centred snap: the first piece rests on the left, the last on the right, the middle one shows both neighbours. */
  .s-07-con-tira .s-07-list--air .s-07-item { display: grid; flex: 0 0 76%; scroll-snap-align: center; }
  .s-07-con-tira .s-07-list--air .s-07-item::before, .s-07-con-tira .s-07-list--air .s-07-item::after { content: none; }
  .s-07-con-tira .s-07-list--air .s-07-row { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; row-gap: var(--space-12); padding: var(--space-20); }
  .s-07-con-tira .s-07-list--air .s-07-row::before { inset: 0; opacity: calc(0.045 * var(--s-07-opacity, 1)); clip-path: inset(0 0 calc((1 - var(--s-07-rule, 1)) * 100%) 0 round var(--radius-nav-float)); }
  .s-07-con-tira .s-07-list--air .s-07-read { grid-column: 1; grid-row: auto; padding-top: var(--space-4); }
  .s-07-con-tira .s-07-list--air .s-07-item + .s-07-item .s-07-track { top: calc(-90vh + var(--space-40)); }
  .s-07-con-tira .s-07-list--air .s-07-item + .s-07-item + .s-07-item .s-07-track { top: calc(-90vh + var(--space-80)); }
  /* Only the piece in place shows its text, like the cards of «Trayectoria». The neighbours show their surface
     peeking, and that surface is a real button («Pieza siguiente» / «Pieza anterior») with its chevron: every piece
     is reachable with a tap, the keyboard or a screen reader, never only by swiping. */
  .s-07-con-tira .s-07-list--air .s-07-item:not(.s-07-at), .s-07-con-tira .s-07-list--air .s-07-item:not(.s-07-at) .s-07-row { visibility: hidden; }
  .s-07-con-tira .s-07-list--air .s-07-item:not(.s-07-at) .s-07-row::before { visibility: visible; }
  .s-07-con-tira .s-07-list--air .s-07-go { display: block; position: absolute; inset: 0; z-index: 1; margin: 0; padding: 0; border: 0; border-radius: var(--radius-nav-float); background: transparent; cursor: pointer; visibility: hidden; }
  .s-07-con-tira .s-07-list--air .s-07-sig .s-07-go, .s-07-con-tira .s-07-list--air .s-07-ant .s-07-go { visibility: visible; }
  .s-07-con-tira .s-07-list--air .s-07-go::before { content: ""; position: absolute; top: 50%; width: var(--space-12); height: var(--space-12); border-top: 2px solid var(--s-07-muted); border-right: 2px solid var(--s-07-muted); }
  .s-07-con-tira .s-07-list--air .s-07-sig .s-07-go::before { left: var(--space-20); transform: translate3d(0, -50%, 0) rotate(45deg); }
  .s-07-con-tira .s-07-list--air .s-07-ant .s-07-go::before { right: var(--space-20); transform: translate3d(0, -50%, 0) rotate(-135deg); }
  .s-07-con-tira .s-07-list--air .s-07-go:focus-visible { outline-offset: calc(-1 * var(--space-4)); }
  .s-07-con-tira .s-07-at .s-07-source, .s-07-con-tira .s-07-at .s-07-headline, .s-07-con-tira .s-07-at .s-07-read { animation: s-07-llega var(--dur-base) var(--ease-house); }
  .s-07-con-tira .s-07-count { display: flex; align-items: center; gap: var(--space-12); margin-top: var(--space-12); color: var(--s-07-muted); font-variant-numeric: tabular-nums; }
  .s-07-con-tira .s-07-count::before { content: ""; width: var(--space-64); height: 2px; border-radius: 1px; background: linear-gradient(to right, var(--s-07-ink) calc(var(--s-07-at, 0.4) * 100%), var(--s-07-line) 0); }
  .s-07-list--own .s-07-row { padding-block: var(--space-28); }
}
@keyframes s-07-llega { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .s-07-item::before, .s-07-item::after, .s-07-item:last-child::after, .s-07-item:has(+ .s-07-folded)::after { transform: scaleX(1) !important; }
  .s-07-source, .s-07-headline, .s-07-read, .s-07-medium { transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .s-07-row::before { transition: none; clip-path: none !important; }
  .s-07-read-content { transition: none; transform: none !important; }
}
@media print {
  .s-07-item::before, .s-07-item::after, .s-07-item:last-child::after, .s-07-item:has(+ .s-07-folded)::after { transform: scaleX(1) !important; }
  .s-07-source, .s-07-headline, .s-07-read, .s-07-medium { transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .s-07-read-content { transform: none !important; }
  .s-07-row::before, .s-07-track { display: none; }
  .s-07-item { break-inside: avoid; }
}

/* 15-nov-2026 · móvil (Harvey: «y aquí igual»: demasiadas piezas a la vista y todas con la misma forma; «pon un ver
   más… cambia el estilo para que no sea tan repetitivo»). Tres formas en vez de una: la pieza grande sobre su placa;
   las filas de prensa COMPACTAS (medio y fecha firman en una línea pequeña, manda el titular) y solo una a la vista,
   con «Ver 2 más»; la tira de radio y televisión, como estaba; y sus dos artículos, en dos fichas lado a lado.
   Ordenador e impresión: todo a la vista, igual que antes. */
@media screen and (max-width: 734px) {
  .s-07-more:not([hidden]) { display: block; margin-top: var(--space-16); }
  .s-07-more-btn { display: flex; width: 100%; justify-content: center; gap: var(--space-8); min-height: 48px; border: 0; background: var(--surface-1); font-size: 15px; line-height: 1.2; letter-spacing: -0.01em; }
  .s-07-more-btn::after { content: ""; flex: none; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translate3d(0, -2px, 0) rotate(45deg); }
  .s-07-list--press .s-07-item:not(.s-07-item--lead) .s-07-row { gap: var(--space-8); padding-block: var(--space-20); }
  .s-07-list--press .s-07-item:not(.s-07-item--lead) .s-07-source { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--space-8); }
  .s-07-list--press .s-07-item:not(.s-07-item--lead) .s-07-medium { font-family: inherit; font-size: 14px; line-height: 1.3; letter-spacing: -0.005em; font-weight: var(--font-weight-semibold); }
  .s-07-list--press .s-07-item:not(.s-07-item--lead) .s-07-date { margin-top: 0; font-size: 13px; line-height: 1.3; }
  .s-07-list--press .s-07-item:not(.s-07-item--lead) .s-07-headline { font-size: 19px; line-height: 1.26; }
  .s-07-list--press .s-07-item:not(.s-07-item--lead) .s-07-read { font-size: 14px; line-height: 1.3; }
  .s-07-list--press .s-07-item:not(.s-07-item--lead) .s-07-arrow { width: 18px; height: 18px; }
  .s-07-list--own { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-12); }
  .s-07-list--own .s-07-item { display: grid; }
  .s-07-list--own .s-07-item::before, .s-07-list--own .s-07-item::after { content: none; }
  .s-07-list--own .s-07-row { grid-template-rows: auto 1fr auto; row-gap: var(--space-8); padding: var(--space-16); }
  .s-07-list--own .s-07-row::before { inset: 0; opacity: calc(0.045 * var(--s-07-opacity, 1)); }
  .s-07-list--own .s-07-headline { max-width: none; font-size: clamp(16px, 4.6vw, 18px); line-height: 1.18; letter-spacing: -0.015em; }
  .s-07-list--own .s-07-medium { font-size: 13px; line-height: 1.3; letter-spacing: 0; }
  .s-07-list--own .s-07-date { margin-top: 2px; font-size: 12px; line-height: 1.3; }
  .s-07-list--own .s-07-read { font-size: 14px; line-height: 1.3; }
  .s-07-list--own .s-07-arrow { width: 18px; height: 18px; }
}
/* Móviles estrechos (320-374): las dos fichas siguen lado a lado; una palabra larga («comprometidos») no se sale. */
@media screen and (max-width: 374px) {
  .s-07-list--own { gap: var(--space-8); }
  .s-07-list--own .s-07-row { padding: 14px 12px; }
  .s-07-list--own .s-07-headline { font-size: 15px; overflow-wrap: break-word; hyphens: auto; }
}

/* 15-nov-2026 (noche) · ordenador (≥ 1024 px): TODA la sección en una pantalla (Harvey: «Aqui tambien pon el ver mas
   para que quepa toda las seccion a la vista» y «Y que queden juntas y no apartadas»). Tres formas, tres zonas:
   prensa      = a la izquierda: la pieza grande y UNA fila compacta (medio y fecha firman en una línea pequeña, manda
                 el titular), con «Ver 2 más» justo debajo (el pliegue de section.js, S07_SHOWN; al abrir, la sección crece);
   suyas       = a la derecha, a la altura de la prensa: sus dos publicaciones JUNTAS, dos fichas pegadas;
   radio y TV  = debajo, la tira de tres en compacto (nombre y verbo en una línea, el título debajo).
   El gesto de cada pieza (filete que se dibuja, nombre que sube) es el mismo. Móvil, tableta, impresión y sin JS: como estaban. */
@media screen and (min-width: 1024px) {
  /* 2.ª vuelta: el aire se reparte (rótulo a 48 px del menú, como en la 2.0.14, y otro tanto bajo la tira). */
  .s-07-medios { padding-top: var(--space-48); padding-bottom: var(--space-56, 56px); }
  .s-07-container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto minmax(0, 1fr) auto auto; column-gap: var(--space-24); }
  .s-07-header { grid-column: 1 / -1; grid-row: 1; gap: var(--space-12); margin-bottom: var(--space-32); }
  .s-07-list--press { grid-column: 1 / 8; grid-row: 2 / 4; align-self: start; }
  .s-07-more:not([hidden]) { display: block; grid-column: 1 / 8; grid-row: 4; margin-top: var(--space-16); }
  .s-07-group { grid-column: 8 / 13; grid-row: 2; margin: 0 0 var(--space-12) var(--space-24); }
  .s-07-list--own { grid-column: 8 / 13; grid-row: 3; align-self: start; margin-left: var(--space-24); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-12); }
  /* Plegada la prensa, las dos fichas cierran a la altura del último filete de la prensa (no del botón): su alto es
     casi el natural y dentro no queda hueco (2.ª vuelta: estiradas hasta el botón llevaban ~110 px en blanco). */
  .s-07-list--press:has(.s-07-folded) ~ .s-07-list--own { align-self: stretch; }
  .s-07-list--air { grid-column: 1 / -1; grid-row: 5; margin-top: var(--space-24); }
  /* El pliegue, también en ordenador; la última fila a la vista cierra la lista con su filete. */
  .s-07-list--press .s-07-item.s-07-folded { display: none; }
  .s-07-list--press .s-07-item:last-child::after { content: ""; }
  .s-07-list--press .s-07-item:has(+ .s-07-folded)::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--s-07-line); transform-origin: left center; transform: scaleX(var(--s-07-rule-end, 1)); transition: opacity var(--dur-base) var(--ease-house); }
  .s-07-list--press .s-07-item:has(+ .s-07-folded):hover::after, .s-07-list--press .s-07-item:has(+ .s-07-folded):focus-within::after { opacity: 0; }
  /* Un foco que no viene del teclado (el que pone «Ver 2 más» en la primera fila que abre) no borra los filetes: el
     halo solo aparece con :focus-visible, así que los filetes se apagan con él y con el ratón, no con :focus-within. */
  .s-07-list--press .s-07-item:focus-within::before, .s-07-list--press .s-07-item:focus-within + .s-07-item::before, .s-07-list--press .s-07-item:last-child:focus-within::after { opacity: 1; }
  .s-07-list--press .s-07-item:has(.s-07-row:focus-visible)::before, .s-07-list--press .s-07-item:has(.s-07-row:focus-visible) + .s-07-item::before, .s-07-list--press .s-07-item:last-child:has(.s-07-row:focus-visible)::after { opacity: 0; }
  .s-07-list--press .s-07-item:hover::before, .s-07-list--press .s-07-item:hover + .s-07-item::before, .s-07-list--press .s-07-item:last-child:hover::after { opacity: 0; }
  /* La prensa ya no toca la tira (el botón y otra zona quedan en medio): su halo no apaga los filetes de la tira. */
  .s-07-list--press:has(.s-07-item:last-child:hover) ~ .s-07-list--air .s-07-item::before, .s-07-list--press:has(.s-07-item:last-child:focus-within) ~ .s-07-list--air .s-07-item::before { opacity: 1; }
  /* Con toda la sección en una pantalla, las piezas de abajo descansan al 70-86 % del alto de la ventana: el gesto de
     cada pieza corre mientras entra (del 100 % al 88 %) para que en reposo ninguna quede a medio dibujar. */
  .s-07-track { top: -100vh; height: 112vh; }
  .s-07-item--air + .s-07-item--air .s-07-track, .s-07-list--own .s-07-item + .s-07-item .s-07-track { top: calc(-100vh + var(--space-32)); }
  .s-07-item--air + .s-07-item--air + .s-07-item--air .s-07-track { top: calc(-100vh + var(--space-64)); }
  /* Prensa: firma (medio · fecha) arriba, el titular debajo, el verbo a la derecha. */
  .s-07-list--press .s-07-row { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-24); row-gap: var(--space-8); padding-block: var(--space-20); }
  .s-07-list--press .s-07-source { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--space-12); }
  /* 2.ª vuelta: dos maneras de escribir un medio, no tres. Donde manda el titular (prensa, también la pieza grande, y
     sus publicaciones) el medio FIRMA en pequeño y negrita; en radio y televisión el nombre manda (20 px). */
  .s-07-list--press .s-07-medium { max-width: none; font-family: inherit; font-size: 14px; line-height: 1.3; letter-spacing: -0.005em; font-weight: var(--font-weight-semibold); }
  .s-07-list--press .s-07-date { margin-top: 0; font-size: 13px; line-height: 1.3; }
  .s-07-list--press .s-07-headline { grid-column: 1; grid-row: 2; max-width: none; padding-top: 0; }
  .s-07-list--press .s-07-read { grid-column: 2; grid-row: 1; padding-top: 0; }
  .s-07-list--press .s-07-item:not(.s-07-item--lead) .s-07-headline { font-size: 19px; line-height: 1.26; }
  .s-07-list--press .s-07-item:not(.s-07-item--lead) .s-07-read { font-size: 15px; line-height: 1.3; }
  .s-07-list--press .s-07-item:not(.s-07-item--lead) .s-07-arrow { width: var(--space-20); height: var(--space-20); }
  .s-07-item--lead .s-07-row { row-gap: var(--space-12); padding-block: var(--space-24); }
  .s-07-item--lead .s-07-headline { max-width: 26ch; font-size: clamp(28px, 2.3vw, 34px); }
  /* Sus dos publicaciones: dos fichas pegadas (la misma placa que en el móvil), el título manda. */
  .s-07-list--own .s-07-item { grid-column: auto; }
  .s-07-list--own .s-07-item::before, .s-07-list--own .s-07-item::after { content: none; }
  .s-07-list--own .s-07-row { row-gap: var(--space-8); padding: var(--space-20); }
  .s-07-list--own .s-07-row::before { inset: 0; opacity: calc(0.045 * var(--s-07-opacity, 1)); }
  .s-07-list--own .s-07-row:hover::before, .s-07-list--own .s-07-row:focus-visible::before { opacity: 0.08; }
  .s-07-list--own .s-07-headline { max-width: none; font-size: clamp(17px, 1.75vw, 27px); line-height: 1.14; overflow-wrap: break-word; }
  .s-07-list--own .s-07-medium { font-size: 14px; line-height: 1.3; letter-spacing: 0; }
  .s-07-list--own .s-07-date { margin-top: 2px; font-size: 13px; line-height: 1.3; }
  .s-07-list--own .s-07-read { font-size: 15px; line-height: 1.3; }
  .s-07-list--own .s-07-arrow { width: var(--space-20); height: var(--space-20); }
  /* Radio y televisión: la tira de tres, en compacto (dos líneas compartidas: nombre + verbo, y el título). */
  .s-07-list--air .s-07-item--air { grid-row: span 2; }
  .s-07-item--air .s-07-row { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-16); row-gap: var(--space-8); padding-block: var(--space-20); }
  .s-07-item--air .s-07-row::before { inset: 0 calc(-1 * var(--space-16)); }
  .s-07-item--air .s-07-medium { display: block; min-height: 0; font-size: 20px; }
  .s-07-item--air .s-07-date { margin-top: 2px; font-size: 13px; line-height: 1.3; }
  .s-07-item--air .s-07-headline { grid-column: 1 / -1; grid-row: 2; font-size: 16px; line-height: 1.36; }
  .s-07-item--air .s-07-read { grid-column: 2; grid-row: 1; padding-top: 0; font-size: 15px; line-height: 1.3; }
  .s-07-item--air .s-07-arrow { width: var(--space-20); height: var(--space-20); }
}
/* Ordenador estrecho (1024-1199 px, p. ej. 1024×768): los titulares ocupan una línea más; se aprieta el aire para que
   el pie de la tira no quede justo en el borde de la ventana. */
@media screen and (min-width: 1024px) and (max-width: 1199px) {
  .s-07-medios { padding-top: var(--space-24); }
  .s-07-header { margin-bottom: var(--space-20); }
  .s-07-list--air { margin-top: var(--space-16); }
}
/* Ventanas bajas (1280×720 y parecidas): se aprieta el aire, no el contenido. */
@media screen and (min-width: 1024px) and (max-height: 740px) {
  .s-07-medios { padding-top: var(--space-56, 56px); padding-bottom: var(--space-40); }
  .s-07-header { gap: var(--space-8); margin-bottom: var(--space-16); }
  .s-07-title { font-size: 52px; }
  .s-07-list--press .s-07-row, .s-07-item--air .s-07-row { padding-block: var(--space-16); }
  .s-07-item--lead .s-07-row { padding-block: var(--space-20); }
  .s-07-list--air { margin-top: var(--space-16); }
}

/* 16-nov-2026 · RUN-MOVIL ronda 2 · El bloque fijo de prensa del teléfono (lo monta section.js: .s-07-pin, solo mientras
   dura el bloque). Las cuatro piezas comparten sitio y van como fichas sobre la superficie levantada de la de cabecera. */
.s-07-pin { position: relative; margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); overflow-x: clip; }   /* a todo el ancho de la pantalla y recortado en sus bordes: las fichas que esperan nunca ensanchan la página */
/* Las fichas que esperan fuera de la pantalla no ensanchan la página (sin esto el móvil se alejaba: 969 px de ancho). */
.s-07-medios.s-07-pinned { overflow-x: clip; }
.s-07-pin-stage { position: sticky; top: calc(var(--nav-h) + 12px); }
.s-07-medios.s-07-pinned .s-07-header { margin-bottom: var(--space-20); }
.s-07-pin-count { display: flex; align-items: center; gap: var(--space-12); margin: 0 0 var(--space-12); font-size: 13px; line-height: 1.3; color: var(--color-text-secondary); }
.s-07-pin-now { color: var(--color-ink); margin-left: auto; }
.s-07-pin-bars { display: flex; gap: 6px; flex: 1 1 auto; }
.s-07-pin-bars i { display: block; flex: 1 1 0; height: 3px; border-radius: 2px; background: var(--s-07-line, var(--color-hairline)); transition: background .3s var(--ease-house); }
.s-07-pin-bars i.is-on { background: var(--color-action); }
.s-07-medios.s-07-pinned .s-07-list--press { display: grid; grid-template-columns: minmax(0, 1fr); }
.s-07-medios.s-07-pinned .s-07-list--press .s-07-item { grid-area: 1 / 1; display: grid; will-change: transform, opacity; }
.s-07-medios.s-07-pinned .s-07-list--press .s-07-item::before, .s-07-medios.s-07-pinned .s-07-list--press .s-07-item::after { display: none; }
.s-07-medios.s-07-pinned .s-07-list--press .s-07-row { box-sizing: border-box; height: 100%; align-content: start; padding: var(--space-24) var(--space-20); border-radius: 22px; background: var(--surface-1); }
.s-07-medios.s-07-pinned .s-07-list--press .s-07-row::before { display: none; }
.s-07-medios.s-07-pinned .s-07-list--press .s-07-item .s-07-source { display: block; }
.s-07-medios.s-07-pinned .s-07-list--press .s-07-item .s-07-medium { font-family: var(--font-display); font-size: 28px; line-height: 1.08; letter-spacing: -0.015em; font-weight: var(--font-weight-semibold); }
.s-07-medios.s-07-pinned .s-07-list--press .s-07-item .s-07-date { margin-top: 6px; font-size: 13px; }
.s-07-medios.s-07-pinned .s-07-list--press .s-07-item .s-07-headline { margin-top: auto; font-family: var(--font-display); font-size: 24px; line-height: 1.2; letter-spacing: -0.012em; }
.s-07-medios.s-07-pinned .s-07-list--press .s-07-item .s-07-read { align-self: flex-start; padding-top: var(--space-8); font-size: 15px; }
.s-07-medios.s-07-pinned .s-07-list--press .s-07-row { display: flex; flex-direction: column; gap: var(--space-12); }
@media (max-width: 374px) {
  .s-07-medios.s-07-pinned .s-07-list--press .s-07-item .s-07-medium { font-size: 24px; }
  .s-07-medios.s-07-pinned .s-07-list--press .s-07-item .s-07-headline { font-size: 20px; }
}
@media print { .s-07-pin-count { display: none; } }

/* ==== sections/04b-actual ==== */
/* 04b · Trabajo actual. Three beats: (1) the statement and the Harvard photo; (2) what he does
   today and «Qué ha dirigido», four rows with the verb in large type; (3) the four ideas as a
   horizontal rail on three planes (a giant word behind, the plate, a fast ruler in front).
   No JS, reduced motion or print: everything is simply there, complete. */
/* 06 → 04b: the seam stays under 80 px of blank; 06 already ends with its own air. */
.s-04b-actual { padding-top: 0; padding-bottom: var(--space-64, 64px); overflow-x: clip; }
.s-04b-header { margin-bottom: 40px; }
.s-04b-title { max-width: 12em; }
/* The opening: eyebrow, the headline at the house scale, the role as a big statement. */
.s-04b-opening { margin-bottom: 64px; }
.s-04b-role-title { margin: 0; max-width: 24em; font-family: var(--font-display); font-size: calc(var(--type-headline-sm-size) + 4px); line-height: 1.17; letter-spacing: -0.005em; font-weight: var(--font-weight-semibold); color: var(--color-ink); text-wrap: balance; }
.s-04b-eyebrow { color: var(--color-text-secondary); }

/* Today, in two balanced columns under the photo: when/where, the proof link and the other
   current roles on the left; the three facts, each on its own rule, on the right. */
.s-04b-lead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.s-04b-role-meta { margin: 0; color: var(--color-ink); }
.s-04b-proof { margin: 16px 0 0; }
.s-04b-detail { display: grid; gap: 0; }
.s-04b-line { margin: 0; padding-block: 20px; border-top: 1px solid var(--color-hairline); color: var(--color-ink); }
.s-04b-more { display: grid; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--color-hairline); }
.s-04b-more-col { display: grid; gap: 8px; align-content: start; }
.s-04b-more-text { margin: 0; color: var(--color-text-secondary); }
@media (min-width: 1024px) {
  .s-04b-hoy-stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .s-04b-hoy-stage > * { grid-column: 1 / -1; }
  .s-04b-lead { display: contents; }
  .s-04b-role { grid-column: 1 / span 5; grid-row: 3; }
  .s-04b-more { grid-column: 1 / span 5; grid-row: 4; align-self: start; margin-top: 32px; }
  .s-04b-detail { grid-column: 7 / -1; grid-row: 3 / span 2; align-self: start; }
  .s-04b-line:last-child { border-bottom: 1px solid var(--color-hairline); }
}

/* «Qué ha dirigido»: four rows, the verb in large type, what, when and the source. Its own
   gesture (JS, tied to scroll, reversible): the rule draws itself from the left, the verb is
   uncovered along it and the fact settles after. Nothing dims or lights up. */
.s-04b-led { margin-top: 112px; }
.s-04b-led-title { margin: 0 0 20px; color: var(--color-text-secondary); }
.s-04b-led-rows { list-style: none; margin: 0; padding: 0; }
.s-04b-led-row { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: baseline; padding-block: 30px; }
.s-04b-led-row::before, .s-04b-led-row:last-child::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--color-hairline); transform-origin: 0 50%; }
.s-04b-led-row:last-child::after { top: auto; bottom: 0; }
.s-04b-led-verb { grid-column: 1 / span 4; margin: 0; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: clamp(44px, 4.6vw, 68px); line-height: 1.06; letter-spacing: -0.022em; color: var(--color-ink); white-space: nowrap; }
.s-04b-led-verb-in { display: inline-block; }
.s-04b-led-what { grid-column: 5 / span 5; margin: 0; color: var(--color-ink); text-wrap: pretty; }
.s-04b-led-meta { grid-column: 10 / -1; margin: 0; display: grid; gap: 6px; justify-items: start; align-content: start; color: var(--color-text-secondary); }
.s-04b-led-src { text-align: left; }
.s-04b-actual.s-04b-led-on .s-04b-led-row::before, .s-04b-actual.s-04b-led-on .s-04b-led-row:last-child::after { transform: scaleX(var(--s-04b-rule, 1)); }
/* The verb is uncovered from the left, along its rule (a clip, so its box never moves). */
.s-04b-actual.s-04b-led-on .s-04b-led-verb-in { opacity: var(--s-04b-ink, 1); clip-path: inset(-0.3em calc((1 - var(--s-04b-verb, 1)) * 100%) -0.3em -0.1em); }
.s-04b-actual.s-04b-led-on :is(.s-04b-led-what, .s-04b-led-meta) { opacity: var(--s-04b-fact, 1); transform: translate3d(0, calc((1 - var(--s-04b-fact, 1)) * 18px), 0); }

/* Four ideas. Static by default (no JS, reduced motion, print, a screen too short): a grid of cards. */
.s-04b-track { margin-top: 112px; }
.s-04b-stage { position: static; height: auto; overflow: visible; }
.s-04b-values-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.s-04b-values-label { margin: 0; color: var(--color-text-secondary); font-weight: var(--font-weight-semibold); }
.s-04b-count, .s-04b-ticks { display: none; }
.s-04b-values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.s-04b-value { margin: 0; }
.s-04b-value-card { margin: 0; height: 100%; box-sizing: border-box; padding: 40px; border-radius: var(--radius-card); background: var(--surface-1); display: flex; flex-direction: column; }
.s-04b-value-num { margin: 0 0 12px; color: var(--color-link); }
.s-04b-value-name { margin: 0; color: var(--color-ink); font-weight: var(--font-weight-semibold); font-size: var(--type-card-title-size); line-height: var(--type-card-title-lh); }
.s-04b-quote { margin: 20px 0 0; padding: 0; }
.s-04b-quote-text { margin: 0; font-family: var(--font-display); font-size: var(--type-headline-sm-size); line-height: 1.25; letter-spacing: -0.01em; color: var(--color-ink); text-wrap: pretty; }
.s-04b-source { margin: auto 0 0; padding-top: 24px; color: var(--color-text-secondary); }

/* Animated: a pinned stage and a rail on three planes. At rest one plate, whole and readable, sits
   in the middle (never an empty or half card: a plate always carries its text). Behind it the
   ideas' words cross the screen in giant type; in front, a ruler runs. The four plates share one
   grid cell (same height); JS moves each one. */
.s-04b-actual.s-04b-on .s-04b-stage { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); }
.s-04b-actual.s-04b-on .s-04b-values-wrap { position: relative; }
.s-04b-actual.s-04b-on .s-04b-count { display: block; margin: 0; white-space: nowrap; color: var(--color-text-secondary); }
.s-04b-count-now { color: var(--color-ink); }
.s-04b-back { display: none; }
.s-04b-actual.s-04b-on .s-04b-back { display: block; position: relative; z-index: 0; height: var(--s-04b-eco-size, 150px); margin-bottom: calc(var(--s-04b-tuck, 40px) * -1); pointer-events: none; user-select: none; }
.s-04b-actual.s-04b-on .s-04b-eco { position: absolute; top: 0; left: 50%; white-space: nowrap; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: var(--s-04b-eco-size, 150px); line-height: 1; letter-spacing: -0.035em; color: var(--color-control-gray); will-change: transform; }
.s-04b-actual.s-04b-on.s-04b-phone .s-04b-eco { left: auto; right: 4px; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.s-04b-actual.s-04b-on .s-04b-values { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; position: relative; z-index: 1; }
.s-04b-actual.s-04b-on .s-04b-value { grid-area: 1 / 1; display: grid; width: var(--s-04b-card, 100%); justify-self: center; will-change: transform, opacity; }
.s-04b-actual.s-04b-on .s-04b-value-card { height: auto; padding: 52px 64px 44px; background: var(--surface-0); box-shadow: 0 0 0 1px var(--color-hairline), 0 26px 60px -34px rgba(0, 0, 0, .26); }
.s-04b-actual.s-04b-on .s-04b-value-name { font-size: var(--type-title-size); line-height: var(--type-title-lh); color: var(--color-text-secondary-alt); }
.s-04b-actual.s-04b-on .s-04b-quote { margin-top: 18px; }
.s-04b-actual.s-04b-on .s-04b-quote-text { font-size: clamp(28px, 2.9vw, 44px); line-height: 1.16; letter-spacing: -0.017em; font-weight: var(--font-weight-semibold); }
.s-04b-actual.s-04b-on .s-04b-source { padding-top: 28px; }
.s-04b-actual.s-04b-on .s-04b-ticks { display: block; margin-top: 36px; margin-left: calc((100% - 100vw) / 2 - 40px); width: calc(100vw + 120px); height: 12px; pointer-events: none; background: repeating-linear-gradient(90deg, var(--color-hairline) 0 1px, transparent 1px 40px); border-top: 1px solid var(--color-hairline); will-change: transform; }

@media (max-width: 1023px) {
  .s-04b-led-verb { grid-column: 1 / span 4; }
  .s-04b-led-what { grid-column: 5 / -1; }
  .s-04b-led-meta { grid-column: 5 / -1; margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
}
@media (max-width: 734px) {
  .s-04b-header { margin-bottom: 28px; }
  /* Phone: the statement and its date line read together (24-32 px apart). */
  .s-04b-opening { margin-bottom: 28px; }
  .s-04b-role-title { font-size: 28px; line-height: 1.18; }
  .s-04b-line { padding-block: 16px; }
  .s-04b-more { margin-top: 28px; padding-top: 20px; }
  .s-04b-led { margin-top: 72px; }
  .s-04b-led-row { display: block; padding-block: 22px; }
  .s-04b-led-verb { font-size: 40px; }
  .s-04b-led-what { margin-top: 8px; }
  .s-04b-led-meta { margin-top: 10px; }
  .s-04b-track { margin-top: 72px; }
  .s-04b-values { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .s-04b-value-card { padding: 28px 24px; border-radius: 22px; }
  .s-04b-values-head { margin-bottom: 20px; }
  .s-04b-actual.s-04b-on .s-04b-value-card { padding: 28px 24px 24px; }
  .s-04b-actual.s-04b-on .s-04b-value-name { font-size: 19px; line-height: 1.22; }
  .s-04b-actual.s-04b-on .s-04b-quote { margin-top: 14px; }
  .s-04b-actual.s-04b-on .s-04b-quote-text { font-size: 24px; line-height: 1.2; }
  .s-04b-actual.s-04b-on .s-04b-source { padding-top: 20px; }
  .s-04b-actual.s-04b-on .s-04b-ticks { margin-top: 24px; }
}
/* Ventanas bajas de ordenador (≤ 820 px de alto; la de Harvey mide 1512×774): con seis placas la frase más larga
   ocupa una línea más y la escena dejaba de caber (caía a la rejilla fija, sin animación). Un cuerpo algo menor y
   menos relleno: las seis caben y la escena sigue viva. Medido con tools/escenas.py del carril PULIDO-1115B. */
@media (min-width: 735px) and (max-height: 820px) {
  .s-04b-actual.s-04b-on .s-04b-quote-text { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.17; }
  .s-04b-actual.s-04b-on .s-04b-value-card { padding: 40px 56px 34px; }
  .s-04b-actual.s-04b-on .s-04b-values-head { margin-bottom: 20px; }
  .s-04b-actual.s-04b-on .s-04b-ticks { margin-top: 24px; }
}
/* Short phones (320×640, 390×664): a tighter plate so the rail still fits and animates. */
@media (max-width: 734px) and (max-height: 700px) {
  .s-04b-actual.s-04b-on .s-04b-quote-text { font-size: 20px; line-height: 1.22; }
  .s-04b-actual.s-04b-on .s-04b-value-card { padding: 20px 20px 18px; }
  .s-04b-actual.s-04b-on .s-04b-quote { margin-top: 10px; }
  .s-04b-actual.s-04b-on .s-04b-source { padding-top: 14px; }
  .s-04b-actual.s-04b-on .s-04b-values-head { margin-bottom: 8px; }
  .s-04b-actual.s-04b-on .s-04b-ticks { margin-top: 16px; }
}
/* 320: the longest value name («Responsabilidad») must fit its card. */
@media (max-width: 374px) {
  .s-04b-value-card { padding: 24px 20px; }
  .s-04b-value-name { font-size: 21px; line-height: 1.2; }
  .s-04b-led-verb { font-size: 36px; }
  .s-04b-actual.s-04b-on .s-04b-quote-text { font-size: 19px; }
  .s-04b-actual.s-04b-on .s-04b-value-card { padding: 20px 18px 18px; }
}
@media print {
  .s-04b-actual .s-04b-value { transform: none !important; opacity: 1 !important; visibility: visible !important; }
}

/* The photo of this stage (Harvard, April 2026): the opening's protagonist, wide and
   editorial between the statement and the two columns. Scroll-tied entrance (JS):
   the frame opens from its sides and the photo settles from 1.12 to 1, reversible.
   No JS, reduced motion or print: the frame is simply open. */
.s-04b-photo { margin: 0 0 56px; }
.s-04b-photo-frame { aspect-ratio: 16 / 9; border-radius: var(--radius-card); background: var(--surface-1); }
.s-04b-photo-frame img { object-position: 50% 20%; transform-origin: 50% 25%; }
.s-04b-photo-caption { margin: 14px 2px 0; max-width: 46em; color: var(--color-text-secondary); text-wrap: pretty; }
.s-04b-fact-link { margin-top: 10px; display: flex; width: max-content; }
.s-04b-actual.s-04b-photo-on .s-04b-photo-frame { will-change: clip-path; }
.s-04b-actual.s-04b-photo-on .s-04b-photo-frame img { will-change: transform; }
@media (max-width: 1068px) {
  .s-04b-photo-frame { aspect-ratio: 3 / 2; }
}
@media (max-width: 734px) {
  .s-04b-photo { margin-bottom: 36px; }
  .s-04b-photo-frame { aspect-ratio: 4 / 3; border-radius: 22px; }
  .s-04b-photo-frame img { object-position: 50% 20%; }
  .s-04b-photo-caption { margin-top: 12px; }
}
@media print {
  .s-04b-photo-frame { clip-path: none !important; }
  .s-04b-photo-frame img { transform: none !important; }
}
/* 14-nov · Education gets its own label under the other roles. */
/* 15-nov: «Formación» es una franja propia bajo las dos columnas (dentro de la izquierda la alargaba 190 px y dejaba
   hueco a la derecha). En ordenador usa la rejilla de «Qué ha dirigido»: rótulo en las columnas 1-4, los tres títulos
   en tres columnas de la 5 a la 12. En móvil y tableta se lee igual que antes, uno debajo de otro. */
.s-04b-edu { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--color-hairline); }
.s-04b-edu-list { display: grid; gap: 8px; }
@media (min-width: 1024px) {
  .s-04b-edu { grid-row: 5; margin-top: 56px; padding-top: 24px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .s-04b-edu-title { grid-column: 1 / span 4; }
  .s-04b-edu-list { grid-column: 5 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .s-04b-actual .s-04b-led { margin-top: 96px; }
  /* Las dos columnas bajo la foto empiezan a la misma altura: la izquierda lleva la misma raya y el mismo aire
     que la primera línea de la derecha (antes su texto quedaba 11 px más arriba y sin raya). */
  .s-04b-role { border-top: 1px solid var(--color-hairline); padding-top: 20px; }
}
.s-04b-edu-title { margin: 0 0 4px; color: var(--color-text-secondary); }

/* 15-nov · escala (Harvey: «esta sección diría que está demasiado grande»). En ordenador y tableta el titular baja de
   la talla de portada (80) a la de sección (64) y la frase del cargo de 36 a 28. */
@media (min-width: 735px) {
  .s-04b-title { font-size: var(--type-display-size); line-height: var(--type-display-lh); letter-spacing: var(--type-display-ls); }
  .s-04b-header { margin-bottom: 24px; }
  .s-04b-opening { margin-bottom: 36px; }
  .s-04b-role-title { max-width: 30em; font-size: var(--type-card-title-size); line-height: 1.2; }
}
/* En ordenador el arranque pasa a dos columnas: titular y cargo a la izquierda, centrados contra la foto; la foto a la
   derecha, entera (3:2, su proporción: sin recorte, las dos caras y el documento). A todo el ancho medía 709 px de
   alto (el 92 % de una pantalla de 774); ahora 477 (62 %). Las filas 1-2 siguen ocupadas, para que nada salte ahí. */
@media (min-width: 1024px) {
  .s-04b-opening { grid-column: 1 / span 5; grid-row: 1 / span 2; align-self: center; margin-bottom: 56px; }
  .s-04b-photo { grid-column: 6 / -1; grid-row: 1 / span 2; margin-bottom: 56px; }
  .s-04b-photo-frame { aspect-ratio: 3 / 2; }
  .s-04b-photo-frame img { object-position: 50% 50%; }
  .s-04b-role-title { max-width: none; }
}
/* 15-nov · móvil (Harvey: «aquí se ve demasiado texto, algo cargado»). Eran nueve párrafos seguidos al mismo cuerpo,
   separados solo por filetes. Ahora tres pesos: la frase de hoy (cuándo y dónde) sigue en cuerpo grande con su
   enlace; los tres hechos van juntos en una placa gris, en cuerpo de lectura; los otros cargos y la formación, debajo,
   más pequeños y en gris. Mismas palabras, mismos enlaces, mismo orden. */
@media (max-width: 734px) {
  .s-04b-role-title { font-size: 24px; line-height: 1.2; }
  .s-04b-lead { gap: 20px; }
  .s-04b-detail { padding: 2px 16px; border-radius: 18px; background: var(--surface-1); }
  .s-04b-line { padding-block: 14px; font-size: 15px; line-height: 1.45; letter-spacing: -0.01em; }
  .s-04b-line:first-child { border-top: 0; }
  .s-04b-fact-link { margin-top: 8px; }
  .s-04b-more { margin-top: 24px; padding-top: 0; border-top: 0; gap: 6px; }
  .s-04b-more-col { gap: 6px; }
  .s-04b-more-text { font-size: 15px; line-height: 1.45; letter-spacing: -0.01em; }
  .s-04b-edu { margin-top: 20px; padding-top: 16px; }
  .s-04b-edu-title { font-size: 15px; line-height: 1.3; }
  .s-04b-edu-list { gap: 6px; }
}

/* 15-nov-2026 · móvil, segunda vez (Harvey: «aquí igual hay mucho texto»). Bajar el cuerpo no bastó: seguían siendo
   veintiséis líneas seguidas. Ahora los tres bloques (TEON · más cargos · formación) comparten UNA placa y tres
   pastillas eligen cuál se ve: una ficha cada vez, como el tablero de España en móvil. Mismas palabras y enlaces.
   Las pastillas solo existen con JS; ordenador, impresión y sin-JS: los tres bloques a la vista, como estaban. */
.s-04b-tabs { display: none; }
@media screen and (max-width: 734px) {
  .s-04b-tabs-on .s-04b-tabs:not([hidden]) { display: flex; flex-wrap: wrap; gap: 6px; }
  .s-04b-tab { flex: 0 0 auto; min-height: 36px; padding: 7px 14px; border: 1px solid var(--color-hairline); border-radius: var(--radius-pill); background: var(--surface-0); color: var(--color-ink); font: inherit; font-size: 14px; line-height: 1.2; letter-spacing: -0.005em; cursor: pointer; }
  .s-04b-tab[aria-pressed="true"] { border-color: var(--color-ink); background: var(--color-ink); color: var(--surface-0); }
  .s-04b-tabs-on[data-s04b-tab="teon"] .s-04b-more, .s-04b-tabs-on[data-s04b-tab="teon"] .s-04b-edu,
  .s-04b-tabs-on[data-s04b-tab="otros"] .s-04b-detail, .s-04b-tabs-on[data-s04b-tab="otros"] .s-04b-edu,
  .s-04b-tabs-on[data-s04b-tab="formacion"] .s-04b-detail, .s-04b-tabs-on[data-s04b-tab="formacion"] .s-04b-more { display: none; }
  .s-04b-tabs-on .s-04b-detail { margin-top: -8px; }
  .s-04b-tabs-on .s-04b-more, .s-04b-tabs-on .s-04b-edu { margin-top: 12px; padding: 2px 16px; border: 0; border-radius: 18px; background: var(--surface-1); }
  .s-04b-tabs-on .s-04b-more-col, .s-04b-tabs-on .s-04b-edu-list { gap: 0; }
  .s-04b-tabs-on .s-04b-more-text { padding-block: 14px; border-top: 1px solid var(--color-hairline); color: var(--color-ink); }
  .s-04b-tabs-on .s-04b-more-text:first-child { border-top: 0; }
  .s-04b-tabs-on .s-04b-edu-title { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* Móviles estrechos (320-374): las tres pastillas, en una sola línea. */
@media screen and (max-width: 374px) {
  .s-04b-tab { padding: 7px 11px; font-size: 13px; }
}

/* ===== 15-nov-2026, 21 h · RONDA-2100 ===================================================================
   A · «Hoy dirige.» (Harvey: «la sección no cabe y hay demasiado texto… que quepa en una página (solo una sección y
   que al bajar esté animado wow)»). En ordenador (≥ 1024 px, con JS y movimiento) el arranque es UNA escena fija:
   titular y cargo a la izquierda, la foto a la derecha y UNA placa cuyo texto cambia con el scroll por tres pasos
   (TEON · Más cargos · Formación). Las pastillas marcan el paso y pulsarlas lleva la página a él. Mismas palabras y
   enlaces. La clase .s-04b-hoy-on la pone el guion solo si la escena cabe; si no, queda la composición de antes. */
@media (min-width: 1024px) {
  .s-04b-actual.s-04b-hoy-on .s-04b-hoy-stage { position: sticky; top: var(--nav-h); grid-template-rows: auto auto auto auto; align-content: start; }
  .s-04b-actual.s-04b-hoy-on .s-04b-hoy-stage::before { content: ""; grid-column: 1 / span 6; grid-row: 3 / span 2; border-radius: var(--radius-card); background: var(--surface-1); }
  .s-04b-actual.s-04b-hoy-on .s-04b-opening { grid-column: 1 / span 6; grid-row: 1; align-self: start; margin-bottom: 22px; }
  .s-04b-actual.s-04b-hoy-on .s-04b-header { gap: 10px; margin-bottom: 16px; }
  .s-04b-actual.s-04b-hoy-on .s-04b-role-title { font-size: 26px; line-height: 1.2; }
  .s-04b-actual.s-04b-hoy-on .s-04b-tabs { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / span 6; grid-row: 2; margin-bottom: 14px; }
  .s-04b-actual.s-04b-hoy-on .s-04b-tab { flex: 0 0 auto; min-height: 34px; padding: 6px 16px; border: 1px solid var(--color-hairline); border-radius: var(--radius-pill); background: var(--surface-0); color: var(--color-ink); font: inherit; font-size: 14px; line-height: 1.2; letter-spacing: -0.005em; cursor: pointer; transition: background-color .3s var(--ease-house), color .3s var(--ease-house), border-color .3s var(--ease-house); }
  .s-04b-actual.s-04b-hoy-on .s-04b-tab[aria-pressed="true"] { border-color: var(--color-ink); background: var(--color-ink); color: var(--surface-0); }
  .s-04b-actual.s-04b-hoy-on .s-04b-role { grid-column: 1 / span 6; grid-row: 3; border-top: 0; padding: 24px 32px 0; }
  .s-04b-actual.s-04b-hoy-on .s-04b-role-meta { display: inline; }
  .s-04b-actual.s-04b-hoy-on .s-04b-proof { display: inline; margin: 0; }
  .s-04b-actual.s-04b-hoy-on .s-04b-detail { grid-column: 1 / span 6; grid-row: 4; align-self: start; margin-top: 14px; padding: 0 32px 12px; }
  .s-04b-actual.s-04b-hoy-on .s-04b-line { padding-block: 12px; font-size: var(--type-body-size); line-height: var(--type-body-lh); letter-spacing: var(--type-body-ls); }
  .s-04b-actual.s-04b-hoy-on .s-04b-line:last-child { border-bottom: 0; }
  .s-04b-actual.s-04b-hoy-on .s-04b-fact-link { display: inline-flex; width: auto; margin: 0; }
  .s-04b-actual.s-04b-hoy-on .s-04b-more { grid-column: 1 / span 6; grid-row: 3 / span 2; align-self: center; margin: 0; padding: 24px 32px; border: 0; }
  .s-04b-actual.s-04b-hoy-on .s-04b-more-col { gap: 0; }
  .s-04b-actual.s-04b-hoy-on .s-04b-more-text { padding-block: 18px; border-top: 1px solid var(--color-hairline); font-family: var(--font-display); font-size: 26px; line-height: 1.3; letter-spacing: -0.008em; color: var(--color-ink); }
  .s-04b-actual.s-04b-hoy-on .s-04b-more-text:first-child { border-top: 0; }
  .s-04b-actual.s-04b-hoy-on .s-04b-edu { grid-column: 1 / span 6; grid-row: 3 / span 2; align-self: center; display: block; margin: 0; padding: 14px 32px; border: 0; }
  .s-04b-actual.s-04b-hoy-on .s-04b-edu-title { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .s-04b-actual.s-04b-hoy-on .s-04b-edu-list { grid-column: auto; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .s-04b-actual.s-04b-hoy-on .s-04b-edu-item { padding-block: 14px; font-size: var(--type-body-lg-size); line-height: var(--type-body-lg-lh); letter-spacing: var(--type-body-lg-ls); }
  .s-04b-actual.s-04b-hoy-on :is(.s-04b-role, .s-04b-line, .s-04b-more-text) { will-change: opacity, transform; transition: opacity .2s linear, transform .2s linear; }
  .s-04b-actual.s-04b-hoy-on .s-04b-photo { grid-column: 7 / -1; grid-row: 1 / span 4; align-self: center; margin: 0; }
  .s-04b-actual.s-04b-hoy-on .s-04b-photo-frame { aspect-ratio: auto; height: var(--s-04b-photo-h, 420px); }
  .s-04b-actual.s-04b-hoy-on .s-04b-photo-frame img { object-position: 34% 50%; transform-origin: 45% 42%; }
  .s-04b-actual.s-04b-hoy-on .s-04b-photo-caption { margin-top: 12px; }
  /* Ventanas bajas (o estrechas): la misma escena, más prieta. La clase la pone el guion cuando la normal no cabe. */
  .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-title { font-size: 52px; }
  .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-header { gap: 6px; margin-bottom: 12px; }
  .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-eyebrow { font-size: 19px; }
  .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-opening { margin-bottom: 16px; }
  .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-role-title { font-size: 22px; }
  .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-tabs { margin-bottom: 12px; }
  .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-tab { min-height: 32px; padding: 5px 14px; }
  .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-role { padding: 20px 28px 0; }
  .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-role-meta, .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-proof { font-size: 17px; line-height: 1.45; letter-spacing: -0.015em; }
  .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-detail { margin-top: 10px; padding: 0 28px 8px; }
  .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-line { padding-block: 10px; font-size: 16px; line-height: 1.4; letter-spacing: -0.015em; }
  .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-more { padding: 16px 28px; }
  .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-more-text { padding-block: 14px; font-size: 21px; }
  .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-edu { padding: 10px 28px; }
  .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-edu-item { padding-block: 10px; font-size: 17px; line-height: 1.45; letter-spacing: -0.015em; }

  /* B · «Qué ha dirigido» (Harvey: «que al llegar igual sea un bloque que va saliendo»). Bloque fijo: el rótulo y las
     cuatro filas caben enteros y las filas salen una a una con el scroll (el mismo gesto: el filete se dibuja, el verbo
     entra, el hecho se asienta), cada una con su tramo y su meseta. Si el scroll se para a medias, la fila se asienta
     entera o no sale: en reposo, ninguna palabra a medias. La clase la pone el guion solo si el bloque cabe. */
  .s-04b-actual.s-04b-led-pin .s-04b-led-stage { position: sticky; top: var(--nav-h); }
  .s-04b-actual.s-04b-led-pin .s-04b-led-row { padding-block: 22px; }
  .s-04b-actual.s-04b-led-pin .s-04b-led-off .s-04b-led-src { pointer-events: none; }
  .s-04b-actual.s-04b-led-pin.s-04b-led-c .s-04b-led-title { margin-bottom: 12px; }
  .s-04b-actual.s-04b-led-pin.s-04b-led-c .s-04b-led-row { padding-block: 13px; }
  .s-04b-actual.s-04b-led-pin.s-04b-led-c .s-04b-led-verb { font-size: clamp(40px, 4vw, 54px); }
}

/* C · «Seis ideas, con sus palabras.» (Harvey: «a esta sección dale un poco de color»). Un poco y de la casa: la
   palabra gigante del fondo pasa del gris a un degradado azul muy claro que se apaga en gris y cambia de matiz en cada
   idea (del 202 al 227, alrededor del azul de los enlaces, 210); el contador, la regla de marcas y la sombra de la
   placa toman el mismo azul. Ni fondos planos ni arcoíris. Solo de tableta para arriba: el móvil queda como estaba. */
@media (min-width: 735px) {
  .s-04b-actual.s-04b-on .s-04b-eco { top: -0.1em; padding: 0.1em 0 0.24em; color: #dbe7f6; background-image: linear-gradient(96deg, hsl(var(--s-04b-hue, 210) 92% 84%) 0%, hsl(calc(var(--s-04b-hue, 210) + 9) 78% 89%) 48%, #e4e5ea 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  .s-04b-actual .s-04b-eco:nth-child(6n + 1) { --s-04b-hue: 202; }
  .s-04b-actual .s-04b-eco:nth-child(6n + 2) { --s-04b-hue: 207; }
  .s-04b-actual .s-04b-eco:nth-child(6n + 3) { --s-04b-hue: 212; }
  .s-04b-actual .s-04b-eco:nth-child(6n + 4) { --s-04b-hue: 217; }
  .s-04b-actual .s-04b-eco:nth-child(6n + 5) { --s-04b-hue: 222; }
  .s-04b-actual .s-04b-eco:nth-child(6n + 6) { --s-04b-hue: 227; }
  .s-04b-actual.s-04b-on .s-04b-count-now { color: var(--color-link); }
  .s-04b-actual.s-04b-on .s-04b-value-card { box-shadow: 0 0 0 1px var(--color-hairline), 0 26px 60px -34px rgba(0, 84, 184, .38); }
  .s-04b-actual.s-04b-on .s-04b-ticks { background: repeating-linear-gradient(90deg, rgba(0, 102, 204, .46) 0 1px, transparent 1px 40px); border-top-color: rgba(0, 102, 204, .24); }
}
/* «Qué ha dirigido», fijo o no: un paso corto entre valores, para que el asentado al parar (y la vuelta al seguir) no salte. */
.s-04b-actual.s-04b-led-on .s-04b-led-row::before, .s-04b-actual.s-04b-led-on .s-04b-led-row:last-child::after { transition: transform .22s linear; }
.s-04b-actual.s-04b-led-on .s-04b-led-verb-in { transition: clip-path .22s linear, opacity .22s linear; }
.s-04b-actual.s-04b-led-on :is(.s-04b-led-what, .s-04b-led-meta) { transition: opacity .22s linear, transform .22s linear; }
@media (forced-colors: active) {
  .s-04b-actual.s-04b-on .s-04b-eco { background: none; -webkit-text-fill-color: currentColor; color: GrayText; }
}
@media print {
  .s-04b-actual :is(.s-04b-role, .s-04b-line, .s-04b-more-text, .s-04b-edu-item) { opacity: 1 !important; transform: none !important; }
}
/* 15-nov-2026 · «Qué ha dirigido» en bloque fijo, retoque del coordinador al integrar (Harvey: «un bloque que va
   saliendo»; su vara: media pantalla vacía es un defecto). Al fijarse solo se veía la primera fila y tres cuartos de
   pantalla en blanco hasta que salían las demás. Ahora los cuatro verbos están en su sitio desde el principio, en gris
   muy claro (16 % de tinta, como las palabras sin entintar de la cita final), y cada uno SE ENTINTA de izquierda a
   derecha cuando llega su tramo; después se dibuja su filete y se asienta su hecho, como antes. Mismas variables del
   guion; fuera del bloque fijo (móvil, tableta, sin movimiento) no cambia nada. */
@property --s-04b-verb { syntax: "<number>"; inherits: true; initial-value: 1; }
.s-04b-actual.s-04b-led-pin .s-04b-led-row { transition: --s-04b-verb .22s linear; }
.s-04b-actual.s-04b-led-pin .s-04b-led-verb-in {
  opacity: 1; clip-path: none; transition: none;
  padding: 0.14em 0.06em 0.22em 0; margin: -0.14em -0.06em -0.22em 0;
  background-image: linear-gradient(to right, var(--color-ink) calc(var(--s-04b-verb, 1) * 112% - 12%), color-mix(in srgb, var(--color-ink) 16%, transparent) calc(var(--s-04b-verb, 1) * 112%));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
@media (forced-colors: active) { .s-04b-actual.s-04b-led-pin .s-04b-led-verb-in { background-image: none; -webkit-text-fill-color: currentColor; color: CanvasText; } }
@media print { .s-04b-actual.s-04b-led-pin .s-04b-led-verb-in { background-image: none; -webkit-text-fill-color: currentColor; color: var(--color-ink); } }

/* ===== 15-nov-2026, 22:30 · SEGUNDA VUELTA (arreglos del revisor independiente, RONDA-2100/REVISION.md §5-7) =====
   A1 · En «Más cargos» y «Formación» la foto de Harvard no acompañaba. Sin foto nueva: en esos dos pasos una placa
        oscura de la casa (la de «En España»: degradado radial, filo interior, rótulo con raya azul) funde sobre la
        foto con los nombres propios de ESE paso en grande. La crea el guion con palabras que ya están en el texto del
        paso; es decoración (aria-hidden). El pie de la foto se apaga en esos pasos.
   A2 · La placa de texto usaba tres cuerpos según el paso: ahora dos (19 y 17; en la versión prieta, 17 y 16). */
.s-04b-tile { display: none; }
@media (min-width: 1024px) {
  .s-04b-actual.s-04b-hoy-on .s-04b-tile { display: flex; flex-direction: column; justify-content: space-between; position: absolute; inset: 0; z-index: 2; box-sizing: border-box; padding: 7% 8% 8%; opacity: 0; pointer-events: none; user-select: none; color: var(--color-on-dark); background: radial-gradient(120% 105% at 92% -6%, #303036 0%, #1d1d1f 60%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); border-radius: inherit; will-change: opacity; transition: opacity .2s linear; }
  .s-04b-actual.s-04b-hoy-on .s-04b-tile-top { font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: clamp(18px, 1.7vw, 26px); line-height: 1.1; letter-spacing: -0.01em; }
  .s-04b-actual.s-04b-hoy-on .s-04b-tile-top::after { content: ""; display: block; width: 2.2em; height: 2px; margin-top: 0.55em; border-radius: var(--radius-pill); background: var(--color-link-on-dark); }
  .s-04b-actual.s-04b-hoy-on .s-04b-tile-names { display: grid; gap: 0.1em; transition: transform .2s linear; }
  .s-04b-actual.s-04b-hoy-on .s-04b-tile-name { font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: clamp(38px, 4vw, 60px); line-height: 1.04; letter-spacing: -0.03em; overflow-wrap: break-word; }
  .s-04b-actual.s-04b-hoy-on .s-04b-tile--2 .s-04b-tile-name { font-size: clamp(50px, 5.6vw, 86px); line-height: 1; }
  .s-04b-actual.s-04b-hoy-on .s-04b-photo-caption { transition: opacity .2s linear; }
  .s-04b-actual.s-04b-hoy-on .s-04b-more-text { padding-block: 20px; font-family: var(--font-text); font-size: var(--type-body-lg-size); line-height: var(--type-body-lg-lh); letter-spacing: var(--type-body-lg-ls); }
  .s-04b-actual.s-04b-hoy-on .s-04b-edu-item { padding-block: 14px; }
  .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-more-text { padding-block: 14px; font-size: 17px; line-height: 1.45; letter-spacing: -0.015em; }
  .s-04b-actual.s-04b-hoy-on.s-04b-hoy-c .s-04b-edu-item { padding-block: 10px; }

  /* B1 · Al fijarse quedaban dos tercios de pantalla en blanco a la derecha de los verbos en gris. Ahora la FILA
          ENTERA espera en su sitio en gris muy claro (el hecho, la fecha y la fuente también, sin moverse) y se
          entinta al llegar su tramo; los filetes están desde el principio. La fuente de una fila sin salir no se
          puede pulsar (.s-04b-led-off) y con teclado lleva la página a donde sale, como antes.
     B2 · Aire: verbos de 68 a 58 px como mucho y 4 px menos de relleno arriba y abajo por fila. */
  .s-04b-actual.s-04b-led-pin .s-04b-led-row::before, .s-04b-actual.s-04b-led-pin .s-04b-led-row:last-child::after { transform: none; }
  .s-04b-actual.s-04b-led-pin .s-04b-led-what { opacity: calc(.16 + .84 * var(--s-04b-fact, 1)); transform: none; }
  .s-04b-actual.s-04b-led-pin .s-04b-led-meta { opacity: calc(.24 + .76 * var(--s-04b-fact, 1)); transform: none; }
  .s-04b-actual.s-04b-led-pin .s-04b-led-row { padding-block: 18px; }
  .s-04b-actual.s-04b-led-pin .s-04b-led-verb { font-size: clamp(44px, 3.85vw, 58px); }
  .s-04b-actual.s-04b-led-pin.s-04b-led-c .s-04b-led-row { padding-block: 13px; }
  .s-04b-actual.s-04b-led-pin.s-04b-led-c .s-04b-led-verb { font-size: clamp(40px, 3.8vw, 54px); }
}
/* C1 · La tarjeta tapaba el rabo de la «p» justo en la línea base: se leía como corte. La palabra gigante va ahora un
        35 % metida tras la tarjeta (lo pone el guion): se lee como fondo. C2 · El degradado arranca en un azul más
        lleno. C3 · Una sola tinta: las seis ideas entre 205 y 215 de tono (la quinta tiraba a lila). */
@media (min-width: 735px) {
  .s-04b-actual.s-04b-on .s-04b-eco { color: #a9cdf6; background-image: linear-gradient(96deg, hsl(var(--s-04b-hue, 210) 96% 70%) 0%, hsl(var(--s-04b-hue, 210) 90% 81%) 46%, #dde3ee 100%); }
  .s-04b-actual .s-04b-eco:nth-child(6n + 1) { --s-04b-hue: 205; }
  .s-04b-actual .s-04b-eco:nth-child(6n + 2) { --s-04b-hue: 207; }
  .s-04b-actual .s-04b-eco:nth-child(6n + 3) { --s-04b-hue: 209; }
  .s-04b-actual .s-04b-eco:nth-child(6n + 4) { --s-04b-hue: 211; }
  .s-04b-actual .s-04b-eco:nth-child(6n + 5) { --s-04b-hue: 213; }
  .s-04b-actual .s-04b-eco:nth-child(6n + 6) { --s-04b-hue: 215; }
}
@media (forced-colors: active) {
  .s-04b-actual.s-04b-on .s-04b-eco { background: none; -webkit-text-fill-color: currentColor; color: GrayText; }
}

/* ===== 15-nov-2026, 23:17 · TERCERA VUELTA (revisor, segunda pasada, pieza 5) =====
   1 · Las dos placas oscuras eran negro con palabras grandes y el centro vacío. Ahora son una ficha con su motivo de
       puntos: cada nombre es un renglón con su filo y lleva detrás una línea de puntos que corre hasta el borde de la
       placa y acaba en un punto azul (como el índice de una ficha). El estudio que «está terminando» acaba en un punto
       hueco: lo marca el guion leyendo esa frase del propio texto; ningún dato inventado, ningún porcentaje.
   2 · Sin el pie de foto, la placa acababa 32 px antes que la placa gris de la izquierda: ahora es una pieza de la rejilla
       de la escena, del alto de la escena entera, y cierra a la misma altura. */
@media (min-width: 1024px) {
  /* La placa es una pieza más de la rejilla de la escena, en la misma casilla que la figura y con su mismo alto
     (contain: size: su contenido no decide el alto de la escena). */
  .s-04b-actual.s-04b-hoy-on .s-04b-tile { position: relative; inset: auto; grid-column: 7 / -1; grid-row: 1 / span 4; align-self: stretch; contain: size; border-radius: var(--radius-card); padding: 7% 8% 6.5%; }
  .s-04b-actual.s-04b-hoy-on .s-04b-tile-names { gap: 0; }
  .s-04b-actual.s-04b-hoy-on .s-04b-tile-name { display: flex; align-items: flex-end; gap: 0.2em; padding-block: 0.3em 0.24em; border-top: 1px solid rgba(245, 245, 247, 0.14); }
  .s-04b-actual.s-04b-hoy-on .s-04b-tile-name::after { content: ""; flex: 1 1 0; min-width: 30px; height: 12px; margin-bottom: 0.2em; padding-right: 20px; box-sizing: border-box;
    background-image: radial-gradient(circle, var(--color-link-on-dark) 0 5px, transparent 5.6px), radial-gradient(circle, rgba(245, 245, 247, 0.34) 0 2.4px, transparent 3px);
    background-size: 12px 12px, 14px 12px; background-position: right center, left center; background-repeat: no-repeat, space no-repeat;
    background-origin: border-box, content-box; background-clip: border-box, content-box; }
  .s-04b-actual.s-04b-hoy-on .s-04b-tile-name--abierto::after { background-image: radial-gradient(circle, transparent 0 3px, var(--color-link-on-dark) 3.6px 5px, transparent 5.6px), radial-gradient(circle, rgba(245, 245, 247, 0.34) 0 2.4px, transparent 3px); }
}

/* 16-nov-2026 · Harvey, sobre las dos placas oscuras de «Más cargos» y «Formación»: «Esto está cutre y sin foto (busca y
   encontrarás)». Cada placa lleva ahora una foto suya de 2026 de la carpeta nueva, a sangre, con un velo oscuro abajo
   para los nombres (más pequeños) y arriba para el rótulo. El pie dice solo lo que consta en la propia foto. */
.s-04b-tile-shots { display: none; }
@media (min-width: 1024px) {
  .s-04b-actual.s-04b-hoy-on .s-04b-tile.s-04b-tile--foto { overflow: hidden; background: #1d1d1f; }
  .s-04b-actual.s-04b-hoy-on .s-04b-tile-pic { position: absolute; inset: 0; z-index: 0; }
  .s-04b-actual.s-04b-hoy-on .s-04b-tile-pic picture, .s-04b-actual.s-04b-hoy-on .s-04b-tile-pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
  .s-04b-actual.s-04b-hoy-on .s-04b-tile--foto::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.56) 26%, rgba(0, 0, 0, 0) 54%), linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 24%); }
  .s-04b-actual.s-04b-hoy-on .s-04b-tile--foto > .s-04b-tile-top, .s-04b-actual.s-04b-hoy-on .s-04b-tile--foto > .s-04b-tile-names { position: relative; z-index: 2; }
  .s-04b-actual.s-04b-hoy-on .s-04b-tile.s-04b-tile--foto .s-04b-tile-name { font-size: clamp(24px, 2.35vw, 36px); line-height: 1.08; border-top-color: rgba(245, 245, 247, 0.24); }
  .s-04b-actual.s-04b-hoy-on .s-04b-tile-cap { margin-top: 10px; font-size: 12px; line-height: 1.3; color: rgba(245, 245, 247, 0.74); }
}
/* 16-nov-2026 · RUN-MOVIL (auditoría #24), solo teléfono: tras la regla de marcas de «Seis ideas» la sección dejaba 64 px
   antes de que empezara el gris de «Temas de trabajo»; ahora 40 (con los 32 de arriba de 04 y su gris fundido). */
@media (max-width: 734px) { .s-04b-actual { padding-bottom: 40px; } }

/* ==== sections/04-aporta ==== */
/* Static reading remains complete without JavaScript and with reduced motion. */
.s-04-aporta { --s-04-safe-top: var(--space-64); --s-04-safe-bottom: calc(var(--space-48) + var(--space-8)); padding-top: var(--section-padding-story); }
.s-04-heading { max-width: 1100px; }
.s-04-header { max-width: 980px; margin: 0 auto var(--space-48); text-align: center; }
.s-04-eyebrow { color: var(--color-text-secondary); margin-bottom: var(--space-16); }
.s-04-title { font-size: var(--type-display-size); line-height: var(--type-display-lh); letter-spacing: var(--type-display-ls); }
.s-04-stage { position: static; height: auto; overflow: visible; padding-bottom: var(--space-64); }
.s-04-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-40); }
.s-04-card { min-width: 0; }
.s-04-photo { position: relative; border-radius: var(--radius-card); isolation: isolate; }
.s-04-photo::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: color-mix(in srgb, var(--color-action) 35%, var(--surface-0)); opacity: 0; filter: blur(var(--space-24)); pointer-events: none; z-index: -1; }
.s-04-image { aspect-ratio: 4 / 5; border-radius: inherit; }
.s-04-image picture, .s-04-image img { display: block; width: 100%; height: 100%; }
.s-04-image img { object-fit: cover; border-radius: inherit; }
.s-04-aporta.s-04-animated .s-04-image::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--surface-1); opacity: var(--s-04-dim, 0); pointer-events: none; }
.s-04-photo--vivienda img { object-position: 50% 45%; }
/* Preserve both complete heads; a vertical crop cannot contain this source. */
.s-04-photo--europa .s-04-image { aspect-ratio: 1; }
.s-04-photo--europa img { object-position: 100% 35%; }
.s-04-photo--jovenes .s-04-image { aspect-ratio: 123 / 100; }
.s-04-photo--jovenes img { object-position: 0% 62%; }
.s-04-image--espana { aspect-ratio: 4 / 3; }
/* Card 5 (salud mental) has no photo of its own: a data card designed on purpose, never an empty
   box. Ink surface (reads as a card among photos, not as a photo that did not load), the programme's
   name on top and its two real figures in large type (the same ones «Resultados» gives with their
   source). Sizes follow the card's own width (container units; vw fallback). */
.s-04-photo--tile .s-04-image { aspect-ratio: 4 / 3; }
.s-04-tile { container-type: inline-size; display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; box-sizing: border-box; padding: 7% 7.5% 6.5%; background: var(--surface-dark-alt); color: var(--color-on-dark); overflow: hidden; }
.s-04-tile-word { margin: 0; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: clamp(15px, 1.7vw, 26px); font-size: clamp(14px, 5cqw, 30px); line-height: 1.1; letter-spacing: -0.01em; color: var(--color-on-dark); }
.s-04-tile-word::after { content: ""; display: block; width: 2.2em; height: 2px; margin-top: .55em; border-radius: var(--radius-pill); background: var(--color-link-on-dark); }
.s-04-tile-stats { margin: 0; display: grid; row-gap: 12px; row-gap: 3cqw; }
.s-04-tile-stat { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; column-gap: 4.5cqw; align-items: end; min-width: 0; }
.s-04-tile-num { display: block; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: clamp(40px, 8.6vw, 130px); font-size: clamp(36px, 24cqw, 170px); line-height: .86; letter-spacing: -0.04em; color: var(--color-on-dark); }
.s-04-tile-unit { display: block; margin: 0 0 .4em; max-width: 11em; font-size: clamp(13px, 1.1vw, 18px); font-size: clamp(13px, 4.4cqw, 22px); line-height: 1.22; font-weight: var(--font-weight-medium); color: color-mix(in srgb, var(--color-on-dark) 80%, var(--color-steel)); text-wrap: balance; }
/* Very small cards (320×640: about 144 px wide): no room for the stacked rows. The two figures go
   side by side with their units under them; the programme's name stays in the text below the card. */
@container (max-width: 199px) {
  .s-04-tile-word { display: none; }
  .s-04-tile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 5cqw; row-gap: 0; align-items: start; margin-block: auto; }
  .s-04-tile-stat { display: block; }
  .s-04-tile-num { font-size: 21cqw; }
  .s-04-tile-unit { margin: .4em 0 0; max-width: none; font-size: 10px; line-height: 1.15; text-wrap: wrap; }
}
/* In the closed deck (under the top photo) the card rests blank, like the back of a photo. */
.s-04-aporta.s-04-animated.s-04-deck .s-04-tile > * { opacity: 0; }
.s-04-image--direccion { aspect-ratio: 4 / 3; }
.s-04-photo--direccion img { object-position: 100% 50%; }
.s-04-photo--espana img { object-position: 50% 78%; }
.s-04-photo-label { display: flex; flex-wrap: wrap; align-content: start; justify-content: space-between; gap: var(--space-4) var(--space-8); padding: var(--space-12) var(--space-4) 0; color: var(--color-text-secondary); }
.s-04-photo-label span { white-space: nowrap; }
.s-04-credit { flex: 1 0 100%; font-size: var(--type-caption-size); line-height: var(--type-caption-lh); }
.s-04-overview { display: none; }
.s-04-copy { padding-top: var(--space-24); }
.s-04-index { color: var(--color-link); margin-bottom: var(--space-12); }
.s-04-card-title { margin-bottom: var(--space-16); }
.s-04-body { color: var(--color-text-secondary-alt); }
.s-04-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-16); min-height: var(--space-48); }
.s-04-steps { display: flex; flex-shrink: 0; gap: var(--space-8); }
.s-04-step { width: var(--globalnav-height); min-height: var(--space-48); display: flex; flex-direction: column; justify-content: center; gap: var(--space-8); align-items: flex-start; font-size: var(--type-caption-size); color: var(--color-text-secondary); font-variant-numeric: tabular-nums; }
.s-04-step-track { width: 100%; height: 2px; background: var(--color-control-gray); position: relative; }
.s-04-step-track::after { content: ""; position: absolute; inset: 0; background: var(--color-action); transform: scaleX(0); transform-origin: left; }
.s-04-step[aria-current] { color: var(--color-link); }
.s-04-step[aria-current] .s-04-step-track::after { transform: scaleX(1); }
.s-04-skip { display: flex; flex-shrink: 0; align-items: center; gap: var(--space-8); color: var(--color-link); min-height: var(--space-48); font-size: var(--type-caption-size); }
.s-04-skip svg { flex: 0 0 auto; }
/* Plateau titles carry the house ink→grey gradient, on the leaf h3 itself. */
.s-04-card-title { background-image: var(--grad-ink); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (forced-colors: active) { .s-04-card-title { -webkit-text-fill-color: currentColor; color: CanvasText; background: none; } }
/* Borders with the neighbours (scroll-tied, reversible; final state without JS).
   03→04: the grey band opens downward from the 03 «Hoy» line; the heading rises
   inside the opening. 04→05: the band's lower edge becomes a horizon curve
   that lifts as 05 arrives. */
.s-04-aporta { isolation: isolate; overflow-x: clip; }
.s-04-edge { position: absolute; left: 0; width: 1px; pointer-events: none; visibility: hidden; }
.s-04-edge--in { top: -100vh; height: 200vh; }
.s-04-edge--out { bottom: -100vh; height: 200vh; }
.s-04-aporta.s-04-curtain { background: transparent; }
/* After 04b the heading waits until the opening band has passed under it (--s-04-cover, JS). */
.s-04-aporta.s-04-curtain :is(.s-04-eyebrow, .s-04-title) { opacity: var(--s-04-cover, 1); }
.s-04-aporta.s-04-curtain::before { content: ""; position: absolute; left: 0; right: 0; top: var(--s-04-band-top, 0px); bottom: 0; z-index: -1; background: var(--s-04-band, var(--surface-1)); clip-path: inset(0 0 var(--s-04-band-cut, 0px) 0); pointer-events: none; }
.s-04-horizon { position: absolute; left: -30%; right: -30%; bottom: -1px; height: 120px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: var(--surface-0); transform: translateY(calc((1 - var(--s-04-rise, 0)) * 101%)); pointer-events: none; z-index: 0; }
/* 04→08 (the closing is next): no horizon, no opaque band over the night. The grey dissolves into
   the page white before the section's end enters the screen (--s-04-dusk 0 → 1), the section turns
   transparent and the closing's fixed night layer darkens it and the closing as one surface; the
   tail's ink follows the same darkness (--s-04-cl), swapped inside .3-.7 so it is never grey on grey. */
.s-04-aporta { --s-04-ink0: var(--color-ink); --s-04-muted0: var(--color-text-secondary); --s-04-line0: var(--color-hairline); --s-04-link0: var(--color-link); }
.s-04-aporta.s-04-to-night { --s-04-band: color-mix(in srgb, var(--surface-1) calc((1 - var(--s-04-dusk, 0)) * 100%), transparent); background: var(--s-04-band); }
/* With the entrance curtain on, the band is the ::before (same dissolving grey), not the section. */
.s-04-aporta.s-04-to-night.s-04-curtain { background: transparent; }
.s-04-aporta.s-04-to-night .s-04-horizon { display: none; }
.s-04-aporta.s-04-to-night :is(.s-04-espana, .s-04-quotes) { --s-04-k: clamp(0%, calc((0.7 - var(--s-04-cl, 0)) * 250%), 100%); --color-ink: color-mix(in srgb, var(--s-04-ink0) var(--s-04-k), var(--color-on-dark)); --color-text-secondary: color-mix(in srgb, var(--s-04-muted0) var(--s-04-k), var(--color-steel)); --color-hairline: color-mix(in srgb, var(--s-04-line0) var(--s-04-k), var(--color-text-secondary-alt)); --color-link: color-mix(in srgb, var(--s-04-link0) var(--s-04-k), var(--color-link-on-dark)); color: var(--color-ink); }
/* Quotes: one lead quote in large type, then two in a tidy grid of cards.
   Separated from the scene by air; the words rise in a scroll-tied cascade. */
.s-04-quotes { position: relative; padding-top: calc(var(--space-96) + var(--space-32)); padding-bottom: 0; }
.s-04-quotes-track { position: absolute; top: -100vh; bottom: 0; left: 0; width: 1px; pointer-events: none; }
.s-04-quote { margin: 0; position: relative; }
.s-04-quote-text { color: var(--color-ink); text-wrap: pretty; }
/* 15-nov (2.0.13) · Harvey: «Esta última frase tampoco queda pulida». Tenía dos marcas de cita (un adorno gigante
   encima de un texto que ya lleva « »), todo cargado a la izquierda y media pantalla vacía. Ahora: una sola marca (las
   comillas del propio texto), centrada en la página como remate de la sección, su fuente debajo y el mismo aire arriba
   que abajo. En móvil se lee a la izquierda, como el resto. */
.s-04-quote--lead { max-width: 1040px; margin-inline: auto; text-align: center; }
.s-04-quote--lead::before, .s-04-quote--card::before { content: "\201C"; position: absolute; left: -0.04em; top: 0; font-family: var(--font-display); font-weight: var(--font-weight-semibold); line-height: 1; color: var(--color-hairline); pointer-events: none; }
.s-04-quote--lead::before { content: none; }
.s-04-quote--lead .s-04-quote-text { font-family: var(--font-display); font-size: clamp(34px, 3.05vw, 48px); line-height: 1.12; letter-spacing: -0.012em; font-weight: var(--font-weight-semibold); text-wrap: balance; }
.s-04-quote--lead .s-04-source { justify-content: center; margin-top: var(--space-32); }
/* 15-nov (2.ª vuelta, revisor: la cita «nunca tiene la pantalla para ella», se entintaba con la cola del tablero
   ocupando media pantalla). Ahora la cita se queda FIJA, centrada bajo el menú, mientras el tablero termina de salir
   y se entinta; después sigue con la página. El punto donde se fija (--s-04-q-top) y lo que dura (--s-04-q-pin) los
   mide section.js; sin animación, sin JS o al imprimir no hay nada de esto. */
.s-04-quotes.s-04-q-on .s-04-quote--lead { position: sticky; top: var(--s-04-q-top, 30vh); }
.s-04-quotes.s-04-q-on::after { content: ""; display: block; height: var(--s-04-q-pin, 0px); }
.s-04-quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-24); margin-top: var(--space-80); }
.s-04-quote--card { background: var(--surface-0); border-radius: var(--radius-card); padding: var(--space-80) var(--space-40) var(--space-40); display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-32); }
.s-04-quote--card::before { font-size: 72px; left: var(--space-40); top: var(--space-24); }
.s-04-quote--card .s-04-quote-text { font-family: var(--font-display); font-size: var(--type-card-title-size); line-height: var(--type-card-title-lh); letter-spacing: var(--type-card-title-ls); font-weight: var(--font-weight-semibold); }
.s-04-source { color: var(--color-text-secondary); margin-top: var(--space-24); display: flex; align-items: center; gap: var(--space-12); }
.s-04-source::before { content: ""; width: var(--space-24); height: 1px; background: var(--color-steel); flex: 0 0 auto; }
.s-04-quote--card .s-04-source { margin-top: 0; }
.s-04-word { display: inline-block; }
/* A fixed camera with two independent reading zones; no grid while enhanced. */
.s-04-aporta.s-04-animated .s-04-track { height: 680svh; }
.s-04-aporta.s-04-animated .s-04-stage { position: sticky; top: calc(var(--nav-h) + var(--s-04-safe-top)); height: calc(100svh - var(--nav-h) - var(--s-04-safe-top) - var(--s-04-safe-bottom)); padding: 0; }
.s-04-aporta.s-04-animated .s-04-inner { position: relative; height: 100%; }
.s-04-aporta.s-04-animated .s-04-board { position: relative; display: block; height: 100%; perspective: 1600px; perspective-origin: 50% 50%; }
.s-04-aporta.s-04-animated .s-04-card { display: contents; }
.s-04-aporta.s-04-animated .s-04-photo { position: absolute; left: 50%; top: 50%; width: var(--s-04-fit-w); transform-origin: center; backface-visibility: hidden; pointer-events: none; }
.s-04-aporta.s-04-animated .s-04-photo-label { position: absolute; top: 100%; width: 100%; visibility: hidden; font-size: var(--type-caption-size); line-height: var(--type-caption-lh); }
.s-04-aporta.s-04-animated .s-04-copy { position: absolute; left: 64%; top: 0; width: 36%; padding: 0; }
.s-04-aporta.s-04-animated .s-04-card-title { font-size: var(--type-headline-sm-size); }
.s-04-aporta.s-04-animated .s-04-body { font-size: var(--type-body-size); line-height: var(--type-body-lh); }
.s-04-aporta.s-04-animated .s-04-overview { position: absolute; left: 0; top: 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-16); font-size: var(--type-body-size); line-height: var(--type-body-lh); text-align: center; }
.s-04-aporta.s-04-animated .s-04-controls { position: absolute; left: 64%; top: 0; width: 36%; }
.s-04-aporta.s-04-animated.s-04-fanning .s-04-controls { left: 50%; width: min(100%, 480px); margin-left: max(-240px, -50%); }
.s-04-aporta.s-04-animated.s-04-reading[data-s-04-active="0"] .s-04-card:nth-child(1) .s-04-photo-label,
.s-04-aporta.s-04-animated.s-04-reading[data-s-04-active="1"] .s-04-card:nth-child(2) .s-04-photo-label,
.s-04-aporta.s-04-animated.s-04-reading[data-s-04-active="2"] .s-04-card:nth-child(3) .s-04-photo-label,
.s-04-aporta.s-04-animated.s-04-reading[data-s-04-active="3"] .s-04-card:nth-child(4) .s-04-photo-label,
.s-04-aporta.s-04-animated.s-04-reading[data-s-04-active="4"] .s-04-card:nth-child(5) .s-04-photo-label,
.s-04-aporta.s-04-animated.s-04-reading[data-s-04-active="5"] .s-04-card:nth-child(6) .s-04-photo-label { visibility: visible; }
.s-04-aporta.s-04-animated.s-04-reading[data-s-04-active="0"] .s-04-card:nth-child(1) .s-04-photo::before,
.s-04-aporta.s-04-animated.s-04-reading[data-s-04-active="1"] .s-04-card:nth-child(2) .s-04-photo::before,
.s-04-aporta.s-04-animated.s-04-reading[data-s-04-active="2"] .s-04-card:nth-child(3) .s-04-photo::before,
.s-04-aporta.s-04-animated.s-04-reading[data-s-04-active="3"] .s-04-card:nth-child(4) .s-04-photo::before,
.s-04-aporta.s-04-animated.s-04-reading[data-s-04-active="4"] .s-04-card:nth-child(5) .s-04-photo::before,
.s-04-aporta.s-04-animated.s-04-reading[data-s-04-active="5"] .s-04-card:nth-child(6) .s-04-photo::before { opacity: .05; }
/* Desktop (≥1024): on the page grid, like 03 and 05. The heading stays above
   the scene, left-aligned; the scene puts the topic text in the left five
   columns, the deck in the right six and the control bar across the bottom. */
@media (min-width: 1024px) {
  .s-04-header { text-align: left; margin-left: 0; max-width: none; margin-bottom: var(--space-16); }
  .s-04-heading { max-width: var(--content-max); }
}
/* The heading lives in the scene's left column, pinned above the index/text. */
.s-04-aporta.s-04-wide .s-04-header { position: absolute; left: 0; top: 0; width: var(--s-04-left-w); margin: 0; z-index: 2; }
.s-04-aporta.s-04-wide .s-04-title { margin-left: 0 !important; margin-right: 0 !important; }
@media (max-width: 1279px), (max-height: 820px) {
  .s-04-aporta.s-04-wide .s-04-title { font-size: var(--type-section-size); line-height: var(--type-section-lh); letter-spacing: var(--type-section-ls); }
}
.s-04-aporta.s-04-wide .s-04-overview { width: var(--s-04-left-w); grid-template-columns: minmax(0, 1fr); gap: 0; text-align: left; font-size: var(--type-title-size); line-height: var(--type-title-lh); letter-spacing: var(--type-title-ls); font-weight: var(--font-weight-semibold); }
.s-04-aporta.s-04-wide .s-04-overview li { padding: var(--space-12) 0; border-top: 1px solid var(--color-hairline); color: var(--color-ink); }
.s-04-aporta.s-04-wide .s-04-overview li:last-child { border-bottom: 1px solid var(--color-hairline); }
/* Six topics: a tighter index on short desktop screens so the left column fits. */
@media (max-height: 820px) { .s-04-aporta.s-04-wide .s-04-overview li { padding: var(--space-8) 0; } }
/* Six topics, the longest text (card 6) must fit the left column of a 720 px screen. */
@media (max-height: 760px) {
  .s-04-aporta.s-04-wide .s-04-card-title { font-size: var(--type-headline-sm-size); line-height: var(--type-headline-sm-lh); letter-spacing: var(--type-headline-sm-ls); margin-bottom: var(--space-12); }
  .s-04-aporta.s-04-wide .s-04-body { font-size: var(--type-body-size); line-height: var(--type-body-lh); letter-spacing: var(--type-body-ls); }
  .s-04-aporta.s-04-wide .s-04-overview li { padding: var(--space-4) 0; }
}
.s-04-aporta.s-04-wide .s-04-copy { left: 0; width: var(--s-04-left-w); }
.s-04-aporta.s-04-wide .s-04-index { color: var(--color-text-secondary); margin-bottom: var(--space-16); font-size: var(--type-small-size); line-height: var(--type-small-lh); }
.s-04-aporta.s-04-wide .s-04-card-title { font-size: var(--type-headline-size); line-height: var(--type-headline-lh); letter-spacing: var(--type-headline-ls); margin-bottom: var(--space-20); text-wrap: balance; }
.s-04-aporta.s-04-wide .s-04-body { font-size: var(--type-body-lg-size); line-height: var(--type-body-lg-lh); letter-spacing: var(--type-body-lg-ls); color: var(--color-text-secondary); max-width: 30em; }
.s-04-aporta.s-04-animated.s-04-wide .s-04-controls,
.s-04-aporta.s-04-animated.s-04-fanning.s-04-wide .s-04-controls { left: 0; width: 100%; margin-left: 0; justify-content: space-between; flex-wrap: nowrap; padding: 0 var(--space-8) 0 var(--space-20); border: 1px solid var(--color-hairline); border-radius: var(--radius-pill); background: var(--surface-0); }
.s-04-aporta.s-04-wide .s-04-steps { gap: var(--space-16); }
.s-04-aporta.s-04-wide .s-04-photo--vivienda .s-04-image { aspect-ratio: 1; }
.s-04-aporta.s-04-wide .s-04-photo--vivienda img { object-position: 50% 40%; }
.s-04-aporta.s-04-wide .s-04-photo-label { font-size: var(--type-small-size); line-height: var(--type-small-lh); padding-top: var(--space-12); }
@media (max-width: 1023px) {
    .s-04-aporta.s-04-animated .s-04-inner { width: calc(100% - var(--space-32)); max-width: 640px; }
  .s-04-aporta.s-04-animated .s-04-copy { left: 0; width: 100%; }
  .s-04-aporta.s-04-animated .s-04-card-title { font-size: var(--type-title-size); margin-bottom: var(--space-12); }
  .s-04-aporta.s-04-animated .s-04-body { font-size: var(--type-small-size); line-height: var(--type-small-lh); }
  .s-04-aporta.s-04-animated .s-04-overview { grid-template-columns: minmax(0, 1fr); text-align: left; gap: var(--space-8); }
  .s-04-aporta.s-04-animated .s-04-controls,
  .s-04-aporta.s-04-animated.s-04-fanning .s-04-controls { left: 0; width: 100%; margin-left: 0; flex-wrap: wrap; justify-content: center; gap: var(--space-8) var(--space-16); }
}
@media (max-width: 734px) {
  .s-04-horizon { height: 88px; left: -60%; right: -60%; }
  .s-04-quotes { width: calc(100% - 2 * var(--space-20)); padding-top: var(--space-80); padding-bottom: 0; }
  .s-04-quote--lead { text-align: left; }
  .s-04-quote--lead .s-04-quote-text { font-size: var(--type-headline-xl-size); line-height: var(--type-headline-xl-lh); letter-spacing: var(--type-headline-xl-ls); text-wrap: pretty; }
  .s-04-quote--lead .s-04-source { justify-content: flex-start; margin-top: var(--space-24); }
  .s-04-quote-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-16); margin-top: var(--space-48); }
  .s-04-quote--card { padding: var(--space-64) var(--space-24) var(--space-24); gap: var(--space-24); border-radius: var(--space-16); }
  .s-04-quote--card::before { font-size: 60px; left: var(--space-24); top: var(--space-16); }
  .s-04-quote--card .s-04-quote-text { font-size: var(--type-card-title-size); line-height: var(--type-card-title-lh); }
  .s-04-header { margin-bottom: var(--space-32); text-align: left; }
  .s-04-title { max-width: 11em; }
  .s-04-board { grid-template-columns: minmax(0, 1fr); }
      /* Mobile polish: one 20px gutter, 16px photo corners, 15px reading copy. */
  .s-04-aporta { --s-04-gutter: var(--space-20); }
  .s-04-aporta .container, .s-04-aporta.s-04-animated .s-04-inner { width: calc(100% - 2 * var(--s-04-gutter)); }
  .s-04-photo { border-radius: var(--space-16); }
  .s-04-card-title { text-wrap: balance; }
  .s-04-aporta.s-04-animated .s-04-card-title { font-size: var(--type-title-size); line-height: var(--type-title-lh); }
  .s-04-aporta.s-04-animated .s-04-body { font-size: 15px; line-height: 1.4; }
  .s-04-aporta.s-04-animated .s-04-overview { font-size: 15px; gap: var(--space-4); }
  .s-04-aporta.s-04-animated .s-04-overview li { min-height: 24px; }
  .s-04-step, .s-04-skip { min-height: var(--globalnav-height); }
  /* Phone scene: the stage runs to 16px above the screen edge (photos keep far
     more than 56px); the list is the title, active in ink and the rest in grey. */
  .s-04-aporta { --s-04-safe-bottom: var(--space-16); }
  /* The heading is pinned inside the scene, so the stage starts under the nav. */
  .s-04-aporta.s-04-phone { --s-04-safe-top: var(--space-12); }
  .s-04-aporta.s-04-phone .s-04-header { position: absolute; left: 0; top: 0; width: 100%; margin: 0; z-index: 2; }
  .s-04-aporta.s-04-phone .s-04-photo::before { display: none; }
  .s-04-aporta.s-04-phone .s-04-eyebrow { margin-bottom: var(--space-4); }
  .s-04-aporta.s-04-phone .s-04-title { font-size: var(--type-headline-xl-size); line-height: var(--type-headline-xl-lh); letter-spacing: var(--type-headline-xl-ls); }
  .s-04-aporta.s-04-phone .s-04-photo--vivienda .s-04-image { aspect-ratio: 1; }
  .s-04-aporta.s-04-phone .s-04-photo--vivienda img { object-position: 50% 40%; }
  .s-04-aporta.s-04-phone .s-04-index,
  .s-04-aporta.s-04-phone .s-04-card-title { position: absolute; left: 0; top: 0; margin: 0; opacity: 0; pointer-events: none; }
  .s-04-aporta.s-04-phone .s-04-overview { gap: 0; font-size: 16px; line-height: 20px; letter-spacing: var(--type-body-ls); }
  .s-04-aporta.s-04-phone .s-04-photo-label { padding-top: var(--space-8); }
  .s-04-aporta.s-04-phone .s-04-overview li { min-height: 0; color: var(--color-text-secondary); }
  .s-04-header { margin-bottom: var(--space-24); }
  .s-04-aporta.s-04-animated.s-04-phone .s-04-controls,
  .s-04-aporta.s-04-animated.s-04-fanning.s-04-phone .s-04-controls { gap: var(--space-4); justify-content: space-between; flex-wrap: nowrap; }
  /* Captions keep the text column's width even when a short screen shrinks the photo. */
  .s-04-aporta.s-04-phone .s-04-photo-label { left: 50%; width: var(--s-04-cap-w); margin-left: calc(var(--s-04-cap-w) / -2); text-align: center; justify-content: center; }
  .s-04-aporta.s-04-phone .s-04-steps { gap: 0; }
  .s-04-aporta.s-04-phone[data-s-04-active="0"] .s-04-overview li:nth-child(1),
  .s-04-aporta.s-04-phone[data-s-04-active="1"] .s-04-overview li:nth-child(2),
  .s-04-aporta.s-04-phone[data-s-04-active="2"] .s-04-overview li:nth-child(3),
  .s-04-aporta.s-04-phone[data-s-04-active="3"] .s-04-overview li:nth-child(4),
  .s-04-aporta.s-04-phone[data-s-04-active="4"] .s-04-overview li:nth-child(5),
  .s-04-aporta.s-04-phone[data-s-04-active="5"] .s-04-overview li:nth-child(6) { color: var(--color-ink); font-weight: var(--font-weight-semibold); }
}
/* Short phones (320×640): a tighter list and controls on one line. */
@media (max-width: 734px) and (max-height: 700px) {
  .s-04-aporta.s-04-phone .s-04-overview { font-size: 15px; line-height: 20px; }
}
@media (max-width: 734px) and (max-height: 700px) {
  /* W31: «si no cabe en la carta, se queda la primera frase» (only the short-phone scene). */
  .s-04-aporta.s-04-short .s-04-extra { display: none; }
  .s-04-aporta.s-04-short .s-04-photo .s-04-image { aspect-ratio: 4 / 3; }
  .s-04-aporta.s-04-short .s-04-photo--vivienda img { object-position: 50% 22%; }
  .s-04-aporta.s-04-short .s-04-photo--europa img { object-position: 100% 25%; }
}
@media (max-width: 734px) {
  /* Six steps: narrower buttons so steps and «Ver sin animación» share one line. */
  .s-04-aporta.s-04-phone .s-04-step { width: 34px; }
}
@media (max-width: 359px) {
  .s-04-aporta.s-04-phone .s-04-skip svg { display: none; }
  .s-04-aporta.s-04-phone .s-04-step { width: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .s-04-horizon { display: none; }
  .s-04-photo, .s-04-copy { transform: none !important; opacity: 1 !important; }
}
@media print {
  .s-04-card-title { -webkit-text-fill-color: #1d1d1f; }
  .s-04-horizon { display: none; }
  .s-04-aporta .s-04-controls { display: none !important; }
  .s-04-card { break-inside: avoid; }
}

/* 11-nov: los temas de la política de juventud en España que enumeró el cliente en su briefing, cada uno con la
   experiencia suya que guarda relación. 12-nov: de lista plana a composición: en ordenador el enunciado se queda fijo
   a la izquierda (columnas 1-4) mientras pasan los temas, en una rejilla de dos columnas a la derecha (6-12); en
   móvil, una columna compacta. Todo a la vista: nada plegado. */
.s-04-espana { margin-top: var(--space-80); }
.s-04-espana-eyebrow { color: var(--color-text-secondary); }
.s-04-espana-title { max-width: 20em; margin-top: var(--space-8); text-wrap: balance; }
.s-04-espana-list { margin: var(--space-40) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-40); }
.s-04-espana-row { display: block; padding-block: var(--space-20) var(--space-28); border-top: 1px solid var(--color-hairline); }
.s-04-espana-tema { font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: var(--type-eyebrow-size); line-height: var(--type-eyebrow-lh); letter-spacing: var(--type-eyebrow-ls); color: var(--color-ink); text-wrap: balance; }
.s-04-espana-hecho { margin: var(--space-8) 0 0; color: var(--color-text-secondary); font-size: 15px; line-height: 1.45; letter-spacing: -0.01em; }
@media (min-width: 1024px) {
  .s-04-espana { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--space-24); align-items: start; }
  .s-04-espana-eyebrow { grid-column: 1 / span 4; grid-row: 1; margin: 0; padding-top: var(--space-20); }
  .s-04-espana-title { grid-column: 1 / span 4; grid-row: 2; margin-top: var(--space-8); position: sticky; top: calc(var(--nav-h) + var(--space-64)); font-size: var(--type-headline-sm-size); line-height: var(--type-headline-sm-lh); }
  .s-04-espana-list { grid-column: 6 / -1; grid-row: 1 / span 2; margin-top: 0; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .s-04-espana-title { font-size: var(--type-title-size); line-height: var(--type-title-lh); }
}
@media (max-width: 734px) {
  .s-04-espana { margin-top: var(--space-48); }
  .s-04-espana-title { font-size: var(--type-title-size); line-height: 1.19; }
  .s-04-espana-list { grid-template-columns: minmax(0, 1fr); margin-top: var(--space-28); }
  .s-04-espana-row { padding-block: var(--space-16) var(--space-20); }
  .s-04-espana-hecho { margin-top: var(--space-4); }
}

/* ═══════════════════════════════════════════════════════════════════════════════════════════════════
   15-nov-2026 (2.0.11) · Harvey: «Esta seccion en la de ahora no esta WOW puedes mejorarla a nivel visual con algo
   disruptivo y que dquede top?». La baraja de fotos pasa a una RUEDA de palabras gigantes sobre una tarjeta negra
   (s-04-w-*), y la rejilla de España a un TABLERO con líneas (s-04-t-*). Los estilos de la baraja de arriba ya no
   tienen a quién aplicarse (sus clases no están en el fragmento). Sin JS, con movimiento reducido, al imprimir o con
   «Ver sin animación»: los seis temas en lista sobre la misma tarjeta y los ocho de España en su rejilla, enteros.
   ═══════════════════════════════════════════════════════════════════════════════════════════════════ */
.s-04-header { margin-bottom: var(--space-40); }
.s-04-w-track { position: relative; margin: 0 var(--space-12); }
.s-04-w-stage { position: static; height: auto; overflow: hidden; border-radius: 40px; background: #000; color: var(--color-on-dark);
  padding: var(--space-64) max(6.25vw, calc((100vw - 1260px) / 2 - var(--space-12))); }
.s-04-w-ghost, .s-04-w-count, .s-04-w-index { display: none; }
.s-04-w-list { list-style: none; margin: 0; padding: 0; display: grid; row-gap: var(--space-64); }
.s-04-w-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); column-gap: var(--space-64); align-items: center; }
.s-04-w-word { margin: 0; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.035em;
  padding-bottom: 0.12em; background-image: linear-gradient(100deg, #fff 0%, #e8e8ed 45%, #8e8e93 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; outline: none; }
.s-04-w-word br { display: none; }
.s-04-w-body { margin: var(--space-16) 0 0; max-width: 30em; color: #a1a1a6; text-wrap: pretty; }
.s-04-w-photo { margin: 0; }
.s-04-w-image { aspect-ratio: 430 / 500; border-radius: 30px; overflow: hidden; background: #1d1d1f; }
.s-04-w-image picture, .s-04-w-image img { display: block; width: 100%; height: 100%; }
.s-04-w-image img { object-fit: cover; }
.s-04-w-item:nth-child(2) .s-04-w-image img { object-position: 50% 45%; }
.s-04-w-caption { margin-top: var(--space-12); color: var(--color-steel); }
.s-04-w-caption .s-04-credit { display: block; font-size: inherit; }
.s-04-w-tile { display: flex; flex-direction: column; justify-content: space-between; padding: 9% 10%; box-sizing: border-box; background: #1d1d1f; box-shadow: inset 0 0 0 1px #3a3a3c; }
.s-04-w-tile-word { margin: 0; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: 20px; color: var(--color-on-dark); }
.s-04-w-tile-stats { margin: 0; display: grid; row-gap: var(--space-16); }
.s-04-w-tile-stat { display: grid; }
.s-04-w-tile-num { font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: clamp(56px, 6vw, 88px); line-height: 0.95; letter-spacing: -0.04em; color: #fff; }
.s-04-w-tile-unit { margin-top: var(--space-4); font-size: 15px; line-height: 1.3; color: #a1a1a6; max-width: 14em; }
@media (forced-colors: active) { .s-04-w-word { -webkit-text-fill-color: currentColor; color: CanvasText; background: none; } }
@media (max-width: 734px) {
  .s-04-w-track { margin: 0 var(--space-8); }
  .s-04-w-stage { border-radius: 28px; padding: var(--space-40) var(--space-20); }
  .s-04-w-list { row-gap: var(--space-48); }
  .s-04-w-item { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-20); }
  .s-04-w-photo { order: -1; }
  .s-04-w-image { aspect-ratio: 4 / 3; border-radius: 22px; }
  .s-04-w-word { font-size: 40px; }
  /* 15-nov (2.0.13) · Harvey, sobre la pieza de Mente Joven en el móvil: «Esta se ve incompleta». A lo ancho del
     teléfono las dos cifras en columna se quedaban pegadas a la izquierda, con media pieza vacía, y la última línea
     rozaba el borde de abajo. Ahora van una junto a otra, cada una con su unidad debajo, y llenan la pieza. */
  .s-04-w-tile { container-type: inline-size; padding: 22px 24px 24px; }
  .s-04-w-tile-word { font-size: 18px; }
  .s-04-w-tile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 0; align-items: start; }
  .s-04-w-tile-num { font-size: 60px; font-size: clamp(46px, 23cqw, 88px); }
  .s-04-w-tile-unit { margin-top: 6px; max-width: none; font-size: 14px; line-height: 1.3; text-wrap: balance; }
}

/* ── La rueda, viva: una pantalla fija; el tema activo, enorme; el anterior y el siguiente asoman en contorno. ── */
.s-04-w-on .s-04-w-stage { position: sticky; top: calc(var(--nav-h) + var(--space-12)); height: calc(100svh - var(--nav-h) - var(--space-24)); box-sizing: border-box;
  padding-block: 0; display: grid; align-items: center; perspective: 1100px; }
.s-04-w-on .s-04-w-count { display: block; position: absolute; top: var(--space-40); right: max(6.25vw, calc((100vw - 1260px) / 2 - var(--space-12))); margin: 0; color: var(--color-steel); z-index: 2; }
.s-04-w-on .s-04-w-now { color: var(--color-on-dark); }
.s-04-w-on .s-04-w-list { display: grid; row-gap: 0; padding-bottom: var(--space-64); }   /* el bloque se centra por encima de los pasos */
.s-04-w-on .s-04-w-item { grid-area: 1 / 1; grid-template-columns: minmax(0, 1fr) min(28vw, 400px); will-change: opacity; }
.s-04-w-on .s-04-w-image { aspect-ratio: 400 / 428; }
.s-04-w-on .s-04-w-word { font-size: clamp(56px, 7.4vw, 112px); line-height: 0.98; transform-origin: 0 50%; will-change: transform, opacity; }
.s-04-w-on .s-04-w-word br { display: inline; }
.s-04-w-on .s-04-w-body { margin-top: var(--space-24); font-size: 21px; line-height: 1.42; will-change: transform, opacity; }
.s-04-w-on .s-04-w-photo { will-change: transform, opacity; }
.s-04-w-on .s-04-w-ghost { display: block; position: absolute; left: max(6.25vw, calc((100vw - 1260px) / 2 - var(--space-12))); margin: 0; white-space: nowrap; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: clamp(56px, 7.4vw, 112px); line-height: 1; letter-spacing: -0.035em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.2); will-change: transform, opacity; }
/* El nombre va en el ::before (data-t, lo pone section.js): es decoración recortada a propósito por el borde de la
   tarjeta, no texto de la página (el texto de verdad es el h3 de cada tema). */
.s-04-w-on .s-04-w-ghost::before { content: attr(data-t); }
/* 15-nov: el contorno se desvanece antes del borde derecho de la tarjeta: ya no pisa el contador («05 / 06») ni se
   corta en seco contra el borde (lo señaló el revisor de capturas). */
.s-04-w-on .s-04-w-ghost { --s-04-w-l: max(6.25vw, calc((100vw - 1260px) / 2 - var(--space-12)));
  -webkit-mask-image: linear-gradient(to right, #000 calc(100vw - 2 * var(--s-04-w-l) - 210px), transparent calc(100vw - 2 * var(--s-04-w-l) - 90px));
  mask-image: linear-gradient(to right, #000 calc(100vw - 2 * var(--s-04-w-l) - 210px), transparent calc(100vw - 2 * var(--s-04-w-l) - 90px)); }
.s-04-w-on .s-04-w-ghost--prev { top: -0.36em; transform-origin: 0 100%; }
.s-04-w-on .s-04-w-ghost--next { bottom: -0.4em; transform-origin: 0 0; }
.s-04-w-controls { display: none; }
.s-04-w-on .s-04-w-controls:not([hidden]), .s-04-w-skipped .s-04-w-controls:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: var(--space-24); }
/* Los pasos van justo encima del contorno del tema siguiente, que asoma por el borde de abajo. */
.s-04-w-on .s-04-w-controls { position: absolute; left: max(6.25vw, calc((100vw - 1260px) / 2 - var(--space-12))); right: max(6.25vw, calc((100vw - 1260px) / 2 - var(--space-12))); bottom: calc(clamp(56px, 7.4vw, 112px) * 0.62 + var(--space-12)); z-index: 2; }
.s-04-w-skipped .s-04-w-controls { margin-top: var(--space-48); }
.s-04-w-skipped .s-04-w-steps { visibility: hidden; }
.s-04-w-steps { display: flex; gap: var(--space-8); }
.s-04-w-step { all: unset; cursor: pointer; display: grid; row-gap: 6px; min-width: 44px; min-height: 40px; align-content: center; font-size: 12px; font-variant-numeric: tabular-nums; color: #6e6e73; }
.s-04-w-step-track { display: block; height: 3px; border-radius: 2px; background: #3a3a3c; transition: background 0.3s var(--ease-house); }
.s-04-w-step[aria-current="step"] { color: var(--color-on-dark); }
.s-04-w-step[aria-current="step"] .s-04-w-step-track { background: var(--color-on-dark); }
.s-04-w-step:focus-visible, .s-04-w-skip:focus-visible { outline: 2px solid #2997ff; outline-offset: 4px; border-radius: 6px; }
.s-04-w-skip { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: var(--space-8); min-height: 40px; color: #2997ff; font-size: var(--type-small-size); }
@media (max-width: 734px) {
  .s-04-w-on .s-04-w-stage { top: calc(var(--nav-h) + var(--space-8)); height: calc(100svh - var(--nav-h) - var(--space-16)); align-items: start; padding-top: var(--space-64); }
  .s-04-w-on .s-04-w-item { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-16); align-content: start; }
  .s-04-w-on .s-04-w-list { padding-bottom: 0; }
  .s-04-w-on .s-04-w-image { aspect-ratio: auto; height: min(32svh, 280px); }
  .s-04-w-on .s-04-w-word { font-size: clamp(34px, 10.4vw, 46px); line-height: 1.02; }
  .s-04-w-on .s-04-w-word br { display: none; }
  .s-04-w-on .s-04-w-body { margin-top: var(--space-12); font-size: 16px; line-height: 1.42; }
  .s-04-w-on .s-04-w-caption { margin-top: var(--space-8); font-size: 11px; }
  .s-04-w-on .s-04-w-ghost { font-size: 54px; left: var(--space-20); }
  .s-04-w-on .s-04-w-ghost--prev { top: -0.52em; }
  .s-04-w-on .s-04-w-count { top: var(--space-24); right: var(--space-20); }
  .s-04-w-on .s-04-w-controls { left: var(--space-20); right: var(--space-20); bottom: var(--space-16); }
  .s-04-w-on .s-04-w-ghost--next { display: none; }
  .s-04-w-step { min-width: 28px; }
  .s-04-w-steps { gap: 6px; }
  .s-04-w-on .s-04-w-controls:not([hidden]) { gap: var(--space-12); }
  .s-04-w-on .s-04-w-skip { white-space: nowrap; font-size: 13px; }
  .s-04-w-on .s-04-w-skip svg { display: none; }
}
/* Teléfonos estrechos (320): la pieza de dato, con menos margen para que sus dos unidades quepan. */
@media (max-width: 359px) {
  .s-04-w-tile { padding: 18px 20px 20px; }
  .s-04-w-tile-stats { column-gap: 14px; }
  .s-04-w-tile-unit { font-size: 12.5px; }
}
@media print {
  .s-04-w-stage { background: none; color: inherit; padding: 0; border-radius: 0; }
  .s-04-w-word { -webkit-text-fill-color: currentColor; color: #000; background: none; }
  .s-04-w-body, .s-04-w-caption { color: #333; }
  .s-04-w-controls { display: none !important; }
}

/* ── España: el tablero. Sin él (móvil, sin JS, movimiento reducido): la rejilla de siempre, con todo a la vista. ──
   15-nov (2.0.12): la línea ya no une un tema con otro rótulo que se llama igual («Salud mental» → «Salud mental»);
   une el tema con SU PRUEBA: una ficha grande con la foto o el dato, el hecho y el pie. Sale la columna de las seis
   áreas (siguen arriba, en la rueda). */
.s-04-t-chip { all: unset; font: inherit; color: inherit; letter-spacing: inherit; }
/* El escenario (enunciado + tablero) no existe para la maqueta mientras el tablero está apagado. */
.s-04-t-stage { display: contents; }
.s-04-t-rail, .s-04-t-count, .s-04-t-card, .s-04-t-media, .s-04-t-kicker, .s-04-t-cap { display: none; }
/* Sin tablero (movimiento reducido, pantallas de 1024 a 1199, sin JS): la composición de siempre, ahora con sus dos
   envoltorios: el enunciado fijo a la izquierda (columnas 1-4) y los ocho temas en dos columnas a la derecha (6-12). */
@media (min-width: 1024px) {
  .s-04-espana:not(.s-04-t-on) .s-04-t-head { grid-column: 1 / span 4; grid-row: 1 / span 2; align-self: start; position: sticky; top: calc(var(--nav-h) + var(--space-64)); padding-top: var(--space-20); }
  .s-04-espana:not(.s-04-t-on) .s-04-t-head .s-04-espana-eyebrow { padding-top: 0; }
  .s-04-espana:not(.s-04-t-on) .s-04-t-head .s-04-espana-title { position: static; }
  .s-04-espana:not(.s-04-t-on) .s-04-t-board { grid-column: 6 / -1; grid-row: 1 / span 2; }
}
/* 15-nov (2.0.13): el tablero se queda FIJO bajo el menú mientras pasan sus ocho temas (Harvey: «baja demasiado
   rápido»: cruzaba la pantalla y los ocho pasaban en media pantalla de scroll). El alto del bloque (--s-04-t-h) y el
   punto donde se fija (--s-04-t-top) los mide section.js. */
.s-04-espana.s-04-t-on { display: block; height: var(--s-04-t-h, auto); }
.s-04-t-on .s-04-t-stage { display: block; position: sticky; top: var(--s-04-t-top, calc(var(--nav-h) + 24px)); }
.s-04-t-on .s-04-t-head { position: relative; padding-right: 6em; }
.s-04-t-on .s-04-espana-eyebrow { padding-top: 0; }
.s-04-t-on .s-04-espana-title { position: static; max-width: 26em; margin-top: var(--space-8); font-size: var(--type-headline-sm-size); line-height: var(--type-headline-sm-lh); }
.s-04-t-on .s-04-t-count { display: block; position: absolute; right: 0; bottom: 4px; margin: 0; color: var(--color-text-secondary); }
.s-04-t-on .s-04-t-now { color: var(--color-ink); }
/* Tres columnas: los ocho temas · el hueco de las líneas · la ficha de la prueba. */
.s-04-t-on .s-04-t-board { position: relative; margin-top: var(--space-40); display: grid; grid-template-columns: minmax(0, 300px) minmax(96px, 0.4fr) minmax(0, 1fr); row-gap: 10px; align-items: stretch; }
.s-04-t-on .s-04-t-list, .s-04-t-on .s-04-t-row { display: contents; }
.s-04-t-on .s-04-t-row > dt { grid-column: 1; margin: 0; }
.s-04-t-on .s-04-t-chip { display: block; box-sizing: border-box; width: 100%; padding: 13px 18px; border-radius: 16px; cursor: pointer; font-family: var(--font-text); font-weight: var(--font-weight-semibold); font-size: 16px; line-height: 1.25; letter-spacing: -0.005em;
  color: var(--color-ink); background: color-mix(in srgb, var(--surface-0) var(--s-04-k, 100%), transparent); box-shadow: 0 0 0 1px var(--color-hairline); transition: box-shadow 0.3s var(--ease-house), color 0.3s var(--ease-house); }
.s-04-t-on .s-04-t-row.is-on .s-04-t-chip { box-shadow: 0 0 0 2px var(--color-action); color: var(--color-action); }
.s-04-t-on .s-04-t-chip:focus-visible { outline: 2px solid var(--color-action); outline-offset: 3px; }
/* La ficha: tan alta como los ocho temas. Las ocho pruebas comparten ese sitio y solo se ve la del tema encendido;
   la foto se queda con el alto que deja el texto, así la ficha no cambia de tamaño al pasar de un tema a otro. */
.s-04-t-on .s-04-t-card { display: block; grid-column: 3; grid-row: 1 / span 8; border-radius: 26px; background: color-mix(in srgb, var(--surface-0) var(--s-04-k, 100%), transparent); box-shadow: 0 0 0 2px var(--color-action); }
.s-04-t-on .s-04-t-row > dd { grid-column: 3; grid-row: 1 / span 8; position: relative; z-index: 1; box-sizing: border-box; margin: 0; padding: 12px 12px 20px; display: flex; flex-direction: column; min-height: 0; max-width: none; color: var(--color-ink);
  opacity: 0; visibility: hidden; transform: translate3d(0, 10px, 0); transition: opacity 0.35s var(--ease-house), transform 0.45s var(--ease-house), visibility 0s 0.35s; }
.s-04-t-on .s-04-t-row.is-on > dd { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s var(--ease-house), transform 0.45s var(--ease-house), visibility 0s; }
.s-04-t-on .s-04-t-media { display: block; position: relative; flex: 1 1 0; min-height: 200px; border-radius: 16px; overflow: hidden; background: #1d1d1f; }
.s-04-t-on .s-04-t-media picture { display: block; position: absolute; inset: 0; }
.s-04-t-on .s-04-t-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.s-04-t-on .s-04-t-media--arriba img { object-position: 50% 20%; }
.s-04-t-on .s-04-t-media--alto img { object-position: 50% 30%; }
.s-04-t-on .s-04-t-media--medio img { object-position: 50% 45%; }
.s-04-t-on .s-04-t-media--bajo img { object-position: 50% 92%; }
.s-04-t-on .s-04-t-kicker { display: block; margin: 18px 10px 0; color: var(--color-text-secondary); }
.s-04-t-on .s-04-t-fact { display: block; margin: 6px 10px 0; max-width: 31em; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: clamp(19px, 1.55vw, 24px); line-height: 1.26; min-height: 3.78em; letter-spacing: -0.012em; text-wrap: pretty; }
.s-04-t-on .s-04-t-cap { display: block; margin: 12px 10px 0; font-size: 13px; line-height: 1.35; color: var(--color-text-secondary); }
/* Salud mental no tiene foto: su prueba es un dato, sobre la misma pieza negra de la rueda. */
.s-04-t-on .s-04-t-media--dato { display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box; padding: 26px 30px 30px; color: var(--color-on-dark); }
.s-04-t-tile-word { display: block; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: 22px; line-height: 1.1; letter-spacing: -0.01em; }
.s-04-t-tile-word::after { content: ""; display: block; width: 2.2em; height: 2px; margin-top: .55em; border-radius: var(--radius-pill); background: var(--color-link-on-dark); }
.s-04-t-tile-stats { display: grid; row-gap: 14px; }
.s-04-t-tile-stat { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: end; min-width: 0; }
.s-04-t-tile-num { display: block; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: clamp(56px, 6vw, 92px); line-height: .86; letter-spacing: -0.04em; }
.s-04-t-tile-unit { display: block; margin: 0 0 .35em; max-width: 16em; font-size: 16px; line-height: 1.25; font-weight: var(--font-weight-medium); color: color-mix(in srgb, var(--color-on-dark) 80%, var(--color-steel)); text-wrap: balance; }
/* 15-nov (2.0.15) · Harvey, sobre las ocho curvas en abanico: «se te ocurre otra forma mas disruptiva y alineada de
   poner las flechas? quizas otro estilo». Ahora es un RAÍL: una línea vertical recta entre los temas y la ficha, con
   una muesca a la altura del centro de cada pastilla y un rabillo tenue de cada tema hasta ella. UNA sola marca azul
   se desliza por el raíl hasta el tema que toca y de ella sale el trazo recto pastilla → raíl → ficha (del mismo
   grosor que los cercos azules de la pastilla y de la ficha: una sola línea continua). Todo en ángulo recto; lo único
   que se mueve es la marca. Las posiciones (--s-04-t-x, top de cada pieza) las mide section.js. */
.s-04-t-on .s-04-t-rail { display: block; position: absolute; top: 0; bottom: 0; pointer-events: none; z-index: 2; }
.s-04-t-rail > * { position: absolute; display: block; }
.s-04-t-rail-line { left: calc(var(--s-04-t-x, 50%) - 1px); width: 2px; border-radius: 1px; background: color-mix(in srgb, var(--color-steel) 36%, var(--color-hairline)); }
.s-04-t-stub { left: 1px; width: calc(var(--s-04-t-x, 50%) - 2px); height: 1px; background: var(--color-hairline); }
.s-04-t-notch { left: calc(var(--s-04-t-x, 50%) - 6px); width: 12px; height: 2px; margin-top: -1px; border-radius: 1px; background: color-mix(in srgb, var(--color-steel) 55%, transparent); transition: background 0.3s var(--ease-house); }
/* 15-nov (2.ª vuelta, revisor: «alineada» sí, «más disruptiva» a medias): el raíl gana cuerpo sin perder el ángulo
   recto. El tramo ya recorrido y las muescas de los temas vistos van en azul, y la marca crece y lleva dentro el
   número del tema. */
.s-04-t-rail-done { left: calc(var(--s-04-t-x, 50%) - 1px); width: 2px; border-radius: 1px; background: var(--color-action); transform: scaleY(0); transform-origin: 50% 0; will-change: transform; }
.s-04-t-notch.is-seen { background: var(--color-action); }
.s-04-t-arm { height: 2px; margin-top: -1px; background: var(--color-action); transform: scaleX(0); will-change: transform; }
.s-04-t-arm--in { left: 0; width: var(--s-04-t-x, 50%); transform-origin: 100% 50%; }
.s-04-t-arm--out { left: var(--s-04-t-x, 50%); right: 0; transform-origin: 0 50%; }
.s-04-t-mark { left: calc(var(--s-04-t-x, 50%) - 17px); top: 0; width: 34px; height: 28px; border-radius: 9px; background: var(--color-action); color: var(--color-on-dark); will-change: transform;
  font-family: var(--font-text); font-weight: var(--font-weight-semibold); font-size: 12px; line-height: 28px; letter-spacing: 0.02em; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-height: 760px) { .s-04-t-mark { left: calc(var(--s-04-t-x, 50%) - 15px); width: 30px; height: 22px; line-height: 22px; border-radius: 7px; font-size: 11px; } }
/* 15-nov (2.ª vuelta): la placa de Mente Joven de la ficha tenía el 43 % derecho vacío y era otra versión de la pieza
   de «En España» (02b). Ahora lleva su misma matriz: un punto por plaza y uno encendido por inscrito (las dos cifras
   las LEE section.js de la propia placa), a todo el ancho entre el nombre y las cifras; las cifras pasan a ir una
   junto a otra y la de inscritos toma el azul de los puntos encendidos. Solo en el tablero ancho y con la placa alta
   (más de 250 px); en la baja y en el compacto de móvil, como estaba. */
.s-04-t-seats { display: none; }
.s-04-t-seat { aspect-ratio: 1; background: radial-gradient(circle, var(--s-04-t-seat, rgba(245, 245, 247, 0.17)) 0 30%, transparent 33%); }
.s-04-t-seat.is-on { --s-04-t-seat: var(--color-link-on-dark); }
@container (min-height: 251px) {
  .s-04-t-on .s-04-t-seated .s-04-t-seats { display: grid; grid-template-columns: repeat(var(--s-04-t-cols, 40), minmax(0, 1fr)); align-self: stretch; }
  .s-04-t-on .s-04-t-seated .s-04-t-tile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; row-gap: 0; align-items: end; }
  .s-04-t-on .s-04-t-seated .s-04-t-tile-num { font-size: clamp(48px, 4.8vw, 72px); }
  .s-04-t-on .s-04-t-seated .s-04-t-tile-unit { max-width: none; margin-bottom: .2em; }
  .s-04-t-on .s-04-t-seated .s-04-t-tile-stat:nth-child(2) .s-04-t-tile-num { color: var(--color-link-on-dark); }
}
/* 15-nov: la pieza de dato (Mente Joven) se adapta a su propio alto. Cuando la ficha es baja (ventanas bajas, 1024 px)
   las dos cifras iban una encima de otra y se cortaban (lo cazó check.py a 1024): pasan a ir lado a lado, más contenidas. */
.s-04-t-on .s-04-t-media--dato { container-type: size; }
@container (max-height: 250px) {
  .s-04-t-on .s-04-t-tile-word { font-size: 18px; }
  .s-04-t-on .s-04-t-tile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 0; align-items: start; }
  .s-04-t-on .s-04-t-tile-stat { display: block; }
  .s-04-t-on .s-04-t-tile-num { font-size: clamp(34px, 30cqh, 60px); }
  .s-04-t-on .s-04-t-tile-unit { margin: .35em 0 0; font-size: 13px; line-height: 1.2; }
}
/* Ventanas bajas (un portátil con la barra de marcadores, 1280×720): el tablero se compacta para caber entero fijo. */
@media (max-height: 760px) {
  .s-04-t-on .s-04-t-board { margin-top: var(--space-24); row-gap: 8px; }
  .s-04-t-on .s-04-t-chip { padding: 9px 16px; font-size: 15px; }
  .s-04-t-on .s-04-t-media { min-height: 150px; }
  .s-04-t-on .s-04-t-kicker { margin-top: 12px; }
  .s-04-t-on .s-04-t-fact { font-size: clamp(17px, 1.4vw, 21px); }
  .s-04-t-on .s-04-t-media--dato { padding: 16px 20px 18px; }
}
/* De 1024 a 1199 px (una tableta tumbada) el tablero de ordenador entra más prieto para caber fijo. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .s-04-t-on .s-04-t-board { grid-template-columns: minmax(0, 264px) minmax(64px, 0.3fr) minmax(0, 1fr); }
  .s-04-t-on .s-04-t-chip { padding: 11px 16px; font-size: 15px; }
  .s-04-t-on .s-04-t-fact { min-height: 5.04em; }
}
@media (min-width: 1024px) and (max-width: 1199px) and (max-height: 800px) {
  .s-04-t-on .s-04-t-board { margin-top: var(--space-24); row-gap: 8px; }
  .s-04-t-on .s-04-t-chip { padding: 8px 14px; }
  .s-04-t-on .s-04-t-media { min-height: 150px; }
  .s-04-t-on .s-04-t-kicker { margin-top: 12px; }
  .s-04-t-on .s-04-t-fact { font-size: 18px; }
  .s-04-t-on .s-04-t-media--dato { padding: 16px 20px 18px; }
}

/* ── España en móvil y tableta (< 1024 px): el mismo tablero, compacto y FIJO (clase .s-04-t-c; la pone section.js si
   cabe entero bajo el menú). 15-nov (2.0.13) · Harvey, sobre los ocho párrafos seguidos del móvil: «Demasiado
   cargado». Ahora el bloque se queda quieto y enseña UN tema cada vez: su nombre, su prueba (la foto o el dato), el
   hecho y el pie; arriba, ocho pasos para ver por dónde va y saltar a cualquiera. Sin él (no cabe, sin animación, sin
   JS, al imprimir): la lista de siempre, entera. */
.s-04-t-steps { display: none; }
.s-04-espana.s-04-t-c { display: block; height: var(--s-04-t-h, auto); }
.s-04-t-c .s-04-t-stage { display: flex; flex-direction: column; position: sticky; top: var(--s-04-t-top, calc(var(--nav-h) + 12px)); height: var(--s-04-t-sh, auto); max-width: 640px; margin-inline: auto; }
.s-04-t-c .s-04-t-head { position: relative; flex: 0 0 auto; }
.s-04-t-c .s-04-espana-eyebrow { padding-right: 5em; }
.s-04-t-c .s-04-t-count { display: block; position: absolute; right: 0; top: 4px; margin: 0; color: var(--color-text-secondary); }
.s-04-t-c .s-04-t-now { color: var(--color-ink); }
.s-04-t-c .s-04-t-steps { display: flex; flex: 0 0 auto; gap: 6px; margin-top: var(--space-12); }
.s-04-t-step { all: unset; flex: 1 1 0; min-width: 0; min-height: 34px; display: grid; align-content: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.s-04-t-step-bar { display: block; height: 3px; border-radius: 2px; background: var(--color-hairline); transition: background 0.3s var(--ease-house); }
.s-04-t-step[aria-current="step"] .s-04-t-step-bar { background: var(--color-action); }
.s-04-t-step:focus-visible { outline: 2px solid var(--color-action); outline-offset: 2px; border-radius: 6px; }
.s-04-t-c .s-04-t-board { flex: 1 1 auto; min-height: 0; display: grid; margin-top: 2px; }
.s-04-t-c .s-04-t-list { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; margin: 0; }
/* Cada tema es una ficha entera; las ocho ocupan el mismo sitio y solo se ve la del tema que toca. */
.s-04-t-c .s-04-t-row { grid-area: 1 / 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; box-sizing: border-box; padding: 14px 14px 16px; border: 0; border-radius: 24px;
  background: color-mix(in srgb, var(--surface-0) var(--s-04-k, 100%), transparent); box-shadow: 0 0 0 1px var(--color-hairline);
  opacity: 0; visibility: hidden; transform: translate3d(0, 10px, 0); transition: opacity 0.2s var(--ease-house), transform 0.4s var(--ease-house), visibility 0s 0.2s; }
.s-04-t-c .s-04-t-row.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s var(--ease-house) 0.08s, transform 0.45s var(--ease-house) 0.08s, visibility 0s; }
/* El nombre del tema encabeza su ficha; reserva dos líneas (el más largo las ocupa) y se apoya abajo, junto a la foto. */
.s-04-t-c .s-04-t-row > dt { flex: 0 0 auto; display: flex; align-items: flex-end; min-height: 2.4em; margin: 0 4px 12px; font-size: 20px; line-height: 1.2; letter-spacing: -0.012em; color: var(--color-ink); }
.s-04-t-c .s-04-t-chip { display: block; }
.s-04-t-c .s-04-t-chip:focus-visible { outline: 2px solid var(--color-action); outline-offset: 3px; border-radius: 4px; }
.s-04-t-c .s-04-t-row > dd { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; margin: 0; max-width: none; color: var(--color-ink); }
/* La foto se queda con el alto que deja el texto (entre 150 px y una proporción apaisada); el pie se asienta abajo. */
.s-04-t-c .s-04-t-media { display: block; position: relative; flex: 1 1 150px; min-height: 150px; max-height: min(64vw, 300px); border-radius: 14px; overflow: hidden; background: #1d1d1f; }
.s-04-t-c .s-04-t-media picture { display: block; position: absolute; inset: 0; }
.s-04-t-c .s-04-t-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.s-04-t-c .s-04-t-media--arriba img { object-position: 50% 20%; }
.s-04-t-c .s-04-t-media--alto img { object-position: 50% 30%; }
.s-04-t-c .s-04-t-media--medio img { object-position: 50% 45%; }
.s-04-t-c .s-04-t-media--bajo img { object-position: 50% 92%; }
.s-04-t-c .s-04-t-fact { display: block; flex: 0 0 auto; margin: 14px 4px 0; font-family: var(--font-display); font-weight: var(--font-weight-semibold); font-size: 18px; line-height: 1.28; letter-spacing: -0.012em; color: var(--color-ink); text-wrap: pretty; }
.s-04-t-c .s-04-t-cap { display: block; flex: 0 0 auto; margin: auto 4px 0; padding-top: 10px; font-size: 12px; line-height: 1.35; color: var(--color-text-secondary); }
.s-04-t-c .s-04-t-media--dato { display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box; padding: 18px 20px 20px; color: var(--color-on-dark); }
.s-04-t-c .s-04-t-tile-word { font-size: 18px; }
.s-04-t-c .s-04-t-tile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; row-gap: 0; align-items: start; }
.s-04-t-c .s-04-t-tile-stat { display: block; }
.s-04-t-c .s-04-t-tile-num { font-size: clamp(40px, 13.5vw, 64px); line-height: .9; }
.s-04-t-c .s-04-t-tile-unit { margin: 6px 0 0; max-width: none; font-size: 13px; line-height: 1.28; }
@media (min-width: 735px) {
  .s-04-t-c .s-04-t-row { padding: 16px 16px 20px; }
  .s-04-t-c .s-04-t-row > dt { font-size: 22px; }
  .s-04-t-c .s-04-t-fact { font-size: 20px; }
  .s-04-t-c .s-04-t-cap { font-size: 13px; }
  .s-04-t-c .s-04-t-media { max-height: 340px; }
  .s-04-t-c .s-04-t-tile-num { font-size: 72px; }
}
@media (prefers-reduced-motion: reduce) { .s-04-t-on .s-04-t-row > dd, .s-04-t-chip, .s-04-t-c .s-04-t-row, .s-04-t-step-bar { transition: none !important; } }
@media (max-width: 734px) { .s-04-w-on .s-04-w-ghost { --s-04-w-l: var(--space-20); } }

/* ===== 16-nov-2026 · RUN-MOVIL (auditoría móvil #24 y #26). Solo teléfono (≤ 734 px); ordenador y tableta, igual. =====
   1 · Costura «Seis ideas» → «Temas de trabajo»: quedaban ~175 px de gris vacío que empezaban en un borde recto bajo la
       regla de marcas. La sección arranca más cerca (32 px en vez de 80) y el gris del telón ENTRA FUNDIDO desde el
       blanco en sus primeros 96 px (máscara en su borde de arriba): ni borde recto ni banda vacía.
   2 · «En España» compacto: la cabecera de tres líneas se leía igual en los ocho pasos. Ahora el enunciado se lee en
       el primer tema y, del segundo en adelante, se recoge (queda «En España · 03 / 08» y los pasos); el sitio que deja
       lo toma la foto. Al volver al primer tema, vuelve. La clase la pone section.js (.s-04-t-later). */
@media (max-width: 734px) {
  .s-04-aporta { padding-top: 32px; padding-bottom: 56px; }   /* abajo: menos negro vacío antes de «Por España» (auditoría #27) */
  .s-04-aporta.s-04-curtain::before { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 96px); mask-image: linear-gradient(to bottom, transparent 0, #000 96px); }
  .s-04-t-c .s-04-espana-title { max-height: 7em; overflow: hidden; transition: max-height 0.4s var(--ease-house), opacity 0.25s var(--ease-house), margin-top 0.4s var(--ease-house), visibility 0s; }
  .s-04-t-c.s-04-t-later .s-04-espana-title { max-height: 0; margin-top: 0; opacity: 0; visibility: hidden; transition: max-height 0.4s var(--ease-house), opacity 0.25s var(--ease-house), margin-top 0.4s var(--ease-house), visibility 0s 0.4s; }
  .s-04-t-c .s-04-t-media { transition: max-height 0.4s var(--ease-house); }
  .s-04-t-c.s-04-t-later .s-04-t-media { max-height: min(86vw, 380px); }
}
/* 320 (y móviles estrechos): el bloque compacto no cabía fijo (605 px de escenario para 580 de hueco) y caía a la lista
   de texto sin fotos. Enunciado, nombre del tema y hecho un punto más pequeños y foto desde 120 px: cabe fijo y cada
   tema conserva su foto. */
@media (max-width: 374px) {
  .s-04-t-c .s-04-espana-title { font-size: 16px; line-height: 1.3; }
  .s-04-t-c .s-04-t-row { padding: 12px 12px 14px; }
  .s-04-t-c .s-04-t-row > dt { font-size: 18px; margin-bottom: 10px; }
  .s-04-t-c .s-04-t-media { flex-basis: 120px; min-height: 120px; }
  .s-04-t-c .s-04-t-fact { margin-top: 12px; font-size: 16px; line-height: 1.3; }
  .s-04-t-c .s-04-t-cap { font-size: 11.5px; padding-top: 8px; }
}
@media (max-width: 734px) and (prefers-reduced-motion: reduce) { .s-04-t-c .s-04-espana-title, .s-04-t-c .s-04-t-media { transition: none; } }
/* 16-nov-2026 · RUN-MOVIL ronda 2 · En el teléfono «Ver sin animación» se leía como una prueba olvidada abajo a la
   derecha de la tarjeta negra. Fuera en móvil: con «reducir movimiento» del sistema, sin JS, al imprimir o con el foco
   en un tema todo se ve entero igual. Los pasos 01-06 se quedan. */
@media (max-width: 734px) { .s-04-w-on .s-04-w-skip { display: none; } }

/* ==== sections/08-cierre ==== */
/* 08 · The whole surface darkens before the closing composition enters. */
.s-08-cierre {
  padding: 0;
  background: var(--surface-dark);
  color: var(--color-on-dark);
}
.s-08-anchor { position: absolute; inset: 0 auto auto 0; }
.s-08-stage { position: relative; min-height: 100svh; isolation: isolate; }
.s-08-layout {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  column-gap: var(--space-64);
  padding-block: calc(var(--nav-h) + var(--space-64)) calc(var(--space-28) * 2);
}
.s-08-copy { position: relative; grid-column: 1; min-width: 0; }
.s-08-eyebrow { margin-bottom: var(--space-24); }
.s-08-title { margin: 0; font-size: clamp(44px, 4.8vw, 72px); line-height: 1.05; }
.s-08-line { display: block; }
.s-08-message {
  max-width: 19em;
  margin-top: var(--space-32);
  font-weight: var(--font-weight-medium);
  line-height: var(--type-intro-lh);
  text-wrap: pretty;
  opacity: .86;
}
.s-08-purpose {
  margin-top: var(--space-24);
  color: inherit;
  opacity: .86;
}
.s-08-quote {
  font-family: var(--font-display);
  font-size: var(--space-28);
  font-weight: var(--font-weight-regular);
  line-height: var(--type-title-lh);
  text-wrap: pretty;
  overflow-wrap: break-word;
}
.s-08-author { margin-top: var(--space-12); }
.s-08-portrait {
  position: relative;
  width: min(100%, calc((100svh - var(--nav-h) - var(--space-64) - var(--space-28) * 2 - var(--space-64)) * .8));
  max-width: calc(var(--space-224) * 2.5);
  min-width: 0;
  justify-self: end;
}
.s-08-photo-frame {
  position: relative;
  z-index: 3;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-card);
}
.s-08-image { display: block; width: 100%; height: 100%; }
.s-08-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  /* The left-biased origin keeps all eight faces inside this tighter crop. */
  transform: scale(1.17);
  transform-origin: 40% 0;
}
.s-08-caption {
  margin-top: var(--space-12);
  color: inherit;
  text-wrap: pretty;
}
.s-08-actions { display: flex; margin-top: var(--space-32); }
.s-08-contact { position: relative; z-index: 4; min-height: var(--globalnav-height); gap: var(--space-12); }
.s-08-contact svg { width: var(--space-20); height: var(--space-20); }
.s-08-press { position: relative; z-index: 4; display: inline-flex; align-items: center; gap: var(--space-8); min-height: var(--globalnav-height); margin-top: var(--space-8); padding-inline: var(--space-16); border: 1px solid var(--color-hairline); border-radius: var(--radius-pill); color: var(--color-ink); background: var(--surface-0); }
.s-08-press svg { width: var(--space-16); height: var(--space-16); }
.s-08-skip { position: absolute; left: calc((100% - min(var(--content-width), var(--content-max))) / 2); bottom: var(--space-8); z-index: 4; display: inline-flex; gap: var(--space-8); align-items: center; min-height: var(--globalnav-height); color: inherit; opacity: 0; pointer-events: none; }
.s-08-skip:focus-visible { opacity: 1; pointer-events: auto; background: var(--surface-dark); color: var(--color-on-dark); padding-inline: var(--space-12); }
.s-08-skip svg { width: var(--space-16); height: var(--space-16); }
/* Live scene: the whole screen goes dark at once. A fixed layer under every
   section (z-index -1) takes opacity = --s-08-night; this section turns
   transparent so the layer shows through it, and the same value is published
   as --cl on :root for the section above. The copy only enters on full contrast. */
.s-08-live {
  --s-08-night: 0;
  --s-08-photo: 0;
  --s-08-cap: 0;
  height: 240svh;
  background: transparent;
}
.s-08-live .s-08-stage { position: sticky; top: 0; height: 100svh; }
.s-08-live .s-08-layout { position: relative; z-index: 2; height: 100%; min-height: 0; }
.s-08-night { display: none; }
.s-08-live .s-08-night {
  display: block;
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--surface-dark);
  opacity: var(--s-08-night);
  pointer-events: none;
}
.s-08-live .s-08-rise {
  --r: 0;
  opacity: var(--r);
  transform: translate3d(0, calc((1 - var(--r)) * var(--space-32)), 0);
}
.s-08-live .s-08-message { opacity: calc(var(--r) * .86); }
.s-08-live .s-08-purpose { opacity: calc(var(--r) * .86); }
/* Portrait on its own plane: it fades and scales in whole, only once the
   screen is past half dark, so it never floats as a ghost on the white. */
.s-08-live .s-08-portrait { z-index: 3; }
.s-08-live .s-08-photo-frame { opacity: var(--s-08-photo); transform: scale(calc(.92 + var(--s-08-photo) * .08)); transform-origin: 50% 60%; }
.s-08-live .s-08-caption { opacity: var(--s-08-cap); }
/* Tall content (phones): no pinned stage; the screen darkens while the
   section scrolls in and is fully dark before its top reaches the navigation. */
.s-08-flow { height: auto; }
.s-08-flow .s-08-stage { position: relative; height: auto; }
.s-08-flow .s-08-layout { height: auto; min-height: 100svh; }
.s-08-static { height: auto; background: var(--surface-dark); color: var(--color-on-dark); }
.s-08-static .s-08-stage { position: relative; height: auto; }
.s-08-static .s-08-layout { height: auto; min-height: 100svh; }
.s-08-static .s-08-night { display: none; }
@media (max-width: 1068px) {
  .s-08-layout { column-gap: var(--space-48); }
}
@media (max-width: 734px) {
  .s-08-layout { grid-template-columns: minmax(0, 1fr); align-content: center; justify-items: start; row-gap: var(--space-24); padding-block: calc(var(--nav-h) + var(--space-64)) calc(var(--space-28) * 2); }
  .s-08-eyebrow { margin-bottom: var(--space-16); }
  .s-08-title { font-size: clamp(var(--type-headline-size), 12vw, var(--type-hero-size)); }
  .s-08-message { max-width: 17em; margin-top: var(--space-20); }
  .s-08-portrait { width: 100%; max-width: none; justify-self: center; }
  .s-08-cierre:has(.s-08-actions, .s-08-press) .s-08-layout { row-gap: var(--space-20); }
}
@media (prefers-reduced-motion: reduce) {
  .s-08-cierre { height: auto; background: var(--surface-dark); color: var(--color-on-dark); }
  .s-08-cierre .s-08-stage { position: relative; height: auto; }
  .s-08-cierre .s-08-layout { min-height: 100svh; }
  .s-08-cierre .s-08-night { display: none; }
}
@media print {
  .s-08-cierre { height: auto; background: var(--surface-dark); }
  .s-08-cierre .s-08-night { display: none; }
  .s-08-cierre .s-08-stage { position: static; height: auto; min-height: 0; }
  .s-08-cierre .s-08-layout { min-height: 0; height: auto; padding-block: var(--space-32); }
  .s-08-cierre .s-08-skip { display: none; }
}

/* Harvey 30-oct («Esto muy grande»): cierre más contenido. */
.s-08-quote { font-size: clamp(18px, 1.6vw, 24px) !important; line-height: 1.4 !important; }

/* Owner 30-oct: «Es el momento…» on one line on desktop, two balanced lines on phones;
   the phrase and the quote carry a soft on-dark gradient (white → a faint steel blue),
   like Apple's Pro headlines. */
.s-08-cierre {
  --s-08-steel: color-mix(in srgb, var(--color-on-dark) 40%, color-mix(in srgb, var(--color-steel) 80%, var(--color-link-on-dark)));
  --s-08-grad: linear-gradient(100deg, var(--color-on-dark) 0%, var(--color-on-dark) 18%, var(--s-08-steel) 100%);
}
.s-08-message { max-width: none; white-space: nowrap; }
.s-08-message, .s-08-quote p {
  background-image: var(--s-08-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.s-08-quote { width: fit-content; max-width: 32em; }
@media (max-width: 1068px) {
  .s-08-message { white-space: normal; max-width: 19em; text-wrap: balance; }
}
@media (max-width: 734px) {
  .s-08-message { max-width: 17em; }
}
@media (forced-colors: active) {
  .s-08-message, .s-08-quote p { -webkit-text-fill-color: currentColor; color: CanvasText; background: none; }
}
/* A menu link to #contacto lands where the closing copy is complete (pinned track). */
.s-08-live:not(.s-08-flow) .s-08-anchor { top: calc(80svh + var(--nav-h) + 12px); }
/* 16-nov-2026 · RUN-MOVIL (auditoría #27-28), solo teléfono con el cierre en flujo: menos negro vacío. Arriba, el
   relleno baja de menú + 64 a menú + 24 (la frase ya entra con la pantalla negra); abajo, el pie de la foto queda a
   unos 48 px de la raya del pie (antes ~120). */
@media (max-width: 734px) {
  .s-08-flow .s-08-layout { padding-top: calc(var(--nav-h) + var(--space-24)); padding-bottom: 0; }
}

/* ==== sections/99-pie ==== */
.s-99-pie {
  background: var(--surface-dark);
  color: var(--color-steel);
  border: 0;
  padding-block: var(--space-64) var(--space-32);
}

/* Dividers belong to the content width, never to the viewport edge. */
.s-99-pie::before, .s-99-pie::after { content: none; }

.s-99-inner {
  position: relative;
  width: var(--content-width);
  max-width: var(--content-max);
  padding-top: var(--space-32);
}

/* The signature line: drawn left to right as the footer arrives (--s-99-line). */
.s-99-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--btn-border);
  background: var(--color-text-secondary-alt);
  transform-origin: left center;
  transform: scaleX(var(--s-99-line, 1));
}

/* Columns rise in cascade after the line (--s-99-step per item, set by JS). */
.s-99-step {
  opacity: var(--s-99-step, 1);
  transform: translate3d(0, calc((1 - var(--s-99-step, 1)) * var(--space-16)), 0);
}

.s-99-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-20) var(--space-48);
  padding-bottom: var(--space-32);
}

.s-99-brand {
  color: var(--color-on-dark);
  font-family: var(--font-display);
  font-size: var(--type-eyebrow-size);
  line-height: var(--type-eyebrow-lh);
  letter-spacing: var(--type-eyebrow-ls);
  font-weight: var(--font-weight-semibold);
}

.s-99-brand-note {
  color: var(--color-steel);
  font-family: var(--font-text);
  font-size: var(--type-small-size);
  line-height: var(--type-small-lh);
  letter-spacing: var(--type-small-ls);
  font-weight: var(--font-weight-regular);
  white-space: nowrap;
}

.s-99-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-32);
}

.s-99-pie .s-99-social {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  min-height: var(--globalnav-height);
  color: var(--color-on-dark);
  font-size: var(--type-small-size);
  line-height: var(--type-small-lh);
  letter-spacing: var(--type-small-ls);
}

.s-99-social:hover {
  color: var(--color-link-on-dark);
  text-decoration: none;
}

.s-99-social:hover span {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.s-99-network-icon {
  flex: 0 0 var(--space-20);
  width: var(--space-20);
  height: var(--space-20);
}

.s-99-arrow {
  flex: 0 0 var(--space-12);
  width: var(--space-12);
  height: var(--space-12);
  color: var(--color-steel);
}

.s-99-contact {
  margin-bottom: var(--space-16);
  overflow-wrap: anywhere;
}

.s-99-pie .s-99-contact-link {
  color: var(--color-on-dark);
}

.s-99-legal {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 var(--space-32);
  border-top: var(--btn-border) solid var(--color-ink);
  padding-block: var(--space-12) var(--space-24);
}

.s-99-disclosure {
  min-width: 0;
}

.s-99-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  min-height: var(--globalnav-height);
  color: var(--color-on-dark);
  cursor: pointer;
  list-style: none;
}

.s-99-summary::-webkit-details-marker {
  display: none;
}

.s-99-summary::marker {
  content: "";
}

.s-99-summary:hover {
  color: var(--color-link-on-dark);
}

.s-99-toggle {
  flex: 0 0 var(--space-12);
  width: var(--space-12);
  height: var(--space-12);
  color: var(--color-steel);
  transition: transform var(--dur-fast) var(--ease-standard);
}

.s-99-disclosure[open] .s-99-toggle {
  transform: rotate(45deg);
}

.s-99-detail {
  color: var(--color-steel);
  padding-block: var(--space-8) var(--space-20);
  font-size: var(--type-small-size);
  line-height: var(--type-small-lh);
  letter-spacing: var(--type-small-ls);
  overflow-wrap: anywhere;
}

.s-99-detail p + p {
  margin-top: var(--space-12);
}

.s-99-version {
  max-width: 100%;
  font-size: var(--type-caption-size);
  line-height: var(--type-caption-lh);
  letter-spacing: var(--type-caption-ls);
  text-wrap: pretty;
}

.s-99-pie :focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: var(--radius-button-block);
}

@media (max-width: 734px) {
  .s-99-pie {
    padding-block: var(--space-40) var(--space-28);
  }

  .s-99-top {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-12);
    padding-bottom: var(--space-20);
  }

  .s-99-socials {
    column-gap: var(--space-24);
  }

  .s-99-legal {
    grid-template-columns: minmax(0, 1fr);
    padding-block: var(--space-8) var(--space-20);
  }

  .s-99-disclosure + .s-99-disclosure {
    border-top: var(--btn-border) solid var(--color-ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  .s-99-toggle {
    transition: none;
  }
}

.s-99-consent {
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  text-align: left;
}

@media (min-width: 735px) and (max-width: 1068px) {
  .s-99-legal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 734px) {
  .s-99-legal > * + * {
    border-top: var(--btn-border) solid var(--color-ink);
  }
}

.s-99-legal a.s-99-summary,
.s-99-legal button.s-99-summary {
  color: var(--color-on-dark);
  text-decoration: none;
}

.s-99-legal a.s-99-summary:hover,
.s-99-legal button.s-99-summary:hover {
  color: var(--color-link-on-dark);
}

/* 11-nov: frase de marca del cliente (clave fraseMarca; vacía = no sale). */
.s-99-motto { margin: 0 0 var(--space-16); color: var(--color-on-dark); font-family: var(--font-display); font-size: var(--type-title-size); line-height: var(--type-title-lh); letter-spacing: var(--type-title-ls); font-weight: var(--font-weight-semibold); }
/* 14-nov · His brand line as he signs it in his own document: two words in weight, the rest light. */
.s-99-motto { font-weight: var(--font-weight-regular); color: color-mix(in srgb, var(--color-on-dark) 80%, var(--color-steel)); }
.s-99-motto strong { font-weight: var(--font-weight-semibold); color: var(--color-on-dark); }

/* Galería por etapas. Editorial: one protagonist photo per stage (4 of 6 columns over two
   rows), the rest in rows of three or two; staggered entrance on screen (data-reveal,
   base motion); a stage index that stays under the nav and marks the stage being read
   (CSS scroll timelines, progressive); any photo opens large in a native popover (no JS:
   Esc and the button close it, focus goes back to the photo, the page scroll is free).
   No JS or reduced motion: everything visible and still. Mobile first. */
.gal { padding-block: calc(var(--nav-h) + 56px) 96px; background: #fff; }
.gal-head-in { max-width: 760px; }
.gal-eyebrow { color: var(--color-text-secondary); margin: 0 0 8px; }
.gal-title { margin: 0 0 12px; text-wrap: balance; }
.gal-lead { color: var(--color-text-secondary); margin: 0; }

/* Stage index: sticky under the nav, frosted like the nav. */
.gal-index { position: sticky; top: var(--nav-h); z-index: 30; margin-top: 28px;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--color-hairline); }
.gal-index-list { list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
.gal-index-list::-webkit-scrollbar { display: none; }
.gal-index-item { flex: none; }
.gal-index-link { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 13px; border-radius: var(--radius-link, 980px);
  background: var(--surface-1, #f5f5f7); color: var(--color-ink); font-size: var(--type-small-size); line-height: var(--type-small-lh);
  text-decoration: none; white-space: nowrap; }
.gal-index-num { color: var(--color-text-secondary); font-size: 12px; }
.gal-index-link:hover, .gal-index-link:focus-visible { color: var(--color-link); }

/* Stages: contiguous boxes (padding, not margin) so «the stage being read» never has a hole. */
.gal-body { padding-top: 8px; }
.gal-stage { padding-top: 56px; scroll-margin-top: calc(var(--nav-h) + 52px); }
.gal-stage-head { display: flex; align-items: baseline; gap: 14px; margin: 0 0 24px; padding-top: 22px; border-top: 1px solid var(--color-hairline); }
.gal-stage:first-child .gal-stage-head { border-top: 0; padding-top: 0; }
.gal-stage-num { margin: 0; color: var(--color-link); }
.gal-stage-title { margin: 0; text-wrap: balance; }
.gal-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 20px; }
.gal-figure { margin: 0; }
.gal-open { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 18px; color: inherit; font: inherit; text-align: inherit; }
.gal-open:focus-visible { outline: 3px solid var(--color-action); outline-offset: 3px; }
.gal-media { display: block; aspect-ratio: 4 / 3; border-radius: 18px; }
.gal-media img { object-position: 50% 45%; transition: transform .9s var(--ease-house, cubic-bezier(.16,1,.3,1)); }
.gal-media--arriba img { object-position: 50% 18%; }
.gal-media--earthx img { object-position: 100% 45%; }
.gal-open-icon { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(29, 29, 31, .56); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: .9; transition: opacity .3s; }
.gal-open-icon::before, .gal-open-icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; border-radius: 1px; transform: translate(-50%, -50%); }
.gal-open-icon::before { width: 14px; height: 2px; }
.gal-open-icon::after { width: 2px; height: 14px; }
@media (hover: hover) {
  .gal-open-icon { opacity: 0; }
  .gal-open:hover .gal-open-icon, .gal-open:focus-visible .gal-open-icon { opacity: .9; }
  .gal-open:hover .gal-media img { transform: scale(1.03); }
}
.gal-caption { margin: 10px 2px 0; color: var(--color-text-secondary-alt); text-wrap: pretty; }
.gal-credit { color: var(--color-steel); white-space: nowrap; }
.gal-note { margin: 64px 0 0; color: var(--color-text-secondary); }
/* Phone: the protagonist reads larger and closer to its title. */
@media (max-width: 734px) {
  .gal-item--lead .gal-media { aspect-ratio: 1 / 1; }
  .gal-stage--habitat .gal-item--lead .gal-media, .gal-stage--actual .gal-item--lead .gal-media { aspect-ratio: 4 / 5; }
}
@media (min-width: 735px) {
  .gal { padding-top: calc(var(--nav-h) + 72px); }
  .gal-stage { padding-top: 80px; }
  .gal-stage-head { margin-bottom: 32px; }
  .gal-index-list { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  /* Six columns: lead 4×2 rows, sides 2, rows of three (2 each) or two (3 each). */
  .gal-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 24px; }
  .gal-item--side, .gal-item--tri { grid-column: span 2; }
  .gal-item--pair { grid-column: span 3; }
  .gal-item--lead { grid-column: 1 / span 4; grid-row: span 2; }
  .gal-item--lead .gal-figure { height: 100%; display: flex; flex-direction: column; }
  .gal-item--lead .gal-open { flex: 1 1 auto; display: flex; }
  .gal-item--lead .gal-media { flex: 1 1 auto; aspect-ratio: auto; min-height: 320px; }
  .gal-item--side { grid-column: 5 / span 2; }
  /* Two photos: the protagonist large, the second smaller and set low (magazine spread). */
  .gal-item--duo { grid-column: 1 / span 4; grid-row: auto; }
  .gal-item--duo .gal-media { flex: none; aspect-ratio: 4 / 3; }
  .gal-item--duo-b { grid-column: 5 / span 2; align-self: end; }
  .gal-stage--habitat .gal-item--duo-b .gal-media { aspect-ratio: 3 / 4; }
}

/* The stage being read, marked in the index (Chrome 115+, Safari 26+). Each stage is a view
   timeline narrowed to a line at 38 % of the screen; the link is «on» while its stage
   crosses that line. Elsewhere the index simply stays there, unmarked. */
@supports (animation-timeline: view()) and (timeline-scope: --a) {
  .gal { timeline-scope: --g-onu, --g-consejo, --g-habitat, --g-centroamerica, --g-reconocimientos, --g-jovenes, --g-actual; }
  .gal-stage { view-timeline-inset: 38% 61.5%; }
  .gal-stage--onu { view-timeline-name: --g-onu; }
  .gal-stage--consejo { view-timeline-name: --g-consejo; }
  .gal-stage--habitat { view-timeline-name: --g-habitat; }
  .gal-stage--centroamerica { view-timeline-name: --g-centroamerica; }
  .gal-stage--reconocimientos { view-timeline-name: --g-reconocimientos; }
  .gal-stage--jovenes { view-timeline-name: --g-jovenes; }
  .gal-stage--actual { view-timeline-name: --g-actual; }
  @keyframes gal-index-on { from, to { background: var(--color-ink); color: #fff; } }
  @keyframes gal-num-on { from, to { color: rgba(255, 255, 255, .62); } }
  .gal-index-link, .gal-index-num { animation-timing-function: linear; animation-fill-mode: none; animation-range: cover 0% cover 100%; }
  .gal-index-link { animation-name: gal-index-on; }
  .gal-index-num { animation-name: gal-num-on; }
  .gal-index-link--onu, .gal-index-link--onu .gal-index-num { animation-timeline: --g-onu; }
  .gal-index-link--consejo, .gal-index-link--consejo .gal-index-num { animation-timeline: --g-consejo; }
  .gal-index-link--habitat, .gal-index-link--habitat .gal-index-num { animation-timeline: --g-habitat; }
  .gal-index-link--centroamerica, .gal-index-link--centroamerica .gal-index-num { animation-timeline: --g-centroamerica; }
  .gal-index-link--reconocimientos, .gal-index-link--reconocimientos .gal-index-num { animation-timeline: --g-reconocimientos; }
  .gal-index-link--jovenes, .gal-index-link--jovenes .gal-index-num { animation-timeline: --g-jovenes; }
  .gal-index-link--actual, .gal-index-link--actual .gal-index-num { animation-timeline: --g-actual; }
  /* Phone: the strip cannot show seven names; it shows the seven numbers and the name of
     the stage being read only, so the mark is always on screen. */
  @media (max-width: 734px) {
    @keyframes gal-name-on { from, to { max-width: 16em; opacity: 1; padding-left: 6px; } }
    .gal-index-list { gap: 3px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 10px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 10px), transparent); }
    .gal-index-link { gap: 0; padding: 7px 8px; }
    .gal-index-name { display: inline-block; max-width: 0; opacity: 0; overflow: hidden; vertical-align: bottom;
      animation: gal-name-on linear none; animation-range: cover 0% cover 100%; }
    .gal-index-link--onu .gal-index-name { animation-timeline: --g-onu; }
    .gal-index-link--consejo .gal-index-name { animation-timeline: --g-consejo; }
    .gal-index-link--habitat .gal-index-name { animation-timeline: --g-habitat; }
    .gal-index-link--centroamerica .gal-index-name { animation-timeline: --g-centroamerica; }
    .gal-index-link--reconocimientos .gal-index-name { animation-timeline: --g-reconocimientos; }
    .gal-index-link--jovenes .gal-index-name { animation-timeline: --g-jovenes; }
    .gal-index-link--actual .gal-index-name { animation-timeline: --g-actual; }
    .gal-index-name { padding-left: 0; }
  }
}

/* The large photo: a native popover over the whole screen, dark, the photo centred with its caption. */
.gal-box { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 64px 24px 28px;
  border: 0; background: rgba(12, 12, 14, .94); color: #f5f5f7; overflow: auto; overscroll-behavior: auto; box-sizing: border-box; }
.gal-box:popover-open { display: grid; place-items: center; }
.gal-box::backdrop { background: transparent; }
.gal-box-figure { margin: 0; display: grid; justify-items: center; gap: 14px; max-width: 100%; }
.gal-box-picture, .gal-box-picture img { display: block; }
.gal-box-picture img { max-width: 100%; max-height: calc(100svh - 190px); width: auto; height: auto; border-radius: 14px; }
.gal-box-caption { max-width: 46em; text-align: center; color: rgba(245, 245, 247, .82); text-wrap: pretty; }
.gal-box-caption .gal-credit { color: rgba(245, 245, 247, .56); }
.gal-box-close { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .16); color: #fff; font-size: 28px; line-height: 44px; padding: 0; text-align: center; }
.gal-box-close:hover { background: rgba(255, 255, 255, .26); }
.gal-box-close:focus-visible { outline: 3px solid var(--color-action); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .gal-box { transition: opacity .35s var(--ease-house, ease), display .35s allow-discrete, overlay .35s allow-discrete; opacity: 0; }
  .gal-box:popover-open { opacity: 1; }
  @starting-style { .gal-box:popover-open { opacity: 0; } }
  .gal-box .gal-box-figure { transition: transform .5s var(--ease-house, ease); transform: scale(.96); }
  .gal-box:popover-open .gal-box-figure { transform: none; }
  @starting-style { .gal-box:popover-open .gal-box-figure { transform: scale(.96); } }
}
@media (prefers-reduced-motion: reduce) {
  .gal-media img { transition: none; }
}
@media print {
  .gal-index { position: static; }
  .gal-open-icon, .gal-boxes { display: none; }
}
