/* LaserWaves: static landing site */

:root {
  --header-h: 4rem;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@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;
  }
}

body {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  padding: 0.5rem 1rem;
  background: #0f172a;
  color: #fff;
  border-radius: 6px;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo-mark {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  flex-shrink: 0;
}

/* Footer */

.site-footer {
  padding: 1.75rem 0 2rem;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

@media (min-width: 600px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-brand {
  margin: 0;
}

/* LaserWaves landing (retro arcade hero) */

body.lw {
  --lw-bg: #070b14;
  --lw-cyan: #5ce1ff;
  --lw-orange: #ff7a3a;
  --lw-text: #e2e8f0;
  --lw-muted: #94a3b8;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  color: var(--lw-text);
  background: var(--lw-bg);
}

body.lw .site-header {
  background: rgba(7, 11, 20, 0.88);
  border-bottom: 1px solid rgba(92, 225, 255, 0.22);
  backdrop-filter: blur(10px);
}

body.lw .logo {
  color: #f8fafc;
}

body.lw .logo:hover {
  color: var(--lw-cyan);
}

.lw-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #070b14;
  pointer-events: none;
}

.lw-page-bg picture,
.lw-page-bg-img {
  display: block;
  width: 100%;
  height: 100%;
}

.lw-page-bg-img {
  object-fit: cover;
  object-position: center top;
  image-rendering: pixelated;
}

.lw-scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.18) 2px,
    rgba(0, 0, 0, 0.18) 3px
  );
  mix-blend-mode: multiply;
  opacity: 0.28;
}

.lw-hero {
  position: relative;
  z-index: 3;
  isolation: isolate;
}

.lw-hero-inner {
  position: relative;
  z-index: 3;
  padding: clamp(1.25rem, 3vw, 2.25rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.lw-title {
  margin: 0 0 1.5rem;
}

.lw-header-art {
  display: block;
  width: 100%;
  max-width: 1232px;
  height: auto;
  margin-inline: auto;
  image-rendering: pixelated;
  border: 3px solid rgba(92, 225, 255, 0.4);
  box-shadow: 0 0 40px rgba(92, 225, 255, 0.16);
}

.lw-hero-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

@media (min-width: 900px) {
  .lw-hero-grid {
    grid-template-columns: minmax(280px, 36rem) minmax(240px, 1fr);
  }
}

.lw-copy {
  max-width: 40rem;
}

.lw-eyebrow {
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lw-cyan);
  text-shadow: 0 0 12px rgba(92, 225, 255, 0.45);
}

.lw-tagline {
  margin: 0 0 0.65rem;
  font-size: clamp(1.05rem, 2.6vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 16px rgba(92, 225, 255, 0.45), 0 0 28px rgba(255, 122, 58, 0.25);
}

.lw-platforms {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lw-orange);
  text-shadow: 0 0 10px rgba(255, 122, 58, 0.35);
}

.lw-blurb {
  margin: 0 0 1.15rem;
  color: var(--lw-text);
  font-size: 0.98rem;
  line-height: 1.6;
}

.lw-features {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.lw-features li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--lw-muted);
  font-size: 0.92rem;
}

.lw-features li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--lw-cyan);
  font-weight: 700;
}

.lw-demo-now {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lw-orange);
  text-shadow: 0 0 10px rgba(255, 122, 58, 0.35);
}

.lw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
}

.lw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #070b14;
  background: var(--lw-cyan);
  border: 3px solid #f8fafc;
  box-shadow: 4px 4px 0 #ff7a3a, 0 0 24px rgba(92, 225, 255, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.lw-btn:hover {
  color: #070b14;
  background: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #ff7a3a, 0 0 28px rgba(92, 225, 255, 0.5);
}

.lw-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  counter-reset: genre;
}

.lw-genres li {
  counter-increment: genre;
  padding: 0.28rem 0.6rem;
  border: 1px solid rgba(92, 225, 255, 0.45);
  color: var(--lw-cyan);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lw-genres li::before {
  content: counter(genre) ". ";
  color: var(--lw-orange);
}

.lw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lw-tags li {
  padding: 0.2rem 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lw-muted);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.lw-shot-slot {
  min-width: 0;
}

.lw-shots {
  display: grid;
  gap: 0.65rem;
}

.lw-shot-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 3px solid rgba(92, 225, 255, 0.4);
  background: #05070d;
  box-shadow: 0 0 28px rgba(92, 225, 255, 0.12);
}

.lw-shot-stage:hover {
  border-color: rgba(92, 225, 255, 0.75);
  box-shadow: 0 0 28px rgba(92, 225, 255, 0.28);
}

.lw-shot {
  margin: 0;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.lw-shot.is-active {
  opacity: 1;
  pointer-events: auto;
}

.lw-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.lw-shot-open picture {
  display: block;
  width: 100%;
  height: 100%;
}

.lw-shot-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.lw-shot-dot {
  width: 0.7rem;
  height: 0.7rem;
  padding: 0;
  border: 2px solid var(--lw-cyan);
  background: transparent;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(92, 225, 255, 0.25);
}

.lw-shot-dot.is-active {
  background: var(--lw-cyan);
  box-shadow: 0 0 10px rgba(92, 225, 255, 0.65);
}

.lw-shot-open {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.lw-shot-open:focus-visible {
  outline: 2px solid var(--lw-cyan);
  outline-offset: -2px;
}

.lw-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 1.25rem;
  border: 0;
  background: transparent;
  color: var(--lw-text);
  font-family: inherit;
}

.lw-lightbox[open] {
  display: grid;
  place-items: center;
}

body.lw-lightbox-open {
  overflow: hidden;
}

.lw-lightbox::backdrop {
  background: rgba(7, 11, 20, 0.92);
}

.lw-lightbox-inner {
  position: relative;
  display: grid;
  gap: 0.75rem;
  width: min(96vw, 1280px);
  margin: auto;
  padding: 0.9rem 0.9rem 1rem;
  border: 3px solid rgba(92, 225, 255, 0.5);
  background: #05070d;
  box-shadow: 0 0 40px rgba(92, 225, 255, 0.2), 6px 6px 0 #ff7a3a;
}

.lw-lightbox-close,
.lw-lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #070b14;
  border: 3px solid #f8fafc;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.lw-lightbox-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.95rem;
  background: var(--lw-orange);
  box-shadow: 3px 3px 0 var(--lw-cyan);
}

.lw-lightbox-close:hover,
.lw-lightbox-nav:hover {
  background: #fff;
}

.lw-lightbox-close:focus-visible,
.lw-lightbox-nav:focus-visible {
  outline: 2px solid var(--lw-cyan);
  outline-offset: 2px;
}

.lw-lightbox-stage {
  position: relative;
}

.lw-lightbox-frame {
  margin: 0;
  overflow: hidden;
  border: 3px solid rgba(92, 225, 255, 0.4);
  background: #05070d;
}

.lw-lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 720px);
  object-fit: contain;
  image-rendering: pixelated;
}

.lw-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.35rem;
  line-height: 1;
  background: var(--lw-cyan);
  box-shadow: 3px 3px 0 #ff7a3a;
  transform: translateY(-50%);
}

.lw-lightbox-prev {
  left: 0.55rem;
}

.lw-lightbox-next {
  right: 0.55rem;
}

.lw-lightbox-dots {
  padding-top: 0.15rem;
}

.lw-trailer {
  position: relative;
  z-index: 3;
  padding: 0 0 clamp(3rem, 7vw, 4.5rem);
}

.lw-section-title {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lw-orange);
}

.lw-section-subtitle {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lw-muted);
}

.lw-trailer-frame {
  position: relative;
  max-width: 960px;
  overflow: hidden;
  border: 3px solid rgba(255, 122, 58, 0.45);
  background: #05070d;
  box-shadow: 0 0 40px rgba(255, 122, 58, 0.12);
}

.lw-trailer-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #05070d;
}

body.lw .site-footer,
.lw-footer {
  position: relative;
  z-index: 3;
  background: rgba(5, 7, 13, 0.72);
  color: var(--lw-muted);
  border-top: 1px solid rgba(92, 225, 255, 0.18);
}

body.lw .footer-brand {
  color: #e2e8f0;
}

@media (prefers-reduced-motion: reduce) {
  .lw-btn {
    transition: none;
  }

  .lw-shot {
    transition: none;
  }

  .lw-lightbox-close,
  .lw-lightbox-nav {
    transition: none;
  }

  .lw-scanlines {
    opacity: 0.25;
  }
}
