:root {
  --background: #050505;
  --foreground: #f2f2f2;
  --accent: #ffd300;
  --muted: #8c8c8c;
  --max-width: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--background);
  color: var(--foreground);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  line-height: 1.5;
}

/* Vimeo showreel: https://vimeo.com/280705427 */
.video-hero {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--background);
}

.video-backdrop {
  position: absolute;
  inset: 0;
}

.video-backdrop iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-height: 100dvh;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0.55) 0%,
    rgba(5, 5, 5, 0.72) 45%,
    rgba(5, 5, 5, 0.88) 100%
  );
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem clamp(1.5rem, 4vw, 3rem);
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  width: auto;
  height: clamp(50px, 12.6vw, 92px);
  display: block;
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5.5rem, 14vw, 8rem) clamp(1.5rem, 5vw, 3rem) clamp(2.5rem, 8vw, 5rem);
  text-align: center;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  width: min(100%, var(--max-width));
  margin: auto 0;
}

.eyebrow {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow span {
  display: inline-block;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.headline {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  font-size: clamp(1.375rem, 5.5vw, 2.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.headline-line {
  display: block;
}

.headline-line.accent {
  color: var(--accent);
}

.tagline {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
}

.cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 1rem 2.5rem;
  background: var(--accent);
  color: #050505;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255, 211, 0, 0.28);
}

.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 0.25rem;
}

.secondary-link {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.secondary-link:hover {
  color: var(--foreground);
  opacity: 1;
}

.secondary-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.footer {
  width: 100%;
  padding-top: 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.lightbox-open {
  overflow: hidden;
}

/* Floating WhatsApp button (matches main site) */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 500;
  text-decoration: none;
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  background: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

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

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(5, 5, 5, 0.92);
  cursor: pointer;
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 72rem);
  animation: lightbox-in 0.35s ease;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.lightbox-close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--foreground);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  color: var(--accent);
  transform: scale(1.08);
}

.lightbox-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.lightbox-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 211, 0, 0.15);
}

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

@media (max-width: 768px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .eyebrow {
    letter-spacing: 0.28em;
  }

  .cta {
    width: 100%;
    max-width: 20rem;
  }
}

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

  body {
    background: var(--background);
  }

  .eyebrow span {
    animation: none;
  }

  .cta,
  .secondary-link,
  .whatsapp-float,
  .lightbox,
  .lightbox-close {
    transition: none;
  }

  .lightbox-panel {
    animation: none;
  }
}
