/**
 * ALFA Dizayn — Kurumsal tasarim katmani (cx-*)
 * 2026-11: ana sayfa + projeler vitrini + ortak bilesenler.
 * Kimlik: koyu zemin, lime (aksiyon) + mor (ikincil) — dozu dusuk, tipografi onde.
 * Agir kutuphane yok; animasyonlar CSS + IntersectionObserver (.cx-reveal), reduced-motion saygili.
 */

/* ---------- Tokenlar ---------- */
body {
    --cx-bg: #0a0b0f;
    --cx-bg-2: #0f1116;
    --cx-surface: #13151b;
    --cx-raised: #191c24;
    --cx-line: rgba(255, 255, 255, 0.08);
    --cx-line-2: rgba(255, 255, 255, 0.14);
    --cx-text: #eceef1;
    --cx-text-2: #b4b9c2;
    --cx-muted: #8a909b;
    --cx-accent: #c8f31d;          /* aksiyon: buton, vurgu cizgisi */
    --cx-accent-ink: #0a0b0f;      /* accent ustu metin */
    --cx-accent-text: #c8f31d;     /* metin icinde accent */
    --cx-violet: #7c77ed;
    --cx-focus: #8f8af5;
    --cx-ease: cubic-bezier(0.2, 0.7, 0.1, 1);
    --cx-gutter: clamp(20px, 4vw, 32px);
    --cx-sec: clamp(88px, 11vw, 152px);
}
body.light-theme {
    --cx-bg: #f4f5f7;
    --cx-bg-2: #ebedf1;
    --cx-surface: #ffffff;
    --cx-raised: #ffffff;
    --cx-line: rgba(13, 14, 18, 0.09);
    --cx-line-2: rgba(13, 14, 18, 0.16);
    --cx-text: #0d0e12;
    --cx-text-2: #3d424b;
    --cx-muted: #5f6570;
    --cx-accent: #5751e1;
    --cx-accent-ink: #ffffff;
    --cx-accent-text: #4a44d0;
    --cx-violet: #5751e1;
    --cx-focus: #5751e1;
}

/* ---------- Temel ---------- */
.cx .container, .cx-page .container { padding-left: var(--cx-gutter); padding-right: var(--cx-gutter); }
.cx { background: var(--cx-bg); color: var(--cx-text); }
.cx a { text-decoration: none; }
.cx :focus-visible { outline: 2px solid var(--cx-focus); outline-offset: 3px; }
.cx-section { padding: var(--cx-sec) 0; position: relative; background: var(--cx-bg); }
.cx-section + .cx-section { border-top: 1px solid var(--cx-line); }
.cx-section.is-alt { background: var(--cx-bg-2); }

.cx-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font: 500 12px/1 'JetBrains Mono', ui-monospace, monospace;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--cx-muted); margin-bottom: 22px;
}
.cx-eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--cx-accent); }

.cx-h1, .cx-h2, .cx-h3 { font-family: 'Outfit', sans-serif; color: var(--cx-text); margin: 0; }
.cx-h2 {
    font-size: clamp(34px, 4.4vw, 62px); font-weight: 600;
    line-height: 1.04; letter-spacing: -0.035em;
}
.cx-h2 em { font-style: normal; color: var(--cx-muted); }
.cx-h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.cx-lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; color: var(--cx-text-2); max-width: 56ch; margin: 0; }

.cx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(44px, 5vw, 72px); }
.cx-head .cx-lead { margin-top: 20px; }

/* ---------- Butonlar ---------- */
.cx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 54px; padding: 0 28px;
    font: 600 15px/1 'Plus Jakarta Sans', sans-serif;
    border: 1px solid transparent; cursor: pointer;
    transition: background-color .25s var(--cx-ease), color .25s var(--cx-ease), border-color .25s var(--cx-ease);
}
.cx-btn svg, .cx-btn i { transition: transform .3s var(--cx-ease); }
.cx-btn:hover svg, .cx-btn:hover i { transform: translate(3px, -3px); }
.cx-btn--primary { background: var(--cx-accent); color: var(--cx-accent-ink); }
.cx-btn--primary:hover { background: var(--cx-text); color: var(--cx-bg); }
.cx-btn--ghost { border-color: var(--cx-line-2); color: var(--cx-text); background: transparent; }
.cx-btn--ghost:hover { border-color: var(--cx-text); color: var(--cx-text); }

.cx-link {
    display: inline-flex; align-items: center; gap: 10px;
    font: 600 15px/1.2 'Plus Jakarta Sans', sans-serif; color: var(--cx-text);
    padding-bottom: 6px; background: linear-gradient(var(--cx-accent), var(--cx-accent)) 0 100% / 100% 1px no-repeat;
    transition: background-size .35s var(--cx-ease), color .2s;
}
.cx-link:hover { color: var(--cx-text); background-size: 100% 2px; }
.cx-link svg { transition: transform .3s var(--cx-ease); }
.cx-link:hover svg { transform: translate(3px, -3px); }

/* ---------- Reveal ---------- */
.cx-js .cx-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--cx-ease), transform .8s var(--cx-ease); }
.cx-js .cx-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .cx-js .cx-reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.cx-hero {
    position: relative; overflow: hidden;
    padding: clamp(150px, 16vw, 200px) 0 0;
    background: var(--cx-bg);
}
/* ince kolon cizgileri — grid hissi, dekor degil hiza rehberi */
.cx-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(to right, var(--cx-line) 1px, transparent 1px);
    background-size: calc((min(100vw, 1320px) - 2 * var(--cx-gutter)) / 6) 100%;
    background-position: center top;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
            mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
    opacity: .55;
}
.cx-hero > .container { position: relative; z-index: 1; }
.cx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }

.cx-hero-kicker { display: flex; align-items: baseline; gap: 12px; margin-bottom: 30px; font: 500 14px/1.4 'Plus Jakarta Sans', sans-serif; color: var(--cx-text-2); }
.cx-hero-kicker .cx-dot { flex: 0 0 8px; width: 8px; height: 8px; transform: translateY(-1px); background: var(--cx-accent); box-shadow: 0 0 0 4px rgba(200, 243, 29, .14); }
body.light-theme .cx-hero-kicker .cx-dot { box-shadow: 0 0 0 4px rgba(87, 81, 225, .14); }

.cx-h1 {
    font-size: clamp(46px, 7.2vw, 112px); font-weight: 600;
    line-height: .96; letter-spacing: -0.045em;
}
.cx-h1 .cx-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.04em; }
.cx-h1 .cx-line > span { display: inline-block; animation: cxRise 1s var(--cx-ease) both; }
.cx-h1 .cx-line:nth-child(2) > span { animation-delay: .08s; }
.cx-h1 .cx-line:nth-child(3) > span { animation-delay: .16s; }
.cx-h1 .cx-mark { position: relative; white-space: nowrap; }
.cx-h1 .cx-mark::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .08em;
    background: var(--cx-accent); transform-origin: left; z-index: -1;
    animation: cxDraw 1.1s .55s var(--cx-ease) both;
}
.cx-h1 .cx-mark { z-index: 0; }
.cx-h1 .cx-period { color: var(--cx-accent-text); }
/* theme.css html+body'ye overflow-x:hidden veriyor → body kaydirma kabi olur ve TUM position:sticky
   ogeler (hizmetler sol sutunu vb.) calismaz. clip tasmayi ayni sekilde keser, kaydirma kabi olusturmaz. */
@supports (overflow: clip) {
    html, body { overflow-x: clip; }
}
/* Ana sayfa basligi sutun genisligine gore olceklenir: en uzun satir ("Öne Çıkarıyoruz.") ~6.9em;
   vw tabanli boyut 1440px civarinda sutunu asip satiri kesiyordu */
.cx-hero-grid > div:first-child { container-type: inline-size; }
@supports (font-size: 1cqi) {
    #heroTitle { font-size: clamp(34px, 14cqi, 112px); }
}
@keyframes cxRise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes cxDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.cx-hero-desc { margin-top: 34px; min-height: 3.4em; max-width: 52ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--cx-text-2); }
.cx-hero-desc span { display: block; transition: opacity .5s var(--cx-ease), transform .5s var(--cx-ease); }
.cx-hero-desc span.is-out { opacity: 0; transform: translateY(8px); }
.cx-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

/* Hero sag: gercek proje vitrini — dikey kayan seridler */
.cx-rail {
    position: relative; height: clamp(420px, 44vw, 600px);
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.cx-rail-col { overflow: hidden; }
.cx-rail-track { display: flex; flex-direction: column; gap: 14px; animation: cxRail 48s linear infinite; }
.cx-rail-col:nth-child(2) .cx-rail-track { animation-duration: 60s; animation-direction: reverse; }
.cx-rail:hover .cx-rail-track { animation-play-state: paused; }
.cx-rail-item { display: block; position: relative; background: var(--cx-surface); border: 1px solid var(--cx-line); overflow: hidden; }
.cx-rail-item img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center top; filter: grayscale(1) contrast(1.02); transition: filter .5s var(--cx-ease), transform .7s var(--cx-ease); }
.cx-rail-item:hover img { filter: none; transform: scale(1.03); }
.cx-rail-item figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 12px;
    font: 600 12.5px/1.3 'Plus Jakarta Sans', sans-serif; color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .78));
    opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--cx-ease);
}
.cx-rail-item:hover figcaption, .cx-rail-item:focus-visible figcaption { opacity: 1; transform: none; }
@keyframes cxRail { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) { .cx-rail-track { animation: none; } }

/* Ledger — gercek kunye bilgileri */
.cx-ledger {
    margin-top: clamp(64px, 8vw, 104px);
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--cx-line-2);
}
.cx-ledger > div { padding: 26px 24px 30px 0; border-right: 1px solid var(--cx-line); }
.cx-ledger > div + div { padding-left: 24px; }
.cx-ledger > div:last-child { border-right: 0; }
.cx-ledger b {
    display: block; font: 600 clamp(32px, 3.4vw, 50px)/1 'Outfit', sans-serif;
    letter-spacing: -0.04em; color: var(--cx-text); font-variant-numeric: tabular-nums;
}
.cx-ledger b sup { font-size: .5em; top: -.7em; color: var(--cx-accent-text); margin-left: 2px; }
.cx-ledger span { display: block; margin-top: 10px; font-size: 14px; color: var(--cx-muted); line-height: 1.45; }

/* =========================================================
   HIZMETLER (editoryal satirlar)
   ========================================================= */
.cx-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.cx-split > .cx-sticky { position: sticky; top: 120px; align-self: start; }
.cx-services { border-top: 1px solid var(--cx-line-2); }
.cx-service {
    display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 24px; align-items: start;
    padding: 36px 0; border-bottom: 1px solid var(--cx-line); color: var(--cx-text);
    position: relative;
}
.cx-service::before {
    content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
    background: var(--cx-accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--cx-ease);
}
.cx-service:hover::before { transform: scaleX(1); }
.cx-service-ico {
    width: 56px; height: 56px; display: grid; place-items: center;
    border: 1px solid var(--cx-line-2); color: var(--cx-accent-text); font-size: 20px;
    transition: background-color .3s, color .3s, border-color .3s;
}
.cx-service:hover .cx-service-ico { background: var(--cx-accent); color: var(--cx-accent-ink); border-color: var(--cx-accent); }
.cx-service p { margin: 12px 0 18px; color: var(--cx-text-2); line-height: 1.7; font-size: 16px; }
.cx-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.cx-tags li { font-size: 13px; color: var(--cx-text-2); border: 1px solid var(--cx-line); padding: 6px 12px; }
/* Hizmet listesi v2 (ana sayfa): numarali satirlar, kaydirdikca ortadaki satir aktif, sol sutunda sayac */
.cx-svc-progress { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--cx-line); max-width: 360px; }
.cx-svc-count { display: flex; align-items: baseline; gap: 10px; font-family: 'Outfit', sans-serif; font-variant-numeric: tabular-nums; }
.cx-svc-count b { font-size: clamp(44px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--cx-text); }
.cx-svc-count span { font-size: 15px; color: var(--cx-muted); }
.cx-svc-name { margin-top: 10px; font: 500 15px/1.4 'Plus Jakarta Sans', sans-serif; color: var(--cx-text-2); min-height: 21px; transition: opacity .3s; }
.cx-svc-bar { position: relative; height: 2px; margin-top: 18px; background: var(--cx-line); overflow: hidden; }
.cx-svc-bar i { position: absolute; inset: 0; background: var(--cx-accent); transform-origin: left; transform: scaleX(.125); transition: transform .5s var(--cx-ease); }
.cx-svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cx-line-2); counter-reset: none; }
.cx-svc { border-bottom: 1px solid var(--cx-line); position: relative; }
.cx-svc::before { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--cx-accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--cx-ease); }
.cx-svc a { display: grid; grid-template-columns: 64px minmax(0, 1fr) 44px; gap: 20px; align-items: start; padding: clamp(28px, 3vw, 40px) 0; color: var(--cx-text); }
.cx-svc-num { font: 500 14px/1 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums; color: var(--cx-muted); padding-top: 12px; transition: color .4s; }
.cx-svc-title { font: 600 clamp(24px, 2.4vw, 34px)/1.15 'Outfit', sans-serif; letter-spacing: -0.03em; margin: 0; }
.cx-svc-desc { margin: 14px 0 0; max-width: 560px; font-size: 16px; line-height: 1.7; color: var(--cx-text-2); }
.cx-svc-tags { display: flex; flex-wrap: wrap; margin: 16px 0 0; font: 400 13.5px/1.6 'Plus Jakarta Sans', sans-serif; color: var(--cx-muted); }
.cx-svc-tags span + span::before { content: '/'; margin: 0 10px; color: var(--cx-line-2); }
.cx-svc-arrow { width: 44px; height: 44px; display: grid; place-items: center; color: var(--cx-muted); border: 1px solid var(--cx-line); border-radius: 50%; transition: color .3s, background-color .3s, border-color .3s, transform .45s var(--cx-ease); }
.cx-svc a:hover .cx-svc-arrow, .cx-svc.is-active .cx-svc-arrow { color: var(--cx-accent-ink); background: var(--cx-accent); border-color: var(--cx-accent); }
.cx-svc a:hover .cx-svc-arrow { transform: rotate(45deg); }
.cx-svc.is-active::before { transform: scaleX(1); }
.cx-svc.is-active .cx-svc-num { color: var(--cx-accent-text); }
/* Masaustunde aktif olmayan satirlar sakinlesir; odak tek satirda kalir */
@media (hover: hover) and (min-width: 992px) {
    .cx-js .cx-svc-list .cx-svc.is-in:not(.is-active) .cx-svc-body { opacity: .42; }
    .cx-svc-body { transition: opacity .5s var(--cx-ease); }
    .cx-svc a:hover .cx-svc-body { opacity: 1 !important; }
}
@media (max-width: 991px) {
    .cx-svc-progress { display: none; }
}
@media (max-width: 575px) {
    .cx-svc a { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
    .cx-svc-num { padding-top: 8px; }
    .cx-svc-arrow { display: none; }
}
.cx-service-arrow { width: 44px; height: 44px; display: grid; place-items: center; color: var(--cx-muted); transition: color .3s, transform .4s var(--cx-ease); }
.cx-service:hover .cx-service-arrow { color: var(--cx-text); transform: translate(4px, -4px); }

/* =========================================================
   PROJE KARTI + VITRIN (ana sayfa + /projeler ortak)
   ========================================================= */
.cx-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.cx-projects.is-featured > .cx-card:first-child { grid-column: span 2; grid-row: span 2; }
.cx-projects.is-featured > .cx-card:first-child .cx-card-media { aspect-ratio: auto; height: 100%; min-height: 360px; }
.cx-projects.is-featured > .cx-card:first-child { display: flex; flex-direction: column; }
.cx-projects.is-featured > .cx-card:first-child .cx-card-media { flex: 1; }
.cx-projects.is-featured > .cx-card:first-child .cx-card-media img { object-position: left top; }
.cx-projects.is-featured > .cx-card:first-child .cx-card-title { font-size: clamp(22px, 2vw, 30px); }

/* Kart v2 (2026-11-02): kutusuz editoryal kart — gorsel + sade metin, cip/rozet kalabaligi yok */
.cx-projects { row-gap: clamp(40px, 4.5vw, 64px); }
.cx-card { position: relative; display: flex; flex-direction: column; color: var(--cx-text); }
.cx-card[hidden] { display: none !important; }
.cx-card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--cx-bg-2); border-radius: 4px; }
.cx-card-media::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--cx-line); border-radius: inherit; pointer-events: none; }
.cx-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 1.1s var(--cx-ease); }
.cx-card:hover .cx-card-media img { transform: scale(1.035); }
.cx-card-noimg { position: absolute; inset: 0; display: grid; place-items: center; font: 600 44px/1 'Outfit', sans-serif; color: var(--cx-line-2); letter-spacing: -0.04em; }
.cx-card-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 2; }
.cx-badge {
    display: inline-flex; align-items: center; gap: 7px;
    font: 600 11px/1 'Plus Jakarta Sans', sans-serif; letter-spacing: .03em;
    padding: 7px 10px; border-radius: 999px; background: rgba(10, 11, 15, .78); color: #fff;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.cx-badge--ongoing { background: var(--cx-accent); color: var(--cx-accent-ink); }
.cx-badge--ongoing::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: cxBlink 1.6s ease-in-out infinite; }
.cx-card-badges .cx-badge--ongoing { background: rgba(10, 11, 15, .78); color: #fff; }
.cx-card-badges .cx-badge--ongoing::before { background: #c8f31d; }
@keyframes cxBlink { 50% { opacity: .25; } }
.cx-card-body { padding: 20px 2px 0; }
.cx-card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 500 12.5px/1.3 'Plus Jakarta Sans', sans-serif; color: var(--cx-muted); margin-bottom: 10px; }
.cx-card-meta span:first-child { color: var(--cx-text-2); }
.cx-card-meta span:last-child { font-variant-numeric: tabular-nums; }
.cx-card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; font: 600 clamp(18px, 1.45vw, 21px)/1.3 'Outfit', sans-serif; letter-spacing: -0.015em; margin: 0; color: var(--cx-text); }
.cx-card-title a { color: inherit; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--cx-ease); }
.cx-card:hover .cx-card-title a { background-size: 100% 1px; }
.cx-card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* tum kart tiklanir */
.cx-card-arrow { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; color: var(--cx-muted); transition: transform .45s var(--cx-ease), color .3s; }
.cx-card:hover .cx-card-arrow { color: var(--cx-accent-text); transform: translate(3px, -3px); }
.cx-card-foot { display: flex; flex-wrap: wrap; margin: 10px 0 0; font: 400 13.5px/1.5 'Plus Jakarta Sans', sans-serif; color: var(--cx-muted); }
.cx-card-foot span + span::before { content: '·'; margin: 0 8px; color: var(--cx-line-2); }
.cx-projects.is-featured > .cx-card:first-child .cx-card-media { border-radius: 4px; }
/* =========================================================
   YATAY VITRIN (ana sayfa "Son Projeler"): masaustunde sabitlenir, dikey kaydirma kartlari sola akitir
   ========================================================= */
.cx-hs { position: relative; background: var(--cx-bg-2); border-top: 1px solid var(--cx-line); border-bottom: 1px solid var(--cx-line); }
.cx-hs-pin { padding: var(--cx-sec) 0 calc(var(--cx-sec) * .7); }
.cx-hs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.cx-hs-sub { margin: 14px 0 0; color: var(--cx-text-2); font-size: 16px; }
.cx-hs-side { display: flex; align-items: center; gap: 28px; }
.cx-hs-count { font: 500 15px/1 'Plus Jakarta Sans', sans-serif; color: var(--cx-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cx-hs-count b { font: 600 clamp(30px, 2.6vw, 40px)/1 'Outfit', sans-serif; letter-spacing: -0.03em; color: var(--cx-text); }
/* sol kenar container ile hizali, sag kenar ekran disina tasar */
.cx-hs-viewport {
    --hs-pad: max(var(--cx-gutter), calc((100vw - 1320px) / 2 + var(--cx-gutter)));
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    scroll-padding-left: var(--hs-pad);
}
.cx-hs-viewport::-webkit-scrollbar { display: none; }
.cx-hs-track { display: flex; gap: clamp(20px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0 var(--hs-pad); width: max-content; will-change: transform; }
.cx-hs-item { flex: 0 0 auto; width: clamp(280px, min(36vw, calc((100svh - 360px) * 1.6)), 560px); scroll-snap-align: start; }
.cx-hs-card { display: block; color: var(--cx-text); }
.cx-hs-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 6px; background: var(--cx-bg); }
.cx-hs-media::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--cx-line); border-radius: inherit; pointer-events: none; }
.cx-hs-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 1.1s var(--cx-ease); }
.cx-hs-card:hover .cx-hs-media img { transform: scale(1.04); }
.cx-hs-live { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: rgba(10, 11, 15, .8); color: #fff; font: 600 11px/1 'Plus Jakarta Sans', sans-serif; letter-spacing: .03em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cx-hs-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #c8f31d; animation: cxBlink 1.6s ease-in-out infinite; }
.cx-hs-meta { display: flex; align-items: baseline; gap: 14px; margin-top: 20px; font: 500 13px/1.3 'Plus Jakarta Sans', sans-serif; color: var(--cx-text-2); }
.cx-hs-num { color: var(--cx-accent-text); font-variant-numeric: tabular-nums; }
.cx-hs-year { margin-left: auto; color: var(--cx-muted); font-variant-numeric: tabular-nums; }
.cx-hs-title { margin: 10px 0 0; font: 600 clamp(19px, 1.6vw, 24px)/1.25 'Outfit', sans-serif; letter-spacing: -0.02em; color: var(--cx-text); }
.cx-hs-title { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color .35s; }
.cx-hs-card:hover .cx-hs-title { text-decoration-color: currentColor; }
.cx-hs-foot { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 12px 0 0; font: 400 13.5px/1.5 'Plus Jakarta Sans', sans-serif; color: var(--cx-muted); }
.cx-hs-item.is-end { width: clamp(260px, min(26vw, calc((100svh - 360px) * 1.15)), 400px); }
.cx-hs-end { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; box-sizing: border-box; aspect-ratio: 4 / 5; max-height: calc(100svh - 300px); padding: clamp(24px, 2.4vw, 36px); border: 1px solid var(--cx-line-2); border-radius: 6px; color: var(--cx-text); transition: border-color .3s, background-color .3s; }
.cx-hs-end:hover { border-color: var(--cx-accent); }
.cx-hs-end-num { font: 600 clamp(48px, 5vw, 76px)/1 'Outfit', sans-serif; letter-spacing: -0.04em; }
.cx-hs-end-text { color: var(--cx-text-2); font-size: 15px; line-height: 1.6; }
.cx-hs-end .cx-btn { align-self: flex-start; }
.cx-hs-progress { position: relative; height: 2px; margin-top: clamp(32px, 4vw, 52px); background: var(--cx-line-2); overflow: hidden; }
.cx-hs-progress i { position: absolute; inset: 0; background: var(--cx-accent); transform-origin: left; transform: scaleX(.04); }
/* Sabitlenmis mod (JS, >=992px): bolum yuksekligi JS ile, pin ekrani kaplar ve ortalanir */
.cx-hs.is-pinned .cx-hs-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 86px 0 28px; box-sizing: border-box; overflow: hidden; }
.cx-hs.is-pinned .cx-hs-viewport { overflow: visible; scroll-snap-type: none; }
.cx-hs.is-pinned .cx-hs-head { margin-bottom: clamp(24px, 3.2vh, 44px); }
.cx-hs.is-pinned .cx-hs-progress { margin-top: clamp(24px, 3.5vh, 44px); }
@media (max-width: 991px) {
    .cx-hs-item { width: 80vw; max-width: 460px; }
    .cx-hs-item.is-end { width: 70vw; max-width: 340px; }
    .cx-hs-end { aspect-ratio: auto; min-height: 280px; max-height: none; }
    .cx-hs-side .cx-hs-count { display: none; }
}

/* Vitrin: buyuk kartin yanindaki iki kart satiri doldurur (alt bosluk kalmasin) */
.cx-projects.is-featured { row-gap: clamp(28px, 2.6vw, 40px); }
/* Ayirac "/" ve "·" satir basina dusmesin: masaustunde ayirac, dar ekranda bosluk */
@media (max-width: 1199px) {
    .cx-svc-tags, .cx-card-foot { gap: 2px 16px; }
    .cx-svc-tags span + span::before, .cx-card-foot span + span::before { content: none; }
}
@media (min-width: 992px) {
    .cx-projects.is-featured > .cx-card:nth-child(2) .cx-card-media,
    .cx-projects.is-featured > .cx-card:nth-child(3) .cx-card-media { flex: 1; aspect-ratio: auto; min-height: 200px; }
}

/* Filtre cubugu */
.cx-filter { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; border-bottom: 1px solid var(--cx-line); }
.cx-filter-tabs {
    display: flex; flex-wrap: nowrap; gap: 30px; min-width: 0; max-width: 100%;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.cx-filter-tabs::-webkit-scrollbar { display: none; }
.cx-filter-tab {
    position: relative; flex: 0 0 auto; white-space: nowrap;
    display: inline-flex; align-items: baseline; gap: 7px;
    font: 500 14px/1 'Plus Jakarta Sans', sans-serif; letter-spacing: -.005em; color: var(--cx-muted);
    background: transparent; border: 0; padding: 20px 0 18px; cursor: pointer;
    transition: color .2s;
}
.cx-filter-tab::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
    background: var(--cx-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.cx-filter-tab sup {
    position: static; vertical-align: baseline; top: 0;
    font: 500 11.5px/1 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
    color: var(--cx-muted); opacity: .75; margin: 0;
}
.cx-filter-tab:hover { color: var(--cx-text); }
.cx-filter-tab:focus-visible { outline: 2px solid var(--cx-accent); outline-offset: 4px; }
.cx-filter-tab[aria-pressed="true"] { color: var(--cx-text); font-weight: 600; }
.cx-filter-tab[aria-pressed="true"]::after { transform: scaleX(1); }
.cx-filter-tab[aria-pressed="true"] sup { color: var(--cx-accent); opacity: 1; }
.cx-filter-count { font-size: 14px; color: var(--cx-muted); white-space: nowrap; }
.cx-filter-count b { color: var(--cx-text); font-weight: 600; }
.cx-more { display: flex; justify-content: center; margin-top: 48px; }
.cx-empty { padding: 60px 0; text-align: center; color: var(--cx-muted); }

/* =========================================================
   HAKKIMIZDA BLOGU
   ========================================================= */
.cx-statement { font: 600 clamp(30px, 4.2vw, 60px)/1.1 'Outfit', sans-serif; letter-spacing: -0.035em; color: var(--cx-text); max-width: 20ch; margin: 0 0 clamp(48px, 6vw, 88px); }
.cx-statement .w { color: var(--cx-muted); transition: color .6s var(--cx-ease); }
.cx-statement .w.is-lit { color: var(--cx-text); }
.cx-statement .w.is-accent.is-lit { color: var(--cx-accent-text); }
.cx-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cx-about-img { position: relative; overflow: hidden; border: 1px solid var(--cx-line); }
.cx-about-img img { display: block; width: 100%; height: auto; filter: grayscale(1); transition: filter .6s, transform 1s var(--cx-ease); }
.cx-about-img:hover img { filter: none; transform: scale(1.02); }
.cx-about-img figcaption { position: absolute; left: 0; bottom: 0; padding: 12px 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; background: var(--cx-accent); color: var(--cx-accent-ink); }
.cx-about p { color: var(--cx-text-2); line-height: 1.8; font-size: 17px; margin: 0 0 20px; }
.cx-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 34px 0 38px; border-top: 1px solid var(--cx-line); }
.cx-facts div { padding: 18px 0; border-bottom: 1px solid var(--cx-line); }
.cx-facts div:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--cx-line); }
.cx-facts div:nth-child(even) { padding-left: 18px; }
.cx-facts dt { font-size: 12.5px; color: var(--cx-muted); font-weight: 500; letter-spacing: .03em; }
.cx-facts dd { margin: 6px 0 0; font: 600 18px/1.3 'Outfit', sans-serif; color: var(--cx-text); }

/* =========================================================
   TEKNOLOJI SERIDI
   ========================================================= */
.cx-stack { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid var(--cx-line); border-left: 1px solid var(--cx-line); }
.cx-stack div { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 30px 10px; border-right: 1px solid var(--cx-line); border-bottom: 1px solid var(--cx-line); color: var(--cx-text-2); font-size: 14px; font-weight: 500; transition: background-color .3s, color .3s; }
.cx-stack i { font-size: 30px; color: var(--cx-muted); transition: color .3s, transform .4s var(--cx-ease); }
.cx-stack div:hover { background: var(--cx-surface); color: var(--cx-text); }
.cx-stack div:hover i { color: var(--cx-accent-text); transform: translateY(-3px); }

/* =========================================================
   YORUMLAR
   ========================================================= */
.cx-quote { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: stretch; border-top: 1px solid var(--cx-line-2); padding-top: 44px; }
.cx-quote blockquote { margin: 0; font: 500 clamp(21px, 2.1vw, 30px)/1.45 'Outfit', sans-serif; letter-spacing: -0.015em; color: var(--cx-text); }
.cx-quote blockquote::before { content: '\201C'; display: block; font-size: 72px; line-height: .6; height: 34px; color: var(--cx-accent-text); }
.cx-quote-author { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.cx-quote-author img { width: 52px; height: 52px; object-fit: cover; filter: grayscale(1); }
.cx-quote-author b { display: block; font: 600 16px/1.3 'Outfit', sans-serif; color: var(--cx-text); }
.cx-quote-author span { font-size: 14px; color: var(--cx-muted); }
.cx-quote-side { display: grid; gap: 14px; align-content: start; }
.cx-quote-side > div { border: 1px solid var(--cx-line); padding: 24px; background: var(--cx-surface); }
.cx-quote-side b { display: block; font: 600 40px/1 'Outfit', sans-serif; letter-spacing: -0.04em; color: var(--cx-text); }
.cx-quote-side b small { font-size: 16px; color: var(--cx-muted); letter-spacing: 0; }
.cx-quote-side .cx-stars { color: var(--cx-accent-text); font-size: 13px; letter-spacing: 3px; margin-top: 10px; }
.cx-quote-side span { display: block; font-size: 13.5px; color: var(--cx-muted); margin-top: 8px; }
.cx-slider { display: grid; }
.cx-slider > .cx-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s var(--cx-ease), visibility .6s; }
.cx-slider > .cx-slide.is-active { opacity: 1; visibility: visible; }
.cx-slider-nav { display: flex; align-items: center; gap: 10px; }
.cx-slider-nav button { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; border: 1px solid var(--cx-line-2); color: var(--cx-text); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.cx-slider-nav button:hover { background: var(--cx-accent); color: var(--cx-accent-ink); border-color: var(--cx-accent); }
.cx-slider-count { font: 500 14px/1 'Plus Jakarta Sans', sans-serif; color: var(--cx-muted); min-width: 56px; text-align: center; font-variant-numeric: tabular-nums; }

/* =========================================================
   BLOG KARTLARI
   ========================================================= */
.cx-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.cx-post { position: relative; display: flex; flex-direction: column; color: var(--cx-text); }
.cx-post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cx-surface); border: 1px solid var(--cx-line); }
.cx-post-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--cx-ease); }
.cx-post:hover .cx-post-media img { transform: scale(1.04); }
.cx-post-meta { display: flex; gap: 14px; margin: 20px 0 10px; font-size: 12.5px; color: var(--cx-muted); }
.cx-post-meta span:first-child { color: var(--cx-accent-text); font-weight: 600; }
.cx-post h3 { font: 600 20px/1.35 'Outfit', sans-serif; letter-spacing: -0.015em; margin: 0; }
.cx-post h3 a { color: var(--cx-text); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--cx-ease); }
.cx-post:hover h3 a { background-size: 100% 1px; }
.cx-post h3 a::after { content: ''; position: absolute; inset: 0; }

/* =========================================================
   CTA
   ========================================================= */
.cx-cta { padding: var(--cx-sec) 0; background: var(--cx-bg); border-top: 1px solid var(--cx-line); position: relative; overflow: hidden; }
.cx-cta-box { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.cx-cta .cx-h2 { font-size: clamp(40px, 6vw, 92px); line-height: .98; letter-spacing: -0.045em; }
.cx-cta .cx-h2 span { color: var(--cx-accent-text); }
.cx-cta-side p { color: var(--cx-text-2); font-size: 17px; line-height: 1.7; margin: 0 0 28px; }
.cx-cta-side .cx-hero-actions { margin-top: 0; }
.cx-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; font-size: 14px; color: var(--cx-muted); }
.cx-trust li { display: inline-flex; align-items: center; gap: 8px; }
.cx-trust li::before { content: ''; width: 6px; height: 6px; background: var(--cx-accent); }

/* =========================================================
   SAYFA BASLIGI (ic sayfalar)
   ========================================================= */
.cx-page-hero { padding: clamp(150px, 15vw, 196px) 0 clamp(48px, 6vw, 80px); background: var(--cx-bg); position: relative; }
.cx-page-hero .cx-h1 { font-size: clamp(44px, 6.4vw, 96px); }
.cx-page-hero .cx-lead { margin-top: 26px; }
.cx-page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.cx-kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--cx-line-2); }
.cx-kpis div { padding: 18px 16px 0 0; }
.cx-kpis div + div { padding-left: 16px; border-left: 1px solid var(--cx-line); }
.cx-kpis b { display: block; font: 600 34px/1 'Outfit', sans-serif; letter-spacing: -0.04em; color: var(--cx-text); }
.cx-kpis span { display: block; font-size: 13px; color: var(--cx-muted); margin-top: 8px; }

/* =========================================================
   HIZMETLER SAYFASI
   ========================================================= */
.cx-feature {
    display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
    padding: clamp(32px, 4vw, 56px); margin-bottom: clamp(40px, 5vw, 64px);
    background: var(--cx-surface); border: 1px solid var(--cx-line); color: var(--cx-text); position: relative; overflow: hidden;
    transition: border-color .3s;
}
.cx-feature::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--cx-accent); }
.cx-feature:hover { border-color: var(--cx-line-2); color: var(--cx-text); }
.cx-feature p { color: var(--cx-text-2); line-height: 1.75; margin: 18px 0 24px; font-size: 16.5px; max-width: 60ch; }
.cx-feature-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--cx-line); border-left: 1px solid var(--cx-line); }
.cx-feature-stats div { padding: 24px; border-right: 1px solid var(--cx-line); border-bottom: 1px solid var(--cx-line); }
.cx-feature-stats dt { order: 2; font-size: 13px; color: var(--cx-muted); font-weight: 500; margin-top: 8px; }
.cx-feature-stats div { display: flex; flex-direction: column; }
.cx-feature-stats dd { order: 1; margin: 0; font: 600 clamp(30px, 3vw, 42px)/1 'Outfit', sans-serif; letter-spacing: -0.04em; color: var(--cx-text); }
.cx-svc-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 4vw, 64px); border-top: 1px solid var(--cx-line-2); }
.cx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--cx-line-2); counter-reset: none; }
.cx-steps li { padding: 30px 28px 8px 0; position: relative; }
.cx-steps li + li { padding-left: 28px; border-left: 1px solid var(--cx-line); }
.cx-step-n { display: block; font: 500 13px/1 'JetBrains Mono', ui-monospace, monospace; color: var(--cx-accent-text); margin-bottom: 40px; letter-spacing: .06em; }
.cx-steps p { color: var(--cx-text-2); line-height: 1.7; margin: 12px 0 0; font-size: 15.5px; }

/* Iletisim: telefon + e-posta kunyesi */
.cx-kpis.is-contact { grid-template-columns: auto 1fr; }
.cx-kpis.is-contact b { font-size: 22px; letter-spacing: -0.02em; white-space: nowrap; }
@media (max-width: 640px) { .cx-kpis.is-contact { grid-template-columns: 1fr; } .cx-kpis.is-contact div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--cx-line); padding-top: 16px; margin-top: 16px; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
    .cx-stack { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
    .cx-hero-grid, .cx-split, .cx-about, .cx-cta-box, .cx-quote, .cx-page-hero-grid { grid-template-columns: 1fr; }
    .cx-split > .cx-sticky { position: static; }
    .cx-rail { height: 380px; }
    .cx-ledger { grid-template-columns: 1fr 1fr; }
    .cx-ledger > div:nth-child(2) { border-right: 0; }
    .cx-ledger > div:nth-child(3) { padding-left: 0; }
    .cx-ledger > div:nth-child(n+3) { border-top: 1px solid var(--cx-line); }
    .cx-projects, .cx-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cx-projects.is-featured > .cx-card:first-child { grid-row: auto; }
    .cx-projects.is-featured > .cx-card:first-child .cx-card-media { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
    .cx-quote-side { grid-template-columns: 1fr 1fr; }
    .cx-feature { grid-template-columns: 1fr; }
    .cx-svc-grid { grid-template-columns: 1fr; }
    .cx-steps { grid-template-columns: 1fr 1fr; }
    .cx-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
    .cx-steps li:nth-child(n+3) { border-top: 1px solid var(--cx-line); }
}
@media (max-width: 640px) {
    .cx-hero { padding-top: 128px; }
    .cx-rail { height: 300px; gap: 10px; }
    .cx-rail-track { gap: 10px; }
    .cx-hero-actions .cx-btn { flex: 1 1 100%; }
    .cx-ledger > div { padding: 20px 12px 22px 0; }
    .cx-ledger > div + div { padding-left: 12px; }
    .cx-ledger > div:nth-child(3) { padding-left: 0; }
    .cx-projects, .cx-posts { grid-template-columns: 1fr; }
    .cx-projects.is-featured > .cx-card:first-child { grid-column: auto; }
    .cx-service { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 28px 0; }
    .cx-service-ico { width: 44px; height: 44px; font-size: 17px; }
    .cx-service-arrow { display: none; }
    .cx-stack { grid-template-columns: repeat(2, 1fr); }
    .cx-facts { grid-template-columns: 1fr; }
    .cx-facts div:nth-child(odd) { padding-right: 0; border-right: 0; }
    .cx-facts div:nth-child(even) { padding-left: 0; }
    .cx-quote-side { grid-template-columns: 1fr; }
    .cx-filter { position: relative; }
    .cx-filter-tabs { gap: 24px; max-width: none; margin: 0 calc(-1 * var(--cx-gutter)); padding: 0 var(--cx-gutter); width: calc(100% + 2 * var(--cx-gutter)); }
    .cx-filter-tabs::-webkit-scrollbar { display: none; }
    .cx-filter-tab { white-space: nowrap; }
    .cx-kpis b { font-size: 26px; }
    .cx-steps { grid-template-columns: 1fr; }
    .cx-steps li, .cx-steps li + li { padding: 24px 0 8px; border-left: 0; }
    .cx-steps li + li { border-top: 1px solid var(--cx-line); }
    .cx-step-n { margin-bottom: 18px; }
    .cx-feature-stats div { padding: 18px; }
}
