:root {
  color-scheme: light;
  --paper:#f3f0e8;
  --card:#fffefa;
  --ink:#262b24;
  --muted:#656c60;
  --accent:#375647;
  --line:#deddd2;
  --sans: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --serif: "Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
}
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.55 var(--sans); }
a { color:var(--accent); text-underline-offset:.2em; }
a:hover { text-decoration-thickness:2px; }
button,a { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid #567a63; outline-offset:4px; }
img { display:block; height:auto; max-width:100%; }
.skip { position:absolute; z-index:2; top:10px; left:10px; transform:translateY(-150%); background:white; padding:8px 16px; }
.skip:focus { transform:translateY(0); }
.hero { position:relative; display:grid; place-items:end start; min-height:clamp(305px,43vw,465px); color:#fffdf2; background:#293d31; overflow:hidden; isolation:isolate; }
.hero::after { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,rgba(15,28,20,.94),rgba(19,32,24,.66) 55%,rgba(19,32,24,.22)); }
.banner { position:absolute; z-index:-2; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 46%; }
.hero-title { width:min(100%,1130px); padding:42px clamp(22px,5vw,68px); margin:0 auto; }
.hero h1, .listing-head h1, .listing-title { font:500 clamp(2.25rem,5vw,4.7rem)/1.04 var(--serif); letter-spacing:-.038em; margin:0; }
.hero h1 { max-width:800px; text-wrap:balance; }
.hero p { max-width:630px; margin:16px 0 0; color:#f1eddf; }
.avatar { width:58px; height:58px; object-fit:cover; border:2px solid #f1eddf; border-radius:50%; margin-bottom:18px; }
.bar { background:var(--card); border-bottom:1px solid var(--line); }
.bar > div { max-width:1130px; padding:0 clamp(20px,4.2vw,48px); margin:auto; display:flex; justify-content:space-between; align-items:center; gap:20px; min-height:64px; }
.brand { color:var(--ink); text-decoration:none; font:600 1.22rem/1.1 var(--serif); }
.bar nav { display:flex; align-self:stretch; gap:clamp(12px,3vw,32px); align-items:stretch; }
.bar nav a { position:relative; padding:19px 0 17px; color:var(--muted); text-decoration:none; font-size:.94rem; }
.bar nav a[aria-current], .bar nav a:hover { color:var(--accent); }
.bar nav a[aria-current]::after { content:""; position:absolute; height:2px; inset:auto 0 0; background:var(--accent); }
.feed { max-width:810px; margin:auto; padding:36px 20px 52px; }
.entry { margin:0 0 26px; border:1px solid var(--line); background:var(--card); border-radius:8px; overflow:hidden; }
.entry-meta, .entry-footer { padding:14px clamp(18px,5vw,36px); color:var(--muted); font-size:.865rem; }
.entry-meta { border-bottom:1px solid var(--line); }
.entry-meta a, .post-links a { text-decoration:none; }
.entry-meta a:hover, .post-links a:hover { text-decoration:underline; }
.entry-content { font:400 1.08rem/1.75 var(--serif); overflow-wrap:anywhere; }
.entry-content p, .entry-content > .body-text, .entry-content > h2, .entry-content > .note-item-asker, .entry-content > .replies, .entry-content figcaption, .entry-content .reblog-content { margin:18px clamp(18px,5vw,36px); }
.entry-content .body-text p, .entry-content .caption p, .entry-content .note-item-asker p, .entry-content .replies p { margin-left:0; margin-right:0; }
.entry-content h2 { font:500 clamp(1.65rem,4vw,2.6rem)/1.13 var(--serif); letter-spacing:-.024em; }
.entry-content figure { margin:18px 0; }
.entry-content img { width:100%; height:auto; }
.entry-content a[data-photo] { display:block; background:#e6e5da; cursor:zoom-in; }
.entry-content video { display:block; width:100%; }
.note-item-asker { padding:12px 18px; border-left:3px solid #a5ad90; border-radius:3px; background:#eeede4; }
.note-item-asker p { margin:8px 0; }
.note-item-asker .asker { font:600 .88rem/1.5 var(--sans); }
.album { display:grid; gap:4px; }
.album-row { display:flex; gap:4px; align-items:center; }
.album-row a { flex:1 1 0; min-width:0; }
.entry-footer { border-top:1px solid var(--line); }
.tags, .post-links { display:flex; flex-wrap:wrap; gap:7px 14px; }
.tags { margin-bottom:8px; }
.pager { display:flex; justify-content:center; flex-wrap:wrap; gap:24px; padding:20px 0; color:var(--muted); align-items:center; }
.pager a { background:var(--card); padding:7px 15px; border:1px solid var(--line); border-radius:4px; text-decoration:none; }
.pager-numbered { gap:7px; }
.pager-numbered a { display:grid; place-items:center; min-width:44px; min-height:44px; padding:4px; font-variant-numeric:tabular-nums; }
.pager-numbered a:hover { border-color:var(--accent); }
.pager-numbered a[aria-current="page"] { background:var(--accent); border-color:var(--accent); color:white; font-weight:650; }

.listing-head, .years, .gallery { max-width:1160px; margin:auto; padding-inline:clamp(18px,4vw,40px); }
.listing-head { padding-top:38px; padding-bottom:25px; }
.listing-head h1, .listing-title { font-size:clamp(2.1rem,5vw,3.5rem); }
.listing-title { margin-bottom:21px; }
.gallery { display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:8px; padding-bottom:38px; }
.gallery-photo { display:block; aspect-ratio:1; border-radius:3px; background:#e2e2d7; overflow:hidden; cursor:zoom-in; }
.gallery-photo img { width:100%; height:100%; object-fit:cover; transition: transform .18s ease; }
.gallery-photo:hover img { transform:scale(1.045); }
.years { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; margin-bottom:62px; }
.years a { display:grid; background:var(--card); border:1px solid var(--line); border-radius:6px; padding:20px; text-decoration:none; }
.years strong { font:500 2rem var(--serif); }
.years span { color:var(--muted); }
.site-footer { display:flex; justify-content:center; flex-wrap:wrap; gap:13px; padding:24px; font-size:.875rem; color:var(--muted); border-top:1px solid var(--line); }
dialog { background:#20241e; color:white; border:1px solid #70766e; padding:14px; border-radius:7px; width:min(94vw,1024px); max-height:96dvh; }
dialog::backdrop { background:#10130fdd; }
dialog img { max-height:75dvh; object-fit:contain; width:auto; margin:auto; }
.photo-tools,.photo-controls { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:4px; }
.photo-tools { padding-bottom:12px; flex-wrap:wrap; }
.photo-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; }
dialog [data-post] { background:#42664e; color:#fff; padding:6px 11px; border:1px solid #8da48e; border-radius:4px; text-decoration:none; }
dialog [data-post]:hover { background:#517b5e; }
.photo-controls { padding-top:12px; }
dialog a { color:white; }
dialog button { background:#354137; border:1px solid #788475; color:white; padding:6px 11px; border-radius:4px; font:inherit; cursor:pointer; }
dialog button:disabled { opacity:.4; cursor:default; }
@media (max-width:560px) {
  .hero-title { padding:27px 20px; }
  .hero p { font-size:.92rem; }
  .feed { padding:20px 12px 40px; }
  .gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; }
  .bar > div { gap:11px; }
}
@media (max-width:420px) {
  .bar > div { flex-wrap:wrap; justify-content:center; padding-top:12px; gap:0 14px; }
  .bar nav { justify-content:center; flex-wrap:wrap; gap:0 14px; }
  .bar nav a { padding:10px 0 12px; }
}
@media (prefers-reduced-motion:reduce) { .gallery-photo img { transition:none; } }

/* Public site additions */
.pg { max-width:810px; margin:8px auto 0; padding:12px 20px 40px; display:grid;
  grid-template-columns:1fr auto 1fr; align-items:center; gap:10px 14px; }
.pg-nums { display:flex; align-items:center; gap:6px; }
.pg-nums a, .pg-step { display:inline-grid; place-items:center; min-height:40px; border-radius:999px;
  text-decoration:none; font-variant-numeric:tabular-nums; }
.pg-nums a { min-width:40px; padding:0 6px; color:var(--ink); }
.pg-nums a:hover { background:var(--card); box-shadow:inset 0 0 0 1px var(--line); }
.pg-nums a[aria-current="page"] { background:var(--accent); color:#fff; font-weight:650; box-shadow:none; }
.pg-gap { color:var(--muted); min-width:20px; text-align:center; }
.pg-step { padding:0 18px; background:var(--card); border:1px solid var(--line); color:var(--accent); font-size:.94rem; white-space:nowrap; }
.pg > .pg-step:first-child { justify-self:start; }
.pg > .pg-step:nth-child(3) { justify-self:end; }
.pg a.pg-step:hover { border-color:var(--accent); }
span.pg-step { color:var(--muted); opacity:.45; }
.pg-label { grid-column:1 / -1; margin:0; text-align:center; color:var(--muted); font-size:.85rem; }
@media (max-width:560px) {
  .pg { grid-template-columns:1fr 1fr; padding:8px 12px 32px; }
  .pg-nums { grid-column:1 / -1; grid-row:1; justify-content:center; }
  .pg-nums .pg-far { display:none; }
  .pg > .pg-step:first-child { grid-row:2; }
  .pg > .pg-step:nth-child(3) { grid-row:2; }
}
.contact { max-width:680px; margin:auto; padding:0 20px 56px; }
.contact-card { background:var(--card); border:1px solid var(--line); border-radius:8px; padding:clamp(20px,5vw,34px); }
.contact-card p { margin:0 0 18px; color:var(--muted); }
.field { display:grid; gap:6px; margin-bottom:18px; }
.field label { font-weight:600; font-size:.93rem; }
.field small { color:var(--muted); font-size:.82rem; }
.field input, .field select, .field textarea { font:inherit; color:var(--ink); background:var(--paper);
  border:1px solid var(--line); border-radius:6px; padding:10px 12px; width:100%; box-sizing:border-box; }
.field textarea { min-height:170px; resize:vertical; font:400 1.02rem/1.6 var(--serif); }
.field input:focus, .field select:focus, .field textarea:focus { outline:2px solid var(--accent); outline-offset:1px; border-color:var(--accent); }
.two { display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
@media (max-width:560px) { .two { grid-template-columns:1fr; } }
.hp { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.send { font:inherit; font-weight:600; color:#fff; background:var(--accent); border:0; border-radius:999px; padding:12px 26px; cursor:pointer; }
.send:hover { filter:brightness(1.1); }
.contact-note { margin-top:16px; font-size:.84rem; color:var(--muted); }
