/* ═══════════════════════════════════════════════════════════
   UNIKA CREATIVE LAB — Case Study Page Styles
   File: assets/css/case-study.css
   Inherits: global.css (nav, footer, fonts, cta-section)
   ═══════════════════════════════════════════════════════════ */

/* ── CASE HERO ─────────────────────────────────────────────── */
.case-hero {
  position: relative;
  height: 90vh;
  min-height: 540px;
  overflow: hidden;
  background: #141414;
}

.case-hero__img {
  position: absolute;
  inset: 0;
}

.case-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
}

.case-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,12,12,0.08) 0%,
    rgba(12,12,12,0.30) 45%,
    rgba(12,12,12,0.85) 100%
  );
}

.case-hero__content {
  position: absolute;
  bottom: 72px;
  left: 0;
  right: 0;
  padding: 0 80px;
}

.case-hero__title {
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: #faf9f7;
  margin-bottom: 18px;
}

.case-hero__sub {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(250,249,247,0.68);
  max-width: 580px;
}

/* ── EYEBROW ───────────────────────────────────────────────── */
.case-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7ecfb3;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.case-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: #7ecfb3;
  flex-shrink: 0;
}

/* ── BREADCRUMB ────────────────────────────────────────────── */
.case-breadcrumb {
  background: #f3f2ef;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 14px 80px;
}

.case-breadcrumb__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #888882;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-breadcrumb__inner a {
  color: #888882;
  text-decoration: none;
  transition: color 0.2s;
}
.case-breadcrumb__inner a:hover { color: #1a1a1a; }
.case-breadcrumb__inner .current { color: #1a1a1a; }

/* ── PROJECT OVERVIEW ──────────────────────────────────────── */
.case-overview {
  background: #f3f2ef;
  padding: 96px 80px;
}

.case-overview__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  align-items: start;
}

.case-overview__text p {
  font-size: 17px;
  line-height: 1.75;
  color: #555550;
  margin-bottom: 20px;
}
.case-overview__text p:last-child { margin-bottom: 0; }
.case-overview__text strong { color: #1a1a1a; font-weight: 600; }

.case-credit {
  margin-top: 28px !important;
  padding-top: 22px;
  border-top: 1px solid rgba(0,0,0,0.09);
  font-size: 12px !important;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #888882 !important;
  font-style: italic;
}

.case-meta {
  background: #faf9f7;
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 3px;
  overflow: hidden;
}

.meta-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  gap: 10px;
  align-items: start;
}
.meta-row:last-child { border-bottom: none; }

.meta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888882;
  padding-top: 2px;
}

.meta-value {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.5;
}

/* ── CASE SECTIONS ─────────────────────────────────────────── */
.case-section {
  padding: 96px 80px;
}

.case-section.cs-dark,
.cs-dark  { background: #141414; }
.case-section.cs-light,
.cs-light { background: #f3f2ef; }
.case-section.cs-white,
.cs-white { background: #faf9f7; }

/* Colours propagate to headings + body within each tone */
.cs-dark  { color: var(--white); }
.cs-light { color: var(--text-dark); }

.cs-dark .cs-sub-title,
.cs-dark h2,
.cs-dark h3 { color: var(--white); }
.cs-light .cs-sub-title,
.cs-light h2,
.cs-light h3 { color: var(--text-dark); }

.cs-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.cs-header {
  margin-bottom: 48px;
  max-width: 760px;
}

.cs-title {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 18px;
}

.cs-dark .cs-title         { color: #faf9f7; }
.cs-light .cs-title,
.cs-white .cs-title        { color: #1a1a1a; }

/* Mint accent — second line via <em> */
.cs-title em,
.case-hero__title em       { font-style: normal; color: #7ecfb3; }

.cs-body {
  font-size: 16px;
  line-height: 1.75;
  max-width: 620px;
}

.cs-dark .cs-body          { color: rgba(250,249,247,0.60); }
.cs-light .cs-body,
.cs-white .cs-body         { color: #555550; }

/* ── IMAGE GRIDS ───────────────────────────────────────────── */

/* Shared wrapper — CONTAIN by default for product/transparent images */
.ig-wrap,
.ig-hero {
  overflow: hidden;
  border-radius: 2px;
  display: block;
  position: relative;
}

/* Default: contain — image fully visible, no cropping */
.ig-wrap img,
.ig-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

/* Cover variant — for photography/scene images (add class .ig-cover to the wrapper) */
.ig-wrap.ig-cover img,
.ig-hero.ig-cover img {
  object-fit: cover;
}

.ig-wrap:hover img,
.ig-hero:hover img {
  transform: scale(1.03);
}

/* 3 equal columns */
.img-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 44px;
}
.img-grid-3 .ig-wrap {
  aspect-ratio: 4/3;
}

/* 2 equal columns */
.img-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 44px;
}
.img-grid-2 .ig-wrap {
  aspect-ratio: 4/3;
}

/* 4 equal columns — for merchandise apparel grid */
.img-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 44px;
}
.img-grid-4 .ig-wrap {
  aspect-ratio: 3/4;
}

/* Hero wide + 2 below */
.img-grid-hero-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 44px;
}
.img-grid-hero-duo .ig-hero {
  grid-column: 1 / -1;
  aspect-ratio: 16/7;
}
.img-grid-hero-duo .ig-wrap {
  aspect-ratio: 16/10;
}

/* Dark background cell for transparent PNG/GIF images */
.ig-dark-bg {
  background: #141414;
}

/* Light background cell */
.ig-light-bg {
  background: #f3f2ef;
}

/* Placeholder cell */
.ig-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1c1c1c;
}
.cs-light .ig-placeholder,
.cs-white .ig-placeholder  { background: #e0dedd; }

.ig-placeholder span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
}
.cs-light .ig-placeholder span,
.cs-white .ig-placeholder span { color: rgba(0,0,0,0.18); }

/* ── RELATED CASES ─────────────────────────────────────────── */
.case-related {
  background: #0c0c0c;
  padding: 88px 80px;
}

.case-related__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.case-related .case-eyebrow {
  margin-bottom: 36px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  background: #1c1c1c;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 3px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s;
}
.related-card:hover {
  border-color: rgba(126,207,179,0.35);
  transform: translateY(-4px);
}

.related-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #141414;
}
.related-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.related-card:hover .related-card__img img { transform: scale(1.05); }

.related-card__body { padding: 20px 22px 24px; }

.related-card__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7ecfb3;
  margin-bottom: 8px;
}
.related-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #faf9f7;
  line-height: 1.3;
  margin-bottom: 8px;
}
.related-card__desc {
  font-size: 13px;
  color: rgba(250,249,247,0.40);
  line-height: 1.55;
}

/* ── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  background: #f3f2ef;
  padding: 120px 56px;
  text-align: center;
}

.cta-section .cta-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7ecfb3;
  margin-bottom: 24px;
  display: block;
}

.cta-section .cta-eyebrow::before {
  display: none;
}

.cta-section .cta-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.cta-section .cta-title em {
  color: #7ecfb3;
  font-style: normal;
}

.cta-section .cta-sub {
  font-size: 16px;
  line-height: 1.7;
  color: #999992;
  max-width: 560px;
  margin: 0 auto 40px;
}

.cta-section .cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* ── HERO META (role + year) ───────────────────────────────── */
.case-hero__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.case-hero__role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(250,249,247,0.38);
  text-transform: uppercase;
}

.case-hero__year {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #7ecfb3;
  opacity: 0.7;
  flex-shrink: 0;
}

/* ── SUBSECTION BLOCKS ─────────────────────────────────────── */
.cs-subsection {
  margin-top: 72px;
}

.cs-subheader {
  margin-bottom: 36px;
  max-width: 720px;
}

.cs-sub-title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.cs-sub-title--light {
  color: #faf9f7;
}

/* ── ROLE TAG (web section) ────────────────────────────────── */
.cs-role-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7ecfb3;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.09);
}

/* ── BEFORE / AFTER ────────────────────────────────────────── */
.cs-before-after {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.cs-before-after__item {}

.cs-before-after__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888882;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-before-after__label::after {
  content: '';
  display: block;
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.1);
}

.cs-before-after__label--after {
  color: #7ecfb3;
}

.cs-before-after__label--after::after {
  background: rgba(126,207,179,0.25);
}

.cs-before-after .img-grid-2 {
  margin-top: 0;
}

/* ── VIDEO BLOCKS ──────────────────────────────────────────── */
.cs-video-block .cs-subheader {
  margin-bottom: 24px;
}

.cs-video-wrap {
  border-radius: 3px;
  overflow: hidden;
  background: #1c1c1c;
  position: relative;
}

.cs-video-wrap video {
  width: 100%;
  display: block;
  max-height: 70vh;
  object-fit: contain;
  background: #0c0c0c;
}

/* ── BACK TO WORK SECTION ──────────────────────────────────── */
.cs-back-section {
  background: #0c0c0c;
  padding: 56px 80px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.cs-back-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,249,247,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.cs-back-link:hover {
  color: #7ecfb3;
}

/* ── CASE TABS ─────────────────────────────────────────────── */
.case-tabs {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: var(--black);
  border-bottom: 1px solid var(--dark-border);
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.case-tabs::-webkit-scrollbar { display: none; }

.case-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.25rem 2rem;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.case-tab:hover { color: var(--white); }
.case-tab.active {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

.case-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.case-panel.active {
  display: block;
  opacity: 1;
}

/* ── CS-IMAGE-GRID — natural-format grid (no forced crop) ──── */
.cs-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 44px;
}

/* Images fill column width, retain natural height */
.cs-image-grid .ig-wrap {
  height: auto;
}
.cs-image-grid .ig-wrap img {
  width: 100%;
  height: auto;
  object-fit: unset;
}
/* Override ig-cover within this grid — no forced crop */
.cs-image-grid .ig-wrap.ig-cover img {
  object-fit: unset;
  height: auto;
}

/* 3 equal columns */
.cs-image-grid.layout-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* 2 items top, 3rd spans full width */
.cs-image-grid.layout-2-1 > *:nth-child(3) {
  grid-column: span 2;
}

/* 1st spans full width, then 2 columns */
.cs-image-grid.layout-1-2 > *:nth-child(1) {
  grid-column: span 2;
}

/* Packaging: 2 top + 1 centred smaller below */
.cs-image-grid.layout-packaging {
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 80%;
  margin: 44px auto 0;
}
.cs-image-grid.layout-packaging .ig-wrap:nth-child(3) {
  grid-column: 1 / -1;
}
.cs-image-grid.layout-packaging .ig-wrap:nth-child(3) img {
  width: 70%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Merchandise: align hat + tote by bottom edge */
.cs-image-grid.layout-merchandise {
  align-items: end;
  gap: 1.5rem;
}
.cs-image-grid.layout-merchandise .ig-wrap {
  height: auto;
}
.cs-image-grid.layout-merchandise .ig-wrap img {
  height: auto;
  object-fit: unset;
}

/* In-Market: 1 tall left + 2 stacked right — 10% narrower than full inner width */
.cs-inmarket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.inmarket-left {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.inmarket-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.inmarket-right img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  object-position: center;
  min-height: 0;
  display: block;
}

/* Packaging (2-item): gif centred top, photo full-width below */
.cs-image-grid.layout-packaging-2 {
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80%;
  margin: 44px auto 0;
}
.cs-image-grid.layout-packaging-2 .ig-wrap:first-child img {
  width: 70%;
  height: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}
.cs-image-grid.layout-packaging-2 .ig-wrap:last-child {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.cs-image-grid.layout-packaging-2 .ig-wrap:last-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Visual Identity: 2 images stacked full-width */
.cs-image-grid.layout-vi {
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80%;
  margin: 44px auto 0;
}

/* Packaging boxes — scale down ~12%, extra lateral breathing room */
.img-packaging-boxes {
  transform: scale(0.84);
  transform-origin: center;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Merchandise hat — proportionally smaller */
.img-hat {
  max-width: 65%;
  margin: 0 auto;
  display: block;
}


/* Fleet Navara — shift crop point upward (negative = moves content up) */
.img-navara {
  object-fit: cover;
  object-position: center -50px;
}

/* Fleet: 1st full-width, then 2 cols with fixed equal height */
.cs-image-grid.layout-fleet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cs-image-grid.layout-fleet img:nth-child(1) {
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  display: block;
}
.cs-image-grid.layout-fleet img:nth-child(2),
.cs-image-grid.layout-fleet img:nth-child(3) {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Campaigns ──────────────────────────────────────────────── */
.layout-campaigns {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 44px;
}

.campaigns-row-3 {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}
.campaigns-row-3 img {
  flex: 1;
  width: 0;
  min-height: 200px;
  object-fit: contain;
  display: block;
}
.campaigns-row-3 img:nth-child(2) { flex: 0.8601; }
.campaigns-row-3 img:nth-child(3) { flex: 1.0869; }

.campaigns-row-1 {
  display: flex;
  justify-content: center;
}
.campaigns-row-1 img {
  width: 60%;
  height: auto;
  object-fit: contain;
  display: block;
}

.campaigns-row-2 {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
}
.campaigns-row-2 img {
  flex: 1;
  width: 0;
  min-height: 200px;
  object-fit: contain;
  display: block;
}
.campaigns-row-2 img:nth-child(1) { flex: 1.44; }
.campaigns-row-2 img:nth-child(2) { flex: 3; }

/* ── Web — single image centred ────────────────────────────── */
.layout-web-single {
  margin-top: 44px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}
.layout-web-single img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 2px;
}

/* Role tag border fix in dark sections */
.cs-dark .cs-role-tag {
  border-top-color: rgba(255,255,255,0.09);
}

/* ── Activation ─────────────────────────────────────────────── */
.layout-activation {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 44px;
}

.activation-row-2 {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}
.activation-row-2 img {
  flex: 1;
  width: 0;
  min-height: 200px;
  object-fit: cover;
  display: block;
}

.activation-row-1 {
  display: flex;
  justify-content: center;
}
.activation-row-1 img {
  width: 82.5%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ── Archer & Co — Applications ────────────────────────────── */
.layout-applications {
  margin-top: 44px;
}

.layout-applications .ig-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.layout-applications .ig-row img {
  flex: 1;
  width: 0;
  min-height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .layout-applications .ig-row {
    flex-direction: column;
  }
  .layout-applications .ig-row img {
    width: 100%;
    min-height: 200px;
  }
}

/* Panel anchor — zero-height positioning element */
.panel-anchor {
  display: block;
  height: 0;
  visibility: hidden;
}

/* ── WOODFELLAS — Brand image grid ────────────────────────── */
.layout-woodfellas-brand {
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap, 12px);
}
.layout-woodfellas-brand .ig-row {
  display: flex;
  gap: var(--grid-gap, 12px);
  align-items: stretch;
}
.layout-woodfellas-brand .ig-row.row-hero img {
  flex: 1;
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.layout-woodfellas-brand .ig-row.row-split img {
  flex: 1;
  width: 0;
  min-height: 240px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* ── ESSENTIAL NUTRITION K9 — Brand materials grid ─────────── */
.layout-enk9-brand {
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap, 12px);
}
.layout-enk9-brand .ig-row {
  display: flex;
  gap: var(--grid-gap, 12px);
  align-items: stretch;
}
.layout-enk9-brand .ig-row img {
  flex: 1;
  width: 0;
  min-height: 320px;
  object-fit: contain;
  display: block;
}

/* ── ESSENTIAL NUTRITION K9 — Packaging grid ────────────────── */
.layout-enk9-packaging {
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap, 12px);
}
.layout-enk9-packaging .ig-row {
  display: flex;
  gap: var(--grid-gap, 12px);
  align-items: stretch;
}
.layout-enk9-packaging .ig-row .img-hero {
  flex: 2;
  min-height: 360px;
  object-fit: contain;
  display: block;
  width: 0;
}
.layout-enk9-packaging .ig-row .img-secondary {
  flex: 1;
  min-height: 360px;
  object-fit: cover;
  display: block;
  width: 0;
}

/* ── GROWTH BJJ — In Space grid ────────────────────────────── */
.layout-bjj-space {
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap, 12px);
}
.layout-bjj-space .ig-row {
  display: flex;
  gap: var(--grid-gap, 12px);
  align-items: stretch;
}
.layout-bjj-space .ig-row.row-hero .img-wide {
  flex: 2;
  width: 0;
  min-height: 380px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.layout-bjj-space .ig-row.row-hero .img-side {
  flex: 1;
  width: 0;
  min-height: 380px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.layout-bjj-space .ig-row.row-split img {
  flex: 1;
  width: 0;
  min-height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* ── Client note — apparel panel ────────────────────────────── */
.cs-client-note {
  font-size: 0.8rem;
  font-family: var(--font-body);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dark-border);
}
.cs-client-note strong {
  color: var(--mint);
  font-weight: 600;
}

/* ── SESSIONDOCK — Carousel grid ──────────────────────────── */
.layout-sessiondock-carousel {
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap, 12px);
}
.layout-sessiondock-carousel .ig-row {
  display: flex;
  gap: var(--grid-gap, 12px);
  align-items: stretch;
}
.layout-sessiondock-carousel .ig-row img {
  flex: 1;
  width: 0;
  min-height: 240px;
  object-fit: contain;
  display: block;
  background: var(--dark2, #1c1c1c);
  border-radius: 2px;
}

/* ── SESSIONDOCK — Demo screenshots grid ───────────────────── */
.layout-sessiondock-demo {
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap, 12px);
}
.layout-sessiondock-demo .ig-row {
  display: flex;
  gap: var(--grid-gap, 12px);
  align-items: stretch;
}
.layout-sessiondock-demo .ig-row img {
  flex: 1;
  width: 0;
  min-height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* ── SESSIONDOCK — Coming soon placeholder ─────────────────── */
.cs-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  gap: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  margin-top: 44px;
}
.cs-coming-soon-icon svg {
  width: 48px;
  height: 48px;
  stroke: #7ecfb3;
  fill: none;
}
.cs-coming-soon-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(250,249,247,0.40);
  text-align: center;
  line-height: 1.6;
}

/* ── SESSIONDOCK — CTA card grid ───────────────────────────── */
.cs-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 2rem;
}
.cs-cta-card {
  padding: 40px 32px;
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cs-cta-card-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7ecfb3;
}
.cs-cta-card-title {
  font-family: var(--font-title, 'Montserrat', sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}
.cs-cta-card-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #555550;
  line-height: 1.6;
  flex: 1;
}
.cs-cta-card-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #7ecfb3;
  color: #141414;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: opacity 0.2s ease;
  align-self: flex-start;
}
.cs-cta-card-btn:hover {
  opacity: 0.85;
}

@media (max-width: 640px) {
  .cs-cta-grid {
    grid-template-columns: 1fr;
  }
  .layout-sessiondock-carousel .ig-row,
  .layout-sessiondock-demo .ig-row {
    flex-direction: column;
  }
  .layout-sessiondock-carousel .ig-row img,
  .layout-sessiondock-demo .ig-row img {
    width: 100%;
    min-height: 180px;
  }
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .case-hero__content,
  .case-breadcrumb,
  .case-overview,
  .case-section,
  .case-related { padding-left: 48px; padding-right: 48px; }
}

@media (max-width: 900px) {
  .case-hero { height: 75vh; }
  .case-hero__content { padding: 0 32px; bottom: 48px; }
  .case-breadcrumb { padding: 12px 32px; }
  .case-overview { padding: 64px 32px; }
  .case-overview__inner { grid-template-columns: 1fr; gap: 40px; }
  .case-section { padding: 64px 32px; }
  .img-grid-3 { grid-template-columns: 1fr 1fr; }
  .img-grid-4 { grid-template-columns: 1fr 1fr; }
  .case-related { padding: 64px 32px; }
  .related-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 768px) {
  .cs-image-grid { gap: 1rem; }
  .cs-inmarket-grid { grid-template-columns: 1fr; }
  .inmarket-left { height: auto; }
  .inmarket-right img { flex: none; height: auto; }
  /* campaigns + activation: multi-image rows collapse to column */
  .campaigns-row-3,
  .campaigns-row-2,
  .activation-row-2 { flex-direction: column; }
  .campaigns-row-3 img,
  .campaigns-row-2 img,
  .activation-row-2 img { width: 100%; }
  .campaigns-row-1 img,
  .activation-row-1 img { width: 100%; }
}

@media (max-width: 600px) {
  .case-hero__content { padding: 0 20px; bottom: 36px; }
  .case-breadcrumb { padding: 12px 20px; }
  .case-overview,
  .case-section,
  .case-related { padding-left: 20px; padding-right: 20px; }
  .img-grid-3,
  .img-grid-2,
  .img-grid-4,
  .img-grid-hero-duo { grid-template-columns: 1fr; gap: 8px; }
  .img-grid-hero-duo .ig-hero { grid-column: 1; }
  .related-grid { grid-template-columns: 1fr; }
  /* cs-image-grid — single column on mobile */
  .cs-image-grid,
  .cs-image-grid.layout-3 { grid-template-columns: 1fr; }
  .cs-image-grid.layout-2-1 > *:nth-child(3),
  .cs-image-grid.layout-1-2 > *:nth-child(1) { grid-column: span 1; }
  /* layout-packaging — single column, 3rd no longer spans */
  .cs-image-grid.layout-packaging { grid-template-columns: 1fr; max-width: 100%; }
  .cs-image-grid.layout-packaging .ig-wrap:nth-child(3) { grid-column: span 1; }
  .cs-image-grid.layout-packaging .ig-wrap:nth-child(3) img { width: 80%; }
  /* layout-inmarket — covered by 768px breakpoint */
  /* layout-fleet — single column, fixed heights reduced */
  .cs-image-grid.layout-fleet { grid-template-columns: 1fr; }
  .cs-image-grid.layout-fleet img:nth-child(2),
  .cs-image-grid.layout-fleet img:nth-child(3) { height: 220px; }
  /* layout-campaigns + layout-activation handled in 768px block above */
  /* layout-woodfellas-brand — single column on mobile */
  .layout-woodfellas-brand .ig-row { flex-direction: column; }
  .layout-woodfellas-brand .ig-row.row-hero img,
  .layout-woodfellas-brand .ig-row.row-split img { min-height: 200px; width: 100%; }
}

/* ── SESSIONDOCK — HERO VISUAL ─────────────────────────────── */
.cs-hero-visual {
  text-align: center;
}
.cs-hero-visual img {
  max-width: 100%;
  max-height: 520px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* ── IMAGE + TEXT SPLIT LAYOUT ─────────────────────────────── */
.cs-image-text {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  align-items: center;
}
.cs-image-text--reverse {
  grid-template-columns: 3fr 2fr;
}
.cs-image-text--reverse .cs-image-text__img { order: -1; }

.cs-image-text__text { max-width: 480px; }
.cs-image-text__text .cs-body { margin-top: 0; }
.cs-image-text__text .cs-body + .cs-body { margin-top: 16px; }

.cs-image-text__img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

@media (max-width: 900px) {
  .cs-image-text,
  .cs-image-text--reverse { grid-template-columns: 1fr; gap: 36px; }
  .cs-image-text--reverse .cs-image-text__img { order: 0; }
  .cs-image-text__img img { height: 280px; }
}

/* ── STATS ROW ──────────────────────────────────────────────── */
.cs-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}
.cs-stat {
  padding: 40px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cs-stat:last-child { border-right: none; }
.cs-stat__value {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #7ecfb3;
  line-height: 1;
}
.cs-stat__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(250,249,247,0.45);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .cs-stats-row { grid-template-columns: repeat(2, 1fr); }
  .cs-stat:nth-child(2) { border-right: none; }
  .cs-stat:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); }
  .cs-stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.08); border-right: none; }
}

@media (max-width: 600px) {
  .cs-stats-row { grid-template-columns: 1fr; }
  .cs-stat { border-right: none; border-top: 1px solid rgba(255,255,255,0.08); }
  .cs-stat:first-child { border-top: none; }
}

/* ── DEMO VIDEO BLOCKS ──────────────────────────────────────── */
.cs-demo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0 auto;
}
.cs-demo-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7ecfb3;
}
.cs-demo-video {
  width: 100%;
  border-radius: 8px;
  display: block;
  cursor: pointer;
  mix-blend-mode: multiply;
}

/* Side-by-side mobile + tablet */
.cs-demo-duo {
  display: flex;
  gap: 64px;
  align-items: flex-end;
  justify-content: center;
}
.cs-demo-duo .cs-demo-block {
  flex: 1;
  max-width: 420px;
}
.cs-demo-duo .cs-demo-video {
  height: 600px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .cs-demo-duo { flex-direction: column; align-items: center; gap: 48px; }
  .cs-demo-duo .cs-demo-video { height: auto; width: 100%; max-width: 320px; }
}
.cs-demo-caption {
  font-size: 0.85rem;
  color: #888882;
  text-align: center;
  max-width: 480px;
  line-height: 1.6;
}
.cs-light .cs-demo-caption { color: #888882; }
.cs-dark  .cs-demo-caption { color: rgba(250,249,247,0.38); }

/* ── GET STARTED — CTA SECONDARY + FOOTNOTE ────────────────── */
.cs-cta-secondary {
  display: inline-block;
  margin-top: 16px;
  color: #7ecfb3;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: text-decoration 0.2s;
}
.cs-cta-secondary:hover { text-decoration: underline; }

.cs-footnote {
  margin-top: 40px;
  font-size: 0.75rem;
  color: rgba(250,249,247,0.28);
  text-align: center;
  letter-spacing: 0.04em;
}
