/* ================================================================
   before1917.com — site.css
   Single shared stylesheet for all pages.
   EB Garamond throughout. Parchment + ink + terracotta.
   ================================================================ */

/* Force light mode — prevents OS dark-mode from inverting the page */
:root {
  color-scheme: light;

  /* ── Core palette ── */
  --ink:          #2a1f16;
  --ink-dim:      rgba(42, 31, 22, 0.52);
  --parchment:    #e8dcc0;
  --card-bg:      #f0e9d6;
  --accent:       #b04a28;
  --rule:         rgba(58, 42, 26, 0.30);

  /* ── Content block tokens ── */
  --block-bg:     rgba(240, 233, 210, 0.92);
  --block-border: rgba(58, 42, 26, 0.28);

  /* ── Spacing ── */
  --section-gap:  5.5rem;

  /* ── Layout measures ── */
  --measure:      660px;
  --wide:         960px;

  /* ── Typography ── */
  --serif:        'EB Garamond', Georgia, 'Times New Roman', serif;
}


/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.58;
  color: var(--ink);
  background-color: #f0e4d0; /* warm sandy parchment — lightest, most peach/red-tinted tone on page */
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
}

p { margin-bottom: 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }


/* ================================================================
   DESIGN TOKENS — UTILITY CLASSES
   ================================================================ */

/* ── Layout wrappers ── */
.wrap         { max-width: var(--wide);    margin: 0 auto; padding: 0 2rem; }
.wrap--narrow { max-width: var(--measure); margin: 0 auto; padding: 0 2rem; }

/* ── Eyebrow / small-caps label ── */
.eyebrow {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 0.45em;
}

/* ── Section eyebrow (alias, semantic name for section headers) ── */
.section-eyebrow {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 0.45em;
}


/* ================================================================
   NAVIGATION
   ================================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--rule);
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(242, 232, 212, 0.97); /* warm sandy tint, matches hero/body */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.site-nav__brand {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-nav__brand em {
  font-weight: 400;
  font-style: italic;
  color: rgba(42, 31, 22, 0.68);
}

.site-nav__links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.site-nav__links a {
  font-family: var(--serif);
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-nav__links a:hover { color: var(--accent); }

/* hamburger button — hidden on desktop */
.site-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  width: 28px;
  height: 28px;
}

.site-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}

/* animated X when open */
.site-nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ================================================================
   WAVE DIVIDER
   Inline SVG — full-width, gentle rolling band.
   ================================================================ */
.wave-divider {
  width: 100%;
  line-height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 52px;
}


/* ================================================================
   IMAGE CARD
   Off-white inset, thin dark rule, paper-on-parchment shadow.
   ================================================================ */
.img-card {
  background: var(--card-bg);
  border: 1px solid rgba(58, 42, 26, 0.25);
  box-shadow: 2px 3px 12px rgba(42, 31, 22, 0.14);
  padding: 8px 8px 0;
  border-radius: 1px;
  display: inline-block;
  width: 100%;
}

.img-card img {
  display: block;
  width: 100%;
  border-radius: 1px;
}

.img-card figcaption {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-align: center;
  padding: 0.5rem 0.25rem 0.45rem;
  line-height: 1.4;
}


/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-block;
  font-family: var(--serif);
  font-size: 0.85rem; /* locked: ~17px — same rendered size as 0.95rem@18px */
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.55em 1.5em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s;
}

.btn--fill {
  background: var(--accent);
  color: var(--parchment);
  border-color: var(--accent);
}
.btn--fill:hover { opacity: 0.85; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(58, 42, 26, 0.40);
}
.btn--ghost:hover { background: rgba(58, 42, 26, 0.06); }


/* ================================================================
   CONTENT BLOCK
   Card-backed section container. Semi-opaque parchment background,
   visible border, comfortable padding. Works for every fact-page
   section and can be used anywhere on any page.
   ================================================================ */
.content-block {
  background: var(--block-bg);
  border: 1px solid var(--block-border);
  border-radius: 2px;
  box-shadow: 1px 3px 10px rgba(42, 31, 22, 0.10);
  padding: 2rem 2.25rem;
  display: flow-root; /* contains floated children */
}

.content-block > .eyebrow,
.content-block > .section-eyebrow { display: block; margin-bottom: 0.4rem; }

.content-block__heading {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

/* Sub-heading inside a content block (e.g. secondary section) */
.content-block__subheading {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

/* paragraphs directly inside a content-block (not in a sub-grid) */
.content-block > p { max-width: 68ch; }
.content-block > p:last-child { margin-bottom: 0; }


/* ================================================================
   SECTION HEADER PATTERN
   Eyebrow label + h2 heading with consistent sizing.
   Use .section-eyebrow above the heading; heading is typically
   .content-block__heading inside a .content-block.
   ================================================================ */


/* ================================================================
   COLUMN LAYOUTS WITHIN A CONTENT BLOCK
   ================================================================ */
.cb-cols {
  display: grid;
  gap: 2rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.cb-cols--60-40 { grid-template-columns: 3fr 2fr; }
.cb-cols--equal { grid-template-columns: 1fr 1fr; }

/* ── Two-column body copy (generic, usable outside content blocks) ── */
.body-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 1.5rem;
}
.body-cols p { margin-bottom: 0; }

/* ── Feature image — full-width block, prose below ── */
.cb-feature-image {
  display: block;
  width: 100%;
  margin: 0 0 1.5rem;
}

/* ── Float-right figure — image sits right at ~72%, prose wraps left ── */
.fig-float-right {
  float: right;
  width: 72%;
  margin: 0 0 1.25rem 1.5rem;
  clear: right;
}

/* ── Two-column fact-page layout (legacy name preserved) ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 40%;
  gap: 2.5rem;
  align-items: start;
  max-width: var(--wide);
  margin: 0 auto 2.5rem;
  padding: 0 2rem;
}


/* ================================================================
   PULL-QUOTE / CALLOUT TREATMENT
   Left-border accent, italic, slightly larger text.
   ================================================================ */
.pull-quote,
.callout {
  border-left: 3px solid var(--accent);
  padding: 0.8rem 1.25rem;
  background: rgba(176, 74, 40, 0.05);
  border-radius: 0 2px 2px 0;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.pull-quote p,
.callout p {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}


/* ================================================================
   HERO
   Two-column grid: large text left, framed image right.
   Works for both the homepage hero and fact-page heroes.
   ================================================================ */
.hero {
  padding: 2rem 2rem 1.5rem;
  max-width: var(--wide);
  margin: 0 auto;
}

.hero__grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 2rem;
  align-items: stretch;
}

/* image wrapper — sits behind the overlapping copy block */
.hero__image-wrap {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
}

.hero__image-wrap .img-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero__image-wrap .img-card img {
  display: block;
  width: 100%;
  flex: 1;
  object-fit: cover;
}

/* separate caption frame below the painting */
.hero__caption {
  background: var(--card-bg);
  border: 1px solid rgba(58, 42, 26, 0.25);
  box-shadow: 1px 2px 6px rgba(42, 31, 22, 0.10);
  font-size: 0.60rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-align: center;
  padding: 0.4rem 0.75rem;
  margin-top: 0.5rem;
}

/* copy block overlaps the right edge of the painting */
.hero__copy {
  position: relative;
  z-index: 2;
  margin-left: -34px;
  padding: 2rem 1.5rem 2rem 44px;
  background-color: #f0e4d0; /* same as body — blends in, no visible card border effect */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__title {
  font-size: 3.4rem; /* locked: 68px — same rendered size as 3.8rem@18px */
  font-weight: 600;
  line-height: 1.02;
  margin-bottom: 0.6rem;
}

.hero__subtitle {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-dim);
  margin-bottom: 2rem;
  line-height: 1.4;
}

.hero__actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ── Fact-page hero (large title left, painting right) ── */
.fact-hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2.5rem 2rem 1.5rem;
}

.fact-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 0.75rem;
}

.fact-hero__copy { align-self: center; }

.fact-hero__title {
  font-size: 4.6rem;
  font-weight: 500;
  line-height: 1.0;
  margin: 0.35rem 0 1rem;
}

.fact-hero__subtitle {
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  max-width: 42ch;
}

/* constrain the hero painting height so a tall image doesn't flood the layout */
.fact-hero__painting img {
  max-height: 440px;
  width: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── Back link (fact pages) — legacy, superseded by .fact-top-nav ── */
.fact-back {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-decoration: none;
  margin-bottom: 0.75rem;
}
.fact-back:hover { color: var(--ink); }


/* ================================================================
   FACT PAGES — TOP THREE-SLOT NAVIGATION
   Previous (left) · Home (center) · Next (right)
   Replaces the standalone .fact-back link above each fact-hero.
   ================================================================ */
.fact-top-nav {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.85rem 2rem 0;
}

.fact-top-nav__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rule);
}

.fact-top-nav__slot {
  display: flex;
  flex-direction: column;
}

.fact-top-nav__slot--center {
  text-align: center;
  align-items: center;
}

.fact-top-nav__slot--right {
  text-align: right;
  align-items: flex-end;
}

.fact-top-nav__eyebrow {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 0.2rem;
}

.fact-top-nav__link {
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.3;
}

.fact-top-nav__link:hover { color: var(--accent); }


/* ================================================================
   HOMEPAGE — INTRO SECTION
   ================================================================ */
.intro {
  padding: 0 2rem 1rem;
  max-width: var(--wide);
  margin: 0 auto;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
  background: rgba(244, 237, 218, 0.72);
  border: 1px solid rgba(58, 42, 26, 0.12);
  border-radius: 2px;
  padding: 2rem;
}

.intro__text h2 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.intro__text p {
  font-size: 0.98rem;
}


/* ================================================================
   HOMEPAGE — FIVE FACTS GRID
   ================================================================ */
.facts {
  padding: 2rem 2rem 1.5rem; /* top padding = breathing room after frame band */
  max-width: var(--wide);
  margin: 0 auto;
  scroll-margin-top: 4rem; /* clears the sticky nav when #facts anchor fires */
}

.facts__heading {
  font-size: 1.9rem;
  text-align: center; /* centered horizontally */
  margin-bottom: 1.25rem;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}

/* ── Fact card ── */
.fact-card {
  background: var(--card-bg);
  border: 1px solid rgba(58, 42, 26, 0.22);
  box-shadow: 1px 2px 8px rgba(42, 31, 22, 0.12);
  border-radius: 2px;
  padding: 0.8rem 0.8rem 0.9rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.fact-card:hover {
  background-color: #ede5ce;
  border-color: rgba(58, 42, 26, 0.40);
  box-shadow: 2px 5px 16px rgba(42, 31, 22, 0.20);
}

/* Full-card link wrapper — inherits text styles, no browser defaults */
.fact-card__anchor {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.fact-card__text-area {
  display: flex;
  flex-direction: column;
  /* no flex:1 — image sits directly below title */
}

/* Large zero-padded number at top of each card */
.fact-card__num {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.fact-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  min-height: calc(1.25em * 2);
  margin-bottom: 0.5rem;
}

.fact-card__desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-dim);
  padding-top: 0.5rem; /* space between image and description */
  margin-bottom: 0.75rem;
  text-wrap: pretty;
}

.fact-card__thumb {
  border: 1px solid rgba(58, 42, 26, 0.18);
  border-radius: 1px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(220, 208, 183, 0.5);
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.fact-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* per-card image framing — each image has different important content area */
.facts-grid .fact-card:nth-child(3) .fact-card__thumb img {
  object-position: bottom center;
}

.facts-grid .fact-card:nth-child(5) .fact-card__thumb img {
  object-position: top center;
}

.fact-card__link {
  font-size: 1rem;
  color: var(--accent);
  text-decoration: none;
  margin-top: auto;
  display: block;
}
.fact-card__link:hover { opacity: 0.75; }


/* ================================================================
   HOMEPAGE — GENIZA QUOTE SECTION
   ================================================================ */
.geniza-section {
  padding: 0 2rem 1.5rem;
  max-width: var(--wide);
  margin: 0 auto;
}

.geniza-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
  background: rgba(244, 237, 218, 0.72);
  border: 1px solid rgba(58, 42, 26, 0.12);
  border-radius: 2px;
  padding: 2rem;
}

.geniza-quote {
  padding-top: 0.5rem;
}

.geniza-quote__mark {
  font-size: 4rem;
  line-height: 0.6;
  color: var(--ink-dim);
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--serif);
}

.geniza-quote blockquote {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.geniza-quote__attr {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 0.35rem;
  font-style: normal;
  display: block;
}

.geniza-quote__source {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink-dim);
}


/* ================================================================
   HOMEPAGE — TALK SECTION
   ================================================================ */
.talk-section {
  padding: 0 2rem 1rem;
  max-width: var(--wide);
  margin: 0 auto;
}

.talk-grid {
  background: rgba(244, 237, 218, 0.72);
  border: 1px solid rgba(58, 42, 26, 0.12);
  border-radius: 2px;
  padding: 2rem 2.5rem;
  max-width: var(--measure);
}

.talk-grid h2 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.talk-grid p {
  font-size: 0.98rem;
  margin-bottom: 1em;
}

.talk-grid .btn {
  margin-top: 0.5rem;
}


/* ================================================================
   HOMEPAGE — PULL-QUOTE SECTION (geniza / centred variant)
   ================================================================ */
.pull-quote-section {
  padding: 0 2rem 1.5rem;
  max-width: var(--wide);
  margin: 0 auto;
}

.pull-quote-inner {
  background: rgba(244, 237, 218, 0.72);
  border: 1px solid rgba(58, 42, 26, 0.12);
  border-radius: 2px;
  padding: 2.5rem 3rem;
  text-align: center;
}

.pull-quote__mark {
  font-size: 5rem;
  line-height: 0.5;
  color: rgba(42, 31, 22, 0.25);
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--serif);
}

.pull-quote__text {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 1.25rem;
  text-wrap: pretty;
}

.pull-quote__attr {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  font-style: normal;
}


/* ================================================================
   FACT PAGES — SHARED SECTION WRAPPER
   ================================================================ */
.fact-page { padding: 2.5rem 0 4rem; }

.fact-header {
  max-width: var(--measure);
  margin: 0 auto 2.5rem;
  padding: 0 2rem 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.fact-header h1 {
  font-size: 2.3rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.fact-header__subtitle {
  font-size: 1rem;
  font-style: italic;
  color: var(--ink-dim);
}

.fact-section {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 2rem var(--section-gap);
}

.full-card {
  max-width: var(--wide);
  margin: 0 auto 2.5rem;
  padding: 0 2rem;
}


/* ================================================================
   FACT PAGES — HORN PORTRAIT + QUOTE CARD
   Horizontal card: portrait left, large open-quote + text right.
   ================================================================ */
.horn-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.horn-card__portrait {
  /* inherits img-card border/shadow/padding */
}

.horn-card__right {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 8px; /* aligns quote text baseline with portrait image top */
}

.horn-card__openmark {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  font-family: var(--serif);
  pointer-events: none;
}

.horn-card__quote {
  font-size: 1rem;
  line-height: 1.6;
  font-style: normal;
  flex: 1;
  padding-left: 3rem; /* clears the absolute-positioned opening mark */
}

.horn-card__quote p { margin-bottom: 0.8em; }
.horn-card__quote p:last-child { margin-bottom: 0.75rem; }

.horn-card__quote strong em { font-weight: 600; }

.horn-card__attr {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border-top: 1px solid rgba(58, 42, 26, 0.18);
  padding-top: 0.6rem;
  line-height: 1.6;
}
.horn-card__attr em { font-style: italic; text-transform: none; letter-spacing: 0; }


/* ================================================================
   FACT PAGES — CLERMONT-TONNERRE PORTRAIT + QUOTE CARD
   Full-bleed horizontal split: portrait left, parchment quote right.
   ================================================================ */
.clermont-card {
  display: grid;
  grid-template-columns: 2fr 3fr;
  min-height: 340px;
  border: 1px solid rgba(58, 42, 26, 0.25);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 2px 3px 12px rgba(42, 31, 22, 0.14);
  margin-bottom: 2rem;
}

.clermont-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.clermont-card__quote-area {
  background-color: #ece3c9;
  background-image:
    linear-gradient(rgba(255, 248, 232, 0.48), rgba(255, 248, 232, 0.48)),
    url('Parchment%20background.jpg');
  background-repeat: repeat;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.clermont-card__quote-text {
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.38;
  margin-bottom: 1.25rem;
}

.clermont-card__rule {
  border: none;
  border-top: 1px solid rgba(58, 42, 26, 0.3);
  margin: 0 0 1rem;
}

.clermont-card__attr-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.clermont-card__attr-source {
  display: block;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ink-dim);
  line-height: 1.4;
}


/* ================================================================
   FACT PAGES — UN TABLE IMAGES GRID
   Two table images side by side.
   ================================================================ */
.un-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

/* Ensure bottom border is visible when there's no figcaption */
.un-images .img-card {
  padding-bottom: 8px;
}

/* ── Composite table pair — two images flush inside one img-card frame ── */
.un-table-pair {
  display: flex;
  gap: 0;
}

.un-table-pair img {
  width: 50%;
  border-radius: 0; /* no individual corners — the outer img-card provides them */
}

/* Standalone figures (direct children of content-block, e.g. Clermont composite) */
.content-block > figure.img-card {
  padding-bottom: 8px;
  margin-bottom: 1.5rem;
}


/* ================================================================
   FACT PAGES — STYLED BULLET LIST (.fact-list)
   Accent-coloured ✦ marker. Reusable across fact pages.
   ================================================================ */
.fact-list {
  list-style: none;
  padding-left: 0;
  margin: 1.25rem 0 1.5rem;
}

.fact-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  line-height: 1.55;
}

.fact-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--accent);
  font-size: 0.72em;
}


/* ================================================================
   FACT PAGES — DATA TABLE (.fact-table)
   Parchment background, small-caps headers, row separators,
   border on all four sides. Reusable across all fact pages.
   ================================================================ */
.fact-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--block-border);
  border-radius: 2px;
  background: var(--card-bg);
  font-family: var(--serif);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 1.25rem 0 1.5rem;
}

.fact-table th {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 500;
  font-family: var(--serif);
  text-align: left;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--block-border);
  background: rgba(58, 42, 26, 0.05);
}

.fact-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(58, 42, 26, 0.12);
  vertical-align: top;
}

.fact-table tr:last-child td {
  border-bottom: none;
}

/* Column type helpers */
.fact-table .td-event { font-weight: 600; }
.fact-table .td-meta  { color: var(--ink-dim); font-size: 0.85rem; }


/* ================================================================
   FACT PAGES — FOOTNOTE PARAGRAPH
   Smaller, italic, dimmer. Separation line above.
   ================================================================ */
.fact-footnote {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-dim);
  border-top: 1px solid rgba(58, 42, 26, 0.15);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}


/* ================================================================
   FACT PAGES — SECTION CONCLUSION
   Full-width italic closing line.
   ================================================================ */
.section-conclusion {
  font-size: 1.05rem;
  font-style: italic;
  border-top: 1px solid rgba(58, 42, 26, 0.15);
  padding-top: 1rem;
  margin-top: 0;
  margin-bottom: 0;
}


/* ================================================================
   FACT PAGES — PAYOFF LINE
   Large centred italic statement, bordered above and below.
   ================================================================ */
.payoff-line {
  text-align: center;
  padding: 2.25rem 1rem;
  margin: 1.25rem 0;
  border-top: 1px solid rgba(58, 42, 26, 0.2);
  border-bottom: 1px solid rgba(58, 42, 26, 0.2);
}

.payoff-line p {
  font-size: 2.6rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}


/* ================================================================
   FACT PAGES — NEXT-FACT NAVIGATION
   ================================================================ */
.fact-next-nav {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2rem 2rem 2.5rem;
  border-top: 2px solid rgba(58, 42, 26, 0.18);
}

.fact-next-nav .eyebrow { display: block; margin-bottom: 0.6rem; }

.fact-next-nav__link {
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  line-height: 1.2;
}

.fact-next-nav__link:hover { color: var(--accent); }

.fact-next-nav__arrow {
  flex-shrink: 0;
  font-size: 1.8rem;
}


/* ================================================================
   FACT PAGES — NEXT-FACT BAND (slim red CTA variant)
   Replaces .fact-next-nav. Full-bleed clay-red band with map
   texture; eyebrow left, page title + arrow right.
   ================================================================ */
.fact-next-band {
  background-color: #8c2a12;
  background-image:
    linear-gradient(rgba(110, 28, 8, 0.30), rgba(110, 28, 8, 0.30)),
    url('Map%20band.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 1.1rem 2rem;
}

.fact-next-band__inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.fact-next-band__link {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--parchment);
}

.fact-next-band__link:hover { opacity: 0.85; }

.fact-next-band__link span:first-child {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.2;
}

.fact-next-band__arrow {
  font-size: 1.35rem;
  flex-shrink: 0;
}


/* ================================================================
   ACCORDIONS (shared utility)
   ================================================================ */
details.accordion {
  border: 1px solid var(--rule);
  border-radius: 2px;
  margin-top: 1.25rem;
  background: var(--card-bg);
}

details.accordion summary {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 0.75rem 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.accordion summary::after { content: '+'; font-size: 1rem; color: var(--accent); }
details.accordion[open] summary::after { content: '−'; }
details.accordion summary::-webkit-details-marker { display: none; }

.accordion__body {
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.88rem;
  line-height: 1.5;
  border-top: 1px solid var(--rule);
}

.accordion__body ul { padding-left: 1.25rem; margin-top: 0.5rem; }
.accordion__body li { margin-bottom: 0.4em; }


/* ================================================================
   PLACEHOLDER CARD (missing images)
   ================================================================ */
.placeholder-card {
  background: var(--card-bg);
  border: 1px solid rgba(58, 42, 26, 0.22);
  border-radius: 2px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  box-shadow: 1px 2px 8px rgba(42, 31, 22, 0.1);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  line-height: 1.5;
}


/* ================================================================
   FOOTER — Black bar with nav links and social icons
   ================================================================ */
footer {
  background: #120d07;
  padding: 0.9rem 2rem;
}

.site-footer__inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  justify-content: center; /* social icons removed — links centered */
  align-items: center;
}

.site-footer__links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.site-footer__links a {
  font-family: var(--serif);
  font-size: 0.58rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(232, 220, 192, 0.55);
  text-decoration: none;
}

.site-footer__links a:hover { color: rgba(232, 220, 192, 0.95); }

.site-footer__social {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.site-footer__social-link {
  width: 27px;
  height: 27px;
  border: 1px solid rgba(232, 220, 192, 0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(232, 220, 192, 0.55);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}

.site-footer__social-link:hover {
  color: rgba(232, 220, 192, 0.95);
  border-color: rgba(232, 220, 192, 0.65);
}

.site-footer__social-link svg {
  width: 12px;
  height: 12px;
  display: block;
}


/* ================================================================
   HOMEPAGE HERO — REVISED COPY ELEMENTS
   Eyebrow (accent), body paragraph, emphasis paragraph, lead.
   ================================================================ */
.hero__eyebrow {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.hero__body {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 0.9em;
  max-width: 46ch;
}

.hero__emphasis {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
  max-width: 44ch;
  margin-bottom: 1.75rem;
}

/* Booking-page hero: terracotta italic secondary heading */
.hero__lead {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--accent);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  max-width: 44ch;
}


/* ================================================================
   FRAME BAND
   Three-column comparison strip. Full-bleed, flat dusty-rose
   background — no texture. Homepage + reusable.
   ================================================================ */
.frame-band {
  background-color: #e8c8b0; /* lighter sandy-rose — warmer than before, not mauve */
  background-image: none; /* explicitly flat — no texture bleed */
  border-top: 1px solid rgba(130, 65, 35, 0.40);
  border-bottom: 1px solid rgba(130, 65, 35, 0.40);
  padding: 1.4rem 2rem; /* slim divider strip, not a full section */
}

.frame-band__inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto; /* icon · eyebrow · body — shared across all three cols */
  align-items: start;
}

.frame-band__col {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  text-align: center;
  padding: 0.5rem 2.5rem;
}

.frame-band__col + .frame-band__col {
  border-left: 1px solid rgba(58, 42, 26, 0.20);
}

.frame-band__icon {
  display: block;
  margin: 0 auto 0.9rem;
  width: 36px;
  height: 36px;
  color: var(--accent);
}

.frame-band__icon svg {
  width: 36px;
  height: 36px;
}

.frame-band__eyebrow {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #5a1e08; /* deep brown-red — strong contrast on dusty-rose */
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.frame-band__body {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}


/* ================================================================
   TALK PITCH SECTION
   Two-column: talk description left, audience-list panel right.
   ================================================================ */
.talk-pitch {
  /* full-bleed section — background creates visual break from facts above */
  background-color: var(--parchment); /* #e8dcc0 — slightly cooler/neutral, distinct from warm hero */
  border-top: 1px solid rgba(58, 42, 26, 0.18);
  border-bottom: 1px solid rgba(58, 42, 26, 0.18);
  padding: 2rem 2rem;
}

.talk-pitch__grid {
  max-width: var(--wide); /* centering moved here so section itself is full-bleed */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50/50 */
  gap: 3rem;
  align-items: start;
}

.talk-pitch__left h2 {
  font-size: 1.9rem; /* locked: ~38px — same rendered size as 2.1rem@18px */
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.talk-pitch__left p {
  font-size: 0.95rem;
  margin-bottom: 1em;
}

.talk-pitch__left .btn { margin-top: 0.5rem; }


/* ================================================================
   AUDIENCE LIST
   Bordered panel with icon + two-line text items.
   Used in .talk-pitch (homepage) and booking-page details column.
   ================================================================ */
.audience-list {
  background: var(--block-bg);
  border: 1px solid var(--block-border);
  border-radius: 2px;
  box-shadow: 1px 3px 10px rgba(42, 31, 22, 0.10);
  padding: 1.75rem 2rem;
}

.audience-list__heading {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.audience-list__items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.audience-list__item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.audience-list__icon {
  color: var(--accent);
  display: block;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  flex-shrink: 0;
}

.audience-list__icon svg {
  width: 26px;
  height: 26px;
}

.audience-list__label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
  margin-bottom: 0.12rem;
}

.audience-list__desc {
  display: block;
  font-size: 0.80rem;
  color: var(--ink-dim);
  font-style: italic;
  line-height: 1.45;
}


/* ================================================================
   CTA BAND
   Full-width accent-color band with texture overlay. Centered
   heading, subtext, optional contact line, button(s).
   ================================================================ */
.cta-band {
  background-color: #8c2a12; /* deep clay-red base */
  background-image:
    linear-gradient(rgba(110, 28, 8, 0.30), rgba(110, 28, 8, 0.30)),
    url('Map%20band.jpg'); /* 0.30 opacity — map texture clearly visible */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 1.75rem 2rem; /* tighter — a horizontal stripe, not a full section */
  text-align: center;
}

.cta-band__inner {
  max-width: var(--measure);
  margin: 0 auto;
}

.cta-band__heading {
  font-size: 2rem; /* locked: ~40px — same rendered size as 2.2rem@18px */
  font-weight: 500;
  line-height: 1.2;
  color: var(--parchment);
  margin-bottom: 0.6rem;
}

.cta-band__sub {
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(232, 220, 192, 0.80);
  line-height: 1.55;
  margin-bottom: 0;
}

.cta-band__contact {
  font-size: 0.9rem;
  color: rgba(232, 220, 192, 0.90);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.cta-band__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.cta-band__note {
  display: block;
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(232, 220, 192, 0.60);
  margin-top: 1rem;
}

/* Buttons on dark background */
.cta-band .btn--fill {
  background: var(--parchment);
  color: var(--accent);
  border-color: var(--parchment);
}
.cta-band .btn--fill:hover { opacity: 0.88; }

.cta-band .btn--ghost {
  color: var(--parchment);
  border-color: rgba(232, 220, 192, 0.50);
}
.cta-band .btn--ghost:hover { background: rgba(232, 220, 192, 0.12); }


/* ================================================================
   ABOUT PANEL
   Three-column layout: author photo · about text · quote.
   Used on homepage and booking page (duplicate HTML each time).
   ================================================================ */
.about-panel {
  padding: 2rem 2rem 2.5rem;
  max-width: var(--wide);
  margin: 0 auto;
}

/* Two peer columns — no shared container background */
.about-panel__grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Ensure bottom border is visible (no caption = image flush to bottom) */
.about-panel__photo {
  padding-bottom: 8px;
}

/* Square crop — fixed-ratio portrait of Ed */
.about-panel__photo img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  width: 100%;
  display: block;
}

.about-panel__text .eyebrow {
  margin-bottom: 0.6rem;
}

/* Presenter heading — standard serif h2 treatment, sized for this section */
.about-panel__heading {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

/* Inline links in bio — accent color, underline */
.about-panel__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.about-panel__text a:hover { opacity: 0.78; }

/* Inline source / citation links within fact-page content */
.fact-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fact-link:hover { opacity: 0.78; }

.about-panel__text p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.85em;
}

.about-panel__text p:last-child { margin-bottom: 0; }


/* ================================================================
   BOOKING STRIP
   Four-column icon strip. Same parchment background as .frame-band.
   Used on the booking page below the hero.
   ================================================================ */
.booking-strip {
  background-color: #e8c8b0; /* same sandy-rose as .frame-band — visually identical strips */
  background-image: none; /* explicitly flat — no texture bleed */
  border-top: 1px solid rgba(130, 65, 35, 0.40);
  border-bottom: 1px solid rgba(130, 65, 35, 0.40);
  padding: 1.4rem 2rem; /* slim, same as frame-band */
}

.booking-strip__inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.booking-strip__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 1.5rem;
}

.booking-strip__item + .booking-strip__item {
  border-left: 1px solid rgba(58, 42, 26, 0.20);
}

.booking-strip__icon {
  display: block;
  width: 26px;
  height: 26px;
  color: var(--accent);
  flex-shrink: 0;
}

.booking-strip__icon svg {
  width: 26px;
  height: 26px;
}

.booking-strip__text {
  display: block;
}

.booking-strip__label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #5a1e08; /* deep brown-red — strong contrast on dusty-rose */
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.booking-strip__value {
  display: block;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--ink);
}


/* ================================================================
   BOOKING PAGE — TALK DETAILS
   Two-column: content-block (left) + audience-list panel (right).
   ================================================================ */
.booking-details {
  padding: 1.75rem 2rem 1.5rem; /* top padding creates clear gap after icon strip */
  max-width: var(--wide);
  margin: 0 auto;
}

.booking-details__grid {
  display: grid;
  grid-template-columns: 2fr 1fr; /* ~65/35 — left content wider, right a sidebar */
  gap: 2rem;
  align-items: stretch; /* both boxes fill equal vertical height */
}

.booking-details__divider {
  border: none;
  border-top: 1px solid rgba(58, 42, 26, 0.20);
  margin: 1.5rem 0;
}


/* ================================================================
   FACT 3 — OTTOMAN LAND CATEGORIES GRID
   Five equal-width static info cards. No links, no numbers.
   Desktop: 5 columns | Tablet: 3 columns | Mobile: 2 col → 1 col
   ================================================================ */
.land-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.land-card {
  background: var(--card-bg);
  border: 1px solid var(--block-border);
  border-radius: 2px;
  box-shadow: 1px 2px 8px rgba(42, 31, 22, 0.10);
  padding: 1rem 1.1rem 1.25rem;
}

.land-card__name {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.45rem;
  color: var(--accent);
}

.land-card p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}


/* ================================================================
   FACT 3 — VERTICAL TIMELINE
   Left-spine + dated entries. Two-column on desktop, stacked on mobile.
   ================================================================ */
.timeline {
  margin: 1.5rem 0 1rem;
  padding-left: 1.75rem;
  border-left: 2px solid rgba(58, 42, 26, 0.22);
}

.timeline__entry {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.25rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(58, 42, 26, 0.12);
  align-items: baseline;
  position: relative;
}

.timeline__entry:last-child { border-bottom: none; }

/* dot marker on the spine */
.timeline__entry::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 1.15rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline__date {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent);
  line-height: 1.4;
}

.timeline__desc {
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}


/* ================================================================
   RESPONSIVE — TABLET / MOBILE  (≤ 800px)
   ================================================================ */
@media (max-width: 800px) {
  html { font-size: 18px; }

  /* ── Nav: show hamburger, collapse inline links ── */
  .site-nav__hamburger { display: flex; }

  .site-nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(242, 232, 212, 0.98); /* warm sandy, matches nav */
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem 0;
    list-style: none;
  }

  .site-nav__links.is-open { display: flex; }

  .site-nav__links li a {
    display: block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(58, 42, 26, 0.1);
  }

  .site-nav__links li:last-child a { border-bottom: none; }

  /* ── Homepage hero ── */
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero__title { font-size: 2.6rem; }

  /* reset editorial overlap — no overlap on single-column mobile */
  .hero__copy {
    margin-left: 0;
    padding-left: 1.5rem;
  }

  /* prevent the hero painting from flooding the full screen on mobile */
  .hero__image-wrap img,
  .hero__image img {
    max-height: 62vh;
    object-fit: cover;
    object-position: center;
  }

  /* ── Intro grid ── */
  .intro__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .intro__grid figure { order: -1; }

  /* ── Facts grid: 2-col on tablet, all cards same size ── */
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fact-card__title { min-height: 0; }

  /* ── Geniza grid ── */
  .geniza-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  /* keep geniza image from dominating on mobile */
  .geniza-grid .img-card img {
    max-height: 320px;
    object-fit: cover;
    object-position: top;
  }

  /* ── Feature image — full width on mobile ── */
  .cb-feature-image {
    width: 100%;
  }

  /* ── Float figures — collapse to full width on mobile ── */
  .fig-float-right {
    float: none;
    width: 100%;
    margin: 0 0 1.25rem;
  }

  /* ── Legacy two-col ── */
  .two-col { grid-template-columns: 1fr; }

  /* ── Fact-page hero ── */
  .fact-hero { padding: 2rem 1rem 1rem; }
  .fact-hero__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .fact-hero__title { font-size: 3rem; }
  .fact-hero__painting img { max-height: 55vw; }

  /* ── Fact-page sections ── */
  .fact-section { padding: 0 1rem 4.5rem; }
  .content-block { padding: 1.25rem 1.25rem; }
  .content-block__heading { font-size: 1.6rem; }

  /* ── Column layouts ── */
  .cb-cols--60-40,
  .cb-cols--equal,
  .body-cols { grid-template-columns: 1fr; gap: 1.5rem; }

  /* ── Horn card ── */
  .horn-card { grid-template-columns: 1fr; }
  .horn-card__portrait { max-width: 220px; }

  /* ── UN images ── */
  .un-images { grid-template-columns: 1fr; }

  /* ── Clermont card ── */
  .clermont-card { grid-template-columns: 1fr; min-height: 0; }
  .clermont-card__img { max-height: 260px; width: 100%; }

  /* ── Payoff line ── */
  .payoff-line p { font-size: 1.8rem; }

  /* ── Next-fact nav ── */
  .fact-next-nav__link { font-size: 1.4rem; }

  /* ── Top fact nav ── */
  .fact-top-nav { padding: 0.65rem 1rem 0; }
  .fact-top-nav__inner { grid-template-columns: 1fr 1fr; }
  .fact-top-nav__slot--left  { order: 1; }
  .fact-top-nav__slot--right { order: 2; text-align: right; align-items: flex-end; }
  .fact-top-nav__slot--center {
    order: 3;
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
    border-top: 1px solid var(--rule);
    padding-top: 0.45rem;
    margin-top: 0.35rem;
  }

  /* ── Next-fact band ── */
  .fact-next-band { padding: 1rem 1.5rem; }
  .fact-next-band__inner { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .fact-next-band__link span:first-child { font-size: 1.25rem; }

  /* ── Frame band ── */
  .frame-band { padding: 1.75rem 1rem; }
  .frame-band__inner { grid-template-columns: 1fr; }
  .frame-band__col { padding: 1.25rem 1.5rem; }
  .frame-band__col + .frame-band__col {
    border-left: none;
    border-top: 1px solid rgba(58, 42, 26, 0.20);
  }

  /* ── Talk pitch ── */
  .talk-pitch { padding: 1.5rem 1rem; } /* keep full-bleed background, tighten side padding */
  .talk-pitch__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .talk-pitch__left h2 { font-size: 1.7rem; }

  /* ── Audience list ── */
  .audience-list { padding: 1.25rem 1.25rem; }

  /* ── CTA band ── */
  .cta-band { padding: 2.5rem 1.5rem; }
  .cta-band__heading { font-size: 1.7rem; }

  /* ── About panel ── */
  .about-panel { padding: 1.5rem 1rem 1.5rem; }
  .about-panel__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-panel__photo { max-width: 180px; }

  /* ── Footer ── */
  .site-footer__inner { flex-direction: column; gap: 0.75rem; }
  .site-footer__links { gap: 1rem; flex-wrap: wrap; justify-content: center; }

  /* ── Booking strip ── */
  .booking-strip { padding: 1.25rem 1rem; }
  .booking-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .booking-strip__item { padding: 0.75rem 1rem; }
  .booking-strip__item + .booking-strip__item { border-left: none; }
  .booking-strip__item:nth-child(2n) { border-left: 1px solid rgba(58, 42, 26, 0.20); }
  .booking-strip__item:nth-child(3),
  .booking-strip__item:nth-child(4) { border-top: 1px solid rgba(58, 42, 26, 0.20); }

  /* ── Booking details ── */
  .booking-details { padding: 0 1rem 1rem; }
  .booking-details__grid { grid-template-columns: 1fr; }

  /* ── Fact 3: land categories grid ── */
  .land-grid { grid-template-columns: repeat(3, 1fr); }

  /* ── Fact 3: timeline ── */
  .timeline { padding-left: 1.25rem; }
  .timeline__entry { grid-template-columns: 1fr; gap: 0.2rem; }
  .timeline__entry::before { left: -1.55rem; }
  .timeline__date { font-size: 0.82rem; }
}


/* ================================================================
   RESPONSIVE — SMALL MOBILE  (≤ 480px)
   ================================================================ */
@media (max-width: 480px) {
  .facts-grid { grid-template-columns: 1fr; }
  .booking-strip__inner { grid-template-columns: 1fr; }
  .booking-strip__item:nth-child(n) { border-left: none; border-top: none; }
  .booking-strip__item + .booking-strip__item { border-top: 1px solid rgba(58,42,26,0.20); }

  /* ── Fact 3: land categories grid ── */
  .land-grid { grid-template-columns: repeat(2, 1fr); }
}
