/* ============================================================
   Creative Placemaking — case study styles
   ============================================================ */

.cs { background: var(--white); }

/* shared case-study type */
.cs-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: clamp(12px, 0.9vw, 15px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 30px;
}
.cs-label::before,
.cs-label::after {
  content: "";
  width: 42px; height: 4px;
  background: var(--pink) !important;
  flex: none;
}
.cs-label--light { color: var(--pink); }

.cs-h2 { margin: 0 0 clamp(44px, 5vw, 80px); font-size: clamp(34px, 4.6vw, 76px); }
.cs-h3 { margin: 0 0 14px; font-weight: 800; font-size: clamp(20px, 1.9vw, 32px); color: var(--navy-deep); letter-spacing: -0.01em; }
.cs-body { margin: 0; font-weight: 300; font-size: clamp(17px, 1.3vw, 23px); line-height: 1.55; color: var(--navy-bio); }

/* ---- Hero ---- */
.cs-hero {
  position: relative;
  height: calc(100svh - var(--nav-h));
  min-height: 540px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-hero__overlay { position: absolute; inset: 0; background: rgba(22,15,74,0.42); }
.cs-hero__titlewrap { position: relative; text-align: center; padding: 0 73px; }
.cs-hero__title {
  margin: 0;
  font-size: clamp(40px, 8vw, 88px);
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.35));
}
.cs-hero__sub {
  margin: 28px auto 0;
  color: var(--pale);
  font-weight: 600;
  font-size: clamp(15px, 1.5vw, 26px);
  max-width: 760px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
@media (max-width: 600px) {
  .cs-hero__titlewrap { padding-inline: 20px; }
}

/* ---- Meta ---- */
.cs-meta { background: var(--white); padding: clamp(40px, 4vw, 64px) 0; border-bottom: 2px solid var(--pale); margin-top: -1px; }
.cp .cs-meta { background: var(--navy-deep); border-bottom-color: rgba(255,255,255,0.1); }
.cs-meta__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cs-meta__item { display: flex; flex-direction: column; gap: 7px; align-items: center; text-align: center; }
.cs-meta__k { font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); }
.cs-meta__v { font-weight: 700; font-size: clamp(17px, 1.3vw, 23px); color: var(--navy-deep); }
.cp .cs-meta__v { color: var(--pale); }
@media (max-width: 760px) { .cs-meta__grid { grid-template-columns: 1fr 1fr; } }

/* ---- Brief + Challenge (side by side) ---- */
.cs-briefchallenge { background: var(--white); padding: clamp(96px, 12vw, 210px) 0 clamp(48px, 6vw, 100px); }
.cp .cs-briefchallenge { background: var(--navy-deep); }
.cs-bc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 110px);
  align-items: start;
  margin-bottom: clamp(60px, 6vw, 100px);
}
.cs-bc__col { display: flex; flex-direction: column; }
.cs-bc__text {
  margin: 0;
  font-weight: 700;
  font-size: clamp(20px, 1.9vw, 31px);
  line-height: 1.32;
  color: var(--navy-deep);
  text-wrap: pretty;
}
.cs-bc__text strong { color: var(--pink); }
.cs-bc__text em { color: var(--pink); font-style: italic; }
.cp .cs-bc__text { color: rgba(247,234,240,0.9); }
.cp .cs-briefchallenge .cs-label { margin-bottom: 12px; color: var(--white); }

.cs-brief__media {
  max-width: 1400px; margin-inline: auto;
  box-shadow: 0 40px 80px -40px rgba(22,15,74,0.5);
}
.cs-brief__media img { width: 100%; }
@media (max-width: 820px) {
  .cs-bc__grid { grid-template-columns: 1fr; gap: clamp(36px, 7vw, 56px); }
}

/* ---- Research ---- */
.cs-research { background: var(--blue-light); padding: clamp(96px, 12vw, 210px) 0; }
.cs-research__pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 5vw, 90px);
  margin-bottom: clamp(80px, 9vw, 150px);
}
.cs-research__block { display: flex; flex-direction: column; }
.cs-research__block .cs-body { margin-bottom: clamp(44px, 6vw, 96px); max-width: 540px; }
.cs-shot {
  margin-top: auto;
  background: var(--white);
  box-shadow: 0 30px 60px -36px rgba(22,15,74,0.45);
}
.cs-shot img { width: 100%; }

.cs-why { max-width: 1300px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 90px); }
.cs-why__h { text-align: center; margin-bottom: clamp(26px, 3vw, 40px); }
.cs-why__list { display: flex; flex-direction: column; gap: clamp(20px, 2vw, 30px); }
.cs-why__item { display: flex; gap: 16px; align-items: flex-start; }
.cs-why__item p { margin: 0; font-weight: 300; font-size: clamp(16px, 1.1vw, 20px); line-height: 1.45; color: var(--navy-deep); }
.cs-why__check {
  flex: none;
  width: 34px; height: 34px;
  margin-top: 2px;
  background: var(--navy);
  border-radius: 8px;
  position: relative;
}
.cs-why__check::after {
  content: "";
  position: absolute;
  left: 12px; top: 6px;
  width: 8px; height: 15px;
  border: solid var(--pink);
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
}
@media (max-width: 820px) {
  .cs-research__pair { grid-template-columns: 1fr; }
  .cs-why { grid-template-columns: 1fr; gap: clamp(36px, 8vw, 56px); }
}

/* ---- Concept ---- */
.cs-concept { background: var(--white); padding: clamp(96px, 12vw, 210px) 0 clamp(48px, 6vw, 100px); }
/* concept editorial intro — centred stack */
.cs-concept__intro {
  max-width: 1000px;
  margin: 0 auto clamp(52px, 6vw, 96px);
  text-align: center;
}
.cs-concept__lead {
  max-width: 760px; margin: clamp(44px, 5vw, 80px) auto 0;
  font-weight: 700; font-size: clamp(20px, 1.9vw, 31px); line-height: 1.34; color: var(--navy-deep);
}
.cs-concept__map {
  max-width: 1200px; margin: 0 auto clamp(56px, 6vw, 100px);
}
.cs-concept__map img { width: 100%; display: block; }
.cs-concept__h { margin-bottom: 0; }
.cs-concept__plan {
  max-width: 1240px; margin: 0 auto clamp(52px, 6vw, 96px);
  box-shadow: 0 40px 80px -44px rgba(22,15,74,0.45);
}
.cs-concept__plan img { width: 100%; display: block; }
/* three concept sketches — normalised heights, bottom-aligned so the
   mixed-aspect cut-outs sit on a common baseline and flow cleanly */
.cs-concept__trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 56px);
  align-items: end;
  margin-bottom: clamp(52px, 6vw, 96px);
}
.cs-concept__trio .cs-illus { gap: 0; }
.cs-concept__trio .cs-illus img {
  width: 100%;
  height: clamp(230px, 25vw, 380px);
  object-fit: contain;
  object-position: bottom center;
}
.cs-concept__energy { max-width: 900px; }
.cs-concept__energy .cs-action__lead { margin-bottom: 22px; }
.cs-concept__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 4vw, 72px); align-items: end; }
.cs-illus {
  display: flex; flex-direction: column; gap: 18px;
}
.cs-illus--dark {
  background: var(--navy-deep);
  padding: clamp(28px, 3vw, 52px);
}
.cs-illus img { width: 100%; object-fit: contain; }
.cs-illus__cap { color: var(--navy); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; }
@media (max-width: 820px) { .cs-concept__pair { grid-template-columns: 1fr; } .cs-concept__trio { grid-template-columns: 1fr; } }

/* ---- The Sun (dark) ---- */
.cs-sun {
  background: var(--navy-deep);
  padding: clamp(110px, 13vw, 230px) 0;

}
.cs-sun__h { margin: 0 0 clamp(44px, 5vw, 80px); font-size: clamp(34px, 4.6vw, 76px); }
.cs-sun > .wrap .cs-label { margin-bottom: 12px; color: var(--white); }

.cs-sun__lead {
  max-width: 800px; margin: 0 0 clamp(60px, 6vw, 100px);
  font-weight: 300; font-size: clamp(20px, 1.9vw, 31px); line-height: 1.5; color: var(--pale);
}
.cs-sun__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(44px, 4.5vw, 80px); }
@media (max-width: 820px) { .cs-sun__grid { grid-template-columns: 1fr; max-width: 480px; gap: 4px; } }
.cs-sun__card { display: flex; flex-direction: column; gap: 22px; }
.cs-sun__img {
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 55%, rgba(255,225,120,0.22), rgba(22,15,74,0) 65%);
}
.cs-sun__img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 40px rgba(255,221,120,0.45)); }
/* new dome PNG is tightly cropped — scale it down to match the others' framing */
.cs-sun__card:first-child .cs-sun__img img { width: 76%; height: 76%; }
.cs-sun__card p { margin: 0; font-weight: 300; font-size: clamp(16px, 1.1vw, 20px); line-height: 1.5; color: rgba(247,234,240,0.86); }
@media (max-width: 820px) { .cs-sun__grid { grid-template-columns: 1fr; max-width: 480px; } }

/* ---- Action ---- */
.cs-action { background: var(--white); padding: clamp(96px, 12vw, 210px) 0; }
.cs-action__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(48px, 6vw, 110px); align-items: center; }
.cs-action__illus {
  background: var(--navy-deep);
  padding: clamp(28px, 3vw, 56px);
  display: flex; justify-content: center;
  align-self: stretch;
}
.cs-action__illus img { width: 100%; max-width: 420px; object-fit: contain; filter: drop-shadow(0 0 36px rgba(255,221,120,0.4)); }
.cs-action__lead { margin: 0 0 24px; font-weight: 700; font-size: clamp(20px, 1.9vw, 31px); line-height: 1.34; color: var(--navy-deep); }
@media (max-width: 820px) { .cs-action__grid { grid-template-columns: 1fr; } }

/* ---- Journey ---- */
.cs-journey { background: var(--white); padding: clamp(96px, 12vw, 210px) 0 clamp(110px,13vw,230px); }
.cs-journey__hero {
  margin: 0 0 clamp(60px, 6vw, 110px);
  box-shadow: 0 40px 80px -44px rgba(22,15,74,0.4);
}
.cs-journey__hero img { width: 100%; }
.cs-journey__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 2.6vw, 44px); align-items: stretch; }
.cs-stage {
  background: var(--blue-light);
  padding: 27px;
  display: flex; flex-direction: column; gap: 14px;
}
.cs-stage__img {
  overflow: hidden;
  margin-bottom: 4px;
}
.cs-stage__img img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.cs-stage:hover .cs-stage__img img { transform: scale(1.05); }
.cs-stage__n { font-weight: 800; font-size: clamp(28px, 2.4vw, 40px); color: var(--pink); line-height: 1; }
.cs-stage__stage { margin: 0; font-weight: 800; font-size: clamp(20px, 1.7vw, 28px); text-transform: uppercase; letter-spacing: -0.01em; color: var(--navy-deep); }
.cs-stage__action { margin: 0; font-weight: 400; font-size: clamp(16px, 1.1vw, 20px); line-height: 1.45; color: var(--navy-bio); }
.cs-stage__meta { margin: 6px 0 0; display: flex; flex-direction: column; gap: 10px; }
.cs-stage__meta div { display: flex; flex-direction: column; gap: 2px; }
.cs-stage__meta dt { font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.cs-stage__meta dd { margin: 0; font-weight: 500; font-size: 14px; color: var(--navy-deep); }
@media (max-width: 980px) { .cs-journey__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cs-journey__grid { grid-template-columns: 1fr; } }

/* ---- Result ---- */
.cs-result { background: var(--blue-light); padding: clamp(110px, 13vw, 230px) 0; text-align: center; }
.cs-result .cs-label { margin-inline: auto; }
.cs-result__text {
  margin: 0 auto; max-width: 1120px;
  font-weight: 800; font-size: clamp(26px, 3.2vw, 50px); line-height: 1.22; letter-spacing: -0.015em;
  color: var(--navy-deep); text-wrap: balance;
}

/* ---- Maquette ---- */
.cs-maquette { background: var(--white); padding: clamp(96px, 12vw, 210px) 0; }
.cs-maquette__intro { max-width: 820px; margin-bottom: clamp(40px, 4.5vw, 70px); }
.cs-maquette__grid { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 2.6vw, 40px); }
.cs-maquette__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 2.6vw, 40px); }
@media (max-width: 820px) { .cs-maquette__pair { grid-template-columns: 1fr; } }
.cs-maquette__media { box-shadow: 0 40px 80px -44px rgba(22,15,74,0.45); }
.cs-maquette__bright img { filter: brightness(1.65) contrast(0.8) saturate(1.1); }
.cs-maquette__spiral img { filter: contrast(1.05); }
.cs-maquette__media img { width: 100%; display: block; }
.cs-maquette__cap { max-width: 820px; }

/* ---- Final (dark) ---- */
.cs-final { background: var(--navy-deep); padding: clamp(110px, 13vw, 230px) 0 clamp(96px,11vw,180px); }
.cs-final__h { margin: 0 0 clamp(44px, 5vw, 80px); font-size: clamp(34px, 4.6vw, 76px); }
.cs-final > .wrap .cs-label { margin-bottom: 12px; color: var(--white); }

.cp .cs-briefchallenge .cs-label { margin-bottom: 12px; }
.cp .cs-meta .cs-label { margin-bottom: 12px; }
.cs-final__hero { margin: 0 0 clamp(32px, 4vw, 60px); }
.cs-final__hero img { width: 100%; }
.cs-final__second img { width: 100%; box-shadow: 0 30px 70px -40px rgba(0,0,0,0.6); }
.cs-final__statement { margin: clamp(32px, 4vw, 60px) auto 0; box-shadow: 0 30px 70px -40px rgba(0,0,0,0.6); }
.cs-final__statement img { width: 100%; display: block; }
/* full-bleed final photos, stacked edge-to-edge */
.cs-final__shot { margin: 0 0 clamp(20px, 2.6vw, 44px); }
.cs-final__shot:last-child { margin-bottom: 0; }
.cs-final__shot img { width: 100%; display: block; }
/* the closing yellow statement graphic — smaller, centred */
.cs-final__shot--small { max-width: 980px; margin-left: auto; margin-right: auto; padding-inline: var(--gutter); margin-top: clamp(24px, 3vw, 52px); }

/* ---- Next / CTA ---- */
.cs-next { background: var(--navy); padding: clamp(96px, 11vw, 170px) 0; }
.cp .cs-next { background: #160F4A; }
.sm .cs-next { background: #16131F; }
.mp .cs-next { background: #0E1F39; }
.cs-next__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.cs-next__lead { margin: 0; font-weight: 800; font-size: clamp(28px, 3.4vw, 54px); color: var(--pale); text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.05; text-wrap: balance; }
.cs-next__btns { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; justify-content: center; }
.cs-next .btn { background: rgba(255, 255, 255, 0.07); }
.cs-next__ghost { background: none; border: 0; cursor: pointer; color: var(--pink); font-weight: 700; font-size: clamp(16px, 1.2vw, 20px); transition: opacity 0.2s var(--ease); }
.cs-next__ghost:hover { opacity: 0.7; }

/* ============================================================
   Centred section intros (titles + lead text)
   ============================================================ */
.cs-research > .wrap,
.cs-sun > .wrap,
.cs-journey > .wrap,
.cs-maquette > .wrap,
.cs-final > .wrap,
.cs-concept > .wrap { text-align: center; }

/* keep list/card body copy left-aligned where centring would hurt reading */
.cs-why__item p { text-align: left; }
.cs-stage { text-align: left; }

/* centre + auto-margin the constrained intro paragraphs */
.cs-sun__lead,
.cs-maquette__intro,
.cs-concept__energy,
.cs-research__block .cs-body { margin-left: auto; margin-right: auto; }

/* the SectionLabel eyebrow centres with its accent line */
.cs-research > .wrap .cs-label,
.cs-sun > .wrap .cs-label,
.cs-journey > .wrap .cs-label,
.cs-maquette > .wrap .cs-label,
.cs-final > .wrap .cs-label,
.cs-concept > .wrap .cs-label { justify-content: center; }

/* brief + challenge — centred columns */
.cs-bc__col { text-align: center; }
.cs-bc__col .cs-label { justify-content: center; }
.cs-bc__text { margin-left: auto; margin-right: auto; }
