/* =========================================================
   MW Studio — siyah / beyaz, keskin, parçalanan hareketler
   ========================================================= */

:root {
    --bg: #050505;
    --bg-2: #0d0d0d;
    --fg: #f3f3f1;
    --muted: #8b8b88;
    --line: rgba(255, 255, 255, .12);
    --line-strong: rgba(255, 255, 255, .28);
    --ease: cubic-bezier(.77, 0, .175, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
    --gutter: clamp(16px, 4vw, 56px);
    --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    font-variation-settings: 'wdth' 100;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--fg); color: var(--bg); padding: 10px 16px; }
.skip:focus { top: 16px; }

.container { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: clamp(72px, 9vw, 140px); padding-bottom: clamp(72px, 9vw, 140px); position: relative; }
.muted { color: var(--muted); }

/* ---------- Tipografi ---------- */
.eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}
.eyebrow .dot { width: 8px; height: 8px; background: var(--fg); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }

.h-hero, .hero-title, .h-xl, .h-lg {
    font-weight: 800;
    font-variation-settings: 'wdth' 125;
    line-height: .98;
    letter-spacing: -.035em;
    text-transform: uppercase;
}
.hero-title { font-size: clamp(40px, 9.4vw, 172px); }
.h-hero { font-size: clamp(38px, 8.4vw, 150px); }
.h-xl { font-size: clamp(44px, 8vw, 128px); }
.h-lg { font-size: clamp(34px, 4.6vw, 72px); line-height: 1; }
.h-hero .line, .hero-title .line { display: block; }
/* İçi zemin rengiyle dolu kontur: Ş, Ç, Ğ gibi birleşik harflerde iç çizgiler görünmez */
.outline { color: var(--bg); -webkit-text-stroke: 3px var(--fg); paint-order: stroke fill; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: #cfcfcc; max-width: 46ch; }

/* ---------- Harf harf parçalanan başlıklar ---------- */
.wd { display: inline-block; white-space: nowrap; }
.ch {
    display: inline-block;
    will-change: transform, opacity, filter;
}
.js .split .ch, .js .split-on-view .ch, .js .footer-big .ch {
    opacity: 0;
    transform: translate3d(calc((var(--i) - 3) * 18px), 110%, 0) rotate(calc((var(--i) - 3) * 9deg)) scale(.6);
    filter: blur(10px);
    transition:
        transform 1.1s var(--ease-out) calc(var(--w, 0) * 120ms + var(--i) * 32ms + var(--base, 0ms)),
        opacity .9s ease calc(var(--w, 0) * 120ms + var(--i) * 32ms + var(--base, 0ms)),
        filter 1s ease calc(var(--w, 0) * 120ms + var(--i) * 32ms + var(--base, 0ms));
}
.split .line:nth-child(2) { --base: 160ms; }
.hero-title .line:nth-child(2) .ch { --base: 180ms; }
.hero-title .line:nth-child(3) .ch { --base: 360ms; }
.h-hero .line:nth-child(2) .ch { --base: 180ms; }
.h-hero .line:nth-child(3) .ch { --base: 360ms; }
.is-ready .split .ch, .split-on-view.is-in .ch, .footer-big.is-in .ch {
    opacity: 1;
    transform: none;
    filter: none;
}

/* Hafif yükselerek gelen bloklar */
.js .reveal {
    opacity: 0;
    transform: translateY(48px) skewY(2deg);
    filter: blur(6px);
    transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), filter 1s var(--ease-out);
    transition-delay: calc(var(--delay, 0) * 110ms);
}
.reveal[data-delay="1"] { --delay: 1; }
.reveal[data-delay="2"] { --delay: 2; }
.reveal[data-delay="3"] { --delay: 3; }
.reveal[data-delay="4"] { --delay: 4; }
.reveal[data-delay="5"] { --delay: 5; }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Butonlar ---------- */
.btn {
    --h: 58px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    height: var(--h);
    padding: 0 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .02em;
    overflow: hidden;
    isolation: isolate;
    transition: color .5s var(--ease), border-color .5s;
    will-change: transform;
}
.btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    transition: clip-path .6s var(--ease);
}
.btn:hover::before { clip-path: polygon(0 -40%, 100% 0, 100% 100%, 0 100%); }
.btn-light { background: var(--fg); color: var(--bg); }
.btn-light::before { background: var(--bg); }
.btn-light:hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost { box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--fg); }
.btn-ghost::before { background: var(--fg); }
.btn-ghost:hover { color: var(--bg); }
.btn-sm { --h: 46px; padding: 0 20px; font-size: 14px; }
.btn-lg { --h: 66px; padding: 0 36px; font-size: 16px; }

.arrow {
    position: relative;
    width: 18px;
    height: 18px;
    flex: none;
    overflow: hidden;
}
.arrow::before, .arrow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: currentColor;
    clip-path: polygon(0 45%, 70% 45%, 45% 18%, 55% 10%, 100% 50%, 55% 90%, 45% 82%, 70% 55%, 0 55%);
    transform: rotate(-45deg);
    transition: transform .5s var(--ease);
}
.arrow::after { transform: rotate(-45deg) translate(-130%, 0); }
a:hover .arrow::before, .btn:hover .arrow::before { transform: rotate(-45deg) translate(130%, 0); }
a:hover .arrow::after, .btn:hover .arrow::after { transform: rotate(-45deg) translate(0, 0); }
.arrow--xl { width: clamp(40px, 6vw, 96px); height: clamp(40px, 6vw, 96px); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    padding-bottom: 6px;
    background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
    transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-back { display: inline-block; font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.link-back:hover { color: var(--fg); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
    font-family: var(--mono);
    font-size: 12px;
    padding: 6px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: #cfcfcc;
}

/* ---------- Açılış animasyonu ---------- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--bg);
    display: grid;
    place-items: center;
    transition: clip-path 1.1s var(--ease) .15s, visibility 0s 1.4s;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
html:not(.js) .preloader, .seen .preloader { display: none; }
.preloader-logo { width: min(340px, 60vw); }
.preloader-logo .mw-logo { fill: var(--fg); overflow: visible; }
.preloader-meta {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    bottom: 48px;
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .14em;
    color: var(--muted);
}
.preloader-meta b { color: var(--fg); font-weight: 500; font-size: 14px; }
.preloader-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.preloader-bar i { display: block; height: 100%; background: var(--fg); transform-origin: left; transform: scaleX(var(--p, 0)); }
.is-loaded .preloader {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    visibility: hidden;
}

/* Logo parçaları: dağınıktan birleşmeye */
.mw-logo .shard {
    transform-box: fill-box;
    transform-origin: 50% 50%;
    transition: transform 1.3s var(--ease-out), opacity .8s ease;
}
.is-assembling .shard {
    opacity: 0;
    transform: translate(calc(var(--sx) * 520px), calc(var(--sy) * 420px)) rotate(calc(var(--sr) * 4deg)) scale(.4);
}
.is-assembling .shard:nth-child(2) { transition-delay: .12s; }
.is-assembling .shard:nth-child(3) { transition-delay: .24s; }
.is-assembling .shard:nth-child(4) { transition-delay: .36s; }
.is-assembled .is-assembling .shard { opacity: 1; transform: none; }
.is-loaded .preloader .shard {
    transform: translate(calc(var(--sx) * 160px), calc(var(--sy) * 120px)) rotate(calc(var(--sr) * 1deg));
    opacity: 0;
    transition-duration: .9s;
}

/* ---------- Sayfa geçişi ---------- */
.transition {
    position: fixed;
    inset: 0;
    z-index: 190;
    pointer-events: none;
}
.transition i {
    position: absolute;
    top: -10%;
    bottom: -10%;
    width: 24%;
    background: var(--fg);
    transform: translateY(110%) skewX(-12deg);
    transition: transform .55s var(--ease);
}
.transition i:nth-child(1) { left: -6%; transition-delay: 0s; }
.transition i:nth-child(2) { left: 16%; transition-delay: .05s; }
.transition i:nth-child(3) { left: 38%; transition-delay: .1s; }
.transition i:nth-child(4) { left: 60%; transition-delay: .15s; }
.transition i:nth-child(5) { left: 82%; transition-delay: .2s; }
.is-leaving .transition i { transform: translateY(0) skewX(-12deg); }
.from-transition .transition i { transform: translateY(0) skewX(-12deg); transition: none; }
.from-transition.is-ready .transition i { transform: translateY(-120%) skewX(-12deg); transition: transform .7s var(--ease); }
.from-transition.is-ready .transition i:nth-child(2) { transition-delay: .05s; }
.from-transition.is-ready .transition i:nth-child(3) { transition-delay: .1s; }
.from-transition.is-ready .transition i:nth-child(4) { transition-delay: .15s; }
.from-transition.is-ready .transition i:nth-child(5) { transition-delay: .2s; }

/* ---------- Arka plan efektleri ---------- */
.shards-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
.grain {
    position: fixed;
    inset: -50%;
    z-index: 150;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
    0% { transform: translate(0, 0); }
    20% { transform: translate(-6%, 4%); }
    40% { transform: translate(5%, -7%); }
    60% { transform: translate(-3%, 8%); }
    80% { transform: translate(7%, 2%); }
    100% { transform: translate(0, 0); }
}

/* ---------- Özel imleç ---------- */
.cursor {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 180;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    background: #fff;
    mix-blend-mode: difference;
    pointer-events: none;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), opacity .3s;
}
.has-cursor .cursor { opacity: 1; }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cursor.has-label { width: 104px; height: 104px; margin: -52px 0 0 -52px; mix-blend-mode: normal; }
.cursor-label {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #000;
    opacity: 0;
    transform: scale(.4);
    transition: opacity .3s, transform .4s var(--ease-out);
}
.cursor.has-label .cursor-label { opacity: 1; transform: none; }

/* ---------- Üst bar ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 120;
    height: var(--header-h);
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    gap: 32px;
    mix-blend-mode: difference;
    transition: transform .6s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.brand-mark { width: 54px; fill: #fff; overflow: visible; }
.brand:hover .brand-mark .shard { transform: translate(calc(var(--sx) * 40px), calc(var(--sy) * 34px)) rotate(calc(var(--sr) * 1deg)); }
.brand-text { font-weight: 800; font-variation-settings: 'wdth' 125; letter-spacing: .02em; font-size: 15px; }
.brand-text b { font-weight: 300; margin-left: 4px; }
.nav { display: flex; gap: 34px; margin-left: auto; color: #fff; }
.nav-link { position: relative; display: block; overflow: hidden; font-size: 15px; font-weight: 500; height: 1.6em; }
.nav-link span, .nav-link::after { display: block; transition: transform .5s var(--ease); }
.nav-link::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.nav-link:hover span, .nav-link:hover::after { transform: translateY(-100%); }
.nav-link.is-active::before {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: #fff;
}
.header-cta { background: #fff; color: #000; }
.header-cta::before { background: #000; }
.header-cta:hover { color: #fff; }
.menu-toggle { display: none; width: 48px; height: 48px; position: relative; margin-left: auto; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 27px; }
.menu-open .menu-toggle span:first-child { top: 23px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 23px; transform: rotate(-45deg); }

/* Mobil tam ekran menü */
.menu {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
    visibility: hidden;
    transition: visibility 0s .9s;
}
.menu-open .menu { visibility: visible; transition: none; }
.menu-shards i {
    position: absolute;
    inset: 0;
    background: var(--bg-2);
    transition: clip-path .8s var(--ease);
}
.menu-shards i:nth-child(1) { clip-path: polygon(0 0, 0 0, 0 60%, 0 100%); }
.menu-shards i:nth-child(2) { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); background: #111; transition-delay: .06s; }
.menu-shards i:nth-child(3) { clip-path: polygon(50% 100%, 50% 100%, 50% 100%); background: var(--bg); transition-delay: .12s; }
.menu-open .menu-shards i:nth-child(1) { clip-path: polygon(0 0, 70% 0, 30% 60%, 0 100%); }
.menu-open .menu-shards i:nth-child(2) { clip-path: polygon(70% 0, 100% 0, 100% 100%, 30% 60%); }
.menu-open .menu-shards i:nth-child(3) { clip-path: polygon(0 100%, 30% 60%, 100% 100%); }
.menu-inner, .menu-foot { position: relative; }
.menu-link {
    display: flex;
    align-items: baseline;
    gap: 16px;
    font-size: clamp(40px, 11vw, 72px);
    font-weight: 800;
    font-variation-settings: 'wdth' 125;
    text-transform: uppercase;
    line-height: 1.1;
    overflow: hidden;
}
.menu-link small { font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 400; }
.menu-link span { display: block; transform: translateY(110%) rotate(6deg); transition: transform .8s var(--ease-out); }
.menu-open .menu-link span { transform: none; transition-delay: calc(.25s + var(--d) * 60ms); }
.menu-link.is-active span { color: var(--bg-2); -webkit-text-stroke: 2px var(--fg); paint-order: stroke fill; }
.menu-foot { margin-top: 48px; display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--muted); opacity: 0; transition: opacity .5s; }
.menu-open .menu-foot { opacity: 1; transition-delay: .6s; }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: var(--header-h);
    overflow: hidden;
}
.hero-logo {
    position: absolute;
    top: 50%;
    right: -4vw;
    width: min(76vw, 1180px);
    transform: translateY(-54%);
    pointer-events: none;
    z-index: 0;
}
.hero-mark { overflow: visible; fill: #1a1a1a; }
.hero-mark .shard {
    fill: #141414;
    stroke: rgba(255, 255, 255, .14);
    stroke-width: 1.5;
    transition: transform 1.6s var(--ease-out), fill 1s, opacity 1.2s;
    transform: translate(calc(var(--sx) * 300px + var(--mx, 0px) * var(--sx)), calc(var(--sy) * 260px + var(--my, 0px) * var(--sy))) rotate(calc(var(--sr) * 2deg));
    opacity: 0;
}
.is-ready .hero-mark .shard {
    opacity: 1;
    transform:
        translate(calc(var(--sx) * var(--burst, 0px) + var(--mx, 0px) * var(--sx)), calc(var(--sy) * var(--burst, 0px) + var(--my, 0px) * var(--sy)))
        rotate(calc(var(--sr) * var(--rot, 0deg)));
}
.hero-mark.is-live .shard { transition: transform .9s var(--ease-out), fill 1s; }
.hero-content { position: relative; z-index: 2; padding-bottom: 40px; }
.hero-title { margin-bottom: clamp(28px, 4vw, 56px); }
.hero-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-foot {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 32px;
    border-top: 1px solid var(--line);
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero-tags li::before { content: '✦ '; color: var(--fg); }
.scroll-cue { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { position: relative; width: 1px; height: 48px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--fg); animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee {
    position: relative;
    overflow: hidden;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--fg);
    color: var(--bg);
    transform: rotate(-2deg) scale(1.04);
    margin: 60px 0;
}
.marquee-track { display: flex; width: max-content; align-items: center; gap: 40px; will-change: transform; }
.marquee span {
    font-size: clamp(44px, 7vw, 104px);
    font-weight: 800;
    font-variation-settings: 'wdth' 125;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -.02em;
}
.marquee .outline { color: var(--fg); -webkit-text-stroke: 3px var(--bg); }
.marquee b { font-size: clamp(24px, 3vw, 44px); }

/* ---------- Manifesto (kaydırdıkça yanan kelimeler) ---------- */
.manifesto-text, .case-text {
    font-size: clamp(28px, 4.2vw, 64px);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -.02em;
    max-width: 26ch;
}
.case-text { font-size: clamp(24px, 2.8vw, 42px); max-width: 30ch; }
.js [data-scrub-words] .sw { opacity: .14; transition: opacity .4s; }
.js [data-scrub-words] .sw.on { opacity: 1; }

/* ---------- Bölüm başlıkları ---------- */
.section-head { margin-bottom: clamp(48px, 7vw, 96px); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- Hizmet listesi (beyaz zemin) ---------- */
.services { background: var(--fg); color: var(--bg); }
.services .eyebrow { color: #6b6b68; }
.service-list { border-top: 1px solid rgba(0, 0, 0, .15); counter-reset: s; }
.service-row { border-bottom: 1px solid rgba(0, 0, 0, .15); position: relative; overflow: hidden; }
.service-row a {
    position: relative;
    display: grid;
    grid-template-columns: 80px minmax(0, 1.4fr) minmax(0, 1fr) auto 40px;
    align-items: center;
    gap: 24px;
    padding: clamp(24px, 3vw, 40px) 0;
    z-index: 1;
    transition: color .5s var(--ease), padding .6s var(--ease);
}
.service-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg);
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transition: clip-path .7s var(--ease);
}
.service-row:hover::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.service-row:hover a { color: var(--fg); padding-left: 24px; padding-right: 24px; }
.service-no { font-family: var(--mono); font-size: 13px; }
.service-title {
    font-size: clamp(30px, 4.4vw, 68px);
    font-weight: 800;
    font-variation-settings: 'wdth' 125;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -.03em;
    position: relative;
}
.service-row:hover .service-title { animation: glitch .5s steps(2) 1; }
@keyframes glitch {
    0% { clip-path: inset(0 0 60% 0); transform: translateX(-6px); }
    25% { clip-path: inset(40% 0 20% 0); transform: translateX(6px); }
    50% { clip-path: inset(10% 0 70% 0); transform: translateX(-3px); }
    75% { clip-path: inset(70% 0 0 0); transform: translateX(4px); }
    100% { clip-path: inset(0); transform: none; }
}
.service-short { font-size: 15px; opacity: .7; }
.service-tags { display: flex; gap: 6px; }
.service-tags em { font-style: normal; font-family: var(--mono); font-size: 11px; padding: 4px 10px; border: 1px solid currentColor; border-radius: 999px; opacity: .6; }
.service-row .arrow { width: 28px; height: 28px; }

/* ---------- Canlı demo görüntüleyici ---------- */
.section-note { max-width: 38ch; color: var(--muted); }
.showcase { padding-top: clamp(40px, 5vw, 72px); }
.showcase + .showcase { margin-top: clamp(64px, 7vw, 112px); border-top: 1px solid var(--line); }
.showcase-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 16px 32px;
    margin-bottom: 28px;
}
.showcase-no { font-family: var(--mono); font-size: 13px; color: var(--muted); align-self: start; padding-top: 12px; }
.showcase-title h3 {
    font-size: clamp(32px, 4vw, 60px);
    font-weight: 800;
    font-variation-settings: 'wdth' 125;
    text-transform: uppercase;
    letter-spacing: -.03em;
    line-height: 1;
}
.showcase-title p { color: #bdbdba; margin-top: 10px; max-width: 52ch; }
.showcase-head .chips { justify-content: flex-end; max-width: 380px; }

.viewer { --phone-w: clamp(190px, 18vw, 270px); }
.viewer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.viewer-tabs { display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.viewer-tabs::-webkit-scrollbar { display: none; }
.viewer-tab {
    position: relative;
    flex: none;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: color .3s;
    isolation: isolate;
}
.viewer-tab::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--fg); z-index: -1; transform: scale(.6); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s; }
.viewer-tab:hover { color: var(--fg); }
.viewer-tab.is-active { color: var(--bg); }
.viewer-tab.is-active::before { transform: none; opacity: 1; }
.viewer-open { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; padding: 10px 4px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } }

.viewer-stage { position: relative; padding-right: calc(var(--phone-w) * .6); }
.viewer-browser {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #161616;
    border: 1px solid var(--line-strong);
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9);
}
.viewer-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.viewer-bar i { width: 11px; height: 11px; border-radius: 50%; }
.viewer-bar i:nth-child(1) { background: #ff5f57; }
.viewer-bar i:nth-child(2) { background: #febc2e; }
.viewer-bar i:nth-child(3) { background: #28c840; }
.viewer-url { margin-left: 16px; flex: 1; max-width: 460px; font-family: var(--mono); font-size: 12px; color: #bdbdba; background: #0b0b0b; padding: 5px 14px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-screen {
    position: relative;
    height: clamp(320px, 44vw, 660px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: none;
    background: #fff;
    outline: none;
}
.viewer-screen::-webkit-scrollbar { display: none; }
.viewer-screen img { width: 100%; transition: opacity .35s, transform .6s var(--ease-out), filter .4s; }
.viewer-screen.is-switching img { opacity: 0; transform: scale(.985) translateY(10px); filter: blur(6px); }
.viewer-screen.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border: 2px solid rgba(0, 0, 0, .15);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.viewer-progress { position: absolute; right: 5px; top: 48px; bottom: 8px; width: 3px; border-radius: 3px; background: rgba(127, 127, 127, .25); pointer-events: none; }
.viewer-progress i { display: block; height: 16%; border-radius: 3px; background: rgba(127, 127, 127, .9); transform: translateY(calc(var(--p, 0) * 525%)); }

.viewer-phone {
    position: absolute;
    right: 0;
    bottom: -40px;
    width: var(--phone-w);
    padding: 9px;
    border-radius: 40px;
    background: #111;
    border: 1px solid var(--line-strong);
    box-shadow: 0 40px 80px -10px rgba(0, 0, 0, .95), inset 0 0 0 2px #262626;
}
.viewer-notch { position: absolute; z-index: 3; top: 16px; left: 50%; width: 32%; height: 20px; transform: translateX(-50%); border-radius: 20px; background: #000; }
.viewer-phone .viewer-screen { height: auto; aspect-ratio: 9 / 19.5; border-radius: 31px; }
.viewer-hint { margin-top: 60px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.viewer-hint span { color: var(--fg); }

.case-viewer { padding-bottom: 40px; }

/* Mobil ekran dizisi */
.phones { padding: clamp(72px, 9vw, 140px) 0; border-top: 1px solid var(--line); overflow: hidden; }
.phones-row { display: flex; gap: clamp(16px, 2.5vw, 36px); padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; justify-content: safe center; }
.phones-row::-webkit-scrollbar { display: none; }
.phones-item { flex: none; width: clamp(220px, 21vw, 300px); scroll-snap-align: center; }
.phones-item:nth-child(even) { margin-top: 64px; }
.phones-frame { padding: 9px; border-radius: 38px; background: #111; border: 1px solid var(--line-strong); }
.phones-frame img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: 50% 0; border-radius: 29px; transition: object-position 1.2s var(--ease-out); }
.phones-item:hover img { object-position: 50% 100%; transition: object-position 12s cubic-bezier(.45, 0, .55, 1); }
.phones-item figcaption { display: flex; gap: 12px; margin-top: 16px; font-weight: 600; }
.phones-item figcaption span { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); padding-top: 3px; }

/* Manifesto yan bilgileri */
.manifesto-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 120px); align-items: end; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 40px; font-weight: 800; font-variation-settings: 'wdth' 125; line-height: 1; }
.facts dd { margin: 0; color: #bdbdba; }

/* Görsel kırılarak açılır: üç cam parçası */
.shatter-img { position: relative; }
.js .shatter-img::before, .js .shatter-img::after, .js .shatter-img > img {
    transition: clip-path 1.2s var(--ease), transform 1.2s var(--ease-out), filter .8s;
}
.js .shatter-img { --cover: var(--bg-2); }
.js .shatter-img::before, .js .shatter-img::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--fg);
    pointer-events: none;
}
.js .shatter-img::before { clip-path: polygon(0 0, 62% 0, 38% 100%, 0 100%); }
.js .shatter-img::after { clip-path: polygon(62% 0, 100% 0, 100% 100%, 38% 100%); transition-delay: .08s; }
.js .shatter-img.is-in::before { clip-path: polygon(0 0, 0 0, -24% 100%, 0 100%); }
.js .shatter-img.is-in::after { clip-path: polygon(100% 0, 100% 0, 100% 100%, 124% 100%); }

/* ---------- Süreç (yatay) ---------- */
.process { position: relative; height: 400vh; }
.process-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 48px; }
.process-head { display: flex; align-items: flex-end; justify-content: space-between; }
.process-head .eyebrow { margin: 0; order: 2; }
.process-track { display: flex; gap: 24px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.process-card {
    position: relative;
    width: clamp(280px, 32vw, 460px);
    height: clamp(320px, 50vh, 480px);
    padding: 36px;
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: rgba(13, 13, 13, .7);
    backdrop-filter: blur(6px);
    transition: background .6s, color .6s;
}
.process-card:hover { background: var(--fg); color: var(--bg); }
.process-card:hover p { color: #333; }
.process-no { position: absolute; top: 28px; left: 36px; font-family: var(--mono); font-size: 13px; }
.process-card h3 { font-size: clamp(30px, 3vw, 46px); font-weight: 800; font-variation-settings: 'wdth' 125; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; margin-bottom: 14px; }
.process-card p { color: #bdbdba; max-width: 32ch; }
.process-shard { position: absolute; top: 20px; right: 20px; width: 46%; fill: none; stroke: currentColor; stroke-width: .6; opacity: .5; transition: transform 1s var(--ease-out); }
.process-card:hover .process-shard { transform: rotate(40deg) scale(1.15); }
.process-card--end { border-style: dashed; align-items: flex-start; justify-content: center; gap: 24px; }
.process-card--end p { font-size: clamp(30px, 3vw, 46px); font-weight: 800; font-variation-settings: 'wdth' 125; text-transform: uppercase; color: var(--fg); line-height: 1; }
.process-card--end:hover { background: rgba(13, 13, 13, .7); color: var(--fg); }
.process-card--end:hover p { color: var(--fg); }
.process-progress { margin: 0 var(--gutter); height: 1px; background: var(--line); }
.process-progress i { display: block; height: 100%; background: var(--fg); transform-origin: left; transform: scaleX(0); }

/* ---------- Teknolojiler ---------- */
.stack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.stack-grid .h-lg { margin-bottom: 28px; }
.stack-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.stack-cloud span {
    font-size: clamp(22px, 2.6vw, 40px);
    font-weight: 700;
    font-variation-settings: 'wdth' 115;
    padding: 10px 26px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    transition: background .4s, color .4s, transform .6s var(--ease-out);
    opacity: 0;
    transform: translateY(30px) rotate(calc((var(--i) - 6) * 3deg));
}
.stack-cloud.is-in span { opacity: 1; transform: none; transition: opacity .6s calc(var(--i) * 60ms), transform 1s var(--ease-out) calc(var(--i) * 60ms), background .4s, color .4s; }
.stack-cloud span:hover { background: var(--fg); color: var(--bg); }
html:not(.js) .stack-cloud span { opacity: 1; transform: none; }

/* ---------- Kurucu ---------- */
.founder { border-top: 1px solid var(--line); }
.founder-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 120px); align-items: center; }
.founder-logo { fill: var(--fg); overflow: visible; }
.founder-mark:hover .founder-logo .shard { transform: translate(calc(var(--sx) * 60px), calc(var(--sy) * 50px)) rotate(calc(var(--sr) * 1deg)); }
.founder-quote { font-size: clamp(26px, 3.2vw, 48px); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; margin-bottom: 36px; }
.founder-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.founder-meta strong { font-size: 20px; }
.founder-meta span { color: var(--muted); }
.founder-card {
    aspect-ratio: 4 / 5;
    border: 1px solid var(--line-strong);
    border-radius: 28px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(160deg, #161616, #050505);
    transition: transform .8s var(--ease-out);
}
.founder-initials { font-size: clamp(90px, 14vw, 200px); font-weight: 900; font-variation-settings: 'wdth' 125; line-height: .8; color: #0e0e0e; -webkit-text-stroke: 3px var(--fg); paint-order: stroke fill; }
.founder-card strong { display: block; font-size: 22px; }
.founder-card span { color: var(--muted); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- İç sayfa üst alanı ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(80px, 12vw, 180px)); padding-bottom: clamp(40px, 6vw, 80px); }
.page-hero .h-hero { margin-bottom: 36px; }

/* Hizmet detay */
.service-detail {
    display: grid;
    grid-template-columns: minmax(0, .5fr) minmax(0, 1.3fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 64px);
    padding: clamp(56px, 8vw, 120px) 0;
    border-top: 1px solid var(--line);
    scroll-margin-top: var(--header-h);
}
.service-detail-no { font-size: clamp(64px, 10vw, 160px); font-weight: 900; font-variation-settings: 'wdth' 125; line-height: .8; color: var(--bg); -webkit-text-stroke: 2px var(--line-strong); paint-order: stroke fill; }
.service-detail .h-lg { margin-bottom: 24px; }
.service-detail .lead { margin-bottom: 28px; }
.service-detail-list li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.service-detail-list span { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 4px; }

/* Proje ızgarası */
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); padding-bottom: clamp(96px, 12vw, 180px); }
.project-tile { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.project-tile:nth-child(even) { margin-top: clamp(0px, 10vw, 160px); }
.project-tile > a { display: block; width: 100%; }
.project-tile-media { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); background: #161616; transition: transform .8s var(--ease-out); }
.tile-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.tile-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.tile-bar span { margin-left: 12px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.tile-screen { aspect-ratio: 16 / 10.5; overflow: hidden; background: #fff; }
.tile-hint { position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 10px); padding: 8px 14px; border-radius: 999px; background: rgba(0, 0, 0, .8); font-family: var(--mono); font-size: 11px; opacity: 0; transition: opacity .3s, transform .4s var(--ease-out); pointer-events: none; white-space: nowrap; }
.project-tile a:hover .tile-hint { opacity: 1; transform: translate(-50%, 0); }
.tile-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: object-position 1.2s var(--ease-out); }
.project-tile a:hover .tile-screen img { object-position: 50% 100%; transition: object-position 14s cubic-bezier(.45, 0, .55, 1); }
.project-tile-info { padding-top: 22px; }
.project-tile-info span { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.project-tile-info h2 { font-size: clamp(30px, 3.4vw, 54px); font-weight: 800; font-variation-settings: 'wdth' 125; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; margin: 10px 0 12px; }
.project-tile-info p { color: #bdbdba; max-width: 44ch; }
.project-tile-empty { aspect-ratio: 16 / 11.6; display: grid; place-items: center; background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255, 255, 255, .03) 14px 15px); border-style: dashed; border-color: var(--line-strong); }
.empty-logo { width: 46%; fill: none; stroke: var(--fg); stroke-width: 3; overflow: visible; }
.project-tile--next a:hover .empty-logo .shard { transform: translate(calc(var(--sx) * 50px), calc(var(--sy) * 40px)) rotate(calc(var(--sr) * 1.5deg)); }

/* Proje detay */
.case-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.case-meta small { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.case-meta div:last-child { margin-left: auto; }
.case-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.case-features { border-top: 1px solid var(--line); }
.case-features li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.case-features span { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 4px; }
.next-project { padding-top: clamp(96px, 12vw, 180px); padding-bottom: clamp(40px, 6vw, 80px); }
.next-project a { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; border-top: 1px solid var(--line); padding-top: 40px; }
.next-project small { width: 100%; font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.next-name { font-size: clamp(44px, 9vw, 150px); font-weight: 800; font-variation-settings: 'wdth' 125; text-transform: uppercase; line-height: .9; letter-spacing: -.035em; transition: color .5s; -webkit-text-stroke: 3px var(--fg); paint-order: stroke fill; }
.next-project a:hover .next-name { color: var(--bg); }

/* Hakkımızda */
.about-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-mark { overflow: visible; fill: var(--fg); }
.about-mark .shard { transform: translate(calc(var(--sx) * var(--ex, 0px)), calc(var(--sy) * var(--ex, 0px))) rotate(calc(var(--sr) * var(--exr, 0deg))); transition: transform .2s linear; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.value { padding: 40px 28px 40px 0; border-right: 1px solid var(--line); }
.value + .value { padding-left: 28px; }
.value:last-child { border-right: 0; }
.value span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.value h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 800; font-variation-settings: 'wdth' 125; text-transform: uppercase; margin: 40px 0 12px; }
.value p { color: #bdbdba; }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 120px); padding-top: 0; }
.contact-info { display: flex; flex-direction: column; gap: 36px; }
.contact-info small { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 6px; }
.contact-big { font-size: clamp(20px, 2.2vw, 30px); font-weight: 700; word-break: break-word; }
a.contact-big { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
a.contact-big:hover { background-size: 100% 1px; }
.contact-form { display: flex; flex-direction: column; gap: 28px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 16px 20px; border: 1px solid var(--fg); border-radius: 12px; }
.field-chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.field-chips legend { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 16px; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-block; padding: 12px 22px; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 500; cursor: pointer; transition: background .3s, color .3s, transform .3s var(--ease-out); }
.chip-check span:hover { transform: translateY(-2px); }
.chip-check input:checked + span { background: var(--fg); color: var(--bg); }
.chip-check input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { position: relative; display: block; }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 26px 0 12px;
    font: inherit;
    font-size: 19px;
    color: var(--fg);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0;
    outline: none;
    resize: vertical;
    appearance: none;
}
.field select { cursor: pointer; }
.field select option { background: var(--bg); color: var(--fg); }
.field-select::after { content: '↓'; position: absolute; right: 4px; top: 28px; color: var(--muted); pointer-events: none; }
.field > span {
    position: absolute;
    left: 0;
    top: 26px;
    color: var(--muted);
    pointer-events: none;
    transform-origin: left top;
    transition: transform .4s var(--ease-out), color .3s;
}
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field-select > span { transform: translateY(-24px) scale(.72); color: var(--fg); }
.field::after { content: ''; }
.field:not(.field-select)::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--fg);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s var(--ease);
}
.field:focus-within::before { transform: scaleX(1); }
.field em { display: block; font-style: normal; font-size: 13px; margin-top: 8px; color: #ff6b6b; }
.field textarea { min-height: 150px; }
.has-error input, .has-error textarea { border-bottom-color: #ff6b6b; }
.consent { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: #bdbdba; cursor: pointer; }
.consent input { appearance: none; flex: none; width: 22px; height: 22px; border: 1px solid var(--line-strong); border-radius: 6px; margin: 0; display: grid; place-items: center; cursor: pointer; }
.consent input:checked { background: var(--fg); }
.consent input:checked::after { content: '✓'; color: var(--bg); font-size: 14px; font-weight: 700; }
.consent.has-error input { border-color: #ff6b6b; }
.contact-form .btn { align-self: flex-start; }
.form-success { border: 1px solid var(--line-strong); border-radius: 28px; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.success-logo { width: 140px; fill: var(--fg); overflow: visible; margin-bottom: 12px; }
.success-logo .shard { animation: snap 1.2s var(--ease-out) both; }
.success-logo .shard:nth-child(2) { animation-delay: .1s; }
.success-logo .shard:nth-child(3) { animation-delay: .2s; }
.success-logo .shard:nth-child(4) { animation-delay: .3s; }
@keyframes snap { from { opacity: 0; transform: translate(calc(var(--sx) * 200px), calc(var(--sy) * 160px)) rotate(calc(var(--sr) * 3deg)); } }
.form-success h2 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; font-variation-settings: 'wdth' 125; text-transform: uppercase; line-height: 1; }
.form-success p { color: #bdbdba; }

/* 404 */
.notfound { text-align: left; min-height: 90vh; }
.notfound-logo { width: min(420px, 70vw); margin-bottom: 40px; }
.notfound-logo .mw-logo { fill: var(--fg); overflow: visible; }
.is-broken .shard { animation: broken 4s var(--ease) infinite alternate; }
@keyframes broken { 0%, 30% { transform: none; } 100% { transform: translate(calc(var(--sx) * 70px), calc(var(--sy) * 60px)) rotate(calc(var(--sr) * 1.4deg)); } }

/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); padding: clamp(80px, 12vw, 180px) 0 0; overflow: hidden; }
.footer-cta { padding: 0 var(--gutter); max-width: 1480px; margin: 0 auto clamp(80px, 10vw, 140px); }
.footer-big { display: block; font-size: clamp(56px, 13vw, 220px); font-weight: 900; font-variation-settings: 'wdth' 125; text-transform: uppercase; line-height: 1; letter-spacing: -.04em; }
.footer-big-line { display: block; }
.footer-big-line:nth-child(2) .ch { --base: 220ms; }
.footer-big:hover .ch { animation: jitter .6s var(--ease-out); animation-delay: calc(var(--i) * 25ms); }
@keyframes jitter { 30% { transform: translateY(-14%) rotate(calc((var(--i) - 3) * 3deg)); } }
.footer-grid {
    max-width: 1480px;
    margin: 0 auto;
    padding: 64px var(--gutter);
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px;
    border-top: 1px solid var(--line);
}
.footer-logo { width: 110px; fill: var(--fg); overflow: visible; margin-bottom: 20px; }
.footer-brand:hover .footer-logo .shard { transform: translate(calc(var(--sx) * 26px), calc(var(--sy) * 22px)) rotate(calc(var(--sr) * 1deg)); }
.footer-brand p { color: var(--muted); max-width: 32ch; }
.site-footer h4 { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 20px; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { position: relative; transition: padding .4s var(--ease); word-break: break-word; }
.site-footer ul a::before { content: '→'; position: absolute; left: -22px; opacity: 0; transition: opacity .3s, left .4s var(--ease); }
.site-footer ul a:hover { padding-left: 22px; }
.site-footer ul a:hover::before { left: 0; opacity: 1; }
.footer-bottom {
    max-width: 1480px;
    margin: 0 auto;
    padding: 28px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
}
.to-top { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 18px; transition: background .3s, color .3s; }
.to-top:hover { background: var(--fg); color: var(--bg); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1100px) {
    .showcase-head { grid-template-columns: auto minmax(0, 1fr); }
    .showcase-head .chips { grid-column: 2; justify-content: flex-start; max-width: none; }
    .showcase-head .btn { grid-column: 2; justify-self: start; }
    .manifesto-grid { grid-template-columns: 1fr; }
    .nav, .header-cta { display: none; }
    .menu-toggle { display: block; }
    .service-row a { grid-template-columns: 50px minmax(0, 1fr) 30px; }
    .service-short, .service-tags { display: none; }
    .stack-grid, .founder-grid, .about-intro, .case-body, .contact-grid { grid-template-columns: 1fr; }
    .founder-mark, .about-logo { max-width: 420px; }
    .service-detail { grid-template-columns: 1fr; }
    .values { grid-template-columns: 1fr 1fr; }
    .value:nth-child(2) { border-right: 0; }
    .value:nth-child(3) { padding-left: 0; }
    .value:nth-child(n+3) { border-top: 1px solid var(--line); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    .viewer-stage { padding-right: 0; }
    .viewer-browser { display: none; }
    .viewer-phone { position: relative; bottom: 0; width: min(300px, 82vw); margin: 0 auto; }
    .viewer-hint { margin-top: 18px; }
    .viewer-open { padding: 4px; }
    .showcase-head { grid-template-columns: 1fr; }
    .showcase-head .chips, .showcase-head .btn { grid-column: 1; }
    .showcase-no { padding-top: 0; }
    .phones-item { width: 230px; }
    .phones-item:nth-child(even) { margin-top: 0; }
    .facts div { grid-template-columns: 90px 1fr; }
    :root { --header-h: 72px; }
    body { font-size: 16px; }
    .brand-mark { width: 44px; }
    .hero-logo { width: 130vw; right: -40vw; top: 34%; opacity: .7; }
    .hero-foot { flex-direction: column; align-items: flex-start; }
    .scroll-cue { display: none; }
    .marquee { margin: 32px 0; padding: 18px 0; }
    .project-grid { grid-template-columns: 1fr; }
    .project-tile:nth-child(even) { margin-top: 0; }
    .field-row { grid-template-columns: 1fr; }
    .values { grid-template-columns: 1fr; }
    .value, .value + .value { padding: 32px 0; border-right: 0; border-top: 1px solid var(--line); }
    .case-meta div:last-child { margin-left: 0; }
            .process { height: auto; }
    .process-sticky { position: relative; height: auto; padding: 96px 0; }
    .process-track { width: auto; flex-direction: column; transform: none !important; }
    .process-card { width: 100%; height: auto; min-height: 260px; }
    .process-progress { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Hareket azaltma tercihi: yalnızca sürekli titreşen efektler kapanır */
@media (prefers-reduced-motion: reduce) {
    .grain { display: none; }
}
