/* About iCEM — consolidated page */

.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);
}

/* Hero sits under sticky chrome like Home (brand slant into hero) */
body.icem-about-page .icem-about-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  margin-top: calc(-1 * (var(--icem-rail-h, 56px) + 2.35rem));
  padding: calc(var(--icem-rail-h, 56px) + 4.75rem) 0 3.25rem;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(18, 16, 14, 0.72), rgba(18, 16, 14, 0.4)),
    var(--about-hero) center/cover no-repeat;
  overflow: hidden;
}

/* Vertical right section rail */
.icem-about-rail {
  position: fixed;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1040;
  width: 3.15rem;
  padding: 0.85rem 0.45rem;
  border-radius: 1.35rem;
  background: rgba(20, 18, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: width 0.3s ease, background 0.25s ease;
}

.icem-about-rail:hover,
.icem-about-rail:focus-within {
  width: 13.5rem;
  background: rgba(20, 18, 14, 0.9);
}

.icem-about-rail-title {
  display: none;
  margin: 0 0.55rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.icem-about-rail:hover .icem-about-rail-title,
.icem-about-rail:focus-within .icem-about-rail-title {
  display: block;
}

.icem-about-rail-track {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.icem-about-rail-track a {
  position: relative;
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem;
  min-height: 2.15rem;
  padding: 0.2rem 0.35rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  overflow: hidden;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.icem-about-rail-track a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.icem-about-rail-track a.is-active {
  color: #fff;
  background: rgba(230, 138, 46, 0.22);
}

.icem-about-rail-idx {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.icem-about-rail-track a.is-active .icem-about-rail-idx {
  background: var(--icem-accent, #e68a2e);
  border-color: var(--icem-accent, #e68a2e);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(230, 138, 46, 0.18);
}

.icem-about-rail-label {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 600;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, max-width 0.25s ease, transform 0.25s ease;
}

.icem-about-rail:hover .icem-about-rail-label,
.icem-about-rail:focus-within .icem-about-rail-label,
.icem-about-rail-track a.is-active .icem-about-rail-label {
  opacity: 1;
  max-width: 10rem;
  transform: translateX(0);
}

.icem-about-rail-track a:focus-visible {
  outline: 2px solid var(--icem-accent, #e68a2e);
  outline-offset: 2px;
}


.icem-about-hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(230, 138, 46, 0.28), transparent 45%),
    linear-gradient(0deg, rgba(12, 10, 8, 0.55), transparent 50%);
  pointer-events: none;
}

.icem-about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  padding-right: 4rem;
}

@media (min-width: 1200px) {
  body.icem-about-page .main {
    padding-right: 0.5rem;
  }

  body.icem-about-page .icem-about-band > .container,
  body.icem-about-page .icem-about-hero-inner {
    padding-right: 5.5rem;
  }
}

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

.icem-about-hero h1 {
  margin: 0.35rem 0 0.75rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
}

.icem-about-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.6;
}

.icem-about-band {
  position: relative;
  padding: 3.5rem 0;
  overflow: hidden;
  scroll-margin-top: calc(var(--icem-chrome-offset, 72px) + 1rem);
}

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

.icem-about-section-head.text-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.icem-about-section-head h2 {
  margin: 0.35rem 0 0;
  color: var(--icem-primary, #2b2b2b);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.icem-about-section-head p {
  margin: 0.65rem 0 0;
  max-width: 40rem;
  color: var(--icem-muted, #5f5c57);
}

.icem-about-topo,
.icem-about-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.icem-about-topo {
  background:
    radial-gradient(ellipse at 10% 20%, rgba(230, 138, 46, 0.08), transparent 40%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(43, 43, 43, 0.03) 18px 19px),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(43, 43, 43, 0.025) 18px 19px);
}

.icem-about-mesh {
  background:
    repeating-linear-gradient(-28deg, transparent 0 12px, rgba(230, 138, 46, 0.045) 12px 13px);
}

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

/* Concept */
.icem-about-concept {
  background: #faf8f5;
}

.icem-about-concept-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 0.75fr) minmax(0, 1.4fr);
  gap: 1.5rem 2rem;
  align-items: start;
}

.icem-about-concept-rail h2 {
  margin: 0.35rem 0 1rem;
  color: var(--icem-accent, #e68a2e);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.icem-about-pillars {
  display: grid;
  gap: 0.45rem;
}

.icem-about-pillars span {
  display: inline-flex;
  width: fit-content;
  padding: 0.4rem 0.75rem;
  background: #fff;
  border-left: 3px solid var(--icem-accent, #e68a2e);
  font-size: 0.82rem;
  font-weight: 600;
  color: #2b2b2b;
  box-shadow: 0 6px 16px rgba(43, 43, 43, 0.05);
  animation: icem-about-rise 4.5s ease-in-out infinite;
}

.icem-about-pillars span:nth-child(2) { animation-delay: 0.3s; }
.icem-about-pillars span:nth-child(3) { animation-delay: 0.6s; }
.icem-about-pillars span:nth-child(4) { animation-delay: 0.9s; }
.icem-about-pillars span:nth-child(5) { animation-delay: 1.2s; }

@keyframes icem-about-rise {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.icem-about-concept-copy p {
  color: #45423c;
  line-height: 1.7;
}

.icem-about-concept-copy .icem-lead {
  color: #2b2b2b;
  font-size: 1.08rem;
}

/* Vision / Mission */
.icem-about-vm {
  background:
    linear-gradient(135deg, #e68a2e 0%, #c96f18 55%, #b86212 100%);
  color: #fff;
}

.icem-about-vm .icem-kicker {
  color: rgba(255, 255, 255, 0.85);
}

.icem-about-vm h2 {
  color: #fff;
}

.icem-about-vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.icem-about-vm-card {
  position: relative;
  padding: 1.75rem 1.4rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  text-align: center;
  overflow: hidden;
  transition: transform 0.35s ease, background 0.35s ease;
}

.icem-about-vm-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.icem-about-vm-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
}

.icem-about-vm-grid > .icem-about-vm-card:first-child {
  border-right: 1px dashed rgba(255, 255, 255, 0.35);
}

.icem-about-vm-icon {
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.35rem;
}

.icem-about-vm-card h3 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 1.35rem;
}

.icem-about-vm-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  font-size: 0.98rem;
}

/* Domains — icon-led, no photo repeat */
.icem-about-domains {
  background: #fff;
}

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

.icem-about-domain {
  position: relative;
  padding: 1.35rem 1.1rem 1.2rem;
  background: #f7f4ef;
  border-top: 3px solid var(--icem-accent, #e68a2e);
  min-height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.icem-about-domain:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(43, 43, 43, 0.08);
}

.icem-about-domain i {
  font-size: 1.65rem;
  color: var(--icem-accent, #e68a2e);
  margin-bottom: 0.55rem;
  display: inline-block;
}

.icem-about-domain h3 {
  margin: 0 0 0.75rem;
  color: var(--icem-accent, #e68a2e);
  font-size: 1.08rem;
  min-height: 2.5em;
}

.icem-about-domain ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.icem-about-domain li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.84rem;
  line-height: 1.4;
  color: #45423c;
}

.icem-about-domain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.35rem;
  height: 2px;
  background: var(--icem-accent, #e68a2e);
}

/* Climate split */
.icem-about-climate {
  background: #f3eee6;
}

.icem-about-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  overflow: hidden;
  min-height: 22rem;
  background: #fff;
  box-shadow: 0 18px 40px rgba(43, 43, 43, 0.08);
}

.icem-about-split-media {
  position: relative;
  min-height: 22rem;
  background:
    linear-gradient(105deg, rgba(20, 18, 14, 0.12), rgba(20, 18, 14, 0.28)),
    var(--split-img) center/cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}

.icem-about-split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 62%, rgba(255, 255, 255, 0.55) 88%, #fff 100%);
  pointer-events: none;
}

.icem-about-leaf-cut {
  position: absolute;
  left: 48%;
  top: 46%;
  width: min(42%, 11.5rem);
  aspect-ratio: 0.72;
  transform: translate(-50%, -50%);
  border-radius: 52% 48% 50% 50% / 62% 62% 38% 38%;
  overflow: hidden;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.28),
    0 14px 30px rgba(12, 40, 18, 0.28);
  background:
    linear-gradient(160deg, rgba(150, 205, 255, 0.55), rgba(90, 160, 220, 0.35)),
    radial-gradient(ellipse at 50% 35%, #9fd0ff 0%, #5a9fd0 55%, #2f6f9a 100%);
  isolation: isolate;
  animation: icem-about-leaf 4.8s ease-in-out infinite;
}

.icem-about-leaf-cut::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: var(--split-img) center 35%/220% no-repeat;
  filter: saturate(0.85) brightness(1.15);
  opacity: 0.28;
  mix-blend-mode: soft-light;
  z-index: 0;
}

.icem-about-leaf-cut::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.45), transparent 45%),
    linear-gradient(180deg, transparent 40%, rgba(20, 70, 35, 0.18));
  pointer-events: none;
  z-index: 1;
}

.icem-about-co2 {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  font-family: var(--heading-font);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #184528;
  background: linear-gradient(180deg, #2f6e3e, #184528);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.22));
}

@keyframes icem-about-leaf {
  0%, 100% { transform: translate(-50%, -50%) rotate(-4deg); }
  50% { transform: translate(-50%, calc(-50% - 7px)) rotate(-2deg); }
}

.icem-about-split-copy {
  background: #fff;
  padding: 1.75rem 1.5rem 1.75rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.icem-about-split-copy h3 {
  margin: 0;
  color: var(--icem-accent, #e68a2e);
  font-size: 1.35rem;
}

.icem-about-split-copy p {
  margin: 0;
  color: #45423c;
  line-height: 1.65;
}

.icem-about-split-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.icem-about-split-copy li {
  position: relative;
  padding-left: 1rem;
  color: #3f3c37;
  font-size: 0.94rem;
  line-height: 1.5;
}

.icem-about-split-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--icem-accent, #e68a2e);
}

/* Impact themes */
.icem-about-impact {
  background: #fff;
}

.icem-about-impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.icem-about-impact-card {
  display: grid;
  grid-template-rows: 12rem auto;
  overflow: hidden;
  border: 1px solid rgba(43, 43, 43, 0.08);
  background: #faf8f5;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.icem-about-impact-card.is-wide {
  grid-column: 1 / -1;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-rows: auto;
}

.icem-about-impact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(43, 43, 43, 0.08);
}

.icem-about-impact-media {
  min-height: 12rem;
  background:
    linear-gradient(180deg, rgba(20, 18, 14, 0.05), rgba(20, 18, 14, 0.35)),
    var(--impact-img) center/cover no-repeat;
  transition: transform 0.9s ease;
}

.icem-about-impact-card.is-wide .icem-about-impact-media {
  min-height: 100%;
}

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

.icem-about-impact-body {
  padding: 1.25rem 1.2rem 1.35rem;
}

.icem-about-impact-body h3 {
  margin: 0 0 0.55rem;
  color: var(--icem-accent, #e68a2e);
  font-size: 1.2rem;
}

.icem-about-impact-body p {
  margin: 0 0 0.75rem;
  color: #45423c;
  font-size: 0.94rem;
  line-height: 1.6;
}

.icem-about-impact-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.icem-about-impact-body li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #3f3c37;
}

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

/* Partner CTA — aligned, high-contrast actions */
.icem-about-partner {
  background: #f7f4ef;
  padding-top: 2.75rem;
  padding-bottom: 3.25rem;
}

.icem-about-partner-panel {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  padding: 2.35rem 1.5rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82)),
    repeating-linear-gradient(-28deg, transparent 0 12px, rgba(230, 138, 46, 0.05) 12px 13px);
  border: 1px solid rgba(43, 43, 43, 0.08);
  box-shadow: 0 16px 36px rgba(43, 43, 43, 0.06);
}

.icem-about-partner-panel h2 {
  margin: 0 0 0.55rem;
  color: #2b2b2b;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
}

.icem-about-partner-panel p {
  margin: 0 auto 1.35rem;
  max-width: 34rem;
  color: #5f5c57;
  font-size: 1.02rem;
  line-height: 1.6;
}

.icem-about-partner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
}

@media (max-width: 991.98px) {
  body.icem-about-page .icem-about-hero {
    margin-top: calc(-1 * (var(--icem-rail-h, 56px) + 1.25rem));
    padding-top: calc(var(--icem-rail-h, 56px) + 3.5rem);
    min-height: 48vh;
  }

  .icem-about-rail {
    right: 0.55rem;
    left: 0.55rem;
    top: auto;
    bottom: 0.85rem;
    transform: none;
    width: auto;
    max-width: none;
    border-radius: 1rem;
    padding: 0.45rem 0.35rem 0.5rem;
    z-index: 1040;
  }

  .icem-about-rail:hover,
  .icem-about-rail:focus-within {
    width: auto;
  }

  .icem-about-rail-title {
    display: none !important;
  }

  .icem-about-rail-track {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.15rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .icem-about-rail-track a {
    grid-template-columns: 1fr;
    justify-items: center;
    min-width: 3.35rem;
    flex: 1 1 0;
    padding: 0.2rem 0.15rem;
    gap: 0.2rem;
  }

  .icem-about-rail-label {
    display: block;
    opacity: 1 !important;
    max-width: none !important;
    overflow: visible;
    font-size: 0.58rem;
    letter-spacing: 0.02em;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    transform: none !important;
    color: rgba(255, 255, 255, 0.72);
  }

  .icem-about-rail-track a.is-active .icem-about-rail-label {
    color: #fff;
  }

  /* Keep final CTAs clear of the fixed bottom rail */
  body.icem-about-page .main,
  body.icem-verticals-page .main,
  body.icem-knowledge-page .main {
    padding-bottom: 5.5rem;
  }

  .icem-about-concept-grid,
  .icem-about-vm-grid,
  .icem-about-split,
  .icem-about-impact-card.is-wide {
    grid-template-columns: 1fr;
  }

  .icem-about-domain-grid {
    grid-template-columns: 1fr;
  }

  .icem-about-vm-grid > .icem-about-vm-card:first-child {
    border-right: 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
  }

  .icem-about-split-media {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    min-height: 16rem;
  }

  .icem-about-split-media::after {
    background: linear-gradient(180deg, transparent 55%, rgba(255, 255, 255, 0.7) 88%, #fff 100%);
  }

  .icem-about-impact-card.is-wide {
    grid-template-rows: 12rem auto;
  }
}

@media (max-width: 575.98px) {
  .icem-about-domain-grid,
  .icem-about-impact-grid {
    grid-template-columns: 1fr;
  }

  body.icem-about-page .icem-about-hero {
    min-height: 42vh;
    padding-bottom: 2.5rem;
  }

  .icem-about-partner-actions {
    flex-direction: column;
    width: 100%;
  }

  .icem-about-partner-actions .icem-btn {
    width: 100%;
    max-width: 18rem;
    justify-content: center;
  }

  .icem-about-leaf-cut {
    width: min(48%, 9.5rem);
  }

  .icem-about-rail-idx {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .icem-about-pillars span,
  .icem-about-leaf-cut {
    animation: none !important;
  }
}
