/* ============ TEMALAR ============ */
:root {
  --bg: #FAF6EF;
  --ink: #2B2620;
  --ink-2: rgba(43, 38, 32, .55);
  --ink-3: rgba(43, 38, 32, .32);
  --card-bg: #FFFDF8;
  --card-line: #E4DCCE;
  --sage: #7A8B6F;
  --brick: #C4674F;
  --honey: #D9A441;
  --dusty: #6B7FA3;
  --wash: rgba(122, 139, 111, .22);
  --sel: rgba(217, 164, 65, .38);
  --shadow: 0 10px 26px -14px rgba(43, 38, 32, .25);
}

:root[data-theme="dark"] {
  --bg: #211D18;
  --ink: #EDE5D6;
  --ink-2: rgba(237, 229, 214, .55);
  --ink-3: rgba(237, 229, 214, .3);
  --card-bg: #2A251F;
  --card-line: #3B342B;
  --sage: #8FA583;
  --brick: #D08066;
  --honey: #E0B457;
  --dusty: #8DA0C0;
  --wash: rgba(143, 165, 131, .2);
  --sel: rgba(224, 180, 87, .32);
  --shadow: 0 12px 30px -14px rgba(0, 0, 0, .55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #211D18;
    --ink: #EDE5D6;
    --ink-2: rgba(237, 229, 214, .55);
    --ink-3: rgba(237, 229, 214, .3);
    --card-bg: #2A251F;
    --card-line: #3B342B;
    --sage: #8FA583;
    --brick: #D08066;
    --honey: #E0B457;
    --dusty: #8DA0C0;
    --wash: rgba(143, 165, 131, .2);
    --sel: rgba(224, 180, 87, .32);
    --shadow: 0 12px 30px -14px rgba(0, 0, 0, .55);
  }
}

/* ============ TABAN ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }

::selection { background: var(--sel); color: var(--ink); }

body {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  background: var(--bg);
  color: var(--ink);
  min-height: 100dvh;
  display: grid;
  align-items: start;
  justify-items: center;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* çok soluk kâğıt dokusu */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
}

.page {
  width: min(640px, calc(100vw - 48px));
  padding: 96px 0 64px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 30px;
  text-align: left;
}

/* view-transition mürekkep banyosu */
::view-transition-old(root), ::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

/* ============ BLOK GİRİŞİ ============ */
.block {
  position: relative;
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
}
html.inked .block {
  animation: rise .55s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay: calc(var(--i) * 110ms);
}
html.fast .block { animation-delay: calc(var(--i) * 30ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.block.settled { animation: none !important; opacity: 1; transform: none !important; }

/* ============ GUTTER (satır numaraları) ============ */
.gutter {
  position: absolute;
  left: -64px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .74rem;
  color: var(--ink-3);
  transition: color .2s ease;
  line-height: 1;
  padding: 6px 4px;
}
.gutter .ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 24px;
  transform: translate(-50%, -50%);
  overflow: visible;
}
.gutter .ring path {
  fill: none;
  stroke: var(--honey);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition: stroke-dashoffset .32s ease-out, opacity .1s ease;
}
.block:hover .gutter, .block:focus-within .gutter { color: var(--ink-2); }
.block:hover .gutter .ring path, .block:focus-within .gutter .ring path { stroke-dashoffset: 0; opacity: 1; }

/* ============ 01 · KİMLİK SATIRI (avatar + isim yan yana) ============ */
.identity {
  display: flex;
  align-items: center;
  gap: 20px;
}
.identity-text { min-width: 0; }

/* ============ AVATAR (daire) ============ */
.portrait-zone { position: relative; display: inline-block; flex-shrink: 0; }
.avatar {
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
  padding: 0;
  border-radius: 50%;
}
.avatar img {
  /* masaüstünde 124px; dar telefonlarda isme yer kalsın diye biraz küçülür */
  width: clamp(110px, 30vw, 124px);
  height: clamp(110px, 30vw, 124px);
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--card-line);
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .45);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}
.avatar:hover img, .avatar:focus-visible img {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px var(--honey), 0 8px 20px -10px rgba(0, 0, 0, .5);
}
.avatar:focus-visible { outline: none; }

@keyframes draw {
  0% { stroke-dashoffset: 1; opacity: 0; }
  3% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

/* ============ BALON (otomatik tamamlama) ============ */
.balloon {
  /* isim artık avatarın sağında olduğu için balon yana değil, avatarın altına açılıyor */
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  min-width: 256px;
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  text-align: left;
  transform-origin: left top;
  transform: scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), opacity .18s ease;
  z-index: 30;
}
.balloon.open { transform: scale(1); opacity: 1; pointer-events: auto; }
.balloon-head {
  display: flex;
  align-items: center;
  font-size: .8rem;
  color: var(--ink-2);
  padding: 4px 8px 8px;
  border-bottom: 1px solid var(--card-line);
  margin-bottom: 6px;
}
.mini-caret {
  width: 2px;
  height: .95em;
  background: var(--ink);
  margin-left: 2px;
  animation: blink 1.06s steps(2, start) infinite;
}
.sug {
  display: block;
  width: 100%;
  text-align: left;
  font: 500 .84rem/1 "IBM Plex Mono", monospace;
  color: var(--ink);
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 8px 8px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition: background .15s ease, opacity .2s ease, transform .2s ease;
}
.balloon.open .sug { opacity: 1; transform: translateY(0); }
.balloon.open .sug:nth-child(2) { transition-delay: .04s; }
.balloon.open .sug:nth-child(3) { transition-delay: .08s; }
.balloon.open .sug:nth-child(4) { transition-delay: .12s; }
.balloon.open .sug:nth-child(5) { transition-delay: .16s; }
.sug:hover, .sug:focus-visible { background: var(--sel); }
.sug .p { color: var(--ink-2); }


/* ============ 02 · İSİM + HANDLE ============ */
.name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.3rem, 6.6vw, 3.2rem);
  letter-spacing: -.015em;
  line-height: 1.05;
  position: relative;
}
/* el çizimi fosforlu kalem vurgusu — isim yerine oturunca soldan sağa süpürülür */
.name-mark { position: relative; display: inline-block; }
.name-mark::before {
  content: "";
  position: absolute;
  left: -3%;
  bottom: 5%;
  width: 0;
  height: 36%;
  background: var(--sel);
  border-radius: 4px 10px 6px 12px;
  transform: rotate(-1.2deg);
  z-index: -1;
}
html.inked .name-mark::before {
  animation: marker .55s cubic-bezier(.65, 0, .35, 1) forwards;
  animation-delay: 1s;
}
@keyframes marker { to { width: 106%; } }

@keyframes blink { 50% { opacity: 0; } }

.handle {
  display: inline-block;
  margin-top: 8px;
  font-size: .82rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .2s ease;
}
.handle:hover { color: var(--honey); }

/* mail adresi — tıklayınca panoya kopyalanır */
.handle-copy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: inherit;
  font-size: .82rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  /* tıklarken yazı seçilip ::selection zemini basmasın */
  user-select: none;
  -webkit-user-select: none;
}
.handle-copy .copy-icon, .handle-copy .check-icon { flex-shrink: 0; opacity: .55; }
.handle-copy:hover .copy-icon { opacity: 1; }
.handle-copy .check-icon, .handle-copy.copied .copy-icon { display: none; }
.handle-copy.copied .check-icon { display: block; opacity: 1; }
.handle-copy.copied, .handle-copy.copied .handle-mail { color: var(--honey); }
.handle-copy:focus-visible { outline: 2px solid var(--honey); outline-offset: 4px; border-radius: 4px; }

/* ============ 03 · TANITIM (tagline / konum / şu anda) ============ */
.hero-info { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.tagline {
  max-width: 34em;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
}
.location {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  color: var(--ink-2);
}
.location svg { color: var(--honey); flex-shrink: 0; }

.now { margin-top: 4px; }
.now-label {
  display: block;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.now-role { font-size: .92rem; color: var(--ink); }
.now-sep { color: var(--honey); margin: 0 4px; }
.now-co { font-weight: 500; }



/* ============ 04 · KARTLAR ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: 12px;
  padding: 13px 14px;
  transition: transform .22s cubic-bezier(.2, .8, .2, 1), border-color .2s ease, box-shadow .22s ease;
}
.card:hover, .card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--honey);
  box-shadow: var(--shadow);
}
.card-title { font-weight: 500; font-size: .9rem; }
.card-sub { font-size: .68rem; color: var(--ink-2); }

/* projelere not + ok */
.note {
  position: absolute;
  right: calc(25% + 10px);
  top: calc(100% + 8px);
  pointer-events: none;
}
.note-text {
  font-family: "Caveat", cursive;
  font-size: 1.22rem;
  color: var(--ink-2);
  display: inline-block;
  white-space: nowrap;
  transform: rotate(-2deg);
  opacity: 0;
}
html.inked .note-text { animation: fadein .5s ease forwards; animation-delay: 2s; }
@keyframes fadein { to { opacity: 1; } }
.note-arrow {
  position: absolute;
  right: 38px;
  bottom: calc(100% - 6px);
  width: 56px;
  height: 38px;
  overflow: visible;
  transform: scaleX(-1) rotate(8deg);
}
.note-arrow path {
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
html.inked .note-arrow path { animation: draw .5s ease-out both; animation-delay: 2.15s; }
html.inked .note-arrow path:nth-child(2), html.inked .note-arrow path:nth-child(3) { animation-delay: 2.6s; animation-duration: .2s; }

/* ============ 04b · METALFOLIO VİTRİNİ ============ */
.card-btn {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  width: 100%;
}
.sub-arrow {
  display: inline-block;
  color: var(--honey);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.card-btn:hover .sub-arrow { transform: translateX(3px); }
.card-btn[aria-expanded="true"] .sub-arrow { transform: rotate(90deg); }

.showcase-zone {
  width: 100%;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s cubic-bezier(.22, 1, .36, 1), margin .5s cubic-bezier(.22, 1, .36, 1);
  margin: -17px 0; /* kapalıyken flex gap'in iki kez sayılmasını dengeler */
}
.showcase-zone.open { grid-template-rows: 1fr; margin: 0; }
.showcase-inner { overflow: hidden; min-height: 0; }
.showcase-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px 18px 20px;
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease .1s, transform .45s cubic-bezier(.22, 1, .36, 1) .1s;
}
.showcase-zone.open .showcase-panel { opacity: 1; transform: none; }
.sc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .74rem;
  color: var(--ink-2);
  border-bottom: 1px solid var(--card-line);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.sc-path b { color: var(--honey); font-weight: 500; }
.sc-close {
  background: none;
  border: 0;
  color: var(--ink-2);
  font-size: 1.2rem;
  line-height: 1;
  padding: 2px 8px;
  border-radius: 7px;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.sc-close:hover { color: var(--brick); background: var(--sel); }
.sc-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -.01em;
}
.sc-tag { font-size: .78rem; color: var(--ink-2); margin-top: 5px; }
.sc-meta { font-size: .72rem; color: var(--ink-2); margin-top: 9px; }
.sc-star { color: var(--honey); }
.sc-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 15px;
}
.sc-shots img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--card-line);
  opacity: 0;
  transform: translateY(8px) scale(.985);
  transition: opacity .4s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
}
.showcase-zone.open .sc-shots img { opacity: 1; transform: none; }
.showcase-zone.open .sc-shots img:nth-child(1) { transition-delay: .18s; }
.showcase-zone.open .sc-shots img:nth-child(2) { transition-delay: .27s; }
.showcase-zone.open .sc-shots img:nth-child(3) { transition-delay: .36s; }
.sc-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  padding: 9px 16px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.sc-cta:hover, .sc-cta:focus-visible {
  transform: translateY(-2px);
  border-color: var(--honey);
  box-shadow: var(--shadow);
}

/* vitrin açıkken el yazısı not paneli gizle (masaüstünde üstüne biner) */
@media (min-width: 761px) {
  html.sc-open .note { opacity: 0; }
  .note { transition: opacity .3s ease; }
}

/* ============ PANELLER (deneyim / yazılar / github) ============ */
.panel { text-align: left; }
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .02em;
  margin-bottom: 20px;
}
.section-label > span:first-child { position: relative; padding-left: 22px; flex-shrink: 0; }
.section-label > span:first-child::before {
  content: "//";
  position: absolute;
  left: 0;
  color: var(--honey);
}
.lbl-line {
  flex: 1;
  height: 1px;
  min-width: 16px;
  background: var(--card-line);
}

/* --- deneyim (tek şirket + rol geçmişi) --- */
.exp { display: flex; flex-direction: column; }
.exp-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.exp-co { font-weight: 500; font-size: 1rem; color: var(--ink); }
.exp-tenure { font-size: .74rem; color: var(--ink-3); white-space: nowrap; }
.exp-roles {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-left: 4px;
  padding-left: 18px;
  border-left: 1px solid var(--card-line);
}
.exp-role-row {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.exp-role-row::before {
  content: "";
  position: absolute;
  left: -22px;
  top: .45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1.5px solid var(--ink-3);
}
.exp-role-row:first-child::before { background: var(--honey); border-color: var(--honey); }
.exp-role-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.exp-role-title { font-size: .9rem; color: var(--ink-2); }
.exp-role-row:first-child .exp-role-title { color: var(--ink); font-weight: 500; }
.exp-role-desc { font-size: .74rem; color: var(--ink-3); }
.exp-date { font-size: .78rem; color: var(--ink-2); white-space: nowrap; flex-shrink: 0; }

/* --- github aktivite ısı haritası --- */
.gh-follow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .74rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .2s ease;
}
.gh-follow:hover { color: var(--honey); }
.section-label .gh-follow { flex-shrink: 0; }

/* --- yazılar (blog) --- */
.blog { display: flex; flex-direction: column; }
.blog-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--card-line);
  text-decoration: none;
  color: var(--ink);
  transition: padding-left .2s ease;
}
.blog-row:first-child { border-top: 0; padding-top: 2px; }
.blog-row:hover { padding-left: 8px; }
.blog-title {
  font-size: .92rem;
  font-weight: 500;
  position: relative;
  transition: color .18s ease;
}
.blog-row:hover .blog-title { color: var(--honey); }
.blog-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-shrink: 0;
}
.blog-date { font-size: .74rem; color: var(--ink-3); white-space: nowrap; }
.blog-views {
  font-size: .7rem;
  color: var(--ink-3);
  white-space: nowrap;
}
.blog-views:not(:empty)::before { content: "·"; margin-right: 8px; color: var(--ink-3); }

/* ============ 05 · DÜNYA ============ */
.world { display: grid; place-items: center; }
.globe-zone { position: relative; display: inline-block; }
#globe {
  width: min(66vw, 330px);
  height: auto;
  display: block;
}
.globe-note {
  position: absolute;
  right: -30px;
  bottom: 18px;
  font-family: "Caveat", cursive;
  font-size: 1.22rem;
  color: var(--ink-2);
  white-space: nowrap;
  transform: rotate(-4deg);
  opacity: 0;
}
html.inked .globe-note { animation: fadein .5s ease forwards; animation-delay: 2.3s; }

@media (max-width: 760px) {
  .globe-note { right: 2px; bottom: 4px; font-size: 1.05rem; }
}

/* ============ 06 · ALT SATIR ============ */
.foot {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  font-size: .74rem;
  color: var(--ink-2);
}


/* ============ TEMA KÖŞESİ ============ */
.theme-corner {
  position: fixed;
  top: 18px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 50;
}
.theme-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease;
}
.theme-toggle:hover { transform: rotate(-14deg) scale(1.06); border-color: var(--honey); }

.lang-toggle {
  height: 42px;
  min-width: 42px;
  padding: 0 13px;
  display: grid;
  place-items: center;
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: transform .2s ease, border-color .2s ease;
}
.lang-toggle:hover { transform: translateY(-1px); border-color: var(--honey); }
.drop-hatch { opacity: 0; transition: opacity .3s ease; }
:root[data-theme="dark"] .drop-hatch { opacity: 1; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .drop-hatch { opacity: 1; }
}

/* ============ MOBİL ============ */
@media (max-width: 760px) {
  .gutter { display: none; }
  .page { padding: 72px 0 56px; gap: 26px; }
  .identity { gap: 16px; }
  .name { font-size: clamp(1.7rem, 8.4vw, 2.6rem); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .diff { font-size: .74rem; }
  .bio { font-size: .88rem; }
  .exp-role-row { flex-direction: column; gap: 3px; }
  .exp-date { order: -1; color: var(--ink-3); }
  .balloon {
    position: fixed;
    left: 50%;
    top: 50%;
    min-width: 0;
    width: min(86vw, 320px);
    max-height: 70vh;
    overflow-y: auto;
    transform: translate(-50%, -50%) scale(.96);
    transform-origin: center;
    z-index: 60;
  }
  .balloon.open { transform: translate(-50%, -50%) scale(1); }
  .note { position: static; grid-column: 1; justify-self: center; margin-top: -4px; }
  .note-arrow { display: none; }
  .showcase-zone { margin: -14px 0; }
  .showcase-zone.open { margin: 0; }
  .showcase-panel { padding: 14px 14px 18px; }
  .sc-shots {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 15px -14px 0;
    padding: 0 14px;
  }
  .sc-shots::-webkit-scrollbar { display: none; }
  .sc-shots img { flex: 0 0 58%; scroll-snap-align: center; }
}

/* ============ BLOG SAYFASI (liste + detay) ============ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .2s ease, gap .2s ease;
}
.back-link:hover { color: var(--honey); gap: 9px; }

.blog-page-head { display: flex; flex-direction: column; gap: 8px; }
.blog-page-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 2.6rem);
  letter-spacing: -.015em;
}
.blog-page-desc { font-size: .9rem; color: var(--ink-2); }

.blog.blog-list .blog-row { padding: 18px 0; }

/* --- yazı detay sayfası (Medium düzeni) --- */
.article-head { display: flex; flex-direction: column; gap: 10px; }
.article-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 5.2vw, 2.6rem);
  letter-spacing: -.01em;
  line-height: 1.15;
}
.article-subtitle {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-2);
}

/* yazar satırı */
.author-row { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--card-line);
  flex-shrink: 0;
}
.author-info { display: flex; flex-direction: column; gap: 4px; }
.author-line { display: flex; align-items: center; gap: 10px; }
.author-name { font-size: .88rem; font-weight: 600; color: var(--ink); }
.author-meta { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--ink-3); }

/* aksiyon satırı — sadece alkış (Medium'daki diğer ikonlar bilinçli olarak yok) */
.action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  margin-top: 4px;
  border-top: 1px solid var(--card-line);
  border-bottom: 1px solid var(--card-line);
}

.article-body { font-size: .95rem; line-height: 1.8; color: var(--ink-2); }
.article-body p + p { margin-top: 1.1em; }
.article-body b { color: var(--ink); font-weight: 500; }
.article-body code {
  font-family: "IBM Plex Mono", monospace;
  color: var(--honey);
  font-weight: 500;
  background: var(--sel);
  padding: 1px 6px;
  border-radius: 5px;
}
.article-note {
  margin-top: 8px;
  font-size: .74rem;
  color: var(--ink-3);
  border-top: 1px solid var(--card-line);
  padding-top: 16px;
}

/* --- alkış (clap) — Medium'un gerçek el ikonu, ince satır widget'ı --- */
.clap-widget { display: flex; align-items: center; gap: 8px; }
.clap-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: none;
  border: 1px solid var(--card-line);
  color: var(--ink-2);
  cursor: pointer;
  padding: 0;
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), border-color .2s ease, color .2s ease, background .2s ease;
}
.clap-btn svg { width: 17px; height: 17px; }
.clap-btn:hover { border-color: var(--honey); color: var(--honey); }
.clap-btn.clapped { border-color: var(--honey); color: var(--honey); background: var(--sel); }
.clap-btn.maxed { cursor: default; }
.clap-btn.bump { animation: clap-bump .38s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes clap-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.22); }
  100% { transform: scale(1); }
}
.clap-count { font-size: .8rem; color: var(--ink-2); }

/* ============ 404 ============ */
.nf { display: flex; flex-direction: column; gap: 10px; }
.nf-code {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3.4rem, 14vw, 5.4rem);
  line-height: .9;
  color: var(--honey);
  letter-spacing: -.03em;
}
.nf-path {
  margin-top: 6px;
  font-size: .78rem;
  color: var(--ink-3);
  word-break: break-all;
}
.nf-prompt { color: var(--honey); }
.nf-cards { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* ============ JS KAPALIYKEN ============ */
.noscript-note {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--card-line);
  border-left: 3px solid var(--honey);
  border-radius: 8px;
  background: var(--card-bg);
  font-size: .82rem;
  color: var(--ink-2);
}

/* ============ HAREKET AZALTMA ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .block { opacity: 1; transform: none; }
  .note-arrow path { stroke-dashoffset: 0; opacity: 1; }
  .note-text { opacity: 1; }
  .name-mark::before { width: 106%; }
}

/* ============ YAZDIRMA ============ */
@media print {
  .theme-corner, .balloon { display: none !important; }
  body { background: #fff; color: #000; }
  .block { opacity: 1 !important; transform: none !important; }
}
