:root {
  --brand-yellow: #FAB909;
  --brand-blue: #187DB9;
  --brand-green: #3D6E63;
  --coconut: #F6F3E9;
  --ice-melt: #DCFAF5;
  --blue-frost: #A0BEDF;
  --twilight: #353F5E;
  --amberglow: #D56E2B;
  --fir: #3D6E63;
  --blue-coral: #28586A;
  --curry: #C6A770;
  --gray-matter: #72727D;
  --blue-blush: #D9DADA;
  --ink: #1e2630;
  --body: #4f5964;
  --surface: #ffffff;
  --font-title: "Gotham Bold", "Gotham", sans-serif;
  --font-subtitle: "Gotham Bold", Gotham, sans-serif;
  --font-body: "Gotham Book", Gotham, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--body);
  font-family: var(--font-body);
  background: var(--surface);
}

h1,
h2 {
  color: var(--ink);
  font-family: var(--font-title);
  font-weight: 900;
  letter-spacing: 0;
}

h3,
h4,
.nav-link,
.btn {
  font-family: var(--font-body);
  font-weight: 700;
}

a {
  color: inherit;
}

.btn {
  --bs-btn-border-radius: 999px;
  --bs-btn-padding-x: 1.35rem;
  --bs-btn-padding-y: .75rem;
}

.btn-primary {
  --bs-btn-bg: var(--brand-yellow);
  --bs-btn-border-color: var(--brand-yellow);
  --bs-btn-color: #1f2933;
  --bs-btn-hover-bg: #e2a606;
  --bs-btn-hover-border-color: #e2a606;
  --bs-btn-hover-color: #1f2933;
}

.section {
  padding: 6rem 0;
}

.section-light {
  background: var(--coconut);
}

.section-blue {
  color: #fff;
  background: var(--blue-coral);
}

.section-blue h2,
.section-blue .eyebrow {
  color: #fff;
}

.section-blue .step-card h3 {
  color: var(--ink);
}

.section-blue .step-card p {
  color: var(--body);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

.section-heading h2,
.section h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

.section-copy {
  color: var(--gray-matter);
  font-size: 1.08rem;
}

.subsection-title {
  margin: 0 0 1.3rem;
  color: var(--blue-coral);
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 900;
}

.eyebrow {
  margin-bottom: .7rem;
  color: var(--amberglow);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-header {
  font-family: var(--font-body);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 35px rgba(30, 38, 48, .08);
  backdrop-filter: blur(14px);
  transition: box-shadow .25s ease, background-color .25s ease;
}

.site-header::before,
.site-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: .42rem;
  content: "";
  pointer-events: none;
}

.site-header::after {
  z-index: 1;
  background: var(--brand-yellow);
}

.site-header::before {
  z-index: 2;
  background: var(--brand-blue);
  clip-path: polygon(calc(33.333% + .9rem) 0, 100% 0, 100% 100%, 33.333% 100%);
}

.top-strip {
  padding: .45rem 0;
  max-height: 2.6rem;
  overflow: hidden;
  color: #fff;
  background: var(--blue-coral);
  font-size: .9rem;
  transition: max-height .28s ease, padding .28s ease, opacity .2s ease;
}

.site-header.header-compact {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 8px 26px rgba(30, 38, 48, .1);
}

.site-header.header-compact .top-strip {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

.top-strip a {
  text-decoration: none;
}

.navbar {
  padding: .9rem 0;
  transition: padding .28s ease;
}

.site-header.header-compact .navbar {
  padding: .45rem 0;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: min(17rem, 58vw);
  height: auto;
  transition: width .28s ease;
}

.site-header.header-compact .brand-logo {
  width: min(14.5rem, 52vw);
}

.nav-link {
  color: var(--ink);
}

.hero-section {
  position: relative;
  margin-top: 7.45rem;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  color: var(--twilight);
  background: var(--blue-coral);
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-section picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-message {
  position: absolute;
  top: 18%;
  left: max(4rem, 6.5vw);
  width: min(38rem, 45vw);
  color: var(--twilight);
}

.hero-message h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.8rem, 7vw, 6.8rem);
  line-height: .72;
}

.hero-script {
  display: block;
  margin: -.08rem 0 -.08rem .35rem;
  color: var(--blue-coral);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  line-height: .7;
  transform: rotate(-6deg) translateY(-100%);
}

.hero-pill {
  display: inline-block;
  margin: 0 0 .35rem;
  padding: .2rem 1.2rem .34rem;
  border-radius: 999px;
  color: var(--twilight);
  background: var(--brand-yellow);
  font-size: clamp(1.35rem, 2.35vw, 2.05rem);
  font-weight: 900;
  line-height: 1;
}

.hero-line {
  margin: 0 0 1.8rem .15rem;
  color: var(--twilight);
  font-size: clamp(1.6rem, 3.1vw, 3rem);
  font-weight: 900;
  line-height: 1.03;
}

.hero-call {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
  border-radius: 999px;
  color: #fff;
  background: var(--twilight);
  font-size: clamp(1.05rem, 1.9vw, 1.7rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.hero-call span {
  padding: .35rem .8rem .42rem 1rem;
  border-radius: 999px 0 0 999px;
  background: var(--brand-blue);
}

.hero-call strong {
  padding: .35rem 1.1rem .42rem .9rem;
}

.hero-site {
  display: block;
  margin: .4rem 0 0 .55rem;
  color: var(--twilight);
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
  font-weight: 900;
  line-height: 1.05;
  text-decoration: none;
}

.info-card,
.program-card,
.step-card {
  height: 100%;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(30, 38, 48, .08);
}

.info-card {
  padding: 2rem;
}

.info-card h3 {
  margin: 1.2rem 0 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.35;
}

.approval-card,
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.approval-logo,
.partner-logo {
  display: block;
  width: 100%;
  max-width: 9rem;
  height: 5.2rem;
  object-fit: contain;
  object-position: left center;
}

.partner-logo {
  max-width: 10rem;
}

.partner-logo-wide {
  max-width: 12rem;
}

.program-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid rgba(114, 114, 125, .12);
}

.program-card h3 {
  margin: 1.3rem 0 1.2rem;
  color: var(--ink);
  font-size: 1.35rem;
}

.program-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.program-card li {
  margin-bottom: .75rem;
}

.program-card p {
  margin-top: 1.4rem;
  color: var(--blue-coral);
  font-weight: 700;
}

.program-topline {
  width: 4.5rem;
  height: .5rem;
  border-radius: 999px;
  background: var(--accent);
}

.feature-image,
.palette-image {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(30, 38, 48, .18);
}

.section-blue p {
  color: rgba(255, 255, 255, .86);
  font-size: 1.08rem;
}

.facilities-section {
  position: relative;
  overflow: hidden;
  background: var(--coconut);
}

.facilities-section::before {
  position: absolute;
  inset: 0;
  background: url("../assets/images/watermark-watercolor.png") center / cover no-repeat;
  content: "";
  opacity: .42;
  pointer-events: none;
}

.facilities-section .container {
  position: relative;
  z-index: 1;
}

.facilities-section p {
  color: var(--body);
  font-size: 1.08rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 1.8rem;
}

.feature-list span {
  padding: .9rem 1rem;
  border-left: 4px solid var(--brand-yellow);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  font-weight: 700;
}

.step-card {
  padding: 1.5rem;
}

.step-card span {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--brand-yellow);
  font-weight: 900;
}

.step-card h3 {
  margin: 1.2rem 0 .7rem;
  color: var(--ink);
  font-size: 1.1rem;
}

.step-card p {
  margin: 0;
}

.apply-action {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.footer {
  position: relative;
  padding: 4rem 0 0;
  overflow: hidden;
  color: var(--body);
  background: #fff;
}

.footer::before {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: min(34rem, 82vw);
  aspect-ratio: 2.28 / 1;
  content: "";
  opacity: .06;
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer h2,
.footer h3 {
  color: var(--ink);
}

.footer h2 {
  font-family: var(--font-body);
  font-weight: 900;
}

.footer h3 {
  font-size: 1.1rem;
}

.footer a {
  color: var(--blue-coral);
  text-decoration: none;
}

.footer-logo {
  display: block;
  width: min(15rem, 70vw);
  height: auto;
  margin-bottom: 1.4rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
}

.social-links a {
  padding-bottom: .2rem;
  border-bottom: 2px solid rgba(250, 185, 9, .55);
  font-weight: 700;
}

.subfooter {
  min-height: 40px;
  margin-top: 3rem;
  background: var(--brand-blue);
  color: rgba(255, 255, 255, .88);
  font-size: .86rem;
}

.subfooter .container {
  min-height: 40px;
}

.subfooter p {
  margin: 0;
}

.subfooter nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.4rem;
}

.subfooter a {
  color: #fff;
  font-weight: 700;
}

.apply-modal {
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}

.apply-modal .modal-header {
  border-bottom: 0;
  background: var(--coconut);
}

.apply-modal .modal-title {
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 900;
}

.placeholder-form {
  display: grid;
  min-height: 18rem;
  place-items: center;
  border: 2px dashed rgba(114, 114, 125, .28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(250, 185, 9, .18), rgba(24, 125, 185, .16)),
    var(--surface);
  overflow: hidden;
}

.placeholder-form span {
  color: rgba(53, 63, 94, .24);
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 10vw, 5rem);
  font-weight: 900;
  line-height: .9;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-24deg);
}

@media (max-width: 991.98px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-section {
    margin-top: 8.85rem;
  }
}

@media (max-width: 575.98px) {
  .top-strip .container {
    justify-content: center !important;
    text-align: center;
  }

  .hero-section {
    margin-top: 9.4rem;
    aspect-ratio: 1 / 1;
  }

  .hero-art {
    object-position: center;
  }

  .hero-message {
    top: 15%;
    left: 0;
    width: 100%;
    text-align: center;
  }

  .hero-message h1 {
    font-size: clamp(2.55rem, 11.9vw, 3.2rem);
    line-height: .72;
  }

  .hero-script {
    margin: 0 0 -.05rem 3.8rem;
    font-size: clamp(1.1rem, 5vw, 1.45rem);
    text-align: left;
  }

  .hero-pill {
    padding: .16rem .75rem .28rem;
    font-size: clamp(.95rem, 4.45vw, 1.25rem);
  }

  .hero-line {
    margin: .15rem 0 .9rem;
    font-size: clamp(2.1rem, 10.5vw, 3rem);
  }

  .hero-call {
    font-size: clamp(.78rem, 3.65vw, .95rem);
  }

  .hero-call span {
    padding: .32rem .6rem .38rem .75rem;
  }

  .hero-call strong {
    padding: .32rem .75rem .38rem .65rem;
  }

  .hero-site {
    margin-left: 0;
    font-size: clamp(.9rem, 4.15vw, 1.1rem);
  }

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

  .subfooter {
    display: none;
  }
}
