/* ── HERO VISUAL — terracota/agentic gradient ── */
.cs-hero-visual {
  height: 100%;
  background: linear-gradient(145deg, #1c1510 0%, #3d2015 45%, #d4522a 100%);
}

/* ── MENTAL MODEL FLOW ── */
.model-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.model-box { padding: 24px 28px; border-radius: 14px; }
.model-before { background: rgba(26,20,16,0.04); border: 1px solid rgba(26,20,16,0.1); }
.model-after { background: var(--ink); }
.model-box-label {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 14px; display: block;
}
.model-before .model-box-label { color: var(--muted); }
.model-after .model-box-label { color: rgba(245,240,232,0.45); }
.model-flow-text { font-size: 14px; line-height: 1.85; }
.model-before .model-flow-text { color: var(--ink); }
.model-after .model-flow-text { color: rgba(245,240,232,0.82); }
.flow-arrow { color: var(--terracota); }

/* ── INTERACTIONS — side-by-side grid layout ── */
.cs-interaction {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; align-items: center;
  border-top: 1px solid rgba(26,20,16,0.1);
  padding: 32px 0;
}
.cs-interaction:last-child { border-bottom: 1px solid rgba(26,20,16,0.1); }
.cs-interaction-header { display: flex; gap: 24px; align-items: flex-start; }

/* ── INTERACTION IMAGE ── */
.cs-int-img {
  width: 100%; aspect-ratio: 4/3;
  position: relative; overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(145deg, #1c1510 0%, #3d2015 45%, #d4522a 100%);
}
.cs-int-img::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 1;
}
.cs-int-img img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90%; height: 90%;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

/* ── CAROUSEL ── */
.cs-carousel { position: relative; margin: 40px 0; }
.carousel-track-wrapper { overflow: hidden; border-radius: 16px; }
.carousel-track { display: flex; transition: transform 0.4s cubic-bezier(.25,.46,.45,.94); }
.carousel-slide { min-width: 100%; flex-shrink: 0; background: var(--light); border-radius: 16px; }
.carousel-slide img { width: 100%; height: auto; max-height: 460px; object-fit: contain; display: block; border-radius: 16px; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(245,240,232,0.92); border: 1px solid rgba(26,20,16,0.14);
  border-radius: 50%; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px; color: var(--ink);
  transition: background 0.22s, color 0.22s; z-index: 2; padding: 0;
}
.carousel-btn:hover { background: var(--ink); color: var(--bg); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(26,20,16,0.18); cursor: pointer;
  transition: background 0.22s, transform 0.22s; border: none; padding: 0;
}
.carousel-dot.active { background: var(--terracota); transform: scale(1.4); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .model-flow { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .cs-interaction { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .cs-int-img { aspect-ratio: 16/9; }
}
