/* ==========================================================================
   ALANY — American Latin Association of New York / BOOM Program
   Type:    Poppins (headings) · Roboto (body)
   Palette: deep navy + warm gold + coral on warm sand — no flat white,
            no hairline borders on cards (elevation and colour do the work)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-950: #071a2b;
  --navy-900: #0c2739;
  --navy-800: #123a56;
  --navy-700: #1b5378;

  --gold-600: #b9700f;
  --gold-500: #e9902d;
  --gold-400: #f5ae4f;
  --gold-200: #fbdcae;
  --gold-100: #fdefd8;

  --coral-600: #b53f1c;
  --coral-500: #d6512c;
  --coral-200: #f6c4b2;

  /* warm, tinted surfaces — deliberately never #fff */
  --sand-100: #fbf5ec;
  --sand-200: #f5ebdd;
  --sand-300: #eddfcb;
  --paper: #fffdf9;

  --ink: #1d2b36;
  --ink-soft: #4a5b68;
  --ink-mute: #74838f;

  --shadow-xs: 0 2px 6px rgba(12, 39, 57, .06);
  --shadow-sm: 0 4px 14px rgba(12, 39, 57, .08);
  --shadow-md: 0 10px 30px rgba(12, 39, 57, .11);
  --shadow-lg: 0 24px 60px rgba(12, 39, 57, .16);
  --shadow-gold: 0 14px 34px rgba(233, 144, 45, .28);

  --font-display: "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Roboto", "Segoe UI", system-ui, Helvetica, Arial, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;

  --wrap: 1180px;
  --wrap-narrow: 720px;
  --gutter: clamp(1.15rem, 4.5vw, 3.5rem);
  --nav-h: 74px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--sand-100);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img, picture, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 999;
  background: var(--navy-900); color: #fff;
  padding: .7rem 1.1rem; border-radius: var(--r-sm); font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: 3px; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold-500), var(--coral-500));
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.018em;
  color: var(--navy-900);
  text-wrap: balance;
}

.h-hero { font-size: clamp(1.95rem, 3.2vw, 3rem); line-height: 1.14; letter-spacing: -.025em; font-weight: 700; }
.h-1    { font-size: clamp(1.6rem, 2.5vw, 2.35rem); font-weight: 600; }
.h-2    { font-size: clamp(1.3rem, 1.8vw, 1.7rem); }
.h-3    { font-size: clamp(1.08rem, 1.15vw, 1.22rem); line-height: 1.35; font-weight: 600; }

.lead { font-size: clamp(1.02rem, .35vw + .95rem, 1.14rem); line-height: 1.72; color: var(--ink-soft); text-wrap: pretty; }
p { text-wrap: pretty; }
p + p { margin-top: .95em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; flex: none; background: var(--gold-500); border-radius: 2px; }
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--gold-400); }
.eyebrow--light::before { background: var(--gold-400); }

.quiet { color: var(--ink-mute); }
.small { font-size: .92rem; }
.tiny  { font-size: .8rem; }

/* word-by-word heading reveal */
.word {
  display: inline-block; overflow: hidden; vertical-align: top;
  /* room for the accent underline, which overflow:hidden would otherwise clip */
  padding-bottom: .14em; margin-bottom: -.14em;
}
.word > i { display: inline-block; font-style: inherit; will-change: transform; }
.word > i.is-accent {
  color: var(--coral-500);
  background-image: linear-gradient(to top, var(--gold-400) 0 .1em, transparent .1em);
}
.no-anim .word > i { transform: none !important; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--sand2 { background: var(--sand-200); }
.section--sand3 { background: var(--sand-300); }
.section--paper { background: var(--paper); }
.section--cream2 { background: var(--sand-200); }   /* legacy alias */
.section--navy {
  background:
    radial-gradient(60ch 40ch at 88% 0%, rgba(233,144,45,.16) 0%, transparent 60%),
    radial-gradient(50ch 40ch at 5% 100%, rgba(27,83,120,.55) 0%, transparent 60%),
    var(--navy-900);
  color: #d8e5ef;
}
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy .lead, .section--navy p { color: #aec5d6; }

.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: .9rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy-900);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 500; font-size: .95rem;
  padding: .82rem 1.5rem;
  border: 0; border-radius: 100px;
  text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s ease, color .25s ease;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(-1px); }
.btn .arw { transition: transform .35s var(--ease-out); }
.btn:hover .arw { transform: translateX(5px); }

.btn--gold { --btn-bg: var(--gold-500); --btn-fg: #2a1a05; box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: var(--gold-400); }
.btn--coral { --btn-bg: var(--coral-500); --btn-fg: #fff; }
.btn--ghost { --btn-bg: rgba(12,39,57,.06); --btn-fg: var(--navy-900); box-shadow: none; }
.btn--ghost:hover { background: rgba(12,39,57,.11); box-shadow: none; transform: translateY(-3px); }
.btn--light { --btn-bg: rgba(255,255,255,.14); --btn-fg: #fff; box-shadow: none; }
.btn--light:hover { background: #fff; --btn-fg: var(--navy-900); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }

.textlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-weight: 500; font-size: .93rem;
  color: var(--gold-600); text-decoration: none;
  transition: gap .3s var(--ease-out), color .25s ease;
}
.textlink:hover { color: var(--coral-500); gap: .7rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 150;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.nav.is-stuck, .nav.is-solid {
  background: rgba(251, 245, 236, .88);
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  box-shadow: 0 1px 26px rgba(12, 39, 57, .09);
}
.nav__inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: auto; height: 38px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--navy-900); letter-spacing: -.01em; }
.brand__sub { font-size: .61rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }

.nav__links { display: flex; align-items: center; gap: .2rem; list-style: none; padding: 0; }
.nav__links a {
  position: relative; display: block; padding: .5rem .85rem;
  font-family: var(--font-display); font-size: .9rem; font-weight: 500;
  color: var(--ink); text-decoration: none; border-radius: 100px;
  transition: color .25s ease, background-color .25s ease;
}
.nav__links a:hover { color: var(--navy-900); background: rgba(12,39,57,.06); }
.nav__links a.is-active { color: var(--gold-600); background: var(--gold-100); }
.nav__cta { margin-left: .5rem; padding: .6rem 1.15rem !important; }
.nav__links a.nav__cta.is-active { background: var(--gold-500); }

.nav__toggle {
  display: none; width: 42px; height: 42px;
  background: rgba(12,39,57,.06); border: 0; border-radius: 100px;
  cursor: pointer; padding: 0; place-items: center;
}
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--navy-900); position: relative; border-radius: 2px; transition: background-color .2s; }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy-900); border-radius: 2px;
  transition: transform .3s var(--ease-out);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__toggle { display: grid; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--sand-100); padding: .8rem var(--gutter) 1.4rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: opacity .28s ease, transform .28s var(--ease-out);
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: .85rem 1rem; font-size: 1.02rem; }
  .nav__cta { margin: .6rem 0 0; justify-content: center; padding: .85rem 1.2rem !important; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 3.8rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(46ch 34ch at 8% 0%, var(--gold-100) 0%, transparent 62%),
    radial-gradient(40ch 34ch at 100% 24%, #e2eef6 0%, transparent 60%),
    var(--sand-100);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 mark {
  background: none; color: var(--coral-500); position: relative; padding: 0;
}
.hero h1 mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: .1em;
  background: var(--gold-400); border-radius: 4px;
  transform: scaleX(0); transform-origin: left;
}
.no-anim .hero h1 mark::after { transform: none; }
.hero .lead { max-width: 52ch; }

.hero__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.hero__meta span {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(12,39,57,.05); color: var(--ink-soft);
  font-size: .82rem; font-weight: 500; padding: .4rem .85rem; border-radius: 100px;
}
.hero__meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }

.hero__art { position: relative; }
.hero__art .a { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4; }
.hero__art .a img { width: 100%; height: 100%; object-fit: cover; }
.hero__art .b {
  position: absolute; left: -10%; bottom: -10%; width: 44%; aspect-ratio: 1/1;
  margin: 0; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-lg); outline: 7px solid var(--sand-100);
}
.hero__art .b img { width: 100%; height: 100%; object-fit: cover; }
.hero__art::before {
  content: ""; position: absolute; right: -6%; top: -6%; width: 46%; aspect-ratio: 1/1;
  background: var(--gold-400); opacity: .3; border-radius: var(--r-lg);
}
.hero__badge {
  position: absolute; right: -3%; bottom: 10%;
  background: var(--navy-900); color: #fff;
  border-radius: var(--r-md); padding: .9rem 1.15rem; text-align: center;
  box-shadow: var(--shadow-lg);
}
.hero__badge b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; line-height: 1; color: var(--gold-400); }
.hero__badge span { font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #a3bdd0; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 440px; margin: 1.5rem auto 0; }
  .hero__badge { right: 0; bottom: -6%; }
}
@media (max-width: 520px) {
  .hero__art .b, .hero__badge, .hero__art::before { display: none; }
}

/* ---------- Marquee (horizontal motion) ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee + .marquee { margin-top: .9rem; }
.marquee__track { display: flex; width: max-content; gap: .9rem; will-change: transform; }
.marquee__item {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--paper); color: var(--navy-800);
  font-family: var(--font-display); font-weight: 500; font-size: .92rem;
  white-space: nowrap; padding: .8rem 1.4rem; border-radius: 100px;
  box-shadow: var(--shadow-xs);
}
.marquee__item::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); flex: none; }
.section--navy .marquee__item { background: rgba(255,255,255,.08); color: #e2edf5; box-shadow: none; }
.section--navy .marquee__item::before { background: var(--gold-400); }

/* ---------- Horizontal scroll rail ---------- */
.hrail { position: relative; overflow: hidden; }
.hrail__track { display: flex; gap: clamp(.9rem, 1.6vw, 1.4rem); padding-inline: var(--gutter); will-change: transform; }
.hrail__card {
  position: relative; flex: none;
  width: clamp(230px, 26vw, 340px); aspect-ratio: 4/5;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: zoom-in; border: 0; padding: 0; background: var(--sand-300);
  display: block; text-align: left;
}
.hrail__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.hrail__card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,26,43,.86) 0%, rgba(7,26,43,.15) 48%, transparent 72%);
}
.hrail__card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.1rem 1.2rem; color: #fff;
}
.hrail__card figcaption b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.hrail__card figcaption span { font-size: .82rem; color: #c8d8e4; }
.hrail__card:hover img { transform: scale(1.07); }
.hrail__hint {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 1.4rem;
}
.hrail__hint svg { width: 18px; height: 18px; animation: nudge 1.9s var(--ease-out) infinite; }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
/* without JS pinning (small screens / no GSAP) it degrades to a swipe rail */
.hrail--native .hrail__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.hrail--native .hrail__card { scroll-snap-align: center; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
.split--rev .split__art { order: 2; }
.split__art { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split__art img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__art--framed::after { content: none; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split__art { order: 0; } }

/* parallax wrapper: image is oversized so it can drift without gaps */
.para { overflow: hidden; }
.para img { will-change: transform; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 1.6vw, 1.4rem); }
.stat {
  background: rgba(255,255,255,.07);
  border-radius: var(--r-md); padding: clamp(1.4rem, 2.6vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  text-align: center;
}
.section--sand2 .stat, .section--paper .stat, .section--sand3 .stat { background: var(--paper); box-shadow: var(--shadow-xs); }
.stat__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1;
  color: var(--gold-400); letter-spacing: -.03em;
  display: flex; align-items: baseline; justify-content: center; gap: .02em;
}
.section--sand2 .stat__num, .section--paper .stat__num, .section--sand3 .stat__num { color: var(--navy-800); }
.stat__num .suffix { font-size: .6em; color: var(--gold-500); }
.stat__label { margin-top: .6rem; font-size: .88rem; font-weight: 400; line-height: 1.45; color: #aec5d6; }
.section--sand2 .stat__label, .section--paper .stat__label, .section--sand3 .stat__label { color: var(--ink-soft); }
.stat__note { margin-top: .35rem; font-size: .76rem; color: #7d97ac; }
.section--sand2 .stat__note, .section--paper .stat__note, .section--sand3 .stat__note { color: var(--ink-mute); }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Photo cards (no borders) ---------- */
.pcard {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-lg); min-height: 400px;
  color: #fff; text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: #fff; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.pcard:hover img { transform: scale(1.08); }
.pcard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,26,43,.94) 4%, rgba(7,26,43,.62) 42%, rgba(7,26,43,.12) 78%);
}
.pcard__body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.3rem, 2.4vw, 1.9rem); }
.pcard__body h3 { color: #fff; margin-bottom: .55rem; }
.pcard__body p { font-size: .93rem; color: #c6d7e4; line-height: 1.6; }
.pcard__tag {
  align-self: flex-start;
  font-family: var(--font-display); font-size: .68rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  background: var(--gold-500); color: #2a1a05;
  padding: .32rem .7rem; border-radius: 100px; margin-bottom: .9rem;
}
.pcard__more { margin-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: var(--gold-400); }
.pcard:hover .pcard__more { gap: .7rem; }
.pcard__more svg { transition: transform .35s var(--ease-out); }
.pcard:hover .pcard__more svg { transform: translateX(4px); }

/* legacy card (used by other pages) — borders removed */
.card {
  background: var(--paper); border: 0; border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.card__media { overflow: hidden; aspect-ratio: 3/2; background: var(--sand-300); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.07); }
.card__body { padding: clamp(1.2rem, 2.2vw, 1.7rem); display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .55rem; }
.card__body p { font-size: .95rem; color: var(--ink-soft); }
.card__body .textlink { margin-top: auto; padding-top: 1.1rem; align-self: flex-start; }
.card__tag {
  display: inline-block; align-self: flex-start;
  font-family: var(--font-display); font-size: .68rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold-600); background: var(--gold-100);
  padding: .3rem .65rem; border-radius: 100px; margin-bottom: .8rem;
}

/* ---------- Colour blocks (replaces bordered pillars) ---------- */
.block {
  border-radius: var(--r-lg); padding: clamp(1.4rem, 2.6vw, 2rem);
  background: var(--paper); box-shadow: var(--shadow-xs);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.block:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.block__n {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 14px; margin-bottom: 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  background: var(--gold-100); color: var(--gold-600);
}
.block h3 { margin-bottom: .55rem; }
.block p { font-size: .95rem; color: var(--ink-soft); }
.block--navy { background: var(--navy-900); }
.block--navy h3 { color: #fff; }
.block--navy p { color: #aec5d6; }
.block--navy .block__n { background: rgba(233,144,45,.2); color: var(--gold-400); }
.block--gold { background: var(--gold-500); }
.block--gold h3 { color: #2a1a05; }
.block--gold p { color: #5a3c10; }
.block--gold .block__n { background: rgba(255,255,255,.4); color: #7a4f0c; }
.block--coral { background: var(--coral-500); }
.block--coral h3 { color: #fff; }
.block--coral p { color: #ffe0d6; }
.block--coral .block__n { background: rgba(255,255,255,.24); color: #fff; }

/* legacy pillar — borders removed */
.pillar { background: var(--paper); border: 0; border-radius: var(--r-lg); padding: clamp(1.4rem, 2.6vw, 2rem); box-shadow: var(--shadow-xs); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar__n { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: var(--gold-500); display: block; margin-bottom: .7rem; }
.pillar h3 { margin-bottom: .6rem; }
.pillar ul { margin: .9rem 0 0; padding-left: 0; list-style: none; }
.pillar li { position: relative; padding-left: 1.3rem; margin-bottom: .45rem; font-size: .93rem; color: var(--ink-soft); line-height: 1.55; }
.pillar li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }

/* ---------- Feature list ---------- */
.flist { list-style: none; padding: 0; display: grid; gap: .95rem; }
.flist li { position: relative; padding-left: 2rem; color: var(--ink-soft); font-size: .98rem; }
.flist li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--gold-100);
}
.flist li::after {
  content: ""; position: absolute; left: .4rem; top: .62em;
  width: .38rem; height: .2rem;
  border-left: 2px solid var(--gold-600); border-bottom: 2px solid var(--gold-600);
  transform: rotate(-45deg);
}
.flist strong { color: var(--navy-900); font-weight: 500; }
.section--navy .flist li { color: #aec5d6; }
.section--navy .flist li::before { background: rgba(233,144,45,.2); }
.section--navy .flist li::after { border-color: var(--gold-400); }
.section--navy .flist strong { color: #fff; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: .8rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 2.4vw, 1.8rem);
  background: var(--paper); border-radius: var(--r-md);
  padding: clamp(1.1rem, 2.2vw, 1.6rem); border: 0;
  box-shadow: var(--shadow-xs);
}
.section--navy .step { background: rgba(255,255,255,.06); box-shadow: none; }
.step:first-child { border-top: 0; }
.step__n {
  counter-increment: step;
  font-family: var(--font-display); font-size: .95rem; font-weight: 700;
  width: 2.6rem; height: 2.6rem; flex: none;
  display: grid; place-items: center; border: 0; border-radius: 14px;
  color: var(--gold-600); background: var(--gold-100);
}
.section--navy .step__n { background: rgba(233,144,45,.18); color: var(--gold-400); }
.step__n::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: .35rem; }
.step p { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Partners (legacy grid — borders removed) ---------- */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: .7rem; background: none; border: 0; }
.partner {
  background: var(--paper); border-radius: var(--r-sm); padding: 1rem 1.2rem;
  font-size: .92rem; font-weight: 500; color: var(--navy-800); line-height: 1.4;
  display: flex; align-items: center; min-height: 74px; box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease-out), color .3s ease;
}
.partner:hover { transform: translateY(-4px); color: var(--gold-600); }

/* ---------- Awards ---------- */
.award {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start;
  background: var(--paper); border: 0; border-radius: var(--r-lg);
  padding: clamp(1.3rem, 2.6vw, 1.9rem); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.award:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.award__seal { width: 58px; height: 58px; object-fit: contain; flex: none; }
.award h3 { margin-bottom: .3rem; }
.award__meta { font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .11em; color: var(--gold-600); text-transform: uppercase; margin-bottom: .6rem; }
.award p { font-size: .94rem; color: var(--ink-soft); }
.award dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem .9rem; margin-top: .9rem; font-size: .87rem; }
.award dt { font-weight: 500; color: var(--navy-900); }
.award dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 560px) { .award { grid-template-columns: 1fr; } }

/* ---------- Gallery (legacy grid, used by programs page) ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.6rem, 1.2vw, 1rem); }
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  aspect-ratio: 3/2; background: var(--sand-300);
  border: 0; padding: 0; cursor: zoom-in; display: block; box-shadow: var(--shadow-xs);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,26,43,.65), rgba(7,26,43,0) 58%); opacity: 0; transition: opacity .4s ease; }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: .85rem 1rem; color: #fff; font-size: .84rem; font-weight: 500; text-align: left; line-height: 1.35; transform: translateY(8px); opacity: 0; transition: opacity .4s ease, transform .4s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__item:hover figcaption, .gallery__item:focus-visible figcaption { opacity: 1; transform: none; }
.gallery__item--wide { grid-column: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } .gallery__item--wide { grid-column: span 1; } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(5, 18, 30, .95); padding: clamp(1rem, 4vw, 3rem); opacity: 0; visibility: hidden; transition: opacity .32s ease, visibility .32s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__fig { margin: 0; max-width: min(1100px, 92vw); max-height: 86vh; display: flex; flex-direction: column; gap: .85rem; }
.lb__img { max-width: 100%; max-height: 76vh; width: auto; margin-inline: auto; object-fit: contain; border-radius: var(--r-md); box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: scale(.94); opacity: 0; transition: transform .38s var(--ease-out), opacity .38s ease; }
.lb.is-open .lb__img { transform: scale(1); opacity: 1; }
.lb__cap { color: #cfdde8; font-size: .93rem; text-align: center; line-height: 1.5; }
.lb__cap b { color: #fff; display: block; font-family: var(--font-display); font-weight: 500; }
.lb__count { color: #7d97ac; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.lb__btn { position: absolute; z-index: 3; width: 46px; height: 46px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 0; border-radius: 50%; color: #fff; cursor: pointer; transition: background-color .25s ease, transform .25s var(--ease-out); }
.lb__btn:hover { background: rgba(255,255,255,.24); transform: scale(1.08); }
.lb__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lb__prev { left: clamp(.5rem, 2vw, 2rem); top: 50%; margin-top: -23px; }
.lb__next { right: clamp(.5rem, 2vw, 2rem); top: 50%; margin-top: -23px; }
.lb__btn svg { width: 20px; height: 20px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--navy-950); color: #d8e5ef; padding-block: clamp(3rem, 6vw, 5rem); }
.cta::before { content: ""; position: absolute; inset: -8% 0; background-image: var(--cta-img); background-size: cover; background-position: center 34%; opacity: .22; will-change: transform; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(7,26,43,.95) 22%, rgba(7,26,43,.62) 100%); }
.cta > * { position: relative; z-index: 2; }
.cta h2 { color: #fff; }
.cta p { color: #b6cbdb; margin-top: .9rem; }
.cta__grid { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
.cta__box { background: rgba(255,255,255,.08); border-radius: var(--r-lg); padding: clamp(1.3rem, 2.6vw, 1.9rem); backdrop-filter: blur(8px); }
.cta__box h3 { color: #fff; font-size: 1.08rem; margin-bottom: .8rem; }
.cta__box ul { list-style: none; padding: 0; display: grid; gap: .55rem; font-size: .93rem; color: #b6cbdb; }
.cta__box li { display: flex; gap: .6rem; align-items: flex-start; }
.cta__box li::before { content: "→"; color: var(--gold-400); flex: none; }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } }

/* ---------- Quote ---------- */
.quote { background: var(--paper); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); margin-block: clamp(1.6rem, 3.5vw, 2.5rem); box-shadow: var(--shadow-xs); position: relative; }
.quote::before { content: "”"; position: absolute; top: -.15em; left: .5rem; font-family: var(--font-display); font-size: 5rem; color: var(--gold-200); line-height: 1; }
.quote p { position: relative; font-family: var(--font-display); font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--navy-900); font-weight: 500; }
.quote cite { display: block; margin-top: .9rem; font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-600); }
.section--navy .quote { background: rgba(255,255,255,.07); }
.section--navy .quote p { color: #fff; }
.section--navy .quote::before { color: rgba(233,144,45,.35); }

/* ---------- Contact (other page) ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.infocard { background: var(--paper); border: 0; border-radius: var(--r-lg); padding: clamp(1.4rem, 2.8vw, 2rem); box-shadow: var(--shadow-xs); }
.infocard + .infocard { margin-top: 1rem; }
.infocard h3 { font-size: 1.06rem; margin-bottom: 1rem; }
.infoline { display: grid; grid-template-columns: 24px 1fr; gap: .85rem; align-items: start; padding-block: .6rem; }
.infoline + .infoline { border-top: 1px solid var(--sand-300); }
.infoline svg { width: 19px; height: 19px; color: var(--gold-600); margin-top: .25rem; }
.infoline dt { font-family: var(--font-display); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.infoline dd { margin: .15rem 0 0; font-size: .97rem; color: var(--ink); line-height: 1.5; }
.infoline dd a { color: var(--navy-800); font-weight: 500; text-decoration: none; }
.infoline dd a:hover { color: var(--gold-600); }

.form { background: var(--paper); border: 0; border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-family: var(--font-display); font-size: .78rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .4rem; }
.field label .req { color: var(--coral-600); }
.field input, .field select, .field textarea { width: 100%; padding: .78rem .95rem; background: var(--sand-100); color: var(--ink); border: 0; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px rgba(12,39,57,.08); transition: box-shadow .25s ease, background-color .25s ease; }
.field textarea { min-height: 142px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2374838f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--paper); box-shadow: inset 0 0 0 2px var(--gold-500); }
.field.has-error input, .field.has-error select, .field.has-error textarea { box-shadow: inset 0 0 0 2px var(--coral-500); }
.field__err { display: none; margin-top: .3rem; font-size: .84rem; color: var(--coral-600); font-weight: 500; }
.field.has-error .field__err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form__note { font-size: .84rem; color: var(--ink-mute); margin-top: .9rem; line-height: 1.5; }
.form__ok { display: none; align-items: flex-start; gap: .8rem; background: var(--gold-100); border-radius: var(--r-md); padding: 1rem 1.15rem; margin-bottom: 1.3rem; font-size: .94rem; color: var(--navy-900); }
.form__ok.is-shown { display: flex; }
.form__ok svg { width: 21px; height: 21px; color: var(--gold-600); flex: none; margin-top: .15rem; }

.map { position: relative; border: 0; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(rgba(251,245,236,.6), rgba(251,245,236,.6)), repeating-linear-gradient(0deg, var(--sand-300) 0 1px, transparent 1px 46px), repeating-linear-gradient(90deg, var(--sand-300) 0 1px, transparent 1px 46px), var(--sand-200); aspect-ratio: 16/9; display: grid; place-items: center; text-align: center; padding: 1.5rem; box-shadow: var(--shadow-xs); }
.map__road { position: absolute; background: var(--sand-300); }
.map__road.r1 { left: 0; right: 0; top: 42%; height: 10px; }
.map__road.r2 { top: 0; bottom: 0; left: 63%; width: 10px; }
.map__pin { position: relative; z-index: 2; }
.map__pin b { display: block; font-family: var(--font-display); font-size: 1.02rem; color: var(--navy-900); }
.map__dot { width: 18px; height: 18px; border-radius: 50%; margin: 0 auto .6rem; background: var(--gold-500); box-shadow: 0 0 0 6px rgba(233,144,45,.24), 0 0 0 14px rgba(233,144,45,.11); }

/* ---------- Page hero (other pages) ---------- */
.pagehero { position: relative; padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 3.5rem)); padding-bottom: clamp(2rem, 5vw, 3.5rem); background: radial-gradient(50ch 34ch at 88% 0%, var(--gold-100) 0%, transparent 62%), var(--sand-200); }
.pagehero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.8rem, 4vw, 3rem); align-items: center; }
.pagehero__art { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.pagehero__art img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .pagehero__grid { grid-template-columns: 1fr; } }
.crumbs { font-size: .83rem; color: var(--ink-mute); margin-bottom: .9rem; }
.crumbs a { color: var(--ink-mute); text-decoration: none; }
.crumbs a:hover { color: var(--gold-600); }
.crumbs span { opacity: .55; margin-inline: .4rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #9db5c8; padding-block: clamp(2.8rem, 5vw, 4rem) 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(1.6rem, 3.5vw, 2.8rem); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; font-size: .92rem; }
.footer a { color: #9db5c8; text-decoration: none; transition: color .25s ease; }
.footer a:hover { color: var(--gold-400); }
.footer__brand img { height: 42px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .95; }
.footer__brand p { font-size: .92rem; line-height: 1.65; max-width: 34ch; }
.footer__tag { display: inline-block; margin-top: 1rem; font-family: var(--font-display); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-400); background: rgba(233,144,45,.14); border-radius: 100px; padding: .4rem .85rem; }
.footer__bar { margin-top: clamp(2.2rem, 4vw, 3rem); padding-block: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; justify-content: space-between; font-size: .83rem; color: #74909f; }

/* ---------- Reveal state ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); }
[data-reveal-x] { opacity: 0; transform: translateX(var(--rx, -28px)); }
.no-anim [data-reveal], .no-anim [data-reveal-x] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], [data-reveal-x] { opacity: 1 !important; transform: none !important; }
  .hrail__hint svg { animation: none; }
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ==========================================================================
   LANGUAGE SWITCHER  (EN / ES)
   ========================================================================== */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.07);
}
.lang__a {
  display: block;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  font-family: var(--font-display, inherit);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  color: inherit;
  opacity: 0.72;
  transition: opacity 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.lang__a:hover {
  opacity: 1;
}
.lang__a.is-on {
  background: #14213d;
  color: #fff;
  opacity: 1;
}
.nav__links > li.lang > a::after {
  display: none;
}
/* On desktop the switcher lives inside the nav list; the mobile copy that
   sits out in the bar next to the toggle stays hidden. */
.lang--m {
  display: none;
}

@media (max-width: 940px) {
  /* the menu no longer carries the switcher — it sits in the bar itself,
     right beside the toggle, so a language change costs no taps */
  .nav__links > li.lang {
    display: none;
  }
  .nav__inner {
    gap: 0.6rem;
  }
  .lang--m {
    display: inline-flex;
    margin-left: auto;
    flex: 0 0 auto;
  }
  .lang__a {
    font-size: 0.78rem;
    padding: 0.42rem 0.78rem;
  }
}
