/* Josh Anderson Music — Night Stage
   Implementation of direction B from "Josh Anderson Music.dc.html". */

/* ── Fonts ──────────────────────────────────────────────────────────────
   Self-hosted from Google Fonts. Archivo is variable across 400–800 (the
   page uses all five). Archivo italic and both Newsreader faces are pinned
   to the single weight in use — see README before setting a new weight on
   either. latin-ext only downloads when a glyph outside latin appears. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/archivo-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/archivo-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/archivo-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/archivo-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/newsreader-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/newsreader-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/newsreader-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/newsreader-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #ece7de;
  --bg: #0d0c0b;
  --panel: #131110;
  --card: #191715;
  --card-line: #262220;
  --rule: #221f1c;
  --line: #34302b;
  --muted: #8c8478;
  --body: #b7afa3;
  --accent: #c9463c;
  --green: #7f9a80;
  --dim: #5c554c;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --wide: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

#top { position: absolute; top: 0; }

section { max-width: var(--wide); margin-inline: auto; }
.hero, .press, .bands, .booking { max-width: none; }

/* ── Header ─────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem var(--gutter);
  background: rgba(13, 12, 11, .7);
  backdrop-filter: blur(14px);
}

.mark { font-size: .95rem; font-weight: 700; letter-spacing: -.02em; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav a:hover { color: var(--ink); }

.nav-cta { color: var(--ink); border: 1px solid var(--line); padding: .45rem .9rem; }
.nav-cta:hover { background: var(--ink); color: var(--bg); }

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: clamp(520px, 86svh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #141210;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(.15) contrast(1.05);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 12, 11, .45) 0%, rgba(13, 12, 11, .3) 40%, rgba(13, 12, 11, .95) 100%);
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 4.5rem) var(--gutter);
}

.hero-title { font-size: clamp(3.2rem, 11vw, 9rem); font-weight: 800; line-height: .88; letter-spacing: -.045em; margin: 0 0 1.25rem; }

.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem 3rem; align-items: end; }

.hero-lede {
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  line-height: 1.5;
  color: #c6bfb4;
  margin: 0;
  max-width: 40ch;
  text-wrap: pretty;
}
.hero-lede span { color: var(--ink); }

.cta-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.btn { padding: .95rem 1.7rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.btn-solid { background: var(--ink); color: var(--bg); font-weight: 700; }
.btn-solid:hover { background: var(--accent); color: #fff; }
.btn-ghost { border: 1px solid #4a443c; font-weight: 600; }
.btn-ghost:hover { border-color: var(--ink); }

/* ── Press ──────────────────────────────────────────────────────────── */

.press { border-top: 1px solid var(--rule); background: var(--panel); }

.press-grid {
  max-width: var(--wide);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.25rem) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.press blockquote { margin: 0; }
.press p {
  font-family: Newsreader, Georgia, serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  font-weight: 300;
  line-height: 1.5;
  margin: 0 0 .8rem;
  text-wrap: pretty;
}
.press cite { font-style: normal; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

/* ── Shows ──────────────────────────────────────────────────────────── */

.shows { padding: clamp(3rem, 8vw, 6.5rem) var(--gutter); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }

h2 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -.04em; margin: 0; }

.upcoming { margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.show-list { list-style: none; margin: 0; padding: 0; }

.show {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: 1.4rem .5rem;
  border-bottom: 1px solid var(--rule);
}
.show:hover { background: #141211; }
.show.is-past { opacity: .42; }

.show-day { font-size: 1.75rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.show-mon { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.show-band { font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .3rem; }
.show-venue { font-size: clamp(1.1rem, 2.2vw, 1.45rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 .25rem; }
.show-meta { margin: 0; font-size: .85rem; color: var(--muted); }

.show-status {
  justify-self: end;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .5rem .85rem;
  white-space: nowrap;
  border: 0;
}
.show-status.has-border { border: 1px solid #2c2824; }
a.show-status:hover { color: var(--ink); border-color: var(--ink); }

.note { margin: 1.5rem 0 0; font-size: .9rem; color: var(--muted); }
.note a { color: var(--accent); border-bottom: 1px solid rgba(201, 70, 60, .4); }

/* ── Bands ──────────────────────────────────────────────────────────── */

.bands { border-top: 1px solid var(--rule); background: var(--panel); }
.bands-inner { max-width: var(--wide); margin-inline: auto; padding: clamp(3rem, 8vw, 6.5rem) var(--gutter); }
.bands h2 { margin-bottom: .6rem; }
.sub { margin: 0 0 clamp(2rem, 5vw, 3rem); font-size: .95rem; color: var(--muted); max-width: 52ch; }
.bands-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }

.band { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--card-line); overflow: hidden; }
.band-photo { width: 100%; height: 320px; object-fit: contain; object-position: 50% 50%; background: var(--card); filter: grayscale(.15) brightness(.92); }


.band-body { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; flex: 1; }
.band-kicker { margin: 0 0 .4rem; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.kicker-geraldine { color: var(--green); }
.kicker-donkey { color: var(--accent); }
.band-name { font-size: clamp(1.75rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -.035em; margin: 0 0 .8rem; }
.band-copy { margin: 0 0 1.25rem; font-size: .96rem; line-height: 1.65; color: var(--body); text-wrap: pretty; }
.band-copy b { color: var(--ink); font-weight: 600; }

.band-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.band-links a {
  padding: .5rem 1rem;
  border: 1px solid var(--line);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--body);
}
.band-links a:hover { border-color: var(--ink); color: var(--ink); }

/* ── Listen ─────────────────────────────────────────────────────────── */

.listen { padding: clamp(3rem, 8vw, 6.5rem) var(--gutter); }
.listen h2 { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.video-grid figure { margin: 0; }

/* Click-to-play facade: a poster frame until the visitor asks for the video.
   The YouTube iframe is only created on click — no third-party request, and
   no cookies, before then. */
.video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: var(--card);
  overflow: hidden;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.video > img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) brightness(.82); transition: filter .25s, transform .35s; }
.video:hover > img, .video:focus-visible > img { filter: grayscale(0) brightness(.95); transform: scale(1.02); }

.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(236, 231, 222, .55);
  border-radius: 50%;
  background: rgba(13, 12, 11, .5);
  backdrop-filter: blur(2px);
  transition: background .25s, border-color .25s;
}
/* Play triangle */
.video-play::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 20px solid var(--ink);
  border-block: 12px solid transparent;
  transform: translateX(3px);
}
.video:hover .video-play, .video:focus-visible .video-play { background: var(--accent); border-color: var(--accent); }

/* Accessible name for the button; not shown, but read out and searchable. */
.video-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-grid figcaption { margin-top: .65rem; font-size: .82rem; color: var(--muted); }
.video-grid figcaption b { color: var(--ink); font-weight: 600; }

/* ── Booking ────────────────────────────────────────────────────────── */

.booking { border-top: 1px solid var(--rule); background: var(--panel); }

.booking-grid {
  max-width: var(--wide);
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 6.5rem) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}

.booking h2 { margin-bottom: 1rem; }
.booking-copy { margin: 0 0 1.75rem; font-size: 1rem; line-height: 1.7; color: var(--body); max-width: 44ch; text-wrap: pretty; }

.contacts { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
.mail { display: inline-block; padding: 1.05rem 2rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; word-break: break-word; }
.mail-geraldine { background: var(--ink); color: var(--bg); }
.mail-geraldine:hover { background: var(--green); color: var(--bg); }
.mail-donkey { background: var(--accent); color: #fff; }
.mail-donkey:hover { background: var(--ink); color: var(--bg); }
.booking-note { margin: 1rem 0 0; font-size: .85rem; color: var(--muted); }

.offer { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--card-line); }
.offer li { padding: 1.1rem 0; border-bottom: 1px solid var(--card-line); }
.offer b { display: block; font-size: .95rem; font-weight: 600; margin-bottom: .25rem; }
.offer span { font-size: .88rem; color: var(--muted); }

/* ── Footer ─────────────────────────────────────────────────────────── */

.site-footer {
  max-width: var(--wide);
  margin-inline: auto;
  padding: 1.5rem var(--gutter) 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  border-top: 1px solid var(--rule);
  background: var(--panel);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer a:hover { color: var(--ink); }

/* ── Narrow screens ─────────────────────────────────────────────────────
   The comp has no breakpoints; these keep the header and show rows from
   collapsing on phones. */

@media (max-width: 720px) {
  .site-header { flex-wrap: wrap; gap: .75rem 1.25rem; }
  .nav { gap: 1rem; }

  .show { grid-template-columns: 4rem 1fr; row-gap: .75rem; }
  .show-status { grid-column: 1 / -1; justify-self: start; padding-inline: 0; }
  .show-status.has-border { padding-inline: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
