/* ИРИ-дека — добавочные стили поверх ../styles.css */
/* Базовые слайды, типографика и палитра наследуются из presentation/styles.css */

/* ─── Слайд 1: участник (прижатый к низу) ─── */
.slide--title { justify-content: space-between; }
.slide-title__foot {
  margin-top: auto;
  padding-top: 64px;
}
.slide-title__participant {
  font-size: 26px;
  font-weight: 600;
  color: rgba(247, 251, 253, 0.72);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

/* ─── Слайд 3: «Вариант исполнения» — выделение ─── */
.card--variant {
  border-left: 4px solid var(--color-blood);
  padding-left: 24px;
}
.card--variant dt {
  color: var(--color-blood);
}

/* ─── Слайд 4: дополнительная плашка-сноска внутри слоя ─── */
.layer__note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(247, 251, 253, 0.2);
  font-size: 20px;
  line-height: 1.45;
  color: rgba(247, 251, 253, 0.78);
}

/* ─── Слайд 6: Цели и Тематические линии ─── */
.goals-themes-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-content: start;
}
.goals__title,
.themes__title {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-blood);
  margin-bottom: 28px;
}
.goals__list {
  list-style: none;
  padding: 0;
}
.goals__list li {
  font-size: 26px;
  line-height: 1.45;
  padding: 14px 0 14px 28px;
  position: relative;
  border-top: 1px solid rgba(10, 13, 18, 0.08);
}
.goals__list li:first-child { border-top: 0; padding-top: 0; }
.goals__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 14px;
  height: 2px;
  background: var(--color-blood);
}
.goals__list li:first-child::before { top: 12px; }

.themes__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.themes__item {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.4fr;
  gap: 24px;
  padding: 22px 26px;
  background: rgba(200, 16, 46, 0.04);
  border-left: 4px solid var(--color-blood);
  align-items: baseline;
}
.themes__item--ghost {
  background: rgba(10, 13, 18, 0.03);
  border-left-color: rgba(10, 13, 18, 0.25);
  opacity: 0.85;
}
.themes__label {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-night);
  letter-spacing: -0.005em;
}
.themes__item--ghost .themes__label {
  color: var(--color-steel);
}
.themes__desc {
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-steel);
}

/* ─── Слайд 7: Визуал — лид + мудборд (без референсов) ─── */
.visual-grid {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 40px;
  height: 100%;
}
.visual-lead {
  font-size: 24px;
  line-height: 1.5;
  color: rgba(247, 251, 253, 0.85);
  max-width: 1280px;
}

/* ─── Слайд 8: только референсы (без мудборда), светлый фон ─── */
.refs-only {
  display: block;
}
.refs-only .refs-section {
  max-width: 1500px;
}
.refs-only .refs-list__group {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-blood);
  font-weight: 700;
  margin: 32px 0 18px;
}
.refs-only .refs-list__group:first-of-type { margin-top: 0; }
.refs-only .refs-list li {
  background: rgba(10, 13, 18, 0.035);
  border-left: 4px solid var(--color-blood);
  padding: 20px 28px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
  gap: 32px;
  align-items: baseline;
}
.refs-only .refs-list__name {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-night);
}
.refs-only .refs-list__why {
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-steel);
}

/* ─── Слайд 9: Бюджет ─── */
.budget-grid {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 32px;
  height: 100%;
}
.budget-lead {
  font-size: 24px;
  line-height: 1.45;
  color: var(--color-steel);
  max-width: 1500px;
}
.budget-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  row-gap: 4px;
}
.budget-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(10, 13, 18, 0.1);
  counter-increment: budget-row;
}
.budget-list { counter-reset: budget-row; }
.budget-item__name {
  font-size: 22px;
  line-height: 1.35;
  position: relative;
  padding-left: 42px;
}
.budget-item__name::before {
  content: counter(budget-row, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-blood);
  padding-top: 6px;
}
.budget-item__share {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 4px 14px;
  border-radius: 4px;
  background: var(--color-night);
  color: var(--color-ice);
  min-width: 84px;
  text-align: center;
}
.budget-item__share--tbd {
  background: rgba(10, 13, 18, 0.08);
  color: var(--color-muted);
  font-weight: 600;
}
.budget-note {
  font-size: 18px;
  color: var(--color-muted);
  text-align: right;
}

/* ─── Слайд 10: Календарь — горизонтальная таймлайн ─── */
.timeline-grid {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 28px;
  height: 100%;
}
.timeline-lead {
  font-size: 22px;
  line-height: 1.5;
  color: rgba(247, 251, 253, 0.82);
  max-width: 1500px;
}

/* Этапы договора ИРИ — надсегменты над квартальными карточками */
.contract-stages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contract-stage {
  padding: 20px 28px;
  background: rgba(247, 251, 253, 0.07);
  border-left: 4px solid rgba(247, 251, 253, 0.3);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.contract-stage__kicker {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(247, 251, 253, 0.55);
  margin: 0;
  white-space: nowrap;
}
.contract-stage__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: var(--color-ice);
}
.contract-stage__meta {
  font-size: 15px;
  font-style: italic;
  color: rgba(247, 251, 253, 0.6);
  margin: 0;
  text-align: right;
  white-space: nowrap;
}
.contract-stage--final {
  background: rgba(200, 16, 46, 0.12);
  border-left-color: var(--color-blood);
}
.contract-stage--final .contract-stage__kicker {
  color: var(--color-blood);
}

/* ─── Слайд 11: Ключевые члены команды ─── */
.team-members {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  margin-top: 4px;
}

/* Лидерская плашка слева (Руководитель — над сеткой остальных) */
.team-lead {
  padding: 24px 28px;
  background: rgba(200, 16, 46, 0.06);
  border-left: 4px solid var(--color-blood);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  align-items: start;
  margin: 4px 0 24px;
}
.team-lead__photo {
  width: 130px;
  height: 173px; /* 3×4 portrait, чуть крупнее остальных */
  background: rgba(10, 13, 18, 0.06);
  border: 1px dashed rgba(10, 13, 18, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  overflow: hidden;
}
.team-lead__photo--filled {
  background: none;
  border: none;
  padding: 0;
}
.team-lead__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-lead__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.team-lead__role {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-blood);
  margin: 0;
}
.team-lead__name {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--color-night);
}
.team-lead__bio {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-steel);
  margin: 0;
}
.team-lead__bio strong { color: var(--color-night); }

/* Лид-параграф в правой чёрной колонке (про опыт студии) */
.tech__lead {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(247, 251, 253, 0.78);
  margin: 4px 0 24px;
  padding-bottom: 22px;
  border-bottom: 1px dashed rgba(247, 251, 253, 0.18);
}
.tech__lead strong { color: var(--color-ice); }
.team-member {
  padding: 20px 24px;
  background: rgba(10, 13, 18, 0.04);
  border-left: 4px solid var(--color-blood);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: start;
}
.team-member__photo {
  width: 120px;
  height: 160px; /* 3×4 portrait */
  background: rgba(10, 13, 18, 0.06);
  border: 1px dashed rgba(10, 13, 18, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  overflow: hidden;
}
.team-member__photo--filled {
  background: none;
  border: none;
  padding: 0;
}
.team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-member__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.team-member__role {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-blood);
  margin: 0;
}
.team-member__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--color-night);
}
.team-member__bio {
  font-size: 15px;
  line-height: 1.45;
  color: var(--color-steel);
  margin: 0;
}
.team-member__bio strong { color: var(--color-night); }

/* Сноска про авансирование */
.timeline-note {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(247, 251, 253, 0.5);
  font-style: italic;
  text-align: center;
  max-width: 1300px;
  margin: 0 auto;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.timeline__stage {
  padding: 24px 24px 28px;
  background: rgba(247, 251, 253, 0.04);
  border-top: 3px solid rgba(247, 251, 253, 0.22);
  display: flex;
  flex-direction: column;
}
.timeline__quarter {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-blood);
  margin-bottom: 14px;
}
.timeline__title {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--color-ice);
}
.timeline__list {
  list-style: none;
  padding: 0;
}
.timeline__list li {
  font-size: 18px;
  line-height: 1.4;
  padding: 10px 0 10px 18px;
  position: relative;
  color: rgba(247, 251, 253, 0.85);
  border-top: 1px solid rgba(247, 251, 253, 0.1);
}
.timeline__list li:first-child { border-top: 0; padding-top: 0; }
.timeline__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 2px;
  background: rgba(247, 251, 253, 0.45);
}
.timeline__list li:first-child::before { top: 10px; }
.timeline__list strong { color: var(--color-ice); }

/* Финальный этап — акцент */
.timeline__stage--final {
  background: rgba(200, 16, 46, 0.08);
  border-top-color: var(--color-blood);
}
.timeline__stage--final .timeline__title { color: var(--color-blood); }

/* ─── Слайд 12: закрывающий ─── */
.slide--closing {
  justify-content: space-between;
}
.slide-closing__kicker {
  font-size: 22px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-blood);
  margin: 0;
}
.slide-closing__hero {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 1500px;
}
.slide-closing__anchor {
  font-size: 92px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--color-ice);
  margin: 0;
}
.slide-closing__anchor em {
  font-style: normal;
  color: var(--color-blood);
}
.slide-closing__support {
  font-size: 26px;
  font-weight: 300;
  line-height: 1.4;
  color: rgba(247, 251, 253, 0.72);
  max-width: 1200px;
  margin: 0;
}
.slide-closing__foot {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding-top: 48px;
  border-top: 1px dashed rgba(247, 251, 253, 0.22);
  align-items: end;
}
.slide-closing__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.slide-closing__contact-label {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 251, 253, 0.5);
  margin: 0 0 4px;
}
.slide-closing__contact-name {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-ice);
  margin: 0;
}
.slide-closing__contact-role {
  font-size: 18px;
  color: rgba(247, 251, 253, 0.68);
  margin: 0 0 10px;
}
.slide-closing__contact-line {
  font-size: 22px;
  color: var(--color-ice);
  font-variant-numeric: tabular-nums;
  margin: 2px 0;
}
.slide-closing__contact-line a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 251, 253, 0.3);
}
.slide-closing__meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(247, 251, 253, 0.5);
}
.slide-closing__meta-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
}
.slide-closing__meta-value {
  font-size: 22px;
  color: var(--color-ice);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  margin: 0;
}
