/* ============================================
   CHURCHES TO VISIT — Main Stylesheet
   Revised 2 September 2026 after the full audit.
   Changes are marked [audit Xnn] against the finding they close.
   ============================================ */

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

:root {
  --stone-dark:  #23282e;
  --stone-mid:   #3b4650;
  --stone-light: #6b7681;   /* light grounds only — 4.63:1 on white */
  --on-dark:     #9aa4ae;   /* [audit T-13] muted text ON dark — 5.86:1 on stone-dark */
  --gold:        #7d5a17;   /* [audit T-13] text/link gold — 6.27:1 white, 5.87:1 parchment */
  --gold-hover:  #5c400c;   /* [audit T-13] link hover on light grounds */
  --gold-light:  #c9a227;   /* accent ON dark grounds only — 6.14:1 on stone-dark */
  --gold-rule:   #a67c2e;   /* the original gold, now decorative borders only */
  --gold-pale:   #f6efdd;
  --parchment:   #faf7f1;
  --parch-dark:  #efe9dc;
  --text:        #23282e;
  --text-light:  #5d6670;
  --white:       #ffffff;
  --border:      #d8cfbe;
  --shadow:      rgba(35,40,46,0.15);
  --max-width:   1140px;
  --header-h:    76px;      /* [audit U-05] sidebar offset reads this, not a magic 90px.
                              Re-measured 4 Sep 2026 after the base type went up:
                              the header is 76px wide-screen, 68px below 620px. */
}

/* [audit U-06] the layout used to stop adapting at 900px; large displays
   now get a wider measure and larger photographs. */
@media (min-width: 1400px) { :root { --max-width: 1320px; } }

/* [4 Sep 2026] Base type raised a step, 16px -> 17.5px, on the owner's
   reading of the expanded guides. Every other size on the site is in rem
   or em, so this one value moves the whole scale together; the only
   things that do not follow are the vw terms inside clamp(), which is
   what we want — the headings should not grow on a phone. */
html { scroll-behavior: smooth; font-size: 17.5px; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--parchment);
  color: var(--text);
  line-height: 1.7;
}

/* [audit T-18] honour the OS setting */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --- Typography --- */
h1, h2, h3, h4 { font-family: Georgia, serif; color: var(--stone-dark); line-height: 1.3; }
h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; text-wrap: balance; }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); margin: 2rem 0 .8rem; border-bottom: 2px solid var(--gold-rule); padding-bottom: .4rem; text-wrap: balance; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin: 1.4rem 0 .6rem; color: var(--stone-mid); }
h4 { font-size: 1rem; color: var(--stone-light); margin-bottom: .4rem; }
h2, h3 { clear: both; scroll-margin-top: calc(var(--header-h) + 16px); }

p { margin-bottom: 1rem; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); text-decoration: underline; }
ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: .35rem; }
strong { color: var(--stone-dark); }
hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* [audit T-15] links in prose must not rely on colour alone */
.content-body p a,
.content-body li a,
.standfirst a,
figcaption a,
.fact-box a, .tip-box a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.content-body p a:hover, .content-body li a:hover, figcaption a:hover {
  text-decoration-thickness: 2px;
}

/* [audit T-14] a visible focus state everywhere — there were none at all */
:focus-visible {
  outline: 3px solid var(--gold-hover);
  outline-offset: 2px;
  border-radius: 2px;
}
.site-header :focus-visible, .site-footer :focus-visible, .lightbox-overlay :focus-visible {
  outline-color: var(--gold-light);
}

/* [audit T-03] skip link — the first 13 tab stops used to be chrome */
.skip-link {
  position: absolute; left: 0; top: 0; z-index: 300;
  background: var(--stone-dark); color: var(--white);
  padding: .7rem 1.2rem; font-size: .95rem;
  transform: translateY(-120%);
}
.skip-link:focus { transform: translateY(0); text-decoration: none; color: var(--white); }

/* --- Layout --- */
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; width: 100%; }
.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .content-grid { grid-template-columns: minmax(0,1fr); } }

/* --- Banner --- */
.site-banner { display: block; background: var(--stone-dark); line-height: 0; }
.site-banner img {
  width: 100%; height: auto; max-height: 190px;
  object-fit: cover; object-position: center 55%; display: block;
}
@media (max-width: 760px) { .site-banner img { max-height: 110px; } }
@media (max-width: 480px) { .site-banner img { max-height: 78px; } }

/* --- Header --- */
.site-header {
  background: var(--stone-dark);
  border-top: 3px solid var(--gold-rule);
  border-bottom: 1px solid #000;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px var(--shadow);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .45rem 1.25rem; flex-wrap: wrap; }
.site-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.site-logo:hover { text-decoration: none; }
.logo-icon { font-size: 1.6rem; color: var(--gold-light); }
.logo-text .main { display: block; color: var(--white); font-size: 1.15rem; font-weight: 700; letter-spacing: .01em; }
.logo-text .sub { display: block; color: var(--on-dark); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
/* [audit U-10] the strapline used to wrap to two lines on a phone and push
   the menu button onto a row of its own */
@media (max-width: 620px) {
  :root { --header-h: 68px; } .logo-text .sub { display: none; } }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--on-dark); color: var(--white);
  font-size: 1.2rem; padding: .45rem .8rem; border-radius: 4px; cursor: pointer;
  min-height: 44px; min-width: 44px;
}
.main-nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.main-nav a { color: var(--parch-dark); font-size: .92rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); border-bottom-color: var(--gold-light); text-decoration: none; }

/* [audit U-04] the nav wrapped onto a second row from 821px to ~1080px.
   It now collapses to the menu button before it can wrap. */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; flex-direction: column; gap: 0; padding-top: .6rem; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .7rem .2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* --- Breadcrumb --- */
.breadcrumb { display: block; background: var(--parch-dark); border-bottom: 1px solid var(--border); font-size: .82rem; padding: .35rem 0; color: var(--text-light); }
.crumbs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; }
.crumbs li { margin: 0; display: flex; align-items: center; }
.crumbs li + li::before { content: "\203A"; margin: 0 .5rem; color: var(--text-light); }
.crumbs a { display: inline-block; padding: .4rem 0; }         /* [audit T-16] target size */
.crumbs [aria-current] { color: var(--text-light); padding: .4rem 0; }

/* --- Main --- */
.page-main { flex: 1; padding: 2rem 0 3rem; }
.content-body { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 1.75rem 2rem; box-shadow: 0 2px 10px var(--shadow); }
@media (max-width: 620px) { .content-body { padding: 1.25rem 1.1rem; } }

/* [audit U-08] measure was running 95–105 characters. Prose is capped at a
   readable line length; photographs and tables still use the full column. */
.content-body > p,
.content-body > .standfirst,
.content-body > ul,
.content-body > ol { max-width: 68ch; }

/* --- Hero image ------------------------------------------------------
   [audit U-01] 24 of 56 heroes are portrait. They used to be forced into a
   16:9 box and lose 62–68% of the frame. Landscape keeps the wide crop;
   portrait runs uncropped in a narrower column. */
.hero-figure { margin: 0 0 1.5rem; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); background: var(--parch-dark); }
.hero-figure img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-figure.portrait { max-width: 62%; margin-left: auto; margin-right: auto; }
.hero-figure.portrait img { aspect-ratio: auto; object-fit: fill; }
.hero-figure figcaption { font-size: .82rem; padding: .5rem .75rem; color: var(--text-light); font-style: italic; background: var(--white); border-top: 1px solid var(--border); line-height: 1.45; }

/* --- In-body large image ---------------------------------------------
   [audit U-02] the 560px max-height clipped 73 of 145 figures, the worst
   losing 57%. Nothing is clipped now; portrait runs narrower instead. */
.body-figure { margin: 1.8rem 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); background: var(--parch-dark); box-shadow: 0 2px 10px var(--shadow); clear: both; }
.body-figure img { width: 100%; height: auto; display: block; }
.body-figure.portrait { max-width: 62%; margin-left: auto; margin-right: auto; }
.body-figure figcaption { font-size: .82rem; padding: .55rem .75rem; color: var(--text-light); font-style: italic; background: var(--white); border-top: 1px solid var(--border); line-height: 1.4; }

@media (max-width: 760px) {
  .hero-figure.portrait, .body-figure.portrait { max-width: 100%; }
}

/* --- Lightbox --------------------------------------------------------
   [audit T-12] figures are keyboard-operable; the overlay traps focus and
   carries a real close control and a position counter. */
.hero-figure img, .body-figure img, .card img { cursor: zoom-in; }
.hero-figure img:focus-visible, .body-figure img:focus-visible { outline: 3px solid var(--gold-hover); outline-offset: -3px; }
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(20,22,26,.95);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 4rem 1.5rem 3rem; z-index: 1000; cursor: zoom-out;
}
.lightbox-overlay[hidden] { display: none; }
.lightbox-overlay img { max-width: 100%; max-height: 76vh; display: block; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,.5); cursor: zoom-in; }
/* [audit U-12] a reader who wants a closer look at a carving or a mosaic
   could not get one. Zoomed, the image runs at its natural size inside a
   scrollable frame; the frame, not the overlay, takes the drag. */
.lightbox-overlay.zoomed { padding: 3.5rem 0 0; }
.lightbox-overlay.zoomed .lb-frame { overflow: auto; width: 100%; height: calc(100vh - 3.5rem); -webkit-overflow-scrolling: touch; }
.lightbox-overlay.zoomed img { max-width: none; max-height: none; margin: 0 auto; cursor: zoom-out; border-radius: 0; }
.lb-frame { display: flex; align-items: center; justify-content: center; max-width: 100%; }
.lightbox-caption { color: var(--parch-dark); font-size: .92rem; text-align: center; margin-top: 1rem; max-width: 720px; font-style: italic; line-height: 1.5; cursor: zoom-out; }
.lightbox-caption a { color: var(--gold-light); text-decoration: underline; }
.lightbox-bar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 1rem; z-index: 2; }
.lb-actions { display: flex; gap: .5rem; }
.lightbox-count { color: var(--on-dark); font-size: .82rem; font-family: Georgia, serif; letter-spacing: .04em; }
.lb-btn {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28);
  color: var(--parch-dark); border-radius: 5px; cursor: pointer;
  min-width: 44px; min-height: 44px; font-size: 1.1rem; line-height: 1;
}
.lb-btn:hover { background: rgba(255,255,255,.18); color: var(--white); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: .6rem; } .lb-next { right: .6rem; }
@media (max-width: 620px) { .lightbox-overlay { padding: 3.5rem 1rem 2rem; } }

/* --- Standfirst --- */
.standfirst { font-size: 1.08rem; color: var(--stone-mid); margin-bottom: 1.4rem; }

/* --- Cheat sheet table --- */
.cheat-sheet { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.6rem; font-size: .93rem; }
.cheat-sheet caption { text-align: left; font-size: .82rem; color: var(--text-light); padding-bottom: .5rem; font-style: italic; }
.cheat-sheet th, .cheat-sheet td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.cheat-sheet th { width: 32%; background: var(--gold-pale); color: var(--stone-dark); font-weight: 700; }
.cheat-sheet tr:last-child th, .cheat-sheet tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; }
/* [audit W-12] shown only on pages whose hours and prices were actually
   checked against the operator's own site, with the month it happened. */
.checked-note { font-size: .82rem; color: var(--text-light); font-style: italic;
  margin: .5rem 0 0; max-width: 60ch; }

/* --- Credits table (a data grid, not a cheat sheet) --- */
.credit-count { font-size: .88rem; color: var(--text-light); margin-bottom: .6rem; }
.credits-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.credits-table caption { text-align: left; font-size: .85rem; color: var(--text-light);
  padding-bottom: .6rem; font-style: italic; }
.credits-table th, .credits-table td { text-align: left; padding: .5rem .7rem;
  border-bottom: 1px solid var(--border); vertical-align: top; }
.credits-table thead th { background: var(--gold-pale); color: var(--stone-dark); font-weight: 700; }
.credits-table td:nth-child(4) { white-space: nowrap; }
.credits-table tbody tr:last-child td { border-bottom: none; }

/* --- Boxes --- */
.fact-box { background: var(--gold-pale); border-left: 4px solid var(--gold-rule); border-radius: 0 6px 6px 0; padding: .9rem 1.1rem; margin: 1.4rem 0; max-width: 72ch; }
.fact-box p:last-child { margin-bottom: 0; }
.tip-box { background: var(--parch-dark); border: 1px solid var(--border); border-radius: 6px; padding: 1rem 1.2rem; margin: 1.4rem 0; max-width: 72ch; }
.tip-box p:last-child { margin-bottom: 0; }

/* --- Highlights --- */
.highlights { list-style: none; padding-left: 0; max-width: 72ch; }
.highlights li { border-bottom: 1px dashed var(--border); padding: .7rem 0; margin: 0; }
.highlights li:last-child { border-bottom: none; }
.highlights strong { display: block; color: var(--stone-dark); }

/* --- Booking / affiliate --- */
.booking-panel { background: var(--stone-dark); color: var(--parch-dark); border-radius: 8px; padding: 1.3rem 1.5rem; margin: 1.8rem 0; }
.booking-panel h3 { color: var(--gold-light); margin-top: 0; }
.booking-panel p { color: var(--parch-dark); font-size: .94rem; }
.booking-panel p:last-of-type { margin-bottom: 0; }
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1rem; }
.btn {
  display: inline-flex; align-items: center; min-height: 44px;    /* [audit T-16] */
  background: var(--gold); color: var(--white); font-weight: 700; /* [audit T-13] 6.27:1 */
  padding: .6rem 1.1rem; border-radius: 5px; font-size: .92rem; text-decoration: none;
}
.btn:hover { background: var(--gold-hover); color: var(--white); text-decoration: none; }
.btn.secondary { background: transparent; color: var(--gold-light); border: 1px solid var(--gold-light); }
.btn.secondary:hover { background: var(--gold-light); color: var(--stone-dark); }
.affiliate-note { font-size: .8rem; color: var(--on-dark); margin-top: .9rem; }

/* --- Sidebar --- */
.sidebar { position: sticky; top: calc(var(--header-h) + 16px); }   /* [audit U-05] */
.side-box { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 1.1rem 1.2rem; margin-bottom: 1.25rem; }
.side-box h3 { margin-top: 0; font-size: 1.05rem; border-bottom: 1px solid var(--border); padding-bottom: .4rem; }
.side-box ul { list-style: none; padding-left: 0; margin-bottom: 0; font-size: .9rem; }
.side-box li { border-bottom: 1px dotted var(--border); margin: 0; }
.side-box li:last-child { border-bottom: none; }
.side-box li a { display: block; padding: .55rem 0; }               /* [audit T-16] */
@media (max-width: 900px) { .sidebar { position: static; } }

/* --- Card grid (hubs and round-ups) --- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; margin: 1.5rem 0; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 8px var(--shadow); }
/* [audit U-03] card sources are often portrait; bias the crop upward so the
   building stays in frame rather than centring on its doorway. */
a.card-image { display: block; line-height: 0; }
.card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 32%; display: block; }
.card-body { padding: .9rem 1.1rem 1.1rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin: 0 0 .4rem; font-size: 1.08rem; }
.card-body p { font-size: .9rem; color: var(--text-light); margin-bottom: .8rem; flex: 1; }
.card-meta { font-size: .78rem; color: var(--stone-light); text-transform: uppercase; letter-spacing: .05em; }

/* --- Numbered round-up entries --- */
.roundup-item { border-top: 1px solid var(--border); padding-top: 1.5rem; margin-top: 1.5rem; }
.roundup-item:first-of-type { border-top: none; }
.rank { display: inline-block; background: var(--gold); color: var(--white); width: 1.9rem; height: 1.9rem; line-height: 1.9rem; text-align: center; border-radius: 50%; font-weight: 700; font-size: .95rem; margin-right: .5rem; }

/* --- FAQ block -------------------------------------------------------
   [audit S-06] question-headed answers, matching the FAQPage schema.
   <details>/<summary> so it is keyboard-operable with no JavaScript. */
.faq { margin: 2rem 0 1.5rem; clear: both; }
.faq > h2 { margin-bottom: 1rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: .85rem 2rem .85rem 0;
  position: relative; min-height: 44px; display: flex; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  margin: 0; font-size: 1.02rem; color: var(--stone-dark);
  font-family: Georgia, serif; line-height: 1.4;
}
.faq-item summary::after {
  content: "+"; position: absolute; right: .35rem; top: 50%; transform: translateY(-50%);
  font-size: 1.35rem; line-height: 1; color: var(--gold); font-weight: 700;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover h3 { color: var(--gold-hover); }
.faq-item summary:focus-visible { outline: 3px solid var(--gold-hover); outline-offset: -3px; }
.faq-answer { padding: 0 0 1.1rem; max-width: 68ch; color: var(--text-light); }
.faq-answer p { margin-bottom: .7rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { text-decoration: underline; text-underline-offset: 2px; }
@media print { .faq-item { border-bottom: 1px solid #ccc; } .faq-answer { display: block !important; } }

/* --- Sitemap page --- */
.sitemap-list { list-style: none; padding-left: 0; margin-bottom: 1.6rem;
  columns: 2; column-gap: 2.5rem; }
.sitemap-list li { margin: 0; break-inside: avoid; border-bottom: 1px dotted var(--border); }
.sitemap-list li a { display: block; padding: .5rem 0; }
@media (max-width: 620px) { .sitemap-list { columns: 1; } }

/* --- Related strip ---------------------------------------------------
   [audit S-10] generated on every church page from its own trail, so no
   page depends on being hand-listed in the footer to be linked. */
.related-strip { background: var(--parch-dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 2.5rem; padding: 1.6rem 0 1.4rem; }
.related-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.related-strip h2 { font-size: 1.15rem; border-bottom: none; margin: 0 0 .8rem; padding: 0; }
.related-strip ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 1.5rem; }
.related-strip li { margin: 0; border-bottom: 1px dotted var(--border); }
.related-strip li a { display: block; padding: .55rem 0; }
.related-all { margin: 1rem 0 0; font-size: .92rem; }
.related-all a { text-decoration: underline; text-underline-offset: 2px; }

/* --- Footer --- */
.site-footer { background: var(--stone-dark); color: var(--parch-dark); padding: 2.2rem 0 1.2rem; margin-top: auto; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.8rem; }
.footer-col .footer-head { color: var(--gold-light); margin-bottom: .6rem; font-size: .95rem;
  letter-spacing: .03em; font-weight: 700; border-bottom: none; padding-bottom: 0; }
.footer-col ul { list-style: none; padding-left: 0; }
.footer-col li { margin-bottom: 0; }
.footer-col a { color: var(--parch-dark); display: inline-block; padding: .35rem 0; }  /* [audit T-16] */
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid var(--stone-mid); margin-top: 1.6rem; padding-top: .9rem; font-size: .82rem; color: var(--on-dark); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom a { color: var(--gold-light); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* --- Utility layer -------------------------------------------------
   Trimmed 2 Sep 2026 (audit T-10): nine classes here were defined and used
   by no page. verify.py now fails the build on a class used in the HTML
   with no rule behind it, so anything genuinely needed can be added back
   with that safety net rather than kept speculatively. */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --- Print -----------------------------------------------------------
   [audit T-18] these guides get printed and carried to the building. */
@media print {
  .site-banner, .site-header, .breadcrumb, .site-footer,
  .related-strip, .booking-panel, .sidebar, .skip-link, .lightbox-overlay { display: none !important; }
  body { background: #fff; color: #000; font-size: 11.5pt; }
  .content-grid { display: block; }
  .content-body { border: none; box-shadow: none; padding: 0; }
  .content-body > p, .content-body > .standfirst { max-width: none; }
  .hero-figure, .body-figure { break-inside: avoid; max-width: 60%; box-shadow: none; }
  .cheat-sheet { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  a { color: #000; text-decoration: underline; }
  .content-body a[href^="/"]::after { content: " (churchestovisit.com" attr(href) ")"; font-size: 9pt; }
}

/* ============================================================
   HOME PAGE — added 4 September 2026 (Design D).
   The home page runs full-width bands instead of the one centred
   column every other page uses: a bleed hero, a dark map section,
   and an illustrated index of every guide. Nothing below applies
   anywhere else — .page-home only exists on "/".
   ============================================================ */

/* The hero replaces the decorative banner strip on this page only. */
body.home .site-banner { display: none; }
body.home .breadcrumb { display: none; }   /* markup stays for the schema and for screen readers */

.page-home { padding: 0; }
.home-section { padding: 3.2rem 0; }
.home-section, .home-map { scroll-margin-top: calc(var(--header-h) + 16px); }
.home-eyebrow { font-size: .73rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.home-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  border-bottom: 2px solid var(--gold-rule); padding-bottom: .5rem; margin-bottom: 1.6rem; }
.home-head h2 { border: 0; margin: 0; padding: 0; font-size: clamp(1.35rem, 2.6vw, 1.95rem); }
.home-head a { font-size: .83rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.home-intro { color: var(--text-light); max-width: 46em; margin-bottom: 1.6rem; }

/* --- hero ------------------------------------------------- */
.home-hero { position: relative; min-height: min(88vh, 780px); display: flex; align-items: flex-end;
  overflow: hidden; background: var(--stone-dark); }
.home-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,
  rgba(15,17,20,.55) 0%, rgba(15,17,20,.14) 32%, rgba(15,17,20,.48) 66%, rgba(15,17,20,.93) 100%); }
.home-hero-text { position: relative; z-index: 2; width: 100%; padding-bottom: 4.2rem; }
.home-hero h1 { font-size: clamp(2.3rem, 6.4vw, 4.8rem); line-height: 1.03; color: var(--white);
  letter-spacing: -.015em; margin: .5rem 0 1rem; text-shadow: 0 2px 30px rgba(0,0,0,.55); }
.home-hero .home-eyebrow { color: var(--gold-light); }
.home-lede { color: #eae3d7; font-size: clamp(1.02rem, 1.9vw, 1.32rem); max-width: 34em; line-height: 1.55;
  text-shadow: 0 1px 16px rgba(0,0,0,.6); }
.home-counts { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin: 2rem 0 0; padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.24); font-size: .92rem; }
.home-counts a { color: #cfc6b8; }
.home-counts a:hover { color: var(--white); }
.home-counts b { color: var(--gold-light); font-weight: 400; margin-left: .25rem; }
.home-credit { position: absolute; right: 1.25rem; bottom: .9rem; z-index: 3; margin: 0;
  color: rgba(255,255,255,.6); font-size: .72rem; }
.home-credit a { color: rgba(255,255,255,.82); }

/* --- statement -------------------------------------------- */
.home-statement { padding: 4rem 0 3rem; text-align: center; }
.home-statement p { font-size: clamp(1.12rem, 2.2vw, 1.45rem); line-height: 1.6; max-width: 31em;
  margin: 0 auto; color: var(--stone-mid); }
.home-statement b { color: var(--stone-dark); font-weight: 400; }
.home-rule { width: 56px; height: 2px; background: var(--gold-rule); margin: 2rem auto 0; }

/* --- three places to begin -------------------------------- */
.home-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.hcard { background: var(--white); border: 1px solid var(--border); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease; }
.hcard:hover { transform: translateY(-4px); box-shadow: 0 14px 34px var(--shadow); }
.hcard-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--parch-dark); }
.hcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hcard:hover .hcard-img img { transform: scale(1.04); }
.hcard-body { padding: 1.1rem 1.2rem 1.35rem; }
.hcard-body h3 { margin: 0 0 .5rem; font-size: 1.28rem; line-height: 1.25; color: var(--stone-dark); }
.hcard-body h3 a { color: var(--stone-dark); }
.hcard-body h3 a:hover { color: var(--gold-hover); }
.hcard-body p { color: var(--text-light); font-size: .98rem; margin: 0; }

/* --- six that repay the detour ---------------------------- */
.home-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.mtile { position: relative; display: block; overflow: hidden; background: var(--stone-dark); }
.mtile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.mtile:hover img, .mtile:focus-visible img { transform: scale(1.05); }
.mtile::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 35%, rgba(0,0,0,.86)); }
.mtile:hover { text-decoration: none; }
.mtile.tall { grid-row: span 2; }
.mtile.wide { grid-column: span 2; }
.mcap { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1rem 1.15rem; color: var(--white); }
.mcap b { display: block; font-weight: 400; font-size: 1.18rem; line-height: 1.25; }
.mcap span { font-size: .83rem; color: #d6cec1; }

/* --- the map ---------------------------------------------- */
.home-map { background: var(--stone-dark); padding: 3.2rem 0; }
.home-map .home-head { border-color: #4a545e; }
.home-map .home-head h2 { color: var(--white); }
.home-map .home-head a { color: var(--gold-light); }
.map-intro { color: var(--on-dark); max-width: 44em; margin-bottom: 1.3rem; }
.map-grid { display: grid; grid-template-columns: 1fr 280px; gap: 1.5rem; align-items: start; }
.map-stage { position: relative; background: #1b1f24; border: 1px solid #39424b; overflow: hidden; }
.map-stage svg { display: block; width: 100%; height: auto; }
.dots { pointer-events: bounding-box; }
.land path { fill: #2c333a; stroke: #1b1f24; stroke-width: .7; stroke-linejoin: round; }
.land-lit path { fill: #4a5560; stroke: #1b1f24; stroke-width: .7; stroke-linejoin: round; }
.land-lit path.c.dim { fill: #323a42; }
.leaders line { stroke: #8a7a4e; stroke-width: .9; fill: none; }
.leaders circle { fill: #8a7a4e; }
.dot circle { fill: var(--gold-light); stroke: #1b1f24; stroke-width: 1.6; cursor: pointer;
  transition: r .18s ease, fill .18s ease; }
.dot:hover circle, .dot:focus-visible circle { fill: var(--white); }
.dot.dim circle { fill: #6d7581; opacity: .5; }
.map-reset { position: absolute; left: .8rem; top: .8rem; z-index: 3; display: none;
  background: rgba(27,31,36,.88); color: #e6dfd2; border: 1px solid #4a545e;
  font: inherit; font-size: .82rem; padding: .4rem .8rem; cursor: pointer; }
.map-stage.zoomed .map-reset { display: block; }
.map-reset:hover { color: var(--white); border-color: var(--gold-light); }
.map-panel { background: #1b1f24; border: 1px solid #39424b; padding: 1.1rem 1.2rem;
  color: var(--on-dark); min-height: 230px; }
.map-panel h3 { color: var(--white); font-size: 1.1rem; margin: 0 0 .2rem; }
.map-panel p { font-size: .92rem; line-height: 1.55; margin-bottom: .4rem; }
.map-panel img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin: .8rem 0 .6rem; }
.map-panel a { color: var(--gold-light); }
.pc { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.hint { color: #7f8791; font-style: italic; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.leg { background: transparent; border: 1px solid #4a545e; color: #d9d2c6; font: inherit;
  font-size: .88rem; padding: .35rem .8rem; cursor: pointer; }
.leg span { color: var(--gold-light); font-size: .8rem; margin-left: .3rem; }
.leg:hover, .leg[aria-pressed="true"] { border-color: var(--gold-light); color: var(--white); }
.leg[aria-pressed="true"] { background: #2c333a; }

/* --- every guide, illustrated ------------------------------ */
.cblock { margin-top: 2.2rem; }
.cbar { display: flex; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--border);
  padding-bottom: .45rem; margin-bottom: 1rem; }
.cbar h3 { margin: 0; font-size: 1.3rem; color: var(--stone-dark); }
.cbar h3 a { color: var(--stone-dark); }
.cbar p { margin: 0; color: var(--stone-light); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.cbar-map { margin-left: auto; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
.gtiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.gtile { display: block; color: inherit; }
.gtile:hover { text-decoration: none; }
.gtile-img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--parch-dark);
  border: 1px solid var(--border); }
.gtile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gtile:hover .gtile-img img { transform: scale(1.06); }
.gtile-name { display: block; margin-top: .5rem; color: var(--stone-dark); font-size: .98rem; line-height: 1.3; }
.gtile:hover .gtile-name { color: var(--gold-hover); }
.gtile-city { display: block; color: var(--stone-light); font-size: .82rem; }

/* --- how every guide is built ------------------------------ */
.home-method { background: var(--gold-pale); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.home-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: hstep; }
.hstep { counter-increment: hstep; }
.hstep::before { content: counter(hstep); display: block; font-size: 2.3rem; line-height: 1;
  color: var(--gold-rule); margin-bottom: .35rem; }
.hstep h3 { font-size: 1.05rem; color: var(--stone-dark); margin: 0 0 .3rem; }
.hstep p { font-size: .94rem; color: var(--text-light); line-height: 1.55; margin: 0; }

@media (max-width: 1080px) {
  .gtiles { grid-template-columns: repeat(4, 1fr); }
  .map-grid { grid-template-columns: 1fr; }
  .map-panel { min-height: 0; }
}
@media (max-width: 900px) {
  .home-cards { grid-template-columns: 1fr 1fr; }
  .home-mosaic { grid-template-columns: 1fr 1fr; }
  .home-steps { grid-template-columns: 1fr 1fr; }
  .gtiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .home-hero { min-height: 76vh; }
  .home-cards { grid-template-columns: 1fr; }
  .home-mosaic { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .mtile.tall, .mtile.wide { grid-row: auto; grid-column: auto; }
  .home-steps { grid-template-columns: 1fr; }
  .gtiles { grid-template-columns: repeat(2, 1fr); }
  .cbar { flex-wrap: wrap; }
  .cbar-map { margin-left: 0; width: 100%; }
}
@media print {
  .home-map, .home-mosaic, .home-hero::after { display: none; }
}

/* --- contents list, on guides long enough to need one ------------------- */
.toc { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--gold-rule);
  padding: 1.1rem 1.4rem 1.2rem; margin: 1.8rem 0 2rem; }
.toc h2 { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stone-light);
  border: 0; margin: 0 0 .6rem; padding: 0; }
.toc ol { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2.4rem; }
.toc ol ol { columns: 1; padding-left: .9rem; margin: .15rem 0 .35rem; }
.toc li { break-inside: avoid; margin-bottom: .2rem; line-height: 1.45; }
.toc ol ol a { color: var(--text-light); font-size: .93rem; }
.toc ol ol a:hover { color: var(--gold-hover); }
@media (max-width: 620px) { .toc ol { columns: 1; } }
@media print { .toc { display: none; } }
