/* Kerry Pike site styles — shared by every page */
:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --text: #1f2522;
  --muted: #5d6661;
  --line: #dcdcd4;
  --accent: #2f6b4f;
  --accent-soft: #e4efe8;
  --radius: 10px;
  --max: 1100px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151917;
    --surface: #1e2320;
    --text: #e6e9e7;
    --muted: #a3aca7;
    --line: #333a36;
    --accent: #7cc4a0;
    --accent-soft: #24312a;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header / footer */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { padding-top: 14px; padding-bottom: 14px; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.crumbs { font-size: .9rem; color: var(--muted); margin-top: 2px; }
.crumbs a { color: var(--muted); }
.quick-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 0; padding: 0; list-style: none; font-size: .92rem; }
.site-footer { margin-top: 40px; padding: 20px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.site-footer p { margin: 4px 0; }

h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.2; margin: 24px 0 6px; }
h2 { font-size: 1.3rem; margin: 32px 0 12px; }
.lede { color: var(--muted); margin: 0 0 16px; }

/* Home page */
.hero { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: start; margin-top: 20px; }
@media (min-width: 800px) { .hero { grid-template-columns: 1.1fr 1fr; } }
.hero figure { margin: 0; }
.hero img { width: 100%; border-radius: var(--radius); }
.hero figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.panel ul { margin: 0; padding-left: 1.1rem; }
.panel li { margin: 6px 0; }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card span { padding: 10px 12px 12px; }
.card strong { display: block; color: var(--accent); }
.card small { color: var(--muted); }
.card:hover { border-color: var(--accent); }
.info { columns: 2 320px; column-gap: 32px; padding-left: 1.1rem; }
.info li { break-inside: avoid; margin: 0 0 8px; }
.tel { white-space: nowrap; }

/* Gallery grid */
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 180px), 1fr)); margin: 16px 0; padding: 0; list-style: none; }
.grid a { display: block; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; }
.grid a:hover { border-color: var(--accent); }
.grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.grid span { display: block; padding: 6px 8px 8px; font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }

/* Pagers */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 16px 0; padding: 0; list-style: none; }
.pager a, .pager span { display: inline-block; min-width: 44px; padding: 9px 12px; text-align: center; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.pager span[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--surface); font-weight: 600; }
.pager .disabled { opacity: .4; }

/* Single photo */
.photo { margin: 12px auto 0; text-align: center; }
.photo img { margin: 0 auto; border-radius: 6px; max-height: 85vh; width: auto; }
.photo figcaption { margin-top: 10px; font-size: .95rem; }
.photo .count { color: var(--muted); font-size: .85rem; }

