/* ===================================
   THE WOVEN SELF — UNIFIED SYSTEM
   =================================== */

:root {
  --sage: #2e4341;
  --sage-soft: #3f5451;
  --bg: #faf7f2;
  --bg-soft: #f4efe7;
  --border: rgba(0,0,0,0.06);
  --text: #2f3a38;
  --muted: #5f6e6b;
  --color-primary: #2e4341;
  --color-background: #faf7f2;
  --color-light-bg: #f4efe7;
  --color-border: rgba(0,0,0,0.06);
  --color-text: #2f3a38;
  --book-cover-blue: #1c283c;
  --book-cover-cream: #f4efe7;
  --book-cover-pink: #eba7b5;
}

/* Base */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.site-container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .site-container {
  max-width: none;
  padding-left: 1rem;
  padding-right: 1rem;
}

.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand */

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  min-width: 220px;
}

.brand-logo {
  width: 220px;
  height: 64px;
  object-fit: cover;
  object-position: left center;
  display: block;
  opacity: 0.96;
  filter: saturate(0.9) contrast(1.02);
}

/* Nav */

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

.nav-link {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--sage);
}

/* Button */

.btn-primary {
  background: var(--sage);
  color: white;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.btn-secondary {
  background: transparent;
  color: var(--sage);
  border: 1px solid rgba(46,67,65,0.28);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(46,67,65,0.08);
  transform: translateY(-1px);
}

.header-book {
  margin-left: 10px;
  padding: 12px 24px;
  font-size: 15px;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  color: var(--sage);
}

.hamburger:hover {
  background: rgba(255,255,255,0.92);
}

#mobile-nav-panel {
  z-index: 140;
}

#mobile-nav {
  z-index: 150;
}

/* ================= HERO ================= */

.hero-home {
  background: linear-gradient(
    180deg,
    #f6f1e9 0%,
    #f4efe7 100%
  );
  padding: 7rem 2rem;
  text-align: center;
}

.hero-home h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--sage);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-home p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--muted);
}

/* ================= INTERIOR PAGE HERO ================= */

.page-hero {
  background: linear-gradient(
    180deg,
    #f6f1e9 0%,
    #faf7f2 100%
  );
  padding: 4.5rem 0 3rem;
}

.page-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  color: var(--sage);
  margin-bottom: 1rem;
}

.page-subtext {
  max-width: 600px;
  color: var(--muted);
}

/* ================= CONTENT ================= */

.page-content {
  padding: 3rem 0 6rem;
}

.card {
  background: rgba(255,255,255,0.85);
  border-radius: 28px;
  padding: 3rem;
  box-shadow:
    0 20px 40px rgba(0,0,0,0.04),
    0 4px 12px rgba(0,0,0,0.03);
}

img.card {
  display: block;
  padding: 0;
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.83) contrast(1.01) brightness(1);
  mix-blend-mode: multiply;
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(ellipse 96% 88% at 50% 50%, #000 46%, rgba(0,0,0,0.9) 58%, rgba(0,0,0,0.55) 72%, rgba(0,0,0,0.16) 86%, transparent 100%);
  mask-image: radial-gradient(ellipse 96% 88% at 50% 50%, #000 46%, rgba(0,0,0,0.9) 58%, rgba(0,0,0,0.55) 72%, rgba(0,0,0,0.16) 86%, transparent 100%);
}

.hero-logo-shell {
  width: min(100%, 790px);
  margin: 0 auto;
  padding: 0;
  border-radius: 46px;
  background: transparent;
  position: relative;
  isolation: isolate;
}

.hero-logo-shell::before {
  content: "";
  position: absolute;
  inset: -2%;
  border-radius: 52px;
  background:
    radial-gradient(circle at 18% 24%, rgba(250,247,242,0.9), transparent 54%),
    radial-gradient(circle at 82% 72%, rgba(250,247,242,0.85), transparent 56%);
  filter: blur(14px);
  z-index: -1;
}

/* ================= BUTTON VARIANT ================= */

.btn-outline {
  color: var(--sage);
  border: 1px solid rgba(46,67,65,0.28);
  background: rgba(255,255,255,0.54);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: rgba(46,67,65,0.08);
  transform: translateY(-1px);
}

/* ================= BLOG PROSE ================= */

.prose h2 {
  margin-top: 2rem;
  font-family: "Playfair Display", serif;
  color: var(--sage);
}

.prose p {
  margin-bottom: 1.2rem;
}

/* ================= AUTHOR PAGE ================= */

.author-page {
  background: var(--bg);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--sage);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.author-hero {
  background:
    linear-gradient(180deg, rgba(17,24,32,0.96), rgba(24,36,46,0.94)),
    #111820;
  color: #f8f1e7;
  padding: 4rem 0 4.25rem;
}

.author-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 420px);
  gap: 4rem;
  align-items: center;
}

.author-hero .eyebrow {
  color: #d7c1b3;
}

.author-hero h1,
.launch-section h2,
.memoir-section h2,
.speaking-section h2,
.substack-section h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.12;
  color: inherit;
  margin: 0;
}

.author-hero h1 {
  max-width: 760px;
  font-size: 4.2rem;
}

.release-line {
  margin: 1.25rem 0 0;
  color: #d7c1b3;
  font-family: "Playfair Display", serif;
  font-size: 1.65rem;
}

.hero-deck {
  max-width: 680px;
  margin: 1.25rem 0 0;
  color: rgba(248,241,231,0.86);
  font-size: 1.1rem;
  line-height: 1.8;
}

.author-hero-cta-group {
  margin-top: 2rem;
  max-width: 520px;
}

.author-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.author-hero-actions .preorder-cta {
  width: min(100%, 248px);
}

.author-writing-link {
  margin-top: 1rem;
  text-align: center;
}

.author-writing-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f8f1e7;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.author-writing-link a:hover {
  color: var(--book-cover-pink);
}

.author-on-dark {
  color: #f8f1e7;
  border-color: rgba(248,241,231,0.42);
}

.author-on-dark:hover {
  background: rgba(248,241,231,0.1);
}

.book-cover-panel {
  position: relative;
  max-width: 360px;
  margin-left: auto;
  text-align: center;
}

.cover-reveal-kicker {
  margin: 0 0 0.8rem;
  color: #f0b0b8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cover-reveal-note {
  margin: 0.95rem auto 0;
  max-width: 28ch;
  color: rgba(248,241,231,0.72);
  font-size: 0.92rem;
  line-height: 1.6;
}

.book-cover-frame {
  position: relative;
}

.book-cover-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.14),
    inset 0 -35px 55px rgba(17,24,32,0.16);
  pointer-events: none;
}

.book-cover-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow:
    0 32px 70px rgba(0,0,0,0.35),
    0 8px 24px rgba(0,0,0,0.24);
}

.excerpt-page-main {
  padding: 4.25rem 0 4.75rem;
}

.excerpt-book-section {
  overflow: hidden;
  background: var(--book-cover-cream);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 30px;
  box-shadow: 0 18px 45px rgba(16,34,49,0.12);
}

.excerpt-book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  align-items: stretch;
}

.excerpt-copy {
  padding: clamp(2.1rem, 5vw, 3.5rem);
}

.excerpt-book-section .eyebrow {
  color: #9b5f6f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.excerpt-book-section h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--book-cover-blue);
  font-family: "Playfair Display", serif;
  font-size: clamp(2.55rem, 5vw, 4.65rem);
  font-weight: 600;
  line-height: 1.06;
}

.excerpt-deck {
  max-width: 64ch;
  margin: 1.45rem 0 0;
  color: rgba(47,58,56,0.82);
  font-size: 1.08rem;
  line-height: 1.75;
}

.excerpt-note {
  max-width: 650px;
  margin-top: 2rem;
  padding: 1.35rem 1.45rem;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(255,255,255,0.66);
  border-radius: 22px;
}

.excerpt-note h2 {
  margin: 0;
  color: var(--book-cover-blue);
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

.excerpt-note p {
  margin: 0.65rem 0 0;
  color: rgba(47,58,56,0.82);
  line-height: 1.7;
}

.excerpt-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.excerpt-actions .preorder-cta {
  width: min(100%, 265px);
}

.excerpt-book-section .preorder-cta-primary {
  background: var(--book-cover-blue);
  color: #ffffff;
  border-color: var(--book-cover-blue);
}

.excerpt-book-section .preorder-cta-secondary {
  background: rgba(255,255,255,0.66);
  color: var(--book-cover-blue);
  border-color: rgba(28,40,60,0.44);
}

.excerpt-book-section .preorder-cta-secondary:hover {
  background: rgba(255,255,255,0.86);
}

.excerpt-price-note {
  max-width: 58ch;
  margin: 1.15rem 0 0;
  color: rgba(47,58,56,0.78);
  font-size: 0.94rem;
  line-height: 1.65;
}

.excerpt-cover-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: clamp(2.2rem, 5vw, 3.5rem);
  background: var(--book-cover-blue);
  color: var(--book-cover-cream);
}

.excerpt-cover-content {
  width: min(100%, 360px);
  text-align: center;
}

.excerpt-cover-content .book-cover-frame img {
  border-radius: 22px;
}

.endorsement-section {
  padding: 4.5rem 0;
}

.endorsement-section h2 {
  margin: 0 0 2rem;
  font-family: "Playfair Display", serif;
  font-size: 2.35rem;
  line-height: 1.16;
  text-align: center;
  color: var(--sage);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  margin: 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(46,67,65,0.18);
  border-bottom: 1px solid rgba(46,67,65,0.18);
}

.testimonial-card blockquote {
  margin: 0;
}

.testimonial-card p {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.32rem;
  line-height: 1.55;
  color: var(--sage);
}

.testimonial-card figcaption {
  margin-top: 1.5rem;
  color: var(--muted);
  line-height: 1.55;
}

.testimonial-card figcaption span,
.testimonial-card figcaption small {
  display: block;
}

.testimonial-card figcaption span {
  color: var(--text);
  font-weight: 600;
}

.testimonial-author-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.testimonial-author-link:hover,
.testimonial-author-link:focus-visible {
  opacity: 0.82;
}

.launch-section {
  padding: 4.25rem 0;
  background: #f1e8dd;
  border-top: 1px solid rgba(46,67,65,0.08);
  border-bottom: 1px solid rgba(46,67,65,0.08);
}

.launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 520px);
  gap: 3rem;
  align-items: start;
}

.launch-section h2,
.memoir-section h2,
.speaking-section h2,
.substack-section h2 {
  font-size: 2.7rem;
  color: var(--sage);
}

.launch-section p,
.memoir-section p,
.speaking-section p,
.substack-section p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.preorder-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1.8rem;
  width: 100%;
}

.preorder-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 300px);
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.preorder-cta:hover {
  transform: translateY(-1px);
}

.preorder-cta-primary {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.preorder-cta-primary:hover {
  opacity: 0.92;
}

.preorder-cta-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(44,69,64,0.35);
}

.preorder-cta-secondary:hover {
  background: rgba(46,67,65,0.08);
}

.author-hero-actions .preorder-cta-secondary {
  color: #f8f1e7;
  border-color: rgba(248,241,231,0.42);
}

.author-hero-actions .preorder-cta-secondary:hover {
  background: rgba(248,241,231,0.1);
}

.preorder-options-copy .preorder-cta-stack {
  align-items: flex-start;
  max-width: 300px;
}

.launch-form-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(46,67,65,0.12);
  border-radius: 24px;
  padding: 2rem;
  box-shadow:
    0 18px 40px rgba(31,42,40,0.08),
    0 4px 14px rgba(31,42,40,0.05);
}

.preorder-card-content {
  position: relative;
  z-index: 1;
}

.detail-kicker {
  margin: 0;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preorder-detail-list {
  display: grid;
  gap: 1rem;
  margin: 1.45rem 0 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.6;
}

.preorder-detail-list div {
  padding-top: 1rem;
  border-top: 1px solid rgba(46,67,65,0.12);
}

.preorder-detail-list dt {
  color: var(--sage);
  font-weight: 700;
}

.preorder-detail-list dd {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

.preorder-detail-list dd strong {
  color: var(--text);
  font-size: 1.35rem;
  font-family: "Playfair Display", serif;
}

.preorder-detail-list dd span {
  color: rgba(47,58,56,0.76);
  font-size: 0.92rem;
}

.preorder-card-actions {
  align-items: stretch;
}

.preorder-card-actions .preorder-cta {
  width: 100%;
}

.preorder-detail-card {
  background: var(--book-cover-blue);
  color: var(--book-cover-cream);
  border-color: rgba(244,239,231,0.14);
  box-shadow: 0 24px 70px rgba(39,63,74,0.18);
}

.preorder-detail-card .detail-kicker,
.preorder-detail-card .preorder-detail-list dt,
.preorder-detail-card .preorder-detail-list dd strong {
  color: #ffffff !important;
}

.preorder-detail-card .preorder-detail-list dd,
.preorder-detail-card .preorder-detail-list dd span,
.preorder-detail-card .form-note {
  color: rgba(244,239,231,0.84);
}

.preorder-detail-card .preorder-detail-list div {
  border-color: rgba(244,239,231,0.18);
}

.preorder-detail-card .preorder-cta-primary {
  background: var(--book-cover-cream);
  color: var(--book-cover-blue);
  border-color: var(--book-cover-cream);
  box-shadow: none;
}

.preorder-detail-card .preorder-cta-secondary {
  background: transparent;
  color: var(--book-cover-cream);
  border-color: rgba(244,239,231,0.68);
}

.preorder-detail-card .preorder-cta-secondary:hover {
  background: rgba(244,239,231,0.1);
}

.book-butterflies {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.book-butterfly-accent {
  position: absolute;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.18));
  z-index: 0;
}

.book-butterfly-accent img {
  display: block;
  width: 100%;
  height: auto;
}

.book-butterfly-accent-one {
  width: clamp(46px, 7vw, 82px);
  top: 1.25rem;
  right: 1.35rem;
  opacity: 0.9;
  transform: rotate(8deg);
}

.book-butterfly-accent-two {
  width: clamp(34px, 5vw, 58px);
  bottom: -1.75rem;
  left: -2rem;
  opacity: 0.58;
  transform: rotate(-12deg);
}

.book-butterfly-accent-three {
  width: clamp(34px, 5vw, 54px);
  top: 8.4rem;
  right: 2.1rem;
  opacity: 0.56;
  transform: rotate(-8deg);
}

.launch-form {
  display: grid;
  gap: 0.75rem;
}

.launch-form label {
  font-weight: 600;
  color: var(--text);
}

.launch-form input {
  width: 100%;
  border: 1px solid rgba(46,67,65,0.18);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  padding: 0.9rem 1rem;
  font: inherit;
}

.launch-form input:focus {
  outline: 2px solid rgba(46,67,65,0.28);
  outline-offset: 2px;
}

.launch-form button {
  width: 100%;
  border: 0;
  cursor: pointer;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  margin-top: 0.35rem;
}

.launch-form button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.form-note {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-state {
  border-radius: 18px;
  padding: 1rem;
  line-height: 1.5;
}

.form-state p {
  margin: 0;
  font-size: 1rem;
}

.form-state.success {
  background: #eef7ef;
  border: 1px solid #c6ddc9;
  color: #29452d;
}

.form-state.error {
  margin-top: 1rem;
  background: #fff3ef;
  border: 1px solid #ebc8bd;
  color: #65372b;
}

.memoir-section {
  padding: 5rem 0;
}

.memoir-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 430px);
  gap: 4rem;
  align-items: center;
}

.memoir-copy {
  max-width: 760px;
}

.memoir-copy .lead {
  color: var(--text);
  font-size: 1.18rem;
}

.pull-quote {
  margin: 2rem 0 0;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(46,67,65,0.3);
  font-family: "Playfair Display", serif;
  color: var(--sage);
  font-size: 1.45rem;
  line-height: 1.5;
}

.author-portrait {
  margin: 0;
}

.author-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  box-shadow:
    0 22px 44px rgba(31,42,40,0.11),
    0 5px 16px rgba(31,42,40,0.07);
}

.editorial-portrait img {
  max-height: 650px;
  object-fit: cover;
}

.speaking-section {
  padding: 5rem 0;
  background: var(--color-light-bg);
}

.speaking-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 480px);
  gap: 3.5rem;
  align-items: start;
}

.speaking-cta {
  display: inline-flex;
  margin-top: 1.8rem;
}

.speaking-email {
  color: var(--sage) !important;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem !important;
}

.speaking-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.speaking-list li {
  padding: 1rem 1.15rem;
  border-top: 1px solid rgba(46,67,65,0.14);
  color: var(--text);
  font-weight: 500;
}

.speaking-list li:last-child {
  border-bottom: 1px solid rgba(46,67,65,0.14);
}

.substack-section {
  padding: 5rem 0 5.5rem;
}

.substack-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  max-width: 980px;
}

.substack-section .btn-secondary {
  display: inline-flex;
  margin-top: 1.6rem;
}

.small-bw img {
  border-radius: 22px;
  max-height: 430px;
  object-fit: cover;
  object-position: center 28%;
}

/* ================= FOOTER ================= */

footer {
  background: var(--bg-soft);
  padding: 2rem;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

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

@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: inline-flex; }
  .site-header {
    background: #faf7f2;
    backdrop-filter: none;
  }
  .hero-home h1 { font-size: 2.6rem; }
  .page-hero h1 { font-size: 2rem; }

  .author-hero {
    padding: 3.5rem 0 4rem;
  }

  .author-hero-grid,
  .excerpt-book-grid,
  .launch-grid,
  .testimonial-grid,
  .speaking-grid,
  .memoir-layout,
  .substack-grid {
    grid-template-columns: 1fr;
  }

  .author-hero h1 {
    font-size: 3.25rem;
  }

  .book-cover-panel {
    max-width: 330px;
    margin-left: 0;
  }

  .excerpt-book-section h1 {
    max-width: 14ch;
  }

  .testimonial-grid {
    gap: 1.5rem;
  }

  .substack-grid {
    max-width: 720px;
  }
}

@media (min-width: 901px) {
  #mobile-nav,
  #mobile-nav-panel {
    display: none !important;
  }
}

@media (max-width: 1160px) {
  .brand { min-width: 180px; }
  .brand-logo {
    width: 180px;
    height: 52px;
  }
  .nav { gap: 16px; }
  .nav-link { font-size: 14px; }
  .btn-primary.header-book { padding: 10px 18px; font-size: 13px; }
}

@media (max-width: 640px) {
  .site-header .site-container {
    padding-left: 0.6rem;
    padding-right: 0.7rem;
  }

  .card {
    background: #fff;
    box-shadow:
      0 12px 26px rgba(31,42,40,0.06),
      0 2px 8px rgba(31,42,40,0.04);
  }

  #mobile-nav {
    background: #faf7f2;
    border-left: 1px solid rgba(46,67,65,0.14);
  }

  .home-hero {
    background: linear-gradient(180deg, #f9f4ed 0%, #f2ebe1 100%);
    border-bottom: 1px solid rgba(46,67,65,0.1);
    padding-top: 0.9rem;
    padding-bottom: 1.4rem;
  }

  .home-hero .hero-logo-shell {
    width: min(100%, 540px);
    background: #f7f0e7;
    border: 1px solid rgba(46,67,65,0.12);
    border-radius: 30px;
    padding: 0.7rem;
    box-shadow:
      0 14px 30px rgba(31,42,40,0.08),
      inset 0 1px 0 rgba(255,255,255,0.86);
  }

  .home-hero .hero-logo-shell::before {
    display: none;
  }

  .home-hero .hero-logo {
    mix-blend-mode: normal;
    opacity: 1;
    filter: saturate(0.96) contrast(1.02);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .home-hero .hero-cta {
    margin-top: 0.95rem;
    gap: 0.65rem;
  }

  .home-hero .hero-copy {
    margin-top: 0.9rem;
    max-width: 34ch;
    line-height: 1.55;
    color: #46524f;
  }

  .home-hero .btn-secondary {
    background: rgba(255,255,255,0.86);
    border-color: rgba(46,67,65,0.22);
  }

  .author-hero {
    padding: 2.75rem 0 3.25rem;
  }

  .excerpt-page-main {
    padding: 2.75rem 0 3.25rem;
  }

  .excerpt-book-section {
    border-radius: 24px;
  }

  .excerpt-copy,
  .excerpt-cover-panel {
    padding: 1.5rem;
  }

  .excerpt-book-section h1 {
    font-size: 2.35rem;
  }

  .excerpt-actions .preorder-cta {
    width: 100%;
  }

  .author-hero h1 {
    font-size: 2.65rem;
  }

  .release-line {
    font-size: 1.35rem;
  }

  .author-hero-cta-group {
    max-width: none;
  }

  .author-hero-actions {
    flex-direction: column;
  }

  .author-hero-actions .preorder-cta,
  .preorder-cta,
  .speaking-cta {
    width: 100%;
    justify-content: center;
  }

  .preorder-options-copy .preorder-cta-stack {
    max-width: none;
  }

  .endorsement-section h2 {
    font-size: 2rem;
  }

  .testimonial-card {
    padding: 1.45rem 0;
  }

  .testimonial-card p {
    font-size: 1.18rem;
  }

  .launch-section h2,
  .memoir-section h2,
  .speaking-section h2,
  .substack-section h2 {
    font-size: 2.15rem;
  }

  .launch-form-card {
    padding: 1.25rem;
  }

  .book-butterfly-accent-one {
    width: 46px;
    top: 1rem;
    right: 0.9rem;
  }

  .book-butterfly-accent-two {
    width: 36px;
    bottom: -1.2rem;
    left: -1.35rem;
    opacity: 0.46;
  }

  .book-butterfly-accent-three {
    display: none;
  }

  .memoir-section,
  .speaking-section,
  .substack-section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 430px) {
  .home-hero .hero-logo-shell {
    width: min(100%, 430px);
    border-radius: 26px;
    padding: 0.58rem;
  }

  .home-hero .hero-cta a {
    min-height: 46px;
    padding-left: 1.3rem;
    padding-right: 1.3rem;
  }
}

@media (max-width: 430px) and (max-height: 760px) {
  .home-hero {
    padding-top: 0.6rem;
    padding-bottom: 1.1rem;
  }

  .home-hero .hero-logo-shell {
    width: min(100%, 360px);
  }

  .home-hero .hero-cta {
    margin-top: 0.75rem;
  }

  .home-hero .hero-copy {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    max-width: 32ch;
  }
}

/* ================= AUTHOR PAGE BOOK SYSTEM ================= */

.author-page {
  --author-midnight: #101827;
  --author-navy: #1c283c;
  --author-blue: #263852;
  --author-blush: #eba7b5;
  --author-dusty-rose: #b97887;
  --author-cream: #f4efe7;
  --author-paper: #fbf8f3;
  --author-ink: #19263a;
  --author-muted: #617086;
  --author-line: rgba(28, 40, 60, 0.2);
  background: var(--author-paper);
  color: var(--author-ink);
}

.author-page main {
  background: var(--author-paper);
  color: var(--author-ink);
  overflow-x: clip;
}

.author-page main a {
  color: inherit;
}

.author-page .eyebrow {
  color: var(--author-dusty-rose);
  letter-spacing: 0.12em;
}

.author-page .author-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(4.75rem, 8vw, 7.5rem);
  background:
    linear-gradient(135deg, rgba(16, 24, 39, 0.99), rgba(28, 40, 60, 0.98) 64%, rgba(38, 56, 82, 0.98)),
    var(--author-midnight);
  color: var(--author-cream);
}

.author-page .author-hero-grid {
  position: relative;
  z-index: 1;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.author-page .author-hero-copy,
.author-page .book-cover-panel {
  position: relative;
  z-index: 1;
}

.author-page .author-hero .eyebrow {
  color: var(--author-blush);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.author-page .author-hero h1 {
  max-width: 780px;
  color: var(--author-cream);
  font-size: clamp(3.2rem, 6vw, 5.35rem);
  letter-spacing: -0.04em;
}

.author-page .release-line {
  color: var(--author-blush);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.author-page .hero-deck {
  max-width: 620px;
  color: rgba(244, 239, 231, 0.82);
  font-size: 1.06rem;
  line-height: 1.8;
}

.author-page .author-hero-motif,
.author-page .section-butterfly {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.author-page .author-hero-motif img,
.author-page .section-butterfly img {
  display: block;
  width: 100%;
  height: auto;
}

.author-page .author-hero-motif-one {
  top: 2rem;
  left: 5%;
  width: 72px;
  opacity: 0.28;
  transform: rotate(-12deg);
}

.author-page .author-hero-motif-two {
  right: 42%;
  bottom: 2.2rem;
  width: 48px;
  opacity: 0.26;
  transform: rotate(10deg);
}

.author-page .book-cover-panel {
  max-width: 360px;
}

.author-page .book-cover-frame img {
  border: 1px solid rgba(244, 239, 231, 0.16);
  border-radius: 20px;
  box-shadow:
    0 32px 70px rgba(0, 0, 0, 0.38),
    0 9px 26px rgba(0, 0, 0, 0.24);
}

.author-page .author-hero-cta-group {
  max-width: 500px;
  margin-top: 2rem;
}

.author-page .author-hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0;
}

.author-page main .author-cta {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.author-page main .author-cta:hover {
  transform: translateY(-1px);
}

.author-page main .author-cta:focus-visible {
  outline: 3px solid var(--author-blush);
  outline-offset: 3px;
}

.author-page main .author-cta-primary {
  background: var(--author-cream);
  border-color: var(--author-cream);
  color: var(--author-navy);
}

.author-page main .author-cta-primary:hover {
  background: #fffaf4;
  border-color: #fffaf4;
}

.author-page main .author-cta-secondary {
  background: transparent;
  border-color: rgba(244, 239, 231, 0.68);
  color: var(--author-cream);
}

.author-page main .author-cta-secondary:hover {
  background: rgba(235, 167, 181, 0.12);
  border-color: var(--author-blush);
  color: var(--author-cream);
}

.author-page main .author-cta-accent {
  background: var(--author-blush);
  border-color: var(--author-blush);
  color: var(--author-navy);
}

.author-page main .author-cta-accent:hover {
  background: #f2bbc6;
  border-color: #f2bbc6;
}

.author-page .author-deadline {
  margin: 0.9rem 0 0;
  color: var(--author-blush);
  font-size: 0.88rem;
  line-height: 1.55;
}

.author-page .hero-deadline {
  max-width: 44ch;
  color: rgba(244, 239, 231, 0.78);
}

.author-page .endorsement-section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
  background: var(--author-paper);
  border-top: 1px solid rgba(185, 120, 135, 0.28);
  border-bottom: 1px solid rgba(185, 120, 135, 0.28);
}

.author-page .endorsement-section .site-container,
.author-page .memoir-section .site-container,
.author-page .newsletter-section .site-container {
  position: relative;
  z-index: 1;
}

.author-page .endorsement-section h2 {
  color: var(--author-navy);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  text-align: center;
}

.author-page .testimonial-grid {
  gap: clamp(1.75rem, 4vw, 3.5rem);
}

.author-page .testimonial-card {
  padding: 2.25rem 1.25rem 2rem;
  border-color: rgba(185, 120, 135, 0.46);
  background: transparent;
}

.author-page .testimonial-card p {
  color: var(--author-navy);
}

.author-page .testimonial-card figcaption {
  color: var(--author-muted);
}

.author-page .testimonial-card figcaption span {
  color: var(--author-dusty-rose);
}

.author-page .praise-butterfly {
  top: 1.2rem;
  right: 5%;
  width: 48px;
  opacity: 0.42;
  transform: rotate(10deg);
}

.author-page .launch-section {
  position: relative;
  isolation: isolate;
  padding: clamp(4.75rem, 8vw, 6.75rem) 0;
  background: var(--author-blue);
  border-top: 0;
  border-bottom: 0;
  color: var(--author-cream);
}

.author-page .launch-grid {
  position: relative;
  z-index: 1;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.author-page .author-format-copy .eyebrow {
  color: var(--author-blush);
}

.author-page .launch-section h2 {
  color: var(--author-cream);
  font-size: clamp(2.3rem, 4vw, 3.15rem);
}

.author-page .launch-section p {
  color: rgba(244, 239, 231, 0.8);
}

.author-page .author-format-copy > p {
  max-width: 48ch;
}

.author-page .author-format-copy > .author-deadline {
  color: var(--author-blush);
  font-weight: 600;
}

.author-page .author-format-actions {
  display: flex;
  width: min(100%, 320px);
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.author-page .formats-butterfly {
  top: 1.7rem;
  left: 8%;
  width: 52px;
  opacity: 0.26;
  transform: rotate(-12deg);
}

.author-page .formats-card {
  position: relative;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  border: 1px solid rgba(235, 167, 181, 0.32);
  border-radius: 18px;
  background: var(--author-navy);
  box-shadow: 0 24px 58px rgba(8, 14, 24, 0.28);
  color: var(--author-cream);
}

.author-page .author-format-card-content {
  position: relative;
  z-index: 1;
}

.author-page .formats-card .detail-kicker {
  color: var(--author-blush);
}

.author-page .author-format-list {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0 0;
  font-size: 0.96rem;
  line-height: 1.55;
}

.author-page .author-format-list > div {
  padding-top: 1rem;
  border-top: 1px solid rgba(244, 239, 231, 0.18);
}

.author-page .author-format-list dt {
  color: var(--author-cream);
  font-weight: 700;
}

.author-page .author-format-list dd {
  margin: 0.2rem 0 0;
  color: rgba(244, 239, 231, 0.74);
}

.author-page .author-format-list dd strong {
  color: var(--author-blush);
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
}

.author-page .author-format-list dd span {
  color: rgba(244, 239, 231, 0.58);
  font-size: 0.88rem;
}

.author-page .author-format-list dd .author-card-deadline {
  display: block;
  margin-top: 0.5rem;
  color: var(--author-blush);
  font-size: 0.86rem;
  font-weight: 600;
}

.author-page .formats-card .author-format-actions {
  width: min(100%, 320px);
  margin-right: auto;
  margin-left: auto;
  margin-top: 1.8rem;
}

.author-page .formats-card .author-cta-primary {
  background: var(--author-cream);
  border-color: var(--author-cream);
  color: var(--author-navy);
}

.author-page .formats-card .author-cta-secondary {
  border-color: rgba(244, 239, 231, 0.7);
  color: var(--author-cream);
}

.author-page .formats-card .author-cta-accent {
  background: var(--author-blush);
  border-color: var(--author-blush);
  color: var(--author-navy);
}

.author-page .author-card-note {
  margin: 1rem 0 0;
  color: rgba(244, 239, 231, 0.68) !important;
  font-size: 0.87rem !important;
  line-height: 1.55 !important;
}

.author-page .formats-card .book-butterfly-accent-one {
  width: 64px;
  top: 1.2rem;
  right: 1.25rem;
  opacity: 0.86;
}

.author-page .formats-card .book-butterfly-accent-two {
  width: 42px;
  bottom: -1rem;
  left: -1.1rem;
  opacity: 0.52;
}

.author-page .formats-card .book-butterfly-accent-three {
  width: 40px;
  top: 8rem;
  right: 1.9rem;
  opacity: 0.42;
}

.author-page .memoir-section {
  position: relative;
  padding: clamp(5rem, 8vw, 7rem) 0;
}

.author-page .book-section {
  background: var(--author-paper);
  border-bottom: 1px solid rgba(185, 120, 135, 0.24);
}

.author-page .author-section {
  background: var(--author-blue);
  color: var(--author-cream);
}

.author-page .memoir-layout {
  gap: clamp(2.5rem, 6vw, 5rem);
}

.author-page .memoir-section h2 {
  color: var(--author-navy);
  font-size: clamp(2.35rem, 4vw, 3.2rem);
}

.author-page .memoir-section p {
  color: var(--author-muted);
}

.author-page .memoir-copy .lead {
  color: var(--author-ink);
}

.author-page .author-section .eyebrow {
  color: var(--author-blush);
}

.author-page .author-section h2 {
  color: var(--author-cream);
}

.author-page .author-section .memoir-section p,
.author-page .author-section p {
  color: rgba(244, 239, 231, 0.76);
}

.author-page .author-section .memoir-copy .lead {
  color: var(--author-cream);
}

.author-page .author-portrait img {
  border: 1px solid rgba(28, 40, 60, 0.16);
  border-radius: 18px;
  box-shadow:
    0 24px 50px rgba(16, 24, 39, 0.16),
    0 5px 16px rgba(16, 24, 39, 0.08);
}

.author-page .author-section .author-portrait img {
  border-color: rgba(235, 167, 181, 0.42);
  box-shadow: 0 24px 50px rgba(8, 14, 24, 0.28);
}

.author-page .book-butterfly {
  top: 1.4rem;
  right: 7%;
  width: 48px;
  opacity: 0.38;
  transform: rotate(12deg);
}

.author-page .author-butterfly {
  top: 1.5rem;
  left: 7%;
  width: 48px;
  opacity: 0.28;
  transform: rotate(-10deg);
}

.author-page .author-section .author-butterfly {
  opacity: 0.5;
}

.author-page .newsletter-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 8vw, 7rem) 0;
  background: var(--author-cream);
  border-top: 1px solid rgba(185, 120, 135, 0.28);
}

.author-page .newsletter-inner {
  display: grid;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
  justify-items: center;
  gap: 1.5rem;
  border-top: 1px solid rgba(185, 120, 135, 0.42);
  border-bottom: 1px solid rgba(185, 120, 135, 0.42);
  text-align: center;
}

.author-page .newsletter-portrait {
  width: min(100%, 178px);
}

.author-page .newsletter-portrait img {
  max-height: 230px;
  border-color: rgba(185, 120, 135, 0.38);
  border-radius: 16px;
  object-fit: cover;
  object-position: center 28%;
  filter: grayscale(1) contrast(1.03);
}

.author-page .newsletter-copy {
  max-width: 620px;
  text-align: center;
}

.author-page .newsletter-copy .eyebrow {
  color: var(--author-dusty-rose);
}

.author-page .newsletter-copy h2 {
  color: var(--author-navy);
  font-size: clamp(2.4rem, 4vw, 3.35rem);
}

.author-page .newsletter-copy p {
  max-width: 52ch;
  margin-right: auto;
  margin-left: auto;
  color: var(--author-muted);
}

.author-page .newsletter-copy .author-cta {
  width: min(100%, 250px);
  margin-top: 1.7rem;
  background: var(--author-navy);
  border-color: var(--author-navy);
  color: var(--author-cream);
}

.author-page .newsletter-butterfly {
  top: 1.5rem;
  left: 50%;
  width: 48px;
  opacity: 0.52;
  transform: translateX(-50%) rotate(12deg);
}

.author-page footer {
  background: var(--author-midnight);
  border-top: 1px solid rgba(235, 167, 181, 0.22);
  color: rgba(244, 239, 231, 0.68);
}

.author-page footer p {
  margin: 0;
  color: inherit;
}

@media (max-width: 900px) {
  .author-page .author-hero {
    padding: 4rem 0 4.75rem;
  }

  .author-page .author-hero-grid {
    gap: 2.75rem;
  }

  .author-page .author-hero-actions {
    max-width: 440px;
  }

  .author-page .author-hero-motif-one {
    top: 1.3rem;
    left: 2.5rem;
    width: 56px;
    opacity: 0.22;
  }

  .author-page .author-hero-motif-two {
    display: none;
  }

  .author-page .formats-card {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .author-page .praise-butterfly,
  .author-page .formats-butterfly,
  .author-page .book-butterfly,
  .author-page .author-butterfly {
    opacity: 0.22;
  }
}

@media (max-width: 640px) {
  .author-page .author-hero {
    padding: 3.25rem 0 4rem;
  }

  .author-page .author-hero h1 {
    font-size: clamp(2.75rem, 13vw, 3.5rem);
  }

  .author-page .hero-deck {
    font-size: 1rem;
  }

  .author-page .author-hero-actions {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .author-page main .author-cta {
    min-height: 50px;
  }

  .author-page .author-format-actions {
    width: 100%;
    max-width: none;
  }

  .author-page .formats-card {
    padding: 1.45rem;
  }

  .author-page .formats-card .book-butterfly-accent-one {
    width: 52px;
  }

  .author-page .formats-card .book-butterfly-accent-three {
    display: none;
  }

  .author-page .author-deadline {
    font-size: 0.82rem;
  }

  .author-page .newsletter-inner {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .author-page .newsletter-butterfly {
    width: 40px;
  }

  .author-page .praise-butterfly,
  .author-page .formats-butterfly,
  .author-page .book-butterfly,
  .author-page .author-butterfly {
    display: none;
  }
}
