:root {
  color-scheme: dark;
  --bg: #020914;
  --bg-deep: #01060e;
  --surface: rgba(9, 24, 46, 0.76);
  --surface-strong: #0a1b34;
  --line: rgba(164, 193, 232, 0.16);
  --line-strong: rgba(164, 193, 232, 0.29);
  --text: #f7f9fd;
  --muted: #a7b4c9;
  --yellow: #ffbd18;
  --orange: #ff7a1a;
  --blue: #2599ff;
  --cyan: #31d6ff;
  --violet: #835cff;
  --green: #43d17b;
  --danger: #ff5263;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --radius: 1.35rem;
  --max: 72rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 20rem;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -8%, rgba(37, 153, 255, .22), transparent 32rem),
    radial-gradient(circle at 88% 9%, rgba(131, 92, 255, .16), transparent 29rem),
    linear-gradient(145deg, var(--bg-deep), var(--bg) 45%, #031126 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

a { color: inherit; }
img, svg { display: block; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: .7rem;
  color: #081120;
  background: var(--yellow);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-shell { min-height: 100vh; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  background: rgba(2, 9, 20, .76);
  backdrop-filter: blur(1.1rem);
}
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.8rem; gap: 1.25rem; }
.wordmark { display: inline-flex; align-items: center; gap: .72rem; text-decoration: none; font-weight: 900; letter-spacing: -.03em; }
.wordmark-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(255, 189, 24, .5);
  border-radius: .78rem;
  color: #0a1220;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  box-shadow: 0 8px 24px rgba(255, 142, 23, .24);
}
.wordmark small { display: block; margin-top: -.12rem; color: var(--muted); font-size: .65rem; font-weight: 650; letter-spacing: .18em; }
.nav { display: flex; align-items: center; gap: .35rem; }
.nav a { padding: .64rem .82rem; border-radius: .7rem; color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 650; }
.nav a:hover, .nav a:focus-visible { color: var(--text); background: rgba(255,255,255,.055); outline: none; }
.menu-button { display: none; border: 1px solid var(--line); border-radius: .8rem; padding: .62rem; color: var(--text); background: rgba(255,255,255,.04); }
.menu-button svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.8; }

.hero { position: relative; display: grid; min-height: calc(100vh - 4.8rem); align-items: center; padding: 5.25rem 0 6rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(18rem, .72fr); align-items: center; gap: clamp(2.5rem, 7vw, 7rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.25rem; color: var(--yellow); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { width: 1.7rem; height: 2px; content: ""; background: currentColor; }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -.047em; }
h1 { max-width: 12ch; font-size: clamp(3rem, 7.5vw, 6.25rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 4rem); }
h3 { font-size: 1.35rem; }
.gradient-text { color: transparent; background: linear-gradient(90deg, var(--yellow), #ff8b24 65%, #ff5f57); background-clip: text; -webkit-background-clip: text; }
.hero-copy { max-width: 38rem; margin: 1.6rem 0 0; color: var(--muted); font-size: clamp(1.06rem, 1.8vw, 1.24rem); }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center; gap: .65rem; padding: .8rem 1.1rem; border: 1px solid var(--line); border-radius: .9rem; text-decoration: none; font-weight: 800; transition: transform .18s ease, border-color .18s ease, background-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; }
.button-primary { border-color: transparent; color: #06101d; background: linear-gradient(135deg, var(--yellow), var(--orange)); box-shadow: 0 14px 35px rgba(255, 144, 22, .2); }
.button-secondary { background: rgba(255,255,255,.035); }
.button-secondary:hover { border-color: var(--line-strong); background: rgba(255,255,255,.065); }

.hero-emblem { position: relative; display: grid; width: min(100%, 27rem); aspect-ratio: 1; justify-self: end; place-items: center; }
.hero-emblem::before, .hero-emblem::after { position: absolute; content: ""; border-radius: 50%; }
.hero-emblem::before { inset: 0; border: 1px solid rgba(49, 214, 255, .18); box-shadow: inset 0 0 5rem rgba(37, 153, 255, .09), 0 0 7rem rgba(37,153,255,.12); }
.hero-emblem::after { inset: 12%; border: 1px solid rgba(255, 189, 24, .28); }
.emblem-core { position: relative; display: grid; width: 63%; aspect-ratio: 1; place-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 2rem; background: linear-gradient(145deg, rgba(12,36,69,.98), rgba(3,12,27,.98)); box-shadow: var(--shadow); transform: rotate(-7deg); }
.emblem-core::before { position: absolute; inset: -.6rem; z-index: -1; content: ""; border: 1px solid rgba(131,92,255,.35); border-radius: 2.25rem; transform: rotate(13deg); }
.emblem-text { text-align: center; font-size: clamp(2.5rem, 7vw, 4.7rem); font-weight: 950; line-height: .76; letter-spacing: -.08em; transform: rotate(7deg); }
.emblem-text span { display: block; margin-top: .8rem; color: var(--yellow); font-size: .82rem; letter-spacing: .28em; }
.orbit { position: absolute; width: .72rem; height: .72rem; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 2rem var(--yellow); }
.orbit-one { top: 12%; right: 18%; }
.orbit-two { bottom: 17%; left: 8%; width: .5rem; height: .5rem; background: var(--cyan); box-shadow: 0 0 2rem var(--cyan); }

.section { padding: clamp(4.7rem, 9vw, 8rem) 0; }
.section-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .7fr); align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.section-header p { max-width: 34rem; margin: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.project-card, .info-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(12,32,60,.78), rgba(4,14,29,.83)); box-shadow: var(--shadow); }
.project-card { display: grid; min-height: 24rem; align-content: end; padding: clamp(1.5rem, 4vw, 2.5rem); text-decoration: none; }
.project-card::before { position: absolute; inset: 0; z-index: 0; content: ""; background: radial-gradient(circle at 80% 10%, rgba(37,153,255,.22), transparent 18rem); transition: transform .3s ease; }
.project-card:hover::before { transform: scale(1.08); }
.project-card > * { position: relative; z-index: 1; }
.project-card-active { border-color: rgba(37,153,255,.34); }
.project-kicker { margin-bottom: .6rem; color: var(--cyan); font-size: .74rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.project-card h3 { font-size: clamp(2rem, 4vw, 3rem); }
.project-card p { max-width: 31rem; margin: 1rem 0 1.6rem; color: var(--muted); }
.project-arrow { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; }
.project-arrow svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s ease; }
.project-card:hover .project-arrow svg { transform: translateX(.3rem); }
.project-card-muted { min-height: 20rem; background: rgba(255,255,255,.025); }
.project-card-muted::before { background: radial-gradient(circle at 82% 12%, rgba(131,92,255,.16), transparent 17rem); }
.project-card-muted .project-kicker { color: #b7a5ff; }
.project-card-audiofocus { border-color: rgba(41, 231, 234, .32); }
.project-card-audiofocus::before { background: radial-gradient(circle at 82% 10%, rgba(41,231,234,.2), transparent 18rem); }
.project-card-audiofocus .project-kicker { color: #58eeec; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.info-card { padding: 1.55rem; }
.info-icon { display: grid; width: 2.85rem; height: 2.85rem; margin-bottom: 2.8rem; place-items: center; border: 1px solid var(--line); border-radius: .9rem; color: var(--yellow); background: rgba(255,255,255,.035); }
.info-icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.info-card p { margin: .75rem 0 0; color: var(--muted); }

.contact-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; padding: clamp(1.6rem, 5vw, 3.5rem); border: 1px solid rgba(255,189,24,.25); border-radius: calc(var(--radius) + .35rem); background: radial-gradient(circle at 100% 0, rgba(255,189,24,.11), transparent 25rem), rgba(8,23,44,.72); }
.contact-panel p { max-width: 42rem; margin: .9rem 0 0; color: var(--muted); }

.site-footer { padding: 2.5rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* Link hub */
.hub-page { display: grid; min-height: 100vh; align-items: start; padding: 1.2rem 0 2.5rem; }
.hub-wrap { width: min(calc(100% - 1.25rem), 43rem); margin-inline: auto; }
.hub-topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.hub-back, .hub-site { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .72rem; border: 1px solid var(--line); border-radius: .7rem; color: var(--muted); text-decoration: none; font-size: .82rem; font-weight: 700; background: rgba(255,255,255,.025); }
.hub-back:hover, .hub-site:hover { color: var(--text); border-color: var(--line-strong); }
.hub-back svg, .hub-site svg { width: .95rem; height: .95rem; fill: none; stroke: currentColor; stroke-width: 2; }
.hub-handle { padding: .55rem .72rem; border: 1px solid var(--line); border-radius: .7rem; color: var(--muted); font-size: .82rem; font-weight: 700; background: rgba(255,255,255,.025); }
.hub-card { position: relative; overflow: hidden; padding: clamp(1.35rem, 4vw, 2.1rem); border: 1px solid rgba(62, 172, 255, .25); border-radius: 1.65rem; background: linear-gradient(155deg, rgba(10,31,59,.93), rgba(3,12,26,.95)); box-shadow: var(--shadow); }
.hub-card::before { position: absolute; top: -9rem; left: 50%; width: 30rem; height: 19rem; content: ""; border-radius: 50%; background: rgba(37,153,255,.17); filter: blur(4rem); transform: translateX(-50%); }
.hub-hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hub-logo { width: min(12.8rem, 58vw); height: auto; margin: .25rem auto 1.15rem; object-fit: contain; }
.zvukgalaxy-logo {
  width: min(12.5rem, 54vw);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(49,214,255,.48);
  border-radius: 50%;
  background: #02060c;
  box-shadow: 0 0 0 .42rem rgba(37,153,255,.07), 0 1rem 3rem rgba(0,0,0,.34), 0 0 2.5rem rgba(37,153,255,.15);
}
.audiofocus-theme {
  background:
    radial-gradient(circle at 50% -8%, rgba(41,231,234,.18), transparent 28rem),
    radial-gradient(circle at 95% 18%, rgba(22,142,232,.14), transparent 26rem),
    linear-gradient(145deg, #01070d, #03131b 48%, #052b36 100%);
}
.audiofocus-card { border-color: rgba(41,231,234,.3); background: linear-gradient(155deg, rgba(5,39,48,.95), rgba(2,12,19,.97)); }
.audiofocus-card::before { background: rgba(41,231,234,.15); }
.audiofocus-logo { width: min(11.5rem, 49vw); height: auto; aspect-ratio: 1 / 1; margin: .25rem auto 1.2rem; border: 1px solid rgba(41,231,234,.55); border-radius: 50%; object-fit: contain; box-shadow: 0 0 0 .42rem rgba(41,231,234,.07), 0 1rem 3rem rgba(0,0,0,.34), 0 0 2.5rem rgba(41,231,234,.13); }
.audiofocus-rule { background: linear-gradient(90deg, #29e7ea, #168ee8); }
.hub-title { width: 100%; max-width: 16ch; margin-inline: auto; font-size: clamp(1.75rem, 7vw, 2.7rem); letter-spacing: -.04em; text-align: center; text-wrap: balance; }
.hub-subtitle { margin: .7rem auto 0; color: #c0cce0; font-size: 1rem; }
.hub-rule { width: 3.25rem; height: 3px; margin: 1.3rem auto 0; border: 0; border-radius: 1rem; background: linear-gradient(90deg, var(--yellow), var(--orange)); }
.link-section { position: relative; margin-top: 1.7rem; }
.link-section-title { display: flex; align-items: center; gap: .75rem; margin: 0 0 .75rem; color: #aebbd0; font-size: .75rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.link-section-title::after { flex: 1; height: 1px; content: ""; background: var(--line); }
.link-list { display: grid; gap: .7rem; }
.hub-link { --accent: var(--blue); display: grid; grid-template-columns: 3.05rem 1fr auto; min-height: 4.3rem; align-items: center; gap: .85rem; padding: .62rem .78rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,255,255,.032); color: var(--text); text-decoration: none; transition: transform .18s ease, border-color .18s ease, background-color .18s ease; }
.hub-link:hover, .hub-link:focus-visible { border-color: color-mix(in srgb, var(--accent) 58%, transparent); background: color-mix(in srgb, var(--accent) 9%, rgba(255,255,255,.03)); transform: translateY(-2px); outline: none; }
.hub-icon { display: grid; width: 3.05rem; height: 3.05rem; place-items: center; border-radius: .82rem; color: #fff; background: color-mix(in srgb, var(--accent) 86%, #0b1630); box-shadow: inset 0 0 0 1px rgba(255,255,255,.13); }
.hub-icon.platform-icon { overflow: hidden; background: rgba(2,10,22,.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,.13), 0 .4rem 1rem rgba(0,0,0,.15); }
.hub-icon.custom-icon { overflow: hidden; background: rgba(2,10,22,.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,.13), 0 .4rem 1rem rgba(0,0,0,.15); }
.hub-icon.custom-icon-site { color: #2fb7ff; }
.hub-icon.custom-icon-merch { color: #fff; }
.hub-icon.custom-icon svg { width: 1.62rem; height: 1.62rem; filter: drop-shadow(0 0 .32rem rgba(47,183,255,.3)); }
.platform-logo { width: 2.15rem; height: 2.15rem; object-fit: contain; }
.platform-logo-youtube { width: 2.42rem; }
.platform-logo-amazon-music { width: 2.55rem; height: 1.8rem; }
.platform-logo-amazon { width: 2.05rem; height: 2.05rem; }
.hub-icon svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hub-icon svg.brand-icon { width: 1.55rem; height: 1.55rem; fill: currentColor; stroke: none; }
.hub-icon svg .fill { fill: currentColor; stroke: none; }
.hub-link-copy strong { display: block; line-height: 1.25; }
.hub-link-copy small { display: block; margin-top: .13rem; color: var(--muted); font-size: .78rem; line-height: 1.3; }
.hub-link-arrow { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; color: var(--muted); background: rgba(255,255,255,.04); }
.hub-link-arrow svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; }
.hub-link:hover .hub-link-arrow { color: var(--text); }
.accent-youtube { --accent: #ff3131; }
.accent-apple { --accent: #8c94a7; }
.accent-spotify { --accent: #1ed760; }
.accent-amazon { --accent: #19a8e1; }
.accent-tiktok { --accent: #ed1e79; }
.accent-instagram { --accent: #c43ba6; }
.accent-facebook { --accent: #3478ea; }
.accent-web { --accent: #347fff; }
.accent-shop { --accent: #ff9900; }
.accent-merch { --accent: #835cff; }
.hub-note { margin: 1.25rem 0 0; color: #8795aa; text-align: center; font-size: .78rem; }
.hub-footer { padding: 1.3rem 0 0; color: #8491a6; text-align: center; font-size: .77rem; }
.hub-footer-links { display: flex; justify-content: center; gap: .85rem; margin-top: .45rem; }
.hub-footer a { text-decoration: none; }
.hub-footer a:hover { color: var(--text); }

/* Legal and status pages */
.page-main { padding: 4rem 0 6rem; }
.page-head { max-width: 48rem; margin-bottom: 2.5rem; }
.page-head h1 { max-width: none; font-size: clamp(2.7rem, 7vw, 5rem); }
.page-head p { color: var(--muted); }
.legal-card { max-width: 52rem; padding: clamp(1.35rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(8,24,46,.74); box-shadow: var(--shadow); }
.legal-card h2 { margin-top: 2.3rem; font-size: 1.5rem; letter-spacing: -.025em; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { margin-top: 1.5rem; font-size: 1.1rem; }
.legal-card p, .legal-card li { color: #c4cedd; }
.legal-card ul { padding-left: 1.25rem; }
.legal-card a { color: #8fd6ff; }
.status-page { display: grid; min-height: 100vh; place-items: center; padding: 2rem 0; }
.status-card { width: min(calc(100% - 2rem), 42rem); padding: clamp(1.5rem, 6vw, 3.5rem); border: 1px solid var(--line); border-radius: 1.6rem; background: rgba(8,24,46,.79); text-align: center; box-shadow: var(--shadow); }
.status-code { color: var(--yellow); font-size: clamp(4rem, 18vw, 9rem); font-weight: 950; line-height: .8; letter-spacing: -.08em; }
.status-card h1 { max-width: none; margin-top: 1.6rem; font-size: clamp(2rem, 6vw, 3.5rem); }
.status-card p { color: var(--muted); }

@media (max-width: 800px) {
  .hero-grid, .section-header { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 4.1rem; }
  .hero-emblem { width: min(78vw, 21rem); justify-self: center; margin-top: 1rem; }
  .cards, .service-grid { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 1.25rem), var(--max)); }
  .header-inner { min-height: 4.3rem; }
  .menu-button { display: inline-grid; place-items: center; }
  .nav { position: absolute; top: calc(100% + .25rem); right: .65rem; left: .65rem; display: none; padding: .55rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(4,14,29,.98); box-shadow: var(--shadow); }
  .nav.is-open { display: grid; }
  .nav a { padding: .8rem; }
  h1 { font-size: clamp(2.85rem, 14.5vw, 4.5rem); }
  .hero-copy { font-size: 1.05rem; }
  .button-row { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .section { padding: 4.4rem 0; }
  .project-card { min-height: 20rem; }
  .hub-page { padding-top: .7rem; }
  .hub-wrap { width: min(calc(100% - .75rem), 43rem); }
  .hub-card { border-radius: 1.35rem; padding: 1.15rem .9rem 1.3rem; }
  .hub-topbar { margin-inline: .25rem; }
  .hub-site span { display: none; }
  .hub-handle { max-width: 47vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hub-link { grid-template-columns: 2.85rem 1fr auto; min-height: 4.25rem; gap: .72rem; padding: .62rem; }
  .hub-icon { width: 2.85rem; height: 2.85rem; }
  .hub-link-copy small { font-size: .74rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
