*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background: #0a0a0c;
  color: #f4f1ea;
  font-family: "Georgia", "Times New Roman", serif;
}

.pulse-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 80% at 50% 36%, rgba(240, 40, 55, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 110% 90% at 50% 115%, rgba(120, 0, 25, 0.42) 0%, transparent 48%),
    linear-gradient(185deg, rgba(55, 0, 12, 0.35) 0%, rgba(14, 0, 0, 0.55) 100%);
  opacity: 0.72;
  transform: scale(1);
  transform-origin: 50% 45%;
  transition:
    opacity 0.09s ease-out,
    transform 0.12s ease-out,
    filter 0.1s ease-out;
  filter: saturate(1.05) brightness(1);
  will-change: opacity, transform;
}

.pulse-backdrop--lub {
  opacity: 0.97;
  transform: scale(1.018);
  filter: saturate(1.35) brightness(1.18);
}

.pulse-backdrop--dub {
  opacity: 0.88;
  transform: scale(1.01);
  filter: saturate(1.25) brightness(1.1);
}

.site-logo {
  position: fixed;
  z-index: 2;
  top: max(0.75rem, env(safe-area-inset-top));
  left: max(0.75rem, env(safe-area-inset-left));
  display: block;
  line-height: 0;
  max-width: min(200px, 40vw);
}

.site-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0 max(0.25rem, 1vw) max(0, env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.page__mid {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 0 0.75rem;
  box-sizing: border-box;
}

.load-error {
  width: 100%;
  max-width: min(1500px, 99.5vw);
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.88rem;
  line-height: 1.4;
  font-family: system-ui, sans-serif;
  color: #f0e6d8;
  background: rgba(180, 60, 60, 0.35);
  border: 1px solid rgba(255, 120, 120, 0.35);
  border-radius: 8px;
  text-align: center;
}

.slider {
  width: 100%;
  max-width: min(1500px, 99.5vw);
  flex: 0 0 auto;
}

.slider__viewport {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.slider__video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease, background 0.25s ease;
}

.slider__dot--active {
  background: #c9a962;
  transform: scale(1.25);
}

.tagline-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: min(1500px, 99.5vw);
  margin: 0 auto;
  padding: 0.4rem max(0.5rem, 0.5vw) max(0.5rem, env(safe-area-inset-bottom));
  gap: 0.75rem 1.25rem;
  box-sizing: border-box;
  flex: 0 0 auto;
}

.tagline {
  text-align: left;
  max-width: min(36rem, 100%);
  margin: 0;
  flex: 1 1 10rem;
}

a.tagline-phrase {
  line-height: 0;
  flex: 0 0 auto;
  max-width: min(100%, 50vw, 32rem);
  margin: 0 0 0 auto;
  color: inherit;
  text-decoration: none;
}

.tagline-phrase__svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 24rem;
  margin-left: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

@media (max-width: 600px) {
  .tagline-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .tagline {
    text-align: center;
  }

  .tagline-phrase {
    max-width: min(100%, 100vw - 1.5rem);
    margin-left: 0;
  }

  .tagline-phrase__svg {
    max-width: 16rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.tagline__line {
  margin: 0;
  letter-spacing: 0.04em;
}

.tagline__line--accent {
  font-size: clamp(1.15rem, 3.5vw, 1.65rem);
  font-weight: 400;
  color: #e8e4dc;
  line-height: 1.45;
}

.tagline__line--soon {
  margin-top: 0.35rem;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #c9a962;
}

@media (prefers-reduced-motion: reduce) {
  .slider__dot {
    transition: none;
  }

  .pulse-backdrop {
    transition: opacity 0.2s ease;
  }

  .pulse-backdrop--lub,
  .pulse-backdrop--dub {
    transform: scale(1);
    filter: saturate(1.08) brightness(1.05);
  }
}
