:root {
  --navy-950: #061326;
  --navy-900: #081b33;
  --navy-800: #0d2849;
  --blue: #174f82;
  --blue-bright: #3d92cf;
  --gold: #c79847;
  --gold-light: #e3bf75;
  --parchment: #f7f2e8;
  --paper: #fffdf8;
  --ink: #27231d;
  --ink-soft: #5c5448;
  --rule: #ddd0b9;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;
  --max-width: 1120px;
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.68;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.section-shell {
  width: min(var(--max-width), calc(100% - 3rem));
  margin-inline: auto;
}

.section-kicker,
.eyebrow {
  display: block;
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section-kicker--light { color: var(--gold-light); }

.gold-rule {
  width: 140px;
  height: 14px;
  margin: 1.2rem auto 1.7rem;
  position: relative;
}

.gold-rule::before,
.gold-rule::after {
  content: '';
  position: absolute;
  top: 6px;
  width: 58px;
  height: 1px;
  background: var(--gold);
}

.gold-rule::before { left: 0; }
.gold-rule::after { right: 0; }

.gold-rule span {
  position: absolute;
  left: 50%;
  top: 3px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: translateX(-50%) rotate(45deg);
}

.heart-mark {
  width: 52px;
  margin: 0 0 1.4rem;
  color: var(--gold-light);
}

.heart-mark svg {
  display: block;
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.heart-mark__ray { stroke-width: 1.7; }

.heart-mark--small {
  width: 40px;
  margin: 0 auto 1.5rem;
}

/* HERO */
.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 47%, rgba(45, 133, 194, 0.32), transparent 25%),
    radial-gradient(circle at 50% 0%, rgba(49, 105, 157, 0.25), transparent 38%),
    linear-gradient(145deg, var(--navy-950) 10%, var(--navy-900) 55%, #06172c 100%);
  color: #f9f5eb;
  border-bottom: 1px solid rgba(227, 191, 117, 0.5);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(199, 152, 71, 0.4);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image: radial-gradient(circle, #fff 0.7px, transparent 0.9px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  width: 640px;
  height: 640px;
  left: 50%;
  top: 4%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 164, 226, 0.18), rgba(74, 164, 226, 0) 68%);
  filter: blur(10px);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 4rem));
  min-height: 760px;
  margin: 0 auto;
  padding: 7rem 0 5.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero__content {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.hero .eyebrow {
  max-width: 500px;
  margin: 0 auto 0.9rem;
  color: var(--gold-light);
}

.hero h1 {
  color: #fffaf0;
  font-size: clamp(4rem, 8vw, 6.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.32);
}

.hero__subtitle {
  max-width: 530px;
  margin: 1rem auto 0;
  color: #cfe8fb;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
}

.hero__lead {
  margin: 2rem 0 0.4rem;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 600;
}

.hero__copy {
  max-width: 520px;
  margin: 0 auto;
  color: rgba(238, 246, 252, 0.82);
  font-size: 0.98rem;
}

.hero__cta {
  display: inline-block;
  margin-top: 2.3rem;
  padding: 1.15rem 2.6rem;
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-950);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 16px 34px -10px rgba(227, 191, 117, 0.6);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__cta:hover {
  background: linear-gradient(135deg, #fff3d9, var(--gold-light));
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -8px rgba(227, 191, 117, 0.75);
}

.hero__book {
  margin: 3.25rem auto 0;
  width: min(280px, 62%);
}

.hero__book img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.55));
}

/* INTRO */
.intro {
  padding: 6.5rem 0 5.5rem;
  text-align: center;
}

.intro h2,
.voices h2,
.formats__heading h2 {
  color: var(--navy-900);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
}

.intro__body {
  max-width: 790px;
  margin: 1rem auto 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.intro__body--lead {
  margin-top: 0;
  color: #3e392f;
  font-size: 1.08rem;
}

.fact-strip {
  max-width: 900px;
  margin: 3.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.fact-strip div {
  min-height: 112px;
  padding: 1.3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--rule);
}

.fact-strip div:last-child { border-right: 0; }

.fact-strip strong {
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
}

.fact-strip span {
  margin-top: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.73rem;
  letter-spacing: 0.04em;
}

/* FIVE PARTS */
.parts {
  background:
    radial-gradient(circle at 50% 15%, rgba(34, 104, 159, 0.24), transparent 30%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #f8f3e8;
  padding: 6rem 0 6.5rem;
}

.parts .section-shell { text-align: center; }

.parts h2 {
  max-width: 760px;
  margin: 0 auto;
  color: #fff9ee;
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  font-weight: 600;
}

.parts__intro {
  max-width: 740px;
  margin: 1.4rem auto 0;
  color: rgba(231, 239, 247, 0.8);
}

.parts-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
}

.part-card {
  grid-column: span 2;
  min-height: 240px;
  padding: 1.8rem 1.6rem;
  text-align: left;
  border: 1px solid rgba(199, 152, 71, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
}

.part-card:nth-child(4) { grid-column: 2 / span 2; }
.part-card:nth-child(5) { grid-column: 4 / span 2; }

.part-card__number {
  display: block;
  margin-bottom: 1rem;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
}

.part-card h3 {
  color: #fdf6e8;
  font-size: 1.5rem;
  line-height: 1.1;
}

.part-card p {
  margin: 0.85rem 0 0;
  color: rgba(229, 238, 247, 0.73);
  font-size: 0.87rem;
}

/* TWO VOICES */
.voices {
  padding: 6.5rem 0 6rem;
  text-align: center;
}

.voices-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.voice-card {
  position: relative;
  padding: 2.4rem 2.5rem 2.5rem;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 34px -28px rgba(4, 20, 38, 0.55);
}

.voice-card__label {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.voice-card h3 {
  margin-top: 0.35rem;
  color: var(--navy-800);
  font-size: 2rem;
  font-weight: 600;
}

.voice-card p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.madsen-quote {
  max-width: 820px;
  margin: 4.5rem auto 0;
  padding: 0;
  color: var(--navy-800);
}

.madsen-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.25;
}

.madsen-quote cite {
  display: block;
  margin-top: 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.encounter-story {
  max-width: 790px;
  margin: 3rem auto 0;
  padding-top: 2.4rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  text-align: left;
}

.encounter-story p { margin: 0; }

.encounter-story__closing {
  margin-top: 1rem !important;
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 600;
}

/* READER CALLOUT */
.reader-callout {
  padding: 5.5rem 1.5rem;
  background: linear-gradient(135deg, #123a61, #0a213d 70%);
  color: #f8f3e8;
  text-align: center;
}

.reader-callout__inner {
  max-width: 900px;
  margin: 0 auto;
}

.reader-callout h2 {
  color: #fff8eb;
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  font-weight: 600;
}

.reader-callout p {
  max-width: 740px;
  margin: 1.4rem auto 0;
  color: rgba(232, 241, 248, 0.82);
}

/* BUYING / FORMATS */
.formats {
  width: min(var(--max-width), calc(100% - 3rem));
  margin: 0 auto;
  padding: 6.5rem 0 7rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.formats__heading {
  grid-column: 1 / -1;
  margin-bottom: 1rem;
  text-align: center;
}

.formats__heading p {
  max-width: 650px;
  margin: 1rem auto 0;
  color: var(--ink-soft);
}

.format-card {
  padding: 2.2rem 2.35rem 2.4rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 35px -30px rgba(6, 19, 38, 0.55);
}

.format-card--wide { grid-column: 1 / -1; }

.format-card > h2 {
  display: inline-block;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--gold);
  color: var(--navy-800);
  font-size: 1.8rem;
  font-weight: 600;
}

.format-card__desc {
  margin: 0.9rem 0 1.5rem;
  color: var(--ink-soft);
}

.buy-group { margin-bottom: 1.5rem; }
.buy-group:last-child { margin-bottom: 0; }

.buy-group__label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  margin: 0 0.45rem 0.55rem 0;
  padding: 0.82rem 1.45rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--navy-800);
  color: #fffaf0;
}

.btn--primary:hover {
  background: var(--navy-950);
  box-shadow: 0 8px 18px -10px rgba(6, 19, 38, 0.7);
}

.btn--secondary {
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--navy-800);
}

.btn--secondary:hover {
  background: var(--gold);
  color: white;
}

.ebook-grid {
  display: flex;
  flex-wrap: wrap;
}

.isbn-note {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  font-size: 0.79rem;
}

/* CLOSING QUOTE */
.quote-banner {
  padding: 6rem 1.5rem 5.5rem;
  border-top: 1px solid rgba(199, 152, 71, 0.42);
  background:
    radial-gradient(circle at 50% 25%, rgba(41, 114, 171, 0.25), transparent 32%),
    linear-gradient(180deg, var(--navy-950), #040e1d);
  color: #f7f1e6;
  text-align: center;
}

.quote-banner blockquote {
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.5rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.38;
}

.quote-banner cite {
  display: block;
  margin-top: 1.3rem;
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer {
  padding: 2.5rem 1.5rem;
  background: #030b16;
  color: rgba(236, 242, 247, 0.7);
  text-align: center;
  font-size: 0.8rem;
}

.site-footer p { margin: 0.2rem 0; }
.site-footer strong { color: #f4ead7; }
.site-footer a { color: var(--gold-light); }

@media (max-width: 900px) {
  .hero__inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding: 6rem 1rem 5rem;
    text-align: center;
  }

  .hero__content { margin: 0 auto; }
  .hero .eyebrow { margin-inline: auto; }
  .heart-mark { margin-inline: auto; }
  .book-mockup { width: min(78vw, 460px); }

  .parts-grid { grid-template-columns: repeat(2, 1fr); }
  .part-card,
  .part-card:nth-child(4),
  .part-card:nth-child(5) { grid-column: auto; }
  .part-card:last-child { grid-column: 1 / -1; min-height: auto; }

  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .fact-strip div:nth-child(2) { border-right: 0; }
  .fact-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}

@media (max-width: 720px) {
  .section-shell,
  .formats { width: min(100% - 2rem, var(--max-width)); }

  .hero::before { inset: 10px; }
  .hero__inner { width: calc(100% - 1.5rem); padding-top: 5rem; }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 5.3rem); }

  .intro { padding: 5rem 0 4.5rem; }
  .parts { padding: 5rem 0; }
  .parts-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .part-card,
  .part-card:last-child { grid-column: auto; min-height: auto; }

  .voices { padding: 5rem 0; }
  .voices-grid { grid-template-columns: 1fr; }
  .voice-card { padding: 2rem 1.6rem; }

  .formats { grid-template-columns: 1fr; padding: 5rem 0; }
  .formats__heading,
  .format-card--wide { grid-column: auto; }
  .format-card { padding: 1.9rem 1.5rem 2rem; }

  .reader-callout { padding: 4.5rem 1.25rem; }
  .quote-banner { padding: 5rem 1.25rem 4.5rem; }
}

@media (max-width: 470px) {
  .fact-strip { grid-template-columns: 1fr; }
  .fact-strip div,
  .fact-strip div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .fact-strip div:last-child { border-bottom: 0; }
  .ebook-grid .btn { width: 100%; text-align: center; }
}
