/* Supplied reference: three glass product cards, with a featured centre pack. */
.storyboard .closing-collection{position:relative;isolation:isolate;padding:64px 32px 44px;border-radius:20px;background:#142c40;border:1px solid #eddfb528}
.storyboard .closing-collection .product-heading{border-bottom:1px solid #e8d6a568;padding-bottom:28px;margin-bottom:28px;align-items:center}
.storyboard .closing-collection h3#catalogue-title{font:600 clamp(32px,3.4vw,56px)/1.08 'Barlow Condensed',sans-serif;text-transform:uppercase;color:#fff9ed;margin:18px 0 0}
.storyboard .catalogue-stage{display:grid;grid-template-columns:1fr 1.55fr 1fr;gap:24px;align-items:end;height:auto;min-height:400px;overflow:visible;perspective:1200px}
.storyboard .catalogue-glow,.storyboard .catalogue-floor{display:none}
.storyboard .catalogue-card{position:relative!important;inset:auto!important;width:100%!important;height:360px!important;min-width:0;transform:none!important;opacity:1!important;filter:none!important;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;text-align:left;padding:22px;border:1px solid #e2d6ac40;border-radius:12px;background:linear-gradient(145deg,#78917e22,#10291c52);backdrop-filter:blur(7px);box-shadow:0 16px 30px #061a111c;transition:border-color .5s,background .5s,box-shadow .5s;cursor:pointer}
.storyboard .catalogue-card.is-before{order:1}.storyboard .catalogue-card.is-active{order:2;height:405px!important;border-color:#ffe29a94;background:linear-gradient(145deg,#8eaa8c36,#213f2d66);box-shadow:0 16px 38px #0c1d1733}.storyboard .catalogue-card.is-after{order:3}
.storyboard .catalogue-card:hover,.storyboard .catalogue-card:focus-visible{border-color:#ffe69c;background-color:#c2dba01a;outline-offset:5px}
.catalogue-pack-visual{height:210px;display:flex;flex-direction:column;justify-content:center;gap:8px;pointer-events:none;transform:rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transition:transform .35s ease-out}
.catalogue-pack-row{position:relative;display:block;height:58px;flex:0 0 58px}
.catalogue-pack-row img{position:absolute;left:50%;top:50%;width:26.6%;height:auto;max-width:none;transform:translate(-50%,-50%) rotate(90deg);filter:drop-shadow(0 6px 7px #071d1538)}
.catalogue-card.is-active .catalogue-pack-row{height:74px;flex-basis:74px}
.catalogue-card-copy{position:relative;margin-top:18px;color:#fff9ed}.catalogue-card-copy small{font:500 12px/1.4 'DM Sans',sans-serif;letter-spacing:.14em;color:#f1dca9}.catalogue-card-copy h4{font:500 clamp(20px,1.8vw,29px)/1.2 'DM Sans',sans-serif;margin:7px 0 9px}.catalogue-card-copy p{font:400 16px/1.5 'DM Sans',sans-serif!important;color:#fff5df!important;margin:0!important}
.storyboard .catalogue-description{display:none}.storyboard .catalogue-tabs{margin-top:28px}.storyboard .catalogue-note{font-size:14px;line-height:1.6;color:#f7efd8}
.dialog-product .catalogue-pack-visual{max-width:500px;margin:30px auto}.dialog-product .catalogue-pack-row{height:80px;flex-basis:80px}
/* Centred translucent reading panel, as in the supplied popup reference. */
.storyboard #story-hotspot-dialog{width:min(760px,calc(100vw - 40px));max-width:760px;min-height:320px;max-height:calc(100svh - 140px);padding:46px 32px 28px;border-radius:20px;border:1px solid #dfedc529;background:linear-gradient(110deg,#789276a8,#25392ac4);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 22px 65px #00160f55}
.storyboard #story-hotspot-dialog::backdrop{background:#07140e77;backdrop-filter:blur(2px)}
.storyboard #story-hotspot-dialog #hotspot-category{font-size:16px;letter-spacing:0;text-transform:none;color:#fff9e8}
.storyboard #story-hotspot-dialog #hotspot-title{font:600 clamp(30px,3.6vw,50px)/1.1 'Barlow Condensed',sans-serif;text-transform:uppercase;margin:24px 0 18px;color:#fffdf3;text-shadow:0 2px 10px #09221544}
.storyboard #story-hotspot-dialog #hotspot-description{font-size:18px;line-height:1.65;color:#fff5d9}
.storyboard #story-hotspot-dialog .hotspot-popup-nav{margin-top:30px;padding-top:15px;border-top:1px solid #f2e3b847}
@media(max-width:1100px){.storyboard .closing-collection{padding:36px 18px 30px}.storyboard .catalogue-stage{gap:14px;grid-template-columns:1fr;min-height:0}.storyboard .catalogue-card{height:320px!important;padding:22px}.storyboard .catalogue-card.is-active{height:375px!important;order:0}.storyboard .catalogue-card.is-before{order:1}.storyboard .catalogue-card.is-after{order:2}.catalogue-pack-visual{height:185px}.catalogue-pack-row{height:55px;flex-basis:55px}.catalogue-pack-row img{width:min(26.6%,94px)}.catalogue-card.is-active .catalogue-pack-row{height:70px;flex-basis:70px}.catalogue-card-copy h4{font-size:24px}.storyboard .catalogue-tabs{gap:7px;flex-wrap:wrap}.storyboard .catalogue-tabs button{font-size:14px;padding:12px 14px}.storyboard #story-hotspot-dialog{padding:38px 24px 24px;min-height:280px}.storyboard #story-hotspot-dialog #hotspot-description{font-size:16px}}
@media(prefers-reduced-motion:reduce){.catalogue-pack-visual{transition:none;transform:none}}
@media(prefers-reduced-transparency:reduce){.storyboard #story-hotspot-dialog{background:#263e2c}.storyboard .catalogue-card{background:#183728}}

.storyboard #story-hotspot-dialog{width:min(760px,calc(100vw - 40px))!important;max-width:760px!important;padding:46px 32px 28px!important;border-radius:20px!important;background:linear-gradient(110deg,#789276a8,#25392ac4)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
.storyboard #story-hotspot-dialog #hotspot-title{font-size:clamp(30px,3.6vw,50px)!important;line-height:1.1!important;margin:24px 0 18px!important}
.storyboard #story-hotspot-dialog #hotspot-description{font-size:18px!important;line-height:1.65!important}
@media(max-width:1100px){.storyboard #story-hotspot-dialog{padding:38px 24px 24px!important}.storyboard #story-hotspot-dialog #hotspot-description{font-size:16px!important}}
@media(prefers-reduced-transparency:reduce){.storyboard #story-hotspot-dialog{background:#263e2c!important}}
/* Reserve actual carton thickness so multi-pack images never collide with captions. */
.storyboard .catalogue-card{height:420px!important}.storyboard .catalogue-card.is-active{height:455px!important}
.catalogue-pack-visual{height:245px;flex:0 0 245px}.catalogue-pack-row{height:68px;flex:0 0 68px}.catalogue-card.is-active .catalogue-pack-row{height:110px;flex-basis:110px}
@media(max-width:1100px){.storyboard .catalogue-card{height:420px!important}.storyboard .catalogue-card.is-active{height:440px!important}.catalogue-pack-visual{height:225px;flex-basis:225px}.catalogue-pack-row{height:68px;flex-basis:68px}.catalogue-card.is-active .catalogue-pack-row{height:74px;flex-basis:74px}}

/* Keep trunk and canopy topic pills at their readable content width. */
.storyboard .hotspot-controls-layer[data-subject=tree].hotspot-visible .hotspot-dot-label{min-width:0!important;width:max-content!important;max-width:185px!important;white-space:nowrap;text-align:center}
/* One pack per option; increase the presentation size instead of duplicating cartons. */
.storyboard .catalogue-pack-visual{height:245px;flex:0 0 245px;align-items:center;justify-content:flex-end;padding:8px 0;overflow:visible}
.storyboard .catalogue-single-pack{position:static;display:block;height:78%;width:auto;max-width:100%;object-fit:contain;transform:none;filter:drop-shadow(8px 12px 10px #03160d66)}
.storyboard .catalogue-pack-visual[data-pack-tier="1"] .catalogue-single-pack{height:88%}
.storyboard .catalogue-pack-visual[data-pack-tier="2"] .catalogue-single-pack{height:98%}
.storyboard .dialog-product .catalogue-pack-visual{height:285px;max-width:100%;padding-top:14px}
.storyboard .catalogue-retailers{margin-top:36px;padding-top:28px;border-top:1px solid #e8d6a552;text-align:left}
.storyboard .catalogue-retailers h4{margin:0 0 18px;color:#fff9ed;font:500 24px/1.3 'DM Sans',sans-serif}
.storyboard .catalogue-retailer-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.storyboard .catalogue-retailer-links a{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:70px;padding:10px 12px;border:0;color:#fff9ed;background:transparent;font-size:16px;line-height:1.4;text-align:left;text-decoration:none}.storyboard .catalogue-retailer-links a img{display:block;flex:none;width:44px;height:44px;object-fit:contain}.storyboard .catalogue-retailer-links a span{min-width:0;overflow-wrap:anywhere}
.storyboard .catalogue-retailer-links a:hover span{text-decoration:underline}
.storyboard .catalogue-retailer-links a:focus-visible{outline-color:currentColor!important}
.storyboard .retailer-note{font-size:14px;line-height:1.6;color:#e4e4cf;margin:16px 0 0}
@media(max-width:1100px){.storyboard .catalogue-pack-visual{height:225px;flex-basis:225px}.storyboard .catalogue-retailer-links{grid-template-columns:repeat(2,minmax(0,1fr))}.storyboard .catalogue-retailer-links a{padding:12px 8px}}
@media(prefers-reduced-motion:reduce){.storyboard .catalogue-retailer-links a{transition:none}.storyboard .catalogue-retailer-links a:hover{transform:none}}
/* Let longer captions reserve real space below the larger pack image. */
.storyboard .catalogue-card{height:auto!important;min-height:455px}
.storyboard .catalogue-card.is-active{height:auto!important;min-height:480px}
@media(max-width:1100px){.storyboard .catalogue-card{min-height:425px}.storyboard .catalogue-card.is-active{min-height:450px}}
/* Strong size steps and a real extruded silhouette, using the approved front artwork. */
.storyboard .catalogue-pack-visual{perspective:850px;transform-style:preserve-3d}
.storyboard .catalogue-display-carton{height:58%;aspect-ratio:236/888;position:relative;display:block;transform-style:preserve-3d;transform:rotateY(-7deg) rotateZ(-2deg);filter:drop-shadow(9px 12px 9px #03160c80)}
.storyboard .catalogue-pack-visual[data-pack-tier="1"] .catalogue-display-carton{height:80%;transform:rotateY(-17deg) rotateZ(1deg)}
.storyboard .catalogue-pack-visual[data-pack-tier="2"] .catalogue-display-carton{height:100%;transform:rotateY(-25deg) rotateZ(-1deg)}
.storyboard .catalogue-display-carton .catalogue-single-pack{height:100%!important;width:100%;max-width:none;filter:none;display:block;object-fit:fill;backface-visibility:hidden}
.storyboard .catalogue-display-carton:after{content:'';position:absolute;left:100%;top:0;width:10px;height:100%;background:linear-gradient(90deg,#d59d1b,#a87312);transform-origin:left center;transform:rotateY(90deg);border-right:1px solid #f9d57766}
.storyboard .catalogue-display-carton:before{content:'';position:absolute;left:0;bottom:100%;width:100%;height:10px;background:linear-gradient(#e3b334,#ffdb66);transform-origin:center bottom;transform:rotateX(90deg)}
.storyboard .catalogue-pack-visual{height:280px;flex-basis:280px}
.storyboard .catalogue-display-carton{--catalogue-depth:7px;height:62%}
.storyboard .catalogue-pack-visual[data-pack-tier="1"] .catalogue-display-carton{--catalogue-depth:11px;height:82%}
.storyboard .catalogue-pack-visual[data-pack-tier="2"] .catalogue-display-carton{--catalogue-depth:16px}
.storyboard .catalogue-display-carton:after{width:var(--catalogue-depth)}
.storyboard .catalogue-display-carton:before{height:var(--catalogue-depth)}
@media(max-width:1100px){.storyboard .catalogue-pack-visual{height:245px;flex-basis:245px}}
/* Filters flatten a preserve-3d container; keep the shadow on its front face instead. */
.storyboard .catalogue-display-carton{filter:none}
.storyboard .catalogue-display-carton .catalogue-single-pack{filter:drop-shadow(8px 12px 9px #03160c70)}

/* Bundle quantities use proportional physical side depth: one, two, three cartons. */
.storyboard .catalogue-display-carton{--catalogue-depth:12px;transform:rotateY(-18deg) rotateZ(-2deg)}
.storyboard .catalogue-pack-visual[data-pack-tier="1"] .catalogue-display-carton{--catalogue-depth:24px;transform:rotateY(-24deg) rotateZ(1deg)}
.storyboard .catalogue-pack-visual[data-pack-tier="2"] .catalogue-display-carton{--catalogue-depth:36px;transform:rotateY(-30deg) rotateZ(-1deg)}
.storyboard .catalogue-display-carton:after{width:var(--catalogue-depth);background:linear-gradient(90deg,#fff0a42b,#44300855),url('assets/pack-artwork-v53/carton-story-side.webp') center/100% 100%;box-shadow:inset 1px 0 #fff0a880,inset -1px 0 #6b461f99}
.storyboard .catalogue-display-carton:before{height:var(--catalogue-depth);background:linear-gradient(#c99322,#ffdf73);box-shadow:inset 0 -1px #91651680}

/* A soft blue landscape closes the story; only background layers are blurred. */
.storyboard .closing-collection{background:#11231d44!important;overflow:hidden;border-color:#b6c9d13d}
.storyboard .closing-collection:before,.storyboard .closing-collection:after{content:'';position:absolute;pointer-events:none;z-index:0}
.storyboard .closing-collection:before{content:none}
.storyboard .closing-collection:after{inset:0;background:linear-gradient(115deg,#101b1840,#14252c26 58%,#0d1f2440)}
.storyboard .closing-collection>*{position:relative;z-index:1}
.storyboard .closing-collection .catalogue-card{background:linear-gradient(145deg,#a2b5aa12,#0d1c1b4d);border-color:#c2d0d34d;box-shadow:0 16px 30px #08142033}
.storyboard .closing-collection .catalogue-card.is-active{background:linear-gradient(145deg,#57727122,#17333555);border-color:#ffe29a94}
.storyboard .closing-collection .catalogue-card:hover,.storyboard .closing-collection .catalogue-card:focus-visible{border-color:#ffe69c;background-color:#b2cad425}


@media(prefers-reduced-transparency:reduce){.storyboard .closing-collection .catalogue-card{background:#1c374d}.storyboard .closing-collection .catalogue-card.is-active{background:#2c485f}}
.catalogue-scenery{position:absolute;inset:0;z-index:3;isolation:isolate;pointer-events:none;overflow:hidden;background:#15231f;opacity:0}
.catalogue-scenery[hidden]{display:none}
.catalogue-scenery:before,.catalogue-scenery:after{content:'';position:absolute;pointer-events:none}
.catalogue-scenery:before{inset:-28px;background:url('assets/client-models/natural-smooth-scene-v52.webp') center 58%/cover;filter:blur(12px) saturate(.9) brightness(.8);opacity:1;transform:translate3d(0,calc((1 - var(--catalogue-reveal,0))*16px),0) scale(1.02)}
.catalogue-scenery:after{inset:0;background:linear-gradient(180deg,#030c0d85, #030c0d14 26%,#030c0d2e),linear-gradient(115deg,#1221271f,#1e384829)}
@media(max-width:1100px){.catalogue-scenery:before{filter:blur(10px) saturate(.9) brightness(.8)}}
@media(prefers-reduced-motion:reduce){.catalogue-scenery:before{transform:scale(1.02)}}

/* Keep catalogue cards stable as the selected product changes. */
.storyboard #catalogue-stage {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  min-height: 0;
}

body.storyboard #catalogue-stage .catalogue-card {
  order: 0;
  height: auto !important;
  min-height: 280px;
  justify-content: flex-start;
  opacity: 1 !important;
  translate: none !important;
  animation: none;
  will-change: auto;
  border-color: #c2d0d326;
  transition: transform .18s ease-out;
}

.storyboard #catalogue-stage .catalogue-card[data-action-kind=tile] {
  border-color: #e9cf8380 !important;
}

.storyboard #catalogue-stage .catalogue-card > .ui-action-rim {
  display: none;
}

.storyboard #catalogue-stage .catalogue-card.is-active {
  border-color: #ffe29a4a;
}

.storyboard #catalogue-stage .catalogue-card:is(:hover, :focus-visible) {
  border-color: #ffe69c80;
  box-shadow: 0 16px 30px #08142033;
}

.storyboard #catalogue-stage .catalogue-pack-visual {
  height: 150px;
  flex-basis: 150px;
  justify-content: center;
  transform: none;
  transition: none;
}

.storyboard #catalogue-stage .catalogue-pack-visual .catalogue-display-carton {
  width: min(78%, 224px);
  height: auto;
  aspect-ratio: 1164 / 264;
  --catalogue-depth: 12px;
  transform: rotateY(-6deg);
}

.storyboard #catalogue-stage .catalogue-card-copy h4 {
  font-size: calc(clamp(20px, 1.8vw, 29px) - 6px);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body.storyboard #catalogue-stage .catalogue-card:hover {
    transform: translateY(-3px) !important;
  }
}

@media (max-width: 1100px) {
  .storyboard #catalogue-stage {
    grid-template-columns: 1fr;
  }

  body.storyboard #catalogue-stage .catalogue-card {
    min-height: 240px;
  }

  .storyboard #catalogue-stage .catalogue-pack-visual {
    height: 120px;
    flex-basis: 120px;
  }

  .storyboard #catalogue-stage .catalogue-card-copy h4 {
    font-size: 18px;
  }
}
