@font-face {
  font-family: "Bebas Neue";
  src: url("./public/fonts/bebas-neue.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Inter, "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01";
  --background: #030405;
  --foreground: #f0f0ed;
  --muted: #85898d;
  --accent: #9bc9ff;
  --rule: rgba(222, 232, 240, 0.17);
  --content: 1180px;
  --reading: 740px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--background);
  background: var(--accent);
}

.page-shell {
  width: min(100%, 1600px);
  margin-inline: auto;
  padding-inline: clamp(22px, 6.4vw, 100px);
}

.content-width {
  width: min(100%, var(--content));
  margin-inline: auto;
}

.reading-width {
  width: min(100%, var(--reading));
  margin-inline: auto;
}

.hero {
  display: grid;
  min-height: min(100svh, 1000px);
  place-items: center;
  padding-block: 80px 118px;
  text-align: center;
}

.hero__content {
  transform: translateY(2vh);
}

.hero__title,
.story__title,
.manifesto__opening,
.market__title,
.footer p {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  color: #f4f4f0;
  font-size: clamp(8.2rem, 21vw, 19rem);
  line-height: 0.75;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.hero__tagline {
  margin: clamp(26px, 4vw, 46px) 0 0;
  padding-left: 0.36em;
  color: #a5a9ac;
  font-size: clamp(0.64rem, 1vw, 0.8rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.36em;
}

.stories {
  padding-top: clamp(30px, 5vw, 74px);
}

.story + .story {
  margin-top: clamp(150px, 24vw, 300px);
}

.story__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  align-items: end;
  gap: clamp(18px, 4vw, 56px);
}

.story__title {
  min-width: 0;
  margin: 0;
  color: #f2f2ef;
  font-size: clamp(7rem, 12vw, 11.25rem);
  line-height: 0.72;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.story--old .story__title {
  color: #d8d8d6;
}

.story__lines {
  display: grid;
  gap: 6px;
  margin: 0 0 0.14em;
  padding: 0;
  list-style: none;
}

.story__lines li {
  display: flex;
  align-items: baseline;
  gap: 0.72em;
  color: #d3d7d9;
  font-size: clamp(0.62rem, 0.88vw, 0.76rem);
  font-weight: 450;
  line-height: 1.9;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.story__lines li::before {
  content: "·";
  color: var(--accent);
  font-size: 1.25em;
  line-height: 0;
}

.story--old .story__lines li {
  color: #95999c;
}

.story--new .story__title {
  color: #fafaf7;
}

.story-gallery {
  display: grid;
  gap: clamp(8px, 1.25vw, 18px);
  margin-top: clamp(55px, 9vw, 120px);
}

.story-gallery--old {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-gallery--new {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 820px);
  margin-left: auto;
}

.story-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #05090e;
  opacity: 0.82;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 86%, transparent 100%);
}

.manifesto {
  padding-block: clamp(150px, 23vw, 300px) clamp(145px, 21vw, 270px);
  text-align: center;
}

.manifesto__opening {
  margin: 0;
  color: #f3f3ef;
  font-size: clamp(4.2rem, 8.6vw, 8rem);
  line-height: 0.86;
  letter-spacing: -0.02em;
}

.manifesto__body {
  margin: 37px 0 0;
  color: #b5b9ba;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  font-weight: 400;
  line-height: 2.05;
  letter-spacing: 0.035em;
}

.manifesto__closing {
  max-width: 630px;
  margin: 38px auto 0;
  color: var(--accent);
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: 0.025em;
}

.market {
  padding-block: clamp(95px, 14vw, 180px) clamp(35px, 6vw, 78px);
  text-align: center;
}

.market__title {
  max-width: 100%;
  margin: 0;
  color: #f5f5f2;
  font-size: clamp(5.2rem, 13vw, 12rem);
  line-height: 0.78;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.market__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(58px, 9vw, 110px) 0 0;
}

.market__wallet {
  display: grid;
  width: min(100%, 480px);
  min-height: 46px;
  place-items: center;
  margin: clamp(100px, 14vw, 170px) auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(240, 240, 237, 0.62);
  color: var(--foreground);
  font-size: clamp(0.62rem, 1.1vw, 0.88rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.metric {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 0 18px;
}

.metric + .metric {
  border-left: 1px solid var(--rule);
}

.metric__label {
  color: #92979a;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.metric__value {
  margin: 0;
  color: #f0f0ed;
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(3.1rem, 6vw, 5.2rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

.footer {
  padding-block: clamp(170px, 27vw, 340px) clamp(90px, 14vw, 170px);
  text-align: center;
}

.footer p {
  margin: 0 auto;
  color: #f4f4f1;
  font-size: clamp(4rem, 10vw, 9.25rem);
  line-height: 0.88;
  letter-spacing: -0.025em;
}

.motion-enabled .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.motion-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .hero {
    min-height: min(88svh, 780px);
    padding-block: 70px 95px;
  }

  .hero__title {
    font-size: clamp(5.2rem, 20vw, 9.6rem);
  }

  .hero__tagline {
    margin-top: 25px;
    font-size: 0.62rem;
    letter-spacing: 0.29em;
  }

  .story + .story {
    margin-top: 175px;
  }

  .story__intro {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .story__title {
    font-size: clamp(7rem, 18vw, 10rem);
  }

  .story__lines {
    margin: 0;
  }

  .story__lines li {
    font-size: 0.69rem;
    line-height: 1.85;
  }

  .story-gallery {
    margin-top: 55px;
  }

  .manifesto {
    padding-block: 180px 170px;
  }

  .manifesto__opening {
    font-size: clamp(4.2rem, 12vw, 6.5rem);
  }

  .market {
    padding-top: 120px;
  }

  .market__title {
    font-size: clamp(4.4rem, 13vw, 7.5rem);
  }

  .metric {
    padding-inline: 10px;
  }

  .metric__label {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
  }

  .footer {
    padding-block: 200px 110px;
  }

  .footer p {
    font-size: clamp(4.3rem, 13vw, 7rem);
  }
}

@media (max-width: 540px) {
  .page-shell {
    padding-inline: 20px;
  }

  .hero {
    min-height: 78svh;
    padding-block: 55px 75px;
  }

  .hero__title {
    font-size: clamp(5rem, 20vw, 7.3rem);
  }

  .hero__tagline {
    font-size: 0.57rem;
    letter-spacing: 0.25em;
  }

  .stories {
    padding-top: 48px;
  }

  .story + .story {
    margin-top: 135px;
  }

  .story__intro {
    gap: 23px;
  }

  .story__title {
    font-size: clamp(5.5rem, 18vw, 7.4rem);
  }

  .story__lines li {
    font-size: 0.62rem;
    letter-spacing: 0.15em;
  }

  .story-gallery {
    gap: 6px;
    margin-top: 40px;
  }

  .manifesto {
    padding-block: 140px 135px;
    text-align: center;
  }

  .manifesto__opening {
    font-size: clamp(4rem, 16vw, 5.8rem);
  }

  .manifesto__body {
    margin-top: 27px;
    font-size: 0.91rem;
    line-height: 1.9;
  }

  .manifesto__closing {
    margin-top: 28px;
    font-size: 0.91rem;
    line-height: 1.8;
  }

  .market {
    padding-block: 75px 22px;
  }

  .market__title {
    font-size: clamp(3.8rem, 13.2vw, 5.6rem);
    letter-spacing: -0.01em;
  }

  .market__metrics {
    margin-top: 52px;
  }

  .metric {
    gap: 12px;
    padding-inline: 5px;
  }

  .metric + .metric {
    border-left-color: rgba(222, 232, 240, 0.12);
  }

  .metric__label {
    font-size: 0.52rem;
    letter-spacing: 0.1em;
  }

  .metric__value {
    font-size: 3.2rem;
  }

  .footer {
    padding-block: 170px 82px;
  }

  .footer p {
    font-size: clamp(4rem, 15vw, 5.7rem);
  }
}

@media (max-width: 400px) {
  .market__title {
    font-size: clamp(2.55rem, 12.4vw, 3.1rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .motion-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}
