/*
 * FM Digital Solutions — Find My Creator Case Study Styles
 * Accent: --orange (#F97316)
 * Depends on: tokens.css, global.css
 */

/* ── Case study nav override ── */
.cs-nav-back {
  display:         flex;
  align-items:     center;
  gap:             6px;
  font-family:     var(--font-mono);
  font-size:       11px;
  font-weight:     600;
  letter-spacing:  .06em;
  text-transform:  uppercase;
  color:           var(--fg-subtle);
  text-decoration: none;
  transition:      color .15s;
}
.cs-nav-back:hover { color: var(--fg-muted); }
.cs-nav-back svg   { width: 14px; height: 14px; }

/* ── Progress bar (orange) ── */
.prog-fmc { background: linear-gradient(90deg, var(--orange), var(--lime)); }

/* ── Hero ── */
.cs-hero {
  padding-top:    calc(var(--nav-h) + 5.5rem);
  padding-bottom: 5rem;
  position:       relative;
  overflow:       hidden;
  border-bottom:  1px solid var(--border);
}
.cs-hero-glow {
  position:       absolute;
  top:            -80px;
  right:          -120px;
  width:          700px;
  height:         700px;
  background:     radial-gradient(ellipse, rgba(249,115,22,.09) 0%, transparent 60%);
  pointer-events: none;
}
.cs-eyebrow {
  display:        flex;
  align-items:    center;
  gap:            10px;
  margin-bottom:  1.75rem;
  flex-wrap:      wrap;
}
.cs-tag {
  font-family:    var(--font-mono);
  font-size:      10.5px;
  font-weight:    600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding:        .25rem .7rem;
  border-radius:  20px;
  display:        inline-flex;
  align-items:    center;
}
.cs-tag-orange  { background: rgba(249,115,22,.12); color: var(--orange); border: 1px solid rgba(249,115,22,.25); }
.cs-tag-purple  { background: rgba(107,61,150,.15); color: var(--purple-light); border: 1px solid rgba(107,61,150,.3); }
.cs-tag-muted   { background: var(--surface-3); color: var(--fg-subtle); border: 1px solid var(--border); }

.cs-hero-layout {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   5rem;
  align-items:           start;
}
@media (max-width: 900px) { .cs-hero-layout { grid-template-columns: 1fr; gap: 3rem; } }

.cs-h1 {
  font-family:    var(--font-head);
  font-weight:    800;
  font-size:      clamp(3.5rem, 9vw, 7rem);
  line-height:    .95;
  letter-spacing: -.05em;
  color:          #fff;
  margin-bottom:  1rem;
}
.cs-h1 em { font-style: normal; color: var(--orange); }
.cs-hero-sub {
  font-size:     1.05rem;
  color:         var(--fg-muted);
  line-height:   1.7;
  max-width:     46ch;
  margin-bottom: 2rem;
}
.cs-stack-row  { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 2rem; }
.cs-stag {
  font-family:    var(--font-mono);
  font-size:      10px;
  font-weight:    600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background:     var(--surface-2);
  border:         1px solid var(--border);
  color:          var(--fg-subtle);
  padding:        .2rem .6rem;
  border-radius:  4px;
}
.cs-hero-links { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }

/* ── Pipeline visual (hero right) ── */
.pipeline-wrap {
  background:    var(--surface);
  border:        1px solid var(--border);
  border-radius: 12px;
  overflow:      hidden;
}
.pipeline-header {
  padding:        1rem 1.25rem;
  border-bottom:  1px solid var(--border);
  display:        flex;
  align-items:    center;
  justify-content: space-between;
}
.pipeline-header-label {
  font-family:    var(--font-mono);
  font-size:      10px;
  font-weight:    600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color:          var(--fg-subtle);
}
.pipeline-dots { display: flex; gap: 5px; }
.pipeline-dot  { width: 8px; height: 8px; border-radius: 50%; }
.pd-live       { background: var(--orange); }
.pd-review     { background: var(--lime); }
.pd-paid       { background: var(--cyan); }
.pd-draft      { background: var(--fg-subtle); }

.pipeline-body  { display: flex; flex-direction: column; gap: 0; }
.pipeline-stage {
  padding:       .75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display:       flex;
  align-items:   center;
  justify-content: space-between;
  gap:           1rem;
}
.pipeline-stage:last-child { border-bottom: none; }

.ps-label {
  font-family:    var(--font-mono);
  font-size:      9px;
  font-weight:    600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color:          var(--fg-subtle);
  min-width:      60px;
}
.ps-bar-wrap { flex: 1; height: 6px; background: var(--surface-3); border-radius: 3px; overflow: hidden; }
.ps-bar      { height: 100%; border-radius: 3px; }
.ps-live   .ps-bar { width: 72%; background: var(--orange); }
.ps-review .ps-bar { width: 45%; background: var(--lime); }
.ps-paid   .ps-bar { width: 28%; background: var(--cyan); }
.ps-draft  .ps-bar { width: 60%; background: var(--fg-subtle); }

.ps-count {
  font-family:    var(--font-head);
  font-weight:    800;
  font-size:      .85rem;
  color:          #fff;
  min-width:      30px;
  text-align:     right;
}
.pipeline-footer {
  padding:     .75rem 1.25rem;
  border-top:  1px solid var(--border);
  background:  var(--surface-2);
  display:     flex;
  align-items: center;
  gap:         .5rem;
}
.pipeline-footer-label {
  font-family:    var(--font-mono);
  font-size:      9px;
  font-weight:    600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color:          var(--orange);
}
.pipeline-beta-badge {
  font-family:    var(--font-mono);
  font-size:      8px;
  font-weight:    600;
  letter-spacing: .07em;
  text-transform: uppercase;
  background:     rgba(249,115,22,.15);
  color:          var(--orange);
  border:         1px solid rgba(249,115,22,.3);
  padding:        2px 6px;
  border-radius:  3px;
  margin-left:    auto;
}

/* ── Stat band ── */
.stat-band-fmc {
  background:    var(--surface);
  border-top:    1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-band-inner {
  display:         flex;
  align-items:     stretch;
  overflow-x:      auto;
  scrollbar-width: none;
}
.stat-band-inner::-webkit-scrollbar { display: none; }
.sb-cell {
  flex:           1;
  min-width:      140px;
  padding:        1.5rem 2.5rem;
  display:        flex;
  flex-direction: column;
  gap:            5px;
}
.sb-cell + .sb-cell { border-left: 1px solid var(--border); }
.sb-num {
  font-family:        var(--font-head);
  font-weight:        800;
  font-size:          clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing:     -.04em;
  line-height:        1;
  color:              #fff;
  font-variant-numeric: tabular-nums;
}
.sb-orange { color: var(--orange); }
.sb-lime   { color: var(--lime); }
.sb-cyan   { color: var(--cyan); }
.sb-lbl {
  font-family:    var(--font-mono);
  font-size:      10px;
  font-weight:    600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color:          var(--fg-subtle);
}

/* ── Sections ── */
.cs-section { padding-block: 5.5rem; border-top: 1px solid var(--border); }
.cs-slabel {
  font-family:    var(--font-mono);
  font-size:      10.5px;
  font-weight:    600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color:          var(--fg-subtle);
  display:        flex;
  align-items:    center;
  gap:            10px;
  margin-bottom:  2.5rem;
}
.cs-slabel::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.cs-sn { color: var(--orange); margin-right: 4px; }
.cs-h2 {
  font-family:    var(--font-head);
  font-weight:    800;
  font-size:      clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -.04em;
  line-height:    1.05;
  color:          #fff;
  text-wrap:      balance;
}

/* ── Two-col layout ── */
.cs-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
@media (max-width: 800px) { .cs-two-col { grid-template-columns: 1fr; gap: 2.5rem; } }
.cs-lead-p { color: var(--fg-muted); line-height: 1.75; margin-top: 1rem; max-width: 50ch; }

/* ── Pain list ── */
.pain-list { display: flex; flex-direction: column; gap: .6rem; }
.pain-item {
  display:      flex;
  align-items:  flex-start;
  gap:          .75rem;
  background:   var(--surface);
  border:       1px solid var(--border);
  border-radius: 8px;
  padding:      .9rem 1.1rem;
}
.pain-dot {
  width:       6px;
  height:      6px;
  border-radius: 50%;
  background:  rgba(255,80,80,.6);
  flex-shrink: 0;
  margin-top:  7px;
}
.pain-item strong { color: var(--fg); font-weight: 600; display: block; margin-bottom: 2px; font-size: .875rem; }
.pain-item p      { font-size: .875rem; color: var(--fg-muted); line-height: 1.5; }

/* ── Feature marquee ── */
.marquee-wrap {
  display:        flex;
  flex-direction: column;
  gap:            1rem;
  overflow:       hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image:     linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-row { display: flex; }
.m-inner {
  display:   flex;
  gap:       1rem;
  animation: mq-fwd 30s linear infinite;
}
.marquee-row.rev .m-inner { animation: mq-rev 30s linear infinite; }
.marquee-wrap:hover .m-inner { animation-play-state: paused; }
@keyframes mq-fwd { 0% { transform: translateX(0); }    100% { transform: translateX(-50%); } }
@keyframes mq-rev { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.f-card {
  flex-shrink:  0;
  width:        320px;
  background:   var(--surface);
  border:       1px solid var(--border);
  border-radius: 10px;
  padding:      1.5rem;
  position:     relative;
  overflow:     hidden;
}
@media (max-width: 640px) { .f-card { width: 260px; } }
.f-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.fc-o::before   { background: var(--orange); }
.fc-p::before   { background: var(--purple); }
.fc-c::before   { background: var(--cyan); }
.fc-g::before   { background: var(--lime); }
.f-card h3      { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: #fff; margin-bottom: .5rem; letter-spacing: -.01em; }
.f-card p       { font-size: .875rem; color: var(--fg-muted); line-height: 1.6; }
.fc-mono {
  font-family:    var(--font-mono);
  font-size:      9px;
  font-weight:    600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color:          var(--fg-subtle);
  margin-bottom:  .6rem;
}

/* ── Portal grid (architecture) ── */
.portal-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   1.5rem;
  margin-top:            2rem;
}
@media (max-width: 700px) { .portal-grid { grid-template-columns: 1fr; } }
.portal-card {
  background:    var(--surface);
  border:        1px solid var(--border);
  border-radius: 10px;
  overflow:      hidden;
}
.portal-header {
  padding:       1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display:       flex;
  align-items:   center;
  justify-content: space-between;
}
.portal-title {
  font-family:    var(--font-head);
  font-weight:    700;
  font-size:      .85rem;
  color:          #fff;
  letter-spacing: -.01em;
}
.portal-badge-orange { font-family: var(--font-mono); font-size: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; background: rgba(249,115,22,.15); color: var(--orange); border: 1px solid rgba(249,115,22,.25); padding: 2px 6px; border-radius: 3px; }
.portal-badge-cyan   { font-family: var(--font-mono); font-size: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; background: rgba(71,214,255,.1); color: var(--cyan); border: 1px solid rgba(71,214,255,.2); padding: 2px 6px; border-radius: 3px; }
.portal-body  { padding: 1.25rem; display: flex; flex-direction: column; gap: .6rem; }
.portal-row   { display: flex; align-items: center; justify-content: space-between; }
.portal-lbl   { font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-subtle); }
.portal-val   { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: #fff; }
.portal-stat-row {
  display:       flex;
  gap:           1rem;
  padding-top:   .75rem;
  border-top:    1px solid var(--border);
  margin-top:    .25rem;
}
.portal-stat      { display: flex; flex-direction: column; gap: 2px; }
.portal-stat-num  { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.portal-stat-lbl  { font-family: var(--font-mono); font-size: 8px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-subtle); }

/* ── Ticker (results) ── */
.ticker-outer { overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); margin-top: 2rem; }
.ticker-track {
  display:   flex;
  animation: ticker-fwd 18s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-fwd { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.t-item {
  flex-shrink:   0;
  padding:       .9rem 1.75rem;
  border-right:  1px solid var(--border);
  display:       flex;
  flex-direction: column;
  gap:           3px;
}
.t-num {
  font-family:        var(--font-head);
  font-weight:        800;
  font-size:          1.4rem;
  letter-spacing:     -.04em;
  color:              #fff;
  white-space:        nowrap;
  font-variant-numeric: tabular-nums;
}
.t-o { color: var(--orange); }
.t-c { color: var(--cyan); }
.t-l { color: var(--lime); }
.t-p { color: var(--purple-light); }
.t-lbl { font-family: var(--font-mono); font-size: 8.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--fg-subtle); white-space: nowrap; }

/* ── KPI grid ── */
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.kpi-card {
  background:    var(--surface);
  border:        1px solid var(--border);
  border-radius: 8px;
  padding:       1.25rem;
  position:      relative;
  overflow:      hidden;
}
.kpi-card::after  { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; }
.kpi-o::after { background: var(--orange); }
.kpi-c::after { background: var(--cyan); }
.kpi-l::after { background: var(--lime); }
.kpi-p::after { background: var(--purple); }
.kpi-num {
  font-family:        var(--font-head);
  font-weight:        800;
  font-size:          2rem;
  letter-spacing:     -.04em;
  color:              #fff;
  line-height:        1;
  font-variant-numeric: tabular-nums;
}
.kpi-num-o { color: var(--orange); }
.kpi-num-c { color: var(--cyan); }
.kpi-num-l { color: var(--lime); }
.kpi-num-p { color: var(--purple-light); }
.kpi-lbl {
  font-family:    var(--font-mono);
  font-size:      9px;
  font-weight:    600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color:          var(--fg-subtle);
  margin-top:     4px;
}

/* ── Results layout ── */
.cs-results-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
@media (max-width: 800px) { .cs-results-layout { grid-template-columns: 1fr; gap: 3rem; } }
.cs-results-text p { color: var(--fg-muted); line-height: 1.75; margin-top: 1rem; max-width: 46ch; }

/* ── CTA ── */
.cs-cta {
  padding-block: 6rem;
  text-align:    center;
  border-top:    1px solid var(--border);
}
.cs-cta-h2 {
  font-family:    var(--font-head);
  font-weight:    800;
  font-size:      clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -.03em;
  color:          #fff;
  text-wrap:      balance;
  margin-bottom:  1rem;
}
.cs-cta-sub {
  color:       var(--fg-muted);
  font-size:   1.05rem;
  max-width:   38ch;
  margin:      0 auto 2rem;
  line-height: 1.65;
}
.cs-cta-actions {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             .75rem;
  flex-wrap:       wrap;
}

/* btn-orange variant */
.btn-orange {
  display:         inline-flex;
  align-items:     center;
  gap:             6px;
  background:      var(--orange);
  color:           #fff;
  font-family:     var(--font-head);
  font-size:       13.5px;
  font-weight:     700;
  letter-spacing:  -.01em;
  text-decoration: none;
  padding:         0 1.75rem;
  height:          48px;
  border-radius:   6px;
  transition:      background .15s;
}
.btn-orange:hover { background: #ea6d0a; }


/* ── Hero: smaller headline, text left, one big image right at matching height ── */
.cs-hero-layout { align-items: center; gap: 3rem; }
.cs-h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
.cs-hero-sub { font-size: .95rem; line-height: 1.65; margin-bottom: 1.5rem; }
.cs-stack-row { list-style: none; padding: 0; margin-top: 0; margin-bottom: 1.5rem; }
.cs-stag::before, .cs-stag::after { content: none; }
.cs-hero-media {
  aspect-ratio: 16 / 10; width: 100%; min-width: 0;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  background: var(--surface-2);
}
.cs-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-hero-media-empty { background: repeating-linear-gradient(45deg, #14161c 0 14px, #181a21 14px 28px); }


/* ── Problem carousel: 2 slides x 2 cards ── */
.pain-carousel { min-width: 0; }
.pain-viewport { overflow: hidden; }
.pain-track { display: flex; transition: transform .5s ease; }
.pain-slide { flex: 0 0 100%; min-width: 0; }
.pain-dots { display: flex; justify-content: center; gap: 8px; margin-top: 1rem; }
.pain-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: var(--border-mid); cursor: pointer; }
.pain-dot.on { background: var(--lime); }


.pain-dots .pain-dot { margin-top: 0; flex-shrink: 0; }
.pain-dots .pain-dot.on { background: var(--lime); }


/* ── Major features slider ── */
.feat-slider { padding-block: 5rem; border-top: 1px solid var(--border); }
.feat-h2-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.feat-viewport { overflow: hidden; }
.feat-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.feat-slide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.feat-copy { min-width: 0; }
.feat-count { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--fg-subtle); margin-bottom: .75rem; }
.feat-title { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: .25rem; }
.feat-copy .cs-lead-p { font-size: .9rem; line-height: 1.65; margin-top: .75rem; max-width: 52ch; }
.feat-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-direction: column; gap: .55rem; }
.feat-list li { position: relative; padding-left: 1.5rem; color: var(--fg-muted); font-size: .875rem; line-height: 1.5; }
.feat-list li::before { content: '\2192'; position: absolute; left: 0; color: var(--green); }
.feat-media { aspect-ratio: 16 / 10; width: 100%; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.feat-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-media-empty { background: repeating-linear-gradient(45deg, #14161c 0 14px, #181a21 14px 28px); }
.feat-dots { display: flex; justify-content: center; gap: 8px; margin-top: 2rem; }
.feat-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: var(--border-mid); cursor: pointer; }
.feat-dot.on { background: var(--lime); }
@media (max-width: 860px) { .feat-slide { grid-template-columns: 1fr; gap: 1.5rem; } .feat-media { order: -1; } }
@media (prefers-reduced-motion: reduce) { .feat-track { transition: none; } }

.feat-nav { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.feat-nav .feat-dots { margin-top: 0; }
.feat-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-mid); background: transparent; color: var(--fg); font-size: 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.feat-arrow:hover { border-color: var(--lime); background: rgba(190,216,45,.08); }


/* ── Hero: smaller headline, text left, one big image right at matching height ── */
.cs-hero-layout { align-items: center; gap: 3rem; }
.cs-h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
.cs-hero-sub { font-size: .95rem; line-height: 1.65; margin-bottom: 1.5rem; }
.cs-stack-row { list-style: none; padding: 0; margin-top: 0; margin-bottom: 1.5rem; }
.cs-stag::before, .cs-stag::after { content: none; }
.cs-hero-media {
  aspect-ratio: 16 / 10; width: 100%; min-width: 0;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  background: var(--surface-2);
}
.cs-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-hero-media-empty { background: repeating-linear-gradient(45deg, #14161c 0 14px, #181a21 14px 28px); }
.pain-dots .pain-dot { margin-top: 0; flex-shrink: 0; }
.pain-dots .pain-dot.on { background: var(--lime); }

.fmc-portals { margin-top: 3rem; padding-block: 0; border-top: 0; }


/* ── Results: text left, image right, moving fact pills ── */
.fmc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.fmc-results .cs-results-text { min-width: 0; }
.fmc-results .cs-results-text p { font-size: .95rem; line-height: 1.65; max-width: 46ch; }
.fmc-pills { margin-top: 1.5rem; overflow: hidden; display: flex; flex-direction: column; gap: 8px; max-width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.fmc-pill-row { display: flex; width: max-content; gap: 8px; animation: fmc-pill-l 36s linear infinite; }
.fmc-pill-row.rev { animation: fmc-pill-r 42s linear infinite; }
.fmc-pills:hover .fmc-pill-row { animation-play-state: paused; }
.fmc-pill { white-space: nowrap; border: 1px solid var(--border); border-radius: 6px; padding: 5px 10px; font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-muted); }
@keyframes fmc-pill-l { to { transform: translateX(-50%); } }
@keyframes fmc-pill-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .fmc-pill-row { animation: none; } }
@media (max-width: 860px) { .fmc-results { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Hero art wrapper */
.cs-hero-art { position: relative; min-width: 0; }
@media (min-width: 900px) { .cs-hero-art { margin: -4% -3% -4% 0; } }

/* ── Results: auto-playing feature showcase ── */
.fx-intro{max-width:680px;color:var(--grey,#94A3B8);margin:0 0 2rem}
.fx{display:grid;grid-template-columns:248px 1fr;gap:1.5rem;align-items:stretch}
.fx-rail{display:flex;flex-direction:column;gap:6px}
.fx-tab{position:relative;display:flex;align-items:center;gap:.75rem;padding:.85rem 1rem;background:transparent;border:1px solid rgba(255,255,255,.08);border-radius:12px;color:#94A3B8;font:600 .9rem/1.2 inherit;text-align:left;cursor:pointer;overflow:hidden;transition:.25s}
.fx-tab svg{width:20px;height:20px;flex:none}
.fx-tab:hover{color:#fff;border-color:rgba(249,115,22,.4)}
.fx-tab.on{color:#fff;background:rgba(249,115,22,.08);border-color:rgba(249,115,22,.5)}
.fx-bar{position:absolute;left:0;bottom:0;height:2px;width:0;background:linear-gradient(90deg,var(--orange,#F97316),var(--lime,#c6f432))}
.fx.run .fx-tab.on .fx-bar{animation:fxBar 6s linear forwards}
@keyframes fxBar{to{width:100%}}
.fx-stage{background:#0F172A;border:1px solid #1E293B;border-radius:16px;padding:2rem;min-height:380px;overflow:hidden}
.fx-slide{display:none;grid-template-columns:1fr 1fr;gap:2rem;align-items:center;height:100%}
.fx-slide.on{display:grid;animation:fxIn .55s ease both}
@keyframes fxIn{from{opacity:0;transform:translateX(38px)}to{opacity:1;transform:none}}
.fx-lab{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--orange,#F97316);font-weight:700;margin:0 0 .5rem}
.fx-copy h3{font-size:1.45rem;line-height:1.2;margin:0 0 .75rem;color:#fff}
.fx-copy p{color:#94A3B8;margin:0 0 1rem}
.fx-copy ul{list-style:none;margin:0;padding:0;display:grid;gap:.6rem;color:#cbd5e1;font-size:.92rem}
.fx-copy li{display:flex;gap:.6rem;align-items:flex-start}
.fx-copy li svg{width:16px;height:16px;flex:none;margin-top:3px;color:var(--orange,#F97316)}
.fx-mock{background:#0A0F1E;border:1px solid #1E293B;border-radius:12px;padding:1.1rem;display:grid;gap:.7rem;align-content:center;min-height:240px}
.fx-line{display:flex;align-items:center;gap:.6rem}
.fx-dot{width:10px;height:10px;border-radius:50%;background:var(--orange,#F97316);flex:none}
.fx-b{display:block;height:10px;border-radius:6px;width:var(--w);background:linear-gradient(90deg,#6366f1,#a5b4fc)}
.fx-row{display:flex;align-items:center;gap:.7rem;padding:.55rem .7rem;background:#0F172A;border-radius:8px}
.fx-av{width:26px;height:26px;border-radius:50%;background:#334155;flex:none}
.fx-ln{display:block;height:8px;border-radius:4px;background:#334155;flex:1;width:100%}
.fx-ln.s{width:60%;flex:none;margin-top:6px}
.fx-pill{width:44px;height:16px;border-radius:8px;background:rgba(249,115,22,.35);flex:none}
.fx-board{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem}
.fx-col{background:#0F172A;border-radius:8px;padding:.5rem;display:grid;gap:.4rem;align-content:start;min-height:150px}
.fx-col b{font-size:.62rem;color:#94A3B8;font-weight:600}
.fx-card{height:34px;border-radius:6px;background:#1E293B;border-left:3px solid #6366f1}
.fx-rev{display:flex;gap:.8rem;background:#0F172A;border-radius:8px;padding:.7rem}
.fx-rev>div{flex:1}
.fx-thumb{width:64px;height:64px;border-radius:8px;background:linear-gradient(135deg,#6366f1,#a5b4fc);flex:none}
.fx-btns{display:flex;gap:.4rem;margin-top:.7rem}
.fx-btns em{font-style:normal;font-size:.65rem;font-weight:700;padding:.3rem .6rem;border-radius:6px;background:var(--orange,#F97316);color:#fff}
.fx-btns em.alt{background:#1E293B;color:#94A3B8}
.fx-msg{display:flex}.fx-msg.r{justify-content:flex-end}
.fx-msg span{display:block;width:70%;height:34px;border-radius:12px;background:#1E293B}
.fx-msg.r span{background:rgba(99,102,241,.45)}
.fx-msg span.s{width:45%;height:26px}
.fx-shield{display:grid;justify-items:center;gap:.5rem;color:var(--orange,#F97316)}
.fx-shield svg{width:64px;height:64px}
.fx-shield .fx-ln{max-width:220px}
@media(max-width:1023px){
 .fx{grid-template-columns:1fr}
 .fx-rail{flex-direction:row;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}
 .fx-tab{flex:none;scroll-snap-align:start;white-space:nowrap}
 .fx-slide{grid-template-columns:1fr}
 .fx-stage{padding:1.25rem}
}
@media(prefers-reduced-motion:reduce){.fx-slide.on{animation:none}}

/* real-content mockups */
.fx-mock{align-content:start;gap:.6rem;font-size:.8rem;color:#cbd5e1}
.fx-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:.2rem}
.fx-top b{color:#fff;font-size:.9rem}
.fx-top em{font-style:normal;font-size:.62rem;color:#a5b4fc;background:rgba(99,102,241,.18);padding:.15rem .5rem;border-radius:999px}
.fx-kpis{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}
.fx-kpi{background:#0F172A;border-radius:8px;padding:.55rem .7rem}
.fx-kpi small,.fx-nm small,.fx-rev small{display:block;color:#64748b;font-size:.66rem}
.fx-kpi b{font-size:1.3rem;color:#fff}
.fx-prog{display:grid;grid-template-columns:1fr auto;gap:.3rem .6rem;font-size:.72rem}
.fx-prog u{text-decoration:none;color:#94A3B8}
.fx-prog i{grid-column:1/-1;height:6px;border-radius:4px;background:#1E293B;position:relative;overflow:hidden}
.fx-prog i:after{content:"";position:absolute;inset:0;width:var(--w);background:linear-gradient(90deg,#6366f1,#a5b4fc)}
.fx-search{background:#0F172A;border-radius:8px;padding:.5rem .7rem;color:#64748b;font-size:.72rem}
.fx-av{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#334155;color:#fff;font-size:.7rem;font-weight:700;flex:none}
.fx-nm{flex:1;min-width:0}.fx-nm b{color:#fff;font-size:.78rem;display:block}
.fx-pill{width:auto;height:auto;padding:.2rem .55rem;font-size:.62rem;font-weight:700;background:rgba(249,115,22,.2);color:#fdba74}
.fx-pill.ok{background:rgba(34,197,94,.18);color:#86efac}
.fx-col b{display:flex;justify-content:space-between}.fx-col b small{color:#64748b}
.fx-card{height:auto;padding:.45rem .5rem;font-size:.66rem;color:#e2e8f0}
.fx-rev p{font-size:.7rem;color:#94A3B8;margin:.35rem 0 0}.fx-rev b{color:#fff}
.fx-msg span{width:auto;max-width:82%;height:auto;padding:.5rem .7rem;font-size:.72rem;color:#e2e8f0}
.fx-chk{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:rgba(34,197,94,.2);color:#86efac;font-size:.7rem;flex:none}

/* Nav CTA matches the FMC orange on this page */
body[class*="page-fmc-case-study"] .btn-cta,
body[class*="page-fmc-case-study"] .mobile-menu-cta { background: #F97316; color: #fff; }
body[class*="page-fmc-case-study"] .btn-cta:hover,
body[class*="page-fmc-case-study"] .mobile-menu-cta:hover { background: #ea580c; }

/* Primary buttons use FMC orange on this page */
body[class*="page-fmc-case-study"] .btn-primary { background: #F97316; color: #fff; border-color: #F97316; }
body[class*="page-fmc-case-study"] .btn-primary:hover { background: #ea580c; border-color: #ea580c; }

/* a11y contrast */
body[class*="page-fmc-case-study"] .btn-primary{background:#c2410c;border-color:#c2410c}
body[class*="page-fmc-case-study"] .btn-primary:hover{background:#9a3412;border-color:#9a3412}
body[class*="page-fmc-case-study"] .mobile-menu-cta{background:#c2410c}
.fx-btns em{background:#c2410c}
.cs-tag-purple,.t-p,.kpi-num-p{color:#C9A3EA}
