/* Gravy — gravymusic.com
   Everything here comes from the Get Busy Living artwork: the orange sticker
   wordmark, the tall condensed type with one colour per word, black-and-white
   photocopy photos, and the tour-poster schedule. */
:root {
  --black: #111111;
  --panel: #1b1b1b;
  --paper: #ecebe3;
  --cream: #efedb0;   /* tour-poster schedule */
  --orange: #f47b2e;  /* GRAVY */
  --blue: #5cc6ef;    /* BUSY */
  --yellow: #f4e64a;  /* GET */
  --green: #9fd25a;   /* LIVING */
  --grey: #585d60;    /* poster ink */

  --m: clamp(16px, 3vw, 48px);
  --display: "League Gothic", "Oswald", Impact, "Arial Narrow", sans-serif;
  --text: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--black); color: var(--paper); font: 400 18px/1.5 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-underline-offset: .18em; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.c-orange { color: var(--orange); }
.c-blue { color: var(--blue); }
.c-yellow { color: var(--yellow); }
.c-green { color: var(--green); }

.skip { position: absolute; left: var(--m); top: -80px; z-index: 10; background: var(--yellow); color: var(--black); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

/* The sticker: thick black outline behind the letters, like the cover's logo */
.sticker, .brand, .tagline, .top nav a {
  -webkit-text-stroke: .14em var(--black); paint-order: stroke fill;
}

/* Header */
.top {
  position: absolute; inset: 0 0 auto; z-index: 3;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px;
  padding: 18px var(--m);
}
.brand { font: 400 44px/1 var(--display); text-transform: uppercase; color: var(--orange); text-decoration: none; }
.top nav ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.top nav a { display: inline-block; padding: 6px 0; font: 400 26px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; }

/* Hero: the photocopied Tipitina's stage with the sticker wordmark */
.hero { position: relative; background: var(--grey); }
.hero img { width: 100%; height: min(100svh, 62vw + 80px); min-height: 560px; object-fit: cover; object-position: 50% 30%; }
.hero-mark { position: absolute; left: var(--m); bottom: clamp(24px, 6vh, 72px); display: grid; justify-items: start; }
.hero h1 { -webkit-text-stroke-width: .07em; font: 400 clamp(8rem, 24vw, 22rem)/.82 var(--display); text-transform: uppercase; color: var(--orange); }
.tagline { font: 400 clamp(2.25rem, 5.2vw, 4.75rem)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; margin-top: -.05em; }

/* Sections */
.section { padding: clamp(72px, 9vw, 140px) var(--m) 0; }
.section h2, .foot h2 {
  font: 400 clamp(3.5rem, 8vw, 7.5rem)/.9 var(--display); text-transform: uppercase;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.note, .credit { color: var(--cream); }
.credit { margin-top: 16px; font-size: 15px; }

/* Photos: a wall, as many as fit */
.wall { columns: 4 260px; column-gap: 10px; }
.wall li { break-inside: avoid; margin-bottom: 10px; }
.wall a { display: block; overflow: hidden; background: var(--panel); }
.wall img { width: 100%; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.wall a:hover img, .wall a:focus-visible img { transform: scale(1.04); }

/* Records: one row */
.records { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 40px); }
.records img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.records h3 { font: 400 clamp(2rem, 3vw, 2.75rem)/1 var(--display); text-transform: uppercase; margin-top: 16px; }
.records p { color: var(--cream); margin-top: 4px; }
.records a:hover { color: var(--yellow); }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(16px, 2vw, 28px); }
.frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); }
.frame > a { position: absolute; inset: 0; display: block; }
.frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); transition: filter .3s, transform .5s cubic-bezier(.16, 1, .3, 1); }
.frame a:hover img, .frame a:focus-visible img { filter: none; transform: scale(1.03); }
.play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: var(--orange); border: 4px solid var(--black); }
.play::after { content: ""; position: absolute; left: 21px; top: 15px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--black); }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.videos h3 { font: 400 30px/1 var(--display); text-transform: uppercase; margin-top: 14px; color: var(--paper); }
.videos p { color: var(--cream); font-size: 16px; }

/* Shows: set like the Get Busy Living tour poster */
.shows .note { margin: -16px 0 24px; }
.year { border-top: 4px solid var(--grey); }
.year:last-of-type { border-bottom: 4px solid var(--grey); }
.year summary { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; cursor: pointer; list-style: none; }
.year summary::-webkit-details-marker { display: none; }
.year .y { font: 400 clamp(2.75rem, 5vw, 4rem)/1 var(--display); color: var(--yellow); }
.year:nth-of-type(4n+2) .y { color: var(--blue); }
.year:nth-of-type(4n+3) .y { color: var(--green); }
.year:nth-of-type(4n) .y { color: var(--orange); }
.year .n { color: var(--cream); }
.year .n::after { content: "  +"; color: var(--yellow); }
.year[open] .n::after { content: "  \2212"; }
.year summary:hover .y { text-decoration: underline; text-decoration-thickness: 3px; }
.tour { padding: 4px 0 32px; }
.tour-cols { columns: 2 520px; column-gap: 48px; }
.tour li { break-inside: avoid; font: 400 clamp(1.4rem, 2vw, 1.75rem)/1.25 var(--display); color: var(--cream); padding: 2px 0; }
.tour time { font-variant-numeric: tabular-nums; }
.tour b { font-weight: 400; text-transform: uppercase; color: var(--paper); }

/* Photos and Posters: one row each, scrolled sideways */
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, 3vw, 40px); }
.row-head h2 { margin-bottom: 0; }
.row-nav { display: flex; gap: 10px; }
.row-nav[hidden] { display: none; }
.row-btn {
  width: 56px; height: 56px; border-radius: 50%; cursor: pointer;
  background: var(--orange); color: var(--black); border: 4px solid var(--black);
  font: 400 30px/1 var(--display); transition: transform .2s cubic-bezier(.16, 1, .3, 1), background-color .2s;
}
.row-btn:hover { background: var(--yellow); }
.row-btn:active { transform: scale(.94); }
.row-btn:disabled { background: var(--grey); cursor: default; }
#posters .row-btn { background: var(--blue); }
#posters .row-btn:hover { background: var(--yellow); }
#posters .row-btn:disabled { background: var(--grey); }
.row {
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--m);
  margin-inline: calc(var(--m) * -1); padding: 0 var(--m) 16px;
  scrollbar-width: thin; scrollbar-color: var(--grey) transparent;
}
.row li { flex: 0 0 clamp(220px, 21vw, 320px); scroll-snap-align: start; }
.row a { display: block; overflow: hidden; background: var(--panel); }
.row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.posters img { object-position: 50% 0; }
.row a:hover img, .row a:focus-visible img { transform: scale(1.04); }
.row a:focus-visible { outline-offset: -3px; }
#photos .credit { margin: -12px 0 20px; }
.more { margin-top: 24px; }
.more a { font: 400 30px/1 var(--display); text-transform: uppercase; color: var(--yellow); text-decoration: none; }
.more a::after { content: " \2192"; }
.more a:hover { text-decoration: underline; }
.subpage { padding-top: 64px; }
.subpage h1 { font: 400 clamp(3.5rem, 8vw, 7.5rem)/.9 var(--display); text-transform: uppercase; margin-bottom: 16px; }
.subpage .note { margin-bottom: 32px; }

/* Footer */
.foot { padding: clamp(96px, 12vw, 180px) var(--m) 32px; }
.mail {
  display: inline-block; font: 400 clamp(3rem, 10vw, 9rem)/1 var(--display); text-transform: uppercase;
  color: var(--orange); text-decoration: none; overflow-wrap: anywhere;
}
.mail:hover { color: var(--yellow); }
.social { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 24px; }
.social a { display: inline-block; padding: 8px 0; font: 400 32px/1 var(--display); text-transform: uppercase; text-decoration: none; }
.social a:hover { text-decoration: underline; }
.fine { margin-top: 56px; color: var(--cream); font-size: 15px; }

/* Lightbox (JS only) */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; }
.lightbox::backdrop { background: rgba(10, 10, 10, .95); }
.lightbox img { max-width: 94vw; max-height: 90dvh; width: auto; margin: auto; }
.lightbox button.lb-step { top: 50%; right: auto; margin-top: -24px; }
.lightbox button.lb-prev { left: 14px; }
.lightbox button.lb-next { left: auto; right: 14px; }
.lightbox button {
  position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: var(--orange); color: var(--black); border: 3px solid var(--black); font: 400 30px/1 var(--display);
}

@media (max-width: 900px) {
  .videos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .top { padding-top: 12px; }
  .brand { font-size: 36px; }
  .top nav a { font-size: 22px; }
  .hero img { height: 82svh; min-height: 0; object-position: 66% 30%; }
  .hero h1 { font-size: 40vw; }
  .tagline { font-size: 9.6vw; }
  .wall { columns: 2; column-gap: 8px; }
  .wall li { margin-bottom: 8px; }
  .records { grid-template-columns: 1fr 1fr; }
  .records li:first-child { grid-column: 1 / -1; }
  .videos { grid-template-columns: 1fr; }
  .tour-cols { columns: 1; }
  .row li { flex-basis: 68vw; }
  .row-btn { width: 48px; height: 48px; font-size: 26px; }
  .subpage { padding-top: 96px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-mark { animation: stick .8s cubic-bezier(.16, 1, .3, 1) .1s both; }
}
@keyframes stick { from { opacity: 0; transform: translateY(24px) rotate(-3deg) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
