/* ── BREADCRUMB ── */
nav.breadcrumb {
  position: static; display: flex; align-items: center; gap: 10px;
  grid-template-columns: none; padding: 0; z-index: auto;
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
}
nav.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
nav.breadcrumb a:hover { color: var(--terracota); }
.breadcrumb-sep { opacity: 0.4; }

/* ── HERO ── */
.cs-hero { padding: 160px 48px 72px; max-width: 1200px; margin: 0 auto; }
.cs-title {
  font-family: var(--serif);
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 1.05; font-weight: 400; margin-bottom: 16px;
}
.cs-subtitle {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(19px, 2.5vw, 28px); color: var(--muted); line-height: 1.3;
}

.cs-hero-visual {
  width: 100%;
  border-radius: 20px; margin-top: 56px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cs-hero-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cs-hero-visual-label {
  position: absolute; bottom: 22px; left: 28px;
  font-family: var(--serif); font-size: 13px; font-style: italic;
  color: rgba(255,255,255,0.45);
}
.cs-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 20px; opacity: 0.9;
}
.cs-hero-placeholder { text-align: center; position: relative; z-index: 1; }
.cs-hero-placeholder-icon { font-size: 48px; opacity: 0.2; display: block; margin-bottom: 12px; }
.cs-hero-placeholder-text {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.3);
}

/* ── 75/25 SPLIT (agentic-workflows + canvas) ── */
.cs-hero-split {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 16px;
  margin-top: 48px;
  align-items: stretch;
  min-height: 400px;
}
.cs-hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cs-hero-split .cs-hero-visual {
  height: 100%; min-height: 400px; margin-top: 0;
}
.cs-hero-split .snapshot-panel {
  grid-template-columns: 1fr; margin: 0;
  padding: 28px 24px; gap: 20px 0;
  box-shadow: none; border: 1px solid rgba(26,20,16,0.1);
}

/* ── SNAPSHOT ── */
.snapshot-section { padding: 0 48px 80px; }
.snapshot-panel {
  background: #fff; border-radius: 20px;
  box-shadow: 0 6px 40px rgba(26,20,16,0.12);
  padding: 40px 48px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 36px 48px; max-width: 1100px; margin: 0 auto;
}
.snapshot-item { display: flex; flex-direction: column; gap: 8px; }
.snapshot-label {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.snapshot-value { font-size: 15px; color: var(--ink); line-height: 1.5; }

/* ── BODY ── */
.cs-body { max-width: 760px; margin: 0 auto; padding: 0 48px 100px; }
.cs-section { margin-bottom: 80px; }
.cs-section:last-child { margin-bottom: 0; }

.cs-eyebrow {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--terracota); margin-bottom: 12px; display: block;
}
.cs-h2 {
  font-family: var(--serif); font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 400; line-height: 1.15; margin-bottom: 24px;
}
.cs-p { font-size: 15px; color: var(--ink); line-height: 1.85; margin-bottom: 18px; }
.cs-p:last-child { margin-bottom: 0; }

.cs-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.cs-list li { font-size: 15px; color: var(--ink); line-height: 1.75; padding-left: 22px; position: relative; }
.cs-list li::before { content: '✦'; position: absolute; left: 0; top: 4px; font-size: 9px; color: var(--terracota); }

.design-question {
  padding: 28px 36px;
  border-left: 3px solid var(--terracota);
  background: rgba(212,82,42,0.045);
  border-radius: 0 14px 14px 0;
  margin: 48px 0;
}
.design-question p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--ink); line-height: 1.55;
}

/* ── IMAGES ── */
.cs-img-frame { width: 100%; border-radius: 16px; overflow: hidden; margin: 40px 0; position: relative; }
.cs-img-frame img { width: 100%; display: block; border-radius: 16px; }
.cs-img-placeholder {
  width: 100%; aspect-ratio: 16/9; background: var(--light);
  border-radius: 16px; border: 1.5px dashed rgba(26,20,16,0.18);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.cs-img-placeholder-icon { font-size: 32px; opacity: 0.25; }
.cs-img-placeholder-label {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.cs-img-caption {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.05em; color: var(--muted); margin-top: 10px; text-align: center;
}

.cs-wide-frame { width: calc(100% + 96px); margin-left: -48px; margin-top: 40px; margin-bottom: 40px; }
.cs-wide-frame .cs-img-placeholder { aspect-ratio: 21/9; border-radius: 0; }
.cs-wide-frame img { border-radius: 0; }

.cs-img-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0; }
.cs-img-2col .cs-img-placeholder { aspect-ratio: 4/3; }

/* ── INTERACTIONS ── */
.cs-interaction { display: flex; gap: 24px; padding: 28px 0; border-top: 1px solid rgba(26,20,16,0.1); }
.cs-interaction:last-child { border-bottom: 1px solid rgba(26,20,16,0.1); }
.cs-int-num {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; color: var(--terracota);
  min-width: 28px; padding-top: 4px; flex-shrink: 0;
}
.cs-int-title { font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.2; margin-bottom: 10px; }
.cs-int-desc { font-size: 14px; color: var(--muted); line-height: 1.72; }

/* ── TRADEOFFS ── */
.tradeoff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.tradeoff-item { padding: 22px; background: rgba(26,20,16,0.034); border-radius: 12px; }
.tradeoff-title {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 10px; line-height: 1.4;
}
.tradeoff-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── OUTCOMES ── */
.outcome-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.outcome-list li { font-size: 15px; color: var(--ink); line-height: 1.75; padding-left: 22px; position: relative; }
.outcome-list li::before { content: '✦'; position: absolute; left: 0; top: 4px; font-size: 9px; color: var(--terracota); }

/* ── LEARNING BLOCK ── */
.cs-learning {
  padding: 32px 36px; border-radius: 16px; background: var(--ink); margin-top: 48px;
}
.cs-learning-label {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245,240,232,0.4); margin-bottom: 14px; display: block;
}
.cs-learning p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(16px, 2vw, 20px); color: rgba(245,240,232,0.88); line-height: 1.6;
}

/* ── FIGMA EMBED ── */
.cs-figma-section { padding: 0 48px 80px; max-width: 1100px; margin: 0 auto; }
.cs-figma-section .cs-eyebrow { margin-bottom: 12px; }
.cs-figma-section .cs-h2 { margin-bottom: 28px; }
.cs-figma-frame {
  width: 100%; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden;
  border: 1.5px solid rgba(26,20,16,0.1); background: var(--light);
}
.cs-figma-frame iframe { width: 100%; height: 100%; border: none; display: block; }
.cs-figma-placeholder {
  width: 100%; height: 100%; min-height: 420px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.cs-figma-placeholder-icon { font-size: 36px; opacity: 0.2; }
.cs-figma-placeholder-label {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}

/* ── CASE STUDY NAV ── */
.cs-nav-bar {
  border-top: 1px solid rgba(26,20,16,0.1);
  padding: 52px 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 40px;
}
.cs-nav-group { display: flex; flex-direction: column; gap: 10px; }
.cs-nav-label {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.cs-nav-project {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  line-height: 1.15; color: var(--ink); text-decoration: none; transition: color 0.2s;
}
.cs-nav-project:hover { color: var(--terracota); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .cs-hero-split { grid-template-columns: 1fr; }
  .cs-hero-split .cs-hero-visual { min-height: 260px; height: 260px; }
  .cs-hero-split .snapshot-panel { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .snapshot-panel { grid-template-columns: repeat(2, 1fr); }
  .tradeoff-grid { grid-template-columns: 1fr; }
  .cs-img-2col { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .cs-hero { padding:100px 20px 56px; }
  .snapshot-section { padding:0 20px 60px; }
  .snapshot-panel { grid-template-columns:1fr; padding:28px 24px; gap:24px; }
  .cs-body { padding:0 20px 80px; }
  .cs-section { margin-bottom:56px; }
  .cs-wide-frame { width:100%; margin-left:0; }
  .cs-interaction { flex-direction:column; gap:8px; }
  .cs-nav-bar { padding:40px 20px; flex-direction:column; align-items:flex-start; gap:28px; }
  .cs-figma-section { padding:0 20px 60px; }
}
