.wrappedCaseStudyPage .site-header {
  position: fixed;
  transform: translateY(0);
  transition: transform 240ms ease;
  will-change: transform;
}

.wrappedCaseStudyPage .site-header.is-nav-hidden {
  transform: translateY(calc(-100% - 2px));
}

.wrCaseStudy {
  --wr-ink: #171925;
  --wr-purple: #35106b;
  --wr-violet: #6428d9;
  --wr-blue: #338dd8;
  --wr-green: #a7d500;
  --wr-teal: #31aa92;
  --wr-pink: #ed008c;
  --wr-red: #e91d48;
  --wr-orange: #ff5a1f;
  --wr-gold: #f4b719;
  --wr-paper: #fff4e9;
  --wr-white: #fff;
  overflow: hidden;
  padding-top: 118px;
  background: var(--wr-paper);
  color: var(--wr-ink);
}

.wrCaseStudy h1,
.wrCaseStudy h2,
.wrCaseStudy h3,
.wrCaseStudy h4,
.wrCaseStudy p,
.wrCaseStudy figure { margin: 0; }

.wrCaseStudy h1,
.wrCaseStudy h2,
.wrCaseStudy h3,
.wrCaseStudy h4 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.wrCaseStudy h1,
.wrCaseStudy h2 {
  font-weight: 850;
  letter-spacing: -.06em;
}

.wrCaseStudy h2 {
  font-size: clamp(54px, 7vw, 116px);
  line-height: .9;
}

.wrShell {
  width: min(1540px, calc(100% - clamp(40px, 10vw, 160px)));
  margin-inline: auto;
}

.wrKicker,
.wrSectionTag {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.wrHero {
  position: relative;
  min-height: 970px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  grid-template-rows: 1fr auto;
  gap: 48px 7vw;
  padding: 70px clamp(28px, 6vw, 110px) 42px;
  overflow: hidden;
  background: var(--wr-ink) url("../../assets/projects/credo-wrapped/header-background.svg") center / cover no-repeat;
  color: white;
}

.wrHero::before,
.wrHero::after {
  content: none;
}

.wrHeroCopy {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 830px;
}

.wrKicker { color: #ffb13c; }

.wrHero h1 {
  margin-top: 44px;
  font-size: clamp(72px, 9.3vw, 164px);
  line-height: .77;
}

.wrHeroDek {
  max-width: 690px;
  margin-top: 50px !important;
  font-size: clamp(18px, 1.6vw, 25px);
  line-height: 1.48;
}

.wrHeroDeck {
  position: relative;
  z-index: 3;
  min-height: 700px;
  display: grid;
  place-items: center;
  align-self: center;
}

.wrHeroCard {
  position: relative;
  width: min(500px, 34vw);
  overflow: hidden;
  border: 5px solid white;
  background: white;
  box-shadow: 20px 24px 0 rgba(0,0,0,.32);
}

.wrHeroCard img { display: block; width: 100%; height: auto; }
.wrHeroCardFront { transform: none; }

.wrHeroFacts {
  position: relative;
  z-index: 4;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin: 0;
  padding-top: 34px;
  border-top: 3px solid rgba(255,255,255,.72);
}

.wrHeroFacts div { display: grid; gap: 8px; }
.wrHeroFacts dt { color: var(--wr-green); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.wrHeroFacts dd { margin: 0; font-size: 14px; font-weight: 750; line-height: 1.45; }

.wrIntro { padding-block: 145px 160px; }
.wrIntroGrid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 8vw; margin-top: 52px; }
.wrIntroCopy { display: grid; gap: 28px; }
.wrIntroCopy p { font-size: 18px; line-height: 1.65; }
.wrIntroCopy .wrLead { font-size: 24px; font-weight: 800; line-height: 1.42; }

.wrImpactStrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 92px;
  border-top: 5px solid var(--wr-ink);
  border-left: 5px solid var(--wr-ink);
}

.wrImpactStrip div {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-right: 5px solid var(--wr-ink);
  border-bottom: 5px solid var(--wr-ink);
}

.wrImpactStrip div:nth-child(1) { background: var(--wr-orange); }
.wrImpactStrip div:nth-child(2) { background: var(--wr-green); }
.wrImpactStrip div:nth-child(3) { background: var(--wr-blue); }
.wrImpactStrip strong { font-size: clamp(64px, 7vw, 112px); letter-spacing: -.07em; line-height: .8; }
.wrImpactStrip span { max-width: 260px; font-size: 14px; font-weight: 900; line-height: 1.25; text-transform: uppercase; }

.wrSystem {
  padding-block: 140px 160px;
  background: var(--wr-ink);
  color: white;
}

.wrSystem .wrSectionTag { color: var(--wr-green); }
.wrSectionHead { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 8vw; }
.wrSectionHead h2 { margin-top: 44px; }
.wrSectionHead > p { max-width: 650px; font-size: 19px; line-height: 1.65; }
.wrSectionHeadLight .wrSectionTag { color: var(--wr-green); }

.wrCauseGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 4vw, 58px);
  margin-top: 92px;
}

.wrCauseGrid figure { position: relative; }
.wrCauseGrid img { display: block; width: 100%; border: 5px solid white; box-shadow: 14px 16px 0 rgba(0,0,0,.45); }
.wrCauseGrid figure:nth-child(2),
.wrCauseGrid figure:nth-child(5) { transform: translateY(42px); }
.wrCauseGrid figcaption { margin-top: 18px; font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }

.wrStoryFlow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 130px 0 0;
  padding: 0;
  border-top: 4px solid white;
  border-left: 4px solid white;
  list-style: none;
}

.wrStoryFlow li {
  min-height: 275px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-right: 4px solid white;
  border-bottom: 4px solid white;
}

.wrStoryFlow span { color: var(--wr-green); font-size: 12px; font-weight: 900; }
.wrStoryFlow strong { margin-top: auto; font-size: 25px; }
.wrStoryFlow p { margin-top: 15px; font-size: 14px; line-height: 1.5; }

.wrEmail {
  padding-block: 145px 165px;
  background: var(--wr-purple) url("../../assets/projects/credo-wrapped/email-background-2.svg") center / cover no-repeat;
  color: white;
}
.wrEmailStage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(34px, 4vw, 68px);
  margin-top: 95px;
  padding-bottom: 120px;
}

.wrEmailClient {
  overflow: hidden;
  border: 5px solid white;
  background: #e8e8eb;
  box-shadow: 24px 28px 0 rgba(0,0,0,.3);
  color: var(--wr-ink);
}

.wrEmailPrimary,
.wrEmailSecondary { width: 100%; }
.wrEmailSecondary { transform: translateY(120px); }

.wrMailToolbar {
  min-height: 54px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 18px;
  border-bottom: 4px solid var(--wr-ink);
  background: white;
}

.wrMailDots { display: flex; gap: 7px; }
.wrMailDots i { width: 11px; height: 11px; border-radius: 50%; background: var(--wr-pink); }
.wrMailDots i:nth-child(2) { background: var(--wr-orange); }
.wrMailDots i:nth-child(3) { background: var(--wr-green); }
.wrMailToolbar b { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.wrMailTools { display: flex; justify-content: flex-end; gap: 8px; }
.wrMailTools span { padding: 6px 9px; border: 2px solid var(--wr-ink); font-size: 8px; font-weight: 900; letter-spacing: .08em; line-height: 1; text-transform: uppercase; }

.wrMailMeta {
  min-height: 104px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 18px 22px;
  border-bottom: 2px solid #d2d3d6;
  background: white;
}

.wrMailAvatar { width: 48px; height: 48px; display: grid; place-items: center; border: 3px solid var(--wr-ink); border-radius: 50%; background: var(--wr-pink); color: white; font-size: 20px; font-weight: 900; }
.wrMailMeta h3 { font-size: clamp(15px, 1.4vw, 21px); line-height: 1.15; }
.wrMailMeta p { margin-top: 6px; font-size: 11px; line-height: 1.35; }
.wrMailMeta p span { color: #737782; }
.wrMailMeta time { align-self: start; padding-top: 5px; color: #737782; font-size: 10px; font-weight: 800; }
.wrMailCanvas { padding: clamp(24px, 4vw, 58px); background: #e8e8eb; }
.wrMailDocument { width: min(100%, 720px); margin-inline: auto; overflow: hidden; background: white; box-shadow: 0 3px 18px rgba(23,25,37,.12); }
.wrMailBrand { height: 74px; display: grid; grid-template-columns: 74px 1fr; align-items: stretch; overflow: hidden; padding: 0; background: var(--wr-ink); color: white; }
.wrMailBrandLogo { width: 74px; height: 74px; display: block; object-fit: contain; box-shadow: none !important; filter: none !important; }
.wrMailBrand span { align-self: center; justify-self: end; padding-right: clamp(20px, 4vw, 42px); color: var(--wr-green); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.wrMailWideArt,
.wrMailFullTile { display: block; width: 100%; height: auto; }
.wrMailIntro { padding: clamp(34px, 5vw, 62px) clamp(24px, 5.5vw, 64px); text-align: center; }
.wrMailEyebrow { color: var(--wr-pink); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.wrMailIntro h4,
.wrMailCtaBlock h4 { margin-top: 17px; font-size: clamp(26px, 3vw, 43px); letter-spacing: -.04em; line-height: 1; }
.wrMailIntro > p:last-child { margin-top: 24px; font-size: clamp(12px, 1.3vw, 17px); line-height: 1.65; }
.wrMailTiles { display: grid; grid-template-columns: 1fr; }
.wrMailTiles img { display: block; width: 100%; height: auto; }
.wrMailCtaBlock { padding: clamp(34px, 5vw, 62px); background: var(--wr-paper); text-align: center; }
.wrMailCtaBlock a { display: inline-block; margin-top: 27px; padding: 14px 26px; border: 0; border-radius: 999px; background: var(--wr-orange); box-shadow: none; color: white; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.wrMailFooter { padding: 26px 24px 30px; background: var(--wr-ink); color: white; text-align: center; }
.wrMailFooterLogo { width: 48px; height: 48px; max-width: 48px; display: block; margin: 0 auto 12px; object-fit: contain; box-shadow: none !important; filter: none !important; }
.wrMailFooter p { margin-top: 9px; font-size: 10px; }
.wrMailFooter span { display: block; margin-top: 17px; color: #c9cad1; font-size: 8px; text-decoration: underline; }

.wrSocial { padding-block: 145px 150px; }
.wrSocialMockup { margin-top: 78px; padding: 24px; border: 5px solid var(--wr-ink); background: white; box-shadow: 20px 22px 0 var(--wr-ink); }
.wrSocialTop { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 18px; font-size: 13px; }
.wrSocialTop span { padding: 5px 9px; background: var(--wr-ink); color: white; font-size: 9px; font-weight: 900; }
.wrSocialRail { display: grid; grid-template-columns: repeat(5, 1fr); border: 4px solid var(--wr-ink); overflow: hidden; }
.wrSocialRail figure { position: relative; aspect-ratio: 1; min-width: 0; overflow: hidden; border-right: 4px solid var(--wr-ink); box-sizing: border-box; }
.wrSocialRail figure:last-child { border-right: 0; }
.wrSocialRail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wrSocialRail figure > span { position: absolute; z-index: 2; top: 8px; right: 8px; display: grid; place-items: center; width: 27px; height: 27px; border: 2px solid white; border-radius: 50%; background: rgba(23,25,37,.7); color: white; font-size: 8px; font-weight: 900; }
.wrSocialControls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 10px; }
.wrSocialActions { display: flex; gap: 14px; font-size: 22px; }
.wrSocialDots { display: flex; align-items: center; justify-content: center; }
.wrSocialDots i { width: 7px; height: 7px; margin: 0 3px; border-radius: 50%; background: #c4c5c9; }
.wrSocialDots i:first-child { background: var(--wr-blue); }
.wrSocialMockup > p { margin-top: 16px; font-size: 13px; line-height: 1.5; }

.wrToolkit { padding-block: 140px 170px; border-top: 5px solid var(--wr-ink); }
.wrMotifDetail {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  margin-top: 90px;
  border: 5px solid var(--wr-ink);
  background: var(--wr-ink);
  box-shadow: 16px 18px 0 var(--wr-ink);
  color: white;
}
.wrMotifVisual {
  position: relative;
  min-height: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--wr-purple);
}
.wrMotifArtwork {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wrMotifLabel {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  color: white;
  font-size: clamp(30px, 3.5vw, 58px);
  letter-spacing: -.03em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}
.wrMotifCopy { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 6vw, 92px); }
.wrMotifCopy .wrSectionTag { color: var(--wr-green); }
.wrMotifCopy h3 { margin-top: 34px; font-size: clamp(42px, 5vw, 76px); letter-spacing: -.05em; line-height: .92; }
.wrMotifCopy > p:not(.wrSectionTag) { margin-top: 25px; font-size: 17px; line-height: 1.65; }
.wrToolkitGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 90px; }
.wrPalettePanel,
.wrPatternPanel { padding: 34px; border: 5px solid var(--wr-ink); background: white; box-shadow: 14px 16px 0 var(--wr-ink); }
.wrPalettePanel { display: flex; flex-direction: column; }
.wrToolkitGrid h3 { font-size: 24px; }
.wrSwatches { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.wrSwatches span { min-height: 120px; display: flex; align-items: flex-end; padding: 18px; border: 3px solid var(--wr-ink); color: white; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.wrSwatchClimate { background: #87b412; }
.wrSwatchVote { background: #2f64ba; }
.wrSwatchPeace { background: #57b09b; }
.wrSwatchWomen { background: #923869; }
.wrSwatchEconomic { background: #e7a41b; }
.wrSwatchCivil { background: #c81c43; }
.wrPatterns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.wrPatterns img { display: block; width: 100%; aspect-ratio: 6 / 5; border: 3px solid var(--wr-ink); object-fit: cover; }

.wrChannelFlow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 24px; margin-top: 100px; padding-top: 40px; border-top: 5px solid var(--wr-ink); }
.wrChannelFlow > b { font-size: 34px; }
.wrChannelFlow div { min-height: 190px; display: flex; flex-direction: column; padding: 22px; border: 4px solid var(--wr-ink); background: white; }
.wrChannelFlow span { color: var(--wr-pink); font-size: 11px; font-weight: 900; }
.wrChannelFlow strong { margin-top: auto; font-size: 19px; }
.wrChannelFlow p { margin-top: 10px; font-size: 12px; line-height: 1.4; }

.wrClose { min-height: 840px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 8vw; padding: clamp(74px, 8vw, 145px); background: linear-gradient(130deg, var(--wr-purple), var(--wr-pink)); color: white; }
.wrClose .wrSectionTag { color: var(--wr-green); }
.wrCloseCopy h2 { margin-top: 44px; }
.wrCloseCopy > p:last-child { max-width: 720px; margin-top: 38px; font-size: 20px; line-height: 1.6; }
.wrCloseCard { overflow: hidden; border: 6px solid white; box-shadow: 24px 28px 0 rgba(0,0,0,.3); transform: rotate(2deg); }
.wrCloseCard img { display: block; width: 100%; height: auto; }
.wrCaseStudy .project-nav { border-top: 4px solid var(--wr-pink); }

@media (max-width: 1100px) {
  .wrHero { grid-template-columns: 1fr; }
  .wrHeroDeck { min-height: 740px; }
  .wrHeroCard { width: min(440px, 55vw); }
  .wrIntroGrid,
  .wrSectionHead,
  .wrClose { grid-template-columns: 1fr; }
  .wrCauseGrid { grid-template-columns: repeat(2, 1fr); }
  .wrCauseGrid figure:nth-child(2),
  .wrCauseGrid figure:nth-child(5) { transform: none; }
  .wrStoryFlow { grid-template-columns: repeat(2, 1fr); }
  .wrEmailStage { grid-template-columns: 1fr; gap: 70px; padding-bottom: 0; }
  .wrEmailPrimary,
  .wrEmailSecondary { width: 100%; }
  .wrEmailSecondary { transform: none; }
  .wrMotifDetail { grid-template-columns: 1fr; }
  .wrChannelFlow { grid-template-columns: 1fr 1fr; }
  .wrChannelFlow > b { display: none; }
  .wrCloseCard { width: min(760px, 88vw); justify-self: center; }
}

@media (max-width: 760px) {
  .wrCaseStudy { padding-top: 92px; }
  .wrShell { width: min(100% - 40px, 1540px); }
  .wrCaseStudy h2 { font-size: clamp(48px, 14vw, 72px); }
  .wrHero { min-height: 0; padding: 62px 22px 34px; }
  .wrHero h1 { font-size: clamp(62px, 18vw, 96px); }
  .wrHeroDeck { min-height: 580px; }
  .wrHeroCard { width: min(300px, 68vw); border-width: 4px; box-shadow: 12px 14px 0 rgba(0,0,0,.3); }
  .wrHeroFacts { grid-template-columns: 1fr; }
  .wrIntro { padding-block: 92px 108px; }
  .wrImpactStrip { grid-template-columns: 1fr; margin-top: 64px; }
  .wrImpactStrip div { min-height: 190px; }
  .wrSystem { padding-block: 92px 110px; }
  .wrCauseGrid { grid-template-columns: 1fr; margin-top: 62px; }
  .wrStoryFlow { grid-template-columns: 1fr; margin-top: 70px; }
  .wrStoryFlow li { min-height: 230px; }
  .wrEmail { padding-block: 94px 112px; }
  .wrEmailStage { margin-top: 62px; gap: 44px; }
  .wrMailTools span { padding-inline: 6px; }
  .wrMailMeta { grid-template-columns: auto 1fr; }
  .wrMailMeta time { display: none; }
  .wrMailCanvas { padding: 18px; }
  .wrMailTiles { grid-template-columns: 1fr; }
  .wrSocial { padding-block: 96px 116px; }
  .wrSocialMockup { margin-top: 62px; padding: 14px; box-shadow: 12px 14px 0 var(--wr-ink); }
  .wrSocialRail { grid-template-columns: repeat(5, minmax(235px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; }
  .wrSocialRail figure { scroll-snap-align: start; }
  .wrSocialControls { grid-template-columns: 1fr auto; }
  .wrSocialDots { display: none; }
  .wrToolkit { padding-block: 92px 116px; }
  .wrMotifDetail { margin-top: 62px; box-shadow: 12px 14px 0 var(--wr-ink); }
  .wrMotifVisual { min-height: 0; }
  .wrMotifLabel { font-size: clamp(34px, 10vw, 54px); }
  .wrMotifCopy { padding: 46px 28px 54px; }
  .wrToolkitGrid { grid-template-columns: 1fr; margin-top: 62px; }
  .wrSwatches { grid-template-columns: repeat(2, 1fr); }
  .wrPatterns { grid-template-columns: 1fr; }
  .wrChannelFlow { grid-template-columns: 1fr; margin-top: 70px; }
  .wrClose { min-height: 0; padding: 94px 22px 116px; }
  .wrCloseCard { width: 100%; margin-top: 28px; box-shadow: 14px 17px 0 rgba(0,0,0,.28); }
}

@media (prefers-reduced-motion: reduce) {
  .wrappedCaseStudyPage .site-header { transition: none; }
}
