*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0d0d0d;
  --body: #3d3d3d;
  --muted: #6f6f6f;
  --faint: #9b9b9b;
  --line: #e8e8e8;
  --wash: #fafafa;
  --paper: #f7f5f0;
  --white: #fff;
  --clay: #c2694b;
  --clay-soft: #faf1ed;
  --sage: #44604f;
  --sage-soft: #eef3ef;
}

html { scroll-behavior: smooth; }
body { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
.skip-link { position: absolute; left: 16px; top: -80px; background: var(--ink); color: var(--white); padding: 10px 14px; z-index: 1000; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.88); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 13px 32px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.nav-logo { display: inline-flex; align-items: center; }
.brand-lockup { width: 184px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a { transition: color .15s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 20px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 500; transition: background .15s, border-color .15s, color .15s; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2c2c2c; }
.btn-ghost { border-color: var(--line); background: var(--white); }
.btn-ghost:hover { border-color: #c7c7c7; }
.nav-cta { min-height: 36px; padding: 7px 15px; font-size: 13px; }

.page-hero { padding: 92px 0 82px; background: linear-gradient(180deg, var(--paper), var(--white)); }
.eyebrow { color: var(--faint); font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 16px; }
.page-hero h1 { max-width: 850px; font-size: clamp(42px, 7vw, 72px); letter-spacing: -.055em; line-height: .99; font-weight: 650; margin-bottom: 24px; }
.page-hero .lede { max-width: 700px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.section { padding: 82px 0; border-top: 1px solid var(--line); }
.section-soft { background: var(--wash); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.section-head-copy { max-width: 660px; }
.section h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; letter-spacing: -.035em; font-weight: 620; margin-bottom: 12px; }
.section-head p, .prose p { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.text-link::after { content: "→"; transition: transform .15s; }
.text-link:hover::after { transform: translateX(3px); }

.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.book-card { min-width: 0; display: flex; flex-direction: column; }
.cover { position: relative; display: grid; place-items: center; min-height: 330px; padding: 26px 30px; margin-bottom: 16px; background: #f1f1f1; border: 1px solid transparent; border-radius: 12px; transition: border-color .15s, transform .2s; }
.book-card:hover .cover { border-color: #d5d5d5; transform: translateY(-2px); }
.cover img { width: auto; max-width: 100%; max-height: 280px; border-radius: 3px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.36); }
.status-badge { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 4px 13px 4px 8px; background: #e47911; color: var(--white); clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 50%, 100% 100%, 0 100%); font-size: 10px; font-weight: 650; letter-spacing: .02em; line-height: 1.3; }
.book-series { color: var(--faint); font-size: 11px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.book-title { margin: 4px 0 5px; font-size: 16px; line-height: 1.3; font-weight: 620; letter-spacing: -.015em; }
.book-desc { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin-bottom: 12px; flex: 1; }
.book-link { font-size: 13px; font-weight: 600; }
.book-link::after { content: " →"; }

.editorial-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 88px; align-items: start; }
.prose { max-width: 700px; }
.prose h2 { margin-bottom: 22px; }
.prose h3 { font-size: 19px; letter-spacing: -.02em; margin: 34px 0 8px; }
.prose p { margin-bottom: 18px; }
.aside-card { position: sticky; top: 98px; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.aside-card h2 { font-size: 22px; }
.aside-card p { color: var(--muted); margin-bottom: 20px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; }
.step-number { color: var(--clay); font-size: 13px; font-weight: 650; margin-bottom: 9px; }
.step h3 { font-size: 17px; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 14px; }

.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.photo-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; }

.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 21px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); max-width: 700px; padding: 0 40px 22px 0; }

.footer { border-top: 1px solid var(--line); padding: 42px 0; }
.footer-inner { display: grid; grid-template-columns: 220px 1fr; gap: 36px 64px; align-items: start; }
.footer .brand-lockup { width: 176px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { grid-column: 1 / -1; color: var(--faint); font-size: 13px; }

@media (max-width: 920px) {
  .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .editorial-grid { grid-template-columns: 1fr; gap: 48px; }
  .aside-card { position: static; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 40px, 1120px); }
  .nav-inner { padding: 12px 20px; }
  .brand-lockup { width: 162px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .page-hero { padding: 66px 0 62px; }
  .section { padding: 64px 0; }
  .section-head { display: block; }
  .section-head .text-link { margin-top: 18px; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .cover { min-height: 0; padding: 20px; }
  .steps, .photo-grid { grid-template-columns: 1fr; gap: 28px; }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-copy { grid-column: auto; }
}

@media (max-width: 420px) {
  .book-grid { gap: 24px 12px; }
  .cover { padding: 14px; border-radius: 9px; }
  .book-title { font-size: 14px; }
  .book-desc { font-size: 13px; }
}

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