/* Shared navigation, breadcrumbs, previous/next and footer.
   Loaded after each page's own styles, so these rules win. */

/* ---------- top bar ---------- */
.site-nav ul, .site-nav li { list-style: none; margin: 0; padding: 0; }
.site-nav .nav-inner { position: relative; }
.site-nav .nav-links { display: flex; align-items: center; gap: 1.6rem; }
.site-nav .nav-links > li > a { padding: .4rem 0; }
.site-nav .has-dropdown > a::after { content: ' ▾'; font-size: .7em; opacity: .6; }
.site-nav .nav-links > li > a[aria-current="page"],
.site-nav .nav-links > li.is-current > a { box-shadow: inset 0 -2px 0 var(--stone); }
.site-nav .nav-visit > a {
  border: 1px solid currentColor; border-radius: 3px; padding: .3rem .8rem !important;
}

/* ---------- dropdown panels ---------- */
.site-nav .has-dropdown { position: relative; }
.site-nav .has-dropdown.mega { position: static; }
.site-nav .dropdown-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 260px; padding: .7rem 0; margin-top: 0;
  background: #faf6f0; border: 1px solid var(--border, #d4c4aa); border-radius: 6px;
  box-shadow: 0 14px 34px rgba(44, 31, 18, .18); z-index: 400; text-align: left;
}
/* invisible bridge so the panel doesn't close when the pointer crosses the gap */
.site-nav .has-dropdown > a { position: relative; }
.site-nav .has-dropdown:hover > .dropdown-menu,
.site-nav .has-dropdown:focus-within > .dropdown-menu { display: block; }
.site-nav .dropdown-menu a,
.site-nav .dropdown-menu li a {
  display: block; padding: .42rem 1.3rem; white-space: normal;
  font-family: 'Crimson Pro', Georgia, serif; font-size: 1rem; font-weight: 400;
  letter-spacing: .01em; text-transform: none; line-height: 1.35;
  color: var(--earth-dark, #3d2e20) !important; text-decoration: none; border-radius: 3px;
}
.site-nav .dropdown-menu a:hover,
.site-nav .dropdown-menu a:focus { background: rgba(200, 184, 154, .22); }
.site-nav .dropdown-menu a[aria-current="page"] { font-weight: 600; background: rgba(200, 184, 154, .3); }

/* mega menus */
.site-nav .mega > .mega-menu {
  width: min(1060px, 96vw); padding: 1.4rem 1.2rem 1.2rem;
  grid-template-columns: repeat(4, 1fr); gap: 0 .6rem;
}
.site-nav .mega.mega-2 > .mega-menu { width: min(640px, 96vw); grid-template-columns: repeat(2, 1fr); }
.site-nav .mega:hover > .mega-menu,
.site-nav .mega:focus-within > .mega-menu { display: grid; }
.site-nav .mega-head {
  font-family: 'Crimson Pro', Georgia, serif; font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--stone-dark, #8a7560); margin: 0 0 .4rem 1.3rem;
  padding-bottom: .4rem; border-bottom: 1px solid var(--border, #d4c4aa);
}
.site-nav .mega-menu a { padding: .32rem 1.3rem; font-size: .97rem; }
.site-nav .mega-all a { font-style: italic; color: var(--stone-dark, #8a7560) !important; margin-top: .3rem; }

/* ---------- mobile drawer ---------- */
@media (max-width: 960px) {
  .site-nav .nav-links { gap: 1.1rem; }
}
@media (max-width: 860px) {
  .site-nav .nav-toggle { display: flex !important; }
  .site-nav .nav-inner { position: static; }
  .hero-cta a { min-width: 220px; text-align: center; }
  .site-nav .nav-links {
    display: none !important; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 62px); height: calc(100dvh - 62px);
    flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto;
    background: #faf6f0; padding: .5rem 0 3rem; border-top: 1px solid var(--border, #d4c4aa);
  }
  .site-nav .nav-links.open { display: flex !important; }
  .site-nav .nav-links > li > a {
    display: flex; justify-content: space-between; padding: .95rem 1.5rem !important;
    font-size: .95rem; color: var(--earth-dark, #3d2e20) !important; border-bottom: 1px solid rgba(200, 184, 154, .35);
  }
  .site-nav .has-dropdown > a::after { content: '+'; font-size: 1.2em; opacity: .6; }
  .site-nav .has-dropdown.mob-open > a::after { content: '−'; }
  .site-nav .nav-visit > a { border: 0; border-radius: 0; }
  .site-nav .has-dropdown:hover > .dropdown-menu,
  .site-nav .has-dropdown:focus-within > .dropdown-menu { display: none; }
  .site-nav .dropdown-menu,
  .site-nav .mega > .mega-menu {
    position: static; transform: none; width: auto; min-width: 0; display: none !important;
    box-shadow: none; border: 0; border-radius: 0; background: rgba(200, 184, 154, .12); padding: .4rem 0 .8rem;
  }
  .site-nav .has-dropdown.mob-open > .dropdown-menu { display: block !important; }
  .site-nav .mega-col { margin-top: .6rem; }
  .site-nav .dropdown-menu a { padding: .55rem 2.2rem !important; font-size: 1.02rem; }
  .site-nav .mega-head { margin-left: 2.2rem; margin-right: 1.5rem; }
  body.menu-open { overflow: hidden; }
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .5rem;
  font-family: 'Crimson Pro', Georgia, serif; font-size: .85rem; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(250, 246, 240, .7); margin-bottom: 1.1rem;
}
.breadcrumbs a { color: var(--stone, #c8b89a); text-decoration: none; border-bottom: 1px solid transparent; }
.breadcrumbs a:hover { border-bottom-color: currentColor; }
.breadcrumbs .sep { opacity: .55; }
.breadcrumbs [aria-current] { color: rgba(250, 246, 240, .85); }

/* ---------- previous / next ---------- */
.chapter-nav.pn {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center;
  max-width: 740px; margin: 0 auto; padding: 2rem 2.5rem 3rem; border-top: 1px solid var(--border, #d4c4aa);
}
.chapter-nav.pn a {
  text-decoration: none; color: var(--earth-dark, #3d2e20); font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem; line-height: 1.3; text-transform: none; letter-spacing: 0;
}
.chapter-nav.pn a small {
  display: block; font-family: 'Crimson Pro', Georgia, serif; font-size: .75rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--stone-dark, #8a7560); margin-bottom: .2rem;
}
.chapter-nav.pn .pn-prev small::before { content: '← '; }
.chapter-nav.pn .pn-next { text-align: right; }
.chapter-nav.pn .pn-next small::after { content: ' →'; }
.chapter-nav.pn .pn-up {
  font-family: 'Crimson Pro', Georgia, serif; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--stone-dark, #8a7560); border: 1px solid var(--border, #d4c4aa); border-radius: 3px; padding: .4rem .8rem;
}
.chapter-nav.pn a:hover { color: var(--earth, #6b5744); }
@media (max-width: 600px) {
  .chapter-nav.pn { grid-template-columns: 1fr 1fr; padding: 1.5rem 1.25rem 2.5rem; }
  .chapter-nav.pn .pn-up { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

/* ---------- footer ---------- */
footer.site-footer { background: var(--earth-dark, #3d2e20); color: rgba(250, 246, 240, .7); padding: 3.5rem 2.5rem 3rem; text-align: left; }
.site-footer .foot-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer .logo { font-family: 'Playfair Display', Georgia, serif; font-size: 1.2rem; color: #faf6f0 !important; text-decoration: none; display: block; margin-bottom: .6rem; }
.site-footer p { font-size: .9rem; line-height: 1.6; margin: 0 0 .6rem; }
.site-footer .foot-head { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stone, #c8b89a); margin-bottom: .7rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 .35rem; }
.site-footer a { color: rgba(250, 246, 240, .8); text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: #faf6f0; text-decoration: underline; }
@media (max-width: 760px) { .site-footer .foot-inner { grid-template-columns: 1fr 1fr; } .site-footer .foot-about { grid-column: 1 / -1; } }

/* ---------- small safety nets ---------- */
html, body { max-width: 100%; overflow-x: hidden; }
.chapter-body img { max-width: 100%; height: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: #faf6f0; padding: .6rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- home page: ways in, search, new research ---------- */
.home-paths { background: var(--cream, #faf6f0); padding: 3.2rem 2.5rem 3rem; border-bottom: 1px solid var(--border, #d4c4aa); }
.home-paths .paths-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.home-paths .path {
  display: block; text-decoration: none; color: var(--text, #2c2015); background: #fff8;
  border: 1px solid var(--border, #d4c4aa); border-top: 3px solid var(--stone, #c8b89a); border-radius: 4px;
  padding: 1.3rem 1.3rem 1.4rem; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.home-paths .path:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(44, 31, 18, .1); border-top-color: var(--earth, #6b5744); }
.home-paths .path-k { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stone-dark, #8a7560); margin-bottom: .45rem; }
.home-paths .path strong { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; font-weight: 600; color: var(--earth-dark, #3d2e20); margin-bottom: .35rem; line-height: 1.25; }
.home-paths .path span:last-child { display: block; font-size: .98rem; line-height: 1.5; color: var(--text-light, #6b5744); }
.home-search { max-width: 1200px; margin: 1.8rem auto 0; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.home-search label { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stone-dark, #8a7560); }
.home-search div { display: flex; flex: 1; min-width: 260px; max-width: 560px; }
.home-search input { flex: 1; font: inherit; font-size: 1.05rem; padding: .6rem .9rem; border: 1px solid var(--border, #d4c4aa); border-right: 0; border-radius: 3px 0 0 3px; background: #fff; color: var(--text, #2c2015); }
.home-search button { font: inherit; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; padding: 0 1.3rem; border: 0; border-radius: 0 3px 3px 0; background: var(--earth-dark, #3d2e20); color: #faf6f0; cursor: pointer; }
.home-search button:hover { background: var(--earth, #6b5744); }
@media (max-width: 900px) { .home-paths .paths-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .home-paths { padding: 2.2rem 1.25rem; } .home-paths .paths-inner { grid-template-columns: 1fr; } }

.new-research { background: var(--stone-light, #f0e8dc); padding: 5rem 2.5rem; }
.new-research .nr-inner { max-width: 1200px; margin: 0 auto; }
.new-research .sec-title { margin-bottom: 2rem; }
.new-research .nr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border, #d4c4aa); border: 1px solid var(--border, #d4c4aa); }
.new-research .nr-grid a { display: block; background: var(--cream, #faf6f0); padding: 1.5rem 1.6rem; text-decoration: none; color: var(--text, #2c2015); transition: background .2s; }
.new-research .nr-grid a:hover { background: #fff; }
.new-research .nr-grid strong { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; font-weight: 600; color: var(--earth-dark, #3d2e20); margin-bottom: .4rem; }
.new-research .nr-grid span { font-size: .98rem; line-height: 1.55; color: var(--text-light, #6b5744); }
@media (max-width: 900px) { .new-research .nr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .new-research { padding: 3.5rem 1.25rem; } .new-research .nr-grid { grid-template-columns: 1fr; } }
.chapters-grid { max-width: 100%; }
@media (max-width: 600px) { .chapters-grid { grid-template-columns: 1fr !important; } .chapter-card { padding: 1.6rem !important; } }

/* ---------- contents hub (chapters/index.html) ---------- */
.hub-hero { background: var(--earth-dark, #3d2e20); padding: 140px 2.5rem 4rem; color: #faf6f0; }
.hub-hero-inner { max-width: 900px; margin: 0 auto; }
.hub-hero h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.15; margin: 0 0 .8rem; color: #faf6f0; }
.hub-hero p { color: rgba(250, 246, 240, .78); font-size: 1.15rem; max-width: 640px; }
.hub { max-width: 900px; margin: 0 auto; padding: 3.5rem 2.5rem 4rem; }
.hub section { margin-bottom: 3.2rem; }
.hub h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.7rem; color: var(--earth-dark, #3d2e20); margin: 0 0 .6rem; }
.hub h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.2rem; font-style: italic; color: var(--earth, #6b5744); margin: 2rem 0 .5rem; }
.hub-intro { color: var(--text-light, #6b5744); margin-bottom: 1rem; }
.hub-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border, #d4c4aa); }
.hub-list li { border-bottom: 1px solid var(--border, #d4c4aa); }
.hub-list a { display: grid; grid-template-columns: 2.6rem 1fr auto; align-items: center; gap: .8rem; padding: .75rem .4rem; text-decoration: none; color: var(--text, #2c2015); transition: background .2s, padding .2s; }
.hub-list a:hover { background: rgba(200, 184, 154, .16); padding-left: .8rem; }
.hub-n { font-family: 'Playfair Display', Georgia, serif; color: var(--stone-dark, #8a7560); font-size: 1.05rem; text-align: right; }
.hub-t { font-size: 1.12rem; }
.hub-arrow { color: var(--stone-dark, #8a7560); }
@media (max-width: 560px) { .hub-hero { padding: 110px 1.25rem 3rem; } .hub { padding: 2.5rem 1.25rem 3rem; } }

/* ---------- forgiving hover: bridge the gap and keep menus open briefly ---------- */
@media (min-width: 861px) {
  .site-nav .mega > .mega-menu::before {
    content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
  }
  .site-nav .has-dropdown.hover-open > .dropdown-menu { display: block; }
  .site-nav .mega.hover-open > .mega-menu { display: grid; }
}

/* ---------- photos in chapters ---------- */
.chapter-body figure.photo { margin: 2rem auto; text-align: center; }
.chapter-body figure.photo img { max-width: 100%; height: auto; border-radius: 3px; box-shadow: 0 4px 18px rgba(44,31,18,.12); }
.chapter-body figure.photo.narrow img { max-width: 420px; width: 100%; }
.chapter-body figure.photo figcaption { font-size: .9rem; line-height: 1.5; color: var(--text-light, #6b5744); font-style: italic; margin-top: .6rem; }
.chapter-body .photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 2rem 0; align-items: start; }
.chapter-body .photo-row figure.photo { margin: 0; }
.chapter-body .photo-row img { width: 100% !important; height: 230px !important; object-fit: cover; }
.chapter-body .photo-row.contain img { object-fit: contain; background: #1c140c0a; }
.chapter-body figure.photo.float { float: right; width: 42%; margin: .3rem 0 1rem 1.6rem; }
@media (max-width: 640px) { .chapter-body figure.photo.float { float: none; width: auto; margin: 1.5rem 0; } }
.chapter-body h2 { clear: both; }

/* ---------- related reading ---------- */
.related { max-width: 740px; margin: 0 auto; padding: 0 2.5rem 1rem; }
.related h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.3rem; color: var(--earth-dark, #3d2e20); margin: 0 0 .8rem; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
@media (max-width: 560px) { .related ul { grid-template-columns: 1fr; } }
.related a { display: block; height: 100%; padding: .8rem 1rem; border: 1px solid var(--border, #d4c4aa); border-left: 3px solid var(--stone, #c8b89a); border-radius: 3px; text-decoration: none; color: var(--earth-dark, #3d2e20); font-size: 1rem; line-height: 1.35; background: #fff8; }
.related a small { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--stone-dark, #8a7560); margin-top: .2rem; }
.related a:hover { border-left-color: var(--earth, #6b5744); background: #fff; }
@media (max-width: 560px) { .related { padding: 0 1.25rem 1rem; } }

/* ---------- chapter kicker, byline, legacy figures ---------- */
.chapter-hero .chapter-kicker { font-size: .74rem !important; letter-spacing: .28em; text-transform: uppercase; color: var(--stone, #c8b89a) !important; margin: .4rem 0 .6rem !important; }
.chapter-body .byline { color: var(--text-light, #6b5744); margin-top: -.5rem; }
.chapter-body figure.photo figcaption em { font-style: italic; }
.chapter-body h2 + h2 { margin-top: 0; }
.chapter-body .tradition { border-left: 3px solid #b08a4a; background: rgba(176,138,74,.08); padding: .7rem 1rem; margin: 1.2rem 0; }
.chapter-body .tradition::before { content: "Local tradition"; display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #8a6a35; margin-bottom: .25rem; }
.start-here { background: #fffaf2; border: 1px solid var(--border, #d4c4aa); border-left: 4px solid var(--stone-dark, #8a7560); padding: .9rem 1.2rem; margin: 0 0 2rem; font-size: .98rem; line-height: 1.6; }
.start-here strong { color: var(--earth-dark, #3d2e20); }

/* ---------- name index, help list ---------- */
.names-jump { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.5rem; }
.names-jump a { display: inline-block; min-width: 2rem; text-align: center; padding: .25rem .4rem; border: 1px solid var(--border, #d4c4aa); text-decoration: none; color: var(--earth-dark, #3d2e20); font-family: 'Playfair Display', Georgia, serif; }
.names-jump a:hover { background: var(--stone, #c8b89a); color: #fff; }
.chapter-body dl.names { margin: 0 0 1.5rem; }
.chapter-body dl.names dt { font-weight: 600; color: var(--earth-dark, #3d2e20); margin-top: .7rem; }
.chapter-body dl.names dt small { font-weight: 400; color: var(--text-light, #6b5744); }
.chapter-body dl.names dd { margin: .1rem 0 0 1.2rem; font-size: .95rem; line-height: 1.55; }
.chapter-body ul.help-list li { margin-bottom: .9rem; line-height: 1.6; }
.chapter-body ul.help-list li a { font-size: .9rem; white-space: nowrap; }
.home-extra { max-width: 1100px; margin: .8rem auto 0; padding: 0 2.5rem; font-size: 1rem; color: var(--text-light, #6b5744); }
.home-extra a { color: var(--earth-dark, #3d2e20); }
.site-footer .foot-updated { font-size: .82rem; opacity: .7; margin-top: .3rem; }
.chapter-hero .chapter-hero-inner > p:not(.chapter-kicker) { color: rgba(255,255,255,.78) !important; font-size: 1.1rem; line-height: 1.6; max-width: 620px; }
.chapter-body .read-more { font-size: .95rem !important; margin: .2rem 0 1.5rem; padding-left: .8rem; border-left: 3px solid var(--stone, #c8b89a); }
.chapter-body .read-more a { color: var(--earth-dark, #3d2e20); }
.chapter-body .war-records { font-size: .9rem !important; margin: -.8rem 0 1.6rem !important; color: var(--text-light, #6b5744) !important; }
.chapter-body .war-records a, .chapter-body .war-records-note a { color: var(--earth-dark, #3d2e20); }
.chapter-body .war-records-note { font-size: .95rem !important; font-style: italic; color: var(--text-light, #6b5744) !important; }
.chapter-body .trail-leaflet { font-size: 1rem !important; padding: .7rem 1rem; background: rgba(200,184,154,.15); border-left: 3px solid var(--stone, #c8b89a); }
.chapter-body .trail-leaflet a { color: var(--earth-dark, #3d2e20); }
.chapter-body table.club-chairs { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0 0 1.5rem; }
.chapter-body table.club-chairs th, .chapter-body table.club-chairs td { text-align: left; vertical-align: top; padding: .45rem .5rem; border-bottom: 1px solid var(--border, #e2d8c8); }
.chapter-body table.club-chairs th { font-weight: 600; color: var(--earth-dark, #3d2e20); }
.chapter-body table.club-chairs a { color: var(--earth-dark, #3d2e20); }
@media (max-width: 600px) { .chapter-body table.club-chairs { font-size: .85rem; } .chapter-body table.club-chairs td:nth-child(3) { font-size: .8rem; } }
.chapter-body .lost-index { font-size: .95rem; line-height: 1.9; margin: 0 0 2rem; }
.chapter-body .lost-index a { color: var(--earth-dark, #3d2e20); }
.chapter-body .lost-card { border-top: 1px solid var(--border, #e2d8c8); padding-top: 1.6rem; margin-top: 2.2rem; }
.chapter-body .lost-card h2 { border-top: none !important; padding-top: 0 !important; margin-top: .3rem !important; }
.chapter-body .lost-kind { display: inline-block; font-size: .72rem !important; letter-spacing: .12em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 3px; margin: 0 !important; color: #fff !important; background: #6b5744; }
.chapter-body .lost-kind.k-gone { background: #7a4a3a; }
.chapter-body .lost-kind.k-changed { background: #3b6b8a; }
.chapter-body .lost-kind.k-ruin { background: #6b5f3a; }
.chapter-body .lost-kind.k-arch { background: #5b7a3a; }
.chapter-body .lost-kind.k-unknown { background: #777; }
.chapter-body dl.lost-facts { margin: 1rem 0; }
.chapter-body dl.lost-facts dt { font-weight: 600; color: var(--earth-dark, #3d2e20); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-top: .8rem; }
.chapter-body dl.lost-facts dd { margin: .2rem 0 0; font-size: 1rem; line-height: 1.7; }
.chapter-body .lost-src { font-size: .9rem !important; color: var(--text-light, #6b5744) !important; }
.chapter-body .lost-src a { color: var(--earth-dark, #3d2e20); }
.chapter-body .obj-card { display: grid; grid-template-columns: 220px 1fr; gap: 1.4rem; align-items: start; border-top: 1px solid var(--border, #e2d8c8); padding-top: 1.6rem; margin-top: 1.8rem; }
.chapter-body .obj-card figure.photo { margin: 0 !important; }
.chapter-body .obj-card img { width: 100%; height: auto; border-radius: 4px; }
.chapter-body .obj-card h2 { border-top: none !important; padding-top: 0 !important; margin: .1rem 0 .5rem !important; font-size: 1.45rem !important; }
.chapter-body .obj-num { font-size: .72rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-dark, #8a7458) !important; margin: 0 !important; }
.chapter-body .obj-meta { font-size: .92rem !important; color: var(--text-light, #6b5744) !important; margin-bottom: .7rem !important; }
.chapter-body .obj-src { font-size: .88rem !important; color: var(--text-light, #6b5744) !important; }
.chapter-body .obj-src a { color: var(--earth-dark, #3d2e20); }
@media (max-width: 640px) { .chapter-body .obj-card { grid-template-columns: 1fr; } .chapter-body .obj-card figure.photo { max-width: 320px; } }
.hh-mem { margin: .8rem 0 .6rem; padding: .6rem .9rem; background: rgba(200,184,154,.13); border-left: 3px solid var(--stone, #c8b89a); }
.hh-mem .hh-mem-head { font-size: .72rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-dark, #8a7458) !important; margin: 0 0 .3rem !important; }
.hh-mem blockquote { margin: .3rem 0 .2rem !important; padding: 0 !important; border: none !important; font-style: italic; font-size: .95rem !important; line-height: 1.6 !important; }
.hh-mem .hh-mem-who { font-size: .82rem !important; color: var(--text-light, #6b5744) !important; margin: 0 0 .5rem !important; }
.hh-mem a { color: var(--earth-dark, #3d2e20); }
.chapter-body figure.yard-plan { margin: 1.5rem 0 2rem; }
.chapter-body figure.yard-plan svg { width: 100%; height: auto; display: block; }
.chapter-body ol.yard-list li, .chapter-body ul.yard-list li { margin-bottom: .9rem; line-height: 1.7; }
.chapter-body .yard-list a { color: var(--earth-dark, #3d2e20); font-size: .92rem; }
@media (prefers-color-scheme: dark) { .chapter-body figure.yard-plan svg { --yard-ground: #e8e6d8; } }
.hh-card figure.hh-img { margin: .4rem 0 .7rem; }
.hh-card figure.hh-img img { width: 100%; height: auto; border-radius: 4px; display: block; }
.hh-card figure.hh-img figcaption { font-size: .8rem; color: var(--text-light, #6b5744); margin-top: .25rem; }

/* Click-to-enlarge photographs */
img.zoomable { cursor: zoom-in; }
.zoom-box { position: fixed; inset: 0; z-index: 10000; background: rgba(20, 18, 15, 0.92); display: none; align-items: center; justify-content: center; padding: 3rem 1rem 1rem; cursor: zoom-out; }
.zoom-box.open { display: flex; }
.zoom-box figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.zoom-box img { max-width: 100%; max-height: calc(100vh - 7rem); width: auto; height: auto; display: block; cursor: default; box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.zoom-box figcaption { color: #eee; font-size: 0.95rem; font-style: italic; text-align: center; max-width: 60rem; margin-top: 0.75rem; line-height: 1.4; }
.zoom-close { position: fixed; top: 0.5rem; right: 0.75rem; background: none; border: 0; color: #fff; font-size: 2.5rem; line-height: 1; cursor: pointer; padding: 0.25rem 0.6rem; }
.zoom-close:focus-visible { outline: 2px solid #fff; }
body.zoom-open { overflow: hidden; }
