/* Press room (/press/ and /es/prensa/). Page-only styles; every selector is scoped to the press floor.
   Tokens only (site.css); gold stays decorative; no 100vw; no new text colours. */

/* Page head: text column + a small typewriter (decor, never under text). */
body[data-floor="press"] .press-head { align-items: end; }
body[data-floor="press"] .press-head .page-head { padding-block-end: 0; }
body[data-floor="press"] .press-head__art img {
  width: min(100%, 9rem);
  max-height: none;
  opacity: 0.92;
}
@media (min-width: 56rem) {
  body[data-floor="press"] .press-head__art { place-items: end center; }
  body[data-floor="press"] .press-head__art img { width: min(100%, 15rem); }
}

/* "On this page" links: real links shaped as 44 px chips (the border is the cue, so no underline). */
body[data-floor="press"] .press-toc { margin-block-start: var(--s-5); }
body[data-floor="press"] .press-toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
body[data-floor="press"] .press-toc li { margin: 0; }
body[data-floor="press"] .press-toc a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  padding: 0 var(--s-3);
  font-size: var(--t-subhead);
  font-weight: 600;
  color: var(--ink-1);
  text-decoration: none;
  border: 1px solid var(--mark-2);
  border-radius: 999px;
  transition: border-color var(--dur-press) ease-out;
}
body[data-floor="press"] .press-toc a:hover { border-color: var(--brand-accent); }

/* Fact sheet: label left, value right on one grid; the label stacks above the value on narrow widths. */
body[data-floor="press"] .press-facts { margin-block: var(--s-4) var(--s-5); }
body[data-floor="press"] .press-facts .pair {
  grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr);
  align-items: baseline;
}
body[data-floor="press"] .press-facts .pair > dd {
  text-align: start;
  font-weight: 500;
  line-height: 1.45;
}
@container (max-width: 28rem) {
  body[data-floor="press"] .press-facts .pair { grid-template-columns: minmax(0, 1fr); }
}
/* A value that is a single link (website, press contact) gets a 44 px tall hit area. The padding grows the target;
   the equal negative margin keeps the row height and the baseline unchanged. */
body[data-floor="press"] .press-facts .pair > dd > a:only-child {
  display: inline-block;
  padding-block: 0.75rem;
  margin-block: -0.75rem;
}

body[data-floor="press"] .press-sub {
  margin-block: var(--s-6) var(--s-3);
  font-size: var(--t-title3);
}
body[data-floor="press"] .press-kit__files .press-sub { margin-block-start: 0; }

body[data-floor="press"] .press-list { margin-block-end: var(--s-5); padding-inline-start: 1.25em; }
body[data-floor="press"] .press-list li { line-height: 1.45; color: var(--ink-1); font-weight: 500; }
body[data-floor="press"] .press-list li::marker { color: var(--deco-gold); }

/* Logo kit: the logo on its tile beside the download list. */
body[data-floor="press"] .press-kit {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-5);
  align-items: center;
  margin-block-start: var(--s-5);
}
@media (min-width: 48rem) {
  body[data-floor="press"] .press-kit { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
body[data-floor="press"] .press-kit__show {
  display: grid;
  place-items: center;
  padding-block: var(--s-6);
}
body[data-floor="press"] .press-kit__show picture { display: block; width: min(100%, 12rem); }
body[data-floor="press"] .press-kit__show img { display: block; width: 100%; height: auto; }

/* Download links: one 44 px row each; the file type, pixel size and file size never wrap internally. */
body[data-floor="press"] .press-files {
  display: grid;
  gap: var(--s-2);
  margin: 0 0 var(--s-3);
  padding: 0;
  list-style: none;
}
body[data-floor="press"] .press-files li { margin: 0; }
body[data-floor="press"] .press-file {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-1) var(--s-2);
  min-height: var(--target);
  padding: var(--s-2) var(--s-3);
  font-size: var(--t-callout);
  font-weight: 600;
  color: var(--ink-1);
  text-decoration: none;
  background: var(--noir-2);
  border: 1px solid var(--mark-2);
  border-radius: var(--radius-1);
  transition: border-color var(--dur-press) ease-out, transform var(--dur-press) ease-out;
}
body[data-floor="press"] .press-file:visited { color: var(--ink-1); }
body[data-floor="press"] .press-file:hover { border-color: var(--brand-accent); }
body[data-floor="press"] .press-file:active { transform: scale(0.97); }
body[data-floor="press"] .press-file__icon { flex: none; width: 1rem; height: 1rem; fill: var(--brand-accent); }
body[data-floor="press"] .press-file__type { font-weight: 700; letter-spacing: 0.04em; }
body[data-floor="press"] .press-file__size { color: var(--ink-2); font-weight: 500; }

/* Screenshots: each phone frame with its own downloads underneath, centred in its column. The columns stretch to
   the row's height and the downloads sit in the last track, so the buttons line up across the row (D30) even
   when one caption is a line shorter. */
body[data-floor="press"] .press-shots { margin-block-start: var(--s-6); align-items: stretch; }
body[data-floor="press"] .press-shot {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  align-items: start;
  gap: var(--s-3);
  width: 100%;
  min-width: 0;
}
body[data-floor="press"] .press-shot .shot { margin-block-end: 0; }
body[data-floor="press"] .press-files--shot { justify-items: center; }
body[data-floor="press"] .press-note { margin-block-start: var(--s-5); }

/* The book: cover beside its facts. */
body[data-floor="press"] .press-book {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-6);
  align-items: center;
}
@media (min-width: 56rem) {
  body[data-floor="press"] .press-book { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
body[data-floor="press"] .press-book__cover { margin: 0; }
body[data-floor="press"] .press-book__cover .cover { width: min(100%, 18rem); }
body[data-floor="press"] .press-book__text { min-width: 0; }
body[data-floor="press"] .press-book__more { margin-block: var(--s-4) 0; }

/* Boilerplate: rows pair the two languages (short with short, long with long); equal-height cards. */
body[data-floor="press"] .press-boiler {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-4);
  margin-block-start: var(--s-5);
  align-items: stretch;
}
@media (min-width: 56rem) {
  body[data-floor="press"] .press-boiler { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body[data-floor="press"] .press-boiler__card h3 {
  margin-block-end: var(--s-3);
  font-size: var(--t-title3);
}
body[data-floor="press"] .press-boiler__text :is(p, si-p) {
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-1);
}
body[data-floor="press"] .press-boiler__text :is(p, si-p):last-child { margin-block-end: 0; }

/* Press video: responsive 16:9 Vimeo embed. */
.press-video{position:relative;aspect-ratio:16/9;max-width:56rem;margin-inline:auto;background:#000000;border-radius:12px;overflow:hidden}
.press-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
