/* ==========================================================================
   SYS_CORE // ENG — style.css
   1. Tema   2. Temel   3. Bileşenler   4. Menü   5. Giriş (hero)
   6. Bölümler   7. Çalışmalar   8. Yaklaşım / Hakkında   9. İletişim
   10. Proje detay   11. Alt bilgi   12. Hareket ve uyumluluk
   ========================================================================== */

/* ---------- 1. TEMA ---------- */
:root {
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1200px;
  --nav-h: 72px;
  --r: 14px;
  --r-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Koyu tema (varsayılan) */
  --bg: #07090e;
  --bg-alt: #0b0e15;
  --surface: #0f131c;
  --surface-2: #141925;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #e9edf3;
  --text-2: #a4adbb;
  --muted: #6c7685;
  --accent: #3ed6f0;
  --accent-soft: rgba(62, 214, 240, .1);
  --accent-ink: #04161b;
  --accent-2: #f0a93e;
  --danger: #ff6b7d;
  --ok: #4fd99a;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, .8);

  /* 3D sahne renkleri (canvas3d.js okur — hex olarak kalmalı) */
  --scene-bg: #07090e;
  --scene-chip: #0f1520;
  --scene-pin: #8996a8;
  --scene-trace: #3ed6f0;
  --scene-grid: #142235;
  --scene-node: #8fdcf0;
  --scene-link: #1c4a63;
  --scene-pulse-a: #3ed6f0;
  --scene-pulse-b: #f0a93e;
  --scene-pulse-c: #4fd99a;
}

:root[data-theme="light"] {
  --bg: #f6f7f9;
  --bg-alt: #eef0f3;
  --surface: #ffffff;
  --surface-2: #f3f5f7;
  --line: rgba(12, 20, 32, .09);
  --line-2: rgba(12, 20, 32, .16);
  --text: #0c121a;
  --text-2: #3d4756;
  --muted: #6b7482;
  --accent: #0a6c8f;
  --accent-soft: rgba(10, 108, 143, .08);
  --accent-ink: #ffffff;
  --accent-2: #a65f00;
  --danger: #c4253d;
  --ok: #10804b;
  --shadow: 0 24px 50px -30px rgba(12, 20, 32, .3);

  --scene-bg: #f6f7f9;
  --scene-chip: #1d232c;
  --scene-pin: #6d7682;
  --scene-trace: #0a6c8f;
  --scene-grid: #d3d8de;
  --scene-node: #2a3746;
  --scene-link: #a3adb9;
  --scene-pulse-a: #0b8ab8;
  --scene-pulse-b: #c27000;
  --scene-pulse-c: #10964f;
}

.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), fill .35s, stroke .35s !important;
}

/* ---------- 2. TEMEL ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.muted { color: var(--muted); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- 3. BİLEŞENLER ---------- */
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before, .kicker::before { content: ''; width: 18px; height: 1px; background: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 10px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -12px var(--accent); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: color-mix(in srgb, var(--bg) 60%, transparent); }
.btn-ghost:hover { border-color: var(--text-2); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 9px; }

.icon-btn {
  position: relative; width: 38px; height: 38px; border-radius: 9px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--text-2);
  transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--text-2); color: var(--text); }
.icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.icon-btn .icon-moon { fill: currentColor; stroke: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: none; }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-family: var(--mono); font-size: 11.5px; line-height: 1;
  padding: 6px 9px; border-radius: 6px;
  border: 1px solid var(--line); color: var(--text-2); background: var(--surface-2);
}
.tags li.more { color: var(--muted); }
.tags-lg li { font-size: 12.5px; padding: 8px 12px; }

/* ---------- 4. MENÜ ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.logo-mono { flex: none; width: 34px; height: 34px; overflow: visible; }
.logo-mono .lm-frame { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.5; transition: stroke .3s; }
.logo-mono .lm-pins { stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; }
.logo-mono .lm-glyph { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.logo-mono .lm-via { fill: var(--accent); }
.logo:hover .lm-frame { stroke: var(--accent); }
.logo-words { display: grid; line-height: 1.15; }
.logo-name { font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; }
.logo-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--muted); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1.5px; background: var(--accent);
}
.only-mobile { display: none !important; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.burger { display: none; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 12px; } .burger span:nth-child(2) { top: 18px; } .burger span:nth-child(3) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 5. GİRİŞ (HERO) ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 40px);
  padding-bottom: 140px;
  overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
#hero-canvas.ready { opacity: .9; }
.hero-fallback { position: absolute; inset: 0; z-index: 0; display: none; }
.hero.no-webgl .hero-fallback {
  display: block;
  background: radial-gradient(640px 420px at 78% 45%, var(--accent-soft), transparent 70%);
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 36%, transparent 64%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 60%, transparent) 0%, transparent 18%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-inner > * { max-width: 660px; }
.hero-title {
  margin-top: 22px;
  font-size: clamp(38px, 5.6vw, 70px);
  font-weight: 600; line-height: 1.04; letter-spacing: -.04em;
}
.hero-title .accent { color: var(--accent); }
.hero-lead { margin-top: 24px; font-size: clamp(16.5px, 1.5vw, 18.5px); color: var(--text-2); max-width: 580px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; border-top: 1px solid var(--line); }
.hero-domains {
  list-style: none; margin-block: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hero-domains li {
  padding: 24px 0 26px; font-size: 14.5px; font-weight: 500; color: var(--text);
  border-left: 1px solid var(--line); padding-left: 22px;
}
.hero-domains li:first-child { border-left: 0; padding-left: 0; }
.hero-domains span { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-bottom: 4px; letter-spacing: .08em; }

/* ---------- 6. BÖLÜMLER ---------- */
.section { position: relative; padding-block: clamp(88px, 11vw, 140px); }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: clamp(44px, 6vw, 64px); }
.section-head h2 { margin-top: 16px; font-size: clamp(30px, 3.8vw, 46px); }
.section-head > p, .section-head-row > p { margin-top: 18px; color: var(--text-2); font-size: 17px; }
.section-head-row { max-width: none; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.section-head-row > p { margin-top: 0; max-width: 440px; justify-self: end; }

/* Yetkinlikler */
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cap {
  padding: clamp(28px, 3.4vw, 44px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  transition: background .3s;
}
.cap:hover { background: var(--surface); }
.cap-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cap-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); }
.cap-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cap-no { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.cap h3 { font-size: 21px; }
.cap p { color: var(--text-2); font-size: 15.5px; }
.cap .cap-tech { margin-top: auto; padding-top: 10px; font-family: var(--mono); font-size: 12.5px; line-height: 1.8; color: var(--muted); }

/* ---------- 7. ÇALIŞMALAR ---------- */
.work-list { border-top: 1px solid var(--line-2); }
.work {
  position: relative;
  display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 24px; align-items: start;
  padding: 36px 8px; border-bottom: 1px solid var(--line-2);
  transition: background .3s var(--ease);
}
.work::before {
  content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--accent);
  transition: width .5s var(--ease);
}
.work:hover::before { width: 100%; }
.work:hover { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.work-no { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 8px; }
.work-meta { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.work-title { font-size: clamp(22px, 2.6vw, 30px); transition: color .2s; }
.work-sum { margin-top: 10px; color: var(--text-2); max-width: 680px; }
.work .tags { margin-top: 18px; }
.work-go {
  display: inline-flex; align-items: center; gap: 10px; align-self: center;
  font-size: 14px; font-weight: 600; color: var(--text-2);
  padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  transition: color .2s, border-color .2s, background .2s;
}
.work-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.work:hover .work-go { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.work:hover .work-go svg { transform: translateX(3px); }

/* ---------- 8. YAKLAŞIM / HAKKINDA ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px 0 0; border-top: 1px solid var(--line-2); }
.steps li::before {
  content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--accent);
}
.step-no { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.steps h3 { margin-top: 10px; font-size: 18px; }
.steps p { margin-top: 10px; font-size: 15px; color: var(--text-2); }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); }
.about .section-head { margin-bottom: 0; }
.about-body { display: grid; gap: 40px; }
.about-text p { font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.7; color: var(--text); }
.about-text p + p { margin-top: 18px; color: var(--text-2); }
.about-focus h3 { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.about-focus ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.about-focus li { position: relative; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.about-focus li::before { content: ''; position: absolute; left: 0; top: 23px; width: 8px; height: 1.5px; background: var(--accent); }
.about-focus li:nth-child(odd) { padding-right: 24px; }

/* ---------- 9. İLETİŞİM ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-intro h2 { margin-top: 16px; font-size: clamp(30px, 3.8vw, 46px); }
.contact-intro > p { margin-top: 18px; color: var(--text-2); font-size: 17px; max-width: 460px; }
.contact-mail {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 32px;
  font-size: clamp(17px, 1.8vw, 20px); font-weight: 500; color: var(--text);
  padding-bottom: 6px; border-bottom: 1px solid var(--line-2);
  transition: color .2s, border-color .2s;
  max-width: 100%; overflow-wrap: anywhere;
}
.contact-mail svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-mail:hover { color: var(--accent); border-color: var(--accent); }

.contact-form {
  display: grid; gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.field > span em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-width: 0;
  padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--bg);
  font-size: 15px; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 4px; }
.form-note { font-size: 13.5px; color: var(--muted); }
.form-note.ok { color: var(--ok); } .form-note.err { color: var(--danger); }

/* ---------- 10. PROJE DETAY ---------- */
.page-project main { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }
.project-head { padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); margin-bottom: 36px; transition: color .2s; }
.crumb svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.crumb:hover { color: var(--text); }
.crumb:hover svg { transform: translateX(-3px); }
.project-head .eyebrow { display: flex; }
.project-title { margin-top: 18px; font-size: clamp(34px, 5vw, 60px); line-height: 1.06; letter-spacing: -.035em; max-width: 900px; }
.project-lead { margin-top: 22px; font-size: clamp(17px, 1.7vw, 20px); color: var(--text-2); max-width: 760px; }
.project-meta { margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); }
.project-meta > div { padding: 18px 40px 0 0; margin-right: 40px; }
.project-meta dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.project-meta dd { margin: 6px 0 0; font-weight: 500; }

.project-body { padding-block: clamp(32px, 5vw, 56px); }
.pblock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: clamp(24px, 5vw, 80px); padding-block: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.pblock:last-child { border-bottom: 0; }
.pblock-head h2 { font-size: 22px; }
.pblock-head p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.pblock-content > p { font-size: 17px; line-height: 1.75; color: var(--text-2); max-width: 760px; }
.pblock-content > p + p { margin-top: 16px; }

.flow {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 34px;
}
.flow li {
  position: relative; display: grid; gap: 4px; align-content: start;
  padding: 18px 16px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--surface);
}
.flow li:first-child { border-color: color-mix(in srgb, var(--accent-2) 50%, var(--line-2)); }
.flow li:last-child { border-color: color-mix(in srgb, var(--accent) 55%, var(--line-2)); }
.flow-no { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.flow b { font-size: 15px; font-weight: 600; line-height: 1.3; }
.flow small { font-size: 13px; color: var(--text-2); }
.flow li:not(:last-child)::after {
  content: ''; position: absolute; top: 50%; left: 100%; width: 34px; height: 2px; margin-top: -1px;
  background:
    radial-gradient(circle, var(--accent) 0 2.5px, transparent 3px) 0 50% / 8px 8px no-repeat,
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent) 45%, transparent) 0 3px, transparent 3px 6px);
  animation: packet 1.6s linear infinite;
}
.flow li:nth-child(2)::after { animation-delay: .4s; } .flow li:nth-child(3)::after { animation-delay: .8s; } .flow li:nth-child(4)::after { animation-delay: 1.2s; }
@keyframes packet { from { background-position: -8px 50%, 0 0; } to { background-position: 34px 50%, 0 0; } }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.features li {
  position: relative; padding: 16px 18px 16px 48px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface); font-size: 15.5px; color: var(--text);
}
.features li::before {
  content: ''; position: absolute; left: 18px; top: 19px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ed6f0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
:root[data-theme="light"] .features li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6c8f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--surface); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 10px 14px; font-size: 13.5px; color: var(--text-2); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: clamp(56px, 7vw, 88px); }
.pager-link { display: grid; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .2s, transform .2s var(--ease); }
.pager-link:hover { border-color: var(--accent); transform: translateY(-2px); }
.pager-link.next { text-align: right; }
.pager-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pager-title { font-size: 18px; font-weight: 600; }

.project-notfound { padding-block: 120px; display: grid; gap: 22px; justify-items: start; }
.project-notfound h1 { font-size: clamp(30px, 4vw, 44px); }

.cta-band { border-top: 1px solid var(--line); background: var(--bg-alt); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: clamp(48px, 6vw, 72px); }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); }
.cta-band p { margin-top: 10px; color: var(--text-2); }

/* ---------- 11. ALT BİLGİ ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-nav a { font-size: 14px; color: var(--text-2); transition: color .2s; }
.footer-nav a:hover { color: var(--text); }
.footer-copy { font-size: 13.5px; color: var(--muted); }

/* ---------- 12. HAREKET VE UYUMLULUK ---------- */
/* İçerik yalnızca main.js sorunsuz çalışıp "reveal-on" sınıfını eklediğinde gizlenir;
   betik yüklenemezse veya hata verirse her şey görünür kalır. */
.reveal-on .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-on .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .about, .contact { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow li:nth-child(2n)::after { display: none; }
}

@media (max-width: 860px) {
  .burger { display: inline-grid; }
  .nav-cta { display: none; }
  .only-mobile { display: block !important; }
  .nav-links {
    position: fixed; left: 12px; right: 12px; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r);
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 13px 14px; font-size: 16px; }
  .nav-links a.active::after { left: 0; right: auto; top: 14px; bottom: 14px; width: 2px; height: auto; }

  .hero-vignette { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 55%, transparent) 0%, color-mix(in srgb, var(--bg) 80%, transparent) 50%, var(--bg) 100%); }
  .hero { padding-bottom: 180px; }
  .hero-domains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-domains li { padding-block: 16px 18px; }
  .hero-domains li:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-domains li:nth-child(n+3) { border-top: 1px solid var(--line); }

  .section-head-row { grid-template-columns: 1fr; gap: 18px; }
  .section-head-row > p { justify-self: start; }
  .caps { grid-template-columns: 1fr; }
  .work { grid-template-columns: 1fr; gap: 10px; padding: 30px 0; }
  .work-no { padding-top: 0; }
  .work-go { justify-self: start; margin-top: 6px; }
  .pblock { grid-template-columns: 1fr; gap: 18px; }
  .features { grid-template-columns: 1fr; }
  .about-focus ul { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --nav-h: 62px; }
  .logo-sub { display: none; }
  .logo-mono { width: 30px; height: 30px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { padding: 22px 0 26px 26px; border-top: 0; border-left: 1px solid var(--line-2); }
  .steps li::before { top: 26px; left: -5px; }
  .field-row { grid-template-columns: 1fr; }
  .field input, .field textarea { font-size: 16px; }
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow li:not(:last-child)::after {
    display: block; top: 100%; left: 24px; width: 2px; height: 22px; margin: 0;
    background:
      radial-gradient(circle, var(--accent) 0 2.5px, transparent 3px) 50% 0 / 8px 8px no-repeat,
      repeating-linear-gradient(180deg, color-mix(in srgb, var(--accent) 45%, transparent) 0 3px, transparent 3px 6px);
    animation-name: packet-v;
  }
  .pager { grid-template-columns: 1fr; }
  .pager-link.next { text-align: left; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@keyframes packet-v { from { background-position: 50% -8px, 0 0; } to { background-position: 50% 22px, 0 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .nav.scrolled { background: var(--bg); }
  .hero-vignette { background: linear-gradient(90deg, var(--bg) 0%, transparent 65%); }
}
