@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cabin";
  src: url("assets/fonts/cabin-latin-400-700.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --pine-950: #142124;
  --pine-900: #1d2a2d;
  --pine-800: #2a3b3e;
  --mist-700: #53696e;
  --mist-500: #70858a;
  --mist-300: #aebbb9;
  --paper: #f0eee8;
  --paper-warm: #e9e4da;
  --paper-cool: #e7e8e3;
  --white: #faf9f5;
  --amber: #b87835;
  --amber-soft: #d6aa72;
  --rust: #8d4c38;
  --ink: #202829;
  --muted: #566162;
  --line: #c4c8c2;
  --line-strong: #8e9b98;
  --error: #8b2f2c;
  --success: #356553;
  --focus: #945717;
  --page: min(1180px, calc(100% - 48px));
  --reading: 67ch;
  --review-bar-height: 34px;
  /* Primitive typography tokens */
  --font-family-instrument-serif: "Instrument Serif", Georgia, serif;
  --font-family-cabin: "Cabin", "Segoe UI", sans-serif;
  /* Semantic typography tokens */
  --font-heading: var(--font-family-instrument-serif);
  --font-body: var(--font-family-cabin);
  /* Component typography tokens */
  --font-brand: var(--font-heading);
  --font-editorial-accent: var(--font-heading);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: .2em; }
[hidden] { display: none !important; }

h1, h2, h3, h4, h5, h6, p, ul, ol, dl, figure { margin-top: 0; }
h1, h2, h3, h4, h5, h6 {
  color: var(--pine-950);
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 7.2vw, 6rem); max-width: 10ch; }
h2 { font-size: clamp(2rem, 3.7vw, 3.8rem); max-width: 17ch; }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; }
h4 { font-size: 1.25rem; line-height: 1.18; }
h5 { font-size: 1.125rem; line-height: 1.22; }
h6 { font-size: 1rem; line-height: 1.25; }
p, li, dd { max-width: var(--reading); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-180%);
  padding: 10px 14px;
  background: var(--white);
  border: 2px solid var(--pine-900);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.review-bar {
  background: var(--pine-950);
  color: var(--paper);
  font-size: .78rem;
  position: relative;
  z-index: 20;
}
.review-bar__inner {
  width: var(--page);
  min-height: 34px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.review-bar p { margin: 0; }
.review-bar details { position: relative; }
.review-bar summary { cursor: pointer; min-height: 34px; display: flex; align-items: center; }
.review-controls {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(520px, calc(100vw - 32px));
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--pine-900);
  color: var(--ink);
  box-shadow: 0 18px 48px rgb(20 33 36 / .18);
}
.review-controls fieldset { margin: 0 0 12px; padding: 8px; border: 1px solid var(--line); }
.review-controls button { min-height: 40px; margin: 3px; padding: 7px 10px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); }
.review-controls button[aria-pressed="true"] { background: var(--pine-900); color: var(--white); }
.review-reset { width: 100%; }

.prototype-shell { position: relative; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgb(240 238 232 / .96);
  border-bottom: 1px solid rgb(142 155 152 / .55);
}
.site-header[data-page="inicio"] {
  position: absolute;
  inset: 0 0 auto;
  color: #fff8ee;
  background: linear-gradient(180deg, rgb(12 7 4 / .76) 0%, rgb(12 7 4 / .26) 72%, transparent 100%);
  border-bottom-color: rgb(255 248 238 / .18);
}
.site-header[data-page="servicio"] {
  position: absolute;
  inset: 0 0 auto;
  color: #fff8ee;
  background: linear-gradient(180deg, rgb(5 22 19 / .9) 0%, rgb(5 22 19 / .5) 68%, transparent 100%);
  border-bottom-color: rgb(255 248 238 / .2);
}
.site-header[data-page="inicio"] .brand__mark { background: #fff8ee; }
.site-header[data-page="servicio"] .brand__mark { background: #fff8ee; }
.site-header[data-page="inicio"] .public-nav a:hover,
.site-header[data-page="inicio"] .public-nav a[aria-current="page"],
.site-header[data-page="servicio"] .public-nav a:hover,
.site-header[data-page="servicio"] .public-nav a[aria-current="page"] { border-color: #edbd79; }
.site-header[data-page="inicio"] .nav-start {
  color: #1b110b;
  background: #fff8ee;
  border-color: #fff8ee !important;
}
.site-header[data-page="servicio"] .nav-start {
  color: #172322;
  background: #f0b44b;
  border-color: #f0b44b !important;
}
.site-header[data-page="inicio"] .menu-button {
  color: #fff8ee;
  border-color: rgb(255 248 238 / .72);
}
.site-header[data-page="servicio"] .menu-button {
  color: #fff8ee;
  border-color: rgb(255 248 238 / .72);
  background: rgb(5 22 19 / .28);
}
.site-header[data-page="inicio"] .mobile-navigation {
  width: 100%;
  padding: 8px max(18px, calc((100% - var(--page)) / 2)) 18px;
  background: rgb(18 10 6 / .96);
}
.site-header[data-page="servicio"] .mobile-navigation {
  width: 100%;
  padding: 8px max(18px, calc((100% - var(--page)) / 2)) 18px;
  background: rgb(5 22 19 / .97);
}
.site-header[data-page="inicio"] .mobile-navigation a,
.site-header[data-page="servicio"] .mobile-navigation a { border-color: rgb(255 248 238 / .24); }
.site-header__inner {
  width: var(--page);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--font-brand);
  font-size: 1.55rem;
  font-weight: 400;
  text-decoration: none;
}
.brand__mark {
  width: 24px;
  height: 30px;
  background: var(--pine-900);
  clip-path: polygon(50% 0, 87% 18%, 100% 58%, 70% 100%, 30% 100%, 0 58%, 13% 18%);
}
.public-nav, .family-nav, .family-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.family-tools { margin-left: 2px; padding-left: 20px; border-left: 1px solid var(--line); gap: 16px; }
.public-nav a, .family-nav a, .family-tools a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: .94rem;
  font-weight: 590;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.public-nav a:hover, .family-nav a:hover, .family-tools a:hover,
.public-nav a[aria-current="page"], .family-nav a[aria-current="page"], .family-tools a[aria-current="page"] { border-color: var(--amber); }
.nav-account { padding-inline: 8px; }
.nav-start { padding: 0 16px; background: var(--pine-900); color: var(--white); border: 1px solid var(--pine-900) !important; }
.menu-button {
  display: none;
  min-width: 48px;
  min-height: 44px;
  margin-left: auto;
  border: 1px solid var(--pine-900);
  background: transparent;
  color: var(--pine-900);
  font-weight: 700;
}
.mobile-navigation {
  width: var(--page);
  margin: 0 auto;
  padding: 0 0 18px;
}
.mobile-navigation a {
  display: flex;
  min-height: 48px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 650;
}

.journey-progress { background: var(--paper-cool); border-bottom: 1px solid var(--line); }
.journey-progress__inner { width: var(--page); min-height: 64px; margin: 0 auto; display: flex; align-items: center; gap: 32px; }
.journey-progress__label { margin: 0; color: var(--muted); font-size: .84rem; font-weight: 700; }
.journey-progress ol { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.journey-progress li { min-height: 44px; display: flex; align-items: center; border-bottom: 2px solid var(--line); color: var(--muted); font-size: .84rem; }
.journey-progress li[data-state="complete"], .journey-progress li[data-state="current"] { border-color: var(--amber); color: var(--pine-900); font-weight: 700; }

main:focus { outline: none; }
h1[tabindex="-1"]:focus { outline: none; }
.home-page { overflow: clip; }
.referral-note { width: var(--page); margin: 24px auto 0; padding: 16px 20px; border-top: 2px solid var(--amber); background: var(--paper-warm); }
.referral-note p { margin: 0; }

.home-hero {
  position: relative;
  width: 100%;
  min-height: calc(100svh - var(--review-bar-height));
  display: grid;
  align-items: end;
  background: #160d08;
  color: #fff8ee;
  isolation: isolate;
  overflow: hidden;
}
.home-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(270deg, rgb(16 9 5 / .76) 0%, rgb(16 9 5 / .58) 43%, rgb(16 9 5 / .16) 78%, rgb(16 9 5 / .04) 100%),
    linear-gradient(0deg, rgb(11 6 4 / .68) 0%, rgb(11 6 4 / .08) 58%, rgb(11 6 4 / .24) 100%);
  pointer-events: none;
}
.home-hero__photo {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: #160d08;
}
.home-hero__photo picture { display: block; width: 100%; height: 100%; }
.home-hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}
.home-hero__reading {
  position: relative;
  z-index: 2;
  width: min(1480px, calc(100% - 96px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
  padding: clamp(150px, 18vh, 230px) 0 clamp(42px, 7vh, 76px);
}
.home-hero__context {
  max-width: none;
  margin: 0 0 22px;
  color: #f6d9b2;
  font-size: clamp(.74rem, .95vw, .86rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.home-hero h1 {
  width: min(1180px, 74vw);
  max-width: none;
  margin: 0 0 25px;
  color: #fffaf3;
  font-family: var(--font-heading);
  font-size: clamp(3.6rem, 5.8vw, 5.9rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.028em;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgb(8 4 2 / .28);
}
.home-hero__lead {
  max-width: 63ch;
  margin: 0 0 18px;
  color: #fff8ee;
  font-size: clamp(1.02rem, 1.3vw, 1.19rem);
  line-height: 1.55;
  text-shadow: 0 1px 14px rgb(8 4 2 / .38);
}
.home-hero__promise {
  margin: 0 0 28px;
  color: #ffe8c8;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.22;
}
.home-hero__route {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #fff8ee;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-color: #d9a761;
  text-decoration-thickness: 1px;
  text-underline-offset: .45em;
}
.home-hero__route:hover { text-decoration-thickness: 2px; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; }
.action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 19px;
  border: 1px solid var(--pine-900);
  border-radius: 2px;
  background: var(--pine-900);
  color: var(--white);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--pine-800); }
.button:disabled { cursor: not-allowed; opacity: .48; }
.button--secondary { background: transparent; color: var(--pine-900); }
.button--secondary:hover { background: var(--paper-cool); }
.button--quiet { background: transparent; border-color: transparent; color: var(--pine-900); text-decoration: underline; text-underline-offset: .25em; }
.text-link, .back-link { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; color: var(--pine-900); }

.home-fragments {
  padding: clamp(110px, 13vw, 188px) 0 clamp(120px, 14vw, 204px);
  background: #e9dfd0;
  color: #38271e;
}
.home-fragments__inner {
  width: min(1440px, calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(18px, 2.4vw, 38px);
  row-gap: 0;
  align-items: start;
}
.home-fragments h2 {
  max-width: none;
  margin: 0;
  color: #2b1b13;
  font-size: clamp(4rem, 6vw, 6rem);
  line-height: .94;
  letter-spacing: -.03em;
}
.home-fragments__narrative {
  grid-column: 1 / 8;
  grid-row: 1;
}
.home-fragments__gathering {
  max-width: 38ch;
  margin: clamp(26px, 2.5vw, 38px) 0 0;
  color: #744526;
  font-family: var(--font-body);
  font-size: clamp(1.08rem, 1.25vw, 1.22rem);
  line-height: 1.58;
}
.home-fragments__figure {
  grid-column: 8 / 13;
  grid-row: 1;
  margin: 0;
}
.home-fragments__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}
.home-fragments__service-intro {
  grid-column: 4 / 12;
  grid-row: 2;
  max-width: 27ch;
  margin: clamp(96px, 10vw, 150px) 0 0;
  padding-top: clamp(26px, 3vw, 40px);
  border-top: 1px solid rgb(89 55 35 / .48);
  color: #2b1b13;
  font-family: var(--font-editorial-accent);
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -.018em;
}

.home-product {
  padding: clamp(104px, 11vw, 168px) 0 clamp(116px, 13vw, 188px);
  background: #f4efe7;
  color: #2b302f;
}
.home-product__inner {
  width: min(1380px, calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(22px, 2.8vw, 44px);
  row-gap: clamp(70px, 8vw, 112px);
}
.home-product__intro {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: inherit;
  align-items: end;
}
.home-product__intro h2 {
  grid-column: 1 / 9;
  max-width: none;
  margin: 0;
  color: #1e2b2c;
  font-size: clamp(3.35rem, 5vw, 5.2rem);
  line-height: .96;
}
.home-product__intro > p {
  grid-column: 9 / 13;
  max-width: 36ch;
  margin: 0 0 .45rem;
  color: #4e5b5b;
  font-size: clamp(1.04rem, 1.2vw, 1.16rem);
  line-height: 1.6;
}
.memorial-sample {
  grid-column: 1 / 8;
  align-self: start;
  margin: 0;
  overflow: hidden;
  border: 1px solid #b7b2a9;
  background: #fcfaf5;
  box-shadow: 0 30px 70px rgb(46 39 30 / .12);
}
.memorial-sample__bar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(18px, 2vw, 28px);
  border-bottom: 1px solid #d7d1c7;
  color: #68706e;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.memorial-sample__brand {
  color: #1e2b2c;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.memorial-sample__portrait {
  position: relative;
  margin: 0;
  min-height: clamp(400px, 43vw, 590px);
  display: flex;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: #20140e;
}
.memorial-sample__portrait::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, rgb(19 11 7 / .86) 0%, rgb(19 11 7 / .08) 58%);
}
.memorial-sample__portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.memorial-sample__identity {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 4vw, 54px);
  color: #fff8ee;
}
.memorial-sample__identity p {
  margin: 0;
  color: #f3dcc0;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.memorial-sample__identity h3 {
  margin: 6px 0 8px;
  color: #fffaf3;
  font-size: clamp(3.1rem, 5.2vw, 5rem);
  line-height: .92;
}
.memorial-sample__story {
  padding: clamp(26px, 3.2vw, 42px) clamp(24px, 4vw, 52px) clamp(28px, 3.6vw, 46px);
}
.memorial-sample__story > p:not(.memorial-sample__label) {
  max-width: 48ch;
  margin: 0;
  color: #37403f;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1.18;
}
.memorial-sample__label {
  margin: 0 0 10px;
  color: #8a5729;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.memorial-sample__story ul {
  margin: 30px 0 0;
  padding: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  border-top: 1px solid #d7d1c7;
  color: #66706e;
  font-size: .84rem;
  font-weight: 700;
  list-style: none;
}
.home-product__details {
  grid-column: 8 / 13;
  align-self: start;
}
.product-features {
  margin: 0;
  padding: 0;
  counter-reset: product-feature;
  list-style: none;
}
.product-features li {
  position: relative;
  padding: clamp(24px, 2.6vw, 36px) 0 clamp(25px, 2.7vw, 38px) clamp(44px, 4.5vw, 66px);
  border-top: 1px solid #aaa89f;
  counter-increment: product-feature;
}
.product-features li::before {
  content: "0" counter(product-feature);
  position: absolute;
  top: clamp(27px, 2.8vw, 39px);
  left: 0;
  color: #8a5729;
  font-family: var(--font-heading);
  font-size: 1.08rem;
}
.product-features h3 {
  max-width: none;
  margin: 0 0 9px;
  color: #1e2b2c;
  font-family: var(--font-body);
  font-size: clamp(1.18rem, 1.55vw, 1.42rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.012em;
}
.product-features p {
  margin: 0;
  color: #53605f;
  line-height: 1.58;
}
.home-product__sample-link {
  min-height: 48px;
  margin-top: 30px;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid #9a602c;
  background: transparent;
  color: #1e2b2c;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.home-product__sample-link:hover { border-bottom-width: 2px; }

.home-final {
  min-height: min(780px, 82vh);
  display: grid;
  align-items: center;
  background: #142426;
  color: #f6f0e7;
}
.home-final__inner {
  width: min(1380px, calc(100% - 96px));
  margin: 0 auto;
  padding: clamp(112px, 12vw, 174px) 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(22px, 2.8vw, 44px);
  align-items: end;
}
.home-final h2 {
  grid-column: 1 / 9;
  max-width: 13ch;
  margin: 0;
  color: #fffaf2;
  font-size: clamp(3.8rem, 6.2vw, 6rem);
  line-height: .94;
  letter-spacing: -.03em;
}
.home-final__decision {
  grid-column: 9 / 13;
  padding-top: clamp(26px, 3vw, 38px);
  border-top: 1px solid rgb(246 240 231 / .38);
}
.home-final__decision > p {
  max-width: 38ch;
  margin: 0;
  color: #d9e0dc;
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  line-height: 1.62;
}
.home-final__actions {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.home-final__primary,
.home-final__secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.home-final__primary {
  padding: 13px 21px;
  background: #f6f0e7;
  color: #142426;
  text-decoration: none;
}
.home-final__primary:hover { background: #fffaf2; }
.home-final__secondary {
  color: #f6f0e7;
  text-decoration-color: #d3a56d;
  text-underline-offset: .38em;
}
.home-final__secondary:hover { text-decoration-thickness: 2px; }

/* Service page: physical plaque → scan → real memorial */
.service-page {
  overflow: clip;
  background: var(--paper);
}
.service-page > .referral-note { margin-bottom: 24px; }
.service-hero {
  padding: clamp(68px, 8vw, 118px) 0 clamp(88px, 10vw, 146px);
  background: #ded7cb;
}
.service-hero__inner {
  width: min(1440px, calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(660px, 1.28fr);
  gap: clamp(48px, 6vw, 94px);
  align-items: center;
}
.service-hero__copy h1 {
  max-width: 9.5ch;
  margin: 32px 0 28px;
  font-size: clamp(4.1rem, 6.4vw, 6rem);
  line-height: .93;
  letter-spacing: -.03em;
}
.service-hero__copy > p {
  max-width: 46ch;
  margin: 0;
  color: #3f4b4b;
  font-size: clamp(1.08rem, 1.35vw, 1.24rem);
}
.service-hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}
.service-text-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: var(--pine-950);
  font-weight: 700;
  text-decoration-color: var(--amber);
  text-underline-offset: .4em;
}
.service-text-link:hover { text-decoration-thickness: 2px; }
.service-flow {
  position: relative;
  min-height: 610px;
  margin: 0;
  padding: 54px 42px 74px;
  display: grid;
  grid-template-columns: minmax(180px, .68fr) minmax(112px, .36fr) minmax(330px, 1.12fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: center;
  background: #122321;
  box-shadow: 0 26px 62px rgb(28 32 30 / .22);
}
.service-flow__route {
  position: absolute;
  z-index: 0;
  top: 48%;
  left: 19%;
  right: 18%;
  height: 1px;
  background: rgb(214 170 114 / .66);
  transform-origin: left center;
  animation: service-route-reveal .95s cubic-bezier(.16, 1, .3, 1) both;
}
.service-flow__route::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid var(--amber-soft);
  background: #122321;
  transform: translate(50%, -50%) rotate(45deg);
}
.service-flow__route span {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  background: var(--amber-soft);
  transform: translate(-50%, -50%) rotate(45deg);
}
.service-flow__route span:first-child { left: 31%; }
.service-flow__route span:last-child { left: 62%; }
@keyframes service-route-reveal {
  from { clip-path: inset(0 100% 0 0); filter: saturate(.6); }
  to { clip-path: inset(0 0 0 0); filter: saturate(1); }
}
.service-flow__stage {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  justify-items: center;
  align-items: center;
}
.service-flow__stage > p {
  margin: 22px 0 0;
  color: #f6efe4;
  text-align: center;
  line-height: 1.35;
}
.service-flow__stage > p strong,
.service-flow__stage > p span { display: block; }
.service-flow__stage > p strong { font-size: .94rem; }
.service-flow__stage > p span { margin-top: 3px; color: #bfcac5; font-size: .78rem; }
.service-plaque-frame {
  width: min(100%, 235px);
  box-shadow: 12px 22px 42px rgb(0 0 0 / .44);
}
.service-plaque-frame img { width: 100%; height: auto; }
.service-phone {
  position: relative;
  width: min(100%, 128px);
  padding: 18px 6px 8px;
  overflow: hidden;
  border: 1px solid #697471;
  border-radius: 15px;
  background: #081310;
  box-shadow: 8px 16px 34px rgb(0 0 0 / .36);
}
.service-phone__sensor {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 28px;
  height: 3px;
  background: #6f7976;
  transform: translateX(-50%);
}
.service-phone img {
  width: 100%;
  aspect-ratio: 9 / 18.8;
  object-fit: cover;
  object-position: top center;
}
.service-browser {
  overflow: hidden;
  background: #0f2420;
  box-shadow: 12px 24px 46px rgb(0 0 0 / .4);
}
.service-browser__bar {
  min-height: 22px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #e7e3da;
}
.service-browser__bar span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #697471;
}
.service-browser img { width: 100%; height: auto; }
.service-flow figcaption {
  position: absolute;
  left: 42px;
  bottom: 23px;
  margin: 0;
  color: #9baba6;
  font-size: .76rem;
}
.service-journey,
.service-memorial-proof,
.service-control,
.service-decision,
.service-faq {
  width: min(1280px, calc(100% - 96px));
  margin: 0 auto;
}
.service-journey { padding: clamp(112px, 12vw, 176px) 0; }
.service-section-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .55fr);
  gap: clamp(48px, 8vw, 126px);
  align-items: end;
}
.service-section-heading h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.6rem, 6.5vw, 6rem);
  line-height: .94;
}
.service-section-heading > p {
  max-width: 45ch;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.08rem;
}
.service-steps {
  margin: clamp(72px, 8vw, 112px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 62px);
  list-style: none;
}
.service-steps li {
  padding-top: 22px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  border-top: 1px solid var(--line-strong);
}
.service-steps li > span {
  color: var(--amber);
  font-family: var(--font-heading);
  font-size: 1.45rem;
}
.service-steps h3 { margin: 0 0 14px; font-size: clamp(1.55rem, 2.2vw, 2.15rem); }
.service-steps p { margin: 0; color: var(--muted); }
.service-object {
  padding: clamp(90px, 10vw, 148px) max(48px, calc((100% - 1280px) / 2));
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.1fr);
  gap: clamp(64px, 9vw, 144px);
  align-items: center;
  background: #d7d0c4;
}
.service-object__media {
  min-height: 680px;
  display: grid;
  place-items: center;
  background: #343b38;
  box-shadow: 0 30px 64px rgb(43 39 34 / .2);
}
.service-object__media img {
  width: min(72%, 390px);
  height: auto;
  box-shadow: 16px 28px 46px rgb(0 0 0 / .38);
}
.service-object__copy h2 {
  max-width: 11ch;
  margin: 0 0 30px;
  font-size: clamp(3.5rem, 5.7vw, 5.7rem);
}
.service-object__copy > p:not(.service-provisional) { max-width: 54ch; font-size: 1.08rem; }
.service-object__facts { margin: 42px 0 0; }
.service-object__facts div {
  padding: 18px 0;
  display: grid;
  grid-template-columns: minmax(118px, .34fr) 1fr;
  gap: 24px;
  border-top: 1px solid #a9aaa4;
}
.service-object__facts dt { color: #475451; font-weight: 700; }
.service-object__facts dd { margin: 0; }
.service-provisional {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--amber);
  color: #5d4b39;
  font-size: .9rem;
}
.service-system {
  padding: clamp(106px, 12vw, 170px) max(48px, calc((100% - 1280px) / 2));
  background: var(--pine-950);
  color: #e5e8e2;
}
.service-section-heading--light h2 { color: #fffaf2; }
.service-section-heading--light > p { color: #c7d1cd; }
.service-system__pair {
  margin-top: clamp(74px, 8vw, 116px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(90px, .28fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}
.service-system__pair section { min-width: 0; padding-top: 26px; border-top: 1px solid rgb(229 232 226 / .4); }
.service-system__pair h3 { margin: 0 0 26px; color: #fffaf2; font-size: clamp(2.3rem, 3.5vw, 3.7rem); }
.service-system__pair ul { margin: 0; padding-left: 1.15rem; }
.service-system__pair li { margin: 13px 0; color: #d3dcd7; }
.service-system__link { position: relative; height: 1px; background: var(--amber-soft); }
.service-system__link::before,
.service-system__link::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  background: var(--pine-950);
  border: 1px solid var(--amber-soft);
  transform: translateY(-50%) rotate(45deg);
}
.service-system__link::before { left: 0; }
.service-system__link::after { right: 0; }
.service-memorial-proof {
  padding: clamp(112px, 13vw, 190px) 0;
  display: grid;
  grid-template-columns: minmax(280px, .42fr) minmax(640px, 1.18fr);
  gap: clamp(52px, 7vw, 104px);
  align-items: center;
}
.service-memorial-proof__intro h2 {
  max-width: 10ch;
  margin: 0 0 28px;
  font-size: clamp(3.35rem, 5.2vw, 5.15rem);
}
.service-memorial-proof__intro p { margin-bottom: 28px; color: var(--muted); }
.service-memorial-proof__screen {
  margin: 0;
  overflow: hidden;
  background: var(--pine-950);
  box-shadow: 0 30px 70px rgb(38 46 43 / .19);
}
.service-memorial-proof__screen img { width: 100%; height: auto; }
.service-memorial-proof__screen figcaption {
  margin: 0;
  padding: 12px 16px 14px;
  background: #e7e3da;
  color: #4d5c59;
  font-size: .78rem;
}
.service-control {
  padding: clamp(96px, 10vw, 148px) 0;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(430px, 1fr);
  gap: clamp(62px, 10vw, 156px);
  border-top: 1px solid var(--line);
}
.service-control h2 { max-width: 11ch; margin: 0 0 28px; font-size: clamp(3.3rem, 5.5vw, 5.4rem); }
.service-control > div > p { color: var(--muted); font-size: 1.08rem; }
.service-control__list { margin: 0; padding: 0; list-style: none; }
.service-control__list li { padding: 20px 0; border-top: 1px solid var(--line); }
.service-control__list strong,
.service-control__list span { display: block; }
.service-control__list strong { color: var(--pine-950); }
.service-control__list span { margin-top: 5px; color: var(--muted); }
.service-decision {
  padding: clamp(96px, 11vw, 160px) 0;
  border-top: 1px solid var(--line);
}
.service-decision__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .48fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
}
.service-decision__intro h2 { max-width: 12ch; margin: 0; font-size: clamp(3.4rem, 6vw, 5.8rem); }
.service-decision__intro p { margin: 0 0 8px; color: var(--muted); font-size: 1.08rem; }
.service-decision__body {
  margin-top: clamp(68px, 8vw, 108px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, .72fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: start;
}
.service-choice h3,
.service-terms h3 { margin: 0 0 26px; font-size: clamp(2rem, 3vw, 2.8rem); }
.service-choice dl { margin: 0; }
.service-choice dl div {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  border-top: 1px solid var(--line);
}
.service-choice dt { font-weight: 700; }
.service-choice dd { margin: 0; }
.service-choice > p { max-width: 52ch; margin: 28px 0 0; color: var(--muted); }
.service-choice__sample {
  margin: 0 0 32px;
  padding: 22px;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 24px;
  align-items: center;
  background: #ded7cb;
}
.service-choice__sample img { width: 104px; height: auto; box-shadow: 7px 13px 28px rgb(31 34 31 / .24); }
.service-choice__sample figcaption { margin: 0; }
.service-choice__sample strong,
.service-choice__sample span { display: block; }
.service-choice__sample strong { color: var(--pine-950); }
.service-choice__sample span { margin-top: 6px; color: var(--muted); font-size: .88rem; }
.service-choice__select,
.service-choice__continue { margin-top: 28px; }
.service-choice__selected {
  margin-top: 28px;
  padding: 18px 20px;
  background: #e1e7e1;
  border-top: 2px solid var(--success);
}
.service-choice__selected strong,
.service-choice__selected span { display: block; }
.service-choice__selected span { margin-top: 4px; color: #465553; font-size: .88rem; }
.service-terms {
  padding: 32px;
  background: var(--paper-cool);
  border-top: 3px solid var(--pine-950);
}
.service-faq {
  padding: 0 0 clamp(112px, 12vw, 174px);
  display: grid;
  grid-template-columns: minmax(260px, .56fr) minmax(520px, 1fr);
  gap: clamp(54px, 8vw, 124px);
}
.service-faq h2 { max-width: 10ch; margin: 0; font-size: clamp(3rem, 4.9vw, 4.9rem); }
.service-faq details { border-top: 1px solid var(--line-strong); }
.service-faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.service-faq summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  color: var(--pine-950);
  font-weight: 700;
  list-style: none;
}
.service-faq summary::-webkit-details-marker { display: none; }
.service-faq summary::after { content: "+"; color: var(--amber); font-family: var(--font-heading); font-size: 1.75rem; font-weight: 400; }
.service-faq details[open] summary::after { content: "−"; }
.service-faq details p { margin: -4px 48px 24px 0; color: var(--muted); }
.service-final {
  padding: clamp(96px, 11vw, 158px) max(48px, calc((100% - 1280px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .5fr);
  gap: clamp(56px, 9vw, 136px);
  align-items: end;
  background: var(--pine-950);
}
.service-final h2 { max-width: 13ch; margin: 0 0 26px; color: #fffaf2; font-size: clamp(3.6rem, 6vw, 5.8rem); }
.service-final p { margin: 0; color: #c7d1cd; }
.service-final__actions { display: grid; gap: 18px; align-items: start; }
.service-final__primary {
  min-height: 54px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f6f0e7;
  color: var(--pine-950);
  border: 0;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.service-final__primary:hover { background: #fffaf2; }
.service-final__secondary { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: #f6f0e7; font-weight: 700; }

@media (max-width: 1180px) {
  .service-hero__inner { grid-template-columns: minmax(280px, .68fr) minmax(570px, 1.32fr); gap: 44px; }
  .service-flow { min-height: 540px; padding-inline: 30px; grid-template-columns: minmax(150px, .64fr) minmax(96px, .34fr) minmax(280px, 1.12fr); gap: 22px; }
  .service-object,
  .service-system,
  .service-final { padding-inline: 48px; }
  .service-memorial-proof { grid-template-columns: minmax(250px, .46fr) minmax(540px, 1.1fr); }
}

@media (max-width: 980px) {
  .service-hero__inner,
  .service-section-heading,
  .service-object,
  .service-memorial-proof,
  .service-control,
  .service-decision__intro,
  .service-decision__body,
  .service-faq,
  .service-final { grid-template-columns: 1fr; }
  .service-hero__inner { width: min(100% - 48px, 760px); }
  .service-hero__copy h1 { max-width: 10.5ch; }
  .service-flow { min-height: 590px; }
  .service-section-heading,
  .service-decision__intro { gap: 30px; }
  .service-section-heading > p,
  .service-decision__intro p { margin: 0; }
  .service-journey,
  .service-memorial-proof,
  .service-control,
  .service-decision,
  .service-faq { width: min(100% - 48px, 760px); }
  .service-steps { grid-template-columns: 1fr; gap: 34px; }
  .service-object { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .service-object__media { min-height: 560px; }
  .service-system__pair { grid-template-columns: 1fr; gap: 42px; }
  .service-system__link { width: 1px; height: 70px; justify-self: center; }
  .service-system__link::before { top: 0; left: 50%; transform: translate(-50%, 0) rotate(45deg); }
  .service-system__link::after { top: auto; right: auto; bottom: 0; left: 50%; transform: translate(-50%, 0) rotate(45deg); }
  .service-memorial-proof,
  .service-control,
  .service-faq,
  .service-final { gap: 54px; }
  .service-memorial-proof__intro h2,
  .service-control h2,
  .service-faq h2 { max-width: 12ch; }
  .service-decision__body { gap: 52px; }
}

@media (max-width: 680px) {
  .service-hero { padding-block: 28px 76px; }
  .service-hero__inner,
  .service-journey,
  .service-memorial-proof,
  .service-control,
  .service-decision,
  .service-faq { width: calc(100% - 32px); }
  .service-hero__inner { gap: 0; }
  .service-hero__copy { display: contents; }
  .service-hero__copy > .back-link { order: 1; margin-bottom: 14px; }
  .service-hero__copy h1 { order: 2; max-width: none; margin: 0 0 16px; font-size: clamp(3.05rem, 13.6vw, 4.1rem); }
  .service-hero__copy > p { order: 3; margin-bottom: 26px; font-size: .96rem; }
  .service-hero__actions { order: 5; margin-top: 28px; align-items: stretch; }
  .service-hero__actions .button,
  .service-hero__actions .service-text-link { width: 100%; justify-content: center; text-align: center; }
  .service-flow {
    order: 4;
    min-height: 222px;
    padding: 32px 12px 48px;
    grid-template-columns: 96px 52px minmax(0, 1fr);
    gap: 8px;
  }
  .service-flow__route {
    top: 46%;
    bottom: auto;
    left: 15%;
    right: 10%;
    width: auto;
    height: 1px;
    transform-origin: left center;
    animation-name: service-route-reveal;
  }
  .service-flow__route::after { top: 50%; right: -1px; bottom: auto; left: auto; transform: translate(50%, -50%) rotate(45deg); }
  .service-flow__route span { top: 50%; left: auto; transform: translate(-50%, -50%) rotate(45deg); }
  .service-flow__route span:first-child { left: 31%; }
  .service-flow__route span:last-child { left: 62%; }
  .service-flow__stage { width: 100%; align-self: center; }
  .service-flow__stage > p { margin-top: 9px; font-size: .72rem; }
  .service-flow__stage > p strong { font-size: .68rem; }
  .service-flow__stage > p span { display: none; }
  .service-plaque-frame { width: 96px; box-shadow: 5px 10px 20px rgb(0 0 0 / .38); }
  .service-phone { width: 52px; padding: 10px 3px 4px; border-radius: 8px; box-shadow: 4px 8px 18px rgb(0 0 0 / .34); }
  .service-phone__sensor { top: 5px; width: 16px; height: 2px; }
  .service-browser { width: 100%; }
  .service-browser__bar { min-height: 14px; padding-inline: 5px; gap: 3px; }
  .service-browser__bar span { width: 3px; height: 3px; }
  .service-flow figcaption { left: 12px; bottom: 13px; font-size: .62rem; }
  .service-journey { padding-block: 86px 102px; }
  .service-section-heading h2 { max-width: none; font-size: clamp(3.2rem, 14vw, 4.3rem); }
  .service-steps { margin-top: 58px; }
  .service-object {
    padding: 82px 16px 96px;
    grid-template-columns: 1fr;
    gap: 62px;
  }
  .service-object__media { min-height: 570px; }
  .service-object__media img { width: min(76%, 300px); }
  .service-object__copy { padding-inline: 0; }
  .service-object__copy h2 { max-width: none; font-size: clamp(3.2rem, 14vw, 4.25rem); }
  .service-object__facts div { grid-template-columns: 1fr; gap: 4px; }
  .service-system { padding: 90px 16px 102px; }
  .service-system__pair { margin-top: 62px; }
  .service-memorial-proof { padding-block: 92px 112px; }
  .service-memorial-proof__intro h2,
  .service-control h2,
  .service-decision__intro h2,
  .service-faq h2,
  .service-final h2 { max-width: none; font-size: clamp(3.15rem, 13.5vw, 4.25rem); }
  .service-control { padding-block: 88px 104px; }
  .service-decision { padding-block: 88px 104px; }
  .service-choice dl div { grid-template-columns: 1fr; gap: 4px; }
  .service-choice__sample { grid-template-columns: 82px 1fr; gap: 18px; padding: 18px; }
  .service-choice__sample img { width: 82px; }
  .service-terms { padding: 26px 20px; }
  .service-faq { padding-bottom: 104px; }
  .service-faq summary { min-height: 76px; }
  .service-final { padding: 88px 16px 96px; }
  .service-final__actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .service-flow__route { animation: none; }
}

/* Approved service composition: exact supplied header_ventas.webp asset */
.service-hero {
  position: relative;
  min-height: clamp(510px, 33.5vw, 650px);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: #0a1b18;
}
.service-hero__backplate {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
}
.service-hero__backplate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(5 22 19 / .83) 0%, rgb(5 22 19 / .57) 25%, rgb(5 22 19 / .06) 47%, transparent 69%);
}
.service-hero__backplate picture {
  display: block;
  width: 100%;
  height: 100%;
}
.service-hero__backplate img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.service-hero__inner {
  position: relative;
  z-index: 4;
  width: min(1460px, calc(100% - 96px));
  min-height: inherit;
  margin: 0 auto;
  padding-top: 76px;
  display: flex;
  align-items: center;
}
.service-hero__copy { width: min(38%, 560px); }
.service-hero__copy > .service-hero__category {
  max-width: 38ch;
  margin: 0 0 18px;
  color: #f4eee4;
  font-size: clamp(.72rem, .9vw, .88rem);
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.service-hero__copy h1 {
  max-width: 510px;
  margin: 0;
  color: #fffaf1;
  font-size: clamp(3.3rem, 4.25vw, 4.7rem);
  line-height: .94;
  letter-spacing: -.028em;
  text-shadow: 0 3px 28px rgb(0 0 0 / .3);
}
.service-hero__actions {
  margin-top: clamp(30px, 3vw, 44px);
  display: grid;
  justify-items: start;
  gap: 12px;
}
.service-hero__primary {
  min-width: 266px;
  min-height: 52px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  border-radius: 16px;
  background: #f0b44b;
  color: #172322;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgb(21 24 21 / .24);
}
.service-hero__primary:hover { background: #f6c46b; }
.service-hero__primary span,
.service-hero .service-text-link span { font-size: 1.28rem; font-weight: 400; }
.service-hero .service-text-link {
  min-height: 46px;
  padding: 0 2px;
  gap: 14px;
  color: #fffaf1;
  text-decoration-color: #f0b44b;
}
.service-step__visual--memorial iframe,
.service-live-memorial iframe {
  display: block;
  border: 0;
  transform-origin: top left;
  pointer-events: none;
}

.service-journey {
  width: 100%;
  margin: 0;
  padding: clamp(48px, 5.4vw, 82px) 0 clamp(68px, 7vw, 108px);
  overflow: hidden;
  background: #0d2a25;
  color: #dbe4df;
}
.service-journey__inner { width: min(1440px, calc(100% - 128px)); margin: 0 auto; }
.service-journey__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}
.service-journey__heading h2 {
  max-width: none;
  margin: 0;
  color: #fffaf1;
  font-size: clamp(3.2rem, 4.2vw, 5rem);
}
.service-journey__position {
  width: min(300px, 28vw);
  padding-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  border-top: 1px solid rgb(219 228 223 / .42);
}
.service-journey__position span { width: 10px; height: 10px; border-radius: 50%; background: #758783; }
.service-journey__position span:first-child { background: #f0b44b; }
.service-journey__intro { max-width: 54ch; margin: 18px 0 0; color: #b8c7c2; }
.service-steps {
  margin: clamp(44px, 5vw, 76px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(66px, 6.5vw, 112px);
  list-style: none;
}
.service-steps li {
  position: relative;
  min-width: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 0 22px;
  border: 0;
}
.service-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38%;
  right: calc(clamp(66px, 6.5vw, 112px) * -.72);
  width: clamp(36px, 4vw, 64px);
  height: 5px;
  background: #71837e;
  box-shadow: 0 15px 0 #71837e;
}
.service-step__number {
  grid-column: 1;
  color: #82938e;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 3.6vw, 4.5rem);
  line-height: 1;
}
.service-step__visual {
  grid-column: 2;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  margin: 0;
  overflow: hidden;
  background: #071d19;
}
.service-step__visual img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.service-step__visual--plaque img { object-position: center; }
.service-step__visual--scan img { width: 100%; max-width: none; object-position: center; }
.service-step__visual--memorial iframe {
  width: 500%;
  height: 500%;
  transform: scale(.2);
}
.service-step__copy { grid-column: 2; padding-top: 20px; border-top: 1px solid rgb(219 228 223 / .28); }
.service-step__copy h3 { margin: 0 0 8px; color: #fffaf1; font-size: clamp(1.4rem, 1.8vw, 2rem); }
.service-step__copy p { margin: 0; color: #b8c7c2; font-size: .9rem; }

.service-object {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, .82fr);
  gap: 0;
  background: #d7d0c4;
}
.service-object__media {
  min-height: clamp(620px, 48vw, 780px);
  overflow: hidden;
  background: #28322f;
  box-shadow: none;
}
.service-object__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  box-shadow: none;
}
.service-object__copy {
  position: relative;
  z-index: 1;
  align-self: center;
  margin-left: clamp(-72px, -4vw, -42px);
  padding: clamp(54px, 6vw, 92px);
  background: #e5dfd4;
  box-shadow: 0 28px 70px rgb(47 42 36 / .18);
}
.service-object__copy h2 { font-size: clamp(3.8rem, 5.8vw, 5.9rem); }

.service-memorial-proof__screen { min-width: 0; }
.service-live-memorial {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
  background: #10241f;
}
.service-live-memorial iframe {
  width: 161.3%;
  height: 161.3%;
  transform: scale(.62);
}

@media (max-width: 1060px) {
  .service-hero { min-height: 670px; }
  .service-hero__inner { width: min(100% - 48px, 900px); }
  .service-hero__copy { width: min(48%, 470px); }
  .service-hero__copy h1 { font-size: clamp(3.4rem, 6vw, 4.8rem); }
  .service-hero__backplate img { object-position: 55% center; }
  .service-journey__inner { width: min(100% - 48px, 900px); }
  .service-steps { gap: 48px; }
  .service-steps li { grid-template-columns: 42px minmax(0, 1fr); gap: 0 14px; }
  .service-steps li:not(:last-child)::after { display: none; }
  .service-object { grid-template-columns: 1fr 1fr; }
  .service-object__copy { margin-left: -30px; padding: 48px; }
}

@media (max-width: 720px) {
  .service-hero { min-height: 920px; }
  .service-hero__backplate::after {
    background: linear-gradient(180deg, rgb(4 19 16 / .92) 0%, rgb(4 19 16 / .78) 46%, rgb(4 19 16 / .32) 67%, rgb(4 19 16 / .76) 100%);
  }
  .service-hero__backplate img { object-position: center; }
  .service-hero__inner { width: calc(100% - 32px); align-items: flex-start; padding-top: 112px; }
  .service-hero__copy { display: block; width: 100%; }
  .service-hero__copy > .service-hero__category { max-width: 32ch; margin-bottom: 14px; color: #f4eee4; font-size: .68rem; }
  .service-hero__copy h1 { max-width: 330px; font-size: clamp(3.2rem, 14vw, 4.2rem); }
  .service-hero__actions { margin-top: 28px; }
  .service-hero__primary { min-width: min(100%, 288px); }
  .service-journey { padding-block: 76px 92px; }
  .service-journey__inner { width: calc(100% - 32px); }
  .service-journey__heading { display: block; }
  .service-journey__heading h2 { font-size: clamp(3.5rem, 14vw, 4.6rem); }
  .service-journey__position { width: 180px; margin-top: 30px; }
  .service-steps { grid-template-columns: 1fr; gap: 64px; }
  .service-steps li { grid-template-columns: 48px minmax(0, 1fr); gap: 0 16px; }
  .service-step__visual { aspect-ratio: 1.42 / 1; }
  .service-object { grid-template-columns: 1fr; }
  .service-object__media { min-height: 560px; }
  .service-object__media img { object-position: center; }
  .service-object__copy { margin: -38px 16px 0; padding: 44px 26px 62px; }
  .service-object__copy h2 { font-size: clamp(3.25rem, 14vw, 4.4rem); }
  .service-live-memorial { aspect-ratio: 1.25 / 1; }
  .service-live-memorial iframe { width: 370.4%; height: 370.4%; transform: scale(.27); }
}

.page { width: var(--page); min-height: 62vh; margin: 0 auto; padding: 58px 0 110px; }
.page--narrow { max-width: 860px; }
.page--family { padding-top: 44px; }
.page-intro { margin: 48px 0 72px; }
.page-intro h1 { max-width: 13ch; margin-bottom: 28px; font-size: clamp(3rem, 6vw, 5.6rem); }
.lead { max-width: 61ch; font-size: clamp(1.12rem, 1.7vw, 1.32rem); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

.service-layout, .review-layout, .editor-layout, .family-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(290px, .55fr); gap: clamp(48px, 8vw, 110px); align-items: start; }
.service-chapters > section { padding: 0 0 64px; margin-bottom: 60px; border-bottom: 1px solid var(--line); }
.service-chapters > section:last-child { border-bottom: 0; }
.service-chapters h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.plain-list { padding-left: 1.25rem; }
.plain-list li { margin: 9px 0; }
.material-summary, .visitor-state {
  position: sticky;
  top: 110px;
  padding: 30px 28px;
  background: var(--paper-cool);
  border-top: 3px solid var(--pine-900);
}
.material-summary h2, .visitor-state h2 { font-size: 1.8rem; line-height: 1.08; }
.term-pairs, .summary-list { margin: 0; }
.term-pairs div, .summary-list div { padding: 16px 0; border-top: 1px solid var(--line); }
.term-pairs dt, .summary-list dt { color: var(--muted); font-size: .86rem; font-weight: 700; }
.term-pairs dd, .summary-list dd { margin: 4px 0 0; color: var(--pine-950); font-weight: 600; }
.summary-list div { display: grid; grid-template-columns: minmax(140px, .4fr) 1fr; gap: 24px; }
.placeholder-value { color: var(--rust) !important; }
.pending-note, .privacy-note { padding: 17px 19px; background: #eee0cf; border-top: 2px solid var(--amber); }

.form-panel { padding: 34px 0; border-top: 2px solid var(--pine-900); border-bottom: 1px solid var(--line); }
.field { margin-bottom: 28px; }
.field label { display: block; margin-bottom: 7px; color: var(--pine-950); font-weight: 720; }
.field-hint { margin: -2px 0 8px; color: var(--muted); font-size: .9rem; }
.field-error { color: var(--error); font-weight: 700; }
input, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
}
textarea { min-height: 210px; resize: vertical; }
input[readonly] { background: var(--paper-cool); color: var(--muted); }
.checkbox-row { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; margin: 28px 0; font-weight: 650; }
.checkbox-row input { width: 22px; min-height: 22px; margin: 4px 0 0; accent-color: var(--pine-900); }
.section-block { margin: 0 0 58px; padding: 0 0 48px; border-bottom: 1px solid var(--line); }
.section-block h2 { font-size: 2rem; }

.status-page { display: grid; place-items: center; }
.status-panel { width: 100%; padding: clamp(40px, 7vw, 80px); background: var(--paper-warm); border-top: 5px solid var(--success); }
.status-panel h1 { margin: 26px 0; font-size: clamp(2.8rem, 6vw, 5.2rem); }
.status-mark { display: block; width: 52px; height: 52px; background: var(--success); clip-path: polygon(0 55%, 14% 39%, 40% 62%, 84% 12%, 100% 27%, 42% 94%); }
.status-mark--waiting { background: var(--amber); clip-path: polygon(42% 0, 58% 0, 58% 42%, 91% 61%, 83% 75%, 42% 52%); }
.status-line { margin: 32px 0 6px; font-size: 1.2rem; color: var(--pine-900); }

.family-context { width: 100%; min-height: 48px; padding: 8px max(24px, calc((100% - min(1180px, calc(100% - 48px))) / 2)); display: flex; align-items: center; gap: 18px; background: var(--pine-900); color: var(--paper); font-size: .87rem; }
.status-badge { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.status-badge .icon { width: 17px; height: 17px; }
.private-banner { display: flex; gap: 14px; margin-bottom: 48px; padding: 18px 20px; background: var(--paper-cool); border-top: 2px solid var(--pine-900); }
.private-banner span { display: block; color: var(--muted); }
.memorial-heading { margin-bottom: 54px; }
.memorial-heading h1 { max-width: none; margin-bottom: 12px; font-size: clamp(3rem, 6vw, 5.8rem); }
.memorial-cover { height: 280px; margin-bottom: 52px; display: grid; place-items: center; background: var(--paper-warm); border: 1px solid var(--line); }
.memorial-cover span { font-family: var(--font-editorial-accent); font-size: 5rem; color: var(--mist-700); }
.task-list { margin: 0; padding: 0; list-style: none; }
.task-list li { display: grid; grid-template-columns: 42px 1fr auto; gap: 18px; align-items: start; padding: 23px 0; border-top: 1px solid var(--line); }
.task-list li > span:first-child { font-family: var(--font-editorial-accent); font-size: 2rem; color: var(--amber); }
.task-list li p { margin: 4px 0 0; }
.task-list li a { min-height: 44px; font-weight: 700; }
.visitor-state__answer { margin: 22px 0 10px; font-family: var(--font-editorial-accent); font-size: 2.1rem; color: var(--pine-900); }

.page-toolbar { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; margin: 0 0 52px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.page-toolbar h1 { max-width: none; margin: 0 0 8px; font-size: clamp(2.7rem, 5vw, 4.8rem); }
.page-toolbar p { margin: 0; }
.save-status { padding: 10px 14px; border-bottom: 2px solid var(--line-strong); background: var(--paper-cool); font-size: .9rem; font-weight: 700; }
.save-status[data-state="dirty"], .save-status[data-state="error"] { border-color: var(--amber); }
.save-status[data-state="saved"] { border-color: var(--success); }
.editor-section { margin-bottom: 48px; padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.editor-section h2 { font-size: 2.2rem; }
.photo-readiness__choices { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0; }
.photo-readiness__choices button { min-height: 44px; padding: 9px 14px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.photo-readiness__choices button[aria-pressed="true"] { background: var(--pine-900); color: var(--white); }
.photo-readiness__choices button:focus-visible { outline: 3px solid var(--pine-900); outline-offset: 3px; }
.photo-readiness__previews { display: flex; flex-wrap: wrap; gap: 9px; margin: -2px 0 16px; }
.photo-readiness__previews img { display: block; width: 92px; height: 70px; object-fit: cover; border: 1px solid var(--line-strong); }
.photo-readiness__result { max-width: 56ch; margin: 0; color: var(--ink); line-height: 1.55; }
.photo-readiness__review { margin-top: 18px; }
.unsaved-guard, .saved-moment, .preview-end { margin-bottom: 40px; padding: 24px 26px; border-top: 2px solid var(--amber); background: var(--paper-warm); }
.unsaved-guard h2, .saved-moment h2, .preview-end h2 { font-size: 2rem; }
.saved-moment { margin-top: 38px; border-color: var(--success); }
.preview-frame { min-height: 500px; padding: clamp(40px, 8vw, 100px); background: var(--white); border: 1px solid var(--line); text-align: center; }
.preview-frame h2 { max-width: none; margin: 70px auto 10px; font-size: clamp(3.2rem, 7vw, 6rem); }
.preview-frame > p { margin-inline: auto; }
.preview-frame__notice { padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.preview-placeholder { max-width: 520px; margin: 60px auto 0; padding: 30px; border: 1px dashed var(--line-strong); color: var(--muted); }
.preview-end { margin-top: 32px; }

body[data-surface="memorial-public"] { background: #f4f1ea; }

.public-memorial {
  --memorial-paper: #f4f1ea;
  --memorial-ink: #18302b;
  --memorial-muted: #5f625f;
  --memorial-line: #c7975f;
  --memorial-night: #10241f;
  --memorial-light: #f5f1e8;
  --memorial-light-muted: #c9cec7;
  min-height: 100svh;
  overflow: clip;
  background: var(--memorial-paper);
  color: var(--memorial-ink);
}

.public-memorial__stage {
  position: relative;
  height: clamp(620px, 66svh, 700px);
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: var(--memorial-night);
}

.public-memorial__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(16 36 31 / .98) 0%, rgb(16 36 31 / .92) 30%, rgb(16 36 31 / .58) 56%, rgb(16 36 31 / .24) 100%),
    linear-gradient(0deg, rgb(7 20 17 / .3), rgb(7 20 17 / .08) 52%, rgb(7 20 17 / .18));
}

.public-memorial__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  background: #1c322b;
}

.public-memorial__backdrop img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(.72) contrast(.9) brightness(.62);
}

.public-memorial__rays {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .4;
  mix-blend-mode: screen;
}

.public-memorial__masthead,
.public-memorial__opening {
  position: relative;
  z-index: 3;
}

.public-memorial__masthead {
  width: min(100%, 1720px);
  min-height: 74px;
  margin: 0 auto;
  padding-inline: clamp(24px, 3.7vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.public-memorial__masthead p {
  margin: 0;
  color: var(--memorial-light-muted);
  font-size: .9rem;
  letter-spacing: .035em;
}

.public-memorial__brand {
  display: inline-flex;
  align-items: center;
  color: var(--memorial-light);
  font-family: var(--font-brand);
  font-size: 1.65rem;
  line-height: 1;
  text-decoration: none;
}

.public-memorial__opening {
  width: min(100%, 1720px);
  height: calc(100% - 74px);
  min-height: 0;
  margin: 0 auto;
  padding-inline: clamp(24px, 3.7vw, 64px);
  display: flex;
  align-items: stretch;
}

.public-memorial__identity {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: min(47%, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  padding: clamp(52px, 8vh, 92px) clamp(28px, 3.2vw, 54px) clamp(56px, 8vh, 88px) clamp(16px, 2vw, 34px);
}

.public-memorial__identity h1 {
  max-width: none;
  margin: 0;
  color: var(--memorial-light);
  font-size: clamp(7.25rem, 11.4vw, 11rem);
  line-height: .72;
  letter-spacing: -.03em;
  text-wrap: initial;
}

.public-memorial__identity h1 span { display: block; }

.public-memorial__dates {
  margin: clamp(24px, 3.4vh, 34px) 0 0;
  display: flex;
  gap: .5em;
  color: var(--memorial-light-muted);
  font-size: 1.05rem;
  letter-spacing: .13em;
}

.public-memorial__voice {
  position: relative;
  max-width: 31ch;
  margin: clamp(30px, 5vh, 48px) 0 0;
  padding-top: 26px;
  color: var(--memorial-light);
  font-size: clamp(1.05rem, 1.35vw, 1.32rem);
  line-height: 1.48;
}

.public-memorial__voice::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 64px;
  height: 2px;
  background: var(--memorial-line);
}

.public-memorial__portrait {
  position: absolute;
  inset: 8px clamp(26px, 5vw, 86px) -20px auto;
  z-index: 1;
  width: clamp(470px, 42vw, 620px);
  margin: 0;
  overflow: hidden;
  background: #b8b7ac;
  -webkit-mask-image: radial-gradient(ellipse 62% 57% at 50% 57%, #000 0 98%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 57% at 50% 57%, #000 0 98%, transparent 100%);
}

.public-memorial__portrait img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--portrait-focus-x, 50%) var(--portrait-focus-y, 44%);
  filter: saturate(.82) contrast(.95) brightness(.9);
}

.public-memorial__story {
  width: min(100%, 1720px);
  margin: 0 auto;
  padding: clamp(32px, 2.8vw, 44px) clamp(24px, 3.7vw, 64px) clamp(96px, 12vw, 168px);
  display: grid;
  grid-template-columns: minmax(300px, 34%) minmax(0, 1fr);
  border-top: 1px solid rgb(24 48 43 / .2);
}

.public-memorial__story h2 {
  max-width: none;
  margin: 0;
  color: var(--memorial-ink);
  font-size: clamp(3.2rem, 4.6vw, 5rem);
}

.public-memorial__story p {
  max-width: 55ch;
  margin: .45rem 0 0 clamp(28px, 3.2vw, 54px);
  color: var(--memorial-ink);
  font-size: clamp(1.08rem, 1.35vw, 1.3rem);
  line-height: 1.62;
}

.person-row { min-height: 82px; display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.person-row__avatar { width: 48px; height: 48px; display: grid; place-items: center; background: var(--pine-900); color: var(--white); font-family: var(--font-editorial-accent); font-weight: 400; }
.person-row div span { display: block; color: var(--muted); font-size: .9rem; }
.help-list section { padding: 34px 0; border-top: 1px solid var(--line); }
.help-list h2 { font-size: 2rem; }

.site-footer { width: var(--page); margin: 0 auto; padding: 54px 0 70px; display: flex; justify-content: space-between; gap: 40px; border-top: 1px solid var(--line-strong); color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer strong { font-family: var(--font-brand); font-size: 1.5rem; font-weight: 400; color: var(--pine-950); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px 24px; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 1060px) {
  .public-nav, .family-nav, .family-tools { display: none; }
  .menu-button { display: block; }
  .home-hero__reading { width: min(100% - 64px, 900px); }
  .home-hero h1 { width: 100%; max-width: none; font-size: clamp(3.45rem, 7.2vw, 5.1rem); }
  .public-memorial__identity { width: min(52%, 600px); }
  .public-memorial__identity h1 { font-size: clamp(6.2rem, 11vw, 8rem); }
  .public-memorial__portrait { width: clamp(430px, 47vw, 540px); right: 12px; }
}

@media (max-width: 820px) {
  :root { --page: min(100% - 36px, 680px); --review-bar-height: 42px; }
  .review-bar__inner { min-height: 42px; }
  .review-bar__inner > p { max-width: 70%; }
  .home-hero { min-height: max(calc(100svh - var(--review-bar-height)), 718px); }
  .home-hero::before {
    background:
      linear-gradient(180deg, rgb(13 7 4 / .4) 0%, rgb(13 7 4 / .18) 34%, rgb(13 7 4 / .78) 70%, rgb(13 7 4 / .94) 100%),
      linear-gradient(270deg, rgb(13 7 4 / .48) 0%, rgb(13 7 4 / .08) 100%);
  }
  .home-hero__photo img { object-position: 46% center; }
  .home-hero__reading {
    width: min(100% - 40px, 680px);
    padding: 132px 0 36px;
  }
  .home-hero h1 { width: 100%; max-width: none; font-size: clamp(3rem, 10vw, 4.6rem); line-height: .96; }
  .home-hero__lead { max-width: 58ch; }
  .home-fragments { padding-block: 104px 124px; }
  .home-fragments__inner { width: min(100% - 40px, 680px); grid-template-columns: 1fr; }
  .home-fragments__narrative,
  .home-fragments__figure,
  .home-fragments__service-intro { grid-column: 1; grid-row: auto; }
  .home-fragments h2 { max-width: 12ch; font-size: clamp(3.6rem, 11.5vw, 5.3rem); }
  .home-fragments__gathering { margin-top: 30px; }
  .home-fragments__figure { width: min(88%, 520px); margin: 68px 0 0 auto; }
  .home-fragments__service-intro { max-width: 23ch; margin-top: 76px; }
  .home-product { padding-block: 98px 118px; }
  .home-product__inner { width: min(100% - 40px, 680px); grid-template-columns: 1fr; row-gap: 62px; }
  .home-product__intro { grid-column: 1; display: block; }
  .home-product__intro h2 { max-width: 13ch; font-size: clamp(3.4rem, 10.5vw, 4.8rem); }
  .home-product__intro > p { max-width: 52ch; margin-top: 28px; }
  .memorial-sample, .home-product__details { grid-column: 1; }
  .memorial-sample__portrait { min-height: min(72vw, 520px); }
  .home-final { min-height: auto; }
  .home-final__inner { width: min(100% - 40px, 680px); display: block; padding-block: 104px 116px; }
  .home-final h2 { max-width: 12ch; }
  .home-final__decision { margin-top: 64px; }
  .service-layout, .review-layout, .editor-layout, .family-layout { grid-template-columns: 1fr; }
  .public-memorial__masthead { min-height: 64px; padding-inline: 20px; }
  .public-memorial__stage { height: 760px; min-height: 760px; }
  .public-memorial__stage::after {
    background:
      linear-gradient(180deg, rgb(16 36 31 / .98) 0%, rgb(16 36 31 / .92) 39%, rgb(16 36 31 / .42) 63%, rgb(16 36 31 / .2) 100%),
      linear-gradient(90deg, rgb(16 36 31 / .74) 0%, transparent 100%);
  }
  .public-memorial__backdrop img { object-position: 58% center; filter: saturate(.68) contrast(.92) brightness(.56); }
  .public-memorial__rays { opacity: .34; }
  .public-memorial__opening {
    height: calc(100% - 64px);
    min-height: 0;
    padding-inline: 20px;
    display: block;
  }
  .public-memorial__identity {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 42px 0 38px;
  }
  .public-memorial__identity h1 { font-size: clamp(4.7rem, 19vw, 6.2rem); }
  .public-memorial__voice { max-width: 34ch; margin-top: 28px; padding-top: 22px; }
  .public-memorial__portrait {
    inset: auto -24px -12px auto;
    width: min(92vw, 520px);
    height: 400px;
    transform: none;
    -webkit-mask-image: radial-gradient(ellipse 61% 58% at 50% 58%, #000 0 98%, transparent 100%);
    mask-image: radial-gradient(ellipse 61% 58% at 50% 58%, #000 0 98%, transparent 100%);
  }
  .public-memorial__portrait img { object-position: var(--portrait-focus-x, 50%) var(--portrait-focus-y, 44%); }
  .public-memorial__story {
    padding: 42px 20px 104px;
    grid-template-columns: 1fr;
  }
  .public-memorial__story p { margin: 28px 0 0; }
  .material-summary, .visitor-state { position: static; }
  .page-toolbar { flex-direction: column; }
  .site-footer { flex-direction: column; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 560px) {
  :root { --page: calc(100% - 28px); --review-bar-height: 55px; }
  body { font-size: .98rem; }
  h1 { font-size: clamp(3rem, 14vw, 3.8rem); }
  h2 { font-size: clamp(2rem, 11vw, 3.2rem); }
  .review-bar__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: flex-start; gap: 8px; padding-block: 7px; }
  .review-bar__inner > p { min-width: 0; max-width: none; line-height: 1.3; }
  .review-bar details { min-width: 0; }
  .review-bar summary { max-width: 10ch; min-height: 28px; justify-content: flex-end; text-align: right; overflow-wrap: anywhere; }
  .review-controls { position: fixed; top: 52px; right: 14px; left: 14px; width: auto; }
  .site-header__inner { min-height: 66px; }
  .home-hero { min-height: max(calc(100svh - var(--review-bar-height)), 718px); }
  .home-hero__reading { width: calc(100% - 32px); padding-top: 122px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .home-hero__context { margin-bottom: 15px; font-size: .68rem; letter-spacing: .1em; }
  .home-hero h1 { width: 100%; max-width: none; margin-bottom: 18px; font-size: clamp(2.55rem, 12.5vw, 3.45rem); line-height: .96; letter-spacing: -.024em; }
  .home-hero__lead { margin-bottom: 14px; font-size: .96rem; line-height: 1.46; }
  .home-hero__promise { margin-bottom: 19px; font-size: 1.22rem; }
  .home-hero__route { font-size: .94rem; }
  .action-row { align-items: stretch; }
  .action-row .button { width: 100%; }
  .home-fragments { padding-block: 82px 96px; }
  .home-fragments__inner { width: calc(100% - 32px); }
  .home-fragments h2 { max-width: none; font-size: clamp(3.25rem, 15.2vw, 4.15rem); line-height: .95; }
  .home-fragments__gathering { margin-top: 24px; font-size: 1rem; line-height: 1.58; }
  .home-fragments__figure { width: calc(100% - 30px); margin-top: 52px; }
  .home-fragments__service-intro { margin-top: 62px; padding-top: 24px; font-size: clamp(2rem, 10vw, 2.65rem); }
  .home-product { padding-block: 80px 96px; }
  .home-product__inner { width: calc(100% - 32px); row-gap: 48px; }
  .home-product__intro h2 { max-width: none; font-size: clamp(3rem, 14vw, 4rem); }
  .home-product__intro > p { margin-top: 22px; font-size: 1rem; }
  .memorial-sample__bar { min-height: 52px; padding-inline: 16px; }
  .memorial-sample__bar > span:last-child { max-width: 12ch; text-align: right; line-height: 1.25; }
  .memorial-sample__portrait { min-height: 92vw; }
  .memorial-sample__identity { padding: 24px; }
  .memorial-sample__identity h3 { font-size: clamp(3rem, 16vw, 4.2rem); }
  .memorial-sample__story { padding: 24px 20px 28px; }
  .memorial-sample__story > p:not(.memorial-sample__label) { font-size: 1.45rem; }
  .memorial-sample__story ul { gap: 7px 16px; }
  .product-features li { padding-left: 42px; }
  .home-product__sample-link { width: 100%; justify-content: flex-start; }
  .home-final__inner { width: calc(100% - 32px); padding-block: 84px 92px; }
  .home-final h2 { max-width: none; font-size: clamp(3.2rem, 15vw, 4.15rem); }
  .home-final__decision { margin-top: 50px; }
  .home-final__actions { align-items: stretch; }
  .home-final__primary, .home-final__secondary { width: 100%; }
  .page { padding-top: 38px; }
  .page-intro { margin: 34px 0 54px; }
  .page-intro h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .journey-progress__inner { display: block; padding: 10px 0 12px; }
  .journey-progress__label { margin-bottom: 5px; }
  .journey-progress li { font-size: .7rem; }
  .family-context { padding-inline: 14px; flex-wrap: wrap; gap: 7px 13px; }
  .family-context > span:last-child { flex-basis: 100%; }
  .task-list li { grid-template-columns: 34px 1fr; }
  .task-list li a { grid-column: 2; }
  .summary-list div { grid-template-columns: 1fr; gap: 4px; }
  .preview-frame { min-height: 420px; padding: 34px 20px; }
  .person-row { grid-template-columns: 48px 1fr; }
  .person-row > span:last-child { grid-column: 2; }
  .site-footer nav { display: grid; justify-items: start; }
  .public-memorial__masthead p { max-width: 12ch; text-align: right; line-height: 1.25; }
  .public-memorial__brand { font-size: 1.5rem; }
  .public-memorial__stage { height: 720px; min-height: 720px; }
  .public-memorial__identity { padding-block: 24px 22px; }
  .public-memorial__identity h1 { font-size: clamp(4.45rem, 20vw, 5.25rem); line-height: .78; }
  .public-memorial__dates { margin-top: 22px; font-size: .96rem; }
  .public-memorial__voice { margin-top: 24px; padding-top: 19px; font-size: 1.04rem; }
  .public-memorial__portrait { inset: auto -8px -8px auto; width: 390px; height: 360px; }
  .public-memorial__story { padding-top: 36px; }
  .public-memorial__story h2 { font-size: clamp(3.4rem, 15vw, 4.25rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
