/* SABAL University — Miami Deco
   Navy field from a fixed stepped ramp, gold on edges, Streamline façade lettering. */

@font-face {
  font-family: 'Big Shoulders Display';
  src: url('../fonts/big-shoulders-display.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/hanken-grotesk.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Navy ramp — every navy on the site is one of these steps */
  --n-1000: #030a1a;
  --n-950: #051128;
  --n-900: #08193b;
  --n-850: #0b2350;
  --n-800: #0d2d62;
  --n-700: #173f80;
  --n-600: #2a569c;
  --n-400: #6f8cc0;
  --n-300: #a3b6da;
  --n-200: #cbd6ea;
  --n-100: #e7edf6;

  --gold: #ffb500;
  --gold-hi: #ffd36b;
  --gold-ink: #8a5a00;          /* gold that passes contrast on light grounds */
  --gold-line: rgba(255, 181, 0, .55);

  --stone: #f4f1ea;             /* limestone reading ground */
  --stone-2: #ebe5d8;
  --white: #fff;
  --ink: #0b1a33;
  --ink-2: #3c4a62;
  --ink-3: #5d6a80;
  --line: #d9dfe9;
  --line-dark: rgba(163, 182, 218, .18);

  /* School tones — quiet identifiers, derived once, used everywhere a school appears */
  --tone-business: #6e8fc9;
  --tone-systems: #4f9c92;
  --tone-education: #9a86b8;

  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --text: 'Hanken Grotesk', system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --step: clamp(4.5rem, 9vw, 8.5rem);   /* vertical section rhythm */
  --radius: 2px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 18px 40px -18px rgba(5, 17, 40, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--n-950); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
html { scrollbar-color: var(--n-600) var(--n-100); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--n-100); }
::-webkit-scrollbar-thumb { background: var(--n-600); border: 3px solid var(--n-100); border-radius: 10px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--gold); color: var(--n-950); padding: .7rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3, .display {
  font-family: var(--display); font-weight: 800; line-height: .96; letter-spacing: .005em;
  text-transform: uppercase; margin: 0; text-wrap: balance;
}
h1 { font-size: clamp(3.1rem, 8.4vw, 6rem); }
h2 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1; }
h4 { font-family: var(--text); font-size: 1.05rem; font-weight: 700; margin: 0; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.12rem, 1.6vw, 1.32rem); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.measure { max-width: 68ch; }
.gold { color: var(--gold); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--gold); --b-fg: var(--n-950);
  display: inline-flex; align-items: center; gap: .65rem; min-height: 52px; padding: .85rem 1.6rem;
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bg);
  font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; position: relative; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { --b-bg: var(--gold-hi); }
.btn:active { transform: translateY(1px); }
.btn--line { --b-bg: transparent; --b-fg: var(--white); border-color: var(--line-dark); }
.btn--line:hover { --b-bg: transparent; border-color: var(--gold); color: var(--gold); }
.btn--navy { --b-bg: var(--n-800); --b-fg: var(--white); }
.btn--navy:hover { --b-bg: var(--n-700); }
.btn--ghost-dark { --b-bg: transparent; --b-fg: var(--n-800); border-color: var(--n-300); }
.btn--ghost-dark:hover { --b-bg: transparent; border-color: var(--n-800); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Utility bar + header ---------- */
.utility { background: var(--n-1000); color: var(--n-300); font-size: .82rem; }
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.utility nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.utility a { text-decoration: none; transition: color .2s; }
.utility a:hover { color: var(--gold); }
.lang { display: flex; align-items: center; border: 1px solid var(--line-dark); }
.lang a { padding: .18rem .6rem; font-weight: 700; letter-spacing: .06em; }
.lang a[aria-current="true"] { background: var(--gold); color: var(--n-950); }

.header { position: sticky; top: 0; z-index: 100; background: var(--n-950); color: var(--white); border-bottom: 1px solid var(--line-dark); transition: background .4s; }
.header.is-scrolled { background: rgba(5, 17, 40, .94); backdrop-filter: saturate(140%) blur(12px); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.brand { display: block; flex: none; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: .35rem; padding: .55rem .85rem; background: none; border: 0; cursor: pointer;
  font-family: var(--display); font-size: 1.1rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--n-200); text-decoration: none; position: relative; transition: color .25s;
}
.nav__link svg { width: 11px; height: 11px; transition: transform .3s var(--ease); }
.nav__link::after {
  content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav__link:hover, .nav__item.is-open > .nav__link, .nav__link[aria-current="page"] { color: var(--white); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
.nav .btn { margin-left: .8rem; min-height: 46px; padding: .6rem 1.2rem; font-size: 1rem; }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0; width: max-content; max-width: min(92vw, 860px);
  background: var(--n-900); border: 1px solid var(--gold-line); padding: 1.6rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.mega::before { content: ''; position: absolute; inset: 5px; border: 1px solid var(--line-dark); pointer-events: none; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(190px, 1fr)); gap: 1.6rem 2rem; position: relative; }
.mega h4 { font-family: var(--display); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; font-weight: 700; }
.mega a { display: block; padding: .32rem 0; color: var(--n-200); text-decoration: none; font-size: .95rem; line-height: 1.35; transition: color .2s, translate .3s var(--ease); }
.mega a:hover { color: var(--white); translate: 3px 0; }
.mega a small { display: block; color: var(--n-400); font-size: .78rem; }
.mega .tone { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .45rem; vertical-align: 1px; }

.burger { display: none; margin-left: auto; width: 48px; height: 48px; background: none; border: 1px solid var(--line-dark); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white); transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Deco ornament primitives ---------- */
.frame { position: relative; border: 1px solid var(--gold-line); }
.frame::before { content: ''; position: absolute; inset: 7px; border: 1px solid var(--line-dark); pointer-events: none; }
.frame > .corner { position: absolute; width: 26px; height: 26px; color: var(--gold); }
.corner--tl { top: -1px; left: -1px; } .corner--tr { top: -1px; right: -1px; transform: scaleX(-1); }
.corner--bl { bottom: -1px; left: -1px; transform: scaleY(-1); } .corner--br { bottom: -1px; right: -1px; transform: scale(-1); }
.rule { display: flex; align-items: center; gap: .9rem; color: var(--gold); }
.rule::before, .rule::after { content: ''; height: 1px; flex: 1; background: currentColor; opacity: .55; }
.rule svg { width: 34px; height: 12px; flex: none; }

/* ---------- Hero façade ---------- */
.facade { position: relative; background: var(--n-900); color: var(--white); overflow: hidden; isolation: isolate; }
.facade::after {           /* stepped horizon: the façade's base course */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-line);
}
.hero { min-height: min(calc(100svh - 116px), 920px); display: grid; align-content: center; padding-block: clamp(1.5rem, 4svh, 4rem) 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
.hero h1 { font-size: clamp(3.2rem, min(8.6vw, 10.5svh), 6rem); line-height: .9; }
.hero h1 .line { display: block; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__deck { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--n-200); max-width: 50ch; margin: clamp(1rem, 2.4svh, 1.8rem) 0 clamp(1.2rem, 3svh, 2.2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: clamp(1.2rem, 3svh, 2.4rem); padding: 0; list-style: none; color: var(--n-300); font-size: .95rem; }
.hero__facts li { display: flex; align-items: center; gap: .55rem; }
.hero__facts svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__bg::after {          /* velo azul: legibilidad del texto sobre la foto de Doral */
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 18, 44, .94) 0%, rgba(6, 18, 44, .86) 38%, rgba(8, 25, 59, .5) 70%, rgba(8, 25, 59, .38) 100%),
    linear-gradient(0deg, rgba(4, 12, 30, .85) 0%, rgba(4, 12, 30, 0) 38%);
}
.hero__mark {               /* escudo como marca de agua */
  position: absolute; z-index: -1; pointer-events: none; right: max(2vw, calc((100vw - 1320px) / 2)); top: 50%; translate: 0 -58%;
  width: min(34vw, 500px); height: auto; opacity: .3; mix-blend-mode: screen;
}
.hero__copy { max-width: 760px; }

/* Next-start ticket inside the hero */
.ticket {
  margin-top: clamp(1.4rem, 3.5svh, 3rem); display: grid; grid-template-columns: auto 1fr auto; align-items: stretch;
  border-top: 1px solid var(--line-dark); background: linear-gradient(180deg, rgba(8, 25, 59, 0) 0%, rgba(3, 10, 26, .55) 100%);
}
.ticket__label { padding: 1.3rem 1.6rem 1.3rem 0; border-right: 1px solid var(--line-dark); }
.ticket__label span { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--n-400); }
.ticket__label strong { font-family: var(--display); font-size: 2rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1; }
.ticket__terms { display: flex; align-items: center; gap: .5rem; padding: 1rem 1.6rem; flex-wrap: wrap; }
.term-chip {
  display: inline-flex; align-items: baseline; gap: .45rem; padding: .35rem .7rem; border: 1px solid var(--line-dark);
  font-size: .82rem; color: var(--n-200); white-space: nowrap;
}
.term-chip b { font-family: var(--display); font-size: 1.05rem; color: var(--white); letter-spacing: .06em; }
.term-chip.is-current { border-color: var(--gold); }
.term-chip.is-current b { color: var(--gold); }
.term-chip.is-past { opacity: .55; text-decoration: line-through; text-decoration-color: var(--n-400); }
.countdown { display: flex; align-items: center; gap: 1.2rem; padding: 1rem 0 1rem 1.6rem; border-left: 1px solid var(--line-dark); }
.countdown__unit { text-align: center; min-width: 3.2ch; }
.countdown__unit b { display: block; font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.countdown__unit span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--n-400); }
.countdown__note { font-size: .82rem; color: var(--n-300); max-width: 17ch; line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding-block: var(--step); position: relative; }
.section--stone { background: var(--stone); }
.section--stone2 { background: var(--stone-2); }
.section--navy { background: var(--n-900); color: var(--white); }
.section--deep { background: var(--n-950); color: var(--white); }
.section--navy .lede, .section--deep .lede { color: var(--n-300); }
.section__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--solo { grid-template-columns: 1fr; max-width: 820px; }
.section__head p { margin: 0; }


/* Study rhythm (semester timeline) */
.rhythm { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.rhythm__points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.rhythm__points li { display: grid; grid-template-columns: 28px 1fr; gap: .9rem; align-items: start; }
.rhythm__points svg { width: 22px; height: 22px; color: var(--n-700); margin-top: 3px; }
.rhythm__points b { display: block; }
.semester-bar { background: var(--white); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.2rem); position: relative; }
.semester-bar__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.semester-bar__top h3 { color: var(--n-800); }
.terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.term { background: var(--n-100); padding: 1rem .9rem 1.1rem; position: relative; min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; transition: background .4s var(--ease); }
.term:hover { background: var(--n-200); }
.term__letter { font-family: var(--display); font-weight: 900; font-size: 3.2rem; line-height: .8; color: var(--n-800); }
.term__weeks { font-size: .8rem; color: var(--ink-3); }
.term__dates { font-size: .84rem; font-weight: 600; color: var(--n-800); }
.term.is-current { background: var(--n-800); }
.term.is-current .term__letter { color: var(--gold); }
.term.is-current .term__weeks, .term.is-current .term__dates { color: var(--n-200); }
.semester-bar__foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .9rem; }
.semester-bar__foot b { display: block; font-family: var(--display); font-size: 1.6rem; color: var(--n-800); letter-spacing: .02em; line-height: 1.1; }

/* ---------- Program directory (lobby board) ---------- */
.finder { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-dark); }
.seg button {
  background: none; border: 0; padding: .6rem 1rem; cursor: pointer; color: var(--n-300);
  font-family: var(--display); font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: color .2s, background .3s;
}
.seg button:hover { color: var(--white); }
.seg button[aria-pressed="true"] { background: var(--gold); color: var(--n-950); }
.seg button .count { font-family: var(--text); font-size: .75rem; opacity: .7; margin-left: .3rem; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .85rem; border: 1px solid var(--line-dark); background: none;
  color: var(--n-200); cursor: pointer; font-size: .88rem; transition: border-color .25s, color .25s;
}
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--tone); }
.chip[aria-pressed="true"] { border-color: var(--tone); color: var(--white); }
.chip:hover { color: var(--white); }
.search { position: relative; }
.search input {
  background: transparent; border: 0; border-bottom: 1px solid var(--n-600); color: var(--white); padding: .55rem .2rem .55rem 1.8rem; width: 240px;
}
.search input::placeholder { color: var(--n-400); }
.search input:focus { outline: 0; border-color: var(--gold); }
.search svg { position: absolute; left: 0; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--n-400); }

.board { border-top: 1px solid var(--gold-line); }
.board__head, .board__row {
  display: grid; grid-template-columns: 9.5rem minmax(0, 2.4fr) minmax(0, 1fr) 6.5rem 7.5rem 2rem; gap: 1rem; align-items: center;
}
.board__head { padding: .7rem 0; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--n-400); border-bottom: 1px solid var(--line-dark); }
.board__row {
  padding: 1.15rem 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; color: var(--n-200); position: relative;
  transition: color .3s, background .45s var(--ease);
}
.board__row::before { content: ''; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: var(--tone, var(--gold)); transform: scaleY(0); transition: transform .45s var(--ease); }
.board__row > * { transition: translate .45s var(--ease); }
.board__row:hover > *, .board__row:focus-visible > * { translate: .9rem 0; }
.board__row:hover, .board__row:focus-visible { color: var(--white); background: rgba(255, 255, 255, .03); outline: 0; }
.board__row:hover::before, .board__row:focus-visible::before { transform: scaleY(1); }
.board__level { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--n-400); }
.board__name { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.05; text-transform: uppercase; letter-spacing: .02em; color: var(--white); }
.board__name small { display: block; font-family: var(--text); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .86rem; color: var(--n-300); margin-top: .3rem; line-height: 1.4; }
.board__school { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.board__school i { width: 8px; height: 8px; border-radius: 50%; background: var(--tone); flex: none; }
.board__credits { font-family: var(--display); font-size: 1.6rem; color: var(--white); font-variant-numeric: tabular-nums; }
.board__credits span { font-family: var(--text); font-size: .74rem; color: var(--n-400); margin-left: .25rem; }
.board__lang { font-size: .84rem; }
.board__go svg { width: 18px; height: 18px; color: var(--gold); opacity: 0; translate: -6px 0; transition: opacity .3s, translate .4s var(--ease); }
.board__row:hover .board__go svg { opacity: 1; translate: 0 0; }
.board__row[hidden] { display: none; }
.board__empty { padding: 2.5rem 0; color: var(--n-300); }

/* Light variant of the board for stone sections */
.board--light { border-top-color: var(--n-800); }
.board--light .board__head { color: var(--ink-3); border-color: var(--line); }
.board--light .board__row { color: var(--ink-2); border-color: var(--line); }
.board--light .board__row:hover { color: var(--ink); background: rgba(13, 45, 98, .04); }
.board--light .board__name, .board--light .board__credits { color: var(--n-800); }
.board--light .board__name small, .board--light .board__credits span, .board--light .board__level { color: var(--ink-3); }

/* ---------- Ziggurat: the degree ladder ---------- */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 0; margin-top: 1rem; }
.ladder__step {
  --h: 1; position: relative; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: var(--white);
  min-height: calc(150px + var(--h) * 70px); padding: 1.4rem 1.3rem; background: var(--n-850); border: 1px solid var(--line-dark); border-bottom: 0;
  margin-left: -1px; transition: background .45s var(--ease), translate .45s var(--ease);
}
.ladder__step:nth-child(2) { --h: 2; background: var(--n-800); }
.ladder__step:nth-child(3) { --h: 3; background: var(--n-700); }
.ladder__step:nth-child(4) { --h: 4; background: var(--n-600); }
.ladder__step::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 1px; background: var(--gold); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease); }
.ladder__step:hover { translate: 0 -8px; }
.ladder__step:hover::before { transform: scaleX(1); }
.ladder__credits { font-family: var(--display); font-weight: 900; font-size: clamp(3.2rem, 6vw, 5.2rem); line-height: .82; color: var(--white); font-variant-numeric: tabular-nums; }
.ladder__credits small { font-size: .95rem; font-weight: 700; letter-spacing: .12em; color: var(--n-200); margin-left: .35rem; }
.ladder__level { font-family: var(--display); font-size: 1.55rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; margin-top: .8rem; }
.ladder__list { font-size: .88rem; color: var(--n-200); margin-top: .5rem; line-height: 1.45; }

/* ---------- Schools (portals) ---------- */
.portals { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.portal { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: border-color .4s, translate .45s var(--ease), box-shadow .45s; }
.portal:hover { translate: 0 -6px; box-shadow: var(--shadow); border-color: var(--tone); }
.portal__arch { position: relative; aspect-ratio: 5 / 3; overflow: hidden; background: var(--n-900); }
.portal__arch img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.portal:hover .portal__arch img { scale: 1.05; }
.portal__arch { border-bottom: 1px solid var(--tone); }
.portal__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.portal__body h3 { color: var(--n-800); }
.portal__body p { color: var(--ink-2); font-size: .97rem; margin: 0; }
.portal__meta { margin-top: auto; padding-top: .8rem; font-size: .85rem; color: var(--ink-3); display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); }
.portal__meta b { color: var(--n-800); }
.portal__meta svg { width: 20px; height: 20px; color: var(--n-700); transition: translate .4s var(--ease); }
.portal:hover .portal__meta svg { translate: 4px 0; }

/* ---------- Voices (faculty testimonials) ---------- */
.voices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.voices__stage { position: relative; min-height: 340px; }
.voice { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.voice.is-active { opacity: 1; visibility: visible; position: relative; }
.voice blockquote { margin: 0; font-size: clamp(1.18rem, 1.9vw, 1.5rem); line-height: 1.5; color: var(--white); }
.voice blockquote::before { content: '\201C'; display: block; font-family: var(--display); font-size: 6rem; line-height: .6; color: var(--gold); margin-bottom: .4rem; }
.voice figcaption { margin-top: 1.6rem; display: flex; align-items: center; gap: 1rem; }
.voice figcaption b { display: block; font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; }
.voice figcaption span { color: var(--n-300); font-size: .9rem; }
.portholes { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 1.4rem; justify-content: center; }
.porthole {
  position: relative; border-radius: 50%; aspect-ratio: 1; padding: 6px; border: 1px solid var(--gold-line); background: none; cursor: pointer;
  transition: border-color .4s, scale .5s var(--ease);
}
.porthole::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid var(--line-dark); transition: border-color .4s; }
.porthole img { border-radius: 50%; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.05); transition: filter .6s; }
.porthole[aria-pressed="true"] { border-color: var(--gold); scale: 1.04; }
.porthole[aria-pressed="true"]::after { border-color: var(--gold-line); }
.porthole[aria-pressed="true"] img, .porthole:hover img { filter: none; }

/* ---------- Agreements + news ---------- */
.news-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); }
.news-grid__side { display: grid; gap: 1.4rem; align-content: start; }
.story { display: grid; gap: 1rem; text-decoration: none; color: inherit; }
.story__media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--n-100); }
.story__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.story:hover .story__media img { scale: 1.04; }
.story time { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.story h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); color: var(--n-800); transition: color .25s; }
.story:hover h3 { color: var(--n-600); }
.story p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.story--row { grid-template-columns: 150px 1fr; align-items: start; }
.story--row .story__media { aspect-ratio: 1; }
.story--row h3 { font-size: 1.2rem; line-height: 1.05; }

/* ---------- Closing CTA ---------- */
.close { position: relative; overflow: hidden; text-align: center; }
.close__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 1.6rem; }
.close h2 { font-size: clamp(2.8rem, 7vw, 5.6rem); max-width: 16ch; }
.close .lede { margin: 0 auto; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--n-1000); color: var(--n-300); font-size: .93rem; }
.footer__top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr) 1.3fr; gap: 2.4rem; padding-block: clamp(3.5rem, 6vw, 5rem) 3rem; }
.footer h4 { font-family: var(--display); font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--gold); }
.footer__brand img { width: 250px; margin-bottom: 1.4rem; }
.footer__contact li { display: grid; grid-template-columns: 18px 1fr; gap: .7rem; align-items: start; }
.footer__contact svg { width: 16px; height: 16px; margin-top: 4px; color: var(--gold); }
.social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-dark); transition: border-color .25s, color .25s; }
.social a:hover { border-color: var(--gold); }
.social svg { width: 16px; height: 16px; }
.newsletter form { display: flex; border-bottom: 1px solid var(--n-600); margin-top: .9rem; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; padding: .7rem 0; color: var(--white); }
.newsletter input::placeholder { color: var(--n-400); }
.newsletter input:focus { outline: 0; }
.newsletter button { background: none; border: 0; color: var(--gold); cursor: pointer; font-family: var(--display); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 1rem; }
.newsletter__msg { font-size: .85rem; margin-top: .6rem; min-height: 1.3em; color: var(--n-200); }
.footer__legal { border-top: 1px solid var(--line-dark); padding-block: 2rem; display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center; }
.footer__legal img { width: 220px; background: var(--white); padding: .6rem .9rem; }
.footer__legal p { margin: 0; font-size: .84rem; line-height: 1.55; max-width: 110ch; }
.footer__legal a { text-decoration: underline; }
.footer__base { border-top: 1px solid var(--line-dark); padding-block: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--n-400); }

.whatsapp {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80; width: 58px; height: 58px; display: grid; place-items: center;
  background: #1fa855; color: var(--white); border-radius: 50%; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .5); transition: scale .35s var(--ease);
}
.whatsapp:hover { scale: 1.07; }
.js .whatsapp { transition: opacity .4s, translate .5s var(--ease), scale .35s var(--ease); }
.js .whatsapp:not(.is-on) { opacity: 0; translate: 0 12px; pointer-events: none; }
.whatsapp svg { width: 30px; height: 30px; }

/* ---------- Interior page hero ---------- */
.page-hero { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { font-size: clamp(2.9rem, 7.4vw, 5.6rem); max-width: 18ch; overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 480px) { .page-hero h1 { font-size: clamp(2.2rem, 10.5vw, 2.9rem); } }
.page-hero .lede { color: var(--n-300); margin-top: 1.4rem; }
.facade .lede { color: var(--n-300); }
.page-hero__img { position: absolute; inset: 0; z-index: -2; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--n-900) 28%, rgba(8, 25, 59, .72) 62%, rgba(8, 25, 59, .35) 100%); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .84rem; color: var(--n-400); margin-bottom: 1.6rem; }
.crumbs a { text-decoration: none; color: var(--n-300); }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-hidden] { color: var(--gold); }

/* ---------- Prose & content blocks ---------- */
.prose { max-width: 72ch; }
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--n-800); margin: 2.6rem 0 1rem; }
.prose h3 { color: var(--n-800); margin: 2rem 0 .8rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--n-600); }
.prose a { color: var(--n-700); }
.prose blockquote { margin: 1.6rem 0; padding: .4rem 0 .4rem 1.4rem; border-left: 1px solid var(--gold); font-size: 1.15rem; color: var(--n-800); }
.prose img { margin: 1.6rem 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--top { align-items: start; }
.split__media { position: relative; }
.split__media img { width: 100%; }
.split__media .frame { position: absolute; inset: -14px 14px 14px -14px; z-index: -1; }
.notice { padding: 1.1rem 1.3rem; background: var(--n-100); color: var(--n-800); font-size: .9rem; line-height: 1.5; border-top: 2px solid var(--n-800); }

/* Values (accordion as a Deco index) */
.index-list { border-top: 1px solid var(--line); }
.index-item { border-bottom: 1px solid var(--line); }
.index-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.25rem 0;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: .02em; color: var(--n-800);
}
.index-item summary::-webkit-details-marker { display: none; }
.index-item summary svg { width: 22px; height: 22px; flex: none; transition: rotate .45s var(--ease); color: var(--n-600); }
.index-item[open] summary svg { rotate: 45deg; }
.index-item summary:hover { color: var(--n-600); }
.index-item__body { padding: 0 0 1.5rem; max-width: 72ch; color: var(--ink-2); }
.section--navy .index-list, .section--navy .index-item { border-color: var(--line-dark); }
.section--navy .index-item summary { color: var(--white); }
.section--navy .index-item__body { color: var(--n-300); }

/* People */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2.4rem 1.6rem; }
.person { text-align: center; }
.person button { all: unset; cursor: pointer; display: grid; justify-items: center; gap: .9rem; width: 100%; }
.person button:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.person .porthole { width: 170px; pointer-events: none; }
.person:hover .porthole img { filter: none; }
.person b { font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .03em; color: var(--n-800); line-height: 1.05; }
.person span { font-size: .86rem; color: var(--ink-3); }
.faculty-list { columns: 3 220px; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.faculty-list li { break-inside: avoid; padding: .75rem 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--n-800); display: flex; justify-content: space-between; gap: 1rem; }
.faculty-list li span { font-weight: 400; color: var(--ink-3); font-size: .9rem; }

/* Dialog (bios) */
dialog.sheet {
  border: 0; padding: 0; width: min(760px, 94vw); max-height: 88vh; background: var(--white); color: var(--ink);
  box-shadow: 0 40px 80px -20px rgba(3, 10, 26, .6);
}
dialog.sheet::backdrop { background: rgba(3, 10, 26, .72); backdrop-filter: blur(3px); }
dialog.sheet[open] { animation: sheet-in .5s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px); } }
.sheet__head { display: grid; grid-template-columns: 110px 1fr auto; gap: 1.4rem; align-items: center; padding: 1.6rem 1.8rem; background: var(--n-900); color: var(--white); position: sticky; top: 0; }
.sheet__head img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); padding: 4px; }
.sheet__head h3 { font-size: 1.9rem; }
.sheet__close { background: none; border: 1px solid var(--line-dark); color: var(--white); width: 44px; height: 44px; cursor: pointer; display: grid; place-items: center; }
.sheet__close:hover { border-color: var(--gold); color: var(--gold); }
.sheet__close svg { width: 18px; height: 18px; }
.sheet__body { padding: 1.8rem; overflow: auto; }
.sheet__body p { color: var(--ink-2); }

/* Logos / affiliates */
.affiliates { display: grid; gap: 0; border-top: 1px solid var(--line); }
.affiliate { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.affiliate img { height: 150px; width: auto; margin-inline: auto; }
.affiliate h3 { color: var(--n-800); margin-bottom: .5rem; font-size: 1.5rem; }
.affiliate p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.license-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.license-card__doc { background: var(--white); padding: 1rem; box-shadow: var(--shadow); rotate: -1.5deg; transition: rotate .6s var(--ease); }
.license-card__doc:hover { rotate: 0deg; }
.license-number { font-family: var(--display); font-weight: 900; font-size: clamp(4rem, 10vw, 7rem); line-height: .85; color: var(--n-800); letter-spacing: .01em; }
.license-number span { display: block; font-size: .2em; letter-spacing: .2em; color: var(--ink-3); font-weight: 700; margin-bottom: .6rem; }
.seals { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.seals img { height: 150px; width: auto; transition: transform .45s var(--ease); }
.seals a:hover img { transform: translateY(-4px); }

/* ---------- Program page ---------- */
.program-hero { padding-block: clamp(3rem, 7vw, 5.5rem) 0; }
.program-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.program-hero h1 { font-size: clamp(2.7rem, 6.6vw, 5.2rem); }
.program-hero__media { position: relative; align-self: stretch; }
.program-hero__media img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.school-tag { display: inline-flex; align-items: center; gap: .55rem; color: inherit; text-decoration: none; }
.school-tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--tone); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(2.4rem, 5vw, 3.5rem); border-top: 1px solid var(--line-dark); }
.facts > div { padding: 1.3rem 1.3rem 1.5rem 0; }
.facts > div + div { padding-left: 1.3rem; border-left: 1px solid var(--line-dark); }
.facts dt { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--n-400); margin-bottom: .35rem; }
.facts .school-tag { display: inline; }
.facts .school-tag i { display: inline-block; vertical-align: .3em; margin-right: .5rem; }
.facts dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1; text-transform: uppercase; color: var(--white); }
.program-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 2.2rem; overflow-x: auto; scrollbar-width: none; position: sticky; top: 78px; background: var(--stone); z-index: 5; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  padding: 1rem 1.2rem; text-decoration: none; white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3); position: relative; transition: color .2s;
}
.tabs a::after { content: ''; position: absolute; left: 1.2rem; right: 1.2rem; bottom: -1px; height: 2px; background: var(--n-800); transform: scaleX(0); transition: transform .4s var(--ease); }
.tabs a:hover { color: var(--n-800); }
.tabs a.is-active { color: var(--n-800); }
.tabs a.is-active::after { transform: scaleX(1); }
.program-block { padding-bottom: 3.5rem; margin-bottom: 3.5rem; border-bottom: 1px solid var(--line); }
.program-block:last-child { border-bottom: 0; }
.program-block > h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--n-800); margin-bottom: 1.4rem; }
.objectives { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; counter-reset: obj; }
.objectives li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; color: var(--ink-2); counter-increment: obj; padding-bottom: .9rem; border-bottom: 1px dashed var(--line); }
.objectives li::before { content: counter(obj, decimal-leading-zero); font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--n-600); line-height: 1.2; }
.majors { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.majors button {
  padding: .65rem 1rem; border: 1px solid var(--line); background: var(--white); cursor: pointer; text-align: left;
  font-size: .92rem; font-weight: 600; color: var(--ink-2); transition: border-color .25s, background .25s, color .25s;
}
.majors button:hover { border-color: var(--n-600); color: var(--n-800); }
.majors button[aria-pressed="true"] { background: var(--n-800); border-color: var(--n-800); color: var(--white); }
.major-panel[hidden] { display: none; }
.major-panel__desc { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 1.4rem; max-width: 65ch; }
.courses { width: 100%; border-collapse: collapse; font-size: .95rem; }
.courses-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 0; }
.courses-head b { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; color: var(--n-800); letter-spacing: .02em; line-height: 1; }
.courses-head span { font-size: .85rem; color: var(--ink-3); white-space: nowrap; }
.courses td { padding: .7rem .2rem; border-top: 1px solid var(--line); vertical-align: top; }
.courses { table-layout: fixed; }
.courses td:first-child { width: 6.5rem; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--n-700); font-size: .86rem; letter-spacing: .04em; }
.courses td:last-child { width: 3rem; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.courses tr:hover td { background: var(--n-100); }
.curriculum-group { margin-bottom: 2rem; }
.credit-meter { display: flex; height: 10px; margin: 1rem 0 .6rem; background: var(--n-100); }
.credit-meter span { display: block; height: 100%; transition: flex-grow .6s var(--ease); }
.credit-meter span:nth-child(1) { background: var(--n-300); }
.credit-meter span:nth-child(2) { background: var(--n-600); }
.credit-meter span:nth-child(3) { background: var(--n-800); }
.credit-meter span:nth-child(4) { background: var(--gold); }
.credit-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .84rem; color: var(--ink-3); margin-bottom: 2rem; }
.credit-legend i { display: inline-block; width: 10px; height: 10px; margin-right: .4rem; vertical-align: -1px; }
.aside-card { position: sticky; top: 100px; background: var(--n-900); color: var(--white); padding: 1.8rem; }
.aside-card h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.aside-card p { color: var(--n-300); font-size: .95rem; }
.aside-card dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 1.2rem 0 1.6rem; font-size: .9rem; }
.aside-card dt { color: var(--n-400); }
.aside-card dd { margin: 0; text-align: right; color: var(--white); font-weight: 600; }
.aside-card .btn { width: 100%; justify-content: center; }
.aside-card .link-arrow { margin-top: 1.1rem; color: var(--n-200); font-size: .92rem; }

/* Mini program cards (related / school pages) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); gap: 1.6rem; }
.pcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); transition: translate .45s var(--ease), box-shadow .45s, border-color .3s; }
.pcard:hover { translate: 0 -5px; box-shadow: var(--shadow); border-color: var(--tone, var(--n-600)); }
.pcard__img { aspect-ratio: 700 / 445; overflow: hidden; border-bottom: 3px solid var(--tone, var(--n-600)); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { padding: 1.3rem 1.4rem 1.5rem; display: grid; gap: .55rem; }
.pcard__body small { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.pcard__body h3 { font-size: 1.45rem; color: var(--n-800); }
.pcard__body p { margin: 0; font-size: .93rem; color: var(--ink-2); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .86rem; font-weight: 700; color: var(--n-800); letter-spacing: .01em; }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--n-200); background: var(--white); color: var(--ink); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--n-400); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--n-800); box-shadow: 0 0 0 3px rgba(13, 45, 98, .14); }
.field input::placeholder, .field textarea::placeholder { color: #6b778c; }
.field .hint { font-size: .8rem; color: var(--ink-3); }
.field input:user-invalid, .field select:user-invalid { border-color: #b3261e; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--n-800); flex: none; }
.alert { padding: 1rem 1.2rem; margin-bottom: 1.6rem; font-weight: 600; font-size: .95rem; border-top: 2px solid; }
.alert--ok { background: #e8f5ec; color: #18663a; border-color: #1f8a4c; }
.alert--error { background: #fdeceb; color: #9c241d; border-color: #b3261e; }
.hp { position: absolute; left: -9999px; }
.recaptcha-note { font-size: .78rem; color: var(--ink-3); margin-top: 1rem; }

/* Apply — stations */
.apply-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.stations { list-style: none; padding: 0; margin: 0; position: sticky; top: 110px; display: grid; gap: 0; }
.stations li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: center; padding: .9rem 0; color: var(--ink-3); position: relative; }
.stations li + li::before { content: ''; position: absolute; left: 21px; top: -12px; height: 24px; width: 1px; background: var(--line); }
.stations b { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); font-family: var(--display); font-size: 1.3rem; color: var(--ink-3); background: var(--white); }
.stations span { font-weight: 600; }
.stations li.is-current { color: var(--n-800); }
.stations li.is-current b { background: var(--n-800); border-color: var(--n-800); color: var(--gold); }
.stations li.is-done b { border-color: var(--n-800); color: var(--n-800); }
.stations li.is-done span { text-decoration: line-through; text-decoration-color: var(--n-300); }
.station { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.station > legend { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.6rem); text-transform: uppercase; color: var(--n-800); margin-bottom: 1.4rem; padding: 0; }
.js .station:not(.is-current) { display: none; }
.station__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.no-js .station__nav { display: none; }
.picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; }
.picker label { display: grid; gap: .25rem; padding: 1rem 1.1rem; border: 1px solid var(--line); cursor: pointer; position: relative; transition: border-color .2s, background .2s; }
.picker label:hover { border-color: var(--n-400); }
.picker input { position: absolute; opacity: 0; }
.picker label:has(input:checked) { border-color: var(--n-800); background: var(--n-100); box-shadow: inset 0 0 0 1px var(--n-800); }
.picker label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.picker b { color: var(--n-800); font-size: .97rem; line-height: 1.3; }
.picker small { color: var(--ink-3); font-size: .8rem; }
.review { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.4rem; padding: 1.4rem; background: var(--n-100); font-size: .95rem; }
.review dt { color: var(--ink-3); }
.review dd { margin: 0; font-weight: 600; color: var(--n-800); }
.success { text-align: center; padding: clamp(2rem, 6vw, 4rem); border: 1px solid var(--line); }
.success svg { width: 64px; height: 64px; margin: 0 auto 1.2rem; color: var(--n-800); }
.success h2 { color: var(--n-800); margin-bottom: 1rem; }
.embed-frame { width: 100%; min-height: 720px; border: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-card { background: var(--n-900); color: var(--n-200); padding: 2rem; }
.contact-card h3 { color: var(--white); font-size: 1.7rem; margin-bottom: 1.4rem; }
.contact-card ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 1.1rem; }
.contact-card li { display: grid; grid-template-columns: 22px 1fr; gap: .9rem; }
.contact-card li svg { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.contact-card li b { display: block; color: var(--white); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-card a { text-decoration: none; }
.contact-card a:hover { color: var(--gold); }
.map { margin-top: 1.4rem; aspect-ratio: 4 / 3; border: 1px solid var(--line-dark); filter: grayscale(.6) invert(.9) hue-rotate(180deg); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Calendar */
.cal-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.cal-tabs button {
  padding: .75rem 1.2rem; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-family: var(--display); font-weight: 800;
  font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); transition: all .25s;
}
.cal-tabs button[aria-selected="true"] { background: var(--n-800); color: var(--white); border-color: var(--n-800); }
.cal-tabs button .tag { font-family: var(--text); font-size: .68rem; letter-spacing: .08em; padding: .1rem .4rem; margin-left: .5rem; background: var(--gold); color: var(--n-950); vertical-align: 3px; }
.cal-tabs button.is-past { text-decoration: line-through; text-decoration-color: var(--n-300); }
.cal-panel[hidden] { display: none; }
.cal-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 2rem; }
.cal-dates { width: 100%; border-collapse: collapse; }
.cal-dates th, .cal-dates td { text-align: left; padding: .9rem .4rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.cal-dates th { font-weight: 600; color: var(--ink-2); }
.cal-dates td { font-variant-numeric: tabular-nums; color: var(--n-800); font-weight: 700; white-space: nowrap; }
.cal-dates tr.is-past th, .cal-dates tr.is-past td { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--line); font-weight: 400; }
.cal-dates tr.is-current td, .cal-dates tr.is-current th { background: #fff6dc; }
.holidays { background: var(--stone); padding: 1.5rem; }
.holidays h4 { margin-bottom: .8rem; color: var(--n-800); }
.holidays ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; font-size: .92rem; color: var(--ink-2); }
.rules-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 3rem; }
.rules-list > div { background: var(--white); padding: 1.4rem; }
.rules-list b { display: block; font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; color: var(--n-800); line-height: 1.05; margin-bottom: .4rem; }
.rules-list span { font-size: .92rem; color: var(--ink-2); }

/* Requirements */
.req-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border: 1px solid var(--line); margin-bottom: 2.5rem; }
.req-tabs button { padding: 1.3rem; background: var(--white); border: 0; cursor: pointer; text-align: left; font-family: var(--display); font-size: 1.6rem; font-weight: 800; text-transform: uppercase; color: var(--ink-3); transition: background .3s, color .3s; }
.req-tabs button + button { border-left: 1px solid var(--line); }
.req-tabs button small { display: block; font-family: var(--text); font-size: .85rem; font-weight: 400; text-transform: none; }
.req-tabs button[aria-selected="true"] { background: var(--n-800); color: var(--white); }
.req-tabs button[aria-selected="true"] small { color: var(--n-200); }
.checklist { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .8rem; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; color: var(--ink-2); }
.checklist svg { width: 20px; height: 20px; color: var(--n-700); margin-top: 3px; }
.scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 1rem 0 1.6rem; }
.scores div { background: var(--white); padding: 1.2rem; text-align: center; }
.scores b { display: block; font-family: var(--display); font-size: 2.4rem; color: var(--n-800); line-height: 1; }
.scores span { font-size: .82rem; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }

/* Blog list + post */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2.6rem 2rem; }
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 3.5rem; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--n-800); }
.pagination .is-current { background: var(--n-800); color: var(--white); border-color: var(--n-800); }
.post-cover { width: min(100% - 2 * var(--gutter), 1080px); margin: -3rem auto 0; position: relative; z-index: 2; }
.post-cover img { width: 100%; max-height: 560px; object-fit: cover; box-shadow: var(--shadow); }
.post-meta { color: var(--n-300); font-size: .95rem; margin-top: 1.4rem; }
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 1.4rem; align-items: center; padding: 1.6rem; background: var(--stone); margin-top: 3rem; }
.author-box img, .author-box__initial { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.author-box__initial { display: grid; place-items: center; background: var(--n-800); color: var(--gold); font-family: var(--display); font-size: 2.4rem; }
.author-box small { color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; font-size: .74rem; }
.author-box h3 { color: var(--n-800); font-size: 1.5rem; margin: .2rem 0 .3rem; }
.author-box p { margin: 0; font-size: .93rem; color: var(--ink-2); }

/* Portals band (resources) */
.portal-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.portal-links a { background: var(--n-900); padding: 1.4rem; text-decoration: none; display: grid; gap: .4rem; transition: background .3s; }
.portal-links a:hover { background: var(--n-850); }
.portal-links svg { width: 26px; height: 26px; color: var(--gold); margin-bottom: .4rem; }
.portal-links b { font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .04em; color: var(--white); }
.portal-links span { font-size: .86rem; color: var(--n-300); }

/* Gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: .8rem; }
.gallery figure { margin: 0; overflow: hidden; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease); }
.gallery figure:hover img { scale: 1.05; }

.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 6rem var(--gutter); }
.error-page b { font-family: var(--display); font-size: clamp(7rem, 22vw, 14rem); line-height: .8; color: var(--n-800); display: block; }

/* ---------- Recognition band (license, memberships, CHEP) ---------- */
.recognition { background: var(--white); border-bottom: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem); }
.recognition__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.recognition__license { display: grid; grid-template-columns: 150px 1fr; gap: 1.6rem; align-items: center; text-decoration: none; color: var(--ink-2); }
.recognition__license > img { width: 150px; height: 150px; }
.recognition__license h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--n-800); margin-bottom: .6rem; }
.recognition__license p { margin: 0 0 1rem; font-size: .97rem; }
.recognition__license strong { color: var(--n-800); }
.recognition__fldoe { width: 230px; height: auto; }
.recognition h3 { font-family: var(--text); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.2rem; line-height: 1.4; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); }
.logo-row img { height: 130px; width: auto; transition: transform .45s var(--ease); }
.logo-row a:hover img { transform: translateY(-4px); }
.logo-row--seals img { height: 150px; }
.recognition__chep { padding-top: clamp(2rem, 4vw, 3rem); text-align: center; }
.recognition__chep .logo-row { justify-content: center; gap: clamp(1rem, 4vw, 3.5rem); }

/* ---------- Study rhythm: photo + overlapping semester card ---------- */
.rhythm__visual { display: grid; }
.rhythm__photo { margin: 0; position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.rhythm__photo img { width: 100%; height: 100%; object-fit: cover; }
.rhythm__photo figcaption {
  position: absolute; left: 1rem; top: 1rem; display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .85rem;
  background: var(--n-900); color: var(--white); font-size: .85rem; font-weight: 600; border: 1px solid var(--gold-line);
}
.rhythm__photo figcaption svg { width: 16px; height: 16px; color: var(--gold); }
.rhythm__visual .semester-bar { margin: -5.5rem 1.5rem 0; box-shadow: var(--shadow); position: relative; }

/* ---------- Program finder: card grid (default) / list ---------- */
.finder__tools { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.view-toggle { display: inline-flex; border: 1px solid var(--line-dark); }
.view-toggle button { width: 42px; height: 40px; display: grid; place-items: center; background: none; border: 0; color: var(--n-300); cursor: pointer; transition: color .2s, background .2s; }
.view-toggle button svg { width: 17px; height: 17px; }
.view-toggle button[aria-pressed="true"] { background: var(--gold); color: var(--n-950); }
.finder-root[data-view="grid"] .board { display: none; }
.finder-root[data-view="list"] .prog-grid { display: none; }
.prog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.prog-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--n-200); background: var(--n-850);
  border: 1px solid var(--line-dark); position: relative; overflow: hidden;
  transition: translate .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.prog-card[hidden] { display: none; }
.prog-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); z-index: 2; }
.prog-card:hover, .prog-card:focus-visible { translate: 0 -6px; border-color: var(--gold-line); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .7); outline: 0; }
.prog-card:hover::before, .prog-card:focus-visible::before { transform: scaleX(1); }
.prog-card__media { position: relative; aspect-ratio: 700 / 445; overflow: hidden; background: var(--n-900); }
.prog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.prog-card:hover .prog-card__media img { scale: 1.06; }
.prog-card__credits {
  position: absolute; right: .9rem; bottom: .9rem; display: flex; align-items: baseline; gap: .35rem; padding: .35rem .7rem;
  background: rgba(5, 17, 40, .88); color: var(--n-200); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--gold-line);
}
.prog-card__credits b { font-family: var(--display); font-size: 1.4rem; color: var(--white); letter-spacing: .02em; line-height: 1; }
.prog-card__body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.prog-card h3 { font-size: clamp(1.35rem, 1.9vw, 1.65rem); color: var(--white); order: 1; }
.prog-card__level { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--n-400); order: 2; }
.prog-card p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--n-300); order: 3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prog-card__foot { order: 4; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line-dark); display: flex; align-items: center; gap: .9rem; font-size: .82rem; color: var(--n-300); }
.prog-card__foot > svg { width: 18px; height: 18px; margin-left: auto; color: var(--gold); transition: translate .4s var(--ease); flex: none; }
.prog-card:hover .prog-card__foot > svg { translate: 4px 0; }
.prog-card__school { display: inline-flex; align-items: center; gap: .45rem; color: var(--white); }
.prog-card__school i { width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }

/* ---------- Specializations carousel ---------- */
.carousel__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.carousel__nav { display: flex; gap: .5rem; flex: none; }
.carousel__nav button { width: 52px; height: 52px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--n-200); color: var(--n-800); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.carousel__nav button:hover { background: var(--n-800); color: var(--white); border-color: var(--n-800); }
.carousel__nav svg { width: 20px; height: 20px; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 3 * 24px) / 4)); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; outline-offset: 6px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.spec-card { scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); transition: translate .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.spec-card:hover { translate: 0 -6px; box-shadow: var(--shadow); border-color: var(--tone); }
.spec-card__media { aspect-ratio: 700 / 445; overflow: hidden; border-bottom: 1px solid var(--tone); }
.spec-card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.spec-card:hover .spec-card__media img { scale: 1.06; }
.spec-card__body { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .4rem; }
.spec-card h3 { font-size: 1.35rem; color: var(--n-800); }
.spec-card span { font-size: .88rem; color: var(--ink-2); line-height: 1.4; }
.spec-card small { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Ladder steps with photography ---------- */
.ladder__step { overflow: hidden; isolation: isolate; }
.ladder__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; transition: scale 1.2s var(--ease), opacity .5s; }
.ladder__step::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 17, 40, .1) 0%, rgba(5, 17, 40, .9) 72%); }
.ladder__step:hover .ladder__img { scale: 1.06; opacity: .7; }

@media (max-width: 1024px) {
  .recognition__top { grid-template-columns: minmax(0, 1fr); }
  .prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carousel__track { grid-auto-columns: minmax(260px, 42%); }
}
@media (max-width: 760px) {
  .recognition__license { grid-template-columns: 96px 1fr; gap: 1rem; }
  .recognition__license > img { width: 96px; height: 96px; }
  .logo-row { justify-content: center; }
  .logo-row img { height: 100px; }
  .logo-row--seals img { height: 120px; }
  .prog-grid { grid-template-columns: minmax(0, 1fr); }
  .prog-card p { display: none; }
  .rhythm__visual .semester-bar { margin: -3rem .6rem 0; }
  .carousel__head { flex-direction: column; align-items: flex-start; }
  .carousel__track { grid-auto-columns: 82%; }
  .view-toggle { display: none; }
  .ladder__step { min-height: 220px; }
}

/* ---------- Technology platform (logos on uniform stages) ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; }
.tech-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: inherit;
  position: relative; transition: translate .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.tech-card::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.tech-card:hover { translate: 0 -5px; box-shadow: var(--shadow); border-color: var(--n-200); }
.tech-card:hover::before { transform: scaleX(1); }
.tech-card__logo { height: 128px; display: grid; place-items: center; padding: 1.4rem 1.6rem; background: linear-gradient(180deg, #fbfcfe 0%, var(--n-100) 100%); border-bottom: 1px solid var(--line); }
.tech-card__logo img { max-height: 58px; max-width: 82%; width: auto; height: auto; object-fit: contain; transition: transform .6s var(--ease); }
.tech-card:hover .tech-card__logo img { transform: scale(1.05); }
.tech-card__body { padding: 1.2rem 1.3rem 1.4rem; display: grid; gap: .5rem; align-content: start; flex: 1; }
.tech-card h3 { font-size: 1.3rem; color: var(--n-800); }
.tech-card p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.tech-card__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .3rem; font-size: .85rem; font-weight: 700; color: var(--n-700); }
.tech-card__link svg { width: 15px; height: 15px; transition: translate .4s var(--ease); }
.tech-card:hover .tech-card__link svg { translate: 4px 0; }
@media (max-width: 1100px) { .tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tech-card__logo { height: 104px; } }
@media (max-width: 460px) { .tech-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Motion ---------- */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(26px); filter: blur(4px); }
.hero h1 .line { transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); }
.js .hero:not(.is-lit) h1 .line { clip-path: inset(0 0 100% 0); transform: translateY(.25em); }
.hero h1 .line:nth-child(2) { transition-delay: .12s; }
.hero h1 .line:nth-child(3) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal:not(.is-in), .js .hero:not(.is-lit) h1 .line { opacity: 1; transform: none; filter: none; clip-path: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__link { padding-inline: .6rem; font-size: 1rem; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand, .newsletter { grid-column: span 3; }
  .board__head, .board__row { grid-template-columns: 8rem minmax(0, 2.4fr) minmax(0, 1fr) 6rem 2rem; }
  .board__lang { display: none; }
}
@media (max-width: 1024px) {
  .burger { display: block; }
  .header.is-scrolled { backdrop-filter: none; background: var(--n-950); }
  .brand, .burger { position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; background: var(--n-950); flex-direction: column; align-items: stretch; gap: 0; padding: calc(78px + 1rem) var(--gutter) 2rem;
    overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s; margin: 0;
  }
  .header.nav-open .nav { transform: none; visibility: visible; }
  .nav__link { padding: 1rem 0; font-size: 1.4rem; border-bottom: 1px solid var(--line-dark); justify-content: space-between; width: 100%; }
  .nav__link::after { display: none; }
  .mega { position: static; translate: none; transform: none; width: auto; max-width: none; display: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: .6rem 0 1.2rem; background: none; }
  .mega::before { display: none; }
  .nav__item.is-open .mega { display: block; }
  .mega__grid { grid-template-columns: 1fr 1fr; }
  .mega[style*="--cols:1"] .mega__grid { grid-template-columns: 1fr; }
  .nav .btn { margin: 1.4rem 0 0; justify-content: center; }
  .hero__grid, .rhythm, .voices, .split, .license-card, .program-hero__grid, .contact-grid, .cal-grid, .news-grid { grid-template-columns: minmax(0, 1fr); }
  .hero__mark { width: min(70vw, 380px); right: 50%; translate: 50% -50%; opacity: .1; }
  .hero__bg img { object-position: 62% 60%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(6, 18, 44, .9) 0%, rgba(6, 18, 44, .82) 55%, rgba(4, 12, 30, .92) 100%); }
  .ticket { grid-template-columns: 1fr; }
  .ticket__label { border-right: 0; border-bottom: 1px solid var(--line-dark); padding-right: 0; }
  .ticket__terms { padding-inline: 0; }
  .countdown { border-left: 0; border-top: 1px solid var(--line-dark); padding-left: 0; }
  .proof__inner { grid-template-columns: 1fr; }
  .proof__logos { justify-content: flex-start; }
  .portals { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: 1fr 1fr; }
  .ladder__step { min-height: 0; margin: 0 0 -1px -1px; }
  .program-layout, .apply-layout { grid-template-columns: minmax(0, 1fr); }
  .aside-card, .stations { position: static; }
  .stations { grid-template-columns: repeat(4, 1fr); }
  .stations li { grid-template-columns: 1fr; justify-items: center; text-align: center; font-size: .8rem; }
  .stations li + li::before { display: none; }
  .section__head { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .program-hero__media { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .utility nav { display: none; }
  .utility__inner { justify-content: flex-end; }
  .brand img { height: 42px; }
  .header__inner { min-height: 70px; }
  .nav { padding-top: calc(70px + 1rem); }
  .board__head { display: none; }
  .board__row { grid-template-columns: 1fr auto; gap: .3rem 1rem; }
  .board__level { grid-column: 1 / -1; }
  .board__name { grid-column: 1; }
  .board__credits { grid-column: 2; grid-row: 2; text-align: right; }
  .board__school { grid-column: 1 / -1; }
  .board__go { display: none; }
  .finder { flex-direction: column; align-items: stretch; }
  .search input { width: 100%; }
  .semester-bar__foot { grid-template-columns: 1fr; }
  .terms { grid-template-columns: 1fr 1fr; }
  .portholes { grid-template-columns: repeat(4, 1fr); gap: .8rem; }
  .voices__stage { min-height: 0; }
  .ladder { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand, .newsletter { grid-column: span 2; }
  .footer__legal { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .story--row { grid-template-columns: 100px 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .affiliate { grid-template-columns: 1fr; gap: 1rem; }
  .affiliate img { margin: 0; max-height: 80px; }
  .scores { grid-template-columns: 1fr 1fr; }
  .req-tabs { grid-template-columns: 1fr; }
  .req-tabs button + button { border-left: 0; border-top: 1px solid var(--line); }
  .sheet__head { grid-template-columns: 64px 1fr auto; padding: 1.2rem; }
  .sheet__head img { width: 64px; height: 64px; }
  .sheet__head h3 { font-size: 1.35rem; }
  .countdown { gap: .8rem; }
  .ticket__terms { display: grid; grid-template-columns: 1fr 1fr; }
  .term-chip { flex-direction: column; gap: .1rem; }
}
.person .porthole { display: block; }

/* ---------- Protección de contenido (body.protect) ---------- */
.protect { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.protect input, .protect textarea, .protect select, .protect [contenteditable="true"] { -webkit-user-select: text; user-select: text; }
.protect img, .protect svg { -webkit-user-drag: none; user-drag: none; }
@media print {
  .protect > * { display: none !important; }
  .protect::after { content: attr(data-print-msg); display: block; padding: 3rem; font: 600 1.2rem/1.5 system-ui, sans-serif; text-align: center; }
}

/* ---------- Carta del Presidente (sin foto) ---------- */
.letter { text-align: left; }
.letter__crest { display: block; width: 96px; height: auto; margin: 0 auto 1.6rem; }
.letter > h2 { color: var(--n-800); text-align: center; margin-bottom: 2rem; font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.letter .prose { font-size: 1.08rem; }
.letter__sign { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--gold-line); display: flex; flex-direction: column; gap: .2rem; }
.letter__sign strong { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .03em; color: var(--n-800); }
.letter__sign span { color: var(--ink-3); }

/* ---------- Organigrama (Staff & Faculty) ---------- */
.org { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; --org-gap: 44px; --org-col: 300px; --org-colgap: 1.6rem; }
.org__level { position: relative; display: flex; justify-content: center; width: 100%; }
.org__level + .org__level { padding-top: var(--org-gap); }
.org__level + .org__level::before {          /* conector vertical entre niveles */
  content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: var(--org-gap); background: var(--gold);
}
.org__level--row { display: grid; grid-template-columns: repeat(3, minmax(0, var(--org-col))); justify-content: center; gap: var(--org-colgap); }
.org__level--row::before { height: calc(var(--org-gap) / 2) !important; }
.org__level--row::after {                   /* barra horizontal hacia los directores */
  content: ''; position: absolute; top: calc(var(--org-gap) / 2); height: 1px; background: var(--gold);
  left: calc(50% - var(--org-col) - var(--org-colgap)); right: calc(50% - var(--org-col) - var(--org-colgap));
}
.org__level--row .org-card { position: relative; }
.org__level--row .org-card::before {
  content: ''; position: absolute; bottom: 100%; left: 50%; width: 1px; height: calc(var(--org-gap) / 2); background: var(--gold);
}
.org-card {
  width: 100%; max-width: var(--org-col); background: var(--white); border: 1px solid var(--line); padding: 1.6rem 1.2rem 1.4rem; text-align: center;
  box-shadow: 0 18px 40px -28px rgba(8, 25, 59, .45); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.org-card:hover { transform: translateY(-3px); box-shadow: 0 24px 46px -26px rgba(8, 25, 59, .55); }
.org-card__photo {
  width: 116px; height: 116px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; margin: 0 auto 1rem; display: block;
  background: var(--white); outline: 1px solid var(--gold-line); outline-offset: 4px;
}
.org-card h3 { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em; color: var(--n-800); line-height: 1.1; margin: 0; }
.org-card h3 span { font-family: var(--text); font-size: .85rem; text-transform: none; letter-spacing: 0; color: var(--ink-3); font-weight: 600; }
.org-card p { margin: .5rem 0 0; font-size: .92rem; color: var(--ink-3); }
@media (max-width: 960px) {
  .org__level--row { grid-template-columns: minmax(0, var(--org-col)); gap: var(--org-gap); }
  .org__level--row::after { display: none; }
  .org__level--row::before { height: var(--org-gap) !important; }
  .org__level--row .org-card::before { height: var(--org-gap); }
  .org__level--row .org-card:first-child::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .org-card, .org-card:hover { transition: none; transform: none; } }

/* ---------- SABAL Research Center ---------- */
.rc-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.rc-mv h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; color: var(--gold-ink); margin: 0 0 .4rem; }
.rc-mv p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.rc-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.2rem; }
.rc-area { background: var(--white); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.rc-area:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rc-area__img { aspect-ratio: 16 / 10; overflow: hidden; }
.rc-area__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rc-area:hover .rc-area__img img { transform: scale(1.05); }
.rc-area__body { padding: 1.2rem 1.2rem 1.4rem; }
.rc-area__num { font-family: var(--display); font-size: .95rem; color: var(--gold-ink); letter-spacing: .1em; }
.rc-area h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.3rem; line-height: 1.05; color: var(--n-800); margin: .3rem 0 .8rem; }
.rc-area ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: .88rem; color: var(--ink-3); }
.rc-area li::before { content: '— '; color: var(--gold-ink); }
.rc-lines { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); }
.rc-lines__group h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 1.5rem; margin: 0 0 .4rem; }
.rc-lines__group > p { color: var(--n-300); margin: 0 0 1.4rem; }
.rc-lines__group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.rc-lines__group li { border: 1px solid var(--line-dark); padding: .55rem .9rem; font-size: .92rem; color: var(--n-100); transition: border-color .3s, color .3s; }
.rc-lines__group li:hover { border-color: var(--gold); color: var(--white); }
.rc-lines__group--core ul { display: grid; gap: .7rem; }
.rc-lines__group--core li { border-color: var(--gold-line); font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: 1.2rem; padding: 1rem 1.2rem; color: var(--white); }
.rc-thesis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.rc-thesis__card { border: 1px solid var(--line); padding: 1.8rem 1.6rem; background: var(--white); display: flex; flex-direction: column; }
.rc-thesis__card:nth-child(2) { background: var(--n-900); color: var(--white); border-color: var(--n-900); }
.rc-thesis__level { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; }
.rc-thesis__card:nth-child(2) .rc-thesis__level { color: var(--gold); }
.rc-thesis__card h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; margin: .4rem 0 .8rem; color: inherit; }
.rc-thesis__card:not(:nth-child(2)) h3 { color: var(--n-800); }
.rc-thesis__pages { font-family: var(--display); font-size: 2.3rem; line-height: 1; color: var(--n-700); margin-bottom: 1rem; }
.rc-thesis__card:nth-child(2) .rc-thesis__pages { color: var(--gold); }
.rc-thesis__card > p { color: var(--ink-3); font-size: .95rem; margin: 0 0 1.2rem; }
.rc-thesis__card:nth-child(2) > p, .rc-thesis__card:nth-child(2) .checklist li { color: var(--n-200); }
.rc-thesis__card:nth-child(2) .checklist svg { color: var(--gold); }
.rc-thesis__card .checklist { margin: 0; font-size: .9rem; }
.rc-steps { list-style: none; margin: 0 0 2.4rem; padding: 0; display: grid; gap: 1.2rem; }
.rc-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; }
.rc-steps li > span { width: 48px; height: 48px; display: grid; place-items: center; background: var(--n-800); color: var(--gold); font-family: var(--display); font-size: 1.5rem; }
.rc-steps h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; color: var(--n-800); margin: 0 0 .2rem; }
.rc-steps p { margin: 0; color: var(--ink-3); font-size: .95rem; }
.rc-rubric__title { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; color: var(--gold-ink); margin: 0 0 .8rem; }
.rc-rubric { display: flex; gap: 3px; }
.rc-rubric__seg { padding: .8rem .7rem; color: var(--white); min-width: 112px; flex-shrink: 1; }
.rc-rubric__seg b { display: block; font-family: var(--display); font-size: 1.6rem; line-height: 1; }
.rc-rubric__seg span { display: block; font-size: .78rem; line-height: 1.2; margin-top: .3rem; color: var(--n-200); }
.rc-rubric__seg--0 { background: var(--n-700); } .rc-rubric__seg--1 { background: var(--n-800); } .rc-rubric__seg--2 { background: var(--n-600); }
.rc-rubric__seg--3 { background: var(--gold); color: var(--n-900); } .rc-rubric__seg--3 span { color: var(--n-850); }
.rc-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.rc-products__group h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.35rem; color: var(--n-800); padding-bottom: .8rem; margin: 0 0 .4rem; border-bottom: 2px solid var(--gold); }
.rc-products__item { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.rc-products__item h4 { margin: 0 0 .2rem; font-size: 1rem; color: var(--ink); }
.rc-products__item p { margin: 0; font-size: .9rem; color: var(--ink-3); }
.rc-gov { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.2rem; }
.rc-gov__item { background: var(--white); border: 1px solid var(--line); padding: 1.5rem; }
.rc-gov__item h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.2rem; color: var(--n-800); margin: 0 0 .5rem; }
.rc-gov__item p { margin: 0; font-size: .92rem; color: var(--ink-3); }
.rc-docs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rc-docs a { display: grid; grid-template-columns: 28px 1fr 20px; gap: 1rem; align-items: center; padding: 1.1rem .4rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background .25s; }
.rc-docs a > * { transition: transform .25s var(--ease); }
.rc-docs a:hover { background: var(--stone); }
.rc-docs a:hover > * { transform: translateX(.5rem); }
.rc-docs svg { width: 22px; height: 22px; color: var(--n-700); }
.rc-docs a > svg:last-child { width: 18px; color: var(--gold-ink); }
.rc-docs small { display: block; color: var(--ink-3); font-size: .8rem; }
.programs-research { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; background: var(--n-900); color: var(--white); overflow: hidden; }
.programs-research__img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.programs-research__body { padding: clamp(1.8rem, 4vw, 3.2rem); align-self: center; }
.programs-research__body h2 { margin: .3rem 0 1rem; }
.programs-research__body p { color: var(--n-300); margin: 0 0 1.6rem; max-width: 52ch; }
.programs-research__eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
@media (max-width: 960px) {
  .rc-lines, .rc-thesis, .rc-products, .programs-research { grid-template-columns: minmax(0, 1fr); }
  .rc-mv { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .rc-rubric { flex-wrap: wrap; }
  .rc-rubric__seg { flex: 1 1 45% !important; }
}
@media (prefers-reduced-motion: reduce) { .rc-area, .rc-area:hover, .rc-area__img img, .rc-docs a, .rc-docs a > * { transition: none; transform: none; } }

/* ---------- Internacionalización ---------- */
.intl-eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; }
.intl-motto { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--n-700); margin: 1.6rem 0 0; }
.intl-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.intl-pillar { border: 1px solid var(--line-dark); padding: clamp(1.6rem, 3vw, 2.4rem); }
.intl-pillar h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 .8rem; font-family: var(--text); }
.intl-pillar blockquote { margin: 0 0 1rem; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1; color: var(--white); }
.intl-pillar > p { color: var(--n-300); margin: 0; }
.intl-pillar ul { list-style: none; margin: 1.4rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: .9rem; }
.intl-pillar li { color: var(--n-300); font-size: .92rem; }
.intl-pillar li b { display: block; color: var(--white); font-weight: 600; }
.intl-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.2rem; }
.intl-offer { border: 1px solid var(--line); padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.intl-offer:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-line); }
.intl-offer__icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--n-800); color: var(--gold); }
.intl-offer__icon svg { width: 24px; height: 24px; }
.intl-offer h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.35rem; color: var(--n-800); margin: .4rem 0 0; }
.intl-offer p { margin: 0; color: var(--ink-3); font-size: .93rem; flex: 1; }
.intl-partners-types { margin-top: 2.4rem; display: grid; grid-template-columns: auto 1fr; gap: 1rem 3rem; align-items: center; padding: 1.6rem 0 0; border-top: 1px solid var(--line); }
.intl-partners-types h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.3rem; color: var(--n-800); margin: 0; }
.intl-partners-types ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; }
.intl-partners-types li { display: flex; gap: .5rem; align-items: center; color: var(--ink-2); font-size: .95rem; }
.intl-partners-types svg { width: 18px; height: 18px; color: var(--gold-ink); flex: none; }
.intl-quality { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.intl-quality__logo { background: var(--white); border: 1px solid var(--line); padding: clamp(1.6rem, 4vw, 3rem); display: grid; place-items: center; }
.intl-quality__logo img { max-height: 300px; width: auto; }
.intl-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; margin: 2rem 0; }
.intl-benefits > div { display: grid; grid-template-columns: 36px 1fr; gap: .2rem .9rem; }
.intl-benefits span { grid-row: span 2; color: var(--gold-ink); }
.intl-benefits svg { width: 26px; height: 26px; }
.intl-benefits h3 { font-size: 1rem; margin: 0; color: var(--ink); }
.intl-benefits p { margin: 0; font-size: .9rem; color: var(--ink-3); }
.intl-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.intl-why__item { padding: 1.8rem 1.6rem 0 0; }
.intl-why__item + .intl-why__item { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.intl-why__item span { font-family: var(--display); font-size: 2.6rem; color: var(--gold-ink); line-height: 1; }
.intl-why__item h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.4rem; color: var(--n-800); margin: .6rem 0 .4rem; }
.intl-why__item p { margin: 0; color: var(--ink-3); }
.intl-plan { position: relative; isolation: isolate; }
.intl-plan::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--plan-bg) center / cover no-repeat; opacity: .25; }
.intl-axes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.intl-axis { background: rgba(5, 17, 40, .72); border: 1px solid var(--line-dark); padding: 1.8rem 1.6rem; }
.intl-axis__label { font-family: var(--display); color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }
.intl-axis h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; line-height: 1.05; margin: .4rem 0 .6rem; }
.intl-axis__goal { color: var(--gold-hi); font-size: .92rem; margin: 0 0 1.2rem; }
.intl-axis__item { border-top: 1px solid var(--line-dark); padding: .9rem 0; }
.intl-axis__item h4 { margin: 0 0 .2rem; font-size: .98rem; }
.intl-axis__item p { margin: 0; font-size: .88rem; color: var(--n-300); }
.intl-contact { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .7rem; }
.intl-contact li { display: flex; gap: .7rem; align-items: center; color: var(--ink-2); }
.intl-contact svg { width: 18px; height: 18px; color: var(--gold-ink); flex: none; }
.intl-logos { display: flex; flex-wrap: wrap; gap: 2.4rem; align-items: center; justify-content: center; }
.intl-logos img { height: 140px; width: auto; object-fit: contain; transition: transform .35s var(--ease); }
.intl-logos a:hover img { transform: scale(1.04); }
@media (max-width: 960px) {
  .intl-pillars, .intl-quality, .intl-axes, .intl-why { grid-template-columns: minmax(0, 1fr); }
  .intl-why__item + .intl-why__item { padding-left: 0; border-left: 0; }
  .intl-partners-types { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .intl-benefits { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .intl-offer, .intl-offer:hover, .intl-logos img { transition: none; transform: none; } }

/* CTA de cierre con foto (edificio u oficinas) bajo el velo navy */
.close--photo { isolation: isolate; }
.close__bg { position: absolute; inset: 0; z-index: -1; }
.close__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; opacity: .42; }
.close__bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(8, 25, 59, .72) 0%, rgba(8, 25, 59, .9) 70%), linear-gradient(0deg, var(--n-900) 0%, rgba(8, 25, 59, 0) 30%);
}

/* ---------- Academic Endorsement: aliados + modal ---------- */
.ally-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.4rem; }
.ally {
  position: relative; display: grid; grid-template-rows: auto 1fr; text-align: left; padding: 0; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); overflow: hidden; font: inherit; color: inherit;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.ally:hover, .ally:focus-visible { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.ally__logo { display: grid; place-items: center; height: 210px; padding: 2rem; background: linear-gradient(160deg, #fff 0%, var(--stone) 100%); }
.ally__logo img { max-height: 150px; max-width: 80%; width: auto; transition: transform .6s var(--ease); }
.ally:hover .ally__logo img { transform: scale(1.05); }
.ally__body { display: grid; gap: .3rem; padding: 1.3rem 1.5rem 1.5rem; border-top: 1px solid var(--line); }
.ally__body b { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; letter-spacing: .02em; color: var(--n-800); line-height: 1; }
.ally__body small { color: var(--ink-3); font-size: .92rem; }
.ally__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold-ink); }
.ally__more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.ally:hover .ally__more svg { transform: translateX(4px); }

.ally-modal { border: 0; padding: 0; background: transparent; max-width: min(920px, calc(100vw - 2rem)); width: 100%; max-height: calc(100dvh - 2rem); overflow: visible; color: var(--ink); }
.ally-modal::backdrop { background: rgba(3, 10, 26, .72); backdrop-filter: blur(4px); }
.ally-modal[open] { animation: allyIn .45s var(--ease); }
.ally-modal[open]::backdrop { animation: allyFade .35s ease; }
@keyframes allyIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes allyFade { from { opacity: 0; } to { opacity: 1; } }
.ally-modal__card { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--white); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); max-height: calc(100dvh - 2rem); overflow: auto; }
.ally-modal__logo { display: grid; place-items: center; padding: 2.4rem; background: linear-gradient(160deg, #fff 0%, var(--stone) 100%); border-right: 1px solid var(--line); }
.ally-modal__logo img { max-width: 100%; max-height: 260px; width: auto; }
.ally-modal__body { padding: clamp(1.6rem, 4vw, 2.6rem); }
.ally-modal__seal { display: inline-flex; align-items: center; gap: .45rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--n-800); background: var(--n-100); padding: .4rem .7rem; }
.ally-modal__seal svg { width: 15px; height: 15px; color: var(--gold-ink); }
.ally-modal h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--n-800); margin: 1rem 0 .3rem; }
.ally-modal__role { color: var(--gold-ink); font-weight: 600; margin: 0 0 1rem; }
.ally-modal h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; color: var(--n-800); margin: 1.4rem 0 .7rem; }
.ally-modal__areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ally-modal__areas li { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--line); padding: .45rem .8rem; font-size: .9rem; color: var(--ink-2); }
.ally-modal__areas li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ally); flex: none; }
.ally-modal__links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.ally-modal__links a { display: inline-flex; align-items: center; gap: .45rem; color: var(--n-700); font-weight: 600; text-decoration: none; }
.ally-modal__links a:hover { color: var(--gold-ink); }
.ally-modal__links svg { width: 17px; height: 17px; }
.ally-modal__close { position: absolute; top: .8rem; right: .8rem; z-index: 2; width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: var(--n-900); color: var(--white); cursor: pointer; transition: background .25s; }
.ally-modal__close:hover { background: var(--gold); color: var(--n-900); }
.ally-modal__close svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .ally-modal__card { grid-template-columns: 1fr; }
  .ally-modal__logo { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.6rem; }
  .ally-modal__logo img { max-height: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .ally, .ally__logo img, .ally__more svg { transition: none; }
  .ally-modal[open], .ally-modal[open]::backdrop { animation: none; }
}

/* ---------- Próximamente (Research Projects) ---------- */
.soon__inner { text-align: center; display: grid; justify-items: center; gap: 1.2rem; }
.soon__crest { width: 110px; height: auto; }
.soon__badge { font-family: var(--display); text-transform: uppercase; letter-spacing: .2em; font-size: 1rem; color: var(--n-900); background: var(--gold); padding: .45rem 1.1rem; }
.soon h2 { color: var(--n-800); font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; margin: 0; }
.soon .lede { margin: 0 auto; max-width: 56ch; }
.soon__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: .6rem; }

/* ---------- Palabras del Presidente ---------- */
.pres__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.pres__aside { position: sticky; top: 120px; display: grid; gap: 2.4rem; }
.pres__photo { position: relative; margin: 0; isolation: isolate; }
.pres__photo > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.pres__photo::after { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold-line); z-index: -1; }
.pres__seal { position: absolute; right: -18px; bottom: -22px; width: 104px; height: auto; background: var(--white); border-radius: 50%; padding: 12px; box-shadow: var(--shadow); }
.pres__quote { margin: 0; padding: 1.8rem 1.8rem 1.6rem; background: var(--n-900); color: var(--white); position: relative; }
.pres__quote > span { position: absolute; top: -.2rem; left: 1.2rem; font-family: var(--display); font-size: 5.5rem; line-height: 1; color: var(--gold); }
.pres__quote p { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.05; margin: 1.6rem 0 .8rem; }
.pres__quote cite { font-style: normal; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.pres__eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; }
.pres__letter h2 { color: var(--n-800); margin: .5rem 0 1.6rem; }
.pres__body { font-size: 1.06rem; }
.pres__body > p:first-child { font-size: 1.18rem; color: var(--ink); }
.pres__body > p:first-child::first-letter { float: left; font-family: var(--display); font-size: 4.6rem; line-height: .8; padding: .35rem .6rem 0 0; color: var(--n-800); }
.pres__sign { display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--gold-line); }
.pres__sign img { width: 56px; height: auto; }
.pres__sign strong { display: block; font-family: var(--display); font-size: 1.4rem; text-transform: uppercase; letter-spacing: .03em; color: var(--n-800); }
.pres__sign span { color: var(--ink-3); font-size: .92rem; }
.pres__pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.pres__pillar { border: 1px solid var(--line-dark); padding: 1.6rem 1.4rem; transition: border-color .35s, transform .35s var(--ease); }
.pres__pillar:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.pres__pillar span { width: 48px; height: 48px; display: grid; place-items: center; background: var(--gold); color: var(--n-900); margin-bottom: 1.1rem; }
.pres__pillar svg { width: 22px; height: 22px; }
.pres__pillar h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.3rem; margin: 0 0 .4rem; }
.pres__pillar p { margin: 0; color: var(--n-300); font-size: .93rem; }
@media (max-width: 1024px) { .pres__pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .pres__grid { grid-template-columns: minmax(0, 1fr); }
  .pres__aside { position: static; }
  .pres__photo > img:first-child { aspect-ratio: 16 / 10; }
  .pres__seal { width: 84px; right: 10px; }
}
@media (max-width: 560px) { .pres__pillars { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pres__pillar, .pres__pillar:hover { transition: none; transform: none; } }

/* ---------- Páginas legales ---------- */
.legal { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.legal__toc { position: sticky; top: 120px; border: 1px solid var(--line); padding: 1.4rem 1.4rem 1.2rem; background: var(--stone); }
.legal__toc > span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-ink); }
.legal__toc ol { margin: .8rem 0 1.2rem; padding-left: 1.2rem; display: grid; gap: .45rem; font-size: .9rem; }
.legal__toc a { color: var(--n-800); text-decoration: none; }
.legal__toc a:hover { color: var(--gold-ink); }
.legal__other { display: inline-flex; align-items: center; gap: .4rem; padding-top: 1rem; border-top: 1px solid var(--line); width: 100%; font-weight: 600; font-size: .9rem; }
.legal__other svg { width: 15px; height: 15px; }
.legal__updated { font-size: .85rem; color: var(--ink-3); }
.legal__clause { padding-top: 1.6rem; margin-top: 1.6rem; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.legal__clause h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--n-800); margin: 0 0 .8rem; }
.legal__clause h3 { font-size: 1.02rem; color: var(--ink); margin: 1.2rem 0 .3rem; font-family: var(--text); }
.legal__contact { list-style: none; padding: 1.2rem 1.4rem; margin: 1rem 0 0; background: var(--stone); display: grid; gap: .5rem; }
.legal__contact li { display: flex; gap: .6rem; align-items: center; }
.legal__contact svg { width: 17px; height: 17px; color: var(--gold-ink); flex: none; }
@media (max-width: 960px) { .legal { grid-template-columns: minmax(0, 1fr); } .legal__toc { position: static; } }
.legal__credits { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-3); }

/* ---------- Declaración de accesibilidad ---------- */
.a11y-card { background: var(--n-900); color: var(--white); padding: clamp(1.6rem, 4vw, 2.4rem); }
.a11y-card__icon { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; color: var(--white); margin-bottom: 1.2rem; }
.a11y-card__icon svg { width: 34px; height: 34px; }
.a11y-card h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.6rem; margin: 0 0 .6rem; }
.a11y-card p { color: var(--n-300); margin: 0 0 1.4rem; }
.a11y-card .btn--navy { background: var(--gold); color: var(--n-900); border-color: var(--gold); }
.a11y-feature span { display: inline-grid; place-items: center; width: 40px; height: 40px; background: var(--n-800); color: var(--gold); margin-bottom: .8rem; }
.a11y-feature span svg { width: 20px; height: 20px; }
