/* V30 — hero copy repositioned per the user's 8 red-box references.
 * Loads after v29-ui.css. Copy wording, buttons, video, data, controls are
 * untouched; this layer only moves existing elements.
 *
 * Desktop (>=800px): the copy block (eyebrow/title/subhead, CTA below) moves
 * UP out of the vertical centre into the red-box region measured from
 * desktop-*-target.png (box tops, relative to hero height):
 *   home 27.2% | products 29.8% | custom 29.1% | factory 30.8%.
 * A max(…, 96px) floor keeps >=10px clearance under the 90px-tall logo on
 * short heroes (800-1024px viewports). Logo itself is unchanged.
 *
 * Mobile (<800px): V29's 190px/206px solid extension band is GONE -- the
 * rules that painted it (padding-top + background colours) are neutralised
 * here, so the artwork's own top edge is the hero's top edge again. Logo and
 * copy now sit in the photo's real top-left whitespace, per the red boxes
 * measured from mobile-*-target.png (relative to the photo):
 *   logo:  x 4% (unchanged),  top 17px home (4.3% of 1:1 art) / 10px others
 *   copy:  x right of logo (unchanged left), top 8% home / 14.4% products /
 *          5% custom / 13.5% factory (box tops)
 * Copy sizes are compacted slightly (17px title) so title+subhead+CTA end
 * above the bag/building rows measured per artwork (39.0-39.6% home,
 * ~50% products/custom, 46.7% factory). <=389px tightens one step further
 * (user-authorised micro-adjustment of font sizes; logo NEVER shrinks).
 * Carousel controls stay inside the artwork near its bottom edge (unchanged
 * from V29; with the band removed they are automatically on the real photo).
 */

/* ---------------- desktop: copy up into the red boxes ---------------- */
@media(min-width:800px){
  .v28-hero .v26-copy,
  .v28-hero .v25-slide.v26-slide .v26-copy{
    justify-content:flex-start;padding-top:0}
  /* home slides (carousel) */
  .v28-hero.v25-carousel .v25-slide.v26-slide .v26-copy{top:max(27.2%,96px)}
  .v28-hero.v26-hero-products .v26-copy{top:max(29.8%,100px)}
  .v28-hero.v26-hero-custom   .v26-copy{top:max(29.1%,100px)}
  .v28-hero.v26-hero-factory  .v26-copy{top:max(30.8%,104px)}
}

/* ---------------- mobile: real photo, no band ---------------- */
@media(max-width:799px){
  /* neutralise V29's extension band: no padding, no painted background --
   * the photo's top edge is the hero's top edge again */
  .v28-hero .v25-slide.v26-slide,
  .v28-hero.v26-hero{padding-top:0;background:none}
  .v28-hero.v26-hero-products,
  .v28-hero.v26-hero-custom,
  .v28-hero.v26-hero-factory{background:none}

  /* logo: same 111px trimmed mark, now on the artwork's own whitespace */
  .v28-hero-logo{top:10px}
  .v28-hero.v25-carousel .v28-hero-logo{top:17px}  /* home 1:1 art, 4.3% */

  /* copy block: right of the logo, top-aligned to the measured red boxes */
  .v28-hero .v26-copy,
  .v28-hero .v25-slide.v26-slide .v26-copy{
    position:absolute;left:calc(4% + 123px);right:12px;bottom:auto;
    height:auto;transform:none;display:flex;flex-direction:column;
    justify-content:flex-start;align-items:flex-start;text-align:left;
    padding:0;gap:5px}
  .v28-hero.v25-carousel .v25-slide.v26-slide .v26-copy{top:7%}
  .v28-hero.v26-hero-products .v26-copy{top:14.4%}
  .v28-hero.v26-hero-custom   .v26-copy{top:5%}
  .v28-hero.v26-hero-factory  .v26-copy{top:13.5%}

  .v28-hero .v25-slide.v26-slide .v26-title,
  .v28-hero .v26-title{font-size:17px;line-height:1.15}
  .v28-hero .v26-desc{font-size:12px;line-height:1.38}
  .v28-hero .v26-eyebrow{font-size:9.5px}
  .v28-hero .v25-slide.v26-slide .v26-cta,
  .v28-hero .v26-copy .v26-cta{min-height:36px;padding:6px 15px;font-size:13px}
}

/* very narrow phones: one compact step further (logo unchanged) */
@media(max-width:389px){
  .v28-hero.v25-carousel .v25-slide.v26-slide .v26-copy{top:6%}
  .v28-hero.v26-hero-products .v26-copy{top:9%}
  .v28-hero.v26-hero-custom   .v26-copy{top:4%}
  .v28-hero.v26-hero-factory  .v26-copy{top:10%}
  .v28-hero .v25-slide.v26-slide .v26-title,
  .v28-hero .v26-title{font-size:16px}
  .v28-hero .v26-desc{font-size:11px}
  .v28-hero .v25-slide.v26-slide .v26-cta,
  .v28-hero .v26-copy .v26-cta{min-height:34px;padding:6px 14px}
}
