.exiles {
  --exiles-dark: #081719;
  --exiles-cream: #f5f2e7;
  --exiles-orange: #FF7B00;
  background: var(--exiles-dark);
  color: var(--exiles-cream);
}

.exiles-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, #071517 2%, rgb(7 21 23 / 94%) 24%, rgb(7 21 23 / 38%) 74%, rgb(7 21 23 / 53%)),
    url('../backgrounds/tropical.jpg') center 44% / cover no-repeat,
    var(--exiles-dark);
}

.exiles-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, var(--exiles-dark), transparent 32%);
  content: "";
}

.exiles .container {
  max-width: 1200px;
}

.exiles-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  min-height: clamp(40rem, calc(100svh - 86px), 55rem);
  padding-block: clamp(4rem, 7vw, 7rem);
}

.exiles-release {
  margin-bottom: 1.65rem;
  color: var(--exiles-orange);
  font: 700 .9rem/1.4 var(--sans);
  letter-spacing: .19em;
  text-transform: uppercase;
}

.exiles-lockup {
  width: min(100%, clamp(17rem, 34vw, 28rem));
  container-type: inline-size;
}

.exiles-title {
  margin: 0 0 .95rem;
}

.exiles-title img {
  width: 100%;
  height: auto;
}

.exiles-authors {
  width: max-content;
  margin: 0;
  font: 700 1rem/1.2 var(--serif);
  font-size: 9.24cqi;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.exiles-author-ampersand {
  color: var(--exiles-orange);
}

.exiles-hook {
  max-width: 31ch;
  margin: clamp(1.75rem, 4.5vw, 3.75rem) 0 1.55rem;
  color: #e5eeea;
  font-size: clamp(1.125rem, 2vw, 1.4rem);
  line-height: 1.45;
  text-wrap: pretty;
}

.exiles-decipher-text {
  display: block;
}

.exiles-deciphering {
  position: relative;
}

.exiles-decipher-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
}

.exiles-decipher-overlay > span {
  position: absolute;
  color: rgb(255 255 255 / 68%);
  font: 600 1em/1 ui-monospace, monospace;
  text-align: center;
  text-transform: none;
  transform: translateY(-50%);
}

.exiles-decipher-overlay > .exiles-decipher-flash {
  color: #fff;
  font: inherit;
  line-height: 1;
  text-align: left;
  text-transform: inherit;
  text-shadow: 0 0 .28em rgb(255 255 255 / 38%);
}

.exiles-publishers {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.exiles-publishers a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: .55rem .8rem;
  border: 1px solid rgb(245 242 231 / 42%);
  background: rgb(8 23 25 / 55%);
  color: var(--exiles-orange);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .08em;
  transition: background-color .2s, border-color .2s;
}

.exiles-publishers a span {
  margin-left: .65rem;
  padding-left: .65rem;
  border-left: 1px solid rgb(245 242 231 / 30%);
  color: var(--exiles-cream);
  font-weight: 600;
  letter-spacing: 0;
}

.exiles-publishers a:hover,
.exiles-publishers a:focus-visible {
  border-color: var(--exiles-orange);
  background: #254043;
}

.exiles-publishers a:focus-visible {
  outline: 2px solid var(--exiles-orange);
  outline-offset: 4px;
}

.exiles-cover {
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: min(76%, 22rem);
}

.exiles-cover::before {
  position: absolute;
  z-index: -1;
  /* The cover is about 1.54 times as tall as it is wide. */
  inset: -5% -7.7%;
  border: 1px solid rgb(213 244 233 / 24%);
  background:
    linear-gradient(to right, #dbfcf4 22px, transparent 22px) left top / 100% 1px no-repeat,
    linear-gradient(to bottom, #dbfcf4 22px, transparent 22px) left top / 1px 100% no-repeat,
    linear-gradient(to left, #dbfcf4 22px, transparent 22px) right bottom / 100% 1px no-repeat,
    linear-gradient(to top, #dbfcf4 22px, transparent 22px) right bottom / 1px 100% no-repeat;
  content: "";
}

.exiles-cover img {
  width: 100%;
  height: auto;
  box-shadow: 0 0 0 1px rgb(245 242 231 / 22%), 22px 30px 58px rgb(0 0 0 / 55%);
}

.exiles-story {
  display: grid;
  grid-template-columns: minmax(10rem, .55fr) minmax(0, 1fr);
  gap: 2rem 5%;
  padding-block: clamp(3.5rem, 8vw, 7rem);
  border-top: 1px solid rgb(213 244 233 / 25%);
}

.page-one .exiles-story h2 {
  margin: 0;
  color: var(--exiles-orange);
  font: 700 clamp(2.75rem, 6vw, 5.75rem)/.92 var(--serif);
  letter-spacing: -.025em;
}

.exiles-synopsis {
  max-width: 66ch;
  color: #c9d9d6;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
}

.exiles-synopsis p {
  margin: 0 0 1.2em;
  line-height: 1.62;
}

.exiles-synopsis p:first-child {
  color: var(--exiles-cream);
}

.exiles-synopsis p:last-child {
  margin-bottom: 0;
}

.exiles-finale {
  padding-block: clamp(4.5rem, 10vw, 9rem);
  border-block: 1px solid rgb(213 244 233 / 18%);
  background:
    linear-gradient(180deg, rgb(8 23 25 / 95%), rgb(8 23 25 / 74%) 58%, #081719),
    url('../backgrounds/tropical.jpg') center 50% / cover no-repeat;
  text-align: center;
}

.exiles-countdown {
  max-width: 16ch;
  margin: 0 auto .28em;
  color: var(--exiles-orange);
  font: 800 clamp(3.25rem, 8.5vw, 7.75rem)/.89 var(--serif);
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-wrap: balance;
}

.exiles-stakes {
  max-width: 39ch;
  margin: 0 auto;
  font-size: clamp(1.125rem, 2.55vw, 1.75rem);
  line-height: 1.4;
  text-wrap: balance;
}

.exiles-series {
  max-width: 53ch;
  margin: 1.8rem auto 0;
  padding-top: 1.8rem;
  border-top: 1px solid rgb(213 244 233 / 25%);
  color: #c9d9d6;
  font-size: clamp(1rem, 1.6vw, 1.175rem);
  text-wrap: pretty;
}

@media (max-width: 760px) {
  .exiles-hero {
    background:
      linear-gradient(180deg, #071517 9%, rgb(7 21 23 / 71%) 56%, rgb(7 21 23 / 30%) 79%),
      url('../backgrounds/tropical.jpg') 61% center / cover no-repeat,
      var(--exiles-dark);
  }

  .exiles-hero-grid,
  .exiles-story {
    grid-template-columns: minmax(0, 1fr);
  }

  .exiles-hero-grid {
    min-height: 0;
    gap: 3.6rem;
    padding-block: 3.5rem 4rem;
  }

  .exiles-intro {
    text-align: center;
  }

  .exiles-lockup,
  .exiles-authors,
  .exiles-hook {
    margin-inline: auto;
  }

  .exiles-publishers {
    justify-content: center;
  }

  .exiles-cover {
    width: min(69%, 16rem);
  }
}

@media (max-width: 450px) {
  .exiles-publishers {
    flex-direction: column;
    align-items: center;
  }

  .exiles-publishers a {
    width: min(100%, 14rem);
    justify-content: center;
  }
}
