/* ============================================================
   Tough Knuckle Teddy and the Bucket Brigade
   Two inks on paper: black + #91401A, the logo's own colours.
   ============================================================ */

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

:root {
  --paper:      #e9e8e3;   /* cool off-white, deliberately not cream  */
  --paper-dim:  #dedcd5;
  --ink:        #101010;   /* matches the logo artwork                */
  --ink-soft:   #3d3b37;
  --rust:       #91401a;   /* sampled from the colour logo file       */
  --rust-deep:  #6e2f13;

  --measure: 62ch;
  --gap: clamp(3rem, 8vw, 6rem);
}

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Barlow', 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
  font-size: clamp(16px, 1rem + 0.2vw, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rust); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rust-deep); }

:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ── Nav ───────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem 1rem;
  padding: 1rem clamp(1rem, 5vw, 3rem);
  max-width: 1400px; margin: 0 auto;
}
.nav-mark {
  font-weight: 700; letter-spacing: .1em; font-size: .78rem;
  text-transform: uppercase;
  color: var(--rust);
}
.nav-links { display: flex; gap: clamp(1rem, 4vw, 2rem); list-style: none; }
.nav-links a {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--rust); border-bottom-color: var(--rust); }

/* ── Hero photograph ───────────────────────────────── */
.hero-figure { width: 100%; background: var(--ink); }
.hero-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

@media (max-width: 620px) {
  .hero-figure img { aspect-ratio: 4 / 3; object-position: 50% 42%; }
}

/* ── Name + bio ────────────────────────────────────── */
.intro {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 5vw, 2rem) var(--gap);
  text-align: center;
}
.title { margin: 0 auto clamp(1.75rem, 4vw, 2.5rem); }
.title-main {
  display: block;
  font-size: clamp(2.1rem, 8.5vw, 4.1rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.015em;
  text-transform: uppercase;
  color: var(--ink);
  text-wrap: balance;
}
.title-sub {
  display: block;
  margin-top: .7rem;
  font-size: clamp(.76rem, 2.4vw, .92rem);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rust);
}
.bio {
  max-width: var(--measure);
  margin: 0 auto 1.1rem;
  color: var(--ink-soft);
  text-align: left;
}

/* ── Rust panel: Listen ────────────────────────────── */
.panel {
  background: var(--rust);
  color: var(--paper);
  padding: var(--gap) clamp(1.25rem, 5vw, 2rem);
}
.panel .label { color: var(--paper); }
.panel a { color: var(--paper); }
.panel a:hover { color: var(--paper); text-decoration-thickness: 2px; }

.label {
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1.5rem;
  text-align: center;
}

.video {
  max-width: 860px; margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

.panel-note {
  max-width: 58ch; margin: 1.5rem auto 0;
  text-align: center; font-size: .95rem;
}

/* ── Band ──────────────────────────────────────────── */
.band {
  max-width: 1040px; margin: 0 auto;
  padding: var(--gap) clamp(1.25rem, 5vw, 2rem);
}
.band-shot img { width: 100%; }

.lineup {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 1px;
  background: var(--paper-dim);
  border-bottom: 1px solid var(--paper-dim);
}
.lineup li {
  background: var(--paper);
  padding: 1.1rem .4rem 1.2rem;
  text-align: center;
}
.who { display: block; font-weight: 600; font-size: 1rem; line-height: 1.25; }
.what {
  display: block; margin-top: .35rem;
  font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rust);
}

/* ── Booking ───────────────────────────────────────── */
.book {
  max-width: 1040px; margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2rem) var(--gap);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(1.5rem, 5vw, 3rem);
  border-top: 1px solid var(--paper-dim);
  padding-top: var(--gap);
}
.bear { width: clamp(150px, 34vw, 300px); flex: 0 0 auto; }
.book-text { flex: 1 1 260px; }
.book-text .label { text-align: left; margin-bottom: 1rem; }
.book-text p { max-width: 42ch; color: var(--ink-soft); }
.book-contact { margin-top: 1.1rem; font-size: 1.05rem; line-height: 2; }
.book-contact a { font-weight: 600; }

/* ── Footer ────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--paper-dim);
  padding: 1.75rem clamp(1.25rem, 5vw, 2rem);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* ── Narrow screens ────────────────────────────────── */
@media (max-width: 620px) {
  .lineup { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .book { justify-content: center; text-align: center; }
  .book-text .label { text-align: center; }
  .book-text p { margin-inline: auto; }
}

/* ── Page load ─────────────────────────────────────── */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.intro > * { animation: rise .5s ease both; }
.title { animation-delay: .05s; }
.bio       { animation-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  .intro > * { animation: none; }
  html { scroll-behavior: auto; }
}
html { scroll-behavior: smooth; }
