/* ============================================================
   Валерий ВИМ — карточка-визитка
   Mobile-first · тёплая осенняя палитра · акварельный клён
   ============================================================ */

:root {
  --wine:        #47121e;
  --wine-deep:   #350d16;
  --wine-soft:   #5c1a29;
  --cream:       #f6eee1;
  --paper:       #fbf6ec;
  --amber:       #d9a441;
  --amber-soft:  #e8c987;
  --terracotta:  #c2663a;
  --terracotta-deep: #a34f2a;
  --ink:         #2e1c15;
  --ink-soft:    #6a5546;
  --line:        #e4d5bd;
  --radius:      18px;
  --shadow-soft: 0 10px 30px rgba(71, 18, 30, .10);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body:    "Manrope", "Segoe UI", sans-serif;
}

/* ---------- База ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* ---------- Доступность: skip-link и видимый фокус ---------- */

/* Skip-link: скрыт визуально, но доступен фокусу — первый Tab-стоп */
.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1200;
  padding: .55em 1.1em;
  border-radius: 10px;
  background: var(--wine);
  color: var(--cream);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); }

/* Видимый фокус-стиль на всех интерактивных элементах (WCAG 2.4.7) */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
/* На тёмных секциях фокус-рамка светлее */
.section--dark :where(a, button):focus-visible,
.cookie :where(a, button):focus-visible {
  outline-color: var(--amber-soft);
}

/* лёгкое бумажное зерно поверх всей страницы */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .8em 1.7em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.btn--sm { padding: .5em 1.2em; font-size: .85rem; }

.btn--primary {
  background: var(--amber);
  color: var(--wine-deep);
  box-shadow: 0 6px 18px rgba(217, 164, 65, .35);
}
.btn--primary:hover { background: #e5b355; transform: translateY(-2px); }

.btn--outline {
  border: 1px solid rgba(246, 238, 225, .45);
  color: var(--cream);
}
.btn--outline:hover { border-color: var(--amber-soft); color: var(--amber-soft); transform: translateY(-2px); }

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--wine);
  background: rgba(255, 255, 255, .6);
}
.btn--ghost:hover { border-color: var(--amber); color: var(--terracotta); }

/* ---------- Шапка ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .65rem 1rem;
  padding-top: calc(.65rem + env(safe-area-inset-top));
  background: rgba(251, 246, 236, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wine);
  text-decoration: none;
  white-space: nowrap;
}
.topbar__name em { font-style: italic; color: var(--terracotta-deep); }

.topbar__nav { display: none; gap: 1.4rem; }
.topbar__nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.topbar__nav a:hover { color: var(--terracotta); }

/* ---------- Герой ---------- */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(120% 90% at 20% 0%, #6b2433 0%, transparent 55%),
    radial-gradient(120% 120% at 85% 100%, #5a1b28 0%, transparent 60%),
    linear-gradient(160deg, var(--wine) 0%, var(--wine-deep) 100%);
}

.hero__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.8rem 1.25rem 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__art {
  width: 150px;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}

.hero__art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(217, 164, 65, .55);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, .4),
    inset 0 0 0 1px rgba(246, 238, 225, .12);
}

.hero__kicker {
  margin: 0 0 .6rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--amber-soft);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 13vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--cream);
}

.hero__title-accent {
  font-style: italic;
  font-weight: 500;
  color: var(--amber);
}

.hero__lede {
  margin: 1rem auto 0;
  max-width: 34ch;
  font-size: 1.02rem;
  font-weight: 300;
  color: rgba(246, 238, 225, .85);
}

/* чипы площадок — сразу под заголовком (переносятся строками) */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.4rem;
  max-width: 34rem;
}

.chip {
  white-space: nowrap;
  padding: .45em .95em;
  border-radius: 999px;
  border: 1px solid rgba(232, 201, 135, .4);
  background: rgba(246, 238, 225, .07);
  color: var(--cream);
  font-size: .84rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease;
}
.chip:hover, .chip:active { border-color: var(--amber); background: rgba(232, 201, 135, .16); }

.hero__note {
  margin: 1.1rem 0 0;
  font-size: .85rem;
  color: rgba(232, 201, 135, .9);
}
.hero__note em { font-family: var(--font-display); font-size: 1rem; }

/* ---------- Секции ---------- */

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
/* Дети секции — на всю ширину, центрируются контентом сами */
.section > * { width: 100%; }

.section--tint {
  max-width: none;
  background: linear-gradient(180deg, #f8f0e0 0%, var(--paper) 100%);
}
.section--tint > * { max-width: 1080px; margin-left: auto; margin-right: auto; }

.section--dark {
  max-width: none;
  background:
    radial-gradient(100% 100% at 50% 0%, var(--wine-soft) 0%, transparent 60%),
    linear-gradient(180deg, var(--wine-deep) 0%, var(--wine) 100%);
  color: var(--cream);
}

.section__head { text-align: center; margin-bottom: 2.4rem; }

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  font-weight: 700;
  color: var(--wine);
}
.section__title--light { color: var(--cream); }

.ornament {
  display: block;
  width: 64px;
  height: 1px;
  margin: 0 auto 1.1rem;
  background: linear-gradient(90deg, transparent, var(--amber) 30%, var(--amber) 70%, transparent);
  position: relative;
}
.ornament::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px; height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--amber);
}
.ornament--light { background: linear-gradient(90deg, transparent, var(--amber-soft) 30%, var(--amber-soft) 70%, transparent); }

/* ---------- О нём ---------- */

.about { max-width: 62ch; }
.about p { margin: 0 0 1.15rem; }
.about p:last-child { margin-bottom: 0; }

/* ---------- Альбомы ---------- */

.albums {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.album {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .2rem;
  min-height: 88px;
  padding: .9rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease;
}
.album:hover { transform: translateY(-3px); border-color: var(--amber); }

.album__name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--wine);
}
.album__meta {
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ---------- Песни ---------- */

.songs {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 62ch;
  display: grid;
  grid-template-columns: 1fr;
  gap: .55rem 1.6rem;
}

.song {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  padding: .45rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 1.02rem;
}
.song::before {
  content: "♪";
  color: var(--amber);
  font-size: .85rem;
}

/* ---------- Развилка: музыка / книги ---------- */

.fork {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 34rem;
  margin: 0 auto;
}

.fork__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: 1.7rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease;
}
.fork__card:hover { transform: translateY(-3px); border-color: var(--amber); }
.fork__card:hover .fork__icon { color: var(--terracotta); }

.fork__icon {
  display: inline-flex;
  color: var(--amber);
  margin-bottom: .35rem;
  transition: color .18s ease;
}
.fork__icon svg { width: 2rem; height: 2rem; }

.fork__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--wine);
}

.fork__hint { font-size: .88rem; color: var(--ink-soft); font-weight: 300; }

@media (min-width: 560px) {
  .fork { grid-template-columns: repeat(2, 1fr); max-width: 40rem; }
}

/* ---------- Книги ---------- */

.books__hint {
  text-align: center;
  margin: -1.2rem 0 1.8rem;
  color: var(--ink-soft);
  font-weight: 300;
}

.books {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.book {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
  padding: 1.3rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease;
}
.book:hover { transform: translateY(-3px); border-color: var(--amber); }

.book__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--wine);
}

.book__desc { margin: 0; font-size: .93rem; color: var(--ink-soft); }

.book__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
  margin-top: .7rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: .45em 1em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--wine);
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease;
}
.pill:hover { border-color: var(--amber); color: var(--terracotta); }

.pill--wide { border-color: var(--line); background: #fff; }

.books__more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  margin-top: 1.6rem;
}

/* ---------- Карточка-ссылка книги и страница книги ---------- */

/* карточка целиком — ссылка на /books/<slug>/ */
.book--link { text-decoration: none; }

.book__cover {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  margin: 0 0 .6rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--cream), #fff);
  overflow: hidden;
}

.book__cover img { width: 100%; height: 100%; object-fit: cover; }

/* заглушка-орнамент вместо обложки (пока ассета нет) */
.book__cover--stub { color: var(--amber); }
.book__cover--stub svg { width: 44px; height: 56px; opacity: .6; }
.book__cover--big { max-width: 260px; }
.book__cover--big.book__cover--stub svg { width: 64px; height: 84px; }

.book__go {
  margin-top: auto;
  padding-top: .5rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--terracotta-deep);
}
.book--link:hover .book__go { text-decoration: underline; }

/* хлебные крошки (каталог и страница книги) */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  padding: .9rem 1.2rem 0;
  font-size: .85rem;
  color: var(--ink-soft);
}
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--terracotta); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--wine); font-weight: 500; }

/* страница книги */
.book-page {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}
.book-page__cover { display: flex; justify-content: center; }
.book-page__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--wine);
}
.book-page__desc { margin: .4rem 0 0; color: var(--ink-soft); }
.book-page__back { margin: 1.2rem 0 0; }
.book__links--row {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 1.4rem;
}


/* ---------- Музыка: каталог релизов, страница альбома, плеер-фасад ---------- */

/* карточка релиза в каталоге /music */
.discography {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.2rem;
  margin-top: 1.6rem;
}
.album-card {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  text-decoration: none;
}
.album-card__cover {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--cream), #fff);
  overflow: hidden;
}
.album-card__cover--stub { color: var(--amber); }
.album-card__cover--stub svg { width: 56px; height: 56px; opacity: .6; }
.album-card__cover--big { max-width: 240px; }
.album-card__cover--big.album-card__cover--stub svg { width: 76px; height: 76px; }
.album-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wine);
}
.album-card__meta { font-size: .85rem; color: var(--ink-soft); }
.album-card__go { font-size: .85rem; font-weight: 600; color: var(--terracotta-deep); }
.album-card:hover .album-card__go { text-decoration: underline; }

/* карточка-ссылка альбома в секции главной */
.album--link { text-decoration: none; }
.album__go {
  margin-top: auto;
  padding-top: .5rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--terracotta-deep);
}
.album--link:hover .album__go { text-decoration: underline; }

/* страница альбома */
.album-page {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 46rem;
  margin: 0 auto;
}
.album-page__cover { display: flex; justify-content: center; }
.album-page__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--wine);
}
.album-page__meta { margin: .4rem 0 0; color: var(--ink-soft); }
.album-page__desc { margin: .8rem 0 0; color: var(--ink-soft); }
.album-page__tracks-title {
  margin: 1.2rem 0 .4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--wine);
}
.album-page__tracks { margin: 0; padding: 0; list-style: none; }
.album-page__tracks li { padding: .35rem 0; border-bottom: 1px solid var(--line); }
.album-page__track-num { color: var(--ink-soft); min-width: 1.6rem; display: inline-block; }
.album-page__players { margin-top: 1.4rem; display: grid; gap: 1rem; }
.album-page__back { margin: 1.2rem 0 0; }

/* плеер-фасад → iframe (music-pages) */
.player-embed {
  display: flex;
  align-items: center;
  gap: .9rem;
  width: 100%;
  padding: .9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(160deg, var(--cream), #fff);
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.player-embed__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--terracotta);
}
.player-embed__icon svg { width: 26px; height: 26px; }
.player-embed__text { display: flex; flex-direction: column; gap: .15rem; }
.player-embed__title { font-weight: 600; color: var(--wine); }
.player-embed__hint { font-size: .85rem; color: var(--ink-soft); }
.player-embed:hover .player-embed__title { color: var(--terracotta); }
.player-embed__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.player-embed__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.music__hint { color: var(--ink-soft); margin-top: .8rem; }


/* ---------- Площадки ---------- */

.listen__hint {
  text-align: center;
  margin: -1.2rem 0 1.8rem;
  font-weight: 300;
  color: rgba(246, 238, 225, .8);
}

.platforms {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
  max-width: 720px;
  margin: 0 auto;
}

.platform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid rgba(232, 201, 135, .3);
  background: rgba(246, 238, 225, .05);
  text-decoration: none;
  color: var(--cream);
  font-weight: 500;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.platform:hover {
  background: rgba(232, 201, 135, .14);
  border-color: var(--amber);
  transform: translateY(-2px);
}

.platform__arrow {
  font-size: 1.15rem;
  color: var(--amber);
  transition: transform .18s ease;
}
.platform:hover .platform__arrow { transform: translateX(4px); }

/* архивная ссылка — чуть тише */
.platform--muted .platform__name { color: rgba(246, 238, 225, .65); }
.platform--muted { border-style: dashed; }

/* ---------- Соцсети ---------- */

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin-top: 2.2rem;
}

.socials .btn { border: 1px solid rgba(232,201,135,.35); color: var(--cream); }
.socials .btn:hover { border-color: var(--amber); color: var(--amber-soft); }

/* ---------- Подвал ---------- */

.footer {
  text-align: center;
  padding: 2.6rem 1.25rem 3rem;
  padding-bottom: calc(3rem + env(safe-area-inset-bottom));
  background: var(--wine-deep);
  color: rgba(246, 238, 225, .65);
}
.footer__sign {
  margin: 0 0 .4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
}
.footer__sign em { font-style: italic; color: var(--amber); }
.footer__copy { margin: 0; font-size: .85rem; }

/* ---------- Куки ---------- */

.cookie {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(46, 28, 21, .25);
  font-size: .84rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.cookie[hidden] { display: none; }

.cookie__text { margin: 0; flex: 1 1 auto; min-width: 0; }
.cookie .btn { flex-shrink: 0; }

@media (min-width: 720px) {
  .cookie { left: auto; right: 2rem; max-width: 480px; }
}

/* ---------- Появление при прокрутке ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Планшет ≥ 720px
   ============================================================ */

@media (min-width: 720px) {

  .topbar { padding: .75rem 2rem; }
  .topbar__nav { display: flex; }

  .hero__inner { padding: 3rem 2rem 3.5rem; }
  .hero__art { width: 240px; margin-bottom: 1.6rem; }

  .albums { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem; }
  .album { flex: 1 1 260px; max-width: 340px; }
  .songs { grid-template-columns: repeat(2, 1fr); }
  .platforms { grid-template-columns: repeat(2, 1fr); }

  .books { grid-template-columns: repeat(2, 1fr); }
  .book-page {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 2.4rem;
  }
  .book-page__cover { flex: 0 0 200px; }
  .book__links--row { justify-content: flex-start; }

  .section { padding: 5rem 2rem; }
}

/* ============================================================
   Десктоп ≥ 1080px
   ============================================================ */

@media (min-width: 1080px) {

  .hero__inner {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 4rem;
    padding: 5rem 2rem 5.5rem;
  }
  .hero__art { width: 320px; margin-bottom: 0; }
  .hero__art img { border-radius: 999px 999px 24px 24px; /* мягкая арка */ }
  .hero__lede { margin-left: 0; }
  .chips { justify-content: flex-start; max-width: 30rem; }

  .album { flex: 1 1 260px; max-width: 340px; }
  .books { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
  .platforms { grid-template-columns: repeat(3, 1fr); }

  .section { padding: 5.5rem 2rem; }
  .about { margin: 0 auto; }
}

/* страница «Об авторе» (author-page) */
.author-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  max-width: 52rem;
  margin: 0 auto;
}
.author-page__photo img {
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(217, 164, 65, .55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
}
.author-page__info { text-align: center; max-width: 62ch; }
.author-page__kicker {
  margin: 0 0 .5rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}
.author-page__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--wine);
}
.author-page__name-accent { font-style: italic; font-weight: 500; color: var(--terracotta); }
.author-page__lede { margin: .9rem 0 0; color: var(--ink-soft); }
.author-page__block { margin-top: 1.6rem; }
.author-page__block-title {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--wine);
}
.author-page__paragraph { margin: 0 0 .9rem; color: var(--ink-soft); }
.author-page__paragraph:last-child { margin-bottom: 0; }
.author-page__info .chips { justify-content: center; margin-top: 1.6rem; }

/* Чипы на светлом фоне (страница автора): тёмный текст — AA-контраст */
.author-page__info .chip {
  color: var(--wine);
  border-color: rgba(71, 18, 30, .3);
  background: rgba(246, 238, 225, .5);
}
.author-page__info .chip:hover, .author-page__info .chip:active {
  border-color: var(--terracotta-deep);
  background: rgba(232, 201, 135, .25);
}
.author-page__sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin-top: 1.4rem;
}

@media (min-width: 900px) {
  .author-page { flex-direction: row; align-items: flex-start; text-align: left; }
  .author-page__info { text-align: left; }
  .author-page__info .chips { justify-content: flex-start; }
  .author-page__sections { justify-content: flex-start; }
}
