:root {
  --bg: #1c160f;
  --bg-2: #261c12;
  --text: #f6f0e4;
  --muted: #d2c6b0;
  --line: rgba(246, 240, 228, 0.16);
  --accent: #e4572e;
  --accent-2: #3d9be0;
  --ink: #1c120c;
  --font: "Onest", system-ui, sans-serif;
  --max: 1180px;
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(90% 40% at 100% 0%, rgba(61, 155, 224, 0.12), transparent 50%),
    var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { filter: brightness(1.08); }

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: rgba(7, 8, 10, 0.55);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
}

.logo {
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.2em;
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); filter: none; }
#btn-telegram-nav { color: var(--text); }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #000 center / cover no-repeat;
  transform: scale(1.03);
  animation: drift 28s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(28, 22, 15, 0.88) 0%, rgba(28, 22, 15, 0.35) 42%, rgba(28, 22, 15, 0.05) 68%),
    linear-gradient(180deg, rgba(28, 22, 15, 0.15) 0%, transparent 30%, rgba(28, 22, 15, 0.75) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 640px);
  margin: 0 0 0 clamp(1rem, 4vw, calc((100vw - var(--max)) / 2));
  padding: 8rem 0 5rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.chips span {
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(28, 22, 15, 0.55);
}

h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(3.4rem, 11vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.tagline {
  margin: 0 0 1.1rem;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 600;
  line-height: 1.25;
}

.lead {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}

.btn-fill {
  background: var(--accent);
  color: #fff8f3;
}

.btn-line {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}

.btn-lg { height: 54px; padding: 0 1.5rem; font-size: 1rem; }
.btn[aria-disabled="true"] { opacity: 0.35; pointer-events: none; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  z-index: 2;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 1.2rem;
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
  50% { transform: translate(-50%, 6px); opacity: 1; }
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #2a1c12;
  padding: 0.85rem 0;
}

.ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0d7b0;
}

.ticker-track span::after {
  content: "✦";
  margin-left: 2rem;
  color: var(--accent);
  opacity: 0.7;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.block {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.block.alt {
  width: 100%;
  padding-inline: max(1rem, calc((100% - var(--max)) / 2));
  background: #24180f;
  border-block: 1px solid var(--line);
}

.block-head { margin-bottom: 2rem; max-width: 40rem; }

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.block-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.sub {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.world-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .world-grid {
    grid-template-columns: 1.35fr 0.9fr;
    gap: 2rem;
    align-items: start;
  }
}

.big {
  margin: 0 0 1.1rem;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.4;
}

.world-main p { color: var(--muted); }
.world-main .big { color: var(--text); }

blockquote {
  margin: 1.5rem 0 0;
  padding: 1rem 0 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.world-side { display: grid; gap: 0.75rem; }

.side-card {
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-2);
  border-radius: var(--radius);
  background: #2c2116;
}

.side-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.side-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.news-list {
  display: grid;
  gap: 0.85rem;
}

.news-item {
  padding: 1.15rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: #2c2116;
}

.news-item time {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 700;
}

.news-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.news-item p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
}

.split-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.split-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05);
}

.split-card > div { padding: 1.15rem 1.2rem 1.3rem; }

.split-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.split-card p,
.split-card ul {
  margin: 0;
  padding-left: 0;
  color: var(--muted);
}

.after-split {
  margin: 0.25rem 0 0;
  max-width: 40rem;
  color: var(--muted);
}

.split-card li + li { margin-top: 0.35rem; }

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

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

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

.systems article {
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #2c2116;
}

@media (hover: hover) {
  .systems article:hover {
    border-color: var(--accent);
  }
}

.systems h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
}

.systems p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

@media (min-width: 800px) {
  .bento {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(160px, 18vh);
  }

  .b1 { grid-column: span 7; grid-row: span 3; }
  .b2 { grid-column: span 5; grid-row: span 2; }
  .b3 { grid-column: span 5; grid-row: span 2; }
  .b4 { grid-column: span 4; grid-row: span 2; }
  .b5 { grid-column: span 4; grid-row: span 2; }
  .b6 { grid-column: span 4; grid-row: span 2; }
}

.bento figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #000;
  min-height: 220px;
  height: 100%;
}

.bento .shot {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  color: inherit;
  font: inherit;
  text-align: left;
}

.bento img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
  filter: saturate(1.08) contrast(1.04);
}

@media (min-width: 800px) {
  .bento img { min-height: 0; }
}

@media (hover: hover) {
  .bento .shot:hover img { transform: scale(1.03); }
}

.bento .shot span {
  position: absolute;
  left: 0.8rem;
  bottom: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(7, 8, 10, 0.72);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(8, 6, 4, 0.94);
  cursor: zoom-out;
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: min(96vw, 1600px);
  max-height: calc(100vh - 5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  cursor: default;
}

.lightbox p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover { color: var(--accent); }

.band {
  margin: 0;
  padding: 3.5rem 1rem;
  background:
    linear-gradient(100deg, #3a1d14 0%, #1e3344 100%);
  border-block: 1px solid var(--line);
}

.band-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.band h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.band p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

#music-link {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.music ol {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  columns: 1;
}

@media (min-width: 700px) {
  .music ol { columns: 2; }
}

.music li {
  break-inside: avoid;
  margin-bottom: 0.45rem;
  color: var(--muted);
}

.foot {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.75rem 0 2.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.foot strong {
  display: block;
  color: var(--text);
  letter-spacing: 0.16em;
  font-size: 0.8rem;
}

.foot span { color: var(--muted); }

@media (max-width: 800px) {
  .nav {
    height: 56px;
    padding-top: env(safe-area-inset-top);
  }

  .nav-links a:not(#btn-telegram-nav) { display: none; }

  .hero {
    min-height: 0;
    display: block;
  }

  .hero-media {
    position: relative;
    height: 46vh;
    min-height: 220px;
    animation: none;
    transform: none;
  }

  .hero-fade {
    background: linear-gradient(180deg, transparent 55%, var(--bg) 100%);
  }

  .hero-copy {
    width: auto;
    margin: 0;
    padding: 1.1rem 1rem 1.4rem;
  }

  h1 { font-size: 2.6rem; }

  .tagline { font-size: 1.15rem; }

  .cta { flex-direction: column; }

  .cta .btn { width: 100%; }

  .scroll-hint { display: none; }

  .block { padding: 2.4rem 0; }

  .ticker-track { font-size: 0.72rem; letter-spacing: 0.08em; }

  .bento figure { min-height: 0; }

  .bento .shot { min-height: 0; }

  .bento img { height: auto; min-height: 0; aspect-ratio: 16 / 10; }

  .band { padding: 2rem 1rem; }

  .band-inner { flex-direction: column; align-items: stretch; }

  .band .btn { width: 100%; }

  .foot { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
}

@media (min-width: 801px) {
  .bento img { height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media, .ticker-track, .scroll-hint, .bento img { animation: none; transition: none; }
}
