/* Minimal overrides — keep original design */

/* Header logo */
header a img[alt="KinKobra logo"] {
  height: 2.5rem;
  width: auto;
}

/* Na scrollen: alleen het schild + de merknaam (het volledige logo
   bevat de naam al en zou dubbelop zijn naast de tekst) */
.brand-shield {
  display: none;
  height: 2.25rem;
  width: auto;
}

.site-header.is-scrolled .brand-shield {
  display: block;
}

.site-header.is-scrolled img[alt="KinKobra logo"] {
  display: none;
}

/* Desktop: alleen het logo, geen KinKobra-tekst ernaast */
@media (min-width: 768px) {
  header a img[alt="KinKobra logo"] {
    height: 3.75rem;
  }

  .site-header .brand-text {
    display: none;
  }

  .site-header.is-scrolled .brand-shield {
    display: none;
  }

  .site-header.is-scrolled img[alt="KinKobra logo"] {
    display: block;
  }
}

@media (max-width: 767px) {
  /* Bovenaan (transparante balk): alleen een groot logo, geen tekst */
  header a img[alt="KinKobra logo"] {
    height: 4.5rem;
    transition: height 0.3s ease;
  }

  .site-header.is-scrolled a img[alt="KinKobra logo"] {
    height: 2.65rem;
  }

  .site-header .brand-text {
    display: none;
  }

  /* Na scrollen (solide balk): kleiner logo + wit/rode merknaam */
  .site-header.is-scrolled .brand-text {
    display: inline;
  }

  /* Taalknop verhuist naar het uitklapmenu */
  .site-header .lang-toggle {
    display: none;
  }

  .site-header .mobile-nav .lang-toggle {
    display: block;
  }

  /* Header zit in de safe area; foto loopt eronder door */
  .site-header > .mx-auto {
    padding-top: calc(0.45rem + env(safe-area-inset-top, 0px));
  }

  /*
   * Op mobiel: navbar pas na scroll — hero blijft full-bleed.
   * is-scrolled (of open menu) laat hem inschuiven.
   */
  .site-header {
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.3s ease,
      background-color 0.35s ease,
      border-color 0.35s ease,
      box-shadow 0.35s ease,
      backdrop-filter 0.35s ease;
  }

  .site-header.is-scrolled,
  .site-header.is-menu-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

}

/* Taalknop in het mobiele menu — stijl als menu-item */
.mobile-nav .lang-toggle--menu {
  width: 100%;
  border: 0;
  border-top: 1px solid color-mix(in oklab, var(--border) 65%, transparent);
  background: transparent;
  padding: 0.8rem 0;
  text-align: left;
  font-family: Oswald, Bebas Neue, Impact, ui-sans-serif, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  cursor: pointer;
}

/* Modern minimal nav: transparent over hero, solid after scroll */
.site-header {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease,
    padding 0.3s ease;
}

.site-header.is-scrolled {
  background: color-mix(in oklab, var(--background) 88%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: color-mix(in oklab, var(--border) 80%, transparent);
  box-shadow: 0 8px 30px -18px oklch(0% 0 0 / 0.8);
}

/* Language toggle */
.lang-toggle {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted-foreground);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-toggle:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* Nav link underline slide-in (desktop nav only) */
.site-header nav:not(.mobile-nav) a {
  position: relative;
  padding-bottom: 2px;
}

.site-header nav:not(.mobile-nav) a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 1px;
  width: 100%;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.site-header nav:not(.mobile-nav) a:hover::after,
.site-header nav:not(.mobile-nav) a.is-active::after {
  transform: scaleX(1);
}

.site-header nav:not(.mobile-nav) a.is-active {
  color: var(--foreground);
}
/* Full-bleed hero — photo + text flow into each other */
.hero {
  min-height: 100vh;
  min-height: 100svh;
}

.hero-inner {
  position: relative;
  z-index: 3;
  min-height: calc(100vh - 4rem);
  min-height: calc(100svh - 4rem);
  padding-top: 5rem;
  padding-bottom: 5.5rem;
  /* text low in the frame so the photo stays the hero */
  justify-content: flex-end;
}


.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--background);
}

/* Alleen zijkanten vullen met fotokleur — niet over logo/tekst */
.hero-photo-bleed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: blur(40px) saturate(1.15) brightness(0.7);
  transform: scale(1.12);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  /* midden + onderkant volledig weg; alleen side-strips */
  -webkit-mask-image:
    linear-gradient(
      to right,
      #000 0%,
      #000 12%,
      transparent 28%,
      transparent 72%,
      #000 88%,
      #000 100%
    ),
    linear-gradient(to bottom, #000 0%, #000 42%, transparent 58%);
  mask-image:
    linear-gradient(
      to right,
      #000 0%,
      #000 12%,
      transparent 28%,
      transparent 72%,
      #000 88%,
      #000 100%
    ),
    linear-gradient(to bottom, #000 0%, #000 42%, transparent 58%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.hero-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* bias faces to the right so left stays calmer for type */
  object-position: 72% 18%;
  opacity: 1;
  will-change: transform;
}

.hero-veil {
  z-index: 2;
}

.hero-scroll-line {
  animation: hero-scroll-pulse 1.6s ease-in-out infinite;
  transform-origin: top center;
}

@media (min-width: 768px) {
  /* Desktop: cover vult het frame — bleed niet nodig */
  .hero-photo-bleed {
    display: none;
  }

  .hero-inner {
    padding-bottom: 4.25rem;
  }

  .hero-scroll-line {
    height: 2.4rem;
  }
}

@keyframes hero-scroll-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-line {
    animation: none;
    opacity: 0.7;
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      var(--background) 0%,
      color-mix(in oklab, var(--background) 78%, transparent) 26%,
      color-mix(in oklab, var(--background) 28%, transparent) 52%,
      transparent 78%
    ),
    linear-gradient(
      to right,
      color-mix(in oklab, var(--background) 88%, transparent) 0%,
      color-mix(in oklab, var(--background) 45%, transparent) 34%,
      color-mix(in oklab, var(--background) 10%, transparent) 58%,
      transparent 78%
    );
}

.hero-scroll {
  display: none;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-status {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
}

.contact-status.is-ok {
  color: var(--primary);
}

.contact-status.is-error {
  color: #e07070;
}

#contact-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* Ruimte tussen hero-tekst en de animatiebalk */
.hero-marquee {
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .hero-marquee {
    margin-top: 2.5rem;
  }
}

.hero-scroll-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.hero-copy {
  text-shadow:
    0 2px 18px color-mix(in oklab, var(--background) 75%, transparent),
    0 18px 50px color-mix(in oklab, var(--background) 45%, transparent);
}

.hero-mark {
  font-size: clamp(4.6rem, 16vw, 9.75rem);
  line-height: 0.82;
  letter-spacing: -0.02em;
}

html {
  background: var(--background, #12100f);
}

/* Mobile: full band width (everyone visible) + soft top into the safe area */
@media (max-width: 767px) {
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: 0 !important;
  }

  .hero-media {
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .hero-photo-bleed {
    filter: blur(44px) saturate(1.2) brightness(0.65);
    /* nóg smaller: alleen smalle randen, stopt vóór tekstzone */
    -webkit-mask-image:
      linear-gradient(
        to right,
        #000 0%,
        #000 10%,
        transparent 22%,
        transparent 78%,
        #000 90%,
        #000 100%
      ),
      linear-gradient(to bottom, #000 0%, #000 38%, transparent 52%);
    mask-image:
      linear-gradient(
        to right,
        #000 0%,
        #000 10%,
        transparent 22%,
        transparent 78%,
        #000 90%,
        #000 100%
      ),
      linear-gradient(to bottom, #000 0%, #000 38%, transparent 52%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }

  .hero-photo {
    /* volle breedte — geen zwarte side-gaps; band blijft in beeld */
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center 18%;
    /* fade pas onder het logo, zodat logo scherp blijft */
    -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  }

  .hero-inner {
    min-height: 100svh !important;
    min-height: 100dvh !important;
    justify-content: flex-end !important;
    padding-top: calc(3.5rem + env(safe-area-inset-top, 0px));
    /* iets van de onderkant, niet te hoog */
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  /* Alt · Rock · … — iets kleiner zodat het op smalle schermen past */
  .hero-kicker {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    line-height: 1.35;
    white-space: nowrap;
  }

  .hero-copy {
    width: 100%;
    text-shadow:
      0 1px 12px var(--background),
      0 8px 28px color-mix(in oklab, var(--background) 85%, transparent);
  }

  /* iets compactere verticale ritmes op telefoon */
  .hero-copy > .mb-4 {
    margin-bottom: 0.7rem;
    min-width: 0;
  }

  @media (max-width: 380px) {
    .hero-kicker {
      font-size: 0.52rem;
      letter-spacing: 0.12em;
    }

    .hero-copy > .mb-4 .h-px {
      width: 1.25rem;
      flex-shrink: 0;
    }
  }

  .hero-copy > .mt-3 {
    margin-top: 0.55rem;
  }

  .hero-copy > .mt-5 {
    margin-top: 0.85rem;
  }

  .hero-copy > .mt-7 {
    margin-top: 1.15rem;
  }

  .hero-copy > .mt-8 {
    margin-top: 1.15rem;
  }

  .hero-veil {
    background:
      linear-gradient(
        to bottom,
        var(--background) 0,
        color-mix(in oklab, var(--background) 94%, transparent) env(safe-area-inset-top, 14px),
        color-mix(in oklab, var(--background) 55%, transparent) calc(env(safe-area-inset-top, 14px) + 2.75rem),
        transparent calc(env(safe-area-inset-top, 14px) + 6rem)
      ),
      /* stevige onderkant: tekstzone blijft zwart, geen wash erdoorheen */
      linear-gradient(
        to top,
        var(--background) 0%,
        var(--background) 22%,
        color-mix(in oklab, var(--background) 96%, transparent) 38%,
        color-mix(in oklab, var(--background) 55%, transparent) 52%,
        color-mix(in oklab, var(--background) 12%, transparent) 68%,
        transparent 82%
      );
  }

  .hero-mark {
    font-size: clamp(3.6rem, 17vw, 5.25rem);
  }

}

/* Grotere telefoons (Pro Max e.d.): foto iets lager aandeel, tekst dichter bij de onderkant */
@media (max-width: 767px) and (min-height: 820px) {
  .hero-photo {
    object-position: center 22%;
  }

  .hero-inner {
    padding-bottom: calc(1.85rem + env(safe-area-inset-bottom, 0px));
  }

  .hero-copy > .mt-5 {
    margin-top: 1rem;
  }

  .hero-copy > .mt-7,
  .hero-copy > .mt-8 {
    margin-top: 1.35rem;
  }

}

@media (max-width: 767px) and (min-height: 900px) {
  .hero-inner {
    padding-bottom: calc(2.15rem + env(safe-area-inset-bottom, 0px));
  }

  .hero-mark {
    font-size: clamp(4rem, 16vw, 5.75rem);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-photo {
    object-position: 62% 16%;
  }
}

@media (min-width: 1024px) {
  .hero-photo {
    object-position: 78% 16%;
  }
}

/* YouTube facade — thumbnail with play button, iframe loads on click */
.yt-facade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--soot);
  cursor: pointer;
}

.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

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

.yt-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 3.2rem;
  border-radius: 0.5rem;
  background: color-mix(in oklab, var(--primary) 92%, black);
  color: #fff;
  box-shadow: 0 10px 40px -8px color-mix(in oklab, var(--primary) 60%, transparent);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.yt-facade:hover .yt-facade-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--primary);
}

.yt-facade-play--sm {
  width: 3rem;
  height: 2.15rem;
  border-radius: 0.4rem;
}

/* Video layout: big feature + stacked side cards, titles on the imagery */
.video-grid {
  display: grid;
  gap: 1rem;
}

.video-grid--solo {
  grid-template-columns: 1fr;
}

.video-feature {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border);
}

.video-side {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-content: start;
}

@media (min-width: 640px) {
  .video-side {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .video-grid:not(.video-grid--solo) {
    grid-template-columns: 2fr 1fr;
  }

  .video-side {
    grid-template-columns: 1fr;
  }

  /* Twee side-cards: even hoog als de feature; meer cards: auto-hoogte */
  .video-side:has(> :nth-child(2):last-child) {
    grid-template-rows: 1fr 1fr;
    height: 100%;
  }
}

.video-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
}

@media (min-width: 1024px) {
  .video-side:has(> :nth-child(2):last-child) .video-card {
    aspect-ratio: auto;
    min-height: 0;
  }
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover img {
  transform: scale(1.04);
}

.video-card:hover,
.video-feature:hover {
  border-color: color-mix(in oklab, var(--primary) 60%, var(--border));
}

.video-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    color-mix(in oklab, var(--background) 92%, transparent) 0%,
    color-mix(in oklab, var(--background) 45%, transparent) 32%,
    transparent 62%
  );
}

.video-meta {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  pointer-events: none;
  text-align: left;
}

.video-kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary);
}

.video-title {
  font-family: Oswald, Bebas Neue, Impact, ui-sans-serif, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.video-title--sm {
  font-size: 1.05rem;
  font-weight: 600;
}

.video-card .yt-facade-play {
  top: auto;
  left: auto;
  right: 1rem;
  bottom: 1rem;
  transform: none;
  z-index: 1;
}

.video-card:hover .yt-facade-play {
  transform: scale(1.08);
  background: var(--primary);
}

/* Tour — add-to-agenda buttons */
.ics-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ics-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.ics-btn--labeled {
  width: auto;
  height: auto;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Tour list — whole row tappable on mobile */
.tour-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tour-item {
  border-bottom: 1px solid var(--border);
}

.tour-item:last-child {
  border-bottom: 0;
}

.tour-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 6.1rem;
  grid-template-areas:
    "date aside"
    "main aside"
    "city aside";
  column-gap: 0.65rem;
  row-gap: 0.15rem;
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 1.1rem 0.15rem;
  color: inherit;
  text-align: left;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.tour-row.is-tappable {
  cursor: pointer;
}

.tour-row.is-tappable:focus-visible {
  outline: 1px solid var(--primary);
  outline-offset: 2px;
}

.tour-row:hover,
.tour-item.is-open .tour-row {
  background: color-mix(in oklab, var(--card) 70%, transparent);
}

.tour-date {
  grid-area: date;
  font-family: Oswald, Bebas Neue, Impact, ui-sans-serif, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.tour-main {
  grid-area: main;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  min-width: 0;
}

.tour-title {
  font-family: Oswald, Bebas Neue, Impact, ui-sans-serif, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.tour-sub {
  /* tijd + prijs op één regel, onder de naam */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}

.tour-meta {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
}

.tour-city {
  grid-area: city;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
}

.tour-aside {
  grid-area: aside;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  height: 100%;
  min-height: 100%;
  align-self: stretch;
}

.tour-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.35rem 0.5rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
  text-align: center;
}

.info-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  box-sizing: border-box;
  min-height: 2.15rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid color-mix(in oklab, var(--border) 85%, transparent);
  color: var(--foreground);
  font-family: Oswald, Bebas Neue, Impact, ui-sans-serif, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.info-toggle-arrow {
  display: inline-block;
  font-size: 0.8em;
  line-height: 1;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.tour-item.is-open .info-toggle {
  border-color: var(--primary);
  color: var(--primary);
}

.tour-item.is-open .info-toggle-arrow {
  transform: rotate(180deg);
}

@media (min-width: 768px) {
  .tour-row {
    grid-template-columns: 8.25rem minmax(0, 1.5fr) minmax(0, 0.85fr) 12.5rem;
    grid-template-areas: "date main city aside";
    align-items: center;
    column-gap: 0.85rem;
    row-gap: 0;
    padding: 1.25rem 0.75rem;
  }

  .tour-date {
    font-size: 1.25rem;
  }

  .tour-title {
    font-size: 1.15rem;
  }

  .tour-main {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.55rem;
  }

  .tour-sub {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .tour-aside {
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    min-height: 0;
  }

  .ticket-link,
  .info-toggle {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
}

/* Expandable show details */
.tour-detail {
  background: color-mix(in oklab, var(--card) 80%, transparent);
  border-top: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
}

.tour-detail-grid {
  display: grid;
  gap: 1.25rem;
  padding: 1.15rem 0.35rem 1.4rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .tour-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1.4rem 1.25rem 1.6rem;
  }
}

@media (min-width: 1024px) {
  .tour-detail-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tour-detail-block {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--foreground);
}

.tour-detail-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary);
}

.tour-detail-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  transition: color 0.2s ease;
}

@media (min-width: 768px) {
  .tour-detail-link {
    min-height: 0;
  }
}

.tour-detail-link:hover {
  color: var(--foreground);
}

.tour-detail-hint {
  font-size: 0.7rem;
  color: var(--muted-foreground);
}

/* Duidelijke actieknoppen in tour-info (esp. mobiel) */
.tour-detail-block--actions {
  grid-column: 1 / -1;
}

.tour-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.tour-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 70%, transparent);
  color: var(--foreground);
  font-family: Oswald, Bebas Neue, Impact, ui-sans-serif, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.tour-action--primary {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.tour-action:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: color-mix(in oklab, var(--primary) 12%, transparent);
}

.tour-action--primary:hover {
  color: var(--primary-foreground);
  background: color-mix(in oklab, var(--primary) 88%, #000);
}

@media (min-width: 640px) {
  .tour-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tour-action {
    min-height: 2.75rem;
    font-size: 0.85rem;
  }
}

/* Gespeelde shows ogen duidelijk als archief */
.tour-past-list .tour-item {
  opacity: 0.45;
  filter: grayscale(0.7);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.tour-past-list .tour-item:hover {
  opacity: 0.8;
  filter: grayscale(0.2);
}

.tour-past-list .tour-date,
.tour-past-list .tour-title {
  font-size: 1rem;
}

.tour-past-list .ticket-link,
.tour-past-list .info-toggle {
  display: none;
}

/* Instagram strip — staggered tiles with a follow-CTA */
.gram-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.gram-shot {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--soot);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, transform 0.35s ease;
}

.gram-shot:hover {
  border-color: color-mix(in oklab, var(--primary) 70%, var(--border));
}

@media (min-width: 640px) {
  .gram-strip {
    padding-bottom: 1.5rem;
  }

  .gram-shot:nth-child(even) {
    transform: translateY(1.5rem);
  }

  .gram-shot:nth-child(even):hover {
    transform: translateY(1.35rem);
  }

  .gram-shot:nth-child(odd):hover {
    transform: translateY(-0.15rem);
  }
}

.gram-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gram-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--background) 35%, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gram-shot:hover img {
  transform: scale(1.04);
}

.gram-shot:hover::after {
  opacity: 1;
}

.gram-shot-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.gram-shot:hover .gram-shot-overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Follow-CTA tile */
.gram-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.1rem;
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.gram-cta::after {
  display: none;
}

.gram-cta-text {
  font-family: Oswald, Bebas Neue, Impact, ui-sans-serif, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gram-cta-arrow {
  align-self: flex-end;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.gram-cta:hover .gram-cta-arrow {
  transform: translateX(0.3rem);
}

@media (min-width: 640px) {
  .gram-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gram-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Chapter labels */
.chapter-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.chapter-label::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  flex-shrink: 0;
  background: var(--primary);
  box-shadow: 0 0 10px color-mix(in oklab, var(--primary) 55%, transparent);
}

/* Mobile nav */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 96%, transparent);
  padding: 0.5rem 1.25rem 1rem;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.8rem 0;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 65%, transparent);
  font-family: Oswald, Bebas Neue, Impact, ui-sans-serif, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--foreground);
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* In-page track player */
.track-play {
  cursor: pointer;
  background: transparent;
  font: inherit;
}

.track-row.is-playing .track-play {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.track-play-icon {
  display: inline-block;
  line-height: 1;
  transform: translateX(1px);
}

.track-row.is-playing .track-play-icon {
  transform: none;
  font-size: 0.85em;
  letter-spacing: 0.05em;
}

/* Spotify embed — hoger op mobiel én desktop */
.spotify-embed {
  line-height: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px; /* match Spotify embed corners */
  background: #121212;
}

.spotify-embed iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .spotify-embed iframe {
    height: 420px;
  }
}

/* Tickets / website op gesloten rij — zelfde breedte als Info */
.ticket-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 2.15rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: Oswald, Bebas Neue, Impact, ui-sans-serif, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ticket-link--ghost {
  background: transparent;
  color: var(--primary);
}

.ticket-link:hover {
  background: color-mix(in oklab, var(--primary) 88%, #000);
  color: var(--primary-foreground);
}

.ticket-link--ghost:hover {
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  color: var(--primary);
}

/* Merch drop — live-only table, no webshop */
.merch-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-areas:
    "title"
    "shot"
    "copy";
}

.merch-title { grid-area: title; }
.merch-shot { grid-area: shot; }
.merch-copy { grid-area: copy; }

@media (min-width: 1024px) {
  .merch-layout {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      "shot title"
      "shot copy";
    column-gap: 4rem;
    row-gap: 1.25rem;
    align-items: center;
  }
}

.merch-shot {
  position: relative;
  margin: 0;
  overflow: visible;
  background: transparent;
}

.merch-shot img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 36px oklch(0% 0 0 / 0.45));
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (hover: hover) {
  .merch-shot:hover img {
    transform: scale(1.035);
  }
}

.merch-stamp {
  position: absolute;
  top: 1.15rem;
  right: 0.85rem;
  padding: 0.55rem 0.95rem;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: Oswald, Bebas Neue, Impact, ui-sans-serif, sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(8deg);
  background: color-mix(in oklab, var(--background) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--primary) 25%, transparent);
  pointer-events: none;
}

.merch-kit {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.merch-kit li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  font-family: Oswald, Bebas Neue, Impact, ui-sans-serif, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foreground);
}

.merch-kit li span {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}

.merch-next {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.2rem;
  padding: 1.2rem 1.3rem 1.3rem;
  border: 1px solid var(--border);
  background: var(--background);
}

.merch-next-kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
}

.merch-next-date {
  margin-top: 0.35rem;
  font-family: Oswald, Bebas Neue, Impact, ui-sans-serif, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--foreground);
}

.merch-next-venue,
.merch-next-city {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.merch-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

/* ============================================================
   Live photo rail — full-bleed cinematic marquee
   Mirrors the venue-word ticker energy with images that dominate.
   ============================================================ */
.live-rail {
  position: relative;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in oklab, var(--primary) 14%, transparent), transparent 55%),
    var(--background);
  overflow: hidden;
}

.live-rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.35rem 1.25rem 0.85rem;
}

@media (min-width: 640px) {
  .live-rail-head {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.live-rail-kicker {
  margin: 0;
  opacity: 0.85;
}

.live-marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 4%,
    #000 96%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 4%,
    #000 96%,
    transparent 100%
  );
  padding-bottom: 1.5rem;
}

.live-marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center; /* keep a single shared baseline */
  gap: 0.85rem;
  padding-right: 0.85rem;
  will-change: transform;
}

.live-shot {
  position: relative;
  margin: 0;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: min(82vw, 36rem);
  height: 18rem; /* identical height for every photo */
  min-height: 18rem;
  max-height: 18rem;
  overflow: hidden;
  background: var(--soot, #0c0a09);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  isolation: isolate;
}

.live-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
  filter: contrast(1.05) saturate(1.05);
}

.live-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 55%, color-mix(in oklab, var(--background) 55%, transparent) 100%),
    linear-gradient(90deg, color-mix(in oklab, var(--background) 25%, transparent), transparent 18%, transparent 82%, color-mix(in oklab, var(--background) 25%, transparent));
  opacity: 0.55;
  transition: opacity 0.35s ease;
}

.live-shot:hover img {
  transform: scale(1.06);
  filter: contrast(1.08) saturate(1.12);
}

.live-shot:hover::after {
  opacity: 0.2;
}

.animate-live-marquee {
  animation: live-marquee 70s linear infinite;
}

.live-marquee:hover .animate-live-marquee {
  animation-play-state: paused;
}

@keyframes live-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (min-width: 1024px) {
  .live-shot {
    width: min(42vw, 40rem);
    height: 24rem; /* identical desktop height */
    min-height: 24rem;
    max-height: 24rem;
  }

  .live-marquee {
    padding-bottom: 2rem;
  }

  .animate-live-marquee {
    animation-duration: 80s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-live-marquee {
    animation: none;
  }

  .live-marquee {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .live-marquee-track[aria-hidden="true"] {
    display: none;
  }

  .live-shot {
    scroll-snap-align: center;
  }
}

/* Public live photo lightbox */
.live-shot {
  cursor: zoom-in;
}
.live-shot:focus-visible {
  outline: 1px solid var(--primary);
  outline-offset: 2px;
}
.live-marquee.is-lightbox-open .animate-live-marquee {
  animation-play-state: paused;
}

.live-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: color-mix(in oklab, var(--background, #1a1210) 78%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
}
.live-lightbox[hidden] { display: none; }

.live-lightbox-frame {
  position: relative;
  width: min(1120px, 100%);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.live-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(70vh, 36rem);
  background: #050403;
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  overflow: hidden;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.live-lightbox-stage.is-loading::after {
  content: "";
  position: absolute;
  width: 1.7rem;
  height: 1.7rem;
  border: 2px solid color-mix(in oklab, var(--primary) 30%, transparent);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: live-lightbox-spin 0.7s linear infinite;
}
@keyframes live-lightbox-spin { to { transform: rotate(360deg); } }

.live-lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: min(78vh, 820px);
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  pointer-events: none;
}
.live-lightbox-stage img.is-ready {
  opacity: 1;
  transform: scale(1);
}

.live-lightbox-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.live-lightbox-meta {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  transition: opacity 0.35s ease;
}
.live-lightbox-meta strong {
  color: var(--foreground);
  font-weight: 600;
}
.live-lightbox-done {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  padding: 0.55rem 1rem;
  font-family: Oswald, Bebas Neue, Impact, ui-sans-serif, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.35s ease;
}
.live-lightbox-done:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.live-lightbox-nav,
.live-lightbox-close {
  position: absolute;
  z-index: 2;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid color-mix(in oklab, var(--border) 85%, transparent);
  background: color-mix(in oklab, var(--background) 72%, transparent);
  color: var(--foreground);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.35s ease, transform 0.35s ease;
}
.live-lightbox-nav:hover,
.live-lightbox-close:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.live-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
}
.live-lightbox-nav.prev { left: 0.7rem; }
.live-lightbox-nav.next { right: 0.7rem; }
.live-lightbox-close {
  top: 0.7rem;
  right: 0.7rem;
  border-radius: 999px;
}

/* Auto-hide chrome after idle */
.live-lightbox.is-chrome-hidden .live-lightbox-nav,
.live-lightbox.is-chrome-hidden .live-lightbox-close,
.live-lightbox.is-chrome-hidden .live-lightbox-done {
  opacity: 0;
  pointer-events: none;
}
.live-lightbox.is-chrome-hidden .live-lightbox-nav.prev {
  transform: translate(-0.4rem, -50%);
}
.live-lightbox.is-chrome-hidden .live-lightbox-nav.next {
  transform: translate(0.4rem, -50%);
}
.live-lightbox.is-chrome-hidden .live-lightbox-close {
  transform: translateY(-0.25rem);
}
.live-lightbox.is-chrome-hidden .live-lightbox-meta,
.live-lightbox.is-chrome-hidden .live-lightbox-bar {
  opacity: 0;
}

/* Immersive mobile preview — photo owns the screen */
@media (max-width: 768px) {
  .live-lightbox {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
    background: #050403;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .live-lightbox-frame {
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    min-height: 100svh;
    gap: 0;
  }

  .live-lightbox-stage {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    min-height: 100svh;
    border: 0;
    background: #050403;
  }

  .live-lightbox-stage img {
    max-width: 100vw;
    max-height: 100dvh;
    max-height: 100svh;
    width: auto;
    height: auto;
  }

  .live-lightbox-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    margin: 0;
    padding:
      2.5rem 1rem
      calc(0.9rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(
      180deg,
      transparent 0%,
      color-mix(in oklab, #050403 75%, transparent) 45%,
      color-mix(in oklab, #050403 92%, transparent) 100%
    );
    pointer-events: none;
  }

  .live-lightbox-bar .live-lightbox-done {
    pointer-events: auto;
    background: color-mix(in oklab, #050403 55%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .live-lightbox-close {
    top: calc(0.65rem + env(safe-area-inset-top, 0px));
    right: calc(0.65rem + env(safe-area-inset-right, 0px));
    background: color-mix(in oklab, #050403 55%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .live-lightbox-nav {
    width: 2.75rem;
    height: 2.75rem;
    background: color-mix(in oklab, #050403 45%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .live-lightbox-nav.prev { left: 0.35rem; }
  .live-lightbox-nav.next { right: 0.35rem; }

  /* Mobile: swipe is primary — hide side arrows so the photo stays clean */
  .live-lightbox-nav {
    display: none;
  }

  .live-lightbox.is-chrome-hidden .live-lightbox-bar {
    transform: translateY(0.5rem);
  }

  /* Soft first-open hint that swipe works */
  .live-lightbox-swipe-hint {
    position: absolute;
    left: 50%;
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 4;
    transform: translateX(-50%);
    margin: 0;
    padding: 0.45rem 0.75rem;
    border: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
    background: color-mix(in oklab, #050403 62%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--muted-foreground);
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
  }
  .live-lightbox.is-hint-visible .live-lightbox-swipe-hint {
    opacity: 1;
  }
  .live-lightbox.is-chrome-hidden .live-lightbox-swipe-hint {
    opacity: 0;
  }
}

@media (min-width: 769px) {
  .live-lightbox-swipe-hint {
    display: none;
  }
}

.footer-credit {
  opacity: 0.85;
  letter-spacing: 0.22em;
}
.footer-credit-mark {
  color: var(--primary);
  letter-spacing: 0.18em;
}
