:root {
  --gold: #D8B76C;
  --gold-dim: #BFA468;
  --charcoal: #252525;
  --deep: #1C1C1C;
  --ink: #141414;
  --paper: #F6F6F4;
  --panel: #E8E8E5;
  --rule: #D0D0CC;
  --grey: #666663;
  --mid: #5A5A56;
  --on-dark: #EAEAE8;
  --muted-dark: #9A9A96;
  --sans: Archivo, system-ui, -apple-system, Segoe UI, sans-serif;
  --serif: Newsreader, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.serif { font-family: var(--serif); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.26em; color: var(--grey); text-transform: uppercase; }
.eyebrow-gold { color: var(--gold); }
.lede { font-family: var(--serif); font-size: 21px; line-height: 32px; color: #3A3A36; }

h1, h2, h3 { margin: 0; letter-spacing: -0.03em; font-weight: 900; }
h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.02; }
h2 { font-size: clamp(30px, 4.4vw, 40px); line-height: 1.08; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; }
p { margin: 0; }

a { color: var(--ink); }
a:hover { color: var(--grey); }

/* header */
.site-head { border-bottom: 2px solid var(--ink); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding-block: 16px; }
.brand { flex: none; display: block; line-height: 0; }
.brand img { width: 176px; height: 66px; display: block; }
.site-nav { display: flex; flex-wrap: wrap; gap: 22px; flex-grow: 1; }
.navlink { font-size: 15px; font-weight: 600; color: #2B2B28; text-decoration: none; }
.navlink:hover { color: var(--grey); }
.navlink[aria-current="page"] { font-weight: 800; color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 2px;
  font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0.1em;
  text-decoration: none; border: 2px solid var(--ink); cursor: pointer; text-align: center;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: #3A3A36; border-color: #3A3A36; color: var(--paper); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-dim); border-color: var(--gold-dim); color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); }

/* sections */
.band-dark { background: var(--charcoal); color: var(--on-dark); }
.band-deep { background: var(--deep); color: var(--on-dark); }
.band-panel { background: var(--panel); border-block: 2px solid var(--ink); }
.band-dark h1, .band-dark h2, .band-dark h3,
.band-deep h1, .band-deep h2, .band-deep h3 { color: var(--paper); }
.sec { padding-block: clamp(56px, 8vw, 88px); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

.tile { border-top: 2px solid var(--ink); padding-top: 16px; }
.band-dark .tile, .band-deep .tile { border-top-color: var(--gold); }
.tile p { margin-top: 8px; font-family: var(--serif); font-size: 17px; line-height: 26px; color: #3A3A36; }
.band-dark .tile p, .band-deep .tile p { color: var(--on-dark); }

.note {
  font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 24px;
  color: var(--mid); border-left: 3px solid var(--gold); padding-left: 14px; margin-top: 12px;
}
.band-dark .note, .band-deep .note { color: var(--muted-dark); }

/* the cover */
.cover { position: relative; overflow: hidden; flex: none;
  width: calc(1000px * var(--s)); height: calc(1500px * var(--s));
  box-shadow: 0 16px 44px rgba(20,20,20,0.26); }
.cover-in { position: absolute; top: 0; left: 0; width: 1000px; height: 1500px; transform: scale(var(--s)); transform-origin: top left; }
.c-top { position: absolute; top: 0; left: 0; width: 1000px; height: 590px; background: var(--paper); }
.c-band { position: absolute; top: 590px; left: 0; width: 1000px; height: 92px; background: var(--gold); }
.c-bot { position: absolute; top: 682px; left: 0; width: 1000px; height: 818px; background: var(--charcoal); }
.c-logo { position: absolute; top: 84px; left: 96px; width: 300px; height: 112px; }
.c-rich { position: absolute; top: 404px; left: 96px; font-size: 172px; line-height: 170px; font-weight: 900; letter-spacing: -0.045em; color: var(--ink); }
.c-vs { position: absolute; top: 590px; left: 96px; font-size: 62px; line-height: 92px; font-weight: 700; letter-spacing: 0.3em; color: var(--ink); }
.c-poor { position: absolute; top: 692px; left: 96px; font-size: 172px; line-height: 170px; font-weight: 900; letter-spacing: -0.045em; color: var(--paper); }
.c-sub { position: absolute; top: 1004px; left: 96px; width: 740px; font-family: var(--serif); font-size: 34px; line-height: 46px; color: var(--on-dark); }
.c-quote { position: absolute; top: 1216px; left: 96px; width: 740px; font-family: var(--serif); font-style: italic; font-size: 27px; line-height: 38px; color: var(--muted-dark); }
.c-au { position: absolute; top: 1364px; left: 96px; font-size: 26px; font-weight: 700; letter-spacing: 0.26em; color: var(--gold); }

/* forms */
.signup { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.field { flex: 999 1 220px; min-width: 0; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--gold); }
.field input {
  margin-top: 8px; width: 100%; min-height: 48px; padding: 0 14px;
  border: 2px solid var(--paper); border-radius: 2px; background: var(--paper);
  color: var(--ink); font-family: var(--sans); font-size: 16px;
}
.field-light label { color: var(--grey); }
.field-light input { border-color: var(--ink); background: #FBFBFA; }

/* chapter list */
.ch { padding-block: 14px; border-top: 1px solid var(--rule); }
.ch-row { display: flex; gap: 14px; align-items: baseline; }
.ch-n { flex: none; width: 28px; font-size: 13px; font-weight: 800; color: var(--mid); }
.ch-t { font-size: 17px; line-height: 24px; font-weight: 700; }
.ch-e { margin: 6px 0 0 42px; font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 22px; color: var(--grey); }

/* placeholder marker */
.ph { background: #FFF3CF; border: 1px dashed #8A7A3A; padding: 2px 6px; font-family: var(--sans);
  font-size: 0.85em; font-weight: 700; letter-spacing: 0.06em; color: #4A4211; border-radius: 2px; }

/* footer */
.site-foot { background: var(--charcoal); color: var(--muted-dark); }
.site-foot .wrap { padding-block: 40px; display: flex; flex-wrap: wrap; gap: 20px 36px; align-items: center; }
.site-foot img { width: 160px; height: 60px; display: block; flex: none; }
.site-foot .navlink { color: #C9C9C5; font-size: 14px; }
.site-foot .navlink:hover { color: var(--gold); }
.site-foot small { font-size: 13px; }

.row { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); }
.col { flex: 999 1 420px; min-width: 0; }
.col-side { flex: 1 1 300px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
