@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #080706;
  --surface: #100f0d;
  --surface-2: #181511;
  --line: #342d24;
  --line-strong: #5d513f;
  --text: #f4efe5;
  --muted: #bfb2a0;
  --muted-2: #8f826e;
  --brass: #caa86a;
  --brass-soft: #e5cf9d;
  --wine: #6f2725;
  --focus: #f2c879;
  --max: 1180px;
  --header-height: 104px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 0%, rgba(111, 39, 37, 0.22), transparent 31rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--ink);
  background-size: auto, 72px 72px, auto;
  color: var(--text);
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--brass-soft);
}

a:visited {
  color: #d9b7c1;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--text);
  color: var(--ink);
  padding: 0.75rem 1rem;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem max(1rem, calc((100vw - var(--max)) / 2));
  background: rgba(8, 7, 6, 0.88);
  border-bottom: 1px solid rgba(202, 168, 106, 0.22);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: inline-flex;
  width: 300px;
  max-width: 42vw;
}

.brand-mark img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.6rem 0;
}

.site-nav a:hover {
  color: var(--brass-soft);
}

.header-socials,
.nav-socials,
.hero-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.nav-socials {
  display: none;
}

.hero-socials {
  margin-top: 1rem;
}

.nav-toggle {
  display: none;
}

.section-wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: 4rem;
  align-items: center;
  padding: 3.5rem 0 3.75rem;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--brass-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  font-size: 5.25rem;
  font-weight: 700;
}

h2 {
  font-size: 2.55rem;
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
}

.hero-deck {
  max-width: 620px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brass);
  border-radius: 0;
  padding: 0.8rem 1.15rem;
  color: var(--text);
  background: transparent;
  font: 700 0.86rem/1 "IBM Plex Mono", monospace;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brass);
  color: #15100a;
}

.button-primary:hover {
  background: var(--brass-soft);
  border-color: var(--brass-soft);
}

.button-secondary:hover {
  background: rgba(202, 168, 106, 0.12);
  color: var(--text);
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 560px;
  display: grid;
  align-items: end;
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(202, 168, 106, 0.32);
  filter: saturate(0.88) contrast(1.02);
}

.next-date {
  position: absolute;
  left: -2rem;
  bottom: 2rem;
  width: min(310px, calc(100% - 2rem));
  padding: 1.1rem;
  background: rgba(16, 15, 13, 0.93);
  border: 1px solid rgba(202, 168, 106, 0.42);
}

.next-date p {
  margin: 0;
}

.next-date-title {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
}

.next-date-meta {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  margin-top: 0.45rem;
}

.next-date-meta span {
  display: block;
}

.next-date-city {
  margin-top: 0.12rem;
}

.split-section,
.edits-section,
.bio-section,
.epk-section,
.booking-section {
  padding: 5rem 0;
  border-top: 1px solid rgba(202, 168, 106, 0.18);
}

.split-section {
  display: grid;
  grid-template-columns: 0.36fr 0.64fr;
  gap: 4rem;
  align-items: start;
}

.section-heading p:not(.eyebrow),
.section-heading-wide p {
  color: var(--muted);
  max-width: 620px;
}

.schedule-list {
  display: grid;
  gap: 0;
}

.schedule-item {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(202, 168, 106, 0.18);
}

.schedule-date {
  color: var(--brass-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.schedule-event {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
}

.schedule-venue {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.empty-state {
  margin: 0;
  padding: 1.25rem 0;
  color: var(--muted);
  border-top: 1px solid rgba(202, 168, 106, 0.18);
}

.section-heading-wide {
  max-width: 760px;
  margin-bottom: 2rem;
}

.edit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.edit-card {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.edit-button {
  position: relative;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(202, 168, 106, 0.22);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
}

.edit-button img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.edit-button::after {
  content: "Play";
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  min-width: 54px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 7, 6, 0.82);
  border: 1px solid rgba(244, 239, 229, 0.42);
  font: 700 0.75rem/1 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.edit-button:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.edit-title {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.25;
}

.bio-section {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 4rem;
  align-items: center;
}

.bio-photo-wrap {
  display: grid;
  place-items: center;
  min-height: 360px;
  background:
    linear-gradient(45deg, rgba(202, 168, 106, 0.08), transparent),
    var(--surface);
  border: 1px solid rgba(202, 168, 106, 0.18);
}

.bio-logo {
  width: min(240px, 64%);
}

.bio-copy p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.epk-section,
.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.epk-section p:not(.eyebrow),
.booking-section p:not(.eyebrow) {
  max-width: 670px;
  color: var(--muted);
}

.booking-panel {
  width: min(420px, 100%);
  display: grid;
  gap: 1rem;
  justify-items: start;
  padding: 1.2rem;
  background: rgba(24, 21, 17, 0.76);
  border: 1px solid rgba(202, 168, 106, 0.24);
}

.email-reveal {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
}

.email-reveal.is-visible {
  color: var(--text);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid rgba(202, 168, 106, 0.28);
  color: var(--text);
  text-decoration: none;
}

.social-link:hover {
  background: rgba(202, 168, 106, 0.12);
}

.social-link img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  filter: invert(1);
}

.social-label {
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.header-socials .social-link {
  width: 40px;
  height: 40px;
}

.header-socials .social-link img {
  width: 18px;
  height: 18px;
}

.hero-socials .social-link,
.nav-socials .social-link {
  width: auto;
  min-width: 0;
  min-height: 42px;
  padding: 0 0.65rem;
}

.audio-player {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(240px, 1.3fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(8, 7, 6, 0.95);
  border: 1px solid rgba(202, 168, 106, 0.36);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.45);
}

.audio-player[hidden] {
  display: none;
}

.player-meta {
  min-width: 0;
}

.player-meta .eyebrow,
.player-title {
  margin: 0;
}

.player-title {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-waveform {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}

.waveform-shell {
  position: relative;
  height: 54px;
  min-width: 0;
  background: rgba(244, 239, 229, 0.035);
  border: 1px solid rgba(202, 168, 106, 0.24);
}

.waveform-canvas,
.waveform-scrubber {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.waveform-canvas {
  display: block;
}

.waveform-scrubber {
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.waveform-scrubber:disabled {
  cursor: wait;
}

.waveform-scrubber::-webkit-slider-runnable-track {
  height: 54px;
  background: transparent;
}

.waveform-scrubber::-webkit-slider-thumb {
  appearance: none;
  width: 3px;
  height: 44px;
  margin-top: 5px;
  background: var(--brass-soft);
  border: 0;
  box-shadow: 0 0 0 1px rgba(8, 7, 6, 0.9);
}

.waveform-scrubber::-moz-range-track {
  height: 54px;
  background: transparent;
  border: 0;
}

.waveform-scrubber::-moz-range-thumb {
  width: 3px;
  height: 44px;
  background: var(--brass-soft);
  border: 0;
  border-radius: 0;
  box-shadow: 0 0 0 1px rgba(8, 7, 6, 0.9);
}

.waveform-scrubber:focus-visible {
  outline-offset: 5px;
}

.player-time {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted-2);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  line-height: 1;
}

.player-controls {
  display: flex;
  gap: 0.65rem;
  flex: 0 0 auto;
}

.icon-button {
  min-width: 72px;
  min-height: 42px;
  border: 1px solid var(--brass);
  background: var(--brass);
  color: #15100a;
  font: 700 0.76rem/1 "IBM Plex Mono", monospace;
  text-transform: uppercase;
  cursor: pointer;
}

.icon-button-quiet {
  background: transparent;
  color: var(--text);
}

@media (max-width: 980px) {
  :root {
    --header-height: 82px;
  }

  body.nav-open .site-header {
    background: var(--ink);
  }

  .site-header {
    padding: 0.8rem 1rem;
  }

  .brand-mark {
    width: 210px;
    max-width: 66vw;
  }

  .nav-toggle {
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(202, 168, 106, 0.42);
    background: transparent;
    color: var(--text);
    font: 700 0.76rem/1 "IBM Plex Mono", monospace;
    text-transform: uppercase;
    cursor: pointer;
  }

  .nav-toggle-lines {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 0 1rem 1rem;
    background: var(--ink);
    border-bottom: 1px solid rgba(202, 168, 106, 0.22);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(202, 168, 106, 0.16);
  }

  .header-socials {
    display: none;
  }

  .nav-socials {
    display: flex;
    padding-top: 1rem;
  }

  .hero,
  .split-section,
  .bio-section,
  .epk-section,
  .booking-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 2rem;
    padding-top: 3rem;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-photo {
    min-height: 0;
    max-height: 620px;
  }

  .next-date {
    left: 1rem;
    bottom: 1rem;
  }

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

  .epk-section,
  .booking-section {
    align-items: start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .section-wrap {
    width: min(100% - 1.25rem, var(--max));
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-deck {
    font-size: 1.12rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-socials {
    gap: 0.65rem;
  }

  .hero-socials .social-link {
    width: calc(50% - 0.325rem);
  }

  .schedule-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .edit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .bio-photo-wrap {
    min-height: 260px;
  }

  .audio-player {
    left: 0.625rem;
    right: 0.625rem;
    bottom: 0.625rem;
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .player-controls {
    width: 100%;
  }

  .icon-button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
