@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400&family=Manrope:wght@300;400;500;600&display=swap');

:root {
  color-scheme: dark;
  --ink: #f3f0ea;
  --muted: rgba(243, 240, 234, .55);
  --line: rgba(255, 255, 255, .12);
  --mx: 50%;
  --my: 50%;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; background: #050505; }

body {
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  overflow: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 35%, rgba(0,0,0,.55) 120%);
}

main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100svh;
  padding: clamp(24px, 3.2vw, 54px) clamp(24px, 5vw, 82px);
}

.topbar { display: flex; align-items: flex-start; justify-content: space-between; }

.brand { display: block; width: clamp(88px, 8vw, 128px); opacity: .92; }
.brand img { display: block; width: 100%; height: auto; }

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font: 300 10px/1 DM Mono, monospace;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.status__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e4a75c;
  box-shadow: 0 0 12px #e4a75c;
  animation: pulse 2.4s ease-in-out infinite;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding-top: 6vh;
}

.eyebrow {
  margin: 0 0 clamp(18px, 2.2vw, 34px);
  font: 300 clamp(9px, .75vw, 12px)/1 DM Mono, monospace;
  letter-spacing: .48em;
  text-transform: uppercase;
  color: rgba(255,255,255,.46);
}

h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(48px, 7.7vw, 130px);
  font-weight: 300;
  line-height: .94;
  letter-spacing: -.065em;
}

.cinematic {
  color: transparent;
  background: linear-gradient(100deg, #fff 4%, #b5b5b2 38%, #e6b36e 64%, #f3f0ea 88%);
  background-size: 220% auto;
  background-clip: text;
  -webkit-background-clip: text;
  animation: shimmer 8s ease-in-out infinite;
}

.footer-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-top: clamp(42px, 7vh, 90px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-line p { margin: 0; font-size: clamp(10px, .9vw, 13px); font-weight: 300; letter-spacing: .08em; }
.coordinates { font-family: DM Mono, monospace; font-size: 9px !important; letter-spacing: .14em !important; }

.scene, .scene > * { position: fixed; inset: 0; pointer-events: none; }
.scene { z-index: 0; overflow: hidden; background: #050505; }

.orb { filter: blur(80px); opacity: .16; mix-blend-mode: screen; will-change: transform; }
.orb--amber {
  inset: auto auto 5% -6%; width: 50vw; height: 50vw; border-radius: 50%;
  background: radial-gradient(circle, #ad5718 0, #562908 34%, transparent 68%);
  transform: translate(calc((var(--mx) - 50%) * .08), calc((var(--my) - 50%) * .08));
  animation: breathe 11s ease-in-out infinite alternate;
}
.orb--blue {
  inset: -28% -10% auto auto; width: 55vw; height: 55vw; border-radius: 50%;
  background: radial-gradient(circle, #31546e 0, #13222d 35%, transparent 70%);
  transform: translate(calc((var(--mx) - 50%) * -.06), calc((var(--my) - 50%) * -.06));
  animation: breathe 13s ease-in-out -4s infinite alternate-reverse;
}

.beam {
  inset: -40% auto auto 64%;
  width: 12vw; height: 180vh;
  background: linear-gradient(90deg, transparent, rgba(255,230,192,.025), transparent);
  transform: rotate(18deg);
  animation: sweep 14s ease-in-out infinite;
}

.focus-ring {
  inset: var(--my) auto auto var(--mx);
  width: 34vw; height: 34vw; min-width: 320px; min-height: 320px;
  border: 1px solid rgba(255,255,255,.025);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: inset .6s cubic-bezier(.2,.7,.2,1);
}
.focus-ring::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,.015); border-radius: inherit; }

.grain {
  opacity: .055;
  width: 300%; height: 300%; inset: -100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  animation: grain .22s steps(2) infinite;
}

.frame { position: fixed; left: 50%; z-index: 3; width: 1px; height: 22px; background: rgba(255,255,255,.24); }
.frame--top { top: 0; }
.frame--bottom { bottom: 0; }

.reveal { opacity: 0; transform: translateY(22px); animation: reveal 1.2s cubic-bezier(.2,.75,.2,1) .25s forwards; }
.reveal--delay { animation-delay: .45s; }
.reveal--last { animation-delay: .8s; }

@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 50% { opacity: .35; box-shadow: 0 0 4px #e4a75c; } }
@keyframes shimmer { 0%,100% { background-position: 100% 50%; } 50% { background-position: 0 50%; } }
@keyframes breathe { to { scale: 1.18; opacity: .23; } }
@keyframes sweep { 0%,20% { translate: -42vw 0; opacity: 0; } 45%,65% { opacity: 1; } 80%,100% { translate: 35vw 0; opacity: 0; } }
@keyframes grain { 0% { transform: translate(0,0); } 25% { transform: translate(3%,-4%); } 50% { transform: translate(-5%,2%); } 75% { transform: translate(4%,5%); } 100% { transform: translate(-3%,-2%); } }

@media (max-width: 620px) {
  main { padding: 24px 22px 30px; }
  .brand { width: 84px; }
  .status { font-size: 8px; letter-spacing: .16em; }
  .hero { padding-top: 4vh; }
  h1 { font-size: clamp(48px, 15vw, 76px); line-height: .98; }
  .footer-line { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 48px; }
  .footer-line p:first-child { max-width: 230px; line-height: 1.6; }
  .orb--amber { width: 100vw; height: 100vw; }
  .orb--blue { width: 120vw; height: 120vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .focus-ring { display: none; }
}
