/* fonts.css */
/* Self-hosted Google Fonts: Instrument Sans + Young Serif.
   Regenerate with scripts/fetch-fonts.sh — no third-party font requests at runtime. */
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-italic-54dd28.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;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-italic-57f43a.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;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-a53201.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;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-11aa49.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;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-a53201.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;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-11aa49.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;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-a53201.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;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-11aa49.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;
}
/* latin-ext */
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/young-serif-06d6a8.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;
}
/* latin */
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/young-serif-1519d2.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;
}

/* tokens.css */
/* Design tokens — the single source of truth for the palette, type scale, and
   spacing used by every section partial. Values come from the Claude Design
   source "Derek Colby Site v2". */

:root {
  /* Surfaces */
  --bg: #141512;
  --surface: #1b1d18;
  --surface-raised: #23251f;
  --surface-footer: #0e0f0d;

  /* Ink */
  --text: #f2f0e6;
  --text-body: #c9c7ba;
  --text-muted: #a6a894;
  --text-faint: #969c88;

  /* Lines */
  --border: #2c2e27;
  --border-strong: #3a3f36;
  --rule: #4a4f43;
  /* Form-control boundaries must clear 3:1 against the surfaces they sit on
     (WCAG 1.4.11); --border-strong is only 1.7:1 and reads as no border. */
  --border-control: #6b7260;

  /* Accent */
  --accent: #c8f03c;
  --accent-hover: #e2ff70;
  --on-accent: #141512;
  --on-accent-muted: rgba(20, 21, 18, 0.72);
  --on-accent-faint: rgba(20, 21, 18, 0.14);

  /* Type */
  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Young Serif", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, Menlo, Monaco, Consolas, monospace;

  /* Layout */
  --container: 1240px;
  --gutter: 40px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  /* Focus */
  --focus-ring: 2px solid var(--accent);
  --focus-offset: 3px;
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }
}

/* base.css */
/* Reset, page chrome, and the primitives shared across sections. */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: 2px;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
}

/* Layout ------------------------------------------------------------------ */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 0 60px;
}

.section-title {
  font-size: 34px;
  margin-bottom: 26px;
}

.section-title--sm {
  font-size: 24px;
  margin-bottom: 16px;
}

@media (max-width: 760px) {
  .section-title {
    font-size: 28px;
  }

  /* Same specificity as the rule above, so it has to be restated here or an
     element carrying both classes would take the larger size. */
  .section-title--sm {
    font-size: 24px;
  }
}

/* Primitives -------------------------------------------------------------- */

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 120ms ease;
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--on-accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Eyebrow / kicker label */
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.btn--ghost {
  border: 1.5px solid rgba(242, 240, 230, 0.45);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--text);
  color: var(--text);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 13.5px;
}

/* Small outlined label, e.g. "Free show" */
.tag {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 12px;
  white-space: nowrap;
}

.tag--filled {
  border-color: transparent;
  background: var(--surface-raised);
  padding: 6px 12px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* eleventy-img emits <picture><img>; make covers fill their frame. */
.media-cover,
.media-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* sections/header.css */
/* Site header ------------------------------------------------------------- */

.site-header {
  padding-block: 18px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header__brand {
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--text);
  white-space: nowrap;
}

.site-header__brand:hover {
  color: var(--accent);
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.5px;
}

.site-header__link {
  color: var(--text-muted);
}

.site-header__link:hover {
  color: var(--text);
}

@media (max-width: 760px) {
  .site-header {
    padding-block: 14px;
  }

  .site-header__nav {
    gap: 12px;
  }

  /* Section links collapse away on small screens; the footer carries the same
     set of links so every destination stays reachable without a menu. */
  .site-header__link {
    display: none;
  }

  /* 44px minimum touch targets for the two controls left on mobile. */
  .site-header__brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .site-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }
}

/* sections/hero.css */
/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

/* eleventy-img wraps the <img> in a <picture>; the wrapper has to fill too. */
.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Derek's head sits in the upper third of the photo, so the default centred
   cover-crop cuts it off once the 600px band gets much narrower than the
   scaled image (wide desktop viewports). Anchor the crop to the top instead —
   the scoreboard keeps its headline and only the guitar body falls below
   the fold. */
.hero__media img {
  object-position: 50% 0;
}

/* Scrim from the design source — a four-stop ramp with no token equivalent,
   so the rgba() literals are kept verbatim. */
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 21, 18, 0.2) 0%,
    rgba(20, 21, 18, 0.05) 28%,
    rgba(20, 21, 18, 0.78) 58%,
    rgba(20, 21, 18, 0.98)
  );
}

.hero__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.hero__inner {
  padding-bottom: 48px;
}

.hero__kicker {
  /* Overrides the shared .kicker scale to the hero's larger, wider setting. */
  font-size: 12px;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
}

.hero__title {
  font-size: 68px;
  line-height: 1.02;
  overflow-wrap: break-word;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.hero__tagline {
  max-width: 540px;
  margin-top: 12px;
  color: var(--text);
  font-size: 19px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.hero__cta {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

/* Next-show band ---------------------------------------------------------- */

.hero-banner {
  background: var(--accent);
  color: var(--on-accent);
}

.hero-banner__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 13px;
  font-size: 14.5px;
}

.hero-banner__chip {
  flex: none;
  padding: 5px 9px;
  border-radius: 4px;
  background: var(--on-accent-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-banner__detail {
  min-width: 0;
  font-weight: 600;
}

/* Links on the accent band must not inherit the global accent link colour. */
.hero-banner__link {
  margin-left: auto;
  color: var(--on-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* The global focus ring is --accent, which is invisible on the accent band. */
.hero-banner__link:focus-visible {
  outline: 2px solid var(--on-accent);
  outline-offset: 3px;
}

.hero-banner__link:hover {
  color: var(--on-accent);
  text-decoration-thickness: 2px;
}

@media (max-width: 760px) {
  .hero {
    height: 460px;
  }

  /* The hero shrinks to 460px while its content grows taller, pushing the
     kicker and h1 up into the transparent part of the desktop ramp. Over a
     bright photo that measures ~1.4:1. Reach 0.72 alpha by 34% instead. */
  .hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(20, 21, 18, 0.28) 0%,
      rgba(20, 21, 18, 0.28) 14%,
      rgba(20, 21, 18, 0.72) 34%,
      rgba(20, 21, 18, 0.9) 62%,
      rgba(20, 21, 18, 0.98) 100%
    );
  }

  .hero__inner {
    padding-bottom: 28px;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__tagline {
    font-size: 16px;
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero-banner__inner {
    flex-wrap: wrap;
    padding-block: 12px;
    row-gap: 6px;
  }

  /* 44px minimum touch target for the standalone schedule link. */
  .hero-banner__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* sections/shows.css */
/* Upcoming shows — a date-led list of gigs. */

/* The design gives this block extra top padding (64px) because it is the first
   section under the hero banner; the shared .section only sets the bottom. */
.shows {
  padding-block: 64px 52px;
}

.shows__list {
  list-style: none;
}

.shows__row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 18px;
  border-top: 1px solid var(--border);
}

.shows__row:last-child {
  border-bottom: 1px solid var(--border);
}

/* Date ------------------------------------------------------------------- */

.shows__date {
  flex: none;
  width: 76px;
  text-align: center;
}

.shows__day {
  display: block;
  color: var(--accent);
  font-size: 27px;
  font-weight: 600;
  font-variant-numeric: lining-nums;
  line-height: 1.2;
}

.shows__month {
  display: block;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

/* Venue ------------------------------------------------------------------ */

.shows__venue {
  flex: 1;
  min-width: 0;
}

.shows__venue-name {
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.shows__venue-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
}

.shows__venue-link:hover {
  color: var(--text);
  text-decoration-color: var(--accent);
}

.shows__city {
  color: var(--text-muted);
  font-size: 14px;
}

/* Time and admission ----------------------------------------------------- */

.shows__time {
  color: var(--text-muted);
  font-size: 15px;
  white-space: nowrap;
}

/* Footnotes -------------------------------------------------------------- */

.shows__recently {
  margin-top: 18px;
  color: var(--text-faint);
  font-size: 13.5px;
}

.shows__empty {
  max-width: 52ch;
  color: var(--text-body);
  font-size: 16.5px;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .shows__row {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  /* The venue is flex:1 (basis 0), so on a narrow row it shrinks to a few
     characters and breaks venue names mid-word instead of wrapping the row.
     Giving it the exact remainder of line one — 100% minus the 76px date
     column and the 16px gap — forces time and admission onto line two. */
  .shows__venue {
    flex: 1 1 calc(100% - 92px);
  }

  /* Keep them aligned under the venue rather than under the date. */
  .shows__time {
    margin-left: 92px;
  }

  /* Give the venue link a 44px-tall touch target without disturbing the
     row's stacking (the design leaves it at bare text height). */
  .shows__venue-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* sections/music.css */
/* Music — featured-track card beside the Watch column. */

.music {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
}

/* Featured track ---------------------------------------------------------- */

.music__featured {
  padding: 26px 28px;
}

/* With no videos the card is the only column, so let it run full width. */
.music__featured:only-child {
  grid-column: 1 / -1;
}

.music__kicker {
  display: block;
  margin-bottom: 14px;
}

.music__head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.music__play {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

.music__play:hover {
  background: var(--accent-hover);
}

/* Play glyph: the design's CSS triangle. */
.music__play-icon {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--on-accent);
}

/* Pause glyph: two bars, only reachable in the real-audio case. */
.music__play[data-playing="true"] .music__play-icon {
  width: 15px;
  height: 18px;
  margin-left: 0;
  border: 0;
  border-left: 5px solid var(--on-accent);
  border-right: 5px solid var(--on-accent);
}

.music__meta {
  flex: 1;
  min-width: 0;
}

.music__title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.music__note {
  font-size: 13px;
  color: var(--text-faint);
}

.music__time {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}

.music__wave {
  height: 46px;
  margin-top: 18px;
}

.music__wave--seek {
  cursor: pointer;
  border-radius: var(--radius-sm);
}

/* preserveAspectRatio="none" lets the 389px bar run stretch to the card width
   at any viewport instead of clipping or letterboxing. */
.music__wave-svg {
  width: 100%;
  height: 46px;
}

.music__wave-bar {
  fill: var(--border-strong);
}

/* As a seek control the unplayed track has to be visible before playback
   starts, so it needs the 3:1 control boundary rather than the quiet fill. */
.music__wave--seek .music__wave-bar {
  fill: var(--border-control);
}

/* Both selectors are needed: the seek rule above is (0,2,0) and would otherwise
   out-specify a bare .music__wave-bar--played (0,1,0), leaving the played bars
   grey inside the one waveform that actually reports progress. */
.music__wave-bar--played,
.music__wave--seek .music__wave-bar--played {
  fill: var(--accent);
}

.music__foot {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.music__foot-link {
  font-weight: 600;
}

/* Watch ------------------------------------------------------------------- */

.music__watch {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.music__watch-title {
  margin-bottom: 2px;
}

.music__videos {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.music__video {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
}

.music__video:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.music__video-thumb {
  position: relative;
  flex: none;
  width: 110px;
  height: 64px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
}

/* eleventy-img emits <picture>; pin it so the .media-cover img has a box. */
.music__video-thumb picture {
  position: absolute;
  inset: 0;
}

.music__video-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin: auto;
  border-radius: 50%;
  background: var(--on-accent-muted);
}

.music__video-badge::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--accent);
}

.music__video-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.music__video-title {
  font-size: 14.5px;
  font-weight: 600;
}

.music__video-note {
  font-size: 12.5px;
  color: var(--text-faint);
}

@media (max-width: 760px) {
  .music {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .music__featured {
    padding: 22px 20px;
  }

  .music__head {
    flex-wrap: wrap;
    row-gap: 10px;
  }
}

/* sections/about.css */
/* About — fixed 340px portrait column beside the bio, both vertically centred. */

.about {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: center;
}

/* Grid children must be allowed to shrink below their content width. */
.about > * {
  min-width: 0;
}

.about__frame {
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* eleventy-img wraps the <img> in a <picture>, which is inline by default. */
.about__frame picture {
  display: block;
  height: 100%;
}

/* Keeps Derek off-centre-left in frame, as in the design. */
.about__portrait {
  object-position: 22% center;
}

.about__title {
  margin-bottom: 16px;
}

.about__text {
  max-width: 600px;
  color: var(--text-body);
  font-size: 16.5px;
  line-height: 1.65;
}

.about__text + .about__text {
  margin-top: 14px;
}

@media (max-width: 760px) {
  .about {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .about__frame {
    height: 300px;
  }
}

/* sections/gallery.css */
/* Gallery — four presentational photo tiles, two per row on mobile. */

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

.gallery__item {
  position: relative;
  height: 190px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery__figure {
  height: 100%;
}

/* eleventy-img wraps the <img> in a <picture>, which is inline by default. */
.gallery__item picture {
  display: block;
  height: 100%;
}

.gallery__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  /* Tall top padding so the caption text sits in the opaque end of the
     gradient rather than its transparent start — see contrast note below. */
  padding: 26px 12px 10px;
  /* The design's transparent -> rgba(0,0,0,.65) ramp leaves the top of the
     text near-transparent over a photo. Strengthened so the text clears
     4.5:1 even against a blown-out white frame. */
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.92) 100%);
  color: var(--text);
  font-size: 12px;
  line-height: 1.3;
}

@media (max-width: 760px) {
  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* sections/booking.css */
/* Booking — full-bleed accent band. Everything here sits on --accent, so links
   have to opt out of the global accent link colour. */

.booking {
  background: var(--accent);
  color: var(--on-accent);
}

.booking__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-block: 56px;
}

/* Left column ------------------------------------------------------------- */

.booking__title {
  font-size: 36px;
  margin-bottom: 16px;
}

.booking__lede {
  margin-bottom: 22px;
  color: var(--on-accent-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* .kicker is accent-coloured, which is invisible on the accent band. */
.booking__kicker {
  margin-bottom: 6px;
  color: var(--on-accent);
}

.booking__promise {
  max-width: 22ch;
  color: var(--on-accent);
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.25;
}

.booking__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  list-style: none;
  color: var(--on-accent-muted);
  font-size: 13.5px;
}

.booking__social-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.booking__social-link {
  color: var(--on-accent-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The global focus ring is --accent, which is invisible on the accent band. */
.booking__social-link:focus-visible {
  outline: 2px solid var(--on-accent);
  outline-offset: 3px;
}

.booking__social-link:hover {
  color: var(--on-accent);
}

/* Right column — the form panel -------------------------------------------- */

.booking__panel {
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  color: var(--text);
  /* Keeps the native date picker and its indicator legible on the dark card. */
  color-scheme: dark;
}

.booking__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.booking__field {
  margin: 0;
  min-width: 0;
}

/* The fixed height keeps the native date control level with the text inputs
   it shares a row with — its internal chrome otherwise adds a couple px. */
.booking__input {
  height: 46px;
}

.booking__input,
.booking__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-control);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
}

.booking__input::placeholder,
.booking__textarea::placeholder {
  color: var(--text-faint);
  opacity: 1;
}

.booking__textarea {
  display: block;
  height: 84px;
  resize: vertical;
}

.booking__field--message {
  margin-top: 12px;
}

.booking__types {
  min-width: 0;
  margin-top: 12px;
  padding: 0;
  border: 0;
}

.booking__types-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.booking__type-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid var(--border-control);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.4;
  cursor: pointer;
}

.booking__type-label:hover {
  border-color: var(--rule);
  color: var(--text);
}

.booking__type-input:checked + .booking__type-label {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

/* The radio itself is visually hidden, so move its focus ring to the pill. */
.booking__type-input:focus-visible + .booking__type-label {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.booking__submit {
  width: 100%;
  margin-top: 14px;
  padding-inline: 13px;
}

/* Off-screen rather than display:none — some bots skip hidden fields. */
.booking__submit[aria-disabled="true"] {
  cursor: progress;
  opacity: 0.7;
}

.booking__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.booking__label {
  display: block;
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 12.5px;
}

/* legend won't take the label's block margin reliably; space the list instead. */
.booking__legend {
  margin-bottom: 0;
  padding: 0;
}

.booking__legend + .booking__types-list {
  margin-top: 4px;
}

.booking__status {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-body);
}

.booking__status:empty {
  margin-top: 0;
}

.booking__status[data-state="ok"] {
  color: var(--accent);
}

.booking__status[data-state="error"] {
  /* Lighter than a pure red so it still clears 4.5:1 on --bg. */
  color: #ff9d8a;
}

@media (max-width: 760px) {
  .booking__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .booking__inner > * {
    min-width: 0;
  }

  .booking__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking__panel {
    padding: 22px 20px;
  }

  /* 44x44 minimum touch targets. */
  .booking__social-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .booking__type-label {
    min-height: 44px;
    padding-inline: 16px;
  }
}

/* sections/footer.css */
/* Site footer. */

.footer {
  background: var(--surface-footer);
}

/* The design's rgba(242,240,230,.45) measures about 4.1:1 on --surface-footer
   and fails AA at 12.5px; .62 lifts it to roughly 6.8:1. No token exists for a
   translucent ink, so the literal from the design stays, with a higher alpha. */
.footer__row,
.footer__credit-link {
  color: rgba(242, 240, 230, 0.62);
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px;
  font-size: 12.5px;
}

.footer__meta {
  margin: 0;
}

.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
  list-style: none;
  font-size: 13.5px;
}

.footer__nav-link {
  color: inherit;
}

.footer__nav-link:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__credit {
  display: flex;
  justify-content: center;
  padding: 0 20px 22px;
}

.footer__credit-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 400;
}

.footer__credit-link:hover {
  color: var(--text);
}

/* Bounded rather than infinite: WCAG 2.2.2 wants motion over five seconds to
   have an in-page stop, and six alternating runs (~2.4s) stays well under it.
   The keyframes return to scale(1) so the single iteration forced under
   prefers-reduced-motion settles unenlarged instead of freezing mid-beat. */
.footer__credit-heart {
  animation: cubed-pound 0.8s 3 both;
  transform-origin: center;
}

@keyframes cubed-pound {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.22);
  }
}

@media (max-width: 760px) {
  .footer__row {
    justify-content: center;
    padding-block: 16px;
    text-align: center;
  }

  /* The header hides its section links here, so the nav leads the footer. */
  .footer__nav {
    order: -1;
    width: 100%;
  }

  .footer__nav-list {
    justify-content: center;
    gap: 0 4px;
  }

  .footer__nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 10px;
  }

  .footer__meta {
    flex: 1 1 auto;
  }

  .footer__credit-link {
    min-height: 44px;
  }
}

/* sections/page-head.css */
/* Sub-page heading block: kicker, h1, standfirst. */

.page-head {
  padding-block: 44px 0;
}

.page-head h1 {
  font-size: 48px;
  margin: 12px 0 14px;
}

.page-head__lede {
  max-width: 60ch;
  color: var(--text-body);
  font-size: 16.5px;
  line-height: 1.65;
}

/* Breadcrumbs ------------------------------------------------------------- */

.crumbs {
  /* The section below has no top padding of its own, so the breadcrumb owns
     the gap down to the page kicker. */
  padding-block: 28px 26px;
}

.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  color: var(--text-faint);
  font-size: 12.5px;
}

.crumbs__list a {
  color: var(--text-faint);
}

.crumbs__list a:hover {
  color: var(--text);
}

.crumbs__current {
  color: var(--text-body);
}

@media (max-width: 760px) {
  .page-head h1 {
    font-size: 34px;
  }

  /* Breadcrumb links are only ~15px tall at their natural size, well under a
     thumb. Give them the 44px target without changing the row's look. */
  .crumbs__list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .crumbs {
    padding-block: 12px 18px;
  }
}

/* sections/archive.css */
/* /shows/ — the venue index and the played-before archive. */

.shows__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

/* .section-title already carries the bottom margin; the flex row owns it here. */
.shows__head .section-title {
  margin-bottom: 0;
}

.shows__count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}

/* Venue index ------------------------------------------------------------- */

.venue-index__note {
  margin-bottom: 18px;
  color: var(--text-faint);
  font-size: 13.5px;
}

.venue-index__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.venue-index__chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
}

.venue-index__chip:hover {
  border-color: var(--border-control);
  color: var(--text);
}

.venue-index__town {
  color: var(--text-faint);
  font-size: 12px;
}

/* Archive ----------------------------------------------------------------- */

.archive__note {
  margin-bottom: 24px;
  color: var(--text-faint);
  font-size: 13.5px;
}

.archive__years {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.archive__year {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}

.archive__year-label {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--accent);
}

.archive__rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.archive__list {
  list-style: none;
}

.archive__row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-block: 11px;
  border-bottom: 1px solid var(--border);
}

.archive__date {
  width: 76px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.archive__venue {
  flex: 1;
  color: var(--text-body);
  font-size: 15px;
}

.archive__venue:hover {
  color: var(--text);
}

.archive__city {
  color: var(--text-faint);
  font-size: 13.5px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .shows__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .archive__row {
    flex-wrap: wrap;
    gap: 4px 20px;
  }

  .archive__city {
    width: 100%;
    padding-left: 96px;
  }
}

/* sections/venue.css */
/* /venues/<slug>/ — the durable per-room page. */

.venue__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.venue__title {
  font-size: 46px;
  margin: 12px 0 16px;
}

.venue__lede {
  max-width: 62ch;
  margin-bottom: 14px;
  color: var(--text-body);
  font-size: 16.5px;
  line-height: 1.65;
}

.venue__lede:last-child {
  margin-bottom: 0;
}

.venue__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.venue__next,
.venue__where {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 26px;
}

.venue__next-when {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.venue__next-day {
  font-family: var(--font-serif);
  font-size: 40px;
  line-height: 1;
  color: var(--accent);
}

.venue__next-month {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}

.venue__next-time {
  margin-top: 2px;
  color: var(--text-body);
  font-size: 15px;
}

.venue__next-cta {
  display: block;
}

.venue__where-name {
  font-size: 15px;
  font-weight: 600;
}

.venue__where-town {
  margin-top: -12px;
  color: var(--text-muted);
  font-size: 14px;
}

.venue__where-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 13.5px;
}

/* The card is a gapped column, so consecutive links would sit 16px apart. */
.venue__where-link + .venue__where-link {
  margin-top: -8px;
}

/* Date list --------------------------------------------------------------- */

.venue-dates__list {
  list-style: none;
}

.venue-dates__row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 15px;
  border-top: 1px solid var(--border);
}

.venue-dates__row:last-child {
  border-bottom: 1px solid var(--border);
}

.venue-dates__date {
  width: 158px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.venue-dates__date--next {
  color: var(--accent);
}

.venue-dates__detail {
  flex: 1;
  color: var(--text-body);
  font-size: 15px;
}

.venue-dates__tag--next {
  color: var(--accent);
}

/* Other rooms ------------------------------------------------------------- */

.venue-nearby__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

.venue-nearby__card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
}

.venue-nearby__card:hover {
  border-color: var(--border-control);
  color: var(--text);
}

.venue-nearby__name {
  font-size: 15.5px;
  font-weight: 600;
}

.venue-nearby__meta {
  color: var(--text-faint);
  font-size: 13px;
}

@media (max-width: 760px) {
  .venue__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .venue__title {
    font-size: 32px;
  }

  .venue-dates__row {
    flex-wrap: wrap;
    gap: 6px 16px;
  }

  .venue-dates__date {
    width: 100%;
  }

  .venue-nearby__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* sections/book-cta.css */
/* Accent CTA band closing the sub-pages. */

.book-cta {
  display: block;
  margin-top: 48px;
  background: var(--accent);
  color: var(--on-accent);
}

.book-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 34px;
}

.book-cta__title {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.book-cta__lede {
  color: var(--on-accent-muted);
  font-size: 15px;
}

.book-cta__button {
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.book-cta__button:hover {
  background: var(--surface);
  color: var(--text);
}

/* The global focus ring is --accent, which is invisible on the accent band. */
.book-cta__button:focus-visible {
  outline: 2px solid var(--on-accent);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .book-cta__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .book-cta__button {
    align-self: stretch;
    text-align: center;
  }
}

/* sections/message-page.css */
/* Shared shell for the standalone confirmation pages (/thanks/, /booking-problem/)
   and the 404 — a short centred column rather than a full landing section. */

.message-page {
  padding-block: 100px 120px;
}

.message-page h1 {
  font-size: 40px;
  margin: 10px 0 14px;
}

.message-page p:not(.kicker) {
  max-width: 52ch;
  margin-bottom: 26px;
  color: var(--text-body);
  font-size: 16.5px;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .message-page {
    padding-block: 64px 80px;
  }

  .message-page h1 {
    font-size: 32px;
  }
}
