/* reganbogen music page + live press kit. Plain CSS; also builds the one-page PDF (see @media print). */
:root {
  --bg: #0b0a0d;
  --ink: #efeaf5;
  --muted: #bcb4c8;
  --gold: #e3ad45;
  --link: #cfaef5;
  --line: rgba(239, 234, 245, .16);
  --card: rgba(22, 19, 28, .74);
  /* rainbow sampled from the photo: brick red, burnt orange, amber, moss, dusk blue, violet */
  --spectrum: linear-gradient(90deg, #c8402e, #d9702a, #e2a43c, #5f9a6e, #4a82b8, #8a64c4);
  --spectrum-v: linear-gradient(180deg, #c8402e, #d9702a, #e2a43c, #5f9a6e, #4a82b8, #8a64c4);
  --rainbow: linear-gradient(90deg, #c8402e, #d9702a, #e2a43c, #5f9a6e, #4a82b8, #8a64c4);
  --title: "Beth Ellen", cursive;
  --mono: "Space Mono", ui-monospace, monospace;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.75 var(--mono); overflow-x: hidden; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }
.print-only { display: none; }
.skip { position: absolute; left: -999px; top: 12px; z-index: 20; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

#starry-background { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.spectrum { position: relative; z-index: 2; height: 5px; background: var(--spectrum); }
.top, main, .foot { position: relative; z-index: 1; }

/* top nav */
.top { max-width: 1040px; margin: 0 auto; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; }
.top__home { font: 1.5rem/1.6 var(--title); color: var(--gold); text-decoration: none; padding: 0 6px; }
.top__book { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 12px 6px; }
.top__book:hover, .top__home:hover { color: #fff; }

main { max-width: 1040px; margin: 0 auto; padding: 8px 20px 40px; }

/* hero */
.hero { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: center; padding: 28px 0 40px; }
.hero__photo img { width: 100%; -webkit-mask-image: radial-gradient(closest-side at 50% 44%, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 44%, #000 62%, transparent 100%); }
.kicker { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: .4em; }
.rainbow { display: inline-block; font: 400 clamp(3.2rem, 9vw, 5.6rem)/1.45 var(--title); margin: 0 0 -.1em; padding: 0 .2em .4em 0; overflow: visible;
  background-image: linear-gradient(90deg, #c8402e 4%, #d9702a 20%, #e2a43c 38%, #5f9a6e 56%, #4a82b8 74%, #8a64c4 92%); background-size: 100% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 22px rgba(200, 64, 46, .18));
}
.tagline { font-style: italic; color: var(--ink); font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.1em; }
.genre { font-weight: 700; color: var(--gold); margin-bottom: .2em; }
.from { color: var(--muted); margin-bottom: 1.4em; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.2em; }
.links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: .9rem; }
.links a { display: inline-block; padding: 6px 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(239, 234, 245, .05); color: var(--ink); text-decoration: none; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: border-color .2s, background .2s; }
.btn:hover { color: #fff; border-color: var(--ink); background: rgba(239, 234, 245, .1); }
.btn--glow { border: 2px solid transparent; color: var(--ink); background: linear-gradient(#17141c, #17141c) padding-box, var(--rainbow) border-box; box-shadow: 0 0 26px rgba(217, 112, 42, .22); }
.btn--glow:hover { color: #fff; background: linear-gradient(#221d29, #221d29) padding-box, var(--rainbow) border-box; box-shadow: 0 0 34px rgba(138, 100, 196, .32); }
.btn--big { min-height: 56px; padding: 0 28px; font-size: .9rem; letter-spacing: .06em; text-transform: none; }

/* booker note */
.booker { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px 18px 26px; position: relative; overflow: hidden; margin: 0 0 8px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.booker::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--spectrum-v); }
.booker b { color: var(--gold); }

/* sections */
.sec { padding: 52px 0 8px; }
.sec h2 { font: 400 clamp(1.9rem, 4.6vw, 2.6rem)/1.4 var(--title); color: var(--gold); margin: 0 0 .5em; }
.sec > p { max-width: 70ch; }
.sec > p.wide { max-width: none; }
.about { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: var(--spectrum-v); }
.about__text p:last-child { margin-bottom: 0; }
.about .quote { margin: 0; font-size: 1.3rem; line-height: 1.65; }

.albums { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 18px; }
.album { position: relative; min-height: 382px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden;
  box-shadow: 0 0 30px rgba(226, 164, 60, .14); animation: glow 30s linear infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 30px rgba(226, 164, 60, .16); } 33% { box-shadow: 0 0 30px rgba(200, 64, 46, .18); } 66% { box-shadow: 0 0 30px rgba(74, 130, 184, .18); } }
.album iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.album.is-loaded .album__fallback { visibility: hidden; }
.album__fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; text-align: center; text-decoration: none; color: var(--ink); padding: 20px; }
.album__fallback span { color: var(--muted); font-size: .85rem; }
.bandcamp { margin: 0 0 34px; }

.videos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.short { position: relative; display: block; aspect-ratio: 9 / 14; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.short img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .6s; filter: brightness(.85); }
.short:hover img { transform: scale(1.03); filter: brightness(1); }
.short__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; border: 2px solid transparent; background: linear-gradient(rgba(14, 12, 18, .82), rgba(14, 12, 18, .82)) padding-box, var(--rainbow) border-box; box-shadow: 0 0 22px rgba(0, 0, 0, .5); }
.short__play::after { content: ""; position: absolute; left: 23px; top: 18px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--ink); }
.short iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.videos p { margin: 10px 0 0; line-height: 1.5; }
.videos .start, .videos .dur { color: var(--muted); font-size: .85rem; }

.quote { position: relative; margin: 30px 0 0; padding: 6px 0 6px 24px; font-style: italic; font-size: 1.12rem; line-height: 1.7; max-width: 62ch; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.facts div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.facts dt { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 4px; }
.facts dd { margin: 0; }

.assets { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.assets a { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.assets img, .assets__pdficon { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.assets__pdficon { display: flex; align-items: center; justify-content: center; background: var(--card); font: 400 2.6rem var(--title); color: var(--gold); }
.assets a:hover img, .assets a:hover .assets__pdficon { border-color: var(--ink); }
.assets span small { display: block; color: var(--muted); font-size: .74rem; letter-spacing: .14em; }

.book { text-align: center; padding: 64px 0 24px; }
.book h2 { font: 400 clamp(2rem, 5vw, 2.8rem)/1.4 var(--title); color: var(--gold); margin: 0 0 .4em; }

.foot { max-width: 1040px; margin: 0 auto; padding: 24px 20px 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--muted); font-size: .85rem; }
.foot p { margin: 0; }
.foot__home { color: var(--gold); text-decoration: none; padding: 4px 0; }

/* phones and small tablets */
@media screen and (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 8px; padding-top: 4px; text-align: center; }
  .hero__photo { width: 72vw; max-width: 340px; margin: 0 auto -28px; }
  .ctas, .links { justify-content: center; }
  .ctas .btn--glow { flex: 1 1 100%; }
  .ctas .btn:not(.btn--glow) { flex: 1 1 0; padding: 0 10px; }
  .albums { grid-template-columns: 1fr; }
  .videos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -20px; padding: 0 20px 8px; scrollbar-width: none; }
  .videos::-webkit-scrollbar { display: none; }
  .videos li { flex: 0 0 62%; scroll-snap-align: center; }
  .facts { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about .quote { font-size: 1.12rem; }
  .assets { grid-template-columns: 1fr 1fr; gap: 14px; }
  .assets li:last-child { grid-column: 1 / -1; }
  .assets li:last-child a { flex-direction: row; align-items: center; }
  .assets li:last-child .assets__pdficon { width: 84px; aspect-ratio: 1; font-size: 1.6rem; }
  .sec { padding-top: 40px; }
  .foot { flex-direction: column; align-items: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .album { animation: none; }
}

/* ---------- one-page PDF ---------- */
@media print {
  @page { size: letter; margin: .32in .5in .3in; }
  :root { --ink: #111; --muted: #444; --gold: #7a4d00; --link: #4b1d7a; --line: #c9c2b6; --card: #fff; }
  html, body { background: #fff; }
  body { font-size: 8.4pt; line-height: 1.45; color: var(--ink); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .screen-only, #starry-background, .skip { display: none !important; }
  .print-only { display: initial; }
  a { color: var(--link); }
  main { max-width: none; padding: 0; }
  .spectrum { height: 5px; margin-bottom: 12pt; }

  .hero { grid-template-columns: 1.55in 1fr; gap: 18pt; padding: 0 0 8pt; align-items: start; text-align: left; }
  .hero__photo img { -webkit-mask-image: none; mask-image: none; border-radius: 8pt; }
  .rainbow { font-size: 36pt; line-height: 1.4; animation: none; background: none; color: var(--ink); -webkit-text-fill-color: var(--ink); margin: -4pt 0 0; padding: 0; }
  .tagline { font-size: 9.5pt; margin: 3pt 0 6pt; line-height: 1.45; }
  .genre { margin-bottom: 1pt; }
  .from { margin-bottom: 6pt; }
  .links { display: block; font-size: 7.8pt; }
  .links li { padding: 0; }
  .links a { padding: 0; }
  .links li.print-only { display: block; font-weight: 700; margin-top: 2pt; }

  .booker { padding: 6pt 10pt 6pt 14pt; border-radius: 8pt; backdrop-filter: none; margin-bottom: 0; }
  .sec { padding: 6pt 0 0; break-inside: avoid; }
  .sec h2 { font-size: 15pt; line-height: 1.3; margin: 0 0 2pt; }
  .sec > p { max-width: none; margin-bottom: 4pt; }
  .videos { gap: 12pt; }
  .videos p { margin: 0; }
  .videos .url { display: block; font-size: 7pt; color: var(--muted); }
  .videos .start, .videos .dur { font-size: 7.6pt; }
  .about { display: block; }
  .about .quote { margin: 5pt 0 0; font-size: 9.2pt; line-height: 1.5; }
  .quote { margin: 5pt 0 0; font-size: 9.2pt; line-height: 1.5; max-width: none; }
  .facts { gap: 6pt; }
  .facts div { padding: 5pt 9pt; border-radius: 7pt; backdrop-filter: none; }
  .facts dt { font-size: 6.8pt; margin-bottom: 1pt; }

  .print-foot { display: flex; gap: 12pt; align-items: center; margin-top: 7pt; padding-top: 6pt; border-top: 1px solid var(--line); font-size: 8pt; }
  .print-foot img { width: .62in; height: .62in; }
  .print-foot p { margin: 0 0 2pt; }
}
