.homepage { --home-charcoal: #121922; }
.homepage .site-header {
  background: var(--home-charcoal);
  border-bottom: 0;
  backdrop-filter: none;
}
.homepage .site-header :is(.brand-name, .brand-city) { color: #fff; }
.homepage .menu-toggle { color: #fff; background: transparent; border-color: #8a8d96; }
.homepage .program-card { background: #fff; }
.homepage #approach { background: #e4ecf5; }
.homepage #approach .approach-photo img { display: block; }
.homepage .trial-form .consent-details {
  margin: 12px 0 8px;
  font-size: 11px;
  line-height: 1.65;
}
.capture-contact .capture-directions { text-decoration: underline; text-underline-offset: .2em; }
.capture-copy .capture-first-visit { max-width: 36ch; margin-top: 22px; }
@media (min-width: 821px) {
  .homepage .program-card:nth-child(n) .program-tile-photo {
    height: clamp(190px, 19vw, 255px);
    aspect-ratio: auto;
  }
  .homepage #approach .approach-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(34px, 5vw, 72px); }
  .homepage #approach .approach-photo img { width: 100%; }
}
.capture-contact {
  display: grid;
  gap: 8px;
  max-width: 460px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #687687;
  color: #edf5fc;
  font-style: normal;
}
.capture-contact a { width: fit-content; color: inherit; font-weight: 700; }
@media (min-width: 821px) {
  .homepage .site-header :is(.main-nav > a:not(.nav-book), .program-menu > summary) { color: #fff; }
  .homepage .program-card:nth-child(4) { grid-column: 3 / span 4; }
  .homepage .program-card:nth-child(5) { grid-column: 7 / span 4; }
}

.photo-hero {
  --hero-cut: clamp(14px, 3vw, 42px);
  position: relative;
  isolation: isolate;
  padding: 0;
  border-top: 0;
  color: #fff;
  background: var(--home-charcoal);
}
.photo-hero-images,
.photo-hero-images img,
.photo-hero::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.photo-hero-images img {
  object-fit: cover;
  object-position: center 53%;
  opacity: 0;
  transition: opacity 650ms ease;
}
.photo-hero-images img.is-active { opacity: 1; }
.photo-hero::before {
  content: "";
  z-index: 1;
  background: linear-gradient(180deg, var(--home-charcoal), transparent 95px),
    linear-gradient(90deg, rgba(18, 25, 34, .96), rgba(18, 25, 34, .85) 34%, rgba(18, 25, 34, .32) 64%, rgba(18, 25, 34, .06));
}
.photo-hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: auto 0 -1px;
  height: var(--hero-cut);
  background: #e9e8e4;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.photo-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: clamp(500px, 53vw, 690px);
  padding-block: 64px calc(64px + var(--hero-cut));
}
.photo-hero .home-hero-copy {
  width: min(100%, 640px);
  padding: 0;
  background: none;
}
.photo-hero h1 { color: #fff; font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -.035em; text-wrap: balance; }
.photo-hero .eyebrow,
.photo-hero .lead,
.photo-hero .lead strong { color: #fff; }
.photo-hero .btn-outline { color: #fff; border-color: #fff; background: rgba(15, 20, 28, .42); }
.photo-hero-controls {
  position: absolute;
  z-index: 3;
  right: max(20px, calc((100% - 1160px) / 2));
  bottom: calc(var(--hero-cut) + 12px);
  display: flex;
  align-items: center;
  width: max-content;
  max-width: calc(100% - 40px);
  padding-inline: 14px 4px;
  border: 1px solid #687687;
  border-radius: 8px;
  color: #fff;
  background: var(--home-charcoal);
}
.photo-hero-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-end: 6px;
  font-size: .875rem;
  font-weight: 700;
}
.photo-hero-status [data-photo-count] {
  flex-shrink: 0;
  color: #b2c8ed;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.photo-hero-controls[hidden] { display: none; }
.photo-hero-controls button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}
.photo-hero-controls [data-photo-step]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.photo-hero-controls [data-photo-step="-1"]::before { transform: rotate(-135deg); }
.photo-hero-controls button:hover { color: #b2c8ed; }
.photo-hero-controls [data-rotation]::before {
  content: "";
  width: 10px;
  height: 12px;
  border-inline: 3px solid currentColor;
}
.photo-hero-controls [data-rotation].is-paused::before {
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-right: 0;
  border-left: 9px solid currentColor;
}
.photo-hero-controls button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.review-band.review-section {
  --review-cut: clamp(15px, 3vw, 44px);
  position: relative;
  isolation: isolate;
  margin-block: 0;
  padding-block: calc(clamp(32px, 5vw, 64px) + var(--review-cut));
  color: #fff;
  background: #364866;
}
.review-band::before,
.review-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px 0 auto;
  height: var(--review-cut);
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.review-band::after {
  inset: auto 0 -1px;
  transform: rotate(180deg);
}
.review-band h2 { color: #fff; }
.review-band .reviews-head { align-items: end; }
.review-band .review-rating { background: none; border: 0; box-shadow: none; text-align: left; padding: 0; }
.review-band .review-rating a { display: grid; gap: 4px; color: #fff; }
.review-band .review-rating strong { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; }
.review-band .review-rating strong span { color: #e9cf94; }
.review-band .review-card { background: #273852; border-color: #8092ad; color: #fff; }
.review-band .review-card blockquote,
.review-band .review-person strong { color: #fff; }
.review-band .review-person span { color: #d4dfee; }
.review-band .review-quote-mark { display: block; font: 3.25rem/.68 Georgia, serif; color: #b2c8ed; }
@media (max-width: 820px) {
  .homepage .program-tile-photo[src$="zoe-34.webp"] { object-position: center top; }
  .photo-hero-layout { min-height: 0; padding-block: 24px calc(32px + var(--hero-cut)); }
  .photo-hero::before { display: none; }
  .photo-hero-images { position: relative; height: auto; aspect-ratio: 3 / 2; }
  .photo-hero-images img { object-position: center; }
  .photo-hero-images img:first-child { object-position: 64% center; }
  .photo-hero h1 { font-size: clamp(32px, 8.5vw, 46px); }
  .photo-hero-controls {
    position: relative;
    inset: auto;
    margin: 12px 20px 0;
  }
  .review-band .reviews-head { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-hero-images img { transition: none; }
}

.homepage .faq-contact a { text-decoration: underline; text-underline-offset: .16em; }

/* Keep the mobile trial introduction short; desktop retains supporting details. */
@media (max-width: 820px) {
  .homepage .capture-copy > :is(.capture-review, .capture-contact, .capture-first-visit) {
    display: none;
  }
  .homepage .capture-layout { gap: 20px; }
  .homepage .capture-copy > p:last-of-type { margin-bottom: 0; }
}

/* Show complete program photos on phones instead of shallow center crops. */
@media (max-width: 820px) {
  .homepage #programs .program-card:nth-child(n) .program-tile-photo {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
  }
}

/* Wide monitors get a bounded photo stage instead of an ever-growing crop. */
@media (min-width: 1440px) {
  .homepage .photo-hero-images {
    left: auto;
    right: max(0px, calc((100% - 1600px) / 2));
    width: min(68vw, 1100px);
  }
  .homepage .photo-hero-images img {
    object-fit: contain;
    object-position: right center;
  }
  .homepage .photo-hero .home-hero-copy { width: 660px; max-width: 100%; }
  .homepage .photo-hero h1 { font-size: 58px; }
}
