:root {
  --night: #100c20;
  --night-deep: #0c0a18;
  --ink: #1a1433;
  --cream: #f6f1e7;
  --text: #f6f1e7;
  --text-soft: #ddd4c6;
  --gold: #e4d0a4;
  --indigo: #3a2d8c;
  --muted: #3f3a52;
  --line: rgba(26, 20, 51, 0.14);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.25rem;
  background: var(--night);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

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

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.sheet-cream :focus-visible { outline-color: var(--indigo); }

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-140%);
  z-index: 80;
  background: var(--gold);
  color: var(--ink);
  padding: 0.65rem 0.9rem;
  border-radius: 0 0 0.6rem 0.6rem;
  text-decoration: none;
}

.skip:focus { transform: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(12, 10, 24, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(246, 241, 231, 0.08);
}

.wordmark {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.wordmark-mark { width: 1.7rem; height: 1.7rem; flex: none; }

.nav-toggle {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), background 0.3s;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 6rem 1.75rem;
  background: rgba(12, 10, 24, 0.97);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.site-nav[data-open="true"] {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 9vw, 3.3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.site-nav a[aria-current="true"] { color: var(--gold); }

.hero {
  position: relative;
  z-index: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 6.5rem 1.2rem 4.75rem;
  overflow: hidden;
  background: var(--night);
}

.hero-sky,
.hero-scrim,
.hero-bow { position: absolute; pointer-events: none; }

.hero-sky {
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 78% 38%, rgba(92, 74, 196, 0.48), transparent 62%),
    radial-gradient(ellipse 42% 32% at 72% 82%, rgba(198, 163, 106, 0.16), transparent 70%),
    radial-gradient(ellipse 36% 28% at 12% 88%, rgba(70, 96, 170, 0.22), transparent 70%),
    linear-gradient(180deg, #16122c 0%, #100c20 46%, #0d1222 100%);
}

.will-animate .hero-sky { animation: sky 18s ease-in-out infinite alternate; }

@keyframes sky {
  from { filter: saturate(1); }
  to { filter: saturate(1.12) hue-rotate(8deg); }
}

.hero-scrim {
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 12, 32, 0.15) 0%, rgba(16, 12, 32, 0.2) 32%, rgba(16, 12, 32, 0.88) 68%, #100c20 100%);
}

.hero-bow {
  z-index: 0;
  width: min(118vw, 560px);
  right: -8vw;
  top: 0;
  --parallax: 0;
}

.hero-bow svg {
  display: block;
  width: 100%;
  height: auto;
  transform: translate3d(0, calc(var(--parallax) * 1px), 0);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
}

.hero h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.title-soft,
.title-name,
.lede-line { display: block; }

.title-soft {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 460;
  font-size: clamp(1.7rem, 3.5vw, 2.85rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--gold);
  white-space: nowrap;
}

.title-name {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(3.7rem, 17vw, 8.4rem);
  letter-spacing: -0.045em;
  line-height: 0.86;
  margin-top: 0.08em;
  color: var(--text);
  white-space: nowrap;
  text-shadow: 0 0 42px rgba(140, 120, 255, 0.28);
}

.lede-line {
  margin: 1rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 460;
  font-size: clamp(1.4rem, 2.5vw, 2.05rem);
  line-height: 1.25;
  color: var(--text);
}

.deck {
  margin: 0.9rem 0 0;
  max-width: 36rem;
  color: var(--text-soft);
  font-size: 1.125rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.spectrum {
  display: flex;
  gap: 5px;
  width: min(100%, 15rem);
  margin: 1.1rem 0 0;
  align-items: center;
}

.spectrum span,
.footer-spectrum span {
  display: block;
  height: 3px;
  flex: 1;
  border-radius: 99px;
}

.spectrum span:nth-child(6),
.footer-spectrum span:nth-child(6) {
  flex: 2.1;
  height: 5px;
  box-shadow: 0 0 14px rgba(140, 120, 255, 0.9);
}

.c-red { background: #d15d58; }
.c-orange { background: #e0924f; }
.c-yellow { background: #e6c56a; }
.c-green { background: #6eae86; }
.c-blue { background: #5d97c2; }
.c-indigo { background: #8b7cf5; }
.c-violet { background: #9a73b5; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f3e6c4; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(246, 241, 231, 0.4);
}

.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); }

.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--indigo); transform: translateY(-1px); }

.sheet {
  position: relative;
  padding: clamp(4.25rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem);
}

.sheet-cream {
  z-index: 1;
  background: var(--cream);
  color: var(--ink);
  color-scheme: light;
  border-top-left-radius: clamp(1.4rem, 4vw, 2.6rem);
  border-top-right-radius: clamp(1.4rem, 4vw, 2.6rem);
  margin-top: -1.4rem;
  box-shadow: 0 -28px 70px rgba(0, 0, 0, 0.28);
}

#join { z-index: 3; }

.sheet-dark {
  z-index: 2;
  background:
    radial-gradient(ellipse 48% 42% at 82% 28%, rgba(88, 68, 180, 0.28), transparent 62%),
    var(--night-deep);
  color: var(--text);
  border-top-left-radius: clamp(1.4rem, 4vw, 2.6rem);
  border-top-right-radius: clamp(1.4rem, 4vw, 2.6rem);
  margin-top: -1.4rem;
}

.kicker {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.sheet-cream .kicker { color: var(--indigo); }

h2 {
  margin: 0.45rem 0 0.9rem;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.35rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

.section-intro {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.65;
}

.section-intro + .section-intro { margin-top: 0.85rem; }

.sheet-dark .section-intro,
.why-intro p,
.why-prose p {
  color: var(--text-soft);
}

.pillars {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}

.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num mark"
    "body body";
  gap: 0.85rem 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.pillar:last-child { border-bottom: 1px solid var(--line); }

.pillar-num {
  grid-area: num;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.55rem;
  color: var(--indigo);
  line-height: 1;
}

.pillar-mark {
  grid-area: mark;
  justify-self: end;
  width: 3.6rem;
  height: 3.6rem;
  color: var(--indigo);
}

.pillar-mark svg { width: 100%; height: 100%; display: block; }

.pillar-body { grid-area: body; }

.pillar h3 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pillar p {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.why-grid { display: flex; flex-direction: column; gap: 1.25rem; }

.why-intro p,
.why-prose p {
  margin: 0 0 1.05rem;
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.why-visual { margin: 0.5rem 0 0.25rem; }

.why-visual svg { width: min(100%, 520px); height: auto; display: block; }

.why-visual figcaption {
  margin-top: 0.35rem;
  max-width: 28rem;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.color-names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.color-names .is-indigo {
  color: #ddd6ff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
}

.why-prose p.grace-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.35;
  color: var(--text);
  max-width: 18ch;
  margin: 1.35rem 0 1.4rem;
}

blockquote {
  margin: 1.6rem 0 1.4rem;
  padding: 0.15rem 0 0.15rem 1.1rem;
  border-left: 1px solid rgba(228, 208, 164, 0.75);
  max-width: 38rem;
}

blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.7rem) !important;
  line-height: 1.45 !important;
  color: var(--text) !important;
}

blockquote footer {
  margin-top: 0.7rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.why-ghost { opacity: 0; }
.why-indigo { opacity: 1; }

.will-animate .why-ghost { opacity: 1; }
.will-animate .why-indigo {
  opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

#why.is-restored .why-ghost { opacity: 0; transition: opacity 0.6s var(--ease); }
#why.is-restored .why-indigo {
  opacity: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.5s var(--ease), opacity 0.8s var(--ease);
}

.join-grid { display: grid; gap: 2rem; }

.join-form {
  display: grid;
  gap: 1.2rem;
  max-width: 36rem;
}

.field { display: grid; gap: 0.4rem; }

.field span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field em {
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(26, 20, 51, 0.28);
  border-radius: 0;
  padding: 0.7rem 0;
  min-height: 48px;
}

textarea { min-height: 8.5rem; resize: vertical; }

input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 4px;
  border-bottom-color: var(--indigo);
}

.form-help,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.form-status {
  padding: 0.9rem 1rem;
  background: rgba(58, 45, 140, 0.08);
  border-radius: 0.8rem;
  color: var(--ink);
}

.site-footer {
  position: relative;
  z-index: 4;
  margin-top: -1.4rem;
  background: var(--night);
  color: var(--text);
  border-top-left-radius: clamp(1.4rem, 4vw, 2.6rem);
  border-top-right-radius: clamp(1.4rem, 4vw, 2.6rem);
  overflow: hidden;
}

.footer-spectrum { display: flex; height: 6px; }
.footer-spectrum span { height: 100%; border-radius: 0; }

.footer-inner { padding: clamp(2.8rem, 6vw, 4.4rem) 0 clamp(2.4rem, 5vw, 3.4rem); }

.footer-name {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.footer-ded {
  margin: 0.4rem 0 0;
  font-size: 1.15rem;
}

.footer-domain {
  margin: 1.15rem 0 0;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 0;
}

.footer-links a {
  color: var(--text-soft);
  text-underline-offset: 0.2em;
}

.footer-links a:hover { color: var(--text); }

.footer-meta {
  margin: 1.2rem 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.missing {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 1.4rem 4rem;
  max-width: 40rem;
  margin: 0 auto;
}

.missing h1 {
  margin: 0.35rem 0 0.8rem;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.missing p { color: var(--text-soft); max-width: 32rem; }
.missing .btn { margin-top: 0.6rem; align-self: flex-start; }
.missing-bow { width: min(100%, 220px); margin-bottom: 0.4rem; }

.page-simple .nav-toggle { display: none; }
.page-simple .site-nav {
  position: static;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  background: none;
  padding: 0;
  display: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.will-animate .hero-band {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.7s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes draw { to { stroke-dashoffset: 0; } }

.will-animate .hero-copy > * {
  animation: rise 0.95s var(--ease) both;
}

.will-animate .hero-copy > *:nth-child(1) { animation-delay: 0.08s; }
.will-animate .hero-copy > *:nth-child(2) { animation-delay: 0.2s; }
.will-animate .hero-copy > *:nth-child(3) { animation-delay: 0.32s; }
.will-animate .hero-copy > *:nth-child(4) { animation-delay: 0.44s; }
.will-animate .hero-copy > *:nth-child(5) { animation-delay: 0.56s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (hover: hover) {
  .pillar:hover .pillar-mark { transform: translateY(-3px); }
  .pillar-mark { transition: transform 0.35s var(--ease); }
}

@media (min-width: 800px) {
  .pillar {
    grid-template-columns: 4.5rem minmax(0, 1fr) 6.5rem;
    grid-template-areas: "num body mark";
    align-items: center;
    gap: 1.5rem 2rem;
    padding: 2.4rem 0;
  }

  .pillar-mark { width: 4.4rem; height: 4.4rem; }
}

@media (min-width: 860px) {
  .site-header { padding: 1rem 2rem; }
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    background: none;
    padding: 0;
    display: block;
  }

  .site-nav ul {
    flex-direction: row;
    gap: 1.6rem;
  }

  .site-nav a {
    font-family: var(--sans);
    font-size: 1rem;
    letter-spacing: 0.01em;
    position: relative;
  }

  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
  }

  .site-nav a:hover::after,
  .site-nav a[aria-current="true"]::after { transform: scaleX(1); }

  .page-simple .site-nav { display: block; }
  .page-simple .site-nav a { font-size: 1rem; font-family: var(--sans); }
}

@media (min-width: 900px) {
  .wrap { width: min(1120px, calc(100% - 6rem)); }

  .hero {
    align-items: center;
    padding: 7rem 6vw 5.5rem;
  }

  .hero-scrim {
    background: linear-gradient(90deg, rgba(16, 12, 32, 0.94) 0%, rgba(16, 12, 32, 0.72) 38%, rgba(16, 12, 32, 0.18) 68%, transparent 100%);
  }

  .hero-bow {
    width: min(46vw, 680px);
    right: 3vw;
    top: 52%;
    translate: 0 -50%;
  }

  .hero-copy { width: min(40rem, 52%); }
}

@media (min-width: 980px) {
  .why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    grid-template-areas:
      "intro visual"
      "prose visual";
    column-gap: 3.5rem;
    row-gap: 0.5rem;
    align-items: start;
  }

  .why-intro { grid-area: intro; }
  .why-visual {
    grid-area: visual;
    position: sticky;
    top: 5.5rem;
  }
  .why-prose { grid-area: prose; }

  .join-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

@media (min-width: 1400px) {
  .hero { padding-left: max(6vw, calc((100% - 1180px) / 2)); }
}

@media (max-width: 380px) {
  .title-name { letter-spacing: -0.055em; font-size: 3.45rem; }
  .hero { padding-left: 1rem; padding-right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .will-animate .hero-sky,
  .will-animate .hero-band,
  .will-animate .hero-copy > *,
  .js .reveal {
    animation: none;
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
  }
}

.reduce-motion .reveal,
.reduce-motion .hero-band,
.reduce-motion .hero-copy > * {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  stroke-dashoffset: 0 !important;
}

@media print {
  .site-header, .hero-bow, .hero-sky, .hero-scrim, .nav-toggle { display: none !important; }
  body, .hero, .sheet-dark, .site-footer { background: white !important; color: black !important; }
  .sheet-cream { box-shadow: none; }
  a { text-decoration: underline; }
}
