/* v14 | editable promotional hero. Product art remains the supplied original. */
#slider .feature-hero{display:none;min-width:0;grid-area:feature;width:100%}
#slider{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"feature" "controls";width:min(98%,1800px);margin-top:clamp(8px,1vw,16px);padding:0;row-gap:0;column-gap:0;align-content:start;background:#08140f;border-radius:18px;overflow:hidden;box-shadow:0 12px 32px #10180e18}
#slider::before{display:none}
#slider>.words,#slider>.product,#slider>.hero-actions{display:none}
#slider>.feature-hero.active{display:block}
.hero14-frame{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,44fr) minmax(0,56fr);grid-template-areas:"brands product" "copy product" "effects product" "purchase purchase";column-gap:clamp(15px,1.8vw,31px);row-gap:clamp(13px,1.5vw,25px);align-items:center;padding:clamp(24px,2.65vw,47px) clamp(27px,3.3vw,59px) clamp(22px,2.4vw,43px);min-height:0;color:#faf0d9;background:radial-gradient(ellipse at 76% 46%,#3d2918 0,transparent 57%),linear-gradient(110deg,#071710 12%,#0c1b14 48%,#17180f 100%);overflow:hidden;border-radius:18px 18px 0 0}
.hero14-frame::before{content:"";position:absolute;inset:8px;pointer-events:none;border:2px solid #fff0d3;border-radius:16px;z-index:4}
.hero14-frame::after{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background-image:url('../assets/icons/roots-stripes.svg'),linear-gradient(95deg,rgba(5,18,12,.83),rgba(5,18,12,.68) 44%,rgba(15,16,9,.48)),url('../assets/images/studio-empty-panorama.webp');background-position:top left,center,center;background-size:clamp(120px,17vw,275px) auto,cover,cover;background-repeat:no-repeat;opacity:.95}
/* Rotated corner is an independent pseudo-element of the purchase band. */
.hero14-purchase::after{content:"";position:absolute;z-index:-1;right:0;bottom:0;width:clamp(120px,17vw,275px);aspect-ratio:340/210;background:url('../assets/icons/roots-stripes.svg') no-repeat center/contain;transform:rotate(180deg);pointer-events:none}
.hero14-brands{grid-area:brands;display:flex;align-items:center;gap:clamp(12px,1.5vw,26px);width:100%;min-width:0;align-self:start;padding:0 .3vw}
.hero14-logo{display:block;width:57%;height:auto;object-fit:contain;filter:drop-shadow(0 2px 2px #0005)}
.hero14-brand-divider{width:1px;height:clamp(30px,5.5vw,82px);background:#eee2c4;opacity:.8;flex:none}
.hero14-signature{display:block;width:36%;height:auto;border-radius:4px;object-fit:contain;box-shadow:0 3px 9px #0008}
.hero14-copy{grid-area:copy;container-type:inline-size;min-width:0;align-self:center}
.hero14-copy h1{margin:0 0 clamp(12px,1.1vw,20px);font-family:var(--head);font-size:clamp(44px,15.4cqw,115px);font-weight:900;line-height:.98;letter-spacing:-.065em;font-style:oblique 13deg;text-shadow:0 3px 8px #0005}
.hero14-copy h1 span,.hero14-copy h1 em{display:block;white-space:nowrap}
.hero14-copy h1 em{font-size:.77em;color:#ffc21e;font-style:inherit;letter-spacing:-.07em;line-height:1.05;margin-top:.045em}
.hero14-copy h2{display:flex;gap:.5em;align-items:center;font:oblique 12deg 850 clamp(15px,5.2cqw,32px)/1.18 var(--head);letter-spacing:-.04em;margin:0 0 .32em}
.hero14-tricolor{display:block;width:1.85em;height:.82em;background:linear-gradient(90deg,#19813f 0 33%,#ffca27 33% 66%,#d13021 66%);transform:skew(-23deg);flex:none}
.hero14-copy p{font-size:clamp(13px,3.3cqw,21px);line-height:1.4;letter-spacing:-.025em;margin:0;max-width:47ch;color:#f6eedc}
.hero14-product{grid-area:product;align-self:center;min-width:0;position:relative;z-index:1;display:flex;justify-content:center}
.hero14-original{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;display:block;border-radius:5px;box-shadow:0 12px 35px #0008;/* Preserve the whole interface; edge fade affects only the outermost pixels. */mask-image:linear-gradient(to right,transparent 0%,#000 1.5%,#000 99%,transparent 100%)}
.hero14-effects{grid-area:effects;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;min-width:0}
.hero14-effect{display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;text-align:center;padding:3px 4px;min-width:0}
.hero14-effect+.hero14-effect{border-left:1px solid #f9e9c8aa}
.hero14-effect img{width:clamp(23px,2.65vw,44px);height:auto;display:block}
.hero14-effect>span{font:800 clamp(9px,.92vw,15px)/1.14 var(--head);letter-spacing:-.035em}
.hero14-purchase{grid-area:purchase;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr) minmax(0,1.3fr);align-items:center;gap:clamp(13px,1.8vw,31px);border-top:1px solid #dfcba951;padding-top:clamp(15px,1.7vw,29px)}
.hero14-price{display:grid;gap:4px;min-width:0;align-content:center;align-self:stretch}
.hero14-price+.hero14-price{border-left:1px solid #f8e8c8a0;padding-left:clamp(12px,1.55vw,26px)}
.hero14-price small{font-weight:800;line-height:1.16;font-size:clamp(10px,1.07vw,17px);letter-spacing:-.04em}
.hero14-price b{font:oblique 12deg 900 clamp(28px,3.45vw,57px)/.96 var(--head);color:#ffc21e;letter-spacing:-.065em;white-space:nowrap}
.hero14-price>span,.hero14-terms{font-size:clamp(11px,1.01vw,16px);letter-spacing:-.025em;line-height:1.35}
.hero14-cta{display:flex;align-items:center;justify-content:space-between;gap:8px;white-space:nowrap;min-width:0;border-radius:99px;background:#ffc21e;color:#101b14;padding:clamp(12px,1.2vw,20px) clamp(13px,1.5vw,25px);font-size:clamp(12px,1.48vw,25px);font-weight:850;letter-spacing:-.04em;box-shadow:0 2px 9px #0004}
.hero14-cta img{width:clamp(20px,2.2vw,35px);height:auto;flex:none}
.hero14-terms{display:flex;align-items:center;gap:10px;min-width:0}
.hero14-terms img{width:clamp(22px,2.4vw,38px);height:auto;flex:none}
#slider>.slide-controls{width:100%;justify-content:center;padding:0 0 4px;margin:0;background:#08140f}
@media(min-width:761px) and (max-width:1100px){.hero14-frame{padding:24px 25px 25px;column-gap:15px;row-gap:14px}.hero14-copy h1{font-size:15.5cqw}.hero14-price small,.hero14-price>span,.hero14-terms{font-size:10px}.hero14-cta{font-size:12px;padding:11px 12px}.hero14-effect>span{font-size:9px}.hero14-terms{gap:6px}.hero14-terms img{width:22px}}
@media(max-width:760px){#slider{width:calc(100% - 12px);border-radius:14px;margin-top:7px}.hero14-frame{grid-template-columns:minmax(0,1fr);grid-template-areas:"brands" "copy" "product" "effects" "purchase";row-gap:16px;padding:23px 18px 24px;border-radius:14px 14px 0 0}.hero14-frame::before{inset:5px;border:1.5px solid #fff0d3;border-radius:12px}.hero14-frame::after{background-size:140px auto,cover,cover;background-position:top left,center,center}.hero14-brands{width:min(100%,440px);justify-self:center;gap:12px}.hero14-logo{width:55%}.hero14-signature{width:38%}.hero14-brand-divider{height:42px}.hero14-copy h1{font-size:clamp(37px,15.4cqw,94px);margin:2px 0 10px}.hero14-copy h2{font-size:clamp(15px,5.2cqw,25px)}.hero14-copy p{font-size:clamp(13px,3.8cqw,18px);max-width:58ch}.hero14-product{width:100%;max-width:630px;justify-self:center}.hero14-original{mask-image:none;box-shadow:0 7px 19px #0006}.hero14-effect{gap:5px;padding:2px}.hero14-effect img{width:clamp(22px,6.5vw,36px)}.hero14-effect>span{font-size:clamp(8px,2.05vw,12px)}.hero14-purchase{grid-template-columns:1fr 1fr;gap:13px;padding-top:15px}.hero14-price b{font-size:clamp(30px,8.4vw,45px)}.hero14-price small{font-size:clamp(10px,2.7vw,14px)}.hero14-price>span{font-size:clamp(11px,2.8vw,14px)}.hero14-cta{grid-column:1/-1;justify-content:center;gap:15px;font-size:clamp(14px,4vw,20px);padding:12px 18px;width:100%}.hero14-cta img{width:24px}.hero14-terms{grid-column:1/-1;justify-content:center;font-size:11px;text-align:left}.hero14-terms img{width:25px}.hero14-purchase::after{width:125px}.hero14-price+.hero14-price{padding-left:14px}}
@media(max-width:350px){.hero14-frame{padding-inline:13px;row-gap:13px}.hero14-copy h1{font-size:15.3cqw}.hero14-effect>span{font-size:7.5px}.hero14-price small{font-size:9.5px}.hero14-terms{font-size:10px}}

/* v14.1: same editorial layout for all three slides; free products are independent. */
#slider .feature-hero.active{display:block;opacity:1;pointer-events:auto}
.hero14-frame{min-height:clamp(410px,43.6vw,770px)}
.hero14-free-line{display:flex;align-items:center;gap:9px;margin-top:clamp(9px,1.05vw,17px);font-size:clamp(11px,2.7cqw,16px);line-height:1.25;font-weight:750;color:#fff4d9}
.hero14-free-chip{background:#ffc21e;color:#121c13;font-weight:900;border-radius:3px;padding:5px 8px;font-size:.85em;letter-spacing:.04em;flex:none}
.hero14-effect-free{font-size:clamp(8px,.7vw,12px);font-weight:900;letter-spacing:.04em;color:#ffc21e;line-height:1.1}
.hero14-copy .hero14-alt-title{display:block;font:oblique 13deg 900 clamp(38px,12.8cqw,100px)/.98 var(--head);letter-spacing:-.055em;margin:0 0 .17em}
.hero14-alt-title>span:first-child{display:block}.hero14-alt-title>em{display:block;color:#ffc21e;font-style:inherit;font-size:.91em}
.hero14-copy h3{font-size:clamp(15px,4.7cqw,27px);font-weight:800;line-height:1.2;margin:0 0 .4em;letter-spacing:-.035em}
.hero14-alt-effects{grid-template-columns:repeat(4,minmax(0,1fr))}


.offer{display:flex;justify-content:center;align-items:center;gap:16px;position:relative;padding:8px clamp(8px,2vw,30px)}.hero-language{margin-left:4px;flex:none;border-color:#82621c}.hero-language button{padding:3px 7px;font-size:11px}
.single-price.is-free{color:#17613c;font-size:1rem}.analyzer-catalog-art{aspect-ratio:3/2;background:radial-gradient(ellipse at 45% 50%,#5a3b20,#0c170f 85%);display:flex;align-items:center;justify-content:center;padding:18px}.analyzer-catalog-panel{width:100%;text-align:center}.analyzer-catalog-panel img{aspect-ratio:auto;box-shadow:0 6px 14px #0008;border-radius:4px}.analyzer-catalog-panel small{display:block;color:#f5e7cc;font-size:10px;margin-top:7px}
@media(max-width:760px){.hero14-frame{min-height:0}.hero14-copy .hero14-alt-title{font-size:clamp(34px,12.8cqw,83px)}.hero14-effect-free{font-size:9px}.hero14-free-line{font-size:12px}.offer{font-size:.74rem;gap:7px}.hero-language{margin-left:0}.hero-language button{padding:3px 5px;font-size:10px}}

@media(max-width:380px){.hero14-copy h1{font-size:14.5cqw}.hero14-copy h1 em{letter-spacing:-.065em}.hero14-copy .hero14-alt-title{font-size:12.1cqw}.hero14-free-line{gap:5px;font-size:11px}}

/* v16 | Both slides remain in the same grid cell. Hidden content still contributes
   to the shared intrinsic height; the page never moves during navigation. */
#slider{grid-template-areas:"feature" "progress" "controls";grid-template-rows:auto 4px auto;align-items:stretch}
#slider > .feature-hero, #slider > .feature-hero.active{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr;grid-area:feature;align-self:stretch;min-width:0;min-height:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .35s ease,visibility 0s linear .35s;z-index:0}
#slider > .feature-hero.active{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .35s ease;z-index:1}
#slider .hero14-frame{height:100%;min-width:0;grid-template-rows:auto minmax(0,1fr) auto auto;align-content:stretch}
#slider .hero14-brands{align-self:start}
#slider .hero14-purchase{align-self:end}
.hero14-logo,.spring-ad-logo{filter:none;max-width:100%;image-rendering:auto}
#slider .hero14-frame::after{background-size:clamp(140px,20vw,320px) auto,cover,cover}
.hero14-purchase::after{width:clamp(140px,20vw,320px)}
.hero-progress{grid-area:progress;width:100%;height:4px;background:#2d3327;position:relative;overflow:hidden;z-index:3}
.hero-progress-fill{position:absolute;inset:0;background:#ffc21e;transform-origin:left center;transform:scaleX(0);will-change:transform}
#slider>.slide-controls{grid-area:controls;min-height:40px}
@media(max-width:760px){#slider .hero14-frame{grid-template-rows:auto minmax(min-content,1fr) auto auto auto;height:100%}#slider .hero14-frame::after{background-size:155px auto,cover,cover}.hero14-purchase::after{width:145px}}
@media(prefers-reduced-motion:reduce){#slider > .feature-hero,#slider > .feature-hero.active{transition:none}.hero-progress-fill{will-change:auto}}

/* Keep the reference's brush corner clear of the brand lockup. */
#slider .hero14-frame::after{background-size:clamp(125px,16.5vw,275px) auto,cover,cover}
#slider .hero14-brands{padding-left:clamp(16px,3.4vw,52px)}
#slider .hero14-logo{aspect-ratio:377/131;object-fit:contain}
#slider .hero14-copy .hero14-alt-title{font-size:clamp(28px,9.9cqw,83px);line-height:1.01}
#slider .hero14-alt-title>span:first-child{white-space:nowrap}
#slider .hero14-alt-title>em{font-size:1.18em}
@media(max-width:760px){#slider .hero14-frame::after{background-size:112px auto,cover,cover}#slider .hero14-brands{padding-left:14px}#slider .hero14-copy .hero14-alt-title{font-size:clamp(24px,10.25cqw,68px)}}
.rack-faders{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.rack-cap{filter:drop-shadow(1px 4px 3px #100900b3);animation:rack-mix var(--cycle) ease-in-out var(--offset) infinite;animation-play-state:paused}
.rack-cap.dry{--cycle:6.8s;--offset:-1.1s;--first:42px;--second:-24px}
.rack-cap.spring{--cycle:5.6s;--offset:-3.2s;--first:-32px;--second:76px}
.rack-cap.plate{--cycle:7.2s;--offset:-2.7s;--first:53px;--second:-64px}
.rack-cap.perry{--cycle:5.2s;--offset:-0.7s;--first:-55px;--second:65px}
.rack-cap.master{--cycle:8.4s;--offset:-4s;--first:20px;--second:-13px}
#slider[data-running="true"] .active .rack-cap{animation-play-state:running}
@keyframes rack-mix{
  0%,100%{transform:translateY(0)}
  29%,36%{transform:translateY(var(--first))}
  69%,75%{transform:translateY(var(--second))}
}
@media(prefers-reduced-motion:reduce){.rack-faders{display:none}}

.hero14-product.hero14-console{display:block;margin:0}
.hero14-console-art{position:relative}
.hero14-platform{margin:.55rem 0 0;color:#f6eedc;text-align:center;font-size:.875rem;line-height:1.4;font-weight:600}

.hero14-console-art .hero14-original{box-shadow:none;mask-image:linear-gradient(90deg,transparent,#0004 1.8%,#000c 4.5%,#000 7%,#000 96%,transparent)}
.effect-pair .effect-tape,#slider.show-tape .effect-pair .effect-meter{display:none}
#slider.show-tape .effect-pair .effect-tape{display:block}
.effect-pair svg{width:clamp(22px,3vw,46px);height:auto;aspect-ratio:1}
@media(min-width:761px){
  .hero14-product.hero14-console{align-self:stretch;display:grid;grid-template-rows:minmax(0,1fr) auto minmax(2.3rem,1fr)}
  .hero14-console-art{grid-row:2}
  .hero14-console .hero14-platform{grid-row:3;align-self:center;margin:0;transform:translateY(clamp(6.5px,.75vw,12.5px))}
}
@media(prefers-reduced-motion:reduce){
  .effect-pair span.effect-tape,#slider.show-tape .effect-pair span.effect-meter{display:block}
  .effect-pair span.effect-tape br{display:none}
  .effect-pair span.effect-tape br::after{content:' '}
}

@media(max-width:760px){.hero14-console .hero14-platform{margin-top:16px}}

#slider .feature-hero-alt .hero14-frame::after{
  background-image:url('../assets/icons/roots-stripes.svg'),linear-gradient(90deg,rgba(3,22,13,.89),rgba(5,20,13,.55) 52%,rgba(19,14,6,.38)),url('../assets/images/hero-spring-coils.webp');
}
#slider .hero14-copy .hero14-alt-title{
  font-size:clamp(40px,15.4cqw,115px);line-height:.94;letter-spacing:-.06em;
}
#slider .hero14-alt-title>span{display:block}
#slider .hero14-alt-title>em{font-size:.72em;line-height:1.12;margin-top:.07em;white-space:nowrap}
