:root {
  --ink: #20201d;
  --muted: #66645f;
  --red: #a83a2e;
  --gold: #b98543;
  --sand: #eee6d8;
  --white: #fff;
  --offwhite: #f8f7f3;
  --line: #d7d1c6;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
.section-shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.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: 12px; top: -100px; z-index: 999; padding: 10px 14px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(32,32,29,.08); }
.nav-shell { width: min(1320px, calc(100% - 32px)); min-height: 84px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-symbol { display: grid; place-items: center; width: 48px; height: 48px; color: var(--gold); border: 1px solid #d7c19e; border-radius: 50%; font-family: Georgia, serif; font-size: 31px; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 20px; letter-spacing: .2em; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3.5vw, 50px); }
.main-nav a { position: relative; color: #3f3e3b; text-decoration: none; text-transform: uppercase; font-size: 13px; font-weight: 700; letter-spacing: .045em; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--red); transition: right .25s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--red); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.menu-button { display: none; width: 46px; height: 46px; padding: 9px; border: 0; background: transparent; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 6px 0; background: var(--ink); }

.home-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #9b764d; }
.home-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.home-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,12,8,.73) 0%, rgba(15,12,8,.27) 50%, rgba(15,12,8,.05) 100%), linear-gradient(0deg, rgba(15,12,8,.55), transparent 52%); }
.home-content { position: relative; z-index: 2; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 170px 0 90px; color: white; }
.kicker, .section-label, .book-index { margin: 0 0 17px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.home-content .kicker { color: #ffe3ad; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.05; }
h1 { margin: 0; font-size: clamp(64px, 9vw, 118px); letter-spacing: -.055em; text-shadow: 0 3px 28px rgba(0,0,0,.22); }
.home-lead { max-width: 690px; margin: 20px 0 33px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 3vw, 43px); line-height: 1.2; }
.home-lead span { display: block; }
.hero-button, .primary-link, .light-link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 24px; border: 1px solid currentColor; text-decoration: none; text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .1em; transition: .22s ease; }
.hero-button { color: white; background: rgba(20,15,10,.24); backdrop-filter: blur(8px); }
.hero-button span { margin-left: 22px; }
.hero-button:hover { color: var(--ink); background: white; border-color: white; }
.hero-signature { position: absolute; z-index: 2; right: 32px; bottom: 28px; margin: 0; color: rgba(255,255,255,.75); font-family: Georgia, serif; font-size: 13px; font-style: italic; letter-spacing: .04em; writing-mode: vertical-rl; transform: rotate(180deg); }

.announcement { min-height: 74px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 30px; padding: 18px 24px; color: white; background: var(--red); text-align: center; }
.announcement p { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.announcement span { color: #f6cf96; }

.intro-section { padding: 118px 0 100px; background: white; }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: end; }
.intro-grid h2, .book-copy h2, .author-copy h2, .help-section h2, .purchase-section h2 { margin: 0; font-size: clamp(43px, 6vw, 78px); letter-spacing: -.045em; }
.intro-text { margin: 0 0 8px; max-width: 530px; color: var(--muted); font-size: 18px; }

.book-feature { padding: 110px 0; background: var(--sand); }
.book-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(60px, 9vw, 125px); align-items: center; }
.visual-panel { min-height: 660px; margin: 0; display: grid; place-items: center; position: relative; }
.visual-panel::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.45); }
.book-cover-image { position: relative; z-index: 1; width: min(385px, 78vw); aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px 13px 13px 3px; box-shadow: 0 34px 70px rgba(25,25,20,.29); transform: perspective(1100px) rotateY(-5deg) rotateZ(-1deg); }
.book-index { color: var(--red); }
.book-copy h2 { max-width: 660px; font-size: clamp(42px, 5vw, 69px); }
.book-copy > p:not(.book-index):not(.download-note) { max-width: 650px; color: #53514c; }
.book-lead { margin-top: 30px; font-family: Georgia, serif; font-size: 24px; line-height: 1.45; color: var(--ink) !important; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid rgba(32,32,29,.18); }
.feature-list li { padding: 13px 8px 13px 0; border-bottom: 1px solid rgba(32,32,29,.18); font-size: 13px; font-weight: 700; }
.feature-list li::before { content: "✦"; margin-right: 9px; color: var(--red); }

.description-card { margin-top: 28px; overflow: hidden; background: rgba(255,255,255,.58); border: 1px solid rgba(118,83,50,.22); border-radius: 4px; }
.description-card summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding: 16px 20px; cursor: pointer; list-style: none; color: #4a3826; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.description-card summary::-webkit-details-marker { display: none; }
.description-card summary:hover { background: rgba(255,255,255,.48); }
.details-icon { position: relative; flex: 0 0 24px; width: 24px; height: 24px; border: 1px solid #b79d79; border-radius: 50%; }
.details-icon::before, .details-icon::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 10px; height: 1px; background: #6c4a2f; transform: translate(-50%, -50%); transition: transform .22s ease; }
.details-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.description-card[open] .details-icon::after { transform: translate(-50%, -50%) rotate(0); }
.description-content { padding: 3px 20px 17px; border-top: 1px solid rgba(118,83,50,.18); }
.description-content p { margin: 16px 0; color: #53514c; }

.book-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 27px; margin-top: 35px; }
.primary-link { gap: 12px; color: white; background: var(--red); border-color: var(--red); }
.primary-link:hover { color: var(--red); background: transparent; }
.secondary-link { color: var(--red); background: transparent; }
.secondary-link:hover { color: white; background: var(--red); }
.book-actions .coffee-link { color: #2f2115; background: #e3b96f; border-color: #e3b96f; }
.book-actions .coffee-link:hover { color: #80551f; background: transparent; border-color: #b98543; }
.under-link { color: var(--ink); text-underline-offset: 6px; font-size: 13px; font-weight: 700; }
.download-note { margin: 14px 0 0; color: #716d65; font-size: 12px; }

.quote-panel { padding: 110px 24px; text-align: center; background: var(--offwhite); }
.quote-panel blockquote { max-width: 930px; margin: 0 auto; font-family: Georgia, serif; font-size: clamp(32px, 4.5vw, 60px); line-height: 1.25; font-style: italic; }

.author-section { padding: 120px 0; background: white; }
.author-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(60px, 9vw, 125px); align-items: center; }
.author-photo { min-height: 640px; margin: 0; overflow: hidden; background: var(--sand); }
.author-photo img { width: 100%; height: 640px; object-fit: cover; object-position: 29% center; }
.author-copy .section-label { color: var(--red); }
.author-lead { margin: 30px 0 22px; font-family: Georgia, serif; font-size: 24px; line-height: 1.45; }
.author-copy p:not(.section-label) { color: var(--muted); }
.author-copy .author-lead { color: var(--ink); }

.help-section { padding: 115px 0; background: var(--offwhite); }
.help-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 90px 1fr; align-items: center; min-height: 102px; border-bottom: 1px solid var(--line); }
.steps span { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.steps p { margin: 0; font-family: Georgia, serif; font-size: 20px; }

.purchase-section { padding: 110px 0; color: white; background: #20201d; }
.purchase-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.purchase-section .section-label { color: #e4b16e; }
.light-link { flex: 0 0 auto; color: white; }
.light-link:hover { color: var(--ink); background: white; }
.site-footer { padding: 34px 0; color: rgba(255,255,255,.66); background: #121210; }
.footer-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.footer-grid strong { color: white; letter-spacing: .18em; }
.footer-grid p { margin: 5px 0 0; font-size: 12px; }
:focus-visible { outline: 3px solid #e2a153; outline-offset: 4px; }

@media (max-width: 960px) {
  .main-nav { gap: 22px; }
  .main-nav a { font-size: 11px; }
  .intro-grid, .book-grid, .author-grid, .help-grid { grid-template-columns: 1fr; gap: 55px; }
  .visual-panel { min-height: 600px; }
  .author-photo { min-height: 0; }
  .author-photo img { height: auto; aspect-ratio: 4 / 3; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .section-shell { width: min(100% - 30px, var(--max)); }
  .nav-shell { min-height: 70px; }
  .brand-symbol { width: 42px; height: 42px; font-size: 27px; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 70px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 15px 18px; background: white; border-top: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0,0,0,.08); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 5px; border-bottom: 1px solid var(--line); font-size: 12px; }
  .main-nav a::after { display: none; }
  .home-image { object-position: 31% center; }
  .home-shade { background: linear-gradient(0deg, rgba(15,12,8,.78) 0%, rgba(15,12,8,.29) 74%); }
  .home-content { width: calc(100% - 30px); padding: 150px 0 55px; }
  h1 { font-size: clamp(58px, 20vw, 88px); }
  .home-lead { font-size: 26px; }
  .hero-signature { display: none; }
  .announcement { gap: 12px 24px; }
  .intro-section, .book-feature, .author-section, .help-section, .purchase-section { padding: 78px 0; }
  .intro-grid h2, .book-copy h2, .author-copy h2, .help-section h2, .purchase-section h2 { font-size: 44px; }
  .intro-grid { gap: 28px; }
  .visual-panel { min-height: 510px; }
  .book-cover-image { width: min(310px, 78vw); }
  .feature-list { grid-template-columns: 1fr; }
  .quote-panel { padding: 78px 18px; }
  .purchase-grid, .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .brand-name { font-size: 17px; }
  .home-content .kicker { max-width: 240px; }
  .home-lead span { display: inline; }
  .book-actions { align-items: flex-start; flex-direction: column; }
  .primary-link { width: 100%; }
  .visual-panel { min-height: 455px; }
  .book-cover-image { width: 270px; }
  .steps li { grid-template-columns: 62px 1fr; }
  .description-card summary { padding-inline: 16px; }
  .description-content { padding-inline: 16px; }
}

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