@font-face {
  font-family: Archivo;
  src: url('/assets/archivo-expanded.woff2') format('woff2');
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #f8fbff;
  --muted: #d0dce9;
  --night: #050b13;
  --cyan: #09f2f5;
  --pink: #ff0878;
  --yellow: #e8ff00;
  --header: 4rem;
  --chapter-nav: 3rem;
  --type: Archivo, "Arial Black", system-ui, sans-serif;
  background: var(--night);
  color: var(--ink);
  font: 400 1rem/1.6 system-ui, sans-serif;
  scroll-padding-top: calc(var(--header) + var(--chapter-nav));
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
a:focus-visible, button:focus-visible { z-index: 2; }
.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  padding: .5rem .9rem;
  transform: translateY(-175%);
  z-index: 10;
  color: var(--night);
  background: var(--yellow);
}
.skip-link:focus { transform: none; }
.display, .action, .wordmark {
  font-family: var(--type);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  letter-spacing: -.045em;
  line-height: .97;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: var(--header);
  background: #050b13f5;
  border-bottom: 1px solid #243345;
}
.masthead {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  margin-inline: auto;
  padding-inline: max(1rem, calc((100vw - 75rem) / 2));
  min-height: var(--header);
}
.masthead > a:not(.wordmark) {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding-inline: .4rem;
  text-decoration: none;
  text-transform: uppercase;
  font: 600 .69rem/1.3 ui-monospace, monospace;
  letter-spacing: .16em;
  text-align: center;
}
.masthead > a:not(.wordmark):is(:hover, :focus-visible) { color: var(--cyan); }
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
  font-size: clamp(1.55rem, 3.1vw, 3.1rem);
  position: relative;
}
.wordmark > span { position: relative; }
.wordmark > span::after {
  content: '';
  position: absolute;
  pointer-events: none;
  width: 162%;
  height: .053em;
  background: var(--yellow);
  transform: rotate(-33deg);
  left: -22%;
  top: 49%;
  clip-path: polygon(0 86%, 100% 0, 71% 100%, 5% 100%);
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: max(37rem, calc(94svh - var(--header)));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background:
    linear-gradient(180deg, #050a1270, transparent 30%, #050a1288 78%, #050b13),
    url('/assets/server-aisle.webp') center 48% / cover no-repeat,
    #071427;
}
.hero-copy {
  align-self: center;
  text-align: center;
  padding: clamp(1.5rem, 3svh, 2.5rem) .9rem clamp(1.4rem, 4svh, 3rem);
  margin-inline: auto;
  width: min(99%, 95rem);
  text-shadow: 0 3px 26px #000a;
}
.hero h1 {
  font-size: clamp(3.05rem, min(13.3vw, 19svh), 12rem);
  line-height: .87;
  letter-spacing: -.078em;
  text-transform: uppercase;
}
.hero h1 span { display: block; }
.hero-brand {
  color: var(--cyan);
  font-size: clamp(3.25rem, min(12.7vw, 17.4svh), 10.5rem);
  margin-top: -.02em;
  line-height: .86;
  letter-spacing: -.08em;
}
.hero-line {
  font-size: clamp(1.08rem, 3.4vw, 2.8rem);
  margin: .6em auto .28em;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero-lede {
  margin-inline: auto;
  max-width: 33em;
  color: #e5edf5;
  font-size: clamp(.95rem, 1.65vw, 1.28rem);
  line-height: 1.4;
  text-wrap: balance;
}
.hero-actions {
  display: flex;
  justify-content: space-between;
  gap: .15rem;
  margin-block: 0 clamp(.75rem, 2.5svh, 2rem);
}
.action {
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-items: center;
  min-height: 3.25rem;
  padding: .8rem 1.4rem;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: clamp(.88rem, 1.8vw, 1.45rem);
  line-height: 1.12;
  color: var(--night);
  --action-color: var(--yellow);
}
.action::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--action-color);
  transition: filter .15s ease;
}
.action:hover::before { filter: brightness(1.19); }
.action-pink { --action-color: var(--pink); }
.hero-actions .action { width: min(43%, 28rem); }
.hero-actions .action-yellow { padding-right: clamp(1.7rem, 4vw, 4rem); }
.hero-actions .action-pink { padding-left: clamp(1.7rem, 4vw, 4rem); }
.hero-actions .action-yellow::before {
  clip-path: polygon(0 0, 88% 0, 81% 100%, 0 100%, 0 0, 91% 0, 94% 0, 87% 100%, 84% 100%, 91% 0, 96% 0, 98% 0, 91% 100%, 89% 100%, 96% 0);
}
.hero-actions .action-pink::before {
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 5% 100%, 12% 0, 6% 0, 9% 0, 2% 100%, 0 100%, 6% 0);
}
.hero-actions .action:focus-visible { outline-offset: -4px; }

.story-nav {
  min-height: var(--chapter-nav);
  display: flex;
  justify-content: center;
  gap: clamp(0rem, 3vw, 3rem);
  position: sticky;
  top: var(--header);
  z-index: 4;
  border-top: 1px solid #273747;
  border-bottom: 1px solid #273747;
  background: var(--night);
}
.story-nav a {
  display: inline-grid;
  place-items: center;
  min-height: 46px;
  padding: 0 .8rem;
  color: var(--muted);
  text-transform: uppercase;
  text-decoration: none;
  font: 700 .7rem/1.2 ui-monospace, monospace;
  letter-spacing: .08em;
}
.story-nav a[aria-current], .story-nav a:hover {
  color: var(--ink);
  box-shadow: inset 0 -2px var(--cyan);
}

.chapter {
  --scene-top: calc(var(--header) + var(--chapter-nav));
  --scene-height: calc(100svh - var(--scene-top));
  --chapter-color: var(--yellow);
  display: grid;
  position: relative;
  overflow: clip;
  border-bottom: 1px solid #2c3b4b;
  isolation: isolate;
}
.chapter-nexus { --chapter-color: var(--pink); }
.chapter-portal { --chapter-color: var(--cyan); }
.chapter-scene, .chapter-inner { grid-area: 1 / 1; min-width: 0; }
.chapter-scene {
  align-self: start;
  position: sticky;
  top: var(--scene-top);
  height: var(--scene-height);
  overflow: clip;
  background: #06111e;
}
.chapter-slab, .chapter-image {
  position: absolute;
  inset: 0;
  transform: translateX(0);
}
.chapter-slab {
  z-index: 1;
  width: 49%;
  background: var(--chapter-color);
  clip-path: polygon(0 0, 100% 0, 68% 100%, 0 100%);
  overflow: hidden;
}
.chapter-slab span {
  position: absolute;
  top: 3%;
  left: -5%;
  color: transparent;
  -webkit-text-stroke: 1px #08101875;
  font: italic 900 clamp(18rem, 36vw, 38rem)/.95 var(--type);
  font-stretch: 125%;
}
.chapter-image {
  background: linear-gradient(90deg, #06111e 20%, #050b13b0 45%, #050b1355 100%),
    url('/assets/rack-detail.webp') right center / cover no-repeat;
}
.chapter-nexus .chapter-image {
  background: linear-gradient(90deg, #071426 32%, #070b17b3 68%, #13061bb0),
    url('/assets/rack-detail.webp') 76% center / cover no-repeat;
}
.chapter-portal .chapter-image {
  background: linear-gradient(90deg, #050a13 28%, #050a139e 71%, #050a1350),
    url('/assets/server-aisle.webp') right center / cover no-repeat;
}
.chapter-inner {
  position: relative;
  display: grid;
  grid-template-columns: 42% 58%;
}
.chapter-name {
  align-self: start;
  position: sticky;
  top: calc(var(--scene-top) + clamp(1.5rem, 15svh, 9rem));
  font-size: clamp(2.4rem, 6.15vw, 7rem);
  text-transform: uppercase;
  padding-inline: clamp(1rem, 5vw, 6rem) 1rem;
  color: var(--night);
}
.chapter-story { padding-inline: clamp(1rem, 4vw, 4rem); }
.chapter-beat {
  min-height: max(24rem, calc(var(--scene-height) * .73));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 2.5rem;
}
.chapter-beat + .chapter-beat { border-top: 1px solid #c9e0f536; }
.chapter-portal .chapter-beat { min-height: var(--scene-height); }
.chapter-beat h3, .pricing h2 {
  font-size: clamp(2.2rem, 5.25vw, 5.5rem);
  line-height: .96;
  text-transform: uppercase;
  text-wrap: balance;
}
.chapter-beat p, .pricing p {
  max-width: 38ch;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  color: var(--muted);
  margin: 1rem 0 .5rem;
  text-wrap: pretty;
}
.action-outline {
  margin-top: 1.1rem;
  border: 1px solid var(--chapter-color);
  color: var(--chapter-color);
}
.action-outline::before { background: #040a12a0; }
.action-outline:hover { color: var(--night); }
.action-outline:hover::before { background: var(--chapter-color); }

.pricing, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: clamp(2.2rem, 8vw, 7rem) max(1.1rem, calc((100vw - 75rem) / 2));
}
.pricing { background: #0a1321; }
.pricing .action { flex-shrink: 0; }
.site-footer {
  padding-block: 1.2rem;
  border-top: 1px solid #273747;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.site-footer nav a {
  display: inline-grid;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}
@media (min-width: 800px) and (min-height: 580px) and (prefers-reduced-motion: no-preference) {
  .chapter-slab { transform: translateX(calc(-102% * (1 - var(--entry, 1)))); }
  .chapter-image { transform: translateX(calc(19% * (1 - var(--entry, 1)))); }
  .chapter-name { visibility: visible; opacity: var(--entry, 1); }
  .chapter-story { transform: translateX(calc(.75rem * (1 - var(--entry, 1)))); }
}
@media (max-width: 799px), (max-height: 579px), (prefers-reduced-motion: reduce) {
  .chapter { display: block; }
  .chapter-scene { position: absolute; inset: 0; height: auto; }
  .chapter-slab {
    height: clamp(7rem, 22vw, 12rem);
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  }
  .chapter-slab span { line-height: .8; font-size: 16rem; left: 62%; }
  .chapter-image { opacity: .72; }
  .chapter-inner { display: block; }
  .chapter-name {
    position: relative;
    top: auto;
    display: grid;
    align-content: center;
    min-height: clamp(7rem, 22vw, 12rem);
    font-size: clamp(2.4rem, 8.2vw, 4.9rem);
  }
  .chapter-name br { display: none; }
  .chapter-story { padding-inline: clamp(1rem, 6vw, 4rem); }
  .chapter-beat, .chapter-portal .chapter-beat { min-height: auto; padding-block: 2.3rem; }
  .chapter-beat h3 { font-size: clamp(1.7rem, 7vw, 3.7rem); }
}
@media (max-width: 585px) {
  :root { --header: 5.7rem; }
  .masthead { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-inline: .35rem; }
  .masthead .wordmark { grid-area: 1 / 1 / 2 / -1; font-size: 1.95rem; }
  .masthead > a:not(.wordmark) { letter-spacing: .055em; font-size: .62rem; }
  .hero { min-height: max(34rem, calc(94svh - var(--header))); }
  .hero h1 { font-size: clamp(2.7rem, 13.8vw, 5.05rem); }
  .hero-brand { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-actions .action { width: 49.5%; }
  .pricing, .site-footer { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .site-footer nav { row-gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
