/* ═══════════════════════════════════════════════════════════════════════════
   home.css — page-specific styles for Home.
   Uses tokens from shared/styles.css (--burgundy, --ink, --cream, etc.)
   ═══════════════════════════════════════════════════════════════════════════ */

/* GSAP pre-hidden states */
.k-title { opacity: 0; }
.k-title.is-ready { opacity: 1; }
.hero-scroll { opacity: 0; }

/* ─── Hero (base, shared with kinetic variant) ─────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; color: #fff; overflow: hidden;
  display: flex; align-items: flex-end;
  padding-bottom: 72px; padding-top: 120px;
  background: #0d0608;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/hero-jump.webp');
  background-size: cover;
  background-position: center 30%;
  filter: saturate(.9);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(26,6,8,.75) 0%, rgba(42,11,17,.55) 45%, rgba(13,6,8,.85) 100%),
    radial-gradient(ellipse at 20% 30%, rgba(166,61,77,.35), transparent 55%);
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.6'/></svg>");
}
.hero-ornament {
  position: absolute; right: -80px; top: 20%; width: 520px; height: 520px;
  border-radius: 50%;
  background: conic-gradient(from 10deg, rgba(199,154,58,.18), transparent 40%, rgba(166,61,77,.25), transparent 70%, rgba(199,154,58,.12));
  filter: blur(30px);
  animation: floatY 9s ease-in-out infinite;
}
.hero-scroll {
  position: absolute; right: 40px; bottom: 40px; color: rgba(255,255,255,.6);
  font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: flex; align-items: center; gap: 14px; z-index: 2;
}
.hero-scroll::after { content: ""; width: 1px; height: 60px; background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent); animation: floatY 2s ease-in-out infinite; }
@media (max-width: 700px) { .hero-scroll { display: none; } }

/* El lema #SOMDELCATALA: el segon element del hero després del títol. Va dins
   del bloc central, sota els botons, i es veu a tots els tamanys (abans era una
   línia vertical de 15 px que desapareixia sota 980 px). Les lletres les parteix
   i anima animations-v3.js. */
.hero-hashtag {
  position: relative; margin-top: clamp(30px, 5.5vh, 60px); opacity: 0;
  font-family: 'Inter', sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: clamp(20px, 7.2vw, 62px); line-height: 1; letter-spacing: .34em;
  white-space: nowrap; text-align: center; color: #fff;
  /* el track final inclou un espai de més a la dreta: es compensa per centrar de debò */
  padding-left: .34em;
  text-shadow: 0 2px 22px rgba(0,0,0,.55), 0 0 40px rgba(199,58,78,.28);
}
@media (max-width: 700px) { .hero-hashtag { letter-spacing: .2em; padding-left: .2em; } }
.hero-hashtag .k-hchar { display: inline-block; will-change: transform, opacity, filter; }
.hero-hashtag .is-hash { color: #e0485f; }
/* Un cop assentat, la llum respira molt a poc a poc: que sigui viu sense reclamar atenció. */
.hero-hashtag.is-settled { animation: hashtagRespira 7s ease-in-out infinite; }
@keyframes hashtagRespira {
  0%, 100% { text-shadow: 0 2px 22px rgba(0,0,0,.55), 0 0 40px rgba(199,58,78,.28); }
  50%      { text-shadow: 0 2px 22px rgba(0,0,0,.55), 0 0 56px rgba(224,72,95,.55); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-hashtag { opacity: 1 !important; }
  .hero-hashtag.is-settled { animation: none; }
}

/* ─── Kinetic hero ──────────────────────────────────────────────────────────── */
.hero.kinetic .hero-bg { filter: saturate(.75) brightness(.55); }
/* Teló de vellut (hero-telo.js): quan el canvas WebGL funciona, ell fa la capa
   fosca i la de CSS se'n va; sense WebGL no hi ha classe i es queda la de sempre. */
.hero.kinetic.telo-on .hero-bg { filter: saturate(.85) brightness(.85); }
.hero.kinetic.telo-on .hero-bg::after { display: none; }
.hero.kinetic .hero-bg::after {
  background:
    linear-gradient(180deg, rgba(13,6,8,.78) 0%, rgba(13,6,8,.55) 45%, rgba(13,6,8,.92) 100%),
    radial-gradient(ellipse at 30% 40%, rgba(166,61,77,.35), transparent 60%);
}
.hero.kinetic .hero-ornament { opacity: .35; }


.k-type {
  position: absolute; inset: 0;
  display: grid; align-content: center; justify-content: center;
  z-index: 3; pointer-events: none; transform-style: preserve-3d; overflow: hidden;
}
.k-type-line {
  font-family: 'Playfair Display', serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(5rem, 16vh, 14rem); line-height: .85;
  color: #fff; opacity: 0.04; white-space: nowrap; user-select: none;
  will-change: transform, opacity; text-align: center; letter-spacing: -.01em;
}
.k-type-line.odd { z-index: 50; }
.k-type-line.even { z-index: 150; color: #f5d5a6; }

.k-stage {
  position: relative; z-index: 10; width: 100%;
  display: flex; flex-direction: column; align-items: center; padding: 0 20px;
}
.k-title { display: flex; flex-direction: column; align-items: center; gap: clamp(2px, .4vh, 10px); margin: 0 0 36px; }
.k-row {
  position: relative; display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 500;
  font-size: clamp(48px, 10vw, 158px); line-height: .9;
  letter-spacing: -.02em; color: #fff; text-transform: none; overflow: visible;
}
.k-row.italic { font-style: italic; color: #f5d5a6; font-weight: 400; }
.k-row .k-char { display: inline-block; position: relative; will-change: transform, opacity, filter; backface-visibility: hidden; }
.k-row .k-char.space { width: .3em; }

.k-eyebrow {
  font-family: 'Inter', sans-serif; font-size: 12px;
  letter-spacing: .34em; text-transform: uppercase; color: #f5d5a6;
  margin-bottom: 28px; display: inline-flex; align-items: center; gap: 14px; opacity: 0;
}
.k-eyebrow::before, .k-eyebrow::after { content: ""; width: 40px; height: 1px; background: currentColor; }

.k-tag {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(18px, 2vw, 26px); color: rgba(255,255,255,.88);
  max-width: 560px; text-align: center; line-height: 1.35; margin: 0 0 32px; opacity: 0;
}
.k-meta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: center; opacity: 0; }
.k-stats { display: flex; gap: 32px; color: rgba(255,255,255,.75); font-family: 'Inter', sans-serif; margin-left: 8px; }
.k-stats b { display: block; font-family: 'Playfair Display', serif; font-size: 26px; color: #fff; font-weight: 600; line-height: 1; margin-bottom: 4px; }
.k-stats span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
@media (max-width: 700px) { .k-stats { gap: 18px; margin-left: 0; width: 100%; justify-content: center; margin-top: 12px; } }

.hero.kinetic { align-items: center; justify-content: center; padding-top: 90px; padding-bottom: 90px; }

/* ─── Que el hero càpiga a la pantalla que es veu ──────────────────────────────
   El hero es dissenyava per a l'alçada de 100vh, però a Safari de l'iPhone 100vh
   és la pantalla SENSE barres (844 px) i qui mira només en veu uns 664: el lema
   #SOMDELCATALA quedava 53 px per sota de la vora i l'animació passava fora de
   pantalla. Mesurat en 13 mides: fallava a 8, també a portàtils de 650 i 720 px.
   Ara el hero mesura l'alçada visible (svh) i el ritme vertical s'estreny només
   quan cal; els escriptoris alts es queden exactament com eren. */

/* Escriptori i tauleta baixos: el títol creix amb l'ample però no pot menjar-se l'alçada. */
@media (min-width: 701px) and (max-height: 820px) {
  .hero.kinetic { padding-top: 76px; padding-bottom: 28px; }
  .k-row { font-size: clamp(56px, min(10vw, 14.6svh), 158px); }
  .k-title { margin-bottom: clamp(14px, 3svh, 28px); }
  .k-eyebrow { margin-bottom: clamp(12px, 2.4svh, 24px); }
  .k-tag { font-size: clamp(16px, min(2vw, 2.9svh), 26px); margin-bottom: clamp(14px, 2.6svh, 28px); }
  .hero-hashtag { margin-top: clamp(14px, 3svh, 40px); }
}

/* Mòbil: tot el que hi ha al hero cap a l'alçada visible d'un iPhone amb barres (~664 px). */
@media (max-width: 700px) {
  .hero.kinetic { padding-top: 84px; padding-bottom: 22px; }
  .k-eyebrow { font-size: 11px; letter-spacing: .2em; gap: 10px; margin-bottom: 14px; }
  .k-eyebrow::before, .k-eyebrow::after { width: 22px; }
  .k-row { font-size: clamp(38px, min(12.4vw, 7.2svh), 64px); }
  .k-title { margin-bottom: clamp(12px, 2.5svh, 26px); }
  .k-tag { font-size: clamp(14px, 4.2vw, 17px); line-height: 1.3; max-width: 330px; margin-bottom: clamp(12px, 2.5svh, 24px); }
  .k-meta { gap: clamp(8px, 1.6svh, 16px); }
  .k-meta .btn { padding: 13px 26px; margin: 0; }
  /* «118 anys ballant» passa a una sola línia: en columna ocupava 62 px per una xifra. */
  .k-stats { margin-top: clamp(2px, 1svh, 12px); }
  .k-stats > div { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
  .k-stats b { display: inline; font-size: 22px; margin: 0; }
  .hero-hashtag { margin-top: clamp(14px, 3.4svh, 32px); }
}
/* Pantalles molt baixes (iPhone SE, Android petits): un esglaó més. */
@media (max-width: 700px) and (max-height: 620px) {
  .hero.kinetic { padding-top: 72px; padding-bottom: 14px; }
  .k-eyebrow { margin-bottom: 10px; }
  .k-title { margin-bottom: 10px; }
  .k-tag { font-size: 13.5px; line-height: 1.28; margin-bottom: 10px; }
  .k-meta .btn { padding: 11px 22px; font-size: 11px; }
  .k-stats b { font-size: 19px; }
}
.hero.kinetic .hero-inner-kinetic {
  position: relative; z-index: 10; width: 100%;
  display: flex; flex-direction: column; align-items: center;
}

/* ─── Events ────────────────────────────────────────────────────────────────── */
.events { background: var(--cream); position: relative; }
.events::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
/* Llistat de temporada, no graella de targetes. Amb dos actes —el cas
   habitual— la graella deixava una fitxa de 950 px d'ample i 360 px d'alt per
   sostenir un títol de 24 px, i el número del dia, a 64 px, pesava més que el
   nom de l'espectacle. Les files creixen amb el contingut i funcionen igual
   amb un acte que amb sis. */
.agenda-list { background: var(--paper); border: 1px solid var(--line); }
.agenda-row {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 250px) 44px;
  align-items: center; gap: 36px;
  padding: 30px 40px; position: relative;
  color: inherit; text-decoration: none;
  transition: background-color .35s ease;
}
.agenda-row + .agenda-row { border-top: 1px solid var(--line); }
/* El filet d'accent va en un pseudo-element: si fos una vora de debò, en
   passar-hi per sobre desplaçaria els 3 px tot el contingut de la fila. */
.agenda-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--burgundy); transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.agenda-row:hover, .agenda-row:focus-visible { background: #FBF7F2; }
.agenda-row:hover::before, .agenda-row:focus-visible::before,
.agenda-row.is-featured::before { transform: scaleX(1); }
.agenda-row:focus-visible { outline: 2px solid var(--burgundy); outline-offset: -3px; }

.agenda-row__dow {
  display: block; margin-bottom: 6px;
  font-family: var(--ff-ui); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--mute);
}
.agenda-row__day {
  display: block; font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(40px, 3.1vw, 50px); line-height: .92;
  letter-spacing: -0.03em; color: var(--burgundy);
}
.agenda-row__my {
  display: block; margin-top: 8px;
  font-family: var(--ff-ui); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--mute);
}
/* L'etiqueta va en granata per no confondre's amb el mes, que té la mateixa
   mida i el mateix traçat: dues línies grises seguides es llegien com una. */
.agenda-row__tag {
  display: block; font-family: var(--ff-ui); font-size: 11px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--burgundy);
}
.agenda-row__title {
  margin: 10px 0 0; font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(24px, 2vw, 30px); line-height: 1.18; color: var(--ink);
  transition: color .3s ease;
}
.agenda-row:hover .agenda-row__title,
.agenda-row:focus-visible .agenda-row__title { color: var(--burgundy); }
/* El lloc i l'hora tenen columna pròpia: alineats a la dreta omplen l'amplada
   de la fila, que amb només data i títol es quedava buida de la meitat enllà.
   Sense icones, a més: els emojis de xinxeta i de rellotge els dibuixa el
   sistema operatiu amb la seva paleta i canvien d'aspecte a cada aparell. */
.agenda-row__where {
  text-align: right; font-family: var(--ff-ui);
  font-size: 13px; line-height: 1.6; color: var(--mute);
}
.agenda-row__place { display: block; color: var(--ink); }
.agenda-row__time { display: block; }
.agenda-row__go {
  justify-self: end; width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(139,35,50,.12); color: var(--burgundy); font-size: 18px;
  transition: background-color var(--dur-base) ease, color var(--dur-base) ease;
}
/* El cercle és un control: només canvia de farciment, no es mou (M1). */
.agenda-row:hover .agenda-row__go,
.agenda-row:focus-visible .agenda-row__go {
  background: var(--burgundy); color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .agenda-row, .agenda-row::before, .agenda-row__title, .agenda-row__go { transition: none; }
}
/* Per sota dels 1080 px la columna del lloc ja no hi cap al costat del títol:
   passa a sota, alineada a l'esquerra amb la resta del text. */
@media (max-width: 1080px) {
  .agenda-row { grid-template-columns: 130px minmax(0, 1fr) 44px; gap: 10px 28px; }
  .agenda-row__date { grid-column: 1; grid-row: 1 / 3; }
  .agenda-row__body { grid-column: 2; grid-row: 1; }
  .agenda-row__where { grid-column: 2; grid-row: 2; text-align: left; }
  .agenda-row__go { grid-column: 3; grid-row: 1 / 3; }
  .agenda-row__place, .agenda-row__time { display: inline; }
  .agenda-row__time::before { content: " · "; }
}
@media (max-width: 640px) {
  .agenda-row { grid-template-columns: minmax(0, 1fr) 44px; gap: 8px 16px; padding: 24px 22px; }
  .agenda-row__body { grid-column: 1; grid-row: 2; }
  .agenda-row__where { grid-column: 1; grid-row: 3; }
  .agenda-row__go { grid-column: 2; grid-row: 1 / 4; }
  /* El número no s'encaixa entre el dia de la setmana i el mes: es queda a
     l'esquerra i els dos textos petits s'apilen al seu costat. */
  .agenda-row__date {
    grid-column: 1; grid-row: 1;
    display: grid; grid-template-columns: auto 1fr;
    column-gap: 12px; align-items: center;
  }
  .agenda-row__day { grid-column: 1; grid-row: 1 / 3; font-size: 30px; }
  .agenda-row__dow { grid-column: 2; grid-row: 1; margin-bottom: 2px; align-self: end; }
  .agenda-row__my { grid-column: 2; grid-row: 2; margin-top: 0; align-self: start; }
  .agenda-row__title { font-size: 22px; margin-top: 8px; }
}

/* ─── Gallery (marquee) ─────────────────────────────────────────────────────── */
.gallery { padding: 120px 0; background: #fff; overflow: hidden; }
.marquee-row { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.marquee-row:hover { animation-play-state: paused; }
.gallery-item { flex: 0 0 auto; width: 360px; height: 480px; position: relative; }

/* ─── Who ───────────────────────────────────────────────────────────────────── */
.who { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.who::before {
  content: "1908"; position: absolute; right: -40px; bottom: -80px;
  font-family: 'Playfair Display', serif; font-weight: 800;
  font-size: clamp(280px, 40vw, 560px); color: rgba(166,61,77,.12);
  letter-spacing: -0.05em; line-height: 1; pointer-events: none;
}
.who-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .who-inner { grid-template-columns: 1fr; gap: 48px; } }
.who h2 { font-size: clamp(40px, 5.5vw, 72px); line-height: 1.02; margin-bottom: 28px; }
.who h2 em { font-style: italic; color: #f5d5a6; font-weight: 400; }
.who p { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.8); margin: 0 0 18px; max-width: 540px; font-family: 'Lora', serif; }
.who-activities { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); margin-top: 40px; }
@media (max-width: 540px) { .who-activities { grid-template-columns: 1fr; } }
.who-activities .item { padding: 22px 24px; background: var(--ink); display:flex; gap:14px; align-items: flex-start; }
.who-activities .item .num { font-family:'Playfair Display',serif; font-style: italic; color: var(--burgundy-light); font-size: 14px; font-weight: 500; min-width: 26px; }
.who-activities .item .t { font-family:'Playfair Display',serif; font-size: 17px; line-height: 1.3; }
.who-media { aspect-ratio: 3/4; width: 100%; max-width: 520px; margin-left: auto; position: relative; perspective: 1400px; }
.who-media .frame {
  position: absolute; inset: 0; overflow: hidden; background: #0a0507;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  will-change: transform, clip-path; transform-style: preserve-3d;
}
.who-media .frame .frame-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.2); will-change: transform;
}
.who-media .frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(139,35,50,.15) 100%);
  pointer-events: none; mix-blend-mode: multiply; z-index: 2;
}
.who-media .frame.one .frame-img { background-image: url('assets/who-1.webp'); }
.who-media .frame.two .frame-img { background-image: url('assets/who-2.webp'); }
.who-media .frame.two {
  inset: auto -30px -40px auto;
  width: 62%; aspect-ratio: 3/4;
  border: 8px solid var(--ink); z-index: 2;
}

/* ─── Dance ─────────────────────────────────────────────────────────────────── */
.dance { background: var(--cream); }
.dance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .dance-grid { grid-template-columns: 1fr; } }
/* Tota la targeta és un enllaç: el hover el pilota GSAP (lift + ombra); el
   CSS aporta color, chevron guia i estat de :focus-visible per teclat. La
   variant de reduced-motion recupera un lift discret per no perdre la
   pista d'interactivitat. */
.dance-card {
  background: #fff; padding: 40px 32px; position: relative;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  color: inherit; text-decoration: none;
  transition: border-color .3s ease;
  will-change: transform;
}
.dance-card:hover { border-color: var(--burgundy); }
.dance-card:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 4px; }
.dance-card::after {
  content: "→"; position: absolute; top: 36px; right: 32px;
  font-family: 'Inter', sans-serif; font-size: 20px; color: var(--mute);
  transition: transform var(--dur-base) ease, color var(--dur-base) ease;
}
.dance-card:hover::after, .dance-card:focus-visible::after { color: var(--burgundy); transform: translateX(var(--nudge)); }
.dance-card h3 { font-size: 36px; line-height: 1.08; margin-bottom: 10px; padding-right: 32px; }
.dance-card .sub { color: var(--mute); font-size: 14px; margin-bottom: 28px; font-family: 'Inter', sans-serif; }
.dance-card__sep { height: 1px; background: var(--line); margin-bottom: 20px; }
.dance-card .days { font-family:'Playfair Display',serif; font-style: italic; font-size: 19px; color: var(--ink); margin-bottom: 4px; }
.dance-card .time { font-family:'Playfair Display',serif; font-weight: 600; font-size: 32px; color: var(--burgundy); letter-spacing: -0.01em; }
@media (prefers-reduced-motion: reduce) {
  .dance-card { transition: border-color .3s ease, transform .2s ease, box-shadow .2s ease; }
  .dance-card:hover, .dance-card:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
}

.dance-cta {
  margin-top: 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding: 32px 40px; background: var(--burgundy); color: #fff;
}
@media (max-width: 700px) { .dance-cta { grid-template-columns: 1fr; padding: 28px; } }
/* L'adreça és un enllaç a la seu (Sobre-lEsbart#la-seu). Vocabulari
   coherent amb les targetes de «Vine a ballar»: chevron guia +
   subratllat animat que apareix des de l'esquerra en hover. Blanc/or
   sobre borgonya — el probe de contrast en vigila el 3:1. */
.dance-cta .addr {
  font-family:'Playfair Display',serif; font-style: italic; font-size: 22px;
  color: inherit; text-decoration: none;
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  padding-bottom: 3px;
}
.dance-cta .addr small { flex-basis: 100%; font-family:'Inter',sans-serif; font-style: normal; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 6px; }
.dance-cta .addr__text { position: relative; }
.dance-cta .addr__text::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.dance-cta .addr:hover .addr__text::after,
.dance-cta .addr:focus-visible .addr__text::after { transform: scaleX(1); }
.dance-cta .addr__chevron {
  font-family: 'Inter', sans-serif; font-style: normal; font-size: 18px;
  color: var(--gold-soft);
  transition: transform var(--dur-base) ease, color var(--dur-base) ease;
}
.dance-cta .addr:hover .addr__chevron,
.dance-cta .addr:focus-visible .addr__chevron { transform: translateX(var(--nudge)); color: var(--gold); }
.dance-cta .addr:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .dance-cta .addr__text::after { transition: none; }
  .dance-cta .addr__chevron { transition: color .3s ease; }
  .dance-cta .addr:hover .addr__chevron, .dance-cta .addr:focus-visible .addr__chevron { transform: none; }
}

/* ─── Danses del patrimoni (secció «danses»; de moment només a l'ordre B) ───── */
.danses-ref { background: var(--ink); color: #fff; padding: 88px 0; }
.danses-ref__inner { display: grid; grid-template-columns: 1.5fr auto; gap: 48px; align-items: center; }
@media (max-width: 820px) { .danses-ref__inner { grid-template-columns: 1fr; gap: 28px; } }
.danses-ref h2 { font-size: clamp(34px, 4.5vw, 56px); line-height: 1.05; }
.danses-ref h2 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.danses-ref p { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.8); max-width: 560px; margin: 18px 0 0; font-family: 'Lora', serif; }

/* ─── News ──────────────────────────────────────────────────────────────────── */
.news { background: #fff; }
.news-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 2px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 980px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { background: #fff; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; min-height: 380px; transition: background .25s, transform .3s ease, box-shadow .3s ease; cursor: pointer; color: inherit; text-decoration: none; }
.news-card:hover, .news-card:focus-visible { background: var(--cream); transform: translateY(-4px); box-shadow: 0 18px 32px rgba(0,0,0,.08); }
.news-card:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .news-card { transition: background .25s; }
  .news-card:hover, .news-card:focus-visible { transform: none; box-shadow: none; }
}
.news-card.big { grid-row: span 2; min-height: 100%; padding: 0; position: relative; overflow: hidden; color: #fff; }
.news-card.big .ph { position: absolute; inset: 0; }
.news-card.big .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,10,12,.9) 0%, rgba(26,10,12,.3) 60%, transparent 100%); }
.news-card.big .content { position: relative; z-index: 2; padding: 40px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.news-card.big:hover, .news-card.big:focus-visible { background: transparent; }
/* Sense foto la targeta gran no deixa cap marc buit: fons de color, un filet
   a dalt i el títol com a protagonista. */
.news-card.big.big--text { background: var(--burgundy-ink); }
.news-card.big.big--text:hover, .news-card.big.big--text:focus-visible { background: var(--burgundy-dark); }
.news-card.big.big--text .content::before { content: ""; position: absolute; top: 40px; left: 40px; right: 40px; border-top: 1px solid rgba(245,213,166,.45); }
.news-card:hover .read::after, .news-card:focus-visible .read::after { transform: translateX(var(--nudge)); }
.news-card .tag { font-family:'Inter',sans-serif; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--burgundy); margin-bottom: 14px; }
.news-card.big .tag { color: #f5d5a6; }
.news-card .date-small { font-family:'Inter',sans-serif; font-size: 12px; color: var(--mute); margin-bottom: 10px; letter-spacing: .1em; }
.news-card.big .date-small { color: rgba(255,255,255,.75); }
.news-card h3 { font-size: 22px; line-height: 1.2; margin-bottom: 14px; }
.news-card.big h3 { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.08; margin-bottom: 18px; }
.news-card p { color: var(--mute); font-size: 15px; line-height: 1.55; margin: 0 0 24px; font-family:'Lora',serif; }
.news-card.big p { color: rgba(255,255,255,.85); max-width: 540px; }
.news-card .read { font-family:'Inter',sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--burgundy); display:inline-flex; align-items:center; gap:10px; }
.news-card.big .read { color: #fff; }
.news-card .read::after { content:"→"; transition: transform var(--dur-fast); }
.news-card:hover .read::after { transform: translateX(var(--nudge)); }

/* ─── Patrimoni split ──────────────────────────────────────────────────────── */
/* overflow-x: clip: la columna dreta entra desplaçada un 6 % (animations-v3.js) i,
   fins que s'hi arriba, empenyia tota la portada de costat: 29 px a escriptori i
   16 px a mòbil, on es podia arrossegar la pàgina lateralment. clip, a diferència
   de hidden, no crea cap contenidor de scroll. */
.patrimoni { background: var(--bone); padding: 0; overflow-x: clip; }
.patrimoni .cols { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
@media (max-width: 900px) { .patrimoni .cols { grid-template-columns: 1fr; } }
.patrimoni .col { padding: 80px 60px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 700px) { .patrimoni .col { padding: 60px 28px; } }
.patrimoni .left { background: var(--burgundy); color: #fff; }
.patrimoni .right { background: var(--bone); color: var(--ink); position: relative; overflow: hidden; }
.patrimoni h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.02; margin-bottom: 20px; max-width: 500px; }
.patrimoni h2 em { font-style: italic; font-weight: 400; }
.patrimoni .left h2 em { color: #f5d5a6; }
.patrimoni .right h2 em { color: var(--burgundy); }
.patrimoni p { font-size: 17px; line-height: 1.6; max-width: 480px; margin-bottom: 32px; }
.patrimoni .left p { color: rgba(255,255,255,.85); }
.patrimoni .right p { color: var(--mute); }
.patrimoni .right::after {
  content: "♪"; position: absolute; right: -40px; bottom: -120px;
  font-family: 'Playfair Display', serif; font-size: 520px; color: rgba(139,35,50,.08); line-height: 1;
}
.patrimoni .eyebrow-white { color: #f5d5a6; }
.patrimoni .eyebrow-white::before { background: #f5d5a6; }
