:root {
  --bg: #040813;
  --panel: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.25);
  --text: #f2f5ff;
  --muted: #a5afc7;
  --accent: #48f2c9;
  --accent-2: #ff5f8e;
  --accent-3: #5e8bff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --glow: 0 0 40px rgba(72, 242, 201, 0.4);
  --font-sans: "Space Grotesk", "Manrope", system-ui, -apple-system, sans-serif;
  --font-display: "Playfair Display", "Space Grotesk", "Manrope", system-ui, sans-serif;
  --hero-photo: url("assets/images/hero-lv.jpg?v=1");
  --parallax-x: 0;
  --parallax-y: 0;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
}

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

p {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0 0 0.4em;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  color: var(--text);
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.shell {
  width: min(1200px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(94, 139, 255, 0.14), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(255, 95, 142, 0.2), transparent 32%),
    radial-gradient(circle at 50% 80%, rgba(72, 242, 201, 0.1), transparent 35%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(-120deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 60px 60px, 60px 60px;
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  filter: blur(80px);
  opacity: 0.4;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.bg-glow-1 {
  top: -8vw;
  right: -10vw;
  background: radial-gradient(circle, rgba(72, 242, 201, 0.35), transparent 70%);
}

.bg-glow-2 {
  bottom: -12vw;
  left: -6vw;
  background: radial-gradient(circle, rgba(255, 95, 142, 0.35), transparent 70%);
}

.nav {
  padding: 26px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(72, 242, 201, 0.2), rgba(94, 139, 255, 0.16));
  border: 1px solid var(--border);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-meta small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: 0.25s ease;
  font-weight: 500;
}

.nav-links a:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.chip.neon {
  border-color: var(--border-strong);
  background: linear-gradient(120deg, rgba(72, 242, 201, 0.35), rgba(255, 95, 142, 0.22));
  box-shadow: var(--glow);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
  padding: 40px 0 10px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--muted);
}

.lede {
  font-size: 18px;
  line-height: 1.6;
  max-width: 640px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: 0.25s ease;
}

.btn.primary {
  background: linear-gradient(120deg, #48f2c9, #5e8bff, #ff5f8e);
  background-size: 200% 200%;
  color: #040813;
  box-shadow: var(--shadow);
  border: none;
  animation: shift 8s ease-in-out infinite;
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.03);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn.inline {
  padding: 0;
  background: transparent;
  border: none;
  color: var(--accent);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 0.4s ease, border-color 0.3s ease;
}

.stat-card:hover {
  border-color: var(--border-strong);
}

.stat-card .label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.stat-card .value {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
}

.stat-card .hint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  perspective: 1400px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: conic-gradient(from 140deg, rgba(72, 242, 201, 0.2), rgba(94, 139, 255, 0.2), rgba(255, 95, 142, 0.2), rgba(72, 242, 201, 0.2));
  filter: blur(1px);
  animation: spin 16s linear infinite;
}

.portrait-shell {
  position: relative;
  width: min(440px, 68vw);
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, rgba(72, 242, 201, 0.1), rgba(255, 95, 142, 0.08));
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: var(--shadow);
}

.portrait {
  position: absolute;
  inset: 6px;
  border-radius: 22px;
  background-image: linear-gradient(180deg, rgba(4, 8, 19, 0.35), rgba(4, 8, 19, 0.7)), var(--hero-photo),
    radial-gradient(circle at 30% 20%, rgba(72, 242, 201, 0.35), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 95, 142, 0.28), transparent 50%);
  background-size: cover, cover, cover, cover;
  background-position: center;
  border: 1px solid var(--border);
  display: grid;
  place-items: end start;
  padding: 14px;
  color: var(--text);
  transform: translateZ(20px) rotateY(calc(var(--parallax-x) * 0.15deg)) rotateX(calc(var(--parallax-y) * -0.1deg));
}

.portrait-overlay {
  background: rgba(4, 8, 19, 0.6);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.sig-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(4, 8, 19, 0.7);
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sig-tag .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #44ffb8;
  box-shadow: 0 0 10px rgba(68, 255, 184, 0.8);
}

.floating-note {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  width: min(220px, 46vw);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.floating-note .note-title {
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text);
}

.floating-note .note-body {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.section {
  padding: 48px 0 20px;
}

.section-head {
  margin-bottom: 18px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 16px 18px;
  min-height: 220px;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, border-color 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}

.tag.accent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(72, 242, 201, 0.35), rgba(94, 139, 255, 0.24));
  color: #040813;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chips span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
}

.stats-deep .deep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.deep-card {
  background: linear-gradient(150deg, rgba(72, 242, 201, 0.08), rgba(255, 95, 142, 0.05));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  min-height: 200px;
  transition: transform 0.4s ease;
}

.deep-card .label {
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 8px;
}

.deep-card .ticks li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
  color: var(--text);
}

.deep-card .ticks li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

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

.gallery-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
}

.gallery-card.tall {
  grid-row: span 2;
}

.gallery-card.wide {
  grid-column: span 2;
}

.gallery-card .corner {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.gallery-card.wide .frame {
  aspect-ratio: 16 / 9;
}

.gallery-card.tall .frame {
  aspect-ratio: 3 / 4;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  filter: saturate(1.02);
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 19, 0.2), rgba(4, 8, 19, 0.55));
  z-index: 2;
}

.frame img {
  position: relative;
  z-index: 1;
}

.gallery-card figcaption {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.cta {
  padding-bottom: 72px;
}

.cta-card {
  background: linear-gradient(140deg, rgba(72, 242, 201, 0.12), rgba(255, 95, 142, 0.1));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 18px 24px;
  box-shadow: var(--shadow);
}

.news-band {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: rgba(4, 8, 19, 0.7);
  transform: skewY(-1deg);
}

.band-top {
  margin-bottom: 14px;
}

.band-bottom {
  margin-top: 24px;
}

.band-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: ticker 18s linear infinite;
}

.band-segment {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  border-right: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(72, 242, 201, 0.18), rgba(255, 95, 142, 0.18));
  backdrop-filter: blur(6px);
}

.band-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #44ffb8;
  box-shadow: 0 0 12px rgba(68, 255, 184, 0.8);
}

.footer {
  padding: 24px 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--border);
  margin-top: 32px;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer a {
  color: var(--muted);
  transition: 0.2s ease;
}

.footer a:hover {
  color: var(--text);
}

[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-links a {
    padding: 10px 12px;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(30px, 6vw, 40px);
  }

  .band-track {
    animation-duration: 24s;
  }

  .gallery-card.wide,
  .gallery-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
