/* =========================================================================
   Flick yatırımcı sunumu · tasarım sistemi
   1. Token'lar (renk, yazı, boşluk, köşe)   2. Temel   3. Çerçeve (üst çubuk, slayt)
   4. Tipografi   5. Bileşenler   6. Slayt düzenleri   7. Mobil   8. PDF
   Kurallar: krem zemin, siyah metin; kırmızı yalnızca büyük yazıda ve grafikte
   (kremde 3,7:1). Küçük kırmızı metin --red-ink (5,8:1). Sarı yalnızca sticker notta.
   Başlıklar her slaytta aynı yerde başlar; ölçekler hem genişliğe hem yüksekliğe göre.
   ========================================================================= */

/* ---------- 1. Token'lar ---------- */
@font-face { font-family: "Seatren"; src: url(../fonts/Seatren.otf) format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Seatren"; src: url(../fonts/Seatren-Italic.otf) format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "GC Grind"; src: url(../fonts/GCGrind.otf) format("opentype"); font-display: swap; }
@font-face { font-family: "Sunset Script"; src: url(../fonts/SunsetScript.otf) format("opentype"); font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url(../fonts/RobotoCondensed-Light.ttf) format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url(../fonts/RobotoCondensed-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url(../fonts/RobotoCondensed-Italic.ttf) format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url(../fonts/RobotoCondensed-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url(../fonts/RobotoCondensed-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url(../fonts/RobotoCondensed-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  /* Renk */
  --cream: #fffcdc;      /* zemin */
  --cream-2: #f6f0c4;    /* yüzey: kart, kutu */
  --ink: #1e1e1e;        /* başlık, vurgu kartı */
  --ink-2: #45443c;      /* gövde metni */
  --ink-3: #6b695c;      /* ikincil bilgi, kaynak */
  --red: #ff1e00;        /* marka kırmızısı: büyük yazı, grafik, vurgu zemin */
  --red-ink: #c41700;    /* küçük kırmızı metin */
  --orange: #ff4e00;     /* ikinci grafik rengi */
  --yellow: #fce900;     /* yalnızca sticker not */
  --line: rgba(30, 30, 30, .14);

  /* Yazı aileleri */
  --f-display: "Seatren", "Arial Black", sans-serif;
  --f-body: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --f-num: "GC Grind", "Seatren", "Arial Black", sans-serif;
  --f-note: "Sunset Script", "Bradley Hand", cursive;

  /* Yazı ölçeği: genişlik ve yükseklikten küçük olanına göre ölçeklenir */
  --fs-display: clamp(48px, min(7vw, 11vh), 112px);
  --fs-title: clamp(30px, min(3.9vw, 6.6vh), 62px);
  --fs-h3: clamp(19px, min(1.55vw, 2.6vh), 26px);
  --fs-lead: clamp(18px, min(1.4vw, 2.4vh), 23px);
  --fs-body: clamp(15px, min(1.12vw, 1.95vh), 18px);
  --fs-small: clamp(13px, min(.95vw, 1.65vh), 15px);
  --fs-num-xl: clamp(48px, min(6vw, 10vh), 104px);
  --fs-num-l: clamp(34px, min(3.8vw, 6.4vh), 62px);
  --fs-num-m: clamp(22px, min(2.2vw, 3.6vh), 36px);

  /* Boşluk (8'in katları) */
  --s1: 8px; --s2: 12px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 64px;
  --gutter: clamp(20px, 5vw, 96px);
  --gap: clamp(16px, 2vw, 32px);
  --bar-h: 68px;
  --radius: 16px;
  --radius-s: 8px;
}

/* ---------- 2. Temel ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--cream); color: var(--ink); scroll-behavior: smooth; }
@media (min-width: 900px) and (min-height: 640px) { html { scroll-snap-type: y mandatory; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.3; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; font-kerning: normal; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red-ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; }
.lead { text-wrap: pretty; }
p, li, td, dd { text-wrap: pretty; }
.nb { white-space: nowrap; }
/* Başlık animasyonunun satır maskesi: Seatren harfleri satır kutusundan taşar (sol, üst, alt).
   Maskeyi taşma payı kadar genişlet, yerleşimi değiştirmeden (padding + eşit negatif margin). */
.tline-mask { padding: .16em .14em .18em; margin: -.16em -.14em -.18em; }

/* Dil: html[data-lang] hangi dilin görüneceğini seçer */
html[data-lang="tr"] [lang="en"]:not(html),
html[data-lang="en"] [lang="tr"]:not(html) { display: none !important; }

/* ---------- 3. Çerçeve ---------- */
.glow { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.glow i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(60px); opacity: .5; will-change: transform; }
.glow .g1 { background: radial-gradient(circle, rgba(255, 78, 0, .5) 0%, rgba(255, 78, 0, 0) 62%); left: -30vmax; top: 55vh; }
.glow .g2 { background: radial-gradient(circle, rgba(252, 233, 0, .5) 0%, rgba(252, 233, 0, 0) 60%); right: -32vmax; top: -40vmax; }

.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: var(--bar-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s4); padding: 0 var(--gutter); background: rgba(255, 252, 220, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar .brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; justify-self: start; min-width: 0; }
.bar .brand img { height: 40px; width: auto; }
.bar .brand .deck-name { padding-left: var(--s3); border-left: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap; line-height: 26px; }
.bar .by { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(-6px); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.bar .by span { font-family: var(--f-note); font-size: 22px; line-height: 1; color: var(--ink-2); transform: translateY(2px); }
.bar .by img { height: 26px; width: auto; }
body.is-scrolled .bar .by { opacity: 1; transform: none; pointer-events: auto; }
.bar .tools { display: flex; align-items: center; gap: var(--s3); justify-self: end; }
.bar .chapter { font-size: 14px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.bar .pager { font-family: var(--f-num); font-size: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar .pager b { color: var(--red-ink); font-weight: 400; }
.pill-group { display: flex; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.pill-group button { min-width: 44px; height: 34px; padding: 0 12px; font-weight: 600; font-size: 14px; letter-spacing: .04em; }
.pill-group button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.btn-ghost { height: 36px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .2s, color .2s; }
a.btn-ghost { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-ghost:active, .pill-group button:active { transform: translateY(1px); }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }

main { position: relative; z-index: 2; }

/* İçindekiler rayı: sağ kenarda cam hap. Genişliği JS (GSAP) sıvı gibi açar ve kapatır */
.rail { position: fixed; z-index: 25; right: 10px; top: calc(var(--bar-h) + 18px); bottom: 18px; padding-left: 18px; display: flex; justify-content: flex-end; pointer-events: auto; }
.rail-glass { position: relative; width: 12px; height: 100%; border-radius: 999px; overflow: hidden; background: rgba(255, 252, 220, .34); -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%); border: 1px solid rgba(255, 255, 255, .6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -1px 0 rgba(30, 30, 30, .06), 0 10px 28px rgba(30, 30, 30, .14); transition: background-color .35s ease; }
.rail-glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .22) 100%); pointer-events: none; }
.rail.is-open .rail-glass { background: rgba(255, 252, 220, .88); }
.rail-groups { position: absolute; inset: 12px 0; display: flex; flex-direction: column; gap: 7px; touch-action: none; cursor: pointer; }
.rail.is-drag .rail-groups { cursor: grabbing; }
.rail-grp { position: relative; min-height: 0; display: flex; }
.rail-line { position: absolute; right: 4px; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: rgba(30, 30, 30, .2); overflow: hidden; }
.rail-grp.is-past .rail-line { background: rgba(30, 30, 30, .55); }
.rail-line i { position: absolute; inset: 0; background: var(--red); border-radius: 2px; transform: scaleY(0); transform-origin: top; transition: transform .5s ease; }
.rail-gname { position: absolute; left: 16px; top: -1px; width: 104px; font-size: 12px; font-weight: 700; line-height: 1.15; color: #1e1e1e; white-space: normal; }
.rail-grp.is-cur .rail-gname { color: #c41700; }
.rail-items { list-style: none; margin: 0 22px 0 124px; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.rail-items li { flex: 1; min-height: 0; display: flex; }
.rail-items button { flex: 1; min-width: 0; display: flex; align-items: center; padding: 0 8px; border-radius: 6px; font-size: 12.5px; line-height: 1.1; color: rgba(30, 30, 30, .78); text-align: left; white-space: nowrap; }
.rail-items button span { overflow: hidden; text-overflow: ellipsis; }
.rail-items button:hover, .rail-items button:focus-visible { background: rgba(30, 30, 30, .07); color: #1e1e1e; outline-offset: -2px; }
.rail-items button.is-cur { color: #c41700; font-weight: 700; background: rgba(255, 30, 0, .08); }
.rail-dot { position: absolute; right: 2px; top: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(255, 30, 0, .2), 0 0 12px rgba(255, 30, 0, .65); pointer-events: none; }
.rail.is-open .rail-dot { right: 1px; }
.rail.on-dark:not(.is-open) .rail-glass { background: rgba(255, 252, 220, .14); border-color: rgba(255, 252, 220, .32); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 28px rgba(0, 0, 0, .3); }
.rail.on-dark:not(.is-open) .rail-line { background: rgba(255, 252, 220, .3); }
.rail.on-dark:not(.is-open) .rail-grp.is-past .rail-line { background: rgba(255, 252, 220, .7); }
.rail.on-red:not(.is-open) .rail-line i { background: #fffcdc; }
.rail.on-red:not(.is-open) .rail-dot { background: #fffcdc; box-shadow: 0 0 0 3px rgba(255, 252, 220, .3), 0 0 12px rgba(255, 252, 220, .7); }
/* Slayt: başlık her zaman aynı yükseklikte başlar, gövde kalan alanı doldurur */
.slide { position: relative; min-height: 100vh; min-height: 100svh; scroll-snap-align: start; display: flex; flex-direction: column; padding: calc(var(--bar-h) + clamp(24px, 5vh, 56px)) var(--gutter) clamp(28px, 5vh, 56px); }
.wrap { width: 100%; max-width: 1400px; margin: 0 auto; flex: 1; display: flex; flex-direction: column; }
.body { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 0; }
.slide--red { background: var(--red); color: var(--cream); }
.slide--center .wrap { justify-content: center; align-items: center; text-align: center; }

/* ---------- 4. Tipografi ---------- */
.display, .title, .h3, .quote { font-family: var(--f-display); font-weight: 400; letter-spacing: -.005em; word-spacing: .08em; }
.display { font-size: var(--fs-display); line-height: .94; margin-left: -.04em; }
.title { font-size: var(--fs-title); line-height: .96; max-width: 22ch; margin-left: -.035em; padding-bottom: .04em; }
.title--wide { max-width: 28ch; }
.h3 { font-size: var(--fs-h3); line-height: 1.06; }
.lead { font-size: var(--fs-lead); line-height: 1.28; color: var(--ink-2); max-width: 60ch; }
.txt { font-size: var(--fs-body); line-height: 1.3; color: var(--ink-2); max-width: 60ch; }
.small { font-size: var(--fs-small); line-height: 1.28; color: var(--ink-3); }
.label { font-size: var(--fs-small); font-weight: 600; color: var(--red-ink); line-height: 1.24; }
.num { font-family: var(--f-num); line-height: .95; letter-spacing: .01em; font-variant-numeric: tabular-nums; margin-left: -.02em; }
.num--xl { font-size: var(--fs-num-xl); }
.num--l { font-size: var(--fs-num-l); }
.num--m { font-size: var(--fs-num-m); }
.red { color: var(--red); }
.quote { font-style: italic; font-size: clamp(22px, min(2vw, 3.4vh), 34px); line-height: 1.1; }
.slide--red .lead, .slide--red .txt { color: rgba(255, 252, 220, .92); }
.head { margin-bottom: clamp(20px, 4vh, 48px); }
.head .lead { margin-top: var(--s3); }
.todo { background: rgba(252, 233, 0, .5); border-bottom: 1.5px dashed var(--ink-3); padding: 0 .2em; border-radius: 3px; }
.src { font-size: 12px; color: var(--ink-3); margin-top: var(--s3); }

/* ---------- 5. Bileşenler ---------- */
.card { background: rgba(246, 240, 196, .75); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2vw, 28px); }
.card--ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.card--ink .txt, .card--ink .small { color: rgba(255, 252, 220, .84); }
.card--ink .label { color: var(--yellow); }
.card--red { background: var(--red); color: var(--cream); border-color: var(--red); }
.card .h3 + .txt, .card .label + .h3, .card .label + .txt { margin-top: var(--s1); }

.note { display: inline-block; position: relative; font-family: var(--f-note); font-size: clamp(20px, min(1.8vw, 3vh), 30px); line-height: 1.15; color: var(--ink); background: var(--yellow); padding: .35em .9em .45em; border-radius: 10px; transform: rotate(-3deg); box-shadow: 0 10px 24px rgba(120, 90, 0, .18), inset 0 0 0 1px rgba(30, 30, 30, .08); }
.note::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(30, 30, 30, .35); border-radius: 6px; pointer-events: none; }
.note--r { transform: rotate(2.5deg); }

.rows > * { padding: clamp(10px, 1.6vh, 16px) 0; border-top: 1px solid var(--line); }
.rows > *:first-child { border-top: 2px solid var(--ink); }
.rows .h3 { margin-bottom: 4px; }

.photo { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 280px; background: var(--ink); }
.photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.stat .small { margin-top: 6px; font-weight: 600; color: var(--ink-2); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 4.5vw, 88px); align-items: center; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--wide { grid-template-columns: 7fr 5fr; }
.split--top { align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.stack-s > * + * { margin-top: var(--s2); }
.stack-m > * + * { margin-top: var(--s4); }
.stack-l > * + * { margin-top: clamp(20px, 3.5vh, 40px); }

/* ---------- 6. Slayt düzenleri ---------- */
/* Kapak */
.cover .gm { height: clamp(34px, 4.4vh, 52px); width: auto; margin: 0 auto; }
/* Kapak: sarı not aşağı, logo yukarı kayar; yalnızca i'nin alevi notun alt kenarına biraz biner.
   Good Monkeys logosu ve "Yatırımcı Sunumu" yerinde kalsın diye kayma iki yana eşit bölünür. */
.cover { --lw: min(560px, 70vw, 52vh); --ov: calc(var(--lw) * .01); --lift: 6px; --shift: calc((clamp(16px, 3vh, 32px) + var(--ov)) / 2); }
.cover .logo { width: var(--lw); margin: calc(-1 * var(--ov) - var(--lift)) auto 0; position: relative; z-index: 3; }
.cover .note { max-width: 820px; margin: calc(clamp(24px, 5vh, 56px) + var(--shift)) auto 0; font-size: clamp(20px, min(2.1vw, 3.6vh), 34px); position: relative; z-index: 2; }
.cover .deck-title { font-family: var(--f-num); font-size: clamp(32px, min(3.8vw, 6.4vh), 60px); color: var(--red); margin-top: calc(clamp(24px, 5vh, 56px) + var(--shift) + var(--lift)); line-height: 1; }
.cover .date { margin-top: var(--s2); font-size: var(--fs-small); color: var(--ink-3); font-weight: 600; }

/* Giriş */
.intro { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 4.5vw, 88px); align-items: stretch; flex: 1; }
.intro .display { font-size: clamp(40px, min(5.2vw, 8.4vh), 88px); max-width: 15ch; }
.intro .photo { min-height: 0; }

/* Sektör: üst üste binen daireler (yazı boyutu kabın genişliğine göre) */
.bubbles { position: relative; width: 100%; max-width: min(720px, 70vh); aspect-ratio: 640 / 520; margin: 0 auto; container-type: inline-size; }
.bubbles svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bub { position: absolute; transform: translate(-50%, -50%); text-align: center; }
.bub .bn { font-family: var(--f-num); line-height: .92; font-variant-numeric: tabular-nums; }
.bub .bl { font-family: var(--f-display); font-size: max(17px, 4.2cqw); line-height: 1.1; margin-top: .2em; }
.bub .bs { font-size: max(13px, 2.5cqw); line-height: 1.24; font-weight: 600; margin: .5em auto 0; }
.bub--big { width: 40%; color: var(--cream); }
.bub--big .bn { font-size: 19cqw; }
.bub--big .bs { color: rgba(255, 252, 220, .9); max-width: 18ch; }
.bub--mid { width: 27%; }
.bub--mid .bn { font-size: 10.5cqw; }
.bub--sm { width: 27%; }
.bub--sm .bn { font-size: 6.4cqw; white-space: nowrap; }
.bub--mid .bs, .bub--sm .bs { color: var(--ink-2); max-width: 17ch; }
.sidefacts { margin-top: clamp(20px, 4vh, 40px); }
.sidefacts .txt { margin-top: 8px; }

/* Problem */
.problem { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 4vw, 72px); align-items: stretch; flex: 1; }
.stairs { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 8px; max-width: 600px; margin: clamp(16px, 3vh, 32px) 0; }
.stairs .step { background: var(--ink); color: var(--cream); border-radius: 10px 10px 0 0; padding: 10px 12px; font-weight: 600; font-size: var(--fs-small); }
.stairs .step:nth-child(1) { height: clamp(40px, 6vh, 56px); }
.stairs .step:nth-child(2) { height: clamp(58px, 8.8vh, 84px); }
.stairs .step:nth-child(3) { height: clamp(76px, 11.6vh, 112px); }
.stairs .step--q { height: clamp(94px, 14.4vh, 140px); background: transparent; color: var(--red); border: 2px dashed var(--red); border-bottom: 0; font-family: var(--f-num); font-size: clamp(36px, 5vh, 56px); display: grid; place-items: center; }
.who > div { display: grid; grid-template-columns: 120px 1fr; gap: var(--s3); padding: clamp(10px, 1.6vh, 14px) 0; border-top: 1px solid var(--line); align-items: baseline; }
.who > div:first-child { border-top: 2px solid var(--ink); }
.who b { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-h3); line-height: 1.2; }

/* Fırsat */
/* Fırsat: kimlikli çakmaktan üç kola ayrılan şema (çizgiler JS ile ölçülerek çizilir) */
.fan { width: 100%; max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.fan .source { width: clamp(132px, 21vh, 210px); aspect-ratio: 1; border-radius: 50%; background: var(--red); color: var(--cream); display: grid; place-items: center; text-align: center; padding: clamp(14px, 2.6vh, 28px); position: relative; z-index: 1; flex: none; }
.fan .source .h3 { font-size: clamp(17px, min(1.6vw, 2.7vh), 27px); }
.fan .fan-lines { width: 100%; height: clamp(44px, 9vh, 110px); overflow: visible; display: block; }
.fan .targets { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.fan .targets > div { position: relative; text-align: center; padding: clamp(30px, 4.4vh, 44px) clamp(16px, 1.8vw, 32px) clamp(18px, 2.6vh, 30px); border-radius: var(--radius); background: rgba(246, 240, 196, .75); border: 1px solid var(--line); }
.fan .targets .n { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font-family: var(--f-num); font-size: 21px; line-height: 1; }
.fan .targets .h3 { font-size: clamp(21px, min(1.9vw, 3.2vh), 30px); margin-bottom: var(--s1); }
.fan .targets .txt { max-width: 32ch; margin: 0 auto; font-size: clamp(15px, min(1.4vw, 2.2vh), 23px); line-height: 1.28; }
.fan-foot { max-width: 64ch; margin: clamp(20px, 4vh, 44px) auto 0; text-align: center; font-family: var(--f-display); font-style: italic; font-size: clamp(18px, min(1.5vw, 2.6vh), 25px); line-height: 1.24; color: var(--ink); text-wrap: balance; }
.footline { margin-top: clamp(14px, 3vh, 36px); padding-top: var(--s3); border-top: 1px solid var(--line); }

/* Veri: çağlar */
.eras { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); padding-top: 40px; }
.eras .line { position: absolute; left: 0; right: 0; top: 12px; height: 3px; background: var(--ink); width: 100%; }
.eras .era { position: relative; }
.eras .era::before { content: ""; position: absolute; top: -40px; left: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--cream); border: 3px solid var(--ink); box-sizing: border-box; }
.eras .era--now::before { background: var(--red); border-color: var(--red); }
.eras .era--now .h3 { color: var(--red); }
.eras .small { font-weight: 600; }
.eras-snake { display: none; }
.brands { margin-top: clamp(20px, 4vh, 44px); }
.brands .card .num { margin-bottom: var(--s1); }
.verdict { margin-top: clamp(18px, 3.5vh, 36px); }

/* Flick nedir */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-top: clamp(18px, 3.5vh, 36px); }
.pillars > div { padding: var(--s3) var(--s4) 0 0; }
.pillars > div + div { padding-left: var(--s4); border-left: 1px solid var(--line); }
.pillars .h3 { margin-bottom: 6px; }
.photo--wide { aspect-ratio: 16 / 10; min-height: 0; }
.tagline { font-family: var(--f-display); font-style: italic; font-size: clamp(20px, min(1.9vw, 3.2vh), 32px); line-height: 1.1; margin-top: clamp(18px, 3.5vh, 36px); }

/* Adımlar */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.steps { --n: 68px; }
.steps .link { position: absolute; left: calc(var(--n) / 2); top: calc(var(--n) / 2 - 1.5px); height: 3px; width: calc(100% - var(--n)); background: var(--ink); }
.steps .n { position: relative; width: var(--n); height: var(--n); border-radius: 50%; background: var(--cream); border: 2.5px solid var(--ink); display: grid; place-items: center; font-family: var(--f-num); font-size: 32px; margin-bottom: var(--s4); }
.steps .n--red { background: var(--red); border-color: var(--red); color: var(--cream); }
.steps .h3 { margin-bottom: var(--s1); }

/* Ürün */
.product-img { width: auto; height: auto; max-width: 100%; max-height: min(640px, 68vh); margin: 0 auto; object-fit: contain; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 98%); mask-image: linear-gradient(180deg, #000 72%, transparent 98%); }
.product-img--fan { -webkit-mask-image: none; mask-image: none; max-height: min(620px, 64vh); filter: drop-shadow(0 18px 28px rgba(30, 30, 30, .22)); }
.problem .photo img { object-position: 50% 30%; }
.bento .cell--photo img { object-position: 54% 40%; }

/* Neden şimdi: yapboz kareleri */
.pieces { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); }
.pieces > div { grid-column: span 2; }
.pieces > div:nth-child(4), .pieces > div:nth-child(5) { grid-column: span 3; }
.pieces .card { height: 100%; }
.pieces .card--red .txt { color: rgba(255, 252, 220, .94); font-size: clamp(16px, min(1.2vw, 2.1vh), 19px); }
.pieces .card--red .h3 { font-size: clamp(22px, min(1.9vw, 3.2vh), 30px); }

/* Bento */
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: var(--gap); flex: 1; }
.bento .cell { border-radius: var(--radius); padding: clamp(18px, 2vw, 28px); border: 1px solid var(--line); background: rgba(246, 240, 196, .75); display: flex; flex-direction: column; justify-content: flex-end; }
.bento .cell--photo { grid-row: span 2; position: relative; overflow: hidden; color: var(--cream); border: 0; min-height: 320px; }
.bento .cell--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento .cell--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 30, 30, 0) 30%, rgba(30, 30, 30, .9) 100%); }
.bento .cell--photo > div { position: relative; z-index: 1; }
.bento .cell--photo .txt { color: rgba(255, 252, 220, .9); }
.bento .cell--red { background: var(--red); color: var(--cream); border-color: var(--red); }
.bento .cell--ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.bento .cell--ink .txt { color: rgba(255, 252, 220, .84); }
.bento .h3 { margin-bottom: var(--s1); }

/* Pazar: iç içe haplar (pazar › Flick’e ayrılan › satılan) */
.head--split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 4.5vw, 88px); align-items: end; }
.head--split .lead { margin-top: 0; padding-bottom: .3em; }
.pills { height: clamp(190px, 33vh, 360px); }
.pl { display: flex; align-items: center; border-radius: 999px; }
.pl .plt { flex: 0 0 auto; }
.pl .num { font-size: var(--fs-num-l); }
.pl .h3 { margin-top: 6px; }
.pl .small { font-weight: 600; color: var(--ink-2); margin-top: 2px; }
.pl1 { height: 100%; padding: 0 1.6% 0 4.5%; background: var(--cream-2); border: 1px solid var(--line); }
.pl1 > .plt { width: 27%; }
.pl2 { flex: 1; height: 80%; padding: 0 1.8% 0 4%; background: rgba(255, 30, 0, .16); }
.pl2 > .plt { width: 40%; }
.pl3 { flex: 1; height: 76%; padding: 0 6%; background: var(--red); color: var(--cream); }
.pl3 .small { color: rgba(255, 252, 220, .92); }
.pill-notes { margin-top: clamp(16px, 3.5vh, 44px); padding-top: var(--s3); border-top: 2px solid var(--ink); }
.pill-notes .h3 { margin-bottom: 4px; }

/* Genişleme yolu */
.path { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.path > div { position: relative; border-radius: var(--radius); padding: clamp(16px, 1.8vw, 24px); border: 2px dashed rgba(30, 30, 30, .35); }
.path > div:first-child { border: 2px solid var(--red); background: var(--red); color: var(--cream); }
.path > div:first-child .txt { color: rgba(255, 252, 220, .94); }
.path > div:nth-child(2) { border: 2px solid var(--ink); }
.path .n { font-family: var(--f-num); font-size: var(--fs-num-m); line-height: 1; margin-bottom: var(--s3); }
.path .h3 { margin-bottom: var(--s1); }
.path .arr { position: absolute; top: 50%; right: calc(-1 * var(--gap) - 2px); width: var(--gap); height: 2px; background: var(--ink); transform-origin: 0 50%; z-index: 2; }
.path .arr::after { content: ""; position: absolute; right: -2px; top: -5px; border-left: 8px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* Para akışı */
.flow { --fgap: clamp(18px, 2.4vw, 44px); position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.2fr); gap: var(--fgap); align-items: stretch; }
.flow .arr { position: absolute; top: 50%; right: calc(-1 * var(--fgap) + 4px); width: calc(var(--fgap) - 8px); height: 2.5px; background: var(--ink); transform-origin: 0 50%; }
.flow .arr::after { content: ""; position: absolute; right: -2px; top: -5px; border-left: 9px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.flow .node { position: relative; z-index: 1; background: var(--cream); border: 2px solid var(--ink); border-radius: var(--radius); padding: var(--s3) var(--s3) var(--s4); }
.flow .node .label { margin-bottom: 4px; }
.flow .node .h3 { margin-bottom: 4px; }
.flow .node--pool { background: var(--ink); color: var(--cream); }
.flow .node--pool .txt { color: rgba(255, 252, 220, .84); }
.flow .node--pool .label { color: var(--yellow); }
.flow .node--pool .num { color: var(--yellow); }
.split-out { display: grid; grid-template-rows: 1fr 1fr; gap: var(--s2); position: relative; z-index: 1; }
.split-out > div { border-radius: var(--radius); padding: var(--s2) var(--s3); display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.split-out .koko { background: var(--cream-2); border: 2px solid var(--ink); }
.split-out .flick { background: var(--red); color: var(--cream); }
.costs { margin-top: clamp(18px, 3.5vh, 36px); }
.costs ul { list-style: none; margin-top: var(--s2); columns: 2; column-gap: var(--s5); }
.costs li { font-size: var(--fs-small); color: var(--ink-2); padding: 3px 0 3px 16px; position: relative; break-inside: avoid; }
.costs li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.costs .card--ink li { color: rgba(255, 252, 220, .86); }
.costs .card--ink li::before { background: var(--yellow); }

/* Şelale */
.waterfall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 24px); height: clamp(220px, 40vh, 400px); align-items: end; border-bottom: 2px solid var(--ink); }
.wf { position: relative; height: 100%; }
.wf .barbox { position: absolute; left: 0; right: 0; border-radius: var(--radius-s) var(--radius-s) 0 0; }
.wf .val { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--f-num); font-size: var(--fs-num-m); }
.wf--total .barbox { background: var(--ink); }
.wf--minus .barbox { background: repeating-linear-gradient(135deg, rgba(196, 23, 0, .9) 0 8px, rgba(255, 78, 0, .85) 8px 16px); border-radius: var(--radius-s); }
.wf--koko .barbox { background: var(--cream-2); border: 2px solid var(--ink); border-bottom: 0; }
.wf--flick .barbox { background: var(--red); }
.wf--minus .val { color: var(--red-ink); }
.wf--flick .val { color: var(--red); }
.wf-labels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 24px); margin-top: var(--s2); }
.wf-labels div { font-size: var(--fs-small); font-weight: 600; color: var(--ink-2); text-align: center; line-height: 1.24; }

.wf7 { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; }
.waterfall.wf7 { height: clamp(190px, 33vh, 360px); margin-top: calc(var(--fs-num-m) + 12px); }
.wf--share .barbox { background: transparent; border: 3px solid var(--red); border-bottom: 0; }
.wf--share .val { color: var(--red); }
.wf-notes { margin-top: clamp(16px, 3vh, 28px); padding-top: var(--s3); border-top: 1px solid var(--line); }
.wf-notes b { color: var(--ink); }
.cost-sum { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin: var(--s2) 0 var(--s1); }
.cost-sum .small { margin-top: 4px; font-weight: 600; color: var(--ink-2); }
.costs li.tbd::before { background: var(--ink-3); }
.ledger td.neg { color: var(--red-ink); }
.ledger tr.sub td { font-weight: 700; border-top: 2px solid var(--ink); }
.ledger tr.total td { font-weight: 700; border-top: 2px solid var(--ink); background: rgba(255, 30, 0, .07); }
.ledger tr.total td:last-child { color: var(--red-ink); }

.costtbl { font-size: clamp(12px, min(.98vw, 1.7vh), 16px); }
.tbl.costtbl th, .tbl.costtbl td { padding: clamp(2px, .65vh, 10px) 12px clamp(2px, .65vh, 10px) 0; line-height: 1.24; }
.tbl.costtbl td:first-child { font-weight: 600; color: var(--ink); width: 40%; }
.tbl.costtbl td:last-child { white-space: nowrap; color: var(--ink-3); }
.costtbl tr.tbd td:first-child { color: var(--ink-3); }
.yearly { align-self: stretch; display: flex; flex-direction: column; }
.yearly .gchart { flex: 1; margin-top: var(--s2); }

/* Gruplu sütun grafik: yıllara göre yan yana seriler */
.gchart { --k1: var(--ink); --k2: var(--red); --k3: var(--cream-2); --k4: #9a978a; --gl: var(--ink); display: flex; flex-direction: column; min-height: 0; }
.card--ink .gchart { --k1: var(--cream); --gl: rgba(255, 252, 220, .7); }
.gchart .legend { margin: 0 0 var(--s3); }
.gchart .legend i { width: 12px; height: 12px; border-radius: 3px; }
.gchart .legend i.k1 { background: var(--k1); }
.gchart .legend i.k2 { background: var(--k2); }
.gchart .legend i.k4 { background: var(--k4); }
.gchart .legend i.k3 { background: var(--k3); border: 1.5px solid var(--ink); }
.gchart .legend .unit { margin-left: auto; font-weight: 500; opacity: .7; }
.gplot { flex: 1; min-height: clamp(120px, 20vh, 160px); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(14px, 2.2vw, 40px); padding-top: 28px; border-bottom: 2px solid var(--gl); }
.grp { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(4px, .5vw, 8px); height: 100%; }
.gb { position: relative; height: 100%; }
.gb .fill { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 6px 6px 0 0; }
.gb.k1 .fill { background: var(--k1); }
.gb.k2 .fill { background: var(--k2); }
.gb.k4 .fill { background: var(--k4); }
.gb.k3 .fill { background: var(--k3); border: 1.5px solid var(--ink); border-bottom: 0; }
.gb .val { position: absolute; left: -6px; right: -6px; text-align: center; font-family: var(--f-num); font-size: clamp(12px, min(1vw, 1.7vh), 16px); line-height: 1; white-space: nowrap; }
.gb.k2 .val { color: var(--red-ink); }
.card--ink .gb.k2 .val { color: #ff6a4d; }
.yearly .gb .val { left: -1px; right: -1px; font-size: clamp(11px, min(.82vw, 1.45vh), 14px); letter-spacing: -.02em; }
.gchart--lg .gb .val { font-size: clamp(13px, min(1.15vw, 2vh), 19px); }
.gx { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(14px, 2.2vw, 40px); margin-top: var(--s2); text-align: center; }
.gx b { display: block; font-weight: 600; font-size: var(--fs-small); }
.gx span { display: block; font-size: 13px; opacity: .75; margin-top: 2px; }
.split--stretch { align-items: stretch; }
/* Aylık slaytı: grafiğin tabanı tablonun alt çizgisiyle, lejantı tablonun başıyla aynı hizada (Deniz, 21 Ekim) */
@media screen and (min-width: 901px) {
  #aylik .split { grid-template-rows: auto auto; row-gap: var(--s3); align-content: center; }
  #aylik .ledger-col { display: contents; }
  #aylik .ledger-col > table { grid-column: 1; grid-row: 1; }
  #aylik .ledger-col > .ledger-note { grid-column: 1; grid-row: 2; margin-top: 0; }
  #aylik .gchart { grid-column: 2; grid-row: 1; align-self: stretch; position: relative; }
  #aylik .gchart .gx { position: absolute; left: 0; right: 0; top: 100%; }
}
.ledger-col { display: flex; flex-direction: column; justify-content: center; }
.ledger-note { margin-top: var(--s3); }
.tbl.avg { font-size: clamp(12px, min(1vw, 1.7vh), 16px); }
.tbl.avg td:first-child { white-space: nowrap; }
.tbl.avg th, .tbl.avg td { padding: clamp(2px, .55vh, 8px) 10px; }
.tbl.avg .todo { padding: 0 .3em; }

/* Veri grafikleri (SVG + HTML etiketler) */
.chart { position: relative; width: 100%; max-width: 74vh; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .cl { position: absolute; font-size: clamp(11px, min(.85vw, 1.5vh), 14px); font-weight: 600; color: var(--ink-2); white-space: nowrap; line-height: 1.2; pointer-events: none; }
.chart .cl--y { transform: translate(6px, calc(-100% - 3px)); color: var(--ink-3); }
.chart .cl--axis { transform: translate(calc(-100% - 8px), -50%); color: var(--ink-3); font-weight: 500; }
.chart .cl--x { transform: translateX(-50%); color: var(--ink-3); font-weight: 500; }
.chart .cl--pt { transform: translate(-50%, calc(-100% - 10px)); background: var(--cream); padding: 1px 6px; border-radius: 4px; }
.chart .cl--below { transform: translate(-50%, 12px); background: var(--cream); padding: 1px 6px; border-radius: 4px; }
.chart .cl--end { transform: translate(-100%, calc(-100% - 6px)); text-align: right; background: rgba(255, 252, 220, .9); padding: 1px 6px; border-radius: 4px; }
.chart .red { color: var(--red-ink); }
.cmp-tbl { color: var(--cream); font-size: var(--fs-small); }
.cmp-tbl th, .cmp-tbl td { border-top-color: rgba(255, 252, 220, .18); text-align: left; padding: clamp(6px, 1.1vh, 12px) 10px clamp(6px, 1.1vh, 12px) 0; }
.tbl.cmp-tbl thead th { color: var(--yellow); border-bottom-color: rgba(255, 252, 220, .6); font-size: var(--fs-small); }
.cmp-tbl td:first-child { color: rgba(255, 252, 220, .7); }
#sartlar .chart { max-width: 62vh; }
.cmp-tbl td.big { font-family: var(--f-display); font-size: clamp(16px, min(1.3vw, 2.2vh), 21px); color: var(--cream); }
.tbl.compact th, .tbl.compact td { padding-top: clamp(4px, .75vh, 12px); padding-bottom: clamp(4px, .75vh, 12px); }
.opts-stack { display: grid; gap: var(--gap); }
.opts-stack dl { margin-top: var(--s2); gap: 4px 16px; font-size: var(--fs-small); }
.opts-stack .card { padding: clamp(14px, 1.6vw, 22px); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-top: var(--s2); font-size: var(--fs-small); font-weight: 600; }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 18px; height: 4px; border-radius: 2px; display: inline-block; }
.legend .small { font-weight: 400; }

/* Sütun grafik */
.bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); height: clamp(200px, 38vh, 380px); align-items: end; border-bottom: 2px solid var(--ink); }
.bars .b { position: relative; height: 100%; }
.bars .fill { position: absolute; left: 0; right: 0; bottom: 0; background: var(--ink); border-radius: 10px 10px 0 0; }
.bars .b:last-child .fill { background: var(--red); }
.bars .val { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--f-num); font-size: var(--fs-num-m); }
.bars-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); margin-top: var(--s2); text-align: center; font-weight: 600; color: var(--ink-2); font-size: var(--fs-small); }
.kpis > div { padding: clamp(10px, 1.8vh, 16px) 0; border-top: 1px solid var(--line); }
.kpis > div:first-child { border-top: 2px solid var(--ink); }
.kpis .small { font-weight: 600; color: var(--ink-2); margin-top: 6px; }

/* Taban ve üst katmanlar */
.layers { display: flex; flex-direction: column; gap: var(--s2); }
.layers .up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.layers .up > div { border: 2px dashed var(--red); border-radius: var(--radius); padding: var(--s3); background: rgba(255, 30, 0, .05); }
.layers .up .h3 { font-size: clamp(17px, min(1.35vw, 2.3vh), 22px); margin-bottom: 4px; }
.layers .base { background: var(--ink); color: var(--cream); border-radius: var(--radius); padding: var(--s3) var(--s4); display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
.layers .base .small { color: rgba(255, 252, 220, .8); }

/* Plan adımları (tarihli) */
.plan { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.plan .line { position: absolute; left: 0; right: 0; top: 12px; height: 3px; width: 100%; background: var(--ink); }
.plan > div:not(.line) > div { position: relative; padding-top: 44px; }
.plan > div:not(.line) > div::before { content: ""; position: absolute; top: 0; left: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--cream); border: 3px solid var(--ink); box-sizing: border-box; }
.plan > div:not(.line) > div.on::before { background: var(--red); border-color: var(--red); }
.plan .label { margin-bottom: 4px; }
.plan .h3 { margin-bottom: 6px; }

/* Venn */
.venn { position: relative; width: 100%; max-width: 780px; aspect-ratio: 1.55; margin: 0 auto; }
.venn svg { width: 100%; height: 100%; overflow: visible; }
.venn .side { position: absolute; top: 52%; transform: translateY(-50%); width: 21%; }
.venn .side--l { left: 11%; }
.venn .side--r { right: 11%; text-align: right; }
.venn .side img { height: clamp(28px, 4vh, 40px); width: auto; margin-bottom: 10px; }
.venn .side--r img { margin-left: auto; height: clamp(34px, 4.8vh, 48px); }
.venn .side ul { list-style: none; font-size: clamp(13px, min(1.1vw, 1.9vh), 18px); line-height: 1.3; color: var(--ink-2); font-weight: 500; }
.venn .mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; font-family: var(--f-display); font-size: clamp(18px, min(2vw, 3.4vh), 32px); color: var(--cream); line-height: 1.1; width: 20%; }

/* Döngü */
.loop { position: relative; width: 100%; max-width: min(480px, 56vh); aspect-ratio: 1; margin: 0 auto; }
.loop svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.loop .st { position: absolute; transform: translate(-50%, -50%); background: var(--cream); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: var(--fs-small); white-space: nowrap; }
.loop .st--red { background: var(--red); border-color: var(--red); color: var(--cream); }
.loop .core { position: absolute; inset: 30%; display: grid; place-items: center; text-align: center; }
.loop .core img { width: 40%; margin: 0 auto 8px; }

/* Matris */
.matrix { position: relative; width: 100%; max-width: min(580px, 62vh); aspect-ratio: 1.12; margin: 0 auto; }
.matrix svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.matrix .q { position: absolute; font-size: var(--fs-small); font-weight: 600; color: var(--ink-2); background: var(--cream); padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; transform: translate(-50%, -50%); }
.matrix .q--flick { background: var(--red); color: var(--cream); border-color: var(--red); font-family: var(--f-display); font-size: clamp(20px, 1.7vw, 28px); font-weight: 400; padding: 8px 20px; }
.matrix .axl { position: absolute; font-size: var(--fs-small); color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.matrix .axl--x1 { left: 9.5%; top: calc(91% + 10px); }
.matrix .axl--x2 { right: 2%; top: calc(91% + 10px); }
.matrix .axl--y1, .matrix .axl--y2 { left: calc(9.4% - 30px); writing-mode: vertical-rl; transform: rotate(180deg); }
.matrix .axl--y1 { top: 4%; }
.matrix .axl--y2 { bottom: 10%; }
.diff li { list-style: none; padding: clamp(8px, 1.4vh, 12px) 0 clamp(8px, 1.4vh, 12px) 30px; border-top: 1px solid var(--line); position: relative; }
.diff li:first-child { border-top: 2px solid var(--ink); }
.diff li::before { content: ""; position: absolute; left: 0; top: calc(clamp(8px, 1.4vh, 12px) + 4px); width: 16px; height: 16px; background: url(../img/flame.svg) no-repeat center / contain; }
.diff b { font-weight: 700; color: var(--ink); }

/* Ekip */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.person .mono { width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius); background: var(--cream-2); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--f-display); font-size: clamp(40px, min(4.4vw, 7vh), 76px); color: var(--red); margin-bottom: var(--s3); position: relative; overflow: hidden; }
.person:nth-child(2) .mono { background: var(--ink); color: var(--cream); }
.person:nth-child(3) .mono { background: var(--red); color: var(--cream); }
/* Ekip fotoğrafı: siyah-beyaz, çerçevesiz (Deniz, 21 Ekim: renkli çerçeve istemedi) */
.person .mono.mono--photo { display: block; aspect-ratio: 4 / 3; padding: 0; border: 0; background: var(--ink); }
.person .mono--photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.04); }
.person:nth-child(1) .mono--photo img { object-position: 50% 28%; }
.person:nth-child(2) .mono--photo img { object-position: 50% 35%; }
.person:nth-child(3) .mono--photo img { object-position: 58% 30%; }
.person:nth-child(4) .mono--photo img { object-position: 50% 35%; }
.person .mono .small { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-family: var(--f-body); font-size: 12px; color: inherit; opacity: .65; }
.person .role { font-weight: 600; color: var(--red-ink); font-size: var(--fs-small); margin: 2px 0 var(--s1); }
.partner { margin-top: clamp(18px, 3.5vh, 36px); display: grid; grid-template-columns: auto 1fr; gap: var(--s5); align-items: center; padding-top: var(--s4); border-top: 2px solid var(--ink); }
.partner img { height: 44px; width: auto; }

/* Tablo */
.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-body); }
.tbl th, .tbl td { text-align: right; padding: clamp(7px, 1.3vh, 12px) 14px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tbl th:first-child, .tbl td:first-child { text-align: left; padding-left: 0; }
.tbl thead th { border-top: 0; border-bottom: 2px solid var(--ink); font-weight: 600; color: var(--ink-2); font-size: var(--fs-small); }
.tbl .hl { color: var(--red-ink); font-weight: 700; }
.tbl--left td, .tbl--left th { text-align: left; }

/* Yol haritası: zikzak zaman çizgisi */
.road { position: relative; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); height: clamp(320px, 52vh, 480px); }
.road .line { position: absolute; left: 0; right: 0; top: 50%; height: 3px; width: 100%; background: var(--red); }
.road .stop { position: relative; }
.road .stop::before { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; border-radius: 50%; background: var(--cream); border: 3px solid var(--red); transform: translate(-50%, -50%); z-index: 1; box-sizing: border-box; }
.road .stop.on::before { background: var(--red); }
.road .stop .lbl { position: absolute; left: 50%; width: 200%; max-width: 250px; transform: translateX(-50%); text-align: center; }
.road .stop:nth-child(odd) .lbl { bottom: calc(50% + 26px); }
.road .stop:nth-child(even) .lbl { top: calc(50% + 26px); }
.road .stop:first-child .lbl { left: 0; transform: none; text-align: left; }
.road .stop:last-child .lbl { left: auto; right: 0; transform: none; text-align: right; }
.road .when { font-weight: 700; color: var(--red-ink); font-size: var(--fs-small); }
.road .what { font-family: var(--f-display); font-size: clamp(16px, min(1.25vw, 2.1vh), 20px); line-height: 1.2; margin-top: 2px; }
.road .stop.on .what { color: var(--red); }
.road .why { font-size: 13px; line-height: 1.25; color: var(--ink-3); margin-top: 4px; }

/* Yatırım */
.stackbar { display: flex; height: 48px; border-radius: 999px; overflow: hidden; border: 2px solid var(--ink); }
.stackbar > div { height: 100%; display: flex; align-items: center; padding: 0 12px; font-family: var(--f-num); font-size: clamp(14px, min(1.25vw, 2.1vh), 20px); white-space: nowrap; transform-origin: 0 50%; overflow: hidden; }
.c1 { background: var(--ink); color: var(--cream); }
.c2 { background: #57564c; color: var(--cream); }
.c3 { background: var(--cream-2); color: var(--ink); }
.c4 { background: var(--red); color: var(--cream); }
.c5 { background: var(--orange); color: var(--ink); }
.uses { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s4); }
.uses .key { width: 12px; height: 12px; border-radius: 3px; display: inline-block; margin-right: 8px; border: 1px solid rgba(30, 30, 30, .3); vertical-align: -1px; }
.uses .h3 { font-size: clamp(16px, min(1.3vw, 2.2vh), 21px); margin: 6px 0 2px; }
.uses .num { font-size: clamp(20px, min(1.9vw, 3.2vh), 30px); }
.uses ul { list-style: none; margin-top: var(--s1); }
.uses li { font-size: 13px; line-height: 1.25; color: var(--ink-2); padding: 4px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; }
.uses li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.star { color: var(--red-ink); font-weight: 700; }
.sum { margin-top: clamp(16px, 3vh, 28px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 2fr; gap: var(--gap); align-items: end; padding-top: var(--s3); border-top: 2px solid var(--ink); }
.sum .num { font-size: clamp(24px, min(2.4vw, 4vh), 40px); }

/* Şartlar */
.curve svg { width: 100%; height: auto; overflow: visible; }
.curve .lbls { display: flex; justify-content: space-between; font-size: var(--fs-small); color: var(--ink-3); font-weight: 600; margin-top: 6px; }
.terms dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; margin-top: var(--s3); }
.terms dt { color: rgba(255, 252, 220, .7); font-weight: 500; }
.terms--light dt { color: var(--ink-3); }
.terms dd { text-align: right; }
.terms dd { font-weight: 600; }

/* Kapanış */
.closing { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 4vw, 72px); align-items: stretch; flex: 1; }
.closing .display { font-size: clamp(40px, min(5vw, 8vh), 88px); }
.closing ul { list-style: none; margin-top: clamp(16px, 3vh, 28px); }
.closing li { padding: clamp(6px, 1.2vh, 10px) 0; border-top: 1px solid rgba(255, 252, 220, .35); font-size: clamp(18px, min(1.45vw, 2.5vh), 24px); line-height: 1.24; }
.closing li b { font-weight: 700; }
.closing .quote { margin-top: clamp(16px, 3vh, 28px); max-width: 32ch; }
.closing .photo { min-height: 0; }
.closing .photo img { object-position: 38% 35%; }
.contact { margin-top: clamp(14px, 2.6vh, 24px); display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 700; font-size: clamp(17px, 1.3vw, 21px); align-items: center; }

/* Ekler */
/* Ek etiketi: sarı not kâğıdı (kapaktaki notla aynı dil) */
.appx-tag { display: inline-block; position: relative; font-family: var(--f-note); font-size: clamp(22px, min(1.9vw, 3.2vh), 30px); line-height: 1.1; color: #1e1e1e; background: var(--yellow); padding: .3em .9em .42em; border-radius: 10px; transform: rotate(-3deg); box-shadow: 0 12px 26px rgba(0, 0, 0, .38), inset 0 0 0 1px rgba(30, 30, 30, .08); margin: 0 0 var(--s3) 4px; }
.appx-tag::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(30, 30, 30, .32); border-radius: 6px; pointer-events: none; }

/* Ekler: koyu zemin, açık yazı. Token'lar slayt içinde tersine çevrilir, bileşenler kendiliğinden uyar */
.slide--dark { --ink: #fffcdc; --ink-2: rgba(255, 252, 220, .86); --ink-3: rgba(255, 252, 220, .62); --line: rgba(255, 252, 220, .16); --red-ink: #ff7a5c; background: #1e1e1e; color: var(--ink); }
.slide--dark .card { background: rgba(255, 252, 220, .05); border-color: rgba(255, 252, 220, .14); }
.slide--dark .card--ink { background: var(--red); border-color: var(--red); color: #fffcdc; }
.slide--dark .featgrid .card--ink li { border-top-color: rgba(255, 252, 220, .32); color: rgba(255, 252, 220, .96); }
.vbars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 32px); height: clamp(220px, 40vh, 380px); align-items: end; border-bottom: 2px solid var(--ink); }
.vbars .b { position: relative; height: 100%; }
.vbars .fill { position: absolute; bottom: 0; left: 0; right: 0; background: var(--ink); border-radius: var(--radius-s) var(--radius-s) 0 0; }
.vbars .b:last-child .fill { background: var(--red); }
.vbars .val { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--f-num); font-size: var(--fs-num-m); }
.vbars-labels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 32px); margin-top: var(--s2); text-align: center; font-weight: 600; color: var(--ink-2); font-size: var(--fs-small); }
.opts dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin-top: var(--s3); }
.opts dt { color: var(--ink-3); font-weight: 500; }
.opts .card--ink dt { color: rgba(255, 252, 220, .7); }
.opts dd { font-weight: 600; text-align: right; }
.chosen { display: inline-block; margin-left: 10px; font-size: 13px; background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 2px 10px; vertical-align: 4px; font-family: var(--f-body); font-weight: 600; }

/* Seyrek slaytlar: yazı ve öğeler alanı dolduracak kadar büyür */
.roomy .txt { font-size: var(--fs-lead); line-height: 1.28; }
.roomy .h3 { font-size: clamp(22px, min(2vw, 3.4vh), 32px); }
.roomy .steps { --n: clamp(68px, 14vh, 136px); }
.roomy .steps .n { font-size: clamp(32px, 6.6vh, 64px); margin-bottom: clamp(16px, 3.5vh, 36px); }
.roomy .steps .h3 { font-size: clamp(24px, min(2.4vw, 4vh), 40px); }
.roomy .footline { font-size: var(--fs-lead); margin-top: clamp(24px, 5vh, 56px); }
.roomy .plan .txt { font-size: clamp(16px, min(1.3vw, 2.2vh), 21px); }
.roomy .path { flex: 1; max-height: 54vh; }
.roomy .path > div { display: flex; flex-direction: column; }
.roomy .path .n { font-size: var(--fs-num-l); }
.roomy .path .h3 { margin-top: auto; }
.roomy .path .txt { font-size: clamp(16px, min(1.25vw, 2.1vh), 20px); }
.roomy .pieces { flex: 1; grid-auto-rows: 1fr; max-height: 58vh; }
.roomy .pieces .card { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s3); padding: clamp(20px, 2.2vw, 32px); }
.roomy .pieces .card .h3 { font-size: clamp(24px, min(2.2vw, 3.8vh), 36px); }
.roomy .pieces .txt { font-size: clamp(16px, min(1.25vw, 2.1vh), 20px); }
.roomy .road { flex: 1; height: auto; min-height: clamp(320px, 52vh, 480px); max-height: 640px; }
.roomy .road .what { font-size: clamp(17px, min(1.45vw, 2.5vh), 24px); }
.roomy .road .why { font-size: clamp(13px, min(1vw, 1.7vh), 16px); }
.roomy .road .when { font-size: clamp(13px, min(1vw, 1.7vh), 16px); }
.roomy .road { --stem: clamp(26px, 9vh, 96px); }
.roomy .road .stop::after { content: ""; position: absolute; left: 50%; width: 1.5px; height: calc(var(--stem) - 12px); background: rgba(255, 30, 0, .45); transform: translateX(-50%); }
.roomy .road .stop:nth-child(odd)::after { bottom: calc(50% + 10px); }
.roomy .road .stop:nth-child(even)::after { top: calc(50% + 10px); }
.roomy .road .stop:nth-child(odd) .lbl { bottom: calc(50% + var(--stem)); }
.roomy .road .stop:nth-child(even) .lbl { top: calc(50% + var(--stem)); }
.roomy .road .stop:first-child::after, .roomy .road .stop:last-child::after { display: none; }
.split--stretch > .costtbl { height: 100%; }

/* Ek 2: özellik ızgarası */
.featgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.featgrid .card { padding: clamp(16px, 1.6vw, 24px); }
.featgrid .h3 { font-size: clamp(18px, min(1.5vw, 2.6vh), 24px); }
.featgrid ul { list-style: none; margin-top: var(--s2); }
.featgrid li { font-size: clamp(13px, min(1vw, 1.8vh), 16px); line-height: 1.25; padding: clamp(5px, .8vh, 8px) 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.featgrid .card--ink li { border-top-color: rgba(255, 252, 220, .2); color: rgba(255, 252, 220, .88); }

/* Ek 5: varsayım rakamları */
.statgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.statgrid > div { padding: clamp(16px, 3vh, 32px) var(--s4) clamp(16px, 3vh, 32px) 0; border-bottom: 1px solid var(--line); }
.statgrid > div:not(:nth-child(4n+1)) { padding-left: var(--s4); border-left: 1px solid var(--line); }
.statgrid .txt { margin-top: var(--s2); }

/* ---------- 7. Mobil ---------- */
@media screen and (max-width: 1100px) {
  .featgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow .arr, .path .arr { display: none; }
  .flow .split-out { grid-column: span 2; grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path, .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar .chapter { display: none; }
}
@media screen and (max-width: 900px) {
  .rail { display: none; }
  /* Telefonda slaytlar alt alta akar: aralarına ince bir ayraç çizgisi. Zemin rengi değişen geçişlerde (kırmızı, koyu) çizgiye gerek yok. */
  .slide + .slide::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(30, 30, 30, .22); }
  .slide--dark::before, .slide--red::before, .slide--dark + .slide::before, .slide--red + .slide::before { display: none; }
  :root { --bar-h: 58px; }
  .bar { grid-template-columns: 1fr auto; }
  .bar .by, .bar .btn-ghost, .bar .brand .deck-name { display: none; }
  .bar .brand img { height: 32px; }
  .slide { min-height: auto; padding-top: calc(var(--bar-h) + 36px); padding-bottom: 56px; }
  .slide.cover { min-height: 100svh; }
  .split, .split--even, .split--wide, .problem, .closing, .intro, .head--split, .fan .targets { grid-template-columns: 1fr; }
  .pills { height: auto; }
  .pl { display: block; border-radius: 28px; padding: 20px !important; height: auto !important; }
  .pl .plt { width: auto !important; margin-bottom: 16px; }
  .pl3 .plt { margin-bottom: 0; }
  .fan .fan-lines { display: none; }
  .fan .targets { margin-top: 32px; row-gap: 32px; }
  .grid-3, .grid-4, .steps, .pillars, .plan, .layers .up, .statgrid, .featgrid { grid-template-columns: 1fr; }
  .statgrid > div:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .roomy .path, .roomy .pieces { max-height: none; }
  .steps .link, .plan .line, .eras .line { display: none; }
  .pillars > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .eras { grid-template-columns: 1fr 1fr; padding-top: 0; row-gap: var(--s4); }
  .eras .era { padding-top: 38px; }
  .eras .era::before { top: 0; }
  /* Telefonda yatay, tam genişlik; çakmağın üstü ve alev görünsün (Deniz, 21 Ekim) */
  .problem .photo { width: 100%; aspect-ratio: 3 / 2; max-height: none; }
  .problem .photo img { object-position: 50% 16%; }
  .pieces { grid-template-columns: 1fr; }
  .pieces > div, .pieces > div:nth-child(4), .pieces > div:nth-child(5) { grid-column: auto; }
  .bento { grid-template-columns: 1fr; }
  .bento .cell--photo { grid-row: auto; min-height: 480px; }
  .problem .photo, .intro .photo, .closing .photo { min-height: 260px; order: -1; }
  .problem .photo { min-height: 0; }
  .path, .uses { grid-template-columns: 1fr; }
  .road { grid-template-columns: 1fr; height: auto; padding-left: 28px; }
  .road .line { left: 8px; right: auto; top: 0; bottom: 0; width: 3px; height: 100%; }
  .road .stop { padding: 10px 0; }
  .road .stop::before { left: -20px; top: 22px; }
  .road .stop .lbl, .road .stop:first-child .lbl, .road .stop:last-child .lbl { position: static; width: auto; max-width: none; transform: none; text-align: left; }
  .sum { grid-template-columns: 1fr 1fr; }
  .waterfall { height: 260px; }
  .wf-labels div { font-size: 12px; }
  .wf .val { font-size: 18px; }
  .costs ul { columns: 1; }
  .tbl { font-size: 14px; }
  .tbl th, .tbl td { padding: 8px 6px; }
  .venn .side { width: 30%; }
  .venn .side ul { font-size: 12px; }
  .stackbar > div { font-size: 12px; padding: 0 6px; }
  .who > div { grid-template-columns: 1fr; gap: 4px; }
}
@media screen and (max-width: 560px) {
  /* Telefonda sayfa yana taşmasın: taşan tek öğe bile iOS'ta tüm sayfayı küçültüp sola kaydırıyor */
  .slide { overflow-x: clip; }
  .tbl.avg td:first-child, .tbl.avg th:first-child { white-space: normal; }
  .tbl.avg th, .tbl.avg td { padding-left: 4px; padding-right: 4px; }
  .team { grid-template-columns: 1fr 1fr; }
  .bar .pager { display: none; }
  .matrix .q { font-size: 12px; padding: 4px 8px; }
  /* Dönemler: yılan gibi kıvrılan yol üstünde, sırayla sol ve sağ duraklar (yol JS ile çiziliyor) */
  .eras { grid-template-columns: 1fr; row-gap: 34px; padding: 4px 0; }
  .eras .era { padding: 4px 0 0 46px; min-height: 52px; }
  .eras .era::before { top: 0; left: 0; width: 32px; height: 32px; }
  .eras .era:nth-child(even) { padding: 4px 46px 0 0; text-align: right; }
  .eras .era:nth-child(even)::before { left: auto; right: 0; }
  .eras .era .h3 { font-size: 22px; }
  .eras-snake { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
  .eras-snake path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
  /* Adımlar: dev daireler yerine solda küçük numara, yanında metin */
  .steps, .roomy .steps { --n: 48px; row-gap: var(--s4); }
  .steps [data-a="stag"] > div { display: grid; grid-template-columns: var(--n) 1fr; column-gap: 16px; align-items: start; }
  .steps .n, .roomy .steps .n { grid-row: span 2; width: var(--n); height: var(--n); font-size: 24px; margin: 0; }
  .roomy .steps .h3 { font-size: 22px; margin-top: 10px; }
  /* Kartlar içi boşluksuz, iki sütunlu kutular alt alta */
  .roomy .pieces { grid-auto-rows: auto; }
  .roomy .pieces .card { justify-content: flex-start; gap: var(--s2); }
  .grid-2 { grid-template-columns: 1fr; }
  .roomy .road .stop::after { display: none; }
  .roomy .road { max-height: none; min-height: 0; }
}

/* ---------- 8. PDF ---------- */
@page { size: 16in 9in; margin: 0; }
@media print {
  html { scroll-snap-type: none; background: var(--cream); }
  .bar, .glow, .rail { display: none !important; }
  .slide { min-height: 9in; height: 9in; break-after: page; padding: .45in .6in; overflow: hidden; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
