/* ============================================================
   Chris Fullerton — site styles
   Design language: the Epilepsy Blues CD package by Zoard Wells
   Tyeklar. Aged paper, black ink line work, highlighter-yellow
   title bars, kelly green, pale blue-gray, sparing red.
   ============================================================ */
:root{
  --paper:#E3D0A0;      /* kraft-paper / aged show-bill stock (never white!) */
  --ink:#1A1A1A;        /* pen ink */
  --ink-dim:#5E4F30;    /* faded ink, warmed to match the paper */
  --hi:#509395;         /* dusty turquoise — cool complementary pop against the warm paper, replaces the warm-on-warm yellow */
  --green:#049600;      /* cactus green (sampled) */
  --green-deep:#04720A; /* readable link green */
  --red:#B30000;        /* scribble red (sampled) */
  --bluegray:#C9D5DE;   /* smoke + hands */
  --font-slim:'Slimeball', 'Permanent Marker', cursive; /* trial: nav + subtext */
  /* hand-drawn box wobble */
  --wobble:255px 15px 225px 15px / 15px 225px 15px 255px;
}
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  background:var(--paper);
  color:var(--ink);
  font-family:'Libre Franklin', sans-serif;
  line-height:1.6;
}
a{
  color:var(--green-deep);
  text-decoration-thickness:1.5px;
  text-underline-offset:.25em;
}
a:hover{ background:var(--hi); color:var(--ink); }
a:focus-visible, button:focus-visible{ outline:3px solid var(--red); outline-offset:3px; }

.bill{
  max-width:760px;
  margin:0 auto;
  padding:2.5rem 1.25rem 4rem;
}

/* ===== Hand-drawn frame ===== */
.frame{
  border:3px solid var(--ink);
  border-radius:var(--wobble);
  padding:2.5rem 1.5rem;
  background:var(--paper);
}

.eyebrow{
  font-family:var(--font-slim);
  font-weight:700;
  letter-spacing:.35em;
  text-transform:uppercase;
  font-size:1.05rem;
  text-align:center;
  color:var(--ink-dim);
}
h1{
  font-family:'Permanent Marker', cursive;
  font-weight:400;
  text-align:center;
  font-size:clamp(2.2rem, 8vw, 4rem);
  line-height:1.1;
  margin:.75rem 0 .5rem;
}
.hero-lockup{ text-align:center; margin:1.25rem 0 .75rem; }
.hero-lockup img{
  width:min(560px, 100%);
  height:auto;
  mix-blend-mode:multiply;
}

/* Flanking storm clouds around a heading — bottom-aligned so the
   bolt tips read as hanging just below the text, not boxed beside it. */
.hero-row{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:.5rem 1rem;
  flex-wrap:wrap;
  margin:.75rem 0 .5rem;
}
.hero-row h1{ margin:0; }
.hero-row .cloud{
  height:clamp(52px, 12vw, 84px);
  width:auto;
  mix-blend-mode:multiply;
  position:relative;
  top:14px; /* let the bolt tips hang a little below the headline */
}
.tagline{
  font-family:var(--font-slim);
  text-align:center;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:1.2rem;
}
.tagline mark, .hi{
  background:var(--hi);
  color:var(--ink);
  padding:.05em .45em;
}

nav.billnav{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:.35rem 1.4rem;
  margin-top:1.25rem;
  font-family:var(--font-slim);
  font-size:1.25rem;
}
nav.billnav a{ text-decoration:none; color:var(--ink); padding:.05em .4em; }
nav.billnav a:hover{ background:var(--hi); }
nav.billnav [aria-current="page"]{
  background:var(--hi);
  transform:rotate(-1.5deg);
  display:inline-block;
}

.stars{
  display:flex; align-items:center; gap:1rem;
  margin:2.25rem 0;
  color:var(--ink);
}
.stars::before, .stars::after{
  content:""; flex:1; border-top:2px solid var(--ink); opacity:.75;
}

h2{
  font-family:'Permanent Marker', cursive;
  font-weight:400;
  font-size:1.35rem;
  margin-bottom:.9rem;
  text-align:center;
}
h2 > span, .h2-hi{
  background:var(--hi);
  padding:.05em .5em;
  display:inline-block;
  transform:rotate(-1.2deg);
}
section p{ max-width:56ch; margin:0 auto 1rem; text-align:center; }

/* art images sit on the paper like they were drawn there */
.art-img{
  display:block;
  margin:0 auto 1.25rem;
  max-width:100%;
  height:auto;
  mix-blend-mode:multiply;
}

.records{
  list-style:none;
  max-width:34rem;
  margin:0 auto;
}
.records li{
  display:flex; justify-content:space-between; gap:1rem;
  padding:.7rem .25rem;
  border-bottom:2px dotted var(--ink);
  font-size:1.02rem;
}
/* row rule already underlines the entry — bare links read cleaner here */
.records a{ text-decoration:none; }
.records a:hover{ background:var(--hi); }
.records .year{ color:var(--ink-dim); font-variant-numeric:tabular-nums; }
.listen-links{ margin-top:1rem; }

.tour-card{
  border:2px solid var(--ink);
  border-radius:var(--wobble);
  padding:1.5rem 1.25rem;
  text-align:center;
  max-width:34rem;
  margin:0 auto;
}
.tour-card strong{
  font-family:'Permanent Marker', cursive;
  display:block;
  font-size:1.25rem;
  margin-bottom:.35rem;
}

.cta{
  display:inline-block;
  margin-top:1rem;
  background:var(--hi);
  color:var(--ink);
  border:2px solid var(--ink);
  border-radius:var(--wobble);
  text-decoration:none;
  font-family:'Permanent Marker', cursive;
  font-size:1rem;
  padding:.7rem 1.5rem;
  transform:rotate(-1deg);
}
.cta:hover{ background:var(--ink); color:var(--hi); }

footer{
  text-align:center;
  margin-top:2.5rem;
  font-size:.85rem;
  color:var(--ink-dim);
}
footer a{ color:var(--ink-dim); }

/* ===== Music page (Bandcamp + Spotify embeds) ===== */
.bc-player{
  display:block;
  border:0;
  width:100%;
  max-width:34rem;
  margin:0 auto;
}
.bc-track{ height:120px; }

/* Spotify's own fixed height — internally scrollable, so it never
   over- or under-shoots regardless of track count (unlike Bandcamp's
   large tracklist player, which has no documented height formula). */
.spotify-player{
  display:block;
  border:0;
  border-radius:12px;
  width:100%;
  max-width:34rem;
  height:352px;
  margin:0 auto;
}
.release-note{
  text-align:center;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
  font-size:.85rem;
  color:var(--ink-dim);
  margin-bottom:.75rem;
}

/* ===== Tour page ===== */
.tour-table{
  width:100%;
  max-width:34rem;
  margin:0 auto;
  border-collapse:collapse;
}
.tour-table th{
  font-family:'Permanent Marker', cursive;
  font-weight:400;
  font-size:1rem;
  text-align:left;
  padding:.5rem .5rem;
  border-bottom:3px solid var(--ink);
}
.tour-table td{
  padding:.7rem .5rem;
  border-bottom:2px dotted var(--ink);
  font-size:1.02rem;
}
.tour-table .tba{ color:var(--ink-dim); font-variant-numeric:tabular-nums; }

/* ===== Downloads / EPK page ===== */
.dl-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(14rem, 1fr));
  gap:1.25rem;
  max-width:36rem;
  margin:0 auto;
}
.dl-card{
  border:2px solid var(--ink);
  border-radius:var(--wobble);
  padding:1rem;
  text-align:center;
  display:flex;
  flex-direction:column;
  gap:.6rem;
}
.dl-card img{
  width:100%;
  height:auto;
  mix-blend-mode:multiply;
}
.dl-card .dl-name{
  font-family:'Permanent Marker', cursive;
  font-size:.95rem;
}
.dl-card .dl-note{ font-size:.85rem; color:var(--ink-dim); margin:0; }
.dl-card a.cta{ margin-top:auto; align-self:center; padding:.5rem 1.1rem; font-size:.85rem; }

.booklet-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(15rem, 1fr));
  gap:1rem;
  max-width:36rem;
  margin:0 auto 1rem;
}
.booklet-grid a{
  display:block;
  border:2px solid var(--ink);
  border-radius:8px;
  padding:.4rem;
  background:var(--paper);
}
.booklet-grid a:hover{ background:var(--hi); }
.booklet-grid img{
  width:100%;
  height:auto;
  display:block;
  mix-blend-mode:multiply;
}

.bio-block{
  max-width:36rem;
  margin:0 auto;
  text-align:left;
}
.bio-block p{ text-align:left; max-width:none; }

/* ===== One-sheet (print-friendly page) ===== */
body.onesheet{
  background:var(--paper);
  color:var(--ink);
}
body.onesheet .sheet{
  max-width:52rem;
  margin:0 auto;
  padding:2rem 1.5rem;
}
body.onesheet header.sheet-head{
  text-align:center;
  border-bottom:3px solid var(--ink);
  padding-bottom:1rem;
  margin-bottom:1.5rem;
}
body.onesheet h1{
  font-size:clamp(2rem, 6vw, 3.2rem);
  margin:.25rem 0;
}
body.onesheet .sheet-sub{
  font-weight:700;
  letter-spacing:.25em;
  text-transform:uppercase;
  font-size:.9rem;
  color:var(--ink-dim);
}
body.onesheet .sheet-cols{
  display:flex;
  flex-wrap:wrap;
  gap:1.5rem;
  align-items:flex-start;
}
body.onesheet .sheet-cols img{
  width:min(240px, 100%);
  height:auto;
  mix-blend-mode:multiply;
}
body.onesheet .sheet-cols .sheet-main{ flex:1 1 22rem; }
body.onesheet h2{
  text-align:left;
  margin-top:1.25rem;
}
body.onesheet p{ margin-bottom:.8rem; }
body.onesheet blockquote{
  margin:.6rem 0;
  padding-left:1rem;
  border-left:4px solid var(--hi);
  font-style:italic;
}
body.onesheet blockquote cite{
  display:block;
  font-style:normal;
  font-size:.85rem;
  color:var(--ink-dim);
}
body.onesheet footer.sheet-foot{
  margin-top:1.5rem;
  border-top:3px solid var(--ink);
  padding-top:.75rem;
  text-align:center;
  color:var(--ink-dim);
  font-size:.9rem;
}
.no-print{ text-align:center; margin-bottom:1rem; }
@media print{
  .no-print{ display:none; }
  body.onesheet{ background:#fff; }
  body.onesheet .sheet{ padding:0; }
  body.onesheet a{ color:var(--ink); text-decoration:none; }
}

/* ===== Press page ===== */
.award{
  border:2px solid var(--ink);
  border-radius:var(--wobble);
  max-width:34rem;
  margin:0 auto;
  padding:1.25rem 1.5rem;
  text-align:center;
}
.award strong{
  font-family:'Permanent Marker', cursive;
  font-size:1.15rem;
  display:block;
}
.award span{ color:var(--ink-dim); font-size:.9rem; }

.quotes{ max-width:36rem; margin:0 auto; }
.quotes blockquote{
  margin:0 0 1.75rem;
  text-align:center;
}
.quotes blockquote p{
  font-size:1.08rem;
  font-style:italic;
  quotes:"\201C" "\201D";
}
.quotes blockquote p::before{ content:open-quote; color:var(--red); }
.quotes blockquote p::after{ content:close-quote; color:var(--red); }
.quotes cite{
  display:block;
  margin-top:.4rem;
  font-style:normal;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:.8rem;
  color:var(--ink-dim);
}
.quotes cite b{ color:var(--green-deep); font-weight:700; }

.album-feature{
  display:flex;
  flex-wrap:wrap;
  gap:1.5rem;
  align-items:center;
  justify-content:center;
  max-width:36rem;
  margin:0 auto 1rem;
}
.album-feature img{
  width:min(260px, 100%);
  height:auto;
  mix-blend-mode:multiply;
}
.album-feature .meta{ flex:1 1 16rem; text-align:center; }
.album-feature .meta p{ margin-bottom:.75rem; }

/* ===== Code page (software portfolio) ===== */
.skills{
  list-style:none;
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:.45rem;
  max-width:34rem;
  margin:0 auto 1rem;
}
.skills li{
  border:2px solid var(--ink);
  border-radius:var(--wobble);
  padding:.1rem .7rem;
  font-size:.88rem;
  font-weight:500;
}
.project{
  border:2px solid var(--ink);
  border-radius:var(--wobble);
  padding:1.25rem;
  max-width:36rem;
  margin:0 auto 1.5rem;
}
/* plug-in screenshots are real UI renders — keep them true-color, not multiplied into the paper */
.project img{
  display:block;
  width:100%;
  height:auto;
  border:2px solid var(--ink);
  border-radius:6px;
  margin-bottom:1rem;
}
.project h3{
  font-family:'Permanent Marker', cursive;
  font-weight:400;
  font-size:1.2rem;
  text-align:center;
}
.project h3 a{ color:var(--ink); }
.project-meta{
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:.75rem;
  color:var(--ink-dim);
  margin-bottom:.6rem !important;
}
.project p{ text-align:left; max-width:none; }
.project p.project-meta{ text-align:center; }
.project p:last-child{ margin-bottom:0; }
.more-repos{ font-size:.95rem; }
.project p.dedication{
  font-style:italic;
  border-left:4px solid var(--hi);
  padding-left:.8rem;
}
