/* =========================================================
   about_body_style.css
   Все стили изолированы внутри .about-scope,
   чтобы не конфликтовать с глобальными стилями сайта.
   ========================================================= */

.about-scope {
  --ab-navy:   #0F1F3D;
  --ab-amber:  #F5A623;
  --ab-white:  #FFFFFF;
  --ab-muted:  #A8B8D0;
  --ab-card:   rgba(255,255,255,0.05);
  --ab-border: rgba(255,255,255,0.10);

  box-sizing: border-box;
  background: var(--ab-navy);
  color: var(--ab-white);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  height: calc(100vh - 140px);
}

.about-scope *, .about-scope *::before, .about-scope *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── SLIDESHOW ── */
.about-scope .deck {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.about-scope .slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 60px 80px;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.about-scope .slide.active {
  opacity: 1; transform: translateX(0);
  pointer-events: all;
}
.about-scope .slide.exit {
  opacity: 0; transform: translateX(-40px);
}

/* ── NAVIGATION ── */
.about-scope .nav {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 24px;
  z-index: 100;
}
.about-scope .nav button {
  background: var(--ab-card);
  border: 1px solid var(--ab-border);
  color: var(--ab-white);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 18px; cursor: pointer;
  transition: background .2s, border-color .2s;
  display: flex; align-items: center; justify-content: center;
}
.about-scope .nav button:hover {
  background: rgba(245,166,35,.15);
  border-color: var(--ab-amber);
}
.about-scope .nav button:disabled { opacity: .25; cursor: default; }
.about-scope .counter {
  font-size: 13px; color: var(--ab-muted); letter-spacing: .08em;
  font-variant-numeric: tabular-nums; min-width: 48px; text-align: center;
}

/* ── PROGRESS DOTS ── */
.about-scope .dots {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 200;
}
.about-scope .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ab-border); transition: background .3s, transform .3s;
}
.about-scope .dot.on { background: var(--ab-amber); transform: scale(1.4); }

/* ── AMBER ACCENT LINE ── */
.about-scope .amber-line {
  width: 48px; height: 3px; background: var(--ab-amber);
  margin-bottom: 20px; border-radius: 2px;
}

/* ── SLIDE 1: TITLE ── */
.about-scope .s1-eyebrow {
  font-size: 12px; letter-spacing: .18em; color: var(--ab-amber);
  text-transform: uppercase; margin-bottom: 18px;
}
.about-scope .s1-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.15; text-align: center;
  max-width: 800px; margin-bottom: 28px;
}
.about-scope .s1-title em { color: var(--ab-amber); font-style: normal; }
.about-scope .s1-sub {
  font-size: 16px; color: var(--ab-muted); text-align: center;
  max-width: 520px; line-height: 1.7;
}
.about-scope .s1-tag {
  margin-top: 40px;
  border: 1px solid var(--ab-border);
  border-radius: 6px;
  padding: 10px 22px;
  font-size: 13px; color: var(--ab-muted); letter-spacing: .05em;
}

/* ── SLIDE 2: SYSTEM ── */
.about-scope .s2-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 12px; text-align: center;
}
.about-scope .s2-subtitle {
  font-size: 14px; color: var(--ab-muted); margin-bottom: 48px;
  text-align: center;
}
.about-scope .two-col {
  display: flex; gap: 28px; width: 100%; max-width: 860px;
}
.about-scope .three-col {
  display: flex; gap: 20px; width: 100%; max-width: 960px;
}
.about-scope .col-card {
  flex: 1;
  background: var(--ab-card);
  border: 1px solid var(--ab-border);
  border-radius: 12px;
  padding: 32px 28px;
}
.about-scope .col-card-icon { font-size: 28px; margin-bottom: 14px; }
.about-scope .col-card-label {
  font-size: 10px; letter-spacing: .15em; color: var(--ab-amber);
  text-transform: uppercase; margin-bottom: 8px;
}
.about-scope .col-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; margin-bottom: 14px;
}
.about-scope .col-card ul {
  list-style: none; display: flex; flex-direction: column; gap: 9px;
}
.about-scope .col-card li {
  font-size: 14px; color: var(--ab-muted); line-height: 1.5;
  padding-left: 16px; position: relative;
}
.about-scope .col-card li::before {
  content: '—'; position: absolute; left: 0; color: var(--ab-amber);
}

.about-scope .col-card li.col-card-link::before {
  content: '→' !important;
  color: var(--ab-amber);
}

.about-scope .col-card-link a,
.about-scope .col-card-link a:link,
.about-scope .col-card-link a:visited,
.about-scope .col-card-link a:hover,
.about-scope .col-card-link a:active {
  color: var(--ab-amber) !important;
  text-decoration: none !important;
}

.about-scope .arrow-bridge {
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--ab-amber); padding-top: 48px;
}

/* ── SLIDES 3–5: PROJECTS ── */
.about-scope .s3-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 8px; text-align: center;
}
.about-scope .s3-sub {
  font-size: 14px; color: var(--ab-muted); margin-bottom: 44px; text-align: center;
}
.about-scope .stages {
  display: flex; gap: 20px; max-width: 880px; width: 100%;
  align-items: stretch;
}
.about-scope .stage {
  flex: 1;
  background: var(--ab-card);
  border: 1px solid var(--ab-border);
  border-radius: 12px;
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.about-scope .stage-num {
  font-size: 11px; letter-spacing: .15em; color: var(--ab-amber);
  text-transform: uppercase;
}
.about-scope .stage-name {
  font-family: 'Playfair Display', serif; font-size: 17px;
}
.about-scope .stage-desc { font-size: 13px; color: var(--ab-muted); line-height: 1.6; }
.about-scope .stage-math {
  margin-top: auto;
  font-size: 12px; color: var(--ab-amber);
  border-top: 1px solid var(--ab-border); padding-top: 10px;
}
.about-scope .site-hint {
  margin-top: 36px;
  background: rgba(245,166,35,.08);
  border: 1px solid rgba(245,166,35,.25);
  border-radius: 8px; padding: 12px 24px;
  font-size: 13px; color: var(--ab-amber); letter-spacing: .04em;
}
.about-scope .site-hint a,
.about-scope .site-hint a:link,
.about-scope .site-hint a:visited,
.about-scope .site-hint a:hover,
.about-scope .site-hint a:active {
  color: inherit;
  text-decoration: none;
}

/* ── SLIDE 6: PUBLICATIONS ── */
.about-scope .s4-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 10px; text-align: center;
}
.about-scope .s4-sub {
  font-size: 14px; color: var(--ab-muted); margin-bottom: 50px; text-align: center;
}
.about-scope .shelf {
  display: flex; gap: 32px; align-items: stretch;
  max-width: 760px; width: 100%;
}
.about-scope .book {
  flex: 1;
  border-radius: 6px 10px 10px 6px;
  padding: 32px 24px 28px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 4px 8px 32px rgba(0,0,0,.45);
  transition: transform .25s;
  cursor: default;
}
.about-scope .book:hover { transform: translateY(-6px); }
.about-scope .book-1 {
  background: linear-gradient(160deg, #1A3A6B 0%, #0D2248 100%);
  border-left: 6px solid #4A9EFF;
}
.about-scope .book-2 {
  background: linear-gradient(160deg, #2B1A00 0%, #3D2800 100%);
  border-left: 6px solid var(--ab-amber);
}
.about-scope .book-journal {
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  opacity: .65; line-height: 1.4;
}
.about-scope .book-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px; line-height: 1.4;
  flex: 1;
}
.about-scope .book-tag {
  font-size: 11px;
  border-radius: 4px;
  padding: 4px 10px;
  display: inline-block;
  width: fit-content;
  margin-top: auto;
}
.about-scope .book-1 .book-tag { background: rgba(74,158,255,.2); color: #8EC8FF; }
.about-scope .book-2 .book-tag { background: rgba(245,166,35,.2); color: var(--ab-amber); }
.about-scope .shelf-base {
  width: 100%; max-width: 760px;
  height: 4px; background: var(--ab-border);
  border-radius: 2px; margin-top: -2px;
}
.about-scope .s4-note {
  margin-top: 28px; font-size: 13px; color: var(--ab-muted);
  text-align: center; max-width: 560px; line-height: 1.7;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {

  /* ── ВАЖНО: скролл делаем на контейнере слайдов ── */
  .about-scope .deck {
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* ── Слайд не скроллится сам, только занимает экран ── */
  .about-scope .slide {
    padding: 40px 24px 120px;
    justify-content: flex-start;
    align-items: stretch;
  }

  /* ── Колонки → вертикально ── */
  .about-scope .two-col,
  .about-scope .three-col,
  .about-scope .stages,
  .about-scope .shelf {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  /* ── Карточки на всю ширину ── */
  .about-scope .col-card,
  .about-scope .stage,
  .about-scope .book {
    width: 100%;
  }

  /* ── Стрелка-мост (если используется) ── */
  .about-scope .arrow-bridge {
    padding-top: 0;
  }

  /* ── Навигация ниже, чтобы не перекрывала контент ── */
  .about-scope .nav {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
  }

}
