/* Home concept layouts. Option 3 also powers the approved production Home page. */

body.home-concept {
  background: var(--paper);
}

.home-concept .site-header {
  gap: 16px;
}

.home-concept .brand {
  width: clamp(158px, 14vw, 212px);
}

.home-concept .site-nav {
  gap: clamp(10px, 1.2vw, 18px);
  font-size: 0.84rem;
}

.concept-switcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(38, 50, 71, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(21, 29, 43, 0.2);
  backdrop-filter: blur(16px);
}

.concept-switcher > span {
  padding: 0 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.concept-switcher a {
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 38px;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  border-radius: 6px;
}

.concept-switcher a:hover {
  background: var(--soft);
}

.concept-switcher a[aria-current="page"] {
  color: var(--paper);
  background: var(--ink);
}

.home-hero-logo {
  display: block;
  width: clamp(220px, 25vw, 330px);
  height: auto;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(21, 29, 43, 0.18);
}

.home-concept .visual-rail {
  border-top: 10px solid var(--deep);
  border-bottom: 10px solid var(--deep);
}

.home-concept .visual-rail figure {
  display: grid;
  grid-template-rows: auto minmax(38px, auto);
  align-content: start;
  background: var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.home-concept .visual-rail img {
  border-radius: var(--radius) var(--radius) 0 0;
}

.home-concept .visual-rail figcaption {
  position: static;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--paper);
  background: var(--deep);
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}

/* Option 1: lighter full-bleed image with a localized contrast gradient. */
.home-hero-overlay {
  min-height: min(660px, 74svh);
}

.home-hero-overlay > img {
  object-position: center top;
  filter: brightness(1.06) saturate(0.96);
}

.home-hero-overlay .hero-overlay {
  background:
    linear-gradient(90deg, rgba(21, 29, 43, 0.9) 0%, rgba(21, 29, 43, 0.78) 31%, rgba(21, 29, 43, 0.34) 52%, rgba(21, 29, 43, 0.04) 76%),
    linear-gradient(0deg, rgba(21, 29, 43, 0.42), rgba(21, 29, 43, 0) 48%);
}

.home-hero-overlay .hero-content {
  width: min(680px, calc(100% - 40px));
  padding-top: 118px;
}

.home-hero-overlay .home-hero-logo {
  position: static;
  inset: auto;
  width: clamp(220px, 24vw, 310px);
  height: auto;
  margin: 0 0 24px;
  object-fit: contain;
}

.home-hero-overlay .hero-content h1 {
  max-width: 640px;
  font-size: clamp(3.4rem, 6.4vw, 6.6rem);
}

/* Option 2: accessible split hero with an untouched, undarkened photo. */
.home-hero-split {
  min-height: min(780px, 100svh);
  padding-top: 82px;
  display: grid;
  grid-template-columns: minmax(390px, 0.82fr) minmax(560px, 1.18fr);
  background: var(--deep);
}

.home-hero-split__copy {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(44px, 6vw, 88px);
  color: var(--paper);
  background:
    linear-gradient(150deg, rgba(66, 105, 156, 0.24), rgba(21, 29, 43, 0) 56%),
    var(--deep);
}

.home-hero-split__copy .home-hero-logo {
  margin-bottom: 30px;
}

.home-hero-split__copy .eyebrow {
  color: var(--label-blue-on-dark);
}

.home-hero-split__copy h1 {
  max-width: 640px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(3.4rem, 5.5vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.home-hero-split__copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 700;
}

.home-hero-split__media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  display: grid;
  place-content: center;
  justify-items: stretch;
  padding: clamp(30px, 4.5vw, 70px);
  background: #dcebf6;
}

.home-hero-split__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(38, 50, 71, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 24px 58px rgba(38, 50, 71, 0.2);
}

.home-hero-stacked__media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: fit-content;
  max-width: calc(100% - 36px);
  padding: 8px 11px;
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
  background: rgba(21, 29, 43, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.home-hero-split__media figcaption {
  position: static;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  margin-top: 14px;
  padding: 0;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
  background: transparent;
  border: 0;
}

/* Option 3: client-inspired image banner with the action message below. */
.home-hero-stacked {
  display: flex;
  flex-direction: column;
  height: 100svh;
  padding-top: 82px;
  color: var(--deep);
  background: var(--brand-light-blue);
}

.home-hero-stacked__media {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 260px;
  height: auto;
  margin: 0;
  overflow: hidden;
  background: #70afe0;
}

.home-hero-stacked__media::after {
  display: none;
}

.home-hero-stacked__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero-stacked__media picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.home-hero-stacked__brand {
  position: absolute;
  z-index: 2;
  top: clamp(34px, 5vw, 72px);
  right: clamp(22px, 5vw, 84px);
  left: auto;
}

.home-hero-stacked__brand .home-hero-logo {
  width: clamp(240px, 24vw, 360px);
}

.home-hero-stacked__action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 28px;
}

.home-hero-stacked__action .eyebrow {
  color: var(--deep);
}

.home-hero-stacked__action h1 {
  margin: 0;
  color: #101820;
  font-size: clamp(3rem, 4.4vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero-stacked__action p:not(.eyebrow) {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--deep);
  font-size: 1.08rem;
  font-weight: 650;
}

.home-hero-stacked__action .button-row {
  justify-content: flex-end;
}

.home-concept .intro-visual figcaption {
  right: auto;
  bottom: 14px;
  left: 14px;
  width: fit-content;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.home-concept .intro-visual figcaption span {
  margin: 0;
  color: var(--paper);
  text-shadow: 0 2px 7px rgba(21, 29, 43, 0.95), 0 0 2px rgba(21, 29, 43, 0.9);
}

.home-concept .intro-mission h3 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.75rem, 2.7vw, 2.65rem);
  line-height: 1.04;
}

.home-concept .intro-mission .purpose-statements {
  margin-top: 24px;
}

.home-concept .intro-mission .purpose-statements p {
  max-width: none;
  font-size: 1.04rem;
  line-height: 1.5;
}

/* Ultrawide screens crop vertically; keep both entrance stair flights in frame. */
@media (min-width: 1600px) and (min-aspect-ratio: 21 / 9) {
  .home-hero-stacked__media picture > img {
    object-position: center bottom;
  }
}

@media (max-width: 1140px) {
  .home-concept .site-nav {
    gap: 10px;
    font-size: 0.78rem;
  }

  .home-concept .site-nav .button-small {
    padding-inline: 12px;
  }

  .home-hero-split {
    grid-template-columns: minmax(360px, 0.88fr) minmax(480px, 1.12fr);
  }
}

@media (max-width: 1020px) {
  .home-concept .brand {
    width: clamp(166px, 22vw, 212px);
  }

  .home-concept .site-nav {
    font-size: 0.9rem;
  }

  .home-hero-split {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .home-hero-split__copy {
    min-height: 560px;
    padding: 54px max(28px, 7vw);
  }

  .home-hero-split__media {
    min-height: 0;
    padding: clamp(26px, 6vw, 54px);
  }

  .home-hero-stacked__action {
    grid-template-columns: 1fr;
  }

  .home-concept .intro-visual figcaption {
    position: absolute;
    right: auto;
    bottom: 10px;
    left: 10px;
    width: fit-content;
    padding: 0;
    color: var(--paper);
    background: transparent;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
  }

  .home-hero-stacked__action .button-row {
    justify-content: flex-start;
  }

}

@media (max-width: 680px) {
  .home-concept {
    padding-bottom: 0;
  }

  .concept-switcher {
    display: none;
  }

  .home-hero-logo,
  .home-hero-overlay .home-hero-logo,
  .home-hero-stacked__brand .home-hero-logo {
    width: min(240px, 70vw);
    padding: 10px 13px;
  }

  .home-hero-overlay {
    min-height: 680px;
  }

  .home-hero-overlay > img {
    object-position: center 20%;
  }

  .home-hero-overlay .hero-overlay {
    background:
      linear-gradient(0deg, rgba(21, 29, 43, 0.92) 0%, rgba(21, 29, 43, 0.74) 45%, rgba(21, 29, 43, 0.14) 78%),
      linear-gradient(90deg, rgba(21, 29, 43, 0.16), rgba(21, 29, 43, 0));
  }

  .home-hero-overlay .hero-content {
    width: min(100% - 28px, 680px);
    padding: 104px 0 32px;
  }

  .home-hero-overlay .hero-content h1,
  .home-hero-split__copy h1,
  .home-hero-stacked__action h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
    line-height: 0.96;
  }

  .home-hero-split {
    padding-top: 72px;
  }

  .home-hero-split__copy {
    min-height: 0;
    padding: 42px 22px 46px;
  }

  .home-hero-split__copy .home-hero-logo {
    margin-bottom: 24px;
  }

  .home-hero-split__copy .button-row,
  .home-hero-split__copy .button {
    width: 100%;
  }

  .home-hero-split__media {
    padding: 22px 14px;
  }

  .home-hero-split__media img {
    object-fit: cover;
  }

  .home-hero-stacked {
    height: auto;
    min-height: 0;
    padding-top: 72px;
  }

  .home-hero-stacked__media {
    flex: none;
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .home-hero-stacked__media::after {
    display: none;
  }

  .home-hero-stacked__media picture > img {
    object-fit: cover;
    object-position: center center;
  }

  .home-hero-stacked__brand {
    top: 18px;
    right: 14px;
    left: auto;
  }

  .home-hero-stacked__brand .home-hero-logo {
    width: min(190px, 55vw);
  }

  .home-hero-stacked__media figcaption {
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: 6px 8px;
    font-size: 0.58rem;
  }

  .home-concept .visual-rail figure {
    grid-template-rows: 96px minmax(34px, auto);
  }

  .home-concept .visual-rail figcaption {
    min-height: 34px;
    padding: 6px 7px;
  }

  .home-hero-split__media figcaption {
    margin-top: 10px;
    font-size: 0.58rem;
  }

  .home-hero-stacked__action {
    width: min(100% - 28px, 1160px);
    margin: 0 auto;
    gap: 22px;
    padding: 28px 0 34px;
  }

  .home-hero-stacked__action .button-row {
    margin-top: 0;
  }

  .home-hero-stacked__action .button-row,
  .home-hero-stacked__action .button {
    width: 100%;
  }

}

@media (max-width: 680px) and (max-height: 700px) {
  .home-hero-stacked__action {
    gap: 12px;
    padding: 16px 0 18px;
  }

  .home-hero-stacked__action p:not(.eyebrow) {
    margin-top: 4px;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .home-hero-stacked__action .button-row {
    gap: 8px;
  }

  .home-hero-stacked__action .button {
    min-height: 44px;
    padding-block: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .concept-switcher a {
    transition: none;
  }
}
