@font-face {
  font-family: "Montreal";
  src: url("assets/fonts/montreal-regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --blue: #344596;
  --blue-deep: #18275f;
  --blue-ink: #101c47;
  --sky: #75b9cf;
  --sky-soft: #dceff5;
  --paper: #ffffff;
  --mist: #f4f8fb;
  --line: #d9e3eb;
  --ink: #18213c;
  --muted: #5b6479;
  --success: #1c6d62;
  --header-height: 82px;
  --container: 1180px;
  --reading: 780px;
  --shadow: 0 24px 60px rgba(16, 28, 71, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montreal", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: var(--paper);
  color: var(--blue-ink);
  box-shadow: var(--shadow);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.reading-width {
  width: min(100%, var(--reading));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 227, 235, 0.85);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 40px), 1400px);
  height: 100%;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-link {
  flex: 0 0 auto;
}

.brand-link img {
  width: 220px;
  height: auto;
}

.site-nav {
  height: 100%;
}

.site-nav > ul {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(0.3rem, 1vw, 1rem);
  list-style: none;
}

.nav-link,
.submenu-toggle {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  padding: 0.55rem 0.45rem;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: var(--blue-ink);
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: none;
}

.nav-link::after,
.submenu-toggle::after {
  position: absolute;
  right: 0.45rem;
  bottom: 5px;
  left: 0.45rem;
  height: 2px;
  background: var(--sky);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.submenu-toggle:hover::after,
.has-submenu:focus-within > .submenu-toggle::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link[aria-current="page"],
.has-submenu.is-current > .submenu-toggle {
  color: var(--blue);
}

.has-submenu {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.submenu-toggle .chevron {
  display: inline-block;
  font-size: 0.9rem;
  transition: transform 180ms ease;
}

.has-submenu:hover .chevron,
.has-submenu:focus-within .chevron,
.has-submenu.is-open .chevron {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: calc(100% - 8px);
  right: -1rem;
  width: 290px;
  margin: 0;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.is-open .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 9px;
  color: var(--blue-ink);
  font-size: 0.92rem;
  line-height: 1.35;
  text-decoration: none;
}

.submenu a:hover,
.submenu a[aria-current="page"] {
  background: var(--mist);
  color: var(--blue);
}

.menu-toggle {
  position: relative;
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-ink);
  cursor: pointer;
  place-items: center;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  position: absolute;
  top: 23px;
  left: 11px;
  display: block;
  width: 25px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 200ms ease, opacity 150ms ease;
}

.menu-toggle span {
  transform: translateY(0);
}

.menu-toggle::before {
  transform: translateY(-8px);
}

.menu-toggle::after {
  transform: translateY(8px);
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}

.hero {
  --hero-image: none;
  position: relative;
  min-height: clamp(500px, 68svh, 740px);
  overflow: hidden;
  display: grid;
  align-items: end;
  background: var(--blue-deep);
  isolation: isolate;
}

.hero--home {
  min-height: calc(100svh - var(--header-height));
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  content: "";
  animation: hero-scale 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 28, 71, 0.91) 0%, rgba(16, 28, 71, 0.72) 34%, rgba(16, 28, 71, 0.2) 70%, rgba(16, 28, 71, 0.04) 100%),
    linear-gradient(0deg, rgba(8, 18, 55, 0.44) 0%, transparent 42%);
  content: "";
}

@keyframes hero-scale {
  from {
    opacity: 0.65;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-inner {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.hero-copy {
  width: min(700px, 75%);
  color: var(--paper);
  animation: hero-copy 760ms 120ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes hero-copy {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: flex;
  margin: 0 0 1rem;
  align-items: center;
  gap: 0.8rem;
  color: var(--blue);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero .eyebrow,
.section--blue .eyebrow {
  color: var(--sky);
}

.eyebrow::before {
  width: 38px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero h1,
.page-title {
  margin: 0;
  color: var(--paper);
  font-size: clamp(2.75rem, 6vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero--home h1 {
  max-width: 900px;
}

.hero-lead {
  max-width: 640px;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0.75rem 1.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--blue);
  color: var(--paper);
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

.button--light {
  background: var(--paper);
  color: var(--blue-ink);
}

.button--light:hover {
  background: var(--sky-soft);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.58);
  background: transparent;
}

.button--ghost:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
}

.button--outline {
  border-color: var(--blue);
  background: transparent;
  color: var(--blue);
}

.button--outline:hover {
  background: var(--blue);
  color: var(--paper);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section--compact {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.section--mist {
  background: var(--mist);
}

.section--blue {
  background: var(--blue-deep);
  color: var(--paper);
}

.section--sky {
  background: var(--sky-soft);
}

.section-heading {
  max-width: 860px;
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading h2,
.section-title {
  margin: 0;
  color: var(--blue-ink);
  font-size: clamp(2.2rem, 4.6vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-wrap: balance;
}

.section--blue .section-heading h2,
.section--blue .section-title {
  color: var(--paper);
}

.section-heading p {
  max-width: 720px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section--blue .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 7rem);
}

.intro-aside {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.intro-aside .section-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.intro-aside strong {
  display: block;
  margin-top: 1rem;
  color: var(--blue-ink);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.prose > :first-child {
  margin-top: 0;
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose p {
  margin: 0 0 1.3rem;
}

.prose h2,
.prose h3,
.prose h4 {
  color: var(--blue-ink);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.prose h2 {
  margin: 3.5rem 0 1.25rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.prose h3 {
  margin: 2.75rem 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.prose h4 {
  margin: 2.2rem 0 0.8rem;
  font-size: 1.25rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.55rem;
  padding-left: 0.25rem;
}

.lead {
  color: var(--blue-ink);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.fact-row {
  display: grid;
  margin-top: 3rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.fact {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--paper);
}

.fact span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--blue);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.15;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.path-link {
  position: relative;
  min-height: 330px;
  padding: clamp(1.6rem, 4vw, 3rem);
  border-right: 1px solid var(--line);
  color: var(--blue-ink);
  overflow: hidden;
  text-decoration: none;
  transition: background 220ms ease, color 220ms ease;
}

.path-link:last-child {
  border-right: 0;
}

.path-link::after {
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 140px;
  height: 140px;
  border: 32px solid var(--sky-soft);
  border-radius: 50%;
  content: "";
  transition: border-color 220ms ease, transform 320ms ease;
}

.path-link:hover {
  background: var(--blue-deep);
  color: var(--paper);
}

.path-link:hover::after {
  border-color: rgba(117, 185, 207, 0.3);
  transform: scale(1.18);
}

.path-index {
  display: block;
  color: var(--blue);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.path-link:hover .path-index {
  color: var(--sky);
}

.path-link h3 {
  max-width: 290px;
  margin: 4rem 0 0.9rem;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.path-link p {
  position: relative;
  z-index: 1;
  max-width: 290px;
  margin: 0;
  color: var(--muted);
}

.path-link:hover p {
  color: rgba(255, 255, 255, 0.72);
}

.path-arrow {
  position: absolute;
  z-index: 1;
  right: 2rem;
  bottom: 2rem;
  font-size: 1.5rem;
}

.callout {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem);
  border-left: 4px solid var(--sky);
  background: var(--mist);
}

.callout h2,
.callout h3 {
  margin: 0 0 1rem;
  color: var(--blue-ink);
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.callout p:last-child {
  margin-bottom: 0;
}

.program-group + .program-group {
  margin-top: 5rem;
}

.group-header {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.group-header h2 {
  margin: 0;
  color: var(--blue-ink);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.status {
  display: inline-flex;
  padding: 0.45rem 0.75rem;
  align-items: center;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--blue-deep);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.status--pending {
  background: #eef1f5;
  color: #555f70;
}

.program-list {
  border-top: 1px solid var(--line);
}

.program {
  border-bottom: 1px solid var(--line);
}

.program summary,
.research-project summary {
  position: relative;
  cursor: pointer;
  list-style: none;
}

.program summary::-webkit-details-marker,
.research-project summary::-webkit-details-marker {
  display: none;
}

.program summary {
  display: grid;
  min-height: 110px;
  padding: 1.5rem 4.5rem 1.5rem 0;
  align-items: center;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 1rem;
}

.program summary::after,
.research-project summary::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  content: "+";
  display: grid;
  line-height: 1;
  place-items: center;
  transform: translateY(-50%);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.program[open] summary::after,
.research-project[open] summary::after {
  background: var(--blue);
  color: var(--paper);
  content: "−";
}

.program-number {
  color: var(--blue);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.program-title {
  color: var(--blue-ink);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.25;
  text-decoration-color: rgba(23, 78, 141, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.program-title:hover {
  color: var(--blue);
  text-decoration-color: currentColor;
}

.program-kind {
  color: var(--muted);
  font-size: 0.82rem;
}

.program-content {
  max-width: 900px;
  padding: 0 4.5rem 2.25rem 86px;
}

.program-content p {
  margin-top: 0;
}

.program-content .button {
  margin-top: 0.5rem;
}

.notice {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--mist);
  color: var(--muted);
  font-size: 0.94rem;
}

.research-group {
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.research-group + .research-group {
  margin-top: clamp(5rem, 10vw, 9rem);
  padding-top: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--line);
}

.research-label {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.research-label .index {
  color: var(--blue);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.research-label h2 {
  margin: 1rem 0 0;
  color: var(--blue-ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.research-line {
  margin: 1rem 0 0;
  color: var(--blue);
  line-height: 1.4;
}

.research-summary > p:first-child {
  margin-top: 0;
}

.research-project {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.research-project summary {
  padding: 1.5rem 4rem 1.5rem 0;
  color: var(--blue-ink);
  font-size: 1.08rem;
}

.project-content {
  padding: 1rem 0 2.5rem;
}

.project-content h3 {
  margin-top: 2.75rem;
}

.phase-grid {
  display: grid;
  margin-block: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.phase {
  padding: 1.5rem;
  background: var(--paper);
}

.phase span {
  color: var(--blue);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.phase h4 {
  margin: 0.5rem 0 0.75rem;
  color: var(--blue-ink);
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.3;
}

.phase p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.timeline {
  margin: 2rem 0;
  border-left: 2px solid var(--sky);
}

.timeline-title {
  margin-top: 2.5rem !important;
  color: var(--blue-ink);
  font-size: 1.08rem;
  font-weight: 600;
}

.timeline-item {
  position: relative;
  padding: 0 0 1.5rem 1.75rem;
}

.timeline-item::before {
  position: absolute;
  top: 0.45rem;
  left: -7px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.timeline-item strong {
  display: block;
  color: var(--blue-ink);
}

.timeline-item p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.step {
  min-height: 320px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--blue-deep);
}

.step::before {
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-bottom: 4.5rem;
  background: var(--sky);
  content: "";
}

.step h3 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 7vw, 7rem);
}

.benefit-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding: 1.15rem 0 1.15rem 2.2rem;
  border-bottom: 1px solid var(--line);
}

.benefit-list li::before {
  position: absolute;
  top: 1.42rem;
  left: 0;
  width: 10px;
  height: 10px;
  border: 3px solid var(--sky);
  border-radius: 50%;
  content: "";
}

.story {
  position: relative;
  width: min(100%, 880px);
  margin-inline: auto;
}

.story::before {
  position: absolute;
  top: -2rem;
  left: -7rem;
  color: var(--sky-soft);
  content: "“";
  font-family: Georgia, serif;
  font-size: 13rem;
  line-height: 1;
  pointer-events: none;
}

.story h2 {
  position: relative;
  margin: 0 0 2.5rem;
  color: var(--blue-ink);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.story p {
  position: relative;
  margin: 0 0 1.35rem;
}

.story-end {
  margin-top: 2.5rem !important;
  color: var(--blue);
  font-size: 1.35rem;
}

.process-copy {
  margin-top: 2rem !important;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--sky);
  background: var(--mist);
  color: var(--blue-ink);
}

.cta-link {
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.cta-link:hover {
  text-decoration-color: currentColor;
}

.process-line {
  display: flex;
  margin: 2rem 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
}

.process-line li {
  display: inline-flex;
  padding: 0.6rem 0.85rem;
  align-items: center;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--blue-deep);
  font-size: 0.88rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(2.5rem, 8vw, 8rem);
}

.contact-note h2 {
  margin: 0;
  color: var(--blue-ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.contact-note p {
  color: var(--muted);
}

.email-placeholder {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.email-placeholder span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.email-placeholder strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label,
.form-legend {
  color: var(--blue-ink);
  font-size: 0.88rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 0.95rem;
  border: 1px solid #bdcbd7;
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea {
  min-height: 170px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(117, 185, 207, 0.22);
  outline: 0;
}

.checkbox {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 0.3rem;
  accent-color: var(--blue);
}

.checkbox a {
  color: var(--blue);
}

.form-actions {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-status {
  margin: 0;
  color: var(--success);
  font-size: 0.92rem;
}

.form-hint {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.cta-band {
  display: flex;
  padding: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--blue);
  color: var(--paper);
}

.cta-band h2 {
  max-width: 720px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.8rem, 4vw, 3.35rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.legal-banner {
  padding: 1rem 1.25rem;
  border-left: 4px solid #d3982f;
  background: #fff8e8;
  color: #66501f;
}

.legal-content {
  width: min(calc(100% - 40px), 860px);
  margin-inline: auto;
}

.legal-content h1 {
  margin: 0;
  color: var(--blue-ink);
  font-size: clamp(2.7rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.legal-content h2 {
  margin: 3rem 0 1rem;
  color: var(--blue-ink);
  font-size: 1.7rem;
  font-weight: 400;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  padding-block: clamp(3rem, 7vw, 5rem) 2rem;
  background: var(--blue-ink);
  color: var(--paper);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(160px, 0.6fr));
  gap: clamp(2rem, 6vw, 6rem);
}

.footer-brand {
  width: 230px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--paper);
}

.footer-intro {
  max-width: 420px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-column h2 {
  margin: 0 0 1rem;
  color: var(--sky);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li + li {
  margin-top: 0.55rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  margin-top: 4rem;
  padding-top: 1.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1120px) {
  .site-header {
    height: 74px;
  }

  :root {
    --header-height: 74px;
  }

  .brand-link img {
    width: 190px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;
    height: calc(100svh - var(--header-height));
    padding: 1rem 20px 3rem;
    background: var(--paper);
    opacity: 0;
    overflow-y: auto;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > ul {
    display: block;
    height: auto;
  }

  .site-nav > ul > li {
    border-bottom: 1px solid var(--line);
  }

  .nav-link,
  .submenu-toggle {
    width: 100%;
    min-height: 64px;
    padding-inline: 0;
    justify-content: space-between;
    font-size: 1.04rem;
  }

  .nav-link::after,
  .submenu-toggle::after {
    display: none;
  }

  .has-submenu {
    display: block;
    height: auto;
  }

  .submenu {
    position: static;
    width: auto;
    max-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    overflow: hidden;
    pointer-events: none;
    transform: none;
    transition: max-height 220ms ease, padding 220ms ease;
  }

  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    max-height: 0;
    padding: 0;
  }

  .has-submenu.is-open .submenu,
  .has-submenu.is-open:hover .submenu,
  .has-submenu.is-open:focus-within .submenu {
    max-height: 220px;
    padding: 0 0 0.7rem;
    pointer-events: auto;
  }

  .submenu a {
    padding-inline: 1rem;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .container,
  .hero-inner,
  .header-inner,
  .legal-content {
    width: min(calc(100% - 30px), var(--container));
  }

  .hero {
    min-height: 580px;
  }

  .hero--home {
    min-height: calc(100svh - var(--header-height));
  }

  .hero::before {
    background-position: 58% center;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(16, 28, 71, 0.92) 0%, rgba(16, 28, 71, 0.66) 62%, rgba(16, 28, 71, 0.23) 100%),
      linear-gradient(0deg, rgba(8, 18, 55, 0.55) 0%, transparent 55%);
  }

  .hero-copy {
    width: 92%;
  }

  .intro-grid,
  .research-group,
  .contact-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .intro-aside,
  .research-label {
    position: static;
  }

  .path-grid {
    grid-template-columns: 1fr;
  }

  .path-link {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .path-link:last-child {
    border-bottom: 0;
  }

  .path-link h3 {
    margin-top: 2.75rem;
  }

  .program summary {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .program-kind {
    grid-column: 2;
  }

  .program-content {
    padding-left: 64px;
  }

  .phase-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .brand-link img {
    width: 172px;
  }

  .hero {
    min-height: 600px;
  }

  .hero::before {
    background-position: 64% center;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1,
  .page-title {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .fact-row,
  .steps,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .program summary {
    min-height: 96px;
    padding-right: 3.3rem;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0.6rem;
  }

  .program-content {
    padding: 0 0 2rem 42px;
  }

  .story::before {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Estado temporal de la web y acceso privado */
html:not(.site-authorized) body {
  overflow: hidden;
}

html:not(.site-authorized) body > *:not(.construction-gate) {
  display: none !important;
}

html:not(.site-authorized) body[data-ucl-server-gate] > noscript {
  display: grid !important;
}

.construction-noscript {
  position: fixed;
  z-index: 10000;
  inset: 0;
  padding: 2rem;
  background:
    linear-gradient(90deg, rgba(9, 20, 61, 0.94), rgba(18, 39, 92, 0.45)),
    url("assets/images/heroes/hero-inicio.webp") center / cover no-repeat;
  color: #fff;
  place-items: center start;
}

.construction-noscript p {
  max-width: 660px;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 0.96;
}

.construction-gate {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  grid-template-rows: auto 1fr;
  background: #15245c url("assets/images/heroes/hero-inicio.webp") center / cover no-repeat;
  color: #fff;
  isolation: isolate;
  opacity: 1;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.construction-gate::before {
  position: absolute;
  z-index: -2;
  inset: -3%;
  background: inherit;
  content: "";
  animation: construction-drift 18s ease-out both;
}

.construction-gate::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 20, 61, 0.92) 0%, rgba(18, 39, 92, 0.67) 39%, rgba(18, 39, 92, 0.17) 72%),
    linear-gradient(0deg, rgba(7, 17, 49, 0.52) 0%, transparent 42%);
  content: "";
}

.construction-gate.is-leaving {
  visibility: hidden;
  opacity: 0;
}

.construction-gate__wash {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(83, 164, 196, 0.11));
  pointer-events: none;
}

.construction-gate__header {
  display: flex;
  width: 100%;
  padding: clamp(1.4rem, 3.5vw, 3.2rem) clamp(1.4rem, 5vw, 5.75rem);
  align-items: center;
  justify-content: space-between;
  animation: construction-enter 760ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.construction-gate__logo {
  width: clamp(190px, 17vw, 258px);
  height: auto;
  filter: brightness(0) invert(1);
}

.construction-gate__access {
  display: inline-flex;
  min-height: 48px;
  padding: 0.6rem 1.2rem 0.6rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  align-items: center;
  gap: 0.75rem;
  background: rgba(10, 25, 67, 0.15);
  color: #fff;
  cursor: pointer;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.construction-gate__access svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.construction-gate__access:hover {
  border-color: #fff;
  background: #fff;
  color: var(--blue-ink);
  transform: translateY(-2px);
}

.construction-gate__content {
  display: flex;
  width: min(100%, 1500px);
  margin-inline: auto;
  padding: clamp(3rem, 8vh, 7rem) clamp(1.4rem, 7.2vw, 7rem) clamp(2rem, 6vh, 5rem);
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
}

.construction-gate__eyebrow {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.72rem, 1vw, 0.86rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: construction-enter 760ms 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.construction-gate h1 {
  max-width: 940px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.25rem, 7.5vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
  text-wrap: balance;
  animation: construction-enter 900ms 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.construction-gate__footer {
  display: flex;
  max-width: 940px;
  margin-top: clamp(2rem, 6vh, 4.5rem);
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  animation: construction-enter 760ms 440ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.construction-gate__footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
}

.construction-gate__status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.construction-gate__status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #76c8d7;
  box-shadow: 0 0 0 0 rgba(118, 200, 215, 0.55);
  animation: construction-pulse 2.3s infinite;
}

.construction-modal {
  position: fixed;
  z-index: 2;
  inset: 0;
  display: grid;
  visibility: hidden;
  padding: 1.25rem;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.construction-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.construction-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 13, 40, 0.68);
  cursor: default;
  backdrop-filter: blur(12px);
}

.construction-modal__panel {
  position: relative;
  width: min(100%, 480px);
  padding: clamp(2rem, 5vw, 3.75rem);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  background: rgba(247, 250, 253, 0.98);
  box-shadow: 0 32px 100px rgba(4, 12, 38, 0.38);
  color: var(--blue-ink);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 280ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.construction-modal.is-open .construction-modal__panel {
  opacity: 1;
  transform: none;
}

.construction-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--blue-ink);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.construction-modal__close::before,
.construction-modal__close::after {
  position: absolute;
  top: 20px;
  left: 12px;
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}

.construction-modal__close::after {
  transform: rotate(-45deg);
}

.construction-modal__close:hover {
  background: var(--sky-soft);
  transform: rotate(5deg);
}

.construction-modal__kicker {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.construction-modal h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.construction-modal__intro {
  margin: 1rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.construction-modal__form label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--blue-ink);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.construction-modal__field {
  position: relative;
}

.construction-modal__field input {
  width: 100%;
  height: 56px;
  padding: 0 3.5rem 0 1rem;
  border: 1px solid #c7d3df;
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: var(--blue-ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.construction-modal__field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(52, 69, 150, 0.12);
}

.construction-modal__field button {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  place-items: center;
}

.construction-modal__field svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.construction-modal__error {
  min-height: 1.5rem;
  margin: 0.45rem 0 0.65rem;
  color: #a02e3d;
  font-size: 0.82rem;
  line-height: 1.45;
}

.construction-modal__submit {
  display: flex;
  width: 100%;
  min-height: 54px;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--blue-deep);
  align-items: center;
  justify-content: space-between;
  background: var(--blue-deep);
  color: #fff;
  cursor: pointer;
  transition: background 190ms ease, color 190ms ease, transform 190ms ease;
}

.construction-modal__submit:hover {
  background: transparent;
  color: var(--blue-deep);
  transform: translateY(-1px);
}

.construction-modal__submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.construction-modal__submit span {
  font-size: 1.25rem;
  transition: transform 190ms ease;
}

.construction-modal__submit:hover span {
  transform: translateX(4px);
}

.construction-modal__form.has-error {
  animation: construction-shake 320ms ease;
}

@keyframes construction-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes construction-drift {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1);
  }
}

@keyframes construction-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(118, 200, 215, 0.58);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(118, 200, 215, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(118, 200, 215, 0);
  }
}

@keyframes construction-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  30% {
    transform: translateX(-6px);
  }
  60% {
    transform: translateX(5px);
  }
}

@media (max-width: 720px) {
  .construction-gate::after {
    background:
      linear-gradient(90deg, rgba(9, 20, 61, 0.88) 0%, rgba(18, 39, 92, 0.52) 70%),
      linear-gradient(0deg, rgba(7, 17, 49, 0.72) 0%, transparent 70%);
  }

  .construction-gate__header {
    padding: 1.25rem;
  }

  .construction-gate__logo {
    width: 170px;
  }

  .construction-gate__access {
    min-height: 44px;
    padding-inline: 1rem;
  }

  .construction-gate__content {
    padding: 3rem 1.4rem 2rem;
    justify-content: flex-end;
  }

  .construction-gate h1 {
    font-size: clamp(3rem, 14vw, 5.25rem);
    line-height: 0.94;
  }

  .construction-gate__footer {
    margin-top: 2rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 420px) {
  .construction-gate__logo {
    width: 144px;
  }

  .construction-gate__access span {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .construction-gate__access {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .construction-gate__eyebrow {
    margin-bottom: 1rem;
    letter-spacing: 0.16em;
  }

  .construction-gate h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }
}
