/* Complete homepage: approved hero/actions plus live feature, stats and support sections. */

.home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(620px, 72svh, 820px);
  align-items: center;
  justify-content: flex-start;
  padding: clamp(48px, 5vw, 86px) clamp(28px, 3.6vw, 58px);
  background-color: var(--nurture-white);
}

.home-hero__media {
  position: absolute;
  z-index: var(--nurture-layer-base);
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-hero__poster,
.home-hero__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero__poster {
  z-index: 0;
}

.home-hero__poster img,
.home-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 44%;
}

.home-hero__poster img {
  display: block;
}

.home-hero__video {
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  filter: none;
  mix-blend-mode: normal;
  transition: opacity 180ms ease, visibility 0s linear 180ms;
}

.home-hero__media.is-video-playing .home-hero__video {
  visibility: visible;
  opacity: 1;
  transition: opacity 180ms ease;
}

.home-hero::before {
  position: absolute;
  z-index: var(--nurture-layer-content);
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.96) 23%,
    rgba(255, 255, 255, 0.58) 38%,
    rgba(255, 255, 255, 0.1) 54%,
    rgba(255, 255, 255, 0) 68%
  );
  content: "";
  pointer-events: none;
}

.home-hero__copy {
  position: relative;
  z-index: 2;
  width: 40%;
  min-width: 420px;
  max-width: 590px;
}

.home-hero__sound-toggle {
  position: absolute;
  z-index: var(--nurture-layer-control);
  inset-block-end: 22px;
  inset-inline-end: clamp(20px, 2.5vw, 40px);
  display: inline-grid;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--nurture-radius-pill);
  background: rgba(82, 9, 13, 0.84);
  color: var(--nurture-white);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
}

.home-hero__sound-toggle svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.home-hero__sound-toggle:hover,
.home-hero__sound-toggle:focus-visible {
  border-color: var(--nurture-gold);
  background: var(--nurture-red);
  color: var(--nurture-white);
}

.home-hero__sound-toggle[hidden] {
  display: none;
}

.home-hero__brand {
  display: none;
}

.home-hero__brand-logo {
  display: block;
  width: clamp(70px, 5.6vw, 96px);
  height: auto;
  margin: 0 0 8px;
  object-fit: contain;
}

.home-hero__brand-name {
  max-width: 420px;
  color: var(--nurture-red);
  font-family: var(--nurture-font-body);
  font-size: 20px;
  font-weight: var(--nurture-weight-extrabold);
  letter-spacing: -0.3px;
  line-height: 1.15;
}

.home-hero__eyebrow {
  color: var(--nurture-gold);
  font-family: var(--nurture-font-eyebrow);
  font-size: clamp(36px, 3vw, 58px);
  font-weight: var(--nurture-weight-bold);
  letter-spacing: -1px;
  line-height: 0.95;
  text-transform: uppercase;
}

.home-hero__title {
  margin: 6px 0 0;
  color: var(--nurture-red);
  font-family: "Oswald", sans-serif;
  font-size: clamp(86px, 7vw, 144px);
  font-weight: var(--nurture-weight-bold);
  letter-spacing: -3px;
  line-height: 0.86;
  text-transform: uppercase;
}

.home-hero__title span {
  display: block;
}

.home-hero__divider {
  display: flex;
  max-width: 365px;
  align-items: center;
  gap: 8px;
  margin: 18px 0 20px;
}

.home-hero__divider-line {
  height: 1px;
  flex: 1;
  background: var(--nurture-red);
}

.home-hero__divider-dot {
  display: block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--nurture-gold);
}

.home-hero__description {
  max-width: 470px;
  color: var(--nurture-text);
  font-family: var(--nurture-font-body);
  font-size: clamp(16px, 1.2vw, 21px);
  font-weight: var(--nurture-weight-medium);
  line-height: 1.45;
}

.home-actions {
  padding: 22px clamp(28px, 3.6vw, 58px) 20px;
  background: var(--nurture-white);
}

.home-actions__grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  align-items: center;
  gap: 12px;
}

.home-action {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 18px;
  border: var(--nurture-border-width) solid transparent;
  border-radius: var(--nurture-radius-button);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: var(--nurture-weight-semibold);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--nurture-transition-interactive);
}

.home-action__leading,
.home-action__arrow {
  display: block;
  flex: 0 0 auto;
  fill: currentColor;
}

.home-action__leading {
  width: 18px;
  height: 18px;
}

.home-action__arrow {
  width: 22px;
  height: 22px;
}

.home-action--primary {
  border-color: var(--nurture-red);
  background: var(--nurture-red);
  color: var(--nurture-white);
}

a.home-action--primary:hover,
a.home-action--primary:focus-visible {
  border-color: var(--nurture-gold);
  background: var(--nurture-red);
  color: var(--nurture-white);
  box-shadow: var(--nurture-shadow-focus);
  transform: translateY(-1px);
}

.home-action--campus {
  border-color: var(--nurture-gold);
  background: rgba(255, 255, 255, 0.9);
  color: var(--nurture-red);
}

a.home-action--campus:hover,
a.home-action--campus:focus-visible {
  background: var(--nurture-cream);
  color: #650b10;
}

.home-action--light {
  border-color: var(--nurture-home-border);
  background: rgba(255, 255, 255, 0.98);
  color: var(--nurture-red);
}

.home-action--unresolved {
  cursor: default;
}

.home-features,
.home-stats,
.home-support {
  padding-inline: clamp(28px, 3.6vw, 58px);
}

.home-features__grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  border-radius: var(--nurture-radius-medium);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: var(--nurture-shadow-feature);
}

.home-feature {
  display: flex;
  min-width: 0;
  min-height: 170px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 14px 16px;
  background: var(--nurture-red);
  color: var(--nurture-white);
  text-align: center;
}

.home-feature__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  margin-block-end: 9px;
  fill: currentColor;
  color: var(--nurture-gold);
}

.home-feature__title {
  margin-block-end: 7px;
  color: var(--nurture-white);
  font-family: var(--nurture-font-body);
  font-size: clamp(14px, 1vw, 18px);
  font-weight: var(--nurture-weight-extrabold);
  line-height: 1.18;
}

.home-feature__text {
  color: var(--nurture-white);
  font-size: clamp(12px, 0.85vw, 15px);
  font-weight: var(--nurture-weight-regular);
  line-height: 1.42;
}

.home-feature__video {
  display: inline-flex;
  width: auto;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 11px auto 0;
  padding: 14px 22px;
  border: var(--nurture-border-width) solid rgba(255, 255, 255, 0.46);
  border-radius: var(--nurture-radius-pill);
  background: rgba(255, 255, 255, 0.16);
  color: var(--nurture-white);
  font-family: var(--nurture-font-body);
  font-size: 15px;
  font-weight: var(--nurture-weight-bold);
  line-height: 1;
  transition: var(--nurture-transition-interactive);
}

.home-feature__video svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: currentColor;
}

.home-feature__video span {
  color: var(--nurture-white);
  font-size: 12px;
  font-weight: var(--nurture-weight-semibold);
}

.home-feature__video:hover,
.home-feature__video:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.26);
  color: var(--nurture-white);
  transform: translateY(-1px);
}

.home-stats {
  padding-block-start: 18px;
}

.home-stats__grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: var(--nurture-radius-medium);
  background: var(--nurture-white);
  box-shadow: var(--nurture-shadow-surface);
}

.home-stat {
  display: grid;
  min-height: 82px;
  place-content: center;
  padding: 12px 16px;
  border-inline-end: var(--nurture-border-width) solid rgba(143, 18, 23, 0.22);
  text-align: center;
}

.home-stat:last-child {
  border-inline-end: 0;
}

.home-stat strong {
  color: var(--nurture-red);
  font-size: clamp(20px, 1.6vw, 30px);
  font-weight: var(--nurture-weight-extrabold);
  line-height: 1.05;
}

.home-stat span {
  color: var(--nurture-text);
  font-size: clamp(12px, 0.9vw, 15px);
  font-weight: var(--nurture-weight-semibold);
  line-height: 1.18;
}

.home-support {
  padding-block: 18px;
}

.home-support__grid {
  display: grid;
  min-height: 84px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  color: var(--nurture-text);
  font-size: clamp(15px, 1.18vw, 20px);
  text-align: center;
}

.home-support__item {
  display: flex;
  min-width: 0;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-inline-end: var(--nurture-border-width) solid rgba(143, 18, 23, 0.55);
}

.home-support__item:last-child {
  border-inline-end: 0;
}

.home-support__item svg {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  fill: currentColor;
  color: var(--nurture-red);
}

.home-support__item span {
  color: var(--nurture-text);
  font-weight: var(--nurture-weight-regular);
  line-height: 1.25;
}

.home-video-modal {
  padding: 24px;
}

.home-video-modal__panel {
  width: min(980px, 94vw);
  overflow: visible;
  border-radius: var(--nurture-radius-large);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.home-video-modal__frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--nurture-radius-large);
  background: var(--nurture-black);
}

.home-video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-video-modal__close {
  position: absolute;
  inset-block-start: -14px;
  inset-inline-end: -14px;
  z-index: var(--nurture-layer-control);
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: var(--nurture-border-width) solid rgba(0, 0, 0, 0.08);
  border-radius: var(--nurture-radius-pill);
  background: var(--nurture-white);
  color: var(--nurture-red);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  font-size: 30px;
  line-height: 1;
}

.home-video-modal__close:hover,
.home-video-modal__close:focus-visible {
  background: var(--nurture-cream);
  color: var(--nurture-red);
}

@media (max-width: 1240px) and (min-width: 768px) {
  .home-actions__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-action {
    min-height: 48px;
    padding-inline: 15px;
    font-size: 13px;
  }
}

@media (min-width: 1024.02px) {
  .home-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .home-hero__brand {
    display: flex;
    width: fit-content;
    flex-direction: column;
    align-items: center;
    margin: 0 0 clamp(18px, 1.5vw, 28px);
  }

  .home-hero__brand-logo {
    width: 150px;
    margin: 0 0 10px;
  }

  .home-hero__brand-name {
    max-width: 520px;
    text-align: center;
  }

  .home-hero__eyebrow,
  .home-hero__title {
    width: fit-content;
    text-align: center;
  }

  .home-hero__title span {
    text-align: center;
  }

  .home-hero__divider {
    margin-inline: auto;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .home-hero {
    min-height: 580px;
    background-position: right center;
  }

  .home-hero__video {
    object-position: right center;
  }

  .home-hero__copy {
    width: 46%;
    min-width: 320px;
    max-width: 460px;
  }

  .home-hero__title {
    font-size: clamp(66px, 9vw, 98px);
  }

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

  .home-feature {
    min-height: 150px;
    padding: 12px 10px;
  }
}

@media (max-width: 767.98px) {
  .home-hero {
    min-height: clamp(690px, 185vw, 790px);
    align-items: flex-start;
    padding: 24px 18px 0;
  }

  .home-hero::before {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.94) 28%,
      rgba(255, 255, 255, 0.42) 48%,
      rgba(255, 255, 255, 0.02) 70%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .home-hero__poster img,
  .home-hero__video {
    background: transparent;
    object-fit: contain;
    object-position: center bottom;
  }

  .home-hero__sound-toggle {
    inset-block-end: 14px;
    inset-inline-end: 14px;
    width: 42px;
    height: 42px;
  }

  .home-hero__copy {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .home-hero__eyebrow {
    font-size: clamp(28px, 7.8vw, 40px);
  }

  .home-hero__title {
    font-size: clamp(56px, 15vw, 82px);
    letter-spacing: -2px;
  }

  .home-hero__divider {
    max-width: 285px;
    margin-block: 8px;
  }

  .home-hero__description {
    max-width: 94%;
    font-size: clamp(12px, 3.2vw, 15px);
    line-height: 1.3;
  }

  .home-actions {
    padding: 16px 18px 14px;
  }

  .home-actions__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-action {
    min-height: 44px;
    padding-inline: 16px;
    border-radius: var(--nurture-radius-button-mobile);
    font-size: 14px;
  }

  .home-features,
  .home-stats,
  .home-support {
    padding-inline: 18px;
  }

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

  .home-feature {
    min-height: 148px;
    padding: 9px 6px;
  }

  .home-feature__icon {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
    margin-block-end: 5px;
  }

  .home-feature__title {
    margin-block-end: 4px;
    font-size: 10.5px;
    line-height: 1.08;
  }

  .home-feature__text {
    font-size: 8px;
    line-height: 1.18;
  }

  .home-feature__video {
    min-height: 28px;
    gap: 5px;
    margin-block-start: 7px;
    padding: 0 8px;
    font-size: 9px;
  }

  .home-feature__video svg {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
  }

  .home-feature__video span {
    font-size: 9px;
  }

  .home-stats {
    padding-block: 12px;
  }

  .home-stat {
    min-height: 70px;
    padding: 9px 6px;
  }

  .home-stat strong {
    font-size: 16px;
  }

  .home-stat span {
    font-size: 9px;
  }

  .home-support {
    padding-block: 0 24px;
  }

  .home-support__grid {
    overflow: hidden;
    min-height: auto;
    grid-template-columns: 1fr;
    border-radius: var(--nurture-radius-compact);
    background: var(--nurture-white);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    font-size: 13px;
    text-align: start;
  }

  .home-support__item {
    min-height: 48px;
    justify-content: flex-start;
    padding-inline: 14px;
    border-inline-end: 0;
    border-block-end: var(--nurture-border-width) solid rgba(143, 18, 23, 0.18);
  }

  .home-support__item:last-child {
    border-block-end: 0;
  }

  .home-support__item svg {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }

  .home-support__item span {
    font-size: 13px;
  }

  .home-video-modal {
    padding: 14px;
  }

  .home-video-modal__panel,
  .home-video-modal__frame {
    border-radius: var(--nurture-radius-compact);
  }

  .home-video-modal__close {
    inset-block-start: -10px;
    inset-inline-end: -8px;
    width: 36px;
    height: 36px;
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__video {
    display: none;
  }
}

@media (max-width: 390.98px) {
  .home-hero {
    min-height: clamp(680px, 188vw, 720px);
    padding-inline: 14px;
  }

  .home-hero__description {
    max-width: 96%;
    font-size: 11px;
  }

  .home-actions {
    padding-inline: 14px;
  }

  .home-features,
  .home-stats,
  .home-support {
    padding-inline: 14px;
  }

  .home-feature {
    min-height: 140px;
    padding: 8px 4px;
  }

  .home-feature__title {
    font-size: 9px;
  }

  .home-feature__text {
    font-size: 7.3px;
  }

  .home-feature__video {
    font-size: 8px;
  }

  .home-feature__video span {
    font-size: 8px;
  }
}
