@font-face {
  font-family: Nunito;
  src: url("/assets/fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Nunito;
  src: url("/assets/fonts/nunito-cyrillic.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Nunito;
  src: url("/assets/fonts/nunito-cyrillic-ext.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
  --shell: #fdf1c9;
  --dot: #f4e2a2;
  --paper: #ffffff;
  --ink: #33291f;
  --ink-soft: #6d5f4d;
  --line: #ecdfbc;
  --line-strong: #dcc795;
  --butter: #ffd75e;
  --butter-edge: #e2ad2a;
  --butter-pale: #fff7de;
  --mint: #63c69b;
  --mint-edge: #3fa276;
  --mint-pale: #e7f8f0;
  --peach: #ff9f6b;
  --peach-edge: #ef7a3d;
  --peach-pale: #ffeee2;
  --sky: #68b8f5;
  --sky-edge: #3f97d8;
  --sky-pale: #e7f3fd;
  --berry: #e96fa6;
  --berry-edge: #c94b86;
  --berry-pale: #ffeaf4;
  --btn: #e2574c;
  --btn-edge: #ab3a32;
  --radius: 26px;
  --radius-sm: 20px;
  --font-head: Nunito, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: Nunito, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--shell);
  background-image: radial-gradient(var(--dot) 2.4px, transparent 2.5px);
  background-size: 30px 30px;
  background-position: 8px 8px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 500;
  -webkit-text-size-adjust: 100%;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--berry-edge);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(201, 75, 134, .3);
  transition: color .16s ease, border-color .16s ease;
}
a:hover, a:focus-visible { color: var(--btn); border-bottom-color: currentColor; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.022em;
  margin: 0 0 .55em;
}
h1 { font-size: clamp(32px, 4.8vw, 50px); }
h2 { font-size: clamp(24px, 2.9vw, 32px); }
h3 { font-size: 21px; }
h4 { font-size: 18px; }

p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
strong { font-weight: 900; }
time { font-variant-numeric: tabular-nums; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 14px; top: 14px; z-index: 60; background: var(--butter); color: var(--ink);
  padding: 10px 18px; border: 2px solid var(--butter-edge); border-radius: 999px; font-weight: 900;
}

.site-head { background: var(--paper); border-bottom: 2px solid var(--line); }
.head-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0 14px; }
.brand { display: flex; align-items: center; gap: 15px; border: 0; color: var(--ink); }
.brand__mark {
  width: 62px; height: 62px; border-radius: 20px; padding: 7px; background: var(--butter-pale);
  border: 2px solid var(--butter); box-shadow: 0 4px 0 var(--butter-edge); transition: transform .18s ease;
}
.brand:hover .brand__mark { transform: rotate(-7deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__text strong { font-size: 24px; line-height: 1.05; letter-spacing: -.03em; }
.brand__text small { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.head-contacts { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.head-contacts a {
  border: 2px solid var(--mint-edge); border-radius: 999px; padding: 8px 16px;
  background: var(--mint-pale); color: #1f6f4c; box-shadow: 0 3px 0 #bfe8d5;
}
.head-contacts a:hover { transform: translateY(-2px); background: #fff; border-bottom-color: transparent; }
.burger {
  display: none; align-items: center; gap: 9px; font: inherit; font-weight: 900; font-size: 15px;
  background: var(--butter); color: #4a3410; border: 2px solid var(--butter-edge);
  border-radius: 999px; padding: 9px 18px; cursor: pointer; box-shadow: 0 4px 0 var(--butter-edge);
}
.burger::before { content: ""; width: 16px; height: 12px; border-top: 3px solid currentColor; border-bottom: 3px solid currentColor; border-radius: 2px; }

.site-nav {
  background: var(--butter);
  background-image: linear-gradient(180deg, #ffe488, var(--butter));
  border-top: 2px solid #f0c85a; border-bottom: 2px solid var(--butter-edge);
  position: sticky; top: 0; z-index: 40;
}
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 9px 0; }
.nav-list li { margin: 0; }
.nav-list a {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 17px; font-size: 16px; font-weight: 800;
  color: #4a3410; border: 2px solid transparent; border-radius: 999px; transition: all .16s ease;
}
.nav-list a:hover, .nav-list a:focus-visible {
  color: #33291f; background: rgba(255, 255, 255, .72); border-color: var(--butter-edge); border-bottom-color: var(--butter-edge);
}
.nav-list a.is-active {
  background: var(--paper); border-color: var(--butter-edge); border-bottom-color: var(--butter-edge);
  box-shadow: 0 3px 0 var(--butter-edge);
}
.nav-cta {
  padding: 9px 18px; border: 2px solid var(--btn); border-radius: 999px; font-size: 14px; font-weight: 900;
  background: var(--paper); color: var(--btn); box-shadow: 0 4px 0 var(--btn-edge); transition: all .16s ease;
}
.nav-cta:hover { transform: translateY(-2px); background: var(--btn); color: #fff; box-shadow: 0 6px 0 var(--btn-edge); }

.page { padding: 34px 0 60px; }
.panel {
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3.4vw, 44px); box-shadow: 0 20px 36px -30px rgba(51, 41, 31, .55);
}
.panel + .panel { margin-top: 26px; }
.panel--paper { background: var(--paper); border-color: var(--line); }
.section { margin-top: 32px; }
.section:nth-of-type(4n+1) { background: var(--mint-pale); border-color: #bfe8d5; }
.section:nth-of-type(4n+2) { background: var(--peach-pale); border-color: #ffd6b8; }
.section:nth-of-type(4n+3) { background: var(--sky-pale); border-color: #c5e3fb; }
.section:nth-of-type(4n+4) { background: var(--butter-pale); border-color: #f3e0a6; }

.hero { max-width: 900px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  color: #8a3560; background: var(--berry-pale); border: 2px solid #f6c3da; border-radius: 999px;
  padding: 5px 14px; margin-bottom: 16px;
}
.hero h1::after {
  content: ""; display: block; width: 190px; height: 12px; border-radius: 999px; margin-top: 16px;
  background: linear-gradient(90deg, var(--butter), var(--peach));
}
.lead { font-size: 20px; font-weight: 600; color: #4a3f33; margin-bottom: 1.3em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 26px; border-radius: 999px;
  border: 2px solid var(--btn); background: var(--btn); color: #fff; font-size: 16px; font-weight: 900;
  box-shadow: 0 5px 0 var(--btn-edge); transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover, .btn:focus-visible {
  transform: translateY(-3px); background: #ef6a5f; border-color: #ef6a5f; color: #fff;
  box-shadow: 0 8px 0 var(--btn-edge); border-bottom-color: #ef6a5f;
}
.btn--ghost { background: var(--paper); color: #4a3410; border-color: var(--butter-edge); box-shadow: 0 5px 0 var(--butter-edge); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--butter); color: #4a3410; border-color: var(--butter-edge); box-shadow: 0 8px 0 var(--butter-edge); }

.section__head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-bottom: 22px; padding-bottom: 14px; border-bottom: 3px dashed var(--line-strong);
}
.section__head h2 { margin: 0; display: inline-flex; align-items: center; gap: 14px; }
.section__head h2::after {
  content: ""; width: 40px; height: 10px; border-radius: 999px; background: var(--butter);
  box-shadow: 0 2px 0 var(--butter-edge); flex: none;
}
.section__head a {
  font-size: 14px; font-weight: 900; white-space: nowrap; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 2px solid var(--line-strong); box-shadow: 0 3px 0 rgba(220, 199, 149, .6);
  color: var(--berry-edge); transition: all .16s ease;
}
.section__head a:hover { transform: translateY(-2px); background: #fff; border-color: var(--butter-edge); box-shadow: 0 5px 0 var(--butter-edge); border-bottom-color: var(--butter-edge); }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; overflow: hidden; background: var(--paper); border: 2px solid var(--line);
  border-radius: var(--radius-sm); padding: 24px 22px 20px; display: flex; flex-direction: column; gap: 9px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 9px; background: var(--butter); }
.card:nth-of-type(4n+2)::before { background: var(--mint); }
.card:nth-of-type(4n+3)::before { background: var(--sky); }
.card:nth-of-type(4n+4)::before { background: var(--berry); }
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 12px 0 -4px rgba(226, 173, 42, .28); }
.card h3 { margin-bottom: 4px; }
.card h3 a { border: 0; color: var(--ink); }
.card h3 a::after { content: " →"; opacity: 0; display: inline-block; transform: translateX(-6px); transition: all .18s ease; }
.card:hover h3 a::after { opacity: 1; transform: none; }
.card h3 a:hover { color: var(--berry-edge); }
.card p { margin: 0; font-size: 15.5px; color: #56493a; }
.card__meta { font-size: 12.5px; font-weight: 800; color: var(--ink-soft); display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.card__meta > span:not(.tag) {
  background: var(--butter-pale); border: 1.5px solid #f0d68a; border-radius: 999px; padding: 3px 11px; color: #7a5c14;
}
.tag {
  display: inline-block; align-self: flex-start; width: fit-content; font-size: 11.5px; font-weight: 900;
  letter-spacing: .06em; text-transform: uppercase; color: #1f6f4c; background: var(--mint-pale);
  border: 1.5px solid #bfe8d5; border-radius: 999px; padding: 4px 11px;
}

.news { list-style: none; margin: 0; padding: 0; }
.news li {
  display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: start; padding: 16px;
  border: 2px solid transparent; border-radius: var(--radius-sm); transition: all .18s ease;
}
.news li + li { margin-top: 6px; }
.news li:hover { background: var(--paper); border-color: var(--line); box-shadow: 0 8px 0 -3px rgba(63, 162, 118, .22); }
.news time {
  display: inline-block; font-size: 13px; font-weight: 900; color: #7a5c14; background: var(--butter-pale);
  border: 1.5px solid #f0d68a; border-radius: 999px; padding: 4px 12px;
}
.news h3 { font-size: 19px; margin: 0 0 5px; }
.news p { margin: 0; font-size: 15.5px; color: #56493a; }
.news a { border: 0; color: var(--ink); }
.news a:hover { color: var(--berry-edge); }

.alpha { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 12px; }
.alpha a {
  display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--paper);
  border: 2px solid var(--line); border-radius: 18px; font-size: 15px; font-weight: 700; color: var(--ink);
  transition: all .18s ease;
}
.alpha a:hover {
  transform: translateY(-3px); border-color: var(--butter-edge); color: var(--ink);
  box-shadow: 0 6px 0 rgba(226, 173, 42, .3); border-bottom-color: var(--butter-edge);
}
.alpha b {
  flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px;
  background: var(--butter); border: 2px solid var(--butter-edge); color: #4a3410; font-size: 20px; font-weight: 900;
  box-shadow: 0 3px 0 var(--butter-edge); transition: transform .18s ease;
}
.alpha a:hover b { transform: rotate(-9deg); }
.alpha span { line-height: 1.35; }

.letters { display: grid; gap: 0; margin: 0; }
.letters > div {
  display: grid; grid-template-columns: 60px 1fr; gap: 16px; align-items: start; padding: 18px 12px;
  border-radius: 18px; transition: background .18s ease; scroll-margin-top: 90px;
}
.letters > div:hover { background: rgba(255, 255, 255, .75); }
article[id], section[id] { scroll-margin-top: 90px; }
.letters dt {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 18px; background: var(--paper);
  border: 2px solid var(--butter); box-shadow: 0 4px 0 var(--butter-edge); font-size: 24px; font-weight: 900; color: #b8860b;
}
.letters dd { margin: 0; font-size: 15.5px; color: #56493a; }
.letters dd b { display: block; font-size: 18px; font-weight: 900; color: var(--ink); margin-bottom: 3px; }
.status {
  display: inline-block; font-size: 11.5px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase;
  color: #7a5c14; background: var(--butter-pale); border: 1.5px solid #f0d68a; border-radius: 999px; padding: 2px 10px; margin-left: 6px;
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 26px 0 0; }
.stats div {
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 20px 16px;
  text-align: center; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.stats div:hover { transform: translateY(-4px) rotate(-1.2deg); border-color: var(--butter-edge); box-shadow: 0 8px 0 rgba(226, 173, 42, .25); }
.stats b { display: block; font-size: 34px; font-weight: 900; line-height: 1; margin-bottom: 8px; color: var(--berry-edge); }
.stats div:nth-child(4n+2) b { color: var(--mint-edge); }
.stats div:nth-child(4n+3) b { color: var(--sky-edge); }
.stats div:nth-child(4n+4) b { color: var(--peach-edge); }
.stats span { font-size: 14px; font-weight: 700; color: var(--ink-soft); }

.about-brief { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(22px, 3vw, 40px); align-items: start; }

.article { max-width: 800px; }
.article h2 {
  display: inline-block; margin-top: 1.8em; padding: 0 6px; background: linear-gradient(180deg, transparent 62%, var(--butter) 62%, var(--butter) 92%, transparent 92%);
}
.article h3 { margin-top: 1.5em; }
.article .lead { font-size: 20.5px; color: #463f36; }
.article ul li::marker, .article ol li::marker { color: var(--peach-edge); font-weight: 900; }
.article p a { border-bottom-color: rgba(201, 75, 134, .35); }
.article table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 24px 0; font-size: 15px; background: var(--paper); border: 2px solid var(--line-strong); border-radius: 18px; overflow: hidden; }
.article caption { caption-side: bottom; text-align: left; font-size: 14px; font-weight: 700; color: var(--ink-soft); padding-top: 10px; }
.article th, .article td { border-bottom: 1.5px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
.article tr:last-child td { border-bottom: 0; }
.article th { background: var(--butter); color: #4a3410; font-weight: 900; }
.article tbody tr:hover { background: var(--butter-pale); }
blockquote {
  margin: 26px 0; padding: 20px 24px; background: var(--paper); border: 2px solid var(--line);
  border-left: 8px solid var(--sky); border-radius: 8px 24px 24px 8px; font-size: 18px; font-weight: 600; line-height: 1.55; color: #4a3f33;
}
blockquote footer { font-size: 14px; font-weight: 700; color: var(--ink-soft); margin-top: 10px; }

.byline {
  display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; font-weight: 800; color: #6d5f4d;
  padding-bottom: 20px; margin-bottom: 26px; border-bottom: 3px dashed var(--line-strong);
}
.byline span { background: var(--sky-pale); border: 1.5px solid #c5e3fb; border-radius: 999px; padding: 4px 12px; }
.crumbs { font-size: 14px; font-weight: 700; color: var(--ink-soft); margin-bottom: 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: 8px; }
.crumbs li::after { content: "›"; color: var(--line-strong); font-weight: 900; }
.crumbs li:last-child::after { content: ""; }
.crumbs a { border: 0; background: var(--paper); border-radius: 999px; padding: 5px 14px; border: 2px solid var(--line); color: var(--berry-edge); }
.crumbs a:hover { border-color: var(--butter-edge); text-decoration: none; }

.note {
  position: relative; background: var(--butter-pale); border: 2px dashed var(--butter-edge); border-radius: 22px;
  padding: 26px 24px 22px; margin: 30px 0; font-size: 15.5px;
}
.note::before {
  content: "✎"; position: absolute; top: -16px; left: 22px; width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--butter); border: 2px solid var(--butter-edge); border-radius: 12px; color: #4a3410; font-size: 17px; font-weight: 900;
  box-shadow: 0 3px 0 var(--butter-edge);
}
.note h3 { margin-top: 0; }
.note--quiet { background: var(--paper); border-color: var(--line-strong); }
.note--quiet::before { content: ""; width: 18px; height: 18px; background: var(--mint); border-color: var(--mint-edge); box-shadow: 0 2px 0 var(--mint-edge); }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.stack { display: grid; gap: 22px; }

.shot { margin: 30px 0 0; }
.shot--inner { margin: 32px 0; }
.shot__frame {
  aspect-ratio: 16 / 9; overflow: hidden;
  border: 3px solid var(--butter-edge); border-radius: 24px; background: var(--butter-pale);
  box-shadow: 0 14px 26px -22px rgba(51, 41, 31, .7);
}
.shot__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.shot__frame:hover img { transform: scale(1.03); }
.shot--wide .shot__frame { aspect-ratio: 21 / 9; }
.shot figcaption { font-size: 14px; font-weight: 700; color: var(--ink-soft); margin-top: 12px; }

.form { display: grid; gap: 14px; max-width: 580px; }
.form label { font-size: 14px; font-weight: 900; color: #5a4c3b; display: grid; gap: 6px; }
.form input, .form textarea, .form select {
  font: inherit; font-weight: 600; padding: 12px 15px; border: 2px solid var(--line-strong); border-radius: 16px;
  background: var(--paper); color: var(--ink); transition: border-color .16s ease, box-shadow .16s ease;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 0; border-color: var(--butter-edge); box-shadow: 0 0 0 5px rgba(255, 215, 94, .45); }
.form input[type="checkbox"] { width: 22px; height: 22px; padding: 0; border: 2px solid var(--line-strong); accent-color: var(--btn); justify-self: start; }
.form label:has(input[type="checkbox"]) { grid-auto-flow: column; align-items: center; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.form .btn { justify-self: start; margin-top: 6px; }

.contacts-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contacts-list li { background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 16px 18px; transition: transform .18s ease, border-color .18s ease; }
.contacts-list li:hover { transform: translateX(4px); border-color: var(--butter-edge); }
.contacts-list b { display: block; font-size: 18px; font-weight: 900; margin-bottom: 2px; }
.contacts-list span { font-size: 15px; font-weight: 600; color: var(--ink-soft); }

.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.team div { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 22px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.team div:hover { transform: translateY(-4px); border-color: var(--mint-edge); box-shadow: 0 8px 0 rgba(63, 162, 118, .22); }
.team h3 { margin-bottom: 2px; }
.team p { font-size: 15px; color: #56493a; margin: 0; }
.team .role { display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; color: #8a3560; background: var(--berry-pale); border: 1.5px solid #f6c3da; border-radius: 999px; padding: 3px 11px; margin-bottom: 12px; }
.team div:nth-child(3n+2) .role { color: #1f6f4c; background: var(--mint-pale); border-color: #bfe8d5; }
.team div:nth-child(3n+3) .role { color: #2a6596; background: var(--sky-pale); border-color: #c5e3fb; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step; background: var(--paper); border: 2px solid var(--line); border-radius: 18px;
  padding: 16px 18px 16px 66px; position: relative; transition: transform .18s ease, border-color .18s ease;
}
.steps li:hover { transform: translateX(5px); border-color: var(--butter-edge); }
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 15px; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 12px; background: var(--butter); border: 2px solid var(--butter-edge); color: #4a3410; font-weight: 900; font-size: 16px;
  box-shadow: 0 3px 0 var(--butter-edge);
}
.steps li:nth-child(3n+2)::before { background: var(--mint); border-color: var(--mint-edge); color: #12432f; box-shadow: 0 3px 0 var(--mint-edge); }
.steps li:nth-child(3n+3)::before { background: var(--sky); border-color: var(--sky-edge); color: #0f3f66; box-shadow: 0 3px 0 var(--sky-edge); }

main section > article[id] {
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 22px;
  margin-bottom: 18px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
main section > article[id]:hover { transform: translateY(-4px); border-color: var(--butter-edge); box-shadow: 0 10px 0 -4px rgba(226, 173, 42, .3); }
main section > article[id] > p:last-child { margin-bottom: 0; }

.site-foot {
  margin-top: 48px; background: var(--ink); background-image: radial-gradient(#4a3f33 2.4px, transparent 2.5px);
  background-size: 30px 30px; background-position: 8px 8px; color: #efe6d8; padding: 44px 0 22px;
  font-size: 15px; border-radius: 34px 34px 0 0;
}
.site-foot a { color: var(--butter); border: 0; font-weight: 700; }
.site-foot a:hover { color: #fff3cf; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 30px; }
.foot-grid h3 { font-size: 17px; color: #fff; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-grid p { font-size: 14.5px; color: #c3b8a6; }
.foot-bottom { margin-top: 30px; padding-top: 18px; border-top: 2px dashed #4d4234; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13.5px; font-weight: 700; color: #a79f92; }

@media (max-width: 980px) {
  .about-brief { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .head-contacts { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: min(1180px, 100% - 28px); }
  .burger { display: inline-flex; }
  .site-nav { position: static; }
  .site-nav .wrap { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list { display: none; flex-direction: column; padding: 10px 0 14px; gap: 6px; }
  .nav-list a { justify-content: flex-start; border: 2px solid rgba(226, 173, 42, .8); background: rgba(255, 255, 255, .6); }
  .nav-cta { display: none; }
  .site-nav.is-open .nav-list { display: flex; }
  .grid--3, .grid--2, .two-col, .team { grid-template-columns: 1fr; }
  .news li { grid-template-columns: 1fr; gap: 8px; }
  .brand__mark { width: 50px; height: 50px; border-radius: 16px; }
  .brand__text strong { font-size: 20px; }
  .shot__frame { aspect-ratio: 3 / 2; }
  .shot--wide .shot__frame { aspect-ratio: 16 / 9; }
  .letters > div { grid-template-columns: 52px 1fr; padding: 16px 6px; gap: 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .article h2 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none; }
}
