:root {
  --ink:       #1d1d1f;
  --ink-head:  #333336;
  --ink-mute:  #6e6e73;
  --ink-faint: #86868b;
  --grey:      #f5f5f7;
  --rule:      #d2d2d7;
  --rule-soft: #e8e8ed;
  --accent:    #f4511e;
  --fb: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --fm: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;
  --maxw: 980px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--fb);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection      { background: var(--accent); color: #fff; }
::-moz-selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; }

.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ── Top bar ────────────────────────────────── */
.topbar { background: var(--grey); border-bottom: 1px solid var(--rule); }
.topbar-in {
  max-width: var(--maxw); margin: 0 auto; padding: 0 22px;
  height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar-name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

.social { display: flex; align-items: center; gap: 2px; }
.social a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 7px; color: var(--ink-faint);
  transition: color .15s, background .15s;
}
.social a:hover { color: var(--ink); background: rgba(0,0,0,.05); }
.social svg { width: 16px; height: 16px; fill: currentColor; }

/* ── Hero ───────────────────────────────────── */
.hero {
  background: linear-gradient(180deg, #ebebed 0%, #f3f3f5 45%, #fff 100%);
  overflow: hidden;
}
.hero-in {
  max-width: var(--maxw); margin: 0 auto; padding: 0 22px;
  display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: end;
  min-height: 400px;
}
.hero-text { padding: 72px 0 64px; }
.hero-name {
  margin: 0 0 12px;
  font-size: 44px; line-height: 1.08; font-weight: 600; letter-spacing: -0.005em;
  color: var(--ink-head);
}
.hero-role {
  margin: 0; font-size: 26px; line-height: 1.25; font-weight: 400;
  letter-spacing: 0; color: var(--ink-head);
}

.hero-photo {
  display: block; width: 100%; align-self: end;
  margin-bottom: -6px;             /* alt kenardan tasip kesilsin */
  mix-blend-mode: multiply;        /* beyaz zemin arka plana karissin */
}

/* ── Bio ────────────────────────────────────── */
.bio { padding: 72px 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; }
.bio p { margin: 0 0 24px; font-size: 17px; line-height: 1.62; letter-spacing: -0.01em; }
.bio p:last-child { margin-bottom: 0; }

/* ── Sections ───────────────────────────────── */
.section { padding: 64px 0 0; }
.section-head {
  margin: 0 0 8px; font-size: 28px; font-weight: 600; letter-spacing: -0.02em;
}
.section-sub { margin: 0 0 24px; font-size: 17px; line-height: 1.5; color: var(--ink-mute); }

/* ── Rows ───────────────────────────────────── */
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--rule-soft); }
.row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 17px 0; border-bottom: 1px solid var(--rule-soft);
}
.row:hover .row-title { color: var(--accent); }

.row-title { font-size: 17px; line-height: 1.35; letter-spacing: -0.01em; transition: color .15s; }
.leader { flex: 1 1 auto; min-width: 18px; height: 0; border-bottom: 1px dotted #c9c9cf; transform: translateY(-2px); }
.row-date { flex: 0 0 auto; font-size: 15px; color: var(--ink-faint); white-space: nowrap; letter-spacing: -0.01em; }

/* ── Footer ─────────────────────────────────── */
.colophon {
  margin-top: 72px; background: var(--grey); border-top: 1px solid var(--rule);
  font-size: 12px; color: var(--ink-faint);
}
.colophon-in {
  max-width: var(--maxw); margin: 0 auto; padding: 20px 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

@media (max-width: 833px) {
  .hero-in { grid-template-columns: 1fr 280px; min-height: 340px; }
  .hero-name { font-size: 44px; }
  .hero-role { font-size: 26px; }
  .bio { grid-template-columns: 1fr; gap: 0; padding-top: 56px; }
  /* sutunlar alt alta gelince aralarinda paragraf bosluğu kalsin */
  .bio > div:first-child > p:last-child { margin-bottom: 24px; }
}
@media (max-width: 620px) {
  .hero-in { grid-template-columns: 1fr; align-items: start; gap: 0; min-height: 0; }
  .hero-text { padding: 44px 0 28px; }
  .hero-name { font-size: 38px; }
  .hero-role { font-size: 22px; }
  .hero-photo { width: 74%; margin: 0 auto -6px; }
  .section-head { font-size: 24px; }
  .row-title { font-size: 15.5px; }
}

/* ── Article ────────────────────────────────── */
.article { max-width: 692px; margin: 0 auto; padding: 0 22px; }

.article-head { padding: 72px 0 40px; border-bottom: 1px solid var(--rule-soft); margin-bottom: 40px; }
.article-meta {
  margin: 0 0 18px; font-size: 14px; color: var(--ink-faint);
  letter-spacing: 0.01em;
}
.article-title {
  margin: 0 0 20px;
  font-size: 40px; line-height: 1.12; font-weight: 600; letter-spacing: -0.015em;
  color: var(--ink-head);
}
.article-deck {
  margin: 0; font-size: 21px; line-height: 1.5; font-weight: 400;
  letter-spacing: -0.01em; color: var(--ink-mute);
}

.article-body { font-size: 19px; line-height: 1.65; letter-spacing: -0.005em; }
.article-body p { margin: 0 0 26px; }
.article-body h2 {
  margin: 48px 0 18px;
  font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em;
  color: var(--ink-head);
}
.article-body h2 .num { color: var(--accent); font-variant-numeric: tabular-nums; }
.article-body em { font-style: italic; }
.article-body a { color: #0066cc; }
.article-body a:hover { text-decoration: underline; }

.article-back { margin: 56px 0 88px; font-size: 17px; }
.article-back a { color: #0066cc; }
.article-back a:hover { text-decoration: underline; }

@media (max-width: 620px) {
  .article-head { padding: 44px 0 28px; margin-bottom: 28px; }
  .article-title { font-size: 30px; }
  .article-deck { font-size: 18px; }
  .article-body { font-size: 17px; }
  .article-body h2 { font-size: 21px; margin: 36px 0 14px; }
}

/* ── Performance (GitHub katki haritasi) ────── */
.heat { margin-top: 4px; }
.heat-scroll { overflow-x: auto; padding-bottom: 4px; }
.heat-inner { min-width: 620px; }

.heat-months, .heat-grid { display: grid; gap: 3px; }
.heat-months { margin-bottom: 6px; font-size: 12px; color: var(--ink-faint); }
.heat-months span { grid-row: 1; white-space: nowrap; }
.heat-grid { grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; }

.heat-cell { width: 100%; aspect-ratio: 1; border-radius: 2px; background: #ebebed; }
.heat-cell[data-l="1"] { background: #c9c9ce; }
.heat-cell[data-l="2"] { background: #9a9aa0; }
.heat-cell[data-l="3"] { background: #66666c; }
.heat-cell[data-l="4"] { background: #333336; }
.heat-cell.is-empty { background: transparent; }

.heat-caption { margin: 14px 0 0; font-size: 15px; color: var(--ink-faint); }
.heat-caption a { color: #0066cc; }
.heat-caption a:hover { text-decoration: underline; }
