:root {
  --cream: #fbf5e9;
  --paper: #fffaf1;
  --ink: #2c2523;
  --muted: #6f605b;
  --rose: #c7837d;
  --rose-dark: #7c3f42;
  --sunset: #e89b6a;
  --gold: #e6b66f;
  --sage: #6f7665;
  --line: rgba(83, 55, 48, 0.18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Libre Franklin", system-ui, sans-serif;
  --shadow: 0 24px 60px rgba(82, 49, 38, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.7; }
a { color: inherit; }
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 100; padding: .75rem 1rem; background: var(--ink); color: white; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 88px; padding: 1rem clamp(1.25rem, 4vw, 4.5rem); color: #fffaf1; transition: background .25s, color .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(251, 245, 233, .96); color: var(--ink); box-shadow: 0 2px 20px rgba(42,31,28,.08); backdrop-filter: blur(12px); }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: .9; }
.brand-name { font: 700 clamp(1.7rem, 2.5vw, 2.2rem)/.9 var(--serif); letter-spacing: .015em; }
.brand-tag { margin-top: .45rem; font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.6vw, 2.5rem); }
.site-nav a { position: relative; text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.5rem; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .2s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; }
.menu-button span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px auto; background: currentColor; }

.hero { position: relative; min-height: min(880px, 100svh); display: grid; align-items: center; padding: 9rem clamp(1.25rem, 8vw, 9rem) 5rem; color: #fffaf1; overflow: hidden; background: #a25855; isolation: isolate; }
.sunset { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, #704352 0%, #bb6965 35%, #e89b6a 62%, #e9b873 100%); }
.sunset::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(45,28,35,.66) 0%, rgba(58,35,38,.28) 48%, rgba(58,35,38,.02) 100%); }
.sun { position: absolute; width: min(25vw, 280px); aspect-ratio: 1; right: 15%; top: 19%; border-radius: 50%; background: rgba(255,220,155,.78); box-shadow: 0 0 80px rgba(255,210,140,.48); }
.ridge { position: absolute; left: -5%; width: 110%; bottom: 0; background: #55463f; clip-path: polygon(0 44%, 10% 28%, 22% 40%, 34% 16%, 50% 37%, 63% 8%, 77% 35%, 89% 17%, 100% 40%, 100% 100%, 0 100%); }
.ridge-back { height: 43%; opacity: .55; }
.ridge-front { height: 34%; bottom: -8%; background: #31362f; clip-path: polygon(0 35%, 15% 14%, 31% 28%, 45% 12%, 58% 34%, 70% 19%, 86% 38%, 100% 20%, 100% 100%, 0 100%); }
.road { position: absolute; width: 24%; height: 42%; bottom: -13%; left: 54%; background: #d9b28a; opacity: .7; clip-path: polygon(44% 0, 57% 0, 100% 100%, 0 100%); transform: rotate(-4deg); }
.hero-copy { width: min(720px, 68vw); }
.eyebrow { margin: 0 0 1rem; color: var(--rose-dark); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.hero .eyebrow, .newsletter .eyebrow { color: #f8d4b4; }
h1, h2, h3 { margin: 0; font-family: var(--serif); line-height: .98; }
h1 { max-width: 800px; font-size: clamp(3.7rem, 8vw, 7.7rem); font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 600; letter-spacing: -.025em; }
h3 { font-size: 2rem; }
.hero-intro { max-width: 600px; margin: 1.6rem 0 2.2rem; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.65rem); }
.hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: .8rem 1.4rem; border: 1px solid transparent; border-radius: 2px; text-decoration: none; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.button-primary { background: var(--cream); color: var(--rose-dark); }
.button-light { background: var(--cream); color: var(--rose-dark); }
.button:hover { transform: translateY(-2px); }
.text-link { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-decoration-thickness: 1px; text-underline-offset: 5px; text-transform: uppercase; }
.hero-note { position: absolute; right: clamp(1.25rem, 4vw, 4.5rem); bottom: 1.5rem; margin: 0; font: italic 1rem var(--serif); opacity: .9; }

.section-shell { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; padding-block: clamp(5rem, 10vw, 9rem); }
.featured { display: grid; grid-template-columns: minmax(260px, .82fr) 1.1fr; align-items: center; gap: clamp(3rem, 9vw, 8rem); }
.book-art { text-align: center; }
.book-cover { position: relative; aspect-ratio: 2/3; width: min(360px, 85%); margin: auto; padding: 2rem 1.2rem; display: flex; flex-direction: column; align-items: center; color: #fff9e9; background: linear-gradient(180deg, #773f4c 0%, #bd7168 43%, #ecad72 75%, #5b5b48 76%, #384235 100%); box-shadow: var(--shadow), 14px 12px 0 rgba(124,63,66,.12); overflow: hidden; }
.book-cover::before { content: ""; position: absolute; width: 45%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,222,157,.75); top: 26%; }
.cover-series, .cover-author { position: relative; z-index: 1; font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.cover-title { position: relative; z-index: 1; margin: 22% 0 auto; font: 600 clamp(3.4rem, 6vw, 5rem)/.74 var(--serif); text-shadow: 0 2px 20px rgba(70,30,30,.2); }
.cover-author { margin-top: auto; font-size: .78rem; }
.cover-road { position: absolute; width: 48%; height: 40%; left: 27%; bottom: -8%; background: #cba77c; clip-path: polygon(44% 0, 57% 0, 100% 100%, 0 100%); transform: rotate(4deg); opacity: .8; }
.art-note, .form-note { color: var(--muted); font-size: .72rem; }
.book-series { font-family: var(--serif); font-size: 1.3rem; color: var(--rose-dark); }
.placeholder-copy { max-width: 650px; color: var(--muted); }
.placeholder-copy strong { color: var(--ink); }
.availability { display: inline-flex; align-items: center; gap: .65rem; margin-top: 1.5rem; padding: .7rem 1rem; border: 1px solid var(--line); color: var(--rose-dark); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.availability-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }

.books-section { background: #f3e7d8; border-block: 1px solid var(--line); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.section-heading-row p { color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 1.15rem; }
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.book-card { min-height: 330px; display: flex; flex-direction: column; justify-content: end; padding: 2rem; border: 1px solid var(--line); background: rgba(255,250,241,.64); }
.book-card:first-child { color: white; background: linear-gradient(155deg, var(--rose-dark), #bd7168 62%, #d89b6c); box-shadow: 0 18px 44px rgba(82,49,38,.13); }
.book-number { margin: 0 auto auto 0; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }
.book-card p:last-child { margin-bottom: 0; font-size: .85rem; opacity: .8; }

.about { display: grid; grid-template-columns: .75fr 1.3fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.about-mark { display: grid; place-items: center; min-height: 460px; background: linear-gradient(145deg, #e0b194, #bd7c76); box-shadow: var(--shadow); }
.about-mark span { display: grid; place-items: center; width: 190px; height: 190px; border: 1px solid rgba(255,250,241,.7); border-radius: 50%; color: var(--cream); font: 600 4.8rem var(--serif); }

.newsletter { padding: clamp(5rem, 10vw, 8rem) 1.25rem; color: var(--cream); background: var(--rose-dark); text-align: center; }
.newsletter-inner { max-width: 790px; margin: auto; }
.newsletter p { margin-inline: auto; }
.signup-form { margin-top: 2.5rem; }
.signup-form label { display: block; margin-bottom: .6rem; text-align: left; font-size: .78rem; }
.signup-row { display: grid; grid-template-columns: 1fr auto; gap: .75rem; }
.signup-row input { min-width: 0; min-height: 54px; padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.45); border-radius: 2px; background: rgba(255,255,255,.08); color: white; }
.signup-row input::placeholder { color: rgba(255,255,255,.62); }
.newsletter .form-note { color: #e9c7bc; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-card { align-self: center; padding: 2rem; border-left: 3px solid var(--rose); background: var(--paper); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.5rem clamp(1.25rem, 4vw, 4.5rem); border-top: 1px solid var(--line); background: #eee2d4; font-size: .72rem; }
.brand-footer { color: var(--rose-dark); }

@media (max-width: 800px) {
  .site-header { min-height: 74px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; inset: 74px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .8rem 1.25rem 1.4rem; color: var(--ink); background: var(--cream); box-shadow: 0 15px 30px rgba(42,31,28,.12); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .hero { min-height: 760px; padding-top: 7rem; }
  .hero-copy { width: 100%; }
  .hero-note { display: none; }
  .sun { right: -7%; top: 18%; width: 210px; }
  .featured, .about, .contact { grid-template-columns: 1fr; }
  .book-art { order: 2; }
  .book-grid { grid-template-columns: 1fr; }
  .book-card { min-height: 230px; }
  .about-mark { min-height: 350px; order: 2; }
  .section-heading-row { align-items: start; flex-direction: column; }
  .site-footer { align-items: start; flex-direction: column; }
}

@media (max-width: 520px) {
  h1 { font-size: 3.4rem; }
  h2 { font-size: 2.8rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 1.25rem; }
  .text-link { text-align: center; }
  .signup-row { grid-template-columns: 1fr; }
}

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