/* ============================================================
   CASE STUDY  —  /case-studies/{slug}
   Editorial layout: hero → KPI strip → article (with spine + tombstone rail)
   → related cases → newsletter.
============================================================ */

body { background: #fff; color: var(--navy); font-family: var(--font-sans); }

/* ------------------------------------------------------------
   READING PROGRESS (top of viewport, gold)
------------------------------------------------------------ */
.cs-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 9999;
  pointer-events: none;
}
.cs-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, #b8966e, #d6b88e);
  box-shadow: 0 0 12px rgba(184,150,110,0.45);
  transition: width 0.05s linear;
}


/* ------------------------------------------------------------
   1. HERO
------------------------------------------------------------ */
.cs-hero {
  position: relative;
  min-height: clamp(520px, 80vh, 700px);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: #0b1e3d;
}
.cs-hero__bg { position: absolute; inset: 0; margin: 0; z-index: 0; }
.cs-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: csDrift 28s ease-in-out infinite alternate;
}
@keyframes csDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.10) translate3d(-1.5%, -1%, 0); }
}
.cs-hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(184,150,110,0.22), transparent 55%),
    linear-gradient(180deg, rgba(11,30,61,0.50) 0%, rgba(11,30,61,0.18) 35%, rgba(11,30,61,0.78) 100%),
    linear-gradient(90deg, rgba(11,30,61,0.6) 0%, rgba(11,30,61,0.10) 60%, rgba(11,30,61,0) 100%);
}
.cs-hero__inner {
  position: relative; z-index: 1;
  min-height: inherit;
  max-width: 1380px; margin: 0 auto;
  padding: clamp(140px, 16vw, 200px) clamp(20px, 5vw, 80px) clamp(48px, 6vw, 80px);
  display: flex; flex-direction: column; justify-content: flex-end;
}

.cs-crumb {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.78rem; font-weight: 500;
  color: rgba(255,255,255,0.62);
  margin-bottom: clamp(20px, 2.5vw, 32px);
}
.cs-crumb a { color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.3s ease; }
.cs-crumb a:hover { color: var(--gold); }
.cs-crumb span[aria-hidden] { color: rgba(255,255,255,0.32); }

/* Tombstone strip — sector / engagement / period */
.cs-tomb {
  display: inline-flex; align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(184,150,110,0.10);
  border: 1px solid rgba(184,150,110,0.45);
  backdrop-filter: blur(4px);
  font-family: var(--font-sans);
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  width: max-content;
  max-width: 100%;
}
.cs-tomb__sector  { color: var(--gold); }
.cs-tomb__sep {
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.32);
  border-radius: 999px;
}

.cs-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.024em;
  color: #fff;
  text-wrap: balance;
  margin: 0 0 26px;
  max-width: 24ch;
}

.cs-outcome {
  position: relative;
  display: inline-flex; align-items: flex-start; flex-wrap: wrap;
  gap: 10px 14px;
  padding: 14px 22px;
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(4px);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  margin: 0;
  max-width: 60ch;
  border-radius: 0 12px 12px 0;
}
.cs-outcome__lab {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.3em;
}


/* ------------------------------------------------------------
   2. KPI STRIP  —  immediately under the hero
------------------------------------------------------------ */
.cs-kpis {
  background: #fff;
  padding: 0 clamp(20px, 5vw, 80px);
  /* Pull the strip up so it sits half over the hero edge */
  margin-top: -56px;
  position: relative;
  z-index: 5;
}
.cs-kpis__grid {
  max-width: 1380px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(11,30,61,0.10);
  border: 1px solid rgba(11,30,61,0.10);
  border-radius: 18px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 28px 60px -28px rgba(11,30,61,0.30);
}
@media (max-width: 760px) { .cs-kpis__grid { grid-template-columns: repeat(2, 1fr); } }

.cs-kpi {
  background: #fff;
  padding: clamp(22px, 2.4vw, 32px);
  display: flex; flex-direction: column; gap: 6px;
  transition: background 0.4s ease;
}
.cs-kpi:hover { background: #f7f5f0; }
.cs-kpi__num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.cs-kpi__num em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.55em;
  color: var(--gold);
  margin-left: 4px;
  letter-spacing: 0;
}
.cs-kpi__lab {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: rgba(11,30,61,0.6);
  line-height: 1.4;
}


/* ------------------------------------------------------------
   3. BODY  —  spine | article | rail
------------------------------------------------------------ */
.cs-body {
  background: #fff;
  padding: clamp(60px, 7vw, 100px) clamp(20px, 5vw, 80px) clamp(60px, 7vw, 110px);
}
.cs-body__wrap {
  max-width: 1380px; margin: 0 auto;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 320px;
  gap: clamp(20px, 2.5vw, 48px);
  align-items: start;
}

/* SPINE  —  vertical line + dotted phase markers
   Anchored to the LEFT of the spine column so labels have
   the rest of the 180px to breathe. */
.cs-spine {
  position: sticky;
  top: 100px;
  height: clamp(420px, 70vh, 620px);
  display: block;
  width: 100%;
  padding-left: 6px;
}
.cs-spine__line {
  position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 1px;
  background: rgba(11,30,61,0.14);
}
.cs-spine__fill {
  position: absolute;
  left: 12px; top: 0;
  width: 1px; height: 0%;
  background: linear-gradient(180deg, var(--gold), #d6b88e);
  transition: height 0.18s ease;
  box-shadow: 0 0 8px rgba(184,150,110,0.45);
}
.cs-spine__list {
  position: relative;
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  z-index: 1;
}
.cs-spine__list li {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 0 0 28px;
  min-height: 18px;
}
.cs-spine__list li::before {
  content: "";
  position: absolute;
  left: 7px; top: 50%;
  width: 11px; height: 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(11,30,61,0.25);
  transform: translateY(-50%);
  z-index: 2;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.cs-spine__list a {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(11,30,61,0.5);
  text-decoration: none;
  transition: color 0.3s ease, padding 0.35s ease;
  line-height: 1.3;
}
.cs-spine__list a:hover { color: var(--navy); padding-left: 4px; }
.cs-spine__list li.is-active::before {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.3);
  box-shadow: 0 0 0 4px rgba(184,150,110,0.18);
}
.cs-spine__list li.is-active a { color: var(--navy); font-weight: 500; }

@media (max-width: 1200px) {
  .cs-body__wrap { grid-template-columns: 140px minmax(0, 1fr) 300px; gap: 24px; }
  .cs-spine__list a { font-size: 0.66rem; }
}
@media (max-width: 1100px) {
  .cs-body__wrap { grid-template-columns: minmax(0, 1fr); }
  .cs-spine { display: none; }
}


/* ARTICLE */
.cs-article {
  min-width: 0;
  max-width: 68ch;
  font-family: var(--font-sans);
}
.cs-section {
  margin: 0 0 clamp(40px, 4vw, 64px);
  scroll-margin-top: 100px;
}
.cs-section p {
  font-size: 1.04rem;
  line-height: 1.78;
  color: rgba(11,30,61,0.82);
  margin: 0 0 1.05em;
}
.cs-section p strong { color: var(--navy); font-weight: 600; }
.cs-section p em { color: var(--navy); font-style: italic; }

.cs-h2-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.86rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.cs-h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--navy);
  margin: 0 0 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(11,30,61,0.08);
}
.cs-h2--small { font-size: clamp(1.1rem, 1.4vw, 1.3rem); padding-top: 0; border-top: 0; margin-bottom: 16px; }

.cs-lede {
  font-size: 1.16rem !important;
  line-height: 1.65 !important;
  color: var(--navy) !important;
  margin: 0 0 1.05em !important;
}
.cs-dropcap {
  float: left;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(4rem, 6.4vw, 5.4rem);
  line-height: 0.85;
  color: var(--gold);
  margin: 0.04em 0.12em -0.06em 0;
  padding-right: 0.04em;
  letter-spacing: -0.04em;
}


/* INLINE FIGURES — break up the prose with editorial imagery */
.cs-figure {
  margin: clamp(36px, 4vw, 56px) 0;
  display: block;
}
.cs-figure__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #ececea;
  box-shadow: 0 18px 36px -22px rgba(11,30,61,0.25);
}
.cs-figure__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.16,1,0.3,1);
}
.cs-figure:hover .cs-figure__media img { transform: scale(1.04); }

.cs-figure__cap {
  display: flex; align-items: center; gap: 12px;
  margin-top: 14px;
  padding: 0 4px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(11,30,61,0.6);
}
.cs-figure__cap em {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--navy);
}
.cs-figure__lab {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(184,150,110,0.12);
  border: 1px solid rgba(184,150,110,0.45);
  font-family: var(--font-sans);
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
}

/* SPLIT VARIANT — image left, partner-card right */
.cs-figure--split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #f7f5f0;
  border: 1px solid rgba(11,30,61,0.06);
  box-shadow: 0 18px 36px -22px rgba(11,30,61,0.25);
}
.cs-figure--split .cs-figure__media {
  border-radius: 0;
  aspect-ratio: auto;
  height: 100%;
  min-height: 260px;
  box-shadow: none;
}
.cs-figure--split .cs-figure__cap {
  padding: clamp(22px, 2.4vw, 30px);
  margin: 0;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 8px;
}
.cs-figure__partner {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  letter-spacing: -0.005em;
  color: var(--navy);
  margin-top: 4px;
}
.cs-figure__partner-role {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(11,30,61,0.6);
}
.cs-figure__partner-note {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(11,30,61,0.72);
  margin: 8px 0 0;
}

@media (max-width: 700px) {
  .cs-figure--split { grid-template-columns: 1fr; }
  .cs-figure--split .cs-figure__media { aspect-ratio: 16 / 10; min-height: 0; }
}


/* PHASES */
.cs-phases {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px;
  counter-reset: cs-phase;
}
.cs-phase {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: clamp(14px, 1.6vw, 22px);
  padding: clamp(18px, 2vw, 24px);
  border-radius: 14px;
  background: #f7f5f0;
  border: 1px solid rgba(11,30,61,0.05);
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}
.cs-phase:hover {
  background: #fff;
  border-color: rgba(184,150,110,0.45);
  transform: translateY(-2px);
}
.cs-phase__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
  align-self: start;
  padding-top: 4px;
}
.cs-phase__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin: 0 0 6px;
}
.cs-phase__desc {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(11,30,61,0.72);
  margin: 0;
}


/* PULL QUOTE */
.cs-pullquote {
  position: relative;
  margin: 0;
  padding: clamp(28px, 3vw, 44px) clamp(28px, 4vw, 56px);
  background: linear-gradient(160deg, #0b1e3d 0%, #14305b 100%);
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
}
.cs-pullquote::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 100% 0%, rgba(184,150,110,0.30), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.cs-pullquote > * { position: relative; z-index: 1; }
.cs-pullquote__mark {
  position: absolute;
  top: -14px; right: 24px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(6rem, 9vw, 9rem);
  line-height: 1;
  color: rgba(184,150,110,0.30);
  pointer-events: none;
}
.cs-pullquote blockquote {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: #fff;
  max-width: 28ch;
}
.cs-pullquote figcaption {
  display: flex; flex-direction: column;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.cs-pullquote figcaption strong { color: #fff; font-weight: 600; font-size: 0.92rem; }
.cs-pullquote figcaption em { color: var(--gold); font-style: normal; }


/* METRICS BEFORE / AFTER */
.cs-metrics {
  display: grid; gap: 14px;
}
.cs-metric {
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: 14px;
  background: #f7f5f0;
  border: 1px solid rgba(11,30,61,0.05);
  display: grid; gap: 12px;
}
.cs-metric__lab {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
}
.cs-metric__row {
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  gap: 14px;
  align-items: center;
}
@media (max-width: 600px) { .cs-metric__row { grid-template-columns: 1fr; } }

.cs-metric__before, .cs-metric__after {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.18;
  letter-spacing: -0.005em;
  padding: 14px 18px;
  border-radius: 10px;
}
.cs-metric__before {
  color: rgba(11,30,61,0.55);
  background: #fff;
  border: 1px solid rgba(11,30,61,0.08);
  text-decoration: line-through;
  text-decoration-color: rgba(11,30,61,0.22);
  text-decoration-thickness: 1px;
}
.cs-metric__after {
  color: #fff;
  background: linear-gradient(135deg, #0b1e3d 0%, #14305b 100%);
}
.cs-metric__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--gold);
  color: #0b1e3d;
  flex-shrink: 0;
  justify-self: center;
}
.cs-metric__arrow svg { width: 12px; height: 9px; }


/* SERVICES USED */
.cs-services__pills {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.cs-services__pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(11,30,61,0.12);
  font-family: var(--font-sans);
  font-size: 0.82rem; font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, gap 0.3s ease, transform 0.3s ease;
}
.cs-services__pill svg { color: rgba(11,30,61,0.4); width: 11px; height: 11px; transition: color 0.3s ease; }
.cs-services__pill:hover {
  background: var(--navy); color: #fff; border-color: var(--navy);
  gap: 12px; transform: translateY(-2px);
}
.cs-services__pill:hover svg { color: var(--gold); }


/* RAIL  —  tombstone */
.cs-rail {
  position: sticky;
  top: 100px;
  display: flex; flex-direction: column;
  gap: clamp(16px, 1.8vw, 22px);
  align-self: start;
}
@media (max-width: 1100px) { .cs-rail { position: static; } }

.cs-rail__card {
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: 16px;
  background: #f7f5f0;
  border: 1px solid rgba(11,30,61,0.06);
}
.cs-rail__lab {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(184,150,110,0.45);
  width: 100%;
}
.cs-rail__lab--soft {
  color: rgba(11,30,61,0.5);
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 4px;
}
.cs-rail__dl {
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.cs-rail__dl > div {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(11,30,61,0.10);
}
.cs-rail__dl > div:last-child { border-bottom: 0; }
.cs-rail__dl dt {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: rgba(11,30,61,0.55);
}
.cs-rail__dl dd {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: var(--navy);
  font-weight: 500;
  text-align: right;
}

.cs-rail__partner {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(11,30,61,0.10);
  display: flex; flex-direction: column;
  gap: 2px;
}
.cs-rail__partner-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: -0.005em;
  color: var(--navy);
}
.cs-rail__partner-role {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(11,30,61,0.62);
}

/* CTA card on the rail */
.cs-rail__cta {
  position: relative;
  padding: clamp(22px, 2.4vw, 28px);
  border-radius: 16px;
  background: linear-gradient(165deg, #0b1e3d 0%, #14305b 100%);
  color: #fff;
  overflow: hidden;
}
.cs-rail__cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(184,150,110,0.28), transparent 55%);
  pointer-events: none;
}
.cs-rail__cta-chip {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(184,150,110,0.55);
  border-radius: 999px;
  background: rgba(184,150,110,0.12);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.cs-rail__cta-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,110,0.18);
  animation: csDot 1.6s ease-in-out infinite;
}
@keyframes csDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(184,150,110,0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(184,150,110,0.05); }
}
.cs-rail__cta-title {
  position: relative;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.22;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.cs-rail__cta-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  background: var(--gold);
  color: #0b1e3d;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.84rem; font-weight: 500;
  text-decoration: none;
  transition: background 0.35s ease, gap 0.35s ease;
}
.cs-rail__cta-btn svg { width: 12px; height: 9px; }
.cs-rail__cta-btn:hover { background: #cba883; gap: 14px; }


/* ------------------------------------------------------------
   4. RELATED CASE STUDIES
------------------------------------------------------------ */
.cs-related {
  background: #f7f5f0;
  padding: clamp(60px, 7vw, 110px) clamp(20px, 5vw, 80px);
}
.cs-related__head {
  max-width: 1280px; margin: 0 auto clamp(28px, 3vw, 44px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
}
.cs-related__lab {
  grid-column: 1 / -1;
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(184,150,110,0.45);
  width: max-content;
}
.cs-related__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0;
}
.cs-related__title em { font-style: italic; font-weight: 400; color: var(--gold); }
.cs-related__all {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border: 1px solid rgba(11,30,61,0.18);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-sans);
  font-size: 0.84rem; font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.35s ease, color 0.35s ease, gap 0.35s ease;
}
.cs-related__all svg { width: 13px; height: 10px; }
.cs-related__all:hover { background: var(--navy); color: #fff; gap: 14px; }

.cs-related__grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
@media (max-width: 1100px) { .cs-related__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .cs-related__grid { grid-template-columns: 1fr; } }

.cs-rcard {
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(11,30,61,0.05);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease;
}
.cs-rcard:hover {
  transform: translateY(-4px);
  border-color: rgba(184,150,110,0.55);
  box-shadow: 0 24px 48px -22px rgba(11,30,61,0.30), 0 0 0 4px rgba(184,150,110,0.10);
}
.cs-rcard__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ececea;
}
.cs-rcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(0.16,1,0.3,1); }
.cs-rcard:hover .cs-rcard__media img { transform: scale(1.06); }
.cs-rcard__sector {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  font-family: var(--font-sans);
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy);
}
.cs-rcard__copy { padding: clamp(20px, 2vw, 26px); display: flex; flex-direction: column; gap: 10px; }
.cs-rcard__eng {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}
.cs-rcard__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  line-height: 1.22;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: balance;
}
.cs-rcard__cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 0.78rem; font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  transition: gap 0.3s ease;
}
.cs-rcard__cta svg { width: 12px; height: 10px; }
.cs-rcard:hover .cs-rcard__cta { gap: 12px; }
