/* Young Marketers — the "In partnership with" lockup. LOAD-BEARING. DO NOT IMPROVISE.

   Order and relative size are fixed. The values below were measured off the Season 15
   Announcement poster (2048px wide, strip at y2400-2545) to the pixel, and every partner mark
   in assets/partners/*-mark.png is trimmed to its own ink bounding box so these ratios apply
   directly as CSS widths with no optical guesswork.

   ORDER (never reorder, never drop one to save space):
     1. C+P Consulting Asia
     2. dentsu Redder
     3. HAVAS
     4. BRANDS Vietnam
     5. Advertising Vietnam

   WIDTH, as a multiple of the C+P mark's width:
     C+P 1.000 · dentsu Redder 0.729 · HAVAS 0.725 · BRANDS Vietnam 0.954 · Advertising VN 0.921

   GAP is constant — 0.338 x the C+P width (81px at poster scale) between every adjacent pair,
   with a 1px hairline divider centred in each gap.

   ALIGNMENT is optical centre, not baseline and not equal height. The five marks have
   deliberately different heights (43 / 98 / 37 / 60 / 53 at poster scale) because each is
   sized to look right, not to fill a box. Centre them on one horizontal axis and leave them.

   GROUND is always white or near-white. Partner marks carry their own brand colours and must
   never be knocked out, tinted, greyscaled or placed on the black ground. On a dark poster the
   lockup sits in its own full-bleed white strip at the foot — that is the rule, not a workaround. */

:root {
  --ym-partner-unit: 240px;            /* the C+P width; scale the whole lockup from here */
  --ym-partner-gap: 0.338;             /* x unit. @kind other */
  --ym-partner-divider: 1px solid var(--ym-rule); /* @kind other */

  --ym-partner-w-cp: 1; /* @kind other */
  --ym-partner-w-dentsu: 0.729; /* @kind other */
  --ym-partner-w-havas: 0.725; /* @kind other */
  --ym-partner-w-brands: 0.954; /* @kind other */
  --ym-partner-w-advn: 0.921; /* @kind other */

  /* natural aspect (w/h) of each trimmed mark — for reserving space before images load */
  --ym-partner-ar-cp: 5.512; /* @kind other */
  --ym-partner-ar-dentsu: 1.795; /* @kind other */
  --ym-partner-ar-havas: 4.737; /* @kind other */
  --ym-partner-ar-brands: 3.794; /* @kind other */
  --ym-partner-ar-advn: 4.204; /* @kind other */

  --ym-partner-strip-bg: var(--ym-paper);
  --ym-partner-label-size: 0.058;      /* label size as x unit — 14px at poster scale. @kind other */
  /* strip metrics, as x unit, measured off the S15 poster (182px strip at unit 240) */
  --ym-partner-pad-top: 0.125; /* @kind other */
  --ym-partner-pad-bottom: 0.0875; /* @kind other */
  --ym-partner-label-gap: 0.083; /* @kind other */
}
