.chemical-lifecycle-section .industry-shell {
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.91)),
    rgba(255, 255, 255, 0.88);
}

.chemical-lifecycle {
  --lifecycle-ink: #17213b;
  --lifecycle-muted: #607091;
  --lifecycle-line: rgba(130, 147, 191, 0.28);
  --lifecycle-blue: #4354d7;
  --lifecycle-teal: #168b82;
  --lifecycle-warm: #c97032;
  position: relative;
  margin-top: 42px;
}

.chemical-lifecycle__phases {
  display: grid;
  grid-template-columns: 1fr 1.04fr 1.22fr 1fr;
  align-items: start;
  padding: 26px 0 30px;
}

.chemical-phase {
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(177, 189, 220, 0.62);
  border-radius: 24px;
  color: var(--lifecycle-ink);
  background: rgba(251, 252, 255, 0.97);
  box-shadow: 0 25px 62px rgba(35, 51, 99, 0.15);
}

.chemical-phase + .chemical-phase {
  margin-left: -18px;
}

.chemical-phase--commercial {
  z-index: 1;
  transform: translateY(18px);
  background: linear-gradient(154deg, #ffffff 10%, #f6f4ff 100%);
}

.chemical-phase--supply {
  z-index: 2;
  transform: translateY(62px);
  background: linear-gradient(150deg, #ffffff 8%, #eef8f7 100%);
}

.chemical-phase--delivery {
  z-index: 4;
  padding: 28px;
  border-color: rgba(77, 94, 206, 0.42);
  background: linear-gradient(145deg, #fbfcff 3%, #edf1ff 58%, #edf9f7 100%);
  box-shadow: 0 34px 82px rgba(42, 60, 132, 0.22);
}

.chemical-phase--continuity {
  z-index: 3;
  transform: translateY(48px);
  background: linear-gradient(150deg, #ffffff 8%, #f1f7fc 100%);
}

.chemical-phase__header {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--lifecycle-line);
}

.chemical-phase__icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #ffffff;
  font-size: 1rem;
  background: linear-gradient(145deg, #5543df, #3b67d8);
  box-shadow: 0 10px 24px rgba(65, 78, 197, 0.22);
}

.chemical-phase--supply .chemical-phase__icon,
.chemical-phase--continuity .chemical-phase__icon {
  background: linear-gradient(145deg, #268f83, #3172b6);
}

.chemical-phase__kicker,
.chemical-state__label {
  display: block;
  color: #68789a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.chemical-phase__header h3 {
  margin: 3px 0 0;
  font-size: clamp(1.12rem, 1.35vw, 1.42rem);
  line-height: 1.08;
}

.chemical-state {
  margin-top: 18px;
}

.chemical-state h4 {
  margin: 5px 0 0;
  font-size: 1.18rem;
  line-height: 1.2;
}

.chemical-state__product {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 0;
  padding: 11px 12px;
  border-left: 3px solid #5543df;
  color: #273657;
  font-size: 0.92rem;
  font-weight: 750;
  background: rgba(81, 67, 223, 0.06);
}

.chemical-state__product span {
  color: #6653de;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chemical-data,
.chemical-continuity,
.chemical-dispatch dl {
  margin: 14px 0 0;
}

.chemical-data > div,
.chemical-continuity > div,
.chemical-dispatch dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--lifecycle-line);
}

.chemical-data dt,
.chemical-continuity dt,
.chemical-dispatch dt {
  color: var(--lifecycle-muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.chemical-data dd,
.chemical-continuity dd,
.chemical-dispatch dd {
  margin: 0;
  color: #263452;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: right;
}

.chemical-action {
  margin-top: 15px;
  padding: 12px 13px;
  border: 1px solid rgba(87, 71, 216, 0.2);
  border-radius: 13px;
  background: rgba(91, 76, 224, 0.075);
}

.chemical-action span,
.chemical-action strong {
  display: block;
}

.chemical-action span {
  color: var(--lifecycle-muted);
  font-size: 0.68rem;
}

.chemical-action strong {
  margin-top: 4px;
  color: #4939ca;
  font-size: 0.77rem;
}

.chemical-supply-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.chemical-supply-grid > div {
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(61, 145, 135, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.66);
}

.chemical-supply-grid span,
.chemical-supply-grid strong {
  display: block;
}

.chemical-supply-grid span {
  min-height: 28px;
  color: var(--lifecycle-muted);
  font-size: 0.67rem;
  line-height: 1.3;
}

.chemical-supply-grid strong {
  margin-top: 5px;
  color: #236f69;
  font-size: 1.08rem;
}

.chemical-supply-grid .chemical-supply-grid__focus {
  border-color: rgba(194, 108, 49, 0.3);
  background: rgba(255, 244, 235, 0.8);
}

.chemical-supply-grid__focus strong {
  color: #a75928;
}

.chemical-rfq {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(89, 111, 160, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.chemical-rfq > strong {
  display: block;
  margin-top: 5px;
  color: #234f68;
  font-size: 0.86rem;
}

.chemical-rfq > div {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--lifecycle-line);
}

.chemical-rfq > div span,
.chemical-rfq > div b {
  display: block;
  font-size: 0.7rem;
  line-height: 1.45;
}

.chemical-rfq > div span {
  color: var(--lifecycle-muted);
}

.chemical-rfq > div b {
  color: #293755;
}

.chemical-friction {
  position: relative;
  margin: 18px -10px -8px 12px;
  padding: 12px 15px 12px 17px;
  border-left: 3px solid #d17a3a;
  color: #69452f;
  background: linear-gradient(90deg, rgba(255, 238, 224, 0.94), rgba(255, 249, 244, 0.78));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 11px 100%, 0 calc(100% - 11px));
}

.chemical-friction strong,
.chemical-friction span {
  display: block;
}

.chemical-friction strong {
  font-size: 0.76rem;
}

.chemical-friction span {
  margin-top: 4px;
  color: #80624e;
  font-size: 0.68rem;
  line-height: 1.45;
}

.chemical-delivery-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.chemical-delivery-title > span {
  color: #617294;
  font-size: 0.69rem;
  font-weight: 700;
}

.chemical-deliveries {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 17px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--lifecycle-line);
}

.chemical-deliveries > div {
  position: relative;
  min-width: 0;
  padding: 13px 9px 11px;
  border-top: 3px solid #8290b4;
  background: rgba(255, 255, 255, 0.58);
}

.chemical-deliveries > div[data-status="complete"] {
  border-color: #26958a;
}

.chemical-deliveries > div[data-status="current"] {
  border-color: #5045df;
  background: rgba(79, 69, 223, 0.08);
}

.chemical-deliveries span,
.chemical-deliveries strong,
.chemical-deliveries b {
  display: block;
}

.chemical-deliveries span {
  color: var(--lifecycle-muted);
  font-size: 0.66rem;
  font-weight: 700;
}

.chemical-deliveries strong {
  margin-top: 7px;
  font-size: 0.9rem;
}

.chemical-deliveries b {
  margin-top: 3px;
  color: #596b8d;
  font-size: 0.58rem;
  font-weight: 750;
}

.chemical-dispatch {
  margin-top: 17px;
  padding: 15px;
  border: 1px solid rgba(72, 89, 198, 0.22);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.76);
}

.chemical-dispatch > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chemical-dispatch > div strong {
  color: #4439c4;
  font-size: 0.9rem;
}

.chemical-review {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding: 13px;
  border-left: 3px solid #278f84;
  background: rgba(37, 145, 133, 0.075);
}

.chemical-review span {
  color: var(--lifecycle-muted);
  font-size: 0.7rem;
}

.chemical-review strong {
  color: #25786f;
  font-size: 0.85rem;
}

.chemical-context {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 3.2fr);
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  padding: 21px 22px 18px;
  overflow: hidden;
  border: 1px solid rgba(125, 141, 183, 0.28);
  border-radius: 17px;
  background: linear-gradient(90deg, rgba(238, 239, 255, 0.9), rgba(238, 249, 247, 0.86));
}

.chemical-context::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, #5947dc, #3970d4, #168b82);
}

.chemical-context > strong {
  color: #303e61;
  font-size: 0.78rem;
  letter-spacing: 0.035em;
  line-height: 1.35;
  text-transform: uppercase;
}

.chemical-context__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 8px;
}

.chemical-context__items span {
  padding: 0 11px;
  border-left: 1px solid rgba(84, 104, 151, 0.3);
  color: #526282;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
}

.chemical-context__items span:first-child {
  padding-left: 0;
  border-left: 0;
}

@media (max-width: 1180px) {
  .chemical-lifecycle__phases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .chemical-phase,
  .chemical-phase + .chemical-phase {
    height: 100%;
    margin-left: 0;
    transform: none;
  }

  .chemical-phase--delivery {
    grid-column: 1 / 2;
    grid-row: 2;
  }

  .chemical-phase--continuity {
    grid-column: 2 / 3;
    grid-row: 2;
  }

}

@media (max-width: 720px) {
  .chemical-lifecycle {
    margin-top: 24px;
  }

  .chemical-lifecycle__phases {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 18px 14px;
    border-left: 2px solid rgba(65, 93, 196, 0.3);
  }

  .chemical-phase,
  .chemical-phase + .chemical-phase {
    width: 100%;
    height: auto;
    margin: 0 0 18px;
    padding: 20px;
    border-radius: 20px;
  }

  .chemical-phase + .chemical-phase::before {
    position: absolute;
    top: -14px;
    left: -12px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #4b5fd0;
    border-bottom: 2px solid #4b5fd0;
    content: "";
    transform: rotate(45deg);
  }

  .chemical-deliveries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chemical-context {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 0;
    padding: 20px 17px 17px;
  }

  .chemical-context__items span {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 0.68rem;
  }
}

@media (max-width: 420px) {
  .chemical-phase,
  .chemical-phase + .chemical-phase {
    padding: 18px 16px;
  }

  .chemical-phase__header {
    gap: 10px;
  }

  .chemical-phase__icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .chemical-supply-grid {
    grid-template-columns: 1fr;
  }

  .chemical-supply-grid > div {
    min-height: 0;
  }

  .chemical-supply-grid span {
    min-height: 0;
  }

  .chemical-delivery-title {
    align-items: start;
    flex-direction: column;
  }
}
