/* huseyinmertsahal.com.tr — sade, tek stylesheet.
   Renkler OKLCH. Açık ve koyu tema ayrı kalibre edilmiştir. Satır içi stil yok (CSP). */

:root {
  /* 11 adımlı nötr skala (hafif sıcak) */
  --n-50: oklch(0.985 0.004 90);
  --n-100: oklch(0.962 0.005 90);
  --n-200: oklch(0.925 0.006 90);
  --n-300: oklch(0.87 0.007 90);
  --n-400: oklch(0.76 0.008 90);
  --n-500: oklch(0.64 0.009 90);
  --n-600: oklch(0.52 0.01 90);
  --n-700: oklch(0.42 0.01 90);
  --n-800: oklch(0.32 0.01 90);
  --n-900: oklch(0.24 0.01 90);
  --n-950: oklch(0.18 0.01 90);

  /* boşluk: 4px taban */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px;

  /* akışkan tip ölçeği, ~1.25 oran */
  --t-sm: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --t-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --t-lg: clamp(1.2rem, 1.14rem + 0.3vw, 1.33rem);
  --t-xl: clamp(1.5rem, 1.35rem + 0.7vw, 1.66rem);
  --t-2xl: clamp(1.85rem, 1.6rem + 1.1vw, 2.08rem);
  --t-3xl: clamp(2.3rem, 1.9rem + 2vw, 2.6rem);
  --t-4xl: clamp(2.75rem, 2.1rem + 3.2vw, 3.25rem);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* hareket */
  --d-fast: 120ms; --d-base: 200ms; --ease: cubic-bezier(.2, 0, 0, 1);

  --r-sm: 4px; --r-md: 8px;
  --measure: 68ch;
  --wrap: 54rem;
  --wrap-wide: 54rem;

  color-scheme: light;
  --bg: var(--n-50);
  --bg-sunk: var(--n-100);
  --surface: oklch(1 0 0);
  --line: var(--n-200);
  --line-strong: var(--n-300);
  --text: var(--n-900);
  --muted: var(--n-700);
  --soft: var(--n-600);
  --accent: oklch(0.46 0.13 255);
  --accent-hover: oklch(0.38 0.13 255);
  --accent-ink: oklch(0.99 0 0);
  --accent-soft: oklch(0.95 0.02 255);
  --ok: oklch(0.45 0.11 155);
  --warn: oklch(0.48 0.11 70);
  --err: oklch(0.48 0.17 25);
  --info: oklch(0.46 0.1 230);
  --ok-soft: oklch(0.96 0.03 155);
  --warn-soft: oklch(0.96 0.04 85);
  --err-soft: oklch(0.96 0.03 25);
  --code-bg: var(--n-100);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--n-950);
  --bg-sunk: oklch(0.15 0.01 90);
  --surface: oklch(0.21 0.01 90);
  --line: oklch(0.29 0.01 90);
  --line-strong: oklch(0.37 0.01 90);
  --text: var(--n-100);
  --muted: var(--n-300);
  --soft: var(--n-400);
  --accent: oklch(0.78 0.1 245);
  --accent-hover: oklch(0.86 0.09 245);
  --accent-ink: oklch(0.18 0.01 90);
  --accent-soft: oklch(0.27 0.04 250);
  --ok: oklch(0.8 0.13 155);
  --warn: oklch(0.82 0.12 85);
  --err: oklch(0.76 0.14 25);
  --info: oklch(0.8 0.08 230);
  --ok-soft: oklch(0.26 0.04 155);
  --warn-soft: oklch(0.27 0.04 85);
  --err-soft: oklch(0.27 0.05 25);
  --code-bg: oklch(0.16 0.01 90);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 400 var(--t-base)/1.7 var(--font);
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img, video { height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 600; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
p, ul, ol, dl, figure, blockquote, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent-soft); color: var(--text); }
[hidden] { display: none !important; }
code, kbd, samp { font-family: var(--mono); font-size: 0.92em; }

.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 100; padding: var(--s-2) var(--s-4); background: var(--text); color: var(--bg); border-radius: var(--r-sm); }
.skip-link:focus { top: var(--s-3); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--s-5)); margin-inline: auto; padding-inline: clamp(var(--s-4), 5vw, var(--s-6)); }
.wrap-wide { max-width: calc(var(--wrap-wide) + 2 * var(--s-5)); }

/* ---- üst çubuk ---- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 3.5rem; }
.brand { color: var(--text); font: 600 var(--t-base)/1 var(--font); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--text); text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: var(--s-5); }
.site-nav a { color: var(--muted); text-decoration: none; font-size: var(--t-sm); padding-block: var(--s-2); border-bottom: 1px solid transparent; }
.site-nav a:hover { color: var(--text); border-bottom-color: var(--line-strong); }
.site-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--text); }
.header-tools { display: flex; align-items: center; gap: var(--s-2); }
.theme-toggle, .nav-toggle {
  font: 500 var(--t-sm)/1 var(--font); color: var(--muted); background: transparent;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: var(--s-2) var(--s-3);
  min-height: 2.25rem; cursor: pointer; transition: color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease);
}
.theme-toggle:hover, .nav-toggle:hover { color: var(--text); border-color: var(--muted); }
.nav-toggle { display: none; }
@media (max-width: 40rem) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; inset: 3.5rem 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; padding: var(--s-2) clamp(var(--s-4), 5vw, var(--s-6)) var(--s-4); background: var(--bg); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding-block: var(--s-3); width: 100%; font-size: var(--t-base); }
}

main { flex: 1; }
.section { padding-block: clamp(var(--s-10), 8vw, var(--s-16)); border-top: 1px solid var(--line); }
.section:first-child { border-top: 0; }
.section > .wrap > * + * { margin-top: var(--s-5); }
.section h2 { font-size: var(--t-2xl); }
.section h3 { font-size: var(--t-lg); }
.prose { max-width: var(--measure); }
.prose p + p { margin-top: var(--s-4); }
.label { font: 500 var(--t-sm)/1 var(--mono); color: var(--soft); letter-spacing: 0.04em; }
.lead { font-size: var(--t-lg); line-height: 1.55; color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); }

/* ---- giriş ---- */
.hero { padding-block: clamp(var(--s-12), 12vw, var(--s-20)) clamp(var(--s-10), 8vw, var(--s-16)); }
.hero > .wrap > * + * { margin-top: var(--s-5); }
.hero h1 { font-size: var(--t-4xl); }
.hero-place { display: flex; align-items: center; gap: var(--s-2); color: var(--muted); font-size: var(--t-sm); }

/* durum göstergesi: renk + metin */
.status { display: inline-flex; align-items: center; gap: var(--s-2); font: 500 var(--t-sm)/1.4 var(--mono); }
.status::before { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--soft); flex: none; }
.status.ok { color: var(--ok); } .status.ok::before { background: var(--ok); }
.status.warn { color: var(--warn); } .status.warn::before { background: var(--warn); }
.status.err { color: var(--err); } .status.err::before { background: var(--err); }

/* ---- düğme ve link ---- */
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 2.75rem; padding: var(--s-2) var(--s-5); border-radius: var(--r-sm);
  font: 500 var(--t-base)/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  transition: background var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease), transform var(--d-fast) var(--ease);
}
.btn:hover { border-color: var(--text); color: var(--text); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn:disabled, .btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.link-arrow::after { content: " →"; }

/* ---- etiket ---- */
.tag { display: inline-block; padding: 1px var(--s-2); border: 1px solid var(--line-strong); border-radius: var(--r-sm); font: 500 var(--t-sm)/1.6 var(--mono); color: var(--muted); text-decoration: none; }
a.tag:hover { color: var(--text); border-color: var(--muted); text-decoration: none; }
.tags { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* ---- hakkımda/ deneyim/ yetkinlik ---- */
.timeline { border-left: 1px solid var(--line-strong); margin-left: var(--s-1); }
.timeline > li { position: relative; padding: 0 0 var(--s-8) var(--s-6); }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before { content: ""; position: absolute; left: -4px; top: 0.7em; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); border: 1px solid var(--muted); }
.timeline > li.current::before { background: var(--accent); border-color: var(--accent); }
.timeline h3 { font: 600 var(--t-base)/1.4 var(--font); }
.timeline .meta { color: var(--soft); font: 400 var(--t-sm)/1.5 var(--mono); }
.timeline ul { margin-top: var(--s-2); }
.timeline li li { position: relative; padding-left: var(--s-4); color: var(--muted); }
.timeline li li::before { content: "–"; position: absolute; left: 0; color: var(--soft); }

.matrix { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.matrix > div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.matrix dt { font: 500 var(--t-sm)/1.7 var(--mono); color: var(--soft); }
.matrix dd { margin: 0; }
@media (max-width: 36rem) { .matrix > div { grid-template-columns: 1fr; gap: var(--s-1); } }

/* ---- proje ve araç listeleri: kart değil, satır ---- */
.rows { border-top: 1px solid var(--line); }
.rows > li { border-bottom: 1px solid var(--line); }
.rows a.row { display: grid; grid-template-columns: minmax(0, 12rem) 1fr auto; gap: var(--s-4); align-items: baseline; padding: var(--s-4) 0; color: var(--text); text-decoration: none; }
.rows a.row:hover { background: var(--bg-sunk); }
.rows .row-name { font-weight: 600; }
.rows .row-desc { color: var(--muted); }
.rows .row-end { color: var(--soft); font: 400 var(--t-sm)/1 var(--mono); }
@media (max-width: 36rem) { .rows a.row { grid-template-columns: 1fr auto; } .rows .row-desc { grid-column: 1 / -1; grid-row: 2; } }

.case { padding-block: var(--s-6); border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case > * + * { margin-top: var(--s-3); }
.case h3 { font-size: var(--t-xl); font-family: var(--serif); }
.case dl { display: grid; grid-template-columns: 7rem 1fr; gap: var(--s-2) var(--s-4); }
.case dt { font: 500 var(--t-sm)/1.7 var(--mono); color: var(--soft); }
.case dd { margin: 0; max-width: var(--measure); }
@media (max-width: 36rem) { .case dl { grid-template-columns: 1fr; } .case dd { margin-bottom: var(--s-2); } }

/* ---- yazılar ---- */
.post-list > li { padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.post-list > li:first-child { border-top: 1px solid var(--line); }
.post-list h3 { font: 600 var(--t-lg)/1.3 var(--font); }
.post-list h3 a { color: var(--text); text-decoration: none; }
.post-list h3 a:hover { color: var(--accent); text-decoration: underline; }
.post-meta { color: var(--soft); font: 400 var(--t-sm)/1.6 var(--mono); display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); align-items: center; }
.post-list p { color: var(--muted); margin-top: var(--s-1); }
.page-head { padding-block: clamp(var(--s-10), 8vw, var(--s-16)) var(--s-6); }
.page-head .wrap > * + * { margin-top: var(--s-4); }
.page-head h1 { font-size: var(--t-3xl); }
.crumb { font: 400 var(--t-sm)/1.4 var(--mono); color: var(--soft); }
.crumb a { color: var(--soft); }
.article { padding-block: var(--s-6) var(--s-16); }
.article .prose > * + * { margin-top: var(--s-4); }
.article h2 { font-size: var(--t-xl); margin-top: var(--s-10); }
.article ul { list-style: disc; padding-left: var(--s-6); }
.article li + li { margin-top: var(--s-2); }
.toc { padding: var(--s-4) var(--s-5); background: var(--bg-sunk); border-radius: var(--r-md); max-width: var(--measure); margin-bottom: var(--s-6); }
.toc ol { list-style: decimal; padding-left: var(--s-5); margin-top: var(--s-2); }
.toc .label { display: block; }
.empty-post { color: var(--muted); padding: var(--s-4); border: 1px dashed var(--line-strong); border-radius: var(--r-md); }

/* kod bloğu + kopyala */
.code { position: relative; max-width: var(--measure); }
.code pre { overflow-x: auto; padding: var(--s-4) var(--s-5); padding-right: 5.5rem; background: var(--code-bg); border: 1px solid var(--line); border-radius: var(--r-md); font: 400 0.9rem/1.65 var(--mono); tab-size: 2; }
.code .copy { position: absolute; top: var(--s-2); right: var(--s-2); min-height: 1.9rem; padding: 2px var(--s-3); font: 500 0.8rem/1 var(--font); color: var(--muted); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); cursor: pointer; }
.code .copy:hover { color: var(--text); border-color: var(--muted); }
.code .copy.is-done { color: var(--ok); border-color: var(--ok); }

/* ---- uygulama sayfaları ---- */
.app-head { display: flex; gap: var(--s-5); align-items: center; }
.app-head img { width: 64px; height: 64px; border-radius: var(--r-md); flex: none; }
.facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); color: var(--muted); font: 400 var(--t-sm)/1.6 var(--mono); }
.feat-list > li { padding-block: var(--s-4); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 13rem) 1fr; gap: var(--s-4); }
.feat-list h3 { font: 600 var(--t-base)/1.5 var(--font); }
.feat-list p { color: var(--muted); max-width: var(--measure); }
@media (max-width: 36rem) { .feat-list > li { grid-template-columns: 1fr; gap: var(--s-1); } }
.bullets { list-style: disc; padding-left: var(--s-6); max-width: var(--measure); }
.bullets li + li { margin-top: var(--s-3); }
.steps { list-style: none; counter-reset: s; }
.steps > li { counter-increment: s; padding-block: var(--s-4); border-top: 1px solid var(--line); display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--s-3); }
.steps > li::before { content: counter(s); font: 500 var(--t-sm)/1.9 var(--mono); color: var(--soft); }
.steps h3 { font: 600 var(--t-base)/1.5 var(--font); }
.steps p { color: var(--muted); grid-column: 2; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--s-5); }
.shots figure img { width: 100%; border: 1px solid var(--line); border-radius: var(--r-md); }
.shots figcaption { margin-top: var(--s-2); color: var(--muted); font-size: var(--t-sm); }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--s-5); }
.videos figure video { width: 100%; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-sunk); }
.videos figcaption { margin-top: var(--s-2); color: var(--muted); font-size: var(--t-sm); }
.notice { padding: var(--s-4) var(--s-5); background: var(--bg-sunk); border-left: 3px solid var(--warn); border-radius: 0 var(--r-md) var(--r-md) 0; max-width: var(--measure); }
.notice h3 { font-size: var(--t-base); }
.notice p + p { margin-top: var(--s-2); }
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: var(--s-6); }
.dl { padding: var(--s-5); border: 1px solid var(--line-strong); border-radius: var(--r-md); display: grid; gap: var(--s-3); align-content: start; background: var(--surface); }
.dl h3 { font-size: var(--t-lg); }
.dl dl { display: grid; grid-template-columns: 5rem 1fr; gap: var(--s-1) var(--s-3); font-size: var(--t-sm); }
.dl dt { color: var(--soft); }
.dl dd { margin: 0; }
.dl .hash { font: 400 0.75rem/1.5 var(--mono); color: var(--soft); overflow-wrap: anywhere; }
.dl .help { font-size: var(--t-sm); color: var(--muted); }
.faq details { border-top: 1px solid var(--line); padding-block: var(--s-3); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding-block: var(--s-1); }
.faq details p { margin-top: var(--s-2); color: var(--muted); max-width: var(--measure); }

/* ---- iletişim, söz, harita ---- */
.contact-list > li { display: grid; grid-template-columns: 7rem 1fr; gap: var(--s-4); padding-block: var(--s-3); border-top: 1px solid var(--line); }
.contact-list > li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .label { padding-top: 0.35em; }
.quote { display: grid; grid-template-columns: minmax(0, 11rem) 1fr; gap: var(--s-8); align-items: start; }
.quote img.portrait { width: 100%; border-radius: var(--r-sm); filter: grayscale(1); }
.quote figcaption, .quote small { color: var(--soft); font-size: var(--t-sm); display: block; margin-top: var(--s-2); }
.quote blockquote { font: italic 500 var(--t-xl)/1.4 var(--serif); }
.quote .author { margin-top: var(--s-2); color: var(--muted); }
.quote img.signature { width: 9rem; margin-top: var(--s-3); filter: grayscale(1); }
:root[data-theme="dark"] .quote img.signature { filter: invert(1) grayscale(1); }
@media (max-width: 36rem) { .quote { grid-template-columns: 1fr; gap: var(--s-4); } .quote img.portrait { max-width: 9rem; } }
.map-box { border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow: hidden; background: #0b0d10; }
.map-box iframe { width: 100%; height: clamp(18rem, 55vw, 32rem); border: 0; }
.map-src { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding: var(--s-2) var(--s-4); background: var(--surface); border-top: 1px solid var(--line); font-size: var(--t-sm); color: var(--muted); }

/* ---- alt bilgi ---- */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--s-8); color: var(--soft); font-size: var(--t-sm); }
.footer-inner { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-8); justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); }
.footer-links a { color: var(--muted); }

/* =======================================================
   Araç sayfaları. Mevcut betikler bu sınıfları üretir; adlar korunur.
   ======================================================= */
.dc-wrap { display: grid; gap: var(--s-6); padding-bottom: var(--s-16); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.dc-form { padding: var(--s-6); display: grid; gap: var(--s-5); }
.dc-row { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.dc-field { display: grid; gap: var(--s-2); min-width: 0; }
.dc-grow { flex: 1 1 16rem; }
.dc-field label, .dc-fieldset legend { font: 500 var(--t-sm)/1.2 var(--mono); color: var(--soft); }
.dc-field input[type="text"], .dc-field select {
  width: 100%; min-height: 2.9rem; padding: var(--s-2) var(--s-3);
  background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font: 400 1rem/1.4 var(--mono);
}
.dc-field input::placeholder { color: var(--soft); }
.dc-field input:focus-visible, .dc-field select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.dc-fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s-3); min-width: 0; }
.dc-fieldset legend { padding: 0; margin-bottom: var(--s-3); }
.dc-checks { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.dc-check { position: relative; }
.dc-check input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.dc-check span { display: inline-block; padding: 6px var(--s-3); border: 1px solid var(--line-strong); border-radius: var(--r-sm); font: 500 var(--t-sm)/1.4 var(--mono); color: var(--muted); background: var(--bg); transition: border-color var(--d-fast) var(--ease), background var(--d-fast) var(--ease), color var(--d-fast) var(--ease); }
.dc-check input:checked + span { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.dc-check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.dc-hint { color: var(--soft); font-size: var(--t-sm); }
.dc-form .btn[disabled] { cursor: progress; }

.dc-status { color: var(--muted); }
.dc-status:empty { display: none; }
.dc-status.is-error { padding: var(--s-3) var(--s-4); border: 1px solid var(--err); border-radius: var(--r-md); background: var(--err-soft); color: var(--err); }
.dc-status.is-note { padding: var(--s-3) var(--s-4); border: 1px solid var(--warn); border-radius: var(--r-md); background: var(--warn-soft); color: var(--warn); }

.dc-results { display: grid; gap: var(--s-5); }
.dc-card { padding: var(--s-5) var(--s-6); display: grid; gap: var(--s-3); }
.dc-card h2 { font: 600 var(--t-lg)/1.3 var(--font); }
.dc-card h3 { font: 500 var(--t-sm)/1.2 var(--mono); color: var(--soft); margin-top: var(--s-2); }
.dc-issues { display: grid; gap: var(--s-2); }
.dc-issues li { display: flex; gap: var(--s-3); align-items: baseline; padding: var(--s-2) var(--s-3); border-left: 3px solid var(--line-strong); background: var(--bg); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 0.95rem; }
.dc-lvl { flex: none; font: 600 0.75rem/1.6 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; }
.lvl-ok { border-left-color: var(--ok); } .lvl-ok .dc-lvl { color: var(--ok); }
.lvl-info { border-left-color: var(--info); } .lvl-info .dc-lvl { color: var(--info); }
.lvl-warn { border-left-color: var(--warn); } .lvl-warn .dc-lvl { color: var(--warn); }
.lvl-error { border-left-color: var(--err); } .lvl-error .dc-lvl { color: var(--err); }

.dc-tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); }
.dc-tbl { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.dc-tbl th { text-align: left; padding: var(--s-2) var(--s-3); font: 500 0.78rem/1.2 var(--mono); color: var(--soft); background: var(--bg-sunk); border-bottom: 1px solid var(--line); white-space: nowrap; }
.dc-tbl td { padding: var(--s-2) var(--s-3); border-bottom: 1px solid var(--line); vertical-align: top; font: 400 0.85rem/1.55 var(--mono); overflow-wrap: anywhere; }
.dc-tbl tr:last-child td { border-bottom: 0; }
.dc-kv { display: grid; grid-template-columns: max-content 1fr; gap: var(--s-1) var(--s-5); }
.dc-kv dt { color: var(--soft); font: 400 0.82rem/1.6 var(--mono); }
.dc-kv dd { margin: 0; font: 400 0.85rem/1.6 var(--mono); overflow-wrap: anywhere; }
.dc-code { display: block; padding: var(--s-3) var(--s-4); background: var(--code-bg); border: 1px solid var(--line); border-radius: var(--r-sm); font: 400 0.85rem/1.6 var(--mono); overflow-wrap: anywhere; }
.dc-empty { color: var(--muted); }
@media (max-width: 40rem) { .dc-form, .dc-card { padding: var(--s-4); } }

.nt-pill { display: inline-block; padding: 1px var(--s-3); border-radius: 999px; font: 600 0.78rem/1.7 var(--mono); border: 1px solid var(--line-strong); }
.nt-pill.ok { color: var(--ok); border-color: var(--ok); background: var(--ok-soft); }
.nt-pill.warn { color: var(--warn); border-color: var(--warn); background: var(--warn-soft); }
.nt-pill.err { color: var(--err); border-color: var(--err); background: var(--err-soft); }

.pw-panel { gap: var(--s-4); }
.pw-out { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; justify-content: space-between; }
.pw-value { flex: 1 1 18rem; min-width: 0; padding: var(--s-4) var(--s-5); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-sm); font: 500 1.25rem/1.5 var(--mono); overflow-wrap: anywhere; word-break: break-all; color: var(--accent); }
.pw-actions { display: flex; gap: var(--s-3); }
.pw-meter { height: 6px; background: var(--bg-sunk); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.pw-meter span { display: block; height: 100%; width: 0; background: var(--accent); transition: width var(--d-base) var(--ease), background var(--d-base) var(--ease); }
.pw-meter .pw-err { background: var(--err); } .pw-meter .pw-warn { background: var(--warn); } .pw-meter .pw-ok { background: var(--ok); }
.pw-meta { color: var(--muted); font: 500 var(--t-sm)/1.4 var(--mono); }
#pw-len { width: 100%; accent-color: var(--accent); }
@media (max-width: 40rem) { .pw-value { font-size: 1.05rem; } }
.cr-chip { min-height: 2.1rem; padding: 4px var(--s-3); font-size: var(--t-sm); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .theme-toggle, .nav-toggle { display: none; }
}

/* Yazı sonu: önceki / sonraki */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.pager a { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: 6px; color: var(--text); text-decoration: none; }
.pager a:hover { background: var(--bg-sunk); }
.pager a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pager-next { grid-column: 2; text-align: right; }
.pager-prev:only-child { grid-column: 1; }
.pager-next:only-child { grid-column: 2; }
.more-tools { border-top: 1px solid var(--line); }
@media (max-width: 40rem) {
  .pager { grid-template-columns: 1fr; }
  .pager-next, .pager-next:only-child { grid-column: 1; text-align: left; }
}

/* ===== Tasarım katmanı: sade yapı, tek merkez parça, ince detaylar ===== */
@view-transition { navigation: auto; }
::selection { background: color-mix(in oklab, var(--accent) 28%, transparent); }
.site-header { background: color-mix(in oklab, var(--bg) 80%, transparent); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); }
h1, h2 { letter-spacing: -0.02em; text-wrap: balance; }
.lead, .prose p { text-wrap: pretty; }

.hero { position: relative; isolation: isolate; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60rem 28rem at 78% -8%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(color-mix(in oklab, var(--text) 13%, transparent) 1px, transparent 1.3px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 35%, transparent 98%);
}
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.02; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(var(--s-8), 5vw, var(--s-16)); align-items: center; }
.hero-copy > * + * { margin-top: var(--s-5); }
.chip { display: inline-flex; align-items: center; gap: var(--s-2); padding: 0.3rem 0.75rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--bg-raised, var(--bg)); color: var(--muted); font: 500 var(--t-sm)/1.2 var(--mono); }
.chip .dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: oklch(0.68 0.17 150); box-shadow: 0 0 0 0 oklch(0.68 0.17 150 / 0.5); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.term { background: oklch(0.2 0.012 255); color: oklch(0.92 0.01 255); border: 1px solid oklch(0.32 0.02 255); border-radius: 12px; box-shadow: 0 1px 0 oklch(1 0 0 / 0.06) inset, 0 24px 48px -24px oklch(0.2 0.05 255 / 0.55); font-family: var(--mono); font-size: var(--t-sm); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 0.65rem 0.9rem; border-bottom: 1px solid oklch(0.3 0.02 255); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: oklch(0.42 0.02 255); }
.term-bar b { margin-left: auto; font-weight: 500; color: oklch(0.74 0.015 255); }
.term-prompt { padding: 0.9rem 1rem 0.4rem; color: oklch(0.92 0.01 255); }
.term-prompt span:first-child { color: oklch(0.8 0.15 150); margin-right: 0.5ch; }
.caret { display: inline-block; width: 0.55ch; height: 1.05em; margin-left: 0.4ch; vertical-align: text-bottom; background: oklch(0.92 0.01 255); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term ul { padding: 0 0.4rem 0.4rem; }
.term li a { display: grid; grid-template-columns: 10ch 1fr; gap: var(--s-3); padding: 0.4rem 0.6rem; border-radius: 6px; color: oklch(0.88 0.01 255); text-decoration: none; }
.term li a:hover, .term li a:focus-visible { background: oklch(0.29 0.03 255); color: #fff; outline: none; }
.t-cmd { color: oklch(0.8 0.13 235); }
.term-foot { padding: 0.5rem 1rem 0.9rem; }
.term-foot a { color: oklch(0.8 0.13 235); text-decoration: none; }
.term-foot a:hover { text-decoration: underline; }

main { counter-reset: sec; }
.section[id] > .wrap > h2:not(.label) { counter-increment: sec; }
.section[id] > .wrap > h2:not(.label)::before { content: counter(sec, decimal-leading-zero) " /"; display: block; margin-bottom: var(--s-2); color: var(--accent); font: 500 var(--t-sm)/1 var(--mono); letter-spacing: 0.04em; }

.rows a.row { transition: background-color .15s, padding-inline .2s; border-radius: 6px; }
.rows a.row:hover { padding-inline: var(--s-3); }
.rows a.row:hover .row-name { color: var(--accent); }
.rows .row-end { transition: transform .2s, color .15s; color: var(--soft); }
.rows a.row:hover .row-end { transform: translateX(4px); color: var(--accent); }
.btn { transition: border-color .15s, background-color .15s, transform .1s, box-shadow .2s; }
.btn-primary:hover { box-shadow: 0 6px 18px -8px var(--accent); }

@media (max-width: 52rem) { .hero-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .chip .dot, .caret { animation: none; } @view-transition { navigation: none; } }

/* ===== Çalıştığım alanlar ===== */
.areas { border-top: 1px solid var(--line); }
.areas > div { display: grid; grid-template-columns: 8rem 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.areas dt { font: 500 var(--t-sm)/1.7 var(--mono); color: var(--soft); }
.areas dd { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chips li { padding: 0.2rem 0.65rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--t-sm); color: var(--text); background: var(--bg); transition: border-color .15s, color .15s, transform .15s; }
.chips li:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
@media (max-width: 36rem) { .areas > div { grid-template-columns: 1fr; gap: var(--s-2); } }

/* ===== İletişim ===== */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(var(--s-6), 5vw, var(--s-12)); align-items: start; }
.contact-main > * + * { margin-top: var(--s-4); }
.contact-mail { display: inline-block; font: 500 clamp(1.25rem, 3.2vw, 1.9rem)/1.2 var(--serif, Georgia, serif); color: var(--text); letter-spacing: -0.01em; text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0% 2px no-repeat; transition: background-size .35s ease, color .15s; padding-bottom: 2px; overflow-wrap: anywhere; }
.contact-mail:hover { color: var(--accent); background-size: 100% 2px; }
.contact-tiles { display: grid; gap: var(--s-3); }
.contact-tiles a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s-1) var(--s-3); padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); text-decoration: none; transition: border-color .15s, transform .2s, box-shadow .2s; }
.contact-tiles a:hover, .contact-tiles a:focus-visible { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 24px -16px var(--accent); }
.contact-tiles .label { grid-column: 1; padding: 0; }
.contact-tiles .t-val { grid-column: 1; overflow-wrap: anywhere; }
.contact-tiles .row-end { grid-row: 1 / span 2; grid-column: 2; }
.contact-tiles .row-end { color: var(--soft); transition: transform .2s, color .15s; }
.contact-tiles a:hover .row-end { color: var(--accent); transform: translate(2px, -2px); }
@media (max-width: 52rem) { .contact { grid-template-columns: 1fr; } }

/* ===== Hareket: açılış, kaydırma ilerleme çizgisi, görünürken belirme ===== */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .term { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .term { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

  .site-header { position: sticky; }
  @supports (animation-timeline: scroll()) {
    .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); animation: progress linear both; animation-timeline: scroll(root block); }
    @keyframes progress { to { transform: scaleX(1); } }
  }
  [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  [data-reveal].is-in { opacity: 1; transform: none; }
  .timeline > li, .rows > li, .post-list > li { transition-delay: calc(var(--i, 0) * 50ms); }
}
.section > .wrap > p.heim-label { margin-top: var(--s-10); }

/* ===== Gösteri katmanı (fx.js ile birlikte; hareket azaltma tercihinde kapalı) ===== */
html { scroll-padding-top: 4.5rem; }
.site-header { transition: box-shadow .25s, background-color .25s; }
.site-header.is-scrolled { box-shadow: 0 10px 28px -20px oklch(0.2 0.03 255 / 0.6); }
.term { position: relative; will-change: transform; transition: transform .25s ease-out; }
.term::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s; background: radial-gradient(16rem circle at var(--mx, 50%) var(--my, 0%), oklch(1 0 0 / 0.09), transparent 65%); }
.term:hover::after { opacity: 1; }
.rows a.row:hover { background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 50%), color-mix(in oklab, var(--accent) 9%, transparent), transparent 70%), var(--bg-sunk); }
.contact-tiles a:hover { background: radial-gradient(14rem circle at var(--mx, 50%) var(--my, 50%), color-mix(in oklab, var(--accent) 10%, transparent), transparent 70%), var(--bg); }
.case { position: relative; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* Başlık kelimeleri */
  .fx-on .hero h1 { animation: none; opacity: 1; transform: none; }
  .hero h1 .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
  .hero h1 .w > span { display: inline-block; transform: translateY(105%); animation: wordUp .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
  @keyframes wordUp { to { transform: none; } }
  /* Terminal satırları */
  .term .t-hide { opacity: 0; transform: translateX(-8px); }
  .term li, .term .term-foot { transition: opacity .35s ease, transform .35s ease; }
  /* Yavaş süzülen ışıma */
  .hero::after { content: ""; position: absolute; z-index: -1; width: 34rem; height: 34rem; right: -8rem; top: -12rem; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 14%, transparent), transparent); animation: drift 18s ease-in-out infinite alternate; }
  @keyframes drift { to { transform: translate(-6rem, 5rem) scale(1.15); } }
  /* Başlık altı çizgisi ve etiketler */
  .section[id] > .wrap > h2:not(.label)::after { content: ""; display: block; height: 2px; width: 0; margin-top: var(--s-3); background: var(--accent); border-radius: 2px; transition: width .8s cubic-bezier(.2,.8,.2,1) .25s; }
  .section[id] > .wrap > h2:not(.label):not([data-reveal])::after, .section[id] > .wrap > h2.is-in::after { width: 2.5rem; }
  .areas.is-in .chips li { animation: pop .5s cubic-bezier(.2,.9,.3,1.2) both; animation-delay: calc(var(--k, 0) * 45ms); }
  @keyframes pop { from { opacity: 0; transform: scale(.85) translateY(6px); } to { opacity: 1; transform: none; } }
  /* Zaman çizgisi noktaları */
  .timeline > li::before { transition: transform .3s; }
  .timeline > li:hover::before { transform: scale(1.5); }
}
@media (hover: none) { .term { transition: none; } }

/* ===== Tema anahtarı: simgeli kaydırmalı düğme ===== */
.theme-toggle { padding: 0; width: auto; min-width: 0; border: 0; background: none; border-radius: 999px; display: inline-flex; align-items: center; }
.theme-toggle:hover { border: 0; }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tt-track { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; width: 3.5rem; height: 1.9rem; padding: 0 0.4rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--bg-sunk); color: var(--soft); transition: border-color .2s, background-color .3s; }
.theme-toggle:hover .tt-track { border-color: var(--muted); }
.tt-track svg { position: relative; z-index: 2; justify-self: center; transition: color .25s; }
.tt-knob { position: absolute; z-index: 1; top: 2px; left: 2px; width: calc(1.9rem - 6px); height: calc(1.9rem - 6px); border-radius: 50%; background: var(--bg); border: 1px solid var(--line-strong); box-shadow: 0 1px 3px oklch(0.2 0.02 255 / 0.25); transition: transform .35s cubic-bezier(.3,1.3,.5,1), background-color .3s; }
:root .tt-sun { color: var(--accent); }
:root[data-theme="dark"] .tt-knob { transform: translateX(calc(3.5rem - 1.9rem)); }
:root[data-theme="dark"] .tt-sun { color: var(--soft); }
:root[data-theme="dark"] .tt-moon { color: var(--accent); }
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: background-color .35s ease, color .35s ease, border-color .35s ease !important; }
@media (prefers-reduced-motion: reduce) { .tt-knob { transition: none; } }
.theme-anim .tt-knob { transition: transform .35s cubic-bezier(.3,1.3,.5,1), background-color .35s ease !important; }

/* ===== Yandan açılan paneller: Araç kutusu ve Notlarım ===== */
.pn-tabs { position: fixed; z-index: 30; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: var(--s-2); }
.pn-tab { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-3) var(--s-2); border: 1px solid var(--line-strong); border-right: 0; border-radius: 10px 0 0 10px; background: var(--bg); color: var(--muted); font: 500 var(--t-sm)/1 var(--font); cursor: pointer; box-shadow: -6px 6px 18px -14px oklch(0.2 0.03 255 / 0.5); transition: color .15s, background-color .15s, padding .2s, border-color .15s; }
.pn-tab:hover, .pn-tab:focus-visible { color: var(--accent); border-color: var(--accent); padding-right: var(--s-4); }
.pn-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pn-tab-text { writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: 0.02em; }
.pn-tab { flex-direction: column; }
.pn-overlay { position: fixed; inset: 0; z-index: 40; background: oklch(0.15 0.02 255 / 0.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.pn-drawer { position: fixed; z-index: 50; top: 0; right: 0; bottom: 0; width: min(27rem, 100vw); display: flex; flex-direction: column; background: var(--bg); border-left: 1px solid var(--line-strong); box-shadow: -24px 0 48px -28px oklch(0.15 0.03 255 / 0.55); transform: translateX(102%); visibility: hidden; transition: transform .38s cubic-bezier(.2,.8,.2,1), visibility 0s .38s; outline: none; }
.pn-open .pn-overlay { opacity: 1; visibility: visible; transition: opacity .3s; }
.pn-open .pn-drawer { transform: none; visibility: visible; transition: transform .38s cubic-bezier(.2,.8,.2,1); }
.pn-open { overflow: hidden; }
.pn-open .pn-tabs { opacity: 0; pointer-events: none; }
.pn-head { display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-5) var(--s-5) var(--s-4); border-bottom: 1px solid var(--line); }
.pn-titles { flex: 1; min-width: 0; }
.pn-title { font-size: var(--t-xl); line-height: 1.2; letter-spacing: -0.01em; }
.pn-sub { margin-top: var(--s-1); color: var(--muted); font-size: var(--t-sm); }
.pn-back, .pn-close { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: transparent; color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s; }
.pn-back[hidden] { display: none; }
.pn-back:hover, .pn-close:hover { color: var(--text); border-color: var(--muted); }
.pn-back:focus-visible, .pn-close:focus-visible, .pn-card:focus-visible, .pn-copy:focus-visible, .pn-more:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pn-body { flex: 1; overflow-y: auto; padding: var(--s-4) var(--s-5) var(--s-8); display: grid; align-content: start; gap: var(--s-3); overscroll-behavior: contain; }
.pn-card { position: relative; display: grid; gap: var(--s-1); padding: var(--s-4) var(--s-8) var(--s-4) var(--s-4); border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); text-align: left; text-decoration: none; font: inherit; cursor: pointer; transition: border-color .15s, transform .2s, background-color .15s; }
.pn-card:hover { border-color: var(--accent); background: var(--bg-sunk); transform: translateX(-2px); }
.pn-card svg { position: absolute; right: var(--s-4); top: 50%; margin-top: -9px; color: var(--soft); transition: transform .2s, color .15s; }
.pn-card:hover svg { color: var(--accent); transform: translateX(3px); }
.pn-card-name { font-weight: 600; }
.pn-card-desc { color: var(--muted); font-size: var(--t-sm); }
.pn-meta { font: 500 var(--t-xs, 0.75rem)/1 var(--mono); color: var(--accent); letter-spacing: 0.03em; }
.pn-prose > * + * { margin-top: var(--s-4); }
.pn-prose h3 { font-size: var(--t-lg); margin-top: var(--s-6); }
.pn-prose ul { list-style: disc; padding-left: 1.25rem; }
.pn-prose li + li { margin-top: var(--s-2); }
.pn-code { position: relative; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg-sunk); }
.pn-code pre { margin: 0; padding: var(--s-4); padding-right: 5.5rem; overflow-x: auto; font: 400 var(--t-sm)/1.6 var(--mono); }
.pn-copy { position: absolute; top: var(--s-2); right: var(--s-2); padding: 0.25rem 0.6rem; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--bg); color: var(--muted); font: 500 var(--t-xs, 0.75rem)/1.2 var(--font); cursor: pointer; }
.pn-copy:hover { color: var(--text); }
.pn-more { justify-self: start; margin-top: var(--s-2); }
@media (max-width: 40rem) {
  .pn-tabs { top: auto; bottom: var(--s-4); right: var(--s-4); transform: none; flex-direction: row; gap: var(--s-2); }
  .pn-tab { border: 1px solid var(--line-strong); border-radius: 999px; padding: var(--s-3); box-shadow: 0 8px 20px -12px oklch(0.2 0.03 255 / 0.6); flex-direction: row; }
  .pn-tab:hover, .pn-tab:focus-visible { padding: var(--s-3); }
  .pn-tab-text { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pn-drawer, .pn-overlay { transition: none !important; } }
@media print { .pn-tabs, .pn-overlay, .pn-drawer { display: none !important; } }

/* ===== Tehdit haritası: çerçevesiz, yumuşak ===== */
.map-box { border: 0; border-radius: 20px; background: #0b0d10; box-shadow: 0 40px 70px -40px oklch(0.2 0.05 255 / 0.55); overflow: hidden; }
.map-box iframe { display: block; height: clamp(17rem, 46vw, 28rem); }
.map-credit { margin-top: var(--s-3); color: var(--soft); font-size: var(--t-sm); }
.map-credit a { color: inherit; }

/* ===== Ana sayfa: küçük araçlar ve yazılar ===== */
.mini-tools { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mini-tools a { display: inline-block; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--surface-2, oklch(0.5 0 0 / 0.08)); color: var(--text); font-size: var(--t-sm); text-decoration: none; transition: background .2s, transform .2s; }
.mini-tools a:hover { background: oklch(0.5 0.1 250 / 0.18); transform: translateY(-1px); }
.mini-posts { list-style: none; margin: var(--s-4) 0 0; padding: 0; }
.mini-posts li { display: flex; gap: 1rem; align-items: baseline; padding: 0.55rem 0; border-top: 1px solid var(--line); }
.mini-posts li:last-child { border-bottom: 1px solid var(--line); }
.mini-posts time { flex: none; width: 9.5rem; color: var(--soft); font-size: var(--t-sm); }
.mini-posts a { color: var(--text); text-decoration: none; font-size: var(--t-base, 1rem); }
.mini-posts a:hover { text-decoration: underline; }
.mini-more { margin-top: var(--s-3); font-size: var(--t-sm); }
@media (max-width: 36rem) { .mini-posts li { flex-direction: column; gap: 0.1rem; } .mini-posts time { width: auto; } }

/* =====================================================================
   TASARIM v3 — altyapı teması: lacivert/mavi, izometrik görseller, kartlar
   ===================================================================== */
:root {
  --n-50: oklch(0.985 0.005 265); --n-100: oklch(0.965 0.008 265); --n-200: oklch(0.925 0.012 265);
  --n-300: oklch(0.87 0.016 265); --n-400: oklch(0.76 0.02 265); --n-500: oklch(0.64 0.025 265);
  --n-600: oklch(0.52 0.03 265); --n-700: oklch(0.42 0.035 265); --n-800: oklch(0.32 0.04 265);
  --n-900: oklch(0.24 0.04 265); --n-950: oklch(0.17 0.035 265);
  --serif: var(--font);
  --wrap: 72rem; --wrap-wide: 76rem;
  --bg: oklch(0.985 0.006 265); --bg-sunk: oklch(0.96 0.01 265); --surface: #fff;
  --line: oklch(0.91 0.014 265); --line-strong: oklch(0.84 0.02 265);
  --text: oklch(0.23 0.04 265); --muted: oklch(0.44 0.035 265); --soft: oklch(0.54 0.03 265);
  --accent: oklch(0.52 0.21 262); --accent-hover: oklch(0.45 0.21 262); --accent-ink: #fff;
  --accent-soft: oklch(0.95 0.035 262); --accent-2: oklch(0.7 0.15 215);
  --grad: linear-gradient(120deg, oklch(0.55 0.22 268), oklch(0.65 0.17 225));
  --shadow: 0 1px 2px oklch(0.3 0.05 265 / .06), 0 14px 34px -18px oklch(0.3 0.08 265 / .28);
  --r-md: 14px;
}
:root[data-theme="dark"] {
  --bg: oklch(0.155 0.035 265); --bg-sunk: oklch(0.13 0.032 265); --surface: oklch(0.2 0.04 265);
  --line: oklch(0.28 0.045 265); --line-strong: oklch(0.37 0.05 265);
  --text: oklch(0.96 0.01 265); --muted: oklch(0.8 0.025 265); --soft: oklch(0.7 0.03 265);
  --accent: oklch(0.74 0.15 250); --accent-hover: oklch(0.82 0.13 250); --accent-ink: oklch(0.16 0.035 265);
  --accent-soft: oklch(0.27 0.06 262); --accent-2: oklch(0.78 0.13 200);
  --grad: linear-gradient(120deg, oklch(0.78 0.15 250), oklch(0.82 0.13 200));
  --shadow: 0 1px 2px #0006, 0 18px 40px -20px #000a;
}
body { background: var(--bg); }
h1, h2, h3, h4 { font-family: var(--font); letter-spacing: -0.022em; font-weight: 750; }
:root[data-theme="dark"] body { background: radial-gradient(60rem 30rem at 85% -5%, oklch(0.3 0.12 265 / .45), transparent 60%), var(--bg); }
.wrap-wide { max-width: var(--wrap-wide); }

/* üst menü */
.site-header { backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); background: color-mix(in oklch, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 750; letter-spacing: -0.02em; }
.brand .mark { width: 28px; height: 28px; }
.brand .m1 { fill: var(--accent); stroke: none; }
.brand .m2 { fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linecap: round; }
.nav-cta { padding: .45rem 1rem; font-size: var(--t-sm); }
@media (max-width: 52rem) { .nav-cta { display: none; } }

/* kahraman */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40rem 26rem at 78% 40%, color-mix(in oklch, var(--accent) 18%, transparent), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; position: relative; }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 4.6rem); line-height: 1.02; margin: .9rem 0 .4rem; }
.hero .role { font-size: var(--t-lg); font-weight: 650; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 0 var(--s-4); }
.hero .lead { color: var(--muted); max-width: 34rem; font-size: var(--t-lg); line-height: 1.55; }
.btn { border-radius: 999px; padding: .7rem 1.4rem; font-weight: 650; }
.btn-primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 24px -12px var(--accent); }
:root[data-theme="dark"] .btn-primary { color: oklch(0.16 0.04 265); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--accent); }
.stats { list-style: none; padding: 0; margin: var(--s-8) 0 0; display: grid; grid-template-columns: repeat(3, auto); gap: var(--s-6); justify-content: start; }
.stats li { border-left: 2px solid var(--accent); padding-left: var(--s-3); }
.stats b { display: block; font-size: var(--t-base); }
.stats span { color: var(--soft); font-size: var(--t-sm); }
.hero-art { position: relative; }
.iso { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 40px color-mix(in oklch, var(--accent) 25%, transparent)); }
.iso .floor { fill: color-mix(in oklch, var(--accent) 8%, var(--surface)); stroke: var(--line-strong); stroke-width: 1; }
.iso .grid { stroke: var(--line); stroke-width: 1; fill: none; }
.iso .iso-t.c1 { fill: oklch(0.8 0.1 250); } .iso .iso-l.c1 { fill: oklch(0.58 0.17 262); } .iso .iso-r.c1 { fill: oklch(0.5 0.18 265); }
.iso .iso-t.c2 { fill: oklch(0.42 0.06 265); } .iso .iso-l.c2 { fill: oklch(0.3 0.06 265); } .iso .iso-r.c2 { fill: oklch(0.24 0.06 265); }
.iso .iso-t.c3 { fill: oklch(0.82 0.13 55); } .iso .iso-l.c3 { fill: oklch(0.66 0.17 40); } .iso .iso-r.c3 { fill: oklch(0.56 0.17 35); }
:root[data-theme="dark"] .iso .iso-t.c2 { fill: oklch(0.5 0.07 265); } :root[data-theme="dark"] .iso .iso-l.c2 { fill: oklch(0.36 0.07 265); }
.iso .slot { fill: oklch(0.2 0.05 265); } .iso .brick { fill: oklch(0.45 0.15 35); } .iso .port { fill: oklch(0.2 0.06 265); }
.iso .led { fill: oklch(0.85 0.2 150); } .iso .screen { fill: oklch(0.25 0.07 255); } .iso .ln { fill: oklch(0.8 0.12 220); }
.iso .link { stroke: var(--accent); stroke-width: 2; fill: none; stroke-dasharray: 5 7; opacity: .75; animation: dash 1.6s linear infinite; }
.iso .link.v { opacity: .55; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.iso .cloud { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; }
.iso .shield path { fill: oklch(0.7 0.18 40); stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.iso .shield .tick { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.iso .wifi { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; opacity: .9; }
.iso .wdot { fill: var(--accent); }
.iso .pkt { fill: oklch(0.85 0.17 200); }
@media (prefers-reduced-motion: reduce) { .iso .link { animation: none; } .iso .pkt { display: none; } }
@media (max-width: 56rem) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 30rem; margin-inline: auto; } .stats { grid-template-columns: 1fr; gap: var(--s-3); } }

/* bölüm başlıkları */
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section[id] > .wrap > h2:not(.label) { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); }
.section[id] > .wrap > h2:not(.label)::after { background: var(--grad); height: 3px; border-radius: 3px; }
.panel-h { font-size: var(--t-lg); margin: 0 0 var(--s-4); }

/* hakkımda + zaman çizelgesi kartı */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-top: var(--s-6); }
.about-grid .prose p { color: var(--muted); font-size: var(--t-base); line-height: 1.7; }
.card-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow); }
.card-panel .timeline h4 { font-size: var(--t-base); margin: 0; }
.card-panel .timeline li { padding-bottom: var(--s-5); }
.card-panel .timeline ul { margin: .4rem 0 0; color: var(--muted); font-size: var(--t-sm); padding-left: 1.1rem; }
@media (max-width: 56rem) { .about-grid { grid-template-columns: 1fr; } }

/* çalıştığım alanlar */
.area-grid { list-style: none; padding: 0; margin: var(--s-8) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--s-5); }
.acard { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: var(--s-6); box-shadow: var(--shadow); transition: transform .25s var(--ease), border-color .25s; }
.acard:hover { transform: translateY(-4px); border-color: var(--accent); }
.acard h3 { margin: var(--s-4) 0 var(--s-3); font-size: var(--t-lg); }
.ac-ic, .tc-ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.acard .chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.acard .chips li { font-size: var(--t-sm); padding: .2rem .65rem; border-radius: 999px; background: var(--bg-sunk); color: var(--muted); border: 1px solid var(--line); }

/* proje kartları */
.proj-grid, .tool-grid, .post-grid { list-style: none; padding: 0; margin: var(--s-8) 0 0; display: grid; gap: var(--s-5); }
.proj-grid { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.jcard { display: flex; flex-direction: column; height: 100%; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .25s var(--ease), border-color .25s; }
.jcard:hover { transform: translateY(-5px); border-color: var(--accent); }
.jc-art { position: relative; display: grid; place-items: center; height: 10.5rem; color: #fff; background: linear-gradient(135deg, oklch(0.5 0.2 var(--h, 265)), oklch(0.36 0.16 calc(var(--h, 265) + 40))); overflow: hidden; }
.jc-art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, #fff3 1px, transparent 1.5px); background-size: 18px 18px; }
.jc-ic { position: relative; filter: drop-shadow(0 6px 12px #0005); }
.jc-ver { position: absolute; right: .8rem; top: .8rem; font: 600 .75rem var(--mono); padding: .2rem .55rem; border-radius: 999px; background: #0004; color: #fff; }
.jc-body { display: flex; flex-direction: column; gap: .35rem; padding: var(--s-5) var(--s-6) var(--s-6); }
.jc-name { font-size: var(--t-xl); font-weight: 750; letter-spacing: -0.02em; }
.jc-desc { color: var(--muted); font-size: var(--t-sm); line-height: 1.5; }
.jc-go { margin-top: .4rem; color: var(--accent); font-weight: 650; font-size: var(--t-sm); }
.jcard.h235 { --h: 235; } .jcard.h265 { --h: 265; } .jcard.h320 { --h: 320; }

/* araç kartları */
.tool-grid { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: var(--s-4); }
.tcard { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s-4); row-gap: .2rem; align-items: center; padding: var(--s-4) var(--s-5); height: 100%; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.tcard:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.tc-ic { grid-row: span 2; }
.tc-name { font-weight: 700; }
.tc-desc { grid-column: 2; color: var(--soft); font-size: var(--t-sm); line-height: 1.4; }

/* yazı kartları */
.post-grid { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.pcard { display: flex; flex-direction: column; height: 100%; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.pcard:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.thumb { height: 8rem; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, oklch(0.55 0.19 var(--h)), oklch(0.38 0.14 calc(var(--h) + 35))); position: relative; overflow: hidden; }
.thumb::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#fff1 1px, transparent 1px), linear-gradient(90deg, #fff1 1px, transparent 1px); background-size: 22px 22px; }
.thumb svg { width: 5rem; height: 5rem; position: relative; stroke-width: .8; filter: drop-shadow(0 6px 10px #0004); }
.thumb.h160 { --h: 160; } .thumb.h215 { --h: 215; } .thumb.h20 { --h: 20; } .thumb.h280 { --h: 280; } .thumb.h340 { --h: 340; } .thumb.h250 { --h: 250; }
.pc-body { display: flex; flex-direction: column; gap: .4rem; padding: var(--s-5); }
.pc-meta { display: flex; gap: .7rem; align-items: center; font-size: .78rem; color: var(--soft); }
.pc-tag { padding: .12rem .55rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 650; }
.pc-title { font-weight: 750; font-size: var(--t-lg); line-height: 1.25; letter-spacing: -0.015em; }
.pc-sum { color: var(--muted); font-size: var(--t-sm); line-height: 1.5; }
.more { margin-top: var(--s-6); }

/* harita ve diğerleri */
.map-box { border-radius: 22px; }
.contact-mail { font-size: clamp(1.4rem, 1rem + 2vw, 2.2rem); }

/* altbilgi */
.site-footer { margin-top: var(--s-12); padding: var(--s-12) 0 var(--s-8); background: var(--bg-sunk); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--s-8); }
.foot-about p { color: var(--muted); font-size: var(--t-sm); max-width: 22rem; margin-top: var(--s-3); }
.foot-grid nav { display: flex; flex-direction: column; gap: .5rem; }
.foot-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--soft); margin: 0 0 .3rem; font-weight: 700; }
.foot-grid nav a { color: var(--muted); font-size: var(--t-sm); text-decoration: none; }
.foot-grid nav a:hover { color: var(--accent); }
.foot-copy { margin: var(--s-10) 0 0; padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--soft); font-size: var(--t-sm); }
@media (max-width: 52rem) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* iç sayfalar yeni renk ve kartlarla uyumlu */
.rows .row, .post-list li, .code, .toc, .tool-box, .card { border-radius: 14px; }
@media (min-width: 72rem) { .area-grid { grid-template-columns: repeat(5, 1fr); } }
.tcard { align-items: start; }
.tc-ic { grid-row: span 2; align-self: start; }
.iso .cloud { fill: oklch(0.96 0.02 250); stroke: oklch(0.8 0.05 250); }
.card-panel .timeline li > ul li { padding-bottom: 0; }

/* ===== v4: kapak görselleri, kartlar, iletişim ===== */
.cover { display: block; position: relative; overflow: hidden; background: linear-gradient(135deg, oklch(0.5 0.18 var(--h)), oklch(0.32 0.13 calc(var(--h) + 40))); }
.cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, #fff2 1px, transparent 1.5px); background-size: 16px 16px; }
.hue20 { --h: 20; }
.hue160 { --h: 160; }
.hue190 { --h: 190; }
.hue215 { --h: 215; }
.hue235 { --h: 235; }
.hue250 { --h: 250; }
.hue265 { --h: 265; }
.hue280 { --h: 280; }
.hue300 { --h: 300; }
.hue320 { --h: 320; }
.hue340 { --h: 340; }
.cv { position: relative; display: block; width: 100%; height: 100%; }
.cv-win { fill: oklch(0.16 0.03 265 / .92); stroke: #fff3; stroke-width: 1; }
.cv-bar { fill: oklch(0.26 0.04 265 / .95); }
.cv-d1 { fill: #ff6b6b; } .cv-d2 { fill: #ffd166; } .cv-d3 { fill: #5ee08a; }
.cv-ti { font: 600 8.5px var(--mono); fill: #aab4d0; }
.cv-t { font: 500 9.5px var(--mono); fill: #c4cce3; }
.cv-t.mut, .cv-v.mut { fill: #8f9bbd; } .cv-t.ok, .cv-v.ok { fill: #5ee08a; } .cv-t.bad, .cv-v.bad { fill: #ff7b7b; } .cv-t.acc, .cv-v.acc { fill: #7cc4ff; }
.cv-v { font: 600 9.5px var(--mono); fill: #c4cce3; }
.cv-row { fill: #ffffff0d; }
.cv-tile { fill: #ffffff12; stroke: #fff2; }
.cv-ln { stroke: #7cc4ff; stroke-width: 1.5; stroke-dasharray: 3 4; fill: none; }
.cv-nd { fill: oklch(0.32 0.08 255); stroke: #7cc4ff; stroke-width: 1.5; } .cv-nd2 { fill: #7cc4ff; }
.cv-sh { fill: oklch(0.7 0.18 40); stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; } .cv-tk { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.cv-meter { fill: #ffffff18; } .cv-meter2 { fill: #5ee08a; }

/* çalıştığım alanlar */
.area-grid { grid-template-columns: repeat(6, 1fr); gap: var(--s-6); }
.acard { grid-column: span 2; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.acard:nth-child(n+4) { grid-column: span 3; }
.acard .cover { aspect-ratio: 2 / 1; }
.ac-body { padding: var(--s-5) var(--s-6) var(--s-6); }
.acard h3 { margin: 0 0 .35rem; font-size: var(--t-xl); }
.acard p { margin: 0 0 var(--s-4); color: var(--muted); font-size: var(--t-sm); line-height: 1.55; }
@media (max-width: 62rem) { .area-grid { grid-template-columns: repeat(2, 1fr); } .acard, .acard:nth-child(n+4) { grid-column: span 1; } }
@media (max-width: 38rem) { .area-grid { grid-template-columns: 1fr; } }

/* projeler */
.jc-art { height: auto; aspect-ratio: 16 / 9; display: block; background: linear-gradient(135deg, oklch(0.5 0.18 var(--h)), oklch(0.32 0.13 calc(var(--h) + 40))); }
.jc-shot { position: absolute; left: 7%; top: 12%; width: 86%; height: auto; border-radius: 10px 10px 0 0; box-shadow: 0 18px 40px -10px #000a; border: 1px solid #fff3; transition: transform .5s var(--ease); }
.jcard:hover .jc-shot { transform: translateY(-6px) scale(1.02); }
.jc-logo { position: absolute; left: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 11px; background: #0008; padding: 4px; box-shadow: 0 6px 16px #0006; }
.jc-art .cv { position: absolute; inset: 0; }
.jc-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.jc-ver { position: static; background: var(--accent-soft); color: var(--accent); padding: .15rem .6rem; font-size: .75rem; }

/* araçlar */
.tool-grid { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: var(--s-5); }
.tcard { display: flex; flex-direction: column; padding: 0; overflow: hidden; gap: 0; }
.tcard .cover { aspect-ratio: 2 / 1; }
.tc-body { display: flex; flex-direction: column; gap: .25rem; padding: var(--s-4) var(--s-5) var(--s-5); }
.tc-name { font-weight: 750; font-size: var(--t-lg); letter-spacing: -0.015em; }
.tc-desc { grid-column: auto; }

/* yazılar */
.post-grid { grid-template-columns: repeat(2, 1fr); }
.pcard .cover { aspect-ratio: 2 / 1; }
.post-grid li.is-feat { grid-column: 1 / -1; }
.post-grid li.is-feat .pcard { flex-direction: row; }
.post-grid li.is-feat .cover { flex: 1.1; aspect-ratio: auto; min-height: 16rem; }
.post-grid li.is-feat .pc-body { flex: 1; justify-content: center; padding: var(--s-8); }
.post-grid li.is-feat .pc-title { font-size: var(--t-2xl); line-height: 1.15; }
.pc-meta { flex-wrap: wrap; }
@media (max-width: 52rem) { .post-grid { grid-template-columns: 1fr; } .post-grid li.is-feat .pcard { flex-direction: column; } .post-grid li.is-feat .cover { aspect-ratio: 2 / 1; min-height: 0; } .post-grid li.is-feat .pc-body { padding: var(--s-5); } }

/* iletişim */
.contact2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; margin-top: var(--s-8); padding: clamp(1.5rem, 4vw, 3rem); border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(40rem 20rem at 0% 0%, color-mix(in oklch, var(--accent) 16%, transparent), transparent 70%), var(--surface); box-shadow: var(--shadow); }
.c2-lead { margin: 0 0 var(--s-4); color: var(--muted); font-size: var(--t-lg); line-height: 1.5; max-width: 28rem; }
.c2-mail { display: block; font-size: clamp(1.35rem, 1rem + 1.6vw, 2rem); font-weight: 750; letter-spacing: -0.02em; color: var(--text); text-decoration: none; margin-bottom: var(--s-5); word-break: break-word; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c2-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.c2-list a { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-5); border-radius: 16px; border: 1px solid var(--line); background: var(--bg); color: var(--accent); text-decoration: none; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.c2-list a:hover { transform: translateX(4px); border-color: var(--accent); box-shadow: var(--shadow); }
.c2-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.c2-t b { color: var(--text); font-size: var(--t-base); }
.c2-t small { color: var(--soft); font-size: var(--t-sm); overflow-wrap: anywhere; }
.c2-go { color: var(--soft); }
@media (max-width: 52rem) { .contact2 { grid-template-columns: 1fr; } }

/* ===== v5: gerçek fotoğraf kapaklar, site rengine ton ===== */
.pcover { display: block; position: relative; overflow: hidden; aspect-ratio: 2 / 1; background: oklch(0.2 0.06 265); isolation: isolate; }
.pcover .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(.95); transition: transform .6s var(--ease); }
.pcover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, oklch(0.55 0.2 262), oklch(0.62 0.15 225)); mix-blend-mode: color; opacity: .95; }
.pcover::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, oklch(0.18 0.06 265 / .15) 40%, oklch(0.14 0.06 265 / .72)); mix-blend-mode: multiply; }
a:hover > .pcover .ph, a:hover .pcover .ph { transform: scale(1.06); }
.jc-art.pcover { aspect-ratio: 16 / 9; }
.jc-art.pcover .jc-logo { z-index: 3; }
.jc-art.hue255 { --h: 262; background: linear-gradient(135deg, oklch(0.42 0.17 262), oklch(0.26 0.09 268)); }
.jc-shot { z-index: 1; }
.jc-art.hue255 .jc-logo { z-index: 3; }
.post-grid li.is-feat .pcover { flex: 1.1; aspect-ratio: auto; min-height: 16rem; }
@media (max-width: 52rem) { .post-grid li.is-feat .pcover { aspect-ratio: 2 / 1; min-height: 0; } }
.credits-wrap { padding: var(--s-6) 0 0; }
.credits { color: var(--soft); font-size: .78rem; line-height: 1.6; max-width: 60rem; }
.credits a { color: inherit; }

/* v5b: doğal renk, hafif lacivert ton */
.pcover .ph { filter: saturate(.82) contrast(1.05) brightness(.92); }
.pcover::before { background: linear-gradient(135deg, oklch(0.5 0.14 262), oklch(0.32 0.09 268)); mix-blend-mode: soft-light; opacity: .6; }
.pcover::after { background: linear-gradient(180deg, transparent 45%, oklch(0.14 0.05 265 / .6)); mix-blend-mode: normal; }
.tcard .pcover, .tcard .cover { width: 100%; align-self: stretch; }
