.hero-promotion-shell {
  align-items: stretch;
}

.home-service-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 5px;
}

.home-service-label-primary {
  color: #b32030;
  font-weight: 800;
}

.home-service-label-services {
  color: #69757d;
  font-size: .88em;
  font-weight: 600;
  letter-spacing: .06em;
}

.hero-promotion-shell .hero-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--navy);
}

.hero-promotion-shell .hero-art {
  flex: 1 1 auto;
  min-height: 600px;
}

.home-careers-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: var(--navy);
}

.home-careers-link a {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #fffaf0;
  font-weight: 800;
  text-decoration: none;
}

.home-careers-link a:hover,
.home-careers-link a:focus-visible {
  background: #22354d;
  color: var(--lime);
}

.hero-promotion-shell .promotion-cohort {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  display: block;
}

.hero-promotion-shell .promotion-banner {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  max-width: none;
  margin: 0;
  padding: 30px 32px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  gap: 18px 20px;
  background: var(--gold);
  color: var(--navy);
}

.hero-promotion-shell .promotion-mark {
  grid-row: 1 / span 2;
  align-self: start;
}

.hero-promotion-shell .promotion-copy,
.hero-promotion-shell .promotion-actions {
  min-width: 0;
  grid-column: 2;
}

.hero-promotion-shell .promotion-copy .eyebrow {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.3;
}

.hero-promotion-shell .promotion-copy small {
  display: block;
  margin-top: 10px;
  font-size: 15.6px;
  line-height: 1.35;
}

.hero-promotion-shell .promotion-actions {
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  align-self: end;
}

.hero-promotion-shell .promotion-actions .button {
  min-width: 0;
  width: 100%;
  justify-content: center;
  white-space: normal;
}

@media (max-width: 1100px) and (min-width: 1001px) {
  .hero-promotion-shell .promotion-banner {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px 14px;
    padding: 24px 20px;
  }

  .hero-promotion-shell .promotion-mark {
    font-size: 42px;
  }

  .hero-promotion-shell .promotion-copy h2 {
    font-size: clamp(21px, 3vw, 30px);
  }

  .hero-promotion-shell .promotion-actions {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-promotion-shell .promotion-actions .button {
    padding-inline: 8px;
    font-size: 11px;
    white-space: nowrap;
  }
}

@media (max-width: 1000px) and (min-width: 681px) {
  .hero-promotion-shell .hero-art {
    min-height: 500px;
  }
}

.hero-promotion-shell .promotion-mark,
.hero-promotion-shell .promotion-copy {
  min-width: 0;
}

.promotion-cohort {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.95fr);
  align-items: stretch;
}

.promotion-cohort .promotion-banner {
  max-width: none;
  margin: 0;
  padding: 42px;
  align-items: flex-start;
}

.promotion-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  align-self: center;
}

.promotion-actions .button {
  white-space: nowrap;
}

/* Shared Django messages stay in the document flow instead of floating over content. */
.flash-stack {
  position: static;
  z-index: auto;
  width: min(1240px, calc(100% - 64px));
  max-width: none;
  margin: 24px auto 0;
}

.flash {
  box-shadow: none;
}

.cohort-interest {
  min-width: 0;
  padding: 42px;
  background: var(--bluewash);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.cohort-interest-copy h2 {
  max-width: 520px;
  margin: 18px 0;
  color: var(--navy);
  letter-spacing: -0.05em;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.96;
}

.cohort-interest-copy > p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: 22.5px;
  line-height: 1.55;
}

.cohort-interest-details {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 13px;
}

.cohort-interest-details span {
  display: grid;
  gap: 3px;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
}

.cohort-interest-details strong {
  color: var(--navy);
  font-size: 14px;
}

.cohort-interest-card {
  padding: 5px;
  background: var(--navy);
  box-shadow: 10px 10px 0 var(--gold);
}

.cohort-interest-disclosure {
  background: #fff;
}

.cohort-interest-disclosure > summary {
  list-style: none;
}

.cohort-interest-disclosure > summary::-webkit-details-marker {
  display: none;
}

.cohort-interest-disclosure-toggle {
  min-height: 72px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.cohort-interest-disclosure-toggle:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -4px;
}

.cohort-interest-disclosure-icon {
  color: #b32030;
  font-size: 26px;
  line-height: 1;
  transition: transform 180ms ease;
}

.cohort-interest-disclosure[open] .cohort-interest-disclosure-icon {
  transform: rotate(45deg);
}

.cohort-interest-disclosure-content {
  border-top: 1px solid #e4e8ed;
}

.cohort-interest-form {
  margin: 0;
  border: 0;
  padding: 30px;
}

.cohort-application-open {
  padding: 30px;
  background: #fff;
}

.cohort-application-open h3 {
  margin: 14px 0 10px;
  color: var(--navy);
  letter-spacing: -0.03em;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.cohort-application-open p:not(.eyebrow) {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.6;
}

.cohort-interest-confirmation {
  padding: 30px;
  border-left: 4px solid var(--gold);
  background: #f6f5f1;
}

.cohort-interest-confirmation h3 {
  margin: 14px 0 10px;
  color: var(--navy);
  letter-spacing: -0.03em;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.cohort-interest-confirmation p:not(.eyebrow) {
  margin: 0;
  color: var(--navy);
  line-height: 1.6;
}

.cohort-interest-form .consent-field {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 17px;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.45;
}

.cohort-interest-form .consent-field input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  padding: 0;
}

.cohort-interest-form .error {
  display: block;
  color: #a3352d;
  font-size: 11px;
  font-weight: 600;
}

.cohort-interest-form .consent-error {
  margin: -10px 0 15px;
}

.cohort-interest-note {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

@media (min-width: 901px) {
  .cohort-interest-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .promotion-cohort {
    grid-template-columns: 1fr;
  }

  .cohort-interest {
    grid-template-columns: 1fr;
  }

  .promotion-cohort .promotion-banner {
    padding: 36px;
  }

  .promotion-actions {
    align-self: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .promotion-actions .button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .flash-stack {
    width: calc(100% - 40px);
  }

  .hero-promotion-shell .hero-side {
    display: block;
  }

  .hero-promotion-shell .hero-art {
    min-height: 420px;
  }

  .hero-promotion-shell .promotion-banner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
  }

  .hero-promotion-shell .promotion-actions {
    width: 100%;
    min-width: 0;
    align-self: stretch;
    grid-template-columns: 1fr;
  }

  .promotion-cohort .promotion-banner,
  .cohort-interest {
    padding: 30px 20px;
  }

  .cohort-interest-card {
    padding: 3px;
    box-shadow: 7px 7px 0 var(--gold);
  }

  .cohort-interest-form {
    padding: 24px 20px;
  }
}

@media (min-width: 681px) {
  .hero-promotion-shell {
    height: min(760px, calc(100svh - 163px));
    min-height: 480px;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }

  .hero-promotion-shell > .hero-copy {
    min-width: 0;
    min-height: 0;
    padding: clamp(20px, 3.4vh, 42px) clamp(22px, 4.5vw, 64px);
  }

  .hero-promotion-shell .hero-copy h1 {
    margin: clamp(10px, 1.6vh, 20px) 0;
    font-size: clamp(42px, 5.4vw, 76px);
    line-height: .94;
  }

  .hero-promotion-shell .hero-copy .lead {
    font-size: clamp(15px, 1.55vw, 18px);
    line-height: 1.55;
  }

  .hero-promotion-shell .home-hero-actions {
    gap: 8px;
    margin-top: clamp(12px, 1.8vh, 22px);
  }

  .hero-promotion-shell .home-hero-actions .button {
    padding: 10px 12px;
    font-size: 12px;
  }

  .hero-promotion-shell .hero-meta {
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: clamp(14px, 2.1vh, 24px);
    padding-top: 12px;
    font-size: 9px;
  }

  .hero-promotion-shell .hero-side {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
  }

  .hero-promotion-shell .hero-art {
    flex: 1 1 0;
    min-height: 0;
  }

  .hero-promotion-shell .promotion-banner {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px 12px;
    padding: clamp(14px, 1.9vw, 24px);
  }

  .hero-promotion-shell .promotion-mark {
    font-size: clamp(36px, 4.1vw, 52px);
  }

  .hero-promotion-shell .promotion-copy .eyebrow {
    margin-bottom: 5px;
    font-size: 10px;
  }

  .hero-promotion-shell .promotion-copy h2 {
    font-size: clamp(19px, 2.1vw, 28px);
    line-height: 1.05;
  }

  .hero-promotion-shell .promotion-copy p {
    font-size: 12px;
    line-height: 1.35;
  }

  .hero-promotion-shell .promotion-copy small {
    margin-top: 5px;
    font-size: 11px;
  }

  .hero-promotion-shell .promotion-actions {
    gap: 7px;
  }

  .hero-promotion-shell .promotion-actions .button {
    padding: 9px 7px;
    font-size: 11px;
  }
}

@media (max-width: 680px) {
  html body header.site-header .group-bar {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
  }

  html body header.site-header .nav-wrap {
    flex-wrap: wrap !important;
    padding: 8px 18px !important;
  }

  html body header.site-header .logo-link img {
    width: 132px !important;
    max-height: 44px;
  }

  html body header.site-header .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 8px;
  }

  html body header.site-header .mobile-nav.open {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .hero-promotion-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .hero-promotion-shell > .hero-copy {
    min-height: 0;
    padding: 58px 22px 28px;
  }

  .hero-promotion-shell .hero-copy > .eyebrow {
    margin: 0;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: .05em;
  }

  .hero-promotion-shell .hero-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(36px, 10vw, 40px);
    line-height: 1.16;
    letter-spacing: -.065em;
  }

  .hero-promotion-shell .hero-copy .lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-promotion-shell .home-hero-actions {
    align-items: stretch;
    gap: 12px;
    margin-top: 26px;
  }

  .hero-promotion-shell .home-hero-actions .button {
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.25;
  }

  .hero-promotion-shell .hero-meta {
    display: none;
  }
}

@media (min-width: 1001px) {
  .hero-promotion-shell {
    grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
    width: calc(100% - 32px);
    max-width: 1280px;
    min-height: 634px;
  }

  .hero-promotion-shell > .hero-copy {
    justify-content: flex-start;
  }

  .hero-promotion-shell .hero-copy h1,
  .hero-promotion-shell .hero-copy .lead {
    line-height: 1.2;
  }

  .hero-promotion-shell .hero-copy h1 {
    font-size: clamp(40px, 4.8vw, 60px);
  }

  .hero-promotion-shell .hero-copy > h1[class~="mt-[10px]"][class~="mb-[10px]"] {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .hero-promotion-shell .hero-copy > p.eyebrow.service-label[class~="mt-[20px]"][class~="mb-[20px]"] {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .hero-promotion-shell .hero-copy > p.lead[class~="pt-[10px]"][class~="pb-[10px]"][class~="mt-[10px]"][class~="mb-[10px]"] {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .hero-promotion-shell .hero-copy > div.button-row.home-hero-actions[class~="justify-start"][class~="mb-[0px]"][class~="mt-[24px]"][class~="mr-[0px]"][class~="pl-[0px]"][class~="pr-[0px]"][class~="pt-[12px]"][class~="pb-[12px]"] {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 24px;
    margin-right: 0;
    margin-bottom: 0;
    padding: 12px 0;
  }

  .hero-promotion-shell .home-hero-actions > a.button[class~="pl-[12px]"][class~="pr-[12px]"] {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-promotion-shell .home-hero-actions > a.button[class~="pl-[12px]"][class~="pr-[12px]"] > span[class~="pl-[0px]"][class~="pr-[0px]"] {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-promotion-shell .hero-meta {
    margin-top: auto;
    padding-top: 14px;
    line-height: 1.2;
  }

  .hero-promotion-shell .promotion-banner {
    grid-template-columns: clamp(64px, 7.2vw, 82px) minmax(0, 1fr);
    gap: 14px 16px;
    padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2vw, 26px);
    padding-block: calc(clamp(44px, 4.6vw, 52px) + 22px);
  }

  .hero-promotion-shell .promotion-mark {
    font-size: clamp(42px, 4.1vw, 54px);
  }

  .hero-promotion-shell .promotion-copy .eyebrow {
    margin-bottom: 8px;
    line-height: 1.2;
  }

  .hero-promotion-shell .promotion-copy h2 {
    font-size: clamp(21px, 2.2vw, 30px);
    line-height: 1.2;
  }

  .hero-promotion-shell .promotion-copy p {
    font-size: 13px;
    line-height: 1.45;
  }

  .hero-promotion-shell .promotion-copy small {
    font-size: 12px;
    line-height: 1.3;
  }

  .hero-promotion-shell .promotion-actions .button {
    padding: 10px 8px;
    font-size: 12px;
    line-height: 1.2;
  }
}

@media (min-width: 1001px) and (max-width: 1279px) {
  .hero-promotion-shell {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  }
}

.hero-promotion-shell .hero-copy > p.lead[class~="pt-[10px]"][class~="pb-[10px]"] {
  padding-top: 10px;
  padding-bottom: 10px;
}

.hero-promotion-shell .promotion-mark[class~="text-[40px]"] {
  font-size: 40px;
}

.hero-promotion-shell .promotion-copy .eyebrow[class~="text-[12px]"][class~="text-[#b10045]"] {
  color: #b10045;
  font-size: 12px;
}
