/* Inner hero art only. The homepage does not load this stylesheet.
   Mask the painting itself, with no colour overlay or blend-mode wash. */
:root body.inner-imagery #main .inner-art-hero{position:relative;isolation:isolate;overflow:clip}
:root body.inner-imagery #main .inner-art-hero::after{content:none!important}
:root body.inner-imagery #main .inner-art-hero>.inner-paint{
 display:flex!important;align-items:center;justify-content:center;
 position:absolute!important;inset:32px 0 32px auto!important;
 width:48%!important;height:auto!important;max-height:none!important;
 margin:0!important;padding:0;border:0;border-radius:0;background:none;box-shadow:none;
 opacity:1!important;mix-blend-mode:normal!important;
 -webkit-mask-image:none!important;mask-image:none!important;pointer-events:none;
}
:root body.inner-imagery #main .inner-art-hero>.inner-paint img,
:root body.inner-imagery #main .inner-art-chapter>.inner-paint img{
 display:block;width:100%;height:auto!important;max-width:100%;object-fit:contain!important;object-position:center!important;
 opacity:1!important;filter:none!important;mix-blend-mode:normal!important;
 -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 26%,#000 74%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 22%,#000 72%,transparent 100%)!important;
 mask-image:linear-gradient(90deg,transparent 0%,#000 26%,#000 74%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 22%,#000 72%,transparent 100%)!important;
 -webkit-mask-composite:source-in;mask-composite:intersect;
}

/* A painting gets a separate row on phones and tablets, before all copy. */
@media(max-width:900px){
 :root body.inner-imagery #main .inner-art-hero{display:flex!important;flex-direction:column;align-items:stretch;min-height:0;padding-top:24px;padding-bottom:48px}
 :root body.inner-imagery #main .inner-art-hero>.inner-paint{
 position:relative!important;inset:auto!important;order:-1!important;
 width:100%!important;max-width:560px!important;height:auto!important;min-height:0!important;
 aspect-ratio:auto!important;flex:none;align-self:center;margin:0 0 24px!important;
 }
 :root body.inner-imagery #main .inner-art-hero>.inner-paint img{max-height:330px;}
 :root body.inner-imagery #main .inner-art-hero :is(.fs-hero-copy,.pricing-hero-copy,.work-hero-copy,.campaign-intro-copy){width:100%;max-width:100%}
 :root body.inner-imagery #main .inner-art-hero>.home-frame{width:calc(100% - 48px);margin-inline:auto}
 :root body.inner-imagery #main .inner-art-chapter>.inner-paint{opacity:1;mix-blend-mode:normal}
 :root body.inner-imagery #main .inner-art-chapter::after{content:none}
}
/* Compare uses its own image element rather than the inner painting figure. */
:root body.compare-page #main .compare-hero-art{right:0;top:32px;width:48%;height:calc(100% - 64px);object-fit:contain;opacity:1;-webkit-mask-image:linear-gradient(90deg,transparent,#000 26%,#000 74%,transparent),linear-gradient(180deg,transparent,#000 22%,#000 72%,transparent);mask-image:linear-gradient(90deg,transparent,#000 26%,#000 74%,transparent),linear-gradient(180deg,transparent,#000 22%,#000 72%,transparent);mask-composite:intersect;-webkit-mask-composite:source-in}

@media(max-width:900px){:root body.compare-page #main .compare-hero-art{position:relative;inset:auto;width:100%;height:auto;max-height:none;object-fit:contain}:root body.compare-page #main .compare-hero{display:flex;flex-direction:column;padding-top:24px;min-height:0}}

@media(max-width:900px){
 :root body.inner-imagery #main .inner-art-hero :is(.lb-hero-copy,.cb-hero-copy,.fv-hero-copy){width:100%;max-width:100%}
}

@media(max-width:900px){
 :root body.inner-imagery #main .inner-art-chapter>.inner-paint{height:auto;min-height:0}
}
/* Preserve the existing two-column layout on the three compact buyer pages. */
:root body.inner-imagery #main .inner-art-hero>.inner-paint{min-height:0!important}

/* The shield scene has a deliberately empty cream left half in the source.
   Leave that negative space transparent rather than revealing a pale haze. */
:root body.inner-imagery #main .inner-art-hero>.inner-paint img[src*="/inner/o-shield-"]{
 -webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 38%,#000 60%,#000 78%,transparent 100%),linear-gradient(180deg,transparent,#000 22%,#000 72%,transparent)!important;
 mask-image:linear-gradient(90deg,transparent 0%,transparent 38%,#000 60%,#000 78%,transparent 100%),linear-gradient(180deg,transparent,#000 22%,#000 72%,transparent)!important;
}
@media(forced-colors:active){:root body.inner-imagery #main .inner-art-hero>.inner-paint,:root body.compare-page #main .compare-hero-art{display:none!important}}

/* Keep the original headline measures. Desktop paintings occupy a following
   row, so long titles never compete with art for horizontal space. */
@media(min-width:901px){
 :root body.inner-imagery #main .inner-art-hero{display:flex;flex-direction:column;align-items:stretch}
 :root body.inner-imagery #main .inner-art-hero>.inner-paint{
  position:relative!important;inset:auto!important;order:99;
  width:100%!important;max-width:640px!important;height:auto!important;
  align-self:center;flex:none;margin:32px auto 0!important;
 }
 :root body.inner-imagery #main .inner-art-hero>.inner-paint img{max-height:400px}
 /* These three pages already have a deliberate copy grid. Keep its measure. */
 :root body.inner-imagery #main .inner-art-hero.inner-art-grid{display:grid}
 :root body.inner-imagery #main .inner-art-hero.inner-art-grid>:is(.lb-hero-copy,.cb-hero-copy,.fv-hero-copy){width:100%;max-width:none}
 :root body.inner-imagery #main .inner-art-hero.inner-art-grid>.inner-paint{grid-column:2;grid-row:1;align-self:center;aspect-ratio:auto;margin:0!important}

}
/* Do not split a word to satisfy an inherited emergency wrapping rule. */
:root body.inner-imagery #main .inner-art-hero h1,
:root body.compare-page #main .compare-hero h1{overflow-wrap:normal;word-break:normal;hyphens:none}

/* Commercial heroes keep their established headline measures and give the
   remaining desktop space to art. These rules never apply to phone layouts. */
@media(min-width:1100px){
 :root body.inner-imagery #main .inner-art-hero.inner-art-commercial{
  --hero-copy-width:730px;
  display:grid;grid-template-columns:minmax(0,var(--hero-copy-width)) minmax(0,1fr);
  column-gap:24px;align-items:center;
  padding-inline:max(48px,calc((100% - 1200px)/2));
 }
 :root body.inner-imagery #main :is(.pricing-hero,.core-intro).inner-art-commercial{--hero-copy-width:620px}
 :root body.inner-imagery #main .work-hero.inner-art-commercial{--hero-copy-width:600px}
 :root body.inner-imagery #main .editorial-page-hero.inner-art-commercial{--hero-copy-width:690px}
 :root body.inner-imagery #main .inner-art-commercial>:not(.inner-paint){
  grid-column:1;grid-row:1;width:100%;max-width:100%;min-width:0;margin-inline:0;
 }
 :root body.inner-imagery #main .inner-art-commercial>.inner-paint{
  grid-column:2;grid-row:1;order:0;align-self:center;justify-self:center;
  width:100%!important;max-width:none!important;margin:0!important;aspect-ratio:auto!important;
 }
 :root body.inner-imagery #main .inner-art-commercial>.inner-paint img{max-height:480px}
 :root body.inner-imagery #main .inner-art-commercial :is(.fs-hero-copy,.pricing-hero-copy,.work-hero-copy,.campaign-intro-copy){width:100%;max-width:100%}
}
/* Desktop art fills the copy-height cell; the shared mask softly feathers all edges.
   Absolute image sizing keeps intrinsic landscape dimensions out of grid sizing. */
@media(min-width:1100px){
 :root body.inner-imagery #main .inner-art-commercial>.inner-paint{
  align-self:stretch;justify-self:stretch;min-height:320px!important;height:auto!important;
 }
 :root body.inner-imagery #main .inner-art-commercial>.inner-paint img{
  position:absolute;inset:0;width:100%;height:100%!important;max-height:none;
  object-fit:cover!important;object-position:65% center!important;
 }
 :root body.inner-imagery #main .inner-art-commercial>.inner-paint img[src*="/inner/o-shield-"]{object-position:82% center!important}
}
/* Preserve the audited headline measure at small desktop widths. Both rows
   span the content area, including wrappers which normally reserve an art column. */
@media(min-width:901px) and (max-width:1099px){
 :root body.inner-imagery #main .inner-art-hero.inner-art-commercial{
  display:flex;flex-direction:column;align-items:stretch;min-height:0;
  padding-inline:48px;
 }
 :root body.inner-imagery #main .inner-art-commercial>:not(.inner-paint){
  width:100%;max-width:100%;min-width:0;margin-inline:0;
 }
 :root body.inner-imagery #main .inner-art-commercial :is(.fs-hero-copy,.pricing-hero-copy,.work-hero-copy,.campaign-intro-copy){width:100%;max-width:100%}
 :root body.inner-imagery #main .inner-art-commercial>.inner-paint{
  width:100%!important;max-width:760px!important;height:auto!important;
  margin:32px auto 0!important;align-self:center;aspect-ratio:auto!important;
 }
 :root body.inner-imagery #main .inner-art-commercial>.inner-paint img{
  width:100%;height:auto!important;max-height:none;object-fit:contain!important;
  object-position:center top!important;
 }
}
@media(min-width:901px){
 :root body.inner-imagery #main .inner-art-commercial>.inner-paint img{
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 30%,#000 70%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 25%,#000 75%,transparent 100%)!important;
  mask-image:linear-gradient(90deg,transparent 0%,#000 30%,#000 70%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 25%,#000 75%,transparent 100%)!important;
  -webkit-mask-composite:source-in;mask-composite:intersect;
 }
 /* The pricing source has a black studio backdrop. Lighten composites those
    dark pixels into the teal hero instead of leaving a rectangular black patch. */
 :root body.inner-imagery #main .pricing-hero.inner-art-commercial>.inner-paint{mix-blend-mode:lighten!important}
 :root body.inner-imagery #main .pricing-hero.inner-art-commercial>.inner-paint img{object-position:right center!important}
}

/* Pricing only: blend the black studio backdrop into the phone hero. */
@media(max-width:900px){
 :root body.inner-imagery #main .pricing-hero.inner-art-commercial>.inner-paint{mix-blend-mode:lighten!important}
}
/* Article guides own a real copy column; paintings never sit beneath text. */
:root body.inner-imagery #main .inner-editorial-header.inner-art-hero{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:32px;align-items:center}
:root body.inner-imagery #main .inner-editorial-header.inner-art-hero>.guide-hero-copy{min-width:0;width:100%;position:relative}
:root body.inner-imagery #main .inner-editorial-header.inner-art-hero>.inner-paint{position:relative!important;inset:auto!important;grid-column:2;grid-row:1;order:0;width:100%!important;max-width:none!important;margin:0!important;align-self:center}
:root body.inner-imagery #main .inner-editorial-header.inner-art-hero h1{max-width:100%}
@media(max-width:900px){
 :root body.inner-imagery #main .inner-editorial-header.inner-art-hero{grid-template-columns:minmax(0,1fr);gap:24px}
 :root body.inner-imagery #main .inner-editorial-header.inner-art-hero>.inner-paint{grid-column:1;grid-row:1;max-width:560px!important;justify-self:center}
 :root body.inner-imagery #main .inner-editorial-header.inner-art-hero>.guide-hero-copy{grid-column:1;grid-row:2}
}

/* Guide headers escape the narrow reading column only on desktop. Explicit
   cells prevent the art-first markup from auto-placing copy in a second row. */
@media(min-width:901px){
 :root body.inner-imagery #main .inner-editorial-header.inner-art-hero{
  width:min(1200px,calc(100vw - 96px));max-width:none;
  margin-inline:calc((100% - min(1200px,100vw - 96px))/2);
  grid-template-columns:minmax(0,58fr) minmax(0,42fr);
  gap:32px;padding:40px 0 48px;min-height:0;
 }
 :root body.inner-imagery #main .inner-editorial-header.inner-art-hero>.guide-hero-copy{
  grid-column:1;grid-row:1;max-width:none;align-self:center;
 }
 :root body.inner-imagery #main .inner-editorial-header.inner-art-hero h1{
  font-size:clamp(48px,4.45vw,64px);max-width:18ch;line-height:1.08;
  margin:0 0 24px;text-wrap:balance;
 }
 :root body.inner-imagery #main .inner-editorial-header.inner-art-hero>.inner-paint{
  align-self:stretch;min-height:320px!important;height:auto!important;
 }
 :root body.inner-imagery #main .inner-editorial-header.inner-art-hero>.inner-paint img{
  position:absolute;inset:0;width:100%;height:100%!important;max-height:none;
  object-fit:cover!important;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent),linear-gradient(180deg,transparent,#000 10%,#000 90%,transparent)!important;
  mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent),linear-gradient(180deg,transparent,#000 10%,#000 90%,transparent)!important;
 }
}

/* Keep the comparison prompt and illustration together on wide screens. */
:root body.compare-page #main .compare-hero{
 display:grid;grid-template-columns:minmax(0,1fr);gap:24px;
 padding:clamp(36px,6vw,84px) max(24px,calc((100% - 1320px)/2));
 min-height:0;
}
:root body.compare-page #main .compare-hero>.home-frame{
 width:100%;max-width:none;margin:0;padding:0;grid-row:1;
}
:root body.compare-page #main .compare-hero-art{
 position:relative;inset:auto;width:100%;max-width:640px;height:auto;
 max-height:none;justify-self:center;margin:0;grid-row:2;
}
@media(min-width:1100px){
 :root body.compare-page #main .compare-hero{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(24px,3vw,56px);min-height:530px;
 }
 :root body.compare-page #main .compare-hero-art{grid-row:1;grid-column:2}
}
