/* Palette pulled from jdrossofficial.com: bone background, black type,
   charcoal #3e3e3e, plus the red from JD's cap. Red, white, black only. */
:root {
  color-scheme: light;
  --bg: #ebeadf;         /* JD site bone */
  --bg-2: #e0ded0;
  --surface: #ffffff;
  --surface-hi: #f7f6f0;
  --line: #cfccbc;
  --text: #111111;
  --char: #3e3e3e;       /* JD site charcoal */
  --mute: #66635a;
  --red: #d62e2b;        /* the red cap */
  --red-hi: #b8211f;
  --red-text: #b8211f;   /* red for small text: 5.3:1 on bone (the brighter red is 4.0:1) */
  --red-soft: #fbe4df;
  --warn: #b8211f;
  --display: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --wide: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 32px);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(17,17,17,.06), 0 4px 14px rgba(17,17,17,.07);
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.5 var(--body); -webkit-font-smoothing: antialiased; font-feature-settings: "lnum" 1; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; flex: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { max-width: 920px; margin: 0 auto; padding-inline: var(--gutter); }

.demo { background: var(--text); color: var(--bg); font: 500 12px/1.4 var(--mono); padding: 8px var(--gutter); text-align: center; }
.eyebrow { margin: 0 0 12px; font: 600 12px/1 var(--wide); font-stretch: 125%; text-transform: uppercase; letter-spacing: .2em; color: var(--mute); }
.label { font: 700 15px/1.2 var(--body); color: var(--char); }
.err { margin: 12px 0 0; color: var(--warn); font-size: 16px; font-weight: 600; }

/* shared with the stage page */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 999px; cursor: pointer; border: 0; font: 800 17px/1 var(--body); text-decoration: none; }
.btn-solid { background: var(--text); color: #fff; }
.sort { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.sort button { background: transparent; border: 1px solid var(--line); border-radius: 999px; color: var(--char); padding: 6px 12px; cursor: pointer; font: 600 13px/1 var(--body); }
.sort button.on { background: var(--red); border-color: var(--red); color: #fff; }

/* ── app frame: one narrow column, one question at a time ─ */
.app { max-width: 520px; margin: 0 auto; padding: 0 var(--gutter) 40px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; }
.back {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px 0 16px;
  background: var(--surface); border: 0; border-radius: 999px; box-shadow: var(--shadow);
  font: 700 17px/1 var(--body); cursor: pointer;
}
.back span { font-size: 22px; line-height: 0; }
.progress { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font: 600 13px/1 var(--body); color: var(--mute); }
.dots { display: flex; gap: 5px; }
.dots i { width: 22px; height: 6px; border-radius: 3px; background: var(--line); }
.dots i.on { background: var(--red); }

.screen { padding-top: 22px; animation: in .2s ease-out; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ask { margin: 0; font: 800 clamp(34px, 9vw, 44px)/1.05 var(--display); text-wrap: balance; }
.hint { margin: 10px 0 0; font-size: 18px; color: var(--char); }

/* ── start screen ──────────────────────────────────────── */
.home { display: flex; flex-direction: column; min-height: calc(100svh - 40px); padding-top: 12px; }
.wordmark { margin: 0; font: 800 clamp(44px, 13vw, 64px)/.95 var(--wide); font-stretch: 125%; text-transform: uppercase; }
.wordmark span { color: var(--red); }
.hello { margin: 22px 0 0; font: 700 24px/1.25 var(--display); }
.choices { display: grid; gap: 14px; margin-top: 22px; }
.choice {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 120px; padding: 20px;
  border: 0; border-radius: 24px; cursor: pointer; text-align: left; color: #fff;
  box-shadow: 0 6px 20px rgba(17,17,17,.15); transition: transform .1s;
}
.choice:active { transform: scale(.98); }
.choice-black { background: var(--text); }
.choice-red { background: var(--red); }
.choice .ico {
  flex: none; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; font: 800 30px/1 var(--wide);
}
.choice-black .ico { color: var(--text); }
.choice-red .ico { color: var(--red); }
.choice .txt { flex: 1; min-width: 0; }
.choice b { display: block; font: 800 28px/1.05 var(--display); }
.choice small { display: block; margin-top: 6px; font-size: 15px; opacity: .85; }
.choice .arrow { flex: none; font-size: 30px; }
.foot { margin: auto 0 0; padding-top: 28px; color: var(--mute); font-size: 14px; text-align: center; }

/* ── pick a song ───────────────────────────────────────── */
.search {
  position: sticky; top: 8px; z-index: 3;
  display: flex; align-items: center; gap: 12px; height: 64px; margin-top: 16px; padding: 0 20px;
  background: var(--surface); border-radius: 999px; cursor: text; box-shadow: inset 0 0 0 3px var(--text), 0 6px 18px rgba(17,17,17,.1);
}
.search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; font-size: 20px; font-weight: 500; }
.search input::placeholder { color: #77736a; }
.browse { margin-top: 18px; }
.browse .label { margin: 0 0 8px 4px; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; background: var(--bg-2); border-radius: 999px; }
.tab { height: 44px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font: 700 15px/1 var(--body); color: var(--char); white-space: nowrap; }
.tab.on { background: var(--text); color: #fff; }
.options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.options-artist { max-height: 232px; overflow-y: auto; padding: 2px; }
.opt {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px;
  border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 2px #8a877c;
  cursor: pointer; font: 700 16px/1 var(--body);
}
.opt span { font: 600 12px/1 var(--mono); color: var(--mute); }
.opt.on { background: var(--red); color: #fff; box-shadow: none; }
.opt.on span { color: #ffe1dc; }
.showing { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 18px 4px 0; scroll-margin-top: 84px; font-size: 16px; color: var(--char); }
.clear-pick { margin-left: auto; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font: 700 14px/1 var(--body); cursor: pointer; }
.field-lbl { display: block; margin: 20px 0 0 4px; font: 700 17px/1.2 var(--body); }
.field-lbl + .big-input { margin-top: 8px; }
.list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 72px;
  padding: 12px 16px 12px 20px; background: var(--surface); border: 0; border-radius: var(--radius); box-shadow: var(--shadow);
  cursor: pointer; text-align: left;
}
.row:active { background: var(--red-soft); }
.row b { display: block; font: 800 20px/1.2 var(--display); }
.row small { display: block; margin-top: 2px; font-size: 15px; color: var(--mute); }
.row .go {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--text); color: #fff; font: 700 26px/1 var(--body); padding-bottom: 3px;
}
.none p { margin: 14px 4px 8px; color: var(--char); font-weight: 600; }
.row-custom { background: var(--red-soft); box-shadow: inset 0 0 0 2px var(--red); }
.row-custom .go { background: var(--red); }

/* ── shared step pieces ────────────────────────────────── */
.summary {
  margin-bottom: 18px; padding: 14px 18px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow);
  font-size: 17px; color: var(--char);
}
.summary b { color: var(--text); }
.summary b.red { color: var(--red-text); }
.summary span { color: var(--mute); }

.big-input {
  width: 100%; height: 66px; margin-top: 20px; padding: 0 22px; border: 0; border-radius: 16px;
  background: var(--surface); box-shadow: inset 0 0 0 3px var(--text); font-size: 22px; font-weight: 500;
}
.big-input:focus { outline: none; box-shadow: inset 0 0 0 3px var(--red); }

.next {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 66px; margin-top: 14px;
  border: 0; border-radius: 999px; background: var(--red); color: #fff; cursor: pointer; text-decoration: none;
  font: 800 19px/1.2 var(--body); padding: 0 20px; text-align: center;
}
.next span { font-size: 22px; }
.next:active { background: var(--red-hi); }
.next-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 3px var(--text); font: 700 18px/1.2 var(--body); letter-spacing: 0; text-transform: none; padding: 0 16px; }
.next-ghost:active { background: var(--surface); }
.plain { display: block; width: 100%; margin-top: 8px; padding: 16px; background: none; border: 0; font: 600 18px/1 var(--body); color: var(--mute); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* ── tip amounts ───────────────────────────────────────── */
.amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.amounts button {
  height: 96px; border: 0; border-radius: 20px; cursor: pointer;
  background: var(--surface); box-shadow: inset 0 0 0 3px var(--red), var(--shadow); color: var(--red);
  font: 800 38px/1 var(--wide); font-stretch: 112%;
}
.amounts button:active, .amounts button.on { background: var(--red); color: #fff; }
.amounts .other { font-size: 22px; color: var(--text); box-shadow: inset 0 0 0 3px var(--text), var(--shadow); }
.amounts .other.on { background: var(--text); }
.other-box { margin-top: 14px; }
.money { display: flex; align-items: center; gap: 8px; height: 76px; padding: 0 22px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 3px var(--red); }
.money span { font: 800 34px/1 var(--wide); color: var(--red); }
.money input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; font: 800 34px/1 var(--wide); }

/* ── payment apps ──────────────────────────────────────── */
.methods { display: grid; gap: 12px; margin-top: 22px; }
.pay {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 76px; padding: 0 24px;
  border: 0; border-radius: 20px; cursor: pointer; text-decoration: none; text-align: left;
  background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 3px var(--text), var(--shadow);
}
.pay b { font: 800 21px/1 var(--body); }
.pay small { font: 500 13px/1 var(--mono); color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay:first-child { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(214,46,43,.3); min-height: 84px; }
.pay:first-child small { color: #ffe1dc; }
.pay:active { transform: scale(.98); }

/* ── done ──────────────────────────────────────────────── */
.done { text-align: center; padding-top: 24px; }
.check {
  width: 104px; height: 104px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font: 800 56px/1 var(--body); box-shadow: 0 8px 24px rgba(214,46,43,.3);
}
.done .hint { max-width: 32ch; margin-inline: auto; }
.handle { display: flex; gap: 8px; align-items: center; margin-top: 14px; padding: 10px 10px 10px 18px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); font: 600 16px/1.2 var(--mono); word-break: break-all; text-align: left; }
.handle button { margin-left: auto; flex: none; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: 14px 20px; font: 800 16px/1 var(--body); cursor: pointer; }
.done .next-ghost { margin-top: 28px; }

/* ── follow us (thank-you screen) ──────────────────────── */
.follow { margin-top: 30px; padding: 18px 14px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); text-align: left; }
.follow h3 { margin: 0; font: 800 26px/1.1 var(--display); }
.follow .hint { margin: 6px 0 0; font-size: 16px; }
.follow-links { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 16px; }
.follow-link {
  display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 64px; padding: 10px;
  border-radius: 16px; background: var(--bg); text-decoration: none; color: var(--text);
}
.follow-link:active { background: var(--red-soft); }
.follow-ico { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: #fff; }
.follow-ico svg { width: 22px; height: 22px; stroke-width: 2; }
.follow-link > span:last-child { min-width: 0; }
.follow-link b { display: block; overflow: hidden; text-overflow: ellipsis; font: 700 16px/1.15 var(--body); }
.follow-link small { display: block; font-size: 13px; color: var(--mute); }
@media (max-width: 360px) { .follow-links { grid-template-columns: 1fr; } }

/* ── booking + email list ──────────────────────────────── */
.home-book {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  margin-top: 14px; padding: 16px 20px; border: 0; border-radius: 20px; cursor: pointer; text-align: left;
  background: var(--surface); box-shadow: inset 0 0 0 2px var(--text); font-size: 24px; color: var(--text);
}
.home-book b { display: block; font: 800 19px/1.15 var(--display); }
.home-book small { display: block; margin-top: 3px; font-size: 14px; color: var(--mute); }
.home-book:active { background: var(--surface-hi); }

.card-block { margin-top: 16px; padding: 18px 16px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); text-align: left; }
.card-block h3 { margin: 0; font: 800 24px/1.1 var(--display); }
.card-block .hint { margin: 6px 0 0; font-size: 16px; }
.card-block .big-input { margin-top: 14px; height: 58px; }
.card-block .next { margin-top: 10px; min-height: 58px; }
.card-block.signed h3 { color: var(--red-text); }
.next-dark { background: var(--text); }
.next-dark:active { background: var(--char); }

.event-types { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.etype {
  min-height: 50px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--surface); box-shadow: inset 0 0 0 2px var(--text); font: 700 16px/1 var(--body);
}
.etype.on { background: var(--red); color: #fff; box-shadow: none; }
.opt-note { font-weight: 500; color: var(--mute); }
.check { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 17px; cursor: pointer; }
.check input { width: 26px; height: 26px; accent-color: var(--red); flex: none; }
.direct { margin-top: 18px; text-align: center; color: var(--char); line-height: 1.7; }
.direct a { font-weight: 700; user-select: all; }
input[type="date"].big-input { appearance: none; -webkit-appearance: none; }

/* ── crowd favorites ───────────────────────────────────── */
.favs { margin-top: 20px; }
.favs .label { margin: 0 0 8px 4px; }
.fav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fav {
  display: flex; flex-direction: column; justify-content: center; min-height: 76px; padding: 12px 14px;
  border: 0; border-radius: 16px; background: var(--text); color: #fff; cursor: pointer; text-align: left;
}
.fav b { font: 800 17px/1.15 var(--display); }
.fav small { margin-top: 3px; font-size: 13px; color: #cfccbc; }
.fav:active { background: var(--red); }

/* ── A–Z letters ───────────────────────────────────────── */
.options-letter { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); }
.options-letter .opt { justify-content: center; padding: 0; min-height: 50px; font-size: 19px; }
.options-letter .opt span { display: none; }

/* ── suggested tip ─────────────────────────────────────── */
.amounts button.suggested { position: relative; background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(214,46,43,.35); }
.amounts button.suggested i { color: #fff; }
.amounts button.suggested em { background: var(--text); }
.amounts button em {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  padding: 4px 10px; border-radius: 999px; background: var(--red); color: #fff;
  font: 700 12px/1 var(--body); font-style: normal; white-space: nowrap;
}

/* ── band photo on the start screen ────────────────────── */
.hello-row { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.hello-row .hello { margin: 0; }


/* ── highlighted box above crowd favorites ─────────────── */
.highlight { margin-top: 18px; padding: 14px 16px 16px; border-radius: 18px; background: var(--red-soft); box-shadow: inset 0 0 0 2px var(--red); }
.hl-title { display: flex; align-items: center; gap: 8px; margin: 0; font: 800 20px/1.2 var(--display); color: var(--red-text); }
.hl-title .star { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-size: 15px; flex: none; }
.hl-text { margin: 6px 0 0; font-size: 15px; color: var(--char); }
.hl-songs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-top: 12px; }
.hl-song {
  display: flex; flex-direction: column; justify-content: center; min-height: 66px; padding: 10px 14px;
  border: 0; border-radius: 14px; background: var(--red); color: #fff; cursor: pointer; text-align: left;
}
.hl-song b { font: 800 19px/1.15 var(--display); }
.hl-song small { margin-top: 2px; font-size: 13px; color: #ffe1dc; }
.hl-song:active { background: var(--red-hi); }

/* ── small fun touches ─────────────────────────────────── */
.summary .cheer { font-weight: 800; color: var(--red-text); }
.amounts button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.amounts button i { font: 700 13px/1 var(--body); font-style: normal; color: var(--char); }
.amounts button:active i, .amounts button.on i { color: #fff; }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }
.check svg { width: 58px; height: 58px; stroke: #fff; stroke-width: 3.2; }
.nowrap { white-space: nowrap; }

/* ── start screen hero: the band is the headline ───────── */
.home { padding-top: 0; }
.screen.view-home { padding-top: 0; }
.hero {
  position: relative; overflow: hidden; border-radius: 0 0 28px 28px; background: #0b0b0b;
  margin-inline: calc(var(--gutter) * -1);
  aspect-ratio: 900 / 661;
  box-shadow: 0 14px 34px rgba(17,17,17,.28);
  animation: heroIn .6s ease-out both;
}
.hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% 110%, rgba(214,46,43,.35), transparent 60%),
    linear-gradient(to top, rgba(8,8,8,.96) 0%, rgba(8,8,8,.55) 30%, rgba(8,8,8,0) 58%);
}
.hero-text { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 16px; z-index: 2; color: #fff; }
.hero .wordmark { font-size: 30px; font-stretch: 125%; line-height: 1; white-space: nowrap; color: #fff; }
.hero .wordmark span { color: #ff5a52; }   /* brighter red so it pops on the dark photo */
.hero-names {
  display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px;
  font: 700 12px/1 var(--wide); font-stretch: 125%; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.hero-names span { display: flex; align-items: center; gap: 8px; }
.hero-names span::before { content: ""; width: 14px; height: 2px; background: #ff5a52; }
.hero-names span:last-child { flex-direction: row-reverse; }

.home .hello { margin: 20px 2px 0; font: 800 24px/1.2 var(--display); }
.home .choices, .home .home-book { animation: rise .45s ease-out both; }
.home .choices { animation-delay: .12s; }
.home .home-book { animation-delay: .24s; }

@keyframes heroIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.55); opacity: .5; } }
@media (min-width: 560px) { .hero { margin-inline: 0; margin-top: 16px; border-radius: 28px; } }
