/* Corporación Embodying Reconciliation — v1.1
   Colors and button rules: 05_botones_y_color.md. Look: Canva (large photo, three boxes, navy band).
   Type (provisional, 09_provisionales.md): Archivo display + Atkinson Hyperlegible Next (fonts.css).
   House rules (Taste): no thin rules or outlined boxes, no shadows at rest, no tiny uppercase labels.
   Surfaces are told apart by tone steps. Motion: transform and opacity, all of it off for reduced motion. */

:root {
  --magenta: #d12b8a;
  --magenta-dark: #a81f6e;
  --magenta-tint: #fbe7f2;
  --orange: #eda513;
  --orange-dark: #c4840a;
  --orange-tint: #fdf3d4;
  --blue: #2b6aa3;
  --blue-dark: #1f5282;
  --blue-tint: #e7f0f8;
  --navy: #161c5e;
  --navy-ink: #c9cdf2;
  --ink: #1c1412;
  --ink-soft: #57483f;
  --paper: #fffaf4;
  --sand: #f3e6d4;
  --sand-2: #ead9c2;
  --white: #fff;

  --font: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Archivo", "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --step--1: clamp(0.88rem, 0.86rem + 0.1vw, 0.94rem);
  --step-0: clamp(1.02rem, 0.98rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.9vw, 2rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.9vw, 3.1rem);
  --step-4: clamp(2.3rem, 1.6rem + 3.4vw, 4.6rem);

  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --wrap: 74rem;
  --radius: 8px;
  --radius-lg: 14px;
  --float: 0 2px 6px rgb(28 20 18 / 0.08), 0 18px 40px -16px rgb(28 20 18 / 0.35);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
  --t-open: 1200ms;
  --ease-exit: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  --stagger-item: 70ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 var(--step-0)/1.55 var(--font); color: var(--ink); background: var(--paper); text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 0.5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; transition: color var(--t-hover) ease; }
a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }
p a, dd a, li a { overflow-wrap: anywhere; }
::selection { background: var(--magenta); color: var(--white); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: #c9b59c var(--paper); }
button { font: inherit; }

html:not(.lang-es) [data-l="es"], html.lang-es [data-l="en"] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 0.5rem; top: -4rem; z-index: 50; background: var(--white); color: var(--ink); padding: 0.6rem 1rem; border-radius: var(--radius); font-weight: 700; box-shadow: var(--float); }
.skip:focus { top: 0.5rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.measure { max-width: 66ch; }
.section { padding-block: clamp(4rem, 3rem + 6vw, 8.5rem); }
.section[id], .page-hero { scroll-margin-top: 7.25rem; }
.section--tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy a:not(.btn) { color: var(--white); }
.section--navy .muted { color: var(--navy-ink); }
.muted { color: var(--ink-soft); }
.small { font-size: var(--step--1); }

.display { font-family: var(--font-display); font-size: var(--step-4); font-weight: 850; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.98; }
.h2 { font-size: var(--step-3); font-weight: 820; font-stretch: 108%; letter-spacing: -0.015em; }
.h3 { font-size: var(--step-2); font-weight: 780; font-stretch: 104%; }
.h4 { font-size: var(--step-1); font-weight: 750; }
.lead { font-size: var(--step-1); line-height: 1.45; }

/* ---------- Buttons: solid (Donate only), ghost, light ---------- */
.btn {
  --c: var(--magenta);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.3em; font: 700 var(--step-0)/1.2 var(--font);
  border-radius: var(--radius); border: 2px solid var(--c); text-decoration: none; cursor: pointer;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform var(--t-ui) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--solid { background: var(--magenta); border-color: var(--magenta); color: var(--white); }
.btn--solid:hover { background: var(--magenta-dark); border-color: var(--magenta-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--c); }
.btn--ghost:hover { background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--c); }
.btn--ghost.on-dark { --c: var(--white); }
.btn--blue { --c: var(--blue); }
.btn--light { background: var(--white); color: var(--c); border-color: color-mix(in srgb, var(--c) 35%, var(--white)); }
.btn--light:hover { border-color: var(--c); color: var(--c); }
.btn--block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }

.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35em; }
.link-arrow svg { width: 1em; height: 1em; transition: transform var(--t-ui) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); }
.site-header > .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 44px; height: 44px; flex: none; transition: transform 600ms var(--ease-expo); }
.brand:hover img { transform: rotate(-12deg); }
.brand span { font-weight: 800; font-size: 0.95rem; line-height: 1.1; }
.brand small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.8rem; }
.nav { display: none; }
.nav__item { position: relative; }
.nav__link { position: relative; color: var(--ink); text-decoration: none; font-weight: 650; padding: 0.4rem 0.1rem; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--magenta); transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease-out); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item:hover > .nav__link::after, .nav__item:focus-within > .nav__link::after, .nav__item.is-open > .nav__link::after { transform: scaleX(1); }
.nav__drop {
  display: none;
  position: absolute;
  top: 100%;
  left: -0.7rem;
  min-width: 15.75rem;
  margin: 0;
  padding: 0.85rem 0 0.45rem;
  list-style: none;
  background: var(--sand);
  z-index: 32;
}
.nav__drop::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 0.85rem;
}
.nav__item:hover .nav__drop,
.nav__item:focus-within .nav__drop,
.nav__item.is-open .nav__drop { display: block; }
.nav__drop a {
  display: block;
  padding: 0.45rem 1rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
  line-height: 1.25;
  border-left: 3px solid transparent;
}
.nav__drop a:hover, .nav__drop a:focus-visible {
  background: var(--sand-2);
  border-left-color: var(--orange);
}
.nav-cart {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; color: var(--ink); text-decoration: none; flex: none;
}
.nav-cart svg { width: 1.45rem; height: 1.45rem; }
.nav-cart__n {
  position: absolute; top: 4px; right: 2px; min-width: 1.15rem; height: 1.15rem;
  padding: 0 0.28rem; border-radius: 999px; background: var(--orange); color: var(--ink);
  font: 800 0.68rem/1.15rem var(--font); text-align: center;
}
.nav-cart__n[hidden] { display: none; }
.nav-donate { background: var(--magenta); color: var(--white); text-decoration: none; font-weight: 800; padding: 0.55rem 1.15rem; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.nav-donate:hover { background: var(--magenta-dark); color: var(--white); }
.nav-donate:active { transform: scale(0.96); }
.lang-drop { position: relative; flex: none; }
.lang-toggle { min-height: 44px; min-width: 44px; padding: 0 0.7rem; font: 800 0.9rem/1 var(--font); background: var(--white); color: var(--magenta); border: 2px solid color-mix(in srgb, var(--magenta) 35%, var(--white)); border-radius: var(--radius); cursor: pointer; transition: border-color var(--t-hover) ease; }
.lang-toggle:hover, .lang-drop.is-open .lang-toggle { border-color: var(--magenta); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 0.35rem);
  min-width: 9.5rem; margin: 0; padding: 0.35rem 0; list-style: none;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--float); z-index: 40;
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  display: block; width: 100%; text-align: left; border: 0; background: none; cursor: pointer;
  padding: 0.55rem 0.9rem; font: 700 0.92rem/1.2 var(--font); color: var(--ink);
}
.lang-menu button:hover, .lang-menu button:focus-visible { background: var(--sand); }
.lang-menu button[aria-selected="true"] { color: var(--magenta); }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: var(--radius); }
.menu-btn svg { width: 26px; height: 26px; }
.mobile-nav { background: var(--white); }
.mobile-nav__list { list-style: none; margin: 0 auto; padding: 0.4rem 0 1.25rem; width: min(100% - 2 * var(--gutter), var(--wrap)); display: block; }
.mobile-nav__list > li { display: block; }
.mobile-nav a { display: block; padding: 0.8rem 0; font-size: var(--step-1); font-weight: 750; color: var(--ink); text-decoration: none; }
.mobile-nav a[aria-current="page"] { color: var(--magenta); }
.mobile-nav__sub { list-style: none; margin: 0 0 0.55rem; padding: 0 0 0.15rem 0.9rem; border-left: 3px solid var(--orange); }
.mobile-nav__sub a { padding: 0.32rem 0; font-size: var(--step-0); font-weight: 650; color: var(--ink-soft); }
@media (max-width: 26rem) { .brand span { display: none; } }
@media (min-width: 56rem) { .nav { display: flex; gap: 1.6rem; align-items: center; margin-right: 0.5rem; } .menu-btn, .mobile-nav { display: none !important; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--navy); overflow: clip; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: clip; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(22 28 94 / 0) 22%, rgb(14 16 52 / 0.55) 55%, rgb(14 16 52 / 0.82) 100%); }
.hero .wrap { min-height: min(92svh, 56rem); display: flex; flex-direction: column; justify-content: flex-end; padding-block: 7rem 3rem; }
.hero__copy { max-width: 46rem; }
.hero h1, .hero p { text-shadow: 0 1px 2px rgb(0 0 0 / 0.55), 0 2px 18px rgb(0 0 0 / 0.45); }
.hero h1 { max-width: 28ch; margin-bottom: 1.1rem; font-size: clamp(1.85rem, 1.35rem + 2.2vw, 3.15rem); }
.hero p { max-width: 54ch; font-size: var(--step-1); line-height: 1.45; color: #f4f0ff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; margin-top: 0.75rem; }
@media (min-width: 64rem) {
  .hero::before { background: linear-gradient(90deg, rgb(14 16 52 / 0.72) 0%, rgb(22 28 94 / 0.38) 40%, rgb(22 28 94 / 0) 65%); }
  .hero__media img { object-position: 70% 35%; }
  .hero .wrap { justify-content: center; padding-block: 6rem; }
}

.page-hero { position: relative; isolation: isolate; color: var(--white); background: var(--navy); overflow: clip; }
.page-hero .wrap { padding-block: clamp(4.5rem, 3rem + 7vw, 9rem) clamp(2.5rem, 2rem + 3vw, 4rem); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; overflow: clip; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(22 28 94 / 0.3), rgb(14 16 52 / 0.88)); }
.page-hero p { max-width: 60ch; font-size: var(--step-1); color: #f4f0ff; }

/* ---------- Photos: square-ish frames, gentle zoom under the pointer ---------- */
.photo { border-radius: var(--radius-lg); overflow: clip; background: var(--sand-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-soft), clip-path var(--t-open) var(--ease-expo); }
.photo:hover img, a:hover .photo img, a:focus-visible .photo img, .zoom:hover img { transform: scale(1.06); }
.photo.js-view { cursor: zoom-in; }
.photo.js-view img { clip-path: inset(6% 6% 6% 6%); }
.photo.js-view:hover img, .photo.js-view:focus-visible img { clip-path: inset(0); transform: scale(1.04); }
figure { margin: 0; }
figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.5rem; }

/* ---------- Donate ---------- */
.donate-intro { position: relative; isolation: isolate; color: var(--white); background: var(--navy); }
.donate-intro__media { position: absolute; inset: 0; z-index: -2; overflow: clip; }
.donate-intro__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.donate-intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(22 28 94 / 0.82); }
.donate-intro .wrap { padding-block: clamp(3.5rem, 2.5rem + 5vw, 6rem) clamp(9rem, 7rem + 8vw, 13rem); }
.donate-intro p { max-width: 60ch; font-size: var(--step-1); color: #f1eeff; }
.donate-panel { margin-top: clamp(-9rem, -6rem - 5vw, -5rem); position: relative; padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.donate-panel > .cart-bridge__hint { color: var(--ink-soft); }
.donate-guide-title { margin: 1.75rem 0 0.35rem; color: var(--white); }
.donate-guide { margin: 0; max-width: 52ch; color: #f1eeff; }
.packages { display: grid; gap: 1rem; }
@media (min-width: 52rem) { .packages { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.pkg { position: relative; display: flex; }
.pkg__card {
  display: flex; flex-direction: column; width: 100%; background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg); overflow: clip; outline: 3px solid transparent; outline-offset: -3px;
  transition: transform var(--t-ui) var(--ease-out), box-shadow var(--t-ui) var(--ease-out);
}
.pkg__card:hover { transform: translateY(-4px); box-shadow: var(--float); }
.pkg__img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand-2);
  flex: none;
}
.pkg__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 900ms var(--ease-soft);
}
.pkg__img--linaje img { object-position: center 18%; }
.pkg__card:hover .pkg__img img { transform: scale(1.06); }
.pkg__body { padding: 1.1rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.pkg__title { font-family: var(--font-display); font-size: var(--step-1); font-weight: 800; line-height: 1.15; margin: 0; }
.pkg__price { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.pkg__price strong { font-family: var(--font-display); font-size: var(--step-2); font-weight: 850; color: var(--magenta); font-variant-numeric: tabular-nums; }
.pkg__price span { font-size: var(--step--1); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pkg__desc { font-size: 0.98rem; color: var(--ink); margin: 0; }
.pkg__list { margin: 0; padding-left: 1.1rem; font-size: 0.96rem; color: var(--ink); display: grid; gap: 0.2rem; }
.pkg__list li::marker { color: var(--magenta); }
.pkg__gets { margin-top: auto; padding: 0.8rem 0.9rem; border-radius: var(--radius); background: var(--magenta-tint); font-size: 0.95rem; }
.pkg__gets b { display: block; color: var(--magenta-dark); margin-bottom: 0.1rem; }
.pkg [data-add-gift] { margin-top: 0.15rem; }
.pkg { cursor: pointer; }
.pkg__radio {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0);
}
.pkg:has(.pkg__radio:checked) .pkg__card {
  outline-color: var(--magenta);
  box-shadow: var(--float);
}
.pkg:has(.pkg__radio:focus-visible) .pkg__card { outline-color: var(--blue); }
@media (min-width: 52rem) { .pkg--other { grid-column: 1 / -1; } }
.pkg--other .pkg__card { cursor: pointer; overflow: visible; }
.pkg--other .pkg__body { padding-block: 1.15rem; }
.pkg--other .pkg__title { white-space: normal; overflow: visible; }
#other-cur { display: none; }
.other-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.pkg--other .freq-block__legend { margin: 0.9rem 0 0.45rem; font: 800 var(--step-0) var(--font); color: var(--ink); }
.pkg--other .freq { margin: 0 0 0.35rem; }
.donate-path { display: none; }
.currency { display: inline-flex; padding: 3px; gap: 3px; background: var(--sand); border-radius: calc(var(--radius) + 3px); }
.currency label { position: relative; }
.currency input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.currency span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.85rem; border-radius: var(--radius); font-weight: 800; color: var(--ink-soft); transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.currency input:checked + span { color: var(--magenta); background: var(--white); }
.currency input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 1px; }
.money { display: flex; align-items: center; background: var(--paper); border-radius: var(--radius); box-shadow: inset 0 0 0 2px var(--sand-2); }
.money:focus-within { box-shadow: inset 0 0 0 2px var(--blue); }
.money span { padding: 0 0.2rem 0 0.75rem; font-weight: 800; color: var(--ink-soft); }
.money input { width: 9.5rem; min-height: 46px; border: 0; background: transparent; padding: 0 0.75rem 0 0.25rem; font: 700 var(--step-0) var(--font); color: var(--ink); font-variant-numeric: tabular-nums; }
.money input:focus { outline: none; }
.field-hint { font-size: var(--step--1); color: var(--ink-soft); margin: 0; }
.field-error { font-size: var(--step--1); color: #b3261e; font-weight: 700; margin: 0; }
.field-error:empty { display: none; }
.second-gift { font-size: var(--step--1); color: var(--ink-soft); margin: 0.25rem 0 0; flex-basis: 100%; }

/* Steps appear one at a time, as they are needed */
.steps { display: grid; gap: 1rem; margin-top: 1.5rem; }
.step { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.2rem, 1rem + 1.2vw, 1.9rem); }
.step[hidden] { display: none; }
.step__title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 800; margin: 0 0 1rem; }
.step__next { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.freq { display: inline-flex; padding: 4px; gap: 4px; background: var(--sand); border-radius: calc(var(--radius) + 4px); margin-bottom: 0.75rem; }
.freq label { position: relative; }
.freq input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.freq span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.15rem; border-radius: var(--radius); font-weight: 800; color: var(--ink); transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.freq input:checked + span { background: var(--white); color: var(--magenta); }
.freq input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.tag { display: inline-block; font-size: 0.85rem; font-weight: 800; padding: 0.15rem 0.6rem; border-radius: 999px; background: #fff1d6; color: #7a4a00; vertical-align: middle; }
.summary__text { font-size: var(--step-1); margin: 0.5rem 0 0; }
.summary__text strong { font-variant-numeric: tabular-nums; }
.fields { display: grid; gap: 0.9rem; }
@media (min-width: 44rem) { .fields { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
.fields label { display: grid; gap: 0.3rem; font-weight: 700; }
.fields .opt, .form .opt { font-weight: 500; color: var(--ink-soft); }
.fields input[type="text"], .fields input[type="email"], .fields input[type="tel"],
.form input, .form textarea {
  font: 400 var(--step-0) var(--font); color: var(--ink); min-height: 48px; padding: 0.6rem 0.8rem; width: 100%;
  border: 0; border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 2px var(--sand-2);
  transition: box-shadow var(--t-hover) ease;
}
.form textarea { min-height: 7rem; resize: vertical; }
.fields input:focus, .form input:focus, .form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.fields input[aria-invalid="true"], .form input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #b3261e; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 500 !important; font-size: 0.96rem; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; accent-color: var(--magenta); flex: none; }
.donate-form { margin-top: 2rem; }
.donate-form[hidden] { display: none; }
.donate-form > .h3 { margin: 0 0 0.35rem; }
.donate-form__lead { margin: 0 0 1.1rem; max-width: 58ch; color: var(--ink-soft); }
.pay-choice { margin: 0 0 1rem; }
.pay-choice[hidden] { display: none; }
.pay-choice strong { color: var(--magenta); font-variant-numeric: tabular-nums; }
.pay-paths {
  margin-top: 1.75rem; padding: 1.4rem 1.4rem 1.25rem;
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg);
}
.pay-paths .h3 { margin: 0 0 1rem; }
.pay__grid { display: grid; gap: 1.25rem; margin-block: 0 1rem; }
.pay__option { display: flex; flex-direction: column; gap: 0.65rem; align-items: stretch; }
.pay__option .btn { margin-top: auto; min-height: 48px; }
html:not(.lang-es) .pay__option--wompi,
html.lang-es .pay__option--paypal {
  padding-top: 0.85rem;
  border-top: 1px solid var(--sand-2);
}
html:not(.lang-es) .pay__option--wompi .btn,
html.lang-es .pay__option--paypal .btn {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--blue) 35%, var(--white));
}
html.lang-es .pay__option--wompi { order: -1; }
html.lang-es #pay-wompi {
  background: var(--magenta);
  border-color: var(--magenta);
  color: var(--white);
  box-shadow: none;
}
html.lang-es #pay-wompi:hover {
  background: var(--magenta-dark);
  border-color: var(--magenta-dark);
  color: var(--white);
}
.pay__brand { margin: 0; font: 800 var(--step-1) var(--font-display); color: var(--navy); }
.pay__option p:not(.pay__brand) { margin: 0; font-size: var(--step--1); color: var(--ink-soft); }
.notice { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius); background: var(--blue-tint); color: #173c5f; font-size: 0.98rem; }
.notice:empty { display: none; }
@property --notice-spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pay-paths .notice--pay {
  --notice-spin: 0deg;
  position: relative;
  isolation: isolate;
  z-index: 0;
  margin-top: 0.35rem;
  padding: 1.05rem 1.2rem;
  color: var(--ink);
  background: var(--orange-tint);
  border-radius: var(--radius);
  box-shadow: 0 0 14px rgb(237 165 19 / 0.45), 0 0 28px rgb(255 154 18 / 0.28);
}
.pay-paths .notice--pay::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius) + 4px);
  background: conic-gradient(from var(--notice-spin), #ff6a00, #ffe08a, #eda513, #ff3d00, #ffb020, #fff3b0, #ff6a00);
  z-index: -2;
}
.pay-paths .notice--pay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange-tint);
  border-radius: inherit;
  z-index: -1;
  box-shadow: inset 0 0 0 1.5px rgb(237 165 19 / 0.55);
}
.pay-paths .notice--pay strong { font-weight: 800; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .pay-paths .notice--pay {
    animation: notice-glow 1.8s ease-in-out infinite;
  }
  .pay-paths .notice--pay::before {
    animation: notice-spin 2.8s linear infinite;
  }
}
@keyframes notice-spin { to { --notice-spin: 360deg; } }
@keyframes notice-glow {
  0%, 100% { box-shadow: 0 0 10px rgb(237 165 19 / 0.4), 0 0 22px rgb(255 154 18 / 0.2); }
  50% { box-shadow: 0 0 18px rgb(255 176 32 / 0.85), 0 0 36px rgb(255 106 0 / 0.45); }
}
.tax { margin-top: 1.5rem; font-size: 0.96rem; color: var(--ink-soft); max-width: 70ch; }
.tax strong { color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: 0.5rem; max-width: 52rem; }
.faq--donate { margin: 2.75rem 0 0; }
.faq--donate h3 { font-size: var(--step-1); margin: 0 0 0.65rem; color: var(--ink); }
.faq details { background: var(--white); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 3rem 1rem 1.2rem; font-weight: 800; position: relative; min-height: 48px; display: flex; align-items: center; border-radius: var(--radius); transition: background-color var(--t-hover) ease; }
.faq summary:hover { background: var(--magenta-tint); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.2rem; top: 50%; width: 0.65rem; height: 0.65rem; border-right: 2.5px solid var(--magenta); border-bottom: 2.5px solid var(--magenta); transform: translateY(-70%) rotate(45deg); transition: transform var(--t-ui) var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 1.2rem 1.1rem; }

/* ---------- Editorial blocks ---------- */
.split { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.photo-row { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); }
.photo-row .photo { aspect-ratio: 4 / 3; }
.photo-row .photo:first-child { grid-row: span 2; aspect-ratio: auto; }

.facts { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 56rem) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts li { padding: 1.4rem 1.3rem; border-radius: var(--radius-lg); background: rgb(255 255 255 / 0.07); transition: background-color var(--t-ui) ease, transform var(--t-ui) var(--ease-out); }
.facts li:hover { background: rgb(255 255 255 / 0.13); transform: translateY(-4px); }
.facts .yr { display: block; font-family: var(--font-display); font-weight: 850; font-size: var(--step-3); color: #ffb3dc; font-variant-numeric: tabular-nums; line-height: 1; margin-bottom: 0.6rem; }
.facts p { margin: 0; }
.facts-cta { margin-top: 2rem; }

/* Video: click to play */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: clip; background: #0e1034; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-soft); }
.video:hover img { transform: scale(1.05); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video__play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; background: rgb(14 16 52 / 0.25); border: 0; cursor: pointer; color: var(--white); font: 800 var(--step-0) var(--font); }
.video__play span.icon { width: 4.75rem; height: 4.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--orange); transition: transform var(--t-ui) var(--ease-out); }
.video__play:hover span.icon { transform: scale(1.1); }
.video__play svg { width: 1.8rem; height: 1.8rem; margin-left: 4px; }
.video__label { position: absolute; left: 1rem; right: 1rem; bottom: 0.9rem; text-align: left; text-shadow: 0 1px 8px rgb(0 0 0 / 0.6); }
.video--short { aspect-ratio: 9 / 16; max-width: 18rem; }
.ed-watch { display: grid; gap: 1rem; }
@media (min-width: 52rem) { .ed-watch { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr); align-items: start; } }
.yt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.yt-list .small { margin: 0 0 0.4rem; }
.yt-card {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 0.85rem; background: var(--white); color: var(--ink);
  text-decoration: none; font-weight: 700; border-radius: var(--radius);
}
.yt-card:hover { color: var(--ink); background: var(--sand-2); }
.yt-card small { display: block; font-weight: 600; color: var(--ink-soft); }
.yt-card svg { width: 1.15rem; height: 1.15rem; flex: none; color: var(--magenta); }
.chrono__gallery { grid-column: 1 / -1; }

/* Media list (work, publications) */
.media-grid { display: grid; gap: 2.25rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.media-item { display: flex; flex-direction: column; gap: 0.55rem; }
.media-item .photo { aspect-ratio: 3 / 2; }
.media-item h3 { font-size: var(--step-1); font-weight: 800; margin: 0.25rem 0 0; }
.media-item p { margin: 0; color: var(--ink); font-size: 0.98rem; }
.media-item .meta { font-size: var(--step--1); font-weight: 700; color: var(--blue-dark); }

/* Placeholders for assets still to come: a tone field with a caption, never invented */
.gap { display: grid; place-items: center; align-content: center; text-align: center; gap: 0.35rem; padding: 1.5rem; min-height: 12rem; border-radius: var(--radius-lg); background: var(--sand-2); color: var(--ink-soft); }
.gap strong { color: var(--ink); font-size: var(--step-0); }
.gap-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }

blockquote { margin: 0; padding: 0; }
.quote { font-size: var(--step-2); font-weight: 750; line-height: 1.28; letter-spacing: -0.005em; }
.quote::before { content: "“"; color: var(--orange); }
.quote::after { content: "”"; color: var(--magenta); }
.quote-by { margin-top: 0.6rem; font-size: var(--step--1); color: var(--ink-soft); font-weight: 700; }
#diploma figure blockquote:not(:first-child) { margin-top: 2rem; }

.svc { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0; }
.svc li { box-shadow: inset 0 -3px 0 var(--orange-tint); }
.svc__hit {
  width: 100%; display: grid; grid-template-columns: 3.4rem 3.4rem 1fr; gap: 1rem; align-items: center;
  padding: 1.15rem 0; border: 0; background: none;
  cursor: pointer; font: inherit; color: inherit; text-align: left;
}
.svc__n { font: 850 var(--step-2) var(--font-display); color: var(--orange); line-height: 1; }
.svc__ico {
  width: 3.4rem; height: 3.4rem; padding: 0.7rem; color: var(--navy);
  background: var(--sand); box-sizing: border-box;
}
.svc li:nth-child(2) .svc__ico { background: var(--magenta-tint); }
.svc li:nth-child(3) .svc__ico { background: var(--blue-tint); }
.svc li:nth-child(4) .svc__ico { background: var(--orange-tint); }
.svc li:nth-child(5) .svc__ico { background: var(--sand-2); }
.svc__name { font: 800 var(--step-1) var(--font-display); }
.svc__hit[aria-expanded="true"] { color: var(--orange-dark); }
.svc__hit[aria-expanded="true"] .svc__ico { background: var(--orange); }
.svc__body { padding: 0 0 1.35rem 8.8rem; max-width: 62ch; }
.svc__body p { margin: 0; font-size: var(--step-0); }
@media (max-width: 40rem) {
  .svc__hit { grid-template-columns: 3.4rem 1fr; }
  .svc__n { display: none; }
  .svc__body { padding-left: 0; }
}

.banner { display: grid; grid-template-columns: auto 1fr auto; gap: 0.6rem; align-items: center; margin-top: 1.5rem; }
.banner__viewport { position: relative; overflow: clip; min-height: 28rem; background: var(--navy); }
.banner__slide { display: grid; min-height: 28rem; color: var(--white); text-decoration: none; }
.banner__slide[hidden] { display: none; }
.banner__slide img, .banner__field { grid-area: 1 / 1; width: 100%; height: 28rem; object-fit: cover; }
.banner__field { background: var(--orange); }
.banner__field--navy { background: var(--navy); }
.banner__copy {
  grid-area: 1 / 1; align-self: end; padding: 1.4rem 1.3rem;
  background: linear-gradient(transparent, rgb(22 28 94 / 0.92));
  display: grid; gap: 0.2rem;
}
.banner__copy b { font: 800 var(--step-1) var(--font-display); }
.banner__arrow {
  width: 48px; height: 48px; border: 0; background: var(--orange); color: var(--ink); cursor: pointer;
  display: grid; place-items: center;
}
.banner__arrow svg { width: 1.3rem; height: 1.3rem; transform: rotate(180deg); }
.banner__arrow--next svg { transform: none; }

.lines { margin-top: 1.5rem; }
.lines__stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1000 / 440;
  min-height: 14rem;
}
.lines__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.lines__svg--back { z-index: 1; }
.lines__svg--front { z-index: 3; }
.thread {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.72;
  transition: opacity var(--t-ui) ease, stroke-width var(--t-ui) ease;
}
.thread--1 { stroke: var(--magenta); }
.thread--2 { stroke: var(--orange); }
.thread--3 { stroke: var(--navy); }
.thread--4 { stroke: #1eb5c4; }
.lines[data-on="line-1"] .thread--1,
.lines[data-on="line-2"] .thread--2,
.lines[data-on="line-3"] .thread--3,
.lines[data-on="line-4"] .thread--4 {
  opacity: 1;
  stroke-width: 14;
}
.lines__logo {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(28%, 11rem);
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.lines__names { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.lines__hit {
  position: absolute;
  left: 1.5%;
  z-index: 4;
  margin: 0;
  padding: 0.15rem 0.45rem 0.15rem 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  pointer-events: auto;
  text-align: left;
  font: 800 var(--step-0) var(--font);
  line-height: 1.15;
  max-width: 14rem;
}
.lines__hit:nth-child(1) { top: 12%; }
.lines__hit:nth-child(2) { top: 32%; }
.lines__hit:nth-child(3) { top: 53%; }
.lines__hit:nth-child(4) { top: 74%; }
.lines__hit[aria-pressed="true"] { color: var(--magenta-dark); }
.lines[data-on="line-2"] .lines__hit[aria-controls="line-2"] { color: var(--orange-dark); }
.lines[data-on="line-3"] .lines__hit[aria-controls="line-3"] { color: var(--navy); }
.lines[data-on="line-4"] .lines__hit[aria-controls="line-4"] { color: #0e7a86; }
.lines__hit:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.lines__panel { padding: 1.35rem 0 0; max-width: 62ch; }
.lines__panel p { margin: 0; font-size: var(--step-1); }
@media (min-width: 56rem) {
  .lines {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.85fr);
    gap: 1.5rem 2.5rem;
    align-items: center;
  }
  .lines__stage { grid-column: 1; grid-row: 1; }
  .lines__panel {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
    align-self: center;
    max-width: none;
  }
}
@media (max-width: 40rem) {
  .lines__stage { min-height: 13.5rem; margin-bottom: 0.5rem; }
  .lines__names {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.8rem;
    margin-top: 0.75rem;
  }
  .lines__hit { position: static; max-width: none; padding: 0.35rem 0; background: none; }
}

.subnav { position: sticky; top: 4.25rem; z-index: 20; background: var(--paper); }
.subnav ul { list-style: none; margin: 0; padding: 0.4rem 0; display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.9rem; border-radius: 999px; white-space: nowrap; font-weight: 700; color: var(--ink-soft); text-decoration: none; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.subnav a:hover { background: var(--sand); color: var(--ink); }

.mvv { display: grid; gap: 2.25rem 3.5rem; }
@media (min-width: 56rem) {
  .mvv { grid-template-columns: 1fr 1fr; }
  .mvv > div:first-child { grid-column: 1 / -1; max-width: 46rem; }
}
.mvv > div { padding: 0; background: none; border-radius: 0; }
.mvv h3 { font-size: var(--step-1); font-weight: 850; color: var(--orange-dark); margin-bottom: 0.5rem; }
.mvv p { margin: 0; }

/* ---------- About: team as a living picture around the mark ---------- */
.team { margin-top: 1.5rem; padding-bottom: 1.5rem; }
.team__stage { display: grid; gap: 1.5rem; align-items: center; justify-items: center; }
@media (min-width: 70rem) {
  .team.is-open .team__stage { grid-template-columns: min(34rem, 46vw) minmax(0, 1fr); gap: 1.5rem; justify-items: stretch; }
}
.team__sky {
  --size: min(92vw, 34rem);
  position: relative; width: var(--size); height: var(--size); margin-inline: auto;
  overflow: visible;
  transition: transform 560ms var(--ease-in-out);
}
.team.is-open .team__sky { transform: translateX(-2%); }
.team__sky::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: var(--magenta-tint); }
.team__sun {
  position: absolute; left: 50%; top: 50%; width: 30%; height: 30%;
  transform: translate(-50%, -50%); border-radius: 50%; overflow: clip; background: var(--white); padding: 6%; z-index: 1;
}
.team__sun img { width: 100%; height: 100%; object-fit: contain; }
.team__face[data-person="md"] { left: 50%; top: 12%; }
.team__face[data-person="tatiana"] { left: 88%; top: 50%; }
.team__face[data-person="liliana"] { left: 50%; top: 88%; }
.team__face[data-person="alejandra"] { left: 12%; top: 50%; }
.team__face {
  position: absolute;
  width: 5.6rem; height: 5.6rem; margin: -2.8rem 0 0 -2.8rem;
  padding: 0; border: 0; border-radius: 50%; overflow: visible; cursor: pointer;
  background: transparent; color: var(--ink);
  outline: none; z-index: 2;
  transition: transform var(--t-ui) var(--ease-out);
}
.team__face img, .team__face .ini {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  border-radius: 50%; outline: 4px solid var(--white); pointer-events: none;
}
.team__face .ini { display: grid; place-items: center; font: 800 1.15rem var(--font-display); background: var(--navy); color: var(--white); }
.team__face > span:last-child {
  position: absolute; left: 50%; bottom: -1.7rem; transform: translateX(-50%);
  width: max-content; max-width: 9rem; font: 700 0.72rem/1.15 var(--font); color: var(--ink);
  opacity: 0; pointer-events: none; text-align: center;
  transition: opacity var(--t-hover) ease;
}
.team__face:hover, .team__face:focus-visible { transform: scale(1.22); z-index: 3; outline-color: var(--magenta); }
.team:not(.is-open) .team__face:hover > span:last-child,
.team:not(.is-open) .team__face:focus-visible > span:last-child { opacity: 1; }
.team__face.is-on { transform: scale(1.16); outline-color: var(--magenta); z-index: 2; }
.team__panel {
  display: none; align-items: center; gap: 1.5rem;
  background: var(--white); border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 1rem + 1.5vw, 2rem);
}
.team.is-open .team__panel { display: grid; grid-template-columns: auto 1fr; }
@media (max-width: 40rem) { .team.is-open .team__panel { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.team__portrait, .team__ini {
  width: 9.5rem; height: 9.5rem; border-radius: 50%; object-fit: cover; object-position: 50% 22%;
  outline: 6px solid var(--magenta-tint);
}
.team__ini { display: grid; place-items: center; background: var(--navy); color: var(--white); font: 800 2.2rem var(--font-display); }
.team__portrait[hidden], .team__ini[hidden] { display: none !important; }
.profile { min-height: 0; }
.profile h3 { font-size: var(--step-2); margin: 0 0 0.2rem; }
.profile .role { font-weight: 700; color: var(--magenta-dark); margin: 0 0 0.8rem; }
.profile p { margin: 0 0 0.6rem; }
.team__panel .btn { margin-top: 1rem; }

.board {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 3px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.board li { min-width: 0; }
.board__card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--sand-2);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  text-align: left;
  overflow: clip;
}
.board__card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
  transform: scale(1.02);
  transition: transform 700ms var(--ease-expo), filter 400ms ease;
  filter: saturate(0.88);
}
.board__card[aria-controls="b-alejandro"] > img { object-position: 50% 22%; }
.board__card:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; z-index: 2; }
.board__card:hover > img,
.board__card:focus-visible > img,
.board__card[aria-expanded="true"] > img {
  transform: scale(1.2);
  filter: saturate(1);
}
.board__stripe {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 18px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 100% 100%;
  transition: width 480ms var(--ease-expo);
}
.board__card[data-country="co"] .board__stripe { background-image: url("../img/flags/co.svg?v=3"); }
.board__card[data-country="gb"] .board__stripe { background-image: url("../img/flags/gb.svg?v=3"); }
.board__card[data-country="it"] .board__stripe { background-image: url("../img/flags/it.svg?v=3"); }
.board__card[data-country="us"] .board__stripe { background-image: url("../img/flags/us.svg?v=3"); }
.board__stripe--mx {
  background-image: none;
  background-color: transparent;
  background: linear-gradient(to right, #006847 0 33.34%, #fff 33.34% 66.66%, #ce1126 66.66% 100%);
}
.board__arms {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88%;
  height: auto;
  max-height: 52%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none;
  opacity: 0;
  transition: opacity 480ms var(--ease-expo);
}
.board__card:hover .board__arms,
.board__card:focus-visible .board__arms,
.board__card[aria-expanded="true"] .board__arms { opacity: 1; }
.board__card:hover .board__stripe,
.board__card:focus-visible .board__stripe,
.board__card[aria-expanded="true"] .board__stripe { width: 5.75rem; }
.board__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.6rem 0.85rem 0.85rem 1.45rem;
  background: linear-gradient(180deg, transparent, rgb(22 28 94 / 0.92));
  display: grid;
  gap: 0.15rem;
  transition: background-color var(--t-hover) ease, padding-left 480ms var(--ease-expo);
}
.board__card:hover .board__meta,
.board__card:focus-visible .board__meta,
.board__card[aria-expanded="true"] .board__meta {
  padding-left: 6.1rem;
}
.board__card[aria-expanded="true"] .board__meta {
  background: linear-gradient(180deg, transparent, rgb(22 28 94 / 0.94));
}
.board__who { font-weight: 800; font-size: 0.95rem; line-height: 1.2; }
.board__where { font-size: 0.82rem; color: rgb(255 250 244 / 0.85); }
.board__bio {
  margin-top: 0;
  padding: 1.5rem 0 0;
  background: none;
  border-radius: 0;
  max-width: 46rem;
}
.board__bio[hidden] { display: none; }
.board__bio .profile .role { color: var(--orange-dark); }
@media (max-width: 64rem) {
  .board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .board {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .board li { flex: 0 0 min(78vw, 16rem); scroll-snap-align: start; }
}

/* ---------- About: UNESCO as a path of years, not chips ---------- */
.chrono { margin-top: 2rem; }
.chrono__years {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.35rem;
  position: relative;
}
.chrono__years::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 1.15rem; height: 4px;
  background: var(--magenta-tint); border-radius: 4px; pointer-events: none;
}
.chrono__years button {
  position: relative; z-index: 1; width: 100%; padding: 0; border: 0; background: none;
  cursor: pointer; color: var(--ink-soft); text-align: center;
  display: grid; justify-items: center; gap: 0.55rem;
  font: 700 0.78rem/1.2 var(--font); min-height: 48px;
}
.chrono__years b {
  display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--sand-2); color: var(--ink); font: 800 0.72rem/1 var(--font-display);
  font-variant-numeric: tabular-nums;
  transition: transform var(--t-ui) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.chrono__years button:hover b, .chrono__years button:focus-visible b { transform: scale(1.18); background: var(--magenta-tint); color: var(--magenta-dark); }
.chrono__years button[aria-current="true"] { color: var(--ink); }
.chrono__years button[aria-current="true"] b { background: var(--orange); color: var(--ink); transform: scale(1.22); }
@media (max-width: 52rem) {
  .chrono__years { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem 0.4rem; }
  .chrono__years::before { display: none; }
}
.chrono__panel { margin-top: 1.25rem; display: grid; gap: 1.5rem; align-items: center; background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
@media (min-width: 52rem) { .chrono__panel { grid-template-columns: 1fr 1.2fr; } }
.chrono__panel[hidden] { display: none; }
.chrono__panel .photo { aspect-ratio: 16 / 9; }
.chrono__panel h3 { font-size: var(--step-2); margin-bottom: 0.4rem; }

/* ---------- Partners: logo wall, colour on hover, each one linked ---------- */
.partners { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }
.partners a, .partners span.p { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 0.9rem; border-radius: var(--radius-lg); background: var(--white); transition: transform var(--t-ui) var(--ease-out), background-color var(--t-hover) ease; }
.partners img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter var(--t-ui) ease, opacity var(--t-ui) ease; }
.partners a:hover, .partners a:focus-visible { transform: translateY(-4px) scale(1.03); }
.partners a:hover img, .partners a:focus-visible img { filter: none; opacity: 1; }

.book { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 52rem) { .book { grid-template-columns: 16rem 1fr; gap: 3rem; } }
.book-stage { perspective: 1400px; width: min(100%, 16rem); }
.book3d {
  position: relative; transform-style: preserve-3d;
  transform: rotateX(6deg) rotateY(-16deg);
  transition: transform 600ms var(--ease-expo);
}
.book-stage:hover .book3d { transform: rotateX(4deg) rotateY(-8deg); }
.book .cover {
  position: relative; z-index: 4; width: 100%; height: auto; border-radius: 2px;
  box-shadow: 8px 18px 36px -18px rgb(28 20 18 / 0.55);
  transform-origin: left center; backface-visibility: hidden;
}
.book3d .leaf {
  position: absolute; inset: 0; border-radius: 2px;
  transform-origin: left center; transform-style: preserve-3d;
  background:
    repeating-linear-gradient(#e8d4b8 0 1px, transparent 1px 1.55rem),
    #fff7ec;
  box-shadow: inset 0 0 0 1px rgb(28 20 18 / 0.08);
  backface-visibility: hidden;
}
.book3d .leaf--1 { z-index: 3; }
.book3d .leaf--2 { z-index: 2; background: repeating-linear-gradient(#e8d4b8 0 1px, transparent 1px 1.55rem), #f4e6d2; }
.book3d .leaf--3 { z-index: 1; background: repeating-linear-gradient(#e8d4b8 0 1px, transparent 1px 1.55rem), #ead9c2; }
@keyframes book-close {
  0% { transform: rotateY(-82deg); }
  22% { transform: rotateY(-82deg); }
  58% { transform: rotateY(0deg); }
  100% { transform: rotateY(0deg); }
}
@keyframes book-cover {
  0% { transform: rotateY(-18deg); }
  48% { transform: rotateY(-18deg); }
  82% { transform: rotateY(0deg); }
  100% { transform: rotateY(0deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .book3d .leaf--3 { animation: book-close 6.2s var(--ease-expo) infinite; }
  .book3d .leaf--2 { animation: book-close 6.2s var(--ease-expo) 0.28s infinite; }
  .book3d .leaf--1 { animation: book-close 6.2s var(--ease-expo) 0.52s infinite; }
  .book .cover { animation: book-cover 6.2s var(--ease-expo) infinite; }
  .book-stage:hover .leaf, .book-stage:hover .cover { animation-play-state: paused; }
}
.more-links { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin-top: 2.5rem; }
.pubs { margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); }

/* ---------- Transparency: orange poster + year ledger ---------- */
.tr { display: grid; gap: 1.75rem; margin-top: 1.5rem; }
@media (min-width: 60rem) { .tr { grid-template-columns: minmax(16rem, 0.85fr) 1.15fr; gap: 2.5rem; align-items: start; } }
.tr__featured {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  min-height: 14rem;
  padding: 1.4rem 1.4rem 1.25rem;
  background: var(--orange);
  color: var(--ink);
  text-decoration: none;
  border-radius: 0;
  transition: background-color var(--t-hover) ease;
}
.tr__featured:hover { background: var(--orange-dark); color: var(--ink); }
.tr__featured .tr__lead { font-weight: 800; font-size: 0.95rem; }
.tr__featured .big { font-family: var(--font-display); font-size: var(--step-4); font-weight: 850; line-height: 0.9; letter-spacing: -0.03em; }
.tr__featured .tr__name { font-size: 1rem; }
.tr__featured .dl { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; margin-top: 0.6rem; }
.tr__featured svg { width: 1.2rem; height: 1.2rem; }
.tr__years { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 0.25rem; }
.tr__years button {
  min-height: 44px; padding: 0 1rem; border: 0; border-radius: 0; cursor: pointer;
  background: transparent; color: var(--ink-soft);
  font: 800 1rem var(--font-display); font-variant-numeric: tabular-nums;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.tr__years button:hover { color: var(--ink); background: var(--orange-tint); }
.tr__years button[aria-selected="true"] { background: var(--orange); color: var(--ink); }
.tr__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tr__list[hidden] { display: none; }
.tr__list a {
  display: flex; align-items: baseline; gap: 0.9rem;
  padding: 0.85rem 0.15rem;
  background: transparent; color: var(--ink); text-decoration: none; font-weight: 650;
  box-shadow: inset 0 -2px 0 var(--orange-tint);
  transition: background-color var(--t-hover) ease, padding-left var(--t-ui) var(--ease-out);
}
.tr__list a:hover { background: var(--orange-tint); padding-left: 0.7rem; color: var(--ink); }
.tr__list svg { width: 1.15rem; height: 1.15rem; flex: none; color: var(--orange-dark); align-self: center; }
.tr__list .size { margin-left: auto; font-weight: 500; font-size: var(--step--1); color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Contact + forms ---------- */
.contact { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .contact { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.contact dl { margin: 0; display: grid; gap: 1.1rem; }
.contact dt { font-weight: 800; color: var(--magenta-dark); }
.contact dd { margin: 0.15rem 0 0; }
.form { display: grid; gap: 1rem; background: var(--white); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--radius-lg); }
.form label { display: grid; gap: 0.35rem; font-weight: 700; }
.status { font-weight: 700; margin: 0; }
.status:empty { display: none; }
.status.ok { color: #1d6b3a; }
.status.err { color: #b3261e; }

.cta-band { background: var(--orange-tint); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: center; padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); }
.cta-band h2 { margin: 0; flex: 1 1 16rem; }

/* ---------- Festival: editions as tabs ---------- */
.ed-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1.5rem 0 1rem; }
.ed-tabs button { display: grid; text-align: left; gap: 0.1rem; min-width: 7.5rem; padding: 0.8rem 1.1rem; border: 0; border-radius: var(--radius-lg); cursor: pointer; background: var(--white); color: var(--ink); transition: background-color var(--t-hover) ease, transform var(--t-ui) var(--ease-out), color var(--t-hover) ease; }
.ed-tabs button:hover { transform: translateY(-3px); }
.ed-tabs b { font: 850 var(--step-2) var(--font-display); font-stretch: 110%; line-height: 1; color: var(--orange-dark); }
.ed-tabs span { font-size: 0.92rem; font-weight: 700; }
.ed-tabs button[aria-selected="true"] { background: var(--orange); color: var(--ink); }
.ed-tabs button[aria-selected="true"] b { color: var(--ink); }
.ed-panel { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 52rem) { .ed-panel { grid-template-columns: 1fr 1fr; } }
.ed-panel[hidden] { display: none; }
.ed-panel .photo { aspect-ratio: 4 / 3; }
.ed-panel p { font-size: var(--step-1); }
.fest-logo { width: min(100%, 17rem); border-radius: var(--radius-lg); transition: transform 700ms var(--ease-expo); }
.fest-logo:hover { transform: rotate(-2deg) scale(1.03); }

/* Map of Sucre: municipalities are buttons */
.map { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 56rem) { .map { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; } }
.map__svg { width: 100%; height: auto; max-height: 78vh; background: var(--blue-tint); border-radius: var(--radius-lg); padding: 0.5rem; }
.muni { fill: var(--paper); stroke: #d3bfa2; stroke-width: 0.8; transition: fill var(--t-hover) ease; }
.muni--on { fill: var(--orange-tint); stroke: var(--orange); stroke-width: 1.4; cursor: pointer; }
.muni--on:hover, .muni--on:focus-visible { fill: #f6d56a; outline: none; }
.muni--on[aria-pressed="true"] { fill: var(--orange); }
.muni--guest { fill: #e8eef6; stroke: var(--navy); stroke-width: 1.2; cursor: pointer; }
.muni--guest:hover, .muni--guest:focus-visible { fill: #d4deec; outline: none; }
.muni--guest[aria-pressed="true"] { fill: var(--navy); stroke: var(--navy); }
.muni-label { font: 700 13px var(--font); fill: var(--ink); pointer-events: none; paint-order: stroke; stroke: rgb(255 255 255 / 0.85); stroke-width: 3px; }
.muni-ref { font: 600 12px var(--font); fill: var(--ink-soft); pointer-events: none; }
.sea-label { font: italic 600 14px var(--font); fill: #4f7aa3; }
.map__svg .scale line { stroke: var(--ink); stroke-width: 2; }
.map__svg .scale text { font: 600 11px var(--font); fill: var(--ink); }
.map__kicker { margin: 1.15rem 0 0.5rem; font: 700 0.8rem/1.2 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.map__kicker:first-child { margin-top: 0; }
.map__list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.map__list button { min-height: 44px; padding: 0 1rem; border: 0; border-radius: 999px; cursor: pointer; font: 700 0.95rem var(--font); background: var(--white); color: var(--blue-dark); transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.map__list button:hover { background: var(--blue-tint); }
.map__list button[aria-pressed="true"] { background: var(--blue); color: var(--white); }
.map__list button:active { transform: scale(0.96); }
.map__panel { background: var(--white); border-radius: var(--radius-lg); padding: 1.4rem; }
.map__panel h3 { margin: 0 0 0.4rem; }
.map__panel .gap { min-height: 9rem; margin-top: 0.75rem; }
.map__panel .video { margin-top: 0.75rem; }
.map__panel .video--short { max-width: 11rem; }
.map__panel .yt-card { margin-top: 0.55rem; }
.map__info { animation: none; }

/* Groups: cards that open, filtered by town */
.g-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 1.5rem; }
.g-filter button { min-height: 44px; padding: 0 1rem; border: 0; border-radius: 999px; cursor: pointer; font: 700 0.95rem var(--font); background: var(--paper); color: var(--ink); transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.g-filter button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.groups { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.groups li[hidden] { display: none; }
.g-card { width: 100%; height: 100%; text-align: left; border: 0; cursor: pointer; padding: 1.25rem 1.3rem; border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); display: grid; gap: 0.35rem; align-content: start; transition: background-color var(--t-hover) ease, transform var(--t-ui) var(--ease-out); }
.g-card:hover { transform: translateY(-4px); background: var(--white); }
.g-card .t { font: 800 var(--step-1) var(--font-display); line-height: 1.15; }
.g-card .who { font-weight: 700; color: var(--blue-dark); font-size: 0.95rem; }
.g-card .more { color: var(--magenta-dark); font-weight: 800; font-size: 0.9rem; }
.g-card .desc { display: none; margin: 0.35rem 0 0; }
.g-card[aria-expanded="true"] { background: var(--white); }
.g-card[aria-expanded="true"] .desc { display: block; }
.g-card[aria-expanded="true"] .more { display: none; }

/* Postcards and memory cards: a conveyor. The card in the middle, or under the pointer, grows. */
.stream { overflow: hidden; margin-top: 0.75rem; padding-block: 2.4rem; }
.stream__track { display: flex; gap: 1.4rem; width: max-content; align-items: center; will-change: transform; }
.stream figure {
  position: relative;
  width: clamp(12rem, 9rem + 10vw, 17rem); flex: none; cursor: zoom-in;
  transform: scale(0.86); transform-origin: center center;
  transition: transform 380ms var(--ease-out);
}
.stream--cards figure, .stream--postals figure { width: clamp(9rem, 7.2rem + 9vw, 13.5rem); }
.stream img { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; box-shadow: 0 10px 28px rgb(22 28 94 / 0.12); }
.stream--cards img, .stream--postals img { height: 18rem; object-fit: cover; object-position: top; background: var(--sand); }
.stream figure.is-center { transform: scale(1.18); z-index: 1; }
.stream figure:hover, .stream figure:focus-visible { transform: scale(1.28); z-index: 2; }
.stream__pause { margin-top: 0.15rem; }
.viewer { border: 0; padding: 0; background: transparent; max-width: min(92vw, 34rem); max-height: 92vh; overflow: visible; }
.viewer::backdrop { background: rgb(14 16 52 / 0.82); }
.viewer img { width: 100%; height: auto; max-height: 84vh; object-fit: contain; border-radius: var(--radius-lg); }
.viewer__close { margin: 0.75rem auto 0; display: flex; }
@media (prefers-reduced-motion: no-preference) { .viewer[open] img { animation: appear 420ms var(--ease-expo) both; } }

/* ---------- Shop: zoom lens, mini map, 3D turntable ---------- */
.shop-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.shop-item { scroll-margin-top: 6rem; }
.shop-item .lens { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: clip; background: var(--sand-2); cursor: zoom-in; touch-action: pan-y; }
.shop-item .lens img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-ui) var(--ease-out); transform-origin: var(--ox, 50%) var(--oy, 50%); }
.shop-item .lens.is-zoom img { transform: scale(2.2); }
.shop-item .gap { aspect-ratio: 4 / 5; min-height: 0; }
.shop-item h3 { font-size: var(--step-1); margin: 0.75rem 0 0.15rem; }
.shop-item .where { color: var(--blue-dark); font-weight: 700; font-size: 0.95rem; margin: 0; }
.shop-item .price { margin: 0.4rem 0 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.spin { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: clip; background: var(--sand-2); cursor: grab; touch-action: pan-y; }
.spin:active { cursor: grabbing; }
.spin img { width: 100%; height: 100%; object-fit: contain; }
.spin__hint { position: absolute; left: 0.75rem; bottom: 0.75rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: rgb(255 255 255 / 0.9); font-size: 0.85rem; font-weight: 700; }
.badge360 { display: block; margin-top: 0.5rem; font-size: var(--step--1); color: var(--ink-soft); }
.turn {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: clip;
  background: #16120e; cursor: grab; touch-action: none; outline: none;
}
.turn:active { cursor: grabbing; }
.turn:focus-visible { box-shadow: 0 0 0 3px var(--magenta); }
.turn canvas { display: block; width: 100%; height: 100%; }
.shop-still { margin: 0.7rem 0 0; }
.shop-still img { width: 42%; max-width: 7.5rem; height: auto; border-radius: 0.6rem; background: #111; }

.shop-stage { margin-top: 0.5rem; }
.shop-stage__nav { display: flex; gap: 0.4rem; margin-bottom: 0.75rem; }
.shop-arrow {
  width: 44px; height: 44px; border: 0; background: var(--orange); color: var(--ink); cursor: pointer;
  display: grid; place-items: center;
}
.shop-arrow svg { width: 1.2rem; height: 1.2rem; transform: rotate(180deg); }
.shop-arrow--next svg { transform: none; }
.shop-piece .where { color: var(--blue-dark); font-weight: 700; margin: 0; }
.shop-piece .price { margin: 0.35rem 0 0.6rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.shop-piece .soon { margin: 0.4rem 0 0.7rem; font-weight: 800; color: var(--magenta); }
.shop-photo { margin: 0 0 1rem; }
.shop-photo img { width: 100%; max-height: 26rem; object-fit: cover; object-position: center; border-radius: var(--radius-lg); background: var(--sand); }
.shop-photo--hammock img { object-position: center 58%; object-fit: cover; }

.cart-bridge { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: stretch; margin: 1.25rem 0 0; }
.cart-bridge .btn { flex: 1 1 14rem; justify-content: center; }
.cart-bridge__hint { margin: 0.7rem 0 0; }
.cart-page { max-width: 46rem; }
.cart-list { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 0; }
.cart-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 0.8rem; align-items: center; padding: 0.9rem 0; box-shadow: inset 0 -2px 0 var(--orange-tint); }
.cart-list button { border: 0; background: none; cursor: pointer; font: 700 0.9rem var(--font); color: var(--orange-dark); }
.cart-total { font: 800 var(--step-1) var(--font-display); }
.cart-keep { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.cart-empty { display: grid; gap: 1rem; }
#cart-empty[hidden], #cart-full[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--navy-ink); padding-block: 3.5rem 2rem; font-size: 0.96rem; }
.site-footer a { color: var(--white); }
.site-footer .cols { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.site-footer h2 { color: var(--white); font-size: var(--step-0); font-weight: 800; margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer .brandline { display: flex; gap: 0.75rem; align-items: center; color: var(--white); font-weight: 800; margin-bottom: 0.75rem; }
.footer-logo { background: var(--white); border-radius: 50%; padding: 4px; width: 56px; height: 56px; }
.site-footer .legal { margin-top: 2.5rem; padding-top: 1.25rem; font-size: var(--step--1); display: grid; gap: 0.3rem; color: var(--navy-ink); }
.site-footer .legal p { margin: 0; }
.site-footer .wordmark { font: 850 clamp(2rem, 1rem + 5vw, 5.5rem)/1 var(--font-display); font-stretch: 115%; color: var(--white); letter-spacing: -0.02em; margin: 2.5rem 0 0; text-transform: uppercase; }
.social { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / 0.1); color: var(--white); transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.social a:hover { background: rgb(255 255 255 / 0.22); transform: translateY(-2px); }
.social svg { width: 1.2rem; height: 1.2rem; }

.cookie { position: fixed; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 40; max-width: 34rem; background: var(--white); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--float); padding: 0.6rem 0.6rem 0.6rem 1rem; display: flex; gap: 0.75rem; align-items: center; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: 0.88rem; line-height: 1.35; flex: 1; }
.cookie .btn { min-height: 44px; padding: 0.4em 1em; flex: none; }

/* ---------- Motion layer (content stays visible without JS or with reduced motion) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes appear { from { opacity: 0; transform: translateY(16px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes stream { to { transform: translateX(calc(-100% / 3)); } }

@media (prefers-reduced-motion: no-preference) {
  html.js .hero h1 { animation: rise 800ms var(--ease-expo) both; }
  html.js .hero p, html.js .hero__actions { animation: rise 800ms var(--ease-expo) both; animation-delay: 520ms; }
  html.js .hero__actions { animation-delay: 640ms; }
  .hero__media img, .page-hero__media img { animation: drift 9s var(--ease-soft) both; }

  html.js [data-reveal] > * { opacity: 0; transform: translateY(26px); }
  html.js [data-reveal].is-in > * { animation: rise var(--t-reveal) var(--ease-expo) both; animation-delay: calc(var(--n, 0) * 80ms); }
  html.js .step.is-new, html.js .map__info.is-new, html.js .ed-panel.is-new, html.js .chrono__panel.is-new, html.js .profile.is-new, html.js .tr__list.is-new, html.js .team.is-open .team__panel, html.js .board__bio.is-new { animation: appear 520ms var(--ease-expo) both; }

  html.js .stream.is-running .stream__track { animation: stream var(--dur, 36s) linear infinite; }
  html.js .stream.is-running:has(figure:hover) .stream__track,
  html.js .stream.is-running:focus-within .stream__track,
  html.js .stream.is-paused .stream__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .stream { overflow-x: auto; }
  .stream__pause { display: none; }
  .photo.js-view img, .team__sky, .team.is-open .team__sky { clip-path: none; transform: none; }
}
@media print { .site-header, .subnav, .cta-band, .site-footer .social, .cookie { display: none; } body { background: #fff; } }
