@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #090516;
  --violet: #3817ff;
  --acid: #dfff00;
  --white: #f8f7ff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--night);
  color: var(--white);
  font-family: "Archivo", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  overflow-x: clip;
  background: var(--night);
  isolation: isolate;
}

.film,
.film-poster,
.aerial-video,
.violet-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.film {
  z-index: -4;
  background: var(--night);
}

.film-poster {
  background: url("../assets/video/pools-aerial-poster.jpg") center / cover no-repeat;
  filter: grayscale(1) contrast(1.28) brightness(0.58);
  transform: scale(1.015);
}

.aerial-video {
  z-index: 1;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.28) brightness(0.58);
}

.violet-wash {
  z-index: -3;
  background:
    linear-gradient(100deg, rgba(9, 5, 22, 0.82) 0%, rgba(9, 5, 22, 0.06) 48%, rgba(9, 5, 22, 0.45) 100%),
    linear-gradient(180deg, rgba(56, 23, 255, 0.28), rgba(56, 23, 255, 0.92));
  mix-blend-mode: hard-light;
}

.frame {
  position: absolute;
  inset: 16px;
  z-index: 4;
  border: 1px solid rgba(248, 247, 255, 0.42);
  pointer-events: none;
}

.frame::before,
.frame::after {
  position: absolute;
  background: var(--acid);
  content: "";
}

.frame::before {
  top: -1px;
  left: 29%;
  width: 13%;
  height: 3px;
}

.frame::after {
  right: -1px;
  bottom: 22%;
  width: 3px;
  height: 15%;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 38px 48px 0;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.15;
}

.brand strong {
  color: var(--acid);
  font-weight: 750;
}

.brand-index {
  display: grid;
  width: 36px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--acid);
  background: rgba(9, 5, 22, 0.2);
  color: var(--acid);
  font-size: 0.66rem;
  letter-spacing: 0;
}

.broadcast {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: center;
  margin: 0;
  font-size: 0.59rem;
  font-weight: 650;
  letter-spacing: 0.16em;
}

.broadcast i {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(223, 255, 0, 0.14);
  animation: signal 1.8s ease-in-out infinite;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
  padding: 9px 0;
  border-bottom: 1px solid rgba(248, 247, 255, 0.65);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  transition: color 220ms ease, border-color 220ms ease;
}

.top-link span {
  color: var(--acid);
  font-size: 0.95rem;
}

.top-link:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.hero-copy {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100dvh;
  padding: clamp(120px, 14vh, 166px) 48px 42px;
}

.side-note {
  position: absolute;
  top: 22%;
  right: 48px;
  margin: 0;
  padding-right: 15px;
  border-right: 2px solid var(--acid);
  font-size: 0.64rem;
  font-weight: 670;
  letter-spacing: 0.13em;
  line-height: 1.55;
  text-align: right;
  text-transform: uppercase;
}

h1 {
  align-self: center;
  margin: -3vh 0 0;
  font-weight: 900;
  text-transform: uppercase;
}

.time {
  display: flex;
  align-items: center;
  gap: 0.035em;
  width: max-content;
  max-width: 100%;
  color: transparent;
  font-size: clamp(11.5rem, 23vw, 20.5rem);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
  line-height: 0.7;
  -webkit-text-stroke: 2px rgba(248, 247, 255, 0.88);
}

.digit {
  display: block;
  line-height: 0.7;
}

.colon {
  display: flex;
  flex: 0 0 0.105em;
  flex-direction: column;
  align-items: center;
  gap: 0.095em;
  justify-content: center;
  width: 0.105em;
  height: 0.45em;
  margin: 0 0.025em;
  transform: translateY(0.015em);
}

.colon b {
  display: block;
  width: 0.058em;
  aspect-ratio: 1;
  border: 2px solid rgba(248, 247, 255, 0.88);
}

.claim {
  display: block;
  width: max-content;
  margin: -0.05em 0 0 clamp(12px, 9vw, 128px);
  color: var(--acid);
  font-size: clamp(3.3rem, 7.8vw, 7.2rem);
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-shadow: 0 8px 35px rgba(9, 5, 22, 0.32);
}

.lower-rail {
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) 1fr auto;
  align-items: end;
  gap: 6vw;
  padding-top: 24px;
  border-top: 1px solid rgba(248, 247, 255, 0.48);
}

.statement {
  max-width: 340px;
  margin: 0;
  font-size: clamp(0.76rem, 0.9vw, 0.88rem);
  font-weight: 480;
  line-height: 1.55;
}

.scope {
  display: flex;
  gap: clamp(16px, 3vw, 42px);
  margin: 0;
  color: rgba(248, 247, 255, 0.72);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scope span::before {
  margin-right: 7px;
  color: var(--acid);
  content: "/";
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  justify-content: space-between;
  min-width: 238px;
  padding: 19px 20px;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: var(--night);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-cta span {
  font-size: 1rem;
}

.primary-cta:hover {
  background: var(--violet);
  color: var(--white);
  transform: translateY(-3px);
}

.primary-cta:active {
  transform: translateY(1px);
}

.edge-type {
  position: absolute;
  top: 50%;
  left: 4px;
  z-index: 6;
  margin: 0;
  color: rgba(248, 247, 255, 0.6);
  font-size: 0.48rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translate(-45%, -50%) rotate(-90deg);
}

@keyframes signal {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.72); }
}

@media (max-width: 820px) {
  .film-poster,
  .aerial-video {
    object-position: 52% center;
    background-position: 52% center;
  }

  .violet-wash {
    background:
      linear-gradient(180deg, rgba(9, 5, 22, 0.58) 0%, rgba(9, 5, 22, 0.02) 42%, rgba(9, 5, 22, 0.92) 100%),
      rgba(56, 23, 255, 0.62);
  }

  .frame {
    inset: 10px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 27px 25px 0;
  }

  .broadcast {
    display: none;
  }

  .top-link {
    font-size: 0;
  }

  .top-link span {
    font-size: 1.1rem;
  }

  .hero-copy {
    grid-template-rows: 1fr auto;
    min-height: 100dvh;
    padding: 115px 25px 26px;
  }

  .side-note {
    top: 17%;
    right: 25px;
    font-size: 0.5rem;
  }

  h1 {
    margin-top: -5vh;
  }

  .time {
    gap: 0.028em;
    font-size: clamp(6.65rem, 30.5vw, 7.35rem);
    -webkit-text-stroke-width: 1.4px;
  }

  .colon b {
    border-width: 1.4px;
  }

  .claim {
    margin-top: 0.05em;
    margin-left: 4px;
    font-size: clamp(2.25rem, 10.5vw, 3.35rem);
    line-height: 0.86;
  }

  .lower-rail {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 17px;
  }

  .statement {
    max-width: 285px;
    font-size: 0.72rem;
  }

  .scope {
    display: none;
  }

  .primary-cta {
    width: 100%;
    min-width: 0;
    padding: 17px 18px;
  }

  .edge-type {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aerial-video {
    display: none;
  }

  .broadcast i {
    animation: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
