/* MedHealthEdu — Stage 1 Demo Design System
   Character: professional · academic · medical · international · modern · trustworthy */

:root {
  --navy: #0a2744;
  --navy-deep: #061a2e;
  --teal: #0e6b6e;
  --teal-mid: #148a8d;
  --teal-soft: #e6f3f3;
  --slate: #3d4f5f;
  --slate-muted: #6b7c8a;
  --paper: #f7f9fb;
  --white: #ffffff;
  --line: #d8e0e8;
  --line-soft: #e8eef3;
  --accent: #c45c26;
  --success: #1a7a4c;
  --warning: #b8860b;
  --radius: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-img: 14px;
  --shadow-sm: 0 2px 8px rgba(10, 39, 68, 0.06);
  --shadow-md: 0 10px 28px rgba(10, 39, 68, 0.1);
  --shadow-img: 0 12px 32px rgba(10, 39, 68, 0.12);
  --shadow-img-hover: 0 16px 40px rgba(10, 39, 68, 0.16);
  --space-section: clamp(3.5rem, 6vw, 5.5rem);
  --space-block: 1.5rem;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--navy);
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2.5rem, 1280px);
  margin-inline: auto;
}

/* Typography */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

h1,
.h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
}

h2,
.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.015em;
}

h3,
.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--navy);
}

.lead {
  font-size: 1.125rem;
  color: var(--slate-muted);
  max-width: 38rem;
}

.section-intro {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-intro .lead {
  margin-top: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}

.btn-teal:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Status badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.badge-open {
  background: #e8f6ee;
  color: var(--success);
}

.badge-soon {
  background: #fef6e6;
  color: var(--warning);
}

.badge-closed {
  background: #f0f2f4;
  color: var(--slate-muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-mark span {
  color: var(--teal);
}

.logo-tag {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--slate-muted);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav > a,
.nav-dropdown > button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--slate);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav > a:hover,
.nav-dropdown > button:hover,
.nav > a.active {
  color: var(--navy);
  background: var(--paper);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.6;
  margin-top: 2px;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
    visibility 0.2s;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel,
.nav-dropdown.open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 0.7rem 0.85rem;
  font-size: 0.875rem;
  color: var(--slate);
  border-radius: var(--radius);
}

.dropdown-panel a:hover {
  background: var(--teal-soft);
  color: var(--navy);
}

.dropdown-panel .item-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-muted);
  margin-top: 0.15rem;
  font-weight: 400;
}

.header-cta {
  flex-shrink: 0;
}

.header-cta .btn {
  padding: 0.6rem 1.1rem;
  font-size: 0.8125rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s, opacity 0.25s;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(6, 26, 46, 0.88) 0%,
      rgba(10, 39, 68, 0.72) 45%,
      rgba(14, 107, 110, 0.45) 100%
    ),
    url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1920&q=80")
      center / cover no-repeat;
  animation: heroZoom 18s var(--ease) infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 5rem;
  max-width: 40rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.15s forwards;
}

.hero-brand span {
  color: #7ec8c9;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 400;
  max-width: 22ch;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.35s forwards;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.5s forwards;
}

.hero .btn-group {
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.65s forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  right: max(1.25rem, calc((100% - var(--max)) / 2));
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-scroll::after {
  content: "";
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 4rem 0 3.5rem;
  background:
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #0d4a52 100%);
  color: var(--white);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(20, 138, 141, 0.25), transparent),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(255, 255, 255, 0.04), transparent);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero .eyebrow {
  color: #7ec8c9;
}

.page-hero h1 {
  color: var(--white);
  max-width: 18ch;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 1rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  opacity: 0.5;
}

/* Sections */
.section {
  padding: var(--space-section) 0;
}

.section-alt {
  background: var(--paper);
}

.section-navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

.section-navy h2 {
  color: var(--white);
}

.section-navy .lead {
  color: rgba(255, 255, 255, 0.65);
}

.section-teal-soft {
  background: var(--teal-soft);
}

/* Value / intro strip */
.intro-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-item {
  padding: 1.25rem 0;
  border-top: 2px solid var(--teal);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.1;
}

.stat-item span {
  font-size: 0.875rem;
  color: var(--slate-muted);
}

/* Program cards */
.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.program-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.program-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-img-hover);
  transform: translateY(-4px);
  color: inherit;
}

.program-card-media {
  aspect-ratio: 16 / 9;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.program-card-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.55rem;
}

.program-card-media .badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
}

.pc-1 {
  background-image:
    linear-gradient(to top, rgba(6, 26, 46, 0.5), transparent 50%),
    url("https://images.unsplash.com/photo-1631217868264-e5b90bb7e133?auto=format&fit=crop&w=800&q=80");
}

.pc-2 {
  background-image:
    linear-gradient(to top, rgba(6, 26, 46, 0.5), transparent 50%),
    url("https://images.unsplash.com/photo-1559757148-5c350d0d3c56?auto=format&fit=crop&w=800&q=80");
}

.pc-3 {
  background-image:
    linear-gradient(to top, rgba(6, 26, 46, 0.5), transparent 50%),
    url("https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&w=800&q=80");
}

.pc-4 {
  background-image:
    linear-gradient(to top, rgba(6, 26, 46, 0.5), transparent 50%),
    url("https://images.unsplash.com/photo-1532094349884-543bc11b234d?auto=format&fit=crop&w=800&q=80");
}

.pc-5 {
  background-image:
    linear-gradient(to top, rgba(6, 26, 46, 0.5), transparent 50%),
    url("https://images.unsplash.com/photo-1582719471384-894fbb16e074?auto=format&fit=crop&w=800&q=80");
}

.pc-6 {
  background-image:
    linear-gradient(to top, rgba(6, 26, 46, 0.5), transparent 50%),
    url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=800&q=80");
}

.pc-7 {
  background-image:
    linear-gradient(to top, rgba(6, 26, 46, 0.5), transparent 50%),
    url("https://images.unsplash.com/photo-1551076805-e1869033e561?auto=format&fit=crop&w=800&q=80");
}

.pc-8 {
  background-image:
    linear-gradient(to top, rgba(6, 26, 46, 0.5), transparent 50%),
    url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=800&q=80");
}

.pc-9 {
  background-image:
    linear-gradient(to top, rgba(6, 26, 46, 0.5), transparent 50%),
    url("https://images.unsplash.com/photo-1582750433449-cdb028989d4b?auto=format&fit=crop&w=800&q=80");
}

.pc-10 {
  background-image:
    linear-gradient(to top, rgba(6, 26, 46, 0.5), transparent 50%),
    url("https://images.unsplash.com/photo-1579154204601-01588f351e67?auto=format&fit=crop&w=800&q=80");
}

.pc-11 {
  background-image:
    linear-gradient(to top, rgba(6, 26, 46, 0.5), transparent 50%),
    url("https://images.unsplash.com/photo-1530026405186-ed1f139313f8?auto=format&fit=crop&w=800&q=80");
}

.pc-12 {
  background-image:
    linear-gradient(to top, rgba(6, 26, 46, 0.5), transparent 50%),
    url("https://images.unsplash.com/photo-1527613426441-4da17471b66d?auto=format&fit=crop&w=800&q=80");
}

/* Program slider */
.slider-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.slider-head .section-intro {
  margin-bottom: 0;
}

.slider-controls {
  display: flex;
  gap: 0.5rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.slider-btn:hover {
  background: var(--navy);
  color: var(--white);
}

.slider-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.program-slider {
  overflow: hidden;
  position: relative;
}

.program-slider-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.program-slider-track .program-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  min-width: 0;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
}

.slider-dot.active {
  background: var(--teal);
  width: 22px;
  border-radius: 4px;
}

/* Section imagery */
.section-visual {
  aspect-ratio: 4 / 3;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.section-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 26, 46, 0.35), transparent 55%);
  pointer-events: none;
}

.sv-intro {
  background-image: url("https://images.unsplash.com/photo-1579684453423-f84349ef60b0?auto=format&fit=crop&w=1000&q=80");
}

.sv-expect {
  background-image: url("https://images.unsplash.com/photo-1516549655169-df83a0774514?auto=format&fit=crop&w=1000&q=80");
}

.sv-finder {
  background-image: url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=900&q=80");
}

.sv-why {
  background-image: url("https://images.unsplash.com/photo-1505751172876-fa1943b752ac?auto=format&fit=crop&w=1000&q=80");
}

.sv-institution {
  background-image: url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1200&q=80");
}

.process-item .process-thumb {
  aspect-ratio: 16 / 10;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 1rem;
}

.pt-1 { background-image: url("https://images.unsplash.com/photo-1527613426441-4da17471b66d?auto=format&fit=crop&w=600&q=80"); }
.pt-2 { background-image: url("https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?auto=format&fit=crop&w=600&q=80"); }
.pt-3 { background-image: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=600&q=80"); }
.pt-4 { background-image: url("https://images.unsplash.com/photo-1596524430615-b46475ddff6e?auto=format&fit=crop&w=600&q=80"); }

.pillar .pillar-thumb {
  aspect-ratio: 16 / 9;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 1.15rem;
}

.pl-1 { background-image: url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=700&q=80"); }
.pl-2 { background-image: url("https://images.unsplash.com/photo-1434030216411-0b793f4b4173?auto=format&fit=crop&w=700&q=80"); }
.pl-3 { background-image: url("https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&w=700&q=80"); }

.expect-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.institutions-layout .journey {
  grid-template-columns: 1fr;
  border: none;
}

.institutions-layout .journey-step {
  border-right: none;
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
}

.institutions-layout .journey-step:last-child {
  border-bottom: none;
}

.institutions-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

@media (max-width: 960px) {
  .program-slider-track .program-card {
    flex: 0 0 calc((100% - 1.25rem) / 2);
  }

  .expect-layout,
  .institutions-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .program-slider-track .program-card {
    flex: 0 0 100%;
  }
}

.program-card-body {
  padding: 1.5rem 1.5rem 1.65rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.program-card-meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}

.program-card h3 {
  font-size: 1.25rem;
}

.program-card p {
  font-size: 0.9375rem;
  color: var(--slate-muted);
  flex: 1;
}

.program-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
}

.program-card-footer .duration {
  color: var(--slate-muted);
  font-weight: 500;
}

/* Audience / who for */
.audience-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.audience-item {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.audience-item h3 {
  margin-bottom: 0.5rem;
}

.audience-item p {
  font-size: 0.9375rem;
  color: var(--slate-muted);
}

/* University spotlight */
.uni-spotlight {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}

.uni-spotlight-media {
  min-height: 360px;
  background:
    linear-gradient(to bottom, transparent 40%, rgba(6, 26, 46, 0.55)),
    url("https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&w=1000&q=80")
      center / cover no-repeat;
}

.uni-spotlight-body {
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.uni-spotlight-body .location {
  font-size: 0.875rem;
  color: var(--slate-muted);
  margin: 0.35rem 0 1rem;
}

.uni-spotlight-body p {
  margin-bottom: 1.5rem;
}

/* Program finder */
.finder {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.25rem;
  max-width: 640px;
}

.finder-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.finder-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.finder-step-dot.active {
  background: var(--teal);
}

.finder-question {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.finder-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.finder-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem 1.15rem;
  background: var(--paper);
  border: 1.5px solid var(--line-soft);
  color: var(--navy);
  font-weight: 550;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.finder-option:hover,
.finder-option.selected {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.finder-result {
  display: none;
}

.finder-result.visible {
  display: block;
}

.finder-result-card {
  padding: 1.5rem;
  background: var(--teal-soft);
  border-left: 3px solid var(--teal);
  margin-top: 0.5rem;
}

.finder-result-card h3 {
  margin-bottom: 0.5rem;
}

.finder-result-card p {
  font-size: 0.9375rem;
  margin-bottom: 1.15rem;
  color: var(--slate);
}

.finder-back {
  margin-top: 1rem;
  background: none;
  border: none;
  color: var(--slate-muted);
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: underline;
}

/* Comparison table */
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: var(--white);
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9375rem;
  vertical-align: top;
}

.compare-table thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--navy);
  background: var(--paper);
  width: 28%;
}

.compare-table .check {
  color: var(--teal);
  font-weight: 700;
}

.compare-table .dash {
  color: var(--slate-muted);
}

/* Content modules (program page) */
.program-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.program-main > * + * {
  margin-top: 3rem;
}

.module h2 {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-soft);
}

.module p + p {
  margin-top: 0.85rem;
}

.module ul {
  margin-top: 0.75rem;
}

.module ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.975rem;
}

.module ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.meta-item {
  padding: 1rem 1.1rem;
  background: var(--paper);
  border-left: 2px solid var(--teal);
}

.meta-item dt {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-muted);
  margin-bottom: 0.3rem;
}

.meta-item dd {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.975rem;
}

/* Sticky sidebar */
.program-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
}

.aside-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  padding: 1.5rem;
}

.aside-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.aside-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.875rem;
}

.aside-row:last-of-type {
  border-bottom: none;
  margin-bottom: 1.25rem;
}

.aside-row span {
  color: var(--slate-muted);
}

.aside-row strong {
  color: var(--navy);
  text-align: right;
}

.aside-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.aside-note {
  font-size: 0.75rem;
  color: var(--slate-muted);
  margin-top: 1rem;
  line-height: 1.5;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.gallery-grid figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.g1 {
  background-image: url("https://images.unsplash.com/photo-1582719471384-894fbb16e074?auto=format&fit=crop&w=600&q=80");
}
.g2 {
  background-image: url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=600&q=80");
}
.g3 {
  background-image: url("https://images.unsplash.com/photo-1516549655169-df83a0774514?auto=format&fit=crop&w=600&q=80");
}
.g4 {
  background-image: url("https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&w=600&q=80");
}
.g5 {
  background-image: url("https://images.unsplash.com/photo-1551601651-2a8555f1a136?auto=format&fit=crop&w=600&q=80");
}
.g6 {
  background-image: url("https://images.unsplash.com/photo-1631217868264-e5b90bb7e133?auto=format&fit=crop&w=600&q=80");
}
.g7 {
  background-image: url("https://images.unsplash.com/photo-1551076805-e1869033e561?auto=format&fit=crop&w=600&q=80");
}
.g8 {
  background-image: url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=600&q=80");
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--line-soft);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.testimonial-video {
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.testimonial-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  opacity: 0.55;
}

.tv-1::before {
  background-image: url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=700&q=80");
}
.tv-2::before {
  background-image: url("https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=700&q=80");
}
.tv-3::before {
  background-image: url("https://images.unsplash.com/photo-1438761681033-6461ffad8d80?auto=format&fit=crop&w=700&q=80");
}
.tv-4::before {
  background-image: url("https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?auto=format&fit=crop&w=700&q=80");
}

.play-btn {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease);
}

.testimonial-video:hover .play-btn {
  transform: scale(1.08);
}

.play-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 14px solid var(--navy);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 3px;
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--navy);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.author-avatar.av-1 {
  background-image: url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=100&q=80");
}
.author-avatar.av-2 {
  background-image: url("https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=100&q=80");
}
.author-avatar.av-3 {
  background-image: url("https://images.unsplash.com/photo-1438761681033-6461ffad8d80?auto=format&fit=crop&w=100&q=80");
}
.author-avatar.av-4 {
  background-image: url("https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?auto=format&fit=crop&w=100&q=80");
}

.author-info strong {
  display: block;
  color: var(--navy);
  font-size: 0.9375rem;
}

.author-info span {
  font-size: 0.8125rem;
  color: var(--slate-muted);
}

/* Faculty perspective */
.faculty-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem;
}

.faculty-block h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.faculty-block p {
  margin-bottom: 1.25rem;
}

.faculty-video-placeholder {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(rgba(6, 26, 46, 0.5), rgba(6, 26, 46, 0.5)),
    url("https://images.unsplash.com/photo-1612349317150-e413f6a5b16d?auto=format&fit=crop&w=800&q=80")
      center / cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--white);
  font-size: 0.875rem;
}

/* Forms */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
}

.form-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.form-tab {
  flex: 1;
  padding: 0.85rem 1rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--slate-muted);
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.form-tab.active {
  color: var(--navy);
  border-bottom-color: var(--teal);
}

.form-panel {
  display: none;
}

.form-panel.active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--slate);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--slate-muted);
  margin-top: 0.85rem;
}

.form-success {
  display: none;
  padding: 1.25rem;
  background: #e8f6ee;
  border-left: 3px solid var(--success);
  color: var(--navy);
  margin-top: 1rem;
}

.form-success.visible {
  display: block;
}

/* CTA band */
.cta-band {
  padding: 4rem 0;
  text-align: center;
  background:
    linear-gradient(135deg, var(--navy-deep), var(--teal));
  color: var(--white);
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 32rem;
  margin: 0 auto 1.75rem;
}

.cta-band .btn-group {
  justify-content: center;
}

/* About / content prose */
.prose {
  max-width: 42rem;
}

.prose p + p {
  margin-top: 1rem;
}

.prose h2 {
  margin: 2.5rem 0 1rem;
}

.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.feature-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
}

.feature-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--teal);
  font-weight: 500;
}

/* University profile */
.uni-hero-media {
  aspect-ratio: 21 / 8;
  background:
    linear-gradient(to top, rgba(6, 26, 46, 0.7), transparent 60%),
    url("https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=1600&q=80")
      center / cover;
  margin-top: -1px;
}

.ranking-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.ranking-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--paper);
  border-top: 2px solid var(--teal);
}

.ranking-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.ranking-item span {
  font-size: 0.8125rem;
  color: var(--slate-muted);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-mark {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.footer-brand .logo-tag {
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  max-width: 22rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.3rem 0;
  font-size: 0.875rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.demo-banner {
  background: #fef6e6;
  color: #6b4e0b;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
  font-weight: 550;
  border-bottom: 1px solid #f0e0b8;
}

.demo-banner strong {
  font-weight: 700;
}

/* Placeholder notice */
.placeholder-note {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--warning);
  background: #fef6e6;
  padding: 0.2rem 0.5rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 1rem 1.5rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-bar.visible {
  display: flex;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--white);
  z-index: 99;
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--navy);
  font-weight: 550;
}

.mobile-nav .sub {
  padding-left: 1rem;
  font-weight: 450;
  font-size: 0.9rem;
  color: var(--slate);
}

/* Mature tone for physicians page */
.page-physicians .page-hero {
  background: linear-gradient(135deg, #061018 0%, #0a2744 60%, #1a3a4a 100%);
}

.page-physicians .aside-card {
  background: #f2f5f7;
  border-color: #c5d0d8;
}

/* Responsive */
@media (max-width: 960px) {
  .nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .intro-strip,
  .uni-spotlight,
  .program-layout,
  .form-layout,
  .split-content,
  .faculty-block {
    grid-template-columns: 1fr;
  }

  .uni-spotlight-media {
    min-height: 240px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .audience-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ranking-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .program-grid,
  .testimonial-grid,
  .gallery-grid,
  .meta-grid,
  .form-grid,
  .intro-stats {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    min-height: 78vh;
    align-items: center;
  }

  .hero-content {
    padding: 3.5rem 0 4rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .finder {
    padding: 1.5rem;
  }

  .faculty-block {
    padding: 1.5rem;
  }
}

/* Home — trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line-soft);
  background: var(--white);
}

.trust-item {
  padding: 1.35rem 1.5rem;
  border-right: 1px solid var(--line-soft);
  text-align: center;
}

.trust-item:last-child {
  border-right: none;
}

.trust-item strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--navy);
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}

.trust-item span {
  font-size: 0.75rem;
  color: var(--slate-muted);
  line-height: 1.4;
}

/* Home — process / how it works */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  counter-reset: step;
}

.process-item {
  position: relative;
  padding-top: 0.25rem;
}

.process-item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--teal);
  margin-bottom: 0.85rem;
  line-height: 1;
}

.process-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.process-item p {
  font-size: 0.9rem;
  color: var(--slate-muted);
}

/* Home — info pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar {
  padding: 0;
}

.pillar .pillar-label {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.pillar h3 {
  margin-bottom: 0.65rem;
}

.pillar p {
  font-size: 0.9375rem;
  color: var(--slate-muted);
}

.pillar ul {
  margin-top: 1rem;
}

.pillar ul li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.1rem;
  font-size: 0.875rem;
  color: var(--slate);
  border-bottom: 1px solid var(--line-soft);
}

.pillar ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
}

/* Media feature (video + copy) */
.media-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.media-feature-video {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(rgba(6, 26, 46, 0.45), rgba(6, 26, 46, 0.55)),
    url("https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&w=1200&q=80")
      center / cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--white);
  cursor: pointer;
  position: relative;
}

.media-feature-video .play-btn {
  width: 64px;
  height: 64px;
}

.media-feature-video span {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
}

.media-feature-body .lead {
  margin-top: 0.85rem;
}

/* Expectation list */
.expect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2.5rem;
}

.expect-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.expect-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-soft);
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
}

.expect-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.expect-item p {
  font-size: 0.875rem;
  color: var(--slate-muted);
}

/* Journey path */
.journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.journey-step {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--line);
}

.journey-step:last-child {
  border-right: none;
}

.journey-step .step-num {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.journey-step h3 {
  margin-bottom: 0.5rem;
}

.journey-step p {
  font-size: 0.9rem;
  color: var(--slate-muted);
}

/* University page section nav */
.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 0;
  font-size: 0.8125rem;
  font-weight: 550;
  position: sticky;
  top: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 40;
}

.section-nav a {
  color: var(--slate-muted);
}

.section-nav a:hover {
  color: var(--teal);
}

/* Campus video on university */
.campus-media-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.65rem;
}

.campus-media-grid .media-feature-video {
  min-height: 280px;
}

.campus-thumbs {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.65rem;
}

.campus-thumbs figure {
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 120px;
}

/* Module video block on programs */
.video-module {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
}

.video-module .media-feature-video {
  margin: 0;
}

.video-module h3 {
  margin-bottom: 0.5rem;
}

.video-module p {
  font-size: 0.9rem;
  color: var(--slate-muted);
}

@media (max-width: 960px) {
  .trust-strip,
  .process-row,
  .pillar-grid,
  .media-feature,
  .journey,
  .campus-media-grid,
  .video-module,
  .expect-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
  }

  .journey-step {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .campus-thumbs {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .process-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .container,
  .container-wide {
    width: min(100% - 1.5rem, var(--max));
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }

  .process-row,
  .trust-strip {
    grid-template-columns: 1fr;
  }
}

article.testimonial.reveal.visible {
  background: #ffffff !important;
}

/* University catalogue cards */
.uni-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.uni-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
  overflow: hidden;
}

.uni-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: inherit;
}

.uni-card-media {
  aspect-ratio: 16 / 10;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.uni-card-media .uni-count {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 650;
  padding: 0.35rem 0.65rem;
}

.uc-1 {
  background-image:
    linear-gradient(to top, rgba(6, 26, 46, 0.45), transparent 55%),
    url("https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=900&q=80");
}
.uc-2 {
  background-image:
    linear-gradient(to top, rgba(6, 26, 46, 0.45), transparent 55%),
    url("https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&w=900&q=80");
}
.uc-3 {
  background-image:
    linear-gradient(to top, rgba(6, 26, 46, 0.45), transparent 55%),
    url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=900&q=80");
}

.uni-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.45rem;
}

.uni-card-body .country {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}

.uni-card-body h3 {
  font-size: 1.2rem;
}

.uni-card-body p {
  font-size: 0.9rem;
  color: var(--slate-muted);
  flex: 1;
}

.uni-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--slate);
  cursor: pointer;
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.program-card[hidden] {
  display: none !important;
}

.catalog-section-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2.5rem 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-soft);
}

.catalog-section-label:first-of-type {
  margin-top: 0;
}

.catalog-section-label h2 {
  font-size: 1.35rem;
}

.catalog-section-label a {
  font-size: 0.875rem;
  font-weight: 600;
}

@media (max-width: 960px) {
  .uni-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Location / map media with photo (not solid blue) */
.location-media {
  aspect-ratio: 4 / 3;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  position: relative;
}

.location-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 26, 46, 0.65), transparent 55%);
  pointer-events: none;
}

.location-media span {
  position: relative;
  z-index: 1;
  background: rgba(6, 26, 46, 0.85);
  color: #fff;
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
}

.loc-mcmaster {
  background-image: url("https://images.unsplash.com/photo-1517935706615-2717063c2225?auto=format&fit=crop&w=900&q=80");
}

.loc-toronto {
  background-image: url("https://images.unsplash.com/photo-1517090504586-fde19ea6068f?auto=format&fit=crop&w=900&q=80");
}

.loc-melbourne {
  background-image: url("https://images.unsplash.com/photo-1514395462725-fb4566210144?auto=format&fit=crop&w=900&q=80");
}

/* Ensure program card images always apply */
.program-card-media.pc-1 { background-image: url("https://images.unsplash.com/photo-1631217868264-e5b90bb7e133?auto=format&fit=crop&w=800&q=80"); }
.program-card-media.pc-2 { background-image: url("https://images.unsplash.com/photo-1559757148-5c350d0d3c56?auto=format&fit=crop&w=800&q=80"); }
.program-card-media.pc-3 { background-image: url("https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&w=800&q=80"); }
.program-card-media.pc-4 { background-image: url("https://images.unsplash.com/photo-1532094349884-543bc11b234d?auto=format&fit=crop&w=800&q=80"); }
.program-card-media.pc-5 { background-image: url("https://images.unsplash.com/photo-1582719471384-894fbb16e074?auto=format&fit=crop&w=800&q=80"); }
.program-card-media.pc-6 { background-image: url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=800&q=80"); }
.program-card-media.pc-7 { background-image: url("https://images.unsplash.com/photo-1551076805-e1869033e561?auto=format&fit=crop&w=800&q=80"); }
.program-card-media.pc-8 { background-image: url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=800&q=80"); }
.program-card-media.pc-9 { background-image: url("https://images.unsplash.com/photo-1582750433449-cdb028989d4b?auto=format&fit=crop&w=800&q=80"); }
.program-card-media.pc-10 { background-image: url("https://images.unsplash.com/photo-1579154204601-01588f351e67?auto=format&fit=crop&w=800&q=80"); }
.program-card-media.pc-11 { background-image: url("https://images.unsplash.com/photo-1530026405186-ed1f139313f8?auto=format&fit=crop&w=800&q=80"); }
.program-card-media.pc-12 { background-image: url("https://images.unsplash.com/photo-1527613426441-4da17471b66d?auto=format&fit=crop&w=800&q=80"); }

.gallery-grid figure.g1, .campus-thumbs figure.g1 { background-image: url("https://images.unsplash.com/photo-1582719471384-894fbb16e074?auto=format&fit=crop&w=600&q=80"); }
.gallery-grid figure.g2, .campus-thumbs figure.g2 { background-image: url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=600&q=80"); }
.gallery-grid figure.g3, .campus-thumbs figure.g3 { background-image: url("https://images.unsplash.com/photo-1516549655169-df83a0774514?auto=format&fit=crop&w=600&q=80"); }
.gallery-grid figure.g4, .campus-thumbs figure.g4 { background-image: url("https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&w=600&q=80"); }
.gallery-grid figure.g5, .campus-thumbs figure.g5 { background-image: url("https://images.unsplash.com/photo-1551601651-2a8555f1a136?auto=format&fit=crop&w=600&q=80"); }
.gallery-grid figure.g6, .campus-thumbs figure.g6 { background-image: url("https://images.unsplash.com/photo-1631217868264-e5b90bb7e133?auto=format&fit=crop&w=600&q=80"); }
.gallery-grid figure.g7, .campus-thumbs figure.g7 { background-image: url("https://images.unsplash.com/photo-1551076805-e1869033e561?auto=format&fit=crop&w=600&q=80"); }
.gallery-grid figure.g8, .campus-thumbs figure.g8 { background-image: url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=600&q=80"); }

.process-item .process-thumb.pt-1 { background-image: url("https://images.unsplash.com/photo-1527613426441-4da17471b66d?auto=format&fit=crop&w=600&q=80"); }
.process-item .process-thumb.pt-2 { background-image: url("https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?auto=format&fit=crop&w=600&q=80"); }
.process-item .process-thumb.pt-3 { background-image: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=600&q=80"); }
.process-item .process-thumb.pt-4 { background-image: url("https://images.unsplash.com/photo-1596524430615-b46475ddff6e?auto=format&fit=crop&w=600&q=80"); }

.pillar .pillar-thumb.pl-1 { background-image: url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=700&q=80"); }
.pillar .pillar-thumb.pl-2 { background-image: url("https://images.unsplash.com/photo-1434030216411-0b793f4b4173?auto=format&fit=crop&w=700&q=80"); }
.pillar .pillar-thumb.pl-3 { background-image: url("https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&w=700&q=80"); }

.section-visual.sv-intro { background-image: url("https://images.unsplash.com/photo-1579684453423-f84349ef60b0?auto=format&fit=crop&w=1000&q=80"); }
.section-visual.sv-expect { background-image: url("https://images.unsplash.com/photo-1516549655169-df83a0774514?auto=format&fit=crop&w=1000&q=80"); }
.section-visual.sv-finder { background-image: url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=900&q=80"); }
.section-visual.sv-why { background-image: url("https://images.unsplash.com/photo-1505751172876-fa1943b752ac?auto=format&fit=crop&w=1000&q=80"); }
.section-visual.sv-institution { background-image: url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1200&q=80"); }

.uni-card-media.uc-1 { background-image: linear-gradient(to top, rgba(6, 26, 46, 0.45), transparent 55%), url("https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=900&q=80"); }
.uni-card-media.uc-2 { background-image: linear-gradient(to top, rgba(6, 26, 46, 0.45), transparent 55%), url("https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&w=900&q=80"); }
.uni-card-media.uc-3 { background-image: linear-gradient(to top, rgba(6, 26, 46, 0.45), transparent 55%), url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=900&q=80"); }

.uni-hero-media.uni-hero-toronto {
  background-image:
    linear-gradient(to top, rgba(6, 26, 46, 0.7), transparent 60%),
    url("https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&w=1600&q=80");
}

.uni-hero-media.uni-hero-melbourne {
  background-image:
    linear-gradient(to top, rgba(6, 26, 46, 0.7), transparent 60%),
    url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1600&q=80");
}

/* ——— Elegant image polish: radius, shadow, spacing ——— */

.section-intro {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.section-intro .lead {
  margin-top: 0.85rem;
}

.program-card-body {
  padding: 1.35rem 1.4rem 1.5rem !important;
  gap: 0.55rem !important;
}

.program-card-footer {
  margin-top: 0.65rem;
  padding-top: 0.9rem;
}

.program-slider-track {
  gap: 1.5rem;
  padding: 0.35rem 0.15rem 1rem;
}

.slider-head {
  margin-bottom: 2.25rem;
  gap: 1.75rem;
}

.slider-btn {
  border-radius: var(--radius-md);
}

/* Section photos */
.section-visual {
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-img);
  margin-bottom: 0.25rem;
}

.intro-strip {
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.intro-strip .section-visual {
  margin-bottom: 1.35rem;
}

.intro-stats {
  gap: 1.25rem 1.5rem;
}

.expect-layout,
.institutions-layout,
.media-feature {
  gap: clamp(1.75rem, 3vw, 2.75rem);
}

/* Process & pillar thumbs */
.process-row {
  gap: 1.5rem;
}

.process-item .process-thumb {
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.15rem;
}

.pillar-grid {
  gap: 2rem;
}

.pillar .pillar-thumb {
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.35rem;
}

/* University cards */
.uni-card-grid {
  gap: 1.75rem;
}

.uni-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.uni-card:hover {
  box-shadow: var(--shadow-img-hover);
}

.uni-card-media {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.uni-card-body {
  padding: 1.4rem 1.45rem 1.55rem;
}

.uni-card-media .uni-count {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Spotlight */
.uni-spotlight {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-img);
  overflow: hidden;
  border: none;
}

.uni-spotlight-body {
  padding: 2.5rem 2.35rem;
}

/* Gallery */
.gallery-grid {
  gap: 1rem;
}

.gallery-grid figure {
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-md);
}

.campus-media-grid {
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.campus-thumbs {
  gap: 1rem;
}

.campus-thumbs figure {
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-md);
  min-height: 130px;
}

/* Video blocks */
.media-feature-video,
.faculty-video-placeholder,
.testimonial-video,
.video-module .media-feature-video {
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-img);
  overflow: hidden;
}

.video-module {
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  gap: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.faculty-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 2.25rem;
  gap: 2rem;
  box-shadow: var(--shadow-img);
}

/* Testimonials */
.testimonial-grid {
  gap: 1.75rem;
}

.testimonial {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  gap: 1.25rem;
}

.testimonial-video {
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* University hero band */
.uni-hero-media {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-img);
  margin: 0 auto;
  width: min(100% - 2.5rem, var(--max));
  aspect-ratio: 21 / 8;
}

/* Location photos */
.location-media {
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-img);
  overflow: hidden;
}

.location-media span {
  border-radius: var(--radius-md);
}

/* Finder & forms */
.finder {
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-color: var(--line-soft);
}

.aside-card {
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.meta-item {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.05rem 1.15rem;
}

.ranking-item {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 1.6rem 1.15rem;
  box-shadow: var(--shadow-sm);
}

.badge {
  border-radius: var(--radius-md);
  padding: 0.35rem 0.75rem;
}

.play-btn {
  box-shadow: var(--shadow-md);
}

/* Module spacing on program pages */
.program-layout {
  gap: 2.75rem;
}

.program-main > * + * {
  margin-top: 2.75rem;
}

.module h2 {
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
}

.page-hero {
  padding: 3.75rem 0 3.25rem;
}

.page-hero .lead {
  margin-top: 1.1rem;
}

.cta-band {
  padding: 4.25rem 0;
}

.cta-band p {
  margin-bottom: 1.85rem;
}

.filter-bar {
  margin-bottom: 2.25rem;
  gap: 0.65rem;
}

.filter-btn {
  border-radius: var(--radius-md);
  padding: 0.6rem 1.1rem;
}

.catalog-section-label {
  margin: 2.75rem 0 1.4rem;
  padding-bottom: 0.9rem;
}

.journey {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.trust-strip {
  border-bottom: 1px solid var(--line-soft);
}

.trust-item {
  padding: 1.45rem 1.35rem;
}

@media (max-width: 720px) {
  .uni-hero-media {
    width: min(100% - 1.5rem, var(--max));
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .gallery-grid {
    gap: 0.75rem;
  }

  .faculty-block,
  .video-module,
  .finder {
    padding: 1.35rem;
  }
}
.journey {
  padding: 20px;
}