/* ==========================================================================================================
   D-071 · Press room (loaded by /press/ only, after styles.css). Amendment 2.
   Same grid as /for-studios/ (.px-page-hero-in / .px-sec, 1180px). Two working blocks:
   01 a chart desk: every headline in an index on the left, one large chart with its caption and files
      on the right (press.js switches; without scripting all twelve print in sequence);
   02 news cards: the outlet's name is a coloured button straight to the story; colours are ours,
      one accent per outlet, no third-party logos.
   ========================================================================================================== */
.px-page-hero, .pr-page { --pr-card: linear-gradient(180deg, rgba(22, 26, 31, 0.78), rgba(12, 14, 17, 0.78));
  --pr-border: rgba(154, 166, 180, 0.16); }
.pr-page .px-sec { padding-top: clamp(48px, 6vw, 80px); }
.pr-sec { scroll-margin-top: 72px; }
.pr-page .px-icon { width: 20px; height: 20px; image-rendering: pixelated; }

/* ---------- small tags (hero) ---------- */
.pv-tag { font-family: var(--px); font-size: 0.98rem; letter-spacing: 0.04em; color: var(--gold); }
.pv-tag.is-ice { color: var(--ice); }

/* ---------- hero: three tiles in place of small print ---------- */
.pr-sources { list-style: none; margin: 0; padding: 0 0 clamp(30px, 4vw, 48px); display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 980px; }
.pr-sources a { display: grid; gap: 4px; height: 100%; box-sizing: border-box; padding: 14px 18px 15px; text-decoration: none;
  background: var(--pr-card); border: 1px solid var(--pr-border); border-radius: 12px;
  transition: border-color var(--dur-fast), transform var(--dur-fast); }
.pr-sources a:hover { border-color: var(--gold-soft); transform: translateY(-2px); }
.pr-sources a:focus-visible { outline: none; box-shadow: var(--focus); }
.pr-sources b { font-family: var(--num); font-weight: 600; font-size: 1.08rem; color: var(--text); }
.pr-sources li:first-child a { border-color: var(--gold-soft); background: linear-gradient(180deg, rgba(246, 196, 83, 0.12), rgba(12, 14, 17, 0.8)); }

/* ---------- 01 · gallery: the image is the content, one row of downloads under it ---------- */
.pr-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; }
html.js .pr-gallery.is-collapsed:not(.is-open) .pr-chart[data-more] { display: none; }
.pr-chart { margin: 0; min-width: 0; scroll-margin-top: 84px; border-radius: 12px; }
.pr-chart.is-hit .pr-img { animation: prHit 1.6s var(--ease); }
@keyframes prHit { 0%, 60% { box-shadow: 0 0 0 3px var(--gold); } 100% { box-shadow: 0 0 0 0 transparent; } }
.pr-img { display: block; line-height: 0; border-radius: 12px; overflow: hidden; background: #0b0d16; cursor: zoom-in;
  border: 1px solid var(--pr-border); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.pr-img img { width: 100%; height: auto; aspect-ratio: 1200 / 630; display: block; }
.pr-img:hover { transform: translateY(-3px); border-color: var(--gold-soft); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45); }
.pr-img:focus-visible { outline: none; box-shadow: var(--focus); }
.pr-chart figcaption { padding: 10px 2px 0; }
.pr-chart h3 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pr-dl { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; }
.pr-dl a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; text-decoration: none;
  font-size: 0.84rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast); }
.pr-dl a:hover { border-color: var(--ice-soft); color: var(--ice-bright); background: var(--ice-faint); }
.pr-dl a.pr-dl-main { color: var(--gold); border-color: var(--gold-soft); }
.pr-dl a.pr-dl-main:hover { background: var(--gold); border-color: var(--gold); color: #12100a; }
.pr-dl a:focus-visible { outline: none; box-shadow: var(--focus); }
.pr-more-row { margin: 22px 0 0; text-align: center; }
.pr-more-row[hidden] { display: none; }
.pr-more { cursor: pointer; padding: 12px 26px; border-radius: 999px; font: 700 0.95rem/1 var(--sans); color: var(--gold);
  background: rgba(246, 196, 83, 0.08); border: 1px solid var(--gold-soft); transition: background var(--dur-fast), color var(--dur-fast); }
.pr-more:hover { background: var(--gold); color: #12100a; }
.pr-more:focus-visible { outline: none; box-shadow: var(--focus); }

/* ---------- chart viewer (press.js): over the page, never in place of it ---------- */
html.pr-lb-on { overflow: hidden; }
.pr-lb { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: var(--text); }
.pr-lb::backdrop { background: rgba(4, 5, 8, 0.86); backdrop-filter: blur(3px); }
.pr-lb[open] { display: grid; place-items: center; }
.pr-lb-box { position: relative; width: min(1200px, calc(100vw - 32px)); max-height: calc(100vh - 32px); display: grid; gap: 12px; }
.pr-lb-img { width: 100%; height: auto; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 12px; background: #0b0d16; }
.pr-lb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.pr-lb-count { font-family: var(--px); font-size: 1.1rem; color: var(--muted); min-width: 3.4em; text-align: center; }
.pr-lb-dl { margin-left: auto; }
.pr-lb-nav, .pr-lb-x { cursor: pointer; display: inline-grid; place-items: center; border-radius: 50%;
  font: 700 1.1rem/1 var(--sans); color: var(--text); background: rgba(20, 23, 30, 0.9); border: 1px solid var(--line);
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.pr-lb-nav { width: 42px; height: 42px; }
.pr-lb-x { position: absolute; top: -14px; right: -14px; z-index: 1; width: 44px; height: 44px; font-size: 1.6rem;
  background: var(--gold); color: #12100a; border-color: var(--gold); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5); }
.pr-lb-nav:hover { border-color: var(--gold-soft); color: var(--gold); }
.pr-lb-x:hover { background: var(--gold-bright); }
.pr-lb-nav:focus-visible, .pr-lb-x:focus-visible { outline: none; box-shadow: var(--focus); }

/* ---------- 02 · news cards: the outlet plate is the button ---------- */
.pr-clips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pr-clip { --a: var(--gold); display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--pr-card); border: 1px solid var(--pr-border); border-radius: 14px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.pr-clip.a-coral { --a: #ff7a59; } .pr-clip.a-ice { --a: var(--ice); } .pr-clip.a-violet { --a: var(--violet); }
.pr-clip.a-mint { --a: var(--emerald); } .pr-clip.a-gold { --a: var(--gold); }
.pr-clip:hover, .pr-clip:focus-within { transform: translateY(-4px); border-color: color-mix(in srgb, var(--a) 55%, transparent);
  box-shadow: 0 16px 38px color-mix(in srgb, var(--a) 22%, transparent); }
.pr-mast { position: relative; display: grid; gap: 2px; padding: 18px 20px 18px; text-decoration: none; color: var(--text); isolation: isolate;
  background:
    radial-gradient(140% 120% at 100% 0%, color-mix(in srgb, var(--a) 46%, transparent), transparent 62%),
    linear-gradient(135deg, color-mix(in srgb, var(--a) 26%, #0d1015), #0b0d12 78%);
  border-bottom: 1px solid color-mix(in srgb, var(--a) 45%, transparent); }
.pr-mast::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity var(--dur) var(--ease);
  background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--a) 40%, transparent), transparent 70%); }
.pr-mast:hover::after, .pr-mast:focus-visible::after { opacity: 1; }
.pr-mast:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--a); }
.pr-mast-meta { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--a) 55%, var(--text)); }
.pr-mast b { font-family: var(--serif); font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.1; color: #fff; margin-top: 6px; }
.pr-mast-dom { font-size: 0.86rem; color: var(--a); }
.pr-mast-go { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 16px;
  border-radius: 999px; background: var(--a); color: #0b0d12; font-weight: 700; font-size: 0.88rem;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--a) 35%, transparent); transition: gap var(--dur-fast), transform var(--dur-fast); }
.pr-mast-go span { transition: transform var(--dur-fast); }
.pr-mast:hover .pr-mast-go { transform: translateY(-1px); }
.pr-mast:hover .pr-mast-go span { transform: translate(2px, -2px); }
.pr-story { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 20px 18px; }
.pr-hl { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1.02rem; line-height: 1.42; color: var(--text); }
.pr-gloss { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--muted); }
.pr-also { margin: 0; font-size: 0.82rem; color: var(--muted-2); }
.pr-also a { color: var(--a); }
.pr-fig { align-self: flex-start; margin-top: auto; padding-top: 6px; font-size: 0.86rem; font-weight: 600; color: var(--body); text-decoration: none;
  border-bottom: 1px dashed var(--line); }
.pr-fig::after { content: " \2192"; color: var(--a); }
.pr-fig:hover { color: var(--text); border-bottom-color: var(--a); }
.pr-fig:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

/* ---------- 03 · credit ---------- */
.pr-cites { display: grid; gap: 8px; max-width: 900px; }
.pr-cites .citation-box { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pr-clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pr-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pr-sources { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .pr-clips, .pr-gallery { grid-template-columns: minmax(0, 1fr); }
  .pr-lb-x { top: -10px; right: -6px; }
  .pr-lb-dl { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pr-sources a, .pr-img, .pr-dl a, .pr-more, .pr-lb-nav, .pr-lb-x, .pr-clip, .pr-mast::after, .pr-mast-go, .pr-mast-go span { transition: none; }
  .pr-clip:hover, .pr-clip:focus-within, .pr-sources a:hover, .pr-mast:hover .pr-mast-go { transform: none; }
  .pr-img:hover, .pr-mast:hover .pr-mast-go span { transform: none; }
  .pr-chart.is-hit .pr-img { animation: none; }
}
