/* Home Hero composition pass inspired by the supplied reference layout.
 * This file changes hierarchy, scale, spacing, and placement only; the
 * existing theme palette remains the source of all visual color meaning. */

.home-hero-content {
  align-items: flex-start;
  padding-top: clamp(128px, 16vh, 176px);
  padding-bottom: clamp(220px, 27vh, 300px);
}

.home-hero {
  --hero-image: var(--hero-image-dark);
  background-image: var(--hero-image-dark);
}

html[data-theme="light"] .home-hero {
  --hero-image: var(--hero-image-light);
  background-image: var(--hero-image-light);
}

.home-hero-copy {
  max-width: min(680px, 56vw);
}

.home-hero-copy > .home-hero-capabilities {
  width: min(100%, 620px);
  margin-top: clamp(18px, 2.4vh, 30px);
  background: transparent;
  border: 0;
}

.home-hero-capabilities {
  color: var(--hero-ink, var(--ink));
}

.home-hero-copy > .home-hero-capabilities .capabilities-grid {
  width: 100%;
  margin-inline: 0;
}

.home-hero-eyebrow {
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(28px, 4vh, 44px);
  display: flex;
}

.home-hero-eyebrow-mark {
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-flex;
}

.home-hero-eyebrow-mark .icon {
  width: 30px;
  height: 30px;
}

.home-hero-headline {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(4rem, 7vw, 7.5rem);
  line-height: .9;
}

.home-hero-divider {
  width: clamp(58px, 7vw, 86px);
  height: 4px;
  margin-bottom: 28px;
  background: var(--copper);
  display: block;
}

.home-hero-support {
  margin-bottom: 42px;
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
  line-height: 1.65;
}

.home-hero .home-hero-actions .button {
  min-height: 50px;
  padding-inline: clamp(18px, 1.8vw, 28px);
  gap: 18px;
  font-size: 12px;
}

.home-hero-products {
  width: min(56vw, 920px);
  right: clamp(-74px, -4vw, -18px);
  bottom: clamp(145px, 19vh, 230px);
}

.home-hero-product img {
  max-height: 54vh;
}

.home-hero-capabilities .capabilities-grid {
  width: 100%;
  margin-inline: 0;
  min-height: clamp(106px, 12vh, 138px);
  padding: 18px clamp(18px, 3vw, 34px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-hero-capabilities .capability-item {
  align-items: center;
  background: transparent;
  border-block: 0;
  border-inline-end: 1px solid var(--copper) !important;
  justify-content: center;
  min-height: 70px;
  gap: 2px;
  padding-inline: clamp(12px, 2.2vw, 28px);
  text-align: center;
}

.home-hero-capabilities .capability-item > .icon {
  color: var(--hero-accent, var(--copper));
  width: 38px;
  height: 38px;
  margin-bottom: 1px;
  font-size: 18px;
}

.home-hero-capabilities .capability-item h2 {
  color: var(--hero-accent, var(--copper));
  max-width: 150px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(10px, 1vw, 13px);
  line-height: 1.25;
  text-align: center;
}

.home-hero-capabilities .capability-item h2 > span {
  color: inherit;
}

.home-hero-capabilities .capability-item:last-child {
  border-inline-end: 0 !important;
}

.home-hero-capabilities .capability-item:hover {
  background: transparent;
  transform: none;
}

.home-hero-capabilities .capability-item p {
  display: none;
}

@media (min-width: 901px) {
  .home-hero-capabilities .capabilities-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-hero-capabilities .capability-item {
    flex-direction: column;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  .home-hero {
    height: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column !important;
    align-items: stretch;
    justify-content: flex-start;
  }

  .home-hero-content {
    height: auto !important;
    flex: 0 0 auto;
    padding-top: 120px;
    padding-bottom: 0;
  }

  .home-hero-copy {
    max-width: min(660px, 90vw);
  }

  .home-hero-copy > .home-hero-capabilities {
    width: 100%;
    margin-top: clamp(18px, 2.8vh, 28px);
  }

  .home-hero-headline {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
  }

  .home-hero-products {
    position: relative !important;
    inset: auto !important;
    width: min(calc(100% - 38px), 700px);
    margin: clamp(24px, 4vh, 40px) auto 0;
  }

  .home-hero-product img {
    max-height: 17vh;
  }
}

@media (max-width: 560px) {
  .home-hero {
    height: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column !important;
    align-items: stretch;
    justify-content: flex-start;
  }

  .home-hero-content {
    height: auto !important;
    flex: 0 0 auto;
    padding-top: 102px;
    padding-bottom: 0;
  }

  .home-hero-copy {
    max-width: 100%;
  }

  .home-hero-copy > .home-hero-capabilities {
    width: 100%;
    margin-top: clamp(16px, 3vh, 24px);
  }

  .home-hero-eyebrow {
    gap: 10px;
    margin-bottom: 20px;
    font-size: 9px;
  }

  .home-hero-eyebrow-mark {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }

  .home-hero-eyebrow-mark .icon {
    width: 24px;
    height: 24px;
  }

  .home-hero-headline {
    margin-bottom: 18px;
    font-size: clamp(2.8rem, 12vw, 4.1rem);
    line-height: .94;
  }

  .home-hero-divider {
    width: 58px;
    height: 3px;
    margin-bottom: 19px;
  }

  .home-hero-support {
    margin-bottom: 24px;
    font-size: .98rem;
    line-height: 1.65;
  }

  .home-hero .home-hero-actions .button {
    min-height: 48px;
    gap: 8px;
    padding-inline: 14px;
    font-size: 10px;
  }

  .home-hero-products {
    position: relative !important;
    inset: auto !important;
    width: calc(100% - 28px);
    margin: 24px auto 0;
  }

  .home-hero-product img {
    max-height: 16vh;
  }

  .home-hero-capabilities .capabilities-grid {
    min-height: 106px;
    padding: 12px 4px;
  }

  .home-hero-capabilities .capability-item {
    gap: 1px;
    min-height: 78px;
    padding-inline: 2px;
    border-inline-end: 1px solid var(--copper) !important;
  }

  .home-hero-capabilities .capability-item:last-child {
    border-inline-end: 0 !important;
  }

  .home-hero-capabilities .capability-item > .icon {
    width: 28px;
    height: 28px;
    margin-bottom: 0;
    font-size: 13px;
  }

  .home-hero-capabilities .capability-item h2 {
    max-width: 76px;
    font-size: 8px;
    line-height: 1.15;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-divider {
    transition: none;
  }
}

/* ── Layered product still-life ──────────────────────────────────────────
 * The package row is intentionally compact and irregular, like a product
 * photograph assembled on a shared surface. Transparent food and leaf
 * elements sit behind and in front of the packages without affecting their
 * links or the hero's copy layout. */
@media (min-width: 901px) {
  .home-hero-products {
    z-index: 4;
    width: min(66vw, 1040px);
    right: clamp(18px, 3vw, 52px);
    bottom: clamp(150px, 19vh, 235px);
    overflow: visible;
    isolation: isolate;
  }

  .home-hero-elements {
    position: absolute;
    inset: -24% -10%;
    pointer-events: none;
  }

  .home-hero-elements--back {
    z-index: 1;
    transform: translateX(clamp(-60px, -5vw, -24px));
  }

  .home-hero-elements--front {
    z-index: 7;
  }

  .hero-element {
    position: absolute;
    display: block;
    width: 8%;
    max-width: none;
    height: auto;
    object-fit: contain;
    opacity: var(--element-opacity, .38);
    filter:
      drop-shadow(0 8px 9px rgba(0, 0, 0, .24))
      drop-shadow(0 0 8px var(--element-glow, rgba(212, 148, 58, .36)));
    animation: hero-element-drift var(--element-duration, 12s) ease-in-out var(--element-delay, 0s) infinite alternate;
    will-change: transform;
  }

  .hero-element--leaf-long-left {
    left: 12%;
    top: 1%;
    width: 18%;
    --element-opacity: .31;
    --element-glow: rgba(104, 154, 62, .42);
    transform: rotate(-24deg);
  }

  .hero-element--leaf-broad-right {
    right: -7%;
    top: -10%;
    width: 19%;
    --element-opacity: .2;
    --element-glow: rgba(114, 157, 57, .34);
    transform: rotate(24deg);
  }

  .hero-element--shell-left {
    left: 0%;
    top: 58%;
    width: 8%;
    --element-opacity: .48;
    --element-glow: rgba(205, 139, 67, .4);
    transform: rotate(-22deg);
  }

  .hero-element--golden-left {
    left: 28%;
    top: 2%;
    width: 6%;
    --element-opacity: .46;
    --element-glow: rgba(231, 179, 80, .44);
    transform: rotate(-33deg);
  }

  .hero-element--light-right {
    right: 3%;
    top: 28%;
    width: 6%;
    --element-opacity: .28;
    --element-glow: rgba(236, 194, 104, .34);
    transform: rotate(14deg);
  }

  .hero-element--kernel-left {
    left: 58%;
    top: 7%;
    width: 6%;
    --element-opacity: .36;
    --element-glow: rgba(221, 72, 48, .45);
    transform: rotate(-14deg);
  }

  .hero-element--cashew-left {
    left: 42%;
    top: -6%;
    width: 8%;
    --element-opacity: .34;
    --element-glow: rgba(224, 165, 66, .4);
    transform: rotate(10deg);
  }

  .hero-element--cluster-left {
    left: 17%;
    bottom: -5%;
    width: 10%;
    --element-opacity: .43;
    --element-glow: rgba(226, 160, 64, .42);
    transform: rotate(-18deg);
  }

  .hero-element--golden-right {
    right: 17%;
    top: 1%;
    width: 5%;
    --element-opacity: .24;
    --element-glow: rgba(231, 179, 80, .34);
    transform: rotate(25deg);
  }

  .hero-element--light-left {
    left: 6%;
    top: 22%;
    width: 5%;
    --element-opacity: .3;
    --element-glow: rgba(236, 194, 104, .36);
    transform: rotate(17deg);
  }

  .hero-element--red-left {
    left: 70%;
    top: 32%;
    width: 5%;
    --element-opacity: .27;
    --element-glow: rgba(221, 72, 48, .38);
    transform: rotate(-28deg);
  }

  .hero-element--shell-mid {
    left: 36%;
    top: 22%;
    width: 6%;
    --element-opacity: .22;
    --element-glow: rgba(205, 139, 67, .34);
    transform: rotate(18deg);
  }

  .hero-element--golden-mid {
    right: 37%;
    top: 35%;
    width: 5%;
    --element-opacity: .4;
    --element-glow: rgba(231, 179, 80, .42);
    transform: rotate(-12deg);
  }

  .hero-element--kernel-mid {
    left: 64%;
    top: 59%;
    width: 5%;
    --element-opacity: .32;
    --element-glow: rgba(221, 72, 48, .4);
    transform: rotate(17deg);
  }

  .hero-element--cashew-mid {
    left: 54%;
    top: 20%;
    width: 6%;
    --element-opacity: .25;
    --element-glow: rgba(224, 165, 66, .35);
    transform: rotate(-20deg);
  }

  .hero-element--red-right {
    left: 17%;
    top: 39%;
    width: 6%;
    --element-opacity: .52;
    --element-glow: rgba(221, 72, 48, .48);
    transform: rotate(28deg);
  }

  .hero-element--leaf-long-right {
    left: 3%;
    bottom: -4%;
    width: 17%;
    --element-opacity: .36;
    --element-glow: rgba(104, 154, 62, .4);
    transform: rotate(19deg);
  }

  .hero-element--leaf-broad-left {
    right: 7%;
    bottom: -10%;
    width: 17%;
    --element-opacity: .29;
    --element-glow: rgba(114, 157, 57, .38);
    transform: rotate(-18deg);
  }

  .hero-element--shell-right {
    right: 25%;
    bottom: 0%;
    width: 8%;
    --element-opacity: .55;
    --element-glow: rgba(205, 139, 67, .44);
    transform: rotate(31deg);
  }

  .hero-element--kernel-right {
    right: -4%;
    top: 47%;
    width: 6%;
    --element-opacity: .39;
    --element-glow: rgba(221, 72, 48, .44);
    transform: rotate(-24deg);
  }

  .hero-element--cashew-right {
    left: 47%;
    bottom: -10%;
    width: 8%;
    --element-opacity: .44;
    --element-glow: rgba(224, 165, 66, .42);
    transform: rotate(-7deg);
  }

  .hero-element--cluster-right {
    right: 13%;
    top: 48%;
    width: 10%;
    --element-opacity: .33;
    --element-glow: rgba(226, 160, 64, .38);
    transform: rotate(23deg);
  }

  .hero-element--leaf-small-front {
    left: 25%;
    top: 61%;
    width: 12%;
    --element-opacity: .25;
    --element-glow: rgba(104, 154, 62, .34);
    transform: rotate(-8deg);
  }

  .hero-element--red-front {
    right: 36%;
    top: 69%;
    width: 5%;
    --element-opacity: .45;
    --element-glow: rgba(221, 72, 48, .45);
    transform: rotate(22deg);
  }

  .hero-element--cluster-front {
    right: 4%;
    bottom: 3%;
    width: 9%;
    --element-opacity: .4;
    --element-glow: rgba(226, 160, 64, .42);
    transform: rotate(-14deg);
  }

  .hero-element--light-front {
    left: 78%;
    top: 72%;
    width: 5%;
    --element-opacity: .24;
    --element-glow: rgba(236, 194, 104, .34);
    transform: rotate(-26deg);
  }

  /* PHP supplies a fresh bounded placement on each request. Keeping this
   * override after the named arrangements lets the selected elements move
   * without changing their semantic asset classes or color glows. */
  .hero-element {
    left: var(--element-left, auto);
    right: auto;
    top: var(--element-top, auto);
    bottom: auto;
    width: var(--element-size, 8%);
    opacity: var(--element-opacity, .84);
    transform: rotate(var(--element-rotation, 0deg));
  }

  .home-hero-product {
    position: relative;
  }

  .home-hero-product + .home-hero-product {
    margin-inline-start: clamp(-86px, -5.6vw, -38px);
  }

  /* Place the four packages on the upper half of an O: the outside two sit
   * lower while the middle pair crest together. */
  .home-hero-product--shell {
    --stage-scale: .94;
    --stage-hover-scale: .95;
    --stage-y: 9%;
    --stage-rotate: -7deg;
    z-index: 2;
  }

  .home-hero-product--red-skin {
    --stage-scale: 1.1;
    --stage-hover-scale: 1.11;
    --stage-y: -6%;
    --stage-rotate: 2deg;
    z-index: 5;
  }

  .home-hero-product--blanched {
    --stage-scale: 1.01;
    --stage-hover-scale: 1.02;
    --stage-y: -5%;
    --stage-rotate: 8deg;
    z-index: 4;
  }

  .home-hero-product--mixed {
    --stage-scale: 1.04;
    --stage-hover-scale: 1.05;
    --stage-y: 9%;
    --stage-rotate: -5deg;
    z-index: 6;
  }

  body .home-hero-products.reveal > .home-hero-product:not(:hover):not(:focus-visible) {
    transform: translate3d(0, var(--stage-y, 0%), 0)
      rotate(var(--stage-rotate, 0deg))
      scale(var(--stage-scale, 1));
  }

  .home-hero-product.product-interaction {
    --product-interaction-duration: .16s;
    --product-interaction-image-hover-filter:
      drop-shadow(0 0 14px color-mix(in srgb, var(--product-glow, var(--copper)) 54%, transparent));
    --product-interaction-image-filter:
      drop-shadow(0 23px 20px rgba(0, 0, 0, .36));
    --product-interaction-transform:
      translate3d(0, calc(var(--stage-y, 0%) - 6px), 0)
      rotate(var(--stage-rotate, 0deg))
      scale(var(--stage-hover-scale, 1.025));
  }

  /* A hero package is an alpha-cutout image, so the hover glow belongs on
   * the package pixels themselves. Remove the old square anchor shadow and
   * the separate oval glow layer. */
  .home-hero-products > .home-hero-product.product-interaction::before {
    display: none;
  }

  .home-hero-products > .home-hero-product.product-interaction:is(:hover, :focus-within, :focus-visible) {
    box-shadow: none;
  }

  .home-hero-products > .home-hero-product > img {
    filter: var(--product-interaction-image-filter);
  }
}

@media (max-width: 900px) {
  .home-hero-elements {
    display: none;
  }

  .home-hero-product + .home-hero-product {
    margin-inline-start: -14px;
  }
}

@media (max-width: 560px) {
  .home-hero-product + .home-hero-product {
    margin-inline-start: -8px;
  }
}

/* Keep the same clean interaction on tablet and phone: the only hover glow
 * should follow the transparent product cutout, never its anchor box. */
@media (max-width: 900px) {
  .home-hero-product.product-interaction {
    --product-interaction-duration: .16s;
    --product-interaction-transform: translateY(-4px) scale(1.01);
    --product-interaction-image-filter:
      drop-shadow(0 14px 14px rgba(0, 0, 0, .3));
    --product-interaction-image-hover-filter:
      drop-shadow(0 0 11px color-mix(in srgb, var(--product-glow, var(--copper)) 46%, transparent));
  }
}

.home-hero-products > .home-hero-product.product-interaction::before {
  display: none;
}

.home-hero-products > .home-hero-product.product-interaction:is(:hover, :focus-within, :focus-visible) {
  box-shadow: none;
}

/* Keep the upper-half O curve on every layout. Desktop uses the stronger
 * composition above; these smaller values preserve the same silhouette when
 * the product group becomes an in-flow row on narrower screens. */
.home-hero-product--shell {
  --stage-scale: .94;
  --stage-hover-scale: .95;
  --stage-y: 9%;
  --stage-rotate: -7deg;
  z-index: 2;
}

.home-hero-product--red-skin {
  --stage-scale: 1.1;
  --stage-hover-scale: 1.11;
  --stage-y: -6%;
  --stage-rotate: 2deg;
  z-index: 5;
}

.home-hero-product--blanched {
  --stage-scale: 1.01;
  --stage-hover-scale: 1.02;
  --stage-y: -5%;
  --stage-rotate: 8deg;
  z-index: 4;
}

.home-hero-product--mixed {
  --stage-scale: 1.04;
  --stage-hover-scale: 1.05;
  --stage-y: 9%;
  --stage-rotate: -5deg;
  z-index: 6;
}

body .home-hero-products.reveal > .home-hero-product:not(:hover):not(:focus-visible) {
  transform: translate3d(0, var(--stage-y, 0%), 0)
    rotate(var(--stage-rotate, 0deg))
    scale(var(--stage-scale, 1));
}

@media (max-width: 900px) {
  .home-hero-products {
    left: clamp(-38px, -4vw, -16px) !important;
    right: auto !important;
    margin-top: clamp(8px, 1.5vh, 16px) !important;
  }

  .home-hero-product + .home-hero-product {
    margin-inline-start: clamp(-24px, -3vw, -12px);
  }

  .home-hero-product--shell {
    --stage-scale: .96;
    --stage-hover-scale: .97;
    --stage-y: 5%;
    --stage-rotate: -4deg;
  }

  .home-hero-product--red-skin {
    --stage-scale: 1.06;
    --stage-hover-scale: 1.07;
    --stage-y: -4%;
    --stage-rotate: 1deg;
  }

  .home-hero-product--blanched {
    --stage-scale: 1;
    --stage-hover-scale: 1.01;
    --stage-y: -3%;
    --stage-rotate: 5deg;
  }

  .home-hero-product--mixed {
    --stage-scale: 1.02;
    --stage-hover-scale: 1.03;
    --stage-y: 5%;
    --stage-rotate: -4deg;
  }
}

@media (max-width: 560px) {
  .home-hero-products {
    left: clamp(-24px, -5vw, -8px) !important;
    margin-top: clamp(6px, 1.2vh, 12px) !important;
  }

  .home-hero-product + .home-hero-product {
    margin-inline-start: clamp(-14px, -3vw, -8px);
  }

  .home-hero-product--shell {
    --stage-y: 4%;
    --stage-rotate: -3deg;
  }

  .home-hero-product--red-skin {
    --stage-y: -3%;
    --stage-rotate: 1deg;
  }

  .home-hero-product--blanched {
    --stage-y: -2%;
    --stage-rotate: 4deg;
  }

  .home-hero-product--mixed {
    --stage-y: 4%;
    --stage-rotate: -3deg;
  }
}

@keyframes hero-element-drift {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(var(--element-rotation, 0deg));
  }

  50% {
    transform: translate3d(var(--element-drift-x, 0px), var(--element-drift-y, 0px), 0)
      rotate(calc(var(--element-rotation, 0deg) + var(--element-sway, 0deg)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-element {
    animation: none;
    will-change: auto;
  }
}

/* A small, theme-aware discovery cue anchors the bottom of the hero. */
.home-hero-discover {
  z-index: 9;
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 2.8vh, 34px);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: var(--hero-accent);
  white-space: nowrap;
  font-size: 10px;
  letter-spacing: .2em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.home-hero-discover-arrow,
.home-hero-discover-label {
  color: #fff;
  text-shadow:
    0 0 8px rgba(255, 255, 255, .82),
    0 0 18px rgba(255, 255, 255, .42);
}

.home-hero-discover-arrow {
  display: inline-flex;
  order: 2;
  transform: rotate(90deg);
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, .82));
  animation: home-hero-discover-arrow 2.4s ease-in-out infinite;
}

.home-hero-discover-label {
  order: 1;
  animation: home-hero-discover-label 2.4s ease-in-out infinite;
}

.home-hero-discover:hover .home-hero-discover-label,
.home-hero-discover:focus-visible .home-hero-discover-label {
  color: #fff;
}

.home-hero-discover:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 7px;
}

@keyframes home-hero-discover-arrow {
  0%, 100% {
    opacity: .72;
    transform: rotate(90deg) translateX(0);
  }

  50% {
    opacity: 1;
    transform: rotate(90deg) translateX(5px);
  }
}

@keyframes home-hero-discover-label {
  0%, 100% { opacity: .72; }
  50% { opacity: 1; }
}

@media (max-width: 900px) {
  .home-hero-discover {
    bottom: clamp(14px, 2.4vh, 25px);
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-discover-arrow,
  .home-hero-discover-label {
    animation: none;
  }
}

/* ── Phone hero composition ───────────────────────────────────────────────
 * Keep the desktop still-life untouched. On a phone, the hero has three
 * deliberate bands: readable copy, a visible product row, and a compact
 * capability rail above the fixed mobile navigation. The previous in-flow
 * capability column pushed the product row below the first viewport. */
@media (max-width: 560px) {
  .home-hero {
    height: 100svh;
    min-height: 760px;
    overflow: hidden;
    background-position: 62% 46%;
  }

  .home-hero .hero-overlay {
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--paper) 92%, transparent) 0%,
      color-mix(in srgb, var(--paper) 72%, transparent) 34%,
      color-mix(in srgb, var(--paper) 38%, transparent) 56%,
      color-mix(in srgb, var(--paper) 12%, transparent) 100%
    );
  }

  .home-hero-content {
    height: 100% !important;
    flex: 0 0 auto;
    padding-top: 88px;
    padding-bottom: 0;
  }

  .home-hero-copy {
    height: 100%;
    max-width: 100%;
  }

  .home-hero-eyebrow {
    margin-bottom: 18px;
  }

  .home-hero-headline {
    font-size: clamp(2.9rem, 12.4vw, 4.1rem);
    line-height: .92;
  }

  .home-hero-support {
    max-width: 33ch;
  }

  .home-hero .home-hero-actions {
    gap: 8px;
    flex-wrap: nowrap;
  }

  .home-hero .home-hero-actions .button {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 11px;
    white-space: nowrap;
  }

  .home-hero-products {
    position: absolute !important;
    top: auto !important;
    right: auto !important;
    bottom: clamp(238px, 30vh, 256px) !important;
    left: 50% !important;
    width: calc(100% - 22px);
    margin: 0 !important;
    transform: translateX(-50%) !important;
    isolation: isolate;
    z-index: 5;
    border-bottom: 1px solid color-mix(in srgb, var(--copper) 34%, transparent);
  }

  /* Give the four packages the same open O-curve as the desktop still-life:
   * the center pair crests while the outside pair settles lower. */
  .home-hero-product--shell {
    --stage-scale: 1.08;
    --stage-hover-scale: 1.09;
    --stage-y: 10%;
    --stage-rotate: -7deg;
  }

  .home-hero-product--red-skin {
    --stage-scale: 1.14;
    --stage-hover-scale: 1.15;
    --stage-y: -12%;
    --stage-rotate: 1deg;
  }

  .home-hero-product--blanched {
    --stage-scale: 1.1;
    --stage-hover-scale: 1.11;
    --stage-y: -10%;
    --stage-rotate: 6deg;
  }

  .home-hero-product--mixed {
    --stage-scale: 1.1;
    --stage-hover-scale: 1.11;
    --stage-y: 10%;
    --stage-rotate: -6deg;
  }

  .home-hero-products::before {
    position: absolute;
    top: -21px;
    inset-inline-start: 8px;
    content: "PRODUCT RANGE";
    color: var(--hero-accent, var(--copper));
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .24em;
    line-height: 1;
    text-transform: uppercase;
    opacity: .9;
    pointer-events: none;
  }

  .home-hero-products::after {
    position: absolute;
    z-index: -1;
    inset: 48% 8% -4%;
    content: "";
    border-radius: 50%;
    background: radial-gradient(
      ellipse,
      color-mix(in srgb, var(--paper) 45%, transparent) 0%,
      transparent 72%
    );
    filter: blur(12px);
    pointer-events: none;
  }

  .home-hero-product + .home-hero-product {
    margin-inline-start: clamp(-18px, -4vw, -12px);
  }

  .home-hero-product img {
    width: 114%;
    max-width: none;
    max-height: 18vh;
    margin-inline: -7%;
    border-radius: 22px 22px 30px 30px;
  }

  .home-hero-capabilities {
    position: absolute;
    right: 0;
    bottom: clamp(138px, 17vh, 152px);
    left: 0;
    width: 100%;
    margin: 0 !important;
    z-index: 6;
  }

  .home-hero-capabilities .capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    min-height: 116px;
    padding: 8px 7px;
    background: color-mix(in srgb, var(--paper) 74%, transparent);
    border-block: 1px solid color-mix(in srgb, var(--copper) 34%, var(--line));
    border: 1px solid color-mix(in srgb, var(--copper) 34%, var(--line));
    border-radius: 24px;
    box-shadow: 0 -14px 28px color-mix(in srgb, var(--paper) 22%, transparent);
    overflow: hidden;
  }

  .home-hero-capabilities .capability-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 48px;
    padding-inline: 8px;
    text-align: start;
    border: 0 !important;
  }

  .home-hero-capabilities .capability-item:nth-child(-n + 2) {
    border-block-end: 1px solid color-mix(in srgb, var(--copper) 32%, transparent) !important;
  }

  .home-hero-capabilities .capability-item:nth-child(odd) {
    border-inline-end: 1px solid color-mix(in srgb, var(--copper) 32%, transparent) !important;
  }

  .home-hero-capabilities .capability-item > .icon {
    width: 30px;
    height: 30px;
    padding: 7px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--copper) 13%, transparent);
    flex: 0 0 30px;
    font-size: 13px;
  }

  .home-hero-capabilities .capability-item h2 {
    max-width: 110px;
    font-size: clamp(9px, 2.5vw, 11px);
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.12;
    text-align: start;
  }

  /* The fixed mobile dock already provides the next-page cue; keeping this
   * secondary link out of the lower band prevents a collision with it. */
  .home-hero-discover {
    display: none;
  }

  /* Reintroduce a small, curated mobile selection from the same decorative
   * leaf/nut pool used by the desktop stage. Keep it behind the packages so
   * the artwork adds depth without competing with the copy or controls. */
  .home-hero-elements {
    position: absolute;
    z-index: 1;
    display: block !important;
    inset: -28% -12%;
    pointer-events: none;
  }

  .home-hero-elements--back {
    z-index: 1;
  }

  .home-hero-elements--front {
    z-index: 7;
  }

  .home-hero-elements .hero-element {
    position: absolute;
    display: block;
    height: auto;
    max-width: none;
    object-fit: contain;
    filter: drop-shadow(0 7px 7px rgba(0, 0, 0, .2));
    animation: hero-element-drift var(--element-duration, 13s) ease-in-out var(--element-delay, 0s) infinite alternate;
    will-change: transform;
  }

  .home-hero-elements--back .hero-element:not(:is(
    .hero-element--leaf-long-left,
    .hero-element--golden-left,
    .hero-element--light-right,
    .hero-element--cluster-left,
    .hero-element--shell-left
  )),
  .home-hero-elements--front .hero-element:not(:is(
    .hero-element--red-right,
    .hero-element--leaf-long-right,
    .hero-element--leaf-broad-left,
    .hero-element--cluster-right,
    .hero-element--shell-right
  )) {
    display: none !important;
  }

  .home-hero-elements--back .hero-element--leaf-long-left {
    left: -7% !important;
    top: 3% !important;
    width: 31% !important;
    opacity: .35 !important;
    transform: rotate(-22deg);
  }

  .home-hero-elements--back .hero-element--golden-left {
    left: 18% !important;
    top: 10% !important;
    width: 13% !important;
    opacity: .54 !important;
    transform: rotate(-28deg);
  }

  .home-hero-elements--back .hero-element--light-right {
    right: -5% !important;
    left: auto !important;
    top: 10% !important;
    width: 13% !important;
    opacity: .34 !important;
    transform: rotate(16deg);
  }

  .home-hero-elements--back .hero-element--cluster-left {
    left: 4% !important;
    top: 82% !important;
    width: 18% !important;
    opacity: .46 !important;
    transform: rotate(-16deg);
  }

  .home-hero-elements--back .hero-element--shell-left {
    left: -8% !important;
    top: 55% !important;
    width: 14% !important;
    opacity: .48 !important;
    transform: rotate(-20deg);
  }

  .home-hero-elements--front .hero-element--red-right {
    left: 4% !important;
    top: 42% !important;
    width: 14% !important;
    opacity: .54 !important;
    transform: rotate(26deg);
  }

  .home-hero-elements--front .hero-element--leaf-long-right {
    left: -8% !important;
    top: 70% !important;
    width: 28% !important;
    opacity: .32 !important;
    transform: rotate(18deg);
  }

  .home-hero-elements--front .hero-element--leaf-broad-left {
    right: -8% !important;
    left: auto !important;
    top: 68% !important;
    width: 27% !important;
    opacity: .29 !important;
    transform: rotate(-18deg);
  }

  .home-hero-elements--front .hero-element--cluster-right {
    right: -8% !important;
    left: auto !important;
    top: 46% !important;
    width: 18% !important;
    opacity: .38 !important;
    transform: rotate(21deg);
  }

  .home-hero-elements--front .hero-element--shell-right {
    right: 19% !important;
    left: auto !important;
    top: 79% !important;
    width: 14% !important;
    opacity: .48 !important;
    transform: rotate(27deg);
  }
}

/* The shared RTL token layer has an older side-offset rule for the mobile
 * still-life. Reassert the centered phone stage with higher specificity so
 * Arabic receives the same balanced composition. */
@media (max-width: 560px) {
  html[dir="rtl"] .home-hero .home-hero-products {
    right: auto !important;
    left: 50% !important;
  }
}
