:root {
  color-scheme: light;
  --paper: #f8f2e6;
  --sheet: #fffbf2;
  --ink: #18362c;
  --forest: #0a3a2d;
  --muted: #465c51;
  --rule: #d8ccb4;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 system-ui, sans-serif; }
header, main, footer { width: min(100% - 40px, 800px); margin-inline: auto; }
header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; min-height: 92px; border-bottom: 1px solid var(--rule); padding-block: 16px; }
header a.brand { display: inline-flex; align-items: center; gap: 10px; font: 29px Georgia, serif; color: var(--forest); text-decoration: none; }
header img { width: 34px; height: 34px; border-radius: 8px; }
nav { display: flex; flex-wrap: wrap; gap: 16px; }
a { color: #205445; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid #966828; outline-offset: 4px; }
main { padding-block: clamp(36px, 8vw, 82px); }
h1, h2 { font-family: Georgia, "Songti SC", serif; line-height: 1.18; color: var(--forest); }
h1 { font-weight: 400; font-size: clamp(38px, 8vw, 72px); margin: 0 0 19px; }
h2 { font-weight: 500; font-size: clamp(25px, 4vw, 33px); margin: 0 0 10px; }
p { max-width: 65ch; margin: 0 0 16px; }
p.lead { font-size: clamp(18px, 3vw, 24px); }
section { border-top: 1px solid var(--rule); padding-block: 24px; }
section p:last-child { margin-bottom: 0; }
.contact { margin: 24px 0 36px; padding: 20px; background: var(--sheet); border-left: 4px solid #a38351; }
.contact p:last-child { margin-bottom: 0; }
.hero { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 26px; padding: clamp(24px, 6vw, 54px); border-radius: 16px; background: var(--forest); color: var(--paper); }
.hero h1, .hero a { color: var(--paper); }
.hero img { width: clamp(92px, 22vw, 184px); height: auto; border: 1px solid #768c75; border-radius: 22%; }
footer { padding-block: 20px 42px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; }
@media (max-width: 500px) { .hero { grid-template-columns: 1fr; } .hero img { order: -1; } }
