.work-introduction {
  padding-block:44px 88px;
}

.work-introduction h1 {
  font-size:var(--heading-size);
  font-weight:700;
  line-height:1.1;
  letter-spacing:-.05em;
  margin-bottom:32px;
}

.work-feature {
  padding:64px;
  border-radius:24px;
  margin-bottom:40px;
}

.work-feature .eyebrow {
  font-size:1.0625rem;
  letter-spacing:0;
  margin-bottom:28px;
  color:inherit;
}

.work-feature h2 {
  font-size:clamp(2.4rem,4.4vw,4.25rem);
  font-weight:600;
  line-height:1.18;
  letter-spacing:-.045em;
  max-width:23ch;
  color:inherit;
  margin:0 0 36px;
}

.housing-feature {
  background:var(--surface-blue);
  color:var(--accent);
  display:grid;
  grid-template-columns:minmax(0,1fr) 220px;
  grid-template-areas:"heading image" "disclosure image";
  gap:36px 56px;
}

.housing-heading {
  grid-area:heading;
}

.housing-heading h2 {
  margin-bottom:0;
}

.housing-feature>.work-reveal {
  grid-area:disclosure;
}

.housing-image {
  grid-area:image;
  position:relative;
  min-width:0;
  height:264px;
  align-self:start;
}

.work-housing-art {
  position:absolute;
  inset:0;
  margin:auto;
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  border-radius:20px;
  mix-blend-mode:multiply;
}

.community-feature {
  background:var(--surface);
  color:var(--brand);
}

.work-community-image {
  margin-top:44px;
}

.work-community-image img {
  width:100%;
  height:auto;
  aspect-ratio:2.2/1;
  object-fit:cover;
  object-position:center 52%;
  border-radius:20px;
}

.pathways-feature {
  background:var(--brand);
  color:white;
  margin-bottom:96px;
}

.pathways-feature .eyebrow {
  color:#d1e1d7;
}

.work-reveal summary {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  list-style:none;
  cursor:pointer;
  min-height:52px;
  max-width:100%;
  border:1px solid currentColor;
  border-radius:999px;
  padding:10px 12px 10px 24px;
  font-size:.9375rem;
  font-weight:600;
  line-height:1.5;
  color:var(--accent);
}

.work-reveal summary::-webkit-details-marker {
  display:none;
}

.work-reveal summary:hover {
  background:#d5e3ed;
}

.work-reveal summary:focus-visible {
  outline:3px solid var(--highlight);
  outline-offset:6px;
}

.work-indicator {
  display:block;
  position:relative;
  width:30px;
  height:30px;
  flex:0 0 30px;
  border:1px solid currentColor;
  border-radius:50%;
}

.work-indicator:before, .work-indicator:after {
  content:"";
  position:absolute;
  left:8px;
  right:8px;
  top:13px;
  height:1.5px;
  background:currentColor;
}

.work-indicator:after {
  transform:rotate(90deg);
  transition:transform 150ms ease;
}

details[open]>summary .work-indicator:after {
  transform:rotate(0deg);
}

.work-reveal-copy {
  max-width:68ch;
  padding-top:28px;
}

.work-reveal-copy p {
  font-size:1.125rem;
  line-height:1.8;
  margin:0 0 20px;
}

.work-reveal-copy p:last-child {
  margin-bottom:0;
}

.pathways-feature .work-reveal summary {
  color:white;
  border-color:var(--border-inverse);
}

.pathways-feature .work-reveal summary:hover {
  background:#245a48;
}

@media(max-width:900px) {
  .housing-image {
    height:224px;
  }

  .work-introduction {
    padding-block:32px 64px;
  }

  .work-feature {
    padding:44px;
  }

  .housing-feature {
    grid-template-columns:minmax(0,1fr) 160px;
    column-gap:32px;
  }

  .pathways-feature {
    margin-bottom:72px;
  }
}

@media(max-width:600px) {
  .work-introduction {
    padding-block:24px 48px;
  }

  .work-introduction h1 {
    margin-bottom:28px;
  }

  .work-feature {
    padding:32px 24px;
    border-radius:20px;
    margin-bottom:24px;
  }

  .work-feature .eyebrow {
    font-size:1rem;
    margin-bottom:24px;
  }

  .work-feature h2 {
    font-size:2.2rem;
    line-height:1.22;
    margin-bottom:30px;
  }

  .housing-feature {
    grid-template-columns:1fr;
    grid-template-areas:"heading" "image" "disclosure";
    gap:28px;
  }

  .housing-heading h2 {
    margin-bottom:0;
  }

  .housing-image {
    width:160px;
    height:auto;
  }

  .work-housing-art {
    position:static;
    max-height:none;
    width:100%;
    height:auto;
    border-radius:16px;
  }

  .work-reveal summary {
    font-size:.875rem;
    gap:16px;
    padding-left:20px;
  }

  .work-reveal-copy {
    padding-top:24px;
  }

  .work-reveal-copy p {
    font-size:1rem;
    line-height:1.75;
  }

  .work-community-image {
    margin-top:32px;
  }

  .work-community-image img {
    aspect-ratio:3/2;
    border-radius:16px;
  }

  .pathways-feature {
    margin-bottom:56px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .work-indicator:after {
    transition:none;
  }
}
