/* Funeral Print UK homepage concept
   Palette sampled from the Funeral Print UK logo: stone #E4DED3, taupe #B2A78B, ink #231F20. */

@font-face {
  font-family: "EB Garamond";
  src: url("/case-studies/concepts/funeral-print-uk/assets/eb-garamond.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/case-studies/concepts/funeral-print-uk/assets/eb-garamond-italic.woff2") format("woff2");
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/case-studies/concepts/funeral-print-uk/assets/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallbacks so the swap does not move the layout */
@font-face {
  font-family: "Garamond Fallback";
  src: local("Georgia");
  size-adjust: 87.6%;
  ascent-override: 114.9%;
  descent-override: 34%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Instrument Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 103.2%;
  ascent-override: 94%;
  descent-override: 24.2%;
  line-gap-override: 0%;
}

:root {
  --paper: #FBF9F5;
  --paper-2: #F4F0E9;
  --stone: #E4DED3;
  --taupe: #B2A78B;
  --taupe-ink: #665C47;
  --ink: #231F20;
  --ink-2: #4B4643;
  --on-dark: #D9D2C4;
  --line: #E2DBCE;
  --field: #857B68;
  --white: #FFFFFF;
  --error: #A3261C;

  --serif: "EB Garamond", "Garamond Fallback", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Instrument Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 6px;
  --header-h: 72px;
  --focus: var(--ink);
  --shadow: 0 1px 2px rgba(35, 31, 32, .06), 0 12px 32px -12px rgba(35, 31, 32, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.06; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.125rem; line-height: 1.3; }
address { font-style: normal; }
strong { color: var(--ink); font-weight: 600; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* The fold: the open-booklet mark from the logo, used as a small brand glyph */
.fold {
  display: inline-block;
  width: 18px; height: 14px;
  margin-right: 10px;
  vertical-align: -1px;
  background:
    linear-gradient(var(--stone), var(--stone)) left / 50% 100% no-repeat,
    linear-gradient(var(--taupe), var(--taupe)) right / 50% 100% no-repeat;
  clip-path: polygon(0 0, 50% 22%, 100% 0, 100% 78%, 50% 100%, 0 78%);
}
.fold--lg { width: 44px; height: 34px; margin: 0 0 20px; }

/* Eyebrows: sentence case, quiet */
.eyebrow {
  display: flex; align-items: center;
  margin: 0 0 18px;
  color: var(--taupe-ink);
  font-size: .9375rem; font-weight: 600; letter-spacing: .01em;
}
.eyebrow--light { color: var(--taupe); }

.lead { font-size: clamp(1.0625rem, 1.4vw, 1.2rem); line-height: 1.6; max-width: 36em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn[disabled] { opacity: .7; cursor: progress; }
@media (hover: hover) {
  .btn--ink:hover { background: #3A3433; }
  .btn--line:hover { background: var(--ink); color: var(--paper); }
  .btn--paper:hover { background: var(--stone); }
  .btn:hover { transform: translateY(-1px); }
}

.link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--taupe);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}
@media (hover: hover) { .link:hover { text-decoration-color: var(--ink); } }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: transform .3s ease, border-color .2s ease, box-shadow .2s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(35, 31, 32, .35); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; padding: 6px 0; }
.brand img { width: auto; height: 46px; mix-blend-mode: multiply; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: 4px; }
.nav__list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: var(--ink-2); font-size: .9375rem; font-weight: 500; text-decoration: none;
  border-radius: var(--radius);
}
@media (hover: hover) { .nav__list a:hover { color: var(--ink); background: var(--paper-2); } }
.nav__extra { display: none; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--ink); text-decoration: none;
}
.header__phone .icon { color: var(--taupe-ink); }
.header__phone-text { display: flex; flex-direction: column; line-height: 1.15; }
.header__phone-num { font-weight: 600; font-size: .9875rem; white-space: nowrap; }
.header__phone-note { font-size: .8125rem; color: var(--taupe-ink); }
.header__cta { white-space: nowrap; }

.burger {
  display: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: var(--radius);
  background: transparent; color: var(--ink); cursor: pointer;
}
.burger__lines, .burger__lines::before, .burger__lines::after {
  display: block; width: 22px; height: 2px; margin: auto; background: currentColor; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger__lines { position: relative; }
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
.burger__lines::before { top: -7px; }
.burger__lines::after { top: 7px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1199px) {
  .burger { display: inline-flex; align-items: center; }
  .header__cta { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0;
    margin: 0; padding: 12px var(--gutter) 40px;
    background: var(--paper); border-top: 1px solid var(--line);
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
  }
  .nav.can-animate { transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    width: 100%; min-height: 56px; padding: 0; border-bottom: 1px solid var(--line); border-radius: 0;
    font-family: var(--serif); font-size: 1.5rem; color: var(--ink);
  }
  .nav__extra { display: block; padding-top: 24px; }
  .nav__phone { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; font-size: 1.125rem; }
  .nav__note { margin: 0; color: var(--taupe-ink); font-size: .9375rem; }
}
@media (max-width: 1199px) and (min-width: 768px) {
  .header__cta { display: inline-flex; }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .brand img { height: 38px; }
  .header__inner { gap: 8px; }
  .header__actions { margin-left: auto; gap: 4px; }
  .header__phone { justify-content: center; width: 48px; height: 48px; }
  .header__phone-text { display: none; }
}

/* Hero */
.hero { overflow-x: clip; padding-top: clamp(28px, 5vw, 56px); }
.hero__grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__note { margin: 14px 0 0; font-size: .9375rem; color: var(--taupe-ink); }
.hero__media { position: relative; }
.hero__img {
  width: 100%;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, #000 78%, transparent);
}

.cutoff {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start;
  margin: -48px 0 0; max-width: 420px; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cutoff__icon { width: 28px; height: 28px; margin-top: 2px; fill: none; stroke: var(--taupe-ink); stroke-width: 1.6; stroke-linecap: round; }
.cutoff__body p { margin: 0; }
.cutoff__label { font-size: .8125rem; font-weight: 600; color: var(--taupe-ink); }
.cutoff__main { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; color: var(--ink); }
.cutoff__sub { font-size: .9375rem; line-height: 1.4; }
.cutoff__left {
  grid-column: 2; justify-self: start; margin: 8px 0 0;
  padding: 3px 10px; border-radius: 999px; background: var(--paper-2);
  font-size: .8125rem; font-weight: 600; color: var(--ink);
}

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px; }
  .hero__copy { padding-bottom: 32px; }
  .hero__media { margin-right: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2)); }
  .hero__img {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%), linear-gradient(to bottom, #000 80%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0, #000 16%), linear-gradient(to bottom, #000 80%, transparent);
    mask-composite: intersect;
  }
  .cutoff { position: absolute; left: 4%; bottom: 6%; margin: 0; }
}

.trusted {
  display: grid; gap: 10px;
  margin-top: clamp(28px, 4vw, 48px); padding: 22px 0 6px;
  border-top: 1px solid var(--line);
}
.trusted__label { margin: 0; font-size: .875rem; font-weight: 600; color: var(--taupe-ink); }
.trusted__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; }
.trusted__list li {
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-2);
  padding-right: 18px; margin-right: 18px; border-right: 1px solid var(--stone);
}
.trusted__list li:last-child { border-right: 0; }
@media (max-width: 767px) {
  .trusted__list { display: grid; gap: 4px; }
  .trusted__list li { padding: 0 0 0 22px; margin: 0; border: 0; font-size: 1.05rem; position: relative; }
  .trusted__list li::before {
    content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 9px;
    background:
      linear-gradient(var(--stone), var(--stone)) left / 50% 100% no-repeat,
      linear-gradient(var(--taupe), var(--taupe)) right / 50% 100% no-repeat;
    clip-path: polygon(0 0, 50% 22%, 100% 0, 100% 78%, 50% 100%, 0 78%);
  }
}
@media (min-width: 1024px) {
  .trusted { grid-template-columns: auto 1fr; align-items: baseline; gap: 24px; }
}

/* Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head h2 { margin-bottom: 18px; }
.section__lead { font-size: clamp(1.0625rem, 1.3vw, 1.175rem); margin: 0; }
.section__head--split { max-width: none; display: grid; gap: 18px; }
@media (min-width: 1024px) {
  .section__head--split { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; }
  .section__head--split h2 { margin-bottom: 0; }
}

/* Promise */
.promise { padding-top: clamp(56px, 7vw, 96px); }
.promise__grid { list-style: none; display: grid; gap: 0 40px; }
.promise__item { padding: 26px 0 22px; border-top: 1px solid var(--line); }
.promise__item h3 { margin: 14px 0 8px; }
.promise__item p { margin: 0; font-size: 1rem; }
.promise__icon { width: 34px; height: 34px; fill: none; stroke: var(--taupe-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 700px) { .promise__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .promise__grid { grid-template-columns: repeat(3, 1fr); } }

/* Services */
.services { background: var(--paper-2); }
.services__grid { list-style: none; display: grid; gap: 20px; }
.card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 14px; }
.card__body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin-bottom: 10px; }
.card__body p { font-size: 1rem; }
.card__body .link { margin-top: auto; }
@media (min-width: 700px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services__grid { grid-template-columns: repeat(4, 1fr); } }

/* Timeline (signature) */
.timeline { background: var(--ink); color: var(--on-dark); --focus: var(--taupe); }
.timeline h2, .timeline h3 { color: var(--paper); }
.timeline a:not(.btn) { color: var(--paper); }
.section__head--light .section__lead { color: var(--on-dark); }
.steps { list-style: none; display: grid; gap: 0; position: relative; }
.step { position: relative; padding: 0 0 32px 40px; }
.step::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 18px; height: 14px;
  background:
    linear-gradient(var(--stone), var(--stone)) left / 50% 100% no-repeat,
    linear-gradient(var(--taupe), var(--taupe)) right / 50% 100% no-repeat;
  clip-path: polygon(0 0, 50% 22%, 100% 0, 100% 78%, 50% 100%, 0 78%);
}
.step::after {
  content: ""; position: absolute; left: 8px; top: 30px; bottom: 6px; width: 1px; background: rgba(178, 167, 139, .35);
}
.step--end::after { display: none; }
.step__time { margin: 0 0 6px; font-family: var(--serif); font-style: italic; font-size: 1.85rem; line-height: 1.1; color: var(--taupe); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 1rem; }
.step p:last-child { margin: 0; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .step { padding: 40px 0 0; }
  .step::before { top: 0; }
  .step::after { left: 26px; right: -22px; top: 7px; bottom: auto; width: auto; height: 1px; }
}
.timeline__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(178, 167, 139, .3); }
.timeline__foot p { margin: 0; }

/* Designs */
.tabs__list {
  display: inline-flex; flex-wrap: wrap; gap: 4px;
  padding: 4px; margin-bottom: 32px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px;
}
.tabs__tab {
  min-height: 44px; padding: 10px 18px; border: 0; border-radius: 7px;
  background: transparent; color: var(--ink-2);
  font: 600 .9875rem/1.2 var(--sans); cursor: pointer;
}
.tabs__tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
@media (hover: hover) { .tabs__tab[aria-selected="false"]:hover { background: var(--stone); color: var(--ink); } }
.tabs__panel:focus-visible { outline-offset: 8px; }
.range { display: grid; gap: 24px; align-items: center; }
.range__copy h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.15; margin-bottom: 12px; }
.range__copy p { max-width: 30em; }
.range__books { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 2vw, 20px); }
.range__books:focus-visible { outline-offset: 4px; }
.range__books img { width: 100%; mix-blend-mode: multiply; transition: transform .35s ease; }
@media (hover: hover) { .range__books li:hover img { transform: translateY(-6px); } }
@media (max-width: 699px) {
  .range__books {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
  }
  .range__books li { scroll-snap-align: start; }
}
@media (min-width: 1024px) { .range { grid-template-columns: .8fr 1.2fr; gap: 48px; } }

.spec {
  display: grid; gap: 18px; align-items: center;
  margin-top: clamp(32px, 5vw, 56px); padding: 26px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.spec__title { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.spec__list { list-style: none; display: grid; gap: 8px 24px; }
.spec__list li, .ticks li { position: relative; padding-left: 26px; }
.spec__list li::before, .ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 13px; height: 10px;
  background:
    linear-gradient(var(--stone), var(--stone)) left / 50% 100% no-repeat,
    linear-gradient(var(--taupe), var(--taupe)) right / 50% 100% no-repeat;
  clip-path: polygon(0 0, 50% 22%, 100% 0, 100% 78%, 50% 100%, 0 78%);
}
.spec__list li { font-size: 1rem; }
.spec .btn { justify-self: start; }
@media (min-width: 700px) { .spec__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .spec { grid-template-columns: 1fr auto; grid-template-areas: "title btn" "list list"; gap: 20px 40px; padding: 28px 32px; }
  .spec__title { grid-area: title; }
  .spec .btn { grid-area: btn; }
  .spec__list { grid-area: list; grid-template-columns: repeat(3, 1fr); padding-top: 18px; border-top: 1px solid var(--line); }
}

/* Split layouts */
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split__media img { width: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.split__copy h2 { margin-bottom: 20px; }
.ticks { list-style: none; display: grid; gap: 8px; margin: 22px 0 18px; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
  .ticks--two { grid-template-columns: 1fr 1fr; gap: 8px 24px; }
}
.stationery { background: var(--paper-2); }

/* Name plates */
.plates__grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
.plates__copy h2 { margin-bottom: 20px; }
.facts { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.facts li { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 1rem; }
.facts strong { font-size: .9375rem; }
@media (min-width: 1024px) { .plates__grid { grid-template-columns: .8fr 1.2fr; } }

.plater { border: 1px solid var(--line); border-radius: 10px; background: var(--white); overflow: hidden; }
.plater__stage {
  display: grid; place-items: center; min-height: clamp(260px, 32vw, 380px); padding: 32px 20px;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(255, 255, 255, .10), transparent 65%),
    linear-gradient(160deg, #2E2A28, #1B1819);
}
.plate {
  container-type: inline-size;
  display: grid; place-items: center; text-align: center;
  width: min(100%, 420px); aspect-ratio: 4 / 3; padding: 7%;
  border-radius: 6px;
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .7), 0 2px 4px rgba(0, 0, 0, .4);
  transition: width .3s ease, aspect-ratio .3s ease;
}
.plate--small { width: min(78%, 320px); aspect-ratio: 2 / 1; padding: 4% 6%; }
.plate__text { width: 100%; }
.plate__text p { margin: 0; font-family: var(--serif); line-height: 1.15; overflow-wrap: anywhere; }
.plate__name { font-size: 9.5cqw; font-weight: 600; margin-bottom: .35em !important; }
.plate__line { font-size: 6cqw; }
.plate--small .plate__name { font-size: 8cqw; margin-bottom: .15em !important; }
.plate--small .plate__line { font-size: 5.4cqw; }
.plate--gold {
  background: linear-gradient(135deg, #F3E3A3 0%, #D6B85A 32%, #F5E6AA 52%, #C9A443 78%, #E9D488 100%);
  box-shadow: inset 0 0 0 5px #C4A043, inset 0 0 0 7px #F2E2A0, 0 18px 30px -12px rgba(0, 0, 0, .7);
  color: #3B2E0E;
}
.plate--silver {
  background: linear-gradient(135deg, #F7F8F9 0%, #C5CAD0 34%, #F1F2F4 55%, #A9B0B7 80%, #E3E6E9 100%);
  box-shadow: inset 0 0 0 5px #A3AAB2, inset 0 0 0 7px #EEF0F2, 0 18px 30px -12px rgba(0, 0, 0, .7);
  color: #23272B;
}
.plate--brass {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, #D8B862 0%, #B08C36 45%, #D8B862 70%, #BA9640 100%);
  color: #1F1604;
}
.plate--wood {
  background:
    repeating-linear-gradient(97deg, rgba(0, 0, 0, .07) 0 2px, transparent 2px 7px, rgba(255, 255, 255, .04) 7px 9px, transparent 9px 15px),
    linear-gradient(90deg, #A9774A 0%, #BC8655 28%, #A57247 58%, #B07B47 100%);
  color: #140A02;
}
.plate--gold .plate__text, .plate--silver .plate__text, .plate--brass .plate__text { text-shadow: 0 1px 0 rgba(255, 255, 255, .45); }
.plate--wood .plate__text { text-shadow: 0 1px 0 rgba(255, 255, 255, .16); }

.plater__controls { display: grid; gap: 18px; padding: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.chips legend { width: 100%; margin-bottom: 8px; font-weight: 600; font-size: .9375rem; color: var(--ink); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  border: 1.5px solid var(--field); border-radius: 999px; color: var(--ink); font-weight: 500; font-size: .9375rem; cursor: pointer;
}
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) { .chip input:not(:checked) + span:hover { background: var(--paper-2); } }
.plater__fields { display: grid; gap: 14px; }
@media (min-width: 700px) { .plater__fields { grid-template-columns: repeat(3, 1fr); } }
.plater .btn { justify-self: start; }
.plater__note { margin: 0; font-size: .875rem; color: var(--taupe-ink); }

/* Children */
.children { background: var(--stone); padding-block: clamp(56px, 8vw, 104px); }
.children__inner { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 820px; }
.children .fold--lg {
  background:
    linear-gradient(var(--paper), var(--paper)) left / 50% 100% no-repeat,
    linear-gradient(var(--taupe), var(--taupe)) right / 50% 100% no-repeat;
}
.children h2 { margin-bottom: 18px; }
.children p { font-size: 1.125rem; color: var(--ink-2); max-width: 40em; }
.children__contact { margin: 0; }

/* Funeral homes */
.pack { margin-top: 28px; padding: 24px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); }
.pack__title { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin-bottom: 8px; }
.pack p { font-size: 1rem; }
.split__media--tall img { max-height: 680px; width: auto; margin-inline: auto; }

/* Reviews */
.reviews { background: var(--paper-2); }
.reviews__grid { display: grid; gap: 20px; }
.quote {
  display: flex; flex-direction: column; justify-content: space-between;
  margin: 0; padding: 26px 26px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.quote blockquote { margin: 0 0 16px; }
.quote blockquote p { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; color: var(--ink); }
.quote figcaption { display: grid; gap: 2px; font-size: .9375rem; color: var(--taupe-ink); }
.quote figcaption strong { font-size: 1rem; }
.quote--feature { background: var(--ink); border-color: var(--ink); }
.quote--feature blockquote p { color: var(--paper); font-size: clamp(1.45rem, 2.1vw, 1.75rem); line-height: 1.32; }
.quote--feature figcaption { color: var(--taupe); }
.quote--feature figcaption strong { color: var(--paper); }
.quote--feature::before {
  content: "\201C"; display: block; height: .5em; margin: -6px 0 10px;
  font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--taupe);
}
.quote--more { background: var(--stone); border-color: var(--stone); justify-content: center; }
.quote--more p { font-family: var(--serif); font-size: 1.4rem; line-height: 1.3; color: var(--ink); margin: 0 0 8px; }
@media (min-width: 700px) {
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .quote--feature { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .reviews__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .quote--feature { grid-column: 1; grid-row: 1 / span 3; padding: 34px; justify-content: flex-start; }
  .quote--feature figcaption { margin-top: auto; }
  .quote--feature blockquote p { font-size: clamp(1.6rem, 2.2vw, 1.95rem); }
}

/* About */
.about__photo { border: 0 !important; }
.eco { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.eco__title { font-size: 1.0625rem; }
.eco .ticks { margin-bottom: 0; }

/* FAQs */
.faqs { background: var(--paper-2); }
.faqs__grid { display: grid; gap: 8px 64px; }
@media (min-width: 1024px) {
  .faqs__grid { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .faqs .section__head { position: sticky; top: calc(var(--header-h) + 24px); }
}
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; display: block; list-style: none; cursor: pointer;
  padding: 20px 52px 20px 0; min-height: 44px;
  font-family: var(--serif); font-size: 1.375rem; line-height: 1.3; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 16px; height: 1.5px; background: var(--ink); transition: transform .25s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq__a { padding: 0 52px 18px 0; }
.faq__a p { margin: 0; }

/* Register */
.register { background: var(--ink); color: var(--on-dark); --focus: var(--taupe); }
.register h2 { color: var(--paper); margin-bottom: 20px; }
.register a { color: var(--paper); }
.register__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .register__grid { grid-template-columns: .85fr 1.15fr; gap: 72px; } }
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.contact-list li { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid rgba(178, 167, 139, .3); }
.contact-list__label { font-size: .875rem; color: var(--taupe); font-weight: 600; }
.contact-list a { font-size: 1.125rem; font-weight: 600; }

.form {
  display: grid; gap: 16px; padding: clamp(22px, 3.5vw, 36px);
  background: var(--white); color: var(--ink-2); border-radius: 10px;
  --focus: var(--ink);
}
.form a { color: var(--ink); }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; margin: 0; }
.field label, .field legend { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.optional { font-weight: 400; color: var(--taupe-ink); }
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1.5px solid var(--field); border-radius: var(--radius); background: var(--white);
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__error { margin: 0; color: var(--error); font-size: .875rem; font-weight: 600; }
.field--checks { border: 0; padding: 0; display: grid; gap: 4px; }
.field--checks legend { margin-bottom: 6px; }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; cursor: pointer; font-size: 1rem; color: var(--ink); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--error); }
.form__privacy { margin: 0; font-size: .875rem; color: var(--taupe-ink); }
.form__success { padding: 12px 0; }
.form__success h3 { font-family: var(--serif); font-weight: 500; font-size: 2rem; margin-bottom: 10px; }
.form__success:focus { outline: none; }

/* Footer */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 1rem; }
.footer__inner { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand img { width: 180px; mix-blend-mode: multiply; margin-bottom: 16px; }
.footer__tagline { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--ink); margin-bottom: 6px; }
.footer__h { font-family: var(--sans); font-size: .9375rem; font-weight: 600; color: var(--taupe-ink); margin-bottom: 10px; }
.footer ul { list-style: none; display: grid; gap: 4px; }
.footer li a { display: inline-flex; align-items: center; min-height: 36px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .875rem; }
.footer__base p { margin: 0; }
.footer__base a { display: inline-flex; align-items: center; min-height: 44px; }

/* Floating dock: pill on larger screens, bar on phones */
.dock {
  position: fixed; z-index: 40; right: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 6px; padding: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
  transition: transform .3s ease, opacity .3s ease, visibility 0s linear 0s;
}
.dock.is-away { transform: translateY(140%); opacity: 0; visibility: hidden; transition: transform .3s ease, opacity .3s ease, visibility 0s linear .3s; }
.dock__call {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 999px;
}
.dock__call .icon { color: var(--taupe-ink); }
.dock__call-text, .dock__short { display: none; }
.dock__cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  background: var(--ink); color: var(--paper); border-radius: 999px; text-decoration: none; font-weight: 600;
}
@media (hover: hover) {
  .dock__call:hover { background: var(--paper-2); }
  .dock__cta:hover { background: #3A3433; }
}
@media (max-width: 767px) {
  .dock {
    left: 0; right: 0; bottom: 0; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    border-radius: 0; border-width: 1px 0 0; box-shadow: 0 -8px 24px -16px rgba(35, 31, 32, .4);
  }
  .dock__call, .dock__cta { flex: 1; justify-content: center; min-height: 48px; border-radius: var(--radius); }
  .dock__call { border: 1.5px solid var(--ink); }
  .dock__call-num, .dock__long { display: none; }
  .dock__call-text, .dock__short { display: inline; }
  .dock__cta { padding: 0 12px; }
  .footer { padding-bottom: calc(28px + 72px + env(safe-area-inset-bottom)); }
}

/* Simple pages (thank you, 404) */
.simple__main { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 64px 0; }
.simple__inner { max-width: 640px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.simple__inner h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: 16px; }
.simple__inner .btn { margin-top: 12px; }
.simple__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Gentle reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
