/* ============================================================
   TOKENS
============================================================ */
:root {
  --bg: #0a0a0b;
  --bg-raised: #101012;
  --fg: #f2f2f0;
  --fg-muted: #8f8f92;
  --fg-faint: #4a4a4d;
  --line: #1c1c1f;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.25s;
  --duration-med: 0.6s;

  --section-pad: clamp(24px, 5vw, 64px);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 1px solid var(--fg);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   HERO / STATIC BACKGROUND IMAGE
============================================================ */
.hero {
  position: relative;
  height: 100vh;
}

.hero__bg-wrap {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7) contrast(1.08) saturate(0.92);
}

/* Radial vignette -- darkens the edges, pulls focus to center, reads as
   shot-on-camera rather than a flat color overlay. */
.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
}

/* Subtle film grain -- static (not animated) so it costs nothing on the
   main thread, just adds texture instead of a flat digital-looking video. */
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' fill='white'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* Tactical corner brackets -- a restrained nod to viewfinder/optics framing,
   not a full HUD (no reticle, no numbers, no crosshair). */
.hero__frame {
  position: absolute;
  inset: clamp(20px, 4vw, 44px);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  animation: bracketsIn 1.2s var(--ease) 0.15s forwards;
}

@keyframes bracketsIn {
  to {
    opacity: 1;
  }
}

.hero__bracket {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(242, 242, 240, 0.4);
}

.hero__bracket--tl {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.hero__bracket--tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.hero__bracket--bl {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.hero__bracket--br {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 11, 0.4) 0%,
    rgba(10, 10, 11, 0.22) 30%,
    rgba(10, 10, 11, 0.32) 65%,
    rgba(10, 10, 11, 0.8) 100%
  );
  pointer-events: none;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.55;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--fg) 0%, transparent 100%);
  animation: scrollPulse 2.2s var(--ease) infinite;
}

@keyframes scrollPulse {
  0% {
    transform: scaleY(0.3);
    transform-origin: top;
    opacity: 0.2;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 0.7;
  }
  100% {
    transform: scaleY(0.3);
    transform-origin: bottom;
    opacity: 0.2;
  }
}

/* ============================================================
   TITLE SECTION
============================================================ */
.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(26px, 4vw, 38px);
  padding: var(--section-pad);
  opacity: 0;
  transform: translateY(14px);
  animation: heroContentIn 1s var(--ease) 0.3s forwards;
}

@keyframes heroContentIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--fg);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   CTA
============================================================ */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: transform var(--duration-fast) var(--ease), background var(--duration-fast) var(--ease);
}

.cta:hover {
  background: #d8d8d5;
  transform: translateY(-2px);
}

.cta:active {
  transform: translateY(0);
}

/* ============================================================
   SOCIALS
============================================================ */
.socials {
  display: flex;
  align-items: center;
  gap: 28px;
}

.socials__link {
  color: var(--fg-muted);
  display: inline-flex;
  transition: color var(--duration-fast) var(--ease), transform var(--duration-fast) var(--ease);
}

.socials__link svg {
  width: 19px;
  height: 19px;
}

.socials__link:hover {
  color: var(--fg);
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  position: relative;
  z-index: 2;
  background: var(--bg);
  padding: 28px var(--section-pad) 36px;
  text-align: center;
}

.footer p {
  font-size: 0.78rem;
  color: var(--fg-faint);
  letter-spacing: 0.02em;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 720px) {
  .hero__heading {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .cta {
    padding: 15px 34px;
    width: 100%;
    max-width: 280px;
  }

  .socials {
    gap: 24px;
  }
}

