/* Portfolyo — telefon önce (390 px), sade beyaz. */
/* Fraunces (SIL OFL 1.1, fonts/OFL.txt) — kendi sunucumuzdan, üçüncü tarafa istek yok */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("/fonts/fraunces-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("/fonts/fraunces-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; }

/* Paper Shaders'ın kendi eklediği stil (CSP gereği <style> enjekte edilmez, burada) */
@layer paper-shaders {
  :where([data-paper-shader]) { isolation: isolate; position: relative; }
  :where([data-paper-shader]) canvas { contain: strict; display: block; position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; border-radius: inherit; }
}

:root {
  --bg: #ffffff;
  --ink: #141414;
  --ink-2: #4a4a4a;
  --muted: #8a8a8a;
  --line: #ececec;
  --soft: #f6f5f3;
  --accent: #e0522d;      /* nar */
  --accent-soft: #fdeee9;
  --wa: #1f9d55;
  --radius: 18px;
  --gutter: 20px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: env(safe-area-inset-bottom);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: 680px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }

.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 50; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* Üst şerit */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { font-family: var(--serif); font-size: 20px; text-decoration: none; letter-spacing: -.01em; }
.top__tools { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--track); box-shadow: var(--track-shadow); }
.lang button { border: 1.5px solid transparent; background: transparent; padding: 5px 10px; min-width: 40px; min-height: 32px; border-radius: 9px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); cursor: pointer; transition: color .2s; }
.lang button.chrome:not([aria-pressed="true"]) { background: transparent; box-shadow: none; text-shadow: none; color: var(--muted); }
.lang button:not([aria-pressed="true"])::before, .lang button:not([aria-pressed="true"])::after,
.lang button:not([aria-pressed="true"]) .metal-ring, .lang button:not([aria-pressed="true"]) .metal-halo,
.lang button:not([aria-pressed="true"]) .metal-glass { display: none; }
.lang button[aria-pressed="true"] { color: var(--ink); }

/* Menü (2026-11-27): Haqqında, suallar, sonra blog — ana sayfa kısa kalsın */
.top__tools { position: relative; }
.menu-btn.chrome { position: absolute; right: 0; top: calc(100% + 10px); width: 38px; height: 38px; border-radius: 50%; padding: 0; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu-btn .metal-label { display: grid; place-items: center; }
.menu-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; overflow: visible; }
.menu-btn svg path { transition: transform .35s var(--ease); transform-origin: 12px 12px; }
.menu-btn svg .l3 { transition: opacity .2s; }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l2 { transform: translateY(-5px) rotate(-45deg); }
.menu-btn[aria-expanded="true"] .l3 { opacity: 0; }
.menu { position: absolute; left: 0; right: 0; top: calc(100% + 54px); display: flex; justify-content: flex-end; pointer-events: none; }
.menu[hidden] { display: none; }
.menu__list { pointer-events: auto; list-style: none; margin: 6px 0 0; padding: 8px; min-width: min(300px, 100%); border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(20,22,28,.28); animation: pop .25s var(--ease); }
.menu__link { display: block; padding: 13px 14px; border-radius: 12px; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; }
.menu__link:hover, .menu__link:focus-visible { background: var(--soft); }
.theme-btn { width: 38px; height: 38px; border-radius: 50%; padding: 0; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.theme-btn svg { grid-area: 1 / 1; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.theme-btn .metal-label { display: grid; place-items: center; }
.theme-btn .metal-label > svg { grid-area: 1 / 1; }
.theme-btn .i-sun { opacity: 0; transform: scale(.6) rotate(-45deg); }
[data-active-theme="dark"] .theme-btn .i-moon { opacity: 0; transform: scale(.6) rotate(45deg); }
[data-active-theme="dark"] .theme-btn .i-sun { opacity: 1; transform: none; }

/* ===== Krom / liquid glass (Vasif kararı 2026-11-22) =====
   1) CSS krom: hemen görünür ve WebGL yoksa yedek.
   2) metal.js açılınca: canlı liquid-metal kenar (tuval) + cam orta + hafif hale (adamperlis tekniği). */
:root {
  --chrome-fill: linear-gradient(180deg, #f7f7f9 0%, #e2e3e7 38%, #c8cad0 62%, #dcdde2 84%, #eeeef1 100%);
  --chrome-rim: conic-gradient(from 0deg, #ffffff 0deg, #d9dbe0 40deg, #ff9fbf 68deg, #9fe3ff 82deg, #ffe58a 96deg, #c9a8ff 110deg, #a3a7ae 138deg, #80848c 180deg, #a3a7ae 222deg, #c9a8ff 250deg, #ffe58a 264deg, #9fe3ff 278deg, #ff9fbf 292deg, #d9dbe0 320deg, #ffffff 360deg);
  --chrome-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -2px 3px rgba(60,64,72,.18), inset 0 0 0 1px rgba(255,255,255,.35), 0 1px 1px rgba(0,0,0,.08), 0 4px 10px -2px rgba(30,32,38,.22);
  --chrome-text-shadow: 0 1px 0 rgba(255,255,255,.7);
  --glass: rgba(255,255,255,.42);
  --glass-hover: rgba(255,255,255,.22);
  --glass-edge: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(22,22,21,.06);
  --metal-shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 14px -6px rgba(20,22,28,.28);
  --track: linear-gradient(180deg, #eceef1, #f7f7f9);
  --track-shadow: inset 0 1px 2px rgba(40,44,52,.14), inset 0 -1px 0 rgba(255,255,255,.9);
}
.chrome {
  position: relative; isolation: isolate; color: var(--ink);
  border: 1.5px solid transparent;
  background: var(--chrome-fill) padding-box, var(--chrome-rim) border-box;
  box-shadow: var(--chrome-shadow);
  text-shadow: var(--chrome-text-shadow);
}
.chrome::before { content: ""; position: absolute; inset: 1px 4% auto; height: 46%; border-radius: 10px 10px 40% 40% / 10px 10px 100% 100%; background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,0)); pointer-events: none; z-index: -1; }
.chrome:active { box-shadow: inset 0 2px 4px rgba(60,64,72,.25), inset 0 -1px 0 rgba(255,255,255,.8), 0 1px 2px rgba(0,0,0,.1); }

.chrome[data-metal="on"] { background: transparent; box-shadow: var(--metal-shadow); }
.chrome[data-metal="on"]::before { display: none; }
.metal-ring, .metal-halo { position: absolute; top: -19.5px; left: -19.5px; width: calc(100% + 39px); height: calc(100% + 39px); pointer-events: none; }
.metal-halo { z-index: -2; opacity: .45; transition: opacity .45s var(--ease); }
.metal-ring { z-index: -1; }
.metal-glass { position: absolute; inset: 1px; border-radius: inherit; pointer-events: none; z-index: 0;
  background: var(--glass); box-shadow: var(--glass-edge);
  -webkit-backdrop-filter: blur(9px) saturate(1.5); backdrop-filter: blur(9px) saturate(1.5);
  transition: background-color .45s var(--ease); }
.metal-label { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
@media (hover: hover) {
  .chrome:hover .metal-halo { opacity: .9; }
  .chrome:hover .metal-glass { background: var(--glass-hover); }
}
.chrome:focus-visible .metal-halo { opacity: .9; }

/* ===== Gece modu ===== */
:root[data-active-theme="dark"] {
  --bg: #0b0b0c; --ink: #f2f2f0; --ink-2: #b8b8b4; --muted: #86868b; --line: #222226; --soft: #17171a;
  --accent-soft: #2b1711;
  --chrome-fill: linear-gradient(180deg, #5a5d66 0%, #3a3c43 40%, #24262b 64%, #33353b 86%, #45474e 100%);
  --chrome-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -2px 3px rgba(0,0,0,.4), 0 1px 1px rgba(0,0,0,.5), 0 6px 14px -4px rgba(0,0,0,.6);
  --chrome-text-shadow: 0 1px 0 rgba(0,0,0,.5);
  --glass: rgba(14,15,18,.5);
  --glass-hover: rgba(14,15,18,.32);
  --glass-edge: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(0,0,0,.3);
  --metal-shadow: 0 6px 16px -6px rgba(0,0,0,.7);
  --track: linear-gradient(180deg, #121215, #1b1b1f);
  --track-shadow: inset 0 1px 2px rgba(0,0,0,.6), inset 0 -1px 0 rgba(255,255,255,.05);
  color-scheme: dark;
}
[data-active-theme="dark"] .chrome::before { background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0)); }
[data-active-theme="dark"] .top { background: rgba(11,11,12,.82); }
[data-active-theme="dark"] .avatar img { box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--line); }
[data-active-theme="dark"] .card { background: #111113; }
[data-active-theme="dark"] .tag--client { background: #16203a; color: #9db4f2; }
[data-active-theme="dark"] .tag--live { background: #10261a; color: #7ad9a1; }
[data-active-theme="dark"] .tag--proto { color: #f2a58f; }
[data-active-theme="dark"] .dots i { background: #3a3a3e; }
[data-active-theme="dark"] .ada__bubble { background: #f2f2f0; color: #141414; }
[data-active-theme="dark"] .giris__line .w.on { color: #f2f2f0; }
body { transition: background-color .35s var(--ease), color .35s var(--ease); }

/* Giriş */
.hero { padding-top: 36px; padding-bottom: 56px; }
.avatar { display: block; width: 84px; height: 84px; margin-bottom: 26px; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 8.6vw, 52px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; font-optical-sizing: auto; }
.hero__sub { margin-top: 18px; font-size: 17px; color: var(--ink-2); max-width: 34ch; text-wrap: pretty; }
.hero__note { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 38ch; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-size: 15.5px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .25s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn .ico { width: 19px; height: 19px; flex: none; position: relative; z-index: 2; }
.btn .ico--wa { color: #1f9d55; }
.btn--wa { margin-top: 26px; }

/* Bölüm başlıkları */
.sec-title { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -.015em; line-height: 1.2; }
.lead { margin-top: 14px; font-size: 17px; color: var(--ink-2); text-wrap: pretty; }

/* İşler */
.work { padding: 0 0 52px; }
.work::before { content: ""; display: block; width: min(680px, 100%); height: 1px; margin: 0 auto 40px; background: var(--line); }
.work__note { margin-top: 6px; font-size: 15px; color: var(--muted); }
.work__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.work__nav { display: none; gap: 8px; }
.nav-btn { width: 40px; height: 40px; border-radius: 50%; padding: 0; display: grid; place-items: center; cursor: pointer; transition: opacity .2s, box-shadow .25s; }
.nav-btn svg { width: 20px; height: 20px; position: relative; z-index: 2; }
.nav-btn:disabled { opacity: .35; cursor: default; }

.rail {
  --peek: max(var(--gutter), calc((100vw - 680px) / 2 + var(--gutter)));
  list-style: none; margin: 0; padding: 4px var(--peek) 8px;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 300px); gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--peek);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -2px; }
.card { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
@media (hover: hover) { .card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px -14px rgba(0,0,0,.18); } }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.card__no { position: absolute; left: 14px; top: 12px; font: 500 12px/1 var(--sans); letter-spacing: .08em; color: var(--muted); }

.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.card__media picture { display: contents; }
.card__no { z-index: 1; }
.card { position: relative; }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 2; }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.card__more { margin-top: auto; padding-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
.card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; letter-spacing: .01em; }
.tag--own, .tag--video, .tag--law, .tag--game, .tag--cafe { background: var(--soft); color: var(--ink-2); }
.tag--client { background: #eef3ff; color: #2f4fa8; }
.tag--live { background: #e8f6ee; color: #17713f; }
.tag--live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #1f9d55; margin-right: 6px; vertical-align: 1px; animation: pulse 2s infinite; }
.tag--proto { background: var(--accent-soft); color: #a73c1f; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.dots { display: flex; gap: 6px; margin-top: 16px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: #dcdcdc; transition: width .3s var(--ease), background .3s; }
.dots i.on { width: 18px; background: var(--ink); }

/* Necə işləyirəm, kanallar, son */
.how { padding-top: 44px; padding-bottom: 52px; border-top: 1px solid var(--line); }
.offer { padding-top: 44px; padding-bottom: 52px; border-top: 1px solid var(--line); }
.offer__list { display: grid; gap: 22px; margin-top: 16px; }
.offer__t { font-size: 17px; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
.offer__item .lead { margin-top: 6px; font-size: 16px; }
.steps { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 36px; font-size: 17px; color: var(--ink-2); text-wrap: pretty; }
.steps li + li { margin-top: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--soft); color: var(--ink); font: 600 13px/24px var(--sans); text-align: center; }
.faq { padding-top: 44px; padding-bottom: 52px; border-top: 1px solid var(--line); }
.faq__list { display: grid; gap: 22px; margin-top: 16px; }
.faq__q { font-size: 17px; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
.faq__a { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.faq__more { display: inline-block; margin-top: 24px; font-size: 15px; font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.foot { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__link { color: var(--ink-2); text-underline-offset: 3px; }
.about__p { margin-top: 16px; font-size: 17px; line-height: 1.6; max-width: 62ch; }
.channels { padding-top: 44px; padding-bottom: 52px; border-top: 1px solid var(--line); }
.links { list-style: none; margin: 16px 0 0; padding: 0; }
.links li + li { border-top: 1px solid var(--line); }
.links a { display: flex; align-items: center; gap: 12px; min-height: 56px; text-decoration: none; }
.links__name { font-weight: 600; }
.links__handle { color: var(--muted); font-size: 15px; }
.links__arr { width: 18px; height: 18px; margin-left: auto; color: var(--muted); transition: transform .25s var(--ease), color .2s; }
@media (hover: hover) { .links a:hover .links__arr { transform: translate(2px, -2px); color: var(--ink); } }

.end { padding-top: 56px; padding-bottom: 72px; border-top: 1px solid var(--line); }
.end__title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 10vw, 56px); letter-spacing: -.02em; line-height: 1.05; }

.foot { padding-top: 22px; padding-bottom: 110px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Görünme animasyonu */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ===== Ada (v2: konumlar ve gövde aşağıda, "v2" bölümünde) ===== */
.ada__bubble {
  pointer-events: auto; max-width: min(250px, calc(100vw - 32px)); padding: 11px 14px; border-radius: 16px 16px 4px 16px;
  background: var(--ink); color: #fff; font-size: 14px; line-height: 1.4; box-shadow: 0 10px 30px -10px rgba(0,0,0,.35);
  transform-origin: bottom right; animation: pop .35s var(--ease); cursor: pointer;
}
.ada__bubble[hidden] { display: none; }
.ada__bubble.out { animation: popout .2s ease forwards; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes popout { to { opacity: 0; transform: translateY(4px) scale(.96); } }

/* Masaüstü */
@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .hero { padding-top: 72px; padding-bottom: 80px; }
  .avatar { width: 96px; height: 96px; }
  .hero__sub { font-size: 19px; }
  .sec-title { font-size: 32px; }
  .work__nav { display: flex; }
  .rail { grid-auto-columns: 300px; gap: 16px; }
  .offer { padding-top: 64px; padding-bottom: 72px; }
  .offer__list { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps li { font-size: 19px; padding-left: 40px; }
  .how, .channels, .faq { padding-top: 64px; padding-bottom: 72px; }
  .work { padding-bottom: 72px; }
  .work::before { margin-bottom: 64px; }
  .lead { font-size: 19px; max-width: 40ch; }
  .end { padding-top: 80px; padding-bottom: 96px; }
}

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

/* Proje sayfası */
.proj { padding-top: 24px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.proj__back { align-self: flex-start; font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
@media (hover: hover) { .proj__back:hover { color: var(--ink); } }
.proj__title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 8.4vw, 48px); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
.proj__lead { font-size: 17px; color: var(--ink-2); margin: 0; text-wrap: pretty; }
.proj__media { margin: 10px 0 8px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.proj__media img { display: block; width: 100%; height: auto; }
.proj__media--phone { background: #eef0f3; padding: 22px 0; display: flex; justify-content: center; }
.proj__media--phone img { width: min(300px, 72%); border-radius: 22px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.35); }
.proj__part { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; }
.proj__part h2 { font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.proj__part p { margin: 0; font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.proj__visit { align-self: flex-start; margin-top: 10px; }
.proj + .end { margin-top: 24px; }

/* 404 */
.nf { min-height: 70vh; padding-top: 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.nf__code { font-family: var(--serif); font-size: 84px; line-height: 1; margin: 0; color: var(--muted); }

/* ===================== v2 (2026-11-22) ===================== */

/* ---- Ada: 3D gövde ve konumları ---- */
.ada { position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); z-index: 30;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.ada__btn { pointer-events: auto; width: 58px; height: 58px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; -webkit-tap-highlight-color: transparent; }
.ada__body { position: absolute; inset: -14%; display: block; }
.ada__body canvas, .ada__still { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ada__still { animation: bob 4s ease-in-out infinite; }
.ada.is-3d .ada__still { display: none; }
/* v4: Ada gövdesi = düğmelerle aynı liquid metal; yüz üstte; gölge yerde kalır */
.ada__rig, .ada__metal { position: absolute; inset: 0; display: block; }
.ada__rig { transform-origin: 50% 90%; will-change: transform; }
.ada__shadow { position: absolute; left: 50%; bottom: 2%; width: 50%; height: 8%; border-radius: 50%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0,0,0,.2), rgba(0,0,0,0)); pointer-events: none; }
[data-active-theme="dark"] .ada__shadow { background: radial-gradient(closest-side, rgba(0,0,0,.55), rgba(0,0,0,0)); }
.ada:not(.is-3d) .ada__shadow, .ada:not(.is-3d) .ada__rig { display: none; }
.ada.is-muted .ada__body { opacity: .55; }
.ada.is-muted .ada__btn::after { content: "z"; position: absolute; right: -2px; top: -8px; font: 600 13px/1 var(--sans); color: var(--muted); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
:root { --stage: 176px; }
/* açılışta ortada */
.ada.ada--stage { left: 0; top: 0; right: auto; bottom: auto; width: 100vw; height: 100vh; height: 100dvh; justify-content: center; align-items: center; z-index: 45; }
.ada--stage .ada__btn { width: var(--stage); height: var(--stage); margin-top: -10vh; pointer-events: none; }
.ada--stage .ada__bubble { display: none; }
/* girişin yanında (sayfa başı) ve açılışın 4. cümlesinde */
.ada.ada--dock, .ada.ada--side { position: absolute; left: var(--dock-x); top: var(--dock-y); right: auto; bottom: auto; transform: translate(-50%, -50%); z-index: 19; }
.ada.ada--side { z-index: 45; }
.ada--dock .ada__btn, .ada--side .ada__btn { width: var(--dock-s, 76px); height: var(--dock-s, 76px); }
.ada--dock .ada__bubble, .ada--side .ada__bubble { position: absolute; top: calc(100% + 4px); right: 0; width: max-content; max-width: min(270px, calc(100vw - 40px)); border-radius: 16px 4px 16px 16px; transform-origin: top right; }
.ada__bubble.is-intro { cursor: default; font-size: 15px; }
.ada__bubble .w { opacity: .45; transition: opacity .16s; }
.ada__bubble .w.on { opacity: 1; }

/* ---- Açılış katmanı ---- */
.giris { position: fixed; inset: 0; z-index: 40; background: var(--bg); transition: background-color .7s var(--ease), opacity .6s var(--ease); }
.giris[hidden] { display: none; }
.giris__line { position: absolute; left: 50%; top: calc(50% - 10vh + var(--stage) * .62 + 10px); transform: translateX(-50%); width: min(540px, calc(100vw - 40px));
  margin: 0; text-align: center; font: 500 19px/1.45 var(--sans); letter-spacing: -.01em; text-wrap: balance; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.giris__line.out { opacity: 0; transform: translate(-50%, 6px); }
.giris__line .w { color: var(--muted); opacity: .5; transition: color .16s, opacity .16s; }
.giris__line .w.on { color: var(--ink); opacity: 1; }
.giris__snd { position: absolute; top: max(14px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: 42px; height: 42px; border-radius: 50%; padding: 0; display: grid; place-items: center; cursor: pointer; }
.giris__snd svg { width: 20px; height: 20px; }
.giris__snd .metal-label { display: grid; place-items: center; }
.giris__snd .i-on, .giris__snd[aria-pressed="true"] .i-off { display: none; }
.giris__snd[aria-pressed="true"] .i-on { display: block; }
.giris__skip { position: absolute; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); background: none; border: 0; padding: 12px 16px; color: var(--muted); font-size: 14px; cursor: pointer; }
@media (hover: hover) { .giris__skip:hover { color: var(--ink); } }
html.intro .top, html.intro main, html.intro .foot { opacity: 0; pointer-events: none; }
.top, main, .foot, main > section, .hero__sub, .hero__cta, .hero__note { transition: opacity .8s var(--ease); }
html.intro-hero main { opacity: 1; }
html.intro-hero .giris { background-color: transparent; pointer-events: none; }
html.intro-hero .giris button { pointer-events: auto; }
html.intro-hero main > :not(.hero), html.intro-hero .hero__sub, html.intro-hero .hero__cta, html.intro-hero .hero__note { opacity: 0; }
html.intro-out .giris { opacity: 0; }

/* ---- Giriş ---- */
.hero { position: relative; }
.hero__ada { position: absolute; top: 34px; right: max(var(--gutter), env(safe-area-inset-right)); width: 84px; height: 84px; }
.avatar img { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--line); }

/* ---- Logolar ---- */
.ico { display: block; }
.btn .ico--wa { color: #25d366; width: 19px; height: 19px; }
.links__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--soft); color: var(--ink); flex: none; transition: background-color .25s, color .25s; }
.links__ico .ico { width: 18px; height: 18px; }
@media (hover: hover) {
  .links a:hover .links__ico--ig { color: #e4405f; }
  .links a:hover .links__ico--yt { color: #ff0000; }
  .links a:hover .links__ico--li { color: #0a66c2; }
}
[data-active-theme="dark"] .links__ico { background: #1b1b1f; }

/* ---- İş karuseli ---- */
.carousel[hidden] { display: none; }
.work--gl .rail, .work--gl .dots, .work--gl .work__nav { display: none; }
.carousel__cap { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 104px; }
.carousel__cap .tag { align-self: center; }
.carousel__title { font-size: 19px; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; margin: 4px 0 0; }
.carousel__title a { text-decoration: none; }
@media (hover: hover) { .carousel__title a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.carousel__desc { color: var(--ink-2); font-size: 15px; max-width: 46ch; text-wrap: balance; }
.carousel__stage { position: relative; height: clamp(250px, 56vw, 560px); margin-top: 8px; }
.carousel__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.carousel__nav { display: flex; justify-content: center; gap: 14px; margin-top: 12px; }
.carousel__nav .nav-btn { width: 48px; height: 48px; }
.carousel__nav .nav-btn svg { width: 20px; height: 20px; }
.nav-btn--open { color: var(--ink); text-decoration: none; }

/* ---- Proje sayfası: canlı kapak ---- */
.proj__media video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; background: var(--soft); }

/* ---- Masaüstü (adamperlis düzeniyle karşılaştırılarak, 2026-11-22) ---- */
@media (min-width: 900px) {
  :root { --gutter: 48px; --stage: 220px; }
  .wrap { max-width: 1200px; }
  .top__in { height: 64px; }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 34%); align-items: center; column-gap: 56px;
    min-height: min(820px, calc(100vh - 64px)); padding-top: 48px; padding-bottom: 72px; }
  .hero__ada { position: relative; top: auto; right: auto; width: 240px; height: 240px; justify-self: center; }
  .avatar { width: 96px; height: 96px; margin-bottom: 30px; }
  .hero__title { font-size: clamp(44px, 4.4vw, 70px); max-width: 16ch; }
  .hero__sub { font-size: 20px; max-width: 38ch; margin-top: 22px; }
  .hero__cta { margin-top: 34px; }
  .work::before { width: min(1200px, calc(100% - 96px)); }
  .work__head { margin-bottom: 26px; }
  .sec-title { font-size: 36px; }
  .carousel__title { font-size: 22px; }
  .carousel__desc { font-size: 16.5px; }
  .carousel__cap { min-height: 118px; }
  .how, .channels, .end, .faq { display: grid; grid-template-columns: 5fr 7fr; column-gap: 64px; align-items: start; }
  .faq__list, .faq__more { grid-column: 2; }
  .faq__list { margin-top: 4px; gap: 32px; }
  .offer { display: grid; grid-template-columns: 5fr 7fr; column-gap: 64px; align-items: start; padding-top: 88px; padding-bottom: 96px; }
  .offer__list { grid-column: 2; margin-top: 4px; gap: 40px; }
  .how .steps { grid-column: 2; margin-top: 4px; max-width: 48ch; }
  .how .lead, .channels .links, .end .lead { grid-column: 2; margin-top: 4px; max-width: 48ch; }
  .channels .links { margin-top: -10px; max-width: none; }
  .end__title { grid-row: span 2; font-size: clamp(48px, 5vw, 76px); }
  .end .btn--wa { grid-column: 2; justify-self: start; }
  .how, .channels, .faq { padding-top: 88px; padding-bottom: 96px; }
  .end { padding-top: 96px; padding-bottom: 120px; }
  .proj { max-width: 860px; }
  .ada__btn { width: 64px; height: 64px; }
  .ada { right: 32px; bottom: 32px; }
}
@media (min-width: 1600px) {
  .wrap { max-width: 1320px; }
  .hero__ada { width: 280px; height: 280px; }
}
/* Telefon: 4. cümlede Ada başlığın altında sağda; sayfa başında balon Ada'nın solunda, fotoğrafla Ada arasındaki
   boşlukta. Genişliği o boşluğa göre sınırlı: fotoğrafa/yüze ve başlığa değmez (Vasif düzeltmesi, 2026-11-22). */
@media (max-width: 899px) {
  .ada.ada--side { position: fixed; left: auto; right: 22px; top: 58%; transform: translateY(-50%); }
  .ada--side .ada__btn { width: 104px; height: 104px; }
  .ada--side .ada__bubble { max-width: min(300px, calc(100vw - 44px)); }
  .ada.ada--dock { flex-direction: row; align-items: center; gap: 10px; transform: translate(calc(-100% + var(--dock-s, 84px) / 2), -50%); }
  .ada--dock .ada__bubble { position: static; width: max-content; font-size: 12.5px; line-height: 1.35; padding: 9px 11px;
    max-width: calc(100vw - 2 * var(--gutter) - 88px - var(--dock-s, 84px) - 22px);
    border-radius: 14px 14px 4px 14px; transform-origin: right center; }
}
@media (max-width: 360px) {
  .hero__ada { width: 62px; height: 62px; top: 39px; }
  .avatar { width: 72px; height: 72px; }
  .ada--dock .ada__bubble { font-size: 12px; max-width: calc(100vw - 2 * var(--gutter) - 76px - var(--dock-s, 62px) - 22px); }
}

/* Telefonda menü düğmesi (TR'nin altında) Ada'ya değmesin (Vasif, 2026-11-28): giriş 24px aşağı */
@media (max-width: 759px) {
  .hero { padding-top: 60px; }
  .hero__ada { top: 58px; }
}
@media (max-width: 360px) {
  .hero__ada { top: 63px; }
}

/* Menü açıkken arka plan bulanıklaşır (Vasif, 2026-11-28). Başlık (z 20) üstte kalır; perdeye dokununca menü kapanır */
body::after { content: ""; position: fixed; inset: 0; z-index: 35; pointer-events: none; opacity: 0; visibility: hidden;
  background: rgba(255,255,255,.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity .3s var(--ease), visibility 0s linear .3s; }
html.menu-open body::after { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s var(--ease), visibility 0s; }
:root[data-active-theme="dark"] body::after { background: rgba(0,0,0,.3); }
@media (prefers-reduced-motion: reduce) { body::after { transition: none; } }
html.menu-open .top { z-index: 40; }

/* ---------- Blog (2026-11-28) ---------- */
.posts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.posts__link { display: grid; gap: 6px; padding: 22px 24px; border: 1px solid var(--line, rgba(0,0,0,.1)); border-radius: 18px;
  color: inherit; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.posts__link:hover, .posts__link:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.posts__date { font-size: .85rem; opacity: .6; }
.posts__title { font-size: 1.25rem; font-weight: 700; }
.posts__desc { opacity: .75; line-height: 1.5; }
.post__meta { display: flex; gap: 10px; align-items: center; font-size: .9rem; opacity: .75; margin: 18px 0 0; }
.post__body { max-width: 68ch; margin-top: 28px; line-height: 1.7; font-size: 1.05rem; }
.post__body h2 { font-size: 1.5rem; margin: 2.2em 0 .6em; line-height: 1.25; }
.post__body h3 { font-size: 1.12rem; margin: 1.6em 0 .5em; }
.post__body p, .post__body ul, .post__body ol { margin: 0 0 1em; }
.post__body li { margin: .35em 0; }
.post__body a { text-decoration: underline; text-underline-offset: 3px; }
.post__body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; padding: .1em .35em; border-radius: 6px; background: rgba(127,127,127,.12); overflow-wrap: anywhere; }
.post__hook { font-size: 1.12rem; }
.post__source { font-size: .9rem; opacity: .65; margin-top: 2em; }
.post__body .note { margin: 1.4em 0; padding: 18px 20px; border-radius: 16px; background: rgba(127,127,127,.08); border: 1px solid rgba(127,127,127,.18); }
.post__body .code { position: relative; margin: .8em 0 1.4em; }
.post__body .code pre { margin: 0; padding: 18px 20px; padding-top: 52px; border-radius: 16px; background: #15161a; color: #eceef2;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.post__body .copy.chrome { position: absolute; top: 10px; right: 10px; height: 32px; padding: 0 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.post__body .table { overflow-x: auto; margin: 1em 0 1.6em; -webkit-overflow-scrolling: touch; }
.post__body table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
.post__body th, .post__body td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(127,127,127,.2); }
.post__body th { font-weight: 700; }
.post__body h2[id] { scroll-margin-top: 90px; }
.post__body td code { white-space: nowrap; }
.post__body .shot { margin: 1em 0 1.6em; }
.post__body .shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.post__body .shot--narrow img { max-width: 536px; }
/* ---------- Hizmet sayfaları (2026-11-29) ---------- */
.offer__more { display: inline-block; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.svc__h { font-size: 1.35rem; margin: 2em 0 .6em; line-height: 1.25; }
.svc__list { margin: 0 0 1em; padding-left: 1.2em; line-height: 1.7; font-size: 1.05rem; max-width: 68ch; }
.svc__list li { margin: .35em 0; }
.svc__p { max-width: 68ch; line-height: 1.7; font-size: 1.05rem; margin: 0 0 1em; }
.svc__link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
