:root {
  --bg: #050505;
  --panel: #101010;
  --panel-2: #171717;
  --text: #f7f7f2;
  --muted: #b7b7ad;
  --red: #e84142;
  --red-dark: #9f1c21;
  --ice: #dff7ff;
  --mint: #3ee7b6;
  --gold: #ffc857;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(232, 65, 66, 0.28), transparent 26rem),
    radial-gradient(circle at 82% 12%, rgba(62, 231, 182, 0.15), transparent 24rem),
    linear-gradient(180deg, #080808 0%, #050505 52%, #0b0b0b 100%);
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(5, 5, 5, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.92);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  animation: brandPulse 4s ease-in-out infinite;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 12px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.82);
}

.nav a {
  position: relative;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  background: rgba(232, 65, 66, 0.86);
  color: var(--text);
  transform: translateY(-1px);
}

.nav a.external-link::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: 122px clamp(18px, 5vw, 72px) 92px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 72px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(64px, 12vw, 152px);
  line-height: 0.86;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: lowercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 6vw, 78px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-text {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button.primary {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

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

.hero-art {
  filter: drop-shadow(0 34px 80px rgba(232, 65, 66, 0.22));
  animation: floatHero 7s ease-in-out infinite;
}

.ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 24px;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.ticker span {
  flex: 0 0 auto;
  min-width: 220px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  animation: tickerMove 20s linear infinite;
}

.section {
  padding: 108px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 40px;
}

.story-grid,
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-grid article,
.event-card,
.join-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.story-grid article {
  min-height: 280px;
  padding: 26px;
}

.story-grid span {
  display: inline-flex;
  margin-bottom: 76px;
  color: var(--red);
  font-size: 42px;
  font-weight: 900;
}

.story-grid p,
.event-card p,
.band-copy p,
.video-copy p,
.join-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.visual-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(26px, 5vw, 64px);
  padding: 108px clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(232, 65, 66, 0.2), rgba(255, 255, 255, 0.03)),
    #0e0e0e;
}

.band-image img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.feature-list strong {
  color: var(--ice);
}

.feature-list span {
  color: var(--muted);
}

.event-card {
  min-height: 248px;
  padding: 24px;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 82px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.card-top strong {
  color: rgba(255, 255, 255, 0.3);
  font-size: 42px;
}

.slider-section {
  padding: 108px clamp(18px, 5vw, 72px);
  background: #0c0c0c;
}

.slider {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.slides {
  position: relative;
  min-height: 620px;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  align-items: stretch;
  opacity: 0;
  transform: translateX(26px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 5vw, 58px);
}

.slide span {
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.slide h3 {
  margin: 14px 0;
  font-size: clamp(32px, 5vw, 68px);
  line-height: 0.98;
}

.slide p {
  max-width: 430px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.slider-btn {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.72);
  color: white;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.slider-btn.prev {
  left: 16px;
}

.slider-btn.next {
  right: 16px;
}

.slider-dots {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.slider-dots button.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--red);
}

.video-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  padding: 92px clamp(18px, 5vw, 72px);
  background: #f3f1ea;
  color: #0d0d0d;
}

.video-copy p {
  color: #4d4d46;
}

.video-frame {
  position: relative;
}

.video-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.video-stats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  color: #202020;
  font-weight: 900;
}

.video-stats strong {
  color: var(--red);
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.video-note {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.avalanche-motion {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(26px, 5vw, 70px);
  min-height: 680px;
  padding: 104px clamp(18px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 50%, rgba(232, 65, 66, 0.32), transparent 25rem),
    radial-gradient(circle at 36% 50%, rgba(62, 231, 182, 0.1), transparent 22rem),
    #080808;
}

.motion-copy {
  max-width: 660px;
}

.motion-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.logo-orbit {
  position: relative;
  width: min(560px, 86vw);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  animation: orbitSpin 20s linear infinite;
}

.logo-orbit::before,
.logo-orbit::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.logo-orbit::after {
  inset: 29%;
  border-style: solid;
  border-color: rgba(232, 65, 66, 0.4);
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 162px;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  box-shadow: 0 28px 90px rgba(232, 65, 66, 0.36);
  animation: coreFloat 4s ease-in-out infinite;
}

.orbit-node {
  position: absolute;
  display: grid;
  width: 72px;
  place-items: center;
  animation: counterSpin 20s linear infinite;
}

.orbit-node img {
  width: 72px;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.orbit-node.one {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-node.two {
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
}

.orbit-node.three {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}

.orbit-node.four {
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
}

.join {
  padding-top: 120px;
}

.join-panel {
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 58px);
  background:
    linear-gradient(135deg, rgba(232, 65, 66, 0.28), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.join-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  margin-top: 30px;
}

.join-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.join-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  color: white;
  font: inherit;
}

.join-form button {
  align-self: end;
  cursor: pointer;
}

.x-updates {
  padding: 92px clamp(18px, 5vw, 72px) 112px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(232, 65, 66, 0.08)),
    #080808;
}

.x-updates .section-heading p {
  color: var(--muted);
  line-height: 1.6;
}

.timeline-shell {
  max-width: 920px;
  min-height: 420px;
  margin: 34px auto 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 900;
}

.footer img {
  width: 32px;
  height: 32px;
}

@media (max-width: 1020px) {
  .menu-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 5, 5, 0.96);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero,
  .visual-band,
  .video-section,
  .avalanche-motion,
  .slide {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 112px;
  }

  .story-grid,
  .event-grid {
    grid-template-columns: 1fr;
  }

  .slides {
    min-height: 760px;
  }

  .slide img {
    height: 440px;
  }

  .join-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(58px, 18vw, 88px);
  }

  .feature-list li,
  .footer {
    grid-template-columns: 1fr;
  }

  .nav {
    grid-template-columns: 1fr;
  }

  .logo-orbit {
    width: min(380px, 82vw);
  }

  .orbit-core {
    width: 116px;
  }

  .orbit-node,
  .orbit-node img {
    width: 54px;
  }

  .slides {
    min-height: 660px;
  }

  .slide img {
    height: 310px;
  }

  .footer {
    display: grid;
  }

  .video-note {
    position: static;
    border-radius: 0 0 8px 8px;
  }
}

@keyframes brandPulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(232, 65, 66, 0));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 16px rgba(232, 65, 66, 0.52));
  }
}

@keyframes floatHero {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-244px);
  }
}

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

@keyframes counterSpin {
  to {
    rotate: -360deg;
  }
}

@keyframes coreFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

/* SAME IMAGE SIZE */

.slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: 420px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  display: block;
}

/* MOBILE */
@media (max-width: 768px) {

  .slide img {
    height: 260px;
  }

}
/* FULL SCREEN IMAGE */

.full-image-section {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.full-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.builder-hub-section {
  padding: 92px clamp(18px, 5vw, 72px);
  background: #f7f7f4;
  color: #111;
}

.builder-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 820px;
  overflow: hidden;
  border: 1px solid #deded8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.builder-sidebar {
  padding: 24px;
  border-right: 1px solid #e7e7e1;
  background: #fbfbf8;
}

.builder-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  font-weight: 900;
}

.builder-logo span {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e84142;
  position: relative;
}

.builder-logo span::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 16px;
  height: 16px;
  background: #fff;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.builder-side-nav {
  display: grid;
  gap: 6px;
}

.builder-side-nav a {
  padding: 12px 14px;
  border-radius: 7px;
  color: #4b4b45;
  font-size: 14px;
  font-weight: 800;
}

.builder-side-nav a:hover,
.builder-side-nav a.active {
  background: #111;
  color: #fff;
}

.builder-main {
  padding: 26px;
  background:
    radial-gradient(circle at 82% 10%, rgba(232, 65, 66, 0.12), transparent 22rem),
    #fff;
}

.builder-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #e5e5df;
  border-radius: 8px;
  color: #7a7a72;
  background: #fbfbf8;
  font-size: 14px;
}

.builder-topbar kbd {
  padding: 6px 9px;
  border: 1px solid #d8d8d2;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font: inherit;
  font-weight: 900;
}

.builder-hero {
  padding: 72px 0 46px;
  border-bottom: 1px solid #e9e9e3;
}

.builder-hero p,
.builder-grid span {
  margin: 0 0 12px;
  color: #e84142;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.builder-hero h2 {
  max-width: 820px;
  margin: 0;
  color: #111;
  font-size: clamp(40px, 6vw, 86px);
  line-height: 0.95;
  font-weight: 900;
}

.builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.builder-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 7px;
  background: #111;
  color: #fff;
  font-weight: 900;
}

.builder-actions a:first-child {
  background: #e84142;
}

.builder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
}

.builder-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid #e6e6df;
  border-radius: 8px;
  background: #fbfbf8;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.builder-grid article:hover {
  transform: translateY(-4px);
  border-color: #e84142;
}

.builder-grid h3 {
  margin: 0 0 10px;
  color: #111;
  font-size: 24px;
}

.builder-grid p {
  margin: 0;
  color: #5e5e57;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .builder-shell {
    grid-template-columns: 1fr;
  }

  .builder-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e7e7e1;
  }

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

  .builder-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .builder-hub-section {
    padding: 72px 18px;
  }

  .builder-main,
  .builder-sidebar {
    padding: 18px;
  }

  .builder-side-nav {
    grid-template-columns: 1fr;
  }

  .builder-topbar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 12px;
  }
}
