/* ═══════════════════════════════════════════════════
   TIN-NUS — Design System
   Premium dark techno label aesthetic
   ═══════════════════════════════════════════════════ */

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Tokens ────────────────────────────────────────── */
:root {
  --bg:         #060606;
  --bg-elevated:#0d0d0d;
  --bg-card:    #111111;
  --bg-hover:   #1a1a1a;
  --fg:         #f0f0f0;
  --fg-muted:   #888;
  --fg-dim:     #555;
  --accent:     #c8ff00;          /* electric lime — extracted from Tinus logo */
  --accent-dim: rgba(200,255,0,.12);
  --accent-glow:rgba(200,255,0,.25);
  --line:       #1e1e1e;
  --line-hover: #2a2a2a;
  --radius:     6px;
  --radius-lg:  10px;
  --radius-xl:  16px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --max-w:      1200px;
  --font:       'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;
}

/* ── Base ──────────────────────────────────────────── */
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--accent); color: var(--bg); }

/* ── Typography ────────────────────────────────────── */
.t-display {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.t-h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.t-h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.t-h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.t-body { font-size: .95rem; line-height: 1.7; color: var(--fg-muted); }
.t-small { font-size: .8rem; color: var(--fg-dim); letter-spacing: .02em; }
.t-mono { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-dim); }
.t-accent { color: var(--accent); }
.t-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
}

/* ── Layout ────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-header { margin-bottom: 56px; }
.section-header .t-label { margin-bottom: 12px; display: block; }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1.5px solid var(--line);
  color: var(--fg);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-ghost {
  color: var(--fg-muted);
  padding: 8px 16px;
}
.btn-ghost:hover { color: var(--accent); }
.btn-sm { padding: 8px 18px; font-size: .78rem; }
.btn svg { width: 16px; height: 16px; }
.btn-icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  transition: all var(--transition);
}
.btn-icon:hover { border-color: var(--accent); color: var(--accent); }
.btn-icon svg { width: 18px; height: 18px; }

/* ── Header ────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(6,6,6,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background var(--transition);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo img { height: 32px; width: auto; }
.header-logo span {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color var(--transition);
  letter-spacing: .02em;
}
.header-nav a:hover { color: var(--fg); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang-toggle button {
  padding: 6px 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.lang-toggle button.active {
  background: var(--accent);
  color: var(--bg);
}
.lang-toggle button:not(.active):hover { color: var(--accent); }

/* Mobile menu */
.menu-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--fg);
  transition: all var(--transition);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after { content: ''; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top: 6px;  }
.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.open span::after  { top: 0; transform: rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, var(--accent-dim) 0%, transparent 70%),
    radial-gradient(circle at 20% 80%, rgba(200,255,0,.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero-content { position: relative; z-index: 2; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.hero-label .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
  50%      { opacity: .7; box-shadow: 0 0 12px 4px var(--accent-glow); }
}
.hero-title { margin-bottom: 24px; }
.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero release card */
.hero-release {
  position: relative;
  z-index: 2;
}
.hero-release-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
}
.hero-release-card:hover {
  border-color: var(--line-hover);
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
  transform: translateY(-4px);
}
.hero-release-cover {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.hero-release-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.hero-release-card:hover .hero-release-cover img {
  transform: scale(1.03);
}
.hero-release-badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 14px;
  background: var(--accent);
  color: var(--bg);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 4px;
}
.hero-release-info {
  padding: 20px 24px;
}
.hero-release-info .release-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.hero-release-info .release-artist {
  font-size: .85rem;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.hero-release-info .release-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── Beatport Player ───────────────────────────────── */
.beatport-section { background: var(--bg-elevated); }
.beatport-player {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.beatport-player iframe {
  width: 100%;
  height: 280px;
  border: none;
}

/* ── Listen Links ──────────────────────────────────── */
.listen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.listen-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.listen-card:hover {
  border-color: var(--accent);
  background: var(--bg-hover);
  transform: translateY(-2px);
}
.listen-card .listen-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  background: var(--accent-dim);
  color: var(--accent);
  flex-shrink: 0;
}
.listen-card .listen-icon svg { width: 22px; height: 22px; }
.listen-card .listen-name { font-weight: 600; font-size: .9rem; }
.listen-card .listen-desc { font-size: .75rem; color: var(--fg-dim); margin-top: 2px; }

/* ── Releases Grid ─────────────────────────────────── */
.releases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.release-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: block;
}
.release-card:hover {
  border-color: var(--line-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}
.release-cover {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-hover);
}
.release-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.release-card:hover .release-cover img { transform: scale(1.05); }
.release-cover .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.5);
  opacity: 0;
  transition: opacity var(--transition);
}
.release-card:hover .play-overlay { opacity: 1; }
.play-overlay svg { width: 48px; height: 48px; color: var(--accent); }
.release-body { padding: 16px 18px; }
.release-body .release-cat {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 8px;
}
.release-body .release-title {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}
.release-body .release-artist {
  font-size: .82rem;
  color: var(--fg-muted);
  margin-bottom: 10px;
}
.release-body .release-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--fg-dim);
}
.release-body .release-tracks {
  font-size: .72rem;
  color: var(--fg-dim);
}

/* ── Artists ────────────────────────────────────────── */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.artist-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: start;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.artist-card:hover { border-color: var(--line-hover); }
.artist-avatar {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-hover) 0%, var(--bg-elevated) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
}
.artist-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-avatar .placeholder-icon { color: var(--fg-dim); }
.artist-avatar .placeholder-icon svg { width: 48px; height: 48px; opacity: .4; }
.artist-info .artist-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.artist-info .artist-role { font-size: .78rem; color: var(--accent); font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; }
.artist-info .artist-bio { font-size: .88rem; line-height: 1.7; color: var(--fg-muted); margin-bottom: 16px; }
.artist-links { display: flex; gap: 8px; }

/* ── About / Story ─────────────────────────────────── */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text p {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.about-text p:first-child {
  font-size: 1.1rem;
  color: var(--fg);
  font-weight: 500;
}
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding-left: 36px;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 8px;
}
.timeline-text {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* ── Contact ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.contact-card .t-h3 { margin-bottom: 12px; }
.contact-card p { font-size: .9rem; line-height: 1.7; color: var(--fg-muted); margin-bottom: 24px; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Footer ────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-left { display: flex; align-items: center; gap: 16px; }
.footer-left img { height: 20px; opacity: .5; }
.footer-copy { font-size: .75rem; color: var(--fg-dim); }
.footer-right { display: flex; align-items: center; gap: 16px; }
.footer-right a { font-size: .75rem; color: var(--fg-dim); transition: color var(--transition); }
.footer-right a:hover { color: var(--accent); }

/* ── Reveal Animation ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── Noise texture (subtle) ────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
  .releases-grid { grid-template-columns: repeat(2, 1fr); }
  .artists-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-release { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }
  .header-nav { display: none; }
  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    padding: 40px 24px;
    gap: 24px;
    z-index: 99;
    border-top: 1px solid var(--line);
  }
  .header-nav.open a { font-size: 1.1rem; }
  .menu-toggle { display: flex; }
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 60px; }
  .hero-inner { gap: 40px; }
  .hero-release { max-width: 100%; }
  .releases-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .artist-card { grid-template-columns: 1fr; }
  .artist-avatar { width: 120px; height: 120px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .listen-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .releases-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .contact-card { padding: 24px; }
}
