:root {
  --red: #e51f2a;
  --red-dark: #b40d17;
  --black: #090909;
  --ink: #141414;
  --paper: #f6f3ee;
  --white: #ffffff;
  --muted: #aaa49d;
  --line: rgba(255, 255, 255, 0.15);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.topline { position: fixed; z-index: 100; inset: 0 0 auto; height: 3px; background: var(--red); }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 40px));
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.55);
  transform: rotate(45deg);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 22px;
}
.brand-mark::first-letter { transform: rotate(-45deg); }
.brand > span:last-child { display: grid; line-height: 1; }
.brand strong { font-size: 16px; letter-spacing: .28em; }
.brand small { margin-top: 6px; color: #a9a9a9; font-size: 8px; letter-spacing: .38em; }
.site-header nav { display: flex; gap: 34px; }
.site-header nav a { color: #d7d7d7; text-decoration: none; font-size: 13px; transition: color .2s; }
.site-header nav a:hover { color: var(--white); }
.quiet-button { color: #e8e8e8; background: transparent; border: 0; font-size: 12px; letter-spacing: .04em; }
.lock-icon { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 7px; color: var(--red); font-size: 7px; border: 1px solid var(--red); transform: rotate(45deg); }

.hero {
  min-height: 800px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}
.hero-copy { padding: 188px max(40px, calc((100vw - 1180px)/2)) 88px; align-self: center; }
.eyebrow { margin: 0 0 18px; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .24em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Libre Baskerville", Georgia, serif; font-weight: 400; }
h1 { max-width: 650px; margin-bottom: 28px; font-size: clamp(56px, 6.2vw, 92px); line-height: .93; letter-spacing: -.035em; }
.hero-intro { max-width: 610px; color: #c5c2bd; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin: 40px 0 54px; }
.primary-button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 2px;
  font-weight: 700;
  font-size: 13px;
  transition: transform .2s, background .2s;
}
.primary-button:hover { background: #f32935; transform: translateY(-2px); }
.secondary-button { color: #3b322f; background: transparent; border-color: #bfaea5; text-decoration: none; }
.secondary-button:hover { color: var(--white); background: var(--red); border-color: var(--red); }
.text-button { padding: 10px 0; color: #ddd; background: none; border: 0; border-bottom: 1px solid #555; font-size: 13px; }
.privacy-promise { max-width: 520px; padding-top: 22px; display: flex; gap: 16px; border-top: 1px solid #272727; }
.privacy-promise p { margin: 0; color: #979797; font-size: 11px; line-height: 1.65; }
.privacy-promise strong { color: #d7d7d7; }
.shield { flex: 0 0 auto; width: 26px; height: 30px; display: grid; place-items: center; color: var(--red); font-size: 10px; border: 1px solid var(--red); border-radius: 13px 13px 6px 6px; }

.hero-art { position: relative; min-height: 800px; background: radial-gradient(circle at 50% 42%, #2c1618 0, #130c0d 39%, #080808 76%); overflow: hidden; }
.hero-art::before { content: ""; position: absolute; inset: 0; opacity: .26; background-image: repeating-linear-gradient(115deg, transparent 0 24px, rgba(255,255,255,.03) 25px); }
.hero-ring { position: absolute; border: 1px solid rgba(229,31,42,.32); border-radius: 50%; }
.ring-one { width: 530px; height: 530px; left: 50%; top: 47%; transform: translate(-50%,-50%); }
.ring-two { width: 390px; height: 390px; left: 50%; top: 47%; transform: translate(-50%,-50%); border-color: rgba(255,255,255,.1); }
.rose-line { position: absolute; width: 330px; left: 50%; top: 45%; transform: translate(-50%,-50%); }
.rose-line svg { width: 100%; fill: none; stroke: #e93740; stroke-width: 1.3; filter: drop-shadow(0 0 14px rgba(229,31,42,.32)); }
.rose-line svg path:nth-child(2), .rose-line svg path:nth-child(3) { stroke: #fff; stroke-opacity: .42; }
.art-quote { position: absolute; left: 11%; bottom: 70px; padding-left: 16px; border-left: 2px solid var(--red); }
.art-quote span { color: #777; font-size: 8px; letter-spacing: .26em; }
.art-quote p { margin: 8px 0 0; font-family: "Libre Baskerville", Georgia, serif; font-size: 22px; line-height: 1.1; }
.vertical-word { position: absolute; right: 25px; top: 50%; color: #636363; font-size: 8px; letter-spacing: .35em; writing-mode: vertical-rl; transform: translateY(-50%); }

.story-studio { padding: 110px max(40px, calc((100vw - 1180px)/2)); background: #efece7; }
.section-heading { margin-bottom: 50px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-heading h2 { margin: 0; font-size: clamp(42px, 5vw, 64px); }
.section-heading > p { max-width: 390px; margin: 0; color: #6b6863; font-size: 13px; line-height: 1.7; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .75fr); gap: 26px; align-items: stretch; }
.memory-form { min-height: 650px; padding: 42px; display: flex; flex-direction: column; background: var(--white); box-shadow: 0 16px 60px rgba(44,32,21,.08); }
.stepper { margin: 0 0 50px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-bottom: 1px solid #e7e2dc; }
.stepper li { position: relative; padding: 0 8px 15px 0; color: #aaa6a0; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.stepper li span { display: block; margin-bottom: 5px; font-size: 9px; }
.stepper li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.stepper li.active { color: var(--ink); }
.stepper li.active::after, .stepper li.complete::after { background: var(--red); }
.stepper li.complete { color: #6c6862; }
.form-step { animation: fade-slide .3s ease; }
@keyframes fade-slide { from { opacity: 0; transform: translateY(8px); } }
.step-kicker { margin-bottom: 8px; color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.form-step h3 { margin-bottom: 32px; font-family: "Libre Baskerville", Georgia, serif; font-size: 34px; font-weight: 400; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 9px; color: #5f5a55; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.field-wide { grid-column: 1 / -1; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #cec8c0; border-radius: 0; outline: none; font-size: 14px; font-weight: 400; letter-spacing: 0; transition: border-color .2s; }
.field textarea { padding: 14px; border: 1px solid #cec8c0; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); box-shadow: 0 1px 0 var(--red); }
.field input.invalid, .field textarea.invalid, .field select.invalid { border-color: var(--red); }
.field-error { min-height: 14px; color: var(--red); font-size: 10px; font-weight: 500; }
.field-meta { display: flex; justify-content: space-between; color: #aaa49d; font-size: 10px; }
.form-actions { margin-top: auto; padding-top: 40px; display: flex; align-items: center; gap: 18px; border-top: 1px solid #eeeae5; }
.form-actions p { margin: 0 auto 0 0; color: #9d9892; font-size: 10px; }
.back-button { padding: 12px 0; color: #5d5853; background: none; border: 0; }
.next-button { min-width: 155px; }
.photo-drop { min-height: 164px; display: grid; place-items: center; align-content: center; gap: 6px; color: #6f6963; background: #faf8f5; border: 1px dashed #bdb6ae; transition: border-color .2s, background .2s; }
.photo-drop:hover, .photo-drop.dragging { background: #fff5f5; border-color: var(--red); }
.photo-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.photo-drop strong { color: var(--ink); font-size: 13px; }
.photo-drop small { color: #aaa29b; font-size: 10px; }
.photo-icon { display: grid; place-items: center; width: 34px; height: 34px; color: var(--red); border: 1px solid #e5c7c9; border-radius: 50%; font-size: 20px; }
.photo-list { min-height: 0; margin: 14px 0; display: flex; gap: 10px; }
.photo-thumb { position: relative; width: 62px; height: 62px; background: #ddd center/cover; border-radius: 2px; overflow: hidden; }
.photo-thumb video { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb button { position: absolute; right: 3px; top: 3px; width: 19px; height: 19px; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.72); border: 0; border-radius: 50%; font-size: 12px; }
.date-grid { margin-top: 16px; }
.consent-card { margin-bottom: 24px; padding: 22px; background: #f8f5f1; border-left: 3px solid var(--red); }
.consent-card > p { color: #6d6760; font-size: 12px; line-height: 1.7; }
.owner-family-entry { margin: 0 0 24px; padding: 22px; color: #fff; background: linear-gradient(135deg, #171313, #43171c); border-top: 4px solid var(--red); }
.owner-family-entry h4 { margin: 5px 0 9px; color: #fff; font-family: "Libre Baskerville", Georgia, serif; font-size: 20px; }
.owner-family-entry > p:not(.eyebrow), .owner-family-entry > small { color: #eadbdd; line-height: 1.65; }
.owner-family-entry .field { margin-top: 18px; color: #fff; }
.owner-family-entry .field input { color: #171313; background: #fff; }
.owner-story-notice { margin-bottom: 18px; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #fff; background: #8f1723; border: 1px solid #d76470; font-size: 12px; }
.owner-story-notice[hidden] { display: none; }
.owner-story-notice strong { letter-spacing: .1em; }
.owner-story-notice span { color: #f4dfe1; }
.owner-story-mode .required-mark { display: none; }
.owner-story-mode .stepper { grid-template-columns: repeat(3, 1fr); }
.owner-story-mode [data-step-indicator="4"],
.owner-story-mode [data-step-indicator="5"] { display: none !important; }
.automatic-important-dates { margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.automatic-date-card { position: relative; padding: 17px 18px; overflow: hidden; color: #2f2421; background: #fff; border: 1px solid #ddcbc2; border-left: 4px solid #a91927; }
.automatic-date-card span { display: block; margin-bottom: 7px; color: #a91927; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.automatic-date-card strong { display: block; font-family: "Libre Baskerville", Georgia, serif; font-size: 14px; font-weight: 400; line-height: 1.45; }
.automatic-date-card input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.forever-date-card { color: #fff; background: #171313; border-color: #171313; border-left-color: #a91927; }
.forever-date-card strong { color: #fff; }
.forever-date-card span { color: #ef929b; }
@media (max-width: 620px) { .automatic-important-dates { grid-template-columns: 1fr; } }
.check-row { margin-top: 16px; display: flex; align-items: flex-start; gap: 11px; color: #35312e; font-size: 12px; line-height: 1.5; }
.check-row input { accent-color: var(--red); margin-top: 3px; }

.live-card { position: relative; min-height: 650px; padding: 34px; display: flex; flex-direction: column; align-items: center; color: var(--white); text-align: center; background: radial-gradient(circle at 50% 32%, #381418 0, #100c0d 43%, #070707 80%); box-shadow: var(--shadow); overflow: hidden; }
.live-card::before, .live-card::after { content: ""; position: absolute; border: 1px solid rgba(229,31,42,.25); border-radius: 50%; pointer-events: none; }
.live-card::before { width: 400px; height: 400px; top: 60px; }
.live-card::after { width: 320px; height: 320px; top: 100px; border-color: rgba(255,255,255,.08); }
.live-card-top { width: 100%; display: flex; justify-content: space-between; color: #777; font-size: 8px; letter-spacing: .18em; }
.private-chip { padding: 5px 8px; color: #ddd; border: 1px solid #444; border-radius: 20px; letter-spacing: .12em; }
.live-portrait { position: relative; z-index: 1; width: 164px; height: 164px; margin: 42px 0 28px; display: grid; place-items: center; background: linear-gradient(145deg, #3d3533, #171414); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; box-shadow: 0 0 0 8px #0d0a0b, 0 0 0 9px rgba(229,31,42,.5); overflow: hidden; }
.live-portrait.has-photo { background-size: cover; background-position: center; }
.live-portrait.has-photo span { display: none; }
.live-portrait span { font-family: "Libre Baskerville", Georgia, serif; font-size: 48px; color: #eee; }
.mini-label { margin-bottom: 10px; color: var(--red); font-size: 8px; font-weight: 700; letter-spacing: .24em; }
.live-card h3 { max-width: 300px; margin-bottom: 8px; font-family: "Libre Baskerville", Georgia, serif; font-size: 30px; font-weight: 400; }
.live-dates { color: #9d9791; font-size: 10px; letter-spacing: .16em; }
.live-card blockquote { max-width: 290px; margin: 34px auto 28px; color: #cbc5bf; font-family: "Libre Baskerville", Georgia, serif; font-size: 18px; line-height: 1.45; }
.word-row { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; }
.word-row span { padding: 6px 8px; color: #aaa; border: 1px solid #393434; font-size: 7px; letter-spacing: .15em; }
.edited-note { margin: auto 0 0; color: #625d5b; font-size: 9px; }

.remembrance { color: var(--white); background: var(--black); }
.remembrance-hero { position: relative; min-height: 480px; padding: 90px 30px 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle at 50% 50%, #2a1416 0, #0b0b0b 60%); overflow: hidden; }
.remembrance-hero::before { content: ""; position: absolute; width: 620px; height: 620px; border: 1px solid rgba(229,31,42,.2); border-radius: 50%; }
.remembrance-badge { position: absolute; left: max(30px, calc((100vw - 1180px)/2)); top: 54px; padding: 7px 10px; color: #aaa; border: 1px solid #353535; font-size: 8px; letter-spacing: .2em; }
.memorial-monogram { position: absolute; color: rgba(255,255,255,.025); font-family: "Libre Baskerville", Georgia, serif; font-size: 350px; line-height: 1; letter-spacing: -.1em; }
.remembrance-hero > *:not(.memorial-monogram) { position: relative; z-index: 1; }
.remembrance-hero h2 { margin: 0; font-size: clamp(48px, 7vw, 82px); }
.years { margin: 20px 0 24px; display: flex; align-items: center; gap: 13px; color: #aaa19d; font-size: 11px; letter-spacing: .2em; }
.years span { width: 34px; height: 1px; background: var(--red); }
.tribute-line { margin: 0; color: #d7d1cc; font-family: "Libre Baskerville", Georgia, serif; font-size: 20px; }
.remembrance-content { padding: 72px max(40px, calc((100vw - 1180px)/2)) 100px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .7fr); gap: 70px; }
.tab-list { display: flex; gap: 24px; border-bottom: 1px solid #282828; overflow-x: auto; }
.tab { position: relative; padding: 0 0 15px; color: #777; white-space: nowrap; background: none; border: 0; font-size: 11px; font-weight: 600; }
.tab span { margin-left: 4px; color: var(--red); }
.tab.active { color: var(--white); }
.tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); }
.tab-panel { padding-top: 38px; animation: fade-slide .3s ease; }
.tab-panel > p { color: #bbb5af; font-family: "Libre Baskerville", Georgia, serif; font-size: 22px; line-height: 1.7; }
.dropcap::first-letter { float: left; margin: 8px 8px 0 0; color: var(--red); font-size: 66px; line-height: .7; }
.tab-panel blockquote { margin: 38px 0; padding: 20px 0 20px 24px; color: #e2ddd8; border-left: 2px solid var(--red); font-family: "Libre Baskerville", Georgia, serif; font-size: 22px; line-height: 1.5; }
.legacy-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.legacy-tags span { padding: 7px 10px; color: #888; border: 1px solid #333; font-size: 8px; letter-spacing: .15em; }
.memory-note { padding: 20px 0; display: grid; grid-template-columns: 34px 1fr; gap: 16px; border-bottom: 1px solid #242424; }
.memory-note > span { color: var(--red); font-size: 10px; }
.memory-note strong { font-family: "Libre Baskerville", Georgia, serif; font-size: 19px; font-weight: 400; }
.memory-note p { margin: 8px 0 0; color: #8e8985; font-size: 12px; line-height: 1.6; }
.date-card { padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #282828; }
.date-card time { display: grid; }
.date-card strong { color: var(--white); font-family: "Libre Baskerville", Georgia, serif; font-size: 24px; font-weight: 400; }
.date-card span { margin-top: 5px; color: #8f8985; font-size: 11px; }
.reminder-button { padding: 9px 12px; color: #bbb; background: transparent; border: 1px solid #444; font-size: 10px; }
.reminder-button.saved { color: var(--white); background: var(--red-dark); border-color: var(--red-dark); }
.family-panel { padding-left: 48px; border-left: 1px solid #292929; }
.family-panel h3 { margin-bottom: 16px; font-family: "Libre Baskerville", Georgia, serif; font-size: 32px; font-weight: 400; }
.family-panel > p:not(.eyebrow) { color: #938e8a; font-size: 12px; line-height: 1.7; }
.family-avatars { margin: 26px 0; display: flex; }
.family-avatars span { width: 42px; height: 42px; margin-left: -8px; display: grid; place-items: center; color: #ddd; background: #2a2323; border: 2px solid var(--black); border-radius: 50%; font-size: 9px; }
.family-avatars span:first-child { margin-left: 0; background: var(--red-dark); }
.outline-button { width: 100%; min-height: 48px; color: var(--white); background: transparent; border: 1px solid #555; font-size: 11px; font-weight: 700; transition: border-color .2s, background .2s; }
.outline-button:hover { background: #161313; border-color: var(--red); }
.family-panel > small { display: block; margin-top: 10px; color: #5e5b59; text-align: center; font-size: 8px; }
.anniversary-card { margin-top: 40px; padding: 22px 0 0; display: flex; gap: 15px; border-top: 1px solid #282828; }
.anniversary-icon { flex: 0 0 auto; color: var(--red); font-size: 20px; }
.anniversary-card strong { font-family: "Libre Baskerville", Georgia, serif; font-weight: 400; }
.anniversary-card p { margin: 7px 0 0; color: #74706d; font-size: 10px; line-height: 1.6; }

footer { min-height: 170px; padding: 48px max(40px, calc((100vw - 1180px)/2)); display: flex; align-items: center; gap: 32px; color: #b8b3ad; background: #050505; border-top: 1px solid #1c1c1c; }
.footer-brand { color: var(--white); }
footer > p { margin: 0; font-family: "Libre Baskerville", Georgia, serif; }
.prototype-note { margin-left: auto; color: #555; font-family: "Manrope", sans-serif; font-size: 9px; }
.footer-meta { margin-left: auto; display: grid; justify-items: end; gap: 12px; }
.footer-meta .prototype-note { margin-left: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { color: inherit; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--red); }
.footer-links .footer-social-link { color: #8d1722; }
.footer-links .footer-social-link:hover { color: #171313; text-decoration: underline; text-underline-offset: 4px; }

dialog { width: min(520px, calc(100% - 32px)); padding: 40px; color: var(--white); background: #111; border: 1px solid #383838; box-shadow: 0 30px 120px rgba(0,0,0,.65); }
dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(5px); }
dialog h2 { font-size: 40px; }
dialog > p:not(.eyebrow) { color: #aaa; font-size: 13px; line-height: 1.8; }
.dialog-close { position: absolute; right: 17px; top: 15px; color: #aaa; background: none; border: 0; font-size: 25px; }
.dialog-done { margin-top: 12px; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 24px; max-width: calc(100% - 32px); padding: 13px 18px; color: #fff; background: #161616; border: 1px solid #444; border-left: 3px solid var(--red); box-shadow: 0 12px 40px rgba(0,0,0,.3); font-size: 12px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.submitter-contact-grid { margin-top: 20px; }
.submission-success { margin: 24px 0 0; padding: 18px 20px; display: grid; gap: 7px; color: #255c3f; background: #eef8f2; border: 1px solid #b8dbc6; font-size: 13px; line-height: 1.6; }
.submission-success[hidden] { display: none; }
.submission-success strong { color: #183f2b; font-family: "Libre Baskerville", Georgia, serif; font-size: 18px; font-weight: 400; }
.submission-success.error { color: #8d1722; background: #fff1f1; border-color: #e9b9bd; }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { position: relative; z-index: 2; min-height: 720px; padding-top: 165px; }
  .hero-art { min-height: 530px; }
  .studio-grid, .remembrance-content { grid-template-columns: 1fr; }
  .live-card { min-height: 610px; }
  .family-panel { padding: 40px 0 0; border-left: 0; border-top: 1px solid #292929; }
}

@media (max-width: 600px) {
  .site-header { width: calc(100% - 30px); height: 84px; }
  .quiet-button { font-size: 0; }
  .quiet-button .lock-icon { font-size: 7px; }
  .hero-copy, .story-studio, .remembrance-content, footer { padding-left: 20px; padding-right: 20px; }
  .hero-copy { min-height: 690px; padding-top: 145px; }
  h1 { font-size: 55px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .text-button { align-self: flex-start; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .memory-form { min-height: 690px; padding: 24px 20px; }
  .stepper { margin-bottom: 38px; }
  .stepper li { font-size: 0; }
  .stepper li span { font-size: 9px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .form-actions { flex-wrap: wrap; }
  .form-actions p { order: 3; width: 100%; }
  .next-button { margin-left: auto; }
  .live-card { min-height: 600px; padding: 25px; }
  .remembrance-hero { min-height: 430px; }
  .remembrance-content { gap: 50px; }
  footer { align-items: flex-start; flex-direction: column; gap: 20px; }
  .prototype-note { margin-left: 0; }
  .footer-meta { margin-left: 0; justify-items: start; }
  .footer-links { justify-content: flex-start; }
}

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

/* Bright memorial-luxury direction */
:root {
  --red: #c81f2d;
  --red-dark: #981522;
  --black: #211b1a;
  --ink: #28211f;
  --paper: #fffaf5;
  --white: #ffffff;
  --muted: #827873;
  --line: rgba(53, 35, 31, 0.13);
  --shadow: 0 24px 70px rgba(76, 45, 36, 0.13);
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
}

h1, h2, h3,
.art-quote p,
.live-card blockquote,
.tab-panel > p,
.tab-panel blockquote,
.memory-note strong,
.date-card strong,
.family-panel h3,
.anniversary-card strong,
footer > p {
  font-family: "Libre Baskerville", Georgia, serif;
}

.site-header {
  color: var(--ink);
  border-bottom-color: rgba(58, 42, 36, .14);
}

.brand-logo {
  width: 58px;
  height: 46px;
  flex: 0 0 auto;
  padding: 0;
  object-fit: contain;
  object-position: center;
  background: transparent !important;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: normal;
}

.hero-logo-mark,
.about-hero-mark img {
  background: transparent !important;
}

.brand strong { color: #241d1c; font-size: 15px; }
.brand small { color: #8b7d77; }
.site-header nav a { color: #5d514d; font-weight: 600; }
.site-header nav a:hover { color: var(--red); }
.quiet-button { color: #5e514d; }

.hero {
  color: var(--ink);
  background: linear-gradient(120deg, #fffdf9 0%, #fff8f1 62%, #faeee7 100%);
}

.hero-intro { color: #665a55; }
.text-button { color: #443a36; border-bottom-color: #cbbcb4; }
.privacy-promise { border-top-color: #dfd3cb; }
.privacy-promise p { color: #756a65; }
.privacy-promise strong { color: #3b322f; }

.hero-art {
  background:
    radial-gradient(circle at 51% 45%, rgba(255,255,255,.96) 0 29%, rgba(255,247,242,.88) 30% 49%, rgba(232,183,183,.27) 50% 63%, rgba(255,250,246,.8) 64% 100%),
    linear-gradient(150deg, #fffaf6, #f7e2dc);
}

.hero-art::before {
  opacity: .6;
  background-image: repeating-linear-gradient(115deg, transparent 0 31px, rgba(164,87,84,.035) 32px);
}

.hero-ring { border-color: rgba(200,31,45,.22); }
.ring-two { border-color: rgba(83,54,48,.1); }
.hero-logo-mark {
  position: absolute;
  z-index: 1;
  width: min(76%, 520px);
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  mix-blend-mode: normal;
  filter: contrast(1.05);
}
.art-quote { z-index: 2; color: #302625; }
.art-quote span { color: #9b7776; }
.vertical-word { color: #9a7776; }

.story-studio { background: linear-gradient(180deg, #f8f1eb 0%, #fffaf5 100%); }
.memory-form { border: 1px solid #eee2d9; box-shadow: 0 20px 70px rgba(90,57,45,.08); }

.live-card {
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 34%, rgba(255,255,255,.94) 0 26%, rgba(251,231,228,.9) 48%, rgba(248,240,233,.96) 100%);
  border: 1px solid #ead9d2;
  box-shadow: 0 24px 70px rgba(109,61,54,.14);
}

.live-card::before { border-color: rgba(200,31,45,.18); }
.live-card::after { border-color: rgba(71,48,43,.09); }
.live-card-top { color: #887a74; }
.private-chip { color: #5a4c47; border-color: #cdbdb5; background: rgba(255,255,255,.55); }
.live-portrait {
  background: linear-gradient(145deg, #b78680, #6e3f42);
  border-color: rgba(255,255,255,.85);
  box-shadow: 0 0 0 8px #fffaf6, 0 0 0 9px rgba(200,31,45,.42);
}
.live-portrait span { color: #fff; }
.live-card h3 { color: #2b2220; }
.live-dates { color: #87766f; }
.live-card blockquote { color: #5f4e49; }
.word-row span { color: #725f59; border-color: #d7c7be; background: rgba(255,255,255,.38); }
.edited-note { color: #948680; }

.remembrance { color: var(--ink); background: #fffdf9; }
.remembrance-hero {
  background:
    radial-gradient(circle at 50% 47%, rgba(255,255,255,.96) 0 20%, rgba(255,243,239,.9) 45%, rgba(247,223,216,.72) 75%, #fff8f3 100%);
  border-top: 1px solid #efe0d7;
  border-bottom: 1px solid #efe0d7;
}
.remembrance-hero::before { border-color: rgba(200,31,45,.18); }
.remembrance-badge { color: #806f68; border-color: #d4c2b8; background: rgba(255,255,255,.5); }
.memorial-monogram { color: rgba(200,31,45,.045); }
.years { color: #7f6f68; }
.tribute-line { color: #5a4944; }
.remembrance-content { background: #fffdf9; }
.tab-list { border-bottom-color: #e1d7d0; }
.tab { color: #948780; }
.tab.active { color: #302724; }
.tab-panel > p { color: #5f514c; }
.tab-panel blockquote { color: #423633; }
.legacy-tags span { color: #74645e; border-color: #dacdc6; background: #fff9f5; }
.memory-note { border-bottom-color: #e5dcd6; }
.memory-note strong { color: #332824; }
.memory-note p { color: #766b66; }
.date-card { border-bottom-color: #e3d8d1; }
.date-card strong { color: #382c29; }
.date-card span { color: #796b65; }
.reminder-button { color: #5f504b; border-color: #cdbdb5; background: #fffaf6; }
.reminder-button.saved { color: #fff; }
.family-panel { border-left-color: #e0d3cb; }
.family-panel > p:not(.eyebrow) { color: #736660; }
.family-avatars span { color: #fff; background: #8f7771; border-color: #fffdf9; }
.outline-button { color: #372b28; border-color: #bfaea5; background: #fff; }
.outline-button:hover { color: #fff; background: var(--red); border-color: var(--red); }
.family-panel > small { color: #958780; }
.anniversary-card { border-top-color: #e0d5ce; }
.anniversary-card p { color: #7f716b; }

footer {
  color: #584b46;
  background: #f5e9e1;
  border-top-color: #e7d8cf;
}
.footer-brand { color: var(--ink); }
.prototype-note { color: #887971; }

dialog {
  color: #fff;
  background: #5b1820;
  border-color: #7c3038;
}
dialog > p:not(.eyebrow) { color: #ead9d8; }

@media (max-width: 900px) {
  .family-panel { border-top-color: #e0d3cb; }
}

@media (max-width: 600px) {
  .brand-logo { width: 50px; height: 40px; }
  .hero-logo-mark { width: min(84%, 420px); }
}

.hero-rose,
.remembrance-rose {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 16px 18px rgba(91, 21, 28, .16));
}
.hero-rose { width: 138px; }
.hero-rose-top { right: 7%; top: 13%; transform: rotate(18deg); }
.hero-rose-bottom { left: 4%; bottom: 1%; transform: rotate(-21deg); opacity: .9; }
.remembrance-rose { width: 190px; right: 8%; bottom: -58px; transform: rotate(16deg); opacity: .82; }
.library-link {
  margin-top: 18px;
  padding: 13px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--red);
  border-top: 1px solid #e0d5ce;
  border-bottom: 1px solid #e0d5ce;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}
.petal-field { position: fixed; z-index: 90; inset: 0; overflow: hidden; pointer-events: none; }
.falling-petal {
  position: absolute;
  top: -10vh;
  width: 20px;
  height: 28px;
  background: url("assets/real-red-petal.png") center / 112% auto no-repeat;
  filter: drop-shadow(0 3px 3px rgba(76, 7, 14, .18));
  opacity: .78;
  animation: petal-fall var(--fall-time) linear var(--fall-delay) infinite;
}
@keyframes petal-fall {
  0% { transform: translate3d(0, -12vh, 0) rotate(0deg); }
  35% { transform: translate3d(var(--drift), 34vh, 0) rotate(150deg); }
  70% { transform: translate3d(calc(var(--drift) * -.55), 72vh, 0) rotate(310deg); }
  100% { transform: translate3d(calc(var(--drift) * .35), 112vh, 0) rotate(510deg); }
}

@media (max-width: 600px) {
  .hero-rose { width: 100px; }
  .hero-rose-top { top: 8%; }
  .remembrance-rose { width: 130px; right: -12px; bottom: -40px; }
}

@media (prefers-reduced-motion: reduce) {
  .petal-field { display: none; }
}

/* Anniversary remembrance and natural rose-vine framing */
.site-header nav a.active { color: var(--red); }
.anniversary-showcase {
  padding: 88px max(28px, calc((100vw - 1240px) / 2));
  color: #fff;
  background: linear-gradient(145deg, #5d111a 0%, #991827 44%, #c82031 100%);
}
.vine-frame {
  position: relative;
  padding: clamp(82px, 9vw, 130px) clamp(50px, 8vw, 118px);
  background-image:
    url("assets/kerose-natural-rose-vine-frame.png"),
    linear-gradient(145deg, rgba(67, 13, 18, .94), rgba(129, 19, 31, .94));
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 90px rgba(62, 5, 14, .28);
}
.anniversary-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr); gap: 54px; align-items: end; }
.anniversary-heading .eyebrow { color: #ffd3d7; }
.anniversary-heading h2 { max-width: 690px; margin: 0; color: #fff; font-size: clamp(40px, 5vw, 68px); line-height: 1.08; }
.anniversary-date-copy { padding: 22px 0 4px 26px; border-left: 1px solid rgba(255,255,255,.26); }
.anniversary-date-copy strong { display: block; color: #fff; font-family: "Libre Baskerville", Georgia, serif; font-size: 23px; font-weight: 400; }
.anniversary-date-copy p { margin: 9px 0 0; color: #f0cbd0; font-size: 14px; line-height: 1.7; }
.anniversary-tributes { margin-top: 50px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 22px; }
.anniversary-tribute-card { min-height: 305px; padding: 32px; display: grid; grid-template-columns: 92px 1fr; gap: 25px; color: #332321; background: rgba(255,253,249,.96); border: 1px solid rgba(255,255,255,.68); box-shadow: 0 18px 48px rgba(46,7,13,.18); }
.anniversary-monogram { width: 88px; height: 88px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #bd1f2e, #66131b); border-radius: 50%; box-shadow: 0 0 0 6px #fff8f4, 0 0 0 7px rgba(113,26,31,.28); font-family: "Libre Baskerville", Georgia, serif; font-size: 29px; }
.anniversary-monogram.has-photo { color: transparent; background-position: center; background-size: cover; }
.anniversary-tribute-card .mini-label { color: var(--red); font-size: 10px; }
.anniversary-tribute-card h3 { margin: 0 0 8px; color: #321f1d; font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(26px, 3vw, 38px); font-weight: 400; line-height: 1.2; }
.anniversary-years { color: #8a6c65; font-size: 12px; letter-spacing: .12em; }
.anniversary-tribute-card blockquote { grid-column: 2; margin: 16px 0 0; color: #654d48; font-family: "Libre Baskerville", Georgia, serif; font-size: 16px; line-height: 1.65; }
.anniversary-words { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.anniversary-words span { padding: 7px 10px; color: #705752; background: #fff8f3; border: 1px solid #dbc8be; font-size: 10px; letter-spacing: .12em; }
.anniversary-profile-link { grid-column: 1 / -1; padding-top: 16px; color: #9f1927; border-top: 1px solid #eadbd4; text-decoration: none; font-size: 12px; font-weight: 700; }
.anniversary-empty { max-width: 680px; margin: 54px auto 10px; padding: 42px; text-align: center; color: #543a36; background: rgba(255,253,249,.96); border: 1px solid rgba(255,255,255,.68); }
.anniversary-empty > span { color: var(--red); font-size: 30px; }
.anniversary-empty h3 { margin: 14px 0 12px; font-family: "Libre Baskerville", Georgia, serif; font-size: 30px; font-weight: 400; }
.anniversary-empty p { color: #735b55; font-size: 15px; line-height: 1.75; }
.anniversary-empty .primary-button { margin-top: 8px; }
.anniversary-footer { margin-top: 38px; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.22); }
.anniversary-footer p { margin: 0; color: #f3cfd2; font-size: 13px; }
.anniversary-footer a { color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }

@media (max-width: 900px) {
  .site-header { height: auto; min-height: 118px; padding: 15px 0 12px; flex-wrap: wrap; align-content: center; }
  .site-header nav { order: 3; width: 100%; padding-top: 11px; display: flex; gap: 20px; overflow-x: auto; border-top: 1px solid rgba(58,42,36,.12); scrollbar-width: none; }
  .site-header nav::-webkit-scrollbar { display: none; }
  .site-header nav a { flex: 0 0 auto; font-size: 12px; }
  .anniversary-heading { grid-template-columns: 1fr; gap: 25px; }
  .anniversary-date-copy { padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.26); }
}

@media (max-width: 600px) {
  .anniversary-showcase { padding: 34px 12px; }
  .vine-frame { padding: 82px 22px; background-size: auto 100%; }
  .anniversary-tribute-card { padding: 25px 20px; grid-template-columns: 66px 1fr; gap: 18px; }
  .anniversary-monogram { width: 64px; height: 64px; font-size: 22px; box-shadow: 0 0 0 4px #fff8f4, 0 0 0 5px rgba(113,26,31,.28); }
  .anniversary-tribute-card blockquote { grid-column: 1 / -1; }
  .anniversary-empty { padding: 32px 22px; }
  .anniversary-footer { align-items: flex-start; flex-direction: column; }
  .hero-copy { padding-top: 185px; }
}

/* Restored layout with centered name, corner logo, and refined KEROSE palette */
:root {
  --red: #a91927;
  --red-dark: #78101a;
  --black: #111111;
  --ink: #211a18;
  --paper: #f8f3ec;
}

body { background: var(--paper); }

.site-header {
  height: auto;
  min-height: 136px;
  padding: 10px 0 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 76px auto;
  column-gap: 24px;
  align-content: center;
}
.site-header > .brand {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  gap: 0;
}
.site-header > .brand .brand-logo {
  position: absolute;
  left: 0;
  top: 38px;
  width: 66px;
  height: 52px;
  transform: translateY(-50%);
}
.site-header > .brand > span { text-align: center; }
.site-header > .brand strong { color: #171313; font-size: 24px; letter-spacing: .24em; }
.site-header > .brand small { margin-top: 8px; color: #786c66; font-size: 11px; letter-spacing: .34em; }
.site-header > nav {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  padding: 10px 0 0;
  justify-self: stretch;
  justify-content: center;
  border-top: 1px solid rgba(58, 42, 36, .12);
}
.site-header > .quiet-button,
.site-header > .privacy-label {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
.site-header nav a { font-size: 14px; }

.home-page .hero {
  background: linear-gradient(120deg, #f8f3ec 0%, #fffdf9 62%, #f1dfd8 100%);
}
.kerose-family-feature { padding: clamp(72px, 8vw, 118px) max(28px, calc((100vw - 1240px) / 2)); color: #fff; background: #111; border-top: 7px solid #a91927; }
.family-feature-heading { margin-bottom: 46px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .58fr); gap: 70px; align-items: end; }
.family-feature-heading .eyebrow { color: #ef707c; }
.family-feature-heading h2 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(46px, 6vw, 78px); line-height: 1.03; letter-spacing: -.035em; }
.family-feature-heading > p { max-width: 520px; margin: 0; color: #cec2be; font-size: 16px; line-height: 1.85; }
.family-banner-frame { position: relative; margin: 0; padding: 18px; background: #a91927; box-shadow: 18px 18px 0 #2e2422, 0 32px 90px rgba(0,0,0,.36); }
.family-banner-frame > img { width: 100%; height: auto; display: block; background: #241b1a; border: 1px solid rgba(255,255,255,.28); }
.family-banner-kicker { padding: 0 2px 13px; display: flex; justify-content: space-between; color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .3em; }
.family-banner-frame figcaption { padding: 18px 4px 3px; display: flex; align-items: baseline; justify-content: space-between; gap: 30px; color: #fff; }
.family-banner-frame figcaption strong { font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(20px, 2.5vw, 30px); font-weight: 400; }
.family-banner-frame figcaption span { color: #f3cbd0; font-size: 13px; }
.home-page .story-studio { background: linear-gradient(180deg, #efe6dd 0%, #f8f3ec 100%); }
.home-page .live-card {
  color: #fff;
  background: radial-gradient(circle at 50% 32%, #3a151a 0, #171011 44%, #090909 82%);
  border-color: #21191a;
  box-shadow: 0 24px 70px rgba(35, 13, 17, .24);
}
.home-page .live-card::before { border-color: rgba(200,31,45,.34); }
.home-page .live-card::after { border-color: rgba(255,255,255,.1); }
.home-page .live-card-top { color: #9d9490; }
.home-page .private-chip { color: #eee; border-color: #4a4140; background: transparent; }
.home-page .live-portrait {
  background: linear-gradient(145deg, #a91927, #491118);
  border-color: rgba(255,255,255,.45);
  box-shadow: 0 0 0 8px #100c0d, 0 0 0 9px rgba(200,31,45,.65);
}
.home-page .live-card h3 { color: #fff; }
.home-page .live-dates { color: #a99f9a; }
.home-page .live-card blockquote { color: #ddd5d0; }
.home-page .word-row span { color: #c7beb9; border-color: #493f3e; background: transparent; }
.home-page .edited-note { color: #756c69; }
.home-page footer { color: #bdb5b0; background: #111; border-top-color: #2b2422; }
.home-page footer .footer-brand { color: #fff; }
.home-page footer .brand strong { color: #fff; }
.home-page footer .brand small,
.home-page footer .prototype-note { color: #817773; }
.home-socials { width: min(720px, 100%); margin: 28px auto 34px; padding: 26px 0; border-top: 1px solid #332b29; border-bottom: 1px solid #332b29; text-align: center; }
.home-socials > p { margin: 0 0 17px; color: #8f827d; font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.home-socials > div { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.home-socials a { min-width: 250px; padding: 14px 17px; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; color: #fff; background: #1a1716; border: 1px solid #3b3230; text-align: left; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.home-socials a:hover { border-color: #a91927; transform: translateY(-2px); }
.home-socials a > span { grid-row: 1 / 3; width: 32px; height: 32px; display: grid; place-items: center; color: #fff; background: #a91927; border-radius: 50%; font-family: Georgia, serif; font-size: 17px; }
.home-socials small { color: #8f827d; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.home-socials strong { font-family: "Libre Baskerville", Georgia, serif; font-size: 13px; font-weight: 400; }

@media (max-width: 900px) {
  .site-header {
    min-height: 140px;
    padding: 7px 0 12px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 76px auto;
    align-content: center;
  }
  .site-header > .brand { grid-column: 2; grid-row: 1; }
  .site-header > .brand .brand-logo { top: 38px; }
  .site-header > nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    padding: 11px 0 0;
    justify-content: center;
  }
  .site-header > .quiet-button,
  .site-header > .privacy-label { grid-column: 3; grid-row: 1; }
  .family-feature-heading { grid-template-columns: 1fr; gap: 24px; }
  .family-feature-heading > p { max-width: 760px; }
}

@media (max-width: 600px) {
  .site-header { width: calc(100% - 26px); }
  .site-header > .brand .brand-logo { width: 56px; height: 44px; }
  .site-header > .brand strong { font-size: 19px; }
  .site-header > .brand small { margin-top: 7px; font-size: 10px; }
  .site-header nav { justify-content: center; gap: 8px; }
  .site-header nav a { font-size: 12px; }
  .kerose-family-feature { padding: 62px 14px 74px; }
  .family-feature-heading { margin-bottom: 30px; }
  .family-feature-heading h2 { font-size: 44px; }
  .family-feature-heading > p { font-size: 15px; line-height: 1.75; }
  .family-banner-frame { padding: 9px; box-shadow: 9px 9px 0 #2e2422; }
  .family-banner-kicker { padding: 2px 2px 9px; font-size: 7px; letter-spacing: .16em; }
  .family-banner-frame figcaption { padding: 14px 3px 5px; align-items: flex-start; flex-direction: column; gap: 7px; }
  .family-banner-frame figcaption span { font-size: 12px; }
  .home-socials a { min-width: min(100%, 270px); }
}

/* Compact home introduction so the KEROSE Family remains above the fold */
.home-page .hero {
  min-height: 620px;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
}
.home-page .hero-copy {
  padding-top: 164px;
  padding-bottom: 46px;
}
.home-page .hero h1 {
  max-width: 610px;
  margin-bottom: 20px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: .98;
}
.home-page .hero-intro {
  max-width: 580px;
  font-size: 16px;
  line-height: 1.62;
}
.home-page .hero-actions { margin: 25px 0 30px; }
.home-page .privacy-promise { padding-top: 16px; }
.home-page .hero-art { min-height: 620px; }
.home-page .ring-one { width: 430px; height: 430px; }
.home-page .ring-two { width: 315px; height: 315px; }
.home-page .hero-logo-mark { width: min(70%, 430px); }
.home-page .art-quote { bottom: 42px; }

@media (max-width: 900px) {
  .home-page .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .home-page .hero-copy {
    min-height: 0;
    padding: 168px 28px 42px;
  }
  .home-page .hero-art { min-height: 260px; }
  .home-page .hero-logo-mark { width: min(45%, 280px); }
  .home-page .ring-one { width: 300px; height: 300px; }
  .home-page .ring-two { width: 220px; height: 220px; }
  .home-page .art-quote { left: 7%; bottom: 30px; }
}

@media (max-width: 600px) {
  .home-page .hero-copy { padding: 158px 20px 38px; }
  .home-page .hero h1 {
    margin-bottom: 16px;
    font-size: clamp(40px, 12vw, 50px);
    line-height: 1;
  }
  .home-page .hero-intro { font-size: 15px; line-height: 1.58; }
  .home-page .hero-actions { margin: 22px 0 26px; }
  .home-page .hero-art { display: none; }
  .home-page .privacy-promise { gap: 12px; }
}

/* Soft site-wide memorial artwork: visible, but never stronger than the content */
:root { --kerose-memorial-art: url("assets/kerose-memorial-doves-roses.png"); }
body {
  background-image:
    linear-gradient(rgba(248,243,236,.95), rgba(248,243,236,.95)),
    var(--kerose-memorial-art);
  background-position: center;
  background-size: cover;
  background-attachment: scroll, fixed;
}
.site-header {
  background:
    linear-gradient(rgba(255,255,255,.94), rgba(255,255,255,.94)),
    var(--kerose-memorial-art) center 10% / cover no-repeat;
}
.home-page .hero {
  background:
    linear-gradient(110deg, rgba(248,243,236,.9), rgba(255,253,249,.88) 58%, rgba(241,223,216,.86)),
    var(--kerose-memorial-art) center top / cover no-repeat;
}
.home-page .hero-art {
  background:
    radial-gradient(circle at 51% 45%, rgba(255,255,255,.86) 0 29%, rgba(255,247,242,.72) 30% 49%, rgba(169,25,39,.12) 50% 63%, rgba(255,250,246,.58) 64% 100%);
}
.kerose-family-feature {
  background:
    linear-gradient(rgba(17,17,17,.93), rgba(17,17,17,.93)),
    var(--kerose-memorial-art) center / cover no-repeat;
}
footer {
  color: #bdb5b0;
  background:
    linear-gradient(rgba(10,8,8,.95), rgba(10,8,8,.95)),
    var(--kerose-memorial-art) center bottom / cover no-repeat;
  border-top-color: #3a1519;
}
footer .footer-brand,
footer .brand strong { color: #fff; }
footer .brand-logo { filter: brightness(0) invert(1); }
footer .brand small,
footer .prototype-note { color: #8f817c; }

/* Home page: stronger About-style memorial presentation */
.home-page .hero {
  color: #fff;
  background:
    linear-gradient(to bottom, #fff 0 136px, transparent 136px),
    linear-gradient(120deg, rgba(12,8,8,.42), rgba(116,14,27,.5)),
    var(--kerose-memorial-art) center top / cover no-repeat;
}
.home-page .hero h1 { color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.55); }
.home-page .hero .eyebrow { color: #ff939d; }
.home-page .hero-intro { color: #f0dfdc; text-shadow: 0 2px 14px rgba(0,0,0,.48); }
.home-page .privacy-promise { border-top-color: rgba(255,255,255,.28); }
.home-page .privacy-promise p { color: #d7cac6; }
.home-page .privacy-promise strong { color: #fff; }
.home-page .hero-art { background: radial-gradient(circle at 51% 45%, rgba(112,15,28,.24), rgba(8,6,6,.12) 58%, rgba(0,0,0,.34) 100%); }
.home-page .hero-ring { display: none; }
.home-page .hero-logo-mark { filter: brightness(0) invert(1) drop-shadow(0 12px 30px rgba(0,0,0,.35)); }
.home-page .art-quote { color: #fff; }
.home-page .art-quote span,
.home-page .vertical-word { color: #e9c8cb; }
.home-page .anniversary-showcase {
  background:
    linear-gradient(rgba(12,8,8,.9), rgba(33,8,12,.92)),
    var(--kerose-memorial-art) center / cover no-repeat;
}
.home-page .anniversary-vine-frame {
  background-image:
    url("assets/kerose-natural-rose-vine-frame.png"),
    linear-gradient(145deg, rgba(74,10,17,.88), rgba(139,20,34,.86)),
    var(--kerose-memorial-art);
  background-position: center, center, center;
  background-repeat: no-repeat;
  background-size: 100% 100%, cover, cover;
}

/* KEROSE page frame inspired by the family-approved memorial header */
.topline {
  z-index: 2000;
  height: 7px;
  background: #a91927;
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
body::before {
  content: "";
  position: fixed;
  z-index: 1999;
  inset: 7px clamp(8px, 2.8vw, 40px) 10px;
  border-right: 1px solid rgba(85,85,85,.8);
  border-bottom: 1px solid rgba(85,85,85,.8);
  border-left: 1px solid rgba(85,85,85,.8);
  pointer-events: none;
}

@media (max-width: 600px) {
  body::before { right: 7px; bottom: 7px; left: 7px; }
}

/* Home welcome: a brighter, warmer first impression */
.home-page .hero {
  color: #211b1a;
  background:
    linear-gradient(to bottom, #fff 0 136px, transparent 136px),
    linear-gradient(112deg, rgba(255,255,255,.97), rgba(255,252,248,.95) 58%, rgba(248,232,229,.9)),
    var(--kerose-memorial-art) center top / cover no-repeat;
}
.home-page .hero h1 {
  color: #211b1a;
  text-shadow: none;
}
.home-page .hero .eyebrow { color: #a91927; }
.home-page .hero-intro {
  color: #655956;
  text-shadow: none;
}
.home-page .privacy-promise { border-top-color: rgba(74,52,48,.17); }
.home-page .privacy-promise p { color: #70635f; }
.home-page .privacy-promise strong { color: #211b1a; }
.home-page .hero-art {
  background:
    radial-gradient(circle at 51% 45%, rgba(255,255,255,.98) 0 30%, rgba(255,248,244,.91) 31% 55%, rgba(169,25,39,.1) 56% 69%, rgba(255,255,255,.78) 70% 100%);
  border-left: 1px solid rgba(169,25,39,.12);
}
.home-page .hero-logo-mark {
  filter: drop-shadow(0 14px 30px rgba(70,35,35,.14));
}
.home-page .art-quote { color: #211b1a; }
.home-page .art-quote span,
.home-page .vertical-word { color: #8e6e6b; }
