/* Avenir Private Hospital — design system */
:root {
  --sky: #88bfe6;
  --sky-deep: #5fa3d4;
  --sky-soft: #d7ebf7;
  --slate: #768290;
  --slate-deep: #5c6672;
  --ink: #1a2330;
  --ink-soft: #2c3848;
  --mist: #eef3f7;
  --paper: #f7fafc;
  --white: #ffffff;
  --line: rgba(26, 35, 48, 0.1);
  --emergency: #c4473a;
  --success: #2f7a5c;
  --shadow: 0 18px 50px rgba(26, 35, 48, 0.12);
  --radius: 18px;
  --max: 1180px;
  --nav-h: 96px;
  --nav-accent: #3d9bc8;
  --font-display: "Outfit", sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-ui: "Outfit", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(136, 191, 230, 0.28), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(118, 130, 144, 0.12), transparent 45%),
    linear-gradient(180deg, #f4f8fb 0%, var(--paper) 40%, #eef2f5 100%);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
  font-family: var(--font-body);
  color: var(--ink-soft);
}

.lede {
  font-size: 1.15rem;
  max-width: 38rem;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Site chrome (utility + nav) — Erasme sticky/compact on scroll */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #fff;
  transition: box-shadow 0.35s var(--ease);
}

.site-chrome.is-stuck {
  box-shadow: 2px 2px 30px rgba(22, 25, 29, 0.18);
}

/* Top utility — Erasme-style secondary strip */
.utility {
  background: #eef3f6;
  color: #6b7280;
  font-size: 0.8rem;
  font-family: var(--font-ui);
  border-bottom: 0;
  overflow: hidden;
  max-height: 48px;
  opacity: 1;
  transition:
    max-height 0.35s var(--ease),
    opacity 0.3s var(--ease),
    padding 0.35s var(--ease);
}

.site-chrome.is-compact .utility {
  max-height: 0;
  opacity: 0;
  padding-block: 0;
  pointer-events: none;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  flex-wrap: wrap;
  padding-block: 0.3rem;
}

.utility a {
  color: inherit;
  transition: color 0.2s var(--ease);
}

.utility a:hover {
  color: var(--ink);
}

.utility-left,
.utility-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.utility-note {
  font-size: 0.78rem;
  color: #8b93a0;
}

.utility-sep {
  width: 1px;
  height: 14px;
  background: rgba(26, 35, 48, 0.16);
}

.utility-portal {
  font-weight: 600;
  color: var(--ink-soft) !important;
}

.lang-switch {
  display: inline-flex;
  gap: 0.2rem;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.78rem;
}

.lang-switch button[aria-pressed="true"],
.lang-switch button:hover {
  background: rgba(26, 35, 48, 0.08);
  color: var(--ink);
}

/* Header */
.site-header {
  position: relative;
  z-index: 50;
  background: #fff;
  border-bottom: 0;
  box-shadow: none;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  transition: min-height 0.35s var(--ease);
}

.site-chrome.is-compact .nav-bar {
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 58px;
  width: auto;
  transition: height 0.35s var(--ease);
}

.site-chrome.is-compact .brand img {
  height: 44px;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 8px;
  margin-right: 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.62;
  color: #434656;
  border-radius: 0;
  white-space: nowrap;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: color 0.2s var(--ease);
}

.nav-chevron {
  margin-left: 14px;
  flex-shrink: 0;
  opacity: 0.9;
  transition: transform 0.25s var(--ease);
}

.has-mega.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-link:hover,
.nav-link[aria-current="page"],
.has-mega.is-open > .nav-link {
  color: var(--ink);
  background: transparent;
}

.has-mega {
  position: static;
}

.mega-panel {
  position: absolute;
  left: 50%;
  top: calc(100% - 2px);
  z-index: 60;
  width: min(1008px, calc(100% - 2rem));
  transform: translateX(-50%);
  background: #fff;
  border-radius: 4px;
  box-shadow:
    0 4px 6px -1px rgba(43, 50, 59, 0.1),
    0 2px 4px -1px rgba(43, 50, 59, 0.06);
  padding: 0;
  overflow: hidden;
}

.mega-grid {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  align-items: stretch;
}

.mega-intro {
  background: #eaf6fc;
  border: 0;
  border-radius: 0;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mega-intro h3 {
  font-family: var(--font-ui);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #232634;
  margin: 0 0 16px;
}

.mega-intro p {
  margin: 0 0 24px;
  max-width: 26rem;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  color: #232634;
}

.mega-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 8px 20px;
  border-radius: 4px;
  background: var(--nav-accent);
  border: 1px solid var(--nav-accent);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.mega-more:hover {
  background: #3187b4;
  border-color: #3187b4;
  color: #fff;
}

.mega-links {
  list-style: none;
  margin: 0;
  padding: 36px 40px 36px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.mega-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 2px;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #434656;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: none;
  transform: none;
  transition: color 0.2s var(--ease);
}

.mega-links a:hover,
.mega-links a[aria-current="page"] {
  border: 0;
  background: transparent;
  color: var(--ink);
  transform: none;
  box-shadow: none;
}

.mega-links img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
}

.nav-search {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-right: 14px;
  border-radius: 0;
  border: 0;
  color: var(--nav-accent);
  background: transparent;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-search:hover {
  background: transparent;
  opacity: 0.75;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 4px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-btn-emergency {
  background: var(--nav-accent);
  border-color: var(--nav-accent);
  color: #fff;
}

.nav-btn-emergency:hover {
  background: #3187b4;
  border-color: #3187b4;
  color: #fff;
}

.nav-btn-appoint {
  background: transparent;
  border-color: var(--nav-accent);
  color: var(--nav-accent);
}

.nav-btn-appoint:hover {
  background: rgba(136, 191, 230, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 10px 28px rgba(26, 35, 48, 0.22);
}

.btn-primary:hover {
  background: #101820;
}

.btn-sky {
  background: var(--sky);
  color: var(--ink);
}

.btn-sky:hover {
  background: var(--sky-deep);
  color: white;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: white;
  color: var(--ink);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--sky-deep);
  background: rgba(136, 191, 230, 0.12);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Video hero — video locked to left column; logo-gray right panel with sketch S-curve */
.hero--video {
  --hero-accent: #89c0e7;
  --hero-ink: #ffffff;
  --hero-gray: #596273;
  /* Furthest right of the divider curve (~59.6%) + small seam */
  --hero-media-width: 60%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100vh - 134px);
  min-height: calc(100dvh - 134px);
  overflow: hidden;
  color: var(--hero-ink);
  background: var(--hero-gray);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: auto;
  width: var(--hero-media-width);
  max-width: var(--hero-media-width);
  overflow: hidden;
  background: #0f1822;
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  opacity: 1;
  filter: none;
}

.hero-aside {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-aside-shape--mobile {
  display: none;
}

.hero-panel {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 4.5rem 0 2rem;
}

.hero-panel-inner {
  display: flex;
  justify-content: flex-end;
}

.hero-copy {
  width: min(420px, 90%);
  margin-right: clamp(0.35rem, 1.5vw, 1.25rem);
  text-align: right;
  animation: brandIn 0.9s var(--ease) both;
}

@keyframes brandIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.hero-copy h1 {
  margin: 0 0 1.35rem;
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--hero-ink);
  text-shadow: 0 1px 2px rgba(15, 24, 34, 0.25);
}

.hero-copy h1 strong {
  color: var(--hero-accent);
  font-weight: 700;
  border-bottom: 3px solid var(--hero-accent);
  padding-bottom: 0.06em;
  white-space: nowrap;
}

.hero-actions {
  position: relative;
  z-index: 2;
  padding-bottom: 1.75rem;
  margin-top: auto;
}

.hero-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.hero-action {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 78px;
  padding: 0.9rem 1.05rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(26, 35, 48, 0.12);
  color: #595959;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.hero-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(26, 35, 48, 0.16);
  color: var(--ink);
}

.hero-action-ico {
  flex: 0 0 44px;
  width: 44px;
  height: 36px;
  display: grid;
  place-items: center;
}

.hero-action-ico img {
  display: block;
  width: auto;
  height: 30px;
  max-width: 44px;
  object-fit: contain;
}

.page-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 280px at 85% 20%, rgba(136, 191, 230, 0.35), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
  pointer-events: none;
}

.page-hero .eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-deep);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  max-width: 16ch;
}

.page-hero .btn-group {
  margin-top: 1.25rem;
}

.page-hero .lede + .btn-group,
.page-hero .lede {
  position: relative;
}


/* Sections */
section {
  padding: 5rem 0;
}

.section-head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  max-width: 42rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.section-head p {
  margin: 0;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-deep);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .split-copy {
  order: 2;
}

.media-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(26, 35, 48, 0.35));
  pointer-events: none;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pathway {
  position: relative;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  color: white;
  isolation: isolate;
}

.pathway img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  z-index: -2;
}

.pathway:hover img {
  transform: scale(1.06);
}

.pathway::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.15), rgba(16, 24, 32, 0.78));
  z-index: -1;
}

.pathway-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
}

.pathway h3 {
  color: white;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.pathway p {
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
  font-size: 0.95rem;
}

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

.campus {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--line);
  min-height: 280px;
}

.campus img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.campus-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
}

.campus h3 {
  margin: 0;
  font-size: 1.4rem;
}

.campus p {
  margin: 0;
  font-size: 0.95rem;
}

.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--slate-deep);
}

.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.1rem;
}

.news-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 1.5rem;
  border-radius: 22px;
  background: white;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.news-item.featured {
  background:
    linear-gradient(180deg, transparent 20%, rgba(16, 24, 32, 0.78)),
    url("../asset/hospital-images/homepage.webp") center/cover;
  color: white;
  min-height: 420px;
}

.news-item > img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-item.featured > img {
  display: none;
}

.news-item.featured p,
.news-item.featured time {
  color: rgba(255, 255, 255, 0.8);
}

.news-item time {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.6rem;
}

.news-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.news-item p {
  margin: 0;
  font-size: 0.95rem;
}

.band {
  background: var(--ink);
  color: white;
  border-radius: 28px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
}

.band h2,
.band p {
  color: white;
}

.band p {
  opacity: 0.82;
  margin: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.stat {
  padding: 1.4rem 1.2rem;
  border-top: 2px solid var(--sky);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}

.stat span {
  color: var(--slate-deep);
  font-size: 0.92rem;
}

/* Specialty list */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.specialty {
  padding: 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.specialty:hover {
  border-color: var(--sky);
  transform: translateY(-2px);
}

.specialty h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.specialty p {
  margin: 0;
  font-size: 0.95rem;
}

/* Forms */
.form-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.form-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

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

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--sky-deep);
  box-shadow: 0 0 0 4px rgba(136, 191, 230, 0.25);
  background: white;
}

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

.form-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--slate-deep);
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(47, 122, 92, 0.1);
  color: var(--success);
  font-weight: 600;
}

.form-success.show {
  display: block;
}

/* Info blocks */
.info-list {
  display: grid;
  gap: 1rem;
}

.info-item {
  padding: 1.35rem 1.4rem;
  border-left: 3px solid var(--sky);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 0 16px 16px 0;
}

.info-item h3 {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

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

.timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-item strong {
  font-family: var(--font-display);
  color: var(--sky-deep);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact-card {
  padding: 1.6rem;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--line);
}

.contact-card h3 {
  margin-bottom: 0.5rem;
}

.contact-card p {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.map-placeholder {
  margin-top: 1.5rem;
  min-height: 280px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(136, 191, 230, 0.35), rgba(118, 130, 144, 0.2)),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 12px,
      rgba(255, 255, 255, 0.35) 12px,
      rgba(255, 255, 255, 0.35) 13px
    );
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--ink-soft);
}

/* Careers */
.job-list {
  display: grid;
  gap: 0.85rem;
}

.job {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.4rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.job h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.job p {
  margin: 0;
  font-size: 0.9rem;
}

.tag {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
}

.site-footer h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer a:hover {
  color: var(--sky);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Mobile */
@media (max-width: 1100px) {
  .pathway-grid,
  .specialty-grid,
  .contact-grid,
  .stats,
  .news-grid,
  .campus-grid,
  .split,
  .split.reverse,
  .form-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-copy {
    order: 0;
  }

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

  .campus img {
    min-height: 220px;
  }

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

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

  .nav-toggle {
    display: grid;
  }

  .nav-links,
  .nav-tools {
    display: none;
  }

  .site-header.open .nav-panel {
    display: grid;
  }

  .nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.4rem;
    gap: 0.85rem;
    box-shadow: 0 16px 30px rgba(26, 35, 48, 0.12);
  }

  .nav-panel .nav-links {
    display: grid;
    gap: 0.35rem;
  }

  .nav-panel .nav-tools {
    display: flex;
    flex-wrap: wrap;
  }

  .nav-panel .nav-link {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-link {
    margin-right: 0;
    width: 100%;
    justify-content: space-between;
  }

  .mega-panel {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0.35rem 0 0.75rem;
    background: transparent;
    overflow: visible;
  }

  .mega-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    width: 100%;
  }

  .mega-intro {
    padding: 1.25rem 1.1rem;
    border-radius: 4px;
  }

  .mega-intro h3 {
    font-size: 1.25rem;
  }

  .mega-links {
    padding: 0.25rem 0 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

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

@media (max-width: 900px) {
  .hero--video {
    min-height: auto;
  }

  .hero-media {
    width: 100%;
    height: 55%;
    bottom: auto;
  }

  .hero-aside-shape--desktop {
    display: none;
  }

  .hero-aside-shape--mobile {
    display: block;
  }

  .hero-panel {
    padding: 3rem 0 1.25rem;
  }

  .hero-panel-inner {
    justify-content: center;
  }

  .hero-copy {
    width: min(540px, 100%);
    margin-right: 0;
    text-align: center;
  }

  .hero-action-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .utility-inner {
    justify-content: center;
    text-align: center;
  }

  .hero-media {
    height: 48%;
  }

  .hero-copy h1 {
    font-size: 1.65rem;
  }

  .hero-action-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    padding-bottom: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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