:root {
  --ink: #0b1220;
  --paper: #f2efe8;
  --blue: #075593;
  --blue-deep: #033f6c;
  --accent: #e85d04;
  --white: #ffffff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Archivo, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  z-index: 100;
}

.skip-link:focus {
  top: 0.75rem;
}

/* ---------- Full-bleed stage ---------- */
.stage {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.stage-media {
  position: absolute;
  inset: 0;
}

.stage-media .shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1s var(--ease);
}

.stage-media .shot.is-active {
  opacity: 1;
  animation: drift 22s var(--ease) infinite alternate;
}

.stage-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 40, 70, 0.45) 0%, rgba(3, 40, 70, 0.62) 40%, rgba(3, 40, 70, 0.88) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(7, 85, 147, 0.28), transparent 55%);
}

.stage-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 56rem);
  padding: 4rem 0 5rem;
}

.brand-logo {
  display: block;
  width: clamp(11rem, 28vw, 16rem);
  height: auto;
  margin: 0 auto 1.5rem;
  animation: rise 0.9s var(--ease) both;
}

.line-cycle {
  position: relative;
  margin: 0;
  min-height: 1.15em;
  font-family: "Bebas Neue", Archivo, sans-serif;
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.line-cycle .line {
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(18%);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.line-cycle .line.is-active {
  position: relative;
  opacity: 1;
  transform: none;
}

.scroll-cue {
  display: inline-flex;
  margin-top: 3.5rem;
  width: 1.5rem;
  height: 2.4rem;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  text-decoration: none;
  animation: rise 1s 0.4s var(--ease) both;
}

.scroll-cue span {
  display: block;
  width: 0.3rem;
  height: 0.3rem;
  margin: 0.45rem auto 0;
  border-radius: 50%;
  background: var(--white);
  animation: cue 1.6s ease-in-out infinite;
}

@keyframes drift {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.2%, -1%, 0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.2rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    transform: translateY(0.85rem);
    opacity: 0.2;
  }
}

/* ---------- Film / video ---------- */
.film {
  background: #02060d;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.film-frame {
  position: relative;
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(7, 85, 147, 0.35), transparent 42%),
    linear-gradient(160deg, rgba(3, 40, 70, 0.55), rgba(2, 6, 13, 0.82)),
    url("/images/athlete-sprint.jpg") center / cover;
}

.play {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  cursor: not-allowed;
  animation: pulse 2.6s ease-in-out infinite;
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.75rem 0 0.75rem 1.25rem;
  border-color: transparent transparent transparent #fff;
  margin-left: 0.25rem;
}

.film-label {
  position: absolute;
  left: 1.25rem;
  bottom: 1.1rem;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.28);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
  }
}

/* ---------- Office strip ---------- */
.offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #02060d;
}

.offices img {
  width: 100%;
  height: clamp(10rem, 28vw, 18rem);
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

@media (max-width: 640px) {
  .offices {
    grid-template-columns: 1fr;
  }

  .offices img {
    height: 12rem;
  }
}

/* ---------- Pitch ---------- */
.pitch {
  padding: clamp(4.5rem, 12vw, 8rem) 1.25rem;
  background:
    linear-gradient(135deg, rgba(7, 85, 147, 0.08), transparent 40%),
    var(--paper);
}

.pitch-inner {
  width: min(100%, 38rem);
  margin: 0 auto;
  text-align: center;
}

.pitch h2 {
  margin: 0 0 1.25rem;
  font-family: "Bebas Neue", Archivo, sans-serif;
  font-size: clamp(2.4rem, 6.5vw, 4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.pitch p {
  margin: 0 0 1.1rem;
  color: #3a4454;
}

.pitch em {
  font-style: normal;
  font-weight: 700;
  color: var(--blue);
}

.pitch-offer {
  margin-top: 1.75rem !important;
  margin-bottom: 0 !important;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink) !important;
}

.roller {
  position: relative;
  margin: 2.25rem auto 0;
  width: min(100%, 28rem);
  min-height: 1.15em;
  overflow: hidden;
  font-family: "Bebas Neue", Archivo, sans-serif;
  font-size: clamp(2rem, 5.5vw, 3.15rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--blue);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.roller::before,
.roller::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(7, 85, 147, 0.45), transparent);
  z-index: 2;
  pointer-events: none;
}

.roller::before {
  top: 0;
}

.roller::after {
  bottom: 0;
}

.roller-item {
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(110%);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
}

.roller-item.is-active {
  position: relative;
  opacity: 1;
  transform: none;
}

.roller-item.is-exit {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(-110%);
}

/* ---------- Footer ---------- */
.foot {
  padding: 1.75rem 1.25rem 2.25rem;
  text-align: center;
  border-top: 1px solid rgba(3, 63, 108, 0.12);
  background: var(--white);
}

.foot img {
  width: 9.5rem;
  height: auto;
  margin: 0 auto 0.85rem;
  opacity: 0.9;
}

.foot p {
  margin: 0;
  font-size: 0.85rem;
  color: #667084;
}

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

  .stage-media .shot,
  .scroll-cue span,
  .play,
  .brand-logo,
  .scroll-cue {
    animation: none;
  }

  .stage-media .shot.is-active {
    animation: none;
  }

  .line-cycle .line,
  .roller-item {
    transition: none;
  }
}

/* cache-bust v3 */
