:root {
  --bg: #0b0b0c;
  --bg-2: #0e0e10;
  --text: #e8e4dc;
  --body: #bfbab0;
  --muted: #8a857c;
  --dim: #5d5951;
  --gold: #c9a45c;
  --gold-hi: #e6c88a;
  --line: rgba(232, 228, 220, .09);
  --line-gold: rgba(201, 164, 92, .35);
  --serif: "Cormorant Garamond", "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5vw, 64px);
  --section: clamp(96px, 14vh, 160px);
  --wide: 1180px;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
em { font-style: italic; }
a { color: inherit; }
p { margin: 0 0 1.3em; color: var(--body); }
h1, h2, h3, h4 { font-weight: 300; margin: 0; }
h1, .lead, .pull, .takeaway, .q, h3, h4 { text-wrap: balance; }

/* ---------- top bar ---------- */
.bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 6.5vw, 110px) 36px;
  background: linear-gradient(to bottom, rgba(11, 11, 12, .9), rgba(11, 11, 12, 0));
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.mark { width: 40px; height: 14px; display: block; }
.wordmark {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: .42em;
  text-transform: uppercase;
}
.bar-cta {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
  padding: 10px 16px;
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .5s, transform .5s, border-color .4s;
}
.bar.scrolled { background: linear-gradient(to bottom, rgba(11, 11, 12, .98) 0%, rgba(11, 11, 12, .95) 70%, rgba(11, 11, 12, 0) 100%); }
.bar.scrolled .bar-cta { opacity: 1; transform: none; border-color: var(--line-gold); }
.bar-cta:hover { border-color: var(--gold); color: var(--gold-hi); }

/* ---------- section index (desktop) ---------- */
.index {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.index a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--dim);
  transition: color .4s;
}
.index .n { font-variant-numeric: tabular-nums; }
.index a { position: relative; }
.index .t { position: absolute; right: calc(100% + 2px); top: 0; opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; white-space: nowrap; }
.index a:hover .t { opacity: 1; transform: none; }
.index a::after { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .4s; }
.index a:hover, .index a.on { color: var(--gold); }
.index a.on::after { width: 26px; }
@media (max-width: 1180px) { .index { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, .92) 0%, rgba(11, 11, 12, .55) 30%, rgba(11, 11, 12, 0) 55%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11, 11, 12, 0) 20%);
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 6.5vw, 110px);
  top: 46%;
  transform: translateY(-50%);
  max-width: 680px;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(2.9rem, 6.4vw, 6.2rem);
  line-height: .96;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
}
h1 em { color: var(--gold); text-shadow: 0 0 48px rgba(201, 164, 92, .28); }
.sub {
  margin: 0;
  max-width: 26em;
  padding-left: 22px;
  border-left: 1px solid rgba(201, 164, 92, .55);
  color: #a7a197;
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
}
.hero-copy .intro { margin: 1.5em 0 1.7em; max-width: 30em; color: var(--body); font-size: clamp(.98rem, 1.15vw, 1.1rem); }
.hero-copy > * { animation: rise 1.8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy h1 { animation-delay: .2s; }
.hero-copy .sub { animation-delay: .9s; }
.hero-copy .intro { animation-delay: 1.3s; }
.hero-copy .mail { animation-delay: 1.7s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 26px;
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--gold), transparent);
  transform-origin: top;
  animation: cue 2.8s ease-in-out infinite;
}
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- shared type ---------- */
.label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 2.2em;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .24em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--gold);
}
.label span { color: var(--dim); letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.label::after { content: ""; flex: 0 0 40px; height: 1px; margin-top: .8em; background: var(--line-gold); }

.lead {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 1.1em;
}
.pull {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.8vw, 3.3rem);
  line-height: 1.1;
  color: var(--text);
  margin: .7em 0 .7em;
}
.takeaway {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.8vw, 1.6rem);
  line-height: 1.3;
  color: var(--text);
  margin: 1.5em 0 0;
  padding-left: 20px;
  border-left: 1px solid var(--line-gold);
}
.stanza { margin: 0 0 1.5em; }
.stanza p { margin: 0 0 .5em; }
.note { color: var(--muted); font-size: .92em; letter-spacing: .04em; }
.num {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 1.2em;
  font-variant-numeric: tabular-nums;
}

/* ---------- split sections (the visuals) ---------- */
.split {
  max-width: var(--wide);
  margin: 0 auto;
  padding: var(--section) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.copy { max-width: 520px; }
.copy > p:not(.lead):not(.pull) { color: var(--body); }
.copy .lead { margin: 1.1em 0 1em; }
.copy .lead em, .q em { color: var(--gold-hi); }
.viz {
  position: sticky;
  top: calc(50vh - 260px);
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  justify-self: center;
  background: radial-gradient(circle at 50% 62%, rgba(201, 164, 92, .07), transparent 62%);
}
.viz canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- bands and the editorial grid ---------- */
.band {
  max-width: var(--wide);
  margin: 0 auto;
  padding: var(--section) var(--pad);
  border-top: 1px solid var(--line);
}
.editorial {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.editorial .side { position: sticky; top: 120px; }
.editorial .side .lead { max-width: 11em; }
.editorial .body { max-width: 560px; }

/* 04: two ways */
.way { padding: 0 0 3em; }
.way + .way { padding-top: 3em; border-top: 1px solid var(--line); }
.way h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.3vw, 2.1rem);
  line-height: 1.15;
  margin: 0 0 .8em;
}
.way h3 .num { margin-bottom: .9em; }
ul.ticks, ul.asks, ul.plain { list-style: none; margin: 0 0 1.4em; padding: 0; }
ul.ticks li, ul.plain li { position: relative; padding-left: 26px; margin: 0 0 .55em; color: var(--body); }
ul.ticks li::before, ul.plain li::before {
  content: "";
  position: absolute;
  left: 0; top: .78em;
  width: 12px; height: 1px;
  background: var(--gold);
}
ul.asks li {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.6vw, 1.45rem);
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 .8em;
}

/* 05: cases */
.case {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0 clamp(40px, 7vw, 110px);
  align-items: start;
  margin-top: 4.5em;
  padding-top: 3.2em;
  border-top: 1px solid var(--line);
}
.case-side { position: sticky; top: 120px; }
.case-stat { display: flex; flex-wrap: wrap; gap: 28px 44px; margin-top: 2.4em; }
.case-body { max-width: 560px; }
.kicker {
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1em;
}
.case h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
  max-width: 8em;
}
.stat { margin: 0; color: var(--text); }
.stat span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3rem, 4.4vw, 4.2rem);
  line-height: 1;
  color: var(--gold-hi);
  letter-spacing: -.01em;
}
.stat span em { font-style: normal; font-size: .5em; color: var(--muted); }
.stat small {
  display: block;
  margin-top: .6em;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 11em;
  line-height: 1.5;
}
.ask-line {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.9vw, 1.7rem);
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 1.2em;
}

/* 06: capabilities */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  margin: 1.5em 0 3.5em;
}
.cell { padding: 1.8em 0 1.6em; border-top: 1px solid var(--line-gold); }
.cell .num { margin-bottom: 1.4em; }
.cell h4 {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0 0 .5em;
}
.cell p { margin: 0; font-size: .92em; line-height: 1.6; color: var(--muted); }

/* ---------- 07: the discipline ---------- */
.question {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--section) var(--pad);
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.question .label { justify-content: center; }
.q {
  margin: 0;
  max-width: 15em;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  line-height: 1.1;
}
.question .prose { max-width: 32em; margin: 2.4em 0 0; }
.question .prose p { margin: 0 0 1.1em; }
.question .prose .stanza p { margin: 0 0 .4em; }
.q-line {
  position: relative;
  width: 100vw;
  height: 1px;
  margin: clamp(48px, 8vh, 88px) 0 clamp(40px, 7vh, 72px);
  background: linear-gradient(90deg, transparent, rgba(201, 164, 92, .25) 18%, #f3d79c 50%, rgba(201, 164, 92, .25) 82%, transparent);
  box-shadow: 0 0 18px rgba(201, 164, 92, .55);
}
.q-line::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 70vw; height: 200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(201, 164, 92, .16), transparent 70%);
  pointer-events: none;
}
.vows {
  list-style: none;
  margin: 0 0 3em;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  max-width: 1000px;
  text-align: left;
}
.vows li { padding: 1.6em 0 1.5em; border-top: 1px solid var(--line); color: var(--text); font-size: 1.02em; line-height: 1.55; }
.vows .num { margin-bottom: 1em; }
.question .lead { max-width: 22em; margin: 1.4em 0 0; }

/* ---------- 08: the path ---------- */
.path { list-style: none; margin: 0; padding: 0; position: relative; }
.path::before {
  content: "";
  position: absolute;
  left: 5px; top: 10px; bottom: 10px;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(201, 164, 92, .15));
}
.path > li { position: relative; padding: 0 0 3em 44px; }
.path > li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--gold);
  box-shadow: 0 0 10px rgba(201, 164, 92, .35);
}
.path > li:first-child::before { background: var(--gold-hi); }
.path h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  line-height: 1.2;
  margin: 0 0 .7em;
}
.path p, .path li { color: var(--body); }
.path .takeaway { margin-top: 1.2em; }

/* ---------- closing ---------- */
.closing {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--section) var(--pad) clamp(80px, 12vh, 140px);
  text-align: center;
}
.rule {
  width: 120px;
  height: 1px;
  margin: 0 auto 48px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 12px rgba(201, 164, 92, .5);
}
.closing p { margin: 0 0 1.1em; color: var(--muted); }
.closing .stanza { margin: 1.6em auto 0; max-width: 32em; }
.closing .lead { margin-bottom: 1.2em; color: var(--text); }
.closing .ask { margin: 2.4em 0 1.6em; font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.2; color: var(--text); }
.closing em, .ask em { color: var(--gold); }
.mail {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 30px;
  border: 1px solid rgba(201, 164, 92, .55);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--text);
  transition: background .4s, border-color .4s, color .4s;
}
.mail svg { width: 20px; height: 10px; transition: transform .4s; }
.mail:hover, .mail:focus-visible { background: rgba(201, 164, 92, .08); border-color: var(--gold); color: var(--gold-hi); outline: none; }
.mail:hover svg, .mail:focus-visible svg { transform: translateX(5px); }

footer {
  border-top: 1px solid var(--line);
  padding: 28px var(--pad);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
}
footer a { text-decoration: none; }
footer a:hover { color: var(--gold); }

/* ---------- scroll reveal (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.3s ease, transform 1.3s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .q-line.reveal { transform: scaleX(.2); transition: opacity 1.6s ease, transform 2.2s cubic-bezier(.2, .7, .2, 1); }
.js .q-line.reveal.in { transform: none; }
.js .viz.reveal { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .editorial, .case { grid-template-columns: 1fr; }
  .editorial .side, .case-side { position: static; }
  .editorial .side .lead { max-width: none; }
  .grid, .vows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-stat { margin-bottom: 2.4em; }
}
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .hero-copy { top: 9vh; transform: none; right: 20px; }
  h1 { font-size: clamp(2.5rem, 11vw, 2.9rem); margin-bottom: .4em; }
  .sub { font-size: .95rem; line-height: 1.55; padding-left: 16px; }
  .hero-copy .intro { margin: 1em 0 1.1em; font-size: .95rem; line-height: 1.55; }
  .hero .mail { padding: 13px 22px; font-size: 14px; }
  .scrim {
    background:
      linear-gradient(180deg, rgba(11, 11, 12, .9) 0%, rgba(11, 11, 12, .55) 38%, rgba(11, 11, 12, 0) 58%),
      linear-gradient(0deg, var(--bg) 0%, rgba(11, 11, 12, 0) 18%);
  }
  .bar { padding: 20px 20px 30px; }
  .bar-cta { display: none; }
  .split { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 72px; }
  .split.rev .viz { order: 2; }
  .viz { position: relative; top: auto; max-width: 420px; }
  .label { font-size: 11px; letter-spacing: .22em; gap: 10px; }
  .label::after { display: none; }
  .band { padding-top: 72px; padding-bottom: 72px; }
  .case { margin-top: 3.2em; padding-top: 2.4em; }
  .case-stat { gap: 20px 32px; }
}
@media (max-width: 560px) {
  .grid, .vows { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .q-line.reveal { opacity: 1; transform: none; transition: none; }
  .hero-copy > *, .cue { animation: none; }
  .bar-cta { transition: none; }
}
