/* ============================================================
   TAT ARA — minimal, monospace, mobile-first
   Negro sobre blanco. Color solo en los bloques de la agenda.
   ============================================================ */

@font-face {
  font-family: "Superstudio Trial";
  src: url("../fonts/SuperstudioTrialTT-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Superstudio Trial";
  src: url("../fonts/SuperstudioTrialTT-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

:root {
  color-scheme: only light; /* negro-sobre-blanco: opt-out del auto-oscurecido del navegador (iOS/Chrome force-dark) */
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-display: "Superstudio Trial", "JetBrains Mono", ui-monospace, monospace;

  /* Los COLORES no viven aquí: están todos en data/data.json → "theme"
     (--bg, --ink, --ink-soft, --doodle, --grey-soft, --media-bg, --overlay-ink)
     y los inyecta js/main.js al arrancar. Los de la agenda, en "palette". */

  --bar-h: 52px;
  --col: 480px;    /* ancho de la columna central (agenda); TAT/ARA lo igualan en desktop */
  --fade: 180ms;   /* duración del fundido entre vistas; la lee también el router (JS) */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg, #ffffff);   /* el fallback solo se ve el instante */
  color: var(--ink, #111111);      /* previo a que cargue data.json */
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

#view {
  min-height: 100dvh;
  padding-top: var(--bar-h);
  padding-bottom: var(--bar-h);
  opacity: 1;
  transition: opacity var(--fade) ease;
}
#view.view--fade { opacity: 0; }
/* El gris de exposicions/recerca vive en su columna (.people), no a sangre. */

.loading { text-align: center; color: var(--ink-soft); padding: 3rem 1rem; letter-spacing: 0.1em; }

/* ============================================================
   AGENDA
   ============================================================ */
/* Aire al principio y al final del scroll para que entre/salga más natural. */
.agenda__strip { display: flex; flex-direction: column; padding-block: 30dvh; }

/* Bloques de evento — pueden contener O.R. anidados (seg__children) */
.seg--event {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;               /* aire entre cabecera/imagen, descripció i O.R. */
  width: 100%;
  text-align: left;
  /* el color del texto lo pone agenda.js inline (textOn: blanco o negro según el fondo) */
  padding-bottom: 1.6rem;
}

.seg__head {
  display: block;
  width: 100%;
  text-align: left;
}

/* "Fila 0" del eje temporal: cabecera + imagen + descripción. Su min-height
   (inline, en unidades --day) reserva los días que van del inicio del evento
   al primer O.R., así la cabecera consume tiempo real en vez de sumarse. */
.seg__lead {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.seg__desc {
  padding: 0.6rem 1rem 0;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: justify;
  hyphens: auto;
}

.seg__label {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.seg__label .seg__who { min-width: 0; } /* sin truncar: el título puede ocupar varias líneas */
.seg__label .seg__who b { font-weight: 700; }
.seg__label .seg__when { flex: 0 0 auto; opacity: 0.92; }

/* Tipo de la entrada (exposició, retrospectiva, exposició i festival…), encima
   del título. Discreto: es contexto, no titular. */
.seg__kind {
  padding: 0.7rem 1rem 0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.seg__kind + .seg__label { padding-top: 0.15rem; }

/* Fila inferior del bloque: fecha de cierre (izq) + estado (der) en una línea,
   igual que la cabecera. Hereda la tinta del bloque (negra o blanca). */
.seg__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding: 1rem 1rem 0;
}
.seg__status {
  flex: 0 0 auto;
  margin-left: auto;   /* siempre a la derecha, aunque no haya fecha de cierre */
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.seg__status--now { opacity: 1; }
.seg__status--next { opacity: 0.85; }
.seg__status--past { opacity: 0.55; }

.seg__media { display: block; padding: 1.2rem 1rem 0; width: 58%; max-width: 300px; cursor: zoom-in; text-align: inherit; }
/* aspect-ratio reserva hueco antes de que cargue la imagen (evita saltos de
   layout); el 'auto' hace que, una vez cargada, mande su proporción real. */
/* aspect-ratio con 'auto' delante: manda la proporción real de la imagen en
   cuanto se conoce, y mientras tanto se reserva 4/5, que es el formato de
   cartel que usa casi toda la agenda. Reservar de más o de menos hace que la
   página crezca bajo el dedo al ir hacia atrás en el historial. */
.seg__media img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 5 auto; background: var(--img-placeholder); }
.seg__media--left { margin-right: auto; }
.seg__media--right { margin-left: auto; }

/* Región temporal del bloque: contiene los O.R. en flujo. La separación entre
   O.R. la marca el gap: los bloques miden por contenido, no por días. */
.seg__days {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;               /* separación clara entre O.R. */
}

/* O.R. / esdeveniments anidados dentro de una exposición. */
.seg__child {
  padding: 0 1rem;
}
/* Fecha y nombre en un solo flujo de texto, NO en flex. Con flex, la fecha
   ocupaba un ancho fijo y el nombre empezaba a su derecha; al partirse el
   nombre, la segunda línea volvía a ese borde en vez de al margen del bloque, y
   con dos palabras cortas quedaba justo en medio, como si estuviera centrada.
   Así el texto se parte y sigue donde debe: a la izquierda. */
.seg__child-info {
  display: block;
  width: 100%;
  text-align: left;
  cursor: default;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
  line-height: 1.45;
  opacity: 0.92;
}
.seg__child-info:hover, .seg__child-info:focus-visible { opacity: 1; }
/* La fecha no se parte nunca por dentro: "12/9 – 13/9 · 10:00 – 13:00" es una
   unidad, y partirla a media hora se lee fatal. */
.seg__child-when { white-space: nowrap; margin-right: 0.6rem; }
.seg__child-name { min-width: 0; }
.seg__child-name b { font-weight: 700; }

.seg__child-desc {
  padding: 0.4rem 0 0;
  font-size: 0.74rem;
  line-height: 1.5;
  text-align: justify;
  hyphens: auto;
  opacity: 0.92;
}

.seg__end {
  flex: 0 1 auto;
  font-size: 0.8rem; opacity: 0.92;
}

/* Lightbox: clic en una imagen de la agenda la abre a pantalla completa.
   La imagen se limita a vw/svh para caber ENTERA (alto y ancho) en cualquier
   pantalla; el clic fuera cierra (cursor zoom-out), el clic en la imagen no. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--lightbox-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: zoom-out;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 92svh;
  width: auto;
  height: auto;
  cursor: default;
}
.lightbox__close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  z-index: 1;
  line-height: 0;
  padding: 0.3rem;
  color: var(--overlay-ink);
}
.lightbox__close:hover { opacity: 0.6; }

/* ============================================================
   PÁGINAS DE CONTENIDO (nosaltres, artistes, diari, botiga, contacte, carret)
   ============================================================ */
.page {
  min-height: calc(100dvh - 2 * var(--bar-h));
  display: flex;
  flex-direction: column;
  padding: 2.5rem 1.4rem 1rem;
}

.prose { max-width: var(--col); margin: 0 auto; }
.prose p { text-align: justify; hyphens: auto; margin: 0 0 1rem; }
.prose__heading { text-align: center; font-weight: 400; font-size: 0.95rem; letter-spacing: 0.02em; margin: 2rem 0 0.8rem; }
.prose > .prose__heading:first-child { margin-top: 0; }

/* Enlaces internos dentro del texto (sintaxis [etiqueta](seccio) en los JSON).
   Se distinguen por color, no por subrayado: el texto corrido va en --ink-mid
   y los enlaces en --ink (el negro pleno). Al pasar por encima sí aparece la
   línea, como confirmación de que es clicable. */
.prose { color: var(--ink-mid); }
.link-inline { color: var(--ink); text-decoration: none; }
.link-inline:hover, .link-inline:focus-visible { text-decoration: underline; text-underline-offset: 0.18em; }

/* Logos de colaboradores al final de nosaltres. */
.prose .prose__img { margin: 0.4rem 0 1rem; text-align: center; }
.prose__img img { width: 190px; max-width: 60%; height: auto; }

/* "Amb: nom, nom, nom." — la lista de personas de recerca. Centrada, para que
   no se lea como un párrafo más. */
.prose__people { text-align: center; margin: 1.4rem 0 0; }

/* Galería de una página de texto (recerca): fotos apiladas, ancho de columna,
   ampliables al hacer clic como las de la agenda. */
.prose__gallery { display: flex; flex-direction: column; gap: 0.8rem; margin: 1.4rem 0 0; }
.prose__shot { display: block; width: 100%; padding: 0; cursor: zoom-in; }
.prose__shot img { width: 100%; height: auto; display: block; aspect-ratio: 3 / 2 auto; background: var(--img-placeholder); }

/* Exposicions/Recerca: lista de nombres (cada uno abre un modal con bio + fotos
   + PDF). Columna de color como la agenda: --col de ancho, centrada, fondo gris,
   nombres a la izquierda con el mismo margen interno que los bloques. */
.people { list-style: none; margin: 0 auto; padding: 1.6rem 1rem; width: var(--col); max-width: 100%; background: var(--grey-soft); }
.person { margin: 0 0 0.9rem; }
.person-spacer { height: 2.4rem; }
.person__name { font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; }
.person__role { margin-left: 0.5rem; color: var(--ink-soft); font-weight: 400; font-size: 0.85rem; }
.person__open { display: inline-flex; align-items: baseline; gap: 0.5rem; text-align: left; padding: 0; }
.person--clickable .person__open::after { content: "+"; color: var(--ink-soft); font-weight: 400; }
.person--clickable:hover .person__name { text-decoration: underline; }
.person--clickable:hover .person__open::after { color: var(--ink); }
.m-pdf { margin: 0.8rem 0 0; }
.m-pdf a:hover { text-decoration: underline; }

/* Botiga */
.shop {
  max-width: var(--col); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr; gap: 2.4rem;
}
/* El <button> centra su contenido en vertical cuando la celda de la rejilla es
   más alta que la ficha (fichas con títulos de distinto largo). Con flex-column
   el contenido vuelve arriba y todas las cajas empiezan a la misma altura. */
.product { display: flex; flex-direction: column; width: 100%; text-align: left; }
.product__media { background: var(--media-bg); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
/* 'contain': la foto se ve ENTERA dentro de la caja, sea horizontal o vertical.
   Con 'cover' las verticales salían recortadas por arriba y por abajo. */
.product__media img { width: 100%; height: 100%; object-fit: contain; }
/* Orden de la ficha: títol — preu / autor / +info (editorial, traducció…). */
.product__info { display: flex; flex-direction: column; line-height: 1.35; margin-top: 0.6rem; }
.product__row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.product__title { font-weight: 700; min-width: 0; }
.product__price { flex: 0 0 auto; }
.product__author { font-size: 0.85rem; }
.product__editorial { font-size: 0.78rem; color: var(--ink-soft); }
@media (min-width: 560px) { .shop { grid-template-columns: 1fr 1fr; } }

/* Contacte: texto de intro arriba, axonometría del local en medio, dirección
   + los 3 links (IG · Newsletter · Medium) abajo. */
.contact { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: space-between; flex: 1; gap: 2rem; }
/* Centrado y SIN hyphens: al partir palabras, todas las líneas llegaban al
   mismo ancho y el párrafo se leía como justificado. */
.contact__intro { position: relative; z-index: 1; max-width: var(--col); margin: 0; text-align: center; hyphens: manual; text-wrap: pretty; }
/* Axonometria de fons: absoluta i centrada, DARRERE del text (no ocupa scroll). */
.contact__axo { position: absolute; inset: 0; margin: auto; max-width: 16rem; max-height: 40svh; width: auto; height: auto; z-index: 0; pointer-events: none; }
.contact__info { position: relative; z-index: 1; margin: 0; width: 100%; }
.contact__addr { margin: 0 0 0.4rem; }
.contact__email { margin: 0 0 1.4rem; }
.contact__email a:hover { text-decoration: underline; }
.contact__links { margin: 0; display: flex; gap: 1.6rem; justify-content: center; }
.contact__links a:hover { text-decoration: underline; }

/* Newsletter (secció pròpia): intro + alta al butlletí */
.newsletter { text-align: center; margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.newsletter__intro { max-width: 30rem; margin: 0; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.newsletter__input { font: inherit; border: 1px solid var(--ink); background: none; padding: 0.45rem 0.7rem; min-width: 13rem; text-align: center; }
.newsletter__btn { border: 1px solid var(--ink); padding: 0.45rem 1rem; letter-spacing: 0.04em; }
.newsletter__btn:not(:disabled):hover { background: var(--ink); color: var(--bg); }
.newsletter__btn:disabled { opacity: 0.5; cursor: not-allowed; }
.newsletter__feedback { min-height: 1.2em; margin: 0; color: var(--ink-soft); letter-spacing: 0.04em; }

/* Carret */
.cart { text-align: center; margin: auto 0; color: var(--ink-soft); letter-spacing: 0.06em; }
.cart--full { text-align: left; color: var(--ink); max-width: var(--col); width: 100%; margin: 0 auto; }
.cart-items { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.2rem; }
.cart-item { display: grid; grid-template-columns: 3rem 1fr 4rem auto; gap: 0.7rem; align-items: center; }
.cart-item__img { width: 3rem; height: 3rem; object-fit: cover; }
.cart-item__title { font-weight: 700; }
.cart-item__qty { width: 3.4rem; border: 1px solid var(--ink); background: none; padding: 0.25rem 0.3rem; text-align: center; font: inherit; }
.cart-item__price { justify-self: end; white-space: nowrap; }
.cart-item__remove { margin-left: 0.4rem; opacity: 0.6; }
.cart-item__remove:hover { opacity: 1; }
.cart__total { display: flex; justify-content: space-between; font-weight: 700; border-top: 1px solid var(--ink); padding-top: 0.8rem; margin-bottom: 1.2rem; }
.cart__zone { display: block; margin-bottom: 0.3rem; }
.cart__zone select { font: inherit; border: 1px solid var(--ink); background: none; padding: 0.25rem 0.4rem; margin-left: 0.5rem; }
.cart__zone-note { font-size: 0.82rem; color: var(--ink-soft); margin: 0 0 1rem; }
.cart__pay { margin-top: 0.4rem; }
.cart__feedback { color: var(--ink-soft); min-height: 1.2em; margin: 0.7rem 0 0; }
.cart__back { margin-top: 1.6rem; }
.cart__back a:hover, .cart--thanks a:hover { text-decoration: underline; }
.cart--thanks { color: var(--ink); }
.cart__thanks-title { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

/* ============================================================
   BARRAS FIJAS  —  marco de marca: TAT arriba · ARA abajo
   Grid de 3 columnas (1fr auto 1fr) para que la marca quede
   siempre centrada, sean cuales sean los anchos de los lados.
   ============================================================ */
.bar {
  position: fixed;
  left: 0; right: 0;
  z-index: 30;
  height: var(--bar-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 1rem;
  background: var(--bg);
  letter-spacing: 0.04em;
}
.bar--top { top: 0; }
.bar--bottom { bottom: 0; }

.bar__menu { grid-column: 1; justify-self: start; }
.bar__menu:hover { text-decoration: underline; }

.bar__brand {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  gap: 0.55em;                 /* el aire entre TAT y ARA cuando van juntos (móvil) */
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1.15rem;
}
.bar__word { display: inline-flex; }

/* MÓVIL (< 720px): la marca entera "TAT ARA" vive en el header; el centro del
   footer queda vacío. El "ARA" del footer sigue en el DOM pero no se muestra. */
.bar__brand--foot { display: none; }

/* Carrito: única acción del extremo derecho del header. */
.bar__cart { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 0.15rem; color: var(--ink); }
.bar__cart-icon { height: 34px; width: auto; display: block; }
.bar__cart-count { font-size: 0.75rem; font-weight: 700; }

/* Footer: sección actual (izq, discreta, abre el menú) e idioma activo (der,
   un botón que abre el modal de idioma). */
.bar__section { grid-column: 1; justify-self: start; color: var(--ink-soft); font-size: 0.85rem; letter-spacing: 0.04em; }
.bar__section:hover { color: var(--ink); text-decoration: underline; }
/* Móvil: solo el idioma activo (botón → modal). Escritorio: cat es en inline. */
/* Columna fija: si el ARA del centro se oculta (móvil) el idioma NO debe
   deslizarse a la columna central. */
.bar__langbox { grid-column: 3; justify-self: end; }
.bar__lang { font-size: 0.85rem; letter-spacing: 0.04em; }
.bar__lang:hover { text-decoration: underline; }
.bar__langs { display: none; gap: 0.7rem; }
.bar__langs button { font-size: 0.85rem; letter-spacing: 0.04em; color: var(--ink-soft); }
.bar__langs button.is-active { color: var(--ink); font-weight: 700; }
@media (min-width: 560px) {
  .bar__langbox .bar__lang { display: none; }
  .bar__langbox .bar__langs { display: flex; }
}

/* En pantallas estrechas los extremos se aprietan para no invadir la marca
   centrada (TAT / ARA). */
@media (max-width: 430px) {
  .bar { padding: 0 0.8rem; }
  .bar__section { font-size: 0.78rem; }
  .bar__lang { font-size: 0.78rem; }
  .bar__brand { font-size: 1.05rem; letter-spacing: 0.1em; gap: 0.45em; }
}

/* ============================================================
   MENÚ OVERLAY  (fundido, igual que el cambio de vista)
   ============================================================ */
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--bg);
  padding: 1.4rem 1.4rem var(--bar-h);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--fade) ease,
              visibility 0s linear var(--fade);
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--fade) ease,
              visibility 0s;
}

.menu__head { display: flex; align-items: flex-start; justify-content: space-between; }
.menu__title { letter-spacing: 0.04em; }
.menu__close { line-height: 0; padding: 0.2rem; margin: -0.2rem; transition: opacity 0.15s ease; }
.menu__close:hover { opacity: 0.55; }

.menu__list { list-style: none; margin: 2.2rem 0 0; padding: 0; }
.menu__list li { margin: 0.55rem 0; }
.menu__list a { font-size: 1.15rem; letter-spacing: 0.02em; }
.menu__list a.is-active { font-weight: 700; }

/* Selector d'idioma dins del menú: baix-esquerra, actiu en negreta */
.menu__langs { margin-top: auto; display: flex; gap: 1.4rem; }
.menu__langs button { font-size: 1rem; letter-spacing: 0.04em; color: var(--ink-soft); }
.menu__langs button.is-active { color: var(--ink); font-weight: 700; }

/* ============================================================
   MODAL (eventos / productos)
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: var(--backdrop); }
.modal__dialog {
  position: relative; z-index: 1;
  width: min(560px, 92vw);
  max-height: 86dvh; overflow: auto;
  background: var(--bg);
  border: 1px solid var(--ink);
  padding: clamp(1.2rem, 5vw, 2rem);
}
.modal__close { position: absolute; top: 0.5rem; right: 0.6rem; line-height: 0; }
.modal__body img { width: 100%; height: auto; margin-bottom: 1rem; }
.modal__body .m-when { font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.04em; margin: 0; }
.modal__body .m-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 6vw, 2rem); letter-spacing: 0.05em; text-transform: uppercase; margin: 0.4rem 0 0.2rem; line-height: 1.1; }
.modal__body .m-person { font-weight: 700; margin: 0 0 1rem; }
/* Justificado y partiendo palabras: en monoespaciada los huecos entre palabras
   solo se cierran si el navegador puede partir. hyphenate-limit-chars evita los
   cortes de dos letras, que son los que se leen mal. */
.modal__body .m-desc { line-height: 1.6; text-align: justify; hyphens: auto; hyphenate-limit-chars: 6 3 3; }
.modal__body .m-bio { margin-top: 1.4rem; }
.modal__body .m-link { margin: 1.2rem 0 0; font-weight: 700; }
.modal__body .m-price { font-weight: 700; margin: 1rem 0 0.6rem; }
.m-buy { border: 1px solid var(--ink); padding: 0.6rem 1rem; width: 100%; letter-spacing: 0.04em; background: none; }
.m-buy:not(:disabled):hover { background: var(--ink); color: var(--bg); }
.m-buy:disabled { opacity: 0.45; cursor: not-allowed; }

/* ============================================================
   MODAL D'IDIOMA  (des del botó del footer)
   ============================================================ */
.langmodal { position: fixed; inset: 0; z-index: 70; display: none; place-items: center; }
.langmodal.is-open { display: grid; }
.langmodal__backdrop { position: absolute; inset: 0; background: var(--backdrop); }
.langmodal__dialog { position: relative; z-index: 1; background: var(--bg); border: 1px solid var(--ink); padding: 1.6rem 2.4rem; }
.langmodal__list { display: flex; flex-direction: column; gap: 0.9rem; }
.langmodal__list button { font-size: 1.15rem; letter-spacing: 0.04em; text-align: center; }
.langmodal__list button.is-active { font-weight: 700; }
.langmodal__list button:hover { text-decoration: underline; }

/* ============================================================
   DESKTOP
   ============================================================ */
@media (min-width: 720px) {
  body { font-size: 16px; }
  .agenda__strip { max-width: var(--col); margin: 0 auto; }

  /* ESCRITORIO: vuelve el marco — TAT arriba, ARA abajo — y cada palabra
     reparte sus letras al ancho de la columna central, así las de los extremos
     quedan alineadas con los bordes de la columna. */
  .bar__word { width: var(--col); display: flex; justify-content: space-between; letter-spacing: 0; }
  .bar__brand .bar__word--mobile { display: none; }   /* el ARA de arriba solo es de móvil */
  .bar__brand--foot { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .menu, #view { transition: none; }
}
