:root {
  --bg: #120805;
  --bg-deep: #060202;
  --panel: rgba(25, 9, 5, 0.78);
  --panel-soft: rgba(36, 14, 9, 0.56);
  --text: #fff3d7;
  --muted: #ffd49d;
  --ember: #ff6a2b;
  --ember-strong: #ff3b12;
  --gold: #ffc24b;
  --sky: #69d7ff;
  --line: rgba(255, 190, 108, 0.28);
  --shadow: rgba(0, 0, 0, 0.5);
  --section-width: min(1240px, calc(100vw - 3rem));
  --scroll-ratio: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 198, 88, 0.22), transparent 28rem),
    radial-gradient(circle at 76% 14%, rgba(255, 106, 43, 0.18), transparent 20rem),
    linear-gradient(180deg, #180703 0%, #0d0403 48%, #070202 100%);
  font-family: "Exo 2", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.022) 38% 40%, transparent 40% 100%),
    repeating-linear-gradient(
      120deg,
      transparent 0 18px,
      rgba(255, 255, 255, 0.02) 18px 20px,
      transparent 20px 38px
    ),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px);
  background-size: auto, auto, 32px 32px;
  opacity: 0.22;
  pointer-events: none;
  z-index: -2;
}

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

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

.page-shell {
  position: relative;
  isolation: isolate;
}

.cta-shell {
  position: fixed;
  top: 0;
  left: 0;
  width: min(22.5rem, calc(100vw - 1.5rem));
  z-index: 50;
  transform-origin: top left;
  will-change: transform;
}

.join-cta {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 4.65rem;
  padding: 0.95rem 1.8rem;
  border: 1px solid rgba(255, 226, 161, 0.65);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 203, 112, 0.22), rgba(255, 76, 24, 0.12)),
    linear-gradient(120deg, rgba(255, 101, 31, 0.95), rgba(192, 22, 2, 0.92));
  box-shadow:
    0 1rem 2rem rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 242, 204, 0.24);
  color: #fffaf1;
  font-family: "Russo One", sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
  overflow: hidden;
  transition:
    box-shadow 220ms ease,
    border-color 220ms ease,
    filter 220ms ease;
}

.join-cta:hover,
.join-cta:focus-visible {
  box-shadow:
    0 1.25rem 2.4rem rgba(0, 0, 0, 0.42),
    0 0 2rem rgba(255, 114, 52, 0.34),
    inset 0 0 0 1px rgba(255, 252, 239, 0.26);
  border-color: rgba(255, 246, 213, 0.94);
  filter: saturate(1.08);
  outline: none;
}

.join-cta__glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      120deg,
      transparent 10%,
      rgba(255, 255, 255, 0.26) 30%,
      transparent 52%
    );
  transform: translateX(-130%);
  animation: sheen 5.8s ease-in-out infinite;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.88fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  width: var(--section-width);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(1.8rem, 3vw, 3rem) 0 2rem;
  align-items: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0 -1rem 0 -1rem;
  background:
    linear-gradient(90deg, rgba(8, 4, 4, 0.96) 0%, rgba(8, 4, 4, 0.86) 30%, rgba(8, 4, 4, 0.56) 62%, rgba(8, 4, 4, 0.34) 100%),
    linear-gradient(180deg, rgba(255, 145, 53, 0.1), rgba(8, 4, 4, 0.16) 56%, rgba(8, 4, 4, 0.54) 100%),
    url("assets/gurren-team.jpg") center center / cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 94% 100%, 0 100%);
  z-index: -1;
}

.hero::after {
  width: 30rem;
  height: 30rem;
  right: 7%;
  top: 50%;
  transform: translateY(-48%);
  border-radius: 50%;
  border: 1px solid rgba(255, 198, 109, 0.14);
  background:
    radial-gradient(circle, rgba(255, 194, 75, 0.16), transparent 56%),
    repeating-conic-gradient(
      from 0deg,
      rgba(255, 194, 75, 0.12) 0deg 5deg,
      transparent 5deg 16deg
    );
  filter: blur(0.5px);
  opacity: 0.55;
  animation: spin 44s linear infinite;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 39rem;
}

.eyebrow,
.section-heading__kicker,
.panel__label,
.arsenal-card__number {
  margin: 0 0 1rem;
  color: var(--gold);
  font-family: "Russo One", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 199, 124, 0.28);
  border-radius: 999px;
  background: rgba(22, 8, 4, 0.5);
}

.eyebrow span {
  color: rgba(255, 243, 215, 0.78);
  font-family: "Exo 2", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.hero__quote,
.section-heading h2,
.arsenal__intro h2,
.rally__copy h2 {
  margin: 0;
  font-family: "Russo One", sans-serif;
  line-height: 0.96;
  text-transform: uppercase;
}

.hero__quote {
  max-width: 12ch;
  font-size: clamp(2.5rem, 4.7vw, 4.8rem);
  text-wrap: balance;
}

.hero__lead,
.section-heading__text,
.panel p,
.arsenal__intro p,
.arsenal-card p,
.rally__copy p,
.footer p {
  color: rgba(255, 238, 211, 0.9);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.72;
}

.hero__lead {
  max-width: 34rem;
  margin: 1.2rem 0 0;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.chip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(255, 210, 145, 0.18);
  border-radius: 999px;
  background: rgba(21, 8, 4, 0.55);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.cta-anchor {
  width: min(22.5rem, calc(100vw - 1.5rem));
  height: 4.65rem;
  margin-top: 1.3rem;
}

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

.hero__poster {
  position: relative;
  width: auto;
  max-width: min(100%, 33rem);
  max-height: min(68svh, 34rem);
  filter:
    drop-shadow(0 1.5rem 2rem rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 2.4rem rgba(255, 98, 30, 0.18));
  animation: float 6.4s ease-in-out infinite;
}

.hero__art::before {
  content: "";
  position: absolute;
  inset: 12% 10% 12%;
  background:
    radial-gradient(circle, rgba(255, 187, 94, 0.2), transparent 48%),
    conic-gradient(
      from 0deg,
      rgba(255, 194, 75, 0.2),
      transparent 18% 32%,
      rgba(255, 97, 31, 0.22) 40%,
      transparent 58% 72%,
      rgba(105, 215, 255, 0.12) 82%,
      transparent 100%
    );
  filter: blur(14px);
  opacity: 0.5;
  animation: spin 30s linear infinite;
}

.hero__art::after {
  content: "";
  position: absolute;
  inset: 6% 0 auto auto;
  width: 8rem;
  height: 8rem;
  background:
    radial-gradient(circle, rgba(255, 211, 106, 0.34), transparent 58%),
    repeating-conic-gradient(from 0deg, rgba(255, 211, 106, 0.18) 0deg 8deg, transparent 8deg 18deg);
  border-radius: 50%;
  opacity: 0.6;
  filter: blur(1px);
  animation: spin 24s linear infinite reverse;
}

.section {
  position: relative;
  width: var(--section-width);
  margin: 0 auto;
  padding: 6rem 0;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2.2rem;
}

.section-heading h2,
.arsenal__intro h2,
.rally__copy h2 {
  font-size: clamp(2.3rem, 4vw, 4.35rem);
  text-wrap: balance;
}

.section-heading__text {
  margin-top: 1.2rem;
}

.manifesto {
  padding-top: 3.5rem;
}

.manifesto__grid,
.arsenal__grid {
  display: grid;
  gap: 1.35rem;
}

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

.panel,
.arsenal-card,
.rally__copy {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 141, 49, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(13, 4, 2, 0.95), rgba(18, 6, 2, 0.72));
  box-shadow:
    0 1.4rem 2.4rem rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 198, 109, 0.06);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 34px) 100%, 0 100%);
}

.panel::before,
.arsenal-card::before,
.rally__copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(132deg, rgba(255, 194, 75, 0.18), transparent 26%),
    linear-gradient(0deg, rgba(105, 215, 255, 0.08), transparent 22%);
  opacity: 0.72;
  pointer-events: none;
}

.panel {
  padding: 1.55rem 1.4rem 1.75rem;
}

.panel h3,
.arsenal-card h3 {
  margin: 0;
  font-family: "Russo One", sans-serif;
  font-size: clamp(1.32rem, 2vw, 1.78rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.panel p {
  margin: 1rem 0 0;
}

.reference-card {
  position: absolute;
  margin: 0;
  width: clamp(11rem, 16vw, 15rem);
  pointer-events: none;
  filter: drop-shadow(0 1.1rem 1.8rem rgba(0, 0, 0, 0.26));
}

.reference-card img {
  width: 100%;
  height: auto;
  display: block;
}

.reference-card--upper {
  top: 22%;
  right: -1.5%;
  transform: rotate(7deg);
  width: clamp(12rem, 18vw, 16rem);
  animation: float 8.2s ease-in-out infinite;
}

.reference-card--lower {
  left: 1%;
  bottom: -4%;
  transform: rotate(-5deg);
  animation: float 7s ease-in-out infinite reverse;
}

.reference-card--lower-ship {
  left: -2%;
  bottom: -6%;
  width: clamp(13rem, 22vw, 19rem);
  transform: rotate(-3deg);
}

.arsenal {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.6rem;
  align-items: start;
}

.arsenal__intro {
  position: sticky;
  top: 5.5rem;
}

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

.arsenal-card {
  min-height: 100%;
  padding: 1.55rem 1.35rem 1.6rem;
}

.arsenal-card__number {
  margin-bottom: 0.85rem;
  font-size: 1.4rem;
}

.rally {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 0.65fr);
  gap: clamp(1.4rem, 3vw, 2rem);
  align-items: center;
  padding-bottom: 7rem;
}

.rally__copy {
  padding: 2rem;
}

.rally__copy p {
  margin-top: 1rem;
}

.rally__link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  color: var(--gold);
  font-family: "Russo One", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rally__link::after {
  content: ">";
  font-size: 1.2rem;
}

.rally__art {
  position: relative;
  min-height: 25rem;
}

.rally__unit {
  position: absolute;
  width: clamp(14rem, 28vw, 21rem);
  right: 2%;
  bottom: -1%;
  filter: drop-shadow(0 1.2rem 1.8rem rgba(0, 0, 0, 0.38));
  animation: float 6.4s ease-in-out infinite reverse;
}

.rally__unit--lazengann {
  width: clamp(11rem, 21vw, 16rem);
  right: 6%;
  bottom: -3%;
}

.footer {
  width: var(--section-width);
  margin: 0 auto;
  padding: 0 0 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid rgba(255, 214, 156, 0.14);
}

.footer a {
  padding-top: 1.3rem;
  color: var(--gold);
  font-family: "Russo One", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer p {
  margin: 0;
  padding-top: 1.3rem;
  color: rgba(255, 229, 193, 0.72);
  font-size: 0.98rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.has-js body.is-ready .cta-shell,
body:not(.is-ready) .cta-shell {
  opacity: 1;
}

.has-js body:not(.is-ready) .cta-shell {
  opacity: 0;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(1.4rem, -1rem, 0);
  }
}

@keyframes sheen {
  0%,
  12% {
    transform: translateX(-130%);
  }

  26% {
    transform: translateX(130%);
  }

  100% {
    transform: translateX(130%);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1180px) {
  .hero,
  .arsenal,
  .rally {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 5.8rem;
  }

  .hero__quote {
    max-width: 14ch;
  }

  .hero__art {
    min-height: 28rem;
    margin-top: 1rem;
  }

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

  .arsenal__intro {
    position: static;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: calc(6rem + env(safe-area-inset-top));
    gap: 1.5rem;
  }

  .hero__quote {
    max-width: 13ch;
    font-size: clamp(2.8rem, 8vw, 5rem);
  }

  .hero__art {
    min-height: 24rem;
  }

  .hero__poster {
    width: min(100%, 29rem);
  }

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

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

  .reference-card--upper {
    top: 20%;
    right: 0;
  }

  .reference-card--lower {
    left: auto;
    right: 2%;
    bottom: -2%;
    opacity: 0.42;
  }

  .reference-card--lower-ship {
    right: 0;
    width: clamp(12rem, 24vw, 17rem);
  }
}

@media (max-width: 720px) {
  :root {
    --section-width: min(100vw - 1.25rem, 100%);
  }

  .hero,
  .section,
  .footer {
    width: min(100vw - 1.25rem, 100%);
  }

  .hero {
    padding-top: calc(5.35rem + env(safe-area-inset-top));
    padding-bottom: 3.75rem;
    gap: 0.95rem;
  }

  .hero__quote {
    max-width: none;
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .hero__lead {
    margin-top: 1.1rem;
  }

  .hero__lead,
  .section-heading__text,
  .panel p,
  .arsenal__intro p,
  .arsenal-card p,
  .rally__copy p {
    font-size: 1rem;
  }

  .cta-anchor,
  .cta-shell {
    width: min(20.25rem, calc(100vw - 1.25rem));
  }

  .join-cta {
    min-height: 4.2rem;
    padding-inline: 1rem;
    font-size: 0.92rem;
  }

  .cta-anchor {
    height: 4.2rem;
  }

  .hero__art {
    min-height: 19rem;
  }

  .hero__poster {
    width: min(100%, 24rem);
  }

  .manifesto__grid,
  .arsenal__grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.4rem 0;
  }

  .manifesto {
    padding-top: 1rem;
  }

  .section-heading {
    margin-bottom: 1.8rem;
  }

  .eyebrow {
    max-width: 100%;
    padding: 0.6rem 0.8rem;
  }

  .eyebrow span {
    width: 100%;
    font-size: 0.88rem;
  }

  .hero__chips {
    gap: 0.55rem;
  }

  .hero__art::after {
    width: 5.5rem;
    height: 5.5rem;
    inset: 4% 0 auto auto;
  }

  .panel,
  .arsenal-card {
    padding: 1.25rem 1.05rem 1.35rem;
  }

  .reference-card {
    width: 8rem;
  }

  .reference-card--upper {
    top: 14%;
    right: 0;
    opacity: 0.56;
  }

  .reference-card--lower {
    right: 0;
    bottom: -2%;
    opacity: 0.22;
  }

  .reference-card--lower-ship {
    width: min(12rem, 48vw);
    bottom: -3%;
  }

  .rally {
    padding-bottom: 4.5rem;
  }

  .rally__copy {
    padding: 1.55rem 1.2rem;
  }

  .rally__link {
    flex-wrap: wrap;
  }

  .rally__art {
    min-height: 18rem;
  }

  .rally__unit {
    right: 0;
    width: min(11rem, 46vw);
  }

  .rally__unit--lazengann {
    right: 6%;
    width: min(10rem, 40vw);
    bottom: -1%;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .hero::before {
    inset: 2rem -0.25rem 2rem -0.25rem;
  }

  .hero::after {
    width: 18rem;
    height: 18rem;
    top: 13%;
    right: -2rem;
    opacity: 0.42;
  }

  .hero__quote {
    font-size: clamp(2.1rem, 10.2vw, 3.15rem);
  }

  .cta-anchor,
  .cta-shell {
    width: min(18rem, calc(100vw - 1rem));
  }

  .join-cta {
    min-height: 3.9rem;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
  }

  .cta-anchor {
    height: 3.9rem;
  }

  .chip {
    flex: 1 1 calc(50% - 0.55rem);
    min-width: 8.2rem;
    font-size: 0.84rem;
    padding: 0.65rem 0.75rem;
  }

  .hero__art {
    min-height: 17.5rem;
  }

  .section-heading h2,
  .arsenal__intro h2,
  .rally__copy h2 {
    font-size: clamp(1.95rem, 8vw, 2.65rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
