.road100 {
  padding: 72px clamp(18px, 4vw, 64px);
  background:
    radial-gradient(
      circle at 50% 0,
      #13233a 0,
      #07101e 44%,
      #020812 100%
    );
  overflow: hidden;
}

.road100-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.road100-head small,
.century-copy span {
  color: #e3ad45;
  font: 800 12px Inter, sans-serif;
  letter-spacing: .2em;
}

.road100-head h2 {
  margin: 8px 0 0;
  color: #f4f7fb;
  font:
    900 clamp(28px, 4vw, 58px) / .95
    "Barlow Condensed",
    Impact,
    sans-serif;
}

.road100-intro {
  max-width: 670px;
  margin: 16px 0 0;
  color: #8fa0b4;
  font: 500 14px/1.65 Inter, sans-serif;
}

.road100-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font: 700 13px Inter, sans-serif;
  flex-shrink: 0;
}

.road100-controls button {
  width: 42px;
  height: 42px;

  border-radius: 50%;
  border: 1px solid #ffffff2c;

  background: #ffffff0d;
  color: #fff;

  font-size: 20px;
  cursor: pointer;

  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.road100-controls button:hover {
  background: #ffffff18;
  border-color: #e3ad4575;
  transform: scale(1.05);
}


/* ==============================
   SLIDER
   ============================== */

.road100-viewport {
  overflow-x: auto;

  scroll-snap-type: x mandatory;
  scrollbar-width: none;

  outline: none;

  overscroll-behavior-x: contain;
}

.road100-viewport::-webkit-scrollbar {
  display: none;
}

.road100-track {
  display: flex;
  gap: 18px;

  width: max-content;

  padding: 2px 0 20px;
}


/* ==============================
   CENTURY CARD
   ============================== */

.century-card {
  position: relative;

  width: min(72vw, 560px);
  height: clamp(390px, 54vw, 620px);

  flex: 0 0 auto;

  border-radius: 24px;
  overflow: hidden;

  scroll-snap-align: start;

  background: #0b1628;

  border: 1px solid #ffffff1a;

  box-shadow:
    0 22px 60px #0008;

  isolation: isolate;
}


/* ==============================
   IMAGE
   ============================== */

.century-image-wrap {
  position: absolute;
  inset: 0;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 50% 25%,
      #1b2d43,
      #07101e 70%
    );
}

.century-image {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center 28%;

  /*
   * SAME TREATMENT ON ALL 86 PHOTOS
   */
  filter:
    saturate(.72)
    contrast(1.12)
    brightness(.82);

  transform: scale(1.015);

  transition:
    transform 6s ease,
    filter .35s ease,
    opacity .35s ease;
}

.century-card:hover .century-image {
  transform: scale(1.055);

  filter:
    saturate(.82)
    contrast(1.14)
    brightness(.88);
}


/*
 * Gives photographs from different years/sources
 * a common cool cinematic appearance.
 */

.century-image-treatment {
  position: absolute;
  inset: 0;

  z-index: 1;

  pointer-events: none;

  background:
    linear-gradient(
      120deg,
      rgba(8, 25, 46, .34),
      rgba(2, 8, 18, .08) 45%,
      rgba(3, 13, 27, .28)
    );

  mix-blend-mode: multiply;
}


/*
 * Important:
 * Heavy lower gradient keeps score/opponent readable
 * regardless of the photograph.
 */

.century-shade {
  position: absolute;
  inset: 0;

  z-index: 2;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, .03) 0%,
      rgba(2, 8, 18, .04) 28%,
      rgba(2, 8, 18, .22) 52%,
      rgba(2, 8, 18, .78) 70%,
      rgba(2, 8, 18, .97) 100%
    );
}


/* ==============================
   FORMAT PILL
   ============================== */

.century-format {
  position: absolute;

  top: 22px;
  right: 22px;

  z-index: 4;

  padding: 8px 12px;

  border:
    1px solid
    rgba(255, 255, 255, .28);

  border-radius: 999px;

  background:
    rgba(2, 8, 18, .72);

  backdrop-filter: blur(8px);

  color: #fff;

  font:
    800 11px
    Inter,
    sans-serif;
}


/* ==============================
   TEXT
   ============================== */

.century-copy {
  position: absolute;

  left: clamp(22px, 4vw, 42px);
  right: 28px;
  bottom: clamp(24px, 4vw, 44px);

  z-index: 4;

  color: #fff;

  text-shadow:
    0 2px 18px
    rgba(0, 0, 0, .45);
}

.century-copy span {
  display: block;

  margin-bottom: 10px;
}

.century-copy strong {
  display: block;

  font:
    900 clamp(72px, 11vw, 132px) / .8
    "Barlow Condensed",
    Impact,
    sans-serif;

  letter-spacing: -.025em;
}

.century-copy h3 {
  margin: 14px 0 10px;

  max-width: 95%;

  font:
    900 clamp(24px, 4vw, 42px) / 1
    "Barlow Condensed",
    Impact,
    sans-serif;
}

.century-copy p,
.century-copy time {
  display: block;

  color: #d1dae5;

  font:
    600 13px/1.45
    Inter,
    sans-serif;
}

.century-copy p {
  margin:
    0 0
    5px;
}

.century-copy time {
  margin-top: 4px;
}


/* ==============================
   IMAGE FALLBACK
   ============================== */

.century-image-missing
.century-image-wrap {
  background:
    radial-gradient(
      circle at 50% 30%,
      #172c44,
      #07101e 65%,
      #020812
    );
}

.century-image-missing
.century-image {
  display: none;
}


/* ==============================
   #87 CARD
   ============================== */

.century-future {
  display: grid;

  place-items: center;

  text-align: center;

  color: #fff;

  background:
    radial-gradient(
      circle at 50% 35%,
      #7f5b1e55,
      transparent 32%
    ),
    #07101e;
}

.century-future span {
  color: #e3ad45;

  font:
    800 12px
    Inter,
    sans-serif;

  letter-spacing: .2em;
}

.future-ring {
  width: 160px;
  height: 160px;

  border:
    2px solid
    #e3ad45;

  border-radius: 50%;

  display: grid;
  place-items: center;

  margin-bottom: 20px;

  font:
    900 88px
    "Barlow Condensed",
    Impact,
    sans-serif;

  color: #e3ad45;

  box-shadow:
    0 0 60px
    rgba(227, 173, 69, .10);
}

.century-future h3 {
  margin:
    8px 0;

  font:
    900 38px
    "Barlow Condensed",
    Impact,
    sans-serif;
}

.century-future p {
  color: #aab7c7;
}


/* ==============================
   PROGRESS
   ============================== */

.road100-progress {
  height: 3px;

  background:
    #ffffff12;

  margin-top: 8px;

  overflow: hidden;
}

.road100-progress i {
  display: block;

  height: 100%;
  width: 1%;

  background:
    #e3ad45;

  transition:
    width .35s ease;
}


/* ==============================
   MOBILE
   ============================== */

@media (max-width: 700px) {

  .road100 {
    padding:
      48px
      16px;
  }

  .road100-head {
    align-items:
      flex-start;

    flex-direction:
      column;
  }

  .century-card {
    width: 84vw;
    height: 520px;
  }

  .century-copy strong {
    font-size:
      clamp(
        78px,
        25vw,
        112px
      );
  }

  .century-copy h3 {
    font-size:
      clamp(
        27px,
        9vw,
        38px
      );
  }
}