:root {
  --paper: #FBF7EE;
  --paper-warm: #F6EDDA;
  --paper-glow: #FFFCF4;
  --brown: #241a10;
  --gold: #C8A24C;
  --gold-deep: #A2761F;
  --gold-soft: #E8D3A0;
  --ink: #3a3020;
  --ink-soft: #6d6150;
  --ink-faint: rgba(58, 48, 32, 0.6);
  --line: rgba(162, 118, 31, 0.22);
  --radius: 5px;
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'EB Garamond', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.3rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
.container { width: min(1080px, 92vw); margin: 0 auto; }
.narrow { width: min(720px, 92vw); margin: 0 auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; color: var(--ink); }
a { color: var(--gold-deep); }

.kicker {
  font-family: var(--display);
  font-size: 0.92rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 1rem;
}
.gold { color: var(--gold-deep); }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--display); font-size: 1.18rem; font-weight: 600;
  letter-spacing: 0.03em; padding: 0.85rem 2.3rem; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; border: 1px solid var(--gold);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--gold); color: #fff; box-shadow: 0 8px 24px -8px rgba(200, 162, 76, 0.65); }
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(162, 118, 31, 0.6); }
.btn-ghost { background: transparent; color: var(--gold-deep); }
.btn-ghost:hover { background: rgba(200, 162, 76, 0.1); transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--brown);
  border-bottom: 1px solid rgba(200, 162, 76, 0.32);
  box-shadow: 0 6px 20px -12px rgba(0, 0, 0, 0.5);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-logo { height: 56px; width: auto; display: block; }
.brand-word { font-family: var(--display); font-size: 1.55rem; font-weight: 700; letter-spacing: 0.05em; color: #FBF7EE; }
.header-cta { font-size: 1.05rem; }

/* ── Hero with cathedral light ─────────────────────────── */
.hero { position: relative; padding: 4rem 0 4rem; overflow: hidden; border-bottom: 1px solid var(--line); }
/* the luminous field: brightest at the top-left corner (the light source) */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 6% -10%, var(--paper-glow) 0%, rgba(255, 249, 233, 0.75) 26%, rgba(246, 237, 218, 0) 62%),
    linear-gradient(160deg, #FFFDF7 0%, var(--paper) 55%, var(--paper-warm) 100%);
}
/* light shafts pouring from the top-left corner across to the book */
.light-rays { position: absolute; inset: 0; z-index: 1; pointer-events: none; width: 100%; height: 100%; }
.light-rays svg { width: 100%; height: 100%; display: block; }
.hero-glow-source { position: absolute; top: -18%; left: -8%; width: 46%; height: 70%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 30% 25%, rgba(255, 250, 227, 0.9) 0%, rgba(255, 243, 208, 0.4) 40%, rgba(255, 243, 208, 0) 72%);
  filter: blur(6px);
}
.hero-grid { position: relative; z-index: 3; display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 4rem; align-items: center; }
.hero h1 { font-size: clamp(3.1rem, 6.2vw, 5rem); font-weight: 700; margin-bottom: 1rem; }
.hero .subtitle { font-family: var(--display); font-size: 1.6rem; font-style: italic; color: var(--gold-deep); margin-bottom: 1.5rem; }
.hero-hook { color: var(--ink-soft); font-size: 1.28rem; margin-bottom: 1.4rem; }
.hope-line { font-family: var(--display); font-style: italic; font-size: 1.35rem; color: var(--ink); margin-bottom: 2rem; padding-left: 1.1rem; border-left: 2px solid var(--gold-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-tag { font-family: var(--display); letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.8rem; color: var(--gold-deep); margin-top: 1.8rem; }

/* the book, standing in the light */
.hero-cover { position: relative; display: flex; justify-content: center; }
.hero-cover::before {
  content: ''; position: absolute; inset: -22% -18%; z-index: 0;
  background: radial-gradient(circle at 42% 38%, rgba(255, 248, 220, 0.95) 0%, rgba(255, 240, 200, 0.5) 38%, rgba(255, 240, 200, 0) 70%);
}
.hero-cover img {
  position: relative; z-index: 1; width: 100%; max-width: 300px; height: auto; border-radius: 3px;
  box-shadow: 0 30px 55px -24px rgba(120, 90, 30, 0.55), 0 0 0 1px rgba(200, 162, 76, 0.3), 0 0 55px -12px rgba(255, 236, 180, 0.85);
  transform: perspective(1600px) rotateY(-4deg);
  transition: transform 0.4s ease;
}
.hero-cover img:hover { transform: perspective(1600px) rotateY(0deg) translateY(-4px); }

/* Section rhythm */
section { padding: 4.2rem 0; }
.section-line { border-top: 1px solid var(--line); }
.center { text-align: center; }
.eyebrow { font-family: var(--display); letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.82rem; color: var(--gold-deep); margin-bottom: 0.9rem; }
h2.section-title { font-size: clamp(2.3rem, 4vw, 3.2rem); margin-bottom: 1.2rem; }
.lead { color: var(--ink-soft); font-size: 1.32rem; }

/* Hook band — soft warm light */
.hook-band { background: linear-gradient(180deg, var(--paper-warm), var(--paper)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.hook-band .big { font-family: var(--display); font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 600; line-height: 1.16; color: var(--ink); max-width: 20ch; margin: 0 auto 1.4rem; }
.hook-band .big em { color: var(--gold-deep); font-style: italic; }

/* Journey (6 parts) */
.journey-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 2.8rem; }
.part-card { background: var(--paper-glow); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 2rem; box-shadow: 0 14px 34px -22px rgba(120, 90, 30, 0.35); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.part-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(120, 90, 30, 0.4); }
.part-num { font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.2em; color: var(--gold-deep); margin-bottom: 0.6rem; }
.part-card h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.part-card p { color: var(--ink-soft); font-size: 1.16rem; line-height: 1.55; }

/* Pull quote — a shaft of gold */
.pull { text-align: center; background: linear-gradient(180deg, var(--paper), var(--paper-warm)); }
.pull blockquote { font-family: var(--display); font-style: italic; font-size: clamp(2.1rem, 4.8vw, 3.5rem); font-weight: 500; line-height: 1.22; color: var(--gold-deep); max-width: 18ch; margin: 0 auto; }
.pull .mark { color: var(--gold-soft); font-size: 3.4rem; display: block; margin-bottom: 0.2rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 3rem; align-items: start; }
.about-photo img { width: 100%; height: auto; display: block; border-radius: 4px; border: 1px solid var(--line); box-shadow: 0 22px 44px -20px rgba(120, 90, 30, 0.4); }
.about-copy p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.about-copy .name { font-family: var(--display); font-size: 2rem; color: var(--ink); margin-bottom: 0.2rem; }

/* Workbook / capture */
.workbook { background: linear-gradient(180deg, var(--paper-warm), var(--paper-glow)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.capture { display: flex; gap: 0.8rem; max-width: 520px; margin: 2rem auto 0.9rem; }
.capture input { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.85rem 1.1rem; color: var(--ink); font-family: var(--body); font-size: 1.18rem; outline: none; }
.capture input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 162, 76, 0.18); }
.capture input::placeholder { color: var(--ink-faint); }
.fineprint { color: var(--ink-faint); font-size: 1rem; font-style: italic; }

/* Final CTA */
.final { text-align: center; background: radial-gradient(90% 120% at 50% -20%, var(--paper-glow), var(--paper)); }
.formats { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.format-pill { font-family: var(--display); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.84rem; color: var(--gold-deep); border: 1px solid var(--line); border-radius: 100px; padding: 0.5rem 1.5rem; }

/* Footer */
.site-footer { border-top: 1px solid rgba(200, 162, 76, 0.32); padding: 4.5rem 0; text-align: center; color: rgba(251, 247, 238, 0.7); background: var(--brown); }
.footer-brand { display: inline-flex; flex-direction: column; align-items: center; gap: 0.5rem; text-decoration: none; margin-bottom: 0.7rem; }
.footer-logo { height: 122px; width: auto; display: block; }
.footer-word { font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.05em; color: #FBF7EE; }
.footer-meta { font-size: 1rem; margin-top: 0.6rem; line-height: 1.9; color: rgba(251, 247, 238, 0.72); }
.footer-meta a { color: rgba(251, 247, 238, 0.92); text-decoration: none; }
.footer-meta a:hover { color: var(--gold); }

@media (max-width: 820px) {
  body { font-size: 1.22rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-cover { max-width: 300px; margin: 0 auto; order: -1; }
  .hero-cover img { transform: none; }
  .journey-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .about-photo { max-width: 220px; }
  .capture { flex-direction: column; }
  .header-cta { display: none; }
}
