﻿/* iCEM Home â€” centered image hero + sections */

.icem-lead {
  color: var(--icem-muted, #5f5c57);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 40rem;
}

/* ---------- Hero ---------- */
.icem-hero {
  position: relative;
  min-height: 70vh;
  height: 70vh;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #12100e;
}

.icem-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.icem-hero-still {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.18) translate3d(3%, 0, 0);
  filter: brightness(0.55) saturate(0.85) blur(6px);
  /* Diagonal wipe â€” echoes the slanted logo edge */
  clip-path: polygon(0 0, 0 0, -12% 100%, -12% 100%);
  transition:
    opacity 1.15s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 1.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 1.2s ease,
    clip-path 1.25s cubic-bezier(0.65, 0.05, 0.36, 1),
    visibility 0s linear 1.25s;
  will-change: transform, opacity, clip-path, filter;
}

.icem-hero-still.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
  transform: scale(1.06) translate3d(0, 0, 0);
  filter: brightness(1) saturate(1) blur(0);
  clip-path: polygon(0 0, 112% 0, 100% 100%, -12% 100%);
  transition:
    opacity 1.15s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 1.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 1.2s ease,
    clip-path 1.25s cubic-bezier(0.65, 0.05, 0.36, 1),
    visibility 0s linear 0s;
  animation: icem-hero-drift 7s ease-out 0.2s forwards;
}

.icem-hero-still.is-leaving {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: none;
  transform: scale(1.14) translate3d(-2%, 0, 0);
  filter: brightness(0.45) saturate(0.7) blur(3px);
  clip-path: polygon(112% 0, 112% 0, 100% 100%, 100% 100%);
  animation: none;
  transition:
    opacity 1.1s ease 0.15s,
    transform 1.3s cubic-bezier(0.4, 0, 0.2, 1),
    filter 1.1s ease,
    clip-path 1.2s cubic-bezier(0.65, 0.05, 0.36, 1),
    visibility 0s linear 1.25s;
}

/* Alternate wipe direction for variety */
.icem-hero-still.is-wipe-alt {
  transform: scale(1.18) translate3d(-3%, 0, 0);
  clip-path: polygon(100% 0, 100% 0, 112% 100%, 112% 100%);
}

.icem-hero-still.is-wipe-alt.is-active {
  transform: scale(1.06) translate3d(0, 0, 0);
  clip-path: polygon(-12% 0, 100% 0, 112% 100%, 0 100%);
  animation: icem-hero-drift-alt 7s ease-out 0.2s forwards;
}

.icem-hero-still.is-wipe-alt.is-leaving {
  transform: scale(1.14) translate3d(2%, 0, 0);
  clip-path: polygon(-12% 0, -12% 0, 0 100%, 0 100%);
}

@keyframes icem-hero-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.2%, -0.6%, 0); }
}

@keyframes icem-hero-drift-alt {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(1.2%, -0.5%, 0); }
}

/* Soft brand flash between slides */
.icem-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(230, 138, 46, 0.18) 50%, transparent 65%);
  opacity: 0;
  transform: translateX(-30%);
  transition: none;
}

.icem-hero-media.is-transitioning::after {
  animation: icem-hero-flash 1.15s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes icem-hero-flash {
  0% { opacity: 0; transform: translateX(-40%); }
  35% { opacity: 0.85; }
  100% { opacity: 0; transform: translateX(40%); }
}

.icem-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(12, 10, 8, 0.62) 0%,
      rgba(12, 10, 8, 0.48) 45%,
      rgba(12, 10, 8, 0.7) 100%);
}

.icem-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.4) 68%,
      rgba(0, 0, 0, 0.58) 100%);
}

.icem-hero-inner {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  display: flex;
  justify-content: center;
}

.icem-hero-copy {
  max-width: 46rem;
  text-align: center;
  margin: 0 auto;
  padding-inline: 0.5rem;
}

.icem-hero-copy [data-hero-line] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.84, 0.28, 1),
    transform 0.7s cubic-bezier(0.22, 0.84, 0.28, 1);
  will-change: opacity, transform;
}

.icem-hero-copy.is-ready [data-hero-line].is-in {
  opacity: 1;
  transform: translateY(0);
}

.icem-hero-eyebrow {
  font-family: var(--heading-font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--icem-accent, #e68a2e);
  margin: 0 auto 0.85rem;
}

.icem-hero-title {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.4vw, 2.4rem);
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0 auto 0.65rem;
  max-width: 18em;
  color: #fff;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.4);
  text-transform: none;
}

.icem-hero-rotator {
  position: relative;
  min-height: 4.4rem;
  margin: 0 auto 1.1rem;
  max-width: 36rem;
}

.icem-hero-context {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease,
    visibility 0.65s ease;
  pointer-events: none;
}

.icem-hero-context.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.icem-hero-context.is-leaving {
  opacity: 0;
  visibility: visible;
  transform: translateY(-8px);
}

.icem-hero-subtitle {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.35;
  margin: 0 auto 0.55rem;
  max-width: 28ch;
  color: rgba(255, 220, 180, 0.96);
}

.icem-hero-text {
  font-size: clamp(0.9rem, 1.15vw, 1.02rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 auto;
  max-width: 34rem;
}

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

.icem-hero-story {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  z-index: 6;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  padding: 0 1rem;
  font-family: var(--heading-font);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: capitalize;
  color: rgba(255, 236, 210, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.icem-hero-story span {
  position: relative;
}

.icem-hero-story span:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  right: -0.95rem;
  opacity: 0.45;
}

@media (max-width: 767.98px) {
  .icem-hero {
    /* Content-sized hero — removes empty dark band under CTAs */
    min-height: 0;
    height: auto;
    align-items: flex-end;
    padding-top: 5.5rem;
    padding-bottom: 0;
    background: #12100e;
  }

  .icem-hero-media {
    /* Keep media covering full hero including blend into next section */
    bottom: -2.5rem;
  }

  .icem-hero-story {
    display: none;
  }

  .icem-hero-still {
    background-position: 48% center;
    animation: none;
  }

  .icem-hero-inner {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
    padding-inline: 0.5rem;
  }

  .icem-hero-title {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
    max-width: 15em;
  }

  .icem-hero-rotator {
    min-height: 5.2rem;
    margin-bottom: 1.25rem;
  }

  .icem-hero-subtitle {
    font-size: clamp(1.02rem, 4.2vw, 1.25rem);
    max-width: 20ch;
  }

  .icem-hero-text {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
  }

  .icem-hero-cta {
    gap: 0.65rem;
  }

  .icem-hero-cta .icem-btn {
    width: 100%;
    max-width: 18rem;
    justify-content: center;
  }

  .icem-hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(12, 10, 8, 0.72) 0%,
        rgba(12, 10, 8, 0.52) 42%,
        rgba(12, 10, 8, 0.88) 100%);
  }

  /* Seamless handoff into paradigm-shift band */
  .icem-shift {
    margin-top: -1px;
    background: #12100e;
  }

  .icem-shift-texture {
    background:
      linear-gradient(180deg, #12100e 0%, #1a1714 18%, #2b2b2b 42%, transparent 58%),
      repeating-linear-gradient(
        135deg,
        rgba(230, 138, 46, 0.07) 0 2px,
        transparent 2px 14px
      );
  }

  .icem-shift-rail {
    padding-top: 2rem;
  }

  .icem-shift-copy {
    background: #f4f0ea;
  }
}

@media (prefers-reduced-motion: reduce) {
  .icem-hero-still {
    animation: none !important;
    transition: opacity 0.35s ease !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
  .icem-hero-media::after { display: none; }
  .icem-hero-copy [data-hero-line] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Purpose chain ---------- */
.icem-chain-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.icem-chain-track-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.icem-chain-step {
  padding: 1.4rem 1.15rem;
  border-top: 2px solid var(--icem-accent, #e68a2e);
  background: transparent;
}

.icem-chain-index {
  display: block;
  font-family: var(--heading-font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--icem-accent-warm, #d47820);
  margin-bottom: 0.65rem;
}

.icem-chain-step h3 {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--icem-primary, #2b2b2b);
  margin-bottom: 0.55rem;
}

.icem-chain-step p {
  margin: 0;
  color: var(--icem-muted, #5f5c57);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 991.98px) {
  .icem-chain-track,
  .icem-chain-track-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
  .icem-chain-track,
  .icem-chain-track-3 { grid-template-columns: 1fr; }
}

/* ---------- About snapshot ---------- */
.icem-about-panel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.icem-about-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 1.2s ease;
}

.icem-about-panel:hover .icem-about-panel-bg {
  transform: scale(1.08);
}

.icem-about-panel-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.75rem;
  background: linear-gradient(to top, rgba(12, 10, 8, 0.92), rgba(12, 10, 8, 0.5));
  color: #fff;
}

.icem-about-quote {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.icem-initiative-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (max-width: 575.98px) {
  .icem-initiative-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- CTA band ---------- */
.icem-cta-band {
  padding: 4.5rem 0;
  background:
    linear-gradient(120deg, rgba(20, 18, 14, 0.92), rgba(230, 138, 46, 0.48)),
    url('../img/icem-hero.png') center/cover no-repeat;
  color: #fff;
  text-align: center;
}

.icem-cta-band h2 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.icem-cta-band p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* =========================================================
   Home post-hero bands â€” tight, textured, motion-led
   ========================================================= */

.icem-home-band {
  position: relative;
  padding: 3.25rem 0;
  overflow: hidden;
}

.icem-band-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.icem-band-intro h2 {
  margin: 0.35rem 0 0;
}

.icem-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--icem-accent, #e68a2e);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.icem-text-link:hover {
  color: #c46f1c;
}

.icem-text-link i {
  transition: transform 0.25s ease;
}

.icem-text-link:hover i {
  transform: translateX(4px);
}

/* Shared textures */
.icem-topo-texture,
.icem-mesh-texture,
.icem-shift-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.icem-topo-texture {
  background:
    radial-gradient(ellipse at 12% 20%, rgba(230, 138, 46, 0.08), transparent 42%),
    radial-gradient(ellipse at 88% 80%, rgba(43, 43, 43, 0.05), transparent 45%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 18px,
      rgba(43, 43, 43, 0.035) 18px,
      rgba(43, 43, 43, 0.035) 19px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 18px,
      rgba(43, 43, 43, 0.03) 18px,
      rgba(43, 43, 43, 0.03) 19px
    );
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}

.icem-mesh-texture {
  background:
    linear-gradient(135deg, rgba(247, 244, 239, 0.95), rgba(236, 230, 220, 0.9)),
    repeating-linear-gradient(
      -28deg,
      transparent 0 10px,
      rgba(230, 138, 46, 0.05) 10px 11px
    );
}

.icem-home-band > .container,
.icem-home-band > .container-fluid {
  position: relative;
  z-index: 1;
}

/* ---------- 1. Paradigm shift ---------- */
.icem-shift {
  padding: 0;
  background: #f4f0ea;
}

.icem-shift-texture {
  background:
    linear-gradient(105deg, #2b2b2b 0%, #2b2b2b 34%, transparent 34.15%),
    repeating-linear-gradient(
      135deg,
      rgba(230, 138, 46, 0.07) 0 2px,
      transparent 2px 14px
    );
  opacity: 1;
}

.icem-shift-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.4fr);
  min-height: 0;
}

.icem-shift-rail {
  position: relative;
  padding: 3rem 1.75rem 3rem clamp(1.5rem, 4vw, 3.5rem);
  color: #f5f1ea;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  isolation: isolate;
}

.icem-shift-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(230, 138, 46, 0.35), transparent 55%),
    linear-gradient(160deg, #1f1f1f, #2f2b27 70%);
  z-index: -1;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.icem-shift-cube {
  width: 4.25rem;
  height: 4.25rem;
  perspective: 520px;
  display: grid;
  place-items: center;
}

.icem-cube {
  position: relative;
  width: 2.55rem;
  height: 2.55rem;
  transform-style: preserve-3d;
  transform: rotateX(-24deg) rotateY(36deg);
  animation: icem-cube-spin 9s linear infinite;
}

.icem-cube-face {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(255, 186, 112, 0.95);
  background: linear-gradient(145deg, rgba(230, 138, 46, 0.42), rgba(230, 138, 46, 0.12));
  box-shadow: inset 0 0 14px rgba(230, 138, 46, 0.28);
  backface-visibility: hidden;
}

.icem-cube-front  { transform: translateZ(1.275rem); }
.icem-cube-back   { transform: rotateY(180deg) translateZ(1.275rem); }
.icem-cube-right  { transform: rotateY(90deg) translateZ(1.275rem); }
.icem-cube-left   { transform: rotateY(-90deg) translateZ(1.275rem); }
.icem-cube-top    { transform: rotateX(90deg) translateZ(1.275rem); background: linear-gradient(145deg, rgba(255, 176, 90, 0.55), rgba(230, 138, 46, 0.2)); }
.icem-cube-bottom { transform: rotateX(-90deg) translateZ(1.275rem); opacity: 0.85; }

@keyframes icem-cube-spin {
  to { transform: rotateX(-24deg) rotateY(396deg); }
}

.icem-shift-label {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--icem-accent, #e68a2e);
}

.icem-shift-signals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.icem-shift-signals li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.icem-shift-signals li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--icem-accent, #e68a2e);
  box-shadow: 0 0 0 0 rgba(230, 138, 46, 0.5);
  animation: icem-pulse 2.4s ease-out infinite;
}

.icem-shift-signals li:nth-child(2)::before { animation-delay: 0.4s; }
.icem-shift-signals li:nth-child(3)::before { animation-delay: 0.8s; }

@keyframes icem-pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 138, 46, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(230, 138, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 138, 46, 0); }
}

.icem-shift-copy {
  padding: 3rem clamp(1.5rem, 4vw, 3.5rem) 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
}

.icem-shift-copy h2 {
  margin: 0;
  color: var(--icem-accent, #e68a2e);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.25;
  max-width: 18ch;
}

.icem-shift-copy p {
  margin: 0;
  max-width: 42rem;
  color: #3f3c37;
  font-size: 1.02rem;
  line-height: 1.65;
}

.icem-shift-copy .icem-btn {
  align-self: flex-start;
  margin-top: 0.35rem;
}

/* ---------- 2. Vision narrative ---------- */
.icem-vision-band {
  background: #faf8f5;
  padding: 3.5rem 0;
}

.icem-vision-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "head pull"
    "body tags";
  gap: 1.25rem 2rem;
  align-items: start;
}

.icem-vision-head { grid-area: head; }
.icem-vision-pull { grid-area: pull; }
.icem-vision-body { grid-area: body; }
.icem-vision-tags { grid-area: tags; }

.icem-vision-head h2 {
  margin: 0.4rem 0 0;
  max-width: 16ch;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  color: var(--icem-accent, #e68a2e);
  line-height: 1.2;
}

.icem-vision-pull {
  margin: 0;
  padding: 1.35rem 1.4rem;
  background:
    linear-gradient(145deg, rgba(230, 138, 46, 0.12), rgba(230, 138, 46, 0.04)),
    #fff;
  border-left: 3px solid var(--icem-accent, #e68a2e);
  font-family: var(--heading-font);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
  line-height: 1.45;
  color: #2b2b2b;
  box-shadow: 0 12px 30px rgba(43, 43, 43, 0.06);
}

.icem-vision-pull em {
  font-style: normal;
  color: var(--icem-accent, #e68a2e);
}

.icem-vision-body {
  display: grid;
  gap: 0.85rem;
  columns: 1;
}

.icem-vision-body p {
  margin: 0;
  color: #45423c;
  font-size: 0.98rem;
  line-height: 1.7;
}

.icem-vision-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-content: start;
  padding-top: 0.25rem;
}

.icem-vision-tags span {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  background: #fff;
  border: 1px solid rgba(43, 43, 43, 0.1);
  font-size: 0.82rem;
  font-weight: 600;
  color: #2b2b2b;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.icem-vision-tags span:hover {
  border-color: var(--icem-accent, #e68a2e);
  color: var(--icem-accent, #e68a2e);
  transform: translateY(-2px);
}

/* ---------- 3. Focus domains — compact 2x2 split cards ---------- */
.icem-focus-band {
  background: #141210;
  color: #f4f0ea;
  padding: 3.5rem 0 3.75rem;
  overflow: hidden;
}

.icem-focus-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(230, 138, 46, 0.16), transparent 42%),
    radial-gradient(ellipse at 88% 78%, rgba(230, 138, 46, 0.08), transparent 40%),
    repeating-linear-gradient(-18deg, transparent 0 14px, rgba(255, 255, 255, 0.025) 14px 15px);
}

.icem-focus-band > .container {
  position: relative;
  z-index: 1;
}

.icem-focus-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.icem-focus-intro .icem-kicker {
  color: var(--icem-accent, #e68a2e);
}

.icem-focus-intro h2 {
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.icem-focus-intro .icem-text-link {
  color: var(--icem-accent, #e68a2e);
}

.icem-focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.icem-focus-card {
  position: relative;
  display: grid;
  grid-template-columns: 9.75rem minmax(0, 1fr);
  min-height: 0;
  color: #fff;
  background: #1c1916;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(0.22, 0.84, 0.28, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.icem-focus-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--icem-accent, #e68a2e);
  z-index: 3;
  transform: scaleY(0.28);
  transform-origin: top;
  transition: transform 0.35s ease;
}

.icem-focus-card:hover {
  z-index: 2;
  border-color: rgba(230, 138, 46, 0.5);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.36);
  transform: translateY(-4px);
}

.icem-focus-card:hover::before {
  transform: scaleY(1);
}

.icem-focus-card-visual {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #0e0c0b;
}

.icem-focus-card-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  transition: transform 0.7s ease;
}

.icem-focus-card-water .icem-focus-card-visual img { object-position: center 42%; }
.icem-focus-card-earth .icem-focus-card-visual img { object-position: 32% center; }
.icem-focus-card-energy .icem-focus-card-visual img { object-position: center 40%; }
.icem-focus-card-efficiency .icem-focus-card-visual img { object-position: 55% 48%; }

.icem-focus-card:hover .icem-focus-card-visual img {
  transform: scale(1.08);
}

.icem-focus-card-glow {
  position: absolute;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  right: -2rem;
  bottom: -2rem;
  background: radial-gradient(circle, rgba(230, 138, 46, 0.28), transparent 68%);
  z-index: 1;
  animation: icem-focus-pulse 4.5s ease-in-out infinite;
  pointer-events: none;
}

.icem-focus-card-earth .icem-focus-card-glow { animation-delay: 0.5s; }
.icem-focus-card-energy .icem-focus-card-glow { animation-delay: 1s; }
.icem-focus-card-efficiency .icem-focus-card-glow { animation-delay: 1.5s; }

@keyframes icem-focus-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.18); }
}

.icem-focus-idx {
  position: absolute;
  top: 0.55rem;
  left: 0.7rem;
  z-index: 2;
  font-family: var(--heading-font);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: -0.03em;
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transition: color 0.3s ease;
}

.icem-focus-card:hover .icem-focus-idx {
  color: rgba(230, 138, 46, 0.75);
}

.icem-focus-detail-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.icem-focus-detail-top i {
  width: 1.95rem;
  height: 1.95rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(230, 138, 46, 0.16);
  border: 1px solid rgba(230, 138, 46, 0.4);
  color: var(--icem-accent, #e68a2e);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.icem-focus-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.icem-focus-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.95rem 1rem 1rem 1.05rem;
  background: #1c1916;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.icem-focus-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
  align-content: start;
}

.icem-focus-card li {
  position: relative;
  padding-left: 0.9rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
  line-height: 1.4;
}

.icem-focus-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--icem-accent, #e68a2e);
}

.icem-focus-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.45rem 0.75rem;
  background: var(--icem-accent, #e68a2e);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.icem-focus-cta:hover {
  background: #fff;
  color: #2b2b2b;
  transform: translateY(-2px);
}

@media (min-width: 1200px) {
  .icem-focus-card {
    grid-template-columns: 10.75rem minmax(0, 1fr);
  }
}

/* ---------- 4. Climate ---------- */
.icem-climate {
  background: #12100e;
  color: #f4f0ea;
  padding: 3.5rem 0;
}

.icem-climate .icem-kicker {
  color: var(--icem-accent, #e68a2e);
}

.icem-climate-head {
  max-width: 46rem;
  margin-bottom: 1.75rem;
}

.icem-climate-head h2 {
  color: #fff;
  margin: 0.35rem 0 0.7rem;
}

.icem-climate-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  line-height: 1.6;
}

.icem-climate-stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0.9rem;
}

.icem-climate-panel {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  isolation: isolate;
}

.icem-climate-panel-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 10, 8, 0.25), rgba(12, 10, 8, 0.78)),
    var(--panel-img) center/cover no-repeat;
  transform: scale(1.04);
  transition: transform 1.1s ease;
  z-index: -1;
}

.icem-climate-panel:hover .icem-climate-panel-media {
  transform: scale(1.1);
}

.icem-climate-leaf {
  position: absolute;
  top: 16%;
  left: 50%;
  width: 7.2rem;
  height: 9.4rem;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 35%, rgba(150, 210, 255, 0.7), rgba(55, 120, 175, 0.45) 55%, rgba(30, 80, 50, 0.25) 78%);
  border-radius: 50% 50% 48% 48% / 62% 62% 38% 38%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  animation: icem-leaf-float 4.5s ease-in-out infinite;
}

.icem-climate-leaf span {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.35rem;
  color: #16351f;
  letter-spacing: 0.04em;
}

@keyframes icem-leaf-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

.icem-climate-orbit {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 11rem;
  height: 11rem;
  transform: translate(-50%, -55%);
}

.icem-orbit-ring {
  position: absolute;
  inset: 0;
  animation: icem-ring-spin 16s linear infinite;
}

.icem-orbit-core {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--icem-accent, #e68a2e);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  box-shadow: 0 0 30px rgba(230, 138, 46, 0.45);
  animation: icem-core-glow 2.8s ease-in-out infinite;
  z-index: 2;
}

@keyframes icem-core-glow {
  0%, 100% { box-shadow: 0 0 18px rgba(230, 138, 46, 0.35); }
  50% { box-shadow: 0 0 36px rgba(230, 138, 46, 0.7); }
}

.icem-orbit-ring > span {
  --angle: calc(var(--i) * 60deg);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.15rem;
  height: 2.15rem;
  margin: -1.075rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #2b2b2b;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  transform: rotate(var(--angle)) translate(5.1rem) rotate(calc(-1 * var(--angle)));
}

@keyframes icem-ring-spin {
  to { transform: rotate(360deg); }
}

/* Counter-rotate icons so glyphs stay upright while the ring spins */
.icem-orbit-ring > span i {
  display: inline-block;
  animation: icem-ring-spin 16s linear infinite reverse;
}

.icem-climate-panel-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem 1.25rem;
}

.icem-climate-panel-copy h3 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 1.15rem;
}

.icem-climate-panel-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 34ch;
}

/* ---------- 5. Impact mosaic ---------- */
.icem-impact {
  background: #f3eee6;
  padding: 3.4rem 0;
}

.icem-impact-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 14rem 14rem;
  gap: 0.85rem;
}

.icem-impact-card {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
  min-height: 14rem;
}

.icem-impact-card:hover,
.icem-impact-card:focus {
  color: #fff;
}

.icem-impact-card.is-wide {
  grid-column: 1 / span 2;
}

.icem-impact-card.is-tall {
  grid-row: 1 / span 2;
  grid-column: 3;
  min-height: 100%;
}

.icem-impact-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 18, 14, 0.15), rgba(20, 18, 14, 0.82)),
    var(--card-img) center/cover no-repeat;
  transform: scale(1.03);
  transition: transform 0.9s ease;
  z-index: -1;
}

.icem-impact-card:hover .icem-impact-media {
  transform: scale(1.1);
}

.icem-impact-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.15rem 1.1rem;
  display: grid;
  gap: 0.2rem;
  background: linear-gradient(90deg, rgba(196, 111, 28, 0.96), rgba(196, 111, 28, 0.9) 62%, rgba(196, 111, 28, 0.78));
  transform: translateY(0);
  transition: padding 0.3s ease;
}

.icem-impact-card:hover .icem-impact-meta {
  padding-bottom: 1.4rem;
}

.icem-impact-meta strong {
  font-family: var(--heading-font);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.icem-impact-meta em {
  font-style: normal;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* ---------- 6. Partners ---------- */
.icem-partners {
  background: #fff;
  padding: 3.1rem 0 2.75rem;
}

.icem-partners-intro {
  display: grid;
  grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem 1.75rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.icem-partners-intro h2 {
  margin: 0;
  color: var(--icem-accent, #e68a2e);
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  line-height: 1.2;
}

.icem-partners-intro p {
  margin: 0;
  color: #45423c;
  font-size: 0.98rem;
  line-height: 1.65;
}

.icem-partners-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  margin: 0 0 1.25rem;
  border-block: 1px solid rgba(43, 43, 43, 0.08);
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 22px,
      rgba(230, 138, 46, 0.05) 22px 23px
    ),
    #faf7f2;
  padding: 1.1rem 0;
}

.icem-partners-track {
  display: flex;
  width: max-content;
  gap: 0.85rem;
  animation: icem-marquee 32s linear infinite;
}

.icem-partners-marquee:hover .icem-partners-track {
  animation-play-state: paused;
}

@keyframes icem-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.icem-partner-chip {
  flex: 0 0 auto;
  min-width: 13.5rem;
  padding: 0.85rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(43, 43, 43, 0.1);
  display: grid;
  gap: 0.2rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.icem-partner-chip:hover {
  border-color: var(--icem-accent, #e68a2e);
  transform: translateY(-2px);
}

.icem-partner-note {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--icem-accent, #e68a2e);
}

.icem-partner-chip strong {
  font-size: 0.95rem;
  color: #2b2b2b;
}

.icem-partners-footnote {
  margin: 0;
  color: #6a655e;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Reveal polish */
[data-icem-reveal] .icem-impact-card,
[data-icem-reveal] .icem-climate-panel,
[data-icem-reveal] .icem-focus-card {
  will-change: transform;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .icem-shift-grid {
    grid-template-columns: 1fr;
  }

  .icem-shift-rail::before {
    clip-path: none;
  }

  .icem-shift-texture {
    background:
      linear-gradient(180deg, #12100e 0%, #1a1714 16%, #2b2b2b 36%, transparent 52%),
      repeating-linear-gradient(
        135deg,
        rgba(230, 138, 46, 0.07) 0 2px,
        transparent 2px 14px
      );
  }

  .icem-shift {
    margin-top: -1px;
    background: #12100e;
  }

  .icem-shift-copy {
    background: #f4f0ea;
  }

  .icem-shift-rail,
  .icem-shift-copy {
    padding: 2.25rem 1.25rem;
  }

  .icem-vision-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "pull"
      "body"
      "tags";
  }

  .icem-focus-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .icem-focus-card {
    grid-template-columns: 7.75rem minmax(0, 1fr);
  }

  .icem-climate-stage {
    grid-template-columns: 1fr;
  }

  .icem-impact-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .icem-impact-card.is-wide,
  .icem-impact-card.is-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .icem-partners-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .icem-focus-grid {
    grid-template-columns: 1fr;
  }

  .icem-focus-card {
    grid-template-columns: 1fr;
  }

  .icem-focus-card-visual {
    height: 8rem;
  }

  .icem-focus-card-body {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 575.98px) {
  .icem-home-band {
    padding: 2.5rem 0;
  }

  .icem-impact-mosaic {
    grid-template-columns: 1fr;
  }

  .icem-climate-panel {
    min-height: 18rem;
  }

  .icem-partner-chip {
    min-width: 11.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .icem-shift-cube,
  .icem-cube,
  .icem-climate-leaf,
  .icem-orbit-core,
  .icem-orbit-ring,
  .icem-orbit-ring > span i,
  .icem-partners-track,
  .icem-shift-signals li::before,
  .icem-focus-card,
  .icem-focus-card-glow {
    animation: none !important;
  }
}

