/* ==========================================================================
   Second Media — design system
   1. Tokens          5. Sections
   2. Reset/base      6. Components
   3. Utilities       7. Chat
   4. Header          8. Motion & responsive
   ========================================================================== */

/* ---------------------------------------------------------------- 1. Tokens
 *
 * İki tema tek bir token kümesi üzerinden yürür. Koyu tema markanın
 * varsayılanıdır; açık tema `html[data-theme="light"]` ile açılır.
 * Yeni bir renk eklerken mutlaka buraya ekle — bileşenlerde sabit renk
 * kullanılmaz.
 */
:root,
[data-theme="dark"] {
    color-scheme: dark;

    /* surfaces */
    --bg:            #08090c;
    --bg-2:          #0b0d11;
    --surface:       #101319;
    --surface-2:     #151922;
    --surface-3:     #1c212c;
    --line:          rgba(255, 255, 255, .09);
    --line-2:        rgba(255, 255, 255, .18);

    /* text */
    --text:          #f3f4f7;
    --text-2:        #b3b9c6;
    --text-3:        #7b8391;

    /* marka */
    --amber:         #ffb020;
    --amber-soft:    #ffcb70;
    --amber-deep:    #e08a00;
    --violet:        #8b6cff;
    --cyan:          #22d3ee;
    --lime:          #a3e635;
    --blue:          #4f8cff;
    --green:         #34d399;
    --pink:          #f472b6;

    --accent:        var(--amber);
    --accent-rgb:    255, 176, 32;
    --accent-2:      var(--violet);
    --accent-2-rgb:  139, 108, 255;

    /* krem/ters yüzeyin ÜZERİNDE kullanılacak vurgu — düz amber
       krem üzerinde 1.59:1 verir, bu yüzden ayrı bir ton gerekir */
    --accent-on-inverse:      #8f5800;   /* krem üstünde 5.13:1 */
    --accent-on-inverse-rgb:  143, 88, 0;

    /* ters yüzeyler (koyu tema içinde açık blok, açık tema içinde koyu blok) */
    --inverse-bg:    #f2efe6;
    --inverse-bg-2:  #e6e1d4;
    --inverse-text:  #14151a;
    --inverse-text-2:#4d4e55;

    /* görsel üstü katmanlar */
    --scrim:         rgba(8, 9, 12, .78);
    --scrim-solid:   rgba(8, 9, 12, .92);
    --lightbox-bg:   rgba(4, 5, 7, .93);
    --img-filter:    saturate(.94) contrast(1.02);

    --shadow:        0 24px 70px -30px rgba(0, 0, 0, .85);
    --shadow-lg:     0 40px 120px -40px rgba(0, 0, 0, .9);
}

[data-theme="light"] {
    color-scheme: light;

    /* surfaces — sıcak kâğıt, mürekkep */
    --bg:            #f4f1e9;
    --bg-2:          #eae5d9;
    --surface:       #fffdf8;
    --surface-2:     #f2ede2;
    --surface-3:     #e3ddce;
    --line:          rgba(20, 21, 26, .13);
    --line-2:        rgba(20, 21, 26, .24);

    /* text */
    --text:          #14151a;
    --text-2:        #4a4b52;
    --text-3:        #82838c;

    /* marka — açık zeminde sarının okunurliği düşer, koyulaştırılır */
    --amber:         #b06e00;   /* kâğıt üstünde 3.67:1 */
    --amber-soft:    #8f5800;
    --amber-deep:    #6f4500;
    --violet:        #6a4bf0;
    --cyan:          #0e8fa6;
    --lime:          #5c8a12;
    --blue:          #2b62d8;
    --green:         #0f8f66;
    --pink:          #c33a83;

    --accent-2:      var(--violet);
    --accent-2-rgb:  106, 75, 240;

    /* açık temada ters yüzey koyu mürekkep; üstünde parlak amber okunur */
    --accent-on-inverse:      var(--amber);
    --accent-on-inverse-rgb:  255, 176, 32;

    /* koyu temada "açık blok" burada koyu bloğa döner */
    --inverse-bg:    #14151a;
    --inverse-bg-2:  #1f2027;
    --inverse-text:  #f4f1e9;
    --inverse-text-2:#a9abb3;

    --scrim:         rgba(20, 21, 26, .6);
    --scrim-solid:   rgba(20, 21, 26, .84);
    --lightbox-bg:   rgba(244, 241, 233, .96);
    --img-filter:    saturate(1) contrast(1);

    --shadow:        0 24px 70px -34px rgba(20, 21, 26, .38);
    --shadow-lg:     0 40px 120px -46px rgba(20, 21, 26, .45);
}

/* tipografi ölçeği + ölçü aynı kalır (tema değiştikçe zıplama olmaz) */
:root {
    /* type */
    --font-display:  'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono:     ui-monospace, 'SFMono-Regular', 'JetBrains Mono', Menlo, Consolas, monospace;

    --fs-hero:       clamp(2.6rem, 7.2vw, 6.4rem);
    --fs-h1:         clamp(2.2rem, 5.4vw, 4.4rem);
    --fs-h2:         clamp(1.85rem, 3.9vw, 3.15rem);
    --fs-h3:         clamp(1.15rem, 1.7vw, 1.5rem);
    --fs-lead:       clamp(1.02rem, 1.35vw, 1.28rem);
    --fs-body:       1rem;
    --fs-sm:         .875rem;
    --fs-xs:         .78rem;

    /* space */
    --shell:         1280px;
    --gutter:        clamp(1.15rem, 4vw, 3rem);
    --sec-y:         clamp(4.5rem, 9vw, 8.5rem);
    --r-sm:          10px;
    --r:             16px;
    --r-lg:          24px;
    --r-xl:          32px;

    /* motion */
    --ease:          cubic-bezier(.22, 1, .36, 1);
    --ease-io:       cubic-bezier(.65, .05, .36, 1);
    --t-fast:        .22s;
    --t:             .42s;
    --t-slow:        .8s;
}

/* accent sınıfları (kart renk varyasyonları) */
.accent-amber  { --accent: var(--amber);  --accent-rgb: 255, 176, 32; }
.accent-violet { --accent: var(--violet); --accent-rgb: 139, 108, 255; }
.accent-cyan   { --accent: var(--cyan);   --accent-rgb: 34, 211, 238; }
.accent-lime   { --accent: var(--lime);   --accent-rgb: 163, 230, 53; }
.accent-blue   { --accent: var(--blue);   --accent-rgb: 79, 140, 255; }
.accent-green  { --accent: var(--green);  --accent-rgb: 52, 211, 153; }
.accent-pink   { --accent: var(--pink);   --accent-rgb: 244, 114, 182; }

/* ------------------------------------------------------------ 2. Reset/base */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: -.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ince film dokusu */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: .028;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.032em;
    margin: 0 0 .5em;
    text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

::selection { background: var(--accent); color: #000; }

:root {
    caret-color: var(--accent);
    scrollbar-color: var(--surface-3) var(--bg-2);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ince kaydırma çubuğu */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb {
    background: var(--surface-3);
    border-radius: 20px;
    border: 3px solid var(--bg-2);
}
::-webkit-scrollbar-thumb:hover { background: #2a3040; }

/* ---------------------------------------------------------- 3. Utilities */
.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.shell--wide { max-width: 1480px; }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 10px; left: 10px;
    z-index: 10000;
    padding: .7rem 1.2rem;
    background: var(--accent);
    color: #000;
    border-radius: var(--r-sm);
    font-weight: 600;
    transform: translateY(-160%);
    transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.hl {
    color: var(--accent);
    font-weight: 700;
}

.main { position: relative; z-index: 1; }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 4rem);
}
.grid-2--gap-xl { gap: clamp(2rem, 5vw, 5.5rem); }

@media (min-width: 900px) {
    .grid-2 { grid-template-columns: 1fr 1fr; align-items: start; }
    .grid-2 > :first-child { position: sticky; top: 120px; }
    .grid-2--center { align-items: center; }
}

.section { padding-block: var(--sec-y); position: relative; }

.prose { color: var(--text-2); font-size: 1.03rem; }
/* Izgara kaldırılınca paragraf kabuk genişliğine yayılıyordu; satır
   uzunluğu okunabilir bir ölçüde tutuluyor. */
.prose--wide { max-width: 68ch; }
/* Tek sütunlu giriş bantları: normal bölüm dolgusu bir avuç metinle
   birleşince boşluk oluşturuyordu. */
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.prose p { margin-bottom: 1.2em; }
.prose__lead {
    color: var(--text) !important;
    font-size: var(--fs-lead);
    line-height: 1.5;
    letter-spacing: -.015em;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 1.3rem;
    font-size: .82rem;              /* 13.1px — --fs-xs 12.5px idi */
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-3);
}
.eyebrow__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .16);
    animation: dotPulse 2.6s var(--ease-io) infinite;
}
.eyebrow--hero { color: var(--text-2); }
.eyebrow--light { color: rgba(255, 255, 255, .6); }

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .14); }
    50%      { box-shadow: 0 0 0 7px rgba(var(--accent-rgb), 0); }
}

/* bölüm başlığı */
.section-head { margin-bottom: clamp(2.2rem, 4vw, 3.6rem); }
.section-head__title {
    font-size: var(--fs-h2);
    max-width: 20ch;
    margin: 0;
}
.section-head__lead {
    max-width: 56ch;
    margin: 1.4rem 0 0;
    color: var(--text-2);
    font-size: var(--fs-lead);
    line-height: 1.55;
}
.section-head__more { margin: 1.8rem 0 0; }

.section-head--center { text-align: center; }
.section-head--center .section-head__title,
.section-head--center .section-head__lead { margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }

@media (min-width: 900px) {
    .section-head--split {
        display: grid;
        grid-template-columns: 1.35fr .9fr;
        gap: 2.5rem;
        align-items: end;
    }
    .section-head--split .section-head__lead { margin: 0 0 .35rem; }
    .section-head--split .section-head__more { grid-column: 2; margin: 1.2rem 0 0; justify-self: start; }
}

/* reveal animasyonları */
[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition:
        opacity .85s var(--ease) var(--reveal-delay, 0ms),
        transform .85s var(--ease) var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translate3d(-30px, 0, 0); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------- 4. Header */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    padding-block: 1.1rem;
    transition: transform .5s var(--ease), background-color .4s var(--ease),
                border-color .4s var(--ease), padding .4s var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
    padding-block: .65rem;
    background: rgba(8, 9, 12, .78);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-102%); }

.site-header__inner {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.6rem);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    flex-shrink: 0;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -.03em;
}
.brand__mark { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; }
.brand__word { display: inline-flex; align-items: baseline; font-size: 1.06rem; gap: .1em; }
.brand__dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    transform: translateY(-2px);
}

.nav { display: none; margin-inline-start: auto; }
@media (min-width: 1080px) { .nav { display: block; } }

.nav__list { display: flex; align-items: center; gap: clamp(.72rem, 1.32vw, 1.42rem); }
/* Menü tek satırda kalmalı. Öğelerin varsayılan flex-shrink:1'i, yer
   daraldığında metni içeriğinin altına sıkıştırıp "Ana sayfa" ile
   "AI & Teknoloji"yi iki satıra bölüyordu. */
.nav__item { flex: 0 0 auto; }
.nav__link {
    position: relative;
    display: inline-block;
    padding: .4rem 0;
    font-size: .905rem;
    font-weight: 450;
    color: var(--text-2);
    white-space: nowrap;
    transition: color var(--t-fast) var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__line {
    position: absolute;
    left: 0; bottom: 0;
    height: 1.5px;
    width: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .45s var(--ease);
}
.nav__link:hover .nav__line,
.nav__link.is-active .nav__line { transform: scaleX(1); transform-origin: left; }

.site-header__actions {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-inline-start: auto;
}
@media (min-width: 1080px) { .site-header__actions { margin-inline-start: 0; } }

.lang-switch {
    display: none;
    align-items: center;
    gap: .35rem;
    padding: .42rem .7rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--text-2);
    transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.lang-switch:hover {
    color: var(--text);
    border-color: var(--line-2);
    background: rgba(255, 255, 255, .04);
}
@media (min-width: 620px) { .lang-switch { display: inline-flex; } }

.ai-toggle {
    display: none;
    align-items: center;
    gap: .5rem;
    padding: .45rem .95rem;
    border: 1px solid rgba(var(--accent-rgb), .35);
    border-radius: 100px;
    background: rgba(var(--accent-rgb), .07);
    font-size: .82rem;
    font-weight: 550;
    color: var(--amber-soft);
    cursor: pointer;
    transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.ai-toggle:hover { background: rgba(var(--accent-rgb), .14); transform: translateY(-1px); }
.ai-toggle__text { white-space: nowrap; }
@media (min-width: 1180px) { .ai-toggle { display: inline-flex; } }
.ai-toggle__pulse {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 0 0 rgba(255, 176, 32, .6);
    animation: pulseRing 2.4s infinite;
}
@keyframes pulseRing {
    0%   { box-shadow: 0 0 0 0 rgba(255, 176, 32, .55); }
    70%  { box-shadow: 0 0 0 9px rgba(255, 176, 32, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0); }
}

.header-support {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    padding: .42rem .85rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: .82rem;                /* 13.1px — 12.5px idi */
    font-weight: 550;
    color: var(--text-2);
    text-decoration: none;
    background: rgba(255, 255, 255, .03);
    transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.header-support:hover {
    color: var(--text);
    border-color: rgba(var(--accent-rgb), .45);
    background: rgba(var(--accent-rgb), .08);
    transform: translateY(-1px);
}
.header-support svg {
    color: var(--accent);
    flex-shrink: 0;
}
/* Dar masaüstünde (1180-1279px) başlık doluyor. Dışarıdaki bir siteye
   giden destek bağlantısı, markanın asistanından daha çıkarılabilir:
   asistan düğmesi görünmeye devam eder, destek bağlantısı gizlenir.
   Sohbet zaten iletişim ve hizmet sayfalarından açılabiliyor.
   / In the narrow desktop band the header overflows. The link out to
   another site is the most expendable item, so the assistant stays. */
@media (min-width: 1080px) and (max-width: 1279px) {
    .header-support { display: none; }
}
@media (max-width: 520px) {
    .header-support span { display: none; }
    .header-support {
        padding: .42rem;
        width: 44px;
        height: 44px;
        justify-content: center;
    }
}
.mobile-menu__support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: .75rem;
    font-size: .95rem;
}
.mobile-menu__support svg {
    color: var(--accent);
}

/* Özgüllük önemli: `.btn` bu satırlardan SONRA geliyor ve
   `display: inline-flex` ile aynı ağırlıkta. Sadece `display: none`
   yazarsak dar ekranda CTA görünmeye devam eder ve başlığı beş öğeye böler. */
.site-header .header-cta { display: none; }
@media (min-width: 860px) { .site-header .header-cta { display: inline-flex; } }

.menu-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: border-color var(--t-fast), background var(--t-fast);
}
.menu-btn:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .04); }
@media (min-width: 1080px) { .menu-btn { display: none; } }
.menu-btn__bars { display: grid; gap: 5px; width: 18px; margin: 0 auto; }
.menu-btn__bars i {
    display: block; height: 1.5px;
    background: var(--text);
    transition: transform .4s var(--ease), opacity .3s;
}
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* mobil menü */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 890;
    background: var(--bg);
    overflow-y: auto;
    padding: 7rem var(--gutter) 3rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
}
.mobile-menu[hidden] { display: block; }
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__list { display: grid; gap: .2rem; margin-bottom: 2.6rem; }
.mobile-menu__list a {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: .7rem 0;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 8vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -.03em;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s;
}
.mobile-menu.is-open .mobile-menu__list a { opacity: 1; transform: none; }
.mobile-menu__list li:nth-child(1) a { transition-delay: .06s; }
.mobile-menu__list li:nth-child(2) a { transition-delay: .12s; }
.mobile-menu__list li:nth-child(3) a { transition-delay: .18s; }
.mobile-menu__list li:nth-child(4) a { transition-delay: .24s; }
.mobile-menu__list li:nth-child(5) a { transition-delay: .3s; }
.mobile-menu__list li:nth-child(6) a { transition-delay: .36s; }
.mobile-menu__list a:hover { color: var(--accent); }
.mobile-menu__num {
    font-family: var(--font-mono);
    font-size: .7rem;
    color: var(--accent);
    letter-spacing: .1em;
}
.mobile-menu__label {
    font-size: .82rem--fs-xs);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: .9rem;
}
.mobile-menu__services ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem 1rem;
    margin-bottom: 2.4rem;
}
.mobile-menu__services a {
    display: flex;
    align-items: center;
    min-height: 44px;                 /* dokunma hedefi */
    font-size: .9rem;
    color: var(--text-2);
}
.mobile-menu__services a:hover { color: var(--accent); }
.mobile-menu__foot { display: grid; gap: 1.2rem; }
.mobile-menu__contact { font-size: .9rem; color: var(--text-2); line-height: 1.9; }

/* sayfa geçiş perdesi */
.page-veil {
    position: fixed;
    inset: 0;
    z-index: 9500;
    background: var(--bg);
    display: grid;
    place-items: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity .32s var(--ease);
}
.page-veil__mark {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--accent);
    opacity: 0;
    transform: scale(.5) rotate(-20deg);
    transition: opacity .3s var(--ease), transform .5s var(--ease);
}
body.is-leaving .page-veil { opacity: 1; }
body.is-leaving .page-veil__mark { opacity: 1; transform: none; }

/* ------------------------------------------------------------- 5. Sections */

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* 84px sabit başlık payıydı; logo 40px'e çıkınca başlık ~75px oldu. */
    padding-top: calc(94px + clamp(2.2rem, 5vh, 4.5rem));
    padding-bottom: clamp(3rem, 6vh, 5.5rem);
    box-sizing: border-box;
    overflow: hidden;
}
.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    opacity: .85;
    z-index: 0;
}




.hero__inner { position: relative; z-index: 2; }

.hero__title {
    font-size: var(--fs-hero);
    line-height: .96;
    letter-spacing: -.042em;
    max-width: 17ch;
    margin: 0 0 1.6rem;
    text-wrap: balance;
}
/* kelime / blok sarmalayıcıları (site.js üretir) */
.hero__title .w,
.ed-hero__title .w,
.page-hero__title .w,
.notfound__title .w,
.section-head__title .w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}
.hero__title .w > i,
.ed-hero__title .w > i,
.page-hero__title .w > i,
.notfound__title .w > i,
.section-head__title .w > i {
    display: inline-block;
    font-style: inherit;
    transform: translateY(105%) rotate(4deg);
    opacity: 0;
    transition: transform .95s var(--ease), opacity .7s var(--ease);
}

/* hero: kelime kelime gecikmeli */
.hero__title .w:nth-child(1) > i { transition-delay: .05s; }
.hero__title .w:nth-child(2) > i { transition-delay: .12s; }
.hero__title .w:nth-child(3) > i { transition-delay: .19s; }
.hero__title .w:nth-child(4) > i { transition-delay: .26s; }
.hero__title .w:nth-child(5) > i { transition-delay: .33s; }
.hero__title .w:nth-child(6) > i { transition-delay: .40s; }
.hero__title .w:nth-child(7) > i { transition-delay: .47s; }
.hero__title .w:nth-child(8) > i { transition-delay: .54s; }
.hero__title .w:nth-child(n+9) > i { transition-delay: .60s; }

/* sayfa başlığı + 404: tek blok, daha hızlı */
.page-hero__title .w > i,
.notfound__title .w > i { transition-duration: .8s; transition-delay: .1s; }

/* bölüm başlığı: blok blok açılır.
   .hl içindeki degrade sarmalayıcıyla birlikte taşınır, bu yüzden
   animasyon sırasında metin kaybolmaz. */
.section-head__title .w > i {
    transform: translateY(112%);
    opacity: 1;
    transition: transform .8s var(--ease);
    transition-delay: calc(var(--reveal-delay, 0ms) + 60ms);
}
.section-head__title .w > i > .hl { display: inline; }
.section-head.is-in .w > i { transform: translateY(0); }

.is-ready .w > i,
.page-hero.is-ready .w > i,
.notfound__title.is-in .w > i { transform: none; opacity: 1; }

.hero__sub {
    max-width: 54ch;
    font-size: var(--fs-lead);
    color: var(--text-2);
    margin-bottom: 2.4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s var(--ease) .55s, transform .8s var(--ease) .55s;
}
.is-ready .hero__sub { opacity: 1; transform: none; }

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-bottom: clamp(2.5rem, 7vh, 5rem);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s var(--ease) .7s, transform .8s var(--ease) .7s;
}
.is-ready .hero__actions { opacity: 1; transform: none; }

.hero__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: var(--fs-sm);
    color: var(--text-3);
    opacity: 0;
    transition: opacity .8s var(--ease) .85s;
}
.is-ready .hero__foot { opacity: 1; }
.hero__loc { display: inline-flex; align-items: center; gap: .5rem; margin: 0; }
.hero__scroll { display: inline-flex; align-items: center; gap: .7rem; margin: 0; }
.hero__scroll-line {
    display: block;
    width: 54px; height: 1px;
    background: var(--line-2);
    position: relative;
    overflow: hidden;
}
.hero__scroll-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    animation: scrollSweep 2.4s var(--ease-io) infinite;
}
@keyframes scrollSweep {
    0%   { transform: translateX(-100%); }
    60%  { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}



@media (min-width: 1200px) {  }






/* --- MARQUEE --- */
.marquee {
    position: relative;
    overflow: hidden;
    padding-block: 1.4rem;
    border-block: 1px solid var(--line);
    background: var(--bg-2);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marqueeRun 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; }
.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 1.6rem;
    padding-inline: 1.6rem;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.4vw, 1.7rem);
    font-weight: 500;
    letter-spacing: -.02em;
    color: var(--text-3);
    white-space: nowrap;
    transition: color .3s;
}
.marquee__item:hover { color: var(--text); }
.marquee__star { color: var(--accent); font-size: .7em; font-style: normal; }
@keyframes marqueeRun {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

/* --- STATS --- */
.stats { padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.stats__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
}
@media (min-width: 800px) { .stats__list { grid-template-columns: repeat(4, 1fr); } }
.stats__item {
    padding: 1.25rem 0 1.25rem 1.85rem;
    border-left: 1px solid var(--line);
}
.stats__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}
.stats__label { display: block; margin-top: .5rem; font-size: var(--fs-sm); color: var(--text-3); }

/* --- SERVİCE CARDS --- */
.svc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .svc-grid--full { grid-template-columns: repeat(3, 1fr); } }

.svc-card { position: relative; }
.svc-card.is-hidden { display: none; }
.svc-card__link {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    height: 100%;
    min-height: 232px;
    padding: 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(160deg, var(--surface), var(--bg-2));
    overflow: hidden;
    isolation: isolate;
    transition:
        transform .5s var(--ease),
        border-color .5s var(--ease),
        box-shadow .5s var(--ease);
}
.svc-card__link:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--accent-rgb), .42);
    box-shadow: 0 26px 60px -34px rgba(var(--accent-rgb), .6);
}

.svc-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.svc-card__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .22;
    filter: saturate(.85) contrast(1.1);
    transform: scale(1.02);
    transition: transform .7s var(--ease), opacity .7s var(--ease), filter .7s var(--ease);
}
.svc-card__link:hover .svc-card__bg-img {
    transform: scale(1.08);
    opacity: .44;
    filter: saturate(1.1) contrast(1.15);
}
.svc-card__bg-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 15, 20, .72) 0%, rgba(12, 15, 20, .88) 55%, rgba(12, 15, 20, .97) 100%),
        radial-gradient(ellipse at 50% 15%, transparent 20%, rgba(12, 15, 20, .75) 100%);
    transition: opacity .5s var(--ease);
}

.svc-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .2rem;
    position: relative;
    z-index: 1;
}
.svc-card__num {
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .16em;
    color: var(--text-3);
    position: relative;
    z-index: 1;
}
.svc-card__icon {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(var(--accent-rgb), .1);
    border: 1px solid rgba(var(--accent-rgb), .18);
    color: var(--accent);
    position: relative;
    z-index: 1;
    transition: transform .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease);
}
.svc-card__link:hover .svc-card__icon {
    transform: translateY(-3px) scale(1.06);
    background: rgba(var(--accent-rgb), .2);
    border-color: rgba(var(--accent-rgb), .4);
}
.svc-card__title {
    font-size: var(--fs-h3);
    margin: .3rem 0 0;
    line-height: 1.16;
    position: relative;
    z-index: 1;
}
.svc-card__text {
    margin: 0;
    font-size: .92rem;
    color: var(--text-2);
    line-height: 1.55;
    position: relative;
    z-index: 1;
}
.svc-card__more {
    margin-top: auto;
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text-2);
    transform: translateX(-6px);
    opacity: .5;
    position: relative;
    z-index: 1;
    transition: transform .45s var(--ease), opacity .45s, background .45s, color .45s, border-color .45s;
}
.svc-card__link:hover .svc-card__more {
    transform: none;
    opacity: 1;
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}
.svc-card__glow {
    position: absolute;
    inset: auto -30% -60% -30%;
    height: 130%;
    background: radial-gradient(ellipse at bottom, rgba(var(--accent-rgb), .2), transparent 62%);
    opacity: 0;
    transition: opacity .6s var(--ease);
    z-index: -1;
}
.svc-card__link:hover .svc-card__glow { opacity: 1; }
.svc-card--lg .svc-card__link { min-height: 300px; }
.svc-card--cta .svc-card__num { color: var(--accent); font-size: 1.4rem; }

/* --- WORK CARDS --- */
.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}
@media (min-width: 700px)  { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
    .work-grid { grid-template-columns: repeat(6, 1fr); }
    .work-grid .work-card { grid-column: span 3; }
    .work-grid .work-card--lg { grid-column: span 4; }
    .work-grid--index .work-card { grid-column: span 2; }
    .work-grid--index .work-card--lg { grid-column: span 4; }
}
.work-card { position: relative; }
.work-card.is-hidden { display: none; }
.work-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
    overflow: hidden;
    transition: transform .55s var(--ease), border-color .55s var(--ease), box-shadow .55s var(--ease);
    transform-style: preserve-3d;
    will-change: transform;
}
.work-card__link:hover {
    border-color: rgba(var(--accent-rgb), .4);
    box-shadow: 0 34px 80px -40px rgba(0, 0, 0, .9);
}
.work-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--surface-2);
}
.work-grid .work-card--lg .work-card__media { aspect-ratio: 16 / 10; }
.work-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease), filter .6s var(--ease);
    filter: var(--img-filter);
}
.work-card__link:hover .work-card__img { transform: scale(1.06); filter: saturate(1.05) contrast(1.05); }
.work-card__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--scrim), transparent 55%);
    opacity: .7;
    transition: opacity .5s;
}
.work-card__link:hover .work-card__scrim { opacity: .45; }
.work-card__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--accent);
    background:
        radial-gradient(ellipse at 30% 20%, rgba(var(--accent-rgb), .18), transparent 60%),
        linear-gradient(140deg, var(--surface-2), var(--bg-2));
}
.work-card__badge {
    position: absolute;
    top: .85rem; left: .85rem;
    padding: .3rem .7rem;
    border-radius: 100px;
    border: 1px solid var(--line-2);
    background: var(--scrim-solid);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: .82rem;                 /* 12.8px — 10.9px okunmuyordu */
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-2);
}
.work-card__body {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.2rem 1.3rem 1.4rem;
    flex: 1;
}
.work-card__head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.work-card__title { font-size: 1.2rem; margin: 0; }
.work-card__ext { color: var(--text-3); transition: color .4s, transform .4s var(--ease); }
.work-card__link:hover .work-card__ext { color: var(--accent); transform: translate(2px, -2px); }
.work-card__sub { font-size: .9rem; color: var(--text-2); }
.work-card__cat {
    margin-top: .5rem;
    font-size: .82rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--text-3);
}
.work-card__body::after {
    content: '';
    position: absolute;
    left: 1.3rem; right: 1.3rem; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--accent-rgb), .5), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s var(--ease);
}
.work-card__link:hover .work-card__body::after { transform: scaleX(1); }

/* --- CHAIN (why us) --- */
.chain { display: grid; gap: .2rem; }
.chain__item {
    display: flex;
    align-items: baseline;
    gap: 1.1rem;
    padding: 1.1rem .4rem 1.1rem 0;
    border-bottom: 1px solid var(--line);
    transition: transform var(--t-fast) var(--ease), border-color var(--t-fast);
}
.chain__item:hover { transform: translateX(8px); border-bottom-color: var(--accent); }
.chain__num {
    font-family: var(--font-mono);
    font-size: .68rem;
    color: var(--accent);
    letter-spacing: .12em;
}
.chain__text { font-size: 1.05rem; color: var(--text-2); transition: color .4s; }
.chain__item:hover .chain__text { color: var(--text); }

/* --- SERVICE FINDER --- */
.finder {
    display: grid;
    gap: clamp(2rem, 4vw, 3.5rem);
    padding: clamp(1.6rem, 3.5vw, 3rem);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background:
        radial-gradient(ellipse 70% 60% at 100% 0%, rgba(var(--accent-rgb), .1), transparent 60%),
        linear-gradient(150deg, var(--surface), var(--bg-2));
}
@media (min-width: 940px) { .finder { grid-template-columns: .85fr 1.15fr; align-items: start; } }

.finder__panel { min-height: 260px; }
.finder__step { animation: stepIn .5s var(--ease) both; }
@keyframes stepIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}
.finder__q {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -.02em;
    margin-bottom: 1.2rem;
}
.finder__options { display: grid; gap: .55rem; }
.finder__option {
    display: flex;
    align-items: center;
    gap: .9rem;
    width: 100%;
    padding: .95rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .02);
    text-align: start;
    font-size: .95rem;
    cursor: pointer;
    transition: border-color .35s, background .35s, transform .35s var(--ease), color .35s;
}
.finder__option:hover {
    border-color: rgba(var(--accent-rgb), .5);
    background: rgba(var(--accent-rgb), .08);
    transform: translateX(4px);
    color: var(--text);
}
.finder__option-num {
    font-family: var(--font-mono);
    font-size: .66rem;
    color: var(--accent);
    letter-spacing: .1em;
}
.finder__result-lead { color: var(--text-2); margin-bottom: 1.2rem; }
.finder__result-list { display: grid; gap: .6rem; margin-bottom: 1.4rem; }
.finder__result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(var(--accent-rgb), .3);
    border-radius: 14px;
    background: rgba(var(--accent-rgb), .07);
    transition: background .35s, transform .35s var(--ease);
}
.finder__result-item:hover { background: rgba(var(--accent-rgb), .13); transform: translateY(-2px); }
.finder__result-item strong { display: block; font-size: 1rem; }
.finder__result-item span { display: block; font-size: .86rem; color: var(--text-2); }
.finder__result-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* --- SCENARIOS --- */
.scenario-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) { .scenario-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .scenario-grid { grid-template-columns: repeat(4, 1fr); } }
.scenario {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    padding: 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
    transition: transform .5s var(--ease), border-color .5s, background .5s;
    overflow: hidden;
}
.scenario::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(var(--accent-rgb), .16), transparent 55%);
    opacity: 0;
    transition: opacity .5s;
}
.scenario:hover { transform: translateY(-5px); border-color: rgba(var(--accent-rgb), .38); }
.scenario:hover::before { opacity: 1; }
.scenario__title { font-size: 1.12rem; margin: 0; position: relative; }
.scenario__text { margin: 0; font-size: .9rem; color: var(--text-2); position: relative; flex: 1; }
.scenario__link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: .5rem;
    font-size: .86rem;
    font-weight: 550;
    color: var(--accent);
    position: relative;
}
.scenario__link svg { transition: transform .4s var(--ease); }
.scenario:hover .scenario__link svg { transform: translateX(4px); }

/* --- PAGE HERO --- */
.page-hero {
    position: relative;
    padding-top: clamp(8.5rem, 17vh, 12.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.page-hero--short { padding-top: clamp(7.5rem, 14vh, 10rem); }

.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title {
    font-size: var(--fs-h1);
    max-width: 19ch;
    margin: 0 0 1.4rem;
}
.page-hero__lead {
    max-width: 60ch;
    font-size: var(--fs-lead);
    color: var(--text-2);
    line-height: 1.5;
}
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.page-hero__line {
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent 65%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.4s var(--ease) .3s;
}
.is-in .page-hero__line, body.is-ready .page-hero__line { transform: scaleX(1); }

.crumbs { margin-bottom: 1.6rem; font-size: .82rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5rem; color: var(--text-3); }
.crumbs li + li::before { content: '/'; margin-inline-end: .5rem; opacity: .5; }
/* Kırıntı bağlantıları ayrı satırlarda; her biri dokunulabilir olmalı. */
.crumbs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    min-width: 44px;                  /* kısa "Home" bağlantısı da 44px */
    justify-content: center;
    transition: color .3s;
}
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--text-2); }

/* --- SERVICE / PROJECT LAYOUT --- */
.service-layout, .project-body, .contact-layout, .legal-layout {
    display: grid;
    gap: clamp(2rem, 4vw, 3.5rem);
}
@media (min-width: 1000px) {
    .service-layout { grid-template-columns: minmax(0, 1fr) 300px; }
    .project-body  { grid-template-columns: minmax(0, 1fr) 320px; }
    .contact-layout{ grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); }
    .legal-layout  { grid-template-columns: 240px minmax(0, 1fr); }
}

.service-media {
    margin: 1.8rem 0 2.4rem;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 20px 48px -24px rgba(0, 0, 0, .5);
}
.service-media__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.service-media__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s var(--ease);
}
.service-media:hover .service-media__img {
    transform: scale(1.03);
}
.service-media__gloss {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04) 0%, transparent 45%, rgba(0, 0, 0, .35) 100%);
}

.service-block { margin-bottom: 2.6rem; }
.service-block__title {
    font-size: 1.28rem;
    margin-bottom: .8rem;
    padding-left: 1rem;
    border-left: 2px solid var(--accent);
    line-height: 1.2;
}
.service-block p { color: var(--text-2); }

.tick-list { display: grid; gap: .55rem; }
.tick-list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .96rem; color: var(--text-2); }
.tick-list__mark {
    display: grid;
    place-items: center;
    width: 22px; height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), .13);
    color: var(--accent);
}

.result-list { display: grid; gap: .7rem; }
.result-list li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--text-2);
    font-size: .96rem;
}
.result-list li::before {
    content: '';
    position: absolute;
    left: 0; top: .68em;
    width: 8px; height: 1.5px;
    background: var(--accent);
}

.tech-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tech-tags li {
    padding: .38rem .85rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: .78rem;
    color: var(--text-2);
    background: rgba(255, 255, 255, .02);
}

.service-cta {
    margin-top: 3rem;
    padding: 1.8rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(150deg, var(--surface), var(--bg-2));
}
.service-cta p { color: var(--text-2); font-size: .96rem; }
.service-cta__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }

.side-nav {
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
}
.side-nav__label {
    font-size: .82rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 1rem;
}
.side-nav ul { display: grid; gap: .15rem; }
.side-nav a {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .58rem .5rem;
    border-radius: 10px;
    font-size: .9rem;
    color: var(--text-2);
    transition: background .3s, color .3s, transform .3s var(--ease);
}
.side-nav a:hover { background: rgba(255, 255, 255, .04); color: var(--text); transform: translateX(4px); }
.side-nav a.is-current { color: var(--accent); background: rgba(var(--accent-rgb), .08); }
.side-nav__icon { color: currentColor; opacity: .8; display: grid; }

.side-contact {
    margin-top: 1rem;
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background:
        radial-gradient(ellipse at 100% 0%, rgba(var(--accent-rgb), .12), transparent 60%),
        var(--surface);
}
.side-contact__title { font-size: var(--fs-sm); color: var(--text-3); margin-bottom: .7rem; }
.side-contact__link {
    display: flex;
    align-items: center;
    min-height: 44px;                 /* dokunma hedefi */
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 500;
    transition: color .3s;
}
.side-contact__link:hover { color: var(--accent); }

.pager {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    border-top: 1px solid var(--line);
    background: var(--line);
}
@media (min-width: 700px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager__link {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: clamp(1.6rem, 3vw, 2.4rem) var(--gutter);
    background: var(--bg);
    transition: background .4s;
}
.pager__link:hover { background: var(--surface); }
.pager__link--next { text-align: end; }
.pager__dir { font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.pager__title { font-family: var(--font-display); font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 600; letter-spacing: -.025em; }
.pager__link:hover .pager__title { color: var(--accent); }

/* --- PROJECT --- */
.project-cover {
    margin: 0 0 2.5rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--surface);
}
.project-cover__img { width: 100%; height: auto; }
.project-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    padding: 1.6rem 0;
    margin-bottom: 3rem;
    border-block: 1px solid var(--line);
}
@media (min-width: 900px) { .project-meta { grid-template-columns: repeat(4, 1fr); } }
.project-meta__label {
    display: block;
    font-size: .82rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: .4rem;
}
.project-meta__value { display: block; font-size: .93rem; color: var(--text); }
.project-meta__value.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.project-meta__value em {
    font-style: normal;
    font-family: var(--font-mono);
    font-size: .82rem;                /* 13.1px — 11.5px okunmuyordu */
    padding: .18rem .5rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text-2);
}

.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 760px) { .gallery__item--wide { grid-column: span 2; } }
.gallery__btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    background: var(--surface);
    cursor: zoom-in;
}
.gallery__img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.gallery__btn:hover .gallery__img { transform: scale(1.04); }
.gallery__zoom {
    position: absolute;
    right: .8rem; bottom: .8rem;
    display: grid;
    place-items: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--scrim-solid);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--line-2);
    color: var(--text);
    opacity: 0;
    transform: scale(.8);
    transition: opacity .35s, transform .35s var(--ease);
}
.gallery__btn:hover .gallery__zoom { opacity: 1; transform: none; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 5vw, 4rem);
    background: var(--lightbox-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: 100%;
    max-height: 84vh;
    border-radius: var(--r);
    box-shadow: var(--shadow-lg);
    transform: scale(.96);
    transition: transform .45s var(--ease);
}
.lightbox.is-open img { transform: none; }
.lightbox__close {
    position: absolute;
    top: 1.2rem; right: 1.2rem;
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    color: var(--text);
    cursor: pointer;
    transition: background .3s, transform .3s;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .12); transform: rotate(90deg); }
.lightbox__caption {
    position: absolute;
    bottom: 1.4rem; left: 50%;
    transform: translateX(-50%);
    font-size: var(--fs-sm);
    color: var(--text-3);
    text-align: center;
}

/* --- PRODUCT LİSTESİ --- */
.product-list { margin-top: 3rem; border-top: 1px solid var(--line); }
.product-list__item { border-bottom: 1px solid var(--line); }
.product-list__link {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.4rem);
    padding: 1.4rem .4rem;
    transition: transform var(--t-fast) var(--ease), background .4s;
}
.product-list__link:hover { transform: translateX(8px); background: linear-gradient(90deg, rgba(var(--accent-rgb), .07), transparent 60%); }
.product-list__num {
    font-family: var(--font-mono);
    font-size: .72rem;
    color: var(--accent);
    letter-spacing: .12em;
    flex-shrink: 0;
}
.product-list__body { flex: 1; min-width: 0; }
.product-list__title { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -.025em; }
.product-list__sub { display: block; font-size: .88rem; color: var(--text-3); margin-top: .15rem; }
.product-list__arrow { color: var(--text-3); transition: transform .4s var(--ease), color .3s; }
.product-list__link:hover .product-list__arrow { transform: translate(3px, -3px); color: var(--accent); }

/* --- AI PAGE --- */
.ai-demo__window {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.ai-demo__bar {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .7rem .9rem;
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
}
.ai-demo__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); }
.ai-demo__bar i:first-child { background: #ff5f57; }
.ai-demo__bar i:nth-child(2) { background: #febc2e; }
.ai-demo__bar i:nth-child(3) { background: #28c840; }
.ai-demo__bar span { margin-left: .6rem; font-size: .82rem; color: var(--text-3); }
.ai-demo__chat { display: grid; gap: .7rem; padding: 1.2rem 1.1rem .6rem; }
.ai-demo__msg {
    max-width: 82%;
    padding: .7rem .95rem;
    border-radius: 14px;
    font-size: .88rem;
    line-height: 1.5;
}
.ai-demo__msg--user { justify-self: end; background: var(--accent); color: #000; border-bottom-right-radius: 4px; }
.ai-demo__msg--bot { background: var(--surface-2); color: var(--text-2); border-bottom-left-radius: 4px; }
.ai-demo__dots { display: inline-flex; gap: 4px; }
.ai-demo__dots i {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--text-3);
    animation: dotPulse 1.2s cubic-bezier(.16, 1, .3, 1) infinite;
}
.ai-demo__dots i:nth-child(2) { animation-delay: .18s; }
.ai-demo__dots i:nth-child(3) { animation-delay: .36s; }
@keyframes dotPulse {
    0%, 100% { transform: scale(.8); opacity: .4; }
    50%      { transform: scale(1.15); opacity: 1; }
}
.ai-demo__reply { padding: .6rem 1.1rem 1.2rem; }
.ai-demo__reply p { font-size: .88rem; color: var(--text-2); margin-bottom: .8rem; }
.ai-demo__chip {
    display: inline-block;
    padding: .3rem .8rem;
    border: 1px solid rgba(var(--accent-rgb), .35);
    border-radius: 100px;
    background: rgba(var(--accent-rgb), .1);
    font-size: .82rem;
    color: var(--accent);
}

.cap-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 620px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cap-grid { grid-template-columns: repeat(4, 1fr); } }
.cap {
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface);
    transition: transform .45s var(--ease), border-color .4s, background .4s;
}
.cap:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), .35); background: var(--surface-2); }
.cap__icon {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 11px;
    background: rgba(var(--accent-rgb), .11);
    color: var(--accent);
    margin-bottom: .9rem;
}
.cap__title { font-size: 1.02rem; margin: 0 0 .4rem; }
.cap__text { margin: 0; font-size: .88rem; color: var(--text-2); }

.stack-list { display: grid; gap: 1rem; }
.stack-list__item {
    display: flex;
    gap: 1.1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}
.stack-list__num { font-family: var(--font-mono); font-size: .7rem; color: var(--accent); letter-spacing: .12em; }
.stack-list__item h3 { font-size: 1.05rem; margin: 0 0 .25rem; }
.stack-list__item p { margin: 0; font-size: .9rem; color: var(--text-2); }

/* --- CONTACT --- */
.form {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
}
.form__title { font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin-bottom: .5rem; }
.form__intro { color: var(--text-2); font-size: .95rem; margin-bottom: 1.8rem; max-width: 52ch; }
.form__grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }

.field { display: flex; flex-direction: column; gap: .45rem; position: relative; }
.field label {
    font-size: .9rem;                 /* 14.4px — küçük etiketler okunmuyor */
    font-weight: 500;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.field label em { font-style: normal; font-size: .82rem; color: var(--text-3); font-weight: 400; }
.req { color: var(--accent); }
.field__hint { font-size: .8rem; color: var(--text-3); text-align: end; }

.field input, .field select, .field textarea {
    width: 100%;
    min-height: 48px;                /* dokunma hedefi */
    padding: .78rem .95rem;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--bg-2);
    font-size: 1rem;                 /* 16px — iOS alt sınırda otomatik yakınlaştırır */
    transition: border-color .3s, background .3s, box-shadow .3s;
    appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237b8391' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .95rem center;
    padding-right: 2.4rem;
    cursor: pointer;
}
.field select option { background: var(--surface-2); color: var(--text); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface-2);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .13);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #f2555a; }
.field__error { font-size: .78rem; color: #ff7a7e; }

.check {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    min-height: 44px;                 /* etiket gerçek dokunma hedefi */
    padding: .5rem 0;
    cursor: pointer;
    font-size: .9rem;
    color: var(--text-2);
}
.check input {
    appearance: none;
    width: 19px; height: 19px;
    flex-shrink: 0;
    margin-top: 2px;
    border: 1px solid var(--line-2);
    border-radius: 6px;
    background: var(--bg-2);
    cursor: pointer;
    transition: background .25s, border-color .25s;
    position: relative;
}
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after {
    content: '';
    position: absolute;
    left: 5.5px; top: 2px;
    width: 5px; height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(43deg);
}
.check--soft { color: var(--text-3); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__error {
    margin: 1rem 0 0;
    padding: .75rem 1rem;
    border: 1px solid rgba(242, 85, 90, .35);
    border-radius: 11px;
    background: rgba(242, 85, 90, .08);
    color: #ff9b9e;
    font-size: .87rem;
}
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.form__status { font-size: .87rem; color: var(--accent); margin: 0; }
.form__status.is-error { color: #ff9b9e; }
.form--offline { display: grid; gap: 1rem; }

.side-ai {
    padding: 1.4rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(var(--accent-rgb), .28);
    border-radius: var(--r-lg);
    background: radial-gradient(ellipse at 100% 0%, rgba(var(--accent-rgb), .13), transparent 62%), var(--surface);
}
.side-ai__title { display: flex; align-items: center; gap: .55rem; font-size: .98rem; font-weight: 600; margin: 0 0 .5rem; }
.side-ai__title svg { color: var(--accent); }
.side-ai__text { font-size: .88rem; color: var(--text-2); margin-bottom: 1rem; }

.side-block {
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
}
.side-block--note { margin-top: 1rem; background: var(--bg-2); font-size: .9rem; color: var(--text-2); }
.side-block__title {
    font-size: .85rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 1.1rem;
}

.contact-list { display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .85rem; }
.contact-list__icon {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(var(--accent-rgb), .1);
    color: var(--accent);
}
.contact-list__label { display: block; font-size: .78rem; color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; }
/* E-posta ve telefon bağlantıları her biri tek başına dokunma hedefi. */
.contact-list a, .contact-list address {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: .95rem;
    color: var(--text);
}
.contact-list address { font-style: normal; color: var(--text-2); }
.contact-list a:hover { color: var(--accent); }

/* --- LEGAL --- */
.legal-toc { align-self: start; }
@media (min-width: 1000px) { .legal-toc { position: sticky; top: 120px; } }
.legal-toc__label { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: .8rem; }
.legal-toc ol { display: grid; gap: .1rem; counter-reset: toc; }
.legal-toc a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: .92rem;
    color: var(--text-2);
    transition: color .3s, transform .3s var(--ease);
}
.legal-toc a:hover { color: var(--accent); transform: translateX(4px); }
.legal-body h2 {
    font-size: 1.25rem;
    margin: 2.4rem 0 .8rem;
    scroll-margin-top: 120px;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-updated { font-size: .8rem; color: var(--text-3); margin-bottom: 2rem; }

/* --- CTA BAND --- */
.cta-band {
    position: relative;
    padding-block: clamp(4rem, 8vw, 7rem);
    overflow: hidden;
    border-top: 1px solid var(--line);
    background:
        radial-gradient(ellipse 70% 100% at 50% 100%, rgba(var(--accent-rgb), .16), transparent 62%),
        var(--bg-2);
}
.cta-band__inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; text-align: center; }
.cta-band__title { font-size: var(--fs-h2); margin-bottom: 1rem; }
.cta-band__text { color: var(--text-2); font-size: var(--fs-lead); max-width: 56ch; margin-inline: auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2.2rem; }
.cta-band__meta { margin-top: 2rem; font-size: var(--fs-sm); color: var(--text-3); }
.cta-band__meta a { color: var(--text-2); }
.cta-band__meta a:hover { color: var(--accent); }
.cta-band__rings {
    position: absolute;
    left: 50%; top: 60%;
    width: 900px; height: 900px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(var(--accent-rgb), .12);
    box-shadow:
        0 0 0 90px rgba(var(--accent-rgb), .04),
        0 0 0 200px rgba(var(--accent-rgb), .025);
    pointer-events: none;
}

/* --- THANKS --- */
.thanks { text-align: center; max-width: 620px; margin-inline: auto; }
.thanks__mark {
    display: grid;
    place-items: center;
    width: 96px; height: 96px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), .12);
    border: 1px solid rgba(var(--accent-rgb), .4);
    color: var(--accent);
    animation: markPop .8s var(--ease) both;
}
@keyframes markPop {
    from { transform: scale(.5); opacity: 0; }
    to   { transform: none; opacity: 1; }
}
.thanks__ref {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .6rem 1.1rem;
    margin-bottom: 2rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--surface);
    font-size: .85rem;
    color: var(--text-3);
}
.thanks__ref strong { font-family: var(--font-mono); color: var(--accent); letter-spacing: .06em; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.thanks__chat {
    margin-top: 2.6rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    display: grid;
    gap: .8rem;
    justify-items: center;
}
.thanks__chat p { margin: 0; color: var(--text-3); font-size: .9rem; }

/* --- 404 --- */
.notfound {
    position: relative;
    min-height: 78svh;
    display: flex;
    align-items: center;
    padding-top: 9rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

.notfound__inner { position: relative; z-index: 1; text-align: center; }
.notfound__code {
    font-family: var(--font-display);
    font-size: clamp(6rem, 26vw, 16rem);
    font-weight: 700;
    line-height: .85;
    letter-spacing: -.06em;
    color: rgba(var(--accent-rgb), .16);
    margin: 0 0 1rem;
}
.notfound__title { font-size: var(--fs-h2); max-width: 22ch; margin-inline: auto; }
.notfound__text { max-width: 50ch; margin-inline: auto; color: var(--text-2); }
.notfound__text--muted { color: var(--text-3); font-size: .93rem; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }
.notfound__links { margin-top: 3rem; }
.notfound__links-label {
    font-size: .82rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: .9rem;
}
.notfound__links ul { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.notfound__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;                 /* dokunma hedefi */
    padding: .4rem 1rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: .95rem;
    color: var(--text-2);
    transition: border-color .3s, color .3s;
}
.notfound__links a:hover { border-color: var(--accent); color: var(--accent); }
.notfound__signature { margin-top: 3.2rem; }
.notfound__signature img { height: 34px; width: auto; opacity: .2; margin-inline: auto; }

/* --- FILTER --- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .8rem 1.2rem;
    padding: 1rem 1.2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--surface);
}
.filter-bar__label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-3);
}
.filter-bar__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;                 /* dokunma hedefi */
    padding: .38rem 1rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: transparent;
    font-size: .9rem;
    color: var(--text-2);
    cursor: pointer;
    transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.chip:hover { border-color: var(--line-2); color: var(--text); transform: translateY(-1px); }
.chip.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    font-weight: 550;
}
.filter-empty { text-align: center; color: var(--text-3); padding: 3rem 0; }

/* --- PROCESS / VALUES --- */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    counter-reset: step;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps__item {
    position: relative;
    padding: 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
    overflow: hidden;
    transition: transform .5s var(--ease), border-color .4s;
}
.steps__item:hover { transform: translateY(-5px); border-color: rgba(var(--accent-rgb), .35); }
.steps__item::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s var(--ease);
}
.steps__item:hover::after { transform: scaleX(1); }
.steps__num { font-family: var(--font-mono); font-size: .72rem; color: var(--accent); letter-spacing: .14em; }
.steps__title { font-size: 1.16rem; margin: .6rem 0 .4rem; }
.steps__text { margin: 0; font-size: .9rem; color: var(--text-2); }

.value-list { display: grid; gap: 1.1rem; }
.value-list__item { display: flex; gap: .9rem; }
.value-list__dot {
    width: 9px; height: 9px;
    flex-shrink: 0;
    margin-top: .55rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .14);
}
.value-list__item h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.value-list__item p { margin: 0; font-size: .9rem; color: var(--text-2); }

.fact-card {
    padding: clamp(1.5rem, 3vw, 2.2rem);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background:
        radial-gradient(ellipse at 100% 0%, rgba(var(--accent-rgb), .1), transparent 60%),
        var(--surface);
}
.fact-card__title { font-size: 1.2rem; margin-bottom: 1rem; }
.fact-card p { font-size: .93rem; color: var(--text-2); }
.fact-card__addr {
    display: grid;
    margin: 1.2rem 0;
    padding: 1rem;
    border-radius: 12px;
    background: var(--bg-2);
    font-style: normal;
    font-size: .88rem;
    color: var(--text-2);
}

/* --- LEAD PANELİ (/tr/leads) --- */
.leads { padding-block: clamp(7rem, 13vh, 9rem) 4rem; }
.leads__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.4rem;
    padding-bottom: 1.6rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}
.leads__title { font-size: var(--fs-h2); margin: 0; }
.leads__meta { margin: .4rem 0 0; font-size: var(--fs-sm); color: var(--text-3); }
.leads__filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.leads__filters .btn { padding: .4rem .85rem; font-size: .8rem; }
.leads__notice {
    padding: .7rem 1rem;
    margin-bottom: 1.4rem;
    border: 1px solid rgba(var(--accent-rgb), .35);
    border-radius: 10px;
    background: rgba(var(--accent-rgb), .08);
    color: var(--amber-soft);
    font-size: .87rem;
}
.leads__notice--err { border-color: rgba(242,85,90,.4); background: rgba(242,85,90,.08); color: #ff9b9e; }
.leads__empty { color: var(--text-3); padding: 3rem 0; text-align: center; }
.leads__list { display: grid; gap: 1rem; }

.lead {
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
}
.lead__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}
.lead__name { font-size: 1.15rem; margin: 0 0 .2rem; }
.lead__name small { font-size: .84rem; color: var(--text-3); font-weight: 400; margin-left: .4rem; }
.lead__contact { margin: 0; font-size: .85rem; color: var(--text-2); }
.lead__contact a:hover { color: var(--accent); }
.lead__head-right { display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; }
.lead__time { font-size: .75rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.lead__status {
    padding: .22rem .7rem;
    border-radius: 100px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid var(--line-2);
    color: var(--text-2);
}
.st-new    { border-color: rgba(79,140,255,.5);  color: #93b8ff; background: rgba(79,140,255,.1); }
.st-rev    { border-color: rgba(255,176,32,.5);  color: var(--amber-soft); background: rgba(255,176,32,.1); }
.st-qual   { border-color: rgba(139,108,255,.5); color: #c0aeff; background: rgba(139,108,255,.1); }
.st-cont   { border-color: rgba(34,211,238,.5);  color: #8ce8f7; background: rgba(34,211,238,.1); }
.st-prop   { border-color: rgba(163,230,53,.5);  color: #cbf28a; background: rgba(163,230,53,.1); }
.st-won    { border-color: rgba(52,211,153,.5);  color: #7de7c0; background: rgba(52,211,153,.1); }
.st-hold   { border-color: rgba(244,114,182,.5); color: #f9b8d6; background: rgba(244,114,182,.1); }
.st-closed { opacity: .6; }

.lead__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: .8rem 1.2rem;
    margin: 1.1rem 0;
}
.lead__facts dt {
    font-size: .68rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: .2rem;
}
.lead__facts dd { margin: 0; font-size: .88rem; color: var(--text-2); overflow-wrap: anywhere; }
.lead__facts dd a { color: var(--text); }
.lead__facts dd a:hover { color: var(--accent); }
.lead__facts dd em { font-style: normal; color: var(--text-3); font-size: .8rem; }
.lead__message {
    font-size: .92rem;
    color: var(--text-2);
    padding: 1.1rem 1.25rem;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px solid var(--line);
}
.lead__summary { margin-top: .9rem; font-size: .88rem; }
.lead__summary summary { cursor: pointer; color: var(--text-3); font-size: .82rem; }
.lead__summary summary:hover { color: var(--accent); }
.lead__summary p { margin-top: .6rem; color: var(--text-2); }
.lead__status-form { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.lead__status-form select {
    padding: .45rem .8rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--bg-2);
    font-size: .82rem;
    cursor: pointer;
}

/* --- panel altı: sürüm kaydı (versionRegistry.json) --- */
.panel-version {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    font-size: .78rem;
    color: var(--text-3);
}
.panel-version__line { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; margin: 0; }
.panel-version__line strong { color: var(--text-2); font-weight: 600; letter-spacing: .01em; }
.panel-version__date { color: var(--text-3); }
.panel-version__tag {
    padding: .1rem .45rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-family: var(--font-mono, monospace);
    font-size: .72rem;
    color: var(--text-3);
}
.panel-version--stale .panel-version__tag { border-color: rgba(242,85,90,.45); color: #ff9b9e; }
.panel-version__warn {
    flex: 1 1 100%;
    margin: .35rem 0 0;
    padding: .5rem .7rem;
    border: 1px solid rgba(242,85,90,.3);
    background: rgba(242,85,90,.07);
    color: #ff9b9e;
    border-radius: 6px;
}
.panel-version__history { margin-top: .7rem; }
.panel-version__history summary { cursor: pointer; color: var(--text-3); }
.panel-version__history summary:hover { color: var(--accent); }
.panel-version__history ul { margin: .7rem 0 0; padding-left: 1.1rem; list-style: disc; }
.panel-version__history li { margin-bottom: .45rem; }
.panel-version__history ul ul { margin-top: .3rem; color: var(--text-3); }
.panel-version__ver { font-family: var(--font-mono, monospace); color: var(--text-2); margin-right: .4rem; }

/* --- açık zeminli stüdyo bandı --- */
.section--studio { padding-top: 0; }
.studio {
    display: grid;
    gap: clamp(1.8rem, 4vw, 3.4rem);
    padding: clamp(2rem, 4vw, 3.4rem);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background:
        radial-gradient(ellipse 60% 80% at 0% 0%, rgba(var(--accent-rgb), .14), transparent 60%),
        linear-gradient(160deg, var(--inverse-bg), var(--inverse-bg-2));
    color: var(--inverse-text);
    box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .8);
}
@media (min-width: 860px) { .studio { grid-template-columns: 260px minmax(0, 1fr); } }

.studio__mark { display: grid; align-content: start; gap: 1.1rem; }
.studio__emblem { width: 58px; height: 58px; border-radius: 14px; }
.studio__logo { width: 100%; max-width: 230px; height: auto; }

.studio__title {
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    color: var(--inverse-text);
    margin-bottom: .8rem;
}
.studio__body p { color: var(--inverse-text-2); font-size: .97rem; }
.studio__addr {
    display: grid;
    margin: 1.4rem 0 1.6rem;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: rgba(127, 127, 127, .12);
    font-style: normal;
    font-size: .9rem;
    color: var(--inverse-text-2);
}
.studio__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.studio__tel {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--inverse-text);
}
.studio__tel:hover { color: var(--amber-deep); }

.btn--dark { background: var(--inverse-text); color: var(--inverse-bg); }
.btn--dark:hover { background: var(--inverse-text); opacity: .88; box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .5); }

/* --- header: gerçek marka logosu ---
   logo-dark.png 600x240 (2.5:1 yığın kilit) — yükseklikten genişlik türetilir. */
/* Dar ekranda gerçek marka logosu — favicon "Second Media" adını taşımıyor,
   bu yüzden küçük ekranda amblem yerine wordmark gösteriyoruz. */
.brand__logo { height: 40px; width: auto; }
.brand__mark { display: none; }
/* Logo bağlantısı dokunulabilir bir hedef — 44px'e yükseltiyoruz. */
.brand { padding: 2px; }
@media (max-width: 900px) {
    .brand__logo { height: 32px; }
}
@media (max-width: 420px) {
    .brand__logo { height: 27px; }
    .brand { padding: 8px 6px; }        /* 44px dokunma hedefi */
}

/* --- footer logoları --- */

/* --- proje sayfası: müşteri logosu --- */
.project-client-logo {
    display: inline-flex;
    align-items: center;
    padding: .7rem 1.1rem;
    margin-bottom: 1.4rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}
.project-client-logo img { height: 26px; width: auto; opacity: .9; }

/* --------------------------------------------------------- 6. Components */

/* --- BUTONLAR --- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 48px;                 /* dokunma hedefi */
    padding: .8rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 100px;
    font-size: 1rem;                  /* 16px */
    font-weight: 550;
    letter-spacing: -.01em;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    transition: transform .35s var(--ease), background .35s, border-color .35s, color .35s, box-shadow .35s;
    will-change: transform;
}
.btn--sm { min-height: 44px; padding: .58rem 1.2rem; font-size: .94rem; }
.btn--lg { padding: .95rem 1.7rem; font-size: .97rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--accent); color: #0a0a0a; }
.btn--primary:hover { background: var(--amber-soft); box-shadow: 0 12px 34px -14px rgba(var(--accent-rgb), .8); }
.btn--primary:active { transform: scale(.98); }

.btn--line { border-color: var(--line-2); color: var(--text); }
.btn--line:hover { border-color: var(--accent); color: var(--accent); }

.btn--ghost { border-color: transparent; color: var(--text-2); }
.btn--ghost:hover { color: var(--text); background: rgba(255, 255, 255, .05); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 44px;                 /* dokunma hedefi */
    font-size: .93rem;
    font-weight: 550;
    color: var(--text);
    transition: color .3s;
}
.link-arrow svg { color: var(--accent); transition: transform .45s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow--sm { font-size: .85rem; margin-top: .5rem; }

/* --- FOOTER --- */
.site-footer {
    position: relative;
    padding-top: clamp(3.5rem, 7vw, 5.5rem);
    border-top: 1px solid var(--line);
    background: var(--bg-2);
    overflow: hidden;
}
.site-footer__glow {
    position: absolute;
    left: 50%; top: -40%;
    width: 120vw; height: 70vh;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at top, rgba(var(--accent-rgb), .1), transparent 60%);
    pointer-events: none;
}
.site-footer__top {
    position: relative;
    display: grid;
    gap: 3rem;
    padding-bottom: 3rem;
}
@media (min-width: 1000px) { .site-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }
/* logo-dark.png beyaz yazılı ve şeffaf; footer zemini de koyu olduğu için
   renk filtresi gerekmiyor (eski brightness(0) invert(1) koyu logoyu
   beyaza çevirmek içindi ve ince "media agency" yazısını sertleştiriyordu). */
.site-footer__logo { height: 60px; width: auto; margin-bottom: 1.3rem; opacity: .95; }
.site-footer__wordmark { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
.site-footer__wordmark span { color: var(--accent); }
.site-footer__tagline { font-size: .9rem; color: var(--text-3); max-width: 32ch; }
.site-footer__social { display: flex; gap: .55rem; margin-top: 1.4rem; }
.site-footer__social a {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--text-2);
    transition: border-color .3s, color .3s, transform .3s var(--ease), background .3s;
}
.site-footer__social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); background: rgba(var(--accent-rgb), .08); }

.site-footer__cols {
    display: grid;
    gap: 2.2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 620px) { .site-footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .site-footer__cols { grid-template-columns: repeat(3, 1fr); } }
.site-footer__title {
    font-size: .85rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 1.1rem;
    font-weight: 500;
}
.site-footer__col ul { display: grid; gap: .1rem; }
.site-footer__col a {
    display: flex;
    align-items: center;
    min-height: 44px;                 /* dokunma hedefi */
    font-size: .9rem;
    color: var(--text-2);
    transition: color .3s, transform .3s var(--ease);
}
.site-footer__col a:hover { color: var(--accent); transform: translateX(4px); }
.site-footer__col a.is-accent { color: var(--accent); }
.site-footer__address { display: grid; font-style: normal; font-size: .9rem; color: var(--text-2); margin-bottom: 1rem; }
.site-footer__links { font-size: .95rem; line-height: 1; }
.site-footer__links a {
    display: flex;
    align-items: center;
    min-height: 44px;                 /* dokunma hedefi */
    color: var(--text-2);
}
.site-footer__links a:hover { color: var(--accent); }
.site-footer__map {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 44px;
    margin-top: .3rem;
    font-size: .9rem;
    color: var(--accent);
}
.site-footer__map svg { transition: transform .4s var(--ease); }
.site-footer__map:hover svg { transform: translate(2px, -2px); }

.site-footer__support {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-top: .85rem;
    font-size: .84rem;
    font-weight: 500;
    color: var(--text-2);
    text-decoration: none;
    transition: color var(--t-fast), transform var(--t-fast);
}
.site-footer__support:hover {
    color: var(--accent);
    transform: translateX(3px);
}
.site-footer__support svg {
    color: var(--accent);
    flex-shrink: 0;
}

.site-footer__bottom {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.6rem;
    border-top: 1px solid var(--line);
    font-size: .875rem;
    color: var(--text-3);
}
.site-footer__copy { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; }
.site-footer__legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;                 /* dokunma hedefi */
}
.site-footer__legal a:hover { color: var(--accent); }
.site-footer__note { margin: 0; flex-basis: 100%; font-size: .82rem; color: var(--text-3); max-width: 62ch; opacity: .8; }

/* ------------------------------------------------------------- 7. CHAT */
.chat { position: fixed; inset: 0; z-index: 1500; pointer-events: none; }
.chat[hidden] { display: none; }
.chat__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 5, 7, .6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
    pointer-events: auto;
}
.chat.is-open .chat__backdrop { opacity: 1; visibility: visible; }

.chat__panel {
    position: absolute;
    right: 0; top: 0;
    display: flex;
    flex-direction: column;
    width: min(430px, 100vw);
    height: 100%;
    background: var(--bg-2);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .5s var(--ease);
    pointer-events: auto;
}
.chat.is-open .chat__panel { transform: none; }
@media (max-width: 480px) { .chat__panel { width: 100vw; border-left: none; } }

.chat__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}
.chat__identity { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.chat__avatar { position: relative; flex-shrink: 0; }
.chat__avatar img { width: 34px; height: 34px; border-radius: 10px; }
.chat__status {
    position: absolute;
    right: -2px; bottom: -2px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #34d399;
    border: 2px solid var(--surface);
}
.chat__titles { min-width: 0; }
.chat__titles strong { display: block; font-size: .95rem; font-family: var(--font-display); }
.chat__titles small { display: block; font-size: .76rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__head-actions { display: flex; gap: .4rem; flex-shrink: 0; }
.chat__icon-btn {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    color: var(--text-2);
    cursor: pointer;
    transition: background .3s, color .3s, border-color .3s;
}
.chat__icon-btn:hover { background: rgba(255, 255, 255, .06); color: var(--text); border-color: var(--line-2); }

.chat__log {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.2rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    scroll-behavior: smooth;
}
.chat__msg { display: flex; max-width: 88%; animation: msgIn .45s var(--ease) both; }
@keyframes msgIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}
.chat__msg--user { align-self: flex-end; }
.chat__msg--bot  { align-self: flex-start; }
.chat__bubble {
    padding: .78rem 1rem;
    border-radius: 16px;
    font-size: .9rem;
    line-height: 1.6;
}
.chat__msg--user .chat__bubble { background: var(--accent); color: #000; border-bottom-right-radius: 5px; }
.chat__msg--bot .chat__bubble {
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--text);
    border-bottom-left-radius: 5px;
    max-width: 100%;
}
.chat__bubble p { margin: 0 0 .5em; }
.chat__bubble p:last-child { margin: 0; }
.chat__bubble a { color: var(--amber-soft); text-decoration: underline; text-underline-offset: 2px; }
.chat__bubble strong { color: #fff; }
.chat__bubble--error { border-color: rgba(242, 85, 90, .4) !important; color: #ff9b9e; }

.chat__typing { display: inline-flex; gap: 4px; padding: .2rem 0; }
.chat__typing i {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--text-3);
    animation: dotPulse 1.2s cubic-bezier(.16, 1, .3, 1) infinite;
}
.chat__typing i:nth-child(2) { animation-delay: .18s; }
.chat__typing i:nth-child(3) { animation-delay: .36s; }

.chat__starters { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.chat__starters[hidden] { display: none; }
.chat__starter {
    padding: .45rem .85rem;
    border: 1px solid var(--line-2);
    border-radius: 100px;
    background: transparent;
    font-size: .82rem;
    color: var(--text-2);
    cursor: pointer;
    text-align: start;
    transition: border-color .3s, color .3s, background .3s, transform .3s var(--ease);
}
.chat__starter:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(var(--accent-rgb), .08);
    transform: translateY(-2px);
}

.chat__cards { padding: 0 1.1rem .6rem; display: grid; gap: .5rem; }
.chat__cards[hidden] { display: none; }
.chat__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .7rem .9rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    text-align: start;
    cursor: pointer;
    transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.chat__card:hover { border-color: var(--accent); background: rgba(var(--accent-rgb), .07); transform: translateX(3px); }
.chat__card strong { display: block; font-size: .87rem; }
.chat__card span { display: block; font-size: .78rem; color: var(--text-3); }
.chat__card svg { color: var(--accent); flex-shrink: 0; }

.chat__followups { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }

.chat__actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.chat__action {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .42rem .85rem;
    border: 1px solid rgba(var(--accent-rgb), .35);
    border-radius: 100px;
    background: rgba(var(--accent-rgb), .08);
    font-size: .8rem;
    color: var(--amber-soft);
    cursor: pointer;
    transition: background .3s, transform .3s var(--ease);
}
.chat__action:hover { background: rgba(var(--accent-rgb), .16); transform: translateY(-2px); }

.chat__form {
    display: flex;
    align-items: flex-end;
    gap: .6rem;
    padding: .9rem 1.1rem;
    border-top: 1px solid var(--line);
    background: var(--surface);
}
.chat__form textarea {
    flex: 1;
    max-height: 130px;
    padding: .7rem .9rem;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--bg-2);
    font-size: .9rem;
    line-height: 1.5;
    resize: none;
    transition: border-color .3s, box-shadow .3s;
}
.chat__form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .13);
}
.chat__send {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    flex-shrink: 0;
    border: none;
    border-radius: 13px;
    background: var(--accent);
    color: #000;
    cursor: pointer;
    transition: transform .3s var(--ease), background .3s, opacity .3s;
}
.chat__send:hover { transform: scale(1.05); background: var(--amber-soft); }
.chat__send:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.chat__disclaimer {
    margin: 0;
    padding: .6rem 1.1rem .8rem;
    font-size: .82rem;
    color: var(--text-3);
    text-align: center;
    background: var(--surface);
    border-top: 1px solid var(--line);
}

/* sohbetten talep modalı */
.chat__modal {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(4, 5, 7, .8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
    pointer-events: auto;
}
.chat__modal[hidden] { display: grid; }
.chat__modal.is-open { opacity: 1; visibility: visible; }
.chat__modal-card {
    position: relative;
    width: min(520px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    padding: 1.6rem;
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    transform: translateY(16px) scale(.98);
    transition: transform .4s var(--ease);
}
.chat__modal.is-open .chat__modal-card { transform: none; }
.chat__modal-close { position: absolute; top: 1rem; right: 1rem; }
.chat__modal-title { font-size: 1.3rem; margin-bottom: .4rem; padding-right: 2.5rem; }
.chat__modal-p { font-size: .88rem; color: var(--text-2); margin-bottom: 1.4rem; }
.chat__modal-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.chat__consent { margin: 1rem 0 0; font-size: .875rem; line-height: 1.55; color: var(--text-3); }
.form--chat { padding: 0; border: none; background: none; }

/* --------------------------------------------------- 8. Motion & responsive */

/* imleç ışıması (yalnızca işaretçi cihazlarda) */

body.has-pointer 

@media (pointer: coarse) {
    
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    .hero__title .w > i,
    .page-hero__title .w > i,
    .notfound__title .w > i,
    .section-head__title .w > i { transform: none !important; opacity: 1 !important; }
    .hero__sub, .hero__actions, .hero__foot { opacity: 1 !important; transform: none !important; }
    .page-veil { display: none; }
    .marquee__track { animation: none; }
    
}

@media print {
    .site-header, .chat, .cursor-glow, .page-veil, .marquee, .cta-band__rings { display: none !important; }
    body { background: #fff; color: #000; }
    .prose p, .service-block p { color: #333; }
}

/* ==========================================================================
   WORK DETAIL + WORK INDEX
   ========================================================================== */

/* --- sayfa başlığında küçük veri şeridi (durum / yıl) --- */
.page-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 1.8rem 0 0;
    padding-top: 1.3rem;
    border-top: 1px solid var(--line);
}
.page-hero__meta dt {
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: .3rem;
}
.page-hero__meta dd {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
}

/* --- proje giriş bloğu --- */
.project-lede {
    display: grid;
    gap: 1.6rem;
    align-items: start;
    margin-bottom: 2.6rem;
}
@media (min-width: 860px) {
    .project-lede { grid-template-columns: auto minmax(0, 1fr); gap: 2.6rem; }
}
.project-lede__logo {
    display: flex;
    align-items: center;
    padding: .8rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    margin: 0;
}
.project-lede__logo img { height: 26px; width: auto; opacity: .92; }
.project-lede__text {
    margin: 0;
    font-size: clamp(1.15rem, 2.1vw, 1.55rem);
    line-height: 1.42;
    letter-spacing: -.022em;
    color: var(--text);
    max-width: 62ch;
    text-wrap: pretty;
}

/* --- ürün kapağı açıklaması --- */
.project-cover--product { position: relative; }
.project-cover__note {
    padding: .8rem 1.1rem;
    border-top: 1px solid var(--line);
    background: var(--surface);
    font-size: .82rem;
    color: var(--text-3);
    text-align: center;
}

/* --- gövde bölüm başlıkları --- */
.project-section { margin-bottom: 3rem; }
.project-section__title {
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 600;
    letter-spacing: -.026em;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 1rem;
    max-width: 26ch;
}
.project-section p { color: var(--text-2); max-width: 68ch; }
.project-section:last-child { margin-bottom: 0; }

/* --- özellik listesi --- */
.feature-list { display: grid; gap: .85rem; max-width: 68ch; }
.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-2);
    font-size: .98rem;
    line-height: 1.55;
}
.feature-list li::before {
    content: '';
    position: absolute;
    left: 0; top: .62em;
    width: 7px; height: 7px;
    border-radius: 2px;
    background: var(--accent);
    transform: rotate(45deg);
}

/* --- ilgili hizmet hapları --- */
.link-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.link-pills a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;                 /* dokunma hedefi */
    gap: .5rem;
    padding: .5rem .95rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--surface);
    font-size: .86rem;
    color: var(--text-2);
    transition: border-color .3s, color .3s, background .3s, transform .3s var(--ease);
}
.link-pills a:hover {
    border-color: rgba(var(--accent-rgb), .45);
    color: var(--text);
    background: rgba(var(--accent-rgb), .07);
    transform: translateY(-2px);
}
.link-pills svg { color: var(--accent); flex-shrink: 0; }

/* --- canlı ürün kutusu --- */
.side-visit {
    padding: 1.3rem;
    border: 1px solid rgba(var(--accent-rgb), .3);
    border-radius: var(--r);
    background: radial-gradient(ellipse at 100% 0%, rgba(var(--accent-rgb), .13), transparent 62%), var(--surface);
    margin-bottom: 1rem;
}
.side-visit__label {
    font-size: .82rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: .6rem;
}
.side-visit__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    min-height: 44px;                 /* dokunma hedefi */
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 500;
    color: var(--accent);
    overflow-wrap: anywhere;
}
.side-visit__link svg { flex-shrink: 0; transition: transform .3s var(--ease); }
.side-visit__link:hover svg { transform: translate(2px, -2px); }
.side-visit__status {
    margin: .6rem 0 0;
    font-size: .82rem;
    color: var(--text-3);
}

/* --- benzer işler: küçük kapak + başlık --- */
.project-side {
    min-width: 0;
    max-width: 100%;
}
.side-nav {
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
}
.side-nav ul {
    min-width: 0;
    display: grid;
    gap: .35rem;
}
.side-nav li {
    min-width: 0;
    max-width: 100%;
}
.side-nav a {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .55rem .5rem;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
.side-nav__thumb {
    display: block;
    width: 54px;
    height: 40px;
    flex: 0 0 54px;
    border-radius: 7px;
    overflow: hidden;
    background: var(--surface-2);
    position: relative;
}
.side-nav__thumb picture,
.side-nav__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.side-nav__text {
    flex: 1 1 0%;
    min-width: 0;
    display: block;
    overflow: hidden;
}
.side-nav__name {
    display: block;
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.side-nav__sub {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .78rem;
    line-height: 1.32;
    color: var(--text-3);
    margin-top: .15rem;
    word-break: break-word;
}

/* ==========================================================================
   WORK INDEX — kendi ürünlerimiz
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}
@media (min-width: 720px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }

.product-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
    overflow: hidden;
    transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.product-card__link:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--accent-rgb), .38);
    box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9);
}
.product-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-2);
}
.product-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product-card__link:hover .product-card__img { transform: scale(1.04); }

.product-card__body { display: flex; flex-direction: column; gap: .6rem; padding: 1.3rem 1.4rem 1.4rem; flex: 1; }
.product-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.product-card__title {
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 600;
    letter-spacing: -.028em;
    line-height: 1.15;
}
.product-card__status {
    flex-shrink: 0;
    padding: .2rem .6rem;
    border: 1px solid var(--line-2);
    border-radius: 100px;
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-3);
    white-space: nowrap;
}
.product-card__sub { font-size: .92rem; color: var(--text-2); }
.product-card__features {
    display: grid;
    gap: .4rem;
    margin-top: .3rem;
    flex: 1;
}
.product-card__features li {
    position: relative;
    padding-left: 1.1rem;
    font-size: .85rem;
    color: var(--text-3);
    line-height: 1.45;
}
.product-card__features li::before {
    content: '';
    position: absolute;
    left: 0; top: .55em;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .7;
}
.product-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-top: .9rem;
    padding-top: .9rem;
    border-top: 1px solid var(--line);
    font-size: .86rem;
    font-weight: 550;
    color: var(--accent);
}
.product-card__foot svg { transition: transform .4s var(--ease); }
.product-card__link:hover .product-card__foot svg { transform: translateX(5px); }

.product-card--lead { grid-column: 1 / -1; }
@media (min-width: 720px) {
    .product-card--lead .product-card__link { flex-direction: row; align-items: stretch; }
    .product-card--lead .product-card__media { flex: 0 0 46%; aspect-ratio: auto; }
    .product-card--lead .product-card__body { padding: 1.8rem 2rem; justify-content: center; }
    .product-card--lead .product-card__title { font-size: 1.6rem; }
    .product-card--lead .product-card__sub { font-size: 1rem; }
}

.products-note {
    margin-top: 2.4rem;
    padding: 1.2rem 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface);
    font-size: .95rem;
    color: var(--text-2);
}
.products-note a { color: var(--accent); font-weight: 550; white-space: nowrap; }
.products-note a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   THEME TOGGLE — koyu / açık
   ========================================================================== */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    line-height: 0;
    /* Anahtar 48x26 — Apple 44px önerisinin altında. Dikey dolgu ekleyerek
       gerçek kutuyu 44px'e çıkarıyoruz (sahte ::after yerine; klavye
       odak halkası da doğru yere düşsün diye). */
    padding: 9px 6px;
    margin: -9px -6px;
}

.theme-toggle__track {
    position: relative;
    display: block;
    width: 56px;
    height: 28px;
    border-radius: 100px;
    border: 1px solid var(--line-2);
    background: var(--surface-2);
    transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease);
}

.theme-toggle__thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--text);
    color: var(--bg);
    transition: transform var(--t) var(--ease), background-color var(--t) var(--ease), color var(--t) var(--ease);
}

.theme-toggle:hover .theme-toggle__track { border-color: rgba(var(--accent-rgb), .5); }

/* açık temada başparmak sağa kayar, koyu temada solda kalır */
[data-theme="light"] .theme-toggle__thumb { transform: translateX(28px); }

.theme-toggle__icon {
    position: absolute;
    transition: opacity var(--t-fast) var(--ease), transform var(--t) var(--ease);
}
.theme-toggle__icon--sun  { opacity: 0; transform: rotate(-70deg) scale(.5); }
.theme-toggle__icon--moon { opacity: 1; transform: none; }

[data-theme="light"] .theme-toggle__icon--sun  { opacity: 1; transform: none; }
[data-theme="light"] .theme-toggle__icon--moon { opacity: 0; transform: rotate(70deg) scale(.5); }

.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 100px; }

@media (max-width: 520px) {
    .theme-toggle__track { width: 48px; height: 26px; }
    .theme-toggle__thumb { width: 20px; height: 20px; }
    [data-theme="light"] .theme-toggle__thumb { transform: translateX(22px); }
}

/* ==========================================================================
   BROADCAST — sinematik, ölçek değişimli
   --------------------------------------------------------------------------
   Bu yönün kuralları:
     · Metin az, görsel çok. Her bölüm tek bir fikri söyler.
     · Ölçek değişimi bölümün ritmidir: devasa → küçük → devasa.
     · Hareket amaca hizmet eder; dekoratif efekt yok.
     · Yalnızca transform / opacity animasyonu (layout tetiklemez).
   ========================================================================== */

/* --- yayın dokusu: ince tarama çizgileri + hareketli sinyal ---------- */
.broadcast-fx {
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: soft-light;
    opacity: .5;
}
.broadcast-fx::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, .035) 0 1px,
        transparent 1px 3px
    );
}
.broadcast-fx::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 22vh;
    background: linear-gradient(to bottom, transparent, rgba(var(--accent-rgb), .07), transparent);
    transform: translateY(-100%);
    animation: signalSweep 7.5s var(--ease-io) infinite;
}
@keyframes signalSweep {
    0%   { transform: translateY(-120%); opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { transform: translateY(560%); opacity: 0; }
}

/* ==========================================================================
   1. HERO — devasa ölçek, tek kare
   ========================================================================== */
.reel {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(85px + clamp(2rem, 5vh, 4rem));
    padding-bottom: clamp(3rem, 6vh, 5.5rem);
    overflow: hidden;
    isolation: isolate;
    box-sizing: border-box;
}
.reel__canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}
/* arka planda büyük, bulanık proje görseli */
.reel__veil {
    position: absolute;
    inset: -6%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    filter: blur(4px) saturate(1.1);
    opacity: .2;
    transform: scale(1.06);
    pointer-events: none;
}
[data-theme="light"] .reel__veil { opacity: .14; }

.reel__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}
.reel__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .reel__layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: clamp(2rem, 4vw, 5rem);
    }
}
.reel__content {
    display: flex;
    flex-direction: column;
}

/* üst durum şeridi: zaman + konum + durum */
.reel__status {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem 1rem;
    margin-bottom: 1.4rem;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .85rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: .82rem;               /* 13.1px — 11.5px okunmuyordu */
    letter-spacing: .08em;
    color: var(--text-2);
}
.status-badge b { color: var(--text); font-weight: 600; }
.status-badge--subtle { background: transparent; border-color: rgba(255, 255, 255, .06); }
.status-badge__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .2);
    animation: dotPulse 2s cubic-bezier(.16, 1, .3, 1) infinite;
}
.reel__status-sep { opacity: .4; color: var(--text-3); }

/* ana başlık: orantılı, net, modern ajans tipografisi */
.reel__title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.2vw, 2.85rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin: 0 0 1rem;
    color: var(--text);
    max-width: 22ch;
    text-wrap: balance;
}
.reel__title em {
    font-style: normal;
    color: var(--accent);
    display: inline-block;
}
.reel__title .w > i {
    display: inline-block;
    font-style: inherit;
    transform: translateY(102%);
    opacity: 0;
    transition: transform .9s var(--ease), opacity .7s var(--ease);
}
.is-ready .reel__title .w > i,
.reel.is-ready .reel__title .w > i {
    transform: translateY(0);
    opacity: 1;
}

.reel__sub {
    margin: 0 0 1.3rem;
    font-size: clamp(.95rem, 1.15vw, 1.08rem);
    line-height: 1.55;
    color: var(--text-2);
    max-width: 42ch;
    opacity: 1;
    transform: none;
}

/* alt satır: butonlar + kaydırma ipucu */
.reel__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.6rem;
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
}
.reel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    align-items: center;
}

/* 3D Holografik & Uzamsal Medya Sahnesi */
.reel__stage {
    position: relative;
    width: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    transform-style: preserve-3d;
}
/* Telefonda sahne 440px yer kaplıyor ama içindeki kartlar bulanık gölge
   gibi görünüyor, boşluk gibi duruyordu. Kaldırıyoruz; hero'nun görseli
   `.reel__veil` arka planında durmaya devam ediyor. */
@media (max-width: 760px) {
    .reel__stage { display: none; }
    .reel { min-height: auto; }
    /* İçerik 880px'e çıkıyordu; ekran 844px. Birincil eylem görünmüyordu.
       Dikey ritmi sıkılaştırıyoruz: kaydırma ipucu masaüstüne özgü,
       rozet ve çip boşlukları daraltılıyor. */
    .reel { padding-top: calc(84px + clamp(1.2rem, 3vh, 2rem)); }
    .reel__status { margin-bottom: 1rem; gap: .4rem .7rem; }
    .status-badge { padding: .4rem .7rem; font-size: .82rem; }
    .reel__title { margin-bottom: .8rem; }
    .reel__sub { margin-bottom: 1rem; }
    .pillars { margin-top: 1.2rem; gap: .35rem; }
    .pillars__item { padding: .4rem .85rem; font-size: .85rem; }
    .reel__foot { margin-top: 1.4rem; }
    .reel__hint { display: none; }
}
@media (min-width: 1024px) {
    .reel__stage {
        min-height: 500px;
    }
}

.stage-3d {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transition: transform .22s ease-out;
    cursor: grab;
    user-select: none;
    touch-action: none;
}
.stage-3d:active {
    cursor: grabbing;
}

.stage-3d__halo {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), .16) 0%, rgba(139, 108, 255, .08) 50%, transparent 72%);
    filter: blur(48px);
    z-index: 1;
    pointer-events: none;
}

.stage-3d__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: auto;
}

.media-orb {
    position: absolute;
    z-index: 3;
    padding: .95rem 1.15rem;
    border-radius: var(--r);
    background: rgba(15, 18, 24, .82);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 48px -15px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .14);
    transform-style: preserve-3d;
    cursor: pointer;
    pointer-events: auto;
    transition: border-color .3s ease, box-shadow .3s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
}
.media-orb:hover {
    border-color: rgba(var(--accent-rgb), .4);
    box-shadow: 0 28px 64px -15px rgba(0, 0, 0, .95), 0 0 24px rgba(var(--accent-rgb), .15);
}

.media-orb--1 {
    top: 4%;
    right: 0%;
    width: 230px;
    transform: translate3d(0, 0, 50px) rotateY(-8deg);
    animation: floatOrb1 9s ease-in-out infinite alternate;
}
.media-orb--2 {
    bottom: 8%;
    left: -2%;
    width: 220px;
    transform: translate3d(0, 0, 75px) rotateY(6deg);
    animation: floatOrb2 11s ease-in-out infinite alternate;
}
.media-orb--3 {
    bottom: 4%;
    right: 4%;
    width: 200px;
    transform: translate3d(0, 0, 40px);
    animation: floatOrb3 10s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
    0%   { transform: translate3d(0, 0, 50px) rotateY(-8deg); }
    100% { transform: translate3d(-6px, -14px, 68px) rotateY(-5deg); }
}
@keyframes floatOrb2 {
    0%   { transform: translate3d(0, 0, 75px) rotateY(6deg); }
    100% { transform: translate3d(10px, -12px, 92px) rotateY(9deg); }
}
@keyframes floatOrb3 {
    0%   { transform: translate3d(0, 0, 40px); }
    100% { transform: translate3d(-6px, 12px, 55px); }
}

.media-orb__body {
    position: relative;
    z-index: 2;
    transform: translateZ(12px);
}
.media-orb__head {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .4rem;
}
.media-orb__dot {
    width: 7px; height: 7px;
    border-radius: 50%;
}
.media-orb__dot--amber  { background: var(--amber); box-shadow: 0 0 8px rgba(255, 176, 32, .6); }
.media-orb__dot--violet { background: var(--violet); box-shadow: 0 0 8px rgba(139, 108, 255, .6); }
.media-orb__dot--cyan   { background: var(--cyan); box-shadow: 0 0 8px rgba(34, 211, 238, .6); }

.media-orb__rec {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, .8);
    animation: recBlink 1.4s ease-in-out infinite;
}
@keyframes recBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: .3; }
}

.media-orb__badge {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: .78rem;               /* 12.5px */
    letter-spacing: .06em;
    padding: .15rem .45rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    color: var(--text-2);
}

.media-orb__visual {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 22px;
    margin: .55rem 0 .45rem;
    padding: 2px 0;
}
.media-orb__bar {
    flex: 1;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(var(--accent-rgb), .35) 100%);
    border-radius: 2px;
    animation: barEq 1.8s ease-in-out infinite alternate;
}
.media-orb__bar:nth-child(2) { animation-delay: .25s; }
.media-orb__bar:nth-child(3) { animation-delay: .5s; }
.media-orb__bar:nth-child(4) { animation-delay: .1s; }
.media-orb__bar:nth-child(5) { animation-delay: .4s; }
.media-orb__bar:nth-child(6) { animation-delay: .6s; }
.media-orb__bar:nth-child(7) { animation-delay: .3s; }

@keyframes barEq {
    0%   { transform: scaleY(.6); }
    100% { transform: scaleY(1.05); }
}

.media-orb__k {
    font-family: var(--font-mono);
    font-size: .82rem;               /* 13.1px — 10.2px okunmuyordu */
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-3);
}
.media-orb__val {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: .15rem;
}
.media-orb__sub {
    font-size: .84rem;               /* 13.4px */
    color: var(--text-2);
    line-height: 1.35;
}

.media-orb__studio-mark {
    margin: .45rem 0 .55rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.media-orb__studio-mark b {
    font-family: var(--font-display);
    font-size: .88rem;
    letter-spacing: .02em;
    color: var(--text);
}
.media-orb__studio-mark span {
    font-family: var(--font-mono);
    font-size: .8rem;                /* 12.8px — 10.2px okunmuyordu */
    letter-spacing: .08em;
    color: var(--text-3);
}

.media-orb__swatches {
    display: flex;
    gap: .4rem;
    align-items: center;
}
.media-orb__swatch {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, .15);
}
.media-orb__swatch--amber  { background: var(--amber); }
.media-orb__swatch--violet { background: var(--violet); }
.media-orb__swatch--cyan   { background: var(--cyan); }

.stage-3d__cue {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) translateZ(24px);
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .4rem .85rem;
    border-radius: 100px;
    background: rgba(16, 19, 25, .75);
    border: 1px solid rgba(255, 255, 255, .1);
    font-family: var(--font-mono);
    font-size: .82rem;               /* 13.1px */
    letter-spacing: .08em;
    color: var(--text-3);
    pointer-events: none;
    white-space: nowrap;
    z-index: 4;
}

/* 3D Tilt Glare Overlay */
.rail__card, .reel-plate, .media-orb {
    transform-style: preserve-3d;
}
.rail__card::after, .reel-plate::after, .media-orb::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle 220px at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, .12) 0%, transparent 70%);
    opacity: 0;
    transition: opacity .35s var(--ease);
    border-radius: inherit;
    z-index: 10;
}
.rail__card:hover::after, .reel-plate:hover::after, .media-orb:hover::after {
    opacity: 1;
}
/* Kaydırma ipucu: 1 piksellik dikey çizgi "aşağı kaydır" demiyordu.
   Gövdeli, aşağı bakan bir ok; aşağı doğru kısa bir hareketle
   "devamı aşağıda" der. */
.reel__hint-arrow {
    display: block;
    margin-inline: auto;
    color: var(--accent);
    animation: hintDrop 2.1s var(--ease-io) infinite;
}
@keyframes hintDrop {
    0%, 100% { transform: translateY(-4px); opacity: .5; }
    45%      { transform: translateY(4px);  opacity: 1; }
}

/* ==========================================================================
   2. "YAYINDA" MODÜLÜ — canlı durum
   ========================================================================== */
.onair {
    border-block: 1px solid var(--line);
    background: var(--bg-2);
    overflow: hidden;
}
.onair__track {
    display: flex;
    width: max-content;
    animation: marqueeRun 38s linear infinite;
}
.onair:hover .onair__track { animation-play-state: paused; }
.onair__group { display: flex; }
.onair__item {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: 1.15rem 1.6rem;          /* 44px+ yükseklik */
    font-family: var(--font-mono);
    font-size: .82rem;                /* 13.1px */
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-3);
    white-space: nowrap;
}
.onair__item b { color: var(--text); font-weight: 500; }
.onair__lamp {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #ff3b30;
    box-shadow: 0 0 0 0 rgba(255, 59, 48, .6);
    animation: lampPulse 1.9s infinite;
}
.onair__lamp--ok { background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
@keyframes lampPulse {
    0%   { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
    70%  { box-shadow: 0 0 0 8px transparent; opacity: .55; }
    100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}

/* ==========================================================================
   3. ÖLÇEK DEĞİŞİMİ — dev küçük dev
   ========================================================================== */
.shift { position: relative; overflow: clip; }

.shift__giant {
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 22vw, 22rem);
    font-weight: 700;
    line-height: .8;
    letter-spacing: -.055em;
    margin: 0;
    color: var(--text);
    white-space: nowrap;
}
/* Dar ekranda "TASARIM + YAZILIM" 22vw ile ~690px çıkıyor ve yarısı
   görünmüyordu. Ekrana sığdırıyoruz: ölçüldü, 11vw'te kelime 353px'e
   sığıyor. Kalan taşma ebeveynde kesilir ki kazara kaydırma çubuğu çıkmasın. */
@media (max-width: 700px) {
    .shift__giant { font-size: clamp(2.5rem, 11vw, 3.4rem); }
    .section.shift .shell { overflow: hidden; }
}
.shift__giant em { font-style: normal; color: var(--accent); }

.shift__small {
    display: grid;
    gap: 1.6rem 3rem;
    margin-top: clamp(1.6rem, 4vw, 3rem);
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
}
@media (min-width: 860px) {
    .shift__small { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}
.shift__lede {
    margin: 0;
    max-width: 44ch;
    font-size: clamp(1rem, 1.4vw, 1.22rem);
    line-height: 1.5;
    color: var(--text-2);
}

/* scroll ile ölçeklenen dev metin */
[data-scale] {
    transform: scale(var(--scale, 1));
    transform-origin: left center;
    will-change: transform;
}

/* ==========================================================================
   4. HİZMET RAYI — yatay gezinme ve kontroller
   ========================================================================== */
.rail { position: relative; }

.rail__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
    margin-top: 1.15rem;
    padding-top: .9rem;
    border-top: 1px solid var(--line);
}

.rail__hint {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .86rem;
    font-weight: 500;
    color: var(--amber);
    letter-spacing: .02em;
}

.rail__hint-arrow {
    display: inline-block;
    color: var(--amber);
    animation: railArrowPulse 1.6s ease-in-out infinite;
}

@keyframes railArrowPulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

.rail__controls {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.rail__arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--text);
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
}

.rail__arrow-btn:hover:not(:disabled) {
    background: var(--amber);
    border-color: var(--amber);
    color: #000;
    transform: scale(1.06);
}

.rail__arrow-btn:disabled {
    opacity: .3;
    cursor: not-allowed;
}

.rail__viewport {
    display: flex;
    gap: 1px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
}
.rail__viewport::-webkit-scrollbar { display: none; }
.rail__spacer { flex: 0 0 var(--gutter); }
.rail__end { flex: 0 0 var(--gutter); }

.rail__card {
    position: relative;
    flex: 0 0 auto;
    width: min(78vw, 460px);
    min-height: clamp(340px, 52vh, 520px);
    display: flex;
    flex-direction: column;
    padding: 0;
    scroll-snap-align: center;
    border-left: 1px solid var(--line);
    background: var(--surface);
    overflow: hidden;
    isolation: isolate;
    transition: background .5s var(--ease), border-color .5s var(--ease);
}
.rail__card:hover {
    background: var(--surface-2);
    border-color: rgba(var(--accent-rgb), .35);
}
.rail__card:first-child { border-left: none; }

.rail__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.rail__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .28;
    filter: saturate(.85) contrast(1.1);
    transform: scale(1.02);
    transition: transform .7s var(--ease), opacity .7s var(--ease), filter .7s var(--ease);
}
.rail__card:hover .rail__bg-img {
    transform: scale(1.08);
    opacity: .52;
    filter: saturate(1.1) contrast(1.15);
}
.rail__bg-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 13, 18, .65) 0%, rgba(10, 13, 18, .84) 45%, rgba(10, 13, 18, .96) 100%),
        radial-gradient(ellipse at 50% 20%, transparent 20%, rgba(10, 13, 18, .75) 100%);
    transition: opacity .5s var(--ease);
}
.rail__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: .8rem;
    height: 100%;
    padding: 1.8rem;
}
.rail__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .2rem;
}
.rail__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    color: var(--accent);
    transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}
.rail__card:hover .rail__icon {
    transform: translateY(-2px) scale(1.08);
    background: rgba(var(--accent-rgb), .16);
    border-color: rgba(var(--accent-rgb), .35);
}

.rail__num {
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .12em;
    color: var(--text-3);
}
.rail__card:hover .rail__num { color: var(--accent); }
.rail__title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.038em;
    margin: 0;
}
.rail__text {
    margin: 0;
    font-size: .95rem;
    line-height: 1.55;
    color: var(--text-2);
    max-width: 34ch;
}
.rail__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; }
.rail__tags span {
    padding: .28rem .65rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: .82rem;               /* 13.1px */
    color: var(--text-3);
    background: rgba(255, 255, 255, .03);
}
.rail__go {
    display: inline-flex;
    align-items: center;
    min-height: 44px;                 /* dokunma hedefi */
    gap: .5rem;
    font-size: .9rem;
    font-weight: 550;
    color: var(--accent);
}
.rail__go svg { transition: transform .4s var(--ease); }
.rail__card:hover .rail__go svg { transform: translateX(5px); }

/* Açık tema için servis arka plan uyumu */
[data-theme="light"] .rail__bg-scrim,
[data-theme="light"] .svc-card__bg-scrim {
    background:
        linear-gradient(180deg, rgba(246, 247, 249, .75) 0%, rgba(246, 247, 249, .90) 50%, rgba(246, 247, 249, .98) 100%),
        radial-gradient(ellipse at 50% 15%, transparent 20%, rgba(246, 247, 249, .8) 100%);
}
[data-theme="light"] .rail__bg-img,
[data-theme="light"] .svc-card__bg-img {
    opacity: .18;
}
[data-theme="light"] .rail__card:hover .rail__bg-img,
[data-theme="light"] .svc-card__link:hover .svc-card__bg-img {
    opacity: .34;
}

/* ray ilerleme göstergesi */
.rail__progress {
    height: 2px;
    margin-top: 1.2rem;
    background: var(--line);
    position: relative;
    overflow: hidden;
}
.rail__progress i {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--rail-progress, 20%);
    background: var(--accent);
    transform-origin: left;
}

/* ==========================================================================
   5. SİNEMATİK PLAKALAR — tam ekran, paralaks
   ========================================================================== */
.reel-plate {
    position: relative;
    display: block;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.reel-plate__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-2);
    border-radius: 3px;
}
@media (min-width: 800px) {
    .reel-plate__media { aspect-ratio: 21 / 9; }
}
.reel-plate__img {
    position: absolute;
    inset: -8% 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    filter: var(--img-filter);
    /* scroll'a bağlı iç parallax — yalnızca transform */
    transform: translate3d(0, var(--parallax, 0), 0) scale(1.04);
    will-change: transform;
    transition: transform .3s linear;
}
.reel-plate:hover .reel-plate__img { transform: translate3d(0, var(--parallax, 0), 0) scale(1.09); }

.reel-plate__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--scrim-solid) 0%, transparent 55%);
}
.reel-plate__bar {
    position: absolute;
    left: clamp(1rem, 2.5vw, 2rem);
    right: clamp(1rem, 2.5vw, 2rem);
    bottom: clamp(1rem, 2.5vw, 1.8rem);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: .75rem 2rem;
    min-width: 0;
}
.reel-plate__bar > * { min-width: 0; }
/* Proje numarası dar ekranda alttaki satıra taşsın; sağa yapışmasın.
   Bu geçersiz kılma, `white-space: nowrap` tanımından SONRA gelmeli. */
@media (max-width: 700px) {
    .reel-plate__bar { flex-direction: column; align-items: flex-start; }
}
.reel-plate__title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: .9;
    letter-spacing: -.045em;
    margin: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    color: #fff;
    text-shadow: 0 4px 40px rgba(0, 0, 0, .5);
    transition: color .4s var(--ease);
}
.reel-plate:hover .reel-plate__title { color: var(--accent-soft); }
.reel-plate__sub {
    display: block;
    margin-top: .5rem;
    font-size: .9rem;
    color: rgba(255, 255, 255, .72);
    /* 44ch dar ekranda 550px'e kadar uzanıyordu ve kırpılıyordu.
       min() ile kaba daima üst sınır. */
    max-width: min(44ch, 100%);
    min-width: 0;
    overflow-wrap: anywhere;
}
.reel-plate__id {
    font-family: var(--font-mono);
    font-size: .82rem;               /* 13.1px */
    letter-spacing: .14em;
    color: rgba(255, 255, 255, .6);
    white-space: nowrap;
}
.reel-plate__id b { color: var(--accent); font-weight: 500; }
/* nowrap, uzun kategori adını dar ekranda 477px'e taşıyor ve kırpılıyordu. */
@media (max-width: 700px) {
    .reel-plate__id {
        order: 2;
        white-space: normal;
        line-height: 1.45;
        opacity: .85;
    }
}

/* ==========================================================================
   6. SAYILAR — dev
   ========================================================================== */
.tally {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border-block: 1px solid var(--line);
}
@media (min-width: 900px) { .tally { grid-template-columns: repeat(4, 1fr); } }
.tally__item {
    background: var(--bg);
    padding: clamp(1.6rem, 4vw, 3rem) clamp(1rem, 2vw, 1.6rem);
}
.tally__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 9vw, 7rem);
    font-weight: 700;
    line-height: .84;
    letter-spacing: -.05em;
    font-variant-numeric: tabular-nums;
    color: var(--text);
}
.tally__label {
    display: block;
    margin-top: .7rem;
    font-family: var(--font-mono);
    font-size: .82rem;               /* 13.1px */
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-3);
}

/* ==========================================================================
   7. SORU SATIRLARI — çok kısa metin
   ========================================================================== */
.prompts { border-top: 1px solid var(--line); }
.prompt {
    border-bottom: 1px solid var(--line);
    position: relative;
}
.prompt__link {
    display: grid;
    gap: .5rem 1.5rem;
    align-items: baseline;
    padding: clamp(1.1rem, 2.6vw, 2.2rem) 0;
    transition: transform .5s var(--ease);
}
@media (min-width: 820px) {
    .prompt__link { grid-template-columns: 4rem minmax(0, 1fr) auto; }
}
.prompt:hover .prompt__link { transform: translateX(clamp(.4rem, 1.4vw, 1.2rem)); }
.prompt__num {
    font-family: var(--font-mono);
    font-size: .82rem;               /* 13.1px */
    color: var(--text-3);
    letter-spacing: .12em;
}
.prompt__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 3.6rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.04em;
    margin: 0;
    transition: color .4s var(--ease);
}
.prompt:hover .prompt__title { color: var(--accent); }
.prompt__go {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-mono);
    font-size: .82rem;               /* 13.1px — 10.9px okunmuyordu */
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
}
.prompt__go svg { transition: transform .4s var(--ease); }
.prompt:hover .prompt__go svg { transform: translateX(5px); }

/* ==========================================================================
   8. TERS BANT — ritim kırıcı (aynı mantık, yayın dili)
   ========================================================================== */
.band-invert {
    background: var(--inverse-bg);
    color: var(--inverse-text);
    padding-block: clamp(4rem, 9vw, 8rem);
    position: relative;
    overflow: hidden;
    --accent: var(--accent-on-inverse);
    --accent-rgb: var(--accent-on-inverse-rgb);
}
.band-invert .section-head__title { color: var(--inverse-text); }
.band-invert .section-head__lead  { color: var(--inverse-text-2); }
.band-invert .eyebrow             { color: var(--inverse-text-2); }

/* finder ters bant içinde */
.band-invert .finder {
    background:
        radial-gradient(ellipse 70% 80% at 0% 0%, rgba(var(--accent-rgb), .12), transparent 62%),
        var(--inverse-bg-2);
    border-color: rgba(127, 127, 127, .3);
}
.band-invert .finder__q { color: var(--inverse-text); }
.band-invert .finder__option {
    background: rgba(127, 127, 127, .08);
    border-color: rgba(127, 127, 127, .3);
    color: var(--inverse-text);
}
.band-invert .finder__option:hover {
    background: rgba(var(--accent-rgb), .12);
    border-color: var(--accent);
    color: var(--inverse-text);
}
.band-invert .finder__result-item {
    background: rgba(var(--accent-rgb), .1);
    border-color: rgba(var(--accent-rgb), .45);
    color: var(--inverse-text);
}
.band-invert .finder__result-item span { color: var(--inverse-text-2); }

/* ==========================================================================
   9. KAPANIŞ — tam ekran
   ========================================================================== */
.closer {
    position: relative;
    padding-block: clamp(5rem, 14vh, 11rem);
    overflow: hidden;
    border-top: 1px solid var(--line);
    text-align: center;
    background:
        radial-gradient(ellipse 60% 80% at 50% 110%, rgba(var(--accent-rgb), .16), transparent 62%),
        var(--bg-2);
}
.closer__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 9vw, 8rem);
    font-weight: 700;
    line-height: .88;
    letter-spacing: -.05em;
    margin: 0 0 1.4rem;
    max-width: 16ch;
    margin-inline: auto;
}
.closer__title em { font-style: normal; color: var(--accent); }
.closer__sub {
    max-width: 46ch;
    margin: 0 auto 2.2rem;
    color: var(--text-2);
    font-size: clamp(.98rem, 1.3vw, 1.15rem);
}
.closer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    justify-content: center;
}
.closer__meta {
    margin: 2.4rem 0 0;
    font-family: var(--font-mono);
    font-size: .82rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-3);
}
.closer__meta a:hover { color: var(--accent); }

/* ==========================================================================
   10. AZALTILMIŞ HAREKET
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .broadcast-fx,
    .broadcast-fx::after { display: none; }
    .onair__track { animation: none; }
    .reel__hint-arrow { animation: none; }
    .onair__lamp { animation: none; }
    .reel-plate__img { transform: none !important; }
    [data-scale] { transform: none !important; }
    .reel__title .w > i { transform: none !important; }
}

/* ==========================================================================
   HERO — net ve kullanışlı
   --------------------------------------------------------------------------
   Öncelik sırası: (1) ne yaptığımız ilk ekranda anlaşılsın,
   (2) tek bakışta okunabilen tam bir cümle, (3) ölçek.
   ========================================================================== */

/* Başlık orantılı ve net tutulur; cümle bütün
   görünür ve 3D sahneyi boğmaz. */
.reel__title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.2vw, 2.85rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin: 0 0 1rem;
    max-width: 24ch;
    text-wrap: balance;
}
.reel__title em {
    font-style: normal;
    color: var(--accent);
}
/* Kelime kelime açılma — satır sarmalayıcı olmadan, doğrudan kelimede.
   Gecikmeler soldan sağa akar; ilk kelime vurgulanmaz, vurgu sondaki fiildedir. */
.reel__title .w {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}
.reel__title .w > i {
    display: inline-block;
    font-style: inherit;
    transform: translateY(105%);
    transition: transform .95s var(--ease);
}
.reel__title .w:nth-child(1) > i  { transition-delay: .06s; }
.reel__title .w:nth-child(2) > i  { transition-delay: .13s; }
.reel__title .w:nth-child(3) > i  { transition-delay: .20s; }
.reel__title .w:nth-child(4) > i  { transition-delay: .27s; }
.reel__title .w:nth-child(5) > i  { transition-delay: .34s; }
.reel__title .w:nth-child(6) > i  { transition-delay: .41s; }
.reel__title .w:nth-child(7) > i  { transition-delay: .48s; }
.reel__title .w:nth-child(8) > i  { transition-delay: .55s; }
.reel__title .w:nth-child(n+9) > i { transition-delay: .60s; }
.is-ready .reel__title .w > i { transform: translateY(0); }

@media (min-width: 1100px) {
    .reel__title { max-width: 24ch; }
}

/* Kısa tanım — dengeli ve kompakt */
.reel__sub {
    margin: 0 0 1.3rem;
    max-width: 42ch;
    font-size: clamp(.95rem, 1.15vw, 1.08rem);
    line-height: 1.55;
    color: var(--text-2);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .7s var(--ease) .5s, transform .7s var(--ease) .5s;
}
.is-ready .reel__sub { opacity: 1; transform: none; }

/* Hizmet şeridi — ajansın alanı ilk ekranda belli olsun */
.pillars {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: clamp(1.6rem, 3.5vw, 2.4rem) 0 0;
    padding: 0;
    list-style: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .7s var(--ease) .62s, transform .7s var(--ease) .62s;
}
.is-ready .pillars { opacity: 1; transform: none; }

.pillars__item {
    display: inline-flex;
    align-items: center;
    min-height: 44px;                 /* dokunma hedefi */
    gap: .45rem;
    padding: .45rem 1rem;
    border: 1px solid var(--line-2);
    border-radius: 100px;
    font-size: .9rem;
    color: var(--text-2);
    transition: border-color .3s, color .3s, background .3s, transform .3s var(--ease);
}
.pillars__item svg { opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .3s var(--ease); }
.pillars__item:hover {
    border-color: var(--accent);
    color: var(--text);
    background: rgba(var(--accent-rgb), .09);
    transform: translateY(-2px);
}
.pillars__item:hover svg { opacity: 1; transform: none; color: var(--accent); }

/* Alt çizgi artık yalnızca eylem satırını taşır */
.reel__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem 2rem;
    margin-top: clamp(1.8rem, 4vh, 3rem);
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
}

@media (prefers-reduced-motion: reduce) {
    .reel__sub,
    .pillars { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   PORTFOLIO & VITRIN SHOWCASE
   ========================================================================== */

/* --- İstatistik / Güven Çubuğu --- */
.section--portfolio-stats {
    padding-top: 0;
    padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.portfolio-stats-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 1.5rem;
    padding: 1.25rem 2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.portfolio-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.portfolio-stat__num {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--accent);
    letter-spacing: -.02em;
}
.portfolio-stat__label {
    font-size: .85rem;
    color: var(--text-2);
    margin-top: .25rem;
}
.portfolio-stat__divider {
    width: 1px;
    height: 36px;
    background: var(--line);
    display: none;
}
@media (min-width: 640px) {
    .portfolio-stat__divider { display: block; }
}

/* --- Kategori Filtre Butonları --- */
.portfolio-controls {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .6rem;
}
.portfolio-filter {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.15rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-2);
    cursor: pointer;
    transition: all .25s var(--ease);
}
.portfolio-filter:hover {
    color: var(--text);
    border-color: var(--line-strong, rgba(255,255,255,.2));
    transform: translateY(-1px);
}
.portfolio-filter.is-active {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.portfolio-filter__count {
    display: inline-block;
    padding: .15rem .45rem;
    font-size: .75rem;
    font-family: var(--font-mono);
    border-radius: 999px;
    background: rgba(125, 125, 125, 0.15);
    color: inherit;
}
.portfolio-filter.is-active .portfolio-filter__count {
    background: rgba(0, 0, 0, 0.2);
}
[data-theme="dark"] .portfolio-filter.is-active .portfolio-filter__count {
    background: rgba(255, 255, 255, 0.2);
}

/* --- Vitrin Kartları Izgarası --- */
.portfolio-showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: clamp(3.5rem, 6vw, 5rem);
}
@media (min-width: 960px) {
    .portfolio-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* --- Vitrin Kartı --- */
.portfolio-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl, 20px);
    overflow: hidden;
    transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.portfolio-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.portfolio-card--it {
    border-color: rgba(56, 189, 248, 0.35);
    position: relative;
}
.portfolio-card--it:hover {
    border-color: #38bdf8;
    box-shadow: 0 16px 40px rgba(56, 189, 248, 0.15);
}

/* --- Tarayıcı Çerçevesi (Mockup) --- */
.portfolio-card__browser {
    background: #0f1117;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    position: relative;
}
.portfolio-card__browser-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem 1rem;
    background: rgba(25, 29, 39, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.portfolio-card__browser-dots {
    display: flex;
    gap: 6px;
}
.portfolio-card__browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.portfolio-card__browser-dots span:nth-child(1) { background: #ff5f56; }
.portfolio-card__browser-dots span:nth-child(2) { background: #ffbd2e; }
.portfolio-card__browser-dots span:nth-child(3) { background: #27c93f; }

.portfolio-card__browser-url {
    display: flex;
    align-items: center;
    gap: .4rem;
    max-width: 60%;
    padding: .2rem .75rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: .75rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.portfolio-card__browser-url svg {
    color: #22c55e;
    flex-shrink: 0;
}
.portfolio-card__browser-ext {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    transition: color .2s;
}
.portfolio-card__browser-ext:hover {
    color: #ffffff;
}

/* --- Ekran Alanı & Görsel --- */
.portfolio-card__screen {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #08090d;
    overflow: hidden;
}
.portfolio-card__media-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.portfolio-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-card:hover .portfolio-card__img {
    transform: scale(1.03);
}
.portfolio-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s var(--ease);
    backdrop-filter: blur(2px);
}
.portfolio-card:hover .portfolio-card__overlay {
    opacity: 1;
}
.portfolio-card__zoom-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #0b0c10;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(6px);
    transition: transform .3s var(--ease);
}
.portfolio-card:hover .portfolio-card__zoom-btn {
    transform: translateY(0);
}

/* --- Mobil Cihaz Örtüşmesi (Floating Phone Mockup) --- */
.portfolio-card__mobile-mockup {
    position: absolute;
    right: 1.25rem;
    bottom: -1rem;
    width: clamp(75px, 20%, 110px);
    aspect-ratio: 9 / 19.5;
    background: #000;
    border: 3px solid #2d3342;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    z-index: 2;
    transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.portfolio-card:hover .portfolio-card__mobile-mockup {
    transform: translateY(-8px) scale(1.04);
}
.portfolio-card__mobile-notch {
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 32%;
    height: 4px;
    background: #111;
    border-radius: 4px;
    z-index: 3;
}
.portfolio-card__mobile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* --- İçerik Alanı --- */
.portfolio-card__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: clamp(1.25rem, 3vw, 1.75rem);
}
.portfolio-card__header {
    margin-bottom: .75rem;
}
.portfolio-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .5rem;
}
.portfolio-card__tag {
    font-size: .75rem;
    font-weight: 600;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--accent);
}
.portfolio-card__status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    color: var(--text-3);
}
.portfolio-card__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}
.portfolio-card__title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 .35rem;
}
.portfolio-card__title a {
    color: var(--text);
    text-decoration: none;
    transition: color .2s;
}
.portfolio-card__title a:hover {
    color: var(--accent);
}
.portfolio-card__subtitle {
    font-size: .92rem;
    color: var(--text-2);
    margin: 0;
    line-height: 1.45;
}
.portfolio-card__desc {
    font-size: .88rem;
    color: var(--text-2);
    line-height: 1.55;
    margin: .75rem 0 1rem;
    flex-grow: 1;
}

/* --- Kuasar UK IT Support Kutusu --- */
.portfolio-callout {
    display: flex;
    gap: .75rem;
    padding: .85rem 1rem;
    border-radius: var(--radius-md, 10px);
    margin: .75rem 0 1rem;
}
.portfolio-callout--it {
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #38bdf8;
}
[data-theme="light"] .portfolio-callout--it {
    background: rgba(2, 132, 199, 0.08);
    border-color: rgba(2, 132, 199, 0.25);
    color: #0284c7;
}
.portfolio-callout__icon {
    flex-shrink: 0;
    margin-top: 2px;
}
.portfolio-callout__text {
    font-size: .84rem;
    line-height: 1.45;
    margin: 0;
    color: var(--text);
}

/* --- Teslim Edilen Hap Etiketleri --- */
.portfolio-card__pills {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding: 0;
    margin: 0 0 1.25rem;
    list-style: none;
}
.portfolio-card__pills li {
    font-size: .78rem;
    padding: .25rem .65rem;
    background: rgba(125, 125, 125, 0.08);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-2);
}

/* --- Eylem Butonları --- */
.portfolio-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}
.portfolio-card__btn-live {
    background: var(--accent);
    color: #fff !important;
}
.portfolio-card__gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-left: auto;
    padding: .45rem .85rem;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius-md, 8px);
    font-size: .8rem;
    color: var(--text-2);
    cursor: pointer;
    transition: all .2s;
}
.portfolio-card__gallery-btn:hover {
    color: var(--text);
    border-color: var(--line-strong, rgba(255,255,255,.2));
    background: rgba(125, 125, 125, 0.06);
}

/* --- İkincil Bölüm --- */
.portfolio-secondary-section {
    padding-top: clamp(2.5rem, 5vw, 4rem);
    border-top: 1px solid var(--line);
}

/* --- Lightbox Modal --- */
.portfolio-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.portfolio-modal[hidden] {
    display: none !important;
}
.portfolio-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 12, 0.88);
    backdrop-filter: blur(8px);
}
.portfolio-modal__dialog {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1100px;
    max-height: 92vh;
    background: #11141c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl, 18px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}
.portfolio-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.portfolio-modal__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}
.portfolio-modal__counter {
    font-family: var(--font-mono);
    font-size: .8rem;
    color: #94a3b8;
}
.portfolio-modal__close {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: .4rem;
    cursor: pointer;
    border-radius: 6px;
    display: inline-flex;
    transition: color .2s, background .2s;
}
.portfolio-modal__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
.portfolio-modal__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    min-height: 380px;
    max-height: 65vh;
    background: #08090d;
    padding: 1rem;
    overflow: hidden;
}
.portfolio-modal__frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.portfolio-modal__img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: opacity .25s ease;
}
.portfolio-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(20, 24, 33, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
}
.portfolio-modal__nav:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.08);
}
.portfolio-modal__nav--prev { left: 1rem; }
.portfolio-modal__nav--next { right: 1rem; }

.portfolio-modal__thumbs {
    display: flex;
    gap: .6rem;
    padding: .85rem 1.5rem;
    background: #0c0e14;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
}
.portfolio-modal__thumb {
    width: 60px;
    height: 42px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity .2s, border-color .2s;
}
.portfolio-modal__thumb:hover { opacity: 0.9; }
.portfolio-modal__thumb.is-active {
    opacity: 1;
    border-color: var(--accent);
}
.portfolio-modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- CTA Kartı --- */
.section--portfolio-cta {
    padding-top: 0;
}
.portfolio-cta-card {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), .12), var(--surface));
    border: 1px solid var(--line-strong, rgba(255,255,255,.15));
    border-radius: var(--radius-xl, 24px);
    text-align: center;
    overflow: hidden;
}
.portfolio-cta-card__glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), .2) 0%, transparent 70%);
    pointer-events: none;
}
.portfolio-cta-card__content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
}
.portfolio-cta-card__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin: .85rem 0 .75rem;
}
.portfolio-cta-card__lead {
    font-size: 1.05rem;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 2rem;
}
.portfolio-cta-card__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

