/* Schenti — temel katman: yazı tipleri, renkler, sıfırlama, tipografi.
   Başlıklar logonun kendi yazı tipiyle (Latin Modern Roman 17) kurulur; logo ile
   sayfa aynı sesle konuşur. Gövde Inter. Başka yazı tipi yok. */

@font-face {
  font-family: "Schenti Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../varlik/font/lmroman17-regular.woff") format("woff");
}

@font-face {
  font-family: "Schenti Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../varlik/font/lmroman10-italic.woff") format("woff");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../varlik/font/inter-400-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../varlik/font/inter-400-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;

  /* Koyu yüzeyler: gece, üstüne açılan iki kat. */
  --gece: #0D0906;
  --kahve: #15100B;
  --kahve-acik: #1E1610;

  /* Koyu zemin üzerindeki metin. */
  --fildisi: #F4EEE3;   /* ana metin        17.6:1 */
  --kum: #CBBDA4;       /* ikincil metin    10.4:1 */
  --soluk: #9F907B;     /* üçüncül metin     6.1:1 */
  --cizgi: rgba(244, 238, 227, 0.13);

  /* Marka madeni: logodaki sedef ve altın. */
  --altin: #C9B07A;
  --altin-koyu: #7A6232;  /* açık zeminde metin 4.9:1 */
  --sedef: linear-gradient(100deg, #C5AE82 0%, #FFFAEE 38%, #E2D2AE 66%, #C8AE78 100%);

  /* Açık bölümler. */
  --kemik: #F1EADD;
  --kemik-metin: #1B140E;
  --kemik-ikincil: #5A4C3D;  /* 6.9:1 */
  --kemik-cizgi: rgba(27, 20, 14, 0.14);

  --serif: "Schenti Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --kenar: clamp(20px, 4.4vw, 72px);
  --kolon: 1320px;
  --yumusak: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body,
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

body {
  min-block-size: 100vh;
  background: var(--gece);
  color: var(--fildisi);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, video, svg {
  display: block;
  max-inline-size: 100%;
}

img, video {
  block-size: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 7.6vw, 122px);
  line-height: 0.98;
  letter-spacing: -0.018em;
}

h2 {
  font-size: clamp(34px, 5.2vw, 78px);
  line-height: 1.03;
  letter-spacing: -0.014em;
}

h3 {
  font-size: clamp(23px, 2.3vw, 32px);
  line-height: 1.14;
  letter-spacing: -0.006em;
}

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

::selection {
  background: var(--altin);
  color: var(--gece);
}

.gorunmez {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.atlama {
  position: fixed;
  z-index: 60;
  inset-block-start: 12px;
  inset-inline-start: var(--kenar);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--fildisi);
  color: var(--gece);
  font-weight: 500;
  text-decoration: none;
}

.atlama:not(:focus) {
  clip-path: inset(50%);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
