/* Stronger industrial-spatial treatment for the homepage cooperation section. */
.home-approved #cooperation.cooperation-section {
  --coop-rail-warm: rgba(243, 145, 80, .88);
  --coop-rail-light: rgba(255, 223, 181, .9);
  --coop-rail-dim: rgba(236, 198, 151, .42);
  isolation: isolate;
  clip-path: none;
  -webkit-mask: none;
  mask: none;
  color: #fff8ef;
  border-block: 2px solid rgba(246, 204, 154, .42);
  background:
    radial-gradient(circle at 7% 18%, rgba(246, 143, 73, .22) 0, rgba(246, 143, 73, .07) 9%, transparent 25%),
    radial-gradient(circle at 94% 82%, rgba(255, 217, 169, .14) 0, transparent 27%),
    linear-gradient(146deg, transparent 0 27%, rgba(255, 255, 255, .035) 27.15% 42%, transparent 42.2%),
    linear-gradient(32deg, transparent 0 58%, rgba(242, 153, 91, .05) 58.15% 73%, transparent 73.2%),
    linear-gradient(112deg, rgba(255, 255, 255, .025) 0 19%, transparent 19.2% 78%, rgba(255, 255, 255, .018) 78.2%),
    linear-gradient(128deg, #0a0d11 0%, #181c21 47%, #0b0e12 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 210, .14),
    inset 0 -1px 0 rgba(238, 137, 72, .15),
    inset 0 0 74px rgba(255, 255, 255, .018),
    0 22px 68px rgba(0, 0, 0, .34);
}

/* A defined, non-repeating chamfered rail surrounds the section. */
.home-approved #cooperation.cooperation-section::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: clamp(15px, 1.8vw, 26px) clamp(12px, 2.8vw, 44px);
  width: auto;
  height: auto;
  background:
    radial-gradient(circle, var(--coop-rail-light) 0 2px, transparent 3px) 30px 6px / 7px 7px no-repeat,
    radial-gradient(circle, var(--coop-rail-warm) 0 2px, transparent 3px) calc(100% - 30px) calc(100% - 6px) / 7px 7px no-repeat,
    linear-gradient(45deg, transparent 43%, var(--coop-rail-light) 45% 55%, transparent 57%) 0 0 / 38px 38px no-repeat,
    linear-gradient(135deg, transparent 43%, var(--coop-rail-light) 45% 55%, transparent 57%) 100% 0 / 38px 38px no-repeat,
    linear-gradient(135deg, transparent 43%, var(--coop-rail-warm) 45% 55%, transparent 57%) 0 100% / 38px 38px no-repeat,
    linear-gradient(45deg, transparent 43%, var(--coop-rail-warm) 45% 55%, transparent 57%) 100% 100% / 38px 38px no-repeat,
    linear-gradient(90deg, var(--coop-rail-dim), var(--coop-rail-light) 22%, rgba(255, 232, 202, .5) 50%, var(--coop-rail-light) 78%, var(--coop-rail-dim)) 38px 0 / calc(100% - 76px) 2px no-repeat,
    linear-gradient(90deg, rgba(238, 136, 72, .35), var(--coop-rail-warm) 24%, rgba(255, 199, 145, .65) 50%, var(--coop-rail-warm) 76%, rgba(238, 136, 72, .35)) 38px 100% / calc(100% - 76px) 2px no-repeat,
    linear-gradient(180deg, var(--coop-rail-dim), rgba(244, 155, 91, .48), var(--coop-rail-dim)) 0 38px / 2px calc(100% - 76px) no-repeat,
    linear-gradient(180deg, var(--coop-rail-dim), rgba(255, 219, 177, .46), var(--coop-rail-dim)) 100% 38px / 2px calc(100% - 76px) no-repeat;
  filter:
    drop-shadow(0 0 5px rgba(255, 221, 177, .28))
    drop-shadow(0 0 13px rgba(239, 139, 75, .24));
  opacity: 1;
  pointer-events: none;
  transform: none;
}

/* A static perspective floor sits behind the four steps and reads as an industrial space. */
.home-approved #cooperation.cooperation-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 39% 5% 1%;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background:
    repeating-linear-gradient(90deg, rgba(251, 215, 172, .13) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(251, 215, 172, .11) 0 1px, transparent 1px 46px),
    linear-gradient(180deg, rgba(240, 141, 77, .05), transparent 72%);
  box-shadow: none;
  opacity: .44;
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .8) 23%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .8) 23%, #000 100%);
  pointer-events: none;
  transform: perspective(680px) rotateX(58deg) scaleX(1.02);
  transform-origin: center bottom;
}

.home-approved #cooperation.cooperation-section > .wrap {
  position: relative;
  z-index: 2;
}

.home-approved #cooperation.cooperation-section .section-head h2 {
  color: #fffaf3;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .52);
}

.home-approved #cooperation.cooperation-section .section-head .kicker {
  color: #ffc28d;
  text-shadow: 0 0 16px rgba(240, 137, 72, .27);
}

.home-approved #cooperation.cooperation-section .section-head p,
.home-approved #cooperation.cooperation-section .cooperation-station p {
  color: #ded7cd;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .38);
}

.home-approved #cooperation.cooperation-section .cooperation-station h3 {
  color: #fff6e9;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .42);
}

.home-approved #cooperation.cooperation-section .cooperation-stations::before {
  background: linear-gradient(90deg, transparent, rgba(245, 210, 167, .58) 13%, rgba(245, 210, 167, .58) 87%, transparent);
  box-shadow: 0 0 11px rgba(244, 176, 115, .14);
}

.home-approved #cooperation.cooperation-section .cooperation-stations::after {
  background: linear-gradient(90deg, transparent, #ec8d50 13%, #ffe0b9 50%, #ec8d50 87%, transparent);
  box-shadow: 0 0 17px rgba(240, 145, 80, .4);
}

.home-approved #cooperation.cooperation-section .station-icon {
  border-color: rgba(255, 200, 147, .78);
  background: linear-gradient(145deg, #2b3035, #12161a);
  box-shadow:
    0 0 0 8px #111419,
    inset 0 1px 0 rgba(255, 239, 217, .12),
    0 9px 26px rgba(0, 0, 0, .35),
    0 0 19px rgba(239, 139, 75, .15);
}

.home-approved #cooperation.cooperation-section .cooperation-action .btn {
  border-color: rgba(255, 219, 177, .85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 0 24px rgba(239, 139, 75, .16);
}

@media (max-width: 640px) {
  .home-approved #cooperation.cooperation-section {
    clip-path: none;
    -webkit-mask: none;
    mask: none;
    overflow: visible;
    border-block-width: 1px;
    background:
      radial-gradient(circle at 4% 12%, rgba(246, 143, 73, .19), transparent 25%),
      radial-gradient(circle at 96% 88%, rgba(255, 217, 169, .1), transparent 27%),
      linear-gradient(146deg, transparent 0 30%, rgba(255, 255, 255, .03) 30.2% 46%, transparent 46.2%),
      linear-gradient(128deg, #0a0d11 0%, #181c21 48%, #0b0e12 100%);
  }

  .home-approved #cooperation.cooperation-section::before {
    inset: 8px 7px;
    background-size:
      7px 7px, 7px 7px,
      26px 26px, 26px 26px, 26px 26px, 26px 26px,
      calc(100% - 52px) 1px, calc(100% - 52px) 1px,
      1px calc(100% - 52px), 1px calc(100% - 52px);
    background-position:
      22px 4px, calc(100% - 22px) calc(100% - 4px),
      0 0, 100% 0, 0 100%, 100% 100%,
      26px 0, 26px 100%, 0 26px, 100% 26px;
    filter:
      drop-shadow(0 0 4px rgba(255, 221, 177, .24))
      drop-shadow(0 0 9px rgba(239, 139, 75, .19));
  }

  .home-approved #cooperation.cooperation-section::after {
    inset: 45% 2% 3%;
    background:
      repeating-linear-gradient(90deg, rgba(251, 215, 172, .11) 0 1px, transparent 1px 46px),
      repeating-linear-gradient(0deg, rgba(251, 215, 172, .09) 0 1px, transparent 1px 36px);
    opacity: .36;
    transform: perspective(460px) rotateX(61deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-approved #cooperation.cooperation-section::before,
  .home-approved #cooperation.cooperation-section::after {
    animation: none;
    transition: none;
  }
}

@media print {
  .home-approved #cooperation.cooperation-section {
    clip-path: none;
    -webkit-mask: none;
    mask: none;
    color: #111;
    border: 1px solid #777;
    background: #fff;
    box-shadow: none;
  }

  .home-approved #cooperation.cooperation-section::before,
  .home-approved #cooperation.cooperation-section::after {
    display: none;
  }

  .home-approved #cooperation.cooperation-section .section-head h2,
  .home-approved #cooperation.cooperation-section .section-head .kicker,
  .home-approved #cooperation.cooperation-section .section-head p,
  .home-approved #cooperation.cooperation-section .cooperation-station h3,
  .home-approved #cooperation.cooperation-section .cooperation-station p {
    color: #111;
    text-shadow: none;
  }
}
