:root {
  --ink: #130b22;
  --ink-soft: #625971;
  --deep: #1a0d30;
  --purple: #5b2d8e;
  --purple-2: #7a4bd1;
  --gold: #d4a017;
  --gold-soft: #fff2bf;
  --sky: #dff0ff;
  --mint: #dff7ed;
  --coral: #f26c4f;
  --paper: #fffdf8;
  --content: #f4f7fc;
  --line: rgba(26, 13, 48, 0.12);
  --shadow: 0 24px 70px rgba(26, 13, 48, 0.12);
  --radius: 14px;
  --max: 1180px;
  --display: "Fraunces", "Plus Jakarta Sans", Georgia, serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(212, 160, 23, 0.14), transparent 28rem),
    radial-gradient(circle at 94% 18%, rgba(91, 45, 142, 0.09), transparent 30rem),
    linear-gradient(180deg, #fffdf8 0%, #f7f8fb 100%);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 42px), 1120px);
  min-height: 72px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 52px rgba(26, 13, 48, 0.12);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, box-shadow 220ms ease, top 220ms ease;
}

.site-header.scrolled {
  top: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 46px rgba(26, 13, 48, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 12px 20px rgba(26, 13, 48, 0.16));
}

.brand strong {
  display: block;
  font-family: var(--body);
  font-size: 1.26rem;
  font-weight: 800;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.76rem;
  font-weight: 800;
}

.site-nav a {
  padding: 10px 9px;
  border-radius: 999px;
  color: rgba(19, 11, 34, 0.74);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(91, 45, 142, 0.1);
  color: var(--deep);
  transform: translateY(-1px);
}

.site-nav .nav-portal {
  color: #fff;
  background: var(--deep);
  box-shadow: 0 10px 22px rgba(26, 13, 48, 0.2);
}

.site-nav .nav-portal:hover {
  color: #fff;
  background: var(--purple);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 126px 24px 112px;
  color: #fff;
}

.hero picture,
.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
  object-position: 38% center;
  transform: scale(1.045);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 13, 48, 0.88) 0%, rgba(26, 13, 48, 0.68) 42%, rgba(26, 13, 48, 0.1) 82%),
    linear-gradient(90deg, transparent 58%, rgba(26, 13, 48, 0.28) 100%),
    linear-gradient(0deg, rgba(26, 13, 48, 0.56), transparent 52%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -14vw;
  bottom: -17vw;
  width: 52vw;
  height: 52vw;
  border: 34px solid rgba(212, 160, 23, 0.08);
  border-radius: 44% 56% 48% 52%;
  transform: rotate(-14deg);
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.admissions-copy h2,
.contact-copy h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.2rem, 7.5vw, 7.45rem);
  line-height: 0.9;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.75;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 34px;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
}

.scroll-cue span {
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translate(-2px, -2px);
  animation: cue 1.5s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { opacity: 0.4; transform: rotate(45deg) translate(-4px, -4px); }
  50% { opacity: 1; transform: rotate(45deg) translate(2px, 2px); }
}

.section {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 92px 0;
}

section[id] {
  scroll-margin-top: 136px;
}

.section-heading {
  max-width: 820px;
}

.section-heading h2,
.admissions-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.25rem, 5vw, 5rem);
  line-height: 0.95;
}

.section-heading p:not(.eyebrow),
.admissions-copy p,
.contact-copy p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.8;
}

.intro-band {
  position: relative;
}

.intro-band::after {
  content: "";
  position: absolute;
  right: 2%;
  top: 104px;
  width: 34%;
  height: 56%;
  border: 2px solid rgba(212, 160, 23, 0.26);
  border-radius: 28px;
  transform: rotate(-4deg);
  pointer-events: none;
}

.identity-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.welcome-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 40px;
  padding: 28px;
  border: 1px solid rgba(26, 13, 48, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 242, 191, 0.28)),
    #fff;
  box-shadow: 0 20px 58px rgba(26, 13, 48, 0.09);
}

.welcome-panel::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--purple));
}

.panel-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.welcome-panel h3 {
  margin: 0;
  color: var(--deep);
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.welcome-panel p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}

.identity-card,
.admission-form,
.map-card,
.stats-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.identity-card {
  min-height: 292px;
  padding: 24px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.identity-card:hover,
.path-card:hover {
  transform: translateY(-5px);
  border-color: rgba(91, 45, 142, 0.25);
  box-shadow: 0 28px 80px rgba(26, 13, 48, 0.16);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--gold-soft);
  color: var(--purple);
}

.icon-box svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.identity-card h3 {
  margin: 46px 0 14px;
  color: #17244e;
  font-family: var(--display);
  font-size: 1.42rem;
  line-height: 1.08;
}

.identity-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.stats-section {
  padding-top: 0;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 252, 0.72));
}

.stats-panel article {
  min-height: 154px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  border-right: 1px solid rgba(26, 13, 48, 0.09);
}

.stats-panel article:last-child {
  border-right: 0;
}

.stats-panel strong {
  color: var(--purple);
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1;
}

.stats-panel span {
  margin-top: 8px;
  color: var(--ink-soft);
  font-weight: 900;
}

.advantages-section {
  padding-top: 52px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.advantage-card {
  position: relative;
  min-height: 236px;
  padding: 24px;
  border: 1px solid rgba(26, 13, 48, 0.11);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(26, 13, 48, 0.08);
  overflow: hidden;
}

.advantage-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -36px;
  width: 112px;
  height: 112px;
  border-radius: 36px;
  background: rgba(255, 242, 191, 0.75);
  transform: rotate(12deg);
}

.advantage-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
}

.advantage-card h3,
.life-card h3,
.news-card h3 {
  position: relative;
  z-index: 1;
  margin: 34px 0 12px;
  color: var(--deep);
  font-family: var(--display);
  font-size: 1.28rem;
  line-height: 1.08;
}

.advantage-card p,
.life-card p,
.news-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.62;
}

.offer-section {
  position: relative;
  padding-top: 76px;
}

.academic-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.academic-path::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 34px;
  bottom: 34px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(91, 45, 142, 0.18), transparent);
}

.path-card {
  position: relative;
  min-height: 292px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(180deg, #fff 0%, rgba(255, 253, 248, 0.86) 100%),
    #fff;
  box-shadow: 0 20px 52px rgba(26, 13, 48, 0.1);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.path-card::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -46px;
  width: 150px;
  height: 150px;
  border-radius: 48px;
  opacity: 0.82;
  transform: rotate(14deg);
}

.path-card:nth-child(1)::after { background: var(--mint); }
.path-card:nth-child(2)::after { background: var(--sky); }
.path-card:nth-child(3)::after { background: var(--gold-soft); }
.path-card:nth-child(4)::after { background: rgba(242, 108, 79, 0.16); }

.path-number {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 800;
}

.path-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.path-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--deep);
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.25vw, 3.35rem);
  line-height: 0.94;
}

.path-card p:not(.path-label) {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.path-range {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 14px 0 0;
  padding: 8px 12px;
  border: 1px solid rgba(212, 160, 23, 0.36);
  border-radius: 999px;
  background: rgba(255, 242, 191, 0.66);
  color: var(--deep);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
}

.path-price {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.path-price div {
  display: grid;
  gap: 6px;
  min-height: 78px;
  align-content: center;
  padding: 14px;
  border: 1px solid rgba(26, 13, 48, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.path-price span {
  color: rgba(19, 11, 34, 0.58);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.path-price strong {
  color: var(--deep);
  font-family: var(--display);
  font-size: 1.65rem;
  line-height: 1;
}

.program-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px solid rgba(26, 13, 48, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(26, 13, 48, 0.04), rgba(212, 160, 23, 0.08)),
    rgba(255, 255, 255, 0.86);
}

.program-note p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 800;
  line-height: 1.55;
}

.program-note a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
}

.life-section {
  position: relative;
}

.life-section::before {
  content: "";
  position: absolute;
  inset: 70px 50% 70px auto;
  width: 100vw;
  border-radius: 0 36px 36px 0;
  background: linear-gradient(135deg, rgba(26, 13, 48, 0.06), rgba(212, 160, 23, 0.08));
  transform: translateX(50%);
  pointer-events: none;
}

.life-grid,
.news-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  margin-top: 38px;
}

.life-grid {
  grid-template-columns: repeat(4, 1fr);
}

.life-card {
  min-height: 264px;
  padding: 24px;
  border: 1px solid rgba(26, 13, 48, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(26, 13, 48, 0.08);
  backdrop-filter: blur(14px);
}

.life-card h3 {
  margin-top: 38px;
}

.admissions-section {
  width: min(calc(100% - 36px), var(--max));
  max-width: var(--max);
  padding: 20px 0 92px;
  background: transparent;
  color: var(--ink);
}

.admissions-layout {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: 40px;
  align-items: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(223, 240, 255, 0.52)),
    #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.admissions-layout::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--gold), var(--purple));
}

.admissions-copy h2 {
  color: var(--ink);
}

.admissions-copy p {
  color: var(--ink-soft);
}

.admission-steps {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.admission-steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(26, 13, 48, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.admission-steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--deep);
  font-weight: 900;
}

.admission-steps p {
  margin: 0;
  color: var(--deep);
  font-weight: 800;
  line-height: 1.45;
}

.admission-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(26, 13, 48, 0.1);
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(26, 13, 48, 0.08);
}

.admission-form label {
  display: grid;
  gap: 8px;
  color: var(--deep);
  font-weight: 900;
}

.admission-form input,
.admission-form select,
.admission-form textarea {
  width: 100%;
  border: 1px solid rgba(26, 13, 48, 0.14);
  border-radius: 14px;
  padding: 14px 16px;
  background: #f8f9fc;
  color: var(--ink);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.admission-form input:focus,
.admission-form select:focus,
.admission-form textarea:focus {
  border-color: rgba(91, 45, 142, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(91, 45, 142, 0.11);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--purple), var(--deep));
  color: #fff;
  box-shadow: 0 18px 36px rgba(91, 45, 142, 0.22);
}

.button-ghost {
  border-color: rgba(26, 13, 48, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--deep);
}

.form-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.5;
}

.alliances-section {
  padding-bottom: 70px;
}

.logo-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 38px;
}

.logo-track div {
  min-height: 116px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(26, 13, 48, 0.08);
}

.logo-track img {
  max-height: 74px;
  width: auto;
  object-fit: contain;
}

.news-section {
  padding-top: 34px;
}

.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.news-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(26, 13, 48, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 252, 0.72)),
    #fff;
  box-shadow: 0 18px 48px rgba(26, 13, 48, 0.08);
}

.news-card span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(91, 45, 142, 0.1);
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card h3 {
  margin-top: 28px;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 36px;
  align-items: stretch;
  padding-top: 50px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(26, 13, 48, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--deep);
  font-size: 0.92rem;
  font-weight: 900;
  box-shadow: 0 12px 34px rgba(26, 13, 48, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 45, 142, 0.25);
  box-shadow: 0 18px 44px rgba(26, 13, 48, 0.12);
}

.contact-link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link.icon-only {
  color: var(--purple);
}

.map-card {
  overflow: hidden;
  min-height: 390px;
  background: #fff;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
  filter: saturate(0.9) contrast(1.02);
}

.footer {
  width: min(calc(100% - 36px), var(--max));
  margin: 10px auto 26px;
  padding: 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer p {
  margin: 0;
}

.footer small {
  display: block;
  margin-top: 8px;
  max-width: 640px;
  color: rgba(98, 89, 113, 0.78);
  line-height: 1.55;
}

.footer a {
  color: var(--deep);
  font-weight: 900;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@media (max-width: 1040px) {
  .site-nav {
    position: fixed;
    inset: 92px 18px auto;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-toggle {
    display: block;
  }

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

  .welcome-panel,
  .advantage-grid,
  .life-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content {
    margin: 0;
  }

  .admissions-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .logo-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 14px;
    width: min(calc(100% - 24px), 1180px);
    min-height: 66px;
    padding: 8px 10px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand small {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
  }

  .hero {
    min-height: 92vh;
    padding: 116px 18px 94px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(26, 13, 48, 0.86) 0%, rgba(26, 13, 48, 0.76) 48%, rgba(26, 13, 48, 0.9) 100%),
      linear-gradient(90deg, rgba(26, 13, 48, 0.68), transparent);
  }

  .hero picture img {
    object-position: 50% center;
    transform: none;
  }

  .hero::after {
    width: 95vw;
    height: 95vw;
    right: -46vw;
    bottom: -42vw;
    border-width: 20px;
    opacity: 0.26;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 13.2vw, 4.25rem);
    line-height: 0.94;
  }

  .eyebrow {
    gap: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.11em;
  }

  .section {
    width: min(calc(100% - 28px), var(--max));
    padding: 70px 0;
  }

  section[id] {
    scroll-margin-top: 104px;
  }

  .identity-grid,
  .welcome-panel,
  .advantage-grid,
  .academic-path,
  .life-grid,
  .news-grid,
  .stats-panel,
  .logo-track {
    grid-template-columns: 1fr;
  }

  .academic-path::before {
    left: 32px;
  }

  .identity-card,
  .path-card {
    min-height: auto;
  }

  .identity-card h3 {
    margin-top: 30px;
  }

  .stats-panel article {
    min-height: 118px;
    border-right: 0;
    border-bottom: 1px solid rgba(26, 13, 48, 0.09);
  }

  .stats-panel article:last-child {
    border-bottom: 0;
  }

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

  .program-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .life-section::before {
    inset: 58px 0 58px 0;
    width: auto;
    border-radius: 24px;
    transform: none;
  }

  .admissions-section {
    width: min(calc(100% - 28px), var(--max));
    padding: 20px 0 70px;
  }

  .admissions-layout {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .admission-form {
    padding: 18px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
