/* ============================================================
   YAMAN MİMARLIK — base.css
   Reset / normalize, design tokens, typography, primitives.
   Estetik: blueprint / teknik çizim, siyah-beyaz, hairline.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-height: 100vh; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Tokens ---------- */
:root {
  /* Paleti — ink (siyah) / paper (beyaz) */
  --ink:        #0a0a0a;
  --ink-2:      #1c1c1c;
  --paper:      #fafafa;
  --paper-2:    #f2f1ee;
  --muted:      #6b6b6b;
  --muted-2:    #9a9a9a;
  --accent:     #1e3a8a;        /* çok hafif blueprint mavisi — sınırlı kullanım */

  /* Çizgiler — hairline */
  --line:       rgba(10, 10, 10, .14);
  --line-soft:  rgba(10, 10, 10, .08);
  --line-strong:rgba(10, 10, 10, .28);
  --line-paper: rgba(250, 250, 250, .18);

  /* Tipografi */
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans:  'Archivo', 'Helvetica Neue', Arial, sans-serif;

  /* Ölçü */
  --sidebar-w: clamp(220px, 19vw, 260px);
  --gutter:    clamp(1.25rem, 4vw, 4rem);
  --maxw:      1320px;

  /* Hareket */
  --ease:      cubic-bezier(.22, 1, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --dur:       .7s;

  --radius: 0;
}

/* ---------- Document ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: clamp(.95rem, .9rem + .25vw, 1.0625rem);
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
  letter-spacing: .01em;
}

/* ---------- Tipografi ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--ink);
}
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 1.2rem + 7vw, 7.5rem);
  line-height: .96;
  letter-spacing: -.015em;
}
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); }

p { max-width: 64ch; }

/* Küçük büyük-harf etiketler: "01 — PROJELER" */
.eyebrow,
.kicker {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: .8em;
}
.kicker .num { color: var(--ink); font-variant-numeric: tabular-nums; }
.kicker::before {
  content: "";
  width: clamp(1.4rem, 3vw, 3rem);
  height: 1px;
  background: var(--ink);
  display: inline-block;
}
.eyebrow .num { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Utilities ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 8vw, 9rem); }
.lead { font-size: clamp(1.05rem, 1rem + .5vw, 1.4rem); color: var(--ink-2); line-height: 1.5; max-width: 56ch; }
.muted { color: var(--muted); }
.hairline { height: 1px; background: var(--line); border: 0; }
.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;
}
.tnum { font-variant-numeric: tabular-nums; }

/* Seçim rengi */
::selection { background: var(--ink); color: var(--paper); }

/* İnce kaydırma çubuğu */
* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); }
::-webkit-scrollbar-track { background: transparent; }
