.case {
  --cream: #f7f4ec;
  --navy: #082b63;
  --body-copy: #334155;
  --muted: #64748b;
  --nestle-red: #e63232;
  --red-red: #ff2442;
  --ice: #b8d9f5;
  --line: rgba(8, 43, 99, 0.16);
  --case-pad: clamp(1rem, 3.2vw, 3rem);
  --content: 86rem;
  --section-y: clamp(5.5rem, 8vw, 8rem);
  color: var(--body-copy);
  background: var(--cream);
  overflow: clip;
}

.case h1,
.case h2,
.case h3,
.case h4 { color: var(--navy); }

.hero {
  width: min(100%, calc(var(--content) + 2 * var(--case-pad)));
  min-height: 90svh;
  margin: 0 auto;
  padding: clamp(8rem, 10vw, 9rem) var(--case-pad) clamp(2.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: minmax(22rem, 42fr) minmax(0, 58fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.heroCopy { min-width: 0; }

.eyebrow,
.sectionIntro > p,
.activationCopy > span,
.ending > p {
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow { margin: 0 0 clamp(2.5rem, 5vw, 4.5rem); color: var(--muted); }

.hero h1 {
  margin: 0;
  font-size: clamp(3.9rem, 5.2vw, 5.4rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.hero h1 span { display: block; white-space: nowrap; }
.hero h1 span:last-child { color: var(--nestle-red); }

.heroChinese {
  margin-top: clamp(2rem, 3vw, 3rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.heroChinese h2 {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.heroChinese p { margin: 0.55rem 0 0; color: var(--red-red); font-size: 0.95rem; }

.heroSummary {
  max-width: 34rem;
  margin: 1.75rem 0 0;
  color: var(--body-copy);
  font-size: clamp(0.9rem, 1.15vw, 1rem);
  line-height: 1.65;
}

.tags {
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}

.tags li {
  padding: 0.52rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 99rem;
  color: var(--navy);
  font-family: var(--label);
  font-size: 0.62rem;
  background: rgba(255, 255, 255, 0.42);
}

.heroMedia {
  position: relative;
  height: min(56vh, 36rem);
  min-height: 24rem;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--ice);
  box-shadow: 0 1.5rem 4rem rgba(8, 43, 99, 0.1);
}

.heroMedia::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: inherit;
  pointer-events: none;
}

.heroMedia img {
  object-fit: cover;
  object-position: center;
  animation: heroDrift 10s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.01) translate3d(-0.15%, -0.1%, 0); }
  to { transform: scale(1.025) translate3d(0.15%, 0.1%, 0); }
}

.overview,
.challenge,
.strategy,
.timeline,
.activations,
.ending {
  padding-left: max(var(--case-pad), calc((100vw - var(--content)) / 2));
  padding-right: max(var(--case-pad), calc((100vw - var(--content)) / 2));
}

.overview,
.challenge,
.strategy,
.timeline {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.sectionIntro {
  position: relative;
  min-height: 6rem;
}

.sectionIntro > p { position: absolute; top: 0.4rem; left: 0; margin: 0; color: var(--muted); }
.sectionIntro > p span { margin-right: 1rem; color: var(--nestle-red); }
.sectionIntro > div { width: 100%; text-align: center; }

.sectionIntro h2 {
  max-width: 16ch;
  margin: 0 auto;
  font-size: clamp(3.5rem, 5.2vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.sectionIntro h3 {
  max-width: none;
  margin: 1.35rem auto 0;
  color: var(--body-copy);
  font-family: var(--body);
  font-size: clamp(1.15rem, 1.65vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.35;
  white-space: nowrap;
}

.sectionIntroDark > p { color: rgba(255, 255, 255, 0.58); }
.sectionIntroDark h2,
.sectionIntroDark h3 { color: var(--cream); }
.sectionIntroDark h3 { opacity: 0.78; }

.overview { min-height: 72vh; }

.overviewCopy {
  width: min(42rem, 63%);
  margin: clamp(3rem, 5vw, 5rem) 0 0 auto;
}

.overviewCopy p {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.6;
}

.factGrid {
  margin-top: clamp(3rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.factCard {
  min-height: 10.5rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0.8rem 2.2rem rgba(8, 43, 99, 0.045);
}

.factCard span { color: var(--muted); font-family: var(--label); font-size: 0.7rem; text-transform: uppercase; }
.factCard strong { color: var(--navy); font-family: var(--display); font-size: clamp(1.55rem, 2.2vw, 2.2rem); font-weight: 400; letter-spacing: -0.05em; }

.challenge { min-height: 76vh; background: var(--cream); }

.challengeGrid {
  margin-top: clamp(3rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.challengeCard {
  min-height: clamp(17rem, 24vw, 21rem);
  padding: clamp(1.3rem, 2vw, 2rem);
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  color: var(--cream);
  background: var(--navy);
  box-shadow: 0 1.2rem 3rem rgba(8, 43, 99, 0.1);
}

.challengeCard > span { color: var(--red-red); font-family: var(--display); font-size: 2.3rem; letter-spacing: -0.06em; }
.challengeCard h3 { max-width: 12ch; margin: auto 0 1.2rem; color: var(--cream); font-size: clamp(1.8rem, 2.7vw, 2.65rem); line-height: 0.95; }
.challengeCard p { max-width: 22rem; margin: 0; font-size: 0.93rem; line-height: 1.55; opacity: 0.78; }

.strategy {
  min-height: 90vh;
  color: var(--cream);
  background: var(--navy);
}

.strategyGrid {
  margin-top: clamp(3.5rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.strategyCard { min-width: 0; }

.strategyMedia {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #f8fafc;
}

.strategyMedia img,
.activationMedia img,
.gallery figure img { object-fit: cover; transition: transform 0.7s var(--ease), filter 0.5s ease; }
.strategyMedia img { object-fit: contain; object-position: center; }
.strategyCard:hover .strategyMedia img,
.activationCard:hover .activationMedia img,
.gallery figure:hover img { transform: scale(1.025); filter: saturate(1.04); }

.strategyCopy { padding: 1.25rem 0.25rem 0; }
.strategyCopy > span { color: var(--red-red); font-family: var(--label); font-size: 0.68rem; }
.strategyCopy h3 { margin: 1rem 0 0.5rem; color: var(--cream); font-size: clamp(1.7rem, 2.5vw, 2.45rem); }
.strategyCopy h4 { margin: 0 0 1rem; color: var(--ice); font-family: var(--body); font-size: 1rem; font-weight: 500; }
.strategyCopy p { max-width: 23rem; margin: 0; color: rgba(247, 244, 236, 0.72); font-size: 0.88rem; line-height: 1.55; }

.timeline { min-height: 84vh; background: var(--cream); }

.timelineTrack {
  position: relative;
  margin-top: clamp(3.5rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.timelineTrack::before {
  content: "";
  position: absolute;
  top: 0.42rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--nestle-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease) 0.1s;
}

.timelineTrack.is-visible::before { transform: scaleX(1); }

.timelineTrack article {
  position: relative;
  min-height: 27rem;
  padding: 2.7rem clamp(1rem, 2.5vw, 2.5rem) 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.timelineTrack article + article { padding-left: clamp(1rem, 2.5vw, 2.5rem); border-left: 1px solid var(--line); }
.timelineTrack article::before { content: ""; position: absolute; top: 0; left: 0; width: 0.95rem; height: 0.95rem; border: 2px solid var(--nestle-red); border-radius: 50%; background: var(--cream); transform: scale(0); transition: transform 0.4s var(--ease); }
.timelineTrack article:nth-child(2)::before,
.timelineTrack article:nth-child(3)::before { left: clamp(1rem, 2.5vw, 2.5rem); }
.timelineTrack.is-visible article::before { transform: scale(1); }
.phaseMeta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.phaseMeta span { color: var(--nestle-red); font-family: var(--label); font-size: 0.7rem; }
.phaseMeta time { color: var(--navy); font-family: var(--display); font-size: clamp(1.1rem, 1.7vw, 1.55rem); letter-spacing: -0.04em; }
.timelineTrack h3 { margin: 1.6rem 0 0.65rem; font-size: clamp(2.1rem, 3.5vw, 3.4rem); line-height: 0.9; }
.phaseRhythm { max-width: 24rem; margin: 0; color: var(--body-copy); font-size: 0.94rem; font-weight: 500; line-height: 1.45; }
.timelineTrack article > small { display: block; margin-top: 0.45rem; color: var(--red-red); font-family: var(--label); font-size: 0.68rem; }
.phaseDetails { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.8rem, 1.5vw, 1.5rem); }
.phaseDetails h4 { margin: 0 0 0.7rem; color: var(--muted); font-family: var(--label); font-size: 0.65rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.phaseDetails ul { margin: 0; padding: 0; list-style: none; }
.phaseDetails li { padding: 0.42rem 0; border-top: 1px solid var(--line); color: var(--body-copy); font-size: 0.78rem; line-height: 1.35; }

.activations {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  color: var(--cream);
  background: var(--navy);
}

.activationList { margin-top: clamp(4rem, 6vw, 6rem); display: grid; gap: 1.25rem; }

.activationCard {
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 60fr) minmax(19rem, 40fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
}

.activationReverse { grid-template-columns: minmax(19rem, 40fr) minmax(0, 60fr); }
.activationReverse .activationMedia { grid-column: 2; grid-row: 1; }
.activationReverse .activationCopy { grid-column: 1; grid-row: 1; padding-left: clamp(1rem, 2.5vw, 2.4rem); padding-right: 0; }

.activationMedia {
  position: relative;
  aspect-ratio: 1.46;
  border-radius: 1.1rem;
  overflow: hidden;
  background: var(--ice);
}

.activationCopy { padding: 1rem clamp(1rem, 2.5vw, 2.4rem) 1rem 0; }
.activationCopy > span { color: var(--red-red); }
.activationCopy h3 { max-width: 13ch; margin: 1.3rem 0 0.65rem; color: var(--cream); font-size: clamp(2.35rem, 4vw, 3.8rem); line-height: 0.9; }
.activationCopy h4 { margin: 0 0 1.3rem; color: var(--ice); font-family: var(--body); font-size: clamp(1.15rem, 1.8vw, 1.55rem); font-weight: 500; letter-spacing: -0.02em; }
.activationCopy p { max-width: 25rem; margin: 0 0 1.5rem; color: rgba(247, 244, 236, 0.72); font-size: 0.9rem; line-height: 1.55; }
.activationCopy ul { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; }
.activationCopy li { padding: 0.5rem 0.68rem; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 99rem; font-family: var(--label); font-size: 0.65rem; }

.ending {
  min-height: 66svh;
  padding-top: clamp(5rem, 8vw, 7rem);
  padding-bottom: clamp(8rem, 10vw, 10rem);
  display: flex;
  flex-direction: column;
  color: var(--navy);
  background: var(--ice);
}

.ending > p { margin: 0; color: var(--muted); }
.endingCopy { margin: auto 0; display: grid; grid-template-columns: 1fr 0.7fr; gap: clamp(2rem, 7vw, 8rem); align-items: end; }
.endingCopy h2 { max-width: 13ch; margin: 0; font-size: clamp(3.6rem, 6vw, 6rem); line-height: 0.86; letter-spacing: -0.07em; }
.endingCopy h2 span { display: block; white-space: nowrap; }
.endingCopy p { max-width: 28rem; margin: 0 0 0.4rem; color: var(--body-copy); font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.55; }
.endingMeta { padding-top: 1rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 1.5rem; font-family: var(--label); font-size: 0.68rem; text-transform: uppercase; }

@media (max-width: 1000px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 8.5rem; }
  .heroMedia { height: min(54vw, 30rem); min-height: 22rem; }
  .strategy { min-height: auto; }
  .strategyGrid { grid-template-columns: 1fr 1fr; }
  .strategyCard:last-child { grid-column: 1 / -1; width: calc(50% - 0.5rem); }
  .challengeCard { min-height: 18rem; }
  .activationCard,
  .activationReverse { grid-template-columns: minmax(0, 56fr) minmax(17rem, 44fr); }
}

@media (max-width: 700px) {
  .case { --case-pad: 1rem; --section-y: 5.5rem; }
  .hero { padding-top: 8rem; gap: 3rem; }
  .hero h1 { font-size: clamp(3.45rem, 15.5vw, 4.5rem); }
  .hero h1 span { white-space: normal; }
  .heroMedia { height: 58vw; min-height: 0; border-radius: 1.1rem; }
  .sectionIntro { min-height: 0; padding-top: 2.4rem; }
  .sectionIntro > p { top: 0; }
  .sectionIntro h2 { max-width: 12ch; font-size: clamp(3.1rem, 14vw, 4rem); }
  .sectionIntro h3 { font-size: 1.3rem; white-space: normal; }
  .overview,
  .challenge,
  .timeline { min-height: auto; }
  .overviewCopy { width: 100%; margin-top: 2.5rem; }
  .factGrid,
  .challengeGrid,
  .strategyGrid,
  .timelineTrack { grid-template-columns: 1fr; }
  .factGrid { gap: 0.65rem; }
  .factCard { min-height: 8.5rem; }
  .challengeGrid { gap: 0.7rem; }
  .challengeCard { min-height: 15rem; }
  .strategyCard:last-child { grid-column: auto; width: auto; }
  .strategyGrid { gap: 3.2rem; }
  .strategyMedia { aspect-ratio: 3 / 4; }
  .timelineTrack::before { top: 0; left: 0.4rem; width: 2px; height: 100%; transform: scaleY(0); transform-origin: top; }
  .timelineTrack.is-visible::before { transform: scaleY(1); }
  .timelineTrack article,
  .timelineTrack article + article { min-height: 26rem; padding: 2rem 0 1.5rem 2.5rem; border-left: 0; }
  .timelineTrack article::before,
  .timelineTrack article:nth-child(2)::before,
  .timelineTrack article:nth-child(3)::before { left: 0; top: 0; }
  .timelineTrack h3 { margin-top: 1.4rem; }
  .phaseMeta { align-items: center; }
  .phaseMeta time { font-size: 1.25rem; }
  .phaseDetails { grid-template-columns: 1fr 1fr; }
  .activationCard,
  .activationReverse { padding: 0.65rem; grid-template-columns: 1fr; gap: 1.8rem; }
  .activationReverse .activationMedia,
  .activationReverse .activationCopy { grid-column: auto; grid-row: auto; }
  .activationMedia { aspect-ratio: 1.18; }
  .activationCopy,
  .activationReverse .activationCopy { padding: 0.5rem 0.65rem 1rem; }
  .activationCopy h3 { font-size: 2.9rem; }
  .ending { min-height: 68svh; }
  .endingCopy { grid-template-columns: 1fr; }
  .endingCopy h2 { font-size: clamp(2.1rem, 9.2vw, 2.7rem); }
  .endingMeta { grid-template-columns: 1fr auto 1fr; }
  .endingMeta span:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .heroMedia img { animation: none; }
  .strategyMedia img,
  .activationMedia img,
  .timelineTrack::before,
  .timelineTrack article::before { transition: none; }
  .strategyCard:hover .strategyMedia img,
  .activationCard:hover .activationMedia img { transform: none; filter: none; }
  .timelineTrack::before { transform: none; }
  .timelineTrack article::before { transform: scale(1); }
}
