/* =========================================================
   La Chiamata di Medjugorje — Simona Di Lodovico
   Design system: warm, luminous, devotional editorial
   ========================================================= */

:root {
  /* Palette — drawn from the book cover (golden light, warm stone, ivory) */
  --ink: #221a12;
  --ink-soft: #5d5141;
  --ink-faint: #8a7c68;
  --cream: #f8f1e3;
  --cream-2: #fdf8ed;
  --paper: #fffdf8;
  --gold: #c2902f;
  --gold-deep: #9f7320;
  --gold-soft: #dbb45e;
  --gold-glow: rgba(201, 150, 47, 0.35);
  --night: #1b130c;
  --night-2: #271b10;
  --stone: #b3a079;
  --line: rgba(34, 26, 18, 0.12);
  --line-strong: rgba(34, 26, 18, 0.22);
  --line-light: rgba(248, 241, 227, 0.18);

  --shadow-sm: 0 2px 10px rgba(40, 28, 12, 0.08);
  --shadow-md: 0 18px 50px -18px rgba(40, 28, 12, 0.35);
  --shadow-lg: 0 40px 90px -30px rgba(40, 28, 12, 0.5);

  --font-display: "Cinzel", "Times New Roman", serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shell: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.72;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }

/* No italics anywhere — accents are rendered through colour & serif weight */
em, i, cite, blockquote { font-style: normal; }

::selection { background: var(--gold); color: #fff; }

/* ----------------------------- Typography ----------------------------- */
h1, h2, h3, h4 { line-height: 1.08; font-weight: 600; color: var(--ink); }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--gold-soft); }
.eyebrow.on-dark::before { background: var(--gold-soft); }
.eyebrow.no-rule::before { display: none; }

.lead {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink-soft);
  font-weight: 500;
}

.text-gold { color: var(--gold-deep); }
.serif { font-family: var(--font-serif); }

/* ----------------------------- Layout ----------------------------- */
.page-shell {
  width: min(var(--shell), calc(100% - 2.6rem));
  margin-inline: auto;
}
.section { padding: clamp(64px, 9vw, 132px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--soft {
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
}
.section--dark { background: var(--night); color: #ece1ce; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #f7efdf; }

.section-heading { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
  font-weight: 600;
  margin: 0.5rem 0 0.7rem;
  letter-spacing: -0.01em;
}
.section-heading p { color: var(--ink-soft); font-size: 1.06rem; }
.section--dark .section-heading p { color: #cdbfa8; }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.92em 1.6em;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s;
  will-change: transform;
}
.btn svg { flex: none; transition: transform 0.3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  color: #fff;
  box-shadow: 0 14px 30px -12px var(--gold-glow);
}
.btn-primary:hover { box-shadow: 0 20px 40px -12px var(--gold-glow); }

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn-ghost.on-dark { border-color: var(--line-light); color: #f3ead9; }
.btn-ghost.on-dark:hover { border-color: var(--gold-soft); color: #fff; }

.btn-light { background: var(--cream-2); color: var(--ink); }
.btn-light:hover { background: #fff; }

.btn-lg { padding: 1.05em 1.9em; font-size: 1rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  color: var(--gold-deep);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: gap 0.3s var(--ease), border-color 0.3s;
}
.text-link:hover { gap: 0.75em; border-color: var(--gold); }
.text-link.on-dark { color: var(--gold-soft); }

/* ----------------------------- Header ----------------------------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: 0.7em 1.2em; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 241, 227, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.site-header.is-scrolled {
  background: rgba(250, 245, 235, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(40, 28, 12, 0.6);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-emblem { width: 42px; height: 42px; object-fit: contain; }
.brand-meta { display: flex; flex-direction: column; line-height: 1.05; }
.brand-meta strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand-meta span {
  font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-top: 3px;
}

.site-nav { display: flex; align-items: center; gap: 1.9rem; }
.site-nav a:not(.nav-cta) {
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink-soft); position: relative; padding: 0.3em 0;
  transition: color 0.25s;
}
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--gold); transition: width 0.3s var(--ease);
}
.site-nav a:not(.nav-cta):hover,
.site-nav a.is-active { color: var(--ink); }
.site-nav a:not(.nav-cta):hover::after,
.site-nav a.is-active::after { width: 100%; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 0.5em;
  background: var(--ink); color: #f6edda;
  padding: 0.7em 1.25em; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600;
  transition: background 0.3s, transform 0.3s var(--ease);
}
.nav-cta:hover { background: var(--gold-deep); color: #fff; transform: translateY(-1px); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--night);
  color: #f3ead9;
  padding: clamp(70px, 10vw, 120px) 0 clamp(64px, 8vw, 110px);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 80% at 75% 30%, rgba(201, 150, 47, 0.28), transparent 55%),
    linear-gradient(180deg, rgba(20, 14, 8, 0.78), rgba(20, 14, 8, 0.62) 45%, rgba(20, 14, 8, 0.9));
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-content .eyebrow { color: var(--gold-soft); margin-bottom: 1.3rem; }
.hero-content .eyebrow::before { background: var(--gold-soft); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.04;
  color: #fff;
  font-size: clamp(2.4rem, 1.3rem + 4.4vw, 4.3rem);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.hero h1 .accent { color: var(--gold-soft); display: block; }
.hero-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.6rem);
  line-height: 1.45;
  color: #e8dcc6;
  margin: 1.5rem 0 2.2rem;
  max-width: 33ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-meta {
  margin-top: 2.4rem; display: flex; gap: 2rem; flex-wrap: wrap;
  padding-top: 1.6rem; border-top: 1px solid var(--line-light);
}
.hero-meta div { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-meta .n { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-soft); font-weight: 700; }
.hero-meta .l { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: #c5b69d; }

/* Hero cover showcase */
.hero-cover { position: relative; display: flex; justify-content: center; perspective: 1400px; }
.cover-shell { position: relative; transform: rotateY(-12deg) rotateX(3deg); transition: transform 0.6s var(--ease); }
.hero-cover:hover .cover-shell { transform: rotateY(-6deg) rotateX(1deg); }
.cover-shell img {
  width: clamp(230px, 26vw, 340px);
  border-radius: 6px;
  box-shadow:
    var(--shadow-lg),
    -16px 0 24px -18px rgba(0, 0, 0, 0.8);
}
.cover-glow {
  position: absolute; inset: -16% -10% -10%;
  background: radial-gradient(closest-side, var(--gold-glow), transparent 72%);
  filter: blur(8px); z-index: -1;
}
.cover-price {
  position: absolute; bottom: 10px; right: -14px;
  background: var(--gold);
  color: #fff; font-family: var(--font-display); font-weight: 700;
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow-md); line-height: 1;
  transform: rotate(8deg);
}
.cover-price small { display: block; font-size: 0.55rem; letter-spacing: 0.12em; font-family: var(--font-sans); font-weight: 600; opacity: 0.85; }

/* ----------------------------- Scripture / quote band ----------------------------- */
.scripture {
  background: var(--night-2);
  color: #f0e6d3;
  text-align: center;
  padding: clamp(56px, 7vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.scripture::before {
  content: "\201C";
  position: absolute; top: -0.1em; left: 50%; transform: translateX(-50%);
  font-family: var(--font-serif); font-size: 16rem; color: rgba(201, 150, 47, 0.12); line-height: 1;
}
.scripture blockquote {
  position: relative; max-width: 880px; margin-inline: auto;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.7rem);
  line-height: 1.32; color: #fbf3e3;
}
.scripture .src {
  display: block; margin-top: 1.4rem;
  font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold-soft);
}

/* ----------------------------- Book showcase ----------------------------- */
.book-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.4rem, 6vw, 5.5rem);
  align-items: center;
}
.book-media { position: relative; display: flex; justify-content: center; }
.book-media img.cover {
  width: clamp(240px, 30vw, 360px); border-radius: 6px; box-shadow: var(--shadow-lg);
  position: relative; z-index: 1;
}
.book-media .ring {
  position: absolute; inset: auto; width: 116%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--line); z-index: 0;
}
.book-media .halo {
  position: absolute; inset: -8%; z-index: 0;
  background: radial-gradient(closest-side, rgba(201, 150, 47, 0.18), transparent 70%);
}
.book-copy h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); margin-bottom: 1rem;
}
.book-copy p + p { margin-top: 1.1rem; }
.book-copy p { color: var(--ink-soft); }
.book-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

.book-facts {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.book-facts li { background: var(--cream-2); padding: 1rem 1.2rem; }
.book-facts .k { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }
.book-facts .v { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-top: 2px; }

/* ----------------------------- Trailer ----------------------------- */
.trailer-wrap { max-width: 940px; margin-inline: auto; }
.trailer-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line-light);
  background:
    radial-gradient(circle at center, rgba(214, 177, 95, 0.24), transparent 52%),
    linear-gradient(135deg, #16100b 0%, #2e2116 52%, #110d0a 100%);
}
.trailer-frame::before {
  content: ""; position: absolute; inset: -28px;
  background: url("assets/images/cover-front.jpg") center / cover no-repeat;
  filter: blur(24px); opacity: 0.28; transform: scale(1.04);
}
.trailer-poster {
  position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: contain;
  padding: clamp(1rem, 3.2vw, 2.4rem);
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.42));
  box-sizing: border-box;
}
.floating-play { z-index: 2; }
.trailer-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ----------------------------- Themes ----------------------------- */
.themes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem);
}
.theme-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
  display: flex; flex-direction: column;
}
.theme-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(201,150,47,0.4); }
.theme-media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.theme-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.theme-card:hover .theme-media img { transform: scale(1.06); }
.theme-media .num {
  position: absolute; top: 12px; left: 14px;
  font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: 0.85rem; letter-spacing: 0.1em;
  background: rgba(27, 19, 12, 0.55); backdrop-filter: blur(4px);
  padding: 0.35em 0.7em; border-radius: 999px;
}
.theme-body { padding: 1.5rem 1.5rem 1.7rem; }
.theme-body h3 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
.theme-body p { color: var(--ink-soft); font-size: 0.98rem; }

/* Icon variant (no image) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem); }
.feature-card {
  padding: 2rem 1.7rem; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--cream-2); transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-content: center;
  background: linear-gradient(135deg, rgba(219,178,94,0.22), rgba(201,150,47,0.12));
  color: var(--gold-deep); margin-bottom: 1.2rem;
}
.section--dark .feature-card { background: rgba(255,255,255,0.04); border-color: var(--line-light); }
.section--dark .feature-card p { color: #cdbfa8; }
.feature-card h3 { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; margin-bottom: 0.4rem; }
.feature-card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ----------------------------- About / author ----------------------------- */
.about-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media { position: relative; }
.about-media .photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5; border: 1px solid var(--line);
}
.about-media .photo img { width: 100%; height: 100%; object-fit: cover; }
.about-media .badge {
  position: absolute; right: -14px; bottom: 26px;
  background: var(--ink); color: #f3ead9; border-radius: 16px;
  padding: 1rem 1.2rem; box-shadow: var(--shadow-md); text-align: center; max-width: 180px;
}
.about-media .badge strong { font-family: var(--font-display); color: var(--gold-soft); display: block; font-size: 1.1rem; letter-spacing: 0.08em; }
.about-media .badge span { font-size: 0.74rem; letter-spacing: 0.06em; color: #cdbfa8; }
.about-copy h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); margin: 0.6rem 0 1rem; }
.about-copy p { color: var(--ink-soft); }
.about-copy p + p { margin-top: 1rem; }
.about-copy .sign {
  margin-top: 1.6rem; font-family: var(--font-serif); font-size: 1.6rem; color: var(--gold-deep); font-weight: 600;
}

.values-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.8rem; }
.values-list li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--ink-soft); }
.values-list svg { flex: none; margin-top: 4px; color: var(--gold); }

/* ----------------------------- Testimonials ----------------------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.2vw, 1.8rem); }
.testi-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.section--dark .testi-card { background: rgba(255,255,255,0.04); border-color: var(--line-light); }
.stars { display: flex; gap: 2px; color: var(--gold); }
.testi-card blockquote { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.45; color: var(--ink); }
.section--dark .testi-card blockquote { color: #f0e6d3; }
.testi-author { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  color: #fff; display: grid; place-content: center; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
}
.testi-author .who { line-height: 1.2; }
.testi-author .who strong { font-size: 0.95rem; }
.testi-author .who span { font-size: 0.8rem; color: var(--ink-faint); }
.section--dark .testi-author .who span { color: #b8a98f; }

/* ----------------------------- Blog / posts ----------------------------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem); }
.post-card {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(201,150,47,0.35); }
.post-media { aspect-ratio: 3 / 2; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 1.4rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post-meta { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.post-body h3 { font-family: var(--font-serif); font-size: 1.42rem; font-weight: 600; line-height: 1.2; }
.post-body p { color: var(--ink-soft); font-size: 0.96rem; }
.post-body .text-link { margin-top: auto; }
.post-soon { margin-top: auto; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; display: inline-flex; align-items: center; gap: 0.5em; }
.post-soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-soft); }
.post-card.is-soon .post-media img { filter: saturate(0.85) brightness(0.97); }

/* ----------------------------- Marquee ----------------------------- */
.marquee {
  background: var(--gold);
  color: #fff; overflow: hidden; padding: 0.95rem 0; white-space: nowrap;
  border-block: 1px solid rgba(255,255,255,0.18);
}
.marquee-track { display: inline-flex; gap: 2.2rem; align-items: center; animation: marquee 34s linear infinite; }
.marquee-track span { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.02em; }
.marquee-track .dot { opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----------------------------- CTA band ----------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--night); color: #f3ead9; }
.cta-band .bg { position: absolute; inset: 0; z-index: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.cta-band .veil {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(110% 80% at 50% 0%, rgba(201,150,47,0.25), transparent 60%), rgba(20,14,8,0.55);
}
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 720px; margin-inline: auto; padding: clamp(64px,8vw,110px) 0; }
.cta-inner h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); color: #fff; margin-bottom: 1rem; }
.cta-inner p { color: #ddceb4; font-size: 1.1rem; margin-bottom: 2rem; }
.cta-inner .hero-actions { justify-content: center; }

/* ----------------------------- Page hero (interior) ----------------------------- */
.page-hero {
  background: var(--night); color: #f3ead9; position: relative; overflow: hidden;
  padding: clamp(96px, 12vw, 160px) 0 clamp(56px, 7vw, 96px);
}
.page-hero .bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.34; }
.page-hero .veil { position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 90% at 70% 10%, rgba(201,150,47,0.22), transparent 55%), linear-gradient(180deg, rgba(20,14,8,0.7), rgba(20,14,8,0.86)); }
.page-hero .inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 {
  font-family: var(--font-serif); font-weight: 600; color: #fff;
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem); line-height: 1.06; margin: 1rem 0 0.8rem;
}
.page-hero p { color: #ddceb4; font-size: 1.15rem; max-width: 56ch; }
.breadcrumb { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }
.breadcrumb a { color: #c5b69d; } .breadcrumb a:hover { color: #fff; }
.breadcrumb--ink { color: var(--ink-faint); }
.breadcrumb--ink a { color: var(--gold-deep); } .breadcrumb--ink a:hover { color: var(--ink); }

/* ----------------------------- Prose ----------------------------- */
.prose { max-width: 720px; margin-inline: auto; }
.prose > * + * { margin-top: 1.2rem; }
.prose h2 { font-family: var(--font-serif); font-size: clamp(1.6rem,1.2rem+1.4vw,2.1rem); font-weight: 600; margin-top: 2.6rem; }
.prose h3 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; margin-top: 1.8rem; }
.prose p { color: var(--ink-soft); }
.prose .pullquote {
  border-left: 3px solid var(--gold); padding: 0.4rem 0 0.4rem 1.4rem;
  font-family: var(--font-serif); font-size: 1.5rem; color: var(--ink); line-height: 1.35;
}
.prose ul { padding-left: 1.2rem; color: var(--ink-soft); }
.prose li + li { margin-top: 0.5rem; }
.prose .sign { margin-top: 1.8rem; font-family: var(--font-serif); font-size: 1.6rem; color: var(--gold-deep); font-weight: 600; }
.prose-actions { display: flex; justify-content: center; margin-top: 2.4rem; }
.prose img { border-radius: var(--radius); margin-block: 1.6rem; box-shadow: var(--shadow-sm); }

/* ----------------------------- Contact ----------------------------- */
.contact-grid { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.78fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-card {
  min-width: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem);
}
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.field input, .field textarea {
  width: 100%; min-width: 0;
  font: inherit; padding: 0.85em 1em; border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--cream-2); color: var(--ink); transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { margin-top: 0.9rem; font-size: 0.86rem; color: var(--ink-faint); }

.contact-aside {
  min-width: 0;
  background: rgba(255, 252, 245, 0.68); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.7vw, 2rem); box-shadow: 0 22px 58px -42px rgba(45, 34, 23, 0.42);
}
.contact-aside .eyebrow { line-height: 1.45; overflow-wrap: anywhere; }
.contact-aside h2 { margin-bottom: 1.2rem; }
.contact-list { list-style: none; display: grid; gap: 0.85rem; padding: 0; margin: 0; }
.contact-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.95rem; align-items: center;
  padding: 0.95rem; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(255, 255, 255, 0.42);
}
.contact-item .ic {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-content: center;
  background: linear-gradient(135deg, rgba(219,178,94,0.22), rgba(201,150,47,0.12)); color: var(--gold-deep);
}
.contact-item > div { min-width: 0; display: grid; gap: 0.16rem; }
.contact-item .k { display: block; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.contact-item .v { display: block; font-family: var(--font-serif); font-size: clamp(1.05rem, 1.35vw, 1.18rem); font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.contact-item .v a:hover { color: var(--gold-deep); }
.socials { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.55rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-content: center; color: var(--ink-soft); transition: all 0.3s var(--ease);
}
.socials a:hover { background: var(--ink); color: var(--gold-soft); border-color: var(--ink); transform: translateY(-2px); }

/* ----------------------------- Footer ----------------------------- */
.site-footer { background: var(--night); color: #cdbfa8; padding: clamp(56px, 7vw, 88px) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.4rem; }
.footer-brand .b { display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.footer-brand .b img { width: 46px; height: 46px; }
.footer-brand .b strong { font-family: var(--font-display); color: #f3ead9; letter-spacing: 0.12em; text-transform: uppercase; font-size: 1rem; }
.footer-brand p { font-size: 0.94rem; max-width: 34ch; color: #b8a98f; }
.footer-col .h { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.1rem; font-weight: 600; }
.footer-col a, .footer-col p { display: block; font-size: 0.92rem; color: #c5b69d; padding: 0.28em 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-light);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.82rem; color: #9b8d74;
}
.footer-bottom a:hover { color: var(--gold-soft); }

/* ----------------------------- Floating CTA ----------------------------- */
.floating-cta {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: inline-flex; align-items: center; gap: 0.55em;
  background: var(--gold); color: #fff; font-weight: 600; font-size: 0.9rem;
  padding: 0.85em 1.25em; border-radius: 999px; box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.floating-cta:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.floating-cta svg { flex: none; }

/* ----------------------------- Reveal animation ----------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }

/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-cover { order: -1; }
  .book-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; }
  .themes-grid, .feature-grid, .testi-grid, .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 78px 0 auto; z-index: 95;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream-2); border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.3rem 1.4rem; box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity 0.3s, transform 0.3s var(--ease);
  }
  .site-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a:not(.nav-cta) { padding: 0.85em 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 0.9rem; justify-content: center; }

  .themes-grid, .feature-grid, .testi-grid, .posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-meta { gap: 1.4rem; }
  .cover-price { width: 66px; height: 66px; right: 0; }
  .about-media .badge { right: 0; }
  .book-facts { grid-template-columns: 1fr; }
  .contact-aside { padding: 1.2rem; }
  .contact-item { padding: 0.8rem; gap: 0.8rem; }
  .contact-item .ic { width: 38px; height: 38px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .page-shell { width: calc(100% - 2rem); }
  .btn { width: 100%; justify-content: center; }
  .hero-actions, .book-actions { width: 100%; }
}
