
:root {
  --bg: #050814;
  --bg-2: #090d1e;
  --text: #f7f8ff;
  --muted: rgba(236, 240, 255, 0.72);
  --line: rgba(255, 255, 255, 0.11);
  --glass: rgba(9, 12, 28, 0.28);
  --glass-2: rgba(255, 255, 255, 0.04);
  --magenta: #d84dff;
  --violet: #8e58ff;
  --blue: #2a7fff;
  --cyan: #6be7ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
  --rx: 0deg;
  --ry: 0deg;
  --shiftX: 0px;
  --shiftY: 0px;
  --drawer-open: 0;
}
* { box-sizing: border-box; }
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
}
html {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(216, 77, 255, 0.18), transparent 28%),
    radial-gradient(circle at 84% 14%, rgba(63, 175, 255, 0.16), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(88, 74, 255, 0.16), transparent 36%),
    linear-gradient(180deg, #050814 0%, #060816 45%, #090d1e 100%);
}
body {
  overflow: hidden;
  overscroll-behavior: none;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  position: relative;
  isolation: isolate;
  background: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  touch-action: manipulation;
}
canvas#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.screen-glow, .screen-glow::before, .screen-glow::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.screen-glow {
  background:
    radial-gradient(circle at 50% 54%, rgba(255,255,255,0.05), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent 30%, transparent 70%, rgba(255,255,255,0.02));
  mix-blend-mode: screen;
}
.screen-glow::before {
  content: "";
  background:
    radial-gradient(circle at 16% 78%, rgba(216, 77, 255, 0.12), transparent 22%),
    radial-gradient(circle at 84% 20%, rgba(85, 199, 255, 0.12), transparent 22%);
  filter: blur(26px);
  animation: driftGlow 14s ease-in-out infinite alternate;
}
.screen-glow::after {
  content: "";
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.035) 50%, transparent 100%);
  transform: translateX(-100%);
  opacity: 0.45;
  animation: sweep 12s linear infinite;
}
.noise {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.05;
  background-image:
    radial-gradient(rgba(255,255,255,0.9) 0.55px, transparent 0.55px),
    radial-gradient(rgba(255,255,255,0.42) 0.45px, transparent 0.45px);
  background-position: 0 0, 13px 17px;
  background-size: 22px 22px, 29px 29px;
  mix-blend-mode: soft-light;
}
.scanlines {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.08;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.028) 0px, rgba(255,255,255,0.028) 1px, transparent 2px, transparent 5px);
  mix-blend-mode: soft-light;
}
.skyline {
  position: fixed; left: 0; right: 0; bottom: 0; height: 26vh; min-height: 120px; z-index: 2; pointer-events: none; opacity: 0.5;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 50%, rgba(2, 4, 15, 0.72) 100%),
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 5%, transparent 10%, rgba(255,255,255,0.02) 15%, transparent 20%, rgba(255,255,255,0.025) 26%, transparent 30%, rgba(255,255,255,0.02) 38%, transparent 43%, rgba(255,255,255,0.04) 52%, transparent 58%, rgba(255,255,255,0.025) 64%, transparent 70%, rgba(255,255,255,0.03) 82%, transparent 88%, rgba(255,255,255,0.022) 96%, transparent 100%);
  clip-path: polygon(0% 100%, 0% 66%, 4% 66%, 4% 42%, 10% 42%, 10% 59%, 13% 59%, 13% 35%, 18% 35%, 18% 62%, 23% 62%, 23% 46%, 27% 46%, 27% 70%, 33% 70%, 33% 30%, 39% 30%, 39% 53%, 43% 53%, 43% 40%, 49% 40%, 49% 64%, 54% 64%, 54% 37%, 60% 37%, 60% 56%, 66% 56%, 66% 27%, 72% 27%, 72% 61%, 78% 61%, 78% 45%, 83% 45%, 83% 69%, 89% 69%, 89% 34%, 95% 34%, 95% 58%, 100% 58%, 100% 100%);
  box-shadow: 0 -18px 55px rgba(77, 89, 255, 0.12);
}
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(16px, env(safe-area-inset-top)) clamp(14px, 4vw, 28px) 10px; pointer-events: none;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; border-radius: 0;
  background: transparent; backdrop-filter: none; box-shadow: none;
  pointer-events: auto; transition: transform 260ms ease, opacity 260ms ease;
}
.brand:hover { transform: translateY(-1px); opacity: .92; }
.brand img { width: 28px; height: 28px; display: block; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(98, 144, 255, 0.28)); }
.brand strong { font-size: 0.84rem; letter-spacing: 0.18em; font-weight: 700; }
.status {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(8, 12, 30, 0.28); border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; backdrop-filter: blur(14px) saturate(135%); pointer-events: auto; white-space: nowrap;
}
.status .dot, .brand .dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(180deg, #79edff, #45a3ff); box-shadow: 0 0 0 0 rgba(85,199,255,.55); animation: pulseDot 2.2s infinite; flex: 0 0 auto; }
.hero {
  position: relative; z-index: 5; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 92px 16px 34px;
}
.content {
  width: min(100%, 1080px); display: grid; justify-items: center; text-align: center; gap: 14px;
  transform: perspective(1200px) translate3d(calc(var(--shiftX) * 0.15), calc(var(--shiftY) * 0.15), 0) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d; will-change: transform; opacity: 0; animation: heroReveal 1.2s cubic-bezier(.18,.8,.22,1) 120ms forwards;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; border-radius: 0; background: transparent;
  backdrop-filter: none; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(245,247,255,0.76); box-shadow: none;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 30px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.42), transparent); }
.title-wrap { position: relative; display: inline-grid; place-items: center; padding: 8px 0; }
.title-glow {
  position: absolute; inset: auto 50% -2%; width: min(92vw, 920px); height: clamp(120px, 30vw, 260px); transform: translateX(-50%);
  background: radial-gradient(circle at 22% 50%, rgba(216, 77, 255, 0.36), transparent 36%), radial-gradient(circle at 78% 42%, rgba(63, 175, 255, 0.32), transparent 36%), radial-gradient(circle at 50% 50%, rgba(129, 95, 255, 0.18), transparent 54%);
  filter: blur(46px); opacity: 0.85; animation: breathe 7s ease-in-out infinite; pointer-events: none; z-index: -1;
}
.title {
  margin: 0; line-height: 0.88; letter-spacing: -0.06em; font-size: clamp(4rem, 18vw, 10rem); font-weight: 900; text-transform: uppercase; user-select: none;
  display: flex; align-items: baseline; gap: 0.02em; flex-wrap: nowrap; text-shadow: 0 0 24px rgba(98,144,255,.2), 0 0 70px rgba(137,94,255,.18), 0 18px 50px rgba(0,0,0,.3);
}
.title span {
  display: inline-block; background: linear-gradient(135deg, #ff71f2 0%, #b24eff 32%, #7d69ff 55%, #4eb9ff 78%, #82efff 100%); background-size: 180% 180%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.28));
  animation: letterFloat 6.5s ease-in-out infinite, gradientShift 7s linear infinite;
}
.title span:nth-child(1) { animation-delay: 0s, 0s; }
.title span:nth-child(2) { animation-delay: 0.18s, 0.25s; }
.title span:nth-child(3) { animation-delay: 0.36s, 0.5s; }
.title span:nth-child(4) { animation-delay: 0.48s, 0.75s; margin: 0 0.05em; opacity: 0.8; }
.title span:nth-child(5) { animation-delay: 0.6s, 1s; }
.title span:nth-child(6) { animation-delay: 0.78s, 1.2s; }
.tagline {
  margin: 0; font-size: clamp(1.05rem, 4.2vw, 2rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; color: #f6f8ff; text-wrap: balance;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.34em; min-height: 2.4em;
}
.swap-shell { position: relative; display: inline-grid; min-width: 6.1ch; place-items: center; overflow: hidden; padding-inline: 0.08em; }
.swap-word {
  display: inline-block; background: linear-gradient(90deg, #f669ff 0%, #8b64ff 40%, #70dfff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  color: transparent; will-change: transform, opacity, filter; filter: drop-shadow(0 0 18px rgba(124, 146, 255, 0.18));
}
.swap-word.out { animation: wordOut 0.32s ease forwards; }
.swap-word.in { animation: wordIn 0.48s cubic-bezier(.22, 1, .36, 1) forwards; }
.accent-line { width: min(44vw, 250px); height: 2px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,0.08); position: relative; box-shadow: 0 0 0 1px rgba(255,255,255,0.02); }
.accent-line::before {
  content: ""; position: absolute; inset: 0; width: 42%; border-radius: inherit;
  background: linear-gradient(90deg, rgba(216,77,255,0), rgba(216,77,255,0.95), rgba(99,205,255,1), rgba(99,205,255,0)); filter: blur(0.4px); animation: lineTravel 3.8s cubic-bezier(.55,.08,.34,.96) infinite;
}
.orbital { position: absolute; inset: 50% auto auto 50%; width: min(86vw, 760px); height: min(86vw, 760px); transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; z-index: -1; }
.orbital::before, .orbital::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); opacity: 0.48; }
.orbital::before { transform: scale(0.78) rotate(12deg); animation: spin 16s linear infinite; }
.orbital::after { transform: scale(1.03) rotate(-18deg); animation: spinReverse 22s linear infinite; }
.cursor-bloom {
  position: fixed; left: 0; top: 0; width: 180px; height: 180px; border-radius: 50%; pointer-events: none; z-index: 4; transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, rgba(113,223,255,0.14) 0%, rgba(131,95,255,0.08) 35%, rgba(216,77,255,0.03) 58%, transparent 75%); filter: blur(10px); mix-blend-mode: screen; opacity: 0.88; will-change: transform;
}
.contact-drawer {
  position: fixed; left: 50%; bottom: max(8px, env(safe-area-inset-bottom)); width: min(calc(100vw - 12px), 920px); transform: translateX(-50%); z-index: 30; pointer-events: none;
}
.contact-drawer.is-open .drawer-pocket { opacity: .62; }
.drawer-pocket {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)), linear-gradient(180deg, rgba(5,8,18,.92), rgba(3,5,12,.99));
  box-shadow: 0 -10px 24px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.04); pointer-events: none; opacity: .9; transition: opacity .35s ease;
}
.contact-card {
  position: relative; width: 100%; pointer-events: auto; border: 1px solid rgba(255,255,255,.14); border-radius: 0; overflow: visible;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03)), linear-gradient(180deg, rgba(8,12,27,.68), rgba(7,10,22,.93));
  backdrop-filter: blur(18px) saturate(145%); -webkit-backdrop-filter: blur(18px) saturate(145%); box-shadow: 0 -18px 46px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.10), inset 0 -1px 0 rgba(255,255,255,.03);
  transform: translate3d(0,0,0); will-change: transform; touch-action: none;
}
.contact-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 18%, transparent 36%), linear-gradient(180deg, rgba(255,255,255,.05), transparent 24%); opacity: .66;
}
.contact-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.08) 45%, rgba(109,173,255,.09) 56%, transparent 100%);
  transform: translateX(calc(-135% + (var(--drawer-open) * 165%))); opacity: .4;
}
.drawer-tab {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, calc(-100% + 1px)); width: 112px; height: 28px; border: 1px solid rgba(255,255,255,.14); border-bottom: none; border-radius: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.03)), linear-gradient(180deg, rgba(10,14,28,.72), rgba(8,12,24,.92)); backdrop-filter: blur(16px) saturate(145%); -webkit-backdrop-filter: blur(16px) saturate(145%);
  box-shadow: 0 -8px 18px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.10); display: grid; place-items: center; cursor: grab; pointer-events: auto; touch-action: none; -webkit-tap-highlight-color: transparent;
}
.drawer-tab:active { cursor: grabbing; }
.drawer-tab::before, .drawer-tab::after {
  content: ""; position: absolute; top: calc(100% - 1px); width: 16px; height: 12px; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)), linear-gradient(180deg, rgba(5,8,18,.94), rgba(5,8,18,0)); pointer-events: none;
}
.drawer-tab::before { left: -1px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 14%); }
.drawer-tab::after { right: -1px; clip-path: polygon(0 0, 100% 0, 100% 14%, 0 100%); }
.drawer-grip { width: 34px; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,.82), rgba(255,255,255,.12)); box-shadow: 0 0 12px rgba(255,255,255,.14); }
.contact-card__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); position: relative; z-index: 1; }
.drawer-link {
  min-height: 88px; padding: 16px 20px 14px; display: flex; flex-direction: column; justify-content: center; gap: 5px; color: #fff; text-decoration: none; transition: background .28s ease, opacity .28s ease;
}
.drawer-link + .drawer-link { border-left: 1px solid rgba(255,255,255,.10); }
.drawer-link:hover, .drawer-link:focus-visible { background: rgba(255,255,255,.035); }
.drawer-link-label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.42); }
.drawer-link-email { font-size: clamp(18px, 2vw, 23px); line-height: 1.05; color: rgba(255,255,255,.98); }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(85,199,255,.44); } 70% { box-shadow: 0 0 0 10px rgba(85,199,255,0); } 100% { box-shadow: 0 0 0 0 rgba(85,199,255,0); } }
@keyframes heroReveal { 0% { opacity: 0; transform: perspective(1200px) translate3d(0, 24px, 0) scale(.985); filter: blur(10px);} 100% { opacity: 1; transform: perspective(1200px) translate3d(0,0,0) scale(1); filter: blur(0);} }
@keyframes letterFloat { 0%,100% { transform: translateY(0) rotate(.001deg);} 50% { transform: translateY(-8px) rotate(.001deg);} }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes breathe { 0%,100% { transform: translateX(-50%) scale(.98); opacity: .78; } 50% { transform: translateX(-50%) scale(1.04); opacity: .96; } }
@keyframes driftGlow { 0% { transform: translate3d(-1.5%, -1%, 0) scale(1); } 100% { transform: translate3d(1.5%, 1%, 0) scale(1.06);} }
@keyframes sweep { 0% { transform: translateX(-120%);} 100% { transform: translateX(120%);} }
@keyframes wordOut { from { transform: translateY(0); opacity: 1; filter: blur(0);} to { transform: translateY(-110%); opacity: 0; filter: blur(8px);} }
@keyframes wordIn { from { transform: translateY(110%); opacity: 0; filter: blur(8px);} to { transform: translateY(0); opacity: 1; filter: blur(0);} }
@keyframes lineTravel { 0% { transform: translateX(-130%);} 100% { transform: translateX(330%);} }
@keyframes spin { from { transform: scale(.78) rotate(12deg);} to { transform: scale(.78) rotate(372deg);} }
@keyframes spinReverse { from { transform: scale(1.03) rotate(-18deg);} to { transform: scale(1.03) rotate(-378deg);} }
@media (max-width: 740px) {
  .topbar { padding-inline: 12px; }
  .status { font-size: .68rem; letter-spacing: .1em; padding: 8px 10px; }
  .eyebrow::before, .eyebrow::after { width: 18px; }
}
@media (max-width: 520px) {
  .topbar { justify-content: center; }
  .status { display: none; }
  .hero { padding-top: 86px; }
  .content { gap: 12px; }
  .tagline { min-height: 2.2em; }
}
@media (max-width: 720px) {
  .contact-drawer { width: calc(100vw - 8px); bottom: max(4px, env(safe-area-inset-bottom)); }
  .drawer-pocket { height: 22px; }
  .drawer-tab { width: 100px; height: 26px; }
  .contact-card__inner { grid-template-columns: 1fr; }
  .drawer-link { min-height: 64px; padding: 12px 14px 11px; }
  .drawer-link + .drawer-link { border-left: none; border-top: 1px solid rgba(255,255,255,.10); }
  .drawer-link-email { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .cursor-bloom, canvas#scene, .scanlines { display: none; }
}


/* Sharp badges override for WAW.TV */
.logo-badge,
.brand-badge,
.site-badge,
.top-brand,
.nav-brand,
.hero-kicker,
.hero-pill,
.hero-badge,
.broadcast-badge,
.signal-badge,
.hero-label,
.eyebrow{
  border-radius: 0 !important;
}


/* Final UX polish */
.topbar{
  padding-bottom: 6px;
}
.brand strong{
  font-size: 0.84rem;
  letter-spacing: 0.20em;
}
.content{
  gap: 16px;
}
.tagline{
  min-height: 2.1em;
}
@media (max-width: 520px){
  .brand img{
    width: 30px;
    height: 30px;
  }
  .brand strong{
    font-size: 0.82rem;
    letter-spacing: 0.18em;
  }
  .eyebrow{
    font-size: 0.70rem;
    letter-spacing: 0.20em;
  }
  .eyebrow::before, .eyebrow::after{
    width: 22px;
  }
}



/* Scene lock / app-style stability */
html,
body{
  width:100%;
  height:100%;
  margin:0;
  overflow:hidden;
  overscroll-behavior:none;
  touch-action:none;
}

html{
  background:#050814;
}

body{
  position:fixed;
  inset:0;
  width:100vw;
  height:100dvh;
  min-height:100dvh;
  max-height:100dvh;
}

@supports (height: 100svh){
  body{
    height:100svh;
    min-height:100svh;
    max-height:100svh;
  }
}

body.is-drawer-dragging{
  touch-action:none;
}

main,
.hero,
.hero-stage,
.scene,
.scene-shell,
.page-shell,
.site-shell{
  max-width:100vw;
  overflow:hidden;
}

canvas{
  display:block;
}

.drawer,
.contact-drawer,
.drawer-tab,
.contact-card,
.drawer-link,
a,
button{
  touch-action:manipulation;
}

/* Prevent accidental page pan on iOS */
body::after{
  content:"";
  position:fixed;
  inset:auto 0 0 0;
  height:env(safe-area-inset-bottom);
  pointer-events:none;
}



/* No text selection / no iOS callout */
html,
body,
main,
.hero,
.hero-stage,
.scene,
.scene-shell,
.page-shell,
.site-shell,
.brand,
.eyebrow,
.word-rotator,
.tagline,
.title,
.subtitle,
.contact-drawer,
.contact-card,
.drawer-tab,
.drawer-link,
.drawer-link-label,
.drawer-link-email{
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

a,
button,
.drawer-link{
  -webkit-tap-highlight-color: transparent;
}

input,
textarea{
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
