*{box-sizing:border-box}
:root{--bg:#060c15;--panel-border:rgba(111,166,255,.22);--text:#f3f7ff;--muted:#9aa8bd;--accent:#4d8dff;--accent-soft:rgba(77,141,255,.12);--shadow:0 30px 80px rgba(0,0,0,.35)}
html{min-height:100%;background:var(--bg)}
body{margin:0;min-height:100vh;color:var(--text);background:radial-gradient(circle at 50% 5%,rgba(47,94,170,.18),transparent 34rem),linear-gradient(180deg,#08111f 0%,var(--bg) 62%,#050a12 100%);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit}
.memorial-shell{width:min(1180px,calc(100% - 40px));margin:0 auto}
.memorial-header{border-bottom:1px solid rgba(255,255,255,.06);background:rgba(5,11,20,.82);backdrop-filter:blur(14px)}
.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none}
.brand-mark{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(145deg,#3677ea,#65a0ff);box-shadow:0 10px 25px rgba(66,129,240,.25);font-weight:900;letter-spacing:-.04em}
.brand-copy{display:flex;flex-direction:column;line-height:1.05}
.brand-copy strong{font-size:15px;letter-spacing:.01em}
.brand-copy small{margin-top:5px;color:#aeb8c8;font-size:9px;letter-spacing:.22em;font-weight:800}
.back-link{padding:10px 14px;border:1px solid rgba(255,255,255,.12);border-radius:10px;text-decoration:none;color:#dfe8f7;font-size:13px;font-weight:700;transition:border-color .2s ease,background .2s ease}
.back-link:hover{border-color:rgba(96,157,255,.5);background:var(--accent-soft)}
.memorial-main{padding:68px 0 72px}
.memorial-hero{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:center;gap:clamp(36px,6vw,88px)}
.photo-wrap{position:relative}
.photo-wrap:before{content:"";position:absolute;inset:8% -7% -7% 8%;border-radius:26px;background:linear-gradient(145deg,rgba(55,116,218,.16),rgba(10,20,36,.03));filter:blur(8px)}
.memorial-photo{position:relative;z-index:1;width:100%;max-height:690px;display:block;object-fit:cover;object-position:center;border-radius:22px;border:1px solid rgba(255,255,255,.10);box-shadow:var(--shadow)}
.memorial-card{padding:clamp(34px,5vw,62px);border-radius:24px;border:1px solid var(--panel-border);background:linear-gradient(180deg,rgba(19,34,57,.92),rgba(10,19,33,.93));box-shadow:var(--shadow)}
.eyebrow{margin:0 0 14px;color:#79aaff;font-size:12px;letter-spacing:.22em;font-weight:900}
h1{margin:0;font-size:clamp(42px,6vw,76px);line-height:.98;letter-spacing:-.045em}
.divider{width:74px;height:2px;margin:30px 0 34px;background:linear-gradient(90deg,var(--accent),rgba(77,141,255,0))}
.memory-text{max-width:690px}
.memory-text p{margin:0 0 20px;color:#d5deeb;font-size:clamp(19px,2vw,25px);line-height:1.65}
.memory-text p strong{color:#f6f9ff;font-weight:650}
.memory-text .final-words{margin-top:34px;color:#fff;font-size:clamp(22px,2.3vw,30px);line-height:1.55}
.dedication{margin:48px 0 0;padding-top:26px;border-top:1px solid rgba(255,255,255,.08);color:var(--muted);font-size:14px;letter-spacing:.02em}
.memorial-footer{border-top:1px solid rgba(255,255,255,.06);color:#78869a}
.footer-inner{min-height:78px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:12px}
.footer-inner nav{display:flex;gap:18px}.footer-inner a{color:#8e9cb0;text-decoration:none}.footer-inner a:hover{color:#c9d7ea}
@media(max-width:850px){.memorial-main{padding-top:40px}.memorial-hero{grid-template-columns:1fr;gap:28px}.photo-wrap{width:min(100%,620px);margin:0 auto}.memorial-photo{max-height:620px}.memorial-card{padding:34px 26px}}
@media(max-width:560px){.memorial-shell{width:min(100% - 24px,1180px)}.header-inner{min-height:70px}.brand-copy small{display:none}.back-link{font-size:12px;padding:9px 11px}.memorial-main{padding:24px 0 44px}.memorial-photo{border-radius:16px}.memorial-card{border-radius:18px;padding:28px 20px 30px}.memory-text p{font-size:18px}.memory-text .final-words{font-size:22px}.footer-inner{padding:20px 0;flex-direction:column;align-items:flex-start}}
