:root {
  color-scheme: dark;
  --ink: #0c0e0f;
  --panel: #121414;
  --ivory: #f3ebdc;
  --muted: #c1b9ad;
  --gold: #dbb986;
  --line: #3a332a;
  --serif: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--ivory); font: 1rem/1.65 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, figure { margin: 0; }
h1, h2 { font: 400 clamp(2.55rem, 5.4vw, 5rem)/1.04 var(--serif); letter-spacing: -.045em; }
p + p { margin-top: 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - 6rem, 73rem); margin-inline: auto; }
.narrow { max-width: 43rem; }
.skip { position: fixed; top: .7rem; left: .7rem; z-index: 5; padding: .7rem 1rem; background: var(--ivory); color: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header { background: #0d0e0f; border-bottom: 1px solid #2b2925; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.8rem; min-height: 5rem; }
.wordmark { font: 400 1.32rem/1.2 var(--serif); letter-spacing: .19em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--gold); }
nav { display: flex; align-items: center; justify-content: center; gap: clamp(1.2rem, 3.2vw, 3.3rem); }
nav a { text-decoration: none; color: var(--muted); font-size: .9rem; }
nav a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: .35em; }
.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; padding: .66rem 1.24rem; border: 1px solid #8a7354; background: #0c0e0fb3; color: var(--ivory); font-size: .9rem; font-weight: 600; text-decoration: none; text-align: center; transition: background .2s, border-color .2s, color .2s; }
.button:hover { background: #2a241e; border-color: var(--gold); }
.button-small { min-height: 2.75rem; padding-inline: 1.05rem; color: var(--gold); }
.button-gold { color: #17120e; background: #d9b582; border-color: #d9b582; }
.button-gold:hover { color: #17120e; background: #f0cda0; }

.hero { overflow: hidden; position: relative; isolation: isolate; background: #101416; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 14% 0 0; z-index: -2; background: url(city.jpg) center 63% / cover no-repeat; opacity: .61; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #0c0e0f 1%, transparent 45%, #101416 91%), linear-gradient(90deg, #0c0e0f 2%, #0c0e0fe8 28%, #0c0e0f7d 65%, #15130e49); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(3rem, 6.3vw, 6rem) 3.4rem; }
.hero-copy { animation: arrive .85s ease-out both; }
.eyebrow { color: var(--gold); font: 600 .875rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 1.1rem; }
.ruled { display: flex; align-items: center; gap: .8rem; }
.ruled::before { content: ""; width: 1.9rem; height: 1px; background: #b28a56; flex: 0 0 1.9rem; }
.year { display: block; font-size: clamp(7rem, 14vw, 13.1rem); line-height: .83; letter-spacing: -.063em; margin-left: -.055em; color: #f0dcbd; text-shadow: 0 .08em .22em #0007; }
.subtitle { display: block; font-size: clamp(2rem, 4.1vw, 3.85rem); letter-spacing: -.045em; margin-top: 1rem; }
.byline { margin-top: 1.1rem; color: var(--gold); font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; }
.hero-teaser { margin-top: 1.7rem; max-width: 26rem; color: var(--muted); font: italic 1.27rem/1.55 var(--serif); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.hero-art { justify-self: center; width: min(100%, 21.5rem); padding: 1px; position: relative; background: linear-gradient(145deg, #f1cd96, #77634e 35%, #262019 80%); box-shadow: 0 30px 70px 10px #000a; animation: arrive 1s .13s ease-out both; }
.hero-art::after { content: ""; pointer-events: none; position: absolute; inset: 1px; border-left: 3px solid #f0d7a827; border-bottom: 2px solid #0007; }
.discover { color: var(--gold); display: flex; align-items: center; justify-content: center; gap: .8rem; min-height: 2.75rem; margin: 0 auto .85rem; width: fit-content; text-decoration: none; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.discover span { width: 1.4rem; height: 1px; background: #8a7354; }
.discover:hover { color: var(--ivory); }

.section { border-bottom: 1px solid var(--line); padding-block: clamp(4rem, 10vw, 8rem); }
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 8rem); align-items: center; }
.prose, .document p { color: var(--muted); font: 1.25rem/1.7 var(--serif); }
.story .editorial { align-items: start; }
.story .prose strong { color: var(--ivory); }
.author { background: var(--panel); }
.author h2 { margin-bottom: 1rem; }
.author-mark { aspect-ratio: 1.6; display: grid; place-items: center; padding: 1rem; border: 1px solid var(--line); color: var(--gold); background: radial-gradient(ellipse at center, #342a20, #111313 67%); }
.author-mark span { display: grid; place-items: center; width: 1.8em; aspect-ratio: 1; border: 1px solid #8a7354; border-radius: 50%; font: 400 clamp(3.2rem, 7vw, 5.3rem)/1 var(--serif); letter-spacing: -.08em; padding-right: .08em; }
.chapter { text-align: center; background: radial-gradient(ellipse at top, #24201a, var(--ink) 72%); }
.chapter .narrow > p:not(.eyebrow) { margin: 1.2rem auto 1.7rem; max-width: 32rem; color: var(--muted); }
.purchase-card { display: grid; grid-template-columns: minmax(9rem, 17rem) 1fr; align-items: center; gap: clamp(2rem, 7vw, 6rem); max-width: 61rem; padding: clamp(1.5rem, 5vw, 4rem); background: #151513; border: 1px solid #514333; }
.purchase-card img { border: 1px solid #71614e; box-shadow: 0 12px 34px #0009; }
.purchase-subtitle { font: 1.7rem/1.15 var(--serif); }
.price { color: var(--gold); font: 2rem/1.1 var(--serif); margin-top: 1.1rem; }
.purchase-card .price + p { margin-top: .55rem; }
.purchase-card .button { margin-top: 1rem; }
.status { color: var(--muted); font-size: .875rem; margin-top: .7rem; }
.status:target { color: var(--ivory); }
.faq { background: var(--panel); }
.faq .editorial { align-items: start; }
details { border-block-end: 1px solid var(--line); }
details:first-of-type { border-block-start: 1px solid var(--line); }
summary { cursor: pointer; padding-block: 1rem; color: var(--ivory); }
summary::marker { color: var(--gold); }
details p { padding: 0 0 1rem 1.2rem; color: var(--muted); }
.site-footer { padding-block: .7rem; }
.legal-nav { gap: .3rem 1.35rem; flex-wrap: wrap; justify-content: flex-end; }
.legal-nav a { display: inline-block; padding-block: .45rem; }
.legal-nav a[aria-current="page"] { color: var(--gold); }
.legal-document { overflow-wrap: anywhere; }
.legal-document a { color: var(--gold); text-underline-offset: .2em; }
.legal-document dl, .withdrawal-form { color: var(--muted); }
.legal-document dt { margin-top: 1rem; color: var(--ivory); font-weight: 600; }
.legal-document dd { margin-inline-start: 0; }
.withdrawal-form { padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--line); }
.document h1 { margin-bottom: 1.5rem; }
.document h2 { margin: 3rem 0 1rem; font-size: clamp(2rem, 5vw, 3.25rem); }
.document p + p { margin-top: 1em; }
.reader-end {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(3rem, 8vw, 6rem);
  padding-block: clamp(3.5rem, 9vw, 7rem);
  border-block: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 5%, #211a13, #090909 67%);
  text-align: center;
}
.reader-end blockquote {
  margin: 1.5rem auto 0;
  max-width: 29ch;
  color: var(--ivory);
  font: italic clamp(1.85rem, 4.9vw, 3.35rem)/1.18 var(--serif);
}
.reader-end .eyebrow { color: var(--gold); font: 600 .875rem/1.4 var(--sans); }
.reader-end hr {
  width: min(34%, 8rem);
  margin: clamp(2.2rem, 5vw, 3.4rem) auto;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b28a56, transparent);
}
.reader-end h2 { margin: 0 0 .75rem; }
.reader-end .reader-intro { margin: 0 0 1.9rem; }
.reader-end .button {
  min-height: 3.5rem;
  padding-inline: clamp(.8rem, 4vw, 2rem);
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: background .25s, box-shadow .25s, transform .25s;
}
.reader-end .button:hover { transform: translateY(-2px); box-shadow: 0 6px 24px #dbb98626; }
.reader-end .reader-formats, .reader-end .status { font: .875rem/1.65 var(--sans); }
.reader-end .reader-formats { margin-top: 1rem; }
.reader-end .status { margin-top: .65rem; }
.reader-sand {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .26;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 0%, black, transparent 76%);
}
.reader-sand::before, .reader-sand::after {
  content: "";
  position: absolute;
  inset: -200px 0 0;
  background-image: radial-gradient(circle at 14px 28px, #caa469 1px, transparent 1.6px),
    radial-gradient(circle at 61px 87px, #f1c590 1px, transparent 1.5px);
  background-size: 113px 100px;
}
.reader-sand::after { background-size: 179px 200px; background-position: 43px 32px; opacity: .65; }
.reader-in-view .reader-offer { animation: arrive .85s ease-out both; }
.reader-in-view .reader-sand::before { animation: falling-sand 5s ease-out both; }
.reader-in-view .reader-sand::after { animation: falling-sand 4s linear both; }
@keyframes falling-sand {
  from { opacity: 0; }
  25% { opacity: .7; }
  to { opacity: 0; transform: translateY(55px); }
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .wrap { width: min(100% - 3rem, 73rem); }
  .hero-grid { gap: 2rem; }
  .hero-art { width: min(100%, 19rem); }
}

@media (max-width: 660px) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { flex-wrap: wrap; gap: .45rem 1rem; padding-block: .75rem .35rem; }
  .header-inner nav { flex-basis: 100%; order: 3; justify-content: flex-start; gap: 1.4rem; }
  .header-inner nav a { padding-block: .55rem; }
  .wordmark { font-size: 1.02rem; }
  .hero-grid, .editorial { grid-template-columns: 1fr; }
  .hero-grid { gap: 2.4rem; padding-block: 3rem 1.8rem; }
  .hero-copy { text-align: center; }
  .hero-copy .ruled, .actions { justify-content: center; }
  .year { font-size: clamp(6.3rem, 24vw, 10rem); }
  .subtitle { font-size: clamp(1.85rem, 7.1vw, 3rem); }
  .hero-teaser { margin-inline: auto; }
  .hero-art { width: min(68%, 16.25rem); }
  .hero::before { inset: 23% 0 0; background-position: 62% center; }
  .hero::after { background: linear-gradient(0deg, #0c0e0f, #0c0e0f3b 42%, #101416 93%), linear-gradient(90deg, #0c0e0f72, #0c0e0f48); }
  .author-mark { max-width: 24rem; }
  .purchase-card { grid-template-columns: 1fr; }
  .purchase-card img { width: 9rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: .85rem; padding-block: .8rem; }
  .footer-inner nav { justify-content: flex-start; flex-wrap: wrap; }
}

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