/* ==========================================================================
   kenetcatisistemi.com.tr — Temel stil dosyası
   Editoryal / teknik yayın estetiği: sıcak nötr zemin, tek doygun vurgu tonu,
   asimetrik grid, bol boşluk.
   ========================================================================== */

/* --- 1. Değişkenler ---------------------------------------------------- */
:root {
  /* Zemin ve yüzeyler */
  --paper: #f7f6f3;
  --paper-2: #efece5;
  --paper-3: #e6e2d8;

  /* Metin */
  --ink: #1f2226;
  --ink-2: #4a5057;
  --ink-3: #757c85;

  /* Tek vurgu tonu: mat petrol yeşili */
  --accent: #2e4f4a;
  --accent-deep: #1c3430;
  --accent-tint: #dfe7e4;

  /* Çizgi */
  --rule: #d8d3c8;
  --rule-soft: #e4e0d6;

  /* Tipografi */
  --font-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Ölçü */
  --wrap: 1240px;
  --gap: clamp(1.5rem, 3vw, 3rem);
  --block: clamp(4.5rem, 9vw, 8.5rem);
}

/* --- 2. Sıfırlama ------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.4vw, 4.15rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.3; }
h4 { font-size: 1.0625rem; line-height: 1.4; }

p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

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

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

/* --- 3. Yardımcı sınıflar ---------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip:focus { left: 0; }

/* Ekranda görünmez, ekran okuyucuda okunur */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
  display: block;
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  line-height: 1.6;
  color: var(--ink-2);
  letter-spacing: -0.008em;
}

.muted { color: var(--ink-2); }

/* --- 4. Üst navigasyon ------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 70px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}

/* logo-mark.svg kendi içinde boşluk taşıdığı için kutu biraz büyük tutulup
   sol taraftaki boşluk negatif kenar boşluğuyla geri alınıyor. */
.wordmark__mark {
  width: 46px;
  height: 46px;
  display: block;
  flex: 0 0 auto;
  margin-left: -8px;
}

.wordmark__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 1.9rem); }

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-2);
  padding: 0.35rem 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

@media (max-width: 560px) {
  .wordmark__mark { width: 34px; height: 34px; margin-left: -6px; }
  .wordmark__text { font-size: 0.98rem; }
  .masthead__inner { gap: 1rem; }
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 0.5rem 0.7rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 940px) {
  .nav__toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--rule-soft);
    font-size: 1rem;
  }
  .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
}

/* --- 5. Hero (ana sayfa) — asimetrik split ----------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: min(78vh, 700px);
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 6.5rem) clamp(1.25rem, 4vw, 4rem) clamp(3rem, 7vw, 6.5rem)
    max(1.25rem, calc((100vw - var(--wrap)) / 2 + 2.5rem));
}

.hero__text h1 { margin-bottom: 1.5rem; max-width: 15ch; }
.hero__text .lede { max-width: 46ch; }

.hero__media { position: relative; overflow: hidden; background: var(--paper-3); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }

.hero__credit {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(31, 34, 38, 0.72);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; }
  .hero__media img { min-height: 260px; max-height: 46vh; }
  .hero__text { padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
}

/* --- 6. Sayfa başlığı (alt sayfalar) ----------------------------------- */
.pagehead { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3.5rem); }

.pagehead__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: var(--gap);
  align-items: end;
}
.pagehead h1 { margin-bottom: 0; }
.pagehead .lede { padding-bottom: 0.4rem; }

@media (max-width: 860px) {
  .pagehead__grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.crumbs {
  font-size: 0.78rem;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin-bottom: 1.75rem;
}
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs span { margin: 0 0.45rem; opacity: 0.55; }

/* Geniş kapak görseli */
.coverband {
  margin: 0 0 var(--block);
  background: var(--paper-3);
  overflow: hidden;
}
.coverband img {
  width: 100%;
  height: clamp(220px, 38vw, 460px);
  object-fit: cover;
}

/* --- 7. Editoryal metin bloğu ----------------------------------------- */
.prose { max-width: 74ch; }

.prose h2 { margin: 3.25rem 0 1.1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2.25rem 0 0.75rem; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.35rem; }
.prose li { margin-bottom: 0.55rem; }
.prose li::marker { color: var(--accent); }
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover { background: var(--accent-tint); }

/* Metin + kenar notu düzeni (asimetrik) */
.editorial {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-bottom: var(--block);
}
.editorial__aside { position: sticky; top: 100px; }

@media (max-width: 940px) {
  .editorial { grid-template-columns: 1fr; }
  .editorial__aside { position: static; }
}

/* Kenar notu kutusu */
.sidenote {
  background: var(--paper-2);
  padding: 1.6rem 1.5rem;
  border-left: 3px solid var(--accent);
}
.sidenote h3 { font-size: 1rem; margin-bottom: 0.6rem; }
.sidenote p, .sidenote li { font-size: 0.9rem; line-height: 1.6; color: var(--ink-2); }
.sidenote ul { margin: 0; padding-left: 1.1rem; }
.sidenote li { margin-bottom: 0.4rem; }
.sidenote + .sidenote { margin-top: 1.25rem; }

.sidenote--figure { padding: 0; border-left: 0; background: none; }
.sidenote--figure figcaption {
  font-size: 0.8rem;
  color: var(--ink-3);
  padding: 0.7rem 0 0;
  line-height: 1.5;
}

/* Alıntı / vurgulu ifade */
.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin: 2.5rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent);
}

/* --- 8. Bölüm blokları ------------------------------------------------- */
.band { padding: var(--block) 0; }
.band--sand { background: var(--paper-2); }

.band__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--gap);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 860px) {
  .band__head { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* --- 9. Konu kartları (ana sayfa yönlendirmeleri) --------------------- */
.topics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.topic {
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}
.topic:hover { background: var(--paper-2); }
.topic:hover .topic__more { color: var(--accent-deep); gap: 0.75rem; }

.topic__no {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-bottom: 1.4rem;
}
.topic h3 { margin-bottom: 0.7rem; }
.topic p {
  font-size: 0.925rem;
  line-height: 1.62;
  color: var(--ink-2);
  margin-bottom: 1.5rem;
}
.topic__more {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: gap 0.2s ease, color 0.2s ease;
}
.topic__more::after { content: "→"; }

/* Izgaranın son hücresini dolduran, bağlantı olmayan not */
.topic--note {
  background: var(--paper-2);
  cursor: default;
}
.topic--note:hover { background: var(--paper-2); }
.topic--note p { margin-bottom: 0; }

/* --- 10. Proje kart ızgarası ------------------------------------------ */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
}

.project {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
}
.project__frame {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 4 / 3;
}
.project__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1), filter 0.45s ease;
  filter: saturate(0.92);
}
.project:hover .project__frame img { transform: scale(1.045); filter: saturate(1.05); }

.project__tag {
  position: absolute;
  z-index: 2; /* img'e filter uygulandığı için kendi yığın bağlamını oluşturur */
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(247, 246, 243, 0.94);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
}

.project__body { padding: 1.2rem 0 0; }
.project h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.project p { font-size: 0.9rem; line-height: 1.6; color: var(--ink-2); margin-bottom: 0.9rem; }
.project__link {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}
.project__link::after { content: "↗"; font-size: 0.9em; }
.project:hover .project__link { gap: 0.65rem; }

/* --- 11. Karşılaştırma tablosu ---------------------------------------- */
/* Tam genişlikli bir bant içinde kullanılmak üzere tasarlandı; dar metin
   sütununa konursa sütunlar sıkışır. İlk sütun yapışkandır, böylece dar
   ekranda yatay kaydırma sırasında kriter adı görünür kalır. */

.datatable {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--rule);
  /* Kaydırma gölgesi: yalnızca sağda taşma varken görünür */
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 72%) right center / 30px 100% no-repeat local,
    radial-gradient(farthest-side at 100% 50%, rgba(31, 34, 38, 0.16), rgba(31, 34, 38, 0))
      right center / 15px 100% no-repeat scroll,
    #fff;
}

.datatable table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate; /* yapışkan hücrelerde kenarlıkların doğru çizilmesi için */
  border-spacing: 0;
  font-size: 0.94rem;
  background: transparent;
}

.datatable caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.datatable th,
.datatable td {
  text-align: left;
  vertical-align: top;
  padding: 0.95rem 1.2rem;
}

/* Sütun başlıkları */
.datatable thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  line-height: 1.3;
  vertical-align: bottom;
  white-space: nowrap;
}
.datatable thead th:first-child {
  left: 0;
  z-index: 3;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  box-shadow: 7px 0 9px -7px rgba(31, 34, 38, 0.28);
}

/* Satır başlıkları — yatay kaydırmada sabit kalır */
.datatable tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--paper-2);
  border-right: 1px solid var(--rule);
  /* Altından kayan sütunun bir katman altta olduğunu belli eder */
  box-shadow: 7px 0 9px -7px rgba(31, 34, 38, 0.28);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--ink);
  white-space: nowrap;
}

.datatable tbody td {
  color: var(--ink-2);
  line-height: 1.55;
  background: #fff;
  transition: background 0.14s ease;
}

/* Satır ayraçları */
.datatable tbody tr + tr th,
.datatable tbody tr + tr td { border-top: 1px solid var(--rule-soft); }

.datatable tbody tr:nth-child(even) td { background: #fbfaf8; }
.datatable tbody tr:hover td,
.datatable tbody tr:hover th { background: var(--accent-tint); }

/* Tablonun altındaki dipnot */
.datatable__note {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-3);
}
.datatable__note::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 0.6rem;
}

@media (max-width: 640px) {
  .datatable table { font-size: 0.88rem; }
  .datatable th, .datatable td { padding: 0.8rem 0.95rem; }
  .datatable tbody th { max-width: 8.5rem; white-space: normal; }
}

/* Kum zeminli bantta tablo yüzeyi zeminden ayrışsın */
.band--sand .datatable { border-color: var(--rule); }

/* --- 12. Adım listesi (uygulama süreci) ------------------------------- */
.steps { counter-reset: step; margin: 0; padding: 0; list-style: none; }

.step {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: 0 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
}
.step:last-child { border-bottom: 1px solid var(--rule); }

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.step h3 { margin-bottom: 0.6rem; }
.step p { font-size: 0.97rem; color: var(--ink-2); }
.step ul { margin: 0.75rem 0 0; padding-left: 1.15rem; font-size: 0.95rem; color: var(--ink-2); }
.step li { margin-bottom: 0.4rem; }
.step li::marker { color: var(--accent); }

@media (max-width: 620px) {
  .step { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* --- 13. Faktör / özellik ızgarası ------------------------------------ */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 2rem 0 2.75rem;
}
@media (max-width: 680px) {
  .facts { grid-template-columns: 1fr; }
}
.fact { background: var(--paper); padding: 1.5rem 1.4rem; }
.band--sand .fact { background: var(--paper-2); }
.fact h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.fact p { font-size: 0.9rem; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* --- 14. SSS akordiyonu ------------------------------------------------ */
.faq { border-top: 1px solid var(--rule); max-width: 860px; }

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
  padding: 1.5rem 3rem 1.5rem 0;
  cursor: pointer;
  position: relative;
  list-style: none;
  transition: color 0.16s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary h2 {
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin: 0;
  display: inline;
  color: inherit;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

.faq__answer { padding: 0 3rem 1.75rem 0; color: var(--ink-2); }
.faq__answer p { font-size: 0.98rem; }
.faq__answer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Izgara dokulu bölümde SSS bir panel gibi okunur */
.band--grid .faq {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
  padding: 0 clamp(1.25rem, 3vw, 2.4rem);
  max-width: none;
}
.band--grid .faq details:last-child { border-bottom: 0; }

/* --- 15. İlgili sayfa bağlantıları ------------------------------------ */
.related { padding: var(--block) 0; border-top: 1px solid var(--rule); }
.related__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.related__item {
  text-decoration: none;
  color: inherit;
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
  transition: border-color 0.2s ease;
}
.related__item:hover { border-top-color: var(--accent); }
.related__item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.related__item:hover h3 { color: var(--accent); }
.related__item p { font-size: 0.88rem; color: var(--ink-2); margin: 0; }

/* --- 16. Tek yönlendirme bloğu (yalnızca uygulayıcı seçimi) ------------ */
.handoff {
  background: var(--accent);
  color: #fff;
  padding: clamp(2.25rem, 4.5vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: center;
  margin: 3rem 0 0;
}
.handoff h2 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); margin-bottom: 0.75rem; }
.handoff p { color: rgba(255, 255, 255, 0.85); font-size: 0.98rem; margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--paper);
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 0.95rem 1.6rem;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
  justify-self: start;
}
.btn::after { content: "↗"; }
.btn:hover { background: #fff; transform: translateY(-1px); }

@media (max-width: 780px) {
  .handoff { grid-template-columns: 1fr; }
}

/* --- 17. Altbilgi ------------------------------------------------------ */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  font-size: 0.9rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
}
@media (max-width: 780px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

.footer h2, .footer h3 {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.1rem;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.9rem;
}
.footer p { line-height: 1.65; max-width: 42ch; }

.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.6rem; }
.footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.16s ease;
}
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer__base {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* --- 17b. Teknik künye şeridi (koyu) ---------------------------------- */
.metrics {
  background: var(--ink);
  color: #fff;
  padding: clamp(2.25rem, 4vw, 3.25rem) 0;
}
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
}
.metric {
  padding: 0.5rem clamp(1rem, 2.2vw, 2rem);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.metric:first-child { border-left: 0; padding-left: 0; }
.metric__no {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
  display: block;
  margin-bottom: 0.55rem;
}
.metric__no em {
  font-style: normal;
  color: var(--accent-tint);
  font-size: 0.42em;
  letter-spacing: 0.02em;
  margin-left: 0.3rem;
  vertical-align: 0.55em;
}
.metric h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #fff;
}
.metric p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}
@media (max-width: 700px) {
  .metric { border-left: 0; border-top: 1px solid rgba(255,255,255,0.14); padding: 1.25rem 0; }
  .metric:first-child { border-top: 0; padding-top: 0; }
}

/* --- 17c. Teknik çizim kartları --------------------------------------- */
.diagrams {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
}
.diagram {
  background: #fff;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.diagram__canvas {
  background:
    linear-gradient(var(--rule-soft) 1px, transparent 1px) 0 0 / 100% 22px,
    linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px) 0 0 / 22px 100%,
    #fbfaf8;
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.diagram__canvas svg { width: 100%; height: auto; display: block; }
.diagram__body { padding: 1.25rem 1.4rem 1.5rem; }
.diagram h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.diagram p { font-size: 0.89rem; line-height: 1.6; color: var(--ink-2); margin: 0; }
.diagram__meta {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.7rem;
}

/* Yazı içi teknik çizim */
.figure-tech {
  margin: 2.5rem 0;
  border: 1px solid var(--rule);
  background: #fff;
}
.figure-tech .diagram__canvas { border-bottom: 1px solid var(--rule); }
.figure-tech figcaption {
  padding: 0.9rem 1.25rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-3);
}

/* SVG çizim ortak stilleri */
.tech-line { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.tech-line--accent { stroke: var(--accent); }
.tech-fill { fill: var(--accent-tint); stroke: var(--accent); stroke-width: 1.6; }
.tech-hatch { fill: var(--paper-3); stroke: var(--ink-3); stroke-width: 1; }
.tech-label { font-family: var(--font-display); font-size: 11px; font-weight: 600; fill: var(--ink-3); letter-spacing: 0.06em; }
.tech-dim { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; fill: none; }
.tech-water { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-dasharray: 5 4; }
.tech-dot { fill: var(--accent); stroke: none; }

/* --- 17d. Tam genişlik görsel şerit ----------------------------------- */
.imageband {
  position: relative;
  min-height: clamp(320px, 46vw, 520px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.imageband img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}
.imageband::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,34,38,0.15) 0%, rgba(31,34,38,0.78) 78%);
}
.imageband__inner {
  position: relative;
  z-index: 2;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  width: 100%;
}
.imageband__quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 20ch;
  margin: 0 0 1rem;
}
.imageband__note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 52ch;
  margin: 0;
}

/* --- 17e. Doku ve dekoratif katmanlar --------------------------------- */
.band--grid {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--rule-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  background-position: -1px -1px;
}
.band--grid > .wrap { position: relative; }

.hero__text { position: relative; }
.hero__text::before {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(2rem, 6vw, 4.5rem);
  bottom: clamp(2rem, 6vw, 4.5rem);
  width: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(46,79,74,0.08) 100%);
}
@media (max-width: 860px) { .hero__text::before { display: none; } }

/* Baş harf */
.prose > p.dropcap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.35em;
  line-height: 0.82;
  font-weight: 700;
  color: var(--accent);
  margin: 0.1em 0.12em 0 0;
}

/* Bölüm numaralandırması */
.prose--numbered { counter-reset: sec; }
.prose--numbered h2 { position: relative; padding-top: 1.4rem; }
.prose--numbered h2::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
}

/* Konu kartı ikon alanı */
.topic__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 1.15rem;
  color: var(--accent);
}
.topic__icon svg { width: 100%; height: 100%; display: block; }
.topic:hover .topic__icon { color: var(--accent-deep); }

/* --- 17g. Malzeme yüzey kartları -------------------------------------- */
.swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 2.25rem 0 1rem;
}
@media (max-width: 720px) {
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.swatch { background: var(--paper); }
.swatch__chip {
  height: 92px;
  position: relative;
  overflow: hidden;
}
.swatch__chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.16) 0 1px,
    transparent 1px 26px
  );
}
.swatch--zinc .swatch__chip { background: linear-gradient(160deg, #8e969a 0%, #6f787d 46%, #59626a 100%); }
.swatch--alu .swatch__chip { background: linear-gradient(160deg, #cfd3d4 0%, #a9afb2 48%, #8b9295 100%); }
.swatch--inox .swatch__chip { background: linear-gradient(160deg, #d7d9d6 0%, #b0b4b1 40%, #7f8481 100%); }
.swatch--steel .swatch__chip { background: linear-gradient(160deg, #3d5b56 0%, #2e4f4a 55%, #213935 100%); }
.swatch__body { padding: 0.9rem 0.95rem 1.15rem; }
.swatch h3 { font-size: 0.9rem; margin-bottom: 0.28rem; }
.swatch p { font-size: 0.78rem; line-height: 1.5; color: var(--ink-2); margin: 0; }

/* --- 17h. Nitel etki çubukları ---------------------------------------- */
.impact { margin: 2rem 0 2.75rem; border-top: 1px solid var(--rule); }
.impact__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46% auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.impact__label {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
}
.impact__bar {
  height: 8px;
  background: var(--paper-3);
  position: relative;
  overflow: hidden;
}
.impact__bar span {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--accent);
  width: var(--w, 50%);
}
.impact__level {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .impact__row { grid-template-columns: 1fr auto; }
  .impact__bar { grid-column: 1 / -1; }
}

/* --- 17i. Sistem karşılaştırma ikonları ------------------------------- */
.systems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 2.25rem 0 3rem;
}
.system { background: #fff; padding: 1.5rem 1.4rem 1.6rem; }
.system__art {
  background:
    linear-gradient(var(--rule-soft) 1px, transparent 1px) 0 0 / 100% 20px,
    linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px) 0 0 / 20px 100%,
    #fbfaf8;
  border: 1px solid var(--rule-soft);
  padding: 0.75rem;
  margin-bottom: 1.1rem;
}
.system__art svg { width: 100%; height: auto; display: block; }
.system h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.system p { font-size: 0.85rem; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* --- 17f. Görünürlük animasyonu --------------------------------------- */
/* JS yoksa içerik her koşulda görünür kalır: kural yalnızca .js altında geçerli */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  will-change: opacity, transform;
}
html.js .reveal.is-in { opacity: 1; transform: none; }

/* --- 18. Hareket tercihi ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}

/* --- 19. Baskı --------------------------------------------------------- */
@media print {
  .masthead, .footer, .handoff { display: none; }
  body { background: #fff; font-size: 11pt; }
}
