/* Уклад — промо. Направление: крупная типографика + плоские иллюстрации (референс владельца — Colossal).
   Токены сняты с референса: оливково-чёрное поле, кремовый текст, бирюзовые чипы, земляная палитра иллюстраций.
   Шрифты — самохост из npm (@fontsource), никаких CDN (РФ-чеклист). */
@font-face { font-family: "Unbounded"; src: url(/fonts/unbounded-cyrillic-wght-normal.woff2) format("woff2-variations"); font-weight: 200 900; font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Unbounded"; src: url(/fonts/unbounded-latin-wght-normal.woff2) format("woff2-variations"); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Literata"; src: url(/fonts/literata-cyrillic-wght-normal.woff2) format("woff2-variations"); font-weight: 200 900; font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Literata"; src: url(/fonts/literata-latin-wght-normal.woff2) format("woff2-variations"); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family: "Golos"; src: url(/fonts/golos-text-cyrillic-wght-normal.woff2) format("woff2-variations"); font-weight: 400 900; font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Golos"; src: url(/fonts/golos-text-latin-wght-normal.woff2) format("woff2-variations"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2192; }

:root {
  --field: #23270E;      /* оливково-чёрное поле */
  --field-2: #2A2E16;
  --cream: #FDF8ED;
  --paper: #EFE6D2;
  --teal: #196556;       /* чипы */
  --leaf: #006F60;
  --mustard: #CFC23A;
  --coral: #EE8F7A;
  --rust: #AD451B;
  --blue: #2F5FB3;
  --orange: #FE7919;     /* мост к языку приложения */
  --muted: #B9B4A2;

  --display: "Unbounded", "Arial Black", sans-serif;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Golos", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
}
* { box-sizing: border-box; }
html { background: var(--field); color: var(--cream); font-family: var(--sans); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 4px; }

/* ── шапка по сетке референса: знак слева во всю высоту, справа навигация и под ней чипы ──
   «УКЛАД» в Unbounded Black ≈ 4,85 кегля в ширину (замер) — кегль считается от ширины колонки знака. */
.top { max-width: var(--maxw); margin: 0 auto; padding: clamp(18px, 2.6vw, 36px) var(--gutter) 0; display: grid; gap: 14px 40px;
  grid-template-columns: minmax(0, 1fr); grid-template-areas: "nav" "mark" "chips"; }
.wordmark { grid-area: mark; font-family: var(--display); font-weight: 900; font-size: calc((min(100vw, var(--maxw)) - 2 * var(--gutter)) / 5);
  line-height: .82; letter-spacing: -.02em; text-transform: uppercase; text-decoration: none; color: var(--cream); display: block; white-space: nowrap; }
.nav { grid-area: nav; display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 1.6vw, 26px); font-size: 14px; font-weight: 600; white-space: nowrap; }
.top-chips { grid-area: chips; justify-content: flex-start; }
/* две колонки — только когда навигация (≈480 px) целиком помещается справа от знака; уже — стопкой */
@media (min-width: 1200px) {
  .top { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "mark nav" "mark chips"; align-items: start; }
  .wordmark { font-size: calc((min(100vw, var(--maxw)) - 2 * var(--gutter)) * .52 / 4.85); }
  .nav { padding-top: .4em; }
  .top-chips { justify-content: flex-end; }
}
.nav a { text-decoration: none; }
.nav a:not(.pill):hover { text-decoration: underline; text-underline-offset: 4px; }
.reg { display: inline-flex; align-items: center; gap: 6px; }
.reg svg { width: 15px; height: 15px; }
.pill { background: var(--cream); color: var(--field); border-radius: 999px; padding: 8px 14px 8px 16px; display: inline-flex; align-items: center; gap: 10px; }
.burger { width: 22px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
.burger::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }
.chips { display: flex; flex-wrap: wrap; gap: 3px; }
.chips li { background: var(--teal); color: var(--cream); font-size: 15px; font-weight: 500; padding: 6px 9px 7px; border-radius: 2px; line-height: 1.1; letter-spacing: .005em; }
.chips .more { border-radius: 999px; padding: 6px 9px; letter-spacing: .05em; }

/* ── вводный абзац: серифом, узкой колонкой ── */
.about { max-width: var(--maxw); margin: clamp(26px, 3.4vw, 48px) auto 0; padding: 0 var(--gutter); position: relative; z-index: 2; }
.kicker { font-family: var(--sans); font-weight: 500; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.015em; margin-bottom: 6px; }
.lead { font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 1.95vw, 26px); line-height: 1.2; max-width: 31ch; }
.lead-link { color: var(--mustard); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; white-space: nowrap; }
.lead-link:hover { color: var(--cream); }
.lead.small { font-size: clamp(18px, 1.6vw, 22px); max-width: 38ch; color: var(--paper); }

/* ── иллюстрация: на всю ширину, заходит под текст ── */
.hero-art { max-width: var(--maxw); margin: clamp(-150px, -10vw, -30px) auto 0; padding: 0 var(--gutter); pointer-events: none; position: relative; z-index: 1; }
.art { width: 100%; height: auto; display: block; }


/* ── цифры: асимметрично, не три одинаковые карточки ── */
.numbers { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 6vw, 96px) var(--gutter); display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 56px) clamp(24px, 5vw, 80px); border-top: 2px solid var(--field-2); }
.num b { display: block; font-family: var(--display); font-weight: 900; line-height: .85; letter-spacing: -.04em; }
.num span { display: block; font-family: var(--serif); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.3; max-width: 26ch; margin-top: 12px; color: var(--paper); }
.num-a { grid-row: span 2; } .num-a b { font-size: clamp(120px, 21vw, 320px); color: var(--mustard); }
.num-b b { font-size: clamp(90px, 12vw, 180px); color: var(--coral); }
.num-c b { font-size: clamp(90px, 12vw, 180px); color: var(--cream); }

/* ── как устроено: нумерованный список с большими цифрами ── */
.how { max-width: var(--maxw); margin: 0 auto; padding: clamp(32px, 5vw, 80px) var(--gutter); }
.section-title { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 5vw, 72px); line-height: .95; letter-spacing: -.03em; text-transform: uppercase; margin-bottom: clamp(24px, 3vw, 44px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.steps li { position: relative; }
.steps li:nth-child(2) { margin-top: clamp(0px, 5vw, 72px); }
.steps li:nth-child(3) { margin-top: clamp(0px, 10vw, 144px); }
.spot { width: 100%; max-width: 260px; aspect-ratio: 240 / 180; height: auto; display: block; margin-bottom: 10px; }
.steps i { font-style: normal; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--mustard); }
.steps h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.12; margin: 6px 0 10px; letter-spacing: -.01em; }
.steps p { font-family: var(--serif); font-size: 18px; line-height: 1.4; color: var(--paper); max-width: 34ch; }

/* ── каталог: кремовая полоса для ритма ── */
.catalog { background: var(--cream); color: var(--field); padding: clamp(40px, 6vw, 96px) var(--gutter); }
.catalog > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.catalog .section-title { margin-bottom: 10px; }
.catalog .sub { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); margin-bottom: clamp(24px, 3vw, 40px); }
.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px 32px; }
.groups h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; color: var(--rust); }
.groups .chips { justify-content: flex-start; }

/* ── семья ── */
.family { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 7vw, 110px) var(--gutter); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.family-art { width: 100%; height: auto; }

/* ── финальный призыв ── */
.cta { background: var(--teal); padding: clamp(40px, 6vw, 90px) var(--gutter); }
.cta > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; display: block; }
/* «НАЧАТЬ→» ≈ 7,4 кегля (замер) — кегль от доступной ширины, чтобы стрелка не вылезала */
.cta-link { font-family: var(--display); font-weight: 900; font-size: calc((min(100vw, var(--maxw)) - 2 * var(--gutter)) / 6.6); line-height: .85; letter-spacing: -.04em; text-transform: uppercase; text-decoration: none; color: var(--cream); display: flex; align-items: baseline; gap: .15em; }
.cta-link span { font-family: var(--sans); font-weight: 800; color: var(--mustard); transition: transform .2s ease; }
.cta-link:hover span { transform: translateX(.12em); }
.cta p { margin-top: 18px; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); color: var(--paper); }

.foot { max-width: var(--maxw); margin: 0 auto; padding: 28px var(--gutter) 40px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }

/* ── телефон ── */
@media (max-width: 860px) {
  .nav a:not(.pill):not(.reg) { display: none; }
  /* на телефоне приближаем сцену к дому и людям — крупная картинка важнее полей */
  .hero-art { overflow: hidden; padding: 0; }
  .art { width: 165%; margin-left: -30%; }
  .numbers { grid-template-columns: 1fr; }
  .num-a { grid-row: auto; }
  .steps { grid-template-columns: 1fr; }
  .steps li:nth-child(n) { margin-top: 0; }
  .family { grid-template-columns: 1fr; }
  .family-art { max-width: 360px; }
  .hero-art { margin-top: -14vw; }
}
