:root {
  --bg: #0e0e10;
  --surface: #161619;
  --surface-2: #202024;
  --text: #f4f1ea;
  --muted: #b7b0a4;
  --accent: #c8a46a;
  --accent-2: #8e6d3c;
  --line: rgba(255,255,255,.12);
  --shadow: 0 24px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(200,164,106,.16), transparent 34rem), var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: inherit; text-decoration-color: rgba(200,164,106,.7); text-underline-offset: .25em; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(14,14,16,.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 700;
  text-decoration: none;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  letter-spacing: .06em;
  font-size: .8rem;
}

.nav { display: flex; align-items: center; gap: .9rem; }
.nav-links { display: flex; align-items: center; gap: 1rem; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; }
.instagram-link {
  width: 2.45rem;
  height: 2.45rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  text-decoration: none;
  background: rgba(255,255,255,.04);
}
.instagram-link svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }

main { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.hero {
  min-height: 68vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(4rem, 8vw, 7rem) 0 3rem;
}
.eyebrow, .section-kicker, .meta {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; margin: 0 0 1rem; }
h1 { font-size: clamp(2.7rem, 7vw, 5.8rem); max-width: 11ch; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.5rem; }
.lead { max-width: 42rem; color: var(--muted); font-size: 1.15rem; }
.hero-actions, .links-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.button, .links-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .7rem 1rem;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover, .links-row a:hover { transform: translateY(-1px); border-color: var(--accent); }
.primary { background: var(--accent); color: #15110b; border-color: var(--accent); font-weight: 700; }
.ghost { color: var(--text); }
.hero-cover img, .book-card img, .author-photo {
  border-radius: 1.1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-cover img { width: min(100%, 360px); margin-left: auto; }
.release-note {
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 1rem;
  color: var(--muted);
}
.section { padding: clamp(3rem, 7vw, 6rem) 0; border-top: 1px solid var(--line); }
.section-intro { color: var(--muted); max-width: 48rem; margin-top: -.5rem; margin-bottom: 2rem; }
.books-grid { display: grid; gap: 1.4rem; }
.book-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}
.book-card p { color: var(--muted); }
.author-section {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
.author-section p { color: var(--muted); }
.author-photo { aspect-ratio: 1 / 1; object-fit: cover; background: #fff; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.review-card {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  position: relative;
  overflow: hidden;
}
.review-card-text {
  min-height: 245px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-card-text::before {
  content: "“";
  position: absolute;
  right: 1.05rem;
  top: -.15rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7rem;
  line-height: 1;
  color: rgba(200,164,106,.12);
  pointer-events: none;
}
.review-card h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); max-width: 18rem; position: relative; }
.review-card a { color: var(--accent); font-weight: 700; position: relative; }
.contact-section p { color: var(--muted); }
.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}
.back-to-top { color: var(--accent); font-weight: 700; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  align-items: center;
}
.footer-links a { color: var(--accent); font-weight: 700; }
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  border-top: 0;
  padding-top: clamp(4rem, 8vw, 7rem);
}
.legal-page h1 { max-width: none; font-size: clamp(2.5rem, 6vw, 4.6rem); }
.legal-page h2 { font-size: clamp(1.35rem, 3vw, 2rem); }
.legal-lead { max-width: 52rem; }
.policy-updated { color: var(--muted); margin-bottom: 2rem; }
.legal-box {
  padding: 1.25rem 1.35rem;
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
}
.legal-box p { color: var(--muted); }
.legal-note { border-color: rgba(200,164,106,.35); }

@media (max-width: 780px) {
  .site-header { align-items: flex-start; }
  .nav { margin-left: auto; }
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 2.45rem;
    height: 2.45rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font-size: 1.1rem;
  }
  .nav-links {
    position: absolute;
    right: 1rem;
    top: 4.35rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    min-width: 190px;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--surface-2);
  }
  .nav-links.is-open { display: flex; }
  .hero, .book-card, .author-section, .reviews-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-cover img { margin: 0; width: min(100%, 300px); }
  .book-card img { width: min(100%, 220px); }
  .review-card-text { min-height: auto; }
  .site-footer { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}
