/* cy.niximera.com.tr — sunum tarzı kişisel site.
   Renkler kayıtlı özel özellikler (@property): bölüm değişince :root token'ları yumuşakça yeni renge akar. */

@font-face {
    font-family: "Jakarta";
    src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
    font-weight: 200 800;
    font-display: swap;
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Jakarta";
    src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Mono";
    src: url("../fonts/jetbrains-mono-latin-ext-500-normal.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
    unicode-range: U+0100-02AF, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Mono";
    src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212;
}

@property --bg { syntax: "<color>"; inherits: true; initial-value: #09090d; }
@property --surface { syntax: "<color>"; inherits: true; initial-value: #14141b; }
@property --accent { syntax: "<color>"; inherits: true; initial-value: #e8c07d; }
@property --accent2 { syntax: "<color>"; inherits: true; initial-value: #7c9cff; }
@property --ink { syntax: "<color>"; inherits: true; initial-value: #f3f1ec; }
@property --muted { syntax: "<color>"; inherits: true; initial-value: #9a98a6; }

:root {
    --bg: #09090d;
    --surface: #14141b;
    --accent: #e8c07d;
    --accent2: #7c9cff;
    --ink: #f3f1ec;
    --muted: #9a98a6;
    --line: color-mix(in oklab, var(--ink) 12%, transparent);
    --gutter: clamp(1.25rem, 5vw, 5rem);
    --ease: cubic-bezier(.2, .75, .15, 1);
    --theme-dur: 1.1s;
    transition: --bg var(--theme-dur) ease, --surface var(--theme-dur) ease, --accent var(--theme-dur) ease,
                --accent2 var(--theme-dur) ease, --ink var(--theme-dur) ease, --muted var(--theme-dur) ease;
    color-scheme: dark;
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--accent); color: var(--bg); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 1rem; }

.label, .eyebrow, .ch-index, .step-kicker, .job-period, .chips, .stage-count, .now {
    font-family: "Mono", ui-monospace, "SF Mono", Consolas, monospace;
}
.label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Arka plan: renk alan küreler + ızgara + gren ---------- */
.aura { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; width: 70vmax; aspect-ratio: 1; border-radius: 50%; filter: blur(40px); opacity: .32; will-change: transform; }
.orb-a { background: radial-gradient(circle at center, var(--accent), transparent 62%); top: -35vmax; right: -25vmax; animation: drift-a 22s ease-in-out infinite alternate; }
.orb-b { background: radial-gradient(circle at center, var(--accent2), transparent 62%); bottom: -40vmax; left: -30vmax; opacity: .24; animation: drift-b 26s ease-in-out infinite alternate; }
.grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%);
    opacity: .35;
}
.grain {
    position: absolute; inset: -50%;
    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)' opacity='.55'/%3E%3C/svg%3E");
    opacity: .06; mix-blend-mode: overlay;
}
@keyframes drift-a { to { transform: translate(-18vmax, 22vmax) scale(1.1); } }
@keyframes drift-b { to { transform: translate(22vmax, -16vmax) scale(.92); } }

/* ---------- Üst çubuk + ilerleme + yan ray ---------- */
.topbar {
    position: fixed; inset: 0 0 auto; z-index: 50; height: 4rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding-inline: var(--gutter);
    background: color-mix(in oklab, var(--bg) 55%, transparent);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.mark {
    font-weight: 800; letter-spacing: -.04em; font-size: 1.15rem; text-decoration: none;
    background: linear-gradient(120deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.now { display: flex; gap: .6rem; align-items: baseline; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); overflow: hidden; }
.now-num { color: var(--accent); }
.now-name { display: inline-block; transition: transform .45s var(--ease), opacity .45s; }
.now.is-swapping .now-name { transform: translateY(-110%); opacity: 0; }
.topbar-link { font-size: .9rem; font-weight: 600; text-decoration: none; padding: .45rem .95rem; border: 1px solid var(--line); border-radius: 999px; transition: background .3s, color .3s, border-color .3s; }
.topbar-link:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.progress span { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--scroll, 0)); background: linear-gradient(90deg, var(--accent), var(--accent2)); }

.rail { position: fixed; right: clamp(.75rem, 2vw, 1.75rem); top: 50%; transform: translateY(-50%); z-index: 40; }
.rail ol { display: grid; gap: .55rem; justify-items: end; }
.rail a { display: flex; align-items: center; gap: .7rem; padding: .25rem 0; text-decoration: none; font-size: .78rem; color: var(--muted); }
.rail a::after { content: ""; width: .45rem; height: .45rem; border-radius: 999px; background: color-mix(in oklab, var(--ink) 30%, transparent); transition: width .5s var(--ease), background .5s; }
.rail a span { opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; white-space: nowrap; }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; transform: none; }
.rail ol:hover a.is-active span { opacity: 1; transform: none; }
.rail a.is-active { color: var(--ink); }
.rail a.is-active::after { width: 1.6rem; background: var(--accent); }
@media (max-width: 1099px) { .rail { display: none; } }

/* ---------- Ortak: butonlar, rozetler, çipler ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .55rem; min-height: 3rem; padding: .75rem 1.35rem;
    border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .98rem;
    transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s;
}
.btn svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn-accent { background: var(--accent); color: var(--bg); box-shadow: 0 10px 40px -12px var(--accent); }
.btn-ghost { border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.badge { font-family: "Mono", monospace; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px; color: var(--accent); border: 1px solid color-mix(in oklab, var(--accent) 50%, transparent); background: color-mix(in oklab, var(--accent) 10%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .76rem; }
.chips li { padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line); color: color-mix(in oklab, var(--ink) 82%, transparent); background: color-mix(in oklab, var(--surface) 55%, transparent); }
.chips-lg { font-size: .84rem; gap: .55rem; }
.chips-lg li { padding: .5rem .95rem; }

/* ---------- Görünür olunca beliren öğeler (yalnız JS varsa gizlenir) ---------- */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }
.split .w { display: inline-block; white-space: nowrap; }
.split .c { display: inline-block; }
html.js .split:not(.hero-name) .c { opacity: 0; transform: translateY(.55em) rotate(4deg); transition: opacity .7s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 32ms); }
html.js .split.in .c { opacity: 1; transform: none; }

.load-in { animation: rise 1.1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Giriş ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-content: end; padding: 7rem var(--gutter) clamp(2.5rem, 8vh, 5rem); }
.hero-inner { transform: translateY(calc(var(--exit, 0) * -12vh)) scale(calc(1 - var(--exit, 0) * .08)); opacity: calc(1 - var(--exit, 0) * 1.3); transform-origin: 0 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.pulse { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 .7rem transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero-name { font-size: clamp(3.6rem, 14.5vw, 13.5rem); font-weight: 800; line-height: .86; letter-spacing: -.055em; margin-left: -.04em; }
.hero-name .w + .w { color: var(--accent); }
.hero-name .c { animation: char-in 1.2s var(--ease) both; animation-delay: calc(.2s + var(--i) * 55ms); }
@keyframes char-in { from { opacity: 0; transform: translateY(.45em) rotate(6deg); filter: blur(8px); } }
.hero-lead { max-width: 52ch; margin-top: 1.75rem; font-size: clamp(1.05rem, 1rem + .45vw, 1.35rem); color: color-mix(in oklab, var(--ink) 78%, transparent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-projects { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin-top: clamp(2.5rem, 7vh, 4.5rem); padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .92rem; }
.hero-projects a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--muted); transition: color .3s; }
.hero-projects a::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }
.hero-projects a:hover { color: var(--ink); }
.scroll-cue { position: absolute; right: var(--gutter); bottom: clamp(2.5rem, 8vh, 5rem); width: 1px; height: 4.5rem; background: var(--line); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; width: 1px; height: 40%; background: var(--accent); animation: cue 2s var(--ease) infinite; }
@keyframes cue { from { top: -40%; } to { top: 100%; } }
@media (max-width: 1099px) { .scroll-cue { display: none; } }

.highlights { padding: clamp(4rem, 12vh, 8rem) var(--gutter); }
.highlights ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem 1.5rem; max-width: 1400px; margin-inline: auto; }
.highlights li { display: grid; gap: .4rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.highlights li:nth-child(2) { --rd: .08s; } .highlights li:nth-child(3) { --rd: .16s; } .highlights li:nth-child(4) { --rd: .24s; } .highlights li:nth-child(5) { --rd: .32s; }
.highlights strong { font-size: clamp(2.4rem, 4.6vw, 4.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums;
    background: linear-gradient(120deg, var(--ink) 20%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.highlights span { color: var(--muted); font-size: .92rem; max-width: 22ch; }
@media (max-width: 900px) { .highlights ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .highlights li:last-child { grid-column: 1 / -1; } }

.statement { height: 240vh; padding-inline: var(--gutter); }
.statement-sticky { position: sticky; top: 0; height: 100svh; display: grid; align-content: center; gap: 1.75rem; max-width: 1200px; margin-inline: auto; }
.statement-text { font-size: clamp(1.9rem, 4.6vw, 4.4rem); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; }
.statement-text .sw { color: color-mix(in oklab, var(--ink) 16%, transparent); transition: color .5s ease; }
.statement-text .sw.on { color: var(--ink); }
html:not(.js) .statement-text .sw { color: var(--ink); }

/* ---------- Proje bölümü ---------- */
.chapter { position: relative; padding-inline: var(--gutter); }
.chapter::before { content: ""; position: absolute; inset: 0 var(--gutter) auto; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }

.ch-cover { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(2rem, 5vw, 6rem); padding-block: clamp(6rem, 14vh, 9rem); max-width: 1500px; margin-inline: auto; }
.ch-index { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ch-num { color: var(--accent); font-size: 1rem; }
.ch-cat::before { content: "—"; margin-inline: .7rem; opacity: .5; }
.ch-brand { display: flex; align-items: center; gap: .9rem; margin-top: 1.75rem; --rd: .08s; }
.ch-logo { width: 3.5rem; height: 3.5rem; border-radius: 1rem; object-fit: contain; background: color-mix(in oklab, var(--surface) 70%, transparent); box-shadow: 0 0 0 1px var(--line), 0 12px 40px -12px var(--accent); }
.ch-name { margin-top: 1.25rem; font-size: clamp(3.1rem, 8.4vw, 8.2rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.ch-tagline { margin-top: 1.4rem; font-size: clamp(1.25rem, 1rem + 1.1vw, 1.9rem); font-weight: 650; letter-spacing: -.015em; line-height: 1.25; color: var(--accent); --rd: .15s; }
.ch-summary { margin-top: 1.1rem; max-width: 48ch; color: var(--muted); font-size: 1.04rem; --rd: .25s; }

.ch-cover-visual { position: relative; perspective: 1800px; }
.ch-cover-visual::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 55%, transparent), transparent); filter: blur(50px); opacity: .55; z-index: -1; }
.tilt {
    transform: rotateX(calc((1 - var(--enter, 1)) * 28deg)) rotateY(calc((1 - var(--enter, 1)) * -14deg)) translateY(calc((1 - var(--enter, 1)) * 12vh)) scale(calc(.86 + var(--enter, 1) * .14));
    transform-origin: 50% 100%;
}
.ch-emblem { display: grid; place-items: center; aspect-ratio: 16 / 10; }
.ch-emblem img { width: min(260px, 50%); border-radius: 22%; box-shadow: 0 30px 120px -20px var(--accent), 0 0 0 1px var(--line);
    transform: scale(calc(.8 + var(--enter, 1) * .2)) rotate(calc((1 - var(--enter, 1)) * -10deg)); }

/* Çerçeveler */
.frame { position: relative; overflow: hidden; background: var(--surface); }
.frame-browser { border-radius: 14px; box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 14%, transparent), 0 40px 120px -30px rgb(0 0 0 / .8), 0 30px 80px -40px var(--accent); }
.frame-bar { display: flex; align-items: center; gap: .4rem; height: 2.1rem; padding-inline: .85rem; background: color-mix(in oklab, var(--surface) 85%, var(--ink) 4%); border-bottom: 1px solid var(--line); }
.frame-bar .dot { width: .6rem; height: .6rem; border-radius: 50%; background: color-mix(in oklab, var(--ink) 22%, transparent); }
.frame-url { flex: 1; max-width: 60%; margin-inline: auto; padding: .18rem .8rem; border-radius: 999px; background: color-mix(in oklab, var(--bg) 70%, transparent); font-family: "Mono", monospace; font-size: .7rem; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.frame-phone { border-radius: 2.6rem; padding: .55rem; background: #050507; box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 18%, transparent), inset 0 0 0 1px rgb(255 255 255 / .06), 0 50px 120px -30px rgb(0 0 0 / .85), 0 30px 90px -40px var(--accent); }
.frame-phone img { border-radius: 2.1rem; width: 100%; aspect-ratio: 600 / 1304; object-fit: cover; object-position: top; }
.frame-island { position: absolute; z-index: 2; top: 1.05rem; left: 50%; width: 30%; height: 1.45rem; transform: translateX(-50%); border-radius: 999px; background: #050507; }

/* Anlatım: solda adımlar, sağda yapışkan sahne */
.ch-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); max-width: 1500px; margin-inline: auto; }
.ch-steps { grid-column: 1; grid-row: 1; }
.ch-stage { grid-column: 2; grid-row: 1; position: sticky; top: 0; height: 100svh; }
.stage-item { position: absolute; inset: 0; display: grid; place-items: center; padding-block: 6.5rem 4.5rem; opacity: 0; visibility: hidden;
    transform: translateY(6vh) scale(.94) rotateX(8deg); transition: opacity .8s var(--ease), transform 1s var(--ease), visibility 0s .8s; perspective: 1400px; }
.stage-item.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .8s var(--ease), transform 1s var(--ease), visibility 0s; }
.stage-item.is-past { transform: translateY(-6vh) scale(.94) rotateX(-8deg); transition: opacity .45s var(--ease), transform 1s var(--ease), visibility 0s .45s; }
.stage-item.is-wide .frame { width: 100%; }
.stage-item.is-phone .frame { width: min(23rem, calc((100svh - 12rem) * .46)); }
.stage-count { position: absolute; left: 0; right: 0; bottom: 2rem; display: flex; justify-content: center; gap: .45rem; }
.stage-count span { width: .4rem; height: .4rem; border-radius: 999px; background: color-mix(in oklab, var(--ink) 25%, transparent); transition: width .5s var(--ease), background .5s; }
.stage-count span.is-active { width: 1.8rem; background: var(--accent); }

.step { min-height: 100svh; display: flex; align-items: center; }
.step-card { max-width: 30rem; opacity: .18; transform: translateX(-12px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.step.is-active .step-card { opacity: 1; transform: none; }
.step-kicker { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.step-kicker span { color: var(--accent); margin-right: .5rem; }
.step h3 { margin-top: .9rem; font-size: clamp(1.9rem, 3.4vw, 3.3rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.04; }
.step p:not(.step-kicker) { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.step .chips { margin-top: 1.4rem; }
.step-shot { display: none; }

.ch-outro { max-width: 1500px; margin-inline: auto; padding-block: clamp(3rem, 10vh, 7rem) clamp(6rem, 16vh, 10rem); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem clamp(2rem, 5vw, 6rem); align-items: end; }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.fact:nth-child(2) { --rd: .1s; } .fact:nth-child(3) { --rd: .2s; }
.fact dd { font-size: clamp(1.9rem, 4vw, 3.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02;
    background: linear-gradient(120deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact dt { color: var(--muted); font-size: .95rem; }
.ch-stack .label { margin-bottom: 1rem; }
.ch-cta { justify-self: end; --rd: .15s; }
.private-note { display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.2rem; border-radius: 999px; border: 1px dashed var(--line); color: var(--muted); font-size: .92rem; }
.private-note::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); }

@media (max-width: 999px) {
    .ch-cover { grid-template-columns: 1fr; min-height: auto; padding-block: 7rem 3rem; }
    .ch-story { grid-template-columns: 1fr; }
    .ch-stage { display: none; }
    .step { min-height: auto; display: block; padding-block: 3rem; }
    .step-card { opacity: 1; transform: none; }
    .step-shot { display: block; margin-top: 1.75rem; }
    .step-shot .frame-phone { width: min(17rem, 70vw); margin-inline: auto; }
    .ch-outro { grid-template-columns: 1fr; }
    .facts { grid-template-columns: 1fr; }
    .ch-cta { justify-self: start; }
}

/* ---------- Yolculuk: dikey kaydırma yatay şeride dönüşür ---------- */
.journey { position: relative; height: var(--journey-h, auto); }
.journey-sticky { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(2rem, 5vh, 3.5rem); overflow: hidden; padding-block: 5rem 3rem; }
.journey-head { padding-inline: var(--gutter); max-width: 60rem; }
.journey-head h2 { margin-top: .9rem; font-size: clamp(2.2rem, 5.4vw, 5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.journey-head p:last-child { margin-top: 1rem; color: var(--muted); max-width: 52ch; }
.journey-track { display: flex; gap: 1.25rem; padding-inline: var(--gutter); transform: translate3d(calc(var(--hx, 0) * -1px), 0, 0); will-change: transform; }
.job { flex: none; width: min(26rem, 82vw); display: flex; flex-direction: column; gap: .55rem; padding: 1.6rem; border-radius: 1.25rem;
    background: color-mix(in oklab, var(--surface) 75%, transparent); border: 1px solid var(--line); backdrop-filter: blur(8px); transition: border-color .4s, transform .4s var(--ease); }
.job:hover { border-color: color-mix(in oklab, var(--accent) 60%, transparent); transform: translateY(-4px); }
.job-period { font-size: .8rem; letter-spacing: .1em; color: var(--accent); }
.job h3 { font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.15; }
.job-role { font-weight: 600; color: color-mix(in oklab, var(--ink) 80%, transparent); font-size: .95rem; }
.job-body { color: var(--muted); font-size: .95rem; flex: 1; }
.job .chips { margin-top: .6rem; }
@media (max-width: 899px), (prefers-reduced-motion: reduce) {
    .journey { height: auto !important; }
    .journey-sticky { position: static; overflow: visible; }
    .journey-track { flex-direction: column; transform: none; }
    .job { width: auto; }
}

/* ---------- Uzmanlık ---------- */
.expertise { padding-block: clamp(5rem, 14vh, 9rem); }
.expertise h2 { margin-top: .9rem; font-size: clamp(2.1rem, 4.8vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; max-width: 18ch; }
.domains { margin-top: clamp(2.5rem, 7vh, 4rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.domain { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.domain:nth-child(3n + 2) { --rd: .08s; } .domain:nth-child(3n) { --rd: .16s; }
.domain h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.domain p { margin-top: .5rem; color: var(--muted); font-size: .97rem; }
.marquee { display: flex; overflow: hidden; margin-block: clamp(4rem, 12vh, 7rem); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-row { flex: none; display: flex; animation: marquee 48s linear infinite; }
.marquee-row li { display: flex; align-items: center; white-space: nowrap; font-size: clamp(1.7rem, 4.2vw, 3.6rem); font-weight: 750; letter-spacing: -.03em; color: color-mix(in oklab, var(--ink) 30%, transparent); transition: color .3s; }
.marquee-row li:hover { color: var(--ink); }
.marquee-row li::after { content: "✦"; margin-inline: clamp(1rem, 2.5vw, 2rem); font-size: .45em; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-100%); } }
.beyond { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.beyond li { padding: 1.6rem; border-radius: 1.25rem; border: 1px solid var(--line); background: color-mix(in oklab, var(--surface) 60%, transparent); }
.beyond li:nth-child(2) { --rd: .1s; } .beyond li:nth-child(3) { --rd: .2s; }
.beyond h3 { font-size: 1.15rem; }
.beyond p { margin-top: .6rem; color: var(--muted); font-size: .95rem; }
@media (max-width: 899px) { .domains, .beyond { grid-template-columns: 1fr; } }

/* ---------- İletişim ---------- */
.contact { min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding-top: 8rem; }
.contact .wrap { align-self: center; }
.contact-title { margin-top: 1.25rem; font-size: clamp(2.6rem, 8vw, 7.4rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; max-width: 14ch; }
.contact-mail { display: inline-block; margin-top: 2.5rem; font-size: clamp(1.2rem, 1rem + 1.6vw, 2.3rem); font-weight: 650; text-decoration: none; letter-spacing: -.02em;
    background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease), color .3s; padding-bottom: .2rem; }
.contact-mail:hover, .contact-mail:focus-visible { background-size: 100% 2px; color: var(--accent); }
.contact-note { margin-top: 1.5rem; color: var(--muted); }
.contact-note a { color: var(--ink); }
.footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem var(--gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* ---------- Şematik çizimler (ekran görüntüsü paylaşılamayan proje) ---------- */
.schematic {
    position: relative; width: 100%; aspect-ratio: 16 / 10; display: grid; align-items: center; gap: 1.25rem; padding: clamp(1.25rem, 3vw, 2.5rem);
    border-radius: 18px; border: 1px solid var(--line);
    background: radial-gradient(120% 90% at 85% 10%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 60%),
                linear-gradient(160deg, color-mix(in oklab, var(--surface) 92%, transparent), color-mix(in oklab, var(--bg) 85%, transparent));
    box-shadow: 0 40px 120px -40px rgb(0 0 0 / .8), 0 30px 80px -40px var(--accent);
    font-size: .85rem;
}
.schematic figcaption { position: absolute; right: 1rem; bottom: .8rem; font-family: "Mono", monospace; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.schematic-quotes { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
.sx-form { display: grid; gap: .6rem; padding: 1.2rem; border-radius: 14px; background: color-mix(in oklab, var(--bg) 60%, transparent); border: 1px solid var(--line); }
.sx-title { font-weight: 700; }
.sx-field { height: 2rem; border-radius: 8px; background: color-mix(in oklab, var(--ink) 8%, transparent); }
.sx-field.short { width: 60%; }
.sx-btn { margin-top: .3rem; padding: .55rem; border-radius: 999px; text-align: center; font-weight: 700; background: var(--accent); color: var(--bg); }
.sx-quotes { display: grid; gap: .5rem; }
.sx-quotes li { display: grid; grid-template-columns: 5.5rem 1fr 4.5rem; align-items: center; gap: .7rem; padding: .55rem .8rem; border-radius: 10px; background: color-mix(in oklab, var(--surface) 80%, transparent); border: 1px solid var(--line); }
.sx-co { color: var(--muted); font-size: .78rem; }
.sx-bar { height: .45rem; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent2)); transform-origin: 0 50%; animation: sx-fill 3.2s var(--ease) infinite; animation-delay: calc(var(--k) * .28s); }
.sx-price { height: .9rem; border-radius: 6px; background: color-mix(in oklab, var(--ink) 18%, transparent); animation: sx-blink 3.2s ease infinite; animation-delay: calc(var(--k) * .28s); }
.sx-more { justify-content: center; grid-template-columns: 1fr !important; text-align: center; color: var(--muted); border-style: dashed !important; background: none !important; }
@keyframes sx-fill { 0% { transform: scaleX(0); } 45%, 100% { transform: scaleX(1); } }
@keyframes sx-blink { 0%, 40% { opacity: .2; } 55%, 100% { opacity: 1; background: color-mix(in oklab, var(--accent) 70%, transparent); } }
.schematic-connectors { grid-template-columns: 1fr auto 1fr; }
.sx-col { display: grid; gap: .7rem; }
.sx-pill { padding: .7rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: color-mix(in oklab, var(--surface) 80%, transparent); font-family: "Mono", monospace; font-size: .78rem; }
.sx-core { position: relative; width: clamp(7rem, 12vw, 9.5rem); aspect-ratio: 1; display: grid; place-items: center; text-align: center; border-radius: 50%; font-weight: 750; line-height: 1.2;
    background: radial-gradient(circle, color-mix(in oklab, var(--accent) 35%, var(--surface)), var(--surface)); border: 1px solid color-mix(in oklab, var(--accent) 60%, transparent); }
.sx-core::before, .sx-core::after { content: ""; position: absolute; inset: -14%; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent); animation: sx-ring 2.8s ease-out infinite; }
.sx-core::after { animation-delay: 1.4s; }
@keyframes sx-ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.sx-health { display: grid; gap: .5rem; }
.sx-health li { display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem; border-radius: 10px; background: color-mix(in oklab, var(--surface) 80%, transparent); border: 1px solid var(--line); }
.sx-health em { margin-left: auto; font-style: normal; font-family: "Mono", monospace; font-size: .68rem; color: var(--muted); }
.sx-led { width: .55rem; height: .55rem; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.is-slow .sx-led { background: #fbbf24; box-shadow: 0 0 10px #fbbf24; }
.is-open .sx-led { background: #f87171; box-shadow: 0 0 10px #f87171; animation: sx-led 1.2s steps(2) infinite; }
@keyframes sx-led { 50% { opacity: .3; } }
.sx-modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.sx-modules li { display: grid; place-items: center; min-height: 4.2rem; padding: .6rem; text-align: center; border-radius: 12px; font-weight: 650; border: 1px solid var(--line);
    background: color-mix(in oklab, var(--surface) 80%, transparent); animation: sx-glow 6s ease-in-out infinite; }
.sx-modules li:nth-child(3n + 1) { animation-delay: 0s; } .sx-modules li:nth-child(3n + 2) { animation-delay: 2s; } .sx-modules li:nth-child(3n) { animation-delay: 4s; }
@keyframes sx-glow { 0%, 70%, 100% { border-color: var(--line); } 15% { border-color: color-mix(in oklab, var(--accent) 70%, transparent); color: var(--accent); } }
@media (max-width: 999px) {
    .schematic { aspect-ratio: auto; }
    .schematic-quotes, .schematic-connectors { grid-template-columns: 1fr; justify-items: stretch; }
    .sx-core { justify-self: center; }
    .sx-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-content: center; justify-items: start; gap: 1.25rem; padding: var(--gutter); }
.nf-code { font-family: "Mono", monospace; color: var(--accent); letter-spacing: .2em; }
.nf h1 { font-size: clamp(2.4rem, 7vw, 5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.nf .btn { background: var(--accent); color: var(--bg); }

@media (prefers-reduced-motion: reduce) {
    :root { scroll-behavior: auto; --theme-dur: .01s; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .tilt, .hero-inner, .ch-emblem img { transform: none !important; opacity: 1 !important; }
    .marquee-row { animation: none; }
    .orb { animation: none; }
}
