/* ═══════════════════════════════════════════════════════════
   FREEDOM FORTUNE PRESS — styles.css
   Palette: Prussian Ink #1B2A41 | Oxblood #6E2A26 | Gilt Brass #B08A3E
            Verdigris #3C5249 | Spanish Brown #8A6A4A | Parchment #F3EAD6
            Bone #E7DBC2 | Iron Gall #20180F
   Type: Libre Caslon Display / Libre Caslon Text + EB Garamond
═══════════════════════════════════════════════════════════ */

/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  background-color: #F3EAD6; /* Parchment */
  color: #20180F;             /* Iron Gall */
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: #1B2A41;
  text-decoration: none;
}

a:hover {
  color: #6E2A26; /* Oxblood */
}

/* ─── Typography Utilities ──────────────────────────────── */
.section-heading {
  font-family: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, serif;
  font-variant: small-caps;
  font-size: 1.9rem;
  color: #1B2A41;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.section-subhead {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #8A6A4A;
  margin-bottom: 2.5rem;
  max-width: 680px;
}

/* ─── Layout Containers ─────────────────────────────────── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* ─── Gilt Rules / Decorators ───────────────────────────── */
.gilt-rule {
  height: 2px;
  background: linear-gradient(to right, transparent, #B08A3E 20%, #B08A3E 80%, transparent);
  margin: 0;
}

.gilt-rule-centered {
  width: 80px;
  height: 2px;
  background: #B08A3E;
  margin: 0.6rem auto 1.5rem;
}

.gilt-rule-left {
  width: 80px;
  height: 2px;
  background: #B08A3E;
  margin: 0.6rem 0 1.5rem;
}

.gilt-underline {
  width: 60px;
  height: 2px;
  background: #B08A3E;
  margin: 0.5rem 0 1.4rem;
}

/* ═══════════════════════════════════════════════════════════
   MASTHEAD
═══════════════════════════════════════════════════════════ */
.masthead {
  background-color: #1B2A41; /* Prussian Ink */
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(27,42,65,0.35);
}

.masthead-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* logo+wordmark group always left */
}

.masthead-home {
  display: flex;
  align-items: center;
  gap: 0.85rem;          /* gap between logo and wordmark */
  text-decoration: none;
  flex-shrink: 0;        /* never compress the brand group */
}

.masthead-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.masthead-name {
  font-family: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, serif;
  font-variant: small-caps;
  font-size: 2rem;
  color: #F3EAD6; /* Parchment */
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;   /* never wrap onto a second line */
}

/* ─── Navigation ────────────────────────────────────────── */
.site-nav {
  background-color: #162233; /* slightly darker than masthead */
  border-top: 1px solid #B08A3E33;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0;
}

.site-nav ul li a {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-variant: small-caps;
  font-size: 0.88rem;
  color: #E7DBC2; /* Bone */
  letter-spacing: 0.06em;
  text-transform: lowercase; /* small-caps handles visual appearance */
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav ul li a:hover {
  color: #B08A3E;
  border-bottom-color: #B08A3E;
}

/* ═══════════════════════════════════════════════════════════
   HERO BANNER (full-bleed colonial press image)
═══════════════════════════════════════════════════════════ */
.hero-banner {
  position: relative;
  height: clamp(220px, 30vw, 380px);
  overflow: hidden;
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.hero-banner-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(27,42,65,0.25) 0%,
    transparent 40%,
    transparent 60%,
    rgba(243,234,214,0.6) 100%
  );
}

/* ═══════════════════════════════════════════════════════════
   HERO BLOCK (New Release — matches a.png)
═══════════════════════════════════════════════════════════ */
.hero-block {
  background-color: #F3EAD6; /* Parchment */
  border-bottom: 1px solid #8A6A4A44;
}

.hero-block-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 2rem 3.5rem;
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

/* ─── CSS Book Cover ────────────────────────────────────── */
.book-cover-wrap {
  flex-shrink: 0;
  perspective: 800px;
}

.book-cover {
  display: flex;
  width: 170px;
  height: 230px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-8deg);
  box-shadow: 6px 8px 30px rgba(32,24,15,0.45);
  border-radius: 2px 4px 4px 2px;
}

.book-cover-spine {
  width: 22px;
  height: 100%;
  background: linear-gradient(to right, #4a1a17, #8B3330, #5a1f1c);
  border-radius: 2px 0 0 2px;
  flex-shrink: 0;
}

.book-cover-front {
  flex: 1;
  background: linear-gradient(160deg, #7B3030 0%, #5C2222 60%, #3d1616 100%);
  padding: 1.4rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0 3px 3px 0;
  border-left: 1px solid #a04040;
  position: relative;
  overflow: hidden;
}

/* Subtle cloth texture overlay */
.book-cover-front::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.015) 2px,
    rgba(255,255,255,0.015) 4px
  );
  pointer-events: none;
}

.book-cover-title {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #E7DBC2;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.book-cover-rule {
  width: 100%;
  height: 1px;
  background: #B08A3E;
  opacity: 0.7;
  margin: 0.5rem 0;
}

.book-cover-author {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-variant: small-caps;
  font-size: 0.72rem;
  color: #B08A3E;
  letter-spacing: 0.1em;
}

/* ─── Hero Copy ─────────────────────────────────────────── */
.hero-copy {
  flex: 1;
  min-width: 0;
  padding-top: 0.5rem;
}

.badge-new {
  display: inline-block;
  background-color: #6E2A26; /* Oxblood */
  color: #F3EAD6;
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-variant: small-caps;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 0.9rem;
}

.hero-headline {
  font-family: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: #1B2A41;
  line-height: 1.2;
  margin-bottom: 0.3rem;
  font-weight: 400;
}

.hero-body {
  font-size: 1.05rem;
  color: #20180F;
  max-width: 560px;
  margin-bottom: 2rem;
  font-style: normal;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background-color: #1B2A41;
  color: #F3EAD6;
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-variant: small-caps;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  padding: 0.7rem 1.6rem;
  border: 2px solid #1B2A41;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #6E2A26;
  border-color: #6E2A26;
  color: #F3EAD6;
}

.btn-primary.btn-large {
  font-size: 1rem;
  padding: 0.9rem 2.4rem;
}

.btn-excerpt {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #1B2A41;
  text-decoration: none;
  border-bottom: 1px solid #B08A3E;
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-excerpt:hover {
  color: #6E2A26;
  border-bottom-color: #6E2A26;
}

/* ═══════════════════════════════════════════════════════════
   FEATURES — 3-UP GRID
═══════════════════════════════════════════════════════════ */
.features-section {
  background-color: #E7DBC2; /* Bone */
  border-top: 2px solid #B08A3E;
  border-bottom: 1px solid #8A6A4A44;
}

.features-section .section-inner {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.feature-card {
  background: #F3EAD6;
  border: 1px solid #8A6A4A44;
  border-top: 3px solid #B08A3E;
  padding: 2rem 1.5rem 1.8rem;
  text-align: left;
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 18px rgba(32,24,15,0.12);
}

.feature-icon {
  font-size: 1.4rem;
  color: #B08A3E;
  margin-bottom: 0.8rem;
  line-height: 1;
}

.feature-title {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-variant: small-caps;
  font-size: 1.1rem;
  color: #1B2A41;
  margin-bottom: 0.7rem;
  letter-spacing: 0.04em;
}

.feature-body {
  font-size: 0.95rem;
  color: #20180F;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT THE BOOK
═══════════════════════════════════════════════════════════ */
.about-book-section {
  background-color: #F3EAD6;
  border-bottom: 1px solid #8A6A4A44;
}

.about-book-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}

.about-lede {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
  color: #20180F;
}

.about-book-text p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.7;
}

/* ─── Stats Bar ─────────────────────────────────────────── */
.about-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 2rem;
  padding: 1.2rem 0;
  border-top: 1px solid #8A6A4A44;
  border-bottom: 1px solid #8A6A4A44;
}

.stat {
  flex: 1;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: 'Libre Caslon Display', Georgia, serif;
  font-size: 2.2rem;
  color: #1B2A41;
  line-height: 1;
}

.stat-label {
  display: block;
  font-family: 'EB Garamond', Georgia, serif;
  font-variant: small-caps;
  font-size: 0.85rem;
  color: #8A6A4A;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: #8A6A4A44;
}

/* ─── TOC Aside ─────────────────────────────────────────── */
.about-toc {
  background: #1B2A41;
  padding: 1.8rem 1.5rem 1.4rem;
  position: sticky;
  top: 120px;
  border-top: 3px solid #B08A3E;
}

.toc-heading {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-variant: small-caps;
  font-size: 0.9rem;
  color: #B08A3E;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.toc-list {
  list-style: none;
  padding: 0;
}

.toc-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(176,138,62,0.2);
  font-size: 0.92rem;
}

.toc-list li:last-child {
  border-bottom: none;
}

.toc-num {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-variant: small-caps;
  font-size: 0.8rem;
  color: #B08A3E;
  min-width: 22px;
  flex-shrink: 0;
}

.toc-title {
  color: #E7DBC2;
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
}

.toc-footer {
  margin-top: 1.2rem;
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-variant: small-caps;
  font-size: 0.72rem;
  color: #B08A3E99;
  letter-spacing: 0.08em;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   ALTERNATING FEATURE ROWS
═══════════════════════════════════════════════════════════ */
.feature-rows-section {
  background-color: #E7DBC2; /* Bone */
  border-top: 2px solid #B08A3E;
  border-bottom: 2px solid #B08A3E;
}

.feature-rows-section .section-inner {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid #8A6A4A33;
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-row-reverse {
  direction: rtl;
}

.feature-row-reverse > * {
  direction: ltr;
}

.feature-row-tag {
  display: inline-block;
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-variant: small-caps;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.verdigris-tag {
  background: #3C5249;
  color: #E7DBC2;
}

.oxblood-tag {
  background: #6E2A26;
  color: #F3EAD6;
}

.feature-row-heading {
  font-family: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, serif;
  font-size: 1.5rem;
  color: #1B2A41;
  margin-bottom: 0.9rem;
  line-height: 1.25;
  font-weight: 400;
}

.feature-row-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #20180F;
}

/* ─── Row decorations (abstract parchment designs) ──────── */
.feature-row-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.deco-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 280px;
}

/* Ledger lines decoration */
.deco-ledger .deco-rule {
  width: 100%;
  height: 2px;
  background: #B08A3E;
  opacity: 0.6;
}

.deco-lines {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: #F3EAD6;
  border: 1px solid #8A6A4A44;
  border-top: 2px solid #B08A3E;
}

.deco-line {
  height: 10px;
  background: #8A6A4A33;
  border-radius: 1px;
}

.deco-line.w80 { width: 80%; }
.deco-line.w60 { width: 60%; }
.deco-line.w90 { width: 90%; }
.deco-line.w50 { width: 50%; }
.deco-line.w70 { width: 70%; }

/* Map/compass decoration */
.deco-map .deco-inner {
  position: relative;
}

.deco-circle {
  width: 100px;
  height: 100px;
  border: 2px solid #B08A3E;
  border-radius: 50%;
  opacity: 0.6;
}

.deco-spokes {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.deco-spoke {
  position: absolute;
  width: 90px;
  height: 1px;
  background: #8A6A4A;
  top: 0;
  left: -45px;
  opacity: 0.5;
}

.deco-spoke:nth-child(1) { transform: rotate(0deg); }
.deco-spoke:nth-child(2) { transform: rotate(45deg); }
.deco-spoke:nth-child(3) { transform: rotate(90deg); }
.deco-spoke:nth-child(4) { transform: rotate(135deg); }

/* Book decoration */
.deco-book .deco-inner {
  flex-direction: row;
  gap: 0;
}

.deco-book-spine {
  width: 18px;
  height: 120px;
  background: linear-gradient(to right, #4a1a17, #7B3030);
  border-radius: 2px 0 0 2px;
}

.deco-book-pages {
  width: 85px;
  height: 120px;
  background: linear-gradient(to right, #e8d9b5, #F3EAD6);
  border: 1px solid #8A6A4A44;
  border-left: none;
  border-radius: 0 2px 2px 0;
  position: relative;
  overflow: hidden;
}

.deco-book-pages::before {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -2px;
  width: 0;
  height: 0;
  border-left: 12px solid #E7DBC2;
  border-bottom: 12px solid #8A6A4A44;
}

/* ═══════════════════════════════════════════════════════════
   AUTHOR SECTION
═══════════════════════════════════════════════════════════ */
.author-section {
  background-color: #F3EAD6;
  border-bottom: 1px solid #8A6A4A44;
}

.author-inner {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 3rem;
  align-items: start;
}

.author-medallion {
  text-align: center;
  padding-top: 0.5rem;
}

.author-medallion-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  opacity: 0.55;
  margin: 0 auto;
  filter: sepia(0.3) saturate(0.7);
}

.author-name {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-variant: small-caps;
  font-size: 1.25rem;
  color: #1B2A41;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.author-bio {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 640px;
}

.author-bio a {
  color: #3C5249;
  border-bottom: 1px solid #3C524966;
}

.author-bio a:hover {
  color: #6E2A26;
  border-bottom-color: #6E2A26;
}

/* ═══════════════════════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════════════════════ */
.cta-band {
  background-color: #1B2A41; /* Prussian Ink */
  text-align: center;
  border-top: 3px solid #B08A3E;
  border-bottom: 3px solid #B08A3E;
}

.cta-band-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.cta-ornament {
  font-size: 1.8rem;
  color: #B08A3E;
  margin-bottom: 1.2rem;
  opacity: 0.8;
}

.cta-heading {
  font-family: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, serif;
  font-variant: small-caps;
  font-size: 2rem;
  color: #F3EAD6;
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}

.cta-body {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #B08A3E;
  margin-bottom: 2rem;
}

.cta-note {
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: #8A6A4A;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════
   BLANK BAR + MAP STRIP
═══════════════════════════════════════════════════════════ */

/* Half the original nav-bar padding */
.blank-bar {
  background-color: #1B2A41; /* Prussian Ink — same as masthead */
  padding: 0.3rem 0;
}

/* Double the original footer padding → twice the height */
.map-strip {
  background-image: url('assets/map-band.jpg');
  background-size: cover;
  background-position: center center;
  padding: 3rem 0;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(to right, transparent, #B08A3E 20%, #B08A3E 80%, transparent) 1;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════════ */
.contact-section {
  background: #F3EAD6;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.contact-heading {
  font-family: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, serif;
  font-variant: small-caps;
  font-size: 2rem;
  color: #1B2A41;
  letter-spacing: 0.04em;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.contact-note {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem;
  color: #8A6A4A;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.contact-email {
  color: #1B2A41;
  border-bottom: 1px solid rgba(176,138,62,0.5);
  transition: color 0.15s;
}

.contact-email:hover {
  color: #6E2A26;
}

/* ─── Form ──────────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-variant: small-caps;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: #1B2A41;
}

.form-optional {
  font-variant: normal;
  font-style: italic;
  color: #8A6A4A;
  letter-spacing: 0;
}

.form-input {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem;
  color: #20180F;
  background: #E7DBC2;
  border: 1px solid rgba(138,106,74,0.35);
  border-radius: 1px;
  padding: 0.55rem 0.75rem;
  width: 100%;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: #B08A3E;
  box-shadow: 0 0 0 2px rgba(176,138,62,0.18);
}

.form-input::placeholder {
  color: rgba(138,106,74,0.55);
  font-style: italic;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-submit-row {
  margin-top: 0.4rem;
}

.btn-submit {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-variant: small-caps;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  background: #1B2A41;
  color: #F3EAD6;
  border: 1px solid #1B2A41;
  padding: 0.7rem 2rem;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}

.btn-submit:hover:not(:disabled) {
  background: #6E2A26;
  border-color: #6E2A26;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

/* ─── Inline response message ───────────────────────────── */
.form-response {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  min-height: 1.4em;
}

.form-response--ok  { color: #3C5249; }
.form-response--err { color: #6E2A26; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
  background-color: #1B2A41;
  color: #E7DBC2;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  text-align: center;
}

.footer-copy {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 0.82rem;
  color: #8A6A4A;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-book-inner {
    grid-template-columns: 1fr;
  }

  .about-toc {
    position: static;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-row-reverse {
    direction: ltr;
  }

  .feature-row-decoration {
    display: none;
  }

  .author-inner {
    grid-template-columns: 1fr;
  }

  .author-medallion {
    display: none;
  }
}

@media (max-width: 680px) {
  html {
    font-size: 16px;
  }

  .masthead-inner {
    padding: 0.8rem 1rem 0.7rem;
    gap: 0.8rem;
  }

  .masthead-logo {
    width: 40px;
    height: 40px;
  }

  .masthead-name {
    font-size: 1.2rem;
  }

  .nav-inner {
    padding: 0 0.5rem;
  }

  .site-nav ul li a {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }

  .hero-block-inner {
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 1.2rem;
  }

  .book-cover-wrap {
    align-self: center;
  }

  .hero-headline {
    font-size: 1.6rem;
  }

  .section-inner {
    padding: 3rem 1.2rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .about-stats {
    gap: 0;
  }

  .stat-num {
    font-size: 1.7rem;
  }
}

@media (max-width: 440px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
