/* The Memory Garden — calm, large, high-contrast. Built for older
   eyes and shaky hands: generous type, spacing and tap targets. */
:root {
  --ink: #22301f; --ink-soft: #43543e; --paper: #faf7ef; --card: #ffffff;
  --moss: #5c7351; --moss-deep: #3e5638; --stone: #e7e0cf; --line: #d8d0ba;
  --gold: #c9a227; --danger: #8c3b2e; --focus: #1f5fa8;
}
* { box-sizing: border-box; }
html { font-size: 19px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.55;
}
a { color: var(--moss-deep); }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
header.site {
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--line);
}
header.site .brand { font-size: 1.45rem; font-weight: 700; color: var(--ink); text-decoration: none; }
header.site nav { margin-left: auto; display: flex; gap: 1.1rem; font-size: 1rem; }
header.site nav a { text-decoration: none; }
main { max-width: 880px; margin: 0 auto; padding: 1.25rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0.4em 0; }
h2 { font-size: 1.4rem; margin: 1.4em 0 0.5em; }
p.lede { font-size: 1.15rem; color: var(--ink-soft); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.1rem 1.25rem; margin: 1rem 0;
}
button, .btn {
  display: inline-block; font: inherit; font-size: 1.05rem; cursor: pointer;
  background: var(--moss-deep); color: #fff; border: none; border-radius: 999px;
  padding: 0.65rem 1.4rem; text-decoration: none; min-height: 48px;
}
button.quiet, .btn.quiet { background: transparent; color: var(--moss-deep); border: 2px solid var(--moss); }
button.warn { background: var(--danger); }
button:disabled { opacity: 0.55; cursor: default; }
label { display: block; font-weight: 600; margin: 0.9rem 0 0.3rem; }
input[type="text"], input[type="email"], input[type="date"], textarea, select {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 0.6rem 0.7rem;
  border: 1.5px solid #b9b094; border-radius: 10px; background: #fff; color: var(--ink);
}
textarea { min-height: 7rem; }
.checkbox { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
.checkbox input { width: 1.4rem; height: 1.4rem; margin-top: 0.2rem; flex: none; }
.notice { border-left: 5px solid var(--gold); background: #fdf6dd; padding: 0.8rem 1rem; border-radius: 8px; }
.error { border-left: 5px solid var(--danger); background: #fbeae6; padding: 0.8rem 1rem; border-radius: 8px; }
footer.site { border-top: 1px solid var(--line); padding: 1.2rem; text-align: center; color: var(--ink-soft); font-size: 0.95rem; }
.grounds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.plot { text-align: left; }
.plot img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; background: var(--stone); }
.plot .name { font-size: 1.25rem; font-weight: 700; margin: 0.5rem 0 0.1rem; }
.plot .dates { color: var(--ink-soft); }
.today-strip { background: #f1ecd9; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.25rem; }
.today-strip h2 { margin-top: 0.2em; }
.board-head { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: flex-start; }
.board-head img.portrait { width: 240px; max-width: 100%; border-radius: 14px; background: var(--stone); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.7rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; background: var(--stone); }
.gallery figcaption { font-size: 0.9rem; color: var(--ink-soft); }
.candle-line { color: var(--ink-soft); font-size: 0.98rem; }
.candle-flame { color: var(--gold); }
.post .when { color: var(--ink-soft); font-size: 0.92rem; }
.post .justforus { display: inline-block; font-size: 0.85rem; border: 1.5px solid var(--moss);
  color: var(--moss-deep); border-radius: 999px; padding: 0.05rem 0.6rem; margin-left: 0.4rem; }
.pending-tag { display: inline-block; font-size: 0.85rem; background: #fdf6dd; border: 1px solid var(--gold);
  border-radius: 999px; padding: 0.05rem 0.6rem; }
.spotify-facade { display: flex; align-items: center; gap: 1rem; }
.queue-item { border-left: 5px solid var(--gold); }
.queue-item.distress-note { border-left-color: var(--danger); }
.row { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.small { font-size: 0.92rem; color: var(--ink-soft); }
[hidden] { display: none !important; }
