/* Home-specific — Hero banner (Hero_shade) */
.hero.hero-shade {
  position: relative;
  min-height: auto;
  display: block;
  color: var(--ink);
  overflow-x: hidden; /* Safari < 16 fallback */
  overflow-x: clip;
  overflow-y: visible;
  padding: calc(var(--nav-h) + 4.5rem) 0 4.5rem;
  background-color: #fffdf8;
  background-image:
    linear-gradient(rgba(255, 253, 248, 0.82), rgba(248, 241, 232, 0.88)),
    url("../images/background01.webp"),
    linear-gradient(180deg, #fffdf8 0%, #f8f1e8 100%);
  background-image:
    linear-gradient(rgba(255, 253, 248, 0.82), rgba(248, 241, 232, 0.88)),
    -webkit-image-set(url("../images/background01.webp") type("image/webp")),
    linear-gradient(180deg, #fffdf8 0%, #f8f1e8 100%);
  background-image:
    linear-gradient(rgba(255, 253, 248, 0.82), rgba(248, 241, 232, 0.88)),
    image-set(url("../images/background01.webp") type("image/webp")),
    linear-gradient(180deg, #fffdf8 0%, #f8f1e8 100%);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.hero-shade__inner,
.hero-shade__products,
.hero-shade__trust {
  position: relative;
  z-index: 1;
}

.hero-shade__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 240px) minmax(0, 1.15fr);
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: center;
}

.hero-shade__copy {
  position: relative;
  z-index: 3;
}

.hero-shade__label {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1f6b3a;
}

.hero-shade__title {
  margin: 0 0 1.15rem;
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.15rem, 3.6vw + 0.6rem, 3.65rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #222222;
}

.hero-shade__text {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(0.98rem, 0.2vw + 0.92rem, 1.08rem);
  line-height: 1.7;
  color: rgba(34, 34, 34, 0.72);
}

.hero-shade__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.45rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-hero:focus-visible {
  outline: 2px solid #d4a017;
  outline-offset: 3px;
}

.btn-hero--primary {
  background: #1f6b3a;
  color: #fff;
  box-shadow: 0 10px 28px rgba(31, 107, 58, 0.28);
}

.btn-hero--primary:hover {
  transform: translateY(-2px);
  background: #175530;
  box-shadow: 0 14px 34px rgba(31, 107, 58, 0.34);
}

.btn-hero--secondary {
  background: rgba(255, 253, 248, 0.72);
  color: #222;
  border: 1px solid rgba(34, 34, 34, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-hero--secondary:hover {
  transform: translateY(-2px);
  border-color: #d4a017;
  color: #1f6b3a;
}

.hero-shade__card {
  position: relative;
  z-index: 3;
  padding: 1.65rem 1.45rem 1.45rem;
  border-radius: 28px;
  background: #fffdf8;
  border: 1px solid rgba(31, 107, 58, 0.08);
  box-shadow:
    0 18px 50px rgba(34, 34, 34, 0.1),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
  animation: heroCardFloat 5.5s ease-in-out infinite;
}

.hero-shade__card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.15rem;
}

.hero-shade__card-drop {
  display: inline-flex;
  margin-bottom: 0.55rem;
  line-height: 0;
}

.hero-shade__card-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1f6b3a;
}

.hero-shade__card-rule {
  display: block;
  width: 4.5rem;
  height: 1px;
  margin: 0.75rem 0 0.85rem;
  background: #d4a017;
  position: relative;
}

.hero-shade__card-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  background: #d4a017;
  transform: translate(-50%, -50%) rotate(45deg);
}

.hero-shade__card-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.1rem, 2vw + 1.1rem, 2.65rem);
  font-weight: 700;
  color: #1f6b3a;
  line-height: 1;
  text-align: center;
}

.hero-shade__card-tagline {
  margin: 0.55rem 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  color: #d4a017;
}

.hero-shade__card-list {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.hero-shade__card-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-left: 0;
  font-size: 0.92rem;
  color: #222;
  line-height: 1.35;
}

.hero-shade__card-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #1f6b3a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.2l2.8 2.8 6.2-6.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.7rem 0.7rem;
}

.hero-shade__card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid #1f6b3a;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f6b3a;
  text-decoration: none;
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
}

.hero-shade__card-link:hover {
  gap: 0.6rem;
  background: #1f6b3a;
  color: #fff;
  border-color: #1f6b3a;
}

.hero-shade__card-link:focus-visible {
  outline: 2px solid #d4a017;
  outline-offset: 3px;
}

.hero-shade__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-height: 640px;
  overflow: visible;
  z-index: 1;
}

.hero-shade__podium {
  display: block;
  flex: 0 0 auto;
  width: 700px;
  max-width: none;
  margin: 0 -5.5rem 0 0;
  line-height: 0;
  transform: translateX(22%);
}

.hero-shade__podium-img,
.hero-shade__podium img {
  display: block;
  width: 700px !important;
  max-width: none !important;
  height: auto !important;
  filter: drop-shadow(0 18px 32px rgba(34, 34, 34, 0.12));
}

.hero-shade__products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.hero-product-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(31, 107, 58, 0.06);
  box-shadow: 0 10px 28px rgba(34, 34, 34, 0.06);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(34, 34, 34, 0.1);
}

.hero-product-card__icon {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 0;
  display: block;
}

.hero-product-card__body {
  min-width: 0;
  flex: 1 1 auto;
}

.hero-product-card h3 {
  margin: 0 0 0.35rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f6b3a;
  line-height: 1.2;
}

.hero-product-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(34, 34, 34, 0.62);
}

.hero-shade__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 1.75rem;
  padding: 1.35rem 0.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 107, 58, 0.08);
  box-shadow: 0 8px 24px rgba(34, 34, 34, 0.04);
}

.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.15rem;
  border-radius: 0;
  text-align: left;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(34, 34, 34, 0.1);
  box-shadow: none;
}

.hero-stat-card:last-child {
  border-right: 0;
}

.hero-stat-card__icon {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f6b3a;
  font-size: 1.55rem;
  line-height: 1;
}

.hero-stat-card__icon i {
  display: block;
  line-height: 1;
}

.hero-stat-card__body {
  min-width: 0;
}

.hero-stat-card__value {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 1.2vw + 0.9rem, 1.75rem);
  font-weight: 700;
  color: #1f6b3a;
  line-height: 1.1;
}

.hero-stat-card__label {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(34, 34, 34, 0.58);
}

/* Visible by default; only hide when JS enables .is-animate */
.hero-anim {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}

.hero-shade.is-animate .hero-anim {
  opacity: 0;
  -webkit-transform: translateY(18px);
  transform: translateY(18px);
  -webkit-transition: opacity 0.7s ease, -webkit-transform 0.7s ease;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-shade.is-animate .hero-anim.is-visible {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}

@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-shade__card {
    animation: none;
  }

  .hero-anim,
  .hero-shade.is-animate .hero-anim {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    -webkit-transition: none;
    transition: none;
  }
}

@media (max-width: 1279.98px) {
  .hero.hero-shade {
    padding: calc(var(--nav-h) + 3.5rem) 0 3.75rem;
  }

  .hero-shade__grid {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 240px) minmax(0, 1.05fr);
    gap: 1.25rem;
  }
}

@media (max-width: 991.98px) {
  .hero.hero-shade {
    padding: calc(var(--nav-h) + 2.75rem) 0 3.25rem;
    background-position: 70% top;
  }

  .hero-shade__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-shade__card {
    max-width: 320px;
    margin-inline: auto;
    order: 2;
  }

  .hero-shade__copy {
    order: 1;
    text-align: center;
  }

  .hero-shade__text {
    margin-inline: auto;
  }

  .hero-shade__actions {
    justify-content: center;
  }

  .hero-shade__stage {
    order: 3;
    min-height: 420px;
    justify-content: center;
  }

  .hero-shade__podium {
    width: min(92vw, 520px);
    margin: 0 auto;
    transform: none;
  }

  .hero-shade__podium-img,
  .hero-shade__podium img {
    width: min(92vw, 520px) !important;
  }

  .hero-shade__trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0.5rem;
  }

  .hero-stat-card {
    border-right: 1px solid rgba(34, 34, 34, 0.1);
    border-bottom: 1px solid rgba(34, 34, 34, 0.1);
    padding: 0.9rem 0.85rem;
  }

  .hero-stat-card:nth-child(2n) {
    border-right: 0;
  }

  .hero-stat-card:nth-child(n + 3) {
    border-bottom: 0;
  }
}

@media (max-width: 767.98px) {
  .hero.hero-shade {
    padding: calc(var(--nav-h) + 2rem) 0 2.75rem;
  }

  .hero-shade__products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 479.98px) {
  .hero.hero-shade {
    padding: calc(var(--nav-h) + 1.75rem) 0 2.5rem;
  }

  .hero-shade__trust {
    grid-template-columns: 1fr;
  }

  .hero-stat-card {
    border-right: 0;
    border-bottom: 1px solid rgba(34, 34, 34, 0.1);
  }

  .hero-stat-card:last-child {
    border-bottom: 0;
  }

  .hero-shade__stage {
    min-height: 320px;
  }
}

/* Manufacturing strip */
.mfg-pin {
  position: relative;
  overflow: hidden;
  background: #fdf2e3;
}

.mfg-pin__head {
  margin-bottom: var(--space-4);
  max-width: 40rem;
}

.mfg-pin__head .display {
  max-width: none;
  white-space: normal;
}

.mfg-track-wrap {
  --mfg-gap: 2.25rem;
  width: 100%;
  overflow: hidden;
  padding-block: 0.15rem var(--space-2);
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.mfg-track-wrap.is-paused .mfg-track {
  animation-play-state: paused;
}

.mfg-track-wrap:hover .mfg-track.is-looping,
.mfg-track-wrap:focus-within .mfg-track.is-looping {
  animation-play-state: paused;
}

/* Native / touch horizontal scroll (reduced-motion fallback) */
.mfg-track-wrap.is-native-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: auto;
  mask-image: none;
  -webkit-mask-image: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--maya-green) transparent;
  padding-left: max(1.25rem, calc((100vw - min(100vw - 2.5rem, var(--container-wide))) / 2));
}

.mfg-track-wrap.is-native-scroll::-webkit-scrollbar {
  height: 6px;
}

.mfg-track-wrap.is-native-scroll::-webkit-scrollbar-thumb {
  background: var(--maya-green);
  border-radius: 999px;
}

.mfg-track-wrap.is-native-scroll .mfg-track {
  animation: none !important;
  transform: none !important;
  padding-right: max(1.25rem, calc((100vw - min(100vw - 2.5rem, var(--container-wide))) / 2));
}

.mfg-track {
  display: flex;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
}

/* CSS keyframe fallback only — JS prefers Web Animations API */
.mfg-track.is-looping:not(.is-waapi) {
  -webkit-animation: mfg-marquee var(--mfg-duration, 36s) linear infinite;
  animation: mfg-marquee var(--mfg-duration, 36s) linear infinite;
}

.mfg-track.is-waapi {
  -webkit-animation: none !important;
  animation: none !important;
}

.mfg-track__group {
  display: flex;
  align-items: stretch;
  gap: var(--mfg-gap);
  flex: 0 0 auto;
  padding-right: var(--mfg-gap);
  box-sizing: content-box;
}

.mfg-card {
  width: min(78vw, 26rem);
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.mfg-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-dark);
  margin-bottom: var(--space-2);
  border-radius: 2px;
}

.mfg-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mfg-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: 0.5rem;
}

/* Percentage fallback when --mfg-shift is unsupported in keyframes (older Safari) */
@keyframes mfg-marquee {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  to {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 767.98px) {
  .mfg-track-wrap {
    --mfg-gap: 1.5rem;
  }

  .mfg-track.is-looping {
    --mfg-duration: 26s;
  }

  .mfg-card {
    width: min(80vw, 20rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mfg-track.is-looping {
    animation: none !important;
  }
}

/* Gallery editorial */
.gallery-editorial .gallery-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  align-items: stretch;
}

.gallery-editorial .gallery-row--alt {
  grid-template-columns: 0.8fr 1.2fr;
}

.gallery-frame {
  position: relative;
  overflow: hidden;
  background: var(--cream-dark);
  min-height: 22rem;
}

.gallery-frame--tall {
  min-height: 32rem;
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.gallery-frame figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.35rem 0.65rem;
  background: rgba(26, 31, 28, 0.7);
  color: var(--white);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Pack carousel — GPU-friendly depth effects */
.turntable-head {
  margin-bottom: var(--space-4);
  text-align: center;
}

.turntable-head .display {
  margin-inline: auto;
}

.brands-intro {
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: var(--space-4);
  text-align: center;
}

.brands-intro > .eyebrow {
  margin: 0;
  color: var(--maya-green);
  font-family: "Montserrat", var(--font-body), sans-serif;
  font-size: clamp(68px, 6.25vw, 80px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

@media (max-width: 1024px) {
  .brands-intro > .eyebrow {
    font-size: clamp(30px, 3.32vw, 34px);
  }
}

@media (max-width: 767.98px) {
  .brands-intro > .eyebrow {
    font-size: clamp(24px, 3.65vw, 28px);
  }
}

#brands {
  background-image: url("../images/productbg.webp?v=3");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.brands-intro .display {
  margin-inline: auto;
}
.brands-intro .lead,
.brands-intro p {
  margin-inline: auto;
}
.brands-intro--maya {
  max-width: 36rem;
  margin-bottom: var(--space-3);
}
.brands-intro--maya .display {
  font-size: var(--text-2xl);
  margin-bottom: 0.5rem;
}
.brands-intro--maya .brand-card__tagline {
  margin-bottom: 0.65rem;
}

.section-center {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}
.section-center .display {
  margin-inline: auto;
}
#numbers .section-center {
  max-width: min(52rem, 100%);
}
#numbers .section-center .display {
  white-space: nowrap;
}
@media (max-width: 767.98px) {
  #numbers .section-center .display {
    white-space: normal;
  }
}
.mfg-pin__head.section-center {
  margin-bottom: var(--space-4);
}
.mfg-pin__head.section-center .link-underline {
  display: inline-flex;
  margin-top: 0.75rem;
}

.copy-more {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.85rem 0 1rem;
}
.copy-more--center {
  align-items: center;
  text-align: center;
}
.copy-more__panel {
  margin: 0;
}
.see-more {
  list-style: none;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--maya-green);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  position: relative;
  z-index: 2;
}
.see-more::-webkit-details-marker {
  display: none;
}
.see-more::marker {
  content: "";
}
.see-more:hover {
  color: var(--maya-green-deep);
}
.copy-more:not([open]) .see-more__less,
.copy-more[open] .see-more__more {
  display: none;
}

.pack-carousel {
  --pack-w: clamp(16rem, 38vw, 32rem);
  --pack-side-x: clamp(16rem, 58vw, 48rem);
  position: relative;
  padding: var(--space-2) 0 var(--space-3);
  overflow: visible;
}

.pack-carousel__stage {
  position: relative;
  height: clamp(30rem, 68vw, 42rem);
  overflow: visible;
}

.pack-carousel__ring {
  position: absolute;
  inset: 0;
}

.pack-carousel__item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--pack-w);
  margin-left: calc(var(--pack-w) / -2);
  margin-top: calc(var(--pack-w) * -0.5);
  /* transforms/opacity driven by JS — no CSS transitions (avoids glitches) */
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  z-index: 1;
  pointer-events: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* Before JS paints positions, keep packs visible and centered */
.pack-carousel:not(.is-ready) .pack-carousel__item {
  opacity: 1;
}

.pack-carousel__item.is-front {
  cursor: pointer;
  /* Transparent padding on the front packshot must not block side-pack clicks */
  pointer-events: none;
}

.pack-carousel__bob {
  width: 100%;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  pointer-events: auto;
}

.pack-carousel__item.is-front > .pack-carousel__bob {
  animation: pack-float 7s ease-in-out infinite;
  pointer-events: none;
}

.pack-carousel.is-switching .pack-carousel__bob,
.pack-carousel.is-float-paused .pack-carousel__bob {
  -webkit-animation: none !important;
  animation: none !important;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

@supports (-moz-appearance: none) {
  .pack-carousel__item.is-front > .pack-carousel__bob {
    animation: none;
  }
}

@keyframes pack-float {
  0%,
  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  50% {
    -webkit-transform: translate3d(0, -8px, 0);
    transform: translate3d(0, -8px, 0);
  }
}

.pack-carousel__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
  pointer-events: auto;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.pack-carousel__item.is-front img {
  pointer-events: none;
}

.pack-carousel__shadow {
  display: block;
  width: 58%;
  height: 1.1rem;
  margin: -0.35rem auto 0;
  background: radial-gradient(ellipse at center, rgba(26, 31, 28, 0.28) 0%, rgba(26, 31, 28, 0) 72%);
  opacity: 0.45;
  transform: translate3d(0, 0, 0);
}

.pack-carousel__item.is-front .pack-carousel__shadow {
  width: 68%;
  height: 1.25rem;
  opacity: 0.85;
}

.pack-carousel__meta {
  text-align: center;
  max-width: 28rem;
  margin: 0.5rem auto 0;
  min-height: 7.5rem;
}

.pack-carousel__meta h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin: 0 0 0.4rem;
}

.pack-carousel__meta p[data-carousel-desc] {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

.pack-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.pack-nav {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid var(--maya-green);
  color: var(--maya-green);
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.pack-nav:hover {
  background: var(--maya-green);
  color: var(--white);
}

.pack-carousel__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.75rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--maya-green);
  border: 1px solid var(--line-strong);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.pack-carousel__cta:hover {
  background: var(--maya-green);
  border-color: var(--maya-green);
  color: var(--white);
}

@media (max-width: 767.98px) {
  .pack-carousel {
    --pack-w: clamp(14rem, 56vw, 20rem);
    --pack-side-x: clamp(14rem, 60vw, 28rem);
  }

  .pack-carousel__stage {
    height: 28rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pack-carousel__item.is-front > .pack-carousel__bob {
    animation: none;
  }
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: var(--space-7) 0;
  background: var(--maya-green);
  color: var(--white);
}

.cta-band h2 {
  color: var(--white);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-2);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
  margin-inline: auto;
  margin-bottom: var(--space-4);
}

.cta-band__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Home brand portfolio */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.brand-grid--secondary {
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--space-5);
  align-items: stretch;
  gap: 1rem;
}
/* Class toggled by JS — :has() kept as progressive enhancement */
.brand-grid--secondary.has-tile-open,
.brand-grid--secondary:has(.copy-more--tile[open]) {
  align-items: start;
}
.brand-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
}
.brand-card .link-underline {
  margin-top: auto;
  padding-top: 0.5rem;
}
.brand-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin: 0;
  font-weight: 600;
}
.brand-card__tagline {
  font-weight: 600;
  color: var(--maya-green);
  margin: 0;
}
.brand-card p { margin: 0; }
.brand-card__media {
  position: relative;
  aspect-ratio: 1;
  background: var(--cream);
  margin: -0.25rem -0.25rem 0.5rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand-card__media img {
  width: 78%;
  height: auto;
  object-fit: contain;
}
.brand-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--maya-green);
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.35rem 0.55rem;
}
.brand-card__badge--inline {
  position: static;
  display: inline-block;
  align-self: flex-start;
}
.brand-card .copy-more {
  margin: 0.15rem 0 0;
}

/* Interactive green brand tiles */
.brand-tile {
  --tile-pad: clamp(1.35rem, 2.2vw, 1.85rem);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
  min-height: 100%;
  padding: var(--tile-pad);
  background: var(--maya-green);
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.35s var(--ease);
}
.brand-grid--secondary.has-tile-open .brand-tile,
.brand-grid--secondary:has(.copy-more--tile[open]) .brand-tile {
  height: auto;
  min-height: 0;
}
.brand-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--leaf-lime);
  transform: scaleY(0.35);
  transform-origin: top;
  transition: transform 0.5s var(--ease);
  z-index: 1;
  pointer-events: none;
}
.brand-tile::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: rgba(198, 211, 47, 0.12);
  transform: translate(20%, 20%) scale(0.7);
  transition: transform 0.55s var(--ease), opacity 0.55s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.brand-tile > * {
  position: relative;
  z-index: 1;
}
.brand-tile .eyebrow {
  color: var(--leaf-lime);
  margin: 0;
}
.brand-tile h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin: 0;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.brand-tile__tagline {
  margin: 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}
.brand-tile__product {
  margin: 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.brand-tile__soon-note {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--leaf-lime) !important;
  font-size: 0.82rem !important;
}
.brand-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.55;
}
.brand-tile__media {
  margin-top: 0.5rem;
  aspect-ratio: 5 / 4;
  background: rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.brand-tile .copy-more--tile {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.15rem 0 0;
  width: 100%;
}
.brand-tile .copy-more--tile .copy-more__panel {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}
.brand-tile .see-more {
  color: var(--leaf-lime);
  margin-top: 0.35rem;
  align-self: flex-start;
}
.brand-tile .see-more:hover {
  color: var(--white);
}
a.brand-tile__more.see-more {
  display: inline-block;
}
.brand-tile__cta {
  margin-top: auto;
  padding-top: 0.85rem;
  align-self: flex-start;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 0.15rem;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.brand-tile__badge {
  align-self: flex-start;
  background: var(--leaf-lime);
  color: var(--maya-green-deep);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.35rem 0.55rem;
}
@media (hover: hover) and (pointer: fine) {
  .brand-tile:hover {
    box-shadow: 0 14px 32px rgba(0, 77, 41, 0.22);
  }
  .brand-tile:hover::before {
    transform: scaleY(1);
  }
  .brand-tile:hover::after {
    transform: translate(8%, 8%) scale(1);
  }
  .brand-tile:hover .brand-tile__cta {
    border-color: var(--leaf-lime);
    color: var(--leaf-lime);
  }
  .brand-tile:hover .brand-tile__media img {
    transform: scale(1.04);
  }
}
.brand-tile--soon {
  background: var(--maya-green);
}

@media (prefers-reduced-motion: reduce) {
  .brand-tile,
  .brand-tile::before,
  .brand-tile::after,
  .brand-tile__media img {
    transition: none;
  }
  .brand-tile:hover .brand-tile__media img {
    transform: none;
  }
}
.home-questions {
  margin: 1rem 0 1.25rem;
  padding-left: 1.1rem;
}
.home-questions li {
  margin-bottom: 0.4rem;
}
.stats-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 4vw, 3.75rem);
}
.stats-grid--four {
  grid-template-columns: repeat(4, 1fr);
}
.stats-grid--four .stat:nth-child(4n),
.stats-grid--four .stat:last-child {
  border-right: none;
}
.stats-grid--three {
  grid-template-columns: repeat(3, minmax(0, 14rem));
  justify-content: center;
  column-gap: clamp(2rem, 4vw, 3.5rem);
  width: 100%;
}
.stats-grid--three .stat {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: clamp(1.25rem, 2vw, 2rem);
}
.stats-grid--three .stat:last-child {
  border-right: none;
  padding-right: 0;
}
.stats-stack .stat__value {
  font-size: clamp(1.7rem, 1.8vw + 0.7rem, 2.5rem);
}

@media (max-width: 991.98px) {
  .gallery-editorial .gallery-row,
  .gallery-editorial .gallery-row--alt {
    grid-template-columns: 1fr;
  }

  .gallery-frame,
  .gallery-frame--tall {
    min-height: 16rem;
  }

  .mfg-card {
    width: min(85vw, 22rem);
  }

  .brand-grid {
    grid-template-columns: 1fr;
  }

  .brand-grid--secondary {
    grid-template-columns: 1fr;
  }

  .stats-grid--four,
  .stats-grid--three {
    grid-template-columns: repeat(2, 1fr);
    justify-content: stretch;
  }
  .stats-grid--four .stat,
  .stats-grid--three .stat {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: var(--space-3);
  }
  .stats-grid--four .stat:nth-child(2n),
  .stats-grid--three .stat:nth-child(2n) {
    border-right: none;
    padding-right: 0;
  }
  .stats-grid--three .stat:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    text-align: center;
    border-right: none;
    max-width: 14rem;
  }
}

