.wsc-home {
  --wsc-home-gutter: clamp(1rem, 4vw, 2.5rem);
  --wsc-home-pad: max(var(--wsc-home-gutter), calc((100% - 1280px) / 2));
  --wsc-home-space: clamp(3rem, 6.5vw, 6rem);
  --wsc-home-gap: clamp(1rem, 2vw, 1.75rem);
  color: var(--wsc-body, #34424a);
  background: #fff;
}
.wsc-home > section {
  padding: var(--wsc-home-space) var(--wsc-home-pad);
  border-block-end: 1px solid var(--wsc-line, #dce4df);
}
.wsc-home h1, .wsc-home h2, .wsc-home h3 {
  color: var(--wsc-ink, #0b1626);
  line-height: 1.13;
  letter-spacing: -.035em;
  margin: 0;
  text-wrap: balance;
}
.wsc-home h1 { font-size: clamp(2.25rem, 4.2vw, 3.875rem); }
.wsc-home h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
.wsc-home h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); }
.wsc-home p { margin: 0; line-height: 1.65; }
.wsc-home figure { margin: 0; min-width: 0; }
.wsc-home img { display: block; max-width: 100%; height: auto; }
.wsc-home a {
  color: var(--wsc-green, #006b3f);
  font-weight: 700;
  text-underline-offset: .2em;
}
.wsc-home a:hover { color: var(--wsc-hover, #005a35); }
.wsc-home a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

.wsc-home > section:first-of-type {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) minmax(0, 47%);
  grid-template-rows: auto auto auto auto;
  align-content: center;
  align-items: center;
  gap: clamp(.85rem, 1.8vw, 1.5rem) 1rem;
  background: var(--wsc-soft, #f2f4f3);
}
.wsc-home > section:first-of-type > :is(h1, p) {
  grid-column: 1 / 3;
  margin-inline-end: clamp(0rem, 2vw, 2rem);
}
.wsc-home > section:first-of-type > p:first-child {
  color: var(--wsc-green, #006b3f);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.wsc-home > section:first-of-type > h1 + p {
  max-width: 48ch;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}
.wsc-home > section:first-of-type > figure {
  grid-column: 3;
  grid-row: 1 / 5;
  border: 1px solid var(--wsc-line, #dce4df);
  background: #fff;
}
.wsc-home > section:first-of-type > figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  padding: clamp(.75rem, 2vw, 1.75rem);
  box-sizing: border-box;
  object-fit: contain;
  transform: none;
}
.wsc-home > :is(section:first-of-type, section[aria-labelledby="wsc-project"]) > a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  justify-self: start;
  box-sizing: border-box;
  min-height: 3rem;
  padding: .65rem 1rem;
  border: 1px solid currentColor;
  border-radius: 4px;
  line-height: 1.25;
  text-decoration: none;
}
.wsc-home > section:first-of-type > a:first-of-type {
  color: #fff;
  background: var(--wsc-green, #006b3f);
  border-color: transparent;
}
.wsc-home > section:first-of-type > a:first-of-type:hover { background: var(--wsc-hover, #005a35); }
.wsc-home > section:first-of-type > a:first-of-type:focus-visible { outline-color: var(--wsc-green, #006b3f); }

.wsc-home > :is([aria-labelledby="wsc-solutions"], [aria-labelledby="wsc-work"]) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--wsc-home-gap);
  align-items: baseline;
}
.wsc-home > [aria-labelledby="wsc-work"] { background: var(--wsc-soft, #f2f4f3); }
.wsc-home > :is([aria-labelledby="wsc-solutions"], [aria-labelledby="wsc-work"]) > h2 {
  grid-column: span 2;
  margin-block-end: .35rem;
}
.wsc-home > :is([aria-labelledby="wsc-solutions"], [aria-labelledby="wsc-work"]) > a { justify-self: end; }
.wsc-home > section > article {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-width: 0;
  align-self: stretch;
  padding-block-end: clamp(1rem, 2vw, 1.6rem);
  border: 1px solid var(--wsc-line, #dce4df);
  border-radius: 6px;
  background: #fff;
}
.wsc-home > section > article > :is(h3, p),
.wsc-home > [aria-labelledby="wsc-solutions"] > article > a {
  margin-inline: clamp(.85rem, 1.8vw, 1.5rem);
}
.wsc-home > section > article > h3 { margin-block-start: .35rem; }
.wsc-home > [aria-labelledby="wsc-solutions"] > article > img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  padding: clamp(.75rem, 2vw, 1.5rem);
  box-sizing: border-box;
  object-fit: contain;
  border-block-end: 1px solid var(--wsc-line, #dce4df);
  background: #fff;
}
.wsc-home > [aria-labelledby="wsc-solutions"] > article > a {
  align-self: flex-start;
  margin-block-start: auto;
}
.wsc-home > [aria-labelledby="wsc-work"] > article > a {
  display: block;
  padding-block-end: .65rem;
  border-radius: 5px 5px 0 0;
  background: var(--wsc-ink, #0b1626);
  color: #fff;
  text-align: center;
}
.wsc-home > [aria-labelledby="wsc-work"] > article > a:hover { background: var(--wsc-hover, #005a35); }
.wsc-home > [aria-labelledby="wsc-work"] > article > a:focus-visible { outline-color: var(--wsc-green, #006b3f); }
.wsc-home > [aria-labelledby="wsc-work"] > article > a > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin-block-end: .65rem;
  border-radius: 5px 5px 0 0;
  object-fit: cover;
}

.wsc-home > [aria-labelledby="wsc-factory"] {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .95rem clamp(.75rem, 2vw, 1.75rem);
  align-items: center;
}
.wsc-home > [aria-labelledby="wsc-factory"] > figure {
  grid-column: 1 / 4;
  grid-row: 1 / span 3;
  margin-inline-end: clamp(0rem, 1vw, 1rem);
}
.wsc-home > [aria-labelledby="wsc-factory"] > figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border: 1px solid var(--wsc-line, #dce4df);
  box-sizing: border-box;
  background: #fff;
}
.wsc-home > [aria-labelledby="wsc-factory"] > :is(h2, p, ul) { grid-column: 4 / -1; }
.wsc-home > [aria-labelledby="wsc-factory"] > ul { padding: 0; margin: 0; list-style: none; }
.wsc-home > [aria-labelledby="wsc-factory"] li {
  padding: .6rem 0;
  border-block-start: 1px solid var(--wsc-line, #dce4df);
  font-weight: 600;
}
.wsc-home > [aria-labelledby="wsc-factory"] li::before {
  content: "";
  display: inline-block;
  width: .4em;
  height: .4em;
  margin-inline-end: .65em;
  vertical-align: .12em;
  background: var(--wsc-green, #006b3f);
}
.wsc-home > [aria-labelledby="wsc-factory"] > ul + p {
  grid-column: 1 / -1;
  margin-block-start: 1rem;
  padding-block-start: 1.25rem;
  border-block-start: 1px solid var(--wsc-line, #dce4df);
  font-weight: 700;
}
.wsc-home > [aria-labelledby="wsc-factory"] > img {
  width: min(100%, 7.5rem);
  height: 3rem;
  padding: .35rem;
  box-sizing: border-box;
  border: 1px solid var(--wsc-line, #dce4df);
  object-fit: contain;
  background: #fff;
}

.wsc-home > [aria-labelledby="wsc-project"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content max-content;
  align-items: center;
  gap: .75rem 1rem;
  padding-block: clamp(2.5rem, 5.5vw, 4.75rem);
  border: 0;
  background: var(--wsc-green, #006b3f);
  color: #fff;
}
.wsc-home > [aria-labelledby="wsc-project"] > :is(h2, p) { grid-column: 1; color: inherit; }
.wsc-home > [aria-labelledby="wsc-project"] > p { max-width: 60ch; margin-inline-end: 1rem; }
.wsc-home > [aria-labelledby="wsc-project"] > a {
  grid-row: 1 / span 2;
  color: #fff;
}
.wsc-home > [aria-labelledby="wsc-project"] > a:first-of-type {
  grid-column: 2;
  background: #fff;
  color: var(--wsc-green, #006b3f);
  border-color: transparent;
}
.wsc-home > [aria-labelledby="wsc-project"] > a:last-of-type { grid-column: 3; }
.wsc-home > [aria-labelledby="wsc-project"] > a:hover {
  background: var(--wsc-hover, #005a35);
  color: #fff;
  border-color: #fff;
}
.wsc-home > [aria-labelledby="wsc-project"] > a:focus-visible { outline-color: #fff; }
.wsc-home > :not(section) { margin-inline: var(--wsc-home-pad); }

@media (max-width: 960px) {
  .wsc-home > [aria-labelledby="wsc-project"] { grid-template-columns: max-content minmax(0, 1fr); }
  .wsc-home > [aria-labelledby="wsc-project"] > :is(h2, p) { grid-column: 1 / -1; }
  .wsc-home > [aria-labelledby="wsc-project"] > a:first-of-type,
  .wsc-home > [aria-labelledby="wsc-project"] > a:last-of-type { grid-column: auto; grid-row: auto; }
}
@media (max-width: 760px) {
  .wsc-home > section:first-of-type { grid-template-columns: max-content minmax(0, 1fr); }
  .wsc-home > section:first-of-type > figure { grid-column: 1 / -1; grid-row: auto; margin-block-start: .5rem; }
  .wsc-home > :is([aria-labelledby="wsc-solutions"], [aria-labelledby="wsc-work"]) { grid-template-columns: 1fr; }
  .wsc-home > :is([aria-labelledby="wsc-solutions"], [aria-labelledby="wsc-work"]) > h2 { grid-column: 1; }
  .wsc-home > :is([aria-labelledby="wsc-solutions"], [aria-labelledby="wsc-work"]) > a { justify-self: start; }
  .wsc-home > [aria-labelledby="wsc-factory"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wsc-home > [aria-labelledby="wsc-factory"] > :is(figure, h2, p, ul) { grid-column: 1 / -1; grid-row: auto; }
  .wsc-home > [aria-labelledby="wsc-factory"] > figure { margin-inline-end: 0; }
}
@media (max-width: 380px) {
  .wsc-home > section:first-of-type,
  .wsc-home > [aria-labelledby="wsc-project"] { grid-template-columns: minmax(0, 1fr); }
  .wsc-home > section:first-of-type > :is(h1, p) { grid-column: 1; }
}
