/* Simple, elegant memorial site */
:root{
--maxw:900px;
--accent:#2b2b2b;
--muted:#666;
--card-bg:#fff;
--page-bg:#f7f7f8;
font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
*{box-sizing:border-box}
body{margin:0;background:var(--page-bg);color:var(--accent);line-height:1.5;}
.site-header{background:linear-gradient(180deg, rgba(0,0,0,0.04), transparent);padding:24px 12px;}
.hero{max-width:var(--maxw);margin:0 auto;display:flex;gap:20px;align-items:center;}
.hero img{width:160px;height:160px;object-fit:cover;border-radius:8px;border:1px solid rgba(0,0,0,0.06);}
.hero-text h1{margin:0;font-size:28px}
.hero-text .lifespan{margin:4px 0;color:var(--muted)}
.content{max-width:var(--maxw);margin:18px auto;padding:0 12px;}
.card{background:var(--card-bg);padding:18px;border-radius:10px;box-shadow:0 1px 0 rgba(0,0,0,0.04);margin-bottom:16px;}
h2{margin-top:0}
.timeline{display:flex;flex-direction:column;gap:12px}
.timeline-item{display:flex;gap:12px;align-items:flex-start}
.timeline-item .date{width:110px; flex-shrink:0; color:var(--muted);font-size:14px}
.timeline-item .body{flex:1}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}
.grid img{width:100%;height:120px;object-fit:cover;border-radius:6px}
.site-footer{max-width:var(--maxw);margin:0 auto 40px;display:flex;justify-content:space-between;gap:12px;align-items:center}
.hint{color:var(--muted);font-size:13px}
button{padding:6px 12px;border:none;border-radius:4px;background:#2b2b2b;color:#fff;font-size:14px;cursor:pointer}
input{padding:6px 8px;border:1px solid #ccc;border-radius:4px;font-size:14px;width:180px}
@media (max-width:640px){.hero{flex-direction:column;text-align:center}.site-footer{flex-direction:column;align-items:flex-start}}
