.home-page {
  --home-dark: #09292e;
  --home-light: #f8fcfb;
  --home-muted: #c8dfdc;
}

.home-page .wrap { width: min(calc(100% - 96px), 1260px); }
.home-page .topline { background: var(--home-dark); }
.home-page .topline .wrap { min-height: 34px; }
.home-page .site-header .header-inner { min-height: 84px; }
.home-page .site-header .brand img { width: 84px; }
.home-page .section { padding-block: clamp(54px, 6.4vw, 98px); }
.home-page .section-heading h2 { max-width: 17em; text-wrap: balance; }
.home-page :where(.home-pathways, .home-company, .home-schools) .section-heading { margin-bottom: 24px; }

.home-hero {
  display: grid;
  align-items: center;
  background: radial-gradient(ellipse at 93% 24%, #204c48, var(--home-dark) 62%);
  color: #fff;
  padding-block: clamp(49px, 5vw, 76px) clamp(76px, 7vw, 108px);
}
.home-hero-grid { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); align-items: center; gap: clamp(24px, 3.2vw, 47px); }
.home-hero-copy { max-width: 44rem; }
.home-hero-copy .eyebrow { color: #b6f1e8; letter-spacing: .12em; }
.home-hero-copy h1 {
  margin-block: 16px 22px;
  font-size: clamp(2.9rem, 5vw, 5.3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.055em;
}
.home-hero-copy h1 span { display: block; color: #b6f1e8; }
.home-hero-copy .subtext { max-width: 25em; color: var(--home-muted); }
.home-hero .actions { margin-top: 28px; }
.home-hero .button { min-height: 53px; padding-inline: 23px; }
.home-hero-outline { color: #fff; border-color: #85a4a4; background: rgb(9 41 46 / 42%); }
.home-hero-outline:hover { background: #1a4448; border-color: #a9ebe3; }
.home-hero :focus-visible { outline-color: var(--mint); }
.home-hero-photo {
  border: 1px solid #587a74;
  border-radius: 22px;
  overflow: hidden;
  background: #0b282a;
  box-shadow: 0 20px 45px rgb(4 19 20 / 34%);
}
.home-hero-photo img { width: 100%; height: auto; }
.home-hero-photo figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px 14px;
  padding: 12px 16px;
  color: #e4efee;
  font-size: .85rem;
}
.home-hero-photo figcaption a { color: #b6f1e8; font-weight: 700; text-underline-offset: 4px; }
.home-evidence { position: relative; z-index: 1; margin-top: -44px; }
.home-evidence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: clamp(19px, 3vw, 35px) 0;
  list-style: none;
  border: 1px solid #cae1dc;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 12px 36px rgb(16 59 56 / 9%);
}
.home-evidence-grid > li { display: grid; gap: 4px; align-content: center; padding-inline: clamp(15px, 2.4vw, 37px); }
.home-evidence-grid > li + li { border-inline-start: 1px solid #d3e7e2; }
.home-evidence-grid strong { color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.23; }
.home-evidence-grid .home-outcomes strong {
  color: var(--teal);
  font: 800 clamp(2.7rem, 4.7vw, 4.65rem) / 1 Inter, "Segoe UI", sans-serif;
  letter-spacing: -.065em;
}
.home-evidence-grid span { font-size: .97rem; color: var(--muted); }
.home-evidence-grid a { color: var(--teal); font-size: .88rem; font-weight: 700; text-underline-offset: 4px; width: fit-content; }

.home-film.section { padding-block: clamp(38px, 5vw, 70px); }
.home-film-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(226px, .92fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(24px, 4vw, 58px);
  border-radius: 24px;
  background: radial-gradient(ellipse at 77% 52%, #265a54, var(--home-dark) 65%);
  color: var(--white);
}
.home-film-copy { padding-inline-start: clamp(0px, 2vw, 30px); }
.home-film-copy .eyebrow { color: #b6f1e8; }
.home-film-copy h2 { margin: 10px 0 24px; font-size: clamp(2.45rem, 5.05vw, 5rem); line-height: 1.13; letter-spacing: -.045em; text-wrap: balance; }
.home-film-copy .subtext { margin-block: -8px 22px; max-width: 24em; color: var(--home-muted); }
.home-film :focus-visible { outline-color: var(--mint); }
.home-film-figure { width: min(100%, 284px); justify-self: center; }
.home-film-screen {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid #82aaa1;
  border-radius: 17px;
  background: #061b1e;
  box-shadow: 0 17px 36px rgb(3 19 22 / 34%);
}
.home-film-screen:hover { border-color: var(--mint); }
.home-film-screen video { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-film-play {
  position: absolute;
  inset: auto 13px 13px auto;
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 66%);
  border-radius: 50%;
  background: rgb(5 24 27 / 79%);
}
.home-film-play::after { content: ''; width: 0; height: 0; margin-left: 3px; border-block: 7px solid transparent; border-left: 11px solid var(--white); }
.home-film-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 10px; padding-top: 8px; font-size: .875rem; color: #d9ece9; }
.home-film-toggle { min-height: 38px; padding: 4px 2px; border: 0; background: transparent; color: #b6f1e8; text-decoration: underline; text-underline-offset: 4px; }
.home-film-dialog {
  position: fixed;
  inset: 0;
  width: min(calc(100% - 24px), calc(52dvh + 8px), 510px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 12px;
  border: 1px solid #5f8c86;
  border-radius: 16px;
  background: #09292e;
  color: var(--white);
}
.home-film-dialog::backdrop { background: rgb(3 14 17 / 88%); }
.home-film-dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.home-film-dialog-top h2 { margin: 0; font-size: 1.15rem; }
.home-film-player { display: block; width: 100%; height: auto; max-height: calc(100dvh - 93px); aspect-ratio: 9 / 16; border-radius: 9px; background: #041619; object-fit: contain; }

@media (max-width: 640px) {
  .home-film-layout { grid-template-columns: 1fr; gap: 22px; padding: 23px clamp(13px, 5vw, 25px); }
  .home-film-copy { padding: 0; }
  .home-film-copy h2 { margin-bottom: 16px; font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .home-film-copy .subtext { margin-block: -4px 15px; }
  .home-film-figure { width: min(100%, 240px); }
}

.home-pathways .section-split > .text-link { margin-top: 15px; }
.home-pathways .program-grid { gap: clamp(12px, 2vw, 23px); }
.home-pathways .program-card {
  position: relative;
  padding: clamp(19px, 2.6vw, 33px);
  min-height: 236px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgb(9 55 53 / 5%);
  transition: background .18s, border-color .18s;
}
.home-pathways .program-card:hover { background: #f2faf8; border-color: #6fafaa; }
.home-pathways .program-card h3 { font-size: clamp(1.45rem, 2.2vw, 1.94rem); }
.home-pathways .program-level { color: var(--teal); }
.home-pathways .card-link { width: 100%; margin-top: auto; padding-top: 17px; text-decoration: underline; text-underline-offset: 4px; }
.home-page .tour-feature { padding-top: 0; }
.home-offers { background: #eaf6f0; }
.home-offer-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(12px, 2vw, 20px);
  padding: 0;
  margin: 0;
  list-style: none;
}
.home-offer-examples > li { min-width: 0; }
.home-offer-card {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  min-height: 194px;
  height: 100%;
  overflow: hidden;
  border: 1px solid #c8dfd8;
  border-radius: 17px;
  color: inherit;
  background: #fff;
  text-decoration: none;
}
.home-offer-card:hover { border-color: #69a398; box-shadow: 0 9px 20px rgb(14 60 54 / 8%); }
.home-offer-card:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.home-offer-image { height: 100%; min-height: 156px; padding: 10px; display: grid; place-items: center; background: #deeae6; }
.home-offer-image img { width: 100%; height: auto; max-height: 160px; object-fit: contain; }
.home-offer-copy { display: grid; grid-template-rows: auto auto 1fr auto; justify-items: start; gap: 5px; padding: clamp(12px, 1.5vw, 20px); color: var(--muted); }
.home-offer-copy strong { color: var(--ink); font-size: 1.12rem; line-height: 1.33; }
.home-offer-meta { color: var(--muted); font-size: .875rem; }
.home-offer-status { margin-top: 2px; padding: 2px 8px; border-radius: 6px; color: #784619; background: #f9ead6; font-size: .875rem; font-weight: 700; }
.home-offer-status.offer-admitted { color: #005952; background: #e1f4ee; }
.home-offer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 18px; color: var(--muted); }
.home-offer-schools { display: flex; flex-wrap: wrap; gap: 7px; }
.home-offer-schools a { display: grid; min-width: 49px; min-height: 41px; padding-inline: 11px; place-items: center; border: 1px solid #92bbb3; border-radius: 8px; text-decoration: none; font-weight: 700; background: #fff; }
.home-offer-schools a:first-child { color: #fff; background: var(--teal); border-color: var(--teal); }
.home-offer-schools a:hover { border-color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }

.home-company { background: var(--home-light); }
.home-company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.65vw, 23px);
  align-items: stretch;
}
.home-company-card {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: inherit;
  background: #fff;
  text-decoration: none;
}
.home-company-card:hover { border-color: #72aa9e; box-shadow: 0 10px 25px rgb(17 68 63 / 8%); }
.home-company-card img { width: 100%; height: 100%; object-fit: cover; }
.home-company-card > div { padding: clamp(14px, 2.25vw, 28px); }
.home-company-card p { margin-block: 6px 10px; color: var(--muted); }
.home-company-office { display: flex; flex-direction: column; align-items: stretch; }
.home-company-office img { height: auto; aspect-ratio: 1.76; object-fit: cover; }
.home-company-office > div { margin-block: auto; }
.home-company-office h3 { font-size: clamp(1.45rem, 2.5vw, 2.05rem); }
.home-arrival {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 18px;
  padding: clamp(16px, 2.5vw, 28px);
  border: 1px solid #d0e6df;
  border-radius: 14px;
  background: #eef8f3;
}
.home-arrival p { margin-top: 4px; color: var(--muted); }

.home-schools-grid, .home-journal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 88px);
  align-items: start;
}
.home-activity {
  overflow: hidden;
  border-radius: 19px;
  border: 1px solid var(--line);
  background: #fff;
}
.home-pathways { background: #fff; }

.home-schools { background: #fff; border-bottom: 1px solid #ecf3f0; }
.home-schools-grid { align-items: center; }
.home-school-search { margin: 24px 0 14px; }
.home-school-search label { display: block; margin-bottom: 5px; font-weight: 700; }
.home-school-search > div { display: flex; flex-wrap: wrap; gap: 9px; }
.home-school-search input { width: auto; min-width: min(100%, 13.5rem); flex: 1 1 12rem; min-height: 49px; }
.home-school-search .button { flex-shrink: 0; }
.home-school-types { padding: clamp(18px, 3.8vw, 42px); border: 1px solid var(--line); border-radius: 18px; background: #eff8f4; }
.home-school-types > div { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 12px 15px; }

.home-founder .founder-feature { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.home-founder .founder-feature h2 { font-size: clamp(2.4rem, 4.3vw, 3.75rem); }
.home-founder .founder-feature .subtext { max-width: 31em; }
.home-founder-highlights { margin-top: 34px; }
.home-founder-highlights h3 { margin-bottom: 15px; font-size: clamp(1.15rem, 2vw, 1.48rem); }

.home-journal { align-items: center; }
.home-activity { display: block; color: inherit; text-decoration: none; }
.home-activity:hover { border-color: #64a39e; }
.home-activity img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; }
.home-activity > div { display: grid; gap: 6px; padding: 16px 19px 20px; }
.home-article-list { list-style: none; padding: 0; margin: 0 0 18px; }
.home-article-list li { border-top: 1px solid #bad7d2; }
.home-article-list li:last-child { border-bottom: 1px solid #bad7d2; }
.home-article-list a {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
  padding-block: 16px;
  text-decoration: none;
}
.home-article-list a:hover { color: var(--teal); }
.home-article-list span { color: var(--muted); font-size: .9rem; }
.home-page .bottom-cta {
  background: linear-gradient(110deg, #103d40, #0a292e 75%);
  padding: clamp(22px, 5vw, 57px);
}

@media (max-width: 1060px) {
  .home-page .wrap { width: calc(100% - 60px); }
  .home-offer-card { grid-template-columns: minmax(0, .64fr) minmax(0, 1.36fr); }
}

@media (max-width: 860px) {
  .home-page .wrap { width: calc(100% - 40px); }
  .home-page .site-header .header-inner { min-height: 70px; }
  .home-page .site-header .brand img { width: 70px; }
  .home-page .section { padding-block: 48px; }
  .home-hero { padding-block: 37px 55px; }
  .home-hero-grid, .home-company-grid, .home-schools-grid, .home-journal, .home-founder .founder-feature { grid-template-columns: 1fr; }
  .home-hero-copy h1 { margin-block: 11px 14px; font-size: clamp(2.3rem, 8.8vw, 4rem); }
  .home-hero .actions { margin-top: 18px; }
  .home-hero .button { min-height: 47px; padding-inline: 14px; }
  .home-hero-photo { border-radius: 15px; }
  .home-hero-photo figcaption { padding: 8px 11px; font-size: .85rem; }
  .home-evidence { margin-top: -28px; }
  .home-evidence-grid { padding-block: 16px; }
  .home-evidence-grid strong { font-size: 1.13rem; }
  .home-evidence-grid span, .home-evidence-grid a { font-size: .875rem; }
  .home-pathways .section-split > .text-link { margin-top: 0; }
  .home-pathways .program-card { min-height: 0; }
  .home-offer-card { grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); min-height: 147px; }
  .home-offer-image { min-height: 140px; }
  .home-offer-image img { max-height: 125px; }
}

@media (max-width: 680px) {
  .home-offer-examples { gap: clamp(7px, 2vw, 12px); }
  .home-offer-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; border-radius: 12px; }
  .home-offer-image { grid-template: minmax(0, 1fr) / minmax(0, 1fr); height: clamp(90px, 25vw, 144px); min-height: 0; overflow: hidden; padding: 7px; }
  .home-offer-image img { height: 100%; min-height: 0; max-height: 100%; }
  .home-offer-copy { gap: 4px; padding: clamp(7px, 2vw, 12px); font-size: .875rem; line-height: 1.4; }
  .home-offer-copy strong { font-size: clamp(.875rem, 3vw, 1.06rem); }
  .home-offer-meta, .home-offer-status { font-size: .8125rem; }
  .home-offer-status { padding-inline: 4px; }
}

@media (max-width: 490px) {
  .home-page .wrap { width: calc(100% - 36px); }
  .home-hero { padding-block: 29px 50px; }
  .home-evidence-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; border-radius: 16px; }
  .home-evidence-grid > li,
  .home-evidence-grid > li + li { padding: 14px 9px; align-content: start; }
  .home-evidence-grid > .home-outcomes {
    grid-column: 1 / -1;
    padding: 16px;
    border-bottom: 1px solid #d3e7e2;
  }
  .home-evidence-grid > li:nth-child(2) { border-inline-start: 0; }
  .home-evidence-grid > li:not(.home-outcomes) strong { font-size: .99rem; }
  .home-evidence-grid > li:not(.home-outcomes) span,
  .home-evidence-grid > li:not(.home-outcomes) a { font-size: .81rem; }
}
