:root {
  --bg-top: #120403;
  --bg-mid: #220706;
  --bg-bottom: #32140e;
  --red: #ff3a2f;
  --red-hot: #ff6b57;
  --tube: #ffd7cd;
  --paper: #ffe6d8;
  --line: rgba(255, 220, 206, 0.12);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
  --grid: min(1120px, calc(100vw - 2rem));
  --progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 73, 49, 0.13), transparent 18%),
    radial-gradient(circle at 14% 82%, rgba(255, 95, 58, 0.08), transparent 20%),
    linear-gradient(180deg, var(--bg-top), var(--bg-mid) 48%, var(--bg-bottom));
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(130deg, transparent 0 33%, rgba(255, 255, 255, 0.025) 33% 36%, transparent 36% 100%),
    linear-gradient(35deg, transparent 0 62%, rgba(255, 255, 255, 0.018) 62% 65%, transparent 65% 100%);
  opacity: 0.65;
  pointer-events: none;
}

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

button {
  font: inherit;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.booty-wallpaper {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.wallpaper-icon {
  position: absolute;
  width: clamp(9rem, 16vw, 15rem);
  opacity: 0.11;
}

.icon-a {
  top: -2rem;
  left: -1rem;
  transform: rotate(-8deg);
}

.icon-b {
  top: 10%;
  right: 3%;
  transform: rotate(8deg) scale(0.9);
}

.icon-c {
  top: 36%;
  left: 6%;
  transform: rotate(5deg);
}

.icon-d {
  top: 52%;
  right: -1rem;
  transform: rotate(-10deg);
}

.icon-e {
  bottom: 9%;
  left: 19%;
  transform: rotate(-5deg) scale(1.05);
}

.icon-f {
  bottom: -1rem;
  right: 22%;
  transform: rotate(6deg) scale(0.94);
}

.site-shell {
  position: relative;
  z-index: 1;
}

.entry-screen,
.portal {
  width: var(--grid);
  margin: 0 auto;
}

.entry-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  padding: 2rem 0 3rem;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-content: center;
}

.entry-copy,
.section-heading {
  max-width: 32rem;
}

.kicker,
.label,
.runway-label,
.sign-copy span {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffb89b;
}

.stack-title,
h3,
.runway-link strong,
.sign-copy strong {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.88;
}

.stack-title span,
.section-title span {
  display: block;
}

h1.stack-title {
  margin-top: 0.35rem;
  font-size: clamp(4rem, 10vw, 8.8rem);
}

h2.stack-title {
  margin-top: 0.5rem;
  font-size: clamp(4.2rem, 11vw, 9rem);
}

h3.section-title {
  margin-top: 0.4rem;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.flyer-copy,
.gate-instruction {
  margin: 0;
  max-width: 24rem;
  font-size: 0.92rem;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 230, 220, 0.78);
}

.spread-gate {
  position: relative;
  min-height: 42rem;
  border-radius: 2rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.008)),
    rgba(7, 2, 2, 0.8);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.spread-gate::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 228, 218, 0.06);
  border-radius: 1.5rem;
  pointer-events: none;
}

.gate-backdrop {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 74, 54, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(18, 4, 4, 0.96), rgba(39, 8, 7, 0.94));
}

.neon-icon {
  fill: none;
  stroke: var(--tube);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter:
    drop-shadow(0 0 3px rgba(255, 146, 117, 1))
    drop-shadow(0 0 8px rgba(255, 92, 64, 1))
    drop-shadow(0 0 20px rgba(255, 58, 47, 0.92))
    drop-shadow(0 0 48px rgba(255, 58, 47, 0.52));
}

.gate-icon {
  width: min(44%, 18rem);
  opacity: calc(0.76 + (var(--progress) * 0.0024));
}

.cheek {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(50% - (var(--progress) * 0.43%));
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.16)),
    linear-gradient(180deg, rgba(29, 9, 8, 0.96), rgba(15, 4, 4, 0.98));
  transition: width 120ms linear, transform 180ms ease;
}

.cheek-left {
  left: 0;
  transform: translateX(calc(var(--progress) * -0.34%));
}

.cheek-right {
  right: 0;
  transform: translateX(calc(var(--progress) * 0.34%));
}

.cheek::before {
  content: "";
  position: absolute;
  top: 4%;
  bottom: 7%;
  width: 3px;
  background: var(--tube);
  box-shadow:
    0 0 4px rgba(255, 145, 116, 1),
    0 0 10px rgba(255, 93, 64, 1),
    0 0 26px rgba(255, 58, 47, 0.84);
}

.cheek-left::before {
  right: 11%;
  border-radius: 999px;
  clip-path: path("M 70 0 C 30 90 32 180 58 260 C 75 312 85 390 66 460");
}

.cheek-right::before {
  left: 11%;
  border-radius: 999px;
  clip-path: path("M 0 0 C 40 90 38 180 12 260 C -5 312 -15 390 4 460");
}

.spread-handle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(6.6rem, 14vw, 8rem);
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 222, 210, 0.16);
  background: rgba(15, 4, 4, 0.82);
  color: var(--paper);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: grab;
  z-index: 3;
  box-shadow:
    inset 0 0 26px rgba(255, 64, 48, 0.08),
    0 0 18px rgba(255, 64, 48, 0.22);
  touch-action: none;
}

.spread-handle:active {
  cursor: grabbing;
}

.gate-instruction {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 220, 208, 0.1);
  background: rgba(9, 2, 2, 0.86);
  border-radius: 999px;
  z-index: 3;
  text-align: center;
}

.portal {
  padding: 1.5rem 0 4rem;
}

.portal.hidden {
  display: none;
}

.hero-billboard {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.billboard-copy {
  max-width: 48rem;
}

.hero-actions,
.info-band,
.runway-grid {
  display: grid;
  gap: 1rem;
}

.hero-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.4rem;
}

.headline-sign {
  margin-top: 0.5rem;
}

.sign-word {
  font-family: "Bebas Neue", sans-serif;
  text-transform: uppercase;
  color: var(--tube);
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 4px rgba(255, 146, 117, 1),
    0 0 9px rgba(255, 92, 64, 1),
    0 0 22px rgba(255, 58, 47, 0.95),
    0 0 54px rgba(255, 58, 47, 0.48);
}

.sign-word-top {
  font-size: clamp(5rem, 13vw, 9.8rem);
  letter-spacing: 0.06em;
}

.sign-line {
  font-size: clamp(3rem, 7vw, 6rem);
}

.action,
.copy-button,
.info-block,
.runway-link,
.sign-plaque {
  border: 1px solid rgba(255, 223, 212, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.action,
.copy-button,
.runway-link {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.action {
  min-height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 1.1rem;
}

.action-primary {
  background:
    linear-gradient(180deg, rgba(255, 76, 50, 0.22), rgba(255, 76, 50, 0.06)),
    rgba(255, 255, 255, 0.045);
}

.action:hover,
.copy-button:hover,
.runway-link:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 223, 212, 0.28);
}

.hero-stage {
  position: relative;
  min-height: 30rem;
  display: grid;
  place-items: center;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 16% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 62, 48, 0.18), transparent 58%);
  filter: blur(24px);
}

.hero-signage {
  position: relative;
  width: min(100%, 24rem);
  display: grid;
  justify-items: center;
}

.sign-plaque {
  width: 100%;
  min-height: 30rem;
  display: grid;
  place-items: center;
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 70, 49, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(16, 4, 4, 0.96), rgba(34, 9, 8, 0.95));
}

.hero-icon {
  width: min(62%, 17rem);
}

.info-band {
  grid-template-columns: minmax(0, 1fr);
  margin-top: -1rem;
  max-width: 34rem;
  position: relative;
  z-index: 2;
}

.info-block,
.runway-link,
.sign-plaque {
  padding: 1.25rem;
  border-radius: 1.3rem;
  backdrop-filter: blur(12px);
}

.info-block p {
  margin: 0.35rem 0 0;
}

.contract-address {
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: 0.08em;
  word-break: break-all;
  text-transform: uppercase;
}

.copy-button {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  width: 100%;
  border-radius: 0.95rem;
  cursor: pointer;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-runway {
  padding: 3.25rem 0 0;
}

.runway-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.75rem;
}

.runway-link {
  min-height: 11rem;
  padding: 1.25rem;
  border-radius: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.runway-link strong {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.entry-screen.entry-open {
  min-height: 38vh;
}

.entry-screen.entry-open .spread-gate {
  min-height: 18rem;
}

@keyframes float-sign {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.gate-icon,
.hero-icon {
  animation: float-sign 5s ease-in-out infinite;
}

@media (max-width: 980px) {
  .entry-screen,
  .hero,
  .hero-billboard,
  .info-band,
  .runway-grid,
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .entry-screen,
  .hero {
    min-height: auto;
    padding-top: 1.5rem;
  }

  .spread-gate,
  .hero-stage,
  .sign-plaque {
    min-height: 30rem;
  }

  .info-band {
    margin-top: 1.5rem;
    max-width: none;
  }

  .hero-copy,
  .entry-copy,
  .section-heading {
    max-width: none;
  }
}

@media (max-width: 640px) {
  :root {
    --grid: min(calc(100vw - 1.2rem), 100%);
  }

  h1.stack-title {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  h2.stack-title {
    font-size: clamp(3.4rem, 17vw, 5.3rem);
  }

  .spread-gate {
    min-height: 27rem;
    border-radius: 1.5rem;
  }

  .sign-plaque,
  .hero-stage {
    min-height: 24rem;
  }

  .gate-instruction {
    width: calc(100% - 1.4rem);
  }

  .gate-icon,
  .hero-icon {
    width: min(68%, 15rem);
  }

  .wallpaper-icon {
    width: 8rem;
  }
}
