@font-face {
  font-family: "ABC Asfalt";
  src: url("assets/fonts/ABCAsfalt-CondensedRegular-Trial.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sans Plomb";
  src: url("assets/fonts/SansPlomb_TRIAL-CondensedLight.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sans Plomb";
  src: url("assets/fonts/SansPlomb_TRIAL-CondensedBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cordier";
  src: url("assets/fonts/CordierScript-Linked-Trial.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

html {
  -webkit-font-smoothing: antialiased;
}

body {
  background: #b0ad95;
  color: #000;
}

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

a:hover {
  text-decoration: underline;
}

.page {
  --gutter: clamp(12px, 1.25vw, 24px);
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(32px, 3vw, 64px);
  background: #b0ad95;
}

/* Hero + details */

.hero {
  padding-top: clamp(48px, 6.8vw, 130px);
}

.hero__stage {
  position: relative;
  container-type: inline-size;
  width: 100%;
  --title-size: min(926px, calc(100cqw * 945 / 1917));
  --title-pull: clamp(40px, 5.5vw, 100px);
  --details-top: calc(var(--title-size) * 0.78 + 8px);
  min-height: calc(var(--details-top) + var(--title-size) * 48 / 950 - var(--title-pull));
}

.chance-title {
  font-family: "ABC Asfalt", sans-serif;
  font-size: var(--title-size);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: 0;
  color: #302855;
  white-space: nowrap;
  margin-top: calc(-1 * var(--title-pull));
}

.details {
  position: absolute;
  top: calc(var(--details-top) - var(--title-pull));
  left: 0;
  width: 100%;
  height: calc(var(--title-size) * 48 / 950);
  font-family: "Sans Plomb", sans-serif;
  font-weight: 300;
  font-size: calc(var(--title-size) * 24 / 950);
  line-height: 1.15;
}

.details__col {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Lock columns to C / A / N / E letter positions at all sizes */
.details__col--archive {
  left: 0;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.15em;
}

.details__col--motto {
  left: 31.03%;
}

.details__col--contact {
  left: 50.8%;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.15em;
}

.details__col--meta {
  left: 86%;
  white-space: nowrap;
}

.details__glyph {
  display: block;
  width: auto;
  height: 2em;
  flex-shrink: 0;
}

.details__text {
  display: flex;
  flex-direction: column;
}

.details__col--motto span {
  white-space: pre;
}

/* Rules */

.rule {
  border: none;
  border-top: 2.5px solid #302855;
  margin: clamp(8px, 1.25vw, 24px) 0;
}

/* Earth */

.earth {
  margin: 0;
  line-height: 0;
}

.earth img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1866 / 1493;
  object-fit: cover;
}

/* Blurb */

.blurb {
  padding: clamp(16px, 2vw, 32px) 0;
}

.blurb__text {
  font-family: "Sans Plomb", sans-serif;
  font-weight: 300;
  font-size: clamp(20px, 3.75vw, 72px);
  line-height: 1.15;
  white-space: nowrap;
}

.blurb__text strong {
  font-weight: 700;
}

.blurb__footnote {
  margin-top: clamp(8px, 1.25vw, 24px);
  max-width: 42em;
  font-family: "Sans Plomb", sans-serif;
  font-weight: 300;
  font-size: clamp(9px, 0.625vw, 12px);
  line-height: 1.3;
}

/* Archive + SOON */

.archive-block {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  container-type: inline-size;
  background: #302855;
  height: clamp(320px, 41.67vw, 800px);
  margin-top: clamp(16px, 2vw, 48px);
}

.soon {
  position: absolute;
  top: clamp(12px, 1.25vw, 24px);
  right: clamp(12px, 1.25vw, 24px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #6b3b47;
  border-radius: 6px;
  padding: clamp(6px, 0.75vw, 12px) clamp(10px, 1.25vw, 20px);
  pointer-events: none;
}

.soon__label {
  font-family: "Sans Plomb", sans-serif;
  font-weight: 300;
  font-size: clamp(18px, 2.5vw, 48px);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  margin: 0;
}

.archive-block__title {
  font-family: "ABC Asfalt", sans-serif;
  font-size: clamp(240px, 49.56cqw, 950px);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: 0;
  color: #c39e51;
  text-align: center;
  white-space: nowrap;
}

/* Quote */

.quote {
  position: relative;
  padding: clamp(16px, 2vw, 32px) 0 clamp(32px, 3vw, 64px);
  text-align: center;
  border: none;
}

.quote__text {
  font-family: "Cordier", cursive;
  font-size: clamp(20px, 2.5vw, 48px);
  line-height: 1.1;
  max-width: min(980px, 100%);
  margin: 0 auto;
  white-space: normal;
  overflow-wrap: break-word;
}

.quote__cite {
  display: block;
  margin-top: clamp(12px, 1.25vw, 24px);
  font-family: "Sans Plomb", sans-serif;
  font-weight: 300;
  font-size: clamp(10px, 0.625vw, 12px);
  font-style: normal;
  text-align: center;
}

/* Narrow viewports */

@media (max-width: 1100px) {
  .blurb__text {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .archive-block__title {
    font-size: clamp(200px, 52cqw, 320px);
  }
}
