/* Lower homepage only: the approved full-screen journey keeps its own layout. */
body[data-page="scroll"] .after-dedications,
body[data-page="scroll"] .memorial-footer {
  --after-paper: #eae7e1;
  --after-panel: #ded9d0;
  --after-ink: #1f2327;
  --after-muted: #54575a;
  --after-gold: #b98a4a;
  background: var(--after-paper);
  color: var(--after-ink);
}
body[data-page="scroll"] .after-dedications { padding: 0 clamp(20px, 4.5vw, 80px); }
body[data-page="scroll"] .after-section {
  display: block;
  max-width: 1360px;
  padding: clamp(72px, 8vw, 128px) 0 0;
  border: 0;
}
.after-dedications .after-heading { text-align: center; max-width: 1000px; margin: 0 auto 56px; }
.after-dedications .after-heading > .eyebrow { max-width: none; }
.after-dedications .eyebrow { color: #9d332e; font-size: .78rem; letter-spacing: .045em; text-transform: none; margin: 0 0 20px; }
body[data-page="scroll"] .after-section h2,
body[data-page="scroll"] .after-section h3 {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.13;
  text-wrap: wrap;
}
body[data-page="scroll"] .after-section h2,
body[data-page="scroll"] .interactive-copy h3 { font-size: clamp(32px, 4vw, 58px); }
.after-dedications .after-heading h2 span { color: var(--after-muted); }
.remembrance-panel { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 36px; overflow: hidden; background: var(--after-panel); }
.remembrance-image { position: relative; margin: 0; min-height: 540px; overflow: hidden; }
.remembrance-image img { display: block; width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 69% center; }
.remembrance-image figcaption { position: absolute; bottom: 22px; left: 24px; right: 24px; padding: 12px 16px; border-radius: 12px; background: #0f1114dc; color: #eae7e1; font-size: .72rem; line-height: 1.5; }
.remembrance-copy { padding: clamp(32px, 4vw, 68px); align-self: center; }
body[data-page="scroll"] .remembrance-copy h3 { font-size: clamp(27px, 2.8vw, 40px); margin: 0 0 26px; }
.remembrance-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.75; color: var(--after-muted); max-width: none; margin: 0 0 18px; }
.after-dedications .memorial-pill { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 54px; padding: 14px 24px; border-radius: 999px; background: var(--after-gold); color: #000; text-decoration: none; font-size: .87rem; font-weight: 600; line-height: 1.5; margin-top: 16px; transition: background .2s, transform .2s; }
.after-dedications .memorial-pill span { font-size: 1.2rem; line-height: 1; }
.after-dedications .memorial-pill:hover { background: #cda164; transform: translateY(-2px); }
.after-dedications .memorial-pill:active { transform: translateY(0); }
.after-dedications a:focus-visible,
.after-dedications summary:focus-visible { outline: 3px solid #765020; outline-offset: 5px; }
.interactive-panel { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; background: #0f1114; color: #eae7e1; border-radius: 36px; overflow: hidden; }
.interactive-copy { padding: clamp(36px, 4.5vw, 76px); padding-right: 20px; }
.interactive-copy .eyebrow { color: #d5ae77; }
.interactive-copy > p:not(.eyebrow) { color: #c7c5c0; font-size: 1rem; line-height: 1.75; max-width: none; margin: 24px 0 0; }
.interactive-copy > .interactive-caption { font-size: .74rem!important; margin-top: 20px!important; max-width: none!important; }
.interactive-image { margin: 0; min-width: 0; }
.interactive-image img { display: block; width: 100%; height: 570px; object-fit: cover; object-position: 53% center; }
.memorial-guide { max-width: 1040px; margin: clamp(72px, 8vw, 116px) auto 0; padding-bottom: clamp(72px, 8vw, 116px); }
.journey-interlude > .memorial-guide { margin: 0 auto; padding-bottom: 0; }
body[data-page="scroll"] .memorial-guide h3 { font-size: clamp(28px, 3vw, 42px); }
.memorial-guide .after-heading { max-width: none; margin-bottom: 22px; }
.memorial-guide .after-heading > p:not(.eyebrow) { margin: 14px 0 0; color: var(--after-muted); font-size: 1rem; line-height: 1.65; }
.faq-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 28px; }
.faq-tabs [role="tab"] { min-height: 44px; padding: 0 16px; border: 1px solid #2a2438; border-radius: 999px; background: transparent; color: #17141f; font: 500 .88rem/1.2 "Montserrat", "Segoe UI", sans-serif; cursor: pointer; }
.faq-tabs [role="tab"][aria-selected="true"] { background: #17141f; border-color: #17141f; color: #f7f4ef; }
.faq-tabs [role="tab"]:hover { border-color: #79511f; }
.faq-tabs [role="tab"]:focus-visible { outline: 3px solid #79511f; outline-offset: 3px; }
.faq-panel-title { margin: 0 0 14px; text-align: center; font-size: 1.05rem; }
.faq-panel-note { margin: 0 0 18px; text-align: center; }
.faq-panel-note[hidden] { display: none; }
.faq-ready .faq-panel-title { display: none; }
.faq-panel + .faq-panel { margin-top: 28px; }
.faq-ready .faq-panel + .faq-panel { margin-top: 0; }
.guide-questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px 16px; }
.guide-questions:has(.guide-column) { gap: 0 16px; }
.guide-column { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.guide-questions details { background: var(--after-panel); border-radius: 19px; }
.guide-questions summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; padding: 20px 24px; list-style: none; font-size: .94rem; line-height: 1.6; font-weight: 500; border-radius: inherit; }
.guide-questions summary::-webkit-details-marker { display: none; }
.guide-questions summary > span { font-size: 1.4rem; font-weight: 400; flex: none; transition: transform .2s; }
.guide-questions details[open] summary > span { transform: rotate(180deg); }
.guide-questions details > div { padding: 0 24px 22px; color: var(--after-muted); font-size: .92rem; line-height: 1.8; }
.guide-questions p + p { margin-top: 12px; }
.guide-questions a { display: inline-block; padding: 8px 0; margin-top: 8px; color: var(--after-ink); font-weight: 500; }
body[data-page="scroll"] .memorial-footer { position: relative; z-index: 4; display: block; width: 100%; margin: 0; padding: 0 clamp(16px, 2.3vw, 42px) 120px; border: 0; }
.memorial-footer-panel { --footer-pad: clamp(36px, 4.2vw, 64px); max-width: 1760px; margin: auto; padding: clamp(16px, 1.6vw, 22px) var(--footer-pad) 0; border-radius: 42px; background: #0f1114; color: #eae7e1; overflow: hidden; }
.footer-brand { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); margin-bottom: clamp(22px, 2.6vw, 32px); }
.footer-brand::before, .footer-brand::after { content: ""; flex: 1 1 auto; height: 1px; background: #c9a56a; }
.memorial-footer .footer-logo { display: block; width: max-content; max-width: min(320px, 46vw); margin: 0; --logo-height: 86px; }
.memorial-footer .footer-logo .logo-window { width: min(320px, 46vw, calc(var(--logo-height) * var(--logo-aspect))); margin-inline: auto; }
.memorial-footer .footer-logo img { display: block; width: 100%; height: auto; object-position: center; }
.footer-columns, .footer-meta { display: grid; grid-template-columns: 1fr 1fr; }
.footer-identity { min-width: 0; padding-right: clamp(24px, 3vw, 48px); border-right: 0; background-image: linear-gradient(#c9a56a, #c9a56a); background-size: 1px 100%; background-position: right center; background-repeat: no-repeat; }
.footer-identity > p { margin: 0; font-size: .95rem; font-weight: 500; line-height: 1.55; color: #f4f1ea; }
.footer-identity > p + p { margin-top: 12px; }
.footer-links { display: grid; grid-template-columns: repeat(3, max-content); justify-content: start; align-items: start; column-gap: clamp(28px, 3vw, 56px); row-gap: 2px; margin-top: 28px; padding: 0; }
.memorial-footer .footer-links h2 { grid-column: 1 / -1; margin: 0 0 8px; font-family: "Montserrat", "Segoe UI", sans-serif; font-size: .95rem; font-weight: 500; letter-spacing: 0; color: #c9a56a; }
.footer-tribute { min-width: 0; margin: 0; padding-left: clamp(24px, 3vw, 48px); text-align: center; font-family: "Montserrat", "Segoe UI", sans-serif; }
.footer-tribute p { max-width: 42ch; margin: 0 auto; font-family: inherit; font-size: .95rem; font-weight: 400; line-height: 1.55; color: #e7e3da; }
.footer-tribute p + p { margin-top: 16px; }
.footer-tribute p.footer-tribute-lead { font-size: clamp(1.05rem, 1.3vw, 1.22rem); font-weight: 600; line-height: 1.4; color: #f6f2ea; }
.footer-tribute p.footer-tribute-sign { max-width: none; font-size: 1rem; font-weight: 500; color: #c9a56a; }
.footer-links a, .footer-links button { display: inline-flex; gap: 10px; align-items: center; justify-content: flex-start; justify-self: start; min-height: 36px; font-size: .95rem; line-height: 1.4; color: #f4f1ea; text-decoration: none; }
.footer-link-icon { width: 16px; height: 16px; flex: none; fill: none; stroke: #c9a56a; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-links button { padding: 0; border: 0; background: transparent; font-family: inherit; font-size: .95rem; font-weight: inherit; line-height: 1.4; text-align: left; cursor: pointer; }
.memorial-footer .footer-links button:hover { background: transparent; border-color: transparent; }
.memorial-footer a:hover, .memorial-footer .footer-links button:hover { color: #d5af77; }
.memorial-footer a:focus-visible { outline: 2px solid #d5af77; outline-offset: 5px; border-radius: 3px; }
.footer-home { display: inline-flex; align-items: flex-end; gap: .45em; min-height: 0; color: #c9a56a; font-size: .84rem; line-height: 1; }
.footer-home a { color: inherit; text-decoration: none; }
.footer-makers { display: inline-flex; align-items: flex-end; gap: .35em; color: #b7b6b2; line-height: 1; text-decoration: none; }
.footer-home a.footer-makers { color: #b7b6b2; text-decoration: none; }
.memorial-footer a.footer-makers:hover,
.memorial-footer a.footer-makers:focus-visible { color: #d5ae77; text-decoration: none; }
.footer-makers img { display: block; height: 14px; width: auto; flex: none; }
.footer-meta { position: relative; z-index: 1; align-items: end; margin-top: 28px; padding-top: 16px; border-top: 0; background-image: linear-gradient(#c9a56a, #c9a56a); background-size: 100% 1px; background-position: top center; background-repeat: no-repeat; }
.footer-note { display: flex; align-items: flex-end; justify-content: flex-end; gap: 10px 28px; flex-wrap: wrap; min-width: 0; color: #b7b6b2; }
.footer-note p { font-size: .72rem; line-height: 1; margin: 0; }
.footer-policies { display: flex; align-items: flex-end; justify-content: flex-end; gap: 10px; flex: none; flex-wrap: wrap; min-width: 0; max-width: 100%; }
.footer-policies button { display: inline; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font-family: inherit; font-size: .72rem; font-weight: inherit; line-height: 1; min-height: 0; white-space: normal; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-policies a { color: inherit; font-size: .72rem; line-height: 1.55; text-decoration: underline; text-underline-offset: 3px; }
.footer-policies button:hover, .footer-policies a:hover { color: #d5af77; }
.policy-dialog { position: relative; width: min(640px, calc(100vw - 32px)); max-height: min(760px, calc(100dvh - 48px)); margin: auto; padding: 0; border: 1px solid #c9a56a66; border-radius: 8px; background: #101318; color: #eae7e1; box-shadow: 0 28px 70px #000000c0; }
.policy-dialog:not([open]) { display: none; }
.policy-dialog[open] { display: flex; }
.policy-dialog::backdrop { background: #07080acc; }
.policy-sheet { position: relative; box-sizing: border-box; min-height: 0; overflow: auto; padding: 28px 58px 32px 28px; }
.policy-kicker { margin: 0; font-family: "Montserrat", "Segoe UI", sans-serif; font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #d5ae77; }
.policy-dialog h2 { margin: 8px 0 18px; font-family: "Cinzel", Georgia, serif; font-size: 1.55rem; font-weight: 400; letter-spacing: -.02em; }
.policy-dialog h3 { margin: 28px 0 14px; color: #eae7e1; padding-bottom: 8px; border-bottom: 1px solid #d5ae77; }
.policy-sheet p:not(.policy-kicker) { margin: 0 0 14px; font-size: .95rem; line-height: 1.65; color: #e7e3da; }
.policy-dialog .policy-close { position: absolute; top: 16px; right: 14px; z-index: 3; display: grid; place-items: center; width: 32px; min-width: 32px; height: 32px; min-height: 32px; padding: 0; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px rgb(213 174 119 / 0.42); color: rgb(234 231 225 / 0.48); font-size: 1.2rem; line-height: 1; cursor: pointer; transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; }
.policy-dialog .policy-close:hover, .policy-dialog .policy-close:focus-visible { color: #16130f; background: #d5ae77; box-shadow: none; }
@media (max-width: 650px) {
  .policy-sheet { padding: 22px 48px 28px 20px; }
  .policy-dialog .policy-close { top: 12px; right: 8px; }
}
.policy-dialog :is(button):focus-visible { outline: 2px solid #d5af77; outline-offset: 3px; }
.footer-remembrance { position: relative; z-index: 0; left: 50%; transform: translateX(-50%) translateY(-2px); display: flex; width: max-content; white-space: nowrap; align-items: center; gap: .24em; margin-top: 12px; margin-bottom: -.15em; font-family: "Cinzel", Georgia, serif; font-size: clamp(28px, 5.2vw, 96px); line-height: 1; color: #cfb487; pointer-events: none; }
.footer-remembrance span, .footer-remembrance i { flex: none; }
.footer-remembrance i { width: .065em; height: .065em; border-radius: 50%; background: #b98a4a; }
@media (max-width: 1000px) {
  body[data-page="scroll"] .after-dedications { padding-inline: 24px; }
  .after-dedications .after-heading { margin-bottom: 36px; }
  .remembrance-panel { grid-template-columns: 1fr 1fr; }
  .remembrance-image { min-height: 520px; }
  .remembrance-copy { padding: 32px; }
  .remembrance-copy .eyebrow { font-size: .7rem; }
  .interactive-panel { grid-template-columns: 1fr 1fr; }
  .interactive-copy { padding: 36px 0 36px 36px; }
  .interactive-image img { height: 560px; }
  .footer-columns, .footer-meta { gap: 28px; }
  .memorial-footer .footer-logo { max-width: min(260px, 46vw); --logo-height: 72px; }
  .memorial-footer .footer-logo .logo-window { width: min(260px, 46vw, calc(var(--logo-height) * var(--logo-aspect))); }
}
@media (max-width: 760px) {
  .guide-questions { display: flex; flex-direction: column; gap: 10px; }
  .guide-column { display: contents; }
  .guide-questions details { order: var(--faq-order); }
}
@media (max-width: 650px) {
  body[data-page="scroll"] .after-dedications { padding-inline: 18px; }
  body[data-page="scroll"] .after-section { padding-top: 64px; }
  body[data-page="scroll"] .after-section h2,
  body[data-page="scroll"] .interactive-copy h3 { font-size: clamp(28px, 7.7vw, 40px); }
  .after-dedications .after-heading { margin-bottom: 30px; }
  .after-dedications .after-heading .eyebrow { font-size: .68rem; }
  .remembrance-panel, .interactive-panel { grid-template-columns: 1fr; border-radius: 26px; }
  .remembrance-image { min-height: 330px; }
  .remembrance-image img { object-position: 74% center; }
  .remembrance-image figcaption { left: 16px; right: 16px; bottom: 16px; font-size: .65rem; }
  .remembrance-copy { padding: 30px 26px 36px; }
  body[data-page="scroll"] .remembrance-copy h3 { font-size: 28px; }
  .remembrance-copy > p:not(.eyebrow), .interactive-copy > p:not(.eyebrow) { font-size: .91rem; }
  .interactive-copy { padding: 36px 28px 12px; }
  .interactive-image img { height: 330px; object-fit: contain; }
  .after-dedications .memorial-pill { font-size: .8rem; padding: 13px 20px; }
  .memorial-guide { margin-top: 64px; padding-bottom: 64px; }
  .guide-questions summary { padding: 18px; font-size: .85rem; gap: 16px; }
  .guide-questions details > div { padding: 0 18px 20px; font-size: .85rem; }
  body[data-page="scroll"] .memorial-footer { padding: 0 12px 108px; }
  .memorial-footer-panel { --footer-pad: 24px; padding-top: 16px; border-radius: 28px; }
  .footer-columns, .footer-meta { grid-template-columns: 1fr; gap: 28px; }
  .memorial-footer .footer-logo { max-width: min(240px, 70vw); --logo-height: 68px; }
  .memorial-footer .footer-logo .logo-window { width: min(240px, 70vw, calc(var(--logo-height) * var(--logo-aspect))); }
  .footer-identity { padding-right: 0; border-right: 0; background-image: none; }
  .footer-identity > p { max-width: none; }
  .footer-tribute { padding-left: 0; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-links a, .footer-links button { font-size: .88rem; }
  .footer-meta { gap: 10px; margin-top: 24px; }
  .footer-note p, .footer-policies button, .footer-policies a { font-size: .69rem; }
  .footer-remembrance { margin-top: 10px; font-size: 5.2vw; }
}
@media (max-width: 520px) {
  .footer-note { margin-bottom: 36px; }
}
@media print {
  body[data-page="scroll"] .after-section, body[data-page="scroll"] .memorial-footer { padding: 20px; }
  .remembrance-panel, .interactive-panel, .footer-columns { display: block; }
  .remembrance-image { min-height: 260px; }
  .interactive-image { display: none; }
  .guide-questions details > div { display: block!important; }
}
