/* ===== RESET & ROOT ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #02000a;
  --bg-header: #03000a;
  --text:      #EDF2F7;
  --muted:     #718096;
  --accent:    #f600ff;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-head: 'Mozilla Headline', sans-serif;
  --max-w:     1290px;
  --hdr-h:     80px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 23px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; }
h3 { font-size: 1.5rem; line-height: 1.4; }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

/* ===== LAYOUT ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--hdr-h);
  background: transparent;
  transition: background 0.3s;
}
.site-header.scrolled { background: var(--bg-header); }

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; }
.logo img { width: 43px; height: 43px; object-fit: contain; }

/* Social icons */
.social-icons { display: flex; gap: 0.4em; }
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  border: 2px solid currentColor;
  border-radius: 3px;
  padding: 0.25em;
  font-size: 0.75em;
  transition: color 0.2s;
  line-height: 0;
}
.social-icons a:hover { color: var(--accent); text-decoration: none; }
.social-icons svg { width: 20px; height: 20px; fill: currentColor; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.7em 1.6em;
  border: 2px solid var(--text);
  color: var(--text);
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; text-decoration: none; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ===== HERO ===== */
.hero {
  min-height: 100svh;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(2,0,10,.82) 0%, rgba(2,0,10,.35) 70%, rgba(2,0,10,.1) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--hdr-h) + 2rem) 1.5rem 4rem;
  max-width: calc(var(--max-w) + 3rem);
  margin: 0 auto;
}
.hero h1 { margin-bottom: 0.25em; }
.hero h2 { color: var(--accent); font-size: clamp(1.3rem, 2.5vw, 2rem); margin-bottom: 0.6em; }
.hero p  { font-size: 1.1rem; max-width: 520px; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section-title { margin-bottom: 2.5rem; }

/* ===== RELEASES GRID ===== */
.releases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}
.sc-item iframe { display: block; width: 100%; height: 300px; }
.sc-credit {
  font-size: 10px;
  color: #ccc;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: Interstate, Verdana, sans-serif;
  font-weight: 100;
  margin-top: 4px;
  line-break: anywhere;
  word-break: normal;
}
.sc-credit a { color: #ccc; text-decoration: none; }
.releases-cta { margin-top: 2rem; }

/* ===== POSTS GRID ===== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.post-card { display: flex; flex-direction: column; gap: 1rem; }
.post-thumb { aspect-ratio: 1/1; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.post-thumb:hover img { transform: scale(1.03); }
.post-meta { font-size: 0.65rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }
.post-title { font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.3; }
.post-title a { color: var(--text); }
.post-title a:hover { color: var(--accent); text-decoration: none; }
.read-more { display: inline-flex; align-items: center; gap: 0.4em; color: var(--accent); font-size: 0.75rem; font-weight: 700; }
.read-more svg { width: 18px; height: 18px; fill: currentColor; }

/* ===== ARTICLE PAGE ===== */
.article-wrap {
  max-width: 842px;
  margin: 0 auto;
  padding: calc(var(--hdr-h) + 4rem) 1.5rem 5rem;
}
.article-meta { font-size: 0.65rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.article-title { margin-bottom: 2rem; }
.article-featured { margin-bottom: 2.5rem; border-radius: 2px; overflow: hidden; }
.article-featured img { width: 100%; }
.article-body h2 { margin: 2rem 0 0.8rem; }
.article-body h3 { margin: 1.5rem 0 0.6rem; }
.article-body ul, .article-body ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.article-body li { margin-bottom: 0.3em; }
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1.2em;
  margin: 1.5em 0;
  color: var(--muted);
  font-style: italic;
}

/* ===== BIO PAGE ===== */
.page-wrap {
  max-width: 842px;
  margin: 0 auto;
  padding: calc(var(--hdr-h) + 4rem) 1.5rem 5rem;
}
.page-wrap h1 { margin-bottom: 2rem; }
.page-wrap h2 { margin-top: 2.5rem; margin-bottom: 1rem; }

/* ===== FOOTER ===== */
.site-footer {
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.65rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===== SCREEN READER ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .releases-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 3.5rem 0; }
}
@media (max-width: 767px) {
  body { font-size: 18px; }
  .releases-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: flex-start; }
  .section { padding: 2.5rem 0; }
}
