
:root {
  --ink: #231a14;
  --paper: #f4efe4;
  --cream: #fffaf0;
  --rust: #9d3e25;
  --rust-dark: #6f2818;
  --gold: #c98d36;
  --blue: #203c52;
  --muted: #71665c;
  --line: rgba(35, 26, 20, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.site-header {
  min-height: 88px;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 239, 228, .93);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.wordmark { display: inline-flex; align-items: center; gap: 12px; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; }
.wordmark-mark { width: 40px; height: 40px; border: 1px solid var(--ink); display: grid; place-items: center; font: 700 .85rem/1 Arial, sans-serif; letter-spacing: -.05em; transform: rotate(-2deg); }
nav { display: flex; gap: 32px; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
nav a { padding: 8px 0; border-bottom: 1px solid transparent; }
nav a:hover, nav a:focus-visible { border-color: var(--rust); }

.market-selector { justify-self: end; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.market-options { display: flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; background: var(--cream); }
.market-options button { border: 0; background: transparent; color: var(--muted); padding: 7px 10px; border-radius: 99px; cursor: pointer; font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.market-options button.active { color: var(--cream); background: var(--rust); }

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  padding: clamp(64px, 8vw, 118px) clamp(24px, 7vw, 112px) 72px;
  overflow: hidden;
  position: relative;
}
.hero::after { content: ""; position: absolute; width: 500px; height: 500px; border: 1px solid rgba(157,62,37,.16); border-radius: 50%; left: -330px; bottom: -330px; box-shadow: 0 0 0 45px rgba(157,62,37,.035), 0 0 0 90px rgba(157,62,37,.025); }
.hero-copy { max-width: 730px; z-index: 2; }
.kicker { margin: 0 0 22px; color: var(--rust); font-size: .74rem; line-height: 1.5; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; margin: 0; }
h1 { max-width: 760px; font-size: clamp(3.4rem, 6.5vw, 6.65rem); line-height: .92; letter-spacing: -.055em; text-wrap: balance; }
.hero-intro { max-width: 630px; margin: 34px 0 0; font: 1.12rem/1.75 Georgia, serif; color: #51463d; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 22px; border: 1px solid currentColor; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--rust); color: white; border-color: var(--rust); }
.button.light { color: var(--cream); border-color: rgba(255,255,255,.55); }
.text-link { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.text-link span { color: var(--rust); margin-left: 6px; }
blockquote { max-width: 540px; margin: 50px 0 0; padding: 22px 0 0 28px; border-left: 2px solid var(--gold); font-family: Georgia, serif; }
blockquote p { margin: 0; font-size: 1.05rem; line-height: 1.6; font-style: italic; }
blockquote cite { display: block; margin-top: 10px; color: var(--muted); font: 700 .67rem/1 Arial, sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.release-note { margin-top: 48px; padding: 20px 0 0 28px; border-left: 2px solid var(--gold); display: flex; flex-direction: column; gap: 6px; }
.release-note span { color: var(--rust); font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.release-note strong { font: 500 1.25rem/1.3 Georgia, serif; }
.release-note small { color: var(--muted); font: .9rem/1.5 Georgia, serif; }

.hero-art { min-height: 520px; position: relative; display: grid; place-items: center; }
.sun-disc { position: absolute; width: min(38vw, 510px); aspect-ratio: 1; border-radius: 50%; background: var(--gold); opacity: .78; right: -3vw; top: -6vw; box-shadow: inset 0 0 80px rgba(111,40,24,.2); }
.sun-disc::after { content: ""; position: absolute; inset: -34px; border-radius: 50%; border: 1px solid rgba(157,62,37,.2); }
.cover-wrap { width: min(310px, 58vw); position: relative; z-index: 2; transform: rotate(2.5deg); }
.cover-wrap img { width: 100%; display: block; box-shadow: 0 32px 70px rgba(35,26,20,.28); }
.cover-shadow { position: absolute; width: 86%; height: 18%; bottom: -7%; left: 12%; background: rgba(35,26,20,.25); filter: blur(26px); z-index: -1; transform: rotate(-2deg); }
.hand-note { position: absolute; z-index: 3; right: 0; bottom: 44px; color: var(--rust-dark); font: italic 1.25rem Georgia, serif; transform: rotate(-5deg); }
.hand-note::before { content: ""; position: absolute; width: 70px; height: 1px; background: var(--rust); left: -82px; top: 50%; }

.featured-strip { background: var(--rust-dark); color: var(--cream); min-height: 140px; padding: 28px clamp(24px, 7vw, 112px); display: grid; grid-template-columns: 1fr 1.25fr auto; gap: 36px; align-items: center; }
.featured-strip p { color: #e8cfad; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; }
.featured-strip p span { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; margin-right: 10px; }
.featured-strip-title { display: flex; flex-direction: column; gap: 5px; }
.featured-strip-title small { color: #e8cfad; text-transform: uppercase; letter-spacing: .15em; font-size: .66rem; }
.featured-strip-title strong { font: 500 1.55rem/1.2 Georgia, serif; }

.catalog { padding: 110px clamp(24px, 7vw, 112px) 90px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.section-heading .kicker { margin-bottom: 14px; }
.section-heading h2, .author h2, .newsletter h2 { font-size: clamp(2.6rem, 5vw, 4.9rem); line-height: 1; letter-spacing: -.04em; }
.section-heading > p { max-width: 560px; justify-self: end; margin: 0; font: 1rem/1.8 Georgia, serif; color: var(--muted); }
.book-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); padding-top: 60px; }
.book-card { min-width: 0; }
.book-cover { aspect-ratio: 2 / 3; width: min(100%, 330px); margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; box-shadow: 0 22px 50px rgba(35,26,20,.16); transition: transform .25s ease, box-shadow .25s ease; }
.book-cover:hover { transform: translateY(-7px) rotate(.5deg); box-shadow: 0 28px 62px rgba(35,26,20,.23); }
.book-cover.original-cover { background: #e9e3d8; }
.book-cover.original-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover.nefi-one { color: #f4dfad; background: radial-gradient(circle at 70% 22%, #c7a24c 0 5%, transparent 6%), radial-gradient(circle at 42% 55%, rgba(103,222,199,.65), transparent 18%), linear-gradient(155deg,#1c2437,#3e2130 48%,#9e693c); }
.book-cover.nefi-two { color: #e6eef3; background: radial-gradient(circle at 50% 38%, rgba(255,255,255,.78), transparent 7%), radial-gradient(circle at 50% 42%, rgba(114,170,205,.44), transparent 26%), linear-gradient(160deg,#d6e0e5,#708ca3 40%,#182b45); }
.book-cover.nefi-one::before, .book-cover.nefi-two::before { content: ""; position: absolute; inset: 7%; border: 1px solid rgba(255,255,255,.35); box-shadow: inset 0 0 50px rgba(255,255,255,.12); }
.book-cover.nefi-one::after, .book-cover.nefi-two::after { content: ""; position: absolute; width: 52%; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; opacity: .55; }
.cover-series { position: absolute; top: 12%; font-size: .62rem; letter-spacing: .35em; }
.book-cover strong { position: relative; z-index: 2; font: 500 clamp(2.5rem, 5vw, 4.5rem)/1 Georgia, serif; letter-spacing: .08em; text-shadow: 0 3px 20px rgba(0,0,0,.35); }
.cover-subtitle { position: relative; z-index: 2; margin-top: 12px; font: 700 .72rem/1 Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.orbit { position: absolute; width: 74%; height: 24%; border: 1px solid currentColor; border-radius: 50%; transform: rotate(-15deg); opacity: .6; }
.cover-author { position: absolute; bottom: 9%; font-size: .66rem; letter-spacing: .2em; }
.book-meta { position: relative; padding: 26px 0 18px; border-bottom: 1px solid var(--line); }
.book-meta p { margin: 0 0 8px; color: var(--rust); font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.book-meta h3 { font-size: 1.45rem; line-height: 1.2; padding-right: 88px; }
.book-meta span { position: absolute; right: 0; bottom: 21px; color: var(--muted); font-size: .66rem; }
.book-description { min-height: 112px; color: var(--muted); font: .95rem/1.75 Georgia, serif; }
.book-card:first-child .book-actions { margin-top: 24px; justify-content: flex-start; }
.book-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.buy-link, .coming-soon { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.buy-link { color: var(--cream); background: var(--rust); padding: 10px 14px; }
.coming-soon { color: var(--muted); }
.market-note { margin: 42px 0 0; text-align: center; color: var(--muted); font-size: .77rem; }

.author { margin-top: 10px; background: #24384a; color: var(--cream); padding: 100px clamp(24px, 8vw, 130px); display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: center; position: relative; overflow: hidden; }
.author::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(255,255,255,.12); pointer-events: none; }
.author-monogram { min-height: 380px; position: relative; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); }
.author-monogram::before, .author-monogram::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.author-monogram::before { inset: 9%; }
.author-monogram::after { inset: 18%; }
.author-monogram span { position: absolute; font: 500 clamp(7rem, 14vw, 13rem)/1 Georgia, serif; color: #f0c788; opacity: .85; }
.author-monogram span:first-child { transform: translate(-18%, -5%); }
.author-monogram span:last-child { transform: translate(22%, 8%); opacity: .42; }
.author-copy { max-width: 750px; position: relative; z-index: 2; }
.author-copy .kicker { color: #f0c788; }
.author-copy p:not(.kicker) { color: #d2dbe1; font: 1.05rem/1.85 Georgia, serif; }

.newsletter { padding: 88px clamp(24px, 8vw, 130px); display: flex; justify-content: space-between; gap: 48px; align-items: center; background: #e7dcc7; }
.newsletter > div { max-width: 740px; }
.newsletter h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.newsletter p:not(.kicker) { color: var(--muted); font: 1rem/1.7 Georgia, serif; }

footer { padding: 42px clamp(24px, 5vw, 80px); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
footer > p:nth-child(2) { text-align: center; font-family: Georgia, serif; font-style: italic; }
.copyright { text-align: right; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr .8fr; padding-top: 80px; }
  .featured-strip { grid-template-columns: 1fr auto; }
  .featured-strip > p { display: none; }
  .book-grid { gap: 28px; }
  .book-meta h3 { padding-right: 0; }
  .book-meta span { position: static; display: block; margin-top: 8px; }
}

@media (max-width: 780px) {
  .site-header { min-height: auto; padding-block: 14px; position: relative; }
  .market-selector > span { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  h1 { font-size: clamp(3.2rem, 16vw, 5.2rem); }
  .hero-art { min-height: 530px; margin-top: 28px; }
  .sun-disc { width: 430px; right: -170px; top: 60px; }
  .cover-wrap { width: 280px; }
  .featured-strip { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 18px; padding-block: 36px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading > p { justify-self: start; }
  .book-grid { grid-template-columns: 1fr; gap: 70px; }
  .book-cover { max-width: 320px; }
  .book-description { min-height: auto; }
  .author { grid-template-columns: 1fr; gap: 50px; }
  .author-monogram { min-height: 300px; max-width: 420px; width: 100%; margin: auto; }
  .newsletter { flex-direction: column; align-items: flex-start; }
  footer { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  footer > p:nth-child(2), .copyright { text-align: center; }
}

@media (max-width: 480px) {
  .site-header { padding-inline: 16px; }
  .wordmark > span:last-child { display: none; }
  .hero { padding-inline: 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hand-note { display: none; }
  .market-options button { padding-inline: 8px; }
  .catalog { padding-top: 78px; }
}

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

/* Book detail pages */
.detail-header { min-height: 88px; padding: 0 clamp(24px, 5vw, 80px); display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.back-link { color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.back-link span { color: var(--rust); margin-right: 7px; }
.book-hero { min-height: 720px; display: grid; grid-template-columns: minmax(320px,.85fr) minmax(0,1.15fr); gap: clamp(56px,8vw,130px); align-items: center; padding: 84px clamp(24px,9vw,150px); }
.book-hero-art { display: grid; place-items: center; position: relative; }
.book-hero-art::before { content: ""; position: absolute; width: min(37vw,500px); aspect-ratio: 1; border-radius: 50%; background: #e6d3af; box-shadow: 0 0 0 32px rgba(201,141,54,.06),0 0 0 64px rgba(201,141,54,.035); }
.detail-cover { width: min(360px,70vw); aspect-ratio: 2/3; position: relative; z-index: 2; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 32px 70px rgba(35,26,20,.27); transform: rotate(-1.5deg); }
.detail-cover.original-cover { background: #e9e3d8; }
.detail-cover.original-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-cover.nefi-one { color:#f4dfad; background:radial-gradient(circle at 70% 22%,#c7a24c 0 5%,transparent 6%),radial-gradient(circle at 42% 55%,rgba(103,222,199,.65),transparent 18%),linear-gradient(155deg,#1c2437,#3e2130 48%,#9e693c); }
.detail-cover.nefi-two { color:#e6eef3; background:radial-gradient(circle at 50% 38%,rgba(255,255,255,.78),transparent 7%),radial-gradient(circle at 50% 42%,rgba(114,170,205,.44),transparent 26%),linear-gradient(160deg,#d6e0e5,#708ca3 40%,#182b45); }
.detail-cover.nefi-one::before,.detail-cover.nefi-two::before { content:""; position:absolute; inset:7%; border:1px solid rgba(255,255,255,.35); box-shadow:inset 0 0 50px rgba(255,255,255,.12); }
.detail-cover.nefi-one::after,.detail-cover.nefi-two::after { content:""; position:absolute; width:52%; aspect-ratio:1; border:1px solid currentColor; border-radius:50%; opacity:.55; }
.detail-cover strong { position:relative; z-index:2; font:500 clamp(3rem,7vw,5.2rem)/1 Georgia,serif; letter-spacing:.08em; text-shadow:0 3px 20px rgba(0,0,0,.35); }
.book-hero-copy { max-width: 780px; }
.book-hero-copy h1 { font-size: clamp(3.6rem,7vw,7.2rem); }
.genre { color: var(--rust); margin: 26px 0 32px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.book-hero-copy .lead { font: 1.25rem/1.7 Georgia,serif; color: var(--ink); }
.book-hero-copy > p:not(.kicker):not(.genre):not(.lead) { color: var(--muted); font: 1rem/1.8 Georgia,serif; }
.detail-actions { margin-top: 34px; display: flex; align-items: center; gap: 18px; }
.purchase-hint { max-width: 240px; margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.4; }
.launch-badge { display: inline-flex; padding: 13px 17px; border: 1px solid var(--rust); color: var(--rust); font-size: .71rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.book-facts { background: var(--rust-dark); color: var(--cream); padding: 34px clamp(24px,9vw,150px); display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.book-facts div { display: flex; flex-direction: column; gap: 8px; border-left: 1px solid rgba(255,255,255,.25); padding-left: 18px; }
.book-facts span { color:#e8cfad; font-size:.62rem; text-transform:uppercase; letter-spacing:.15em; }
.book-facts strong { font:500 1rem/1.4 Georgia,serif; }
.book-quote { min-height: 420px; display: grid; place-items: center; text-align: center; padding: 80px 24px; background: #e7dcc7; }
.book-quote blockquote { max-width: 920px; padding: 0; margin: 0; border: 0; }
.book-quote blockquote p { font-size: clamp(2.5rem,5.2vw,5.4rem); line-height: 1.05; letter-spacing: -.04em; }
.reviews { padding: 110px clamp(24px,8vw,130px); }
.empty-reviews { margin-top: 44px; min-height: 280px; display: grid; place-items: center; align-content: center; text-align: center; border: 1px solid var(--line); padding: 40px; background: rgba(255,250,240,.45); }
.empty-reviews > span { color: var(--gold); letter-spacing: .3em; }
.empty-reviews h3 { margin-top: 22px; font-size: clamp(1.7rem,3vw,2.5rem); }
.empty-reviews p { color: var(--muted); font: .95rem/1.6 Georgia,serif; }
.next-reading { padding: 90px clamp(24px,8vw,130px); background: #24384a; color: var(--cream); display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: center; }
.next-reading .kicker { color:#f0c788; margin:0; }
.next-reading h2 { font-size: clamp(2.2rem,4vw,4rem); }
.detail-footer { padding: 35px clamp(24px,5vw,80px); display:flex; justify-content:space-between; align-items:center; color:var(--muted); font-size:.75rem; }

@media (max-width: 780px) {
  .book-hero { grid-template-columns:1fr; padding-top:62px; }
  .book-hero-art { min-height:520px; }
  .book-hero-art::before { width:430px; }
  .book-facts { grid-template-columns:1fr; }
  .next-reading { grid-template-columns:1fr; }
}
@media (max-width: 480px) {
  .detail-header { padding-inline:16px; }
  .book-hero { padding-inline:20px; gap:38px; }
  .book-hero-art { min-height:440px; }
  .detail-cover { width:270px; }
  .detail-actions { align-items:flex-start; flex-direction:column; }
  .detail-footer { flex-direction:column; gap:18px; text-align:center; }
}
