/* ═══════════════════════════════════════════════════════════════════════════
   ACTIVITATS — page-specific styles.
   Build on shared/styles-v3.css + sobre.css (reuses era-* explorer styles).
   Voice: dynamic / "events live", more saturated than Sobre.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── TIMELINE cinemàtica (wow factor) ──────────────────────────────────── */
.acts-timeline {
  --acts-cell-w: 220px;
  background: var(--bone);
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.acts-timeline__head {
  max-width: var(--wrap-max);
  margin: 0 auto 48px;
  padding: 0 var(--wrap-pad);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
}
.acts-timeline__eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: flex; align-items: center; gap: 14px;
}
.acts-timeline__eyebrow::before {
  content: ""; width: 36px; height: 1px; background: currentColor;
}
.acts-timeline__title {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 14px 0 0;
  max-width: 24ch;
}
.acts-timeline__title em { font-style: italic; color: var(--burgundy); font-weight: 400; }
.acts-timeline__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  align-self: end;
}
.acts-timeline__legend {
  display: flex;
  gap: 22px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}
.acts-timeline__legend-item { display: inline-flex; align-items: center; gap: 10px; }
.acts-timeline__legend-bar {
  width: 22px; height: 2px;
  display: inline-block;
  border-radius: 1px;
}
.acts-timeline__legend-item.is-past .acts-timeline__legend-bar {
  background: color-mix(in oklch, var(--mute) 55%, transparent);
}
.acts-timeline__legend-item.is-future .acts-timeline__legend-bar {
  background: var(--burgundy);
}
.acts-timeline__hint {
  font-family: var(--ff-ui);
  font-size: 12px;
  color: var(--mute);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.acts-timeline__track {
  position: relative;
  height: 460px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.acts-timeline__track.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.acts-timeline__track.is-dragging * { pointer-events: none !important; user-select: none; }
.acts-timeline__track::-webkit-scrollbar { height: 6px; }
.acts-timeline__track::-webkit-scrollbar-track { background: transparent; }
.acts-timeline__track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.acts-timeline__strip {
  position: relative;
  width: max-content;
  height: 100%;
  padding: 50px 6vw 0;
  box-sizing: border-box;
}

.acts-timeline__years {
  position: relative;
  height: 96px;
  margin-bottom: 8px;
  pointer-events: none;
}
.acts-timeline__year-band {
  position: absolute;
  top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 4px;
  border-left: 1px solid color-mix(in oklch, var(--burgundy) 25%, var(--line));
}
.acts-timeline__year-band span {
  background: transparent;
  padding: 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  color: var(--burgundy);
  letter-spacing: -0.01em;
  line-height: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.acts-timeline__axis {
  position: relative;
  height: calc(100% - 104px);
}
.acts-timeline__row {
  position: relative;
  display: flex;
  height: 100%;
  z-index: 1;
}
.acts-timeline__cell {
  position: relative;
  width: var(--acts-cell-w);
  flex: 0 0 var(--acts-cell-w);
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  padding-right: 24px;
  box-sizing: border-box;
}
.acts-timeline__cell::before {
  /* línia vertical subtil per separar columnes de mes */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  border-left: 1px dashed color-mix(in oklch, var(--line) 90%, transparent);
}
.acts-timeline__cell::after {
  /* eix temporal: gris pel passat, granate pel futur */
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 31px;
  height: 2px;
  background: var(--burgundy);
  z-index: 0;
}
.acts-timeline__cell.is-past::after {
  background: color-mix(in oklch, var(--mute) 55%, transparent);
  height: 1px;
  bottom: 31.5px;
}
.acts-timeline__cell.is-current::after {
  background: linear-gradient(
    to right,
    color-mix(in oklch, var(--mute) 55%, transparent) 0,
    color-mix(in oklch, var(--mute) 55%, transparent) calc(var(--today-frac, .5) * 100%),
    var(--burgundy) calc(var(--today-frac, .5) * 100%),
    var(--burgundy) 100%
  );
  height: 2px;
  bottom: 31px;
}

.acts-timeline__events {
  position: absolute;
  top: 30px;
  bottom: 60px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding-left: 14px;
  padding-right: 14px;
  pointer-events: none; /* re-enabled on items so the empty gap doesn't capture cell hover */
}
.acts-timeline__events > * { pointer-events: auto; }
.acts-timeline__tick {
  position: relative;
  height: 16px;
  margin-left: -5px;
  z-index: 2;
}
.acts-timeline__tick::before {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--burgundy);
  border: 2px solid var(--bone);
}
.acts-timeline__cell.is-past .acts-timeline__tick::before {
  background: color-mix(in oklch, var(--mute) 60%, var(--bone));
  width: 7px; height: 7px;
  bottom: 1px;
  left: 15px;
}
.acts-timeline__cell.is-current .acts-timeline__tick::before {
  background: var(--burgundy);
  box-shadow: 0 0 0 5px color-mix(in oklch, var(--burgundy) 18%, transparent);
}

.acts-timeline__month {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 14px 0 0 14px;
}
.acts-timeline__cell.is-past .acts-timeline__month {
  color: var(--mute);
}
.acts-timeline__cell.is-current .acts-timeline__month {
  color: var(--burgundy);
  font-weight: 600;
}

/* Targetes d'esdeveniments (com a botó) */
.acts-timeline__item {
  position: relative;
  padding: 10px 30px 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--bone);
  border: 1px solid color-mix(in oklch, var(--line) 80%, transparent);
  border-left: 2px solid color-mix(in oklch, var(--mute) 35%, transparent);
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  width: 100%;
  max-width: 200px;
  min-height: 0;
  flex: 0 0 auto;
  isolation: isolate;
  border-radius: 2px;
  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    border-color .25s ease,
    box-shadow .35s ease,
    background .25s ease;
  will-change: transform;
}
.acts-timeline__item.is-future {
  border-left-color: var(--burgundy);
}
.acts-timeline__item.is-past {
  border-left-color: color-mix(in oklch, var(--mute) 45%, transparent);
}
.acts-timeline__item::after {
  /* Persistent affordance: top-right diagonal arrow */
  content: "";
  position: absolute;
  top: 12px; right: 12px;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23a93c4d' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><path d='M4 10 L10 4 M6 4 H10 V8'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .55;
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.acts-timeline__item:hover,
.acts-timeline__item:focus-visible {
  border-color: color-mix(in oklch, var(--burgundy) 35%, transparent);
  box-shadow:
    0 10px 28px -16px color-mix(in oklch, var(--burgundy) 65%, transparent),
    0 2px 6px -2px color-mix(in oklch, var(--ink) 18%, transparent);
  background: #fff;
  outline: none;
}
.acts-timeline__item:hover::after,
.acts-timeline__item:focus-visible::after {
  opacity: 1;
  transform: translate(2px, -2px);
}
.acts-timeline__item:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 4px;
}
.acts-timeline__item:hover .acts-timeline__more,
.acts-timeline__item:focus-visible .acts-timeline__more {
  color: var(--burgundy);
}
.acts-timeline__item:hover .acts-timeline__more svg,
.acts-timeline__item:focus-visible .acts-timeline__more svg {
  transform: translateX(4px);
}
.acts-timeline__more {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color .25s ease;
}
.acts-timeline__more svg { transition: transform .25s ease; }
.acts-timeline__day {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.1;
  color: var(--burgundy);
  margin-bottom: 6px;
  font-feature-settings: "lnum";
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.acts-timeline__day-num { display: inline-block; }
.acts-timeline__day-mon {
  font-family: var(--ff-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--burgundy);
  opacity: .75;
  transform: translateY(-3px);
}
.acts-timeline__item .acts-timeline__label {
  font-family: var(--ff-display);
  font-size: 15px;
  line-height: 1.22;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.acts-timeline__item .acts-timeline__note {
  margin-top: 4px;
  font-family: var(--ff-mono);
  font-size: 9.5px;
  color: var(--mute);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Tag "Celebrat" — petita marca discreta a sobre del dia */
.acts-timeline__tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--mute);
  background: transparent;
  border: 1px solid color-mix(in oklch, var(--mute) 40%, transparent);
  padding: 3px 8px 2px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* Passat: mateixa tipografia, sense ratllat ni gris. La diferència és
   l'etiqueta "Celebrat" i el color de l'eix. Subtilesa als números. */
.acts-timeline__item.is-past .acts-timeline__day {
  color: color-mix(in oklch, var(--ink) 70%, var(--mute));
}
.acts-timeline__item.is-past .acts-timeline__day-mon {
  color: var(--mute);
  opacity: .9;
}

/* Highlights futurs */
.acts-timeline__item.is-future.is-highlight {
  border-left-width: 3px;
  border-left-color: var(--burgundy);
}
.acts-timeline__item.is-future.is-highlight::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid color-mix(in oklch, var(--burgundy) 35%, transparent);
  border-radius: inherit;
  pointer-events: none;
  animation: actsItemPulse 2.6s ease-in-out infinite;
}
@keyframes actsItemPulse {
  0%, 100% { opacity: .35; transform: scale(1); }
  50%      { opacity: .85; transform: scale(1.015); }
}
.acts-timeline__item.is-future.is-highlight .acts-timeline__label {
  font-weight: 600;
}

/* ─── Marcador "AVUI" — pill + línia + dot, animat amb GSAP ───────────── */
.acts-timeline__today {
  position: absolute;
  top: -84px;
  bottom: 0;
  width: 0;
  z-index: 4;
  pointer-events: none;
}
.acts-timeline__today-line {
  position: absolute;
  left: -0.5px;
  top: 38px;
  bottom: 31px;
  width: 1px;
  background: var(--burgundy);
}
.acts-timeline__today-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--burgundy);
  opacity: .35;
  filter: blur(3px);
}
.acts-timeline__today-pill {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 12px 7px;
  background: var(--burgundy);
  color: var(--bone);
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 18px -8px color-mix(in oklch, var(--burgundy) 65%, transparent);
}
.acts-timeline__today-pill-eyebrow {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .8;
}
.acts-timeline__today-pill-date {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 14px;
  line-height: 1;
}
.acts-timeline__today-dot {
  position: absolute;
  left: -5px;
  bottom: 26px;
  width: 10px; height: 10px;
  background: var(--burgundy);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--bone), 0 0 0 6px color-mix(in oklch, var(--burgundy) 35%, transparent);
}
.acts-timeline__today-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid color-mix(in oklch, var(--burgundy) 35%, transparent);
  animation: actsTodayPulse 2.4s ease-out infinite;
}
@keyframes actsTodayPulse {
  0%   { transform: scale(.6); opacity: .8; }
  100% { transform: scale(1.9); opacity: 0; }
}

@media (max-width: 720px) {
  .acts-timeline { --acts-cell-w: 180px; }
  .acts-timeline__track { height: 380px; }
}

/* ─── EVENT DETAIL — overlay morphat amb Flip ──────────────────────────── */
.acts-detail {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow-y: auto;
  overflow-x: hidden;
  isolation: isolate;
}
.acts-detail__backdrop {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(120% 80% at 80% 20%, color-mix(in oklch, var(--burgundy) 35%, transparent) 0%, transparent 60%),
    radial-gradient(100% 100% at 0% 100%, color-mix(in oklch, var(--ink) 35%, transparent) 0%, transparent 65%),
    color-mix(in oklch, var(--ink) 70%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  cursor: pointer;
  z-index: 0;
}
.acts-detail__shell {
  position: relative;
  z-index: 1;
  width: min(1200px, 92vw);
  margin: 4vh auto 8vh;
  padding: 64px clamp(28px, 5vw, 80px);
  background: var(--bone);
  display: flex;
  flex-direction: column;
  gap: 56px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.5), 0 10px 40px -10px rgba(0,0,0,.3);
}
.acts-detail__close {
  position: fixed;
  top: 24px;
  right: max(24px, calc((100vw - min(1200px, 92vw)) / 2 + 24px));
  z-index: 5;
  background: var(--bone);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  transition: color .25s ease, border-color .25s ease;
}
.acts-detail__close:hover { color: var(--burgundy); border-color: var(--burgundy); }
.acts-detail__close-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
}
.acts-detail__close:hover .acts-detail__close-x {
  background: var(--burgundy);
}

/* HERO — l'element que Flip morpha des de la card original.
   Hereta de .acts-timeline__item però amb dimensions monumentals. */
.acts-detail__hero {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 0;
  cursor: default;
  margin-top: 24px;
  pointer-events: none;
}
.acts-detail__hero::before {
  content: "";
  position: absolute;
  left: -8px; top: 0; bottom: -32px;
  width: 1px;
  background: linear-gradient(to bottom, var(--burgundy) 0%, color-mix(in oklch, var(--burgundy) 30%, transparent) 80%, transparent 100%);
}
.acts-detail__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 28px;
}
.acts-detail__eyebrow-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .6;
}
.acts-detail__hero .acts-detail__day {
  font-size: clamp(80px, 12vw, 160px);
  line-height: .92;
  margin-bottom: 20px;
  gap: 14px;
  align-items: baseline;
  flex-wrap: wrap;
}
.acts-detail__hero .acts-detail__day .acts-timeline__day-mon {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.005em;
  color: var(--burgundy);
  text-transform: none;
  transform: none;
  opacity: .9;
  line-height: 1;
}
.acts-detail__hero .acts-detail__label {
  font-family: var(--ff-display);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  max-width: 22ch;
  color: var(--ink);
}
.acts-detail__hero.is-highlight .acts-detail__label {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 500;
}
.acts-detail__hero .acts-detail__note {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--mute);
}
/* la pastilla "Celebrat" no es mostra al hero */
.acts-detail__hero .acts-timeline__tag,
.acts-detail__hero .acts-timeline__more { display: none; }

/* SHEET — graella editorial sota el hero */
.acts-detail__sheet { position: relative; }
.acts-detail__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.4fr);
  gap: 56px 64px;
}
.acts-detail__meta {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.acts-detail__meta-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.acts-detail__meta-key {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--mute);
}
.acts-detail__meta-val {
  font-family: var(--ff-display);
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.acts-detail__access {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 7px 12px 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  align-self: flex-start;
}
.acts-detail__access--free { color: var(--burgundy); border-color: color-mix(in oklch, var(--burgundy) 35%, var(--line)); }
.acts-detail__access--reservation { color: var(--gold-deep); border-color: color-mix(in oklch, var(--gold) 45%, var(--line)); }
.acts-detail__access--paid { color: var(--ink); background: var(--cream); border-color: transparent; }

.acts-detail__media {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.acts-detail__placeholder {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in oklch, var(--ink) 5%, transparent) 14px 15px),
    var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.acts-detail__placeholder-text {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--mute);
  background: var(--bone);
  padding: 6px 12px;
}

.acts-detail__section-title {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.acts-detail__section-title::before {
  content: "";
  width: 36px; height: 1px;
  background: currentColor;
}

.acts-detail__about {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.acts-detail__about-text {
  font-family: var(--ff-serif);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 70ch;
  margin: 0;
  text-wrap: pretty;
}

.acts-detail__rep {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.acts-detail__rep-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px 32px;
}
.acts-detail__rep-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in oklch, var(--line) 60%, transparent);
  font-family: var(--ff-display);
  font-size: 18px;
  color: var(--ink);
}
.acts-detail__rep-num {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--burgundy);
}

.acts-detail__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
}
.acts-detail__action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.acts-detail__action:hover {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.acts-detail__action.is-primary {
  background: var(--burgundy);
  color: var(--bone);
  border-color: var(--burgundy);
}
.acts-detail__action.is-primary:hover {
  background: color-mix(in oklch, var(--burgundy) 80%, black);
  border-color: color-mix(in oklch, var(--burgundy) 80%, black);
}

@media (max-width: 820px) {
  .acts-detail__shell {
    padding: 80px clamp(20px, 5vw, 40px) 64px;
    gap: 40px;
  }
  .acts-detail__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .acts-detail__close {
    right: clamp(20px, 5vw, 40px);
  }
}

/* ─── ACCORDION ──────────────────────────────────────────────────────────── */
.acts-accordion {
  background: var(--paper);
}
.act-row {
  border-bottom: 1px solid var(--line);
  position: relative;
}
.act-row:first-of-type { border-top: 1px solid var(--line); }
.act-row__header {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 48px var(--wrap-pad);
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  transition: background-color .3s ease;
}
.act-row__header:hover { background: var(--cream); }
.act-row__header:focus-visible { outline: 2px solid var(--burgundy); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) {
  .act-row__body, .act-row__body-content { transition: none; }
}
.act-row.is-open .act-row__header { background: var(--cream); }

.act-row__num {
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--burgundy);
}
.act-row__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: baseline;
  max-width: 1100px;
}
.act-row__title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  font-weight: 600;
}
.act-row__title em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 400;
}
.act-row__teaser {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--mute);
  margin: 0;
  max-width: 48ch;
}

.act-row__toggle {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy);
  background: var(--paper);
  transition: background .3s, color .3s, transform .4s cubic-bezier(.2,.7,.2,1);
  flex-shrink: 0;
}
.act-row.is-open .act-row__toggle {
  background: var(--burgundy);
  color: #fff;
  transform: rotate(45deg);
}
.act-row__toggle svg { width: 16px; height: 16px; }

/* Body — grid-template-rows trick for smooth height transition */
.act-row__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s cubic-bezier(.2,.7,.2,1);
}
.act-row.is-open .act-row__body { grid-template-rows: 1fr; }
.act-row__body-inner {
  overflow: hidden;
  min-height: 0;
}
.act-row__body-content {
  padding: 0 var(--wrap-pad) 88px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .45s ease .1s, transform .55s cubic-bezier(.2,.7,.2,1) .1s;
}
.act-row.is-open .act-row__body-content {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 800px) {
  .act-row__header { grid-template-columns: 60px 1fr auto; gap: 16px; padding: 32px var(--wrap-pad); }
  .act-row__main   { grid-template-columns: 1fr; gap: 12px; }
  .act-row__teaser { font-size: 14.5px; }
  .act-row__toggle { width: 44px; height: 44px; }
  .act-row__body-content { padding: 0 var(--wrap-pad) 56px; }
}

/* ─── AGENDA grid ───────────────────────────────────────────────────────── */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.agenda-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
}
.agenda-card:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 4px;
}
.agenda-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -20px rgba(0,0,0,.18);
  border-color: var(--burgundy);
}
.agenda-card.featured {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
  grid-column: span 2;
}
@media (max-width: 720px) { .agenda-card.featured { grid-column: span 1; } }
.agenda-card.featured .agenda-card__tag,
.agenda-card.featured .agenda-card__date {
  color: var(--gold-soft);
}
.agenda-card.featured .agenda-card__title { color: #fff; }
.agenda-card.featured .agenda-card__meta { color: rgba(255,255,255,.85); }

.agenda-card__tag {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.agenda-card__date {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--mute);
  text-transform: uppercase;
}
.agenda-card__date b {
  font-family: var(--ff-display);
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
  font-style: italic;
  color: var(--burgundy);
  letter-spacing: -0.02em;
}
.agenda-card.featured .agenda-card__date b { color: var(--gold-soft); }
.agenda-card__title {
  font-family: var(--ff-display);
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}
.agenda-card__meta {
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--mute);
  margin-top: auto;
}
.agenda-card__meta div + div { margin-top: 4px; }
.agenda-card__arrow {
  position: absolute;
  bottom: 24px; right: 24px;
  font-family: var(--ff-ui);
  font-size: 14px;
  color: var(--burgundy);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s, transform .3s;
}
.agenda-card.featured .agenda-card__arrow { color: var(--gold-soft); }
.agenda-card:hover .agenda-card__arrow { opacity: 1; transform: translateX(0); }

.agenda-foot {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.agenda-foot .meta {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--mute);
  font-style: italic;
}

/* ─── BLOCKS shared (heading inside accordion rows) ─────────────────────── */
.act-block { margin-top: 0; }
.act-block + .act-block { margin-top: 64px; }
.act-block__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 32px;
}
.act-block__title {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.act-block__sub {
  font-family: var(--ff-body);
  font-size: 14.5px;
  color: var(--mute);
  max-width: 48ch;
  text-align: right;
}

/* ─── TYPES (Espectacles → Mostres / Itinerants) ────────────────────────── */
.acts-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.acts-type {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 40px;
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.acts-type__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.acts-type__num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--burgundy);
}
.acts-type__name {
  font-family: var(--ff-display);
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.acts-type__name em { font-style: italic; color: var(--burgundy); font-weight: 400; }
.acts-type__desc {
  font-family: var(--ff-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.acts-type__label {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.acts-type__label::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}

/* Formats list */
.acts-type__formats-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.acts-type__format {
  border-top: 1px solid color-mix(in oklch, var(--line) 60%, transparent);
  padding-top: 16px;
}
.acts-type__format-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}
.acts-type__format-num {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--burgundy);
  font-variant-numeric: tabular-nums;
}
.acts-type__format-title {
  font-family: var(--ff-display);
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}
.acts-type__format-meta {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 4px;
}
.acts-type__format-body {
  font-family: var(--ff-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  padding-left: 30px;
  text-wrap: pretty;
}

/* Repertoire list */
.acts-type__rep-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.acts-type__rep-item {
  padding: 10px 0;
  border-bottom: 1px solid color-mix(in oklch, var(--line) 60%, transparent);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.acts-type__rep-name {
  font-family: var(--ff-display);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.acts-type__rep-note {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
}

/* Tech notes */
.acts-type__notes {
  background: var(--bone);
  border-left: 2px solid var(--burgundy);
  padding: 14px 18px;
  font-family: var(--ff-body);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.acts-type__notes-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--burgundy);
}

/* Anecdote (Cavallets Cotoners) */
.acts-type__anecdote {
  background: var(--ink);
  color: var(--bone);
  padding: 28px 32px;
  margin: 8px -40px -40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.acts-type__anecdote-eyebrow {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}
.acts-type__anecdote-title {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.2;
  color: var(--bone);
}
.acts-type__anecdote-body {
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in oklch, var(--bone) 85%, var(--ink));
  margin: 0;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .acts-types { grid-template-columns: 1fr; }
  .acts-type__rep-list { grid-template-columns: 1fr; }
  .acts-type__anecdote { margin: 8px -28px -40px; padding: 24px 28px; }
}

/* ─── MERCÈDANSA history (before explorer) ─────────────────────────────── */
.md-history {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px 56px;
  margin-bottom: 64px;
  align-items: start;
}
.md-history__eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.md-history__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: currentColor;
}
.md-history__title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  max-width: 18ch;
  font-weight: 500;
}
.md-history__title em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 400;
}
.md-history__text {
  font-family: var(--ff-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 14px;
  max-width: 56ch;
  text-wrap: pretty;
}
.md-history__text em {
  font-style: italic;
  color: var(--burgundy);
}

.md-history__milestones {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.md-milestone {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid color-mix(in oklch, var(--line) 60%, transparent);
  align-items: baseline;
}
.md-milestone:last-child { border-bottom: 0; }
.md-milestone__year {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 22px;
  color: var(--burgundy);
  font-feature-settings: "lnum";
  line-height: 1.1;
}
.md-milestone__title {
  font-family: var(--ff-display);
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.25;
  margin-bottom: 4px;
}
.md-milestone__body {
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--mute);
  text-wrap: pretty;
  grid-column: 2;
}

.md-history__criteria {
  grid-column: 1 / -1;
  background: var(--cream);
  padding: 32px 36px;
}
.md-history__criteria-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.md-history__criteria-label::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}
.md-history__criteria-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px 36px;
}
.md-history__criteria-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid color-mix(in oklch, var(--line) 60%, transparent);
}
.md-history__criteria-num {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--burgundy);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* Accompaniment row on the explorer */
.acts-explorer__accompaniment {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in oklch, var(--line) 70%, transparent);
}
.acts-explorer__accompaniment-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 6px;
}
.acts-explorer__accompaniment-body {
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
}

@media (max-width: 900px) {
  .md-history { grid-template-columns: 1fr; gap: 40px; }
  .md-milestone { grid-template-columns: 80px 1fr; gap: 16px; }
  .md-milestone__body { grid-column: 1 / -1; padding-left: 0; }
}

/* ─── LA CAFETERA (Cursos i tallers — bloc principal) ─────────────────── */
.cafetera {
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.cafetera__hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.cafetera__eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.cafetera__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: currentColor;
}
.cafetera__title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  max-width: 18ch;
  font-weight: 500;
}
.cafetera__title em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 400;
}
.cafetera__intro {
  font-family: var(--ff-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 14px;
  max-width: 60ch;
  text-wrap: pretty;
}

/* Award (right column) */
.cafetera__award {
  background: var(--ink);
  color: var(--bone);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.cafetera__award::before {
  content: "★";
  position: absolute;
  top: -10px; right: -10px;
  font-size: 200px;
  line-height: 1;
  color: var(--gold);
  opacity: .08;
  pointer-events: none;
}
.cafetera__award-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}
.cafetera__award-year {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 52px;
  line-height: 1;
  color: var(--gold);
  font-feature-settings: "lnum";
  margin: 6px 0 4px;
}
.cafetera__award-title {
  font-family: var(--ff-display);
  font-size: 20px;
  line-height: 1.2;
  color: var(--bone);
  font-style: italic;
  margin-bottom: 8px;
}
.cafetera__award-body {
  font-family: var(--ff-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: color-mix(in oklch, var(--bone) 80%, var(--ink));
  margin: 0;
  text-wrap: pretty;
}

/* Shared label */
.cafetera__label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.cafetera__label::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}

/* Grid: objectives + audience */
.cafetera__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.cafetera__obj-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.cafetera__obj {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid color-mix(in oklch, var(--line) 60%, transparent);
  align-items: baseline;
}
.cafetera__obj-num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--burgundy);
  font-variant-numeric: tabular-nums;
}
.cafetera__obj-title {
  font-family: var(--ff-display);
  font-size: 18px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 6px;
}
.cafetera__obj-body {
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--mute);
  text-wrap: pretty;
}

.cafetera__audience-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.cafetera__audience-list li {
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in oklch, var(--line) 60%, transparent);
  font-family: var(--ff-display);
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 12px;
  line-height: 1.3;
}
.cafetera__audience-list li::before {
  content: "—";
  color: var(--burgundy);
  font-family: var(--ff-mono);
  font-size: 12px;
  flex-shrink: 0;
}

/* Evolution timeline */
.cafetera__evolution {
  background: var(--cream);
  padding: 36px 40px;
}
.cafetera__evo-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.cafetera__evo-list::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.cafetera__evo {
  position: relative;
  padding: 0 32px 0 0;
  padding-top: 18px;
}
.cafetera__evo::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bone);
  border: 2px solid var(--mute);
}
.cafetera__evo.is-current::before {
  background: var(--burgundy);
  border-color: var(--burgundy);
  box-shadow: 0 0 0 5px color-mix(in oklch, var(--burgundy) 20%, transparent);
}
.cafetera__evo-range {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 12px;
  padding-left: 22px;
  margin-top: -4px;
}
.cafetera__evo-title {
  font-family: var(--ff-display);
  font-size: 19px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 6px;
}
.cafetera__evo.is-current .cafetera__evo-title {
  color: var(--burgundy);
}
.cafetera__evo-body {
  font-family: var(--ff-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--mute);
  text-wrap: pretty;
}

/* Other courses header (above existing carousel) */
.cafetera__other-head {
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cafetera__other-title {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.cafetera__other-sub {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--mute);
}

@media (max-width: 900px) {
  .cafetera__hero { grid-template-columns: 1fr; gap: 32px; }
  .cafetera__grid { grid-template-columns: 1fr; gap: 32px; }
  .cafetera__evo-list { grid-template-columns: 1fr; }
  .cafetera__evo-list::before { display: none; }
  .cafetera__evo { padding: 18px 0 18px 28px; }
  .cafetera__evo::before { top: 24px; }
  .cafetera__evo-range { padding-left: 0; }
}

/* ─── HORIZONTAL carousel (formació / projectes singulars) ──────────────── */
.acts-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--burgundy) transparent;
  padding-bottom: 16px;
}
.acts-carousel::-webkit-scrollbar { height: 6px; }
.acts-carousel::-webkit-scrollbar-track { background: var(--line); }
.acts-carousel::-webkit-scrollbar-thumb { background: var(--burgundy); border-radius: 4px; }
.acts-carousel__card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 320px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.acts-carousel__card:hover {
  border-color: var(--burgundy);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.14);
}
.acts-carousel__num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--burgundy);
}
.acts-carousel__title {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.005em;
}
.acts-carousel__title em { font-style: italic; color: var(--burgundy); font-weight: 400; }
.acts-carousel__sub {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}
.acts-carousel__desc {
  font-family: var(--ff-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--mute);
  flex: 1;
}
.acts-carousel__foot {
  margin-top: auto;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--burgundy);
}

/* ─── EXPLORER (MercèDansa, Premi) — extends sobre.css era-* ─────────────
   We reuse .era-rail, .era-chip, .era-stage, .era-controls, but add an
   "acts-explorer" wrapper for context-specific tweaks.
   ─────────────────────────────────────────────────────────────────────── */
.acts-explorer { margin-top: 0; }
.acts-explorer .era-rail { background: var(--paper); }
.acts-explorer .era-chip { min-width: 168px; }
.acts-explorer .era-chip__range { font-size: 22px; }
.acts-explorer .era-chip__kicker { font-size: 11px; }

.acts-explorer .era-stage {
  margin-top: 40px;
  padding: 32px 0 16px;
  min-height: 360px;
}
.acts-explorer .era-stage__inner { grid-template-columns: 240px 1fr; gap: 56px; }
.acts-explorer .era-stage__meta { position: static; padding-bottom: 0; border-right: 1px solid var(--line); }
.acts-explorer .era-stage__bgyear { display: none; }
.acts-explorer .era-stage__title { margin-bottom: 18px; font-size: clamp(24px, 2.2vw, 30px); }
.acts-explorer .era-stage__lead { font-size: 17px; margin-bottom: 22px; }
.acts-explorer .era-stage__p { font-size: 15.5px; }

.acts-explorer__dances {
  list-style: none;
  padding: 24px 0 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.acts-explorer__dance {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in oklch, var(--line) 60%, transparent);
  font-family: var(--ff-ui);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.35;
}
.acts-explorer__dance:nth-child(odd) { padding-right: 32px; }
.acts-explorer__dance:nth-child(even) { padding-left: 32px; border-left: 1px solid color-mix(in oklch, var(--line) 60%, transparent); }
.acts-explorer__dance-num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--burgundy);
  font-variant-numeric: tabular-nums;
}
.acts-explorer__dance-name {
  font-family: var(--ff-display);
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.25;
}
.acts-explorer__dance-town {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}

.era-stage__meta-stats {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}
.era-stage__meta-stats b {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  color: var(--burgundy);
  margin-right: 8px;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 900px) {
  .acts-explorer__dances { grid-template-columns: 1fr; }
  .acts-explorer__dance:nth-child(odd),
  .acts-explorer__dance:nth-child(even) { padding-left: 0; padding-right: 0; border-left: 0; }
  .acts-explorer__dance { grid-template-columns: 28px 1fr; }
  .acts-explorer__dance-town { grid-column: 2; font-size: 11px; }
}

@media (max-width: 900px) {
  .acts-explorer .era-stage__inner { grid-template-columns: 1fr; gap: 24px; }
  .acts-explorer .era-stage__meta { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; flex-direction: row; gap: 20px; align-items: baseline; }
}

/* ─── CONTRACT CTA banner (within Espectacles row) ──────────────────────── */
.acts-contract {
  margin-top: 64px;
  background: var(--burgundy-ink);
  color: #fff;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.acts-contract::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(199,154,58,.16), transparent 50%);
  pointer-events: none;
}
.acts-contract > * { position: relative; z-index: 1; }
.acts-contract h4 {
  font-family: var(--ff-display);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff;
  max-width: 24ch;
}
.acts-contract h4 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.acts-contract p {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255,255,255,.78);
  max-width: 56ch;
}
.acts-contract .acts-contract__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--gold);
  color: var(--burgundy-ink);
  padding: 18px 32px;
  font-family: var(--ff-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  transition: gap .25s, background .25s;
  white-space: nowrap;
}
.acts-contract .acts-contract__cta:hover { gap: 22px; background: var(--gold-soft); }
@media (max-width: 800px) {
  .acts-contract { grid-template-columns: 1fr; padding: 36px; gap: 24px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   PREMI RAFEL TUDÓ — context + edition explorer
   ═══════════════════════════════════════════════════════════════════════════ */

.premi-context {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px 72px;
  padding: 12px 0 48px;
  margin-bottom: 8px;
  align-items: start;
}
.premi-context__intro { max-width: 64ch; }
.premi-context__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 22px;
}
.premi-context__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: currentColor;
}
.premi-context__title {
  font-family: var(--ff-display);
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 28px;
  font-weight: 500;
  text-wrap: balance;
}
.premi-context__title em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 400;
}
.premi-context__text {
  font-family: var(--ff-body);
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.premi-context__text em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 500;
}

/* Right-column "facts" stat strip */
.premi-context__facts {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 6px;
}
.premi-fact {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: baseline;
  padding: 18px 0;
  gap: 24px;
  border-bottom: 1px dashed color-mix(in oklch, var(--line) 70%, transparent);
}
.premi-fact:last-child { border-bottom: 0; }
.premi-fact__label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
}
.premi-fact__val {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.premi-fact__val em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 400;
}

/* Categories list (full width below) */
.premi-context__categories {
  grid-column: 1 / -1;
  padding-top: 12px;
}
.premi-context__categories-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.premi-context__categories-label::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}
.premi-context__categories-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.premi-context__categories-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 18px;
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  border-right: 1px solid color-mix(in oklch, var(--line) 70%, transparent);
  letter-spacing: -0.005em;
}
.premi-context__categories-list li:last-child { border-right: 0; }
.premi-context__categories-num {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--burgundy);
  font-weight: 500;
}

/* "Què premia" box */
.premi-context__award {
  grid-column: 1 / -1;
  background: var(--cream);
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}
.premi-context__award-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.premi-context__award-label::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}
.premi-context__award-body {
  font-family: var(--ff-display);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.4;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin: 0;
  max-width: 60ch;
  text-wrap: pretty;
}

@media (max-width: 1000px) {
  .premi-context { grid-template-columns: 1fr; gap: 40px; }
  .premi-context__categories-list { grid-template-columns: repeat(2, 1fr); }
  .premi-context__categories-list li { border-right: 0; border-bottom: 1px solid color-mix(in oklch, var(--line) 70%, transparent); }
  .premi-context__categories-list li:nth-child(odd) { border-right: 1px solid color-mix(in oklch, var(--line) 70%, transparent); }
  .premi-context__award { grid-template-columns: 1fr; gap: 18px; padding: 28px; }
}

/* ─── Explorer tweaks ──────────────────────────────────────────────────── */
.acts-explorer--premi { margin-top: 24px; }

.era-chip--premi.is-deserted .era-chip__range,
.era-chip--premi.is-deserted .era-chip__kicker {
  color: var(--mute);
  opacity: .85;
}
.era-chip--premi.is-deserted::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  top: 50%;
  height: 1px;
  background: var(--mute);
  opacity: .55;
  pointer-events: none;
}
.era-chip--premi { position: relative; }
.era-chip--premi.is-pending .era-chip__kicker::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--burgundy);
  margin-left: 8px;
  vertical-align: middle;
  animation: premiPulse 2.4s ease-in-out infinite;
}
@keyframes premiPulse {
  0%, 100% { opacity: .35; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

/* Meta column — large roman watermark */
.acts-explorer--premi .era-stage__meta {
  position: relative;
  overflow: visible;
}
.premi-numeral {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(72px, 9vw, 132px);
  line-height: 0.9;
  color: var(--burgundy);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  display: block;
}
.premi-edition__year {
  font-family: var(--ff-mono);
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--ink);
  margin-top: 10px;
}
.premi-edition__year em {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.premi-edition__eyebrow {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 8px;
}

/* Body — title row */
.premi-edition__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  margin: 0 0 36px;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.premi-edition__heading-num {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 400;
}
.premi-edition__heading-text { color: var(--ink); }
.premi-edition__heading-year {
  font-family: var(--ff-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: .04em;
}

/* Author */
.premi-edition__field-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.premi-edition__field-label::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
}
.premi-edition__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}
.premi-edition__author-name {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}

/* Work */
.premi-edition__work {
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
}
.premi-edition__work-title {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
  color: var(--ink);
  font-weight: 400;
  margin: 0;
  padding: 0;
  border: 0;
  position: relative;
  text-wrap: pretty;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 8px;
  align-items: start;
}
.premi-edition__quote-mark {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 64px;
  line-height: 0.6;
  color: var(--burgundy);
  font-weight: 400;
  margin-top: 12px;
  display: inline-block;
}
.premi-edition__quote-mark--sm { font-size: 32px; margin-top: 4px; }
.premi-edition__work-pub {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed color-mix(in oklch, var(--line) 75%, transparent);
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--mute);
}
.premi-edition__work-pub-key {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--burgundy);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Accèssit */
.premi-edition__accessit {
  margin-top: 32px;
  padding: 24px 28px;
  background: color-mix(in oklch, var(--cream) 75%, transparent);
  border-left: 2px solid var(--burgundy);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.premi-edition__accessit-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}
.premi-edition__accessit-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.premi-edition__accessit-sep {
  flex: 1;
  height: 1px;
  background: color-mix(in oklch, var(--burgundy) 35%, transparent);
}
.premi-edition__accessit-author {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.premi-edition__accessit-work {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 6px;
  align-items: start;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
  text-wrap: pretty;
  margin-top: 4px;
}
.premi-edition__accessit-pub {
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--mute);
  margin-top: 6px;
}

/* Empty states (declarat desert / pendent) */
.premi-edition__empty {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 32px;
  background: var(--cream);
  border: 1px solid var(--line);
  min-height: 200px;
  justify-content: center;
}
.premi-edition__empty--deserted { color: var(--mute); }
.premi-edition__empty--pending { border-color: color-mix(in oklch, var(--burgundy) 25%, transparent); }
.premi-edition__empty-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--burgundy);
  align-self: flex-start;
  padding: 8px 14px;
  border: 1px solid color-mix(in oklch, var(--burgundy) 35%, transparent);
  background: #fff;
}
.premi-edition__empty--deserted .premi-edition__empty-tag {
  color: var(--mute);
  border-color: color-mix(in oklch, var(--mute) 35%, transparent);
}
.premi-edition__empty-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--burgundy);
  animation: premiPulse 2.4s ease-in-out infinite;
}
.premi-edition__empty-body {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
  font-weight: 400;
}
.premi-edition__empty--deserted .premi-edition__empty-body { color: var(--mute); }

@media (max-width: 900px) {
  .premi-edition__heading { font-size: 22px; }
  .premi-numeral { font-size: 72px; }
  .premi-edition__work-title { grid-template-columns: 28px 1fr; font-size: 22px; }
  .premi-edition__quote-mark { font-size: 44px; margin-top: 8px; }
  .premi-edition__accessit { padding: 20px 22px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO — editorial sober (mirror Sobre l'Esbart)
   ═══════════════════════════════════════════════════════════════════════════ */
.acts-hero--editorial {
  position: relative;
  background: var(--cream);
  padding: 200px 0 160px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.acts-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top right, color-mix(in oklch, var(--burgundy) 8%, transparent), transparent 55%),
    radial-gradient(ellipse at bottom left, color-mix(in oklch, var(--burgundy) 4%, transparent), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Cavallets line-art silhouette — mirrors .hero-dancers-host from Sobre */
.hero-cavallet-host {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  height: 92%;
  max-height: 760px;
  width: auto;
  aspect-ratio: 1 / 1;
  color: var(--burgundy);
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-cavallet-host svg.hero-cavallet {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-cavallet-host svg.hero-cavallet path,
.hero-cavallet-host svg.hero-cavallet polygon,
.hero-cavallet-host svg.hero-cavallet polyline,
.hero-cavallet-host svg.hero-cavallet line,
.hero-cavallet-host svg.hero-cavallet rect,
.hero-cavallet-host svg.hero-cavallet circle,
.hero-cavallet-host svg.hero-cavallet ellipse {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2 !important;
  vector-effect: non-scaling-stroke;
}
@keyframes heroDraw {
  to { stroke-dashoffset: 0; }
}
@media (max-width: 980px) {
  .hero-cavallet-host { opacity: 0.18; right: -180px; height: 86%; }
}
.acts-hero--editorial .wrap { position: relative; z-index: 2; }

.acts-hero__eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 36px;
  display: flex; align-items: center; gap: 16px;
}
.acts-hero__eyebrow::before {
  content: ""; width: 48px; height: 1px;
  background: currentColor;
}

.acts-hero__title {
  font-family: var(--ff-display);
  font-size: clamp(48px, 7.5vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 0 0 32px;
  max-width: 18ch;
  text-wrap: balance;
  color: var(--ink);
}
.acts-hero__title em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 400;
}

.acts-hero__lead {
  font-family: var(--ff-body);
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 56ch;
  margin: 0 0 64px;
  text-wrap: pretty;
}

.acts-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}
.acts-hero__meta-item {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.acts-hero__meta-item:last-child { border-right: none; }
.acts-hero__meta-num {
  font-family: var(--ff-display);
  font-size: clamp(36px, 3.4vw, 52px);
  font-weight: 500;
  font-style: italic;
  color: var(--burgundy);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.acts-hero__meta-label {
  font-family: var(--ff-ui);
  font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  line-height: 1.4;
}

.acts-hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-family: var(--ff-ui); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--mute);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 3;
}
@media (max-width: 980px) { .acts-hero__scroll { display: none; } }
.acts-hero__scroll::after {
  content: ""; width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--mute), transparent);
}

@media (max-width: 980px) {
  .acts-hero--editorial { padding: 150px 0 100px; min-height: auto; }
  .acts-hero__ornament { right: -260px; opacity: 0.3; }
  .acts-hero__meta { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .acts-hero__meta-item { padding-right: 14px; }
}
@media (max-width: 640px) {
  .acts-hero__meta { grid-template-columns: 1fr; }
  .acts-hero__meta-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 20px; }
  .acts-hero__meta-item:last-child { border-bottom: 0; }
}

/* Compact timeline (when embedded inside Agenda accordion section) */
.acts-timeline--compact {
  padding: 0;
  background: transparent;
  border-bottom: 0;
}
.acts-timeline--compact .acts-timeline__meta--compact {
  max-width: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.acts-timeline--compact .acts-timeline__track {
  /* track inherits its own styles */
}

/* ═══════════════════════════════════════════════════════════════════════════
   COLOR INTENSITY — burgundy presence pass
   Adds richer contrast to format lists, repertoire items, sub-section
   headers and accent rules — without flooding the page with red.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── act-block headers: burgundy accent rule under titles ────────────── */
.act-block__head { position: relative; }
.act-block__title {
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}
.act-block__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 2px;
  background: var(--burgundy);
}
.act-block__sub {
  font-style: italic;
  color: color-mix(in oklch, var(--ink) 88%, var(--burgundy));
}

/* ─── acts-type cards: top-edge burgundy strip + richer header ────────── */
.acts-type {
  position: relative;
  background: linear-gradient(180deg,
    color-mix(in oklch, var(--burgundy) 4%, var(--cream)) 0%,
    var(--cream) 38%);
  border-top: 3px solid var(--burgundy);
  padding-top: 36px !important;
}
.acts-type::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 3px;
  background: var(--gold);
}
.acts-type__head {
  border-bottom: 1px solid color-mix(in oklch, var(--burgundy) 22%, var(--line)) !important;
  padding-bottom: 22px !important;
}
.acts-type__num {
  font-family: var(--ff-display) !important;
  font-style: italic;
  font-size: clamp(36px, 3.6vw, 52px) !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  color: var(--burgundy);
  font-weight: 400;
  line-height: 1;
}

/* ─── Format list: bigger burgundy numerals + hover wash ──────────────── */
.acts-type__format {
  position: relative;
  padding: 18px 18px 18px 22px !important;
  border-top: 1px solid color-mix(in oklch, var(--line) 60%, transparent);
  border-radius: 2px;
  transition: background .25s ease, border-color .25s ease;
}
.acts-type__format::before {
  content: "";
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 2px;
  background: color-mix(in oklch, var(--burgundy) 25%, transparent);
  transition: background .25s ease, width .25s ease;
}
.acts-type__format:hover {
  background: color-mix(in oklch, var(--burgundy) 5%, transparent);
}
.acts-type__format:hover::before {
  background: var(--burgundy);
  width: 3px;
}
.acts-type__format-head {
  align-items: baseline !important;
  gap: 18px !important;
}
.acts-type__format-num {
  font-family: var(--ff-display) !important;
  font-style: italic !important;
  font-size: 32px !important;
  letter-spacing: -0.01em !important;
  color: var(--burgundy);
  opacity: 1;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.acts-type__format-title {
  color: var(--ink);
  font-weight: 500;
}
.acts-type__format-meta {
  color: var(--burgundy) !important;
  opacity: .85;
}

/* ─── Repertoire: bullet dot + hover wash ─────────────────────────────── */
.acts-type__rep-item {
  position: relative;
  padding-left: 18px !important;
  transition: padding-left .25s ease;
}
.acts-type__rep-item::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--burgundy);
  opacity: .55;
  transition: opacity .25s ease, transform .25s ease;
}
.acts-type__rep-item:hover {
  padding-left: 24px !important;
}
.acts-type__rep-item:hover::before {
  opacity: 1;
  transform: scale(1.3);
}

/* ─── acts-type__label: stronger burgundy ────────────────────────────── */
.acts-type__label {
  color: var(--burgundy) !important;
  font-weight: 600;
}

/* ─── PREMI context — categories list stronger contrast ──────────────── */
.premi-context__categories-list {
  border-top-color: color-mix(in oklch, var(--burgundy) 18%, var(--line)) !important;
  border-bottom-color: color-mix(in oklch, var(--burgundy) 18%, var(--line)) !important;
}
.premi-context__categories-list li {
  position: relative;
  transition: background .25s ease;
}
.premi-context__categories-list li:hover {
  background: color-mix(in oklch, var(--burgundy) 5%, transparent);
}
.premi-context__categories-list li::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 0;
  height: 2px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.premi-context__categories-list li:hover::after { transform: scaleX(1); }

/* ─── CAFETERA evolution: richer current-state ────────────────────────── */
.cafetera__evo {
  position: relative;
  transition: background .25s ease;
}
.cafetera__evo.is-current {
  background: linear-gradient(180deg,
    color-mix(in oklch, var(--burgundy) 6%, transparent),
    transparent) !important;
}

/* ─── PREMI__facts: alternating bg for rhythm ─────────────────────────── */
.premi-fact:hover {
  background: color-mix(in oklch, var(--burgundy) 4%, transparent);
}

/* ─── Accordion row headers: stronger burgundy on hover/open ──────────── */
.act-row__num {
  color: var(--burgundy) !important;
}
.act-row.is-open .act-row__header {
  background: linear-gradient(90deg,
    color-mix(in oklch, var(--burgundy) 7%, transparent),
    transparent 60%);
}

/* ─── Cafetera objectives: small burgundy chip number ─────────────────── */
.cafetera__obj {
  position: relative;
  transition: transform .25s ease, background .25s ease;
}
.cafetera__obj::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: var(--burgundy);
  opacity: 0;
  transform: scaleY(.4);
  transform-origin: top;
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.cafetera__obj:hover {
  background: color-mix(in oklch, var(--burgundy) 4%, transparent);
  transform: translateX(4px);
}
.cafetera__obj:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

/* ─── MD-history milestones: richer year ──────────────────────────────── */
.md-milestone__year {
  color: var(--burgundy) !important;
}
.md-milestone {
  position: relative;
  transition: background .25s ease;
}
.md-milestone:hover {
  background: color-mix(in oklch, var(--burgundy) 4%, transparent);
}

/* ─── Buttons (btn ghost) — stronger burgundy presence ────────────────── */
.btn.ghost {
  border-color: color-mix(in oklch, var(--burgundy) 35%, transparent) !important;
  color: var(--burgundy);
}
.btn.ghost:hover {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy) !important;
}

/* Scroll-hint arrows (replaces "ARROSSEGA · RODA · LLISCA") */
.acts-timeline__scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--burgundy);
  opacity: .8;
}
.acts-timeline__scroll-hint svg {
  display: block;
  animation: actsScrollHintL 1.8s ease-in-out infinite;
}
.acts-timeline__scroll-hint svg:last-child {
  animation-name: actsScrollHintR;
}
@keyframes actsScrollHintL {
  0%, 100% { transform: translateX(0); opacity: .55; }
  50%      { transform: translateX(-4px); opacity: 1; }
}
@keyframes actsScrollHintR {
  0%, 100% { transform: translateX(0); opacity: .55; }
  50%      { transform: translateX(4px); opacity: 1; }
}
