:root {
  --ink: #080706;
  --ink-soft: #17100b;
  --ink-rich: #25170d;
  --gold: #c99639;
  --gold-bright: #f0cb71;
  --paper: #f6efe3;
  --white: #fffdf8;
  --muted: #c7bfb4;
  --line: rgba(240, 203, 113, .28);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
}

body.black-love {
  --ink-soft: #1d080d;
  --ink-rich: #310812;
  --hero-glow: rgba(177, 27, 55, .46);
  --gold: #d1a23c;
  --gold-bright: #f2ce76;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}

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

.topline {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: var(--gold);
  color: #171009;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 6vw, 88px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(8, 7, 6, .96);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 203, 113, .65);
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 18px;
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(13px, 2.5vw, 31px);
}

.site-header nav a {
  color: #e5ddd1;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-download {
  padding: 11px 15px;
  border: 1px solid rgba(240, 203, 113, .58);
  color: var(--gold-bright) !important;
}

.book-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
  min-height: 760px;
  background:
    radial-gradient(circle at 84% 14%, var(--hero-glow, rgba(166, 101, 31, .36)), transparent 34%),
    linear-gradient(135deg, var(--ink), var(--ink-rich) 58%, #070504);
}

.book-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 72px 72px;
}

.hero-cover,
.hero-copy { position: relative; z-index: 1; }

.hero-cover {
  display: grid;
  place-items: center;
  padding: 68px clamp(28px, 5vw, 80px);
}

.cover-frame {
  width: min(410px, 100%);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(240, 203, 113, .6);
  background: #060504;
  box-shadow: 35px 45px 100px rgba(0, 0, 0, .58);
}

body.built-on-word .cover-frame { aspect-ratio: 7 / 10; }

.start-path {
  padding: clamp(62px, 7vw, 92px) clamp(22px, 6vw, 88px);
  border-block: 1px solid var(--line);
  background: #0c1115;
}

.start-path-heading {
  max-width: 830px;
  margin: 0 auto 35px;
  text-align: center;
}

.start-path-heading p {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.start-path-heading h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1;
}

.start-path-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto;
}

.start-path-grid article {
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(240, 203, 113, .22);
  background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
}

.start-path-grid span {
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 28px;
}

.start-path-grid h3 {
  margin: 30px 0 10px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.start-path-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-copy {
  align-self: center;
  padding: 72px clamp(28px, 7vw, 112px) 72px 20px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold-bright);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1,
h2 { font-family: var(--serif); font-weight: 400; }

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(54px, 6.4vw, 96px);
  letter-spacing: -.05em;
  line-height: .91;
}

h1 em {
  color: var(--gold-bright);
  font-weight: 400;
}

.subtitle {
  max-width: 800px;
  margin: 28px 0 0;
  color: #f0e9df;
  font-family: var(--serif);
  font-size: clamp(19px, 1.8vw, 27px);
  line-height: 1.42;
}

.lede {
  max-width: 730px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
  text-align: center;
  text-transform: uppercase;
}

.button-gold { background: var(--gold); color: #140e09; }
.button-light { border-color: rgba(255, 255, 255, .38); color: var(--white); }

.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 36px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.metrics strong {
  display: block;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.metrics span {
  color: #a49a8e;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.collection-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-block: 1px solid var(--line);
  background: #100c08;
}

.collection-nav a {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: #cfc4b5;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
}

.collection-nav a:last-child { border-right: 0; }
.collection-nav a[aria-current="page"] { background: rgba(201, 150, 57, .14); color: var(--gold-bright); }

.reader-section {
  padding: clamp(70px, 8vw, 110px) clamp(8px, 5vw, 72px);
  background: #060504;
}

.reader-heading {
  max-width: 1320px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto 32px;
  padding-inline: 10px;
}

.reader-heading p {
  margin: 0 0 11px;
  color: var(--gold-bright);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.reader-heading h2 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(43px, 5.5vw, 76px);
  line-height: 1;
}

.reader-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 9px;
  border: 1px solid rgba(240, 203, 113, .32);
  background: #17100b;
  box-shadow: 0 38px 95px rgba(0, 0, 0, .45);
}

.reader-shell object {
  width: 100%;
  height: min(82vh, 980px);
  min-height: 680px;
  display: block;
  border: 0;
  background: #eee9df;
}

.reader-fallback {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 45px;
  color: #25211d;
  text-align: center;
}

.reader-note {
  max-width: 1320px;
  margin: 16px auto 0;
  color: #9d9386;
  font-size: 10px;
  line-height: 1.65;
  text-align: center;
}

footer {
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(22px, 6vw, 88px);
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: #030201;
}

footer p,
footer a {
  color: #a49a8e;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

footer a { color: var(--gold-bright); }

@media (max-width: 900px) {
  .book-hero { grid-template-columns: 1fr; }
  .hero-cover { padding-bottom: 20px; }
  .cover-frame { width: min(390px, 78vw); }
  .hero-copy { padding: 45px 26px 80px; text-align: center; }
  .subtitle, .lede { margin-inline: auto; }
  .actions, .metrics { justify-content: center; }
  .collection-nav { grid-template-columns: repeat(2, 1fr); }
  .collection-nav a { border-bottom: 1px solid var(--line); }
  .collection-nav a:nth-child(2n) { border-right: 0; }
  .collection-nav a:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .reader-heading { align-items: flex-start; flex-direction: column; }
  .start-path-grid { grid-template-columns: 1fr; }
  .start-path-grid article { min-height: 0; }
}

@media (max-width: 620px) {
  .site-header { min-height: 68px; padding: 10px 15px; }
  .brand small, .site-header nav a:not(.nav-download) { display: none; }
  .brand-mark { width: 41px; height: 41px; }
  .nav-download { padding: 10px 11px; font-size: 7px !important; }
  .hero-cover { padding: 55px 22px 12px; }
  .hero-copy { padding: 42px 22px 65px; }
  h1 { font-size: clamp(46px, 14vw, 68px); }
  .actions, .actions .button { width: 100%; }
  .collection-nav a { min-height: 76px; padding: 13px 9px; font-size: 12px; }
  .reader-section { padding-inline: 8px; }
  .reader-heading { padding-inline: 10px; }
  .reader-shell { padding: 4px; }
  .reader-shell object { min-height: 68vh; height: 68vh; }
  footer { align-items: flex-start; flex-direction: column; }
}
