:root {
  color-scheme: light;
  --cream: #fff7e8;
  --paper: #fffdf8;
  --navy: #082b68;
  --teal: #008b7a;
  --teal-dark: #006b61;
  --coral: #ff513d;
  --orange: #ff9d00;
  --caramel: #f39a2f;
  --gold: #ffd957;
  --sun: #ffca28;
  --sage: #30a66a;
  --mint: #dff7d9;
  --moss: #087667;
  --clay: #f04d38;
  --rose: #ff7f6e;
  --peach: #f6c49d;
  --sky: #d7e7ed;
  --lavender: #e4d9ee;
  --cocoa: #082b68;
  --ink: #061c45;
  --muted: #355275;
  --line: rgba(8, 43, 104, 0.14);
  --shadow: 0 22px 70px rgba(8, 43, 104, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 3% 18%, rgba(255, 81, 61, 0.15), transparent 20%),
    radial-gradient(circle at 96% 34%, rgba(0, 139, 122, 0.2), transparent 24%),
    radial-gradient(circle at 50% 4%, rgba(255, 202, 40, 0.28), transparent 20%),
    linear-gradient(180deg, #fffaf0 0%, #fff3df 30%, #e6fff8 62%, #fff6e8 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

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

#home,
#about,
#programs,
#ehs,
#enrollment,
#tour-form,
#enroll-form,
#ehs-form,
#contact,
#referral,
#referral-program,
#contact-form {
  scroll-margin-top: 96px;
}

.site-header {
  align-items: center;
  background: linear-gradient(90deg, rgba(255, 250, 240, 0.96), rgba(255, 245, 215, 0.96), rgba(226, 255, 247, 0.94));
  border-bottom: 4px solid rgba(0, 139, 122, 0.18);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: box-shadow 180ms ease, background 180ms ease;
  z-index: 20;
}

.site-header::after {
  background: linear-gradient(90deg, #fff8ed, #e9f8f2);
  border: 1px solid rgba(0, 139, 122, 0.2);
  border-radius: 999px;
  bottom: -15px;
  box-shadow: 0 8px 18px rgba(8, 43, 95, 0.08);
  color: var(--teal);
  content: "LEARN • GROW • BELONG";
  font-size: 0.72rem;
  font-weight: 900;
  left: 50%;
  letter-spacing: 0.16em;
  line-height: 1;
  padding: 8px 16px;
  position: absolute;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.site-header.is-scrolled {
  background: rgba(255, 247, 232, 0.98);
  box-shadow: 0 10px 30px rgba(60, 42, 34, 0.1);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
}

.brand-logo {
  display: block;
  height: clamp(61px, 5.6vw, 73px);
  object-fit: contain;
  width: clamp(138px, 13.6vw, 199px);
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.brand-mark::after {
  content: "";
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  height: 7px;
  margin-left: 3px;
  margin-top: -18px;
  position: absolute;
  width: 7px;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: 4px;
  justify-content: center;
}

.desktop-nav a {
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 10px 12px;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  background: var(--sun);
  border-radius: 999px;
  bottom: 3px;
  content: "";
  height: 4px;
  left: 14px;
  opacity: 0;
  position: absolute;
  right: 14px;
  transform: scaleX(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

.desktop-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.desktop-nav a:hover,
.header-login:hover,
.header-cta:hover {
  background: rgba(0, 139, 122, 0.13);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-self: end;
}

.header-login,
.header-cta {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 900;
  justify-content: center;
  padding: 10px 12px;
  white-space: nowrap;
}

.header-login {
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid rgba(0, 139, 122, 0.18);
  color: var(--navy);
}

.header-cta {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff;
  box-shadow: 0 10px 24px rgba(201, 149, 78, 0.26);
}

.hero {
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 81, 61, 0.14), transparent 18%),
    radial-gradient(circle at 78% 22%, rgba(255, 202, 40, 0.2), transparent 22%),
    linear-gradient(135deg, #fffdf5 0%, #fff2d8 50%, #dffdf8 100%);
  display: grid;
  gap: clamp(28px, 5vw, 58px);
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  min-height: auto;
  overflow: hidden;
  padding: clamp(138px, 14vw, 182px) clamp(20px, 5vw, 72px) clamp(54px, 7vw, 88px);
  place-items: center start;
  position: relative;
}

.hero::before {
  background:
    radial-gradient(circle, var(--sun) 0 35%, transparent 36%),
    radial-gradient(circle, var(--rose) 0 33%, transparent 34%),
    radial-gradient(circle, var(--sky) 0 34%, transparent 35%);
  background-position: 0 0, 42px 22px, 84px 4px;
  background-size: 126px 52px;
  bottom: 34px;
  content: "";
  height: 54px;
  opacity: 0.85;
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  width: 190px;
  z-index: 1;
}

.hero::after {
  background: transparent;
  content: "";
  inset: 0;
  position: absolute;
}

.hero-image {
  border: 12px solid #fff;
  border-radius: 34px;
  box-shadow: 0 30px 90px rgba(8, 43, 104, 0.2);
  grid-column: 2;
  grid-row: 1;
  height: auto;
  object-fit: cover;
  position: relative;
  transform: rotate(1deg);
  width: 100%;
  z-index: 1;
}

.hero-content {
  color: var(--navy);
  grid-column: 1;
  grid-row: 1;
  max-width: 840px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--teal);
}

h1,
h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
}

h1 {
  font-size: clamp(2.7rem, 5.8vw, 6rem);
  max-width: 940px;
}

h2 {
  color: var(--cocoa);
  font-size: clamp(2.1rem, 4.4vw, 4.2rem);
}

h3 {
  color: var(--cocoa);
  font-size: 1.45rem;
}

.hero p:not(.eyebrow) {
  font-size: clamp(1.06rem, 2vw, 1.32rem);
  margin: 24px 0 0;
  max-width: 700px;
  color: #0b2f68;
}

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

.button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 81, 61, 0.25);
}

.button.light {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  box-shadow: 0 12px 28px rgba(231, 189, 111, 0.22);
}

.button.ghost {
  background: #fff;
  border: 2px solid rgba(8, 43, 104, 0.18);
  color: var(--navy);
}

.button.outline {
  background: #fffaf1;
  border: 1px solid rgba(60, 42, 34, 0.22);
  color: var(--cocoa);
}

.trust-strip {
  background: linear-gradient(90deg, var(--navy), var(--teal), var(--orange), var(--coral));
  color: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-strip article {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  padding: 26px clamp(18px, 3vw, 42px);
}

.trust-strip article:nth-child(1) {
  background: rgba(8, 43, 104, 0.58);
}

.trust-strip article:nth-child(2) {
  background: rgba(0, 139, 122, 0.45);
}

.trust-strip article:nth-child(3) {
  background: rgba(201, 149, 78, 0.32);
}

.trust-strip article:nth-child(4) {
  background: rgba(255, 81, 61, 0.42);
}

.trust-strip span,
.age,
.form-note {
  color: rgba(255, 255, 255, 0.68);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.trust-strip strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  margin-top: 6px;
}

.fun-band {
  background:
    radial-gradient(circle at 88% 22%, rgba(255, 81, 61, 0.18), transparent 22%),
    linear-gradient(135deg, rgba(222, 255, 248, 0.96), rgba(255, 238, 183, 0.96)),
    #d7fff7;
  position: relative;
}

.fun-band::before {
  background:
    linear-gradient(90deg, var(--coral) 0 18%, transparent 18% 25%, var(--sun) 25% 43%, transparent 43% 50%, var(--teal) 50% 68%, transparent 68% 75%, var(--navy) 75%);
  border-radius: 999px;
  content: "";
  height: 10px;
  left: clamp(20px, 5vw, 72px);
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  top: 0;
}

.moment-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.moment-grid article {
  background: rgba(255, 253, 248, 0.92);
  border: 2px solid rgba(8, 43, 104, 0.1);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.moment-grid article:nth-child(2) {
  background: rgba(255, 224, 210, 0.92);
}

.moment-grid article:nth-child(3) {
  background: rgba(218, 255, 238, 0.92);
}

.moment-grid article:nth-child(4) {
  background: rgba(255, 217, 87, 0.32);
}

.moment-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.2rem;
  font-weight: 800;
  height: 46px;
  justify-content: center;
  margin-bottom: 18px;
  width: 46px;
}

.moment-grid article:nth-child(2) .moment-icon {
  background: linear-gradient(135deg, var(--rose), var(--clay));
}

.moment-grid article:nth-child(3) .moment-icon {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
}

.moment-grid article:nth-child(4) .moment-icon {
  background: linear-gradient(135deg, #81aabd, #4f7f92);
}

.moment-grid p {
  color: var(--muted);
  margin: 9px 0 0;
}

.section,
.forms-section,
.final-cta,
.page-form-section {
  padding: clamp(72px, 9vw, 122px) clamp(20px, 5vw, 72px);
}

.page-hero {
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 202, 40, 0.34), transparent 30%),
    radial-gradient(circle at 12% 64%, rgba(0, 139, 122, 0.2), transparent 28%),
    radial-gradient(circle at 58% 40%, rgba(255, 81, 61, 0.12), transparent 22%),
    linear-gradient(135deg, #fffaf0, #fff0cb);
  padding: clamp(150px, 16vw, 210px) clamp(20px, 5vw, 72px) clamp(70px, 9vw, 120px);
}

.page-hero > div {
  max-width: 980px;
}

.page-hero h1 {
  color: var(--cocoa);
}

.page-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  margin: 24px 0 0;
  max-width: 760px;
}

.programs-hero {
  align-items: center;
  background:
    radial-gradient(circle at 10% 22%, rgba(255, 202, 40, 0.22), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(0, 139, 122, 0.17), transparent 26%),
    linear-gradient(135deg, #fffaf0 0%, #fff0cb 48%, #e9fff8 100%);
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  padding: clamp(122px, 12vw, 146px) clamp(20px, 5vw, 72px) clamp(28px, 4vw, 44px);
}

.programs-hero h1 {
  color: var(--cocoa);
  font-size: clamp(3rem, 5.2vw, 4.8rem);
  line-height: 0.98;
  margin-top: 14px;
  max-width: 640px;
}

.programs-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  margin: 18px 0 0;
  max-width: 620px;
}

.programs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.programs-hero-photo {
  border: 12px solid rgba(255, 253, 248, 0.92);
  border-radius: 38px;
  box-shadow: var(--shadow);
  min-height: 388px;
  overflow: hidden;
  position: relative;
}

.programs-hero-photo img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.programs-photo-note {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  bottom: 18px;
  box-shadow: 0 12px 34px rgba(8, 43, 95, 0.18);
  display: grid;
  gap: 4px;
  left: 18px;
  max-width: 430px;
  padding: 18px 20px;
  position: absolute;
  right: 18px;
}

.programs-photo-note strong {
  color: var(--navy);
  line-height: 1.18;
}

.programs-photo-note span {
  color: var(--muted);
  font-size: 0.94rem;
}

.ehs-page-hero {
  background:
    linear-gradient(120deg, rgba(65, 93, 70, 0.92), rgba(169, 95, 69, 0.78)),
    url("https://images.unsplash.com/photo-1544776193-352d25ca82cd?auto=format&fit=crop&w=1500&q=80") center / cover;
}

.ehs-page-hero h1,
.ehs-page-hero p:not(.eyebrow) {
  color: #fff;
}

.tour-hero {
  align-items: center;
  background:
    linear-gradient(90deg, #fff4c8 0%, #fff4c8 50%, rgba(255, 244, 200, 0.9) 62%, rgba(255, 244, 200, 0.34) 78%, rgba(255, 244, 200, 0) 94%),
    url("assets/tour-entrance-open-door.png") right center / auto 100% no-repeat,
    linear-gradient(135deg, #fffaf0 0%, #fff0cb 48%, #e9fff8 100%);
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  grid-template-columns: minmax(0, 690px);
  min-height: clamp(600px, 74vh, 760px);
  overflow: hidden;
  padding: clamp(126px, 12vw, 150px) clamp(20px, 5vw, 72px) clamp(46px, 6vw, 72px);
  position: relative;
}

.tour-hero h1 {
  color: var(--cocoa);
  font-size: clamp(3rem, 4.8vw, 4.45rem);
  line-height: 0.98;
  margin-top: 16px;
  max-width: 620px;
}

.tour-hero p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  margin: 18px 0 0;
  max-width: 650px;
}

.tour-hero-copy {
  position: relative;
  z-index: 1;
}

.tour-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.tour-support-note {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(8, 43, 104, 0.11);
  border-left: 8px solid var(--teal);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(8, 43, 95, 0.08);
  display: grid;
  gap: 4px;
  margin-top: 20px;
  max-width: 560px;
  padding: 16px 18px;
}

.tour-support-note strong,
.tour-detail-grid strong {
  color: var(--navy);
  line-height: 1.18;
}

.tour-support-note span,
.tour-detail-grid p,
.tour-card-grid p {
  color: var(--muted);
}

.tour-page .section {
  padding-bottom: clamp(48px, 6vw, 78px);
  padding-top: clamp(46px, 6vw, 76px);
}

.tour-overview {
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 202, 40, 0.2), transparent 28%),
    linear-gradient(135deg, #fff7e6, #edf9f5);
}

.tour-overview .section-heading {
  margin-bottom: 22px;
}

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

.tour-card-grid article,
.tour-detail-grid article,
.tour-detail-image {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(8, 43, 104, 0.11);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(8, 43, 95, 0.09);
}

.tour-card-grid article,
.tour-detail-grid article {
  padding: 24px;
}

.tour-card-grid span {
  align-items: center;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: 18px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  margin-bottom: 18px;
  width: 46px;
}

.tour-card-grid p,
.tour-detail-grid p {
  margin: 8px 0 0;
}

.tour-prepare {
  align-items: center;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 81, 61, 0.13), transparent 26%),
    linear-gradient(135deg, #fffaf0, #fff3df);
  display: grid;
  gap: clamp(28px, 5vw, 54px);
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
}

.tour-prepare .button {
  margin-top: 24px;
}

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

.tour-detail-image {
  border: 10px solid rgba(255, 253, 248, 0.9);
  grid-column: 1 / -1;
  overflow: hidden;
  position: relative;
}

.tour-detail-image img {
  aspect-ratio: 18 / 7;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.tour-detail-image span {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  bottom: 14px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
  left: 14px;
  padding: 9px 13px;
  position: absolute;
  right: 14px;
  text-align: center;
}

.tour-detail-grid article:nth-child(2) {
  border-top: 8px solid var(--sun);
}

.tour-detail-grid article:nth-child(3) {
  border-top: 8px solid var(--sage);
}

.tour-detail-grid article:nth-child(4) {
  border-top: 8px solid var(--rose);
}

.tour-detail-grid article:nth-child(5) {
  border-top: 8px solid #81aabd;
}

.tour-cta-strip {
  align-items: center;
  background: var(--navy);
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  padding: clamp(34px, 5vw, 54px) clamp(20px, 5vw, 72px);
}

.tour-cta-strip h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.tour-cta-strip p {
  color: rgba(255, 255, 255, 0.78);
  margin: 8px 0 0;
}

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

.enrollment-hero {
  align-items: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 202, 40, 0.24), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(0, 139, 122, 0.17), transparent 28%),
    linear-gradient(135deg, #fffaf0 0%, #fff0cb 48%, #e9fff8 100%);
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  padding: clamp(110px, 11vw, 132px) clamp(20px, 5vw, 72px) clamp(26px, 4vw, 42px);
}

.enrollment-hero h1 {
  color: var(--cocoa);
  font-size: clamp(3rem, 4.8vw, 4.45rem);
  line-height: 0.98;
  margin-top: 16px;
  max-width: 690px;
}

.enrollment-hero p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  margin: 18px 0 0;
  max-width: 650px;
}

.enrollment-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.enrollment-support-note {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(8, 43, 104, 0.11);
  border-left: 8px solid var(--teal);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(8, 43, 95, 0.08);
  display: grid;
  gap: 4px;
  margin-top: 20px;
  max-width: 560px;
  padding: 16px 18px;
}

.enrollment-support-note strong,
.enrollment-card-grid strong {
  color: var(--navy);
  line-height: 1.18;
}

.enrollment-support-note span,
.enrollment-card-grid p {
  color: var(--muted);
}

.enrollment-hero-photo {
  border: 12px solid rgba(255, 253, 248, 0.92);
  border-radius: 38px;
  box-shadow: var(--shadow);
  min-height: 350px;
  overflow: hidden;
  position: relative;
}

.enrollment-hero-photo img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.enrollment-page .section {
  padding-bottom: clamp(48px, 6vw, 78px);
  padding-top: clamp(46px, 6vw, 76px);
}

.enrollment-overview {
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 202, 40, 0.2), transparent 28%),
    linear-gradient(135deg, #fff7e6, #edf9f5);
}

.enrollment-overview .section-heading {
  margin-bottom: 22px;
}

.enrollment-overview .steps {
  margin-top: 18px;
}

.enrollment-fit {
  align-items: center;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 81, 61, 0.13), transparent 26%),
    linear-gradient(135deg, #fffaf0, #fff3df);
  display: grid;
  gap: clamp(28px, 5vw, 54px);
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
}

.enrollment-fit .button {
  margin-top: 24px;
}

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

.enrollment-card-grid article,
.enrollment-fit-image {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(8, 43, 104, 0.11);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(8, 43, 95, 0.09);
}

.enrollment-card-grid article {
  padding: 24px;
}

.enrollment-card-grid p {
  margin: 8px 0 0;
}

.enrollment-fit-image {
  border: 10px solid rgba(255, 253, 248, 0.9);
  grid-column: 1 / -1;
  overflow: hidden;
  position: relative;
}

.enrollment-fit-image img {
  aspect-ratio: 18 / 7;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.enrollment-fit-image span {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  bottom: 14px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
  left: 14px;
  padding: 9px 13px;
  position: absolute;
  right: 14px;
  text-align: center;
}

.enrollment-card-grid article:nth-child(2) {
  border-top: 8px solid var(--sun);
}

.enrollment-card-grid article:nth-child(3) {
  border-top: 8px solid var(--sage);
}

.enrollment-card-grid article:nth-child(4) {
  border-top: 8px solid var(--rose);
}

.enrollment-card-grid article:nth-child(5) {
  border-top: 8px solid #81aabd;
}

.enrollment-cta-strip {
  align-items: center;
  background: var(--navy);
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  padding: clamp(34px, 5vw, 54px) clamp(20px, 5vw, 72px);
}

.enrollment-cta-strip h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.enrollment-cta-strip p {
  color: rgba(255, 255, 255, 0.78);
  margin: 8px 0 0;
}

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

.ehs-hero {
  align-items: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 202, 40, 0.24), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(0, 139, 122, 0.17), transparent 28%),
    linear-gradient(135deg, #fffaf0 0%, #fff0cb 48%, #e9fff8 100%);
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  padding: clamp(110px, 11vw, 132px) clamp(20px, 5vw, 72px) clamp(26px, 4vw, 42px);
}

.ehs-hero h1 {
  color: var(--cocoa);
  font-size: clamp(3rem, 4.8vw, 4.45rem);
  line-height: 0.98;
  margin-top: 14px;
  max-width: 680px;
}

.ehs-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  margin: 18px 0 0;
  max-width: 650px;
}

.ehs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ehs-hero-logo {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(8, 43, 104, 0.1);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(8, 43, 95, 0.09);
  height: 64px;
  margin-bottom: 16px;
  object-fit: contain;
  padding: 8px 12px;
  width: 156px;
}

.ehs-support-note {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(8, 43, 104, 0.11);
  border-left: 8px solid var(--teal);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(8, 43, 95, 0.08);
  display: grid;
  gap: 4px;
  margin-top: 20px;
  max-width: 560px;
  padding: 16px 18px;
}

.ehs-support-note strong {
  color: var(--navy);
  line-height: 1.18;
}

.ehs-support-note span {
  color: var(--muted);
  font-size: 0.95rem;
}

.ehs-hero-photo {
  border: 12px solid rgba(255, 253, 248, 0.92);
  border-radius: 38px;
  box-shadow: var(--shadow);
  min-height: 350px;
  overflow: hidden;
  position: relative;
}

.ehs-hero-photo img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.ehs-page .section {
  padding-bottom: clamp(48px, 6vw, 78px);
  padding-top: clamp(46px, 6vw, 76px);
}

.ehs-overview {
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 202, 40, 0.2), transparent 28%),
    linear-gradient(135deg, #fff7e6, #edf9f5);
}

.ehs-overview .section-heading,
.ehs-next-steps .section-heading {
  margin-bottom: 22px;
}

.ehs-info-grid,
.qualify-card-grid {
  display: grid;
  gap: 18px;
}

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

.ehs-info-grid article,
.qualify-card-grid article {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(8, 43, 104, 0.11);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(8, 43, 95, 0.09);
  padding: 24px;
}

.ehs-info-grid span {
  align-items: center;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: 18px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  margin-bottom: 18px;
  width: 46px;
}

.ehs-info-grid p,
.qualify-card-grid p {
  color: var(--muted);
  margin: 8px 0 0;
}

.ehs-qualify {
  align-items: center;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 81, 61, 0.13), transparent 26%),
    linear-gradient(135deg, #fffaf0, #fff3df);
  display: grid;
  gap: clamp(28px, 5vw, 54px);
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
}

.ehs-qualify .button {
  margin-top: 24px;
}

.ehs-qualify-image {
  border: 10px solid rgba(255, 253, 248, 0.9);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(8, 43, 95, 0.1);
  grid-column: 1 / -1;
  overflow: hidden;
  position: relative;
}

.ehs-qualify-image img {
  aspect-ratio: 18 / 7;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ehs-qualify-image span {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  bottom: 14px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
  left: 14px;
  padding: 9px 13px;
  position: absolute;
  right: 14px;
  text-align: center;
}

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

.qualify-card-grid article:nth-child(1) {
  border-top: 8px solid var(--sun);
}

.qualify-card-grid article:nth-child(2) {
  border-top: 8px solid var(--sage);
}

.qualify-card-grid article:nth-child(3) {
  border-top: 8px solid var(--rose);
}

.qualify-card-grid article:nth-child(4) {
  border-top: 8px solid #81aabd;
}

.ehs-next-steps {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 81, 61, 0.12), transparent 22%),
    linear-gradient(135deg, rgba(255, 244, 196, 0.98), rgba(220, 255, 246, 0.94)),
    #fff4c4;
}

.ehs-next-steps .steps {
  margin-top: 18px;
}

.ehs-service-strip {
  align-items: center;
  background: var(--navy);
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr auto;
  padding: clamp(34px, 5vw, 54px) clamp(20px, 5vw, 72px);
}

.ehs-service-strip h2 {
  color: #fff;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
}

.ehs-service-strip p {
  color: rgba(255, 255, 255, 0.78);
  margin: 8px 0 0;
}

.ehs-service-strip a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal[hidden] {
  display: none;
}

.modal {
  align-items: center;
  display: grid;
  inset: 0;
  padding: 24px;
  position: fixed;
  z-index: 100;
}

.modal-backdrop {
  background: rgba(6, 28, 69, 0.62);
  inset: 0;
  position: fixed;
}

.modal-panel {
  justify-self: center;
  max-height: min(90vh, 820px);
  max-width: 960px;
  overflow: auto;
  position: relative;
  width: min(100%, 960px);
  z-index: 1;
}

.modal-close {
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 10px 14px;
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
}

.modal-form {
  border-radius: 24px;
  max-width: none;
  padding-top: 54px;
}

.modal-intro {
  color: var(--muted);
  grid-column: 1 / -1;
  margin: -6px 0 6px;
}

body.modal-open {
  overflow: hidden;
}

.referral-page-hero {
  background:
    radial-gradient(circle at 18% 24%, rgba(217, 143, 122, 0.28), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(244, 207, 117, 0.28), transparent 26%),
    linear-gradient(135deg, #fff8ed, #faead8);
}

.referral-page {
  background:
    radial-gradient(circle at 8% 9%, rgba(255, 157, 0, 0.12), transparent 22%),
    radial-gradient(circle at 94% 18%, rgba(0, 139, 122, 0.1), transparent 24%),
    linear-gradient(180deg, #fffdf8 0%, #fff7e8 58%, #fffdf8 100%);
}

.referral-flyer-hero {
  align-items: center;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 217, 87, 0.18), transparent 28%),
    linear-gradient(135deg, #fffdf8, #fff7e8);
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  overflow: hidden;
  padding: clamp(112px, 10vw, 136px) clamp(20px, 5vw, 72px) clamp(40px, 5vw, 64px);
  position: relative;
}

.referral-flyer-logo {
  margin-bottom: 14px;
  width: clamp(168px, 18vw, 230px);
}

.referral-flyer-copy h1 {
  color: var(--navy);
  font-size: clamp(2.85rem, 5.8vw, 5.45rem);
  letter-spacing: 0;
  line-height: 0.94;
}

.referral-flyer-copy h1 span {
  color: var(--coral);
  display: block;
}

.referral-flyer-copy p {
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  margin: 18px 0;
  max-width: 640px;
}

.referral-flyer-ribbon,
.referral-mini-ribbon {
  background: var(--teal);
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-top: 16px;
  padding: 12px 26px;
  text-transform: uppercase;
}

.referral-flyer-photo {
  position: relative;
}

.referral-flyer-photo > img {
  border-bottom-left-radius: 46% 18%;
  border-top-left-radius: 46% 18%;
  box-shadow: 0 22px 60px rgba(8, 43, 95, 0.14);
  min-height: 340px;
  object-fit: cover;
  width: 100%;
}

.referral-ehs-badge {
  background: #633aa1;
  border: 5px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  bottom: -18px;
  box-shadow: 0 14px 32px rgba(8, 43, 95, 0.22);
  color: #fff;
  max-width: 280px;
  padding: 26px;
  position: absolute;
  right: 0;
  text-align: center;
}

.referral-ehs-badge strong {
  color: var(--gold);
  display: block;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.referral-ehs-badge span {
  display: block;
  font-weight: 800;
  margin-top: 7px;
}

.referral-flyer-grid {
  align-items: start;
  background: #fffdf8;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.7fr);
}

.referral-payout-card,
.referral-why-card,
.referral-eligibility-panel {
  background: rgba(255, 253, 248, 0.94);
  border: 2px solid rgba(255, 157, 0, 0.4);
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(8, 43, 95, 0.09);
  padding: clamp(24px, 4vw, 38px);
}

.referral-payout-card {
  text-align: center;
}

.referral-mini-ribbon {
  margin: -10px auto 12px;
  padding: 9px 34px;
}

.referral-payout-amount {
  color: var(--navy);
  font-size: clamp(4.2rem, 9vw, 7.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
}

.referral-payout-card > p {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 10px 0 24px;
}

.referral-payout-split {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0;
}

.referral-payout-split article {
  border-right: 1px dashed rgba(8, 43, 95, 0.22);
  padding: 0 18px;
}

.referral-payout-split article:last-child {
  border-right: 0;
}

.referral-payout-split span {
  background: var(--teal);
  color: #fff;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  padding: 8px 14px;
  text-transform: uppercase;
}

.referral-payout-split article:nth-child(2) span {
  background: #6f49ad;
}

.referral-payout-split strong {
  color: var(--teal);
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1;
}

.referral-payout-split article:nth-child(2) strong {
  color: #6f49ad;
}

.referral-payout-split p,
.referral-payout-card small,
.referral-why-card p,
.referral-flow p,
.referral-eligibility-panel li {
  color: var(--muted);
}

.referral-total {
  background: var(--gold);
  color: var(--navy);
  display: block;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 900;
  margin: 18px 0 10px;
  padding: 13px 18px;
  text-transform: uppercase;
}

.referral-why-card h2,
.referral-eligibility-panel h2,
.referral-eligibility-panel h3 {
  color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  text-align: center;
  text-transform: uppercase;
}

.referral-why-card h2 {
  color: var(--teal);
}

.referral-why-card article {
  align-items: center;
  border-bottom: 1px dashed rgba(8, 43, 95, 0.18);
  display: grid;
  gap: 16px;
  grid-template-columns: auto 1fr;
  padding: 18px 0;
}

.referral-why-card article:last-child {
  border-bottom: 0;
}

.referral-why-card span {
  align-items: center;
  background: var(--coral);
  border-radius: 999px;
  color: #fff;
  display: inline-grid;
  font-size: 1.4rem;
  font-weight: 900;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.referral-why-card article:nth-of-type(2) span {
  background: var(--teal);
}

.referral-why-card article:nth-of-type(3) span {
  background: var(--orange);
}

.referral-why-card strong {
  color: var(--coral);
  display: block;
  font-weight: 900;
  text-transform: uppercase;
}

.referral-why-card article:nth-of-type(2) strong {
  color: var(--teal);
}

.referral-why-card article:nth-of-type(3) strong {
  color: var(--orange);
}

.referral-flow-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 127, 110, 0.12), transparent 25%),
    linear-gradient(135deg, #fffaf0, #fffdf8);
}

.referral-flow-section .section-heading {
  margin-bottom: 24px;
  text-align: center;
}

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

.referral-flow article {
  background: #fff;
  border: 1px solid rgba(8, 43, 95, 0.08);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(8, 43, 95, 0.08);
  padding: 24px;
  text-align: center;
}

.referral-flow span {
  align-items: center;
  background: var(--coral);
  border-radius: 999px;
  color: #fff;
  display: inline-grid;
  font-size: 1.15rem;
  font-weight: 900;
  height: 56px;
  justify-content: center;
  margin-bottom: 14px;
  width: 56px;
}

.referral-flow article:nth-child(2) span {
  background: var(--teal);
}

.referral-flow article:nth-child(3) span {
  background: #8a5ec7;
}

.referral-flow article:nth-child(4) span {
  background: var(--orange);
}

.referral-details-band {
  align-items: start;
  background: #fffdf8;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.75fr);
}

.referral-quality-card {
  background: linear-gradient(135deg, var(--navy), #06457b);
  border-radius: 22px;
  color: #fff;
  padding: clamp(26px, 4vw, 40px);
}

.referral-quality-card h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  text-transform: uppercase;
}

.referral-quality-card p {
  color: rgba(255, 255, 255, 0.84);
  margin: 12px 0 24px;
}

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

.referral-quality-card span {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  font-weight: 900;
  padding: 14px;
  text-align: center;
  text-transform: uppercase;
}

.referral-eligibility-panel {
  border-color: rgba(111, 73, 173, 0.24);
}

.referral-eligibility-panel ul {
  display: grid;
  gap: 12px;
  margin: 16px 0 24px;
  padding-left: 20px;
}

.referral-bottom-cta {
  align-items: center;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: #fff;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(36px, 6vw, 58px) clamp(20px, 5vw, 72px);
}

.referral-bottom-cta .eyebrow,
.referral-bottom-cta h2 {
  color: #fff;
}

.referral-bottom-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  max-width: 820px;
}

.contact-page {
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 157, 0, 0.13), transparent 24%),
    radial-gradient(circle at 92% 20%, rgba(0, 139, 122, 0.12), transparent 24%),
    linear-gradient(180deg, #fffdf8 0%, #fff7e8 54%, #fffdf8 100%);
}

.contact-hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(236, 251, 247, 0.86)),
    radial-gradient(circle at 20% 20%, rgba(255, 202, 40, 0.22), transparent 28%);
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  padding: clamp(126px, 12vw, 160px) clamp(20px, 5vw, 72px) clamp(46px, 6vw, 78px);
}

.contact-hero-copy h1 {
  color: var(--navy);
  font-size: clamp(3rem, 5.8vw, 5.7rem);
  line-height: 0.96;
  max-width: 800px;
}

.contact-hero-copy p:not(.eyebrow) {
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  margin: 20px 0 0;
  max-width: 670px;
}

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

.contact-hero-photo {
  min-height: 430px;
  overflow: hidden;
  position: relative;
}

.contact-hero-photo img {
  border-bottom-left-radius: 46% 18%;
  border-top-left-radius: 46% 18%;
  box-shadow: 0 22px 60px rgba(8, 43, 95, 0.14);
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.contact-quick-strip {
  background: linear-gradient(90deg, var(--coral), var(--orange), var(--teal));
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 clamp(20px, 5vw, 72px);
}

.contact-quick-strip a {
  background: rgba(255, 253, 248, 0.94);
  color: var(--navy);
  display: grid;
  gap: 4px;
  padding: 24px;
}

.contact-quick-strip span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-quick-strip strong {
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.contact-help-section {
  background: #fffdf8;
}

.contact-help-section .section-heading {
  margin-bottom: 24px;
  text-align: center;
}

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

.contact-help-grid article {
  background: #fff;
  border: 1px solid rgba(8, 43, 95, 0.08);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(8, 43, 95, 0.08);
  padding: 24px;
}

.contact-help-grid span {
  align-items: center;
  background: var(--teal);
  border-radius: 999px;
  color: #fff;
  display: inline-grid;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  margin-bottom: 16px;
  width: 48px;
}

.contact-help-grid article:nth-child(2) span {
  background: var(--coral);
}

.contact-help-grid article:nth-child(3) span {
  background: #8a5ec7;
}

.contact-help-grid article:nth-child(4) span {
  background: var(--orange);
}

.contact-help-grid p {
  color: var(--muted);
  margin: 8px 0 0;
}

.contact-form-band {
  align-items: start;
  background:
    radial-gradient(circle at 84% 18%, rgba(0, 139, 122, 0.14), transparent 24%),
    linear-gradient(135deg, #fff7e8, #ecfbf7);
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  padding: clamp(62px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

#contact-form.contact-form-band {
  scroll-margin-top: 220px;
}

.contact-form-intro {
  position: sticky;
  top: 128px;
}

.contact-form-intro h2 {
  color: var(--navy);
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.contact-form-intro > p:not(.eyebrow) {
  color: var(--muted);
  margin: 16px 0 24px;
}

.contact-detail-list {
  display: grid;
  gap: 12px;
}

.contact-detail-list p {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(8, 43, 95, 0.08);
  border-radius: 18px;
  color: var(--ink);
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 16px;
}

.contact-detail-list strong {
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form-card {
  box-shadow: 0 18px 45px rgba(8, 43, 95, 0.1);
}

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

.pathway-card,
.info-panel {
  background: linear-gradient(180deg, #fffdf8, #fff0d8);
  border: 2px solid rgba(8, 43, 104, 0.1);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.pathway-card {
  display: block;
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pathway-card:hover {
  box-shadow: 0 26px 80px rgba(60, 42, 34, 0.17);
  transform: translateY(-3px);
}

.pathway-card:nth-child(2),
.pathway-card:nth-child(5) {
  background: linear-gradient(180deg, #fffdf8, #ddfff6);
}

.pathway-card:nth-child(3),
.pathway-card:nth-child(6) {
  background: linear-gradient(180deg, #fffdf8, #ffe0d2);
}

.pathway-card span {
  color: var(--teal);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.pathway-card p {
  color: var(--muted);
  margin: 10px 0 0;
}

.gallery-section {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 81, 61, 0.17), transparent 28%),
    radial-gradient(circle at 82% 28%, rgba(0, 139, 122, 0.18), transparent 22%),
    linear-gradient(135deg, #fffaf0, #fff1cb);
}

.photo-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  margin-top: 34px;
}

.photo-grid img {
  aspect-ratio: 4 / 3;
  border: 10px solid rgba(255, 253, 248, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.photo-grid img:nth-child(2) {
  transform: rotate(1.3deg);
}

.photo-grid img:nth-child(3) {
  transform: rotate(-1deg);
}

.enrollment-splash {
  align-items: center;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 81, 61, 0.2), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(255, 202, 40, 0.3), transparent 24%),
    linear-gradient(135deg, #fffaf0, #e2fff7);
  display: grid;
  gap: clamp(28px, 5vw, 58px);
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.72fr);
}

.enrollment-splash img {
  border: 12px solid #fff;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(8, 43, 104, 0.2);
  transform: rotate(-1deg);
  width: 100%;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.pill-row span {
  background: var(--teal);
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  padding: 10px 15px;
}

.pill-row span:nth-child(2) {
  background: var(--coral);
}

.pill-row span:nth-child(3) {
  background: var(--navy);
}

.pill-row span:nth-child(4) {
  background: var(--orange);
}

.split {
  align-items: center;
  display: grid;
  gap: clamp(30px, 6vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
}

.service-layout {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
}

.detail-list {
  color: var(--muted);
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding-left: 20px;
}

.info-panel {
  padding: clamp(24px, 4vw, 36px);
}

.info-panel p {
  color: var(--muted);
  margin: 12px 0 22px;
}

.lead,
.forms-intro p,
.final-cta p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 22px 0 0;
  max-width: 740px;
}

.mini-grid,
.program-grid,
.steps,
.testimonial-grid,
.form-grid {
  display: grid;
  gap: 18px;
}

.mini-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.mini-grid div,
.card,
.steps article,
blockquote,
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.mini-grid div:nth-child(1),
.program-grid .card:nth-child(1),
.steps article:nth-child(1),
.testimonial-grid blockquote:nth-child(1),
.form-grid .form-card:nth-child(1) {
  background: linear-gradient(180deg, #fffdf8, #fff0ba);
  border-top: 8px solid var(--sun);
}

.mini-grid div:nth-child(2),
.program-grid .card:nth-child(2),
.steps article:nth-child(2),
.testimonial-grid blockquote:nth-child(2),
.form-grid .form-card:nth-child(2) {
  background: linear-gradient(180deg, #fffdf8, #dffff6);
  border-top: 8px solid var(--sage);
}

.mini-grid div:nth-child(3),
.program-grid .card:nth-child(3),
.steps article:nth-child(3),
.form-grid .form-card:nth-child(3) {
  background: linear-gradient(180deg, #fffdf8, #ffd8d0);
  border-top: 8px solid var(--rose);
}

.program-grid .card:nth-child(4),
.steps article:nth-child(4),
.form-grid .form-card:nth-child(4) {
  background: linear-gradient(180deg, #fffdf8, #d6eeff);
  border-top: 8px solid #81aabd;
}

.mini-grid div {
  padding: 22px;
}

.mini-grid p,
.card p,
.steps p {
  color: var(--muted);
  margin: 8px 0 0;
}

.rounded-image {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.section-heading {
  max-width: 820px;
}

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

.detail-programs .card {
  min-height: 250px;
}

.programs-page .section {
  padding-bottom: clamp(44px, 6vw, 74px);
  padding-top: clamp(42px, 6vw, 70px);
}

.programs-page .program-grid,
.programs-page .moment-grid,
.programs-page .steps {
  margin-top: 18px;
}

.programs-page .card,
.programs-page .moment-grid article,
.programs-page .steps article {
  padding: 21px;
}

.programs-page .section-heading {
  max-width: 760px;
}

#programs {
  background:
    radial-gradient(circle at 10% 14%, rgba(244, 207, 117, 0.26), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(127, 154, 123, 0.2), transparent 30%),
    #fff8ed;
}

.card {
  padding: 25px;
  position: relative;
  overflow: hidden;
}

.card::after,
.pathway-card::after {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  content: "";
  height: 46px;
  position: absolute;
  right: -16px;
  top: -16px;
  width: 46px;
}

.age {
  color: #7d5634;
  margin-bottom: 14px;
}

.program-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.process {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 81, 61, 0.14), transparent 22%),
    linear-gradient(135deg, rgba(255, 244, 196, 0.98), rgba(220, 255, 246, 0.94)),
    #fff4c4;
}

.steps {
  counter-reset: step;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.steps article {
  padding: 25px;
}

.steps span {
  align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 18px;
  width: 42px;
}

.ehs-band {
  align-items: center;
  background:
    linear-gradient(120deg, rgba(65, 93, 70, 0.95), rgba(103, 111, 71, 0.86), rgba(169, 95, 69, 0.82)),
    url("https://images.unsplash.com/photo-1544776193-352d25ca82cd?auto=format&fit=crop&w=1500&q=80") center / cover;
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.ehs-band h2 {
  color: #fff;
  max-width: 900px;
}

.ehs-band p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  max-width: 760px;
}

.check-list {
  color: rgba(255, 255, 255, 0.86);
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  max-width: 820px;
  padding-left: 20px;
}

.referral-section {
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 81, 61, 0.18), transparent 28%),
    radial-gradient(circle at 88% 15%, rgba(255, 202, 40, 0.3), transparent 26%),
    linear-gradient(135deg, #fffaf0, #ffe5d9);
}

.referral-callout,
.referral-rules {
  background: linear-gradient(180deg, #fffdf8, #fff0d8);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.referral-callout {
  margin-top: 26px;
  padding: 24px;
}

.referral-callout strong {
  color: var(--coral);
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.referral-callout p {
  color: var(--muted);
  margin: 10px 0 0;
}

.referral-rules {
  padding: clamp(24px, 4vw, 38px);
}

.referral-rules ol {
  color: var(--muted);
  display: grid;
  gap: 14px;
  margin: 20px 0 26px;
  padding-left: 20px;
}

.testimonials {
  background:
    radial-gradient(circle at 15% 24%, rgba(215, 231, 237, 0.7), transparent 30%),
    linear-gradient(135deg, #fff8ed, #f6eadf);
}

.testimonial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 32px;
}

blockquote {
  margin: 0;
  padding: 28px;
}

blockquote p {
  color: var(--cocoa);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.2;
  margin: 0;
}

cite {
  color: var(--muted);
  display: block;
  font-style: normal;
  font-weight: 800;
  margin-top: 18px;
}

.forms-section {
  background:
    linear-gradient(135deg, rgba(255, 81, 61, 0.09), rgba(0, 139, 122, 0.18)),
    linear-gradient(180deg, #fff0c8, #dffff6);
}

.page-form-section {
  background:
    linear-gradient(135deg, rgba(255, 81, 61, 0.09), rgba(0, 139, 122, 0.18)),
    linear-gradient(180deg, #fff0c8, #dffff6);
}

.full-form {
  margin: 0 auto;
  max-width: 980px;
}

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

.full-form .form-note {
  min-height: 1.3em;
}

.forms-intro {
  max-width: 860px;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
}

.form-card {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(22px, 3.5vw, 34px);
}

.form-card h3,
.form-card .button,
.form-card .form-note,
.form-card .full {
  grid-column: 1 / -1;
}

.form-card.accent {
  border-top: 8px solid var(--sage);
}

.form-grid .form-card:nth-child(5) {
  background: linear-gradient(180deg, #fffdf8, var(--lavender));
  border-top: 8px solid #a792bb;
}

label {
  color: var(--cocoa);
  display: grid;
  font-size: 0.95rem;
  font-weight: 900;
  gap: 7px;
}

input,
select,
textarea {
  background: #fffdf8;
  border: 1px solid rgba(60, 42, 34, 0.22);
  border-radius: 8px;
  color: var(--ink);
  min-height: 46px;
  padding: 12px 13px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--clay);
  outline: 3px solid rgba(169, 95, 69, 0.18);
}

.form-card .button {
  justify-self: start;
}

.form-note {
  color: var(--moss);
  min-height: 1.2em;
}

.final-cta {
  align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--teal) 44%, var(--coral));
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.final-cta h2 {
  color: #fff;
}

.final-cta .eyebrow {
  color: var(--gold);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  align-items: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 202, 40, 0.22), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(255, 81, 61, 0.24), transparent 24%),
    linear-gradient(135deg, #061d3e 0%, #082b5f 46%, #007f77 100%);
  border-top: 5px solid var(--gold);
  color: #fff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
}

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

.footer-brand img {
  background: rgba(255, 250, 240, 0.94);
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  height: 86px;
  object-fit: contain;
  padding: 8px;
  width: 150px;
}

.site-footer strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.55rem;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.82);
  margin: 4px 0 0;
}

.site-footer a {
  background: linear-gradient(135deg, #ff513d, #ff9d00);
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(255, 81, 61, 0.34);
  color: #fff;
  font-weight: 900;
  padding: 14px 22px;
  text-align: center;
  white-space: nowrap;
}

.foundation-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.foundation-header .brand span:last-child {
  display: grid;
  gap: 2px;
}

.foundation-header .brand small {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.foundation-pill {
  align-items: center;
  background: var(--mint);
  border-radius: 999px;
  color: var(--teal);
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  letter-spacing: 0.02em;
  padding: 10px 16px;
}

.foundation-hero {
  background:
    linear-gradient(90deg, rgba(255, 248, 237, 0.98) 0%, rgba(255, 248, 237, 0.94) 34%, rgba(255, 248, 237, 0.62) 52%, rgba(255, 248, 237, 0.08) 76%, rgba(255, 248, 237, 0) 100%),
    url("assets/hero-classroom.png") right bottom / auto 100% no-repeat;
  overflow: hidden;
  padding: clamp(170px, 16vw, 210px) 0 clamp(70px, 8vw, 96px);
  position: relative;
}

.foundation-hero::before {
  display: none;
}

.foundation-hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(30px, 5vw, 54px);
  grid-template-columns: minmax(0, 700px);
}

.foundation-visual {
  display: none;
}

.foundation-copy h1 {
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 5.8rem);
  letter-spacing: -0.065em;
  line-height: 0.95;
  margin: 18px 0 22px;
}

.foundation-copy h1 em {
  color: var(--teal);
  display: block;
  font-style: normal;
}

.foundation-copy p {
  color: var(--muted);
  font-size: 1.24rem;
  margin: 0 0 26px;
  max-width: 620px;
}

.foundation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.foundation-highlights {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 660px;
}

.foundation-highlights article,
.foundation-card-grid article,
.foundation-transport,
.foundation-support-card {
  background: var(--white);
  border: 1px solid rgba(8, 43, 95, 0.08);
  border-radius: 22px;
  box-shadow: 0 8px 26px rgba(8, 43, 95, 0.08);
}

.foundation-highlights article {
  padding: 18px;
}

.foundation-highlights strong {
  color: var(--navy);
  display: block;
  line-height: 1.2;
}

.foundation-highlights span {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
  margin-top: 5px;
}

.foundation-visual {
  position: relative;
}

.foundation-photo-card {
  background:
    linear-gradient(180deg, rgba(8, 43, 95, 0.03), rgba(8, 43, 95, 0.34)),
    url("assets/enrollment-flyer.png") center / cover;
  border-radius: 42px;
  box-shadow: var(--shadow);
  min-height: 500px;
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.foundation-floating-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  bottom: 22px;
  box-shadow: 0 12px 34px rgba(8, 43, 95, 0.18);
  display: grid;
  gap: 15px;
  grid-template-columns: auto 1fr;
  left: 22px;
  padding: 22px;
  position: absolute;
  right: 22px;
}

.foundation-badge-icon {
  align-items: center;
  background: var(--teal);
  border-radius: 18px;
  color: #fff;
  display: grid;
  font-size: 1.55rem;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.foundation-floating-badge h3 {
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.1;
}

.foundation-floating-badge p {
  color: var(--muted);
  font-size: 0.96rem;
  margin-top: 4px;
}

.foundation-trust {
  background: var(--navy);
  color: #fff;
  padding: 18px 0;
}

.foundation-trust .foundation-container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.foundation-trust span {
  font-weight: 900;
}

.foundation-section {
  padding: 90px 0;
}

#transportation {
  padding-top: 58px;
}

#transportation .foundation-title {
  margin-bottom: 32px;
}

#transportation .foundation-title h2 {
  margin-top: 0;
}

#programs.why-families {
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 207, 64, 0.24), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(0, 139, 122, 0.18), transparent 30%),
    linear-gradient(135deg, #fff7e6 0%, #edf9f5 54%, #fff0ec 100%);
  border-bottom: 1px solid rgba(8, 43, 95, 0.06);
  border-top: 1px solid rgba(8, 43, 95, 0.06);
}

.foundation-title {
  margin: 0 auto 42px;
  max-width: 760px;
  text-align: center;
}

.foundation-title.left {
  margin-left: 0;
  text-align: left;
}

.foundation-title h2,
.foundation-ehs h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-top: 12px;
}

.foundation-title p,
.foundation-card-grid p,
.foundation-transport p,
.foundation-support-card p,
.foundation-steps p {
  color: var(--muted);
}

.foundation-card-grid,
.foundation-support-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.foundation-card-grid article,
.foundation-support-card {
  border-radius: 34px;
  padding: 30px;
}

.why-families .foundation-card-grid article {
  border: 2px solid transparent;
  box-shadow: 0 18px 34px rgba(8, 43, 95, 0.1);
  position: relative;
}

.why-families .foundation-card-grid article:nth-child(1) {
  background: linear-gradient(180deg, #fff, #fff0ec);
  border-color: rgba(255, 76, 57, 0.2);
}

.why-families .foundation-card-grid article:nth-child(2) {
  background: linear-gradient(180deg, #fff, #edf9e9);
  border-color: rgba(60, 155, 62, 0.2);
}

.why-families .foundation-card-grid article:nth-child(3) {
  background: linear-gradient(180deg, #fff, #f1e9ff);
  border-color: rgba(117, 81, 179, 0.2);
}

.foundation-card-icon {
  align-items: center;
  background: var(--mint);
  border-radius: 20px;
  display: grid;
  font-size: 1.8rem;
  height: 62px;
  justify-content: center;
  margin-bottom: 20px;
  width: 62px;
}

.foundation-card-icon.heart {
  background: var(--soft-coral);
  color: var(--coral);
}

.foundation-card-icon.sprout {
  background: #e8f8df;
  color: #167c35;
}

.foundation-card-icon.family {
  background: var(--lavender);
  color: #6f45b8;
}

.foundation-card-grid h3,
.foundation-transport h3,
.foundation-support-card h3 {
  color: var(--navy);
  font-size: 1.42rem;
  line-height: 1.15;
  margin-bottom: 10px;
}

.foundation-ehs {
  background: linear-gradient(135deg, var(--navy), #0e4c7b);
  color: #fff;
  overflow: hidden;
  padding: 90px 0;
  position: relative;
}

.foundation-ehs::before {
  background: rgba(255, 202, 40, 0.18);
  border-radius: 50%;
  content: "";
  height: 380px;
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
}

.foundation-ehs-grid {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: 0.92fr 1.08fr;
  position: relative;
  z-index: 1;
}

.foundation-ehs h2 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.foundation-ehs p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  margin-bottom: 22px;
}

.ehs-logo-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-radius: 22px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
  display: inline-flex;
  margin: 0 0 18px;
  padding: 12px 16px;
}

.ehs-logo-badge img {
  display: block;
  max-width: 100%;
  width: clamp(220px, 22vw, 300px);
}

.foundation-ehs-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 36px;
  backdrop-filter: blur(10px);
  padding: 30px;
}

.foundation-ehs-card ul {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.foundation-ehs-card li {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  font-weight: 800;
  padding: 14px;
}

.foundation-transport {
  align-items: center;
  background: linear-gradient(135deg, #fff8e8, #ecfbf7);
  display: grid;
  gap: clamp(20px, 4vw, 40px);
  grid-template-columns: minmax(260px, 410px) 1fr;
  padding: 30px;
}

.cozy-cruisers-logo {
  aspect-ratio: 1;
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(8, 43, 95, 0.16);
  display: block;
  max-width: 410px;
  width: 100%;
}

.transport-kicker {
  color: var(--teal);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.transport-button {
  margin-top: 20px;
}

.foundation-referral {
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 193, 7, 0.22), transparent 25%),
    radial-gradient(circle at 90% 14%, rgba(242, 95, 76, 0.18), transparent 24%),
    radial-gradient(circle at 50% 85%, rgba(15, 143, 131, 0.14), transparent 34%),
    linear-gradient(135deg, #fff8ed 0%, #fffdf8 48%, #ecfbf7 100%);
  overflow: hidden;
  position: relative;
}

.referral-hero-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(8, 43, 95, 0.08);
  border-radius: 34px;
  box-shadow: 0 20px 46px rgba(8, 43, 95, 0.1);
  display: grid;
  gap: clamp(24px, 5vw, 48px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
  margin-bottom: 28px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
}

.referral-logo {
  margin-bottom: 14px;
  width: 210px;
}

.referral-copy h2 {
  color: var(--navy);
  font-size: clamp(2.25rem, 4.5vw, 4.05rem);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 16px 0;
}

.referral-copy h2 span {
  color: var(--coral);
  display: block;
}

.referral-copy p {
  color: var(--text);
  font-size: 1.2rem;
  max-width: 580px;
}

.referral-ribbon {
  background: var(--teal);
  color: #fff;
  display: inline-flex;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-top: 22px;
  padding: 12px 26px;
  text-transform: uppercase;
}

.referral-photo {
  align-self: stretch;
  background:
    linear-gradient(180deg, rgba(8, 43, 95, 0), rgba(8, 43, 95, 0.08)),
    url("assets/referral-community.png") center / cover;
  border-bottom-left-radius: 46% 22%;
  border-top-left-radius: 46% 22%;
  min-height: 300px;
}

.referral-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
}

.referral-main,
.referral-side {
  display: grid;
  gap: 22px;
}

.foundation-reward {
  background: rgba(255, 255, 255, 0.88);
  border: 2px solid rgba(244, 185, 66, 0.7);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 34px);
  text-align: center;
}

.foundation-reward h3 {
  background: var(--teal);
  color: #fff;
  display: inline-flex;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  padding: 8px 28px;
  text-transform: uppercase;
}

.foundation-reward .reward-amount {
  color: var(--navy);
  font-size: clamp(2.9rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1;
}

.foundation-reward p {
  color: var(--muted);
  margin: 8px 0 22px;
}

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

.reward-breakdown article {
  border-right: 1px dashed rgba(8, 43, 95, 0.2);
  padding: 0 16px;
}

.reward-breakdown article:last-child {
  border-right: 0;
}

.reward-breakdown span {
  background: var(--teal);
  color: #fff;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  padding: 7px 13px;
  text-transform: uppercase;
}

.reward-breakdown article:nth-child(2) span {
  background: #6f49ad;
}

.reward-breakdown strong {
  color: var(--teal);
  display: block;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1;
}

.reward-breakdown article:nth-child(2) strong {
  color: #6f49ad;
}

.reward-breakdown p {
  margin: 8px 0 0;
}

.reward-total {
  background: var(--gold);
  color: var(--navy);
  display: block;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  margin: 16px 0 8px;
  padding: 12px 18px;
  text-transform: uppercase;
}

.foundation-reward small {
  color: var(--text);
  display: block;
  font-size: 0.82rem;
  text-align: left;
}

.referral-steps-panel,
.why-refer-card,
.eligibility-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(8, 43, 95, 0.08);
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(8, 43, 95, 0.08);
  padding: clamp(22px, 3vw, 30px);
}

.referral-steps-panel h3,
.why-refer-card h3,
.eligibility-card h3,
.eligibility-card h4 {
  color: var(--navy);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-align: center;
  text-transform: uppercase;
}

.why-refer-card h3 {
  color: var(--teal);
}

.foundation-steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.foundation-steps article {
  background: #fff;
  border: 1px solid rgba(8, 43, 95, 0.06);
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(8, 43, 95, 0.08);
  padding: 20px;
  text-align: center;
}

.foundation-steps span {
  align-items: center;
  background: var(--coral);
  border-radius: 999px;
  color: #fff;
  display: inline-grid;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  margin-bottom: 10px;
  width: 44px;
}

.foundation-steps article:nth-child(2) span,
.why-refer-card article:nth-of-type(2) span {
  background: var(--teal);
}

.foundation-steps article:nth-child(3) span {
  background: #8a5ec7;
}

.foundation-steps article:nth-child(4) span,
.why-refer-card article:nth-of-type(3) span {
  background: var(--gold);
}

.why-refer-card article {
  align-items: center;
  border-bottom: 1px dashed rgba(8, 43, 95, 0.18);
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr;
  padding: 16px 0;
}

.why-refer-card article:last-child {
  border-bottom: 0;
}

.why-refer-card span {
  align-items: center;
  background: var(--coral);
  border-radius: 999px;
  color: #fff;
  display: inline-grid;
  font-size: 1.35rem;
  font-weight: 900;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.why-refer-card strong {
  color: var(--coral);
  display: block;
  font-weight: 900;
  text-transform: uppercase;
}

.why-refer-card article:nth-of-type(2) strong {
  color: var(--teal);
}

.why-refer-card article:nth-of-type(3) strong {
  color: #f39b11;
}

.why-refer-card p,
.eligibility-card li {
  color: var(--text);
}

.eligibility-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0 0 20px;
}

.eligibility-card li {
  padding-left: 28px;
  position: relative;
}

.eligibility-card li::before {
  align-items: center;
  background: var(--teal);
  border-radius: 999px;
  color: #fff;
  content: "✓";
  display: inline-grid;
  font-size: 0.75rem;
  font-weight: 900;
  height: 18px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 4px;
  width: 18px;
}

.eligibility-card h4 {
  color: #6f49ad;
  font-size: 1.05rem;
  margin-top: 8px;
}

.eligibility-card h4 + ul li::before {
  background: #8a5ec7;
  content: "♥";
}

.referral-contact-strip {
  background: linear-gradient(90deg, var(--coral), var(--teal));
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
  overflow: hidden;
}

.referral-contact-strip a {
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 900;
  padding: 20px;
  text-align: center;
}

.referral-contact-strip a:nth-child(2) {
  background: rgba(8, 43, 95, 0.18);
}

.foundation-support-card span {
  display: block;
  font-size: 2.1rem;
  margin-bottom: 14px;
}

.schedule-hero-section {
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 202, 40, 0.24), transparent 25%),
    radial-gradient(circle at 88% 18%, rgba(242, 95, 76, 0.16), transparent 26%),
    linear-gradient(135deg, #fff8ed 0%, #ecfbf7 58%, #fff0ec 100%);
  overflow: hidden;
  padding: 90px 0;
}

.schedule-hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
}

.schedule-hero-copy h2 {
  color: var(--navy);
  font-size: clamp(2.45rem, 5.2vw, 4.8rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin: 16px 0 20px;
}

.schedule-hero-copy > p {
  color: var(--muted);
  font-size: 1.18rem;
  margin: 0 0 26px;
  max-width: 650px;
}

.schedule-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.schedule-tour-points {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}

.schedule-tour-points article {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(8, 43, 95, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(8, 43, 95, 0.08);
  padding: 18px;
}

.schedule-tour-points strong {
  color: var(--navy);
  display: block;
  line-height: 1.15;
  margin-bottom: 6px;
}

.schedule-tour-points span {
  color: var(--muted);
  display: block;
  font-size: 0.92rem;
}

.schedule-hero-image-wrap {
  border-radius: 40px;
  box-shadow: var(--shadow);
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.schedule-hero-image-wrap img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.schedule-floating-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  bottom: 22px;
  box-shadow: 0 14px 34px rgba(8, 43, 95, 0.18);
  left: 22px;
  padding: 20px;
  position: absolute;
  right: 22px;
}

.schedule-floating-card strong,
.schedule-floating-card span {
  display: block;
}

.schedule-floating-card strong {
  color: var(--navy);
  font-size: 1.1rem;
}

.schedule-floating-card span {
  color: var(--muted);
  margin-top: 5px;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .desktop-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .program-grid,
  .moment-grid,
  .steps,
  .trust-strip,
  .pathway-grid,
  .referral-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero,
  .enrollment-splash {
    grid-template-columns: 1fr;
  }

  .hero-image,
  .hero-content {
    grid-column: 1;
  }

  .hero-image {
    grid-row: 2;
  }

  .hero-content {
    grid-row: 1;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 86vh;
    padding: 112px 18px 54px;
  }

  .split,
  .service-layout,
  .ehs-band,
  .final-cta,
  .form-grid,
  .photo-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .rounded-image {
    aspect-ratio: 16 / 10;
  }

  .ehs-band .button,
  .final-actions {
    justify-self: start;
  }

  .foundation-hero-grid,
  .foundation-ehs-grid,
  .referral-hero-card,
  .referral-layout,
  .referral-flyer-hero,
  .referral-flyer-grid,
  .referral-details-band,
  .referral-bottom-cta,
  .contact-hero,
  .contact-quick-strip,
  .contact-form-band,
  .schedule-hero-grid,
  .tour-hero,
  .tour-prepare,
  .tour-cta-strip,
  .enrollment-hero,
  .enrollment-fit,
  .enrollment-cta-strip,
  .programs-hero,
  .ehs-hero,
  .ehs-qualify,
  .ehs-service-strip {
    grid-template-columns: 1fr;
  }

  .tour-hero {
    background:
      linear-gradient(180deg, rgba(255, 244, 200, 0.78) 0%, #fff4c8 78%),
      url("assets/tour-entrance-open-door.png") center top / cover no-repeat,
      linear-gradient(135deg, #fffaf0 0%, #fff0cb 48%, #e9fff8 100%);
    min-height: 720px;
    padding-top: 142px;
  }

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

  .tour-strip-actions {
    justify-content: flex-start;
  }

  .enrollment-hero {
    padding-top: 142px;
  }

  .enrollment-hero-photo {
    min-height: 360px;
  }

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

  .enrollment-strip-actions {
    justify-content: flex-start;
  }

  .programs-hero {
    padding-top: 142px;
  }

  .programs-hero-photo {
    min-height: 360px;
  }

  .ehs-hero {
    padding-top: 142px;
  }

  .ehs-hero-photo {
    min-height: 360px;
  }

  .ehs-info-grid,
  .qualify-card-grid {
    grid-template-columns: 1fr;
  }

  .ehs-service-strip .button {
    justify-self: start;
  }

  .referral-photo {
    border-radius: 28px;
    min-height: 260px;
  }

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

  .referral-flyer-photo > img {
    border-radius: 28px;
  }

  .referral-ehs-badge {
    bottom: 14px;
    max-width: none;
    right: 14px;
    width: min(260px, calc(100% - 28px));
  }

  .referral-flow,
  .referral-quality-card div,
  .contact-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-hero {
    padding-top: 142px;
  }

  .contact-hero-photo,
  .contact-hero-photo img {
    min-height: 360px;
  }

  .contact-hero-photo img {
    border-radius: 28px;
  }

  .contact-form-intro {
    position: static;
  }

  .foundation-highlights,
  .foundation-card-grid,
  .schedule-tour-points,
  .foundation-support-grid {
    grid-template-columns: 1fr;
  }

  .schedule-hero-image-wrap {
    min-height: 380px;
  }

  .foundation-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .foundation-transport {
    grid-template-columns: 1fr;
  }

  .cozy-cruisers-logo {
    max-width: 300px;
  }

  .foundation-photo-card {
    min-height: 460px;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
    min-height: 158px;
    padding: 11px 15px;
  }

  .brand span:last-child {
    max-width: 128px;
  }

  .brand-logo {
    height: 59px;
    width: 157px;
  }

  .header-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 6px;
    justify-self: stretch;
  }

  .header-login,
  .header-cta {
    flex: 1;
    font-size: 0.74rem;
    justify-content: center;
    padding: 9px 10px;
    text-align: center;
  }

  .desktop-nav {
    grid-row: 3;
  }

  .hero-actions,
  .final-actions,
  .program-actions,
  .tour-hero-actions,
  .tour-strip-actions,
  .enrollment-hero-actions,
  .enrollment-strip-actions,
  .programs-hero-actions,
  .ehs-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-strip,
  .program-grid,
  .moment-grid,
  .steps,
  .mini-grid,
  .pathway-grid,
  .form-card {
    grid-template-columns: 1fr;
  }

  .form-card .button {
    justify-self: stretch;
  }

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

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

  .site-footer a {
    width: 100%;
  }

  .foundation-container {
    width: min(100% - 24px, 1180px);
  }

  .foundation-hero {
    padding-top: 42px;
  }

  .tour-hero {
    gap: 22px;
    min-height: 780px;
    padding: 176px 18px 34px;
  }

  .tour-page .section {
    padding: 46px 18px;
  }

  .tour-cta-strip {
    padding: 34px 18px;
  }

  .enrollment-hero {
    gap: 22px;
    padding: 176px 18px 34px;
  }

  .enrollment-hero-photo {
    border-width: 8px;
    border-radius: 28px;
    min-height: 300px;
  }

  .enrollment-page .section {
    padding: 46px 18px;
  }

  .enrollment-cta-strip {
    padding: 34px 18px;
  }

  .programs-hero {
    gap: 22px;
    padding: 176px 18px 34px;
  }

  .programs-hero-photo {
    border-width: 8px;
    border-radius: 28px;
    min-height: 300px;
  }

  .programs-photo-note {
    border-radius: 18px;
    padding: 14px;
  }

  .ehs-hero {
    gap: 22px;
    padding: 176px 18px 34px;
  }

  .ehs-hero-photo {
    border-width: 8px;
    border-radius: 28px;
    min-height: 300px;
  }

  .ehs-hero-logo {
    height: 54px;
    width: 138px;
  }

  .ehs-page .section {
    padding: 46px 18px;
  }

  .ehs-service-strip {
    padding: 34px 18px;
  }

  .modal {
    padding: 12px;
  }

  .modal-panel {
    max-height: 94vh;
  }

  .modal-close {
    right: 10px;
    top: 10px;
  }

  .foundation-section,
  .foundation-ehs {
    padding: 64px 0;
  }

  .schedule-hero-section {
    padding: 64px 0;
  }

  #transportation {
    padding-top: 44px;
  }

  .foundation-highlights,
  .foundation-ehs-card ul,
  .foundation-steps {
    grid-template-columns: 1fr;
  }

  .referral-copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .referral-flyer-hero {
    padding: 130px 18px 42px;
  }

  .referral-flyer-copy h1 {
    font-size: clamp(2.9rem, 12vw, 4.25rem);
  }

  .referral-payout-split,
  .referral-flow,
  .referral-quality-card div,
  .contact-help-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    padding: 238px 18px 42px;
  }

  .contact-hero-copy h1 {
    font-size: clamp(2.75rem, 11vw, 4rem);
  }

  .contact-quick-strip,
  .contact-form-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .referral-payout-split article {
    border-bottom: 1px dashed rgba(8, 43, 95, 0.2);
    border-right: 0;
    padding: 0 0 16px;
  }

  .referral-payout-split article:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .referral-logo {
    width: 170px;
  }

  .reward-breakdown {
    grid-template-columns: 1fr;
  }

  .reward-breakdown article {
    border-bottom: 1px dashed rgba(8, 43, 95, 0.2);
    border-right: 0;
    padding: 0 0 16px;
  }

  .reward-breakdown article:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .ehs-logo-badge img {
    width: 220px;
  }

  .foundation-floating-badge {
    grid-template-columns: 1fr;
  }

}
