/* ============================================================
   Competition Zero Studios — dark cinematic theme
   ============================================================ */

:root {
  --bg: #070b12;
  --bg-soft: #0c1220;
  --panel: #101828;
  --ink: #eef4fb;
  --ink-dim: #a9b8cc;
  --blue: #2fb3ef;
  --blue-deep: #0f7fc0;
  --blue-glow: rgba(47, 179, 239, 0.35);
  --line: rgba(255, 255, 255, 0.09);
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 800;
}

h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); margin: 26px 0 20px; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }

.accent { color: var(--blue); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-lede {
  color: var(--ink-dim);
  font-size: 1.08rem;
  max-width: 640px;
  margin-bottom: 48px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #04121d;
  box-shadow: 0 8px 30px var(--blue-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 38px var(--blue-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-sm { padding: 10px 22px; font-size: 0.88rem; }
.btn-lg { padding: 17px 40px; font-size: 1.08rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(7, 11, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.nav.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-chip {
  display: inline-flex;
  background: #fff;
  border-radius: 10px;
  padding: 4px 8px;
  box-shadow: 0 0 18px var(--blue-glow);
}
.nav-logo-chip img { height: 34px; width: auto; }

.nav-wordmark { font-weight: 800; letter-spacing: 0.02em; font-size: 0.98rem; }
.nav-wordmark em { font-style: normal; color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--ink-dim);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.18s ease;
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active { color: var(--ink); }
.nav-links a:not(.btn).active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 140px 24px 100px;
  background:
    linear-gradient(180deg, rgba(4, 8, 14, 0.84) 0%, rgba(7, 11, 18, 0.6) 45%, rgba(7, 11, 18, 0.96) 100%),
    radial-gradient(1100px 520px at 50% -8%, rgba(47, 179, 239, 0.22), transparent 65%),
    url("assets/poster-wtf-vegas.jpg") center 22% / cover no-repeat,
    linear-gradient(180deg, #0a1120 0%, var(--bg) 70%);
  overflow: hidden;
}

.hero::before { /* letterbox bars */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0, transparent 90px),
    linear-gradient(0deg, rgba(0,0,0,0.55) 0, transparent 90px);
}

.hero-glow {
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,179,239,0.16), transparent 65%);
  filter: blur(10px);
  top: -140px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 860px; }

.hero-logo-plate {
  display: inline-block;
  background: #fff;
  border-radius: 22px;
  padding: 26px 40px;
  margin: 26px 0 8px;
  box-shadow: 0 0 70px var(--blue-glow), 0 24px 60px rgba(0,0,0,0.55);
}
.hero-logo-plate img { width: min(430px, 72vw); height: auto; }

.hero .lede {
  color: var(--ink-dim);
  font-size: 1.12rem;
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0.7;
}
.scroll-cue span {
  display: block;
  width: 26px; height: 42px;
  border: 2px solid var(--ink-dim);
  border-radius: 14px;
  position: relative;
}
.scroll-cue span::after {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--blue);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.35; }
}

/* ---------- Services ---------- */
#services { background: var(--bg-soft); border-top: 1px solid var(--line); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 179, 239, 0.45);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}
.card:hover::before { opacity: 1; }

.card-icon {
  font-size: 1.9rem;
  color: var(--blue);
  margin-bottom: 18px;
}

.card p { color: var(--ink-dim); margin-bottom: 20px; font-size: 0.98rem; }

.card ul { list-style: none; }
.card li {
  padding: 9px 0 9px 26px;
  position: relative;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink);
}
.card li::before {
  content: "▸";
  position: absolute;
  left: 4px;
  color: var(--blue);
  font-weight: 700;
}

/* ---------- Work ---------- */
.work {
  text-align: center;
  background:
    radial-gradient(900px 420px at 50% 110%, rgba(47, 179, 239, 0.14), transparent 65%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.work .section-lede { margin-left: auto; margin-right: auto; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
  text-align: left;
}
.video-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 179, 239, 0.45);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card figcaption {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.work-cta { margin-top: 12px; }
.channel-handle {
  margin-top: 18px;
  color: var(--ink-dim);
  font-weight: 700;
  letter-spacing: 0.14em;
}

/* ---------- About ---------- */
.about { background: var(--bg-soft); border-top: 1px solid var(--line); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 60px;
  align-items: center;
}

.about-logo {
  background: #fff;
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.about-logo img { width: 100%; height: auto; }

.about p { color: var(--ink-dim); margin-bottom: 18px; }
.about p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact {
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(800px 380px at 50% 0%, rgba(47, 179, 239, 0.12), transparent 65%),
    var(--bg);
}
.contact .section-lede { margin-left: auto; margin-right: auto; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  gap: 22px;
  justify-content: center;
  margin-bottom: 34px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 179, 239, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
}
.contact-value { font-size: 1.2rem; font-weight: 700; word-break: break-word; }
.placeholder-note {
  font-size: 0.82rem;
  color: var(--ink-dim);
  font-style: italic;
}

.contact-location { color: var(--ink-dim); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  background: #05080e;
  text-align: center;
}
.footer-brand { font-weight: 800; font-size: 1.05rem; }
.footer-brand em { font-style: normal; color: var(--blue); }
.footer-tag { color: var(--ink-dim); font-size: 0.9rem; margin: 8px 0 14px; }
.footer-copy { color: var(--ink-dim); font-size: 0.82rem; opacity: 0.75; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .video-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-logo { max-width: 460px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .section { padding: 80px 0; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 62px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 11, 18, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a:not(.btn) {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.02rem;
  }
  .nav-links .btn { margin-top: 16px; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .contact-cards { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto 34px; }
  .hero-logo-plate { padding: 20px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span::after { animation: none; }
}
