/* Your Cremation & Memorial Co. An industry site for the Lumen Alto showcase.
   Borrows the broad ideas of Standard's Editorial style (Newsreader headings, Public Sans text,
   warm paper, a calm multi-page structure) and makes them its own: a light dawn palette of
   apricot and sage, arch-shaped drawings, pill buttons, and large plain text for older readers.
   Drawings read the --ill-* tokens and icons read --icon and --icon-hi, so colors change here. */

@font-face { font-family: "Newsreader"; src: url("/showcase/assets/fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/showcase/assets/fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/showcase/assets/fonts/public-sans.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f8f7f3; --warm: #f3ece3; --mist: #e6eee9; --card: #ffffff;
  --ink: #1c2a26; --muted: #4a5752; --rule: #d5dcd6; --rule-2: #bfcac3;
  --accent: #2f5d52; --accent-hover: #24493f; --on-accent: #ffffff;
  --link: #2a5a4e; --link-hover: #1c4238; --icon: #2f5d52; --icon-hi: #e3a57c; --mark-sun: #e3a57c;
  --field-bg: #ffffff; --field-line: #6b7873; --ph: #5d6964; --choice-on: #edf4f0;
  --error: #a1382a; --err-bg: #fbeeea; --focus: #1d6a85;
  --pill-bg: #f4e1d2; --pill-fg: #6b3a20; --note-bg: #fbf6ef; --note-line: #e3d3c0;
  --select: #d3e4dc; --select-fg: #1c2a26;
  --ill-sky: #f3ece3; --ill-cloud: #fbf8f4; --ill-glow-2: #f5e2d0; --ill-glow: #f1d1b4; --ill-sun: #eab48a;
  --ill-bird: #6a7a73; --ill-hill-3: #cfdad3; --ill-hill-2: #b4c7bd; --ill-water: #dae6e2; --ill-ripple: #f7f5f0;
  --ill-bank: #a2bbae; --ill-bank-2: #b3c8bc; --ill-tree: #6f9283; --ill-tree-2: #87a89a; --ill-trunk: #5b6f67;
  --ill-reed: #7b978a; --ill-reed-2: #9a8468; --ill-ground: #e6eee9; --ill-path: #efe6d9;
  --ill-wall: #efe7dc; --ill-cloth: #fbf8f3; --ill-cloth-2: #ebe2d6; --ill-frame: #7f978c; --ill-candle: #eedfcd;
  --ill-urn: #5e8475; --ill-urn-2: #4c6e61; --ill-band: #ead3b8; --ill-vase: #b8cbc1;
  --ill-petal: #fbf3ec; --ill-petal-2: #efbfa3; --ill-wood: #d6bf9c; --ill-wood-2: #b99b74;
  --ill-keep: #c98f6e; --ill-keep-2: #ad7656; --ill-pot: #e3cdb0;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --text: "Public Sans", "Segoe UI", Arial, sans-serif;
  --pad: clamp(16px, 4vw, 56px); --max: 1200px; --r: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; font-synthesis: none; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; padding-bottom: 52px; background: var(--paper); color: var(--ink); font: 400 19px/1.7 var(--text); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
[hidden] { display: none !important; }
p { margin: 0 0 18px; text-wrap: pretty; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
a[href^="tel:"], .nowrap { white-space: nowrap; }
h1, h2, h3, legend { margin: 0; font-family: var(--display); font-weight: 420; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: clamp(1.95rem, 3.2vw, 2.75rem); line-height: 1.15; letter-spacing: -.015em; }
h3 { font-size: clamp(1.4rem, 1.8vw, 1.6rem); line-height: 1.25; letter-spacing: -.01em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
strong, b { font-weight: 650; }
em, i, cite, address { font-style: normal; }
::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 20px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 2 * var(--pad))); margin-left: auto; margin-right: auto; }
.arw { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i-phone { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 28px;
  font: 600 18px/1.2 var(--text); color: var(--on-accent); background: var(--accent); border: 2px solid var(--accent); border-radius: 999px;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { color: var(--on-accent); background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-line { color: var(--accent); background: var(--card); }
.btn-line:hover { color: var(--accent-hover); background: var(--choice-on); border-color: var(--accent-hover); }
.text-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0;
  font: 600 18px/1.35 var(--text); color: var(--link); background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.text-link:hover { color: var(--link-hover); text-decoration-thickness: 2px; }

/* Header */
.site-header { position: relative; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--rule); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-family: var(--display); font-size: 27px; font-weight: 450; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.wordmark:hover { color: var(--ink); }
.mark { width: 36px; height: 36px; flex: none; }
.mark-arch, .mark-water { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.mark-sun { fill: var(--mark-sun); }
.head-call { display: flex; align-items: center; gap: 30px; }
.head-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 18px; color: var(--ink); text-underline-offset: 5px; }
.head-link[aria-current] { text-decoration-thickness: 3px; text-decoration-color: var(--accent); }
.head-phone { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.btn-call { min-height: 50px; padding: 10px 22px; }
.head-note { font-size: 15px; color: var(--muted); }
.nav { border-top: 1px solid var(--rule); }
.nav ul { display: flex; flex-wrap: wrap; gap: 0 34px; list-style: none; }
.nav a { display: inline-flex; align-items: center; min-height: 56px; font-size: 18px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--link-hover); border-bottom-color: var(--rule-2); }
.nav a[aria-current] { border-bottom-color: var(--accent); }
.nav-extra { display: none; }
.menu-btn { display: none; }
.call-strip { display: none; }

/* Home hero: the drawing continues the sky behind the heading */
.hero { background: var(--ill-sky); }
.hero-text { max-width: 920px; padding-top: clamp(48px, 7vw, 96px); text-align: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.lede { font-size: clamp(1.2rem, 1.7vw, 1.4rem); line-height: 1.6; color: var(--muted); }
.hero .lede { max-width: 40em; margin: 24px auto 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.hero .actions { justify-content: center; }
.horizon { height: clamp(210px, 26vw, 400px); margin-top: clamp(8px, 2vw, 24px); }
.horizon svg { display: block; width: 100%; height: 100%; }

/* Where to start */
.paths { padding: 0 0 clamp(56px, 7vw, 96px); background: var(--mist); }
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3.4vw, 44px); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); }
.path h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.path p { color: var(--muted); }
.path .actions { margin-top: auto; padding-top: 6px; }

/* Sections */
.sec { padding: clamp(64px, 8vw, 112px) 0; }
.sec-warm { background: var(--warm); }
.sec-mist { background: var(--mist); }
.sec-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head p { margin: 16px 0 0; color: var(--muted); }
.sec-foot { margin: 32px 0 0; }

/* Cremation options */
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; }
.option { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); }
.option h3 { margin: 18px 0 10px; }
.option p { color: var(--muted); }
.option .text-link { margin-top: auto; }
.icon { width: 54px; height: 54px; flex: none; fill: none; stroke: var(--icon); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon .icon-hi { fill: var(--icon-hi); stroke: none; }

.notice { display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; margin-top: 32px; padding: 28px 32px; background: var(--note-bg); border: 1px solid var(--note-line); border-radius: var(--r); }
.notice h2, .notice h3 { grid-column: 1; font-size: 1.5rem; }
.notice > div { grid-column: 2; }
.notice p:last-child { margin-bottom: 0; }

/* Feature rows with arch drawings */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 8vw, 104px); }
.feature-flip .arch { order: 2; justify-self: end; }
.feature h2 { margin-bottom: 18px; }
.feature p { color: var(--muted); }
.arch { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px var(--r) var(--r); background: var(--ill-sky); }
.arch svg { display: block; width: 100%; height: 100%; }
.ticks { list-style: none; margin: 4px 0 22px; }
.ticks li { position: relative; padding: 7px 0 7px 34px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 14px; height: 7px; border-left: 2.5px solid var(--icon); border-bottom: 2.5px solid var(--icon); transform: rotate(-45deg); }
.dots { list-style: none; margin: 4px 0 22px; }
.dots li { position: relative; padding: 6px 0 6px 28px; }
.dots li::before { content: ""; position: absolute; left: 4px; top: 1.05em; width: 9px; height: 9px; border-radius: 50%; background: var(--icon-hi); box-shadow: 0 0 0 1.5px var(--accent); }

/* Obituaries */
.sample-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; max-width: 780px; margin: 0 0 32px; padding: 14px 18px; background: var(--note-bg); border: 1px solid var(--note-line); border-radius: var(--r); font-size: 17px; }
.sample-note p { flex: 1 1 260px; margin: 0; }
.pill { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--pill-bg); color: var(--pill-fg); font-size: 15px; font-weight: 650; line-height: 1.6; white-space: nowrap; }
.obit-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; }
.obit-card { display: flex; flex-direction: column; align-items: flex-start; padding: 30px 30px 24px; background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--ill-sun); border-radius: var(--r); }
.obit-card h3 { margin-bottom: 6px; }
.obit-dates { margin: 0 0 12px; font-size: 17px; color: var(--muted); }
.obit-line { font-size: 17px; }
.obit-card .text-link { margin-top: auto; }

.obit-list { list-style: none; border-top: 1px solid var(--rule); }
.obit-entry { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 8px 48px; padding: 36px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 24px; }
.obit-entry h2 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
.obit-entry .obit-dates { margin-top: 8px; }
.obit-entry dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin: 0 0 16px; font-size: 18px; }
.obit-entry dt { font-weight: 650; }
.obit-entry dd { margin: 0; }

/* Questions */
.faq { max-width: 880px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 22px 0; font-family: var(--display); font-size: clamp(1.3rem, 1.8vw, 1.5rem); font-weight: 450; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1.5px solid var(--accent); border-radius: 50%; font: 400 24px/1 var(--text); color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--link-hover); }
.faq .answer { max-width: 46em; padding: 0 0 26px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* CTA band */
.cta { padding: clamp(56px, 7vw, 96px) 0; background: var(--mist); border-top: 1px solid var(--rule); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.cta h2 { margin-bottom: 14px; font-size: clamp(2rem, 3.6vw, 3rem); }
.cta p { margin: 0; color: var(--muted); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

/* Interior page heads */
.page-head { background: var(--mist); border-bottom: 1px solid var(--rule); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px 64px; align-items: end; }
.page-head-text { padding: 12px 0 clamp(40px, 5vw, 64px); }
.page-head h1 { margin-top: 12px; }
.page-head .lede { max-width: 36em; margin: 20px 0 0; }
.page-head .arch { max-width: 300px; margin-top: 40px; border-radius: 999px 999px 0 0; }
.page-head-plain .page-head-grid { grid-template-columns: minmax(0, 1fr); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; padding-top: 16px; list-style: none; font-size: 16px; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs [aria-current] { color: var(--muted); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 18px; border: 1.5px solid var(--accent); border-radius: 999px; background: var(--card); font-size: 17px; font-weight: 600; text-decoration: none; }
.jump a:hover { background: var(--choice-on); }

/* Reading blocks */
.block { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; scroll-margin-top: 24px; }
.block + .block { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--rule); }
.block h2 { margin-bottom: 18px; }
.block-wide { grid-template-columns: minmax(0, 1fr); }
.prose { max-width: 760px; }
.prose h2 { margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; }
.panel { padding: 28px 30px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); }
.panel h3 { margin-bottom: 10px; font-size: 1.35rem; }
.panel .ticks, .panel .dots { margin-bottom: 0; }
.panel p:last-child { margin-bottom: 0; }
.panel + .panel { margin-top: 20px; }
.cols-2 > .panel + .panel, .cols-3 > .panel + .panel { margin-top: 0; }
.panel-warm { background: var(--warm); border-color: var(--note-line); }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; list-style: none; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; }

.steps { list-style: none; counter-reset: step; border-top: 1px solid var(--rule); }
.steps > li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 20px; padding: 26px 0; border-bottom: 1px solid var(--rule); counter-increment: step; }
.steps > li::before { content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--mist); color: var(--accent); font-weight: 700; font-size: 19px; }
.steps h3 { margin: 6px 0 8px; }
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 0; }
.steps-grid > li { border-top: 1px solid var(--rule); border-bottom: 0; }
.steps p:last-child { margin-bottom: 0; }

.urgent { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; padding: 28px 32px; background: var(--card); border: 1px solid var(--rule); border-left: 6px solid var(--accent); border-radius: var(--r); }
.urgent h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: 8px; }
.urgent p { margin: 0; color: var(--muted); }

.facts { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0; border-top: 1px solid var(--rule); }
.facts dt, .facts dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.facts dt { padding-right: 28px; font-weight: 650; }
.facts dd ul { list-style: none; }

/* Obituary page */
.obit-page { max-width: 760px; }
.obit-meta { margin: 0 0 28px; font-size: 20px; color: var(--muted); }
.obit-page .lede-serif { font-family: var(--display); font-style: italic; font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.5; color: var(--ink); }

/* Forms (worksheet and contact) */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px clamp(32px, 5vw, 72px); align-items: start; }
.form-grid > .aside:first-child { grid-column: 2; grid-row: 1; }
.form-grid > .aside:first-child + * { grid-column: 1; grid-row: 1; }
.aside { position: sticky; top: 24px; padding: 28px 30px; background: var(--warm); border: 1px solid var(--note-line); border-radius: var(--r); }
.aside h2 { font-size: 1.5rem; margin-bottom: 10px; }
.aside h3 { font-size: 1.25rem; margin: 22px 0 6px; }
.aside p { font-size: 17px; }
.aside p:last-child { margin-bottom: 0; }
fieldset { min-width: 0; margin: 0 0 44px; padding: 0; border: 0; }
legend { display: flex; align-items: center; gap: 14px; padding: 0; margin-bottom: 8px; font-size: clamp(1.45rem, 2vw, 1.7rem); line-height: 1.25; }
legend .n { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--mist); color: var(--accent); font: 700 18px/1 var(--text); }
.fs-hint { margin: 0 0 18px; color: var(--muted); font-size: 17px; }
.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field-row-3 { grid-template-columns: 1.3fr 1fr 1fr; }
.field label, .label { display: block; margin-bottom: 8px; font-size: 18px; font-weight: 600; line-height: 1.4; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea, .summary-text {
  display: block; width: 100%; min-height: 54px; padding: 12px 14px;
  font: 400 18px/1.5 var(--text); color: var(--ink); background: var(--field-bg);
  border: 1.5px solid var(--field-line); border-radius: var(--r);
}
.field select { appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { min-height: 120px; 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); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choices-1 { grid-template-columns: 1fr; }
.choice { position: relative; display: flex; align-items: flex-start; gap: 14px; min-height: 56px; padding: 15px 18px; background: var(--card); border: 1.5px solid var(--field-line); border-radius: var(--r); cursor: pointer; line-height: 1.45; }
.choice input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.choice strong { display: block; font-weight: 600; }
.choice small { display: block; margin-top: 2px; font-size: 16px; color: var(--muted); }
.choice:hover { border-color: var(--accent); }
.choice:has(input:checked) { background: var(--choice-on); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.choices.invalid .choice { border-color: var(--error); }
.check-line { display: flex; align-items: flex-start; gap: 14px; min-height: 44px; padding: 8px 0; cursor: pointer; }
.check-line input { flex: none; width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--accent); }
.error { display: flex; gap: 8px; margin: 10px 0 0; font-size: 17px; font-weight: 600; color: var(--error); }
.error::before { content: "!"; display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--error); color: #ffffff; font-size: 14px; line-height: 1; }
.form-alert { margin: 0 0 20px; padding: 14px 18px; background: var(--err-bg); border-left: 4px solid var(--error); color: var(--ink); font-size: 17px; }
.form-alert:empty { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-note { margin: 16px 0 0; font-size: 17px; color: var(--muted); }
.form-note strong { color: var(--ink); }

.result { margin-top: 44px; padding: clamp(24px, 3vw, 36px); background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--accent); border-radius: var(--r); }
.result h2, .result h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.result h2:focus, .result h3:focus { outline: none; }
.result > p { color: var(--muted); }
.summary-text { min-height: 440px; padding: 18px 20px; font-size: 17px; line-height: 1.6; resize: vertical; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 18px; }
.result-status { min-height: 1.6em; margin: 14px 0 0; font-size: 17px; font-weight: 600; color: var(--accent); }
.print-sheet { display: none; }

.worksheet > h2 { margin-bottom: 8px; }
.ws-details { margin-top: 22px; }
fieldset.sub { margin: 0 0 8px; }
.sub-legend { display: block; margin-bottom: 12px; font: 650 18px/1.4 var(--text); }
.field-hint { margin: 8px 0 0; font-size: 17px; color: var(--muted); }
.error-tight { margin-top: -10px; margin-bottom: 18px; }
.summary-short { min-height: 300px; }
.h3 { font-size: clamp(1.4rem, 1.8vw, 1.6rem); line-height: 1.25; letter-spacing: -.01em; }
h2.h3 { margin-bottom: 10px; }
.obit-page h2.h3 { margin: 36px 0 12px; }
.space-top { margin-top: 22px; }
.space-top-lg { margin-top: clamp(56px, 7vw, 88px); }

/* Footer */
.site-footer { background: var(--warm); border-top: 1px solid var(--note-line); font-size: 17px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; padding: 64px 0 44px; }
.footer-brand .wordmark { font-size: 24px; }
.footer-brand p { max-width: 24em; margin: 16px 0 0; color: var(--muted); }
.site-footer h2 { margin-bottom: 12px; font: 650 17px/1.4 var(--text); letter-spacing: 0; }
.footer-list { list-style: none; color: var(--muted); }
.footer-list li { padding: 2px 0; }
.footer-list a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 20px 0 28px; border-top: 1px solid var(--note-line); font-size: 15px; color: var(--muted); }
.footer-base p { margin: 0; }

/* 404 */
.page-404 .page-head-text { padding-top: clamp(40px, 6vw, 72px); }
.lost-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; list-style: none; }

/* Wide screens down to tablets */
@media (max-width: 1180px) {
  .nav ul { gap: 0 26px; }
  .nav a { font-size: 17px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 1060px) {
  .head-row { min-height: 84px; }
  .head-link { display: none; }
  .head-note { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px; flex: none;
    font: 600 18px var(--text); color: var(--ink); background: var(--card); border: 1.5px solid var(--field-line); border-radius: 999px; cursor: pointer;
  }
  .menu-btn:hover { border-color: var(--accent); }
  .menu-lines { position: relative; width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
  .menu-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
  .site-header.open .menu-lines { border-color: transparent; }
  .site-header.open .menu-lines::after { top: 3px; transform: rotate(45deg); }
  .site-header.open .menu-lines::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; transform: rotate(-45deg); }
  .head-call { margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule-2); }
  .site-header.open .nav { display: block; }
  .nav ul { flex-direction: column; padding: 8px 0 20px; }
  .nav li { border-bottom: 1px solid var(--rule); }
  .nav a { display: flex; min-height: 58px; font-size: 19px; border-bottom: 0; border-left: 4px solid transparent; padding-left: 14px; }
  .nav a:hover { border-bottom: 0; border-left-color: var(--rule-2); }
  .nav a[aria-current] { border-left-color: var(--accent); }
  .nav-extra { display: block; }
  .options { grid-template-columns: 1fr; }
  .option { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 0 24px; }
  .option .icon { grid-row: 1 / span 3; }
  .option h3 { margin-top: 4px; }
  .option .text-link { justify-self: start; }
  .obit-cards { grid-template-columns: 1fr; }
  .obit-card { display: grid; grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .form-grid > .aside:first-child, .form-grid > .aside:first-child + * { grid-column: 1; grid-row: auto; }
  .cols-3 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .feature, .feature-flip { grid-template-columns: minmax(0, 1fr); }
  .feature .arch, .feature-flip .arch { order: 0; justify-self: start; max-width: 320px; }
  .block { grid-template-columns: minmax(0, 1fr); }
  .page-head-grid { grid-template-columns: minmax(0, 1fr) 200px; gap: 24px 32px; }
  .page-head .arch { max-width: 200px; }
  .obit-entry { grid-template-columns: minmax(0, 1fr); }
  .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .notice { grid-template-columns: minmax(0, 1fr); }
  .notice > div, .notice h2, .notice h3 { grid-column: 1; }
  .cols-2 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid > li:last-child { border-bottom: 1px solid var(--rule); }
  .urgent { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 18px; }
  .head-phone { display: none; }
  .head-row { min-height: 76px; gap: 14px; }
  .wordmark { font-size: 22px; gap: 10px; }
  .mark { width: 30px; height: 30px; }
  .call-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 12px; margin: 0; padding: 4px var(--pad); background: var(--mist); border-bottom: 1px solid var(--rule); font-size: 17px; color: var(--muted); }
  .call-strip a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 19px; color: var(--link); }
  .paths-grid { grid-template-columns: 1fr; }
  .page-head-grid { grid-template-columns: minmax(0, 1fr); }
  .page-head .arch { display: none; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: 48px 0 36px; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .facts dd { padding-top: 4px; }
}
@media (max-width: 480px) {
  .head-row { min-height: 72px; }
  .wordmark { font-size: 19px; }
  .mark { width: 26px; height: 26px; }
  .menu-btn { padding: 0 16px; gap: 8px; }
  .hero .actions .btn { width: 100%; }
  .actions .btn { width: 100%; }
  .option { display: flex; padding: 26px 22px; }
  .option .icon { width: 46px; height: 46px; }
  .path, .panel, .notice, .urgent, .aside { padding: 24px 20px; }
  .obit-card { padding: 26px 22px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .result { padding: 22px 18px; }
  .result-actions .btn { width: 100%; }
  .faq summary::after { width: 34px; height: 34px; }
}
@media (max-width: 360px) {
  .wordmark { font-size: 18px; gap: 8px; }
  .wordmark .mark { display: none; }
  .menu-btn { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Print: plain pages, no chrome. The worksheet prints only its summary once one is prepared. */
@media print {
  body { padding: 0; background: #ffffff; color: #000000; font-size: 12pt; line-height: 1.5; }
  .skip, .nav, .menu-btn, .head-call, .call-strip, .cta, .arch, .horizon, .jump, .site-footer nav, .footer-base, .actions, .sc-bar { display: none !important; }
  .site-header, .page-head, .sec-warm, .sec-mist, .paths, .hero, .site-footer { background: #ffffff; border-color: #999999; }
  .option, .path, .panel, .obit-card, .notice { break-inside: avoid; border-color: #999999; }
  a { color: #000000; }
  .faq details { break-inside: avoid; }
  form, .result-actions { display: none !important; }
  body.has-summary > *:not(main) { display: none !important; }
  body.has-summary main > * { display: none !important; }
  body.has-summary main > .print-sheet { display: block !important; }
  @page { margin: 18mm 18mm 20mm; }
  .print-sheet { font: 12pt/1.5 var(--text); color: #000000; }
  .print-sheet p { margin: 0; white-space: pre-wrap; }
  .print-sheet .print-meta { margin: 0 0 18pt; font-size: 10pt; color: #333333; }
  .print-sheet .ps-title { margin-bottom: 2pt; font: 400 24pt/1.2 var(--display); }
  .print-sheet .ps-gap { height: 9pt; }
  .print-sheet .ps-h { margin: 4pt 0 4pt; padding-bottom: 3pt; border-bottom: .75pt solid #999999; font-size: 10pt; font-weight: 700; letter-spacing: .06em; break-after: avoid; }
}

/* 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; } }
