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

:root {
  --bg: #1017a8;
  --deep: #11106d;
  --sky: #5d7cff;
  --pink: #ff477f;
  --yellow: #ffe66d;
  --green: #70ff86;
  --ink: #111532;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.76);
  --card: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 28px 90px rgba(10, 12, 70, 0.32);
  --radius: 30px;
  --radius-xl: 52px;
  --container: min(100% - clamp(28px, 6vw, 96px), 1180px);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 71, 127, 0.36), transparent 24rem),
    radial-gradient(circle at 88% 10%, rgba(112, 255, 134, 0.18), transparent 22rem),
    linear-gradient(145deg, var(--bg), var(--deep) 58%, #09093c);
  font-family: Inter, Manrope, Arial, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 42%, rgba(255, 255, 255, 0.1) 42% 43.2%, transparent 43.2% 100%),
    linear-gradient(118deg, transparent 0 58%, rgba(112, 255, 134, 0.13) 58% 59.1%, transparent 59.1% 100%);
  opacity: 0.62;
}

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

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

.topbar,
main {
  width: var(--container);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(17, 16, 109, 0.68);
  box-shadow: 0 18px 46px rgba(10, 12, 70, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--yellow);
  font-weight: 950;
  letter-spacing: -0.05em;
}

.topbar span {
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

main {
  display: grid;
  gap: clamp(42px, 7vw, 90px);
  padding: clamp(22px, 4vw, 48px) 0 clamp(54px, 8vw, 96px);
}

.runway {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.78fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: clamp(560px, 78vh, 760px);
}

.runway::before {
  content: "";
  position: absolute;
  right: 20%;
  bottom: 5%;
  width: min(52vw, 620px);
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: rotate(-12deg);
}

.runway-copy {
  position: relative;
  z-index: 2;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 230, 109, 0.18), transparent 18rem),
    rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.runway-copy::before,
.runway-copy::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(54px, 8vw, 96px);
  aspect-ratio: 1;
  border-radius: 24px;
  transform: rotate(14deg);
}

.runway-copy::before {
  right: clamp(18px, 4vw, 44px);
  top: clamp(18px, 4vw, 42px);
  background: var(--pink);
  box-shadow: 0 18px 38px rgba(255, 71, 127, 0.24);
}

.runway-copy::after {
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(18px, 4vw, 42px);
  width: clamp(34px, 5vw, 62px);
  background: rgba(112, 255, 134, 0.22);
  box-shadow: 0 18px 38px rgba(112, 255, 134, 0.12);
}

.kicker {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 230, 109, 0.16);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.075em;
}

h1 {
  max-width: 700px;
  font-size: clamp(2.6rem, 6.4vw, 5.8rem);
}

h2 {
  font-size: clamp(2.2rem, 6vw, 5.8rem);
}

p {
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.runway-copy > p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
}

.screen-stack {
  position: relative;
  min-height: clamp(500px, 54vw, 660px);
}

.screen-stack::before {
  content: "RUN";
  position: absolute;
  left: 4%;
  top: 7%;
  color: rgba(255, 230, 109, 0.22);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  transform: rotate(-12deg);
}

.screen-stack::after {
  content: "BALANCE";
  position: absolute;
  right: 0;
  bottom: 10%;
  color: rgba(112, 255, 134, 0.24);
  font-size: clamp(1.4rem, 4vw, 3.4rem);
  font-weight: 950;
  letter-spacing: 0.08em;
  transform: rotate(9deg);
}

.shot {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 8px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 36%);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #151783;
}

.shot-main {
  inset: 2% 18% 2% 13%;
  z-index: 3;
}

.shot-top,
.shot-bottom {
  width: 34%;
  height: 44%;
  opacity: 0.86;
}

.shot-top {
  top: 0;
  right: 0;
  transform: rotate(8deg);
}

.shot-bottom {
  left: 0;
  bottom: 4%;
  transform: rotate(-9deg);
}

.motion-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.motion-strip article,
.board-list p,
.gallery-lane,
.challenge-board {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 18px 54px rgba(10, 12, 70, 0.18);
  backdrop-filter: blur(14px);
}

.motion-strip article {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
}

.motion-strip article::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 120px;
  aspect-ratio: 1;
  border-radius: 28px;
  background: rgba(255, 230, 109, 0.15);
  transform: rotate(18deg);
}

.motion-strip article:nth-child(2)::after {
  background: rgba(255, 71, 127, 0.16);
}

.motion-strip article:nth-child(3)::after {
  background: rgba(112, 255, 134, 0.14);
}

.motion-strip span {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.motion-strip strong {
  display: block;
  margin-top: 18px;
  color: var(--text);
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.motion-strip p {
  margin-bottom: 0;
}

.challenge-board {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: clamp(22px, 5vw, 58px);
  padding: clamp(28px, 6vw, 70px);
  border-radius: var(--radius-xl);
}

.challenge-board::before {
  content: "";
  position: absolute;
  inset: auto -8% -16% 48%;
  height: 120px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 230, 109, 0.22), rgba(255, 71, 127, 0.16), transparent);
  transform: rotate(-8deg);
}

.challenge-board > * {
  position: relative;
  z-index: 1;
}

.board-copy p:not(.kicker) {
  max-width: 680px;
}

.board-list {
  display: grid;
  gap: 12px;
  align-content: center;
}

.board-list p {
  margin: 0;
  padding: clamp(18px, 3vw, 26px);
  border-radius: 24px;
}

.board-list strong {
  color: var(--yellow);
}

.gallery-lane {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
  padding: clamp(22px, 5vw, 52px);
  border-radius: var(--radius-xl);
}

.gallery-lane img {
  width: min(100%, 310px);
  justify-self: center;
  border: 8px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.gallery-lane p:not(.kicker) {
  max-width: 720px;
}

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

[data-reveal].is-visible,
html:not(.js-ready) [data-reveal] {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 3px solid rgba(255, 230, 109, 0.5);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .topbar {
    top: 0;
    border-radius: 0 0 24px 24px;
  }

  .runway,
  .challenge-board,
  .gallery-lane {
    grid-template-columns: 1fr;
  }

  .runway {
    min-height: auto;
  }

  .screen-stack {
    min-height: 580px;
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .motion-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .topbar {
    width: 100%;
  }

  .brand {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar span {
    display: none;
  }

  .runway-copy,
  .challenge-board,
  .gallery-lane {
    padding: 24px 18px;
    border-radius: 30px;
  }

  .screen-stack {
    min-height: 500px;
  }

  .shot-main {
    inset: 2% 16% 2%;
  }

  .shot-top,
  .shot-bottom {
    width: 32%;
    height: 36%;
  }
}

@media (max-width: 390px) {
  .screen-stack {
    min-height: 450px;
  }

  .shot {
    border-width: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
