/* Keep the compact composition while the scaled viewport fills the page width. */
.standard-hero-frame {
  --hero-preview-scale:.8;
  position:relative;
  overflow:hidden;
  --standard-hero-height:640px;
  width:100%;
  height:calc(var(--standard-hero-height) * var(--hero-preview-scale));
  margin-top:var(--site-nav-height,98px);
  background:#fff;
}
@media(max-width:768px) {
  .standard-hero-frame { --standard-hero-height:500px; }
}
/* Shared standardized hero rules, enabled per page by data-standard-hero. */
.hero-carousel[data-standard-hero] {
  --hero-slots:4;
  position:relative;
  height:var(--standard-hero-height);
  min-height:var(--standard-hero-height);
  max-height:var(--standard-hero-height);
  margin:0;
  width:calc(100% / var(--hero-preview-scale));
  margin-left:calc((100% - 100% / var(--hero-preview-scale)) / 2);
  transform:scale(var(--hero-preview-scale));
  transform-origin:top center;
  padding:0;
  background:#fff;
  box-shadow:none;
  overflow:hidden;
  isolation:isolate;
  touch-action:pan-y;
}
.hero-carousel[data-standard-hero] .carousel-track-container { position:absolute; inset:0; width:100%; height:100%; overflow:hidden; background:#fff; }
.hero-carousel[data-standard-hero] .carousel-track { display:flex; width:100%; height:100%; gap:0; transition:none; will-change:transform; }
.hero-carousel[data-standard-hero] .carousel-slide { flex:0 0 calc(100% / var(--hero-slots)); width:calc(100% / var(--hero-slots)); min-width:0; height:100%; padding:0; margin:0; overflow:hidden; background:#fff; border:0; border-radius:0; box-shadow:none; }
.hero-carousel[data-standard-hero] .carousel-slide > picture { display:block; width:100%; height:100%; min-width:0; }
.hero-carousel[data-standard-hero] .carousel-slide img { display:block; width:100%; height:100%; max-width:none; object-fit:contain; object-position:center; background:#fff; border:0; border-radius:0; box-shadow:none; filter:none; user-select:none; }
.hero-carousel[data-standard-hero] .hero-content { position:relative; width:min(850px,calc(100% - 48px)); max-width:none; padding:0; margin:0 auto; z-index:2; }
/* One translucent panel; no magnified copy, frosting, or masked overlay layers. */
.hero-carousel[data-standard-hero] .hero-text-box {
  position:relative; width:100%; margin:0; box-sizing:border-box; overflow:hidden;
  background:rgba(0,0,0,.38);
  border:1px solid rgba(154,149,144,.7);
  box-shadow:0 6px 24px rgba(0,0,0,.18);
  -webkit-backdrop-filter:none; backdrop-filter:none;
}
.hero-carousel[data-standard-hero] .hero-text-box::before,
.hero-carousel[data-standard-hero] .hero-text-box::after { content:none; display:none; }
.hero-carousel[data-standard-hero] .hero-dots { display:flex; align-items:center; justify-content:center; gap:4px; width:max-content; max-width:calc(100% - 24px); height:38px; bottom:14px; padding:0 10px; z-index:5; box-shadow:none; }
.hero-carousel[data-standard-hero] .hero-dot { width:17px; height:28px; margin:0; padding:0; border:0; background:transparent; transform:none; position:relative; flex:none; box-shadow:none; appearance:none; transition:none; }
.hero-carousel[data-standard-hero] .hero-dot::after { content:''; position:absolute; width:8px; height:8px; left:50%; top:50%; transform:translate(-50%,-50%); background:white; border-radius:50%; border:0; box-shadow:none; transition:none; }
.hero-carousel[data-standard-hero] .hero-dot.active::after { background:var(--pink); }
.hero-carousel[data-standard-hero] .hero-dot:focus-visible,.hero-carousel[data-standard-hero] .standard-hero-control:focus-visible { outline:2px solid var(--dark-brown); outline-offset:1px; }
.hero-carousel[data-standard-hero] .standard-hero-control { flex:none; border:0; padding:0 5px; min-width:25px; height:30px; background:transparent; color:var(--dark-brown); cursor:pointer; border-radius:6px; font:800 23px/1 Nunito,sans-serif; }
.hero-carousel[data-standard-hero] .standard-hero-pause { font-size:10px; min-width:41px; }
.hero-carousel[data-standard-hero] .standard-hero-control:hover { background:#ffffff50; }
@media(min-width:769px) and (max-width:1100px) {
  .hero-carousel[data-standard-hero] { --hero-slots:2; }
}
@media(max-width:768px) {
  .hero-carousel[data-standard-hero] { --hero-slots:1; --standard-hero-height:500px; }
  .hero-carousel[data-standard-hero] .hero-content { width:calc(100% - 32px); }
  .hero-carousel[data-standard-hero] .hero-text-box { padding:1.25rem 1rem; border-radius:18px; background:transparent; }
  .hero-carousel[data-standard-hero] .hero-dots { bottom:12px; height:34px; padding:0 6px; gap:1px; }
  .hero-carousel[data-standard-hero] .hero-dot { width:15px; }
  .hero-carousel[data-standard-hero] .hero-dot::after { width:6px; height:6px; }
  .hero-carousel[data-standard-hero] .standard-hero-control { min-width:22px; padding:0 3px; }
  .hero-carousel[data-standard-hero] .standard-hero-pause { min-width:35px; font-size:9px; }
}

/* One moving slide with the original Levi's photo, resized without rotation or retouching. */
.hero-carousel[data-standard-hero] .corporate-cookie-slide { display:flex; align-items:center; justify-content:center; }
.hero-carousel[data-standard-hero] .corporate-cookie-collage { display:flex; width:100%; aspect-ratio:3 / 2; max-height:100%; overflow:hidden; background:#fff; }
.hero-carousel[data-standard-hero] .corporate-cookie-half { position:relative; flex:0 0 50%; min-width:0; overflow:hidden; }
.hero-carousel[data-standard-hero] .corporate-cookie-half img { width:100%; height:100%; object-fit:contain; }
.hero-carousel[data-standard-hero] .corporate-cookie-prism img { width:200%; max-width:none; object-fit:contain; }
