:root {
  --ink: #172033;
  --muted: #617083;
  --soft: #eef4f1;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #dce5e4;
  --teal: #12716d;
  --teal-dark: #0b4f4d;
  --coral: #d95f4f;
  --amber: #e4a62d;
  --violet: #7b61c9;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

picture {
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 3.65rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 229, 228, 0.95);
  background: rgba(251, 250, 246, 0.95);
  backdrop-filter: blur(16px);
}

.nav,
.section,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--teal-dark);
}

.section {
  padding: 76px 0;
}

.fund-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.grant-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.grant-logos a {
  display: grid;
  min-height: 70px;
  place-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.grant-logos img {
  max-height: 52px;
  width: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.94fr);
  gap: 62px;
  align-items: center;
  padding-top: 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--teal);
  color: #fff;
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--teal);
}

.hero-visual {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-visual picture {
  width: 100%;
  height: 100%;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-grid,
.formats-grid,
.publication-grid,
.team-grid {
  display: grid;
  gap: 16px;
}

.intro-grid {
  grid-template-columns: repeat(3, 1fr);
  padding-top: 20px;
}

.intro-grid article,
.formats-grid article,
.publication-grid article,
.process-list article,
.person-card,
.contact-card,
.request-form,
.fund-panel,
.materials-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.intro-grid article {
  min-height: 230px;
  padding: 24px;
}

.intro-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--coral);
  font-weight: 900;
}

.intro-grid h2 {
  font-size: 1.35rem;
}

.intro-grid p,
.formats-grid p,
.publication-grid p,
.process-list p,
.person-card p,
.materials-section p,
.request-copy p,
.case-copy p,
.case-points span,
.section-heading p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 96px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading p {
  margin: 14px 0 0;
  font-size: 1.05rem;
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-list article {
  position: relative;
  min-height: 148px;
  padding: 22px 22px 22px 92px;
}

.process-list small {
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--teal-dark);
  font-weight: 900;
}

.process-list p,
.formats-grid p {
  margin: 10px 0 0;
}

.formats-section {
  padding-top: 40px;
}

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

.formats-grid article {
  min-height: 210px;
  padding: 24px;
}

.formats-grid article:nth-child(1) {
  border-top: 4px solid var(--teal);
}

.formats-grid article:nth-child(2) {
  border-top: 4px solid var(--amber);
}

.formats-grid article:nth-child(3) {
  border-top: 4px solid var(--violet);
}

.publications-section {
  padding-top: 42px;
}

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

.publication-grid article {
  min-height: 280px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.publication-grid span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.publication-grid p {
  margin: 0;
}

.publication-grid a {
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.case-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.case-copy {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(238, 244, 241, 0.92), rgba(255, 255, 255, 0.98) 68%);
  color: var(--ink);
  box-shadow: 0 16px 42px rgba(18, 113, 109, 0.08);
}

.case-copy .eyebrow,
.case-copy p {
  color: var(--muted);
}

.case-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.case-visual.structure-card {
  display: grid;
  min-height: 390px;
  place-items: center;
  padding: 8px 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.case-visual.structure-card picture {
  width: 100%;
}

.case-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.case-visual.structure-card img {
  margin: 0 auto;
  max-height: 330px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.case-points {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.case-points div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  align-items: start;
  min-height: 108px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.case-points strong,
.case-points span {
  display: block;
}

.team-section {
  padding-top: 46px;
}

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

.person-card {
  overflow: hidden;
}

.person-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.person-kuznetsova img {
  object-position: 50% 13%;
}

.person-afanasiev img {
  object-position: 50% 15%;
}

.person-nikolaev img {
  object-position: 50% 21%;
}

.person-gushchin img {
  object-position: 50% 20%;
}

.person-card h3,
.person-card p {
  padding: 0 18px;
}

.person-card h3 {
  margin-top: 18px;
}

.person-card p {
  margin: 8px 0 20px;
  font-size: 0.9rem;
  line-height: 1.42;
}

.materials-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr) minmax(260px, 340px);
  gap: 28px;
  align-items: center;
  padding: 28px;
}

.materials-section h2 {
  font-size: 1.65rem;
}

.materials-section p {
  margin: 0;
}

.materials-request-form {
  display: grid;
  gap: 10px;
}

.materials-request-form label {
  gap: 5px;
  font-size: 0.9rem;
}

.materials-request-form .button {
  width: 100%;
}

.request-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 4px;
  width: min(100%, 420px);
  margin-top: 26px;
  padding: 18px;
}

.contact-card a {
  color: var(--teal-dark);
  font-weight: 850;
}

.request-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #b8c7ca;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(18, 113, 109, 0.16);
  border-color: var(--teal);
}

.consent {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 750;
}

.form-status.is-error {
  color: var(--coral);
}

.fund-section {
  padding-top: 36px;
}

.fund-panel {
  display: grid;
  grid-template-columns: minmax(250px, 360px) 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  max-width: 580px;
  margin: 8px 0 0;
}

address {
  display: grid;
  gap: 6px;
  font-style: normal;
  text-align: right;
}

address a {
  color: var(--teal-dark);
  font-weight: 850;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 3.2rem;
  }

  .hero,
  .split-section,
  .case-section,
  .request-section,
  .fund-panel,
  .materials-section {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .intro-grid,
  .formats-grid,
  .publication-grid,
  .case-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav,
  .section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 16px;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .section {
    padding: 54px 0;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.78rem;
  }

  .lead {
    font-size: 1rem;
  }

  .grant-logos,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    padding: 14px;
  }

  .process-list article {
    padding: 84px 18px 18px;
  }

  .process-list small {
    left: 18px;
    top: 18px;
  }

  .case-copy,
  .request-form {
    padding: 20px;
  }

  .case-points div {
    grid-template-columns: 1fr;
  }

  .materials-section {
    padding: 20px;
  }

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

  address {
    text-align: left;
  }
}
