:root {
  --bg: #faf7f2; --surface: #ffffff; --ink: #1d1814; --muted: #6a6058; --faint: #9a9087;
  --line: #e8e1d6; --line-2: #f0eae0; --mahogany: #4a1a10; --rose: #9b3f3a; --tint: #f5efe6;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29,24,20,.04), 0 12px 40px rgba(29,24,20,.07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
       -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.eyebrow { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
           text-transform: uppercase; color: var(--rose); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--serif); font-weight: normal; margin: 0; }
h2 { font-size: 46px; line-height: 1.12; letter-spacing: -.012em; margin-bottom: 20px; }
h3 { font-size: 22px; line-height: 1.3; margin-bottom: 8px; }
p { font-size: 17px; line-height: 1.65; margin: 0 0 14px; color: var(--muted); }
.lead { font-size: 20px; line-height: 1.6; max-width: 640px; }
.head { max-width: 720px; margin-bottom: 56px; }
.note { font-size: 13px; color: var(--faint); margin-top: 16px; }
section { padding: 128px 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
       font-size: 15px; font-weight: 500; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.dark { background: var(--mahogany); color: #fff; box-shadow: 0 6px 18px rgba(74,26,16,.22); }
.btn.ghost { color: var(--mahogany); border: 1px solid var(--line); background: var(--surface); }

/* top */
.top { position: sticky; top: 0; z-index: 30; background: rgba(250,247,242,.86); backdrop-filter: saturate(1.4) blur(14px);
       border-bottom: 1px solid rgba(232,225,214,.8); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.mark { font-family: var(--serif); font-size: 22px; text-decoration: none; color: var(--mahogany); letter-spacing: -.01em; }
.top nav { display: flex; gap: 30px; align-items: center; }
.top nav a { text-decoration: none; font-size: 14.5px; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.top nav .btn { padding: 9px 16px; font-size: 14px; color: #fff; }

/* hero */
.hero { padding: 104px 0 120px; text-align: center; }
.hero h1 { font-size: 80px; line-height: 1.03; letter-spacing: -.02em; color: var(--ink); margin-bottom: 26px; }
.hero .lead { margin: 0 auto 36px; text-align: center; }
.ctas { display: flex; gap: 12px; justify-content: center; }
.stage { margin-top: 80px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
         box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 340px; text-align: left; overflow: hidden; }
.stage .canvas { padding: 20px 10px 10px; border-right: 1px solid var(--line-2); }
.stage .cap { display: flex; justify-content: space-between; align-items: center; padding: 6px 22px 0; font-size: 13px; color: var(--faint); }
.legend { display: flex; gap: 16px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 9px; height: 9px; border-radius: 50%; border: 2px solid; background: #fff; }

.lifemap { width: 100%; height: auto; display: block; }
.lifemap text { font-family: var(--sans); font-size: 15px; fill: #3a322c; }
.lifemap text.area { font-size: 11px; font-weight: 600; letter-spacing: .14em; }
.lifemap text.initials { font-family: var(--serif); font-size: 24px; fill: #fff; }
.lifemap text.born { font-size: 10.5px; fill: #d8b9a8; letter-spacing: .08em; }
.lifemap .link { fill: none; stroke: var(--rose); stroke-width: 1.5; opacity: 0; transition: opacity .25s; }
.lifemap .link.on { opacity: .9; }
.lifemap .node { cursor: pointer; outline: none; transition: opacity .2s; }
.lifemap .node .dot { transition: r .15s; }
.lifemap .node:hover .dot, .lifemap .node.on .dot { r: 9; }
.lifemap .node.on .dot { fill: currentColor; }
.lifemap .node.on text { font-weight: 600; fill: var(--ink); }
.lifemap.focus .node:not(.on):not(.near) { opacity: .5; }

.panel { padding: 34px 30px; display: flex; flex-direction: column; }
.tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; letter-spacing: .1em;
       text-transform: uppercase; }
.tag:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.panel h3 { font-size: 26px; margin: 14px 0 18px; }
.panel blockquote { margin: 0 0 22px; font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--ink); }
.cites { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.cite { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); background: var(--tint);
        border-radius: 10px; padding: 9px 12px; }
.cite .ic { width: 24px; height: 24px; border-radius: 50%; background: var(--mahogany); flex: none; display: flex;
            align-items: center; justify-content: center; }
.cite .ic.play:after { content: ""; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.cite .ic.page { border-radius: 4px; background: #fff; border: 1.5px solid var(--mahogany); width: 20px; height: 24px; }
.cite .ic.page:after { content: ""; width: 10px; height: 8px; border-top: 1.5px solid var(--mahogany); border-bottom: 1.5px solid var(--mahogany); }
.linked { font-size: 13px; color: var(--faint); margin-top: auto; }
.linked b { display: block; font-weight: 600; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; color: var(--muted); }

/* ask */
.ask-sec { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.points { margin-top: 36px; border-top: 1px solid var(--line); }
.points div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.points b { display: block; font-family: var(--serif); font-weight: normal; font-size: 20px; color: var(--ink); margin-bottom: 4px; }
.points span { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.window { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden;
          position: sticky; top: 100px; }
.window .bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--surface);
               border-bottom: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); }
.dots { display: inline-flex; gap: 6px; margin-right: 12px; vertical-align: -1px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #e4ddd2; }
.conn { font-size: 12px; color: #3d6b48; background: #eef4ee; border-radius: 999px; padding: 4px 11px; }
.conn:before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #3d8b52; margin-right: 6px; vertical-align: 1px; }
.chat { padding: 28px; }
.q { margin-left: auto; max-width: 78%; background: var(--surface); border: 1px solid var(--line); border-radius: 18px 18px 4px 18px;
     padding: 14px 18px; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.who { text-align: right; font-size: 12px; color: var(--faint); margin: 0 6px 7px; }
.a { margin-top: 24px; }
.a p { font-size: 15.5px; line-height: 1.7; color: var(--ink); }
sup { font-size: 10.5px; font-weight: 600; color: var(--rose); background: #f6e9e6; border-radius: 4px; padding: 1px 5px; margin-left: 2px; }
.srcs { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.srcs .lab { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.src { display: grid; grid-template-columns: 22px 28px 1fr; gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.src .n { font-size: 12px; font-weight: 600; color: var(--rose); padding-top: 4px; }
.src .what { font-size: 13px; color: var(--muted); }
.src .what em { display: block; font-style: normal; font-family: var(--serif); font-size: 15.5px; color: var(--ink); margin-top: 3px; line-height: 1.45; }
.src .ic { margin-top: 1px; }
.wave { display: inline-flex; gap: 2px; align-items: center; height: 14px; margin-left: 8px; vertical-align: -2px; }
.wave i { width: 2px; border-radius: 1px; background: #c9a77f; }
.notsaid { margin-top: 16px; font-size: 13.5px; line-height: 1.55; color: var(--muted); background: var(--tint); border-radius: 10px; padding: 12px 14px; }
.notsaid b { color: var(--ink); font-weight: 600; }
.window .foot { padding: 12px; font-size: 12px; color: var(--faint); text-align: center; border-top: 1px solid var(--line-2); background: var(--surface); }
.reveal > * { opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .5s ease; }
.reveal.on > * { opacity: 1; transform: none; }
.no-js .reveal > * { opacity: 1; transform: none; }

/* highlights */
.hl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.clip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px;
        transition: box-shadow .2s, transform .2s; }
.clip:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.clip h3 { font-size: 20px; margin: 0; }
.clip p { font-family: var(--serif); font-size: 16px; line-height: 1.5; color: var(--ink); margin: 0; flex: 1; }
.player { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--faint); border-top: 1px solid var(--line-2); padding-top: 14px; }
.player .ic { width: 30px; height: 30px; }
.player .wave { flex: 1; margin: 0; height: 18px; }

/* get */
.get { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.get > div { padding: 32px 28px; }
.get > div + div { border-left: 1px solid var(--line); }
.get svg { width: 36px; height: 36px; margin-bottom: 18px; }
.get p { font-size: 15.5px; margin: 0; }

/* how */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; counter-reset: s; }
.step { border-top: 2px solid var(--mahogany); padding-top: 22px; counter-increment: s; }
.step:before { content: "0" counter(s); display: block; font-size: 13px; font-weight: 600; color: var(--rose); letter-spacing: .1em; margin-bottom: 12px; }
.step p { font-size: 15.5px; margin: 0; }

/* library */
.libgrid { display: grid; grid-template-columns: 1fr 380px; gap: 0; background: var(--surface); border: 1px solid var(--line);
           border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.libgrid .canvas { padding: 16px; border-right: 1px solid var(--line-2); }
.libmap { width: 100%; height: auto; display: block; }
.libmap text { font-family: var(--sans); font-size: 13px; fill: #8a7f73; }
.libmap text.on { fill: var(--rose); font-weight: 600; }
.found { padding: 30px 28px; }
.search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
          font-size: 14.5px; color: var(--ink); background: var(--bg); }
.search:before { content: ""; width: 11px; height: 11px; border: 2px solid var(--faint); border-radius: 50%; flex: none; }
.count { font-size: 12.5px; color: var(--faint); margin: 12px 0 6px; }
.hit { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.hit b { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.hit span { display: block; font-size: 14px; line-height: 1.55; color: var(--muted); margin: 4px 0 6px; }
.hit em { font-style: normal; font-size: 12px; color: var(--rose); }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.choice { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--surface); }
.choice h3 { font-size: 20px; }
.choice p { font-size: 15px; margin: 0; }
.choice .k { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }

/* promise and who */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.promise { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 44px; }
.promise h2 { font-size: 34px; }
.who-sec p { font-size: 18px; color: var(--ink); }

/* end */
.end { background: var(--mahogany); color: #fff; text-align: center; padding: 120px 0; }
.end h2 { color: #fff; font-size: 58px; }
.end p { color: #d9c3b6; font-size: 19px; margin-bottom: 30px; }
.end .btn { background: #fff; color: var(--mahogany); }
.end .small { margin-top: 60px; font-size: 12.5px; color: #b8968a; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 960px) {
  .wrap { padding: 0 22px; }
  section { padding: 84px 0; }
  .hero { padding: 64px 0 80px; }
  .hero h1 { font-size: 50px; }
  h2 { font-size: 34px; }
  .top nav a:not(.btn) { display: none; }
  .stage, .split, .libgrid, .duo { grid-template-columns: 1fr; }
  .stage .canvas, .libgrid .canvas { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .window { position: static; }
  .hl, .get, .steps { grid-template-columns: 1fr 1fr; }
  .get > div + div { border-left: 0; }
  .get > div { border-bottom: 1px solid var(--line); }
  .choices { grid-template-columns: 1fr; }
  .lifemap text { font-size: 17px; }
  .legend { display: none; }
  .end h2 { font-size: 40px; }
}
@media (max-width: 560px) {
  .hl, .get, .steps { grid-template-columns: 1fr; }
  .ctas { flex-direction: column; align-items: stretch; }
  .promise { padding: 28px; }
}

/* shared play and page marks */
.cite-ic { width: 24px; height: 24px; border-radius: 50%; background: var(--mahogany); flex: none; display: inline-flex;
           align-items: center; justify-content: center; }
.cite-ic.play:after { content: ""; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.cite-ic.page { border-radius: 4px; background: #fff; border: 1.5px solid var(--mahogany); width: 20px; height: 24px; }
.cite-ic.page:after { content: ""; width: 10px; height: 8px; border-top: 1.5px solid var(--mahogany); border-bottom: 1.5px solid var(--mahogany); }
.player .cite-ic { width: 30px; height: 30px; }
.who-sec p.eyebrow { font-size: 12.5px; color: var(--rose); }
