/* lab.alexandercroft.com/carousel → /ai/carousel/: CSS оригинала дословно, обёрнут в .lab-carousel (nesting) — ничего не утекает в шапку/подвал хаба и наоборот. Правки: токены → палитра хаба, body-шрифт → Golos, self-hosted шрифты. */
/* latin */
@font-face {
  font-family: 'Bagel Fat One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/carousel/fonts/bagel-fat-one-latin-400-normal-d43da8.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;
}
/* latin */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/carousel/fonts/big-shoulders-display-latin-500-normal-82c0b9.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;
}
/* latin */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/carousel/fonts/big-shoulders-display-latin-500-normal-82c0b9.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;
}
/* latin */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/carousel/fonts/big-shoulders-display-latin-500-normal-82c0b9.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;
}
/* latin */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/carousel/fonts/big-shoulders-display-latin-500-normal-82c0b9.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;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/carousel/fonts/inter-cyrillic-400-normal-3774b6.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/carousel/fonts/inter-latin-400-normal-1dc044.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;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/carousel/fonts/inter-cyrillic-400-normal-3774b6.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/carousel/fonts/inter-latin-400-normal-1dc044.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;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/carousel/fonts/inter-cyrillic-400-normal-3774b6.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/carousel/fonts/inter-latin-400-normal-1dc044.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;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/carousel/fonts/inter-cyrillic-400-normal-3774b6.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/carousel/fonts/inter-latin-400-normal-1dc044.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;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/carousel/fonts/inter-cyrillic-400-normal-3774b6.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/carousel/fonts/inter-latin-400-normal-1dc044.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;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/carousel/fonts/inter-cyrillic-400-normal-3774b6.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/carousel/fonts/inter-latin-400-normal-1dc044.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;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/carousel/fonts/jetbrains-mono-cyrillic-400-normal-add2d2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/carousel/fonts/jetbrains-mono-latin-400-normal-b87346.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;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/carousel/fonts/jetbrains-mono-cyrillic-400-normal-add2d2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/carousel/fonts/jetbrains-mono-latin-400-normal-b87346.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;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/carousel/fonts/jetbrains-mono-cyrillic-400-normal-add2d2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/carousel/fonts/jetbrains-mono-latin-400-normal-b87346.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;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/carousel/fonts/jetbrains-mono-cyrillic-400-normal-add2d2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/carousel/fonts/jetbrains-mono-latin-400-normal-b87346.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;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/carousel/fonts/lato-latin-300-normal-64b2f1.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;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/carousel/fonts/lato-latin-400-normal-3f1802.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;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/carousel/fonts/lato-latin-700-normal-ceaca8.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;
}
/* cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/carousel/fonts/playfair-display-cyrillic-400-italic-a451f8.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/carousel/fonts/playfair-display-latin-400-italic-3a1af3.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;
}
/* cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/carousel/fonts/playfair-display-cyrillic-400-normal-8e474e.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/carousel/fonts/playfair-display-latin-400-normal-fdd6c3.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;
}
/* cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/carousel/fonts/playfair-display-cyrillic-400-normal-8e474e.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/carousel/fonts/playfair-display-latin-400-normal-fdd6c3.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;
}
/* cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/carousel/fonts/playfair-display-cyrillic-400-normal-8e474e.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/carousel/fonts/playfair-display-latin-400-normal-fdd6c3.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;
}

@keyframes blink {
  50% {
    opacity: 0
  }
}

@media (prefers-reduced-motion: reduce) {
  html:root { /* :root — чтобы перебить html{scroll-behavior:smooth} из tokens.css хаба, который подключается позже */
    scroll-behavior: auto
  }
}

.lab-carousel {
/* === DESIGN TOKENS === */
& {
  --bg: #FFFFFF; /* хаб --bg */
  --bg-alt: var(--bg-soft);
  --bg-deep: var(--line);
  --ink: #0A0A0A; /* хаб --ink */
  --ink-soft: var(--ink-2);
  --ink-faint: var(--ink-3);
  --accent: var(--ai-ink);
  --accent-dark: #2F399F; /* --ai-ink на 20% темнее, hover кнопок; в tokens.css тёмного варианта нет */
  --highlight: var(--ai-ink); /* второго акцента у хаба нет */
  --rule: var(--line);
  --rule-soft: rgb(10 10 10 / 0.06);

  --font-display: 'Big Shoulders Display', 'Golos Text', sans-serif; /* у BSD нет кириллицы: русские заголовки в оригинале падают в системный sans → Golos; латиница остаётся BSD */
  --font-bagel: 'Bagel Fat One', sans-serif;
  --font-body: 'Golos Text', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  --section-y: clamp(72px, 9vw, 128px);
  --container: 1200px;
  --container-pad: clamp(20px, 4vw, 32px);
}

/* === RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

& {
  font-synthesis: weight style; /* tokens.css ставит none — терялись faux bold/italic обложек */
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

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

ul,
ol {
  list-style: none
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px
}

/* === LAYOUT === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad)
}

.section {
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden
}

.section--alt {
  background: var(--bg-alt)
}

.section--deep {
  background: var(--bg-deep)
}

/* === TYPOGRAPHY === */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent)
}

.h-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}

.h-display .red {
  color: var(--accent)
}

.h-display .yellow {
  color: var(--highlight);
  -webkit-text-stroke: 1px var(--accent);
  text-stroke: 1px var(--accent)
}

.h-display .yellow-solid {
  color: var(--highlight)
}

.h-display .italic {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em
}

.h-section {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 6.4vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  overflow-wrap: break-word;
  hyphens: none;
  max-width: 100%;
}

.h-display {
  overflow-wrap: break-word;
  max-width: 100%
}

.bio__title {
  overflow-wrap: break-word;
  max-width: 100%
}

.bio__grid>* {
  min-width: 0
}

.story__inner {
  max-width: 920px;
  width: 100%
}

.h-section .red {
  color: var(--accent)
}

.h-section .yellow-solid {
  color: var(--highlight)
}

.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 680px;
}

.lead--soft {
  color: var(--ink-soft)
}

.microcopy {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 12px;
  letter-spacing: 0.005em
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 12px rgb(59 71 199 / 0.18);
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgb(59 71 199 / 0.28)
}

.btn-large {
  padding: 22px 40px;
  font-size: 15px
}

.btn-yellow {
  background: var(--highlight);
  color: var(--ink);
  box-shadow: 0 4px 12px rgb(59 71 199 / 0.3)
}

.btn-yellow:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 20px rgb(59 71 199 / 0.45)
}

/* === PILLS === */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill--filled {
  background: var(--accent);
  color: var(--bg)
}

.pill--yellow {
  background: var(--highlight);
  border-color: var(--highlight);
  color: var(--ink)
}

.pill--neutral {
  border-color: var(--rule);
  color: var(--ink-soft);
  background: var(--bg)
}

/* === DECORATIONS === */
.deco-star {
  position: absolute;
  color: var(--highlight);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  text-shadow: 1.5px 1.5px 0 var(--accent)
}

.deco-blob {
  position: absolute;
  background: var(--highlight);
  border-radius: 50% 70% 50% 70%;
  pointer-events: none;
  z-index: 1
}

.deco-sparkle {
  position: absolute;
  color: var(--highlight);
  font-size: clamp(16px, 2.4vw, 28px);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  text-shadow: 1px 1px 0 var(--accent)
}

/* ====================================================== */
/* HERO                                                   */
/* ====================================================== */
.hero {
  padding-top: clamp(56px, 7vw, 104px);
  padding-bottom: var(--section-y);
  position: relative;
  overflow-x: clip
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center
}

.hero__grid>* {
  min-width: 0
}

@media(max-width:900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px
  }
}

/* ДЕСКТОП: заголовок во всю ширину (4 строки), веер карт — справа поверх/под текстом */
@media(min-width:901px) {
  .hero__grid {
    display: block;
    position: relative;
    min-height: 520px;
  }

  .hero__copy {
    position: relative;
    z-index: 2;
    /* текст сужен слева, чтобы справа осталось место под веер */
    max-width: min(72%, 860px);
  }

  .hero__media {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: min(44%, 500px);
    margin: 0;
    z-index: 1;
  }
}

/* МОБАЙЛ: веер возвращается в поток, под текст */
@media(max-width:900px) {
  .hero__media {
    position: static;
    transform: none;
    width: 100%;
  }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 8.4vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.028em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  /* слова не рвутся посередине — 4 строки задают <br>, перенос внутри слова запрещён */
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
  max-width: 100%;
}

.hero__title .red {
  color: var(--accent)
}

.hero__title .yellow-solid {
  color: var(--highlight)
}

.hero__lead {
  margin-top: 32px;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 540px;
  overflow-wrap: break-word;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px
}

.hero__cta {
  margin-top: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%
}

.hero__cta .btn {
  max-width: 100%
}

.hero__cta .microcopy {
  text-align: center
}

@media(max-width:600px) {
  .btn-large {
    font-size: 13px;
    padding: 18px 22px
  }
}

/* Hero deck of cards */
.hero-deck {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  min-height: 480px;
  max-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

@media(max-width:900px) {
  .hero-deck {
    margin: 64px auto 24px;
    min-height: 380px;
    max-width: 380px;
    width: 90%;
  }
}

.hero-deck__card {
  position: absolute;
  width: 56%;
  aspect-ratio: 4/5;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease;
  box-shadow: 0 4px 10px rgb(10 10 10 / 0.06), 0 14px 28px rgb(10 10 10 / 0.07);
  border-radius: 3px;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}

/* во время перетаскивания убираем плавность (чтобы карта шла за пальцем без задержки) */
.hero-deck__card.is-dragging {
  transition: box-shadow .25s ease;
  cursor: grabbing;
  box-shadow: 0 18px 44px rgb(10 10 10 / 0.22);
}

/* Разлёт сужен: карты гарантированно умещаются в контейнере, не выпадают за край */
.hero-deck__card:nth-child(1) {
  transform: translate(-50%, -50%) translate(-26%, -18%) rotate(-9deg);
  z-index: 1
}

.hero-deck__card:nth-child(2) {
  transform: translate(-50%, -50%) translate(-13%, -9%) rotate(-4.5deg);
  z-index: 2
}

.hero-deck__card:nth-child(3) {
  transform: translate(-50%, -50%) translate(0%, 0%) rotate(0deg);
  z-index: 3
}

.hero-deck__card:nth-child(4) {
  transform: translate(-50%, -50%) translate(13%, 9%) rotate(4.5deg);
  z-index: 4
}

.hero-deck__card:nth-child(5) {
  transform: translate(-50%, -50%) translate(26%, 18%) rotate(9deg);
  z-index: 5
}

.hero-deck__card:nth-child(1):hover {
  transform: translate(-50%, -50%) translate(-26%, -18%) rotate(-9deg) scale(1.05);
  z-index: 50;
  box-shadow: 0 16px 40px rgb(10 10 10 / 0.18)
}

.hero-deck__card:nth-child(2):hover {
  transform: translate(-50%, -50%) translate(-13%, -9%) rotate(-4.5deg) scale(1.05);
  z-index: 50;
  box-shadow: 0 16px 40px rgb(10 10 10 / 0.18)
}

.hero-deck__card:nth-child(3):hover {
  transform: translate(-50%, -50%) translate(0%, 0%) rotate(0deg) scale(1.05);
  z-index: 50;
  box-shadow: 0 16px 40px rgb(10 10 10 / 0.18)
}

.hero-deck__card:nth-child(4):hover {
  transform: translate(-50%, -50%) translate(13%, 9%) rotate(4.5deg) scale(1.05);
  z-index: 50;
  box-shadow: 0 16px 40px rgb(10 10 10 / 0.18)
}

.hero-deck__card:nth-child(5):hover {
  transform: translate(-50%, -50%) translate(26%, 18%) rotate(9deg) scale(1.05);
  z-index: 50;
  box-shadow: 0 16px 40px rgb(10 10 10 / 0.18)
}

/* В hero-deck отключаем шумовые и виньетные псевдо-оверлеи — на маленьких картах они создают артефакты */
.hero-deck__card .cover::before,
.hero-deck__card .cover::after {
  display: none !important
}

/* Hero decorations */
.hero .deco-star--1 {
  top: -8px;
  right: 8%;
  font-size: clamp(36px, 5vw, 60px);
  transform: rotate(12deg)
}

.hero .deco-sparkle--1 {
  top: 48%;
  right: -2%;
  font-size: clamp(18px, 2.4vw, 28px);
  transform: rotate(-8deg)
}

/* ====================================================== */
/* BIO                                                    */
/* ====================================================== */
.bio {
  position: relative
}

.bio__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start
}

@media(max-width:900px) {
  .bio__grid {
    grid-template-columns: 1fr;
    gap: 32px
  }
}

.bio__photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--bg-alt);
  border-radius: 6px;
  overflow: hidden;
}

.bio__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  filter: saturate(0.96) contrast(1.02);
}

.bio__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 24px;
}

.bio__title .red {
  color: var(--accent)
}

.bio__speakers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px
}

.bio__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px
}

@media(max-width:700px) {
  .bio__stats {
    grid-template-columns: 1fr
  }
}

.bio__stat {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.bio__stat .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 48px;
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--accent);
}

.bio__stat .lbl {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.4;
}

.bio__consult {
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  font-size: 15px;
  color: var(--ink);
  border-radius: 0 4px 4px 0;
}

/* Social proof — мои соцсети (чистые прямоугольники без подписей) */
.bio__socials {
  margin-top: 64px
}

.bio__socials .eyebrow {
  margin-bottom: 20px
}

.bio__socials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media(max-width:900px) {
  .bio__socials-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:500px) {
  .bio__socials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
  }
}

.social-card {
  display: block;
  background: #0E0E10;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}

.social-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgb(10 10 10 / 0.12);
  border-color: var(--accent)
}

.social-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block
}

/* ====================================================== */
/* STORY SECTIONS (03, 04, 05)                            */
/* ====================================================== */
.story__inner {
  max-width: 920px
}

/* Chain */
.chain {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 40px
}

.chain-item {
  padding: 14px 22px;
  background: var(--bg);
  border: 1.5px solid var(--ink);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
}

.chain-item.end {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent)
}

.chain-arrow {
  color: var(--accent);
  font-size: 22px;
  font-weight: 700
}

/* ====================================================== */
/* GALLERY                                                */
/* ====================================================== */
.gallery-wrap {
  margin: 48px calc(-1 * var(--container-pad)) 0;
  padding: 8px var(--container-pad) 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory
}

.gallery-wrap::-webkit-scrollbar {
  height: 6px
}

.gallery-wrap::-webkit-scrollbar-thumb {
  background: var(--rule);
  border-radius: 3px
}

.gallery-row {
  display: flex;
  gap: 24px;
  width: max-content;
  padding-bottom: 8px
}

.gallery-card {
  scroll-snap-align: start;
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px
}

.gallery-card .cover {
  box-shadow: 0 8px 24px rgb(10 10 10 / 0.08)
}

.gallery-card .meta {
  padding: 0 4px
}

.gallery-card .meta .name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink)
}

.gallery-card .meta .style {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px
}

.gallery-cue {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em
}

/* ====================================================== */
/* COVER BASE                                             */
/* ====================================================== */
.cover {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  border-radius: 3px;
}

.cover * {
  box-sizing: border-box
}

/* ============ COVER 01 — EDITORIAL MAG ============ */
.cover--editorial {
  background: #EFE2C8;
  color: #1A1411;
  font-family: 'Big Shoulders Display', sans-serif;
  padding: 5% 6%;
  display: flex;
  flex-direction: column
}

.cover--editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.18  0 0 0 0 0.10  0 0 0 0 0.07  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  z-index: 1
}

.cover--editorial>* {
  position: relative;
  z-index: 2
}

.cover--editorial .masthead {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(7px, 1.6cqw, 11px);
  letter-spacing: 0.04em;
  color: #C8362A;
  font-weight: 600;
  line-height: 1.5
}

.cover--editorial .masthead .brand {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: clamp(12px, 2.6cqw, 20px);
  line-height: 1;
  color: #C8362A
}

.cover--editorial .masthead .right {
  text-align: right
}

.cover--editorial .rule {
  height: 1px;
  background: rgba(26, 20, 17, 0.18);
  margin: 10px 0 0
}

.cover--editorial .body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2% 0
}

.cover--editorial .title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 9.4cqw, 80px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #C8362A;
  margin: 0
}

.cover--editorial .title .black {
  color: #1A1411
}

.cover--editorial .lede {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: clamp(8px, 1.7cqw, 12px);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #1A1411;
  margin: 14px 0 0
}

.cover--editorial .footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(7px, 1.5cqw, 10px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1A1411
}

.cover--editorial .footer .name {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: clamp(10px, 2.1cqw, 14px);
  text-align: center;
  color: #C8362A;
  letter-spacing: 0.02em
}

.cover--editorial .footer .right {
  text-align: right;
  color: #C8362A;
  font-weight: 700
}

/* ============ COVER 02 — BLOOMBERG TERMINAL ============ */
.cover--bloomberg {
  background: #0A0A0A;
  color: #EAEAEA;
  font-family: 'JetBrains Mono', monospace;
  padding: 5%;
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  letter-spacing: 0.06em
}

.cover--bloomberg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(255, 255, 255, 0.04) 2px, rgba(255, 255, 255, 0.04) 3px);
  z-index: 1
}

.cover--bloomberg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1
}

.cover--bloomberg>* {
  position: relative;
  z-index: 2
}

.cover--bloomberg .header {
  display: flex;
  justify-content: space-between;
  font-size: clamp(7px, 1.5cqw, 11px);
  color: #4AF626;
  padding: 6px 8px;
  border: 1px solid #4AF626
}

.cover--bloomberg .header .red {
  color: #FF2A2A
}

.cover--bloomberg .ticker {
  font-size: clamp(6px, 1.3cqw, 10px);
  padding: 8px 0;
  border-bottom: 1px solid #2A2A2A;
  opacity: 0.7;
  white-space: nowrap;
  overflow: hidden
}

.cover--bloomberg .ticker .up {
  color: #4AF626
}

.cover--bloomberg .ticker .down {
  color: #FF2A2A
}

.cover--bloomberg .body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6% 0
}

.cover--bloomberg .sub {
  font-size: clamp(7px, 1.5cqw, 11px);
  color: #4AF626;
  margin-bottom: 14px;
  opacity: 0.9
}

.cover--bloomberg .title {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: clamp(18px, 5.4cqw, 38px);
  line-height: 0.98;
  margin: 0;
  letter-spacing: -0.015em
}

.cover--bloomberg .title .red {
  color: #FF2A2A
}

.cover--bloomberg .cursor {
  display: inline-block;
  width: 0.5em;
  height: 0.85em;
  background: #4AF626;
  vertical-align: -8%;
  margin-left: 6px;
  animation: blink 1s steps(2) infinite
}


.cover--bloomberg .foot {
  display: flex;
  justify-content: space-between;
  font-size: clamp(7px, 1.5cqw, 11px);
  padding: 6px 8px;
  border: 1px solid #2A2A2A;
  opacity: 0.85
}

.cover--bloomberg .foot .next {
  color: #FF2A2A
}

/* ============ COVER 19 — EDITORIAL WELLNESS ============ */
.cover--wellness {
  background: #FAF9F6;
  color: #333333;
  font-family: 'Lato', sans-serif;
  padding: 9% 7%;
  display: flex;
  flex-direction: column
}

.cover--wellness::before {
  content: "";
  position: absolute;
  inset: 5%;
  border: 1px solid #D4AF37;
  pointer-events: none;
  z-index: 1
}

.cover--wellness>* {
  position: relative;
  z-index: 2
}

.cover--wellness .top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'Lato', sans-serif;
  font-size: clamp(8px, 1.6cqw, 12px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D4AF37
}

.cover--wellness .top .brand {
  color: #6B6B6B;
  font-weight: 300
}

.cover--wellness .body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6% 0 4%
}

.cover--wellness .num-marker {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 8cqw, 72px);
  color: #D4AF37;
  line-height: 1;
  margin-bottom: 16px
}

.cover--wellness .title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 7.4cqw, 66px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: #333333;
  margin: 0
}

.cover--wellness .title em {
  font-style: normal
}

.cover--wellness .lede {
  font-family: 'Lato', sans-serif;
  font-size: clamp(8px, 1.6cqw, 12px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B6B6B;
  margin: 18px 0 0
}

.cover--wellness .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Lato', sans-serif;
  font-size: clamp(8px, 1.6cqw, 12px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B6B6B
}

.cover--wellness .bottom .name {
  color: #D4AF37
}

/* ============ COVER 20 — SWISS EDITORIAL ============ */
.cover--swiss {
  background: #F4F4F2;
  color: #0A0A0A;
  font-family: 'Inter', sans-serif;
  padding: 5%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0
}

.cover--swiss .top {
  padding: 0 0 10px 0;
  border-bottom: 1px solid #0A0A0A;
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(7px, 1.6cqw, 11px);
  text-transform: uppercase;
  letter-spacing: 0.04em
}

.cover--swiss .top .brand::before {
  content: "—";
  margin-right: 8px;
  opacity: 0.5
}

.cover--swiss .top .right {
  margin-left: auto
}

.cover--swiss .body {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  align-content: center;
  padding: 6% 0
}

.cover--swiss .title {
  grid-column: 1 / 13;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 9.4cqw, 80px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: #0A0A0A;
  margin: 0;
  text-transform: uppercase
}

.cover--swiss .title .accent {
  color: #FF3B30
}

.cover--swiss .bottom {
  padding: 10px 0 0 0;
  border-top: 1px solid #0A0A0A;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(7px, 1.6cqw, 11px);
  text-transform: uppercase;
  letter-spacing: 0.04em
}

.cover--swiss .dots {
  display: flex;
  gap: 6px
}

.cover--swiss .dots .dot {
  width: clamp(14px, 4cqw, 28px);
  height: 3px;
  background: #0A0A0A;
  opacity: 0.2
}

.cover--swiss .dots .dot.active {
  background: #FF3B30;
  opacity: 1
}

/* ============ COVER 18 — BAGEL FAT · CHERRY ============ */
.cover--bagel {
  background: #DA2A37;
  color: #FAF3E5;
  font-family: 'JetBrains Mono', monospace;
  padding: 5%;
  display: flex;
  flex-direction: column
}

.cover--bagel .shape-star {
  position: absolute;
  top: 7%;
  right: 7%;
  color: #FFD800;
  font-size: clamp(20px, 4cqw, 36px);
  transform: rotate(12deg);
  line-height: 1;
  z-index: 1
}

.cover--bagel .shape-blob {
  position: absolute;
  bottom: 12%;
  left: 5%;
  width: clamp(36px, 7cqw, 72px);
  aspect-ratio: 1;
  background: #FFD800;
  border-radius: 50% 70% 50% 70%;
  transform: rotate(-12deg);
  z-index: 1
}

.cover--bagel .shape-sparkle {
  position: absolute;
  top: 36%;
  left: 6%;
  color: #FFD800;
  font-size: clamp(10px, 2cqw, 18px);
  transform: rotate(-12deg);
  z-index: 1
}

.cover--bagel>*:not(.shape-star):not(.shape-blob):not(.shape-sparkle) {
  position: relative;
  z-index: 2
}

.cover--bagel .top,
.cover--bagel .body,
.cover--bagel .bottom {
  position: relative;
  z-index: 2
}

.cover--bagel .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(7px, 1.5cqw, 10px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600
}

.cover--bagel .pill {
  background: #FAF3E5;
  color: #DA2A37;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700
}

.cover--bagel .body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4% 0
}

.cover--bagel .title {
  font-family: 'Bagel Fat One', sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 7.5cqw, 80px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #FAF3E5;
  margin: 0;
  text-transform: uppercase;
  text-align: center;
  overflow-wrap: break-word;
  max-width: 100%
}

.cover--bagel .title .alt {
  color: #FFD800
}

.cover--bagel .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(6px, 1.3cqw, 9px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600
}

.cover--bagel .bottom .name {
  font-family: 'Bagel Fat One', sans-serif;
  font-weight: 400;
  font-size: clamp(11px, 2.2cqw, 18px);
  color: #FFD800;
  letter-spacing: 0;
  text-transform: uppercase
}

/* ====================================================== */
/* INSTRUCTION STEPS                                      */
/* ====================================================== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px
}

.step {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  position: relative;
}

@media(max-width:900px) {
  .step {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 24px
  }
}

.step__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 48px;
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.step__num small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 6px
}

.step__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 12px;
}

.step__desc {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6
}

.step__desc strong {
  color: var(--ink);
  font-weight: 600
}

.step__desc em {
  font-style: italic;
  color: var(--ink)
}

.step__desc a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px
}

.step__desc ul {
  margin: 10px 0 0
}

.step__desc ul li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px
}

.step__desc ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700
}

.step__note {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-left: 3px solid var(--highlight);
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.5;
  border-radius: 0 4px 4px 0;
}

.step__screen {
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  align-self: start;
}

.step__screen img {
  width: 100%;
  height: auto;
  display: block
}

.step__screen--empty {
  display: none
}

@media(max-width:900px) {
  .step__screen {
    margin-top: 8px
  }
}

/* Prompt box (Step 04) */
.prompt-box {
  margin-top: 20px;
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  overflow: hidden;
  max-width: 600px;
}

.prompt-box-head {
  padding: 12px 16px;
  background: #0F0F0F;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2A2A2A;
}

.prompt-box-head .ttl {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9A9A9A
}

.prompt-box-head .copy {
  padding: 7px 14px;
  background: var(--highlight);
  color: var(--bg); /* белый текст на акцентной кнопке (было ink на жёлтом) */
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 0;
  transition: background .15s;
}

.prompt-box-head .copy:hover {
  background: var(--accent-dark)
}

.prompt-box-head .copy.done {
  background: #4AF626;
  color: #000
}

.prompt-box-body {
  height: 140px;
  overflow-y: auto;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  color: #D8D8D8;
  white-space: pre-wrap;
  word-break: break-word;
}

.prompt-box-body::-webkit-scrollbar {
  width: 6px
}

.prompt-box-body::-webkit-scrollbar-thumb {
  background: #3A3A3A;
  border-radius: 3px
}

/* ====================================================== */
/* FAQ                                                    */
/* ====================================================== */
.faq {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item[open] {
  border-color: var(--accent)
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none
}

.faq-item .q {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 1.8vw, 21px);
  letter-spacing: -0.01em;
  flex: 1;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1.2;
}

.faq-item .toggle {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  transition: transform .25s;
  font-size: 0;
  line-height: 0;
}

.faq-item .toggle::before,
.faq-item .toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--accent);
  border-radius: 1px;
}

.faq-item .toggle::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%)
}

.faq-item .toggle::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%)
}

.faq-item[open] .toggle {
  transform: rotate(45deg)
}

.faq-item .a {
  padding: 0 28px 24px 28px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  max-width: 780px
}

/* ====================================================== */
/* FOOTER                                                 */
/* ====================================================== */
.footer {
  padding: 80px 0 64px;
  text-align: center;
  border-top: 1px solid var(--rule);
  margin-top: 48px
}

.footer__sig {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 42px);
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px
}

.footer__sig .red {
  color: var(--accent)
}

.footer__role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 28px
}

.socials {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 32px
}

.socials a {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1.5px solid var(--rule);
  transition: transform .2s, background .2s, border-color .2s;
}

.socials a:hover {
  transform: translateY(-3px);
  background: var(--accent);
  border-color: var(--accent)
}

.socials a:hover svg {
  fill: var(--bg)
}

.socials svg {
  width: 22px;
  height: 22px;
  fill: var(--ink);
  transition: fill .2s
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.1em
}

/* ====================================================== */
/* SCROLL ANIMATIONS                                      */
/* ====================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .65, .3, 1)
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0)
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }

}
  
}
