:root {
  --bg: #050509;
  --bg-elevated: #101018;
  --bg-soft: #181824;
  --accent: #ff3b8d;
  --accent-soft: rgba(255, 59, 141, 0.18);
  --accent-2: #4fd1ff;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.7);
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top left, #141427 0, #050509 50%);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Page fade-in */
body {
  min-height: 100vh;
  opacity: 0;
  animation: fadeInPage 0.7s ease-out forwards;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* HEADER / NAV */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5vw;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 12, 0.96),
    rgba(5, 5, 12, 0.7),
    transparent
  );
  border-bottom: 1px solid var(--border-subtle);
}

.logo a {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.site-nav a {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 500;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.18s ease-out;
}

.site-nav a:hover::after,
.site-nav a.is-current::after {
  width: 100%;
}

.site-nav a.is-current {
  color: var(--text);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.2rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 3rem;
  padding: 6rem 5vw 4rem;
  align-items: center;
}

.hero__content {
  max-width: 540px;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0 0 0.8rem;
}

.hero__title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero__title-highlight {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text {
  color: var(--muted);
  max-width: 30rem;
  margin: 0 0 1.8rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.1s ease,
    box-shadow 0.16s ease, border-color 0.16s ease;
}

.btn--primary {
  background: radial-gradient(circle at top left, var(--accent-2), var(--accent));
  color: #050509;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.85);
}

.btn--ghost {
  background: rgba(15, 15, 28, 0.8);
  border-color: var(--border-subtle);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(24, 24, 43, 0.9);
}

/* Hero preview cards */

.hero__preview {
  position: relative;
  display: grid;
  gap: 1.5rem;
}

.hero-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at top, var(--accent-soft), #050509);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

/* base hero image */
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(0);
  transition: transform 0.3s ease-out;
}

/* parallax-style hover */
.hero-card:hover img {
  transform: translateY(-6px);
}

.hero-card--primary {
  min-height: 260px;
}

.hero-card--secondary {
  min-height: 190px;
  opacity: 0.9;
  transform: translateX(12%) translateY(-6%);
}

/* Strips */

.strip {
  padding: 1rem 5vw 3rem;
}

.strip__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.strip__header h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.strip__link {
  font-size: 0.85rem;
  color: var(--muted);
}

.strip__link:hover {
  color: var(--accent);
}

/* Grids & gallery */

.grid--strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
}

.grid__item,
.gallery__img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: #050509;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  min-height: 140px;
}

.grid__item img,
.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

/* base hover zoom; glow added later */
.grid__item:hover img,
.gallery__img:hover {
  transform: scale(1.04);
  opacity: 0.96;
}

/* Page layout */

.page {
  padding: 4.5rem 5vw 3rem;
}

.page--narrow {
  max-width: 720px;
  margin-inline: auto;
}

.page-head {
  max-width: 640px;
  margin: 0 0 2rem;
}

.page-head h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.page-head p {
  color: var(--muted);
}

/* Gallery full-page */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

/* Text block */

.text-block p {
  line-height: 1.7;
  color: var(--muted);
}

.text-block p + p {
  margin-top: 1rem;
}

.list {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
}

.list li + li {
  margin-top: 0.5rem;
}

.list a {
  color: var(--accent-2);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 8, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 50;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__image {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.lightbox__close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 2rem;
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 15, 28, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--text);
}

.lightbox__nav--prev {
  left: 1.4rem;
}

.lightbox__nav--next {
  right: 1.4rem;
}

/* --- FADE-IN SCROLL ANIMATION --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- NEON PULSING BORDER FRAME --- */

.neon-frame {
  position: relative;
  border-radius: var(--radius-md);
  box-shadow: 0 0 10px rgba(255, 59, 141, 0.2),
    0 0 18px rgba(79, 209, 255, 0.12);
  animation: neonPulse 3s ease-in-out infinite;
}

/* Bigger rounding for hero cards */
.hero-card.neon-frame {
  border-radius: var(--radius-lg);
}

@keyframes neonPulse {
  0% {
    box-shadow: 0 0 10px rgba(255, 59, 141, 0.2),
      0 0 18px rgba(79, 209, 255, 0.12);
  }
  50% {
    box-shadow: 0 0 26px rgba(255, 59, 141, 0.5),
      0 0 40px rgba(79, 209, 255, 0.35);
  }
  100% {
    box-shadow: 0 0 12px rgba(255, 59, 141, 0.25),
      0 0 20px rgba(79, 209, 255, 0.16);
  }
}

/* --- NEON GLOW HOVER --- */
.gallery__img:hover,
.grid__item:hover {
  box-shadow: 0 0 20px rgba(255, 59, 141, 0.6),
    0 0 40px rgba(79, 209, 255, 0.4);
  transform: scale(1.04);
}

/* --- CURSOR TRAIL DOTS --- */
.cursor-dot {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, var(--accent-2), var(--accent));
  opacity: 0.85;
  transform: translate(-50%, -50%);
  z-index: 100;
  animation: cursorFade 0.5s ease-out forwards;
}

@keyframes cursorFade {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
}

/* RESPONSIVE */

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

  .hero__preview {
    max-width: 540px;
  }

  .hero-card--secondary {
    transform: translateX(0) translateY(0);
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 1.3rem;
  }

  .site-nav {
    position: fixed;
    inset: 3.5rem 1.3rem auto 1.3rem;
    background: rgba(10, 10, 20, 0.98);
    border-radius: var(--radius-lg);
    padding: 0.8rem 1.2rem 1rem;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid var(--border-subtle);
    transform: translateY(-24px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-block;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-inline: 1.3rem;
  }

  .strip {
    padding-inline: 1.3rem;
  }

  .page {
    padding-inline: 1.3rem;
  }

  .lightbox {
    padding-inline: 1rem;
  }
}
