/* T-387 shared base stylesheet — self-hosted, no external fonts or CDNs.
   Every colour is defined on :root so nothing depends on a media query alone. */
:root {
  --bg: #ffffff;
  --surface: #f7f5f1;
  --text: #1f1d1a;
  --muted: #5d574e;
  --line: #e2ddd4;
  --accent: #8a5a2b;
  --accent-dark: #6d4621;
  --accent-soft: #f3e9dd;
  --maxw: 1120px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

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

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand {
  font-family: var(--serif); font-size: 1.32rem; font-weight: 700;
  letter-spacing: .2px; text-decoration: none; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.brand svg { flex: 0 0 auto; }
.nav-links { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--text); border-bottom-color: var(--accent);
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--accent-soft), var(--bg));
  border-bottom: 1px solid var(--line);
  padding: 72px 0 64px;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.12; margin: 0 0 16px; letter-spacing: -.5px;
}
.hero p.lead { font-size: 1.14rem; color: var(--muted); max-width: 60ch; margin: 0 0 26px; }

.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 13px 26px; border-radius: var(--radius); text-decoration: none;
  font-weight: 600; font-size: .98rem; border: 1px solid var(--accent-dark);
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--accent); border-color: var(--line); }
.btn.ghost:hover { background: var(--accent-soft); color: var(--accent-dark); }

/* ---------- sections ---------- */
section { padding: 58px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
h2 {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 10px; line-height: 1.2;
}
h3 { font-size: 1.13rem; margin: 0 0 8px; }
.section-intro { color: var(--muted); max-width: 65ch; margin: 0 0 30px; }

.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card .price { color: var(--accent); font-weight: 700; white-space: nowrap; }

/* menu / list rows */
.rows { display: grid; gap: 14px; }
.row {
  display: flex; gap: 16px; align-items: baseline;
  padding-bottom: 13px; border-bottom: 1px dashed var(--line);
}
.row:last-child { border-bottom: 0; }
.row .r-name { font-weight: 600; }
.row .r-desc { color: var(--muted); font-size: .94rem; margin: 3px 0 0; }
.row .r-price { margin-left: auto; color: var(--accent); font-weight: 700; white-space: nowrap; }

.note {
  background: var(--accent-soft); border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: 16px 18px; border-radius: var(--radius); color: var(--muted);
  font-size: .95rem;
}
.note strong { color: var(--text); }

/* ---------- footer ---------- */
.site-footer {
  background: #23201c; color: #cfc7bb; padding: 44px 0 30px; margin-top: 10px;
}
.site-footer a { color: #e8ddcd; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 1rem; }
.foot-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.foot-bottom {
  border-top: 1px solid #3a352f; margin-top: 26px; padding-top: 16px;
  font-size: .87rem; color: #9a9187;
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: space-between;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; font-size: .94rem; }

@media (max-width: 700px) {
  .nav { height: auto; padding: 12px 0; flex-wrap: wrap; gap: 12px; }
  .nav-links { margin-left: 0; width: 100%; gap: 16px; }
  .hero { padding: 48px 0 42px; }
  section { padding: 42px 0; }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14120f; --surface: #1c1917; --text: #f0ebe4; --muted: #b4aa9d;
    --line: #302b26; --accent: #d09a5f; --accent-dark: #b8834a; --accent-soft: #251f19;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  }
  :root:not([data-theme="light"]) .site-header { background: rgba(20,18,15,.94); }
  :root:not([data-theme="light"]) .btn { color: #14120f; }
  :root:not([data-theme="light"]) .btn:hover { color: #14120f; }
}

/* ---------- figures ---------- */
.fig{margin:0 0 26px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);
  box-shadow:var(--shadow);background:var(--surface)}
.fig img{width:100%;height:auto;display:block}
.fig figcaption{padding:10px 14px;font-size:.88rem;color:var(--muted);
  border-top:1px solid var(--line);background:var(--bg)}
.hero-media{margin-top:26px;border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--line);box-shadow:var(--shadow)}
.hero-media img{width:100%;height:auto;display:block}
.media-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin:8px 0 26px}
.media-grid .fig{margin:0}
