:root {
  --accent: #E4002B;
  --ink: #0B0B0B;
  --paper: #F4F1EA;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Hanken Grotesk', sans-serif;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes blurIn {
  from { opacity: 0; filter: blur(20px); }
  to   { opacity: 1; filter: blur(0); }
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes scanLoop {
  0%   { transform: translateY(-150px); }
  100% { transform: translateY(100vh); }
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  cursor: crosshair;
  --mx: 50%;
  --my: 50%;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(.5);
  animation: fadeIn 1.4s ease .2s both;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11,11,11,.82) 0%, rgba(11,11,11,.35) 55%, rgba(11,11,11,.7) 100%);
  pointer-events: none;
}

.hero__scan {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 12;
}
.hero__scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(228,0,43,0), rgba(228,0,43,.05) 65%, rgba(228,0,43,.15) 92%, rgba(228,0,43,.8));
  animation: scanLoop 4.4s linear infinite;
}
.hero__scan-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 24px 5px rgba(228,0,43,.6);
}

.hero__crosshair-h {
  position: absolute;
  left: 0;
  width: 100%;
  top: var(--my);
  height: 1px;
  background: rgba(228,0,43,.5);
  pointer-events: none;
  z-index: 6;
}
.hero__crosshair-v {
  position: absolute;
  top: 0;
  height: 100%;
  left: var(--mx);
  width: 1px;
  background: rgba(228,0,43,.5);
  pointer-events: none;
  z-index: 6;
}

.hero__lens {
  position: absolute;
  left: var(--mx);
  top: var(--my);
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(228,0,43,.9);
  backdrop-filter: invert(1) contrast(1.05);
  -webkit-backdrop-filter: invert(1) contrast(1.05);
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 10px 44px rgba(0,0,0,.6);
  pointer-events: none;
  z-index: 7;
}

.hero__corner {
  position: absolute;
  font-size: 12px;
  letter-spacing: .28em;
  color: rgba(244,241,234,.55);
  z-index: 9;
  animation: fadeIn 1s ease both;
}
.hero__corner--tl {
  top: 38px;
  left: 48px;
  animation-delay: 1.2s;
}
.hero__corner--tr {
  top: 38px;
  right: 48px;
  letter-spacing: .24em;
  text-align: right;
  animation-delay: 1.3s;
}

.hero__content {
  position: absolute;
  left: 56px;
  bottom: 70px;
  right: 48px;
  z-index: 9;
}

.hero__status {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  animation: fadeUp 1s ease .7s both;
}
.hero__status-dot {
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px 2px rgba(228,0,43,.8);
  animation: blink 1.4s steps(1) infinite;
}
.hero__status-label {
  font-size: 12px;
  letter-spacing: .4em;
  color: var(--accent);
}

.hero__title {
  margin: 0;
  font-weight: 200;
  font-size: clamp(48px, 11vw, 150px);
  line-height: .82;
  letter-spacing: -.02em;
  animation: blurIn 1.2s cubic-bezier(.16,1,.3,1) .4s both;
}
.hero__dot { color: var(--accent); }

.hero__coord {
  font-size: 13px;
  letter-spacing: .14em;
  font-variant-numeric: tabular-nums;
  color: rgba(244,241,234,.7);
  margin-top: 26px;
  animation: fadeIn 1s ease 1.4s both;
}

@media (max-width: 640px) {
  .hero__corner--tl, .hero__corner--tr { top: 22px; font-size: 10px; }
  .hero__corner--tl { left: 20px; }
  .hero__corner--tr { right: 20px; }
  .hero__content { left: 20px; right: 20px; bottom: 32px; }
  .hero__coord { font-size: 11px; }
}

@media (hover: none) {
  .hero__crosshair-h, .hero__crosshair-v, .hero__lens { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg, .hero__corner, .hero__status, .hero__title, .hero__coord {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
  }
  .hero__scan-line, .hero__status-dot {
    animation: none !important;
    opacity: 0 !important;
  }
}
