:root {
  --void: #05060a;
  --void-soft: #090b12;
  --ink: #0d1019;
  --white: #efeff8;
  --soft: #b7bad0;
  --violet: #756cff;
  --violet-soft: #a9a4ff;
  --line: rgba(232,232,255,.12);
  --line-strong: rgba(232,232,255,.32);
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--void); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: var(--void);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { color: var(--void); background: var(--violet-soft); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 12px 16px;
  color: var(--void);
  background: var(--white);
}
.skip-link:focus { transform: none; }

.grain {
  position: fixed;
  z-index: 80;
  inset: -70%;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
  animation: grain 0.28s steps(2) infinite;
}

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px clamp(22px, 4.5vw, 72px);
}
.wordmark {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3em;
}
.header-enter {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.header-enter:hover { border-color: var(--white); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 150px clamp(22px, 7vw, 112px) clamp(125px, 18vh, 190px);
  overflow: hidden;
  isolation: isolate;
}
.hero-media,
.hero-shade { position: absolute; inset: 0; }
.hero-media { z-index: -2; }
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5,6,10,.88), rgba(5,6,10,.46) 50%, rgba(5,6,10,.22) 78%),
    linear-gradient(0deg, rgba(5,6,10,.98), rgba(5,6,10,.1) 48%, rgba(5,6,10,.45));
}
.hero-copy { width: min(100%, 920px); }
.label {
  margin: 0 0 26px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .25em;
  line-height: 1.7;
  text-transform: uppercase;
}
h1,
h2,
h3,
p { text-wrap: pretty; }
h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(62px, 8.1vw, 118px);
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: .88;
}
h1 em,
h2 em {
  color: #b9b5ff;
  font-weight: 400;
}
.hero-description {
  max-width: 590px;
  margin: 34px 0 0;
  color: rgba(239,239,248,.72);
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.8;
}
.primary-button {
  width: min(100%, 280px);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding: 18px 20px;
  border: 1px solid var(--white);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: .3s ease;
}
.primary-button:hover {
  color: var(--void);
  background: var(--white);
  transform: translateY(-2px);
}
.microcopy {
  margin: 16px 0 0;
  color: rgba(239,239,248,.42);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.section { padding: clamp(110px, 14vw, 180px) clamp(22px, 7vw, 112px); }
.world { background: var(--void); }
.world-intro {
  max-width: 920px;
  margin: 0 auto 82px;
}
h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(50px, 6.4vw, 90px);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 62, "WONK" 1;
  font-weight: 420;
  letter-spacing: -.035em;
  line-height: .98;
}
.world-intro > p:last-child {
  max-width: 620px;
  margin: 34px 0 0;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.9;
}
.world-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 420px));
  justify-content: center;
  gap: 44px 26px;
}
.world-frame { margin: 0; }
.world-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.84) contrast(1.03) brightness(.88);
  transition: filter .45s ease;
}
.world-frame:hover img { filter: saturate(1) contrast(1.05) brightness(.94); }
.world-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  color: rgba(239,239,248,.56);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.text-link {
  max-width: 980px;
  margin: 56px auto 0;
  padding-bottom: 11px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.text-link:hover { border-color: var(--violet-soft); }

.membership {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--void-soft);
}
.number-block,
.membership-copy,
.tier-list {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.number-block {
  display: grid;
  grid-template-columns: .75fr 1fr 1.1fr;
  align-items: end;
  gap: 44px;
  padding-bottom: clamp(90px, 12vw, 150px);
}
.member-number {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(82px, 12vw, 168px);
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: .78;
  letter-spacing: -.045em;
  color: rgba(239,239,232,.9);
  text-shadow: 0 14px 50px rgba(0,0,0,.22);
}
.number-copy {
  max-width: 430px;
  margin: 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.8;
}
.membership-copy { margin-bottom: 54px; }
.tier-list { border-top: 1px solid var(--line); }
.tier {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}
.tier-featured { background: linear-gradient(90deg, rgba(117,108,255,.07), transparent 55%); }
.tier-architect { background: linear-gradient(90deg, rgba(239,239,248,.025), transparent 55%); }
.tier-heading span {
  color: rgba(239,239,248,.35);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .18em;
}
.tier-heading h3 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(40px, 4.3vw, 61px);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 58, "WONK" 1;
  font-weight: 420;
  letter-spacing: -.025em;
}
.tier-heading small {
  display: block;
  margin: 10px 0 0;
  color: rgba(239,239,248,.48);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.tier-heading p {
  margin: 8px 0 0;
  color: var(--violet-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tier-summary {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.7;
}
.tier ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tier li {
  padding: 6px 0;
  color: rgba(239,239,248,.72);
  font-size: 11px;
}
.tier-link {
  white-space: nowrap;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.tier-link:hover { border-color: var(--white); }

.final-entry {
  display: grid;
  grid-template-columns: minmax(320px, 720px) minmax(300px, 540px);
  justify-content: center;
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  background: var(--void);
}
.final-visual { margin: 0; }
.final-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(.9) contrast(1.03) brightness(.9);
}
.final-copy { max-width: 540px; }
.final-copy > p:not(.label) {
  margin: 30px 0 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.8;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 40px;
  padding: 58px clamp(22px, 4.5vw, 72px) 64px;
  border-top: 1px solid var(--line);
  background: var(--void);
}
.site-footer p {
  margin: 10px 0 0;
  color: rgba(239,239,248,.38);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer nav a {
  color: var(--soft);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.site-footer nav a:hover { color: var(--white); }
.mobile-entry { display: none; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .85s ease, transform .85s cubic-bezier(.2,.7,.1,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .number-block { grid-template-columns: 1fr 1fr; }
  .number-block .label { grid-column: 1 / -1; }
  .tier { grid-template-columns: .8fr 1.2fr; }
  .tier ul { grid-column: 1 / 2; }
  .tier-link { grid-column: 2 / 3; grid-row: 2; justify-self: start; }
  .final-entry { grid-template-columns: 1fr; }
  .final-copy { max-width: 720px; }
}

@media (max-width: 680px) {
  body { padding-bottom: 78px; }
  .site-header { padding: 22px; }
  .hero { padding: 130px 22px 112px; }
  .hero-shade {
    background: linear-gradient(0deg, rgba(5,6,10,.98), rgba(5,6,10,.58) 47%, rgba(5,6,10,.18) 78%, rgba(5,6,10,.35));
  }
  h1 { font-size: clamp(58px, 17vw, 86px); line-height: .9; }
  .primary-button { width: 100%; }
  .microcopy { text-align: center; }
  .section { padding: 100px 22px; }
  h2 { font-size: clamp(46px, 14vw, 70px); }
  .world-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }
  .world-frame {
    flex: 0 0 76vw;
    scroll-snap-align: start;
  }
  .number-block { display: block; }
  .member-number { margin-top: 40px; }
  .number-copy { margin-top: 32px; }
  .tier { grid-template-columns: 1fr; gap: 22px; padding: 38px 0; }
  .tier ul,
  .tier-link { grid-column: auto; grid-row: auto; }
  .tier-link { justify-self: start; }
  .final-entry { gap: 32px; }
  .site-footer { grid-template-columns: 1fr; align-items: start; padding-bottom: 110px; }
  .mobile-entry {
    position: fixed;
    z-index: 120;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 11px 11px 15px;
    color: var(--void);
    background: rgba(239,239,248,.95);
    backdrop-filter: blur(12px);
    transform: translateY(130%);
    transition: transform .4s ease;
    box-shadow: 0 18px 60px rgba(0,0,0,.45);
  }
  .mobile-entry.is-visible { transform: none; }
  .mobile-entry div { display: flex; flex-direction: column; gap: 3px; }
  .mobile-entry span { font-size: 9px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
  .mobile-entry small { font-size: 9px; }
  .mobile-entry a { padding: 11px 15px; color: var(--white); background: var(--void); font-size: 8px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@keyframes grain {
  0% { transform: translate(0,0); }
  25% { transform: translate(2%,-1%); }
  50% { transform: translate(-1%,2%); }
  75% { transform: translate(1%,1%); }
  100% { transform: translate(-2%,-1%); }
}

.tier-architect .tier-heading p { color: rgba(239,239,248,.64); }
