/* Eyes of Media — Coming Soon
   Performance-first: no framework, no webfont dependency, no image-heavy hero.
*/

:root {
  --bg: #06080d;
  --bg-soft: #0a0e16;
  --text: #f5f7fb;
  --muted: rgba(231, 237, 248, .58);
  --line: rgba(255,255,255,.10);
  --cyan: #55d9ff;
  --violet: #8d7dff;
  --blue: #1778ff;
  --mx: 50%;
  --my: 50%;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(44, 83, 170, .08), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: Inter, Manrope, "DM Sans", "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

::selection {
  background: rgba(85, 217, 255, .22);
  color: white;
}

.site-shell {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.ambient,
.lens-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ambient { z-index: -4; }

.ambient__glow {
  position: absolute;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .16;
  will-change: transform;
}

.ambient__glow--a {
  left: -15rem;
  top: -14rem;
  background: var(--blue);
  animation: driftA 18s ease-in-out infinite alternate;
}

.ambient__glow--b {
  right: -18rem;
  bottom: -20rem;
  background: var(--violet);
  animation: driftB 22s ease-in-out infinite alternate;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 50%, black 15%, transparent 74%);
  opacity: .72;
}

.noise {
  position: absolute;
  inset: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.scanline {
  position: absolute;
  inset-inline: 0;
  height: 18vh;
  top: -22vh;
  opacity: .18;
  background: linear-gradient(to bottom, transparent, rgba(85,217,255,.08), transparent);
  animation: scan 10s linear infinite;
}

.lens-scene {
  z-index: -2;
  left: auto;
  top: 50%;
  right: clamp(-9rem, 2vw, 3rem);
  width: clamp(20rem, 43vw, 46rem);
  height: clamp(20rem, 43vw, 46rem);
  transform: translateY(-50%) translate3d(
    calc((var(--mx) - 50%) * .045),
    calc((var(--my) - 50%) * .045),
    0
  );
  transition: transform .18s ease-out;
  opacity: .9;
}

.lens,
.lens__core,
.lens__shine,
.orbital {
  position: absolute;
  border-radius: 50%;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.lens--outer {
  width: 90%;
  height: 90%;
  border: 1px solid rgba(157, 201, 255, .14);
  box-shadow:
    0 0 100px rgba(24, 120, 255, .08),
    inset 0 0 70px rgba(117, 117, 255, .03);
  animation: breathe 6s ease-in-out infinite alternate;
}

.lens--mid {
  width: 68%;
  height: 68%;
  border: 1px solid rgba(120, 222, 255, .20);
  box-shadow:
    inset 0 0 60px rgba(85,217,255,.03),
    0 0 40px rgba(91, 110, 255, .04);
}

.lens--inner {
  width: 43%;
  height: 43%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.12), transparent 22%),
    radial-gradient(circle at 52% 56%, rgba(85,217,255,.11), rgba(47,45,126,.13) 44%, rgba(1,3,8,.3) 72%);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 0 50px rgba(0,0,0,.65);
}

.lens__core {
  width: 13%;
  height: 13%;
  background:
    radial-gradient(circle at 40% 36%, white 0 3%, rgba(255,255,255,.8) 4%, rgba(85,217,255,.28) 12%, rgba(7,11,18,.95) 56%);
  box-shadow:
    0 0 26px rgba(85,217,255,.18),
    0 0 80px rgba(141,125,255,.08);
}

.lens__shine {
  width: 29%;
  height: 10%;
  top: 33%;
  left: 40%;
  transform: rotate(-24deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.11), transparent);
  filter: blur(12px);
}

.orbital {
  border: 1px solid rgba(255,255,255,.07);
}

.orbital--one {
  width: 106%;
  height: 106%;
  border-top-color: rgba(85,217,255,.35);
  border-right-color: transparent;
  animation: spin 18s linear infinite;
}

.orbital--two {
  width: 79%;
  height: 79%;
  border-left-color: rgba(141,125,255,.30);
  border-bottom-color: transparent;
  animation: spinReverse 14s linear infinite;
}

.topbar,
.footer {
  width: 100%;
  padding-inline: clamp(1.35rem, 4vw, 4.5rem);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: clamp(1.35rem, 3vw, 2.3rem);
  z-index: 2;
}

.brand {
  display: inline-flex;
  gap: .75rem;
  align-items: center;
  text-decoration: none;
  letter-spacing: .16em;
  font-weight: 700;
  font-size: .78rem;
}

.brand__mark {
  width: 1rem;
  height: 1rem;
  display: inline-block;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  position: relative;
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, white 0 8%, var(--cyan) 10%, transparent 55%);
  box-shadow: 0 0 10px rgba(85,217,255,.25);
}

.status {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255,255,255,.48);
  font-size: .65rem;
  letter-spacing: .16em;
}

.status__dot {
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(85,217,255,.65);
  animation: pulse 2.2s ease-in-out infinite;
}

.hero {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(13rem, .82fr);
  align-items: center;
  gap: 2rem;
  padding: clamp(4rem, 10vh, 8rem) clamp(1.35rem, 4vw, 4.5rem) clamp(3rem, 7vh, 6rem);
  min-height: 70svh;
  z-index: 1;
}

.hero__content {
  max-width: 58rem;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 1.3rem;
  color: rgba(203, 222, 250, .52);
  font-size: clamp(.68rem, .75vw, .82rem);
  font-weight: 650;
  letter-spacing: .19em;
}

.headline {
  margin: 0;
  font-size: clamp(3.35rem, 7.3vw, 8.4rem);
  line-height: .89;
  letter-spacing: -.062em;
  max-width: 10ch;
  font-weight: 690;
  text-wrap: balance;
}

.headline span {
  display: block;
  color: rgba(245,247,251,.72);
}

.support {
  margin-top: clamp(1.8rem, 3vw, 2.7rem);
  color: var(--muted);
  max-width: 35rem;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.7;
}

.support p { margin: 0; }

.signal {
  margin-top: 2.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.signal__line {
  width: clamp(3rem, 5vw, 5rem);
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(85,217,255,.04));
  box-shadow: 0 0 14px rgba(85,217,255,.18);
}

.signal__label {
  font-size: .68rem;
  letter-spacing: .24em;
  font-weight: 700;
  color: rgba(236,244,255,.72);
}

.hero__aside {
  align-self: end;
  justify-self: end;
  width: min(19rem, 100%);
  margin-bottom: 3.8rem;
}

.microcopy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: rgba(226,233,245,.5);
  font-size: .78rem;
  line-height: 1.7;
}

.microcopy__index {
  color: var(--cyan);
  font-size: .64rem;
  letter-spacing: .15em;
}

.microcopy p { margin: 0; }

.footer {
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 2;
}

.socials,
.footer__end {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.socials {
  justify-content: flex-start;
  gap: clamp(1rem, 2vw, 2rem);
  flex-wrap: wrap;
  padding-bottom: 1rem;
  color: rgba(255,255,255,.35);
  font-size: .72rem;
  letter-spacing: .08em;
}

.social--disabled {
  cursor: default;
  user-select: none;
}

.footer__end {
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
  gap: 1rem;
  color: rgba(255,255,255,.36);
  font-size: .72rem;
}

.footer__end strong {
  color: rgba(255,255,255,.72);
  font-weight: 600;
  letter-spacing: .05em;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal .9s cubic-bezier(.2,.72,.2,1) forwards;
}

.reveal--1 { animation-delay: .12s; }
.reveal--2 { animation-delay: .22s; }
.reveal--3 { animation-delay: .38s; }
.reveal--4 { animation-delay: .54s; }

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

@keyframes driftA {
  to { transform: translate(7rem, 5rem) scale(1.08); }
}

@keyframes driftB {
  to { transform: translate(-6rem, -4rem) scale(.92); }
}

@keyframes scan {
  to { transform: translateY(140vh); }
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spinReverse {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes breathe {
  to {
    transform: translate(-50%, -50%) scale(1.025);
    border-color: rgba(157,201,255,.24);
  }
}

@keyframes pulse {
  50% { opacity: .45; transform: scale(.78); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: center;
    padding-top: 4.5rem;
  }

  .hero__aside { display: none; }

  .lens-scene {
    width: 30rem;
    height: 30rem;
    right: -12rem;
    top: 47%;
    opacity: .62;
    animation: mobileFloat 9s ease-in-out infinite alternate;
  }

  .headline { max-width: 8.5ch; }
}

@media (max-width: 620px) {
  .site-shell { min-height: 100svh; }

  .topbar {
    padding-top: 1.2rem;
  }

  .status span:last-child { display: none; }

  .hero {
    padding-top: 4rem;
    padding-bottom: 2rem;
    min-height: 72svh;
  }

  .headline {
    font-size: clamp(3rem, 15vw, 5.4rem);
    line-height: .91;
    letter-spacing: -.06em;
  }

  .support {
    font-size: .96rem;
    max-width: 24rem;
  }

  .lens-scene {
    width: 25rem;
    height: 25rem;
    right: -13rem;
    top: 42%;
  }

  .footer__end {
    align-items: flex-end;
  }

  .footer__end strong {
    text-align: right;
  }
}

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

@keyframes mobileFloat {
  to { transform: translateY(-47%) translateX(-1.4rem) scale(1.035); }
}
