:root {
  --wine: #711541;
  --wine-dark: #3c0b2b;
  --teal: #007481;
  --teal-dark: #005460;
  --coral: #cb2f70;
  --gold: #f2b84b;
  --cream: #edf7f9;
  --paper: #ffffff;
  --ink: #241e1b;
  --muted: #746b65;
  --line: rgba(113, 21, 65, .18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
figure, blockquote, dl, dd { margin: 0; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.03; letter-spacing: -.035em; }
h1 { font-size: clamp(3.25rem, 7vw, 6.8rem); max-width: 780px; margin-bottom: 28px; }
h2 { font-size: clamp(2.7rem, 5.2vw, 5.2rem); margin-bottom: 28px; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 22px max(32px, calc((100vw - var(--max)) / 2));
  color: var(--paper);
  background: var(--wine-dark);
}
.wordmark { text-decoration: none; line-height: 1.2; }
.wordmark span { display: block; font-family: var(--serif); font-size: 1.12rem; }
.wordmark small { display: block; margin-top: 2px; font-size: .64rem; text-transform: uppercase; letter-spacing: .23em; opacity: .72; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { text-decoration: none; font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; }
nav a:not(.nav-cta) { opacity: .78; }
nav a:hover { opacity: 1; }
.nav-cta { padding: 9px 16px; border: 1px solid rgba(255,255,255,.52); border-radius: 999px; }
.menu-button { display: none; }

.cover-opening {
  position: relative;
  min-height: calc(100svh - 86px);
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow: hidden;
  background: #082f34;
}
.cover-opening-book {
  width: auto;
  max-width: 100%;
  height: calc(100svh - 86px);
  object-fit: contain;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: clamp(105px, 13vw, 170px) max(32px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  color: var(--paper);
  background:
    radial-gradient(circle at 18% 15%, rgba(203,47,112,.24), transparent 31%),
    radial-gradient(circle at 78% 85%, rgba(0,116,129,.68), transparent 36%),
    var(--wine-dark);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 68vw;
  height: 68vw;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 49% 51% 34% 66% / 47% 32% 68% 53%;
  left: -24vw;
  bottom: -48vw;
  transform: rotate(17deg);
}
.hero-copy { position: relative; z-index: 2; width: min(100%, 980px); }
.eyebrow { margin-bottom: 22px; color: var(--coral); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .24em; }
.hero .eyebrow { font-size: .92rem; letter-spacing: .2em; }
.hero-lead { max-width: 720px; margin-bottom: 48px; font-family: var(--serif); font-size: clamp(1.24rem, 2vw, 1.62rem); line-height: 1.46; color: rgba(255,250,241,.82); }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 25px; border-radius: 999px; text-decoration: none; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.button-primary { background: var(--coral); color: var(--paper); }
.button-primary:hover { background: #b52661; transform: translateY(-2px); }
.text-link { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.38); font-size: .86rem; }
.text-link span { margin-left: 7px; }
.book-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 70px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.book-meta div { min-width: 105px; }
.book-meta dt { font-size: .61rem; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.52); }
.book-meta dd { font-family: var(--serif); font-size: .95rem; }

.beach-interlude { position: relative; overflow: hidden; background: var(--teal-dark); }
.beach-interlude img { width: 100%; height: auto; }
.beach-interlude::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,38,44,.45), transparent 42%); pointer-events: none; }
.beach-interlude p { position: absolute; z-index: 1; left: max(32px, calc((100vw - var(--max)) / 2)); bottom: 30px; margin: 0; color: white; font-family: var(--serif); font-size: 1rem; font-style: italic; }
.beach-interlude p span { margin-left: 24px; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.5); }

.marquee { padding: 17px 0; overflow: hidden; color: var(--paper); background: var(--teal); font-family: var(--serif); font-size: clamp(1rem, 1.6vw, 1.35rem); white-space: nowrap; }
.marquee div { width: max-content; padding-left: 3vw; }
.marquee i { display: inline-block; width: 7px; height: 7px; margin: 0 22px 3px; border-radius: 50%; background: rgba(255,255,255,.72); }

.section { position: relative; width: min(calc(100% - 64px), var(--max)); margin: 0 auto; padding: clamp(95px, 12vw, 165px) 0; }
.section-number { position: absolute; top: 82px; right: 0; color: var(--line); font-family: var(--serif); font-size: clamp(7rem, 18vw, 14rem); line-height: 1; }
.synopsis { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(60px, 10vw, 150px); align-items: start; }
.synopsis-heading { position: sticky; top: 48px; }
.synopsis-heading h2 { max-width: 520px; color: var(--wine); }
.synopsis .eyebrow { color: var(--teal); }
.synopsis-copy { position: relative; z-index: 2; padding-top: 72px; max-width: 620px; }
.synopsis-copy p { margin-bottom: 27px; }
.dropcap::first-letter { float: left; margin: 10px 10px 0 0; color: var(--teal); font-family: var(--serif); font-size: 5.4rem; line-height: .67; }

.image-story { display: grid; grid-template-columns: 1fr 1fr; color: var(--paper); background: var(--teal-dark); }
.image-story-main { min-height: 760px; }
.image-story-main img { height: 100%; object-fit: cover; }
.image-story-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 10vw, 145px); overflow: hidden; }
.image-story-copy::after { content: ""; position: absolute; width: 480px; height: 650px; right: -280px; border: 1px solid rgba(255,255,255,.14); border-radius: 50% 50% 50% 50% / 35% 35% 65% 65%; }
.image-story-copy h2 { position: relative; z-index: 2; font-size: clamp(2.8rem, 5.1vw, 5rem); }
.image-story-copy > p:last-child { position: relative; z-index: 2; max-width: 580px; color: rgba(255,255,255,.72); }
.chapter-mark { position: absolute; top: 55px; right: 55px; color: rgba(255,255,255,.12); font-family: var(--serif); font-size: 8rem; line-height: 1; }
.image-story-wide { position: relative; grid-column: 1 / -1; height: min(62vw, 720px); }
.image-story-wide img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); }
.image-story-wide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,24,28,.6), transparent 45%); pointer-events: none; }
.image-story-wide figcaption { position: absolute; z-index: 2; left: max(32px, calc((100vw - var(--max)) / 2)); bottom: 32px; color: var(--paper); font-family: var(--serif); font-style: italic; }

.crossing { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(50px, 8vw, 120px); }
.crossing-copy { padding-top: 40px; }
.crossing-copy h2 { color: var(--wine); }
.crossing-copy .pull-line { margin-top: 55px; padding: 28px 0 0 26px; border-top: 1px solid var(--line); border-left: 4px solid var(--coral); color: var(--teal-dark); font-family: var(--serif); font-size: 1.4rem; font-style: italic; line-height: 1.42; }
.crossing-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; z-index: 2; }
.photo { position: relative; overflow: hidden; }
.photo img { height: 100%; object-fit: cover; transition: transform .7s ease; }
.photo:hover img { transform: scale(1.025); }
.photo figcaption { position: absolute; left: 16px; bottom: 14px; padding: 5px 10px; color: white; background: rgba(60,11,43,.76); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.photo-beach { grid-column: 1 / -1; height: 340px; }
.photo-cargo, .photo-buffalo, .photo-boat { height: 400px; }
.photo-boat { background: var(--teal-dark); }
.photo-boat img { object-fit: contain; object-position: center; }

.companions { padding: clamp(95px, 12vw, 165px) max(32px, calc((100vw - var(--max)) / 2)); color: var(--paper); background: var(--wine); }
.companions-intro { display: grid; grid-template-columns: .52fr 1.35fr 1fr; gap: 50px; align-items: start; margin-bottom: 70px; }
.companions-intro .eyebrow { grid-column: 1; padding-top: 13px; }
.companions-intro h2 { grid-column: 2; font-size: clamp(2.8rem, 4.8vw, 4.8rem); }
.companions-intro > p:last-child { grid-column: 3; color: rgba(255,255,255,.68); }
.companions-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: stretch; }
.companions-gallery figure { position: relative; overflow: hidden; }
.companions-gallery figure { aspect-ratio: 4 / 3; }
.companions-gallery img { height: 100%; object-fit: cover; }
.companions-gallery figure:nth-child(1) img { object-position: center; }
.companions-gallery figure:nth-child(2) img { object-position: 52% center; }
.companions-gallery figure:nth-child(3) img { object-position: center; }
.companions-gallery figure:nth-child(4) img { object-position: center; }
.companions-gallery figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 5px 10px;
  color: white;
  background: rgba(60,11,43,.76);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.author { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(70px, 10vw, 150px); align-items: center; }
.author-images { position: relative; display: flex; justify-content: center; align-items: center; }
.author-images::before { content: ""; position: absolute; width: 76%; aspect-ratio: 3 / 4; border: 1px solid rgba(0,84,96,.3); transform: translate(28px, 28px); }
.author-main { position: relative; z-index: 1; width: min(82%, 470px); box-shadow: 0 28px 70px rgba(0,84,96,.18); }
.author-main img { aspect-ratio: 3 / 4; object-fit: cover; }
.author-copy h2 { color: var(--teal-dark); }
.author-role { margin-bottom: 28px; color: var(--wine); font-family: var(--serif); font-size: 1.42rem; line-height: 1.4; }
.author-copy p:not(.eyebrow):not(.author-role) { color: #4f4742; }

.buy { padding: clamp(90px, 12vw, 150px) max(32px, calc((100vw - var(--max)) / 2)); color: var(--paper); background: var(--teal-dark); }
.buy-inner { display: grid; grid-template-columns: 1fr; gap: 50px; }
.buy h2 { margin-bottom: 14px; }
.buy-inner > div:first-child > p:last-child { color: rgba(255,255,255,.6); }
.buy-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.buy-card { position: relative; min-height: 205px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(255,255,255,.24); text-decoration: none; transition: .25s ease; touch-action: manipulation; }
.buy-card span { font-size: .67rem; text-transform: uppercase; letter-spacing: .16em; opacity: .65; }
.buy-card strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; line-height: 1.1; }
.buy-card small { display: flex; justify-content: space-between; }
.buy-card b { font-size: 1.1rem; }
.region-links { display: grid; gap: 8px; }
.region-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; font-size: .76rem; text-decoration: none; border-bottom: 1px solid currentColor; touch-action: manipulation; }

.buy-card:active,
.buy-card.is-pressed {
  color: var(--wine-dark);
  background: var(--coral);
  border-color: var(--coral);
  transform: scale(.99);
}

@media (hover: hover) and (pointer: fine) {
  .buy-card:hover { color: var(--wine-dark); background: var(--coral); border-color: var(--coral); transform: translateY(-4px); }
  .region-links a:hover { opacity: .7; }
}

footer { display: flex; justify-content: space-between; gap: 30px; padding: 34px max(32px, calc((100vw - var(--max)) / 2)); color: rgba(255,255,255,.58); background: var(--wine-dark); font-size: .72rem; letter-spacing: .07em; }
footer > div { display: flex; gap: 20px; }
.footer-title { color: var(--paper); font-family: var(--serif); }
footer a { text-decoration: none; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .photo img, .button { transition: none; }
}

@media (max-width: 980px) {
  .site-header { padding-inline: 20px; }
  .hero-copy { max-width: 800px; }
  .synopsis, .crossing, .author, .buy-inner { grid-template-columns: 1fr; }
  .synopsis-heading { position: static; }
  .synopsis-copy { padding-top: 0; }
  .image-story-copy { padding: 70px 50px; }
  .companions-intro { grid-template-columns: 1fr 1fr; }
  .companions-intro .eyebrow { grid-column: 1 / -1; }
  .companions-intro h2 { grid-column: 1; }
  .companions-intro > p:last-child { grid-column: 2; }
  .author-images { max-width: 700px; width: 100%; }
  .buy-options { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(3.15rem, 14vw, 5rem); }
  h2 { font-size: clamp(2.6rem, 11vw, 4rem); }
  .site-header { align-items: flex-start; }
  .menu-button { display: block; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 8px 14px; color: white; background: transparent; font: inherit; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
  nav { display: none; position: absolute; top: 78px; right: 0; flex-direction: column; align-items: flex-end; gap: 18px; padding: 22px; color: var(--paper); background: rgba(42,14,13,.97); }
  nav.is-open { display: flex; }
  .cover-opening { min-height: 0; display: block; }
  .cover-opening-book { width: 100%; max-width: none; height: auto; }
  .hero { min-height: auto; padding-inline: 22px; padding-bottom: 75px; }
  .book-meta { margin-top: 50px; gap: 18px; }
  .beach-interlude p { left: 22px; bottom: 20px; }
  .section { width: min(calc(100% - 40px), var(--max)); padding: 90px 0; }
  .section-number { top: 55px; }
  .synopsis { gap: 25px; }
  .image-story { grid-template-columns: 1fr; }
  .image-story-main { min-height: 620px; }
  .image-story-copy { padding: 80px 24px; }
  .image-story-wide { grid-column: 1; height: 76vw; min-height: 330px; }
  .image-story-wide figcaption { left: 24px; right: 24px; }
  .crossing { gap: 50px; }
  .crossing-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .photo-beach { height: 240px; }
  .photo-cargo, .photo-buffalo { height: 300px; }
  .photo-boat { grid-column: 1 / -1; height: 420px; }
  .companions { padding-inline: 22px; }
  .companions-intro { grid-template-columns: 1fr; gap: 18px; }
  .companions-intro .eyebrow, .companions-intro h2, .companions-intro > p:last-child { grid-column: 1; }
  .companions-gallery { grid-template-columns: 1fr; grid-template-rows: auto; gap: 12px; }
  .companions-gallery figure:nth-child(1),
  .companions-gallery figure:nth-child(2),
  .companions-gallery figure:nth-child(3),
  .companions-gallery figure:nth-child(4) { grid-column: 1; grid-row: auto; height: auto; aspect-ratio: 4 / 3; }
  .author-main { width: 82%; }
  .buy { padding-inline: 22px; }
  .buy-options { grid-template-columns: 1fr; }
  .buy-card { min-height: 180px; }
  footer, footer > div { flex-direction: column; }
  footer { padding-inline: 22px; }
  footer > div { gap: 4px; }
}
