/* Yalnızlığın Anatomisi — site stilleri. Fontlar: /assets/fontlar.css */

:root {
  /* Yalnızca koyu tema */
  --bg: #161412;
  --bg-soft: #1f1c19;
  --ink: #e7e0d5;
  --ink-soft: #b3aa9d;
  --ink-faint: #7f776c;
  --line: #34302b;
  --accent: #d88b7f;
  --accent-soft: #b9746a;
  --serif: 'Literata Variable', Georgia, 'Times New Roman', serif;
  --display: 'Cormorant Garamond', 'Literata Variable', Georgia, serif;
  --measure: 38rem;
  --gutter: 1rem;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-feature-settings: 'kern', 'liga', 'onum';
}

a {
  color: inherit;
  text-decoration-color: var(--line);
  text-underline-offset: 0.2em;
  transition: color 0.2s, text-decoration-color 0.2s;
}
a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

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

.wrap {
  width: min(100% - 2 * var(--gutter), 60rem);
  margin-inline: auto;
}
.wrap-narrow {
  width: min(100% - 2 * var(--gutter), var(--measure));
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-family: var(--serif);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Yazı gövdesi */
.prose {
  font-size: 1.125rem;
  line-height: 1.85;
  hyphens: auto;
  -webkit-hyphens: auto;
}
/* Kitap dizgisi: iki yana yaslı, heceli, paragraf başı girintili */
.prose p {
  margin: 0;
  white-space: pre-line;
  text-align: justify;
  text-justify: inter-word;
  text-wrap: pretty;
  hyphenate-limit-chars: 6 3 3;
}
.prose p + p {
  text-indent: 1.6em;
}
.prose h2 + p,
.prose hr + p,
.prose blockquote + p {
  text-indent: 0;
}
.prose p.dize {
  text-align: left;
  text-indent: 0;
  margin: 1.3em 0;
  padding-left: 1.6em;
  font-style: italic;
  color: var(--ink-soft);
}
.prose p.dize + p {
  text-indent: 0;
}
.prose blockquote p {
  text-align: left;
  text-indent: 0;
}
.prose h2 {
  font-size: 1.75rem;
  margin: 2.4em 0 0.8em;
  text-align: center;
}
.prose hr {
  border: 0;
  margin: 2.8em auto;
  text-align: center;
  height: 1em;
}
.prose hr::after {
  content: '∗ ∗ ∗';
  color: var(--ink-faint);
  letter-spacing: 0.6em;
  font-size: 0.85rem;
}
.prose blockquote {
  margin: 1.6em 0;
  padding-left: 1.2em;
  border-left: 2px solid var(--accent-soft);
  color: var(--ink-soft);
  font-style: italic;
}
.prose em {
  font-style: italic;
}
.prose.siir {
  hyphens: manual;
}
.prose.siir p,
.prose.siir p.dize {
  line-height: 1.9;
  padding-left: 0;
  font-style: normal;
  color: inherit;
  text-align: left;
  text-indent: 0;
  margin: 0 0 1.4em;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Üst bilgi ve alt bilgi ---------- */
.skip:focus {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--bg);
  z-index: 10;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}
.brand {
  text-decoration: none;
}
.brand-title {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
}
.site-nav a[aria-current='page'] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.45em;
}
main {
  min-height: 70vh;
}
.site-footer {
  margin-top: 6rem;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  font-size: 0.875rem;
  color: var(--ink-faint);
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.foot p {
  margin: 0;
}
.foot-sig {
  display: flex;
  flex-direction: column;
}
.foot-title {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.foot-links {
  display: flex;
  gap: 1.25rem;
  align-items: flex-end;
}
.foot-links a {
  text-decoration: none;
}
@media (max-width: 30rem) {
  .brand-title {
    font-size: 1.15rem;
  }
  .site-nav {
    gap: 0.9rem;
  }
}
@media (max-width: 22rem) {
  .bar {
    gap: 0.6rem;
  }
  .brand-title {
    font-size: 1rem;
  }
  .site-nav {
    gap: 0.7rem;
    font-size: 0.9rem;
  }
}

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
}
.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
}
.btn.ghost:hover {
  color: var(--accent);
  background: transparent;
}

/* ---------- Ana sayfa ---------- */
.hero {
  padding: clamp(4rem, 12vw, 8rem) 0 clamp(3rem, 8vw, 5rem);
  text-align: center;
}
.hero h1 {
  font-size: clamp(3.2rem, 11vw, 6.5rem);
  margin: 0.6rem 0 1.5rem;
  line-height: 0.95;
  font-weight: 400;
}
.epigraf {
  max-width: 30rem;
  margin: 0 auto;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.ana-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  gap: 4rem;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}
.bolum-bas {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.bolum-bas h2 {
  font-size: 2rem;
  margin: 0;
}
.bolum-bas a {
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.kitap-kart {
  position: sticky;
  top: 6rem;
  align-self: start;
  padding: 1.75rem;
  background: var(--bg-soft);
  border-radius: 6px;
}
.kitap-link {
  display: inline-block;
  margin-bottom: 1.25rem;
}
.kitap-kart h3 {
  font-size: 1.6rem;
  margin: 0.25rem 0 0.5rem;
}
.kitap-kart h3 a {
  text-decoration: none;
}
.kitap-kart p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}
.kitap-butonlar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.kitap-butonlar a {
  color: var(--accent);
}
@media (max-width: 52rem) {
  .ana-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }
  .kitap-kart {
    position: static;
  }
}

/* ---------- Kitap kapağı ---------- */
.kapak {
  --w: 15rem;
  position: relative;
  width: var(--w);
  aspect-ratio: 396 / 612;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(var(--w) * 0.06);
  padding: calc(var(--w) * 0.12);
  text-align: center;
  color: #e9e1d4;
  background:
    radial-gradient(120% 80% at 50% 10%, #3a2a27 0%, transparent 60%),
    linear-gradient(160deg, #241c1a, #120f0e);
  border-radius: 3px 6px 6px 3px;
  box-shadow:
    inset 6px 0 10px -6px rgba(0, 0, 0, 0.7),
    0 1px 1px rgba(0, 0, 0, 0.1),
    0 18px 40px -12px rgba(0, 0, 0, 0.45);
}
.kapak.sm {
  --w: 9.5rem;
}
.k-yazar {
  font-size: calc(var(--w) * 0.05);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.75;
}
.k-cizgi {
  width: 20%;
  height: 1px;
  background: #b5655d;
}
.k-baslik {
  font-family: var(--display);
  font-size: calc(var(--w) * 0.135);
  line-height: 1.05;
}
.k-alt {
  font-family: var(--display);
  font-style: italic;
  font-size: calc(var(--w) * 0.06);
  opacity: 0.7;
}

/* ---------- Yazı listesi ---------- */
.liste {
  list-style: none;
  margin: 0;
  padding: 0;
}
.liste li + li {
  border-top: 1px solid var(--line);
}
.liste .kart {
  display: block;
  padding: 1.6rem 0;
  text-decoration: none;
}
.liste .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}
.liste h3 {
  margin: 0;
  font-size: 1.65rem;
  transition: color 0.2s;
}
.liste .kart:hover h3 {
  color: var(--accent);
}
.liste .ozet {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Arşiv ---------- */
.arsiv-bas {
  padding: clamp(3rem, 9vw, 5rem) 0 1rem;
  text-align: center;
}
.arsiv-bas h1 {
  font-size: clamp(2.6rem, 8vw, 4rem);
  margin: 0;
}
.arsiv-bas .aciklama {
  color: var(--ink-soft);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  margin: 0.75rem auto 0;
  max-width: 30rem;
}
.filtre {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.filtre a {
  padding: 0.3rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--ink-soft);
}
.filtre a[aria-current='page'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.filtre small {
  opacity: 0.6;
  margin-left: 0.2rem;
}
.yil h2 {
  font-size: 1rem;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  margin: 3rem 0 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

/* ---------- Yazı sayfası ---------- */
.yazi-bas {
  padding: clamp(3rem, 9vw, 5.5rem) 0 2.5rem;
  text-align: center;
}
.yazi-bas .meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.yazi-bas .meta a {
  color: var(--accent);
  text-decoration: none;
}
.yazi-bas h1 {
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  margin: 0.75rem 0 0;
}
.yazi-bas .seri {
  margin: 0.9rem 0 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.yazi-bas::after {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  margin: 2.5rem auto 0;
  background: var(--accent-soft);
}
.prose > p:first-child:not(.dize)::first-letter {
  font-family: var(--display);
  float: left;
  font-size: 4.1em;
  line-height: 0.82;
  padding: 0.06em 0.1em 0 0;
  color: var(--accent);
}
.prose.siir > p:first-child::first-letter {
  all: unset;
}
.yazi-not {
  margin: 2.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--ink-faint);
}
.komsu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.komsu a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
}
.k-sonraki {
  text-align: right;
  grid-column: 2;
}
.k-baslik-link {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.2;
}
@media (max-width: 30rem) {
  .komsu {
    grid-template-columns: 1fr;
  }
  .k-sonraki {
    grid-column: 1;
  }
}
.onizleme-serit {
  position: sticky;
  top: 0;
  z-index: 6;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Beğeni ve yorumlar ---------- */
.etkilesim {
  margin-top: 3.5rem;
}
.begeni-satir {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 3.5rem;
}
.paylas {
  text-align: center;
  animation: belir 0.3s ease;
}
.paylas[hidden] {
  display: none;
}
.paylas-baslik {
  margin: 0 0 0.7rem;
  color: var(--ink-faint);
  font-size: 0.9rem;
}
.paylas-dugmeler {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.paylas-dugmeler button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.paylas-dugmeler button:hover:not(:disabled) {
  color: var(--accent);
  border-color: var(--accent);
}
.paylas-dugmeler button:disabled {
  opacity: 0.6;
  cursor: default;
}
.paylas-dugmeler svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.paylas-not {
  margin: 0.7rem auto 0;
  max-width: 30rem;
  color: var(--ink-faint);
  font-size: 0.85rem;
}
.paylas-ipucu {
  margin: -0.3rem auto 0.8rem;
  max-width: 30rem;
  color: var(--ink-faint);
  font-size: 0.82rem;
  line-height: 1.5;
}
.paylas-ig {
  color: var(--accent);
}
.paylas-not:empty {
  display: none;
}
@keyframes belir {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}
.begeni {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.begeni path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: fill 0.2s;
}
.begeni:hover:not(:disabled) {
  color: var(--accent);
  border-color: var(--accent);
}
.begeni[aria-pressed='true'] {
  color: var(--accent);
  border-color: var(--accent);
}
.begeni[aria-pressed='true'] path {
  fill: currentColor;
  animation: atis 0.35s ease;
}
.begeni:disabled {
  opacity: 0.6;
  cursor: default;
}
.begeni-sayi:not(:empty)::before {
  content: '·';
  margin-right: 0.5rem;
  color: var(--ink-faint);
}
@keyframes atis {
  50% {
    transform: scale(1.25);
  }
}
.begeni svg {
  transform-origin: center;
}
.etkilesim h2 {
  font-size: 1.9rem;
  margin: 0 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.yorum-sayi {
  color: var(--ink-faint);
  font-size: 0.7em;
}
.yorum-listesi {
  list-style: none;
  margin: 0;
  padding: 0;
}
.yorum-listesi li {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.yorum-listesi .yorum-bas {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  margin: 0 0 0.35rem;
}
.yorum-listesi .yorum-bas time {
  font-size: 0.8rem;
  color: var(--ink-faint);
}
.yorum-listesi .yorum-metin {
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
  color: var(--ink-soft);
}
.yorum-bos {
  color: var(--ink-faint);
  font-style: italic;
}
.yorum-formu {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-soft);
  border-radius: 8px;
}
.yorum-formu h3 {
  font-size: 1.4rem;
  margin: 0;
}
.yorum-formu label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.yorum-formu input,
.yorum-formu textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
  resize: vertical;
}
.yorum-formu input:focus,
.yorum-formu textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.yorum-formu .tuzak {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.yorum-formu .bilgi {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-faint);
}
.yorum-formu button {
  justify-self: start;
  padding: 0.65rem 1.6rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}
.yorum-formu button:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
}
.yorum-formu button:disabled {
  opacity: 0.6;
}
.yorum-formu .durum {
  margin: 0;
  font-size: 0.9rem;
  min-height: 1.4em;
}
.yorum-formu .durum.basarili {
  color: var(--ink);
}
.yorum-formu .durum.hata {
  color: var(--accent);
}
.yorumlar-kapali {
  color: var(--ink-faint);
  font-style: italic;
}

/* ---------- Kitap sayfası ---------- */
.tanitim {
  display: flex;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 9vw, 6rem) 0 3rem;
}
.tanitim-metin {
  max-width: 30rem;
}
.tanitim h1 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  margin: 0.4rem 0 1.25rem;
}
.tanitim blockquote {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.tanitim .butonlar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.icindekiler {
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
}
.icindekiler h2 {
  font-size: 2rem;
  text-align: center;
  margin: 0 0 1.5rem;
}
.icindekiler ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.icindekiler li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dotted var(--line);
}
.icindekiler .no {
  flex: none;
  width: 5.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.icindekiler .ad {
  font-family: var(--display);
  font-size: 1.35rem;
}
.okuyucu {
  margin-top: 4rem;
  scroll-margin-top: 5rem;
}
.okuyucu iframe {
  display: block;
  width: 100%;
  height: min(85vh, 60rem);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-soft);
}
.mobil-not {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-faint);
}
@media (max-width: 44rem) {
  .tanitim {
    flex-direction: column;
    text-align: center;
  }
  .tanitim .butonlar {
    justify-content: center;
  }
}

/* ---------- 404 ve bakım ---------- */
.bos-sayfa {
  text-align: center;
  padding: 8rem 0 4rem;
}
.bos-sayfa h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
}
.bos-sayfa p:last-child {
  color: var(--ink-soft);
}
