:root {
  --bg: #0B0A09;
  --ink: #c7b48f;
  --line: rgba(199, 180, 143, 0.25);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Literata', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 48px;
}

.logo {
  font-family: 'Cormorant Garamond', 'Cormorant', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-decoration: none;
  color: var(--ink);
}

/* Language selector */
.lang {
  font-family: 'Literata', Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.lang button {
  background: none;
  border: none;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  padding: 2px 4px;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

.lang button:hover {
  opacity: 0.85;
}

.lang button.active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lang .sep {
  opacity: 0.4;
  padding: 0 2px;
}

/* Main content */
main {
  flex: 1 0 auto;
}

h1 {
  font-family: 'Cormorant Garamond', 'Cormorant', serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0 0 32px;
}

p {
  margin: 0 0 24px;
}

.lede {
  font-size: 20px;
  line-height: 1.75;
}

.note {
  font-size: 15px;
  opacity: 0.75;
  font-style: italic;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
}

a:hover {
  text-decoration-color: var(--ink);
}

.emails a {
  display: inline-block;
}

/* Footer */
footer {
  flex-shrink: 0;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  letter-spacing: 0.03em;
  opacity: 0.85;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer .sep {
  opacity: 0.5;
  padding: 0 6px;
}

/* Language visibility — JS toggles [lang] state on <html> */
[data-lang] {
  display: none;
}

html[lang="tr"] [data-lang="tr"],
html[lang="en"] [data-lang="en"],
html[lang="es"] [data-lang="es"] {
  display: revert;
}

/* Mobile */
@media (max-width: 520px) {
  h1 {
    font-size: 38px;
  }
  body {
    font-size: 17px;
  }
  .lede {
    font-size: 18px;
  }
  .wrap {
    padding: 32px 20px 48px;
  }
  .top {
    padding-bottom: 40px;
  }
}

/* ── Uzun metin sayfaları (gizlilik · koşullar) — okuma rahatlığı ── */
.doc { margin-top: 0.5rem; }
.doc .updated { font-style: italic; opacity: 0.6; margin: -0.2rem 0 1.8rem; }
.doc h2 {
  font-family: 'Cormorant Garamond', 'Cormorant', serif;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 2.4rem 0 0.7rem;
}
.doc p { line-height: 1.85; margin: 0 0 1.1rem; }
.doc ul { list-style: none; padding: 0; margin: 0.3rem 0 1.4rem; }
.doc li { line-height: 1.75; margin: 0 0 0.95rem; padding-left: 1.15rem; position: relative; }
.doc li::before { content: '—'; position: absolute; left: 0; opacity: 0.5; }
.doc em { font-style: italic; }
.doc a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }

/* Alt bilgi — TMDB atıf satırı: küçük, soluk */
.tmdb { margin-top: 0.85rem; font-size: 0.78rem; line-height: 1.55; opacity: 0.42; max-width: 46ch; margin-left: auto; margin-right: auto; }
