* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: radial-gradient(circle at 16% -10%, #25221b 0, transparent 31rem), var(--bg);
  color: var(--text);
  font: 15px/1.66 var(--font-serif);
}
a { color: inherit; }
button, input, select { font: inherit; }
button, input, select {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--text);
  padding: 9px 11px;
}
button { cursor: pointer; }
button:hover { border-color: #716343; }
button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 2px solid rgba(214, 179, 106, .65);
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 15, 18, .94);
  backdrop-filter: blur(15px);
}
.header-inner {
  width: min(var(--page-width), 100%);
  min-height: 68px;
  margin: auto;
  padding: 7px clamp(14px, 3vw, 38px);
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand { flex: none; display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 650; }
.brand small { color: var(--muted); font-size: 11px; font-weight: 400; white-space: nowrap; }
.brand-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid #7b6841;
  border-radius: 8px;
  color: var(--gold);
  font-family: Georgia, serif;
}
.site-nav { min-width: 0; display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.site-nav a { padding: 7px 10px; border-radius: 7px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--text); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: #1b1710; background: var(--gold); }
.language-link { flex: none; margin-left: auto; color: var(--gold); text-decoration: none; white-space: nowrap; }
.page { width: min(var(--page-width), 100%); min-height: calc(100vh - 170px); margin: auto; padding: 38px clamp(14px, 3vw, 38px) 64px; }
.site-footer {
  width: min(var(--page-width), calc(100% - 28px));
  margin: 0 auto;
  padding: 18px clamp(0px, 3vw, 24px) 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}
.site-footer a { color: #d9bf86; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: clamp(29px, 4vw, 47px); line-height: 1.12; font-weight: 580; letter-spacing: -.035em; }
h2 { margin-bottom: 8px; font-size: clamp(20px, 2.4vw, 29px); font-weight: 560; }
h3 { margin-bottom: 7px; font-size: 17px; font-weight: 600; }
.hero {
  --page-accent: var(--gold);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid color-mix(in srgb, var(--page-accent) 30%, var(--line));
  border-radius: 16px;
  background: linear-gradient(118deg, color-mix(in srgb, var(--page-accent) 12%, var(--surface)) 0%, var(--surface) 54%, color-mix(in srgb, var(--page-accent) 6%, var(--surface)) 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 84% 44%, color-mix(in srgb, var(--page-accent) 20%, transparent), transparent 43%);
  opacity: .8;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, var(--page-accent), transparent);
  opacity: .7;
}
.hero > * { position: relative; z-index: 1; }
.hero-art {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: clamp(10px, 6vw, 82px);
  width: clamp(150px, 18vw, 240px);
  height: clamp(150px, 18vw, 240px);
  object-fit: contain;
  transform: translateY(-50%) rotate(-5deg);
  opacity: .17;
  filter: saturate(.72) contrast(1.08) drop-shadow(0 20px 34px color-mix(in srgb, var(--page-accent) 38%, transparent));
  pointer-events: none;
}
.hero:not(.hero-home) .lede { max-width: min(70%, 850px); }
.hero-home { min-height: clamp(250px, 28vw, 360px); display: flex; flex-direction: column; justify-content: center; }
.hero-home::after {
  content: "W";
  position: absolute;
  right: clamp(18px, 6vw, 92px);
  top: 50%;
  transform: translateY(-52%);
  color: var(--gold);
  font: 240px/.8 var(--font-serif);
  opacity: .035;
  pointer-events: none;
}
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .15em; font-size: 11px; }
.lede { max-width: 850px; margin: 0; color: var(--muted); font-size: 16px; }
.section { margin-top: 30px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.muted { color: var(--muted); }
.loading, .load-error { padding: 48px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }
.load-error { color: #e2a1a1; }
@media (max-width: 980px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; }
  .language-link { grid-column: 2; grid-row: 1; }
}
@media (max-width: 560px) {
  .brand small { display: none; }
  .page { padding-top: 22px; }
  .hero { padding: 22px 18px; }
  .hero-art { right: -14px; width: 140px; height: 140px; opacity: .13; }
  .hero:not(.hero-home) .lede { max-width: 78%; }
}
