/* Host an Event — Ocean Cleanup–style interior hero */

html.page-host-event-root {
  background: var(--nav-solid);
}

body.page-host-event {
  background: #ffffff;
}

body.page-host-event .site-main {
  padding-top: 0;
}

.page-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: clamp(5.5rem, 12vh, 7.5rem) clamp(1.5rem, 5vw, 4.5rem) clamp(22vh, 32vh, 38vh);
  overflow: hidden;
  background: var(--nav-solid);
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.page-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(13, 31, 23, 0.72) 0%,
      rgba(13, 31, 23, 0.28) 38%,
      transparent 58%
    ),
    linear-gradient(
      to top,
      rgba(13, 31, 23, 0.96) 0%,
      rgba(13, 31, 23, 0.78) 24%,
      rgba(27, 67, 50, 0.45) 48%,
      rgba(27, 67, 50, 0.12) 72%,
      rgba(13, 31, 23, 0.2) 100%
    );
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}

.page-hero__kicker {
  margin: 0 0 0.85rem;
  font-size: clamp(0.75rem, 1.25vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.page-hero__rule {
  display: block;
  width: min(12rem, 28vw);
  height: 2px;
  margin: 0 0 1.35rem;
  background: rgba(255, 255, 255, 0.85);
}

.page-hero__title {
  margin: 0 0 0.65rem;
  max-width: 16ch;
  font-size: clamp(2.25rem, 5.8vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--white);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.page-hero__deck {
  margin: 0 0 1.75rem;
  max-width: 22ch;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.page-hero__scroll-hint {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
  color: var(--accent);
  text-decoration: none;
  animation: hero-scroll-bounce 2s ease-in-out infinite;
}

.page-hero__scroll-arrow {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

@keyframes hero-scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.85;
  }

  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

.page-hero__watch {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--accent);
  font-family: inherit;
  font-size: clamp(1.05rem, 1.9vw, 1.28rem);
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-hero__watch:hover {
  opacity: 0.92;
  transform: translateX(2px);
}

.page-hero__watch:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.page-hero__watch-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.page-hero__watch-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  margin-left: 2px;
}

/* Intro — single card, links overlaid on the right */

.host-intro {
  position: relative;
  overflow: visible;
  padding: clamp(3rem, 7vw, 5rem) clamp(2rem, 6vw, 4rem) clamp(4rem, 8vw, 5.5rem);
  background: linear-gradient(180deg, #e8f3ec 0%, #f6fbf8 40%, #ffffff 100%);
  border-top: 1px solid rgba(45, 106, 79, 0.08);
}

.host-intro__inner {
  max-width: 76rem;
  margin: 0;
  padding-left: clamp(0.5rem, 3vw, 2.5rem);
  padding-right: clamp(4rem, 14vw, 9rem);
  overflow: visible;
}

.host-intro__card {
  position: relative;
  max-width: min(64rem, 100%);
  overflow: visible;
}

.host-intro__card .host-panel::before {
  z-index: 0;
}

.host-panel {
  position: relative;
}

.host-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(45, 106, 79, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 44px rgba(27, 67, 50, 0.08);
  backdrop-filter: blur(8px);
}

.host-panel__accent {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--primary) 70%, var(--nav-solid));
  border-radius: 2px 0 0 2px;
}

.host-panel__corner--tl {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  pointer-events: none;
}

.host-panel__rule--title {
  position: absolute;
  top: 2.35rem;
  left: 1.75rem;
  z-index: 2;
  width: 3rem;
  height: 2px;
  background: var(--accent);
  pointer-events: none;
}

.host-intro__card-layout {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.75rem, 3.5vw, 2.5rem);
}

.host-intro__copy {
  position: relative;
  z-index: 2;
  max-width: calc(100% - 10.5rem);
  padding-right: 0.5rem;
}

.host-intro__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.host-intro__title {
  margin: 0 0 1.25rem;
  padding-top: 0.25rem;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #1b4332;
}

.host-intro__text {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 1.55vw, 1.125rem);
  line-height: 1.75;
  color: #4a5568;
}

.host-intro__text:last-child {
  margin-bottom: 0;
}

.host-intro__actions {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: min(15.5rem, 30vw);
  margin: 0;
  padding: 0;
  transform: translate(50%, -50%);
  pointer-events: auto;
}

.host-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.75rem;
  padding: 1rem 1.35rem;
  border-radius: 4px;
  background: var(--primary);
  border: 2px solid var(--primary);
  color: var(--white);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(45, 106, 79, 0.28);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.host-btn:hover {
  background: var(--nav-solid);
  border-color: var(--nav-solid);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(27, 67, 50, 0.32);
}

.host-btn--alt {
  background: var(--nav-solid);
  border-color: var(--nav-solid);
}

.host-btn--alt:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.host-btn--featured {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--nav-solid);
  box-shadow: 0 10px 28px rgba(82, 183, 136, 0.45);
}

.host-btn--featured:hover {
  background: #74c69d;
  border-color: #74c69d;
  color: var(--nav-solid);
}

.host-btn--xl {
  min-height: 4.25rem;
  padding: 1.15rem 2rem;
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  white-space: nowrap;
}

.host-btn--ghost {
  background: transparent;
  border-color: rgba(45, 106, 79, 0.45);
  color: var(--nav-solid);
  box-shadow: none;
}

.host-btn--ghost:hover {
  background: rgba(45, 106, 79, 0.08);
  border-color: var(--primary);
  color: var(--primary);
}

/* Interest form CTA band */

.host-cta-band {
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, var(--nav-solid) 0%, var(--primary) 100%);
  color: var(--white);
}

.host-cta-band__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding-left: clamp(0.5rem, 3vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem 2rem;
}

.host-cta-band__copy {
  flex: 1 1 20rem;
  max-width: 40rem;
}

.host-cta-band__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.host-cta-band__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.host-cta-band__text {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

/* Training course modules */

.host-modules {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, #ffffff 0%, #f4faf7 100%);
}

.host-modules__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding-left: clamp(0.5rem, 3vw, 2.5rem);
}

.host-modules__intro {
  position: relative;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
  overflow: hidden;
}

.host-modules__intro::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 2px;
  background: rgba(216, 243, 220, 0.55);
  border: 1px solid rgba(45, 106, 79, 0.16);
}

.host-modules__intro > * {
  position: relative;
  z-index: 1;
}

.host-modules__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: var(--nav-solid);
  letter-spacing: -0.02em;
}

.host-modules__lede {
  margin: 0 0 1.25rem;
  max-width: 52rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.host-modules__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(45, 106, 79, 0.14);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.host-modules__hint-icon {
  display: inline-flex;
  color: var(--accent);
}

.host-modules__hint-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.host-modules__timeline {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  --host-label-col: clamp(6.5rem, 11vw, 8.5rem);
  --host-line-offset: calc(var(--host-label-col) + 1.5rem);
}

.host-modules__timeline::before {
  content: '';
  position: absolute;
  left: var(--host-line-offset);
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(82, 183, 136, 0.35) 100%);
  border-radius: 2px;
}

.host-modules__phase {
  display: grid;
  grid-template-columns: var(--host-label-col) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 2.75rem);
  align-items: start;
}

.host-modules__phase-head {
  position: sticky;
  top: 6rem;
  padding-top: 0.35rem;
  padding-right: 1.5rem;
  max-width: var(--host-label-col);
  text-align: left;
  box-sizing: border-box;
}

.host-modules__phase-name {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nav-solid);
}

.host-modules__phase-rule {
  display: block;
  width: 3.5rem;
  height: 3px;
  margin: 0.45rem 0 0.35rem;
  background: var(--accent);
}

.host-modules__phase-season {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.host-modules__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.15rem);
  padding-left: 0.5rem;
}

.host-module-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: clamp(1.15rem, 2.5vw, 1.45rem);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: linear-gradient(145deg, var(--primary) 0%, #2d6a4f 55%, var(--nav-solid) 100%);
  color: var(--white);
  text-align: left;
  box-shadow: 0 14px 32px rgba(27, 67, 50, 0.18);
}

.host-module-card__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.host-module-card__title {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.2;
}

.host-module-card__teaser {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.host-modules__note {
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.host-modules__note a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Module detail modal */

.host-module-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.host-module-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.host-module-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 14, 0.72);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.host-module-modal__panel {
  position: relative;
  z-index: 1;
  width: min(36rem, 100%);
  max-height: min(85vh, 32rem);
  overflow: auto;
  padding: clamp(1.75rem, 4vw, 2.25rem);
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(45, 106, 79, 0.12);
  box-shadow: 0 28px 64px rgba(8, 18, 14, 0.28);
}

.host-module-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.5rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.host-module-modal__close:hover {
  color: var(--nav-solid);
}

.host-module-modal__phase {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.host-module-modal__body h2 {
  margin: 0 0 1rem;
  padding-right: 3rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--nav-solid);
}

.host-module-modal__body p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-muted);
}

body.host-module-modal-open {
  overflow: hidden;
}

/* Video block */

.host-video-block {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
  background: #eef6f1;
  border-top: 1px solid rgba(45, 106, 79, 0.1);
  border-bottom: 1px solid rgba(45, 106, 79, 0.1);
}

.host-video-block__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding-left: clamp(0.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 42%);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.host-video-block__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--nav-solid);
}

.host-video-block__copy p {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.host-video-block__play {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--primary);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
}

.host-video-block__play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--nav-solid);
}

.host-video-block__play-icon svg {
  width: 1rem;
  height: 1rem;
  margin-left: 2px;
}

.host-video-block__thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(27, 67, 50, 0.15);
}

.host-video-block__thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.host-video-block__thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 31, 23, 0.35);
  color: var(--white);
  transition: background 0.2s ease;
}

.host-video-block__thumb:hover .host-video-block__thumb-play {
  background: rgba(13, 31, 23, 0.5);
}

.host-video-block__thumb-play svg {
  width: 3.5rem;
  height: 3.5rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

/* FAQ */

.host-faq {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(4rem, 9vw, 6rem);
  background: #ffffff;
}

.host-faq__inner {
  max-width: 48rem;
  margin: 0 auto;
  padding-left: clamp(0.5rem, 3vw, 2.5rem);
  padding-right: clamp(0.5rem, 3vw, 2.5rem);
}

.host-faq__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: var(--nav-solid);
}

.host-faq__lede {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.host-faq__item {
  border-bottom: 1px solid rgba(45, 106, 79, 0.15);
}

.host-faq__item summary {
  padding: 1.15rem 2rem 1.15rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--nav-solid);
  cursor: pointer;
  list-style: none;
}

.host-faq__item summary::-webkit-details-marker {
  display: none;
}

.host-faq__item summary::after {
  content: '+';
  float: right;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--primary);
  line-height: 1;
}

.host-faq__item[open] summary::after {
  content: '−';
}

.host-faq__item:last-of-type {
  border-bottom: none;
}

.host-faq__item p {
  margin: 0 0 1.25rem;
  padding-right: 1rem;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.host-faq__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(45, 106, 79, 0.12);
}

.host-faq__cta p {
  margin: 0;
  flex: 1 1 100%;
  font-weight: 700;
  color: var(--nav-solid);
}

.host-btn--ghost-dark {
  background: transparent;
  border-color: rgba(45, 106, 79, 0.4);
  color: var(--nav-solid);
  box-shadow: none;
}

.host-btn--ghost-dark:hover {
  background: rgba(45, 106, 79, 0.08);
  border-color: var(--primary);
}

/* Full-page video modal (below navbar) */

.video-modal {
  position: fixed;
  inset: 4.5rem 0 0;
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 14, 0.94);
  cursor: pointer;
}

.video-modal__panel {
  position: relative;
  z-index: 1;
  width: min(72rem, 100%);
  max-height: 100%;
}

.video-modal__close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.video-modal__close:hover {
  color: var(--white);
}

.video-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  background: #000;
}

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

body.video-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .host-modules__phase {
    grid-template-columns: 1fr;
  }

  .host-modules__timeline::before {
    display: none;
  }

  .host-modules__phase-head {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
  }

  .host-modules__phase-rule {
    flex: 1;
    max-width: none;
    margin: 0;
    height: 2px;
  }

  .host-modules__cards {
    padding-left: 0;
    grid-template-columns: 1fr;
  }

  .host-video-block__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .host-intro__inner {
    padding-right: clamp(0.5rem, 3vw, 2.5rem);
  }

  .host-intro__copy {
    max-width: 100%;
  }

  .host-intro__card-layout {
    padding-bottom: 0.5rem;
  }

  .host-intro__actions {
    position: static;
    width: 100%;
    max-width: 20rem;
    margin-top: 1.75rem;
    transform: none;
  }

  .host-cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .host-btn--xl {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding-bottom: clamp(16vh, 22vh, 26vh);
  }

  .page-hero__title,
  .page-hero__deck {
    max-width: 100%;
  }

  .video-modal__close {
    top: -2.25rem;
    right: 0.25rem;
  }
}
