:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --text: #1a1a18;
  --muted: #5f5d57;
  --faint: #8a877f;
  --line: #e7e4dd;
  --accent: #3a5a40;
  --accent-soft: #eef2ec;
  --maxw: 720px;
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14140f;
    --surface: #1c1c17;
    --text: #ecebe6;
    --muted: #a8a69d;
    --faint: #7a786f;
    --line: #2c2c25;
    --accent: #a3c9a8;
    --accent-soft: #1f261f;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- Header ---- */
.home header { padding: 88px 0 8px; }
.sub header { padding: 24px 0 8px; }
h1 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.3rem, 6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.sub h1 {
  font-size: clamp(2.1rem, 5.5vw, 2.7rem);
  line-height: 1.1;
}
.lede {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.15rem, 3.2vw, 1.35rem);
  color: var(--muted);
  margin: 0;
  max-width: 40ch;
}
.meta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.94rem;
  color: var(--faint);
}
.meta a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.meta a:hover { color: var(--accent); border-color: var(--accent); }

/* ---- Back link (sub pages) ---- */
.back {
  display: inline-block;
  margin-top: 40px;
  font-size: 0.94rem;
  color: var(--muted);
  text-decoration: none;
}
.back:hover { color: var(--accent); }

/* ---- Sections ---- */
section { padding: 46px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: none; }

.eyebrow {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}
.sub header .eyebrow { margin: 0 0 14px; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
section p a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--line); }
section p a:hover { border-color: var(--accent); }
a.cta {
  display: inline-block;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 18px;
  text-decoration: none;
}
a.cta:hover { border-color: var(--accent); }
h3.sub {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-size: 1.15rem;
  margin: 28px 0 12px;
}

/* ---- Photos ---- */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
figure { margin: 0; }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
}
.gallery figure:not(:first-child) img { aspect-ratio: 4 / 5; }
figcaption { font-size: 0.82rem; color: var(--faint); margin-top: 7px; }

/* ---- Reading list ---- */
ul.reading { list-style: none; margin: 0; padding: 0; }
ul.reading li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
ul.reading li:first-child { border-top: none; padding-top: 0; }
.r-title { font-weight: 500; }
.r-title a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.r-title a:hover { color: var(--accent); border-color: var(--accent); }
.r-by { color: var(--faint); font-size: 0.92rem; }
.r-note { color: var(--muted); font-size: 0.94rem; font-family: "Newsreader", Georgia, serif; font-style: italic; }

.placeholder {
  color: var(--muted);
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
}

ul.points { margin: 0; padding-left: 1.2em; }
ul.points li { margin: 0 0 0.6em; }
ul.points li:last-child { margin-bottom: 0; }
ul.points li::marker { color: var(--accent); }

footer {
  padding: 40px 0 64px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--faint);
}

@media (max-width: 560px) {
  .home header { padding-top: 60px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:not(:first-child) img { aspect-ratio: 3 / 2; }
}
