/* Designed case pages inside the case modal (first: Social Entrepreneurs Summit 2026). Palette from the case slides. */
.case-story[hidden] { display: none; }
/* Summit card: the three-line title pushed the category out of the card, so anchor the text to the bottom. */
.project-grid .project-card[data-case-index="33"] .project-card-copy { top: auto; bottom: 7%; }
.project-grid .project-card[data-case-index="33"] .project-card-title { font-size: clamp(15px,1.4vw,20px); }
.has-case-story .case-modal-content { display: block; padding: 0; }
.has-case-story .case-modal-copy, .has-case-story .case-visual { display: none; }

.cs {
  --wine: #450001; --wine-2: #61162d; --rose: #c9a0aa; --ink: #1d1d1f; --light: #ededed; --dark: #282828; --peach: #f39a5b;
  color: #fff; font-size: 16px; line-height: 1.55; text-align: left;
}
.cs *, .cs *::before, .cs *::after { box-sizing: border-box; }
:where(.cs) :where(h2, h3, h4, p, ul, ol, figure) { margin: 0; }
:where(.cs) :where(img) { display: block; max-width: 100%; }
:where(.cs) :where(strong) { font-weight: 700; }
.cs-sec { position: relative; overflow: hidden; padding: clamp(36px,5.5vw,72px) clamp(20px,5.5vw,72px); }
.cs-h { font-size: clamp(24px,3.2vw,40px); font-weight: 800; line-height: 1.08; letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; }
.cs-center { text-align: center; margin-inline: auto; }
.cs-lead { margin-top: 18px; max-width: 680px; font-size: clamp(16px,1.6vw,19px); }
.cs-caps { font-size: clamp(15px,1.5vw,19px); letter-spacing: .02em; text-transform: uppercase; }
.cs-gap { margin-top: 14px; }
.cs-muted { margin-top: 26px; max-width: 680px; color: #ffffffcc; }
.cs-ico { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid #ffffff26; border-radius: 12px; background: #ffffff14; }
.cs-ico svg { width: 22px; height: 22px; }

/* 1. Cover */
.cs-hero { position: relative; overflow: hidden; padding-bottom: clamp(36px,5vw,60px); background: var(--wine); }
.cs-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(24px,4vw,44px) clamp(20px,5.5vw,72px); }
.cs-logos { display: flex; align-items: center; gap: clamp(12px,2.2vw,28px); min-width: 0; }
.cs-logo-dilior { width: auto; height: clamp(34px,4.4vw,56px); }
.cs-logo-summit { width: auto; height: clamp(38px,5vw,64px); }
.cs-x { font-size: clamp(18px,2vw,24px); font-weight: 800; }
.cs-handle { font-size: 14px; color: #ffffffd0; white-space: nowrap; }
.cs-hero-photo { position: relative; }
.cs-hero-photo img { width: 100%; height: clamp(280px,42vw,540px); object-fit: cover; object-position: center 30%; }
.cs-hero-photo::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, #450001e6 82%, var(--wine)); }
.cs-hero-bottom { position: relative; z-index: 1; margin-top: clamp(-120px,-9vw,-56px); padding-inline: clamp(20px,5.5vw,72px); }
.cs-kicker { margin-bottom: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #ffffffbf; }
.cs-hero-title { max-width: 14ch; font-size: clamp(32px,5.4vw,68px); font-weight: 800; line-height: 1.02; text-transform: uppercase; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 0; list-style: none; }
.cs-tags li { padding: 7px 14px; border: 1px solid #ffffff59; border-radius: 999px; font-size: 13px; }

/* 2. Split */
.cs-split { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); background: var(--dark); }
.cs-split-text { display: grid; align-content: center; gap: 20px; padding: clamp(36px,5.5vw,72px) clamp(20px,5.5vw,72px); }
.cs-split-text p { max-width: 520px; font-size: clamp(16px,1.6vw,20px); color: #ececec; }
.cs-split-photo img { width: 100%; height: 100%; min-height: 420px; max-height: 620px; object-fit: cover; object-position: center 60%; }

/* 3. Strategy */
.cs-light { background: var(--light); color: var(--ink); }
.cs-h-wine { color: var(--wine-2); font-size: clamp(30px,4.6vw,56px); }
.cs-sub { max-width: 640px; margin: 14px auto 0; text-align: center; font-size: clamp(16px,1.6vw,19px); }
.cs-stages { display: grid; gap: 24px; max-width: 900px; margin: 40px auto 0; padding: 0; list-style: none; }
.cs-stages li { display: grid; grid-template-columns: 64px 64px minmax(0,1fr); align-items: center; gap: clamp(12px,2vw,24px); }
.cs-stages li:nth-child(2) { grid-template-columns: 64px minmax(0,1fr) 64px; }
.cs-stages li:nth-child(2) .cs-badge { order: 3; }
.cs-num { font-size: clamp(56px,8vw,100px); font-weight: 300; line-height: 1; color: var(--wine-2); text-align: center; }
.cs-badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50% 50% 50% 16px; background: linear-gradient(145deg,#a0203a,#4a0a14); color: #fff; box-shadow: 0 12px 26px #61162d47; }
.cs-badge svg { width: 28px; height: 28px; }
.cs-card { padding: 18px 22px; border-radius: 20px; background: linear-gradient(180deg,#e4e4e4,#d4d4d4); box-shadow: inset 0 1px 0 #fff, 0 10px 26px #00000012; }
.cs-card h4 { margin-bottom: 4px; font-size: 16px; font-weight: 700; }
.cs-card p { font-size: 15px; color: #303030; }
.cs-card em { font-style: italic; font-weight: 700; }
.cs-quote { max-width: 620px; margin: 40px auto 0; text-align: center; font-size: clamp(18px,2.1vw,25px); font-style: italic; font-weight: 700; line-height: 1.35; }

/* 4. Audience & 7. Ads */
.cs-wine { background: radial-gradient(120% 90% at 85% 0%, #6e1424 0%, transparent 55%), linear-gradient(160deg,#5a0d18,#3a0007); }
.cs-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px; margin-top: 30px; }
.cs-plaque { display: flex; gap: clamp(18px,3vw,40px); padding: 18px clamp(22px,3vw,36px); border-radius: 20px; }
.cs-plaque div { display: grid; justify-items: center; }
.cs-plaque b { font-size: clamp(40px,5.6vw,66px); font-weight: 800; line-height: 1; }
.cs-plaque span { margin-top: 4px; font-size: 15px; }
.cs-plaque-light { background: #e4e4e4; color: #4a0a14; }
.cs-points { display: grid; gap: 16px; max-width: 660px; margin-top: 30px; padding: 0; list-style: none; }
.cs-points li { display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 16px; font-size: clamp(15px,1.5vw,18px); }
.cs-bars { display: flex; align-items: flex-end; gap: clamp(10px,2vw,24px); height: clamp(110px,15vw,180px); margin: 40px 0 calc(-1 * clamp(36px,5.5vw,72px)); }
.cs-bars i { position: relative; flex: 1; max-width: 90px; height: var(--h); border-radius: 44px 44px 0 0; background: linear-gradient(180deg,#5571d6,#26336f); box-shadow: 0 0 0 8px #ffffff0a; opacity: .9; }
.cs-bars i.is-peak { background: linear-gradient(180deg,#7da0ff,#3456c8); }
.cs-bars em { position: absolute; top: -26px; left: 0; right: 0; text-align: center; font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8fa8ff; }

/* 5. Live */
.cs-pill { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 660px; margin: 0 auto; padding: 18px 24px; border-radius: 18px; background: var(--wine-2); color: #f3dfe4; text-align: center; font-size: clamp(15px,2vw,22px); font-weight: 800; text-transform: uppercase; box-shadow: 0 14px 30px #61162d40; }
.cs-live-dot { width: 12px; height: 12px; flex-shrink: 0; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 0 4px #ff4d5e40; animation: cs-pulse 1.6s ease-in-out infinite; }
@keyframes cs-pulse { 50% { box-shadow: 0 0 0 9px #ff4d5e00; } }
.cs-live .cs-lead { max-width: 540px; }
.cs-live .cs-h { margin-top: 34px; color: #111; }
.cs-plaque-white { justify-content: center; width: fit-content; margin: 18px auto 0; padding: 18px 48px; background: #fff; color: #111; box-shadow: 0 14px 34px #00000014; }
.cs-photo-wide { max-width: 760px; margin: 34px auto 0; overflow: hidden; border-radius: 24px; }
.cs-photo-wide img { width: 100%; height: auto; }

/* 6. Shooting */
.cs-shoot { padding-top: 0; }
.cs-shoot-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: start; gap: clamp(24px,4vw,56px); padding-top: clamp(36px,5.5vw,72px); border-top: 1px solid #00000014; }
.cs-shoot-head { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 22px; background: #fff; box-shadow: 0 14px 32px #0000000f; }
.cs-shoot-head h3 { font-size: clamp(17px,1.9vw,22px); font-weight: 800; line-height: 1.15; text-transform: uppercase; color: #2b2b2b; }
.cs-avatar { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; background: #222; color: #fff; }
.cs-avatar svg { width: 26px; height: 26px; }
.cs-big { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.cs-big b { font-size: clamp(72px,10vw,120px); font-weight: 800; line-height: .9; color: var(--peach); }
.cs-big span { max-width: 15ch; font-size: 18px; font-weight: 700; line-height: 1.3; }
.cs-features { display: grid; gap: 12px; padding: 0; list-style: none; }
.cs-features li { display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: #fff; font-size: 15px; }
.cs-features .cs-ico { border: 0; background: #fde7d8; color: #d9692a; }

/* 7. Ads */
.cs-ad-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; max-width: 800px; margin-top: 30px; }
.cs-ad { display: grid; justify-items: start; gap: 4px; padding: 20px 24px; border-radius: 20px; background: #e6e6e6; color: #3a0610; }
.cs-ad .cs-ico { margin-bottom: 10px; border: 0; background: var(--wine-2); color: #fff; }
.cs-ad span:not(.cs-ico) { font-size: 14px; }
.cs-ad b { font-size: clamp(28px,3.2vw,40px); font-weight: 800; line-height: 1.05; white-space: nowrap; }
.cs-dash { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; max-width: 860px; margin-top: 40px; }
.cs-dash > div { display: grid; gap: 10px; padding: 18px 20px; border: 1px solid #ffffff1a; border-radius: 18px; background: linear-gradient(160deg,#2f3440,#22252c); box-shadow: inset 0 1px 0 #ffffff12; }
.cs-dash-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: #c3c7cf; }
.cs-dash-top span { display: flex; align-items: center; gap: 8px; }
.cs-dash-top svg { width: 16px; height: 16px; }
.cs-dash-top em { padding: 3px 9px; border-radius: 999px; background: #61162d; color: #fff; font-size: 12px; font-style: normal; font-weight: 700; }
.cs-dash b { font-size: clamp(28px,3.4vw,40px); font-weight: 600; line-height: 1; color: #e9ebef; }

/* 8–9. Totals & final */
.cs-dark { background: #232323; }
.cs-h-rose { color: var(--rose); font-size: clamp(30px,4.6vw,56px); }
.cs-totals-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 28px; }
.cs-totals-grid > div { display: grid; align-content: center; justify-items: center; gap: 8px; padding: 24px 16px; border: 1px solid #ffffff1a; border-radius: 20px; background: #ffffff0d; text-align: center; }
.cs-totals-grid b { font-size: clamp(36px,4.6vw,60px); font-weight: 800; line-height: 1; }
.cs-totals-grid span { font-size: 14px; line-height: 1.35; color: #cfcfcf; }
.cs-totals-grid .cs-full { border: 0; background: linear-gradient(145deg,#7a1a2e,#45000a); }
.cs-totals-grid .cs-full b { font-size: clamp(22px,2.6vw,32px); line-height: 1.1; text-transform: uppercase; }
.cs-final { border-top: 1px solid #ffffff12; }
.cs-burst { position: absolute; top: clamp(24px,4vw,48px); right: calc(-0.35 * clamp(170px,22vw,280px)); width: clamp(170px,22vw,280px); height: auto; opacity: .16; pointer-events: none; }
.cs-final-title { font-size: clamp(52px,8vw,100px); font-weight: 800; line-height: 1; text-transform: uppercase; }
.cs-final-big { margin: 14px 0 0; font-size: clamp(30px,4.8vw,58px); font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.cs-final .cs-lead { margin-top: 14px; }
.cs-slogan { max-width: 22ch; margin-top: 44px; font-size: clamp(24px,3.6vw,46px); font-weight: 800; line-height: 1.1; text-transform: uppercase; }

@media (max-width: 760px) {
  .cs-handle { display: none; }
  .cs-hero-bottom { margin-top: -48px; }
  .cs-hero-title { max-width: none; font-size: min(7.2vw, 34px); }
  .cs-shoot-head { padding: 16px 18px; }
  .cs-shoot-head h3 { font-size: 15px; }
  .cs-big span { max-width: none; font-size: 16px; }
  .cs-totals-grid > div { padding: 18px 10px; }
  .cs-totals-grid span { font-size: 12px; hyphens: auto; overflow-wrap: anywhere; }
  .cs-h, .cs-h-wine, .cs-h-rose { font-size: min(6.6vw, 30px); }
  .cs-final-title { font-size: min(14vw, 60px); }
  .cs-final-big { font-size: min(7.4vw, 34px); }
  .cs-slogan { font-size: min(6.6vw, 30px); }
  .cs-split { grid-template-columns: minmax(0,1fr); }
  .cs-split-photo img { min-height: 0; height: 300px; }
  .cs-stages li, .cs-stages li:nth-child(2) { grid-template-columns: 40px minmax(0,1fr); gap: 12px; }
  .cs-badge { display: none; }
  .cs-num { font-size: 52px; }
  .cs-card { padding: 16px 18px; }
  .cs-row { grid-template-columns: minmax(0,1fr); }
  .cs-plaque { justify-content: space-between; }
  .cs-plaque-light { width: 100%; }
  .cs-plaque-white { padding: 16px 36px; gap: 40px; }
  .cs-shoot-grid { grid-template-columns: minmax(0,1fr); }
  .cs-ad-cards { grid-template-columns: minmax(0,1fr); }
  .cs-totals-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cs-dash { grid-template-columns: minmax(0,1fr); }
  .cs-photo-wide { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .cs-live-dot { animation: none; } }
