:root {
  --bg: #f7f3ec;
  --surface: #ffffff;
  --ink: #26302b;
  --muted: #66716a;
  --forest: #2f5d46;
  --forest-dark: #234735;
  --clay: #b5653a;
  --line: #e3dccf;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(38, 48, 43, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171c19;
    --surface: #202722;
    --ink: #eee9df;
    --muted: #a3ada6;
    --forest: #7fb597;
    --forest-dark: #9ccbb0;
    --clay: #e0966b;
    --line: #333d36;
    --shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
a { color: var(--forest); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.15rem; text-decoration: none; color: var(--ink); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--forest); }

/* Hero */
.hero {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(20, 30, 24, 0.35), rgba(20, 30, 24, 0.7)),
    url("../photos/hero.jpg") center / cover no-repeat,
    linear-gradient(135deg, #2f5d46, #5f7f6a 55%, #b5653a);
  padding: 96px 0 80px;
}
.hero p { max-width: 36em; font-size: 1.2rem; opacity: 0.95; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; padding: 0; list-style: none; }
.hero .badges li { background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.35); padding: 4px 14px; border-radius: 999px; font-size: 0.95rem; }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--forest); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--forest); cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--forest-dark); border-color: var(--forest-dark); }
.btn.ghost { background: transparent; color: var(--forest); }
.btn.ghost:hover { background: var(--forest); color: #fff; }
.hero .btn.ghost { color: #fff; border-color: #fff; }
.hero .btn.ghost:hover { background: #fff; color: var(--forest-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Cards & grids */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card ul { margin: 0; padding-left: 1.1em; }
.facts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin: 28px 0 0; padding: 0; list-style: none; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.facts strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; color: var(--forest); }
.note { border-left: 4px solid var(--clay); background: var(--surface); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; }

/* Gallery */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); transition: transform 0.2s; }
.gallery a:hover img { transform: scale(1.03); }

/* Guest book */
.entries { display: grid; gap: 16px; }
.entry { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.entry blockquote { margin: 0 0 10px; font-size: 1.1rem; white-space: pre-wrap; }
.entry .who { color: var(--muted); font-size: 0.95rem; }
.entry .who strong { color: var(--ink); }
.empty { color: var(--muted); font-style: italic; }
.demo-banner { background: var(--clay); color: #fff; text-align: center; padding: 8px 16px; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 0.95rem; }
.todo { background: #ffe58a; color: #3a2e00; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.draft-banner { background: var(--clay); color: #fff; text-align: center; padding: 10px 16px; font-weight: 600; }
.agreement ol { padding-left: 1.2em; }
.agreement li { margin-bottom: 0.5em; }
.agreement table { border-collapse: collapse; width: 100%; max-width: 42em; margin: 12px 0; }
.agreement th, .agreement td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.agreement th { background: var(--surface); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; }
