/* ==========================================================
   The Coach House — shared styles
   ========================================================== */

:root {
  /* One crisp white background everywhere */
  --page: #ffffff;
  --page-light: #ffffff;
  --header: #ffffff;
  --green: #1f4535;
  --green-soft: #2e5142;
  --panel: #3e5a47;
  --footer: #2b4a3b;
  --sage: #6a7d5e;
  --sage-dark: #57694c;
  --gold: #c3a15c;
  --cream: #f5eedf;
  --footer-link: #ebddb8;
  --ink: #2a3b33;
  --placeholder: #dee0e2;
  --placeholder-ink: #3b4a44;
  --line: rgba(31, 69, 53, 0.16);

  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --display: "Cormorant SC", var(--serif);
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1500px;
  --gutter: clamp(16px, 5vw, 72px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--green); margin: 0; line-height: 1.1; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Thin gold accent line */
.rule { display: block; width: 56px; height: 1px; background: var(--gold); }
.rule--center { margin-inline: auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.arrow { width: 84px; height: 10px; color: var(--gold); flex: none; transition: transform 0.3s ease; }

/* ----------------------------------------------------------
   Image slots
   Shows a labelled placeholder until the image file exists.
   ---------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--placeholder);
}
.media::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem 1.5rem;
  text-align: center;
  white-space: pre-line;
  font: 500 0.78rem/1.8 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--placeholder-ink);
}
.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media.is-loaded { background: none; }
.media.is-loaded::before { content: none; }

/* Transparent illustrations (PNG) */
.media--illus {
  background: none;
  outline: 1px dashed rgba(31, 69, 53, 0.25);
  outline-offset: -1px;
}
.media--illus::before { font-size: 0.68rem; letter-spacing: 0.12em; }
.media--illus img { object-fit: contain; }
.media--illus.is-loaded { outline: none; }

/* Photo with soft, borderless edges that fade into the page */
.media--fade.is-loaded { overflow: visible; }
.media--fade img {
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 25%, #000 75%, transparent),
    linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 25%, #000 75%, transparent),
    linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  mask-composite: intersect;
}

/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  background: var(--sage);
  color: var(--cream);
  font: 500 0.9rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--sage-dark); }

/* ----------------------------------------------------------
   Header
   ---------------------------------------------------------- */
.site-header { background: var(--header); position: relative; z-index: 10; }

.brand-row {
  display: flex;
  justify-content: center;
  padding: 1.4rem var(--gutter) 1.1rem;
  margin-inline: 8px;
  border-bottom: 1px solid var(--line);
}

.brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--green);
}
.brand-pony {
  position: absolute;
  right: calc(100% + clamp(1.5rem, 6vw, 5.5rem));
  top: 50%;
  translate: 0 -50%;
  width: clamp(70px, 8vw, 120px);
  height: auto;
}
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0.01em;
}
.brand-place {
  margin-top: 0.45rem;
  font-family: var(--serif);
  font-size: clamp(0.8rem, 1.2vw, 1.05rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.nav-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem var(--gutter);
}
.nav-row .btn { grid-column: 3; justify-self: end; }

/* Check Availability button (image) */
.btn-avail { grid-column: 3; justify-self: end; display: block; line-height: 0; }
.btn-avail img { height: 46px; width: auto; transition: opacity 0.2s ease; }
.btn-avail:hover img, .btn-avail:focus-visible img { opacity: 0.88; }
.btn-avail:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.site-nav { grid-column: 2; }
.site-nav ul { display: flex; gap: clamp(1.5rem, 3.5vw, 3.6rem); }
.site-nav a {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--green);
  text-decoration: none;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: var(--green);
  font: 500 0.9rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 1.5px; background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-row { grid-template-columns: auto 1fr; }
  .nav-toggle { display: inline-flex; grid-column: 1; }
  .nav-row .btn, .btn-avail { grid-column: 2; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding-bottom: 0.5rem; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: 0.9rem 0; font-size: 1rem; }
  .site-nav a::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--sage); }
}

@media (max-width: 640px) {
  .brand-pony { display: none; }
  .brand-place { letter-spacing: 0.2em; }
  .btn { padding: 0.75rem 1.1rem; font-size: 0.78rem; letter-spacing: 0.1em; }
  .btn-avail img { height: 36px; }
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.site-footer {
  background: var(--footer);
  color: var(--footer-link);
  padding: 2.5rem 0 1.75rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding-left: clamp(16px, 14vw, 260px);
}
.footer-links a {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  line-height: 1.45;
  color: var(--footer-link);
  text-decoration: none;
}
.footer-links a:hover, .footer-links a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.footer-sprig { width: clamp(90px, 10vw, 150px); height: auto; }
.footer-legal {
  margin-top: 2rem;
  padding-left: clamp(16px, 14vw, 260px);
  font-size: 0.85rem;
  color: rgba(235, 221, 184, 0.6);
}

/* ==========================================================
   Homepage
   ========================================================== */

/* Hero */
.hero {
  position: relative;
  height: min(86vh, 900px);
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, #7a4a24 0%, #3b2313 55%, #22150b 100%);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(20deg, rgba(20, 11, 4, 0.6) 0%, rgba(20, 11, 4, 0.25) 40%, rgba(20, 11, 4, 0) 65%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(5rem, 22vh, 14rem);
  padding-left: max(var(--gutter), 18vw);
}
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero .rule { width: 170px; height: 3px; margin-top: 2rem; }
.hero-scroll {
  position: absolute;
  z-index: 1;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 4vh, 48px);
  color: var(--gold);
}
.hero-scroll svg { width: 56px; height: 36px; display: block; }

/* Arrow: three bounces (about 1.8s), then still for 10s, repeating.
   Starts once the hero video has finished (class added in js/main.js). */
.hero-scroll.is-bouncing { animation: arrow-bounce 11.8s ease-in-out infinite; }
@keyframes arrow-bounce {
  0%, 5.08%, 10.17%, 15.25%, 100% { transform: translateY(0); }
  2.54%, 7.63%, 12.71% { transform: translateY(14px); }
}
@media (prefers-reduced-motion: reduce) { .hero-scroll.is-bouncing { animation: none; } html { scroll-behavior: auto; } }

/* Feature trio */
.features { background: var(--page-light); padding: 3.5rem 0 4rem; }
.features-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: center;
}
.features-list .media { width: min(100%, 300px); aspect-ratio: 300 / 175; margin: 0 auto 1.5rem; }
.features-list h2 { font-size: clamp(1.35rem, 1.8vw, 1.7rem); }
.features-list .rule { margin: 1.4rem auto 0; }

/* Tile grid */
.tiles-section { background: var(--page-light); padding-bottom: 5rem; }
.tiles {
  display: grid;
  grid-template-columns: 1.48fr 1fr;
  grid-template-rows: 1fr 1.12fr;
  gap: clamp(16px, 2.2vw, 36px);
  height: clamp(520px, 52vw, 680px);
}
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
}
.tile--lg { grid-row: span 2; }
.tile .media { position: absolute; inset: 0; }
.tile .media img { transition: transform 0.8s ease; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 22%, rgba(255, 255, 255, 0) 48%);
  pointer-events: none;
}
.tile-label {
  position: absolute;
  z-index: 1;
  left: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.tile-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  line-height: 1.05;
  color: var(--green);
}
.tile--lg .tile-title { font-size: clamp(2.4rem, 4.4vw, 4.4rem); }
.tile:hover .media img, .tile:focus-visible .media img { transform: scale(1.04); }
.tile:hover .arrow, .tile:focus-visible .arrow { transform: translateX(8px); }

/* Intro statement */
.statement { padding: 4rem 0 2.5rem; text-align: center; }
.statement p {
  max-width: 940px;
  margin: 2rem auto;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  line-height: 1.3;
  color: var(--green);
}

/* Duo cards */
.duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 32px);
  max-width: calc(1530px + var(--gutter) * 2);
  padding-bottom: 3.5rem;
}
.duo-card { display: flex; flex-direction: column; text-decoration: none; }
.duo-card .media { aspect-ratio: 745 / 316; }
.duo-card .media img { transition: transform 0.8s ease; }
.duo-panel {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 124px;
  padding: 1.5rem clamp(1.25rem, 2vw, 2rem);
  background: var(--panel);
  transition: background 0.25s ease;
}
.duo-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2.3rem);
  line-height: 1.12;
  text-align: center;
  color: var(--cream);
}
.duo-card:hover .duo-panel, .duo-card:focus-visible .duo-panel { background: #36513f; }
.duo-card:hover .media img, .duo-card:focus-visible .media img { transform: scale(1.04); }
.duo-card:hover .arrow, .duo-card:focus-visible .arrow { transform: translateX(8px); }

@media (max-width: 900px) {
  .features-list { grid-template-columns: 1fr; gap: 3rem; }
  .tiles { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .tile--lg { grid-row: auto; }
  .tile { aspect-ratio: 4 / 3; }
  .duo { grid-template-columns: 1fr; }
}

/* ==========================================================
   The Coach House page
   ========================================================== */
.ch-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 0.55fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  padding-top: 2rem;
  padding-bottom: 4rem;
}
.ch-intro-photo { aspect-ratio: 853 / 417; }
.ch-intro-text { padding-top: 1.5rem; }
.ch-intro-text .eyebrow { margin-top: 2.2rem; }
.ch-intro-text h1 { margin-top: 0.6rem; font-size: clamp(2.4rem, 3.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em; }
.ch-intro-text .lede { margin-top: 1.5rem; max-width: 26em; line-height: 1.75; }
.ch-oak { margin-top: 4rem; }
.ch-oak.media { aspect-ratio: 250 / 270; }

.ch-trio-section { position: relative; padding-bottom: clamp(7rem, 12vw, 11rem); overflow: hidden; }
.ch-trio {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.ch-trio .media { aspect-ratio: 557 / 216; }
.ch-note { padding-top: 1.5rem; }
.ch-note .rule { margin: 1.4rem 0 1.6rem; }
.ch-note p:not(.eyebrow) { max-width: 24em; }
.heather {
  position: absolute;
  bottom: 1.5rem;
  width: clamp(80px, 9vw, 150px);
  height: auto;
  pointer-events: none;
}
.heather--l { left: clamp(8px, 3vw, 56px); }
.heather--r { right: clamp(8px, 3vw, 56px); transform: scaleX(-1); }

.ch-forest { padding-top: 3.5rem; padding-bottom: 3rem; }
.ch-forest-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}
.ch-forest-head .eyebrow { margin-top: 2.2rem; }
.ch-forest-head h2 { margin-top: 0.4rem; font-size: clamp(2.2rem, 3.6vw, 3.4rem); letter-spacing: -0.01em; }
.ch-forest-head p:last-child { margin-top: 1rem; max-width: 40em; }
.ch-grass { width: clamp(110px, 12vw, 180px); height: auto; margin-right: 3vw; }

.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.4vw, 2.6rem);
  margin-top: 2.6rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
}
.cards3 .media { aspect-ratio: 470 / 224; }
.cards3 .rule { margin: 1.6rem 0 1.2rem; }
.cards3 h3 { font-size: clamp(1.6rem, 2.1vw, 2.1rem); }
.cards3 p { margin-top: 0.75rem; max-width: 24em; }

@media (max-width: 1000px) {
  .ch-intro { grid-template-columns: 1fr; }
  .ch-oak { display: none; }
  .ch-trio { grid-template-columns: 1fr; }
  .ch-trio .media { order: 3; }
  .cards3 { grid-template-columns: 1fr; gap: 3rem; }
  .ch-grass { display: none; }
}

/* ==========================================================
   Photo Gallery page
   ========================================================== */
.page-intro { position: relative; padding-top: 3rem; padding-bottom: 2.5rem; }
.page-intro .eyebrow { margin-top: 2.2rem; }
.page-intro h1 { margin-top: 0.5rem; font-size: clamp(2.4rem, 4vw, 3.8rem); letter-spacing: -0.01em; }
.page-intro p:not(.eyebrow) { margin-top: 1rem; max-width: 38em; }
.page-intro-sprig {
  position: absolute;
  right: calc(var(--gutter) + 3vw);
  bottom: 1.5rem;
  width: clamp(100px, 11vw, 170px);
  height: auto;
}

/* Rows of 4 equal photos (2 per row on phones) */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.4vw, 20px);
  padding-bottom: 5rem;
}
.gallery-item { margin: 0; aspect-ratio: 4 / 3; }
.gallery-item.media::before { font-size: 0.7rem; }
.gallery a { display: block; width: 100%; height: 100%; overflow: hidden; background: var(--placeholder); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.04); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(3.5rem, 6vh, 5rem) clamp(1rem, 6vw, 6rem) 1.5rem;
  border: 0;
  background: rgba(16, 26, 20, 0.94);
  color: var(--cream);
}
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.lightbox::backdrop { background: rgba(16, 26, 20, 0.6); }
.lightbox-img { max-width: 100%; max-height: calc(100vh - 9rem); width: auto; height: auto; object-fit: contain; }
.lightbox-caption { font-family: var(--serif); font-size: 1.3rem; text-align: center; color: var(--footer-link); }
.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(235, 221, 184, 0.35);
  border-radius: 50%;
  background: rgba(16, 26, 20, 0.5);
  color: var(--footer-link);
  font: 400 2rem/1 var(--serif);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lightbox-btn:hover, .lightbox-btn:focus-visible { background: var(--panel); border-color: var(--gold); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: clamp(0.5rem, 2vw, 1.5rem); top: 50%; translate: 0 -50%; }
.lightbox-next { right: clamp(0.5rem, 2vw, 1.5rem); top: 50%; translate: 0 -50%; }

@media (max-width: 700px) {
  .page-intro-sprig { display: none; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 1rem; translate: none; }
}

/* ==========================================================
   Shared page pieces (Menage, History, What's On)
   ========================================================== */

/* Picture beside introduction text */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}
.split--reverse .split-photo { order: 2; }
.split-photo { aspect-ratio: 4 / 3; }
.split-text .eyebrow { margin-top: 2rem; }
.split-text h1 { margin-top: 0.6rem; font-size: clamp(2.3rem, 3.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em; }
.split-text .lede { margin-top: 1.4rem; font-size: 1.12rem; }
.split-text p + p { margin-top: 1rem; }
.split-text p { max-width: 32em; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--green);
  text-decoration: none;
}
.text-link .arrow { width: 56px; }
.text-link:hover .arrow, .text-link:focus-visible .arrow { transform: translateX(6px); }

/* Gold-outlined button for use on green panels */
.btn--gold {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--cream);
}
.btn--gold:hover, .btn--gold:focus-visible { background: var(--gold); color: var(--footer); }

/* Strip of three pictures */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 28px);
  padding-bottom: 4.5rem;
}
.photo-strip .media { aspect-ratio: 4 / 3; }

/* Book now panel */
.book { background: var(--panel); color: var(--cream); padding: clamp(3rem, 6vw, 5rem) 0; }
.book-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 5rem);
}
.book .eyebrow { color: var(--gold); }
.book h2 { margin-top: 0.6rem; color: var(--cream); font-size: clamp(2rem, 3.2vw, 3rem); }
.book-intro p:not(.eyebrow) { margin-top: 1.2rem; max-width: 28em; color: rgba(245, 238, 223, 0.88); }
.book-intro .btn { margin-top: 2rem; }
.book-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem 2.5rem; margin: 0; }
.book-details div { padding-top: 1.1rem; border-top: 1px solid rgba(195, 161, 92, 0.5); }
.book-details dt { font-family: var(--serif); font-size: 1.4rem; color: var(--cream); }
.book-details dd { margin: 0.4rem 0 0; color: rgba(245, 238, 223, 0.82); }

/* Good to know */
.notes { padding-top: 4rem; padding-bottom: 4.5rem; }
.notes h2 { margin-top: 1.4rem; font-size: clamp(2rem, 3vw, 2.8rem); }
.notes-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); margin-top: 2rem; }
.notes-list h3 { font-size: 1.5rem; }
.notes-list p { margin-top: 0.5rem; }

/* History: long-form story */
.story { padding-top: 2rem; padding-bottom: 2.5rem; }
.story-text { max-width: 760px; margin-inline: auto; }
.story-text h2 { margin: 2.4rem 0 1rem; font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.story-text h2:first-child { margin-top: 0; }
.story-text p { font-size: 1.12rem; line-height: 1.8; }
.story-text p + p { margin-top: 1.1rem; }
.drop::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-family: var(--serif);
  font-size: 4.2em;
  line-height: 0.8;
  color: var(--green);
}
.story-figure { margin: 0.4rem 0 1.5rem; }
.story-figure--right { float: right; width: min(46%, 360px); margin-left: 2rem; margin-right: calc(-1 * clamp(0px, 8vw, 140px)); }
.story-figure .media { aspect-ratio: 4 / 5; }
.story-figure figcaption, .then-now figcaption {
  margin-top: 0.7rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--green-soft);
}
.story-text::after { content: ""; display: block; clear: both; }

.quote { padding: 2.5rem 0 3rem; text-align: center; }
.quote blockquote { max-width: 900px; margin: 2rem auto; }
.quote blockquote p { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.3; color: var(--green); }
.quote blockquote footer { margin-top: 1rem; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-soft); }

/* Timeline */
.timeline-section { padding-top: 2rem; padding-bottom: 3.5rem; max-width: calc(980px + var(--gutter) * 2); }
.timeline-section .eyebrow { margin-top: 1.6rem; }
.timeline-section h2 { margin-top: 0.4rem; font-size: clamp(2rem, 3vw, 2.8rem); }
.timeline { list-style: none; margin: 2.2rem 0 0; padding: 0; border-left: 1px solid var(--gold); }
.timeline li { position: relative; display: grid; grid-template-columns: 7rem 1fr; gap: 1.5rem; padding: 0 0 2rem 2rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.55rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--page);
  border: 1px solid var(--gold);
}
.timeline-date { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; color: var(--gold); }
.timeline h3 { font-size: 1.5rem; }
.timeline p { margin-top: 0.3rem; }

.then-now { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2.4vw, 32px); padding-bottom: 3.5rem; }
.then-now figure { margin: 0; }
.then-now .media { aspect-ratio: 4 / 3; }
.then-now strong { font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--sans); font-size: 0.8rem; margin-right: 0.5rem; color: var(--gold); }

/* What's On */
.events { padding-bottom: 4rem; }
.events-filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--green);
  font: 500 0.88rem/1 var(--sans);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--panel); border-color: var(--panel); color: var(--cream); }
.month-select select {
  padding: 0.55rem 2.2rem 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--page-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f4535' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
  color: var(--green);
  font: 500 0.88rem/1 var(--sans);
  appearance: none;
  cursor: pointer;
}
.events-note { margin-top: 1rem; font-size: 0.9rem; color: var(--green-soft); font-style: italic; }
.events-month { margin: 2.6rem 0 1rem; font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.event {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: var(--panel);
  color: var(--cream);
  text-transform: uppercase;
}
.event-date span { font-size: 0.75rem; letter-spacing: 0.18em; color: var(--gold); }
.event-date strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.event-meta { font-size: 0.85rem; letter-spacing: 0.06em; color: var(--green-soft); }
.event-type { color: var(--gold); font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; }
.event h3 { margin-top: 0.3rem; font-size: clamp(1.4rem, 2vw, 1.8rem); }
.event-body > p:not(.event-meta) { margin-top: 0.4rem; max-width: 46em; }
.event .text-link { margin-top: 0.6rem; font-size: 1.1rem; }
.events-empty { padding: 2rem 0; font-family: var(--serif); font-size: 1.3rem; color: var(--green-soft); }

/* Call-to-action band */
.cta { background: var(--panel); color: var(--cream); padding: 3rem 0; }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.cta h2 { color: var(--cream); font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.cta p { margin-top: 0.4rem; color: rgba(245, 238, 223, 0.85); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-photo { order: 0; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip .media:last-child { grid-column: span 2; aspect-ratio: 2 / 1; }
  .book-inner, .book-details, .notes-list { grid-template-columns: 1fr; }
  .story-figure--right { float: none; width: 100%; margin: 1.5rem 0; }
  .then-now { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 0.2rem; }
}
