:root {
  --ink: #243025;
  --muted: #5f6d5b;
  --sage: #9fac88;
  --sage-dark: #5f7147;
  --olive: #6f7f4f;
  --olive-soft: #dfe6d1;
  --deep: #344125;
  --cream: #f5f1e6;
  --paper: #eef2e3;
  --line: #cdd7bd;
  --gold: #b19a6b;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(49, 63, 35, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #edf1df 0%, #f8f5ec 42%, #f1f4e6 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: inherit; }
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 245, 236, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(205, 215, 189, 0.95);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo {
  width: 220px;
  max-width: 42vw;
  height: auto;
  display: block;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}
.nav a { text-decoration: none; transition: color 0.2s ease; }
.nav a:hover { color: var(--deep); }

.hero {
  padding: 88px 0 68px;
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.32), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(177, 154, 107, 0.18), transparent 34%),
    linear-gradient(140deg, #cfd7bb 0%, #e2e8d4 52%, #f7f3ea 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 56px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--deep);
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.08;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--deep);
}
h1 { max-width: 760px; font-size: clamp(40px, 5.8vw, 66px); letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 4.8vw, 56px); letter-spacing: -0.03em; }
h3 { font-size: 28px; }
h4 { font-size: 27px; }
.lead { max-width: 760px; margin: 24px 0 0; color: #344125; font-size: clamp(17px, 1.8vw, 20px); }
.hero-subtitle {
  max-width: 680px;
  margin: 14px 0 0;
  color: #344125;
  font-size: clamp(18px, 2.1vw, 23px);
  font-weight: 600;
  line-height: 1.45;
}

.motto {
  margin: 18px 0 0;
  color: #344125;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
}
.button.primary { background: var(--deep); color: var(--cream); box-shadow: 0 12px 32px rgba(24, 63, 67, 0.22); }
.button.secondary { border-color: var(--sage); color: var(--deep); background: rgba(255,255,255,0.5); }
.hero-card {
  padding: 34px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.logo-card img { width: 100%; max-width: 420px; display: block; margin: 0 auto 22px; border-radius: 18px; }
.hero-card h2 { font-size: 34px; margin-top: 10px; }
.hero-card p { color: var(--muted); margin-bottom: 0; }

.focus-strip { padding: 32px 0; background: var(--deep); color: var(--cream); }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.focus-grid article { padding: 16px 0; }
.focus-grid h3 { color: var(--cream); font-size: 25px; margin-bottom: 10px; }
.focus-grid p { margin: 0; color: rgba(247, 243, 234, 0.78); }

.section { padding: 92px 0; }
.section-heading { max-width: 740px; margin: 0 auto 48px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading p { color: var(--muted); font-size: 18px; }
.books-category { margin-top: 56px; }
.books-category > h3 { margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.single-book-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.book-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 14px 42px rgba(32, 54, 49, 0.08);
}
.book-card.featured { background: linear-gradient(180deg, #ffffff 0%, #f3f6ea 100%); }
.book-cover {
  min-height: 285px;
  border-radius: 18px;
  padding: 24px 18px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 12px 24px rgba(24, 63, 67, 0.16);
  text-decoration: none;
}
.book-cover.image-cover {
  padding: 12px;
  overflow: hidden;
  min-height: 320px;
  align-items: center;
  justify-content: center;
  background: #f8f4ea;
}
.book-cover.image-cover img {
  width: 100%;
  height: 100%;
  max-height: 390px;
  object-fit: contain;
  display: block;
}
.book-cover span { font-family: "Cormorant Garamond", Georgia, serif; font-size: 27px; line-height: 1.02; font-weight: 700; }
.book-cover small { font-size: 13px; line-height: 1.3; opacity: 0.88; }
.placeholder-cover.clinical { background: linear-gradient(145deg, #173f43, #6f9181); }
.book-label { margin: 0 0 10px; color: var(--sage-dark); text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }
.book-info p { color: var(--muted); margin: 12px 0 0; }
.text-link { display: inline-block; margin-top: 18px; color: var(--deep); font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--sage); }

.two-column { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.rich-text p { margin: 0 0 18px; color: var(--muted); font-size: 18px; }
.mission-section { background: var(--olive-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card-panel { padding: 48px; border-radius: 34px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.panel-grid article { padding: 26px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.panel-grid h3 { font-size: 25px; margin-bottom: 12px; }
.panel-grid p { margin: 0; color: var(--muted); }
.author-section { background: linear-gradient(180deg, #eef2e3 0%, #f5f1e6 100%); }
.author-card { padding: 46px; border: 1px solid var(--line); border-radius: 34px; background: rgba(255,255,255,0.72); }
.subtitle { color: var(--sage-dark); margin-top: 12px; font-weight: 700; }
.projects-section { background: linear-gradient(135deg, #eef2e3 0%, #dfe6d1 100%); }
.resources-section { padding-top: 70px; }
.contact-section { background: var(--deep); color: var(--cream); }
.contact-section h2, .contact-section .eyebrow { color: var(--cream); }
.contact-section p { color: rgba(247, 243, 234, 0.78); }
.contact-box { display: grid; grid-template-columns: 1fr 420px; gap: 36px; align-items: center; }
.contact-card { padding: 30px; border-radius: 26px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); }
.contact-card a { color: var(--cream); font-weight: 700; }
.muted { color: rgba(247, 243, 234, 0.6) !important; font-size: 14px; }
.site-footer { padding: 26px 0; background: #28351f; color: rgba(247, 243, 234, 0.72); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; }
.footer-inner p { margin: 0; }

/* Book description pages */
.book-page { background: linear-gradient(180deg, #dfe6d1 0%, #f5f1e6 65%, #eef2e3 100%); }
.page-header { padding: 46px 0; background: rgba(238, 242, 227, 0.95); border-bottom: 1px solid var(--line); }
.back-link { display: inline-block; color: var(--deep); font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--sage); }
.product-section { padding: 74px 0 96px; }
.product-grid { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: 54px; align-items: start; }
.product-cover-frame { padding: 18px; border-radius: 30px; background: rgba(255,255,255,.78); border: 1px solid var(--line); box-shadow: var(--shadow); }
.product-cover-frame img { width: 100%; height: auto; display: block; border-radius: 18px; }
.product-details { padding: 34px; border-radius: 30px; background: rgba(255,255,255,.84); border: 1px solid var(--line); box-shadow: 0 14px 42px rgba(32, 54, 49, 0.08); }
.product-details h1 { font-size: clamp(42px, 5vw, 68px); }
.product-subtitle { margin-top: 14px; color: var(--sage-dark); font-weight: 700; font-size: 18px; }
.description-box { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.description-box h2 { font-size: 36px; margin-bottom: 16px; }
.description-box p, .description-box li { color: var(--muted); font-size: 18px; }
.description-box ul { padding-left: 22px; }
.info-table { margin-top: 28px; border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 160px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.info-row strong { color: var(--deep); }

@media (max-width: 980px) {
  .nav { display: flex; gap: 14px; font-size: 13px; flex-wrap: wrap; justify-content: center; }
  .desktop-nav { display: none; }
  .hero-grid, .two-column, .contact-box, .product-grid { grid-template-columns: 1fr; }
  .book-grid, .panel-grid, .focus-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .product-cover-frame { max-width: 360px; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 94px; flex-direction: column; justify-content: center; gap: 8px; padding: 10px 0; }
  .nav { width: 100%; justify-content: center; gap: 18px; }
  h1 { font-size: clamp(38px, 12vw, 48px); line-height: 1.03; }
  .hero { padding: 50px 0 54px; }
  .eyebrow { font-size: 14px; margin-bottom: 14px; }
  .motto { font-size: 25px; }
  .brand-logo { width: 165px; max-width: 54vw; }
  .hero-card, .card-panel, .author-card, .product-details { padding: 26px; border-radius: 24px; }
  .book-card { grid-template-columns: 1fr; }
  .book-cover { min-height: auto; }
  .book-cover.image-cover img { max-height: 460px; }
  .section { padding: 66px 0; }
  .footer-inner { flex-direction: column; }
  .info-row { grid-template-columns: 1fr; gap: 2px; }
}

.author-entry {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.68);
}
.author-entry h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 30px;
  color: var(--deep);
}
.author-entry .subtitle { margin-bottom: 14px; }
