/* ==========================================================================
   assets/pages/presa.css = the page <style> of pages/presa.html: page "Presă" (prefix pg-presa-)
   Press about Doina Vin, "in other people's words": the claim beside the winery photo; the articles
   and interviews year by year (each headline links to the original, the byline sits in the margin
   from 1200 px, excerpts quoted verbatim); the organiser's press release on the 2026 Bag-in-Box
   title (quoted, never linked: no public URL on file); the press contact.
   Content: content/pages/brand/press.json (RO). Facts: content/facts.yaml (data-fact names the fact
   id). The 2025 drafts stay out (PRESS_2025_DRAFTS). Layout only: kit tokens.
   press role (2026-10-19), "Doina Vin în presă": in-page chips, the outlet strip, the featured
   critic card, the language filter (radio chips + :has(), no JavaScript), summaries, quotes with
   their translation, archive links, the video cards (drawn poster, the card links out) and the
   "Surse și arhive" note. Phones first; 390 and 1440 px checked.
   press-review (2026-10-19): 44 px hit areas for the outlet names, the archive and original links,
   the featured meta link and the filter chips; a jump link's target stays visible under a filter.
   ========================================================================== */
html:not([data-motion="off"]) { scroll-behavior: smooth; }   /* only this page loads this file */
.pg-presa-sec { padding-block: var(--section); }
.pg-presa-sec--band { background: var(--band); }
.pg-presa-sechead { display: grid; gap: var(--sp-3); max-width: 46rem; margin-bottom: var(--sp-7); }
.pg-presa-sechead h2 { text-wrap: balance; }
.pg-presa-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
:where(.pg-presa-clip, .pg-presa-video, .pg-presa-sec, .pg-presa-sources) { scroll-margin-top: calc(var(--header-h) + var(--sp-4)); }

/* head: the claim and its lead beside the winery photo (full bleed on phones; the kit's hero drift) */
.pg-presa-head { padding-top: var(--sp-6); }
.pg-presa-head__grid { display: grid; gap: var(--sp-6); }
.pg-presa-head__text { display: grid; gap: var(--sp-3); align-content: start; }
.pg-presa-head h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--track-display); }
.pg-presa-hero { margin: 0 calc(-1 * var(--page-gutter)); }
.pg-presa-hero .dvh-hero__media { aspect-ratio: 3 / 2; }
.pg-presa-hero .dvh-hero__media > img { object-position: 50% 64%; }

/* in-page chips under the lead (counts from the list) */
.pg-presa-nav { margin-top: var(--sp-2); }
.pg-presa-nav__list { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.pg-presa-nav .dvh-chip { height: 36px; }

/* the outlet strip: every publication that wrote about us, each name jumps to its newest item */
.pg-presa-outlets { padding-top: var(--sp-7); }
.pg-presa-outlets__in { display: grid; gap: var(--sp-3); padding-block: var(--sp-5); border-block: 1px solid var(--line); }
.pg-presa-outlets__title { font-size: var(--fs-kicker); line-height: var(--lh-kicker); }
.pg-presa-outlets__list { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2) var(--sp-5); }
.pg-presa-outlets__list a {
  position: relative; display: inline-block; padding-block: 6px; font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.2;
  color: var(--muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .22em;
  transition: color var(--dur-hover) var(--ease-out), text-decoration-color var(--dur-hover) var(--ease-out);
}
.pg-presa-outlets__list a:hover { color: var(--ink); text-decoration-color: var(--line); }
.pg-presa-outlets__list a::before { content: ""; position: absolute; inset: -4px; }   /* 44 px hit area (46 on phones); rows 8 px apart, so the areas meet without overlapping */

/* the featured row: the critic's scores beside his own words */
.pg-presa-feature {
  display: grid; gap: var(--sp-5); margin-bottom: var(--sp-8); padding: var(--sp-6) var(--sp-5);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-media);
}
.pg-presa-feature__score { display: grid; gap: var(--sp-2); align-content: start; }
.pg-presa-feature__num {
  font-family: var(--font-display); font-weight: var(--fw-display); font-size: clamp(64px, 17vw, 112px); line-height: .92;
  letter-spacing: var(--track-display); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
}
.pg-presa-feature__unit { max-width: 22ch; font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--muted); }
.pg-presa-feature__body { display: grid; gap: var(--sp-4); align-content: start; }
.pg-presa-feature__title { font-family: var(--font-text); font-size: var(--fs-meta); line-height: var(--lh-meta); font-weight: var(--fw-ui); }
.pg-presa-feature__title a { position: relative; color: var(--ink); text-decoration-color: var(--line); text-underline-offset: .2em; }
.pg-presa-feature__title a::before { content: ""; position: absolute; inset: -13px -4px; }   /* 44 px hit area around the one-line meta link */
.pg-presa-feature__quote blockquote p { font-family: var(--font-display); font-size: var(--fs-quote); line-height: var(--lh-quote); font-style: italic; text-wrap: balance; }
.pg-presa-feature__quote figcaption { margin-top: var(--sp-2); font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--muted); }
.pg-presa-feature__sum { max-width: 62ch; text-wrap: pretty; }
.pg-presa-feature__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); font-size: var(--fs-meta); line-height: var(--lh-meta); }
.pg-presa-feature__orig { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--ink); font-weight: var(--fw-ui); text-decoration-color: var(--line); text-underline-offset: .2em; }
.pg-presa-feature__orig:hover { text-decoration-color: currentColor; }
.pg-presa-feature__orig .dvh-icon { color: var(--muted); }

/* quotes on this page carry typographic marks in their own language */
.pg-presa-clip__quote blockquote p::before, .pg-presa-feature__quote blockquote p::before { content: open-quote; }
.pg-presa-clip__quote blockquote p::after, .pg-presa-feature__quote blockquote p::after { content: close-quote; }
.pg-presa-clip__quote blockquote, .pg-presa-feature__quote blockquote { quotes: "„" "”"; }
:is(.pg-presa-clip__quote, .pg-presa-feature__quote) blockquote:lang(en) { quotes: "“" "”"; }
:is(.pg-presa-clip__quote, .pg-presa-feature__quote) blockquote:lang(ru) { quotes: "«" "»"; }

/* the translation of a quote, in the page's language */
.pg-presa-tr { margin-top: var(--sp-2); max-width: 62ch; font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--muted); text-wrap: pretty; }
.pg-presa-tr__label { margin-right: 4px; color: var(--ink); font-weight: var(--fw-ui); }

/* the archive copy (Wayback Machine) */
.pg-presa-arch { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; }
.pg-presa-arch:hover { color: var(--ink); text-decoration-color: currentColor; }
.pg-presa-arch .dvh-icon { width: 16px; height: 16px; }
:is(.pg-presa-arch, .pg-presa-feature__orig)::before { content: ""; position: absolute; inset: -6px -4px; }   /* 44 px hit area; the two links wrap 12 px apart */

/* the language filter: radio chips; :has() hides the other languages (no :has(), no filtering, every item shows).
   The item a link jumps to (:target, from the outlet strip or the featured card) stays visible under any filter. */
.pg-presa-feed { min-width: 0; }
.pg-presa-filter { margin: 0 0 var(--sp-5); padding: 0; border: 0; min-width: 0; }
.pg-presa-filter__legend { margin-bottom: var(--sp-2); padding: 0; font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--muted); }
.pg-presa-filter__chips { position: relative; display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-2); }
.pg-presa-filter .dvh-chip::before { inset: -7px -2px; }   /* the kit's -6px counts from inside the 1 px border (42 px); 44 here, rows 12 px apart */
.pg-presa-filter__input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.pg-presa-filter__input:checked + .dvh-chip { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.pg-presa-filter__input:checked + .dvh-chip .dvh-chip__count { color: var(--line); }
.pg-presa-filter__input:focus-visible + .dvh-chip { outline: 2px solid var(--focus); outline-offset: 2px; }
.pg-presa-feed:has(#pg-presa-lang-ro:checked) :is(.pg-presa-clip:not([data-lang="ro"], :target), .pg-presa-year:not(:has(.pg-presa-clip[data-lang="ro"], :target))),
.pg-presa-feed:has(#pg-presa-lang-ru:checked) :is(.pg-presa-clip:not([data-lang="ru"], :target), .pg-presa-year:not(:has(.pg-presa-clip[data-lang="ru"], :target))),
.pg-presa-feed:has(#pg-presa-lang-en:checked) :is(.pg-presa-clip:not([data-lang="en"], :target), .pg-presa-year:not(:has(.pg-presa-clip[data-lang="en"], :target))) { display: none; }
.pg-presa-feed:has(.pg-presa-filter__input:not(#pg-presa-lang-all):checked) .pg-presa-clip { border-top: 0; }
.pg-presa-feed:has(#pg-presa-lang-ro:checked) .pg-presa-clip[data-lang="ro"] ~ .pg-presa-clip[data-lang="ro"],
.pg-presa-feed:has(#pg-presa-lang-ru:checked) .pg-presa-clip[data-lang="ru"] ~ .pg-presa-clip[data-lang="ru"],
.pg-presa-feed:has(#pg-presa-lang-en:checked) .pg-presa-clip[data-lang="en"] ~ .pg-presa-clip[data-lang="en"] { border-top: 1px solid var(--line); }

/* the articles, year by year: an ink rule opens each year, hairlines between its articles */
.pg-presa-years { border-bottom: 1px solid var(--line); }
.pg-presa-year { display: grid; column-gap: var(--col-gap); border-top: 1px solid var(--ink); }
.pg-presa-year + .pg-presa-year { margin-top: var(--sp-5); }
.pg-presa-year__num { padding-top: var(--sp-4); font-size: var(--fs-numeral); line-height: var(--lh-numeral); font-weight: var(--fw-display); letter-spacing: var(--track-display); font-variant-numeric: tabular-nums lining-nums; }
.pg-presa-year__num--nodate { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: 0; }
.pg-presa-clip { display: grid; padding-block: var(--sp-5); }
.pg-presa-clip + .pg-presa-clip { border-top: 1px solid var(--line); }
.pg-presa-clip:target { background: var(--band); box-shadow: 0 0 0 var(--sp-3) var(--band); }
.pg-presa-clip__title { margin-top: var(--sp-2); max-width: 40rem; font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-title); text-wrap: balance; }
.pg-presa-clip__link { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: .2em; }
.pg-presa-clip__link:hover { text-decoration-color: currentColor; }
.pg-presa-clip__link .dvh-icon, .pg-presa-video__link .dvh-icon { display: inline-block; width: 18px; height: 18px; margin-left: 6px; vertical-align: -1px; color: var(--muted); }
.pg-presa-clip__link:hover .dvh-icon, .pg-presa-video__link:hover .dvh-icon { color: var(--ink); }
.pg-presa-clip__src { font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--muted); }
.pg-presa-clip__src > :not(.pg-presa-clip__sep, .pg-presa-clip__note) { white-space: nowrap; }   /* lines break only after a "·" */
.pg-presa-clip__outlet { color: var(--ink); font-weight: var(--fw-ui); }
.pg-presa-clip__nodate { font-style: italic; }
.pg-presa-clip__lang > [aria-hidden] {
  display: inline-block; padding: 0 6px; border: 1px solid var(--control); border-radius: 3px;
  font-size: 11px; line-height: 17px; letter-spacing: .06em; font-weight: var(--fw-ui); color: var(--ink); vertical-align: 1px;
}
.pg-presa-clip__sum { margin-top: var(--sp-3); max-width: 62ch; text-wrap: pretty; }
.pg-presa-clip__quote { margin: var(--sp-4) 0 0; padding-left: var(--sp-4); border-left: 1px solid var(--control); max-width: 62ch; }
.pg-presa-clip__quote blockquote p { font-family: var(--font-display); font-size: var(--fs-card); line-height: 1.55; font-style: italic; text-wrap: pretty; }
.pg-presa-clip__quote figcaption { margin-top: var(--sp-2); font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--muted); }
.pg-presa-clip__quote figcaption::before { content: "— "; }
.pg-presa-clip__links { margin-top: var(--sp-2); }

/* the videos: a drawn poster (no embed, no third-party image); the whole card links out */
.pg-presa-sec--video { padding-top: 0; }
.pg-presa-sec--video > .dvh-container::before { content: ""; display: block; margin-bottom: var(--sp-6); border-top: 1px solid var(--ink); }   /* inset like the year rules */
.pg-presa-videos { display: grid; gap: var(--sp-7) var(--col-gap); }
.pg-presa-video { position: relative; display: grid; gap: var(--sp-4); align-content: start; }
.pg-presa-video:target .pg-presa-video__poster { outline: 2px solid var(--ink); outline-offset: 4px; }
.pg-presa-video__poster {
  position: relative; aspect-ratio: 16 / 9; overflow: clip; border-radius: var(--radius-media); color: var(--on-deep);
  background: radial-gradient(120% 90% at 15% 0%, rgb(255 255 255 / .12), transparent 62%), radial-gradient(80% 70% at 100% 100%, rgb(0 0 0 / .28), transparent 70%), var(--deep);
}
.pg-presa-video__ch { position: absolute; left: var(--sp-4); bottom: var(--sp-3); right: 6.5rem; font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.15; color: var(--on-deep); }
.pg-presa-video__dur { position: absolute; right: var(--sp-3); bottom: var(--sp-3); padding: 2px 8px; border-radius: 3px; background: rgb(0 0 0 / .45); color: #fff; font-size: var(--fs-meta); line-height: var(--lh-meta); font-variant-numeric: tabular-nums; }
.pg-presa-video__play {
  position: absolute; inset: 0; width: 76px; height: 76px; margin: auto; border: 1px solid var(--on-deep-muted); border-radius: 50%;
  transition: transform var(--dur-hover) var(--ease-out), background-color var(--dur-hover) var(--ease-out), border-color var(--dur-hover) var(--ease-out);
}
.pg-presa-video__play::after {
  content: ""; position: absolute; inset: 0; width: 20px; height: 24px; margin: auto; translate: 3px 0;
  background: var(--on-deep); clip-path: polygon(0 0, 100% 50%, 0 100%); transition: background-color var(--dur-hover) var(--ease-out);
}
.pg-presa-video:hover .pg-presa-video__play { background: var(--on-deep); border-color: var(--on-deep); transform: scale(1.06); }
.pg-presa-video:hover .pg-presa-video__play::after { background: var(--deep); }
.pg-presa-video__body { display: grid; gap: var(--sp-2); align-content: start; }
.pg-presa-video__title { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-title); text-wrap: balance; }
.pg-presa-video__link { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: .2em; }
.pg-presa-video__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* the whole card */
.pg-presa-video__link:focus-visible { outline: none; }
.pg-presa-video:has(.pg-presa-video__link:focus-visible) { outline: 2px solid var(--focus); outline-offset: 6px; border-radius: var(--radius-media); }
.pg-presa-video:hover .pg-presa-video__link { text-decoration-color: currentColor; }
.pg-presa-video__sum { max-width: 62ch; text-wrap: pretty; }
.pg-presa-video__quote { margin-top: var(--sp-2); }
.pg-presa-video__links { position: relative; z-index: 2; }

/* the press release: the news beside the organiser's own words */
.pg-presa-release { display: grid; gap: var(--sp-6); }
.pg-presa-release__head { display: grid; gap: var(--sp-3); }
.pg-presa-release__quote { border-left-width: 1px; }   /* every quote on this page carries the same 1 px rule */
.pg-presa-release__quote blockquote p { font-size: var(--fs-h3); line-height: 1.45; text-wrap: pretty; }

/* the press contact: the courtyard, the one filled action, the address to copy */
.pg-presa-contact { display: grid; gap: var(--sp-6); }
.pg-presa-contact__media { margin: 0; aspect-ratio: 4 / 3; overflow: clip; border-radius: var(--radius-media); background: var(--band); }
.pg-presa-contact__media > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.pg-presa-contact__body { display: grid; gap: var(--sp-4); align-content: center; }
.pg-presa-contact__body h2 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
.pg-presa-contact__body .pg-presa-actions { margin-top: var(--sp-2); }
.pg-presa-contact__mail { display: flex; align-items: center; gap: var(--sp-2); }
.pg-presa-contact__addr { color: var(--ink); user-select: all; }

/* "Surse și arhive": the last word on the page, with the date the list was checked */
.pg-presa-sources { padding-bottom: var(--section); }
.pg-presa-sources__in { display: grid; gap: var(--sp-3); padding-top: var(--sp-5); border-top: 1px solid var(--ink); }
.pg-presa-sources__title { font-size: var(--fs-h3); line-height: var(--lh-h3); }
.pg-presa-sources__text { display: grid; gap: var(--sp-2); max-width: 62ch; font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--muted); }
.pg-presa-sources__date { color: var(--ink); }

@media (min-width: 760px) {
  .pg-presa-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .pg-presa-head { padding-top: var(--sp-7); }
  .pg-presa-head__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-8); align-items: end; }
  .pg-presa-hero { margin: 0; }
  .pg-presa-hero .dvh-hero__media { aspect-ratio: 4 / 3; border-radius: var(--radius-media); }

  .pg-presa-outlets { padding-top: var(--sp-8); }
  .pg-presa-outlets__in { grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); column-gap: var(--col-gap); align-items: baseline; }

  .pg-presa-feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--sp-8); align-items: center; padding: var(--sp-7); }
  .pg-presa-feature__score { padding-right: var(--sp-7); border-right: 1px solid var(--line); align-self: stretch; align-content: center; }

  .pg-presa-filter { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); column-gap: var(--col-gap); align-items: center; }
  .pg-presa-filter__legend { float: left; margin: 0; }   /* a floated legend joins the grid like any child */

  .pg-presa-year { grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); }
  .pg-presa-year__num { position: sticky; top: calc(var(--header-h) + var(--sp-5)); align-self: start; padding-top: var(--sp-5); }

  .pg-presa-release { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; grid-template-areas: "head quote" "actions quote"; column-gap: var(--sp-8); row-gap: var(--sp-6); align-items: start; }
  .pg-presa-release__head { grid-area: head; }
  .pg-presa-release__quote { grid-area: quote; }
  .pg-presa-release__actions { grid-area: actions; }

  .pg-presa-contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-8); align-items: center; }
  .pg-presa-contact__media { aspect-ratio: 4 / 5; }
  .pg-presa-contact__media > img { object-position: 50% 60%; }

  .pg-presa-sources__in { grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); column-gap: var(--col-gap); align-items: baseline; }
}
/* the byline moves into the margin once the headline column keeps a comfortable measure beside it */
@media (min-width: 1200px) {
  .pg-presa-clip { grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); grid-template-areas: "title src" "sum src" "quote src" "links src"; grid-template-rows: auto auto auto 1fr; column-gap: var(--sp-8); align-items: start; }
  /* scoped to the list items: the video cards reuse the quote and links classes inside their own grid */
  .pg-presa-clip > .pg-presa-clip__title { grid-area: title; margin-top: 0; }
  .pg-presa-clip > .pg-presa-clip__src { grid-area: src; display: grid; gap: 2px; padding-top: 4px; }
  .pg-presa-clip > .pg-presa-clip__src > * { white-space: normal; }
  .pg-presa-clip > .pg-presa-clip__src > .pg-presa-clip__sep { display: none; }
  .pg-presa-clip > .pg-presa-clip__sum { grid-area: sum; }
  .pg-presa-clip > .pg-presa-clip__quote { grid-area: quote; }
  .pg-presa-clip > .pg-presa-clip__links { grid-area: links; }
}
