/* DanFan — fan-club zine. 2026 refresh. */
:root {
  --paper: #faf7f0;
  --card: #ffffff;
  --ink: #1e1e46;
  --muted: #67678a;
  --ultra: #2f3bd3;
  --ultra-deep: #212a9e;
  --fluoro: #ff5c00;
  --rule: #e6e2d5;
  --max: 960px;
  --narrow: 670px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16162a;
    --card: #1f1f38;
    --ink: #ecebf4;
    --muted: #9c9cb8;
    --ultra: #8b93ff;
    --ultra-deep: #a6acff;
    --fluoro: #ff7a33;
    --rule: #2e2e4c;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 17px/1.7 "Nunito Sans", system-ui, sans-serif; }
a { color: var(--ultra-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.4rem; }
.zine { font-family: "Bungee", Impact, sans-serif; font-weight: 400; }

header.site { border-bottom: 4px solid var(--fluoro); padding: 0.9rem 0; background: var(--ultra); }
header.site .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
header.site .wordmark { font-family: "Bungee", Impact, sans-serif; font-size: 1.1rem; color: #fff; }
header.site .wordmark span { color: var(--fluoro); }
header.site .wordmark:hover { text-decoration: none; }
nav.top { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: 0.84rem; font-weight: 900; }
nav.top a { color: #cdd2ff; }
nav.top a:hover { color: #fff; text-decoration: none; }
@media (prefers-color-scheme: dark) {
  header.site { background: #212a63; }
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--fluoro);
  border-radius: 999px;
  padding: 0.26rem 0.75rem;
  transform: rotate(-2deg);
}

/* Hero */
.hero { padding: 3.2rem 0 3rem; border-bottom: 4px solid var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.6rem; align-items: center; }
.hero h1 { font-family: "Bungee", Impact, sans-serif; font-size: clamp(2.1rem, 7vw, 3.6rem); line-height: 1.02; margin: 0.9rem 0 1rem; color: var(--ultra-deep); }
.hero h1 em { font-style: normal; color: var(--fluoro); }
.hero-sub { color: var(--muted); max-width: 30em; font-size: 1.02rem; }
.hero-art { width: 100%; height: auto; border: 4px solid var(--ink); border-radius: 4px; box-shadow: 9px 9px 0 var(--fluoro); transform: rotate(1.2deg); }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { box-shadow: 6px 6px 0 var(--fluoro); } }

main { padding: 2.8rem 0 3.4rem; }

/* Membership card — the signature */
.member-card {
  max-width: 640px;
  margin: 0 auto 3rem;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 1.4rem 1.7rem;
  box-shadow: 7px 7px 0 var(--ultra);
  transform: rotate(-0.8deg);
}
.member-card .mc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 3px dashed var(--rule); padding-bottom: 0.7rem; margin-bottom: 0.9rem; }
.member-card h2 { font-family: "Bungee", Impact, sans-serif; font-size: 1.05rem; color: var(--ultra-deep); }
.member-card .mc-no { font-weight: 900; color: var(--fluoro); font-size: 0.85rem; letter-spacing: 0.1em; }
.member-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.3rem 1.3rem; font-size: 0.95rem; }
.member-card dt { font-weight: 900; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--muted); padding-top: 0.25em; }

/* Issue cards */
.issues > h2 { font-family: "Bungee", Impact, sans-serif; font-size: 1.6rem; text-align: center; color: var(--ultra-deep); margin-bottom: 1.6rem; }
.issue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.issue {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.issue:nth-child(2) { transform: rotate(0.7deg); }
.issue:nth-child(3) { transform: rotate(-0.7deg); }
.issue:hover { text-decoration: none; transform: translateY(-4px) rotate(0); box-shadow: 6px 6px 0 var(--fluoro); }
.issue img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 3px solid var(--ink); }
.issue-body { padding: 1rem 1.15rem 1.25rem; }
.issue h3 { font-family: "Bungee", Impact, sans-serif; font-size: 1.02rem; margin: 0.35rem 0 0.4rem; color: var(--ultra-deep); }
.issue:hover h3 { color: var(--fluoro); }
.issue p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }
.issue-no { font-size: 0.7rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fluoro); }
@media (max-width: 760px) { .issue-grid { grid-template-columns: 1fr; } .issue { transform: none !important; } }

/* Issue pages */
article.spread { max-width: var(--narrow); margin: 0 auto; }
article.spread header { margin-bottom: 1.4rem; text-align: center; }
article.spread h1 { font-family: "Bungee", Impact, sans-serif; font-size: clamp(1.8rem, 5.5vw, 2.7rem); line-height: 1.08; color: var(--ultra-deep); margin: 0.7rem 0 0.4rem; }
.page-hero { display: block; width: 100%; height: auto; border: 4px solid var(--ink); border-radius: 4px; box-shadow: 8px 8px 0 var(--ultra); margin: 1.6rem 0 2rem; transform: rotate(-0.6deg); }
article.spread p { margin: 0 0 1.1rem; }
article.spread h2 { font-family: "Bungee", Impact, sans-serif; font-size: 1.25rem; color: var(--ultra-deep); margin: 1.9rem 0 0.7rem; }
article.spread ul.tidy { margin: 0 0 1.1rem 1.2rem; }
article.spread ul.tidy li { margin-bottom: 0.4rem; }
.cheer {
  font-family: "Bungee", Impact, sans-serif;
  font-size: 1.4rem;
  line-height: 1.3;
  text-align: center;
  color: var(--fluoro);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  padding: 1.1rem 0.4rem;
  margin: 1.8rem 0;
  transform: rotate(-1deg);
}

.blogroll dt { font-weight: 900; margin-top: 1.1rem; }
.blogroll dd { color: var(--muted); font-size: 0.95rem; margin-top: 0.15rem; }
.note { font-size: 0.88rem; font-style: italic; color: var(--muted); }

.pager {
  display: flex; justify-content: space-between; gap: 1rem;
  border-top: 4px solid var(--ink); margin-top: 2.6rem; padding-top: 1.1rem;
  font-size: 0.86rem; font-weight: 900;
}

footer.site { border-top: 1px solid var(--rule); padding: 1.5rem 0 2rem; font-size: 0.8rem; color: var(--muted); }
footer.site .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

:focus-visible { outline: 3px solid var(--fluoro); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .issue { transition: none; } }
