/* Yazı tipleri (SIL OFL), hepsi sunucudan; Google Fonts'a gidilmez.
   Big Shoulders Display 900: yalnızca ad (logotip gibi). Instrument Serif: başlıklar. Inter Tight: gövde ve arayüz. Geist Mono: küçük 0/1 ayrıntıları. */
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 900; font-display: swap; src: url("fonts/big-shoulders-display-latin-ext-900-normal.f6d89851e0dd.woff2") format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 900; font-display: swap; src: url("fonts/big-shoulders-display-latin-900-normal.9ec6b61a9765.woff2") format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-latin-ext-400-normal.b160c869d0b2.woff2") format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-latin-400-normal.9b8dd1ecf641.woff2") format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-latin-ext-400-italic.148ffff0cacc.woff2") format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-latin-400-italic.bc891bdd08ad.woff2") format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Inter Tight: değişken dosyadan iki sabit kalınlık (400 ve 560) üretildi; latin-ext yalnızca Latin uzantıları. */
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 300 499; font-display: swap; src: url("fonts/inter-tight-latin-ext-400-normal.72e27814d2d0.woff2") format('woff2'); unicode-range: U+0100-024F,U+1E00-1EFF,U+20A0-20C0; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 300 499; font-display: swap; src: url("fonts/inter-tight-latin-400-normal.3b784d25a344.woff2") format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/inter-tight-latin-ext-560-normal.0137b267e4d8.woff2") format('woff2'); unicode-range: U+0100-024F,U+1E00-1EFF,U+20A0-20C0; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/inter-tight-latin-560-normal.27da803ed2e9.woff2") format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/geist-mono-latin-ext-400-normal.dd2185e3f067.woff2") format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/geist-mono-latin-400-normal.c9c1cc18a772.woff2") format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* Yerleşim: sabit 3B bit alanı (0/1 parçacıkları) arkada; içerik 12 sütunluk ızgarada, dergi düzeninde.
   Renk: koyu mürekkep zemin, sıcak kırık beyaz yazı, griler ve tek vurgu (asit yeşili, az yerde). */
:root {
  --bg: oklch(0.155 0.014 255);
  --bg-1: oklch(0.185 0.014 255);
  --bg-2: oklch(0.215 0.014 255);
  --bg-3: oklch(0.26 0.014 255);
  --fg: oklch(0.95 0.008 95);
  --g1: oklch(0.80 0.010 255);
  --g2: oklch(0.66 0.012 255);
  --g3: oklch(0.60 0.012 255); /* yazıda kullanılan en soluk gri: AA için 0.60 */
  --g4: oklch(0.52 0.012 255); /* yalnızca süs: ayraç, bölü işareti */
  --rule: oklch(0.95 0.008 95 / 0.13);
  --rule-2: oklch(0.95 0.008 95 / 0.26);
  --hover: oklch(0.95 0.008 95 / 0.05);
  --sig: oklch(0.90 0.20 125);

  --poster: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;

  --gut: clamp(16px, 3.1vw, 48px);
  --gap: clamp(12px, 1.6vw, 24px);
  --t-small: clamp(0.8125rem, 0.15vw + 0.75rem, 0.875rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --out: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

html { color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 clamp(1rem, 0.3vw + 0.9rem, 1.0625rem)/1.5 var(--sans); letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
::selection { background: var(--fg); color: var(--bg); }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--sig); outline-offset: 4px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.label { font: 400 11px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--g2); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sig); margin-right: 10px; transform: translateY(-1px); }

/* Zemin katmanları */
.grain, #bits { position: fixed; inset: 0; pointer-events: none; }
#bits { z-index: -2; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s ease; }
#bits.on { opacity: 1; }
.grain { z-index: -1; opacity: 0.025; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
#wipe { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 60; pointer-events: none; display: none; }
#cur { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; font: 400 11px/1 var(--mono); color: var(--fg); opacity: 0; transition: opacity 0.3s ease; will-change: transform; }
#cur.show { opacity: 0.9; }
.poster { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; z-index: -2; pointer-events: none; transition: opacity 0.8s ease; }
.poster.gone { opacity: 0; }

/* Yüzey: eski cam kartların sade hâli */
.glass { background: oklch(0.155 0.014 255 / 0.84); border: 1px solid var(--rule); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

.pad { padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1440px; margin: 0 auto; }
.cols, .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.left { grid-column: 1 / span 7; min-width: 0; }
.num { font-feature-settings: "tnum", "lnum"; }

/* ---------- Üst menü ---------- */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 40; padding-top: calc(26px + env(safe-area-inset-top, 0px)); font-size: var(--t-small); }
.top-in { align-items: baseline; }
.brand { grid-column: 1 / 4; justify-self: start; font-weight: 560; letter-spacing: -0.02em; text-decoration: none; }
.brand span { color: var(--g3); font-weight: 400; }
.nav { grid-column: 5 / 9; display: flex; gap: clamp(18px, 2.4vw, 40px); white-space: nowrap; }
.nav a { color: var(--g1); text-decoration: none; text-underline-offset: 6px; text-decoration-thickness: 1px; transition: color 0.2s ease; }
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); text-decoration: underline; text-decoration-color: var(--rule-2); }
.top .status { grid-column: 9 / 12; color: var(--g1); white-space: nowrap; }
.langs { grid-column: 12 / 13; justify-self: end; display: flex; gap: 5px; color: var(--g4); white-space: nowrap; }
.langs a { color: var(--g3); text-decoration: none; transition: color 0.2s ease; }
.langs a:hover { color: var(--fg); }
.langs a[aria-current="true"] { color: var(--fg); font-weight: 560; }
/* Bayt göstergesi: kaydırma konumu 8 bit (0–255). Menü kayıp gitse de yerinde kalır; altından geçen yazıyla karışmasın diye fark karışımı. */
.byte { position: fixed; z-index: 41; top: calc(26px + 1.5em + 6px + env(safe-area-inset-top, 0px)); left: max(var(--gut), env(safe-area-inset-left, 0px)); font: 400 10px/1 var(--mono); letter-spacing: 0.06em; color: var(--g2); pointer-events: none; mix-blend-mode: difference; transition: color 0.3s ease; }
.byte.float { color: var(--g1); }
.nav .bit { margin-right: 6px; }
.menu-btn { display: none; background: none; border: 0; padding: 0; cursor: pointer; font-weight: 560; color: var(--fg); }
.mnav { display: none; }

/* Telefon menüsü: tam ekran, büyük serif bağlantılar */
@media (max-width: 759px) {
  .top { padding-top: calc(20px + env(safe-area-inset-top, 0px)); }
  .top-in { display: flex; align-items: baseline; gap: 18px; }
  .brand { margin-right: auto; }
  .nav, .top .status { display: none; }
  .menu-btn { display: inline-block; min-height: 24px; }
  .byte { top: calc(20px + 1.5em + 4px + env(safe-area-inset-top, 0px)); }
  .menu-open .top { position: fixed; z-index: 50; }
  .mnav:not([hidden]) { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: flex-end; gap: 32px;
    padding-top: calc(96px + env(safe-area-inset-top, 0px)); padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); background: var(--bg); overflow-y: auto; overscroll-behavior: contain; }
  .mnav nav { display: grid; border-bottom: 1px solid var(--rule); }
  .mnav nav a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0 8px; border-top: 1px solid var(--rule); text-decoration: none;
    font: 400 clamp(2.4rem, 11vw, 3.4rem)/1 var(--serif); letter-spacing: -0.03em; color: var(--fg); }
  .mnav nav a .no { font: 400 11px/1 var(--mono); letter-spacing: 0.04em; color: var(--g2); width: 30px; flex: none; }
  .mnav nav a[aria-current="page"] { font-style: italic; color: var(--sig); }
  .mnav .status { font-size: 0.9375rem; color: var(--g1); }
  .menu-open #app, .menu-open .foot, .menu-open .chat-fab { visibility: hidden; }
}
@media (min-width: 760px) and (max-width: 1099px) {
  .brand { grid-column: 1 / 3; }
  .nav { grid-column: 3 / 9; gap: 20px; }
  .top .status { grid-column: 9 / 12; }
}

/* ---------- Düğmeler, bağlantılar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 2px; border: 0; font: 560 15px var(--sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.5s var(--spring), background-color 0.2s ease, box-shadow 0.2s ease; }
.btn.solid { background: var(--fg); color: var(--bg); }
.btn.solid:hover { background: oklch(0.99 0.006 95); }
.btn.ghost { color: var(--fg); box-shadow: inset 0 0 0 1px var(--rule-2); background: none; }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.btn:active { transform: scale(0.97); }
.link { text-decoration: none; font-weight: 400; color: var(--g1); display: inline-flex; gap: 8px; align-items: center; transition: color 0.2s ease; }
.link:hover { color: var(--fg); }
.link .ar { display: inline-block; transition: transform 0.5s var(--spring); }
.link:hover .ar { transform: translateX(8px); }
.link.back:hover .ar { transform: translateX(-8px); }
.bit { display: inline-block; width: 1ch; margin-right: 8px; font: 400 11px/1 var(--mono); color: var(--g3); font-style: normal; }
.bit::before { content: "0"; }
a:hover > .bit::before, a[aria-current="page"] > .bit::before, [aria-pressed="true"] > .bit::before, .cap:hover .bit::before { content: "1"; color: var(--fg); }

/* Çözülen metin (0/1'den harfe) */
.dc .w { display: inline-block; white-space: nowrap; }
.dc .c { position: relative; display: inline-block; }
.dc .c.off { color: transparent; }
.dc .c.off::after { content: attr(data-b); position: absolute; left: 50%; top: 0.08em; transform: translateX(-50%); color: var(--g3); font-family: var(--mono); font-size: 0.6em; font-style: normal; font-weight: 400; letter-spacing: 0; }

/* ---------- Giriş ---------- */
.hero { position: relative; box-sizing: border-box; height: 100svh; min-height: 600px; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.h-top { padding-top: clamp(108px, 15.5vh, 150px); align-items: start; }
.slogan { grid-column: 1 / 10; font: 400 clamp(2.6rem, 7vw, 7.6rem)/0.94 var(--serif); letter-spacing: -0.028em; }
.slogan .ln { display: block; overflow: hidden; padding: 0.06em 0 0.2em; margin: -0.06em 0 -0.2em; }
.slogan .ln > span { display: block; }
.slogan em { font-style: italic; color: var(--g1); letter-spacing: -0.03em; }
.h-band { align-items: end; padding-bottom: var(--bandPad, clamp(22px, 2.05vw, 34px)); }
.clock { grid-column: 1 / 4; align-self: end; display: flex; align-items: center; gap: 14px; }
.clock-grid { display: grid; grid-template-rows: repeat(4, 4px); grid-auto-flow: column; grid-auto-columns: 4px; gap: 3px; }
.clock-grid i { border-radius: 50%; background: var(--bg-3); transition: background-color 0.3s ease, transform 0.5s var(--spring); }
.clock-grid i.on { background: var(--g1); transform: scale(1.25); }
.clock .label { color: var(--g3); }
.who { grid-column: 10 / 13; font-size: var(--t-small); line-height: 1.5; color: var(--g2); }
.who b { display: block; color: var(--fg); font-weight: 560; }
.status-m { display: none; }
/* Metnin arkasında zemin renginde yumuşak örtü: arkadaki 0/1 tozu yazının okunmasını bozmasın. */
.slogan, .who, .status-m { position: relative; isolation: isolate; }
.slogan::before, .who::before, .status-m::before { content: ""; position: absolute; z-index: -1; inset: -2px -6px; border-radius: 14px; pointer-events: none;
  background: oklch(0.155 0.014 255 / 0.8); box-shadow: 0 0 22px 18px oklch(0.155 0.014 255 / 0.8); }
.slogan::before { inset: 4% 2% 12% 0; background: oklch(0.155 0.014 255 / 0.55); box-shadow: 0 0 34px 22px oklch(0.155 0.014 255 / 0.55); }
/* Ad: site.js yazı tipinin ölçüsüyle tam oturtur; bu değerler o hesabın yaklaşığı (JS gelmeden önce kayma olmasın). */
.name { margin: -0.0764em 0 calc(clamp(22px, 2.6vw, 44px) - 0.231em); font: 900 min(calc((100vw - 2 * var(--gut)) * 0.1925), 44svh)/1 var(--poster); letter-spacing: 0; text-transform: uppercase; white-space: nowrap; color: var(--fg); }
.name .ln { display: inline-block; overflow: hidden; padding-top: 0.3em; margin-top: -0.3em; vertical-align: baseline; }
.name .ln:first-child { margin-left: -0.04em; }
.name .w { display: inline-block; }
.name .bl { display: inline-block; width: 0; height: 0; }
/* Ad 0/1'den çözülürken: henüz çözülmemiş harfin yerinde büyük, soluk bir bit durur. */
.name.dc .c.off::after { top: 0.2em; font-size: 0.62em; color: var(--g4); }

@media (prefers-reduced-motion: no-preference) {
  .hero .name .w { animation: rise 0.8s var(--ease) 0.05s both; }
  .hero .name .ln + .ln .w { animation-delay: 0.13s; }
  .hero .slogan .ln > span { animation: rise 0.75s var(--ease) 0.32s both; }
  .hero .slogan .ln + .ln > span { animation-delay: 0.4s; }
  .hero .h-band > * { animation: fade 0.5s linear 0.6s both; }
}
@keyframes rise { from { transform: translate3d(0, 104%, 0); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Manifesto ---------- */
.mf { height: 220svh; }
.mf-in { position: sticky; top: 0; height: 100svh; display: grid; align-content: center; gap: 28px; padding-bottom: 12svh; box-sizing: border-box; }
.mf p.big { font: 400 clamp(2.6rem, 7vw, 7.4rem)/0.98 var(--serif); letter-spacing: -0.03em; max-width: 15ch; }

/* ---------- Bölümler ---------- */
.sec { padding-block: clamp(96px, 10vw, 160px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3vw, 48px); }
h2.h { font: 400 clamp(2.6rem, 5vw, 5.4rem)/0.9 var(--serif); letter-spacing: -0.03em; }

/* ---------- Proje dizini (dergi düzeni) ---------- */
.index { position: relative; padding-top: clamp(96px, 10vw, 160px); padding-bottom: clamp(80px, 9vw, 140px); }
.index .sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: clamp(22px, 2.4vw, 34px); }
.index .sec-head .h { grid-column: 1 / 8; }
.index .sec-head .link { grid-column: 9 / 13; justify-self: start; padding-bottom: 0.4em; font-size: var(--t-small); }
.list { border-bottom: 1px solid var(--rule); }
.item { position: relative; align-items: baseline; padding: clamp(18px, 1.9vw, 30px) 0 clamp(16px, 1.6vw, 24px); border-top: 1px solid var(--rule); text-decoration: none; transition: opacity 0.45s var(--ease); }
.item .no { grid-column: 1 / 2; font: 400 11px/1 var(--mono); letter-spacing: 0.04em; color: var(--g2); }
.item .t { grid-column: 2 / 9; justify-self: start; min-width: 0; font: 400 clamp(2.75rem, 7.6vw, 8.4rem)/0.92 var(--serif); letter-spacing: -0.035em; text-wrap: balance; overflow-wrap: anywhere; transition: color 0.35s var(--ease); }
.item .d { grid-column: 9 / 12; font-size: var(--t-small); color: var(--g2); line-height: 1.45; max-width: 30ch; }
.item .d small { display: block; margin-top: 6px; font-size: inherit; color: var(--g1); transition: color 0.35s; }
.item .y { grid-column: 12 / 13; justify-self: end; font-size: var(--t-small); color: var(--g2); transition: color 0.35s; }
.item.on .t, .item:focus-visible .t { font-style: italic; color: var(--sig); letter-spacing: -0.03em; }
.item.on .y, .item.on .d small, .item:focus-visible .y { color: var(--fg); }
.list.hov .item:not(.on) { opacity: 0.3; }
.item:focus-visible { outline: none; }
.shot { display: none; }
.shot img, .peek img { display: block; width: 100%; height: 100%; object-fit: cover; outline: 1px solid oklch(0.95 0.008 95 / 0.16); outline-offset: -1px; }
.peek { position: fixed; left: 0; top: 0; z-index: 30; width: clamp(170px, 15.5vw, 240px); aspect-ratio: 4 / 3; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.peek img:not([src]) { visibility: hidden; }
/* Kartın altında adın UTF-8 baytlarından delikli şerit; görseli olmayan projede kart şeridin kendisi. */
.peek .pt { position: absolute; left: 0; top: calc(100% + 10px); display: block; }
.peek .pt .tape svg { height: 32px; width: auto; }
.peek.noimg { display: grid; place-items: center; background: var(--bg-1); outline: 1px solid oklch(0.95 0.008 95 / 0.16); outline-offset: -1px; }
.peek.noimg img { display: none; }
.peek.noimg .pt { position: static; width: 74%; }
.peek.noimg .pt .tape svg { width: 100%; height: auto; }
.tp, .pips { display: none; }
@media (min-width: 760px) {
  /* Satır açıklamasının arkasında zemin renginde örtü: arkadan geçen bitler yazıyı bozmasın. */
  .item .d { position: relative; isolation: isolate; }
  .item .d::before { content: ""; position: absolute; z-index: -1; inset: -4px -8px; border-radius: 14px; pointer-events: none; background: oklch(0.155 0.014 255 / 0.72); box-shadow: 0 0 20px 14px oklch(0.155 0.014 255 / 0.72); }
}
@media not ((hover: hover) and (pointer: fine)) {
  .peek { display: none; }
  .item .shot { display: block; grid-column: 2 / 9; margin-top: 18px; width: min(72%, 420px); aspect-ratio: 4 / 3; transform: rotate(-3deg); transform-origin: 20% 50%; }
  .tp.solo { display: block; grid-column: 2 / 9; margin-top: 18px; width: min(60%, 340px); }
  .tp.solo svg { width: 100%; height: auto; }
}

/* ---------- Satırlar (yazılar) ---------- */
.row { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline; padding-block: 22px 20px; border-top: 1px solid var(--rule); text-decoration: none; }
.rows > :last-child .row, .rows > .row:last-child { border-bottom: 1px solid var(--rule); }
.row .i, .row .y { font: 400 11px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--g2); white-space: nowrap; transition: color 0.2s ease; }
.row .n { font: 400 clamp(1.75rem, 2.8vw, 2.75rem)/1.02 var(--serif); letter-spacing: -0.025em; transition: color 0.3s ease; }
.row .s { grid-column: 2; color: var(--g2); max-width: 52ch; font-size: var(--t-small); }
.row:hover .n, .row:focus-visible .n { font-style: italic; }
.row:hover .i, .row:hover .y { color: var(--fg); }
.row.post .i { grid-column: 1; grid-row: 1; }
.row.post .n { grid-column: 2; grid-row: 1; }
.row.post .y { grid-column: 3; grid-row: 1; }
.row.post .s { grid-column: 2; grid-row: 2; }
.row.post abbr { text-decoration: none; }

/* ---------- Ne yapıyorum ---------- */
.cap { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 6px 16px; padding-block: 22px; border-top: 1px solid var(--rule); }
.caps > .cap:last-child { border-bottom: 1px solid var(--rule); }
.cap .bit { margin: 0; padding-top: 12px; }
.cap h3 { font: 400 clamp(1.75rem, 2.6vw, 2.5rem)/1.05 var(--serif); letter-spacing: -0.02em; }
.cap p { grid-column: 2; color: var(--g2); max-width: 52ch; }
.cap .tools { color: var(--g1); font-size: var(--t-small); }

/* ---------- Kapanış ---------- */
.cta h2 { font: 400 clamp(3rem, 8vw, 8.75rem)/0.92 var(--serif); letter-spacing: -0.035em; max-width: 11ch; }
.cta-in { display: grid; gap: 40px; justify-items: start; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.addr { font-family: var(--mono); font-size: 15px; color: var(--g1); user-select: all; overflow-wrap: anywhere; }

/* ---------- Sayfa başlıkları ---------- */
.page { box-sizing: border-box; padding-top: calc(clamp(140px, 20vh, 220px) + env(safe-area-inset-top, 0px)); padding-bottom: clamp(96px, 10vw, 140px); min-height: 100svh; }
.page-head { display: grid; gap: 22px; justify-items: start; margin-bottom: clamp(48px, 5vw, 72px); }
h1[tabindex="-1"]:focus { outline: none; }
h1.t { font: 400 clamp(3.5rem, 10vw, 10rem)/0.9 var(--serif); letter-spacing: -0.035em; max-width: 100%; overflow-wrap: break-word; }
.lead { font-size: clamp(1.25rem, 1.8vw, 1.75rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--g1); max-width: 30ch; }
.lead b { color: var(--fg); font-weight: 560; }

/* ---------- Projeler sayfası: filtre ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 28px; }
.tog { height: 36px; padding: 0 14px; border-radius: 2px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--rule); color: var(--g1); font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.tog:hover { box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--fg); }
.tog[aria-pressed="true"], .tog[aria-current="page"] { background: var(--bg-3); color: var(--fg); box-shadow: inset 0 0 0 1px var(--rule-2); }
.mask { margin-left: auto; }
.rw { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.5s var(--out), opacity 0.3s ease; }
.rw > * { min-height: 0; overflow: hidden; }
.rw.out { grid-template-rows: 0fr; opacity: 0; }
.empty { padding-block: 24px; color: var(--g2); }

/* ---------- Proje detayı ---------- */
h1.pd-title { font-size: clamp(3.25rem, 9vw, 9rem); max-width: min(14ch, 100%); }
.pd-lead { max-width: 34ch; }
.pd-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 22px; border-block: 1px solid var(--rule); margin-bottom: clamp(48px, 5vw, 72px); }
.pd-meta dt { margin-bottom: 8px; }
.pd-meta dd { font-size: 16px; overflow-wrap: anywhere; }
.panel { display: grid; gap: 12px; }
.panel.glass { background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.panel.cover, .panel.tape-panel, .panel.video-panel { margin: 0 0 clamp(48px, 5vw, 72px); }
.panel.cover img { display: block; width: 100%; height: auto; border-radius: 2px; outline: 1px solid var(--rule); outline-offset: -1px; }
.panel.video-panel video { display: block; width: 100%; height: auto; max-height: 80svh; border-radius: 2px; background: var(--bg-1); }
.pd-sec { padding-block: clamp(36px, 4vw, 56px); border-top: 1px solid var(--rule); row-gap: 16px; }
.pd-sec h2 { grid-column: 1 / span 4; font: 400 clamp(1.75rem, 2.6vw, 2.5rem)/1.05 var(--serif); letter-spacing: -0.02em; }
.pd-sec .body { grid-column: 5 / span 7; min-width: 0; display: grid; gap: 16px; font-size: clamp(1.0625rem, 0.5vw + 0.95rem, 1.25rem); line-height: 1.5; color: var(--g1); max-width: 60ch; }
.pd-sec .body li { padding-left: 24px; position: relative; }
.pd-sec .body li::before { content: "1"; position: absolute; left: 0; top: 0.55em; font: 400 11px/1 var(--mono); color: var(--g3); }
.pd-sec .body .did { display: grid; gap: 14px; }
.pd-sec .body p.strong { color: var(--fg); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 16px; }
.pd-sec .body .flow li.wire { padding: 0; }
.pd-sec .body .flow li.node { padding: 0 16px; }
.pd-sec .body .flow li::before { content: none; }
.flow .node { height: 44px; border-radius: 2px; display: inline-flex; align-items: center; color: var(--fg); background: var(--bg-1); border: 1px solid var(--rule); -webkit-backdrop-filter: none; backdrop-filter: none; }
.flow .wire { width: 40px; height: 1px; background: var(--rule-2); position: relative; overflow: hidden; }
.flow .wire::after { content: ""; position: absolute; inset: 0; width: 16px; background: var(--fg); animation: read 1.6s linear infinite; }
.next { display: grid; gap: 14px; padding-block: 56px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.next .n { font: 400 clamp(2.75rem, 7vw, 7.5rem)/0.95 var(--serif); letter-spacing: -0.035em; transition: transform 0.5s var(--spring); }
.next:hover .n, .next:focus-visible .n { font-style: italic; transform: translateX(16px); }

/* Punch şerit: proje adının UTF-8 baytları (kapaksız projelerde) */
.tape { position: relative; display: block; overflow: hidden; }
.tape svg { display: block; width: 100%; height: auto; }
.tape .t1 { fill: var(--fg); }
.tape .t0 { fill: var(--bg-3); }
.tape::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 24px; background: linear-gradient(90deg, transparent, oklch(0.95 0.008 95 / 0.22), transparent); animation: read 5s linear infinite; }
@keyframes read { from { left: -24px; } to { left: 100%; } }
@keyframes readv { from { top: -8px; } to { top: 100%; } }

/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery .shot { position: relative; display: block; border-radius: 2px; overflow: hidden; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--rule); }
.gallery .shot img { display: block; width: 100%; height: auto; outline: 0; transition: transform 0.6s var(--out); }
.gallery .shot:hover img { transform: scale(1.03); }
.gallery .shot:only-child { grid-column: 1 / -1; }
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; background: oklch(0.155 0.014 255 / 0.95); }
.lightbox figure { display: grid; gap: 16px; justify-items: center; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 120px); border-radius: 2px; object-fit: contain; }
.lightbox button { width: 48px; height: 48px; border: 0; border-radius: 2px; background: var(--bg-2); color: var(--fg); font-size: 20px; cursor: pointer; justify-self: center; }
.lightbox button:hover { background: var(--bg-3); }
.lightbox .lb-close { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; }

/* ---------- Hakkımda ---------- */
.ab-sec { padding-block: clamp(36px, 4vw, 52px); border-top: 1px solid var(--rule); display: grid; gap: 24px; }
.ab-sec h2 { font: 400 clamp(1.75rem, 2.6vw, 2.5rem)/1.05 var(--serif); letter-spacing: -0.02em; }
.ab-list { display: grid; gap: 24px; }
.ab-list h3 { font-size: 20px; font-weight: 560; line-height: 1.4; }
.ab-list p { color: var(--g2); max-width: 52ch; }
.kit { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 14px 24px; align-items: baseline; }
.kit dd { font-size: 16px; }
.tl { display: grid; gap: 24px; }
.tl-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: baseline; }
.tl-item h3 { font-size: 19px; font-weight: 560; line-height: 1.4; letter-spacing: -0.015em; }
.tl-item .when { font: 400 11px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--g2); white-space: nowrap; }
.tl-item p { grid-column: 1 / -1; color: var(--g2); max-width: 56ch; }
.tl-item p b { color: var(--fg); font-weight: 560; }
.links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.links a { text-decoration: none; color: var(--fg); border-bottom: 1px solid var(--rule-2); padding-bottom: 2px; transition: border-color 0.2s ease; }
.links a:hover { border-color: var(--fg); }
.now li { padding-block: 16px; border-top: 1px solid var(--rule); font-size: 19px; line-height: 1.4; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; }
.now li .bit { margin: 0; padding-top: 6px; }
.now li .bit::before { content: "1"; color: var(--fg); }

/* ---------- İletişim ---------- */
.card { padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 24px; border-radius: 2px; }
.state { display: flex; align-items: baseline; gap: 16px; }
.state b { font: 400 24px/1 var(--mono); display: inline-block; transition: transform 0.5s var(--spring); }
.state b.pop { transform: scale(1.4); }
.mailrow { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.mailrow .addr { font-size: 19px; color: var(--fg); min-width: 0; }
.form { display: grid; gap: 16px; padding-top: 24px; border-top: 1px solid var(--rule); }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; color: var(--g1); }
.field input, .field textarea { background: oklch(0.155 0.014 255 / 0.6); border: 0; box-shadow: inset 0 0 0 1px var(--rule-2); border-radius: 2px; padding: 14px 16px; font-size: 16px; width: 100%; box-sizing: border-box; resize: vertical; transition: box-shadow 0.2s ease; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--sig); }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.note { font-size: 14px; color: var(--g1); min-height: 24px; flex: 1 1 200px; }
.soon { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--rule); }
.soon dd { color: var(--g2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field .err { font-size: 14px; color: var(--fg); }
.field.bad input, .field.bad textarea { box-shadow: inset 0 0 0 1px var(--fg); }
.note.ok { color: var(--fg); }

/* ---------- Alt bilgi ---------- */
.foot { border-top: 1px solid var(--rule); padding-block: 28px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: baseline; font-size: var(--t-small); color: var(--g2); }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-right: auto; }
.foot-in a { text-decoration: none; transition: color 0.2s ease; }
.foot-in a:hover { color: var(--fg); }

/* ---------- Telefon ---------- */
@media (max-width: 1099px) {
  .left { grid-column: 1 / -1; }
  .pd-sec h2, .pd-sec .body { grid-column: 1 / -1; }
}
@media (max-width: 759px) {
  .hero { min-height: 560px; }
  .h-top { display: block; padding-top: clamp(84px, 12.5svh, 112px); }
  .slogan { font-size: clamp(2.3rem, 11.6vw, 3.3rem); line-height: 0.97; max-width: 9.4em; }
  .h-band { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; padding-bottom: var(--bandPad, 16px); }
  .who { font-size: 0.875rem; max-width: 30ch; }
  .status-m { display: block; margin-top: 16px; padding-top: 12px; font-size: 0.875rem; color: var(--g1); }
  .status-m::before { inset: 10px auto -2px -6px; width: min(100%, 15em); }
  .status-m::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); }
  .name { font-size: calc((100vw - 2 * var(--gut)) * 0.505); margin: -0.0794em 0 calc(max(14px, 2svh) - 0.083em); }
  .name .ln { display: block; }
  .name .ln + .ln { font-size: 0.668em; margin-top: var(--l2, -0.3228em); }

  .mf { height: auto; min-height: 100svh; display: grid; align-items: center; }
  .mf-in { position: static; height: auto; padding-block: 96px; }
  .mf p.big { font-size: clamp(2.4rem, 11vw, 3.4rem); }

  .index { padding-top: 96px; }
  .index .sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; }
  .item { grid-template-columns: 30px minmax(0, 1fr) auto; row-gap: 10px; column-gap: 10px; }
  .item .no { grid-column: 1; }
  .item .t { grid-column: 2 / 4; font-size: clamp(2.6rem, 12.5vw, 3.4rem); }
  .item .d { grid-column: 2 / 3; grid-row: 2; }
  .item .y { grid-column: 3; grid-row: 2; }
  .item .shot { display: block; grid-column: 2 / 4; grid-row: 3; width: 76%; margin: 14px 0 10px 4px; aspect-ratio: 4 / 3; transform: rotate(-3deg); transform-origin: 20% 50%; }
  .tp.solo { grid-column: 2 / 4; grid-row: 3; width: 64%; margin: 14px 0 10px 4px; }

  /* Ana sayfa: tam ekran sahneler. Her bölüm ekrana oturur; içerik altta, bit şekli üstte. */
  html.snap { scroll-snap-type: y mandatory; }
  html.snap .foot { scroll-snap-align: end; }
  #app[data-page="home"] > section { scroll-snap-align: start; scroll-snap-stop: always; }
  #app[data-page="home"] > section:not(.hero):not(.mf) { box-sizing: border-box; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; position: relative;
    padding-top: calc(150px + env(safe-area-inset-top, 0px)); padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
  #app[data-page="home"] > section:not(.hero):not(.mf)::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 74%; pointer-events: none;
    background: linear-gradient(180deg, oklch(0.155 0.014 255 / 0) 0, oklch(0.155 0.014 255 / 0.86) 96px, oklch(0.155 0.014 255 / 0.92) 100%); }
  #app[data-page="home"] .sec-head { margin-bottom: 22px; }

  /* Telefon: yana kaydırılan kartlar ve altlarında bit noktaları */
  #home-rows, .caps { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); border-bottom: 0; }
  #home-rows::-webkit-scrollbar, .caps::-webkit-scrollbar { display: none; }
  #home-rows > .item, .caps > .cap { flex: 0 0 84%; box-sizing: border-box; scroll-snap-align: start; align-content: start; border-top: 1px solid var(--rule-2); }
  #home-rows > .item { padding-bottom: 4px; }
  #home-rows .item .t { font-size: clamp(2.2rem, 10.6vw, 2.9rem); }
  .caps > .cap:last-child { border-bottom: 0; }
  .caps .cap { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .caps .cap .bit { display: none; }
  .caps .cap p { grid-column: 1; }
  .pips { display: flex; gap: 10px; margin-top: 14px; font: 400 11px/1 var(--mono); color: var(--g4); }
  .pips span { display: inline-block; transition: color 0.2s ease, transform 0.5s var(--spring); }
  .pips span.on { color: var(--fg); transform: scale(1.3); }

  /* Telefon: ikilik saat durum satırının sağında */
  .h-band { position: relative; }
  .clock { display: flex; position: absolute; right: 0; bottom: var(--bandPad, 16px); z-index: 1; }
  .clock .label { display: none; }

  .sec { padding-block: 88px; }
  .page { padding-top: calc(max(220px, 44svh) + env(safe-area-inset-top, 0px)); padding-bottom: 80px; }
  #app[data-page="projects"] .page, #app[data-page="blog"] .page, #app[data-page="tag"] .page { padding-top: calc(132px + env(safe-area-inset-top, 0px)); }
  .page-head { margin-bottom: 40px; }
  .row, .row.post { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
  .row.post .i { grid-column: 1; grid-row: 1; }
  .row.post .y { grid-column: 2; grid-row: 1; }
  .row.post .n { grid-column: 1 / -1; grid-row: 2; font-size: 1.875rem; }
  .row.post .s { grid-column: 1 / -1; grid-row: 3; }
  .pd-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-sec .body { font-size: 16px; }
  .flow { flex-direction: column; align-items: flex-start; }
  .flow .wire { width: 1px; height: 24px; margin-left: 24px; }
  .flow .wire::after { width: 1px; height: 8px; animation-name: readv; }
  .kit, .soon { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .tl-item { grid-template-columns: minmax(0, 1fr); }
  .kit dd, .soon dd { margin-bottom: 10px; }
  .now li { font-size: 16px; line-height: 1.5; }
  .mailrow .addr { font-size: 16px; }
  .mask { margin-left: 0; flex-basis: 100%; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .lightbox { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; padding: 16px; }
  .lightbox .lb-prev, .lightbox .lb-next { position: absolute; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .lightbox .lb-prev { left: 16px; } .lightbox .lb-next { right: 16px; }
  .foot { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 759px) and (max-height: 700px) {
  .clock { display: none; }
  .h-top { padding-top: 84px; }
  .slogan { font-size: clamp(2.1rem, 10.4vw, 2.8rem); }
  .who { font-size: 0.8125rem; }
  .status-m { margin-top: 10px; padding-top: 9px; font-size: 0.8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .mf { height: auto; padding-block: 120px; }
  .mf-in { position: static; height: auto; }
}

/* ---------- Blog ---------- */
.blog-tags a.tog[aria-current="page"] > .bit::before { content: "1"; color: var(--fg); }
.blog-tags .rss { margin-left: auto; font-size: 14px; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 32px; }
.pager > :last-child { justify-self: end; }
.blog-empty { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px; padding: 32px; max-width: 640px; }
.blog-empty .zero { font: 400 96px/1 var(--mono); color: var(--bg-3); }
.blog-empty h2 { font: 400 32px/1.1 var(--serif); margin-bottom: 8px; }
.blog-empty p { color: var(--g2); }
h1.post-title { font-size: clamp(2.5rem, 5.4vw, 5.75rem); line-height: 0.95; max-width: 100%; }
@media (min-width: 760px) { h1.t { max-width: min(100%, 64vw); } h1.post-title, h1.pd-title { max-width: 58vw; } }
.post-lead { max-width: 40ch; }
.post-meta a { text-decoration: none; color: var(--g2); transition: color 0.2s ease; }
.post-meta a:hover { color: var(--fg); }
.draft-flag { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; padding: 14px 16px; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--g1); font-size: 14px; }
.draft-flag .label { color: var(--fg); }
.only-tr { font-size: 14px; color: var(--g1); display: flex; align-items: baseline; }
.only-tr .bit::before { content: "1"; color: var(--fg); }

/* Makale gövdesi */
.prose { max-width: 68ch; font-size: 18px; line-height: 1.7; color: var(--g1); overflow-wrap: break-word; }
.prose > * + * { margin-top: 24px; }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { color: var(--fg); scroll-margin-top: 96px; }
.prose h2 { font: 400 clamp(1.875rem, 2.8vw, 2.5rem)/1.1 var(--serif); letter-spacing: -0.02em; margin-top: 56px; }
.prose h3 { font-size: 21px; font-weight: 560; line-height: 1.3; letter-spacing: -0.015em; margin-top: 40px; }
.prose h4 { font-size: 18px; font-weight: 560; line-height: 1.4; margin-top: 32px; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 16px; }
.prose strong, .prose b { color: var(--fg); font-weight: 560; }
.prose a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--rule-2); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color 0.2s ease; }
.prose a:hover { text-decoration-color: var(--sig); }
.prose ul, .prose ol { padding-left: 24px; }
.prose ul { list-style: none; }
.prose ul > li { position: relative; }
.prose ul > li::before { content: "1"; position: absolute; left: -24px; top: 0.62em; font: 400 11px/1 var(--mono); color: var(--g3); }
.prose ol { list-style: decimal; }
.prose ol > li::marker { font: 400 14px var(--mono); color: var(--g3); }
.prose li + li, .prose li > ul, .prose li > ol { margin-top: 8px; }
.prose blockquote { margin: 0; margin-top: 24px; padding: 4px 0 4px 24px; border-left: 1px solid var(--rule-2); color: var(--fg); font: italic 400 1.35em/1.35 var(--serif); }
.prose blockquote > * + * { margin-top: 16px; }
.prose hr { border: 0; height: 1px; background: var(--rule); margin-block: 48px; }
.prose img { display: block; width: 100%; height: auto; border-radius: 2px; background: var(--bg-2); }
.prose p > img:only-child { margin-block: 8px; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.prose th, .prose td { padding: 8px 16px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose th { color: var(--fg); font-weight: 560; border-bottom-color: var(--rule-2); }
.prose :not(pre) > code { font: 400 0.86em/1 var(--mono); background: var(--bg-2); color: var(--fg); padding: 2px 6px; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Kod blokları (Pygments, css_class="hl"): renk yok, ton farkı var */
.prose .hl { background: var(--bg-1); border-radius: 2px; box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; }
.prose .hl pre { margin: 0; padding: 16px 24px; overflow-x: auto; font: 400 14px/1.65 var(--mono); color: #C9CDD2; tab-size: 4; -webkit-overflow-scrolling: touch; }
.prose .hl code { font: inherit; background: none; padding: 0; }
.hl .k, .hl .kc, .hl .kd, .hl .kn, .hl .kp, .hl .kr, .hl .kt, .hl .ow, .hl .nt { color: var(--fg); font-weight: 600; }
.hl .c, .hl .c1, .hl .cm, .hl .ch, .hl .cs, .hl .cpf, .hl .sd { color: var(--g3); font-style: italic; }
.hl .cp { color: var(--g3); }
.hl .s, .hl .s1, .hl .s2, .hl .sa, .hl .sb, .hl .sc, .hl .dl, .hl .se, .hl .sh, .hl .si, .hl .sx, .hl .sr, .hl .ss { color: var(--g2); }
.hl .se, .hl .si { color: var(--g1); }
.hl .m, .hl .mb, .hl .mf, .hl .mh, .hl .mi, .hl .il, .hl .mo { color: var(--g1); }
.hl .nf, .hl .fm, .hl .nc, .hl .nn, .hl .ne { color: var(--fg); }
.hl .nb, .hl .bp, .hl .nd, .hl .na, .hl .nv, .hl .vc, .hl .vg, .hl .vi { color: var(--g1); }
.hl .o, .hl .p { color: var(--g2); }
.hl .gh, .hl .gu { color: var(--fg); font-weight: 600; }
.hl .gi { color: var(--fg); }
.hl .gd { color: var(--g3); text-decoration: line-through; }
.hl .gp, .hl .go { color: var(--g3); }
.hl .err { color: inherit; background: none; }
.hl .w { color: inherit; }

/* İlgili proje */
.related { margin-top: 64px; max-width: 68ch; box-sizing: border-box; gap: 8px; text-decoration: none; transition: border-color 0.2s ease; }
.related:hover { border-color: var(--rule-2); }
.related .n { font: 400 clamp(1.75rem, 3vw, 2.75rem)/1.05 var(--serif); letter-spacing: -0.02em; }
.related .n .ar { display: inline-block; font-family: var(--sans); font-size: 0.6em; transition: transform 0.5s var(--spring); }
.related:hover .n .ar { transform: translateX(8px); }
.related .s { color: var(--g2); max-width: 52ch; }

/* Önceki / sonraki */
.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 96px; }
.post-nav .next { padding-top: 36px; }
.post-nav .next .n { font-size: clamp(1.75rem, 3.2vw, 3rem); line-height: 1.02; letter-spacing: -0.025em; }
.post-nav .next:not(.prev) { text-align: right; }
.post-nav .prev:hover .n { transform: translateX(-16px); }

@media (max-width: 759px) {
  .blog-tags .rss { margin-left: 0; }
  .blog-empty { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .blog-empty .zero { font-size: 64px; }
  .prose { font-size: 17px; }
  .prose .hl pre { padding: 16px; }
  .prose .hl { margin-inline: calc(-1 * var(--gut) + 8px); }
  .post-nav { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 64px; }
  .post-nav .next:not(.prev) { text-align: left; }
  .post-nav > span:empty { display: none; }
}

/* ---------- Sohbet asistanı ---------- */
.chat-fab { position: fixed; z-index: 35; right: var(--gut); bottom: 24px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px; border: 1px solid var(--rule-2); border-radius: 2px; background: oklch(0.185 0.014 255 / 0.92); color: var(--fg); font: 560 14px/1 var(--sans); cursor: pointer; transition: transform 0.4s var(--spring), background-color 0.2s ease, border-color 0.2s ease; }
/* "01" süs: metin değil (erişilebilir ad görünen "Sor"u içersin) */
.chat-fab::before { content: "01" / ""; font: 400 11px/1 var(--mono); color: var(--g2); letter-spacing: 0.04em; }
.chat-fab:hover { border-color: var(--fg); }
.chat-fab.away { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.3s ease, visibility 0s linear 0.3s, transform 0.3s ease; }
.chat-fab[aria-expanded="true"] { transform: scale(0.9); opacity: 0; pointer-events: none; }
.chat { position: fixed; z-index: 46; right: var(--gut); bottom: 24px; width: min(400px, calc(100vw - 48px)); height: min(560px, calc(100svh - 120px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--bg-1); border: 1px solid var(--rule-2); border-radius: 4px; overflow: hidden; box-shadow: 0 24px 80px oklch(0.1 0.01 255 / 0.5); transform-origin: 100% 100%; animation: chat-in 0.45s var(--ease); }
@keyframes chat-in { from { opacity: 0; transform: translateY(16px) scale(0.97); } }
.chat-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 18px 18px 14px 20px; box-shadow: inset 0 -1px 0 var(--rule); }
.chat-head h2 { margin: 0; font: 400 24px/1.1 var(--serif); letter-spacing: -0.01em; color: var(--fg); }
.chat-note { margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: var(--g2); }
.chat-x { width: 36px; height: 36px; flex: none; border: 0; border-radius: 2px; background: transparent; color: var(--g1); font-size: 22px; cursor: pointer; }
.chat-x:hover { background: var(--hover); color: var(--fg); }
.chat-log { overflow-y: auto; overscroll-behavior: contain; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.msg { margin: 0; max-width: 88%; padding: 11px 14px; border-radius: 4px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.bot { align-self: flex-start; background: var(--bg-2); color: var(--fg); }
.msg.user { align-self: flex-end; background: var(--bg-3); color: var(--fg); }
.msg.bot.err { color: var(--g1); }
.msg a.link { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--g3); }
.msg a.link:hover { text-decoration-color: var(--sig); }
.msg.wait { font-family: var(--mono); font-size: 13px; color: var(--g2); letter-spacing: 0.04em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 0; border-radius: 2px; padding: 8px 12px; background: transparent; box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--g1); font: 400 13px/1.2 var(--sans); cursor: pointer; }
.chip:hover { color: var(--fg); background: var(--hover); }
.chat-form { display: flex; gap: 8px; padding: 12px; box-shadow: inset 0 1px 0 var(--rule); }
.chat-form textarea { flex: 1; height: 44px; min-height: 44px; box-sizing: border-box; max-height: 120px; resize: none; border: 0; border-radius: 2px; padding: 12px 14px; background: var(--bg); color: var(--fg); font: 400 15px/1.35 var(--sans); box-shadow: inset 0 0 0 1px var(--rule); }
.chat-form textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--sig); }
.chat-form .btn { width: 44px; height: 44px; padding: 0; flex: none; font-size: 18px; }
@media (max-width: 759px) {
  .chat-fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; padding: 0; justify-content: center; }
  .chat-fab::before { display: none; }
  .chat { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); height: min(72svh, 560px); }
}
@media (prefers-reduced-motion: reduce) { .chat { animation: none; } }
@media (prefers-reduced-transparency: reduce) { .glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg-1); } }
