:root {
  --ink: #f2f0e9;
  --muted: #a5a8b2;
  --night: #070a12;
  --panel: #0d111d;
  --line: rgba(255, 255, 255, 0.15);
  --electric: #8fa8ff;
  --violet: #c8a4ff;
  --cyan: #75e6ef;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
img { display: block; width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: white; color: black; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.wordmark { font-size: .78rem; font-weight: 760; letter-spacing: .24em; text-decoration: none; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); }
nav a { color: var(--muted); font-size: .78rem; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: white; }
.nav-cta { color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem clamp(1.25rem, 8vw, 9rem) 5rem;
  background: radial-gradient(circle at 72% 42%, rgba(88, 72, 170, .22), transparent 33%), linear-gradient(135deg, #080a12 0%, #0b1020 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 5rem 5rem; mask-image: linear-gradient(to right, transparent, black); }
.hero-copy { position: relative; z-index: 2; width: min(740px, 70vw); }
.eyebrow, .section-label { margin: 0 0 1.5rem; color: var(--electric); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.75rem; font-size: clamp(4rem, 10.5vw, 10.5rem); line-height: .82; letter-spacing: -.072em; font-weight: 660; }
h1 em { color: transparent; font-family: Georgia, "Times New Roman", serif; font-weight: 400; -webkit-text-stroke: 1.2px rgba(242,240,233,.8); }
.hero-lede { max-width: 610px; margin-bottom: 2.3rem; color: #c9ccd5; font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 3.2rem; padding: .85rem 1.25rem; border: 1px solid currentColor; border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; transition: transform .25s, background .25s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--night); border-color: var(--ink); }
.text-link { color: #c3c6ce; font-size: .82rem; text-decoration: none; }
.hero-index { position: absolute; left: clamp(1.25rem, 4vw, 4.5rem); bottom: 1.5rem; margin: 0; color: #676c79; font: .64rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .2em; }

.hero-orbit { position: absolute; width: min(58vw, 780px); aspect-ratio: 1; right: -6vw; top: 50%; transform: translateY(-50%); opacity: .78; }
.orbit, .axis { position: absolute; inset: 16%; border: 1px solid rgba(165, 183, 255, .38); border-radius: 50%; }
.orbit-one { transform: rotate(63deg) scaleY(.35); }
.orbit-two { transform: rotate(-18deg) scaleY(.35); }
.orbit-three { transform: rotate(12deg) scale(.7); border-color: rgba(117,230,239,.22); }
.axis { inset: 49% 5% auto; border: 0; border-top: 1px solid rgba(255,255,255,.18); border-radius: 0; }
.axis-one { transform: rotate(28deg); }
.axis-two { transform: rotate(-38deg); }
.point { position: absolute; width: .7rem; aspect-ratio: 1; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 24px var(--cyan); }
.point-one { left: 23%; top: 35%; }
.point-two { right: 20%; top: 54%; background: var(--violet); box-shadow: 0 0 24px var(--violet); }
.point-three { left: 48%; bottom: 17%; width: .42rem; }

.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6rem); }
.manifesto { background: #eeeae1; color: #12141a; }
.manifesto .section-label { color: #5c5488; }
.manifesto-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 7vw; align-items: start; padding-bottom: clamp(4rem, 8vw, 8rem); }
.manifesto h2, .section-heading h2, .invitation h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 6vw, 6.4rem); font-weight: 400; line-height: .98; letter-spacing: -.05em; }
.manifesto-grid > div { max-width: 600px; padding-top: .6rem; font-size: clamp(1.05rem, 1.7vw, 1.4rem); }
.quiet { color: #676870; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(18,20,26,.25); }
.modes article { min-height: 240px; padding: 1.5rem 2rem 1rem 0; border-right: 1px solid rgba(18,20,26,.2); }
.modes article + article { padding-left: 2rem; }
.modes article:last-child { border-right: 0; }
.modes span { color: #74727c; font: .68rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.modes h3 { margin: 4rem 0 .6rem; font-size: 1.3rem; }
.modes p { max-width: 280px; color: #63646c; }

.worlds { background: var(--night); }
.section-heading { display: grid; grid-template-columns: 1.2fr .65fr; align-items: end; gap: 4rem; margin-bottom: clamp(3rem, 6vw, 6rem); }
.section-heading > p { max-width: 460px; margin: 0 0 .5rem; color: var(--muted); font-size: 1.03rem; }
.world-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.world-card { position: relative; margin: 0; overflow: hidden; background: #121620; aspect-ratio: 4 / 3; }
.world-card-wide { aspect-ratio: 16 / 10; }
.world-card img { height: 100%; object-fit: cover; filter: saturate(.78) brightness(.78); transition: transform .7s ease, filter .7s ease; }
.world-card:hover img { transform: scale(1.025); filter: saturate(1) brightness(.9); }
.world-card figcaption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 2.5rem 1.4rem 1.25rem; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.world-card figcaption span { font-size: 1.1rem; font-weight: 650; }
.world-card figcaption small { color: #c5c7ce; }

.invitation { text-align: center; background: linear-gradient(150deg, #7765d0, #496c9e 60%, #3d7b82); }
.invitation .section-label { color: rgba(255,255,255,.7); }
.invitation h2 { margin-bottom: 3rem; }
.button-light { background: white; color: #151728; border-color: white; }

footer { display: grid; grid-template-columns: 1.4fr repeat(3, auto); gap: 2rem; align-items: center; padding: 2rem clamp(1.25rem, 4vw, 4.5rem); color: #888d99; border-top: 1px solid var(--line); font-size: .72rem; }
footer p { margin: 0; }
footer a { text-decoration: none; }
footer a:hover { color: white; }

@media (max-width: 760px) {
  nav > a:not(.nav-cta) { display: none; }
  .hero-copy { width: 100%; }
  .hero-orbit { width: 100vw; right: -44vw; opacity: .4; }
  .manifesto-grid, .section-heading { grid-template-columns: 1fr; gap: 2rem; }
  .modes { grid-template-columns: 1fr; }
  .modes article, .modes article + article { min-height: auto; padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid rgba(18,20,26,.2); }
  .modes h3 { margin: 2rem 0 .5rem; }
  .world-grid { grid-template-columns: 1fr; }
  .world-card, .world-card-wide { aspect-ratio: 4 / 3; }
  footer { grid-template-columns: 1fr; gap: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
