/* =========================================
   TEMEL
   ========================================= */
:root {
    --bg: #050505;
    --fg: #ffffff;
    --muted: #7d7d7d;
    --line: rgba(255, 255, 255, 0.12);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.18, 1);
}

/* Lenis yumusak kaydirma icin gerekli */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background: var(--bg); }

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }

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

html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor .media { cursor: none; }

/* Klavye odagi her temada gorunsun */
:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
html { scroll-padding-top: 96px; }

/* Ekran okuyucuya var, goze yok */
.visually-hidden {
    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: 12px; left: 12px; z-index: 30000;
    padding: 10px 16px; background: #fff; color: #050505; border-radius: 999px;
    font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
    transform: translateY(-200%); transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0); outline: none; }

section, footer, .marquee { position: relative; z-index: 1; }

/* Metin bolme (satir + harf) */
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line-inner { display: block; will-change: transform; }
.char { display: inline-block; will-change: transform; }

/* =========================================
   ACILIS PERDESI
   ========================================= */
.loader {
    position: fixed; inset: 0; z-index: 20000;
    background: #050505; color: #fff;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 5vw;
    will-change: transform;
}
.loader__label { font-size: 0.75rem; letter-spacing: 5px; color: #666; margin-bottom: 1.5vw; }
.loader__count { font-family: 'Bebas Neue', sans-serif; font-size: clamp(6rem, 18vw, 18rem); line-height: 0.8; }
.loader__bar {
    position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
    background: #fff; transform: scaleX(0); transform-origin: left;
}

/* =========================================
   ATMOSFER: GREN + ISIK
   ========================================= */
.grain {
    position: fixed; inset: -50%; width: 200%; height: 200%;
    pointer-events: none; z-index: 9000; opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 0.6s steps(5) infinite;
}
@keyframes grain {
    0% { transform: translate(0, 0); }
    20% { transform: translate(-3%, 2%); }
    40% { transform: translate(2%, -4%); }
    60% { transform: translate(-4%, -1%); }
    80% { transform: translate(3%, 3%); }
    100% { transform: translate(0, 0); }
}

.glow {
    position: fixed; top: 0; left: 0; width: 160px; height: 160px;
    border-radius: 50%; pointer-events: none; z-index: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 35%, rgba(255,255,255,0) 65%);
    opacity: 0;
}

/* Sayfa gecis perdesi (ui.js) */
.page-curtain {
    position: fixed; inset: 0; z-index: 9500; pointer-events: none;
    background: #f2f2f2; transform: scaleY(0); transform-origin: bottom;
}
.page-curtain.is-covering { transform: scaleY(1); transition: transform 0.55s var(--ease-in-out); pointer-events: auto; }
.page-curtain.is-in { transform: scaleY(1); transform-origin: top; }
.page-curtain.is-leaving { transform: scaleY(0); transform-origin: top; transition: transform 0.8s var(--ease-in-out) 0.05s; }
@media (prefers-reduced-motion: reduce) { .page-curtain { display: none; } }

/* Ses ac/kapa (ui.js) */
.sound-toggle {
    position: fixed; left: 22px; bottom: 22px; z-index: 9400;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18); background: rgba(5,5,5,0.6); color: #fff;
    display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px);
    transition: border-color 0.3s, opacity 0.3s;
}
.sound-toggle:hover { border-color: #fff; }
.sound-toggle__bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound-toggle__bars i { width: 2px; background: currentColor; border-radius: 1px; height: 30%; animation: sound-bar 1s ease-in-out infinite; }
.sound-toggle__bars i:nth-child(2) { animation-delay: .15s } .sound-toggle__bars i:nth-child(3) { animation-delay: .3s } .sound-toggle__bars i:nth-child(4) { animation-delay: .45s }
.sound-toggle[aria-pressed="false"] .sound-toggle__bars i { animation: none; height: 25%; opacity: 0.45; }
@keyframes sound-bar { 0%, 100% { height: 30%; } 50% { height: 100%; } }
@media (pointer: coarse) { .sound-toggle { display: none; } }

/* Sayac bitince kucuk nabiz */
.count.is-done { animation: count-pulse 0.5s var(--ease-out); display: inline-block; }
@keyframes count-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }

/* =========================================
   IMLEC
   ========================================= */
.cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0; pointer-events: none; z-index: 10000;
    border-radius: 50%;
    display: none;
}
@media (pointer: fine) { .cursor-dot, .cursor-ring { display: flex; } }

.cursor-dot { width: 8px; height: 8px; background: #fff; mix-blend-mode: difference; }
.cursor-ring {
    width: 40px; height: 40px; border: 1px solid #fff; mix-blend-mode: difference;
    align-items: center; justify-content: center;
    transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), background 0.3s, border-color 0.3s;
}
.cursor-ring__label {
    font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 600; letter-spacing: 2px;
    color: #000; opacity: 0; transform: scale(0.6); transition: opacity 0.25s, transform 0.3s var(--ease-out);
}
.cursor-ring.is-big { width: 80px; height: 80px; }
.cursor-ring.is-label { width: 92px; height: 92px; background: #fff; border-color: #fff; }
.cursor-ring.is-label .cursor-ring__label { opacity: 1; transform: scale(1); }
.cursor-ring.is-hidden, .cursor-dot.is-hidden { opacity: 0; }

/* =========================================
   UST CUBUK
   ========================================= */
.topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 28px 5vw;
    font-size: 0.72rem; letter-spacing: 4px; text-transform: uppercase; font-weight: 400;
    mix-blend-mode: difference; color: #fff;
}
.topbar__nav { display: flex; gap: 36px; }
.topbar a { display: inline-block; position: relative; }
.topbar a::after {
    content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: right;
    transition: transform 0.5s var(--ease-in-out);
}
.topbar a:hover::after { transform: scaleX(1); transform-origin: left; }

/* =========================================
   TIPOGRAFI
   ========================================= */
.huge-text { font-family: 'Bebas Neue', sans-serif; font-size: clamp(5rem, 13vw, 13rem); line-height: 0.9; text-align: center; }
h2, .card-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3rem, 6vw, 6rem); line-height: 1; font-weight: 400; }
.tag { font-size: 0.75rem; letter-spacing: 4px; color: var(--muted); display: block; margin-bottom: 18px; text-transform: uppercase; }
.desc { max-width: 42ch; line-height: 1.7; color: var(--muted); margin-top: 22px; font-size: 1rem; }

/* Teknoloji etiketleri */
.stack { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; }
.stack li {
    font-size: 0.66rem; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted);
}
.note { margin-top: 14px; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.3px; }
.note code { font-family: 'Inter', monospace; font-weight: 600; color: var(--fg); }

/* Dugme */
.btn {
    display: inline-flex; align-items: center; gap: 14px;
    margin-top: 34px; padding: 15px 28px;
    border: 1px solid currentColor; border-radius: 999px;
    font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 400;
    position: relative; overflow: hidden; isolation: isolate;
}
.btn::before {
    content: ''; position: absolute; inset: 0; background: var(--fg);
    transform: scaleY(0); transform-origin: bottom; z-index: -1;
    transition: transform 0.55s var(--ease-in-out);
}
.btn:hover::before { transform: scaleY(1); transform-origin: top; }
.btn span { transition: color 0.3s; }
.btn:hover span { color: var(--bg); }
.btn__arrow { display: inline-flex; transition: transform 0.4s var(--ease-out); }
.btn__arrow svg { display: block; }
.btn:hover .btn__arrow { transform: translate(3px, -3px); }
.btn.is-disabled { opacity: 1; color: var(--muted); border-color: var(--line); pointer-events: none; }

/* Medya kutusu */
.media {
    position: relative; display: block; overflow: hidden;
    border-radius: 16px; aspect-ratio: 16 / 10;
    transform-style: preserve-3d;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
    background: #111;
}
.media-inner {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #1e1e20 0%, #0d0d0e 60%, #161618 100%);
}
.media-inner::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.05), transparent 40%, transparent 60%, rgba(255,255,255,0.04));
    pointer-events: none;
}
.media-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Fareyle gelince ekran goruntusu sagdan kayarak kapagin uzerine acilir; kapak hafif sola kayar */
.media-inner > img:not(.media-shot) { transition: transform 0.9s var(--ease-out); }
.media-shot {
    position: absolute; inset: 0; z-index: 1;
    transform: translateX(102%); transition: transform 0.9s var(--ease-out);
    box-shadow: -40px 0 80px rgba(0, 0, 0, 0.55); will-change: transform;
}
.media.is-hover .media-shot { transform: translateX(0); }
.media.is-hover .media-inner > img:not(.media-shot) { transform: translateX(-14%); }

/* Tarayici cercevesi: gercek ekran goruntusu tasiyan kartlarda */
.media--browser .media-inner { top: 38px; }
.chrome {
    position: absolute; top: 0; left: 0; right: 0; height: 38px; z-index: 2;
    display: flex; align-items: center; gap: 7px; padding: 0 14px;
    background: #191919; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; flex: none; }
.chrome b {
    margin: 0 auto; padding: 4px 16px; border-radius: 999px;
    background: #242424; color: #8a8a8a;
    font-size: 0.65rem; font-weight: 400; letter-spacing: 1.5px;
    max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.glare {
    position: absolute; inset: 0; pointer-events: none; opacity: 0;
    background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 45%);
    transition: opacity 0.5s;
}
.media:hover .glare, .glare.is-on { opacity: 1; }

/* =========================================
   1. GIRIS EKRANI
   ========================================= */
.hero-section {
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center; position: relative;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 34px; will-change: transform, opacity; }
.hero-sub { font-size: 0.95rem; letter-spacing: 1px; color: var(--muted); text-align: center; }
.scroll-prompt {
    position: absolute; bottom: 40px; font-size: 0.72rem; letter-spacing: 5px;
    display: flex; align-items: center; gap: 15px; opacity: 0.5;
}
.scroll-prompt__arrow { display: inline-flex; animation: bounce 2s infinite; }
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

/* =========================================
   KAYAN BANT
   ========================================= */
.marquee {
    overflow: hidden; padding: 26px 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item {
    font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.6rem, 6vw, 6rem);
    line-height: 1; padding: 0 0.35em; white-space: nowrap;
}
.marquee__item span { opacity: 0.25; margin-left: 0.35em; }

/* =========================================
   2. YATAY BOLUM
   ========================================= */
.live-sites-wrapper { min-height: 100vh; width: 100%; position: relative; }
.live-sites-wrapper.is-pinned { height: 100vh; overflow: hidden; }
.section-title-overlay {
    position: absolute; top: 110px; left: 5vw; z-index: 10;
    font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 3px; color: var(--muted);
}
.horizontal-container { display: flex; width: max-content; height: 100vh; }
.panel { width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; padding: 0 8vw; }
.content-box {
    width: 100%; max-width: 1400px;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: center;
}

.h-progress { position: absolute; bottom: 44px; left: 5vw; right: 5vw; height: 1px; background: var(--line); z-index: 10; }
.h-progress__bar { height: 100%; background: var(--fg); transform: scaleX(0); transform-origin: left; }
.h-counter { position: absolute; bottom: 60px; right: 5vw; font-size: 0.72rem; letter-spacing: 4px; color: var(--muted); z-index: 10; }
.h-counter__current { color: var(--fg); }
/* Tek site varken: kaydirma yok, projeler bolumuyle ayni ritim */
.live-sites-wrapper.is-single { height: auto; min-height: 0; overflow: visible; padding: 160px 5vw 0; }
.live-sites-wrapper.is-single .section-title-overlay {
    position: static; text-align: center; margin-bottom: 140px;
    font-size: clamp(2rem, 4vw, 4rem);
}
.live-sites-wrapper.is-single .horizontal-container { width: 100%; height: auto; }
.live-sites-wrapper.is-single .panel { width: 100%; height: auto; padding: 0; }
.live-sites-wrapper.is-single .content-box { max-width: 1240px; margin: 0 auto; grid-template-columns: 1fr 1.5fr; }
.live-sites-wrapper.is-single .media { aspect-ratio: 4 / 3; }
.live-sites-wrapper.is-single .h-progress,
.live-sites-wrapper.is-single .h-counter { display: none; }

/* =========================================
   3. DIKEY BOLUM
   ========================================= */
.concept-projects-wrapper { padding: 160px 5vw; }
.vertical-section-title {
    text-align: center; margin-bottom: 140px; color: var(--muted);
    font-size: clamp(2rem, 4vw, 4rem); letter-spacing: 3px;
}
.vertical-container { display: flex; flex-direction: column; gap: 200px; max-width: 1240px; margin: 0 auto; }

.vertical-card { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: center; }
.vertical-card:nth-child(even) { grid-template-columns: 1.5fr 1fr; }
.vertical-card:nth-child(even) .card-info { order: 2; }
.vertical-card:nth-child(even) .media { order: 1; }
.vertical-card .media { aspect-ratio: 4 / 3; }

/* =========================================
   3b. VAKA BAGLANTISI, SUREC, SAYILAR, HAKKIMDA
   ========================================= */
.case-link {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
    font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; color: var(--muted);
    position: relative; transition: color 0.3s;
}
.case-link::after {
    content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-in-out);
}
.case-link:hover { color: var(--fg); }
.case-link:hover::after { transform: scaleX(1); transform-origin: left; }
.case-link svg { transition: transform 0.4s var(--ease-out); }
.case-link:hover svg { transform: translateX(4px); }
/* Kartlarda: dugmenin hemen altinda, ayni boyda ikinci (sakin) dugme */
.card-info .case-link, .content-box .case-link {
    display: flex; width: max-content; margin-top: 12px; padding: 14px 26px; gap: 12px;
    border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.72rem;
    transition: color 0.3s, border-color 0.3s;
}
.card-info .case-link::after, .content-box .case-link::after { display: none; }
.card-info .case-link:hover, .content-box .case-link:hover { color: var(--fg); border-color: currentColor; }
.card-info .case-link svg, .content-box .case-link svg { width: 14px; height: 14px; }

.section-heading {
    text-align: center; color: var(--muted);
    font-size: clamp(2rem, 4vw, 4rem); letter-spacing: 3px;
}
.section-heading--left { text-align: left; color: var(--fg); font-size: clamp(3rem, 6vw, 6rem); }

.services-section { padding: 160px 5vw 140px; }
.services {
    max-width: 1240px; margin: 110px auto 0;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 60px;
}
.service { padding-top: 26px; border-top: 1px solid var(--line); }
.service__title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 2.2rem; letter-spacing: 1px; line-height: 1; }
.service__text { margin-top: 14px; color: var(--muted); line-height: 1.7; max-width: 46ch; }
.service__meta { margin-top: 14px; font-size: 0.68rem; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.services__cta { max-width: 1240px; margin: 80px auto 0; font-size: 1.15rem; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.services__cta .case-link { margin-top: 0; font-size: 0.78rem; }

.process-section { padding: 160px 5vw; }
.steps {
    list-style: none; max-width: 1240px; margin: 120px auto 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.step { padding-top: 26px; border-top: 1px solid var(--line); }
.step__no { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 2.6rem; line-height: 1; color: var(--muted); letter-spacing: 1px; }
.step__title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 2rem; letter-spacing: 1px; line-height: 1; margin-top: 18px; }
.step__text { margin-top: 14px; color: var(--muted); line-height: 1.7; font-size: 0.95rem; }

.stats {
    max-width: 1240px; margin: 140px auto 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.stat { padding-top: 22px; border-top: 1px solid var(--line); }
.stat dt { font-size: 0.72rem; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); }
.stat dd { margin-top: 10px; font-family: 'Bebas Neue', sans-serif; font-size: clamp(3.5rem, 7vw, 6.5rem); line-height: 0.9; letter-spacing: 1px; }
.stat dd small { font-size: 0.4em; margin-left: 4px; color: var(--muted); }

.about-section { padding: 160px 5vw; }
.about {
    max-width: 1240px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: center;
}
.about__photo {
    aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
    background: linear-gradient(135deg, #1e1e20 0%, #0d0d0e 60%, #161618 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__initials { font-family: 'Bebas Neue', sans-serif; font-size: clamp(6rem, 14vw, 12rem); letter-spacing: 4px; color: #2a2a2c; }
.about__lead { margin-top: 26px; font-size: 1.25rem; line-height: 1.6; max-width: 40ch; }
.about__text { margin-top: 18px; color: var(--muted); line-height: 1.75; max-width: 52ch; }
.about__body .btn { margin-top: 30px; }

/* =========================================
   4. FOOTER
   ========================================= */
.footer-section {
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 48px; position: relative;
}
.footer-link { display: inline-block; }
.footer-section .line { overflow: visible; }
.footer-link .char { transition: none; }
.footer-links { display: flex; gap: 40px; font-size: 0.72rem; letter-spacing: 4px; text-transform: uppercase; }
.footer-links a { position: relative; display: inline-block; }
.footer-links a::after {
    content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: right;
    transition: transform 0.5s var(--ease-in-out);
}
.footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-note { position: absolute; bottom: 30px; font-size: 0.65rem; letter-spacing: 3px; color: rgba(10, 10, 10, 0.6); }

/* =========================================
   MOBIL
   ========================================= */
@media (max-width: 900px) {
    .topbar { padding: 22px 6vw; }
    .topbar__nav { gap: 20px; }
    .topbar__nav a:not(:last-child) { display: none; }

    .live-sites-wrapper { height: auto; padding: 120px 0 80px; }
    .section-title-overlay { position: static; padding: 0 6vw 40px; }
    .horizontal-container { flex-direction: column; width: 100%; height: auto; gap: 100px; }
    .panel { width: 100%; height: auto; padding: 0 6vw; }
    .content-box { grid-template-columns: 1fr; gap: 36px; }
    .content-box .media { order: -1; }
    .h-progress, .h-counter { display: none; }

    .concept-projects-wrapper { padding: 120px 6vw; }
    .vertical-section-title { margin-bottom: 80px; }
    .vertical-container { gap: 120px; }
    .vertical-card, .vertical-card:nth-child(even) { grid-template-columns: 1fr; gap: 36px; }
    .vertical-card .media, .vertical-card:nth-child(even) .media { order: -1; }
    .vertical-card:nth-child(even) .card-info { order: 0; }

    .live-sites-wrapper.is-single { padding: 120px 6vw 0; }
    .live-sites-wrapper.is-single .section-title-overlay { padding: 0; margin-bottom: 80px; }

    .footer-links { flex-wrap: wrap; justify-content: center; gap: 24px; }
    .grain { display: none; }

    .process-section, .about-section, .services-section { padding: 120px 6vw; }
    .services { grid-template-columns: 1fr; gap: 28px; margin-top: 60px; }
    /* .media-inner img (0,1,1) kuralini yenmek icin daha ozgul secici */
    .media-inner .media-shot { display: none; }
    .media-inner > img { transform: none !important; }
    .live-sites-wrapper.is-single .content-box { grid-template-columns: 1fr; }
    .media-meta { display: none; }
    .steps { grid-template-columns: 1fr; gap: 28px; margin-top: 70px; }
    .stats { grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 90px; }
    .about { grid-template-columns: 1fr; gap: 40px; }
    .about__photo { max-width: 320px; }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
    .grain, .glow, .cursor-dot, .cursor-ring { display: none !important; }
    .scroll-prompt__arrow { animation: none; }
    body, a, button, .media { cursor: auto !important; }
    .marquee__track { transform: none !important; }
    .live-sites-wrapper { height: auto; overflow: visible; padding: 120px 5vw 40px; }
    .horizontal-container { flex-direction: column; width: 100%; height: auto; gap: 100px; }
    .panel { width: 100%; height: auto; padding: 0; }
    .section-title-overlay { position: static; margin-bottom: 60px; }
    .h-progress, .h-counter { display: none; }
}

/* Windows yuksek kontrast modu: ozel imlec ve dokular anlamsiz */
@media (forced-colors: active) {
    body, a, button, .media { cursor: auto !important; }
    .cursor-dot, .cursor-ring, .grain, .glow { display: none !important; }
}

/* =========================================
   GORSEL GUNCELLEME PAKETI (22.09)
   1 izgara+isik, 2 kart->vaka gecisi, 3 katmanli panel,
   4 dolan basliklar, 5 flip sayac, 6 hizmet ikonlari,
   7 kart bilgi katmani, 8 menu/ilerleme, 9 filigran,
   10 kum+vinyet, 11 monogram, 12 404 (kendi dosyasinda)
   ========================================= */

/* 1. Sabit arka plan izgarasi: kart gorsellerindeki zeminle ayni dunya */
.bg-grid {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    color: var(--fg); opacity: 0.055;
    background-image: linear-gradient(currentColor 1px, transparent 1px), linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 88px 88px; background-position: 0px 0px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 78%);
    mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 78%);
}
.glow {
    width: 560px; height: 560px;
    background: radial-gradient(circle, rgba(120,170,255,0.16) 0%, rgba(120,170,255,0.06) 35%, rgba(120,170,255,0) 65%);
}
main { position: relative; z-index: 1; }

/* 2. Kart -> vaka sayfasi: gorsel ucar (ui.js + vaka.js) */
.flip-clone {
    position: fixed; z-index: 9600; border-radius: 16px; overflow: hidden; pointer-events: none;
    background: #111; box-shadow: 0 40px 80px rgba(0,0,0,0.45);
}
.flip-clone img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.is-flipping main, body.is-flipping .topbar, body.is-flipping footer, body.is-flipping .sound-toggle { opacity: 0; transition: opacity 0.35s ease; }

/* 3. Yatay bolum: ekran goruntusu katmanlari one-arkaya */
.media-stack { position: relative; perspective: 1200px; }
.media-stack .media { position: relative; z-index: 2; }
.media-layer {
    position: absolute; inset: 0; border-radius: 16px; overflow: hidden; background: #1a1a1c; border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4); pointer-events: none; opacity: 0; will-change: transform;
}
.media-layer img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; opacity: 0.55; }
.media-layer--2 img { object-position: 50% 75%; }
@media (max-width: 900px) { .content-box .media-stack { order: -1; } .media-layer { display: none; } }

/* 4. Basliklar kaydirdikca harf harf dolar */
.section-heading .word, .vertical-section-title .word, .section-title-overlay .word { display: inline-block; white-space: nowrap; }
.section-heading .char, .vertical-section-title .char, .section-title-overlay .char { display: inline-block; }

/* 5. Havaalani tabelasi gibi donen sayilar */
.count { display: inline-flex; overflow: hidden; height: 0.9em; line-height: 0.9; vertical-align: top; }
.digit { display: inline-block; height: 0.9em; overflow: hidden; }
.digit__strip { display: block; will-change: transform; }
.digit__strip span { display: block; height: 0.9em; line-height: 0.9; }

/* 6. Hizmet ikonlari: kendini cizen ince cizgiler */
.service__icon { width: 46px; height: 46px; display: block; margin-bottom: 20px; color: var(--fg); overflow: visible; }
.service__icon * { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* 7. Kart hover: adres ve yil etiketi */
.media-meta {
    position: absolute; left: 18px; bottom: 16px; z-index: 3;
    display: flex; gap: 14px; align-items: baseline; padding: 9px 14px; border-radius: 999px;
    background: rgba(5,5,5,0.72); color: #fff; backdrop-filter: blur(8px);
    font-size: 0.66rem; letter-spacing: 2.5px; text-transform: uppercase;
    transform: translateY(20px); opacity: 0; transition: transform 0.6s var(--ease-out), opacity 0.5s; pointer-events: none;
}
.media-meta i { font-style: normal; color: #9a9a9a; }
.media.is-hover .media-meta { transform: none; opacity: 1; }

/* 8. Menu: aktif bolum dolu kalir, ustte ince ilerleme cizgisi */
.topbar a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-progress { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; opacity: 0.55; }

/* 9. Kapanista yavas donen filigran */
.footer-section { overflow: hidden; }
.footer-section > * { position: relative; z-index: 1; }
.footer-watermark {
    position: absolute; left: 50%; top: 50%; z-index: 0; pointer-events: none; user-select: none;
    font-family: 'Bebas Neue', sans-serif; font-size: clamp(22rem, 70vw, 70rem); line-height: 1;
    color: currentColor; opacity: 0.045; transform: translate(-50%, -50%); will-change: transform;
}

/* 10. Kapaklarda kum ve kenar karartmasi */
.media-inner::before {
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.14;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px; mix-blend-mode: overlay;
}
.media-inner::after {
    z-index: 2;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 48%, rgba(0,0,0,0.42) 100%),
                linear-gradient(120deg, rgba(255,255,255,0.05), transparent 40%, transparent 60%, rgba(255,255,255,0.04));
}

/* =========================================
   SOV KATMANI (show.js) — 22.09
   ========================================= */
/* 1+8. WebGL zemin (CSS izgara yedek olarak kalir) */
.bg-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; width: 100%; height: 100%; }
html.has-webgl .bg-grid { display: none; }

/* 2. Acilis: cizgiler kendini cizer */
.loader__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__lines line, .loader__lines rect { fill: none; stroke: rgba(255,255,255,0.22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.loader__lines rect { stroke: #fff; }
.loader__mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: 'Bebas Neue', sans-serif; font-size: clamp(4rem, 9vw, 8rem); letter-spacing: 6px; line-height: 1; }

/* 6. Hero altinda donen kelime */
.hero-words { display: flex; gap: 12px; justify-content: center; align-items: baseline; font-size: 0.72rem; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); }
.hero-words__word { display: inline-block; min-width: 14ch; text-align: left; color: var(--fg); overflow: hidden; line-height: 1.3; }
.hero-words__word .char { display: inline-block; will-change: transform; }

/* 9. Aurora (kapanis) */
.footer-aurora { position: absolute; inset: -20%; z-index: 0; pointer-events: none; filter: blur(60px); opacity: 0.55; mix-blend-mode: multiply; }
.footer-aurora i { position: absolute; border-radius: 50%; width: 55vw; height: 55vw; max-width: 900px; max-height: 900px; }
.footer-aurora i:nth-child(1) { background: radial-gradient(circle, #f2c98f 0%, rgba(242,201,143,0) 65%); left: -5%; top: 10%; animation: aurora-a 22s ease-in-out infinite alternate; }
.footer-aurora i:nth-child(2) { background: radial-gradient(circle, #e8a9a9 0%, rgba(232,169,169,0) 65%); right: -10%; top: 30%; animation: aurora-b 26s ease-in-out infinite alternate; }
.footer-aurora i:nth-child(3) { background: radial-gradient(circle, #a9c6e6 0%, rgba(169,198,230,0) 65%); left: 30%; bottom: -15%; animation: aurora-c 30s ease-in-out infinite alternate; }
@keyframes aurora-a { to { transform: translate(18vw, 14vh) scale(1.15); } }
@keyframes aurora-b { to { transform: translate(-16vw, -10vh) scale(0.9); } }
@keyframes aurora-c { to { transform: translate(-10vw, -18vh) scale(1.2); } }
.footer-section .footer-watermark { z-index: 0; }
@media (prefers-reduced-motion: reduce) { .footer-aurora i { animation: none; } }

/* 14. Iskelet + baglanti uyarisi */
.media.is-loading .media-inner::before { opacity: 0.35; background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 32px 32px; animation: skeleton-grid 1.2s linear infinite; mix-blend-mode: normal; }
.media.is-loading .media-inner > img { opacity: 0; }
@keyframes skeleton-grid { to { background-position: 32px 32px; } }
.net-toast { position: fixed; left: 50%; bottom: 24px; z-index: 9700; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 999px; background: rgba(5,5,5,0.85); color: #fff; border: 1px solid rgba(255,255,255,0.15); font-size: 0.78rem; letter-spacing: 0.3px; backdrop-filter: blur(8px); transition: opacity 0.4s, transform 0.5s var(--ease-out); max-width: calc(100vw - 32px); text-align: center; }
.net-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* 11. Hakkimda: monogram sahnesi */
.about__photo { position: relative; }
.about__mono { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.about__mono-grid {
    position: absolute; inset: -40%;
    background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 40px 40px; animation: mono-grid 24s linear infinite;
}
@keyframes mono-grid { to { transform: translate(40px, 40px); } }
.about__mono-light {
    position: absolute; width: 75%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(120,170,255,0.30), rgba(120,170,255,0) 65%);
    animation: mono-light 9s ease-in-out infinite alternate;
}
@keyframes mono-light { from { transform: translate(-28%, -22%); } to { transform: translate(28%, 26%); } }
.about__mono-ring { position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,0.14); border-radius: 50%; animation: mono-ring 36s linear infinite; }
.about__mono-ring::before { content: ''; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff; }
@keyframes mono-ring { to { transform: rotate(360deg); } }
.about__initials { position: relative; z-index: 1; color: #fff; display: flex; }
.about__initials span { display: inline-block; will-change: transform; }
.about__mono-tag { position: absolute; z-index: 1; bottom: 20px; left: 22px; font-size: 0.64rem; letter-spacing: 3px; text-transform: uppercase; color: #8a8a8a; }
.about__mono-tag b { font-weight: 400; color: #fff; }
@media (prefers-reduced-motion: reduce) { .about__mono-grid, .about__mono-light, .about__mono-ring { animation: none; } }

/* Kapak ton birligi (23.09): bes sinematik kapak ayni parlaklik/doygunlukta */
.media-inner > img:not(.media-shot), .hero__media img, .flip-clone img { filter: brightness(0.88) contrast(1.06) saturate(0.88); }
img[src*="martenicka.jpg"]:not(.media-shot) { filter: brightness(0.76) contrast(1.08) saturate(0.82); }
img[src*="firin-tasarimi.jpg"]:not(.media-shot) { filter: brightness(0.84) contrast(1.06) saturate(0.85); }

/* =========================================
   23.09 tasarim eklemeleri
   ========================================= */
/* 2. Ken Burns: kapak gorununce 9 sn'de %5 yaklasir (hover'daki transform'dan bagimsiz 'scale') */
.media-inner > img:not(.media-shot) { scale: 1; transition: transform 0.9s var(--ease-out), scale 9s cubic-bezier(0.25, 0.1, 0.25, 1); }
.media.is-seen .media-inner > img:not(.media-shot) { scale: 1.05; }
.hero__media img { scale: 1; transition: scale 9s cubic-bezier(0.25, 0.1, 0.25, 1); }
.hero__media.is-seen img { scale: 1.05; }

/* 3. Sahne etiketi */
.media-sahne {
    position: absolute; right: 16px; top: 14px; z-index: 3; pointer-events: none;
    font-size: 0.6rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.55);
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.media-sahne::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #e0523a; vertical-align: 1px; }

/* 5. Imza */
.imza { display: block; width: min(220px, 60%); height: auto; margin-top: 34px; overflow: visible; }
.imza path { fill: var(--fg); fill-opacity: 0; stroke: var(--fg); stroke-width: 1.1; }

/* 6. Istanbul saati */
.topbar__clock { position: absolute; left: calc(5vw + 175px); color: inherit; opacity: 0.55; white-space: nowrap; }
.topbar__clock i { font-style: normal; animation: saat-nokta 2s steps(1) infinite; }
@keyframes saat-nokta { 50% { opacity: 0; } }
@media (max-width: 1100px) { .topbar__clock { display: none; } }

/* 8. Vaka sayfasi: siradaki proje */
.next-case { display: block; margin-top: 90px; padding-top: 34px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.next-case__label { display: block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); }
.next-case__title { display: flex; align-items: center; gap: 18px; margin-top: 12px; font-family: 'Bebas Neue', sans-serif; font-size: clamp(3rem, 8vw, 7rem); line-height: 0.9; letter-spacing: 1px; }
.next-case__title svg { width: 0.5em; height: 0.5em; transition: transform 0.6s var(--ease-out); }
.next-case__media { display: block; position: relative; margin-top: 30px; aspect-ratio: 16 / 7; border-radius: 16px; overflow: hidden; background: #111; }
.next-case__media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.08); filter: brightness(0.45) contrast(1.06) saturate(0.8); transition: transform 1.2s var(--ease-out), filter 0.8s ease; }
.next-case:hover .next-case__media img, .next-case:focus-visible .next-case__media img { transform: scale(1); filter: brightness(0.85) contrast(1.06) saturate(0.88); }
.next-case:hover .next-case__title svg { transform: translateX(10px); }
.alt--kucuk { margin-top: 0; }

/* =========================================
   SINEMA KATMANI (cinema.js) — 23.09
   ========================================= */
/* 4. Yuvarlanan yazi */
.roll { display: inline-block; overflow: hidden; vertical-align: bottom; line-height: 1.3; height: 1.3em; }
.roll .roll__c {
    display: inline-block; text-shadow: 0 1.3em 0 currentColor;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s; transition-delay: calc(var(--i) * 14ms);
}
.has-roll:hover .roll .roll__c, .has-roll:focus-visible .roll .roll__c { transform: translateY(-1.3em); }

/* 7. Kesme: beyaz parlama */
figure.kesme { position: relative; }
figure.kesme::after { content: ''; position: absolute; inset: 0; background: #fff; opacity: var(--parla, 0); pointer-events: none; border-radius: 16px; }

/* Bolum renk gecisi katmani (app.js / vaka.js applyTheme): sadece opaklik animasyonu */
.tema-perde { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; will-change: opacity; }
