/* ==========================================================================
   Rina A. Claude, site v3
   Plum #7D2B63, orange #EA8A31, crumpled-paper texture, editorial type.
   Orange is used as a small accent with ink text; body text is never sage.
   ========================================================================== */

:root {
  --plum: #7D2B63;
  --plum-deep: #62224D;
  --plum-mid: #8E3A70;
  --paper: #F5F1EB;
  --paper-2: #FFFBF6;
  --sage: #A8B5A0;
  --sage-paper: #D4DCCB;
  --sage-tint: rgba(168, 181, 160, 0.28);
  --orange: #EA8A31;
  --ink: #292429;
  --plum-line: rgba(125, 43, 99, 0.55);
  --plum-hair: rgba(125, 43, 99, 0.22);
  --plum-border: rgba(125, 43, 99, 0.35);
  --paper-hair: rgba(245, 241, 235, 0.25);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", "Segoe UI", Arial, sans-serif;
  --font-hand: "Homemade Apple", "Segoe Script", cursive;

  --texture: url("images/paper-crumple.jpg");
  --texture-plum: url("images/paper-crumple-plum.jpg");
  --texture-size: 32.5rem;

  --max: 68rem;
  --measure: 40rem;
  --header-h: 4.25rem;
  --radius: 0.5rem;
  --shadow: 0 1px 1px rgba(31, 27, 36, 0.05), 0 12px 28px rgba(31, 27, 36, 0.10);

  --fs-body: 1.125rem;
  --lh-body: 1.65;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@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;
  }
}
body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--texture);
  background-size: var(--texture-size);
  background-repeat: repeat;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: 0.01em;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--plum-deep); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
.nav-toggle:focus-visible + .nav-toggle-btn {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--plum);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.7em;
}
h1 { font-size: clamp(2.6rem, 6.8vw, 4.85rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
p:last-child, ul:last-child { margin-bottom: 0; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
li + li { margin-top: 0.4em; }
figure { margin: 0; }
address { font-style: normal; }

/* --- Accessibility helpers --- */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 1000;
  background: var(--plum);
  color: var(--paper);
  padding: 0.6rem 1rem;
  text-decoration: none;
  border-radius: 0 0 0.35rem 0.35rem;
}
.skip-link:focus { top: 0; color: var(--paper); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* --- Placeholder chrome --- */

.badge, .placeholder-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum);
  background: var(--sage-tint);
  border: 1px solid var(--plum-border);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  vertical-align: middle;
}
.placeholder {
  background: var(--sage-tint);
  border: 1.5px dashed var(--plum-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  position: relative;
}
.placeholder > .placeholder-badge { margin-bottom: 0.85rem; }
.placeholder .note {
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0.4rem 0 0;
}

/* --- Layout --- */
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.wrap-narrow {
  width: min(100% - 2rem, var(--measure));
  margin-inline: auto;
}
.section { padding: 3.5rem 0; }
.section + .section { padding-top: 0; }
.section-header { margin-bottom: 1.75rem; }
.kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum);
  margin: 0 0 0.6rem;
}
.kicker::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 3px;
  background: var(--orange);
  margin-top: 0.55rem;
}
.lede { font-size: 1.2rem; max-width: var(--measure); }
.rule {
  border: 0;
  border-top: 1px solid var(--plum-hair);
  margin: 0;
}

/* --- Header / nav --- */
.site-header {
  background-color: var(--paper);
  background-image: var(--texture);
  background-size: var(--texture-size);
  background-repeat: repeat;
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(125, 43, 99, 0.10), 0 10px 24px rgba(31, 27, 36, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.5rem 1rem;
  min-height: var(--header-h);
  position: relative;
}
.site-header .wordmark { grid-column: 1; }
.site-header .nav-toggle-btn { grid-column: 2; justify-self: end; }
.site-header .site-nav { grid-column: 1 / -1; }
.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--plum);
  flex-shrink: 0;
}
.wordmark:hover { color: var(--plum); }
.wordmark-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.wordmark-cred {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  opacity: 0.85;
}

.nav-toggle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.nav-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: 1px solid var(--plum-border);
  color: var(--plum);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: 0.35rem;
  cursor: pointer;
}
.nav-toggle-btn .burger {
  display: block;
  width: 1.05rem;
  height: 0.8rem;
  background:
    linear-gradient(var(--plum), var(--plum)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--plum), var(--plum)) 0 50% / 100% 2px no-repeat,
    linear-gradient(var(--plum), var(--plum)) 0 100% / 100% 2px no-repeat;
}
.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0 1.1rem;
}
.nav-toggle:checked ~ .site-nav { display: flex; }
.site-nav a {
  text-decoration: none;
  color: var(--plum);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.45rem 0.15rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--orange); }
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--plum);
}

@media (min-width: 62rem) {
  .nav-toggle-btn { display: none; }
  .site-header .bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }
  .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.15rem 1.15rem;
    padding: 0;
    grid-column: auto;
  }
  .site-nav a { font-size: 0.92rem; padding: 0.2rem 0; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  border: 2px solid transparent;
  cursor: default;
  text-align: center;
}
a.btn { cursor: pointer; }
.btn-primary {
  background: var(--plum);
  color: var(--paper);
  border-color: var(--plum);
}
.btn-primary:hover { background: var(--plum-deep); color: var(--paper); border-color: var(--plum-deep); }
.btn-accent {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--orange);
}
.btn-accent:hover { filter: brightness(0.96); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--plum);
  border-color: var(--plum);
}
.btn-ghost:hover { background: var(--sage-tint); color: var(--plum); }
.btn-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.92;
  cursor: not-allowed;
  pointer-events: none;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* --- Hero --- */
.hero {
  padding: 2.75rem 0 3.5rem;
}
.hero-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
.signature {
  font-family: var(--font-head);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(2.7rem, 7.2vw, 5.15rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--plum);
  margin: 0 0 1.15rem;
}
.full-message {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  max-width: 28rem;
  margin: 0 0 0.25rem;
}
.full-message span { display: block; }
.hero-intro {
  margin-top: 1.25rem;
  max-width: 34rem;
}
.portrait {
  justify-self: center;
  width: min(100%, 22rem);
}
.portrait-frame {
  position: relative;
}
.portrait img,
.portrait svg {
  width: 100%;
  border-radius: 0.25rem 1rem 0.25rem 1rem;
  box-shadow: var(--shadow);
  background: var(--plum);
}
.portrait figcaption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--ink);
  text-align: center;
}
@media (min-width: 52rem) {
  .hero { padding: 4rem 0 5rem; }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
  }
  .portrait { width: 100%; max-width: 24rem; justify-self: end; }
}

/* --- Cards / feature blocks --- */
.panel {
  background-color: var(--paper-2);
  background-image: var(--texture);
  background-size: var(--texture-size);
  background-repeat: repeat;
  border: 1px solid rgba(125, 43, 99, 0.08);
  border-radius: 0.2rem 0.85rem 0.85rem 0.85rem;
  padding: 1.7rem;
  box-shadow: var(--shadow);
}
.book-feature {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.book-feature .cover {
  width: min(100%, 14.5rem);
  margin-inline: auto;
}
.book-feature .cover img {
  border-radius: 0.2rem 0.45rem 0.45rem 0.2rem;
  box-shadow: var(--shadow);
  background: #111;
}
@media (min-width: 48rem) {
  .book-feature {
    grid-template-columns: 15rem 1fr;
    gap: 2.5rem;
    padding: 2rem 2.2rem;
  }
  .book-feature .cover { margin: 0; width: 15rem; }
}
.book-list {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 44rem) {
  .book-list { grid-template-columns: 1fr 1fr; }
}
.book-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.book-card .cover { width: 9.5rem; }
.book-card .cover img {
  border-radius: 0.2rem 0.4rem 0.4rem 0.2rem;
  box-shadow: var(--shadow);
}
.coming-cover {
  width: 9.5rem;
  aspect-ratio: 900 / 1440;
  border-radius: 0.2rem 0.4rem 0.4rem 0.2rem;
  background:
    linear-gradient(165deg, var(--plum) 0%, var(--plum-mid) 45%, var(--sage) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--paper);
  padding: 1rem;
  font-family: var(--font-head);
  font-size: 1.05rem;
  line-height: 1.3;
}

/* --- Snapshot / newsletter bands --- */
.band-plum {
  background-color: var(--plum);
  background-image: var(--texture-plum);
  background-size: var(--texture-size);
  background-repeat: repeat;
  background-blend-mode: multiply;
  color: var(--paper);
  padding: 4rem 0 4.25rem;
  position: relative;
  z-index: 1;
}
.band-plum::before,
.band-plum::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 52px;
  background: url("images/torn-edge.png") center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 3;
}
.band-plum::before { top: -1px; }
.band-plum::after {
  bottom: -1px;
  transform: scaleY(-1);
}
.band-plum h2, .band-plum .kicker, .band-plum a { color: var(--paper); }
.band-plum .kicker::after { background: var(--orange); }
.band-plum a:hover { color: var(--paper); }
.band-plum .btn-primary {
  background: var(--paper);
  color: var(--plum);
  border-color: var(--paper);
}
.band-plum .btn-primary:hover {
  background: var(--sage);
  color: var(--ink);
  border-color: var(--sage);
}
.band-plum .btn-ghost {
  color: var(--paper);
  border-color: var(--paper);
}
.band-plum .btn-ghost:hover { background: rgba(245, 241, 235, 0.12); color: var(--paper); }
.band-sage {
  background: var(--sage-tint);
  padding: 3.25rem 0;
  border-block: 1px solid var(--plum-hair);
}
.split {
  display: grid;
  gap: 2rem;
}
@media (min-width: 48rem) {
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
}

/* --- Blog --- */
.post-list { display: grid; gap: 1.25rem; }
.post-teaser {
  display: block;
  text-decoration: none;
  color: inherit;
}
.post-teaser h2 { margin-bottom: 0.35rem; }
.post-teaser:hover h2 { text-decoration: underline; text-underline-offset: 0.15em; }
.post-meta { font-size: 0.9rem; color: var(--ink); opacity: 0.8; margin-bottom: 0.5rem; }
.prose { max-width: var(--measure); }
.prose h1 { margin-bottom: 0.4em; }

/* --- Forms (placeholders only) --- */
.form-placeholder label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0.7rem 0 0.3rem;
}
.form-placeholder input[type="text"],
.form-placeholder input[type="email"] {
  width: 100%;
  max-width: 24rem;
  font: inherit;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--plum-border);
  border-radius: 0.35rem;
  background: var(--paper-2);
  color: var(--ink);
}
.form-placeholder input:disabled {
  background: rgba(245, 241, 235, 0.6);
  cursor: not-allowed;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--plum-deep);
  background-image: var(--texture-plum);
  background-size: var(--texture-size);
  background-repeat: repeat;
  background-blend-mode: multiply;
  color: var(--paper);
  padding: 2.75rem 0 2rem;
  margin-top: 0;
  font-size: 0.95rem;
  position: relative;
}
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--paper); text-decoration-thickness: 2px; }
.footer-grid {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 48rem) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
}
.site-footer .wordmark { color: var(--paper); }
.site-footer .wordmark-name { font-size: 1.25rem; }
.footer-nav, .legal-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li, .legal-nav li { margin: 0 0 0.35rem; }
.site-footer h2 {
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
}
.disclaimer-blurb {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--paper-hair);
  font-size: 0.85rem;
  line-height: 1.55;
  max-width: 50rem;
  opacity: 0.92;
}
.copyright {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* --- Utility --- */
.muted { opacity: 0.85; }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 0.75rem; }
.page-hero { padding: 2.5rem 0 1.5rem; }
.page-hero h1 { margin-bottom: 0.5rem; }
main { min-height: 50vh; }

/* 404 */
.not-found { padding: 4rem 0 5rem; text-align: center; }
.not-found h1 { margin-bottom: 0.6rem; }
.end-note {
  margin-top: 2.5rem;
  font-size: 0.9rem;
}

/* About */
.about-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 52rem) {
  .about-layout {
    grid-template-columns: 1fr 18rem;
    gap: 3.5rem;
  }
  .about-layout .portrait { max-width: none; width: 100%; }
}


/* --- Plum texture toggle (default: textured) --- */
body.plum-smooth .band-plum,
body.plum-smooth .site-footer {
  background-image: none;
  background-blend-mode: normal;
}

/* --- Sage sticky note: pinned to the portrait, never over the headline --- */
.sticky-note {
  position: absolute;
  left: 0.4rem;
  bottom: 1.1rem;
  z-index: 3;
  width: 16.25rem;
  max-width: calc(100% - 0.8rem);
  margin: 0;
  padding: 0.95rem 1.25rem 1.05rem 1.3rem;
  background-color: var(--sage-paper);
  background-image: var(--texture);
  background-size: var(--texture-size);
  background-repeat: repeat;
  background-blend-mode: multiply;
  color: var(--plum);
  box-shadow:
    0 1px 1px rgba(31, 27, 36, 0.06),
    0 10px 22px rgba(31, 27, 36, 0.14);
  transform: rotate(-5.5deg);
  transform-origin: center center;
}
.sticky-note p {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--plum);
}
.sticky-note p span { white-space: nowrap; }
@media (min-width: 52rem) {
  .sticky-note {
    left: -1.15rem;
    bottom: 1.35rem;
    width: 16.75rem;
    max-width: none;
    transform: rotate(-6deg);
  }
  .sticky-note p { font-size: 2.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-note { transform: none; }
}


/* ==========================================================================
   v3 additions
   ========================================================================== */
.nav-cta { font-weight: 600 !important; }
@media (min-width: 62rem) {
  .site-nav a.nav-cta {
    background: var(--plum); color: var(--paper); border: 0;
    padding: 0.45rem 0.95rem; border-radius: 999px;
  }
  .site-nav a.nav-cta:hover { background: var(--plum-deep); color: var(--paper); }
  .site-nav a.nav-cta[aria-current="page"] { box-shadow: 0 0 0 2px var(--orange); }
}
.btn-lg { font-size: 1.08rem; padding: 0.95rem 1.6rem; }
.micro { font-size: 0.9rem; margin-top: 0.7rem; opacity: 0.9; }
.hero-h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); line-height: 1.0; overflow-wrap: break-word; hyphens: manual; }
.brand-line { margin-top: 0.25rem; }
.brand-line span:first-child { font-weight: 600; color: var(--plum); }
.brand-quote { font-family: var(--font-head); font-size: 1.3rem; font-style: italic; color: var(--plum); line-height: 1.45; }

/* Proof strip */
.proof-strip {
  border-block: 1px solid var(--plum-hair);
  background: rgba(255, 251, 246, 0.7);
  padding: 1rem 0;
}
.proof-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.4rem 0; font-size: 0.98rem; color: var(--ink);
}
.proof-list li { margin: 0; padding: 0 1rem; position: relative; }
.proof-list li + li::before {
  content: ""; position: absolute; left: -3px; top: 50%;
  width: 6px; height: 6px; border-radius: 50%; background: var(--orange); transform: translateY(-50%);
}
.proof-list strong { color: var(--plum); }
@media (max-width: 40rem) {
  .proof-list { flex-direction: column; align-items: center; text-align: center; gap: 0.35rem; }
  .proof-list li + li::before { display: none; }
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.25rem; counter-reset: none; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
.steps li {
  margin: 0; background: var(--paper-2); background-image: var(--texture); background-size: var(--texture-size);
  border-radius: 0.2rem 0.85rem 0.85rem 0.85rem; padding: 1.5rem; box-shadow: var(--shadow);
}
.steps h3 { margin: 0.6rem 0 0.4rem; }
.step-n {
  display: inline-flex; width: 2.3rem; height: 2.3rem; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--orange); color: var(--ink); font-weight: 600; font-family: var(--font-body);
}

/* Snapshot mock sheet */
.snapshot-visual { display: flex; justify-content: center; align-items: center; }
.mock-sheet {
  width: min(100%, 19rem); aspect-ratio: 8.5 / 11; background: var(--paper); background-image: var(--texture); background-size: var(--texture-size);
  border-radius: 0.3rem; box-shadow: 0 18px 40px rgba(0,0,0,0.28); padding: 1.6rem 1.4rem; transform: rotate(2.5deg);
  display: flex; flex-direction: column; gap: 0.7rem;
}
.mock-sheet .mock-title, .mock-sheet .mock-q { font-family: var(--font-head); color: var(--plum); margin: 0; font-weight: 700; }
.mock-sheet .mock-title { font-size: 1.25rem; }
.mock-sheet .mock-q { font-size: 0.95rem; margin-top: 0.6rem; }
.mock-sheet span { display: block; height: 0.55rem; border-radius: 99px; background: var(--plum-hair); }
.mock-sheet span.short { width: 62%; background: rgba(234, 138, 49, 0.45); }
.note-on-plum { font-size: 0.9rem; margin-top: 1rem; opacity: 0.92; }
@media (prefers-reduced-motion: reduce) { .mock-sheet { transform: none; } }

/* Book */
.book-title-line { font-size: 1.05rem; color: var(--ink); }
.book-h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.3rem; }
.book-sub { font-family: var(--font-head); font-size: 1.25rem; font-style: italic; color: var(--ink); }
.formats { font-weight: 500; }
.guardrail { border-left: 4px solid var(--orange); background: rgba(255, 251, 246, 0.75); padding: 1rem 1.2rem; border-radius: 0 0.5rem 0.5rem 0; margin-top: 1.25rem; }
.guardrail-h { font-weight: 600; color: var(--plum); margin-bottom: 0.35rem; }
.crumbs { font-size: 0.9rem; margin-bottom: 1rem; }
.book-hero { padding-top: 2rem; }
.shelf { display: grid; gap: 1.5rem; }
.book-card-h { display: grid; gap: 1.5rem; align-items: start; }
.book-card-h .cover { width: 11rem; }
.book-card-h .cover img { border-radius: 0.2rem 0.45rem 0.45rem 0.2rem; box-shadow: var(--shadow); }
@media (min-width: 44rem) { .book-card-h { grid-template-columns: 12rem 1fr; gap: 2rem; } .book-card-h .cover { width: 12rem; } }
a.plain { text-decoration: none; color: inherit; }
.shelf-note { margin-top: 1.25rem; }

/* About */
.facts { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.facts li { padding-left: 1.4rem; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.6rem; height: 3px; background: var(--orange); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--plum-hair); padding: 0.9rem 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--plum); list-style-position: outside; }
.faq details p { margin: 0.6rem 0 0; }

/* Footnotes and sources */
sup.fn { font-size: 0.7em; line-height: 0; margin-left: 0.1em; }
sup.fn a { text-decoration: none; font-weight: 600; }
.band-plum sup.fn a { color: var(--paper); }
.sources { padding-top: 1rem; }
.sources-h { font-size: 1.25rem; }
.source-list { font-size: 0.92rem; padding-left: 1.4em; }
.source-list a { overflow-wrap: anywhere; }

/* Disclaimer strip */
.disclaimer-strip { background: var(--sage-tint); border-top: 1px solid var(--plum-hair); padding: 1.1rem 0; }
.disclaimer-strip p { margin: 0; font-size: 0.98rem; text-align: center; }
.disclaimer-strip strong { color: var(--plum); }

/* Closing */
.closing { padding: 4rem 0; }

/* Snapshot page */
.page-h1-long { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.1; }
.signup-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.signup-title { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--plum); margin: 0.4rem 0 0; }
.signup-panel .note { font-size: 0.92rem; margin: 0.3rem 0 0; }

/* Articles */
.post-grid { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 48rem) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: block; text-decoration: none; color: var(--ink); }
.post-card h3 { margin: 0.75rem 0 0.4rem; }
.post-card:hover h3 { text-decoration: underline; }
.article-h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-top: 0.8rem; }

/* Contact */
.contact-grid { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.h3 { font-size: 1.35rem; }
.footer-badge { margin-left: 0.4rem; background: rgba(245,241,235,0.12) !important; color: var(--paper) !important; border-color: rgba(245,241,235,0.35) !important; }
.note { font-size: 0.95rem; }
.section.band-sage { padding: 3.5rem 0; }
.section.band-sage + .section, .band-plum + .section { padding-top: 3.5rem; }

/* Mobile sticky Snapshot CTA (hidden on desktop and on the Snapshot page) */
.sticky-cta { display: none !important; }
@media (max-width: 47.99rem) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
    background: rgba(245, 241, 235, 0.96); box-shadow: 0 -6px 18px rgba(31, 27, 36, 0.12);
    border-top: 1px solid var(--plum-hair);
  }
  .sticky-cta .btn { width: 100%; }
  body.has-sticky { padding-bottom: 4.6rem; }
}
@media print { .sticky-cta { display: none !important; } }

/* Gen X Truth Serum series */
.series-badge {
  display: inline-block; font-family: var(--font-body); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
  background: var(--orange); padding: 0.22rem 0.6rem; border-radius: 0.2rem 0.6rem 0.6rem 0.6rem;
  transform: rotate(-2deg); vertical-align: middle;
}
.series-block { display: block; text-decoration: none; color: var(--ink); border-left: 6px solid var(--plum); }
.series-block h2 { margin: 0.7rem 0 0.4rem; }
.series-block:hover h2 { text-decoration: underline; text-underline-offset: 0.15em; }
.series-link { font-weight: 600; color: var(--plum); }
.outline { font-size: 0.95rem; padding-left: 1.2em; margin-top: 0.75rem; }
@media (min-width: 48rem) { .post-grid.two { grid-template-columns: repeat(2, 1fr); } }

/* My Story */
.story { margin-top: 2.5rem; max-width: var(--measure); }
.story .story-h { margin-top: 2rem; }
.story h2.story-h { margin-top: 0; }
.story h3.story-h { font-size: 1.5rem; }
.story-em { font-family: var(--font-head); font-size: 1.3rem; color: var(--plum); line-height: 1.45; }
.story-sign { font-family: var(--font-hand); font-size: 1.6rem; color: var(--plum); margin-top: 1.5rem; }
.story-disclaimer { font-style: normal; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--plum-hair); }
.story-teaser { margin: 0; }
.story-teaser blockquote { margin: 0; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.5; color: var(--ink); }
.story-teaser figcaption { margin-top: 1.25rem; }
#my-story { scroll-margin-top: 6rem; }
/* Real portrait */
.portrait picture { display: block; }
.portrait img { display: block; height: auto; aspect-ratio: 819 / 1024; object-fit: cover; object-position: 50% 30%; background: var(--paper-2); }

/* --- Sticky note v4: smaller, hangs off the bottom-left, brass paper clip --- */
.portrait-frame { isolation: isolate; }
.hero .portrait { margin-bottom: 1.5rem; }
.sticky-note {
  left: -0.75rem;
  bottom: -1.6rem;
  width: 12.5rem;
  max-width: none;
  padding: 0.75rem 1rem 0.8rem 1.05rem;
}
.sticky-note p { font-size: 1.42rem; }
.portrait .paper-clip {
  background: none; box-shadow: none; border-radius: 0;
  position: absolute;
  top: -1.82rem;
  right: 0.95rem;
  width: 1.45rem;
  height: 4.1rem;
  overflow: visible;
  transform: rotate(3deg);
  pointer-events: none;
  z-index: 4;
}
@media (min-width: 52rem) {
  .hero .portrait { margin-bottom: 0; }
  .sticky-note {
    left: -4.25rem;
    bottom: -1.9rem;
    width: 13.25rem;
    transform: rotate(-6deg);
  }
  .sticky-note p { font-size: 1.6rem; }
  .portrait .paper-clip { top: -1.95rem; right: 1.05rem; width: 1.55rem; height: 4.35rem; }
}

/* --- About: portrait follows the long story, centered in the viewport --- */
@media (min-width: 52rem) {
  .about-layout .portrait {
    position: sticky;
    top: max(6.5rem, calc(50vh - 12.5rem));
    align-self: start;
  }
}
@media (min-width: 52rem) and (max-width: 74.99rem) {
  .sticky-note { left: -2.6rem; }
}

/* --- Reviews placeholder (quotes added later with name + source link) --- */
.reviews-list { margin-top: 2rem; display: grid; gap: 1.5rem; }
.review { margin: 0; }
.review blockquote { margin: 0 0 0.6rem; }
.review figcaption { font-size: 0.95rem; }

/* ---- pre-launch layout additions (28 Nov 2026) ---- */
.faq-accordion details { border-bottom: 1px solid var(--plum-hair); padding: 0; }
.faq-accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 0.25rem; min-height: 3rem; }
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::after { content: "+"; font: 600 1.5rem/1 var(--font-body); color: var(--plum); flex: none; transition: transform .2s; }
.faq-accordion details[open] > summary::after { transform: rotate(45deg); }
.faq-accordion summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.faq-accordion .faq-q { margin: 0; font-family: var(--font-head); font-size: clamp(1.1rem, 2.6vw, 1.3rem); line-height: 1.35; color: var(--plum); font-weight: 600; }
.faq-accordion .faq-a { padding: 0 0.25rem 1.25rem; }
.faq-accordion .faq-a p, .faq-accordion .faq-a ul { margin: 0 0 0.8rem; }
.faq-sources { font-size: 0.9rem; color: #5d555d; margin-top: 1rem !important; }
.faq-link a { font-weight: 600; color: var(--plum); }
.faq-all { margin: 1.5rem 0 0; font-weight: 600; }
.faq-cta { margin-top: 1.75rem; flex-wrap: wrap; }
.buy-box { padding-top: 1.5rem; }
.buy-h { font-size: 1.15rem; letter-spacing: .04em; }
.buy-actions .btn { min-width: 11rem; }
.before-goal { display: grid; gap: 1rem; align-items: stretch; margin: 1.5rem auto 2rem; max-width: 52rem; }
@media (min-width: 44rem) { .before-goal { grid-template-columns: 1fr auto 1fr; } }
.bg-card { background: var(--paper); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); text-align: center; }
.bg-before { border-top: 6px solid #8f878f; }
.bg-goal { border-top: 6px solid var(--plum); }
.bg-label { text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; font-weight: 600; margin: 0 0 .5rem; }
.bg-q { font-family: var(--font-head); font-size: 1.45rem; margin: 0; color: var(--ink); }
.bg-goal .bg-q { color: var(--plum); }
.bg-arrow { align-self: center; justify-self: center; font-size: 2rem; color: var(--plum); }
@media (max-width: 43.99rem) { .bg-arrow { transform: rotate(90deg); } }
.mantra .brand-quote { color: var(--paper); }
.footer-health-h, .footer-legal-h { font-size: 1rem; margin: 1.5rem 0 .5rem; }
.legal-nav-inline a { color: inherit; }

/* ---- v4 preview: conversion layout (28 Nov 2026) ---- */
.subtitle { font-family: var(--font-head); font-size: 1.2rem; color: var(--plum); margin-top: -.4rem; }
.home-checklist ul, #checklist ul { padding-left: 1.2rem; }
/* book hero: head / media / body. Mobile: title, then cover + buy side by side (above the fold), then pitch. */
.book-grid { display: grid; gap: 1.25rem; grid-template-areas: "head" "media" "body"; }
.bk-head { grid-area: head; } .bk-media { grid-area: media; } .bk-body { grid-area: body; }
.bk-head .book-h1 { margin-bottom: .35rem; }
.bk-media { display: grid; grid-template-columns: minmax(7.5rem, 38%) 1fr; gap: 1rem; align-items: center; }
.bk-media .cover img { width: 100%; height: auto; border-radius: 4px; box-shadow: var(--shadow); display: block; }
.bk-media .buy-group { margin: 0; text-align: left; }
.bk-media .buy-actions { flex-direction: column; align-items: stretch; }
@media (min-width: 52rem) {
  .book-grid { grid-template-columns: 16rem 1fr; column-gap: 3rem; grid-template-areas: "media head" "media body"; align-items: start; }
  .bk-media { grid-template-columns: 1fr; position: sticky; top: calc(var(--header-h) + 1rem); }
  .bk-media .buy-actions { flex-direction: row; }
  .bk-media .buy-actions .btn { flex: 1; min-width: 0; padding-left: .5rem; padding-right: .5rem; }
}
.buy-group { text-align: center; }
.buy-label { font-weight: 700; letter-spacing: .08em; font-size: .95rem; margin: 0 0 .6rem; color: var(--plum); }
.buy-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.buy-actions .btn { min-width: 8.5rem; }
.buy-other { margin-top: .6rem; font-size: .88rem; }
.buy-international { margin-top: .7rem; }
.buy-international .buy-other { margin: 0 0 .2rem; }
.buy-markets { margin: .15rem 0 0; font-size: .86rem; line-height: 1.45; }
.buy-markets .buy-format { font-weight: 600; margin-right: .2rem; }
.buy-markets a { white-space: nowrap; }

.buy-repeat { margin-top: 2rem; padding: 1.5rem 1rem; background: var(--paper-2); border-radius: var(--radius); box-shadow: var(--shadow); }
.ready .buy-group { margin: 1.5rem auto 1rem; }
.book-page .site-nav .nav-cta { background: none; }
/* sticky mobile buy bar: book page only, never over content */
.sticky-buy { display: none; }
@media (max-width: 47.99rem) {
  .sticky-buy:not([hidden]) {
    display: flex; align-items: center; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
    background: rgba(245, 241, 235, .97); box-shadow: 0 -6px 18px rgba(31, 27, 36, .12); border-top: 1px solid var(--plum-hair);
  }
  .sticky-buy .sticky-label { font-weight: 700; font-size: .78rem; letter-spacing: .06em; color: var(--plum); flex: 0 0 auto; max-width: 5.5rem; line-height: 1.2; }
  .sticky-buy .btn { flex: 1; padding: .6rem .5rem; min-height: 2.75rem; }
  body.sticky-on { padding-bottom: 4.5rem; }
}
@media print { .sticky-buy { display: none !important; } }
.contact-page h1 { margin-top: 0; }
.story h2 { margin-top: 2rem; }
.btn-disabled { cursor: not-allowed; }

/* ---- Advent Calendar nav + home strip (28 Nov 2026) ---- */
/* Keep the 7-item primary nav on one row from the desktop breakpoint through 1366px. */
@media (min-width: 62rem) {
  .site-nav { gap: 0.15rem 0.85rem; }
  .site-nav a { font-size: 0.88rem; }
  .site-nav a.nav-cta { padding: 0.4rem 0.8rem; }
}
@media (min-width: 80rem) {
  .site-nav { gap: 0.15rem 1.15rem; }
  .site-nav a { font-size: 0.92rem; }
  .site-nav a.nav-cta { padding: 0.45rem 0.95rem; }
}
.advent-strip {
  background: var(--sage-tint);
  border-block: 1px solid var(--plum-hair);
  padding: 0.95rem 0;
}
.advent-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1.5rem;
  border-left: 3px solid var(--orange);
  padding-left: 1rem;
}
.advent-strip-copy h2 {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--plum);
  margin: 0 0 0.2rem;
}
.advent-strip-copy p { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.45; }
.advent-strip-action { margin: 0; }
.advent-strip .btn { padding: 0.6rem 1.15rem; font-size: 0.95rem; }

/* ---- Mobile: hoist main CTAs under the first headline (copy unchanged) ---- */
@media (max-width: 51.99rem) {
  .hero-copy { display: flex; flex-direction: column; }
  .hero-lead { order: 0; }
  .hero-copy > .actions { order: 1; margin-top: 1rem; margin-bottom: 0.25rem; }
  .hero-body { order: 2; }
  .res-hero { display: flex; flex-direction: column; }
  .res-lead { order: 0; }
  .res-hero-cta { order: 1; margin-top: 1rem; }
  .res-body { order: 2; }
  .checklist-block { display: flex; flex-direction: column; }
  .checklist-block .checklist-head { order: 0; }
  .checklist-block > .actions { order: 1; margin-top: 0.85rem; }
  .checklist-block .checklist-body { order: 2; }
}
@media (min-width: 52rem) {
  /* Desktop: keep the Resources page-hero free of a second button; checklist section keeps its button. */
  .res-hero-cta { display: none; }
}

/* ---- legal pages (tables from final Privacy / Cookie policies) ---- */
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.95rem; }
.legal-table th, .legal-table td { border: 1px solid var(--plum-hair); padding: 0.5rem 0.6rem; text-align: left; vertical-align: top; }
.legal-table th { background: var(--sage-tint); color: var(--plum); font-weight: 600; }
