/* ── DESIGN TOKENS (Taste-Skill Base) ───────────── */
:root {
  --bg: #f9fafb;
  --card-bg: #ffffff;
  --text-main: #111827;
  --text-muted: #4b5563;
  --text-light: #9ca3af;
  --accent: #E8534A;
  --accent-hover: #cf3f37;
  
  --radius-card: 2.5rem;
  --radius-btn: 9999px; /* Pill shape */
  --radius-sm: 1rem;

  --shadow-diffuse: 0 20px 40px -15px rgba(0,0,0,0.05);
  --shadow-inner: inset 0 1px 0 rgba(255,255,255,0.7);
  --border-glass: 1px solid rgba(226, 232, 240, 0.8);
  
  --transition-spring: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET & BASE ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { 
  font-family: 'Onest', sans-serif; 
  background-color: var(--bg); 
  color: var(--text-main); 
  line-height: 1.6; 
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }

/* ── LAYOUT UTILS ───────────────────────────────── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5vw;
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.3s ease-out, transform 0.4s var(--transition-spring);
  will-change: transform, opacity;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── HEADER ─────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5vw; 
  background: rgba(249, 250, 251, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, background 0.3s, padding 0.3s;
}
.header.is-scrolled {
  padding: 0.75rem 5vw;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-diffuse);
  border-bottom: var(--border-glass);
}
.header__logo { display: flex; align-items: center; }
.logo-svg { height: 64px; width: auto; max-width: 50vw; transition: height 0.3s; }
.header.is-scrolled .logo-svg { height: 50px; }

.header__nav { display: flex; align-items: center; gap: 2.5rem; }
.header__nav a { 
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; 
  color: var(--text-muted); transition: color 0.2s, transform 0.2s; 
}
.header__nav a:hover { color: var(--text-main); transform: translateY(-1px); }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.875rem 1.75rem; text-align: center;
  background: var(--accent); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius-btn);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s;
  box-shadow: 0 4px 14px 0 rgba(232, 83, 74, 0.25);
  will-change: transform;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-primary:active { transform: scale(0.96) translateY(0); }

/* ── HERO ───────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  padding-top: 120px;
  display: flex; flex-direction: column;
  position: relative;
}
.hero__top { margin-bottom: 3rem; }
.hero__club-label {
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--text-light); auto; margin-bottom: 1rem;
  text-transform: uppercase;
  display: inline-block;
  padding: 0.25rem 1rem;
  background: white; border: var(--border-glass); border-radius: var(--radius-btn);
}
.hero__title {
  font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 800;
  color: var(--text-main); line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero__title em { font-style: normal; color: var(--accent); }

.hero__bottom {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 4rem; align-items: start;
}
.hero__founder { position: relative; min-width: 0; max-width: 100%; }
.hero__founder-img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 15%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-diffuse);
}
.hero__founder-label {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  display: inline-block; max-width: calc(100% - 3rem);
  background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 1rem 1.5rem; border-radius: var(--radius-sm);
  border: var(--border-glass);
  box-shadow: var(--shadow-diffuse);
}
.hero__founder-name { font-size: 1rem; font-weight: 700; color: var(--text-main); display: block; }
.hero__founder-role { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.04em; }

.hero__content { display: flex; flex-direction: column; justify-content: center; height: 100%; min-width: 0; max-width: 100%; }
.hero__lead {
  font-size: 1.125rem; font-weight: 400; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 3rem; max-width: 50ch;
}

/* ── DIFF SLIDER (Bento Cards) ──────────────────── */
.diff-slider-wrap { width: 100%; max-width: 100vw; overflow: hidden; margin-bottom: 3rem; }
.diff-slider { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; user-select: none; padding-bottom: 20px; }
.diff-slider::-webkit-scrollbar { display: none; }
.diff-slider.is-dragging { cursor: grabbing; }
.diff-track { display: flex; gap: 1.5rem; transition: transform 0.5s var(--transition-spring); will-change: transform; }
.diff-card {
  flex-shrink: 0; width: 280px; padding: 2rem;
  background: var(--card-bg); border-radius: var(--radius-card);
  border: var(--border-glass); box-shadow: var(--shadow-diffuse);
  transition: transform 0.3s var(--transition-spring);
}
.diff-card:hover { transform: translateY(-4px); }
.diff-num { font-size: 0.75rem; font-weight: 800; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 1rem; }
.diff-title { font-size: 1.25rem; font-weight: 800; color: var(--text-main); margin-bottom: 0.75rem; letter-spacing: -0.02em; line-height: 1.2; }
.diff-text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

.diff-controls { display: flex; gap: 0.5rem; margin-bottom: 2rem; justify-content: flex-end; }
.diff-arrow {
  width: 44px; height: 44px; border: var(--border-glass); border-radius: 50%;
  background: var(--card-bg); display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.diff-arrow:hover { border-color: var(--accent); color: var(--accent); transform: scale(1.05); }

/* ── SECTION BASE ───────────────────────────────── */
.section { margin: 2.5rem 0; }
.section__eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
  padding: 0.25rem 1rem; background: rgba(232,83,74,0.08); border-radius: var(--radius-btn);
}
.section__title {
  font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800;
  line-height: 1.05; color: var(--text-main); margin-bottom: 1.5rem;
  letter-spacing: -0.03em; max-width: 25ch;
}

/* ── TESTIMONIALS ───────────────────────────────── */
.people__title { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1rem; max-width: 25ch; }
.people__subtitle { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.people__slider-wrap { position: relative; margin: 0 -5vw; padding: 0 5vw 20px; overflow: hidden; }
.people__slider { display: flex; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; user-select: none; }
.people__slider::-webkit-scrollbar { display: none; }
.people__slider.is-dragging { cursor: grabbing; }
.people__slider-track { display: flex; gap: 1.5rem; transition: transform 0.6s var(--transition-spring); will-change: transform; }

.person {
  position: relative; overflow: hidden;
  width: 300px; flex-shrink: 0; aspect-ratio: 0.75;
  background: #eee; border-radius: var(--radius-card);
  box-shadow: var(--shadow-diffuse);
}
.person img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 0.6s var(--transition-spring); }
.person:hover img { transform: scale(1.05); }
.person__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 35%, rgba(0,0,0,0) 65%);
}
.person__info { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem 1.5rem; }
.person__name { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 0.25rem; }
.person__role { font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.4; }

/* ── PERSON CARD V2 (имя → сфера → метрика, история под карточкой) ───── */
.person-card { display: flex; flex-direction: column; width: 300px; flex-shrink: 0; }
.person-card .person { width: 100%; }

.person__badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  display: inline-flex; align-items: center;
  padding: 0.5rem 1rem;
  background: var(--card-bg);
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-size: 0.6875rem; font-weight: 700; color: var(--text-main);
  letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.person-card .person__info { padding: 1.5rem 1.5rem 1.5rem; }
.person__sphere { font-size: 0.8125rem; color: rgba(255,255,255,0.72); line-height: 1.3; margin-top: 0.1rem; margin-bottom: 0.5rem; font-weight: 400; }
.person__metric-text {
  font-size: 0.8125rem; font-weight: 500;
  color: rgba(255,255,255,0.92); letter-spacing: -0.01em;
  line-height: 1.35;
}
.person__metric-text .row { display: block; }
.person__metric-text .num { color: #fff; font-weight: 700; }
.person__metric-text .num--accent { color: var(--accent); font-weight: 800; }
.person__metric-text .arrow { color: var(--accent); font-weight: 700; margin: 0 0.15rem; }

.person__story-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1rem; padding: 0.25rem 0;
  font-size: 0.9375rem; font-weight: 700; color: var(--accent);
  letter-spacing: -0.01em;
  transition: color 0.25s ease, gap 0.25s var(--transition-spring);
  align-self: center;
  position: relative;
}
.person__story-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: currentColor; opacity: 0.4;
  transition: opacity 0.25s ease;
}
.person__story-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; transition: transform 0.25s var(--transition-spring); }
.person__story-link:hover { color: var(--accent-hover); gap: 0.75rem; }
.person__story-link:hover::after { opacity: 0.8; }
.person__story-link:hover svg { transform: translateX(2px); }

.people__controls { display: flex; align-items: center; justify-content: flex-end; margin-top: 1rem; }
.people__arrows { display: flex; gap: 0.5rem; }
.people__arrow {
  width: 48px; height: 48px; border: var(--border-glass); background: var(--card-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s; box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.people__arrow:hover { border-color: var(--accent); background: var(--card-bg); transform: scale(1.05); }
.people__arrow svg { width: 18px; height: 18px; stroke: var(--text-main); fill: none; stroke-width: 2; transition: stroke 0.2s; }
.people__arrow:hover svg { stroke: var(--accent); }
.people__dots { display: flex; gap: 0.5rem; align-items: center; }
.people__dot { width: 8px; height: 8px; border-radius: 50%; background: #d1d5db; transition: all 0.3s; }
.people__dot.active { background: var(--accent); transform: scale(1.5); }

/* ── FIT (JOIN) SECTION ─────────────────────────── */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.fit-col {
  padding: 3rem; background: var(--card-bg);
  border-radius: var(--radius-card); border: var(--border-glass);
  box-shadow: var(--shadow-diffuse);
}
.fit-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.fit-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 800; flex-shrink: 0;
}
.fit-icon--yes { background: rgba(232,83,74,0.1); color: var(--accent); }
.fit-icon--no  { background: #f3f4f6; color: var(--text-light); }
.fit-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.fit-list { display: flex; flex-direction: column; gap: 1rem; }
.fit-list li {
  font-size: 1rem; color: var(--text-muted); padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.04); display: flex; gap: 1rem;
}
.fit-list li:last-child { border-bottom: none; padding-bottom: 0; }
.fit-list li::before { content: '—'; color: #d1d5db; flex-shrink: 0; }

/* ── JOIN STEPS ─────────────────────────────────── */
.join-checklist { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; max-width: 600px; }
.join-check {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.5rem; background: var(--card-bg); border-radius: var(--radius-sm);
  border: var(--border-glass); box-shadow: var(--shadow-diffuse);
  font-size: 1.125rem; font-weight: 600; color: var(--text-main);
}
.join-check__icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(232,83,74,0.1); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 800; flex-shrink: 0;
}
.join-steps { max-width: 600px; }
.join-steps__title { font-size: 1rem; color: var(--text-muted); margin-bottom: 2rem; }
.join-step {
  display: flex; align-items: flex-start; gap: 1.5rem; padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.join-step:first-of-type { border-top: 1px solid rgba(0,0,0,0.06); }
.join-step__num {
  font-size: 0.875rem; font-weight: 800; color: var(--accent);
  letter-spacing: 0.1em; flex-shrink: 0; padding-top: 0.25rem;
  background: rgba(232,83,74,0.1); padding: 0.5rem 1rem; border-radius: var(--radius-btn);
}
.join-step__text { font-size: 1.125rem; font-weight: 600; color: var(--text-main); line-height: 1.5; padding-top: 0.4rem; }
.join-step__text a { color: var(--accent); border-bottom: 2px solid rgba(232,83,74,0.2); transition: border-color 0.2s; }
.join-step__text a:hover { border-color: var(--accent); }

/* ── FAQ ────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 1rem; max-width: 800px; }
.faq-item {
  background: var(--card-bg); border-radius: var(--radius-sm); border: var(--border-glass);
  box-shadow: 0 4px 6px rgba(0,0,0,0.02); overflow: hidden;
}
.faq-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem; text-align: left;
  font-size: 1.125rem; font-weight: 700; color: var(--text-main); letter-spacing: -0.01em;
  transition: background 0.2s;
}
.faq-btn:hover { background: #f9fafb; }
.faq-sign { font-size: 1.5rem; font-weight: 300; color: var(--text-light); flex-shrink: 0; margin-left: 1.5rem; transition: transform 0.4s var(--transition-spring), color 0.2s; }
.faq-body { height: 0; overflow: hidden; opacity: 0; transition: height 0.4s var(--transition-spring), opacity 0.3s; padding: 0 1.5rem; }
.faq-item.is-open .faq-sign { transform: rotate(45deg); color: var(--accent); }
.faq-item.is-open .faq-body { height: auto; opacity: 1; padding-bottom: 1.5rem; }
.faq-body p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }

/* ── PHOTO DIVIDER ──────────────────────────────── */
.photo-divider {
  position: relative;
  width: 100dvw;
  left: 50%;
  margin-left: -50dvw;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-diffuse);
}
.photo-divider img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }

/* ── FORM ───────────────────────────────────────── */
.form-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.form-left__title { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1.5rem; }
.form-left__desc { font-size: 1.125rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }

.contact-block { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid rgba(0,0,0,0.06); }
.contact-block__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 1rem; }
.contact-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.contact-link {
  padding: 0.75rem 1.5rem; border: var(--border-glass); background: var(--card-bg); border-radius: var(--radius-btn);
  font-size: 0.875rem; font-weight: 600; color: var(--text-main); transition: all 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.contact-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(232,83,74,0.1); }

.form-box {
  background: var(--card-bg); border-radius: var(--radius-card);
  border: var(--border-glass); padding: 3rem; box-shadow: var(--shadow-diffuse);
}
.form-box__title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.form-box__sub { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.field { margin-bottom: 1.5rem; }
.field label { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.5rem; }
.field input, .field textarea {
  width: 100%; padding: 1rem 1.25rem; background: var(--bg); border-radius: var(--radius-sm);
  border: 1px solid transparent; font-family: inherit; font-size: 1rem;
  color: var(--text-main); transition: all 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(232,83,74,0.3); background: #fff; box-shadow: 0 0 0 4px rgba(232,83,74,0.1); }
.messenger-row { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.msng-btn {
  padding: 0.5rem 1.25rem; background: var(--bg); border-radius: var(--radius-btn); border: 1px solid transparent;
  font-size: 0.875rem; font-weight: 600; color: var(--text-muted); transition: all 0.2s;
}
.msng-btn:hover { background: #f3f4f6; color: var(--text-main); }
.msng-btn.active { background: rgba(232,83,74,0.1); color: var(--accent); border-color: rgba(232,83,74,0.2); }
.checkbox-row { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 2rem; }
.checkbox-row input { margin-top: 0.3rem; accent-color: var(--accent); transform: scale(1.2); }
.checkbox-row label { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }
.checkbox-row a { color: var(--text-main); border-bottom: 1px solid #d1d5db; transition: border-color 0.2s; }
.checkbox-row a:hover { border-color: var(--accent); }
/* Honeypot для защиты от ботов: поле невидимо для людей, но боты его заполняют */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.btn-submit {
  width: 100%; display: flex; justify-content: center; padding: 1.25rem; text-align: center;
  background: var(--accent); color: #fff; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s;
  box-shadow: 0 8px 20px -6px rgba(232,83,74,0.4);
}
.btn-submit:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-submit:active { transform: scale(0.98); }

.form-success { text-align: center; padding: 3rem 2rem; background: var(--card-bg); border-radius: var(--radius-card); border: var(--border-glass); box-shadow: var(--shadow-diffuse); }
.form-success__icon { font-size: 3rem; margin-bottom: 1rem; color: var(--accent); }
.form-success h3 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.form-success p { font-size: 1rem; color: var(--text-muted); }

/* ── STORY PAGE (страница истории участника) ───── */
.story { padding: 8rem 0 5rem; }
.story__back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.9375rem; font-weight: 600; color: var(--text-muted);
  margin-bottom: 2.5rem;
  transition: color 0.25s ease, gap 0.25s var(--transition-spring);
}
.story__back:hover { color: var(--accent); gap: 0.6rem; }
.story__back svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

.story__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.story__badge {
  display: inline-flex; align-items: center;
  padding: 0.5rem 1rem;
  background: var(--accent); color: #fff;
  border-radius: 9999px;
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap; line-height: 1;
}
.story__category { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }

.story__title {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin-bottom: 1rem;
}
.story__lead {
  font-size: 1.125rem; color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* Ссылка на реальный проект участника — компактный chip */
.story__project {
  margin: 0 0 3rem;
}
.story__project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: var(--bg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.story__project-link:hover {
  border-color: var(--accent);
  background: var(--card-bg);
  color: var(--accent);
}
.story__project-link svg { display: block; flex-shrink: 0; }
.story__project-label { color: var(--text-muted); }
.story__project-link:hover .story__project-label { color: var(--accent); }
.story__project-url { font-weight: 700; }

.story__hero {
  max-width: 1100px;
  margin: 0 auto 4rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-diffuse);
  background: #f0f0f0;
}
.story__hero img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: cover;
  display: block;
}
.story__hero--portrait { max-width: 600px; }
.story__hero--portrait img { max-height: 80vh; }

.story__article {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-main);
}
.story__article p { margin-bottom: 1.5rem; }
.story__article h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 3rem 0 1.25rem;
}
.story__article strong { font-weight: 700; color: var(--text-main); }
.story__article em { font-style: italic; color: var(--accent); font-weight: 500; }

/* Было / Стало callout */
.story__before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
  align-items: stretch;
  margin: 0 0 3rem;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  border: var(--border-glass);
  box-shadow: var(--shadow-diffuse);
}
.story__ba-card { display: flex; flex-direction: column; gap: 0.5rem; }
.story__ba-label {
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-light);
}
.story__ba-card--accent .story__ba-label { color: var(--accent); }
.story__ba-text { font-size: 1rem; font-weight: 500; color: var(--text-main); line-height: 1.5; }
.story__ba-card--accent .story__ba-text { font-weight: 600; }
.story__ba-arrow {
  display: flex; align-items: center;
  font-size: 1.5rem; color: var(--accent); font-weight: 800;
}

/* Список ключевых сдвигов */
.story__shifts {
  display: flex; flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0 2.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.story__shift { display: flex; gap: 1rem; align-items: flex-start; }
.story__shift-marker {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 0.75rem; font-weight: 800;
  margin-top: 0.25rem;
}
.story__shift-body { flex: 1; }
.story__shift-title { font-size: 1.0625rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.35rem; letter-spacing: -0.01em; }
.story__shift-text { font-size: 1rem; color: var(--text-muted); line-height: 1.6; font-weight: 400; }

/* Pull quote / выноска */
.story__pull {
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 1.125rem; font-weight: 500;
  line-height: 1.55;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

/* CTA в конце статьи */
.story__cta {
  max-width: 720px;
  margin: 5rem auto 0;
  padding: 3rem 2rem;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  border: var(--border-glass);
  box-shadow: var(--shadow-diffuse);
  text-align: center;
}
.story__cta h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.15; margin-bottom: 0.75rem;
}
.story__cta p { font-size: 1.0625rem; color: var(--text-muted); margin-bottom: 1.75rem; }

/* ── FOOTER ─────────────────────────────────────── */
.footer { background: var(--card-bg); padding: 3rem 0 2rem; margin-top: 2rem; border-top: var(--border-glass); }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3rem; margin-bottom: 2rem; }
.footer__tagline { font-size: 1rem; color: var(--text-muted); line-height: 1.6; max-width: 300px; }
.footer__col-title { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light); margin-bottom: 1.25rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__col ul a { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.footer__col ul a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.06); }
.footer__copy { font-size: 0.875rem; color: var(--text-light); }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__bottom { grid-template-columns: 1fr; gap: 3rem; }
  .hero__founder-img { height: 500px; }
  .form-layout { grid-template-columns: 1fr; gap: 4rem; }
}

@media (max-width: 768px) {
  .header { padding: 1rem 1.5rem; }
  .header__nav { display: none; }
  .header.is-scrolled { padding: 0.75rem 1.5rem; }
  
  .container { padding: 0 1.5rem; }
  
  .hero { padding-top: 100px; }
  .hero__title { font-size: 2.75rem; }
  .hero__founder-img { height: 400px; }
  
  .section { margin: 3rem 0; }
  .section__title { margin-bottom: 2rem; }
  .people__subtitle { margin-bottom: 1.5rem; }
  
  .fit-grid { grid-template-columns: 1fr; }
  .fit-col { padding: 2rem; }
  
  .join-check { padding: 1.25rem; }
  .form-box { padding: 2rem; }
  
  .people__slider-wrap { margin: 0 -1.5rem; padding: 0 1.5rem 20px; }
  .person { width: 260px; }
  .person-card { width: 260px; }

  .story { padding: 6rem 0 3rem; }
  .story__before-after { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.5rem; }
  .story__ba-arrow { transform: rotate(90deg); justify-content: center; }
  .story__hero { margin-bottom: 2.5rem; }
  .story__article h2 { margin-top: 2.25rem; }
  .story__cta { padding: 2rem 1.5rem; margin-top: 3rem; }
  
  .footer { text-align: center; }
  .footer__inner { flex-direction: column; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
  .footer__tagline { max-width: 100%; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(0,0,0,0.06); }
  .footer__col ul { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 1rem 1.25rem; }
  .footer__bottom { justify-content: center; }
}
