:root {
  --bg: #f4ead9;
  --bg-soft: #fbf5ec;
  --surface: rgba(255, 250, 244, 0.8);
  --surface-strong: #fff9f0;
  --ink: #10233f;
  --ink-soft: #314864;
  --dark: #09131f;
  --dark-soft: #13253f;
  --dark-panel: rgba(11, 23, 39, 0.9);
  --line: rgba(16, 35, 63, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --accent: #ed7442;
  --accent-strong: #f6c25f;
  --accent-cool: #2c9aa5;
  --success: #8dc48e;
  --shadow: 0 24px 60px rgba(19, 36, 60, 0.14);
  --shadow-strong: 0 28px 72px rgba(6, 13, 22, 0.42);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --max-width: 1260px;
  --font-heading: "Franklin Gothic Medium", "Arial Narrow", "Trebuchet MS", sans-serif;
  --font-body: "Trebuchet MS", "Segoe UI", sans-serif;
  --font-accent: "Baskerville", "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(246, 194, 95, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(44, 154, 165, 0.14), transparent 30%),
    linear-gradient(180deg, #f7f0e3 0%, #ecdfcd 100%);
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.layout {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-header {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 32px), var(--max-width));
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 18, 31, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-strong);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
  color: #fff7ef;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(237, 116, 66, 0.26);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong {
  font-family: var(--font-heading);
  font-size: 1.04rem;
  line-height: 0.96;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand-copy small {
  color: rgba(255, 247, 239, 0.74);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 22px;
  min-width: 0;
  color: rgba(255, 247, 239, 0.86);
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
  font-size: 0.94rem;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-strong) 100%);
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
body[data-page="home"] .site-nav a[data-nav="home"]::after,
body[data-page="medicine"] .site-nav a[data-nav="medicine"]::after,
body[data-page="uav"] .site-nav a[data-nav="uav"]::after,
body[data-page="systems"] .site-nav a[data-nav="systems"]::after,
body[data-page="campus"] .site-nav a[data-nav="campus"]::after {
  transform: scaleX(1);
}

.site-nav a.is-accent {
  color: #fffaf0;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fffaf0;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.header-call::after {
  display: none;
}

.header-call:hover,
.header-call:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(245, 193, 108, 0.42);
  background: rgba(245, 193, 108, 0.12);
}

.header-call svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-call-label {
  display: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  background: transparent;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff8f0;
}

main {
  padding-top: 110px;
}

body[data-page="home"] main {
  padding-top: 0;
}

body[data-page="medicine"] main,
body[data-page="uav"] main,
body[data-page="systems"] main,
body[data-page="campus"] main {
  padding-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

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

.button-primary {
  color: #10161f;
  background: linear-gradient(135deg, var(--accent-strong) 0%, var(--accent) 100%);
  box-shadow: 0 14px 28px rgba(238, 116, 67, 0.24);
}

.button-secondary {
  color: #fff9f1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-light);
}

.button-ghost {
  color: #fff9f1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.section-shell,
.section-dark-shell,
.section-soft-shell {
  position: relative;
  padding: 84px 0;
}

.section-dark-shell {
  color: #fff5ea;
  background:
    radial-gradient(circle at top left, rgba(237, 116, 66, 0.22), transparent 22%),
    radial-gradient(circle at top right, rgba(44, 154, 165, 0.16), transparent 24%),
    linear-gradient(180deg, #10233f 0%, #08111c 100%);
}

.section-dark-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent);
  pointer-events: none;
}

.section-soft-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08)),
    rgba(255, 248, 239, 0.7);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.hero-home {
  min-height: 100svh;
  padding: 178px 0 28px;
  color: #fff7ee;
  background:
    linear-gradient(100deg, rgba(7, 17, 30, 0.94) 0%, rgba(7, 17, 30, 0.88) 28%, rgba(7, 17, 30, 0.72) 58%, rgba(7, 17, 30, 0.82) 100%),
    radial-gradient(circle at top left, rgba(246, 194, 95, 0.12), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(44, 154, 165, 0.12), transparent 20%),
    url("../images/generated/hero-campus.png") center center / cover no-repeat;
}

#portal,
#apply {
  scroll-margin-top: 118px;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 31, 0.08), rgba(8, 18, 31, 0.36));
  pointer-events: none;
}

.hero-home-grid,
.inner-hero-grid,
.story-grid,
.split-panel,
.apply-grid,
.footer-grid,
.page-band {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
}

.hero-home-grid {
  grid-template-columns: minmax(430px, 0.88fr) minmax(0, 1.12fr);
  min-height: calc(100svh - 188px);
  align-content: start;
  align-items: start;
  gap: 48px 34px;
}

.hero-copy {
  grid-column: 1 / -1;
  display: grid;
  align-content: start;
  gap: 0;
  max-width: 100%;
  padding-right: 0;
}

.hero-copy h1,
.inner-hero-copy h1,
.section-title h2,
.cta-band h2,
.story-copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-wrap: balance;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.58rem, 1.82vw, 1.96rem);
  line-height: 1.02;
  letter-spacing: 0.012em;
}

.hero-copy .lead,
.inner-hero-copy .lead {
  max-width: 82ch;
  margin: 16px 0 0;
  color: rgba(255, 247, 239, 0.82);
  font-size: 1rem;
  line-height: 1.58;
  text-wrap: pretty;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-points {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 18px;
  max-width: 100%;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 247, 239, 0.8);
  font-size: 0.84rem;
  white-space: nowrap;
}

.metric-row,
.facts-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.metric-chip,
.fact-card,
.program-card,
.timeline-card,
.story-card,
.info-panel,
.route-tile,
.apply-form,
.footer-shell,
.cta-band,
.media-panel,
.highlight-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.metric-chip {
  padding: 14px 16px;
  border-color: var(--line-light);
  background: rgba(255, 255, 255, 0.08);
}

.metric-chip strong,
.fact-card strong {
  display: block;
  font-family: var(--font-heading);
  line-height: 1;
}

.metric-chip strong {
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}

.metric-chip span {
  color: rgba(255, 247, 239, 0.78);
  line-height: 1.45;
}

.hero-visual-stack {
  display: grid;
  gap: 14px;
}

.hero-approach-panel,
.hero-side-panel {
  display: grid;
  grid-column: 1 / 2;
  gap: 14px;
  width: 100%;
  max-width: none;
  margin-left: 0;
  align-content: stretch;
  align-self: stretch;
  min-height: 290px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(9, 19, 31, 0.66), rgba(9, 19, 31, 0.54));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-strong);
}

.hero-photo,
.inner-hero-media,
.wide-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-strong);
}

.hero-photo img,
.inner-hero-media img,
.wide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo {
  min-height: 0;
}

.hero-photo img {
  height: clamp(250px, 37vh, 360px);
  aspect-ratio: 16 / 9;
}

.floating-insight {
  position: absolute;
  top: 18px;
  left: 18px;
  max-width: 250px;
  padding: 16px 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(8, 18, 31, 0.84);
  box-shadow: var(--shadow-strong);
}

.floating-insight p,
.floating-insight h3 {
  margin: 0;
}

.floating-insight h3 {
  margin-top: 10px;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.floating-insight p {
  color: rgba(255, 247, 239, 0.78);
  line-height: 1.55;
}

.hero-approach-panel .floating-insight,
.hero-side-panel .floating-insight {
  position: static;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  max-width: none;
  padding: 4px 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-approach-panel .floating-insight h3,
.hero-side-panel .floating-insight h3 {
  font-size: 1.26rem;
}

.hero-approach-panel .floating-insight p,
.hero-side-panel .floating-insight p {
  font-size: 1.03rem;
  line-height: 1.62;
}

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

.hero-route-grid {
  grid-column: 2 / 3;
  align-content: start;
  grid-auto-rows: 1fr;
  margin-top: 24px;
}

.hero-approach-panel {
  margin-top: 24px;
}

.route-tile {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 126px;
  padding: 16px 18px;
  border-color: var(--line-light);
  background: rgba(255, 255, 255, 0.08);
}

.route-tile img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 16px;
}

.route-tile strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  text-wrap: balance;
  text-transform: uppercase;
}

.route-tile span {
  display: block;
  color: rgba(255, 247, 239, 0.76);
  font-size: 1rem;
  line-height: 1.48;
  text-wrap: pretty;
}

.metric-row-light .metric-chip {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.metric-row-light {
  margin-bottom: 18px;
}

.metric-row-light .metric-chip strong {
  color: var(--ink);
}

.metric-row-light .metric-chip span {
  color: var(--ink-soft);
}

.section-title {
  max-width: 940px;
  margin-bottom: 28px;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3.75rem);
}

.section-title p {
  max-width: 66ch;
  margin: 16px 0 0;
  color: var(--ink-soft);
  line-height: 1.68;
  text-wrap: pretty;
}

.testimonials-title {
  max-width: none;
}

.testimonials-title h2 {
  max-width: none;
}

.testimonials-title p {
  max-width: none;
}

.testimonials-heading {
  font-size: clamp(2.24rem, 3.42vw, 4rem);
  line-height: 0.98;
}

.testimonials-heading span {
  display: block;
  white-space: nowrap;
}

.result-heading {
  font-size: clamp(2.16rem, 3.28vw, 3.88rem);
  line-height: 0.98;
}

.result-heading span {
  display: block;
  white-space: nowrap;
}

.section-dark-shell .section-title h2,
.section-dark-shell .section-title p,
.section-dark-shell .eyebrow,
.hero-home .eyebrow,
.hero-home .section-title p {
  color: #fff7ee;
}

.portal-grid,
.program-grid,
.timeline-grid,
.highlight-grid {
  display: grid;
  gap: 18px;
}

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

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

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

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

.program-card,
.timeline-card,
.story-card,
.highlight-card {
  padding: 24px;
}

.program-card h3,
.timeline-card h3,
.story-card h3,
.highlight-card h3,
.story-copy h2 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1.36rem;
  line-height: 1.08;
  text-wrap: balance;
  text-transform: uppercase;
}

.program-card p,
.timeline-card p,
.story-card p,
.highlight-card p,
.story-copy p,
.info-panel p,
.fact-card p,
.cta-band p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
  text-wrap: pretty;
}

.program-card ul,
.info-panel ul,
.story-copy ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.program-card li,
.info-panel li,
.story-copy li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.program-card li::before,
.info-panel li::before,
.story-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 0 0 6px rgba(237, 116, 66, 0.12);
}

.story-grid,
.split-panel,
.apply-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.story-copy,
.info-panel {
  padding: 28px;
}

.story-copy .quote {
  margin: 0 0 18px;
  font-family: var(--font-accent);
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  line-height: 1.35;
  color: var(--ink);
}

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

.testimonial-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(246, 194, 95, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.72));
  box-shadow: var(--shadow);
}

.testimonial-track {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 33, 60, 0.08);
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.testimonial-quote {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 1.9vw, 1.34rem);
  line-height: 1.5;
}

.testimonial-meta {
  display: grid;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(16, 35, 63, 0.12);
}

.testimonial-meta strong {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.16;
  text-transform: uppercase;
}

.testimonial-meta span {
  color: var(--ink-soft);
  line-height: 1.55;
}

.inner-hero {
  padding: 24px 0 40px;
}

.detail-hero {
  position: relative;
  min-height: 100svh;
  padding: 178px 0 32px;
  color: #fff7ee;
}

.detail-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(430px, 0.88fr) minmax(0, 1.12fr);
  min-height: calc(100svh - 210px);
  align-content: start;
  align-items: start;
  gap: 44px 34px;
}

.detail-hero .eyebrow {
  color: #fff7ee;
}

.detail-hero-copy {
  grid-column: 1 / -1;
  max-width: 100%;
}

.detail-hero-copy h1 {
  margin: 0;
  max-width: none;
  font-family: var(--font-heading);
  font-size: clamp(1.95rem, 2.8vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.015em;
  text-wrap: balance;
  text-transform: uppercase;
}

.detail-hero-copy .lead {
  max-width: 78ch;
  margin: 16px 0 0;
  color: rgba(255, 247, 239, 0.82);
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.detail-hero-panel {
  display: grid;
  grid-column: 1 / 2;
  align-self: stretch;
  min-height: 292px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(9, 19, 31, 0.66), rgba(9, 19, 31, 0.54));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-strong);
}

.detail-hero-panel .floating-insight {
  position: static;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  max-width: none;
  padding: 4px 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.detail-hero-panel .floating-insight h3 {
  font-size: 1.26rem;
}

.detail-hero-panel .floating-insight p {
  font-size: 1.03rem;
  line-height: 1.62;
}

.detail-hero-card-grid {
  grid-column: 2 / 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.detail-hero-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 126px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(16px);
}

.detail-hero-badge {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent-strong) 0%, var(--accent) 100%);
  color: #162230;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(238, 116, 67, 0.22);
}

.detail-hero-card > div strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  line-height: 1.05;
  text-wrap: balance;
  text-transform: uppercase;
}

.detail-hero-card > div span {
  display: block;
  color: rgba(255, 247, 239, 0.76);
  font-size: 1rem;
  line-height: 1.48;
  text-wrap: pretty;
}

.detail-hero--medicine {
  background:
    linear-gradient(100deg, rgba(7, 17, 30, 0.95) 0%, rgba(7, 17, 30, 0.84) 34%, rgba(7, 17, 30, 0.72) 64%, rgba(7, 17, 30, 0.84) 100%),
    radial-gradient(circle at top left, rgba(246, 194, 95, 0.12), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(44, 154, 165, 0.12), transparent 20%),
    url("../images/generated/medicine-lab.png") center center / cover no-repeat;
}

.detail-hero--uav {
  background:
    linear-gradient(100deg, rgba(7, 17, 30, 0.95) 0%, rgba(7, 17, 30, 0.84) 34%, rgba(7, 17, 30, 0.72) 64%, rgba(7, 17, 30, 0.84) 100%),
    radial-gradient(circle at top left, rgba(246, 194, 95, 0.12), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(44, 154, 165, 0.12), transparent 20%),
    url("../images/generated/uav-lab.png") center center / cover no-repeat;
}

.detail-hero--systems {
  background:
    linear-gradient(100deg, rgba(7, 17, 30, 0.95) 0%, rgba(7, 17, 30, 0.84) 34%, rgba(7, 17, 30, 0.72) 64%, rgba(7, 17, 30, 0.84) 100%),
    radial-gradient(circle at top left, rgba(246, 194, 95, 0.12), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(44, 154, 165, 0.12), transparent 20%),
    url("../images/generated/systems-lab.png") center center / cover no-repeat;
}

.detail-hero--campus {
  background:
    linear-gradient(100deg, rgba(7, 17, 30, 0.95) 0%, rgba(7, 17, 30, 0.84) 34%, rgba(7, 17, 30, 0.72) 64%, rgba(7, 17, 30, 0.84) 100%),
    radial-gradient(circle at top left, rgba(246, 194, 95, 0.12), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(44, 154, 165, 0.12), transparent 20%),
    url("../images/generated/hero-campus.png") center center / cover no-repeat;
}

.inner-hero-grid {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
}

.inner-hero-copy {
  padding: 42px 0;
}

.inner-hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(2.7rem, 5.6vw, 4.9rem);
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 247, 239, 0.86);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inner-hero-media {
  min-height: 480px;
}

.inner-hero-media img {
  aspect-ratio: 16 / 10;
}

.facts-row {
  margin-top: 24px;
}

.fact-card {
  padding: 18px;
}

.fact-card strong {
  margin-bottom: 8px;
  font-size: 1.7rem;
  color: var(--ink);
}

.fact-card span {
  display: block;
  color: var(--ink-soft);
  line-height: 1.45;
}

.wide-media {
  min-height: 0;
}

.wide-media img {
  height: auto;
  object-fit: contain;
}

.campus-media-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08)),
    rgba(255, 248, 239, 0.78);
}

.campus-media-shell .section-title {
  max-width: none;
}

.campus-media-shell .section-title p {
  max-width: 76ch;
}

.campus-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.campus-media-card,
.campus-media-note {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 28px;
  background: rgba(255, 252, 248, 0.8);
  box-shadow: 0 18px 48px rgba(19, 36, 60, 0.12);
}

.campus-media-card {
  aspect-ratio: 4 / 5;
}

.campus-media-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.campus-media-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 19, 31, 0.02), rgba(9, 19, 31, 0.18));
  opacity: 0;
  transition: opacity 220ms ease;
}

.campus-media-trigger:hover::after,
.campus-media-trigger:focus-visible::after {
  opacity: 1;
}

.campus-media-card--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

.campus-media-card--video {
  aspect-ratio: 9 / 16;
}

.campus-media-card img,
.campus-media-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campus-media-card video {
  background: #08111c;
}

.campus-media-play {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(8, 18, 31, 0.76);
  color: #fff8ef;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.campus-media-label,
.campus-media-play {
  pointer-events: none;
}

.campus-media-card--video .campus-media-label {
  top: 16px;
  bottom: auto;
}

.campus-media-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 18, 31, 0.76);
  color: #fff8ef;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.campus-media-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(246, 194, 95, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.94), rgba(248, 242, 233, 0.9));
}

.campus-media-note--lead {
  max-width: none;
  margin-top: 24px;
}

.campus-media-note .eyebrow,
.campus-media-note h3,
.campus-media-note p,
.campus-media-note ul {
  margin: 0;
}

.campus-media-note h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.02;
  text-wrap: balance;
  text-transform: uppercase;
}

.campus-media-note p {
  color: var(--ink-soft);
  line-height: 1.6;
  text-wrap: pretty;
}

.campus-media-note ul {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.campus-media-note li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  line-height: 1.5;
}

.campus-media-note li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 0.4em;
  flex: 0 0 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-strong) 0%, var(--accent) 100%);
  box-shadow: 0 0 0 6px rgba(237, 116, 66, 0.1);
}

.campus-video-feature {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 18px;
  margin-top: 30px;
  width: 100%;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.campus-video-copy {
  display: grid;
  gap: 12px;
  padding: 24px 26px;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(246, 194, 95, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.92), rgba(248, 242, 233, 0.88));
  box-shadow: 0 18px 48px rgba(19, 36, 60, 0.12);
}

.campus-video-copy .eyebrow,
.campus-video-copy h3,
.campus-video-copy p {
  margin: 0;
}

.campus-video-copy h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.02;
  text-wrap: balance;
  text-transform: uppercase;
}

.campus-video-copy p {
  color: var(--ink-soft);
  line-height: 1.62;
  text-wrap: pretty;
}

.campus-video-card {
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(180deg, rgba(7, 16, 28, 0.84), rgba(7, 16, 28, 0.92));
}

.campus-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--media-poster) center center / cover no-repeat;
  opacity: 0.28;
  filter: blur(28px);
  transform: scale(1.08);
}

.campus-video-card .campus-media-trigger {
  display: grid;
  place-items: center;
  padding: 0;
}

.campus-video-card video {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
  background: #050c14;
}

.campus-video-card .campus-media-play {
  right: 22px;
  bottom: 22px;
}

.campus-video-card .campus-media-label {
  top: 18px;
  left: 18px;
  bottom: auto;
  right: auto;
  z-index: 2;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(7, 14, 24, 0.88);
  backdrop-filter: blur(18px);
}

.media-lightbox.is-open {
  display: flex;
}

.media-lightbox[hidden] {
  display: none;
}

.media-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.media-lightbox-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(1180px, calc(100vw - 56px));
}

.media-lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff8ef;
}

.media-lightbox-meta {
  display: grid;
  gap: 4px;
}

.media-lightbox-meta strong {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-lightbox-meta span {
  color: rgba(255, 248, 239, 0.68);
  line-height: 1.5;
}

.media-lightbox-counter {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 248, 239, 0.68);
}

.media-lightbox-close,
.media-lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff8ef;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.media-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
  line-height: 1;
}

.media-lightbox-close:hover,
.media-lightbox-close:focus-visible,
.media-lightbox-nav:hover,
.media-lightbox-nav:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(246, 194, 95, 0.42);
  background: rgba(246, 194, 95, 0.12);
}

.media-lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(72vh, 760px);
  padding: 26px 88px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(10, 18, 29, 0.9), rgba(10, 18, 29, 0.76));
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.28);
}

.media-lightbox-content {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.media-lightbox-content img,
.media-lightbox-content video {
  display: block;
  max-width: 100%;
  max-height: min(68vh, 720px);
  border-radius: 24px;
  object-fit: contain;
  background: #050c14;
}

.media-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  margin-top: -27px;
  font-size: 2rem;
  line-height: 1;
}

.media-lightbox-nav--prev {
  left: 20px;
}

.media-lightbox-nav--next {
  right: 20px;
}

.cta-band {
  display: grid;
  grid-template-columns: 1.1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 30px;
  border-color: var(--line-light);
  background: rgba(255, 255, 255, 0.08);
}

.cta-band h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  color: #fff5ea;
}

.cta-band p {
  margin-top: 10px;
  color: rgba(255, 247, 239, 0.82);
}

.apply-zone {
  position: relative;
  padding-top: 22px;
  padding-bottom: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 247, 235, 0.82), transparent 24%),
    radial-gradient(circle at 82% 28%, rgba(245, 193, 108, 0.16), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(180deg, #d8d2c8 0%, #cbc4ba 48%, #c3bdb4 100%);
}

.apply-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 58%, rgba(255, 255, 255, 0.24), transparent 18%),
    radial-gradient(circle at 88% 72%, rgba(44, 154, 165, 0.08), transparent 18%);
  pointer-events: none;
}

.apply-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
}

.apply-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.apply-form input:focus-visible,
.apply-form select:focus-visible,
.apply-form textarea:focus-visible {
  outline: none;
  border-color: rgba(237, 116, 66, 0.36);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 4px rgba(237, 116, 66, 0.08);
}

.apply-form .full {
  grid-column: 1 / -1;
}

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

.form-note,
.form-status {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.form-status {
  color: var(--accent);
  min-height: 1.5em;
}

.form-status.is-progress {
  color: var(--ink);
}

.form-status.is-success {
  color: #1c7a48;
}

.form-status.is-error {
  color: #b54e36;
}

.apply-form button[disabled] {
  cursor: progress;
  opacity: 0.82;
}

.footer-area {
  position: relative;
  padding: 10px 0 34px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 250, 242, 0.28), transparent 22%),
    linear-gradient(180deg, #c3bdb4 0%, #b7b1a8 100%);
}

.footer-shell {
  padding: 26px 30px;
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.88), rgba(247, 240, 230, 0.8)),
    rgba(255, 255, 255, 0.34);
  box-shadow: 0 24px 54px rgba(19, 36, 60, 0.12);
  backdrop-filter: blur(18px);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 24px;
}

.footer-shell strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-shell p,
.footer-shell a {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.footer-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-year {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-popup {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 85;
  width: min(390px, calc(100vw - 24px));
  padding: 18px 18px 16px;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(247, 239, 228, 0.94));
  box-shadow: 0 22px 58px rgba(19, 36, 60, 0.18);
  backdrop-filter: blur(18px);
}

.cookie-popup[hidden] {
  display: none;
}

.cookie-popup strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cookie-popup p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.cookie-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.cookie-popup .button {
  min-height: 42px;
}

.site-consultant {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.consultant-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-strong) 0%, var(--accent) 100%);
  color: #13253f;
  box-shadow: 0 18px 38px rgba(238, 116, 67, 0.3);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.consultant-toggle:hover,
.consultant-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(238, 116, 67, 0.34);
}

.consultant-toggle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.consultant-panel {
  display: none;
  position: relative;
  flex-direction: column;
  width: min(430px, calc(100vw - 24px));
  max-height: min(82svh, 760px);
  overflow: hidden;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(250, 244, 236, 0.94));
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 82px rgba(12, 24, 40, 0.28);
}

.consultant-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 128px;
  background:
    radial-gradient(circle at top right, rgba(246, 194, 95, 0.28), transparent 42%),
    radial-gradient(circle at top left, rgba(44, 154, 165, 0.16), transparent 38%);
  pointer-events: none;
}

.site-consultant.is-open .consultant-panel {
  display: flex;
}

.consultant-header {
  position: relative;
  padding: 18px 20px 16px;
  background: linear-gradient(135deg, rgba(16, 35, 63, 0.97), rgba(27, 50, 82, 0.92));
  color: #fff8ef;
}

.consultant-headline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.consultant-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(238, 116, 67, 0.22);
}

.consultant-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consultant-kicker {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 248, 239, 0.66);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.consultant-header strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.consultant-header p {
  margin: 0;
  color: rgba(255, 248, 239, 0.8);
  line-height: 1.45;
}

.consultant-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: rgba(255, 248, 239, 0.86);
  font-size: 0.88rem;
}

.consultant-status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(141, 196, 142, 0.14);
}

.consultant-messages {
  display: grid;
  flex: 1 1 auto;
  gap: 10px;
  min-height: 124px;
  padding: 18px 18px 14px;
  overflow-y: auto;
  background:
    radial-gradient(circle at top left, rgba(246, 194, 95, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.2));
}

.consultant-bubble {
  max-width: 88%;
  padding: 13px 15px;
  border-radius: 18px;
  line-height: 1.55;
  box-shadow: 0 10px 24px rgba(16, 35, 63, 0.08);
  text-wrap: pretty;
}

.consultant-bubble-copy strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.consultant-bubble.assistant {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-top-left-radius: 8px;
}

.consultant-bubble.user {
  margin-left: auto;
  color: #fff7ef;
  background: linear-gradient(135deg, #10233f 0%, #1f3d63 100%);
  border-top-right-radius: 8px;
}

.consultant-bubble a {
  color: inherit;
  text-decoration: underline;
}

.consultant-bubble a.consultant-action {
  text-decoration: none;
}

.consultant-bubble-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.consultant-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 999px;
  background: rgba(16, 35, 63, 0.05);
  color: var(--ink);
  font-size: 0.84rem;
  text-decoration: none;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.consultant-action:hover,
.consultant-action:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(237, 116, 66, 0.24);
  background: rgba(237, 116, 66, 0.12);
}

.consultant-quick {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 16px;
}

.consultant-chip {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.9rem;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.consultant-chip:hover,
.consultant-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(237, 116, 66, 0.24);
  background: rgba(246, 194, 95, 0.16);
}

.consultant-input-row {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: 1fr 46px;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(16, 35, 63, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.consultant-input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(16, 35, 63, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.consultant-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(238, 116, 67, 0.22);
}

.consultant-send svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateX(1px);
  transition: transform 220ms ease;
}

.consultant-send:hover svg,
.consultant-send:focus-visible svg {
  transform: translateX(2px) translateY(-1px);
}

.consultant-note {
  padding: 0 18px 16px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1320px) {
  .site-header {
    top: 18px;
    gap: 14px;
    padding: 13px 16px;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .brand-copy strong {
    font-size: 0.98rem;
    letter-spacing: 0.09em;
  }

  .brand-copy small {
    font-size: 0.76rem;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 0.9rem;
  }

  .hero-home {
    padding-top: 168px;
  }

  .hero-home-grid,
  .detail-hero-grid {
    gap: 34px 28px;
  }

  .hero-copy h1 {
    max-width: 15ch;
    white-space: normal;
    font-size: clamp(2.6rem, 4.6vw, 4rem);
    line-height: 0.98;
    letter-spacing: 0.016em;
  }

  .detail-hero-copy h1 {
    max-width: 13ch;
    font-size: clamp(2.3rem, 4.4vw, 4rem);
  }

  .hero-copy .lead,
  .detail-hero-copy .lead {
    max-width: 70ch;
  }

  .hero-approach-panel,
  .hero-side-panel,
  .detail-hero-panel {
    padding: 22px;
  }

  .route-grid {
    gap: 14px;
  }

  .route-tile,
  .detail-hero-card {
    grid-template-columns: 78px 1fr;
    min-height: 118px;
    padding: 15px 16px;
  }

  .route-tile img,
  .detail-hero-badge {
    width: 78px;
    height: 78px;
    border-radius: 20px;
  }

  .route-tile strong,
  .detail-hero-card > div strong {
    font-size: 1.02rem;
  }

  .route-tile span,
  .detail-hero-card > div span {
    font-size: 0.96rem;
  }

  .section-title {
    max-width: none;
  }

  .section-title h2 {
    font-size: clamp(1.95rem, 4vw, 3.25rem);
  }

  .program-card,
  .timeline-card,
  .story-card,
  .highlight-card,
  .story-copy,
  .info-panel,
  .apply-form {
    padding: 24px;
  }

  .campus-media-grid {
    gap: 14px;
  }

  .campus-video-feature {
    margin-top: 26px;
  }
}

@media (max-width: 1180px) {
  .hero-home,
  .detail-hero {
    min-height: auto;
    padding-top: 160px;
  }

  .detail-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
  }

  .detail-hero-copy,
  .detail-hero-panel,
  .detail-hero-card-grid {
    grid-column: auto;
  }

  .detail-hero-panel {
    min-height: 0;
    margin-top: 0;
  }

  .detail-hero-card-grid {
    margin-top: 0;
  }

  .detail-hero-copy h1 {
    max-width: 13ch;
    font-size: clamp(2.35rem, 5.1vw, 4.4rem);
    white-space: normal;
  }

  .hero-home-grid,
  .inner-hero-grid,
  .story-grid,
  .split-panel,
  .apply-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    align-content: start;
    align-items: start;
    gap: 28px;
  }

  .hero-home-grid {
    min-height: auto;
  }

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

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

  .campus-media-card--wide,
  .campus-media-note {
    grid-column: span 2;
  }

  .campus-video-card {
    width: 100%;
  }

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

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

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

  .hero-copy {
    grid-column: auto;
    padding-right: 0;
  }

  .hero-approach-panel,
  .hero-side-panel,
  .hero-route-grid {
    grid-column: auto;
    width: 100%;
    max-width: none;
    margin-top: 0;
    min-height: 0;
  }

  .hero-copy h1 {
    max-width: 13ch;
    white-space: normal;
    font-size: clamp(2.35rem, 5.1vw, 4.4rem);
    letter-spacing: 0.02em;
  }

  .hero-points {
    flex-wrap: wrap;
  }
}

@media (max-width: 1080px) {
  .site-header {
    width: min(calc(100% - 28px), var(--max-width));
    padding: 12px 14px;
    gap: 10px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .brand-copy small {
    font-size: 0.72rem;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  .header-call {
    width: 42px;
    height: 42px;
  }

  .hero-home,
  .detail-hero {
    padding-top: 156px;
  }

  .hero-home-grid,
  .detail-hero-grid {
    gap: 26px;
  }

  .hero-copy h1,
  .detail-hero-copy h1 {
    max-width: 12.5ch;
  }

  .hero-copy .lead,
  .detail-hero-copy .lead {
    font-size: 0.98rem;
  }

  .portal-grid,
  .program-grid,
  .timeline-grid,
  .highlight-grid,
  .metric-row,
  .facts-row {
    gap: 12px;
  }
}

@media (max-width: 920px) {
  .detail-hero {
    min-height: auto;
    padding-top: 148px;
  }

  .site-header {
    top: 14px;
    width: min(calc(100% - 24px), var(--max-width));
    gap: 12px;
    padding: 12px 12px 12px 14px;
    border-radius: 26px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 15px;
  }

  .brand-copy strong {
    font-size: 0.84rem;
    letter-spacing: 0.08em;
  }

  .brand-copy small {
    font-size: 0.68rem;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: min(70svh, 520px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(8, 18, 31, 0.96);
    box-shadow: var(--shadow-strong);
  }

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

  .site-nav a {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .site-nav .header-call {
    width: 100%;
    height: auto;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px 12px;
    border-radius: 14px;
  }

  .header-call-label {
    display: inline;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.06);
  }

  .site-nav a::after {
    display: none;
  }

  .hero-home {
    min-height: auto;
    padding-top: 148px;
  }

  .hero-home-grid,
  .detail-hero-grid {
    gap: 22px;
  }

  .hero-copy h1,
  .detail-hero-copy h1 {
    max-width: 11.5ch;
    font-size: clamp(2.2rem, 6.4vw, 3.4rem);
  }

  .hero-copy .lead,
  .detail-hero-copy .lead {
    max-width: 100%;
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .hero-actions,
  .inline-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .hero-approach-panel,
  .hero-side-panel,
  .detail-hero-panel {
    padding: 22px;
    border-radius: 28px;
  }

  .route-tile,
  .detail-hero-card {
    grid-template-columns: 72px 1fr;
    min-height: 110px;
    padding: 16px;
    border-radius: 26px;
  }

  .route-tile img,
  .detail-hero-badge {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .program-card,
  .timeline-card,
  .story-card,
  .highlight-card,
  .story-copy,
  .info-panel,
  .apply-form,
  .footer-shell,
  .cta-band {
    padding: 22px;
  }

  .section-shell,
  .section-dark-shell,
  .section-soft-shell {
    padding: 76px 0;
  }

  .campus-video-feature {
    gap: 16px;
  }

  .hero-side-panel,
  .hero-approach-panel,
  .route-grid,
  .apply-form {
    grid-template-columns: 1fr;
  }

  .campus-media-card--wide,
  .campus-media-note {
    grid-column: auto;
  }

  .media-lightbox {
    padding: 18px;
  }

  .media-lightbox-shell {
    width: min(100%, calc(100vw - 36px));
  }

  .media-lightbox-stage {
    padding: 22px 74px;
  }

  .consultant-panel {
    width: min(420px, calc(100vw - 36px));
    max-height: min(78svh, 680px);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 10px 10px 10px 12px;
    border-radius: 24px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    font-size: 0.8rem;
  }

  .hero-home,
  .detail-hero {
    padding-top: 138px;
  }

  .hero-home-grid,
  .detail-hero-grid {
    gap: 20px;
  }

  .hero-copy h1,
  .detail-hero-copy h1,
  .section-title h2 {
    max-width: none;
    font-size: clamp(1.95rem, 8vw, 3rem);
    line-height: 0.98;
  }

  .hero-actions,
  .inline-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .inline-actions .button,
  .cta-band .button {
    width: 100%;
  }

  .metric-row,
  .facts-row,
  .portal-grid,
  .program-grid,
  .timeline-grid,
  .highlight-grid,
  .testimonials-grid,
  .route-grid,
  .detail-hero-card-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    margin-bottom: 22px;
  }

  .testimonials-heading span {
    white-space: normal;
  }

  .result-heading span {
    white-space: normal;
  }

  .section-title p {
    max-width: 100%;
  }

  .program-card,
  .timeline-card,
  .story-card,
  .highlight-card,
  .story-copy,
  .info-panel,
  .apply-form,
  .cta-band {
    padding: 22px;
  }

  .story-grid,
  .split-panel,
  .apply-grid,
  .footer-grid {
    gap: 20px;
  }

  .route-tile,
  .detail-hero-card {
    grid-template-columns: 64px 1fr;
    gap: 14px;
    min-height: 0;
  }

  .route-tile img,
  .detail-hero-badge {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .route-tile strong,
  .detail-hero-card > div strong {
    font-size: 0.96rem;
  }

  .route-tile span,
  .detail-hero-card > div span {
    font-size: 0.92rem;
    line-height: 1.44;
  }

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

  .campus-media-card,
  .campus-media-card--wide,
  .campus-media-card--video {
    aspect-ratio: auto;
    min-height: 300px;
  }

  .campus-media-note {
    padding: 22px 20px;
  }

  .campus-video-copy {
    padding: 22px 20px;
  }

  .campus-video-card {
    aspect-ratio: 16 / 10;
  }

  .media-lightbox {
    padding: 14px;
  }

  .media-lightbox-topbar {
    gap: 12px;
  }

  .media-lightbox-stage {
    min-height: 58svh;
    padding: 58px 14px 66px;
  }

  .media-lightbox-nav {
    top: auto;
    bottom: 14px;
    margin-top: 0;
    width: 46px;
    height: 46px;
  }

  .media-lightbox-nav--prev {
    left: 14px;
  }

  .media-lightbox-nav--next {
    right: 14px;
  }

  .media-lightbox-close {
    top: 12px;
    right: 12px;
  }

  .cookie-popup {
    left: 12px;
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 82px);
    width: auto;
  }

  .site-consultant {
    right: 12px;
    left: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
    align-items: stretch;
  }

  .consultant-panel {
    width: 100%;
    border-radius: 26px;
    max-height: min(76svh, 620px);
  }

  .consultant-toggle {
    align-self: flex-end;
  }

  .consultant-quick {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 16px 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .consultant-quick::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 680px) {
  .detail-hero {
    padding: 120px 0 24px;
  }

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

  .detail-hero-card {
    grid-template-columns: 72px 1fr;
    min-height: 0;
    padding: 16px;
  }

  .detail-hero-badge {
    width: 72px;
    height: 72px;
  }

  .layout,
  .site-header {
    width: min(calc(100% - 18px), var(--max-width));
  }

  .site-header {
    top: 10px;
    padding: 10px 10px 10px 12px;
    border-radius: 22px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 14px;
  }

  .brand-copy strong {
    font-size: 0.76rem;
  }

  .brand-copy small {
    display: none;
  }

  main {
    padding-top: 98px;
  }

  body[data-page="home"] main {
    padding-top: 0;
  }

  body[data-page="medicine"] main,
  body[data-page="uav"] main,
  body[data-page="systems"] main,
  body[data-page="campus"] main {
    padding-top: 0;
  }

  .section-shell,
  .section-dark-shell,
  .section-soft-shell {
    padding: 64px 0;
  }

  .hero-home {
    padding: 134px 0 24px;
  }

  .hero-copy h1,
  .detail-hero-copy h1,
  .inner-hero-copy h1,
  .section-title h2 {
    font-size: clamp(1.8rem, 8.8vw, 2.4rem);
    line-height: 1;
  }

  .hero-copy .lead,
  .inner-hero-copy .lead,
  .detail-hero-copy .lead,
  .section-title p {
    font-size: 0.94rem;
  }

  .metric-row,
  .facts-row,
  .portal-grid,
  .program-grid,
  .timeline-grid,
  .campus-media-grid,
  .highlight-grid,
  .testimonials-grid,
  .route-grid {
    grid-template-columns: 1fr;
  }

  .campus-media-card,
  .campus-media-card--wide,
  .campus-media-card--video {
    aspect-ratio: auto;
    min-height: 280px;
  }

  .campus-media-note {
    padding: 22px 20px;
  }

  .campus-media-note--lead {
    margin-top: 18px;
  }

  .campus-video-copy {
    padding: 22px 20px;
  }

  .campus-video-card {
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .campus-video-card .campus-media-trigger {
    padding: 0;
  }

  .campus-video-card .campus-media-label {
    top: 12px;
    left: 12px;
  }

  .campus-video-card .campus-media-play {
    right: 12px;
    bottom: 12px;
  }

  .campus-media-play {
    right: 12px;
    bottom: 12px;
  }

  .media-lightbox {
    padding: 12px;
  }

  .media-lightbox-shell {
    width: 100%;
  }

  .media-lightbox-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .media-lightbox-stage {
    min-height: 58vh;
    padding: 56px 14px 20px;
    border-radius: 28px;
  }

  .media-lightbox-content img,
  .media-lightbox-content video {
    max-height: 54svh;
    border-radius: 18px;
  }

  .media-lightbox-nav {
    top: auto;
    bottom: 14px;
    margin-top: 0;
    width: 46px;
    height: 46px;
    font-size: 1.7rem;
  }

  .media-lightbox-nav--prev {
    left: 14px;
  }

  .media-lightbox-nav--next {
    right: 14px;
  }

  .media-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
  }

  .route-tile {
    grid-template-columns: 70px 1fr;
  }

  .floating-insight {
    position: static;
    max-width: none;
    margin: 16px;
  }

  .hero-photo,
  .inner-hero-media,
  .wide-media {
    min-height: auto;
  }

  .cta-band {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .footer-shell,
  .story-copy,
  .info-panel,
  .apply-form,
  .program-card,
  .timeline-card,
  .highlight-card,
  .metric-chip,
  .fact-card {
    border-radius: 24px;
  }

  .footer-meta {
    justify-content: flex-start;
  }

  .cookie-popup {
    left: 12px;
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 86px);
    padding: 16px 16px 14px;
    border-radius: 20px;
    width: auto;
  }

  .site-consultant {
    right: 12px;
    left: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
    align-items: stretch;
  }

  .consultant-panel {
    width: 100%;
    border-radius: 24px;
    max-height: min(74svh, 560px);
  }

  .consultant-messages {
    min-height: 96px;
    padding: 16px 16px 12px;
  }

  .consultant-quick {
    gap: 8px;
    padding: 0 16px 12px;
  }

  .consultant-input-row {
    grid-template-columns: minmax(0, 1fr) 46px;
    padding: 12px 16px 16px;
  }

  .consultant-send {
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  .site-nav {
    top: calc(100% + 10px);
    padding: 10px;
    border-radius: 20px;
  }

  .site-nav a,
  .site-nav .header-call {
    padding: 13px 10px;
  }

  .hero-copy h1,
  .detail-hero-copy h1,
  .section-title h2 {
    font-size: clamp(1.7rem, 9.6vw, 2.18rem);
  }

  .hero-copy .lead,
  .detail-hero-copy .lead,
  .section-title p {
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .button {
    min-height: 46px;
    padding: 0 16px;
    font-size: 0.82rem;
  }

  .metric-chip strong {
    font-size: clamp(1.36rem, 9vw, 1.8rem);
  }

  .route-tile,
  .detail-hero-card {
    grid-template-columns: 58px 1fr;
    padding: 14px;
  }

  .route-tile img,
  .detail-hero-badge {
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }

  .apply-form,
  .story-copy,
  .info-panel,
  .program-card,
  .timeline-card,
  .highlight-card,
  .footer-shell,
  .cta-band {
    padding: 20px;
  }

  .campus-media-card,
  .campus-media-card--wide,
  .campus-media-card--video {
    min-height: 250px;
  }

  .campus-media-note,
  .campus-video-copy {
    padding: 20px 18px;
  }

  .media-lightbox-stage {
    padding: 54px 10px 62px;
    border-radius: 22px;
  }

  .media-lightbox-content img,
  .media-lightbox-content video {
    border-radius: 14px;
  }

  .cookie-popup {
    left: 10px;
    right: 10px;
  }

  .consultant-toggle {
    width: 56px;
    height: 56px;
  }

  .consultant-panel {
    border-radius: 22px;
    max-height: min(72svh, 520px);
  }

  .consultant-bubble {
    max-width: 100%;
  }

  .consultant-input {
    min-width: 0;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
