:root {
  --bg-top: #f7f1e5;
  --bg-bottom: #e7ddd0;
  --surface: rgba(255, 252, 247, 0.88);
  --surface-strong: #fffdf8;
  --ink: #2f241c;
  --muted: #6d5b50;
  --line: rgba(90, 67, 51, 0.14);
  --accent: #b46a2f;
  --accent-deep: #8a4b1c;
  --shadow: 0 18px 50px rgba(77, 52, 33, 0.12);
  --radius-lg: 26px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 28%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.site-header {
  margin-bottom: 24px;
}

.brand-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 130px;
  padding: 12px 18px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: #20324b;
}

.language-switcher {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
}

.language-button {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 0.72rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.language-button:hover,
.language-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.language-button.is-active {
  background: #d8b329;
  border-color: #d8b329;
  color: #20324b;
  font-weight: 700;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 80px;
  border: 2px solid rgba(255, 255, 255, 0.96);
}

.brand-mark-letter {
  font-size: clamp(1rem, 2.25vw, 1.75rem);
  font-weight: 300;
  line-height: 1;
  color: #fff;
}

.brand-title {
  max-width: 100%;
  margin: 0;
  font-size: clamp(0.62rem, 1.2vw, 1.05rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  color: #fff;
}

.brand-divider {
  width: 56px;
  height: 3px;
  background: #d8b329;
}

.brand-tagline {
  margin: 0;
  font-size: clamp(0.36rem, 0.8vw, 0.5rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-align: center;
  color: rgba(255, 255, 255, 0.98);
}

.site-menu {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.menu-item {
  padding: 16px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 24px rgba(95, 71, 51, 0.07);
}

.menu-item:hover,
.menu-item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(180, 106, 47, 0.4);
  outline: none;
}

.menu-item.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 16px 28px rgba(138, 75, 28, 0.26);
}

.site-content {
  min-height: 360px;
}

.content-card {
  min-height: 360px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.82);
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  width: 160px;
  height: 3px;
  background: linear-gradient(90deg, #d8b329, rgba(216, 179, 41, 0));
}

.content-kicker {
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

#content-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  position: relative;
  padding-bottom: 18px;
}

#content-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d8b329, #e8cf70);
}

.content-placeholder {
  max-width: 60ch;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.content-body {
  color: var(--muted);
}

.content-body p {
  margin: 0 0 18px;
  line-height: 1.9;
}

.content-body h2 {
  margin: 32px 0 12px;
  padding-left: 18px;
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--ink);
  position: relative;
}

.content-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d8b329;
  box-shadow: 18px 0 0 rgba(216, 179, 41, 0.4);
}

.content-body h2::after {
  content: "";
  display: block;
  width: 88px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, rgba(216, 179, 41, 0.95), rgba(216, 179, 41, 0));
}

.content-body ul {
  margin: 0 0 20px 22px;
  padding: 0;
}

.content-body li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.content-body strong {
  color: var(--ink);
}

@media (max-width: 1024px) {
  .site-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    margin: 10px auto;
    padding: 18px;
    border-radius: 24px;
  }

  .site-menu {
    grid-template-columns: 1fr;
  }

  .content-card {
    min-height: 280px;
    padding: 22px;
  }

  .content-card::before {
    left: 22px;
    width: 110px;
  }

  .brand-hero {
    min-height: 120px;
    padding: 12px 10px 14px;
    gap: 8px;
  }

  .language-switcher {
    top: 8px;
    right: 8px;
    gap: 6px;
  }

  .language-button {
    padding: 5px 8px;
    font-size: 0.64rem;
  }

  .brand-mark {
    width: 40px;
    height: 68px;
    border-width: 2px;
  }

  .brand-divider {
    width: 48px;
    height: 3px;
  }

  .brand-tagline {
    letter-spacing: 0.06em;
  }
}
