/* ════════════════════════════════════════════════════════════════════
   SUSTAINABILITY — "Building A Sustainable Future Together" Hero
   Isolated component (see sustainability-hero.js). Full-bleed cinematic
   composition of a glowing environmental globe set against a river,
   forest and mountain landscape at sunrise (Hero/sustainability.*) —
   one full-inset photo + one scrim, matching the site's established
   hero convention (.csrh in csr-hero.css, .op-hero in process-hero.css,
   .awh in awards-hero.css), not a boxed image stitched against a
   separately drawn background. The plate already bakes in its own navy
   field on the left, its sustainability network of nodes/icons and the
   orange curve along the bottom, so none of those are redrawn — only a
   soft breathing glow is layered over the globe and horizon to bring
   the still plate to life. A five-item sustainability commitment row
   spans the full width of the lower band.

   Motion contract: only transform / opacity are animated on anything
   that runs continuously. Width, height, margin, left and top are
   never transitioned.
   ════════════════════════════════════════════════════════════════════ */

.sush {
  --navy: #061B49;
  --navy-mid: #08265C;
  --navy-deep: #020814;
  --ink: #F5F7FB;
  --ink-dim: #B9C4DE;
  --accent: #FF6B00;
  --accent-2: #FF7518;
  --accent-hot: #FFC24B;
  --accent-green: #7CB86B;
  position: relative;
  height: 88vh;
  min-height: 820px;
  max-height: 1040px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--ink);
}

@media (max-width: 900px) {
  .sush { height: auto; min-height: 0; max-height: none; }
}

.sush-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* ══ full-bleed photo — the plate itself already carries the navy field
   on the left, the sustainability network of icons/nodes around the
   globe, and the orange curve along the bottom, so no separate
   decorative layer duplicates them ══ */
.sush-visual { position: absolute; inset: 0; overflow: hidden; }

.sush-visual picture,
.sush-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.sush-visual-img {
  object-fit: cover;
  object-position: 52% 50%;
  transform: scale(1.04);
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

@media (max-width: 1100px) {
  .sush-visual-img { object-position: 38% 50%; }
}

/* single scrim reinforcing the plate's own navy field so the headline
   stays readable at any crop, with a deeper footer band so the
   commitment row always sits on a clean, legible surface regardless of
   where the photo's own curve/icons land in the crop */
.sush-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, var(--navy) 0%, rgba(6, 27, 73, .92) 22%, rgba(6, 27, 73, .72) 38%, rgba(6, 27, 73, .34) 54%, rgba(6, 27, 73, .06) 70%, transparent 84%),
    linear-gradient(180deg, rgba(2, 8, 20, .15) 0%, transparent 20%, transparent 44%, rgba(2, 8, 20, .48) 62%, rgba(2, 8, 20, .82) 80%, rgba(2, 8, 20, .94) 100%);
}

@media (max-width: 900px) {
  .sush-scrim {
    background:
      linear-gradient(180deg, rgba(6, 27, 73, .68) 0%, rgba(6, 27, 73, .34) 18%, rgba(2, 8, 20, .28) 34%, rgba(2, 8, 20, .6) 56%, rgba(2, 8, 20, .9) 74%, var(--navy-deep) 94%),
      linear-gradient(90deg, rgba(6, 27, 73, .42) 0%, transparent 45%, transparent 60%, rgba(6, 27, 73, .28) 100%);
  }
}

/* ── faint technical grid, low opacity, confined to the content field ── */
.sush-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .05;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0px, rgba(255, 255, 255, .5) 1px, transparent 1px, transparent 42px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .5) 0px, rgba(255, 255, 255, .5) 1px, transparent 1px, transparent 42px);
  -webkit-mask-image: linear-gradient(100deg, #000 0%, #000 34%, transparent 56%);
  mask-image: linear-gradient(100deg, #000 0%, #000 34%, transparent 56%);
  animation: sushGridDrift 20s linear infinite;
}

@keyframes sushGridDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 84px 0, 0 84px; }
}

@media (max-width: 900px) {
  .sush-grid { display: none; }
}

/* ── soft breathing glow layered over the globe and the sunrise on the
   plate, the only motion added to the still photo itself ── */
.sush-globe-glow,
.sush-sun-glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(18px);
  mix-blend-mode: screen;
}

.sush-globe-glow {
  left: 62%;
  top: 40%;
  width: clamp(180px, 20vw, 340px);
  height: clamp(180px, 20vw, 340px);
  background: radial-gradient(circle, rgba(124, 184, 107, .45) 0%, rgba(255, 117, 24, .18) 55%, transparent 75%);
  animation: sushGlobeBreathe 6s ease-in-out infinite;
}

.sush-sun-glow {
  left: 55%;
  top: 6%;
  width: clamp(140px, 14vw, 240px);
  height: clamp(140px, 14vw, 240px);
  background: radial-gradient(circle, rgba(255, 194, 75, .5) 0%, rgba(255, 107, 0, .16) 55%, transparent 75%);
  animation: sushSunBreathe 7s ease-in-out infinite 1s;
}

@keyframes sushGlobeBreathe {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: .78; transform: scale(1.08); }
}

@keyframes sushSunBreathe {
  0%, 100% { opacity: .55; }
  50% { opacity: .8; }
}

@media (max-width: 1100px) {
  .sush-globe-glow, .sush-sun-glow { display: none; }
}

/* ── small orange pulses over the plate's own network nodes/icons —
   subtle environmental data/connection signal, each dot pulsing on its
   own offset so they never beat in sync ── */
.sush-pulses {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.sush-pulse {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--accent-hot);
  box-shadow: 0 0 14px 4px rgba(255, 194, 75, .8);
  opacity: .45;
  transform: scale(.9);
  animation: sushPulseDot var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

/* outer sonar ring, same technique as .pin-pulse on the market-presence
   map, so the node reads clearly as a live signal rather than a static
   dot with a soft shadow */
.sush-pulse::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-hot);
  opacity: 0;
  animation: sushPulseRing var(--dur, 4s) ease-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes sushPulseDot {
  0%, 100% { opacity: .45; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes sushPulseRing {
  0% { transform: scale(.5); opacity: .65; }
  70% { opacity: 0; }
  100% { transform: scale(2); opacity: 0; }
}

@media (max-width: 1100px) {
  .sush-pulses { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sush-grid, .sush-globe-glow, .sush-sun-glow, .sush-pulse, .sush-pulse::after { animation: none !important; }
  .sush-pulse { opacity: .5; transform: scale(1); }
  .sush-pulse::after { opacity: 0; }
}

/* ── drifting glow-dot particles (mirrors .hero-particles on the
   homepage / .ph-particles on the products page) — a separate rising
   float layer, distinct from the stationary .sush-pulse ring effect
   above. Plain spans injected once by sustainability-hero.js with
   randomized CSS custom properties, animated purely by the keyframe
   below. ── */
.sush-particles { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }

.sush-particle {
  position: absolute;
  bottom: -5%;
  left: var(--x, 50%);
  width: var(--size, 3px);
  height: var(--size, 3px);
  border-radius: 50%;
  background: var(--hue, var(--accent-2));
  box-shadow: 0 0 6px 1px var(--hue, rgba(255, 117, 24, .6));
  opacity: 0;
  animation: sushParticleFloat var(--dur, 16s) ease-in var(--delay, 0s) infinite;
}

@keyframes sushParticleFloat {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: .7; }
  85% { opacity: .35; }
  100% { transform: translateY(-115vh) translateX(var(--drift, 20px)); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sush-particle { animation: none !important; }
}

/* ══ content ══ */
.sush-inner {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2.25rem) 1.75rem 0;
}

.sush-content { max-width: min(45vw, 760px); padding-bottom: 2rem; }

.sush-badge {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent-hot);
  opacity: 0;
}

.sush-badge-icon { display: flex; flex-shrink: 0; color: var(--accent); }
.sush-badge-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.sush-badge-line { width: 30px; height: 1.5px; background: linear-gradient(90deg, var(--accent), var(--accent-hot)); }

.sush-heading {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  text-transform: none;
  font-size: clamp(2rem, 3vw + .8vh, 3.4rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.01em;
}

.sush-heading .line { display: block; opacity: 0; }
.sush-heading .ink { color: #fff; }
.sush-heading .accent {
  color: var(--accent);
  filter: drop-shadow(0 0 26px rgba(255, 107, 0, .32));
}

.sush-desc {
  margin-top: 1.75rem;
  max-width: 46ch;
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--ink-dim);
  padding: .95rem 1.3rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 1rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .12);
  opacity: 0;
}

/* ── CTA: orange pill, white text, arrow badge ── */
.sush-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  margin-top: 2.4rem;
  padding: .5rem .5rem .5rem 1.55rem;
  border-radius: 3rem;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 10px 26px rgba(255, 107, 0, .28);
  opacity: 0;
  transition: box-shadow .3s ease, transform .3s cubic-bezier(.22, 1, .36, 1), background .3s ease;
}

.sush-cta:hover,
.sush-cta:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #E85D00, var(--accent));
  box-shadow: 0 16px 34px rgba(255, 107, 0, .4);
}

.sush-cta:focus-visible {
  outline: 2px solid var(--accent-hot);
  outline-offset: 3px;
}

.sush-cta-label {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.sush-cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

.sush-cta-arrow svg { width: 16px; height: 16px; }

.sush-cta:hover .sush-cta-arrow,
.sush-cta:focus-visible .sush-cta-arrow {
  transform: translateX(5px);
}

/* ══ five-item sustainability commitment row — full width across the
   lower band ══ */
.sush-features {
  position: relative;
  padding-bottom: clamp(3rem, 6.5vw, 5rem);
  opacity: 0;
}

.sush-features-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.sush-feature {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: 0 1.05rem;
  border-left: 1px solid rgba(255, 255, 255, .14);
  outline: none;
  opacity: 0;
  transform: translateY(14px);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}

.sush-feature:first-child { border-left: none; padding-left: 0; }

.sush-feature-icon {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 32% 28%, rgba(255, 107, 0, .3), rgba(6, 14, 33, .05)), rgba(6, 14, 33, .68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 107, 0, .45);
  color: var(--accent-hot);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), border-color .28s ease, box-shadow .28s ease, color .28s ease;
}

.sush-feature-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ── idle "flex" pulse: a soft ring breathing outward behind each icon ── */
.sush-feature-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent-hot);
  box-shadow: 0 0 0 0 rgba(255, 194, 75, .5);
  opacity: 0;
  animation: sushIconFlex 2.6s cubic-bezier(.22, 1, .36, 1) infinite;
}
.sush-feature:nth-child(1) .sush-feature-icon::after { animation-delay: 0s; }
.sush-feature:nth-child(2) .sush-feature-icon::after { animation-delay: .65s; }
.sush-feature:nth-child(3) .sush-feature-icon::after { animation-delay: 1.3s; }
.sush-feature:nth-child(4) .sush-feature-icon::after { animation-delay: 1.95s; }

@keyframes sushIconFlex {
  0% { transform: scale(1); opacity: .9; }
  75% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.sush-feature-title {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--ink);
  text-shadow: 0 1px 8px rgba(2, 8, 20, .7);
  transition: color .28s ease;
}

.sush-feature-sub {
  display: block;
  margin-top: .3rem;
  font-size: .75rem;
  line-height: 1.4;
  color: var(--ink-dim);
  text-shadow: 0 1px 8px rgba(2, 8, 20, .7);
}

.sush-feature:hover,
.sush-feature:focus-visible { transform: translateY(-2px); }

.sush-feature:hover .sush-feature-icon,
.sush-feature:focus-visible .sush-feature-icon {
  transform: scale(1.08);
  border-color: var(--accent-hot);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(255, 117, 24, .14), 0 0 18px rgba(255, 194, 75, .4);
}

.sush-feature:hover .sush-feature-title,
.sush-feature:focus-visible .sush-feature-title { color: var(--accent-hot); }

@media (max-width: 1280px) {
  .sush-feature-sub { display: none; }
  .sush-feature-icon { width: 34px; height: 34px; }
  .sush-feature-icon svg { width: 16px; height: 16px; }
  .sush-feature { padding: 0 .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sush-feature, .sush-feature:hover, .sush-feature:focus-visible { transform: none !important; }
  .sush-feature-icon::after { animation: none !important; display: none; }
}

/* below 900px the hero switches to the stacked mobile layout, where
   .sush-features-mobile takes over — avoid showing both at once */
@media (max-width: 900px) {
  .sush-features { display: none; }
}

/* ══ mobile: badge, headline, copy, CTA stack centered over the same
   full-bleed photo, which deepens to solid navy toward the bottom so
   the five commitments read clearly beneath it — no separate boxed
   card, matching the homepage / leadership hero ══ */
@media (max-width: 900px) {
  .sush-inner { padding: calc(var(--nav-h) + 1.6rem) 1.25rem 0; display: block; }

  .sush-content { max-width: none; text-align: center; padding-bottom: 0; }

  .sush-badge { justify-content: center; }

  .sush-desc { margin-left: auto; margin-right: auto; }

  .sush-cta { margin-left: auto; margin-right: auto; }

  .sush-visual-img { object-position: 60% 32%; transform: scale(1); }
}

.sush-features-mobile {
  display: none;
  position: relative;
  z-index: 3;
  order: 3;
  margin: 1.8rem 0 0;
  padding: 0 1.25rem 2.2rem;
  opacity: 0;
}

@media (max-width: 900px) { .sush-features-mobile { display: block; } }

.sush-features-grid-m {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}

.sush-feature-m {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .55rem;
  padding: 1.1rem .8rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 107, 0, .22);
  background: linear-gradient(155deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0));
  opacity: 0;
  transform: translateY(14px);
}

.sush-feature-m:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 260px; margin: 0 auto; }

.sush-feature-m .sush-feature-icon { width: 40px; height: 40px; }
.sush-feature-m .sush-feature-icon svg { width: 18px; height: 18px; }
.sush-feature-m .sush-feature-title { font-size: .76rem; }
.sush-feature-m .sush-feature-sub { display: block; font-size: .72rem; }

/* ══ LOW-END MOBILE: decorative background-position sweep/drift forces a
   repaint every frame and (where paired) costs extra compositing via
   mix-blend-mode; simplify it away below the tablet breakpoint regardless
   of the user's reduced-motion preference, since most low-end-phone users
   won't have that OS setting enabled ══ */
@media (max-width: 760px) {
  .sush-grid { animation: none !important; }
}

/* ══ LOW-POWER MODE: same grid-drift simplification as the mobile
   breakpoint above, keyed off device capability (.low-power-mode)
   instead of viewport width ══ */
.low-power-mode .sush-grid { animation: none !important; }
