/* Ümit Mahir Şahin: harita kâğıdı, arazi yeşili ve pirinç */
:root {
  --paper: #eef0ea;
  --paper-2: #e3e7dd;
  --ink: #1d241c;
  --ink-2: #4b5547;
  --olive: #3d4d33;
  --brass: #9a7631;
  --line: #c9cfc0;
  --contour: #8f9c7f;
  --surface: #f7f8f4;
  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --wrap: 72rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #141913;
    --paper-2: #1b2219;
    --ink: #e4e8dd;
    --ink-2: #a9b2a1;
    --olive: #a9bd8f;
    --brass: #d1a85a;
    --line: #2f3a2c;
    --contour: #3c4a36;
    --surface: #192017;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --paper: #141913; --paper-2: #1b2219; --ink: #e4e8dd; --ink-2: #a9b2a1; --olive: #a9bd8f;
  --brass: #d1a85a; --line: #2f3a2c; --contour: #3c4a36; --surface: #192017; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* Üst bar */
.masthead { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 2; }
.masthead-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.wordmark {
  font-family: var(--display); font-weight: 750; font-stretch: 75%; font-size: 1.35rem;
  letter-spacing: -.005em; text-decoration: none; color: var(--ink); white-space: nowrap;
}
.mainnav { display: flex; align-items: center; gap: .25rem; font-family: var(--display); font-size: .98rem; }
.mainnav a { text-decoration: none; padding: .45rem .7rem; border-radius: 4px; color: var(--ink-2); }
.mainnav a:hover { color: var(--ink); background: var(--paper-2); }
.mainnav a[aria-current='page'] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }
.nav-search { display: inline-flex; }

/* Karşılama alanı */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.contours path { fill: none; stroke: var(--contour); stroke-width: 1; opacity: .55; }
.contours g:first-child path:nth-child(4n) { stroke-width: 1.6; opacity: .75; }
.hero-in { position: relative; padding-top: clamp(3.5rem, 9vw, 7.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero-name {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 62%;
  font-size: clamp(3.4rem, 13vw, 9.5rem);
  line-height: .9;
  letter-spacing: -.015em;
  margin: 0;
  padding-top: .08em;
  max-width: 9ch;
  color: var(--ink);
}
.hero-tagline {
  font-family: var(--display); font-stretch: 85%; font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--olive); margin: 1.4rem 0 0;
}
.hero-intro { max-width: 34rem; color: var(--ink-2); font-size: 1.1rem; margin: .9rem 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .contours g:first-child { animation: drift 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes drift { from { opacity: 0; transform: translate(170px, 10px) rotate(-12deg) scale(.92); } }
}

/* Düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-family: var(--display); font-weight: 600; font-size: .98rem;
  padding: .7rem 1.25rem; border-radius: 3px; text-decoration: none; cursor: pointer;
  background: var(--olive); color: var(--paper); border: 1px solid var(--olive);
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink-2); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* Öne çıkan yazı */
.lead { padding-top: 3rem; padding-bottom: 1rem; }
.lead-link { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2.5rem; align-items: center; text-decoration: none; }
.lead-link:not(:has(.lead-img)) { grid-template-columns: 1fr; max-width: 48rem; }
.lead-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); border-radius: 2px; }
.lead-img img { width: 100%; height: 100%; object-fit: cover; }
.lead-kicker { font-family: var(--display); font-weight: 600; color: var(--brass); margin: 0 0 .6rem; font-size: .95rem; }
.lead-title {
  font-family: var(--display); font-weight: 750; font-stretch: 72%;
  font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.02; margin: 0; letter-spacing: -.01em;
}
.lead-link:hover .lead-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--brass); }
.lead-excerpt { color: var(--ink-2); font-size: 1.1rem; margin: 1rem 0; }

/* Başlıklar */
.section-title {
  font-family: var(--display); font-weight: 700; font-stretch: 80%; font-size: 1.5rem;
  margin: 3.5rem 0 0; padding-bottom: .75rem; border-bottom: 2px solid var(--ink);
}
.page-head { padding-top: 3rem; padding-bottom: 1rem; }
.page-title {
  font-family: var(--display); font-weight: 800; font-stretch: 66%;
  font-size: clamp(2.6rem, 7vw, 4.75rem); line-height: .95; margin: 0; letter-spacing: -.01em;
}
.page-sub { color: var(--ink-2); font-family: var(--display); margin: .6rem 0 0; }

/* Yazı satırları */
.rows { display: flex; flex-direction: column; }
.row {
  display: grid; grid-template-columns: 9.5rem 1fr 11rem; gap: 1.75rem;
  padding: 1.75rem 0; border-bottom: 1px solid var(--line); align-items: start;
}
.row:not(:has(.row-thumb)) { grid-template-columns: 9.5rem 1fr; }
.row-date { font-family: var(--display); font-size: .92rem; color: var(--ink-2); padding-top: .35rem; }
.row-title {
  font-family: var(--display); font-weight: 700; font-stretch: 80%;
  font-size: 1.6rem; line-height: 1.12; margin: 0;
}
.row-title a { text-decoration: none; }
.row-title a:hover { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.row-excerpt { margin: .5rem 0 0; color: var(--ink-2); max-width: 40rem; }
.row-foot { display: flex; gap: 1.1rem; margin: .6rem 0 0; font-family: var(--display); font-size: .88rem; color: var(--ink-2); }
.row-thumb { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--paper-2); }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  display: inline-block; font-family: var(--display); font-size: .85rem; font-weight: 600;
  color: var(--olive); text-decoration: none; margin-bottom: .35rem;
}
.tag:hover { color: var(--brass); }
.more { margin: 2rem 0 0; }
.empty { color: var(--ink-2); padding: 3rem 0; font-size: 1.15rem; }

.cats { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; font-family: var(--display); }
.cats a { text-decoration: none; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; color: var(--ink-2); }
.cats a:hover { border-color: var(--ink-2); color: var(--ink); }
.cats a[aria-current='page'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.pager { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 2rem 0; font-family: var(--display); }
.pager a { text-decoration: none; font-weight: 600; }
.pager a:hover { color: var(--brass); }
.pager-pos { color: var(--ink-2); font-size: .92rem; }

/* Yazı sayfası */
.draft-banner { background: var(--brass); color: #fff; padding: .7rem 1.25rem; text-align: center; font-family: var(--display); }
.draft-banner a { color: #fff; font-weight: 700; }
.post-head { max-width: 50rem; padding-top: 3.5rem; padding-bottom: 2rem; }
.post-title {
  font-family: var(--display); font-weight: 800; font-stretch: 68%;
  font-size: clamp(2.4rem, 6.2vw, 4.4rem); line-height: .98; letter-spacing: -.012em; margin: .2rem 0 0;
  text-wrap: balance;
}
.post-dek { font-size: 1.3rem; line-height: 1.45; color: var(--ink-2); margin: 1.2rem 0 0; max-width: 40rem; }
.post-byline { display: flex; align-items: center; gap: .8rem; margin-top: 1.8rem; font-family: var(--display); }
.byline-name { font-weight: 650; text-decoration: none; }
.byline-name:hover { color: var(--brass); }
.byline-meta, .meta { display: flex; flex-wrap: wrap; gap: 1rem; margin: .1rem 0 0; color: var(--ink-2); font-size: .92rem; font-family: var(--display); }
.meta-author { font-weight: 600; text-decoration: none; color: var(--ink); }
.post-cover { margin: 0 auto 1rem; max-width: 64rem; padding: 0 1.25rem; }
.post-cover img { width: 100%; max-height: 38rem; object-fit: cover; border-radius: 2px; }
.avatar { border-radius: 50%; object-fit: cover; flex: none; }
.avatar-initials {
  display: inline-grid; place-items: center; background: var(--olive); color: var(--paper);
  font-family: var(--display); font-weight: 700; font-size: .9rem;
}

/* Okuma metni */
.prose { max-width: 42rem; margin: 2rem auto 0; font-size: 1.2rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.3em; }
.prose p { margin: 0; }
.prose h2, .prose h3 {
  font-family: var(--display); font-stretch: 78%; line-height: 1.15; margin: 2.2em 0 0; letter-spacing: -.005em;
}
.prose h2 { font-size: 1.85rem; font-weight: 750; }
.prose h3 { font-size: 1.4rem; font-weight: 700; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { color: var(--olive); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--brass); }
.prose blockquote {
  margin-left: 0; margin-right: 0; padding: .2rem 0 .2rem 1.4rem; border-left: 3px solid var(--brass);
  font-style: italic; color: var(--ink-2); font-size: 1.3rem;
}
.prose blockquote p { margin: 0; }
.prose img { border-radius: 2px; margin-left: auto; margin-right: auto; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--brass); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em auto; width: 40%; }
.prose code { font-size: .88em; background: var(--paper-2); padding: .1em .35em; border-radius: 3px; }
.prose pre { background: var(--paper-2); padding: 1rem; overflow-x: auto; border-radius: 3px; font-size: .9rem; }
.prose table { border-collapse: collapse; width: 100%; font-size: 1rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .5rem; text-align: left; }

.author-card {
  max-width: 42rem; margin: 3.5rem auto 0; padding: 1.5rem 0; display: flex; gap: 1.1rem;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line);
}
.author-card-label { font-family: var(--display); color: var(--ink-2); font-size: .88rem; margin: 0; }
.author-card-name { font-family: var(--display); font-weight: 750; font-stretch: 80%; font-size: 1.35rem; text-decoration: none; }
.author-card-title { margin: 0; color: var(--olive); font-family: var(--display); font-size: .95rem; }
.author-card-bio { margin: .5rem 0 0; color: var(--ink-2); font-size: 1rem; }
.share { max-width: 42rem; margin: 1.25rem auto 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-family: var(--display); font-size: .95rem; }
.share span { color: var(--ink-2); }
.share a { font-weight: 600; text-decoration: none; }
.share a:hover { color: var(--brass); }
.more-posts { margin-top: 2rem; }

/* Yazarlar */
.authors { display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 0 2.5rem; }
.author { display: flex; gap: 1.1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); text-decoration: none; }
.author:hover .author-name { color: var(--brass); }
.author-name { font-family: var(--display); font-weight: 750; font-stretch: 80%; font-size: 1.45rem; margin: 0; }
.author-title { margin: 0; color: var(--olive); font-family: var(--display); }
.author-bio { margin: .4rem 0 0; color: var(--ink-2); font-size: 1rem; }
.author-count { margin: .4rem 0 0; font-family: var(--display); font-size: .88rem; color: var(--ink-2); }
.author-head { display: flex; gap: 1.5rem; align-items: center; }
.author-head-bio { max-width: 38rem; color: var(--ink-2); margin: .6rem 0 0; }
.about-social { max-width: 42rem; margin: 2.5rem auto 0; }

/* Arama */
.search { display: flex; gap: .6rem; margin-top: 1.5rem; max-width: 36rem; }
.search input {
  flex: 1; min-width: 0; font: inherit; font-size: 1.1rem; padding: .7rem .9rem;
  border: 1px solid var(--ink-2); border-radius: 3px; background: var(--surface); color: var(--ink);
}

.notfound { padding-top: 5rem; padding-bottom: 5rem; }
.notfound p { color: var(--ink-2); }

/* Alt bilgi */
.footer { margin-top: 5rem; background: var(--olive); color: #e9ece4; }
.footer-in { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-top: 2.5rem; padding-bottom: 1.5rem; }
.footer-name { font-family: var(--display); font-weight: 800; font-stretch: 68%; font-size: 2rem; margin: 0; color: #fff; }
.footer-note { margin: .4rem 0 0; color: #c6cdbd; font-size: .95rem; max-width: 30rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; font-family: var(--display); align-items: flex-start; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { padding-bottom: 2rem; color: #b4bdab; font-family: var(--display); font-size: .85rem; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .footer { background: #0e120d; border-top: 1px solid var(--line); }
}
:root[data-theme='dark'] .footer { background: #0e120d; border-top: 1px solid var(--line); }

/* Mobil */
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .wrap { padding-left: 1rem; padding-right: 1rem; }
  .masthead-in { min-height: 3.75rem; }
  .wordmark { font-size: 1.15rem; }
  .mainnav { gap: 0; font-size: .92rem; }
  .mainnav a { padding: .4rem .45rem; }
  .lead-link { grid-template-columns: 1fr; gap: 1.25rem; }
  .row, .row:not(:has(.row-thumb)) { grid-template-columns: 1fr; gap: .4rem; padding: 1.4rem 0; }
  .row-thumb { order: -1; aspect-ratio: 16 / 9; }
  .row-date { padding: 0; font-size: .85rem; }
  .row-title { font-size: 1.4rem; }
  .prose { font-size: 1.1rem; }
  .post-cover { padding: 0; }
  .post-cover img { border-radius: 0; }
  .author-head { flex-direction: column; align-items: flex-start; }
  .authors { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .wordmark { font-size: 1rem; }
  .mainnav a:not(.nav-search) { padding: .4rem .3rem; }
}
