/* ================================================================
   css/pages/about.css — стили страницы «Обо мне»
   ================================================================ */


/* ── Hero: тёмный, фото + текст ── */

.about-hero {
  background: var(--c-bg-dark);
  color: var(--c-text-inv);
  padding-top: var(--sp-4);
  padding-bottom: var(--sp-8);
}

.about-hero-grid {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
}

@media (min-width: 768px) {
  .about-hero-grid {
    grid-template-columns: 5fr 7fr;
    gap: var(--sp-10);
  }
}

.about-hero__photo-wrap {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
  .about-hero__photo-wrap {
    max-width: 280px;
    margin-inline: auto;
  }
}

.about-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--w-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-inv-muted);
  margin-bottom: var(--sp-2);
  display: block;
}

.about-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: var(--w-bold);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-1);
}

.about-hero__tagline {
  font-size: var(--text-base);
  color: var(--c-text-inv-muted);
  margin-bottom: var(--sp-4);
}


/* ── Статистика ── */

.about-stats {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
  padding-block: var(--sp-4);
  border-block: 1px solid var(--c-border-dark);
}

.about-stat__val {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--w-bold);
  color: var(--c-text-inv);
  line-height: 1;
}

.about-stat__label {
  display: block;
  font-size: var(--text-xs);
  color: var(--c-text-inv-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}


/* ── CTA в hero ── */

.about-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.about-hero .btn--outline {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.about-hero .btn--outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}


/* ── Биография ── */

.about-bio {
  max-width: 720px;
  margin-inline: auto;
}

.about-bio p {
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-3);
}

.about-bio p:last-child {
  margin-bottom: 0;
}


/* ── Подход к работе ── */

.about-approach-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .about-approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-approach-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-approach-card {
  padding: var(--sp-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-bg);
}

.about-approach-card__icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: var(--sp-2);
  display: block;
}

.about-approach-card__title {
  font-weight: var(--w-semibold);
  font-size: var(--text-base);
  color: var(--c-text);
  margin-bottom: var(--sp-1);
}

.about-approach-card__text {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: var(--lh-relaxed);
}


/* ── Стили татуировок ── */

.about-styles-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 768px) {
  .about-styles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-style-card {
  padding: var(--sp-3) var(--sp-2);
  background: var(--c-bg-dark-3);
  border-radius: var(--r-lg);
  color: var(--c-text-inv);
}

.about-style-card__num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: var(--w-regular);
  color: rgba(255,255,255,0.2);
  line-height: 1;
  margin-bottom: var(--sp-2);
  user-select: none;
}

.about-style-card__title {
  font-weight: var(--w-semibold);
  font-size: var(--text-base);
  margin-bottom: var(--sp-1);
}

.about-style-card__text {
  font-size: var(--text-sm);
  color: var(--c-text-inv-muted);
  line-height: var(--lh-relaxed);
}


/* ── CTA-секция ── */

.about-cta-inner {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}

.about-cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: var(--w-bold);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-2);
}

.about-cta-inner p {
  font-size: var(--text-base);
  color: var(--c-text-inv-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-4);
}

.about-cta-inner .about-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
}

.about-cta-inner .btn--outline {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.about-cta-inner .btn--outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}


/* ── Лонгрид «История» ── */

/* Мини-таймлайн */
.story-timeline {
  max-width: 720px;
  margin: 0 auto 52px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story-timeline__item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.story-timeline__marker {
  color: var(--c-border);
  flex-shrink: 0;
}

/* Основной блок лонгрида */
.story-longread {
  max-width: 720px;
  margin-inline: auto;
}

.story-longread p {
  font-size: 1.125rem;
  line-height: 1.72;
  color: var(--c-text-muted);
  margin-bottom: 1.4em;
}

/* Drop cap */
.story-lead::first-letter {
  float: left;
  font-family: var(--font-heading);
  font-size: 4.25em;
  line-height: 0.82;
  font-weight: var(--w-bold);
  color: var(--c-text);
  margin-right: 0.1em;
  margin-top: 0.04em;
}

/* Заголовки разделов */
.story-chapter__title {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: var(--w-bold);
  line-height: var(--lh-tight);
  color: var(--c-text);
  margin-top: 3rem;
  margin-bottom: 1.125rem;
  clear: both;
}

/* Цитата-плашка */
.story-quote {
  border-left: 3px solid var(--c-text);
  padding: 0.125rem 0 0.125rem 1.5rem;
  margin: 2.5rem 0;
  clear: both;
}

.story-quote__text {
  font-size: clamp(1.125rem, 2.5vw, 1.625rem);
  font-style: italic;
  color: var(--c-text);
  line-height: 1.4;
  margin-bottom: 0.625rem;
}

.story-quote__footer {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  font-style: normal;
}

/* Фото */
.story-photo { margin: 0; }

/* Breakout: шире колонки */
.story-photo--breakout {
  width: calc(100% + 280px);
  max-width: 1100px;
  margin-left: -140px;
  margin-right: -140px;
  margin-top: 3rem;
  margin-bottom: 3rem;
  clear: both;
}

/* Float right */
.story-photo--float-right {
  float: right;
  width: 300px;
  margin: 0.25rem 0 1.25rem 1.75rem;
  shape-outside: margin-box;
}

/* Float left */
.story-photo--float-left {
  float: left;
  width: 300px;
  margin: 0.25rem 1.75rem 1.25rem 0;
  shape-outside: margin-box;
}

.story-photo__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.story-photo--breakout .story-photo__img {
  max-height: 62vh;
  object-fit: cover;
  object-position: center center;
}

/* Portrait: центрированное вертикальное фото */
.story-photo--portrait {
  max-width: 440px;
  margin: 3rem auto;
  clear: both;
}

.story-photo--portrait .story-photo__img {
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
}

.story-photo__caption {
  display: block;
  font-style: italic;
  font-size: 0.875rem;
  color: var(--c-text-muted);
  text-align: center;
  margin-top: 9px;
  line-height: 1.4;
}

/* Clearfix */
.story-clearfix::after {
  content: '';
  display: table;
  clear: both;
}

/* CTA-блок */
.story-cta {
  margin-top: 3.5rem;
  padding: 2.75rem 2.5rem;
  background: var(--c-bg-alt);
  border-radius: var(--r-lg);
  text-align: center;
  clear: both;
}

.story-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: var(--w-bold);
  line-height: var(--lh-tight);
  color: var(--c-text);
  margin-bottom: 0.75rem;
}

.story-cta__text {
  font-size: var(--text-base);
  color: var(--c-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: 1.5rem;
}

.story-cta__btn {
  display: inline-block;
  background: #0077FF;
  color: #ffffff;
  padding: 14px 36px;
  border-radius: var(--r-md);
  font-size: var(--text-base);
  font-weight: var(--w-semibold);
  font-family: var(--font-body);
  text-decoration: none;
  transition: background var(--ease);
}

.story-cta__btn:hover {
  background: #0060dd;
}


/* ── Адаптив лонгрида ── */

@media (max-width: 1023px) {
  .story-photo--breakout {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 767px) {
  .story-timeline {
    margin-bottom: 36px;
  }

  .story-longread p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .story-lead::first-letter {
    font-size: 3.25em;
    line-height: 0.85;
  }

  .story-chapter__title {
    font-size: 1.125rem;
    margin-top: 2rem;
    margin-bottom: 0.875rem;
  }

  .story-quote {
    margin: 1.75rem 0;
    padding-left: 1.125rem;
  }

  .story-quote__text {
    font-size: 1.0625rem;
  }

  .story-photo--float-right,
  .story-photo--float-left {
    float: none;
    width: 100%;
    margin: 1.5rem 0;
    shape-outside: none;
  }

  .story-photo--breakout .story-photo__img {
    max-height: 55vh;
  }

  .story-cta {
    padding: 2rem 1.25rem;
    margin-top: 2.5rem;
  }
}
