/* ============================================================
   berkutercin.com · v3 — kaydırdıkça değişen sahneler
   JS yoksa (html.js yok) her şey düz, sırayla okunur.
   html.rm = hareket azaltılmış: sahneler hazır halde, oto-oynatma yok.
   ============================================================ */

:root {
  /* Palet: Charcoal Black / Signal Red / Cool Silver */
  --bg: #151515; --surface: #1c1c1c; --raised: #242424;
  --line: rgba(237, 237, 237, .09); --line-2: rgba(237, 237, 237, .16);
  --fg: #e8e8e8; --fg-2: #a9a9a9; --muted: #7a7a7a; --dim: #333333;
  --accent: #e81919; --accent-ink: #ffffff;
  --band: #e8e8e8; --band-ink: #151515;
  --good: #4cc38a; --call: #5b9cf5; --warn: #d9a441; --bad: #e5484d;
  --pad: max(16px, 5vw);
  --u-kobi: #6f8fbf; --u-bo: #9a86c4; --u-portal: #6fae8f; --u-inb: #c98d5a;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.rm { scroll-behavior: auto; }
body { background: var(--bg); color: var(--fg); font: 400 16px/1.55 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { padding-inline: var(--pad); max-width: 1440px; margin-inline: auto; }
.eyebrow { font: 500 13px var(--mono); color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; align-items: baseline; margin-bottom: 28px; }
.eyebrow span { color: var(--fg-2); opacity: .7; }
/* Bölüm adı sağ kenarda yazdığı için başlık etiketi gözden gizlenir; ekran okuyucular yine okur */
html.js .eyebrow { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.nojs { padding: 12px var(--pad); color: var(--muted); font-size: 13px; }
.warn { color: var(--warn); } .bad { color: var(--bad); }

/* ---------- Üst çubuk ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--pad); mix-blend-mode: difference; color: #fff; pointer-events: none; }
.top > * { pointer-events: auto; }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.now { font: 500 12px var(--mono); display: flex; align-items: center; gap: 8px; opacity: .85; }
/* Okuma ilerlemesi: bölüm adının yanında dolan halka */
@keyframes ping { 50% { opacity: .3; } }
@media (max-width: 560px) { .now b { display: none; } }


/* Sağ kenar göstergesi: yan yatmış bölüm numarası, bölüm boyunca dolan ince çizgi ve bölüm adı.
   Beyaz Sonuçlar bandının üstündeyken koyulaşır (.light). Geniş ekranda üstteki bölüm adının yerini alır. */
.edge { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 30; writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px; font: 500 11px var(--mono); color: #fff; --track: rgba(255, 255, 255, .22); pointer-events: none; transition: color .3s; }
.edge.light { color: #111; --track: rgba(0, 0, 0, .18); }
.edge b { font-weight: 500; color: var(--accent); }
.edge > i { position: relative; width: 1px; height: 56px; background: var(--track); }
.edge > i i { position: absolute; inset: 0 0 auto; height: calc(var(--p, 0) * 100%); background: currentColor; }
.edge.swap b, .edge.swap span { animation: edgein .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes edgein { from { opacity: 0; transform: translateY(-10px); } }
@media (min-width: 1001px) { .now { display: none; } }
@media (max-width: 1000px) { .edge { display: none; } }

/* ---------- Sahne iskeleti ---------- */
.pin { position: relative; }
html.js .scene .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ================= 1 · Giriş ================= */
.hero { --e: 1; }
html.js .hero { height: 260vh; --e: 0; }
.hero .pin { display: grid; grid-template-rows: auto 1fr; padding: 92px var(--pad) 28px; gap: 3vh; min-height: 100svh; }
/* Zemin: silik nokta ızgarası, pano toplandıkça söner */
.hero .pin::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero .pin::before { background: radial-gradient(rgba(232, 232, 232, .1) 1px, transparent 1.6px) 0 0 / 28px 28px; -webkit-mask: radial-gradient(ellipse 75% 70% at 50% 55%, #000 25%, transparent 80%); mask: radial-gradient(ellipse 75% 70% at 50% 55%, #000 25%, transparent 80%); opacity: calc(1 - .55 * var(--e)); }
/* Dağınıkken parçalar yerinde süzülür; toplandıkça (--e → 1) hareket söner */
.frag > * { animation: drift var(--dd, 7s) ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes drift {
  50% { translate: calc(var(--dx, 8px) * (1 - var(--e))) calc(var(--dy, -12px) * (1 - var(--e))); rotate: calc(var(--dr, 1.2deg) * (1 - var(--e))); }
}
.frag:nth-child(2) { --dd: 8.5s; --dl: -2s; --dx: -10px; --dy: 9px; --dr: -1.4deg; }
.frag:nth-child(3) { --dd: 6.5s; --dl: -4s; --dx: 7px; --dy: 12px; }
.frag:nth-child(4) { --dd: 9s; --dl: -1s; --dx: -6px; --dy: -14px; --dr: 1.6deg; }
.frag:nth-child(5) { --dd: 7.5s; --dl: -5s; --dx: 11px; --dy: 7px; --dr: -1deg; }
.frag:nth-child(6) { --dd: 10s; --dl: -3s; --dx: -9px; --dy: -8px; }
.frag:nth-child(7) { --dd: 8s; --dl: -6s; --dx: 6px; --dy: 13px; --dr: -1.5deg; }
.frag:nth-child(8) { --dd: 9.5s; --dl: -2.5s; --dx: -12px; --dy: -10px; --dr: 1deg; }
html.rm .frag > *, html:not(.js) .frag > * { animation: none; }
/* Fare yaklaşınca parça kenara kaçar (--px/--py); fareyle tutup taşınabilir (--gx/--gy).
   İkisi de pano toplandıkça söner, parçalar yine yerine oturur. */
.frag { translate: calc(var(--px, 0px) * (1 - var(--e))) calc(var(--py, 0px) * (1 - var(--e))); transition: translate 1.6s cubic-bezier(.22, .61, .36, 1); }
.hero.loose .frag { cursor: grab; user-select: none; -webkit-user-select: none; }
.hero.loose .frag.grab { cursor: grabbing; transition: none; }
/* Tutulan parça masadan kalkar: gölgesi derinleşir */
.frag > .mc, .frag > .lf { transition: box-shadow .3s; }
.hero.loose .frag.grab > .mc, .hero.loose .frag.grab > .lf { box-shadow: 0 34px 60px -18px rgba(0, 0, 0, .75); }
h1 { font: 800 clamp(48px, 8.4vw, 148px)/.92 Inter, sans-serif; letter-spacing: -.055em; }
.tl em { font-style: normal; color: var(--accent); border: .05em solid var(--accent); border-radius: 999px; padding: 0 .2em; margin-left: .04em; display: inline-block; line-height: .86; transform: rotate(-3deg); }
.keys { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin-top: 22px; font: 500 15px var(--mono); color: var(--fg-2); }
.keys li { transition: color .4s; }
.keys li + li::before { content: "/"; margin: 0 14px; color: var(--dim); }
.keys li.on { color: var(--accent); }
@media (max-width: 760px) { .keys { font-size: 13px; } .keys li + li::before { margin: 0 9px; } }
.stage { position: relative; display: grid; align-content: start; justify-items: center; min-height: 0; }
.board { width: min(1240px, 100%); border-radius: 18px; position: relative; z-index: 1; transform: scale(calc(1 - (1 - var(--fit, 1)) * var(--e))); transform-origin: 50% 0; }
/* birleşince aynı boyut, ama ölçekleme yerine zoom: yazılar o boyutta yeniden dizilir, net kalır */
.board.set { width: var(--bw, min(1240px, 100%)); transform: none; zoom: var(--fit, 1); }
.board::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--surface); border: 1px solid var(--line-2); opacity: var(--e); box-shadow: 0 40px 120px -50px rgba(0, 0, 0, calc(.8 * var(--e))); }
.bbar { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--fg-2); opacity: var(--e); }
.bbar b { color: var(--fg); font-weight: 600; }
.bbar .r, .sbar .r { margin-left: auto; color: var(--muted); font-size: 11px; }
.dots { display: flex; gap: 5px; } .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.bbar .crumb { color: var(--muted); }
.bbar .r { display: flex; align-items: center; gap: 6px; }
.bbar .live { width: 6px; height: 6px; border-radius: 50%; background: var(--good); animation: ping 2s infinite; }
.board-in { position: relative; display: grid; grid-template-columns: 176px minmax(0, 1fr); }
.side { display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; border-right: 1px solid var(--line); opacity: var(--e); font-size: 12px; color: var(--muted); }
.side span { padding: 6px 9px; border-radius: 7px; white-space: nowrap; }
.side span.on { background: var(--dim); color: var(--fg); font-weight: 500; }
.side small { margin-top: auto; padding: 6px 9px; font: 11px var(--mono); }
.bgrid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; padding: 12px; align-items: stretch; }
.frag { position: relative; min-width: 0; transform: translate(calc((var(--fx, 0px) + var(--gx, 0px)) * (1 - var(--e))), calc((var(--fy, 0px) + var(--gy, 0px)) * (1 - var(--e)))) rotate(calc((var(--fr) + var(--gr, 0deg)) * (1 - var(--e)))) scale(calc((.94 + .06 * var(--e)) * var(--gs, 1))); }
/* Katman ipucu yalnız dağınıkken: pano birleşince kartlar kendi boyutunda yeniden çizilir, bulanık kalmaz */
.hero.loose .frag { will-change: transform; }
.frag > .mc, .frag > .lf { height: 100%; }
.c12 { grid-column: span 12; } .c5 { grid-column: span 5; } .c4 { grid-column: span 4; } .c3 { grid-column: span 3; }
.hero-head { position: relative; z-index: 2; pointer-events: none; }
.hero-head h1, .keys { text-shadow: 0 2px 30px rgba(12, 12, 13, .6); }
.src { position: absolute; top: -10px; left: 12px; z-index: 2; font: 500 11px var(--mono); background: var(--accent); color: var(--accent-ink); padding: 2px 8px; border-radius: 999px; opacity: calc(1 - var(--e) * 1.6); white-space: nowrap; }
.stage-cap { position: absolute; left: 0; right: 0; bottom: 0; height: 1.6em; margin-inline: auto; font-size: clamp(15px, 1.4vw, 19px); text-align: center; }
.stage-cap span { position: absolute; inset: 0; transition: opacity .4s; }
.stage-cap .c1 { color: var(--fg-2); opacity: calc(1 - var(--e) * 2); }
.stage-cap .c2 { opacity: calc(var(--e) * 2 - 1); }
/* Açılışta alt yazı ekranın ortasında büyük durur; kaydırdıkça küçülerek panonun altındaki yerine akar (--cy, --cs: v3.js) */
html.js:not(.rm) .stage-cap { z-index: 0; pointer-events: none; font-size: calc(clamp(15px, 1.4vw, 19px) * var(--cs, 1)); transform-origin: 50% 0; transform: translateY(calc((1 - var(--e)) * var(--cy, 0px))) scale(calc((1 + (var(--cs, 1) - 1) * (1 - var(--e))) / var(--cs, 1))); }
html.js:not(.rm) .stage-cap .c1 { color: var(--fg); font-weight: 600; letter-spacing: -.03em; }
/* Telefonda kartlar ekranı doldurur: alt yazı büyümez, kartların önünde kalır */
@media (max-width: 759px) { html.js:not(.rm) .stage-cap { transform: none; z-index: 2; } html.js:not(.rm) .stage-cap .c1 { color: var(--fg-2); font-weight: 400; letter-spacing: 0; } }
.scroll-hint { position: absolute; bottom: 18px; left: var(--pad); font: 12px var(--mono); color: var(--muted); opacity: calc(1 - var(--e) * 3); }
html:not(.js) .scroll-hint { display: none; }
html:not(.js) .stage-cap { position: static; margin-top: 16px; }
/* giriş parçaları */
.w { padding-bottom: 10px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 8px 12px 10px; }
.tiles div { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; min-width: 0; }
.tiles small { display: block; font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tiles b { display: block; font: 500 16px var(--mono); letter-spacing: -.02em; margin: 2px 0 1px; }
.tiles em { font: 400 10px var(--mono); font-style: normal; color: var(--muted); }
.tiles em.good { color: var(--good); } .tiles em.bad { color: var(--bad); } .tiles em.warn { color: var(--warn); }
.hm { display: grid; grid-template-columns: 26px repeat(9, minmax(0, 1fr)); gap: 3px; padding: 0 12px; font: 9.5px var(--mono); color: var(--muted); }
.hm span { display: grid; place-items: center; height: 11px; }
.hm i { height: 11px; border-radius: 3px; background: rgba(91, 156, 245, var(--a)); }
.mt.mini { font-size: 12px; }
.mt.mini th { padding: 7px 12px; background: none; }
.mt.mini td { padding: 6px 12px; font-size: 11.5px; }
.mt.mini .av { width: 22px; height: 22px; font-size: 8.5px; }
.topics { list-style: none; display: grid; gap: 7px; padding: 8px 12px 2px; }
.topics li { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; font-size: 11.5px; color: var(--fg-2); }
.topics li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topics li b { font-size: 11px; color: var(--fg); font-weight: 500; }
.topics li i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--u) calc(var(--w) * 100%), var(--dim) calc(var(--w) * 100%)); }
@media (max-width: 1100px) {
  .board-in { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
}
@media (max-width: 760px) {
  .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; }
  .c12, .c5 { grid-column: span 2; } .c3 { grid-column: span 1; }
  .c4, .c3:last-child { display: none; }
  .hero .facts2 { display: none; }
  .hero .lf .chip:nth-of-type(n+2) { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .hero .hm, .bbar .crumb { display: none; }
  .stage-cap { height: 3em; }
}

/* ---------- Pano bileşenleri (ürünün grafit görünümü) ---------- */
.mc { background: var(--raised); border: 1px solid var(--line); border-radius: 12px; min-width: 0; overflow: hidden; }
.mh { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px 2px; font-weight: 600; font-size: 13.5px; }
.mh .t { display: flex; gap: 8px; align-items: center; }
.mh .r { color: var(--muted); font: 400 11px var(--mono); }
.ud { width: 8px; height: 8px; border-radius: 50%; background: var(--u); flex: none; }
.ubig { display: flex; align-items: baseline; gap: 7px; padding: 4px 12px 0; flex-wrap: wrap; }
.ubig b { font: 500 clamp(22px, 2.1vw, 30px)/1.1 var(--mono); letter-spacing: -.03em; }
.ubig span { color: var(--muted); font-size: 11.5px; }
.ubar { height: 4px; border-radius: 2px; background: var(--dim); margin: 9px 12px 8px; overflow: hidden; }
.ubar i { display: block; height: 100%; border-radius: 2px; background: var(--c); width: calc(var(--v) * 100%); transition: width .8s; }
.facts2 { display: flex; flex-wrap: wrap; gap: 2px 10px; padding: 0 12px 10px; color: var(--muted); font-size: 11.5px; }
.facts2 b { color: var(--fg); font: 500 11.5px var(--mono); }
.facts2 b.bad { color: var(--bad); }
.av { width: 26px; height: 26px; border-radius: 50%; background: var(--dim); color: var(--fg-2); font: 500 9.5px Inter, sans-serif; display: inline-grid; place-items: center; flex: none; }
.lf { display: flex; gap: 8px; align-items: center; }
.lf .lbl { color: var(--fg-2); font-size: 12px; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.lf .lbl::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); animation: ping 2s infinite; }
.chip { flex: 1; min-width: 0; display: flex; gap: 9px; align-items: center; background: var(--raised); border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; }
.chip:first-of-type { animation: feedin .5s ease; }
.chip > i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }
.chip > div { min-width: 0; }
.chip .l1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 600; }
.chip .l1 span { font: 400 11px var(--mono); color: var(--muted); margin-right: 4px; }
.chip .l2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; color: var(--muted); }
.chip.rule { border-color: rgba(217, 164, 65, .55); }
@keyframes feedin { from { opacity: 0; transform: translateY(-6px); } }
.utag { font-size: 11.5px; font-weight: 600; color: var(--u); white-space: nowrap; }

/* ================= 2 · CRM hikâyesi ================= */
html.js .story { height: 620vh; }
/* Girişten hikâyeye: içerik panonun hemen altından başlar, sabitlenince ortaya oturur (--in: 0 → 1) */
html.js:not(.rm) .story { --in: 1; }
html.js:not(.rm) .story-l { transform: translateY(calc((1 - var(--in)) * -16vh)); opacity: calc(.3 + .7 * var(--in)); }
html.js:not(.rm) .screen { transform: translateY(calc((1 - var(--in)) * -22vh)) scale(calc(.94 + .06 * var(--in))); transform-origin: 50% 0; }
.story .pin { display: grid; grid-template-columns: minmax(260px, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: 90px var(--pad) 40px; }
.chapters { list-style: none; display: grid; gap: 6px; }
.chapters li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; opacity: .26; transition: opacity .4s; }
.chapters li.on { opacity: 1; }
.chapters .n { font-size: 12px; color: var(--accent); padding-top: .9em; }
.chapters h2 { font: 700 clamp(26px, 3.4vw, 52px)/1.1 Inter, sans-serif; letter-spacing: -.04em; }
.chapters p { color: var(--fg-2); max-width: 36ch; }
.chapters li.on p { padding: 6px 0 10px; }
html.js .chapters li:not(.on) p { display: none; }
.story-meter { height: 2px; background: var(--line); margin-top: 28px; border-radius: 2px; overflow: hidden; }
.story-meter i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--sm, 0)); }
.screen { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; height: min(600px, 74svh); box-shadow: 0 40px 120px -50px rgba(0, 0, 0, .8); }
.sbar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--fg-2); }
.sbar b { color: var(--fg); font-weight: 600; }
.sbody { position: relative; flex: 1; }
.sc { position: absolute; inset: 0; padding: 18px; overflow: hidden; opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .45s, transform .55s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.sc.on { opacity: 1; transform: none; }
html:not(.js) .sc { position: static; opacity: 1; transform: none; border-top: 1px solid var(--line); }
html:not(.js) .screen { height: auto; }
/* s1: pano + atama */
.s1 { display: flex; flex-direction: column; gap: 12px; }
.s1 .g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.s1 .g4 .ubig b { font-size: clamp(20px, 1.7vw, 26px); }
.s1 .lf .chip:nth-of-type(n+3) { display: none; }
.sub { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; font-size: 13.5px; }
.sub > b { font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters span { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; font-size: 12.5px; color: var(--fg-2); }
.filters span i { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--muted)); }
.filters span b { font: 400 11.5px var(--mono); color: var(--muted); }
.filters span.on { background: var(--dim); color: var(--fg); border-color: var(--line-2); }
/* s2: kuyruk raporu */
.s2 { display: flex; flex-direction: column; gap: 12px; }
.tabs { display: flex; gap: 4px; align-items: center; font-size: 12.5px; }
.tabs span { padding: 6px 11px; border-radius: 8px; color: var(--muted); border: 1px solid transparent; transition: background .3s, color .3s; white-space: nowrap; }
.tabs span.on { background: var(--dim); color: var(--fg); border-color: var(--line-2); }
.tabs .csv { margin-left: auto; border-color: var(--line-2); color: var(--fg-2); font: 400 11.5px var(--mono); }
.tiles.big { padding: 0; gap: 10px; }
.tiles.big div { background: var(--raised); border-radius: 12px; padding: 11px 13px; }
.tiles.big small { font-size: 11.5px; }
.tiles.big b { font-size: clamp(20px, 1.8vw, 27px); margin: 4px 0 2px; }
.tiles.big em { font-size: 11px; }
.qgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.qgrid .mt td, .qgrid .mt th { padding-top: 7px; padding-bottom: 7px; }
.qgrid .mt th:last-child { text-align: right; }
.hmw { padding-bottom: 12px; }
.hmw .hm { gap: 4px; padding-top: 8px; }
.hmw .hm span, .hmw .hm i { height: 20px; }
.hmw .hm i { transition: background .6s; }
.qgrid .mt td:first-child { gap: 8px; }
.ev-list { display: grid; gap: 8px; }
.ev { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; background: var(--raised); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.ev:first-child { animation: evin .55s cubic-bezier(.2, .8, .2, 1); border-color: var(--line-2); }
@keyframes evin { from { opacity: 0; transform: translateY(-14px) scale(.98); } }
.ev > i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); grid-row: span 2; }
.ev .l1 { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev .l1 span { font: 400 12px var(--mono); color: var(--muted); }
.ev .l2 { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev .l2 b { color: var(--fg); font-weight: 600; }
.ev .l2 .away { margin-left: 6px; font-size: 11px; color: #e2bb6c; background: rgba(217, 164, 65, .13); padding: 1px 7px; border-radius: 99px; }
.ev .tm { font: 400 11.5px var(--mono); color: var(--muted); text-align: right; }
/* s3: tablo */
.tbl-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 14px; }
.tbl-head .mono { font-size: 11px; color: var(--muted); }
.tbl { background: var(--raised); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
table.mt { width: 100%; border-collapse: collapse; font-size: 13px; }
.mt th { text-align: right; font: 500 11px var(--mono); color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: rgba(255, 255, 255, .015); }
.mt td { text-align: right; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; font: 400 12.5px var(--mono); }
.mt th:first-child, .mt td:first-child { text-align: left; font-family: Inter, sans-serif; }
.mt td:first-child { display: flex; align-items: center; gap: 9px; font-weight: 500; }
.mt td.txt { font-family: Inter, sans-serif; color: var(--fg-2); text-align: left; }
.mt th:last-child { text-align: left; }
.mt tr:last-child td { border-bottom: 0; }
.mt tbody tr { transition: background .2s; }
.mt tbody tr:hover { background: rgba(255, 255, 255, .03); }
.tp { display: inline-block; font: 600 11.5px var(--mono); padding: 2px 8px; border-radius: 99px; }
.tp.ok { background: rgba(76, 195, 138, .13); color: #7bd5a8; } .tp.warn { background: rgba(217, 164, 65, .15); color: #e2bb6c; } .tp.bad { background: rgba(229, 72, 77, .14); color: #f08a8d; }
.rules { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; font-size: 12px; align-items: center; }
.rules span { border: 1px solid var(--line-2); border-radius: 7px; padding: 3px 9px; color: var(--fg-2); }
.rules .r-err, .rules .r-warn { border: 0; padding: 3px 2px 3px 6px; font: 600 10.5px var(--mono); }
.rules .r-err { color: #f08a8d; } .rules .r-warn { color: #e2bb6c; margin-left: 6px; }
.rules .more { border-style: dashed; color: var(--muted); }
/* s3 alt: kontrol masası şeridi */
.cmx { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.cmx .tbl-head .mono b { font-weight: 600; }
.cmx .tbl-head b.ok { color: var(--good); }
.cw { display: grid; gap: 7px; }
.cw .row { display: grid; grid-template-columns: 84px 1fr; gap: 8px; align-items: center; font-size: 12px; }
.cw .row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--fg-2); }
.cw .cells { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.cw .cells i { height: 12px; border-radius: 3px; background: var(--dim); transition: background .4s; }
.cw .cells i.ok { background: var(--good); } .cw .cells i.no { background: var(--bad); }

.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; background: var(--dim); }
/* s4: üretim raporu */
.strip { display: flex; width: 110px; height: 8px; border-radius: 4px; overflow: hidden; gap: 2px; margin-left: auto; }
.strip i { flex: var(--g) 0 0; background: var(--accent); border-radius: 2px; transform-origin: 0 50%; }
.strip i.m { background: var(--warn); } .strip i.b { background: var(--dim); }
.sc.on .strip i { animation: grow .9s cubic-bezier(.2, .8, .2, 1) both; }
.sc.on .strip i:nth-child(2) { animation-delay: .15s; } .sc.on .strip i:nth-child(3) { animation-delay: .3s; }
@keyframes grow { from { transform: scaleX(0); } }
.mt.pr td, .mt.pr th { padding: 12px 9px; }
.pr-sum { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; }
.mt.pr th:last-child { text-align: right; }
.pr-note { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; color: var(--muted); }
.legend i.w { background: var(--accent); } .legend i.m { background: var(--warn); }
@media (max-width: 900px) {
  html.js .story { height: 560vh; }
  html.js:not(.rm) .story-l, html.js:not(.rm) .screen { transform: none; opacity: 1; }
  .story .pin { grid-template-columns: 1fr; align-content: start; gap: 16px; padding-top: 76px; }
  html.js .chapters li:not(.on) { display: none; }
  .chapters li.on p { padding-bottom: 0; }
  .story-meter { margin-top: 12px; }
  .screen { height: min(480px, 60svh); }
  .sc { padding: 12px; }
  .s1 { gap: 8px; }
  .s1 .g4 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .s1 .facts2 { display: none; }
  .s1 .lf .chip:nth-of-type(n+2) { display: none; }
  .s1 .ev:nth-child(n+2), .s1 .lf { display: none; }
  .s3 .rules, .cw .row:nth-child(n+3) { display: none; }
  .mt th, .mt td { padding-left: 7px; padding-right: 7px; }
  .mt .av { display: none; }
  .cw .row { grid-template-columns: 70px 1fr; }
  .hide-s { display: none; }
  .ev .tm { display: none; }
  .tabs span:not(.on):not(.csv) { display: none; }
  .tiles.big { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tiles.big div { padding: 8px 10px; }
  .qgrid { grid-template-columns: 1fr; }
  .qgrid .tbl { display: none; }
  .hmw .hm span, .hmw .hm i { height: 14px; }
  .strip { width: 70px; }
  .pr-sum div:last-child { display: none; }
  .pr-sum { grid-template-columns: 1fr 1fr; }
  .pr-note p { display: none; }
}

/* ================= 3 · Sayılar (renk değişimi) ================= */
.numbers { background: var(--band); color: var(--band-ink); border-radius: 32px 32px 0 0; padding: 96px 0 80px; position: relative; z-index: 2; }
.nums-when { font-size: 13px; color: color-mix(in srgb, var(--band-ink) 65%, transparent); margin-bottom: 28px; }
.nums { list-style: none; }
.nums li { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; border-top: 1.5px solid color-mix(in srgb, var(--band-ink) 20%, transparent); padding: 18px 0 14px; flex-wrap: wrap; }
.nums b { font: 600 clamp(52px, 11vw, 176px)/.95 var(--mono); letter-spacing: -.06em; }
.nums span { font-size: clamp(15px, 1.6vw, 22px); max-width: 22ch; text-align: right; padding-bottom: .6em; }
.nums-note { font-size: 12px; opacity: .6; margin-top: 18px; }
@media (max-width: 560px) { .nums span { text-align: left; } }

/* ================= 4 · Diğer işler (yana kayar) ================= */
.works { background: var(--bg); position: relative; z-index: 3; }
.works .pin { display: flex; flex-direction: column; justify-content: center; gap: 4vh; padding: 90px 0 40px; }
.works-head { padding-inline: var(--pad); }
/* Kayarken kartlar kenarda kesilmesin: kenar boşluğunda yumuşakça solsun. */
html.js:not(.rm) .works .pin { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--pad), #000 calc(100% - var(--pad)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--pad), #000 calc(100% - var(--pad)), transparent); }
.works-head h2 { font: 700 clamp(30px, 4.6vw, 72px)/1.02 Inter, sans-serif; letter-spacing: -.045em; }
.track { display: flex; gap: 20px; padding-inline: var(--pad); will-change: transform; transform: translateX(var(--tx, 0)); }
html:not(.js) .track, html.rm .track { overflow-x: auto; transform: none; padding-bottom: 16px; }
.work { flex: none; width: min(440px, 82vw); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; transition: border-color .3s; }
.work:hover { border-color: var(--accent); }
.work h3 { font: 700 clamp(26px, 2.6vw, 36px)/1.05 Inter, sans-serif; letter-spacing: -.035em; margin: 4px 0 8px; }
.work > p { color: var(--fg-2); font-size: 15px; }
.work > .w-tag { font-size: 12px; color: var(--accent); }
.work > .w-stat { margin-top: auto; padding-top: 18px; font-size: 14px; }
.w-stat b { font-size: 26px; color: var(--fg); margin-right: 6px; letter-spacing: -.03em; }
.w-link { margin-top: 12px; font: 500 13px var(--mono); color: var(--accent); }
.w-viz { height: clamp(140px, 22vh, 200px); border-radius: 14px; background: var(--raised); margin-bottom: 18px; display: flex; align-items: center; justify-content: center; gap: 14px; overflow: hidden; padding: 14px; }
.zarf code { font: 13px var(--mono); color: var(--warn); }
.zarf span { color: var(--muted); }
.pdf { width: 74px; height: 96px; background: #f4f4f2; border-radius: 4px; padding: 10px 8px; display: grid; gap: 6px; align-content: start; box-shadow: 6px 6px 0 var(--accent); }
.pdf i { height: 4px; background: #c9c9c9; border-radius: 2px; } .pdf i.s { width: 50%; margin-left: auto; background: #888; }
.fc svg { width: 100%; height: 100%; }
.fc .band { fill: var(--accent); opacity: .18; } .fc .ln { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.w-viz.kb { flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; }
.w-viz.kb .qq { align-self: flex-end; background: var(--dim); border-radius: 12px 12px 2px 12px; padding: 8px 12px; font-size: 13px; }
.w-viz.kb .aa { align-self: flex-start; border: 1px solid var(--good); border-radius: 12px 12px 12px 2px; padding: 8px 12px; font-size: 13px; }
.w-viz.kb .aa span { display: block; font-size: 10px; color: var(--good); margin-top: 2px; }
.ex { flex-wrap: wrap; align-content: center; gap: 6px; }
.ex span { font-size: 13px; padding: 6px 11px; border: 1px solid var(--line-2); border-radius: 8px; }
.ex span.ok { border-color: var(--good); color: var(--good); background: rgba(76, 195, 138, .1); }

/* ================= 5 · Yöntem ================= */
.method { padding: 140px 0 100px; }
.steps { list-style: none; }
.steps li { --f: 1; font: 700 clamp(22px, 4.3vw, 66px)/1.06 Inter, sans-serif; letter-spacing: -.05em; padding: 10px 0; background: linear-gradient(90deg, var(--fg) calc(var(--f) * 100%), var(--dim) calc(var(--f) * 100%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.js:not(.rm) .steps li { --f: 0; }
.steps li span { font-size: 13px; letter-spacing: 0; vertical-align: super; margin-right: 14px; -webkit-text-fill-color: var(--accent); }

/* Kayan şerit */
.marquee { overflow: hidden; padding: 30px 0; border-block: 1px solid var(--line); }
.mq { display: flex; width: max-content; font: 700 clamp(40px, 7vw, 104px)/1.1 Inter, sans-serif; letter-spacing: -.04em; white-space: nowrap; transform: translateX(var(--m, 0px)); }
.mq.out { color: transparent; -webkit-text-stroke: 1.2px var(--fg-2); }
.mq span { padding-right: .3em; }

/* ================= 6 · Deneyim ================= */
.exp { padding: 120px 0 80px; position: relative; z-index: 0; isolation: isolate; }
.sign { margin-top: 32px; color: var(--fg-2); font-size: 15px; }
.sign b { color: var(--fg); font-weight: 600; }
.rows { list-style: none; }
.rows li { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); position: relative; }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows li::before { content: ""; position: absolute; inset: 0; background: var(--band); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .35s cubic-bezier(.2, .8, .2, 1); z-index: -1; }
.rows li:hover { color: var(--band-ink); }
.rows li:hover::before { transform: none; }
.rows li:hover span { color: inherit; }
.rows .mono { color: var(--muted); font-size: 13px; }
.rows b { font: 600 clamp(20px, 2.4vw, 34px)/1.15 Inter, sans-serif; letter-spacing: -.03em; }
.rows li > span:last-child { color: var(--fg-2); font-size: 14px; text-align: right; }
@media (max-width: 700px) { .rows li { grid-template-columns: 1fr; gap: 2px; } .rows li > span:last-child { text-align: left; } }

/* ================= 7 · İletişim ================= */
.contact { padding: 120px 0 0; }
.cta { font: 800 clamp(40px, 7.6vw, 136px)/.95 Inter, sans-serif; letter-spacing: -.06em; display: grid; }
.cta span:last-child { color: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.pill { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 14px 22px; font-size: 16px; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.pill:hover { border-color: var(--fg); }
.pill.pri { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pill.pri:hover { background: var(--fg); border-color: var(--fg); }
.pill small { font: 500 11px var(--mono); opacity: .65; }
/* Simge düğmeler (kopyala, LinkedIn): satır yüksekliğinde kare daire */
.pill.ico { padding: 0; width: 53px; justify-content: center; background: none; color: inherit; cursor: pointer; }
.pill.ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pill.ico svg path[fill] { stroke: none; }
.pill.ico .i-ok, .pill.ico.done .i-copy { display: none; }
.pill.ico.done .i-ok { display: block; color: var(--good); }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 80px 28px; font-size: 12px; color: var(--muted); }

/* ---------- Bölüm geçişleri (v3.js --c / --r) ----------
   01 → 02: Sonuçlar bandı, sabit duran hikâyenin üstüne aşağıdan çekilir; hikâye geriye çekilip söner.
   02 → 03: Sonuçlar yerinde durur, İşler koyu bir perde gibi üstüne kayar.
   Sonraki bölümler kaydırdıkça aşağıdan yükselir. */
html.js:not(.rm) .numbers { margin-top: -100vh; margin-top: -100svh; position: sticky; box-shadow: 0 -40px 90px -30px rgba(0, 0, 0, .7); }
html.js:not(.rm) .story .pin { transform: scale(calc(1 - .07 * var(--c, 0))); opacity: calc(1 - .7 * var(--c, 0)); transform-origin: 50% 35%; }
html.js:not(.rm) .numbers > .wrap { transform: translateY(calc(var(--c, 0) * -6vh)) scale(calc(1 - .05 * var(--c, 0))); transform-origin: 50% 100%; }
html.js:not(.rm) .numbers::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: calc(.6 * var(--c, 0)); pointer-events: none; }
html.js:not(.rm) .works { border-radius: 32px 32px 0 0; box-shadow: 0 -40px 90px -30px rgba(0, 0, 0, .6); }
html.js:not(.rm) .rise { transform: translateY(calc((1 - var(--r, 1)) * 14vh)) scale(calc(.96 + .04 * var(--r, 1))); opacity: calc(.15 + .85 * var(--r, 1)); transform-origin: 50% 0; }

/* ---------- Girişte beliren ---------- */
html.js:not(.rm) .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .9s cubic-bezier(.2, .8, .2, 1); }
html.js:not(.rm) .reveal.in { opacity: 1; transform: none; }

/* ---------- Hareket azaltılmış ---------- */
html.rm *, html.rm *::before, html.rm *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
