/* David Crymble & Sons — Website V2
   Shared design tokens + base styles.
   Palette and type taken from the Claude Design handoff (design_handoff_crymble_website_v2). */

:root {
  /* Surfaces */
  --paper:        #F4EFE4; /* main page background (warm ivory) */
  --board:        #E5DDCE; /* concept-board / index background */
  --card:         #FCFAF4; /* cards, tiles */
  --panel-cream:  #FBF8F0;
  --panel-stone:  #F1EBDF;
  --panel-sage:   #E8EBE0;

  /* Greens */
  --moss:         #3C4E40; /* primary buttons, links, active nav */
  --deep-green:   #2E3B30;
  --footer-green: #262C24;

  /* Text */
  --ink:          #2B2922; /* headings & primary text */
  --soft-ink:     #5C5648; /* body copy */
  --muted:        #877F6F; /* secondary / meta text */

  /* Lines & accents */
  --hairline:     #DCD7C7;
  --hairline-2:   #D3CBBA;
  --gold:         #97793F; /* uppercase micro-labels */

  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body:    'Public Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--board);
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

::selection { background: #cdd4c2; }

a { color: var(--moss); }

:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 3px;
  border-radius: 4px;
}

img { max-width: 100%; display: block; }

/* ---- Site Map / index ---- */

.sitemap {
  width: 100%;
  min-height: 100vh;
  background: var(--board);
  padding: 56px 32px 72px;
}

.sitemap__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.sitemap__header { margin-bottom: 44px; }

.eyebrow {
  font: 600 13px var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.sitemap__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 50px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
}

.sitemap__intro {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--soft-ink);
  margin: 0;
}

.group { margin-bottom: 36px; }
.group:last-of-type { margin-bottom: 0; }

.group__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--moss);
  margin: 0 0 16px;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tile {
  display: block;
  height: 100%;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 24px 26px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.tile:hover,
.tile:focus-visible {
  border-color: var(--moss);
}

.tile__kicker {
  font: 600 11.5px var(--font-body);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}

.tile__name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 6px;
  font-weight: 400;
}

.tile__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

.sitemap__footer {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-2);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.sitemap__footer b { color: inherit; }
.swatch-moss { color: var(--moss); font-weight: 600; }
.swatch-deep { color: var(--deep-green); font-weight: 600; }
.swatch-gold { color: var(--gold); font-weight: 600; }

/* ---- Responsive ---- */

@media (max-width: 880px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .sitemap { padding: 40px 20px 56px; }
  .sitemap__title { font-size: 38px; }
  .sitemap__intro { font-size: 16px; }
  .tiles { grid-template-columns: 1fr; }
}

/* ===================================================================
   SHARED CHROME + PAGE SECTIONS
   Used by index.html and every content page.
   =================================================================== */

.page { background: var(--paper); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--moss);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 200;
  text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---- Shared layout helpers ---- */
.section__head { max-width: 1200px; margin: 0 auto 38px; padding: 0 32px; }
.section__head--center { text-align: center; }

.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.12;
  color: var(--ink);
  margin: 0;
  max-width: 560px;
}
.section__head--center .section__title { max-width: none; }

.eyebrow--moss { color: var(--moss); letter-spacing: .18em; }
.eyebrow--sage { color: #B9C2AB; letter-spacing: .18em; }

.kicker {
  display: block;
  font: 600 12px var(--font-body);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.arrow-link {
  color: var(--moss);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
}
.arrow-link:hover { text-decoration: underline; }

.photo-note {
  position: absolute;
  left: 16px;
  bottom: 12px;
  font-style: italic;
  font-family: var(--font-display);
  font-size: 13px;
  color: rgba(43, 41, 34, .6);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; /* universal 44px touch target (was only enforced ≤640px) */
  box-sizing: border-box;
  border-radius: 4px;
  font: 600 16px var(--font-body);
  text-decoration: none;
  padding: 13px 28px;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn--primary { background: var(--moss); color: var(--paper); }
.btn--primary:hover { background: #344538; }
.btn--on-dark { background: var(--paper); color: var(--deep-green); }
.btn--on-dark:hover { background: #ece5d4; }
.btn--outline { border-color: var(--moss); color: var(--moss); background: transparent; }
.btn--outline:hover { background: rgba(60, 78, 64, .07); }

/* ---- Utility bar ---- */
.utility { background: var(--deep-green); color: #D9D3C4; font-size: 14px; }
.utility__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 9px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.utility a { color: #D9D3C4; text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.utility__right { display: flex; gap: 22px; }
.utility__phone { color: #E9E3D4 !important; font-weight: 600; }

/* ---- Masthead ---- */
.masthead { background: var(--panel-cream); border-bottom: 1px solid #EAE2D2; position: relative; z-index: 50; }
.masthead__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand__mark {
  width: 54px; height: 54px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand__name { display: block; font-family: var(--font-display); font-size: 23px; color: var(--ink); line-height: 1.1; }
.brand__strap { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 14px; }
.nav a { color: #42463C; font-size: 15.5px; font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--moss); }
.nav a[aria-current="page"] { color: var(--moss); font-weight: 700; border-bottom: 2px solid var(--moss); padding-bottom: 2px; }
.nav__call {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 42px; box-sizing: border-box;
  background: var(--moss); color: #fff !important; font-weight: 600; font-size: 14.5px;
  padding: 9px 18px; border-radius: 999px; white-space: nowrap; line-height: 1;
}
.nav__call::before { content: "\260E"; font-size: 13px; }
.nav__call:hover { background: #3f4e36; color: #fff !important; }
.nav__call[aria-current="page"] { border-bottom: 0; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 9px;
  border: 1px solid #D6CFBE;
  background: var(--card);
  flex-direction: column; gap: 4px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle__bar { display: block; width: 20px; height: 2px; background: var(--moss); }

/* ---- Hero (calm service) ---- */
.hero { background: var(--panel-sage); padding: 64px 32px 70px; }
.hero__intro { text-align: center; max-width: 800px; margin: 0 auto 46px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 54px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 18px;
}
.hero__lede { font-size: 18.5px; line-height: 1.6; color: var(--soft-ink); max-width: 640px; margin: 0 auto; }

.triage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.triage__card {
  display: flex; flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 38px 30px;
  text-align: center;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.triage__card:hover { border-color: var(--moss); box-shadow: 0 12px 34px rgba(43, 41, 34, .10); }
.triage__name { font-family: var(--font-display); font-size: 27px; color: var(--ink); margin-bottom: 10px; }
.triage__desc { font-size: 15px; line-height: 1.55; color: var(--muted); }
.triage__card .arrow-link { margin-top: 20px; }

.hero__callout { text-align: center; margin: 42px 0 0; font-size: 17px; color: var(--soft-ink); }
.hero__callout a { color: var(--deep-green); text-decoration: none; }
.hero__callout a:hover { text-decoration: underline; }

/* ---- Ethos ---- */
.ethos { background: var(--panel-cream); padding: 30px 32px 84px; text-align: center; }
.ethos__inner { max-width: 820px; margin: 0 auto; }
.ethos__quote {
  font-family: var(--font-display);
  font-weight: 400; font-style: italic;
  font-size: 34px; line-height: 1.32;
  color: var(--ink);
  margin: 0;
}
.ethos__attr { margin-top: 24px; font-size: 16px; color: var(--muted); }

/* ---- Two homes ---- */
.homes { background: var(--panel-stone); padding: 72px 0; }
.homes__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
}
.home-card { background: var(--card); border: 1px solid #E5DDCC; border-radius: 10px; overflow: hidden; }
.home-card__photo { height: 230px; position: relative; }
.home-card__photo--a { background: linear-gradient(135deg, #b9b29c, #9aa089 55%, #c7c2ac); }
.home-card__photo--b { background: linear-gradient(135deg, #c0b9a3, #a6a48d 55%, #cdc8b2); }

/* ---- Real-photo slots (drop a matching file into assets/img/ to use; gradient shows until then) ----
   Replace a photo by saving your image with the exact filename below into site/assets/img/. */
/* Photo slots layer: [real photo] over [crest watermark] over [sage gradient].
   Until a real photo file exists the slot shows a dignified branded placeholder;
   dropping in e.g. team-david.jpg automatically covers the crest — no code change. */
.photo-slot { background-repeat: no-repeat; background-position: center; background-size: cover, 64px, cover; }
.photo-home-woodstock { background-image: url('/assets/img/home-woodstock.jpg'), url('/assets/img/crest-white.png'), linear-gradient(135deg, #b9b29c, #9aa089 55%, #c7c2ac); }
.photo-home-finaghy   { background-image: url('/assets/img/home-finaghy.jpg'),   url('/assets/img/crest-white.png'), linear-gradient(135deg, #c0b9a3, #a6a48d 55%, #cdc8b2); }
.photo-team-david     { background-image: url('/assets/img/team-david.jpg'),     url('/assets/img/crest-white.png'), linear-gradient(150deg, #b9b29c, #9aa089); }
.photo-team-joy       { background-image: url('/assets/img/team-joy.jpg'),       url('/assets/img/crest-white.png'), linear-gradient(150deg, #c0b9a3, #a6a48d); }
.photo-team-andrew    { background-image: url('/assets/img/team-andrew.jpg'),    url('/assets/img/crest-white.png'), linear-gradient(150deg, #bdb6a0, #9ea48d); }
.photo-team-selwyn    { background-image: url('/assets/img/team-selwyn.jpg'),    url('/assets/img/crest-white.png'), linear-gradient(150deg, #c4bda7, #a8a690); }
.photo-team-paul      { background-image: url('/assets/img/team-paul.jpg'),      url('/assets/img/crest-white.png'), linear-gradient(150deg, #bcb6a1, #a3a78f); }
.photo-team-stephen   { background-image: url('/assets/img/team-stephen.jpg'),   url('/assets/img/crest-white.png'), linear-gradient(150deg, #c4bda7, #a8a690); }
.home-card__body { padding: 26px 28px 30px; }
.home-card__name { font-family: var(--font-display); font-weight: 500; font-size: 25px; margin: 0 0 8px; color: var(--ink); }
.home-card__addr { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0 0 16px; }

/* ---- Services ---- */
.services { background: var(--panel-cream); padding: 72px 0; }
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--hairline-2); border: 1px solid var(--hairline-2);
  border-radius: 10px; overflow: hidden;
  max-width: 1200px; margin: 0 auto;
  list-style: none; padding: 0;
}
.service { background: var(--card); padding: 30px 28px; }
.service__name { font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--ink); margin: 0 0 8px; }
.service__desc { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ---- Planning teaser (dark) ---- */
.planning-teaser { background: var(--deep-green); color: #EDE7D8; padding: 74px 0; }
.planning-teaser__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
}
.planning-teaser__title { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1.12; margin: 0 0 18px; color: var(--panel-cream); }
.planning-teaser__lede { font-size: 17.5px; line-height: 1.65; color: #D6D0C1; margin: 0 0 28px; max-width: 480px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; margin: 0; padding: 0; }
.chip {
  display: block;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  padding: 18px 20px;
  font-size: 15.5px;
  color: #EDE7D8;
  text-decoration: none;
}
.chip:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .26); }

/* ---- Notices ---- */
.notices { background: var(--panel-stone); padding: 64px 0; }
.notices__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
}
.notice-card { background: var(--card); border: 1px solid #E5DDCC; border-radius: 10px; padding: 34px 36px; }
.notice-card__title { font-family: var(--font-display); font-weight: 400; font-size: 26px; margin: 0 0 10px; color: var(--ink); }
.notice-card__desc { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; }

/* ---- Footer ---- */
.site-footer { background: var(--footer-green); color: #C9C4B4; padding: 56px 0 34px; }
.site-footer__inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.site-footer__cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer__name { font-family: var(--font-display); font-size: 22px; color: var(--paper); margin-bottom: 10px; }
.site-footer__verse { font-style: italic; font-family: var(--font-display); font-size: 15px; color: #9FA593; line-height: 1.5; margin: 0; }
.footer-col { display: flex; flex-direction: column; font-size: 14.5px; line-height: 1.9; }
.footer-col__head { color: #9FA593; margin-bottom: 6px; }
.footer-col a { color: #C9C4B4; text-decoration: none; }
.footer-col a:hover { color: var(--paper); text-decoration: underline; }
.footer-col--contact { line-height: 1.8; }
.site-footer__phone { color: var(--paper) !important; font-weight: 600; font-size: 18px; }
.site-footer__compliance { padding-top: 20px; font-size: 12.5px; color: #83806f; line-height: 1.6; margin: 0; }

/* ===================================================================
   CONTENT-PAGE SECTIONS
   =================================================================== */

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap--narrow { max-width: 1000px; }
.wrap--article { max-width: 1100px; }

.stack { padding: 48px 0; }
.stack--tight { padding: 32px 0; }

.lead-quote {
  font-family: var(--font-display);
  font-weight: 400; font-style: italic;
  font-size: 28px; line-height: 1.45;
  color: var(--ink);
  margin: 0 0 28px;
}
.prose p { font-size: 17px; line-height: 1.75; color: var(--soft-ink); margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }

/* ---- Generic page hero ---- */
.page-hero { border-bottom: 1px solid transparent; }
.page-hero--sage  { background: var(--panel-sage);  border-color: #DCE0D2; }
.page-hero--stone { background: var(--panel-stone); border-color: #E8E0D0; }
.page-hero--deep  { background: var(--deep-green); }
.page-hero__inner { max-width: 1200px; margin: 0 auto; padding: 56px 32px 48px; }
.page-hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 48px; line-height: 1.08; letter-spacing: -0.01em;
  margin: 0 0 16px; color: var(--ink); max-width: 760px;
}
.page-hero__lede { max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--soft-ink); margin: 0; }
.page-hero__meta { margin: 16px 0 0; font-size: 13px; letter-spacing: .04em; color: var(--moss); font-weight: 600; }
.page-hero--deep .page-hero__meta { color: #C9B27A; }
.page-hero--deep .page-hero__title { color: var(--panel-cream); }
.page-hero--deep .page-hero__lede { color: #D6D0C1; }

/* ---- Generic info card grids ---- */
.info-grid { display: grid; gap: 16px; }
.info-grid--3 { grid-template-columns: repeat(3, 1fr); }
.info-grid--2 { grid-template-columns: repeat(2, 1fr); }
.info-card { background: var(--card); border: 1px solid var(--hairline-2); border-radius: 10px; padding: 24px 26px; }
.info-card__name { font-family: var(--font-display); font-weight: 400; font-size: 21px; color: var(--ink); margin: 0 0 6px; }
.info-card__desc { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ---- Dark CTA band ---- */
.cta-dark { background: var(--deep-green); color: #EDE7D8; border-radius: 14px; padding: 36px 40px; }
.cta-dark--center { text-align: center; }
.cta-dark--flex { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-dark__title { font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--panel-cream); margin: 0 0 8px; }
.cta-dark--center .cta-dark__title { font-size: 32px; line-height: 1.2; max-width: 640px; margin-left: auto; margin-right: auto; margin-bottom: 14px; }
.cta-dark__lede { font-size: 16px; line-height: 1.6; color: #D6D0C1; margin: 0; }
.cta-dark--center .cta-dark__lede { font-size: 17px; max-width: 600px; margin: 0 auto 28px; }
.cta-dark__actions { display: flex; gap: 14px; }
.cta-dark--center .cta-dark__actions { justify-content: center; }
.cta-dark--flex .cta-dark__actions { flex: none; }

/* ---- Arrange a funeral ---- */
.help-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.help-card { border-radius: 14px; padding: 34px 38px; }
.help-card--dark { background: var(--deep-green); color: #EDE7D8; }
.help-card--light { background: var(--card); border: 1px solid #E5DDCC; }
.help-card__title { font-family: var(--font-display); font-weight: 400; margin: 0 0 8px; color: var(--ink); }
.help-card--dark .help-card__title { color: var(--panel-cream); font-size: 30px; }
.help-card--light .help-card__title { font-size: 26px; }
.help-card__text { line-height: 1.55; margin: 0 0 18px; }
.help-card--dark .help-card__text { font-size: 16px; color: #D6D0C1; max-width: 460px; }
.help-card--light .help-card__text { font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.help-card__phone { font-size: 34px; font-family: var(--font-display); color: var(--panel-cream); text-decoration: none; }

.steps { display: flex; flex-direction: column; gap: 2px; background: var(--hairline-2); border: 1px solid var(--hairline-2); border-radius: 14px; overflow: hidden; list-style: none; margin: 0; padding: 0; }
.step { background: var(--card); padding: 30px 36px; display: grid; grid-template-columns: 64px 1fr; gap: 26px; align-items: start; }
.step__num { font-family: var(--font-display); font-size: 40px; color: #B6B19C; line-height: 1; }
.step__title { font-family: var(--font-display); font-size: 24px; color: var(--ink); margin: 0 0 6px; }
.step__desc { font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 760px; margin: 0; }

.cost-band { background: var(--panel-stone); border: 1px solid #E5DDCC; border-radius: 14px; padding: 34px 38px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cost-band__title { font-family: var(--font-display); font-weight: 400; font-size: 25px; color: var(--ink); margin: 0 0 8px; }
.cost-band__text { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 680px; }
.cost-band .btn { flex: none; white-space: nowrap; }

.closing { text-align: center; padding: 46px 32px 60px; }
.closing__quote { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 28px; line-height: 1.4; color: var(--ink); margin: 0 auto 22px; max-width: 680px; }

/* ---- Contact ---- */
.contact-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.branch-card { background: var(--card); border: 1px solid #E5DDCC; border-radius: 14px; overflow: hidden; }
.branch-card__photo { height: 200px; position: relative; }
.branch-card__body { padding: 26px 28px 28px; }
.branch-card__name { font-family: var(--font-display); font-size: 23px; color: var(--ink); margin: 0 0 8px; }
.branch-card__addr { font-size: 15.5px; color: var(--muted); line-height: 1.6; margin: 0 0 14px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.phone-card { background: var(--deep-green); border-radius: 14px; padding: 32px 36px; color: #EDE7D8; margin-bottom: 20px; }
.phone-card__num { font-family: var(--font-display); font-size: 32px; color: var(--panel-cream); margin: 6px 0; text-decoration: none; display: inline-block; }
.phone-card__sub { font-size: 15px; color: #D6D0C1; }
.detail-card { background: var(--card); border: 1px solid #E5DDCC; border-radius: 14px; padding: 28px 32px; font-size: 15.5px; line-height: 1.8; color: var(--soft-ink); }
.detail-card strong { color: var(--ink); }

.form-card { background: var(--card); border: 1px solid #E5DDCC; border-radius: 14px; padding: 34px 38px; }
.form-card h2 { font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--ink); margin: 0 0 6px; }
.form-card__intro { font-size: 14.5px; color: var(--muted); margin: 0 0 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--soft-ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; background: #fff; border: 1px solid var(--hairline); border-radius: 8px;
  padding: 13px 14px; font-size: 15px; font-family: var(--font-body); color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--moss); outline-offset: 1px; border-color: var(--moss); }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* ---- Planning hub ---- */
.search-row { display: flex; gap: 12px; max-width: 560px; margin-top: 24px; }
.search-row input {
  flex: 1; background: var(--panel-cream); border: 0; border-radius: 8px;
  padding: 15px 20px; font-size: 16.5px; font-family: var(--font-body); color: var(--ink);
}
.search-row input::placeholder { color: #9b9282; }

.pathways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: -40px; position: relative; }
.pathway-card { background: var(--card); border: 1px solid #E5DDCC; border-radius: 10px; padding: 30px; box-shadow: 0 12px 30px rgba(43,41,34,.10); text-decoration: none; display: block; transition: border-color .15s ease; }
.pathway-card:hover { border-color: var(--moss); }
.pathway-card__name { font-family: var(--font-display); font-size: 24px; color: var(--ink); margin: 0 0 8px; }
.pathway-card__desc { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }
.pathway-card__desc b { color: var(--moss); font-weight: 600; }

.topic-group { padding-top: 34px; }
.topic-group__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid #EAE2D2; }
.topic-group__title { font-family: var(--font-display); font-weight: 500; font-size: 28px; color: var(--ink); margin: 0; }
.topic-group__sub { font-size: 15px; color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.topic-card { background: var(--card); border: 1px solid var(--hairline-2); border-radius: 9px; padding: 24px; text-decoration: none; display: block; transition: border-color .15s ease; }
.topic-card:hover { border-color: var(--moss); }
.topic-card__name { font-family: var(--font-display); font-size: 20px; color: var(--ink); margin: 0 0 7px; }
.topic-card__desc { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0; }

.dl-strip { background: var(--panel-stone); padding: 60px 0; }
.dl-strip__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.dl-strip__title { font-family: var(--font-display); font-weight: 400; font-size: 32px; color: var(--ink); margin: 0; }
.dl-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dl-mini { background: var(--card); border: 1px solid #E5DDCC; border-radius: 9px; padding: 22px; text-decoration: none; display: block; transition: border-color .15s ease; }
.dl-mini:hover { border-color: var(--moss); }
.dl-mini__name { font-family: var(--font-display); font-size: 18px; color: var(--ink); margin: 0 0 8px; line-height: 1.25; }
.dl-mini__meta { font-size: 13px; color: var(--muted); }

.reassure { background: var(--panel-sage); padding: 58px 32px; text-align: center; }
.reassure__quote { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: 30px; line-height: 1.35; color: var(--ink); margin: 0 auto; max-width: 720px; }
.reassure__actions { margin-top: 22px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Guide article ---- */
.breadcrumb { background: var(--panel-cream); border-bottom: 1px solid #EAE2D2; }
.breadcrumb__inner { max-width: 1200px; margin: 0 auto; padding: 14px 32px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--moss); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb__sep { margin: 0 8px; }
.breadcrumb__current { color: var(--ink); }

.article-layout { display: grid; grid-template-columns: 236px 1fr; gap: 48px; align-items: start; padding: 48px 0 60px; }
.toc { position: sticky; top: 20px; }
.toc__list { display: flex; flex-direction: column; gap: 11px; font-size: 15px; border-left: 2px solid #E0D8C8; padding-left: 16px; }
.toc__list a { text-decoration: none; color: var(--soft-ink); }
.toc__list a:hover, .toc__list a.is-active { color: var(--moss); font-weight: 600; }
.toc-card { margin-top: 24px; background: var(--card); border: 1px solid #E5DDCC; border-radius: 10px; padding: 18px 20px; }
.toc-card__text { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0 0 12px; }

.article__meta { display: flex; gap: 18px; font-size: 14px; color: var(--muted); margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--hairline-2); }
.article h1 { font-family: var(--font-display); font-weight: 400; font-size: 42px; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 16px; color: var(--ink); }
.article h2 { font-family: var(--font-display); font-weight: 500; font-size: 27px; color: var(--ink); margin: 36px 0 12px; }
.article__intro { font-size: 18px; line-height: 1.7; color: #3f3a31; margin: 0 0 24px; }
.article p { font-size: 16.5px; line-height: 1.7; color: var(--soft-ink); margin: 0 0 16px; }
.article ul { font-size: 16.5px; line-height: 1.8; color: var(--soft-ink); margin: 0 0 16px; padding-left: 22px; }
.callout { background: var(--panel-sage); border-radius: 12px; padding: 26px 30px; margin: 26px 0; }
.callout__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.callout__item { font-size: 15px; line-height: 1.55; color: #3f3a31; }
.callout__item strong { color: var(--ink); }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.related-card { background: var(--card); border: 1px solid var(--hairline-2); border-radius: 10px; padding: 20px 22px; text-decoration: none; display: block; transition: border-color .15s ease; }
.related-card:hover { border-color: var(--moss); }
.related-card__name { font-family: var(--font-display); font-size: 19px; color: var(--ink); margin: 0 0 4px; }
.related-card__desc { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---- Funeral plans ---- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pair-card { background: var(--card); border: 1px solid var(--hairline-2); border-radius: 12px; padding: 32px 34px; }
.pair-card h2 { font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--ink); margin: 0 0 12px; }
.pair-card p { font-size: 16px; line-height: 1.65; color: var(--soft-ink); margin: 0; }
.partner { background: var(--panel-stone); border: 1px solid #E5DDCC; border-radius: 14px; padding: 36px 40px; }
.partner h2 { font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--ink); margin: 0 0 12px; max-width: 620px; }
.partner p { font-size: 16px; line-height: 1.65; color: var(--soft-ink); margin: 0; max-width: 760px; }
.num-card__num { font-family: var(--font-display); font-size: 34px; color: #B6B19C; margin-bottom: 10px; }

/* ---- Memorial gallery ---- */
.gallery { display: grid; grid-template-columns: 268px 1fr; gap: 40px; align-items: start; }
.filters { background: var(--panel-cream); border: 1px solid var(--hairline-2); border-radius: 12px; padding: 26px 24px; position: sticky; top: 20px; }
.filters__title { font-family: var(--font-display); font-size: 21px; color: var(--ink); margin: 0 0 4px; }
.filters__sub { font-size: 13.5px; color: var(--muted); margin: 0 0 22px; }
.filter-group { margin-bottom: 22px; }
.filter-group__label { font: 600 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 13.5px; padding: 7px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--hairline); color: var(--soft-ink); cursor: pointer; }
.pill--active { background: var(--moss); border-color: var(--moss); color: var(--paper); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #cfc8b8; padding: 0; cursor: pointer; }
.swatch--active { border: 2px solid var(--moss); }
.budget { font-size: 14.5px; color: var(--soft-ink); line-height: 1.7; }
.filters__note { margin-top: 22px; padding-top: 18px; border-top: 1px solid #ECE5D5; font-size: 13px; color: var(--muted); line-height: 1.55; }

.gallery__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.gallery__count { font-size: 15px; color: var(--muted); }
.gallery__count strong { color: var(--ink); }
.sortby { font-size: 14.5px; color: var(--soft-ink); display: flex; align-items: center; gap: 8px; }
.sortby select { background: var(--card); border: 1px solid var(--hairline); border-radius: 8px; padding: 8px 14px; font-family: var(--font-body); font-size: 14.5px; color: var(--ink); }
.memorials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.memorial-card { background: var(--card); border: 1px solid var(--hairline-2); border-radius: 12px; overflow: hidden; text-decoration: none; display: block; transition: border-color .15s ease, box-shadow .15s ease; }
.memorial-card:hover { border-color: var(--moss); box-shadow: 0 12px 30px rgba(43,41,34,.10); }
.memorial-card__img { height: 230px; }
.memorial-card__body { padding: 18px 20px 20px; }
.memorial-card__name { font-family: var(--font-display); font-size: 21px; color: var(--ink); }
.memorial-card__meta { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ---- Local resources ---- */
.directory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dir-card { background: var(--card); border: 1px solid var(--hairline-2); border-radius: 11px; padding: 26px 24px; text-decoration: none; display: block; transition: border-color .15s ease; }
.dir-card:hover { border-color: var(--moss); }
.dir-card__name { font-family: var(--font-display); font-size: 21px; color: var(--ink); margin: 0 0 6px; }
.dir-card__desc { font-size: 13.5px; color: var(--muted); margin: 0; }
.soon-note { margin-top: 28px; background: var(--panel-sage); border-radius: 14px; padding: 30px 36px; display: flex; align-items: center; gap: 20px; font-size: 15.5px; line-height: 1.6; color: var(--moss); }
.soon-note strong { font-family: var(--font-display); font-weight: 500; font-size: 19px; }

/* ---- Downloads ---- */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl-card { background: var(--card); border: 1px solid var(--hairline-2); border-radius: 12px; overflow: hidden; text-decoration: none; display: block; transition: border-color .15s ease; }
.dl-card:hover { border-color: var(--moss); }
.dl-card__header { height: 150px; }
.dl-card__body { padding: 24px 26px 26px; }
.dl-card__title { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin: 8px 0; }
.dl-card__desc { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0 0 18px; }
.dl-card--post { background: var(--panel-sage); border-color: #DCE0D2; padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
.dl-card--post p { font-family: var(--font-display); font-style: italic; font-size: 20px; line-height: 1.4; color: var(--ink); margin: 0 0 14px; }

/* ---- Memorial estimate calculator ---- */
.estimator { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.est-group { margin-bottom: 26px; }
.est-group__label { font: 600 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--hairline); }
.est-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.est-check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--soft-ink); line-height: 1.4; }
.est-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--moss); }
.est-hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }

.estimate-summary { position: sticky; top: 20px; background: var(--card); border: 1px solid var(--hairline-2); border-radius: 14px; padding: 26px 28px; }
.estimate-summary h2 { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--ink); margin: 0 0 16px; }
.estimate-lines { list-style: none; margin: 0 0 14px; padding: 0; }
.estimate-lines li { display: flex; justify-content: space-between; gap: 14px; font-size: 14.5px; color: var(--soft-ink); padding: 9px 0; border-bottom: 1px solid #EFE9DB; }
.estimate-lines li span:last-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.estimate-lines li.is-muted span { color: var(--muted); font-weight: 400; }
.estimate-total { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin: 16px 0 4px; padding-top: 14px; border-top: 2px solid var(--ink); }
.estimate-total b { font-size: 15px; color: var(--ink); }
.estimate-total span { font-family: var(--font-display); font-size: 30px; color: var(--moss); }
.estimate-note { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 8px 0 20px; }
.estimate-summary hr { border: 0; border-top: 1px solid var(--hairline); margin: 20px 0; }
.estimate-summary .field label { font-weight: 500; }

@media (max-width: 880px) {
  .estimator { grid-template-columns: 1fr; }
  .estimate-summary { position: static; }
}
@media (max-width: 640px) {
  .est-row { grid-template-columns: 1fr; }
}

/* ---- About ---- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person { background: var(--card); border: 1px solid var(--hairline-2); border-radius: 12px; overflow: hidden; }
.person__photo { height: 200px; }
.person__body { padding: 20px 22px; }
.person__name { font-family: var(--font-display); font-size: 21px; color: var(--ink); }
.person__role { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.person__bio { font-size: 13px; color: var(--soft-ink); line-height: 1.5; margin: 8px 0 0; }
.person__q { font-size: 13px; color: var(--soft-ink); line-height: 1.5; margin: 10px 0 0; }
.person__q strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--moss); font-weight: 700; margin-bottom: 2px; }
.people { align-items: start; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-card { background: var(--panel-stone); border: 1px solid #E5DDCC; border-radius: 12px; padding: 28px 30px; }
.value-card__name { font-family: var(--font-display); font-size: 21px; color: var(--ink); margin: 0 0 8px; }
.value-card__desc { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ===================================================================
   FUNERAL KNOWLEDGE CENTRE
   =================================================================== */
.kc-disclaimer { background: var(--panel-stone); border: 1px solid #E5DDCC; border-radius: 12px; padding: 18px 22px; font-size: 14px; line-height: 1.6; color: var(--soft-ink); }
.kc-disclaimer strong { color: var(--ink); }

.kc-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.kc-cat { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--card); border: 1px solid var(--hairline); border-radius: 12px; padding: 24px 26px; transition: border-color .15s ease, box-shadow .15s ease; }
.kc-cat:hover, .kc-cat:focus-visible { border-color: var(--moss); box-shadow: 0 12px 30px rgba(43,41,34,.08); }
.kc-cat__n { font: 600 12px var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.kc-cat__title { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin: 0 0 6px; }
.kc-cat__desc { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0; }

/* Filter + search */
.kc-filter { background: var(--panel-cream); border: 1px solid var(--hairline); border-radius: 14px; padding: 22px 24px; }
.kc-search { display: flex; gap: 10px; margin-bottom: 16px; }
.kc-search input { flex: 1; background: #fff; border: 1px solid var(--hairline); border-radius: 8px; padding: 13px 16px; font-size: 16px; font-family: var(--font-body); color: var(--ink); }
.kc-search input:focus { outline: 2px solid var(--moss); outline-offset: 1px; border-color: var(--moss); }
.kc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kc-chip { font-size: 13.5px; padding: 8px 15px; border-radius: 99px; background: var(--card); border: 1px solid var(--hairline); color: var(--soft-ink); cursor: pointer; font-family: var(--font-body); }
.kc-chip[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: var(--paper); }
.kc-count { font-size: 14px; color: var(--muted); margin: 16px 0 0; }

/* Resource cards */
.kc-resources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.kc-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--hairline-2); border-radius: 12px; padding: 22px 22px 20px; }
.kc-card__org { font: 600 11.5px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.kc-card__title { font-family: var(--font-display); font-size: 19px; line-height: 1.25; color: var(--ink); margin: 0 0 8px; }
.kc-card__desc { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 14px; flex: 1; }
.kc-card__addr { font-size: 14px; line-height: 1.5; color: var(--soft-ink); margin: 0 0 6px; flex: 1; }
.kc-card__addr::before { content: "📍 "; }
.kc-card__tel { font-size: 13.5px; line-height: 1.5; color: var(--moss); font-weight: 600; margin: 0 0 8px; }
.kc-card__tel::before { content: "✆ "; font-weight: 400; }
.kc-card__tel a { color: inherit; text-decoration: none; }
.kc-card__tel a:hover { text-decoration: underline; }

/* ---- Directory trust / verification layer ---- */
.kc-card__badges { margin: 0 0 10px; }
.kc-card__meta { font-size: 13.5px; line-height: 1.5; color: var(--soft-ink); margin: 0 0 8px; }
.kc-card__meta::before { content: "📍 "; }
.kc-card__contact { font-size: 13px; line-height: 1.5; color: var(--muted); font-weight: 600; margin: 0 0 8px; }
.kc-card__contact::before { content: "✆ "; font-weight: 400; }
.kc-card__web { font-size: 13px; margin: 0 0 10px; }
.kc-card__web a { color: var(--moss); font-weight: 600; text-decoration: none; }
.kc-card__web a:hover { text-decoration: underline; }
.kc-card__warn { font-size: 12.5px; line-height: 1.45; color: #8a6d3b; background: #fbf3e2; border: 1px solid #efe2c4; border-radius: 8px; padding: 7px 10px; margin: 0 0 12px; }
.kc-card__actions { margin-top: auto; }

.rec-badge { display: inline-block; font: 600 11.5px var(--font-body); letter-spacing: .03em; padding: 4px 11px; border-radius: 99px; border: 1px solid transparent; }
.rec-badge--ok { background: #e7f0e8; color: #2f5234; border-color: #cfe3d2; }
.rec-badge--review { background: #eef1f4; color: #4a5560; border-color: #dde2e8; }
.rec-badge--partial { background: #fbf3e2; color: #8a6d3b; border-color: #efe2c4; }
.rec-badge--contact { background: #f6ece9; color: #8a4b3b; border-color: #ecd6cf; }

.rec-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; background: var(--panel-stone); border: 1px solid #E5DDCC; border-radius: 12px; padding: 14px 18px; margin: 22px 0 0; }
.rec-trust__item { font-size: 13.5px; color: var(--soft-ink); }
.rec-trust__item strong { color: var(--ink); }
.rec-suggest { margin-left: auto; background: transparent; border: 1px solid var(--moss); color: var(--moss); font: 600 13px var(--font-body); border-radius: 8px; padding: 7px 14px; cursor: pointer; }
.rec-suggest:hover { background: var(--moss); color: #F4EFE4; }
.rec-incomplete { margin: 12px 0 0; font-size: 13.5px; line-height: 1.55; color: #8a6d3b; background: #fbf3e2; border: 1px solid #efe2c4; border-left: 4px solid #d9b765; border-radius: 8px; padding: 11px 15px; }
.rec-note { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 12px 0 0; padding: 10px 12px; background: var(--panel-cream); border-radius: 8px; }

.dcs-correct-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(30,34,30,.5); display: flex; align-items: center; justify-content: center; padding: 18px; }
.dcs-correct { position: relative; width: 100%; max-width: 460px; max-height: 90vh; overflow: auto; background: var(--paper); border-radius: 14px; padding: 26px 26px 22px; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.dcs-correct__x { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.dcs-correct__t { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin: 0 0 8px; }
.dcs-correct__s { font-size: 14px; line-height: 1.55; color: var(--soft-ink); margin: 0 0 16px; }
.dcs-correct__form label { display: block; font-size: 13px; font-weight: 600; color: var(--soft-ink); margin: 0 0 12px; }
.dcs-correct__form select, .dcs-correct__form input, .dcs-correct__form textarea { width: 100%; margin-top: 5px; padding: 9px 11px; border: 1px solid var(--hairline-2); border-radius: 8px; font: inherit; font-weight: 400; color: var(--ink); background: var(--card); }
.dcs-correct__form select:focus, .dcs-correct__form input:focus, .dcs-correct__form textarea:focus { outline: none; border-color: var(--moss); }
.dcs-correct__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dcs-correct__msg { font-size: 13px; min-height: 1em; margin: 0 0 10px; color: var(--muted); }
.dcs-correct__msg.is-err { color: #a3432f; }
.dcs-correct__actions { display: flex; justify-content: flex-end; gap: 10px; }
.dcs-correct__done { font-size: 14.5px; line-height: 1.6; color: var(--soft-ink); margin: 8px 0 16px; }
@media (max-width: 520px) { .dcs-correct__row { grid-template-columns: 1fr; } }
.kc-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.kc-tag { font-size: 11.5px; padding: 4px 10px; border-radius: 99px; background: var(--panel-sage); color: var(--moss); font-weight: 600; }
.kc-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.kc-card__actions .btn { padding: 10px 16px; font-size: 14px; }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.kc-empty { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--muted); font-size: 15px; }

/* Steps */
.kc-steps { counter-reset: kc; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.kc-steps li { position: relative; padding: 20px 24px 20px 64px; background: var(--card); border: 1px solid var(--hairline-2); border-radius: 12px; }
.kc-steps li::before { counter-increment: kc; content: counter(kc); position: absolute; left: 22px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--moss); color: var(--paper); font: 600 15px var(--font-body); display: flex; align-items: center; justify-content: center; }
.kc-steps h3 { font-family: var(--font-display); font-weight: 500; font-size: 19px; color: var(--ink); margin: 0 0 5px; }
.kc-steps p { font-size: 15px; line-height: 1.6; color: var(--soft-ink); margin: 0; }

/* FAQ accordion */
.faq { border: 1px solid var(--hairline-2); border-radius: 12px; overflow: hidden; background: var(--card); }
.faq details { border-bottom: 1px solid var(--hairline-2); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--font-display); font-size: 19px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-body); font-size: 24px; color: var(--moss); line-height: 1; flex: none; }
.faq details[open] summary::after { content: '–'; }
.faq summary:hover { color: var(--moss); }
.faq__body { padding: 0 24px 22px; font-size: 15.5px; line-height: 1.7; color: var(--soft-ink); }
.faq__body p { margin: 0 0 12px; } .faq__body p:last-child { margin: 0; }

/* Need help now CTA */
.kc-help { background: var(--deep-green); color: #EDE7D8; border-radius: 14px; padding: 30px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.kc-help__t { font-family: var(--font-display); font-size: 23px; color: var(--panel-cream); margin: 0 0 4px; }
.kc-help__s { font-size: 15px; color: #D6D0C1; margin: 0; }
.kc-help__num { font-family: var(--font-display); font-size: 26px; color: var(--paper); text-decoration: none; white-space: nowrap; }

@media (max-width: 880px) {
  .kc-cats, .kc-resources { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .kc-cats, .kc-resources { grid-template-columns: 1fr; }
  .kc-help { flex-direction: column; align-items: flex-start; }
}

/* ---- Printable planning forms ---- */
.form-doc { max-width: 820px; margin: 0 auto; background: #fff; padding: 0 32px 64px; }
.form-doc__head { display: flex; align-items: center; gap: 16px; padding: 28px 0 20px; border-bottom: 2px solid var(--moss); margin-bottom: 24px; }
.form-doc__head img { width: 64px; height: 64px; }
.form-doc__brand { font-family: var(--font-display); font-size: 22px; color: var(--ink); line-height: 1.1; }
.form-doc__brand span { display: block; font: 600 11px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.form-doc h1 { font-family: var(--font-display); font-weight: 400; font-size: 32px; color: var(--ink); margin: 0 0 10px; }
.form-doc__intro { font-size: 15.5px; line-height: 1.6; color: var(--soft-ink); margin: 0 0 24px; }
.form-doc__section { margin: 0 0 22px; }
.form-doc__section h2 { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--moss); margin: 0 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--hairline); }
.form-doc__check { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; font-size: 15.5px; color: var(--ink); line-height: 1.5; }
.form-doc__box { flex: none; width: 20px; height: 20px; border: 1.5px solid var(--moss); border-radius: 4px; margin-top: 1px; }
.form-doc__line { border-bottom: 1px solid #C9C0AC; height: 30px; }
.form-doc__notes { border: 1px solid var(--hairline); border-radius: 8px; min-height: 110px; }
.form-doc__keep { background: var(--panel-sage); border-radius: 10px; padding: 16px 20px; font-size: 14.5px; color: var(--moss); margin: 24px 0; }
.form-doc__sign { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.form-doc__sign div { font-size: 13px; color: var(--muted); }
.form-doc__foot { border-top: 1px solid var(--hairline); padding-top: 16px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.form-doc__print { text-align: center; margin: 24px 0; }
/* ---- Stage 1.5 components ---- */
.kc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.kc-minisearch { display: flex; gap: 10px; max-width: 520px; margin-top: 22px; }
.kc-minisearch input { flex: 1; background: #fff; border: 1px solid var(--hairline); border-radius: 8px; padding: 12px 16px; font: 16px var(--font-body); color: var(--ink); }
.kc-minisearch input:focus { outline: 2px solid var(--moss); outline-offset: 1px; border-color: var(--moss); }

.kc-steps--timeline { position: relative; }
.kc-steps--timeline::before { content: ''; position: absolute; left: 37px; top: 28px; bottom: 28px; width: 2px; background: var(--hairline); z-index: 0; }
.kc-steps--timeline li { position: relative; z-index: 1; }

.reviewed { background: var(--panel-cream); border: 1px solid var(--hairline); border-radius: 12px; padding: 20px 24px; }
.reviewed p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0 0 8px; }
.reviewed p:last-child { margin: 0; }
.reviewed strong { color: var(--soft-ink); }

.next-step { background: var(--panel-sage); border-radius: 12px; padding: 24px 28px; }
.next-step__label { font: 600 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--moss); margin: 0 0 8px; }
.next-step__text { font-family: var(--font-display); font-size: 21px; line-height: 1.4; color: var(--ink); margin: 0; }

.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 18px 22px; background: var(--panel-cream); border: 1px solid var(--hairline); border-radius: 12px; }
.trust-strip span { font-size: 13.5px; color: var(--soft-ink); display: flex; align-items: center; gap: 8px; }
.trust-strip span::before { content: '\2713'; color: var(--moss); font-weight: 700; }

.content-warning { background: #f6efe6; border: 1px solid #e3d4c2; border-left: 4px solid var(--gold); border-radius: 8px; padding: 14px 18px; font-size: 14.5px; line-height: 1.55; color: #6f5b3e; }

.answer-box { background: var(--card); border: 1px solid var(--hairline); border-left: 4px solid var(--moss); border-radius: 10px; padding: 22px 26px; }
.answer-box__label { font: 600 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--moss); margin: 0 0 8px; }
.answer-box__text { font-size: 17.5px; line-height: 1.6; color: var(--ink); margin: 0; }

/* Directory landing pages */
.dir-section { margin: 0 0 26px; }
.dir-section:last-child { margin-bottom: 0; }
.dir-section .prose p { font-size: 16.5px; line-height: 1.7; color: var(--soft-ink); margin: 0 0 12px; }
.dir-section .prose a { color: var(--moss); font-weight: 600; }
.dir-section .area-chips li { background: var(--panel-cream); }
.future-box { background: var(--panel-sage); border: 1px solid #DCE0D2; border-radius: 14px; padding: 26px 30px; }
.future-box__lede { font-size: 16px; line-height: 1.6; color: var(--soft-ink); margin: 0; }
.future-box__note { font-size: 14.5px; color: var(--muted); margin: 14px 0 0; }
.future-box .area-chips li { background: var(--card); border: 1px solid var(--hairline); color: var(--soft-ink); }

/* Directory data engine — listing filters + detail */
.dir-filters { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.dir-filters label { font-size: 14px; color: var(--soft-ink); display: flex; align-items: center; gap: 6px; }
.dir-filters select { background: var(--card); border: 1px solid var(--hairline); border-radius: 8px; padding: 8px 12px; font-family: var(--font-body); font-size: 14px; color: var(--ink); }
.dir-check input { width: 16px; height: 16px; accent-color: var(--moss); }
.map-ph { background: var(--panel-sage); border: 1px dashed #b9c2ab; border-radius: 12px; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--moss); font: 600 14px var(--font-body); text-align: center; padding: 18px; }
.map-ph span { font-weight: 400; font-size: 13px; color: var(--muted); }

/* Interactive directory map (Leaflet) */
.dir-viewtoggle { display: inline-flex; border: 1px solid var(--hairline-2); border-radius: 8px; overflow: hidden; font-size: 13px; font-weight: 600; }
.dir-viewtoggle button { padding: 8px 15px; border: 0; background: var(--card); color: var(--muted); cursor: pointer; font: inherit; font-weight: 600; }
.dir-viewtoggle button.is-on { background: var(--moss); color: var(--paper); }
.dir-viewtoggle button:focus-visible { outline: 3px solid var(--moss); outline-offset: -2px; }
.dir-locate { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border: 1px solid var(--hairline-2); border-radius: 8px; background: var(--card); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.dir-locate:hover { border-color: var(--moss); }
.dir-locate:disabled { opacity: .6; cursor: default; }
.dir-map { height: 480px; border-radius: 14px; border: 1px solid var(--hairline-2); overflow: hidden; margin-top: 14px; position: relative; z-index: 0; }
.dir-map .leaflet-popup-content { font-family: var(--font-body); font-size: 13.5px; line-height: 1.5; }
.dir-map .leaflet-popup-content a { color: var(--moss); font-weight: 600; }
.dir-map .leaflet-container { font-family: var(--font-body); }
@media (max-width: 640px) { .dir-map { height: 380px; } }

/* ===================== OUR FAMILY PAGE ===================== */
.fam-hero { position: relative; overflow: hidden; }
.fam-hero__photo { position: absolute; inset: 0; background-size: cover, 150px, cover; background-position: center, 86% 50%, center; background-repeat: no-repeat; background-image: url('/assets/img/family.jpg'), url('/assets/img/crest-white.png'), linear-gradient(135deg, #3c4a34, #586247 60%, #7E8B6A); }
@media (max-width: 760px) { .fam-hero__photo { background-position: center, 90% 18%, center; background-size: cover, 96px, cover; } }
.fam-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,33,24,.28), rgba(28,33,24,.68)); }
.fam-hero__inner { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 92px 24px 72px; color: #fff; }
.fam-hero__title { font-family: var(--font-display); font-weight: 400; font-size: 52px; line-height: 1.06; margin: 8px 0 14px; color: #fff; max-width: 760px; }
.fam-hero__lede { max-width: 660px; font-size: 18px; line-height: 1.65; color: #EDEAE0; margin: 0 0 26px; }
.fam-hero__overlay { font-family: var(--font-display); font-style: italic; font-size: 22px; color: #F4EFE4; margin: 0; border-left: 3px solid var(--gold); padding-left: 16px; max-width: 560px; }
@media (max-width: 640px) { .fam-hero__inner { padding: 60px 20px 48px; } .fam-hero__title { font-size: 34px; } .fam-hero__overlay { font-size: 19px; } }

.fam-video { margin: 0; }
.fam-video__frame { position: relative; aspect-ratio: 16/9; border-radius: 16px; border: 1px solid var(--hairline-2); background: linear-gradient(135deg, #2C3326, #3c4a34); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 24px; overflow: hidden; }
.fam-video__crest { opacity: .45; }
.fam-video__play { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--moss); display: flex; align-items: center; justify-content: center; font-size: 24px; padding-left: 5px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.fam-video__title { position: relative; margin: 56px 0 0; color: #fff; font-family: var(--font-display); font-size: 22px; }
.fam-video__sub { position: relative; margin: 0; color: #C9CFBE; font-size: 13px; }
.fam-video__cap { text-align: center; font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.fam-transcript { margin: 14px auto 0; max-width: 720px; }
.fam-transcript summary { cursor: pointer; font-weight: 600; color: var(--moss); font-size: 14.5px; }
.fam-transcript p { color: var(--soft-ink); line-height: 1.7; font-style: italic; margin: 12px 0 0; }

.value-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-card { background: var(--card); border: 1px solid var(--hairline-2); border-radius: 14px; padding: 24px 22px; }
.value-card__ic { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: #E7EADF; color: var(--moss); font-size: 22px; margin-bottom: 12px; }
.value-card h3 { font-family: var(--font-display); font-size: 21px; color: var(--ink); margin: 0 0 6px; }
.value-card p { color: var(--soft-ink); font-size: 14.5px; line-height: 1.6; margin: 0; }
@media (max-width: 880px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 680px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 55px; top: 8px; bottom: 14px; width: 2px; background: var(--hairline-2); }
.timeline__item { position: relative; display: flex; gap: 20px; padding: 0 0 22px; }
.timeline__year { flex: none; width: 46px; text-align: right; font-weight: 700; color: var(--moss); font-size: 14px; padding-top: 1px; }
.timeline__item::before { content: ''; position: absolute; left: 51px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--moss); border: 2px solid var(--paper); box-shadow: 0 0 0 2px var(--hairline-2); }
.timeline__item--future::before { background: var(--gold); }
.timeline__body { padding-left: 14px; }
.timeline__body h3 { font-size: 17px; color: var(--ink); margin: 0 0 2px; }
.timeline__body h3 em { color: var(--gold); font-style: normal; font-size: 12.5px; font-weight: 600; }
.timeline__body p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; }
.timeline__item--soon .timeline__body h3 { color: var(--soft-ink); }

.why-band { background: var(--deep-green, #2b3326); color: #EDEAE0; padding: 56px 0; margin-top: 8px; }
.why-band .section__title { color: #fff; }
.why-band .eyebrow { color: var(--gold); }
.choose-grid { list-style: none; margin: 18px auto 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; max-width: 920px; }
.choose-grid li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.10); }
.choose-grid strong { color: #fff; font-size: 15.5px; }
.choose-grid span { color: #BFC6B3; font-size: 13.5px; }
@media (max-width: 640px) { .choose-grid { grid-template-columns: 1fr; } }

.why-do { background: var(--moss); color: #fff; padding: 64px 0; text-align: center; }
.why-do__lead { font-family: var(--font-display); font-size: 27px; line-height: 1.4; color: #fff; margin: 18px 0 12px; }
.why-do__sub { font-size: 16px; color: #E7EADF; margin: 0 0 26px; }
.why-do__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 640px) { .why-do__lead { font-size: 21px; } .why-do__actions .btn { width: 100%; } }

/* ===================== TEAM PROFILE PAGES (/team/:id) ===================== */
.tp-hero { background: var(--panel-sage); border-bottom: 1px solid #d9e0d4; padding: 38px 0 34px; }
.tp-head { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.tp-portrait { width: 180px; height: 180px; border-radius: 16px; flex: none; box-shadow: 0 10px 30px rgba(60, 78, 64, .14); }
.tp-headtext { flex: 1; min-width: 240px; }
.tp-name { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1.05; color: var(--ink); margin: 6px 0 6px; }
.tp-role { font-size: 16px; color: var(--soft-ink); margin: 0 0 14px; }
.tp-quals { font-size: 13.5px; font-weight: 600; letter-spacing: .03em; color: var(--gold); margin: 0 0 4px; }
.tp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tp-chips li { background: var(--card); border: 1px solid var(--hairline-2); border-radius: 999px; padding: 5px 13px; font-size: 12.5px; font-weight: 600; color: var(--moss); }
.tp-onething { background: linear-gradient(135deg, #2C3326, #3c4a34); color: #fff; border-radius: 16px; padding: 30px 34px; }
.tp-onething__label { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--gold); font-weight: 700; margin: 0 0 8px; }
.tp-onething__text { font-family: var(--font-display); font-style: italic; font-size: 23px; line-height: 1.45; margin: 0; color: #F4EFE4; }
.tp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0; }
.tp-fact dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--moss); font-weight: 700; margin: 0 0 2px; }
.tp-fact dd { margin: 0; color: var(--soft-ink); font-size: 14.5px; line-height: 1.5; }
.tp-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; align-items: center; background: var(--panel-cream); border: 1px solid var(--hairline-2); border-radius: 14px; padding: 20px 24px; text-align: center; }
.tp-trust span { font-size: 13.5px; color: var(--soft-ink); }
.tp-trust strong { color: var(--ink); }
.tp-video { aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; border: 1px solid var(--hairline-2); background: #000; }
@media (max-width: 640px) { .tp-portrait { width: 132px; height: 132px; } .tp-name { font-size: 30px; } .tp-onething { padding: 24px 22px; } .tp-onething__text { font-size: 19px; } }

/* Team cards as links into profiles */
a.person { text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.person:hover { border-color: var(--moss); box-shadow: 0 8px 22px rgba(60, 78, 64, .12); }
a.person:focus-visible { outline: 3px solid var(--moss); outline-offset: 2px; }
.person__more { display: inline-block; margin: 9px 0 0; font-size: 12.5px; font-weight: 600; color: var(--moss); }

/* ===================== OUR JOURNEY — alternating story timeline ===================== */
.journey { position: relative; max-width: 960px; margin: 10px auto 0; list-style: none; padding: 0; }
.journey::before { content: ''; position: absolute; left: 50%; top: 12px; bottom: 12px; width: 2px; background: var(--hairline-2); transform: translateX(-50%); }
.jx { position: relative; display: grid; grid-template-columns: 1fr 60px 1fr; align-items: start; margin-bottom: 40px; }
.jx__node { grid-column: 2; justify-self: center; z-index: 1; }
.jx__ic { width: 46px; height: 46px; border-radius: 50%; background: var(--moss); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; box-shadow: 0 0 0 6px var(--paper); }
.jx__card { background: var(--card); border: 1px solid var(--hairline-2); border-radius: 16px; padding: 22px 24px; position: relative; }
.jx:nth-child(odd) .jx__card { grid-column: 1; }
.jx:nth-child(even) .jx__card { grid-column: 3; }
.jx__era { text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; font-weight: 700; color: var(--gold); margin: 0 0 6px; }
.jx__card h3 { font-family: var(--font-display); font-weight: 400; font-size: 23px; line-height: 1.15; color: var(--ink); margin: 0 0 10px; }
.jx__card p { color: var(--soft-ink); font-size: 14.5px; line-height: 1.65; margin: 0; }
.jx__photo { width: 100%; aspect-ratio: 16/10; border-radius: 12px; margin: 0 0 14px; background-size: cover; background-position: center; border: 1px solid var(--hairline-2); }
.jx--today .jx__ic { background: var(--gold); }
.jx--today .jx__card { border-color: var(--moss); box-shadow: 0 10px 28px rgba(60, 78, 64, .14); background: var(--panel-sage); }
.jx--future .jx__ic { background: var(--gold); }
.jx--future .jx__card { background: linear-gradient(135deg, #2C3326, #3c4a34); border-color: transparent; }
.jx--future .jx__card h3 { color: #fff; }
.jx--future .jx__card p { color: #E7EADF; }
.jx--future .jx__era { color: #C9B27A; }
/* scroll-reveal (only when JS enables it; cards visible by default for no-JS) */
.journey.js-anim .jx { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.journey.js-anim .jx.is-in { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .journey::before { left: 23px; }
  .jx { grid-template-columns: 46px 1fr; gap: 16px; margin-bottom: 26px; }
  .jx__node { grid-column: 1; justify-self: start; }
  .jx__ic { width: 42px; height: 42px; font-size: 17px; }
  .jx:nth-child(odd) .jx__card, .jx:nth-child(even) .jx__card { grid-column: 2; }
}
.osm-attrib { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 0; padding-top: 4px; }
.osm-attrib a { color: var(--moss); text-decoration: underline; }
.dir-counties { font-size: 14px; color: var(--muted); margin: 0 0 4px; line-height: 1.9; }
.dir-counties span { font-weight: 600; color: var(--soft-ink); margin-right: 6px; }
.dir-counties a { display: inline-block; color: var(--moss); text-decoration: none; background: var(--panel-cream); border: 1px solid var(--hairline); border-radius: 20px; padding: 3px 12px; margin: 0 4px 4px 0; font-size: 13px; }
.dir-counties a:hover { border-color: var(--moss); }
.rec-map { width: 100%; height: 240px; border: 1px solid var(--hairline); border-radius: 12px; display: block; }
.rec-map__link { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--moss); text-decoration: underline; }
.rec-grid { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.rec-details dl { margin: 0; }
.rec-row { display: grid; grid-template-columns: 140px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid #EFE9DB; }
.rec-row dt { font: 600 12px var(--font-body); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.rec-row dd { margin: 0; font-size: 15.5px; color: var(--ink); line-height: 1.5; word-break: break-word; }
.rec-row dd a { color: var(--moss); font-weight: 600; }
.rec-side { position: sticky; top: 20px; }
@media (max-width: 880px) { .rec-grid { grid-template-columns: 1fr; } .rec-side { position: static; } .rec-row { grid-template-columns: 110px 1fr; } }

/* Admin dashboard */
.admin-scores { display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0; }
.admin-score { flex: 1; min-width: 160px; background: var(--card); border: 1px solid var(--hairline); border-radius: 12px; padding: 22px 24px; text-align: center; }
.admin-score__n { font-family: var(--font-display); font-size: 38px; line-height: 1; }
.admin-score__l { font-size: 12px; color: var(--muted); margin-top: 8px; letter-spacing: .08em; text-transform: uppercase; }
.admin-score--good .admin-score__n { color: #3C7A4E; }
.admin-score--warn .admin-score__n { color: #9a7d2f; }
.admin-score--bad .admin-score__n { color: #9a3b2f; }
.admin-links { background: var(--panel-cream); border: 1px solid var(--hairline); border-radius: 12px; padding: 20px 24px; margin-bottom: 8px; }
.admin-links h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; margin: 0 0 6px; color: var(--ink); }
.admin-links p { font-size: 14px; color: var(--soft-ink); margin: 0 0 14px; }
.admin-linkrow { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.admin-card { background: var(--card); border: 1px solid var(--hairline-2); border-radius: 12px; padding: 18px 22px; }
.admin-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 18px; margin: 0 0 12px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.admin-badge { font: 600 12px var(--font-body); border-radius: 99px; padding: 2px 10px; }
.admin-badge--ok { background: #e3efe5; color: #3C7A4E; }
.admin-badge--warn { background: #f6e9d8; color: #9a7d2f; }
.admin-list { list-style: none; margin: 0; padding: 0; font-size: 13.5px; line-height: 1.6; color: var(--soft-ink); max-height: 280px; overflow: auto; }
.admin-list li { padding: 4px 0; border-bottom: 1px solid #efe9db; word-break: break-word; }
.admin-list--ext li { display: flex; justify-content: space-between; gap: 10px; }
.admin-list--ext a { color: var(--moss); }
.admin-list--ext span { color: var(--muted); flex: none; }
.admin-ok { font-size: 14px; color: #3C7A4E; margin: 0; }
@media (max-width: 760px) { .admin-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   PROJECT PHOENIX — homepage repositioning
   =================================================================== */
.home-search { display: flex; gap: 10px; max-width: 640px; margin: 26px auto 0; }
.hero--home .home-search { margin-left: auto; margin-right: auto; }
.home-search input { flex: 1; background: #fff; border: 1px solid var(--hairline); border-radius: 8px; padding: 15px 18px; font: 16.5px var(--font-body); color: var(--ink); }
.home-search input:focus { outline: 2px solid var(--moss); outline-offset: 1px; border-color: var(--moss); }

.journeys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1120px; margin: 0 auto; list-style: none; padding: 0; }
.journey { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--card); border: 1px solid var(--hairline); border-radius: 14px; padding: 28px 26px; transition: border-color .15s ease, box-shadow .15s ease; }
.journey:hover, .journey:focus-visible { border-color: var(--moss); box-shadow: 0 14px 36px rgba(43,41,34,.10); }
.journey__ic { display: block; width: 42px; height: 42px; color: var(--moss); margin-bottom: 16px; }
.journey__ic svg { width: 100%; height: 100%; display: block; }
.journey__name { font-family: var(--font-display); font-size: 23px; color: var(--ink); margin: 0 0 8px; }
.journey__desc { font-size: 14.5px; line-height: 1.55; color: var(--muted); flex: 1; }
.journey .arrow-link { margin-top: 18px; }

/* Homepage — primary "someone has died" path */
.urgent { max-width: 1120px; margin: 0 auto; background: var(--deep-green); color: #EDE7D8; border-radius: 16px; padding: 30px 34px; }
.urgent__head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.urgent__ic { flex: none; width: 40px; height: 40px; color: #C7D0C2; }
.urgent__ic svg { width: 100%; height: 100%; display: block; }
.urgent__kicker { margin: 0; font: 600 11.5px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #9DB39A; }
.urgent__title { font-family: var(--font-display); font-size: 30px; color: #FBF8F0; margin: 2px 0 0; }
.urgent__lede { font-size: 16.5px; line-height: 1.6; color: #CDD4C6; max-width: 660px; margin: 0 0 22px; }
.urgent__steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.urgent__steps li { background: rgba(255,255,255,.07); border-radius: 10px; padding: 14px 16px; font-size: 15px; line-height: 1.4; color: #FBF8F0; }
.urgent__steps li span { display: block; font: 600 11px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #9DB39A; margin-bottom: 5px; }
.urgent__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Homepage — three journey cards with next-step links */
.journey-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1120px; margin: 22px auto 0; list-style: none; padding: 0; }
.jcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--hairline); border-radius: 14px; padding: 26px 24px; }
.jcard__ic { display: block; width: 36px; height: 36px; color: var(--moss); margin-bottom: 14px; }
.jcard__ic svg { width: 100%; height: 100%; display: block; }
.jcard__name { font-family: var(--font-display); font-size: 21px; color: var(--ink); margin: 0 0 6px; }
.jcard__desc { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0 0 12px; }
.jcard__links { display: flex; flex-direction: column; margin-top: auto; }
.jcard__links a { font-size: 14px; color: var(--moss); text-decoration: none; padding: 9px 0; border-top: 1px solid var(--hairline); }
.jcard__links a:first-child { border-top: none; }
.jcard__links a:hover, .jcard__links a:focus-visible { text-decoration: underline; }

/* Homepage — find a place (directory) band */
.find-place { padding: 64px 0; }
.find-place__inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.find-place__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; list-style: none; padding: 0; margin: 30px 0 0; }
.fp-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; text-decoration: none; background: var(--panel-cream); border: 1px solid var(--hairline); border-radius: 12px; padding: 20px 10px; min-height: 92px; transition: border-color .15s ease, box-shadow .15s ease; }
.fp-card:hover, .fp-card:focus-visible { border-color: var(--moss); box-shadow: 0 10px 26px rgba(43,41,34,.08); }
.fp-card__n { font-family: var(--font-display); font-size: 16.5px; color: var(--ink); }
.fp-card__c { font-size: 12px; font-weight: 600; color: var(--gold); }
@media (max-width: 880px) {
  .urgent__steps { grid-template-columns: 1fr; }
  .journey-cards { grid-template-columns: 1fr; }
  .find-place__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) { .find-place__grid { grid-template-columns: repeat(2, 1fr); } }

.kc-band { background: var(--panel-cream); padding: 72px 0; }
.kc-band__lede { max-width: 660px; margin: 14px auto 0; font-size: 17px; line-height: 1.6; color: var(--soft-ink); }
.kc-band__topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 940px; margin: 28px auto 0; list-style: none; padding: 0 32px; }
.kc-band__topics a { display: inline-block; background: var(--card); border: 1px solid var(--hairline); border-radius: 99px; padding: 10px 18px; font-size: 14.5px; color: var(--soft-ink); text-decoration: none; }
.kc-band__topics a:hover { border-color: var(--moss); color: var(--moss); }

.service-area { background: var(--paper); padding: 72px 0; }
.service-area__grid { max-width: 1120px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.service-area__lede { font-size: 17px; line-height: 1.65; color: var(--soft-ink); margin: 14px 0 22px; max-width: 540px; }
.service-area__sub { font: 600 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 18px 0 10px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.area-chips li { background: var(--panel-sage); color: var(--moss); border-radius: 99px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; }
.reach { display: flex; justify-content: center; }
.reach svg { width: 100%; max-width: 380px; height: auto; }

@media (max-width: 900px) {
  .journeys { grid-template-columns: repeat(2, 1fr); }
  .service-area__grid { grid-template-columns: 1fr; }
  .reach { order: -1; max-width: 320px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .journeys { grid-template-columns: 1fr; }
  .home-search { flex-direction: column; }
}

.kc-help__main { flex: 1; }
.kc-help__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn--on-dark-outline { border-color: rgba(244,239,228,.55); color: var(--paper); }
.btn--on-dark-outline:hover { background: rgba(244,239,228,.1); }

/* Cookie consent banner */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--deep-green); color: #EDE7D8; box-shadow: 0 -8px 30px rgba(0,0,0,.22); }
.consent__inner { max-width: 1100px; margin: 0 auto; padding: 18px 24px; display: grid; grid-template-columns: 1fr auto; gap: 12px 28px; align-items: center; }
.consent__text { font-size: 13.5px; line-height: 1.5; color: #D6D0C1; max-width: 580px; grid-column: 1; }
.consent__text strong { color: var(--panel-cream); }
.consent__opts { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #EDE7D8; grid-column: 1; }
.consent__opt { display: flex; align-items: center; gap: 7px; }
.consent__opt span { color: #9FA593; }
.consent__opt input { width: 16px; height: 16px; accent-color: #B9C2AB; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; grid-column: 2; grid-row: 1 / span 2; align-content: center; }
.consent .btn--outline { border-color: rgba(244,239,228,.5); color: var(--paper); }
.consent .btn--outline:hover { background: rgba(244,239,228,.1); }
@media (max-width: 720px) {
  .consent__inner { grid-template-columns: 1fr; }
  .consent__actions { grid-column: 1; grid-row: auto; }
}

.form-doc__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 18px; }
.form-doc__meta div { background: var(--panel-cream); border: 1px solid var(--hairline); border-radius: 8px; padding: 14px 16px; font-size: 14px; line-height: 1.5; color: var(--soft-ink); }
.form-doc__privacy { background: var(--panel-sage); border-radius: 8px; padding: 12px 16px; font-size: 13.5px; line-height: 1.55; color: var(--moss); margin: 0 0 18px; }
.form-doc__privacy.is-warn { background: #f6e9e2; color: #8a3b2f; }
@media (max-width: 560px) { .form-doc__meta { grid-template-columns: 1fr; } }

/* Sticky mobile quick-action bar (injected by site.js on all pages) */
.quickbar { display: none; }
@media (max-width: 760px) {
  .quickbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    background: var(--panel-cream); border-top: 1px solid var(--hairline); box-shadow: 0 -6px 20px rgba(43,41,34,.10); }
  .quickbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    padding: 9px 4px 8px; min-height: 54px; text-decoration: none; color: var(--soft-ink); font: 600 11px var(--font-body); text-align: center; }
  .quickbar a:active { background: rgba(60,78,64,.08); }
  .quickbar .qb-ic { font-size: 17px; line-height: 1; color: var(--moss); }
  .quickbar .qb-ic svg { width: 18px; height: 18px; display: block; }
  .quickbar a.qb-call { background: var(--moss); color: var(--paper); }
  .quickbar a.qb-call .qb-ic { color: var(--paper); }
  body { padding-bottom: 58px; }
}
.quickbar a.qb-wa .qb-ic { color: #25D366; }

/* Global WhatsApp / contact — desktop persistent panel */
.contact-fab { display: none; }
@media (min-width: 761px) {
  .contact-fab { display: flex; flex-direction: column; gap: 8px; position: fixed; right: 18px; bottom: 18px; z-index: 110;
    background: var(--card); border: 1px solid var(--hairline); border-radius: 14px; padding: 15px 16px 14px; width: 226px;
    box-shadow: 0 14px 40px rgba(43,41,34,.16); }
  .contact-fab__t { font-family: var(--font-display); font-size: 17px; color: var(--ink); margin: 0; }
  .contact-fab__s { font-size: 12.5px; color: var(--muted); margin: 0 0 4px; }
  .contact-fab__btn { width: 100%; text-align: center; }
  .contact-fab__wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; text-align: center;
    background: #25D366; color: #fff; border: 0; }
  .contact-fab__wa:hover { background: #1da851; color: #fff; }
  .contact-fab__waic { width: 16px; height: 16px; display: inline-block; }
  .contact-fab__waic svg { width: 16px; height: 16px; display: block; fill: #fff; }
  .contact-fab__qr { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 4px;
    margin-top: 4px; text-decoration: none; color: var(--muted); font: 600 10px var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
  .contact-fab__qr img { width: 78px; height: 78px; background: #fff; padding: 5px; border-radius: 8px; border: 1px solid var(--hairline); display: block; }
  .contact-fab__qr:hover { color: var(--moss); }
}
/* Footer WhatsApp + emergency line */
.site-footer__wa { display: inline-flex; align-items: center; gap: 6px; color: #9FD8A8 !important; text-decoration: none; }
.site-footer__wa:hover { text-decoration: underline; }
.site-footer__wa svg { width: 14px; height: 14px; fill: currentColor; }
.site-footer__emergency { color: #C9C4B4; font-size: 13.5px; padding-top: 16px; }
.site-footer__emergency strong { color: var(--paper); }
.site-footer__qr { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; margin-top: 10px; text-decoration: none; font: 600 10px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #9FA593; }
.site-footer__qr img { width: 86px; height: 86px; background: #fff; padding: 6px; border-radius: 8px; display: block; }
.site-footer__qr:hover { color: var(--paper); }

@media print {
  .utility, .masthead, .site-footer, .form-doc__print, .skip-link, .contact-fab,
  .breadcrumb, .kc-help, .form-web-extras, .quickbar, .kc-minisearch { display: none !important; }
  body { padding-bottom: 0 !important; }
  body, .page { background: #fff !important; }
  .form-doc { padding: 0; max-width: none; }
  .form-doc__box { border-color: #444; }
  a[href]::after { content: ''; }
}

/* ===================================================================
   CONTENT-PAGE RESPONSIVE
   =================================================================== */
@media (max-width: 1000px) {
  .gallery { grid-template-columns: 1fr; }
  .filters { position: static; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; display: none; }
  .dl-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .directory { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px) {
  .help-row, .contact-grid, .contact-branches, .pair,
  .info-grid--2, .callout__grid, .related-grid { grid-template-columns: 1fr; }
  .pathways, .topic-grid, .memorials, .downloads, .people, .values, .info-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .directory { grid-template-columns: repeat(2, 1fr); }
  .pathways { margin-top: 24px; }
  .cta-dark--flex { flex-direction: column; align-items: flex-start; }
  .cost-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .page-hero__title { font-size: 36px; }
  .page-hero__inner { padding: 44px 20px 40px; }
  .wrap { padding: 0 20px; }
  .reassure { padding: 44px 20px; }
  .pathways, .topic-grid, .memorials, .downloads, .people, .values,
  .info-grid--3, .dl-mini-grid, .directory, .form-row { grid-template-columns: 1fr; }
  .article h1 { font-size: 32px; }
  .step { grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 22px; }
  .closing__quote, .reassure__quote, .cta-dark--center .cta-dark__title { font-size: 24px; }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (max-width: 1000px) {
  .planning-teaser__grid,
  .notices__grid { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .homes__grid { grid-template-columns: 1fr; }
}

@media (max-width: 1160px) {
  /* Collapse primary nav into a mobile menu (raised for the 7-item nav) */
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--panel-cream);
    border-bottom: 1px solid #EAE2D2;
    box-shadow: 0 16px 34px rgba(43, 41, 34, .12);
    padding: 8px 20px 18px;
    display: none;
  }
  body.nav-open .nav { display: flex; }
  .nav a {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--ink);
    padding: 16px 4px;
    border-bottom: 1px solid #ECE5D5;
  }
  .nav a[aria-current="page"] { border-bottom: 1px solid #ECE5D5; }
  .nav__call {
    display: block;
    margin-top: 16px;
    padding: 13px 16px;
    background: var(--moss);
    color: var(--paper) !important;
    text-align: center;
    border-radius: 6px;
    border-bottom: 0 !important;
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
  }
  .utility__inner { font-size: 13px; }
}

@media (max-width: 640px) {
  .hero { padding: 44px 20px 52px; }
  .hero__title { font-size: 36px; }
  .triage { grid-template-columns: 1fr; }
  .ethos { padding: 24px 20px 60px; }
  .ethos__quote { font-size: 25px; }
  .homes, .services, .planning-teaser, .notices { padding-left: 0; padding-right: 0; }
  .section__title { font-size: 30px; }
  .services__grid { grid-template-columns: 1fr; }
  .utility__inner { flex-direction: column; align-items: flex-start; gap: 4px; }
  .utility__right { gap: 16px; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ============================================================================
   ACCESSIBILITY CONTROLS & UNIVERSAL SEARCH  (Phase 2.95)
   Text-size + high-contrast preferences (persisted) and a site-wide search
   overlay over assets/data/search-index.json. Controls injected by site.js
   into the top utility bar; markup stays byte-identical across pages.
   ============================================================================ */

/* ---- Text size: scale the whole document. Levels 1 and 2 only. ---- */
html[data-textsize="1"] { zoom: 1.12; }
html[data-textsize="2"] { zoom: 1.25; }

/* ---- High contrast: re-map the palette to maximum legibility ---- */
html.dcs-contrast {
  --paper: #ffffff; --board: #ffffff; --card: #ffffff;
  --panel-cream: #ffffff; --panel-stone: #f3f3f1; --panel-sage: #eef1ec;
  --moss: #173a23; --deep-green: #0e2a17; --footer-green: #0e1a11;
  --ink: #000000; --soft-ink: #14130e; --muted: #2e2b23;
  --hairline: #6b6557; --hairline-2: #4a4538; --gold: #6c5120;
}
html.dcs-contrast a { text-decoration: underline; }
html.dcs-contrast .btn { border: 2px solid currentColor; }
html.dcs-contrast :focus-visible { outline: 3px solid #173a23; outline-offset: 2px; }

/* ---- Utility-bar launchers (Search / Accessibility) ---- */
.utility__tool {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px; text-decoration: none;
}
.utility__tool:hover { text-decoration: underline; }
.utility__tool svg { width: 14px; height: 14px; }
.utility__left { display: flex; gap: 18px; align-items: center; }

/* ---- Shared overlay (search + a11y panels) ---- */
.dcs-overlay { position: fixed; inset: 0; z-index: 1300; display: none; }
.dcs-overlay.is-open { display: block; }
.dcs-overlay__backdrop { position: absolute; inset: 0; background: rgba(38, 44, 36, .55); }
.dcs-overlay__panel {
  position: relative; max-width: 640px; margin: 7vh auto 0;
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  max-height: 82vh; display: flex; flex-direction: column; overflow: hidden;
}
.dcs-overlay__panel--sm { max-width: 420px; }
.dcs-overlay__head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px; border-bottom: 1px solid var(--hairline);
}
.dcs-overlay__title { font-family: var(--font-display); font-size: 19px; color: var(--ink); margin: 0; flex: 1; }
.dcs-overlay__close {
  background: none; border: 0; cursor: pointer; color: var(--muted);
  font-size: 22px; line-height: 1; padding: 4px 8px; border-radius: 8px;
}
.dcs-overlay__close:hover { background: var(--panel-stone); color: var(--ink); }

/* Welcome panel — "How can we help today?" (reuses .dcs-overlay) */
.dcs-welcome { max-width: 850px; }
.dcs-welcome__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: none; border: 0; cursor: pointer; color: var(--muted);
  font-size: 26px; line-height: 1; width: 40px; height: 40px; border-radius: 50%;
}
.dcs-welcome__close:hover { background: var(--panel-stone); color: var(--ink); }
.dcs-welcome__body { padding: 34px 34px 26px; overflow: auto; }
.dcs-welcome__eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--gold); font-weight: 600; margin: 0 0 8px; }
.dcs-welcome__title { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.12; color: var(--ink); margin: 0 0 8px; }
.dcs-welcome__sub { color: var(--soft-ink); font-size: 15.5px; line-height: 1.55; margin: 0 0 22px; max-width: 640px; }
.dcs-welcome__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.dcs-welcome__opt {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px;
  border: 1px solid var(--hairline-2); border-radius: 12px; background: var(--paper);
  text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.dcs-welcome__opt:hover { border-color: var(--moss); box-shadow: 0 6px 18px rgba(60, 78, 64, .10); }
.dcs-welcome__opt:focus-visible { outline: 3px solid var(--moss); outline-offset: 2px; }
.dcs-welcome__opt-ic {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: #E7EADF; color: var(--moss);
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.dcs-welcome__opt-t { display: block; font-weight: 600; font-size: 15.5px; color: var(--ink); line-height: 1.25; }
.dcs-welcome__opt-d { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.dcs-welcome__direct { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 0; }
.dcs-welcome__reassure { font-size: 13.5px; color: var(--soft-ink); margin: 16px 0 0; }
.dcs-welcome__reassure a { color: var(--moss); font-weight: 600; }
.dcs-welcome__continue {
  display: block; margin: 16px auto 0; background: none; border: 0; cursor: pointer;
  color: var(--muted); font: 600 14px var(--font-body); text-decoration: underline;
  padding: 8px 12px; border-radius: 8px;
}
.dcs-welcome__continue:hover { color: var(--ink); }
.dcs-welcome__continue:focus-visible, .dcs-welcome__close:focus-visible { outline: 3px solid var(--moss); outline-offset: 2px; }
.dcs-overlay.is-open .dcs-welcome { animation: dcsWelcomeIn .28s ease both; }
@keyframes dcsWelcomeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.site-footer__help { background: none; border: 0; cursor: pointer; color: #9FA593; font: inherit; font-size: 13px; text-decoration: underline; padding: 4px; }
.site-footer__help:hover { color: #fff; }
@media (max-width: 640px) {
  .dcs-overlay__panel.dcs-welcome { max-width: 100%; margin: 0; height: 100%; max-height: 100%; border-radius: 0; }
  .dcs-welcome__grid { grid-template-columns: minmax(0, 1fr); }
  .dcs-welcome__body { padding: 24px 20px 28px; }
  .dcs-welcome__direct .btn { flex: 1; }
}

/* Plan-ahead quote-tool CTA (Planning page) */
.plan-quote {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(135deg, #F4EFE4, #ECE6D6);
  border: 1px solid var(--hairline); border-radius: 16px; padding: 28px 32px;
}
.plan-quote__text { flex: 1; min-width: 260px; }
.plan-quote__title { font-family: var(--font-display); font-size: 27px; color: var(--ink); margin: 6px 0 8px; }
.plan-quote__desc { color: var(--soft-ink); font-size: 15.5px; line-height: 1.6; margin: 0; max-width: 560px; }
.plan-quote__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 640px) { .plan-quote { padding: 24px 20px; } .plan-quote__actions { width: 100%; } .plan-quote__actions .btn { width: 100%; } }

/* search field */
.dcs-search__field { padding: 16px 18px; }
.dcs-search__input {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 17px;
  padding: 13px 15px; border: 1px solid var(--hairline-2); border-radius: 10px;
  color: var(--ink); background: var(--paper);
}
.dcs-search__input:focus { outline: 2px solid var(--moss); border-color: var(--moss); }
.dcs-results { overflow-y: auto; padding: 4px 0 10px; }
.dcs-results__label {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); padding: 12px 18px 4px; margin: 0;
}
.dcs-result {
  display: block; padding: 11px 18px; text-decoration: none;
  border-left: 3px solid transparent;
}
.dcs-result:hover, .dcs-result.is-active { background: var(--panel-sage); border-left-color: var(--moss); }
.dcs-result__t { display: block; color: var(--ink); font-weight: 600; font-size: 15.5px; }
.dcs-result__s { display: block; color: var(--muted); font-size: 13px; margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcs-result__type { font-size: 11px; color: var(--moss); text-transform: capitalize; }
.dcs-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 18px 14px; }
.dcs-chip {
  font: inherit; font-size: 13px; cursor: pointer; color: var(--moss);
  background: var(--panel-stone); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 5px 12px;
}
.dcs-chip:hover { background: var(--panel-sage); }
.dcs-empty { padding: 18px; color: var(--muted); font-size: 14px; }

/* a11y panel rows */
.a11y-row { padding: 14px 18px; border-bottom: 1px solid var(--hairline); }
.a11y-row:last-child { border-bottom: 0; }
.a11y-row__label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.a11y-seg { display: inline-flex; border: 1px solid var(--hairline-2); border-radius: 10px; overflow: hidden; }
.a11y-seg button {
  font: inherit; cursor: pointer; border: 0; background: var(--paper);
  color: var(--soft-ink); padding: 8px 14px; border-right: 1px solid var(--hairline);
}
.a11y-seg button:last-child { border-right: 0; }
.a11y-seg button[aria-pressed="true"] { background: var(--moss); color: #fff; }
.a11y-row__hint { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }

/* ---- Downloads page: quick-jump chips + grouped topic sections ---- */
.dl-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.dl-chip {
  font-size: 13.5px; text-decoration: none; color: var(--moss);
  background: var(--panel-stone); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 6px 13px;
}
.dl-chip:hover { background: var(--panel-sage); }
.dl-sec__lede { color: var(--soft-ink); font-size: 15.5px; margin: 0 0 16px; max-width: 720px; }
.dl-sec__head {
  font-family: var(--font-display); font-size: 21px; color: var(--ink);
  margin: 0 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--hairline);
}
[id^="dl-"] { scroll-margin-top: 96px; }

/* ============ Website assistant (chat widget) ============ */
.dcs-chat-launch { position: fixed; left: 18px; bottom: 18px; z-index: 130; display: inline-flex; align-items: center; gap: 8px;
  background: var(--moss); color: #F4EFE4; border: none; border-radius: 26px; padding: 12px 18px 12px 14px; cursor: pointer;
  font: 600 14.5px var(--font-body); box-shadow: 0 12px 30px rgba(43,41,34,.22); transition: transform .12s ease, box-shadow .12s ease; }
.dcs-chat-launch:hover { transform: translateY(-1px); box-shadow: 0 16px 38px rgba(43,41,34,.28); }
.dcs-chat-launch svg { width: 20px; height: 20px; }
.dcs-chat-launch.is-hidden { display: none; }

.dcs-chat-panel { position: fixed; left: 18px; bottom: 18px; z-index: 131; width: 372px; max-width: calc(100vw - 36px);
  height: 560px; max-height: calc(100vh - 36px); background: var(--card); border: 1px solid var(--hairline); border-radius: 18px;
  box-shadow: 0 24px 60px rgba(43,41,34,.26); display: none; flex-direction: column; overflow: hidden; }
.dcs-chat-panel.is-open { display: flex; }
.dcs-chat-head { background: var(--moss); color: #F4EFE4; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.dcs-chat-head__t { font-family: var(--font-display); font-size: 17px; margin: 0; }
.dcs-chat-head__s { font-size: 12px; margin: 2px 0 0; color: #C7D0C2; }
.dcs-chat-x { background: none; border: none; color: #F4EFE4; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 2px; }
.dcs-chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--panel-cream); }
.dcs-msg { max-width: 86%; font-size: 14.5px; line-height: 1.5; padding: 10px 13px; border-radius: 14px; word-wrap: break-word; }
.dcs-msg a { color: inherit; text-decoration: underline; }
.dcs-msg--bot { align-self: flex-start; background: #EBEEE3; color: var(--ink); border-bottom-left-radius: 5px; }
.dcs-msg--me { align-self: flex-end; background: var(--moss); color: #F4EFE4; border-bottom-right-radius: 5px; }
.dcs-msg > div + div { margin-top: 3px; }
.dcs-msg .dcs-sp { height: 8px; }
.dcs-msg strong { font-weight: 600; }
.dcs-msg .dcs-ul { margin: 5px 0; padding-left: 18px; }
.dcs-msg .dcs-ul li { margin: 3px 0; }
.dcs-msg--bot a { color: var(--moss); text-decoration: underline; }
.dcs-msg--me a { color: #F4EFE4; text-decoration: underline; }
.dcs-chips { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; margin-top: 2px; }
.dcs-chip { background: var(--card); border: 1px solid var(--hairline); color: var(--moss); border-radius: 18px; padding: 7px 13px;
  font: 500 13.5px var(--font-body); cursor: pointer; text-align: left; transition: border-color .12s ease; }
.dcs-chip:hover { border-color: var(--moss); }
.dcs-typing { display: inline-flex; gap: 4px; padding: 2px 0; }
.dcs-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); opacity: .5; animation: dcsblink 1.2s infinite; }
.dcs-typing i:nth-child(2) { animation-delay: .2s; }
.dcs-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes dcsblink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: .9; } }
.dcs-chat-foot { border-top: 1px solid var(--hairline); padding: 10px 12px 12px; background: var(--card); }
.dcs-chat-form { display: flex; gap: 8px; }
.dcs-chat-input { flex: 1; border: 1px solid var(--hairline); border-radius: 22px; padding: 10px 14px; font: 400 14.5px var(--font-body);
  color: var(--ink); background: var(--paper); }
.dcs-chat-input:focus { outline: none; border-color: var(--moss); }
.dcs-chat-send { flex: none; width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--moss); color: #F4EFE4;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dcs-chat-send:disabled { opacity: .5; cursor: default; }
.dcs-chat-send svg { width: 19px; height: 19px; }
.dcs-chat-note { font-size: 11.5px; color: var(--muted); margin: 8px 2px 0; line-height: 1.5; }
.dcs-chat-note a { color: var(--moss); }
.dcs-chat-emailcta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  margin: 0 0 8px; padding: 9px 12px; border: 1px solid var(--moss); border-radius: 9px; background: transparent;
  color: var(--moss); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; line-height: 1; }
.dcs-chat-emailcta:hover { background: var(--moss); color: #F4EFE4; }
.dcs-chat-emailcta svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 760px) {
  .dcs-chat-launch { bottom: 74px; }
  .dcs-chat-panel { left: 10px; right: 10px; bottom: 10px; width: auto; height: auto; top: 64px; max-height: none; }
}

/* ===================== MOBILE OPTIMISATION PASS ===================== */
/* Calmer, larger tap targets for a bereaved family on a phone. */
.quickbar a.qb-pay .qb-ic { color: var(--gold, #97793F); }
.quickbar a.qb-pay .qb-ic svg { width: 19px; height: 19px; }
@media (max-width: 640px) {
  .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; line-height: 1.2; }
  /* Stack the most important actions full-width so they are easy to hit */
  .urgent__actions, .pay-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .urgent__actions .btn, .pay-actions .btn { width: 100%; }
  /* Homepage Pay/Donate band: stack text above full-width buttons */
  .pay-band__inner { flex-direction: column; align-items: stretch !important; }
  .pay-band__inner .pay-actions { width: 100%; }
  /* Footer: phone, WhatsApp, email and payment links become big buttons */
  .footer-col--contact a:not(.site-footer__qr),
  .footer-col[aria-label="Payments"] a {
    display: flex; align-items: center; justify-content: center; min-height: 48px;
    margin-top: 8px; padding: 10px 14px; border: 1.5px solid rgba(244,239,228,.45); border-radius: 9px;
    color: var(--paper) !important; font-weight: 600; text-decoration: none; }
  .footer-col--contact a:not(.site-footer__qr):active,
  .footer-col[aria-label="Payments"] a:active { background: rgba(244,239,228,.16); }
  .footer-col--contact .site-footer__phone { font-size: 19px; background: rgba(244,239,228,.12); }
  .footer-col--contact span { display: block; text-align: center; margin-top: 6px; color: #9FA593; }
}
/* Mobile hero — shorter, emergency-focused */
@media (max-width: 580px) {
  .hero { padding: 28px 18px 34px; }
  .hero__title { font-size: 27px; line-height: 1.16; }
  .hero__lede { font-size: 15.5px; }
  .urgent { padding: 22px 18px; }
  .urgent__title { font-size: 22px; }
  .jcard__links a { padding: 8px 0; }       /* breathing room between stacked text links */
}

/* ---- Funeral costs / pricing page ---- */
.fcost-twocol{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));}
.fcost-cards{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));}
.fcost-card{background:#fff;border:1px solid #e7e1d3;border-radius:14px;padding:18px 20px;}
.fcost-card h3{margin:0 0 6px;font-size:1.12rem;}
.fcost-from{color:#6f6a5c;font-size:.82rem;margin:0;}
.fcost-price{font-size:1.6rem;font-weight:600;margin:2px 0 0;color:#2c2a24;}
.fcost-add{color:#6f6a5c;font-size:.86rem;}
.cost-table{width:100%;border-collapse:collapse;margin:.4rem 0 1.2rem;background:#fff;border:1px solid #ece6d8;border-radius:12px;overflow:hidden;}
.cost-table caption{caption-side:top;text-align:left;font-weight:600;font-size:1.05rem;padding:14px 14px 6px;color:#2c2a24;}
.cost-table th,.cost-table td{text-align:left;padding:12px 14px;border-top:1px solid #f0ebdf;font-size:.96rem;font-weight:400;vertical-align:top;}
.cost-table tr:first-child th,.cost-table tr:first-child td{border-top:none;}
.cost-table td.amt{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;color:#2c2a24;}
.cost-desc{display:block;color:#6f6a5c;font-size:.82rem;margin-top:2px;font-weight:400;}
.fc-faq{border-bottom:1px solid #ece6d8;}
.fc-faq summary{cursor:pointer;padding:13px 0;font-weight:500;font-size:1.02rem;}
.fc-faq p{margin:0 0 14px;color:#4a463c;}

/* ---- My funeral wishes (online form) ---- */
.ws-privacy{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:.92rem;color:#5f6b5d;margin-top:16px;}
.ws-lock{font-size:1rem;}
.ws-saved{background:#e6efe6;color:#3a5145;font-size:.78rem;padding:3px 9px;border-radius:999px;}
.ws-form{display:flex;flex-direction:column;gap:18px;}
.ws-fs{border:1px solid #e7e1d3;border-radius:14px;padding:16px 18px;margin:0;background:#fff;}
.ws-fs legend{font-weight:600;font-size:1.05rem;padding:0 6px;color:#2c2a24;}
.ws-opt-tag{font-weight:400;font-size:.72rem;color:#8a8576;background:#f1ede2;padding:2px 8px;border-radius:999px;margin-left:6px;vertical-align:middle;}
.ws-opts{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));}
.ws-opt{display:flex;align-items:center;gap:9px;font-size:.96rem;padding:9px 11px;border:1px solid #ece6d8;border-radius:10px;cursor:pointer;}
.ws-opt input{width:18px;height:18px;flex:none;}
.ws-field{display:flex;flex-direction:column;gap:5px;font-size:.9rem;color:#4a463c;}
.ws-field input,.ws-form textarea{width:100%;padding:11px 12px;border:1px solid #d9d2c2;border-radius:10px;font:inherit;background:#fff;}
.ws-grid2{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));}
.ws-actions{display:flex;gap:10px;flex-wrap:wrap;}
.ws-emailwrap{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;background:#faf7f0;border:1px solid #ece6d8;border-radius:12px;padding:14px;}
.ws-emailwrap .ws-field{flex:1;min-width:200px;}
.ws-send{background:#f4f6f1;border:1px solid #e2e7dd;border-radius:14px;padding:16px 18px;}
.ws-send__head{font-weight:600;margin:0 0 4px;}
.ws-send__sub{color:#5f6b5d;font-size:.9rem;margin:0 0 12px;}
.ws-consent{display:flex;gap:9px;align-items:flex-start;font-size:.92rem;margin-bottom:12px;}
.ws-consent input{margin-top:3px;}
.ws-msg{padding:11px 14px;border-radius:10px;background:#e6efe6;color:#2f5142;font-size:.95rem;}
.ws-msg--err{background:#fbeceb;color:#8a2d24;}
.btn--ghost{background:transparent;border-color:transparent;}
.ws-printonly{display:none;}
@media print{
  body * {visibility:hidden !important;}
  #wishes-print, #wishes-print * {visibility:visible !important;}
  #wishes-print{display:block !important;position:absolute;inset:0;padding:30px;font-family:'Newsreader',Georgia,serif;color:#1d1d1d;}
  #wishes-print h1{font-size:25px;margin:0 0 4px;}
  #wishes-print .ws-pmeta{color:#5f6b5d;font-size:12px;margin:0 0 20px;}
  #wishes-print .ws-prow{margin:0 0 13px;page-break-inside:avoid;}
  #wishes-print .ws-pk{font-weight:600;color:#3a4e42;font-size:13px;}
  #wishes-print .ws-pv{margin-top:2px;font-size:15px;line-height:1.5;}
  @page{margin:18mm;}
}

/* ---- Our story: family timeline (enhanced) ---- */
.story-lead{font-family:var(--font-display);font-style:italic;font-size:21px;color:var(--moss);margin:0 0 4px;}
.jx__photo--ph{background-image:url('/assets/img/crest-white.png'),linear-gradient(150deg,#c3bca6,#9ea48d);background-size:50px,cover;background-position:center;background-repeat:no-repeat;}
.jx__card h3 + p{margin-top:0;}
.jx__card p + p{margin-top:11px;}
.jx__values{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:13px 0 0;}
.jx__values li{background:var(--panel-sage,#eef1ea);color:var(--moss);font-size:12.5px;font-weight:700;letter-spacing:.01em;padding:5px 13px;border-radius:999px;}
/* Today — highlighted */
.story-today{background:var(--panel-sage,#eef1ea);border:1px solid var(--moss);border-radius:22px;padding:40px 38px;max-width:1000px;margin:8px auto 0;}
.story-today .section__title{margin:6px 0 14px;}
.story-today p{color:var(--soft-ink);line-height:1.7;font-size:15.5px;}
.story-today__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;list-style:none;padding:0;margin:22px 0;}
.story-today__grid li{background:#fff;border:1px solid var(--hairline-2);border-radius:12px;padding:13px 16px;font-weight:600;color:var(--ink);font-size:14.5px;display:flex;align-items:center;gap:9px;}
.story-today__grid li::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--gold);flex:none;}
.story-today__grid li.is-soon{color:var(--muted);font-weight:500;}
.story-today__grid li.is-soon::before{background:var(--hairline-2);}
.story-today__grid li.is-soon span{font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--gold);margin-left:auto;}
.story-today__vision{font-family:var(--font-display);font-size:19px;line-height:1.55;color:var(--ink) !important;margin:6px 0 0;}
/* Behind every funeral */
.story-behind{background:var(--card);border:1px solid var(--hairline-2);border-left:4px solid var(--gold);border-radius:0 16px 16px 0;padding:30px 34px;}
.story-behind .section__title{margin:6px 0 12px;}
.story-behind p{color:var(--soft-ink);line-height:1.75;font-size:15.5px;}
.story-behind p + p{margin-top:13px;}
/* Thank you */
.story-thanks{text-align:center;}
.story-thanks .section__title{font-style:italic;margin:6px 0 16px;}
.story-thanks p{color:var(--soft-ink);line-height:1.85;font-size:16px;max-width:680px;margin:0 auto 15px;}
/* Looking to the future */
.story-future{background:linear-gradient(135deg,#2C3326,#3c4a34);color:#fff;padding:62px 0;margin-top:6px;}
.story-future .section__title{color:#fff;text-align:center;}
.story-future p{color:#E7EADF;line-height:1.8;font-size:16.5px;text-align:center;max-width:640px;margin:14px auto 0;}
.story-future__actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:26px;}
/* scroll reveal for story sections */
.reveal--armed{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease;}
.reveal--armed.is-in{opacity:1;transform:none;}

/* ---- Digital legacy planner print ---- */
@media print{
  #legacy-print, #legacy-print * {visibility:visible !important;}
  #legacy-print{display:block !important;position:absolute;inset:0;padding:30px;font-family:'Newsreader',Georgia,serif;color:#1d1d1d;}
  #legacy-print h1{font-size:25px;margin:0 0 4px;}
  #legacy-print .ws-pmeta{color:#5f6b5d;font-size:12px;margin:0 0 20px;}
  #legacy-print .ws-prow{margin:0 0 13px;page-break-inside:avoid;}
  #legacy-print .ws-pk{font-weight:600;color:#3a4e42;font-size:13px;}
  #legacy-print .ws-pv{margin-top:2px;font-size:15px;line-height:1.5;}
}

/* ---- Testimonials ---- */
.rate{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:3px;}
.rate input{position:absolute;width:1px;height:1px;opacity:0;}
.rate label{font-size:32px;color:#d8d2c4;cursor:pointer;line-height:1;transition:color .12s;}
.rate label:hover,.rate label:hover ~ label,.rate input:checked ~ label{color:#caa64a;}
.rate input:focus-visible + label{outline:2px solid #3a4e42;outline-offset:2px;border-radius:4px;}
.tcards{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));}
.tcard{background:#fff;border:1px solid #e7e1d3;border-radius:16px;padding:22px 24px;margin:0;}
.tcard__stars{color:#caa64a;font-size:16px;letter-spacing:2px;}
.tcard__quote{color:#3a3730;line-height:1.65;margin:10px 0 14px;font-size:15.5px;font-family:var(--font-display,Georgia),serif;}
.tcard__who{font-weight:600;color:#2c2a24;font-size:14px;}
.tcard__loc{color:#6f6a5c;font-size:13px;}

/* ---- Directory: mobile filters + empty state ---- */
.dir-filter-toggle{display:none;}
.dir-empty{text-align:center;color:#6f6a5c;padding:22px 16px;font-size:15px;}
@media (max-width:760px){
  .dir-filter-toggle{display:inline-flex;align-items:center;gap:7px;margin:12px 0 0;padding:10px 18px;border:1px solid #d9d2c2;border-radius:999px;background:#fff;font:inherit;font-weight:600;cursor:pointer;min-height:44px;}
  .dir-filter-toggle::before{content:'\2699';font-size:15px;}
  .dir-filters{display:none;}
  .dir-filters.is-open{display:grid;gap:11px;margin-top:12px;}
}

/* Floral tributes gallery */
.flower-gallery { display: grid; grid-template-columns: 1fr; gap: 26px; max-width: 940px; margin: 0 auto; }
.flower-board { margin: 0; }
.flower-board img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--hairline-2); box-shadow: 0 8px 24px rgba(46, 78, 64, .10); background: #fff; display: block; }
.flower-board figcaption { margin-top: 10px; text-align: center; font-family: var(--font-display); font-size: 19px; color: var(--ink); }
@media (min-width: 900px) { .flower-gallery { gap: 34px; } }
.flower-priced-price { font-family: var(--font-display); font-size: 20px; color: var(--moss); margin: 10px 0 4px; }
.flower-priced-info { font-size: 12.5px; color: var(--muted); margin: 2px 0; }
