:root {
  --ink: #07111f;
  --ink-soft: #0c1b2f;
  --paper: #f4f1e9;
  --paper-muted: #c9c6bd;
  --amber: #f2b544;
  --cyan: #49bde9;
  --line: rgba(244, 241, 233, 0.2);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; }

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 4.5rem);
  font-size: .72rem;
  letter-spacing: .16em;
}
.wordmark { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 650; }
.wordmark-mark { width: .62rem; height: .62rem; border: 1px solid var(--amber); border-radius: 50%; box-shadow: 0 0 1.2rem rgba(242,181,68,.55); }
.header-note { color: var(--paper-muted); letter-spacing: .08em; }

.experiment {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  overflow: hidden;
  padding: 7rem clamp(1.25rem, 5vw, 5rem) 2rem;
  background:
    radial-gradient(circle at 50% 54%, rgba(26, 74, 109, .28), transparent 42%),
    linear-gradient(180deg, #050d18, var(--ink));
}
.experiment::before,
.experiment::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(73,189,233,.19);
  border-radius: 50%;
  width: min(76vw, 54rem);
  aspect-ratio: 1;
  left: 50%;
  top: 54%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.experiment::after { width: min(52vw, 35rem); border-color: rgba(242,181,68,.14); }
.experiment-noise {
  position: absolute;
  inset: 0;
  opacity: .13;
  pointer-events: none;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
.chapter-label,
.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--amber);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.experiment-stage {
  position: relative;
  z-index: 1;
  width: min(100%, 64rem);
  margin: auto;
  text-align: center;
}
.experiment h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 8.5vw, 8rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.instruction { max-width: 35rem; margin: 2rem auto 0; color: var(--paper-muted); font-size: clamp(1rem, 1.6vw, 1.2rem); }
.reveal-button {
  display: inline-flex;
  gap: .9rem;
  align-items: center;
  margin-top: 2rem;
  padding: .8rem 0;
  border: 0;
  border-bottom: 1px solid var(--paper-muted);
  background: transparent;
  cursor: pointer;
  letter-spacing: .04em;
}
.reveal-button:hover { border-color: var(--amber); }
.reveal-button:focus-visible,
.submit-button:focus-visible,
input:focus-visible,
a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.reveal-panel { max-width: 48rem; margin: 2.5rem auto 0; animation: reveal .65s ease-out both; }
.reveal-prefix { margin: 0; color: var(--paper-muted); }
.reveal-answer { margin: .1rem 0 1rem; color: var(--amber); font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 5.3rem); line-height: 1; }
.reveal-observation { max-width: 41rem; margin: auto; font-size: clamp(1rem, 1.8vw, 1.25rem); }
.continue-link { position: relative; z-index: 1; justify-self: center; color: var(--paper-muted); text-decoration: none; font-size: .82rem; letter-spacing: .08em; }
@keyframes reveal { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: translateY(0); } }

.observation,
.invitation {
  display: grid;
  grid-template-columns: minmax(3rem,.3fr) minmax(15rem,1fr) minmax(18rem,1fr);
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 7rem);
  background: var(--paper);
  color: var(--ink);
}
.section-index { color: #6e716f; font-size: .72rem; letter-spacing: .16em; }
.observation h2,
.thesis h2,
.invitation h2 {
  margin: .65rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.5vw, 5.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}
.observation .eyebrow,
.invitation .eyebrow { color: #8b5b00; }
.observation h2 em { color: #8b5b00; font-weight: 400; }
.observation-body { align-self: end; max-width: 38rem; font-size: clamp(1.05rem,1.5vw,1.25rem); }
.observation-body p:first-child { margin-top: 0; }
.sequence { grid-column: 2 / 4; display: flex; align-items: center; gap: 1rem; padding-top: 3rem; color: #4c5560; font-size: clamp(.72rem,1.2vw,.9rem); letter-spacing: .13em; }
.sequence i { height: 1px; flex: 1; background: #a7a59d; }

.thesis {
  min-height: 78svh;
  display: grid;
  place-content: center;
  padding: clamp(5rem, 12vw, 10rem) clamp(1.25rem, 10vw, 12rem);
  background: var(--ink-soft);
}
.thesis h2 { max-width: 68rem; margin-top: 1rem; }
.thesis > p:last-child { max-width: 43rem; margin: 2.5rem 0 0 auto; color: var(--paper-muted); font-size: clamp(1.05rem,1.7vw,1.3rem); }

.invitation { grid-template-columns: minmax(17rem,1fr) minmax(18rem,.8fr); align-items: start; }
.invitation h2 { max-width: 11ch; }
.invitation-copy > p:not(.eyebrow) { max-width: 38rem; font-size: 1.15rem; }
.reading-notes { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid #c9c5bb; }
.reading-notes li { padding: .8rem 0; border-bottom: 1px solid #c9c5bb; }
.reading-notes li::before { content: "·"; color: #9a6300; margin-right: .8rem; }

.lead-form { padding: clamp(1.5rem,4vw,3rem); background: #fff; border-top: 4px solid var(--amber); box-shadow: 0 1rem 4rem rgba(7,17,31,.09); }
.field + .field { margin-top: 1.4rem; }
.field label { display: flex; justify-content: space-between; font-size: .86rem; font-weight: 650; }
.optional { color: #6c7176; font-weight: 400; }
.field input { width: 100%; margin-top: .5rem; border: 0; border-bottom: 1px solid #777; border-radius: 0; padding: .7rem 0; background: transparent; color: var(--ink); font-size: 1.1rem; }
.field input[aria-invalid="true"] { border-color: #a32323; }
.field-hint, .field-error { min-height: 1.3rem; margin: .35rem 0 0; color: #646a6f; font-size: .78rem; }
.field-error { color: #8b1919; }
.consent-row { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; margin: 1.5rem 0; }
.consent-row input { width: 1.15rem; height: 1.15rem; margin-top: .25rem; accent-color: var(--ink); }
.consent-row label { font-size: .86rem; line-height: 1.45; }
.submit-button { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; padding: 1rem 1.2rem; background: var(--ink); color: var(--paper); cursor: pointer; font-weight: 650; }
.submit-button:hover { background: #152b45; }
.form-legal { margin: 1rem 0 0; color: #686d71; font-size: .72rem; line-height: 1.5; }
.form-status { margin-top: 1rem; padding: 1rem; background: #edf4ef; border-left: 3px solid #326443; color: #21432d; font-size: .88rem; }

.site-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2.5rem clamp(1.25rem,6vw,7rem); border-top: 1px solid var(--line); color: var(--paper-muted); font-size: .78rem; }
.footer-title { color: var(--paper); letter-spacing: .15em; font-weight: 650; }
.site-footer p { margin: .3rem 0 0; }
.privacy-placeholder { max-width: 28rem; text-align: right; }

@media (max-width: 760px) {
  .header-note { display: none; }
  .experiment { min-height: 100svh; }
  .experiment h1 { font-size: clamp(3.2rem, 15vw, 5.2rem); }
  .experiment::before { width: 130vw; }
  .experiment::after { width: 86vw; }
  .observation,
  .invitation { grid-template-columns: 1fr; gap: 2rem; }
  .lead-form { margin-top: 1rem; }
  .section-index { display: none; }
  .sequence { grid-column: 1; gap: .55rem; overflow: hidden; font-size: .62rem; }
  .sequence i { min-width: 1rem; }
  .thesis > p:last-child { margin-left: 0; }
  .site-footer { flex-direction: column; }
  .privacy-placeholder { text-align: left; }
}

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