
:root {
  --pink: #ff46a2;
  --black: #000000;
  --white: #ffffff;
  --muted: #8b8b8b;
  --line: #202020;
}

@font-face {
  font-family: 'Anton';
  src: url('assets/Anton-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  font-family: "Courier New", Courier, monospace;
  letter-spacing: .01em;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--pink);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.96),
    rgba(0,0,0,.72),
    transparent
  );
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.mini-logo {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.topbar nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar nav a {
  font-size: 11px;
  text-transform: uppercase;
}

.topbar nav a[aria-current="page"] {
  color: var(--pink);
}

/* HOMEPAGE */

.home {
  flex: 1;
  position: relative;
  display: block;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  background: #000000;
}

.hero {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  text-align: center;
}

/* ANIMATED LOGO VIDEO */

.hero .hero-video {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);

  display: block;
  width: 100vw;
  height: 65vh;
  height: 65svh;
  max-width: none;
  max-height: none;
  margin: 0;

  aspect-ratio: auto;
  object-fit: contain;

  z-index: 0;
  pointer-events: none;
}

/* DATE AND TIME */

.dateline {
  position: absolute;
  top: 69%;
  left: 50%;
  transform: translateX(-50%);

  width: 100%;
  margin: 0;
  padding: 0 12px;

  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #d5d5d5;
  text-align: center;

  z-index: 2;
}

/* HOMEPAGE NAVIGATION */

.home-links {
  position: absolute;
  top: 74%;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  width: max-content;
  max-width: 95vw;
  margin: 0;

  z-index: 2;
}

.home-links a {
  font-size: 15px;
  text-transform: uppercase;
  transition: transform .15s ease, color .15s ease;
}

.home-links a:hover {
  transform: translateX(4px);
}

/* GENERAL PAGES */

.page {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 120px 24px 70px;
}

.page-kicker {
  font-size: 11px;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 14px;
}

h1 {
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(50px, 7vw, 100px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 28px;
}



h2 {
  margin: 0;
  font-size: 18px;
}

.copy {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.75;
}

.copy p {
  margin: 0 0 20px;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

/* ARTIST LIST */

.artist-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.artist-list li {
  border-bottom: 1px solid var(--line);
}

.artist-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 15px 0;
}

.artist-name {
  font-size: clamp(24px, 4vw, 52px);
  text-transform: uppercase;
  letter-spacing: -.04em;
}

.artist-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.artist-socials a {
  font-size: 10px;
  text-transform: uppercase;
  color: #aaa;
}

.artist-socials a:hover {
  color: var(--pink);
}

.shuffle {
  border: 1px solid #333;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 11px;
  text-transform: uppercase;
  padding: 10px 12px;
  cursor: pointer;
}

.shuffle:hover {
  border-color: var(--pink);
  color: var(--pink);
}

/* COVERS WALL */

.covers-wall {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(210px, 1fr)
  );
  gap: 20px;
  margin-top: 35px;
}

.cover-artist {
  display: block;
  position: relative;
  border: 1px solid var(--line);
  background: #111;
  min-height: 250px;
}

.cover-artist img {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.cover-artist img:not([src]) {
  min-height: 250px;
}

.cover-artist-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px;
  font-size: 12px;
  text-transform: uppercase;
}

.cover-artist-meta span {
  color: var(--pink);
}

/* EDITORIAL GRID */

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.issue-card {
  display: block;
}

.issue-cover {
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
  border: 1px solid #1f1f1f;
  transition: transform .2s ease, border-color .2s ease;
  background: #111;
}

.issue-card:hover .issue-cover {
  transform: translateY(-5px);
  border-color: var(--pink);
}

.issue-cover-link {
  display: block;
  position: relative;
}

.mystery-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(80px, 15vw, 180px);
  font-weight: bold;
  text-shadow: 0 4px 22px #000;
}

.issue-meta {
  padding-top: 10px;
}

.issue-number {
  font-size: 11px;
  color: var(--pink);
  text-transform: uppercase;
}

.issue-title {
  margin-top: 3px;
  font-size: 16px;
  text-transform: uppercase;
}

.issue-sub {
  margin-top: 3px;
  color: #777;
  font-size: 11px;
}

.countdown {
  margin-top: 12px;
  color: var(--pink);
  font-size: 12px;
  line-height: 1.6;
}

.small-note {
  color: #888;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 14px;
}

/* ISSUE READER */

.issue-reader {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 48px;
  align-items: start;
}

.issue-reader img {
  width: 100%;
  border: 1px solid var(--line);
}

.issue-copy {
  max-width: 650px;
  line-height: 1.7;
}

.backlink {
  display: inline-block;
  margin-top: 28px;
  font-size: 11px;
  text-transform: uppercase;
  color: #bbb;
}

/* CONTACT */

.contact-card {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: grid;
  gap: 9px;
  max-width: 680px;
}

.contact-card .name {
  font-size: clamp(28px, 5vw, 56px);
  text-transform: uppercase;
  letter-spacing: -.04em;
}

.contact-card a {
  font-size: 14px;
  color: #bbb;
}

.contact-card a:hover {
  color: var(--pink);
}

.contact-email {
  font-size: clamp(14px, 2.4vw, 19px);
  overflow-wrap: anywhere;
  color: #ddd;
}

.social-links {
  margin-top: 20px;
  text-transform: uppercase;
  font-size: 12px;
}

.muted {
  color: #aaa;
}

/* FOOTER */

footer {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 20px 24px 28px;
  color: #555;
  font-size: 10px;
  text-transform: uppercase;
}

/* TABLET */

@media (max-width: 800px) {
  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .issue-reader {
    grid-template-columns: 1fr;
  }
}

/* MOBILE */

@media (max-width: 560px) {
  .topbar {
    align-items: flex-start;
    gap: 14px;
  }

  .topbar nav {
    gap: 9px 12px;
    max-width: 220px;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .artist-row {
    grid-template-columns: 1fr;
  }

  .artist-socials {
    justify-content: flex-start;
  }

  .covers-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .cover-artist-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero .hero-video {
    top: 34%;
    width: 100vw;
    height: 48svh;
  }

  .dateline {
    top: 62%;
    font-size: 10px;
  }

  .home-links {
    top: 69%;
    gap: 10px;
  }

  .home-links a {
    font-size: 13px;
  }
}

/* SHORT SCREENS */

@media (max-height: 600px) {
  .hero {
    min-height: 650px;
  }
}


/* COVERS GRID */

.covers-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 35px;
}

.cover-artist {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

.cover-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #141414;
  border: 1px solid #333;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.cover-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform .3s ease;
}

.cover-placeholder {
  font-size: 12px;
  color: #777;
}

.cover-artist:hover .cover-image {
  border-color: var(--pink);
}

.cover-artist:hover img {
  transform: scale(1.04);
}

.cover-artist-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 12px;
}

.cover-artist-meta span {
  color: var(--pink);
}

/* PROFILE POPUP */

.profile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .9);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.profile-overlay.active {
  display: flex;
}

.profile-panel {
  position: relative;
  width: min(950px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  background: #080808;
  border: 1px solid #333;
}

.profile-close {
  position: absolute;
  top: 12px;
  right: 20px;
  border: 0;
  background: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
}

.profile-close:hover {
  color: var(--pink);
}

.profile-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.profile-image {
  aspect-ratio: 4 / 3;
  background: #141414;
  border: 1px solid #333;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-details h2 {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(36px, 5vw, 65px);
  font-weight: 400;
  line-height: 1;
  margin: 15px 0;
}

.profile-role {
  color: var(--pink);
  text-transform: uppercase;
  font-size: 13px;
}

.profile-bio {
  margin: 25px 0;
  color: #ccc;
  font-size: 13px;
  line-height: 1.8;
}

.profile-section {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid #333;
}

.profile-label {
  display: block;
  color: #888;
  font-size: 10px;
  margin-bottom: 12px;
}

.profile-issue {
  color: var(--pink);
  font-size: 12px;
}

.profile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
}

.profile-socials a:hover {
  color: var(--pink);
}

/* MOBILE: TWO COLUMNS */

@media (max-width: 700px) {
  .covers-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .cover-artist-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .profile-panel {
    padding: 50px 20px 25px;
  }

  .profile-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .profile-image {
    max-width: 350px;
  }
}


.profile-socials a {
  color: var(--pink);
  font-weight: bold;
  text-decoration: none;
}

.profile-socials a:hover {
  color: white;
  text-decoration: underline;
}

.download-link {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 20px;
    border: 1px solid currentColor;
    color: inherit;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}

.download-link:hover {
    background: #fff;
    color: #000;
}

/* IMAGE LOADING: preserve layout and show an intentional placeholder until ready */
.cover-image, .issue-cover-link, .issue-reader > img { background-color: #141414; }
img[data-image-pending="true"] { opacity: 0; }
img[data-image-pending="false"] { opacity: 1; transition: opacity .18s ease; }
img[data-image-error="true"] { opacity: 0; }
.cover-image:has(img[data-image-pending="true"])::after,
.issue-cover-link:has(img[data-image-pending="true"])::after {
  content: "LOADING IMAGE"; position: absolute; inset: 0;
  display: grid; place-items: center; pointer-events: none;
  color: #888; font: 10px "Courier New",monospace; letter-spacing: .12em;
}
.issue-cover-link img { display:block; }
.read-online-link { display: inline-block; margin-top: 13px; padding: 10px 13px;
  border:1px solid var(--pink); color:var(--pink); background:transparent; font:inherit;
  font-size:11px; letter-spacing:.08em; cursor:pointer; text-align:left; }
.read-online-link:hover { color:#000; background:var(--pink); }
.online-reader { margin-top: 52px; padding-top: 22px; border-top: 1px solid #333; }
.online-reader[hidden] { display:none; }
.online-reader-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.online-reader-heading h2 { font-family:'Anton',Impact,sans-serif; font-size:clamp(30px,4vw,54px); font-weight:400; }
.reader-external { color:var(--pink); font-size:11px; letter-spacing:.06em; }
.reader-help { color:#aaa; font-size:12px; line-height:1.6; margin:16px 0; }
.pdf-frame { display:block; width:100%; height:min(82vh,1000px); min-height:500px; border:1px solid #333; background:#1a1a1a; }
@media(max-width:560px){ .pdf-frame { min-height:450px; height:70vh; } }
