/* ============================================================
   OW Publishing House — Global Design System
   Home page sets the tokens; every other page inherits this file.
   Brand hex sampled from the OW Publishing logo. Owner may refine.
   ============================================================ */

:root {
  /* --- Brand colours --- */
  --navy:        #0F1A31;  /* Ink Navy — primary */
  --navy-800:    #14213D;  /* raised navy surfaces */
  --navy-700:    #1B2C4E;  /* borders / hovers on navy */
  --gold:        #D4A24A;  /* Warm Gold — accent */
  --gold-soft:   #E0C281;  /* gold highlight */
  --gold-deep:   #B4842F;  /* gold text on cream (AA) */
  --cream:       #FDFAF5;  /* Paper Cream — page bg */
  --cream-200:   #F5EFE3;  /* warm panel */
  --line:        #E7DECD;  /* hairline on cream */

  --ink:         #1A2233;  /* body text on cream */
  --ink-soft:    #4C5568;  /* secondary text */
  --on-navy:     #EAF0FA;  /* body text on navy */
  --on-navy-dim: #A9B6CC;  /* secondary text on navy */

  /* --- Type --- */
  --serif: 'Cormorant Garamond', 'Lora', Georgia, 'Times New Roman', serif;
  --sans:  'Outfit', 'Helvetica Neue', Arial, sans-serif;

  /* --- Rhythm --- */
  --max:     1180px;
  --gutter:  clamp(20px, 5vw, 48px);
  --radius:  14px;
  --radius-lg: 22px;
  --shadow:  0 18px 44px -22px rgba(15, 26, 49, .40);
  --shadow-sm: 0 8px 22px -14px rgba(15, 26, 49, .35);
  --t: 220ms cubic-bezier(.4, 0, .2, 1);
}

/* --- Reset-ish --- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
p  { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 .9rem;
}
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: .85em 1.6em; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-ghost:hover { background: rgba(212,162,74,.12); }
.btn-outline-ink { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline-ink:hover { background: var(--ink); color: var(--cream); }
.btn-lg { padding: 1em 1.9em; font-size: 1.05rem; }

.arrow { transition: transform var(--t); }
.btn:hover .arrow, .card-link:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(15,26,49,.90);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--navy-700);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; min-height: 58px;
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--on-navy); flex-shrink: 0; }
.brand img { width: 32px; height: 32px; border-radius: 50%; }
.brand-name { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; line-height: 1; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 16px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--on-navy-dim); font-size: .85rem; font-weight: 500; white-space: nowrap;
  padding: 6px 0; position: relative; transition: color var(--t);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width var(--t);
}
.nav-links a:hover { color: var(--on-navy); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cta .btn { padding: .5em 1em; font-size: .84rem; }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--on-navy); transition: var(--t); border-radius: 2px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding-bottom: clamp(48px, 7vw, 78px);
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(212,162,74,.18), transparent 60%),
    radial-gradient(760px 520px at 4% 108%, rgba(212,162,74,.09), transparent 55%),
    var(--navy);
  color: var(--on-navy);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(234,240,250,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234,240,250,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 40%, transparent 100%);
}
.hero-inner {
  position: relative; z-index: 1; padding-block: clamp(54px, 8vw, 96px);
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.hero-left { max-width: 560px; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 500; letter-spacing: .04em;
  color: var(--gold-soft); background: rgba(212,162,74,.12);
  border: 1px solid rgba(212,162,74,.35); padding: 7px 15px; border-radius: 999px;
  margin-bottom: 24px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(3rem, 5.6vw, 4.6rem); line-height: 1.02; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero-sub { font-size: 1.14rem; color: var(--on-navy-dim); max-width: 500px; margin-block: 8px 22px; }
.hero-checks {
  list-style: none; margin: 0 0 30px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
}
.hero-checks li {
  font-size: .92rem; color: var(--on-navy); font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-checks li::before {
  content: "✓"; color: var(--gold); font-weight: 700;
  display: inline-grid; place-items: center; width: 20px; height: 20px;
  border-radius: 50%; background: rgba(212,162,74,.16); font-size: .8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- Hero right visual: cover collage --- */
.hero-visual { position: relative; z-index: 1; }
.cover-collage {
  display: grid; grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr; gap: 18px;
}
.cover {
  border-radius: 8px; padding: 22px 18px; min-height: 200px;
  display: flex; flex-direction: column; gap: 8px; justify-content: flex-start;
  font-family: var(--serif); color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 22px 40px -18px rgba(0,0,0,.6), inset 10px 0 0 -8px rgba(0,0,0,.22);
}
.cover .c-top { font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.cover .c-title { font-size: 1.5rem; line-height: 1.02; font-weight: 700; }
.cover .c-author { font-family: var(--sans); font-size: .78rem; opacity: .9; }
.cover.c1 { background: linear-gradient(150deg, var(--gold) 0%, var(--gold-deep) 100%); color: var(--navy); transform: translateY(14px); }
.cover.c2 { background: linear-gradient(160deg, #1d2f57, #0c1730); border: 1px solid var(--navy-700); }
.cover.c3 { background: linear-gradient(160deg, #2a3f6e, #16264a); border: 1px solid var(--navy-700); transform: translateY(14px); }
.cover.c4 { background: linear-gradient(150deg, #17233f, #0b1424); border: 1px solid var(--navy-700); }
.cover.c1 .c-title { color: var(--navy); }
/* real cover images in the hero collage */
.cover.has-img { padding: 0; }
.cover.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.social-rail {
  position: absolute; top: 50%; right: -18px; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; z-index: 2;
}
.social-rail a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--navy); font-weight: 700; font-size: .82rem;
  font-family: var(--sans); box-shadow: 0 8px 18px -6px rgba(0,0,0,.5);
  transition: transform var(--t), background var(--t);
}
.social-rail a:hover { transform: scale(1.1); background: var(--gold-soft); }

.hero-seal {
  position: absolute; right: -26px; bottom: -26px; z-index: 3;
  width: 104px; height: 104px; border-radius: 50%;
  background: var(--cream); color: var(--navy);
  display: grid; place-content: center; text-align: center; line-height: 1.1;
  box-shadow: 0 16px 34px -12px rgba(0,0,0,.55); border: 3px solid var(--gold);
}
.hero-seal .seal-big { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; }
.hero-seal .seal-small { font-family: var(--sans); font-size: .64rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin-top: 2px; }

/* --- Trust strip below hero --- */
.hero-trust {
  position: relative; z-index: 1; margin-top: clamp(8px, 3vw, 36px);
  padding-top: 26px; border-top: 1px solid var(--navy-700);
  display: flex; flex-wrap: wrap; gap: clamp(20px, 5vw, 54px);
}
.hero-stat .n { font-family: var(--serif); font-size: 2rem; color: var(--gold-soft); line-height: 1; }
.hero-stat .l { font-size: .82rem; color: var(--on-navy-dim); letter-spacing: .03em; }

/* ============================================================
   Three-path chooser
   ============================================================ */
.chooser { background: var(--cream); }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.path-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative; overflow: hidden;
}
.path-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.path-card:hover::before { transform: scaleX(1); }
.path-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cream-200); color: var(--gold-deep); margin-bottom: 20px;
}
.path-icon svg { width: 26px; height: 26px; }
.path-card h3 { margin-bottom: 8px; }
.path-for { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-deep); margin-bottom: 10px; }
.path-card p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.card-link {
  display: inline-flex; align-items: center; gap: .45em; margin-top: 18px;
  font-weight: 600; color: var(--navy); border-bottom: 2px solid var(--gold);
  padding-bottom: 3px; align-self: flex-start;
}

/* ============================================================
   Why OW
   ============================================================ */
.why { background: var(--navy); color: var(--on-navy); }
.why .eyebrow { color: var(--gold-soft); }
.why h2 { color: #fff; }
.why .lead { color: var(--on-navy-dim); }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.value {
  background: var(--navy-800); border: 1px solid var(--navy-700);
  border-radius: var(--radius); padding: 28px 26px;
  transition: transform var(--t), border-color var(--t);
}
.value:hover { transform: translateY(-4px); border-color: rgba(212,162,74,.5); }
.value h3 { color: var(--gold-soft); font-size: 1.35rem; }
.value p { color: var(--on-navy-dim); margin: 0; font-size: .98rem; }
.value .num { font-family: var(--serif); color: rgba(212,162,74,.4); font-size: 1.5rem; margin-bottom: 8px; }

/* ============================================================
   How it works
   ============================================================ */
.how { background: var(--cream-200); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; text-align: center;
}
.step-badge {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; background: var(--navy); color: var(--gold-soft);
  font-family: var(--serif); font-size: 1.5rem; box-shadow: var(--shadow-sm);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
.how-note { text-align: center; margin-top: 34px; color: var(--ink-soft); font-style: italic; font-family: var(--serif); font-size: 1.3rem; }

/* ============================================================
   Platform grid
   ============================================================ */
.platforms { background: var(--cream); }
.plat-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 8px;
}
.plat {
  border: 1px solid var(--line); border-radius: 12px; padding: 18px 14px;
  background: #fff; text-align: center; transition: transform var(--t), border-color var(--t);
}
.plat:hover { transform: translateY(-3px); border-color: var(--gold); }
.plat .pname { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.plat .pnote { font-size: .74rem; color: var(--ink-soft); letter-spacing: .02em; }
.plat-more { text-align: center; margin-top: 20px; color: var(--ink-soft); font-size: .92rem; }

/* ============================================================
   Proof / case study
   ============================================================ */
.proof { background: var(--navy); color: var(--on-navy); }
.proof .eyebrow { color: var(--gold-soft); }
.proof h2 { color: #fff; }
.case {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0;
  background: var(--navy-800); border: 1px solid var(--navy-700);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: 10px;
}
.case-visual {
  background:
    radial-gradient(420px 320px at 70% 20%, rgba(212,162,74,.25), transparent 60%),
    linear-gradient(160deg, #16264a, #0d1730);
  display: grid; place-items: center; padding: 44px; min-height: 300px;
}
/* real cover image in the case study */
.case-visual img.case-cover {
  width: 200px; aspect-ratio: 2/3; object-fit: cover; display: block;
  border-radius: 6px 10px 10px 6px;
  box-shadow: 0 24px 50px -14px rgba(0,0,0,.55), inset 12px 0 0 -8px rgba(0,0,0,.18);
}
.book-mock {
  width: 190px; aspect-ratio: 2/3; border-radius: 6px 10px 10px 6px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  box-shadow: 0 24px 50px -14px rgba(0,0,0,.55), inset 12px 0 0 -8px rgba(0,0,0,.18);
  color: var(--navy); padding: 26px 22px; display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--serif);
}
.book-mock .bm-top { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; font-family: var(--sans); font-weight: 600; }
.book-mock .bm-title { font-size: 1.5rem; line-height: 1.05; font-weight: 700; }
.book-mock .bm-author { font-size: .8rem; font-family: var(--sans); }
.case-body { padding: clamp(28px, 4vw, 44px); }
.case-tag { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.case-body h3 { color: #fff; font-size: 1.9rem; margin: 8px 0 4px; }
.case-body p { color: var(--on-navy-dim); }
.case-metrics { display: flex; gap: 30px; margin: 24px 0; flex-wrap: wrap; }
.case-metrics .m .mv { font-family: var(--serif); font-size: 1.8rem; color: var(--gold-soft); line-height: 1; }
.case-metrics .m .ml { font-size: .8rem; color: var(--on-navy-dim); }

/* ============================================================
   Resources teaser
   ============================================================ */
.resources { background: var(--cream); }
.res-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.res-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform var(--t), box-shadow var(--t);
  display: flex; flex-direction: column;
}
.res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.res-kicker { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 12px; }
.res-card h3 { margin-bottom: 8px; }
.res-card p { color: var(--ink-soft); font-size: .96rem; flex: 1; }

/* ============================================================
   Final CTA band
   ============================================================ */
.cta-band {
  background:
    radial-gradient(700px 400px at 82% 10%, rgba(212,162,74,.22), transparent 60%),
    var(--navy);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-navy-dim); max-width: 560px; margin: 0 auto 30px; font-size: 1.12rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   LANE / SUB-PAGE COMPONENTS (Self-Publishing, Agent, Local Print)
   ============================================================ */

/* Lane hero */
.lane-hero {
  position: relative; overflow: hidden; color: var(--on-navy);
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(212,162,74,.16), transparent 60%),
    var(--navy);
}
.lane-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(234,240,250,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234,240,250,.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 40%, transparent 100%);
}
.lane-hero-inner {
  position: relative; z-index: 1; padding-block: clamp(44px, 6vw, 82px);
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.lane-hero-text { max-width: 580px; }
.lane-hero .eyebrow { color: var(--gold-soft); }
.lane-hero h1 { color: #fff; font-size: clamp(2.4rem, 4.4vw, 3.7rem); line-height: 1.05; }
.lane-hero h1 em { font-style: italic; color: var(--gold-soft); }
.lane-hero .lead { color: var(--on-navy-dim); font-size: 1.18rem; margin-bottom: 12px; max-width: 520px; }
.lane-reinforce {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
  font-family: var(--serif); font-style: italic; font-size: 1.18rem; color: var(--gold-soft);
}
.lane-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Lane hero right-side framed visual (swap for a real book photo later) */
.lane-hero-visual { position: relative; z-index: 1; }
.lane-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden;
  display: grid; place-items: center; padding: 30px;
  background:
    radial-gradient(360px 260px at 72% 20%, rgba(212,162,74,.38), transparent 62%),
    linear-gradient(155deg, #182a51, #0c1730);
  box-shadow: 0 30px 60px -26px rgba(0,0,0,.7); border: 1px solid var(--navy-700);
}
.lane-frame .book-mock {
  height: 74%; width: auto; aspect-ratio: 2/3; transform: rotate(-6deg);
  padding: 16px 15px; transition: transform var(--t);
}
.lane-frame .book-mock .bm-title { font-size: 1.2rem; }
.lane-frame .book-mock .bm-top { font-size: .58rem; }
.lane-frame .book-mock .bm-author { font-size: .72rem; }
.lane-frame:hover .book-mock { transform: rotate(-3deg) translateY(-4px); }
/* real cover image inside a lane hero frame */
.lane-frame img.lane-cover {
  height: 80%; width: auto; aspect-ratio: 2/3; object-fit: cover;
  border-radius: 4px 8px 8px 4px; transform: rotate(-6deg);
  box-shadow: 0 22px 44px -16px rgba(0,0,0,.65); transition: transform var(--t);
}
.lane-frame:hover img.lane-cover { transform: rotate(-3deg) translateY(-4px); }
.lane-frame.frame-navy {
  background:
    radial-gradient(360px 260px at 72% 20%, rgba(212,162,74,.18), transparent 62%),
    linear-gradient(155deg, #1d3a2e, #0c2018);
}

/* Breadcrumb / lane label */
.crumbs { font-size: .85rem; color: var(--on-navy-dim); margin-bottom: 18px; letter-spacing: .02em; }
.crumbs a:hover { color: var(--gold-soft); }
.crumbs .sep { opacity: .5; margin: 0 8px; }

/* Offer blocks */
.offer {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.offer + .offer { margin-top: clamp(40px, 6vw, 72px); }
.offer-aside { position: sticky; top: 92px; }
.offer-badge {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans);
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-deep); background: var(--cream-200); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 16px;
}
.offer-badge.headline { color: var(--navy); background: var(--gold); border-color: var(--gold); }
.offer h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.offer .price-from { font-family: var(--serif); color: var(--gold-deep); font-size: 1.25rem; margin-top: 6px; }
.offer .price-from .amt { font-size: 1.8rem; font-weight: 700; }

.offer-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-sm);
}
.offer-panel.headline { border-color: var(--gold); box-shadow: 0 20px 50px -24px rgba(212,162,74,.55); }

/* Feature list with gold ticks */
.feature-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 13px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--ink); }
.feature-list li::before {
  content: "✓"; flex: 0 0 auto; margin-top: 2px;
  width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center;
  background: rgba(212,162,74,.16); color: var(--gold-deep); font-size: .82rem; font-weight: 700;
}
.feature-list li b { font-weight: 600; }

/* Honest "what we can't do" list (Agent Route) */
.x-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 13px; }
.x-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--ink); }
.x-list li::before {
  content: "×"; flex: 0 0 auto; margin-top: 1px;
  width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center;
  background: rgba(122,106,85,.16); color: var(--ink-soft); font-size: 1rem; font-weight: 700;
}
.info-card.honest { border-color: rgba(122,106,85,.35); background: var(--cream-200); }

/* Gold callout box (standalone cover design) */
.callout {
  margin-top: 26px; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(150deg, rgba(212,162,74,.14), rgba(212,162,74,.05));
  border: 1px solid rgba(212,162,74,.4); position: relative;
}
.callout h3 { color: var(--navy); margin-bottom: 6px; }
.callout p { color: var(--ink-soft); margin: 0 0 14px; }
.callout .card-link { margin-top: 0; }

/* Retainer tiers */
.tier-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 30px; }
.tier {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; display: flex; flex-direction: column;
}
.tier.featured { border-color: var(--gold); box-shadow: var(--shadow); }
.tier-name { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); }
.tier-tag { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.tier-price { font-family: var(--serif); color: var(--gold-deep); font-size: 1.15rem; margin: 6px 0 4px; }
.tier-price .amt { font-size: 1.7rem; font-weight: 700; }
.tier-price .per { font-family: var(--sans); font-size: .8rem; color: var(--ink-soft); }
.tier .feature-list { margin-top: 16px; margin-bottom: 22px; flex: 1; }
.tier .feature-list li { font-size: .94rem; }
.tier .btn { align-self: flex-start; }
.adspend-note {
  margin-top: 22px; font-size: .92rem; color: var(--ink-soft);
  border-left: 3px solid var(--gold); padding: 6px 0 6px 14px; background: var(--cream-200);
  border-radius: 0 8px 8px 0; padding-right: 14px;
}

/* Two-up cards (editorial, who-for) */
.duo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px;
}
.info-card .kick { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.info-card h3 { margin-bottom: 8px; }
.info-card p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
.info-card.on-navy { background: var(--navy-800); border-color: var(--navy-700); }
.info-card.on-navy h3 { color: var(--gold-soft); }
.info-card.on-navy p { color: var(--on-navy-dim); }

/* Process timeline */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 12px; position: relative; }
.tl-step { text-align: center; position: relative; }
.tl-dot {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 14px; position: relative; z-index: 1;
  display: grid; place-items: center; background: var(--navy); color: var(--gold-soft);
  font-family: var(--serif); font-size: 1.15rem; box-shadow: var(--shadow-sm);
}
.tl-step:not(:last-child)::after {
  content: ""; position: absolute; top: 23px; left: 50%; width: 100%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); z-index: 0;
}
.tl-step h4 { font-family: var(--serif); font-size: 1.1rem; margin: 0 0 4px; color: var(--navy); }
.tl-step p { font-size: .84rem; color: var(--ink-soft); margin: 0; }
.tl-step .opt { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }

/* FAQ (native details) */
.faq { max-width: 820px; margin-top: 8px; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 4px 0;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--serif); font-size: 1.2rem; color: var(--navy); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.6rem; color: var(--gold-deep); transition: transform var(--t);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin: 0 0 18px; padding-right: 44px; font-size: 1rem; }

/* Author toolkit callout */
.toolkit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: 12px; }
.tool-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  display: flex; flex-direction: column;
}
.tool-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow); }
.tool-icon { width: 50px; height: 50px; border-radius: 13px; background: var(--cream-200); color: var(--gold-deep); display: grid; place-items: center; margin-bottom: 18px; }
.tool-icon svg { width: 26px; height: 26px; }
.tool-card h3 { margin-bottom: 8px; }
.tool-card p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.tool-soon { display: inline-block; margin-top: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); background: var(--cream-200); padding: 5px 12px; border-radius: 999px; align-self: flex-start; }

/* Platform deep-dive (Self-Publishing) */
.marquee {
  position: relative; overflow: hidden; margin: 4px 0 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .chip {
  flex: 0 0 auto; font-family: var(--serif); font-size: 1.05rem; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 20px;
}
.marquee-track .chip .b { color: var(--gold-deep); font-weight: 700; margin-right: 6px; font-family: var(--sans); font-size: .82rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.pf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pf-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px; position: relative; overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.pf-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--gold), var(--gold-deep)); opacity: .0; transition: opacity var(--t);
}
.pf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.pf-card:hover::before { opacity: 1; }
.pf-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.pf-rank { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-deep); line-height: 1; font-weight: 700; min-width: 34px; }
.pf-head h3 { margin: 0; font-size: 1.3rem; }
.pf-anchor { font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: 3px 9px; border-radius: 999px; align-self: center; }
.pf-desc { color: var(--ink-soft); font-size: .95rem; margin: 0 0 14px; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-tags span {
  font-size: .74rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-soft);
  background: var(--cream-200); border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px;
}
.pf-tags span.best { color: var(--gold-deep); background: rgba(212,162,74,.1); border-color: rgba(212,162,74,.35); }
.pf-note {
  margin-top: 26px; border-radius: var(--radius); padding: 22px 24px;
  background: var(--cream-200); border: 1px solid var(--line); color: var(--ink-soft); font-size: .96rem;
}
.pf-note b { color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Steps with left-aligned copy variant (Local Print how-it-works) */
.steps.compact .step { text-align: left; }
.steps.compact .step-badge { margin: 0 0 16px; }

/* Spec explainer grid */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.spec-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px; transition: transform var(--t), border-color var(--t);
}
.spec-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.spec-card .kick { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 6px; }
.spec-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.spec-card p { color: var(--ink-soft); font-size: .93rem; margin: 0; }
.spec-card p b { color: var(--navy); font-weight: 600; }

/* WhatsApp button */
.btn-whatsapp { background: #25D366; color: #06351d; }
.btn-whatsapp:hover { background: #34e07a; }

/* ============================================================
   FORMS (Book Spec Collector, Contact)
   ============================================================ */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm);
}
.form-section + .form-section { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-legend {
  font-family: var(--serif); font-size: 1.4rem; color: var(--navy); margin: 0 0 4px;
  display: flex; align-items: baseline; gap: 10px;
}
.form-legend .step-n { font-size: .8rem; font-family: var(--sans); font-weight: 700; color: var(--gold-deep); letter-spacing: .08em; }
.form-legend-sub { color: var(--ink-soft); font-size: .94rem; margin: 0 0 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--navy); }
.field label .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink); width: 100%;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream);
  transition: border-color var(--t), box-shadow var(--t);
}
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23B4842F' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,162,74,.18);
}
.field .hint { font-size: .78rem; color: var(--ink-soft); }
.form-actions { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-privacy { font-size: .82rem; color: var(--ink-soft); max-width: 460px; }
.noprice-note {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px;
  background: rgba(212,162,74,.08); border: 1px solid rgba(212,162,74,.35);
  border-radius: var(--radius); padding: 16px 18px; color: var(--ink-soft); font-size: .94rem;
}
.noprice-note b { color: var(--navy); }
.form-success {
  display: none; text-align: center; padding: clamp(30px, 5vw, 54px);
  background: linear-gradient(160deg, rgba(212,162,74,.12), rgba(212,162,74,.04));
  border: 1px solid rgba(212,162,74,.4); border-radius: var(--radius-lg);
}
.form-success.show { display: block; }
.form-success .tick {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; background: var(--gold); color: var(--navy); font-size: 1.9rem;
}
.form-success h3 { color: var(--navy); }
.form-success p { color: var(--ink-soft); max-width: 460px; margin: 0 auto; }

/* ============================================================
   PUBLISHED BOOKS — work showcase (real portfolio pieces)
   ============================================================ */
.work-feature {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; margin-bottom: 32px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.work-feature .wf-img { background: var(--cream-200); display: flex; align-items: center; justify-content: center; padding: 24px; }
.work-feature .wf-img img { width: 100%; height: auto; max-height: 380px; object-fit: contain; }
.work-feature .wf-body { padding: clamp(24px, 4vw, 42px); display: flex; flex-direction: column; justify-content: center; }
.work-feature .wf-tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.work-feature h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 6px; }
.work-feature .wf-author { color: var(--ink-soft); margin-bottom: 14px; }
.work-feature .wf-formats { display: flex; flex-wrap: wrap; gap: 8px; }
.work-feature .wf-formats span { font-size: .78rem; font-weight: 600; color: var(--navy); background: var(--cream-200); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }

.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.work-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); display: flex; flex-direction: column; }
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.work-img { aspect-ratio: 1/1; background: var(--cream-200); overflow: hidden; }
.work-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-body { padding: 16px 18px 20px; }
.work-tag { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.work-title { font-family: var(--serif); font-size: 1.18rem; color: var(--navy); margin: 6px 0 2px; line-height: 1.15; }
.work-author { font-size: .9rem; color: var(--ink-soft); }
.work-buy { display: inline-flex; align-items: center; gap: .4em; margin-top: 10px; font-size: .84rem; font-weight: 600; color: var(--gold-deep); }
.work-note { max-width: 760px; margin: 30px auto 0; text-align: center; color: var(--ink-soft); font-size: .92rem; }

@media (max-width: 760px) { .work-feature { grid-template-columns: 1fr; } }

/* ============================================================
   PUBLISHED BOOKS — gallery
   ============================================================ */
/* Compact centered page header (Published Books) */
.gallery-header {
  position: relative; z-index: 1; text-align: center;
  padding-block: clamp(46px, 6vw, 82px); max-width: 720px; margin-inline: auto;
}
.gallery-header .crumbs { display: flex; justify-content: center; }
.gallery-header .eyebrow { color: var(--gold-soft); }
.gallery-header h1 { color: #fff; font-size: clamp(2.6rem, 5vw, 4rem); }
.gallery-header .lead { color: var(--on-navy-dim); margin-inline: auto; }

.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter-tab {
  font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--ink-soft);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.filter-tab:hover { border-color: var(--gold); color: var(--navy); }
.filter-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter-tab .count { opacity: .6; margin-left: 6px; font-size: .82rem; }

.pb-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.pb-toolbar .filter-tabs { margin: 0; }
.pb-count { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 0; white-space: nowrap; }
.pb-count span { color: var(--gold-deep); }

.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.book-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 14px 18px; box-shadow: 0 10px 26px -18px rgba(15,26,49,.4);
  display: flex; flex-direction: column; transition: transform var(--t), box-shadow var(--t);
}
.book-card[hidden] { display: none; }
.book-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -20px rgba(15,26,49,.5); }

.book-cover {
  position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3/4;
  background: var(--cream-200); box-shadow: inset 0 0 0 1px rgba(15,26,49,.07);
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.book-card:hover .book-cover img { transform: scale(1.05); }
/* styled placeholder cover (until a real image is dropped in) */
.book-cover.ph {
  display: flex; flex-direction: column; justify-content: flex-start; padding: 20px 18px;
  color: #fff; font-family: var(--serif);
}
.book-cover .bc-top { font-family: var(--sans); font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.book-cover .bc-title { font-size: 1.3rem; line-height: 1.05; font-weight: 700; margin-top: 6px; }
.book-cover .ph-ribbon {
  position: absolute; bottom: 12px; left: 0; right: 0; text-align: center;
  font-family: var(--sans); font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

/* retailer badge (primary platform), top-right of the cover */
.book-badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: #FF9900; color: #fff;
  font-family: var(--sans); font-size: .62rem; font-weight: 700; letter-spacing: .01em;
  padding: 5px 10px; border-radius: 999px; box-shadow: 0 4px 10px -4px rgba(0,0,0,.45);
}
.book-badge svg { width: 12px; height: 12px; }
/* "Coming soon" badge (book announced but not yet published) */
.book-badge.soon { background: var(--navy); color: var(--gold-soft); }
/* store badge for non-Amazon retailers (e.g. Bookshop / IngramSpark) */
.book-badge.store { background: var(--gold); color: var(--navy); }
/* hover note for coming-soon books (no live buy link yet) */
.bh-soon { color: var(--on-navy); font-family: var(--serif); font-size: .95rem; line-height: 1.25; margin: 2px 0 0; }
.bh-soon span { display: block; color: var(--gold-soft); font-family: var(--sans); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }

/* hover reveal: platform buttons */
.book-hover {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: rgba(12,20,38,.86); padding: 14px; text-align: center;
  opacity: 0; transition: opacity var(--t);
}
.book-card:hover .book-hover, .book-card:focus-within .book-hover { opacity: 1; }
.bh-label { color: var(--on-navy-dim); font-size: .58rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 1px; }
.bh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35em;
  background: var(--gold); color: var(--navy); font-weight: 600; font-size: .72rem; line-height: 1.1;
  padding: .38em .75em; border-radius: 999px; width: 100%; max-width: 138px;
  transition: background var(--t), transform var(--t);
}
.bh-btn:hover { background: var(--gold-soft); transform: translateY(-1px); }
.bh-btn svg { width: 12px; height: 12px; }
.bh-btn .arrow { display: none; }
.bh-btn.amazon { background: #FF9900; color: #fff; }
.bh-btn.amazon:hover { background: #ffab2e; }

.book-info { padding-top: 14px; }
.book-title-txt {
  font-family: var(--serif); font-size: 1.12rem; color: var(--navy); font-weight: 600; line-height: 1.22;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.44em;
}
.book-author-txt {
  font-size: .72rem; color: var(--ink-soft); margin-top: 5px;
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* cover colour variants (placeholder covers) */
.cv-gold { background: linear-gradient(150deg, var(--gold), var(--gold-deep)); color: var(--navy); }
.cv-gold .bc-title { color: var(--navy); }
.cv-navy { background: linear-gradient(160deg, #1d2f57, #0c1730); }
.cv-teal { background: linear-gradient(155deg, #1d3a2e, #0c2018); }
.cv-plum { background: linear-gradient(155deg, #3a2440, #1c1020); }
.cv-rust { background: linear-gradient(155deg, #5a2f1f, #2a130a); }
.cv-slate { background: linear-gradient(155deg, #2a3550, #141b2c); }

/* touch devices: no hover — show the platform buttons below the cover instead */
@media (hover: none) {
  .book-hover { position: static; inset: auto; opacity: 1; background: transparent; padding: 12px 0 0; }
  .bh-label { color: var(--ink-soft); }
  .bh-btn { max-width: none; }
  .bh-btn:not(.amazon) { background: var(--cream-200); color: var(--navy); border: 1px solid var(--line); }
}

/* Published Books — title + search header row */
.pb-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 22px 32px; flex-wrap: wrap; margin-bottom: 30px;
}
.pb-head-row .eyebrow { margin-bottom: 8px; }
.pb-head-row h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 0; }
.book-search { position: relative; width: min(360px, 100%); }
.book-search input {
  width: 100%; font-family: var(--sans); font-size: .98rem; color: var(--ink);
  padding: 13px 46px 13px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  transition: border-color var(--t), box-shadow var(--t);
}
.book-search input::placeholder { color: var(--ink-soft); }
.book-search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,162,74,.18); }
.book-search .s-icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; display: flex; }
.book-search .s-icon svg { width: 18px; height: 18px; }

/* Featured banner */
.pb-banner {
  position: relative; overflow: hidden; border-radius: 22px; margin-bottom: 38px; color: var(--on-navy);
  background:
    radial-gradient(600px 320px at 82% -20%, rgba(212,162,74,.28), transparent 60%),
    linear-gradient(160deg, #14213d, #0c1730);
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 24px; align-items: center;
  padding: clamp(26px, 4vw, 46px); box-shadow: var(--shadow);
}
/* faint contour texture (Harmony-style) drawn over the navy field */
.pb-banner::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    repeating-radial-gradient(circle at 78% 42%, transparent 0 26px, rgba(212,162,74,.05) 26px 27px),
    repeating-radial-gradient(circle at 20% 88%, transparent 0 34px, rgba(255,255,255,.03) 34px 35px);
}
.pb-banner-glow { position: absolute; z-index: 0; right: 2%; top: 50%; transform: translateY(-50%); width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(212,162,74,.22), transparent 62%); pointer-events: none; }
.pb-banner-text { position: relative; z-index: 2; }
.pb-banner-text h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 10px; }
.pb-banner-text p { color: var(--on-navy-dim); max-width: 420px; margin-bottom: 16px; }
.pb-banner-brand { font-family: var(--serif); color: var(--gold-soft); font-size: 1.15rem; font-style: italic; }
/* production mockup (3D cover + interior spread) floating on the panel */
.pb-banner-mock { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; }
.pb-banner-mock img {
  width: 100%; max-width: 560px; height: auto; display: block;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.32));
}
.pb-banner-books { display: flex; gap: 14px; justify-content: center; align-items: center; }
.pb-banner-books .book-mock { width: clamp(74px, 11vw, 104px); aspect-ratio: 2/3; padding: 12px 11px; box-shadow: 0 18px 34px -16px rgba(0,0,0,.6); }
.pb-banner-books .book-mock .bm-top { font-size: .5rem; }
.pb-banner-books .book-mock .bm-title { font-size: .92rem; }
.pb-banner-books .book-mock .bm-author { font-size: .56rem; }
.pb-banner-books .book-mock:nth-child(1) { transform: rotate(-6deg); }
.pb-banner-books .book-mock:nth-child(2) { transform: translateY(-10px); z-index: 2; }
.pb-banner-books .book-mock:nth-child(3) { transform: rotate(6deg); }
/* real cover images fanned in the banner */
.pb-banner-books img {
  width: clamp(84px, 12vw, 118px); aspect-ratio: 2/3; object-fit: cover;
  border-radius: 8px; box-shadow: 0 18px 34px -16px rgba(0,0,0,.65);
}
.pb-banner-books img:nth-child(1) { transform: rotate(-6deg); }
.pb-banner-books img:nth-child(2) { transform: translateY(-12px) scale(1.06); z-index: 2; box-shadow: 0 26px 40px -18px rgba(0,0,0,.7); }
.pb-banner-books img:nth-child(3) { transform: rotate(6deg); }

.no-results { text-align: center; color: var(--ink-soft); font-family: var(--serif); font-size: 1.3rem; padding: 30px 0; }
.no-results[hidden] { display: none; }

@media (max-width: 760px) {
  .pb-banner { grid-template-columns: 1fr; text-align: center; }
  .pb-banner-text p { margin-inline: auto; }
  .book-search { width: 100%; }
  .pb-head-row { align-items: flex-start; }
}

/* ============================================================
   RESOURCES / BLOG
   ============================================================ */
.p-cat {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  font-family: var(--sans); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(0,0,0,.3); padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(2px);
}
.post-thumb, .fp-thumb {
  position: relative; display: flex; align-items: flex-end; color: #fff; font-family: var(--serif);
}
.post-thumb .th-title, .fp-thumb .th-title { font-size: 1.5rem; font-weight: 700; line-height: 1.05; }

/* Featured post */
.feature-post {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 0; margin-bottom: 36px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.feature-post .fp-thumb { min-height: 300px; padding: 28px; }
.feature-post .fp-thumb .th-title { font-size: 2rem; }
.fp-body { padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.fp-badge { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.fp-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.fp-body p { color: var(--ink-soft); margin-bottom: 18px; }
.post-meta { font-size: .78rem; color: var(--ink-soft); letter-spacing: .02em; }

/* Post grid */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform var(--t), box-shadow var(--t);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16/9; padding: 16px; }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-body .post-meta { margin-bottom: 8px; }
.post-body h3 { font-size: 1.28rem; margin-bottom: 8px; }
.post-body p { color: var(--ink-soft); font-size: .95rem; flex: 1; margin-bottom: 14px; }

/* thumb colours */
.th-gold { background: linear-gradient(150deg, var(--gold), var(--gold-deep)); color: var(--navy); }
.th-navy { background: linear-gradient(160deg, #1d2f57, #0c1730); }
.th-teal { background: linear-gradient(155deg, #1d3a2e, #0c2018); }
.th-plum { background: linear-gradient(155deg, #3a2440, #1c1020); }
.th-rust { background: linear-gradient(155deg, #5a2f1f, #2a130a); }

/* Blog: centered header (reference style) */
.blog-head { text-align: center; max-width: 720px; margin-inline: auto; padding-block: clamp(40px, 6vw, 68px) 0; }
.blog-head h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin: 0; }
.blog-head h1 em { font-style: italic; color: var(--gold-deep); }
.blog-tagline { font-family: var(--sans); font-weight: 600; color: var(--gold-deep); margin: 12px 0 6px; letter-spacing: .01em; }
.blog-sub { color: var(--ink-soft); font-size: 1.08rem; max-width: 520px; margin-inline: auto; }

/* Category tabs */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }

/* Post byline */
.post-byline { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--ink-soft); margin-top: auto; padding-top: 10px; letter-spacing: .01em; }
.post-byline .dot { opacity: .5; }
.fp-body .post-byline { margin-top: 4px; padding-top: 0; }

/* Coming-soon */
.post-soon { position: absolute; top: 12px; right: 12px; z-index: 1; background: rgba(255,255,255,.92); color: var(--ink-soft); font-family: var(--sans); font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.post-card.is-soon { cursor: default; }
.post-card.is-soon:hover { transform: none; box-shadow: none; }
.post-card.is-soon .post-thumb { filter: saturate(.7); }

/* Pagination */
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 46px; flex-wrap: wrap; }
.pager button {
  font-family: var(--sans); font-weight: 600; font-size: .92rem; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .6em 1.3em; cursor: pointer;
  transition: border-color var(--t), background var(--t), color var(--t);
}
.pager button:hover:not([disabled]) { border-color: var(--gold); }
.pager button[disabled] { opacity: .45; cursor: default; }
.pager .page-info { color: var(--ink-soft); font-size: .92rem; }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-head { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; text-align: center; padding-block: clamp(46px, 6vw, 82px); }
.article-head .crumbs { display: flex; justify-content: center; }
.article-head .p-cat-inline { color: var(--gold-soft); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.article-head h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.1rem); margin: 12px 0 0; }
.article-meta { color: var(--on-navy-dim); font-size: .9rem; margin-top: 16px; }
.article-meta b { color: var(--gold-soft); font-weight: 600; }

.article-body { max-width: 720px; margin-inline: auto; font-size: 1.09rem; line-height: 1.75; color: var(--ink); }
.article-body .lead { font-family: var(--serif); font-size: 1.34rem; line-height: 1.45; color: var(--navy); margin-bottom: 1.1em; }
.article-body h2 { font-size: 1.7rem; margin: 1.7em 0 .5em; }
.article-body h3 { font-size: 1.28rem; margin: 1.4em 0 .35em; }
.article-body p { margin: 0 0 1.15em; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.article-body li { margin-bottom: .5em; }
.article-body strong { color: var(--navy); font-weight: 600; }
.article-body blockquote {
  margin: 1.5em 0; padding: 8px 0 8px 22px; border-left: 3px solid var(--gold);
  font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.3; color: var(--navy);
}
.article-cta {
  margin: 40px auto 0; max-width: 720px; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px);
  background: linear-gradient(150deg, rgba(212,162,74,.14), rgba(212,162,74,.05)); border: 1px solid rgba(212,162,74,.4);
}
.article-cta h3 { color: var(--navy); margin-bottom: 6px; }
.article-cta p { color: var(--ink-soft); margin: 0 0 14px; }
.article-back { max-width: 720px; margin: 28px auto 0; }
.article-back a { color: var(--gold-deep); font-weight: 600; }

@media (max-width: 820px) {
  .feature-post { grid-template-columns: 1fr; }
  .feature-post .fp-thumb { min-height: 200px; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-photo {
  position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/5; width: 100%;
  display: grid; place-items: center;
  background:
    radial-gradient(340px 300px at 70% 15%, rgba(212,162,74,.32), transparent 62%),
    linear-gradient(155deg, #17264a, #0c1730);
  box-shadow: 0 30px 60px -26px rgba(0,0,0,.7); border: 1px solid var(--navy-700);
}
.about-photo img { width: 52%; opacity: .95; }
.about-photo.has-photo { place-items: stretch; }
.about-photo.has-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.about-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px;
  background: linear-gradient(transparent, rgba(8,14,26,.9)); color: #fff; text-align: left;
}
.about-caption .n { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.about-caption .r { font-size: .8rem; color: var(--gold-soft); letter-spacing: .02em; }

.pullquote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.3; color: var(--navy); max-width: 760px; margin: 8px auto; text-align: center;
}
.pullquote span { color: var(--gold-deep); }

.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cred {
  background: var(--navy-800); border: 1px solid var(--navy-700); border-radius: var(--radius);
  padding: 24px 22px; text-align: center;
}
.cred .ico { width: 44px; height: 44px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 12px; background: rgba(212,162,74,.14); color: var(--gold-soft); }
.cred .ico svg { width: 22px; height: 22px; }
.cred h4 { font-family: var(--serif); color: var(--gold-soft); font-size: 1.15rem; margin: 0 0 4px; }
.cred p { color: var(--on-navy-dim); font-size: .86rem; margin: 0; }

.human-note {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 4vw, 52px); align-items: center;
}
.human-note .hn-photo { border-radius: 18px; aspect-ratio: 1/1; }

@media (max-width: 820px) {
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .human-note { grid-template-columns: 1fr; }
}

/* ============================================================
   PRICING & CONTACT
   ============================================================ */
.tier-grid.three { grid-template-columns: repeat(3, 1fr); }
.tier .popular { position: absolute; top: 16px; right: 16px; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: 4px 10px; border-radius: 999px; }
.tier { position: relative; }
.price-note {
  text-align: center; max-width: 660px; margin: 0 auto 34px; color: var(--ink-soft); font-size: .95rem;
  background: rgba(212,162,74,.08); border: 1px solid rgba(212,162,74,.35); border-radius: var(--radius); padding: 14px 18px;
}
.price-note b { color: var(--navy); }

.perdel { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.perdel li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.perdel .pd-name { font-weight: 500; color: var(--ink); }
.perdel .pd-price { font-family: var(--serif); color: var(--gold-deep); font-weight: 700; white-space: nowrap; }

.quote-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 0; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.contact-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-navy-dim); font-size: .96rem; }
.contact-list .ci { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(212,162,74,.14); color: var(--gold-soft); }
.contact-list .ci svg { width: 18px; height: 18px; }
.contact-list b { color: #fff; display: block; font-family: var(--sans); }
.contact-list a { color: var(--gold-soft); }

@media (max-width: 900px) {
  .tier-grid.three { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   AUTHOR TOOLKIT — calculators
   ============================================================ */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 34px); align-items: start; }
.calc-inputs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.calc-inputs h3 { margin-bottom: 4px; }
.calc-inputs .form-grid { margin-top: 18px; }

.unit-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.unit-toggle button { padding: 7px 16px; background: #fff; border: 0; cursor: pointer; font-family: var(--sans); font-weight: 600; font-size: .86rem; color: var(--ink-soft); transition: background var(--t), color var(--t); }
.unit-toggle button.active { background: var(--navy); color: #fff; }

.calc-results {
  position: sticky; top: 92px; color: var(--on-navy); border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(500px 300px at 85% -10%, rgba(212,162,74,.22), transparent 60%), var(--navy);
  border: 1px solid var(--navy-700); padding: clamp(24px, 3vw, 34px);
}
.calc-results .eyebrow { color: var(--gold-soft); }
.calc-results h3 { color: #fff; }
.result-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--navy-700); }
.result-row:last-of-type { border-bottom: 0; }
.result-row .rl { color: var(--on-navy-dim); font-size: .95rem; }
.result-row .rl small { display: block; color: var(--on-navy-dim); opacity: .7; font-size: .76rem; }
.result-row .rv { font-family: var(--serif); font-size: 1.7rem; color: var(--gold-soft); white-space: nowrap; line-height: 1; }
.calc-summary { margin-top: 20px; background: rgba(212,162,74,.12); border: 1px solid rgba(212,162,74,.4); border-radius: 12px; padding: 16px 18px; color: #fff; font-size: .95rem; }
.calc-summary b { color: var(--gold-soft); }
.calc-flag { margin-top: 14px; font-size: .88rem; color: var(--on-navy-dim); display: flex; gap: 8px; align-items: flex-start; }
.calc-flag.ok { color: #8fd3a8; }
.calc-flag.no { color: #e6b98f; }

.guardrail {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 26px;
  background: var(--cream-200); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  color: var(--ink-soft); font-size: .9rem;
}
.guardrail b { color: var(--navy); }

/* Actual-size book preview */
.size-preview { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 2.4vw, 26px); max-width: 520px; }
.sp-head { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.sp-head span { display: block; margin-top: 4px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink-soft); font-size: .82rem; }
.sp-stage {
  margin-top: 14px; display: flex; justify-content: center; align-items: center;
  padding: 20px; min-height: 200px; background: var(--cream-200); border-radius: 12px;
}
.sp-book {
  position: relative; flex: 0 0 auto; background: #fff;
  border: 1px solid var(--navy-700); border-left: 3px solid var(--navy);
  box-shadow: 0 16px 34px -14px rgba(15,26,49,.45);
}
.sp-textarea { position: absolute; border: 1px dashed var(--gold-deep); background: rgba(212,162,74,.06); }
.sp-caption { text-align: center; margin-top: 14px; font-family: var(--serif); color: var(--navy); font-size: 1.15rem; }
.sp-caption small { display: block; font-family: var(--sans); color: var(--ink-soft); font-size: .8rem; margin-top: 3px; }
.sp-legend { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 12px; font-size: .78rem; color: var(--ink-soft); }
.sp-legend i { display: inline-block; width: 22px; height: 0; vertical-align: middle; margin-right: 6px; }
.sp-legend .l-trim { border-top: 3px solid var(--navy); }
.sp-legend .l-text { border-top: 2px dashed var(--gold-deep); }
.sp-legend .l-spine { border-top: 6px solid var(--gold-deep); }
.sp-legend .l-bleed { border-top: 6px solid rgba(212,162,74,.35); }

/* Cover full-wrap preview */
.sp-wrap {
  position: relative; flex: 0 0 auto; background: rgba(212,162,74,.22);
  border: 1px solid var(--gold-deep); box-shadow: 0 16px 34px -14px rgba(15,26,49,.45);
}
.sp-trim { position: absolute; display: flex; }
.sp-face { position: relative; background: #fff; border: 1px solid var(--navy-700); box-sizing: border-box; overflow: hidden; }
.sp-flabel { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); font-family: var(--sans); font-size: .56rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.sp-safe { position: absolute; inset: 5px; border: 1px dashed var(--gold-deep); pointer-events: none; }
.sp-barcode { position: absolute; left: 6px; bottom: 6px; width: 30px; height: 15px; background: repeating-linear-gradient(90deg,#2a2a2a 0 1px,#fff 1px 2.4px); border: 1px solid #999; }
.sp-spine2 { position: relative; background: linear-gradient(var(--gold), var(--gold-deep)); box-sizing: border-box; }

/* numbered callouts on the cover diagram */
.cbadge {
  position: absolute; z-index: 4; width: 18px; height: 18px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--sans); font-size: .62rem; font-weight: 700;
  display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.cbadge.b1 { top: -9px; left: -9px; }              /* bleed — outer top-left */
.cbadge.b2 { top: -9px; left: calc(50% - 9px); }   /* spine — top centre */
.cbadge.b3 { top: 6px; right: 6px; }               /* trim — front top-right */
.cbadge.b4 { top: 46%; left: 72%; }                /* safe area — front */
.cbadge.b5 { bottom: 16%; left: 9%; }              /* barcode — back */
.cbadge.b6 { top: -9px; left: 22%; }               /* wrap — outer band (hardcover) */
.cbadge.b7 { top: 30%; left: 55%; }                /* hinge — beside spine (hardcover) */
.sp-hinge { background: repeating-linear-gradient(0deg, rgba(15,26,49,.28) 0 3px, transparent 3px 6px); box-sizing: border-box; }

/* numbered dimensions table (cover results) */
.dim-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.dim-table td { padding: 9px 0; border-bottom: 1px solid var(--navy-700); vertical-align: baseline; }
.dim-table tr:last-child td { border-bottom: 0; }
.dim-table .dn { width: 22px; color: var(--gold-soft); font-family: var(--sans); font-weight: 700; font-size: .8rem; }
.dim-table .dd { color: var(--on-navy-dim); font-size: .92rem; }
.dim-table .dv { text-align: right; font-family: var(--serif); color: #fff; font-size: 1.08rem; white-space: nowrap; }

/* diagram key */
.sp-key { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; text-align: left; max-width: 440px; margin-inline: auto; }
.sp-key li { font-size: .84rem; color: var(--ink-soft); display: flex; gap: 9px; align-items: flex-start; }
.sp-key b { color: var(--navy); font-weight: 600; }
.sp-key .kn { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .6rem; font-weight: 700; display: inline-grid; place-items: center; margin-top: 1px; }

.send-specs { margin-top: 30px; }
.spec-recap { background: var(--cream-200); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 22px; }
.spec-recap .recap-title { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 12px; }
.spec-recap ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.spec-recap li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: .9rem; border-bottom: 1px dashed var(--line); padding-bottom: 9px; }
.spec-recap li span { color: var(--ink-soft); }
.spec-recap li b { color: var(--navy); font-family: var(--serif); font-size: 1.06rem; white-space: nowrap; }
@media (max-width: 560px) { .spec-recap ul { grid-template-columns: 1fr; } }

/* AI Book-Idea Checker */
.idea-error { display: none; color: #b4432f; font-size: .9rem; margin-top: 10px; font-weight: 500; }
.idea-result {
  display: none; margin-top: 26px; color: var(--on-navy); border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(500px 300px at 85% -10%, rgba(212,162,74,.22), transparent 60%), var(--navy);
  border: 1px solid var(--navy-700); padding: clamp(24px, 3vw, 36px);
}
.idea-result.show { display: block; }
.idea-result .eyebrow { color: var(--gold-soft); }
.idea-result h3 { color: #fff; margin-bottom: 10px; }
.idea-result p { color: var(--on-navy-dim); margin-bottom: 12px; }
.idea-result b { color: #fff; }
.idea-rec { color: #fff !important; font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; margin: 16px 0 !important; }
.idea-rec b { color: var(--gold-soft); }
.idea-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 6px; }
.idea-links .btn { background: transparent; color: var(--gold-soft); border-color: rgba(212,162,74,.5); }
.idea-links .btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.idea-modest { font-size: .9rem; margin-top: 16px !important; }
.idea-modest a { color: var(--gold-soft); font-weight: 600; }

@media (max-width: 820px) {
  .calc { grid-template-columns: 1fr; }
  .calc-results { position: static; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #0B1424; color: var(--on-navy-dim); padding-block: 58px 30px; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot-brand .brand { color: #fff; margin-bottom: 14px; }
.foot-brand p { font-size: .95rem; max-width: 340px; }
.foot-nostock { color: var(--gold-soft); font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.foot-col h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 9px; }
.foot-col a { font-size: .94rem; transition: color var(--t); }
.foot-col a:hover { color: var(--gold-soft); }
.foot-trust {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--navy-700);
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
  font-size: .86rem; color: var(--on-navy-dim);
}
.foot-trust .badge { color: var(--gold-soft); }
.foot-bottom {
  margin-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .84rem; color: #6C7A93;
}
.foot-bottom a:hover { color: var(--gold-soft); }

/* placeholder marker style (dev aid) */
[data-placeholder] { position: relative; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-left { max-width: none; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .social-rail { right: -14px; }
}
@media (max-width: 900px) {
  .path-grid, .steps, .res-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .plat-row { grid-template-columns: repeat(3, 1fr); }
  .case { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }

  .lane-hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .lane-hero-text { max-width: none; }
  .lane-hero-visual { max-width: 460px; }
  .offer { grid-template-columns: 1fr; gap: 20px; }
  .offer-aside { position: static; }
  .tier-grid, .duo-grid, .toolkit-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 26px; text-align: left; }
  .timeline .tl-step { display: grid; grid-template-columns: 46px 1fr; gap: 14px; text-align: left; align-items: start; }
  .timeline .tl-dot { margin: 0; }
  .timeline .tl-step::after { display: none; }
  .pf-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
}

/* Nav collapses to a hamburger below 1024px so the full bar never overflows/clips */
@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-cta-mobile { display: block; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--navy-800);
    border-bottom: 1px solid var(--navy-700); padding: 8px var(--gutter) 18px;
  }
  .nav.open .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--navy-700); width: 100%; }
  .nav.open .nav-links .nav-cta-mobile a { color: var(--gold-soft); font-weight: 600; border-bottom: 0; }
  .site-header .nav { position: relative; }
}
@media (max-width: 560px) {
  .plat-row { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 auto; justify-content: center; }
  .cover { min-height: 150px; }
  .cover .c-title { font-size: 1.2rem; }
  .hero-seal { width: 84px; height: 84px; left: -8px; bottom: -12px; }
  .hero-seal .seal-big { font-size: 1.4rem; }
  .social-rail a { width: 32px; height: 32px; font-size: .72rem; }
}

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