/* ============================================================
   BASE — reset + temel elementler + yardımcı sınıflar
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--text);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: var(--link); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--brand-primary-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--text-strong);
  line-height: var(--lh-tight);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
p { line-height: var(--lh-base); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-sm); }

/* --- Yerleşim yardımcıları --- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--sp-20); }
.section--tight { padding-block: var(--sp-12); }

.stack > * + * { margin-top: var(--sp-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.grid { display: grid; gap: var(--sp-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* --- Metin yardımcıları --- */
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.eyebrow { color: var(--brand-primary); font-weight: var(--fw-semibold); font-size: var(--fs-sm);
  letter-spacing: .08em; text-transform: uppercase; }
.lead { font-size: var(--fs-md); color: var(--text-muted); }

/* --- Erişilebilirlik --- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: var(--z-progress);
  background: var(--brand-primary); color: var(--on-primary); padding: var(--sp-3) var(--sp-5);
  border-radius: 0 0 var(--r-md) 0; }
.skip-link:focus { left: 0; }

/* body kaydırma kilidi (modal/menü açıkken) */
body.is-locked { overflow: hidden; }

[hidden] { display: none !important; }
