/* ============================================================
   burakdiri.com — Portföy detay (case study) stilleri
   styles.css + portfolio.css ÜZERİNE biner
   ============================================================ */

.cs { padding-top: clamp(104px, 13vh, 140px); padding-bottom: clamp(50px, 7vw, 90px); }

.cs__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 26px; transition: color .2s, gap .2s;
}
.cs__back:hover { color: var(--fg); gap: 12px; }
.cs__back svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.cs__hero { max-width: 860px; }
.cs__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.cs__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-2); border: 1px solid var(--line);
  color: oklch(0.82 0.11 var(--node-accent, 238));
}
.cs__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cs__date { font-family: var(--f-mono); font-size: 13px; color: oklch(0.82 0.1 var(--node-accent, 238)); letter-spacing: 0.04em; }
.cs__type { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 999px; }

.cs h1 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(30px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.02em;
  margin-bottom: 12px; text-wrap: balance;
}
.cs__org { color: var(--accent-2); font-weight: 500; font-size: 17px; margin-bottom: 30px; }

.cs__cover {
  width: 100%; border-radius: 18px; border: 1px solid var(--line);
  margin: 8px 0 40px; aspect-ratio: 16/7; object-fit: cover;
}
.cs__cover--ph {
  display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, var(--bg-2) 0 16px, var(--bg-3) 16px 32px);
  color: var(--muted-2); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
}

/* metrikler */
.cs__metrics {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px; margin: 0 0 44px;
}
.cs__metric {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 24px;
}
.cs__metric .v {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 3vw, 38px);
  color: oklch(0.82 0.11 var(--node-accent, 238)); letter-spacing: -0.01em;
}
.cs__metric .l { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* gövde — case study bölümleri */
.cs__body { max-width: 760px; }
.cs__section { margin-bottom: 38px; }
.cs__section h2 {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: oklch(0.82 0.1 var(--node-accent, 238)); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.cs__section h2::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.cs__section .rich { color: var(--fg); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.7; }
.cs__section .rich p { margin-bottom: 14px; }
.cs__section .rich p:last-child { margin-bottom: 0; }
.cs__section .rich strong { color: var(--fg); font-weight: 600; }

.cs__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }

/* alt gezinme */
.cs__more {
  margin-top: clamp(40px, 6vw, 70px);
  padding-top: 34px; border-top: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cs__more p { color: var(--muted); font-size: 15px; }
.cs__more a.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 15px; color: var(--accent-ink);
  background: var(--accent); padding: 12px 22px; border-radius: 12px;
  transition: gap .2s, filter .2s;
}
.cs__more a.btn:hover { gap: 14px; filter: brightness(1.06); }
.cs__more a.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.cs__notfound { text-align: center; padding: 80px 0; }
.cs__notfound h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.cs__notfound p { color: var(--muted); margin-bottom: 26px; }
