
/* ========================================
   Cinematic Teaser — Full Viewport
   ======================================== */

:root {
  --color-background: #111214;
  --color-video-surface: #292B2F;
  --color-text: #E8E6E1;

  --page-padding: 24px;
  --video-border-radius: 4px;

  /* Navbar palette */
  --color-pink: #EBA4B9;
  --color-yellow: #F4D35E;
  --color-green: #526B3F;
  --color-ink: #25231F;
}

/* Reset */
* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--color-background);
  color: var(--color-text);
}

/* Full viewport canvas */
.teaser {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: calc(100vh - 64px);
  height: calc(100dvh - 64px);

  padding: var(--page-padding);
  overflow: hidden;
}

/* Responsive video container */
.teaser__video {
  width: 100%;
  aspect-ratio: 16 / 9;

  /* Fit both viewport dimensions */
  max-width: calc((100dvh - 64px - 2 * var(--page-padding)) * 16 / 9);
  max-height: calc(100dvh - 64px - 2 * var(--page-padding));

  background-color: var(--color-video-surface);
  border-radius: var(--video-border-radius);
  overflow: hidden;
  flex-shrink: 0;
}

/* Embedded video */
.teaser__video iframe,
.teaser__video video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Smaller screens */
@media (max-width: 600px) {
  .teaser {
    padding: 16px;
  }

  .teaser__video {
    max-width: 100%;
    max-height: calc(100dvh - 32px);
  }
}

/* Navigation */
.navbar {
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;

  background-color: var(--color-pink);
  border-bottom: 3px solid var(--color-yellow);
}

.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 100%;

  font-family: "Special Elite", cursive;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;

  color: var(--color-ink);
  text-decoration: none;
}

.navbar__brand span {
  display: block;
  transform: translateY(2px);
}

.navbar__brand:hover {
  color: var(--color-green);
}

.navbar__brand:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 4px;
}

/* Logo */
.navbar__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 600px) {
  .navbar {
    padding: 0 16px;
  }

  .navbar__brand {
    font-size: 0.9rem;
    gap: 8px;
  }
}
