:root {
  --paper: #fbfaf7;
  --ink: #26302d;
  --muted: #65736d;
  --line: #ddd6ca;
  --sage: #81956d;
  --moss: #4d654f;
  --rose: #b87968;
  --sun: #d8ad64;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(61, 73, 62, .13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.65; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.hero {
  min-height: 72vh;
  display: grid;
  align-items: end;
  padding: 42px 0 64px;
  background: linear-gradient(90deg, rgba(251,250,247,.96) 0%, rgba(251,250,247,.88) 45%, rgba(251,250,247,.58) 100%), var(--hero-image) center right / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.topbar { position: absolute; top: 0; left: 0; right: 0; padding: 20px 0; }
.brand { font-weight: 700; letter-spacing: 0; color: var(--moss); text-decoration: none; }
.hero-content { max-width: 720px; padding-top: 80px; }
h1 { margin: 0 0 20px; font-size: clamp(2.45rem, 6vw, 5.2rem); line-height: 1.02; letter-spacing: 0; }
.lead { font-size: clamp(1.12rem, 2vw, 1.35rem); color: #3d4944; max-width: 660px; margin: 0 0 30px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; border-radius: 7px; background: var(--moss); color: var(--white); text-decoration: none; font-weight: 700; }
.button.secondary { background: rgba(255,255,255,.72); color: var(--moss); border: 1px solid var(--line); }
.toc-band { padding: 38px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.toc { display: grid; grid-template-columns: repeat(7, minmax(120px, 1fr)); gap: 10px; }
.toc a { min-height: 74px; display: flex; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 700; color: var(--moss); background: #fffdf9; }
.intro { padding: 54px 0 20px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; }
.intro h2, .section-head h2 { margin: 0 0 14px; font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.13; }
.intro p, .section-head p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.note { background: #ffffff; border-left: 5px solid var(--sun); padding: 22px; box-shadow: var(--shadow); border-radius: 0 8px 8px 0; }
.gallery-section { padding: 58px 0; border-top: 1px solid rgba(221,214,202,.7); }
.section-head { display: grid; grid-template-columns: .42fr .58fr; gap: 34px; align-items: start; margin-bottom: 24px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 28px rgba(61, 73, 62, .08); }
.thumb-link { display: block; background: #eee8dd; }
.thumb-link img { width: 100%; height: auto; object-fit: contain; }
.card-body { padding: 18px; }
.card h3 { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.28; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.footer { padding: 42px 0; background: #314038; color: #f5f1e9; }
.footer p { margin: 0; max-width: 760px; color: #e6dfd4; }
.footer a { color: #fff; font-weight: 700; }
@media (max-width: 980px) {
  .toc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro, .section-head { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 24px, 1160px); }
  .hero { min-height: 76vh; padding-bottom: 42px; background-position: center; }
  .toc { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .intro { padding-top: 38px; gap: 24px; }
  .gallery-section { padding: 42px 0; }
}