/* ============================================================
   AK KURŞUN — main.css
   Tasarım sistemi: "Kurşun Antrasiti" — endüstriyel hassasiyet,
   editoryal ciddiyet. Tek vurgu rengi: teknik turuncu.
   Yapı: 1. Tokenlar  2. Taban  3. Yardımcılar  4. Bileşenler
         5. Bölümler  6. Hareket  7. Kırılımlar
   ============================================================ */

/* ------------------------------------------------------------
   1. TASARIM TOKENLARI
   ------------------------------------------------------------ */
:root {
  /* Renk — zemin */
  --ink:      #17191D;  /* ana antrasit zemin */
  --ink-2:    #1E2126;  /* yükseltilmiş yüzey (kart, header) */
  --ink-3:    #262A30;  /* hover yüzeyi */
  --paper:    #F2EFE9;  /* kırık beyaz zemin */
  --paper-2:  #E9E5DC;  /* kırık beyaz, koyu ton */

  /* Renk — metin */
  --tx-on-ink:        #F2EFE9;  /* koyu zeminde ana metin  (kontrast ~15:1) */
  --tx-on-ink-muted:  #A9ACB3;  /* koyu zeminde ikincil    (kontrast ~7:1)  */
  --tx-on-paper:      #17191D;  /* açık zeminde ana metin */
  --tx-on-paper-muted:#4E5158;  /* açık zeminde ikincil    (kontrast ~7:1)  */

  /* Renk — vurgu (teknik turuncu) */
  --accent:      #E56A1E;  /* grafik ögeler, koyu zeminde metin (~5.3:1) */
  --accent-ink:  #A8420C;  /* açık zeminde metin için (~5.2:1)           */
  --accent-soft: rgba(229, 106, 30, .12);

  /* Renk — çizgiler */
  --line-on-ink:   rgba(242, 239, 233, .14);
  --line-on-paper: rgba(23, 25, 29, .16);

  /* Bağlama duyarlı takma adlar (bölümler override eder) — varsayılan: açık tema */
  --bg:       var(--paper);
  --bg-2:     #FFFFFF;
  --tx:       var(--tx-on-paper);
  --tx-muted: var(--tx-on-paper-muted);
  --line:     var(--line-on-paper);
  --acc-tx:   var(--accent-ink);

  /* Tipografi */
  --font-sans: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, Menlo, monospace;

  /* Akışkan tip skalası */
  --fs-900: clamp(2.75rem, 6vw + 1rem, 5rem);      /* hero display */
  --fs-800: clamp(2rem, 3.2vw + .9rem, 3.25rem);   /* bölüm başlığı */
  --fs-700: clamp(1.5rem, 1.8vw + .9rem, 2.125rem);/* alt başlık */
  --fs-600: clamp(1.2rem, .8vw + 1rem, 1.4rem);    /* kart başlığı */
  --fs-500: 1.125rem;                              /* geniş gövde */
  --fs-400: 1rem;                                  /* gövde */
  --fs-300: .875rem;                               /* küçük */
  --fs-200: .75rem;                                /* mono etiket */

  /* Boşluk skalası (4px taban) */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Köşe ve gölge — endüstriyel: keskine yakın */
  --r-1: 2px;
  --r-2: 6px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .25);
  --shadow-2: 0 12px 32px -12px rgba(0, 0, 0, .45);

  /* Hareket */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 200ms;
  --t-med: 320ms;
  --t-slow: 420ms;

  /* Ölçüler */
  --container: 76rem;    /* 1216px */
  --container-wide: 85rem;
  --header-h: 4.5rem;
  --header-h-min: 3.5rem;
}

/* ------------------------------------------------------------
   2. TABAN
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-400);
  line-height: 1.65;
  color: var(--tx);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.02em;
  text-wrap: balance;
}

p { margin: 0 0 var(--sp-4); max-width: 70ch; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
a:hover { color: var(--acc-tx); }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
li { margin-bottom: var(--sp-2); }

img, svg, video { max-width: 100%; height: auto; display: block; }

table { border-collapse: collapse; width: 100%; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-1);
}

::selection { background: var(--accent); color: #fff; }

/* Hareket kısıtlaması: kaydırma davranışı ve içerik gizleyen geçişler
   devre dışı kalır; dekoratif animasyonlar hafif olduğundan korunur. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Atlama bağlantısı */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 200;
  padding: var(--sp-3) var(--sp-5);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--r-2) var(--r-2);
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus-visible { top: 0; color: #fff; }

/* ------------------------------------------------------------
   3. YARDIMCILAR
   ------------------------------------------------------------ */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container--wide { width: min(100% - 2.5rem, var(--container-wide)); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* Mono eyebrow etiketi: bölüm numarası + konu */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  font-family: var(--font-mono);
  font-size: var(--fs-200);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--acc-tx);
}
.eyebrow::after {
  content: "";
  flex: 0 1 6rem;
  height: 1px;
  background: var(--line);
}
.eyebrow__no { color: var(--tx-muted); }

/* mm Pb cetvel şeridi — imza ayırıcı */
.ruler {
  position: relative;
  height: 18px;
  background-image:
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 50px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10px);
  background-size: 100% 100%, 100% 55%;
  background-repeat: no-repeat;
  background-position: bottom, bottom;
}
.ruler::after {
  content: "mm Pb";
  position: absolute;
  right: 0;
  bottom: calc(100% + 2px);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  color: var(--tx-muted);
}

/* ------------------------------------------------------------
   4. BİLEŞENLER
   ------------------------------------------------------------ */

/* --- Butonlar --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 3rem;
  padding: .75rem 1.75rem;
  font-weight: 600;
  font-size: var(--fs-400);
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--r-1);
  border: 1px solid transparent;
  transition: background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: #F07E33; color: var(--ink); }

.btn--ghost {
  border-color: var(--line);
  color: var(--tx);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--acc-tx); color: var(--acc-tx); }

.btn--block { width: 100%; }

/* --- Site başlığı (sticky, daralan) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-on-paper);
  /* header açık tema */
  --bg: var(--paper); --bg-2: #FFFFFF; --tx: var(--tx-on-paper); --tx-muted: var(--tx-on-paper-muted);
  --line: var(--line-on-paper); --acc-tx: var(--accent-ink);
  color: var(--tx);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  height: var(--header-h);
  transition: height var(--t-med) var(--ease);
}
.site-header.is-scrolled .site-header__bar { height: var(--header-h-min); }

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--tx);
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 1.0625rem;
  white-space: nowrap;
}
.brand:hover { color: var(--tx); }
.brand__tile { width: 2rem; height: 2rem; flex: none; }
.brand__suffix { color: var(--accent); }

.brand__logo { height: 2.1rem; width: auto; }

/* Masaüstü nav */
.nav { display: none; }
@media (min-width: 64em) {
  .nav { display: flex; align-items: center; gap: var(--sp-2); }
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .625rem .875rem;
  font-size: var(--fs-300);
  font-weight: 500;
  text-decoration: none;
  color: var(--tx-muted);
  border-radius: var(--r-1);
  transition: color var(--t-fast) var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--tx); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: .875rem; right: .875rem; bottom: .25rem;
  height: 2px;
  background: var(--accent);
}
.nav__cta { margin-left: var(--sp-3); min-height: 2.5rem; padding: .5rem 1.25rem; font-size: var(--fs-300); }

/* Ürünler açılır menüsü */
.nav__group { position: relative; }
.nav__caret { width: .7em; height: .7em; transition: transform var(--t-fast) var(--ease); }
.nav__group.is-open .nav__caret { transform: rotate(180deg); }
.nav__menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 16rem;
  padding: var(--sp-2);
  margin: 0;
  list-style: none;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              visibility 0s var(--t-fast);
}
.nav__group.is-open .nav__menu,
.nav__group:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.nav__menu li { margin: 0; }
.nav__menu a {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  padding: .625rem .75rem;
  font-size: var(--fs-300);
  text-decoration: none;
  color: var(--tx-muted);
  border-radius: var(--r-1);
}
.nav__menu a:hover { background: var(--paper-2); color: var(--tx); }
.nav__menu .code {
  font-family: var(--font-mono);
  font-size: .6875rem;
  color: var(--acc-tx);
}

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: .625rem;
  border-radius: var(--r-1);
}
@media (min-width: 64em) { .nav-toggle { display: none; } }
.nav-toggle__line {
  display: block;
  height: 2px;
  background: var(--tx);
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobil tam ekran menü */
.mobmenu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + var(--sp-6)) var(--sp-5) var(--sp-6);
  background: var(--paper);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-med) var(--ease),
              transform var(--t-med) var(--ease),
              visibility 0s var(--t-med);
}
.mobmenu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.mobmenu__list { list-style: none; margin: 0; padding: 0; }
.mobmenu__list > li { margin: 0; border-bottom: 1px solid var(--line-on-paper); }
.mobmenu__link {
  display: block;
  padding: var(--sp-4) 0;
  font-size: var(--fs-600);
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  color: var(--tx-on-paper);
}
.mobmenu__sub {
  list-style: none;
  margin: 0 0 var(--sp-4);
  padding: 0 0 0 var(--sp-4);
}
.mobmenu__sub a {
  display: flex;
  gap: var(--sp-3);
  padding: .5rem 0;
  font-size: var(--fs-400);
  color: var(--tx-on-paper-muted);
  text-decoration: none;
}
.mobmenu__sub .code { font-family: var(--font-mono); font-size: .75rem; color: var(--accent-ink); }
.mobmenu__cta { margin-top: var(--sp-6); }
body.menu-open { overflow: hidden; }

/* --- Pb element karosu (imza öğesi) --- */
.pb-tile {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 21rem);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(242, 239, 233, .06), transparent 55%),
    var(--ink-2);
  border: 1px solid var(--line-on-ink);
  border-radius: var(--r-2);
  box-shadow: var(--shadow-2);
  font-family: var(--font-mono);
  color: var(--tx-on-ink);
}
.pb-tile::before {
  content: "";
  position: absolute;
  inset: .625rem;
  border: 1px solid var(--line-on-ink);
  border-radius: var(--r-1);
  pointer-events: none;
}
.pb-tile__head {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-300);
  color: var(--tx-on-ink-muted);
}
.pb-tile__num { font-size: var(--fs-600); font-weight: 700; color: var(--tx-on-ink); }
.pb-tile__symbol {
  font-size: clamp(4.5rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--tx-on-ink);
}
.pb-tile__symbol b { color: var(--accent); font-weight: inherit; }
.pb-tile__name { margin-top: var(--sp-2); font-size: var(--fs-300); color: var(--tx-on-ink-muted); }
.pb-tile__foot {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-on-ink);
  font-size: var(--fs-200);
  color: var(--tx-on-ink-muted);
}
.pb-tile__foot strong { color: var(--accent); font-weight: 500; }

/* --- İç sayfa başlığı --- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.page-head__title { font-size: var(--fs-800); margin: var(--sp-4) 0; }
.page-head__lead { font-size: var(--fs-500); color: var(--tx-muted); max-width: 60ch; }
.page-head .eyebrow { margin-bottom: 0; margin-top: var(--sp-5); }

/* --- Makale gövdesi (bilgi merkezi) --- */
.prose h2 {
  font-size: var(--fs-700);
  margin: var(--sp-7) 0 var(--sp-4);
}
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: var(--sp-3); }
.prose a { color: var(--acc-tx); }

/* --- Görsel galerisi (projeler) --- */
.figure-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 40em) { .figure-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .figure-grid { grid-template-columns: repeat(3, 1fr); } }
.figure-grid .figure--wide { grid-column: 1 / -1; }
@media (min-width: 64em) { .figure-grid .figure--wide { grid-column: span 2; } }

/* --- Kartlar: ürün ızgarası --- */
/* Ayraçlar kart kenarlıklarından gelir; boş hücre kalırsa sayfa
   arkaplanı görünür (gri kutu oluşmaz). */
.pgrid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (min-width: 40em) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .pgrid { grid-template-columns: repeat(3, 1fr); } }

/* 7 kart için 2-3-2 dizilimi: boş hücre kalmaz */
@media (min-width: 64em) {
  .pgrid--staggered { grid-template-columns: repeat(6, 1fr); }
  .pgrid--staggered > .pcard { grid-column: span 2; }
  .pgrid--staggered > .pcard:nth-child(1),
  .pgrid--staggered > .pcard:nth-child(2),
  .pgrid--staggered > .pcard:nth-child(6),
  .pgrid--staggered > .pcard:nth-child(7) { grid-column: span 3; }
  /* Filtre aktifken düzenli 3 kolona dön */
  .pgrid--staggered.is-filtered > .pcard { grid-column: span 2; }
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-6);
  background: var(--bg);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--tx);
  transition: background var(--t-fast) var(--ease);
}
.pcard:hover { background: var(--bg-2); color: var(--tx); }
.pcard.is-hidden { display: none; }
.pcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pcard__media {
  aspect-ratio: 4 / 3;
  margin: calc(var(--sp-6) * -1) calc(var(--sp-6) * -1) 0;
  overflow: hidden;
  background: var(--bg-2);
}
.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-med) var(--ease);
}
.pcard:hover .pcard__media img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .pcard:hover .pcard__media img { transform: none; }
}
.pcard__code {
  font-family: var(--font-mono);
  font-size: var(--fs-200);
  letter-spacing: .12em;
  color: var(--tx-muted);
}
.pcard__icon { width: 2.5rem; height: 2.5rem; color: var(--acc-tx); }
.pcard__icon svg { width: 100%; height: 100%; }
.pcard__title { font-size: var(--fs-600); margin: 0; }
.pcard__desc {
  font-size: var(--fs-300);
  color: var(--tx-muted);
  margin: 0;
  flex-grow: 1;
}
.pcard__more {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-300);
  font-weight: 600;
  color: var(--acc-tx);
}
.pcard__more svg { width: 1em; height: 1em; transition: transform var(--t-fast) var(--ease); }
.pcard:hover .pcard__more svg { transform: translateX(4px); }

/* Filtre çubuğu */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}
.filter__btn {
  min-height: 2.75rem;
  padding: .5rem 1.125rem;
  font-family: var(--font-mono);
  font-size: var(--fs-300);
  letter-spacing: .04em;
  color: var(--tx-muted);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  transition: color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease);
}
.filter__btn:hover { color: var(--tx); border-color: var(--tx-muted); }
.filter__btn[aria-pressed="true"] {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

/* --- İstatistik şeridi --- */
.stats {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
@media (min-width: 40em) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: var(--sp-6) var(--sp-5);
  background: var(--bg);
}
.stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-800);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--tx);
}
.stat__value small {
  font-size: .45em;
  font-weight: 500;
  color: var(--acc-tx);
  letter-spacing: 0;
}
.stat__label {
  display: block;
  margin-top: var(--sp-3);
  font-size: var(--fs-300);
  color: var(--tx-muted);
  max-width: 22ch;
}

/* --- Karşılaştırma tablosu --- */
.cmp {
  overflow-x: auto;
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}
.cmp table { min-width: 34rem; }
.cmp th, .cmp td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  font-size: var(--fs-300);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.cmp thead th {
  font-family: var(--font-mono);
  font-size: var(--fs-200);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx-muted);
  background: var(--bg-2);
}
.cmp tbody tr:last-child th,
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody th { font-weight: 600; color: var(--tx); }
.cmp .is-good { color: var(--acc-tx); font-weight: 600; }
.cmp .is-bad { color: var(--tx-muted); }

/* --- Teknik özellik tablosu (ürün sayfaları) --- */
.spec { border: 1px solid var(--line); }
.spec th, .spec td {
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--fs-300);
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th {
  width: 40%;
  font-weight: 600;
  background: var(--bg-2);
}
.spec td { font-family: var(--font-mono); }

/* --- Uygulama alanları --- */
.apps {
  display: grid;
  gap: var(--sp-5) var(--sp-6);
}
@media (min-width: 40em) { .apps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .apps { grid-template-columns: repeat(4, 1fr); } }
.app {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}
.app__icon { width: 1.75rem; height: 1.75rem; flex: none; color: var(--acc-tx); }
.app__icon svg { width: 100%; height: 100%; }
.app__title { margin: 0 0 var(--sp-1); font-size: var(--fs-400); font-weight: 700; letter-spacing: 0; }
.app__desc { margin: 0; font-size: var(--fs-300); color: var(--tx-muted); }

/* --- Süreç adımları --- */
.steps {
  display: grid;
  gap: var(--sp-6);
  counter-reset: step;
}
@media (min-width: 64em) { .steps { grid-template-columns: repeat(5, 1fr); gap: var(--sp-5); } }
.step {
  position: relative;
  padding-top: var(--sp-5);
  border-top: 2px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-600);
  font-weight: 700;
  color: var(--acc-tx);
}
.step__title { margin: 0 0 var(--sp-2); font-size: var(--fs-400); font-weight: 700; }
.step__desc { margin: 0; font-size: var(--fs-300); color: var(--tx-muted); }

/* --- Akordeon (SSS) --- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-5) 0;
  text-align: left;
  font-size: var(--fs-500);
  font-weight: 600;
  line-height: 1.35;
}
.acc__btn:hover { color: var(--acc-tx); }
.acc__marker {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--acc-tx);
  transition: transform var(--t-med) var(--ease);
}
.acc__btn[aria-expanded="true"] .acc__marker { transform: rotate(45deg); }
.acc__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-med) var(--ease);
}
.acc__inner {
  padding: 0 0 var(--sp-5);
  color: var(--tx-muted);
  font-size: var(--fs-400);
}

/* --- Sekmeler (ürün sayfası teknik detay) --- */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0 0 var(--sp-5);
  padding: 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}
.tabs__tab {
  position: relative;
  min-height: 2.75rem;
  padding: .625rem 1.125rem;
  font-family: var(--font-mono);
  font-size: var(--fs-300);
  letter-spacing: .04em;
  color: var(--tx-muted);
}
.tabs__tab:hover { color: var(--tx); }
.tabs__tab[aria-selected="true"] { color: var(--tx); }
.tabs__tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
}
.tabs__panel[hidden] { display: none; }

/* --- Breadcrumb --- */
.crumbs {
  margin: var(--sp-5) 0 0;
  font-size: var(--fs-300);
  color: var(--tx-muted);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.crumbs li { display: flex; align-items: center; gap: var(--sp-2); margin: 0; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a { text-decoration: none; color: var(--tx-muted); }
.crumbs a:hover { color: var(--acc-tx); }
.crumbs [aria-current="page"] { color: var(--tx); }

/* --- Form --- */
.form { display: grid; gap: var(--sp-5); }
@media (min-width: 40em) {
  .form { grid-template-columns: 1fr 1fr; }
  .form .field--full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field__label { font-size: var(--fs-300); font-weight: 600; }
.field__label .req { color: var(--acc-tx); }
.field__hint { font-size: var(--fs-200); color: var(--tx-muted); }
.field__input {
  width: 100%;
  min-height: 3rem;
  padding: .75rem 1rem;
  font: inherit;
  font-size: var(--fs-400);
  color: var(--tx);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  transition: border-color var(--t-fast) var(--ease);
}
.field__input:hover { border-color: var(--tx-muted); }
.field__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea.field__input { min-height: 8rem; resize: vertical; }
select.field__input { appearance: none; }
.field--select { position: relative; }
.field--select::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 1.3rem;
  width: .55rem;
  height: .55rem;
  border-right: 2px solid var(--tx-muted);
  border-bottom: 2px solid var(--tx-muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.field.has-error .field__input { border-color: #C43D2E; }
.field__error {
  display: none;
  font-size: var(--fs-200);
  font-weight: 600;
  color: #E06B5D;
}
.section--paper .field__error { color: #A8281A; }
.field.has-error .field__error { display: block; }
.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--sp-3);
}
.field--check input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: .2rem;
  accent-color: var(--accent);
  flex: none;
}
.field--check .field__label { font-weight: 400; color: var(--tx-muted); }
.form__status {
  grid-column: 1 / -1;
  display: none;
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-300);
  font-weight: 600;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-1);
}
.form__status.is-visible { display: block; }

/* --- Sabit iletişim butonları --- */
.fab-stack {
  position: fixed;
  right: var(--sp-4);
  bottom: var(--sp-4);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--ink-2);
  color: var(--tx-on-ink);
  border: 1px solid var(--line-on-ink);
  box-shadow: var(--shadow-2);
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.fab:hover { transform: translateY(-2px); color: var(--tx-on-ink); }
.fab svg { width: 1.4rem; height: 1.4rem; }
.fab--wa { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.fab--wa:hover { background: #F07E33; color: var(--ink); }

/* ------------------------------------------------------------
   5. BÖLÜMLER
   ------------------------------------------------------------ */
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section--flush-top { padding-top: 0; }

/* Koyu bölüm (varsayılan) */
.section--ink {
  --bg: var(--ink); --bg-2: var(--ink-2);
  --tx: var(--tx-on-ink); --tx-muted: var(--tx-on-ink-muted);
  --line: var(--line-on-ink); --acc-tx: var(--accent);
  background: var(--bg);
  color: var(--tx);
}

/* Açık bölüm */
.section--paper {
  --bg: var(--paper); --bg-2: #FFFFFF;
  --tx: var(--tx-on-paper); --tx-muted: var(--tx-on-paper-muted);
  --line: var(--line-on-paper); --acc-tx: var(--accent-ink);
  background: var(--bg);
  color: var(--tx);
}

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__head--split {
  max-width: none;
  display: grid;
  gap: var(--sp-5);
  align-items: end;
}
@media (min-width: 64em) {
  .section__head--split { grid-template-columns: minmax(0, 46rem) 1fr; }
  .section__head--split .section__aside { justify-self: end; text-align: right; }
}
.section__title { font-size: var(--fs-800); }
.section__lead { font-size: var(--fs-500); color: var(--tx-muted); }

/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 7vw, 5rem);
}
.hero__grid {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
}
@media (min-width: 64em) {
  .hero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  font-family: var(--font-mono);
  font-size: var(--fs-200);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tx-muted);
}
.hero__eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
}
.hero__title {
  margin-bottom: var(--sp-5);
  font-size: var(--fs-900);
  letter-spacing: -.03em;
  line-height: 1.04;
}
.hero__title em {
  font-style: normal;
  color: var(--acc-tx);
}
.hero__lead {
  max-width: 54ch;
  margin-bottom: var(--sp-6);
  font-size: var(--fs-500);
  color: var(--tx-muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-200);
  letter-spacing: .06em;
  color: var(--tx-muted);
}
.hero__meta strong { color: var(--tx); font-weight: 500; }
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__watermark {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: clamp(16rem, 30vw, 26rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(23, 25, 29, .07);
  pointer-events: none;
  user-select: none;
}

/* --- Görsel bloklar --- */
.figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--bg-2);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
/* Kolon içindeki dikey fotoğraflar kolonu patlatmasın */
.split .figure img { max-height: 32rem; }
/* Tam genişlik yatay görsel bandı */
.figure--band img { max-height: 24rem; object-position: center 35%; }
@media (min-width: 64em) {
  .split .figure { position: sticky; top: calc(var(--header-h) + var(--sp-5)); }
}
.figure__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-mono);
  font-size: var(--fs-200);
  letter-spacing: .06em;
  color: var(--tx-on-ink);
  background: linear-gradient(transparent, rgba(23, 25, 29, .85));
}

/* --- Google Haritalar gömme --- */
.map {
  margin-top: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  overflow: hidden;
}
.map iframe {
  display: block;
  width: 100%;
  height: clamp(18rem, 45vw, 26rem);
  border: 0;
}

/* --- Lightbox: görsele tıkla, büyüt --- */
.figure img {
  cursor: zoom-in;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(23, 25, 29, .94);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility 0s var(--t-med);
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.lightbox__img {
  max-width: min(100%, 72rem);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: var(--r-2);
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, .6);
  cursor: zoom-out;
  transform: scale(.96);
  transition: transform var(--t-med) var(--ease);
}
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__cap {
  max-width: 60ch;
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-200);
  letter-spacing: .06em;
  text-align: center;
  color: var(--tx-on-ink-muted);
}
.lightbox__close {
  position: absolute;
  top: clamp(.75rem, 2vw, 1.5rem);
  right: clamp(.75rem, 2vw, 1.5rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(242, 239, 233, .1);
  color: var(--tx-on-ink);
  transition: background var(--t-fast) var(--ease);
}
.lightbox__close:hover { background: var(--accent); color: var(--ink); }
.lightbox__close svg { width: 1.25rem; height: 1.25rem; }
body.lightbox-open { overflow: hidden; }

/* --- İki kolonlu anlatı (kurumsal / neden saf kurşun) --- */
.split {
  display: grid;
  gap: var(--sp-7);
  align-items: start;
}
/* Grid çocukları içerik genişliğine takılıp taşma yaratmasın
   (tablolar kendi içinde kaydırılır) */
.split > *,
.hero__grid > *,
.pgrid > *,
.band > * { min-width: 0; }
@media (min-width: 64em) {
  .split { grid-template-columns: 5fr 7fr; }
  .split--rev { grid-template-columns: 7fr 5fr; }
}

/* --- SSS önizleme + CTA bandı --- */
.band {
  padding: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--bg-2);
  display: grid;
  gap: var(--sp-5);
  align-items: center;
}
@media (min-width: 64em) { .band { grid-template-columns: 1fr auto; } }
.band__title { margin: 0 0 var(--sp-2); font-size: var(--fs-700); }
.band__desc { margin: 0; color: var(--tx-muted); }

/* --- Altbilgi --- */
.site-footer {
  --bg: var(--ink); --bg-2: var(--ink-2);
  --tx: var(--tx-on-ink); --tx-muted: var(--tx-on-ink-muted);
  --line: var(--line-on-ink); --acc-tx: var(--accent);
  background: var(--bg);
  color: var(--tx);
  border-top: 1px solid var(--line);
}
.site-footer__grid {
  display: grid;
  gap: var(--sp-7);
  padding-block: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 40em) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.site-footer h2 {
  margin-bottom: var(--sp-4);
  font-family: var(--font-mono);
  font-size: var(--fs-200);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tx-muted);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--sp-3); font-size: var(--fs-300); }
.site-footer a { color: var(--tx-muted); text-decoration: none; }
.site-footer a:hover { color: var(--tx); }
.site-footer address {
  font-style: normal;
  font-size: var(--fs-300);
  color: var(--tx-muted);
  line-height: 1.8;
}
.site-footer address a { color: var(--tx); }
.site-footer__brandline {
  max-width: 34ch;
  font-size: var(--fs-300);
  color: var(--tx-muted);
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-block: var(--sp-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-200);
  font-family: var(--font-mono);
  color: var(--tx-muted);
}

/* ------------------------------------------------------------
   5b. DİNAMİKLER — kurşun temalı hareket katmanı
   ------------------------------------------------------------ */

/* mm Pb ilerleme cetveli: sayfanın en üstünde, okudukça dolan çubuk */
.scrollruler {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 120;
  pointer-events: none;
}
.scrollruler__bar {
  position: relative;
  height: 100%;
  width: 0;
  background: var(--accent);
  overflow: hidden;
}
.scrollruler__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(23, 25, 29, .4) 0 1px, transparent 1px 16px);
}

/* Hero katmanları: canvas altta, içerik üstte */
.hero .container { position: relative; z-index: 1; }
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Pb karosu: yavaş metalik parlama süpürmesi */
.pb-tile { overflow: hidden; }
.pb-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(242, 239, 233, .13) 50%, transparent 58%);
  transform: translateX(-130%);
  animation: tile-shine 6.5s var(--ease) infinite;
}
@keyframes tile-shine {
  0%, 55% { transform: translateX(-130%); }
  80%, 100% { transform: translateX(130%); }
}

/* Filigran parallax (JS --par-x/--par-y değişkenlerini besler) */
.hero__watermark {
  transform: translate(calc(-50% + var(--par-x, 0px)), calc(-50% + var(--par-y, 0px)));
  transition: transform 500ms var(--ease);
}

/* Uygulama ikonları: hover'da radyasyon halkası */
.app__icon { position: relative; }
.app__icon::before,
.app__icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--acc-tx);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.app:hover .app__icon::before { animation: radar 1.3s ease-out infinite; }
.app:hover .app__icon::after { animation: radar 1.3s ease-out .55s infinite; }
@keyframes radar {
  0% { opacity: .8; transform: scale(.45); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* Kart tilt (JS yalnızca ince imleçli cihazlarda etkinleştirir) */
.tiltable {
  transition: transform 300ms var(--ease);
  will-change: transform;
}

/* ------------------------------------------------------------
   6. HAREKET (yalnızca JS varken)
   ------------------------------------------------------------ */
html.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   7. KÜÇÜK EKRAN İNCE AYARLARI (360px tabanı)
   ------------------------------------------------------------ */
@media (max-width: 26em) {
  .container, .container--wide { width: calc(100% - 2rem); }
  .hero__actions .btn { width: 100%; }
  .fab-stack { right: var(--sp-3); bottom: var(--sp-3); }
}
