
:root {
  --bg: #090511;
  --bg-2: #12071f;
  --panel: rgba(23, 13, 41, 0.84);
  --panel-soft: rgba(255,255,255,0.04);
  --text: #f5f0ff;
  --muted: #c7b6ea;
  --soft: #9b87c9;
  --line: rgba(169, 125, 255, 0.18);
  --line-strong: rgba(169, 125, 255, 0.34);
  --accent: #9f7cff;
  --accent-2: #6d39ff;
  --shadow: 0 18px 50px rgba(0,0,0,0.36);
  --radius: 28px;
  --content: 760px;
  --toc: 280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(126, 70, 255, 0.34), transparent 36%),
    radial-gradient(circle at 20% 20%, rgba(134, 60, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #1d0c34 0%, #0b0712 24%, #090511 100%);
  line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.progress {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: 3px; background: transparent;
}
.progress span {
  display: block; width: 0; height: 100%;
  background: linear-gradient(90deg, #ad8dff, #7d4fff);
  box-shadow: 0 0 18px rgba(159,124,255,.85);
}
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(9,5,17,.58);
  border-bottom: 1px solid rgba(169,125,255,.10);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 74px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; letter-spacing: .02em;
}
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.header-nav {
  display: inline-flex; gap: 12px; flex-wrap: wrap;
}
.header-nav a {
  padding: 10px 16px; border-radius: 999px; color: var(--muted);
  border: 1px solid transparent; transition: .2s ease;
}
.header-nav a:hover { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.03); }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: 28px;
  align-items: stretch;
  padding: 56px 0 40px;
}
.hero-copy, .hero-media {
  background: linear-gradient(180deg, rgba(24, 13, 43, 0.88), rgba(11, 8, 18, 0.92));
  border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow);
}
.hero-copy { padding: 44px; }
.eyebrow {
  display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #d3c4ff; background: rgba(255,255,255,.04); border: 1px solid var(--line);
}
.hero h1 {
  margin: 18px 0 18px; font-size: clamp(42px, 7vw, 78px); line-height: .96; letter-spacing: -.04em;
}
.lead {
  margin: 0; font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 650px;
}
.meta-row {
  margin-top: 28px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.author-chip, .stat-chip {
  display: inline-flex; align-items: center; gap: 14px; padding: 12px 16px;
  border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.04);
}
.author-chip img {
  width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: center 25%;
  border: 1px solid var(--line-strong);
}
.author-chip strong, .stat-chip strong { display: block; font-size: 15px; }
.author-chip span, .stat-chip span { display: block; font-size: 13px; color: var(--soft); }
.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.article-shell {
  display: grid;
  grid-template-columns: minmax(240px, var(--toc)) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 70px;
}
.toc { position: sticky; top: 96px; align-self: start; }
.toc-box {
  border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(19, 12, 34, 0.92), rgba(10, 8, 17, 0.92));
}
.toc-title { font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #d5c7ff; margin-bottom: 16px; }
.toc nav { display: flex; flex-direction: column; gap: 3px; }
.toc a {
  color: var(--soft); padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45;
  transition: .2s ease;
}
.toc a:hover, .toc a.active { color: var(--text); background: rgba(255,255,255,.05); }
.article-body { min-width: 0; width: 100%; }
.article-body > * { width: 100%; }
.intro-card, .article-section, .gallery-section {
  background: linear-gradient(180deg, rgba(17, 11, 30, 0.93), rgba(10, 8, 17, 0.95));
  border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow);
}
.intro-card { padding: 34px; margin-bottom: 22px; font-size: 20px; }
.intro-card p:first-child { margin-top: 0; }
.intro-card p:last-child { margin-bottom: 0; }
.article-section {
  position: relative; padding: 38px 40px; margin-bottom: 20px;
}
.section-kicker {
  position: absolute; top: 24px; right: 24px; width: 54px; height: 54px; border-radius: 18px;
  display: grid; place-items: center; font-weight: 800; color: #e6dcff;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
}
.article-section h2, .gallery-section h2 {
  margin: 0 70px 18px 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -.03em;
}
.article-section p, .gallery-section p {
  margin: 0 0 16px; font-size: 18px; color: #e6dfff;
}
.article-section p:last-child { margin-bottom: 0; }
.gallery-section { padding: 36px; margin-top: 26px; }
.gallery-head p { color: var(--muted); max-width: 760px; }
.gallery-grid {
  margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px;
}
.gallery-card {
  margin: 0; overflow: hidden; border-radius: 24px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.gallery-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gallery-card figcaption { padding: 16px 18px 18px; }
.gallery-card strong { display: block; font-size: 18px; margin-bottom: 8px; }
.gallery-card span { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; }
.site-footer { border-top: 1px solid rgba(169,125,255,.12); }
.footer-inner {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  color: var(--soft);
}
@media (max-width: 1120px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 360px; aspect-ratio: 16 / 10; }
  .article-shell { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 24px, 1240px); }
  .header-inner { min-height: 66px; }
  .header-nav { display: none; }
  .hero { padding-top: 28px; }
  .hero-copy { padding: 26px; }
  .lead { font-size: 17px; }
  .intro-card { padding: 24px; font-size: 18px; }
  .article-section { padding: 24px; }
  .article-section h2, .gallery-section h2 { margin-right: 60px; font-size: 28px; }
  .article-section p, .gallery-section p { font-size: 17px; }
  .section-kicker {
    top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 14px; font-size: 13px;
  }
  .gallery-section { padding: 24px; }
  .gallery-grid { grid-template-columns: 1fr; }
}


.hero-actions {
  margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap;
}
.primary-btn, .secondary-btn, .audio-link, .contact-item {
  transition: .2s ease;
}
.primary-btn, .secondary-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 20px; border-radius: 999px; font-weight: 700;
  border: 1px solid var(--line);
}
.primary-btn {
  color: #14081f; background: linear-gradient(180deg, #c9b7ff, #9f7cff);
  box-shadow: 0 10px 30px rgba(159,124,255,.35);
}
.secondary-btn {
  color: var(--text); background: rgba(255,255,255,.04);
}
.primary-btn:hover, .secondary-btn:hover, .audio-link:hover, .contact-item:hover {
  transform: translateY(-1px); border-color: var(--line-strong);
}
.audio-strip {
  padding-bottom: 28px;
}
.audio-card, .contact-card {
  background: linear-gradient(180deg, rgba(17, 11, 30, 0.93), rgba(10, 8, 17, 0.95));
  border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow);
}
.audio-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 24px;
  padding: 30px 32px;
}
.audio-copy h2, .contact-card h2 {
  margin: 16px 0 12px; font-size: clamp(28px, 4vw, 40px); line-height: 1.06; letter-spacing: -.03em;
}
.audio-copy p, .contact-card p {
  margin: 0; font-size: 18px; color: var(--muted);
}
.audio-player-wrap {
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.audio-player-wrap audio {
  width: 100%; min-height: 54px; filter: hue-rotate(8deg) saturate(1.05);
}
.audio-link {
  display: inline-flex; align-self: flex-start; padding: 11px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted);
}
.contact-section {
  padding-bottom: 56px;
}
.contact-card {
  padding: 34px;
}
.contact-grid {
  margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.contact-item {
  display: block; padding: 20px; border-radius: 22px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.contact-label {
  display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--soft);
  margin-bottom: 8px;
}
.contact-item strong {
  display: block; font-size: 20px; line-height: 1.3;
}
.footer-inner p {
  margin: 0;
}
.footer-inner p a {
  color: inherit;
}
@media (max-width: 1120px) {
  .audio-card {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .hero-actions {
    margin-top: 18px;
  }
  .primary-btn, .secondary-btn {
    width: 100%;
  }
  .audio-card, .contact-card {
    padding: 24px;
  }
  .audio-copy p, .contact-card p, .audio-link {
    font-size: 16px;
  }
  .contact-item strong {
    font-size: 18px;
    word-break: break-word;
  }
}

body {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

.ambient-scene {
  position: fixed;
  inset: -8vh -10vw;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.ambient-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(161, 121, 255, .18), transparent 26%),
    radial-gradient(circle at 82% 12%, rgba(111, 66, 255, .12), transparent 22%),
    radial-gradient(circle at 72% 78%, rgba(69, 37, 163, .14), transparent 24%);
}
.shape {
  position: absolute;
  display: block;
  transform-style: preserve-3d;
  will-change: transform;
}
.orb {
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.72), rgba(223, 201, 255, .28) 16%, rgba(162, 116, 255, .22) 34%, rgba(64, 29, 168, .18) 58%, rgba(0,0,0,0) 74%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    inset -18px -26px 44px rgba(46, 10, 105, .42),
    0 28px 90px rgba(85, 43, 196, .18);
  border: 1px solid rgba(196, 173, 255, .14);
  backdrop-filter: blur(6px);
}
.orb-1 { width: 22vw; height: 22vw; min-width: 240px; min-height: 240px; left: -2vw; top: 10vh; animation: floatOne 24s ease-in-out infinite; }
.orb-2 { width: 18vw; height: 18vw; min-width: 180px; min-height: 180px; right: 8vw; top: 8vh; animation: floatTwo 28s ease-in-out infinite; }
.orb-3 { width: 14vw; height: 14vw; min-width: 140px; min-height: 140px; left: 58vw; top: 54vh; animation: floatThree 20s ease-in-out infinite; }
.orb-4 { width: 26vw; height: 26vw; min-width: 260px; min-height: 260px; right: -6vw; bottom: -2vh; opacity: .72; animation: floatOne 30s ease-in-out infinite reverse; }

.prism {
  border-radius: 34px;
  border: 1px solid rgba(210, 188, 255, .15);
  background:
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.02) 30%, rgba(115, 59, 255, .18) 72%, rgba(17, 9, 38, .02)),
    linear-gradient(180deg, rgba(124, 83, 255, .18), rgba(19, 12, 34, .02));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -30px 48px rgba(34, 14, 88, .36),
    0 28px 72px rgba(66, 31, 170, .16);
  backdrop-filter: blur(10px);
}
.prism-1 { width: 220px; height: 220px; left: 72vw; top: 22vh; transform: rotate(28deg); animation: prismDrift 26s ease-in-out infinite; }
.prism-2 { width: 160px; height: 160px; left: 8vw; bottom: 16vh; transform: rotate(-22deg); animation: prismDrift 22s ease-in-out infinite reverse; }
.prism-3 { width: 120px; height: 120px; right: 22vw; bottom: 10vh; transform: rotate(18deg); animation: prismMini 18s ease-in-out infinite; }

.ring {
  border-radius: 50%;
  border: 1px solid rgba(211, 189, 255, .18);
  box-shadow:
    inset 0 0 24px rgba(255,255,255,.04),
    0 0 80px rgba(122, 74, 255, .12);
}
.ring::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
}
.ring-1 { width: 320px; height: 320px; left: 54vw; top: -4vh; animation: ringSpin 32s linear infinite; }
.ring-2 { width: 260px; height: 260px; right: 10vw; bottom: 18vh; animation: ringSpin 26s linear infinite reverse; }

.spark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.95), rgba(210,188,255,.6) 38%, rgba(112,68,255,.16) 72%, rgba(0,0,0,0) 78%);
  box-shadow: 0 0 24px rgba(193, 169, 255, .4);
}
.spark-1 { left: 24vw; top: 26vh; animation: sparkFloat 12s ease-in-out infinite; }
.spark-2 { right: 26vw; top: 62vh; animation: sparkFloat 10s ease-in-out infinite reverse; }

.header-side {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(189, 156, 255, .16);
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.lang-link {
  min-width: 48px;
  height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: .2s ease;
}
.lang-link:hover {
  color: var(--text);
}
.lang-link.is-active {
  color: #14081f;
  background: linear-gradient(180deg, #d7c8ff, #a78aff);
  box-shadow: 0 10px 24px rgba(159,124,255,.24);
}

@keyframes floatOne {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(30px, -24px, 0) rotate(10deg); }
}
@keyframes floatTwo {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-34px, 28px, 0) rotate(-14deg); }
}
@keyframes floatThree {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, -18px, 0) scale(1.06); }
}
@keyframes prismDrift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(28deg); }
  50% { transform: translate3d(-22px, 18px, 0) rotate(38deg); }
}
@keyframes prismMini {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(18deg); }
  50% { transform: translate3d(18px, -12px, 0) rotate(32deg); }
}
@keyframes ringSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes sparkFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .75; }
  50% { transform: translate3d(16px, -20px, 0) scale(1.5); opacity: 1; }
}

@media (max-width: 980px) {
  .header-side {
    gap: 10px;
  }
  .lang-link {
    min-width: 44px;
    height: 36px;
    padding: 0 12px;
  }
  .orb-1, .orb-4 {
    opacity: .5;
  }
  .prism-1, .ring-1 {
    right: -6vw;
  }
}

@media (max-width: 760px) {
  .header-side {
    margin-left: auto;
  }
  .lang-switcher {
    padding: 3px;
  }
  .lang-link {
    min-width: 42px;
    height: 34px;
    font-size: 12px;
  }
  .orb-2, .orb-3, .prism-1, .ring-2 {
    display: none;
  }
  .orb-1 {
    left: -18vw;
    top: 12vh;
  }
  .orb-4 {
    right: -20vw;
    bottom: 4vh;
  }
}


.progress span {
  transform-origin: left center;
  transform: scaleX(0);
}

.hero-media {
  contain: layout paint;
}

.gallery-card img,
.hero-media img,
.author-chip img,
.brand img {
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .shape,
  .progress span,
  .header-nav a,
  .primary-btn,
  .secondary-btn,
  .audio-link,
  .contact-item,
  .lang-link {
    animation: none !important;
    transition: none !important;
  }
}
