.foshan-case {
  --case-ink: #20282c;
  --case-muted: #5b666b;
  --case-paper: #fff;
  --case-soft: #f2f4f3;
  --case-line: #d9dedf;
  --case-metal: #a98550;
  --case-deep: #151a1c;
}

.foshan-case .eyebrow {
  margin: 0 0 16px;
}

.case2-hero {
  display: flex;
  min-height: clamp(700px, calc(100svh - 80px), 790px);
  padding: 20px 24px;
  background: var(--case-soft);
}

.case2-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 440px);
  gap: clamp(48px, 6vw, 84px);
  align-items: center;
  width: min(100%, 1240px);
  margin: auto;
}

.case2-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vh, 76px) 0;
}

.case2-hero h1 {
  max-width: 700px;
  margin: 0 0 26px;
  font-size: clamp(3.25rem, 4.6vw, 4.25rem);
  line-height: .96;
  letter-spacing: -.045em;
}

.case2-hero-lead {
  max-width: 690px;
  margin: 0;
  color: var(--case-muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.72;
}

.case2-hero-image {
  position: relative;
  width: 100%;
  aspect-ratio: 504 / 843;
  margin: 0;
  overflow: hidden;
  background: #dfe2e1;
}

.case2-hero-image img {
  object-fit: contain;
  object-position: center;
}

.case2-hero-image figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 16px 20px;
  background: rgba(21, 26, 28, .9);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.case2-overview {
  padding: 54px 0 0;
  border-bottom: 1px solid var(--case-line);
}

.case2-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--case-line);
}

.case2-facts > div {
  min-height: 150px;
  padding: 28px 28px 32px;
  border-right: 1px solid var(--case-line);
  border-bottom: 1px solid var(--case-line);
}

.case2-facts > div:nth-child(3n) {
  border-right: 0;
}

.case2-facts dt {
  color: #7a633e;
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.case2-facts dd {
  max-width: 350px;
  margin: 12px 0 0;
  color: var(--case-ink);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.55;
}

.case2-section {
  padding: 112px 0;
}

.case2-split {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr);
  gap: clamp(56px, 7vw, 104px);
  align-items: start;
}

.case2-heading h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.case2-narrative-head,
.case2-details-head {
  max-width: 930px;
}

.case2-narrative-head h2,
.case2-details-head h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.case2-summary {
  max-width: 780px;
  margin: 30px 0 0;
  color: var(--case-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.case2-copy {
  max-width: 680px;
  color: var(--case-muted);
  font-size: 1.03rem;
  line-height: 1.78;
}

.case2-copy p {
  margin: 0 0 18px;
}

.case2-copy p:last-child {
  margin-bottom: 0;
}

.case2-wide-image {
  height: min(62vw, 680px);
  margin-top: 64px;
  overflow: hidden;
  background: var(--case-soft);
}

.case2-wide-image img {
  object-position: center;
}

.case2-engineering {
  background: var(--case-deep);
  color: #fff;
}

.case2-engineering .case2-copy {
  color: rgba(255, 255, 255, .7);
}

.case2-engineering .eyebrow {
  color: #d1ad73;
}

.case2-engineering .case2-summary,
.case2-engineering .case2-decision-intro {
  color: rgba(255, 255, 255, .7);
}

.case2-decision-body {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(52px, 7vw, 96px);
  margin-top: 62px;
  align-items: start;
}

.case2-decision-intro {
  max-width: 430px;
  font-size: 1rem;
  line-height: 1.78;
}

.case2-decision-intro p {
  margin: 0 0 18px;
}

.case2-decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .22);
  border-left: 1px solid rgba(255, 255, 255, .22);
}

.case2-decision-grid li {
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, .22);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.case2-decision-grid b {
  display: block;
  margin-bottom: 14px;
  color: #d1ad73;
  font: 400 1.35rem/1 Georgia, "Times New Roman", serif;
}

.case2-decision-grid span {
  color: rgba(255, 255, 255, .83);
  font-size: .94rem;
  line-height: 1.55;
}

.case2-list {
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
  border-top: 1px solid currentColor;
}

.case2-list li {
  position: relative;
  padding: 14px 0 14px 27px;
  border-bottom: 1px solid currentColor;
}

.case2-list li::before {
  position: absolute;
  top: 15px;
  left: 0;
  color: var(--case-metal);
  content: "—";
}

.case2-engineering .case2-list {
  border-color: rgba(255, 255, 255, .22);
}

.case2-engineering .case2-list li {
  border-color: rgba(255, 255, 255, .18);
}

.case2-evidence {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 20px;
  margin-top: 68px;
}

.case2-evidence figure,
.case2-manufacturing-media figure,
.case2-gallery-item,
.case2-outcome-grid > figure {
  margin: 0;
}

.case2-evidence figure {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: #272d2f;
}

.case2-evidence figure:first-child img {
  object-fit: contain;
  padding: 30px;
}

.case2-evidence figcaption,
.case2-manufacturing-media figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 12px 14px;
  background: rgba(21, 26, 28, .9);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.case2-manufacturing {
  background: #fff;
}

.case2-details-head > p:last-child {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--case-muted);
  font-size: 1.05rem;
}

.case2-detail-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 52px;
  border-top: 1px solid var(--case-line);
  border-left: 1px solid var(--case-line);
}

.case2-detail-grid article {
  min-height: 235px;
  padding: 26px 22px;
  border-right: 1px solid var(--case-line);
  border-bottom: 1px solid var(--case-line);
}

.case2-detail-grid b {
  color: #8a6a3b;
  font: 400 1.35rem/1 Georgia, "Times New Roman", serif;
}

.case2-detail-grid h3 {
  margin: 34px 0 18px;
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.case2-detail-grid p {
  margin: 0 0 7px;
  color: var(--case-muted);
  font-size: .88rem;
  line-height: 1.55;
}

.case2-numbered {
  counter-reset: manufacturing-step;
  border-color: var(--case-line);
}

.case2-numbered li {
  counter-increment: manufacturing-step;
  padding-left: 54px;
  border-color: var(--case-line);
}

.case2-numbered li::before {
  top: 15px;
  color: #806339;
  content: counter(manufacturing-step, decimal-leading-zero);
  font-family: Georgia, "Times New Roman", serif;
}

.case2-manufacturing-media {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  margin-top: 64px;
}

.case2-manufacturing-media figure {
  position: relative;
  height: 580px;
  overflow: hidden;
  background: var(--case-soft);
}

.case2-manufacturing-media figure:first-child img {
  object-position: center 42%;
}

.case2-installation {
  background: var(--case-soft);
}

.case2-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 60px;
  border-top: 1px solid #c7cdce;
  border-left: 1px solid #c7cdce;
}

.case2-story-grid article {
  min-height: 275px;
  padding: 30px;
  border-right: 1px solid #c7cdce;
  border-bottom: 1px solid #c7cdce;
  background: rgba(255, 255, 255, .55);
}

.case2-story-grid b {
  color: #8a6a3b;
  font: 400 1.35rem/1 Georgia, "Times New Roman", serif;
}

.case2-story-grid h3 {
  margin: 24px 0 16px;
  font-size: 1.65rem;
  line-height: 1.1;
}

.case2-story-grid p {
  max-width: 500px;
  margin: 0 0 13px;
  color: var(--case-muted);
  font-size: .96rem;
  line-height: 1.7;
}

.case2-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  margin-top: 74px;
  align-items: start;
}

.case2-gallery-lifting {
  grid-column: 1 / 7;
}

.case2-gallery-handling {
  grid-column: 7 / 13;
}

.case2-gallery-process {
  grid-column: 1 / 9;
}

.case2-gallery-result {
  grid-column: 9 / 13;
}

.case2-gallery-item {
  background: #fff;
  border: 1px solid var(--case-line);
}

.case2-gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.case2-gallery-lifting img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.case2-gallery-handling img {
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #e9ebea;
}

.case2-gallery-process img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.case2-gallery-result img {
  aspect-ratio: 3 / 5;
  object-fit: cover;
}

.case2-gallery-item figcaption {
  display: flex;
  gap: 18px;
  min-height: 82px;
  padding: 20px 22px;
  color: var(--case-ink);
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.45;
}

.case2-gallery-item figcaption span {
  flex: 0 0 auto;
  color: #8a6a3b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.case2-outcome {
  background: #fff;
}

.case2-outcome-grid {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  gap: clamp(60px, 8vw, 112px);
  align-items: start;
}

.case2-outcome-grid > figure {
  height: 680px;
  overflow: hidden;
  background: var(--case-soft);
}

.case2-outcome-grid > figure img {
  object-position: center 45%;
}

.case2-outcome .case2-heading {
  padding-top: 10px;
}

.case2-outcome .case2-heading h2 {
  max-width: 720px;
  margin-bottom: 34px;
}

@media (max-width: 1180px) {
  .case2-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 410px);
    gap: clamp(40px, 5vw, 64px);
  }

  .case2-hero h1 {
    font-size: clamp(3.25rem, 5.8vw, 5rem);
  }

  .case2-split {
    grid-template-columns: minmax(0, 1.45fr) minmax(310px, .85fr);
    gap: 56px;
  }

  .case2-heading h2 {
    font-size: clamp(3rem, 5.6vw, 4.7rem);
  }

  .case2-narrative-head h2,
  .case2-details-head h2 {
    font-size: clamp(3rem, 5.6vw, 4.7rem);
  }

  .case2-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .case2-hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .case2-hero-copy {
    padding: 52px 10px 0;
  }

  .case2-hero h1 {
    max-width: 820px;
    font-size: clamp(3.1rem, 6vw, 4rem);
  }

  .case2-hero-image {
    width: min(100%, 460px);
    justify-self: center;
  }
}

@media (max-width: 1024px) {
  .case2-split,
  .case2-outcome-grid {
    grid-template-columns: 1fr;
  }

  .case2-split {
    gap: 34px;
  }

  .case2-heading h2,
  .case2-narrative-head h2,
  .case2-details-head h2,
  .case2-copy {
    max-width: 760px;
  }

  .case2-section {
    padding: 92px 0;
  }

  .case2-evidence {
    grid-template-columns: 1fr 1fr;
  }

  .case2-decision-body {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .case2-decision-intro {
    max-width: 760px;
  }

  .case2-outcome-grid > figure {
    height: 620px;
  }
}

@media (max-width: 760px) {
  .case2-hero {
    min-height: 0;
    padding: 0 14px 28px;
  }

  .case2-hero-copy {
    padding: 48px 0 0;
  }

  .case2-hero h1 {
    margin-bottom: 24px;
    font-size: clamp(2.45rem, 11vw, 3.1rem);
    line-height: .98;
  }

  .case2-overview {
    padding-top: 46px;
  }

  .case2-facts {
    grid-template-columns: 1fr;
  }

  .case2-facts > div,
  .case2-facts > div:nth-child(3n) {
    min-height: 0;
    padding: 22px 0 24px;
    border-right: 0;
  }

  .case2-section {
    padding: 76px 0;
  }

  .case2-heading h2 {
    font-size: clamp(2.55rem, 11vw, 3.7rem);
    line-height: 1.02;
  }

  .case2-narrative-head h2,
  .case2-details-head h2 {
    font-size: clamp(2.55rem, 11vw, 3.7rem);
    line-height: 1.02;
  }

  .case2-summary {
    margin-top: 24px;
    font-size: 1rem;
  }

  .case2-copy {
    font-size: 1rem;
    line-height: 1.74;
  }

  .case2-wide-image {
    height: 520px;
    margin-top: 46px;
  }

  .case2-evidence,
  .case2-manufacturing-media,
  .case2-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 48px;
  }

  .case2-decision-grid,
  .case2-detail-grid,
  .case2-story-grid {
    grid-template-columns: 1fr;
  }

  .case2-decision-grid li,
  .case2-detail-grid article,
  .case2-story-grid article {
    min-height: 0;
  }

  .case2-decision-body,
  .case2-detail-grid,
  .case2-story-grid {
    margin-top: 42px;
  }

  .case2-evidence figure,
  .case2-manufacturing-media figure {
    min-height: 0;
    height: 480px;
  }

  .case2-gallery-lifting,
  .case2-gallery-handling,
  .case2-gallery-process,
  .case2-gallery-result {
    grid-column: 1;
  }

  .case2-gallery-result img {
    aspect-ratio: auto;
  }

  .case2-outcome-grid {
    gap: 46px;
  }

  .case2-outcome-grid > figure {
    height: 540px;
  }
}

@media (max-width: 430px) {
  .case2-hero h1 {
    font-size: 2.62rem;
  }

  .case2-wide-image,
  .case2-evidence figure,
  .case2-manufacturing-media figure,
  .case2-outcome-grid > figure {
    height: 440px;
  }

  .case2-gallery-item figcaption {
    min-height: 0;
    padding: 17px 18px;
  }
}
