/* =========================================================
   Russ Courtenay — songwriter / drummer / producer
   Visual identity: "session sheet" — the warm, low-lit room
   of a recording studio, credits laid out like tracklist
   entries on a multitrack tape box.
   ========================================================= */

:root {
  --bg: #15120f;
  --bg-alt: #1d1815;
  --bg-raised: #241e19;
  --line: #3a2f22;
  --text: #f3ecdf;
  --text-muted: #b7a896;
  --accent: #e8a33d;   /* VU-meter amber */
  --accent-2: #b8433a; /* peak-indicator red */
  --accent-soft: rgba(232, 163, 61, 0.14);
  --radius: 2px;
  --max: 72rem;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration-color: rgba(232,163,61,0.4); }
a:hover { text-decoration-color: var(--accent); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #15120f;
  padding: 0.6em 1em;
  z-index: 100;
  font-family: var(--mono);
  font-size: 0.85rem;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.4em;
  height: 1px;
  background: var(--accent);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- header / nav (styled like a mixing-desk strip) --- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  position: relative;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent) 35%, var(--accent) 65%, var(--accent-2));
  opacity: 0.7;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--text);
}
.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  object-fit: cover;
}
.brand-text .name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  display: block;
}
.brand-text .role {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-nav {
  margin-left: auto;
}
.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}
.site-nav a {
  display: inline-block;
  padding: 0.5em 0.8em;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
  border-color: var(--line);
  background: var(--accent-soft);
}
.site-nav a[aria-current="page"] { color: var(--accent); }

/* ---------- vu meter rule --------------------------------- */
.vu {
  height: 3px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--accent) 0 6px,
    transparent 6px 10px
  );
  opacity: 0.55;
}
@media (prefers-reduced-motion: no-preference) {
  .vu { animation: vu-pulse 3.2s ease-in-out infinite; }
}
@keyframes vu-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.75; }
}

/* ---------- hero ------------------------------------------- */

.hero {
  padding: 3.5rem 0 3rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero p.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 40ch;
}
.hero-photo {
  border: 1px solid var(--line);
  padding: 0.5rem;
  background: var(--bg-alt);
}
.hero-photo img { width: 100%; }

/* ---------- session sheet (credit reel) --------------------- */

.session-sheet {
  border: 1px solid var(--line);
  background: var(--bg-alt);
  margin: 2rem 0;
}
.session-sheet .sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.reel {
  list-style: none;
  margin: 0;
  padding: 0;
}
.reel li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  border-bottom: 1px solid var(--line);
}
.reel li:last-child { border-bottom: none; }
.reel .track-no {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.85rem;
  padding: 0.9rem 0;
  text-align: center;
  border-right: 1px solid var(--line);
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reel .track-body {
  padding: 0.9rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 0.8em;
  align-items: baseline;
}
.reel .track-body strong { font-family: var(--serif); font-size: 1.05rem; }
.reel .track-body span.role {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- section rhythm ----------------------------------- */

main > section, .page-hero {
  padding: 2.75rem 0;
}
main > section + section {
  border-top: 1px solid var(--line);
}

/* ---------- discography / credit cards ------------------------ */

.credit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 145px));
  justify-content: start;
  gap: 1rem;
  margin-top: 1.5rem;
}
.credit-card {
  border: 1px solid var(--line);
  background: var(--bg-alt);
  overflow: hidden;
}
.credit-card .art {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0d0b09;
}
.credit-card .art img {
  width: 100%; height: 100%; object-fit: cover;
}
.credit-card .meta { padding: 0.6rem 0.7rem 0.8rem; }
.credit-card .artist {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.credit-card h3 {
  font-size: 0.85rem;
  margin: 0.2em 0 0.1em;
}
.credit-card .year {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}
.credit-card a.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.credit-card a.card-link:hover h3 { color: var(--accent); }

/* ---------- video grid ---------------------------------------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}
.video-card {
  border: 1px solid var(--line);
  background: var(--bg-alt);
}
.video-frame {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-frame iframe,
.video-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-card .meta {
  padding: 0.85rem 1rem 1.1rem;
}
.video-card .artist {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.video-card h3 { font-size: 1rem; margin: 0.2em 0 0; }

/* ---------- news feed ------------------------------------------ */

.news-feed {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.news-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) {
  .news-item { grid-template-columns: 1fr; }
}
.news-item .art {
  border: 1px solid var(--line);
  background: var(--bg-alt);
  align-self: start;
}
.news-item time {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35em;
}
.news-item .artist {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.news-item h3 { margin: 0.2em 0 0.35em; font-size: 1.15rem; }
.news-item p { margin: 0.3em 0; color: var(--text-muted); }
.news-item a { color: var(--accent); }

/* ---------- gallery --------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}
.gallery-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  overflow: hidden;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .gallery-grid a:hover img { transform: scale(1.04); }
}

/* ---------- contact ---------------------------------------------- */

.contact-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 1.75rem;
  margin-top: 1.5rem;
}
@media (max-width: 600px) {
  .contact-card { grid-template-columns: 1fr; }
}
.contact-card img { border: 1px solid var(--line); }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--accent);
  margin-top: 0.6em;
  padding: 0.6em 1em;
  border: 1px solid var(--line);
  text-decoration: none;
}
.contact-email:hover { background: var(--accent-soft); }

/* ---------- footer ------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.78rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--accent); }
