:root {
  --bg: #071721;
  --bg-deep: #050c12;
  --bg-ink: #040807;
  --surface: #0c202b;
  --surface-deep: #102a34;
  --gold: #b98a42;
  --gold-bright: #d7b568;
  --ivory: #f1e6d5;
  --parchment: #c7b69a;
  --body: #d0c1a7;
  --muted: #929271;
  --faded: #9a927d;
  --border: #28404a;
  --hairline: rgba(185, 138, 66, 0.3);
  --hairline-quiet: rgba(215, 181, 104, 0.14);
  --fact: #78a184;
  --debate: #b29b61;
  --theory: #7893af;
  --legend: #a77992;
  --speculation: #a88960;
  --display: "Playfair Display", Georgia, serif;
  --reading: "Literata", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 42px 80px rgba(0, 0, 0, 0.5);
  --shell: 1280px;
}

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

html {
  background: var(--bg-deep);
  scroll-behavior: smooth;
  scrollbar-color: var(--gold) var(--bg-deep);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--body);
  background:
    radial-gradient(circle at 18% 11%, rgba(32, 78, 88, 0.14), transparent 28rem),
    var(--bg-deep);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    repeating-radial-gradient(circle at 20% 35%, transparent 0 2px, rgba(241, 230, 213, 0.025) 3px, transparent 4px),
    repeating-linear-gradient(105deg, transparent 0 8px, rgba(185, 138, 66, 0.02) 9px, transparent 10px);
  background-size: 83px 79px, 109px 101px;
  content: "";
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 5px;
}

.shell {
  width: min(var(--shell), calc(100vw - 80px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--bg-ink);
  background: var(--ivory);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: none;
}

.reading-progress {
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  box-shadow: 0 0 14px rgba(215, 181, 104, 0.6);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

main section[id] {
  scroll-margin-top: 105px;
}

.site-header {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  padding: 16px 0;
  transition:
    background-color 260ms ease,
    box-shadow 260ms ease,
    padding 260ms ease;
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -18px;
  left: 0;
  height: 18px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(rgba(5, 12, 18, 0.32), transparent);
  content: "";
  transition: opacity 260ms ease;
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(5, 12, 18, 0.78);
  box-shadow: 0 1px 0 rgba(215, 181, 104, 0.12);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 14px;
  color: var(--ivory);
  font: 600 0.94rem/1 var(--display);
  letter-spacing: 0.48em;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  height: 48px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--parchment);
  font: 500 0.72rem/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 15px 0;
  transition: color 160ms ease-out;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--gold-bright);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 220ms ease-out;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ivory);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-download {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-self: end;
  gap: 9px;
  padding: 0 18px;
  color: #0b0a08;
  background: var(--gold-bright);
  border: 1px solid #f0d593;
  border-radius: 11px;
  box-shadow: inset 0 0 0 1px rgba(67, 43, 12, 0.22);
  font: 600 0.77rem/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 120ms ease-out,
    background-color 160ms ease-out;
}

.header-download svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.header-download:hover {
  background: #e7c676;
}

.header-download:active,
.app-store-badge:active {
  transform: scale(0.97);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--gold-bright);
  font: 600 0.67rem/1.35 var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.eyebrow span {
  display: block;
  width: 30px;
  height: 1px;
  background: currentColor;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 1060px;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 34%, rgba(17, 65, 75, 0.32), transparent 29rem),
    linear-gradient(180deg, #071721 0%, #050c12 74%, #040807 100%);
}

.hero::before {
  position: absolute;
  /* Keep the scrim above the artwork and below the content. */
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 12, 18, 0.96) 0%, rgba(5, 12, 18, 0.88) 31%, rgba(5, 12, 18, 0.15) 66%, rgba(5, 12, 18, 0.64) 100%),
    linear-gradient(0deg, var(--bg-ink), transparent 27%);
  content: "";
}

.hero__art {
  position: absolute;
  z-index: 0;
  top: 0;
  right: -5vw;
  width: min(66vw, 1000px);
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.38;
  /* Blend the framed artwork into the hero instead of exposing its box. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%);
  mask-image: linear-gradient(90deg, transparent, #000 24%);
}

.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.75) contrast(1.08);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 70%, transparent);
}

.hero__orbit {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(215, 181, 104, 0.16);
  border-radius: 50%;
}

.hero__orbit::before,
.hero__orbit::after {
  position: absolute;
  border: inherit;
  border-radius: inherit;
  content: "";
}

.hero__orbit::before {
  inset: 18%;
}

.hero__orbit::after {
  inset: 39%;
}

.hero__orbit--one {
  top: 130px;
  right: -210px;
  width: 610px;
  height: 610px;
}

.hero__orbit--two {
  bottom: 38px;
  left: -310px;
  width: 570px;
  height: 570px;
  opacity: 0.65;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(410px, 0.92fr) minmax(400px, 0.78fr);
  min-height: 1020px;
  align-items: center;
  gap: clamp(50px, 7vw, 120px);
  padding-top: 110px;
}

.hero__copy {
  max-width: 670px;
  padding: 100px 0 130px;
}

.hero h1,
.section-heading h2,
.archive__copy h2,
.reliability__copy h2,
.download h2 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(4.2rem, 7.4vw, 7.5rem);
  line-height: 0.88;
}

.hero h1 em,
.section-heading h2 em,
.archive__copy h2 em,
.reliability__copy h2 em,
.download h2 em {
  color: var(--gold-bright);
  font-weight: 600;
}

.hero__lede {
  max-width: 590px;
  margin: 34px 0 30px;
  color: var(--parchment);
  font-family: var(--reading);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.app-store-badge {
  display: block;
  width: max-content;
  border-radius: 13px;
  transition:
    transform 120ms ease-out,
    filter 180ms ease-out;
}

.app-store-badge img {
  width: 100%;
  height: auto;
}

.app-store-badge:hover {
  filter: brightness(1.14);
}

.app-store-badge--hero {
  width: clamp(280px, 29vw, 360px);
}

.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.77rem;
  letter-spacing: 0.03em;
}

.availability span {
  color: var(--fact);
  font-size: 0.62rem;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  margin: 48px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--hairline);
}

.hero__proof div {
  padding-right: 20px;
}

.hero__proof div + div {
  padding-left: 20px;
  border-left: 1px solid var(--hairline-quiet);
}

.hero__proof dt {
  margin-bottom: 5px;
  color: var(--ivory);
  font: 600 1.1rem/1 var(--display);
}

.hero__proof dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__product {
  position: relative;
  width: min(100%, 570px);
  aspect-ratio: 0.66;
  align-self: center;
  justify-self: end;
  isolation: isolate;
}

.hero-phone {
  position: absolute;
  width: 60%;
  padding: clamp(3px, 0.45vw, 7px);
  border: 1px solid #77796e;
  border-radius: 15% / 7%;
  background: linear-gradient(120deg, #95978b 0%, #343c39 12%, #101514 46%, #595e54 78%, #b0ad97 100%);
  box-shadow:
    inset 0 0 0 2px rgba(7, 12, 11, 0.8),
    0 1px 2px rgba(241, 230, 213, 0.16),
    14px 28px 34px rgba(0, 0, 0, 0.45),
    28px 50px 65px rgba(0, 0, 0, 0.3);
}

.hero-phone--read {
  z-index: 1;
  top: 4%;
  right: 6%;
  transform: rotate(9deg);
}

.hero-phone--discover {
  z-index: 2;
  top: 15%;
  left: 8%;
  transform: rotate(-8deg);
}

.hero-phone::before,
.hero-phone::after {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #151c19, #8b8d7d, #353d37);
  content: "";
}

.hero-phone::before {
  top: 19%;
  left: -3px;
  height: 12%;
}

.hero-phone::after {
  top: 26%;
  right: -3px;
  height: 9%;
}

.hero-phone__screen {
  position: relative;
  aspect-ratio: 720 / 1566;
  overflow: hidden;
  border-radius: 13.8% / 6.4%;
  background: #080b08;
  box-shadow: 0 0 0 1px #050706;
}

.hero-phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-phone__screen::after {
  position: absolute;
  right: 36%;
  bottom: 1.4%;
  left: 36%;
  height: 0.55%;
  border-radius: 4px;
  background: rgba(241, 230, 213, 0.65);
  content: "";
}

.hero__annotation {
  position: absolute;
  z-index: 3;
  color: var(--gold-bright);
  font: 500 0.59rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__annotation::before {
  display: inline-block;
  width: 1px;
  height: 58px;
  margin-bottom: 14px;
  background: var(--gold);
  content: "";
}

.hero__annotation--top {
  top: 28%;
  left: -22px;
  transform: rotate(180deg);
}

.hero__annotation--bottom {
  right: -18px;
  bottom: 8%;
}

.hero__edge {
  position: absolute;
  z-index: 3;
  right: 40px;
  bottom: 20px;
  left: 40px;
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  color: rgba(199, 182, 154, 0.5);
  border-top: 1px solid rgba(185, 138, 66, 0.2);
  font: 500 0.56rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.app-story {
  position: relative;
  padding: 170px 0 150px;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--bg-ink), rgba(5, 12, 18, 0.92)),
    var(--bg-deep);
}

.app-story::before {
  position: absolute;
  top: 10%;
  right: -19vw;
  width: 58vw;
  height: 58vw;
  background:
    repeating-radial-gradient(circle, transparent 0 7.7%, rgba(215, 181, 104, 0.07) 7.9% 8%, transparent 8.2% 15.7%);
  border-radius: 50%;
  content: "";
}

.section-heading {
  position: relative;
  z-index: 2;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.7fr);
  align-items: end;
  gap: clamp(50px, 8vw, 130px);
}

.section-heading h2,
.archive__copy h2,
.reliability__copy h2,
.download h2 {
  font-size: clamp(3.2rem, 5.7vw, 6.1rem);
  line-height: 0.95;
}

.section-heading--split > p,
.stories__heading > p:last-child,
.archive__copy > p:not(.eyebrow),
.reliability__copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 0 8px;
  color: var(--parchment);
  font-family: var(--reading);
  font-size: 1.02rem;
  line-height: 1.8;
}

.screen-gallery {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(22px, 3.5vw, 54px);
  margin-top: 90px;
}

.screen-card {
  position: relative;
  margin: 0;
}

.screen-card--film {
  margin-top: 74px;
}

.screen-card--archive {
  margin-top: 148px;
}

.screen-card > img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 34px 48px rgba(0, 0, 0, 0.5));
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.screen-card:hover > img {
  transform: translateY(-8px);
}

.screen-card figcaption {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding: 19px 4px 0;
  border-top: 1px solid var(--hairline);
}

.screen-card figcaption span {
  color: var(--gold-bright);
  font: 600 0.63rem/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.screen-card figcaption strong {
  color: var(--ivory);
  font: 500 1.15rem/1.3 var(--reading);
}

.stories {
  position: relative;
  padding: 150px 0 160px;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 45%, rgba(24, 79, 89, 0.22), transparent 30rem),
    #071721;
}

.stories::before {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background: url("assets/celestial-grid.svg") center / min(84vw, 1060px) no-repeat;
  content: "";
}

.stories__heading {
  max-width: 950px;
}

.stories__heading h2 {
  max-width: 830px;
}

.stories__heading > p:last-child {
  margin-top: 30px;
}

.story-thread {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 62px);
  margin: 88px 0 0;
  padding: 0;
  list-style: none;
}

.story-thread::before {
  position: absolute;
  z-index: 3;
  top: 51%;
  right: 8%;
  left: 8%;
  border-top: 1px dashed rgba(215, 181, 104, 0.56);
  content: "";
}

.story-thread > li {
  position: relative;
}

.story-thread > li:nth-child(2) {
  margin-top: 68px;
}

.story-thread > li:nth-child(3) {
  margin-top: 136px;
}

.story-card {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: var(--bg-ink);
  border: 1px solid rgba(185, 138, 66, 0.62);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.story-card::before {
  position: absolute;
  z-index: 4;
  inset: 7px;
  pointer-events: none;
  border: 1px solid rgba(215, 181, 104, 0.18);
  border-radius: 10px;
  content: "";
}

.story-card__image {
  position: absolute;
  inset: 0;
}

.story-card__image::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #040706 2%, rgba(4, 7, 6, 0.9) 28%, transparent 70%),
    linear-gradient(90deg, rgba(4, 7, 6, 0.18), transparent);
  content: "";
}

.story-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-card:hover .story-card__image img {
  transform: scale(1.025);
}

.story-card__copy {
  position: absolute;
  z-index: 5;
  right: 28px;
  bottom: 28px;
  left: 28px;
}

.story-card__copy > p {
  margin: 0 0 11px;
  color: var(--gold-bright);
  font: 600 0.62rem/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-card h3 {
  margin: 0 0 20px;
  color: var(--ivory);
  font: 600 clamp(2rem, 3vw, 2.75rem)/0.98 var(--display);
  letter-spacing: -0.03em;
}

.truth {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.67rem;
}

.truth i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.truth--fact {
  color: #afc5b4;
  background: #152019;
  border-color: #33483a;
}

.truth--fact i {
  background: var(--fact);
}

.truth--debate {
  color: #cfc09a;
  background: #221e16;
  border-color: #4a402c;
}

.truth--debate i {
  background: var(--debate);
}

.truth--theory {
  color: #acbccb;
  background: #171d25;
  border-color: #344354;
}

.truth--theory i {
  background: var(--theory);
}

.story-thread__number {
  position: absolute;
  z-index: 4;
  top: 51%;
  right: -16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #151006;
  background: var(--gold-bright);
  border: 4px solid #071721;
  border-radius: 50%;
  font: 700 0.7rem/1 var(--display);
  transform: translateY(-50%);
}

.story-thread > li:last-child .story-thread__number {
  right: 16px;
}

.archive {
  position: relative;
  padding: 170px 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 8, 7, 0.94), rgba(4, 8, 7, 0.74)),
    var(--bg-ink);
}

.archive::before {
  position: absolute;
  top: 50%;
  right: -290px;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(185, 138, 66, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 92px rgba(185, 138, 66, 0.025),
    0 0 0 184px rgba(185, 138, 66, 0.02),
    inset 0 0 0 92px rgba(185, 138, 66, 0.025);
  content: "";
  transform: translateY(-50%);
}

.archive__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(430px, 0.94fr) minmax(410px, 0.86fr);
  align-items: center;
  gap: clamp(60px, 8vw, 140px);
}

.archive__devices {
  position: relative;
  min-height: 850px;
}

.archive__device {
  position: absolute;
  width: min(68%, 410px);
  height: auto;
  filter: drop-shadow(0 34px 45px rgba(0, 0, 0, 0.52));
}

.archive__device--back {
  top: 0;
  left: 0;
  transform: rotate(-2.2deg);
}

.archive__device--front {
  right: 0;
  bottom: 0;
  z-index: 2;
  transform: rotate(2deg);
}

.archive__copy {
  padding: 40px 0;
}

.archive__copy > p:not(.eyebrow) {
  margin-top: 30px;
}

.archive__index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
  list-style: none;
}

.archive__index li {
  min-height: 79px;
  padding: 16px 10px 14px 0;
  color: var(--parchment);
  border-bottom: 1px solid var(--hairline-quiet);
  font: 500 0.76rem/1.35 var(--sans);
}

.archive__index li:not(:nth-child(3n + 1)) {
  padding-left: 14px;
  border-left: 1px solid var(--hairline-quiet);
}

.archive__index span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font: 600 0.56rem/1 var(--sans);
  letter-spacing: 0.14em;
}

.reliability {
  position: relative;
  padding: 170px 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(32, 80, 88, 0.22), transparent 31rem),
    #071721;
}

.reliability__grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.82fr) minmax(500px, 1.18fr);
  align-items: center;
  gap: clamp(70px, 9vw, 150px);
}

.reliability__copy > p:not(.eyebrow) {
  margin-top: 30px;
}

.evidence-scale {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
  list-style: none;
}

.evidence-scale__item {
  --evidence: var(--fact);
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr 30px;
  min-height: 94px;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}

.evidence-scale__item::before {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--evidence) 12%, transparent));
  content: "";
  transition: opacity 200ms ease-out;
}

.evidence-scale__item:hover::before {
  opacity: 1;
}

.evidence-scale__item > span {
  color: var(--evidence);
  font: 600 0.59rem/1 var(--sans);
  letter-spacing: 0.15em;
}

.evidence-scale__item div {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 5px;
}

.evidence-scale__item strong {
  color: var(--ivory);
  font: 500 1.2rem/1.2 var(--reading);
}

.evidence-scale__item small {
  color: var(--muted);
  font-size: 0.72rem;
}

.evidence-scale__item > i {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: 11px;
  height: 11px;
  background: var(--evidence);
  border: 3px solid color-mix(in srgb, var(--evidence) 24%, var(--bg));
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--evidence);
}

.evidence-scale__item--debate {
  --evidence: var(--debate);
}

.evidence-scale__item--theory {
  --evidence: var(--theory);
}

.evidence-scale__item--legend {
  --evidence: var(--legend);
}

.evidence-scale__item--speculation {
  --evidence: var(--speculation);
}

.download {
  position: relative;
  min-height: 860px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #040807;
}

.download::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 8, 7, 0.98) 0%, rgba(4, 8, 7, 0.87) 43%, rgba(4, 8, 7, 0.26) 77%),
    linear-gradient(0deg, #040807, transparent 25%, transparent 74%, #071721);
  content: "";
}

.download__image {
  position: absolute;
  inset: 0;
}

.download__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 49%;
  opacity: 0.68;
}

.download__inner {
  position: relative;
  z-index: 3;
  padding: 150px 0;
}

.download__mark {
  width: 88px;
  height: 88px;
  margin-bottom: 34px;
}

.download h2 {
  max-width: 820px;
}

.download__inner > p:not(.eyebrow) {
  max-width: 530px;
  margin: 30px 0 34px;
  color: var(--parchment);
  font: 400 1.1rem/1.7 var(--reading);
}

.app-store-badge--final {
  width: clamp(300px, 33vw, 400px);
}

.site-footer {
  position: relative;
  z-index: 3;
  background: #040807;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 130px;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
  font-size: 0.69rem;
  letter-spacing: 0.04em;
}

.brand--footer img {
  width: 44px;
  height: 44px;
}

.site-footer__inner > p {
  margin: 0;
  text-align: center;
}

.site-footer nav {
  display: flex;
  justify-self: end;
  gap: 22px;
}

.site-footer nav a {
  padding: 12px 0;
  transition: color 160ms ease-out;
}

.site-footer nav a:hover {
  color: var(--ivory);
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 580ms ease-out,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .shell {
    width: min(var(--shell), calc(100vw - 48px));
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 960px;
  }

  .hero__grid {
    grid-template-columns: minmax(390px, 1fr) minmax(340px, 0.72fr);
    min-height: 930px;
    gap: 35px;
  }

  .hero h1 {
    font-size: clamp(4.3rem, 8.9vw, 6.8rem);
  }

  .hero__annotation {
    display: none;
  }

  .archive__grid {
    grid-template-columns: minmax(360px, 0.86fr) minmax(380px, 1fr);
    gap: 55px;
  }

  .archive__devices {
    min-height: 720px;
  }

  .reliability__grid {
    gap: 60px;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(var(--shell), calc(100vw - 38px));
  }

  .site-header {
    padding: 10px 0;
    background: linear-gradient(rgba(5, 12, 18, 0.84), transparent);
  }

  .brand {
    gap: 10px;
    font-size: 0.78rem;
    letter-spacing: 0.34em;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .header-download {
    min-height: 44px;
    padding-inline: 14px;
    font-size: 0.7rem;
  }

  .hero {
    min-height: 0;
    padding-bottom: 80px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(5, 12, 18, 0.82) 0%, rgba(5, 12, 18, 0.82) 35%, rgba(5, 12, 18, 0.18) 61%, #040807 96%),
      linear-gradient(90deg, rgba(5, 12, 18, 0.9), transparent);
  }

  .hero__art {
    top: 38%;
    right: -27%;
    width: 112%;
    height: 62%;
    opacity: 0.3;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 12px;
    padding-top: 120px;
  }

  .hero__copy {
    max-width: 690px;
    padding: 60px 0 42px;
  }

  .hero h1 {
    max-width: 650px;
    font-size: clamp(4.2rem, 13.5vw, 6.8rem);
  }

  .hero__lede {
    max-width: 620px;
  }

  .hero__product {
    width: min(92%, 540px);
    justify-self: center;
    margin: 12px 0 0;
  }

  .hero__edge {
    display: none;
  }

  .hero__orbit--one {
    top: auto;
    right: -250px;
    bottom: 15%;
  }

  .app-story {
    padding: 100px 0 110px;
  }

  .section-heading--split,
  .archive__grid,
  .reliability__grid {
    grid-template-columns: 1fr;
  }

  .section-heading--split {
    gap: 30px;
  }

  .section-heading h2,
  .archive__copy h2,
  .reliability__copy h2,
  .download h2 {
    font-size: clamp(3.35rem, 10.8vw, 5.4rem);
  }

  .screen-gallery {
    grid-template-columns: repeat(3, minmax(320px, 72vw));
    gap: 24px;
    margin-right: calc((100vw - min(var(--shell), calc(100vw - 38px))) / -2);
    margin-left: calc((100vw - min(var(--shell), calc(100vw - 38px))) / -2);
    padding: 0 19px 30px;
    overflow-x: auto;
    scroll-padding-inline: 19px;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--gold) transparent;
  }

  .screen-card,
  .screen-card--film,
  .screen-card--archive {
    margin-top: 0;
    scroll-snap-align: start;
  }

  .stories {
    padding: 110px 0;
  }

  .story-thread {
    grid-template-columns: repeat(3, minmax(330px, 74vw));
    gap: 24px;
    margin-right: calc((100vw - min(var(--shell), calc(100vw - 38px))) / -2);
    margin-left: calc((100vw - min(var(--shell), calc(100vw - 38px))) / -2);
    padding: 0 19px 35px;
    overflow-x: auto;
    scroll-padding-inline: 19px;
    scroll-snap-type: x mandatory;
  }

  .story-thread::before,
  .story-thread__number {
    display: none;
  }

  .story-thread > li,
  .story-thread > li:nth-child(2),
  .story-thread > li:nth-child(3) {
    margin-top: 0;
    scroll-snap-align: start;
  }

  .story-card {
    min-height: 570px;
  }

  .archive {
    padding: 110px 0;
  }

  .archive__grid {
    gap: 80px;
  }

  .archive__devices {
    width: min(100%, 610px);
    min-height: 740px;
    justify-self: center;
  }

  .archive__device {
    width: min(66%, 380px);
  }

  .archive__copy {
    max-width: 720px;
  }

  .reliability {
    padding: 110px 0;
  }

  .reliability__grid {
    gap: 62px;
  }

  .reliability__copy {
    max-width: 720px;
  }

  .download {
    min-height: 800px;
  }

  .download::before {
    background:
      linear-gradient(90deg, rgba(4, 8, 7, 0.96), rgba(4, 8, 7, 0.62)),
      linear-gradient(0deg, #040807, transparent 25%, transparent 74%, #071721);
  }

  .download__image img {
    object-position: 60% center;
    opacity: 0.48;
  }

  .site-footer__inner {
    grid-template-columns: 1fr auto;
    padding: 28px 0;
  }

  .site-footer__inner > p {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .shell {
    width: calc(100vw - 32px);
  }

  .brand span {
    letter-spacing: 0.26em;
  }

  .header-download span {
    display: none;
  }

  .header-download {
    width: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .header-download svg {
    width: 20px;
    height: 20px;
  }

  .hero__grid {
    padding-top: 90px;
  }

  .hero__copy {
    padding-top: 64px;
  }

  .hero h1 {
    font-size: clamp(3.75rem, 18.5vw, 5.4rem);
    line-height: 0.9;
  }

  .hero__lede {
    margin-top: 26px;
    font-size: 1rem;
  }

  .app-store-badge--hero {
    width: min(310px, 90vw);
  }

  .hero__proof {
    gap: 0;
  }

  .hero__proof div {
    padding-right: 8px;
  }

  .hero__proof div + div {
    padding-left: 10px;
  }

  .hero__proof dt {
    font-size: 0.98rem;
  }

  .hero__proof dd {
    font-size: 0.55rem;
    line-height: 1.4;
  }

  .hero__product {
    width: min(100%, 430px);
  }

  .app-story {
    padding-top: 80px;
  }

  .section-heading h2,
  .archive__copy h2,
  .reliability__copy h2,
  .download h2 {
    font-size: clamp(3.05rem, 15vw, 4.6rem);
    line-height: 0.97;
  }

  .section-heading--split > p,
  .stories__heading > p:last-child,
  .archive__copy > p:not(.eyebrow),
  .reliability__copy > p:not(.eyebrow) {
    font-size: 0.96rem;
  }

  .screen-gallery {
    grid-template-columns: repeat(3, 84vw);
    margin-top: 55px;
  }

  .story-thread {
    grid-template-columns: repeat(3, 84vw);
    margin-top: 58px;
  }

  .story-card {
    min-height: 520px;
  }

  .story-card__copy {
    right: 24px;
    bottom: 24px;
    left: 24px;
  }

  .archive__devices {
    min-height: 570px;
  }

  .archive__device {
    width: 67%;
  }

  .archive__index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive__index li:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  .archive__index li:nth-child(even) {
    padding-left: 14px;
    border-left: 1px solid var(--hairline-quiet);
  }

  .evidence-scale__item {
    grid-template-columns: 30px 1fr 18px;
    min-height: 98px;
    gap: 10px;
  }

  .evidence-scale__item strong {
    font-size: 1.02rem;
  }

  .evidence-scale__item small {
    font-size: 0.65rem;
    line-height: 1.4;
  }

  .download {
    min-height: 720px;
  }

  .download__inner {
    padding: 110px 0;
  }

  .download__mark {
    width: 72px;
    height: 72px;
  }

  .app-store-badge--final {
    width: min(330px, 92vw);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-footer__inner > p,
  .site-footer nav {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
}

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

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

  .reveal-ready [data-reveal] {
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled {
    background: #071721;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #c3bca8;
    --hairline: rgba(215, 181, 104, 0.72);
    --hairline-quiet: rgba(215, 181, 104, 0.42);
  }

  .site-header.is-scrolled {
    background: #050c12;
    border-bottom: 1px solid var(--gold-bright);
  }
}
