/* ==========================================================================
   One Nation Divided by God — longingforabettercountry.com

   Concept: the site is the book. Deep navy is the cover; the one cream panel
   is a page from inside it. The recurring hairline-and-star divider echoes the
   rule device on the jacket.

   Type is set larger than usual throughout. The paperback is a large-print
   edition, which tells you who is expected to read this.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette sampled from the jacket. Every pairing used for text below has
     been checked; body combinations clear WCAG AAA. */
  --ink:            #0E1628;
  --ink-raised:     #18243F;
  --ink-line:       #2A3757;
  --gold:           #C8A45C;   /* 7.66:1 on --ink  */
  --gold-bright:    #E3C489;   /* 10.76:1 on --ink */
  --gold-ink:       #7E6427;   /* 5.29:1 on --page — safe at body size */
  --parchment:      #F4EFE3;   /* 15.72:1 on --ink */
  --parchment-dim:  #DCD4C2;
  --slate:          #9FADC8;   /* 7.98:1 on --ink  */
  --page:           #FBF8F1;
  --page-ink:       #1A1F2E;
  --page-muted:     #4A5265;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino,
                  "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body:    "Iowan Old Style", "Palatino Linotype", Palatino,
                  "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-ui:      ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --t-xs:   0.78rem;
  --t-sm:   0.9rem;
  --t-base: 1rem;
  --t-md:   clamp(1.08rem, 0.4vw + 1rem, 1.2rem);
  --t-lg:   clamp(1.3rem,  0.8vw + 1.1rem, 1.6rem);
  --t-xl:   clamp(1.7rem,  1.8vw + 1.2rem, 2.5rem);
  --t-2xl:  clamp(2.2rem,  3.4vw + 1.2rem, 3.9rem);
  --t-3xl:  clamp(2.9rem,  6.2vw + 1rem,   5.6rem);

  --space:      clamp(4.5rem, 7vw, 8rem);
  --wrap:       1140px;
  --wrap-narrow: 44rem;
  --wrap-page:   50rem;
  --radius:     3px;
  --ring:       0 0 0 3px var(--ink), 0 0 0 6px var(--gold-bright);
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  /* 19px base — deliberate, for the large-print readership. */
  font-size: 119%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; font-weight: 700; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-bright); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--parchment); }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}
.wrap--narrow { max-width: var(--wrap-narrow); }
.wrap--page   { max-width: var(--wrap-page); }

.eyebrow {
  font-family: var(--font-ui);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
}

.prose { max-width: 38em; }
.prose p { font-size: var(--t-md); }
.lede {
  font-size: var(--t-lg);
  line-height: 1.5;
  color: var(--parchment);
}
.lede--center { max-width: 34em; margin-inline: auto; text-align: center; }

.tlink { font-family: var(--font-ui); font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.02em; }

/* Honeypot — off-screen rather than display:none so bots still fill it. */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4. Chrome: dev banner, skip link, masthead
   -------------------------------------------------------------------------- */
.devbanner {
  background: #6A4A0C;
  color: #FFF3D6;
  font-family: var(--font-ui);
  font-size: var(--t-sm);
  line-height: 1.45;
  padding: 0.7rem clamp(1rem, 4vw, 2rem);
  text-align: center;
}
.devbanner code {
  background: rgba(0,0,0,0.28);
  padding: 0.1em 0.35em;
  border-radius: 2px;
  font-size: 0.94em;
}

.skiplink {
  position: absolute;
  left: 0.5rem; top: -100px;
  z-index: 200;
  background: var(--gold-bright);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 0.15s ease;
}
.skiplink:focus { top: 0.5rem; color: var(--ink); }

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 22, 40, 0.93);
  border-bottom: 1px solid var(--ink-line);
}
@supports (backdrop-filter: blur(8px)) {
  .masthead { backdrop-filter: blur(10px) saturate(1.3); }
}
.masthead__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0.7rem clamp(1.15rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wordmark {
  display: inline-block;
  font-family: var(--font-display);
  text-decoration: none;
  line-height: 1.06;
  margin-right: auto;
  padding: 0.25rem 0;
  color: var(--parchment);
}
.wordmark__line1 {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-family: var(--font-ui);
  color: var(--slate);
}
.wordmark__line2 { display: block; font-size: 1.15rem; font-weight: 700; color: var(--gold); }
.wordmark:hover .wordmark__line2 { color: var(--gold-bright); }

.navtoggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  background: none;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  color: var(--parchment);
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  min-height: 44px;
}
.navtoggle__bars,
.navtoggle__bars::before,
.navtoggle__bars::after {
  display: block;
  width: 18px; height: 2px;
  background: var(--gold);
  content: "";
}
.navtoggle__bars { position: relative; }
.navtoggle__bars::before { position: absolute; top: -6px; }
.navtoggle__bars::after  { position: absolute; top:  6px; }

.sitenav__list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sitenav__list a {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--parchment);
  text-decoration: none;
  padding: 0.7rem 0.7rem;
  border-radius: var(--radius);
}
.sitenav__list a:hover { color: var(--gold-bright); background: rgba(255,255,255,0.05); }
.sitenav__list a[aria-current="page"] { color: var(--gold); }
.sitenav__cta { margin-left: 0.4rem; }
/* .sitenav__list a (0,1,1) outranks .btn (0,1,0) and was repainting the CTA
   text parchment-on-gold at 2.05:1. Restated here at matching specificity. */
.sitenav__cta .btn { color: var(--ink); }
.sitenav__cta .btn:hover { color: var(--ink); background: var(--gold-bright); }
.sitenav__cta a:hover { background: none; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  min-height: 48px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.btn:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--lg { font-size: 1.02rem; padding: 1.05rem 2.1rem; min-height: 56px; }
.btn--sm { font-size: 0.86rem; padding: 0.6rem 1.1rem; min-height: 40px; }

.btn--ghost { background: transparent; color: var(--gold-bright); border-color: var(--ink-line); }
.btn--ghost:hover { background: rgba(200,164,92,0.12); color: var(--gold-bright); border-color: var(--gold); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(40,60,105,0.55), transparent 62%),
    linear-gradient(178deg, #101A31 0%, var(--ink) 62%);
}
.hero__rose {
  position: absolute;
  top: 50%; left: 50%;
  width: min(150vw, 1150px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  color: var(--gold);
  opacity: 0.085;
  pointer-events: none;
}
.hero__cover { max-width: 26rem; margin-inline: auto; }
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__h { margin: 0 0 1.4rem; }
.hero__h-a,
.hero__h-b,
.hero__h-c,
.hero__h-d { display: block; }
.hero__h-a {
  font-size: var(--t-xl);
  font-weight: 400;
  color: var(--parchment);
  letter-spacing: -0.01em;
}
.hero__h-b,
.hero__h-c {
  font-size: var(--t-3xl);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.025em;
  line-height: 0.94;
  text-transform: uppercase;
}
.hero__h-c { color: var(--gold-bright); }
.hero__h-d {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--ink-line);
  font-size: var(--t-lg);
  font-weight: 400;
  color: var(--parchment-dim);
  letter-spacing: 0.005em;
  max-width: 16em;
}
.hero__hook {
  font-size: var(--t-lg);
  line-height: 1.45;
  color: var(--parchment);
  max-width: 20em;
  margin-bottom: 0.9rem;
}
.hero__sub {
  font-family: var(--font-ui);
  font-size: var(--t-sm);
  line-height: 1.6;
  color: var(--slate);
  max-width: 30em;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 0; }

.hero__cover img {
  width: 100%;
  border-radius: 2px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.14),
    0 30px 60px -18px rgba(0,0,0,0.75),
    0 8px 20px -8px rgba(0,0,0,0.6);
}

/* --------------------------------------------------------------------------
   7. Bands
   -------------------------------------------------------------------------- */
.band { padding-block: var(--space); }
.band--raised { background: var(--ink-raised); }
.band__h {
  font-size: var(--t-2xl);
  letter-spacing: -0.02em;
  color: var(--parchment);
  margin: 0 0 1.6rem;
  max-width: 17em;
}
.band--raised .band__h { color: var(--gold-bright); }
.band--centered { text-align: center; }
.band--centered .band__h { margin-inline: auto; }

/* Divider */
.rule {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-block: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--gold);
}
.rule__line { flex: 1; height: 1px; background: var(--ink-line); }
.rule__star { width: 18px; height: 18px; fill: currentColor; flex: none; }

.pullquote {
  margin: 0;
  padding: 0;
  text-align: center;
}
.pullquote p {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-style: italic;
  line-height: 1.28;
  color: var(--gold-bright);
  max-width: 15em;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   8. Praise
   -------------------------------------------------------------------------- */
.blurbs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.blurb {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: rgba(14,22,40,0.5);
  border: 1px solid var(--ink-line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}
.blurb blockquote { margin: 0; }
.blurb blockquote p {
  font-size: var(--t-md);
  line-height: 1.55;
  font-style: italic;
  color: var(--parchment);
}
.blurb__by { margin: auto 0 0; line-height: 1.4; }
.blurb__name {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
}
.blurb__role {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   9. Excerpt — the one cream page
   -------------------------------------------------------------------------- */
.excerpt {
  padding-block: var(--space);
  background:
    linear-gradient(180deg, var(--ink) 0%, #0B1120 100%);
}
.page {
  background: var(--page);
  color: var(--page-ink);
  border-radius: 2px;
  padding: clamp(2.25rem, 5.5vw, 4.5rem) clamp(1.6rem, 5vw, 4.25rem);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.2),
    0 40px 80px -24px rgba(0,0,0,0.8);
  /* faint ruled edge, like a trimmed page block */
  border-left: 1px solid #E7DFCD;
  border-right: 1px solid #E7DFCD;
}
.page__eyebrow {
  font-family: var(--font-ui);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 0.7rem;
}
.page__h {
  font-size: var(--t-xl);
  color: var(--page-ink);
  margin: 0 0 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid #E4DCC9;
}
.page__body p {
  font-size: var(--t-md);
  line-height: 1.72;
  margin: 0 0 1.35em;
  hyphens: auto;
}
.page__body p + p { text-indent: 1.5em; }
.page__first::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.6em;
  line-height: 0.82;
  font-weight: 700;
  color: var(--gold-ink);
  padding: 0.06em 0.1em 0 0;
}
.page__cta { margin: 2.4rem 0 0; }
.page__cta .btn { background: var(--page-ink); border-color: var(--page-ink); color: var(--page); }
.page__cta .btn:hover { background: var(--gold-ink); border-color: var(--gold-ink); color: var(--page); }
.page__cta .btn:focus-visible { box-shadow: 0 0 0 3px var(--page), 0 0 0 6px var(--gold-ink); }

/* --------------------------------------------------------------------------
   10. Author
   -------------------------------------------------------------------------- */
.author {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.author__portrait img {
  width: 100%;
  border-radius: 2px;
  border: 1px solid var(--ink-line);
  /* Calms the dated blue studio backdrop so it sits inside the palette. */
  filter: saturate(0.72) contrast(1.04);
  box-shadow: 0 24px 48px -20px rgba(0,0,0,0.7);
}

/* --------------------------------------------------------------------------
   11. Where to buy
   -------------------------------------------------------------------------- */
.shops {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  gap: 0.9rem;
}
.shop__link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  height: 100%;
  background: rgba(14,22,40,0.5);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  text-decoration: none;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.shop__link:hover { border-color: var(--gold); background: rgba(200,164,92,0.09); }
.shop__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--gold-bright);
}
.shop__edition {
  font-family: var(--font-ui);
  font-size: 0.84rem;
  color: var(--parchment);
}
.shop__note {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--slate);
}
/* The primary retailer spans the full row. With five shops this also resolves
   the grid into a clean 1 + 4 instead of an orphaned second row. */
.shop--primary { grid-column: 1 / -1; }
.shop--primary .shop__link {
  background: var(--gold);
  border-color: var(--gold);
  align-items: center;
  text-align: center;
  padding-block: 1.55rem;
}
.shop--primary .shop__link:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.shop--primary .shop__name,
.shop--primary .shop__edition,
.shop--primary .shop__note { color: var(--ink); }
.shop--primary .shop__note { opacity: 0.75; }

.shops__fine {
  margin: 1.75rem 0 0;
  font-family: var(--font-ui);
  font-size: var(--t-sm);
  color: var(--slate);
  text-align: center;
}
.shops__fine b { color: var(--parchment); font-weight: 600; white-space: nowrap; }

/* --------------------------------------------------------------------------
   12. Forms — styling ready for the newsletter and contact sections
   -------------------------------------------------------------------------- */
.form, .signup { max-width: 32rem; margin-top: 2rem; }
.field { margin-bottom: 1.4rem; }
.field__label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--parchment);
  margin-bottom: 0.45rem;
}
.field__input,
.field__select,
.field__textarea {
  width: 100%;
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.85rem 1rem;
  min-height: 52px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
}
.field__textarea { min-height: 9rem; resize: vertical; }
.field__input:hover,
.field__select:hover,
.field__textarea:hover { border-color: var(--slate); }
.field__hint {
  margin: 0.45rem 0 0;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  color: var(--slate);
}
.field__error {
  margin: 0.45rem 0 0;
  font-family: var(--font-ui);
  font-size: 0.87rem;
  font-weight: 600;
  color: #FFB3A7;
}
/* Never signal an error by colour alone — the border thickens too. */
.field--invalid .field__input,
.field--invalid .field__select,
.field--invalid .field__textarea { border-color: #E8836F; border-width: 2px; }

.form__status, .signup__status {
  margin: 1rem 0 0;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  min-height: 1.4em;
}
.signup__fine {
  margin: 1.1rem 0 0;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--slate);
}
.cf-turnstile { margin-bottom: 1.4rem; }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.sitefoot {
  background: #0A1020;
  border-top: 1px solid var(--ink-line);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2.5rem;
}
.sitefoot__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
.sitefoot__title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--gold); margin: 0 0 0.15rem; }
.sitefoot__sub { font-family: var(--font-display); font-size: 1rem; color: var(--parchment-dim); margin: 0 0 0.6rem; }
.sitefoot__byline { font-family: var(--font-ui); font-size: 0.84rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--slate); margin: 0; }

.sitefoot__h {
  font-family: var(--font-ui);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.sitefoot__nav ul { list-style: none; margin: 0; padding: 0; }
.sitefoot__nav li { margin-bottom: 0.5rem; }
.sitefoot__nav a {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--parchment);
  text-decoration: none;
}
.sitefoot__nav a:hover { color: var(--gold-bright); text-decoration: underline; }

.metalist { margin: 0; font-family: var(--font-ui); font-size: 0.86rem; }
.metalist > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px solid rgba(42,55,87,0.5); }
.metalist dt { color: var(--slate); }
.metalist dd { margin: 0; color: var(--parchment); text-align: right; }
.sitefoot__order { margin: 1rem 0 0; font-family: var(--font-ui); font-size: 0.82rem; color: var(--slate); }

.sitefoot__legal {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--ink-line);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--slate);
}
.sitefoot__legal p { margin: 0 0 0.6rem; max-width: 60em; }

/* --------------------------------------------------------------------------
   14. Interior pages (privacy, press kit)
   -------------------------------------------------------------------------- */
.pagehead { padding-block: clamp(3rem, 6vw, 5rem) 0; }
.pagehead h1 { font-size: var(--t-2xl); color: var(--parchment); letter-spacing: -0.02em; margin-bottom: 1rem; }
.pagehead .lede { max-width: 34em; }

.doc { padding-block: clamp(2.5rem, 5vw, 4rem) var(--space); }
.doc h2 {
  font-size: var(--t-xl);
  color: var(--gold-bright);
  margin: 2.75rem 0 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--ink-line);
}
.doc h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.doc h3 { font-size: var(--t-lg); color: var(--parchment); margin: 1.9rem 0 0.65rem; }
.doc p, .doc li { font-size: var(--t-md); }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1.15em; }
.doc li { margin-bottom: 0.5rem; }
.doc dl { margin: 0 0 1.5rem; }
.doc dt { font-family: var(--font-ui); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-top: 1rem; }
.doc dd { margin: 0.2rem 0 0; }

.downloads { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 0.9rem; }
.downloads a {
  display: block;
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  text-decoration: none;
  color: var(--parchment);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
}
.downloads a:hover { border-color: var(--gold); color: var(--gold-bright); }
.downloads span { display: block; font-weight: 400; font-size: 0.82rem; color: var(--slate); margin-top: 0.2rem; }

/* --------------------------------------------------------------------------
   15. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .author { grid-template-columns: 1fr; }
  .author__portrait { max-width: 20rem; }
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__text { order: 2; }
  .hero__cover { order: 1; max-width: 17rem; }
  .hero__h-d { max-width: none; }

  .navtoggle { display: inline-flex; }
  .sitenav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--ink);
    border-bottom: 1px solid var(--ink-line);
    padding: 0.6rem clamp(1.15rem, 4vw, 2.5rem) 1.25rem;
  }
  .sitenav.is-open { display: block; }
  .sitenav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .sitenav__list a { padding: 0.9rem 0.5rem; border-bottom: 1px solid rgba(42,55,87,0.5); }
  .sitenav__cta { margin: 0.9rem 0 0; }
  .sitenav__cta a { justify-content: center; border-bottom: 0; }
  .masthead__inner { position: relative; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  html { font-size: 112%; }
  .page__body p + p { text-indent: 0; }
  .hero__actions .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   16. Motion, print, forced colours
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .btn:hover { transform: none; }
}

/* Progressive reveal — only applied once JS confirms motion is welcome. */
.js-reveal { opacity: 0; transform: translateY(14px); }
.js-reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (forced-colors: active) {
  .btn, .shop__link, .blurb { border: 1px solid; }
  .hero__rose { display: none; }
}

@media print {
  .masthead, .skiplink, .devbanner, .hero__rose, .sitenav { display: none; }
  body { background: #fff; color: #000; }
  .band, .hero, .excerpt, .sitefoot { background: #fff; padding-block: 1.5rem; }
  .band__h, .hero__h-b, .hero__h-c, .page__h { color: #000; }
  a { color: #000; }
}

/* --------------------------------------------------------------------------
   17. Buy section — format groups (added 2026-09-07)
   -------------------------------------------------------------------------- */
.shops--primary-row { margin-top: 2.5rem; }
.shops--primary-row .shop--primary .shop__link { padding-block: 1.7rem; }

.shops__group { margin-top: clamp(2rem, 4vw, 2.75rem); }
.shops__group .shops { margin-top: 1rem; }

.shops__grouph {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem 0.75rem;
  margin: 0;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--ink-line);
  font-family: var(--font-ui);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.shops__groupmeta {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--slate);
  font-size: 0.95em;
}

/* Single endorsement: keep it from stretching the full grid width. */
.blurbs--single { max-width: 42rem; margin-inline: auto; }
.blurbs--single .blurb blockquote p { font-size: var(--t-lg); line-height: 1.5; }
.blurb__more { margin: 0.9rem 0 0; }
.blurb blockquote em { font-style: normal; color: var(--gold-bright); }
