/* ─── Greylab · site.css ──────────────────────────────────────────────────────
   Konsept: kalibrasyon. Fotoğrafçının %18 gri kartı gibi — doğru konum, doğru ton.
   ────────────────────────────────────────────────────────────────────────── */

:root {
    --ink: #0f0f0f;
    --ink-2: #171717;
    --ink-3: #222;
    --line-d: rgba(255, 255, 255, .12);
    --light: #f6f5f2;
    --paper: #ebeae6;
    --white: #fff;
    --text: #111;
    --muted: #6b6b6b;
    --muted-d: #9b9b9b;
    --line: rgba(0, 0, 0, .12);

    /* Gri skala: 7 hizmet = 7 ton */
    --tone-1: #262626;
    --tone-2: #3a3a3a;
    --tone-3: #525252;
    --tone-4: #6e6e6e;
    --tone-5: #8f8f8f;
    --tone-6: #b4b4b4;
    --tone-7: #d8d8d6;

    --f-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
    --f-serif: 'Instrument Serif', 'Times New Roman', serif;
    --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --f-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;

    --wrap: 1360px;
    --gutter: clamp(18px, 4vw, 48px);
    --section: clamp(96px, 12vw, 176px);
    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
    margin: 0;
    background: var(--light);
    color: var(--text);
    font: 400 16px/1.65 var(--f-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--ink); color: var(--white); }
.dark ::selection { background: var(--white); color: var(--ink); }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: var(--white); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* Grenli doku: koyu bölümlere analog bir yüzey */
.dark { background: var(--ink); color: var(--white); position: relative; isolation: isolate; }
.dark::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.light { background: var(--light); }
.paper { background: var(--paper); }

.tone-1 { background: var(--tone-1); } .tone-2 { background: var(--tone-2); }
.tone-3 { background: var(--tone-3); } .tone-4 { background: var(--tone-4); }
.tone-5 { background: var(--tone-5); } .tone-6 { background: var(--tone-6); }
.tone-7 { background: var(--tone-7); }

/* ─── Tipografi ────────────────────────────────────────────────────────────── */

.mono-label { font: 500 11.5px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dark .mono-label { color: var(--muted-d); }

.eyebrow {
    display: flex; align-items: center; gap: 14px;
    font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: currentColor; }
.dark .eyebrow { color: var(--muted-d); }

.h2 {
    font: 500 clamp(36px, 5.4vw, 80px)/1 var(--f-display);
    letter-spacing: -.04em;
    margin-top: 28px;
    text-wrap: balance;
}
.h2 em { font-size: 1.06em; }

.lead { font: 400 clamp(19px, 1.7vw, 24px)/1.5 var(--f-display); letter-spacing: -.01em; }
.sec-lead { color: var(--muted); font-size: 17px; max-width: 46ch; }
.dark .sec-lead { color: #a8a8a8; }

.prose p + p { margin-top: 1.1em; }
.prose p { color: #3d3d3d; }
.prose h2 { font: 600 20px/1.3 var(--f-display); margin: 2em 0 .6em; }
.prose a { text-underline-offset: 3px; }

/* ─── Butonlar & bağlantılar ───────────────────────────────────────────────── */

.btn {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    height: 56px; padding: 0 28px;
    font: 500 15px/1 var(--f-body);
    text-decoration: none;
    border: 1px solid currentColor; border-radius: 999px;
    cursor: pointer;
    transition: color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    transform: translateY(101%); border-radius: inherit;
    transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light::before { background: var(--tone-6); }
.btn-line { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-line::before { background: var(--white); }
.btn-line:hover { color: var(--ink); border-color: var(--white); }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 10px;
    font: 500 15px/1 var(--f-body); text-decoration: none;
    padding-bottom: 6px;
    background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
    transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 30% 1px; }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translate(3px, -3px); }

/* ─── Giriş perdesi ────────────────────────────────────────────────────────── */

.intro {
    position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: repeat(7, 1fr); pointer-events: none;
    animation: intro-off 0s 2.4s forwards; /* JS çalışmasa da perde kalkar */
}
@keyframes intro-off { to { visibility: hidden; } }
.intro-band { animation: intro-up 1s var(--ease-io) forwards; animation-delay: calc(var(--i) * 60ms + 1050ms); }
@keyframes intro-up { to { transform: translateY(-101%); } }
.intro-count {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
    color: #fff; text-shadow: 0 2px 40px rgba(0,0,0,.35);
    font: 500 11.5px var(--f-mono); letter-spacing: .2em; text-transform: uppercase;
    animation: intro-count-out .5s var(--ease) 1s forwards;
}
.intro-count b { font: 500 clamp(96px, 16vw, 220px)/.8 var(--f-display); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
@keyframes intro-count-out { to { opacity: 0; transform: translateY(-30px); } }
.intro-done .intro, .no-js .intro { display: none; }

/* ─── Header (her zeminde tersine döner) ───────────────────────────────────── */

.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    color: #fff; mix-blend-mode: difference;
    transition: transform .5s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-bar { display: flex; align-items: center; gap: 32px; height: 88px; }
.brand-space { margin-right: auto; width: 116px; height: 40px; flex: none; }

/* Logo katmanı: header ile aynı hizada, ters çevirme olmadan */
.brand-layer {
    position: fixed; top: 0; left: 0; right: 0; z-index: 101; pointer-events: none;
    transition: transform .5s var(--ease);
}
.brand-layer.is-hidden { transform: translateY(-100%); }
.brand-layer .wrap { display: flex; align-items: center; height: 88px; }
.brand { pointer-events: auto; display: block; }
.logo { height: 41px; width: auto; display: block; }
.lg-main { fill: #6d6e71; transition: fill .45s var(--ease); }
.lg-accent { fill: #ffd401; }
.brand-layer.on-dark .lg-main { fill: #f2f2f2; }

.nav { display: flex; gap: 30px; position: relative; }
.nav a, .menu-links a { text-decoration: none; }
.nav a { font-size: 14.5px; font-weight: 500; position: relative; padding: 6px 0; }

/* Aktif bölüm noktası: bulunulan bölümün menü öğesine kayar */
.nav-dot {
    position: absolute; left: 0; bottom: -6px; width: 5px; height: 5px; background: currentColor;
    transform: translateX(var(--dx, 0)) scale(var(--ds, 0));
    transition: transform .7s var(--ease);
}

/* Harf yuvarlanması: her harf kendi gölge kopyasıyla yukarı kayar */
.roll { display: inline-flex; overflow: hidden; line-height: 1.25; vertical-align: top; }
.roll i {
    font-style: normal; display: inline-block; white-space: pre;
    text-shadow: 0 1.25em currentColor;
    transition: transform .55s var(--ease); transition-delay: calc(var(--ci) * 14ms);
}
a:hover > .roll i, button:hover > .roll i { transform: translateY(-1.25em); }

.header-cta {
    display: inline-flex; align-items: center; gap: 10px;
    height: 42px; padding: 0 20px; border-radius: 999px;
    background: #fff; color: #000; text-decoration: none; font-size: 14px; font-weight: 500;
    transition: transform .5s var(--ease);
}

.menu-toggle { display: none; }

.menu {
    position: fixed; inset: 0; z-index: 90;
    background: var(--ink); color: var(--white);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .7s var(--ease-io), visibility 0s .7s;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--ease-io); }
.menu-inner { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: 120px; padding-bottom: 40px; }
.menu-links a {
    display: block; font: 500 clamp(40px, 11vw, 64px)/1.15 var(--f-display); letter-spacing: -.04em;
    border-bottom: 1px solid var(--line-d); padding: 10px 0;
}
.menu-foot { display: grid; gap: 8px; color: var(--muted-d); font-size: 15px; }
.menu-foot a { text-decoration: none; }

/* ─── Hero ─────────────────────────────────────────────────────────────────── */

/* Hero yapışkan kalır; sonraki içerik perde gibi üzerine kayar */
.hero {
    position: sticky; top: 0; z-index: 0;
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column;
    overflow: hidden;
}
.hero ~ * { position: relative; z-index: 1; }
.hero-gl { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-gl.is-ready { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: 5; background: #000; opacity: 0; pointer-events: none; }
.hero-bands { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(7, 1fr); }
.hero-bands span { border-right: 1px solid rgba(255,255,255,.045); }
.hero-bands span:nth-child(odd) { background: rgba(255,255,255,.012); }
.hero-spot {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(520px circle at var(--x, 70%) var(--y, 30%), rgba(255,255,255,.085), transparent 60%);
    transition: opacity .6s;
}

.hero-inner { flex: 1; display: flex; flex-direction: column; padding-top: 136px; padding-bottom: 40px; }
.hero-meta {
    display: flex; justify-content: space-between; gap: 24px;
    font: 500 11.5px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d);
    padding-bottom: 18px; border-bottom: 1px solid var(--line-d);
}

.hero-inner { position: relative; }
.hero-title {
    margin: auto 0; padding: clamp(48px, 8vh, 96px) 0;
    font: 500 clamp(42px, 6.3vw, 108px)/.98 var(--f-display);
    letter-spacing: -.045em;
    will-change: transform;
}

/* Kalibrasyon kartı */
.gcard-wrap {
    position: absolute; right: var(--gutter); top: 50%; z-index: 1;
    width: clamp(250px, 21vw, 312px);
    perspective: 1100px;
    transform: translateY(-46%);
}
.gcard {
    --rx: 0deg; --ry: 0deg;
    position: relative; overflow: hidden;
    background: #e9e8e4; color: var(--ink);
    padding: 16px 16px 14px;
    transform: rotate(5deg) rotateX(var(--rx)) rotateY(var(--ry));
    transform-style: preserve-3d;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06);
    transition: transform .9s var(--ease);
}
.gcard.is-tilting { transition: transform .15s linear; }
.js .gcard { animation: card-in 1.4s var(--ease) .35s backwards; }
.js:not(.intro-done) .gcard { animation-delay: 1.7s; }
@keyframes card-in { from { opacity: 0; translate: 0 70px; rotate: 9deg; } }
.gcard-top { display: flex; justify-content: space-between; gap: 8px; font: 500 9.5px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.gcard-swatch {
    position: relative; margin-top: 14px; aspect-ratio: 1 / 1;
    background: #777; color: #fff;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 14px;
}
.gcard-pct { font: 500 clamp(56px, 5vw, 76px)/.85 var(--f-display); letter-spacing: -.05em; }
.gcard-note { font: 500 9.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; margin-top: 10px; opacity: .85; }
.cm { position: absolute; width: 12px; height: 12px; border: 0 solid #fff; }
.cm-tl { left: 8px; top: 8px; border-width: 1px 0 0 1px; }
.cm-tr { right: 8px; top: 8px; border-width: 1px 1px 0 0; }
.cm-bl { left: 8px; bottom: 8px; border-width: 0 0 1px 1px; opacity: 0; }
.cm-br { right: 8px; bottom: 8px; border-width: 0 1px 1px 0; }
.gcard-scale { display: grid; grid-template-columns: repeat(7, 1fr); height: 14px; margin-top: 10px; }
.gcard-spec { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; border-top: 1px solid rgba(0,0,0,.2); }
.gcard-spec div { padding: 8px 0 0; }
.gcard-spec div + div { padding-left: 10px; border-left: 1px solid rgba(0,0,0,.15); }
.gcard-spec dt { font: 500 8.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #6b6b6b; }
.gcard-spec dd { font: 500 26px/1.1 var(--f-display); letter-spacing: -.04em; }
.gcard-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(0,0,0,.2); font: 500 15px/1.2 var(--f-display); letter-spacing: -.02em; }
.gcard-foot em { color: #6b6b6b; font-size: 1.12em; }
.gcard-glare {
    position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
    background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,.75), transparent 55%);
    opacity: .6;
}
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .ln > span { display: inline-block; }
.hero-title em {
    font-size: 1.1em; letter-spacing: -.02em; padding-right: .06em;
    background: linear-gradient(90deg, #fff 0%, #b4b4b4 45%, #6e6e6e 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.js .hero-title .ln > span { transform: translateY(105%); animation: line-up 1.2s var(--ease) forwards; }
.js .hero-title .ln:nth-child(2) > span { animation-delay: .08s; }
.js .hero-title .ln:nth-child(3) > span { animation-delay: .16s; }
.js .hero-title .ln:nth-child(4) > span { animation-delay: .24s; }
.js:not(.intro-done) .hero-title .ln > span { animation-delay: calc(1.45s + var(--d, 0s)); }
.js:not(.intro-done) .hero-title .ln:nth-child(2) > span { --d: .08s; }
.js:not(.intro-done) .hero-title .ln:nth-child(3) > span { --d: .16s; }
.js:not(.intro-done) .hero-title .ln:nth-child(4) > span { --d: .24s; }
@keyframes line-up { to { transform: none; } }

.hero-bottom {
    display: grid; grid-template-columns: minmax(0, 1.2fr) auto 48px; gap: 40px; align-items: end;
}
.hero-lead { color: #b5b5b5; font-size: clamp(15.5px, 1.25vw, 17.5px); max-width: 54ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.scroll-cue { width: 48px; height: 56px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; position: relative; }
.scroll-cue span {
    position: absolute; left: 50%; top: 12px; width: 1px; height: 14px; background: #fff;
    animation: cue 2s var(--ease-io) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }

.hero-scale { display: grid; grid-template-columns: repeat(7, 1fr); height: 8px; }

/* ─── Hizmet şeridi ────────────────────────────────────────────────────────── */

.marquee { background: var(--ink); color: var(--white); overflow: hidden; border-top: 1px solid var(--line-d); padding: 26px 0; }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 60s linear infinite; will-change: transform; }
.marquee-track.is-driven { animation: none; }
.marquee-item { font: 500 clamp(26px, 3.2vw, 46px)/1 var(--f-display); letter-spacing: -.03em; white-space: nowrap; padding: 0 28px; }
.marquee-item.is-serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: #9a9a9a; font-size: clamp(30px, 3.6vw, 52px); }
.marquee-dot { width: 12px; height: 12px; border: 1px solid #777; transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── Bölüm iskeleti ───────────────────────────────────────────────────────── */

.section { padding: var(--section) 0; }
.sec-head { margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; }

/* ─── Hakkımızda ───────────────────────────────────────────────────────────── */

.manifesto {
    font: 500 clamp(30px, 4.6vw, 70px)/1.08 var(--f-display);
    letter-spacing: -.04em;
    max-width: 22ch;
    margin-top: -24px;
}
.js [data-words] .w { color: #c9c8c3; transition: color .35s; }
.js .dark [data-words] .w { color: #2e2e2e; }
.js [data-words] .w.on { color: inherit; }

.about-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px);
    margin-top: clamp(72px, 10vw, 140px);
    align-items: start;
}
.roof { position: relative; padding-top: 34px; }
.roof::before {
    /* "çatı" çizgisi */
    content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 22px;
    border: 1px solid var(--ink); border-bottom: 0;
}
.roof-label { position: absolute; top: 0; left: 0; }
.roof-items { display: grid; grid-template-columns: repeat(2, 1fr); padding-top: 22px; }
.roof-items li {
    font: 500 clamp(18px, 1.6vw, 22px)/1.2 var(--f-display); letter-spacing: -.02em;
    padding: 22px 0 22px 16px; border-bottom: 1px solid var(--line);
    position: relative;
}
.roof-items li::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; background: var(--ink); transform: translateY(-50%); }
.roof-items li:nth-child(odd) { border-right: 1px solid var(--line); }
.roof-items li:nth-child(even) { padding-left: 34px; }
.roof-items li:nth-child(even)::before { left: 18px; }

.about-text .lead { color: var(--text); }
.about-text p + p { margin-top: 24px; color: #4a4a4a; font-size: 16.5px; max-width: 60ch; }
.about-text strong { font-weight: 600; color: var(--text); }

/* Büyüme formülü */
.formula { margin-top: clamp(80px, 11vw, 160px); }
.formula-label { margin-bottom: 18px; }
.f-row {
    display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.2fr; align-items: stretch;
    border-top: 1px solid var(--ink);
}
.f-term { display: flex; flex-direction: column; justify-content: flex-end; padding: 40px 0 30px; min-height: 180px; }
.f-term p { font: 500 clamp(24px, 2.5vw, 40px)/1.02 var(--f-display); letter-spacing: -.04em; }
.f-term p em { display: block; color: var(--muted); font-size: 1.1em; }
.f-op {
    align-self: end; padding: 0 clamp(14px, 2vw, 32px) 38px;
    font: 300 clamp(40px, 4.4vw, 72px)/1 var(--f-display); color: #b9b8b3;
}
.f-result {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--ink); color: var(--white); padding: 26px clamp(20px, 2.4vw, 34px) 30px;
}
.f-result p em { color: #9a9a9a; }
.f-result::after {
    /* gri skala şeridi: sonucun içinde yedi ton */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
    background: linear-gradient(90deg, var(--tone-1) 0 14.28%, var(--tone-2) 0 28.57%, var(--tone-3) 0 42.85%, var(--tone-4) 0 57.14%, var(--tone-5) 0 71.42%, var(--tone-6) 0 85.71%, var(--tone-7) 0);
}

/* ─── Hizmetler: üst üste binen gri skala kartları ─────────────────────────── */

.services-sec { padding-top: 0; }
.stack { position: relative; }
.scard {
    --s: 1; --dim: 0;
    position: sticky; top: calc(96px + var(--i) * 16px);
    min-height: min(78vh, 680px);
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto 1fr;
    gap: 32px clamp(32px, 5vw, 80px);
    padding: clamp(24px, 3.4vw, 48px);
    margin-bottom: 8vh;
    /* imleci izleyen ışık (--lx/--ly JS'ten) */
    background: radial-gradient(520px circle at var(--lx, -999px) var(--ly, -999px), color-mix(in srgb, var(--on) 11%, transparent), transparent 62%), var(--tone);
    color: var(--on);
    border-radius: 6px;
    box-shadow: 0 -30px 80px -40px rgba(0,0,0,.55);
    transform: scale(var(--s)); transform-origin: 50% 0;
    isolation: isolate; overflow: hidden;
}
.scard:last-child { margin-bottom: 0; }
.scard::before { content: ""; position: absolute; inset: 0; z-index: 2; background: #000; opacity: var(--dim); pointer-events: none; }
.scard::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scard-top {
    grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
    padding-bottom: 20px; border-bottom: 1px solid color-mix(in srgb, var(--on) 22%, transparent);
}
.scard-no { font: 500 clamp(64px, 9vw, 140px)/.8 var(--f-display); letter-spacing: -.06em; }
.scard-no small { font: 500 12px var(--f-mono); letter-spacing: .12em; vertical-align: top; margin-left: 10px; opacity: .6; }
.scard-hex { font: 500 11.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .7; padding-top: 6px; }
.scard-main { display: flex; flex-direction: column; justify-content: flex-end; }
.scard-title { font: 500 clamp(34px, 4.6vw, 72px)/.98 var(--f-display); letter-spacing: -.045em; text-wrap: balance; }
.scard-summary { margin-top: 20px; font-size: 17px; max-width: 38ch; opacity: .78; }
.scard-items { align-self: end; display: grid; grid-template-columns: 1fr; }
.scard-items li {
    display: flex; gap: 16px; padding: 13px 0; font-size: 16px; line-height: 1.4;
    border-top: 1px solid color-mix(in srgb, var(--on) 22%, transparent);
}
.scard-items span { font: 500 11px/1.9 var(--f-mono); opacity: .6; min-width: 28px; }

/* ─── Yaklaşımımız ─────────────────────────────────────────────────────────── */

.quote {
    font: 500 clamp(40px, 6.6vw, 104px)/.98 var(--f-display);
    letter-spacing: -.045em;
    margin-top: 40px; max-width: 14ch;
}
.quote em { color: #9a9a9a; font-size: 1.08em; }

.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(72px, 10vw, 140px); }
/* Kaydırdıkça dolan ilerleme çizgisi */
.steps::after {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 1;
    background: linear-gradient(90deg, rgba(255,255,255,.2), #fff);
    transform-origin: left; transform: scaleX(var(--sp, 0));
}
.step { position: relative; padding-top: 40px; padding-right: 32px; }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-d); }
.step::after {
    content: ""; position: absolute; left: 0; top: -4px; z-index: 2; width: 9px; height: 9px;
    background: #3a3a3a; transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.step h3 { font: 500 clamp(22px, 2.2vw, 30px)/1.15 var(--f-display); letter-spacing: -.025em; margin: 0 0 14px; transition: color .6s var(--ease); }
.step p { color: #a2a2a2; font-size: 15.5px; max-width: 32ch; transition: color .6s var(--ease); }
.js .step h3 { color: #4a4a4a; }
.js .step p { color: #3a3a3a; }
.step.is-lit::after { background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 0 24px rgba(255,255,255,.5); transform: rotate(45deg); }
.js .step.is-lit h3 { color: var(--white); }
.js .step.is-lit p { color: #a2a2a2; }

.approach-foot {
    margin-top: clamp(80px, 11vw, 150px); padding-top: 32px; border-top: 1px solid var(--line-d);
    font: 500 clamp(26px, 3.2vw, 46px)/1.1 var(--f-display); letter-spacing: -.035em; color: #8a8a8a;
}
.approach-foot em { color: var(--white); font-size: 1.1em; }

/* ─── Referanslar ──────────────────────────────────────────────────────────── */

.refs-count { justify-self: end; text-align: right; line-height: .8; }
.refs-count span { display: block; font: 500 clamp(110px, 15vw, 220px)/.8 var(--f-display); letter-spacing: -.06em; }
.refs-count small { display: block; margin-top: 18px; font: 500 12px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.refs {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid rgba(0,0,0,.1);
    /* ızgara çizgileri imlecin çevresinde koyulaşır */
    background: radial-gradient(380px circle at var(--mx, -999px) var(--my, -999px), rgba(0,0,0,.7), rgba(0,0,0,.1) 70%) rgba(0,0,0,.1);
}
.ref {
    background: var(--white); position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    padding: 16px 18px 18px; min-height: 236px;
}
.ref::after {
    /* köşe ayar işaretleri */
    content: ""; position: absolute; inset: 10px; pointer-events: none; opacity: 0;
    background:
        linear-gradient(var(--ink), var(--ink)) 0 0 / 10px 1px, linear-gradient(var(--ink), var(--ink)) 0 0 / 1px 10px,
        linear-gradient(var(--ink), var(--ink)) 100% 0 / 10px 1px, linear-gradient(var(--ink), var(--ink)) 100% 0 / 1px 10px,
        linear-gradient(var(--ink), var(--ink)) 0 100% / 10px 1px, linear-gradient(var(--ink), var(--ink)) 0 100% / 1px 10px,
        linear-gradient(var(--ink), var(--ink)) 100% 100% / 10px 1px, linear-gradient(var(--ink), var(--ink)) 100% 100% / 1px 10px;
    background-repeat: no-repeat;
    transform: scale(1.06); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.ref:hover::after { opacity: 1; transform: none; }
.ref-no { font: 500 11px var(--f-mono); color: #a0a0a0; letter-spacing: .08em; }
.ref-logo { flex: 1; display: flex; align-items: center; justify-content: center; padding: 16px 8px; }
.ref-logo img {
    max-width: 76%; max-height: 96px; width: auto; height: auto; object-fit: contain;
    filter: grayscale(1) contrast(1.1); opacity: .72;
    transition: filter .5s var(--ease), opacity .5s var(--ease), transform .6s var(--ease);
}
.ref:hover .ref-logo img { filter: none; opacity: 1; transform: scale(1.05); }
.ref-wordmark {
    font: 700 21px/1.05 var(--f-display); letter-spacing: -.01em; text-align: center; color: #2b2b2b; text-transform: uppercase;
    border: 2px solid currentColor; padding: 12px 14px;
}
.ref-wordmark small { display: block; font: 500 10px/1.4 var(--f-mono); letter-spacing: .16em; margin-bottom: 6px; color: var(--muted); }
.ref-name { font-size: 12.5px; line-height: 1.35; color: var(--muted); text-align: center; min-height: 2.7em; transition: color .3s; }
.ref:hover .ref-name { color: var(--text); }

@media (hover: none) { .ref-logo img { filter: none; opacity: 1; } }

/* 22 referans + 2 hücrelik çağrı = 4, 3 ve 2 sütunda tam dolar */
.ref-cta { grid-column: span var(--s4, 2); background: var(--ink); color: var(--white); justify-content: space-between; gap: 24px; padding: 18px 28px 28px; }
.ref-cta::after { display: none; }
.ref-cta .ref-no { color: #777; }
.ref-cta p { font: 500 clamp(28px, 3vw, 44px)/1 var(--f-display); letter-spacing: -.04em; }
.ref-cta p em { color: #9a9a9a; font-size: 1.08em; }
.ref-cta .link-arrow { align-self: flex-start; }

/* ─── İletişim ─────────────────────────────────────────────────────────────── */

.contact-title {
    font: 500 clamp(44px, 8vw, 132px)/.95 var(--f-display); letter-spacing: -.05em;
    margin-top: 40px; max-width: 12ch;
}
.contact-title em { color: #9a9a9a; font-size: 1.08em; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(48px, 8vw, 128px); margin-top: clamp(64px, 8vw, 112px); align-items: start; }
.contact-mail {
    display: inline-flex; gap: 12px; margin-top: 32px;
    font: 500 clamp(22px, 2.4vw, 32px)/1.2 var(--f-display); letter-spacing: -.03em;
    text-decoration: none; overflow-wrap: anywhere;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    padding-bottom: 6px; transition: background-size .5s var(--ease);
}
.contact-mail:hover { background-size: 100% 1px; }
.contact-list { margin-top: 48px; border-top: 1px solid var(--line-d); }
.contact-list div { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-d); }
.contact-list dt { font: 500 11.5px/1.7 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
.contact-list dd { text-align: right; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }

.form { display: grid; gap: 26px; scroll-margin-top: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { position: relative; display: block; padding-top: 18px; }
.field input, .field textarea {
    width: 100%; display: block;
    font: 400 18px/1.4 var(--f-body); color: var(--white);
    background: transparent; border: 0; border-bottom: 1px solid #3c3c3c; border-radius: 0;
    padding: 10px 0 12px;
    transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field > span {
    position: absolute; left: 0; top: 30px; pointer-events: none;
    color: #8c8c8c; font-size: 16px;
    transform-origin: left top; transition: transform .35s var(--ease), color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--white); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span {
    transform: translateY(-28px) scale(.78); color: #bdbdbd;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
    display: inline-block; padding: 9px 15px; border: 1px solid #3c3c3c; border-radius: 999px;
    font-size: 13.5px; color: #cfcfcf; cursor: pointer; transition: all .3s var(--ease);
}
.chip span:hover { border-color: #888; }
.chip input:checked + span { background: var(--white); color: var(--ink); border-color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }

.check { display: flex; gap: 12px; font-size: 13.5px; color: #9f9f9f; line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #fff; flex: none; }
.check a { color: var(--white); }

.alert { padding: 14px 16px; font-size: 14.5px; border-left: 3px solid; }
.alert-ok { border-color: #e6e6e6; background: #1f1f1f; }
.alert-hata { border-color: #ff8a7a; background: #2a1e1c; color: #ffd8d2; }
.alert p + p { margin-top: 4px; }

/* İçerik sayfası (KVKK) */
.page { padding-top: clamp(140px, 16vw, 200px); }
.page .narrow { max-width: 820px; }
.page .h2 { margin-bottom: 40px; }

/* ─── Footer ───────────────────────────────────────────────────────────────── */

.site-footer { background: var(--ink); color: #bdbdbd; border-top: 1px solid var(--line-d); padding-top: clamp(72px, 9vw, 120px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr; gap: 48px; }
.footer-statement { font: 500 clamp(24px, 2.6vw, 36px)/1.15 var(--f-display); letter-spacing: -.03em; color: var(--white); max-width: 20ch; }
.footer-statement em { color: #9a9a9a; font-size: 1.08em; }
.footer-lead .link-arrow { margin-top: 32px; color: var(--white); }
.footer-col .mono-label { margin-bottom: 20px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { text-decoration: none; transition: color .3s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    display: flex; gap: 32px; flex-wrap: wrap;
    margin-top: clamp(64px, 8vw, 104px); padding-top: 24px;
    border-top: 1px solid var(--line-d);
    font-size: 13px; color: #858585;
}
.footer-bottom span { margin-right: auto; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-word { width: calc(100% - 2 * var(--gutter)); max-width: none; height: auto; margin: clamp(48px, 6vw, 80px) auto 0; padding-bottom: 2px; overflow: visible; }
.fw-l { fill: #1d1d1d; transition: fill .6s var(--ease), transform .8s var(--ease); transform-box: fill-box; transform-origin: 50% 100%; }
.js .footer-word .fw-l { transform: translateY(40%); opacity: 0; transition: transform 1.1s var(--ease), opacity 1.1s var(--ease), fill .6s var(--ease); }
.js .footer-word.is-in .fw-l { transform: none; opacity: 1; }
/* Dalga: imlece yakın harfler yükselir ve aydınlanır (değerler JS'ten) */
.js .footer-word.is-wave .fw-l {
    transform: translateY(calc(var(--lift, 0) * -14%)) scaleY(calc(1 + var(--lift, 0) * .06));
    fill: color-mix(in srgb, #8f8f8f calc(var(--lift, 0) * 100%), #1d1d1d);
    transition: transform .45s var(--ease), fill .45s var(--ease); transition-delay: 0s !important;
}

/* Stüdyo imzası */
.credit { display: flex; justify-content: center; padding: 18px var(--gutter) 22px; border-top: 1px solid var(--line-d); }
.credit a { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.55); text-decoration: none; transition: color .3s var(--ease); }
.credit img { height: 18px; width: auto; opacity: .55; transition: opacity .3s var(--ease); }
.credit a:hover { color: #fff; }
.credit a:hover img { opacity: 1; }

/* ─── Bölüm göstergesi (sabit, her zeminde tersine döner) ──────────────────── */

/* Dikey: içerikle çakışmasın diye sol kenardaki boş şeritte durur */
.readout {
    position: fixed; left: 14px; bottom: 28px; z-index: 80;
    display: flex; align-items: center; gap: 14px;
    writing-mode: vertical-rl; rotate: 180deg; /* aşağıdan yukarı okunur */
    font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
    color: #fff; mix-blend-mode: difference; pointer-events: none;
    opacity: 0; transform: translateY(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.readout.is-on { opacity: 1; transform: none; }
.readout-bar { width: 1px; height: 72px; background: rgba(255,255,255,.35); position: relative; }
.readout-bar i { position: absolute; inset: 0; background: #fff; transform-origin: top; transform: scaleY(var(--p, 0)); }

/* ─── Referans logoları imlece doğru kayar ──────────────────────────────────── */

.ref-logo img { translate: var(--px, 0) var(--py, 0); transition: filter .5s var(--ease), opacity .5s var(--ease), transform .6s var(--ease), translate .5s var(--ease); }

/* ─── Sayfa geçişi: 7 gri bant ekranı kapatır / açar ───────────────────────── */

.page-veil { position: fixed; inset: 0; z-index: 400; display: grid; grid-template-columns: repeat(7, 1fr); pointer-events: none; }
.page-veil span { transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease-io); transition-delay: calc(var(--i) * 45ms); }
.page-veil.is-closed span { transform: scaleY(1); }
.page-veil.is-opening span { transform-origin: 50% 0; }

/* ─── Bağlamsal imleç etiketi ──────────────────────────────────────────────── */

.cursor {
    position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
    transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0);
}
.cursor span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 72px; height: 72px; padding: 0 14px; border-radius: 999px;
    background: var(--white); color: var(--ink);
    font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
    transform: translate(-50%, -50%) scale(0); transition: transform .45s var(--ease);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,.4);
}
.cursor.is-on span { transform: translate(-50%, -50%) scale(1); }
.cursor.on-light span { background: var(--ink); color: var(--white); box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 10px 30px -10px rgba(0,0,0,.4); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ─── Başlıklar: kelimeler maskenin altından yükselir ──────────────────────── */

.mw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .07em .1em 0; margin: 0 -.07em -.1em 0; }
.mw > span { display: inline-block; }
.js .split .mw > span { transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi) * 55ms); }
.js .split.is-in .mw > span { transform: none; }

/* ─── Açıktan koyuya gri skala merdiveni ───────────────────────────────────── */

.stair { display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; height: clamp(90px, 11vw, 170px); }
.stair i { height: 100%; background: #151515; /* grenli koyu bölümün ortalama tonu */ transform-origin: 50% 100%; transform: scaleY(var(--h, 0)); }

/* ─── Referanslar: köşeden çapraz dalgayla açılır ──────────────────────────── */

.js .refs .ref > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .refs.is-in .ref > * { opacity: 1; transform: none; }

/* ─── E-posta kopyala ──────────────────────────────────────────────────────── */

.mail-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.mail-row .contact-mail { margin-top: 0; }
.copy-btn {
    font: 500 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
    color: #cfcfcf; background: transparent; border: 1px solid #3c3c3c; border-radius: 999px;
    padding: 9px 14px; cursor: pointer; transition: all .35s var(--ease);
}
.copy-btn:hover { border-color: #fff; color: #fff; }
.copy-btn.is-done { background: #fff; color: var(--ink); border-color: #fff; }

/* ─── Form: odakta alt çizgi soldan sağa çizilir ───────────────────────────── */

.field::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #fff;
    transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.field:focus-within::after { transform: scaleX(1); }

/* ─── İletişim başlığı + dönen rozet ───────────────────────────────────────── */

.contact-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.badge {
    --rot: 0deg;
    display: block; width: clamp(180px, 17vw, 250px); aspect-ratio: 1; margin-top: 40px;
    color: var(--white); text-decoration: none; border-radius: 50%;
}
.badge svg { width: 100%; height: 100%; overflow: visible; }
.badge-rot { transform: rotate(var(--rot)); transform-origin: 130px 130px; }
.badge-tone { fill: none; stroke-width: 5; }
.badge-tone[style*="tone-1"] { stroke: #3a3a3a !important; } /* koyu zeminde ilk ton görünsün */
.badge-text { font: 500 13px var(--f-mono); letter-spacing: .2em; text-transform: uppercase; fill: #cfcfcf; }
.badge-core { fill: transparent; stroke: rgba(255,255,255,.4); stroke-width: 1; transition: fill .5s var(--ease), stroke .5s var(--ease), r .5s var(--ease); }
.badge-arrow { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: square; transition: stroke .4s var(--ease), transform .6s var(--ease); transform-origin: 130px 130px; }
.badge:hover .badge-core, .badge:focus-visible .badge-core { fill: #fff; stroke: #fff; r: 60px; }
.badge:hover .badge-arrow, .badge:focus-visible .badge-arrow { stroke: var(--ink); transform: rotate(-45deg); }

/* ─── Cümle + görsel satırları (hedefleme diyagramı, ortaklık çemberleri) ──── */

.viz-row {
    display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 96px); align-items: center;
}
.viz-row .manifesto { max-width: none; margin-top: 0; }
.viz-row .quote { margin-top: 40px; }
.viz { justify-self: end; width: 100%; max-width: 460px; }
.viz svg { width: 100%; height: auto; overflow: visible; }

/* Hedefleme */
.vt-ring { fill: none; stroke: #9f9e9a; stroke-width: 1; }
.vt-ring-1 { stroke-dasharray: 2 6; }
.vt-ring-2 { stroke-dasharray: 1 4; }
.vt-ring-3 { stroke-dasharray: 10 7; }
.vt-axis { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 200; stroke-dashoffset: calc(200 - var(--ax, 0) * 200); }
.vt-dot { fill: var(--ink); }
.vt-cross { stroke: var(--ink); stroke-width: 1; }
.vt-center { font: 400 28px var(--f-serif); font-style: italic; fill: var(--ink); text-anchor: middle; }
.vt-m rect { fill: var(--light); stroke: var(--ink); stroke-width: 1.2; transition: fill .5s var(--ease); }
.vt-m text { font: 500 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; fill: #7a7a7a; transition: fill .5s var(--ease); }
.viz-target.is-aligned .vt-m rect { fill: var(--ink); }
.viz-target.is-aligned .vt-m text { fill: var(--ink); }

/* Ortaklık */
.vn-a { fill: rgba(255,255,255,.035); stroke: #6e6e6e; stroke-width: 1; }
.vn-b { fill: none; stroke: #fff; stroke-width: 1; }
.vn-fill { fill: #fff; }
.vn-mid { font: 400 30px var(--f-serif); font-style: italic; fill: var(--ink); text-anchor: middle; opacity: var(--mid, 0); }
.vn-label { font: 500 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; fill: #9a9a9a; text-anchor: middle; }

/* ─── Proje formu: 3 adımlı sihirbaz ──────────────────────────────────────── */

.wz-progress { margin-bottom: 8px; }
.wz-labels { display: grid; grid-template-columns: repeat(3, 1fr); font: 500 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #6f6f6f; counter-reset: wz; }
.wz-labels li { counter-increment: wz; transition: color .4s var(--ease); }
.wz-labels li::before { content: "0" counter(wz) " "; color: #4a4a4a; }
.wz-labels li.is-active, .wz-labels li.is-done { color: #fff; }
.wz-bar { position: relative; height: 1px; margin-top: 14px; background: #333; }
.wz-bar i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--wp, .333)); transition: transform .7s var(--ease); }

.wz-step { border: 0; padding: 0; margin: 0; display: grid; gap: 24px; min-width: 0; }
.wz-title { padding: 0; font: 500 clamp(24px, 2.4vw, 32px)/1.15 var(--f-display); letter-spacing: -.03em; margin-bottom: 4px; }
.wz-title small { display: block; margin-top: 8px; font: 400 14px var(--f-body); letter-spacing: 0; color: #8c8c8c; }
.js .wizard .wz-step:not(.is-active) { display: none; }
.js .wizard .wz-step.is-active { animation: wz-in .6s var(--ease); }
@keyframes wz-in { from { opacity: 0; transform: translateX(var(--wz-from, 24px)); } }
html:not(.js) .wz-progress, html:not(.js) .wz-nav [data-next], html:not(.js) .wz-nav [data-prev] { display: none; }

.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick-box {
    position: relative; display: flex; align-items: center; gap: 14px; height: 100%;
    padding: 14px 44px 14px 14px; border: 1px solid #333; border-radius: 4px; cursor: pointer;
    font-size: 14.5px; line-height: 1.3; color: #d6d6d6; transition: all .35s var(--ease);
}
.pick-box b { font: 500 11px var(--f-mono); color: #6f6f6f; transition: color .35s; }
.pick-box i { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 1px solid #555; border-radius: 3px; transition: all .35s var(--ease); }
.pick-box i::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .35s var(--ease); }
.pick-box:hover { border-color: #777; }
.pick input:checked + .pick-box { background: #fff; color: var(--ink); border-color: #fff; }
.pick input:checked + .pick-box b { color: #777; }
.pick input:checked + .pick-box i { background: var(--ink); border-color: var(--ink); }
.pick input:checked + .pick-box i::after { border-color: #fff; transform: rotate(45deg) scale(1); }
.pick input:focus-visible + .pick-box { outline: 2px solid #fff; outline-offset: 2px; }

.chips-label { width: 100%; margin-top: 10px; font: 500 11.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 6px; }
.wz-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 6px; }
.wz-nav .btn { height: 52px; }
.wz-nav [data-next]:only-child { margin-left: auto; }
.wz-error { color: #ffb4a8; font-size: 14px; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #ff8a7a; }

.wz-submit { position: relative; min-width: 150px; }
.wz-spinner { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; opacity: 0; }
.wz-spinner circle { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 40 60; stroke-linecap: round; transform-origin: center; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.wz-submit.is-loading .wz-submit-text { opacity: 0; }
.wz-submit.is-loading .wz-spinner { opacity: 1; }

.wz-done { text-align: left; padding: 24px 0; }
.wz-done:focus { outline: none; }
.wz-check { width: 80px; height: 80px; }
.wz-check circle, .wz-check path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wz-check circle { stroke-dasharray: 227; stroke-dashoffset: 227; animation: draw 1s var(--ease) forwards; }
.wz-check path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .6s var(--ease) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.wz-done h3 { margin-top: 28px; font: 500 clamp(30px, 3.4vw, 48px)/1.05 var(--f-display); letter-spacing: -.04em; }
.wz-done h3 em { color: #9a9a9a; }
.wz-done p { margin-top: 16px; color: #a8a8a8; max-width: 44ch; }
.wz-done .link-arrow { margin-top: 28px; color: #fff; background-color: transparent; border: 0; padding: 0 0 6px; cursor: pointer; }
.wz-done > * { animation: wz-in .8s var(--ease) both; }

/* ─── Hizmet kartı → form kısayolu ─────────────────────────────────────────── */

.scard-cta { margin-top: 26px; align-self: flex-start; color: inherit; font-size: 14.5px; }

/* ─── SSS ──────────────────────────────────────────────────────────────────── */

.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq-head .sec-lead { margin-top: 24px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 26px 0; font: 500 clamp(18px, 1.6vw, 22px)/1.3 var(--f-display); letter-spacing: -.02em;
    transition: padding .4s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { padding-left: 10px; }
.faq-item summary i { position: relative; flex: none; width: 36px; height: 36px; border: 1px solid currentColor; border-radius: 50%; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { padding: 0 60px 28px 0; color: #4a4a4a; font-size: 16.5px; max-width: 64ch; }
.faq-item[open] .faq-a { animation: wz-in .5s var(--ease); --wz-from: 0; }

/* ─── 404 ──────────────────────────────────────────────────────────────────── */

.nf { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: 140px; }
.nf-title { margin-top: 28px; font: 500 clamp(44px, 7.6vw, 124px)/.96 var(--f-display); letter-spacing: -.05em; max-width: 12ch; }
.nf-title em { color: #9a9a9a; font-size: 1.06em; }
.nf-scale { display: grid; grid-template-columns: repeat(7, 1fr); height: clamp(56px, 7vw, 96px); margin-top: clamp(40px, 6vw, 72px); }
.nf-missing {
    display: flex; align-items: center; justify-content: center;
    border: 1px dashed #777; color: #9a9a9a; font: 500 12px var(--f-mono); letter-spacing: .14em;
    animation: nf-blink 1.6s steps(2) infinite;
}
@keyframes nf-blink { 50% { border-color: transparent; } }
.nf-text { margin-top: 32px; color: #a8a8a8; font-size: 17px; max-width: 52ch; }
.nf-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ─── WhatsApp ─────────────────────────────────────────────────────────────── */

.wa {
    position: fixed; right: 20px; bottom: 20px; z-index: 85;
    display: inline-flex; align-items: center; gap: 0; height: 54px; padding: 0 15px;
    background: #fff; color: var(--ink); border-radius: 999px; text-decoration: none;
    box-shadow: 0 14px 34px -12px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.06);
    transition: gap .45s var(--ease), padding .45s var(--ease), transform .45s var(--ease);
}
.wa svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.wa span { max-width: 0; overflow: hidden; white-space: nowrap; font: 500 14px var(--f-body); transition: max-width .45s var(--ease); }
.wa:hover { gap: 10px; padding: 0 20px 0 16px; transform: translateY(-2px); }
.wa:hover span { max-width: 120px; }

/* ─── Çerez onayı ──────────────────────────────────────────────────────────── */

.consent {
    position: fixed; left: 50%; bottom: 20px; z-index: 120; width: min(720px, calc(100% - 32px));
    display: flex; align-items: center; gap: 24px; padding: 18px 20px;
    background: rgba(18,18,18,.94); color: #d0d0d0; border: 1px solid #2e2e2e; border-radius: 6px;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    font-size: 14px; line-height: 1.5;
    transform: translate(-50%, 140%); transition: transform .7s var(--ease);
}
.consent.is-on { transform: translate(-50%, 0); }
.consent a { color: #fff; }
.consent-actions { display: flex; gap: 8px; flex: none; }
.consent-btn { font: 500 13px var(--f-body); padding: 10px 16px; border-radius: 999px; border: 1px solid #444; background: transparent; color: #fff; cursor: pointer; transition: all .3s var(--ease); }
.consent-btn:hover { border-color: #fff; }
.consent-btn.is-primary { background: #fff; color: var(--ink); border-color: #fff; }
.footer-link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.footer-link-btn:hover { color: var(--white); }

@media (max-width: 860px) {
    .picks { grid-template-columns: 1fr; }
    .faq { grid-template-columns: 1fr; }
    .faq-a { padding-right: 0; }
    .consent { flex-direction: column; align-items: stretch; gap: 14px; }
    .consent-actions .consent-btn { flex: 1; }
    .wa { right: 14px; bottom: 14px; }
}

/* ─── Görünür olunca belir ─────────────────────────────────────────────────── */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .intro { display: none; }
    .js .reveal, .js .hero-title .ln > span, .js .gcard, .js .footer-word .fw-l, .js .split .mw > span { opacity: 1; transform: none; transition: none; animation: none; }
    .js .refs .ref > * { opacity: 1; transform: none; }
    .stair i { transform: none; }
    .gcard { transform: rotate(5deg); }
    .marquee-track, .scroll-cue span { animation: none; }
}

/* ─── Duyarlı ──────────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
    .gcard-wrap, .readout { display: none; }
    .nav { display: none; }
    .menu-toggle {
        display: inline-flex; align-items: center; gap: 12px;
        background: none; border: 0; color: inherit; cursor: pointer; padding: 10px 0;
        font: 500 12px var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
    }
    .menu-toggle-lines { display: grid; gap: 6px; width: 26px; }
    .menu-toggle-lines i { display: block; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
    .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child { transform: translateY(3.75px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
    .refs { grid-template-columns: repeat(3, 1fr); }
    .ref-cta { grid-column: span var(--s3, 2); }
    .scard { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; min-height: 0; }
}

@media (max-width: 860px) {
    .header-bar { height: 72px; gap: 20px; }
    .header-cta { display: none; }
    .logo { height: 32px; }
    .brand-space { width: 92px; height: 32px; }
    .brand-layer .wrap { height: 72px; }

    .hero-inner { padding-top: 104px; }
    .hero-bottom { grid-template-columns: 1fr; gap: 28px; }
    .scroll-cue { display: none; }
    .hide-sm { display: none; }

    .sec-head-split, .about-grid, .contact { grid-template-columns: 1fr; }
    .refs-count { justify-self: start; text-align: left; }

    .steps { grid-template-columns: 1fr; }
    .steps::after { display: none; }
    .viz-row { grid-template-columns: 1fr; }
    .contact-head { grid-template-columns: 1fr; gap: 0; }
    .badge { width: 150px; justify-self: end; margin-top: 8px; }
    .viz { justify-self: center; max-width: 340px; margin-top: 24px; }
    .f-row { grid-template-columns: 1fr; }
    .f-term { min-height: 0; gap: 18px; padding: 22px 0; }
    .f-term p em { display: inline; }
    .f-op { padding: 0; font-size: 34px; justify-self: start; }
    .f-result { padding: 22px 20px 30px; }
    .step { padding: 32px 0 40px; }
    .step h3 { margin-top: 0; }

    .refs { grid-template-columns: repeat(2, 1fr); }
    .ref-cta { grid-column: span var(--s2, 2); }
    .ref-cta { padding: 14px 14px 20px; gap: 16px; }
    .ref-cta p { font-size: 24px; }
    .ref-cta .link-arrow { font-size: 14px; }
    /* Telefonda kart ekrandan uzun olabilir; yapışkan yığın yerine düz akış */
    .scard { position: relative; top: auto; margin-bottom: 12px; transform: none; }
    .scard::before { display: none; }
    .ref { min-height: 184px; padding: 12px 12px 14px; }
    .ref-logo img { max-height: 76px; max-width: 86%; }
    .ref-wordmark { font-size: 16px; padding: 10px; }
    .ref-cta { padding: 16px 18px 22px; }

    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-lead { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .form-row, .roof-items { grid-template-columns: 1fr; }
    .roof-items li:nth-child(odd) { border-right: 0; }
    .roof-items li:nth-child(even) { padding-left: 16px; }
    .roof-items li:nth-child(even)::before { left: 0; }
    .hero-actions .btn { flex: 1 1 100%; }
    .contact-list div { flex-direction: column; gap: 4px; }
    .contact-list dd { text-align: left; }
    .marquee { padding: 18px 0; }
}

.wizard.is-done .wz-progress, .wizard.is-done .wz-alert { display: none; }

/* ─── Yukarı çık ───────────────────────────────────────────────────────────── */

.totop {
    position: fixed; right: 20px; bottom: 20px; z-index: 84;
    width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%;
    background: transparent; color: #fff; cursor: pointer;
    mix-blend-mode: difference; /* her zeminde görünür */
    opacity: 0; visibility: hidden; transform: translateY(16px) scale(.85);
    transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s;
}
.totop.has-wa { bottom: 88px; }
.totop.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.totop svg { width: 100%; height: 100%; overflow: visible; }
.totop-track { fill: none; stroke: rgba(255,255,255,.3); stroke-width: 1.5; }
.totop-ring {
    fill: none; stroke: #fff; stroke-width: 1.5;
    stroke-dasharray: 163.4; stroke-dashoffset: calc(163.4 - var(--tp, 0) * 163.4);
    transform: rotate(-90deg); transform-origin: 28px 28px;
}
.totop-arrow { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: square; transition: transform .45s var(--ease); }
.totop:hover .totop-arrow { transform: translateY(-4px); }
.totop:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

@media (max-width: 860px) {
    .totop { right: 14px; bottom: 14px; width: 48px; height: 48px; }
    .totop.has-wa { bottom: 76px; }
}
