:root {
  color-scheme: dark;
  --navy: #001a2a;
  --navy-raised: #061f30;
  --ink: #faf6e9;
  --muted: #c2cdd1;
  --rule: #294050;
  --accent: #f39496;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
:target { scroll-margin-top: 1.25rem; }
.frame { width: min(100% - 7rem, 79rem); margin-inline: auto; }
.skip { position: fixed; inset: 1rem auto auto 1rem; z-index: 1; padding: .7rem 1rem; background: var(--navy); transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.header-inner { min-height: 5.4rem; }
.wordmark { display: inline-flex; align-items: center; flex: none; }
.wordmark img { width: clamp(9.5rem, 21vw, 16.5rem); height: auto; }
nav { display: flex; gap: clamp(1.1rem, 3.4vw, 3.4rem); }
nav a, .back-top { text-decoration: none; font-size: .9rem; font-weight: 580; }
nav a:hover, .back-top:hover, .byline a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .25em; }
.hero { display: grid; grid-template-columns: 1.04fr 1fr; align-items: stretch; padding-block: 2.4rem; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 3.4rem 2rem 3.4rem 0; }
.eyebrow { margin: 0; font: 690 .77rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.hero-copy .eyebrow { display: flex; align-items: center; gap: .72rem; }
.hero-copy .eyebrow span { width: 1.5rem; height: 1px; background: currentColor; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; }
h1 { margin-block: 1.6rem .9rem; font-size: clamp(3.4rem, 7.5vw, 7.65rem); line-height: .94; letter-spacing: -.077em; }
.subtitle { margin: .4rem 0 1.6rem; font: 400 clamp(1.38rem, 2.4vw, 2rem)/1.2 var(--serif); letter-spacing: -.019em; }
.byline { margin: 0 0 2.25rem; color: var(--muted); }
.byline a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.hero-promise { max-width: 27rem; margin: 0 0 1rem; color: var(--ink); font-size: 1.04rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: .6rem 1.24rem; background: var(--ink); color: var(--navy); font-size: .9rem; font-weight: 650; text-decoration: none; }
.button:hover { background: var(--accent); }
.hero-visual {
  position: relative; display: grid; place-items: center; isolation: isolate; overflow: hidden;
  min-height: clamp(28rem, 43vw, 38rem); margin: 0; padding: 2.6rem 1.5rem 2.8rem;
  background: radial-gradient(ellipse at 47% 41%, #204254 0%, #102e40 47%, #061f30 82%);
}
.hero-visual::before { content: ""; position: absolute; inset: 1.15rem; z-index: -1; border: 1px solid #dfedf426; pointer-events: none; }
.book-cover {
  position: relative; width: min(56%, 18.8rem); transform: perspective(1100px) rotateY(-11deg) rotateZ(-5deg);
  box-shadow: 1.1rem 1.45rem 2.2rem #020a12a8, .25rem .65rem .8rem #020a12a3;
}
.book-cover::before { content: ""; position: absolute; inset: 0 100% 0 auto; width: .62rem; background: linear-gradient(90deg,#07151e,#0c2434 55%,#264053); transform-origin: right; transform: skewY(31deg); }
.book-cover::after { content: ""; position: absolute; inset: 0 auto 0 0; width: .46rem; background: linear-gradient(90deg,#fff3,transparent 45%,#0003); pointer-events: none; }
.book-cover img { width: 100%; height: auto; }
.book-section { border-top: 1px solid var(--rule); background: var(--navy); }
.spread { display: grid; grid-template-columns: 1fr 1.07fr; gap: clamp(2.5rem, 8vw, 8rem); padding-block: clamp(2.75rem, 5vw, 4.25rem); }
.spread h2 { margin-top: 1rem; font-size: clamp(1.75rem, 3vw, 2.625rem); line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.spread h2 em { color: var(--accent); }
.prose { max-width: 38rem; font-size: 1.06rem; line-height: 1.72; }
.prose p { margin: 0 0 1.08em; }
.prose p:last-child { margin-bottom: 0; }
.editions { display: flex; flex-wrap: wrap; gap: 1rem 2.6rem; padding-top: 1.3rem; margin: 1.65rem 0 0; border-top: 1px solid var(--rule); }
.editions dt { font-size: .8rem; font-weight: 680; }
.editions dd { margin: .15rem 0 0; color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.pullquote { padding-block: clamp(2.25rem, 4.2vw, 3.375rem); background: var(--navy-raised); color: var(--ink); border-block: 1px solid var(--rule); text-align: center; }
.pullquote blockquote { max-width: 42rem; margin: 0 auto; font: italic clamp(1.35rem, 2.55vw, 2rem)/1.3 var(--serif); letter-spacing: -.018em; text-wrap: balance; }
.pullquote .eyebrow { margin-top: .9rem; color: var(--accent); }
.pullquote cite { font-style: normal; }
.author { align-items: center; }
.author-intro { display: flex; align-items: center; gap: clamp(.9rem, 2.5vw, 1.65rem); }
.author-intro h2 { margin-top: .5rem; }
.author-portrait {
  position: relative; overflow: hidden; flex: none;
  width: clamp(4.5rem, 13vw, 6.875rem);
  aspect-ratio: 5 / 6;
  background: var(--navy-raised);
  border: 1px solid var(--rule);
}
.author-portrait img { position: absolute; top: -9%; left: -16%; width: 137%; max-width: none; height: auto; }
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { padding-block: 1.6rem; flex-wrap: wrap; }
.footer-inner .wordmark img { width: clamp(9rem, 17vw, 13rem); }
.footer-inner p { margin: 0; color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) {
  .frame { width: calc(100% - 3rem); }
  .hero-visual { min-height: 26rem; }
  .book-cover { width: min(64%, 16rem); }
}
@media (max-width: 660px) {
  .frame { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.5rem; }
  nav { gap: .85rem; }
  nav a { font-size: .82rem; }
  .hero { grid-template-columns: 1fr; padding-block: 0 1rem; }
  .hero-copy { padding: 3.4rem .15rem 2.25rem; }
  h1 { font-size: clamp(3.35rem, 13vw, 5.6rem); }
  .subtitle-break { display: none; }
  .byline { margin-bottom: 1.45rem; }
  .hero-visual { min-height: 23rem; }
  .book-cover { width: min(56%, 13.7rem); }
  .spread { grid-template-columns: 1fr; gap: 1.35rem; }
  .spread h2 { text-wrap: pretty; }
}
@media (max-width: 350px) {
  .header-inner { gap: .5rem; }
  nav { gap: .55rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
