/* ─── Fonts (self-hosted, latin + latin-ext only) ───────────
   Google Fonts CDN yerine yerel barındırma: render-blocking
   zincirini (metetezel.com → fonts.googleapis.com → fonts.gstatic.com)
   tek origin'e indirip mobilde ~1s'lik gecikmeyi kaldırır.

   NOT — dosya adlarındaki ağırlık numarasına aldanma:
   Fontsource aynı dosyayı her ağırlık için ayrı adla veriyordu,
   18 dosyanın yalnızca 8'i farklı içerikti. Aynı baytları paylaşan
   ağırlıklar tek dosyaya yönlendirildi, fazlalık 10 dosya silindi.
   Yani `archivo-300-normal-latin.woff2` 300/400/500/600'ün hepsine,
   `archivo-narrow-600-*` 600 ve 700'e, `jetbrains-mono-400-*` 400 ve
   500'e hizmet ediyor. Tarayıcı aynı içeriği tek kez indiriyor
   (ana sayfada 303 KB → 142 KB). Yeni bir ağırlık eklenirse önce
   dosyanın gerçekten farklı olup olmadığını hash ile kontrol et. */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/archivo-300-italic-latin-ext.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: 'Archivo';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/archivo-300-italic-latin.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: 'Archivo';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/archivo-300-normal-latin-ext.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: 'Archivo';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/archivo-300-normal-latin.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: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/archivo-300-normal-latin-ext.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: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/archivo-300-normal-latin.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: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/archivo-300-normal-latin-ext.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: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/archivo-300-normal-latin.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: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/archivo-300-normal-latin-ext.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: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/archivo-300-normal-latin.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: 'Archivo Narrow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/archivo-narrow-600-normal-latin-ext.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: 'Archivo Narrow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/archivo-narrow-600-normal-latin.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: 'Archivo Narrow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/archivo-narrow-600-normal-latin-ext.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: 'Archivo Narrow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/archivo-narrow-600-normal-latin.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrains-mono-400-normal-latin-ext.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrains-mono-400-normal-latin.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-400-normal-latin-ext.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-400-normal-latin.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;
}

/* ─── Variables ──────────────────────────────────────────── */
:root {
  --bg:       #000000;
  --fg:       #f2f2f2;
  --muted:    #7a7d83;
  --muted-hi: #a8aaad;
  --line:     #1e2024;
  --line-hi:  #33363c;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}

/* ─── Skip link ──────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--fg);
  color: var(--bg);
  padding: 12px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* ─── Custom cursor ──────────────────────────────────────── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--fg);
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(242, 242, 242, 0.3);
  opacity: 0;
  transition: opacity 0.3s, width 0.35s var(--ease-out), height 0.35s var(--ease-out), border-color 0.3s;
}
body.has-mouse .cursor-dot,
body.has-mouse .cursor-ring { opacity: 1; }
body.cursor-hover .cursor-ring {
  width: 52px;
  height: 52px;
  border-color: rgba(242, 242, 242, 0.65);
}

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ─── Scroll progress bar ────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 1px;
  width: 0%;
  background: var(--fg);
  z-index: 9998;
  transition: width 0.08s linear;
}

/* ─── Nav ────────────────────────────────────────────────── */
#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 40px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s, background 0.35s, backdrop-filter 0.35s;
}
#nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg);
}
.brand:visited { color: var(--fg); }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-hi);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--fg);
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.brand:hover .brand-mark { border-color: var(--muted-hi); }
#nav .nav-links {
  display: flex;
  gap: 36px;
}
#nav .nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}
#nav .nav-links a:visited { color: var(--muted); }
#nav .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--fg);
  transition: width 0.3s var(--ease-out);
}
#nav .nav-links a:hover,
#nav .nav-links a.active { color: var(--fg); }
#nav .nav-links a:hover::after,
#nav .nav-links a.active::after { width: 100%; }

.lang-switch {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding-left: 14px;
  margin-left: 4px;
  border-left: 1px solid var(--line-hi);
  transition: color 0.2s;
}
.lang-switch:visited { color: var(--muted); }
.lang-switch:hover { color: var(--fg); }

.nav-back {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-back:visited { color: var(--muted); }
.nav-back:hover { color: var(--fg); }

.availability {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5cb85c;
  animation: pulse 2.2s ease infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(92, 184, 92, 0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(92, 184, 92, 0); }
}

/* ─── Hamburger ──────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 600;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--fg);
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─── Mobile menu ────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-menu nav a {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 12vw, 64px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1;
}
.mobile-menu nav a:visited { color: var(--muted); }
.mobile-menu nav a:hover { color: var(--fg); }
.mobile-menu nav a.lang-switch-mobile {
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 20px;
  letter-spacing: 0.14em;
}

/* ─── Container ──────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1;
  pointer-events: none;
}
.hero-body {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.15s forwards;
}
.eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--line-hi);
  flex-shrink: 0;
}

h1 {
  font-family: 'Archivo Narrow', 'Archivo', sans-serif;
  font-weight: 700;
  font-size: clamp(76px, 13vw, 160px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 1s var(--ease-out) forwards;
}
.hw      { animation-delay: 0.3s; }
.hw.d1   { animation-delay: 0.45s; }
.hw.d2   { animation-delay: 0.6s; }

.lead {
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--muted-hi);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.72s forwards;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.88s forwards;
}
.btn-fill {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  background: var(--fg);
  color: var(--bg);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-out);
}
.btn-fill:visited { color: var(--bg); }
.btn-fill:hover {
  background: transparent;
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--fg);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  border: 1px solid var(--line-hi);
  color: var(--muted-hi);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease-out);
}
.btn-ghost:visited { color: var(--muted-hi); }
.btn-ghost:hover {
  border-color: var(--muted-hi);
  color: var(--fg);
  transform: translateY(-2px);
}
.btn-fill.btn-success {
  background: #1a6632;
  color: #f2f2f2;
  box-shadow: none;
  cursor: default;
}
.btn-fill.btn-error {
  background: #661a1a;
  color: #f2f2f2;
  box-shadow: none;
}

/* ─── Sections ───────────────────────────────────────────── */
section {
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 64px;
}
.sec-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 72px;
}
.sec-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--line-hi);
}

/* ─── About ──────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: start;
}
.about-left h2 {
  font-family: 'Archivo Narrow', 'Archivo', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 3.8vw, 52px);
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.about-right p {
  font-size: 18px;
  color: var(--muted-hi);
  line-height: 1.72;
  margin-bottom: 24px;
  font-weight: 300;
}
blockquote {
  margin-top: 40px;
  padding: 24px 28px;
  border-left: 1px solid var(--line-hi);
}
blockquote p {
  font-size: 17px;
  font-style: italic;
  color: var(--muted-hi) !important;
  line-height: 1.65;
  margin: 0 !important;
}

/* ─── Experience ─────────────────────────────────────────── */
.exp-timeline {
  border-top: 1px solid var(--line);
}
.exp-item {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.exp-company {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 10px;
}
.exp-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.exp-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 4px;
  flex-shrink: 0;
}
.exp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.exp-list li {
  font-size: 16px;
  color: var(--muted-hi);
  font-weight: 300;
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}
.exp-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--line-hi);
  font-family: 'JetBrains Mono', monospace;
}
.exp-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 40px;
}
.exp-cta p {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--fg);
}
/* Blog önizleme altındaki link satırı (tüm yazılar + hesaplayıcı) */
.blog-teaser-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
}

.exp-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-hi);
  text-decoration: none;
  transition: color 0.25s;
}
.exp-cta-link:visited { color: var(--muted-hi); }
.exp-cta-link:hover { color: var(--fg); }
.exp-cta-link:hover .arr { transform: translateX(5px); }

/* ─── Skills grid ────────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: 40px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.card:hover { background: #0d0d0d; }

.card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.card-body h3 {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 12px;
}
.card-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* Nasıl Çalışırım / How I Work kartları: paragraflar farklı uzunlukta olduğu
   için .card'ın space-between'i başlıkları üç ayrı yüksekliğe itiyordu.
   Uzmanlık kartlarında metinler kısa ve eşit, orada dokunmuyoruz. */
#calisma .card,
#how-i-work .card { justify-content: flex-start; }

/* Dördüncü kart (Otomasyon ve Raporlama) eklenince 3 sütunlu grid ikinci
   satırda tek başına bir kart ve iki boş hücre bırakıyordu; dört kart 2x2
   olarak oturuyor. Uzmanlık 6 kart taşıdığı için orada sorun çıkmıyordu. */
#calisma .skills-grid,
#how-i-work .skills-grid { grid-template-columns: repeat(2, 1fr); }

/* Grid'in hemen ardından gelen paragraf tabloya yapışıyordu; altındaki
   link satırıyla arası ise onu tanıttığı için daha dar olmalı. */
.skills-grid + .blog-intro {
  margin-top: 56px;
  margin-bottom: 28px;
}

/* ─── Education ──────────────────────────────────────────── */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-bottom: 72px;
}
.edu-card {
  padding: 40px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s;
}
.edu-card:hover { background: #0d0d0d; }
.edu-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.edu-uni {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.edu-sub {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
}
.edu-years {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: auto;
  padding-top: 16px;
}

.sub-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

/* ─── Certifications ─────────────────────────────────────── */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid var(--line);
  margin-bottom: 72px;
}
.cert-item {
  padding: 28px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.cert-item:hover { background: #0d0d0d; }
.cert-name {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.3;
}
.cert-issuer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── Languages ──────────────────────────────────────────── */
.lang-row {
  display: flex;
  border-left: 1px solid var(--line);
}
.lang-item {
  flex: 1;
  padding: 32px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lang-name {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.lang-level {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── Contact form ───────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* honeypot: visually hidden, not display:none so bots still see it */
.contact-form input[name="_gotcha"] {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-group label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group textarea {
  background: transparent;
  border: 1px solid var(--line-hi);
  color: var(--fg);
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  font-weight: 300;
  padding: 14px 16px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--fg); }

.form-footer {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 8px;
}
.contact-alt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 28px;
  border: 1px solid var(--line-hi);
  color: var(--muted-hi);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease-out);
}
.contact-alt:visited { color: var(--muted-hi); }
.contact-alt:hover {
  border-color: var(--muted-hi);
  color: var(--fg);
  transform: translateY(-2px);
}
.contact-alt .arr { transition: transform 0.3s var(--ease-out); }
.contact-alt:hover .arr { transform: translateX(4px); }
.contact-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* ─── Contact ────────────────────────────────────────────── */
.contact-section {
  padding: 120px 0 140px;
  border-bottom: none;
}
.contact-h2 {
  font-family: 'Archivo Narrow', 'Archivo', sans-serif;
  font-weight: 700;
  font-size: clamp(52px, 7.5vw, 96px);
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}
.contact-sub {
  font-size: 18px;
  color: var(--muted-hi);
  font-weight: 300;
  margin-bottom: 60px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.contact-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  text-decoration: none;
  font-size: 18px;
  transition: padding-left 0.35s var(--ease-out);
}
.contact-links a:hover { padding-left: 20px; }
.link-right {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.contact-links a:hover .link-right { color: var(--fg); }
.arr {
  display: inline-block;
  transition: transform 0.35s var(--ease-out);
}
.contact-links a:hover .arr { transform: translateX(5px); }

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── Back to top ────────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 40px;
  z-index: 490;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-hi);
  background: transparent;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, border-color 0.2s, color 0.2s, transform 0.25s var(--ease-out);
}
.back-top.visible {
  opacity: 1;
  pointer-events: all;
}
.back-top:hover {
  border-color: var(--muted-hi);
  color: var(--fg);
  transform: translateY(-3px);
}

@media (max-width: 640px) {
  /* Footer text wraps and centers here, and its last line can land right
     behind this fixed corner button — a transparent fill let it show
     through. Opaque background occludes it regardless of text length. */
  .back-top { bottom: 24px; right: 24px; background: var(--bg); }
}

/* ─── Cookie consent ─────────────────────────────────────── */
.footer-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--fg); }

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 700;
  max-width: 420px;
  padding: 24px;
  background: #0d0d0d;
  border: 1px solid var(--line-hi);
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.cookie-text a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.cookie-text a:visited { color: var(--fg); }
.cookie-text a:hover { color: var(--muted-hi); }
.cookie-text {
  font-size: 14px;
  color: var(--muted-hi);
  font-weight: 300;
  line-height: 1.6;
}
.cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-actions button {
  height: 40px;
  padding: 0 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--line-hi);
  background: transparent;
  color: var(--muted-hi);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.cookie-accept {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.cookie-accept:hover {
  background: transparent;
  color: var(--fg);
}
.cookie-decline:hover {
  border-color: var(--muted-hi);
  color: var(--fg);
}

@media (max-width: 640px) {
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; max-width: none; padding: 20px; }
  .footer-inner { flex-wrap: wrap; gap: 10px; justify-content: center; text-align: center; }
}

/* ─── Language suggestion banner ─────────────────────────── */
.lang-banner {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 480;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 24px;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid var(--line-hi);
  backdrop-filter: blur(8px);
}
.lang-banner.visible { display: flex; }
.lang-banner p {
  font-size: 13px;
  color: var(--muted-hi);
  font-weight: 300;
}
.lang-banner-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  flex-shrink: 0;
}
.lang-banner-link:visited { color: var(--fg); }
.lang-banner-link:hover .arr { transform: translateX(4px); }
.lang-banner-close {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: color 0.2s;
}
.lang-banner-close:hover { color: var(--fg); }

@media (max-width: 640px) {
  .lang-banner { top: 56px; gap: 12px; padding: 12px 16px; }
  .lang-banner p { display: none; }
}

/* ─── Legal pages (privacy policy) ───────────────────────── */
.legal-page {
  padding: 160px 0 120px;
}
.legal-page h1 {
  font-family: 'Archivo Narrow', 'Archivo', sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 5vw, 60px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.legal-updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 64px;
}
.legal-page h2 {
  font-family: 'Archivo Narrow', 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.legal-page h2:first-of-type { padding-top: 0; border-top: none; }
.legal-page p {
  font-size: 16px;
  color: var(--muted-hi);
  font-weight: 300;
  line-height: 1.75;
  max-width: 760px;
  margin-bottom: 20px;
}
.legal-page ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 20px;
}
.legal-page ul li {
  font-size: 16px;
  color: var(--muted-hi);
  font-weight: 300;
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}
.legal-page ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--line-hi);
  font-family: 'JetBrains Mono', monospace;
}
.legal-page a { color: var(--fg); }
.legal-page a:visited { color: var(--fg); }
.legal-page strong { color: var(--fg); font-weight: 500; }
.legal-page .download-box {
  border: 1px solid var(--line);
  padding: 28px 32px;
  margin: 8px 0 32px;
  max-width: 640px;
}
.legal-page .download-box p { margin-bottom: 16px; }

/* ─── Gider oranı hesaplayıcısı (fon-gider-orani-hesaplayici.html) ─── */
.legal-page .calc {
  border: 1px solid var(--line);
  padding: 28px 32px;
  margin: 8px 0 24px;
  max-width: 640px;
}
.legal-page .calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.legal-page .calc-row label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-hi);
}
.legal-page .calc-row input {
  width: 140px;
  flex-shrink: 0;
  background: #0d0d0d;
  border: 1px solid var(--line-hi);
  color: var(--fg);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  padding: 10px 12px;
  text-align: right;
}
.legal-page .calc-row input:focus {
  outline: none;
  border-color: var(--fg);
}
.legal-page .calc-submit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--fg);
  color: var(--bg);
  border: 1px solid var(--fg);
  padding: 12px 24px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, color 0.2s;
}
.legal-page .calc-submit:hover {
  background: transparent;
  color: var(--fg);
}
/* Tablo dar ekranda kendi kutusu içinde kayar, sayfayı yatay taşırmaz */
.legal-page .calc-out { margin: 0 0 32px; max-width: 640px; overflow-x: auto; }
.legal-page .calc-out:empty { display: none; }
.legal-page .calc-error {
  font-size: 15px;
  color: var(--muted-hi);
  border-left: 2px solid var(--line-hi);
  padding-left: 16px;
}
.calc-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.calc-table th,
.calc-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 8px;
  text-align: right;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted-hi);
}
.calc-table thead th,
.calc-table tbody th {
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.calc-table thead th { text-align: right; color: var(--fg); }

/* Fon panosu örneği: metin sütunu (Fon Adı), hesaplayıcının tersine sayısal
   değil, sağa yaslanınca geniş otomatik sütun genişliğinin içinde sağa
   yapışıp solunda kocaman boşluk bırakıyordu. */
.fund-table th:nth-child(1), .fund-table td:nth-child(1),
.fund-table th:nth-child(2), .fund-table td:nth-child(2) { text-align: left; }

/* Grid'in hemen ardından gelen alt başlık tabloya yapışıyordu. */
.skills-grid + .sub-label { margin-top: 72px; }

/* Aynı kusurun ikinci hâli: "Çalışma biçimi" başlığı kanıt link satırına
   yapışıyor ve alt çizgisi link satırının içinden geçiyordu. */
.blog-teaser-links + .sub-label { margin-top: 72px; }

/* Örnek çalışma listesinin altındaki link satırı .exp-cta'nın kendi
   padding-top'undan mahrum, .exp-list'in de margin-bottom'u yok — ikisi
   yan yana gelince yapışıyordu. */
.exp-list + .blog-teaser-links { margin-top: 40px; }

/* Örnek broşür linkinin altındaki uyum notu link satırına yapışıyordu:
   .blog-teaser-links'in alt boşluğu yok, .legal-updated'ın üst boşluğu yok. */
.blog-teaser-links + .legal-updated { margin-top: 22px; }

/* İkinci vaka çalışması birincinin link satırına yapışıyordu: .blog-teaser-links'in
   alt boşluğu yok. İki projeyi ayıran çizgi de burada. */
#uzmanlik .blog-teaser-links + .blog-intro,
#expertise .blog-teaser-links + .blog-intro {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

/* "Nasıl Başlarız" listesinin altında form geliyor; .exp-list'in
   margin-bottom'u yok, forma yapışıyordu. */
#iletisim .exp-list,
#contact .exp-list { margin-bottom: 40px; }

/* Ata Portföy vaka çalışmasındaki paragraflar (.blog-intro) 640px'te
   dar kalıp yanındaki geniş Sonuç listesinden "yarım kalmış" gibi
   duruyordu. Metni de listenin genişliğine açıp justified akıtıyoruz;
   Deneyim bölümündeki .blog-intro/.exp-list kullanımına dokunmasın diye
   #uzmanlik'a kapsandı. */
#uzmanlik .blog-intro,
#expertise .blog-intro {
  max-width: none;
  text-align: justify;
}
#uzmanlik .exp-list li,
#expertise .exp-list li { text-align: justify; }
.legal-page .calc-diff {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-hi);
}
.legal-page .calc-diff strong { color: var(--fg); }
@media (max-width: 640px) {
  .legal-page .calc { padding: 24px 20px; }
  .legal-page .calc-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .legal-page .calc-row input { width: 100%; }
  .calc-table { min-width: 340px; }
  /* Karşılaştırmanın üç sütunu da 390px'te görünsün: yana kaydırma gerekirse
     BEFAS sütunu yarı gizli kalıyor ve okuyucu karşılaştırdığı iki şeyden
     birini hiç görmüyor. Hücreler sarsın, tablo kaymasın. */
  .compare-table { min-width: 0; }
  .calc-table th,
  .calc-table td { padding: 10px 6px; font-size: 13px; }
  .calc-table thead th,
  .calc-table tbody th { font-size: 10px; }
  /* Dar sütunda justify az kelime/satıra düşünce kelime arası kocaman
     boşluklar ("river") yaratıyor; mobilde sola yaslıya dön. */
  #uzmanlik .blog-intro,
  #expertise .blog-intro,
  #uzmanlik .exp-list li,
  #expertise .exp-list li { text-align: left; }
}
/* Yatay taşan bir SVG yerine, dar ekranda kendi kutusu içinde kayar (calc-out ile aynı desen) */
.diagram { margin: 8px 0 32px; max-width: 640px; }
.diagram-scroll { overflow-x: auto; }
.diagram svg { display: block; width: 100%; height: auto; min-width: 480px; }
.diagram text { font-family: 'JetBrains Mono', monospace; text-anchor: middle; }
.diagram .diagram-tick { font-size: 10px; letter-spacing: 0.04em; fill: var(--muted); }
.diagram .diagram-zone { font-size: 10px; letter-spacing: 0.05em; fill: var(--muted-hi); }
.diagram .diagram-marker { font-size: 11px; letter-spacing: 0.04em; fill: var(--fg); }
.diagram-caption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

/* Yazı içi karşılaştırma tablosu .diagram figür kalıbını yeniden kullanıyor
   (aynı kayan kutu, aynı figcaption), ama .diagram'ın 640px'i üç sütunlu bir
   metin tablosunda dar kalıyor; gövde metniyle aynı 760px'e açıyoruz. */
.legal-page .compare-figure { max-width: 760px; }
/* Üç sütunun üçü de metin. .fund-table yalnızca ilk iki sütunu sola yaslıyor,
   üçüncüsü .calc-table'ın sağa yaslısında kalıp okunmuyordu. */
.calc-table.compare-table th,
.calc-table.compare-table td { text-align: left; }
.legal-page pre {
  background: #0d0d0d;
  border: 1px solid var(--line);
  padding: 24px;
  overflow-x: auto;
  max-width: 760px;
  margin-bottom: 24px;
}
.legal-page pre code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted-hi);
  white-space: pre;
}
.legal-page p code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  background: #0d0d0d;
  border: 1px solid var(--line);
  padding: 2px 6px;
  color: var(--fg);
}

@media (max-width: 640px) {
  .legal-page { padding: 120px 0 80px; }
}

/* ─── Blog ───────────────────────────────────────────────── */
.blog-h1 {
  font-family: 'Archivo Narrow', 'Archivo', sans-serif;
  font-weight: 700;
  font-size: clamp(52px, 7.5vw, 96px);
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}
.blog-intro {
  font-size: 18px;
  color: var(--muted-hi);
  font-weight: 300;
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 60px;
}
.blog-empty {
  border: 1px solid var(--line);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}
.blog-empty-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.blog-empty p {
  font-size: 16px;
  color: var(--muted-hi);
  font-weight: 300;
  line-height: 1.65;
}
.blog-post-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.blog-post-card {
  border: 1px solid var(--line);
  padding: 48px 40px;
  max-width: 640px;
}
.blog-post-card h2 {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15;
  margin: 12px 0 16px;
}
.blog-post-card p {
  font-size: 16px;
  color: var(--muted-hi);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .blog-empty { padding: 32px 24px; }
  .blog-post-card { padding: 32px 24px; }
}

/* ─── Blog teaser (homepage) ─────────────────────────────── */
.blog-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-bottom: 40px;
}
.blog-teaser-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.3s;
}
.blog-teaser-item:hover { background: #0d0d0d; }
.blog-teaser-item .legal-updated { margin: 0; }
.blog-teaser-item h3 {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  color: var(--fg);
}
.blog-teaser-item .teaser-read {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-hi);
  margin-top: auto;
  transition: color 0.25s;
}
.blog-teaser-item:hover .teaser-read { color: var(--fg); }

@media (max-width: 900px) {
  .blog-teaser-grid { grid-template-columns: 1fr; }
}

/* ─── Print ──────────────────────────────────────────────── */
@media print {
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  .cursor-dot, .cursor-ring, .scroll-progress, #nav, .mobile-menu,
  .hero-video, .hero-overlay, .back-top, .cookie-banner,
  .skip-link, .nav-toggle, .lang-banner {
    display: none !important;
  }
  body { cursor: auto; }
  .hero { min-height: auto; border-bottom: 1px solid #000; }
  .hero-body { padding: 24px 0 !important; }
  a { text-decoration: underline; }
  section, .contact-section, .legal-page {
    padding: 24px 0 !important;
    border-bottom: 1px solid #000;
  }
  .card, .edu-card, .cert-item, .exp-item, .lang-item,
  .skills-grid, .edu-grid, .cert-grid, .lang-row, .exp-timeline {
    border-color: #000 !important;
  }
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .eyebrow, .hw, .lead, .hero-cta {
    opacity: 1;
    transform: none;
  }
  .cursor-dot, .cursor-ring {
    display: none;
  }
  body { cursor: auto; }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .exp-header { flex-direction: column; gap: 12px; }
  .edu-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .lang-row { flex-direction: column; }
}

@media (max-width: 640px) {
  #nav { padding: 0 24px; height: 56px; }
  #nav .nav-links { display: none; }
  .avail-text { display: none; }
  .nav-toggle { display: flex; }
  section { scroll-margin-top: 56px; }
  .container { padding: 0 24px; }
  .hero-body { padding-top: 72px; }
  section { padding: 80px 0; }
  .sec-label { margin-bottom: 48px; }
  .skills-grid { grid-template-columns: 1fr; }
  /* Yukarıdaki id'li kural bu genel kuralı yenerdi, aynı seçiciyle geri al. */
  #calisma .skills-grid,
  #how-i-work .skills-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: flex-start; gap: 20px; }
  .exp-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
  footer { padding: 24px 0; }
}
