/* DJ Saygo — palette drawn from the logo: dark charcoal + blue→green gradient */
:root {
  --bg: #16211f;
  --bg-alt: #1c2a28;
  --surface: #223432;
  --text: #e8f2ef;
  --text-dim: #a8bcb7;
  --blue: #1673c0;
  --green: #2ee59d;
  --grad: linear-gradient(100deg, var(--blue), var(--green));
  --radius: 14px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); letter-spacing: .02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h2::after {
  content: "";
  display: block;
  width: 64px; height: 4px;
  margin-top: .4em;
  border-radius: 2px;
  background: var(--grad);
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 640px; }
.accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
}
.nav__menu {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav__menu a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: color .15s;
}
.nav__menu a:hover, .nav__menu a:focus-visible { color: var(--green); }
.nav__ext { opacity: .9; }
.nav__lang {
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px;
  padding: .15rem .55rem; font-size: .85rem;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: .5rem;
  cursor: pointer;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform .2s, opacity .2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { display: block; padding: .9rem 1.25rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
  background:
    linear-gradient(180deg, rgba(22, 33, 31, .82), rgba(22, 33, 31, .94)),
    url("/assets/img/concert-hero.jpg") center / cover no-repeat;
}
@media (max-width: 760px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(22, 33, 31, .82), rgba(22, 33, 31, .94)),
      url("/assets/img/concert-hero-768.jpg");
  }
}
.hero__inner { max-width: 720px; }
.hero__logo { width: min(280px, 60vw); margin: 0 auto 1.5rem; }
.hero__tagline {
  color: var(--text-dim);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin: 0 0 2rem;
}
.hero__badges {
  display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap;
  list-style: none; margin: 0 0 1.8rem; padding: 0;
}
.hero__badges li {
  border: 1px solid rgba(46, 229, 157, .35); border-radius: 999px;
  padding: .35rem .95rem; font-size: .85rem; color: var(--text-dim);
}
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .8rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .15s, box-shadow .15s;
}
.btn--primary {
  background: var(--grad);
  color: #08110f;
}
.btn--primary:hover, .btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 229, 157, .25);
}
.btn--ghost {
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, .35);
}
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--green); color: var(--green); }
.btn--wide { width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section__lead { color: var(--text-dim); margin-top: -0.4rem; margin-bottom: 2.2rem; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}
.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform .15s, border-color .15s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(46, 229, 157, .4); }
.card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.card p { color: var(--text-dim); font-size: .95rem; margin: 0; }
.card__icon {
  width: 46px; height: 46px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--grad);
  color: #08110f;
  display: grid;
  place-items: center;
}
.card__icon svg { width: 26px; height: 26px; }

/* Media + text */
.media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.media-text__media { margin: 0; }
.media-text__media img { border-radius: var(--radius); }
@media (max-width: 760px) {
  .media-text { grid-template-columns: 1fr; }
  .media-text__media { order: -1; }
}

/* Link tiles */
.shows { margin-bottom: 2.4rem; }
.shows iframe { width: 100%; border: 0; border-radius: var(--radius); display: block; }
.shows__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: .9rem; margin-top: 1rem;
}
.show-card {
  display: flex; align-items: center; gap: .8rem; text-align: left;
  background: var(--surface); border: 1px solid transparent;
  border-radius: var(--radius); padding: .6rem .8rem; cursor: pointer;
  color: inherit; font: inherit; transition: border-color .15s, transform .15s;
}
.show-card:hover, .show-card:focus-visible { transform: translateY(-2px); border-color: rgba(46, 229, 157, .4); }
.show-card.is-active { border-color: var(--green); }
.show-card img { border-radius: 8px; flex-shrink: 0; }
.show-card__text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.show-card__title {
  font-weight: 600; font-size: .95rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.show-card__date { color: var(--text-dim); font-size: .85rem; }

.clips {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem; justify-items: center; align-items: start;
}
.clip-tile {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10;
  border-radius: var(--radius); overflow: hidden; background: var(--surface);
  border: 1px solid transparent; transition: border-color .15s, transform .15s;
}
.clip-tile:hover, .clip-tile:focus-visible { transform: translateY(-3px); border-color: rgba(46, 229, 157, .4); }
.clip-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.clip-tile__cta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.8rem .9rem .7rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  color: #fff; font-weight: 600; font-size: .9rem;
}

.links-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.link-tile {
  display: block;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  text-decoration: none;
  transition: transform .15s, border-color .15s;
}
.link-tile:hover { transform: translateY(-3px); border-color: rgba(46, 229, 157, .4); }
.link-tile__title { display: block; font-weight: 700; color: var(--text); font-size: 1.1rem; }
.link-tile__sub { display: block; color: var(--text-dim); font-size: .9rem; margin-top: .2rem; }

/* ---------- Form ---------- */
form label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 1.1rem;
}
form input, form textarea {
  display: block;
  width: 100%;
  margin-top: .35rem;
  padding: .75rem .9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  transition: border-color .15s;
}
form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-status { min-height: 1.4em; margin-top: 1rem; font-weight: 600; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #ff8a80; }
.contact-alt { color: var(--text-dim); margin-top: 1.6rem; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 1.6rem 0;
}
.site-footer__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.site-footer p { margin: 0; color: var(--text-dim); font-size: .9rem; }
.site-footer__links { display: flex; gap: 1.2rem; }
.site-footer__links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: .9rem;
}
.site-footer__links a:hover { color: var(--green); }

/* ===========================================================================
   Hero + run sheet
   ---------------------------------------------------------------------------
   The page leads with the division of labour ("you pick the flow, I pick the
   songs") and then proves it: every celebration runs the same five beats -
   arrival, the formal moment, dinner, open floor, the close - and what changes
   is what each one calls them and what has to go right. The four event types
   sit side by side with equal billing rather than one being the default.

   Palette stays anchored to the logo. One addition: a warm amber, the colour of
   event uplighting, used only on the two emphasised words in the headline and
   on the run-sheet marks. Cool brand, warm room.
   ========================================================================= */

/* Fraunces carries the headline and the moment names; the system stack keeps
   the body text fast. swap so the system serif renders first. */
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Fraunces;
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --amber: #e8a33d;
  --amber-dim: rgba(232, 163, 61, .3);
  --ink-0: #0e1716;
  --rule-a: rgba(232, 242, 239, .12);
}

/* ---- Hero ---------------------------------------------------------------- */
.hero-a {
  position: relative;
  min-height: min(88vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink-0);
  isolation: isolate;
}
.hero-a__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  filter: saturate(.95) contrast(1.03);
}
.hero-a__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(14,23,22,.94) 0%, rgba(14,23,22,.82) 34%, rgba(14,23,22,.36) 68%, rgba(14,23,22,.5) 100%),
    linear-gradient(180deg, rgba(14,23,22,.5) 0%, transparent 30%, rgba(14,23,22,.85) 100%);
}
.hero-a__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem 4.5rem;
}
.hero-a__eyebrow {
  margin: 0 0 1.4rem;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
}
/* Two emphasised nouns are the whole flourish, so everything around them stays
   quiet: one weight, no gradient, no shadow. */
.hero-a__title {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(2.4rem, 6.6vw, 5rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  margin: 0 0 1.2rem;
  max-width: 18ch;
  text-wrap: balance;
}
.hero-a__title em {
  font-style: italic;
  font-variation-settings: "WONK" 1;
  color: var(--amber);
}
.hero-a__lead {
  margin: 0 0 2rem;
  max-width: 46ch;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-dim);
}
.hero-a__cta { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---- Run sheet ----------------------------------------------------------- */
.run { background: var(--bg); }
.run__intro { max-width: 56ch; }

.run__pick {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 2rem 0 .4rem;
  padding: 0;
  border: 0;
}
.run__tab {
  appearance: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--rule-a);
  border-radius: 999px;
  padding: .55rem 1.1rem;
  font: inherit;
  font-size: .92rem;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.run__tab:hover { color: var(--text); border-color: var(--text-dim); }
.run__tab[aria-selected="true"] {
  color: var(--ink-0);
  background: var(--amber);
  border-color: var(--amber);
  font-weight: 600;
}
.run__tab:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.run__panel[hidden] { display: none; }
.run__panel:focus { outline: none; }

.run__rail { list-style: none; margin: 2.2rem 0 0; padding: 0; position: relative; }
.run__rail::before {                      /* the spine the night hangs off */
  content: "";
  position: absolute;
  left: 0;
  top: .6rem;
  bottom: 2.4rem;
  width: 1px;
  background: linear-gradient(180deg, var(--amber-dim), var(--rule-a) 70%, transparent);
}
.run__moment {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: .4rem 2.6rem;
  padding: 0 0 2.4rem 1.6rem;
}
.run__moment::before {
  content: "";
  position: absolute;
  left: -3.5px;
  top: .65rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--amber-dim);
  transition: box-shadow .5s ease, background .5s ease;
}
.run__moment.is-lit::before {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(232, 163, 61, .16);
}
.run__name {
  font-family: Fraunces, Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.15;
  margin: 0;
  color: var(--text);
}
.run__name::after { content: none; }      /* cancel the global heading rule */
.run__gloss {
  grid-column: 1;
  margin: .15rem 0 0;
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: .75;
}
.run__what {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  max-width: 54ch;
  color: var(--text-dim);
}
.run__what strong { color: var(--text); font-weight: 600; }

.run__note {
  margin: .4rem 0 0 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule-a);
  max-width: 62ch;
  color: var(--text-dim);
}

/* Without JS every panel renders under its own heading, so the content is
   never gated behind script - and stays crawlable. */
.no-js .run__pick { display: none; }
.no-js .run__panel[hidden] { display: block; }
.run__panel-title {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.5rem;
  margin: 2.2rem 0 0;
  display: none;
}
.run__panel-title::after { content: none; }
.no-js .run__panel-title { display: block; }

@media (max-width: 760px) {
  .run__moment {
    grid-template-columns: 1fr;
    gap: .25rem;
    padding-left: 1.3rem;
    padding-bottom: 2rem;
  }
  .run__what { grid-column: 1; grid-row: auto; margin-top: .5rem; }
  .run__note { margin-left: 1.3rem; }
  .hero-a__inner { padding-bottom: 3rem; }
}
@media (max-width: 560px) {
  .run__tab { padding: .5rem .85rem; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .run__moment::before { transition: none; }
}

/* ---- What I bring ---------------------------------------------------------
   The rig, stated plainly. Three blocks rather than cards: sound, lighting,
   and the case where the venue already has both - which is a real question a
   planner asks before booking, not a footnote.
   ------------------------------------------------------------------------ */
.rig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.2rem; }
.rig__item { border-top: 1px solid var(--rule-a); padding-top: 1.1rem; }
.rig__item h3 {
  font-family: Fraunces, Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 .5rem;
}
.rig__item h3::after { content: none; }
.rig__item p { margin: 0; color: var(--text-dim); }
.rig__item p + p { margin-top: .7rem; }
.rig__item em { color: var(--amber); font-style: normal; }
@media (max-width: 860px) { .rig { grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; } }
@media (max-width: 560px) { .rig { grid-template-columns: 1fr; } }

/* ---- Sub-page header ------------------------------------------------------
   Pages that are a destination rather than a pitch (/tip/) skip the video hero
   and open with type only, keeping the headline voice of the home page. */
.page-head { padding: 3.4rem 0 0; background: var(--bg); }
.page-head__eyebrow {
  margin: 0 0 1.2rem;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
}
.page-head__title {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 1rem;
  max-width: 18ch;
  text-wrap: balance;
}
.page-head__title em {
  font-style: italic;
  font-variation-settings: "WONK" 1;
  color: var(--amber);
}
.page-head__lead {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-dim);
}

/* ---- Tip jar --------------------------------------------------------------
   The Tip Top Jar embed is a fixed-width (342px) white card inside an iframe we
   don't control, so it gets a panel of its own rather than being asked to blend
   into the dark page. The notes column sits left on desktop; on narrow screens
   the panel comes first, because the tip is what the visitor came for. */
.tip-section { padding-top: 2.6rem; }
.tip {
  display: grid;
  grid-template-columns: 1fr 382px;
  gap: 3rem;
  align-items: start;
}
.tip__notes { grid-column: 1; grid-row: 1; }
.tip__panel {
  grid-column: 2;
  grid-row: 1;
  background: var(--surface);
  border: 1px solid var(--rule-a);
  border-radius: var(--radius);
  padding: 1rem 1rem 1.2rem;
}
.tip__panel-title {
  margin: .2rem 0 .6rem;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}
/* The widget inserts its own 342px card here (with a 10px margin of its own)
   and grows the height by postMessage once the iframe reports its size. */
.tip__embed { display: flex; justify-content: center; }
.tip__fallback {
  margin: .8rem 0 0;
  color: var(--text-dim);
  font-size: .9rem;
  text-align: center;
}
.tip__alt { margin: .9rem 0 0; text-align: center; font-size: .9rem; }
.tip__alt a { color: var(--text-dim); text-decoration: none; }
.tip__alt a:hover, .tip__alt a:focus-visible { color: var(--green); }

.tip__note { border-top: 1px solid var(--rule-a); padding-top: 1.1rem; margin-top: 1.6rem; }
.tip__note h3 {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0 0 .4rem;
}
.tip__note p { margin: 0; color: var(--text-dim); }
.tip__book { margin: 2rem 0 0; color: var(--text-dim); }

@media (max-width: 900px) {
  .tip { grid-template-columns: 1fr; gap: 2.4rem; justify-items: center; }
  .tip__panel { grid-column: 1; grid-row: 1; width: 100%; max-width: 382px; }
  .tip__notes { grid-column: 1; grid-row: 2; max-width: 560px; }
}

/* The embed is a hard-coded 342px card with a 10px margin of its own, which is
   wider than a small phone once the page padding is counted. Below 480px the
   panel gives back its padding, and below that the card is zoomed down to fit
   rather than pushing the page sideways. */
@media (max-width: 480px) {
  .tip-section .container { padding-left: .75rem; padding-right: .75rem; }
  .tip__panel { padding: .75rem .5rem 1rem; }
  .tip__embed > div { margin-left: 0 !important; margin-right: 0 !important; }
}
@media (max-width: 389px) { .tip__embed { zoom: .95; } }
@media (max-width: 359px) { .tip__embed { zoom: .90; } }
@media (max-width: 339px) { .tip__embed { zoom: .80; } }

/* ---- Tip QR ---------------------------------------------------------------
   Doubles as a display surface: someone scans this page off a phone or laptop
   screen at the booth, so the code is large, centred, and dark-on-light on its
   own white card whatever the page around it is doing. */
.page-head--center { text-align: center; }
.page-head--center .page-head__title { max-width: none; margin-inline: auto; }

.qr { text-align: center; }
.qr__card {
  display: inline-block;
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem;
  line-height: 0;
}
.qr__card img { width: min(340px, 72vw); height: auto; }
.qr__url { margin: 1.1rem 0 0; font-size: 1.05rem; letter-spacing: .01em; }
.qr__url a { color: var(--text-dim); text-decoration: none; }
.qr__url a:hover, .qr__url a:focus-visible { color: var(--green); }
.qr__actions {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}
.qr__notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 3.4rem auto 0;
  text-align: left;
}
.qr__note { border-top: 1px solid var(--rule-a); padding-top: 1.1rem; }
.qr__note h2 {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.1rem;
  margin: 0 0 .4rem;
}
.qr__note h2::after { content: none; }   /* cancel the global heading rule */
.qr__note p { margin: 0; color: var(--text-dim); font-size: .95rem; }
@media (max-width: 760px) { .qr__notes { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ---- Booth request board --------------------------------------------------
   Read at arm's length, one-handed, in a dark room, while something else has
   your attention: the note is the biggest thing on each card, the amount is
   the tap target that marks it played, and nothing moves on its own. */
.board-body { padding: 0 0 3rem; }
.board-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-a);
  padding: max(.9rem, env(safe-area-inset-top)) 1rem .7rem;
}
.board-head__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.board-head__title {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0;
}
.board-head__refresh {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--rule-a);
  background: transparent;
  color: var(--text-dim);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.board-head__refresh:active { background: var(--surface); color: var(--text); }
.board-head__status { margin: .3rem 0 0; font-size: .85rem; color: var(--text-dim); }
.board-head__status.is-error { color: var(--amber); }

.board { padding: 1rem 1rem 0; max-width: 640px; margin: 0 auto; display: grid; gap: .8rem; }
.board__empty { color: var(--text-dim); text-align: center; padding: 3rem 0; }

.tipcard {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--rule-a);
  border-radius: var(--radius);
  padding: .9rem;
}
.tipcard__done {
  position: relative;
  flex: none;
  min-width: 78px;
  min-height: 58px;
  border-radius: 10px;
  border: 1px solid var(--amber-dim);
  background: transparent;
  color: var(--amber);
  font: 700 1.2rem/1 system-ui, sans-serif;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.tipcard__check { position: absolute; font-size: 1.5rem; color: var(--green); opacity: 0; }
.tipcard__body { min-width: 0; }
.tipcard__note {
  margin: 0 0 .35rem;
  font-size: 1.15rem;
  line-height: 1.35;
  overflow-wrap: anywhere;   /* a note can be one unbroken 200-character word */
}
.tipcard__note--empty { color: var(--text-dim); font-size: 1rem; font-style: italic; }
.tipcard__meta { margin: 0; color: var(--text-dim); font-size: .85rem; }
.tipcard__gif { margin: .4rem 0 0; font-size: .85rem; }

.tipcard.is-done { opacity: .45; }
.tipcard.is-done .tipcard__amount { opacity: 0; }
.tipcard.is-done .tipcard__check { opacity: 1; }
.tipcard.is-done .tipcard__note { text-decoration: line-through; }

/* ---- Promo crate ----------------------------------------------------------
   /promos/ reuses the board's sticky head and column. Each card is a cover, the
   title and artist, the native player (it already handles seeking, scrubbing
   and the lock screen on phones) and the two things done after a gig: grab the
   file, or send the track to whoever asked what it was. */
.promo {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--rule-a);
  border-radius: var(--radius);
  padding: .9rem;
}
.promo.is-focus { border-color: var(--green); }
.promo__cover {
  flex: none;
  width: 96px; height: 96px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-alt);
}
.promo__body { min-width: 0; flex: 1; }
.promo__title {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0;
  overflow-wrap: anywhere;
}
.promo__title::after { content: none; }
.promo__artist { margin: .1rem 0 0; color: var(--text-dim); }
.promo__note { margin: .4rem 0 0; font-size: .85rem; color: var(--amber); }
.promo__audio { display: block; width: 100%; margin: .7rem 0 0; }
.promo__audio[hidden] { display: none; }
.promo__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .7rem 0 0; }
.promo__btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--rule-a);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: .9rem;
  text-decoration: none;
  cursor: pointer;
}
.promo__btn[hidden] { display: none; }
.promo__btn:hover, .promo__btn:focus-visible { border-color: var(--green); color: var(--green); }
.promo__meta { margin: .5rem 0 0; font-size: .8rem; color: var(--text-dim); }
/* On a phone the player needs the width more than the artwork does. */
@media (max-width: 480px) {
  .promo { flex-wrap: wrap; }
  .promo__cover { width: 64px; height: 64px; }
  .promo__body { flex-basis: calc(100% - 64px - .9rem); }
  .promo__head { min-height: 64px; }
  .promo__audio, .promo__actions, .promo__meta { margin-left: calc(-64px - .9rem); width: calc(100% + 64px + .9rem); }
}
