/* ==========================================================================
   Берег Медиа — Clean Architectural Layout (v3)
   ========================================================================== */

@font-face { font-family: "Oswald"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/oswald-400-700-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/oswald-400-700-latin.woff2) format("woff2"); 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: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/firasans-400-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/firasans-400-latin.woff2) format("woff2"); 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: "Fira Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/firasans-500-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/firasans-500-latin.woff2) format("woff2"); 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: "Fira Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/firasans-600-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/firasans-600-latin.woff2) format("woff2"); 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; }

:root {
  --paper: #F4F3EF;              /* Cloud Dancer */
  --night: #16181A;              /* Ночь */
  --paper-2: rgba(244,243,239,.86);  /* Cloud Dancer на графите: слово и текст в подвале */
  --blue: #0047FF;
  --cloud: #F4F3EF;              /* константа: светлый на тёмном в любой теме */               /* Swiss Blue: точка логотипа и один акцент */
  --ink: #16181A;                /* Типографический черный */
  --ink-2: rgba(22,24,26, 0.74);
  --ink-3: rgba(22,24,26, 0.7);
  --rule: rgba(22,24,26, 0.12); /* Тонкая разделительная линия */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(24px, 4vw, 64px);
  --ind: 56px;
  --fs-body: clamp(16px, 1.2vw, 18px);
  --fs-sm: 14px;
  --logo-w: clamp(160px, 15vw, 230px);
  --logo-w-sm: 114px;
  --sec: clamp(64px, 7vw, 108px);
  --max: 1680px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* 1. УБИРАЕМ ВЫЛЕЗШУЮ СЛУЖЕБНУЮ ССЫЛКУ И БЕЛУЮ ПОЛОСУ НАД ВИДЕО */
.skip {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  left: 16px !important;
  top: 16px !important;
  width: auto;
  height: auto;
  z-index: 9999;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
}

.ul { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: transparent; transition: text-decoration-color .35s var(--ease); }
.ul:hover { text-decoration-color: currentColor; }

/* 2. БЕГУЩАЯ СТРОКА ОТКЛЮЧЕНА */
.marq { display: none !important; }

/* ---------- ШАПКА ---------- */
.hdr {
  --hc: #F4F3EF;
  --hr: rgba(244,243,239,.25);
  color: var(--hc);
  position: fixed;
  z-index: 50;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: max(calc(var(--gutter) - 16px), calc(22px + env(safe-area-inset-top))) var(--gutter) 0;
  transition: background-color .4s var(--ease), padding .4s var(--ease), color .4s var(--ease);
}
.hdr.scrolled {
  --dot: var(--ink);
  --hc: var(--ink);
  --hr: var(--rule);
  align-items: center;
  padding-top: calc(14px + env(safe-area-inset-top));
  padding-bottom: 14px;
  background: rgba(244,243,239, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--rule);
}
.brand { display: block; line-height: 0; margin: 0; }
.mark { display: block; width: var(--logo-w); height: auto; overflow: hidden; transition: width .6s var(--ease); }
.hdr.scrolled .mark { width: var(--logo-w-sm); }
.mark path { fill: var(--hc, var(--ink)); transition: transform 1.2s var(--ease) calc(.15s + var(--i) * .09s), fill .4s var(--ease); transform: translateY(940px); }
.ready .mark path { transform: none; }
.mark .dot { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .8s var(--ease) 1s; }
.ready .mark .dot { transform: scale(1); }
.mark .dc { fill: var(--dot, #0047FF); transition: fill .4s var(--ease); }

.nav {
  display: flex;
  align-items: baseline;
  gap: clamp(18px, 2.6vw, 40px);
  margin-top: calc(var(--logo-w) * .27 - 28px);
  transition: margin .5s var(--ease), opacity 1s var(--ease) 1.4s;
  opacity: 0;
}
.ready .nav { opacity: 1; }
.hdr.scrolled .nav { margin-top: 0; }
.nav a.l { font-size: clamp(15px, 1.1vw, 17px); font-weight: 500; letter-spacing: -0.01em; padding: 10px 0; }
.burger { display: none; width: 48px; height: 48px; margin: -8px -12px 0 0; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease), opacity .3s; }
.burger i:nth-child(1) { top: 20px; } .burger i:nth-child(2) { top: 27px; }
.menu-open .burger i:nth-child(1) { top: 24px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { top: 24px; transform: rotate(-45deg); }

.menu-open .hdr, .menu-open .hdr.scrolled { --hc: #F4F3EF; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
.sheet {
  position: fixed; inset: 0; z-index: 40;
  background: var(--night); color: #F4F3EF;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 96px var(--gutter) calc(40px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s cubic-bezier(.77,0,.18,1), visibility 0s .7s;
}
.menu-open .sheet { clip-path: inset(0); visibility: visible; transition: clip-path .7s cubic-bezier(.77,0,.18,1); }
.sheet a { display: block; font-size: clamp(36px, 10vw, 64px); font-weight: 300; letter-spacing: -.03em; line-height: 1.2; padding: 6px 0; opacity: 0; transform: translateY(24px); transition: opacity .3s, transform .3s; }
.menu-open .sheet a { opacity: 1; transform: none; transition: opacity .7s var(--ease) calc(.28s + var(--i, 0) * .06s), transform .7s var(--ease) calc(.28s + var(--i, 0) * .06s); }

/* ---------- ПЕРВЫЙ ЭКРАН (ВИДЕО) ---------- */
.hero {
  --ink: #F4F3EF;
  --ink-2: rgba(244,243,239,.82);
  --rule: rgba(244,243,239,.2);
  color: var(--ink);
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--night);
  isolation: isolate;
}
.hero .bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.hero .bg iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: max(100vw, 177.78svh); height: max(100svh, 56.25vw);
  border: 0; opacity: 0; transition: opacity 1.6s var(--ease);
}
.hero .bg iframe.on { opacity: 1; }
.hero .bg video, .hero .bg .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .bg video { opacity: 0; transition: opacity .9s var(--ease); }
.hero .bg video.on { opacity: 1; }
.hero .veil {
  position: absolute; inset: 0; z-index: -1;
  background: rgba(22,24,26,.5);
}
.hero-in {
  display: flex; flex-wrap: wrap; align-items: first baseline; justify-content: space-between;
  gap: 32px 52px;
  padding: 0 var(--gutter) calc(var(--gutter) * 1.1 + env(safe-area-inset-bottom));
  max-width: var(--max); width: 100%; margin: 0 auto;
}
.says {
  margin: 0; max-width: 16em;
  font-size: clamp(30px, 3.8vw, 60px);
  line-height: 1.05; letter-spacing: -.04em; font-weight: 300;
  color: var(--ink-2); opacity: 0; transition: opacity 1s var(--ease) 1.3s;
}
.says em { font-style: normal; color: var(--cloud); font-weight: 400; }
.ready .says { opacity: 1; }
.dirs {
  margin: 0; padding: 0; list-style: none; text-align: right;
  font-size: clamp(15px, 1.2vw, 18px); line-height: 1.8;
  opacity: 0; transition: opacity 1s var(--ease) 1.7s;
}
.ready .dirs { opacity: 1; }
.dirs a {
  display: inline-block; padding: 4px 14px; border: 1px solid rgba(244,243,239,.45);
  background: transparent;
  margin-bottom: 6px; transition: all .25s var(--ease);
}
.dirs a:hover { background: transparent; color: var(--night); transform: translateX(-4px); }

/* ---------- СЕКЦИИ И ТИПОГРАФИКА ---------- */
.sec { padding: var(--sec) var(--gutter); background: var(--paper); }
.sec.tone { background: var(--paper); }
.sec > .in { max-width: var(--max); margin: 0 auto; }
.body { min-width: 0; }
.display {
  margin: 0; font-size: clamp(34px, 4.6vw, 76px); line-height: 1.04;
  letter-spacing: -.04em; font-weight: 500; color: var(--ink);
}
.display b { font-weight: 600; }
.lead {
  margin: 20px 0 0; max-width: 36em;
  font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--ink-2);
}
.rv { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* Утверждение (Statement) */
.stmt {
  margin: 0; font-size: clamp(32px, 4.2vw, 72px); line-height: 1.08;
  letter-spacing: -.04em; font-weight: 300; max-width: 19em; color: var(--ink);
}
.stmt b { font-weight: 600; }
.stmt .w { opacity: 0.9 !important; }
.stmt-sub {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 36px;
  margin-top: clamp(40px, 5vw, 72px); align-items: start;
}
.stmt-sub .lead { grid-column: 1 / 6; margin: 0; font-weight: 400; }
.stmt-sub .caps { grid-column: 7 / 13; }

.caps { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; padding: 0; list-style: none; }
.caps li {
  display: grid; grid-template-columns: var(--ind) minmax(0, 1fr); gap: 0;
  border-top: 1px solid var(--rule); padding: 24px 0 28px;
}
.caps li:last-child { border-bottom: 1px solid var(--rule); }
.caps .cn {
  grid-row: 1 / 3; font-variant-numeric: tabular-nums;
  font-size: 14px; font-weight: 600; color: var(--ink-3); padding-top: 4px;
}
.caps h3 {
  margin: 0 0 8px; font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 600; letter-spacing: -.02em; color: var(--ink);
}
.caps p { margin: 0; color: var(--ink-2); font-size: var(--fs-body); line-height: 1.6; }

/* Двухколонная сетка без сползания */
.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 36px;
  align-items: start !important;
}
.split > .l {
  grid-column: 1 / 6;
  position: relative !important;
  top: 0 !important;
  align-self: start !important;
}
.split > .r {
  grid-column: 6 / 13;
}
.sticky {
  position: relative !important;
  top: 0 !important;
}

/* ---------- УСЛУГИ ---------- */
.acc { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.acc li { border-bottom: 1px solid var(--rule); }
.acc .h {
  all: unset; box-sizing: border-box; display: grid;
  grid-template-columns: var(--ind) minmax(0, 1fr) 40px; align-items: center;
  width: 100%; padding: clamp(22px, 2.8vw, 36px) 0; cursor: pointer;
}
.acc .num { font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.acc .ti {
  font-size: clamp(26px, 3.4vw, 52px); line-height: 1.1; letter-spacing: -.035em;
  font-weight: 400; color: var(--ink); transition: transform .35s var(--ease);
}
.acc .h:hover .ti { transform: translateX(8px); }
.acc .pl { position: relative; width: 22px; height: 22px; justify-self: end; }
.acc .pl::before, .acc .pl::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease); }
.acc .pl::after { transform: rotate(90deg); }
.acc li.open .pl::after { transform: rotate(0); }
.acc .pn { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc li.open .pn { grid-template-rows: 1fr; }
.acc .pn > div { overflow: hidden; }
.acc .pi { display: grid; grid-template-columns: var(--ind) minmax(0, 1fr); gap: 0; padding: 0 0 clamp(24px, 3vw, 40px); }
.acc .pi > div { grid-column: 2; max-width: 44em; }
.acc .pi p { margin: 0 0 18px; color: var(--ink-2); font-size: var(--fs-body); line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li {
  border: 1px solid var(--rule); background: transparent; padding: 5px 12px;
  font-size: 13px; font-weight: 500; color: var(--ink-2); border-radius: 0;
}

/* ==========================================================================
   3. ПОЛНАЯ ПЕРЕСБОРКА БЛОКА С ИКОНКАМИ («ПРОИЗВОДСТВЕННЫЙ ПРОЦЕСС»)
   Удалены устаревшие проволочные SVG, сделан строгий швейцарский таймлайн
   ========================================================================== */
.si { display: none !important; } /* Скрываем немодные иконки */

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  position: relative;
  padding: 24px 0 0 0;
  background: none;
  border: none;
  border-top: 1px solid var(--rule);
}
/* Акцентный маркер шага на верхней линии */
.steps li::before {
  content: "";
  position: absolute;
  top: -1.5px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--ink);
  transition: width 0.3s var(--ease);
}
.steps li:hover::before {
  width: 100%;
}
.steps .k {
  display: block;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink);
  margin-bottom: 18px;
}
.steps h3 {
  margin: 0 0 10px;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--ink);
}
.steps p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ---------- СТУДИЯ И КОМАНДА ---------- */
.team {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px); margin: clamp(36px, 4.5vw, 60px) 0 0;
  padding: 0; list-style: none;
}
.person { background: none; border: none; box-shadow: none; padding: 0; }
.person .pic {
  position: relative; aspect-ratio: 1 / 1.08; overflow: hidden;
  background: rgba(22,24,26,.06);
}
.person img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.06); transition: filter .4s var(--ease), transform .6s var(--ease);
}
.person:hover img { filter: grayscale(0) contrast(1.02); transform: scale(1.03); }
.person h3 {
  margin: 16px 0 4px; font-size: clamp(19px, 1.5vw, 23px);
  font-weight: 600; letter-spacing: -.02em; color: var(--ink);
}
.person p { margin: 0; font-size: 13.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.person p.d { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.5; text-transform: none; letter-spacing: 0; font-weight: 400; }

/* Нижняя секция сохраняет перекрытие подвала после удаления блока фондов. */
.footer-overlap {
  background: var(--paper) !important;
  border-radius: 0 0 clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px);
  position: relative;
  z-index: 10;
  padding-bottom: calc(var(--sec) + 20px);
}
.checks { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; padding: 0; list-style: none; }
.checks li {
  display: grid; grid-template-columns: var(--ind) minmax(0, 1fr); gap: 0;
  padding: 22px 0 24px; border-top: 1px solid var(--rule);
}
.checks li:last-child { border-bottom: 1px solid var(--rule); }
.checks svg { width: 20px; height: 20px; margin-top: 4px; color: var(--ink); }
.checks h3 { margin: 0 0 6px; font-size: clamp(19px, 1.5vw, 23px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.checks p { margin: 0; color: var(--ink-2); font-size: var(--fs-body); line-height: 1.55; }

/* ==========================================================================
   4. ТЁМНЫЙ ФУТЕР — 100% ТОЧНЫЙ ЦВЕТ СЛОНОВОЙ КОСТИ И ИСПРАВЛЕНИЕ ИКОНКИ
   ========================================================================== */
.gf {
  --ink: var(--paper-2) !important;            /* Строго цвет слоновой кости */
  --ink-2: rgba(244,243,239, 0.72) !important;
  --rule: rgba(244,243,239, 0.14) !important;
  background: var(--night) !important;
  color: var(--ink) !important;
  position: relative;
  overflow: hidden;
  padding: 0 var(--gutter);
  margin-top: -44px;
  z-index: 1;
}

/* Водяной знак "берег." — 100% совпадение с карточкой слоновой кости */
.gf-wm {
  max-width: var(--max); margin: 0 auto;
  height: calc(min(100vw - 2 * var(--gutter), var(--max)) * .34 * .62);
  overflow: hidden; line-height: 0;
}
.gf-wm svg {
  display: block; width: 100%; height: auto;
  margin-top: calc(min(100vw - 2 * var(--gutter), var(--max)) * -.34 * .30);
}
.gf-wm path { fill: var(--paper-2) !important; }
.gf-wm circle { fill: var(--blue) !important; }   /* инверсная версия: Cloud Dancer и синяя точка */
.gf-wm path, .gf-wm circle { transform: none; transition: none; }

.gf-in { max-width: var(--max); margin: 0 auto; padding-top: clamp(60px, 7vw, 100px); }
.gf-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.gf-l { grid-column: 1 / 7; }
.gf-r { grid-column: 7 / 13; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.gf-h { margin: 0; font-size: clamp(32px, 3.8vw, 64px); line-height: 1.04; letter-spacing: -.04em; font-weight: 500; color: var(--paper-2) !important; }
.gf-p { margin: 16px 0 0; max-width: 28em; font-size: var(--fs-body); line-height: 1.55; color: var(--ink-2); }
.gf-mail {
  display: inline-block; font-size: clamp(28px, 4vw, 68px); line-height: 1.04;
  letter-spacing: -.04em; font-weight: 500; white-space: nowrap; color: var(--paper-2) !important;
}
.gf-mail span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: transparent; transition: text-decoration-color .35s var(--ease); }
.gf-mail:hover span { text-decoration-color: currentColor; }
.gf .cline { justify-content: flex-end; margin-top: 24px; }
.gf .soc { margin: 0 -11px 0 0; }
.gf-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
  margin-top: clamp(40px, 5vw, 84px); padding: 22px 0 calc(var(--gutter) * .8 + env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule); font-size: var(--fs-sm); color: var(--ink-2);
}
.gf-bar a { color: var(--paper-2) !important; }

/* 5. ИСПРАВЛЕНИЕ ДВОЯЩЕЙСЯ ИКОНКИ MAX В СОЦСЕТЯХ */
.soc { display: flex; align-items: center; gap: 0; margin: 0 0 0 -11px; padding: 0; list-style: none; }
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--ink-2); transition: color .25s var(--ease); }
.ico svg { width: 22px; height: 22px; }
.ico-tg:hover, .ico-vk:hover, .ico-max:hover { opacity: .72; }

.ico-max { position: relative; }
.ico-max .m-mono { display: block; }
.ico-max .m-color {
  position: absolute;
  top: 50%; left: 50%;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  opacity: 0;
  transition: opacity .25s var(--ease);
  pointer-events: none;
}
.ico-max:hover .m-color { opacity: 1; }
.ico-max:hover .m-mono { opacity: 0; }

/* ---------- АДАПТИВ ---------- */
@media (max-width: 900px) {
  .split > .l, .split > .r, .stmt-sub .lead, .stmt-sub .caps, .gf-l, .gf-r { grid-column: 1 / -1; }
  .split > .r, .stmt-sub .caps, .gf-r { margin-top: 32px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .gf-r { align-items: flex-start; text-align: left; }
  .gf .cline { justify-content: flex-start; }
  .gf .soc { margin: 0 0 0 -11px; }
  .nav .l { display: none; }
  .burger { display: block; }
  .nav { margin-top: 0; opacity: 1; }
  .hdr { align-items: center; }
  .dirs { text-align: left; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; width: 100%; }
}
@media (max-width: 500px) {
  .team { grid-template-columns: 1fr; }
  .acc .h { grid-template-columns: minmax(0, 1fr) 32px; }
  .acc .num { display: none; }
  .acc .pi { grid-template-columns: 1fr; }
  .acc .pi > div { grid-column: 1; }
}

/* ==========================================================================
   Правки ревизии 15.10.2026 (поломки, не дизайн)
   ========================================================================== */
/* мобильное меню: почта и Telegram мелким шрифтом (раньше раздувались до 37px и вылезали за экран) */
.sheet .mini { margin-top: 28px; font-size: 18px; font-weight: 500; letter-spacing: -.01em; color: rgba(244,243,239,.74); }
.sheet .mini2 { margin-top: 4px; }

/* списки внутри «Услуг» */
.pts { margin: 0 0 20px; padding: 0; list-style: none; }
.pts li { position: relative; padding: 0 0 10px 22px; color: var(--ink-2); font-size: var(--fs-body); line-height: 1.55; }
.pts li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1.5px; background: var(--ink-3); }
.acc .pts li { border-bottom: 0; }

/* страницы политик: светлая шапка, подпись, таблицы, подвал */
.page-light .hdr { --hc: var(--ink); --dot: var(--ink); }
.case-hero { padding: calc(var(--gutter) + 96px) var(--gutter) 0; }
.case-hero .in { max-width: var(--max); margin: 0 auto; }
.crumb { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: var(--fs-sm); color: var(--ink-2); }
.legal { max-width: 46em; padding-bottom: clamp(60px, 8vw, 120px); }
.legal h1 { margin: clamp(16px, 2vw, 28px) 0 12px; font-size: clamp(30px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -.04em; font-weight: 500; }
.legal h2 { margin: 44px 0 14px; font-size: clamp(21px, 1.8vw, 27px); font-weight: 600; letter-spacing: -.02em; }
.legal p, .legal td, .legal th { font-size: var(--fs-body); line-height: 1.6; color: var(--ink-2); }
.legal p { margin: 0 0 12px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); }
.legal th { font-size: var(--fs-sm); font-weight: 400; color: var(--ink-3); }
@media (max-width: 700px) { .legal table, .legal thead, .legal tbody, .legal tr, .legal td { display: block; } .legal thead { display: none; } .legal tr { padding: 12px 0; border-bottom: 1px solid var(--rule); } .legal td { border: 0; padding: 3px 0; } }
.foot { position: relative; overflow: hidden; padding: 0 var(--gutter); }
.foot .row2 { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 32px; padding: 28px 0 0; font-size: var(--fs-sm); color: var(--ink-3); }
.wm { max-width: var(--max); margin: clamp(24px, 4vw, 56px) auto 0; height: clamp(90px, 19vw, 330px); overflow: hidden; line-height: 0; }
.wm svg { display: block; width: 100%; height: auto; }
.wm path, .wm circle { fill: rgba(22,24,26,.085); transform: none; transition: none; }

/* для тех, кто отключил анимацию в системе */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .mark path, .mark .dot { transform: none !important; }
  .says, .dirs, .nav { opacity: 1 !important; }
}

/* на телефоне 12-колоночная сетка с зазором 36px шире экрана (11 × 36 = 396px): переходим на одну колонку */
@media (max-width: 900px) {
  .stmt-sub, .split, .gf-grid { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
}


/* ---------- переключатель языка RU / EN ---------- */
.hdr { --hi: var(--night); }
.hdr.scrolled, .page-light .hdr { --hi: var(--paper); }
.menu-open .hdr, .menu-open .hdr.scrolled { --hi: var(--night); }
.lang { display: inline-flex; align-self: center; margin-left: clamp(14px, 1.8vw, 28px); border: 1px solid var(--hr, currentColor); }
.lang a, .lang span { display: block; min-width: 38px; padding: 6px 10px; text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; line-height: 1.3; transition: background-color .3s var(--ease), color .3s var(--ease); }
.lang .on { background: var(--hc); color: var(--hi); }
.lang a:hover { background: color-mix(in srgb, var(--hc) 16%, transparent); }
.lang a:focus-visible { outline: 2px solid var(--hc); outline-offset: 2px; }
@media (max-width: 900px) { .nav { margin-left: auto; } .lang { margin-left: 0; } .hdr { gap: 12px; } }


/* ---------- правки аудита: контраст, зоны нажатия, малые экраны ---------- */
.hero .bg picture { display: contents; }
.person .pic picture { display: contents; }
.ico-max:hover .m-mono { opacity: 1; }
.lang a, .lang span { min-height: 36px; display: flex; align-items: center; justify-content: center; }
.lang a { position: relative; }
.lang a::after, .dirs a::after { content: ""; position: absolute; inset: -6px; }
.dirs a { position: relative; padding: 8px 14px; }
.gf-bar a { display: inline-block; padding: 10px 0; }
@media (max-width: 360px) { :root { --logo-w: 126px; } .hdr { gap: 8px; } .lang a, .lang span { min-width: 34px; padding: 6px 8px; } }
@media (min-width: 561px) and (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; } }


/* ---------- телефон: крупнее текст, короче страница, чистый подвал ---------- */
html { background: var(--night); }
body { background: var(--night); }
main { background: var(--paper); }
.page-light .foot { background: var(--night); color: var(--paper-2); }
.page-light .foot .row2 { color: rgba(244,243,239, .75); }
.page-light .wm path, .page-light .wm circle { fill: rgba(244,243,239, .16); }
@media (max-width: 700px) {
  :root { --fs-body: 18.5px; --fs-sm: 15.5px; }
  body { line-height: 1.5; }
  .lead, .gf-p, .stmt-sub .lead { font-size: 20px; line-height: 1.42; }
  .dirs, .acc .tags { display: none; }
  .more { display: none; }
  .pts li:nth-child(n+3) { display: none; }
  .person p.d { display: none; }
  .caps li:nth-child(3), .checks li:nth-child(2), .checks li:nth-child(3) { display: none; }
  .gf { margin-top: -32px; padding-bottom: 0; }
  .gf-wm { height: calc((100vw - 2 * var(--gutter)) * .34 * .8); margin-top: 0; }
  .gf-wm svg { width: 100%; height: calc((100vw - 2 * var(--gutter)) * .34); margin-top: calc((100vw - 2 * var(--gutter)) * -.34 * .17); }
  .gf-in { padding-top: 24px; }
  .gf-h { font-size: 34px; }
  .gf-p { margin-top: 12px; }
  .gf-mail { font-size: 8.4vw; margin-top: 4px; }
  .gf .cline { margin-top: 12px; }
  .gf-bar { flex-direction: column; gap: 2px; align-items: flex-start; margin-top: 28px; padding-top: 18px; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .gf-bar a { padding: 10px 0; }
}
@media (max-width: 500px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .person h3 { font-size: 17px; line-height: 1.2; }
  .person p { font-size: 13.5px; }
  .person .pic { aspect-ratio: 1 / 1.1; }
}
@media (max-width: 700px) { .footer-overlap { padding-bottom: 64px; } }


/* ---------- брендбук v3 (7 ноября): логотип и цвета ---------- */
/* точка: на видео логотип одноцветный светлый, на светлом фоне и в меню графит/светлый + синяя точка */
.hdr { --dot: var(--hc); }
.hdr.scrolled, .page-light .hdr { --dot: #0047FF; }
.menu-open .hdr, .menu-open .hdr.scrolled { --dot: #0047FF; }
a:focus-visible, button:focus-visible { outline-color: #0047FF; }
.dark :focus-visible, .hero :focus-visible, .gf :focus-visible { outline-color: var(--cloud); }

/* кнопка в шапке по брендбуку: «Обсудить задачу» */
.nav .cta { align-self: center; padding: 10px 20px; background: var(--hc); color: var(--hi, var(--night)); font-size: var(--fs-sm); font-weight: 500; line-height: 1.2; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.nav .cta:hover { opacity: .86; transform: translateY(-1px); }
@media (max-width: 900px) { .nav .cta { display: none; } }


/* ---------- брендбук v3: Inter Tight 600 для заголовков, Inter для текста ---------- */
:root { --f-head: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.says, .display, .stmt, .title, .gf-h, .gf-mail, .acc .ti, .caps h3, .checks h3, .person h3, .steps h3, .legal h1, .legal h2, .case-title { font-family: var(--f-head); }
.says { font-weight: 600; letter-spacing: -.02em; line-height: 1.07; color: var(--cloud); }
.says em { font-weight: 600; }
.display, .acc .ti, .gf-h, .legal h1 { font-weight: 600; letter-spacing: -.02em; line-height: 1.06; }
.stmt, .gf-mail { font-weight: 500; letter-spacing: -.025em; }
.display b, .stmt b, .gf-h b { font-weight: inherit; }
.caps h3, .checks h3, .person h3, .steps h3, .legal h2 { font-weight: 600; letter-spacing: -.01em; }
.lead, .stmt-sub .lead { font-weight: 400; }
p, .lead { max-width: 65ch; }
.stmt-sub .lead, .gf-p { max-width: 36em; }
/* подписи: Inter 500, капс, +8% */
.acc .num, .caps .cn, .steps .k, .tags li, .person p:not(.d), .crumb { font-weight: 500; letter-spacing: .08em; font-size: 12px; }
.tags li { font-size: 12.5px; }

/* шапка всегда светлая и непрозрачная, в том числе на первом экране (как при прокрутке) */
.hdr, .hdr:not(.scrolled) {
  --hc: var(--ink); --hr: var(--rule); --hi: var(--paper); --dot: #0047FF;
  align-items: center;
  padding-top: calc(14px + env(safe-area-inset-top)); padding-bottom: 14px;
  background: rgba(244, 243, 239, 0.94);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--rule);
}
.hdr .mark, .hdr:not(.scrolled) .mark { width: var(--logo-w-sm); }
.hdr .nav, .hdr:not(.scrolled) .nav { margin-top: 0; }
.menu-open .hdr, .menu-open .hdr.scrolled { --hc: var(--cloud); --hr: rgba(244,243,239,.3); --hi: var(--night); --dot: #0047FF; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }


/* ---------- переключатель светлой и тёмной темы ---------- */
.theme { display: inline-flex; align-self: center; flex: none; padding: 0; background: none; border: 1px solid var(--hr, var(--rule)); color: var(--hc, var(--ink)); cursor: pointer; }
.theme span { display: grid; place-items: center; width: 38px; height: 34px; transition: background-color .3s var(--ease), color .3s var(--ease); }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
html:not([data-theme="dark"]) .theme .t-l, html[data-theme="dark"] .theme .t-d { background: var(--hc, var(--ink)); color: var(--hi, var(--paper)); }
.theme:hover span:not([class]) { opacity: .8; }
.theme:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sheet .theme { display: none; --hc: var(--cloud); --hi: var(--night); --hr: rgba(244,243,239,.35); margin-top: 28px; align-self: flex-start; opacity: 0; transform: translateY(24px); transition: opacity .3s, transform .3s; }
.menu-open .sheet .theme { opacity: 1; transform: none; transition: opacity .7s var(--ease) .6s, transform .7s var(--ease) .6s; }
@media (max-width: 600px) { .hdr > .theme { display: none; } .sheet .theme { display: inline-flex; } }

/* ---------- тёмная тема по брендбуку: графит, Cloud Dancer, синяя точка ---------- */
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #16181A; --ink: #F4F3EF;
  --ink-2: rgba(244, 243, 239, .8); --ink-3: rgba(244, 243, 239, .64); --rule: rgba(244, 243, 239, .16);
}
html[data-theme="dark"] body:not(.menu-open) .hdr, html[data-theme="dark"] body:not(.menu-open) .hdr:not(.scrolled) { background: rgba(22, 24, 26, .92); }
html[data-theme="dark"] #funds { background: color-mix(in srgb, var(--cloud) 7%, var(--night)) !important; }
html[data-theme="dark"] .person .pic { background: rgba(244, 243, 239, .08); }
html[data-theme="dark"] a:focus-visible, html[data-theme="dark"] button:focus-visible { outline-color: var(--cloud); }
html[data-theme="dark"] .theme:focus-visible { outline-color: var(--cloud); }


/* ---------- шрифты, вариант 3: Oswald (заголовки) + Fira Sans (текст) ---------- */
:root { --f-head: "Oswald", "Fira Sans", Arial, sans-serif; }
.says, .display, .acc .ti, .gf-h, .legal h1 { font-weight: 500; letter-spacing: 0; line-height: 1.08; }
.says em { font-weight: 500; }
.stmt { font-weight: 400; letter-spacing: 0; line-height: 1.14; }
.gf-mail { font-weight: 500; letter-spacing: 0; }
.caps h3, .checks h3, .person h3, .steps h3, .legal h2 { font-weight: 500; letter-spacing: 0; }
.acc .num, .caps .cn, .steps .k, .tags li, .person p:not(.d), .crumb { font-family: "Fira Sans", sans-serif; }

/* логотип: точка едет вместе со словом как одно целое (раньше выезжало слово, а точка появлялась потом на месте) */
.mark .dot { transform-box: view-box; transform-origin: 0 0; transform: translateY(940px); transition: transform 1.2s var(--ease) .15s, fill .4s var(--ease); }
.ready .mark .dot { transform: none; }


/* ---------- первый экран: плашка с заголовком снизу, как шапка сверху ---------- */
.hero .veil { background: rgba(22, 24, 26, .1); }
.hero-in { position: relative; display: block; width: 100%; max-width: none; margin: 0; padding: 22px var(--gutter) calc(22px + env(safe-area-inset-bottom));
  --ink: #16181A; --ink-2: rgba(22, 24, 26, .74); color: #16181A;
  background: rgba(244, 243, 239, .94); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-top: 1px solid rgba(22, 24, 26, .16); }
.hero-in .says, .hero-in .says em { color: var(--ink); }
.hero-in .says { max-width: 26em; font-size: clamp(26px, 3vw, 46px); line-height: 1.1; margin: 0; }
html[data-theme="dark"] .hero-in { --ink: #F4F3EF; --ink-2: rgba(244, 243, 239, .8); color: #F4F3EF; background: rgba(22, 24, 26, .92); border-top-color: rgba(244, 243, 239, .16); }
@media (max-width: 700px) { .hero-in { padding-top: 18px; padding-bottom: calc(18px + env(safe-area-inset-bottom)); } .hero-in .says { font-size: clamp(24px, 6.8vw, 32px); } }

/* первый экран: только видео. Заголовок h1 остаётся в коде для поиска и экранных дикторов, но не показывается */
.hero-in { position: absolute !important; width: 1px; height: 1px; padding: 0 !important; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0 !important; white-space: nowrap; background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.hero .veil { background: transparent; }

/* меню: капсом и жирно */
.nav a.l { font-family: "Fira Sans", Arial, sans-serif; font-size: clamp(13px, 1vw, 15px); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.nav .cta { font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(12px, .9vw, 14px); }

/* плашка cookie */
.ck { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px clamp(16px, 3vw, 40px); background: #F4F3EF; color: #16181A; border-top: 1px solid rgba(22,24,26,.18); font-size: var(--fs-sm); line-height: 1.45; }
.ck[hidden] { display: none; }
.ck p { margin: 0; max-width: 70ch; }
.ck a { color: #0047FF; }
.ck-ok { flex: none; font: 600 13px/1 "Fira Sans", Arial, sans-serif; text-transform: uppercase; letter-spacing: .06em; padding: 14px 26px; background: #16181A; color: #F4F3EF; border: 0; border-radius: 0; cursor: pointer; transition: opacity .25s var(--ease); }
.ck-ok:hover { opacity: .86; }
.ck-ok:focus-visible { outline: 2px solid #0047FF; outline-offset: 2px; }
html[data-theme="dark"] .ck { background: #16181A; color: #F4F3EF; border-top-color: rgba(244,243,239,.22); }
html[data-theme="dark"] .ck-ok { background: #F4F3EF; color: #16181A; }
@media (max-width: 700px) { .ck { flex-direction: column; align-items: stretch; gap: 12px; } .ck-ok { width: 100%; } }

/* плашка cookie: полупрозрачная */
.ck { background: rgba(244,243,239,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ck p { max-width: 100ch; }
html[data-theme="dark"] .ck { background: rgba(22,24,26,.82); }
/* плашка cookie: 25% непрозрачности */
.ck { background: rgba(244,243,239,.25); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
html[data-theme="dark"] .ck { background: rgba(22,24,26,.25); }

/* состав: описания под именами скрыты до переписывания (удалить блок, чтобы вернуть) */
.person .d { display: none; }

/* фон: технический интерфейс (еле заметные линии) */
#about, #process { position: relative; overflow: hidden; }
#about > .in, #process > .in { position: relative; z-index: 1; }
.hud { position: absolute; inset: 0; z-index: 0; pointer-events: none; color: var(--ink); opacity: .22; }
.hud svg { position: absolute; left: 0; top: -40px; width: 100%; height: calc(100% + 80px); transform: translateY(calc(var(--hp, 0) * 36px)); will-change: transform; }
.hud svg * { vector-effect: non-scaling-stroke; }
.hud svg :where(path, circle, rect) { fill: none; stroke: currentColor; stroke-width: 1; }
.hud svg .fl { fill: currentColor; stroke: none; }
.hud svg .bl { fill: #0047FF; stroke: none; }
.hud svg .bl2 { stroke: #0047FF; }
.hud svg text { fill: currentColor; stroke: none; font: 500 10px "Fira Sans", Arial, sans-serif; letter-spacing: .12em; }
@media (max-width: 700px) { .hud { opacity: .1; } }
@media (prefers-reduced-motion: reduce) { .hud svg { transform: none; } }

/* переключатели-капсулы (тема и язык) */
.theme, .lang { display: inline-flex; align-items: center; align-self: center; flex: none; gap: 2px; padding: 3px; border: 1px solid var(--hr, currentColor); border-radius: 999px; background: transparent; color: var(--hc, var(--ink)); }
.theme { margin-left: clamp(10px, 1.2vw, 18px); }
.lang { margin-left: 8px; }
.theme span, .lang a, .lang span { display: inline-flex; align-items: baseline; justify-content: center; gap: 2px; width: auto; min-width: 0; height: auto; min-height: 32px; padding: 0 13px; border-radius: 999px; font: 600 12.5px/32px "Fira Sans", Arial, sans-serif; letter-spacing: .02em; text-transform: none; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease); }
.theme sup, .lang sup { font-size: 8px; font-weight: 500; letter-spacing: .04em; line-height: 1; position: relative; top: -7px; opacity: .8; }
html:not([data-theme="dark"]) .theme .t-l, html[data-theme="dark"] .theme .t-d, .lang .on { background: var(--hc, var(--ink)); color: var(--hi, var(--paper)); }
.lang a:hover { background: color-mix(in srgb, var(--hc) 14%, transparent); }
.theme:hover span:not([class]) { opacity: 1; }
.lang a::after { inset: -6px -2px; }
@media (max-width: 1180px) { .theme sup, .lang sup { display: none; } .theme span, .lang a, .lang span { padding: 0 11px; } }
@media (max-width: 900px) { .theme { margin-left: 0; } .lang { margin-left: 0; } }
@media (max-width: 360px) { .theme span, .lang a, .lang span { padding: 0 9px; min-width: 0; } }

/* переключатель темы: капсула с ползунком (солнце / луна) */
.theme { position: relative; display: inline-block; width: 62px; height: 34px; padding: 0; border: 0; border-radius: 999px; background: var(--hc, var(--ink)); color: var(--hi, var(--paper)); cursor: pointer; }
.theme .tk { position: absolute; top: 4px; left: calc(100% - 30px); width: 26px; height: 26px; border-radius: 50%; background: var(--hi, var(--paper)); transition: left .4s var(--ease); }
.theme svg { position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.theme .fi { fill: currentColor; stroke: none; }
.theme .i-sun { left: 8px; }
.theme .i-moon { right: 8px; opacity: 0; transform: scale(.6); }
html[data-theme="dark"] .theme .tk { left: 4px; }
html[data-theme="dark"] .theme .i-sun { opacity: 0; transform: scale(.6); }
html[data-theme="dark"] .theme .i-moon { opacity: 1; transform: none; }
.theme:hover .tk { opacity: .85; }
@media (max-width: 1180px) { .theme { width: 58px; } }

/* тема стоит в навигации слева от языка; кнопки «Обсудить задачу» нет */
.nav .theme { margin-left: clamp(14px, 1.6vw, 24px); }
.nav .lang { margin-left: 10px; }
@media (max-width: 900px) { .nav .theme { margin-left: 0; } .nav .lang { margin-left: 8px; } }
@media (max-width: 600px) { .nav .theme { display: none; } .nav .lang { margin-left: 0; } }

/* меню: крупнее */
.nav a.l { font-size: clamp(15px, 1.2vw, 18px); letter-spacing: .05em; }
.nav { gap: clamp(18px, 2.2vw, 34px); }
