:root {
  --linen: #f6f2e9;
  --sage: #a7b69a;
  --lilac: #b9a6c8;
  --honey: #e0c58c;
  --stone: #cdc3b3;
  --blue: #7d8fa1;
  --ink: #3b2e3a;
  --deep-sage: #5a6b4e;
  --deep-blue: #4f6173;
  --deep-lilac: #6e5a7d;
  --paper: #fffaf0;
  --parchment: #efe4cf;
  --frame: rgba(99, 76, 59, 0.32);
  --frame-soft: rgba(99, 76, 59, 0.2);
  --shadow: 0 24px 58px rgba(59, 46, 58, 0.18);
  --border: 1px solid var(--frame-soft);
  --card-frame: 0 0 0 6px rgba(255, 250, 240, 0.52) inset, 0 0 0 7px rgba(99, 76, 59, 0.08) inset;
  --card-lift-shadow: 0 18px 42px rgba(59, 46, 58, 0.1);
  --ease: 0.18s ease;
  color-scheme: light;
}

* {
  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;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(246, 242, 233, 0.34), rgba(239, 228, 207, 0.5)),
    url("images/tex-linen.jpg"),
    radial-gradient(circle at 10% -4%, rgba(224, 197, 140, 0.18), transparent 33rem),
    radial-gradient(circle at 90% 18%, rgba(185, 166, 200, 0.14), transparent 28rem),
    linear-gradient(180deg, rgba(246, 242, 233, 0.42), rgba(239, 228, 207, 0.58));
  background-size: auto, 520px 520px, auto, auto, auto;
  background-repeat: no-repeat, repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
  background-blend-mode: normal, multiply, multiply, multiply, normal;
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
}

body.is-map-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--deep-sage);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition: color var(--ease);
}

a:hover {
  color: var(--deep-lilac);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  border: 2px solid var(--deep-sage);
  border-radius: 8px;
  background: var(--paper);
  color: var(--deep-sage);
  font-weight: 700;
  padding: 0.6rem 0.85rem;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(31, 22, 31, 0.24);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--deep-lilac);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: var(--border);
  background:
    linear-gradient(rgba(246, 242, 233, 0.72), rgba(246, 242, 233, 0.72)),
    url("images/tex-paper.jpg");
  background-size: auto, 520px;
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
}

.brand {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.8vw, 1.15rem);
}

.nav-panel a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-panel a.button {
  min-height: 42px;
  padding: 0.68rem 0.95rem;
  color: var(--linen);
}

.nav-panel a.button:hover {
  color: var(--linen);
}

.nav-panel a[aria-current="page"] {
  color: var(--deep-sage);
  border-bottom: 2px solid var(--sage);
}

.nav-panel a.button[aria-current="page"] {
  color: var(--linen);
  border-bottom: 0;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: var(--border);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0;
  font-weight: 700;
}

.nav-toggle::before {
  content: "\2630";
  font-size: 1.35rem;
  line-height: 1;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.12rem;
  border: 1px solid var(--deep-sage);
  border-radius: 8px;
  background:
    linear-gradient(rgba(90, 107, 78, 0.94), rgba(90, 107, 78, 0.94)),
    url("images/tex-paper.jpg");
  background-size: auto, 360px;
  color: var(--linen);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 250, 240, 0.35) inset, 0 8px 16px rgba(59, 46, 58, 0.12);
  transition: background-color var(--ease), border-color var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.button:hover,
button.button:hover {
  background: var(--deep-blue);
  border-color: var(--deep-blue);
  color: var(--linen);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 250, 240, 0.35) inset, 0 12px 22px rgba(59, 46, 58, 0.16);
}

.button.secondary {
  background:
    linear-gradient(rgba(255, 250, 240, 0.62), rgba(255, 250, 240, 0.62)),
    url("images/tex-paper.jpg");
  background-size: auto, 420px;
  color: var(--deep-sage);
  box-shadow: 0 1px 0 rgba(255, 250, 240, 0.62) inset;
}

.button.secondary:hover {
  background: rgba(167, 182, 154, 0.22);
  color: var(--deep-sage);
}

.hero .button.secondary {
  border-color: rgba(246, 242, 233, 0.78);
  background: rgba(31, 22, 31, 0.36);
  color: var(--linen);
  box-shadow: 0 1px 0 rgba(255, 250, 240, 0.18) inset, 0 8px 16px rgba(31, 22, 31, 0.18);
}

.hero .button.secondary:hover {
  background: rgba(31, 22, 31, 0.52);
  color: var(--linen);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(82svh, 760px);
  padding: 6.8rem 0 5rem;
  background:
    linear-gradient(90deg, rgba(31, 22, 31, 0.9), rgba(45, 35, 44, 0.7) 44%, rgba(59, 46, 58, 0.32) 78%, rgba(59, 46, 58, 0.18)),
    linear-gradient(180deg, rgba(31, 22, 31, 0.36), rgba(31, 22, 31, 0.18)),
    var(--hero-image) center / cover;
  color: var(--linen);
}

.hero .inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-content {
  max-width: 680px;
}

.kicker,
.eyebrow,
.breadcrumb,
.label {
  margin: 0 0 0.55rem;
  color: var(--deep-lilac);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .kicker {
  color: #f3deb3;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero h1 {
  color: var(--linen);
  font-size: clamp(3rem, 7.1vw, 6.15rem);
  max-width: 980px;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.34);
}

.hero h1 .line {
  display: block;
  white-space: nowrap;
}

.hero p {
  max-width: 650px;
  margin: 1.05rem 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1rem;
  margin-top: 1.45rem;
}

.hero-note {
  color: rgba(246, 242, 233, 0.92);
  font-size: 0.96rem;
}

.section {
  position: relative;
  padding: 4.8rem 0;
}

.section.tight {
  padding: 3.4rem 0;
}

.band {
  background:
    radial-gradient(circle at 8% 0%, rgba(167, 182, 154, 0.2), transparent 22rem),
    linear-gradient(rgba(239, 232, 213, 0.58), rgba(229, 222, 202, 0.64)),
    url("images/tex-paper.jpg");
  background-size: auto, auto, 100% 100%;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-blend-mode: multiply, normal, multiply;
  border-block: var(--border);
}

.honey-band {
  background:
    radial-gradient(circle at 82% 10%, rgba(224, 197, 140, 0.18), transparent 24rem),
    linear-gradient(rgba(244, 232, 199, 0.28), rgba(235, 219, 183, 0.34)),
    url("images/tex-parchment-edge.png");
  background-size: auto, auto, 100% 100%;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-blend-mode: multiply, normal, multiply;
  border-block: var(--border);
}

.lead-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(224, 197, 140, 0.24), transparent 24rem),
    radial-gradient(circle at 88% 0%, rgba(167, 182, 154, 0.16), transparent 22rem),
    linear-gradient(rgba(248, 240, 220, 0.46), rgba(239, 228, 207, 0.54)),
    url("images/tex-parchment-edge.png");
  background-size: auto, auto, auto, 100% 100%;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-blend-mode: multiply, multiply, normal, multiply;
  border-bottom: var(--border);
}

.rules-section {
  background:
    linear-gradient(rgba(246, 242, 233, 0.72), rgba(246, 242, 233, 0.78)),
    url("images/tex-linen.jpg");
  background-size: auto, 520px;
  background-repeat: no-repeat, repeat;
}

.inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(860px, calc(100% - 32px));
}

.section-title {
  max-width: 800px;
  margin-bottom: 1.7rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 132px;
  height: 16px;
  margin-top: 1rem;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20132%2016'%3E%3Cg%20fill='none'%20stroke='%236e5a7d'%20stroke-width='1.2'%3E%3Cline%20x1='6'%20y1='8'%20x2='50'%20y2='8'/%3E%3Cline%20x1='82'%20y1='8'%20x2='126'%20y2='8'/%3E%3C/g%3E%3Cg%20fill='%236e5a7d'%3E%3Crect%20x='61'%20y='3'%20width='10'%20height='10'%20transform='rotate(45%2066%208)'/%3E%3Ccircle%20cx='50'%20cy='8'%20r='2'/%3E%3Ccircle%20cx='82'%20cy='8'%20r='2'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.7;
}

.section-title h1,
.section-title h2 {
  font-size: clamp(2.15rem, 5vw, 3.3rem);
}

.section-title p {
  margin: 0.85rem 0 0;
  font-size: 1.12rem;
}

.home-page .band:not(.map-teaser-section) > .inner > .section-title,
.home-page .rules-section .section-title,
.home-page .honey-band .section-title {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.home-page .band:not(.map-teaser-section) > .inner > .section-title::after,
.home-page .rules-section .section-title::after,
.home-page .honey-band .section-title::after {
  margin-right: auto;
  margin-left: auto;
}

.home-page .rules-section .section-title {
  max-width: 940px;
}

.home-page .rules-section .section-title p {
  max-width: none;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.promise-item,
.book-card,
.soft-panel,
.form-panel,
.detail-list {
  border: 1px solid var(--frame-soft);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.66), rgba(255, 250, 240, 0.66)),
    url("images/tex-paper.jpg");
  background-size: auto, 560px;
  box-shadow: var(--card-frame), var(--card-lift-shadow);
}

.promise-item {
  padding: 1.25rem;
}

.promise-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: stretch;
}

.promise-note {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 100%;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--frame-soft);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.54), rgba(255, 250, 240, 0.54)),
    url("images/tex-parchment-edge.png");
  background-size: auto, cover;
  box-shadow:
    0 0 0 8px rgba(255, 250, 240, 0.32) inset,
    0 0 0 9px rgba(99, 76, 59, 0.08) inset,
    var(--shadow);
}

.promise-note .accent-note {
  margin: 0.35rem 0 0;
  color: var(--deep-lilac);
  font-size: clamp(1.9rem, 4vw, 2.55rem);
}

.promise-note p:last-child {
  max-width: 31rem;
  margin: 1rem 0 0;
}

.promise-list {
  display: grid;
  gap: 1rem;
}

.promise-list .promise-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.25rem 0.95rem;
  align-items: start;
}

.promise-list .promise-icon {
  grid-row: span 2;
  margin: 0.1rem 0 0;
}

.promise-list .promise-item p {
  margin: 0.35rem 0 0;
}

.promise-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: rgba(185, 166, 200, 0.38);
  color: var(--deep-lilac);
  font-size: 1.3rem;
}

.promise-item h3,
.book-card h3,
.soft-panel h3 {
  font-size: 1.55rem;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.7fr);
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3rem);
}

.feature.reverse {
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.05fr);
}

.image-frame {
  position: relative;
  overflow: hidden;
  border: 9px solid var(--paper);
  border-radius: 8px;
  background: var(--stone);
  box-shadow: 0 0 0 1px var(--frame), var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-frame.tall img {
  aspect-ratio: 3 / 4;
}

.image-frame.portrait img {
  aspect-ratio: 4 / 5;
  object-position: center top;
}

.caption {
  margin-top: 0.72rem;
  color: rgba(59, 46, 58, 0.76);
  font-size: 0.88rem;
}

.lead-cover {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 8px solid var(--paper);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.lead-cover img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.lead-cover-text {
  position: absolute;
  inset: 19% 14% auto;
  display: grid;
  gap: 0.55rem;
  justify-items: center;
  color: var(--ink);
  text-align: center;
}

.lead-cover-text .series {
  color: var(--deep-lilac);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lead-cover-text h3 {
  max-width: 14ch;
  font-size: clamp(2rem, 5vw, 3rem);
}

.lead-cover-text p {
  max-width: 22ch;
  margin: 0;
  color: rgba(59, 46, 58, 0.78);
  font-size: 0.96rem;
}

.cover-placeholder {
  display: grid;
  align-content: center;
  gap: 0.7rem;
  min-height: 420px;
  padding: 1.5rem;
  border: 1px solid rgba(59, 46, 58, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(rgba(246, 242, 233, 0.88), rgba(246, 242, 233, 0.88)),
    url("images/ada-linfield-mood-board.png") center / cover;
  color: var(--ink);
  text-align: center;
  box-shadow: var(--shadow);
}

.cover-placeholder h3 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.cover-placeholder .series {
  color: var(--deep-lilac);
  font-weight: 600;
}

.cover-placeholder .emblem {
  margin: 0 auto;
  color: var(--deep-sage);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.2rem;
  line-height: 1;
}

.book-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1rem;
}

.book-card.featured {
  background:
    linear-gradient(rgba(255, 250, 240, 0.58), rgba(255, 250, 240, 0.58)),
    radial-gradient(circle at 20% 0%, rgba(224, 197, 140, 0.22), transparent 13rem),
    url("images/tex-parchment-edge.png");
  background-size: auto, auto, 620px;
  background-blend-mode: normal, multiply, multiply;
}

.rules-grid {
  align-items: stretch;
  gap: clamp(1rem, 2.6vw, 1.55rem);
}

.rule-card {
  position: relative;
  min-height: 100%;
  padding: 1.25rem 1.25rem 1.35rem;
  border: 1px solid var(--frame-soft);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.62), rgba(255, 250, 240, 0.62)),
    radial-gradient(circle at 12% 0%, rgba(224, 197, 140, 0.22), transparent 12rem),
    url("images/tex-paper.jpg");
  background-size: auto, auto, 520px;
  box-shadow: var(--card-frame), var(--card-lift-shadow);
}

.rule-card::before {
  content: "";
  position: absolute;
  inset: 0.75rem 0.75rem auto;
  height: 3px;
  border-radius: 999px;
  background: var(--rule-accent, var(--deep-lilac));
  opacity: 0.62;
}

.rule-card:nth-child(1) {
  --rule-accent: var(--deep-sage);
}

.rule-card:nth-child(2) {
  --rule-accent: var(--deep-lilac);
  transform: translateY(0.55rem);
}

.rule-card:nth-child(3) {
  --rule-accent: #9b7049;
}

.rule-number {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-top: 0.45rem;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(90, 107, 78, 0.32);
  border-radius: 50%;
  background:
    linear-gradient(rgba(255, 250, 240, 0.5), rgba(255, 250, 240, 0.5)),
    url("images/tex-parchment-edge.png");
  background-size: cover;
  color: var(--deep-sage);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.rule-label {
  margin: 0 0 0.3rem;
  color: var(--rule-accent, var(--deep-lilac));
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rule-card h3 {
  font-size: 1.55rem;
}

.rule-card p {
  margin: 0.7rem 0 0;
}

.book-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.book-showcase .mini-cover {
  box-shadow: 0 12px 26px rgba(59, 46, 58, 0.13);
}

a.mini-cover {
  transition: transform var(--ease), box-shadow var(--ease);
}

a.mini-cover:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(59, 46, 58, 0.18);
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.home-page .honey-band .section-actions {
  justify-content: center;
}

.mini-cover {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  margin-bottom: 1rem;
  border: 1px solid var(--frame-soft);
  border-radius: 6px;
  background: var(--paper);
  color: var(--deep-sage);
  font-family: "Cormorant Garamond", Georgia, serif;
  text-align: center;
}

.mini-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-layout > .mini-cover {
  width: min(100%, 420px);
  box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px var(--frame), var(--shadow);
}

.mini-cover-title {
  position: relative;
  display: grid;
  gap: 0.3rem;
  width: min(82%, 15rem);
  padding: 0.9rem;
  border: 1px solid rgba(59, 46, 58, 0.14);
  border-radius: 8px;
  background: rgba(246, 242, 233, 0.78);
  box-shadow: 0 8px 22px rgba(59, 46, 58, 0.12);
}

.mini-cover-title span {
  color: var(--deep-lilac);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mini-cover-title strong {
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.05;
}

.book-card p {
  margin: 0.7rem 0 0;
}

.book-card .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 1rem;
}

.lead-magnet {
  display: grid;
  grid-template-columns: minmax(240px, 0.5fr) minmax(0, 1.08fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
}

.lead-magnet-cover {
  margin: 0;
  border: 9px solid var(--paper);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--frame), var(--shadow);
  overflow: hidden;
}

.lead-magnet-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.lead-magnet .form-panel {
  margin-top: 1rem;
}

.lead-section .form-panel {
  background:
    linear-gradient(rgba(255, 250, 240, 0.78), rgba(255, 250, 240, 0.78)),
    url("images/tex-paper.jpg");
  background-size: auto, 460px;
}

.lead-section .accent-note {
  max-width: 34rem;
}

.lead-section .form-note {
  text-align: center;
}

@media (min-width: 881px) {
  .lead-section .accent-note {
    max-width: none;
    white-space: nowrap;
  }
}

.map-teaser {
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
}

.map-teaser .section-title {
  margin-bottom: 0;
}

.map-teaser .section-title::after {
  display: none;
}

.map-frame {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  border: 10px solid var(--paper);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.58), rgba(255, 250, 240, 0.58)),
    url("images/tex-parchment-edge.png");
  background-size: auto, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  box-shadow: 0 0 0 1px var(--frame), 0 30px 70px rgba(59, 46, 58, 0.2);
  overflow: hidden;
}

.map-zoom {
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}

.map-frame img {
  width: 100%;
  height: auto;
}

.map-hint {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  min-height: 36px;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 250, 240, 0.72);
  border-radius: 8px;
  background: rgba(59, 46, 58, 0.74);
  color: var(--linen);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(31, 22, 31, 0.24);
}

.map-lightbox[hidden] {
  display: none;
}

.map-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(0.8rem, 3vw, 2rem);
  background: rgba(31, 22, 31, 0.78);
}

.map-lightbox-panel {
  position: relative;
  width: min(1240px, 100%);
  max-height: calc(100svh - 2rem);
  overflow: auto;
  border: 10px solid var(--paper);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.map-lightbox-panel img {
  width: 100%;
  min-width: 860px;
  height: auto;
}

.map-close {
  position: sticky;
  top: 0.75rem;
  left: calc(100% - 6rem);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--deep-sage);
  border-radius: 8px;
  background: var(--paper);
  color: var(--deep-sage);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.signup-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  gap: 1.5rem;
  align-items: center;
}

.signup-form,
.contact-form {
  display: grid;
  gap: 0.8rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--frame-soft);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 253, 248, 0.72), rgba(255, 253, 248, 0.72)),
    url("images/tex-paper.jpg");
  background-size: auto, 420px;
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.85rem;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.form-panel {
  padding: 1.25rem;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-note,
.form-status {
  margin: 0;
  color: rgba(59, 46, 58, 0.72);
  font-size: 0.9rem;
}

.accent-note {
  color: var(--deep-lilac);
  font-family: "Caveat", cursive;
  font-size: 1.45rem;
  line-height: 1.25;
}

.home-page .feature.reverse .button.secondary {
  display: flex;
  width: fit-content;
  margin: 1rem 0 0 auto;
}

.series-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.72fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
}

.series-promise-section {
  background:
    radial-gradient(circle at 18% 0%, rgba(224, 197, 140, 0.13), transparent 24rem),
    linear-gradient(rgba(246, 242, 233, 0.5), rgba(246, 242, 233, 0.38)),
    url("images/tex-linen.jpg");
  background-size: auto, auto, 520px;
  background-blend-mode: multiply, normal, multiply;
}

.series-page h1,
.series-page h2,
.series-page h3,
.series-page .lead,
.series-page .accent-note,
.series-page .section-title p {
  text-wrap: balance;
}

.series-intro h2 {
  font-size: clamp(2.15rem, 5vw, 3.3rem);
}

.series-promise-card {
  background:
    linear-gradient(rgba(255, 250, 240, 0.68), rgba(255, 250, 240, 0.68)),
    url("images/tex-parchment-edge.png");
  background-size: auto, cover;
}

.series-promise-card .accent-note {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.08rem);
}

.series-tropes {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  margin-top: clamp(0.2rem, 1.4vw, 0.7rem);
  padding: clamp(0.95rem, 2.6vw, 1.25rem);
  border: 1px solid rgba(90, 107, 78, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.72), rgba(255, 250, 240, 0.72)),
    url("images/tex-paper.jpg");
  background-size: auto, 460px;
  box-shadow: 0 14px 34px rgba(69, 52, 63, 0.07);
  text-align: center;
}

.series-tropes .eyebrow {
  margin: 0;
}

.series-tropes ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.series-tropes li {
  min-height: 36px;
  padding: 0.45rem 0.68rem;
  border: 1px solid rgba(110, 90, 125, 0.22);
  border-radius: 999px;
  background: rgba(185, 166, 200, 0.14);
  color: var(--deep-lilac);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--deep-lilac);
}

.series-start .button {
  margin-top: 0.35rem;
}

.series-title-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.series-title-center::after {
  margin-right: auto;
  margin-left: auto;
}

.reading-order {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.05rem;
  align-items: stretch;
}

.reading-card {
  padding: 0.95rem;
}

.reading-card .mini-cover {
  margin-bottom: 0.9rem;
}

.reading-card .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 84px;
  margin: auto -0.95rem -0.95rem;
  padding: 0.9rem 0.95rem 0.95rem;
  border-top: 1px solid rgba(99, 76, 59, 0.14);
  background: rgba(255, 250, 240, 0.28);
}

.reading-card .actions .button {
  min-height: 40px;
  padding: 0.68rem 0.82rem;
}

.starter-card {
  background:
    linear-gradient(rgba(255, 250, 240, 0.6), rgba(255, 250, 240, 0.6)),
    radial-gradient(circle at 20% 0%, rgba(224, 197, 140, 0.2), transparent 12rem),
    url("images/tex-parchment-edge.png");
  background-size: auto, auto, 620px;
  background-blend-mode: normal, multiply, multiply;
}

.map-band {
  background:
    radial-gradient(circle at 82% 8%, rgba(185, 166, 200, 0.16), transparent 26rem),
    linear-gradient(rgba(239, 232, 213, 0.58), rgba(229, 222, 202, 0.66)),
    url("images/tex-paper.jpg");
  background-size: auto, auto, 100% 100%;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-blend-mode: multiply, normal, multiply;
  border-block: var(--border);
}

.series-map {
  display: grid;
  grid-template-columns: minmax(270px, 0.55fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
}

.series-map .section-title {
  margin-bottom: 0;
}

.series-map .section-title::after {
  display: none;
}

.map-notes {
  display: grid;
  gap: 0.55rem;
  width: min(100%, 18rem);
  margin-top: 1.2rem;
}

.map-notes span {
  display: block;
  width: 100%;
  border: 1px solid rgba(90, 107, 78, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.62), rgba(255, 250, 240, 0.62)),
    url("images/tex-paper.jpg");
  background-size: auto, 360px;
  color: var(--deep-sage);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
}

.series-cta .button {
  justify-self: end;
  width: min(100%, 390px);
}

.page-hero {
  padding: 4.6rem 0 3.2rem;
  background:
    radial-gradient(circle at 15% 0%, rgba(185, 166, 200, 0.16), transparent 24rem),
    linear-gradient(rgba(239, 228, 207, 0.28), rgba(246, 242, 233, 0.34)),
    url("images/tex-parchment-edge.png");
  background-size: auto, auto, 100% 100%;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-blend-mode: multiply, normal, multiply;
  border-bottom: var(--border);
}

.page-hero h1 {
  font-size: clamp(2.7rem, 8vw, 5rem);
}

.page-hero p {
  max-width: 780px;
  margin: 1rem 0 0;
  font-size: 1.18rem;
}

.letters-page h1,
.letters-page h2,
.letters-page h3,
.letters-page .lead,
.letters-page .section-title p {
  text-wrap: balance;
}

.letters-page .section > .inner > .section-title,
.letters-reassurance-grid .section-title {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.letters-page .section > .inner > .section-title::after,
.letters-reassurance-grid .section-title::after {
  margin-right: auto;
  margin-left: auto;
}

.letters-hero {
  padding: clamp(3.2rem, 6vw, 5rem) 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(224, 197, 140, 0.16), transparent 25rem),
    radial-gradient(circle at 12% 0%, rgba(185, 166, 200, 0.18), transparent 24rem),
    linear-gradient(rgba(239, 228, 207, 0.36), rgba(246, 242, 233, 0.5)),
    url("images/tex-parchment-edge.png");
  background-size: auto, auto, auto, 100% 100%;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-blend-mode: multiply, multiply, normal, multiply;
}

.letters-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  grid-template-areas:
    "copy cover"
    "form cover";
  gap: clamp(1.2rem, 3.5vw, 2.6rem);
  align-items: center;
}

.letters-hero-copy {
  grid-area: copy;
}

.letters-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7.2vw, 5.65rem);
}

.letters-hero-copy p {
  max-width: 720px;
}

.letters-comfort-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.letters-comfort-list li {
  min-height: 32px;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(90, 107, 78, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.58), rgba(255, 250, 240, 0.58)),
    url("images/tex-paper.jpg");
  background-size: auto, 360px;
  color: var(--deep-sage);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
}

.letters-cover-card {
  grid-area: cover;
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 0.8rem;
  margin: 0;
}

.letters-cover-card img {
  width: min(100%, 430px);
  margin: 0 auto;
  border: 10px solid var(--paper);
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--frame), var(--shadow);
}

.letters-cover-card figcaption {
  width: min(100%, 430px);
  margin: 0 auto;
  color: rgba(59, 46, 58, 0.74);
  font-size: 0.94rem;
  text-align: center;
}

.letters-hero-form {
  grid-area: form;
  max-width: 620px;
  padding: clamp(1rem, 2.5vw, 1.45rem);
  background:
    linear-gradient(rgba(255, 250, 240, 0.78), rgba(255, 250, 240, 0.78)),
    url("images/tex-paper.jpg");
  background-size: auto, 460px;
}

.letters-hero-form h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
}

.letters-hero-form .form-note,
.letters-hero-form .form-status {
  text-align: center;
}

.letter-card {
  --letter-accent: var(--deep-sage);
  position: relative;
  min-height: 100%;
  padding: 1.15rem 1.15rem 1.25rem;
  background:
    linear-gradient(rgba(255, 250, 240, 0.62), rgba(255, 250, 240, 0.62)),
    radial-gradient(circle at 12% 0%, rgba(224, 197, 140, 0.18), transparent 12rem),
    url("images/tex-paper.jpg");
  background-size: auto, auto, 520px;
  background-blend-mode: normal, multiply, multiply;
}

.letter-card::before {
  content: "";
  position: absolute;
  inset: 0.75rem 0.75rem auto;
  height: 3px;
  border-radius: 999px;
  background: var(--letter-accent);
  opacity: 0.62;
}

.letter-card:nth-child(3n+2) {
  --letter-accent: var(--deep-lilac);
}

.letter-card:nth-child(3n) {
  --letter-accent: #9b7049;
}

.letter-card-mark {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-top: 0.45rem;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(90, 107, 78, 0.32);
  border-radius: 50%;
  background:
    linear-gradient(rgba(255, 250, 240, 0.5), rgba(255, 250, 240, 0.5)),
    url("images/tex-parchment-edge.png");
  background-size: cover;
  color: var(--letter-accent);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.letter-card h3 {
  margin-top: 0.1rem;
}

.letter-card p:last-child {
  margin-bottom: 0;
}

.letters-story-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.66fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
}

.letters-story-grid .story-image img {
  aspect-ratio: 4 / 3;
}

.letter-note {
  position: relative;
  margin: 1.2rem 0 0;
  max-width: 35rem;
  padding: 0.72rem 0.85rem 0.78rem;
  border: 1px solid rgba(110, 90, 125, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.66), rgba(255, 250, 240, 0.66)),
    url("images/tex-paper.jpg");
  background-size: auto, 380px;
  color: var(--deep-lilac);
  font-family: "Caveat", cursive;
  font-size: clamp(1.25rem, 2.1vw, 1.55rem);
  line-height: 1.12;
}

.letters-reassurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem;
  align-items: stretch;
}

.letters-reassurance-grid .section-title {
  grid-column: 1 / -1;
}

.letters-reassurance-grid .section-title {
  margin-bottom: 0.4rem;
}

.contact-page h1,
.contact-page h2,
.contact-page h3,
.contact-page .section-title p,
.contact-page .accent-note {
  text-wrap: balance;
}

.contact-section {
  background:
    radial-gradient(circle at 88% 0%, rgba(185, 166, 200, 0.14), transparent 24rem),
    linear-gradient(rgba(246, 242, 233, 0.38), rgba(246, 242, 233, 0.5)),
    url("images/tex-linen.jpg");
  background-size: auto, auto, 520px;
  background-blend-mode: multiply, normal, multiply;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1fr);
  gap: clamp(1.35rem, 3vw, 2.4rem);
  align-items: start;
}

.contact-form {
  gap: 0.72rem;
  padding: clamp(1rem, 2vw, 1.25rem);
}

.contact-message-form input,
.contact-message-form select {
  min-height: 44px;
}

.contact-message-form textarea {
  min-height: 132px;
}

.contact-form-heading h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
}

.contact-form-heading .form-note {
  margin-top: 0.35rem;
}

.contact-message-form .form-status {
  min-height: 1.4em;
  text-align: center;
}

.contact-aside {
  display: grid;
  gap: 1.15rem;
}

.contact-promise {
  padding: clamp(1.1rem, 2.6vw, 1.45rem);
  background:
    linear-gradient(rgba(255, 250, 240, 0.62), rgba(255, 250, 240, 0.62)),
    radial-gradient(circle at 12% 0%, rgba(224, 197, 140, 0.18), transparent 12rem),
    url("images/tex-paper.jpg");
  background-size: auto, auto, 520px;
  background-blend-mode: normal, multiply, multiply;
}

.contact-promise h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
}

.contact-promise p {
  margin: 0.7rem 0 0;
}

.contact-promise .check-list {
  margin-top: 1rem;
}

.contact-door-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
}

.contact-door-grid .section-title {
  margin-bottom: 0;
}

.contact-door-grid .section-title::after {
  display: none;
}

.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.contact-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(91, 74, 92, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.68), rgba(255, 250, 240, 0.68)),
    url("images/tex-paper.jpg");
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(50, 37, 45, 0.08);
  transition: transform var(--ease), box-shadow var(--ease), color var(--ease);
}

.contact-social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(50, 37, 45, 0.12);
}

.contact-social-links img {
  width: 28px;
  height: 28px;
}

.book-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.05fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  border: 1px solid rgba(90, 107, 78, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(rgba(167, 182, 154, 0.2), rgba(167, 182, 154, 0.2)),
    url("images/tex-paper.jpg");
  background-size: auto, 360px;
  padding: 0.25rem 0.65rem;
  color: var(--deep-sage);
  font-size: 0.9rem;
  font-weight: 600;
}

.prose {
  max-width: 760px;
}

.prose p {
  margin: 0 0 1rem;
}

.prose .lead {
  font-size: 1.22rem;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.prose li {
  margin: 0 0 0.4rem;
}

.detail-list {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
}

.detail-list div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.8rem;
}

.detail-list dt {
  font-weight: 700;
}

.soft-panel {
  padding: 1.25rem;
}

.soft-panel h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
}

.story-image {
  border: 9px solid var(--paper);
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--frame), var(--shadow);
}

.story-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.easter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 1.2rem;
}

.secret-note,
.pawprint-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgba(110, 90, 125, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.74), rgba(255, 250, 240, 0.74)),
    url("images/tex-paper.jpg");
  background-size: auto, 380px;
  color: var(--deep-lilac);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  text-decoration: none;
  transition: background-color var(--ease);
}

.secret-note:hover,
.pawprint-link:hover {
  background: rgba(185, 166, 200, 0.26);
}

.fox-peek {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1.2rem;
  padding: 0.8rem;
  border: 1px solid var(--frame-soft);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.58), rgba(255, 250, 240, 0.58)),
    url("images/tex-paper.jpg");
  background-size: auto, 420px;
}

.fox-peek img {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 8px;
  object-fit: cover;
}

.paw-trail {
  color: rgba(110, 90, 125, 0.62);
  font-family: "Caveat", cursive;
  font-size: 1.65rem;
  line-height: 1;
}

.book-detail-hero-section {
  padding: 4.4rem 0;
  background:
    radial-gradient(circle at 18% 10%, var(--book-glow, rgba(185, 166, 200, 0.18)), transparent 26rem),
    radial-gradient(circle at 88% 8%, var(--book-secondary-glow, rgba(224, 197, 140, 0.12)), transparent 24rem),
    linear-gradient(var(--book-hero-wash, rgba(246, 242, 233, 0.56)), rgba(239, 228, 207, 0.54)),
    url("images/tex-parchment-edge.png");
  background-size: auto, auto, auto, 100% 100%;
  background-blend-mode: multiply, multiply, normal, multiply;
  border-bottom: var(--border);
}

.book-inn-page {
  --book-glow: rgba(185, 166, 200, 0.22);
  --book-secondary-glow: rgba(224, 197, 140, 0.16);
  --book-hero-wash: rgba(249, 239, 220, 0.58);
  --book-story-wash: rgba(255, 250, 240, 0.72);
  --book-info-wash: rgba(236, 224, 207, 0.68);
  --book-series-wash: rgba(246, 242, 233, 0.76);
}

.book-harvest-page {
  --book-glow: rgba(196, 119, 52, 0.22);
  --book-secondary-glow: rgba(90, 107, 78, 0.14);
  --book-hero-wash: rgba(244, 226, 195, 0.62);
  --book-story-wash: rgba(252, 243, 226, 0.76);
  --book-info-wash: rgba(238, 215, 182, 0.68);
  --book-series-wash: rgba(247, 237, 218, 0.76);
}

.book-star-page {
  --book-glow: rgba(79, 97, 115, 0.18);
  --book-secondary-glow: rgba(185, 166, 200, 0.18);
  --book-hero-wash: rgba(234, 232, 222, 0.66);
  --book-story-wash: rgba(247, 246, 238, 0.76);
  --book-info-wash: rgba(224, 226, 219, 0.7);
  --book-series-wash: rgba(241, 239, 232, 0.76);
}

.book-story-section {
  background:
    linear-gradient(var(--book-story-wash, rgba(255, 250, 240, 0.72)), rgba(255, 250, 240, 0.42)),
    url("images/tex-linen.jpg");
  background-size: auto, 520px;
  background-blend-mode: normal, multiply;
}

.book-info-section {
  background:
    radial-gradient(circle at 12% 0%, var(--book-secondary-glow, rgba(224, 197, 140, 0.12)), transparent 22rem),
    linear-gradient(var(--book-info-wash, rgba(236, 224, 207, 0.68)), rgba(239, 228, 207, 0.58)),
    url("images/tex-paper.jpg");
  background-size: auto, auto, 100% 100%;
  background-blend-mode: multiply, normal, multiply;
}

.book-series-section {
  background:
    linear-gradient(var(--book-series-wash, rgba(246, 242, 233, 0.76)), rgba(246, 242, 233, 0.5)),
    url("images/tex-linen.jpg");
  background-size: auto, 520px;
  background-blend-mode: normal, multiply;
}

.book-detail-page h1,
.book-detail-page h2,
.book-detail-page h3,
.book-detail-page .lead,
.book-detail-page .accent-note {
  text-wrap: balance;
}

.book-detail-hero {
  display: grid;
  grid-template-columns: minmax(250px, 0.48fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.book-cover-panel {
  display: grid;
  gap: 1rem;
}

.book-detail-cover {
  width: min(100%, 390px);
  margin: 0 auto;
  border: 10px solid var(--paper);
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--frame), var(--shadow);
}

.book-status-card {
  width: min(100%, 390px);
  margin: 0 auto;
  padding: 0.95rem 1rem;
  border: 1px solid var(--frame-soft);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.72), rgba(255, 250, 240, 0.72)),
    url("images/tex-paper.jpg");
  background-size: auto, 420px;
  box-shadow: 0 12px 28px rgba(59, 46, 58, 0.09);
}

.book-status-card p {
  margin: 0.35rem 0 0;
  font-size: 0.96rem;
}

.book-status-card .eyebrow {
  margin-top: 0;
}

.book-detail-copy h1 {
  max-width: 820px;
  font-size: clamp(2.7rem, 7vw, 5rem);
}

.book-detail-copy .lead {
  max-width: 790px;
  margin: 1rem 0 0;
  font-size: clamp(1.12rem, 2vw, 1.28rem);
}

.comfort-tags li {
  background:
    linear-gradient(rgba(255, 250, 240, 0.62), rgba(255, 250, 240, 0.62)),
    url("images/tex-paper.jpg");
  background-size: auto, 420px;
  color: var(--deep-lilac);
}

.book-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.book-promise-card {
  max-width: 700px;
  margin-top: 1.5rem;
}

.book-promise-card .accent-note {
  margin: 0.35rem 0 0;
  font-size: clamp(1.85rem, 3.4vw, 2.35rem);
}

.book-story-grid,
.book-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
}

.book-story-grid .prose h2 {
  font-size: clamp(2.15rem, 4.4vw, 3.25rem);
}

.book-detail-panel h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
}

.book-detail-panel .button {
  margin-top: 0.85rem;
}

.book-facts {
  padding: clamp(1rem, 2.5vw, 1.3rem);
}

.book-novella-callout .lead-magnet-cover {
  width: min(100%, 300px);
}

.book-series-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.2rem);
}

.series-rail-card {
  display: grid;
  gap: 0.65rem;
  align-content: start;
  padding: 0.8rem;
  border: 1px solid var(--frame-soft);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.64), rgba(255, 250, 240, 0.64)),
    url("images/tex-paper.jpg");
  background-size: auto, 460px;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(59, 46, 58, 0.08);
  transition: transform var(--ease), box-shadow var(--ease), color var(--ease);
}

.series-rail-card:hover {
  color: var(--deep-sage);
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(59, 46, 58, 0.14);
}

.series-rail-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  object-fit: cover;
}

.series-rail-card span {
  color: var(--deep-lilac);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.series-rail-card.is-current {
  border-color: rgba(90, 107, 78, 0.42);
  background:
    linear-gradient(rgba(255, 250, 240, 0.58), rgba(255, 250, 240, 0.58)),
    radial-gradient(circle at 20% 0%, rgba(224, 197, 140, 0.22), transparent 11rem),
    url("images/tex-parchment-edge.png");
  background-size: auto, auto, 520px;
  background-blend-mode: normal, multiply, multiply;
}

.site-footer {
  padding: clamp(3rem, 6vw, 4.4rem) 0 2rem;
  border-top: var(--border);
  background:
    radial-gradient(circle at 76% 18%, rgba(224, 197, 140, 0.12), transparent 18rem),
    linear-gradient(rgba(42, 30, 42, 0.4), rgba(42, 30, 42, 0.52)),
    url("images/tex-plum.jpg");
  background-size: auto, auto, cover;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center, center, center;
  color: var(--linen);
  text-shadow: 0 1px 2px rgba(31, 22, 31, 0.28);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.35fr) minmax(150px, 0.55fr) minmax(180px, 0.65fr) minmax(150px, 0.5fr);
  gap: clamp(1.6rem, 4.5vw, 4.4rem);
  align-items: start;
  justify-content: space-between;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 0.85rem;
  color: var(--linen);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.site-footer h2,
.site-footer h3,
.site-footer a {
  color: var(--linen);
}

.site-footer h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.site-footer h3 {
  margin-bottom: 0.55rem;
  color: rgba(255, 250, 240, 0.92);
  font-size: 1.2rem;
}

.site-footer a:hover {
  color: var(--honey);
}

.footer-signup p {
  max-width: 34rem;
  margin: 0.55rem 0 1rem;
}

.footer-signup-form {
  max-width: 560px;
}

.footer-signup-form input {
  background:
    linear-gradient(rgba(255, 250, 240, 0.88), rgba(255, 250, 240, 0.88)),
    url("images/tex-paper.jpg");
  background-size: auto, 420px;
}

.footer-links {
  display: grid;
  gap: 0.42rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(246, 242, 233, 0.14);
  color: var(--linen);
  font-size: 0.96rem;
  text-decoration: none;
  transition: color var(--ease), border-color var(--ease);
}

.footer-links a::after {
  content: "\203A";
  color: rgba(224, 197, 140, 0.86);
  font-size: 1.2rem;
  line-height: 1;
}

.footer-links a:hover {
  border-color: rgba(224, 197, 140, 0.42);
  color: var(--honey);
}

.footer-policy-links a {
  color: rgba(246, 242, 233, 0.86);
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.8rem;
}

.social-icons a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(246, 242, 233, 0.16);
  border-radius: 8px;
  background: rgba(246, 242, 233, 0.08);
  text-decoration: none;
  transition: background-color var(--ease), border-color var(--ease), transform var(--ease);
}

.social-icons a:hover {
  background: rgba(246, 242, 233, 0.16);
  border-color: rgba(224, 197, 140, 0.42);
  transform: translateY(-2px);
}

.social-icons img {
  width: 29px;
  height: 29px;
}

.footer-note {
  max-width: 25rem;
  margin: 1rem 0 0;
  color: rgba(246, 242, 233, 0.78);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  line-height: 1.18;
}

.footer-signup .footer-note {
  margin-top: 1.1rem;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
  justify-content: space-between;
  margin-top: clamp(2rem, 5vw, 3.4rem);
  padding-top: 1.1rem;
  border-top: 1px solid rgba(246, 242, 233, 0.12);
  color: rgba(246, 242, 233, 0.72);
  font-size: 0.9rem;
}

.not-found {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 2rem;
  background:
    linear-gradient(rgba(246, 242, 233, 0.9), rgba(246, 242, 233, 0.92)),
    url("images/contact-door.png") center / cover;
}

.not-found-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 2.8rem);
  align-items: center;
  width: min(940px, 100%);
  padding: clamp(1.4rem, 4vw, 2.6rem);
  border: 1px solid var(--frame-soft);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.82), rgba(255, 250, 240, 0.82)),
    url("images/tex-paper.jpg");
  background-size: auto, 560px;
  box-shadow: var(--card-frame), var(--shadow);
}

.not-found-panel img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 9px solid var(--paper);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--frame), var(--shadow);
}

.not-found h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.not-found-divider {
  width: 132px;
  height: 16px;
  margin: 1.1rem auto 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20132%2016'%3E%3Cg%20fill='none'%20stroke='%236e5a7d'%20stroke-width='1.2'%3E%3Cline%20x1='6'%20y1='8'%20x2='50'%20y2='8'/%3E%3Cline%20x1='82'%20y1='8'%20x2='126'%20y2='8'/%3E%3C/g%3E%3Cg%20fill='%236e5a7d'%3E%3Crect%20x='61'%20y='3'%20width='10'%20height='10'%20transform='rotate(45%2066%208)'/%3E%3Ccircle%20cx='50'%20cy='8'%20r='2'/%3E%3Ccircle%20cx='82'%20cy='8'%20r='2'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.7;
}

.not-found p {
  margin: 0.9rem 0 0;
  max-width: 34rem;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

@media (max-width: 880px) {
  body {
    font-size: 17px;
  }

  .nav-toggle {
    position: fixed;
    top: 14px;
    right: auto;
    left: calc(100vw - 88px);
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 76px;
    padding: 0 0.85rem;
    font-size: 0.96rem;
  }

  .nav-toggle::before {
    content: "";
    font-size: 0;
  }

  .nav-wrap {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-right: 88px;
  }

  .brand {
    min-width: 0;
  }

  .nav-panel {
    position: absolute;
    inset: 74px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    border-bottom: var(--border);
    background: var(--linen);
  }

  .nav-panel.is-open {
    display: flex;
  }

  .nav-panel a {
    min-height: 46px;
    padding: 0.7rem 0.4rem;
  }

  .nav-panel .button {
    margin-top: 0.4rem;
  }

  .hero {
    min-height: 76svh;
    padding: 5.5rem 0 3rem;
    background:
      linear-gradient(180deg, rgba(31, 22, 31, 0.88), rgba(31, 22, 31, 0.58)),
      var(--hero-image) center / cover;
  }

  .hero h1 .line {
    display: block;
    white-space: normal;
  }

  .grid.three,
  .grid.two,
  .book-showcase,
  .promise-layout,
  .feature,
  .feature.reverse,
  .lead-magnet,
  .map-teaser,
  .series-intro,
  .reading-order,
  .series-map,
  .signup-strip,
  .letters-hero-grid,
  .letters-story-grid,
  .letters-reassurance-grid,
  .contact-layout,
  .contact-door-grid,
  .book-layout,
  .book-detail-hero,
  .book-story-grid,
  .book-info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .letters-hero-grid {
    grid-template-areas:
      "copy"
      "cover"
      "form";
  }

  .letters-cover-card img,
  .letters-cover-card figcaption {
    width: min(100%, 360px);
  }

  .book-cover-panel {
    order: -1;
  }

  .book-detail-actions {
    align-items: stretch;
  }

  .book-detail-actions .button {
    justify-content: center;
    width: 100%;
  }

  .book-series-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .fox-peek,
  .promise-list .promise-item {
    grid-template-columns: 1fr;
  }

  .promise-list .promise-icon {
    grid-row: auto;
  }

  .rule-card:nth-child(1),
  .rule-card:nth-child(2),
  .rule-card:nth-child(3) {
    transform: none;
  }

  .button,
  button.button {
    width: 100%;
  }

  .home-page .feature.reverse .button.secondary {
    width: 100%;
  }

  .series-cta .button {
    justify-self: stretch;
    width: 100%;
  }

  .not-found-panel {
    grid-template-columns: 1fr;
  }

  .not-found-panel img {
    max-width: 320px;
    margin: 0 auto;
  }

  .detail-list div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

@media (max-width: 520px) {
  .nav-wrap,
  .inner,
  .hero .inner,
  .narrow {
    width: calc(100% - 24px);
    max-width: 1120px;
  }

  .brand {
    font-size: 1.75rem;
  }

  .hero {
    min-height: 680px;
    padding: 5rem 0 2.75rem;
  }

  .hero h1 {
    max-width: 340px;
    font-size: clamp(2rem, 8.6vw, 2.35rem);
  }

  .hero-content,
  .hero p,
  .hero-note {
    max-width: 340px;
  }

  .hero p,
  .hero-note {
    font-size: 1rem;
  }

  .section {
    padding: 3.3rem 0;
  }

  .cover-placeholder {
    min-height: 340px;
  }

  .lead-cover,
  .lead-cover img {
    min-height: 430px;
  }

  .lead-cover-text {
    inset: 16% 10% auto;
  }
}
