/* The Sales Bottleneck Finder — shared stylesheet
   Warm, book-like, editorial. No frameworks, system fonts only. */

:root {
  color-scheme: light;

  --paper: #faf6ef;
  --paper-deep: #f3ecdf;
  --paper-card: #fffdf8;
  --ink: #231d16;
  --ink-soft: #4a4238;
  --muted: #6d6355;          /* 5.4:1 on paper — AA for body text */
  --line: #e4dbcb;
  --line-soft: #eee6d7;
  --accent: #a8551c;         /* deep amber / copper */
  --accent-dark: #8a4517;
  --accent-wash: #f6e7d8;
  --accent-tint: rgba(168, 85, 28, 0.14);

  --max: 40rem;
  --serif: Charter, "Bitstream Charter", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.6, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  /* paper tone: light falling from the top of the sheet, a warm bloom to
     one side, and the faintest laid texture — pure gradients, no requests */
  background-image:
    linear-gradient(180deg, rgba(255, 255, 252, 0.85) 0, rgba(255, 255, 252, 0) 440px),
    radial-gradient(1150px 520px at 84% 90px, rgba(228, 213, 190, 0.4), rgba(228, 213, 190, 0) 72%),
    repeating-linear-gradient(0deg, rgba(35, 29, 22, 0.013) 0 1px, rgba(35, 29, 22, 0) 1px 4px);
  background-repeat: no-repeat, no-repeat, repeat;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.62;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent-tint);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- layout ---------- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { margin: 3.5rem 0; }
section > *:first-child { margin-top: 0; }

header.site {
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
}

header.site .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-style: italic;
  font-size: 1.02rem;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.wordmark::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.55rem;
  background: var(--accent);
  transform: rotate(45deg) translateY(-0.05rem);
  transition: transform 200ms var(--ease);
}
.wordmark:hover { color: var(--accent-dark); }
.wordmark:hover::before { transform: rotate(135deg) translateY(-0.05rem); }

.toplink {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.015em;
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15rem;
  white-space: nowrap;
  transition: border-color 140ms var(--ease), color 140ms var(--ease);
}
.toplink:hover { border-bottom-color: var(--accent); }

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 5rem;
  padding: 2.25rem 0 3.5rem;
  font-family: var(--sans);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--muted);
}
footer.site a {
  color: var(--muted);
  text-decoration-color: var(--line);
  text-underline-offset: 0.18em;
}
footer.site a:hover { color: var(--accent-dark); text-decoration-color: currentColor; }
footer.site p { margin: 0.45rem 0; }
footer.site p:first-child { color: var(--ink-soft); margin-bottom: 0.9rem; }
footer.site p:first-child a { color: var(--accent-dark); text-decoration-color: rgba(168, 85, 28, 0.4); }

/* ---------- type ---------- */

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 5.6vw, 2.7rem);
  line-height: 1.1;
  margin: 0 0 1.1rem;
}
h2 {
  font-size: clamp(1.38rem, 3.2vw, 1.7rem);
  line-height: 1.24;
  margin: 3rem 0 0.85rem;
}
h3 {
  font-size: 1.12rem;
  line-height: 1.35;
  margin: 1.75rem 0 0.5rem;
}

/* a quiet copper tick above each section heading */
main > section > h2:first-child::before {
  content: "";
  display: block;
  width: 1.6rem;
  height: 2px;
  margin-bottom: 0.95rem;
  background: var(--accent);
  opacity: 0.5;
}

p { margin: 0 0 1.05rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

em { font-style: italic; }

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  text-decoration-color: rgba(168, 85, 28, 0.42);
  transition: text-decoration-color 140ms var(--ease);
}
a:hover { text-decoration-color: currentColor; }

.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.95rem;
  line-height: 1.5;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  margin-right: 0.7rem;
  vertical-align: 0.32em;
  background: var(--accent);
  opacity: 0.55;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.smallprint {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}

hr.rule {
  border: 0;
  height: 1px;
  margin: 3.25rem 0;
  background: linear-gradient(90deg,
    rgba(228, 219, 203, 0) 0%,
    var(--line) 16%,
    var(--line) 84%,
    rgba(228, 219, 203, 0) 100%);
}

ul.booklist {
  list-style: none;
  padding-left: 1.35rem;
  margin: 0 0 1rem;
}
ul.booklist li {
  position: relative;
  margin: 0 0 0.8rem;
}
ul.booklist li::before {
  content: "";
  position: absolute;
  left: -1.35rem;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--accent);
  opacity: 0.7;
  transform: rotate(45deg);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.3;
  text-align: center;
  background: var(--accent);
  color: #fdfaf4;
  border: 1px solid var(--accent);
  border-radius: 7px;
  padding: 0.85rem 1.7rem;
  text-decoration: none;
  cursor: pointer;
  min-height: 48px;
  box-shadow: 0 1px 1px rgba(35, 29, 22, 0.08), 0 10px 22px -16px rgba(35, 29, 22, 0.7);
  transition: background 140ms var(--ease), border-color 140ms var(--ease),
              box-shadow 160ms var(--ease), transform 140ms var(--ease);
}
.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 3px rgba(35, 29, 22, 0.1), 0 14px 26px -16px rgba(35, 29, 22, 0.75);
}
.btn:active {
  transform: translateY(0);
  box-shadow: inset 0 1px 3px rgba(35, 29, 22, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-dark);
  border-color: rgba(168, 85, 28, 0.4);
  box-shadow: none;
}
.btn-ghost:hover {
  background: var(--accent-wash);
  border-color: var(--accent);
  color: var(--accent-dark);
  box-shadow: none;
  transform: translateY(-1px);
}
.btn-ghost:active { box-shadow: inset 0 1px 3px rgba(35, 29, 22, 0.12); }

.btn-small {
  font-size: 0.9rem;
  padding: 0.6rem 1.15rem;
  min-height: 44px;
}

/* ---------- hero ---------- */

.hero { padding: 4.5rem 0 1.25rem; }
.hero h1 {
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.024em;
  margin-bottom: 1.25rem;
}
.hero p.sub {
  font-size: 1.3rem;
  line-height: 1.48;
  color: var(--ink-soft);
  max-width: 30rem;
  margin: 0 0 2.1rem;
  text-wrap: balance;
}
.hero .smallprint {
  margin: 1.1rem 0 0;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

/* ---------- nine-stage path map ---------- */

ol.path {
  --rail-x: 0.9rem;      /* centre line of the number discs */
  --disc: 1.8rem;
  --rail-gap: 0.9rem;    /* exactly half a disc, so the line meets its edge */
  list-style: none;
  margin: 2.1rem 0 1.6rem;
  padding: 0;
}

ol.path li { position: relative; }

/* the rail: two hairline segments per row, stopping short of the disc */
ol.path li::before,
ol.path li::after {
  content: "";
  position: absolute;
  left: calc(var(--rail-x) - 0.5px);
  width: 1px;
  background: var(--line);
}
ol.path li::before { top: 0; bottom: calc(50% + var(--rail-gap)); }
ol.path li::after { top: calc(50% + var(--rail-gap)); bottom: 0; }
ol.path li:first-child::before,
ol.path li:last-child::after { content: none; }

.path-node {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 0.95rem 0.6rem 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ink-soft);
}

.path-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--disc);
  height: var(--disc);
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  transition: background 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.path-name { flex: 1 1 auto; min-width: 0; }

.path-score {
  flex: 0 0 auto;
  font-size: 0.8rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.path-score[hidden] { display: none; }

/* on result pages a dotted leader carries the eye out to the score,
   the way a well-set table of contents does */
ol.path li:has(.path-score:not([hidden])) .path-name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
ol.path li:has(.path-score:not([hidden])) .path-name::after {
  content: "";
  flex: 1 1 auto;
  height: 0;
  border-bottom: 1px dotted var(--line);
  transform: translateY(0.3em);
}

/* the stage this page is about */
li.is-current .path-node {
  /* wash begins clear of the rail so the line still reads through */
  background-image: linear-gradient(90deg,
    rgba(246, 231, 216, 0) 0,
    rgba(246, 231, 216, 0) 1.85rem,
    var(--accent-wash) 2.45rem,
    var(--accent-wash) 100%);
  border-radius: 0 9px 9px 0;
  color: var(--ink);
}
li.is-current .path-name { font-weight: 700; color: var(--ink); }
li.is-current .path-num {
  background: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
  color: #fdfaf4;
}
li.is-current .path-score { color: var(--accent-dark); font-weight: 600; }
li.is-current::before,
li.is-current::after { background: var(--accent); opacity: 0.4; }
li.is-current:has(.path-score:not([hidden])) .path-name::after {
  border-bottom-color: rgba(168, 85, 28, 0.35);
}

/* the stage that scored highest */
li.is-strong .path-num {
  box-shadow: inset 0 0 0 1.5px var(--accent);
  color: var(--accent-dark);
}
li.is-strong .path-name { color: var(--ink); }
li.is-strong .path-score { color: var(--accent-dark); }

.map-note {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-left: 1.05rem;
  border-left: 2px solid rgba(168, 85, 28, 0.25);
}
.map-note strong { color: var(--ink); }

/* ---------- quiz ---------- */

/* the quiz shell takes focus on every question so screen readers follow
   along — that is a programmatic move, not a visible one */
#quiz-root:focus,
#quiz-root:focus-visible { outline: none; }

.progress-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.65rem;
}

.progress {
  height: 4px;
  background: var(--paper-deep);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(35, 29, 22, 0.04);
  overflow: hidden;
}
.progress > div {
  height: 100%;
  width: 0%;
  min-width: 4px;        /* a mark at the start, so the bar reads as a bar */
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  transition: width 340ms var(--ease);
}

/* question → question transition */
.q-stage { transition: opacity 150ms var(--ease), transform 150ms var(--ease); }
.q-stage.is-leaving { opacity: 0; transform: translateY(-7px); }
.q-stage[data-dir="back"].is-leaving { transform: translateY(7px); }
.q-stage.is-entering { animation: q-enter 190ms var(--ease) both; }
.q-stage[data-dir="back"].is-entering { animation: q-enter-back 190ms var(--ease) both; }

@keyframes q-enter {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: none; }
}
@keyframes q-enter-back {
  from { opacity: 0; transform: translateY(-9px); }
  to { opacity: 1; transform: none; }
}

.question-text {
  font-size: clamp(1.4rem, 4.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.014em;
  margin: 1.9rem 0 0.6rem;
}

.quiz-hint {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin: 0 0 1.4rem;
}

.options { display: grid; gap: 0.6rem; margin: 0 0 1.75rem; }

.option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.85rem;
  width: 100%;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.45;
  background: var(--paper-card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  min-height: 48px;
  box-shadow: 0 1px 1px rgba(35, 29, 22, 0.03);
  transition: border-color 120ms var(--ease), background 120ms var(--ease),
              box-shadow 140ms var(--ease), transform 120ms var(--ease);
}

.option-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  margin-top: 0.06rem;
  border-radius: 50%;
  background: var(--paper-deep);
  box-shadow: inset 0 0 0 1px rgba(35, 29, 22, 0.05);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background 120ms var(--ease), color 120ms var(--ease);
}

.option:hover {
  border-color: rgba(168, 85, 28, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 2px 12px -8px rgba(35, 29, 22, 0.6);
}
.option:hover .option-key { background: var(--accent-wash); color: var(--accent-dark); }
.option:active { transform: translateY(0); }

.option.is-selected {
  border-color: var(--accent);
  background: var(--accent-wash);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.option.is-selected .option-key { background: var(--accent); color: #fdfaf4; }

.option:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.15rem;
}
.quiz-nav > :last-child { margin-left: auto; }

.kbd-hint {
  display: none;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
  text-align: right;
}
/* the shortcut hint is only useful — and only fits — where there's a keyboard */
@media (hover: hover) and (pointer: fine) and (min-width: 561px) {
  .kbd-hint { display: block; }
}

kbd {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 0.05rem 0.32rem;
}

/* ---------- result pages ---------- */

.diagnosis h1 { margin-bottom: 1.1rem; }
.diagnosis h1 .stage-word { color: var(--accent); }
.diagnosis .lede { margin-top: 1.2rem; }

#tie-note {
  font-style: italic;
  padding-left: 0.95rem;
  border-left: 2px solid var(--accent-wash);
  margin: 0 0 1.2rem;
}

.falsefix {
  margin: 0 0 1.15rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--line);
  color: var(--ink-soft);
}
.falsefix strong { color: var(--accent-dark); }

.cardbox {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.6rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 2px rgba(35, 29, 22, 0.03), 0 20px 36px -30px rgba(35, 29, 22, 0.75);
}
.cardbox .cardbox-label {
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.5;
  margin: 0 0 1.05rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.cardbox p:last-child { margin-bottom: 0; }
.cardbox ol, .cardbox ul { margin: 0.5rem 0 0.9rem; padding-left: 1.4rem; }
.cardbox li { margin-bottom: 0.4rem; }
.cardbox ol li::marker { color: var(--accent); font-weight: 700; }

/* share box */

.sharebox {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.6rem 1.6rem 1.7rem;
  margin: 1.5rem 0;
}
.sharebox blockquote {
  margin: 0 0 1.3rem;
  font-size: 1.22rem;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
  text-indent: -0.36em;   /* hang the opening quote mark */
}
.sharebox blockquote .stage-word { color: var(--accent); font-weight: 700; }
.share-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.share-status {
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--accent-dark);
  margin: 0.85rem 0 0;
  min-height: 1.3em;
}

/* book cta */

.bookcta {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.7rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 2px rgba(35, 29, 22, 0.03), 0 20px 36px -30px rgba(35, 29, 22, 0.75);
}
.bookcta .btn { margin-top: 0.75rem; }
.bookcta p { margin-bottom: 0.6rem; }

/* CSS book cover */

.bookcover {
  flex: 0 0 auto;
  width: 122px;
  height: 183px;
  border-radius: 3px 8px 8px 3px;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #2c231a 0%, #40311f 55%, #322619 100%);
  color: #f3e8d5;
  box-shadow:
    3px 5px 14px rgba(35, 29, 22, 0.3),
    inset 7px 0 9px -7px rgba(0, 0, 0, 0.75),
    inset 0 0 0 1px rgba(243, 232, 213, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.95rem 0.75rem;
  text-align: center;
}
.bookcover .bc-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.005em;
}
.bookcover .bc-rule {
  width: 1.9rem;
  height: 2px;
  background: var(--accent);
  margin: 0.5rem auto 0;
}
.bookcover .bc-sub {
  font-family: var(--sans);
  font-size: 0.53rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.75;
}
.bookcover .bc-author {
  font-size: 0.64rem;
  font-style: italic;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

/* email capture */

.report-form-wrap { margin: 1.5rem 0; }
.report-form-wrap form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.report-form-wrap input[type="email"] {
  flex: 1 1 14rem;
  font-family: var(--serif);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-card);
  color: var(--ink);
  min-height: 48px;
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}
.report-form-wrap input[type="email"]::placeholder { color: var(--muted); opacity: 0.8; }
.report-form-wrap input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

/* ---------- small screens ---------- */

@media (max-width: 560px) {
  body { font-size: 1.06rem; }
  .wrap { padding: 0 1.15rem; }
  section { margin: 2.9rem 0; }
  footer.site { margin-top: 3.75rem; }

  .hero { padding: 2.75rem 0 0.5rem; }
  .hero p.sub { font-size: 1.15rem; margin-bottom: 1.8rem; }
  .hero .btn { width: 100%; }

  .wordmark { font-size: 0.95rem; }
  header.site .wrap { gap: 0.75rem; }

  /* comfortable tap targets for the header links without shifting the type
     off its baseline */
  .wordmark, .toplink { position: relative; }
  .wordmark::after, .toplink::after {
    content: "";
    position: absolute;
    inset: -0.72rem -0.4rem;
  }

  ol.path { --disc: 1.7rem; --rail-x: 0.85rem; --rail-gap: 0.85rem; }
  .path-node { font-size: 0.92rem; gap: 0.7rem; padding-right: 0.65rem; }
  li.is-current .path-node {
    background-image: linear-gradient(90deg,
      rgba(246, 231, 216, 0) 0,
      rgba(246, 231, 216, 0) 1.75rem,
      var(--accent-wash) 2.3rem,
      var(--accent-wash) 100%);
  }

  .cardbox { padding: 1.25rem 1.2rem; }
  .sharebox { padding: 1.3rem 1.2rem 1.4rem; }
  .bookcta { flex-direction: column; padding: 1.35rem 1.2rem; gap: 1.3rem; }
  .bookcta > .bookcover { align-self: center; }

  .share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .share-actions .btn { padding: 0.55rem 0.7rem; font-size: 0.86rem; }

  .report-form-wrap form .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- skip link ---------- */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  padding: 0.65rem 1.1rem;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }
