:root {
  --ink: #1b1830;
  --indigo: #24203f;
  --plum: #4a3d6e;
  --gold: #f0a94b;
  --gold-deep: #d98a26;
  --cream: #fbf6ee;
  --sand: #f3eadc;
  --text: #2b2838;
  --muted: #6b6679;
  --line: #e6dccb;
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
a { color: var(--plum); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; color: var(--ink); margin: 0 0 .5em; font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 92vw); margin: 0 auto; }
.narrow { width: min(760px, 92vw); margin: 0 auto; }
.eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); margin-bottom: .8em; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }

/* Header */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  padding: 18px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--serif); font-size: 1.2rem; color: #fff; text-decoration: none; font-weight: 600; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: rgba(255,255,255,.9); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: #fff; text-decoration: underline; }
.nav .btn { padding: 9px 18px; font-size: .9rem; }
.site-header.solid { position: static; background: var(--indigo); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 24px rgba(240,169,75,.35); }
.btn-gold:hover { background: #f5b862; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-dark { background: var(--indigo); color: #fff; }
.btn-dark:hover { background: var(--plum); }
.btn-outline { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-outline:hover { background: var(--indigo); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--indigo) center 35% / cover no-repeat;
  padding: 140px 0 90px;
  min-height: 92vh; display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,17,40,.88) 0%, rgba(20,17,40,.62) 48%, rgba(20,17,40,.15) 100%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: .15em; }
.hero .subtitle { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--gold); margin-bottom: .9em; }
.hero .lead { font-size: 1.15rem; max-width: 34em; color: rgba(255,255,255,.92); }
.hero .eyebrow { color: var(--gold); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.stars { color: var(--gold); letter-spacing: 2px; }
.rating-line { font-size: .95rem; color: rgba(255,255,255,.85); }
.hero-cover img { width: 100%; max-width: 340px; margin-left: auto; border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); transform: rotate(2deg); }

/* Format strip */
.formats { background: #fff; border-bottom: 1px solid var(--line); }
.formats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.format { padding: 28px 24px; text-align: center; border-right: 1px solid var(--line); }
.format:last-child { border-right: 0; }
.format h3 { margin-bottom: .2em; }
.format p { color: var(--muted); font-size: .95rem; margin-bottom: .8em; }
.format a { font-weight: 600; text-decoration: none; color: var(--gold-deep); }
.format a:hover { text-decoration: underline; }

/* Sections */
section { padding: 96px 0; }
.alt { background: var(--sand); }
.dark { background: var(--indigo); color: rgba(255,255,255,.9); }
.dark h2, .dark h3 { color: #fff; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checklist li { padding-left: 34px; position: relative; margin-bottom: .75em; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: .8rem; display: grid; place-items: center; font-weight: 700; margin-top: 3px; }
.question-list { list-style: none; padding: 0; margin: 0; }
.question-list li { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); }
.question-list li:last-child { border-bottom: 0; }
.rounded-img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(27,24,48,.18); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.card .num { font-family: var(--serif); font-size: 2rem; color: var(--gold); line-height: 1; margin-bottom: .4em; }

/* Reviews */
.reviews { columns: 3 300px; column-gap: 24px; margin-top: 40px; }
.review { break-inside: avoid; background: #fff; border-radius: var(--radius); padding: 26px; margin: 0 0 24px; border: 1px solid var(--line); }
.review .stars { font-size: .95rem; }
.review h3 { font-size: 1.1rem; margin: .4em 0; }
.review blockquote { margin: 0 0 1em; color: var(--text); }
.review cite { font-style: normal; font-size: .88rem; color: var(--muted); }
.review cite strong { color: var(--ink); }

/* Signup */
.signup { background: linear-gradient(135deg, var(--indigo), var(--plum)); color: #fff; border-radius: 22px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.signup h2 { color: #fff; }
.signup p { color: rgba(255,255,255,.88); }

/* Forms */
.wform { display: grid; gap: 14px; }
.wform .field { display: grid; gap: 6px; }
.wform label { font-weight: 600; font-size: .92rem; }
.wform input, .wform textarea, .wform select {
  font: inherit; font-size: 1rem; padding: 13px 16px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; color: var(--text); width: 100%;
}
.wform textarea { min-height: 160px; resize: vertical; }
.wform input:focus, .wform textarea:focus, .wform select:focus { outline: 3px solid rgba(240,169,75,.45); border-color: var(--gold); }
.wform [aria-invalid="true"] { border-color: #c0392b; }
.wform .err { color: #c0392b; font-size: .88rem; margin: 0; }
.on-dark .err { color: #ffb4a8; }
.wform .form-error { background: #fdecea; color: #8a1f13; padding: 10px 14px; border-radius: 8px; }
.wform .actions { margin-top: 6px; }
.wform .note { font-size: .82rem; opacity: .8; margin: 0; }
.thanks { padding: 22px; border-radius: 12px; background: rgba(240,169,75,.15); border: 1px solid rgba(240,169,75,.5); }
.on-dark label { color: #fff; }
.on-dark input, .on-dark select, .on-dark textarea { border-color: transparent; }

/* Author */
.author { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold-deep); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .8em 0 0; }

/* Final CTA */
.final { position: relative; color: #fff; text-align: center; background: var(--indigo) center / cover no-repeat; padding: 120px 0; }
.final::before { content: ""; position: absolute; inset: 0; background: rgba(20,17,40,.72); }
.final .wrap { position: relative; }
.final h2 { color: #fff; }
.final .hero-ctas { justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 48px 0; font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.help-note { font-size: .88rem; color: var(--muted); }

/* Contact page */
.page-hero { background: var(--indigo); color: #fff; padding: 80px 0 60px; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero p { color: rgba(255,255,255,.85); max-width: 36em; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 48px; }
.aside-card { background: var(--sand); border-radius: var(--radius); padding: 30px; }

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 110px 0 70px; }
  .hero .wrap, .two-col, .signup, .author, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-cover img { margin: 0 auto; max-width: 240px; }
  .hero::before { background: rgba(20,17,40,.78); }
  .formats .wrap { grid-template-columns: 1fr; }
  .format { border-right: 0; border-bottom: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr; }
  .signup { padding: 36px 26px; }
  .author img { max-width: 260px; }
  section { padding: 70px 0; }
  .nav a:not(.btn) { display: none; }
}
/* ---------- Soft entrance animations ---------- */
@keyframes softUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes coverIn { from { opacity: 0; transform: translateX(40px) translateY(20px) rotate(6deg); } to { opacity: 1; transform: rotate(2deg); } }
@keyframes dawn { from { opacity: 1; } to { opacity: 0; } }
@keyframes bgDrift { from { background-position: center 45%; } to { background-position: center 35%; } }

.anim-ready .hero { animation: bgDrift 2.6s cubic-bezier(.2,.7,.2,1) both; }
.hero .wrap { z-index: 2; }
.anim-ready .hero::after { content: ""; position: absolute; inset: 0; background: #0c0a1a; z-index: 1; pointer-events: none; animation: dawn 2.4s ease-out forwards; }
.anim-ready .hero .eyebrow,
.anim-ready .hero h1,
.anim-ready .hero .subtitle,
.anim-ready .hero .lead,
.anim-ready .hero .hero-ctas,
.anim-ready .hero .rating-line { opacity: 0; animation: softUp 1s cubic-bezier(.2,.7,.2,1) forwards; }
.anim-ready .hero .eyebrow { animation-delay: .35s; }
.anim-ready .hero h1 { animation-delay: .55s; }
.anim-ready .hero .subtitle { animation-delay: .8s; }
.anim-ready .hero .lead { animation-delay: 1.0s; }
.anim-ready .hero .hero-ctas { animation-delay: 1.25s; }
.anim-ready .hero .rating-line { animation-delay: 1.45s; }
.anim-ready .hero-cover img { opacity: 0; animation: coverIn 1.4s cubic-bezier(.2,.7,.2,1) .7s forwards; }
.anim-ready .site-header { opacity: 0; animation: softUp .9s ease .2s forwards; }

.anim-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform 1s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.anim-ready .reveal.reveal-left { transform: translateX(-36px); }
.anim-ready .reveal.reveal-right { transform: translateX(36px); }
.anim-ready .reveal.reveal-zoom { transform: scale(.96); }
.anim-ready .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .anim-ready .hero::after { display: none; }
  .anim-ready .hero, .anim-ready .hero::after, .anim-ready .hero *, .anim-ready .site-header { animation: none !important; opacity: 1 !important; }
  .anim-ready .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
/* ---------- Photo additions ---------- */
.section-img { margin-bottom: 28px; }
.photo-strip-wrap { padding: 0 0 96px; background: var(--indigo); }
.photo-strip { width: min(1120px, 92vw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-strip figure { margin: 0; }
.photo-strip img { width: 100%; height: 420px; object-fit: cover; }
.photo-strip figcaption { font-family: var(--serif); font-size: 1.3rem; color: var(--gold); margin-top: 14px; text-align: center; }
.signup.with-bg {
  background:
    linear-gradient(120deg, rgba(27,24,48,.94) 0%, rgba(36,32,63,.86) 55%, rgba(74,61,110,.55) 100%),
    url('https://static.wixstatic.com/media/a5be45_0f080f398ee94b79b31de7ac7a4c0389~mv2.jpg/v1/fill/w_1600,h_900,q_80/signup.jpg') center 70% / cover no-repeat;
}
@media (max-width: 900px) {
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip img { height: 300px; }
  .photo-strip-wrap { padding-bottom: 70px; }
}
/* ---------- Articles ---------- */
.article-hero { background: var(--indigo); color: #fff; padding: 64px 0 48px; }
.article-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); max-width: 21em; }
.article-hero .dek { color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 40em; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.byline { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.85); font-size: .95rem; margin-top: 22px; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.article-body { padding: 56px 0 72px; }
.article-body h2 { font-size: 1.75rem; margin-top: 1.7em; }
.article-body h3 { font-size: 1.25rem; margin-top: 1.4em; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article-body li { margin-bottom: .5em; }
.callout { background: var(--sand); border-left: 4px solid var(--gold); padding: 18px 22px; border-radius: 10px; margin: 1.6em 0; }
.callout.warn { border-left-color: #c0392b; background: #fdf1ee; }
.callout p:last-child { margin-bottom: 0; }
.book-cta { display: grid; grid-template-columns: 130px 1fr; gap: 28px; align-items: center; background: linear-gradient(135deg, var(--indigo), var(--plum)); color: rgba(255,255,255,.9); border-radius: 18px; padding: 30px; margin: 2.6em 0; }
.book-cta h3 { color: #fff; margin-top: 0; }
.book-cta img { border-radius: 4px; box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.book-cta .hero-ctas { margin: 16px 0 0; }
.article-faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
.article-faq summary { font-weight: 600; cursor: pointer; color: var(--ink); }
.article-faq details p { margin: .7em 0 0; }
.author-box { display: flex; gap: 18px; align-items: center; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 44px; }
.author-box img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box p { margin: 0; font-size: .95rem; color: var(--muted); }
.sources { font-size: .88rem; color: var(--muted); margin-top: 36px; }
.sources ol { padding-left: 1.2em; }
.article-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 32px; }
.article-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; text-decoration: none; color: var(--text); transition: transform .15s ease, box-shadow .15s ease; }
.article-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(27,24,48,.12); }
.article-card h3 { margin-bottom: .4em; }
.article-card p { color: var(--muted); margin: 0 0 .8em; font-size: .97rem; }
.article-card span { color: var(--gold-deep); font-weight: 600; font-size: .92rem; }
.related { background: var(--sand); padding: 64px 0; }
@media (max-width: 900px) {
  .book-cta { grid-template-columns: 1fr; text-align: left; }
  .book-cta img { max-width: 120px; }
  .article-cards { grid-template-columns: 1fr; }
}
.wform .check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .9rem; cursor: pointer; }
.wform input[type="checkbox"] { width: 18px; height: 18px; padding: 0; margin: 3px 0 0; flex: none; accent-color: var(--gold); }

/* ---------- Mobile polish ---------- */
.author img { width: 100%; height: auto; object-fit: cover; }
.photo-strip img { height: 420px; }
@media (max-width: 900px) {
  .photo-strip img { height: 300px; }
  .author img { margin: 0 auto; }
  .anim-ready .reveal.reveal-left, .anim-ready .reveal.reveal-right { transform: translateY(24px); }
  .hero-cover img { transform: none; }
  .anim-ready .hero-cover img { animation-name: softUp; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header { padding: 14px 0; }
  .brand { font-size: 1rem; }
  .nav .btn { padding: 8px 14px; font-size: .85rem; }
  .hero { padding: 96px 0 56px; }
  .hero h1 { font-size: 2.3rem; }
  .hero .lead { font-size: 1.02rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .final .hero-ctas { align-items: stretch; }
  section { padding: 56px 0; }
  .signup { padding: 28px 20px; border-radius: 16px; }
  .card, .review { padding: 22px; }
  .question-list li { font-size: 1.1rem; }
  .photo-strip img { height: 260px; }
  .final { padding: 80px 0; }
  .book-cta { padding: 22px; }
  .site-footer .wrap { flex-direction: column; }
}
