/* V29 hero-copy + mobile in-artwork layout styles. Loads after v28-ui.css.
 * Desktop (>=800px) keeps the approved V28-R2 layout exactly; every rule in
 * this file is scoped to .v28-hero pages and (except the two desktop copy
 * tweaks for the new line lengths) to <=799px.
 *
 * Mobile model (V29-2, replaces V28-R1's below-image copy):
 *   .v28-hero pages get a fixed-height TOP EXTENSION BAND (user-approved
 *   method) whose colour continues the artwork's studio background:
 *     [ band: logo 111px top-left | headline/subhead/CTA right of logo ]
 *     [ artwork, original ratio, unchanged                             ]
 *   - copy is absolutely positioned inside the band => carousel height is
 *     identical for all three Home slides (no switching jump) and the copy
 *     can never cover products/subjects below;
 *   - carousel controls (arrows/dots/play) are pulled out of flow and laid
 *     over the artwork near its bottom edge with a contrast scrim; the old
 *     below-image CTA row and the v26 flow duplicate block are hidden;
 *   - the V28-R2 carousel picture aspect-ratio placeholders are kept.
 */

/* ---------- desktop: only adapt copy metrics to the new line lengths.
 * Geometry (logo, band-free left band copy, padding-tops) unchanged. ------- */
@media(min-width:800px){
  .v28-hero .v26-copy,
  .v28-hero .v25-slide.v26-slide .v26-copy{gap:9px}
  .v28-hero .v25-slide.v26-slide .v26-title{font-size:34px}
  .v28-hero .v26-title{font-size:34px}
  .v28-hero .v26-desc{font-size:14.5px}
}
@media(min-width:1180px){
  .v28-hero .v25-slide.v26-slide .v26-title{font-size:40px}
  .v28-hero .v26-title{font-size:40px}
  .v28-hero .v26-desc{font-size:15px}
}

/* ---------- mobile: extension band + copy right of the logo ---------- */
@media(max-width:799px){
  /* band colours continue each artwork's measured top edge */
  .v28-hero .v25-slide.v26-slide,
  .v28-hero.v26-hero{padding-top:190px;background:#e6e4db}
  .v28-hero.v26-hero-products{background:#d7ddca}
  .v28-hero.v26-hero-custom{background:#e4e4d8}
  .v28-hero.v26-hero-factory{background:#eceee3}

  /* copy group: right of the 111px logo, inside the band */
  .v28-hero .v26-copy,
  .v28-hero .v25-slide.v26-slide .v26-copy{
    position:absolute;top:12px;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:7px}
  .v28-hero .v25-slide.v26-slide .v26-title,
  .v28-hero .v26-title{font-size:18px;line-height:1.15}
  .v28-hero .v26-desc{font-size:12px;line-height:1.4;max-width:none}
  .v28-hero .v26-eyebrow{font-size:9.5px}

  /* CTA lives inside the band; the below-image duplicates disappear.
   * Selectors outrun v26's 0-3-0 mobile hide rules (they load earlier). */
  .v28-hero .v25-slide.v26-slide .v26-cta,
  .v28-hero .v26-copy .v26-cta{display:inline-flex;min-height:40px;padding:8px 16px;font-size:13px}
  .v28-hero .v25-slide.v26-slide .v26-cta-flow,
  .v28-hero .v26-cta-flow{display:none}
  .v28-hero .v26-flow{display:none!important}
  /* products/custom mobile had eyebrow/desc hidden by v26 -- the approved
   * mobile copy must actually show headline+subhead */
  .v28-hero .v26-copy .v26-eyebrow,
  .v28-hero .v26-copy .v26-desc{display:block}

  /* carousel controls: inside the artwork, near its bottom edge */
  .v28-hero.v25-carousel{position:relative}
  .v28-hero .v25-controls{
    position:absolute;left:0;right:0;bottom:0;z-index:5;
    padding:26px 12px 10px;
    background:linear-gradient(to top,rgba(20,32,26,.42),rgba(20,32,26,0));}
  .v28-hero .v25-status{position:absolute;width:1px;height:1px;margin:-1px;
    overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}  /* sr-only */
  .v28-hero .v25-arrow,.v28-hero .v25-play,.v28-hero .v25-dots [role=tab]{
    box-shadow:0 1px 6px rgba(0,0,0,.35)}
  .v28-hero .v25-dots [data-v25-dot]::after{border-color:#fff}
  .v28-hero .v25-dots [data-v25-dot].on::after{background:#fff}
}
/* very narrow phones: a touch more band room for the longer wraps */
@media(max-width:389px){
  .v28-hero .v25-slide.v26-slide,
  .v28-hero.v26-hero{padding-top:206px}
  .v28-hero .v25-slide.v26-slide .v26-title,
  .v28-hero .v26-title{font-size:17px}
}

/* ---------- video modal: ensure native controls get every pointer ---------- */
.modal{pointer-events:auto}
.modal video{pointer-events:auto;display:block;width:100%;height:auto;background:#000;touch-action:none}
