:root {
  --bg: #0f0f0f;
  --bg-alt: #1a1a1a;
  --panel: #242424;
  --text-main: #f5f5f5;
  --text-muted: #999999;
  --accent: #ffcc00;
  --accent-dark: #b38f00;
  --border: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(255, 204, 0, 0.3);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  background-color: #2a2a2a;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover { color: var(--accent); }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

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

.skip-link {
  position: absolute;
  top: -50px;
  left: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 10px 20px;
  z-index: 1000;
  transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* Typography */
.kicker {
  display: inline-block;
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  font-weight: 700;
}
.kicker::before {
  content: "■";
  font-size: 0.7em;
  margin-right: 6px;
  vertical-align: middle;
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}
.section__title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}
.section__title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 4px;
  background: var(--accent);
}
.section__dek {
  color: var(--text-muted);
  max-width: 400px;
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}
.btn--solid {
  background: var(--accent);
  color: var(--bg);
}
.btn--solid:hover {
  background: #ffe066;
  color: var(--bg);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: var(--bg);
}
.btn--small {
  padding: 8px 16px;
  font-size: 0.85rem;
}
.btn--block {
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.site-header__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__logo {
  height: 36px;
  width: auto;
  border-radius: 6px;
}
.brand__text {
  display: flex;
  flex-direction: column;
}
.brand__text strong {
  font-size: 1.2rem;
  color: var(--text-main);
}
.brand__text small {
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}
.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  color: var(--text-muted);
  font-weight: 500;
}
.nav a:hover, .nav a.active {
  color: var(--accent);
}
.header__actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: background 0.3s;
}
.nav-toggle:hover span { background: var(--accent); }

/* Ticker */
.ticker {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  height: 40px;
  display: flex;
  align-items: center;
  margin-top: 72px;
  overflow: hidden;
}
.ticker__inner {
  display: flex;
  align-items: center;
  width: 100%;
}
.ticker__label {
  background: var(--accent);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 12px;
  margin-right: 16px;
  white-space: nowrap;
  z-index: 2;
}
.ticker__viewport {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker__track {
  display: flex;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.ticker__track span {
  margin-right: 32px;
  position: relative;
}
.ticker__track span::after {
  content: "•";
  color: var(--accent);
  position: absolute;
  right: -20px;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* Frontpage */
.frontpage {
  padding: 80px 0;
}
.masthead {
  margin-bottom: 64px;
}
.masthead__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.masthead__meta span::before {
  content: "■";
  color: var(--accent);
  font-size: 0.6em;
  margin-right: 8px;
  vertical-align: middle;
}
.masthead__title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  text-shadow: 2px 2px 0 rgba(255, 204, 0, 0.2);
}
.masthead__slogan {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 32px;
}
.masthead__slogan::before { content: "“"; }
.masthead__slogan::after { content: "”"; }
.masthead__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.masthead__foot p {
  color: var(--text-muted);
  max-width: 600px;
}
.masthead__issue {
  text-align: right;
}
.masthead__issue strong {
  display: block;
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
}
.masthead__issue small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.frontpage__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.cover-frame {
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  position: relative;
}
.cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cover-frame:hover img {
  transform: scale(1.05);
}
.stamp {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 4px;
  z-index: 2;
}
.lead__caption {
  margin-top: 20px;
}
.lead__caption h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.lead__caption p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.dispatch {
  border-left: 1px solid var(--border);
  padding-left: 24px;
}
.dispatch__lead {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-main);
}
.dispatch p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.dispatch__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.dispatch__note {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  margin-top: 24px;
}

.side-covers {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.side-card {
  position: relative;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}
.side-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.side-card__rank {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 2;
}
.side-card img {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.side-card__title {
  font-size: 1.1rem;
  margin-top: 12px;
  margin-bottom: 4px;
}
.side-card__tag {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.side-link {
  display: inline-block;
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 8px;
  font-weight: 500;
}
.side-link::after { content: " →"; }

/* Cover Story */
.cover-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cover-story__figure figcaption {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cover-story__figure figcaption::before {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  background: var(--accent);
}
.cover-story__lead {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.4;
}
.cover-story__text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.pullquote {
  border-left: 4px solid var(--accent);
  padding-left: 24px;
  margin: 32px 0;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.5;
}
.text-link {
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
}
.text-link::after { content: " →"; transition: transform 0.3s; display: inline-block; }
.text-link:hover::after { transform: translateX(4px); }

/* Lineup */
.lineup__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.lineup__lead {
  position: relative;
}
.rank-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--bg);
  font-size: 2rem;
  font-weight: 900;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  z-index: 2;
}
.lineup__lead-body {
  margin-top: 24px;
}
.lineup__lead-body h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.lineup__lead-body p {
  color: var(--text-muted);
  margin-bottom: 16px;
}
.lineup__meta {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.lineup__list {
  list-style: none;
}
.lineup__item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.lineup__item:hover {
  background: rgba(255, 255, 255, 0.02);
}
.lineup__rank {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  width: 40px;
  flex-shrink: 0;
}
.lineup__item img {
  width: 80px;
  height: 106px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.lineup__item-info {
  flex: 1;
}
.lineup__item-info h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.lineup__item-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.tag {
  background: var(--accent);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.section__cta {
  text-align: center;
  margin-top: 48px;
}

/* Genre */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.genre-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  transition: all 0.3s ease;
}
.genre-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.genre-card .cover-frame {
  margin-bottom: 16px;
  border: none;
}
.genre-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.genre-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.genre-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  justify-content: center;
}
.genre-chips span {
  padding: 6px 16px;
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--accent);
  cursor: default;
  transition: all 0.3s;
}
.genre-chips span:hover {
  background: var(--accent);
  color: var(--bg);
}

/* Standards */
.standards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.standard {
  border-top: 2px solid var(--accent);
  padding-top: 24px;
}
.standard__num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.standard h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.standard p {
  color: var(--text-muted);
}

/* Lab */
.lab__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.lab__panel {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.lab__panel--after {
  border-left: 4px solid var(--accent);
}
.lab__label {
  background: var(--accent);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 20px;
}
.lab__line {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 16px;
  line-height: 1.4;
}
.lab__panel p {
  color: var(--text-muted);
}
.lab__switch {
  font-size: 3rem;
  color: var(--accent);
  font-weight: bold;
}
.lab__note {
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  text-align: center;
}

/* Editor */
.editor__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg-alt);
  border-radius: 24px;
  border: 1px solid var(--border);
}
.editor__quote {
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-main);
  border-left: 6px solid var(--accent);
  padding-left: 24px;
  margin-bottom: 24px;
}
.editor__by {
  text-align: right;
  color: var(--text-muted);
  font-weight: bold;
  margin-bottom: 32px;
}
.editor__body {
  color: var(--text-muted);
  line-height: 1.8;
}

/* FAQ */
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}
.faq__intro h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
.faq__intro p {
  color: var(--text-muted);
}
.faq__list details {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq__list details:hover {
  border-color: var(--border-accent);
}
.faq__list summary {
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.5rem;
  transition: transform 0.3s;
}
.faq__list details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}
.faq__answer {
  padding: 0 20px 20px 20px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* Download */
.download {
  background: var(--bg-alt);
  border: 1px solid var(--border-accent);
  border-radius: 24px;
  padding: 60px;
  margin: 80px 0;
  box-shadow: 0 0 40px rgba(255, 204, 0, 0.05);
}
.download__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.download__copy h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.download__copy p {
  color: var(--text-muted);
  margin-bottom: 24px;
}
.download__ticket {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-top: 16px;
}
.download__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dl-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s;
}
.dl-btn:hover {
  border-color: var(--accent);
}
.dl-btn strong {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 4px;
}
.dl-btn span {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.dl-btn:hover strong, .dl-btn:hover span {
  color: var(--accent);
}
.download__meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__col h3 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer__bottom a {
  color: var(--text-muted);
}
.footer__bottom a:hover {
  color: var(--accent);
}

/* Fixed Elements */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  gap: 12px;
  z-index: 100;
}
.mobile-cta .btn { flex: 1; }

.to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--bg);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 99;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
}
.to-top:hover {
  background: var(--accent);
  color: var(--bg);
}

/* Drawer */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-alt);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.drawer.open {
  transform: translateX(0);
}
.drawer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.drawer__close {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}
.drawer__close:hover { color: var(--accent); }
.drawer__nav {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}
.drawer__nav a {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.1rem;
}
.drawer__nav a small {
  color: var(--accent);
}
.drawer__foot {
  padding: 24px;
  border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 1200px) {
  .frontpage__grid { grid-template-columns: 1fr 1fr; }
  .side-covers { grid-column: span 2; flex-direction: row; }
  .side-card { flex: 1; border-bottom: none; padding-bottom: 0; }
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .frontpage__grid, .cover-story__grid, .lineup__grid, .faq__grid, .download__grid { grid-template-columns: 1fr; }
  .side-covers { flex-direction: column; grid-column: span 1; }
  .side-card { border-bottom: 1px solid var(--border); padding-bottom: 24px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .mobile-cta { display: flex; }
  .to-top { bottom: 80px; }
  .lab__grid { grid-template-columns: 1fr; }
  .lab__switch { transform: rotate(90deg); text-align: center; margin: 16px 0; }
  .download { padding: 40px 24px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .masthead__title { font-size: 2.8rem; }
  .masthead__foot { flex-direction: column; align-items: flex-start; gap: 24px; }
  .masthead__issue { text-align: left; }
  .section__title { font-size: 2rem; }
  .btn { width: 100%; }
  .dispatch__actions { flex-direction: column; }
  .genre-grid, .standards__grid { grid-template-columns: 1fr; }
  .lineup__item img { display: none; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}