:root {
  --bg: #0b0b0c;
  --surface: #121214;
  --surface-2: #181719;
  --text: #f3f0ea;
  --muted: #aca7a0;
  --line: #29272a;
  --accent: #c77945;
  --accent-light: #e39a67;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 6vw;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(11,11,12,.9);
  backdrop-filter: blur(14px);
}
.brand {
  text-decoration: none;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
}
nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
}
nav a:hover, nav a:focus-visible { color: var(--text); }

.hero {
  min-height: 78vh;
  display: grid;
  align-content: center;
  padding: 10vw 8vw;
  background:
    radial-gradient(circle at 78% 42%, rgba(199,121,69,.18), transparent 28%),
    linear-gradient(135deg, #0b0b0c 55%, #151112 100%);
  border-bottom: 1px solid var(--line);
}
.eyebrow, .section-heading > span, .book-label {
  color: var(--accent-light);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
}
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 {
  max-width: 1000px;
  margin-top: 1rem;
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 760;
}
.hero p {
  max-width: 660px;
  margin: 2rem 0 2.4rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: .7rem 1.25rem;
  border: 1px solid #4a4645;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 700;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover, .button:focus-visible { border-color: var(--accent-light); transform: translateY(-1px); }
.button.primary { background: var(--accent); border-color: var(--accent); color: #110d0b; }

.section { padding: 9rem 8vw; border-bottom: 1px solid var(--line); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(130px, .5fr) 2fr;
  gap: 2rem;
  margin-bottom: 5rem;
}
.section-heading h2 { font-size: clamp(2.4rem, 5vw, 5rem); }

.book {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(300px, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}
.cover-wrap {
  max-width: 390px;
  margin-inline: auto;
  padding: 1.2rem;
  background: linear-gradient(145deg, #1e1c1d, #0d0d0e);
  box-shadow: 0 28px 70px rgba(0,0,0,.45);
}
.cover-wrap img { display: block; width: 100%; height: auto; }
.book-copy { max-width: 670px; }
.book h3 { margin: .85rem 0 .6rem; font-size: clamp(2.2rem, 4.5vw, 4.6rem); }
.subtitle { color: var(--accent-light); font-size: 1.12rem; }
.book-copy > p:not(.subtitle) { color: var(--muted); font-size: 1.02rem; }
.book-copy .button { margin-top: 1rem; }
.text-book { grid-template-columns: minmax(180px, .75fr) minmax(300px, 1.25fr); }
.number {
  color: transparent;
  -webkit-text-stroke: 1px #4b4543;
  font-size: clamp(7rem, 18vw, 17rem);
  font-weight: 800;
  line-height: .8;
  user-select: none;
}

.author-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 9vw, 10rem);
}
.author-section .section-heading { display: block; margin: 0; }
.author-section h2 { margin-top: 1rem; }
.author-copy { font-size: clamp(1.15rem, 2vw, 1.45rem); }
.author-copy p { margin: 0 0 1.5rem; }
.author-copy p + p { color: var(--muted); }

.contact-section { text-align: center; background: var(--surface); }
.contact-section h2 { margin: 1rem 0; font-size: clamp(2.4rem, 5vw, 5rem); }
.contact-section p { color: var(--muted); }
.email {
  display: inline-block;
  margin: 1rem 0 2.5rem;
  color: var(--accent-light);
  font-size: clamp(1rem, 2.4vw, 1.7rem);
  text-underline-offset: .25em;
}
.contact-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.contact-links a { color: var(--muted); text-underline-offset: .25em; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 6vw;
  color: #77726d;
  font-size: .82rem;
}

@media (max-width: 760px) {
  .site-header { padding: 0 1.25rem; }
  nav a:not(:last-child) { display: none; }
  .hero { min-height: 72vh; padding: 7rem 1.4rem 5rem; }
  .section { padding: 6rem 1.4rem; }
  .section-heading, .book, .text-book, .author-section { grid-template-columns: 1fr; }
  .section-heading { margin-bottom: 3rem; }
  .book { gap: 3rem; padding: 4rem 0; }
  .cover-wrap { width: min(82vw, 340px); }
  .number { font-size: 9rem; }
  footer { flex-direction: column; padding: 2rem 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
