/* Художник — биография с портретом */

.about-wrap {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem)) clamp(1.2rem, 5vw, 3rem) clamp(3rem, 7vw, 5rem);
}

.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-hero .txt h1 {
  font-family: var(--serif), serif; font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1;
  letter-spacing: -0.015em; margin-bottom: 0.5rem;
}
.about-hero .role {
  font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 1.8rem;
}
.about-hero .txt p {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  margin-bottom: 1.1rem; color: var(--ink);
}
.about-hero .txt p:first-of-type { font-family: var(--serif), serif; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.45; color: var(--ink); }

.about-portrait {
  position: relative;
}
.about-portrait .frame {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
  box-shadow: 0 40px 80px -40px rgba(33,28,23,0.85);
  border-radius: 16px;
}
/* Анимированная подсказка прокрутки */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: max-content;
  margin: clamp(1.4rem, 4vw, 2.6rem) auto 0;
  color: var(--ink-soft);
  opacity: 0.72;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.scroll-cue:hover { opacity: 1; color: var(--terra); }
.scroll-cue-label {
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.scroll-cue-mouse {
  position: relative;
  width: 26px;
  height: 42px;
  border: 2px solid currentColor;
  border-radius: 14px;
  opacity: 0.8;
  animation: cueBob 2.4s var(--ease) infinite;
}
.scroll-cue-wheel {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--terra);
  animation: cueWheel 2.4s var(--ease) infinite;
}
.scroll-cue-chevrons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.scroll-cue-chevrons i {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0;
  animation: cueChevron 2.4s var(--ease) infinite;
}
.scroll-cue-chevrons i:nth-child(2) { animation-delay: 0.18s; }
@keyframes cueBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
@keyframes cueWheel {
  0% { opacity: 0; transform: translateY(0); }
  25% { opacity: 1; }
  60% { opacity: 1; transform: translateY(13px); }
  100% { opacity: 0; transform: translateY(15px); }
}
@keyframes cueChevron {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue-mouse, .scroll-cue-wheel, .scroll-cue-chevrons i { animation: none; }
  .scroll-cue-wheel { opacity: 1; top: 10px; }
  .scroll-cue-chevrons i { opacity: 0.7; }
}
.about-portrait img {
  width: 100%; height: 100%;
  /* Рамка всегда 4:5, снимок вписывается кадрированием — поэтому фото любого
     размера и пропорций не ломает вёрстку. Смещение вверх: на портретах лицо
     обычно в верхней трети, и при широком снимке оно не обрезается. */
  object-fit: cover;
  object-position: center 30%;
  aspect-ratio: 4 / 5;
  transition: transform 1.4s var(--ease);
}
.about-portrait:hover img { transform: scale(1.04); }
.about-portrait .frame::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,0.25);
  pointer-events: none;
}
.about-portrait .thread {
  position: absolute; left: -14px; top: 30px; bottom: 30px;
  width: 4px;
  background: repeating-linear-gradient(180deg, var(--terra) 0 8px, var(--gold) 8px 16px, var(--indigo) 16px 24px);
  opacity: 0.85;
}

/* Статистика */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: clamp(3rem, 7vw, 5rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.6rem, 4vw, 2.4rem) 0;
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--serif), serif; font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1;
  color: var(--terra);
}
.stat .lbl {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 0.5rem;
}

/* Контакты */
.contact-block { text-align: center; padding-bottom: clamp(2rem, 5vw, 3rem); }
.contact-block h2 {
  font-family: var(--serif), serif; font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1.2rem;
}
.contact-block p { font-size: 1rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
.contact-block a { color: var(--terra); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.contact-block a:hover { border-color: var(--terra); }
.contact-socials {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 1.2rem;
  margin: 1.2rem 0;
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.contact-socials a { color: var(--ink-soft); }
.contact-socials a:hover { color: var(--terra); }

@media (max-width: 860px) {
  .about-hero { grid-template-columns: 1fr; }
  .about-portrait { max-width: 420px; margin: 0 auto; order: -1; }
  .stats { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* Биография — расширенные секции */
.about-hero .txt .lead {
  font-family: var(--serif), serif;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.45; color: var(--ink);
}
.about-section {
  max-width: 60rem;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
}
.about-section > h2 {
  font-family: var(--serif), serif; font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.about-section > h2::before { content: ""; width: 28px; height: 2px; background: var(--terra); }

.regalia { list-style: none; display: grid; gap: 0.7rem; }
.regalia li {
  position: relative; padding-left: 1.4rem;
  font-size: clamp(0.98rem, 1.6vw, 1.08rem); color: var(--ink);
}
.regalia li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}

.timeline-bio, .honors { list-style: none; display: grid; gap: 1rem; }
.timeline-bio li, .honors li {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem;
  align-items: baseline;
  padding-bottom: 1rem; border-bottom: 1px solid var(--line);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}
.honors li { grid-template-columns: 5.5rem 1fr; }
.timeline-bio .yr, .honors .yr {
  font-family: var(--serif), serif; font-size: 1.3rem; font-weight: 500;
  color: var(--terra); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.honors-note {
  margin-top: 1.4rem; font-size: 0.98rem; color: var(--ink-soft); font-style: italic;
}

@media (max-width: 560px) {
  .timeline-bio li, .honors li { grid-template-columns: 1fr; gap: 0.2rem; }
  .timeline-bio .yr, .honors .yr { font-size: 1.05rem; }
}

/* Полная биография — текстовые секции и списки */
.about-text p {
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  line-height: 1.7; margin-bottom: 0.9rem; color: var(--ink);
}
.num-list { list-style: none; counter-reset: n; display: grid; gap: 1rem; }
.num-list li {
  counter-increment: n;
  position: relative; padding-left: 2.6rem;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem); line-height: 1.6;
  padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.num-list li::before {
  content: counter(n);
  position: absolute; left: 0; top: 0;
  font-family: var(--serif), serif; font-size: 1.3rem; font-weight: 500;
  color: var(--terra); min-width: 1.8rem;
}
.dash-list { list-style: none; display: grid; gap: 0.9rem; }
.dash-list li {
  position: relative; padding-left: 1.4rem;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem); line-height: 1.6;
  padding-bottom: 0.9rem; border-bottom: 1px solid var(--line);
}
.dash-list li::before {
  content: ""; position: absolute; left: 0; top: 0.7em;
  width: 10px; height: 2px; background: var(--gold);
}

/* ===== Блок о творчестве («кредо») — вместо сплошного текста ===== */
.about-credo { max-width: 64rem; }
.credo {
  position: relative;
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1.4rem, 4vw, 3rem);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--cream) 60%, transparent),
    color-mix(in srgb, var(--cream) 22%, transparent));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
/* тканая нить-акцент по левому краю */
/*.credo::before {*/
/*  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;*/
/*  background: repeating-linear-gradient(180deg,*/
/*    var(--terra) 0 10px, var(--gold) 10px 20px, var(--indigo) 20px 30px);*/
/*  opacity: 0.75;*/
/*}*/
.credo-lead {
  font-family: var(--serif), serif;
  font-size: clamp(1.12rem, 1.9vw, 1.42rem);
  line-height: 1.62;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.credo-lead em { font-style: italic; color: var(--terra); }
/* буквица у первого абзаца */
.credo-lead:first-child::first-letter {
  float: left;
  font-size: 3.5em; line-height: 0.78;
  padding: 0.06em 0.14em 0 0;
  color: var(--terra);
  font-weight: 500;
}
.credo-lead:last-of-type { margin-bottom: 0; }

.credo-thread {
  display: block;
  width: clamp(84px, 16%, 150px); height: 2px;
  margin: clamp(1.6rem, 4vw, 2.4rem) 0 clamp(1.2rem, 3vw, 1.8rem);
  background: repeating-linear-gradient(90deg,
    var(--gold) 0 9px, transparent 9px 15px);
  opacity: 0.85;
}

/* факты — в две колонки, чтобы не читалось «стеной» */
.credo-facts {
  columns: 2;
  column-gap: clamp(1.6rem, 4vw, 3rem);
  column-rule: 1px solid var(--line);
}
.credo-facts p {
  font-size: 0.95rem; line-height: 1.66;
  color: var(--ink-soft);
  break-inside: avoid;
}
.credo-facts p + p { margin-top: 0.9rem; }

@media (max-width: 720px) {
  .credo-facts { columns: 1; column-rule: none; }
  .credo-lead:first-child::first-letter { font-size: 3em; }
}

/* Выставки — сворачиваемые списки */
.exh-groups { display: grid; margin-top: 0.4rem; }
.exh-group { border-top: 1px solid var(--line); }
.exh-group:last-child { border-bottom: 1px solid var(--line); }
.exh-group > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem 0;
  font-family: var(--serif), serif; font-weight: 500;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--ink);
  transition: color 0.3s ease;
}
.exh-group > summary::-webkit-details-marker { display: none; }
.exh-group > summary:hover { color: var(--terra); }
.exh-group > summary .cnt {
  margin-left: auto;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); font-variant-numeric: tabular-nums;
}
.exh-group > summary .chev {
  flex: none; width: 9px; height: 9px;
  border-right: 2px solid var(--terra); border-bottom: 2px solid var(--terra);
  transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.exh-group[open] > summary .chev { transform: rotate(-135deg); }
.exh-group .dash-list { padding: 0.2rem 0 1.4rem; }
.exh-group .dash-list li:last-child { border-bottom: none; padding-bottom: 0; }
