
:root{
  --bg1:#f3efe7;
  --bg2:#e8e2d6;
  --card:#ffffff;
  --text:#2f2f2f;
  --muted:#777;
  --border:#e6e0d6;
  --accent:#8b7d6b;
  --accent2:#756757;
  --danger:#b84b4b;
  --shadow: 0 20px 60px rgba(0,0,0,0.08);
  --radius:16px;
}
*{ box-sizing:border-box; }
body{
  margin:0;
  min-height:100vh;
  background: linear-gradient(135deg, var(--bg1), var(--bg2));
  color:var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
a{ color:var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; }
.shell{ max-width:1100px; margin:0 auto; padding:28px 18px 60px; }
.header{ display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin-bottom:18px; }
.brand h1{ font-family:"Cormorant Garamond", Georgia, serif; font-size:40px; margin:0; font-weight:650; }
.brand .sub{ margin-top:6px; color:var(--muted); font-size:14px; }
.card{ background: rgba(255,255,255,0.92); border:1px solid rgba(0,0,0,0.05); border-radius: var(--radius); box-shadow: var(--shadow); }
.card.pad{ padding:22px; }
.grid{ display:grid; gap:16px; }
.grid.cols-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.cols-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 900px){ .grid.cols-2, .grid.cols-3{ grid-template-columns:1fr; } .brand h1{ font-size:32px; } }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 11px 14px; border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.8);
  color: var(--text);
  font-weight: 650; font-size:14px;
  cursor:pointer; transition: all .18s ease;
  text-decoration:none !important;
}
.btn:hover{ transform: translateY(-1px); }
.btn.primary{ background: var(--accent); color:#fff; border-color: transparent; }
.btn.primary:hover{ background: var(--accent2); }
.btn.danger{ background: var(--danger); color:#fff; border-color: transparent; }
.btn.danger:hover{ filter: brightness(0.95); }

.kicker{ color: var(--muted); font-size: 13px; }
.badge{
  display:inline-flex; align-items:center;
  padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.7);
  color:#444;
}
.badge.public{ border-color: rgba(46,125,50,0.25); color:#2e7d32; background: rgba(46,125,50,0.08); }
.badge.private{ border-color: rgba(120,90,45,0.25); color:#7a5a2d; background: rgba(122,90,45,0.08); }

.input, select, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  background:#fff;
  transition: all .18s ease;
}
textarea{ min-height:110px; resize:vertical; }
.input:focus, select:focus, textarea:focus{
  outline:none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139,125,107,0.12);
}
.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
}
.table th, .table td{ padding: 12px; text-align:left; vertical-align:top; font-size:14px; }
.table th{ background:#faf7f2; color:#4a4a4a; font-weight:700; border-bottom: 1px solid rgba(0,0,0,0.06); }
.table tr:not(:last-child) td{ border-bottom: 1px solid rgba(0,0,0,0.05); }
.footer{ margin-top:18px; color:var(--muted); font-size:12px; text-align:center; }
.section-title{ margin: 18px 0 10px; }
.section-title h2{ margin:0; font-size:18px; font-weight:750; }
.section-title p{ margin:6px 0 0; color:var(--muted); font-size:13px; }

/* Public extras */
.person-list{ display:grid; gap:12px; }
.person-item{
  display:flex; justify-content:space-between; gap:12px;
  padding:14px; border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.05);
  background: rgba(255,255,255,0.75);
}
.person-item .name{ font-weight:750; }
.person-item .dates{ color: var(--muted); font-size: 13px; margin-top: 3px; }

#map{ height: 420px; border-radius: 16px; overflow:hidden; }

.book{
  background: #fffdf8;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  padding: 20px 22px;
  position: relative;
}
.book:before{
  content:'';
  position:absolute; inset:0; border-radius:18px;
  background: radial-gradient(ellipse at top left, rgba(139,125,107,0.10), transparent 40%),
              radial-gradient(ellipse at bottom right, rgba(139,125,107,0.08), transparent 45%);
  pointer-events:none;
}
.book .text{ position:relative; font-family:"Cormorant Garamond", Georgia, serif; font-size:18px; line-height:1.55; }
.dropcap:first-letter{ float:left; font-size:44px; line-height:1; padding-right:10px; margin-top:4px; font-weight:700; color: var(--accent2); }

.album{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:12px; }
@media(max-width:900px){ .album{ grid-template-columns: 1fr 1fr; } }
@media(max-width:560px){ .album{ grid-template-columns: 1fr; } }
.album-item{ border-radius: 16px; overflow:hidden; border: 1px solid rgba(0,0,0,0.06); background: rgba(255,255,255,0.7); }
.album-frame{ position:relative; height: 210px; background: #f2eee6; }
.album-frame img{ width:100%; height:100%; object-fit: contain; display:block; }
.album-caption{ padding: 10px 12px; color: var(--muted); font-size:13px; }
