:root {
  --cream: #f3eeeb;
  --ink: #170f13;
  --berry: #b4135a;
  --blush: #f5d9e3;
  --muted: #6a5a61;
  --line: #e3d9dd;
  --serif: Italiana, Didot, "Bodoni 72", serif;
  --sans: Raleway, "Helvetica Neue", Arial, sans-serif;
  --hand: "Nothing You Could Do", cursive;
  --pad: clamp(20px, 4.5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; padding: 0 var(--pad);
  background: rgba(243, 238, 235, 0.92);
  backdrop-filter: blur(8px);
}
.nav-logo { font-family: var(--serif); font-size: 26px; letter-spacing: 0.16em; }
.nav-links { display: flex; gap: 40px; }
.nav-links a, .label, .small-label, .footer-links a, .copy, .text-link, .button, .mix-play, .mix-meta {
  font-family: var(--sans); font-weight: 500; text-transform: uppercase;
}
.nav-links a { font-size: 13px; letter-spacing: 0.2em; transition: color .2s; }
.nav-links a:hover, .nav-links .accent { color: var(--berry); }

/* ---------- shared */
.label { font-size: 13px; letter-spacing: 0.2em; color: var(--berry); }
.small-label { font-size: 12px; letter-spacing: 0.2em; color: var(--muted); }
.hand { font-family: var(--hand); color: var(--berry); font-weight: 400; letter-spacing: 0; }
.section {
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(48px, 8vw, 120px) var(--pad);
  border-top: 1px solid var(--line);
}
.title {
  margin: 0; text-align: center;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 6.7vw, 96px); line-height: 1; letter-spacing: 0.1em;
}
.title .hand { font-size: 0.5em; margin-left: 0.25em; }

/* ---------- hero */
.hero { display: flex; flex-direction: column; align-items: center; padding: 0 var(--pad) clamp(48px, 8vw, 110px); }
.vline { width: 1.5px; height: clamp(56px, 7vw, 96px); background: var(--berry); margin-bottom: 32px; }
.hero-name {
  margin: 20px 0 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(64px, 12.8vw, 184px); line-height: 1;
  letter-spacing: 0.16em; padding-left: 0.16em;
}
.hero picture { width: 100%; max-width: 1312px; margin-top: clamp(32px, 4.5vw, 64px); }
.hero-img { width: 100%; aspect-ratio: 2.7 / 1; object-fit: cover; }
.hero-line { margin: 36px 0 0; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.2; }

/* ---------- gigs */
.gigs {
  width: 100%; max-width: 1312px; margin-top: 64px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 248px)); justify-content: center; gap: 16px;
}
.gig {
  min-height: 400px; padding: 32px 28px 28px;
  background: var(--blush); display: flex; flex-direction: column;
  transition: background .35s ease, color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.gig-day { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--berry); }
.gig-date { margin-top: 18px; font-family: var(--serif); font-size: 58px; line-height: 1; white-space: nowrap; }
.gig-rule { height: 1px; margin-top: 28px; background: rgba(180, 19, 90, 0.25); }
.gig-event { margin-top: 22px; font-size: 18px; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; }
.gig-place, .gig-time { margin-top: 10px; font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.gig-time { margin-top: 6px; color: var(--berry); }
.gig-btn {
  margin-top: auto; height: 48px; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid var(--berry); color: var(--berry); transition: background .2s, color .2s;
}
a.gig-btn:hover { background: var(--berry); color: #fff; }
.gig-btn.off { border-color: rgba(106, 90, 97, 0.35); color: var(--muted); }
.gigs-empty { grid-column: 1 / -1; text-align: center; font-size: 18px; letter-spacing: 0.08em; color: var(--muted); }

.swipe-hint { display: none; margin-top: 18px; font-family: var(--hand); font-size: 18px; color: var(--berry); }

/* ---------- mixes */
.mixes {
  width: 100%; max-width: 1160px; margin-top: 72px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px;
}
.mix img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .2s; }
.mix:hover img { opacity: 0.85; }
.mix-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 22px; }
.mix-row .mix-play { flex-shrink: 0; }
.mix-title { min-width: 0; font-family: var(--serif); font-size: 26px; line-height: 1.15; letter-spacing: 0.03em; }
.mix-play { font-size: 12px; letter-spacing: 0.2em; color: var(--berry); }
.mix-meta { display: block; margin-top: 8px; font-size: 13px; letter-spacing: 0.16em; color: var(--muted); }
.text-link { margin-top: 64px; padding-bottom: 6px; font-size: 13px; letter-spacing: 0.2em; border-bottom: 1px solid var(--berry); }

/* more sets (text links) */
.more-sets { width: 100%; max-width: 1160px; margin-top: 48px; display: flex; flex-direction: column; }
.more-sets .small-label { margin-bottom: 18px; }
.more-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; column-gap: 40px;
  padding: 22px 0; border-top: 1px solid var(--line); transition: color .2s;
}
.more-row:last-child { border-bottom: 1px solid var(--line); }
.more-row:hover .more-title { color: var(--berry); }
.more-title { font-family: var(--serif); font-size: 28px; line-height: 1.15; letter-spacing: 0.03em; transition: color .2s; }
.more-meta { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- about */
.about { flex-direction: column; align-items: center; }
.about-pics {
  width: 100%; max-width: 1060px;
  display: grid; grid-template-columns: 27fr 40fr 27fr; gap: 3%; align-items: center;
}
.about-pics img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(var(--ps, 1)) rotate(var(--pr, 0deg));
  will-change: transform;
}
.about-text { width: 100%; max-width: 720px; margin-top: clamp(48px, 6vw, 80px); display: flex; flex-direction: column; }
.about-head { display: flex; align-items: baseline; gap: 14px; }
.about-hand { align-self: center; text-align: center; margin-top: 10px; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2; }
.about-title { align-self: center; }
.about-text p { margin: 18px 0 0; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.65; }
.about-text p:first-of-type { margin-top: 32px; }
.played { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.6; }

/* ---------- booking */
.booking { background: var(--blush); border-top: none; }
.booking-text { max-width: 620px; margin: 40px 0 0; text-align: center; font-size: clamp(15px, 1.4vw, 20px); line-height: 1.65; }
.booking-mail { margin-top: 44px; font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); letter-spacing: 0.06em; }
.booking-mail:hover { color: var(--berry); }
.button {
  margin-top: 40px; height: 56px; padding: 0 44px; display: inline-flex; align-items: center;
  background: var(--ink); color: #fff; font-size: 13px; letter-spacing: 0.22em; transition: background .2s;
}
.button:hover { background: var(--berry); }

/* ---------- footer */
.footer { display: flex; justify-content: space-between; align-items: center; padding: 56px var(--pad) 48px; }
.footer-links { display: flex; gap: 40px; }
.footer-links a, .copy { font-size: 12px; letter-spacing: 0.2em; color: var(--muted); }
.footer-links a:hover { color: var(--berry); }

/* ---------- mobile */
@media (max-width: 900px) {
  .more-sets { max-width: 560px; }
  .about-pics { gap: 2.5%; }
  .about-text { margin-top: 40px; }
  .about-text p:first-of-type { margin-top: 20px; }
}
@media (max-width: 700px) {
  .more-sets { margin-top: 28px; }
  .more-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; padding: 16px 0; }
  .more-title { font-size: 22px; }
  .more-meta { grid-column: 1; grid-row: 2; font-size: 10px; }
  .more-row .mix-play { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 11px; }
  .nav { height: 64px; }
  .nav-logo { font-size: 20px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 10px; letter-spacing: 0.14em; }
  .nav-links a:not(.accent):nth-child(3) { display: none; }
  .vline { margin-bottom: 20px; }
  .label { font-size: 11px; }
  .hero-name { margin-top: 12px; letter-spacing: 0.14em; padding-left: 0.14em; }
  .hero picture { width: calc(100% + 2 * var(--pad)); max-width: none; }
  .hero-img { aspect-ratio: 4 / 3; }
  .hero-line { margin-top: 24px; }
  .title { display: flex; flex-direction: column; align-items: center; letter-spacing: 0.08em; }
  .title .hand { margin: 6px 0 0; }
  .gigs {
    display: flex; justify-content: flex-start; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
    align-self: stretch; width: auto; max-width: none; margin: 32px calc(-1 * var(--pad)) 0;
    padding: 0 var(--pad) 4px; scroll-padding: 0 var(--pad); scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .gigs::-webkit-scrollbar { display: none; }
  .gig { flex: 0 0 calc((100vw - 2 * var(--pad) - 10px) / 2 - 16px); min-height: 0; padding: 16px 14px 14px; scroll-snap-align: start; }
  .gig-head { display: flex; flex-direction: column; gap: 6px; }
  .gig-date { margin-top: 0; font-size: 30px; }
  .gig-day { font-size: 9px; }
  .gig-rule { display: none; }
  .gig-info { display: flex; flex-direction: column; margin: 10px 0 14px; }
  .gig-event { margin-top: 0; font-size: 12px; line-height: 1.35; letter-spacing: 0.1em; }
  .gig-place, .gig-time { font-size: 9px; margin-top: 4px; letter-spacing: 0.12em; }
  .gig-btn { margin-top: auto; height: 34px; font-size: 10px; letter-spacing: 0.18em; }
  .gigs-empty { flex: 1; }
  .swipe-hint { display: block; }
  .booking-text { margin-top: 24px; }
  .booking-mail { margin-top: 28px; }
  .button { width: 100%; justify-content: center; margin-top: 28px; height: 50px; font-size: 12px; }
  .footer { flex-direction: column; gap: 16px; padding: 40px 20px 32px; }
  .footer .nav-logo { font-size: 24px; }
  .footer-links { gap: 18px; }
  .footer-links a, .copy { font-size: 10px; white-space: nowrap; }
}
@media (min-width: 701px) {
  .gig-head, .gig-info { display: contents; }
  .about-title { white-space: nowrap; }
}

/* =========================================================
   EFFECTS & MOTION
   ========================================================= */
.gig-day, .gig-place, .gig-time, .gig-rule, .gig-btn { transition: color .35s ease, background .35s ease, border-color .35s ease; }

/* nav underline */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0.2em; bottom: -6px; height: 1px;
  background: var(--berry); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* footer + booking links */
.footer-links a, .booking-mail { background: linear-gradient(var(--berry), var(--berry)) no-repeat left bottom / 0% 1px; transition: background-size .35s ease, color .2s; padding-bottom: 3px; }
.footer-links a:hover, .booking-mail:hover { background-size: 100% 1px; }

@media (hover: hover) {
  /* gig tiles turn dark pink */
  .gig:hover { background: var(--berry); color: #fff; transform: translateY(-6px); box-shadow: 0 18px 40px -18px rgba(180, 19, 90, 0.55); }
  .gig:hover .gig-day, .gig:hover .gig-time { color: var(--blush); }
  .gig:hover .gig-place { color: rgba(255, 255, 255, 0.8); }
  .gig:hover .gig-rule { background: rgba(255, 255, 255, 0.35); }
  .gig:hover a.gig-btn { border-color: #fff; color: #fff; }
  .gig:hover a.gig-btn:hover { background: #fff; color: var(--berry); }
  .gig:hover .gig-btn.off { border-color: rgba(255, 255, 255, 0.4); color: rgba(255, 255, 255, 0.75); }

  /* set cards */
  .mix img { transition: filter .4s ease, transform .4s ease; }
  .mix:hover img { filter: contrast(1.08) brightness(0.92); }
  .mix:hover .mix-title { color: var(--berry); }
  .mix-title { transition: color .3s ease; }
  .mix-play { transition: letter-spacing .3s ease; }
  .mix:hover .mix-play, .more-row:hover .mix-play { letter-spacing: 0.32em; }

  /* more sets rows: pink wipe */
  .more-row {
    background: linear-gradient(var(--blush), var(--blush)) no-repeat left / 0% 100%;
    transition: background-size .45s ease, padding .45s ease;
  }
  .more-row:hover { background-size: 100% 100%; padding-left: 18px; padding-right: 18px; }

  /* about pictures */
  .about-pics img { transition: filter .5s ease; }
  .about-pics img:hover { filter: brightness(1.05) contrast(1.05); }

  .hero-img { transition: filter .6s ease; }
}
.mix:active .mix-title, .more-row:active .more-title { color: var(--berry); }
.gig:active { background: var(--berry); color: #fff; }

/* hero entrance */
@keyframes lineGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes nameIn { from { opacity: 0; letter-spacing: 0.42em; } to { opacity: 1; letter-spacing: 0.16em; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes revealImg { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
.vline { transform-origin: top; animation: lineGrow .9s cubic-bezier(.2,.7,.2,1) both; }
.hero .label { animation: fadeUp .8s .35s ease both; }
.hero-name { animation: nameIn 1.3s .45s cubic-bezier(.2,.7,.2,1) both; }
.hero picture { animation: revealImg 1.3s .8s cubic-bezier(.6,0,.2,1) both; }
.hero-line { animation: fadeUp .9s 1.6s ease both; }
.hero picture { display: block; overflow: hidden; }
.hero-img { will-change: transform; transform-origin: center 60%; }

/* scroll reveal (only when JS is running) */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js-reveal [data-reveal].in { opacity: 1; transform: none; }
.js-reveal .gig[data-reveal].in, .js-reveal .mix[data-reveal].in { transition: opacity .8s ease var(--d, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s), background .35s ease, color .35s ease, box-shadow .35s ease; }

@media (max-width: 700px) {
  .hero-name { animation-name: fadeUp; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- sets slider: one set in focus, rotating */
.set-slider {
  --cw: min(380px, 64vw);
  position: relative; display: block; width: 100%; max-width: 1160px;
  height: calc(var(--cw) * 1.25 + 96px); margin-top: 64px; overflow: hidden;
}
.set-slider .mix {
  position: absolute; top: 0; left: 50%; width: var(--cw);
  transform: translateX(-50%) scale(.8); opacity: 0; pointer-events: none;
  transition: transform .9s cubic-bezier(.6,.05,.25,1), opacity .9s ease, filter .9s ease;
}
.set-slider .mix[data-pos="active"] { transform: translateX(-50%) scale(1); opacity: 1; pointer-events: auto; z-index: 3; }
.set-slider .mix[data-pos="prev"] { transform: translateX(calc(-50% - var(--cw) * 0.95)) scale(.78); opacity: .5; pointer-events: auto; z-index: 2; filter: grayscale(.4); }
.set-slider .mix[data-pos="next"] { transform: translateX(calc(-50% + var(--cw) * 0.95)) scale(.78); opacity: .5; pointer-events: auto; z-index: 2; filter: grayscale(.4); }
.set-slider .mix[data-pos="prev"], .set-slider .mix[data-pos="next"] { cursor: pointer; }
.set-slider .mix[data-pos="prev"]:hover, .set-slider .mix[data-pos="next"]:hover { opacity: .75; }
.set-slider .mix .mix-row, .set-slider .mix .mix-meta { transition: opacity .6s ease; }
.set-slider .mix:not([data-pos="active"]) .mix-row, .set-slider .mix:not([data-pos="active"]) .mix-meta { opacity: 0; }
.set-dots { display: flex; gap: 10px; margin-top: 8px; }
.set-dots button { width: 28px; height: 2px; padding: 0; border: 0; background: var(--line); cursor: pointer; position: relative; overflow: hidden; }
.set-dots button::after { content: ""; position: absolute; inset: 0; background: var(--berry); transform: scaleX(0); transform-origin: left; }
.set-dots button.on::after { animation: dotFill var(--dur, 5s) linear forwards; }
.set-slider.paused ~ .set-dots button.on::after { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }
@media (max-width: 700px) {
  .set-slider { --cw: 62vw; margin-top: 32px; height: calc(var(--cw) * 1.25 + 140px); overflow: visible; }
  .set-slider .mix[data-pos="prev"] { transform: translateX(calc(-50% - var(--cw) * 0.88)) scale(.8); }
  .set-slider .mix[data-pos="next"] { transform: translateX(calc(-50% + var(--cw) * 0.88)) scale(.8); }
  .set-slider .mix-title { font-size: 22px; }
  .set-slider .mix-meta { font-size: 11px; }
  #mixes { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .set-dots button.on::after { animation: none !important; transform: scaleX(1); } }
