:root {
  --bg: #f4f6fb;
  --bg-deep: #091a3b;
  --bg-card: rgba(255, 255, 255, 0.86);
  --line: rgba(9, 26, 59, 0.08);
  --text: #13213f;
  --muted: #5e6985;
  --accent: #0a4db3;
  --accent-soft: #dce8ff;
  --gold: #ffcc63;
  --shadow: 0 24px 60px rgba(11, 29, 68, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --page-width: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(32, 84, 188, 0.14), transparent 34%),
    linear-gradient(180deg, #eef2fa 0%, var(--bg) 30%, #f8f9fc 100%);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

.subpage-body {
  background:
    radial-gradient(circle at top left, rgba(32, 84, 188, 0.12), transparent 34%),
    linear-gradient(180deg, #eef2fa 0%, #f4f6fb 100%);
}

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

.site-shell {
  min-height: 100vh;
}

.topbar,
.section,
.footer {
  width: min(calc(100% - 40px), var(--page-width));
  margin: 0 auto;
}

.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  width: calc(100% - 48px);
  max-width: none;
  margin: 0 24px;
}

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 2;
}

.nav {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  justify-content: center;
  transform: translateX(-45%);
  z-index: 1;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-item {
  position: relative;
}

.nav-item-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: white;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-item:hover .nav-link::after,
.nav-item:focus-within .nav-link::after {
  transform: scaleX(1);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  display: grid;
  gap: 8px;
  min-width: 240px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(10, 24, 56, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(4, 12, 32, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
}

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

.search-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  overflow: hidden;
  flex: 0 0 auto;
  margin-left: auto;
  position: relative;
  z-index: 2;
  transition:
    width 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.search-shell.is-active,
.search-shell:focus-within {
  justify-content: flex-start;
  width: min(240px, calc(100vw - 32px));
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 32px rgba(4, 12, 32, 0.2);
}

.search-shell svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.78);
  flex: 0 0 18px;
  pointer-events: none;
}

.search-shell input {
  width: 0;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font: inherit;
  padding: 0;
  margin-left: 0;
  opacity: 0;
  pointer-events: none;
  flex: 0 1 auto;
  transition: opacity 160ms ease;
}

.search-shell.is-active input,
.search-shell:focus-within input {
  width: 100%;
  margin-left: 10px;
  opacity: 1;
  pointer-events: auto;
}

.search-shell input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.search-results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  gap: 6px;
  min-width: 280px;
  width: min(360px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(10, 24, 56, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(4, 12, 32, 0.32);
}

.search-results[hidden] {
  display: none;
}

.search-result {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.92);
}

.search-result:hover,
.search-result:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.search-result-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.search-result-meta,
.search-result-empty {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.45;
}

.hero {
  position: relative;
  min-height: 51vh;
  padding: 88px 0 18px;
  color: white;
  background:
    linear-gradient(90deg, rgba(5, 15, 40, 0.76) 0%, rgba(8, 19, 47, 0.52) 30%, rgba(8, 19, 47, 0.12) 68%, rgba(8, 19, 47, 0.06) 100%),
    linear-gradient(180deg, rgba(5, 10, 28, 0.08) 0%, rgba(5, 10, 28, 0.24) 100%),
    url("/assets/chandler-hospital.png") center 0% / 100% auto no-repeat,
    linear-gradient(180deg, #33507e 0%, #0b234e 100%);
}

.page-hero {
  position: relative;
  padding: 134px 0 54px;
  color: white;
  background:
    linear-gradient(90deg, rgba(5, 15, 40, 0.76) 0%, rgba(8, 19, 47, 0.52) 30%, rgba(8, 19, 47, 0.12) 68%, rgba(8, 19, 47, 0.06) 100%),
    linear-gradient(180deg, rgba(5, 10, 28, 0.08) 0%, rgba(5, 10, 28, 0.24) 100%),
    url("/assets/chandler-hospital.png") center 0% / 100% auto no-repeat,
    linear-gradient(180deg, #33507e 0%, #0b234e 100%);
}

.page-hero .hero-logo {
  top: 34px;
  left: 51%;
  width: min(260px, 21vw);
}

.page-hero-inner {
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.page-hero p:last-child {
  max-width: 820px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.06rem;
  line-height: 1.6;
}

.hero-logo {
  position: absolute;
  top: 34px;
  left: 51%;
  z-index: 1;
  width: min(260px, 21vw);
  transform: translateX(-50%);
  mix-blend-mode: screen;
  filter: brightness(1.15) contrast(1.05);
  opacity: 0.92;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
  padding-top: 258px;
}

.eyebrow {
  margin: 0 0 14px;
  color: inherit;
  opacity: 0.82;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero h1 {
  max-width: 520px;
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(2.8rem, 5vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 860px;
  margin: 16px 0 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, #ffffff 0%, #d8e6ff 100%);
  color: #072053;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.section {
  position: relative;
  padding: 18px 0 28px;
}

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

.section-overlap {
  margin-top: 22px;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading-compact {
  margin-bottom: 12px;
}

.section-heading h2,
.footer h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-heading p:last-child,
.split-heading > p,
.future-card > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.split-heading {
  max-width: none;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
  align-items: end;
}

.dashboard-grid,
.pathway-grid,
.tool-row {
  display: grid;
  gap: 16px;
}

.detail-grid,
.education-layout {
  display: grid;
  gap: 18px;
}

.resource-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.resource-library-grid-single {
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
}

.resource-library-grid-single-wide {
  grid-template-columns: minmax(0, 1180px);
}

.panel,
.pathway-card,
.tool-card,
.future-card,
.detail-card,
.resource-library-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 77, 179, 0.18);
  background: rgba(255, 255, 255, 0.96);
}

.mini-list a,
.resource-link-list a,
.resource-jump {
  color: var(--accent);
}

.resource-jump {
  display: inline-flex;
  margin-top: 20px;
  font-weight: 700;
}

.resource-jump::after {
  content: "\2192";
  margin-left: 10px;
}

.panel h3,
.pathway-card h3 {
  margin: 0;
  font-size: 1rem;
}

.pathway-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.92rem;
}

.mini-list,
.detail-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.mini-list li,
.detail-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
}

.mini-list li::before,
.detail-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateY(-50%);
}

.button-dark {
  background: rgba(9, 26, 59, 0.95);
  color: white;
}

.button-light {
  border: 1px solid rgba(9, 26, 59, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
}

.panel h3,
.pathway-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.content-band {
  padding-top: 0;
}

.dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.panel {
  padding: 22px;
  border-radius: 24px;
}

.today-card {
  padding: 16px 20px 16px;
  margin-bottom: 16px;
}

.today-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.today-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.today-heading-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--accent);
}

.today-heading-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.today-heading-copy {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
}

.today-heading-date {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.today-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 0;
  padding: 4px 0;
}

.today-item:last-of-type {
  margin-bottom: 0;
}

.today-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  color: var(--accent);
}

.today-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.today-time,
.today-detail,
.today-location {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.today-detail {
  font-weight: 600;
}

.today-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.today-link::after {
  content: "\2192";
  font-size: 1rem;
  line-height: 1;
  margin-left: 26px;
}

.today-link-wrap {
  display: flex;
  justify-content: flex-end;
}

.panel-feature {
  background:
    linear-gradient(135deg, rgba(10, 77, 179, 0.09), rgba(255, 255, 255, 0.88)),
    rgba(255, 255, 255, 0.88);
}

.panel-label,
.pathway-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.panel-time {
  margin-bottom: 4px;
  color: var(--muted);
}

.panel hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}

.panel a {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent);
  font-weight: 700;
}

.stack-list,
.announcement-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.stack-list li,
.announcement-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.stack-list li:last-child,
.announcement-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stack-list strong,
.announcement-list li {
  display: block;
  margin-bottom: 6px;
}

.stack-list span,
.announcement-list li {
  color: var(--muted);
  line-height: 1.5;
}

.announcement-group + .announcement-group {
  margin-top: 16px;
}

.announcement-group-title {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement-list li {
  font-size: 0.93rem;
}

.shoutout-list strong {
  color: var(--text);
}

.shoutout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.shoutout-header .panel-label {
  margin-bottom: 0;
}

.shoutout-action {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  text-decoration: none;
}

.shoutout-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(10, 77, 179, 0.24);
  font-size: 1rem;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.shoutout-action:hover .shoutout-action-icon,
.shoutout-action:focus-visible .shoutout-action-icon {
  background: rgba(10, 77, 179, 0.08);
  border-color: rgba(10, 77, 179, 0.42);
  transform: translateY(-1px);
}

.fake-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.event-list li span {
  display: block;
  margin-bottom: 2px;
}

.event-list li span:last-child {
  margin-bottom: 0;
}

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

.pathway-card {
  min-height: 250px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 241, 251, 0.9)),
    rgba(255, 255, 255, 0.92);
}

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

.detail-grid-wide {
  grid-template-columns: 1.1fr 0.9fr;
}

.detail-card {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 244, 252, 0.92)),
    rgba(255, 255, 255, 0.92);
}

.detail-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.detail-card-full {
  grid-column: 1 / -1;
}

.matrix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.matrix-download-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.matrix-download-link:hover,
.matrix-download-link:focus-visible {
  text-decoration: underline;
}

.matrix-render-shell {
  padding: 18px;
  border: 1px solid rgba(10, 77, 179, 0.12);
  border-radius: 28px;
  background: #f8fbff;
}

.matrix-render-stack {
  display: grid;
  gap: 20px;
}

.matrix-page {
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(16, 33, 68, 0.08);
}

.matrix-page canvas {
  display: block;
  width: 100%;
  height: auto;
  background: #ffffff;
}

.matrix-loading,
.matrix-error {
  margin: 0;
  padding: 24px;
  border-radius: 22px;
  background: #ffffff;
  color: var(--muted);
  text-align: center;
}

.matrix-error a {
  color: var(--accent);
  font-weight: 700;
}

.resource-library-card {
  padding: 30px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 242, 251, 0.94)),
    rgba(255, 255, 255, 0.94);
}

.resource-library-card-wide {
  padding: 34px;
}

.resource-library-card h2 {
  margin: 0 0 18px;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.resource-link-list {
  display: grid;
  gap: 14px;
  padding-left: 22px;
  margin: 0;
}

.resource-link-list li {
  color: var(--text);
  line-height: 1.5;
}

.auth-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 204, 99, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0) 28%),
    var(--bg-deep);
  color: white;
}

.auth-main {
  width: min(calc(100% - 40px), 1360px);
  margin: 0 auto;
  padding: 18px 0 54px;
}

.auth-main-minimal {
  position: relative;
  min-height: 100vh;
  width: 100%;
  max-width: none;
  padding: 0;
}

.auth-locked-logo {
  position: absolute;
  top: 74px;
  left: 50%;
  width: min(260px, 50vw);
  transform: translateX(-50%);
}

.auth-center-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 220px 24px 60px;
}

.auth-login-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #f7f9fd !important;
  box-shadow: 0 24px 60px rgba(2, 10, 29, 0.26);
  backdrop-filter: none;
}

.auth-login-card-minimal {
  width: min(100%, 530px);
  padding: 28px 30px 24px;
  border-radius: 8px;
}

.auth-card-copy {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.auth-login-card-minimal h1 {
  margin: 0;
  color: var(--bg-deep);
  font-size: 2rem;
  line-height: 1.05;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.auth-form label {
  display: grid;
  gap: 8px;
}

.auth-form span {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(19, 33, 63, 0.18);
  border-radius: 0;
  background: #f3f6ff;
  color: var(--text);
  font: inherit;
}

.auth-form input::placeholder {
  color: #7b84a0;
}

.auth-submit {
  justify-content: center;
  margin-top: 4px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-error {
  margin: 14px 0 0;
  color: #a62a2a;
  font-size: 0.92rem;
  font-weight: 600;
}

.people-intro {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

.people-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.people-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: start;
  padding: 24px 26px;
  border: 1px solid rgba(10, 77, 179, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 244, 255, 0.92)),
    rgba(255, 255, 255, 0.96);
}

.people-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.people-role,
.people-email {
  margin: 8px 0 0;
}

.people-card > div {
  min-width: 0;
}

.people-role {
  color: var(--muted);
  font-weight: 600;
}

.people-email a {
  color: var(--accent);
  font-weight: 600;
}

.people-duty-list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 16px 0 0;
}

.people-duty-list li {
  line-height: 1.5;
}

.detail-card-highlight {
  background:
    linear-gradient(135deg, rgba(10, 77, 179, 0.1), rgba(255, 255, 255, 0.96)),
    rgba(255, 255, 255, 0.94);
}

.education-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: start;
}

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

.education-grid .tool-card:first-child,
.education-grid .tool-card:last-child {
  grid-column: span 2;
}

.education-panel {
  height: 100%;
}

.compact-list {
  gap: 18px;
}

.compact-list strong,
.compact-list span {
  display: block;
}

.compact-list span {
  margin-top: 6px;
}

.tools-section {
  padding-bottom: 44px;
}

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

.policy-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px 34px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(245, 248, 255, 0.98), rgba(224, 235, 255, 0.9)),
    rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 77, 179, 0.1);
  box-shadow: var(--shadow);
}

.policy-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tool-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tool-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  padding: 20px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  text-align: center;
}

.policy-grid {
  margin-top: 18px;
}

.future-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 32px;
  align-items: center;
  padding: 38px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 204, 99, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(9, 26, 59, 1), rgba(12, 52, 121, 0.96));
  color: white;
}

.future-card .eyebrow,
.footer .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.future-card p:last-child,
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.future-story-flow {
  display: grid;
  gap: 28px;
}

.future-intro-band {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.future-intro-band p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.future-story-section {
  padding-top: 6px;
}

.future-story {
  display: grid;
  gap: 18px;
}

.future-story-wide {
  gap: 20px;
}

.future-story-split {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
}

.future-story-split-reverse {
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
}

.future-story-image {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 30px;
  border: 1px solid rgba(9, 26, 59, 0.1);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.08);
}

.future-story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.future-story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 44, 0.05), rgba(7, 18, 44, 0.42));
}

.future-story-image figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.future-story-wide .future-story-image {
  min-height: 460px;
}

.future-pulse-grid {
  display: grid;
  gap: 18px;
}

.future-story-split .future-story-image {
  min-height: 360px;
}

.future-story-panel {
  padding: 32px;
}

.future-story-panel h3 {
  margin: 0;
  font-size: 1.3rem;
}

.future-story-panel p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.future-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.future-stat {
  padding: 18px;
  border-radius: 20px;
  background: rgba(10, 77, 179, 0.06);
  border: 1px solid rgba(10, 77, 179, 0.08);
}

.future-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.future-stat span {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

.future-pulse-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.future-pulse-card {
  min-height: 100%;
}

.future-pulse-card p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.footer-band {
  margin-top: 30px;
  background: linear-gradient(135deg, rgba(5, 16, 39, 1), rgba(8, 33, 78, 0.98));
  color: white;
}

.footer {
  display: grid;
  grid-template-columns: minmax(245px, auto) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0 20px;
}

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

.footer-lockup {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-logo {
  display: block;
  width: 54px;
  height: auto;
  flex: 0 0 auto;
}

.footer-lockup h2 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

.footer-subbrand {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  line-height: 1.1;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 40px;
  align-items: start;
  justify-self: start;
  margin-left: 110px;
}

.footer-column {
  display: grid;
  gap: 6px;
  align-content: start;
}

.footer-heading {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  line-height: 1.2;
}

.footer-social {
  display: grid;
  justify-items: start;
  align-content: center;
  margin-left: -8px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 2px;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #d5d9e3;
  color: #10264f;
  transition:
    transform 140ms ease,
    background 140ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  background: #e5e8ef;
}

.social-link svg {
  width: 15px;
  height: 15px;
}

.social-link svg path {
  fill: currentColor;
}

@media (max-width: 1040px) {
  .topbar {
    flex-wrap: wrap;
    width: calc(100% - 32px);
    margin: 0 16px;
  }

  .nav {
    position: static;
    transform: none;
    gap: 18px;
    font-size: 0.88rem;
    flex-wrap: wrap;
  }

  .dashboard-grid,
  .pathway-grid,
  .tool-row,
  .detail-grid,
  .resource-library-grid,
  .future-story-split,
  .future-story-split-reverse,
  .future-pulse-grid,
  .future-stat-grid,
  .people-card-grid,
  .future-card,
  .split-heading,
  .education-layout,
  .education-grid {
    grid-template-columns: 1fr;
  }

  .future-story-wide .future-story-image,
  .future-story-split .future-story-image {
    min-height: 220px;
  }

  .people-card {
    grid-template-columns: 1fr;
  }

  .today-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .today-link-wrap {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .page-hero {
    padding-top: 122px;
  }

  .footer-columns,
  .footer,
  .policy-strip {
    grid-template-columns: 1fr;
  }

  .footer-social {
    justify-items: start;
  }

  .brand-logo {
    display: none;
  }

  .matrix-render-shell {
    padding: 16px;
  }
}

@media (max-width: 760px) {
  .topbar {
    width: calc(100% - 24px);
    margin: 0 12px;
    padding-top: 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(9, 26, 59, 0.92);
    box-shadow: var(--shadow);
  }

  .nav-item {
    width: 100%;
  }

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

  .dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 10px;
    padding: 10px;
    border-radius: 14px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-item:not(.nav-item-dropdown) .dropdown-menu {
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 56px;
    background:
      linear-gradient(180deg, rgba(5, 10, 28, 0.26) 0%, rgba(5, 10, 28, 0.48) 100%),
      url("/assets/chandler-hospital.png") center center / cover no-repeat,
      #081733;
  }

  .hero-logo {
    top: 56px;
    left: 50%;
    width: min(190px, 48vw);
  }

  .page-hero .hero-logo {
    top: 56px;
    left: 50%;
    width: min(190px, 48vw);
  }

  .hero-content {
    width: min(calc(100% - 24px), var(--page-width));
    padding-top: 120px;
  }

  .page-hero-inner {
    width: min(calc(100% - 24px), var(--page-width));
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .hero-copy {
    font-size: 0.96rem;
  }

  .section,
  .footer {
    width: min(calc(100% - 24px), var(--page-width));
  }

  .section-overlap {
    margin-top: -10px;
  }

  .pathway-card,
  .detail-card,
  .future-card,
  .panel {
    padding: 22px;
  }

  .search-shell {
    order: 4;
    width: 42px;
  }

  .search-shell.is-active,
  .search-shell:focus-within {
    width: min(100%, 240px);
  }

  .search-results {
    right: auto;
    left: 0;
    width: min(320px, calc(100vw - 32px));
  }

  .auth-locked-logo {
    top: 56px;
    width: min(210px, 56vw);
  }

  .auth-center-shell {
    padding: 170px 16px 40px;
  }

  .auth-login-card-minimal {
    padding: 24px 20px 20px;
  }

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

  .matrix-render-shell {
    padding: 12px;
    border-radius: 20px;
  }

  .matrix-page {
    border-radius: 18px;
  }
}
