/* ==========================================================
   thepaps.css: blocks, footer, motion
   Media queries desktop-first (max-width).
   ========================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero--volledig { min-height: calc(100svh - var(--nav-h)); }

.hero--groot { min-height: 78svh; }

.hero--half { min-height: 55svh; }

.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--stout-2); }

.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(22, 17, 13, 0.15) 0%, rgba(22, 17, 13, 0.35) 45%, rgba(22, 17, 13, 0.92) 100%);
}

.hero__content { padding-block: 4rem 3rem; }

.hero--midden .hero__content { text-align: center; }

.hero--midden .hero__sub { margin-inline: auto; }

.hero--midden .hero__actions { justify-content: center; }

.hero__title { line-height: 0; color: var(--foam); }

.hero__title:not(.hero__title--logo) { line-height: 0.95; font-size: clamp(3rem, 9vw, 7rem); max-width: 14ch; }

.hero--midden .hero__title:not(.hero__title--logo) { margin-inline: auto; }

.hero-logo { width: clamp(240px, 46vw, 600px); height: auto; fill: currentColor; overflow: visible; }

.hero--half .hero-logo { width: clamp(200px, 32vw, 420px); }

.hero-logo use { transform-box: fill-box; transform-origin: 50% 60%; }

.hero__sub { font-size: clamp(1.15rem, 2vw, 1.45rem); max-width: 40ch; margin: 1.75rem 0 0; color: var(--foam); }

.hero__actions { margin-top: 2rem; }

.hero__controls { position: absolute; right: var(--gutter); bottom: 1.25rem; display: flex; gap: 0.5rem; }

.hero__controls button {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(22, 17, 13, 0.6);
  color: var(--foam);
  border: 1px solid rgba(239, 238, 230, 0.4);
  padding: 0.35em 0.8em;
  cursor: pointer;
}

/* One orchestrated entrance: the logo lands in three hits, like a count-in */
@media (prefers-reduced-motion: no-preference) {
  .hero-logo .logo-p   { animation: stamp 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.25) 0.15s both; }
  .hero-logo .logo-the { animation: stamp 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.25) 0.6s both; }
  .hero-logo .logo-aps { animation: stamp 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.25) 1s both; }
  .block:first-child .hero__sub, .block:first-child .hero__actions { animation: settle 0.6s ease-out 1.35s both; }
}

@keyframes stamp {
  0% { opacity: 0; transform: scale(1.6) rotate(-4deg); }
  60% { opacity: 1; transform: scale(0.94) rotate(1deg); }
  100% { opacity: 1; transform: none; }
}

@keyframes settle {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Next gig bar ---------- */
.next-gig .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.6rem;
  padding-block: 1.1rem;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 1.15rem;
}

.next-gig__label { font-family: var(--font-marker); font-weight: 400; font-size: 1.1rem; }

.next-gig__what { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }

.next-gig a { margin-left: auto; text-underline-offset: 4px; }

/* ---------- Videos ---------- */
.videos__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }

.videos__grid--single { grid-template-columns: 1fr; max-width: 900px; }

.video-feature { margin: 0; }

.video-feature figcaption { font-family: var(--font-cond); font-weight: 600; color: var(--on-dark-soft); margin-top: 0.6rem; }

.bg-foam .video-feature figcaption, .bg-amber .video-feature figcaption { color: var(--on-light-soft); }

.yt { position: relative; aspect-ratio: 16 / 9; background: var(--stout-2); overflow: hidden; }

.yt button { all: unset; position: absolute; inset: 0; cursor: pointer; }

.yt button:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }

.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }

.yt button:hover img { transform: scale(1.03); }

.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--amber);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px rgba(22, 17, 13, 0.35);
}

.play::before {
  content: "";
  border-left: 22px solid var(--stout);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}

.videos__side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }

.yt--small .play { width: 44px; height: 44px; box-shadow: none; }

.yt--small .play::before { border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; margin-left: 4px; }

.long-video {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--bottle);
  color: var(--foam);
  padding: 0.9rem;
  text-decoration: none;
  transition: background var(--ease);
}

.long-video:hover { background: var(--bottle-2); }

.long-video img { width: 96px; height: 96px; object-fit: cover; }

.long-video strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; line-height: 1.1; }

.long-video span span { font-family: var(--font-cond); font-weight: 600; color: var(--on-dark-soft); }

.videos .text-link { margin-top: 1.25rem; color: var(--amber); }

.bg-foam .videos .text-link, .bg-amber .videos .text-link { color: inherit; }

/* ---------- Photos ---------- */
.fotos__wrap--full { padding-inline: 8px; }

.fotos__wrap > * + * { margin-top: 8px; }

.photo-tile { margin: 0; position: relative; overflow: hidden; background: var(--stout-2); }

.photo-tile a { display: block; width: 100%; height: 100%; cursor: zoom-in; }

.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }

.photo-tile a:hover img { transform: scale(1.04); }

.photo-tile figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-family: var(--font-marker);
  font-size: 0.95rem;
  background: var(--foam);
  color: var(--stout);
  padding: 0.15em 0.5em;
  transform: rotate(-2deg);
  pointer-events: none;
}

/* Collage: deliberately uneven, like photos pinned up behind the bar (all areas rectangular) */
.photo-collage {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(5, clamp(80px, 10.5vw, 150px));
  grid-template-areas:
    "a a a a a b b b c c c c"
    "a a a a a b b b c c c c"
    "a a a a a b b b d d d d"
    "e e e f f f g g d d d d"
    "e e e f f f g g h h h h";
}

.photo-collage .photo-tile--1 { grid-area: a; }
.photo-collage .photo-tile--2 { grid-area: b; }
.photo-collage .photo-tile--3 { grid-area: c; }
.photo-collage .photo-tile--4 { grid-area: d; }
.photo-collage .photo-tile--5 { grid-area: e; }
.photo-collage .photo-tile--6 { grid-area: f; }
.photo-collage .photo-tile--7 { grid-area: g; }
.photo-collage .photo-tile--8 { grid-area: h; }

.photo-raster { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.photo-raster .photo-tile { aspect-ratio: 4 / 3; }

.photo-strook { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }

.photo-strook .photo-tile { flex: 0 0 clamp(220px, 28vw, 380px); aspect-ratio: 3 / 4; scroll-snap-align: start; }

/* ---------- Rider ---------- */
.rider__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 3rem 5rem; }

.rider__intro .lead { margin-top: 1.25rem; }

.rider__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid currentColor; }

.rider__list > div { padding: 1.2rem 1.25rem 1.3rem 0; border-bottom: 1px solid rgba(127, 120, 110, 0.35); }

.rider__list > div:nth-child(odd) { padding-right: 1.75rem; border-right: 1px solid rgba(127, 120, 110, 0.35); }

.rider__list > div:nth-child(even) { padding-left: 1.75rem; }

.rider__list dt { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.3rem; }

.rider__list dd { margin: 0; font-size: 1rem; }

/* ---------- Occasions ---------- */
.occasions h2 { margin-bottom: 2rem; }

.occasions .lead { margin-top: -1rem; margin-bottom: 2rem; }

.occasion {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr) auto;
  gap: 0.5rem 2.5rem;
  align-items: center;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(239, 238, 230, 0.22);
}

.occasion:last-child { border-bottom: 1px solid rgba(239, 238, 230, 0.22); }

.bg-foam .occasion, .bg-amber .occasion { border-color: rgba(22, 17, 13, 0.22); }

.occasion h3 { font-size: clamp(1.8rem, 4vw, 3rem); }

.occasion p { margin: 0; opacity: 0.8; }

.occasion .btn { padding: 0.55em 1.2em; font-size: 1.05rem; }

/* Highlighted row: amber band, e.g. St. Patrick's Day, the booking peak */
.occasion--peak { background: var(--amber); color: var(--stout); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); border-top-color: transparent; }

.occasion--peak p { opacity: 1; font-weight: 500; }

.bg-amber .occasion--peak { background: var(--stout); color: var(--foam); }

.bg-amber .occasion--peak .btn--stout { background: var(--amber); border-color: var(--amber); color: var(--stout); }

/* ---------- Band ---------- */
.band .block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; }

.band .block-head .lead { max-width: 40ch; font-weight: 500; color: inherit; }

.members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }

.member { margin: 0; }

/* Staggered heights so the four do not read as one relooped card */
.members--getrapt .member:nth-child(4n+2) { margin-top: 3rem; }
.members--getrapt .member:nth-child(4n+4) { margin-top: 1.5rem; }

.member__photo { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--stout); cursor: zoom-in; }

.members--getrapt .member:nth-child(4n+3) .member__photo { aspect-ratio: 4 / 5; }

.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 0.6s ease; }

.member__photo:hover img { transform: scale(1.03); }

.member figcaption { padding-top: 0.9rem; }

.member h3 { font-size: 2rem; }

.member__role { display: block; font-family: var(--font-cond); font-weight: 700; font-size: 1.05rem; margin: 0.15rem 0 0.4rem; }

.member__line { font-size: 1rem; margin: 0; }

/* ---------- Story ---------- */
.story { position: relative; isolation: isolate; overflow: hidden; }

.story__bg { position: absolute; inset: 0; z-index: -2; }

.story__bg img { width: 100%; height: 100%; object-fit: cover; }

.story--photo { color: var(--foam); }

.story--photo.story--groen::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 59, 44, 0.95) 0%, rgba(15, 59, 44, 0.82) 50%, rgba(15, 59, 44, 0.35) 100%); }

.story--photo.story--stout::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22, 17, 13, 0.95) 0%, rgba(22, 17, 13, 0.8) 50%, rgba(22, 17, 13, 0.3) 100%); }

.story__inner { padding-block: calc(var(--section) * 1.2); }

.story.space-compact .story__inner { padding-block: calc(var(--section) * 0.6); }

.story .paps-line { display: block; width: min(320px, 70%); height: auto; margin: 1.5rem 0 2rem; color: var(--amber); }

.bg-amber .story .paps-line, .story.bg-amber .paps-line { color: var(--stout); }

.story__text { font-size: clamp(1.1rem, 1.5vw, 1.25rem); max-width: 52ch; }

/* ---------- Gigs / agenda ---------- */
.gigs h2 { margin-bottom: 2.5rem; }

.gigs .lead { margin-top: -1.5rem; margin-bottom: 2.5rem; }

.gig-list { border-bottom: 3px solid currentColor; }

.gig-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem 2.5rem;
  align-items: center;
  border-top: 3px solid currentColor;
  padding: 1.5rem 0;
}

.gig-list .gig-row + .gig-row { border-top-width: 1px; }

.gig-date { display: flex; align-items: baseline; gap: 0.5rem; font-family: var(--font-display); line-height: 0.9; min-width: 5.5rem; }

.gig-date__day { font-size: clamp(3.5rem, 8vw, 5.5rem); }

.gig-date__month { font-family: var(--font-cond); font-weight: 700; font-size: 1.3rem; line-height: 1.1; text-transform: lowercase; }

.gig-row h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }

.gig-meta { display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; font-family: var(--font-cond); font-weight: 600; font-size: 1.1rem; margin-top: 0.35rem; }

.gig-empty { border-top: 3px solid currentColor; border-bottom: 3px solid currentColor; padding: 1.75rem 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }

.gig-empty p { margin: 0; font-family: var(--font-cond); font-weight: 600; font-size: 1.3rem; }

.played { margin-top: 4.5rem; }

.played__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }

.played__head h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }

.played__list { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 14px; list-style: none; margin: 0; padding: 0; }

.played__list li { display: flex; flex-direction: column; }

.played__list a { display: block; overflow: hidden; cursor: zoom-in; background: var(--foam-2); }

.played__list img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.6s ease; }

.played__list li:first-child a { flex: 1; position: relative; min-height: 240px; }

.played__list li:first-child img { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }

.played__list a:hover img { transform: scale(1.03); }

.played__list strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; line-height: 1.1; margin-top: 0.6rem; }

.played__list span { font-family: var(--font-cond); font-weight: 600; }

/* Archive of previous gigs */
.gigs__year { font-size: clamp(2.4rem, 6vw, 4rem); margin: 3.5rem 0 1rem; }

.gigs__year:first-child { margin-top: 0; }

.gig-row--past { padding: 1rem 0; gap: 0.75rem 2rem; }

.gig-row--past .gig-date__day { font-size: clamp(2.4rem, 5vw, 3.4rem); }

.gig-row--past h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }

.gig-row__photo { display: block; width: 76px; height: 76px; overflow: hidden; cursor: zoom-in; }

.gig-row__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Booking ---------- */
.booking .lead { margin-top: 1.25rem; }

.booking__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem 5rem; margin-top: 2.5rem; }

.booking__aside { border-left: 3px solid var(--amber); padding-left: 2rem; align-self: start; }

.booking__aside h3 { margin-bottom: 0.75rem; }

.booking__aside h3:not(:first-child) { margin-top: 2rem; }

.booking__aside p { opacity: 0.85; }

.bg-amber .booking__aside { border-left-color: var(--stout); }

/* ---------- Text ---------- */
.text-block h2 { margin-bottom: 1.5rem; }

.text-block--midden { text-align: center; }

.text-block--midden h2, .text-block--midden .prose { margin-inline: auto; }

.text-block--midden .btn-row { justify-content: center; }

/* ---------- Image + text ---------- */
.media-text__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem 5rem; align-items: center; }

.media-text--rechts .media-text__grid { grid-template-columns: 7fr 5fr; }

.media-text--rechts .media-text__media { order: 2; }

.media-text__media { margin: 0; }

.media-text__media a { display: block; cursor: zoom-in; overflow: hidden; }

.media-text__media img { width: 100%; height: auto; max-height: 72vh; object-fit: cover; transition: transform 0.6s ease; }

.media-text__media a:hover img { transform: scale(1.02); }

.media-text__sub { font-family: var(--font-cond); font-weight: 700; font-size: 1.2rem; margin: 0.6rem 0 1.25rem; }

.media-text__body h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }

.media-text__body h2 + .prose { margin-top: 1.25rem; }

/* Pinned: a photo taped to the wall */
.media-text--gepind .media-text__media { position: relative; padding: 12px; background: var(--foam); box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.3); transform: rotate(-1.8deg); }

.media-text--gepind.media-text--rechts .media-text__media { transform: rotate(1.6deg); }

.media-text--gepind .media-text__media::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  z-index: 1;
  width: 90px;
  height: 26px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(240, 160, 48, 0.8);
}

.bg-foam .media-text--gepind .media-text__media, .media-text--gepind.bg-foam .media-text__media { background: #fff; }

/* ---------- Call to action ---------- */
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem 3rem; }

.cta__inner .btn-row { margin-top: 0; }

.cta .lead { margin: 1rem 0 0; }

/* ---------- Posts ---------- */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.5rem; }

.post-card a { display: block; text-decoration: none; }

.post-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1rem; }

.post-card__date { font-family: var(--font-cond); font-weight: 600; opacity: 0.7; }

.post-card__title { font-size: 1.6rem; margin: 0.3rem 0 0.6rem; max-width: none; }

.post-meta { font-family: var(--font-cond); font-weight: 600; opacity: 0.7; }

.post-image { margin: 0 0 2rem; }

.page-numbers { font-family: var(--font-cond); font-weight: 700; padding: 0.3em 0.5em; }

.nav-links { margin-top: 3rem; display: flex; gap: 0.5rem; }

/* ---------- 404 ---------- */
.not-found { min-height: calc(80svh - var(--nav-h)); display: flex; align-items: center; padding-block: var(--section); }

.not-found .paps-line { display: block; width: min(260px, 60%); height: auto; margin: 1.5rem 0 2rem; color: var(--amber); }

/* ---------- Footer ---------- */
.site-footer { background: var(--stout); color: var(--on-dark-soft); padding-block: 4rem 3rem; }

.footer__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }

.footer__grid > * { min-width: 0; }

.footer__brand { color: var(--foam); }

.footer-logo { width: clamp(160px, 22vw, 240px); height: auto; fill: currentColor; display: block; }

.footer__brand p { font-family: var(--font-cond); font-weight: 600; font-size: 1.15rem; color: var(--on-dark-soft); margin: 1rem 0 0; }

.footer__brand .paps-line { display: block; width: 200px; height: auto; margin: 1.25rem 0 0; color: var(--amber); }

.newsletter__title { color: var(--foam); font-size: 1.4rem; margin-bottom: 1rem; max-width: none; }

.socials { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin-top: 1.5rem; }

.socials a { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-cond); font-weight: 700; font-size: 1.1rem; color: var(--foam); text-decoration: none; transition: color var(--ease); }

.socials a:hover { color: var(--amber); }

.bg-foam .socials a, .bg-amber .socials a { color: var(--stout); }

.socials--stacked { flex-direction: column; margin-top: 0.5rem; }

.footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(239, 238, 230, 0.15); display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; align-items: center; font-family: var(--font-cond); font-weight: 500; font-size: 1rem; }

.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; padding: 0; }

/* Newsletter plugin ([newsletter-subscription-form]): restyled to match the theme.
   !important is needed where the plugin writes inline styles on the button. */
.newsletter #shortcode-basic-registration-form { margin: 0; }

.newsletter #shortcode-basic-registration-form br { display: none; }

.newsletter #shortcode-basic-registration-form .reg-form-main { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }

.newsletter #shortcode-basic-registration-form .reg-form-panel-1,
.newsletter #shortcode-basic-registration-form .reg-form-panel-2 { width: 100%; }

.newsletter #shortcode-basic-registration-form .reg-form-panel-2 { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; align-items: start; }

.newsletter #shortcode-basic-registration-form input[type="text"],
.newsletter #shortcode-basic-registration-form input[type="email"] {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
  border: 2px solid var(--foam);
  border-radius: 0;
  background: var(--foam);
  color: var(--stout);
}

.newsletter #shortcode-basic-registration-form input[type="text"]:focus,
.newsletter #shortcode-basic-registration-form input[type="email"]:focus { outline: none; border-color: var(--amber); }

.newsletter #shortcode-basic-registration-form .reg-form-terms { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 0.5rem; align-items: flex-start; }

.newsletter #shortcode-basic-registration-form .reg-form-terms input { width: 18px; height: 18px; margin: 0.2rem 0 0; accent-color: var(--amber); flex: none; }

.newsletter #shortcode-basic-registration-form label#terms-label { font-size: 0.9rem; font-weight: 400; color: var(--on-dark-soft); }

.newsletter #shortcode-basic-registration-form label#terms-label a { color: var(--foam); border-bottom: 0; text-decoration: underline; }

.newsletter #shortcode-basic-registration-form input.button {
  grid-column: 2;
  grid-row: 1;
  width: auto !important;
  padding: 0.7rem 1.2rem !important;
  font-family: var(--font-cond) !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  border: 2px solid var(--amber) !important;
  border-radius: 0 !important;
  background-color: var(--amber) !important;
  color: var(--stout) !important;
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease) !important;
}

.newsletter #shortcode-basic-registration-form input.button:hover { background-color: var(--foam) !important; border-color: var(--foam) !important; color: var(--stout) !important; }

.newsletter .msg-box { margin-top: 0.75rem; padding: 0.7rem 1rem; border-left: 4px solid var(--amber); background: rgba(239, 238, 230, 0.08); color: var(--foam); font-family: var(--font-cond); font-weight: 600; }

.newsletter .msg-box.msg-success { border-left-color: var(--irish-green); background: rgba(22, 155, 98, 0.18); }

.newsletter .msg-box.msg-error { border-left-color: #e0452b; background: rgba(224, 69, 43, 0.15); }

/* ---------- Lightbox (Fancybox) theme ---------- */
body .fancybox__container { --fancybox-bg: rgba(10, 8, 6, 0.94); --fancybox-accent-color: var(--amber); }

body .fancybox__caption { font-family: var(--font-cond); font-weight: 600; font-size: 1.1rem; }

/* ==========================================================
   Motion (purposeful only, all off under prefers-reduced-motion)
   ========================================================== */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover { animation: on-the-beat 0.32s cubic-bezier(0.3, 0, 0.3, 1); }
}

@keyframes on-the-beat {
  0% { transform: none; }
  40% { transform: translateY(-4px); }
  70% { transform: translateY(1px); }
  100% { transform: none; }
}

/* Paps of Anu line draws itself once in view (paths use pathLength="1") */
.paps-line path { stroke-dasharray: 1; stroke-dashoffset: 0; }

.js-motion [data-animate] .paps-line path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(0.6, 0, 0.3, 1); }

.js-motion [data-animate] .paps-line path:nth-child(2),
.js-motion [data-animate] .paps-line path:nth-child(3) { transition-delay: 1.3s; transition-duration: 0.4s; }

.js-motion [data-animate].is-inview .paps-line path { stroke-dashoffset: 0; }

/* Collage: photos start slightly skewed, as if just pinned up, then straighten.
   They stay visible at all times. */
.js-motion .photo-collage .photo-tile { transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1.1); }

.js-motion .photo-collage:not(.is-inview) .photo-tile--1 { transform: rotate(-2.5deg) translateY(14px); }
.js-motion .photo-collage:not(.is-inview) .photo-tile--2 { transform: rotate(3deg) translateY(20px); }
.js-motion .photo-collage:not(.is-inview) .photo-tile--3 { transform: rotate(-1.5deg) translateY(10px); }
.js-motion .photo-collage:not(.is-inview) .photo-tile--4 { transform: rotate(2deg) translateY(18px); }
.js-motion .photo-collage:not(.is-inview) .photo-tile--5 { transform: rotate(2.5deg) translateY(12px); }
.js-motion .photo-collage:not(.is-inview) .photo-tile--6 { transform: rotate(-2deg) translateY(16px); }
.js-motion .photo-collage:not(.is-inview) .photo-tile--7 { transform: rotate(3deg) translateY(10px); }
.js-motion .photo-collage:not(.is-inview) .photo-tile--8 { transform: rotate(-3deg) translateY(14px); }

.js-motion .photo-collage .photo-tile--2 { transition-delay: 0.06s; }
.js-motion .photo-collage .photo-tile--3 { transition-delay: 0.12s; }
.js-motion .photo-collage .photo-tile--4 { transition-delay: 0.18s; }
.js-motion .photo-collage .photo-tile--5 { transition-delay: 0.24s; }
.js-motion .photo-collage .photo-tile--6 { transition-delay: 0.3s; }
.js-motion .photo-collage .photo-tile--7 { transition-delay: 0.36s; }
.js-motion .photo-collage .photo-tile--8 { transition-delay: 0.42s; }

/* ==========================================================
   Responsive (desktop-first)
   ========================================================== */
@media (max-width: 980px) {
  .rider__grid, .booking__grid, .footer__grid, .media-text__grid, .media-text--rechts .media-text__grid { grid-template-columns: 1fr; }
  .media-text--rechts .media-text__media { order: 0; }
  .videos__grid { grid-template-columns: 1fr; }
  .members { grid-template-columns: repeat(2, 1fr); }
  .members--getrapt .member:nth-child(n) { margin-top: 0; }
  .members--getrapt .member:nth-child(2n) { margin-top: 2rem; }
  .members--getrapt .member:nth-child(4n+3) .member__photo { aspect-ratio: 3 / 4; }
  .played__list { grid-template-columns: 1fr 1fr; }
  .played__list li:first-child { grid-column: 1 / -1; }
  .played__list li:first-child a { min-height: 0; }
  .played__list li:first-child img { position: static; aspect-ratio: 16 / 9; height: auto; }
  .booking__aside { border-left: 0; border-top: 3px solid var(--amber); padding-left: 0; padding-top: 2rem; }
  .post-list { grid-template-columns: 1fr 1fr; }
  .site-footer { padding-bottom: 7rem; }
}

@media (max-width: 720px) {
  .occasion { grid-template-columns: 1fr; gap: 0.6rem; }
  .occasion .btn { justify-self: start; }
  .rider__list { grid-template-columns: 1fr; }
  .rider__list > div:nth-child(odd), .rider__list > div:nth-child(even) { padding: 1.1rem 0; border-right: 0; }
  .gig-row { grid-template-columns: auto 1fr; }
  .gig-row .btn { grid-column: 1 / -1; justify-self: start; }
  .gig-row--past { grid-template-columns: auto 1fr auto; }
  .next-gig a { margin-left: 0; }
  .photo-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px repeat(3, 160px);
    grid-template-areas:
      "a a"
      "b c"
      "b d"
      "e f";
  }
  .photo-collage .photo-tile--7, .photo-collage .photo-tile--8 { display: none; }
  .photo-raster { grid-template-columns: 1fr 1fr; }
  .hero__controls { bottom: auto; top: 1rem; }
  .post-list { grid-template-columns: 1fr; }
  .newsletter #shortcode-basic-registration-form .reg-form-panel-2 { grid-template-columns: 1fr; }
  .newsletter #shortcode-basic-registration-form input.button { grid-column: 1; grid-row: auto; width: 100% !important; }
  .newsletter #shortcode-basic-registration-form .reg-form-terms { grid-row: auto; }
}

@media (max-width: 420px) {
  .members { gap: 12px; }
  .member h3 { font-size: 1.6rem; }
  .member__role { font-size: 0.95rem; }
  .member__line { font-size: 0.92rem; }
  .videos__side { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .js-motion .photo-collage .photo-tile { transform: none !important; }
  .js-motion [data-animate] .paps-line path { stroke-dashoffset: 0; }
}
