@font-face {
  font-family: LetterSans;
  src: url("fonts/LetterSans.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: LetterSans;
  src: url("fonts/LetterSans-Bold.ttf") format("truetype");
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url("fonts/Newsreader.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url("fonts/Newsreader-Italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f8f4eb;
  --ink: #30251c;
  --muted: #65584d;
  --green: #614735;
  --sage: #e8e9df;
  --line: #d8cdbd;
  --white: #fffdf7;
  --sand: #efe6d8;
  --deep: #382b21;
  --accent: #74513b;
  --body: LetterSans, Arial, sans-serif;
  --serif: Newsreader, Georgia, serif;
}
body { font-size: 16px; }
.wrap { width: min(1270px, calc(100% - 112px)); }
h1, h2, h3, h4 {
  font-optical-sizing: auto;
  letter-spacing: 0;
  line-height: 1.1;
}
h1 { font-size: clamp(3rem, 5.3vw, 5.35rem); }
h2 { font-size: clamp(2.65rem, 4.35vw, 4.75rem); }
h3 { font-size: 1.85rem; }
em { color: var(--accent); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid #805933; outline-offset: 5px; }
.eyebrow {
  color: var(--accent);
  font: 700 .73rem/1.5 var(--body);
  letter-spacing: .18em;
  margin-bottom: 17px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.bar { background: var(--paper); }
.service-line {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 32px;
  padding: 4px 16px;
  background: var(--deep);
  color: #fbf2e3;
  font-size: .76rem;
  letter-spacing: .025em;
}
.service-line a { text-underline-offset: 3px; text-decoration-color: #bda891; }
.service-line a:focus-visible { outline-color: #e9d3b9; }
.nav { min-height: 80px; }
.brand {
  gap: 10px;
  font: 400 2rem/.94 var(--serif);
  letter-spacing: 0;
  color: inherit;
}
.brand .companion-mark {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  filter: sepia(.32) saturate(.72);
}
.brand-name { display: block; padding-top: 3px; }
.wordmark small {
  display: block;
  margin-top: 4px;
  color: var(--accent);
  font: 700 .56rem/1.25 var(--body);
  letter-spacing: .19em;
  text-transform: uppercase;
}
.nav nav { gap: clamp(20px, 3.4vw, 49px); }
.nav nav a { font-size: .84rem; color: var(--ink); }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--accent); text-underline-offset: 7px; }
.nav nav a.navcta {
  padding: 12px 17px;
  border: 1px solid var(--green);
  border-radius: 0;
  color: var(--green);
  background: none;
}
.nav nav a.navcta:hover, .nav nav a.navcta[aria-current] { background: var(--green); color: white; }
.btn {
  min-height: 49px;
  padding: 11px 21px;
  border-radius: 0;
  background: var(--green);
  border-color: var(--green);
  font: 700 .84rem/1.4 var(--body);
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--deep); border-color: var(--deep); }
.btn.secondary { color: var(--green); }
.btn.secondary:hover { background: var(--sand); color: var(--deep); }
.btn:disabled { opacity: .5; }
.btns > .link, .section-headline > .link, .wall-footer > .link { font-size: .84rem; }
.link { color: var(--green); text-underline-offset: 5px; }
.link:hover { color: #301d13; }
.btns { gap: 14px 23px; }
.foot {
  background: var(--deep);
  color: var(--paper);
  padding: 44px 0 30px;
}
.foot .small, .foot .wordmark small { color: #e5d4bd; }
.foot a { text-decoration-color: #ae9275; text-underline-offset: 4px; }
.foot a:hover { color: white; }
.foot > .wrap > .small { border-top: 1px solid #795f4a; max-width: none; padding-top: 18px; margin-top: 30px; }

.home-hero {
  position: relative;
  isolation: isolate;
  background: #f2e9da;
  overflow: hidden;
}
.hero-picture {
  position: absolute;
  inset: 0 0 0 39%;
  overflow: hidden;
  z-index: -1;
}
.hero-picture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f2e9da, #f2e9daee 8%, #f2e9da78 22%, transparent 42%);
}
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 57% 42%; }
.hero-layout {
  min-height: clamp(550px, 46vw, 710px);
  display: flex;
  align-items: center;
  padding-block: 54px 58px;
}
.hero-text { width: min(62%, 760px); }
.hero-kicker { margin-bottom: 31px; }
.hero-text h1 { font-size: clamp(4.1rem, 6.6vw, 7.55rem); line-height: .98; }
.hero-text h1 em { white-space: nowrap; }
.home-lead { max-width: 395px; margin-top: 25px; line-height: 1.7; }
.hero-text .btns { margin-top: 26px; }

.home-paths { background: var(--paper); border-block: 1px solid var(--line); }
.path-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}
.path-grid li + li { border-left: 1px solid var(--line); }
.path-grid a {
  display: flex;
  align-items: center;
  min-height: 114px;
  gap: 15px;
  padding: 18px clamp(14px, 2.7vw, 40px);
  text-decoration: none;
  transition: background-color .22s;
}
.path-grid li:first-child a { padding-left: 0; }
.path-grid a:hover { background: var(--sand); }
.path-grid strong { display: block; font: 400 clamp(1.26rem, 2vw, 1.76rem)/1.13 var(--serif); }
.path-grid small { display: block; color: var(--muted); font-size: .78rem; margin-top: 3px; }
.path-symbol {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  color: var(--accent);
  font: 400 1.66rem/1 var(--serif);
}

.memory-wall {
  background: #ede2d0;
  background-image: url("paper.svg");
  padding: clamp(60px, 7vw, 105px) 0 50px;
  overflow: hidden;
}
.memory-heading { text-align: center; }
.memory-heading .eyebrow { margin-bottom: 14px; }
.memory-heading > p:last-child { margin-top: 10px; color: var(--muted); }
.memory-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-color: #9a7f60 #eddfca; scrollbar-width: thin; }
.memory-scroll:focus-visible { outline-offset: -3px; }
.memory-stage {
  width: min(1170px,calc(100% - 112px));
  min-width: 830px;
  margin: 6px auto 0;
  padding: 0 20px 31px;
  list-style: none;
  display: grid;
  grid-template-columns: 1.03fr .95fr 1.08fr .93fr 1.03fr;
  column-gap: clamp(15px, 2vw, 34px);
  position: relative;
  isolation: isolate;
}
.memory-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -33px;
  left: 0;
  right: 0;
  height: 119px;
  border-bottom: 3px solid #9c7e55;
  border-radius: 0 0 51% 51%;
  box-shadow: 0 1px 0 #d0b692;
}
.memory-stage li { min-width: 0; padding-top: var(--drop); }
.memory-stage li:nth-child(1) { --drop: 44px; --tilt: -7deg; --photo-pos: center 65%; }
.memory-stage li:nth-child(2) { --drop: 77px; --tilt: 4deg; --photo-pos: center 52%; }
.memory-stage li:nth-child(3) { --drop: 84px; --tilt: -3deg; --photo-pos: center 57%; }
.memory-stage li:nth-child(4) { --drop: 77px; --tilt: 7deg; --photo-pos: center 55%; }
.memory-stage li:nth-child(5) { --drop: 44px; --tilt: -4deg; --photo-pos: center 70%; }
.memory-print {
  position: relative;
  padding: 10px 10px 25px;
  width: 100%;
  border: 1px solid #ded0ba;
  background: #fffaf0;
  box-shadow: 3px 7px 17px #432a1624;
  transform-origin: 50% 0;
  transform: rotate(var(--tilt));
  transition: transform .3s ease, box-shadow .3s ease;
}
.memory-print img {
  width: 100%;
  aspect-ratio: .92;
  object-fit: cover;
  object-position: var(--photo-pos);
}
.memory-print:is(:hover,:focus-visible) { transform: translateY(-3px) rotate(0); box-shadow: 3px 12px 22px #432a1633; z-index: 1; }
.photo-peg {
  position: absolute;
  z-index: 1;
  width: 12px;
  height: 32px;
  top: -17px;
  left: calc(50% - 6px);
  border-radius: 2px;
  background: repeating-linear-gradient(100deg, #caaa7d 0 2px, #c4a174 2px 4px, #d5b68a 4px 6px);
  border: 1px solid #ae8b60;
  box-shadow: 1px 2px 3px #452a1b35;
}
.photo-peg::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: #947d68; }
.wall-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.wall-footer small { font-size: .76rem; color: var(--muted); }
.swipe-note { display: none; }
.memory-dialog {
  padding: 38px 16px 13px;
  border: 1px solid var(--line);
  max-width: min(90vw, 800px);
  max-height: 90vh;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 90px #1d150e66;
}
.memory-dialog::backdrop { background: #35271dcc; }
.memory-dialog figure { margin: 0; }
.memory-dialog img { display: block; min-width: min(60vw, 340px); width: auto; object-fit: contain; max-height: 70vh; margin-inline: auto; }
.memory-dialog figcaption { margin-top: 8px; font-size: .8rem; text-align: center; }
.memory-close {
  position: absolute;
  top: 0;
  right: 5px;
  width: 40px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.6rem;
}

.editorial-section, .home-process { padding-block: clamp(60px, 7vw, 108px); }
.editorial-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(28px, 8.25vw, 120px);
}
.editorial-image { margin: 0; }
.editorial-image img { width: 100%; aspect-ratio: 1.2; object-fit: cover; object-position: center 47%; }
.editorial-copy > p:not(.eyebrow) { margin-top: 14px; max-width: 410px; color: var(--muted); }
.editorial-links { list-style: none; padding: 0; margin: 25px 0 0; border-bottom: 1px solid var(--line); max-width: 430px; }
.editorial-links a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--green);
  text-underline-offset: 4px;
}
.editorial-links a:hover { padding-left: 5px; background: var(--sand); }
.home-process { background: var(--sage); }
.section-headline { display: flex; gap: 18px 45px; justify-content: space-between; align-items: end; margin-bottom: 30px; }
.section-headline p:last-child { color: var(--muted); }
.home-timeline {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  margin: 45px 0 0;
  padding: 0;
  list-style: none;
}
.home-timeline li {
  position: relative;
  padding: 39px 18px 0 0;
  border-top: 1px solid #a5ab99;
  color: #46463b;
  font-size: .94rem;
}
.home-timeline li > span {
  display: grid;
  place-items: center;
  position: absolute;
  top: -17px;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1px solid #a5ab99;
  border-radius: 50%;
  background: var(--sage);
  color: #3e493a;
  font-size: .76rem;
}
.support-editorial .editorial-pair { grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); }
.support-editorial .editorial-image img { aspect-ratio: 1.44; object-position: center 45%; }
.home-closing { background: var(--sand); padding-block: clamp(42px, 5.4vw, 75px); }
.closing-pair { display: flex; justify-content: center; align-items: center; gap: clamp(30px, 7vw, 90px); }
.closing-pair > div { max-width: 615px; }
.closing-pair h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.closing-pair p { margin-top: 10px; color: var(--muted); }
.closing-pair figure { width: min(26vw, 250px); flex: 0 0 auto; margin: 0; }
.closing-pair img { width: 100%; aspect-ratio: 1.4; object-fit: cover; object-position: center 53%; }
.closing-pair figcaption { margin-top: 6px; color: var(--muted); font-size: .73rem; }

.pagehead {
  background: var(--sand);
  padding: 68px 0 38px;
  border-bottom: 1px solid var(--line);
}
.pagehead .lead { font-size: 1.06rem; }
.pagehead + .section { padding-top: 48px; }
.section, .cta { padding-block: clamp(48px, 5.7vw, 84px); }
.subnav {
  margin-top: 24px;
  gap: 1px 20px;
  width: fit-content;
  border-top: 1px solid #c8b8a3;
}
.chip {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 12px 2px;
  font: 700 .79rem/1.5 var(--body);
}
.chip[aria-current], .chip[aria-pressed=true], .chip:hover { background: transparent; color: var(--green); border-bottom-color: var(--green); }
.card, .figure, .mem-photo, .form-photo, .step-list li, details, .choice, .blank { border-radius: 0; }
.card, .step-list li, details, .choice { background: var(--white); }
.card { transition: border-color .2s; }
.card:hover { border-color: #baa891; }
.wash { background: #f0e9dc; }
.aside { top: 136px; }
.aside[data-plan-summary] { background: var(--sand); }
.choice:has(input:checked) { background: #eee7dc; }
.steps li { border-color: #b8a891; font-family: var(--body); }
.notice { color: #3e493a; background: #eaede2; border-left-color: #78846c; border-radius: 0; }
input:not([type=radio],[type=checkbox]),select,textarea { border-color: #aa9b8a; border-radius: 0; background: var(--white); }
.btns > a { max-width: 100%; }
.package-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 13px; }
.package-grid .card { display: flex; flex-direction: column; border-top: 2px solid #967352; }
.package-grid .pad { padding: 22px 15px 18px; }
.package-grid h3 { font-size: clamp(1.35rem, 1.82vw, 1.9rem); }
.package-grid .card .btn { margin-top: auto; padding-inline: 9px; text-align: center; }
.package-grid .card p { min-height: 3.2em; font-size: .89rem; }
.compare-section { background: var(--sand); }
.compare-section .section-headline { align-items: baseline; }
.compare-section h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.compare-section .section-headline p { flex-shrink: 0; font-size: .88rem; }
.compare-scroll { position: relative; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #9a7f60 var(--sand); }
.compare-scroll:focus-visible { outline-offset: -2px; }
.comparison { min-width: 820px; width: 100%; border-spacing: 0; background: var(--white); }
.comparison :is(th,td) { padding: 14px 11px; border-bottom: 1px solid var(--line); text-align: center; }
.comparison thead th { background: #e7dac5; font: 400 1.38rem/1.12 var(--serif); }
.comparison thead small { display: block; margin-top: 5px; font: 700 .8rem/1.4 var(--body); }
.comparison tr > :first-child { position: sticky; left: 0; width: 23%; text-align: left; padding-left: 19px; box-shadow: 1px 0 var(--line); }
.comparison tbody th { background: #f5eddf; font-size: .86rem; }
.comparison .confirmed { color: #455b42; font-size: 1.18rem; font-weight: 700; }
.comparison .unconfirmed { color: var(--muted); }
.comparison-key { display: flex; flex-wrap: wrap; gap: 5px 20px; margin-top: 14px; }
.comparison-scroll { display: none; }

.memorial-header { position: relative; isolation: isolate; background: #ede2d1; }
.memorial-header .wrap { padding-block: 36px 28px; }
.memorial-header h1 { max-width: 650px; }
.memorial-header .lead { max-width: 445px; }
.memorial-photo { position: absolute; z-index: -1; inset: 0 0 0 45%; }
.memorial-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; }
.memorial-photo::after { position: absolute; content: ""; inset: 0; background: linear-gradient(90deg, #ede2d1, #ede2d1a6 32%, transparent 63%); }
[data-page="memorial"] > .section .figure { aspect-ratio: 1.32; object-position: 50% 52%; }
[data-page="memorial"] .wash .card { background: #f9f5eb; }
[data-page="pet-memorial"] #candle { position: relative; isolation: isolate; }
[data-page="pet-memorial"] #candle.candle-lit::after {
  content: "";
  position: absolute;
  inset: -5px;
  box-shadow: 0 0 26px 8px #ddaa4d9c;
  animation: candlelight 1.1s ease-out both;
  pointer-events: none;
}
@keyframes candlelight { 0%,100% { opacity: 0; } 32% { opacity: 1; } 55% { opacity: .75; } }
@keyframes rise-in { from { opacity: .2; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-text { animation: rise-in .7s ease-out both; }
  .has-revealed { animation: rise-in .55s ease-out both; }
}
@media (max-width: 1250px) {
  .package-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 945px) {
  .comparison-scroll { display: block; margin-bottom: 9px; }
  .compare-section .section-headline { flex-direction: column; align-items: start; gap: 10px; margin-bottom: 17px; }
  .swipe-note { display: inline; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .nav { min-height: 68px; }
  .bar .brand { font-size: 1.8rem; }
  .brand .companion-mark { width: 38px; height: 38px; }
  .nav nav { top: 100%; background: var(--paper); gap: 14px; box-shadow: 0 8px 15px #3c2f2514; }
  .menu { min-height: 42px; padding-inline: 14px; border-radius: 0; }
  .hero-layout { min-height: 520px; }
  .hero-text { width: 75%; }
  .hero-text h1 { font-size: clamp(3.65rem, 8.75vw, 5.3rem); }
  .hero-picture { left: 32%; }
  .hero-picture::after { background: linear-gradient(90deg, #f2e9da, #f2e9da4f 47%, transparent 71%); }
  .path-grid a { gap: 6px; padding: 15px 11px; }
  .path-symbol { width: 26px; }
  .memory-stage { min-width: 830px; }
  .editorial-pair, .support-editorial .editorial-pair { gap: 34px; }
  .home-timeline { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px 0; }
  .pagehead { padding: 45px 0 30px; }
}
@media (max-width: 660px) {
  .hero-layout { min-height: auto; padding-block: 36px 42px; }
  .hero-picture { position: relative; inset: auto; display: block; height: clamp(230px, 72vw, 360px); z-index: auto; }
  .hero-picture img { object-position: center 40%; }
  .hero-picture::after { background: linear-gradient(0deg, #f2e9da, transparent 27%); }
  .hero-text { width: 100%; }
  .hero-kicker { margin-bottom: 16px; }
  .hero-text h1 { font-size: clamp(2.95rem, 10.8vw, 4.4rem); }
  .home-lead { margin-top: 15px; }
  .hero-text .btns { margin-top: 20px; }
  .path-grid { grid-template-columns: 1fr; }
  .path-grid li + li { border-left: 0; border-top: 1px solid var(--line); }
  .path-grid a, .path-grid li:first-child a { min-height: 75px; padding: 10px 0; gap: 10px; }
  .memory-wall { padding-block: 53px 35px; }
  .memory-stage { padding-left: 20px; }
  .wall-footer { padding-top: 11px; align-items: start; flex-direction: column; gap: 5px; }
  .editorial-pair, .support-editorial .editorial-pair { grid-template-columns: 1fr; gap: 24px; }
  .support-editorial .editorial-image { grid-row: 1; }
  .editorial-section, .home-process { padding-block: 54px; }
  .section-headline { align-items: flex-start; flex-direction: column; gap: 9px; }
  .home-timeline { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .closing-pair { align-items: start; flex-direction: column; }
  .closing-pair figure { width: min(65vw, 270px); }
  .package-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .comparison tr > :first-child { width: 134px; padding-inline: 12px; }
  .memorial-header { padding-top: 0; padding-bottom: 15px; }
  .memorial-header .wrap { padding-block: 21px 7px; }
  .memorial-photo { position: relative; height: clamp(185px, 51vw, 315px); inset: auto; display: block; }
  .memorial-photo::after { background: linear-gradient(0deg, #ede2d1, transparent 32%); }
}
@media (max-width: 450px) {
  .wrap { width: calc(100% - 36px); }
  .package-grid { grid-template-columns: 1fr; }
  .package-grid .pad { padding: 20px; }
  .package-grid .card p { min-height: auto; }
  .package-grid h3 { font-size: 1.75rem; }
  .package-grid .card .btn { align-self: start; padding-inline: 15px; }
  .steps li { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  [data-page="pet-memorial"] #candle.candle-lit::after { animation: none; box-shadow: 0 0 10px 4px #ddaa4d6b; }
}
