:root {
  --ink: #15221f;
  --ink-soft: #44514d;
  --paper: #f4f1e9;
  --paper-light: #fbfaf6;
  --line: #d8d5cc;
  --green: #173f3a;
  --green-dark: #0d2e2a;
  --sage: #a9c2af;
  --gold: #d9ad62;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 48, 43, 0.12);
  --radius: 24px;
  --shell: min(1160px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-light);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(21, 34, 31, 0.09);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: var(--white);
  background: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--green);
}

.nav-contact {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
  background:
    radial-gradient(circle at 80% 5%, rgba(169, 194, 175, 0.45), transparent 31%),
    linear-gradient(145deg, var(--paper-light), var(--paper));
}

.hero::after {
  position: absolute;
  right: -180px;
  bottom: -280px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(23, 63, 58, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(23, 63, 58, 0.025), 0 0 0 160px rgba(23, 63, 58, 0.018);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 88px;
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 500;
}

.hero-text {
  max-width: 690px;
  margin-bottom: 36px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--green);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-dark);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.hero-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--green);
  box-shadow: var(--shadow);
}

.hero-card::before {
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 30px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.card-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-card > p {
  margin-bottom: 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.35;
}

.hero-card dl {
  margin: 0;
}

.hero-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-card dt {
  color: rgba(255, 255, 255, 0.65);
}

.hero-card dd {
  margin: 0;
  font-weight: 720;
}

.principles {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-light);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principles article {
  min-height: 250px;
  padding: 44px 42px 40px 0;
}

.principles article + article {
  padding-left: 42px;
  border-left: 1px solid var(--line);
}

.number {
  display: block;
  margin-bottom: 46px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
}

.principles h2 {
  margin-bottom: 10px;
  font-size: 23px;
}

.principles p {
  max-width: 285px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.section {
  padding: 112px 0;
}

.section-heading {
  max-width: 700px;
}

.section-heading h2 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
}

.section-heading > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.participation {
  background: var(--white);
}

.company-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid #26564f;
  border-radius: var(--radius);
  background: var(--green);
  box-shadow: var(--shadow);
}

.company-intro,
.company-details {
  padding: 52px;
}

.company-intro {
  color: var(--white);
}

.company-badge {
  display: inline-block;
  margin-bottom: 40px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--sage);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company-card h3 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
}

.company-intro p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.text-link {
  display: inline-block;
  color: var(--green);
  font-weight: 760;
  text-underline-offset: 5px;
}

.company-intro .text-link {
  color: var(--white);
}

.company-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 23px 0 0 23px;
  color: var(--ink-soft);
  background: var(--paper);
}

.company-details p {
  margin-bottom: 0;
  font-size: 18px;
}

.company-details p + p {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.identity {
  background: var(--paper);
}

.identity-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
}

.facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--ink-soft);
  font-size: 14px;
}

.facts dd {
  margin: 0;
  font-weight: 720;
}

.contact-section {
  padding: 28px 0;
  background: var(--paper-light);
}

.contact-card {
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 58px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--green-dark);
}

.eyebrow-light {
  margin-bottom: 14px;
  color: var(--sage);
}

.contact-card h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
}

.contact-card > a {
  color: var(--white);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 720;
  text-underline-offset: 6px;
}

.site-footer {
  padding: 62px 0;
  background: var(--paper-light);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 52px;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-inner p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.copyright {
  white-space: nowrap;
}

.legal-page {
  padding: 96px 0 110px;
  background: var(--paper);
}

.legal-shell {
  max-width: 940px;
}

.legal-page h1 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 74px);
  font-weight: 500;
}

.legal-intro {
  max-width: 680px;
  margin-bottom: 64px;
  color: var(--ink-soft);
  font-size: 20px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.legal-grid section {
  padding: 34px 44px 34px 0;
  border-bottom: 1px solid var(--line);
}

.legal-grid section:nth-child(even) {
  padding-right: 0;
  padding-left: 44px;
  border-left: 1px solid var(--line);
}

.legal-grid h2 {
  margin-bottom: 18px;
  font-size: 22px;
}

.legal-grid p {
  margin-bottom: 16px;
  color: var(--ink-soft);
}

.legal-grid p:last-child {
  margin-bottom: 0;
}

.legal-grid a {
  color: var(--green);
}

.legal-back {
  margin-top: 48px;
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: var(--paper);
}

.error-card {
  max-width: 600px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.error-code {
  margin: 60px 0 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.error-card h1 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  font-weight: 500;
}

.error-card p:not(.error-code) {
  margin-bottom: 30px;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .hero-grid,
  .company-card,
  .identity-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .identity-grid {
    gap: 54px;
  }

  .hero-card {
    max-width: 620px;
  }

  .company-details {
    border-radius: 23px 23px 0 0;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(100% - 32px, 1160px);
    --radius: 19px;
  }

  .header-inner {
    min-height: 68px;
  }

  .header-inner nav a:not(.nav-contact) {
    display: none;
  }

  nav {
    gap: 0;
  }

  .hero {
    padding: 68px 0 58px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 64px);
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-card,
  .company-intro,
  .company-details {
    padding: 30px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principles article,
  .principles article + article {
    min-height: auto;
    padding: 30px 0;
    border-left: 0;
  }

  .principles article + article {
    border-top: 1px solid var(--line);
  }

  .number {
    margin-bottom: 22px;
  }

  .section {
    padding: 78px 0;
  }

  .company-card {
    margin-top: 38px;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-card {
    min-height: 280px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 34px 28px;
  }

  .contact-card > a {
    overflow-wrap: anywhere;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .copyright {
    grid-column: auto;
  }

  .legal-page {
    padding: 68px 0 80px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-grid section,
  .legal-grid section:nth-child(even) {
    padding: 28px 0;
    border-left: 0;
  }

  .error-card {
    padding: 34px 26px;
  }
}

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

  .button {
    transition: none;
  }
}
