/* Taste the Brand Vol. 1 — zweite Recap-Fassung.
   Vier-Ecken-Rahmen, Typografie und Palette kommen aus style.css. */

.recap-opening {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 100svh;
  overflow: clip;
  background: var(--ink);
  color: var(--cream-light);
}

.recap-opening-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.recap-opening::after {
  content: '';
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(transparent, rgb(0 0 0 / 58%));
  pointer-events: none;
}

.recap-opening-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--bar-t) var(--pad) calc(var(--bar-b) + clamp(2.5rem, 8vh, 6rem));
  color: var(--cream-light);
  text-shadow: 0 1px 14px rgb(0 0 0 / 40%);
}

.recap-opening-copy h1 {
  width: fit-content;
  max-width: 100%;
  margin: clamp(1.25rem, 4vw, 3rem) 0 clamp(1.25rem, 3vw, 2.25rem);
}

.recap-opening-copy h1 .l {
  padding-inline-end: 0.12em;
}

.recap-opening-copy .loud {
  font-size: clamp(6rem, 21vw, 20rem);
  -webkit-text-stroke: 0;
  paint-order: normal;
}

.recap-opening-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem clamp(1.25rem, 4vw, 3.5rem);
}

.recap-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100svh;
}

.recap-split-copy {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  min-width: 0;
  padding: calc(var(--bar-t) + clamp(3rem, 6vw, 7rem)) clamp(2rem, 5vw, 6rem)
    calc(var(--bar-b) + clamp(3rem, 6vw, 7rem));
}

.recap-split-kicker {
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.recap-split h2 {
  max-width: 100%;
  margin: 0;
}

.recap-split h2 .l {
  padding-inline-end: 0.08em;
}

.recap-split h2 .loud-2 {
  font-size: clamp(3.25rem, 6.45vw, 8.25rem);
  white-space: nowrap;
}

.recap-split-text {
  max-width: 40ch;
  margin: clamp(2rem, 4vw, 4rem) 0 0;
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.recap-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.35rem;
  transition: gap var(--t-std) var(--e-out);
}
.recap-text-link:hover,
.recap-text-link:focus-visible { gap: 1.2rem; }

.recap-split-photo {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: clip;
  background: var(--ink);
}

.recap-split-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recap-purple {
  background: var(--purple);
  color: var(--cream-light);
}
.recap-purple .recap-split-photo img { object-position: 54% 50%; }

.recap-yellow {
  background: var(--yellow);
  color: var(--ink);
}
.recap-yellow .recap-split-photo img { object-position: 50% 49%; }

.recap-lime {
  background: var(--lime);
  color: var(--ink);
}
.recap-lime .recap-split-photo img { object-position: 50% 49%; }

.recap-ink {
  background: var(--ink);
  color: var(--cream-light);
}
.recap-ink .recap-split-photo img { object-position: 43% 50%; }

.recap-film {
  padding: clamp(1.25rem, 3vw, 3rem) var(--pad);
  background: var(--ink);
}
.recap-film-media {
  position: relative;
  width: 100%;
  background: var(--ink);
}
.recap-film-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--ink);
}
.recap-film-label {
  position: absolute;
  z-index: 1;
  top: calc(var(--bar-t) + clamp(2.5rem, 5vw, 4.5rem));
  left: var(--pad);
  display: inline-flex;
  gap: 0.6rem;
  margin: 0;
  padding: 0.65rem 0.8rem;
  background: rgb(10 10 8 / 78%);
  color: var(--cream-light);
  pointer-events: none;
}
.recap-film-label span { color: color-mix(in oklch, var(--cream-light) 72%, transparent); }

.recap-cream {
  background: var(--cream);
  color: var(--ink);
}
.recap-cream .recap-split-photo img { object-position: 48% 50%; }

.recap-gallery-section {
  background: var(--cream);
}

.recap-gallery-heading {
  position: relative;
  min-height: 27rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding: clamp(5rem, 10vw, 10rem) var(--pad);
  background: var(--lime);
  color: var(--ink);
}

.recap-gallery-heading h2 {
  margin: clamp(1.5rem, 3vw, 3rem) 0 0;
}
.recap-gallery-heading .loud-2 {
  font-size: clamp(4rem, 10vw, 11rem);
}
.recap-gallery-count {
  position: absolute;
  right: var(--pad);
  bottom: clamp(3rem, 6vw, 6rem);
}

.recap-gallery {
  columns: 3;
  column-gap: clamp(0.5rem, 1.5vw, 1.5rem);
  padding: clamp(0.5rem, 1.5vw, 1.5rem);
}

.recap-photo {
  display: block;
  width: 100%;
  margin: 0 0 clamp(0.5rem, 1.5vw, 1.5rem);
  break-inside: avoid;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: clip;
}
.recap-photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: scale var(--t-slow) var(--e-out);
}
.recap-photo:hover img,
.recap-photo:focus-visible img { scale: 1.025; }
.recap-photo:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
.recap-noscript { padding: 2rem var(--pad); }

.recap-next-date {
  margin-top: clamp(2rem, 4vw, 4rem);
  font-size: clamp(1.5rem, 2.6vw, 3rem);
  line-height: 1.1;
  text-transform: uppercase;
}
.recap-next .recap-split-text { margin-top: 1.5rem; }
.recap-next .recap-split-photo img { object-position: 50% 52%; }

.photo-dialog {
  width: 100vw;
  max-width: none;
  height: 100svh;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0;
  background: var(--ink);
  color: var(--cream-light);
}
.photo-dialog::backdrop { background: var(--ink); }
.photo-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.photo-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--bar-t);
  padding-inline: var(--pad);
  border-bottom: 1px solid color-mix(in oklch, var(--cream-light) 30%, var(--ink));
}
.photo-dialog-bar button,
.photo-nav {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.photo-dialog-bar button:hover,
.photo-dialog-bar button:focus-visible,
.photo-nav:hover,
.photo-nav:focus-visible { color: var(--yellow); }
.photo-dialog-stage {
  display: grid;
  grid-template-columns: minmax(4rem, 8rem) minmax(0, 1fr) minmax(4rem, 8rem);
  align-items: center;
  gap: 1rem;
  min-height: 0;
  padding: clamp(1rem, 2vw, 2rem) var(--pad);
}
.photo-dialog-stage img {
  justify-self: center;
  max-width: 100%;
  max-height: calc(100svh - var(--bar-t) - 4rem);
  object-fit: contain;
}
.photo-prev { justify-self: start; }
.photo-next { justify-self: end; }

@media (max-width: 1100px) {
  .recap-split-copy { padding-inline: clamp(2rem, 4vw, 4rem); }
  .recap-split h2 .loud-2 { font-size: clamp(3rem, 6.2vw, 5.5rem); }
}

@media (max-width: 860px) {
  .recap-opening-copy { padding-bottom: calc(var(--bar-b) + 3rem); }
  .recap-opening-copy .loud { font-size: clamp(5rem, 21vw, 11rem); }
  .recap-split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .recap-split-copy {
    min-height: 32rem;
    padding: clamp(5rem, 12vw, 8rem) var(--pad);
  }
  .recap-split-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .recap-photo-first .recap-split-photo { order: 2; }
  .recap-photo-first .recap-split-copy { order: 1; }
  .recap-split h2 .loud-2 { font-size: clamp(3.25rem, 10vw, 7rem); }
  .recap-gallery { columns: 2; }
  .recap-gallery-count { position: static; margin-top: 2.5rem; }
  .photo-dialog-stage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .photo-dialog-stage img { grid-column: 1 / -1; }
  .photo-prev { grid-column: 1; grid-row: 2; }
  .photo-next { grid-column: 2; grid-row: 2; }
}

@media (max-width: 520px) {
  .recap-opening { min-height: 100svh; }
  .recap-opening-photo { object-position: 48% 50%; }
  .recap-opening-copy .loud { font-size: clamp(4.5rem, 22vw, 7rem); }
  .recap-opening-meta { display: grid; gap: 0.3rem; }
  .recap-split-copy { min-height: 0; padding-block: clamp(5rem, 14vw, 6.5rem); }
  .recap-split h2 .loud-2 { font-size: clamp(3rem, 12vw, 5.5rem); }
  .recap-split-photo { aspect-ratio: 1 / 1; }
  .recap-gallery-heading { min-height: 25rem; }
  .recap-gallery-heading .loud-2 { font-size: clamp(3.5rem, 14vw, 6rem); }
  .recap-gallery { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .recap-photo img,
  .recap-text-link { transition: none; }
}
