:root {
  --ink: #070908;
  --panel: #0d110e;
  --paper: #eee9d8;
  --muted: #aaa99d;
  --moss: #a7b76f;
  --amber: #e2a62b;
  --amber-soft: #f0c75d;
  --line: rgba(238, 233, 216, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(111, 126, 73, .15), transparent 28%),
    linear-gradient(rgba(255,255,255,.016) 1px, transparent 1px),
    var(--ink);
  background-size: auto, 100% 5px, auto;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, blockquote, dl, dd { margin-top: 0; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-160%); background: var(--paper); color: var(--ink); padding: 12px 16px; font: 700 .75rem Arial, sans-serif; }
.skip-link:focus { transform: none; }

.site-header {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.wordmark { font: 700 1.2rem/1 Arial, sans-serif; letter-spacing: .18em; }
.site-header nav, footer nav { display: flex; gap: 32px; font: .7rem/1 Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.site-header nav a, footer nav a, .text-link { transition: color .2s ease; }
.site-header nav a:hover, footer nav a:hover, .text-link:hover { color: var(--amber-soft); }
.site-header .button { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid #efbc47;
  background: var(--amber);
  color: #14140d;
  font: 800 .7rem/1 Arial, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .28);
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--amber-soft); }
.button-disabled { border-color: rgba(226,166,43,.45); background: transparent; color: var(--amber-soft); box-shadow: none; cursor: default; }
.button-disabled:hover { transform: none; background: transparent; }
.button:focus-visible, .text-link:focus-visible, nav a:focus-visible, .wordmark:focus-visible { outline: 2px solid var(--amber-soft); outline-offset: 5px; }
.button-small { min-height: 42px; padding-inline: 18px; font-size: .62rem; }
.text-link { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid #77786d; padding-block: 8px; font: 700 .68rem/1 Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { color: var(--amber-soft); font: 700 .64rem/1 Arial, sans-serif; letter-spacing: .22em; text-transform: uppercase; }
em { color: var(--moss); font-weight: 400; }

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(50px, 7vw, 100px);
  align-items: center;
  padding-block: 72px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 720px; margin: 27px 0 26px; font-size: clamp(3.8rem, 7vw, 6.8rem); font-weight: 400; line-height: .94; letter-spacing: -.052em; text-wrap: balance; }
.lead { max-width: 600px; color: #c3c0b2; font-size: 1.18rem; line-height: 1.72; }
.actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; }
.hero-art { position: relative; width: min(100%, 420px); justify-self: end; }
.hero-art::before { content: ""; position: absolute; z-index: -1; inset: 22px -24px -22px 24px; border: 1px solid rgba(226,166,43,.38); }
.hero-art img { position: relative; aspect-ratio: 5 / 8; width: 100%; object-fit: cover; box-shadow: 0 40px 100px rgba(0,0,0,.72); }
.hero-art p { margin: 22px 0 0; color: #8f9084; font: 700 .64rem/1.6 Arial, sans-serif; letter-spacing: .16em; text-align: right; text-transform: uppercase; }
.warning-glow { position: absolute; inset: 8% -25%; background: radial-gradient(circle, rgba(226,166,43,.2), transparent 68%); filter: blur(18px); }

.book-section {
  display: grid;
  grid-template-columns: 90px minmax(300px, .95fr) 1.05fr;
  grid-template-areas:
    "number heading copy"
    ". details copy";
  gap: 36px clamp(40px, 6vw, 85px);
  padding-block: 115px;
  border-bottom: 1px solid var(--line);
}
.section-index { grid-area: number; color: #30352b; font-size: 6rem; line-height: .82; }
.book-heading { grid-area: heading; }
.book-heading h2, .section-heading h2, .next h2, .about h2 { font-size: clamp(2.7rem, 5vw, 4.5rem); font-weight: 400; line-height: 1.03; letter-spacing: -.043em; }
.book-heading h2 { margin: 24px 0 0; }
.book-copy { grid-area: copy; }
.book-copy p { max-width: 600px; color: var(--muted); font-size: 1.08rem; line-height: 1.74; }
.book-copy .book-close { color: var(--paper); font-style: italic; }
.book-copy .button { margin-top: 16px; }
.book-details { grid-area: details; display: grid; gap: 14px; margin-bottom: 0; }
.book-details div { display: grid; grid-template-columns: 82px 1fr; gap: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.book-details dt { color: #777b6c; font: 700 .58rem/1.4 Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.book-details dd { color: #c5c6b8; font-size: .92rem; }

.other-work { padding-block: 110px; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 55px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { max-width: 780px; margin-bottom: 0; }
.story-card { display: grid; grid-template-columns: minmax(220px, 310px) 1fr; background: linear-gradient(115deg, #101410, #0a0c0a); border: 1px solid var(--line); }
.story-cover { min-height: 460px; overflow: hidden; }
.story-cover img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(38px, 7vw, 84px); }
.story-copy h3 { margin: 18px 0 22px; font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.story-copy > p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: 1.08rem; line-height: 1.72; }
.story-copy .text-link { margin-top: 15px; }

.next { display: grid; grid-template-columns: 90px 1.2fr .8fr; gap: 48px; align-items: center; padding-block: 100px; border-bottom: 1px solid var(--line); }
.next-number { margin: 0; color: #30352b; font-size: 6rem; line-height: 1; }
.next h2 { margin: 22px 0 0; font-size: clamp(2.2rem, 4vw, 3.6rem); }
.next-copy p, .about-copy p { color: var(--muted); font-size: 1.04rem; line-height: 1.72; }
.status { display: inline-block; color: var(--amber-soft); border: 1px solid rgba(226,166,43,.45); padding: 9px 12px; font: 700 .58rem/1 Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }

.about { display: grid; grid-template-columns: 230px 1fr .8fr; gap: clamp(40px, 7vw, 90px); align-items: center; padding-block: 110px; }
.monogram { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: end; padding: 18px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 32%, #31382a, #0b0e0b 68%); overflow: hidden; }
.monogram::before { content: ""; position: absolute; width: 66%; aspect-ratio: 1; left: 17%; top: 18%; border-radius: 50%; background: #060806; box-shadow: 0 130px 0 70px #060806; opacity: .9; }
.monogram span { position: relative; color: var(--amber); font: 700 .65rem/1 Arial, sans-serif; letter-spacing: .2em; }
.about h2 { margin: 16px 0 24px; }
blockquote { margin-bottom: 0; padding-left: 30px; border-left: 1px solid rgba(226,166,43,.48); color: #929386; font-size: 1.52rem; font-style: italic; line-height: 1.5; }

footer { min-height: 150px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 40px; border-top: 1px solid var(--line); color: #898a7f; }
footer p, footer span { margin: 0; font: .67rem/1.5 Arial, sans-serif; letter-spacing: .08em; }

@media (max-width: 860px) {
  .shell { width: min(100% - 30px, 700px); }
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-block: 78px; }
  .hero-art { width: min(82%, 410px); justify-self: center; margin-top: 25px; }
  .hero-art p { text-align: center; }
  .book-section { grid-template-columns: 1fr; grid-template-areas: "number" "heading" "copy" "details"; padding-block: 82px; }
  .section-index { font-size: 4.5rem; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .story-card, .next, .about { grid-template-columns: 1fr; }
  .story-card { width: min(100%, 620px); margin-inline: auto; }
  .story-cover { min-height: 0; }
  .story-cover img { height: auto; }
  .next-number { display: none; }
  .monogram { width: min(230px, 72%); }
  footer { grid-template-columns: 1fr; gap: 18px; padding-block: 50px; }
}

@media (max-width: 540px) {
  .site-header .button { display: none; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 4.7rem); }
  .actions { align-items: stretch; flex-direction: column; }
  .actions .button { width: 100%; }
  .hero-art { width: 88%; }
  .book-section, .other-work, .next, .about { padding-block: 68px; }
  .story-copy { padding: 34px 24px 40px; }
  footer nav { flex-wrap: wrap; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
