/* Keep the opening pose and the rotating product in one fixed portrait viewport. */
.hero-home.ft-immersive{height:min(840px,94svh);min-height:700px;background:radial-gradient(ellipse at 76% 45%,#364049 0,#202830 26%,#121a22 65%);isolation:isolate;overflow:hidden;color:#fff}
.ft-immersive .hero-home__inner{position:absolute;inset:0;height:100%;display:flex;align-items:center;padding:100px 5% 130px;z-index:2;pointer-events:none}
.ft-immersive .hero-home__content-wrapper{margin:0;width:48%;max-width:690px;height:auto;padding:0;justify-content:center;gap:28px}
.ft-immersive .hero-home__slogan h2{font-size:clamp(40px,4.7vw,76px)!important;line-height:1.07;letter-spacing:-.04em}
.ft-immersive .hero-home__content{margin:0;padding:0}
.ft-immersive .hero-home__content[data-sal]{opacity:1;transform:none}
.ft-immersive .hero-home__text{font-size:17px!important;line-height:1.6;max-width:370px;color:#c7cdd3}
.ft-immersive .hero-home__buttons{margin-top:28px}
.ft-immersive .hero-home__inner a{pointer-events:auto}
.ft-hero-showcase{position:absolute;top:95px;bottom:130px;right:3%;width:48%;z-index:1}
.ft-hero-slides,.ft-hero-slide{position:absolute;inset:0}
.ft-hero-slides{z-index:0;isolation:isolate}
.ft-hero-slide{opacity:0;pointer-events:none}
.ft-hero-slide.is-current{opacity:1;z-index:1;pointer-events:auto}
.ft-hero-slide.is-entering{z-index:2}
.ft-hero-showcase{display:grid;place-items:center;container-type:size}
.ft-hero-showcase[hidden]{display:none}
.ft-hero-media{position:relative;width:min(100cqw,75cqh);aspect-ratio:3/4}
.ft-hero-poster,.ft-hero-model{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.ft-hero-poster{pointer-events:none}
.ft-hero-model{opacity:0;--poster-color:transparent;--progress-bar-color:transparent;touch-action:pan-y}
.ft-hero-showcase.is-ready .ft-hero-model{opacity:1}
.ft-hero-showcase.is-ready .ft-hero-poster{opacity:0;pointer-events:none}
.ft-hero-showcase.has-fallback .ft-hero-model{opacity:0;pointer-events:none}
.ft-hero-hint{position:absolute;bottom:-12px;left:0;right:0;text-align:center;color:#abb5bf;font-size:11px;letter-spacing:.04em;opacity:0;pointer-events:none}
.ft-hero-showcase.is-ready .ft-hero-hint{opacity:1}
.ft-hero-bottom{position:absolute;z-index:3;bottom:25px;left:5%;right:5%;border-top:1px solid #ffffff26;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.ft-hero-detail{color:#fff;text-decoration:none;display:flex;gap:18px;align-items:center;min-width:0}
.ft-hero-detail strong{font-size:17px;font-weight:500}
.ft-hero-number{font-size:10px;letter-spacing:.12em;color:#a7b1ba;white-space:nowrap}
.ft-hero-controls{display:flex;gap:8px;align-items:center}
.ft-hero-controls button{cursor:pointer;color:#d5dce1;border:1px solid transparent;background:transparent;border-radius:7px;padding:4px;display:flex;align-items:center;justify-content:center}
.ft-hero-controls .ft-hero-choice{width:66px;height:64px;gap:2px;transition:background .2s,border-color .2s}
.ft-hero-choice img{width:31px;height:49px;object-fit:contain;pointer-events:none}
.ft-hero-choice span{font-size:9px;color:#aeb8c1;align-self:flex-end;padding-bottom:5px}
.ft-hero-choice[aria-pressed="true"]{border-color:#ffffff75;background:#ffffff0c}
.ft-hero-controls button:hover{background:#ffffff12}
.ft-hero-controls .ft-hero-pause{width:44px;height:44px;margin-left:8px;border-color:#ffffff3b;font-size:14px;border-radius:50%}
.ft-hero-progress{position:absolute;bottom:0;left:0;height:2px;width:var(--hero-progress,0%);background:#c4d7e7}
.ft-immersive button:focus-visible,.ft-immersive a:focus-visible,.ft-immersive model-viewer:focus-visible{outline:2px solid #fff;outline-offset:4px}
@media(max-width:1000px) and (min-width:701px){.ft-immersive .hero-home__content-wrapper{width:51%}.ft-immersive .hero-home__slogan h2{font-size:clamp(37px,5.1vw,50px)!important}.ft-hero-detail{gap:10px}.ft-hero-detail strong{font-size:14px}.ft-hero-controls{gap:4px}.ft-hero-controls .ft-hero-choice{width:52px}.ft-hero-showcase{right:0;width:47%}}
@media(max-width:700px){
 .hero-home.ft-immersive{height:850px;min-height:850px;max-height:none;background:radial-gradient(ellipse at 50% 65%,#323d47 0,#1d2730 32%,#121a22 75%)}
 .ft-immersive .hero-home__inner{position:relative;height:auto;padding:105px 24px 0;align-items:flex-start}
 .ft-immersive .hero-home__content-wrapper{width:100%;max-width:100%;gap:16px}
 .ft-immersive .hero-home__slogan h2{font-size:clamp(33px,8.8vw,44px)!important;line-height:1.08;max-width:560px}
 .ft-immersive .hero-home__text{font-size:14px!important;line-height:1.5;max-width:420px}
 .ft-immersive .hero-home__buttons{margin-top:18px}
 .ft-hero-showcase{top:380px;bottom:170px;right:4%;width:92%}
 .ft-hero-hint{bottom:-8px;font-size:10px}
 .ft-hero-bottom{bottom:17px;left:24px;right:24px;padding-top:14px;flex-direction:column;gap:11px}
 .ft-hero-detail{width:100%;gap:12px}.ft-hero-detail strong{font-size:15px}.ft-hero-detail>span:last-child{margin-left:auto}
 .ft-hero-controls{width:100%;justify-content:space-between;gap:3px}.ft-hero-controls .ft-hero-choice{width:48px;height:56px}.ft-hero-choice img{height:43px;width:28px}.ft-hero-choice span{display:none}.ft-hero-controls .ft-hero-pause{margin-left:4px;flex-shrink:0}
}
@media(max-width:370px){.hero-home.ft-immersive{height:870px}.ft-immersive .hero-home__inner{padding-inline:20px}.ft-hero-showcase{top:410px}.ft-hero-bottom{left:20px;right:20px}}
@media(prefers-reduced-motion:reduce){.ft-hero-poster,.ft-hero-model,.ft-hero-choice{transition:none}}
/* Photographic scenario plates, with the real 3D product as a separate foreground layer. */
.ft-hero-backdrops{position:absolute;inset:0;overflow:hidden;z-index:0;background:#18212a}
.ft-hero-backdrops > picture{position:absolute;inset:0;display:block;overflow:hidden}
.ft-hero-backdrops img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.ft-hero-backdrops:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,12,20,.87),rgba(4,12,20,.28) 43%,rgba(4,12,20,.06) 68%),linear-gradient(0deg,rgba(4,12,20,.95),transparent 27%,transparent 70%,rgba(4,12,20,.4))}
.ft-immersive .hero-home__inner{align-items:flex-start;padding-top:135px}
.ft-immersive .hero-home__content-wrapper{width:43%;gap:20px;max-width:580px}
.ft-immersive .hero-home__slogan h2{font-size:clamp(36px,3.5vw,56px)!important;line-height:1.09}
.ft-immersive .hero-home__text{font-size:15px!important;max-width:325px;color:#e0e4e8}
.ft-hero-showcase{top:125px;bottom:130px;width:36%;right:4%}
.ft-hero-hint{color:#e6edf3;text-shadow:0 1px 5px #000}
.ft-hero-bottom{bottom:30px;padding-top:14px}
.ft-hero-detail{white-space:nowrap}
.ft-hero-controls{min-width:0;max-width:58%;gap:7px}
.ft-hero-dots{position:relative;display:flex;align-items:center;overflow-x:auto;scrollbar-width:none;min-width:0}
.ft-hero-dots::-webkit-scrollbar{display:none}
.ft-hero-controls .ft-hero-choice{width:24px;min-width:24px;height:36px;border:0;border-radius:0;padding:8px}
.ft-hero-choice span{display:block;width:5px;height:5px;padding:0;align-self:auto;border-radius:50%;background:#a0aab2;flex-shrink:0}
.ft-hero-choice[aria-pressed="true"]{background:transparent;border:0}.ft-hero-choice[aria-pressed="true"] span{background:#fff;box-shadow:0 0 0 3px #ffffff28}
.ft-hero-controls .ft-hero-nav,.ft-hero-controls .ft-hero-pause{width:40px;min-width:40px;height:40px;border:1px solid #ffffff60;border-radius:50%;margin:0;background:#0c162466}
.ft-hero-disclosure{position:absolute;bottom:8px;right:5%;font-size:8px;color:#b3bcc5;letter-spacing:.06em}
@media(max-width:1000px) and (min-width:701px){.ft-hero-controls{max-width:56%}.ft-hero-showcase{width:40%;right:1%}.ft-immersive .hero-home__content-wrapper{width:48%}.ft-immersive .hero-home__slogan h2{font-size:40px!important}}
@media(max-width:700px){
 .hero-home.ft-immersive{height:var(--hero-mobile-height,800px);min-height:0}
 .ft-immersive .hero-home__inner{padding:110px 24px 0}
 .ft-immersive .hero-home__content-wrapper{width:100%;max-width:100%;gap:15px}
 .ft-immersive .hero-home__slogan h2{font-size:clamp(30px,8.2vw,42px)!important}
 .ft-immersive .hero-home__text{font-size:13px!important;max-width:350px}
 .ft-hero-showcase{top:var(--hero-stage-top,370px);bottom:145px;width:60%;right:0}
 .ft-hero-backdrops img{object-position:var(--scene-focus,45%) center}
 /* Extend landscape photos to the full portrait frame while keeping the action in view. */
 .ft-hero-backdrops picture:not([data-scene="firefighter"])::before{
  content:"";position:absolute;inset:-36px;background:var(--scene-mobile-image) var(--scene-focus,50%) center / cover no-repeat;
  filter:blur(24px) brightness(.77)
 }
 .ft-hero-backdrops picture:not([data-scene="firefighter"]) img{
  top:calc((100% + var(--hero-stage-top,370px) - 100px) / 2);height:clamp(280px,84vw,440px);transform:translateY(-50%);
  mask-image:linear-gradient(to bottom,transparent,#000 24%,#000 76%,transparent)
 }
 .ft-hero-backdrops [data-scene="motorsport"],.ft-hero-backdrops [data-scene="red-car"]{--scene-focus:32%}
 .ft-hero-backdrops [data-scene="red-wood"],.ft-hero-backdrops [data-scene^="black-"]{--scene-focus:28%}
 .ft-hero-backdrops [data-scene="red-petrol"]{--scene-focus:18%}
 .ft-hero-backdrops [data-scene="chrome-kitchen"]{--scene-focus:84%}
 .ft-hero-backdrops [data-scene$="-bulk"]{--scene-focus:74%}
 .ft-hero-backdrops [data-scene="fx73-original"]{--scene-focus:64%}
 .ft-hero-backdrops:after{background:linear-gradient(180deg,rgba(4,12,20,.92),rgba(4,12,20,.72) 30%,rgba(4,12,20,.1) 53%,rgba(4,12,20,.08) 70%,rgba(4,12,20,.97) 90%)}
 .ft-hero-bottom{bottom:24px;gap:10px;left:22px;right:22px}
 .ft-hero-controls{max-width:100%;width:100%;gap:6px}.ft-hero-dots{flex:1}.ft-hero-detail strong{font-size:14px}.ft-hero-detail svg{margin-left:auto;flex-shrink:0}
 .ft-hero-hint{font-size:9px;bottom:-5px}.ft-hero-disclosure{right:22px;bottom:6px}
}

.ft-hero-showcase.photo-only .ft-hero-model,.ft-hero-showcase.photo-only .ft-hero-hint{display:none}
.ft-hero-showcase.photo-only .ft-hero-poster{opacity:1}
.ft-video-gallery{padding:clamp(32px,6vw,84px) 5%;background:#f4f5f6;color:#161c23}
.ft-video-gallery h2{margin:0 0 20px;font-size:clamp(28px,4vw,44px)}
.ft-video-gallery__track{display:grid;grid-auto-flow:column;grid-auto-columns:min(78%,380px);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px}
.ft-video-gallery article{scroll-snap-align:start;border-radius:12px;overflow:hidden;background:#fff}
.ft-video-gallery img,.ft-video-gallery video{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.ft-video-gallery h3{font-size:18px;margin:12px 16px 4px}
.ft-video-gallery p,.ft-video-gallery article>a{display:block;margin:0 16px 14px;font-size:14px}

.ft-hero-showcase.photo-only .ft-hero-poster{inset:5% 0;width:100%;height:90%;object-fit:contain}

.ft-video-gallery__heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
.ft-video-gallery__controls{display:flex;gap:8px;margin-bottom:20px}
.ft-video-gallery__controls button{display:grid;place-items:center;width:40px;height:40px;border:1px solid #cfd4d9;border-radius:50%;background:#fff;color:inherit;cursor:pointer}
@media(max-width:700px){
 .ft-hero-showcase{width:44%;right:0;bottom:115px}
 .ft-hero-slide[data-scene="red-car"] .ft-hero-showcase{top:calc(var(--hero-stage-top,370px) + 112px);width:38%}
}
.ft-hero-poster.has-turntable{visibility:hidden}
.ft-hero-showcase .ft-turntable{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.ft-turntable{touch-action:pan-y;cursor:grab}
.ft-turntable:active{cursor:grabbing}
@media(max-width:700px){
 .ft-hero-slide[data-product="black-design"] .ft-hero-showcase{top:calc(var(--hero-stage-top,370px) + 126px);width:36%}
}
/* Keep the Arabic headline on the right and the product in its own column. */
@media(min-width:701px){[dir=rtl] .ft-hero-showcase{left:4%;right:auto}
 [dir=rtl] .ft-hero-backdrops:after{transform:scaleX(-1)}}
[dir=rtl] .ft-hero-nav svg,[dir=rtl] .ft-video-gallery__controls svg{transform:scaleX(-1)}

/* Keep the visor visible beside the foreground product in the original photographs. */
@media(min-width:701px){
 .ft-hero-slide[data-scene="firefighter"] .ft-hero-showcase{left:35%;right:auto;width:36%}
 .ft-hero-slide[data-scene="chrome-kitchen"] .ft-hero-showcase{left:45%;right:auto;width:32%}
 [dir=rtl] .ft-immersive[data-scene="firefighter"] .hero-home__inner{justify-content:flex-end}
 [dir=rtl] .ft-hero-slide[data-scene="firefighter"] .ft-hero-backdrops:after{transform:none}
}
@media(max-width:700px){
 .ft-hero-slide[data-scene="firefighter"] .ft-hero-showcase{top:var(--hero-stage-top,330px);bottom:115px;width:60%;right:0}
 .ft-hero-slide[data-scene="chrome-kitchen"] .ft-hero-showcase{left:0;right:auto;width:42%}
}
.ft-agent-compare,.ft-mobile-directory{max-width:1420px;margin:auto;padding:clamp(32px,5vw,72px) 5%;color:#16232c}
.ft-agent-compare h2,.ft-mobile-directory h2{margin:0 0 22px;font-size:clamp(26px,3.4vw,45px);font-weight:550}
.ft-agent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,3vw,45px)}
.ft-agent-grid article img{width:100%;height:auto;aspect-ratio:800/343;object-fit:cover;border-radius:10px;display:block}
.ft-agent-grid article a{color:inherit;text-decoration:none}
.ft-agent-grid article a:focus-visible,.ft-mobile-directory a:focus-visible{outline:3px solid #b60b31;outline-offset:3px}
.ft-agent-grid h3{display:flex;justify-content:space-between;margin:14px 0 5px;font-size:clamp(22px,2.2vw,32px)}
.ft-agent-grid h3 span{font-size:.75em;color:#9c1834}
.ft-agent-grid p{font-size:1rem;line-height:1.55;margin:0;max-width:58ch}
.ft-mobile-directory{display:none}
@media(max-width:700px){
 .ft-agent-grid{grid-template-columns:1fr;gap:26px}
 .ft-mobile-directory:not([hidden]){display:block;padding-top:10px}
 .ft-mobile-directory section{border-top:1px solid #dae0e3;padding:12px 0}
 .ft-mobile-directory ul{padding:0;list-style:none;margin:0}
 .ft-mobile-directory li{display:inline}
 .ft-mobile-directory a{display:inline-flex;align-items:center;min-height:44px;padding-inline-end:18px;color:#25333f;font-size:1rem;text-decoration:underline;text-underline-offset:3px}
 .ft-mobile-directory h3{margin:0;font-size:1.15rem}
 .ft-mobile-directory h3 a{font-size:inherit;text-decoration:none}
}

/* Factory credentials sit between the opening scene and the two agents. */
.ft-agent-compare:has(.ft-recognition){padding-block-start:clamp(18px,2.5vw,32px)}
.ft-recognition{scroll-margin-block-start:100px;padding:0 0 12px;margin:0 0 clamp(22px,3vw,42px);border-block-end:1px solid #dce2e5;text-align:start}
.ft-recognition__brand{margin:0 0 12px;font-size:clamp(.875rem,1.5vw,1rem);font-weight:500;line-height:1.4;color:#36444e}
.ft-recognition__strip{display:block;max-width:860px}
.ft-mark-group{min-width:0}
.ft-mark-group p.ft-mark-group__title{margin:0 0 7px;font-size:.875rem;line-height:1.3;font-weight:600;color:#34454e}
.ft-mark-group ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:clamp(2px,1vw,12px)}
.ft-mark-group li{min-width:0;padding:0;margin:0}
.ft-mark-group a{display:flex;align-items:center;justify-content:center;min-height:44px;color:#25343c;text-decoration:none}
.ft-mark-group img{width:clamp(38px,6vw,70px);height:clamp(38px,6vw,70px);object-fit:contain;display:block}
.ft-recognition__strip img{width:clamp(52px,7vw,84px);height:clamp(52px,7vw,84px)}
.ft-recognition__strip ul{align-items:center;flex-wrap:nowrap;min-height:clamp(52px,7vw,84px)}
.ft-mark-group a:focus-visible,.ft-recognition summary:focus-visible{outline:2px solid #b8133b;outline-offset:2px}
.ft-recognition details{margin-block-start:5px}
.ft-recognition summary{padding-block:8px;width:fit-content;cursor:pointer;font-size:.875rem;line-height:1.4;color:#36444e;text-decoration:underline;text-underline-offset:3px}
.ft-recognition__details{display:grid;gap:22px;grid-template-columns:minmax(0,1fr);padding:20px 0}
.ft-recognition__details ul{gap:6px 18px}
.ft-recognition__details a{gap:6px;justify-content:flex-start;font-size:.875rem;line-height:1.3}
.ft-recognition__details img{width:44px;height:44px;flex:none}
@media(max-width:700px){
 .ft-mark-group p.ft-mark-group__title{font-size:.76rem;margin-block-end:4px}
 .ft-mark-group img{width:clamp(29px,9vw,44px);height:clamp(29px,9vw,44px)}
 .ft-recognition__strip ul{gap:2px}
 .ft-recognition__details{grid-template-columns:1fr}
 .ft-recognition__details .ft-mark-group__title{min-height:0}
 .ft-recognition summary{min-height:44px;box-sizing:border-box;align-content:center}
}
.ft-immersive .ft-hero-showcase.photo-only{display:none}
.ft-scene-volume,.ft-agent-format{font-weight:600}
.ft-agent-grid article a.ft-agent-quote{display:inline-flex;align-items:center;min-height:44px;color:#8a1235;font-size:.95rem;text-decoration:underline;text-underline-offset:.2em}
.ft-agent-grid h3 a{display:flex;justify-content:space-between;align-items:center;width:100%}

@media (min-width: 701px) {
  .ft-hero-backdrops [data-scene="fx51-original"] img {object-position: 78% center}
  [dir=rtl] .ft-immersive[data-scene="fx51-original"] .hero-home__inner {justify-content: flex-end}
  [dir=rtl] .ft-hero-slide[data-scene="fx51-original"] .ft-hero-backdrops:after {transform: none}
}
@media (max-width: 700px) {
  .ft-hero-backdrops picture[data-scene="fx51-original"] img {
    height: auto;
    aspect-ratio: 9 / 7;
    mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 85%, transparent);
  }
}

/* A larger common frame keeps the 6 L poster, fallback and live model in proportion. */
@media (min-width: 701px) {
  .ft-hero-slide[data-product="red-6l"] .ft-hero-showcase {
    top: 88px;
    bottom: 95px;
    inset-inline: auto 2%;
    width: 40%;
  }
  .ft-hero-slide[data-scene="chrome-kitchen"] .ft-hero-media {
    width: min(80cqw, 53cqh);
  }
  .ft-hero-backdrops [data-scene="compact-boot"] img { object-position: 66% 68% }
  [dir=rtl] .ft-immersive[data-scene="compact-boot"] .hero-home__inner { justify-content: flex-end }
  [dir=rtl] .ft-hero-slide[data-scene="compact-boot"] .ft-hero-backdrops:after { transform: none }
}

@media (max-width: 700px) {
  .ft-hero-slide[data-product="red-6l"] .ft-hero-showcase {
    top: var(--hero-stage-top, 370px);
    bottom: 105px;
    right: 0;
    width: 57%;
  }
  .ft-hero-backdrops [data-scene="red-lithium"] { --scene-focus: 92% }
  .ft-hero-backdrops [data-scene="compact-boot"] { --scene-focus: 75% }
  .ft-hero-backdrops picture[data-scene="compact-boot"] img {
    mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 87%, transparent);
  }
}

/* Size the translated headings to the space left by the carousel controls. */
#main-content .ft-immersive .hero-home__slogan h2,
#main-content .ft-video-gallery :is(h2,h3),
.ft-hero-detail strong, .ft-scene-volume, .ft-mark-group__title,
.ft-recognition summary, .ft-recognition__details a {
  white-space: nowrap;
  text-wrap: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.ft-hero-detail, .ft-hero-detail strong, .ft-video-gallery__heading h2 { flex: 1; min-width: 0 }
.ft-hero-detail strong { display: block }
.ft-hero-detail svg, .ft-video-gallery__controls { flex: none }
.ft-recognition[hidden], .ft-recognition [hidden] { display: none }
.ft-recognition__details .ft-mark-group ul { flex-wrap: wrap }
@media (min-width: 701px) {
  .ft-immersive .hero-home__content-wrapper { width: 48%; max-width: 780px }
}
