:root {
  color-scheme: light;
  --page: #ffffff;
  --paper: #ffffff;
  --paper-soft: #f6f8fb;
  --navy: #071525;
  --ink: #14181f;
  --muted: #526071;
  --muted-strong: #2b3542;
  --line: rgba(7, 21, 37, 0.14);
  --line-strong: rgba(7, 21, 37, 0.24);
  --gold: #d99324;
  --orange: #ef7624;
  --amber: #f4b84b;
  --max-width: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(7, 21, 37, 0.045) 1px, transparent 1px) 50% 0 / 92px 92px,
    linear-gradient(180deg, rgba(7, 21, 37, 0.032) 1px, transparent 1px) 50% 0 / 92px 92px,
    var(--page);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(145deg, rgba(244, 184, 75, 0.14), transparent 32%),
    linear-gradient(315deg, rgba(239, 118, 36, 0.09), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.96));
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.section-shell {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px clamp(20px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand-link img {
  width: clamp(152px, 20vw, 222px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(13px, 1.8vw, 26px);
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav-short {
  display: none;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--orange), var(--amber));
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--navy);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  display: flex;
  min-height: calc(100svh - var(--header-height) - 56px);
  align-items: center;
  padding-block: clamp(44px, 7vw, 92px);
}

.hero-grid {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}

.hero-logo-wrap {
  display: grid;
  place-items: center;
}

.hero-logo {
  width: clamp(245px, 31vw, 395px);
  filter: drop-shadow(0 22px 46px rgba(7, 21, 37, 0.13));
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(4.25rem, 10vw, 8.7rem);
  font-weight: 790;
  letter-spacing: 0;
  line-height: 0.88;
}

.hero-subheadline {
  max-width: 690px;
  margin-bottom: 18px;
  color: var(--muted-strong);
  font-size: clamp(1.14rem, 1.9vw, 1.58rem);
  line-height: 1.48;
}

.hero-application-note {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted-strong);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.55;
}

.hero-application-note a,
.application-note a,
.contact-link {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(239, 118, 36, 0.45);
  text-underline-offset: 4px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 13px 20px;
  font-size: 0.91rem;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.2;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

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

.button-primary {
  background: linear-gradient(90deg, var(--orange), var(--amber));
  color: #12120f;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(90deg, #ff852e, #ffc957);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(239, 118, 36, 0.42);
  background: rgba(244, 184, 75, 0.12);
}

.intro-strip {
  display: grid;
  width: min(var(--max-width), calc(100% - 40px));
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.intro-item {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.intro-item + .intro-item {
  border-left: 1px solid var(--line);
}

.intro-item span {
  background: linear-gradient(90deg, var(--navy), #705215);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.content-section {
  padding-block: clamp(72px, 10vw, 128px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
  margin-bottom: clamp(28px, 5vw, 58px);
}

.section-heading .eyebrow {
  margin-bottom: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1;
}

.section-body {
  max-width: 820px;
  color: var(--muted-strong);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.72;
}

.section-body p:last-child {
  margin-bottom: 0;
}

.lead-body {
  margin-left: auto;
}

.school-attendance {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
  margin-top: clamp(44px, 7vw, 76px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.school-attendance h3 {
  max-width: 430px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.2vw, 2.05rem);
  font-weight: 780;
  line-height: 1.18;
}

.school-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.school-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted-strong);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.program-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 2.6vw, 30px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 251, 0.9)),
    var(--paper);
  box-shadow: 0 18px 40px rgba(7, 21, 37, 0.06);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.program-card:hover {
  border-color: rgba(239, 118, 36, 0.34);
  box-shadow: 0 24px 54px rgba(7, 21, 37, 0.09);
  transform: translateY(-3px);
}

.card-number {
  width: fit-content;
  margin-bottom: 38px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
}

.program-card h3 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(1.18rem, 1.45vw, 1.46rem);
  font-weight: 780;
  line-height: 1.12;
}

.program-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 78px);
}

.split-section .section-heading {
  display: block;
  margin-bottom: 0;
}

.applicant-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.8fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: start;
}

.expectations-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.expectations-list li {
  position: relative;
  padding: 18px 0 18px 34px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}

.expectations-list li::before {
  position: absolute;
  top: 25px;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.interest-section {
  padding-block: clamp(76px, 11vw, 142px);
  border-bottom: 1px solid var(--line);
}

.interest-panel {
  max-width: 980px;
}

.interest-panel h2 {
  margin-bottom: 24px;
}

.interest-panel > p {
  max-width: 820px;
  margin-bottom: 34px;
  color: var(--muted-strong);
  font-size: clamp(1.04rem, 1.6vw, 1.34rem);
  line-height: 1.65;
}

.application-details {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.82fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
  max-width: 980px;
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(244, 184, 75, 0.16), transparent 38%),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(7, 21, 37, 0.06);
}

.application-note h3 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(1.22rem, 1.7vw, 1.62rem);
  line-height: 1.16;
}

.application-note p {
  margin-bottom: 0;
  color: var(--muted-strong);
  font-size: 1rem;
  line-height: 1.66;
}

.application-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.application-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.42;
}

.application-list li::before {
  position: absolute;
  top: 21px;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding-block: clamp(72px, 9vw, 118px);
}

.contact-section h2 {
  max-width: 760px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid rgba(239, 118, 36, 0.36);
  border-radius: 4px;
  padding: 14px 18px;
  background: rgba(244, 184, 75, 0.12);
  color: var(--navy);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  font-weight: 780;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 32px 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-logo img {
  width: 172px;
}

.site-footer p {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1120px) {
  .nav-links {
    gap: 14px;
    font-size: 0.7rem;
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-logo-wrap {
    justify-self: center;
  }

  .hero-copy {
    align-self: center;
  }

  .program-card {
    min-height: 230px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 118px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-block: 15px 13px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero-grid,
  .section-heading,
  .split-section,
  .applicant-layout,
  .school-attendance,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-logo-wrap {
    justify-self: start;
  }

  .hero-logo {
    width: clamp(210px, 58vw, 310px);
  }

  .lead-body {
    margin-left: 0;
  }

  .intro-strip {
    grid-template-columns: 1fr;
  }

  .intro-item + .intro-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 128px;
  }

  .section-shell,
  .intro-strip {
    width: min(100% - 28px, var(--max-width));
  }

  .site-header {
    gap: 8px;
    padding-block: 12px 9px;
  }

  .brand-link img {
    width: 148px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.67rem;
  }

  .nav-full {
    display: none;
  }

  .nav-short {
    display: inline;
  }

  .hero {
    padding-block: 28px 34px;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero-logo {
    width: clamp(178px, 47vw, 220px);
  }

  h1 {
    margin-bottom: 16px;
    font-size: clamp(3rem, 15vw, 4rem);
    line-height: 0.92;
  }

  .hero-subheadline {
    margin-bottom: 14px;
    font-size: 1rem;
    line-height: 1.42;
  }

  .hero-application-note {
    margin-bottom: 22px;
    font-size: 0.95rem;
  }

  .button {
    min-height: 46px;
    width: 100%;
    padding-inline: 16px;
  }

  .content-section,
  .interest-section {
    padding-block: 62px;
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.28rem);
  }

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

  .school-list {
    grid-template-columns: 1fr;
  }

  .program-card {
    min-height: 206px;
  }

  .applicant-layout {
    gap: 22px;
  }

  .application-details {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .contact-link {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
