:root {
  color: #172116;
  background: #f7f5ed;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --bg: #f7f5ed;
  --ink: #172116;
  --muted: #5d6654;
  --green: #355b2d;
  --gold: #c89c3b;
  --clay: #9c5c3c;
  --paper: #fffdf7;
  --line: rgba(23, 33, 22, 0.16);
  --shadow: 0 24px 70px rgba(40, 55, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 156, 59, 0.2), transparent 26rem),
    linear-gradient(135deg, #f7f5ed 0%, #eef0e4 52%, #f5eee2 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 36px));
  margin: 12px auto 0;
  padding: 10px 12px;
  background: rgba(255, 253, 247, 0.96);
  border: 1px solid rgba(23, 33, 22, 0.1);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(40, 55, 32, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fffdf7;
  background: linear-gradient(135deg, var(--green), #6b7b30);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(53, 91, 45, 0.24);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: var(--ink);
  background: var(--paper);
}

.language-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  color: var(--green);
  background: #f1ecd9;
  border: 1px solid rgba(53, 91, 45, 0.16);
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.language-toggle:hover {
  background: #e8dfc2;
  transform: translateY(-1px);
}

.language-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nav-toggle {
  min-height: 38px;
  width: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--green);
  background: #f1ecd9;
  border: 1px solid rgba(53, 91, 45, 0.16);
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.nav-toggle:hover {
  background: #e8dfc2;
  transform: translateY(-1px);
}

.nav-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.section-band,
.content-section,
.split-section,
.plain-page {
  position: relative;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.content-section,
.split-section,
.plain-page,
.site-footer {
  z-index: 2;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 38px;
  padding: 52px 0 92px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 720px;
  font-size: clamp(52px, 8vw, 116px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.12;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 760;
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fffdf7;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(53, 91, 45, 0.24);
}

.button.secondary {
  color: var(--green);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}

.visual-panel {
  position: fixed;
  top: 126px;
  right: max(18px, calc((100vw - 1160px) / 2));
  z-index: 1;
  width: min(48vw, 620px);
  height: min(68vh, 680px);
  min-height: 520px;
  border-radius: 8px;
  overflow: visible;
  pointer-events: none;
}

#visual-canvas {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  filter: drop-shadow(0 30px 48px rgba(53, 91, 45, 0.24));
}

.static-symbol {
  display: none;
  position: absolute;
  inset: 18%;
  place-items: center;
}

.static-symbol span {
  display: block;
  width: min(58vw, 310px);
  aspect-ratio: 0.72;
  background: linear-gradient(145deg, #577738, #d8c8a7);
  border-radius: 100% 0 100% 0;
  transform: rotate(-28deg);
  box-shadow: var(--shadow);
}

.content-section {
  padding: 86px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading p,
.small-label {
  margin-bottom: 14px;
  color: var(--clay);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-grid,
.principle-grid {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principle-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  min-height: 220px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(40, 55, 32, 0.08);
}

.info-card p,
.statement-list p,
.article-body p,
.contact-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  padding: 84px 46px;
  background: #263820;
  color: #fffdf7;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-section .small-label,
.split-section p {
  color: rgba(255, 253, 247, 0.76);
}

.statement-list {
  display: grid;
  gap: 14px;
}

.plain-page {
  padding: 62px 0 96px;
}

.page-hero {
  max-width: 820px;
  padding: 56px 0 44px;
}

.page-hero h1 {
  font-size: clamp(46px, 7vw, 88px);
}

.page-hero p {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.55;
}

.article-body,
.contact-panel {
  max-width: 840px;
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-body h2 {
  margin-top: 30px;
  font-size: 28px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.simple-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.contact-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  margin: 4px 0 18px;
  padding: 0 18px;
  color: #fffdf7;
  background: var(--green);
  border-radius: 8px;
  font-weight: 760;
}

.site-footer {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 36px));
  display: flex;
  justify-content: space-between;
  gap: 26px;
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--green);
  font-weight: 700;
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .visual-panel,
  #visual-canvas {
    min-height: 420px;
  }

  .visual-panel {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
  }

  .card-grid,
  .principle-grid,
  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section-band,
  .content-section,
  .split-section,
  .plain-page,
  .site-header,
  .site-footer {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    top: 8px;
    margin-top: 8px;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-actions {
    grid-column: 2;
    margin-left: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    margin-left: 0;
    padding: 10px 0 2px;
    border-top: 1px solid var(--line);
  }

  .site-header[data-nav-open="true"] .nav-links {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    justify-content: flex-start;
    padding: 0 10px;
    font-size: 14px;
  }

  h1 {
    font-size: 50px;
  }

  .lead,
  .page-hero p {
    font-size: 18px;
  }

  .visual-panel,
  #visual-canvas {
    min-height: 340px;
  }

  .content-section {
    padding: 58px 0;
  }

  .split-section {
    padding: 42px 24px;
  }

  .article-body,
  .contact-panel,
  .info-card {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }

  #visual-canvas {
    display: none;
  }

  .static-symbol {
    display: grid;
  }
}
