:root {
  --ink: #1f2430;
  --muted: #606a78;
  --cream: #fbf4e8;
  --cream-deep: #f4e6cf;
  --paper: #fffdf9;
  --gold: #c99b4a;
  --gold-dark: #9b7029;
  --blue: #18365e;
  --blue-dark: #112947;
  --line: #e8ddd0;
  --card: #ffffff;
  --shadow: 0 24px 60px rgba(34, 37, 44, 0.12);
  --shadow-soft: 0 18px 40px rgba(34, 37, 44, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.7;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(780px, 100%); }
.center { text-align: center; }
.align-start { align-items: start; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 221, 208, 0.95);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand-title { font-family: "Libre Baskerville", Georgia, serif; font-size: 1.1rem; font-weight: 700; }
.brand-author { font-size: .72rem; color: var(--muted); margin-top: 5px; letter-spacing: .04em; }
.main-nav { display: flex; gap: 24px; align-items: center; }
.main-nav a { text-decoration: none; font-size: .92rem; font-weight: 700; color: #3f4753; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-dark); }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 1.55rem; cursor: pointer; color: var(--ink); }

.hero {
  background:
    radial-gradient(circle at 88% 15%, rgba(201,155,74,.22), transparent 25%),
    radial-gradient(circle at 12% 85%, rgba(24,54,94,.08), transparent 30%),
    linear-gradient(135deg, #fffdf9, #f8efe2);
  padding: 88px 0 72px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 68px;
  align-items: center;
}
.eyebrow, .section-label {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .78rem;
  font-weight: 800;
  color: var(--gold-dark);
}
h1, h2, h3 { font-family: "Libre Baskerville", Georgia, serif; line-height: 1.15; }
h1 { font-size: clamp(3rem, 7vw, 5.6rem); margin: 0; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 22px; }
h3 { font-size: 1.4rem; margin: 0 0 12px; }
.author-line { font-size: 1.25rem; margin: 16px 0 18px; color: var(--blue); font-weight: 700; }
.hero-text { font-size: 1.08rem; color: #4d5664; max-width: 690px; margin-bottom: 24px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.hero-tags span,
.aside-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(184, 168, 145, .55);
  color: var(--ink);
  font-size: .83rem;
  font-weight: 700;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(232,221,208,.95);
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.hero-note strong { font-size: .95rem; }
.hero-note span { color: var(--muted); font-size: .92rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: .92rem;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: white; box-shadow: 0 12px 24px rgba(24,54,94,.18); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: transparent; border-color: #b9aa95; color: var(--ink); }
.btn-secondary:hover { background: rgba(255,255,255,.85); }
.btn-large { min-height: 56px; padding-inline: 28px; }

.hero-visual { display: flex; justify-content: center; }
.book-cover-wrap {
  justify-self: center;
  width: min(360px, 88vw);
}
.book-cover {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 34px 52px rgba(39, 35, 29, .24);
  border: 1px solid rgba(0,0,0,.08);
}
.floating { transform: rotate(-2deg); }

.intro-band {
  background: linear-gradient(90deg, var(--blue), #24518d);
  color: white;
  padding: 26px 0;
}
.intro-band-wrap { display: flex; justify-content: center; }
.intro-band p {
  margin: 0;
  max-width: 900px;
  text-align: center;
  font-size: 1.06rem;
  font-family: "Libre Baskerville", Georgia, serif;
}

.section { padding: 90px 0; }
.section p { color: #505966; font-size: 1.02rem; }
.section-soft {
  background:
    linear-gradient(180deg, #fffaf2 0%, #fbf4e8 100%);
}
.section-intro { margin-bottom: 42px; }
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 54px;
  align-items: start;
}
.highlight-panel {
  background: linear-gradient(180deg, #fffaf3, #fff);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
}
.highlight-panel h3 { margin-bottom: 20px; }
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.feature-list li {
  position: relative;
  padding-left: 24px;
  color: #4f5866;
}
.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--gold-dark);
  font-size: 1.35rem;
  line-height: 1;
}

.two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; }
.quote-card {
  background: white;
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.quote-card p { font-family: "Libre Baskerville", Georgia, serif; font-size: 1.45rem; color: var(--ink); margin-top: 0; }
.quote-card span { color: var(--gold-dark); font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.large-quote { background: linear-gradient(180deg, #fff, #fff8ee); }

.card-grid {
  display: grid;
  gap: 24px;
}
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(201,155,74,.16);
  color: var(--gold-dark);
  font-weight: 800;
  margin-bottom: 18px;
}
.info-card p { margin-bottom: 0; }

.cta-section { padding-top: 20px; }
.purchase-card {
  background: linear-gradient(135deg, #f2e3ca, #fff8ee);
  border: 1px solid #e3d0b1;
  border-radius: 28px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: var(--shadow-soft);
}
.purchase-card h2 { margin-bottom: 14px; }
.purchase-card p { margin-bottom: 0; }
.purchase-copy { max-width: 650px; }
.mini-cover-card {
  flex-shrink: 0;
  width: 170px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 18px 32px rgba(39,35,29,.12);
}
.mini-cover-card img {
  border-radius: 12px;
}

.contact-teaser { padding-top: 68px; }
.contact-box {
  background: linear-gradient(180deg, #fff, #fff9f1);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 42px 34px;
  box-shadow: var(--shadow-soft);
}

.page-hero {
  padding: 82px 0 55px;
  background: linear-gradient(180deg, #fbf4e9, #fffdf9);
}
.page-hero-contact {
  background:
    radial-gradient(circle at 20% 18%, rgba(201,155,74,.12), transparent 22%),
    linear-gradient(180deg, #fbf4e9, #fffdf9);
}
.page-hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.7rem); }
.page-hero p:last-child { color: var(--muted); max-width: 720px; margin: 24px auto 0; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; align-items: start; }
.contact-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-head h2 { font-size: 2rem; margin-bottom: 10px; }
.form-head p { margin-top: 0; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 800; font-size: .88rem; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid #cfc7bc;
  border-radius: 12px;
  background: #fffefb;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,155,74,.13); }
.form-note { margin: 18px 0 0; font-size: .84rem !important; color: var(--muted) !important; }
.contact-aside {
  background: linear-gradient(180deg, #fff9ef, #fff);
  border-radius: 24px;
  padding: 34px;
  border: 1px solid var(--line);
}
.elevated { box-shadow: var(--shadow-soft); }
.aside-book-cover { width: min(240px, 100%); border-radius: 16px; box-shadow: 0 18px 30px rgba(39,35,29,.18); margin: 0 auto 24px; }
.contact-aside h2 { font-size: 2rem; margin-bottom: 14px; }
.aside-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 20px; }
.text-link { color: var(--blue); font-weight: 800; text-decoration: none; display: inline-block; }
.text-link:hover { text-decoration: underline; }
.muted-link { margin-top: 14px; color: var(--muted); }

.site-footer { background: #151b24; color: #dce2ea; padding: 30px 0; }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer p { margin: 0; font-size: .84rem; color: #aeb7c4; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { text-decoration: none; font-size: .84rem; color: white; }
.site-footer a:hover { color: #f0d8a3; }

@media (max-width: 960px) {
  .hero-grid, .about-grid, .two-col, .contact-grid, .three-up { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .hero-visual { order: -1; }
  .purchase-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fffdf9;
    border-bottom: 1px solid var(--line);
    padding: 18px 20px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .hero { padding: 62px 0; }
}

@media (max-width: 580px) {
  .container { width: min(100% - 28px, 1140px); }
  .section { padding: 70px 0; }
  .hero { padding-top: 44px; }
  .hero-note { display: flex; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form, .contact-aside { padding: 24px; }
  .purchase-card { padding: 30px; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
  .intro-band p { font-size: .98rem; }
}

.website-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-status { min-height: 24px; }
.form-status.success { color: #26733b !important; font-weight: 700; }
.form-status.error { color: #a12929 !important; font-weight: 700; }
.contact-form button:disabled { opacity: .65; cursor: wait; transform: none; }
