/* ==========================================================================
   SCARLET, CIRCLES, AND DREAMS — Rod Engel
   Design System: Gallery Linen & Painter's Pigments
   Palette extracted from "Convergence" (2022) & Chapter 1 pigments:
   Alizarin Scarlet · Burnt Sienna · Adriatic Cerulean · Unprimed Linen
   ========================================================================== */

:root {
  /* Gallery & Studio Surfaces */
  --linen: #f7f3ec;
  --linen-warm: #efe9de;
  --paper: #fcfaf6;
  --twilight: #142030;
  --twilight-deep: #0f1824;
  --twilight-soft: #1c2d42;

  /* Authentic Painter's Pigments */
  --scarlet: #a81d34;
  --scarlet-bright: #c22540;
  --scarlet-deep: #7f1426;
  --sienna: #9e4a2e;
  --cerulean: #1e4d72;
  --cerulean-soft: #2b6a99;
  --ochre: #c89643;
  --ochre-light: #e2bd78;
  --rose-clay: #e89a90;

  /* Ink & Typography */
  --ink: #181a22;
  --ink-muted: #4d515e;
  --ink-subtle: #6e7382;
  --light: #f7f3ec;
  --light-muted: rgba(247, 243, 236, 0.8);
  --light-subtle: rgba(247, 243, 236, 0.56);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 18px;
  --shadow-soft: 0 18px 46px rgba(24, 26, 34, 0.08);
  --shadow-elevated: 0 26px 64px rgba(20, 32, 48, 0.16);
  --shadow-dark: 0 28px 68px rgba(8, 14, 24, 0.42);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--linen);
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--linen);
  line-height: 1.68;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: min(1180px, 91vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   HEADER & LIVE JOURNEY PROGRESS RAIL (WARM GALLERY LINEN)
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(247, 243, 236, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(24, 26, 34, 0.09);
  color: var(--ink);
}

.journey-rail {
  width: 100%;
  height: 3px;
  background: rgba(24, 26, 34, 0.07);
  position: relative;
  overflow: hidden;
}

.journey-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cerulean), var(--scarlet), var(--ochre));
  transition: width 0.08s linear;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(168, 29, 52, 0.65);
  background: radial-gradient(circle at 30% 30%, rgba(30, 77, 114, 0.14), rgba(168, 29, 52, 0.1));
  flex-shrink: 0;
}

.brand-mark::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(158, 74, 46, 0.65);
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--scarlet);
}

.brand-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--ink);
}

.brand-text span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sienna);
  font-weight: 700;
  margin-top: 2px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
}

.main-nav a {
  transition: color 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--scarlet);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phase-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid rgba(24, 26, 34, 0.12);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--cerulean);
  white-space: nowrap;
}

.phase-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--scarlet);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 24px;
  border: 1px solid transparent;
  transition: transform 0.22s var(--ease), background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

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

.btn-scarlet {
  background: linear-gradient(135deg, var(--scarlet-bright), var(--scarlet));
  color: #fff;
  box-shadow: 0 10px 26px rgba(168, 29, 52, 0.28);
}

.btn-scarlet:hover {
  background: linear-gradient(135deg, #cf2c48, var(--scarlet-bright));
  box-shadow: 0 14px 34px rgba(168, 29, 52, 0.38);
}

.btn-outline-light {
  background: rgba(247, 243, 236, 0.07);
  border-color: rgba(247, 243, 236, 0.3);
  color: var(--light);
}

.btn-outline-light:hover {
  border-color: var(--ochre-light);
  color: var(--ochre-light);
  background: rgba(226, 189, 120, 0.1);
}

.btn-dark {
  background: var(--twilight);
  color: var(--light);
  box-shadow: 0 10px 24px rgba(20, 32, 48, 0.18);
}

.btn-dark:hover {
  background: var(--scarlet);
}

.btn-outline-dark {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(24, 26, 34, 0.22);
  color: var(--ink);
}

.btn-outline-dark:hover {
  border-color: var(--scarlet);
  color: var(--scarlet);
  background: #fff;
}

.nav-cta {
  padding: 9px 18px;
  font-size: 0.81rem;
}

.menu-toggle {
  display: none;
  background: var(--paper);
  border: 1px solid rgba(24, 26, 34, 0.18);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.8px;
  background: var(--ink);
}

.mobile-drawer {
  display: none;
  background: var(--paper);
  border-bottom: 1px solid rgba(24, 26, 34, 0.12);
  padding: 18px 5vw 24px;
  flex-direction: column;
  gap: 14px;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 0;
}

/* ==========================================================================
   HERO — SUNLIT GALLERY LINEN & PAINTER'S PIGMENTS
   ========================================================================== */

.hero {
  position: relative;
  background: var(--linen);
  color: var(--ink);
  padding: 72px 0 88px;
  overflow: hidden;
  isolation: isolate;
}

/* Soft watercolor/acrylic studio washes echoing Convergence */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 24%, rgba(30, 77, 114, 0.12) 0%, transparent 46%),
    radial-gradient(circle at 86% 26%, rgba(168, 29, 52, 0.11) 0%, transparent 48%),
    radial-gradient(circle at 60% 88%, rgba(200, 150, 67, 0.12) 0%, transparent 46%);
  z-index: 0;
  pointer-events: none;
}

#circlesCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cerulean);
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--scarlet);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.1vw, 4.35rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  color: var(--ink);
}

.hero h1 em {
  font-style: italic;
  color: var(--scarlet);
  font-weight: 600;
}

.hero-subtitle-line {
  font-family: var(--serif);
  font-size: clamp(1.22rem, 2vw, 1.52rem);
  font-style: italic;
  color: var(--sienna);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-deck {
  font-size: 1.02rem;
  color: var(--ink-muted);
  max-width: 575px;
  margin-bottom: 28px;
  line-height: 1.76;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.quick-retailers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  font-size: 0.81rem;
  color: var(--ink-muted);
}

.quick-retailers span.label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.69rem;
  font-weight: 800;
  color: var(--sienna);
  margin-right: 4px;
}

.quick-pill {
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid rgba(24, 26, 34, 0.14);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(24, 26, 34, 0.04);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.quick-pill:hover {
  border-color: var(--scarlet);
  color: var(--scarlet);
  background: #fff;
}

.hero-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(24, 26, 34, 0.12);
}

.meta-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.28rem;
  color: var(--ink);
  font-weight: 700;
}

.meta-item span {
  font-size: 0.77rem;
  color: var(--ink-subtle);
}

/* Book Showcase Visual */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.orbit-frame {
  position: relative;
  width: min(455px, 100%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-ring-1 {
  width: 96%;
  height: 96%;
  border: 1px solid rgba(158, 74, 46, 0.26);
  animation: slowSpin 42s linear infinite;
}

.orbit-ring-1::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--scarlet);
}

.orbit-ring-2 {
  width: 78%;
  height: 78%;
  border: 1px dashed rgba(30, 77, 114, 0.3);
  animation: slowSpinReverse 32s linear infinite;
}

.orbit-ring-3 {
  width: 60%;
  height: 60%;
  border: 1px solid rgba(200, 150, 67, 0.34);
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes slowSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.book-stage {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s var(--ease);
}

.book-img-3d {
  width: 96%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 24px 36px rgba(20, 32, 48, 0.24));
  transition: opacity 0.35s ease, transform 0.5s var(--ease);
}

.book-img-flat {
  display: none;
  width: 68%;
  max-width: 300px;
  border-radius: 6px;
  box-shadow: 0 26px 52px rgba(20, 32, 48, 0.28), 0 0 0 1px rgba(24, 26, 34, 0.1);
}

.book-stage.show-flat .book-img-3d { display: none; }
.book-stage.show-flat .book-img-flat { display: block; }

.book-stage:hover .book-img-3d,
.book-stage:hover .book-img-flat {
  transform: translateY(-6px) scale(1.015);
}

.cover-switcher {
  margin-top: 16px;
  display: inline-flex;
  background: var(--paper);
  border: 1px solid rgba(24, 26, 34, 0.14);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  position: relative;
  z-index: 4;
  box-shadow: 0 6px 18px rgba(24, 26, 34, 0.06);
}

.cover-switch-btn {
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.cover-switch-btn.active {
  background: var(--twilight);
  color: var(--light);
}

.hero-whisper-card {
  margin-top: 16px;
  max-width: 400px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.16rem;
  color: var(--ink-muted);
  line-height: 1.42;
}

/* ==========================================================================
   ALIZARIN SCARLET MARQUEE RIBBON
   ========================================================================== */

.ribbon {
  background: linear-gradient(90deg, var(--scarlet-deep), var(--scarlet), var(--scarlet-deep));
  color: #faf6f0;
  padding: 13px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ribbon-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: tickerScroll 36s linear infinite;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  align-items: center;
}

.ribbon-track b {
  color: var(--ochre-light);
  font-size: 0.85rem;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SHARED SECTION STYLING
   ========================================================================== */

.section-pad {
  padding: 96px 0;
  position: relative;
}

.section-linen {
  background: var(--paper);
  color: var(--ink);
}

.section-linen-alt {
  background: var(--linen);
  color: var(--ink);
}

.section-dark {
  background: var(--twilight);
  color: var(--light);
}

.section-midnight {
  background: linear-gradient(180deg, #1a2b40 0%, #142030 100%);
  color: var(--light);
}

.section-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 14px;
  margin-bottom: 34px;
  border-bottom: 1px solid currentColor;
  opacity: 0.62;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 600;
  line-height: 1.09;
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  color: var(--scarlet);
}

.section-dark .section-title em,
.section-midnight .section-title em {
  color: var(--ochre-light);
}

/* ==========================================================================
   01 / THE PREMISE — STORY HOOK
   ========================================================================== */

.premise-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 54px;
}

.premise-lead {
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.8;
}

.premise-body {
  font-size: 0.99rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.bach-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(30, 77, 114, 0.07);
  border-left: 3px solid var(--cerulean);
  font-size: 0.9rem;
  color: var(--ink);
}

.quote-feature {
  background: var(--twilight);
  color: var(--light);
  border-radius: var(--radius);
  padding: 38px 34px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.quote-feature::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1px solid rgba(226, 189, 120, 0.28);
}

.quote-feature::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px dashed rgba(232, 154, 144, 0.3);
}

.quote-mark-large {
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 0.65;
  color: var(--ochre-light);
  margin-bottom: 14px;
}

.quote-feature blockquote {
  font-family: var(--serif);
  font-size: 1.52rem;
  font-style: italic;
  line-height: 1.44;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.quote-feature cite {
  display: block;
  font-style: normal;
  font-size: 0.77rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre-light);
}

.tension-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tension-card {
  background: var(--linen);
  border: 1px solid rgba(24, 26, 34, 0.09);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.tension-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.tension-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--scarlet);
  line-height: 1;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tension-num::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(168, 29, 52, 0.25);
}

.tension-card h3 {
  font-family: var(--serif);
  font-size: 1.52rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}

.tension-card p {
  font-size: 0.94rem;
  color: var(--ink-muted);
  line-height: 1.72;
}

/* ==========================================================================
   02 / INTERACTIVE THREE THREADS (ADRIATIC TWILIGHT STUDIO DESCENT)
   ========================================================================== */

.themes-section {
  background: var(--twilight);
  color: var(--light);
  overflow: hidden;
}

.themes-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(168, 29, 52, 0.24) 0%, transparent 46%),
    radial-gradient(circle at 16% 84%, rgba(43, 106, 153, 0.26) 0%, transparent 48%);
  pointer-events: none;
}

.themes-header {
  max-width: 680px;
  margin-bottom: 42px;
}

.themes-header p {
  color: var(--light-muted);
  font-size: 1.02rem;
}

.pillar-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.pillar-btn {
  text-align: left;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: rgba(247, 243, 236, 0.05);
  border: 1px solid rgba(247, 243, 236, 0.14);
  color: var(--light);
  transition: all 0.25s var(--ease);
}

.pillar-btn:hover {
  background: rgba(247, 243, 236, 0.09);
  border-color: rgba(226, 189, 120, 0.5);
}

.pillar-btn.active {
  background: linear-gradient(135deg, rgba(168, 29, 52, 0.34), rgba(30, 77, 114, 0.28));
  border-color: var(--ochre-light);
  box-shadow: 0 14px 36px rgba(8, 14, 24, 0.32);
}

.pillar-btn .p-idx {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre-light);
  margin-bottom: 6px;
  font-weight: 700;
}

.pillar-btn strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 4px;
}

.pillar-btn small {
  font-size: 0.82rem;
  color: var(--light-muted);
}

.pillar-stage {
  background: rgba(15, 24, 36, 0.76);
  border: 1px solid rgba(247, 243, 236, 0.14);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-dark);
}

.pillar-panel {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  animation: fadeSlide 0.4s var(--ease);
}

.pillar-panel.active {
  display: grid;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.pillar-badge {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(226, 189, 120, 0.16);
  color: var(--ochre-light);
  border: 1px solid rgba(226, 189, 120, 0.4);
  margin-bottom: 16px;
}

.pillar-panel h3 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
}

.pillar-panel p {
  color: var(--light-muted);
  font-size: 0.99rem;
  margin-bottom: 16px;
  line-height: 1.78;
}

.pillar-quote {
  border-left: 3px solid var(--ochre-light);
  padding: 12px 0 12px 18px;
  margin: 22px 0 26px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.28rem;
  color: #fff;
  line-height: 1.46;
}

.pillar-art-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(247, 243, 236, 0.18);
  background: var(--twilight-deep);
}

.pillar-art-box img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}

.pillar-art-box:hover img {
  transform: scale(1.04);
}

.pillar-art-caption {
  padding: 14px 18px;
  background: rgba(15, 24, 36, 0.94);
  border-top: 1px solid rgba(247, 243, 236, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--light-muted);
}

.pillar-art-caption strong {
  color: var(--ochre-light);
  font-weight: 600;
}

/* ==========================================================================
   03 / LIVE EXCERPT READER (OPEN BOOK SPREAD ON WARM LINEN)
   ========================================================================== */

.excerpt-shell {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 36px;
  align-items: start;
}

.excerpt-sidebar h2 {
  margin-bottom: 14px;
}

.excerpt-sidebar p {
  color: var(--ink-muted);
  margin-bottom: 24px;
  font-size: 0.97rem;
}

.chapter-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.chapter-tab {
  text-align: left;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid rgba(24, 26, 34, 0.12);
  transition: all 0.2s ease;
}

.chapter-tab:hover {
  border-color: var(--scarlet);
}

.chapter-tab.active {
  background: var(--twilight);
  color: var(--light);
  border-color: var(--twilight);
  box-shadow: 0 12px 28px rgba(20, 32, 48, 0.18);
}

.chapter-tab span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: 3px;
}

.chapter-tab.active span {
  color: var(--ochre-light);
}

.chapter-tab strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.pdf-box {
  background: linear-gradient(135deg, rgba(168, 29, 52, 0.06), rgba(30, 77, 114, 0.07));
  border: 1px solid rgba(168, 29, 52, 0.22);
  border-radius: 16px;
  padding: 20px;
}

.pdf-box strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.pdf-box p {
  font-size: 0.85rem;
  margin-bottom: 14px;
  color: var(--ink-muted);
}

.book-page-card {
  background: #fffdfa;
  border: 1px solid rgba(24, 26, 34, 0.12);
  border-radius: 6px 20px 20px 6px;
  padding: 46px 48px;
  box-shadow:
    inset 14px 0 24px -14px rgba(20, 32, 48, 0.14),
    0 22px 54px rgba(20, 32, 48, 0.09);
  position: relative;
}

.page-running-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-subtle);
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(24, 26, 34, 0.1);
}

.excerpt-panel {
  display: none;
  animation: fadeSlide 0.35s var(--ease);
}

.excerpt-panel.active {
  display: block;
}

.excerpt-panel h3 {
  font-family: var(--serif);
  font-size: 1.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.excerpt-dateline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--sienna);
  font-size: 1rem;
  margin-bottom: 18px;
}

.book-prose {
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.76;
  color: #21232c;
  margin-bottom: 16px;
}

.book-prose.dropcap::first-letter {
  float: left;
  font-size: 3.8rem;
  line-height: 0.82;
  padding-right: 10px;
  padding-top: 4px;
  color: var(--scarlet);
  font-weight: 600;
}

.alone-callout {
  text-align: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.72em;
  color: var(--scarlet-deep);
  margin: 22px 0;
  padding: 10px 0;
}

.page-cta-footer {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(24, 26, 34, 0.11);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.page-cta-footer span {
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ==========================================================================
   04 / WHO THIS BOOK WAS WRITTEN FOR (COASTAL TWILIGHT SLATE)
   ========================================================================== */

.readers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.reader-card {
  background: rgba(247, 243, 236, 0.05);
  border: 1px solid rgba(247, 243, 236, 0.13);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}

.reader-card:hover {
  border-color: rgba(226, 189, 120, 0.5);
  transform: translateY(-4px);
}

.reader-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre-light);
  margin-bottom: 10px;
}

.reader-card h3 {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.reader-card p {
  font-size: 0.95rem;
  color: var(--light-muted);
  line-height: 1.72;
}

/* ==========================================================================
   05 / THE TWO PAINTINGS BOUND INTO THE EDITION
   ========================================================================== */

.art-bridge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 36px;
}

.art-bridge-card {
  background: var(--paper);
  border: 1px solid rgba(24, 26, 34, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.art-bridge-media {
  position: relative;
  height: 300px;
  background: var(--twilight);
  overflow: hidden;
}

.art-bridge-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-bridge-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(20, 32, 48, 0.88);
  color: var(--ochre-light);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(226, 189, 120, 0.42);
}

.art-bridge-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.art-bridge-body h3 {
  font-family: var(--serif);
  font-size: 1.72rem;
  margin-bottom: 4px;
}

.art-bridge-specs {
  font-size: 0.82rem;
  color: var(--sienna);
  font-weight: 700;
  margin-bottom: 12px;
}

.art-bridge-body p {
  font-size: 0.94rem;
  color: var(--ink-muted);
  margin-bottom: 18px;
  flex: 1;
}

/* ==========================================================================
   06 / ABOUT THE AUTHOR (WARM STONE PARCHMENT)
   ========================================================================== */

.author-band {
  background: var(--linen-warm);
}

.author-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 54px;
  align-items: center;
}

.author-frame {
  position: relative;
}

.author-frame::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(158, 74, 46, 0.34);
  border-radius: 24px;
  pointer-events: none;
}

.author-photo-wrap {
  border-radius: 18px;
  overflow: hidden;
  background: var(--twilight);
  box-shadow: var(--shadow-elevated);
}

.author-photo-wrap img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center 15%;
}

.author-caption {
  padding: 13px 16px;
  background: var(--twilight);
  color: var(--light);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

.author-caption span {
  color: var(--ochre-light);
}

.author-copy p {
  font-size: 1rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.author-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}

.author-badge {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid rgba(24, 26, 34, 0.12);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cerulean);
}

.author-links a {
  border-bottom: 1px solid rgba(30, 77, 114, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.author-links a:hover {
  color: var(--scarlet);
  border-color: var(--scarlet);
}

/* ==========================================================================
   07 / CHOOSE YOUR EDITION — HIGH-TRUST GALLERY CONVERSION HUB
   ========================================================================== */

.editions-section {
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}

.editions-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(30, 77, 114, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 84% 78%, rgba(168, 29, 52, 0.08) 0%, transparent 48%);
  pointer-events: none;
}

.editions-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.editions-intro p {
  color: var(--ink-muted);
  font-size: 1.04rem;
}

.editions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.edition-card {
  background: var(--linen);
  border: 1px solid rgba(24, 26, 34, 0.12);
  border-radius: 22px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}

.edition-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(168, 29, 52, 0.35);
}

.edition-card.featured {
  background: linear-gradient(165deg, var(--twilight-soft) 0%, var(--twilight) 100%);
  color: var(--light);
  border: 1.5px solid var(--twilight);
  box-shadow: var(--shadow-elevated);
}

.edition-ribbon {
  position: absolute;
  top: -13px;
  left: 28px;
  background: linear-gradient(90deg, var(--scarlet-bright), var(--sienna));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

.edition-type {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: 8px;
}

.edition-card.featured .edition-type {
  color: var(--ochre-light);
}

.edition-card h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.edition-card.featured h3 {
  color: #fff;
}

.edition-price {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}

.edition-card.featured .edition-price {
  color: #fff;
}

.edition-price small {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-subtle);
}

.edition-card.featured .edition-price small {
  color: var(--light-subtle);
}

.edition-isbn {
  font-size: 0.76rem;
  color: var(--ink-subtle);
  margin-bottom: 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.edition-card.featured .edition-isbn {
  color: var(--light-subtle);
}

.edition-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  flex: 1;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.edition-card.featured .edition-perks {
  color: var(--light-muted);
}

.edition-perks li {
  padding-left: 20px;
  position: relative;
}

.edition-perks li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--scarlet);
  font-size: 0.62rem;
  line-height: 2.2;
}

.edition-card.featured .edition-perks li::before {
  color: var(--ochre-light);
}

.edition-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.edition-actions .btn {
  width: 100%;
}

.retailer-sublinks {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
  font-size: 0.79rem;
  color: var(--ink-muted);
}

.edition-card.featured .retailer-sublinks {
  color: var(--light-muted);
}

.retailer-sublinks a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.retailer-sublinks a:hover {
  color: var(--scarlet);
}

.edition-card.featured .retailer-sublinks a:hover {
  color: var(--ochre-light);
}

.trust-strip {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(24, 26, 34, 0.11);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 34px;
  font-size: 0.84rem;
  color: var(--ink-muted);
  text-align: center;
}

.trust-strip strong {
  color: var(--ink);
}

/* ==========================================================================
   FINAL WHISPER CTA & FOOTER (COASTAL TWILIGHT)
   ========================================================================== */

.closing-band {
  background: linear-gradient(135deg, var(--twilight) 0%, #241926 55%, #16283b 100%);
  color: var(--light);
  padding: 78px 0;
  text-align: center;
}

.closing-band h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 600;
  max-width: 780px;
  margin: 0 auto 16px;
  line-height: 1.15;
}

.closing-band h2 em {
  color: var(--ochre-light);
  font-style: italic;
}

.closing-band p {
  color: var(--light-muted);
  max-width: 580px;
  margin: 0 auto 28px;
}

.site-footer {
  background: var(--twilight-deep);
  color: rgba(247, 243, 236, 0.68);
  padding: 36px 0;
  font-size: 0.84rem;
  border-top: 1px solid rgba(247, 243, 236, 0.08);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--ochre-light);
}

/* ==========================================================================
   MODAL — FREE OFFICIAL 6-PAGE EXCERPT PDF
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 24, 36, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 300;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--paper);
  color: var(--ink);
  width: min(560px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 22px;
  padding: 34px 32px;
  position: relative;
  border: 1px solid rgba(168, 29, 52, 0.25);
  box-shadow: 0 32px 80px rgba(15, 24, 36, 0.45);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(24, 26, 34, 0.18);
  background: #fff;
  font-size: 1.25rem;
  color: var(--ink);
  display: grid;
  place-items: center;
}

.modal-card h3 {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 8px;
}

.modal-card p {
  font-size: 0.94rem;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.lead-form {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.lead-form input {
  flex: 1;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid rgba(24, 26, 34, 0.22);
  font-size: 0.94rem;
  outline: none;
}

.lead-form input:focus {
  border-color: var(--scarlet);
}

.modal-direct-link {
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-align: center;
}

.modal-direct-link a {
  color: var(--scarlet);
  font-weight: 600;
  text-decoration: underline;
}

.pdf-unlocked {
  display: none;
  margin-top: 18px;
}

.pdf-unlocked.show {
  display: block;
}

.pdf-unlocked-banner {
  background: rgba(30, 77, 114, 0.09);
  border-left: 3px solid var(--cerulean);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.pdf-frame {
  width: 100%;
  height: 260px;
  border: 1px solid rgba(24, 26, 34, 0.18);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 14px;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .main-nav,
  .phase-pill {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-grid,
  .premise-grid,
  .pillar-panel,
  .excerpt-shell,
  .author-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 50px 0 68px;
  }
  .editions-grid,
  .tension-cards {
    grid-template-columns: 1fr;
  }
  .pillar-tabs {
    grid-template-columns: 1fr;
  }
  .author-frame {
    max-width: 360px;
  }
}

@media (max-width: 720px) {
  .readers-grid,
  .art-bridge-grid,
  .hero-meta-strip {
    grid-template-columns: 1fr;
  }
  .section-pad {
    padding: 68px 0;
  }
  .pillar-stage {
    padding: 24px 20px;
  }
  .book-page-card {
    padding: 28px 22px;
  }
  .lead-form {
    flex-direction: column;
  }
  .nav-cta {
    display: none;
  }
}
