:root {
  --sky-50: #f1f8fd;
  --sky-100: #ddecf8;
  --sky-300: #9fd0ef;
  --sky-500: #64afe1;
  --sky-700: #287cae;
  --pink-50: #fff2f7;
  --pink-300: #f0a8c3;
  --pink-600: #a63868;
  --brown-100: #eadfd9;
  --brown-700: #6b4637;
  --navy-900: #102d44;
  --navy-800: #173b55;
  --ink: #203848;
  --muted: #657985;
  --ivory: #fffdf8;
  --gold: #b99248;
  --line: rgba(16, 45, 68, .13);
  --shadow: 0 26px 70px rgba(32, 65, 88, .16);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: linear-gradient(90deg, rgba(255,242,247,.24), transparent 22%, transparent 78%, rgba(234,223,217,.2)), var(--ivory); font-family: var(--sans); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.section-pad { padding: 96px 0; }
.soft-bg { background: var(--sky-50); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--navy-900); color: white; padding: 12px 18px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.music-bar { position: fixed; z-index: 80; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); max-width: calc(100% - 48px); overflow: hidden; color: rgba(255,255,255,.86); background: rgba(9,31,46,.96); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; box-shadow: 0 14px 38px rgba(6,25,38,.3); backdrop-filter: blur(10px); }
.music-bar-inner { width: auto; min-height: 48px; padding: 0 18px; display: flex; align-items: center; justify-content: center; gap: 11px; }
.music-toggle { padding: 5px 0; display: inline-flex; align-items: center; gap: 8px; border: 0; color: white; background: transparent; font: 700 11px var(--sans); white-space: nowrap; cursor: pointer; }
.music-toggle-icon { width: 16px; color: var(--pink-300); text-align: center; font-size: 10px; }
.music-track { min-width: 0; max-width: 210px; overflow: hidden; color: rgba(255,255,255,.62); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: white; }
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; border: 2px solid rgba(240,168,195,.88); border-radius: 50%; display: grid; place-items: center; background: rgba(16,45,68,.24); box-shadow: 0 0 0 3px rgba(255,255,255,.18); font-family: var(--serif); font-size: 14px; }
.brand strong, .brand small { display: block; }
.brand-copy { position: relative; width: 148px; }
.brand-name { display: block; }
.brand strong { width: 125px; font-family: var(--serif); font-size: 16px; font-weight: 400; white-space: nowrap; }
.brand small { width: 125px; opacity: .8; text-align: justify; text-align-last: justify; text-transform: uppercase; letter-spacing: .045em; font-size: 8px; margin-top: 2px; white-space: nowrap; }
.brand-dove { position: absolute; top: 1px; right: 0; display: inline-block; font-size: 15px; font-style: normal; line-height: 1; filter: saturate(.82) brightness(1.12); }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.site-nav a { text-decoration: none; position: relative; }
.site-nav a:not(.nav-tribute)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: currentColor; transition: right .2s; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.nav-tribute { border: 1px solid rgba(255,255,255,.65); border-radius: 999px; padding: 10px 17px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: white; margin: 5px 0; }

.hero { position: relative; min-height: 880px; overflow: hidden; color: white; background: linear-gradient(128deg, #3f2b28 0%, #173b55 29%, #287cae 68%, #c96f98 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 28%, rgba(255,255,255,.08) 0 1px, transparent 2px), radial-gradient(circle at 84% 72%, rgba(255,255,255,.09) 0 1px, transparent 2px); background-size: 36px 36px, 46px 46px; opacity: .55; }
.hero-wash { position: absolute; width: 700px; height: 700px; right: -240px; top: 40px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 90px rgba(240,168,195,.07), 0 0 0 180px rgba(255,255,255,.03); }
.hero-grid { position: relative; z-index: 2; padding-top: 162px; padding-bottom: 106px; display: grid; grid-template-columns: 1fr .82fr; gap: 92px; align-items: center; }
.eyebrow { color: var(--sky-300); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 700; margin: 0 0 20px; }
.hero-name-block { width: min(100%, 620px); }
.hero h1 { width: 100%; margin: 0; font-family: var(--serif); font-size: clamp(56px, 7vw, 92px); line-height: 1.04; letter-spacing: -.045em; font-weight: 400; }
.hero h1 span { display: block; white-space: nowrap; }
.hero-first-name { font-size: 1em; letter-spacing: .015em; }
.hero h1 .hero-full-name { margin-top: 17px; color: #dceefa; font-size: .67em; letter-spacing: -.025em; }
.known-as { margin: 26px 0 16px; font-family: var(--serif); font-style: italic; font-size: 19px; color: #e4f2fb; }
.known-as span { padding-bottom: 4px; border-bottom: 2px solid rgba(255,255,255,.62); }
.hero-meta { width: max-content; max-width: 100%; }
.life-dates { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 13px; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: rgba(255,255,255,.78); }
.life-dates span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero-intro { max-width: 600px; margin: 28px 0 34px; font-size: 17px; color: rgba(255,255,255,.8); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 12px 23px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy-900); background: linear-gradient(135deg, white, var(--pink-50)); box-shadow: 0 12px 30px rgba(6,31,47,.16); }
.button-quiet { color: white; border: 1px solid rgba(255,255,255,.35); }
.hero-portrait { margin: 0; position: relative; }
.portrait-frame { position: relative; border-radius: 48% 48% 10px 10px; padding: 10px; border: 1px solid rgba(255,255,255,.25); }
.portrait-frame::before { content: ""; position: absolute; inset: -25px 25px 30px -25px; border: 1px solid rgba(255,255,255,.15); border-radius: inherit; z-index: -1; }
.portrait-frame img { width: 100%; max-height: 610px; object-fit: cover; object-position: center 18%; border-radius: inherit; filter: saturate(.92) contrast(1.02); box-shadow: var(--shadow); }
.hero-portrait figcaption { position: absolute; left: -24px; bottom: 34px; padding: 14px 19px; background: rgba(255,253,248,.94); color: var(--navy-900); box-shadow: 0 12px 40px rgba(6,31,47,.2); font-family: var(--serif); font-size: 13px; }
.hero-portrait figcaption span { color: var(--gold); margin-right: 7px; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 25px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.63); text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: 9px; }
.scroll-cue span { width: 1px; height: 28px; background: rgba(255,255,255,.5); }

.intro-section h2, .tribute-callout h2 { margin: 0 0 20px; color: var(--navy-900); font-family: var(--serif); font-size: clamp(35px, 5vw, 54px); font-weight: 400; line-height: 1.2; }
.love-heading { white-space: nowrap; }
.love-heart { display: inline-block; color: var(--pink-600); font-family: var(--sans); font-size: .55em; vertical-align: .18em; animation: heart-pulse 2.2s ease-in-out infinite; }
@keyframes heart-pulse { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.18); } }
.intro-section .eyebrow, .tribute-callout .eyebrow { color: var(--sky-700); }
.lead { color: var(--muted); font-size: 18px; }
.petal-divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 32px; color: var(--gold); }
.petal-divider span { width: 70px; height: 1px; background: var(--line); }
.petal-divider i { font-style: normal; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path-card { min-height: 330px; padding: 38px; display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 5px solid var(--pink-300); background: rgba(255,255,255,.72); text-decoration: none; transition: transform .25s, box-shadow .25s, background .25s; }
.path-card:nth-child(2) { border-top-color: var(--sky-500); }
.path-card:nth-child(3) { border-top-color: var(--brown-700); }
.path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: white; }
.path-card.featured { background: var(--navy-900); color: white; border-color: var(--navy-900); }
.path-number { color: var(--gold); font-size: 12px; letter-spacing: .14em; }
.path-card h3 { margin: auto 0 14px; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.path-card p { margin: 0; color: var(--muted); font-size: 15px; }
.path-card.featured p { color: rgba(255,255,255,.7); }
.path-link { margin-top: 24px; font-size: 13px; font-weight: 700; }
.tribute-panel { padding: 54px 58px; display: flex; align-items: center; justify-content: space-between; gap: 40px; color: white; background: linear-gradient(120deg, var(--brown-700), var(--navy-900) 43%, #28698f 76%, var(--pink-600)); box-shadow: var(--shadow); }
.tribute-panel p { max-width: 650px; margin-bottom: 0; color: rgba(255,255,255,.75); }
.tribute-panel .eyebrow { color: var(--sky-300); }
.tribute-panel h2 { color: white; font-size: 38px; }

.home-tributes { background: linear-gradient(135deg, var(--pink-50), var(--ivory) 48%, var(--sky-50)); }
.home-tributes-heading { max-width: 760px; margin: 0 auto 42px; }
.home-tributes-heading .eyebrow { color: var(--sky-700); }
.home-tributes-heading h2 { margin: 8px 0 14px; color: var(--navy-900); font: 400 clamp(34px, 5vw, 52px)/1.2 var(--serif); }
.home-tributes-heading p:last-child { margin: 0; color: var(--muted); }
.home-tribute-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-tribute-card { padding: 26px; border: 1px solid var(--line); border-top-width: 4px; background: rgba(255,255,255,.9); box-shadow: 0 16px 42px rgba(32,65,88,.08); }
.home-tribute-card h3 { margin: 21px 0 12px; color: var(--navy-900); font: 400 21px/1.4 var(--serif); }
.home-tribute-card blockquote { margin: 0; color: var(--ink); font: italic 16px/1.7 var(--serif); }
.home-tribute-read { margin-top: 18px; display: inline-block; color: var(--sky-700); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.home-tribute-read:hover { color: var(--navy-900); text-decoration: underline; text-underline-offset: 5px; }
.home-tribute-actions { margin-top: 34px; display: flex; justify-content: center; align-items: center; gap: 26px; }
.text-link { color: var(--sky-700); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-footer { padding: 42px 0; color: rgba(255,255,255,.7); background: linear-gradient(110deg, #3d2a25, #0a2436 52%, #632a45); font-size: 13px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner p { margin: 3px 0; }
.footer-name { color: white; font-family: var(--serif); font-size: 17px; }
.footer-actions { text-align: right; }
.footer-share { padding: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.32); color: white; background: transparent; font: 600 12px var(--sans); cursor: pointer; }
.footer-share:hover { border-bottom-color: white; }
.share-status { margin-left: 8px; color: var(--sky-300); font-size: 11px; }
.footer-credit { width: max-content; margin: 9px 0 0 auto; display: block; color: var(--pink-300); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-decoration: none; }
.footer-credit:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }

/* Interior pages */
.page-hero { position: relative; overflow: hidden; min-height: 590px; padding: 160px 0 90px; color: white; background: linear-gradient(128deg, #4a332c 0%, #173b55 32%, #2b759f 71%, #c9779b 100%); }
.page-hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -170px; bottom: -280px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 75px rgba(255,255,255,.035), 0 0 0 150px rgba(255,255,255,.025); }
.page-hero.compact { min-height: 450px; padding-top: 170px; }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .65fr; align-items: center; gap: 90px; }
.page-hero h1 { margin: 0 0 24px; font: 400 clamp(44px, 6vw, 72px)/1.13 var(--serif); letter-spacing: -.04em; }
.page-hero p:not(.eyebrow) { max-width: 680px; color: rgba(255,255,255,.76); font-size: 17px; }
.page-hero .center > p:not(.eyebrow) { margin-inline: auto; text-wrap: balance; }
.balanced-copy { margin-inline: auto; text-wrap: balance; }
.page-hero-grid img { width: 100%; height: 350px; object-fit: cover; object-position: center 18%; border-radius: 50% 50% 8px 8px; border: 8px solid rgba(255,255,255,.14); box-shadow: var(--shadow); }
.desktop-only { display: initial; }
.mobile-only { display: none; }
.legacy-hero-copy, .gallery-hero-copy, .video-hero-copy, .tribute-hero-copy { max-width: 1050px; }
.gallery-hero h1, .video-hero h1, .tribute-hero h1 { white-space: nowrap; }
.reading-progress { position: fixed; z-index: 100; inset: 0 0 auto; height: 4px; background: rgba(255,255,255,.2); }
.reading-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--pink-300), var(--sky-300), var(--gold)); transition: width .08s linear; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 80px; align-items: start; }
.prose h2, .tribute-layout h2 { margin: 0 0 24px; color: var(--navy-900); font: 400 clamp(34px, 5vw, 50px)/1.2 var(--serif); }
.prose h3 { margin: 42px 0 14px; color: var(--navy-900); font: 400 clamp(25px, 3vw, 32px)/1.25 var(--serif); }
.prose p { margin: 0 0 24px; }
.draft-note { margin-top: 42px; padding: 26px 28px; border-left: 3px solid var(--gold); background: var(--sky-50); }
.draft-note p { margin: 8px 0 0; color: var(--muted); }
.family-message { margin: 46px 0 30px; padding: 30px; border-left: 3px solid var(--pink-600); background: #fbf6f2; }
.family-message p:last-child { margin-bottom: 0; }
.scripture-panel { margin: 48px 0 28px; padding: 30px; border: 1px solid var(--pink-300); border-radius: 3px; background: linear-gradient(135deg, var(--pink-50), var(--sky-50)); text-align: center; }
.scripture-panel p { margin: 0 0 12px; color: var(--navy-900); font: italic 24px/1.55 var(--serif); }
.scripture-panel cite { color: var(--brown-700); font-style: normal; font-weight: 700; }
.compact-verse { max-width: 620px; margin: 38px auto 0; padding: 22px 28px; }
.compact-verse p { font-size: 21px; }
.closing-line { color: var(--navy-900); font: italic 25px/1.5 var(--serif); }
.scripture-section { position: relative; overflow: hidden; background: linear-gradient(135deg, #eef8ff, #fff5f8 48%, #f8f0ea); }
.scripture-heading { margin-bottom: 42px; }
.scripture-heading.narrow { max-width: 100%; }
.scripture-heading .eyebrow { color: var(--sky-700); }
.scripture-heading p:last-child { color: var(--muted); }
.scripture-section h2 { margin: 10px 0 12px; color: var(--navy-900); font: 400 clamp(34px, 4vw, 50px)/1.2 var(--serif); white-space: nowrap; }
.verse-grid { width: min(900px, 100%); margin-inline: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.verse-grid blockquote { margin: 0; padding: 32px; border: 1px solid var(--line); border-top: 4px solid var(--sky-500); background: rgba(255,255,255,.84); box-shadow: 0 16px 45px rgba(32,65,88,.08); }
.verse-grid blockquote:nth-child(2) { border-top-color: var(--pink-600); background: rgba(255,242,247,.8); }
.verse-grid blockquote:nth-child(3) { border-top-color: var(--gold); background: rgba(255,253,248,.9); }
.verse-grid blockquote:nth-child(4) { border-top-color: var(--brown-700); background: rgba(234,223,217,.45); }
.verse-grid blockquote > span { display: inline-block; margin-bottom: 18px; color: var(--sky-700); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 700; }
.verse-grid p { margin: 0 0 18px; color: var(--navy-900); font: italic 19px/1.65 var(--serif); }
.verse-grid cite { color: var(--brown-700); font-style: normal; font-weight: 700; }
.fact-card { padding: 34px; border: 1px solid var(--line); background: linear-gradient(145deg, var(--sky-50), var(--pink-50)); box-shadow: 12px 12px 0 var(--brown-100); }
.fact-card .eyebrow { color: var(--sky-700); }
.fact-card dl { margin: 0; }
.fact-card dl div { padding: 15px 0; border-bottom: 1px solid var(--line); }
.fact-card dl div:last-child { border: 0; }
.fact-card dt { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
.fact-card dd { margin: 4px 0 0; color: var(--navy-900); font-family: var(--serif); }

/* Biography chapters and story carousels */
.biography-overview { overflow: hidden; }
.biography-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, .62fr); gap: 80px; align-items: start; margin-bottom: 66px; }
.biography-heading > div > .eyebrow { color: var(--sky-700); }
.biography-heading > div > .eyebrow span { color: var(--pink-600); }
.biography-heading h2, .reading-intro h2 { margin: 0; color: var(--navy-900); font: 400 clamp(44px, 6vw, 72px)/1.12 var(--serif); letter-spacing: -.04em; }
.biography-name-copy { display: flex; flex-direction: column; }
.biography-intro { max-width: 650px; margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.biography-intro p { margin: 0 0 18px; color: var(--muted); font-size: 17px; }
.biography-highlights { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.biography-highlights div { min-height: 112px; padding: 16px; border: 1px solid var(--line); border-top: 3px solid var(--sky-500); background: var(--sky-50); }
.biography-highlights div:nth-child(2) { border-top-color: var(--pink-300); background: var(--pink-50); }
.biography-highlights div:nth-child(3) { border-top-color: var(--gold); background: #fbf6f2; }
.biography-highlights strong, .biography-highlights span { display: block; }
.biography-highlights strong { margin-bottom: 6px; color: var(--navy-900); font: 400 16px var(--serif); }
.biography-highlights span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.biography-chapter-heading { margin: 0 auto 34px; }
.biography-chapter-heading .eyebrow { color: var(--sky-700); }
.biography-chapter-heading h2 { margin: 8px 0 0; color: var(--navy-900); font: 400 clamp(32px, 4.5vw, 48px)/1.2 var(--serif); }
.story-carousel { width: min(900px, 100%); margin-inline: auto; }
.story-stage { position: relative; min-height: 370px; }
.story-slide { min-height: 370px; padding: 54px 58px; display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 42px; align-items: center; border: 1px solid var(--line); border-top: 5px solid var(--pink-300); background: linear-gradient(135deg, white 35%, var(--sky-50)); box-shadow: var(--shadow); }
.js .story-slide:not(.is-active) { display: none; }
.story-index { display: flex; flex-direction: column; color: var(--pink-600); font-family: var(--serif); }
.story-index span { font-size: 54px; line-height: 1; }
.story-index small { margin-top: 9px; color: var(--muted); font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.story-copy .eyebrow { margin-bottom: 12px; color: var(--sky-700); }
.story-copy h2, .story-copy h3 { margin: 0 0 18px; color: var(--navy-900); font: 400 clamp(31px, 4vw, 48px)/1.18 var(--serif); letter-spacing: -.025em; }
.story-copy p:last-child { margin: 0; color: var(--muted); font-size: 17px; }
.story-controls { margin-top: 24px; display: grid; grid-template-columns: 130px 1fr 130px; align-items: center; gap: 18px; }
.story-controls > button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy-900); background: white; font: 700 12px var(--sans); cursor: pointer; }
.story-controls > button:hover { color: white; border-color: var(--navy-900); background: var(--navy-900); }
.story-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.story-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--sky-300); cursor: pointer; }
.story-dots button.is-active { width: 24px; border-radius: 999px; background: var(--pink-600); }
.read-full-panel { margin-top: 88px; padding: 46px 50px; display: flex; align-items: center; justify-content: space-between; gap: 48px; color: white; background: linear-gradient(125deg, var(--navy-900), var(--sky-700) 66%, var(--pink-600)); }
.read-full-panel .eyebrow { color: var(--sky-300); margin-bottom: 9px; }
.read-full-panel h2 { margin: 0 0 10px; font: 400 34px/1.2 var(--serif); }
.read-full-panel p:last-child { max-width: 650px; margin: 0; color: rgba(255,255,255,.76); }
.read-full-panel .button { flex: none; color: var(--navy-900); background: white; }
.reading-column { max-width: 820px; }
.reading-intro { margin-bottom: 72px; text-align: center; }
.reading-intro .eyebrow { color: var(--sky-700); }
.reading-hero h1 { font-size: clamp(42px, 5.2vw, 68px); white-space: nowrap; }
.biography-chapter { padding: 54px 0; display: grid; grid-template-columns: 72px 1fr; gap: 34px; border-top: 1px solid var(--line); }
.chapter-number { margin: 5px 0 0; color: var(--pink-600); font: 400 28px var(--serif); }
.biography-chapter .eyebrow { margin-bottom: 10px; color: var(--sky-700); }
.biography-chapter h2 { margin: 0 0 24px; color: var(--navy-900); font: 400 clamp(30px, 5vw, 44px)/1.2 var(--serif); }
.biography-chapter p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.legacy-stories { background: linear-gradient(180deg, var(--ivory), var(--pink-50)); }
.legacy-slide { grid-template-columns: 145px minmax(0, 1fr); border-top-color: var(--sky-500); }
.legacy-year { width: 126px; height: 126px; display: grid; place-items: center; border: 1px solid var(--pink-300); border-radius: 50%; color: var(--navy-900); background: var(--pink-50); font: 400 20px var(--serif); text-align: center; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 65px; top: 30px; bottom: 40px; width: 1px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 42px; padding: 0 0 80px; }
.timeline-year { position: relative; z-index: 1; width: 130px; height: 130px; display: grid; place-items: center; border: 1px solid var(--sky-300); border-radius: 50%; color: var(--navy-900); background: var(--ivory); font: 400 23px var(--serif); }
.timeline .eyebrow { margin-top: 12px; color: var(--sky-700); }
.timeline h2 { margin: 0 0 14px; color: var(--navy-900); font: 400 32px var(--serif); }
.timeline p { color: var(--muted); }
.timeline li.placeholder .timeline-year { border-style: dashed; color: var(--muted); }
.timeline li:nth-child(1) .timeline-year { border-color: var(--pink-300); background: var(--pink-50); }
.timeline li:nth-child(3) .timeline-year { border-color: var(--brown-700); background: #fbf6f2; }
.timeline li.placeholder > div:last-child { padding: 28px; border: 1px dashed var(--sky-300); background: var(--sky-50); }

/* Funeral schedule */
.schedule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.livestream-section { background: linear-gradient(135deg, var(--navy-900), #24668d 70%, #8e6486); }
.livestream-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr); gap: 64px; align-items: center; color: white; }
.livestream-copy .eyebrow { color: var(--sky-300); }
.livestream-copy h2 { margin: 8px 0 16px; font: 400 clamp(34px, 5vw, 50px)/1.2 var(--serif); }
.livestream-copy p { color: rgba(255,255,255,.76); }
.livestream-copy .text-link { color: white; }
.livestream-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 5px solid rgba(255,255,255,.18); background: #071b2a; box-shadow: var(--shadow); }
.livestream-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.livestream-placeholder { min-height: 310px; padding: 30px; display: grid; place-items: center; align-content: center; gap: 12px; border: 1px solid rgba(255,255,255,.24); background: rgba(7,27,42,.4); text-align: center; }
.livestream-placeholder > span { width: 68px; height: 68px; display: grid; place-items: center; padding-left: 5px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 22px; }
.livestream-placeholder strong { font: 400 23px var(--serif); }
.livestream-placeholder small { color: rgba(255,255,255,.65); }
.schedule-day { border: 1px solid var(--line); background: white; box-shadow: 0 18px 50px rgba(32,65,88,.08); }
.schedule-day header { padding: 28px 30px; color: white; background: var(--navy-900); }
.schedule-day:nth-child(1) header { background: var(--brown-700); }
.schedule-day:nth-child(2) header { background: var(--sky-700); }
.schedule-day:nth-child(3) header { background: var(--pink-600); }
.schedule-day header p { margin: 0; color: var(--sky-300); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; }
.schedule-day header h2 { margin: 5px 0 0; font: 400 22px var(--serif); }
.schedule-events { padding: 12px 30px 28px; }
.schedule-events > div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.schedule-events > div:last-child { border: 0; }
.schedule-events time { color: var(--sky-700); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.schedule-events h3 { margin: 6px 0 10px; color: var(--navy-900); font: 400 20px var(--serif); }
.schedule-events address { color: var(--muted); font-size: 14px; font-style: normal; }
.verification-flag { padding: 10px 12px; color: #72540e; background: #fff5d8; font-size: 12px; }
.dress-code { margin-top: 32px; padding: 28px 32px; display: flex; align-items: center; gap: 24px; border: 1px solid var(--line); }
.dress-code span { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.dress-code strong { color: var(--navy-900); font: 400 24px var(--serif); }
.dress-code p { margin: 0 0 0 auto; color: var(--muted); font-size: 13px; }

/* Gallery */
.gallery-section { padding-top: 58px; }
.gallery-filters { margin-bottom: 32px; display: flex; flex-wrap: nowrap; justify-content: center; gap: 7px; overflow-x: auto; scrollbar-width: thin; }
.gallery-filters button { flex: none; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; font: 600 11px var(--sans); cursor: pointer; }
.gallery-filters button:hover, .gallery-filters button.is-active { color: white; border-color: var(--navy-900); background: var(--navy-900); }
.gallery-filters button:nth-child(3).is-active,
.gallery-filters button:nth-child(6).is-active { border-color: var(--pink-600); background: var(--pink-600); }
.gallery-filters button:nth-child(4).is-active,
.gallery-filters button:nth-child(7).is-active,
.gallery-filters button:nth-child(9).is-active { border-color: var(--brown-700); background: var(--brown-700); }
.gallery-filters button:nth-child(5).is-active,
.gallery-filters button:nth-child(8).is-active { border-color: var(--sky-700); background: var(--sky-700); }
.gallery-filters span { margin-left: 5px; opacity: .65; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery-item { position: relative; min-height: 210px; padding: 0; overflow: hidden; border: 0; background: var(--sky-100); cursor: pointer; }
.gallery-item[hidden] { display: none; }
.gallery-item img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; transition: transform .35s, filter .35s; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.045); filter: brightness(.78); }
.gallery-item span { position: absolute; left: 12px; bottom: 12px; padding: 6px 9px; color: white; background: rgba(10,36,54,.78); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.lightbox { width: min(1000px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 48px 68px 24px; overflow: hidden; border: 0; color: white; background: rgba(7,25,37,.97); }
.lightbox::backdrop { background: rgba(4,18,27,.86); backdrop-filter: blur(6px); }
.lightbox figure { margin: 0; height: calc(100vh - 150px); display: grid; grid-template-rows: minmax(0,1fr) auto; gap: 12px; }
.lightbox figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lightbox figcaption { color: rgba(255,255,255,.7); text-align: center; font-size: 13px; }
.lightbox-close, .lightbox-nav { position: absolute; border: 0; color: white; background: transparent; cursor: pointer; }
.lightbox-close { right: 18px; top: 10px; font-size: 36px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); font-size: 54px; }
.lightbox-nav.previous { left: 15px; }.lightbox-nav.next { right: 15px; }
.empty-state { padding: 60px 30px; border: 1px dashed var(--sky-300); color: var(--muted); background: var(--sky-50); text-align: center; }
.empty-state h2 { color: var(--navy-900); font: 400 30px var(--serif); }
.empty-state.small { padding: 30px; text-align: left; }

/* Video memories */
.video-section { background: linear-gradient(180deg, var(--ivory), var(--sky-50)); }
.video-feature { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); gap: 42px; align-items: center; }
.video-player-wrap { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 8px solid white; background: var(--navy-900); box-shadow: var(--shadow); }
.video-player-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-feature-copy .eyebrow, .video-gallery-heading .eyebrow { color: var(--sky-700); }
.video-feature-copy h2, .video-gallery-heading h2 { margin: 0 0 18px; color: var(--navy-900); font: 400 clamp(30px, 4vw, 45px)/1.2 var(--serif); }
.video-feature-copy > p:not(.eyebrow) { margin: 0 0 28px; color: var(--muted); }
.video-gallery-heading { margin: 82px 0 30px; display: grid; grid-template-columns: 1fr minmax(300px, .75fr); gap: 42px; align-items: end; }
.video-gallery-heading h2 { margin-bottom: 0; }
.video-gallery-heading > p { margin: 0; color: var(--muted); font-size: 15px; }
.music-playlist-card { margin-top: 64px; padding: 38px 42px; display: flex; align-items: center; justify-content: space-between; gap: 36px; border: 1px solid var(--line); background: linear-gradient(120deg, var(--pink-50), white 54%, var(--sky-50)); box-shadow: 12px 12px 0 var(--brown-100); }
.music-playlist-card .eyebrow { color: var(--sky-700); }
.music-playlist-card h2 { margin: 0 0 10px; color: var(--navy-900); font: 400 clamp(28px, 4vw, 40px)/1.2 var(--serif); }
.music-playlist-card p:last-child { max-width: 650px; margin: 0; color: var(--muted); }
.music-playlist-card .button { flex: 0 0 auto; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.video-card { padding: 0; overflow: hidden; border: 1px solid var(--line); color: var(--ink); background: white; font: inherit; text-align: left; cursor: pointer; transition: transform .22s, border-color .22s, box-shadow .22s; }
.video-card:hover, .video-card.is-active { transform: translateY(-4px); border-color: var(--sky-500); box-shadow: 0 18px 45px rgba(32,65,88,.14); }
.video-thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy-900); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, filter .3s; }
.video-card:hover .video-thumb img { transform: scale(1.035); filter: brightness(.72); }
.video-play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; transform: translate(-50%, -50%); border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(16,45,68,.82); box-shadow: 0 8px 25px rgba(0,0,0,.25); }
.video-play::after { content: ""; position: absolute; left: 22px; top: 17px; border-width: 10px 0 10px 15px; border-style: solid; border-color: transparent transparent transparent white; }
.video-card-copy { min-height: 112px; padding: 18px 20px 20px; display: block; }
.video-card-copy small { display: block; margin-bottom: 6px; color: var(--sky-700); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.video-card-copy strong { display: block; color: var(--navy-900); font: 400 16px/1.45 var(--serif); }

/* Tributes and forms */
.tribute-layout { display: grid; grid-template-columns: 1fr minmax(360px, .82fr); gap: 70px; align-items: start; }
.tribute-wall-section { background: linear-gradient(180deg, var(--ivory), var(--pink-50)); }
.tribute-wall-heading { margin-bottom: 28px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.tribute-wall-heading .eyebrow { margin-bottom: 10px; color: var(--sky-700); }
.tribute-wall-heading h2 { margin: 0; color: var(--navy-900); font: 400 clamp(34px, 5vw, 50px)/1.2 var(--serif); }
.tribute-layout > div > .eyebrow { color: var(--sky-700); }
.tribute-filters { margin: -4px 0 25px; display: flex; flex-wrap: wrap; gap: 8px; }
.tribute-filters a { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy-900); background: white; font: 600 11px var(--sans); text-decoration: none; cursor: pointer; }
.tribute-filters a:hover, .tribute-filters a.is-active { color: white; border-color: var(--navy-900); background: var(--navy-900); }
.tribute-list { display: grid; gap: 18px; }
.tribute-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.tribute-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-top-width: 4px; background: white; box-shadow: 0 14px 38px rgba(32,65,88,.07); }
.tribute-wall .tribute-card { min-height: 285px; padding: 24px; display: flex; flex-direction: column; }
.tribute-wall .tribute-card[hidden] { display: none !important; }
.tribute-immediate-family { border-top-color: var(--navy-900); }
.tribute-family, .featured-tribute { border-top-color: var(--pink-300); }
.tribute-friend { border-top-color: var(--sky-500); }
.tribute-colleague { border-top-color: var(--gold); }
.tribute-community { border-top-color: #8d79a8; }
.tribute-summary { padding: 26px 28px 24px; display: block; cursor: pointer; list-style: none; }
.tribute-summary::-webkit-details-marker { display: none; }
.tribute-author { display: flex; align-items: center; gap: 13px; }
.tribute-author > span:last-child { display: flex; flex-direction: column; }
.tribute-author strong { color: var(--navy-900); font-size: 15px; }
.tribute-author small { color: var(--muted); font-size: 12px; }
.tribute-avatar { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--pink-300); border-radius: 50%; color: var(--navy-900); background: var(--pink-50); font: 400 13px var(--serif); }
.tribute-title { margin: 21px 0 9px; display: block; color: var(--navy-900); font: 400 22px/1.35 var(--serif); }
.tribute-excerpt { display: block; color: var(--ink); font: italic 17px/1.7 var(--serif); }
.tribute-wall .tribute-excerpt { margin: 0; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; font-size: 15px; line-height: 1.65; }
.tribute-open { width: max-content; margin-top: auto; padding: 18px 0 0; border: 0; color: var(--sky-700); background: transparent; font: 700 11px var(--sans); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.tribute-open:hover { color: var(--navy-900); text-decoration: underline; text-underline-offset: 5px; }
.tribute-reactions { margin-top: 17px; padding-top: 14px; display: flex; align-items: center; gap: 18px; border-top: 1px solid var(--line); }
.tribute-reactions form { margin: 0; }
.tribute-reaction { padding: 0; display: inline-flex; align-items: center; gap: 7px; border: 0; color: var(--muted); background: transparent; font: 700 11px/1.3 var(--sans); cursor: pointer; }
.tribute-reaction > span { color: var(--pink-500); font-size: 20px; line-height: 1; }
.tribute-reaction strong { min-width: 18px; padding: 2px 6px; border-radius: 999px; color: var(--navy-900); background: var(--pink-50); font-size: 10px; text-align: center; }
.tribute-reaction:hover { color: var(--navy-900); }
.tribute-love[aria-pressed="true"] > span { color: var(--pink-500); font-weight: 700; }
.tribute-love:disabled { cursor: default; opacity: 1; }
.tribute-toggle { margin-top: 17px; display: inline-flex; align-items: center; gap: 8px; color: var(--sky-700); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tribute-toggle i { font-size: 18px; font-style: normal; transition: transform .2s; }
.when-open { display: none; }
.tribute-card[open] .tribute-excerpt { display: none; }
.tribute-card[open] .when-closed { display: none; }
.tribute-card[open] .when-open { display: inline; }
.tribute-card[open] .tribute-toggle i { transform: rotate(180deg); }
.tribute-full { padding: 0 28px 28px 83px; color: var(--ink); }
.tribute-full p { margin: 0 0 18px; }
.tribute-full p:last-child { margin-bottom: 0; }
.tribute-photo { width: min(620px, 100%); max-height: 540px; margin: 26px auto 0; padding: 6px; display: block; object-fit: contain; object-position: center; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 14px 34px rgba(32,65,88,.13); }
.tribute-family .tribute-photo { border-color: var(--pink-300); }
.tribute-immediate-family .tribute-photo { border-color: var(--navy-900); }
.tribute-friend .tribute-photo { border-color: var(--sky-500); }
.tribute-colleague .tribute-photo { border-color: var(--gold); }
.tribute-community .tribute-photo { border-color: #8d79a8; }
.short-tribute { padding: 26px 28px; }
.short-tribute .tribute-title { margin-bottom: 9px; }
.tribute-list blockquote { margin: 0; color: var(--ink); font: italic 17px/1.7 var(--serif); }
.tribute-dialog { width: min(780px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 42px; overflow-y: auto; border: 0; border-top: 5px solid var(--pink-300); color: var(--ink); background: var(--ivory); box-shadow: 0 28px 90px rgba(6,31,47,.35); }
.tribute-dialog::backdrop { background: rgba(6,31,47,.72); backdrop-filter: blur(3px); }
.tribute-dialog.tribute-immediate-family { border-top-color: var(--navy-900); }
.tribute-dialog.tribute-friend { border-top-color: var(--sky-500); }
.tribute-dialog.tribute-colleague { border-top-color: var(--gold); }
.tribute-dialog.tribute-community { border-top-color: #8d79a8; }
.tribute-dialog-close { position: absolute; top: 14px; right: 17px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--navy-900); background: white; font-size: 24px; cursor: pointer; }
.tribute-dialog h2 { margin: 28px 0 22px; color: var(--navy-900); font: 400 clamp(28px, 5vw, 42px)/1.25 var(--serif); }
.tribute-dialog-copy p { margin: 0 0 18px; font: italic 17px/1.75 var(--serif); }
.tribute-dialog-photo { width: min(600px, 100%); margin: 28px auto 0; padding: 7px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 15px 40px rgba(32,65,88,.14); }
.tribute-dialog-photo img { width: 100%; max-height: 68vh; display: block; object-fit: contain; border-radius: 11px; }
.tribute-reply-panel { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.tribute-reply-heading { margin-bottom: 15px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.tribute-reply-heading .eyebrow { margin: 0 0 4px; color: var(--sky-700); }
.tribute-reply-heading h3 { margin: 0; color: var(--navy-900); font: 400 27px/1.25 var(--serif); }
.tribute-reply-heading > span { color: var(--muted); font-size: 12px; }
.tribute-reply { margin-top: 10px; padding: 15px 17px; border-left: 3px solid var(--pink-300); background: white; }
.tribute-reply strong { display: block; color: var(--navy-900); font-size: 13px; }
.tribute-reply small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.tribute-reply p { margin: 5px 0 0; color: var(--ink); font: 400 14px/1.55 var(--sans); }
.tribute-reply-empty { margin: 0; padding: 15px 17px; color: var(--muted); background: white; font-size: 14px; }
.tribute-reply-form { margin-top: 18px; padding: 18px; display: grid; gap: 13px; background: var(--sky-50); }
.tribute-reply-form label { display: grid; gap: 6px; color: var(--navy-900); font-size: 12px; font-weight: 700; }
.tribute-reply-form input, .tribute-reply-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); color: var(--ink); background: white; font: 400 16px/1.45 var(--sans); }
.tribute-reply-form .button { width: max-content; padding: 12px 18px; }
.tribute-reply-form small { color: var(--muted); font-size: 11px; }
.tribute-form-section { background: linear-gradient(145deg, var(--ivory), var(--sky-50)); }
.tribute-form-shell { width: min(760px, calc(100% - 40px)); }
.form-back-link { margin: 28px 0 0; text-align: center; }
.form-back-link a { color: var(--sky-700); font-weight: 700; text-decoration: none; }
.tribute-form { padding: 36px; border: 1px solid var(--line); background: linear-gradient(145deg, var(--sky-50), var(--pink-50)); box-shadow: 14px 14px 0 var(--brown-100); }
.tribute-form .eyebrow { color: var(--sky-700); }
.tribute-form h1, .tribute-form h2 { margin: 0 0 24px; color: var(--navy-900); font: 400 32px var(--serif); }
.tribute-form > label:not(.consent) { margin: 0 0 18px; display: block; color: var(--navy-900); font-size: 13px; font-weight: 700; }
.tribute-form label > span { float: right; color: var(--muted); font-size: 10px; font-weight: 500; }
.tribute-form input, .tribute-form textarea { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid rgba(16,45,68,.2); border-radius: 3px; color: var(--ink); background: white; font: 400 15px var(--sans); }
.tribute-form textarea { resize: vertical; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 8px 0 22px; font-size: 12px; }
.consent input { width: 18px; margin: 2px 0 0; }
.consent span { float: none !important; font-size: 12px !important; }
.button-dark { border: 0; color: white; background: var(--navy-900); cursor: pointer; }
.privacy-note { margin: 18px 0 0; color: var(--muted); font-size: 11px; }
.honeypot { position: absolute; left: -10000px; }
.notice { margin: 0 0 20px; padding: 14px 16px; font-size: 13px; }
.notice.success { color: #245d47; background: #e7f6ee; }
.notice.error { color: #7e302d; background: #faeae8; }
.notice ul { margin-bottom: 0; padding-left: 20px; }
.edit-link-notice { margin-top: 9px; display: block; color: inherit; font-weight: 700; }
.tribute-edit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button-delete { border: 1px solid #9b2c2c; color: #8b1f1f; background: white; }
.button-delete:hover { color: white; background: #8b1f1f; }
.edit-tribute-section { background: linear-gradient(135deg, var(--ivory), var(--sky-50)); }
.edit-tribute-shell { width: min(760px, calc(100% - 40px)); }
.edit-tribute-shell .tribute-form { width: 100%; }
.current-tribute-image { margin: 0 0 22px; }
.current-tribute-image > span { margin-bottom: 8px; display: block; color: var(--navy-900); font-size: 13px; font-weight: 700; }
.current-tribute-image img { width: min(320px, 100%); max-height: 320px; object-fit: contain; border: 1px solid var(--line); border-radius: 14px; background: white; }
.current-tribute-image .consent { margin-top: 10px; }
.edit-expired { padding: 48px; border: 1px solid var(--line); background: white; text-align: center; box-shadow: var(--shadow); }
.edit-expired .eyebrow { color: var(--sky-700); }
.edit-expired h2 { margin: 8px 0 14px; color: var(--navy-900); font: 400 34px/1.3 var(--serif); }

/* Private administration */
.admin-body { min-height: 100vh; padding: 40px 20px; background: var(--sky-50); }
.admin-login { width: min(480px, 100%); margin: 50px auto; }
.admin-login > a { display: inline-block; margin-bottom: 20px; color: var(--sky-700); text-decoration: none; }
.admin-review { width: min(1100px, 100%); margin: auto; }
.admin-review > header { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 30px; }
.admin-review h1 { margin: 0; color: var(--navy-900); font: 400 42px var(--serif); }
.admin-tributes { display: grid; gap: 14px; }
.admin-tributes article { padding: 26px; border: 1px solid var(--line); background: white; }
.admin-tributes h2 { margin: 18px 0 8px; color: var(--navy-900); font: 400 24px var(--serif); }
.admin-tribute-photo { width: min(420px, 100%); max-height: 420px; margin-top: 18px; object-fit: contain; border: 1px solid var(--line); }
.admin-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.admin-meta span, .admin-meta time { color: var(--muted); font-size: 12px; }
.admin-meta b { margin-left: auto; padding: 4px 8px; border-radius: 999px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.status-pending { color: #755817; background: #fff4cd; }.status-approved { color: #1f6246; background: #e1f5ea; }.status-rejected,.status-removed { color: #7e302d; background: #faeae8; }
.review-actions { display: flex; gap: 8px; margin-top: 18px; }
.review-actions button { padding: 8px 12px; border: 1px solid var(--line); background: var(--sky-50); cursor: pointer; }
.review-actions a { padding: 8px 12px; border: 1px solid var(--sky-500); color: var(--sky-700); background: white; font-size: 13px; font-weight: 700; text-decoration: none; }
.admin-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.admin-nav > a { padding: 10px 13px; border-radius: 999px; color: var(--navy-900); font-size: 13px; font-weight: 700; text-decoration: none; }
.admin-nav > a:hover, .admin-nav > a.is-active { color: white; background: var(--sky-700); }
.admin-nav form { margin: 0; }
.admin-gallery > header p:last-child { max-width: 560px; margin: 8px 0 0; color: var(--muted); }
.gallery-upload-form { overflow: hidden; border: 1px solid var(--line); background: white; box-shadow: var(--shadow); }
.upload-step { padding: 28px 32px; display: grid; grid-template-columns: 44px minmax(210px, .8fr) minmax(280px, 1.2fr); align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.upload-step:last-child { border-bottom: 0; }
.upload-step > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--sky-700); font-weight: 700; }
.upload-step label { display: flex; flex-direction: column; gap: 6px; color: var(--navy-900); }
.upload-step label strong { font: 400 22px/1.25 var(--serif); }
.upload-step label small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.upload-step select, .upload-step input[type="text"], .upload-step input[type="file"] { width: 100%; padding: 13px 14px; border: 1px solid rgba(16,45,68,.25); border-radius: 5px; color: var(--ink); background: white; font: 400 15px var(--sans); }
.upload-step input[type="file"] { padding: 11px; }
.selected-file-count { grid-column: 3; color: var(--sky-700); font-size: 13px; font-weight: 700; }
.upload-step .button { width: max-content; margin-top: 14px; }
.upload-step .privacy-note { margin: 14px 0 0; }
.setup-prompt { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.setup-prompt a, .admin-return a { color: var(--sky-700); font-weight: 700; }
.admin-dashboard > header p:last-child, .admin-accounts > header p:last-child { margin: 8px 0 0; color: var(--muted); }
.admin-dashboard-grid { max-width: 920px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.admin-dashboard-grid > a { min-height: 300px; padding: 34px; display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 5px solid var(--sky-500); border-radius: 10px; color: var(--navy-900); background: white; box-shadow: 0 14px 38px rgba(32,65,88,.08); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.admin-dashboard-grid > a:nth-child(2) { border-top-color: var(--pink-300); }
.admin-dashboard-grid > a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.admin-dashboard-grid .dashboard-icon { width: 52px; height: 52px; margin-bottom: 30px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--sky-700); }
.admin-dashboard-grid .dashboard-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.admin-dashboard-grid strong { margin-bottom: 10px; font: 400 26px/1.2 var(--serif); }
.admin-dashboard-grid small { color: var(--muted); font-size: 14px; line-height: 1.6; }
.admin-dashboard-grid b { margin-top: auto; padding-top: 26px; color: var(--sky-700); font-size: 13px; letter-spacing: .02em; }
.admin-dashboard-grid b span { display: inline; margin-left: 5px; font-size: 18px; }
.admin-return { margin-top: 28px; text-align: right; }
.account-layout { display: grid; grid-template-columns: minmax(340px,.8fr) 1fr; gap: 28px; align-items: start; }
.account-layout .tribute-form { width: 100%; }
.account-list { padding: 30px; border: 1px solid var(--line); background: white; }
.account-list h2 { margin: 0 0 18px; color: var(--navy-900); font: 400 28px var(--serif); }
.account-list article { padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.account-list article:last-child { border-bottom: 0; }
.account-list small { color: var(--muted); }
.admin-edit select { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid rgba(16,45,68,.2); background: white; font: 400 15px var(--sans); }
.admin-section-title { margin: 38px 0 18px; color: var(--navy-900); font: 400 32px/1.2 var(--serif); }

:focus-visible { outline: 3px solid #f0c96f; outline-offset: 4px; }
@media (max-width: 900px) {
  .site-header { position: absolute; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 88px; left: 20px; right: 20px; padding: 24px; flex-direction: column; align-items: stretch; gap: 8px; color: var(--navy-900); background: white; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px; }
  .nav-tribute { text-align: center; background: var(--sky-100); }
  .hero-grid { grid-template-columns: 1fr 380px; gap: 36px; }
  .card-grid { grid-template-columns: 1fr; }
  .home-tribute-grid { grid-template-columns: 1fr; }
  .tribute-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-card { min-height: 245px; }
  .page-hero-grid, .detail-layout, .tribute-layout { grid-template-columns: 1fr; }
  .page-hero-grid img { width: min(380px, 80%); justify-self: center; }
  .biography-heading { grid-template-columns: 1fr; gap: 38px; }
  .read-full-panel { align-items: flex-start; flex-direction: column; }
  .schedule-grid { grid-template-columns: 1fr; }
  .livestream-panel { grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .video-feature { grid-template-columns: 1fr; }
  .video-gallery-heading { grid-template-columns: 1fr; gap: 15px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .admin-body { padding: 24px 14px; }
  .admin-review > header { align-items: flex-start; flex-direction: column; }
  .admin-nav { justify-content: flex-start; }
  .upload-step { padding: 24px 20px; grid-template-columns: 38px 1fr; align-items: start; }
  .upload-step > select, .upload-step > input, .upload-step > button, .upload-step > p, .selected-file-count { grid-column: 1 / -1; }
  .upload-step .button { width: 100%; }
  .admin-dashboard-grid, .account-layout { grid-template-columns: 1fr; }
  .admin-dashboard-grid > a { min-height: 190px; }
  .account-list article { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 720px) {
  .music-bar { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); max-width: calc(100% - 28px); }
  .music-bar-inner { min-height: 48px; padding: 0 16px; }
  .music-toggle { font-size: 12px; }
  .music-track { display: none; }
  .shell { width: min(100% - 28px, 1160px); }
  .section-pad { padding: 56px 0; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 126px; padding-bottom: 90px; }
  .hero-copy { text-align: center; }
  .hero-name-block { margin-inline: auto; }
  .hero-meta { margin-inline: auto; }
  .hero h1 { font-size: clamp(48px, 15vw, 62px); }
  .hero h1 .hero-full-name { margin-top: 12px; font-size: .65em; }
  .known-as { margin-top: 23px; font-size: 16px; }
  .life-dates { justify-content: space-between; gap: 8px; font-size: 10px; letter-spacing: .045em; }
  .hero-actions { justify-content: center; }
  .hero-intro { margin-inline: auto; }
  .hero-intro, .page-hero p:not(.eyebrow) { font-size: 14px; line-height: 1.65; }
  .desktop-only { display: none; }
  .mobile-only { display: initial; }
  .hero-portrait { width: min(82%, 380px); margin-inline: auto; }
  .hero-portrait figcaption { left: -18px; }
  .love-heading { font-size: clamp(20px, 5.65vw, 24px) !important; letter-spacing: -.025em; white-space: nowrap; }
  .home-tributes-heading { margin-bottom: 30px; }
  .home-tribute-grid { gap: 13px; }
  .home-tribute-actions { align-items: stretch; flex-direction: column; text-align: center; }
  .tribute-panel { padding: 38px 26px; flex-direction: column; align-items: flex-start; }
  .tribute-panel h2 { font-size: 30px; line-height: 1.14; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .footer-actions { text-align: left; }
  .footer-credit { margin-left: 0; }
  .page-hero { min-height: auto; padding: 126px 0 48px; }
  .page-hero.compact { min-height: 330px; padding: 130px 0 54px; }
  .page-hero h1 { margin-bottom: 16px; font-size: 38px; line-height: 1.13; }
  .about-hero .page-hero-grid { gap: 30px; }
  .about-hero .page-hero-grid img { width: min(290px, 82%); height: 320px; }
  .about-hero .hero-description { margin-bottom: 0; }
  .gallery-hero h1 { font-size: clamp(28px, 7.6vw, 34px); white-space: nowrap; }
  .video-hero h1 { font-size: clamp(30px, 9.5vw, 42px); white-space: nowrap; }
  .tribute-hero h1 { font-size: clamp(30px, 8.6vw, 38px); white-space: nowrap; }
  .legacy-hero-copy h1 { font-size: 37px; }
  .biography-heading { margin-bottom: 48px; }
  .biography-intro { margin-top: 28px; padding-top: 24px; }
  .biography-intro p { font-size: 15px; }
  .biography-highlights { grid-template-columns: 1fr; }
  .biography-highlights div { min-height: 0; }
  .biography-heading h2, .reading-intro h2 { font-size: 44px; }
  .fact-card { padding: 27px; box-shadow: 8px 8px 0 var(--brown-100); }
  .story-stage, .story-slide { min-height: 410px; }
  .story-slide { padding: 34px 26px; grid-template-columns: 1fr; gap: 22px; align-content: center; }
  .story-index { flex-direction: row; align-items: baseline; gap: 8px; }
  .story-index span { font-size: 40px; }
  .legacy-slide { grid-template-columns: 1fr; }
  .legacy-year { width: 78px; height: 78px; font-size: 14px; }
  .story-copy h2, .story-copy h3 { font-size: 31px; }
  .story-copy p:last-child { font-size: 15px; }
  .story-controls { grid-template-columns: 94px 1fr 94px; gap: 8px; }
  .story-controls > button { padding: 7px 9px; font-size: 10px; }
  .story-dots { gap: 5px; }
  .story-dots button { width: 7px; height: 7px; }
  .story-dots button.is-active { width: 18px; }
  .read-full-panel { margin-top: 62px; padding: 34px 27px; gap: 25px; }
  .read-full-panel h2 { font-size: 30px; }
  .reading-intro { margin-bottom: 45px; }
  .biography-chapter { padding: 40px 0; grid-template-columns: 1fr; gap: 8px; }
  .chapter-number { font-size: 21px; }
  .biography-chapter p:not(.eyebrow) { font-size: 15px; }
  .timeline::before { left: 34px; }
  .timeline li { grid-template-columns: 68px 1fr; gap: 18px; }
  .timeline-year { width: 68px; height: 68px; font-size: 15px; }
  .timeline .eyebrow { margin-top: 0; }
  .verse-grid { grid-template-columns: 1fr; }
  .scripture-heading { margin-bottom: 30px; }
  .scripture-heading h2 { font-size: 32px; }
  .scripture-section h2, .reading-hero h1 { white-space: normal; }
  .verse-grid blockquote { padding: 27px; }
  .dress-code { align-items: flex-start; flex-wrap: wrap; }
  .dress-code p { width: 100%; margin-left: 0; }
  .livestream-placeholder { min-height: 230px; }
  .gallery-section { padding-top: 34px; }
  .gallery-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 24px; overflow: visible; }
  .gallery-filters button { min-width: 0; padding: 8px 5px; font-size: 9px; line-height: 1.25; white-space: normal; }
  .gallery-filters span { display: block; margin: 2px 0 0; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .gallery-item, .gallery-item img { min-height: 160px; }
  .video-grid { grid-template-columns: 1fr; gap: 14px; }
  .video-feature { gap: 30px; }
  .video-playlist-heading { display: none; }
  .video-player-wrap { border-width: 4px; }
  .music-playlist-card { margin-top: 44px; padding: 30px 24px; align-items: flex-start; flex-direction: column; gap: 24px; box-shadow: 8px 8px 0 var(--brown-100); }
  .music-playlist-card h2 { font-size: 29px; }
  .video-gallery-heading { margin-top: 58px; }
  .video-card { display: grid; grid-template-columns: 42% 1fr; align-items: stretch; }
  .video-thumb { aspect-ratio: auto; min-height: 128px; }
  .video-card-copy { min-height: 0; padding: 16px; align-self: center; }
  .video-card-copy strong { font-size: 14px; }
  .lightbox { padding: 45px 42px 20px; }
  .tribute-form { padding: 28px 20px; box-shadow: 8px 8px 0 var(--sky-100); }
  .tribute-wall-heading { align-items: flex-start; flex-direction: column; }
  .tribute-wall { grid-template-columns: 1fr; }
  .tribute-wall .tribute-card { min-height: 260px; padding: 22px 20px; }
  .tribute-dialog { padding: 32px 22px 24px; }
  .tribute-dialog-copy p { font-size: 16px; }
  .tribute-layout h2 { font-size: 34px; }
  .tribute-filters { gap: 6px; }
  .tribute-filters a { padding: 7px 10px; font-size: 10px; }
  .tribute-summary, .short-tribute { padding: 22px 20px; }
  .tribute-full { padding: 0 20px 24px; }
  .tribute-title { font-size: 20px; }
  .tribute-excerpt, .tribute-list blockquote { font-size: 16px; }
  .admin-review > header { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
