@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@300;400;500;600&display=swap');

:root {
  --ink: #10233F;
  --ink-soft: #2D3F52;
  --muted: #6B7B8D;
  --accent: #0F7A5A;
  --accent-hover: #1B8F6A;
  --paper: #F3F2EE;
  --bg: #F3F2EE;
  --card-bg: #FAFAF8;
  --rule: rgba(16,35,63,0.07);
  --rule-strong: rgba(16,35,63,0.13);
  --shell: 960px;
  --shadow: 0 6px 24px rgba(16,35,63,0.05);
  --body: 'Source Serif 4', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:hover { color: var(--accent); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: .55rem .9rem;
  background: var(--ink);
  color: white;
}
.skip:focus { left: 0; }

.site-shell {
  width: min(var(--shell), calc(100% - 32px));
  margin: 0 auto;
}

/* ── HEADER ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--rule-strong);
  background: rgba(243,242,238,0.92);
  backdrop-filter: blur(14px);
}

.topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  font-family: Georgia, serif;
  font-weight: normal;
  font-size: 0.95rem;
}
.brand:hover { color: var(--ink); }

.brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.main-nav a,
.footer-nav a {
  text-decoration: none;
  color: var(--muted);
  font-family: var(--body);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.main-nav a:hover,
.footer-nav a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: .4rem .9rem;
  border-radius: 3px;
  font-weight: 500 !important;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

.menu-button {
  display: none;
  border: 1px solid var(--rule-strong);
  background: var(--card-bg);
  color: var(--ink);
  padding: .4rem .8rem;
  border-radius: 3px;
  font-family: var(--body);
  font-size: .82rem;
  cursor: pointer;
}

/* ── HERO ── */

.hero {
  min-height: calc(100vh - 130px);
  padding: 4.5rem 0 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-family: var(--body);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
}

.eyebrow span {
  width: 22px;
  height: 1px;
  background: var(--muted);
  opacity: 0.4;
}

h1 {
  max-width: 720px;
  margin: 0 0 1.1rem;
  color: var(--ink);
  font-family: Georgia, serif;
  font-weight: normal;
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-lede {
  max-width: 540px;
  margin: 0 0 1.6rem;
  font-family: var(--body);
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: 2rem;
}

.button {
  display: inline-block;
  padding: .65rem 1.3rem;
  border-radius: 3px;
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--body);
  font-size: .88rem;
  font-weight: 500;
  transition: all 0.2s;
}
.button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.button.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.trust-row {
  display: flex;
  gap: 2.5rem;
  color: var(--muted);
  font-family: var(--body);
  font-size: .82rem;
}

.trust-row strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, serif;
  font-weight: normal;
  font-size: 1.4rem;
  line-height: 1.15;
}

.trust-note {
  margin-top: .45rem;
  font-size: .75rem;
  color: var(--muted);
}

/* ── SECTION PREVIEW CARD ── */

.section-preview {
  background: var(--card-bg);
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  padding: 1.3rem 1.4rem 0.9rem;
  box-shadow: var(--shadow);
}

.card-kicker {
  color: var(--muted);
  font-family: var(--body);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
}

.card-heading {
  margin: .4rem 0 1rem;
  color: var(--ink);
  font-family: Georgia, serif;
  font-weight: normal;
  font-size: 1.1rem;
  line-height: 1.3;
}

.section-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .65rem 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  transition: padding-left 0.15s;
}
.section-link:hover { padding-left: 0.3rem; }

.section-link-name {
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 0.92rem;
  color: var(--ink);
  transition: color 0.2s;
}
.section-link:hover .section-link-name { color: var(--accent); }

.section-link-desc {
  max-width: 55%;
  text-align: right;
  font-size: .76rem;
  line-height: 1.4;
  color: var(--muted);
}

/* ── BOOK SECTION ── */

.book-section { padding: 0 0 3rem; }

.book-card {
  background: var(--card-bg);
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  padding: 1.6rem 1.8rem;
  display: flex;
  gap: 1.6rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.book-cover {
  width: 90px;
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(16,35,63,0.08);
}

.book-info h3 {
  font-family: Georgia, serif;
  font-weight: normal;
  font-size: 1rem;
  color: var(--ink);
  margin: 0 0 0.2rem;
}

.book-author {
  font-size: .8rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.book-desc {
  font-size: .85rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 0.7rem;
}

.book-link {
  font-size: .82rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.book-link:hover { text-decoration: underline; }

/* ── CLOSING NOTE ── */

.closing-note { padding: 0 0 3rem; }

.closing-note-inner {
  max-width: 680px;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule-strong);
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.7;
}
.closing-note strong { color: var(--ink); }
.closing-note a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.closing-note a:hover { text-decoration: underline; }

/* ── FOOTER ── */

.site-footer {
  border-top: 1px solid var(--rule-strong);
  padding: 1.6rem 0;
  color: var(--muted);
  font-size: .78rem;
  background: rgba(243,242,238,0.9);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.footer-links { margin-top: 0.35rem; }
.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: .76rem;
}
.footer-links a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    padding: .85rem 0;
  }
  .menu-button { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
    padding: .8rem 0 .2rem;
  }
  .main-nav.open { display: flex; }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.8rem 0 2.2rem;
  }
  .trust-row { gap: 1.5rem; }
  .section-link { display: block; }
  .section-link-desc {
    display: block;
    max-width: none;
    text-align: left;
    margin-top: .15rem;
  }
  .book-card {
    flex-direction: column;
    text-align: center;
    padding: 1.4rem;
  }
  .book-cover { width: 80px; }
  .closing-note { padding-bottom: 2.2rem; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .book-section { display: none; }
  body { background: #fff; }
}
