/* ieaslan.com — Seçenek B (TASK-005). Editoryal iki sütun: solda sabit kimlik rayı, sağda içerik/sohbet.
   Tipografi: serif başlık (Iowan Old Style → Palatino → Georgia), sistem sans gövde, mono etiketler. Harici font yok. */

:root {
  /* TASK-006: A'nın nötr gri/siyah paletiyle harmanlandı (sıcak/sarımsı kâğıt tonu kaldırıldı);
     petrol yeşili yalnız vurgu (bağlantı, etkin menü, durum). Birincil düğme ve "ben" balonu A gibi mürekkep siyahı. */
  --paper: #f8f8f8;
  --paper-2: #efefef;
  --paper-3: #e6e6e6;
  --surface: #ffffff;
  --ink: #141414;
  --ink-2: #3a3a3a;
  --ink-3: #636366;
  --line: #e2e2e4;
  --accent: #0f6e66;
  --accent-2: #0b5751;
  --accent-ink: #ffffff;
  --accent-soft: #dcecea;
  --btn-bg: #141414;
  --btn-fg: #ffffff;
  --btn-bg-hover: #0f6e66;
  --warn: #b0301c;
  --bubble-owner: #ffffff;
  --bubble-me: #141414;
  --bubble-me-ink: #ffffff;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 24px -12px rgba(0, 0, 0, .12);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --top-h: 61px; /* 60 + 1px alt kenarlık */
  --gutter: 24px;
  --max: 1360px;
  color-scheme: light;
}
[data-theme="dark"] {
  --paper: #0e0e10;
  --paper-2: #1b1b1f;
  --paper-3: #26262b;
  --surface: #151518;
  --ink: #f2f2f2;
  --ink-2: #d4d4d6;
  --ink-3: #9a9aa1;
  --line: #2a2a2f;
  --accent: #5fc4b7;
  --accent-2: #7ad3c8;
  --accent-ink: #0b1a18;
  --accent-soft: #16302d;
  --btn-bg: #f2f2f2;
  --btn-fg: #0d0d0d;
  --btn-bg-hover: #5fc4b7;
  --warn: #ec8a74;
  --bubble-owner: #1f1f24;
  --bubble-me: #f2f2f2;
  --bubble-me-ink: #0d0d0d;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

/* ---------------------------------------------------------------- temel */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html.theme-anim body, html.theme-anim body * { transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
img { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 50; padding: 8px 12px; background: var(--ink); color: var(--paper); border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- üst bar */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  min-height: calc(var(--top-h) - 1px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.wordmark {
  justify-self: start;
  font-family: var(--font-display); font-style: italic; font-size: 24px; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none; padding: 6px 0;
}
.wordmark span { color: var(--accent); }
.nav { min-width: 0; }
.nav__inner { display: flex; gap: 2px; }
.nav a {
  display: inline-block; padding: 8px 12px; border-radius: var(--r-sm);
  color: var(--ink-2); text-decoration: none; font-size: 15px; white-space: nowrap; position: relative;
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 1px; background: var(--accent);
}
.controls { justify-self: end; display: flex; gap: 8px; }
.ctl {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2); color: var(--ink-2); cursor: pointer;
}
.ctl:hover { color: var(--ink); border-color: var(--ink-3); }
.ctl--theme { width: 36px; padding: 0; justify-content: center; }
.ctl__moon, [data-theme="dark"] .ctl__sun { display: none; }
[data-theme="dark"] .ctl__moon { display: block; }
.ctl--lang { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; }
.ctl__tr, .ctl__en { display: inline-flex; align-items: center; gap: 6px; }
.ctl__tr, html[lang="en"] .ctl__en { display: none; }
html[lang="en"] .ctl__tr { display: inline-flex; }
/* Düğme, geçilecek dili gösterir: TR'de "EN", EN'de "TR". */
.flag--sm { border-radius: 2px; }

/* ---------------------------------------------------------------- kabuk: ray + içerik */
.shell {
  max-width: var(--max); margin: 0 auto; padding: 32px var(--gutter) 40px;
  display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 56px; align-items: start;
}
.rail {
  position: sticky; top: calc(var(--top-h) + 32px);
  display: flex; flex-direction: column; gap: 20px;
  min-height: calc(100vh - var(--top-h) - 72px);
  min-height: calc(100dvh - var(--top-h) - 72px);
}
.rail__id { display: flex; flex-direction: column; gap: 18px; }
.avatar {
  display: block; width: 128px; height: 128px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--line), var(--shadow);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.rail__name { font-family: var(--font-display); font-size: 32px; line-height: 1.1; font-weight: 500; letter-spacing: -.015em; margin: 0; }
.rail__role { margin-top: 8px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.rail__sep { margin: 0 8px; color: var(--accent); }
.rail__intro { color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 34ch; }
.rail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.social { display: flex; gap: 2px; }
.social__item {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--r-sm);
  color: var(--ink-2); text-decoration: none;
}
.social__item:hover { color: var(--ink); background: var(--paper-2); }
.social__item--soon { color: var(--ink-3); opacity: .55; cursor: default; }
.social__item--soon:hover { background: none; color: var(--ink-3); }

/* imza bloğu (rayın altında; mobilde footer) — TASK-007: A'daki gibi alt alta, ortalı */
.sign, .foot { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.sign { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.sign__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sign__mark { display: inline-flex; border-radius: var(--r-sm); }
.sign__mark img { display: block; height: 32px; width: auto; }
[data-theme="dark"] .sign__mark img { filter: invert(1) brightness(1.1); }
.sign__flag { display: inline-flex; margin-top: 8px; }
.sign__flag svg { display: block; border-radius: 50%; filter: drop-shadow(0 2px 4px rgba(227, 10, 23, .25)); }
.foot { display: none; max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 36px; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- düğmeler, etiketler */
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px;
  border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 600; font-size: 15px; cursor: pointer;
}
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.btn--primary:hover { background: var(--btn-bg-hover); border-color: var(--btn-bg-hover); color: var(--btn-fg); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-3); background: var(--paper-2); color: var(--ink); }
.btn:disabled { opacity: .6; cursor: progress; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.eyebrow a { text-decoration: none; }
.tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.tag--live { background: var(--accent-soft); color: var(--accent-2); }
.tag--soon { background: var(--paper-2); color: var(--ink-3); border: 1px solid var(--line); }
.pill { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px dashed var(--line); color: var(--ink-3); font-size: 14px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.muted { color: var(--ink-3); }

/* ---------------------------------------------------------------- sohbet paneli */
.main { min-width: 0; }
.chat {
  display: flex; flex-direction: column;
  height: calc(100vh - var(--top-h) - 72px);
  height: calc(100dvh - var(--top-h) - 72px);
  min-height: 460px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  overflow: hidden;
}
.chat__head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--surface);
  font-size: 14px; color: var(--ink-2);
}
.chat__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.chat__title { font-weight: 600; color: var(--ink); }
.chat__hint { color: var(--ink-3); }
.chat__tag { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.chat__log { flex: 1; overflow-y: auto; padding: 22px 20px 10px; display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth; }
.msg { display: grid; max-width: 78%; gap: 6px; }
.msg--owner { justify-self: start; grid-template-columns: auto 1fr; column-gap: 10px; }
.msg--owner .msg__bubble { grid-column: 2; }
.msg--owner .msg__meta { grid-column: 2; }
.msg--me { justify-self: end; justify-items: end; }
.msg__avatar { grid-row: 1; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; align-self: end; box-shadow: 0 0 0 1px var(--line); }
.msg__avatar img { width: 100%; height: 100%; object-fit: cover; }
.msg--owner:not(.msg--hello) { grid-template-columns: 1fr; }
.msg--owner:not(.msg--hello) .msg__bubble, .msg--owner:not(.msg--hello) .msg__meta { grid-column: 1; }
.msg__bubble {
  padding: 12px 16px; border-radius: var(--r-md); background: var(--bubble-owner); color: var(--ink);
  border: 1px solid var(--line); font-size: 15px; line-height: 1.5;
}
.msg__bubble p { overflow-wrap: anywhere; white-space: pre-wrap; }
.msg__bubble p + p { margin-top: 8px; }
.msg--owner .msg__bubble { border-bottom-left-radius: 4px; }
.msg--me .msg__bubble { background: var(--bubble-me); color: var(--bubble-me-ink); border-color: var(--bubble-me); border-bottom-right-radius: 4px; }
.msg__lead { font-family: var(--font-display); font-size: 18px; }
.msg__meta { font-size: 12px; color: var(--ink-3); padding: 0 4px; }
.msg__meta--err { color: var(--warn); }
.composer {
  display: flex; align-items: flex-end; gap: 10px; margin: 10px 14px 0;
  padding: 8px 8px 8px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
}
.composer:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.composer textarea {
  flex: 1; min-width: 0; resize: none; border: 0; background: transparent; padding: 8px 0; max-height: 132px; line-height: 1.45; font-size: 15px; outline: none;
}
.composer textarea::placeholder { color: var(--ink-3); }
.composer__send {
  flex: none; width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.composer__send:hover { background: var(--btn-bg-hover); }
.composer__send:disabled { opacity: .55; cursor: progress; }
.is-sending .composer__send svg { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: translateX(3px); opacity: .6; } }
.chat__note { display: flex; justify-content: space-between; gap: 12px; padding: 8px 20px 12px; font-size: 12px; color: var(--ink-3); }
.chat__note--warn #chatStatus { color: var(--warn); }
.chat__count.is-near { color: var(--warn); }

/* ---------------------------------------------------------------- sayfalar */
.page { max-width: 760px; }
.page--wide { max-width: none; }
.page--center { margin: 0 auto; text-align: center; padding-top: 40px; }
.page--center .cta { justify-content: center; }
.page__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.page__head h1 { font-size: clamp(30px, 3.4vw, 42px); }
.lead { color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 60ch; }
.page--center .lead { margin: 0 auto; }
.empty { color: var(--ink-3); padding: 24px; border: 1px dashed var(--line); border-radius: var(--r-md); }

/* Projelerim */
.cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card--live { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.card__media { display: block; aspect-ratio: 16 / 10; background: var(--paper-3); border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__name { font-size: 20px; }
.card__domains { display: flex; flex-wrap: wrap; gap: 4px 12px; font-family: var(--font-mono); font-size: 12.5px; }
.card__domains a { color: var(--ink-3); text-decoration: none; }
.card__domains a:hover { color: var(--accent); text-decoration: underline; }
.card__desc { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
/* TASK-006: kartın tamamı detaya gider (başlık bağlantısı kartı kaplar); alan adı bağlantıları üstte kalır. */
.card__link { color: var(--ink); text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.card:hover .card__link { color: var(--accent); }
.card__domains a { position: relative; z-index: 1; }
.card__more { margin-top: auto; padding-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); display: flex; gap: 6px; }
.card__arrow { color: var(--accent); transition: transform .2s ease; }
.card:hover .card__arrow { transform: translateX(3px); }
.card__body { flex: 1; }
.tag--soon { background: transparent; }

/* Proje detayı (TASK-006) */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.proj__head { padding-bottom: 32px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.proj__top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.proj__intro { display: flex; flex-direction: column; gap: 14px; }
.proj__intro h1 { font-size: clamp(34px, 4vw, 52px); }
.proj__intro .cta { margin-top: 6px; }
.proj__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.proj__dom { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); }
.proj__shot { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--paper-3); aspect-ratio: 16 / 10; }
.proj__shot img { width: 100%; height: 100%; object-fit: cover; }
.proj__grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: calc(var(--top-h) + 28px); }
.toc__h { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.toc ol { list-style: none; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-size: 14px; line-height: 1.35; }
.toc a:hover { color: var(--ink); border-left-color: var(--accent); }
.proj__body { max-width: 760px; display: flex; flex-direction: column; gap: 44px; }
.proj__sec { scroll-margin-top: calc(var(--top-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.proj__sec h2 { font-size: 26px; }
.proj__sec > p { font-size: 16.5px; line-height: 1.7; color: var(--ink); }
.bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bullets li { position: relative; padding-left: 20px; line-height: 1.6; color: var(--ink); }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.stack { margin: 0; display: flex; flex-direction: column; }
.stack > div { display: grid; grid-template-columns: 160px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.stack > div:first-child { padding-top: 0; }
.stack dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding-top: 6px; }
.stack dd { margin: 0; }
.chips--sm { gap: 6px; }
.chips--sm li { padding: 4px 11px; font-size: 13.5px; font-family: var(--font-mono); background: var(--surface); }
.methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.method { padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; gap: 8px; }
.method h3 { font-family: var(--font-body); font-size: 15.5px; font-weight: 650; letter-spacing: 0; }
.method p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.challenges { list-style: none; counter-reset: ch; display: flex; flex-direction: column; gap: 12px; }
.challenges li { counter-increment: ch; position: relative; padding: 16px 18px 16px 56px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); display: flex; flex-direction: column; gap: 8px; line-height: 1.55; }
.challenges li::before { content: counter(ch, decimal-leading-zero); position: absolute; left: 18px; top: 17px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); }
.k { display: inline-block; min-width: 58px; margin-right: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); font-weight: 600; }
.k--ok { color: var(--accent-2); }
.results { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.results li { padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); border-top: 3px solid var(--accent); background: var(--surface); font-size: 15px; line-height: 1.5; }
.qa { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 2px; font-family: var(--font-display); font-size: 19px; line-height: 1.3; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--font-mono); font-size: 18px; color: var(--accent); flex: none; }
.qa details[open] summary::after { content: "−"; }
.qa summary:hover { color: var(--accent); }
.qa details p { padding: 0 2px 18px; color: var(--ink-2); line-height: 1.65; max-width: 68ch; }
.proj__src { font-size: 13px; }
.wip { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 560px; padding: 28px; border: 1px dashed color-mix(in srgb, var(--ink-3) 55%, var(--line)); border-radius: var(--r-lg); background: var(--surface); }
.wip__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: var(--paper-2); color: var(--accent); }
.wip h2 { font-size: 26px; }
.wip p { color: var(--ink-2); line-height: 1.6; }
.pnav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.pn { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); }
.pn:hover { border-color: var(--accent); background: var(--surface); color: var(--ink); }
.pn--next { grid-column: 2; text-align: right; }
.pn__k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.pn__v { font-family: var(--font-display); font-size: 19px; }

/* Yazılarım */
.posts { list-style: none; display: flex; flex-direction: column; }
.post { padding: 24px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.post:last-child { border-bottom: 1px solid var(--line); }
.post__meta, .article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); }
.post__dot { color: var(--accent); }
.post__title { font-size: 24px; line-height: 1.25; }
.post__title a { color: var(--ink); text-decoration: none; }
.post__title a:hover { color: var(--accent); }
.post__summary { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-2); }

/* Yazı sayfası */
.article { max-width: 720px; }
.article__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article__title { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.18; }
.prose { font-size: 17px; line-height: 1.7; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 26px; margin-top: 2em; }
.prose h3 { font-size: 21px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); }
.prose code { font-family: var(--font-mono); font-size: .88em; padding: .1em .4em; border-radius: 5px; background: var(--paper-2); border: 1px solid var(--line); }
.prose pre { padding: 16px 18px; border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--line); overflow-x: auto; font-size: 14px; line-height: 1.55; }
.prose pre code { padding: 0; border: 0; background: none; font-size: inherit; }
.prose blockquote { margin: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); color: var(--ink-2); font-family: var(--font-display); font-size: 1.08em; }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.prose a { overflow-wrap: anywhere; }
.article__foot { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-2); }

/* Özgeçmiş */
.cv { margin-top: 36px; }
.cv h2 { font-size: 22px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); font-size: 14.5px; }
.cvrow { margin: 0; display: grid; gap: 10px; }
.cvrow > div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.cvrow dt { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.cvrow dd { margin: 0; }

/* İletişim */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 14px; font-weight: 600; }
.field__label small { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); font-size: 15px; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.form__count { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.form__status { min-height: 1.4em; font-size: 14px; color: var(--ink-2); }
.form__status--ok { color: var(--accent-2); }
.form__status--err { color: var(--warn); }
.contact__aside { display: flex; flex-direction: column; gap: 10px; }
.way { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); }
.way:not(.way--static):hover { border-color: var(--accent); background: var(--paper-2); }
.way__k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.way__v { font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- duyarlı */
@media (max-width: 1280px) {
  .proj__grid { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .toc ol { flex-direction: row; flex-wrap: wrap; gap: 6px; border-left: 0; }
  .toc a { padding: 5px 10px; margin: 0; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
}
@media (max-width: 1100px) {
  .proj__top { grid-template-columns: 1fr; gap: 20px; }
  .proj__shot { order: -1; max-width: 560px; }
  .shell { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; }
  .avatar { width: 108px; height: 108px; }
  .rail__name { font-size: 28px; }
}
@media (max-width: 900px) {
  :root { --gutter: 16px; }
  .top__inner { grid-template-columns: 1fr auto; grid-template-rows: auto auto; row-gap: 0; min-height: 0; padding-top: 10px; }
  .wordmark { grid-row: 1; }
  .controls { grid-row: 1; grid-column: 2; }
  .nav { grid-row: 2; grid-column: 1 / -1; margin: 4px calc(-1 * var(--gutter)) 0; position: relative; }
  .nav__inner { overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter) 8px; gap: 0; }
  .nav__inner::-webkit-scrollbar { display: none; }
  .nav a { font-size: 14.5px; padding: 8px 10px; }
  .nav a[aria-current="page"]::after { left: 10px; right: 10px; bottom: 0; }
  .nav::after { content: ""; position: absolute; top: 0; right: 0; bottom: 8px; width: 40px; pointer-events: none;
                background: linear-gradient(90deg, transparent, var(--paper)); opacity: .9; transition: opacity .2s; }
  .nav:has(.is-end)::after { opacity: 0; }

  .shell { grid-template-columns: 1fr; gap: 20px; padding: 16px var(--gutter) 24px; }
  .rail { position: static; min-height: 0; gap: 14px; }
  .rail__id { flex-direction: row; align-items: center; gap: 14px; }
  .avatar { width: 64px; height: 64px; border-width: 2px; flex: none; }
  .rail__name { font-size: 24px; }
  .rail__role { margin-top: 4px; font-size: 11.5px; }
  .rail__intro { font-size: 15px; max-width: none; }
  .rail__actions { gap: 10px 14px; }
  .btn { min-height: 40px; }
  .sign { display: none; }
  .foot { display: flex; }
  body:not([data-page="home"]) .rail { display: none; }

  .chat { height: auto; min-height: 0; }
  .chat__log { min-height: 150px; max-height: 44vh; max-height: 44dvh; padding: 16px 14px 8px; }
  .chat__head { padding: 12px 14px; }
  .chat__hint { display: none; }
  .msg { max-width: 92%; }
  .composer { margin: 8px 10px 0; }
  .chat__note { padding: 8px 14px 12px; }

  .page__head { margin-bottom: 28px; }
  .contact { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .cvrow > div { grid-template-columns: 1fr; gap: 2px; }
  .proj__top { grid-template-columns: 1fr; gap: 20px; }
  .proj__shot { order: -1; }
  .proj__grid { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .toc ol { flex-direction: row; flex-wrap: wrap; gap: 6px; border-left: 0; }
  .toc a { padding: 5px 10px; margin: 0; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
  .proj__body { gap: 36px; }
  .stack > div { grid-template-columns: 1fr; gap: 6px; }
  .challenges li { padding-left: 18px; }
  .challenges li::before { position: static; }
  .pnav { grid-template-columns: 1fr; }
  .pn--next { grid-column: 1; }
}
@media (max-width: 420px) {
  .ctl--lang span span { display: none; }
  .ctl--lang { width: 36px; padding: 0; justify-content: center; }
}

/* ---------------------------------------------------------------- hareket azaltma */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chat__log { scroll-behavior: auto; }
  html.theme-anim body, html.theme-anim body *, .card { transition: none; }
  .is-sending .composer__send svg { animation: none; }
  .card:hover { transform: none; }
  .card__arrow { transition: none; }
}
