/* ═══════════════════════════════════════════════════════════════════════════
   SOBRE L'ESBART — page-specific styles.
   Builds on shared/styles-v3.css. Editorial / archival voice.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Hero editorial (sober) ─────────────────────────────────────────────── */
.about-hero {
  position: relative;
  background: var(--cream);
  padding: 200px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.about-hero::before {
  display: none;
}
.about-hero::after {
  display: none;
}

/* Dansaires animats — silueta oficial line-art */
.hero-dancers-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-dancers-host svg.hero-dancers {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-dancers-host svg.hero-dancers path {
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
}

@keyframes heroDraw {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 980px) {
  .hero-dancers-host { opacity: 0.2; right: -160px; height: 90%; }
}
.about-hero .wrap { position: relative; z-index: 2; }
.about-hero .ah-eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px; letter-spacing: .22em;
  color: var(--burgundy); text-transform: uppercase;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 16px;
}
.about-hero .ah-eyebrow::before {
  content: ""; width: 48px; height: 1px; background: currentColor;
}
.about-hero h1 {
  font-size: clamp(48px, 7.5vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 14ch;
  margin: 0 0 48px;
  color: var(--ink);
}
.about-hero h1 em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 400;
}
.about-hero .ah-lead {
  font-family: var(--ff-body);
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.65;
  color: var(--ink);
  max-width: 56ch;
  margin: 0 0 64px;
}
.about-hero .ah-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  max-width: 720px;
}
.about-hero .ah-meta .item {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.about-hero .ah-meta .item:last-child { border-right: none; }
.about-hero .ah-meta .num {
  font-family: var(--ff-display);
  font-size: clamp(36px, 3.4vw, 52px);
  line-height: 1;
  font-weight: 600;
  color: var(--burgundy);
  margin-bottom: 8px;
}
.about-hero .ah-meta .num em { font-style: italic; font-weight: 400; }
.about-hero .ah-meta .label {
  font-family: var(--ff-ui);
  font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}
.about-hero .ah-scroll {
  position: absolute; bottom: 32px; 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;
}
.about-hero .ah-scroll::after {
  content: ""; width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--mute), transparent);
  animation: floatY 2.2s ease-in-out infinite;
}
@media (max-width: 700px) {
  .about-hero { padding: 160px 0 80px; }
  .about-hero .ah-meta { grid-template-columns: 1fr; gap: 0; }
  .about-hero .ah-meta .item { border-right: none; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .about-hero .ah-meta .item:last-child { border-bottom: none; }
}

/* ─── Manifest pull-quote ────────────────────────────────────────────────── */
.manifest {
  background: var(--bone);
  padding: 140px 0;
  position: relative;
}
.manifest::before, .manifest::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: var(--line);
}
.manifest::before { top: 0; }
.manifest::after { bottom: 0; }
.manifest .wrap {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: start;
  gap: 32px;
}
.manifest .rule {
  height: 1px; background: var(--burgundy); margin-top: 28px;
  align-self: start;
}
.manifest blockquote {
  margin: 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}
.manifest blockquote strong {
  font-weight: 600;
  font-style: normal;
  color: var(--burgundy);
}
.manifest .attr {
  margin-top: 40px;
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: center;
}
@media (max-width: 700px) {
  .manifest { padding: 90px 0; }
  .manifest .wrap { grid-template-columns: 1fr; gap: 0; }
  .manifest .rule { display: none; }
}

/* ─── History timeline ───────────────────────────────────────────────────── */
/* ─── History · Period reader ────────────────────────────────────────────── */
.history {
  background: var(--cream);
  padding: 140px 0;
}
.history .sec-head { margin-bottom: 80px; }

.era-reader {
  max-width: 1240px;
  margin: 0 auto;
}

/* Rail */
.era-rail-wrap { position: relative; }
.era-rail {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.era-rail::-webkit-scrollbar { display: none; }
.era-chip {
  flex: 1 0 auto;
  min-width: 168px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 22px 22px 24px;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: background-color .35s ease, color .35s ease;
  color: var(--ink-soft, #4a4945);
  font-family: var(--ff-body);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.era-chip:last-child { border-right: 0; }
.era-chip:hover { background: rgba(0,0,0,.025); }
.era-chip__range {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink, #1a1815);
  font-feature-settings: "lnum";
}
.era-chip__kicker {
  font-family: var(--ff-mono, "JetBrains Mono", ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft, #6b6864);
  line-height: 1.35;
}
.era-chip.is-active { background: var(--paper, #fffdf8); }
.era-chip.is-active .era-chip__range { color: var(--accent, #6e1f25); font-style: italic; }
.era-chip.is-active .era-chip__kicker { color: var(--ink, #1a1815); }
.era-chip::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--accent, #6e1f25);
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.era-chip.is-active::after { transform: scaleX(1); }
.era-rail__progress {
  height: 1px; background: transparent;
  position: relative;
}
.era-rail__progress span {
  position: absolute; left: 0; top: 0;
  height: 1px; background: var(--accent, #6e1f25);
  transition: width .55s cubic-bezier(.2,.7,.2,1);
}

/* Stage */
.era-stage {
  position: relative;
  margin-top: 56px;
  padding: 56px 0 64px;
  min-height: 460px;
}
.era-stage__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 4%;
}
.era-stage__bgyear {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(180px, 28vw, 420px);
  line-height: .85;
  letter-spacing: -0.04em;
  color: var(--accent, #6e1f25);
  opacity: .055;
  user-select: none;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .55s ease;
  font-feature-settings: "lnum";
}
.era-stage__inner {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
  transition: opacity .28s ease, transform .35s cubic-bezier(.2,.7,.2,1);
}
.era-stage--out .era-stage__inner { opacity: 0; transform: translateY(8px); }
.era-stage--in  .era-stage__inner { opacity: 1; transform: translateY(0); }
.era-stage--out .era-stage__bgyear { transform: translateX(-2%); opacity: 0; }
.era-stage--in  .era-stage__bgyear { transform: translateX(0); opacity: .055; }

.era-stage__meta {
  position: sticky;
  top: 100px;
  display: flex; flex-direction: column;
  gap: 24px;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.era-stage__count {
  font-family: var(--ff-mono, ui-monospace, monospace);
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--ink-soft, #6b6864);
  display: flex; gap: 6px; align-items: baseline;
}
.era-stage__count-sep { opacity: .5; }
.era-stage__range {
  font-family: var(--ff-display);
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: .95;
  letter-spacing: -0.02em;
  color: var(--ink, #1a1815);
  display: flex; flex-direction: column;
  gap: 2px;
  font-feature-settings: "lnum";
}
.era-stage__range em { font-style: italic; font-weight: 400; }
.era-stage__range > span:not(em) {
  font-size: 22px; line-height: 1;
  color: var(--accent, #6e1f25);
  font-style: italic;
}
.era-stage__kicker {
  font-family: var(--ff-mono, ui-monospace, monospace);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent, #6e1f25);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  max-width: 240px;
}

.era-stage__body { padding-top: 4px; max-width: 720px; }
.era-stage__title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink, #1a1815);
  margin: 0 0 28px;
  text-wrap: pretty;
}
.era-stage__lead {
  font-family: var(--ff-body);
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.5;
  font-style: italic;
  color: var(--ink, #1a1815);
  margin: 0 0 32px;
  text-wrap: pretty;
}
.era-stage__p {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft, #3d3a36);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.era-stage__pdf {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 22px 14px 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink, #1a1815);
  text-decoration: none;
  font-family: var(--ff-mono, ui-monospace, monospace);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.era-stage__pdf:hover {
  background: var(--accent, #6e1f25);
  color: #fff;
  border-color: var(--accent, #6e1f25);
}
.era-stage__pdf-icon {
  display: inline-flex; width: 22px; height: 22px;
  align-items: center; justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.era-stage__pdf-tag {
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid currentColor;
  opacity: .7;
}

/* Controls */
.era-controls {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.era-nav {
  background: transparent;
  border: 0;
  font-family: var(--ff-mono, ui-monospace, monospace);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink, #1a1815);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
  transition: color .25s ease, opacity .25s ease;
}
.era-nav:disabled { opacity: .25; cursor: not-allowed; }
.era-nav:not(:disabled):hover { color: var(--accent, #6e1f25); }
.era-nav svg { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.era-nav:not(:disabled):hover svg { transform: translateX(-3px); }
.era-nav--next:not(:disabled):hover svg { transform: translateX(3px); }
.era-progress {
  font-family: var(--ff-mono, ui-monospace, monospace);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--ink-soft, #6b6864);
  display: inline-flex; gap: 8px; align-items: baseline;
}
.era-progress__num { color: var(--accent, #6e1f25); font-size: 13px; }
.era-progress__of { opacity: .55; }

@media (max-width: 900px) {
  .era-stage__inner { grid-template-columns: 1fr; gap: 32px; }
  .era-stage__meta {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 18px;
    padding-right: 0;
    border-right: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .era-stage__range { flex-direction: row; gap: 12px; align-items: baseline; }
  .era-stage__kicker { padding-top: 0; border-top: 0; flex: 1 0 100%; }
  .era-stage__bgyear { font-size: 38vw; opacity: .04; }
  .era-chip { min-width: 144px; padding: 16px 16px 18px; }
}

/* Legacy timeline kept hidden as fallback */
.timeline {
  display: none;
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding-left: 0;
}
.timeline::before {
  content: ""; position: absolute;
  top: 12px; bottom: 12px; left: 200px;
  width: 1px; background: var(--line);
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  padding: 36px 0;
  align-items: start;
}
.tl-item + .tl-item { border-top: 1px solid var(--line); }
.tl-item::before {
  content: ""; position: absolute;
  left: 196px; top: 52px;
  width: 9px; height: 9px;
  background: var(--burgundy);
  border-radius: 50%;
  z-index: 2;
}
.tl-item .year {
  font-family: var(--ff-display);
  font-size: clamp(48px, 5.2vw, 72px);
  font-weight: 600;
  line-height: 1;
  color: var(--burgundy);
  font-feature-settings: "lnum";
}
.tl-item .year em { font-style: italic; font-weight: 400; }
.tl-item .body h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.25;
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.tl-item .body p {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
  max-width: 56ch;
  opacity: .85;
}
.tl-item .tag {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--ff-mono);
  font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 4px 8px;
  border: 1px solid var(--line);
}
@media (max-width: 820px) {
  .timeline::before { left: 9px; }
  .tl-item { grid-template-columns: 1fr; gap: 16px; padding-left: 32px; }
  .tl-item::before { left: 5px; top: 14px; }
  .tl-item .year { font-size: 40px; }
}

/* ─── Mission three-column ───────────────────────────────────────────────── */
.mission {
  background: var(--paper);
  padding: 140px 0;
  border-top: 1px solid var(--line);
}
.mission .mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
}
.mission .col {
  padding: 48px 40px 48px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.mission .col:last-child { border-right: none; padding-right: 0; }
.mission .col + .col { padding-left: 40px; }
.mission .col .num {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: .22em;
  color: var(--burgundy);
  margin-bottom: 24px;
}
.mission .col h3 {
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.mission .col h3 em {
  font-style: italic; color: var(--burgundy); font-weight: 400;
}
.mission .col p {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  opacity: .85;
  margin: 0 0 20px;
}
.mission .col ul {
  list-style: none; padding: 0; margin: 28px 0 0;
  border-top: 1px solid var(--line);
}
.mission .col ul li {
  padding: 12px 0;
  font-family: var(--ff-ui);
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
}
.mission .col ul li::before {
  content: ""; width: 5px; height: 5px; background: var(--burgundy);
  border-radius: 50%; flex-shrink: 0;
}
@media (max-width: 820px) {
  .mission .mission-grid { grid-template-columns: 1fr; }
  .mission .col { padding: 32px 0; border-right: none; border-bottom: 1px solid var(--line); }
  .mission .col + .col { padding-left: 0; }
  .mission .col:last-child { border-bottom: none; }
}

/* ─── Team / Junta directiva (galeria horitzontal fosca) ─────────────────── */
/* Gramàtica de navegació: eix vertical = canviar de secció; eix horitzontal =
   aprofundir dins la Junta. El fons fosc trenca la seqüència os/crema. */
.team {
  background: var(--burgundy-ink);
  padding: 130px 0 110px;
  position: relative;
  overflow: hidden;
}
.team::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(245,213,166,.35), transparent);
}
.team .eyebrow { color: var(--gold-soft); }
.team h2 { color: var(--cream); }
.team h2 em { color: var(--gold-soft); }
.team .sub { color: rgba(246,241,234,.62); }

/* Pista horitzontal full-bleed, alineada amb el .wrap pel padding lateral */
.tm-track {
  display: flex;
  gap: 26px;
  margin-top: 60px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-inline: max(var(--wrap-pad), calc((100vw - var(--wrap-max)) / 2 + var(--wrap-pad)));
  padding-bottom: 8px;
  scrollbar-width: none;
  cursor: grab;
}
.tm-track::-webkit-scrollbar { display: none; }
.tm-track.is-drag { cursor: grabbing; user-select: none; }
.tm-track.is-drag .tm-card { pointer-events: none; }
@media (hover: none) {
  .tm-track { scroll-snap-type: x mandatory; }
  .tm-card { scroll-snap-align: start; }
}

.tm-card { flex: 0 0 clamp(228px, 21vw, 288px); }
.tm-card__portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  background:
    repeating-linear-gradient(135deg, rgba(139,35,50,.1) 0 14px, rgba(139,35,50,.04) 14px 28px),
    linear-gradient(180deg, #ebe1d0, #ddd0b9);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
  box-shadow: 0 24px 44px -28px rgba(0,0,0,.55);
}
.tm-card__mono {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: -0.02em;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.tm-card__num {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: rgba(139,35,50,.5);
}
.tm-card__name {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--cream);
  margin: 20px 0 0;
}
.tm-card__role {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(245,213,166,.75);
  margin-top: 8px;
}
@media (hover: hover) {
  .tm-card:hover .tm-card__portrait {
    transform: translateY(-8px);
    box-shadow: 0 34px 56px -26px rgba(0,0,0,.7);
  }
  .tm-card:hover .tm-card__mono { transform: scale(1.06); }
}

/* Barra inferior: progrés + comptador + fletxes */
.tm-toolbar {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
}
.tm-progress {
  flex: 1;
  height: 1px;
  background: rgba(246,241,234,.16);
}
.tm-progress__bar {
  display: block;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .15s ease-out;
}
.tm-count {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--cream);
  white-space: nowrap;
}
.tm-count__dim { color: rgba(246,241,234,.45); }
.tm-nav { display: flex; gap: 10px; }
.tm-arrow {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(246,241,234,.28);
  border-radius: 0;
  color: var(--cream);
  cursor: pointer;
  transition: border-color .3s ease, color .3s ease, opacity .3s ease;
}
.tm-arrow:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-soft); }
.tm-arrow:disabled { opacity: .3; cursor: default; }

@media (max-width: 700px) {
  .team { padding: 96px 0 84px; }
  .tm-track { gap: 18px; margin-top: 44px; }
  .tm-card { flex-basis: min(66vw, 260px); }
  .tm-toolbar { gap: 18px; margin-top: 36px; }
  .tm-arrow { width: 40px; height: 40px; }
}

/* ─── Direcció artística / Mestres (explorador tabbed) ──────────────────── */
.masters {
  background: var(--cream);
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

/* Chip rail: noms de secció més llargs → min-width generós */
.masters-rail .era-chip { min-width: 200px; }

/* Escenari */
.masters-stage {
  margin-top: 56px;
  transition: opacity .22s ease, transform .28s cubic-bezier(.2,.7,.2,1);
}
.masters-stage--out { opacity: 0; transform: translateY(10px); }
.masters-stage--in  { opacity: 1; transform: translateY(0); }

.masters-stage__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 0;
}
.masters-stage__title {
  font-family: var(--ff-display);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.masters-stage__count {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--mute);
  text-transform: uppercase;
  flex-shrink: 0;
}

/* Llista de persones: 2 columnes per aprofitar l'espai */
.masters-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.masters-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  align-items: baseline;
  transition: background .2s;
}
.masters-row:nth-child(2n) { border-right: none; }
.masters-row:hover { background: rgba(139,35,50,.03); }

.masters-row__span {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mute);
  padding-top: 2px;
}
.masters-row__name {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
}
.masters-row__note {
  font-family: var(--ff-body);
  font-size: 13px;
  font-style: italic;
  color: var(--mute);
  font-weight: 400;
}

@media (max-width: 820px) {
  .masters-list { grid-template-columns: 1fr; border-right: none; }
  .masters-row  { grid-template-columns: 110px 1fr; gap: 14px; border-right: none; padding: 14px 0; }
}

/* ─── Cos de Dansa strip ─────────────────────────────────────────────────── */
.bodies {
  background: var(--paper);
  padding: 140px 0;
  border-top: 1px solid var(--line);
}
.bodies .bodies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--ink);
}
.bodies .body {
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 320px;
}
.bodies .body:last-child { border-right: none; padding-right: 0; }
.bodies .body + .body { padding-left: 28px; }
.bodies .body .num {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: .2em;
  color: var(--burgundy);
}
.bodies .body h3 {
  font-size: 28px; line-height: 1.1; font-weight: 600;
  letter-spacing: -0.01em;
  margin: 4px 0 8px;
}
.bodies .body h3 em { font-style: italic; color: var(--burgundy); font-weight: 400; }
.bodies .body p {
  font-family: var(--ff-body);
  font-size: 15px; line-height: 1.65;
  color: var(--ink); opacity: .8; margin: 0;
}
.bodies .body .stat {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: baseline;
}
.bodies .body .stat b {
  font-family: var(--ff-display);
  font-size: 32px; line-height: 1; color: var(--burgundy);
  font-weight: 600;
}
.bodies .body .stat span {
  font-family: var(--ff-mono);
  font-size: 10px; letter-spacing: .18em; color: var(--mute);
  text-transform: uppercase;
}
@media (max-width: 980px) { .bodies .bodies-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .bodies .bodies-grid { grid-template-columns: 1fr; } }

/* ─── Seu / Headquarters split ───────────────────────────────────────────── */
.seat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}
.seat .photo {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 60px 60px 48px;
  color: rgba(255,255,255,.92);
  overflow: hidden;
  background: var(--burgundy-ink); /* fallback mentre carrega */
}
/* Foto real: centrada horitzontalment, retallada als laterals en format vertical */
.seat-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}
/* Overlay gradient per llegibilitat del text inferior */
.seat .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15,4,7,.80) 0%,
    rgba(15,4,7,.45) 40%,
    rgba(15,4,7,.18) 100%
  );
  z-index: 1;
}
.seat .photo .yr,
.seat .photo .cap {
  position: relative;
  z-index: 2;
}
.seat .photo .yr {
  font-family: var(--ff-display);
  font-size: clamp(64px, 8vw, 120px);
  line-height: 1;
  font-weight: 600;
  font-style: italic;
  color: rgba(245,213,166,.95);
  margin-bottom: 16px;
}
.seat .photo .cap {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 22px;
  color: var(--gold-soft);
  max-width: 380px; line-height: 1.3;
}
.seat .info {
  background: var(--cream);
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.seat .info .eyebrow { margin-bottom: 24px; }
.seat .info h2 {
  font-size: clamp(36px, 4vw, 56px); line-height: 1.05;
  margin-bottom: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.seat .info h2 em { font-style: italic; color: var(--burgundy); font-weight: 400; }
.seat .info p {
  font-family: var(--ff-body); font-size: 17px; line-height: 1.7;
  margin: 0 0 16px; color: var(--ink); opacity: .85;
  max-width: 50ch;
}
.seat .info .details {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: grid; gap: 18px;
}
.seat .info .details dl {
  display: grid; grid-template-columns: 120px 1fr; gap: 8px 24px;
  margin: 0; align-items: baseline;
}
.seat .info .details dt {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .2em;
  color: var(--mute); text-transform: uppercase;
}
.seat .info .details dd {
  font-family: var(--ff-body); font-size: 16px; color: var(--ink);
  margin: 0; line-height: 1.5;
}
.seat .info .details dd em { font-style: italic; }
.seat .info .seat-cta {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
/* ghost button com a <button> */
.seat .info .seat-cta button.btn.ghost {
  font-family: var(--ff-ui);
  font-size: 13px;
  cursor: pointer;
}

/* ─── Seus socials modal ─────────────────────────────────────────────────── */
.seus-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 3, 0.68);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 9900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: seusOverlayIn .22s ease;
}
@keyframes seusOverlayIn { from { opacity: 0; } to { opacity: 1; } }

.seus-modal {
  background: var(--cream, #faf6ef);
  width: 100%;
  max-width: 1060px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 96px rgba(0,0,0,.38), 0 0 0 1px var(--line, rgba(0,0,0,.1));
  animation: seusModalIn .3s cubic-bezier(.2,.7,.2,1);
}
@keyframes seusModalIn {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.seus-modal__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.seus-modal__eyebrow {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 6px;
}
.seus-modal__title {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.seus-modal__close {
  background: transparent;
  border: 1px solid var(--line);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
  transition: background .18s, border-color .18s, color .18s;
}
.seus-modal__close:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}

.seus-modal__bd {
  display: grid;
  grid-template-columns: 1fr 340px;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

/* Leaflet map */
.seus-map {
  position: relative;
  min-height: 360px;
  background: #ede8df;
  z-index: 1;
}
/* Custom marker pins */
.seus-pin {
  width: 44px; height: 22px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono, monospace);
  font-size: 10.5px; font-weight: 700;
  color: #fff;
  background: #1A1A1A;
  border: 1.5px solid rgba(255,255,255,.85);
  box-shadow: 0 2px 8px rgba(0,0,0,.28);
  cursor: pointer;
  transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s, background .2s;
  letter-spacing: .03em;
}
.seus-pin--current {
  background: var(--gold, #C79A3A);
  color: #1A1A1A;
  border-color: var(--burgundy, #8b2332);
  box-shadow: 0 2px 12px rgba(199,154,58,.5);
}
.seus-pin--active {
  background: var(--burgundy, #8b2332) !important;
  border-color: var(--gold-soft, #f5d5a6) !important;
  color: #fff !important;
  transform: scale(1.32) !important;
  box-shadow: 0 4px 18px rgba(139,35,50,.5) !important;
}

/* Leaflet attribution override */
.seus-map .leaflet-control-attribution {
  font-size: 9px;
  background: rgba(250,246,239,.85) !important;
}

/* List panel */
.seus-list {
  overflow-y: auto;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.seus-list::-webkit-scrollbar { width: 4px; }
.seus-list::-webkit-scrollbar-track { background: transparent; }
.seus-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }

.seus-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 0 12px;
  align-items: start;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-top: none; border-left: none; border-right: none;
  text-align: left;
  cursor: pointer;
  transition: background .15s;
  width: 100%;
}
.seus-item:hover       { background: var(--bone); }
.seus-item--active     { background: var(--bone); }
.seus-item--current    { background: oklch(97.5% .012 350); }
.seus-item--current.seus-item--active { background: oklch(95.5% .018 350); }

.seus-item__yr {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  color: var(--burgundy);
  font-weight: 700;
  padding-top: 2px;
  line-height: 1.4;
  display: block;
}
.seus-item__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.seus-item__title {
  font-family: var(--ff-display);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  display: block;
}
.seus-item__addr {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: .05em;
  color: var(--mute);
  line-height: 1.4;
  display: block;
}
.seus-item__note {
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 11.5px;
  color: var(--ink-soft, #6b6864);
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  line-height: 1.5;
  display: block;
}
.seus-item__badge {
  font-family: var(--ff-mono);
  font-size: 8.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--burgundy);
  border: 1px solid var(--burgundy);
  padding: 2px 5px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 1px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .seus-modal__bd {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 1fr;
  }
  .seus-list { border-left: none; border-top: 1px solid var(--line); }
  .seus-modal__hd { padding: 20px 20px 16px; }
}
@media (max-width: 980px) {
  .seat { grid-template-columns: 1fr; }
  .seat .photo { min-height: 420px; padding: 80px 32px 40px; }
  .seat .info { padding: 60px 32px; }
}

/* ─── Recognitions ───────────────────────────────────────────────────────── */
.recog {
  background: var(--bone);
  padding: 100px 0 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.recog .recog-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 64px; gap: 32px; flex-wrap: wrap;
}
.recog .recog-head .eyebrow { color: var(--burgundy); }
.recog .recog-head h2 {
  font-size: clamp(28px, 3vw, 44px); font-weight: 600;
  line-height: 1.1; max-width: 22ch; letter-spacing: -0.01em;
}
.recog .recog-head h2 em { font-style: italic; color: var(--burgundy); font-weight: 400; }

/* Tally counter */
.recog-tally { text-align: right; flex-shrink: 0; }
.tally-num {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(60px, 7vw, 96px);
  font-weight: 700; font-style: italic;
  color: var(--burgundy); line-height: 1;
  letter-spacing: -0.04em;
}
.tally-lbl {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--mute);
  margin-top: 6px;
}

/* Chronicle timeline */
.recog-chronicle { border-top: 1px solid var(--line); margin-bottom: 60px; }
.rc-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 48px;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  align-items: start;
  transition: background .18s;
}
.rc-row:hover { background: oklch(97.5% 0.006 350); }
.rc-yr-block { display: flex; align-items: flex-start; padding-top: 4px; }
.rc-yr {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--burgundy); font-weight: 600;
}
.rc-awards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.rc-row--multi .rc-awards { grid-template-columns: repeat(2, 1fr); gap: 12px 48px; }
.rc-award { display: flex; flex-direction: column; gap: 3px; }
.rc-title {
  font-family: var(--ff-display);
  font-size: 17px; font-weight: 600;
  color: var(--ink); line-height: 1.3;
}
.rc-inst {
  font-family: var(--ff-mono);
  font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--mute);
}
.rc-desc {
  font-size: 13px; color: var(--mute);
  font-style: italic; line-height: 1.55;
  margin-top: 3px;
}

/* Partners strip */
.recog .partners-strip {
  display: flex; gap: 36px; align-items: center; flex-wrap: wrap;
  justify-content: center; padding-top: 36px;
  border-top: 1px solid var(--line);
}
.recog .partners-strip .lbl {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--mute);
}
.recog .partners-strip .partner {
  font-family: var(--ff-display); font-style: italic;
  font-size: 22px; color: var(--ink); opacity: .65;
  transition: opacity .25s;
}
.recog .partners-strip .partner:hover { opacity: 1; color: var(--burgundy); }
@media (max-width: 820px) {
  .rc-row { grid-template-columns: 80px 1fr; gap: 0 24px; }
  .rc-row--multi .rc-awards { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 540px) {
  .recog .recog-head { align-items: flex-start; }
  .recog-tally { text-align: left; }
  .rc-row { grid-template-columns: 1fr; gap: 4px 0; }
  .rc-yr-block { padding-top: 0; }
  .rc-yr { font-size: 10px; }
  .rc-title { font-size: 15px; }
}

/* ─── Transparency document cards ────────────────────────────────────────── */
.transp {
  background: var(--stone);
  padding: 140px 0;
}
.transp .docs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}
.transp .doc {
  display: block;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  text-decoration: none; color: inherit;
  transition: transform .25s ease, background .25s ease;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 240px;
}
.transp .doc:hover {
  background: var(--cream);
  transform: translateY(-2px);
}
.transp .doc .meta {
  display: flex; justify-content: space-between; align-items: baseline;
}
.transp .doc .ext {
  font-family: var(--ff-mono);
  font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--burgundy);
  padding: 4px 8px; border: 1px solid currentColor;
}
.transp .doc .yr {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: .14em;
  color: var(--mute);
}
.transp .doc h4 {
  font-family: var(--ff-display);
  font-size: 22px; line-height: 1.25;
  font-weight: 500; margin: 0;
  letter-spacing: -0.005em;
}
.transp .doc h4 em { font-style: italic; }
.transp .doc p {
  font-family: var(--ff-body);
  font-size: 14px; line-height: 1.6;
  color: var(--mute); margin: 0;
  flex-grow: 1;
}
.transp .doc .arrow {
  font-family: var(--ff-ui);
  font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--burgundy);
  font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto;
}
.transp .doc .arrow b { font-weight: 500; }
.transp .doc:hover .arrow b { transform: translateX(4px); transition: transform .25s; }
@media (max-width: 820px) { .transp .docs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .transp .docs { grid-template-columns: 1fr; } }
.transp-cta { margin-top: 40px; }

/* ─── Closing pull-quote (dark) ──────────────────────────────────────────── */
.closing {
  background: var(--burgundy-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

/* Vídeo de fons: personatge desplaçat cap a l'esquerra */
.closing-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% top;
  z-index: 0;
  opacity: 0.65;
}

/* Gradient suau a la dreta per llegibilitat del text */
.closing::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    to left,
    rgba(30,8,12,.85) 30%,
    rgba(30,8,12,.4) 60%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Wrap: text alineat a la dreta */
.closing .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding-top: 80px;
  padding-bottom: 80px;
  width: 100%;
}

/* Bloc de text: ocupa el 44% dret */
.closing-content {
  width: 44%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  text-align: right;
}

.closing blockquote {
  margin: 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 50px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  max-width: 22ch;
  text-wrap: balance;
}

.closing .attr {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  opacity: .85;
}

.closing .actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 8px;
}

@media (max-width: 820px) {
  .closing-content { width: 70%; }
}
@media (max-width: 600px) {
  .closing-content { width: 100%; align-items: center; text-align: center; }
  .closing .actions { justify-content: center; }
  .closing::before {
    background: rgba(30,8,12,.6);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FRIS D'HONOR — Socis de mèrit, d'honor i homenatjats
   Línia del temps daurada, scroll-driven (GSAP pin) sobre fons fosc.
   ═══════════════════════════════════════════════════════════════════════════ */
.honors {
  --sw: min(520px, 48vw);
  --rail-y: 62%;
  position: relative;
  padding: clamp(90px, 11vw, 150px) 0 clamp(70px, 8vw, 110px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(125% 90% at 50% -8%, #51141c 0%, var(--burgundy-ink) 46%, #260a0d 100%);
  border-top: 1px solid rgba(245,213,166,.18);
  border-bottom: 1px solid rgba(245,213,166,.12);
}
.honors-aura {
  position: absolute; left: 50%; top: var(--rail-y); transform: translate(-50%,-50%);
  width: 56vw; height: 60vh; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(199,154,58,.18), transparent 60%);
  filter: blur(24px);
}

/* ── Header ───────────────────────────────────────────────────────────────── */
.honors-head {
  position: relative; z-index: 3; flex: 0 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 48px;
  padding-top: 0;
  margin-bottom: clamp(34px, 4.5vw, 60px);
}
.honors-head__lead { max-width: 640px; }
.honors-head__title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.4vw, 50px); line-height: 1.0; font-weight: 600;
  letter-spacing: -0.015em; color: #fff; margin: 16px 0 0; max-width: 20ch;
  text-wrap: balance;
}
.honors-head__title em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.honors-head__sub {
  font-family: var(--ff-body); font-size: 16px; line-height: 1.6;
  color: rgba(255,255,255,.72); max-width: 56ch; margin: 18px 0 0;
}
.honors-head__stats { display: flex; gap: 30px; flex-shrink: 0; padding-top: 8px; }
.honors-stat { text-align: right; }
.honors-stat b {
  display: block; font-family: var(--ff-display); font-style: italic;
  font-size: clamp(28px, 2.6vw, 42px); line-height: 1; color: var(--gold);
  font-feature-settings: "lnum";
}
.honors-stat span {
  display: block; font-family: var(--ff-mono); font-size: 9.5px;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 8px;
}

/* ── Viewport / track ─────────────────────────────────────────────────────── */
.honors-stage { position: relative; z-index: 2; }
.honors-viewport {
  position: relative;
  height: clamp(430px, 52vh, 520px);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
  -webkit-mask: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.honors-viewport.is-dragging { cursor: grabbing; user-select: none; scroll-snap-type: none; }
.honors-viewport::-webkit-scrollbar { display: none; }
.honors-head__stats .honors-stat:last-child b { font-size: clamp(22px, 2vw, 32px); white-space: nowrap; }
.honors-stat__dash { margin: 0 .03em; }

/* Navigation hint over the strip — fades on first interaction */
.honors-hint {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 17px; border-radius: 999px;
  background: rgba(61,15,21,.62); border: 1px solid rgba(245,213,166,.32);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  color: var(--gold-soft);
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap; pointer-events: none; z-index: 4;
  animation: honorsHintPulse 2.6s ease-in-out infinite;
  transition: opacity .5s ease, transform .5s ease;
}
.honors-hint svg { opacity: .85; }
.honors-hint.is-hidden { opacity: 0; transform: translate(-50%, 10px); }
@keyframes honorsHintPulse { 0%,100% { opacity: .82; } 50% { opacity: 1; } }

.honors-track {
  display: flex; align-items: stretch; height: 100%;
  will-change: transform;
}
.honors-cap { flex: 0 0 calc(50% - var(--sw) / 2); min-width: 16px; }
.honors-station {
  width: var(--sw); flex: 0 0 var(--sw); position: relative;
  scroll-snap-align: center;
}
.honors-rail {
  position: absolute; left: 0; right: 0; top: var(--rail-y); height: 1px;
  background: rgba(245,213,166,.26);
}
.honors-station.is-focus .honors-rail { background: rgba(245,213,166,.5); }

.honors-station__inner {
  position: absolute; inset: 0;
  transform-origin: 50% var(--rail-y);
  transform: scale(calc(.62 + .38 * var(--f, 0)));
  opacity: calc(.2 + .8 * var(--f, 0));
  transition: opacity .22s ease;
}
.honors-station:not(.is-focus) .honors-panel { pointer-events: none; }

/* Node on the spine */
.honors-node { position: absolute; left: 50%; top: var(--rail-y); transform: translate(-50%,-50%); }
.honors-node span {
  display: block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold);
  transform: scale(calc(.6 + .7 * var(--f, 0)));
  box-shadow: 0 0 0 4px rgba(199,154,58,.16), 0 0 18px rgba(199,154,58,.55);
}

/* Year below the spine */
.honors-yearblock {
  position: absolute; left: 0; right: 0; top: calc(var(--rail-y) + 26px);
  text-align: center; pointer-events: none;
}
.honors-year {
  font-family: var(--ff-display); font-style: italic; font-weight: 600;
  font-size: clamp(46px, min(7.4vw, 11vh), 104px); line-height: .88; letter-spacing: -0.025em;
  color: var(--gold-soft); font-feature-settings: "lnum";
  text-shadow: 0 4px 36px rgba(199,154,58,.28);
}
.honors-year__count {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 14px;
}

/* People panel above the spine */
.honors-panel {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: calc(100% - var(--rail-y) + 14px);
  width: calc(var(--sw) - 20px);
  display: grid; grid-auto-rows: min-content; gap: 4px 16px; align-content: end;
  max-height: calc(var(--rail-y) - 30px); overflow-y: auto; overflow-x: hidden;
  scrollbar-width: none; -ms-overflow-style: none;
}
.honors-panel::-webkit-scrollbar { display: none; }
.honor-person {
  all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 3px;
  padding: 7px 10px; border-radius: 2px;
  transition: background .18s ease; text-align: left;
}
.honor-person:hover, .honor-person:focus-visible { background: rgba(245,213,166,.1); }
.honor-person__name {
  font-family: var(--ff-display); font-weight: 500; line-height: 1.18; color: #fff;
  font-size: clamp(15px, 1.1vw, 19px);
}
.honor-person__titles { display: flex; flex-direction: column; gap: 1px; }
.honor-person__title {
  font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--gold); line-height: 1.35;
}
.honor-person__title[data-cat="homenatge"] { color: rgba(245,213,166,.78); font-style: normal; }
.honor-person__title[data-cat="dansaire"],
.honor-person__title[data-cat="merit"] { color: rgba(245,213,166,.66); }

/* Density tuning for crowded years (1936, 1980, 1993…) */
.honors-panel.dense-2 .honor-person__name { font-size: 15px; }
.honors-panel.dense-2 .honor-person { padding: 5px 9px; }
.honors-panel.dense-3 { gap: 2px 12px; }
.honors-panel.dense-3 .honor-person__name { font-size: 13px; line-height: 1.12; }
.honors-panel.dense-3 .honor-person__title { font-size: 8.5px; }
.honors-panel.dense-3 .honor-person { padding: 4px 7px; }

/* ── Footer controls ──────────────────────────────────────────────────────── */
.honors-foot {
  position: relative; z-index: 3; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 18px; padding-bottom: 40px;
}
.honors-nav {
  background: transparent; border: 1px solid rgba(245,213,166,.32);
  color: var(--gold-soft); font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; padding: 12px 18px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.honors-nav:hover:not(:disabled) { background: var(--gold-soft); color: var(--burgundy-ink); border-color: var(--gold-soft); }
.honors-nav:disabled { opacity: .28; cursor: not-allowed; }
.honors-nav svg { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.honors-nav:not(:disabled):hover svg { transform: translateX(-3px); }
.honors-nav--next:not(:disabled):hover svg { transform: translateX(3px); }
.honors-foot__hint {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 12px;
}
.honors-foot__center {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  min-width: 0;
}
.honors-skip {
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.42);
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 6px;
  transition: color .2s ease;
}
.honors-skip:hover { color: var(--gold-soft); }
.honors-skip svg { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.honors-skip:hover svg { transform: translateY(2px); }
.honors-foot__year { font-family: var(--ff-display); font-style: italic; font-size: 15px; color: var(--gold); letter-spacing: 0; }
.honors-foot__sep { opacity: .4; }

/* ── Modal (dossier per persona) ──────────────────────────────────────────── */
.honor-overlay {
  position: fixed; inset: 0; z-index: 9900;
  background: rgba(10,4,6,.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: seusOverlayIn .22s ease;
}
.honor-modal {
  position: relative; width: 100%; max-width: 560px; max-height: 86vh; overflow-y: auto;
  color: #fff; padding: 44px 44px 36px;
  background: radial-gradient(130% 70% at 50% -10%, #51141c, var(--burgundy-ink));
  border: 1px solid rgba(245,213,166,.26);
  box-shadow: 0 40px 110px rgba(0,0,0,.6);
  animation: seusModalIn .3s cubic-bezier(.2,.7,.2,1);
  scrollbar-width: thin; scrollbar-color: rgba(245,213,166,.3) transparent;
}
.honor-modal__close {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px;
  border: 1px solid rgba(245,213,166,.3); background: transparent; color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.honor-modal__close:hover { background: var(--gold-soft); color: var(--burgundy-ink); }
.honor-modal__hd {
  display: flex; gap: 22px; align-items: center;
  padding-bottom: 26px; margin-bottom: 8px; border-bottom: 1px solid rgba(245,213,166,.18);
}
.honor-modal__monogram {
  flex: 0 0 auto; width: 66px; height: 66px; border-radius: 50%;
  border: 1px solid rgba(245,213,166,.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 24px; color: var(--gold-soft);
}
.honor-modal__eyebrow {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 9px;
}
.honor-modal__name {
  font-family: var(--ff-display); font-weight: 600; line-height: 1.1; color: #fff;
  font-size: clamp(24px, 3vw, 32px);
}
.honor-modal__count {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em;
  color: rgba(255,255,255,.6); margin-top: 9px; font-feature-settings: "lnum";
}
.honor-record { list-style: none; margin: 0; padding: 8px 0 0; }
.honor-record__row {
  display: grid; grid-template-columns: 78px 1fr; gap: 22px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.honor-record__row:last-child { border-bottom: none; }
.honor-record__yr {
  font-family: var(--ff-display); font-style: italic; font-size: 26px;
  color: var(--gold-soft); font-feature-settings: "lnum"; line-height: 1;
}
.honor-record__title { font-family: var(--ff-body); font-size: 17px; color: #fff; line-height: 1.4; }
.honor-record__row[data-cat="homenatge"] .honor-record__title { font-style: italic; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .honors { --sw: min(440px, 86vw); }
  .honors-head { flex-direction: column; gap: 22px; padding-top: 70px; }
  .honors-head__stats { gap: 26px; align-self: flex-start; }
  .honors-head__sub { font-size: 15px; }
  .honors-panel { width: calc(var(--sw) - 12px); }
}
@media (max-width: 600px) {
  .honors { height: 100vh; min-height: 560px; --sw: min(380px, 90vw); }
  .honors-head__title { font-size: clamp(26px, 7vw, 34px); }
  .honors-head__sub { display: none; }
  .honors-head__stats b { font-size: 26px; }
  .honors-panel.dense-3 { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .honors-foot__hint span:last-child { display: none; }
  .honor-modal { padding: 32px 24px 28px; }
  .honor-modal__hd { gap: 16px; }
  .honor-modal__monogram { width: 54px; height: 54px; font-size: 20px; }
}

/* Reduced motion: stations sit at a readable medium state */
@media (prefers-reduced-motion: reduce) {
  .honors-station__inner { transition: none; }
  .honors-hint { animation: none; }
}
