/* Страница «О компании» `/company/` — вариант C «Под парусом» (перенесён 18.10.2026 из prototypes/company-page).
   Шрифты, токены, шапка, .btn, .wrap и футер — из /shop/base.css.
   Согласованные тексты — content/company-page-copy.md (30.09.2026); блоки «Команда»,
   «Под парусом» и «Жизнь компании» добавлены по просьбе пользователя 10.10.2026 — черновик. */
:root { --paper: #fbfbfc; }
[hidden] { display: none !important; }
ol { margin: 0; padding: 0; list-style: none; }

.cp { padding-top: 144px; }
@media (max-width: 767px) { .cp { padding-top: 120px; } }
.cp h1, .cp h2, .disp { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); }
.cp h1 { font-size: min(120px, calc((100vw - 96px) / 8.6)); line-height: .95; letter-spacing: -.01em; }
@media (max-width: 767px) { .cp h1 { font-size: calc((100vw - 32px) / 7.4); } }
.cp h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.01em; }
.k { font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lead { max-width: 40ch; font-size: 20px; line-height: 1.5; }
.txt { max-width: 60ch; font-size: 18px; line-height: 1.6; }
@media (max-width: 767px) { .lead { font-size: 18px; } }

/* тёмная секция — как блок 5 главной и оборудование в каталоге */
.night { background: var(--night); color: var(--night-ink); }
.night .k { color: var(--night-muted); }

/* вторая кнопка: контур */
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); transition: background 150ms var(--ease), color 150ms var(--ease), box-shadow 150ms var(--ease); }
.btn-line:hover { background: var(--red); color: #fff; box-shadow: inset 0 0 0 1px var(--red); }
.night .btn-line { color: var(--night-ink); box-shadow: inset 0 0 0 1px rgb(244 244 244 / .4); }
.night .btn-line:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--red); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .btns { flex-direction: column; } .btns .btn { width: 100%; justify-content: center; } }

/* ---------- место под фото или видео (kit/page.js) ---------- */
.ph { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; aspect-ratio: var(--r, 4 / 3); padding: 16px; border: 1px dashed rgb(18 20 24 / .2); border-radius: 12px; background: var(--surface); color: var(--muted); text-align: center; overflow: hidden; }
.ph svg { width: 28px; height: 28px; margin-bottom: 4px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.ph b { font-size: 12px; font-weight: 600; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; }
.ph span { max-width: 30ch; font-size: 14px; font-weight: 500; line-height: 20px; color: var(--ink); }
.ph small { font-size: 12px; line-height: 16px; }
.night .ph, .ph.dark { border-color: rgb(255 255 255 / .16); background: rgb(255 255 255 / .05); color: var(--night-muted); }
.night .ph span, .ph.dark span { color: var(--night-ink); }

/* ---------- стрелка в кружке: уходит вправо, новая приходит слева (как на поддержке) ---------- */
.arr { position: relative; flex: none; width: 56px; height: 56px; overflow: hidden; border-radius: 50%; background: var(--surface); color: var(--ink); transition: background 150ms var(--ease), color 150ms var(--ease); }
.arr svg { position: absolute; inset: 0; margin: auto; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 250ms var(--ease); }
.arr svg + svg { transform: translateX(-56px); }
.hov:hover .arr { background: var(--red); color: #fff; }
.hov:hover .arr svg:first-child { transform: translateX(56px); }
.hov:hover .arr svg + svg { transform: none; }
.stretch::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.stretch:focus-visible { outline: none; }
.hov:has(.stretch:focus-visible) { outline: 2px solid var(--red); outline-offset: 4px; }

/* Телефон: шкала шрифтов по эталонным сайтам (Stripe, Linear, Vercel: H1 24–38, H2 22–34, текст 15–16) — 18.10.2026 */
@media (max-width: 767px) {
  .cp h1 { font-size: calc((100vw - 32px) / 9.5); }
  .cp h2 { font-size: 26px; }
}
