/* At Rest Pet Cremation Services
   Colours are taken from the logo. Change them here and the whole site updates. */
:root {
  --purple: #432b7f;        /* brand purple from the logo */
  --purple-deep: #2e1d5a;   /* hover / pressed */
  --dove: #d8d4d5;          /* soft grey from the logo circle */
  --mist: #f3f1f6;          /* pale lilac-grey section background */
  --paper: #ffffff;
  --ink: #241d33;           /* main text */
  --ink-soft: #5b5468;      /* secondary text */
  --line: #e4e0ea;

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Mulish", "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1120px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-underline-offset: 3px; }
@media (hover: hover) { a:hover { color: var(--purple-deep); } }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.muted { color: var(--ink-soft); }
.small { font-size: .92rem; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--mist { background: var(--mist); }
.section-head { max-width: 40em; margin-bottom: 2.5rem; }
.section-head p { color: var(--ink-soft); }

.skip { position: absolute; left: -999px; top: 0; background: var(--purple); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 700 1rem/1 var(--sans);
  padding: .95rem 1.5rem; border-radius: 999px;
  text-decoration: none; border: 2px solid var(--purple);
  transition: background-color .15s, color .15s;
  min-height: 48px;
}
.btn--primary { background: var(--purple); color: #fff; }
.btn--ghost { background: transparent; color: var(--purple); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.brand img { width: 56px; height: 56px; }
.brand-name { font-family: var(--serif); font-size: 1.15rem; line-height: 1.15; font-weight: 500; }
.brand-name span { display: block; font-family: var(--sans); font-size: .8rem; color: var(--ink-soft); font-weight: 600; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav a { display: block; padding: .55rem .8rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
@media (hover: hover) { .nav a:hover { background: var(--mist); color: var(--purple); } }
.nav a[aria-current="page"] { color: var(--purple); box-shadow: inset 0 -2px 0 var(--purple); border-radius: 0; }


.menu-toggle { display: none; background: none; border: 0; padding: .6rem; margin-right: -.6rem; color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1100px) {
  .header-actions { display: none; }
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: .5rem 1.25rem 1.25rem; }
  .nav a { padding: .9rem .25rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .brand img { width: 46px; height: 46px; }
  .header-inner { min-height: 70px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem); background: linear-gradient(var(--mist), var(--paper)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { max-width: 13em; }
.hero-note { margin-top: 1.25rem; font-size: .95rem; color: var(--ink-soft); }

/* The circle motif is taken from the logo */
.circle-photo { position: relative; aspect-ratio: 1; border-radius: 50%; background: var(--dove); overflow: hidden; }
.circle-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero .circle-photo { width: min(100%, 460px); margin-left: auto; }
.hero .circle-photo::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px solid var(--dove); }

.photo-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  width: 100%; height: 100%; padding: 1.5rem; line-height: 1.35;
  background: var(--dove); color: #6e6780; font-size: .9rem; font-weight: 600;
}
.photo-placeholder::before { content: "Photo to add"; font-weight: 400; font-size: .85em; margin-bottom: .3em; opacity: .85; }
.photo-placeholder--rect { aspect-ratio: 4 / 3; border-radius: var(--radius); height: auto; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .circle-photo { width: min(62%, 240px); margin: 0 auto; order: -1; }
  .hero .circle-photo::after { inset: -12px; }
}

/* ---------- Reassurance list ---------- */
.assure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 1.75rem 0; border-block: 1px solid var(--line); }
.assure li { list-style: none; display: flex; gap: .75rem; align-items: flex-start; font-weight: 600; line-height: 1.4; }
.assure svg { flex: none; width: 26px; height: 26px; color: var(--purple); margin-top: 0; }
.assure span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .92rem; margin-top: .2rem; }
.assure { margin: 0; padding-left: 0; }
@media (max-width: 900px) { .assure { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .assure { grid-template-columns: 1fr; } }

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; position: relative; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--purple); color: #fff;
  font-family: var(--serif); font-size: 1.35rem;
  margin-bottom: 1rem;
}
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps li { padding-left: 4rem; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
.split .circle-photo { width: min(100%, 400px); margin-inline: auto; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split .circle-photo { width: min(80%, 320px); } }

/* ---------- Service overview list ---------- */
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.service-list article { border-top: 2px solid var(--purple); padding-top: 1.25rem; }
.service-list p { color: var(--ink-soft); }
.service-list a { font-weight: 700; }
@media (max-width: 820px) { .service-list { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Testimonial ---------- */
.quote { max-width: 42em; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.45; color: var(--ink); }
.quote figcaption { margin-top: 1.25rem; color: var(--ink-soft); font-weight: 600; }
.quote .stars { color: var(--purple); letter-spacing: .15em; margin-bottom: 1rem; }

/* ---------- Areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.25rem 0 0; list-style: none; }
.areas li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .95rem; }

/* ---------- Call band ---------- */
.call-band { background: var(--purple); color: #fff; }
.call-band h2, .call-band p { color: #fff; }
.call-band p { opacity: .9; max-width: 34em; }
.call-band .btn--primary { background: #fff; color: var(--purple); border-color: #fff; }
@media (hover: hover) { .call-band .btn--primary:hover { background: var(--mist); } }
.call-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
@media (hover: hover) { .call-band .btn--ghost:hover { background: rgba(255,255,255,.12); } }
.call-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.call-band .btn-row { margin-top: 0; }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--mist); padding-block: clamp(2.5rem, 6vw, 4.25rem); }
.page-head h1 { margin-bottom: .35em; }
.page-head .lead { margin: 0; }

/* ---------- Price tables ---------- */
.price-block { margin-bottom: 3rem; max-width: 760px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.price-table caption { text-align: left; font-family: var(--serif); font-size: 1.35rem; padding-bottom: .75rem; color: var(--ink); }
.price-table th, .price-table td { padding: .9rem .25rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table thead th { font-size: .88rem; color: var(--ink-soft); font-weight: 700; border-bottom: 2px solid var(--purple); }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--purple); }
.price-table thead th:last-child { color: var(--ink-soft); }
.price-table .eg { display: block; color: var(--ink-soft); font-size: .9rem; font-weight: 400; }
.price-note { max-width: 760px;
  background: var(--mist); border-radius: var(--radius); padding: 1rem 1.25rem; font-size: .95rem; color: var(--ink-soft); }

.service-detail { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; padding-block: 2.5rem; border-top: 1px solid var(--line); }
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
.service-detail ul { padding-left: 1.2em; margin: 0 0 1em; }
.service-detail li { margin-bottom: .35em; }
@media (max-width: 820px) { .service-detail { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- FAQ ---------- */
.faq { max-width: 48em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; position: relative;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; color: var(--purple); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 1.25rem; color: var(--ink-soft); }

/* ---------- Caskets & urns ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem 1.5rem; list-style: none; padding: 0; margin: 0; }
.product-grid li { margin: 0; }
.product-grid .photo-placeholder { aspect-ratio: 1; border-radius: var(--radius); height: auto; font-size: .82rem; }
.product-grid h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: .8rem 0 .15rem; }
.product-grid p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.category { margin-bottom: 4rem; }
.category:last-child { margin-bottom: 0; }

/* ---------- Remembrance gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2.25rem 1.5rem; list-style: none; padding: 0; margin: 0; }
.gallery .circle-photo { width: 100%; }
.gallery .photo-placeholder { font-size: .8rem; padding: 1rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.urgent { background: var(--purple); color: #fff; border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem; }
.urgent h2 { color: #fff; font-size: 1.4rem; }
.urgent p { opacity: .92; }
.urgent .btn { background: #fff; color: var(--purple); border-color: #fff; width: 100%; font-size: 1.1rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-list li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-size: .9rem; color: var(--ink-soft); font-weight: 700; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; }
.map { display: block; border: 0; width: 100%; height: 340px; border-radius: var(--radius); margin-top: clamp(2.5rem, 6vw, 4rem); background: var(--mist); }

.form { background: var(--mist); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form h2 { font-size: 1.6rem; }
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
label { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .95rem; }
label .opt { font-weight: 400; color: var(--ink-soft); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .9rem; border: 1.5px solid #cfc9d8; border-radius: 10px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(67,43,127,.18); }
textarea { min-height: 140px; resize: vertical; }
.form .btn { width: 100%; margin-top: .5rem; cursor: pointer; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.ok { color: #2f6b45; }
.form-status.err { color: #a12d2d; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: #1f1830; color: #d9d4e4; padding-block: 3.5rem 2rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-family: var(--sans); font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-brand img { width: 64px; height: 64px; background: #fff; border-radius: 50%; padding: 4px; margin-bottom: 1rem; }
.footer-base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: #a59fb5; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile call bar ---------- */
.call-bar { display: none; }
@media (max-width: 1100px) {
  .call-bar {
    display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgba(36,29,51,.08);
  }
  .call-bar .btn { flex: 1; padding: .85rem .5rem; }
  .call-bar .btn--primary { flex: 1.6; }
  body { padding-bottom: 76px; }
}

/* =====================================================================
   Round 1 changes
   ===================================================================== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Clearer hover states (brand purple with a soft lilac ring) ---------- */
:root { --ring: 0 0 0 4px #d9cff2; }
.btn { transition: background-color .18s, color .18s, box-shadow .18s, border-color .18s; }
.btn--primary:focus-visible { background: var(--purple-deep); border-color: var(--purple-deep); color: #fff; box-shadow: var(--ring); } @media (hover: hover) { .btn--primary:hover { background: var(--purple-deep); border-color: var(--purple-deep); color: #fff; box-shadow: var(--ring); } }
.btn--ghost:focus-visible { background: var(--purple); border-color: var(--purple); color: #fff; box-shadow: var(--ring); } @media (hover: hover) { .btn--ghost:hover { background: var(--purple); border-color: var(--purple); color: #fff; box-shadow: var(--ring); } }
.btn:focus-visible { outline: none; }
.btn:active { transform: translateY(1px); }

.text-link { font-weight: 700; text-decoration: underline; text-decoration-color: #c4b8e4; text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color .18s, color .18s; }
@media (hover: hover) { .text-link:hover { color: var(--purple-deep); text-decoration-color: var(--purple); } }

.nav a { transition: background-color .18s, color .18s; }
@media (hover: hover) { .nav a:hover { background: #e9e3f6; color: var(--purple-deep); } }

/* Paired buttons: on computers "Send a message" leads, on phones "Call" leads */
.btn-msg { background: var(--purple); color: #fff; }
.btn-msg:focus-visible { background: var(--purple-deep); border-color: var(--purple-deep); color: #fff; box-shadow: var(--ring); } @media (hover: hover) { .btn-msg:hover { background: var(--purple-deep); border-color: var(--purple-deep); color: #fff; box-shadow: var(--ring); } }
.btn-call { background: transparent; color: var(--purple); }
.btn-call:focus-visible { background: var(--purple); color: #fff; box-shadow: var(--ring); } @media (hover: hover) { .btn-call:hover { background: var(--purple); color: #fff; box-shadow: var(--ring); } }
@media (max-width: 1100px) {
  .btn-call { order: -1; background: var(--purple); color: #fff; }
  .btn-call:focus-visible { background: var(--purple-deep); border-color: var(--purple-deep); } @media (hover: hover) { .btn-call:hover { background: var(--purple-deep); border-color: var(--purple-deep); } }
  .btn-msg { background: transparent; color: var(--purple); }
  .btn-msg:focus-visible { background: var(--purple); color: #fff; } @media (hover: hover) { .btn-msg:hover { background: var(--purple); color: #fff; } }
}

/* ---------- Header actions ---------- */
.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.header-phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: .95rem; }
.header-phone svg { width: 1.05em; height: 1.05em; color: var(--purple); }
@media (hover: hover) { .header-phone:hover { color: var(--purple); } }
.header-cta { padding: .75rem 1.15rem; font-size: .95rem; white-space: nowrap; }
.nav a { padding: .55rem .65rem; font-size: .95rem; }
@media (max-width: 1240px) { .header-phone { display: none; } }

/* ---------- Full-width photo banner (home) ---------- */
.banner { position: relative; min-height: clamp(520px, 78vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: #fff; }
.banner-slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-ph { width: 100%; height: 100%; display: flex; align-items: flex-start; justify-content: flex-end; padding: 1.25rem 1.5rem; }
.slide-ph span { background: rgba(255,255,255,.75); color: #4d4660; font-size: .82rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px; }
.slide-ph--1 { background: #a9a2b6; }
.slide-ph--2 { background: #9d97a8; }
.slide-ph--3 { background: #b3acbd; }
.slide-ph--4 { background: #958ea2; }
/* Soft purple shade so the text stays readable over any photo */
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,20,62,.87) 0%, rgba(31,20,62,.63) 45%, rgba(31,20,62,.1) 80%), linear-gradient(0deg, rgba(31,20,62,.5), transparent 40%); pointer-events: none; }
/* Home banner wash made very slightly darker (Ash, 24 Nov 2026); was .82 / .55 / .05 and .45. */
.banner-content, .banner-dots { position: relative; z-index: 2; }
.banner-content { padding-block: 4rem 1.5rem; }
.banner-text { max-width: 36rem; }
.banner h1 { color: #fff; }
.banner .lead { color: rgba(255,255,255,.9); }
.banner .hero-note { color: rgba(255,255,255,.8); }
.banner .btn-msg { background: #fff; color: var(--purple); border-color: #fff; } @media (hover: hover) { .banner .btn-call:hover { background: #fff; color: var(--purple); border-color: #fff; } }
@media (hover: hover) { .banner .btn-msg:hover { background: var(--mist); color: var(--purple-deep); border-color: var(--mist); } }
.banner .btn-call { color: #fff; border-color: rgba(255,255,255,.75); }
.banner .btn:focus-visible { box-shadow: 0 0 0 4px rgba(255,255,255,.3); } @media (hover: hover) { .banner .btn:hover { box-shadow: 0 0 0 4px rgba(255,255,255,.3); } }
@media (max-width: 1100px) {
  .banner .btn-call { background: #fff; color: var(--purple); border-color: #fff; }
  .banner .btn-msg { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
  @media (hover: hover) { .banner .btn-msg:hover { background: rgba(255,255,255,.15); color: #fff; } }
}
.banner-dots { display: flex; gap: .55rem; align-items: center; padding-bottom: 1.75rem; }
.banner-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; transition: background-color .2s, transform .2s; }
@media (hover: hover) { .banner-dot:hover { transform: scale(1.25); } }
.banner-dot.is-active { background: #fff; }
.banner-pause { margin-left: .5rem; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
@media (hover: hover) { .banner-pause:hover { background: rgba(255,255,255,.18); } }
.i-pause { width: 10px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.banner-pause.is-paused .i-pause { border: 0; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
@media (max-width: 700px) {
  .banner { min-height: 0; }
  .banner-slides { position: relative; height: 260px; }
  .banner::after { display: none; }
  .banner { color: var(--ink); background: var(--mist); }
  .banner-content { padding-block: 1.75rem .5rem; }
  .banner h1 { color: var(--ink); }
  .banner .lead { color: var(--ink-soft); }
  .banner .hero-note { color: var(--ink-soft); }
  .banner .btn-call { background: var(--purple); color: #fff; border-color: var(--purple); }
  .banner .btn-msg { background: transparent; color: var(--purple); border-color: var(--purple); }
  .banner-dots { position: absolute; top: 220px; left: 0; right: 0; padding: 0 1.25rem; }
  .slide-ph { align-items: flex-end; justify-content: flex-start; padding-bottom: 3rem; }
}

/* ---------- Testimonial carousel ---------- */
.quote-carousel { max-width: 46em; margin: 0 auto; text-align: center; }
.quote-track { display: grid; }
.quote-slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.quote-slide.is-active { opacity: 1; visibility: visible; }
.quote-slide blockquote, .review-card blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.5vw, 1.7rem); line-height: 1.45; color: var(--ink); }
.quote-slide figcaption { margin-top: 1.1rem; color: var(--ink-soft); font-weight: 600; }
.stars { color: var(--purple); letter-spacing: .15em; margin-bottom: 1rem; }
.quote-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.75rem; }
.quote-controls button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--purple); background: #fff; color: var(--purple); cursor: pointer; display: grid; place-items: center; transition: background-color .18s, color .18s, box-shadow .18s; }
.quote-controls button:focus-visible { background: var(--purple); color: #fff; box-shadow: var(--ring); outline: none; } @media (hover: hover) { .quote-controls button:hover { background: var(--purple); color: #fff; box-shadow: var(--ring); outline: none; } }
.quote-controls svg { width: 20px; height: 20px; }
.quote-count { font-size: .9rem; color: var(--ink-soft); min-width: 4em; }
.quote-more { margin: 1.25rem 0 0; }
.quote .quote-more { margin-top: 1.25rem; }

/* ---------- Areas list and coverage map ---------- */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1.5rem; padding: 0; margin: 1.25rem 0 0; list-style: none; }
.areas li { background: none; border: 0; border-radius: 0; padding: 0; font-size: 1rem; display: flex; align-items: center; gap: .5rem; }
.areas li:last-child { grid-column: 1 / -1; }
.areas svg { width: 18px; height: 18px; color: var(--purple); flex: none; }
.area-map { width: 100%; max-width: 540px; margin-inline: auto; display: block; overflow: visible; }
.area-map .ring-fill { fill: var(--mist); }
.area-map .ring { fill: none; stroke: #cdc4e0; stroke-width: 1.5; stroke-dasharray: 4 6; }
.area-map .ring-label { font: 600 13px var(--sans); fill: #8a82a0; text-anchor: middle; }
.area-map .county { font: 700 12px var(--sans); fill: #b7aecb; letter-spacing: .2em; text-anchor: middle; }
.area-map .town { fill: var(--purple); }
.area-map .town-label { font: 600 15px var(--sans); fill: var(--ink); }
.area-map .home { fill: var(--purple); }
.area-map .home-halo { fill: #d9cff2; }
.area-map .home-label { font: 500 17px var(--serif); fill: var(--purple); }

/* ---------- Call band ---------- */
.call-band-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.call-band-number { color: #fff; text-decoration: none; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; }
.call-band-number span { display: block; font-family: var(--sans); font-size: .85rem; font-weight: 600; opacity: .8; margin-bottom: .25rem; }
@media (hover: hover) { .call-band-number:hover { color: #fff; opacity: .85; } }
.call-band .btn-msg { background: #fff; color: var(--purple); border-color: #fff; }
.call-band .btn-msg:focus-visible { background: var(--mist); border-color: var(--mist); color: var(--purple-deep); box-shadow: 0 0 0 4px rgba(255,255,255,.3); } @media (hover: hover) { .call-band .btn-msg:hover { background: var(--mist); border-color: var(--mist); color: var(--purple-deep); box-shadow: 0 0 0 4px rgba(255,255,255,.3); } }
.call-band .btn-call { color: #fff; border-color: rgba(255,255,255,.7); }
.call-band .btn-call:focus-visible { background: rgba(255,255,255,.15); color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); } @media (hover: hover) { .call-band .btn-call:hover { background: rgba(255,255,255,.15); color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); } }
@media (min-width: 1101px) { .call-band .btn-call { display: none; } }
@media (max-width: 1100px) {
  .call-band-number { display: none; }
  .call-band .btn-call { background: #fff; color: var(--purple); border-color: #fff; }
  .call-band .btn-msg { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
}

/* ---------- Footer: no underlines, colour change on hover, social icons ---------- */
.site-footer a { color: #fff; text-decoration: none; transition: color .18s; }
.site-footer a:focus-visible { color: #c9b9f5; } @media (hover: hover) { .site-footer a:hover { color: #c9b9f5; } }
.site-footer li a { display: inline-block; padding-block: .1rem; }
.footer-appt { color: #c9b9f5; font-weight: 600; }
.social { display: flex; gap: .6rem; margin-top: 1.25rem !important; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); transition: background-color .18s, color .18s, box-shadow .18s; }
.social a:focus-visible { background: #fff; color: var(--purple); box-shadow: 0 0 0 4px rgba(201,185,245,.35); } @media (hover: hover) { .social a:hover { background: #fff; color: var(--purple); box-shadow: 0 0 0 4px rgba(201,185,245,.35); } }
.social svg { width: 20px; height: 20px; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner { height: clamp(200px, 30vw, 380px); }
.page-banner .photo-placeholder { border-radius: 0; }

/* ---------- Prices in two columns ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.price-block { max-width: none; }
.price-note { max-width: none; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

/* ---------- Clickable photos (caskets and remembrance) ---------- */
.zoom { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: inherit; cursor: zoom-in; border-radius: var(--radius); }
.zoom .photo-placeholder { transition: box-shadow .2s, filter .2s; }
.zoom:focus-visible .photo-placeholder { box-shadow: 0 0 0 3px var(--purple); filter: brightness(.96); } @media (hover: hover) { .zoom:hover .photo-placeholder { box-shadow: 0 0 0 3px var(--purple); filter: brightness(.96); } }
.zoom-hint { position: absolute; right: .6rem; top: .6rem; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--purple); display: grid; place-items: center; opacity: .85; transition: opacity .2s, background-color .2s, color .2s; }
.zoom-hint svg { width: 20px; height: 20px; }
.zoom:focus-visible .zoom-hint { opacity: 1; background: var(--purple); color: #fff; } @media (hover: hover) { .zoom:hover .zoom-hint { opacity: 1; background: var(--purple); color: #fff; } }
.product-grid .product-price { color: var(--purple); font-weight: 700; font-size: .98rem; margin: 0 0 .1rem; }

.gallery li { margin: 0; text-align: center; }
.zoom--pet { text-align: center; border-radius: 0; }
.zoom--pet .circle-photo { display: block; width: 100%; }
.zoom--pet:focus-visible .circle-photo { box-shadow: 0 0 0 4px var(--purple); } @media (hover: hover) { .zoom--pet:hover .circle-photo { box-shadow: 0 0 0 4px var(--purple); } }
.zoom--pet:focus-visible .photo-placeholder { box-shadow: none; } @media (hover: hover) { .zoom--pet:hover .photo-placeholder { box-shadow: none; } }
.zoom--pet .circle-photo { transition: box-shadow .2s; }
.pet-name { display: block; margin-top: .85rem; font-family: var(--serif); font-size: 1.15rem; }
.pet-name span { display: block; font-family: var(--sans); font-size: .88rem; color: var(--ink-soft); }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; border-radius: 18px; width: min(880px, 92vw); max-height: 90vh; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(20,12,40,.35); }
.lightbox::backdrop { background: rgba(26,17,48,.72); }
.lightbox[open] { display: grid; grid-template-columns: 1.3fr 1fr; }
.lightbox-media { background: var(--dove); min-height: 360px; }
.lightbox-media img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-media .photo-placeholder { min-height: 360px; border-radius: 0; font-size: 1rem; }
.lightbox-body { padding: 2.25rem 2rem; overflow: auto; }
.lightbox-body h2 { font-size: 1.7rem; margin-bottom: .3rem; }
.lightbox-kind { color: var(--ink-soft); font-weight: 600; margin-bottom: 1rem; }
.lightbox-price { color: var(--purple); font-weight: 700; font-size: 1.15rem; margin-bottom: 1rem; }
.lightbox-desc { color: var(--ink-soft); }
.lightbox-close { position: absolute; top: .75rem; right: .75rem; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.12); z-index: 2; transition: background-color .18s, color .18s; }
.lightbox-close:focus-visible { background: var(--purple); color: #fff; outline: none; box-shadow: var(--ring); } @media (hover: hover) { .lightbox-close:hover { background: var(--purple); color: #fff; outline: none; box-shadow: var(--ring); } }
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox .btn { margin-top: .5rem; }
.lightbox--pet[open] .lightbox-media { border-radius: 0; }
@media (max-width: 720px) {
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox-media, .lightbox-media .photo-placeholder { min-height: 260px; }
  .lightbox-body { padding: 1.5rem; }
}

/* ---------- Reviews grid (Remembrance page) ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.review-card { margin: 0; background: #fff; border-radius: var(--radius); padding: 1.75rem; border-top: 3px solid var(--purple); }
.review-card blockquote { font-size: 1.2rem; }
.review-card figcaption { margin-top: 1rem; color: var(--ink-soft); font-weight: 600; font-size: .92rem; }

/* ---------- Contact: appointment notice ---------- */
.appt-notice { display: flex; gap: 1rem; align-items: flex-start; border: 2px solid var(--purple); background: #f6f2fd; border-radius: var(--radius); padding: 1.15rem 1.25rem; margin-bottom: 2rem; }
.appt-notice svg { width: 28px; height: 28px; color: var(--purple); flex: none; margin-top: 2px; }
.appt-notice strong { display: block; font-size: 1.08rem; color: var(--purple-deep); margin-bottom: .2rem; }
.appt-notice p { margin: 0; color: var(--ink); }

/* ---------- Contact: custom dropdown ---------- */
.label { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .95rem; }
.select { position: relative; }
.select-button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font: inherit; font-size: 1rem; color: var(--ink); text-align: left; cursor: pointer;
  padding: .8rem 1rem .8rem .9rem; border: 1.5px solid #cfc9d8; border-radius: 10px; background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
@media (hover: hover) { .select-button:hover { border-color: var(--purple); } }
.select-button:focus-visible, .select-button[aria-expanded="true"] { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(67,43,127,.18); }
.select-value.is-placeholder { color: #8a849a; }
.select-arrow { width: 20px; height: 20px; color: var(--purple); flex: none; margin-right: .1rem; transition: transform .2s; }
.select-button[aria-expanded="true"] .select-arrow { transform: rotate(180deg); }
.select-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20;
  list-style: none; margin: 0; padding: .4rem; background: #fff;
  border: 1.5px solid var(--purple); border-radius: 12px; box-shadow: 0 14px 34px rgba(36,29,51,.16);
  max-height: 320px; overflow: auto;
}
.select-list:focus { outline: none; }
.select-list li { padding: .7rem .85rem; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.select-list li.is-focused { background: #ece6f8; color: var(--purple-deep); } @media (hover: hover) { .select-list li:hover { background: #ece6f8; color: var(--purple-deep); } }
.select-list li[aria-selected="true"] { font-weight: 700; color: var(--purple); }
.select-list li[aria-selected="true"]::after { content: ""; width: 7px; height: 12px; border: solid var(--purple); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); margin-right: .3rem; }
.field-error { color: #a12d2d; font-weight: 600; font-size: .92rem; margin: .4rem 0 0; }
.select.is-invalid .select-button { border-color: #a12d2d; }

/* Header fit: phone number shows on wide screens; menu collapses below 1180px */
.nav a { white-space: nowrap; }
@media (max-width: 1439px) { .header-phone { display: none; } }
@media (max-width: 1180px) {
  .header-actions { display: none; }
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: .5rem 1.25rem 1.25rem; }
  .nav a { padding: .9rem .25rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: none; }
}
@media (max-width: 700px) {
  .slide-ph { align-items: flex-start; justify-content: flex-start; padding: 1rem 1.25rem; }
}
[hidden] { display: none !important; }
.site-footer .social a { display: grid; padding: 0; }

/* Round 2: logo only, quieter navigation, centred smaller banner dots */
.brand img { width: 60px; height: 60px; }
@media (max-width: 1180px) { .brand img { width: 50px; height: 50px; } }
.nav a[aria-current="page"] { box-shadow: none; color: var(--purple); font-weight: 800; }
.banner-dots { justify-content: center; gap: .5rem; }
.banner-dot { width: 9px; height: 9px; border-width: 1.5px; }
@media (max-width: 700px) { .banner-dots { justify-content: center; } }

/* Keep nav links still: each link reserves the width of its bold version */
.nav a { display: inline-flex; flex-direction: column; align-items: center; }
.nav a::after { content: attr(data-label); font-weight: 800; height: 0; overflow: hidden; visibility: hidden; pointer-events: none; user-select: none; }
@media (max-width: 1180px) { .nav a { display: flex; align-items: flex-start; } }

/* Links with a small arrow instead of an underline */
.arrow-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none; color: var(--purple); }
.arrow-link svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
@media (hover: hover) { .arrow-link:hover { color: var(--purple-deep); } }
.arrow-link:focus-visible svg { transform: translateX(4px); } @media (hover: hover) { .arrow-link:hover svg { transform: translateX(4px); } }

/* Social icons in the header */
.header-social { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.header-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--purple); transition: background-color .18s, color .18s; }
.header-social a:focus-visible { background: #e9e3f6; color: var(--purple-deep); outline: none; } @media (hover: hover) { .header-social a:hover { background: #e9e3f6; color: var(--purple-deep); outline: none; } }
.header-social svg { width: 20px; height: 20px; }
.header-actions { gap: .75rem; }

/* Review carousel: plain arrows and dots */
.quote-controls { gap: 1.25rem; }
.quote-controls .quote-prev, .quote-controls .quote-next { width: 36px; height: 36px; border: 0; background: none; color: var(--purple); border-radius: 50%; }
.quote-controls .quote-prev:focus-visible, .quote-controls .quote-next:focus-visible { background: #e9e3f6; color: var(--purple-deep); box-shadow: none; } @media (hover: hover) { .quote-controls .quote-prev:hover, .quote-controls .quote-next:hover { background: #e9e3f6; color: var(--purple-deep); box-shadow: none; } }
.quote-controls svg { width: 24px; height: 24px; }
.quote-dots { display: flex; gap: .5rem; align-items: center; }
.quote-controls .quote-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1.5px solid var(--purple); background: transparent; cursor: pointer; transition: background-color .2s, transform .2s; }
@media (hover: hover) { .quote-controls .quote-dot:hover { transform: scale(1.25); background: transparent; box-shadow: none; } }
.quote-controls .quote-dot.is-active { background: var(--purple); }

/* Inner-page photo header with the title on top of the image */
.page-hero { position: relative; min-height: clamp(300px, 34vw, 440px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,20,62,.8) 0%, rgba(31,20,62,.5) 50%, rgba(31,20,62,.1) 85%), linear-gradient(0deg, rgba(31,20,62,.4), transparent 55%); pointer-events: none; }
.page-hero-content { position: relative; z-index: 2; width: 100%; padding-block: 3rem clamp(2.5rem, 5vw, 3.5rem); }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero .lead { color: rgba(255,255,255,.92); margin: 0; max-width: 34em; }
@media (max-width: 700px) {
  .page-hero { min-height: 340px; }
  .page-hero::after { background: linear-gradient(0deg, rgba(31,20,62,.85) 0%, rgba(31,20,62,.6) 55%, rgba(31,20,62,.2) 100%); }
}

/* ---------- Mobile menu: burger to X, dimmed page, rounded options ---------- */
.burger { position: relative; display: block; width: 26px; height: 20px; }
.burger span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(3) { top: 9px; transform: rotate(-45deg); }
.menu-toggle { border-radius: 10px; }
@media (hover: hover) { .menu-toggle:hover { color: var(--purple); } }

.nav-overlay { position: fixed; inset: 0; z-index: 45; background: rgba(31,20,62,.38); animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
/* Scroll lock: while the menu or any pop-up is open, the page behind can't scroll (set by main.js) */
html.scroll-locked, html.scroll-locked body { overflow: hidden; overscroll-behavior: none; }
html.scroll-locked body { padding-right: var(--scrollbar-w, 0px); }
dialog { overscroll-behavior: contain; }
.lightbox-body { overscroll-behavior: contain; }

@media (max-width: 1180px) {
  .nav { box-shadow: 0 16px 30px rgba(31,20,62,.12); }
  .nav ul { gap: .2rem; padding: .75rem 1rem 1.25rem; }
  .nav a { border-bottom: 0; border-radius: 10px; padding: .85rem 1rem; }
  .nav a:focus-visible { background: #e9e3f6; color: var(--purple-deep); } @media (hover: hover) { .nav a:hover { background: #e9e3f6; color: var(--purple-deep); } }
}
@media (prefers-reduced-motion: reduce) { .nav-overlay { animation: none; } }
/* Keep the open menu pinned under the header wherever the page is scrolled */
@media (max-width: 1180px) {
  .nav { position: fixed; top: var(--header-h, 70px); max-height: calc(100dvh - var(--header-h, 70px) - 80px); overflow-y: auto; overscroll-behavior: contain; z-index: 55; }
}
.footer-brand img { background: none; padding: 0; border-radius: 0; }



/* ---------- Watch card (compact link to the collection video) ---------- */
.watch-card {
  display: inline-flex; align-items: center; gap: 1rem; margin-top: .5rem;
  padding: .6rem 1.25rem .6rem .6rem; border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--paper); font: inherit; color: inherit; text-align: left; cursor: pointer;
  transition: border-color .18s, box-shadow .18s, background-color .18s;
}
.watch-card:focus-visible { border-color: var(--purple); box-shadow: var(--ring); outline: none; } @media (hover: hover) { .watch-card:hover { border-color: var(--purple); box-shadow: var(--ring); outline: none; } }
.watch-thumb { position: relative; flex: none; width: 54px; aspect-ratio: 9 / 16; border-radius: 9px; background: #a9a2b6 center / cover no-repeat; display: grid; place-items: center; overflow: hidden; }
.watch-play { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--purple); display: grid; place-items: center; transition: background-color .18s, color .18s; }
.watch-play svg { width: 15px; height: 15px; margin-left: 2px; }
.watch-card:focus-visible .watch-play { background: var(--purple); color: #fff; } @media (hover: hover) { .watch-card:hover .watch-play { background: var(--purple); color: #fff; } }
.watch-text strong { display: block; font-size: 1rem; color: var(--purple); }
.watch-text span { display: block; font-size: .9rem; color: var(--ink-soft); }

.video-dialog { border: 0; padding: 0; background: transparent; overflow: visible; max-height: 92vh; }
.video-dialog::backdrop { background: rgba(26,17,48,.82); }
.video-dialog-frame { height: min(86vh, 760px); aspect-ratio: 9 / 16; max-width: 92vw; border-radius: 18px; overflow: hidden; background: #000; }
.video-dialog-frame video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.video-dialog-frame .photo-placeholder { border-radius: 0; height: 100%; }
.video-dialog .lightbox-close { position: absolute; top: -.5rem; right: -3.25rem; }
@media (max-width: 700px) { .video-dialog .lightbox-close { top: .6rem; right: .6rem; } }

/* Desktop: header slides away when scrolling down, returns when scrolling up */
@media (min-width: 1181px) {
  .site-header { transition: transform .3s ease, box-shadow .3s ease; will-change: transform; }
  .site-header.is-hidden { transform: translateY(-100%); }
  .site-header.is-scrolled { box-shadow: 0 6px 20px rgba(31,20,62,.08); }
}

/* Smaller grey "from" so the price itself stands out */
.from { font-size: .78em; font-weight: 400; color: var(--ink-soft); margin-right: .1em; }

/* "from" sits above the price, which is centred in its row */
.price-table td:last-child { vertical-align: middle; line-height: 1.2; }
.price-table .from { display: block; font-size: .72rem; margin: 0 0 .15rem; }
.product-grid .product-price .from { display: block; font-size: .75rem; margin-bottom: .05rem; }
.lightbox-price .from { display: block; font-size: .78rem; margin-bottom: .1rem; }

/* How it works: each step in its own rounded box */
.steps { gap: 1.25rem; }
.steps li { background: var(--mist); border-radius: 18px; padding: 1.75rem 1.5rem 1.85rem; }
@media (max-width: 560px) {
  .steps { gap: .9rem; }
  .steps li { padding: 1.35rem 1.25rem 1.4rem 5rem; }
  .steps li::before { left: 1.25rem; top: 1.35rem; }
}

/* Banner photos */
.slide img { object-position: 50% 55%; }
@media (max-width: 700px) { .slide img { object-position: 72% 50%; } }

/* ---------- Gentle reveal animations (scrolling and page entry) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(16px); }
  html.js .reveal.is-revealed {
    opacity: 1; transform: none;
    transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); /* was .7s, then .5s; settled on .6s (Ash, 24 Nov 2026) */
    transition-delay: var(--reveal-delay, 0ms);
  }
  /* Photos and maps fade without moving */
  html.js .reveal--fade { transform: none; }
}

/* ---------- Remembrance: Horace feature ---------- */
.lightbox-desc { white-space: pre-line; }
.memorial { background: var(--mist); padding-block: clamp(3rem, 7vw, 5.5rem); }
.memorial-grid { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.memorial-photos { position: relative; width: 100%; max-width: 400px; margin-inline: auto; }
.memorial-main { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 50%; }
.memorial-main .circle-photo { display: block; width: 100%; }
.memorial-photos::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid var(--purple); opacity: .55; pointer-events: none; }
.memorial-main:focus-visible .circle-photo { box-shadow: 0 0 0 4px var(--purple); outline: none; } @media (hover: hover) { .memorial-main:hover .circle-photo { box-shadow: 0 0 0 4px var(--purple); outline: none; } }
.memorial-main .circle-photo { transition: box-shadow .2s; }
.memorial-hug { position: absolute; right: -6%; bottom: -4%; width: 36%; border: 6px solid var(--mist); box-shadow: 0 10px 24px rgba(31,20,62,.15); }
.memorial-hug .photo-placeholder { font-size: .7rem; padding: .5rem; }
.memorial-kicker { color: var(--purple); font-weight: 700; margin-bottom: .25rem; }
.memorial-text h2 { font-size: clamp(2.6rem, 5.5vw, 3.8rem); margin-bottom: .15em; }
.memorial-dates { color: var(--ink-soft); font-weight: 600; margin-bottom: 1.25rem; }
.memorial-text > p:not(.memorial-kicker):not(.memorial-dates) { max-width: 34em; font-size: 1.08rem; }
.memorial-text .btn { margin-top: .5rem; }
@media (max-width: 820px) {
  .memorial-grid { grid-template-columns: 1fr; text-align: center; }
  .memorial-photos { max-width: 280px; }
  .memorial-text > p { margin-inline: auto; }
}
/* Horace flows straight on from the page intro */
.page-head + .memorial { padding-top: clamp(1rem, 3vw, 2rem); }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; } }
.memorial .circle-photo img { object-position: 45% 55%; }
/* Horace photo: no ring, not clickable */
.memorial-photos::before { display: none; }
.memorial-main { cursor: default; }
.memorial-main:focus-visible .circle-photo { box-shadow: none; } @media (hover: hover) { .memorial-main:hover .circle-photo { box-shadow: none; } }

/* ---------- Pop-up windows: gentle fade and rise in, quicker fade out ---------- */
@media (prefers-reduced-motion: no-preference) {
  dialog.lightbox[open], dialog.video-dialog[open] { animation: dlgIn .38s cubic-bezier(.2,.8,.2,1); }
  dialog.lightbox[open]::backdrop, dialog.video-dialog[open]::backdrop { animation: backdropIn .38s ease; }
  dialog.lightbox.is-closing, dialog.video-dialog.is-closing { animation: dlgOut .22s ease-in forwards; }
  dialog.lightbox.is-closing::backdrop, dialog.video-dialog.is-closing::backdrop { animation: backdropOut .22s ease-in forwards; }
}
@keyframes dlgIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes dlgOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes backdropOut { from { opacity: 1; } to { opacity: 0; } }
/* Services banner photo framing */
.page-hero-media img { object-position: 50% 22%; }
@media (max-width: 700px) { .page-hero-media img { object-position: 82% 20%; } }
.page-hero { min-height: clamp(320px, 31vw, 600px); }
@media (max-width: 700px) {
  .page-hero { min-height: 500px; }
  .page-hero-media img { object-position: 80% 8%; }
}

/* ---------- Areas we cover: statement, tidy list, photo ---------- */
.areas-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.areas-lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }
.areas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem 1.25rem; margin-top: 1.75rem; }
.areas li:last-child { grid-column: auto; }
.areas li { font-weight: 600; }
.areas-note { margin-top: 1.75rem; color: var(--ink-soft); }
.areas-note .arrow-link { margin-left: .35rem; }
.areas-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; }
@media (max-width: 900px) {
  .areas-grid { grid-template-columns: 1fr; }
  .areas-photo { max-width: 460px; }
}
@media (max-width: 520px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.areas li { align-items: flex-start; line-height: 1.35; } .areas svg { margin-top: 2px; }
/* Areas list: two even columns, each town on one line, A to Z top to bottom */
.areas { display: block; column-count: 2; column-gap: 2rem; max-width: 34rem; }
.areas li { break-inside: avoid; white-space: nowrap; margin-bottom: .7rem; align-items: center; }
.areas svg { margin-top: 0; }
@media (max-width: 400px) { .areas { column-gap: 1rem; } .areas li { font-size: .92rem; gap: .35rem; } .areas svg { width: 16px; height: 16px; } }
/* Contact link on its own line, lined up with the text; photo matches the text height */
.areas-note .arrow-link { display: flex; width: fit-content; margin: .5rem 0 0; }
.areas-note { margin-bottom: 0; }
@media (min-width: 901px) {
  .areas-grid { align-items: stretch; }
  .areas-photo { position: relative; min-height: 320px; }
  .areas-photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}
.nav a[aria-current="page"] { border-radius: 8px; } @media (max-width: 1180px) { .nav a[aria-current="page"] { border-radius: 10px; } }
/* Remembrance opens with Horace; the page title is the small purple line */
h1.memorial-kicker { font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; color: var(--purple); margin: 0 0 .25rem; }
.memorial { padding-block: clamp(3rem, 7vw, 5.5rem); }

/* ---------- "If your pet has just died" ---------- */
.just-died-link { margin: 0; padding: 0 0 1.75rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; }


/* "If your pet has just died": compact version */
.just-died { background: var(--mist); padding-block: clamp(2.5rem, 5vw, 3.5rem); scroll-margin-top: 90px; }
.just-died-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.just-died-head h2 { margin-bottom: .4rem; }
.just-died-head p { margin: 0; max-width: 40em; color: var(--ink-soft); }
.just-died-head .btn-row { margin-top: 0; }
.gentle-steps { list-style: none; counter-reset: gs; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gentle-steps li { counter-increment: gs; position: relative; background: #fff; border-radius: 16px; padding: 1.15rem 1.25rem 1.2rem 3.6rem; color: var(--ink-soft); font-size: .97rem; line-height: 1.55; }
.gentle-steps li::before { content: counter(gs); position: absolute; left: 1.15rem; top: 1.15rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--purple); color: #fff; font: 500 .95rem/1.7rem var(--serif); text-align: center; }
.gentle-steps strong { display: block; color: var(--ink); margin-bottom: .15rem; font-size: 1rem; }
@media (max-width: 1000px) { .gentle-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gentle-steps { grid-template-columns: 1fr; gap: .6rem; } .gentle-steps li { padding: .95rem 1rem 1rem 3.25rem; } .gentle-steps li::before { left: .95rem; top: .95rem; } }
.just-died-head > div:first-child { flex: 1 1 26rem; max-width: 36rem; }

/* Services: quick ways to reach the prices */
#prices { scroll-margin-top: 20px; }
.hero-prices-btn { margin-top: 1.5rem; background: #fff; color: var(--purple); border-color: #fff; }
.hero-prices-btn svg { width: 1.05em; height: 1.05em; transition: transform .2s; }
.hero-prices-btn:focus-visible { background: var(--mist); color: var(--purple-deep); border-color: var(--mist); box-shadow: 0 0 0 4px rgba(255,255,255,.3); } @media (hover: hover) { .hero-prices-btn:hover { background: var(--mist); color: var(--purple-deep); border-color: var(--mist); box-shadow: 0 0 0 4px rgba(255,255,255,.3); } }
@media (hover: hover) { .hero-prices-btn:hover svg { transform: translateY(2px); } }
.from-line { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; margin-top: .25rem; }
.from-line strong { color: var(--purple); }

/* ---------- Remembrance: "Our family" chooser (Horace, Fletcher, Lucy, Henry) ---------- */
.feature-swap > p:not(.memorial-dates) { max-width: 34em; font-size: 1.08rem; }
.feature-swap .btn[hidden] { display: none; }
.feature-swap, .memorial-photos { transition: opacity .22s ease, transform .22s ease; }
.memorial-grid.is-swapping .feature-swap, .memorial-grid.is-swapping .memorial-photos { opacity: 0; transform: translateY(6px); }
.memorial .circle-photo .photo-placeholder { aspect-ratio: 1; border-radius: 50%; }
.family { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.family-label { margin: 0 0 .85rem; font-size: .9rem; font-weight: 700; letter-spacing: .04em; color: var(--ink-soft); }
.family-tabs { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.family-tab { appearance: none; border: 0; background: none; font: inherit; color: var(--ink-soft); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: .5rem .6rem; border-radius: var(--radius); transition: background .2s, color .2s; }
@media (hover: hover) { .family-tab:hover { background: #e9e3f6; color: var(--ink); } }
.family-tab:focus-visible { outline: none; box-shadow: 0 0 0 3px #d9cff2; }
.family-thumb { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--dove); box-shadow: 0 0 0 3px var(--mist), 0 0 0 4px transparent; transition: box-shadow .2s; }
.family-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.family-initial { font-family: var(--serif); font-size: 1.6rem; color: var(--purple); line-height: 1; }
.family-name { font-size: .95rem; }
.family-tab[aria-selected="true"] { color: var(--purple); }
.family-tab[aria-selected="true"] .family-name { font-weight: 700; }
.family-tab[aria-selected="true"] .family-thumb { box-shadow: 0 0 0 3px var(--mist), 0 0 0 5px var(--purple); }
@media (max-width: 820px) {
  .feature-swap > p { margin-inline: auto; }
  .family-tabs { justify-content: center; gap: .25rem; }
  .family-tab { padding: .4rem; }
  .family-thumb { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) { .memorial-grid.is-swapping .feature-swap, .memorial-grid.is-swapping .memorial-photos { transform: none; } }

/* ---------- Google reviews (20 Nov 2026) ---------- */
.review-source { display: block; margin-top: .2rem; font-size: .82rem; font-weight: 500; color: var(--ink-soft); letter-spacing: .02em; }
.review-card { display: flex; flex-direction: column; }
.review-card figcaption { margin-top: auto; padding-top: 1.25rem; margin-bottom: 0; line-height: 1.35; } /* names line up at the bottom of every tile */
.review-card blockquote { margin-bottom: 0; }
.review-source { margin-top: 0; line-height: 1.3; }
.review-links { margin: 2rem 0 0; color: var(--ink-soft); font-size: .98rem; text-align: center; line-height: 1.7; }
.review-links .g-logo { width: 18px; height: 18px; vertical-align: -3px; margin-right: .5rem; }
.review-links .text-link { font-weight: 600; white-space: nowrap; }
.review-grid + .review-links { text-align: left; }

/* ---------- Home: ticks under the banner (soft band, no lines) ---------- */
.assure-band { background: var(--mist); }
.assure-band .assure { border: 0; padding: 2.25rem 0; }
.just-died-link--centre { justify-content: center; text-align: center; padding: 2.5rem 0 0; }
/* On phones the banner text already sits on lilac, so the band turns white to keep them apart */
@media (max-width: 700px) {
  .assure-band { background: var(--paper); }
  .assure-band .assure { gap: 1.25rem; padding: 2rem 0 0; }
  .just-died-link--centre { padding-top: 2.25rem; }
}

/* ---------- Remembrance gallery: smaller circles, two rows, "See all" (20 Nov 2026) ---------- */
.gallery.gallery--small { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 1.75rem 1.25rem; }
.gallery--small .pet-name { font-size: 1rem; margin-top: .6rem; line-height: 1.25; }
.zoom--pet:focus-visible .circle-photo { box-shadow: 0 0 0 3px var(--purple); } @media (hover: hover) { .zoom--pet:hover .circle-photo { box-shadow: 0 0 0 3px var(--purple); } }
@media (max-width: 520px) {
  .gallery.gallery--small { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem .75rem; }
  .gallery--small .pet-name { font-size: .85rem; margin-top: .45rem; }
}
html.js .gallery li.is-more { display: none; }
.gallery-more-row { display: flex; justify-content: center; margin-top: 2.25rem; }
.gallery-toggle { cursor: pointer; }
.gallery-toggle[hidden] { display: none; }
section:has(#pet-gallery) { scroll-margin-top: 80px; }

/* ---------- Caskets & urns: real product photos (21 Nov 2026) ---------- */
.product-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px rgba(67,43,127,.08); transition: box-shadow .2s, filter .2s; }
.zoom:focus-visible .product-photo { box-shadow: 0 0 0 3px var(--purple); filter: brightness(.97); } @media (hover: hover) { .zoom:hover .product-photo { box-shadow: 0 0 0 3px var(--purple); filter: brightness(.97); } }
.lightbox:not(.lightbox--pet) .lightbox-media { background: #fff; display: grid; place-items: center; }
.lightbox:not(.lightbox--pet) .lightbox-media img { object-fit: contain; max-height: 70vh; }
@media (max-width: 760px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
  .lightbox:not(.lightbox--pet) .lightbox-media img { max-height: 36vh; }
  .lightbox:not(.lightbox--pet) .lightbox-media { min-height: 0; }
}

/* Caskets & urns: quick links and casket groups (22 Nov 2026) */
.jump-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.jump-links a { display: inline-block; padding: .5rem 1.1rem; border-radius: 999px; background: #fff; color: var(--purple); font-weight: 600; text-decoration: none; box-shadow: 0 0 0 1px rgba(67,43,127,.18); transition: background-color .18s, color .18s, box-shadow .18s; }
.jump-links a:focus-visible { background: var(--purple); color: #fff; box-shadow: 0 0 0 4px var(--lilac-hover, #E9E3F6); outline: none; } @media (hover: hover) { .jump-links a:hover { background: var(--purple); color: #fff; box-shadow: 0 0 0 4px var(--lilac-hover, #E9E3F6); outline: none; } }
.category[id] { scroll-margin-top: 90px; }
.product-subhead { font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin: 2.25rem 0 1rem; }
.section-head + .product-subhead { margin-top: .5rem; }
@media (max-width: 480px) {
  .jump-links { gap: .4rem; }
  .jump-links a { padding: .45rem .7rem; font-size: .86rem; }
}

/* Product pop-up: previous / next arrows outside the pop-up, and room for the close button beside the title (22 Nov 2026) */
.lightbox-body h2 { padding-right: 2.75rem; }
.lightbox:not(.lightbox--pet) { overflow: visible; width: min(880px, calc(100vw - 10rem)); }
.lightbox:not(.lightbox--pet) .lightbox-media { border-radius: 18px 0 0 18px; overflow: hidden; }
.lightbox:not(.lightbox--pet) .lightbox-body { border-radius: 0 18px 18px 0; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: 0 4px 16px rgba(0,0,0,.2); display: grid; place-items: center; cursor: pointer; z-index: 2; transition: background-color .18s, color .18s; }
.lightbox-nav[hidden] { display: none; }
.lightbox-nav svg { width: 24px; height: 24px; }
.lightbox-nav--prev { left: -4.25rem; }
.lightbox-nav--next { right: -4.25rem; }
.lightbox-nav:focus-visible { background: var(--purple); color: #fff; outline: none; box-shadow: var(--ring); } @media (hover: hover) { .lightbox-nav:hover { background: var(--purple); color: #fff; outline: none; box-shadow: var(--ring); } }
/* Desktop: photo fills the full height of the pop-up, however long the description */
@media (min-width: 761px) {
  .lightbox:not(.lightbox--pet) .lightbox-media { display: block; }
  .lightbox:not(.lightbox--pet) .lightbox-media img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
}
/* Phones: no room at the sides, so the arrows sit just below the pop-up */
@media (max-width: 760px) {
  .lightbox:not(.lightbox--pet) { width: 92vw; height: calc(100dvh - 8rem); max-height: none; margin-top: 1.25rem; }
  .lightbox:not(.lightbox--pet)[open] { grid-template-rows: auto minmax(0, 1fr); }
  .lightbox:not(.lightbox--pet) .lightbox-media { border-radius: 18px 18px 0 0; }
  .lightbox:not(.lightbox--pet) .lightbox-body { border-radius: 0 0 18px 18px; }
  .lightbox-nav { top: auto; bottom: -4rem; transform: none; width: 48px; height: 48px; }
  .lightbox-nav--prev { left: calc(50% - 3.5rem); }
  .lightbox-nav--next { right: calc(50% - 3.5rem); }
}

/* Contact form: gentle note when the message has been started from a product (22 Nov 2026) */
.field-hint { margin: -.15rem 0 .5rem; font-size: .92rem; color: var(--ink-soft); }
/* Product pop-up: "Ask about this" full width, always at the bottom of the text column */
.lightbox:not(.lightbox--pet) .lightbox-body { display: flex; flex-direction: column; }
.lightbox:not(.lightbox--pet) .lightbox-cta { margin-top: auto; width: 100%; justify-content: center; text-align: center; }
.lightbox:not(.lightbox--pet) .lightbox-desc { margin-bottom: 1.5rem; }
.lightbox:not(.lightbox--pet) .lightbox-cta[hidden] { display: none; }

/* =====================================================================
   Consistent hover, keyboard focus and pressed states (22 Nov 2026)
   - Hover effects only apply on devices with a mouse, so nothing stays
     "stuck" after a tap on a phone (every :hover rule above is wrapped
     in @media (hover: hover)).
   - Keyboard focus: one soft lilac-purple ring everywhere, following the
     shape of the thing (round for round things), white on dark areas.
   - Pressed: a tiny nudge down on everything you can press.
   ===================================================================== */
:root {
  --lilac-hover: #e9e3f6;               /* the one pale lilac used for hover */
  --ring: 0 0 0 4px #d9cff2;            /* soft glow on light backgrounds */
  --ring-dark: 0 0 0 4px rgba(255,255,255,.3); /* soft glow on dark backgrounds */
  --focus: #8f7cc9;                     /* keyboard focus ring */
}
html { -webkit-tap-highlight-color: rgba(67,43,127,.12); } /* brief soft purple flash on tap */

/* ---------- Keyboard focus: the same ring everywhere ---------- */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { border-radius: 10px; }
.btn:focus-visible, .nav a:focus-visible, .header-social a:focus-visible, .social a:focus-visible,
.quote-controls button:focus-visible, .lightbox-close:focus-visible, .lightbox-nav:focus-visible,
.jump-links a:focus-visible, .watch-card:focus-visible, .family-tab:focus-visible,
.banner-dot:focus-visible, .hero-prices-btn:focus-visible, .menu-toggle:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px;
}
.text-link:focus-visible, .arrow-link:focus-visible, .site-footer a:focus-visible, .header-phone:focus-visible, .call-band-number:focus-visible { border-radius: 6px; }
.faq summary:focus-visible { outline-offset: 0; border-radius: 8px; }
/* Photos: the ring goes round the photo itself, not a box around photo and name */
.zoom:focus-visible { outline: none; }
.zoom:focus-visible .product-photo, .zoom:focus-visible .photo-placeholder { outline: 3px solid var(--focus); outline-offset: 3px; }
.zoom--pet:focus-visible .circle-photo { outline: 3px solid var(--focus); outline-offset: 3px; }
.zoom--pet:focus-visible .photo-placeholder { outline: none; }
/* Form fields: purple border with the shared soft glow */
input:focus, select:focus, textarea:focus, .select-button:focus-visible, .select-button[aria-expanded="true"] { outline: none; border-color: var(--purple); box-shadow: var(--ring); }
/* Dark areas (photo banners, purple band, footer, call box, pop-up arrows on the dimmed page): white ring */
.site-footer :focus-visible, .call-band :focus-visible, .page-hero :focus-visible, .urgent :focus-visible,
.lightbox-nav:focus-visible, .video-dialog .lightbox-close:focus-visible { outline-color: #fff; }
@media (min-width: 701px) { .banner :focus-visible { outline-color: #fff; } }
@media (max-width: 760px) { .lightbox-nav:focus-visible { outline-color: #fff; } }

/* ---------- Hover (mouse only) ---------- */
@media (hover: hover) {
  /* Round icon buttons and arrows fill purple, like the pop-up arrows and close button */
  .header-social a:hover { background: var(--lilac-hover); color: var(--purple-deep); box-shadow: none; } /* pale lilac, like the menu links (Ash, 22 Nov 2026) */
  .quote-controls .quote-prev:hover, .quote-controls .quote-next:hover { background: var(--purple); color: #fff; box-shadow: var(--ring); }
  .lightbox-close:hover, .lightbox-nav:hover { background: var(--purple); color: #fff; box-shadow: var(--ring); }
  /* One lilac and one glow everywhere */
  .nav a:hover, .family-tab:hover { background: var(--lilac-hover); color: var(--purple-deep); }
  .select-list li:hover { background: var(--lilac-hover); color: var(--purple-deep); }
  .jump-links a:hover { background: var(--purple); color: #fff; box-shadow: var(--ring); }
  .call-band .btn-call:hover, .call-band .btn-msg:hover, .banner .btn:hover, .hero-prices-btn:hover, .social a:hover { box-shadow: var(--ring-dark); }
  /* Photos and cards: a 3px purple ring, nothing else */
  .zoom:hover .product-photo, .zoom:hover .photo-placeholder { box-shadow: 0 0 0 3px var(--purple); filter: none; }
  .zoom--pet:hover .circle-photo { box-shadow: 0 0 0 3px var(--purple); }
  .zoom--pet:hover .photo-placeholder { box-shadow: none; }
  .watch-card:hover { border-color: var(--purple); box-shadow: 0 0 0 1.5px var(--purple); }
  /* Things that had no hover before */
  .faq summary { transition: color .18s; }
  .faq summary:hover { color: var(--purple); }
  input:hover, textarea:hover { border-color: var(--purple); }
  input:focus:hover, textarea:focus:hover { border-color: var(--purple); }
}
.select-list li.is-focused { background: var(--lilac-hover); color: var(--purple-deep); }
.watch-card:focus-visible { box-shadow: none; }

/* Home banner on phone-sized screens: the banner sits on pale lilac, so its buttons behave like normal buttons
   (before, "Send a message" went white-on-lilac and almost disappeared) */
@media (max-width: 700px) and (hover: hover) {
  .banner .btn-call:hover { background: var(--purple-deep); border-color: var(--purple-deep); color: #fff; box-shadow: var(--ring); }
  .banner .btn-msg:hover { background: var(--purple); border-color: var(--purple); color: #fff; box-shadow: var(--ring); }
}

/* ---------- Pressed: a tiny nudge down on everything you can press ---------- */
.btn, .jump-links a, .header-social a, .social a, .quote-controls button, .lightbox-close, .lightbox-nav,
.watch-card, .family-tab, .zoom, .select-button, .menu-toggle, .faq summary { transition-property: background-color, color, box-shadow, border-color, translate; }
.btn:active, .jump-links a:active, .header-social a:active, .social a:active, .quote-controls button:active,
.lightbox-close:active, .lightbox-nav:active, .watch-card:active, .family-tab:active, .zoom:active,
.select-button:active, .menu-toggle:active, .banner-dot:active, .arrow-link:active { transform: none; translate: 0 1px; }
.lightbox-nav:active { transform: translateY(-50%); }
@media (max-width: 760px) { .lightbox-nav:active { transform: none; } }
/* Dark areas win over the general ring colour; footer icons keep their round ring */
.site-footer a:focus-visible, .call-band a:focus-visible, .page-hero a:focus-visible, .urgent a:focus-visible { outline-color: #fff; }
@media (min-width: 701px) { .banner a:focus-visible { outline-color: #fff; } }
.social a:focus-visible { border-radius: 50%; }

/* ==========================================================================
   Stand-out touches (22 Nov 2026): late-night line, "open now", gallery search,
   pet links, light a candle
   ========================================================================== */

/* Late-night line on the home banner (10pm to 6am) */
.late-note { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.25rem; max-width: 31rem; padding: .85rem 1.1rem; border-radius: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 1rem; line-height: 1.5; }
.late-note[hidden] { display: none; }
.late-note svg { width: 20px; height: 20px; flex: none; margin-top: .15rem; color: #f3dca0; }
@media (max-width: 700px) {
  .late-note { background: #fff; border-color: var(--line); color: var(--ink); }
  .late-note svg { color: var(--purple); }
}

/* "Open now" line (Contact and footer) */
.open-status { display: block; font-weight: 700; color: var(--ink); margin: -.35rem 0 .9rem; padding-left: 1.05rem; position: relative; }
.open-status[hidden] { display: none; }
.open-dot { position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: #a29bb0; }
.open-status.is-open .open-dot { background: #4f9a6c; box-shadow: 0 0 0 4px rgba(79,154,108,.16); }
.open-call { display: block; font-weight: 400; color: var(--ink-soft); }
.hours tr.is-today td { font-weight: 700; color: var(--purple); }
.site-footer .open-status { color: #fff; margin: 0 0 .7rem; font-size: .95rem; }
.site-footer .open-call { color: #c9c3d6; }
.site-footer .open-status .open-dot { background: #8d86a0; }
.site-footer .open-status.is-open .open-dot { background: #7cc79a; box-shadow: 0 0 0 4px rgba(124,199,154,.18); }

/* Gallery search */
.pet-search { position: relative; max-width: 22rem; margin: -1rem 0 2rem; }
.pet-search input { width: 100%; padding: .8rem 2.75rem .8rem 2.85rem; border-radius: 999px; font-size: 1rem; }
.pet-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.pet-search-icon { position: absolute; left: 1rem; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
.pet-search-clear { position: absolute; right: .45rem; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-soft); display: grid; place-items: center; cursor: pointer; padding: 0; }
.pet-search-clear[hidden] { display: none; }
.pet-search-clear svg { width: 18px; height: 18px; }
@media (hover: hover) { .pet-search-clear:hover { background: var(--lilac-hover); color: var(--purple); } }
.pet-search-clear:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.pet-search-empty { color: var(--ink-soft); margin: 0 0 1rem; }
html.js .gallery li.is-filtered { display: none; }
@media (max-width: 520px) { .pet-search { max-width: none; margin-top: -.75rem; } }
#pet-gallery li { scroll-margin-top: 120px; }

/* A tiny flame on the photo of a pet you've lit a candle for */
.gallery--small li .circle-photo { position: relative; }
.gallery--small li { position: relative; }
.gallery--small li.is-lit .zoom--pet::after { content: ""; position: absolute; top: 0; right: 6%; width: 26px; height: 26px; border-radius: 50%; background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3c2.6 3.9 4.3 5.9 4.3 8.4a4.3 4.3 0 0 1-8.6 0C7.7 8.9 9.4 6.9 12 3z' fill='%23ffc24d'/%3E%3Cpath d='M9 16.5h6v4.5H9z' fill='%23d9cff2'/%3E%3C/svg%3E") center / 17px no-repeat; border: 2px solid #fff; box-sizing: border-box; box-shadow: 0 1px 5px rgba(36,29,51,.3); }
.zoom--pet { position: relative; }
@media (max-width: 520px) { .gallery--small li.is-lit .zoom--pet::after { width: 22px; height: 22px; background-size: 14px; right: 0; } }

/* Candle and share, inside a gallery pet's pop-up */
.pet-actions { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .9rem; justify-items: start; }
.pet-actions[hidden] { display: none; }
.candle { display: flex; align-items: center; gap: .9rem; width: 100%; padding: .7rem 1rem .7rem .6rem; border: 1px solid var(--line); border-radius: 16px; background: var(--mist); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background-color .4s, border-color .4s; }
.candle-svg { width: 46px; height: 64px; flex: none; overflow: visible; }
.candle-body { fill: #fff; stroke: #b9aed6; stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.candle-flame, .candle-halo { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transition: opacity .6s ease; }
.candle-halo { transform-origin: 50% 50%; }
.candle-words { display: grid; gap: .15rem; }
.candle-text { font-weight: 700; color: var(--purple); }
.candle-note { display: none; font-size: .85rem; color: var(--ink-soft); }
.candle.is-lit { background: #fffaf0; border-color: #f1dfb8; cursor: default; }
.candle.is-lit .candle-body { fill: #f6f2fb; stroke: #c9bde6; }
.candle.is-lit .candle-flame, .candle.is-lit .candle-halo { opacity: 1; }
.candle.is-lit .candle-text { color: var(--ink); }
.candle.is-lit .candle-note { display: block; }
.candle.is-lit .candle-flame { animation: candle-flicker 3.2s ease-in-out infinite; }
.candle.is-lit .candle-halo { animation: candle-glow 3.2s ease-in-out infinite; }
.candle.just-lit .candle-flame { animation: candle-catch .9s ease-out, candle-flicker 3.2s ease-in-out .9s infinite; }
@keyframes candle-catch { from { transform: scale(.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes candle-flicker { 0%, 100% { transform: scale(1) skewX(0); } 25% { transform: scale(.96, 1.04) skewX(-2deg); } 50% { transform: scale(1.03, .97) skewX(1.5deg); } 75% { transform: scale(.98, 1.02) skewX(-1deg); } }
@keyframes candle-glow { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
@media (hover: hover) { .candle:not(.is-lit):hover { background: var(--lilac-hover); border-color: #d9cff2; } .candle:not(.is-lit):hover .candle-body { stroke: var(--purple); } }
.candle:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.pet-share { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .2rem; border: 0; background: none; font: inherit; font-weight: 700; color: var(--purple); cursor: pointer; }
.pet-share svg { width: 18px; height: 18px; }
@media (hover: hover) { .pet-share:hover { color: var(--purple-deep); } .pet-share:hover span { text-decoration: underline; text-underline-offset: 3px; } }
.pet-share:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
  .candle.is-lit .candle-flame, .candle.is-lit .candle-halo, .candle.just-lit .candle-flame { animation: none; }
}

/* ---------- "Save Lorraine's number" (22 Nov 2026) ---------- */
.save-contact { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border: 2px solid var(--purple); border-radius: 999px; color: var(--purple); font-weight: 700; font-size: .95rem; text-decoration: none; line-height: 1.2; transition: background-color .18s, color .18s, box-shadow .18s; }
.save-contact svg { width: 18px; height: 18px; flex: none; }
@media (hover: hover) { .save-contact:hover { background: var(--purple); color: #fff; box-shadow: var(--ring); } }
.save-contact:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.save-contact:active { transform: translateY(1px); }
.save-contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .75rem; }
.save-contact-note { font-size: .88rem; color: var(--ink-soft); flex: 1 1 14rem; }
.contact-list .save-contact { text-decoration: none; }

/* ---------- Helping children say goodbye (22 Nov 2026) ---------- */
.children { scroll-margin-top: 80px; }
.draft-label { display: inline-block; margin: 0 0 1rem; padding: .3rem .8rem; border-radius: 999px; background: #fff3d6; color: #7a5a12; font-size: .8rem; font-weight: 700; }
.child-tips { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.child-tips li { background: #fff; border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem; color: var(--ink-soft); font-size: .97rem; line-height: 1.6; }
.child-tips strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--ink); line-height: 1.3; margin-bottom: .5rem; }
@media (max-width: 960px) { .child-tips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .child-tips { grid-template-columns: 1fr; gap: .9rem; } .child-tips li { padding: 1.15rem 1.2rem; } }
.letter-panel { display: flex; align-items: center; gap: 2rem; background: #fff; border-radius: 20px; padding: 1.75rem 2rem; max-width: 46rem; }
.letter-panel h3 { font-size: 1.4rem; margin: 0 0 .35rem; }
.letter-panel p { color: var(--ink-soft); margin: 0 0 1.1rem; }
.letter-panel .btn svg { width: 20px; height: 20px; }
.letter-thumb { flex: none; width: 104px; aspect-ratio: 210 / 297; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 6px 18px rgba(67,43,127,.12); padding: 10px 11px; display: flex; flex-direction: column; gap: 5px; transform: rotate(-3deg); transition: transform .3s; }
@media (hover: hover) { .letter-panel:hover .letter-thumb { transform: rotate(0); } }
.letter-thumb .lt-logo { width: 14px; height: 14px; border-radius: 50%; background: var(--dove); align-self: center; }
.letter-thumb .lt-title { width: 60%; height: 5px; border-radius: 3px; background: var(--purple); align-self: center; margin-bottom: 4px; }
.letter-thumb .lt-line { height: 1px; background: #cfc6e3; margin-top: 5px; }
.letter-thumb .lt-line.short { width: 55%; }
.letter-thumb .lt-box { flex: 1; margin-top: 6px; border: 1.5px dashed #cfc6e3; border-radius: 6px; }
@media (max-width: 560px) {
  .letter-panel { flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 1.4rem 1.25rem; }
  .letter-thumb { width: 84px; }
  .letter-panel .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .letter-thumb { transition: none; } }

/* ---------- Remembrance tidy-up (22 Nov 2026) ---------- */
.section-head--centre { margin-inline: auto; text-align: center; }
#kind-words .review-links { justify-content: center; text-align: center; }
/* "Would you like your pet included?" as one slim line under the gallery */
.include-line { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 3rem; padding: 1.4rem 1.75rem; border-radius: 18px; background: var(--mist); }
.include-line p { margin: 0; color: var(--ink-soft); max-width: 44em; }
.include-line strong { color: var(--ink); margin-right: .25rem; }
.include-line .btn { flex: none; }
@media (max-width: 700px) {
  .include-line { flex-direction: column; align-items: flex-start; padding: 1.25rem; margin-top: 2.25rem; }
  .include-line strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; margin: 0 0 .3rem; }
}

/* Remembrance gallery pop-up: previous / next arrows like the products (Ash, 22 Nov 2026) */
.lightbox--petnav { overflow: visible; width: min(880px, calc(100vw - 10rem)); }
.lightbox--petnav .lightbox-media, .lightbox--petnav[open] .lightbox-media { border-radius: 18px 0 0 18px; overflow: hidden; }
.lightbox--petnav .lightbox-body { border-radius: 0 18px 18px 0; }
@media (max-width: 760px) {
  .lightbox--petnav { width: 92vw; max-height: calc(100dvh - 8rem); margin-top: 1.25rem; }
  .lightbox--petnav[open] { grid-template-rows: auto minmax(0, 1fr); }
  .lightbox--petnav .lightbox-media, .lightbox--petnav[open] .lightbox-media { border-radius: 18px 18px 0 0; min-height: 0; height: 38vh; }
  .lightbox--petnav .lightbox-body { border-radius: 0 0 18px 18px; }
}

/* Product pop-up: "Names and dates shown are examples." as its own soft note (22 Nov 2026) */
.lightbox-note { display: flex; gap: .5rem; align-items: flex-start; margin: -.5rem 0 1.5rem; padding: .6rem .8rem; border-radius: 10px; background: var(--mist); color: var(--purple); font-size: .9rem; line-height: 1.45; }
.lightbox-note[hidden] { display: none; }
.lightbox-note svg { flex: none; width: 18px; height: 18px; margin-top: .1rem; }

/* Caskets & urns: small colour and "Personalised" icons on the photos, no labels (Ash, 22 Nov 2026) */
.zoom { position: relative; }
.badges { position: absolute; left: .7rem; bottom: .7rem; display: flex; align-items: center; gap: .6rem; }
.badge { display: inline-flex; align-items: center; gap: .3rem; color: var(--purple); line-height: 1; }
.badge i { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 1.5px rgba(255,255,255,.9), 0 1px 3px rgba(30,20,50,.25); }
.badge i.sw-more { background: conic-gradient(#e2504c, #f2b13b, #5bb55e, #3f8fd8, #8a5bd0, #e2504c); }
.badge b { font: 700 .72rem/1 var(--sans); color: var(--ink-soft); }
.badge--personal { opacity: .85; }
.badge--personal svg { width: 17px; height: 17px; filter: drop-shadow(0 0 1.5px rgba(255,255,255,.95)) drop-shadow(0 1px 2px rgba(30,20,50,.2)); }
@media (max-width: 480px) {
  .badges { left: .5rem; bottom: .5rem; gap: .45rem; }
  .badge { gap: .25rem; }
  .badge i { width: 10px; height: 10px; }
  .badge--personal svg { width: 15px; height: 15px; }
}

/* ---------- Clickable photos and cards: one hover look (22 Nov 2026, Ash) ----------
   Hover = a 3px purple ring round the photo or card, nothing else (no magnifying glass,
   no darkening, no lilac box, no icon colour change). */
.zoom-hint { display: none; }
@media (hover: hover) {
  .family-tab:hover { background: none; color: var(--ink); }
  .family-tab:hover .family-thumb { box-shadow: 0 0 0 3px var(--purple); }
  .watch-card:hover .watch-play { background: rgba(255,255,255,.95); color: var(--purple); }
}
.watch-card:focus-visible .watch-play { background: rgba(255,255,255,.95); color: var(--purple); }
.family-tab[aria-selected="true"] .family-thumb { box-shadow: 0 0 0 3px var(--purple); }
@media (hover: hover) { .family-tab[aria-selected="true"]:hover { color: var(--purple); } }

/* "Personalised" label back beside the pen, kept quiet: small text on a faint frosted background (Ash, 22 Nov 2026) */
.badge--personal { opacity: 1; gap: .25rem; padding: .2rem .45rem .2rem .35rem; border-radius: 999px; background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.badge--personal svg { width: 13px; height: 13px; filter: none; }
.badge--personal span { font: 600 .68rem/1 var(--sans); letter-spacing: .01em; color: var(--purple); }
@media (max-width: 480px) {
  .badge--personal { padding: .16rem .38rem .16rem .3rem; }
  .badge--personal svg { width: 11px; height: 11px; }
  .badge--personal span { font-size: .6rem; }
}

/* Sizes badge uses the same quiet label style as "Personalised" (Ash, 22 Nov 2026) */
.badge--tag { gap: .25rem; padding: .2rem .45rem .2rem .35rem; border-radius: 999px; background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.badge--tag svg { width: 13px; height: 13px; flex: none; }
.badge--tag span { font: 600 .68rem/1 var(--sans); letter-spacing: .01em; color: var(--purple); }
@media (max-width: 480px) {
  .badge--tag { padding: .16rem .38rem .16rem .3rem; }
  .badge--tag svg { width: 11px; height: 11px; }
  .badge--tag span { font-size: .6rem; }
}
/* Very narrow phones: let the colour dots overlap slightly so the labels still fit inside the photo */
@media (max-width: 380px) {
  .badges { gap: .3rem; }
  .badge--colours { gap: 0; }
  .badge--colours i + i { margin-left: -2px; }
  .badges { left: .4rem; }
  .badge i { width: 9px; height: 9px; }
  .badge--tag { padding: .14rem .32rem .14rem .26rem; gap: .2rem; }
  .badge--tag span { font-size: .58rem; }
}

/* Pop-up arrows: keep the pop-up the same size from item to item, and fade the new content in (Ash, 22 Nov 2026) */
@media (min-width: 761px) {
  .lightbox:not(.lightbox--pet), .lightbox--petnav { height: min(560px, 88vh); max-height: none; }
  .lightbox:not(.lightbox--pet)[open], .lightbox--petnav[open] { grid-template-rows: minmax(0, 1fr); }
  .lightbox--petnav .lightbox-media img { width: 100%; height: 100%; object-fit: cover; }
}
@media (max-width: 760px) {
  .lightbox--petnav { height: calc(100dvh - 8rem); max-height: none; }
}
@keyframes lbStep { from { opacity: .35; } to { opacity: 1; } }
.lightbox.is-stepping .lightbox-media > img, .lightbox.is-stepping .lightbox-body > * { animation: lbStep .22s ease-out; }
@media (prefers-reduced-motion: reduce) { .lightbox.is-stepping .lightbox-media > img, .lightbox.is-stepping .lightbox-body > * { animation: none; } }

/* "Our family": the big photo crossfades between dogs instead of popping on and off (Ash, 22 Nov 2026) */
#feature-photo { position: relative; }
#feature-photo .fx-layer { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .45s ease; }
#feature-photo .fx-layer.is-in { opacity: 1; }
.memorial-grid.is-swapping .memorial-photos { opacity: 1; transform: none; }
.feature-swap { transition: opacity .2s ease, transform .2s ease; }

/* Caskets & urns banner: shelves of scatter tubes (Ash, 22 Nov 2026) */
.page-hero.page-hero--caskets .page-hero-media img { object-position: 60% 50%; }
.page-hero--caskets::after { background: linear-gradient(90deg, rgba(31,20,62,.88) 0%, rgba(31,20,62,.68) 45%, rgba(31,20,62,.15) 85%), linear-gradient(0deg, rgba(31,20,62,.45), transparent 55%); }
@media (max-width: 700px) {
  .page-hero.page-hero--caskets .page-hero-media img { object-position: 62% 40%; }
  .page-hero--caskets::after { background: linear-gradient(0deg, rgba(31,20,62,.9) 0%, rgba(31,20,62,.72) 55%, rgba(31,20,62,.3) 100%); }
}

/* ---------- Remembrance: soft photo-collage behind the top (mock-up, 22 Nov 2026) ----------
   To remove: take "memorial--collage" off the section in _build/pages.py (or delete this block). */
.memorial--collage {
  background:
    linear-gradient(180deg, rgba(243,241,246,.84) 0%, rgba(243,241,246,.9) 50%, var(--mist) 100%) top center / 100% 560px no-repeat,
    url("../images/remembrance-collage.jpg") top center / auto 560px repeat-x,
    var(--mist);
  background-size: 100% 560px, auto 560px, auto;
}
@media (max-width: 760px) {
  .memorial--collage { background-size: 100% 420px, auto 420px, auto; }
}

/* ---------- Banners: white buttons fill purple on hover; quick links sit below the banner (22 Nov 2026, Ash) ----------
   Main buttons (e.g. "See prices", "Send a message") stay in photo banners and fill brand purple with white text on hover,
   with no white glow. Quick-link pills (Urns · Caskets · Keepsakes · Scattering) sit just below the banner on the page. */
@media (hover: hover) {
  .hero-prices-btn:hover { background: var(--purple); border-color: var(--purple); color: #fff; box-shadow: var(--ring-photo); }
}
@media (min-width: 1101px) and (hover: hover) {
  .banner .btn-msg:hover { background: var(--purple); border-color: var(--purple); color: #fff; box-shadow: var(--ring-photo); }
  .banner .btn-call:hover { background: var(--purple); border-color: var(--purple); color: #fff; box-shadow: var(--ring-photo); }
}
@media (min-width: 701px) and (max-width: 1100px) and (hover: hover) {
  .banner .btn-call:hover { background: var(--purple); border-color: var(--purple); color: #fff; box-shadow: var(--ring-photo); }
  .banner .btn-msg:hover { background: var(--purple); border-color: var(--purple); color: #fff; box-shadow: var(--ring-photo); }
}
.hero-prices-btn:focus-visible { background: #fff; color: var(--purple); border-color: #fff; box-shadow: none; }
:root { --ring-photo: 0 0 0 3px rgba(217,207,242,.4); } /* softer lilac glow over photos */
.jump-bar { padding-top: clamp(1.5rem, 3vw, 2rem); }
.jump-bar .jump-links { margin-top: 0; }
.jump-bar + .section { padding-top: clamp(2rem, 4vw, 3rem); }

/* ---------- About: photo banner (Lorraine and her dogs by the lake, 22 Nov 2026) ---------- */
.page-hero.page-hero--about { min-height: clamp(360px, 40vw, 640px); }
.page-hero.page-hero--about .page-hero-media img { object-position: 50% 62%; }
@media (min-width: 1600px) { .page-hero.page-hero--about .page-hero-media img { object-position: 50% 50%; } }
@media (max-width: 700px) {
  .page-hero.page-hero--about { min-height: 560px; }
  .page-hero.page-hero--about .page-hero-media img { object-position: 86% 30%; }
}

/* Candles can be put out again, so a lit candle is still clickable (23 Nov 2026) */
.candle.is-lit { cursor: pointer; }
@media (hover: hover) { .candle.is-lit:hover { border-color: #e6cf9c; } }

/* Home ticks: equal visible gaps between the four ticks on wider screens (23 Nov 2026, Ash).
   Equal-width columns left a bigger gap after the short "DEFRA and APHA approved" tick. */
@media (min-width: 901px) {
  .assure-band .assure { display: flex; justify-content: space-between; gap: 2rem; }
  .assure-band .assure li { flex: 0 1 auto; }
}

/* Footer social icons: same pale lilac hover as the header icons, no glow (23 Nov 2026, Ash) */
@media (hover: hover) { .site-footer .social a:hover { background: var(--lilac-hover); color: var(--purple-deep); box-shadow: none; } }

/* Services "from" price lines: price in plain text colour so it doesn't look clickable; only "See all prices" is a link (23 Nov 2026, Ash) */
.from-line strong { color: var(--ink); }
.watch-card + .from-line { margin-top: 1.25rem; }

/* About banner: same height as the other photo banners; framed so Lorraine's and the dogs' heads stay in (23 Nov 2026, Ash) */
.page-hero.page-hero--about { min-height: clamp(320px, 31vw, 600px); }
@media (min-width: 701px) { .page-hero.page-hero--about .page-hero-media img { object-position: 50% 40%; } }
@media (max-width: 700px) {
  .page-hero.page-hero--about { min-height: 500px; }
  .page-hero.page-hero--about .page-hero-media img { object-position: 86% 30%; }
}

/* Contact map: full window width, sitting flush on the footer (23 Nov 2026, Ash). Shorter on phones so scrolling the page doesn't get caught in the map. */
.map.map--full { width: 100%; height: clamp(320px, 30vw, 440px); margin: 0; border-radius: 0; }
@media (max-width: 700px) { .map.map--full { height: 240px; } }

/* ---------- Contact: tidier left column (23 Nov 2026, Ash) ---------- */
/* Purple box: white Call button gets the same hover as white buttons on the purple band; save link is a white arrow link */
.urgent { display: flex; flex-direction: column; align-items: flex-start; }
.urgent .btn { align-self: stretch; transition: background-color .18s, color .18s, box-shadow .18s, border-color .18s; }
@media (hover: hover) { .urgent .btn:hover { background: var(--mist); border-color: var(--mist); color: var(--purple-deep); box-shadow: var(--ring-dark); } }
.urgent .btn:focus-visible { outline-color: #fff; }
.urgent-save { margin-top: 1rem; color: #fff; font-weight: 600; font-size: .95rem; }
@media (hover: hover) { .urgent-save:hover { color: #d9cff2; } }
.urgent-save:focus-visible { outline-color: #fff; }
/* Contact details: icon rows; phone and email are purple so they read as links */
.details { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.details > li { display: flex; gap: .9rem; align-items: flex-start; line-height: 1.45; }
.details > li > svg { width: 22px; height: 22px; color: var(--purple); flex: none; margin-top: .15rem; }
.details > li > div { flex: 1; min-width: 0; }
.details a:not(.arrow-link) { color: var(--purple); font-weight: 700; text-decoration: none; transition: color .18s; }
@media (hover: hover) { .details a:not(.arrow-link):hover { color: var(--purple-deep); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: #c4b8e4; } }
.details > li > div > span { display: block; color: var(--ink-soft); font-size: .92rem; margin-top: .15rem; }
.details-title { display: block; font-weight: 700; margin-bottom: .35rem; }
.details .open-status { margin: 0 0 .35rem; font-weight: 600; font-size: .95rem; }
.hours--details td { padding: .5rem 0; }
.hours--details tr.is-today td { font-weight: 400; color: inherit; }
.hours--details td:last-child { color: var(--ink-soft); }
.details-note { margin: .9rem 0 0; color: var(--ink-soft); font-size: .92rem; }
.details-note .arrow-link { white-space: nowrap; margin-top: .35rem; display: inline-flex; }
/* Form box stretches to the height of the left column; the message box grows to fill it, so there's no gap under the form */
@media (min-width: 861px) {
  .contact-grid { align-items: stretch; }
  .contact-grid > .form { display: flex; flex-direction: column; }
  .contact-grid > .form > .field:has(textarea) { flex: 1; display: flex; flex-direction: column; }
  .contact-grid > .form textarea { flex: 1; }
  .contact-grid > .form .form-status:empty { margin: 0; }
}

/* Contact: open-now status on the same line as "Opening hours", aligned right (Ash, 23 Nov 2026) */
.details-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; column-gap:1rem; row-gap:.2rem; margin-bottom:.35rem; }
.details-head .details-title { margin:0; }
.details .details-head .open-status { margin:0; }
.details .open-call { display:none; }

/* Contact banner: "Thinking of you" card on an oak table (Ash, 23 Nov 2026) */
.page-hero.page-hero--contact .page-hero-media img { object-position: 70% 50%; }
@media (max-width: 700px) { .page-hero.page-hero--contact .page-hero-media img { object-position: 68% 30%; } }

/* Share one product, inside the Caskets & urns pop-up (Ash, 23 Nov 2026) */
.lightbox:not(.lightbox--pet) .product-share { margin-top: auto; padding-top: 1.25rem; align-self: flex-start; }
.product-share[hidden] { display: none; }
.lightbox:not(.lightbox--pet) .product-share:not([hidden]) + .lightbox-cta { margin-top: .6rem; }

/* ---------- Page not found (404.html, 23 Nov 2026) ---------- */
.notfound-inner { max-width: 40rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.notfound-photo { width: clamp(170px, 40vw, 240px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin-bottom: 1.75rem; }
.notfound-kicker { color: var(--purple); font-weight: 700; letter-spacing: .04em; margin: 0 0 .4rem; }
.notfound h1 { margin-top: 0; }
.notfound .lead { margin-inline: auto; }
.notfound .btn-row { justify-content: center; }
.notfound-links { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; }

/* Reviews tidy (Ash, 23 Nov 2026): name and source on one line ("Julie, on Google"). Same on Home, Remembrance and About. */
.review-source { display: inline; margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: 0; color: inherit; line-height: inherit; }

/* Remembrance gallery (Ash, 23 Nov 2026): smaller circles on computers (10 per row at ~98px),
   phones unchanged; every name on one line at one size, with "…" if wider than the photo (full name in the pop-up) */
@media (min-width: 900px) {
  .gallery.gallery--small { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 1.5rem 1rem; }
}
.gallery--small li, .gallery--small .zoom--pet { min-width: 0; }
.gallery--small .zoom--pet { width: 100%; }
.gallery--small .pet-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* Home banner heading (Ash, 23 Nov 2026): small "Welcome to" above "At Rest Pet Cremation" (still one h1) */
.banner-title .banner-kicker { display: block; font-family: var(--sans); font-size: clamp(.95rem, 1.4vw, 1.15rem); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #d9cff2; margin-bottom: .55rem; line-height: 1.3; }
.banner-title .banner-name { display: block; }
@media (min-width: 701px) { .banner-title .banner-name { white-space: nowrap; } }
@media (max-width: 700px) { .banner-title .banner-kicker { color: var(--purple); } }

/* About: real room photos in place of the placeholders (farewell room, Ash, 23 Nov 2026) */
.room-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* Home banner slide 2: pets resting together in a meadow (Ash, 23 Nov 2026); keep the pets in view */
.banner-slides .slide:nth-child(2) img { object-position: 70% 60%; }
@media (max-width: 700px) { .banner-slides .slide:nth-child(2) img { object-position: 80% 60%; } }

/* Home ticks, equal gaps fix (Ash, 23 Nov 2026): wrapped titles left dead space inside their box,
   so the visible gaps looked uneven. On wide screens each title stays on one line and its grey line
   wraps to the title's width (at least 10rem), so all three gaps measure the same. In between, a tidy 2 x 2. */
@media (min-width: 1200px) {
  .assure-band .assure > li > div { white-space: nowrap; }
  .assure-band .assure > li > div > span { white-space: normal; width: 0; min-width: max(100%, 10rem); }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .assure-band .assure { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; }
}

/* Gentle parallax on banner photos (23 Nov 2026). main.js moves the photo down a little
   as the page scrolls, so it drifts more slowly than the page. Each photo is clipped to
   its own box so it never slides over the text. Off when "Reduce motion" is on. */
.slide, .page-hero-media { overflow: hidden; }
.js-parallax .slide > img, .js-parallax .slide > .slide-ph, .js-parallax .page-hero-media > img {
  height: calc(100% + var(--parallax-bleed, 0px));
  transform: translate3d(0, calc(var(--parallax, 0px) - var(--parallax-bleed, 0px)), 0); will-change: transform; backface-visibility: hidden;
}

/* Banner text vertically centred on computers and tablets (Ash, 23 Nov 2026).
   Home: the text sits in the middle, the slideshow dots stay at the bottom.
   Phones keep the text at the bottom, where the purple wash is darkest and the photo's subject stays clear. */
@media (min-width: 701px) {
  .banner { justify-content: flex-start; }
  .banner-content { margin-block: auto; padding-block: 3rem; }
  .banner-dots { position: absolute; left: 0; right: 0; bottom: 0; margin-inline: auto; }
  .page-hero { align-items: center; }
  .page-hero-content { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
}

/* ---------- Slow zoom on the Home slideshow (Ash, 24 Nov 2026) ----------
   While a slide shows, its photo very slowly grows by 6% (about 9 seconds), like a gentle camera push-in.
   Uses "scale", so it adds to the parallax drift instead of replacing it. When a slide fades out it keeps
   its size until it has gone, then quietly resets. main.js adds .kb once the page has loaded so the first
   photo zooms too. Off when "Reduce motion" is on. To make it subtler, lower 1.06 (e.g. 1.04); to remove it,
   delete this block. */
@media (prefers-reduced-motion: no-preference) {
  .slide > img { transition: scale 0s linear 1.5s; }
  .banner.kb .slide.is-active > img { scale: 1.06; transition: scale 12s cubic-bezier(.3, .1, .3, 1); } /* 12s to match 8s slides (25 Nov 2026; was 9s) */
}
/* The same slow zoom on the Services, About, Caskets & Urns and Contact banners (Ash, 24 Nov 2026):
   it plays once as the page opens, then the photo stays at its zoomed size. */
@keyframes banner-zoom { from { scale: 1; } to { scale: 1.06; } }
@media (prefers-reduced-motion: no-preference) {
  .page-hero-media > img { animation: banner-zoom 9s cubic-bezier(.3, .1, .3, 1) both; }
}

/* ---------- Softer hover on product and gallery photos (Ash, 24 Nov 2026, preview) ----------
   The photo keeps its 3px purple ring (Ash asked for it back) and also lifts a few pixels with a soft,
   warm shadow, as if raised off the page. Keyboard focus keeps its usual purple ring. With "Reduce motion" on, it doesn't lift,
   just shows the shadow. Before-copy: _project/styles-before-curves-zoom-hover.css */
:root { --lift-shadow: 0 16px 30px -12px rgba(92, 62, 44, .42), 0 5px 12px -5px rgba(92, 62, 44, .2); }
.zoom { transition: translate .35s cubic-bezier(.25, .1, .25, 1); }
.zoom .product-photo, .zoom .photo-placeholder, .zoom--pet .circle-photo { transition: box-shadow .35s ease, filter .35s ease; }
@media (hover: hover) {
  .zoom:hover .product-photo { box-shadow: 0 0 0 3px var(--purple), var(--lift-shadow); filter: none; }
  .zoom:hover .photo-placeholder { box-shadow: 0 0 0 3px var(--purple), var(--lift-shadow); filter: none; }
  .zoom--pet:hover .circle-photo { box-shadow: 0 0 0 3px var(--purple), var(--lift-shadow); }
  .zoom--pet:hover .photo-placeholder { box-shadow: none; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .zoom:hover { translate: 0 -4px; }
  .zoom:hover:active { translate: 0 -2px; }
}

/* ---------- Soft page transitions (Ash, 24 Nov 2026, preview) ----------
   When moving between pages of the site, the old page gently fades into the new one (about a third of a
   second) instead of flashing white. The header and the phone Call/Message bar stay still while the page
   underneath changes. Uses the browser's own "view transitions": works in Chrome, Edge and Safari 18.2+
   (iPhone iOS 18.2+); other browsers just change page as before. Off when "Reduce motion" is on.
   Only works on the live site (not when opening the files straight from the folder). To remove it, delete this block. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; animation-timing-function: ease; }
.site-header { view-transition-name: site-header; }
.call-bar { view-transition-name: call-bar; }
::view-transition-group(site-header), ::view-transition-group(call-bar) { animation-duration: .38s; }

/* ---------- Banner heading fades in word by word (Ash, 24 Nov 2026, preview) ----------
   When a page first opens, the big banner heading appears softly, one word after another, over about a second.
   main.js wraps each word in a span (.hw); screen readers still read the heading as one line.
   Safety net: if the script doesn't run, the heading simply fades in as a whole.
   Off when "Reduce motion" is on. To remove it, delete this block and the matching block at the end of main.js. */
@keyframes heading-word { from { opacity: 0; transform: translateY(.25em); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes heading-show { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .banner h1, .page-hero h1 { animation: heading-show .6s ease 1.2s both; }
  .banner h1.is-words, .page-hero h1.is-words { animation: none; }
  h1.is-words .hw { display: inline-block; animation: heading-word .8s cubic-bezier(.25, .1, .25, 1) both; animation-delay: calc(.12s + var(--i) * .14s); }
}

/* ---------- Caskets & urns pop-up: only the description scrolls (Ash, 24 Nov 2026, preview) ----------
   The photo, name, price, note, share link, "Ask about this" button and arrows stay in place; if the words
   are too long for the space, just the description scrolls. A soft fade at its bottom edge shows there is more
   to read, and disappears at the end (main.js adds .has-more). Short phones get a slightly smaller photo. */
.lightbox:not(.lightbox--pet) .lightbox-body { overflow: hidden; }
.lightbox:not(.lightbox--pet) .lightbox-body > * { flex: none; }
.lightbox:not(.lightbox--pet) .lightbox-desc { flex: 0 1 auto; min-height: 3.2em; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--dove) transparent; padding-right: .35rem; margin-right: -.35rem; }
.lightbox:not(.lightbox--pet) .lightbox-desc.has-more {
  -webkit-mask-image: linear-gradient(#000 calc(100% - 2.6em), transparent);
          mask-image: linear-gradient(#000 calc(100% - 2.6em), transparent);
}
@media (max-width: 760px) {
  .lightbox:not(.lightbox--pet) .lightbox-body { padding: 1.25rem 1.25rem 1.1rem; }
  .lightbox:not(.lightbox--pet) .lightbox-body h2 { font-size: 1.4rem; }
  .lightbox:not(.lightbox--pet) .lightbox-price { margin-bottom: .6rem; }
  .lightbox:not(.lightbox--pet) .lightbox-desc { margin-bottom: 1rem; }
  .lightbox:not(.lightbox--pet) .lightbox-note { margin: -.25rem 0 .9rem; }
  .lightbox:not(.lightbox--pet) .product-share { padding-top: .6rem; }
}
/* Share link: just above "Ask about this" on computers; beside the price on phones */
.lightbox-price-row { display: contents; }
.lightbox:not(.lightbox--pet) .product-share { order: 1; }
.lightbox:not(.lightbox--pet) .lightbox-cta { order: 2; }
@media (max-width: 760px) {
  /* The photo takes a fixed share of the height, smaller on short phones, so the words always have room */
  .lightbox:not(.lightbox--pet) { --lb-photo-h: clamp(96px, calc(100dvh - 480px), 36vh); }
  .lightbox:not(.lightbox--pet) .lightbox-media { height: var(--lb-photo-h); }
  .lightbox:not(.lightbox--pet) .lightbox-media img { width: 100%; height: var(--lb-photo-h); max-height: none; object-fit: contain; }
  .lightbox-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
  .lightbox:not(.lightbox--pet) .lightbox-price-row .lightbox-price { margin: 0; line-height: 1.2; flex: none; white-space: nowrap; }
  .lightbox:not(.lightbox--pet) .lightbox-price .from { display: inline; font-size: .85rem; margin: 0 .3rem 0 0; }
  .lightbox:not(.lightbox--pet) .product-share { order: 0; margin: 0; padding: .2rem 0; align-self: flex-end; text-align: left; align-items: flex-start; font-size: .85rem; line-height: 1.3; max-width: 12.5rem; }
  .lightbox:not(.lightbox--pet) .product-share svg { flex: none; width: 16px; height: 16px; margin-top: .1rem; }
  .lightbox:not(.lightbox--pet) .lightbox-cta { margin-top: auto; }
  .lightbox:not(.lightbox--pet) .lightbox-note { font-size: .8rem; padding: .4rem .65rem; line-height: 1.35; }
  .lightbox:not(.lightbox--pet) .lightbox-body h2 { font-size: 1.3rem; }
}

/* Pop-up layout fixed in place (Ash, 24 Nov 2026): the description always starts at the same spot
   (one spot for one-line names, one for two-line names), and the note, share link and "Ask about this"
   always sit in the same place at the bottom. The price line keeps the same height whether or not it
   has the small "From" above it, and the description fills the space between. */
.lightbox:not(.lightbox--pet) .lightbox-desc { flex: 1 1 0; }
@media (min-width: 761px) {
  .lightbox:not(.lightbox--pet) .lightbox-price { min-height: 3.35rem; display: flex; flex-direction: column; justify-content: flex-end; }
  .lightbox:not(.lightbox--pet) .product-share { margin-top: 0; }
}
@media (max-width: 760px) {
  /* Phones: the share link goes back to its own fixed spot just above "Ask about this", and the
     "Names and dates shown are examples." note sits as a small label on the bottom of the photo,
     so the words keep enough room */
  .lightbox-price-row { display: contents; }
  .lightbox:not(.lightbox--pet) .lightbox-price-row .lightbox-price { margin: 0 0 .9rem; flex: none; }
  .lightbox:not(.lightbox--pet) .product-share { order: 1; margin: 0 0 .35rem; padding: .2rem 0; max-width: none; align-self: flex-start; font-size: .9rem; }
  .lightbox:not(.lightbox--pet) .lightbox-note { position: absolute; top: calc(var(--lb-photo-h) - 2.35rem); left: .75rem; max-width: calc(100% - 1.5rem); margin: 0; padding: .3rem .65rem; border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(36,29,51,.12); font-size: .78rem; align-items: center; white-space: nowrap; }
  .lightbox:not(.lightbox--pet) .lightbox-note svg { width: 15px; height: 15px; margin-top: 0; }
}
@media (max-width: 359px) { .lightbox:not(.lightbox--pet) .lightbox-note { font-size: .7rem; padding: .3rem .5rem; gap: .35rem; } }

/* "Personalised" label on the pop-up photo, bottom left like on the card (Ash, 24 Nov 2026).
   On phones the "Names and dates shown are examples." label moves up to sit just above it. */
.lightbox-badges { left: .9rem; bottom: .9rem; z-index: 2; }
.lightbox-badges .badge--tag { padding: .28rem .6rem .28rem .45rem; gap: .3rem; background: rgba(255,255,255,.7); }
.lightbox-badges .badge--tag svg { width: 15px; height: 15px; }
.lightbox-badges .badge--tag span { font-size: .78rem; }
@media (max-width: 760px) {
  .lightbox-badges { left: .75rem; bottom: auto; top: calc(var(--lb-photo-h) - 2.05rem); }
  .lightbox-badges .badge--tag { padding: .22rem .5rem .22rem .38rem; }
  .lightbox-badges .badge--tag svg { width: 13px; height: 13px; }
  .lightbox-badges .badge--tag span { font-size: .7rem; }
  /* the note sits just above the label, kept clear of the close button, and wraps if it must */
  .lightbox.has-personal:not(.lightbox--pet) .lightbox-note { top: calc(var(--lb-photo-h) - 2.4rem); transform: translateY(-100%); max-width: calc(100% - 4.6rem); white-space: normal; border-radius: 12px; }
}

/* Pop-up buttons stacked, full width, on every screen (Ash, 24 Nov 2026): "Ask about this" (filled) on top,
   "Share with family or friends" (outlined) underneath. Both always sit in the same place. */
dialog.lightbox:not(.lightbox--pet) .lightbox-cta { order: 1; margin-top: 0; width: 100%; }
dialog.lightbox:not(.lightbox--pet) .product-share {
  order: 2; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; width: 100%; max-width: none;
  margin: .6rem 0 0; padding: .85rem 1.5rem; min-height: 48px; align-self: stretch;
  border: 2px solid var(--purple); border-radius: 999px; background: transparent; color: var(--purple);
  font: 700 1rem/1 var(--sans); text-align: center;
}
dialog.lightbox:not(.lightbox--pet) .product-share svg { width: 1.1em; height: 1.1em; margin: 0; }
dialog.lightbox:not(.lightbox--pet) .product-share:focus-visible { background: var(--purple); color: #fff; box-shadow: var(--ring); outline: none; }
@media (hover: hover) {
  dialog.lightbox:not(.lightbox--pet) .product-share:hover { background: var(--purple); color: #fff; box-shadow: var(--ring); }
  dialog.lightbox:not(.lightbox--pet) .product-share:hover span { text-decoration: none; }
}
dialog.lightbox:not(.lightbox--pet) .lightbox-note { margin-bottom: 1rem; }
@media (max-width: 760px) {
  dialog.lightbox:not(.lightbox--pet) .lightbox-cta, dialog.lightbox:not(.lightbox--pet) .product-share { min-height: 44px; padding-block: .7rem; font-size: .95rem; }
  dialog.lightbox:not(.lightbox--pet) .product-share { margin-top: .5rem; padding-inline: .75rem; gap: .4rem; white-space: nowrap; font-size: .88rem; }
}

/* Remembrance "Our family" photos: same hover as the gallery pets (Ash, 24 Nov 2026):
   purple ring plus a small lift and soft, warm shadow. No lift with "Reduce motion". */
.family-tab { transition: translate .35s cubic-bezier(.25, .1, .25, 1), color .18s; }
.family-thumb { transition: box-shadow .35s ease; }
@media (hover: hover) {
  .family-tab:hover .family-thumb, .family-tab[aria-selected="true"]:hover .family-thumb { box-shadow: 0 0 0 3px var(--purple), var(--lift-shadow); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .family-tab:hover { translate: 0 -4px; }
  .family-tab:hover:active { translate: 0 -2px; }
}
@media (max-width: 359px) { dialog.lightbox:not(.lightbox--pet) .product-share { font-size: .8rem; padding-inline: .5rem; } }

/* Remembrance pet pop-ups (Ash, 24 Nov 2026), like Caskets & Urns: the name stays at the top, and
   "Light a candle" with an outlined "Share" button underneath stay at the bottom, in the same place
   for every pet. The words always start in the same spot and only they scroll, if a story is long. */
dialog.lightbox--memorial .lightbox-body { display: flex; flex-direction: column; overflow: hidden; }
dialog.lightbox--memorial .lightbox-body > * { flex: none; }
dialog.lightbox--memorial .lightbox-desc { flex: 0 1 auto; min-height: 3.2em; margin-bottom: 1.25rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--dove) transparent; padding-right: .35rem; margin-right: -.35rem; }
dialog.lightbox--memorial .lightbox-desc.has-more {
  -webkit-mask-image: linear-gradient(#000 calc(100% - 2.6em), transparent);
          mask-image: linear-gradient(#000 calc(100% - 2.6em), transparent);
}
dialog.lightbox--memorial .pet-actions { margin-top: auto; padding-top: 1.1rem; display: flex; flex-direction: column; gap: .6rem; }
dialog.lightbox--memorial .candle { min-height: 5.4rem; padding-block: .55rem; } /* the same size lit or unlit, so it never moves */
dialog.lightbox--memorial .candle-svg { width: 40px; height: 56px; }
dialog.lightbox--memorial .candle-note { font-size: .8rem; line-height: 1.35; }
dialog.lightbox--memorial .pet-actions .pet-share {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; width: 100%;
  padding: .85rem 1.5rem; min-height: 48px;
  border: 2px solid var(--purple); border-radius: 999px; background: transparent; color: var(--purple);
  font: 700 1rem/1 var(--sans); text-align: center; white-space: nowrap;
}
dialog.lightbox--memorial .pet-actions .pet-share svg { width: 1.1em; height: 1.1em; flex: none; }
dialog.lightbox--memorial .pet-actions .pet-share span { overflow: hidden; text-overflow: ellipsis; }
dialog.lightbox--memorial .pet-actions .pet-share:focus-visible { background: var(--purple); color: #fff; box-shadow: var(--ring); outline: none; }
@media (hover: hover) {
  dialog.lightbox--memorial .pet-actions .pet-share:hover { background: var(--purple); color: #fff; box-shadow: var(--ring); }
  dialog.lightbox--memorial .pet-actions .pet-share:hover span { text-decoration: none; }
}
@media (max-width: 760px) {
  dialog.lightbox--memorial { --lb-photo-h: clamp(110px, calc(100dvh - 520px), 34vh); }
  dialog.lightbox--memorial .lightbox-media, dialog.lightbox--memorial[open] .lightbox-media { height: var(--lb-photo-h); }
  dialog.lightbox--memorial .lightbox-media img { width: 100%; height: var(--lb-photo-h); object-fit: cover; }
  dialog.lightbox--memorial .lightbox-body { padding: 1.25rem 1.25rem 1.1rem; }
  dialog.lightbox--memorial .lightbox-body h2 { font-size: 1.4rem; }
  dialog.lightbox--memorial .lightbox-desc { margin-bottom: 1rem; }
  dialog.lightbox--memorial .pet-actions { padding-top: .9rem; gap: .5rem; }
  dialog.lightbox--memorial .candle { min-height: 4.85rem; padding: .45rem .8rem .45rem .45rem; gap: .6rem; }
  dialog.lightbox--memorial .candle-svg { width: 32px; height: 46px; }
  dialog.lightbox--memorial .candle-text { font-size: .95rem; }
  dialog.lightbox--memorial .candle-note { font-size: .75rem; }
  dialog.lightbox--memorial .pet-actions .pet-share { min-height: 44px; padding: .7rem .75rem; font-size: .92rem; gap: .4rem; }
}
@media (max-width: 359px) { dialog.lightbox--memorial .candle { min-height: 5.85rem; } }

/* ---------- Areas we cover: full-width photo banner (Ash, 25 Nov 2026) ----------
   Ash's photo of the van on a country lane fills the section. The words sit on the left over a soft
   purple wash, like the Home banner, so they stay easy to read. On phones and small tablets the photo
   sits on top and the words go underneath on a plain background. */
.areas-band { position: relative; isolation: isolate; overflow: hidden; background: var(--purple-deep); color: #fff; }
.areas-band-media { position: absolute; inset: 0; z-index: -1; }
.areas-band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 78%; } /* lower, so the van sits further from the bottom edge (Ash, 25 Nov 2026) */
.areas-band-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(31,20,62,.9) 0%, rgba(31,20,62,.8) 34%, rgba(31,20,62,.45) 52%, rgba(31,20,62,.08) 72%, rgba(31,20,62,0) 85%),
              linear-gradient(0deg, rgba(31,20,62,.3), transparent 35%); }
.areas-band-inner { display: flex; align-items: center; min-height: clamp(560px, 54vw, 960px); padding-block: clamp(4rem, 8vw, 6.5rem); }
.areas-band-text { max-width: 35rem; text-shadow: 0 1px 2px rgba(20,12,40,.35); }
.areas-band h2 { color: #fff; }
.areas-band .areas-lead { color: rgba(255,255,255,.92); }
.areas-band .areas li { color: #fff; }
.areas-band .areas svg { color: #d9cff7; }
.areas-band .areas-note { color: rgba(255,255,255,.88); }
.areas-band .arrow-link { color: #fff; }
@media (hover: hover) { .areas-band .arrow-link:hover { color: #e6defa; } }
.areas-band :focus-visible, .areas-band a:focus-visible { outline-color: #fff; }
@media (max-width: 900px) {
  .areas-band { background: var(--paper); color: var(--ink); }
  .areas-band-media { position: relative; inset: auto; z-index: auto; aspect-ratio: 16 / 10; max-height: 60vh; }
  .areas-band-media img { object-position: 72% 75%; }
  .areas-band-media::after { display: none; }
  .areas-band-inner { display: block; min-height: 0; padding-block: 2.5rem 3.5rem; }
  .areas-band-text { max-width: none; text-shadow: none; }
  .areas-band h2 { color: var(--ink); }
  .areas-band .areas-lead, .areas-band .areas-note { color: var(--ink-soft); }
  .areas-band .areas li { color: var(--ink); }
  .areas-band .areas svg { color: var(--purple); }
  .areas-band .arrow-link { color: var(--purple); }
  .areas-band :focus-visible, .areas-band a:focus-visible { outline-color: var(--focus); }
}
