:root {
  color-scheme: dark;
  --black: #090909;
  --black-soft: #0d0d0c;
  --ivory: #eee9df;
  --ivory-muted: #bdb7ad;
  --line: rgba(238, 233, 223, 0.58);
  --transition-before: 7rem;
  --transition-line: 3.5rem;
  --transition-after: 3rem;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--black);
  color: var(--ivory);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.025), transparent 36rem),
    radial-gradient(circle at 78% 74%, rgba(255, 255, 255, 0.018), transparent 42rem),
    var(--black);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.13;
  content: "";
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

button, a { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  padding: 0.65rem 0.9rem;
  color: var(--black);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 0.8rem;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 2rem clamp(1rem, 4vw, 2rem);
  background: var(--black);
  transition: opacity 900ms ease, visibility 900ms ease;
}

.splash::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 50% 46%, rgba(255,255,255,0.035), transparent 35rem);
}

.splash__content {
  position: relative;
  width: min(100%, 860px);
  text-align: center;
  animation: first-reveal 1.6s ease both;
}

.splash__statement {
  margin: 0;
  font-size: clamp(1.85rem, 4.2vw, 4rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.004em;
}

.rule {
  display: block;
  width: 5.5rem;
  height: 1px;
  margin: 2.25rem auto;
  background: var(--line);
}

.enter {
  position: relative;
  border: 0;
  padding: 0.8rem 1.2rem;
  color: var(--ivory-muted);
  background: transparent;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 240ms ease, letter-spacing 350ms ease;
}

.enter:hover, .enter:focus-visible {
  color: var(--ivory);
  letter-spacing: 0.36em;
}

.enter:focus-visible, .email:focus-visible {
  outline: 1px solid var(--ivory);
  outline-offset: 0.45rem;
}

body:not(.intro-active) .splash {
  opacity: 0;
  visibility: hidden;
}

body.intro-active { overflow: hidden; }

.panel {
  display: grid;
  place-items: center;
  padding-inline: clamp(1.4rem, 7vw, 7rem);
  text-align: center;
}

.opening { padding-top: clamp(7rem, 14vh, 10rem); }
.finale { padding-bottom: clamp(7rem, 14vh, 10rem); }

.opening .frame { width: min(100%, 980px); }

.opening h1 {
  max-width: 930px;
  margin-inline: auto;
  font-size: clamp(2.05rem, 4.8vw, 4.65rem);
  line-height: 1.16;
}

.opening .rule {
  margin-block: clamp(2.35rem, 4.5vw, 3.1rem);
}

.opening-reflection {
  max-width: 790px;
  margin: 0 auto;
  font-size: clamp(1.65rem, 3.4vw, 3rem);
  line-height: 1.25;
}

.opening .lead {
  margin-top: clamp(1.35rem, 2.6vw, 1.9rem);
  max-width: 680px;
  line-height: 1.5;
}

.opening .sequence {
  max-width: 900px;
  margin: clamp(2.9rem, 6vw, 4.2rem) auto 0;
}

.opening .question { margin-top: 1.1rem; }

.transition {
  display: grid;
  grid-template-rows: var(--transition-before) var(--transition-line) var(--transition-after);
  justify-items: center;
}

.transition::before {
  grid-row: 2;
  width: 1px;
  height: 100%;
  content: "";
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(238, 233, 223, 0.24) 38%,
    rgba(238, 233, 223, 0.60) 100%
  );
}

.frame { width: min(100%, 1020px); }
.frame--narrow { width: min(100%, 820px); }

.eyebrow {
  margin: 0 0 2.2rem;
  color: var(--ivory-muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

h1, h2, p { text-wrap: balance; }

h1, h2 {
  margin: 0;
  font-weight: 400;
  line-height: 1.18;
}

h1 { font-size: clamp(2.15rem, 5.6vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4.8vw, 4.25rem); }

.lead, .counterpoint {
  margin: 0 auto;
  color: var(--ivory-muted);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
}

.sequence {
  margin: 3.5rem 0 0;
  font-size: clamp(1.35rem, 3.1vw, 2.5rem);
  line-height: 1.32;
}

.question {
  margin: 1.2rem 0 0;
  color: var(--ivory-muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

em { color: var(--ivory); font-style: italic; }

.choice h2 { max-width: 900px; margin-inline: auto; }
.choice .counterpoint { margin-top: 1.5rem; color: var(--ivory); }

.possibilities {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  margin: 3rem auto;
  max-width: 900px;
  color: var(--ivory-muted);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.thesis {
  margin: 3rem 0 0;
  font-size: clamp(1.55rem, 3.5vw, 3rem);
  line-height: 1.3;
}

.body-copy {
  margin: 2.4rem auto 0;
  max-width: 760px;
  color: var(--ivory-muted);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.body-copy--final { color: var(--ivory); }

.declarations {
  margin: 3.4rem 0;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1.35;
}

.declarations p { margin: 0.45rem 0; }

.knife {
  margin: 3.8rem 0 0;
  font-size: clamp(1.85rem, 4vw, 3.4rem);
}

.perspective .rule { margin-top: 2.2rem; }

.credo p {
  margin: 0.28rem 0;
  font-size: clamp(2rem, 5.3vw, 5rem);
  line-height: 1.2;
}

.credo p:nth-child(2) { color: var(--ivory-muted); }

.finale h2 { font-size: clamp(2.4rem, 6vw, 5.6rem); }

.final-thought {
  margin: 0 0 2.5rem;
  color: var(--ivory-muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.email {
  display: inline-block;
  text-decoration-color: var(--line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.45rem;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
}

.colophon {
  margin: 6rem 0 0;
  color: #77736c;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

@keyframes first-reveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

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

@media (max-width: 640px) {
  :root {
    --transition-before: 4.5rem;
    --transition-line: 3rem;
    --transition-after: 2.5rem;
  }
}
