/* Bruna Chagas case study — scoped to the article wrapper. */
article.post-8875 > .post-media { display: none !important; }
article.post-8875 > .post-content {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
article.post-8875 .entry-content { margin: 0 !important; }
article.post-8875 .post-meta { display: none !important; }

.sc-case-bruna {
  --bc-ink: #171513;
  --bc-muted: #706861;
  --bc-paper: #f5f0ea;
  --bc-warm: #b9967f;
  --bc-deep: #4c3930;
  --bc-line: rgba(76, 57, 48, .18);
  color: var(--bc-ink);
  background: #fff;
  font-size: 17px;
  line-height: 1.7;
}

.sc-case-bruna *,
.sc-case-bruna *::before,
.sc-case-bruna *::after { box-sizing: border-box; }

.sc-case-bruna img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sc-case-bruna h1,
.sc-case-bruna h2,
.sc-case-bruna p,
.sc-case-bruna figure { margin: 0; }
.sc-case-bruna figure > br { display: none; }

.sc-case-bruna__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
  min-height: min(720px, 78vh);
  background: var(--bc-paper);
}

.sc-case-bruna__hero-media { min-height: 620px; overflow: hidden; }
.sc-case-bruna__hero-media img { object-position: center 58%; }

.sc-case-bruna__hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 110px);
}

.sc-case-bruna__eyebrow {
  margin-bottom: 24px !important;
  color: var(--bc-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.sc-case-bruna h1 {
  max-width: 12ch;
  font-size: clamp(44px, 5.8vw, 82px);
  line-height: .98;
  letter-spacing: -.045em;
}

.sc-case-bruna__lead {
  max-width: 38rem;
  margin-top: 30px !important;
  color: var(--bc-muted);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.55;
}

.sc-case-bruna__section {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: clamp(72px, 10vw, 140px);
}

.sc-case-bruna__story {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 9vw, 130px);
  align-items: start;
}

.sc-case-bruna__kicker {
  color: var(--bc-warm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sc-case-bruna h2 {
  margin-top: 14px !important;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.sc-case-bruna__prose p + p { margin-top: 22px; }
.sc-case-bruna__prose a { color: var(--bc-deep); text-underline-offset: 3px; }

.sc-case-bruna__wide {
  height: min(78vw, 900px);
  min-height: 540px;
  overflow: hidden;
  background: #d8cec5;
}
.sc-case-bruna__wide img { object-position: center 52%; }

.sc-case-bruna__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--bc-deep);
  color: #fff;
}

.sc-case-bruna__split-media { min-height: 720px; overflow: hidden; }
.sc-case-bruna__split-media img { object-position: center 68%; }
.sc-case-bruna__split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 8vw, 120px);
}
article.post-8875 .sc-case-bruna__split h2 { color: #fff !important; }
article.post-8875 .sc-case-bruna__split-copy > p { color: rgba(255,255,255,.82) !important; }
article.post-8875 .sc-case-bruna__split .sc-case-bruna__kicker { color: #e2c8b7 !important; }

.sc-case-bruna__details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(52px, 7vw, 90px);
  border: 1px solid var(--bc-line);
  background: var(--bc-line);
}
.sc-case-bruna__detail { padding: 34px; background: #fff; }
.sc-case-bruna__detail dt {
  color: var(--bc-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.sc-case-bruna__detail dd {
  margin: 8px 0 0;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
}

.sc-case-bruna__gallery {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 18px;
  padding: 18px;
  background: var(--bc-paper);
}
.sc-case-bruna__gallery figure { min-height: 680px; overflow: hidden; }
.sc-case-bruna__gallery figure:first-child img { object-position: center 62%; }
.sc-case-bruna__gallery figure:last-child img { object-position: center 58%; }
.sc-case-bruna__gallery .sc-case-bruna__gallery-wide {
  grid-column: 1 / -1;
  min-height: min(70vw, 820px);
}
.sc-case-bruna__gallery .sc-case-bruna__gallery-wide img { object-position: center 52%; }

.sc-case-bruna__closing { text-align: center; }
.sc-case-bruna__closing h2 { max-width: 17ch; margin-inline: auto !important; }
.sc-case-bruna__closing p {
  max-width: 650px;
  margin: 24px auto 0;
  color: var(--bc-muted);
}
.sc-case-bruna__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.sc-case-bruna__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid var(--bc-deep);
  border-radius: 999px;
  color: var(--bc-deep);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.sc-case-bruna__button--primary { color: #fff; background: var(--bc-deep); }
.sc-case-bruna__button:hover { transform: translateY(-2px); }
.sc-case-bruna__button--primary:hover { color: #fff; background: #30231e; }

@media (max-width: 900px) {
  .sc-case-bruna__hero,
  .sc-case-bruna__split { grid-template-columns: 1fr; }
  .sc-case-bruna__hero-media { min-height: 72vh; }
  .sc-case-bruna__story { grid-template-columns: 1fr; gap: 34px; }
  .sc-case-bruna__split-media { min-height: 72vh; }
  .sc-case-bruna__details { grid-template-columns: 1fr; }
  .sc-case-bruna__gallery { grid-template-columns: 1fr; }
  .sc-case-bruna__gallery .sc-case-bruna__gallery-wide { grid-column: auto; }
  .sc-case-bruna__gallery figure { min-height: 72vh; }
}

@media (max-width: 600px) {
  .sc-case-bruna { font-size: 16px; }
  .sc-case-bruna__hero-copy { padding: 44px 24px 58px; }
  .sc-case-bruna__hero-media { min-height: 64vh; }
  .sc-case-bruna__section { width: min(100% - 32px, 1160px); padding-block: 72px; }
  .sc-case-bruna__wide { min-height: 66vh; }
  .sc-case-bruna__split-media { min-height: 66vh; }
  .sc-case-bruna__split-copy { padding: 60px 24px; }
  .sc-case-bruna__gallery { padding: 10px; gap: 10px; }
  .sc-case-bruna__gallery figure { min-height: 62vh; }
}

@media (prefers-reduced-motion: reduce) {
  .sc-case-bruna__button { transition: none; }
  .sc-case-bruna__button:hover { transform: none; }
}
