/* ==========================================================================
   KESİT Mimarlık — typography.css
   Editorial serif for display, refined sans for interface and body.
   ========================================================================== */

html {
  font-size: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--fg);
  background-color: var(--bg);
  letter-spacing: 0.005em;
  font-feature-settings: "ss01", "cv05";
}

/* ---- Display (serif) ------------------------------------------------- */

.display-xl,
.display-l,
.display-m,
.display-s,
h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.display-xl { font-size: var(--fs-display-xl); line-height: 0.92; letter-spacing: -0.025em; }
.display-l  { font-size: var(--fs-display-l);  line-height: 0.95; letter-spacing: -0.02em; }
.display-m  { font-size: var(--fs-display-m);  line-height: 1.02; }
.display-s  { font-size: var(--fs-display-s);  line-height: 1.08; }

.display-xl em,
.display-l em,
.display-m em,
.display-s em,
h1 em,
h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

h3,
.h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: 1.15;
  letter-spacing: -0.005em;
}

/* ---- Text ------------------------------------------------------------ */

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.005em;
  max-width: 34em;
}

.lead--serif {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 1.9vw, 1.9rem);
  line-height: 1.35;
  font-weight: 400;
}

.text {
  max-width: 38em;
  color: var(--fg);
}

.text p + p {
  margin-top: 1.25em;
}

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

.small {
  font-size: var(--fs-small);
  line-height: 1.55;
}

/* ---- Eyebrow / labels ------------------------------------------------ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--accent);
  flex: none;
}

.eyebrow--plain::before {
  display: none;
}

.caption {
  font-size: var(--fs-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.num {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

/* ---- Serif accents --------------------------------------------------- */

.serif {
  font-family: var(--font-serif);
}

.serif-i {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
}

/* ---- Utility --------------------------------------------------------- */

.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;
}

.text-right { text-align: right; }
.uppercase { text-transform: uppercase; letter-spacing: 0.16em; }
