:root {
  --bg-deep: #0b0f14;
  --bg-mid: #132231;
  --ink: #f2efe9;
  --ink-soft: #c8c3ba;
  --accent-1: #ff6f3c;
  --accent-2: #35c5ff;
  --accent-3: #9cff6a;
  --card: rgba(16, 22, 29, 0.78);
  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 10% -20%, rgba(53, 197, 255, 0.18), transparent 60%),
    radial-gradient(1000px 600px at 90% 0%, rgba(255, 111, 60, 0.18), transparent 55%),
    linear-gradient(145deg, var(--bg-deep), var(--bg-mid));
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 4px 4px;
}

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

.site-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 3rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(7, 10, 16, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.05em;
  font-size: 1.55rem;
  line-height: 1;
}

.brand span {
  color: var(--accent-2);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  padding: 0.4rem 0.65rem;
  border-radius: 10px;
  cursor: pointer;
}

.site-nav {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: 150ms ease;
}

.site-nav a:hover {
  border-color: var(--border);
  color: var(--ink);
}

.site-nav a.active {
  color: var(--ink);
  border-color: rgba(53, 197, 255, 0.45);
  background: rgba(53, 197, 255, 0.12);
}

.hero {
  padding: 4.5rem 0 2.3rem;
}

.hero-art {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  position: relative;
  isolation: isolate;
}

.hero-main {
  position: relative;
  z-index: 2;
}

.hero-note {
  position: relative;
  z-index: 2;
  align-self: end;
  background: rgba(6, 9, 14, 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.hero-note-label {
  margin: 0 0 0.55rem;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.72rem;
}

.hero-note-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.hero-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  top: 30px;
  right: 10%;
  border-radius: 50%;
  z-index: 1;
  filter: blur(2px);
  background:
    radial-gradient(circle at 30% 30%, rgba(53, 197, 255, 0.42), transparent 45%),
    radial-gradient(circle at 65% 70%, rgba(255, 111, 60, 0.4), transparent 50%),
    radial-gradient(circle at center, rgba(156, 255, 106, 0.2), rgba(156, 255, 106, 0.02) 55%, transparent 68%);
  animation: orb-drift 10s ease-in-out infinite alternate;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-18px, 12px) scale(1.05); }
}

.kicker {
  color: var(--accent-3);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.8rem;
}

h1 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.35rem, 6vw, 4.9rem);
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 0.95;
  max-width: 12ch;
}

.subtitle {
  color: var(--ink-soft);
  max-width: 70ch;
  margin-top: 1rem;
}

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 1.2rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: rgba(8, 12, 18, 0.8);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.04rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.card .tag {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.77rem;
  border: 1px solid rgba(255, 111, 60, 0.5);
  color: #ffd8c9;
  align-self: flex-start;
}

.media-link {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  border: 1px solid rgba(53, 197, 255, 0.45);
  background: rgba(53, 197, 255, 0.12);
  color: #def7ff;
  padding: 0.45rem 0.7rem;
  border-radius: 9px;
  font-size: 0.86rem;
  transition: 150ms ease;
}

.video-embed {
  margin-top: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.media-link:hover {
  transform: translateY(-1px);
  border-color: rgba(156, 255, 106, 0.6);
  color: #f4ffe9;
}

.panel + .panel {
  margin-top: 1rem;
}

.ticker-strip {
  margin: 0 0 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  animation: ticker-move 26s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.2rem 0.6rem;
}

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

.editorial .card {
  min-height: 190px;
}

.section-title {
  margin: 0 0 1rem;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
}

.cta {
  margin-top: 1.4rem;
  display: inline-block;
  border: 1px solid rgba(156, 255, 106, 0.4);
  background: rgba(156, 255, 106, 0.14);
  color: #edffe3;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

footer {
  margin-top: 2.6rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  animation: fade-in 550ms ease forwards;
}

.reveal:nth-child(2) { animation-delay: 80ms; }
.reveal:nth-child(3) { animation-delay: 140ms; }
.reveal:nth-child(4) { animation-delay: 180ms; }

@keyframes fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 880px) {
  .hero-art {
    grid-template-columns: 1fr;
  }

  .hero-orb {
    right: -40px;
    top: 70px;
    width: 260px;
    height: 260px;
  }

  .grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    right: 1rem;
    width: min(280px, calc(100vw - 2rem));
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(7, 10, 16, 0.95);
  }

  .site-nav.open {
    display: flex;
  }

  .grid.cols-3,
  .grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .ticker-strip {
    margin-top: 0.4rem;
  }

  .ticker-track {
    animation-duration: 32s;
  }
}
