/* ==========================================================================
   Esentepe NNP — tasarım sistemi (v4)
   Yazı: Bricolage Grotesque (başlık ve metin), DM Mono (çizim etiketleri, kod). Marka adı Esentepe Heros'tur
   (Helvetica'nın açık lisanslı eşdeğeri).
   Tek cesur fikir: ad ve sözcükler penceredir; arkalarında beyin durur.
   Palet: lacivert · derin lacivert · kömür · fildişi · altın (sinyal)
   ========================================================================== */

/* ---------- 0. Yazı tipleri ----------
   Üç yazı tipi de açık lisanslıdır ve siteyle birlikte sunulur (assets/fonts); dosyalar tools/fonts içindeki
   kaynaklardan üretilir (tools/woff2.mjs; ad için önce tools/altkume.mjs).
   "Esentepe NNP" adı Esentepe Heros ile yazılır: Helvetica'nın açık lisanslı eşdeğeri TeX Gyre Heros Bold'un
   (GUST Font License) alt kümesidir. Harf genişlikleri ve satır içindeki yeri Helvetica ve Arial ile aynıdır;
   dosya inene kadar cihazdaki Helvetica ya da Arial görünür ve yerleşim kaymaz. */
@font-face { font-family: "Esentepe Heros"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/esentepe-heros-700.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/bricolage-grotesque-400.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/bricolage-grotesque-700.woff2) format("woff2"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/dm-mono-400.woff2) format("woff2"); }
/* Yazı tipi inene kadar görünen yedek: Arial, Bricolage ölçülerine yaklaştırılır (sayfa zıplamasın) */
@font-face { font-family: "Bricolage Yedek"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"); size-adjust: 104%; ascent-override: 89%; descent-override: 26%; line-gap-override: 0%; }

/* ---------- 1. Belirteçler ---------- */
:root {
  --navy-950: #050A1E;   /* derin lacivert: alt bilgi, sahne kenarları */
  --navy-900: #0A1430;   /* lacivert: sahne ve koyu yüzey */
  --navy-850: #0E1A3C;
  --ivory-100: #F2EDE1;  /* fildişi: kâğıt ve koyu üstünde metin */
  --ivory-200: #E8E2D3;
  --coal-900: #15171C;   /* kömür: kâğıt üstünde metin */
  --gold-400: #D6A94A;   /* altın: sinyal */
  --gold-700: #73550F;   /* kâğıt üstünde altın metin */

  /* Yalnızca "Esentepe NNP" adı. Yedekler harf genişliği aynı olanlardan başlar (Helvetica Neue'nünki farklıdır). */
  --font-brand: "Esentepe Heros", Helvetica, Arial, "Liberation Sans", "Nimbus Sans", "Helvetica Neue", sans-serif;
  --font: "Bricolage Grotesque", "Bricolage Yedek", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --header-h: 4rem;
  --r-sheet: clamp(1.25rem, 2.4vw, 2rem);   /* yaprakların üst köşesi ve bindirme payı */
  --peek: clamp(3.25rem, 8vh, 5rem);        /* levhanın altında ilk ekranda görünen yaprak kenarı */
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Koyu yüzey (lacivert) */
:root,
.s-ink,
.site-header[data-over="ink"] {
  --surface: ink;
  --bg: var(--navy-900);
  --bg-alt: var(--navy-850);
  --fg: var(--ivory-100);
  --fg-2: rgba(242, 237, 225, .74);
  --fg-3: rgba(242, 237, 225, .56);
  --line: rgba(242, 237, 225, .16);
  --line-2: rgba(242, 237, 225, .32);
  --tint: rgba(242, 237, 225, .055);
  --tint-2: rgba(242, 237, 225, .1);
  --signal: var(--gold-400);
  --signal-text: var(--gold-400);
  --signal-fill: var(--gold-400);   /* üzerinde metin taşıyan dolgu */
  --on-signal: var(--navy-950);
  --btn-bg: var(--ivory-100);
  --btn-fg: var(--navy-950);
  --field-bg: rgba(5, 10, 30, .55);
  --error: #FFA08F;
  --ok: #9BD8B4;
  --bg-raise: var(--navy-850);              /* bir kat yukarıda duran yüzey (kart, sekme) */
  --edge: rgba(242, 237, 225, .14);         /* katman kenarındaki ince ışık */
  --shade: rgba(0, 0, 0, .55);              /* katmanın altına düşen gölge */
  --veil: rgba(214, 169, 74, .55);          /* pencere harflerinin altın perdesi */
  color-scheme: dark;
}

/* Açık yüzey (fildişi) */
[data-theme="light"],
[data-theme="dark"] .s-band,
.s-paper,
.site-header[data-over="paper"] {
  --surface: paper;
  --bg: var(--ivory-100);
  --bg-alt: var(--ivory-200);
  --fg: var(--coal-900);
  --fg-2: rgba(21, 23, 28, .76);
  --fg-3: rgba(21, 23, 28, .62);
  --line: rgba(21, 23, 28, .16);
  --line-2: rgba(21, 23, 28, .34);
  --tint: rgba(21, 23, 28, .05);
  --tint-2: rgba(21, 23, 28, .09);
  --signal: #A47A1E;
  --signal-text: var(--gold-700);
  --signal-fill: var(--gold-700);   /* fildişi metinle 5,9:1 kontrast */
  --on-signal: var(--ivory-100);
  --btn-bg: var(--coal-900);
  --btn-fg: var(--ivory-100);
  --field-bg: #FBF8F1;
  --error: #A8281E;
  --ok: #1E6B43;
  --bg-raise: #FBF8F1;
  --edge: rgba(21, 23, 28, .1);
  --shade: rgba(5, 10, 30, .1);
  color-scheme: light;
}
[data-theme="light"] .s-band { --bg: var(--ivory-200); --bg-alt: var(--ivory-100); }

/* ---------- 2. Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); scroll-padding-bottom: 1.5rem; }
html.motion-ok { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.s-ink, .s-band, .s-paper { background: var(--bg); color: var(--fg); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 700; }
h1 em, h2 em, h3 em { font-style: normal; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
::selection { background: var(--signal); color: var(--on-signal); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1.1rem; border-radius: 999px;
  background: var(--gold-400); color: var(--navy-950); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: .75rem; }

.container { width: 100%; max-width: 90rem; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- 3. Tipografi ---------- */
/* Bricolage Grotesque: geniş, mürekkep tuzaklı bir grotesk. Büyük boyda sıkı harf aralığıyla kullanılır;
   Türkçe işaretler (ğ, ş, İ, â) çakışmasın diye çok satırlı başlıklarda satır aralığı 1'in altına inmez. */
.display-1, .display-2, .display-3, .verb { font-weight: 700; overflow-wrap: break-word; }
.display-1 { font-size: clamp(2.3rem, 10.6vw, 4.4rem); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.display-2 { font-size: clamp(2.15rem, 8.6vw, 3.5rem); line-height: 1.01; letter-spacing: -.042em; }
.display-3 { font-size: clamp(1.75rem, 6vw, 2.5rem); line-height: 1.05; letter-spacing: -.036em; }
/* Fiil tek satırdır. --verb-w, o dildeki en uzun fiilin em genişliğidir (build.py verir): uzun bir çeviri ekrana
   sığmıyorsa bütün fiiller birlikte küçülür. */
.verb {
  --verb-fit: calc((100vw - 2 * var(--gutter) - .75rem) / var(--verb-w, 5.1));
  font-size: min(clamp(2.6rem, 15vw, 6.5rem), var(--verb-fit));
  line-height: .98; letter-spacing: -.055em; white-space: nowrap; margin-left: -.04em;
}
@media (min-width: 900px) {
  .display-1 { font-size: clamp(4.25rem, 7.2vw, 8.25rem); line-height: .97; }
  .display-2 { font-size: clamp(3.2rem, 5vw, 5.4rem); }
  .display-3 { font-size: clamp(2.2rem, 3.1vw, 3.3rem); }
  .verb { font-size: min(clamp(6rem, 13vw, 15.5rem), var(--verb-fit)); }
}
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.14; letter-spacing: -.028em; }
.h4 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.015em; }
.lead { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.42; letter-spacing: -.018em; color: var(--fg-2); max-width: 34em; }
.note, .disclaimer { font-size: .875rem; line-height: 1.5; color: var(--fg-3); }
.disclaimer { margin-top: 2.5rem; max-width: 46em; }
.prose { max-width: 40em; }
.prose p { color: var(--fg-2); font-size: 1.125rem; }
.prose p + p { margin-top: 1.1em; }

/* ---------- 4. Düğmeler, bağlantılar, küçük parçalar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .8rem 1.4rem;
  border: 1px solid transparent; border-radius: 999px; background: none;
  font-size: 1rem; font-weight: 400; line-height: 1.1; letter-spacing: -.015em; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
/* Dar telefonda uzun bir düğme metni (ör. çeviride) taşmak yerine iki satıra iner */
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }
.btn .icon { width: 1.1rem; height: 1.1rem; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--signal-fill); color: var(--on-signal); }
.btn-secondary { border-color: var(--line-2); color: var(--fg); background: transparent; }
.btn-secondary:hover { border-color: var(--fg); background: var(--tint); }
.btn-ghost { padding-inline: .35rem; border-radius: .4rem; color: var(--fg); text-decoration: underline; text-underline-offset: .28em; text-decoration-color: var(--line-2); }
.btn-ghost:hover { text-decoration-color: var(--signal); }
.btn-sm { min-height: 2.5rem; padding: .5rem 1.05rem; font-size: .9375rem; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .7; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.text-link {
  font-weight: 400; color: var(--fg);
  text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: .3em;
}
.text-link:hover { color: var(--signal-text); }

.icon { width: 1.35rem; height: 1.35rem; flex: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent; color: var(--fg);
}
.icon-btn:hover { border-color: var(--fg); }
.icon-btn .icon { width: 1.15rem; height: 1.15rem; }

.badge {
  display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start;
  padding: .28rem .7rem; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: .8125rem; font-weight: 400; color: var(--fg-2);
}
.badge-demo::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--signal); }

.plain-list { display: grid; gap: .7rem; }
.plain-list li { position: relative; padding-left: 1.15rem; color: var(--fg-2); }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .4rem; height: .4rem; background: var(--signal); border-radius: 50%; }
.link-list { display: grid; gap: .7rem; }
.link-list.inline { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }

.grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 5. Üst menü ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  color: var(--fg); background: transparent;
  transition: color .25s;
}
/* Buzlu cam zemin ::before üzerindedir. backdrop-filter üst menünün kendisine verilirse, sabit
   konumlu tam ekran menünün kapsayıcısı olur ve menüyü 64 piksellik şeride sıkıştırır. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.site-header.is-solid::before, html:not(.motion-ok) .site-header::before { opacity: 1; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; padding-inline: var(--gutter); }
/* İç sayfalarda içerik 90rem ile sınırlıdır; üst menü de aynı ızgaraya oturur (ana sayfada sahne ekranı kaplar) */
body:not(.page-home) .header-inner { max-width: 90rem; margin-inline: auto; }
.brand { position: relative; z-index: 2; font-family: var(--font-brand); font-size: 1.25rem; font-weight: 700; letter-spacing: -.035em; line-height: 1; white-space: nowrap; text-decoration: none; color: var(--fg); }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: clamp(1.1rem, 2.2vw, 2.25rem); }
.main-nav > ul a { display: block; padding: .5rem 0; font-size: .9375rem; color: var(--fg-2); text-decoration: none; white-space: nowrap; }
.main-nav > ul a:hover { color: var(--fg); }
.main-nav > ul a[aria-current="page"] { color: var(--fg); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: .45em; }
.header-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: .75rem; }
.nav-foot, .menu-toggle { display: none; }
/* Dil seçici: geniş ekranda üst menüde kısaltmalarla (TR, EN, SQ); dar ekranda açılan menünün altında ve
   alt bilgide dil adlarıyla. Dil adları çevrilmez. */
.lang ul { display: flex; align-items: center; gap: .3rem; }
.lang a {
  display: grid; place-items: center; min-width: 2.25rem; min-height: 2.25rem; padding: 0 .5rem; border-radius: 999px;
  font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .02em; line-height: 1;
  color: var(--fg-2); text-decoration: none;
}
.lang a:hover { color: var(--fg); }
.lang a[aria-current] { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.lang:not(:has(li + li)) { display: none; }   /* tek dil varsa seçici gösterilmez */
.lang-menu a, .lang-footer a { min-height: 2.75rem; padding: 0 .9rem; font-family: var(--font); font-size: .9375rem; letter-spacing: -.012em; }
.theme-toggle .icon-moon, [data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
.menu-toggle { min-height: 2.5rem; padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: .9375rem; font-weight: 400; color: var(--fg); }

/* Dil seçici ve uzun çeviriler yer istediği için üst menüdeki çağrı düğmesi yalnızca geniş ekranda görünür */
@media (max-width: 1240px) { .header-cta { display: none; } }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .header-cta, .header-actions > .lang { display: none; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1; margin: 0;
    display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
    background: var(--navy-950); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transition: opacity .25s; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul a { padding: .35rem 0; font-size: clamp(2.2rem, 11vw, 4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.15; color: var(--fg); }
  .nav-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; }
}

/* Ana sayfanın başında ad ekranı zaten kaplar: köşedeki ad, dev ad ekrandan çıkana kadar gizlenir */
.brand { transition: opacity .3s; }
.cover-on .site-header .brand { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
/* Yolculuk sahnesi her temada laciverttir: üzerindeyken tema düğmesi bir şey değiştirmez, bu yüzden gizlenir */
.site-header.over-stage .theme-toggle { visibility: hidden; }

/* ---------- 6. Ana sayfa: beynin içinde yolculuk ---------- */
.journey {
  position: relative; background: var(--navy-950);
  /* Dev adın boyu (--wm: "Esentepe" satırının yazı boyu) ve üst kenarı. Kapak (sahnede) ve açılış sözü
     (akışta) aynı ölçüden yerleşir. Ad ekranı enine doldurur; yükseklik yetmezse küçülür:
     --wm-rest, adın altında söz ve düğmeler için ayrılan paydır. */
  --svh: 1vh;
  --wm-rest: 22.5rem;
  --wm: min(calc((100vw - 2 * var(--gutter) - 1rem) / 4.06), calc((100 * var(--svh) - var(--header-h) - var(--wm-rest)) / 2.8));
  --wm-top: calc(var(--header-h) + clamp(.5rem, 3.4vh, 2.5rem));
}
@supports (height: 1svh) { .journey { --svh: 1svh; } }
@media (max-width: 480px) { .journey { --wm-rest: 25.75rem; } }
@media (max-width: 480px) and (max-height: 700px) {
  .journey { --wm-rest: 20.5rem; }
  .hero-inner .lead { display: none; }   /* küçük telefonda ada yer kalsın */
}
/* Kareye yakın ekran (ör. yan panel, 5:4'ten dar pencere): ad büyüsün diye açıklama gösterilmez */
@media (min-width: 761px) and (min-aspect-ratio: 9/10) and (max-aspect-ratio: 1249/1000) {
  .journey { --wm-rest: 18.5rem; }
  .hero-inner .lead { display: none; }
}
.journey-stage {
  position: sticky; top: 0; z-index: 0; overflow: hidden;
  height: 100vh; height: 100svh;
  background: radial-gradient(ellipse 80% 80% at 45% 40%, #132352 0%, var(--navy-900) 46%, var(--navy-950) 100%);
}
.journey-poster, .journey-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.journey-poster { object-fit: cover; object-position: 50% 50%; transition: opacity 1.4s var(--ease); }
.journey-canvas { opacity: 0; transition: opacity 1.4s var(--ease); }
.journey-canvas canvas { display: block; width: 100% !important; height: 100% !important; touch-action: pan-y; }
.journey.is-live .journey-canvas { opacity: 1; }
.journey.is-live .journey-poster { opacity: 0; }

/* Gölge: metnin durduğu alt bölüm ile üst şerit. Açılışta yoktur (kapağın pencereleri kararmasın);
   journey.js ilerlemeye göre açar. */
.journey-shade {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background:
    linear-gradient(0deg, rgba(5, 10, 30, .9) 0%, rgba(5, 10, 30, .6) 28%, rgba(5, 10, 30, 0) 60%),
    linear-gradient(180deg, rgba(5, 10, 30, .72) 0, rgba(5, 10, 30, .36) 3.5rem, rgba(5, 10, 30, 0) 6rem);
}

/* Açılış kapağı: düz lacivert bir yüzey; dev adın harfleri penceredir. "darken" karışımı, beyaz harflerin
   olduğu yerde alttaki sahneyi (canlı tuval ya da statik görsel) olduğu gibi, başka her yerde laciverti
   gösterir. Kaydırınca journey.js kapağı bir harfin içinden geçirerek büyütür ve açar.
   (Karışım desteklenmezse harfler düz beyaz görünür: ad yine okunur.) */
.cover { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--navy-950); mix-blend-mode: darken; }
.wordmark {
  position: absolute; left: var(--gutter); top: var(--wm-top); margin: 0;
  font-family: var(--font-brand); font-weight: 700; line-height: .96; letter-spacing: -.045em; white-space: nowrap; color: #fff;
  font-size: var(--wm);
  -webkit-user-select: none; user-select: none;
}
/* Sayfa açılırken pencereler soldan sağa açılır (kırpma kutusu harf taşmalarını kesmeyecek kadar geniştir) */
.wordmark span { display: block; width: max-content; margin-left: -.06em; animation: window-open 1.1s var(--ease) both; }
/* Dik ve dar ekranda iki satır aynı ene getirilir: "NNP", "Esentepe" kadar geniş olana dek büyür
   (2,1 = iki sözcüğün mürekkep genişliklerinin oranı). Geniş ekranda iki satır aynı boydadır (aşağıda). */
.wordmark span + span { font-size: 2.108em; letter-spacing: -.045em; line-height: .86; margin: .1em 0 0 -.068em; animation-delay: .18s; }
@keyframes window-open { from { clip-path: inset(-20% 100% -35% -5%); } to { clip-path: inset(-20% -5% -35% -5%); } }
/* İmleç de bir penceredir: kapakta imleci izleyen yuvarlak açıklık (beyaz = saydam). Yerini ve boyunu
   journey.js verir; çevresindeki altın halka .lens öğesidir. */
.cover-hole {
  position: absolute; left: 0; top: 0; width: 200px; height: 200px; margin: -100px 0 0 -100px;
  border-radius: 50%; background: #fff; opacity: 0; will-change: transform, opacity;
}
.journey:not(.is-live) .cover-hole { display: none; }

/* Mercek halkası: imleci izler; içinde beynin kabuğu açılır */
.lens {
  position: absolute; left: 0; top: 0; z-index: 2; width: 200px; height: 200px; margin: -100px 0 0 -100px;
  border-radius: 50%; border: 1px solid rgba(214, 169, 74, .9);
  box-shadow: 0 0 0 1px rgba(5, 10, 30, .55), inset 0 0 0 1px rgba(5, 10, 30, .4);   /* açık zeminde de seçilsin */
  opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.journey:not(.is-live) .lens { display: none; }

.journey-track { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
.chapter { display: flex; align-items: flex-end; min-height: 80vh; padding-inline: var(--gutter); }
.chapter-hero { min-height: 100vh; min-height: 100svh; }
/* Statik sürüm (hareket azaltma, veri tasarrufu, JavaScript yok): açılış bir afiş olarak kalır ve sayfayla
   birlikte kayar; duraklar düz lacivert zeminde alt alta okunur. */
html:not(.motion-ok) .journey-stage { position: relative; }
html:not(.motion-ok) .chapter { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
html:not(.motion-ok) .chapter:not(.chapter-hero) { min-height: 0; }
html:not(.motion-ok) .chapter-inner { position: static; }
html:not(.motion-ok) .chapter-hero { padding-bottom: clamp(5.5rem, 14vh, 8.5rem); }
.motion-ok .chapter { min-height: 120vh; }
.motion-ok .chapter-hero { min-height: 125vh; }
.motion-ok .chapter-outro { min-height: 130vh; }
/* Yolculuk bitince sahne kayıp gitmez: sonraki bölüm, yerinde duran sahnenin üzerine bir yaprak gibi yükselir */
.motion-ok .journey-tail { height: 100vh; height: 100svh; }
.motion-ok .journey + .section { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; border-radius: 1.75rem 1.75rem 0 0; }
.chapter-inner {
  position: sticky; bottom: clamp(5.5rem, 14vh, 8.5rem);
  width: 100%; padding-block: 1rem; pointer-events: none;
}
/* Kutu boydan boya uzanır ama tıklamayı yalnızca içeriği tutar: boş alan sahneye (tıklama, sürükleme) geçer */
.chapter-inner > * { width: fit-content; pointer-events: auto; }
.chapter-inner.is-off > * { pointer-events: none; }
/* Açılış bir afiştir: ad ekranı kaplar, söz ve düğmeler alt kenara dizilir */
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.25rem 2.5rem; }
.hero-title { font-size: clamp(1.7rem, 2.9vw, 2.75rem); line-height: 1.04; letter-spacing: -.035em; max-width: 13.5em; text-wrap: balance; }
.hero-inner .lead { margin-top: .9rem; max-width: 33em; font-size: clamp(1rem, 1.2vw, 1.1875rem); color: var(--fg-2); }
.hero-inner .btn-row { margin-top: 0; justify-self: end; }
@media (max-width: 760px) {
  .hero-inner { display: block; }
  .hero-inner .btn-row { margin-top: 1.25rem; }
}
/* Dik tablet (761-899 px): söz ve düğmeler yan yana sığmaz, sütun daralınca metin uzayıp adın üzerine
   biner. Telefondaki gibi alt alta dizilir; yükseklik azsa açıklama gösterilmez. */
@media (min-width: 761px) and (max-width: 899.98px) and (max-aspect-ratio: 899/1000) {
  .hero-inner { display: block; }
  .hero-inner .btn-row { margin-top: 1.25rem; }
}
@media (min-width: 761px) and (max-width: 899.98px) and (max-aspect-ratio: 899/1000) and (max-height: 960px) {
  .hero-inner .lead { display: none; }
}
/* Söz adın altına sığmıyorsa site.js bu sınıfı ekler (uzun çeviri, alışılmadık pencere boyu) */
.journey.hero-tight .hero-inner .lead { display: none; }
/* Geniş ekran: afiş düzeni. Ad ekranı enine doldurur; "NNP"nin sağındaki boşluğa söz oturur. Açıklamanın
   son satırı "NNP" ile aynı taban çizgisinde durur, düğmeler o çizgiden aşağı asılır.
   Ölçüler Helvetica/Arial kalın içindir: büyük harf boyu 0,716em, satır .96em, taban çizgisi satır
   başından 0,8265em aşağıda (iki satırlı adın taban çizgisi: üst kenar + 1,7865em). */
@media (min-width: 761px) and (min-height: 561px) and (min-aspect-ratio: 5/4) {
  .journey {
    --wm-foot: 10.25rem;   /* adın altında kalan pay: düğmeler, ipucu, durak şeridi */
    --wm: min(calc((100vw - 2 * var(--gutter) - 1rem) / 4.06), calc((100 * var(--svh) - var(--header-h) - var(--wm-foot) - .5rem) / 1.78));
    /* ad, üst menü ile alt pay arasında düşeyde ortalanır (büyük harf tepesi ile taban çizgisi arası) */
    --wm-top: calc(var(--header-h) + (100 * var(--svh) - var(--header-h) - var(--wm-foot)) / 2 - .9485 * var(--wm));
    --wm-base: calc(var(--wm-top) + 1.7865 * var(--wm));
  }
  .wordmark span + span { font-size: 1em; line-height: inherit; margin: 0 0 0 -.06em; }
  .chapter-hero { align-items: flex-start; }
  html:not(.motion-ok) .chapter-hero { padding-top: 0; }
  .hero-inner {
    display: block; flex: 1 1 0; width: auto; min-width: 0; height: 0; padding: 0;
    position: sticky; top: var(--wm-base); bottom: auto;
    margin-top: var(--wm-base);
    margin-left: calc(1.93 * var(--wm) + clamp(1.5rem, 3.2vw, 3.25rem));
  }
  html:not(.motion-ok) .hero-inner { position: relative; top: auto; }
  .hero-inner .hero-copy { position: absolute; left: 0; bottom: 0; }
  .hero-title { font-size: clamp(1.7rem, .128 * var(--wm), 3.4rem); max-width: 14em; }
  .hero-inner .lead { max-width: 36em; margin-bottom: -.36em; }
  .hero-inner .btn-row { position: absolute; left: 0; top: 0; margin-top: 1.5rem; flex-wrap: nowrap; }
}
@media (min-width: 761px) and (max-width: 999.98px) and (min-height: 561px) and (min-aspect-ratio: 5/4) {
  .hero-inner .lead { display: none; }   /* "NNP"nin yanındaki sütun dar: söz ve düğmeler yeter */
  .hero-inner .btn { padding-inline: 1.1rem; font-size: .9375rem; }
}

/* Fiiller: harfler ayrı öğelerdir (konumları ölçülüp em cinsinden yazılır); durumları verbs.js yönetir */
.verb-box { position: relative; display: inline-block; height: .98em; vertical-align: top; transform-origin: 0 100%; }
.verb-l { position: absolute; top: 0; text-align: center; white-space: pre; transition: color .18s; }
.verb-l.is-hidden { visibility: hidden; }
.verb-l.is-guess { color: var(--signal); opacity: .72; }
.verb-l.is-pending { color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }
.verb-l.is-testing { color: transparent; -webkit-text-stroke: 1.5px var(--signal); }
.verb-x { position: absolute; opacity: 0; pointer-events: none; }
.verb-caret { top: .13em; width: .055em; height: .72em; margin-left: .035em; background: var(--signal); }
.verb-caret.is-idle { animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.journey.is-paused .verb-caret.is-idle { animation: none; }
.verb-wire { left: 0; right: 0; top: .9em; height: 2px; background: var(--signal); transform-origin: 0 50%; }
/* Önce fiil kendi hareketini yapar, açıklama ardından yerleşir */
.chapter-inner .chapter-text, .chapter-inner .chapter-links { opacity: clamp(0, calc((var(--p, 1) - .45) * 2.2), 1); }
.chapter-text { margin-top: 1.25rem; max-width: 31em; font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.42; letter-spacing: -.012em; }
.chapter-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.25rem; }

/* Altı durak aynı kalıba dökülmesin: çift duraklarda metin sağa yaslanır (geniş ekran, canlı düzen).
   scene.js içindeki SIDE dizisi aynı sırayı izler: sahne her durakta metnin karşı tarafına kayar. */
@media (min-width: 900px) {
  .motion-ok .chapter-r .chapter-inner > * { margin-left: auto; text-align: right; }
  .motion-ok .chapter-r .chapter-links { justify-content: flex-end; }
  .motion-ok .chapter-r .verb { margin-right: -.03em; }
  .motion-ok .chapter-r .verb-box { transform-origin: 100% 100%; }
}

/* Konum haritası: o duraktan geçen beyin kesiti; altın nokta, yolculukta bulunulan yerdir.
   Durağa yaklaştıkça çizilir (kaydırmaya bağlı). Metnin karşı köşesinde durur. */
.chapter-map { display: none; }
.journey.is-live .chapter-map {
  display: block; position: absolute; right: 0; bottom: 1rem; width: clamp(7.5rem, 12.5vw, 11.5rem); margin: 0;
  pointer-events: none; opacity: clamp(0, calc((var(--p, 1) - .1) * 1.6), 1);
}
.journey.is-live .chapter-map .kesit { --k-draw: calc(1 - var(--p, 1)); --k-ring: .5; }
@media (min-width: 900px) { .motion-ok .chapter-r .chapter-map { right: auto; left: 0; } }
@media (max-width: 899px) { .journey.is-live .chapter-map { position: static; width: 4.5rem; margin-bottom: .9rem; } }

.rail { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.1rem; z-index: 2; display: grid; gap: .55rem; }
.rail-cue { font-size: .875rem; color: var(--fg-2); transition: opacity .4s; }
.rail-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
.rail-seg { display: block; width: 100%; padding: .3rem 0 0; border: 0; background: none; text-align: left; font-size: .8125rem; color: var(--fg-2); }
.rail-bar { display: block; height: 2px; margin-bottom: .45rem; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.rail-fill { display: block; height: 100%; background: var(--signal); transform-origin: left; transform: scaleX(var(--p, 0)); }
.rail-seg.is-active, .rail-seg:hover { color: var(--fg); }
.rail-num { font-variant-numeric: tabular-nums; }
.journey:not(.is-live) .rail, .journey:not(.is-live) .hotspots { display: none; }

/* Kapanış: beyin ortada (durak adları üzerinde), altında tek söz ve tek düğme */
.chapter-outro .chapter-inner { text-align: center; }
.chapter-outro .chapter-inner > * { margin-inline: auto; }
.chapter-outro .chapter-text { max-width: 34em; }
.chapter-outro .btn-row { justify-content: center; align-items: center; gap: 1rem 1.75rem; }
/* Metnin arkası hafifçe kararır: beynin sapından inen ışık çizgisi yazının içinden geçmesin */
.journey.is-live .chapter-outro .chapter-inner::before {
  content: ""; position: absolute; z-index: -1; inset: -1.5rem 0 -5rem; pointer-events: none;
  background: radial-gradient(ellipse 50% 58% at 50% 52%, rgba(5, 10, 30, .8) 0%, rgba(5, 10, 30, .5) 46%, rgba(5, 10, 30, 0) 74%);
}
.hotspots { position: fixed; inset: 0; z-index: 2; margin: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.chapter-inner > .hotspots { width: auto; pointer-events: none; }
.hotspot {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: .45rem;
  margin: -1rem 0 0 -.95rem; padding: .32rem .75rem .32rem .55rem; border-radius: 999px;
  background: rgba(5, 10, 30, .62); border: 1px solid var(--line-2);
  font-size: .8125rem; font-weight: 400; color: var(--fg); text-decoration: none; white-space: nowrap;
  pointer-events: auto; will-change: transform;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .2s, color .2s, border-color .2s;
}
.hotspot-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(214, 169, 74, .22); }
.hotspot:hover, .hotspot:focus-visible { background: var(--signal-fill); border-color: var(--signal-fill); color: var(--on-signal); }
.hotspot:hover .hotspot-dot, .hotspot:focus-visible .hotspot-dot { background: var(--on-signal); box-shadow: none; }

/* Atla ve durdur: geniş ekranda ipucu satırının sağ ucunda, telefonda metnin altındaki boş şeritte,
   kısa ekranda sağ üstte */
.journey-tools {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + .25rem); z-index: 3;
  display: flex; flex-direction: row-reverse; flex-wrap: wrap; gap: .5rem;
}
@media (min-width: 761px) and (min-height: 561px) {
  .journey-tools { top: auto; bottom: 3.3rem; }
  .rail-cue { max-width: calc(100% - 16.5rem); }
}
@media (max-width: 760px) and (min-height: 561px) { .journey-tools { top: auto; bottom: 1.35rem; } }
.journey-skip, .journey-pause {
  display: inline-flex; align-items: center; min-height: 2rem; padding: .3rem .8rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(5, 10, 30, .72);
  font-size: .875rem; color: var(--fg); text-decoration: none;
}
.journey-skip:hover, .journey-pause:hover { border-color: var(--fg); }
/* Çok dar telefonda iki düğme tek satırda kalır: uzun bir çeviride ikinci satıra inip sözün düğmelerine binmez */
@media (max-width: 380px) {
  .journey-tools { flex-wrap: nowrap; gap: .35rem; }
  .journey-skip, .journey-pause { padding: .3rem .6rem; font-size: .75rem; white-space: nowrap; }
}
.journey:not(.is-live) .journey-pause { display: none; }

@media (max-width: 760px) {
  .journey-shade {
    background:
      linear-gradient(0deg, rgba(5, 10, 30, .92) 0%, rgba(5, 10, 30, .72) 34%, rgba(5, 10, 30, 0) 66%),
      linear-gradient(180deg, rgba(5, 10, 30, .85) 0, rgba(5, 10, 30, .6) 4rem, rgba(5, 10, 30, 0) 9rem);
  }
  .rail-seg { pointer-events: none; }   /* 2 piksellik çubuk dokunma hedefi olamaz */
  .chapter-inner { bottom: 3.6rem; }
  .rail { bottom: .8rem; }
  .rail-label, .rail-cue { display: none; }
  .rail-seg { padding: 0; }
  .rail-bar { margin: 0; }
  /* Dar ekranda durak adları beynin üzerine dizilemez (üst üste biner): beynin altında bir sıra olur */
  .hotspots { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.25rem; }
  .hotspot { position: static; margin: 0; transform: none !important; display: inline-flex !important; will-change: auto; }
}

/* Kısa ekranlar (yatay telefon, %200 yakınlaştırma): sabitlenen metin ekrana sığsın */
@media (max-height: 560px) {
  .chapter-inner { bottom: 3.4rem; }
  /* Dev ad tek satıra iner: iki satır, alttaki söz ve düğmelerle çakışırdı */
  .wordmark { top: calc(var(--header-h) + .25rem); font-size: min(calc((100vw - 2 * var(--gutter) - 1rem) / 6.6), 22vh); font-size: min(calc((100vw - 2 * var(--gutter) - 1rem) / 6.6), 22svh); }
  .wordmark span { display: inline-block; margin-right: .22em; }
  .wordmark span + span { font-size: 1em; line-height: inherit; margin: 0 0 0 -.06em; }
  .hero-title { font-size: clamp(1.3rem, 6.4vh, 2.2rem); max-width: none; }
  .hero-inner .lead { display: none; }
  .verb { font-size: min(clamp(2.2rem, 20vh, 6.5rem), var(--verb-fit)); }
  .chapter-outro .display-2 { font-size: clamp(1.75rem, 11vh, 3.4rem); }
  .chapter-text { margin-top: .6rem; font-size: 1rem; }
  .chapter-links { margin-top: .6rem; }
  .chapter-inner .btn-row { margin-top: .9rem; }
  .chapter-inner .btn { min-height: 2.5rem; padding-block: .5rem; }
  .rail-label, .rail-cue { display: none; }
  .rail-seg { padding: 0; pointer-events: none; }
  .rail-bar { margin: 0; }
  /* Bu yükseklikte yer yoktur: konum haritası ve durak adları gösterilmez */
  .hotspots, .journey.is-live .chapter-map { display: none; }
}

/* ---------- 7. Yüzeyler: bölüm, yaprak, pencere ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 9rem); }
.section-alt { background: var(--bg-alt); }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; align-items: end; }
}
.section-more { margin-top: 2.5rem; }

/* Yaprak: sayfalar düz şeritlerden değil, üst üste binen katmanlardan oluşur. Her yaprak bir öncekinin
   üzerine biner; üst köşeleri yuvarlaktır ve altındaki yüzeye gölge düşürür. */
.sheet {
  position: relative; z-index: 1; background: var(--bg); color: var(--fg);
  margin-top: calc(-1 * var(--r-sheet)); border-radius: var(--r-sheet) var(--r-sheet) 0 0;
  padding-block: clamp(3.5rem, 7.5vw, 7rem) calc(clamp(3.5rem, 7.5vw, 7rem) + var(--r-sheet));
  box-shadow: 0 -1px 0 var(--edge), 0 -1.75rem 4rem -1.25rem var(--shade);
}
.sheet > .container { position: relative; }
.sheet-note { max-width: 38em; margin-bottom: clamp(2.5rem, 5vw, 4rem); color: var(--fg-2); }
/* Levhanın ardından gelen yaprak, ilk ekranda kenarı görünecek kadar yukarı biner */
.plate + .sheet { margin-top: calc(-1 * var(--peek)); }
.site-footer { position: relative; z-index: 1; margin-top: calc(-1 * var(--r-sheet)); border-radius: var(--r-sheet) var(--r-sheet) 0 0; }

/* Siber uzay (assets/js/uzay.js): lacivert yüzeylerin arkasında, bakış noktasına doğru derinleşen veri
   koridoru. Tuval ekrana sabittir ve yüzeyin kutusuyla kırpılır: yüzeyler kaydıkça aynı uzaya açılan
   pencereler gibi görünür. Okunan yaprakların arkasında daha siliktir. */
.uzay { position: absolute; inset: 0; z-index: -1; pointer-events: none; clip-path: inset(0); }
.uzay canvas {
  position: fixed; inset: 0; width: 100%; height: 100%; opacity: var(--uzay-a, 1);
  /* Koridorun ucundaki lacivert parıltı (durağan olduğu için tuvale çizilmez) */
  background: radial-gradient(ellipse 62% 58% at 50% 44%, rgba(52, 86, 190, .24) 0%, rgba(40, 68, 160, .08) 48%, rgba(40, 68, 160, 0) 100%);
}
.sheet > .uzay, .site-footer > .uzay { clip-path: inset(0 round var(--r-sheet) var(--r-sheet) 0 0); }
.sheet > .uzay, .section > .uzay { --uzay-a: .6; }
.site-footer > .uzay { --uzay-a: .75; }
main > .section:has(> .uzay) { position: relative; isolation: isolate; }
/* Ana sayfa kapağı: kapak büyümeye başlarken (journey.js --zoom verir) tuval söner; büyüyen bit eşlem
   bulanıklaşmaz ve "darken" karışımında sahne laciverte sızmaz */
.cover > .uzay { opacity: clamp(0, calc(1 - var(--zoom, 0) * 9), 1); }
.main-nav > .uzay { display: none; }
@media (max-width: 960px) {
  .main-nav > .uzay { display: block; position: fixed; }
  /* Kısa ekranda menü kayar: bağlantılar adın ve "Kapat" düğmesinin altına girerken bu şeritte kaybolur */
  .main-nav::before {
    content: ""; position: fixed; inset: 0 0 auto 0; z-index: 1; height: calc(var(--header-h) + 1rem); pointer-events: none;
    background: linear-gradient(var(--navy-950) 64%, rgba(5, 10, 30, 0));
  }
}
@media print, (forced-colors: active) { .uzay { display: none; } }

/* Sahne yaprağı: arkasında soluk bir durak görseli durur; içerik onun üzerinde cam bir panelde yer alır */
.stage-sheet { background: var(--navy-950); }
.backdrop { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.backdrop img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.backdrop::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--navy-950) 0%, rgba(5, 10, 30, .3) 24%, rgba(5, 10, 30, .5) 72%, var(--navy-950) 100%);
}
.panel {
  position: relative; border-radius: 1.5rem; border: 1px solid var(--edge);
  background: rgba(8, 15, 40, .72);
  -webkit-backdrop-filter: blur(18px) saturate(130%); backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 2.5rem 5rem -2rem rgba(0, 0, 0, .7);
}

/* Beyin kesitleri (tools/kesitler.mjs): 3D beynin düzlemlerle kesilmesinden üretilen çizimler.
   Çizgi rengi currentColor'dır; sinyal halkası, halka saydamlığı ve çizim ilerlemesi değişkenlerle verilir. */
@property --k-draw { syntax: "<number>"; inherits: true; initial-value: 0; }
.kesit { display: block; width: 100%; height: auto; overflow: visible; color: var(--fg); --k-signal: var(--signal); }
/* Çizim hareketi yalnızca --k-draw ara değer alabiliyorsa oynar (yoksa çizim bir süre görünmez kalırdı) */
.has-prop .kesit.is-drawing { animation: kesit-draw 1.7s var(--ease) both; }
@keyframes kesit-draw { from { --k-draw: 1; } to { --k-draw: 0; } }

/* Pencere: durak görseli, kesitin dolu dış hattıyla maskelenir (maske adresi öğenin kendi stilindedir);
   çizgi çizim aynı kutuda üzerine oturur. Kesit, o durağın içine açılan bir pencere olur. */
.window { position: relative; display: block; aspect-ratio: var(--arn, 1.33); }
.window-img {
  position: absolute; inset: 0; display: block; overflow: hidden; background: var(--navy-850);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.window-img img {
  position: absolute; left: -9%; top: -9%; width: 118%; height: 118%; max-width: none; object-fit: cover;
  transform: translate3d(calc(var(--wx, 0) * -1.6px), calc(var(--wy, 0) * -1.6px), 0);
}
.window .kesit { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ivory-100); --k-ring: .55; --k-signal: var(--gold-400); }
/* Çizim etiketi: bir levhanın altındaki açıklama gibi, tek aralıklı yazıyla */
.fig-label {
  display: flex; align-items: center; gap: .7rem; margin-top: .9rem;
  font-family: var(--font-mono); font-size: .8125rem; line-height: 1.4; letter-spacing: 0; color: var(--fg-2);
}
.fig-label::before { content: ""; flex: none; width: 1.75rem; height: 1px; background: var(--signal); }

/* Ana sayfadaki hizmet dizini (solda sabit kesit, sağda satırlar) */
.index-split { display: grid; gap: 2rem; }
.index-panel { display: none; margin: 0; }
.index-panel { --panel-h: min(58vh, 31rem); }
.index-panel .window { width: min(100%, calc(var(--panel-h) * var(--arn))); }
.index-panel figcaption { display: grid; gap: .25rem; margin-top: 1.5rem; }
.index-panel strong { font-size: 1.125rem; letter-spacing: -.02em; }
.index-panel span { font-family: var(--font-mono); font-size: .8125rem; color: var(--fg-2); }
.index-row .kesit-mini { width: 3.75rem; grid-row: span 2; align-self: center; --k-ring: .5; }
.index-row:has(.kesit-mini) { grid-template-columns: 3.75rem minmax(0, 1fr); column-gap: 1.1rem; align-items: center; }
@media (min-width: 1000px) {
  .index-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6.5rem); align-items: start; }
  .index-panel { display: block; position: sticky; top: calc(var(--header-h) + 2.5rem); }
  .index-split .kesit-mini { display: none; }
  .index-split .index-row, .index-split .index-row:has(.kesit-mini) { grid-template-columns: minmax(0, 1fr); gap: .35rem; padding: 1.45rem 0; }
  .index-split .index-row.is-current .index-title { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: .09em; text-underline-offset: .16em; }
}
.index-list { border-top: 1px solid var(--line-2); }
/* Başlangıç seçenekleri: her satırın başında küçük bir kesit */
.start-list .kesit-mini { width: 4rem; }
@media (min-width: 900px) {
  .start-list .index-row { grid-template-columns: 5.25rem minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
  .start-list .index-row .kesit-mini { grid-row: auto; }
}
.index-row { display: grid; gap: .4rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
@media (min-width: 900px) {
  .index-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: baseline; padding: 1.75rem 0; }
}
.index-title { font-size: clamp(1.4rem, 2.5vw, 2.2rem); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
.index-desc { color: var(--fg-2); }
.index-row:hover .index-title, .index-row:focus-visible .index-title {
  text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: .09em; text-underline-offset: .16em;
}

/* Kapanış çağrısı: karşıt yüzeyde bir yaprak; arkasında beynin silik çizimi */
.cta-band { overflow: clip; }
.cta-grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
@media (min-width: 900px) { .cta-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 6rem); align-items: end; } }
.cta-band .display-2 { max-width: 12.5em; text-wrap: balance; }
.cta-side .btn-row { margin-top: 1.75rem; }
.cta-art { position: absolute; right: -7%; top: 50%; width: min(58vw, 48rem); transform: translateY(-50%); opacity: .13; pointer-events: none; }
.cta-art .kesit { --k-ring: .7; }

/* ---------- 8. Levha: iç sayfa açılışı ---------- */
/* Ana sayfanın kapağıyla aynı fikir: düz lacivert bir yüzey ve pencereler. Dev sözcüğün harfleri sayfanın
   durak görseline açılır; yanında sayfanın beyin kesiti de bir penceredir. Levha her temada laciverttir.
   Betik çalışıyorsa levha yerinde durur (is-pinned) ve sonraki yaprak üzerine yükselir. */
.plate {
  position: relative; z-index: 0; display: flex; overflow: clip;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + clamp(.5rem, 2vh, 1.75rem)) 0 calc(var(--peek) + clamp(1.75rem, 4.5vh, 3.25rem));
  background: var(--navy-950);
}
.plate.is-pinned { position: sticky; top: var(--pin-top, 0px); }
.plate-inner { display: flex; flex-direction: column; gap: clamp(1rem, 2.4vh, 1.9rem); transform-origin: 50% 35%; }
/* Yaprak üzerine yükselirken levha hafifçe geri çekilir ve söner (--cover: 0 … 1, site.js verir) */
.motion-ok .plate.is-pinned .plate-inner {
  opacity: calc(1 - var(--cover, 0) * .85);
  transform: translate3d(0, calc(var(--cover, 0) * -2.5vh), 0) scale(calc(1 - var(--cover, 0) * .04));
}
.breadcrumb { font-size: .875rem; color: var(--fg-3); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--fg); text-decoration: underline; }

/* Dev sözcük. Genişliği build.py hesaplar (--w: tek satır, --ww: en uzun sözcük; em). Görselin üzerine
   altın bir perde bindirilir (screen): görselin koyu yerlerinde de harf okunur. İç pay, harflerin satır
   kutusundan taşan parçalarının (noktalar, kuyruklar) da boyanması içindir. */
.plate-word {
  --fit: calc((min(100vw, 90rem) - 2 * var(--gutter) - 1.25rem) / var(--w));
  align-self: flex-start; margin: -.07em 0 -.13em -.05em; padding: .17em .08em .23em .01em;
  font-size: min(var(--fit), 31vh, 25rem); font-size: min(var(--fit), 31svh, 25rem);
  font-weight: 700; line-height: .8; letter-spacing: -.05em; white-space: nowrap;
  color: transparent; background-color: var(--gold-400); background-repeat: no-repeat;
  /* Görsel kutudan hep büyüktür: geniş sözcükte enin %118'i, kısa sözcükte en az 2,65em (kaymaya pay kalır) */
  background-size: 100% 100%, max(118%, 2.65em) auto;
  background-position: 0 0, calc(50% + var(--wx, 0) * 1px) calc(40% + var(--wy, 0) * 1px + var(--sy, 0) * 1px);
  background-blend-mode: screen, normal; -webkit-background-clip: text; background-clip: text;
}
.motion-ok .plate-word { animation: window-open 1.15s var(--ease) both; }
@media (max-width: 640px) {
  /* Dar ekranda iki sözcüklü ad iki satıra iner: harfler büyür */
  .plate-word.is-multi { --fit: calc((100vw - 2 * var(--gutter) - 1rem) / var(--ww)); white-space: normal; font-size: min(var(--fit), 15svh); line-height: 1; background-size: 100% 100%, auto 130%; }
}
.plate-row { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: end; margin-top: auto; }
.plate-title { font-size: clamp(1.75rem, 6.6vw, 2.6rem); font-weight: 700; line-height: 1.03; letter-spacing: -.035em; max-width: 17em; text-wrap: balance; }
.plate-copy .lead { max-width: 37em; }
.plate-title + .lead { margin-top: clamp(.8rem, 1.6vh, 1.25rem); }
.plate-copy .btn-row { margin-top: clamp(1.1rem, 2.6vh, 1.75rem); }
.plate-fig { margin: 0; }
.plate-fig .window { width: min(100%, 22rem, calc(32vh * var(--arn))); }
@media (min-width: 760px) {
  .plate-row { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(1.75rem, 5vw, 5.5rem); }
  .plate-title { font-size: clamp(2rem, 3.3vw, 3.5rem); }
  .plate-fig { justify-self: end; }
  .plate-fig .window { width: min(36vw, 36rem, calc(33vh * var(--arn))); }
}
/* Dar ekranda kesiti olmayan levha (ör. Hizmetler) ekranı doldurmaya çalışmaz: sözcük ile metin arası açılmasın */
/* Kesiti olmayan levha (Hizmetler, 404) ekranın tamamını doldurmaz: sonraki yaprak daha erken görünür */
.plate:not(.has-fig) { min-height: min(100vh, 44rem); min-height: min(100svh, 44rem); }
@media (max-width: 759.98px) {
  .plate:not(.has-fig) { min-height: 0; }
  .plate:not(.has-fig) .plate-row { margin-top: clamp(1.25rem, 5vh, 3rem); }
}
.journey-ref { margin-top: 1.25rem; font-size: .9375rem; color: var(--fg-2); }
.demo-flag { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.5rem; font-size: .9375rem; color: var(--fg-2); }

/* ---------- 9. Hizmetler: dokuz levha ---------- */
.plates { display: grid; gap: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 3rem); }
@media (min-width: 700px) {
  .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plates > li:nth-child(even) { margin-top: clamp(2.5rem, 6vw, 5rem); }
}
@media (min-width: 1120px) {
  /* Üç sütun; orta sütun yarım adım aşağıdadır */
  .plates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plates > li:nth-child(even) { margin-top: 0; }
  .plates > li:nth-child(3n + 2) { margin-top: clamp(3rem, 6vw, 6rem); }
}
.plate-card { display: grid; gap: .55rem; color: inherit; text-decoration: none; }
.card-fig { --card-h: clamp(13rem, 21vw, 18.5rem); display: grid; place-items: center; height: var(--card-h); margin-bottom: .5rem; }
.card-fig .window { width: min(100%, calc(var(--card-h) * var(--arn))); }
.plate-card .window-img img { transform: scale(1.01); transition: transform 1.2s var(--ease); }
.plate-card:hover .window-img img, .plate-card:focus-visible .window-img img { transform: scale(1.13); }
.plate-card:hover .kesit, .plate-card:focus-visible .kesit { --k-ring: 1; }
.plate-card .fig-label { margin-top: 0; }
.plate-card-title { font-size: clamp(1.45rem, 2.1vw, 2rem); font-weight: 700; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.plate-card-desc { max-width: 30em; color: var(--fg-2); }
.plate-card:hover .plate-card-title, .plate-card:focus-visible .plate-card-title {
  text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: .08em; text-underline-offset: .16em;
}

/* ---------- 10. Hizmet ayrıntı: solda sayfa içi dizin, sağda bölümler ---------- */
.detail { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.detail-side { display: grid; gap: 1.75rem; justify-items: start; }
@media (min-width: 1000px) {
  .detail { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
  .detail-side { position: sticky; top: calc(var(--header-h) + 2.25rem); }
}
.detail-fig { display: none; margin: 0; }
@media (min-width: 1000px) {
  .detail-fig { display: block; width: 100%; }
  .detail-fig .window { width: min(100%, calc(12.5rem * var(--arn))); }
}
.spy ol { display: grid; border-left: 1px solid var(--line); }
.spy a { display: block; margin-left: -1px; padding: .5rem 0 .5rem 1.1rem; border-left: 2px solid transparent; font-size: .9375rem; color: var(--fg-3); text-decoration: none; }
.spy a:hover { color: var(--fg); }
.spy a[aria-current="true"] { border-left-color: var(--signal); color: var(--fg); }
@media (max-width: 999.98px) { .detail-side .btn { display: none; } }
.block { padding-block: clamp(2.25rem, 4.5vw, 4rem); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.block:first-child { padding-top: 0; border-top: 0; }
.block:last-child { padding-bottom: 0; }
.block > .display-3 { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.rows li {
  display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .6rem; padding: 1.05rem 0;
  border-top: 1px solid var(--line); font-size: clamp(1.125rem, 1.55vw, 1.35rem); line-height: 1.36; letter-spacing: -.015em;
}
.rows li:first-child { border-top-color: var(--line-2); }
.rows li::before { content: ""; width: .55rem; height: .55rem; margin-top: .48em; border-radius: 50%; background: var(--signal); }
.rows-who li::before { border-radius: 0; background: none; border: 1.5px solid var(--signal); }
/* İlk adımlar: durak görselinin üzerinde üç cam kart */
.steps-band { position: relative; overflow: hidden; padding: clamp(1rem, 2.4vw, 1.75rem); border-radius: 1.5rem; background: var(--navy-950); color: var(--fg); }
.steps-band .backdrop img { opacity: .9; }
.steps-band .backdrop::after { background: linear-gradient(180deg, rgba(5, 10, 30, .2), rgba(5, 10, 30, .55)); }
.steps { position: relative; counter-reset: s; display: grid; gap: .75rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li {
  counter-increment: s; display: grid; align-content: space-between; gap: clamp(1.75rem, 5vw, 4.5rem);
  min-height: clamp(10rem, 19vw, 15rem); padding: 1.3rem 1.4rem 1.5rem; border-radius: 1.1rem;
  border: 1px solid rgba(242, 237, 225, .16); background: rgba(5, 10, 30, .52);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.steps li::before { content: counter(s); font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 700; line-height: .8; letter-spacing: -.05em; color: var(--gold-400); }
.steps p { font-size: 1.125rem; line-height: 1.36; }
.steps-band + .note { margin-top: 1.25rem; }
.link-rows { border-top: 1px solid var(--line-2); }
.link-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 2rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.link-row-title { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -.028em; }
.link-row-meta { font-size: .9375rem; color: var(--fg-3); }
.link-row:hover .link-row-title, .link-row:focus-visible .link-row-title { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: .08em; text-underline-offset: .18em; }

.pager { display: grid; gap: .75rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(1.25rem, 2.5vw, 2rem); border-top: 1px solid var(--line-2); }
@media (min-width: 700px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager-link { display: flex; align-items: center; gap: 1.25rem; padding: 1rem 1.25rem; border-radius: 1.25rem; color: inherit; text-decoration: none; transition: background-color .2s; }
.pager-link:hover { background: var(--tint); }
.pager-fig { flex: none; display: grid; place-items: center; width: 6.25rem; height: 5.25rem; }
.pager-fig .window { width: min(100%, calc(5.25rem * var(--arn))); }
.pager-text { display: grid; font-size: clamp(1.2rem, 1.9vw, 1.6rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.pager-text small { margin-bottom: .3rem; font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: var(--fg-3); }
@media (min-width: 700px) { .pager-next { flex-direction: row-reverse; text-align: right; } }

/* ---------- 11. Çözümler: dosya sekmeli örnekler ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: flex-end; }
.filter-group { display: grid; gap: .6rem; }
.filter-label { font-size: .875rem; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 2.5rem; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: .9375rem; color: var(--fg); }
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.filter-status { margin-left: auto; padding-bottom: .55rem; font-size: .9375rem; color: var(--fg-3); }
@media (min-width: 1400px) and (min-height: 760px) {
  /* Süzgeç, örnekler arasında gezinirken üst menünün altında kalır (tek satıra sığdığı ekranlarda) */
  .filters {
    position: sticky; top: var(--header-h); z-index: 5; margin-inline: calc(-1 * var(--gutter)); padding: 1rem var(--gutter);
    background: var(--bg); background: color-mix(in srgb, var(--bg) 86%, transparent);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
  }
}
.empty-state { margin-top: 2rem; padding: 3rem 1.5rem; border-radius: 1.5rem; background: var(--tint); color: var(--fg-2); }
.cases { display: grid; gap: clamp(3.5rem, 6vw, 4.75rem); margin-top: clamp(4rem, 7vw, 5.5rem); }
.case {
  position: relative; padding: clamp(1.5rem, 3.2vw, 2.75rem); border-radius: 0 1.5rem 1.5rem 1.5rem;
  background: var(--bg-raise); border: 1px solid var(--edge); box-shadow: 0 1.75rem 3.5rem -2.25rem var(--shade);
  scroll-margin-top: calc(var(--header-h) + 8rem);
}
/* Dosya sekmesi: örneğin hangi ihtiyaca ait olduğunu söyler */
.case-tab {
  position: absolute; left: -1px; bottom: 100%; margin: 0; padding: .5rem 1rem .4rem; border-radius: .9rem .9rem 0 0;
  border: 1px solid var(--edge); border-bottom: 0; background: var(--bg-raise); font-size: .8125rem; color: var(--fg-2);
}
.case:target, .case:target .case-tab { border-color: var(--signal); }
.case-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.case-head .display-3 { max-width: 15em; text-wrap: balance; }
.case-sectors { margin-top: .7rem; font-size: .9375rem; color: var(--fg-3); }
.case-fig { display: none; flex: none; width: clamp(6rem, 11vw, 9.5rem); }
@media (min-width: 640px) { .case-fig { display: block; } }
.case-body { display: grid; gap: 1.5rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); padding-top: clamp(1.25rem, 2.5vw, 2rem); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .case-body { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); } }
.case-body dt { margin-bottom: .45rem; font-size: .9375rem; font-weight: 700; }
.case-body dd { margin: 0; color: var(--fg-2); }
.case-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .9375rem; }
.case-services { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.1rem; }
.case-services > span { color: var(--fg-3); }
.case-actions { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: .5rem; height: .5rem; pointer-events: none;
  border-right: 1.5px solid var(--fg); border-bottom: 1.5px solid var(--fg); transform: translateY(-70%) rotate(45deg);
}

/* ---------- 12. Süreç: üst üste binen yedi kart ---------- */
.process { background: var(--navy-950); }
.stack { display: grid; gap: 1.25rem; max-width: 72rem; margin-inline: auto; }
.stack-card {
  display: grid; gap: 1.25rem 2.5rem; padding: clamp(1.5rem, 3.5vw, 3rem); border-radius: 1.5rem;
  background: var(--navy-850); border: 1px solid var(--edge); box-shadow: 0 -1.5rem 3rem -1.5rem rgba(0, 0, 0, .75);
}
@media (min-width: 860px) { .stack-card { grid-template-columns: clamp(7rem, 15vw, 13rem) minmax(0, 1fr); align-items: start; } }
/* Kartlar yerinde birikir: her yeni adım öncekinin üzerine gelir, öncekilerin kenarı görünür kalır */
@media (min-width: 860px) and (min-height: 760px) {
  .stack { grid-auto-rows: 1fr; }
  .stack-card { position: sticky; top: calc(var(--header-h) + 1.25rem + var(--i) * .8rem); }
}
/* Rakamlar da penceredir (dev sözcükle aynı kurgu) */
.stack-num {
  justify-self: start; margin: -.08em 0 -.12em -.04em; padding: .1em .08em .14em .02em;
  font-size: clamp(5rem, 13vw, 11.5rem); font-weight: 700; line-height: .8; letter-spacing: -.06em;
  color: transparent; background-color: var(--gold-400); background-repeat: no-repeat;
  background-size: 100% 100%, 500% auto; background-position: 0 0, calc(12% + var(--i) * 12%) 46%;
  background-blend-mode: screen, normal; -webkit-background-clip: text; background-clip: text;
}
.stack-what { margin-top: .9rem; max-width: 34em; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.42; letter-spacing: -.015em; color: var(--fg-2); }
.stack-meta { display: grid; gap: 1.25rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .stack-meta { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.stack-meta dt { margin-bottom: .35rem; font-size: .9375rem; font-weight: 700; }
.stack-meta dd { margin: 0; color: var(--fg-2); }

/* ---------- 13. Çözüm bulucu ---------- */
.finder { max-width: 58rem; margin-inline: auto; padding: clamp(1.5rem, 4vw, 3.25rem); }
.finder-progress { display: flex; gap: .5rem; margin-bottom: 2.25rem; }
.finder-dot { flex: 1; display: grid; gap: .5rem; padding: 0; border: 0; background: none; text-align: left; font-size: .8125rem; color: var(--fg-3); }
.finder-dot::before { content: ""; height: 2px; border-radius: 2px; background: var(--line-2); }
.finder-dot.is-done::before, .finder-dot.is-current::before { background: var(--signal); }
.finder-dot.is-current { color: var(--fg); font-weight: 700; }
.finder-dot:disabled { cursor: default; }
@media (max-width: 560px) { .finder-dot:not(.is-current) .finder-dot-label { display: none; } }
.finder-dot:not(:disabled):hover { color: var(--fg); }
.finder fieldset { min-width: 0; padding: 0; border: 0; }
.finder legend { padding: 0; margin-bottom: .6rem; font-size: clamp(1.7rem, 3.6vw, 2.75rem); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.finder legend:focus, .finder-result h2:focus { outline: none; }
.finder-hint { margin-bottom: 1.75rem; color: var(--fg-3); }
.options { display: grid; gap: .65rem; }
@media (min-width: 640px) { .options { grid-template-columns: 1fr 1fr; } }
.option { position: relative; display: block; }
.option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.option span { display: flex; align-items: center; gap: .85rem; height: 100%; min-height: 4rem; padding: 1rem 1.2rem; border-radius: 1rem; border: 1px solid var(--line-2); font-weight: 400; line-height: 1.35; }
.option span::before { content: ""; flex: none; width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 1.5px solid var(--fg-3); }
.option input[type="checkbox"] + span::before { border-radius: .3rem; }
.option input:hover + span { border-color: var(--fg); }
.option input:checked + span { border-color: var(--fg); background: var(--tint-2); }
.option input:checked + span::before { border-color: var(--signal); background: var(--signal); box-shadow: inset 0 0 0 3px var(--navy-950); }
.option input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 3px; }
.finder-nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.result-list { display: grid; gap: .75rem; margin: 1.75rem 0 2.25rem; }
.result-item { padding: 1.4rem 1.5rem; border-radius: 1rem; border: 1px solid var(--line-2); }
.result-item:first-child { border-color: var(--fg); background: var(--tint-2); }
.result-item h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.022em; margin: .2rem 0 .35rem; }
.result-item p { color: var(--fg-2); }
.result-rank { font-size: .8125rem; color: var(--fg-3) !important; }
.result-item:first-child .result-rank { color: var(--signal-text) !important; font-weight: 700; }
.result-reason { margin-top: .5rem; font-size: .875rem; color: var(--fg-3) !important; }
.finder-result .note { margin-top: .75rem; max-width: 44em; }
.result-sub { margin-top: 2rem; }
.result-sub + .link-list { margin-top: .8rem; }
.finder-result .btn-row + .note { margin-top: 1rem; }
.first-steps { counter-reset: fs; display: grid; gap: .65rem; margin: 1rem 0 0; }
.first-steps li { counter-increment: fs; position: relative; padding-left: 2.25rem; color: var(--fg-2); }
.first-steps li::before { content: counter(fs); position: absolute; left: 0; font-weight: 700; color: var(--fg); }

/* ---------- 14. Demo ---------- */
.demo { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1100px) { .demo { grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem; } }
.demo-app { padding: 0; overflow: hidden; }
.demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); font-weight: 700; }
.demo-body { display: grid; }
@media (min-width: 860px) { .demo-body { grid-template-columns: 1fr 1fr; } .demo-input { border-right: 1px solid var(--line); } }
.demo-input, .demo-output { padding: clamp(1.25rem, 3vw, 2rem); }
.demo-input { display: flex; flex-direction: column; gap: 1.1rem; }
.demo-samples { min-width: 0; padding: 0; border: 0; }
.demo-samples legend { padding: 0; margin-bottom: .75rem; }
.sample-list { display: grid; gap: .5rem; }
.sample { display: flex; align-items: center; gap: .8rem; width: 100%; padding: .8rem 1rem; border-radius: 1rem; border: 1px solid var(--line-2); background: transparent; text-align: left; }
.sample:hover { border-color: var(--fg); }
.sample[aria-pressed="true"] { border-color: var(--fg); background: var(--tint-2); }
.sample .icon { color: var(--signal-text); }
.sample strong { display: block; font-size: .9375rem; }
.sample small { display: block; font-size: .8125rem; color: var(--fg-3); }
.demo-or { display: flex; align-items: center; gap: .75rem; font-size: .875rem; color: var(--fg-3); }
.demo-or::before, .demo-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.demo-input .btn { align-self: flex-start; }
.demo-output { min-height: 26rem; background: var(--tint); }
.demo-empty { display: grid; place-content: center; min-height: 22rem; color: var(--fg-3); text-align: center; }
.demo-empty .icon { margin: 0 auto .75rem; color: var(--signal-text); }
.pipeline { display: grid; gap: .65rem; }
.pipeline li { display: flex; align-items: center; gap: .75rem; font-size: .9375rem; color: var(--fg-3); }
.pipeline li::before { content: ""; flex: none; width: 1rem; height: 1rem; border-radius: 50%; border: 1.5px solid var(--line-2); }
.pipeline li.is-running { color: var(--fg); }
.pipeline li.is-running::before { border-color: var(--signal); border-top-color: transparent; animation: spin .8s linear infinite; }
.pipeline li.is-done { color: var(--fg-2); }
.pipeline li.is-done::before { background: var(--signal); border-color: var(--signal); }
@keyframes spin { to { transform: rotate(360deg); } }
.result-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.result-cat { width: 100%; margin-top: .5rem; font-size: 1.6rem; line-height: 1.12; letter-spacing: -.03em; }
.pill { padding: .22rem .7rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .8125rem; font-weight: 400; color: var(--fg-2); }
.pill-gold { border-color: var(--signal); color: var(--signal-text); }
.result-section { padding: 1rem 0; border-top: 1px solid var(--line); }
.result-section h3 { margin-bottom: .4rem; font-size: .875rem; }
.result-section p, .result-section li { font-size: .9375rem; color: var(--fg-2); }
.fields { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; font-size: .9375rem; }
.fields dt { color: var(--fg-3); }
.fields dd { margin: 0; font-weight: 400; }
.kw { display: flex; flex-wrap: wrap; gap: .35rem; }
.kw span { padding: .12rem .55rem; border-radius: .4rem; background: var(--tint-2); font-size: .8125rem; color: var(--fg-2); }
.warn { display: flex; gap: .6rem; margin-bottom: 1rem; padding: .8rem 1rem; border-radius: .75rem; border: 1px solid var(--signal); font-size: .875rem; color: var(--fg-2); }
.warn .icon { color: var(--signal-text); }
.human-check { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1rem; padding: .8rem 1rem; border-radius: .75rem; background: var(--tint-2); font-size: .875rem; color: var(--fg-2); }
.human-check .icon { color: var(--signal-text); }
.demo-next { margin-top: 1rem; gap: .5rem; }
.demo-notes { display: grid; gap: 1rem; padding: clamp(1.25rem, 2.5vw, 1.75rem); }
@media (min-width: 1100px) { .demo-notes { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* ---------- 15. İletişim ve form ---------- */
/* Form, karşıt yüzeydeki bir yaprağın üzerindedir (koyu temada fildişi bir kâğıt). Yanında sabit duran
   sütun, başvurudan sonra ne olacağını anlatır. */
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 1040px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) 21rem; gap: clamp(3rem, 6vw, 6.5rem); }
  .contact-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.form-intro { margin-bottom: 1.75rem; color: var(--fg-2); }
.contact-aside { display: grid; gap: 2rem; }
.aside-block { padding-top: 1.25rem; border-top: 1px solid var(--line-2); }
.next-list { counter-reset: n; display: grid; gap: 1rem; margin-top: 1.1rem; }
.next-list li { counter-increment: n; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .5rem; color: var(--fg-2); }
.next-list li::before { content: counter(n); font-size: 1.75rem; font-weight: 700; line-height: .95; letter-spacing: -.04em; color: var(--fg); }
.next-steps .note { margin-top: 1rem; }
.contact-alt { color: var(--fg-2); }
.form-grid { display: grid; gap: 1.5rem 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-wide { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label, .field > .h4 { font-size: .9375rem; font-weight: 700; letter-spacing: -.015em; }
.optional { font-weight: 400; color: var(--fg-3); }
.field-hint { margin-top: -.15rem; font-size: .875rem; color: var(--fg-3); }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; min-height: 3.25rem; padding: .85rem 1rem;
  border: 1px solid var(--line-2); border-radius: .75rem; background: var(--field-bg); color: var(--fg);
  appearance: none; -webkit-appearance: none; transition: border-color .15s;
}
select { padding-right: 2.75rem; cursor: pointer; }
textarea { min-height: 9rem; line-height: 1.5; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--fg-2); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--signal); outline-offset: 1px; border-color: var(--fg); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { font-size: .875rem; color: var(--error); }
.field-error:empty { display: none; }
.field-foot { display: flex; justify-content: space-between; gap: 1rem; }
.char-count { margin-left: auto; font-size: .8125rem; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.checks { gap: .9rem; }
.check { display: flex; align-items: flex-start; gap: .75rem; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; width: 1.4rem; height: 1.4rem; margin-top: .1rem;
  border: 1.5px solid var(--fg-2); border-radius: .35rem; background: var(--field-bg); cursor: pointer;
}
.check input:checked { border-color: var(--signal); background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050A1E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 1rem no-repeat; }
.check label { font-size: .9375rem; font-weight: 400; line-height: 1.5; letter-spacing: -.012em; color: var(--fg-2); }
.check label a { color: var(--fg); text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.form-status { font-size: .9375rem; color: var(--fg-2); }
.form-status.is-error { color: var(--error); }
.form-errors { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--error); border-radius: 1rem; }
.form-errors ul { display: grid; gap: .25rem; margin-top: .5rem; padding-left: 1.1rem; list-style: disc; }
.form-errors a { color: var(--error); }
/* E-posta kipi (gönderim adresi yokken): düğmenin altındaki açıklama ve hazırlanan başvuru metni */
.form-hint { margin-top: .9rem; max-width: 40em; font-size: .875rem; line-height: 1.5; color: var(--fg-3); }
.mail-step { display: grid; gap: 1rem; justify-items: start; width: 100%; }
.mail-step textarea { width: 100%; max-width: 44rem; min-height: 15rem; font-family: var(--font-mono); font-size: .8125rem; line-height: 1.6; }
.mail-step .btn-row { margin-top: 0; align-items: center; }
.mail-to { font-size: 1.125rem; }
.form-success { display: grid; gap: 1rem; justify-items: start; padding-block: clamp(1rem, 3vw, 2rem); }
.form-success:focus { outline: none; }
.contact-list { display: grid; gap: .7rem; margin-top: .9rem; }
/* Uzun adres birkaç satıra bölünür: simge ilk satırın hizasında kalır */
.contact-list li { display: flex; align-items: flex-start; gap: .7rem; color: var(--fg-2); font-size: .9375rem; }
.contact-list .icon { width: 1.15rem; height: 1.15rem; margin-top: .2em; margin-top: calc((1lh - 1.15rem) / 2); color: var(--fg-3); }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: .28em; }
.nowrap { white-space: nowrap; }
/* Gizlilik metnindeki veri sorumlusu: ad, adres, e-posta alt alta */
.owner { display: grid; gap: .35rem; justify-items: start; max-width: 36em; font-style: normal; font-size: 1.125rem; color: var(--fg-2); }
.owner strong { color: var(--fg); }

/* ---------- 16. Hakkımızda, SSS, yasal ---------- */
.manifesto { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
.manifesto .display-1 { max-width: 11.5em; }
@media (min-width: 900px) {
  .manifesto .prose { justify-self: end; width: min(100%, 46rem); max-width: none; columns: 2; column-gap: 3rem; }
  .manifesto .prose p { break-inside: avoid; }
  .manifesto .prose p + p { margin-top: 0; }
}
/* İlkeler: iki sütun; sağdaki sütun yarım adım aşağıdadır */
.principles { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 6vw, 7rem); }
.principles li { padding-top: 1.25rem; border-top: 1px solid var(--line-2); }
.principles p { margin-top: .9rem; max-width: 30em; font-size: 1.125rem; color: var(--fg-2); }
@media (min-width: 800px) {
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles li:nth-child(even) { margin-top: clamp(3rem, 7vw, 6rem); }
}
.trust { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.trust-head .lead { margin-top: 1.25rem; }
.trust-list { display: grid; gap: .75rem; }
.trust-list li {
  padding: 1.35rem 1.5rem; border-radius: 1.1rem; border: 1px solid rgba(242, 237, 225, .16); background: rgba(5, 10, 30, .52);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.trust-list p { margin-top: .4rem; color: var(--fg-2); }
@media (min-width: 1000px) {
  .trust { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
  .trust-head { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}

.placeholder { padding: clamp(1.5rem, 3vw, 2.25rem); border: 1.5px dashed var(--line-2); border-radius: 1.5rem; }
.placeholder-tag { display: inline-block; margin-bottom: .75rem; font-size: .8125rem; font-weight: 700; color: var(--signal-text); }
.placeholder p { margin-top: .4rem; color: var(--fg-3); }
.legal .placeholder { margin-bottom: clamp(2.25rem, 4.5vw, 4rem); }
.legal .block p { max-width: 36em; font-size: 1.125rem; color: var(--fg-2); }
.legal .placeholder + .block { padding-top: 0; border-top: 0; }

.faq-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.faq-side .btn { margin-top: 1.5rem; }
@media (min-width: 1000px) {
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
  .faq-side { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.faq { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: clamp(1.25rem, 2.4vw, 1.9rem) 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: clamp(1.3rem, 2.3vw, 2rem); line-height: 1.12; letter-spacing: -.034em; text-wrap: balance; }
.faq-icon { position: relative; flex: none; width: 1.5rem; height: 1.5rem; margin-top: .3rem; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--fg); transition: transform .25s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: none; }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--signal); }
.faq-answer { max-width: 36em; padding: 0 3rem 2rem 0; color: var(--fg-2); font-size: 1.125rem; }

/* ---------- 17. Alt bilgi ---------- */
.site-footer { padding-top: clamp(3.5rem, 7vw, 6rem); background: var(--navy-950); }
.footer-top { display: grid; gap: 1.25rem; justify-items: start; padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.footer-line { max-width: 22em; font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.footer-grid { display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 3rem; } }
.footer-title { margin-bottom: 1rem; font-size: .9375rem; font-weight: 700; }
.site-footer nav ul { display: grid; gap: .55rem; }
@media (min-width: 520px) { .footer-cols { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.site-footer nav a { font-size: .9375rem; color: var(--fg-2); text-decoration: none; }
.site-footer nav a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: .28em; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem;
  padding-block: 1rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--fg-3);
}
.lang-footer { margin-right: -.9rem; }
/* Sayfa adla açılır, adla kapanır: alt kenara gömülü dev ad */
.site-footer { overflow: clip; }
.footer-mark {
  margin: clamp(.5rem, 2vw, 1.5rem) 0 -.2em; padding-inline: var(--gutter);
  font-family: var(--font-brand); font-weight: 700; font-size: calc((100vw - 2 * var(--gutter) - 1rem) / 6.4); line-height: .8; letter-spacing: -.045em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(242, 237, 225, .42);
  -webkit-user-select: none; user-select: none;
}

/* ---------- 18. Hareket ve baskı ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .26s; }
  /* Tıklanan hizmetin kesit penceresi, o hizmetin sayfasındaki yerine taşınır. Kaynak tarafta ad,
     tıklama anında verilir (site.js: .is-leaving); ana sayfadaki dizin paneli de kaynaktır. */
  .index-panel .window, .plate-fig.is-own .window, .is-leaving .window { view-transition-name: kesit; }
  .vt-leaving .plate-fig.is-own .window { view-transition-name: none; }
  ::view-transition-group(kesit) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
  ::view-transition-old(kesit), ::view-transition-new(kesit) { width: 100%; height: 100%; object-fit: contain; }
  .vt.has-prop .plate-fig.is-own .kesit.is-drawing { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (forced-colors: active) {
  .plate-word, .stack-num { color: CanvasText; background: none !important; -webkit-background-clip: border-box; background-clip: border-box; }
}
@media print {
  .plate-word, .stack-num { color: #000; background: none !important; -webkit-background-clip: border-box; background-clip: border-box; }
  .plate, .sheet, .section { background: #fff !important; color: #000 !important; }
  .plate *, .sheet *, .section * { color: #000 !important; }
  .site-header, .site-footer, .journey-stage, .cta-band, .backdrop { display: none !important; }
  .plate { min-height: 0; position: static; }
  body { background: #fff; color: #000; }
}
