/* Shared full-screen brand and partners panels. Keep layout separate from content. */
.moove-story-section {
    box-sizing:border-box; width:100%; flex:none; position:relative;
    height:calc(100vh - var(--moove-story-menu-height,50px));
    height:calc(100dvh - var(--moove-story-menu-height,50px));
    scroll-margin-top:var(--moove-story-menu-height,50px);
    display:flex; align-items:center; justify-content:center;
    padding:clamp(20px,5vw,76px); overflow:auto;
    font-family:AvenirN,Arial,sans-serif;
}
.moove-story-section * {box-sizing:border-box}
.moove-story-brand {background:#293f5a;color:#fff}
.moove-story-partners {background:#f7f7ef;color:#293f5a}
.moove-story-inner {width:min(100%,1280px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,5vw,80px);align-items:center;max-height:100%;margin:auto}
.moove-story-copy {min-width:0}
.moove-story-section h2 {margin:0 0 20px;font-size:clamp(36px,6vw,92px);font-weight:700;line-height:.98;letter-spacing:-.045em}
.moove-story-section h3 {margin:0 0 15px;font-size:clamp(22px,3vw,40px);font-weight:700;line-height:1.1}
.moove-story-section p {margin:0 0 20px;font-size:clamp(15px,1.55vw,22px);line-height:1.5;white-space:pre-line}
.moove-story-image {width:100%;min-width:0;min-height:0;aspect-ratio:4/3;max-height:54vh;overflow:hidden;background:#8ac6d0}
.moove-story-image img {display:block;width:100%;height:100%;object-fit:cover}
.moove-story-image-placeholder {display:grid;place-items:center;width:100%;height:100%;padding:20px;color:#293f5a;font-size:clamp(12px,1.2vw,17px);font-weight:700;letter-spacing:.12em;text-align:center}
.moove-story-brand .moove-story-image {background:#ddeb17}
.moove-partners-inner {grid-template-columns:1fr;gap:clamp(12px,2vh,28px)}
.moove-partners-inner>h2 {margin:0}
.moove-partner-list {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));gap:24px;min-height:0}
.moove-partner {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(18px,4vw,56px);min-width:0}
.moove-partner-button {display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;min-height:44px;border:0;border-radius:6px;background:#ddeb17;color:#293f5a;font:700 12px AvenirN,Arial,sans-serif;letter-spacing:.08em;text-decoration:none}
.moove-partner-button:disabled {opacity:.65;cursor:default}
.moove-partner-button:focus-visible {outline:3px solid #ff15f0;outline-offset:3px}
@media(max-width:760px) {
 .moove-story-section {padding:20px}
 .moove-story-inner,.moove-partner {grid-template-columns:minmax(0,1fr);gap:16px}
 .moove-story-section h2 {font-size:clamp(35px,10vw,58px);margin-bottom:12px}
 .moove-story-section p {font-size:15px;margin-bottom:12px}
 .moove-story-image {aspect-ratio:16/10;max-height:33dvh}
 .moove-partner .moove-story-image {max-height:26dvh}
 .moove-partners-inner>h2 {margin:0}
 .moove-partner-list {grid-template-columns:1fr}
}
.moove-story-text-only{grid-template-columns:minmax(0,1fr)}
.moove-story-text-only .moove-story-copy{max-width:850px}
.moove-shared-intro .moove-story-copy{max-width:850px;margin:auto}
.moove-shared-intro h2{font-size:clamp(26px,4vw,46px)}
.moove-shared-intro p{line-height:1.6}
.moove-story-partners .moove-story-inner{max-height:none}
.moove-story-partners{height:auto;min-height:calc(100vh - var(--moove-story-menu-height,50px));min-height:calc(100dvh - var(--moove-story-menu-height,50px))}

/* Partner artwork may be a transparent logo: never crop it. */
.moove-partner .moove-story-image{background:transparent}
.moove-partner .moove-story-image img{object-fit:contain}

/* One shared partner at a time; grid layers reserve the tallest slide's space. */
.moove-partner-carousel{min-width:0;position:relative}
.moove-partner-carousel .moove-partner-list{display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:center}
.moove-partner-carousel .moove-partner{grid-area:1/1;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(6px);transition:opacity .65s ease,transform .65s ease,visibility 0s linear .65s}
.moove-partner-carousel .moove-partner.is-active{opacity:1;visibility:visible;pointer-events:auto;transform:none;transition-delay:0s}
.moove-partner-carousel .moove-partner .moove-story-image img{object-fit:cover}
.moove-partner-icon-scroll{max-width:100%;overflow-x:auto;scrollbar-width:thin;margin-top:clamp(24px,4vh,48px)}
.moove-partner-icons{display:flex;align-items:stretch;gap:clamp(12px,2vw,30px);width:max-content;min-width:min(100%,200px);margin:0 auto;position:relative;padding:0 0 9px}
.moove-partner-icon{flex:none;display:flex;justify-content:center;align-items:center;width:clamp(76px,10vw,132px);min-height:60px;background:none;color:inherit;border:0;border-radius:0;padding:8px;cursor:pointer;opacity:.55;transition:opacity .4s ease;font:700 12px AvenirN,Arial,sans-serif;overflow-wrap:anywhere;text-align:center}
.moove-partner-icon img{display:block;width:100%;height:clamp(40px,6vw,66px);object-fit:contain}
.moove-partner-icon.is-active,.moove-partner-icon:hover,.moove-partner-icon:focus-visible{opacity:1}
.moove-partner-icon:focus-visible{outline:2px solid #293f5a;outline-offset:-2px}
.moove-partner-underline{position:absolute;left:0;bottom:0;height:7px;width:0;transform:translateX(0);background:#ddeb17;transition:transform .5s ease,width .5s ease;pointer-events:none}
.moove-partner-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.moove-partner-pause{display:block;margin:12px auto 0;border:0;background:transparent;color:inherit;opacity:.65;font:700 10px AvenirN,Arial,sans-serif;letter-spacing:.08em;cursor:pointer;padding:6px 14px}
@media(prefers-reduced-motion:reduce){.moove-partner-carousel .moove-partner,.moove-partner-underline,.moove-partner-icon{transition:none}}

/* V5: white, logo-first partner benefits; every selector remains visible. */
.moove-story-partners{background:#fff;overflow:visible}
.moove-partners-inner{gap:21px}
.moove-partner-kicker{font-size:11px;letter-spacing:.12em;font-weight:700;margin-top:7px}
.moove-partner-carousel{display:grid;grid-template-areas:"content" "icons";gap:30px;align-items:start}
.moove-partner-carousel .moove-partner-list{grid-area:content;align-items:start}
.moove-partner-carousel .moove-partner{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:30px;align-items:start}
.moove-partner-carousel .moove-partner.moove-story-text-only{grid-template-columns:minmax(0,1fr)}
.moove-partner-brand-logo{display:block;width:min(100%,215px);height:100px;object-fit:contain;object-position:left center;background:#fff;margin:0 0 14px}
.moove-partner-carousel .moove-story-copy h3{font-size:clamp(23px,2.5vw,38px);margin:0 0 12px}
.moove-partner-carousel p{font-size:clamp(14px,1.25vw,18px);line-height:1.5;margin:0 0 12px;white-space:pre-line}
.moove-partner-contacts:empty{display:none}
.moove-partner-carousel .moove-partner-contacts p{font-size:12px;overflow-wrap:anywhere;margin-top:12px}
.moove-partner-offer{background:#293f5a;color:white;padding:clamp(14px,2.5vw,30px);border-radius:4px;min-width:0}
.moove-partner-offer .moove-partner-kicker{color:#ddeb17;margin:0 0 12px}
.moove-partner-offer h3{color:#ddeb17;font-size:clamp(25px,3vw,42px);margin:0 0 12px;overflow-wrap:anywhere}
.moove-partner-qr{width:min(168px,100%);margin-top:12px;background:#fff}
.moove-partner-qr img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#fff}
.moove-partner-qr a{display:block}
.moove-partner-icon-scroll{grid-area:icons;margin:0;overflow:visible;min-width:0}
.moove-partner-icons{display:grid;grid-template-columns:repeat(var(--partner-count),minmax(0,1fr));width:100%;min-width:0;gap:12px;margin:0;padding:0 0 9px;background:white}
.moove-partner-icon{width:100%;min-width:0;height:82px;min-height:0;padding:7px 4px;background:#fff;opacity:1;font-size:11px;overflow-wrap:anywhere}
.moove-partner-icon img{width:100%;height:100%;object-fit:contain;background:#fff}
.moove-partner-underline{height:7px;transition:transform .5s ease,width .5s ease,height .5s ease}
@media(max-width:760px){
 .moove-story-partners{padding:21px 12px}
 .moove-partner-carousel{grid-template-areas:"icons content";grid-template-columns:76px minmax(0,1fr);gap:12px}
 .moove-partner-carousel .moove-partner{grid-template-columns:minmax(0,1fr);gap:16px}
 .moove-partner-brand-logo{height:76px;width:min(100%,180px)}
 .moove-partner-carousel p{font-size:13px}
 .moove-partner-offer h3{font-size:25px}
 .moove-partner-offer .moove-partner-kicker{font-size:9px;letter-spacing:.06em}
 .moove-partner-qr{width:min(140px,100%)}
 .moove-partner-icons{grid-template-columns:1fr;grid-auto-rows:49px;gap:5px;padding:0 7px 0 0}
 .moove-partner-icon{height:49px;padding:3px 4px;font-size:9px}
 .moove-partner-underline{left:auto;right:0;bottom:auto;top:0;width:5px;height:49px}
 .moove-partner-icon-scroll{position:sticky;top:calc(var(--moove-story-menu-height,50px) + 12px);align-self:start}
}
@media(prefers-reduced-motion:reduce){.moove-partner-underline{transition:none}}

/* Offer panel: explicitly override both public interfaces' global text colours. */
.moove-story-partners .moove-partner-offer,
.moove-story-partners .moove-partner-offer .moove-partner-kicker,
.moove-story-partners .moove-partner-offer .moove-partner-kicker span,
.moove-story-partners .moove-partner-offer p,
.moove-story-partners .moove-partner-offer p span{color:#fff!important}
.moove-story-partners .moove-partner-offer h3,
.moove-story-partners .moove-partner-offer h3 span{color:#ddeb17!important}
.moove-story-partners .moove-partner-qr{margin-left:auto;margin-right:0;border-radius:12px;overflow:hidden}
.moove-story-partners .moove-partner-qr img,
.moove-story-partners .moove-partner-qr a{border-radius:12px}

/* BRAND portrait and editorial copy, shared by SHOP and STUDIO. */
.moove-story-brand{background:#ddeb17;color:#293f5a;height:auto;min-height:calc(100vh - var(--moove-story-menu-height,50px));min-height:calc(100dvh - var(--moove-story-menu-height,50px));overflow:visible}
.moove-story-brand .moove-story-inner{max-height:none;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.moove-story-brand .moove-story-image{aspect-ratio:1;max-height:none;background:#fff;border-radius:12px}
.moove-story-brand .moove-brand-empty-image{background:#ffffff40;border:1px dashed #293f5a65}
.moove-story-brand .moove-story-image-placeholder,.moove-story-brand .moove-story-image-placeholder span{color:#293f5a!important}
.moove-story-brand h2,.moove-story-brand h2 span{color:#293f5a!important;font-size:clamp(36px,5.3vw,76px)}
.moove-story-brand p,.moove-story-brand p span{color:#000!important;font-size:clamp(15px,1.4vw,20px);line-height:1.6}
@media(max-width:760px){
 .moove-story-brand .moove-story-inner{grid-template-columns:minmax(0,1fr);gap:21px}
 .moove-story-brand .moove-story-image{max-width:480px;margin:auto}
 .moove-story-brand h2,.moove-story-brand h2 span{font-size:clamp(34px,9vw,58px)}
 .moove-story-brand p,.moove-story-brand p span{font-size:15px}
}

/* Default transparent portrait, with no photo card or inset. */
.moove-story-brand.moove-brand-default-portrait{padding:0;align-items:stretch}
.moove-brand-default-portrait .moove-story-inner{width:100%;margin:0;gap:0;align-items:stretch;min-height:inherit;grid-template-columns:minmax(0,min(44vw,calc((100vh - var(--moove-story-menu-height,50px)) * .528))) minmax(0,1fr)}
.moove-brand-default-portrait .moove-story-image{position:relative;width:100%;height:100%;min-height:inherit;aspect-ratio:auto;max-height:none;max-width:none;margin:0;background:transparent;border-radius:0;overflow:hidden}
.moove-brand-default-portrait .moove-story-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:left top}
.moove-brand-default-portrait .moove-story-copy{align-self:center;padding:clamp(24px,5vw,76px)}
@media(max-width:760px){
 .moove-brand-default-portrait .moove-story-inner{grid-template-columns:1fr;min-height:0}
 .moove-brand-default-portrait .moove-story-image{height:min(65vh,calc(100vw * 1.894));min-height:0}
 .moove-brand-default-portrait .moove-story-image img{object-fit:contain;object-position:left bottom}
 .moove-brand-default-portrait .moove-story-copy{padding:24px}
}

/* Mobile reading order: title, copy, portrait; cutout ends at section bottom. */
@media(max-width:760px){
 .moove-story-brand .moove-story-copy{grid-row:1}
 .moove-story-brand .moove-story-image{grid-row:2}
 .moove-brand-default-portrait .moove-story-inner{min-height:inherit;grid-template-rows:1fr auto}
 .moove-brand-default-portrait .moove-story-copy{align-self:start}
 .moove-brand-default-portrait .moove-story-image{align-self:end}
}
