/* ============================================================
   yagizkus.de — stil.css  ·  "Bonfire"
   Night, at the fireside: dark ground, warm accent that breathes
   like an ember, plenty of space. Classically proportioned serif typography.
   The palette and font stack are preserved; layout, scale and motion
   layer reinterpreted.
   No external resources. Without JS the content is visible; under reduced-motion
   no motion is set up.
   ============================================================ */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Scale system and palette ---------- */
:root {
  /* palette (unchanged) */
  --bg: #141210;
  --surface: #1b1815;
  --surface-2: #211d19;
  --ink: #ded7c9;
  --ink-soft: #b7afa0;
  --muted: #948c7d;
  --faint: #6f6a5e;
  --accent: #d98e4a;
  --accent-2: #eaa562;
  --btn-ink: #241505;
  --line: rgba(222, 215, 201, .14);
  --line-strong: rgba(222, 215, 201, .28);
  --glow: rgba(217, 142, 74, .16);
  --glow-2: rgba(217, 142, 74, .10);
  --ocak-1: rgba(226, 118, 46, .50);
  --ocak-2: rgba(240, 160, 86, .30);
  --kor: #ffc27a;
  --ok: #8aa06b;
  --bad: #c57a55;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 18px 40px rgba(0, 0, 0, .38);
  --shadow-yuksek: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 28px 60px rgba(0, 0, 0, .45);
  --radius: 12px;
  --radius-s: 7px;

  /* rhythm: breathing spacing scale */
  --s-2: clamp(6px, .8vw, 10px);
  --s-3: clamp(10px, 1.2vw, 16px);
  --s-4: clamp(16px, 1.8vw, 24px);
  --s-5: clamp(24px, 3vw, 40px);
  --s-6: clamp(36px, 5vw, 64px);
  --s-7: clamp(60px, 8vw, 104px);
  --s-8: clamp(88px, 12.5vw, 180px);

  --serif-b: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --k: 0;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f1ece2;
    --surface: #f8f4eb;
    --surface-2: #efe9dd;
    --ink: #262119;
    --ink-soft: #4a4438;
    --muted: #6b6353;
    --faint: #96908a;
    --accent: #a2541d;
    --accent-2: #8a4517;
    --btn-ink: #faf6ee;
    --line: rgba(38, 33, 25, .14);
    --line-strong: rgba(38, 33, 25, .28);
    --glow: rgba(162, 84, 29, .10);
    --glow-2: rgba(162, 84, 29, .06);
    --ocak-1: rgba(196, 92, 28, .30);
    --ocak-2: rgba(222, 132, 56, .20);
    --kor: #c25e1f;
    --ok: #5d7a48;
    --bad: #9c4f2a;
    --shadow: 0 1px 2px rgba(38, 33, 25, .05), 0 14px 36px rgba(38, 33, 25, .08);
    --shadow-yuksek: 0 1px 2px rgba(38, 33, 25, .06), 0 24px 54px rgba(38, 33, 25, .10);
    color-scheme: light;
  }
}

/* ---------- Temel ---------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-x: clip; /* clips horizontal overflow without breaking the sticky header */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: color-mix(in srgb, var(--accent) 32%, transparent); color: var(--ink); }

a { color: inherit; }
a:hover { color: var(--accent); }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 5px;
}

/* ---------- Atmosphere: fixed light layers ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(130% 70% at 50% -14%, var(--glow-2), transparent 68%),
    radial-gradient(90% 50% at 50% 108%, var(--glow), transparent 70%),
    linear-gradient(180deg, transparent 0%, transparent 72%, var(--glow-2) 100%);
}

/* "hearth light" — breathes */
.isik {
  position: fixed;
  inset: -12vh -12vw auto;
  height: 78vh;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 54% at 28% 18%, var(--glow), transparent 70%),
    radial-gradient(48% 48% at 74% 6%, var(--glow-2), transparent 72%);
  animation: nefes 17s ease-in-out infinite;
}
@keyframes nefes {
  0%, 100% { opacity: .45; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.07); }
}

/* "ember bed" — fire at the bottom of the screen that never goes out */
.ocak {
  position: fixed;
  left: -14vw; right: -14vw; bottom: -10vh;
  height: 52vh;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 62% at 50% 100%, var(--ocak-1), transparent 72%),
    radial-gradient(26% 44% at 32% 100%, var(--ocak-2), transparent 72%),
    radial-gradient(24% 40% at 68% 100%, var(--ocak-2), transparent 72%);
  transform-origin: 50% 100%;
  animation: titre 5.3s ease-in-out infinite, kabar 13.7s ease-in-out infinite;
}
@keyframes titre {
  0%, 100% { opacity: .68; } 9% { opacity: .88; } 15% { opacity: .74; }
  24% { opacity: .98; } 33% { opacity: .8; } 43% { opacity: .94; }
  51% { opacity: .7; } 62% { opacity: .9; } 71% { opacity: .76; }
  83% { opacity: 1; } 91% { opacity: .82; }
}
@keyframes kabar {
  0%, 100% { transform: scale(1, 1); }
  50%      { transform: scale(1.05, 1.16); }
}

/* ember area (panel and, when needed, full-width ember ground) */
.kor-alani {
  position: fixed;
  inset: auto 0 0;
  height: 34vh;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(60% 100% at 50% 100%, var(--ocak-2), transparent 74%);
}

/* scroll progress line — added by the script */
.kor-cizgi {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 60;
  pointer-events: none;
  background: linear-gradient(90deg, var(--accent), var(--kor));
  box-shadow: 0 0 14px rgba(217, 142, 74, .5), 0 0 3px rgba(255, 194, 122, .75);
  transform-origin: 0 50%;
  transform: scaleX(var(--ilerleme, 0));
  opacity: 0;
  transition: opacity .5s ease;
}
.kor-cizgi.gorunur { opacity: .9; }

/* ---------- Layout ---------- */
.layer { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; }
.kap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: clamp(22px, 5vw, 46px); position: relative; z-index: 1; }
.kap-dar { width: 100%; max-width: 720px; margin-inline: auto; padding-inline: clamp(22px, 5vw, 46px); position: relative; z-index: 1; }

.atla {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  z-index: 50;
}
.atla:focus { left: 12px; top: 12px; }

/* ---------- Top bar (sticky) ---------- */
.ust {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  transition: border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.ust.kaydi { border-bottom-color: var(--line); box-shadow: 0 14px 34px rgba(0, 0, 0, .28); }
@media (prefers-color-scheme: light) {
  .ust.kaydi { box-shadow: 0 12px 30px rgba(38, 33, 25, .07); }
}
.ust-ic {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  flex-wrap: wrap;
  padding-block: clamp(14px, 1.8vw, 20px);
  transition: padding .35s ease;
}
.ust.kaydi .ust-ic { padding-block: clamp(10px, 1.3vw, 15px); }
.marka {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif-b);
  font-weight: 600;
  font-size: clamp(18px, 1.8vw, 21px);
  letter-spacing: -.01em;
}
.marka-simge { width: 26px; height: 26px; flex: none; }
.marka .soluk { color: var(--muted); font-weight: 500; }

.gezinti {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  margin-inline-start: auto;
  font-size: 15px;
}
.gezinti a {
  position: relative;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 3px;
  transition: color .2s ease;
}
.gezinti a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .28s cubic-bezier(.2, .7, .2, 1);
}
.gezinti a:hover { color: var(--accent); }
.gezinti a:hover::after { transform: scaleX(1); }
.gezinti a[aria-current="page"] { color: var(--ink); }
.gezinti a[aria-current="page"]::after { transform: scaleX(1); background: var(--line-strong); }

.diller { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.diller .dil, .diller .dil-secili, .diller .dil-yok {
  text-decoration: none;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11.5px;
}
.diller .dil { color: var(--muted); border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.diller .dil:hover { color: var(--accent); border-color: var(--accent); }
.diller .dil-secili { color: var(--accent); border-bottom: 1px solid var(--accent); }
.diller .dil-yok { color: var(--faint); cursor: default; }
.diller .kisa { display: none; }

/* ---------- Kahraman ---------- */
.kahraman {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: clamp(560px, 84vh, 900px);
  padding-block: clamp(56px, 10vh, 120px) clamp(76px, 13vh, 150px);
}
.kor-tuval {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: translate3d(0, calc(var(--k) * -52px), 0);
}
.kahraman.kor-acik .kor-tuval { opacity: 1; }
/* The bottom edge of the hero canvas must not be cut sharply: embers fade out blending into the fixed scene */
.kahraman .kor-tuval {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}
.kahraman-ic { position: relative; z-index: 1; transform: translate3d(0, calc(var(--k) * -36px), 0); opacity: clamp(0, calc(1 - var(--k) * .95), 1); will-change: transform, opacity; }

.kahraman-konum {
  margin: 0 0 clamp(14px, 2vw, 22px);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kahraman-ad {
  margin: 0;
  max-width: 20ch;
  font-family: var(--serif-b);
  font-weight: 500;
  font-size: clamp(46px, 11.5vw, 152px);
  line-height: .94;
  letter-spacing: -.03em;
  text-wrap: balance;
  background: linear-gradient(180deg, var(--ink) 34%, color-mix(in srgb, var(--accent) 62%, var(--ink)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kahraman-kimlik {
  margin: clamp(18px, 2.6vw, 30px) 0 0;
  max-width: 46ch;
  color: var(--accent);
  font-family: var(--serif-b);
  font-size: clamp(18px, 2.4vw, 25px);
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.35;
}
.lede { margin-top: clamp(22px, 3vw, 34px); max-width: 56ch; }
.lede p {
  margin: 0 0 .9em;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.68;
}
.lede p:last-child { margin-bottom: 0; }

/* scroll indicator */
.kaydir-isaret {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 4vh, 40px);
  translate: -50% 0;
  width: 1px;
  height: clamp(46px, 9vh, 84px);
  z-index: 1;
  background: linear-gradient(180deg, transparent, var(--line-strong));
  opacity: clamp(0, calc(1 - var(--k) * 2.2), 1);
}
.ki-nokta {
  position: absolute;
  left: 50%;
  top: 0;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--kor);
  box-shadow: 0 0 10px var(--kor);
  animation: inis 2.8s cubic-bezier(.45, 0, .2, 1) infinite;
}
@keyframes inis {
  0%   { transform: translateY(0); opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(clamp(46px, 9vh, 84px)); opacity: 0; }
}

/* ---------- Contact links ---------- */
.baglanti-liste {
  list-style: none;
  margin: clamp(26px, 3.4vw, 40px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
}
.baglanti a {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: border-color .22s ease, transform .22s ease;
}
.baglanti a:hover { border-color: var(--accent); transform: translateY(-1px); }
.bl-etiket { color: var(--muted); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.bl-deger { color: var(--ink); font-size: 16.5px; overflow-wrap: anywhere; }
.baglanti a:hover .bl-deger { color: var(--accent); }

/* ---------- Sections ---------- */
main { counter-reset: bolum; }
.bolum { padding-block: var(--s-8) 0; }
.cv-bolum { padding-block: var(--s-7) 0; }
.bolum, .cv-bolum { counter-increment: bolum; }

.b-ust { display: flex; align-items: center; gap: clamp(12px, 2vw, 20px); margin-bottom: clamp(20px, 2.6vw, 34px); }
.b-ust::before {
  content: counter(bolum, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted); /* decorative but should stay readable (~5:1 in both themes) */
  flex: none;
}
.b-etiket {
  margin: 0;
  font-family: var(--serif-b);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.b-cizgi {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
  transform-origin: 0 50%;
  transition: scale .95s cubic-bezier(.2, .7, .2, 1);
}
.b-ozet { margin: 0 0 10px; color: var(--muted); max-width: 64ch; font-size: clamp(16px, 1.5vw, 18.5px); }
.ok-link {
  display: inline-block;
  margin-top: clamp(22px, 2.6vw, 34px);
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.ok-link:hover { color: var(--accent); border-color: var(--accent); }
.panel-satir { margin-top: clamp(34px, 4vw, 52px); color: var(--muted); }
.panel-satir a { color: var(--ink-soft); }

/* ---------- Post lines (list) ---------- */
.satir-liste { display: flex; flex-direction: column; }
.satir {
  position: relative;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 8px clamp(16px, 2vw, 28px);
  align-items: baseline;
  padding: clamp(20px, 2.2vw, 28px) 6px clamp(20px, 2.2vw, 28px) 18px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s cubic-bezier(.2, .7, .2, 1);
}
.satir::before {
  content: "";
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .22s ease;
}
.satir:hover, .satir:focus-visible { padding-left: 26px; }
.satir:hover::before, .satir:focus-visible::before { opacity: 1; }
.s-tarih { color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.s-baslik { font-family: var(--serif-b); font-size: clamp(21px, 2.4vw, 27px); font-weight: 600; letter-spacing: -.012em; transition: color .2s ease; }
.satir:hover .s-baslik { color: var(--accent); }
.s-ozet { display: block; margin-top: 5px; color: var(--muted); font-size: 15px; }
.s-ok { color: var(--muted); transition: transform .26s cubic-bezier(.2, .7, .2, 1), color .22s ease; }
.satir:hover .s-ok { transform: translateX(5px); color: var(--accent); }
.s-govde { min-width: 0; }

/* ---------- Kartlar ---------- */
.kart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.kart {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 2.6vw, 32px) clamp(22px, 2.4vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: border-color .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
.kart::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(130% 100% at 84% 0%, var(--glow), transparent 62%);
}
.kart:hover, .kart:focus-visible { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-yuksek); }
.kart:hover::after, .kart:focus-visible::after { opacity: 1; }
.kart::before {
  content: "";
  position: absolute;
  inset: 7px;
  pointer-events: none;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 5px);
  opacity: 0;
  transition: opacity .3s ease;
}
.kart:hover::before, .kart:focus-visible::before { opacity: 1; }
.k-ust { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.k-etiket {
  font-family: var(--serif-b);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.k-yil { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.k-ad { margin: 12px 0 0; font-family: var(--serif-b); font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.015em; }
.k-ozet { margin: 0; color: var(--muted); font-size: 15.5px; }
.kart-ok { margin-top: auto; padding-top: 20px; color: var(--ink-soft); font-size: 14px; transition: color .22s ease; }
.kart:hover .kart-ok { color: var(--accent); }

/* ---------- Stat rows ---------- */
.statlar { margin-top: 16px; display: flex; flex-direction: column; gap: 7px; }
.stat { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.s-k { color: var(--muted); white-space: nowrap; }
.s-cizgi { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); min-width: 24px; }
.s-d { color: var(--ink-soft); text-align: right; font-variant-numeric: tabular-nums; }
.s-d a { color: var(--ink-soft); }

/* ---------- Post / page ---------- */
.yazi { padding-block: clamp(48px, 7vw, 90px) 0; }
.geri { margin: 0 0 clamp(24px, 3vw, 36px); font-size: 14.5px; }
.geri a { color: var(--muted); text-decoration: none; }
.geri a:hover { color: var(--accent); }
.y-baslik {
  margin: 0;
  font-family: var(--serif-b);
  font-weight: 600;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.06;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.y-meta { margin: clamp(16px, 2vw, 24px) 0 0; color: var(--muted); font-size: 14.5px; }
.y-meta .nokta { margin-inline: 8px; color: var(--faint); }
.y-etiketler { color: var(--muted); }
.y-govde { margin-top: clamp(30px, 4vw, 48px); max-width: 68ch; font-size: 17.5px; }
.y-govde > :first-child { margin-top: 0; }
.y-govde p { margin: 0 0 1.15em; }
.y-govde h2 {
  margin: 2.1em 0 .6em;
  font-family: var(--serif-b);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -.012em;
}
.y-govde h3 { margin: 1.7em 0 .5em; font-family: var(--serif-b); font-size: 22px; font-weight: 600; }
.y-govde ul, .y-govde ol { margin: 0 0 1.15em; padding-left: 1.3em; }
.y-govde li { margin-bottom: .4em; }
.y-govde blockquote {
  margin: 1.5em 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--accent);
  color: var(--ink-soft);
  font-style: italic;
  font-size: 1.06em;
}
.y-govde hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--line); }
.y-govde code {
  font-family: var(--mono);
  font-size: .87em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
}
.y-govde pre {
  margin: 0 0 1.3em;
  padding: 18px 20px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  overflow-x: auto;
  line-height: 1.55;
}
.y-govde pre code { background: none; border: 0; padding: 0; font-size: .84em; }
.y-govde img { max-width: 100%; height: auto; border-radius: var(--radius-s); }
.y-govde a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.y-govde a:hover { text-decoration-color: var(--accent); }
.bilesen { margin-block: 2.3em; }
.y-ceviri { margin-top: clamp(36px, 4vw, 52px); color: var(--muted); font-size: 14.5px; }
.y-ceviri a { color: var(--ink-soft); }
.y-gezinti {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: clamp(20px, 2.6vw, 30px);
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.y-gezinti a { color: var(--ink-soft); text-decoration: none; }
.y-gezinti a:hover { color: var(--accent); }
.y-gezinti .bos { visibility: hidden; }

/* ---------- Project boxes ---------- */
.stat-kutu {
  margin: clamp(24px, 3vw, 34px) 0 0;
  padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.4vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.stat-kutu .stat { font-size: 15px; }

/* ---------- Agent listesi ---------- */
.agent-liste { list-style: none; margin: 0; padding: 0; }
.agent {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 6px clamp(16px, 2vw, 28px);
  align-items: baseline;
  padding: clamp(16px, 1.8vw, 22px) 6px;
  border-bottom: 1px solid var(--line);
}
.agent:first-child { border-top: 1px solid var(--line); }
.a-ad { font-family: var(--serif-b); font-size: clamp(20px, 2.2vw, 24px); font-weight: 600; letter-spacing: -.012em; }
.a-ozet { color: var(--ink-soft); font-size: 15.5px; }
.a-ozet .a-rol { color: var(--ink); font-weight: 600; }
.a-model { color: var(--muted); font-size: 13px; text-align: right; white-space: nowrap; }
.agent-liste.mini .agent { grid-template-columns: 165px 1fr; }
.agent-liste.mini .a-model { display: none; }

/* ---------- Flow strip ---------- */
.akis {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
  counter-reset: adim;
}
.akis-ad { position: relative; flex: 1; padding: clamp(16px, 2vw, 22px) 20px 0 0; }
.akis-ad::before {
  content: "";
  position: absolute;
  top: 6px; left: 0; right: 12px;
  height: 1px;
  background: var(--line);
}
.akis-ad:first-child::before { background: linear-gradient(90deg, var(--accent), var(--line)); }
.akis-num {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 6px;
}
.akis-metin { font-size: 15px; color: var(--ink-soft); }
.akis-not { display: block; color: var(--muted); font-size: 13px; font-style: italic; }

/* ---------- Architecture drawing ---------- */
.cizim {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1008px, calc(100vw - 40px));
  margin: 2em 0 0;
  padding: 10px 4px;
  overflow-x: auto;
}
.cizim svg { display: block; min-width: 640px; max-width: 100%; height: auto; }
.cizim .sv-kenar { fill: none; stroke: var(--line-strong); stroke-width: 1.2; }
.cizim .sv-kutu { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.2; }
.cizim .sv-kutu.vurgu { stroke: var(--accent); }
.cizim .sv-ok { fill: none; stroke: var(--line-strong); stroke-width: 1.2; }
.cizim .sv-ok.vurgu { stroke: var(--accent); }
.cizim .sv-uc { fill: var(--line-strong); }
.cizim .sv-kesik { stroke-dasharray: 5 6; }
.cizim .sv-metin { fill: var(--ink); font-family: var(--serif-b); font-size: 17px; font-weight: 600; }
.cizim .sv-alt { fill: var(--muted); font-family: var(--serif); font-size: 13px; }
.cizim .sv-etiket { fill: var(--accent); font-family: var(--serif-b); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; }

/* ---------- List headings ---------- */
.liste-bas { padding-block: clamp(56px, 8vw, 104px) 0; }
.liste-bas .y-baslik { font-size: clamp(38px, 7vw, 76px); }
.liste-bas .b-ozet { margin-top: clamp(16px, 2vw, 24px); font-size: 17px; }
.liste-govde { padding-block: clamp(38px, 5vw, 68px) 0; }

/* ---------- CV ---------- */
.cv { padding-block: clamp(56px, 8vw, 104px) 0; }
.cv-ust { position: relative; }
.cv-ad {
  margin: 0;
  font-family: var(--serif-b);
  font-weight: 500;
  font-size: clamp(40px, 8vw, 86px);
  line-height: 1;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.cv-unvan {
  margin: clamp(16px, 2vw, 24px) 0 0;
  max-width: 46ch;
  color: var(--accent);
  font-family: var(--serif-b);
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 600;
}
.cv-giris { margin-top: clamp(28px, 4vw, 44px); max-width: 62ch; color: var(--ink-soft); }
.cv-giris p { margin: 0 0 .9em; }
.cv-giris p:last-child { margin-bottom: 0; }
.cv-giris a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.cv-giris a:hover { text-decoration-color: var(--accent); }
.cv-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 clamp(28px, 5vw, 64px); }
.cv-zaman { list-style: none; margin: 6px 0 0; padding: 0; }
.cv-oge { position: relative; padding: 0 0 clamp(24px, 3vw, 34px) 26px; }
.cv-oge::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.cv-oge::after {
  content: "";
  position: absolute;
  left: 3px; top: 23px; bottom: 2px;
  width: 1px;
  background: var(--line);
}
.cv-oge:last-child { padding-bottom: 0; }
.cv-oge:last-child::after { display: none; }
.cv-oge-ust { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 18px; flex-wrap: wrap; }
.cv-rol { font-family: var(--serif-b); font-size: clamp(19px, 2vw, 23px); font-weight: 600; letter-spacing: -.012em; }
.cv-tarih { color: var(--muted); font-size: 13.5px; white-space: nowrap; font-variant-numeric: tabular-nums; font-family: var(--mono); }
.cv-kurum { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 15px; }
.cv-maddeler { margin: 10px 0 0; padding-left: 1.15em; color: var(--muted); font-size: 15px; }
.cv-maddeler li { margin-bottom: .35em; }
.cv-maddeler li:last-child { margin-bottom: 0; }
.cv-beceri-liste, .cv-satir-liste { list-style: none; margin: 8px 0 0; padding: 0; }
.cv-beceri { display: grid; grid-template-columns: 158px 1fr; gap: 4px 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.cv-b-grup { color: var(--muted); font-size: 13.5px; }
.cv-b-icerik { color: var(--ink-soft); font-size: 15px; }
.cv-satir { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.cv-s-ad { color: var(--ink); font-size: 15px; }
.cv-s-alt { color: var(--muted); font-size: 13.5px; text-align: right; }
.cv-iletisim .baglanti-liste { margin-top: 22px; }

/* ---------- Panel ---------- */
.panel-ust { padding-block: clamp(44px, 7vw, 84px) 0; }
.p-etiket {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.p-selam {
  margin: 0;
  font-family: var(--serif-b);
  font-weight: 600;
  font-size: clamp(32px, 5.6vw, 54px);
  letter-spacing: -.02em;
  line-height: 1.06;
}
.p-selam .ad { color: var(--accent); }
.p-lede { margin: 16px 0 0; color: var(--muted); max-width: 58ch; }
.panel-grid { padding-block: clamp(30px, 5vw, 54px) 0; }
.panel-kart { min-height: 190px; }
.uyari {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--bad);
  border-radius: var(--radius-s);
  background: var(--surface);
  font-size: 14.5px;
}
.uyari.acik { display: flex; }
.bos { margin-top: 28px; color: var(--muted); display: none; }
.bos.acik { display: block; }
.dis { padding-block: clamp(34px, 5vw, 58px) 0; }
.dis h2 {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.dis-liste { display: flex; flex-wrap: wrap; gap: 10px; }
.dis-liste a {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14.5px;
  transition: border-color .22s ease, color .22s ease, transform .22s ease;
}
.dis-liste a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.dis-liste a::after { content: " \2197"; color: var(--muted); }

.iskelet { padding-block: clamp(30px, 5vw, 54px) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: clamp(16px, 2vw, 26px); }
.isk {
  height: 190px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%);
  background-size: 220% 100%;
  animation: parla 1.6s linear infinite;
}
@keyframes parla { from { background-position: 180% 0; } to { background-position: -40% 0; } }

.durum-nokta { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; display: inline-block; }
.kart[data-durum="acik"] .durum-nokta { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.kart[data-durum="kapali"] .durum-nokta { background: var(--bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 22%, transparent); }
.kart[data-durum="bekliyor"] .durum-nokta { animation: bekle 1.3s ease-in-out infinite; }
@keyframes bekle { 50% { opacity: .35; } }
.k-addr { display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 18px; color: var(--muted); font-size: 13px; }
.saat { font-variant-numeric: tabular-nums; }

/* ---------- 404 ---------- */
.hata { padding-block: clamp(72px, 15vw, 160px) 0; }
.hata h1 { margin: 0; font-family: var(--serif-b); font-size: clamp(34px, 6vw, 62px); font-weight: 600; letter-spacing: -.02em; }
.hata p { color: var(--muted); }

/* ---------- Altbilgi ---------- */
.dip { margin-top: auto; border-top: 1px solid var(--line); }
.dip-ic {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  padding-block: clamp(24px, 3vw, 36px) clamp(32px, 4vw, 52px);
  color: var(--muted);
  font-size: 13.5px;
}
.dip a { color: var(--muted); text-decoration: none; }
.dip a:hover { color: var(--accent); }
.dip-sag { display: flex; gap: 16px; }

/* ---------- Entrance animations (label + heading) ---------- */
.belir { animation: belir-et .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes belir-et {
  from { opacity: 0; translate: 0 8px; }
  to   { opacity: 1; translate: 0 0; }
}
.belir-h1 { animation: belir-h1 .8s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes belir-h1 {
  from { opacity: 0; translate: 0 14px; }
  to   { opacity: 1; translate: 0 0; }
}

/* Hero and CV heading: staggered entrance */
@keyframes yukari {
  from { opacity: 0; translate: 0 24px; }
  to   { opacity: 1; translate: 0 0; }
}
.kahraman-ic > *, .cv-ust > * { animation: yukari .95s cubic-bezier(.2, .7, .2, 1) both; }
.kahraman-ic > *:nth-child(1), .cv-ust > *:nth-child(1) { animation-delay: .06s; }
.kahraman-ic > *:nth-child(2), .cv-ust > *:nth-child(2) { animation-delay: .16s; }
.kahraman-ic > *:nth-child(3), .cv-ust > *:nth-child(3) { animation-delay: .26s; }
.kahraman-ic > *:nth-child(4), .cv-ust > *:nth-child(4) { animation-delay: .36s; }
.kahraman-ic > *:nth-child(5), .cv-ust > *:nth-child(5) { animation-delay: .46s; }
.kahraman-ic > *:nth-child(6), .cv-ust > *:nth-child(6) { animation-delay: .56s; }

/* ---------- Section reveal (added by JS; without JS the content stays visible) ----------
   An independent `translate` is used for position; so that it does not collide
   with the `transform` on card hover and the lift effect is preserved. Stagger `--gecikme`. */
.reveal.gizli { opacity: 0; translate: 0 22px; }
.reveal.gorunur {
  opacity: 1;
  translate: 0 0;
  transition:
    opacity .75s ease var(--gecikme, 0ms),
    translate .75s cubic-bezier(.2, .7, .2, 1) var(--gecikme, 0ms);
}
.reveal.gizli .b-cizgi { scale: 0 1; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .kap, .kap-dar { padding-inline: clamp(18px, 5vw, 28px); }
  .ust-ic { gap: 10px 16px; }
  .gezinti { order: 3; width: 100%; margin-inline-start: 0; gap: 18px; overflow-x: auto; }
  .satir { grid-template-columns: 1fr auto; }
  .s-tarih { grid-column: 1 / -1; }
  .agent { grid-template-columns: 1fr; }
  .a-model { text-align: left; }
  .akis { flex-direction: column; gap: 4px; }
  .akis-ad { padding: 10px 0 10px 0; }
  .akis-ad::before { display: none; }
  .diller .tam { display: none; }
  .diller .kisa { display: inline; }
  .kahraman { min-height: auto; }
}
@media (max-width: 560px) {
  .y-gezinti { flex-direction: column; gap: 10px; }
  .dip-ic { flex-direction: column; }
  .cv-beceri { grid-template-columns: 1fr; gap: 2px; }
  .cv-oge { padding-left: 20px; }
}

/* ---------- Reduce motion ----------
   The `translate`/`scale` overrides are strengthened with `html` so that
   they win over equally specific rules regardless of source order. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  html .reveal.gizli { opacity: 1; translate: none; }
  html .reveal.gizli .b-cizgi { scale: none; }
  html .kahraman-ic { transform: none; opacity: 1; }
  html .kahraman .kor-tuval { transform: none; }
  html .kahraman .ki-nokta { animation: none !important; }
  html .kaydir-isaret { opacity: 1; }
  .ocak { opacity: .8; }
  .kart:hover, .kart:focus-visible { transform: none; }
  .satir:hover, .satir:focus-visible { padding-left: 18px; }
  .satir:hover .s-ok { transform: none; }
  .kor-cizgi { transition: none; }
}

/* Spark scene on pages without a hero — site.js sets it up (TASARIM.md §5.5) */
.kor-sahne {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.kor-sahne .kor-tuval { transform: none; }
.kor-sahne.kor-acik .kor-tuval { opacity: .85; }
