:root {
  --bg: #0c1612;
  --bg-2: #12211a;
  --line: rgba(212, 175, 55, 0.22);
  --gold: #d4af37;
  --text: #f5f5dc;
  --muted: rgba(245, 245, 220, 0.72);
  --dim: rgba(245, 245, 220, 0.48);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(880px, calc(100% - 32px)); margin: 0 auto; }
.wrap.wide { width: min(1120px, calc(100% - 32px)); }
header.site {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(12, 22, 18, 0.94);
  border-bottom: 1px solid var(--line);
}
header.site .bar {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand { color: var(--text); font-weight: 700; letter-spacing: 0.04em; }
.brand span { color: var(--gold); }
nav.langs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
nav.langs a {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
}
nav.langs a.on { color: #0c1612; background: var(--gold); border-color: var(--gold); }
nav.langs a.about-link { color: #0c1612; background: var(--gold); border-color: var(--gold); font-weight: 700; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 18px 0 8px; }
.person img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; }
.person h3 { margin: 10px 0 0; font-size: 20px; }
.map-frame { margin-top: 16px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }
.hero-img { width: 100%; max-height: 460px; object-fit: cover; display: block; border-radius: 18px; margin: 28px 0 18px; }
h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: 26px; line-height: 1.25; margin: 32px 0 10px; scroll-margin-top: 84px; }
.lead { font-size: 18px; color: var(--muted); }
.byline { display: flex; gap: 12px; align-items: center; margin: 18px 0; }
.byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.byline small { color: var(--dim); display: block; }
.note, .warn, .author-card, .faq, article.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.note { margin: 18px 0; }
.warn { margin-top: 28px; }
ul { padding-left: 18px; }
li { margin: 6px 0; }
.faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 650; }
.author-card { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; margin-top: 28px; }
.author-card img { width: 96px; height: 120px; object-fit: cover; border-radius: 12px; }
.author-card.author-page { grid-template-columns: 220px 1fr; align-items: start; }
.author-card.author-page img { width: 220px; height: 280px; }
.cta {
  display: inline-block;
  margin-top: 12px;
  background: var(--gold);
  color: #0c1612;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 16px;
}
.cta:hover { text-decoration: none; }
.grid { width: min(1100px, calc(100% - 32px)); margin: 24px auto 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
article.card img { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; }
article.card h2 { font-size: 20px; margin: 10px 0; }
footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--dim); margin-top: 36px; }
@media (max-width: 640px) {
  .author-card { grid-template-columns: 1fr; }
}
