/* Your Funeral Home. An industry site for the Lumen Alto showcase.
   Borrows the broad ideas of Split Conversation (a calm serif display face, a broad brand panel
   beside a quiet narrative, fine rules, generous space) and makes them its own: a dusk panel that
   stays beside the reading column on wide screens, warm paper, large plain text for older readers.
   @font-face rules live in inc/head.html (they need the /showcase/assets token; this file is not filled).
   Drawings read the --ill-* and --mark-* tokens, so colors change in one place. */

:root {
  color-scheme: light;
  --paper: #f8f5ef; --paper-2: #f0eadf; --field-bg: #ffffff;
  --ink: #1d2329; --muted: #4a5159; --rule: #d9d0c2;
  --link: #2c4a66; --link-hover: #1b3149; --icon: #2c4a66; --num: #6e5a30;
  --dusk: #26384a; --dusk-2: #1b2836; --on-dusk: #f6f1e8; --on-dusk-2: #cdd5de;
  --btn: #26384a; --btn-fg: #f8f5ef; --btn-hover: #1b2836;
  --btn-l: #f6f1e8; --btn-l-fg: #26384a; --btn-l-hover: #e3dccf;
  --field-line: #6f757c; --ph: #5c636a; --error: #9a2a22;
  --focus: #1f5c99; --focus-dusk: #f6f1e8;
  --pill-bg: #e8e0d1; --pill-fg: #4d3f26; --note-bg: #f3eee4; --note-line: #cbbfa9;
  --select: #d8e1ea; --select-fg: #1d2329; --shadow: rgba(29, 35, 41, .12);
  --ill-sky: #26384a; --ill-moon: #f3e8cf; --ill-glow: #f0d9a8;
  --ill-hill-3: #3e5469; --ill-hill-2: #2e4053; --ill-hill-1: #1f2e3d; --ill-path: #b9c4cf; --ill-tree: #142029;
  --ill-petal: #f6f1e8; --ill-petal-2: #d9cde3; --ill-leaf: #7f9a86; --ill-leaf-2: #5f7d69; --ill-gold: #d1a95a;
  --ill-wall: #ebe3d4; --ill-wall2: #d9cfbd; --ill-roof: #1a2734; --ill-window: #f2d99c; --ill-trim: #fbf8f1;
  --mark-bg: #efe8dc; --mark-line: #a99d88; --mark-leaf: #6f8a75; --mark-petal: #cbbad9; --mark-center: #c9a45c;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --text: "Public Sans", "Segoe UI", Arial, sans-serif;
  --pad: clamp(20px, 4.4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; padding-bottom: 52px; background: var(--paper); color: var(--ink); font: 400 19px/1.65 var(--text); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
[hidden] { display: none !important; }
p { margin: 0 0 18px; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; font-family: var(--display); color: inherit; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
strong { font-weight: 650; }
::selection { background: var(--select); color: var(--select-fg); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 60; padding: 12px 18px; border-radius: 2px; background: var(--btn); color: var(--btn-fg); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.skip:focus-visible { outline-color: var(--focus); }

/* Phone strip and header */
.strip { background: var(--dusk-2); color: var(--on-dusk); font-size: 16px; line-height: 1.4; }
.strip :focus-visible { outline-color: var(--focus-dusk); }
.strip-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; padding: 0 var(--pad); }
.strip p { margin: 0; }
.strip a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dusk); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.strip a:hover { color: #ffffff; }
.strip-hours { color: var(--on-dusk-2); }

.site-header { position: relative; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; padding: 0 var(--pad); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--display); font-size: 31px; font-weight: 600; line-height: 1; letter-spacing: .005em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.wordmark-mark { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--link); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav ul { display: flex; align-items: center; gap: 4px 30px; list-style: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--link); text-decoration: underline; }
.nav a[aria-current] { color: var(--link); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-call { display: none !important; }
.menu-btn {
  display: none; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; flex: none;
  font: 600 17px/1 var(--text); color: var(--ink); background: var(--paper); border: 1px solid var(--field-line); border-radius: 2px; cursor: pointer;
}
.menu-btn:hover { background: var(--paper-2); }
.menu-lines { position: relative; width: 20px; height: 14px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid currentColor; }
.menu-open .menu-lines { border-color: transparent; }
.menu-open .menu-lines::before, .menu-open .menu-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid currentColor; }
.menu-open .menu-lines::before { transform: rotate(45deg); }
.menu-open .menu-lines::after { transform: rotate(-45deg); }

/* Split: dusk panel beside the reading column. Stacks below 1100px. */
.split { display: grid; grid-template-columns: minmax(0, 1fr); }
/* The column below the sticky part takes the drawings' ground color, so the ground runs on down. */
.panel { position: relative; min-width: 0; background: var(--ill-hill-1); color: var(--on-dusk); }
.panel-stick { display: flex; flex-direction: column; background: var(--dusk); }
.panel :focus-visible { outline-color: var(--focus-dusk); }
.panel ::selection { background: var(--on-dusk); color: var(--dusk); }
.panel { --mark-bg: #30455a; --mark-line: #9aa9b9; --mark-leaf: #8fa996; --mark-petal: #d9cde3; --mark-center: #d1a95a; }
.panel-inner { padding: 36px var(--pad) 36px; }
.panel h1 { font-size: clamp(40px, 3.8vw, 60px); font-weight: 500; line-height: 1.06; letter-spacing: -.01em; }
.panel-lede { max-width: 30em; margin: 20px 0 0; font-size: 19px; line-height: 1.6; color: var(--on-dusk); }
.panel-lede a, .panel-inner p a:not(.btn-light) { color: var(--on-dusk); }
.panel-meta { margin: 14px 0 0; font-size: 18px; color: var(--on-dusk-2); }
.panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.panel-actions .text-link { color: var(--on-dusk); }
.panel-art { position: relative; flex: none; aspect-ratio: 2 / 1; overflow: hidden; }
.panel-art svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.panel .mark { display: block; width: 92px; height: 115px; margin-bottom: 22px; }
.crumbs { margin: 0 0 22px; font-size: 16px; line-height: 1.4; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--on-dusk-2); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dusk); text-underline-offset: 3px; }
.crumbs a:hover { color: #ffffff; }
.crumbs [aria-current] { color: var(--on-dusk-2); }

.story { min-width: 0; padding: 52px var(--pad) 72px; }
.story > * { max-width: 760px; }

@media (min-width: 1100px) {
  .split { grid-template-columns: minmax(400px, 38%) minmax(0, 1fr); }
  .panel-inner { padding-top: 44px; }
  .panel-art { aspect-ratio: 5 / 4; }
  .story { padding-top: 64px; padding-bottom: 88px; }
}
/* The dusk column runs the full height; on tall enough screens its contents stay in view while the reading column scrolls. */
@media (min-width: 1100px) and (min-height: 760px) {
  .panel-stick { position: sticky; top: 0; height: calc(100vh - 52px); height: calc(100dvh - 52px); }
  .panel-art { flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
}

/* Reading column */
.lede { font-size: 21px; line-height: 1.6; }
.muted { color: var(--muted); }
.sec { padding: 52px 0 0; margin-top: 52px; border-top: 1px solid var(--rule); }
.sec:first-child, .sec.first { margin-top: 0; padding-top: 0; border-top: 0; }
.urgent + .sec, .note + .sec { margin-top: 0; padding-top: 12px; border-top: 0; }
.sec > h2, .h2 { margin-bottom: 18px; font-size: 42px; font-weight: 500; line-height: 1.1; letter-spacing: -.005em; }
.sec h3 { margin-bottom: 8px; font-size: 29px; font-weight: 600; line-height: 1.2; }
.sec > h3 { margin-top: 34px; }
.sec > h2 + h3, .sec > h3:first-child { margin-top: 0; }
.sec > p:last-child, .sec p.last { margin-bottom: 0; }
.list { margin: 0 0 18px; padding-left: 1.2em; }
.list li { margin-bottom: 8px; padding-left: 4px; }
.list li::marker { color: var(--num); }
.text-link { display: inline-block; padding: 10px 0; font-weight: 600; line-height: 1.4; color: var(--link); text-decoration: underline; text-underline-offset: 4px; }
.text-link .arw { display: inline-block; width: 12px; height: 12px; margin-left: 8px; vertical-align: 0; }
.arw { width: 11px; height: 11px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.btn, .btn-light, .btn-quiet {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 26px;
  font: 600 18px/1.3 var(--text); text-align: center; text-decoration: none; border-radius: 2px; cursor: pointer; transition: background-color .15s, border-color .15s;
}
.btn { color: var(--btn-fg); background: var(--btn); border: 1px solid var(--btn); }
.btn:hover { color: var(--btn-fg); background: var(--btn-hover); border-color: var(--btn-hover); text-decoration: none; }
.btn-light { color: var(--btn-l-fg); background: var(--btn-l); border: 1px solid var(--btn-l); }
.btn-light:hover { color: var(--btn-l-fg); background: var(--btn-l-hover); border-color: var(--btn-l-hover); text-decoration: none; }
.btn-quiet { min-height: 48px; padding: 10px 20px; font-size: 17px; color: var(--ink); background: transparent; border: 1px solid var(--field-line); }
.btn-quiet:hover { background: var(--paper-2); }

/* Sample note and pills */
.note { margin: 0 0 40px; padding: 18px 22px; background: var(--note-bg); border: 1px solid var(--note-line); border-radius: 2px; font-size: 17px; line-height: 1.55; color: var(--ink); }
.note p { margin: 0; }
.pill { display: inline-block; margin-right: 10px; padding: 2px 10px; font-size: 15px; font-weight: 650; line-height: 1.5; color: var(--pill-fg); background: var(--pill-bg); border-radius: 2px; vertical-align: 2px; }

/* Rows: services and pointers, divided by fine rules */
.rows { list-style: none; border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.row .icon { width: 44px; height: 44px; margin-top: 2px; fill: none; stroke: var(--icon); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.row h3 { margin-bottom: 6px; }
.row p { margin: 0 0 6px; color: var(--muted); }
.row .text-link { margin-top: 2px; }

.sec > :is(.rows, .obits, .steps, .facts, .details, .link-list):last-child > :last-child { border-bottom: 0; padding-bottom: 0; }

/* Obituary entries */
.obits { list-style: none; border-top: 1px solid var(--rule); }
.obit { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.mark { width: 92px; height: 115px; }
.mark .m-bg { fill: var(--mark-bg); stroke: var(--mark-line); stroke-width: 1.5; }
.mark .m-line { fill: none; stroke: var(--mark-line); stroke-width: 1; }
.mark .m-stem { fill: none; stroke: var(--mark-leaf); stroke-width: 2; stroke-linecap: round; }
.mark .m-leaf { fill: var(--mark-leaf); }
.mark .m-petal { fill: var(--mark-petal); }
.mark .m-center { fill: var(--mark-center); }
.obit h3 { margin-bottom: 4px; font-size: 31px; font-weight: 600; line-height: 1.15; }
.obit-dates { margin: 0 0 8px; font-size: 18px; color: var(--muted); }
.obit-line { margin: 0 0 6px; }
.obit .text-link { margin-top: 2px; }
.obit-group + .obit-group { margin-top: 44px; }
.obit-group > h2 { margin-bottom: 12px; font-size: 34px; font-weight: 500; line-height: 1.15; }

/* Obituary search and filter */
.finder { margin: 0 0 44px; padding: 26px 26px 20px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 2px; }
.finder-row { display: grid; grid-template-columns: minmax(0, 1fr); }
.finder fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.finder legend { padding: 0; margin-bottom: 8px; font-size: 17px; font-weight: 650; }
.finder-date { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 18px; }
.finder-date legend { grid-column: 1 / -1; }
.finder-date label { font-weight: 400; font-size: 16px; }
.finder-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 4px; }
.finder-count { margin: 0; font-size: 17px; color: var(--muted); }
.no-results { margin: 0 0 44px; padding: 26px; border: 1px solid var(--note-line); background: var(--note-bg); border-radius: 2px; }
.no-results h2 { margin-bottom: 10px; font-size: 32px; font-weight: 500; line-height: 1.15; }
.no-results p { margin-bottom: 16px; }
.quick { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin-top: 28px; }
.quick .field { flex: 1 1 260px; margin: 0; }

/* Service details on an obituary */
.details { margin: 0 0 22px; border-top: 1px solid var(--rule); }
.details > div { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.details dt { font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1.25; }
.details dd { margin: 0; }
.details dd span { display: block; color: var(--muted); }
.obit-text p { font-size: 20px; line-height: 1.7; }

/* Steps */
.steps { list-style: none; counter-reset: step; border-top: 1px solid var(--rule); }
.steps > li { position: relative; padding: 24px 0 24px 64px; border-bottom: 1px solid var(--rule); counter-increment: step; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 18px; font: 500 46px/1 var(--display); font-variant-numeric: lining-nums; color: var(--num); }
.steps h3 { margin-bottom: 6px; font-size: 27px; }
.steps p { margin: 0; }
.steps p + p { margin-top: 10px; }

/* Facts list (contact, hours) */
.facts { margin: 0; border-top: 1px solid var(--rule); }
.facts > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 650; }
.facts dd { margin: 0; }
.facts dd ul { list-style: none; }
.facts + p { margin-top: 18px; }
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 28px; list-style: none; margin: 0 0 22px; border-top: 1px solid var(--rule); }
.areas li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.two > div + div { padding-left: 36px; border-left: 1px solid var(--rule); }
.two h3 { font-size: 27px; }
.figure-art { position: relative; margin: 8px 0 26px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; }
.figure-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* On this page, link lists, back link */
.toc { margin: 0 0 8px; }
.toc ul { display: flex; flex-wrap: wrap; gap: 0 26px; list-style: none; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 500; }
.toc + .sec { margin-top: 28px; }
.link-list { list-style: none; border-top: 1px solid var(--rule); }
.link-list li { border-bottom: 1px solid var(--rule); }
.link-list .text-link { padding: 16px 0; font-size: 20px; }
.back { margin: 48px 0 0; }
.print-row p { margin: 0; }

/* Questions */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 16px 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 24px; font: 400 28px/1 var(--text); text-align: center; color: var(--link); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--link); }
.faq .answer { padding: 0 44px 22px 0; }
.faq .answer p { margin: 0; }
.faq .answer p + p { margin-top: 12px; }

/* CTA band at the end of the reading column */
.cta { margin-top: 64px; padding: 34px 34px 30px; background: var(--paper-2); border-top: 3px solid var(--dusk); }
.cta h2 { margin-bottom: 12px; font-size: 38px; font-weight: 500; line-height: 1.12; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 6px; }

/* Forms: local drafts, nothing is sent */
.draft-form { margin-top: 8px; }
.field { margin-bottom: 20px; }
.field label, .result label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 8px; font-size: 17px; font-weight: 650; color: var(--ink); }
.field .opt { font-size: 16px; font-weight: 400; color: var(--muted); }
.field .hint { display: block; margin: -2px 0 8px; font-size: 16px; color: var(--muted); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 52px; padding: 12px 14px; margin: 0;
  font: 400 18px/1.45 var(--text); color: var(--ink); background: var(--field-bg);
  border: 1px solid var(--field-line); border-radius: 2px;
}
.field input[type="search"] { -webkit-appearance: none; appearance: none; }
.field select { appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { min-height: 150px; resize: vertical; }
.field ::placeholder { color: var(--ph); opacity: 1; }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field-error { display: block; margin: 8px 0 0; font-size: 16px; font-weight: 600; color: var(--error); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-note { margin: 14px 0 0; font-size: 17px; line-height: 1.55; color: var(--muted); }
.draft-form .btn { margin-top: 4px; }
.result { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--rule); }
.result h3 { font-size: 30px; }
.result h3:focus { outline: none; }
.result > p { margin: 6px 0 18px; color: var(--muted); }
.result textarea { display: block; width: 100%; min-height: 280px; padding: 14px 16px; resize: vertical; font: 400 17px/1.65 var(--text); color: var(--ink); background: var(--field-bg); border: 1px solid var(--field-line); border-radius: 2px; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 18px; }
.result-actions .text-link { min-height: 44px; padding: 9px 0; font: 600 18px/1.4 var(--text); background: none; border: 0; cursor: pointer; }
.result-status { min-height: 1.6em; margin: 12px 0 0; font-size: 17px; color: var(--muted); }
.urgent { margin: 0 0 32px; padding: 20px 24px; border-left: 4px solid var(--dusk); background: var(--paper-2); }
.urgent p { margin: 0; }
.print-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Footer */
.site-footer { background: var(--dusk-2); color: var(--on-dusk); font-size: 17px; line-height: 1.6; }
.site-footer :focus-visible { outline-color: var(--focus-dusk); }
.site-footer a { color: var(--on-dusk); }
.site-footer a:hover { color: #ffffff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 36px 32px; padding: 56px var(--pad) 40px; }
.footer-brand .wordmark { color: var(--on-dusk); font-size: 30px; }
.footer-brand p { max-width: 30em; margin: 14px 0 0; color: var(--on-dusk-2); }
.site-footer h2 { margin-bottom: 12px; font-family: var(--text); font-size: 17px; font-weight: 650; letter-spacing: 0; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 6px; color: var(--on-dusk-2); }
.footer-list a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 20px var(--pad) 28px; border-top: 1px solid rgba(246, 241, 232, .22); font-size: 16px; color: var(--on-dusk-2); }
.footer-base p { margin: 0; }

/* Below 1100px: menu button, panel stacks above the reading column. */
@media (max-width: 1099px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
    padding: 8px var(--pad) 22px; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 16px 28px var(--shadow);
  }
  .menu-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--rule); }
  .nav a { min-height: 56px; font-size: 20px; }
  .nav a[aria-current] { text-underline-offset: 6px; }
  .nav-call { display: inline-flex !important; margin-top: 16px; }
  .nav .nav-call { min-height: 52px; padding: 12px 22px; font-weight: 600; color: var(--btn-fg); background: var(--btn); border-radius: 2px; text-decoration: none; }
  .nav .nav-call:hover { color: var(--btn-fg); background: var(--btn-hover); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 18px; }
  .strip-hours { display: none; }
  .strip-row { justify-content: center; text-align: center; }
  .header-row { min-height: 72px; gap: 12px; }
  .wordmark { font-size: 26px; gap: 8px; }
  .wordmark-mark { width: 26px; height: 26px; }
  .panel-inner { padding-top: 28px; padding-bottom: 30px; }
  .panel h1 { font-size: 42px; }
  .panel-lede { font-size: 18px; }
  .panel .mark { width: 76px; height: 95px; margin-bottom: 16px; }
  .story { padding-top: 40px; padding-bottom: 56px; }
  .lede { font-size: 19px; }
  .sec { margin-top: 44px; padding-top: 44px; }
  .sec > h2, .h2 { font-size: 34px; }
  .sec h3 { font-size: 26px; }
  .obit { grid-template-columns: 64px minmax(0, 1fr); gap: 18px; }
  .obit .mark { width: 64px; height: 80px; }
  .obit h3 { font-size: 28px; }
  .obit-group > h2 { font-size: 30px; }
  .finder { padding: 20px 18px 16px; }
  .details > div, .facts > div { grid-template-columns: minmax(0, 1fr); }
  .details dt { font-size: 24px; }
  .obit-text p { font-size: 19px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .two { grid-template-columns: minmax(0, 1fr); }
  .two > div + div { margin-top: 24px; padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .steps > li { padding-left: 48px; }
  .steps > li::before { font-size: 38px; }
  .steps h3 { font-size: 24px; }
  .cta { margin-top: 48px; padding: 26px 22px 22px; }
  .cta h2 { font-size: 31px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: 44px; }
  .faq .answer { padding-right: 0; }
}
@media (max-width: 520px) {
  .finder-date { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .panel h1 { font-size: 38px; }
  .obit { display: block; }
  .obit::after { content: ""; display: block; clear: both; }
  .obit .mark { float: left; width: 56px; height: 70px; margin: 2px 16px 8px 0; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .row .icon { width: 36px; height: 36px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .btn, .btn-light { width: 100%; }
  .cta-actions, .panel-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .text-link, .panel-actions .text-link { justify-content: center; }
}
@media (max-width: 360px) {
  .wordmark { font-size: 23px; }
  .wordmark-mark { display: none; }
  .menu-btn { padding: 0 12px; }
  .panel h1 { font-size: 35px; }
  .sec > h2, .h2 { font-size: 31px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .skip, .strip, .menu-btn, .nav, .panel-art, .draft-form, .result, .result-actions, .print-row, .cta, .finder, .sc-bar, .site-footer nav { display: none !important; }
  body { padding-bottom: 0; background: #ffffff; font-size: 12pt; }
  .split { display: block; }
  .panel, .panel-stick { position: static; height: auto; background: none; color: #000000; }
  .panel-inner, .story { padding: 0; }
  .crumbs { display: none; }
  .site-footer { background: none; color: #000000; }
  .site-footer a, .footer-list li, .footer-brand p, .footer-base { color: #000000; }
}

/* Showcase bar. Showcase chrome, not part of any template: Lumen Alto's night colors
   in every template and style, removed when a template becomes a client site.
   build.py appends this to base.css (Standard) and inlines it in single-page templates. */
.sc-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px; height: 52px; padding: 0 clamp(16px, 3vw, 40px);
  background: #000000; color: #f2f0eb; border-top: 1px solid rgba(242, 240, 235, .16);
  font: 500 .9rem/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none;
  overflow-x: auto; white-space: nowrap;
}
.sc-bar a { color: #f2f0eb; text-decoration: none; }
.sc-bar a:hover { text-decoration: underline; }
.sc-bar :focus-visible { outline: 2px solid #f2f0eb; outline-offset: 2px; }
.sc-home { font-weight: 700; padding-right: 16px; border-right: 1px solid rgba(242, 240, 235, .24); }
.sc-label { color: rgba(242, 240, 235, .62); }
.sc-styles { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sc-styles li { flex-shrink: 0; text-wrap: nowrap; }
.sc-styles a { display: inline-block; padding: 7px 12px; border: 1px solid transparent; border-radius: 2px; }
.sc-styles a[aria-current] { border-color: rgba(242, 240, 235, .5); }
@media print { .sc-bar { display: none; } }

/* Template look switcher (2026-11-02): a bar at the top of every template page, above the site's
   header, and a corner "Next look" button once the bar scrolls away. Industry sites keep .sc-bar. */
.sc-looks {
  position: relative; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 12px clamp(16px, 3vw, 40px);
  background: #000000; color: #f2f0eb; border-bottom: 1px solid rgba(242, 240, 235, .16);
  font: 500 15px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; text-align: left;
}
.sc-looks a { color: #f2f0eb; text-decoration: none; }
.sc-looks :focus-visible, .sc-pill:focus-visible { outline: 2px solid #f2f0eb; outline-offset: 3px; }
.sc-looks p { margin: 0; }
.sc-looks-home { font-weight: 700; padding-right: 14px; border-right: 1px solid rgba(242, 240, 235, .24); }
.sc-looks-home:hover { text-decoration: underline; }
.sc-looks-prompt { font-weight: 700; }
.sc-looks-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sc-looks-list a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 13px 0 7px;
  border: 1px solid rgba(242, 240, 235, .38); border-radius: 999px; white-space: nowrap; font-size: 14px;
}
.sc-looks-list a:hover { border-color: #f2f0eb; background: rgba(242, 240, 235, .1); }
.sc-looks-list a[aria-current] { border: 2px solid #f2f0eb; padding: 0 12px 0 6px; background: rgba(242, 240, 235, .14); font-weight: 700; }
.sc-sw {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%);
  box-shadow: 0 0 0 1px rgba(242, 240, 235, .55);
}
.sc-looks-count { margin-left: auto !important; color: rgba(242, 240, 235, .78); white-space: nowrap; }
.sc-looks-cur { display: none; }
.sc-looks-next, .sc-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: 999px;
  background: #f2f0eb; color: #000000 !important; font-weight: 700; white-space: nowrap;
}
.sc-looks-next:hover, .sc-pill:hover { background: #ffffff; }
.sc-vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc-pill {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; gap: 10px; min-height: 46px;
  font: 700 15px/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 8px 24px rgba(0, 0, 0, .35);
}
.sc-pill[hidden] { display: none; }
.sc-pill-count { font-weight: 500; color: #3a3a3a; }
/* The prompt needs the most room, then the names. Below 1440px the prompt goes; below 1200px the
   names give way to swatches (names stay as tooltips) and the count names the current look. */
@media (max-width: 1439px) { .sc-looks-prompt { display: none; } }
@media (max-width: 1199px) {
  .sc-looks-name { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sc-looks-list a, .sc-looks-list a[aria-current] { width: 40px; padding: 0; justify-content: center; }
  .sc-looks-list a[aria-current] .sc-sw { box-shadow: 0 0 0 2px #000000, 0 0 0 4px #f2f0eb; }
  .sc-looks-list a { border-color: transparent; }
  .sc-looks-list a[aria-current] { border-color: transparent; background: none; }
  .sc-looks-cur { display: inline; color: #f2f0eb; font-weight: 700; }
}
@media (max-width: 760px) {
  .sc-looks { padding-block: 10px; }
  .sc-looks-home { order: 1; }
  .sc-looks-next { order: 2; margin-left: auto; }
  .sc-looks-count { order: 3; flex-basis: 100%; margin-left: 0 !important; }
  .sc-looks-list { order: 4; }
  .sc-pill-count { display: none; }
}
@media print { .sc-looks, .sc-pill { display: none !important; } }
