/*
 * Jazz Club: a record-sleeve direction.
 * One family (Archivo, OFL) carries everything. Its width axis gives the
 * condensed display caps and the expanded credit labels.
 * The one photo is printed as two-tone brass and black.
 */

@font-face {
  font-family: "Archivo";
  src: url("shared/fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #0f0e0d;
  --raised: #191715;
  --ivory: #efe6d3;
  --muted: #b5ab99;
  --brass: #d29a3c;
  --rule: rgba(239, 230, 211, 0.18);
  --accent: var(--brass);
  --on-accent: var(--black);
  --focus: var(--ivory);
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --wide: 88rem;
  --font: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --book-bar-under: var(--black);
}

html {
  background: var(--black);
}

body {
  overflow-x: clip;
  color: var(--ivory);
  background: var(--black);
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  line-height: 1.6;
}

h1,
h2,
h3,
p,
figure,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

/* Shared type roles */

.label {
  color: var(--brass);
  font-size: 0.72rem;
  font-stretch: 125%;
  font-weight: 650;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.display {
  font-size: clamp(2.9rem, 7.5vw, 6.5rem);
  font-stretch: 62%;
  font-weight: 800;
  letter-spacing: -0.005em;
  line-height: 0.88;
  text-transform: uppercase;
}

/* Buttons */

.btn {
  min-height: 48px;
  padding: 0.9rem 1.35rem;
  border-width: 2px;
  font-size: 0.8rem;
  font-stretch: 115%;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-primary:hover {
  color: var(--black);
  background: var(--ivory);
  border-color: var(--ivory);
}

.btn-line {
  color: var(--ivory);
  background: transparent;
  border-color: rgba(239, 230, 211, 0.5);
}

.btn-line:hover {
  color: var(--black);
  background: var(--ivory);
  border-color: var(--ivory);
}

/* Two-tone photos: grayscale multiplied over brass. */

.duo {
  position: relative;
  overflow: hidden;
  background: var(--brass);
}

.duo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.18) brightness(1.04);
  mix-blend-mode: multiply;
}

/* Masthead */

.masthead {
  display: flex;
  width: min(var(--wide), 100% - 2 * var(--gutter));
  min-height: 4.75rem;
  align-items: center;
  gap: 2rem;
  margin-inline: auto;
}

.masthead__name {
  margin-right: auto;
  font-size: 0.8rem;
  font-stretch: 125%;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
}

.masthead__nav {
  display: flex;
  gap: 1.75rem;
}

.masthead__nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 550;
  text-decoration: none;
}

.masthead__cta {
  min-height: 44px;
  padding-block: 0.7rem;
}

/* Cover */

.cover {
  display: grid;
  width: min(var(--wide), 100% - 2 * var(--gutter));
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-block: clamp(2rem, 5vw, 4rem) clamp(3.5rem, 7vw, 6rem);
  margin-inline: auto;
}

.cover__type {
  container-type: inline-size;
}

.cover__title {
  display: block;
  text-transform: uppercase;
}

.cover__pre {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--brass);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-stretch: 125%;
  font-weight: 650;
  letter-spacing: 0.42em;
}

.cover__name {
  display: block;
  font-size: min(43cqi, 19rem);
  font-stretch: 62%;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 0.8;
}

.cover__tagline {
  max-width: 24ch;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-size: clamp(1.3rem, 2.1vw, 1.8rem);
  font-weight: 500;
  line-height: 1.2;
}

.cover__intro {
  max-width: 50ch;
  margin-top: 1.25rem;
  color: var(--muted);
}

.cover__intro p + p {
  margin-top: 0.85rem;
}

.cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.cover__photo {
  aspect-ratio: 3 / 4;
  margin-top: 2.4rem;
}

.cover__photo > img {
  object-position: 42% 30%;
}

/* Personnel strip */

.personnel {
  display: grid;
  width: min(var(--wide), 100% - 2 * var(--gutter));
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 0.5rem 2rem;
  padding-block: 1.6rem;
  margin-inline: auto;
  border-block: 1px solid var(--rule);
}

.personnel .label {
  padding-top: 0.3rem;
  grid-row: span 2;
}

.personnel__lead {
  color: var(--muted);
  font-size: 0.95rem;
}

.personnel__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 550;
}

.personnel__list li:not(:last-child)::after {
  margin-inline: 0.7rem;
  color: var(--brass);
  content: "/";
}

/* The last entry is "And more", set lighter than the named bands. */
.personnel__list li:last-child {
  color: var(--muted);
  font-weight: 400;
}

/* Content blocks */

.block {
  width: min(var(--wide), 100% - 2 * var(--gutter));
  padding-block: clamp(4rem, 8vw, 7rem);
  margin-inline: auto;
}

.block__head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.block__note {
  max-width: 40ch;
  color: var(--muted);
}

/* Volume levels */

.levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.level {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--ivory);
}

.level__meter {
  display: flex;
  height: 2.2rem;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 0.5rem;
}

.level__meter i {
  width: 0.6rem;
  background: rgba(239, 230, 211, 0.16);
}

.level__meter i:nth-child(1) { height: 20%; }
.level__meter i:nth-child(2) { height: 40%; }
.level__meter i:nth-child(3) { height: 60%; }
.level__meter i:nth-child(4) { height: 80%; }
.level__meter i:nth-child(5) { height: 100%; }

.level:nth-child(1) .level__meter i:nth-child(-n + 1),
.level:nth-child(2) .level__meter i:nth-child(-n + 3),
.level:nth-child(3) .level__meter i {
  background: var(--brass);
}

.level__volume {
  color: var(--brass);
  font-size: 0.72rem;
  font-stretch: 125%;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.level__name {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-stretch: 62%;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.level__summary {
  max-width: 34ch;
  color: var(--muted);
}

/* Styles and rooms */

.plays {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
  margin-top: clamp(3.5rem, 6vw, 5rem);
}

.plays .label {
  margin-bottom: 0.9rem;
}

.plays__styles {
  display: flex;
  flex-wrap: wrap;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  font-stretch: 62%;
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
}

.plays__styles li:not(:last-child)::after {
  margin-inline: 0.3em;
  color: var(--brass);
  font-weight: 300;
  content: "/";
}

.plays__venues li {
  padding-block: 0.45rem;
  border-bottom: 1px solid var(--rule);
}

/* About */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.75rem clamp(2.5rem, 6vw, 6rem);
  align-items: start;
  border-top: 1px solid var(--rule);
}

.about__head .display {
  margin-top: 1rem;
}

.about__bio {
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.about__bio p:first-child {
  font-size: 1.3em;
  font-weight: 500;
  line-height: 1.35;
}

.about__bio p + p {
  margin-top: 1rem;
  color: var(--muted);
}

/* Tracklist */

.tracklist {
  border-top: 1px solid var(--rule);
}

.tracklist__artists {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1rem 2rem;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.tracklist__artists .label {
  padding-top: 0.35rem;
}

.artist-list {
  display: flex;
  flex-wrap: wrap;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.artist-list li:not(:last-child)::after {
  margin-inline: 0.55rem;
  color: var(--brass);
  content: "·";
}

.sides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  counter-reset: side;
}

.side {
  counter-increment: side;
  counter-reset: track;
}

.side summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ivory);
  list-style: none;
}

.side summary::-webkit-details-marker {
  display: none;
}

.side__letter::before {
  color: var(--brass);
  content: counter(side, upper-alpha);
  font-size: 3.4rem;
  font-stretch: 62%;
  font-weight: 850;
  line-height: 0.8;
}

.side__name {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-stretch: 62%;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.side__count {
  color: var(--muted);
  font-size: 0.72rem;
  font-stretch: 125%;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.side__count::after {
  display: inline-block;
  width: 1.1em;
  margin-left: 0.6rem;
  color: var(--brass);
  content: "+";
  font-size: 1.2rem;
  letter-spacing: 0;
  text-align: center;
}

.side[open] .side__count::after {
  content: "−";
}

.side__songs li {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--rule);
  counter-increment: track;
}

.side__songs li::before {
  color: var(--brass);
  content: counter(side, upper-alpha) counter(track);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1.9;
}

.tracklist__note {
  max-width: 50ch;
  margin-top: 2rem;
  color: var(--muted);
}

/* Booking */

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

.booking a:hover {
  color: var(--black);
}

.booking__inner {
  display: grid;
  width: min(var(--wide), 100% - 2 * var(--gutter));
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 3rem clamp(2.5rem, 6vw, 6rem);
  padding-block: clamp(4rem, 8vw, 7rem);
  margin-inline: auto;
}

.booking .label {
  color: var(--black);
}

.booking__title {
  margin-block: 0.75rem 0.5rem;
  font-size: clamp(4rem, 12vw, 10.5rem);
  font-stretch: 62%;
  font-weight: 850;
  line-height: 0.82;
  text-transform: uppercase;
}

.booking__number {
  display: inline-block;
  font-size: clamp(2.4rem, 6.5vw, 5.25rem);
  font-stretch: 70%;
  font-weight: 750;
  line-height: 1.05;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.14em;
}

.booking__pref {
  margin-top: 0.4rem;
  font-weight: 700;
}

.booking__ask {
  max-width: 40ch;
  margin-top: 1.25rem;
}

.booking__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn-dark {
  color: var(--brass);
  background: var(--black);
  border-color: var(--black);
}

.btn-dark:hover {
  color: var(--ivory);
}

.btn-dark-line {
  color: var(--black);
  background: transparent;
  border-color: var(--black);
}

.btn-dark-line:hover {
  color: var(--brass);
  background: var(--black);
}

.booking__email {
  margin-top: 1.5rem;
}

.booking__email a {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.booking__area {
  align-self: end;
  padding-left: clamp(0rem, 3vw, 2.5rem);
  border-left: 2px solid var(--black);
}

.booking__area h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-stretch: 62%;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.booking__area > p {
  margin-top: 0.75rem;
}

.booking__places {
  margin-top: 1.25rem;
}

.booking__places li {
  padding-block: 0.35rem;
  border-bottom: 1px solid rgba(15, 14, 13, 0.28);
  font-weight: 600;
}

/* Footer and phone bar */

.footer {
  padding: 2.5rem var(--gutter);
  color: var(--muted);
  font-size: 0.85rem;
  font-stretch: 112%;
  letter-spacing: 0.04em;
  text-align: center;
}

.book-bar {
  background: rgba(15, 14, 13, 0.94);
  border-top: 1px solid var(--rule);
}

/* Layout changes */

@media (max-width: 62rem) {
  .cover {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .cover__photo {
    width: min(100%, 34rem);
    max-height: none;
  }

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

  .level {
    grid-template-columns: 4rem minmax(0, 1fr);
    column-gap: 1rem;
  }

  .level__meter {
    grid-row: span 3;
  }

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

  .booking__area {
    padding-top: 2rem;
    padding-left: 0;
    border-top: 2px solid var(--black);
    border-left: 0;
  }
}

@media (max-width: 47.99rem) {
  .masthead {
    min-height: 4rem;
  }

  .masthead__nav,
  .masthead__cta {
    display: none;
  }

  .cover__actions {
    display: none;
  }

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

  .personnel .label {
    grid-row: auto;
  }

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

@media print {
  :root {
    color-scheme: light;
  }

  body,
  .booking {
    color: #111111;
    background: #ffffff;
  }

  .duo {
    background: #ffffff;
  }
}
