:root {
  --bg: #f4efe6;
  --panel: rgba(255, 255, 255, 0.58);
  --text: #1f1c17;
  --muted: #6c6357;
  --line: rgba(87, 73, 54, 0.16);
  --accent: #1d1a15;
  --accent-soft: #322b22;
  --button-text: #f8f4ec;
  --shadow: 0 20px 44px rgba(20, 16, 11, 0.09);
  --shadow-soft: 0 10px 24px rgba(20, 16, 11, 0.06);
  --radius: 22px;
  --radius-small: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 86% 18%, rgba(214, 196, 167, 0.22), rgba(214, 196, 167, 0) 26%),
    linear-gradient(180deg, #f7f3eb 0%, #f1eadf 52%, #eee5d9 100%);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
}

.background-glow {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.34;
  z-index: 0;
}

.background-glow-one {
  width: 420px;
  height: 420px;
  top: 120px;
  left: -120px;
  background: rgba(214, 186, 134, 0.18);
}

.background-glow-two {
  width: 360px;
  height: 360px;
  top: 520px;
  right: -110px;
  background: rgba(121, 102, 80, 0.12);
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.narrow {
  max-width: 820px;
}

.site-header {
  padding: 54px 0 64px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(255,255,255,0.24), rgba(255,255,255,0.04));
  backdrop-filter: blur(4px);
}

.top-mark {
  margin-bottom: 36px;
}

.top-mark-name {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: #5b5146;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.7fr);
  gap: 44px;
  align-items: end;
}

.hero-kicker,
.section-label,
.hero-panel-label,
.book-meta,
.footer-name {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-copy {
  max-width: 900px;
}

h1,
h2,
h3 {
  font-weight: normal;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(3.6rem, 7vw, 6rem);
  letter-spacing: 0.01em;
  max-width: none;
}

.hero-copy h1 {
  white-space: nowrap;
}

.hero-subtitle {
  margin-top: 18px;
  max-width: 760px;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.35;
  color: #342d24;
}

.lead {
  margin-top: 22px;
  max-width: 760px;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.hero-list {
  margin: 0;
  padding-left: 20px;
}

.hero-list li {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.button {
  display: inline-block;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 0.98rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-solid {
  background: var(--accent);
  color: var(--button-text);
  box-shadow: var(--shadow-soft);
}

.button-solid:hover {
  background: var(--accent-soft);
}

.button-ghost {
  border: 1px solid rgba(29, 26, 21, 0.24);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.18);
}

.button-ghost:hover {
  border-color: rgba(29, 26, 21, 0.44);
  background: rgba(255, 255, 255, 0.32);
}

.section {
  padding: 78px 0;
}

.section-books {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.12)),
    rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.section-heading {
  margin-bottom: 30px;
}

.section p {
  margin: 0 0 18px;
  font-size: 1.08rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  margin-bottom: 6px;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.book-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  backdrop-filter: blur(8px);
}

.cover-wrap {
  padding: 22px 22px 0;
}

.cover-wrap img {
  width: 100%;
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);
}

.book-copy {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.book-hook {
  font-size: 1rem;
  line-height: 1.45;
  color: #342d24;
}

.book-copy p {
  margin: 0;
  color: #3b342a;
  font-size: 0.98rem;
}

.book-details {
  margin-top: -2px;
}

.book-details summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 0.95rem;
  list-style: none;
}

.book-details summary::-webkit-details-marker {
  display: none;
}

.book-details summary::after {
  content: " +";
}

.book-details[open] summary::after {
  content: " –";
}

.book-details p {
  margin-top: 12px;
}

.book-copy .button {
  margin-top: auto;
  align-self: flex-start;
}

.section-closing {
  padding-top: 86px;
  padding-bottom: 92px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 38px;
  background: rgba(255,255,255,0.12);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-name,
.footer-note {
  margin: 0;
  color: var(--muted);
}

.footer-note {
  font-size: 0.95rem;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-panel {
    max-width: 420px;
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .book-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: start;
  }

  .cover-wrap {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  .site-header {
    padding-top: 40px;
    padding-bottom: 46px;
  }

  .top-mark-name {
    font-size: 0.9rem;
    letter-spacing: 0.20em;
  }

  h1 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .hero-copy h1 {
    white-space: normal;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section {
    padding: 56px 0;
  }

  .book-card {
    display: block;
  }

  .cover-wrap {
    padding: 18px 18px 0;
  }

  .book-copy {
    padding: 18px;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .background-glow-one,
  .background-glow-two {
    opacity: 0.22;
  }
}


.site-nav {
  margin-bottom: 24px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a,
.text-link {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--accent-soft);
}

.hero-note,
.page-intro,
.breadcrumbs {
  color: var(--muted);
}

.page-intro {
  max-width: 760px;
  font-size: 1.05rem;
}

.book-card h3 a,
.cover-link,
.book-title-link {
  text-decoration: none;
}

.book-card h3 a:hover,
.book-title-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.button-secondary {
  border: 1px solid rgba(29, 26, 21, 0.18);
  background: rgba(255,255,255,0.44);
}

.button-secondary:hover {
  border-color: rgba(29, 26, 21, 0.38);
  background: rgba(255,255,255,0.62);
}

.book-page-grid {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.book-page-cover img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.book-page-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.book-page-panel p,
.book-page-copy p,
.book-page-copy li,
.reading-order p {
  font-size: 1.02rem;
}

.book-page-copy ul {
  padding-left: 20px;
}

.breadcrumbs {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.inline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.inline-list li {
  color: var(--muted);
}

.small-heading {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.section-tight {
  padding-top: 54px;
}

@media (max-width: 900px) {
  .book-page-grid {
    grid-template-columns: 1fr;
  }

  .book-page-cover {
    max-width: 340px;
  }
}
