/* The two photographs and their captions form one spread on desktop. */
body[data-page="representation"]:not(.section-view) .page-content {
  padding-block: clamp(32px, 5.2vw, 80px) clamp(52px, 7vw, 100px);
  background: linear-gradient(145deg, #f7f3eb, #eee7db);
}
body:not(.section-view) .content-grid {
  max-width: 1500px;
  margin-inline: auto;
  gap: clamp(18px, 3.2vw, 54px);
  border: 0;
  background: transparent;
}
#china-brands { --selection-photo: url("agency-selection-china.webp"); }
#global-brands { --selection-photo: url("agency-selection-global.webp"); }
body:not(.section-view) .content-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 0 clamp(22px, 2.3vw, 38px);
  border-bottom: 1px solid #b9ad98;
  background: transparent;
}
body:not(.section-view) .content-card::before {
  content: "";
  display: block;
  order: -2;
  aspect-ratio: 16 / 9;
  margin-bottom: clamp(20px, 2.1vw, 34px);
  background: center / cover no-repeat var(--selection-photo);
}
body:not(.section-view) .card-subtitle {
  order: -1;
  margin: 0 0 9px;
  color: #725438;
  font-size: 11px;
  letter-spacing: .095em;
  text-transform: uppercase;
}
body:not(.section-view) .card-heading h2 {
  font-size: clamp(25px, 2.65vw, 43px);
  line-height: 1.2;
  letter-spacing: -.035em;
}
body:not(.section-view) .card-heading .card-deep-link {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  color: #292923;
  background: #fbf6eaf2;
  border-color: #ffffff85;
}
body:not(.section-view) .card-heading .card-deep-link:hover,
body:not(.section-view) .card-heading .card-deep-link:focus-visible {
  background: #2a3730;
  color: white;
}
body:not(.section-view) .content-card .card-summary {
  margin-top: 13px;
  color: #514c44;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
}
.section-view .content-card:is(#china-brands, #global-brands)::before {
  content: "";
  display: block;
  width: 100%;
  max-height: 320px;
  aspect-ratio: 2.4;
  margin-bottom: 24px;
  background: center / cover no-repeat var(--selection-photo);
}

body[data-page="representation"] .page-final {
  padding: 0;
  background: #211b17;
}
.cases-panel, .section-view .content-card#cases {
  background-color: #271c17;
  background-image: linear-gradient(100deg, rgba(25,17,14,.48), rgba(24,18,17,.13) 40%, rgba(17,15,17,.68)), url("agency-case-macro.webp");
  background-size: cover;
  background-position: center;
}
.cases-panel {
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.32fr);
  align-items: start;
  padding: clamp(65px, 8.5vw, 140px) var(--gutter);
  gap: clamp(38px, 6vw, 98px);
}
.cases-copy { max-width: 420px; }
.cases-heading { align-items: center; }
.cases-copy p { color: #eee5d9; }
.case-list { gap: 8px; }
.case-logos { gap: clamp(7px, .8vw, 13px); }
.case-logos img { height: clamp(80px, 7.2vw, 112px); }
.section-view .content-card#cases { color: #fff8ef; }
.section-view #cases .section-nav .button-secondary { color: inherit; border-color: #e8dccc90; }

/* One continuous meeting photograph extends under the legal footer. */
.agency-contact {
  padding-inline: var(--gutter);
  background-color: #1e2929;
  background-image: linear-gradient(90deg, rgba(9,20,20,.92), rgba(9,20,20,.72) 36%, rgba(12,18,18,.12) 70%),
                    linear-gradient(0deg, rgba(9,17,17,.92), transparent 37%), url("business-meeting.webp");
  background-size: cover;
  background-position: center, center, center 46%;
}
body[data-page="representation"] .final-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 26px;
  min-height: clamp(360px, 33vw, 545px);
  margin: 0;
  padding-block: clamp(56px, 6vw, 100px);
  border: none;
}
.final-cta > div:first-child { max-width: min(48vw, 670px); }
.final-title { text-wrap: balance; }
.final-cta h2 { font-size: clamp(35px, 4.15vw, 65px); line-height: 1.13; }
.final-cta p { color: #ede8df; }
.final-actions { justify-content: flex-start; }
.legal-footer { margin: 0; padding: 20px 0 25px; color: #dfd6cb; }

@media (max-width: 767px) {
  body:not(.section-view) .content-grid { gap: 30px; }
  body:not(.section-view) .card-heading h2 { font-size: clamp(24px, 6.4vw, 33px); }
  .cases-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 44px;
    background-color: #251b17;
    background-image: linear-gradient(180deg, rgba(21,15,14,.72), rgba(21,15,14,.24) 88px, transparent 165px, #251b17 260px), url("agency-case-macro.webp");
    background-size: 100% 100%, auto 260px;
    background-position: center, left top;
    background-repeat: no-repeat;
  }
  .cases-copy { min-height: 164px; }
  .cases-copy p { margin-top: 14px; }
  .case-logos img { height: 78px; }
  .agency-contact {
    background-image: linear-gradient(180deg, rgba(13,18,17,.07), rgba(13,21,20,.12) 26%, rgba(11,21,20,.85) 55%, rgba(11,21,20,.96)), url("business-meeting.webp");
    background-size: cover, auto clamp(280px, 78vw, 420px);
    background-repeat: no-repeat;
    background-position: center, 78% top;
  }
  body[data-page="representation"] .final-cta { min-height: 0; padding-block: clamp(210px, 52vw, 300px) 36px; }
  .final-cta > div:first-child { max-width: 100%; }
  .final-actions { width: 100%; }
}
