/* =========================
   BEDASÉ 0.1 — базовые стили
   ========================= */

:root {
  --bg: #15171b;
  --bg-soft: #1d2025;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-border: rgba(255, 255, 255, 0.10);

  --text: #ede9df;
  --muted: #aaa8aa;

  --violet: #ad8ae0;
  --blue: #83a7e6;
  --mint: #7fcbbb;
  --warm: #d8c7aa;

  --max-width: 1180px;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 5%, rgba(92, 76, 124, 0.12), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(21, 23, 27, 0.78);
  backdrop-filter: blur(16px);
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.brand-mini__mark {
  color: var(--warm);
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 90px 24px 72px;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  text-align: center;
}

.hero-symbol {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
  color: var(--warm);
  font-size: 4rem;
  cursor: pointer;
  transition:
    transform 400ms ease,
    color 400ms ease,
    box-shadow 400ms ease;
}

.hero-symbol:hover {
  transform: scale(1.045);
  color: #d9c7ff;
  box-shadow:
    0 0 35px rgba(173, 138, 224, 0.20),
    0 0 80px rgba(131, 167, 230, 0.11);
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(4rem, 11vw, 8rem);
  letter-spacing: -0.045em;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__tagline {
  margin: 2px 0 58px;
  color: #c9b6e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2.3vw, 1.45rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__mist {
  position: absolute;
  width: 620px;
  height: 380px;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.16;
  transition:
    opacity 700ms ease,
    transform 1200ms ease;
  pointer-events: none;
}

.hero__mist--violet {
  left: 8%;
  top: 22%;
  background: var(--violet);
}

.hero__mist--blue {
  right: 12%;
  top: 16%;
  background: var(--blue);
}

.hero__mist--mint {
  right: 25%;
  bottom: 12%;
  width: 370px;
  height: 260px;
  background: var(--mint);
  opacity: 0.08;
}

.hero.is-awake .hero__mist {
  opacity: 0.30;
}

.hero.is-awake .hero__mist--violet {
  transform: translate(55px, -20px) scale(1.18);
}

.hero.is-awake .hero__mist--blue {
  transform: translate(-55px, 15px) scale(1.2);
}

.hero.is-awake .hero__mist--mint {
  transform: translate(-15px, -25px) scale(1.15);
}

.directions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.direction {
  position: relative;
  padding: 30px 18px;
  text-decoration: none;
}

.direction + .direction {
  border-left: 1px solid rgba(255,255,255,0.08);
}

.direction::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  transform: translateX(-50%);
  transition: width 250ms ease;
}

.direction:hover::after {
  width: 62%;
}

.direction--literature::after {
  background: var(--violet);
}

.direction--music::after {
  background: var(--blue);
}

.direction--visual::after {
  background: var(--mint);
}

.direction__icon {
  display: block;
  margin-bottom: 10px;
  font-size: 2rem;
}

.direction--literature .direction__icon {
  color: var(--violet);
}

.direction--music .direction__icon {
  color: var(--blue);
}

.direction--visual .direction__icon {
  color: var(--mint);
}

.direction strong,
.direction small {
  display: block;
}

.direction strong {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.direction small {
  margin-top: 5px;
  color: var(--muted);
}

/* Sections */

.section {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 105px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
}

/* World */

.world-card,
.media-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
}

.world-card__image {
  min-height: 520px;
  overflow: hidden;
  background: #08090b;
}

.world-card__image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.77;
}

.world-card__content,
.media-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 74px);
}

.world-card__content h3,
.media-card__content h3 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 400;
}

.world-card__content p,
.media-card__content p {
  color: var(--muted);
}

.card-kicker {
  color: #c9b6e8 !important;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.world-card__work {
  display: grid;
  gap: 2px;
  margin: 20px 0 32px;
}

.world-card__work span {
  color: var(--muted);
  font-size: 0.8rem;
}

.button {
  align-self: flex-start;
  display: inline-flex;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  border-color: rgba(173,138,224,0.55);
  background: rgba(173,138,224,0.08);
}

/* Literature */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
}

.work-card__cover {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.work-card__cover img {
  height: 100%;
  object-fit: cover;
}

.work-card__cover--placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(173,138,224,0.18), transparent 26%),
    linear-gradient(135deg, #1b1c21, #0f1013);
  color: rgba(255,255,255,0.65);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  letter-spacing: 0.12em;
}

.work-card__cover--kami {
  background:
    radial-gradient(circle at 70% 24%, rgba(127,203,187,0.16), transparent 25%),
    linear-gradient(135deg, #16191b, #0f1013);
}

.work-card__body {
  padding: 24px;
}

.work-card__body h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.work-card__body > p:not(.card-kicker) {
  color: var(--muted);
}

.work-card__body a {
  text-decoration: none;
}

.work-card__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Music */

.media-card__cover {
  min-height: 500px;
}

.media-card__cover--music {
  display: grid;
  place-content: center;
  text-align: center;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 48% 48%, rgba(173,138,224,0.30), transparent 30%),
    radial-gradient(circle at 65% 35%, rgba(131,167,230,0.24), transparent 26%),
    #0d0e12;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 6vw, 4.5rem);
}

.media-card__cover small {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Visual */

.visual-panel,
.about-box {
  padding: clamp(32px, 6vw, 70px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
}

.visual-panel p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
}

.platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.platform-link {
  display: inline-flex;
  padding: 11px 16px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.platform-link:hover {
  border-color: rgba(127,203,187,0.5);
  background: rgba(127,203,187,0.08);
}

.platform-link.is-muted {
  color: var(--muted);
}

/* About */

.section--about {
  padding-bottom: 45px;
}

.about-box h2 {
  max-width: 880px;
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
}

.about-box > p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section--links {
  padding-top: 45px;
}

.platform-links--wide {
  gap: 14px;
}

/* Footer */

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 70px 24px 55px;
  border-top: 1px solid rgba(255,255,255,0.07);
  color: var(--muted);
  text-align: center;
}

.site-footer__mark {
  color: var(--warm);
  font-size: 2rem;
}

.site-footer strong {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

/* Mobile */

@media (max-width: 800px) {
  .site-header {
    min-height: 64px;
  }

  .menu-toggle {
    display: block;
    padding: 8px 12px;
    border: 1px solid var(--panel-border);
    border-radius: 9px;
    background: transparent;
    color: var(--text);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    background: rgba(21,23,27,0.97);
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 720px;
  }

  .hero-symbol {
    width: 96px;
    height: 96px;
    font-size: 3rem;
  }

  .directions {
    grid-template-columns: 1fr;
  }

  .direction + .direction {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .section {
    width: min(100% - 28px, var(--max-width));
    padding: 76px 0;
  }

  .world-card,
  .media-card {
    grid-template-columns: 1fr;
  }

  .world-card__image {
    min-height: 420px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .media-card__cover {
    min-height: auto;
  }
}


/* Actual Bedasë brand mark */
.brand-mark-svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 5.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mini__mark {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 32px;
}

.hero-symbol .brand-mark-svg {
  width: 58px;
  height: 76px;
}

.site-footer__mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 42px;
}

/* Sangrion gets its own visual identity, not the Blood of Ages cover */
.world-card__image--sangrion {
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 40%, rgba(173,138,224,0.17), transparent 25%),
    radial-gradient(circle at 72% 30%, rgba(131,167,230,0.14), transparent 28%),
    radial-gradient(circle at 55% 72%, rgba(127,203,187,0.08), transparent 22%),
    linear-gradient(145deg, #0b0c10, #171923 60%, #0b0c10);
}

.world-card__image--sangrion::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%;
}

.sangrion-placeholder {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.16em;
}

.sangrion-placeholder span {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.sangrion-placeholder small {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* Bedasë 0.4 — утверждённый знак */
.brand-mark-svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Реальная обложка музыкального релиза */
.media-card__cover--image {
  overflow: hidden;
  background: #090a0c;
}

.media-card__cover--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Bedasë 0.5 — пропорции карточки Сангриона
   Внешнюю ширину секции не меняем. */
@media (min-width: 901px) {
  .world-card {
    grid-template-columns: minmax(0, 1.7fr) minmax(360px, 1fr);
    min-height: 0;
    align-items: stretch;
  }

  .world-card__image {
    min-height: 0;
    aspect-ratio: 16 / 9;
    height: auto;
    align-self: center;
  }

  .world-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
  }

  .world-card__content {
    padding-top: clamp(32px, 4vw, 64px);
    padding-bottom: clamp(32px, 4vw, 64px);
  }
}

/* На мобильном — панорама сверху, текст снизу. */
@media (max-width: 900px) {
  .world-card {
    grid-template-columns: 1fr;
  }

  .world-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .world-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 48% 50%;
  }
}


/* Bedasë 0.6 — лёгкая рамка вокруг визуала Сангриона + адаптив знака */

/* Десктоп: немного уменьшаем долю изображения, чтобы рамка контейнера снова читалась легче */
@media (min-width: 901px) {
  .world-card {
    grid-template-columns: minmax(0, 1.52fr) minmax(360px, 1fr);
  }

  .world-card__image {
    margin: 14px 0 14px 14px;
    border-radius: calc(var(--radius) - 6px);
    overflow: hidden;
  }
}

/* Планшет и мобильный: оставляем воздух внутри общей карточки */
@media (max-width: 900px) {
  .world-card__image {
    width: auto;
    margin: 12px 12px 0;
    border-radius: calc(var(--radius) - 6px);
    overflow: hidden;
  }
}

/* Адаптив фирменного знака.
   SVG не меняем, регулируем только размеры контейнеров. */
.brand-mini__mark {
  width: 24px;
  height: 34px;
}

.hero-symbol {
  width: clamp(86px, 8vw, 118px);
  height: clamp(86px, 8vw, 118px);
}

.hero-symbol .brand-mark-svg {
  width: 58%;
  height: 72%;
}

.site-footer__mark {
  width: 34px;
  height: 46px;
}

@media (max-width: 900px) {
  .brand-mini__mark {
    width: 21px;
    height: 30px;
  }

  .hero-symbol {
    width: 88px;
    height: 88px;
  }

  .hero-symbol .brand-mark-svg {
    width: 56%;
    height: 70%;
  }

  .site-footer__mark {
    width: 30px;
    height: 41px;
  }
}

@media (max-width: 520px) {
  .brand-mini__mark {
    width: 19px;
    height: 27px;
  }

  .hero-symbol {
    width: 78px;
    height: 78px;
  }

  .hero-symbol .brand-mark-svg {
    width: 55%;
    height: 68%;
  }

  .site-footer__mark {
    width: 27px;
    height: 37px;
  }
}


/* Bedasë 0.7 — стабилизация фирменного знака */
:root {
  --brand-mark: #d8c7aa;
  --brand-mark-hover: #c8b6ee;
}

.brand-mini__mark,
.hero-symbol,
.site-footer__mark {
  color: var(--brand-mark);
}

.brand-mark-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-mini__mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 40px;
  flex: 0 0 26px;
}

.hero-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(96px, 7vw, 118px);
  height: clamp(96px, 7vw, 118px);
  padding: 24px;
  color: var(--brand-mark);
}

.hero-symbol .brand-mark-svg {
  width: 100%;
  height: 100%;
}

.hero-symbol:hover {
  color: var(--brand-mark-hover);
}

.site-footer__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 50px;
}

@media (max-width: 900px) {
  .brand-mini__mark {
    width: 23px;
    height: 34px;
    flex-basis: 23px;
  }

  .hero-symbol {
    width: 94px;
    height: 94px;
    padding: 23px;
  }

  .site-footer__mark {
    width: 30px;
    height: 44px;
  }
}

@media (max-width: 520px) {
  .brand-mini__mark {
    width: 21px;
    height: 31px;
    flex-basis: 21px;
  }

  .hero-symbol {
    width: 88px;
    height: 88px;
    padding: 22px;
  }

  .site-footer__mark {
    width: 28px;
    height: 41px;
  }
}

/* Bedasë 0.7 — немного облегчаем карточку Сангриона,
   не меняя панорамный формат изображения и общую ширину блока */
@media (min-width: 901px) {
  .world-card {
    grid-template-columns: minmax(0, 1.42fr) minmax(360px, 1fr);
  }

  .world-card__image {
    margin: 18px 0 18px 18px;
    aspect-ratio: 16 / 9;
  }

  .world-card__content {
    padding-left: clamp(34px, 4.2vw, 58px);
    padding-right: clamp(34px, 4.2vw, 58px);
  }
}


/* Bedasë 0.8 — центрируем знак Hero и возвращаем градиентную дымку */

.hero {
  background:
    radial-gradient(ellipse at 28% 48%, rgba(128, 84, 158, 0.20) 0%, rgba(128, 84, 158, 0.08) 26%, transparent 48%),
    radial-gradient(ellipse at 73% 43%, rgba(74, 132, 174, 0.22) 0%, rgba(74, 132, 174, 0.08) 28%, transparent 50%),
    radial-gradient(ellipse at 62% 62%, rgba(94, 164, 154, 0.07) 0%, transparent 38%),
    linear-gradient(180deg, #191a21 0%, #1d1e27 48%, #17191e 100%);
}

.hero-symbol {
  margin: 0 auto 20px;
}

/* Дымка остаётся отдельным живым слоем поверх градиента */
.hero__mist {
  opacity: 0.13;
  filter: blur(110px);
}

.hero__mist--violet {
  left: 7%;
  top: 24%;
  width: 560px;
  height: 320px;
}

.hero__mist--blue {
  right: 8%;
  top: 18%;
  width: 600px;
  height: 340px;
}

.hero__mist--mint {
  right: 29%;
  bottom: 9%;
  width: 340px;
  height: 220px;
  opacity: 0.055;
}

.hero.is-awake .hero__mist {
  opacity: 0.25;
}

/* На мобильном дымка компактнее и центр знака сохраняется */
@media (max-width: 900px) {
  .hero {
    background:
      radial-gradient(ellipse at 24% 43%, rgba(128, 84, 158, 0.18) 0%, transparent 48%),
      radial-gradient(ellipse at 78% 40%, rgba(74, 132, 174, 0.18) 0%, transparent 50%),
      linear-gradient(180deg, #191a21 0%, #1d1e27 52%, #17191e 100%);
  }

  .hero-symbol {
    margin: 0 auto 18px;
  }

  .hero__mist--violet {
    left: -22%;
    top: 22%;
    width: 460px;
    height: 280px;
  }

  .hero__mist--blue {
    right: -24%;
    top: 19%;
    width: 480px;
    height: 290px;
  }
}


/* Bedasë 0.9 — более тонкий и острый знак */
.brand-mark-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-mark-svg path {
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.brand-mark__outer {
  stroke-width: 5.2;
}

.brand-mark__inner {
  stroke-width: 4.8;
}

.brand-mark__core {
  stroke-width: 4.4;
}

/* Очень медленная внутренняя жизнь дымки */
@keyframes mist-drift-violet {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  35%      { transform: translate3d(34px, -12px, 0) scale(1.06); }
  70%      { transform: translate3d(-18px, 16px, 0) scale(0.98); }
}

@keyframes mist-drift-blue {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  40%      { transform: translate3d(-38px, 14px, 0) scale(1.05); }
  75%      { transform: translate3d(16px, -10px, 0) scale(1.01); }
}

@keyframes mist-drift-mint {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-18px, -12px, 0) scale(1.05); }
}

.hero__mist--violet {
  animation: mist-drift-violet 28s ease-in-out infinite;
}

.hero__mist--blue {
  animation: mist-drift-blue 34s ease-in-out infinite;
}

.hero__mist--mint {
  animation: mist-drift-mint 31s ease-in-out infinite;
}

/* При наведении мир чуть сильнее "просыпается",
   но базовая медленная анимация остаётся */
.hero.is-awake .hero__mist--violet {
  opacity: 0.27;
}

.hero.is-awake .hero__mist--blue {
  opacity: 0.28;
}

.hero.is-awake .hero__mist--mint {
  opacity: 0.11;
}

@media (prefers-reduced-motion: reduce) {
  .hero__mist {
    animation: none !important;
  }
}


/* Bedasë 1.0 — финальная корректировка Hero-знака */

/* Больше пространства под знак: круг крупнее, но сам знак тоньше */
.hero-symbol {
  width: clamp(126px, 9vw, 154px);
  height: clamp(126px, 9vw, 154px);
  padding: clamp(28px, 2vw, 34px);
  margin: 0 auto 34px;
  border-color: rgba(255,255,255,0.11);
}

/* Между символом и подписью теперь есть реальный воздух */
.hero .eyebrow {
  margin-top: 0;
  margin-bottom: 18px;
}

/* Тонкий, изящный контур с острыми окончаниями */
.brand-mark-svg path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: miter;
  stroke-miterlimit: 8;
  vector-effect: non-scaling-stroke;
}

.brand-mark__outer {
  stroke-width: 2.35;
}

.brand-mark__inner {
  stroke-width: 2.1;
}

.brand-mark__core {
  stroke-width: 1.9;
}

/* Hero: знак остаётся тёплым и лёгким */
.hero-symbol {
  color: #ddccb0;
}

.hero-symbol:hover {
  color: #c7b5eb;
}

/* Шапка и футер — ещё тоньше визуально за счёт меньшего контейнера */
.brand-mini__mark {
  width: 22px;
  height: 38px;
  flex-basis: 22px;
}

.site-footer__mark {
  width: 29px;
  height: 47px;
}

/* Мобильный Hero: сохраняем крупный круг и безопасный зазор до текста */
@media (max-width: 900px) {
  .hero-symbol {
    width: 118px;
    height: 118px;
    padding: 27px;
    margin-bottom: 30px;
  }

  .hero .eyebrow {
    margin-bottom: 16px;
  }

  .brand-mini__mark {
    width: 20px;
    height: 34px;
    flex-basis: 20px;
  }

  .site-footer__mark {
    width: 27px;
    height: 43px;
  }
}

@media (max-width: 520px) {
  .hero-symbol {
    width: 108px;
    height: 108px;
    padding: 25px;
    margin-bottom: 28px;
  }
}

/* Дымка остаётся медленной и мягкой */
.hero__mist {
  will-change: transform, opacity;
}


/* Bedasë 1.1 — возвращён ТОЧНЫЙ знак из bedase-mark.svg.
   Форму больше не меняем CSS-линиями. */
.brand-mark-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: #ddccb0;
}

.brand-mark-svg path {
  fill: currentColor !important;
  stroke: none !important;
}

/* Hero: сам знак помещаем внутрь круга, а не растягиваем до его границ */
.hero-symbol {
  width: clamp(132px, 9vw, 156px);
  height: clamp(132px, 9vw, 156px);
  padding: 0;
  margin: 0 auto 38px;
  display: grid;
  place-items: center;
}

.hero-symbol .brand-mark-svg {
  width: 58%;
  height: 76%;
}

/* Подпись гарантированно живёт отдельно и ниже знака */
.hero .eyebrow {
  position: relative;
  z-index: 2;
  margin-top: 0;
  margin-bottom: 18px;
}

/* Шапка и footer используют ту же геометрию, только другой масштаб */
.brand-mini__mark {
  width: 26px;
  height: 42px;
  flex: 0 0 26px;
}

.brand-mini__mark .brand-mark-svg,
.site-footer__mark .brand-mark-svg {
  width: 100%;
  height: 100%;
}

.site-footer__mark {
  width: 30px;
  height: 48px;
}

@media (max-width: 900px) {
  .hero-symbol {
    width: 120px;
    height: 120px;
    margin-bottom: 32px;
  }

  .hero-symbol .brand-mark-svg {
    width: 56%;
    height: 74%;
  }

  .brand-mini__mark {
    width: 23px;
    height: 37px;
    flex-basis: 23px;
  }
}

@media (max-width: 520px) {
  .hero-symbol {
    width: 110px;
    height: 110px;
    margin-bottom: 30px;
  }

  .hero-symbol .brand-mark-svg {
    width: 55%;
    height: 73%;
  }
}


/* Bedasë 1.2 — цветовой профиль Hero по утверждённому референсу */

/* Сам Hero становится глубже и темнее, а цвет появляется слоями */
.hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 18% 48%, rgba(126, 73, 158, 0.26) 0%, rgba(126, 73, 158, 0.11) 28%, transparent 54%),
    radial-gradient(ellipse at 82% 43%, rgba(62, 112, 165, 0.28) 0%, rgba(62, 112, 165, 0.11) 30%, transparent 56%),
    radial-gradient(ellipse at 67% 73%, rgba(79, 148, 139, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #11141b 0%, #171925 42%, #141821 72%, #101318 100%);
}

/* Тонкая зернистость без отдельной картинки */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: soft-light;
  background-image:
    repeating-radial-gradient(
      circle at 0 0,
      rgba(255,255,255,0.11) 0,
      rgba(255,255,255,0.11) 0.7px,
      transparent 0.8px,
      transparent 2.1px
    );
  background-size: 4px 4px;
}

/* Контент всегда выше дымки и зерна */
.hero__content {
  position: relative;
  z-index: 4;
}

/* Цветная дымка — уже заметная, но всё ещё фоновая */
.hero__mist {
  z-index: 2;
  border-radius: 50%;
  filter: blur(105px);
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero__mist--violet {
  left: -6%;
  top: 20%;
  width: 690px;
  height: 390px;
  background:
    radial-gradient(ellipse at 55% 50%,
      rgba(159, 92, 204, 0.48) 0%,
      rgba(115, 74, 159, 0.28) 36%,
      rgba(77, 52, 116, 0.10) 62%,
      transparent 78%);
  opacity: 0.30;
}

.hero__mist--blue {
  right: -5%;
  top: 17%;
  width: 720px;
  height: 410px;
  background:
    radial-gradient(ellipse at 45% 50%,
      rgba(74, 149, 205, 0.43) 0%,
      rgba(57, 112, 169, 0.26) 38%,
      rgba(38, 76, 122, 0.10) 64%,
      transparent 80%);
  opacity: 0.29;
}

.hero__mist--mint {
  right: 20%;
  bottom: 6%;
  width: 390px;
  height: 240px;
  background:
    radial-gradient(ellipse at center,
      rgba(88, 170, 157, 0.23) 0%,
      rgba(73, 132, 125, 0.11) 42%,
      transparent 74%);
  opacity: 0.12;
}

/* Движение — медленное перекатывание внутри фона */
@keyframes mist-violet-roll {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  30%      { transform: translate3d(38px,-12px,0) scale(1.05); }
  62%      { transform: translate3d(8px,18px,0) scale(1.02); }
  82%      { transform: translate3d(-24px,5px,0) scale(0.99); }
}

@keyframes mist-blue-roll {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  34%      { transform: translate3d(-42px,12px,0) scale(1.04); }
  66%      { transform: translate3d(-8px,-16px,0) scale(1.01); }
  84%      { transform: translate3d(24px,7px,0) scale(0.99); }
}

@keyframes mist-mint-roll {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50%      { transform: translate3d(-22px,-12px,0) scale(1.04); }
}

.hero__mist--violet {
  animation: mist-violet-roll 30s ease-in-out infinite;
}

.hero__mist--blue {
  animation: mist-blue-roll 36s ease-in-out infinite;
}

.hero__mist--mint {
  animation: mist-mint-roll 34s ease-in-out infinite;
}

/* При наведении на знак дымка "отзывается" чуть сильнее */
.hero.is-awake .hero__mist--violet {
  opacity: 0.42;
}

.hero.is-awake .hero__mist--blue {
  opacity: 0.41;
}

.hero.is-awake .hero__mist--mint {
  opacity: 0.18;
}

/* Мобильная версия — те же оттенки, но компактнее */
@media (max-width: 900px) {
  .hero {
    background:
      radial-gradient(ellipse at 10% 42%, rgba(126, 73, 158, 0.23) 0%, transparent 52%),
      radial-gradient(ellipse at 90% 40%, rgba(62, 112, 165, 0.24) 0%, transparent 54%),
      radial-gradient(ellipse at 60% 74%, rgba(79, 148, 139, 0.06) 0%, transparent 42%),
      linear-gradient(180deg, #11141b 0%, #171925 46%, #101318 100%);
  }

  .hero::after {
    opacity: 0.10;
  }

  .hero__mist--violet {
    left: -35%;
    top: 20%;
    width: 520px;
    height: 310px;
  }

  .hero__mist--blue {
    right: -38%;
    top: 19%;
    width: 540px;
    height: 320px;
  }

  .hero__mist--mint {
    right: 8%;
    bottom: 4%;
    width: 280px;
    height: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__mist {
    animation: none !important;
  }
}


/* Bedasë 1.3 — редкие живые частицы поверх цветной дымки */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 3%, #000 16%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 3%, #000 16%, #000 88%, transparent 100%);
}

.hero-particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(238, 230, 214, var(--alpha));
  box-shadow: 0 0 7px rgba(210, 198, 229, 0.20);
  opacity: 0;
  animation: hero-particle-drift var(--duration) ease-in-out var(--delay) infinite;
  will-change: transform, opacity;
}

.hero-particle:nth-child(3n) {
  background: rgba(191, 166, 224, var(--alpha));
}

.hero-particle:nth-child(5n) {
  background: rgba(146, 194, 214, var(--alpha));
}

@keyframes hero-particle-drift {
  0%   { opacity: 0; transform: translate3d(0, 10px, 0) scale(.78); }
  18%  { opacity: .55; }
  50%  { opacity: .9; transform: translate3d(var(--drift-x), -16px, 0) scale(1); }
  80%  { opacity: .35; }
  100% { opacity: 0; transform: translate3d(var(--drift-x2), -44px, 0) scale(.82); }
}

.hero.is-awake .hero-particle {
  filter: brightness(1.15);
}

@media (max-width: 900px) {
  .hero-particle:nth-child(2n) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-particle {
    animation: none !important;
    opacity: .22;
  }
}


/* Bedasë 1.4 — вместо "пыли" делаем сгущённые текучие скопления */
.hero__particles {
  display: none !important;
}

.hero__clusters {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.hero-cluster {
  position: absolute;
  width: 300px;
  height: 180px;
  filter: blur(14px);
  opacity: 0.42;
  mix-blend-mode: screen;
  transform-origin: center;
  will-change: transform, opacity;
}

.hero-cluster span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: currentColor;
  filter: blur(18px);
  opacity: 0.42;
}

/* Сгустки не равномерные: это несколько перекрывающихся облачков */
.hero-cluster span:nth-child(1) {
  width: 110px; height: 72px; left: 18px; top: 52px;
}
.hero-cluster span:nth-child(2) {
  width: 96px; height: 62px; left: 92px; top: 34px;
}
.hero-cluster span:nth-child(3) {
  width: 122px; height: 70px; left: 132px; top: 70px;
}
.hero-cluster span:nth-child(4) {
  width: 84px; height: 54px; left: 66px; top: 94px;
}
.hero-cluster span:nth-child(5) {
  width: 70px; height: 46px; left: 196px; top: 42px;
}

.hero-cluster--violet {
  color: rgba(162, 99, 210, 0.82);
  left: 6%;
  top: 34%;
  animation: cluster-violet-flow 27s ease-in-out infinite;
}

.hero-cluster--blue {
  color: rgba(82, 151, 218, 0.76);
  right: 6%;
  top: 31%;
  animation: cluster-blue-flow 31s ease-in-out infinite;
}

.hero-cluster--mint {
  color: rgba(94, 186, 168, 0.48);
  right: 29%;
  bottom: 16%;
  width: 220px;
  height: 130px;
  opacity: 0.26;
  animation: cluster-mint-flow 29s ease-in-out infinite;
}

.hero-cluster--mint span:nth-child(n+4) {
  display: none;
}

@keyframes cluster-violet-flow {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-2deg) scale(1);
    opacity: .34;
  }
  28% {
    transform: translate3d(44px, -18px, 0) rotate(3deg) scale(1.08);
    opacity: .46;
  }
  58% {
    transform: translate3d(10px, 24px, 0) rotate(-1deg) scale(1.02);
    opacity: .39;
  }
  82% {
    transform: translate3d(-28px, 4px, 0) rotate(2deg) scale(.97);
    opacity: .31;
  }
}

@keyframes cluster-blue-flow {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(2deg) scale(1);
    opacity: .33;
  }
  32% {
    transform: translate3d(-48px, 14px, 0) rotate(-3deg) scale(1.07);
    opacity: .44;
  }
  64% {
    transform: translate3d(-6px, -22px, 0) rotate(1deg) scale(1.01);
    opacity: .37;
  }
  84% {
    transform: translate3d(26px, 8px, 0) rotate(-2deg) scale(.98);
    opacity: .30;
  }
}

@keyframes cluster-mint-flow {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: .20;
  }
  50% {
    transform: translate3d(-26px, -14px, 0) scale(1.05);
    opacity: .29;
  }
}

/* Очень лёгкая внутренняя "пульсация" самих облаков */
.hero-cluster span:nth-child(odd) {
  animation: cluster-cell-breathe 9s ease-in-out infinite alternate;
}

.hero-cluster span:nth-child(even) {
  animation: cluster-cell-breathe 11s ease-in-out infinite alternate-reverse;
}

@keyframes cluster-cell-breathe {
  from { transform: scale(.94); opacity: .30; }
  to   { transform: scale(1.08); opacity: .52; }
}

/* При внимании к знаку сгустки чуть собираются и становятся заметнее */
.hero.is-awake .hero-cluster--violet,
.hero.is-awake .hero-cluster--blue {
  opacity: .55;
}

.hero.is-awake .hero-cluster--mint {
  opacity: .34;
}

/* Mobile: меньше и спокойнее, чтобы не спорить с контентом */
@media (max-width: 900px) {
  .hero-cluster {
    width: 230px;
    height: 140px;
    filter: blur(16px);
    opacity: .30;
  }

  .hero-cluster--violet {
    left: -12%;
    top: 35%;
  }

  .hero-cluster--blue {
    right: -12%;
    top: 33%;
  }

  .hero-cluster--mint {
    right: 20%;
    bottom: 11%;
    width: 160px;
    height: 100px;
    opacity: .18;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cluster,
  .hero-cluster span {
    animation: none !important;
  }
}


/* Bedasë 1.6 — отдельный слой чётких частиц поверх туманности */
.hero__sparkfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3.5;
  pointer-events: none;
  mix-blend-mode: screen;
}

@media (max-width: 900px) {
  .hero__sparkfield {
    opacity: 0.88;
  }
}


/* Bedasë 1.7 — исправление слоёв: canvas действительно присутствуют в DOM */
.hero__clusters,
.hero-cluster,
.hero__particles {
  display: none !important;
}

.hero__nebula,
.hero__sparkfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__nebula {
  z-index: 2;
  mix-blend-mode: screen;
  opacity: 0.90;
}

.hero__sparkfield {
  z-index: 3;
  mix-blend-mode: screen;
  opacity: 1;
}

.hero__content {
  z-index: 4;
}

@media (max-width: 900px) {
  .hero__nebula { opacity: 0.78; }
  .hero__sparkfield { opacity: 0.88; }
}


/* Bedasë 2.2 — nebulae closer to the wordmark + textured emblem */
.hero__nebula,
.hero__sparkfield {
  z-index: 3;
}

.hero__content {
  position: relative;
  z-index: 5;
}

/* Slightly stronger particle presence near the naming area */
.hero__nebula {
  opacity: 0.96;
}

.hero__sparkfield {
  opacity: 1;
}

/* The emblem keeps its exact geometry, but now uses a textured metallic fill */
.brand-mark-svg .brand-mark__metal {
  fill: url(#bedaseMetal) !important;
  stroke: none !important;
}

/* CurrentColor fallback for older browsers if SVG filters are limited */
@supports not (mix-blend-mode: screen) {
  .brand-mark-svg {
    color: #d8c6a7;
  }
}

@media (max-width: 900px) {
  .hero__nebula {
    opacity: 0.86;
  }

  .hero__sparkfield {
    opacity: 0.94;
  }
}


/* Bedasë 2.3 — исправление прямоугольника у знака
   + та же металлическая текстура для имени в Hero */

/* SVG: шум теперь клипуется по форме знака, поэтому прямоугольного фона нет */
.brand-mark-svg {
  overflow: visible;
}

.brand-mark-svg .brand-mark__metal {
  fill: url(#bedaseMetal) !important;
  stroke: none !important;
}




/* Bedasë 2.4 — Hero name: та же логика материала, что у капли.
   Без точечной сетки и "канвы". */
.hero h1 {
  color: transparent;
  -webkit-text-fill-color: transparent;

  /* Основной металлический градиент */
  background-image:
    linear-gradient(
      118deg,
      #f2e7d2 0%,
      #d8c6a7 23%,
      #b79a78 47%,
      #e7d5b6 69%,
      #c7ae8a 86%,
      #efe2cb 100%
    ),

    /* Очень мягкая шероховатость, без отдельных точек */
    repeating-linear-gradient(
      97deg,
      rgba(255,255,255,0.035) 0px,
      rgba(255,255,255,0.035) 1px,
      rgba(105,78,53,0.025) 2px,
      rgba(105,78,53,0.025) 3px,
      transparent 4px,
      transparent 7px
    ),

    repeating-linear-gradient(
      13deg,
      rgba(255,255,255,0.018) 0px,
      rgba(255,255,255,0.018) 1px,
      rgba(84,62,43,0.018) 2px,
      rgba(84,62,43,0.018) 3px,
      transparent 4px,
      transparent 9px
    );

  background-blend-mode: normal, soft-light, soft-light;
  background-size: 100% 100%, 11px 11px, 17px 17px;
  background-position: 0 0, 0 0, 3px 2px;

  -webkit-background-clip: text;
  background-clip: text;

  /* лёгкий объём, но без свечения */
  text-shadow:
    0 1px 0 rgba(255,255,255,0.035),
    0 5px 16px rgba(0,0,0,0.12);
}

@media (max-width: 900px) {
  .hero h1 {
    background-size: 100% 100%, 13px 13px, 19px 19px;
  }
}


/* Bedasë 2.5 — mobile/tablet fix for music card
   Причина наложения: square cover had min-height:500px, поэтому
   на узком двухколоночном layout она начинала физически шире своей grid-колонки. */

.media-card > * {
  min-width: 0;
}

/* Планшет / узкий desktop: сохраняем две колонки,
   но разрешаем квадратной обложке реально ужиматься по ширине колонки. */
@media (max-width: 1050px) and (min-width: 801px) {
  .media-card {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  }

  .media-card__cover {
    min-height: 0;
    width: 100%;
  }

  .media-card__cover--music {
    aspect-ratio: 1 / 1;
  }

  .media-card__content {
    padding: clamp(26px, 4vw, 38px);
  }

  .media-card__content h3 {
    font-size: clamp(2.25rem, 4.6vw, 3.5rem);
  }
}

/* Mobile: existing one-column layout stays,
   but explicitly remove the old 500px minimum there too. */
@media (max-width: 800px) {
  .media-card__cover {
    min-height: 0;
    width: 100%;
  }

  .media-card__cover--music {
    aspect-ratio: 1 / 1;
  }
}


/* Bedasë 2.6 FINAL — tighter About heading */
.about-box h2 {
  line-height: 1.08;
}
