@font-face {
  font-family: "Anton";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/assets/anton-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/geist-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  color: #fff;
  background: #000;
  font-family: "Geist", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  color-scheme: dark;
  --red: #ed1b24;
  --red-bright: #fd1d27;
  --motion-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: #000;
}

body {
  min-height: 100svh;
}

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

.campaign {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
}

.campaign__media,
.campaign__shade {
  position: absolute;
  inset: 0;
}

.campaign__media {
  z-index: -2;
  overflow: hidden;
}

.campaign__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: media-reveal 900ms var(--motion-ease) both;
}

.campaign__shade {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      #000 0%,
      rgb(0 0 0 / 98%) 22%,
      rgb(0 0 0 / 78%) 46%,
      rgb(0 0 0 / 12%) 76%
    ),
    linear-gradient(0deg, rgb(0 0 0 / 82%) 0%, transparent 38%);
}

.campaign__content {
  display: grid;
  width: min(100%, 1720px);
  min-height: 100svh;
  align-content: center;
  justify-items: start;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 5.5rem);
}

.campaign__mark {
  width: clamp(70px, 6.5vw, 108px);
  margin-bottom: clamp(1rem, 2.5vh, 1.75rem);
  filter: drop-shadow(0 14px 34px rgb(0 0 0 / 72%));
  animation: content-rise 520ms 80ms var(--motion-ease) both;
}

.campaign__eyebrow {
  margin: 0 0 0.55rem;
  color: var(--red-bright);
  font-size: 0.69rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: content-rise 520ms 140ms var(--motion-ease) both;
}

.campaign__wordmark {
  display: grid;
  width: max-content;
  max-width: 100%;
  justify-items: stretch;
}

.campaign h1,
.campaign__status {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.campaign h1 {
  max-width: 700px;
  font-size: clamp(5.4rem, 8.8vw, 9.7rem);
  line-height: 1;
  animation: content-rise 620ms 180ms var(--motion-ease) both;
}

.campaign h1 span,
.campaign__creed span {
  display: block;
}

.campaign h1 span {
  min-height: 1em;
  padding: 0.025em 0 0.055em;
  color: #fff;
  line-height: 0.92;
}

.campaign h1 span + span {
  margin-top: -0.035em;
  color: var(--red);
}

.campaign__rule {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: clamp(0.35rem, 0.9vh, 0.65rem);
  background: var(--red);
  box-shadow: 0 0 12px rgb(237 27 36 / 22%);
  transform-origin: left;
  animation: rule-reveal 560ms 360ms var(--motion-ease) both;
}

.campaign__status {
  margin-top: clamp(0.35rem, 0.9vh, 0.65rem);
  color: #fff;
  font-size: clamp(2.5rem, 4.5vw, 4.85rem);
  line-height: 1.08;
  animation: content-rise 620ms 300ms var(--motion-ease) both;
}

.campaign__creed {
  margin: clamp(0.75rem, 1.8vh, 1.25rem) 0 0;
  color: rgb(255 255 255 / 72%);
  font-size: clamp(0.74rem, 1vw, 0.95rem);
  font-weight: 760;
  letter-spacing: 0.075em;
  line-height: 1.45;
  text-transform: uppercase;
  animation: content-rise 620ms 380ms var(--motion-ease) both;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .campaign h1 span,
  .campaign__status {
    background-image:
      url("/assets/fbi-type-fracture-v2.webp"),
      linear-gradient(180deg, #fff 0%, #e8e8e4 100%);
    background-position: center;
    background-size:
      300px 300px,
      100% 100%;
    background-blend-mode: multiply;
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .campaign h1 span + span {
    background-image:
      url("/assets/fbi-type-fracture-v2.webp"),
      linear-gradient(180deg, var(--red-bright) 0%, #d70d16 100%);
  }
}

@keyframes media-reveal {
  from {
    opacity: 0.45;
    transform: scale(1.025);
  }
}

@keyframes content-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes rule-reveal {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
}

@media (max-width: 760px) {
  .campaign {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .campaign__shade {
    background:
      linear-gradient(
        0deg,
        #000 0%,
        rgb(0 0 0 / 98%) 38%,
        rgb(0 0 0 / 68%) 60%,
        rgb(0 0 0 / 7%) 82%
      ),
      linear-gradient(90deg, rgb(0 0 0 / 82%) 0%, transparent 72%);
  }

  .campaign__media img {
    object-position: center top;
  }

  .campaign__content {
    align-content: end;
    padding: clamp(10rem, 23svh, 12.5rem) 18px
      calc(24px + env(safe-area-inset-bottom));
  }

  .campaign__mark {
    width: 62px;
    margin-bottom: 0.85rem;
  }

  .campaign__eyebrow {
    margin-bottom: 0.42rem;
  }

  .campaign h1 {
    font-size: clamp(4rem, 19vw, 5.35rem);
  }

  .campaign__status {
    font-size: clamp(2.25rem, 10.5vw, 3rem);
  }

  .campaign__creed {
    margin-top: 1rem;
    font-size: 0.7rem;
    line-height: 1.4;
  }
}

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