:root {
  --navy: #082b4c;
  --blue: #0b6280;
  --teal: #0f8b8d;
  --coral: #e4775f;
  --ink: #173044;
  --muted: #607386;
  --paper: #f4f8f7;
  --white: #fff;
  --line: #dce8e7;
  --shadow: 0 22px 60px rgba(8, 43, 76, 0.12);
  --container: 1180px;
  --header-logo-width: 260px;
  --nav-desktop-bp: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.site-container {
  width: min(var(--container), calc(100% - 48px));
  margin: auto;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--coral);
  color: #fff;
}
.skip-link:focus { top: 16px; }
.utility {
  background: var(--navy);
  color: #d8ecee;
  font-size: 13px;
}
.utility-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.utility a { color: #fff; font-weight: 700; }
.utility-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ======================================================================
   SITE HEADER
====================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 36px);
  width: 100%;
  min-height: 80px;
  padding-inline: clamp(16px, 3vw, 48px);
}
.header-brand {
  flex: 0 0 auto;
  width: var(--header-logo-width);
  max-width: min(var(--header-logo-width), 34vw);
}
.brand {
  display: block;
  line-height: 0;
}
.header-brand img,
.brand img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.header-nav-area {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* ======================================================================
   HAMBURGER / CLOSE (mobile drawer)
====================================================================== */
.nav-hamburger,
.nav-close {
  flex-shrink: 0;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: var(--navy);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav-header {
  display: none;
}
.nav-close {
  display: none;
  font-size: 28px;
  line-height: 1;
}
.nav-overlay {
  position: fixed;
  inset: 0;
  /* Below .site-header (100) so the mobile drawer inside the header receives clicks */
  z-index: 90;
  background: rgba(4, 25, 43, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}
.nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.nav-open {
  overflow: hidden;
}

/* ======================================================================
   SITE NAV — outer shell
====================================================================== */
.site-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* Transparent on desktop — children participate in .site-nav flex row */
.site-nav-scroll {
  display: contents;
}

/* ======================================================================
   NM-LIST — horizontal row (desktop)
====================================================================== */
.nm-list {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

/* ======================================================================
   TOP-LEVEL LINKS AND DROPDOWN TRIGGERS
====================================================================== */
.nm-top-link,
.nm-top-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 0 9px;
  height: 80px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--navy);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.18s, border-color 0.18s;
  line-height: 1.2;
  flex-shrink: 0;
}
.nm-top-label {
  flex: 0 1 auto;
}
.nm-top-link:hover,
.nm-top-link:focus-visible,
.nm-top-toggle:hover,
.nm-top-toggle:focus-visible {
  color: var(--teal);
  border-bottom-color: var(--coral);
  outline: none;
}
.nm-top-link.is-current,
.nm-item--dropdown.is-active > .nm-top-toggle {
  color: var(--teal);
  border-bottom-color: var(--coral);
}
.nm-top-arrow {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--coral);
  transition: transform 0.2s;
}
.nm-item--dropdown.is-open > .nm-top-toggle .nm-top-arrow,
.nm-top-toggle[aria-expanded="true"] .nm-top-arrow {
  transform: rotate(180deg);
}

/* ======================================================================
   NM-PANEL — first-level dropdown (desktop)
====================================================================== */
.nm-item--dropdown { position: relative; }
.nm-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 200;
  min-width: 240px;
  max-width: 320px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  box-shadow: 0 16px 48px rgba(8, 43, 76, 0.14);
}
.nm-item--dropdown:nth-last-child(-n+4) .nm-panel {
  left: auto;
  right: 0;
}
.nm-item--dropdown:hover > .nm-panel,
.nm-item--dropdown:focus-within > .nm-panel,
.nm-item--dropdown.is-open > .nm-panel {
  display: block;
}

/* ======================================================================
   ITEMS INSIDE PANELS
====================================================================== */
.nm-item { position: relative; }
.nm-link {
  display: block;
  padding: 10px 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: normal;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  line-height: 1.35;
}
.nm-link:hover,
.nm-link:focus-visible {
  background: #edf7f6;
  color: var(--blue);
  outline: none;
}
.nm-link.is-current {
  color: var(--teal);
  font-weight: 700;
  border-left: 3px solid var(--teal);
  padding-left: 15px;
}
.nm-link--ext,
.nm-link--doc { color: var(--blue); }
.nm-ext-arrow,
.nm-doc-icon { font-size: 11px; opacity: 0.65; margin-left: 2px; }

/* Sub-group toggle inside panel */
.nm-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 18px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  line-height: 1.35;
}
.nm-sub-toggle:hover,
.nm-sub-toggle:focus-visible {
  background: #edf7f6;
  color: var(--blue);
  outline: none;
}
.nm-item--group.is-active > .nm-sub-toggle { color: var(--teal); }
.nm-sub-arrow {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid var(--coral);
  transition: transform 0.2s;
}

/* ======================================================================
   NM-FLYOUT — nested panel (desktop)
====================================================================== */
.nm-flyout {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 210;
  min-width: 240px;
  max-width: 320px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  box-shadow: 0 16px 48px rgba(8, 43, 76, 0.14);
}
.nm-item--group:hover > .nm-flyout,
.nm-item--group:focus-within > .nm-flyout,
.nm-item--group[data-submenu-open="true"] > .nm-flyout {
  display: block;
}
.nm-item--group:nth-last-child(-n+2) > .nm-flyout {
  left: auto;
  right: 100%;
}

/* ======================================================================
   ADMISSIONS CTA
====================================================================== */
.nm-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  background: var(--coral);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.nm-cta:hover,
.nm-cta:focus-visible {
  background: #c85d49;
  transform: translateY(-1px);
  outline: none;
}

/* Legacy aliases — prevent layout breakage if old classes appear anywhere */
.nav-toggle { display: none; }
.main-nav { display: none; }

/* ======================================================================
   DESKTOP NAV DENSITY TWEAKS (> 1280px)
====================================================================== */
@media (min-width: 1281px) and (max-width: 1440px) {
  :root { --header-logo-width: 240px; }
  .nm-top-link,
  .nm-top-toggle { padding: 0 7px; font-size: 12.5px; }
}
@media (min-width: 1281px) and (max-width: 1600px) {
  .nm-top-link,
  .nm-top-toggle { padding: 0 8px; font-size: 12.5px; }
}

/* ======================================================================
   MOBILE / TABLET DRAWER <= 1280px
====================================================================== */
@media (max-width: 1280px) {
  :root { --header-logo-width: 220px; }

  /*
   * backdrop-filter creates a containing block for position:fixed children,
   * which traps the drawer inside the header and breaks full-viewport layout.
   * Disable on mobile/tablet so .site-nav can cover the full screen.
   */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* ── Header layout ── */
  .header-inner {
    display: flex;
    align-items: center;
    min-height: 68px;
    padding-inline: 16px;
    gap: 12px;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .header-brand {
    flex: 0 0 auto;
    order: 0;
  }
  .header-nav-area {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    order: 1;
    margin-left: auto;
    gap: 0;
  }

  /* ── Hamburger — always on the far right ── */
  .nav-hamburger {
    display: flex;
    order: 10;
    flex-shrink: 0;
    margin-left: 0;
  }

  /* ── Drawer shell ── */
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    /* Must be above .nav-overlay (z-index: 90) so menu items receive clicks */
    z-index: 95;
    display: flex;              /* always flex column */
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: min(380px, 92vw);
    height: 100dvh;
    max-height: 100dvh;
    padding: 0;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: -8px 0 32px rgba(8, 43, 76, 0.16);
    overflow: hidden;           /* scroll lives in .site-nav-scroll */
    transform: translateX(100%);
    transition: transform 0.3s ease;
    visibility: hidden;
    pointer-events: none;
  }
  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  /* ── Drawer header (close button row) ── */
  .site-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    background: #f7fbfa;
  }
  .site-nav-title {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 28px;
    line-height: 1;
  }

  /* ── Scrollable drawer body (menu list + Admissions CTA) ── */
  .site-nav-scroll {
    display: block;
    flex: 1 1 auto;
    min-height: 0;          /* critical: allows flex child to shrink & scroll */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nm-list {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    overflow: visible;
    padding-bottom: 0;
  }

  /* ── Top-level links and toggles ── */
  .nm-top-link,
  .nm-top-toggle {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 48px;
    padding: 13px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--line) !important;
    border-left: none;
    border-right: none;
    border-top: none;
    text-align: left;
    justify-content: space-between;
    align-items: center;
    white-space: normal;
  }
  .nm-top-link.is-current,
  .nm-item--dropdown.is-active > .nm-top-toggle {
    border-left: 4px solid var(--teal) !important;
    padding-left: 16px;
  }

  /* ── First-level dropdown panel ── */
  .nm-item--dropdown {
    position: static;
  }
  .nm-panel {
    display: none;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-width: 100%;
    min-width: auto;
    width: 100%;
    border: none !important;
    border-top: none !important;
    box-shadow: none !important;
    background: #f7fbfa;
    padding: 0;
    z-index: auto;
    list-style: none;
    margin: 0;
  }
  /* Open state — only JS class, no hover/focus-within on mobile */
  .nm-item--dropdown.is-open > .nm-panel {
    display: block;
  }
  /* Prevent desktop hover/focus from showing panels on mobile */
  .nm-item--dropdown:hover > .nm-panel,
  .nm-item--dropdown:focus-within > .nm-panel {
    display: none;
  }
  /* is-open always wins — placed LAST so it overrides hover/focus-within above */
  .nm-item--dropdown.is-open > .nm-panel {
    display: block !important;
  }

  /* ── Items inside panels ── */
  .nm-item {
    position: static;
  }
  .nm-link {
    padding: 11px 20px 11px 36px;
    font-size: 13px;
    white-space: normal;
    border-bottom: 1px solid var(--line);
    display: block;
  }
  .nm-link.is-current {
    border-left: 3px solid var(--teal);
    padding-left: 33px;
  }

  /* ── Sub-group toggle ── */
  .nm-sub-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 20px 11px 36px;
    font-size: 13px;
    border-bottom: 1px solid var(--line);
    background: #f7fbfa;
    white-space: normal;
    width: 100%;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
  }

  /* ── Nested flyout panel ── */
  .nm-item--group {
    position: static;
  }
  .nm-flyout {
    display: none;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-width: auto;
    max-width: 100%;
    width: 100%;
    border: none !important;
    box-shadow: none !important;
    background: #eef6f5;
    padding: 0;
    z-index: auto;
    list-style: none;
    margin: 0;
  }
  /* Open state for nested — only JS attribute, no hover */
  .nm-item--group[data-submenu-open="true"] > .nm-flyout {
    display: block;
  }
  /* Prevent desktop hover from showing flyouts on mobile */
  .nm-item--group:hover > .nm-flyout,
  .nm-item--group:focus-within > .nm-flyout {
    display: none;
  }
  /* attribute always wins — placed LAST */
  .nm-item--group[data-submenu-open="true"] > .nm-flyout {
    display: block !important;
  }

  .nm-flyout .nm-link {
    padding-left: 52px;
    background: #eef6f5;
  }

  /* Arrow rotates to point down when open */
  .nm-sub-arrow {
    flex-shrink: 0;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--coral);
    border-bottom: none;
    transition: transform 0.2s;
  }
  .nm-item--group[data-submenu-open="true"] > .nm-sub-toggle .nm-sub-arrow {
    transform: rotate(180deg);
  }

  /* ── Admissions CTA — scrolls with drawer content ── */
  .nm-cta {
    display: block;
    flex-shrink: 0;
    margin: 12px 16px 24px;
    height: auto;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    border-radius: 4px;
  }

  .nm-link--ext,
  .nm-link--doc {
    padding: 11px 20px 11px 36px;
    white-space: normal;
  }
}
@media (max-width: 480px) {
  :root { --header-logo-width: 180px; }
  .header-inner { min-height: 60px; }
}

/* ======================================================================
   BUTTON
====================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  transition: transform 0.25s, background 0.25s;
}
.button:hover,
.button:focus-visible { background: #c85d49; transform: translateY(-2px); }
.button--outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.65);
}
.button--outline:hover,
.button--outline:focus-visible { background: #fff; color: var(--navy); }

/* ======================================================================
   HERO
====================================================================== */
.hero {
  min-height: 620px;
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,32,55,0.9), rgba(5,32,55,0.56) 45%, rgba(5,32,55,0.15));
}
.hero-content {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.hero-copy { max-width: 670px; padding: 80px 0 110px; }
.eyebrow {
  color: var(--coral);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero h1 {
  max-width: 680px;
  margin: 16px 0 20px;
  font-family: Georgia, serif;
  font-size: clamp(43px, 6vw, 78px);
  font-weight: 400;
  line-height: 1.05;
}
.hero p { max-width: 570px; color: #e7f2f1; font-size: 19px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-dots {
  position: absolute;
  z-index: 2;
  bottom: 32px;
  left: max(24px, calc((100% - var(--container)) / 2));
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 32px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}
.hero-dot.is-active { background: var(--coral); }

/* ======================================================================
   TICKER
====================================================================== */
.ticker { background: #fff; border-bottom: 1px solid var(--line); }
.ticker-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 22px;
  overflow: hidden;
}
.ticker-label {
  flex: 0 0 auto;
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ticker-track { min-width: 0; white-space: nowrap; overflow: hidden; color: var(--blue); }
.ticker-track a { display: inline-block; animation: ticker 24s linear infinite; }
@keyframes ticker {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

/* ======================================================================
   SECTIONS
====================================================================== */
.section { padding: 110px 0; position: relative; }
.section--white { background: #fff; }
.section-heading { max-width: 690px; margin-bottom: 48px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 {
  margin: 10px 0 14px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.08;
}
.section-heading p { color: var(--muted); font-size: 18px; }

/* ======================================================================
   STORY / HOSPITAL GRIDS
====================================================================== */
.story-grid,
.hospital-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 80px;
}
.story-image { position: relative; padding: 0 0 26px 26px; }
.story-image:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 75%;
  height: 80%;
  border: 1px solid var(--coral);
}
.story-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
}
.story-copy p, .hospital p { color: var(--muted); font-size: 17px; }
.signal {
  height: 30px;
  margin: 0 0 38px;
  opacity: 0.5;
  background: linear-gradient(135deg, transparent 44%, var(--teal) 45%, var(--teal) 49%, transparent 50%) 0 0/40px 30px repeat-x;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 700;
}
.text-link:after { content: "->"; transition: transform 0.2s; }
.text-link:hover:after { transform: translateX(4px); }

/* ======================================================================
   CARDS
====================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card {
  min-height: 190px;
  padding: 27px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: var(--coral);
  border: 1px solid #f4c3b8;
  border-radius: 50%;
  font-size: 20px;
}
.feature-card h3, .program-card h3, .department-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 400;
}
.feature-card p, .program-card p, .department-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.program-card { padding: 32px; border-top: 4px solid var(--teal); background: #f1f8f7; }
.program-label {
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.program-card .text-link { margin-top: 26px; }
.department-grid, .faculty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.department-card {
  position: relative;
  min-height: 290px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.department-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.department-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 25%, rgba(5, 32, 55, 0.9));
}
.department-card:hover img { transform: scale(1.06); }
.department-card-content { position: relative; z-index: 1; padding: 22px; }
.department-card h3 { color: #fff; }
.department-card p { color: #dcebea; }

/* ======================================================================
   HOSPITAL SECTION
====================================================================== */
.hospital { color: #fff; background: var(--navy); overflow: hidden; }
.hospital h2 { color: #fff; }
.hospital p { color: #bfd4d7; }
.hospital-image img { width: 100%; aspect-ratio: 1.3; object-fit: cover; }

/* ======================================================================
   NOTICES
====================================================================== */
.notice-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.notice-list { border-top: 1px solid var(--line); }
.notice {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.notice-date { color: var(--coral); font-weight: 700; font-size: 13px; text-transform: uppercase; }
.notice h3 { margin: 0 0 5px; font-family: Georgia, serif; font-size: 20px; font-weight: 400; }
.notice p { margin: 0; color: var(--muted); font-size: 14px; }

/* ======================================================================
   FACULTY
====================================================================== */
.faculty-card { background: #fff; }
.faculty-card img {
  width: 100%;
  aspect-ratio: 0.9;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.85);
}
.faculty-card div { padding: 18px 20px 20px; }
.faculty-card h3 { margin: 0 0 4px; font-family: Georgia, serif; font-size: 20px; font-weight: 400; }
.faculty-card p { margin: 0; color: var(--muted); font-size: 13px; }

/* ======================================================================
   CTA BANNER
====================================================================== */
.cta { padding: 70px 0; background: var(--coral); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { margin: 0 0 6px; color: #fff; font-family: Georgia, serif; font-size: 42px; font-weight: 400; }
.cta p { margin: 0; color: #fff0eb; }

/* ======================================================================
   FOOTER
====================================================================== */
.footer { padding: 78px 0 28px; background: #061e35; color: #b9d0d3; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 45px; }
.footer-brand img { width: 260px; margin-bottom: 20px; background: #fff; }
.footer h3 { margin: 0 0 18px; color: #fff; font-family: Georgia, serif; font-size: 20px; font-weight: 400; }
.footer p, .footer li { font-size: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 9px 0; }
.footer a:hover { color: #fff; }
.copyright {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 30px;
  margin-top: 45px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
}

/* ======================================================================
   MODAL
====================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(4, 25, 43, 0.7);
}
.modal.is-open { display: grid; }
.modal-panel {
  width: min(620px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}
.modal-header { display: flex; justify-content: space-between; gap: 20px; }
.modal h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 34px; font-weight: 400; }
.modal-close { border: 0; background: none; color: var(--muted); font-size: 25px; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 25px; }
.form-field { display: grid; gap: 6px; }
.form-field--full { grid-column: 1/-1; }
.form-field label { color: var(--navy); font-size: 13px; font-weight: 700; }
.form-field input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); }
.form-field input:focus { outline: 3px solid rgba(15, 139, 141, 0.2); border-color: var(--teal); }
.form-status { color: var(--blue); font-weight: 700; }

/* ======================================================================
   REVEAL ANIMATION
====================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s, transform 0.7s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ======================================================================
   GENERAL RESPONSIVE
====================================================================== */
@media (max-width: 1000px) {
  .feature-grid, .department-grid, .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid, .hospital-grid { gap: 40px; }
}
@media (max-width: 760px) {
  .site-container { width: calc(100% - 32px); }
  .utility-inner { padding: 8px 0; align-items: flex-start; flex-direction: column; gap: 3px; }
  .utility-links { gap: 12px; }
  .hero, .hero-content { min-height: 590px; }
  .hero-copy { padding: 65px 0 90px; }
  .hero h1 { font-size: clamp(40px, 12vw, 60px); }
  .section { padding: 75px 0; }
  .story-grid, .hospital-grid, .notice-layout { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid, .program-grid, .department-grid, .faculty-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner, .copyright { align-items: flex-start; flex-direction: column; }
  .cta h2 { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
}
@media (max-width: 430px) {
  .feature-grid, .program-grid, .department-grid, .faculty-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-heading { margin-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
