/* Hero Slider */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

/* hero-1 is a portrait (vertical river) frame: bias the cover crop downward so
   the ship stays fully visible above the headline on wide screens. */
.hero__slide--portrait {
  object-position: center 70%;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 16px;
}

.hero__controls {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border: 1px solid var(--text);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease;
}

.hero__dot.is-active {
  background: var(--text);
}

.hero__pause {
  width: 32px;
  height: 32px;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.3s ease;
}

.hero__pause::before {
  content: '❚ ❚';
  font-size: 12px;
  letter-spacing: 2px;
}

.hero__pause[aria-pressed="true"]::before {
  content: '▶';
  margin-left: 2px;
}

/* Teaser Sections */

.teaser .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
}

.teaser--reverse .container {
  grid-auto-flow: dense;
}

.teaser--reverse .container img {
  grid-column: 2;
}

.teaser--reverse .container > div {
  grid-column: 1;
}

.teaser img {
  width: 100%;
  height: auto;
  display: block;
}

.teaser h2 {
  margin-bottom: 24px;
}

.teaser p {
  margin-bottom: 24px;
}

@media (max-width: 767px) {
  .teaser .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .teaser--reverse .container {
    grid-auto-flow: unset;
  }

  .teaser--reverse .container img {
    grid-column: auto;
    order: -1;
  }

  .teaser--reverse .container > div {
    grid-column: auto;
    order: 0;
  }

}
