/* johnmhenry.com — coastal Americana, pier at golden hour */
:root {
  --sea-deep: #0b2f2d;
  --sea: #134e4a;
  --sea-mid: #1a6b65;
  --navy: #131a24;
  --gold: #c9973b;
  --gold-deep: #a87a24;
  --gold-soft: #e8b64c;
  --sand: #f7f1e5;
  --sand-deep: #ebe3d4;
  --white: #fffdf8;
  --ink: #1c1917;
  --ink-soft: #57534e;
  --ink-faint: #8a837a;
  --line: #d6cfc0;
  --shadow: 0 12px 40px rgba(19, 26, 36, 0.12);
  --shadow-soft: 0 4px 18px rgba(19, 26, 36, 0.08);
  --radius: 10px;
  --radius-sm: 6px;
  --font-serif: Georgia, "Times New Roman", "Palatino Linotype", Palatino, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1100px;
  --max-narrow: 720px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-serif);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  font-size: 1.0625rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--sea);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 3px;
}

.sans {
  font-family: var(--font-sans);
}

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

/* —— Site header / nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 47, 45, 0.94);
  backdrop-filter: blur(10px);
  color: var(--white);
  border-bottom: 1px solid rgba(232, 182, 76, 0.18);
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  font-weight: 400;
  white-space: nowrap;
}

.brand:hover {
  color: #e8d9b5;
}

.brand span {
  color: var(--gold-soft);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 253, 248, 0.28);
  color: var(--white);
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c5d9d5;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--gold-soft);
}

.site-nav a.nav-cta {
  background: #7a5614;
  color: #fffef9;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  border-bottom: none;
}

.site-nav a.nav-cta:hover {
  background: #5c400e;
  color: #fffef9;
  border-bottom: none;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--sea-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0;
    border-bottom: 1px solid rgba(232, 182, 76, 0.18);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 253, 248, 0.08);
  }
  .site-nav a.nav-cta {
    margin-top: 0.75rem;
    text-align: center;
  }
  body.nav-open {
    overflow: hidden;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  padding: 0.78rem 1.2rem;
  border-radius: var(--radius-sm);
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s var(--ease), transform 0.12s var(--ease), box-shadow 0.15s;
  min-height: 44px;
  text-align: center;
  line-height: 1.2;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sea {
  background: var(--sea);
  color: var(--white);
}
.btn-sea:hover {
  background: var(--sea-deep);
  color: var(--white);
}

.btn-gold {
  background: #7a5614; /* darker for WCAG contrast with white text */
  color: #fffef9;
}
.btn-gold:hover {
  background: #5c400e;
  color: #fffef9;
}

.nav-cta {
  background: #7a5614;
  color: #fffef9 !important;
}
.nav-cta:hover {
  background: #5c400e;
  color: #fffef9 !important;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 253, 248, 0.45);
}
.btn-ghost:hover {
  background: rgba(255, 253, 248, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--sea);
  border: 1px solid var(--sea);
}
.btn-outline:hover {
  background: var(--sea);
  color: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 47, 45, 0.35) 0%,
    rgba(19, 26, 36, 0.25) 40%,
    rgba(11, 47, 45, 0.88) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3.75rem;
  width: 100%;
}

.hero-kicker {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #9fc4bd;
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-tag {
  margin-top: 1rem;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-style: italic;
  color: #e8d9b5;
  max-width: 34em;
  line-height: 1.45;
}

.hero .btn-row {
  margin-top: 1.75rem;
}

/* —— Sections —— */
.section {
  padding: 4rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-narrow {
  max-width: var(--max-narrow);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.section-head .kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.55rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  color: var(--sea-deep);
  font-weight: 500;
  line-height: 1.2;
}

.section-head p {
  margin-top: 0.65rem;
  color: var(--ink-soft);
  max-width: 38em;
  margin-left: auto;
  margin-right: auto;
}

.band-dark {
  background: var(--sea-deep);
  color: #d7ebe7;
}

.band-dark h2,
.band-dark h3 {
  color: var(--white);
}

.band-dark p {
  color: #b7d4ce;
}

.band-white {
  background: var(--white);
}

.band-navy {
  background: var(--navy);
  color: #d8dee8;
}

.band-navy h2,
.band-navy h3 {
  color: var(--white);
}

/* —— Book cards —— */
.book-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.book-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(28, 25, 23, 0.05);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.book-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.book-card-cover {
  aspect-ratio: 5 / 8;
  background: var(--sand-deep);
  overflow: hidden;
}

.book-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-card-body {
  padding: 1.25rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.book-card .kicker {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}

.book-card h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--ink);
  font-weight: 600;
}

.book-card .sub {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 0.25rem;
}

.book-card p {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  flex: 1;
}

.book-card .price {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-top: 0.75rem;
}

.book-card .btn-row {
  margin-top: 1rem;
}

.book-card .btn {
  flex: 1 1 auto;
  min-width: 110px;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
}

.book-card.coming .book-card-cover {
  position: relative;
}

.book-card.coming .coming-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold-deep);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
}

/* —— Featured Coast band —— */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--navy);
  color: #d8dee8;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-split-media {
  min-height: 320px;
  background-size: cover;
  background-position: center;
}

.feature-split-body {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-split-body .kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.75rem;
}

.feature-split-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--white);
  font-weight: 500;
  line-height: 1.2;
}

.feature-split-body p {
  margin-top: 1rem;
  color: #b8c2d0;
  font-size: 1.02rem;
}

.feature-split-body .pull {
  margin-top: 1.25rem;
  font-style: italic;
  color: #e8d9b5;
  font-size: 1.15rem;
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}

@media (max-width: 780px) {
  .feature-split {
    grid-template-columns: 1fr;
  }
  .feature-split-media {
    min-height: 220px;
  }
}

/* —— Tide Letter band —— */
.tide-band {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 2.5rem 1.75rem;
  text-align: center;
  border: 1px solid rgba(28, 25, 23, 0.05);
  max-width: 720px;
  margin: 0 auto;
}

.tide-band h2,
.tide-band h3 {
  color: var(--sea-deep);
  font-size: 1.65rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.tide-band p {
  color: var(--ink-soft);
  max-width: 36em;
  margin: 0 auto 0.85rem;
}

.tide-band .note {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-top: 1rem;
}

.tide-band .fallback {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 1.1rem;
}

.kit-slot {
  margin-top: 1rem;
}

/* Shown after Join is clicked — mailto can fail inside previews/iframes */
.tide-signup-help {
  margin: 1.25rem auto 0;
  max-width: 28rem;
  text-align: left;
  background: #f3faf7;
  border: 1px solid #b7d4ce;
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.15rem 1.15rem;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.5;
  box-shadow: var(--shadow-soft);
}

.tide-signup-help .tide-signup-lead {
  margin: 0 0 0.55rem;
  font-size: 0.98rem;
  color: var(--sea-deep);
}

.tide-signup-help .tide-inline {
  display: inline;
  font-weight: 700;
  color: var(--sea-deep);
}

.tide-signup-help ol {
  margin: 0 0 0.75rem 1.15rem;
  padding: 0;
  color: var(--ink-soft);
}

.tide-signup-help li {
  margin-bottom: 0.35rem;
}

.tide-signup-help .tide-signup-fallback {
  margin: 0.5rem 0 0.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.tide-signup-help .tide-signup-addr {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.tide-signup-help code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.35rem 0.55rem;
  border-radius: 4px;
  color: var(--sea-deep);
}

.tide-copy-btn {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  background: var(--sea);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  min-height: 36px;
}

.tide-copy-btn:hover {
  background: var(--sea-deep);
}

/* —— About teaser —— */
.about-teaser {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-teaser img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  border: 4px solid var(--white);
}

.about-teaser h2 {
  color: var(--sea-deep);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.about-teaser p {
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .about-teaser {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

/* —— Page hero (inner pages) —— */
.page-hero {
  background: linear-gradient(160deg, var(--sea-deep) 0%, var(--sea) 55%, var(--gold-deep) 140%);
  color: var(--white);
  padding: 3.25rem 1.25rem 2.75rem;
  text-align: center;
}

.page-hero.with-image {
  position: relative;
  background: var(--navy);
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  text-align: left;
  overflow: hidden;
}

.page-hero.with-image .page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}

.page-hero.with-image .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 47, 45, 0.2), rgba(11, 47, 45, 0.92));
}

.page-hero.with-image .page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding-bottom: 0.5rem;
}

.page-hero .kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9fc4bd;
  margin-bottom: 0.6rem;
}

.page-hero h1,
.page-hero .page-title {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin: 0;
  color: inherit;
  font-family: inherit;
}

.page-hero p {
  margin-top: 0.75rem;
  color: #e8d9b5;
  font-style: italic;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.page-hero.with-image p {
  margin-left: 0;
  margin-right: 0;
}

/* The Ride — wide Tail of the Dragon lean, full bike, no head crop */
.page-hero.ride-hero {
  min-height: min(48vh, 440px);
  padding-top: 4rem;
}
.page-hero.ride-hero .page-hero-bg {
  background-size: cover;
  background-position: center 42%;
  opacity: 0.72;
}
.page-hero.ride-hero .page-hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(11, 47, 45, 0.15) 0%,
    rgba(11, 47, 45, 0.35) 45%,
    rgba(11, 47, 45, 0.9) 100%
  );
}

/* —— Book detail rows —— */
.book-detail {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.book-detail:last-child {
  border-bottom: none;
}

.book-detail-cover {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sand-deep);
}

.book-detail-cover img {
  width: 100%;
}

.book-detail .kicker {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}

.book-detail h2 {
  font-size: 1.55rem;
  color: var(--sea-deep);
  font-weight: 600;
  line-height: 1.2;
}

.book-detail .sub {
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}

.book-detail .blurb {
  margin-top: 1rem;
  color: var(--ink);
}

.book-detail .blurb p + p {
  margin-top: 0.75rem;
}

.book-detail .pull-quote {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--gold);
  background: var(--white);
  font-style: italic;
  color: var(--ink-soft);
}

.stars-slot {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-top: 0.75rem;
  min-height: 1.2em;
}

.audience-note {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}

@media (max-width: 700px) {
  .book-detail {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .book-detail-cover {
    max-width: 220px;
    margin: 0 auto;
  }
}

/* —— Fable page —— */
.fable-why {
  max-width: 900px;
  margin: 0 auto 2rem;
  background: var(--white);
  border: 1px solid rgba(28, 25, 23, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.25rem, 3vw, 1.75rem);
}

.fable-why-grid {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: 1fr 1fr;
}

.fable-why .kicker {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}

.fable-why h2 {
  font-size: 1.25rem;
  color: var(--sea-deep);
  font-weight: 600;
  margin-bottom: 0.55rem;
  line-height: 1.25;
}

.fable-why p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0.65rem;
}

.fable-why p:last-child {
  margin-bottom: 0;
}

.fable-tip {
  font-size: 0.88rem !important;
  color: var(--ink) !important;
  background: var(--sand);
  border-left: 3px solid var(--gold);
  padding: 0.65rem 0.85rem;
  margin-top: 0.75rem !important;
}

@media (max-width: 700px) {
  .fable-why-grid {
    grid-template-columns: 1fr;
  }
}

.fable-sheet {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.75rem, 4vw, 3rem);
  max-width: 680px;
  margin: 0 auto;
}

.fable-sheet .fable-meta {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.fable-sheet .fable-meta .series {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.fable-sheet h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  color: var(--sea-deep);
  margin-top: 0.5rem;
  font-weight: 500;
}

.fable-sheet .fable-sub {
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

/* Book plate illustration — print-friendly */
.fable-illust {
  margin: 0 0 1.75rem;
  text-align: center;
}

.fable-illust img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 2px;
  background: #fff;
  image-rendering: auto;
  box-shadow: 0 1px 0 rgba(28, 25, 23, 0.06);
}

.fable-illust figcaption {
  margin-top: 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}

.fable-body {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--ink);
}

.fable-body p {
  margin-bottom: 1.15rem;
}

.fable-body p.drop::first-letter {
  font-size: 3.4rem;
  float: left;
  line-height: 0.85;
  padding-right: 0.45rem;
  padding-top: 0.1rem;
  color: var(--sea);
  font-weight: 500;
}

.fable-moral {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-style: italic;
  color: var(--sea-deep);
  text-align: center;
}

.fable-field-note {
  margin-top: 1.75rem;
  padding: 1.1rem 1.15rem;
  background: #f3faf7;
  border: 1px solid #b7d4ce;
  border-radius: var(--radius-sm);
  text-align: left;
}

.fable-field-note .kicker {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 0.45rem;
}

.fable-field-note p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.fable-field-note strong {
  color: var(--sea-deep);
  font-weight: 600;
}

.fable-cta {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.fable-print-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 0.25rem;
}

/* Print: one clean page of fable + illustration, no chrome */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
  }
  .no-print,
  .site-header,
  .site-footer,
  .page-hero,
  .nav-toggle,
  .fable-why {
    display: none !important;
  }
  .section {
    padding: 0 !important;
  }
  .fable-sheet {
    box-shadow: none !important;
    border-radius: 0 !important;
    max-width: none !important;
    padding: 0 !important;
  }
  .fable-illust img {
    max-height: 3.4in;
    width: auto;
    margin: 0 auto 0.5rem;
    box-shadow: none !important;
  }
  .fable-body {
    font-size: 11.5pt;
    line-height: 1.55;
  }
  .fable-body p.drop::first-letter {
    color: #000 !important;
  }
  .fable-moral {
    color: #000 !important;
    break-inside: avoid;
  }
  .fable-field-note {
    background: #fff !important;
    border: 1px solid #ccc !important;
    break-inside: avoid;
  }
  a {
    color: #000 !important;
    text-decoration: none !important;
  }
}

/* —— Prose / lore pages —— */
.prose {
  max-width: 680px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.45rem;
  color: var(--sea-deep);
  margin: 2rem 0 0.75rem;
  font-weight: 600;
}

.prose h3 {
  font-size: 1.15rem;
  color: var(--sea);
  margin: 1.5rem 0 0.5rem;
  font-weight: 600;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--ink);
}

.prose ul,
.prose ol {
  margin: 0 0 1.15rem 1.25rem;
  color: var(--ink);
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--gold);
  background: var(--white);
  font-style: italic;
  color: var(--ink-soft);
}

.prose cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.prose .source-list {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* —— Photo grids —— */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.85rem;
}

.photo-grid figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--sand-deep);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 220px;
  max-height: 320px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Standing portraits / people — pin to top so heads never crop */
.photo-grid img.pos-top {
  object-position: center 8%;
}
/* Scenic / bike-only frames — true center */
.photo-grid img.pos-center {
  object-position: center center;
}
/* Lean / rider-on-bike — keep helmet in frame (helmet sits high in source) */
.photo-grid img.pos-bike {
  object-position: center 12%;
}
/* Landscape overlooks — bias slightly lower for horizon */
.photo-grid img.pos-horizon {
  object-position: center 55%;
}

.photo-grid figcaption {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--ink-soft);
  padding: 0.55rem 0.7rem;
  background: var(--white);
  line-height: 1.4;
}

/* —— Press —— */
.quote-slots {
  display: grid;
  gap: 1rem;
}

.quote-slot {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  color: var(--ink);
  font-style: italic;
}

.quote-slot .label {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}

.quote-slot .attr {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.85rem;
  margin-top: 0.65rem;
  color: var(--ink-faint);
}

.media-kit {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.media-kit a {
  display: block;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(28, 25, 23, 0.05);
  transition: transform 0.15s var(--ease);
}

.media-kit a:hover {
  transform: translateY(-2px);
  color: var(--sea-deep);
}

.media-kit img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}

.media-kit span {
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

/* —— Footer —— */
.site-footer {
  background: var(--sea-deep);
  color: #9fc4bd;
  padding: 2.75rem 1.25rem 2rem;
  margin-top: 0;
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.site-footer h4 {
  color: #e8d9b5;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.65rem;
  letter-spacing: 0.04em;
}

.site-footer a {
  color: #e8d9b5;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.35rem;
}

.site-footer .motto {
  font-family: var(--font-serif);
  font-style: italic;
  color: #7aaba3;
  margin-top: 0.75rem;
}

.site-footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(159, 196, 189, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: #7aaba3;
  font-size: 0.78rem;
}

@media (max-width: 700px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
  }
}

/* —— Utility —— */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.stack > * + * { margin-top: 0.85rem; }

.divider {
  height: 1px;
  background: var(--line);
  border: none;
  margin: 2rem 0;
}

.pill {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(169, 122, 36, 0.12);
  color: var(--gold-deep);
}

/* —— Redirect pages —— */
.redirect-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--sand);
  padding: 2rem;
  text-align: center;
}

.redirect-body h1 {
  color: var(--sea-deep);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.redirect-body p {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
