/* ==========================================================================
   MARJİNAL — tasarım sistemi
   Logodan türetildi: siyah zemin, kemik beyazı harfler, tek kırmızı "j"
   ve dikey kırmızı kılcal çizgi. O çizgi sitenin ana motifi: "kenar boşluğu".
   ========================================================================== */

:root {
  /* Renkler (logodan örneklendi) */
  --ink: #0b0b0a;          /* zemin */
  --ink-2: #141412;        /* kart / yükseltilmiş yüzey */
  --ink-3: #1f1e1b;        /* çizgiler */
  --bone: #f2ede7;         /* ana metin */
  --bone-dim: #a9a39b;     /* ikincil metin */
  --bone-faint: #6f6a63;   /* meta metin */
  --accent: #7b1a19;       /* logodaki kırmızı (panelden değiştirilebilir) */
  --accent-bright: #b3302b;/* koyu zeminde okunabilir kırmızı (link, hover) */

  /* Tipografi */
  --font-display: "Cormorant Garamond", "Cormorant", Garamond, serif;
  --font-body: "Newsreader", "Source Serif 4", Georgia, serif;
  --font-meta: "IBM Plex Mono", ui-monospace, monospace;

  /* Ölçüler */
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --measure: 68ch;
  --margin-col: 180px;     /* kenar sütunu genişliği */
  --rule: 1px solid var(--ink-3);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-bright); }
.prose a { color: var(--bone); text-decoration: underline; text-decoration-color: var(--accent);
           text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--accent-bright); }

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

:focus-visible { outline: 1px solid var(--accent-bright); outline-offset: 3px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--bone); color: var(--ink);
             padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Meta (mono, küçük, geniş aralıklı) ---------- */
.meta {
  font-family: var(--font-meta);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.meta a:hover { color: var(--accent-bright); }
.meta .cat { color: var(--accent-bright); }
.meta .sep { margin: 0 .6em; color: var(--ink-3); }

/* ---------- Kelime markası (logo) ---------- */
.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  margin-right: -.42em; /* son harfteki aralığı dengele */
}
/* j: logodaki çizimin kendisi (static/img/j.svg). Harf metinde yine "j" olarak
   durur (erişilebilirlik, arama), görünüşü logodan gelir. Oranlar logodan ölçüldü:
   boy = büyük harf yüksekliği x 2.08, kuyruk tabandan x 0.71 aşağıda. */
.wordmark {
  --cap: .63em;                  /* Cormorant Garamond büyük harf yüksekliği */
  --j-color: #7c1b19;            /* logodaki j'nin rengi */
}
.wordmark .j {
  position: relative; display: inline-block;
  width: calc(var(--cap) * .84); height: calc(var(--cap) * 2.08);
  vertical-align: calc(var(--cap) * -.71);
  margin-right: .42em;           /* diğer harflerle aynı aralık */
  letter-spacing: 0; text-transform: none; font-style: normal;
  color: transparent; overflow: hidden;
}
.wordmark .j::before {
  content: ""; position: absolute; inset: 0;
  background: var(--j-color); transition: background-color 1.6s ease;
  -webkit-mask: url("../img/j.f5e88d773461.svg") center / 100% 100% no-repeat;
  mask: url("../img/j.f5e88d773461.svg") center / 100% 100% no-repeat;
}
/* 404 sayfasındaki "4 0 4" yazısında ortadaki 0 normal metin kalsın */
.hero-mark .wordmark .j {
  width: auto; height: auto; vertical-align: baseline; overflow: visible;
  margin-right: 0; letter-spacing: .42em; color: var(--j-color);
}
.hero-mark .wordmark .j::before { display: none; }

/* ---------- Duyuru bandı ---------- */
.announcement {
  background: var(--accent);
  color: var(--bone);
  text-align: center;
  padding: 8px var(--gutter);
  font-family: var(--font-meta);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.announcement a:hover { color: var(--ink); }

/* ---------- Üst bar ---------- */
.site-header {
  border-bottom: var(--rule);
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  backdrop-filter: blur(6px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 72px;
}
.site-header .wordmark { font-size: 1.35rem; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  font-family: var(--font-meta);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav-list a:hover { color: var(--bone); }
.nav-list a[aria-current="page"] { color: var(--bone); border-bottom-color: var(--accent-bright); }

.search-form { display: flex; align-items: center; border-bottom: 1px solid var(--ink-3); }
.search-form:focus-within { border-bottom-color: var(--accent-bright); }
.search-form input {
  background: transparent; border: 0; color: var(--bone);
  font-family: var(--font-meta); font-size: .8rem; letter-spacing: .06em;
  width: 150px; padding: 6px 4px;
}
.search-form input::placeholder { color: var(--bone-faint); }
.search-form input:focus { outline: none; }
.search-form button { background: none; border: 0; color: var(--bone-dim); cursor: pointer; padding: 4px; }
.search-form button:hover { color: var(--accent-bright); }

.menu-toggle {
  display: none; background: none; border: 0; color: var(--bone); cursor: pointer;
  font-family: var(--font-meta); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 8px 0;
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); border-bottom: var(--rule);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
  }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 14px 0; border-bottom: var(--rule); font-size: .85rem; }
  .nav-list a[aria-current="page"] { border-bottom-color: var(--ink-3); color: var(--accent-bright); }
  .search-form { margin-top: 16px; }
  .search-form input { width: 100%; font-size: 1rem; }
}

/* ---------- Kırmızı kılcal çizgi (logodaki dikey çizgi) ---------- */
.hairline { width: 1px; background: var(--accent); margin: 0 auto; }

/* ---------- Anasayfa: açılış ---------- */
.hero-mark {
  text-align: center;
  padding: clamp(40px, 8vw, 96px) var(--gutter) clamp(32px, 6vw, 72px);
  border-bottom: var(--rule);
}
.hero-mark .hairline { height: clamp(40px, 7vw, 80px); }
.hero-mark .wordmark {
  display: block;
  font-size: clamp(2.2rem, 8.5vw, 6.5rem);
  font-weight: 400;
  margin: clamp(20px, 3vw, 32px) auto;
}
.hero-mark .manifesto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--bone-dim);
  margin: 0 0 clamp(20px, 3vw, 32px);
}

/* ---------- Bölüm başlıkları ---------- */
.section { padding: clamp(40px, 6vw, 80px) 0; border-bottom: var(--rule); }
.section:last-of-type { border-bottom: 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.section-title {
  font-family: var(--font-meta); font-weight: 400;
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bone-dim); margin: 0;
  display: flex; align-items: center; gap: 14px;
}
.section-title::before { content: ""; width: 28px; height: 1px; background: var(--accent-bright); }

/* ---------- Manşet ---------- */
.lead-story {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.lead-story .cover { aspect-ratio: 4 / 3; background: var(--ink-2); overflow: hidden; }
.lead-story .cover img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.lead-story h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.01em;
  margin: 14px 0 16px;
}
.lead-story .excerpt { color: var(--bone-dim); font-size: 1.15rem; margin: 0 0 20px; }

@media (max-width: 860px) { .lead-story { grid-template-columns: 1fr; } }

/* ---------- Kartlar ---------- */
.grid { display: grid; gap: clamp(28px, 3vw, 48px) clamp(20px, 3vw, 40px); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--ink-3); }
.card:hover { border-top-color: var(--accent-bright); }
.card .cover { aspect-ratio: 3 / 2; background: var(--ink-2); overflow: hidden; margin-bottom: 6px; }
.card .cover img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5); transition: filter .3s; }
.card:hover .cover img { filter: grayscale(0); }
.card h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.65rem; line-height: 1.12; margin: 0;
}
.card p { color: var(--bone-dim); font-size: 1rem; margin: 0; }

/* Görseli olmayan kart için tipografik kapak */
.cover-type {
  width: 100%; height: 100%; display: grid; place-items: center;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), var(--accent) calc(50% - .5px),
                    var(--accent) calc(50% + .5px), transparent calc(50% + .5px)),
    var(--ink-2);
}
.cover-type span {
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--ink-2); padding: 4px 14px; color: var(--bone-dim);
}

/* ---------- Kategori şeridi / filtre ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pills a {
  display: inline-block; padding: 7px 14px;
  border: 1px solid var(--ink-3);
  font-family: var(--font-meta); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone-dim);
}
.pills a:hover { border-color: var(--bone-dim); color: var(--bone); }
.pills a[aria-current="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* ---------- Liste (Yazılar sayfası) ---------- */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); border-bottom: var(--rule); }
.page-head h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1; margin: 0 0 18px; letter-spacing: -.01em;
}
.page-head .intro { color: var(--bone-dim); max-width: 60ch; font-size: 1.2rem; }
.page-head .intro p { margin: 0; }

.row-list { list-style: none; margin: 0; padding: 0; }
.row {
  display: grid; grid-template-columns: var(--margin-col) 1fr 160px; gap: 24px;
  padding: 28px 0; border-bottom: var(--rule); align-items: start;
}
.row:hover h2 { color: var(--accent-bright); }
.row h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; line-height: 1.1; margin: 0 0 8px; }
.row p { margin: 0; color: var(--bone-dim); font-size: 1.02rem; }
.row .thumb { aspect-ratio: 1; background: var(--ink-2); overflow: hidden; }
.row .thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5); }
@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; gap: 10px; }
  .row .thumb { display: none; }
}

.pagination { display: flex; justify-content: space-between; padding: 32px 0; }

/* ---------- Yazı sayfası: kenar sütunlu düzen ---------- */
.article-head { padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 40px); text-align: center; }
.article-head .hairline { height: 48px; margin-bottom: 28px; }
.article-head h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 4.8rem); line-height: 1.04; letter-spacing: -.01em;
  max-width: 18ch; margin: 16px auto 18px;
}
.article-head .subtitle {
  font-family: var(--font-display); font-style: italic; color: var(--bone-dim);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem); max-width: 40ch; margin: 0 auto;
}
.article-cover { max-width: 1040px; margin: 0 auto clamp(32px, 5vw, 64px); }
.article-cover img { width: 100%; filter: grayscale(.2); }

.article-layout {
  display: grid;
  grid-template-columns: var(--margin-col) minmax(0, var(--measure)) 1fr;
  gap: 0 clamp(24px, 4vw, 56px);
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 80px;
}
.margin-col {
  border-right: 1px solid var(--accent);
  padding-right: 20px; text-align: right;
  display: flex; flex-direction: column; gap: 18px;
  align-self: start; position: sticky; top: 100px;
}
.margin-col dt { font-family: var(--font-meta); font-size: .66rem; letter-spacing: .16em;
                 text-transform: uppercase; color: var(--bone-faint); }
.margin-col dd { margin: 2px 0 0; font-size: .95rem; }
.margin-col dl { margin: 0; display: grid; gap: 16px; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .margin-col {
    position: static; text-align: left; border-right: 0;
    border-left: 1px solid var(--accent); padding: 0 0 0 16px; margin-bottom: 36px;
  }
  .margin-col dl { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Metin ---------- */
.prose { font-size: 1.2rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose > .block-paragraph:first-child > p:first-child::first-letter {
  font-family: var(--font-display); float: left; font-size: 4.6em; line-height: .82;
  padding: .06em .1em 0 0; color: var(--accent-bright);
}
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: 2rem; line-height: 1.15; margin: 1.8em 0 .2em; }
.prose blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 1px solid var(--accent); color: var(--bone-dim); font-style: italic; }
.prose hr { border: 0; text-align: center; margin: 2.4em 0; }
.prose hr::after { content: "j"; font-family: var(--font-display); font-style: italic; color: var(--accent-bright); font-size: 1.4rem; }

.pull-quote { margin: 2em 0 !important; padding: 28px 0; border-left: 0 !important; padding-left: 0 !important; color: var(--bone) !important; font-style: normal !important; border-top: 1px solid var(--accent); border-bottom: var(--rule); }
.pull-quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.2; margin: 0; }
.pull-quote cite { display: block; margin-top: 12px; font-style: normal; }

.figure { margin: 2em 0; }
.figure.wide { margin-left: calc(-1 * var(--margin-col)); }
@media (max-width: 900px) { .figure.wide { margin-left: 0; } }
.figure figcaption { margin-top: 10px; }

.embed { position: relative; aspect-ratio: 16 / 9; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Şiir */
.verse { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.6; white-space: pre-line; }
.verse-layout .prose { max-width: 36ch; }
.verse-layout .prose > .block-paragraph:first-child > p:first-child::first-letter { all: unset; }

/* ---------- Yazar kartı / ekip ---------- */
.byline-box {
  display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center;
  border-top: 1px solid var(--accent); padding-top: 24px; margin-top: 56px;
}
.avatar {
  width: 72px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--ink-2);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.8rem; color: var(--bone-dim);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }

.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: var(--rule); }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.member { padding: 32px 24px 32px 0; border-bottom: var(--rule); display: flex; flex-direction: column; gap: 14px; }
.member .avatar { width: 96px; font-size: 2.4rem; }
.member h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.8rem; margin: 0; line-height: 1.1; }
.member p { margin: 0; color: var(--bone-dim); font-size: 1rem; }
.member:hover h2 { color: var(--accent-bright); }

/* ---------- Biz Kimiz ---------- */
.about-lead {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3.8vw, 2.8rem); line-height: 1.2;
  max-width: 28ch; margin: 0;
}
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
@media (max-width: 700px) { .principles { grid-template-columns: 1fr; } }
.principle { padding: 24px 0; border-top: 1px solid var(--accent); }
.principle h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin: 0 0 6px; }
.principle p { margin: 0; color: var(--bone-dim); }

/* ---------- Footer ---------- */
.site-footer { border-top: var(--rule); margin-top: 40px; }
.site-footer .wordmark { font-size: 1.1rem; }
.site-footer p { color: var(--bone-faint); font-size: .95rem; margin: 12px 0 0; }
.site-footer ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.site-footer .imprint { white-space: pre-line; }

/* Başvuru çağrısı: footer'ın en üstünde, logodaki kırmızı çizgiyle ayrılmış şerit */
.footer-call { border-bottom: var(--rule); position: relative; }
.footer-call::before {                       /* soldan sağa incelen kırmızı kılcal çizgi */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent) 20%, var(--accent) 80%, transparent);
}
.footer-call .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px);
}
.footer-call-title {
  font-family: var(--font-display); font-weight: 400; color: var(--bone) !important;
  font-size: clamp(2rem, 4.6vw, 3.4rem) !important; line-height: 1.05; margin: 10px 0 0 !important;
}
.footer-call-text { max-width: 52ch; font-size: 1.05rem !important; color: var(--bone-dim) !important; }
.footer-call-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border: 1px solid var(--accent);
  font-family: var(--font-meta); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone); transition: background .25s ease, color .25s ease;
}
.footer-call-btn span { transition: transform .25s ease; }
.footer-call-btn:hover { background: var(--accent); color: var(--bone); }
.footer-call-btn:hover span { transform: translate(3px, -3px); }

/* Sütunlar */
.footer-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }

/* Sosyal medya: ad (mono) + kullanıcı adı (serif) + ok */
.social { gap: 0 !important; }
.social a {
  display: grid; grid-template-columns: 5.5rem 1fr auto; align-items: baseline; gap: 12px;
  padding: 10px 0; border-bottom: var(--rule);
}
.social li:first-child a { border-top: var(--rule); }
.social-name { font-family: var(--font-meta); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-faint); }
.social-handle { font-family: var(--font-display); font-size: 1.15rem; color: var(--bone); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-arrow { color: var(--bone-faint); transition: transform .2s ease, color .2s ease; }
.social a:hover .social-handle { color: var(--bone); }
.social a:hover .social-arrow { color: var(--accent-bright); transform: translate(2px, -2px); }
.social a:hover .social-name { color: var(--accent-bright); }

.footer-links { font-size: .95rem; }
.footer-links a { color: var(--bone-dim); }
.footer-links a:hover { color: var(--accent-bright); }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 20px; padding-bottom: 28px; border-top: var(--rule);
}

@media (max-width: 860px) {
  .footer-call .wrap { flex-direction: column; align-items: flex-start; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-bottom { flex-direction: column; gap: 6px; }
}

.empty { padding: 60px 0; color: var(--bone-faint); font-family: var(--font-display); font-style: italic; font-size: 1.4rem; }

.btn-link { font-family: var(--font-meta); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
            color: var(--bone-dim); border-bottom: 1px solid var(--accent-bright); padding-bottom: 2px; }
.btn-link:hover { color: var(--bone); }

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

/* ---------- Canlı arama ---------- */
.search-wrap { position: relative; }
.live-results:empty { display: none; }
.live-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: 340px; z-index: 60;
  background: var(--ink-2); border: 1px solid var(--ink-3); border-top: 1px solid var(--accent-bright);
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
}
.live-panel ul { list-style: none; margin: 0; padding: 6px 0; }
.live-panel li a { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; }
.live-panel li a:hover, .live-panel li a:focus { background: var(--ink-3); outline: none; }
.live-title { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; color: var(--bone); }
.live-all { display: block; padding: 10px 16px; border-top: 1px solid var(--ink-3); }
.live-empty { margin: 0; padding: 14px 16px; color: var(--bone-faint); font-style: italic; }
@media (max-width: 860px) {
  .live-panel { position: static; width: auto; margin-top: 8px; box-shadow: none; }
}

.search-big { display: flex; gap: 16px; align-items: center; margin-top: 28px; max-width: 640px;
              border-bottom: 1px solid var(--bone-faint); }
.search-big:focus-within { border-bottom-color: var(--accent-bright); }
.search-big input { flex: 1; background: transparent; border: 0; color: var(--bone); padding: 10px 0;
                    font-family: var(--font-display); font-size: 1.5rem; }
.search-big input:focus { outline: none; }
.search-big input::placeholder { color: var(--bone-faint); font-style: italic; }
.search-big button { background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
.snippet mark { background: none; color: var(--bone); border-bottom: 1px solid var(--accent-bright); }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.row .thumb:empty { background: none; }


/* ==========================================================================
   ANASAYFA KAYAN ALAN (slider)
   ========================================================================== */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.slider { position: relative; border-bottom: var(--rule); }
.slider-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.slider-track::-webkit-scrollbar { display: none; }

.slide {
  flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(460px, 72vh, 660px);
  display: flex; align-items: flex-end;
}
.slide-inner {
  position: relative; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter) clamp(72px, 9vw, 104px);
}
.slide h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.01em;
  max-width: 17ch; margin: 14px 0 16px;
}
.slide h2 a:hover { color: var(--bone); text-decoration: underline; text-decoration-color: var(--accent-bright);
                    text-decoration-thickness: 1px; text-underline-offset: 8px; }
.slide .excerpt { color: var(--bone-dim); font-size: 1.15rem; max-width: 50ch; margin: 0 0 22px; }

/* Kapak görseli olan slayt: görsel + okunabilirlik için karartma */
.slide-bg { position: absolute; inset: 0; z-index: -2; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.slide::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, var(--ink) 4%, rgba(11,11,10,.82) 38%, rgba(11,11,10,.25) 75%, rgba(11,11,10,.1));
}

/* Logo slaytı: eski açılış ekranı */
.slide-brand { align-items: center; text-align: center; }
.slide-brand::after { display: none; }
.slide-brand .slide-inner { padding-bottom: 0; }
.slide-brand .hairline { height: clamp(40px, 7vw, 80px); }
.slide-brand .wordmark {
  display: block; font-size: clamp(2.2rem, 8.5vw, 6.5rem); font-weight: 400;
  margin: clamp(20px, 3vw, 32px) auto;
}
.slide-brand .manifesto {
  font-family: var(--font-display); font-style: italic; color: var(--bone-dim);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem); margin: 0 0 clamp(20px, 3vw, 32px);
}

/* Kontroller: sağ altta sayaç + oklar, en altta ilerleme çizgisi */
.slider-controls {
  position: absolute; right: var(--gutter); bottom: 28px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
}
@media (min-width: 1340px) { .slider-controls { right: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
.slider-btn {
  width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer;
  background: rgba(11,11,10,.6); color: var(--bone); border: 1px solid var(--ink-3);
  font-family: var(--font-meta); font-size: 1rem;
}
.slider-btn:hover { border-color: var(--accent-bright); color: var(--accent-bright); }
.slider-count { color: var(--bone-dim); }
.slider-count [data-current] { color: var(--bone); }

.slider-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink-3); }
.slider-progress span {
  display: block; height: 100%; background: var(--accent-bright); transform-origin: left;
  animation: slider-progress var(--slide-duration, 7s) linear forwards;
}
.slider.is-paused .slider-progress span { animation-play-state: paused; }
.slider.is-manual .slider-progress { display: none; }
@keyframes slider-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 700px) {
  .slide { min-height: 520px; }
  .slider-controls { bottom: 20px; }
  .slider-btn { width: 36px; height: 36px; }
}

/* ==========================================================================
   CSS ART — "Kenar"
   Eğik duran bir el yazması sayfası: metin satırları, logodaki kırmızı
   kenar çizgisi sayfayı boydan boya keser, kenar boşluğunda j'nin noktası
   ve bir okurun düştüğü küçük not izleri. Hiç görsel dosyası yok.
   ========================================================================== */
.margin-art {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(ellipse at 72% 40%, rgba(123,26,25,.16), transparent 55%),
    radial-gradient(ellipse at 20% 100%, rgba(242,237,231,.04), transparent 60%),
    var(--ink);
  --tilt: -5deg; --x: 9%; --y: 10%; --w: min(430px, 36vw);
}
.ma-v2 { --tilt: 4deg;  --x: 14%; --y: 14%; }
.ma-v3 { --tilt: -2deg; --x: 6%;  --y: 6%;  }

/* ince kağıt dokusu */
.margin-art::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: repeating-radial-gradient(circle at 30% 30%, rgba(255,255,255,.012) 0 1px, transparent 1px 3px);
}

.ma-page {
  position: absolute; right: var(--x); top: var(--y);
  width: var(--w); aspect-ratio: 3 / 4;
}
.ma-page--back {
  background: #121110; transform: rotate(calc(var(--tilt) * -1.4)) translate(14px, 10px);
  box-shadow: 0 30px 80px rgba(0,0,0,.7);
}
.ma-page--front {
  background: linear-gradient(160deg, #1b1a17, #141311 70%);
  transform: rotate(var(--tilt));
  box-shadow: 0 40px 90px rgba(0,0,0,.75), inset 0 0 0 1px rgba(242,237,231,.05);
}

/* metin satırları: iki paragraf, sağ kenarı düzensiz */
.ma-lines {
  position: absolute; inset: 13% 10% 16% 26%;
  background: repeating-linear-gradient(to bottom, rgba(242,237,231,.16) 0 2px, transparent 2px 17px);
  -webkit-mask-image:
    linear-gradient(to bottom, #000 0 34%, transparent 34% 41%, #000 41% 88%, transparent 88%),
    repeating-linear-gradient(to bottom, #000 0 17px, rgba(0,0,0,.55) 17px 34px, #000 34px 51px, rgba(0,0,0,.3) 51px 68px),
    linear-gradient(to right, #000 62%, transparent 96%);
  -webkit-mask-composite: source-in, source-in;
  mask-image:
    linear-gradient(to bottom, #000 0 34%, transparent 34% 41%, #000 41% 88%, transparent 88%),
    repeating-linear-gradient(to bottom, #000 0 17px, rgba(0,0,0,.55) 17px 34px, #000 34px 51px, rgba(0,0,0,.3) 51px 68px),
    linear-gradient(to right, #000 62%, transparent 96%);
  mask-composite: intersect;
}

/* logodaki kırmızı çizgi: sayfanın kenar boşluğundan geçip ekranı boydan boya keser */
.ma-rule {
  position: absolute; left: 19%; top: -60vh; bottom: -60vh; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent) 20%, var(--accent) 80%, transparent);
}

/* j'nin noktası: kenar boşluğunda duran tek kırmızı nokta */
.ma-dot {
  position: absolute; left: 8.5%; top: 27%; width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 6px rgba(179,48,43,.12), 0 0 30px rgba(179,48,43,.45);
  animation: ma-breathe 5s ease-in-out infinite;
}

/* kenara düşülmüş not: el yazısı izi gibi kısa eğik çizgiler */
.ma-note {
  position: absolute; left: 5%; top: 50%; width: 10%; height: 64px;
  background: repeating-linear-gradient(to bottom, rgba(179,48,43,.55) 0 1px, transparent 1px 11px);
  transform: rotate(-9deg);
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent);
  mask-image: linear-gradient(to right, #000 55%, transparent);
}

/* sayfa başlığı gibi: kategori adı, sayfanın üst köşesinde */
.ma-folio {
  position: absolute; right: 10%; top: 6%;
  font-family: var(--font-meta); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(242,237,231,.28);
}

@keyframes ma-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.18); opacity: .8; }
}

/* telefonda sayfa küçülür ve arka plana çekilir, yazı okunur kalır */
@media (max-width: 760px) {
  .margin-art { --w: 62vw; --x: -6%; --y: 6%; }
  .ma-page { opacity: .55; }
}
@media (prefers-reduced-motion: reduce) { .ma-dot { animation: none; } }


/* ==========================================================================
   LOGO SLAYTI ANİMASYONU (brand-intro.js ile birlikte çalışır)
   Aşamalar sahneye sınıf olarak eklenir ve birikir:
   p-appear → p-ignite → p-scatter → p-flood → p-reveal → p-out
   ========================================================================== */
.brand-intro {
  /* Bütün kızıllık logodaki j'nin tonundan (#7c1b19) türetilir */
  --j-rgb: 124, 27, 25;     /* j'nin rengi, rgb olarak (saydamlıklı tonlar için) */
  --crimson: #5e1412;       /* yayılan kızıllığın ana tonu (j'nin koyulaşmış hâli) */
  --crimson-light: #7c1b19; /* j'nin kendisi: kızıllığın en aydınlık yeri */
  --crimson-deep: #2e0908;  /* kenarlarda neredeyse siyaha varan koyu kızıl */
  position: absolute; inset: 0; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(ellipse at center, #100f0e 0%, var(--ink) 70%);
}
.bi-glow  { z-index: 1; }
.bi-field { position: absolute; inset: 6% 3%; z-index: 2; }
.bi-flood { z-index: 3; }
.bi-void  { z-index: 4; }
.bi-center { position: relative; z-index: 5; padding: 0 var(--gutter);
              --hl: clamp(40px, 7vw, 80px); }   /* kılcal çizgi boyu */

/* Geçişleri bir anlığına kapat (döngü başa sararken) */
.brand-intro.bi-reset *, .brand-intro.bi-reset *::before, .brand-intro.bi-reset *::after {
  transition: none !important; animation: none !important;
}

/* --- 1. Karanlıktan beliren logo --- */
.bi-mark span {
  display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(6px);
  transition: opacity 1.3s ease, filter 1.6s ease, transform 1.6s ease, color 1.8s ease, text-shadow 1.8s ease;
  transition-delay: calc(var(--i) * 190ms);
}
.brand-intro .hairline { opacity: 0; transition: opacity 2s ease 1.2s; }
.brand-intro .manifesto { opacity: 0; transition: opacity 1.6s ease; }

.p-appear .bi-mark span { opacity: 1; filter: none; transform: none; }
.p-appear .hairline { opacity: 1; }

/* --- 2. j kızıllaşır, etrafa kızıllık yayar (çizgisiz, yumuşak ışık) --- */
.bi-glow {
  position: absolute; left: var(--gx, 50%); top: var(--gy, 50%);
  width: min(1000px, 140vmin); aspect-ratio: 1; pointer-events: none;
  transform: translate(-50%, -50%) scale(.1); opacity: 0;
  transition: opacity 1.8s ease, transform 2.6s cubic-bezier(.2, .7, .2, 1);
  background: radial-gradient(circle,
    rgba(var(--j-rgb), .45) 0%, rgba(var(--j-rgb), .4) 10%, rgba(var(--j-rgb), .2) 28%,
    rgba(var(--j-rgb), .08) 44%, transparent 64%);
  filter: blur(6px);
}
.p-ignite .bi-glow { opacity: 1; transform: translate(-50%, -50%) scale(1); }
/* j kızıllaşır (aynı tonun daha aydınlık hâli) ve etrafına kendi renginde ışık yayar */
.p-ignite .bi-mark .j {
  --j-color: #b8302a;
  filter: drop-shadow(0 0 6px rgba(var(--j-rgb), 1)) drop-shadow(0 0 18px rgba(var(--j-rgb), .9))
          drop-shadow(0 0 40px rgba(var(--j-rgb), .8));
}
.p-scatter .bi-glow { animation: bi-pulse 2.6s ease-in-out infinite; }

/* --- 3. Etrafta beliren kelimeler ve görseller --- */
.bi-item {
  position: absolute; left: var(--x); top: var(--y); opacity: 0; white-space: nowrap;
  transform: translate(-50%, -50%) rotate(var(--r));
}
.bi-item.on { animation: bi-flicker .7s linear forwards; }

.bi-word { font-size: var(--fs); color: var(--bone-dim); line-height: 1; }
.bi-serif  { font-family: var(--font-display); }
.bi-italic { font-family: var(--font-display); font-style: italic; }
.bi-mono   { font-family: var(--font-meta); font-size: calc(var(--fs) * .55); letter-spacing: .22em; text-transform: uppercase; }
.bi-red    { color: var(--crimson-light); }

.bi-shape { width: var(--s); height: var(--s); display: block; }
.bi-circle { border: 1px solid rgba(242,237,231,.4); border-radius: 50%; }
.bi-square { background: rgba(169,163,155,.22); }
.bi-cross  { background:
  linear-gradient(rgba(242,237,231,.45), rgba(242,237,231,.45)) center / 100% 1px no-repeat,
  linear-gradient(rgba(242,237,231,.45), rgba(242,237,231,.45)) center / 1px 100% no-repeat; }
.bi-rule   { width: 1px; height: calc(var(--s) * 2.2); background: var(--crimson-light); }
.bi-grid   { background: radial-gradient(circle, rgba(242,237,231,.5) 1px, transparent 1.5px) 0 0 / 8px 8px; }
.bi-arc    { border: 1px solid transparent; border-top-color: rgba(var(--j-rgb), .95); border-radius: 50%; }
.bi-dot    { width: calc(var(--s) * .3); height: calc(var(--s) * .3); border-radius: 50%; background: var(--crimson-light); }
/* "fotoğraf" izlenimi: çerçeve içinde çapraz tarama */
.bi-frame  { width: calc(var(--s) * 1.5); border: 1px solid rgba(242,237,231,.35);
             background: repeating-linear-gradient(45deg, rgba(242,237,231,.12) 0 1px, transparent 1px 6px); }

/* --- 4. Kızıllık j'den başlayıp bütün ekrana yayılır --- */
@property --flood-r { syntax: "<length>"; inherits: false; initial-value: 0px; }
.bi-flood {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%),
    var(--crimson-light) 0%, var(--crimson) 40%, #461010 72%, var(--crimson-deep) 100%);
  /* yumuşak kenarlı, j'den dışa doğru büyüyen bir leke gibi yayılır */
  --flood-r: 0px;
  -webkit-mask-image: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%),
    #000 calc(var(--flood-r) * .55), transparent var(--flood-r));
  mask-image: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%),
    #000 calc(var(--flood-r) * .55), transparent var(--flood-r));
  transition: --flood-r 3s cubic-bezier(.5, 0, .3, 1);
}
.p-flood .bi-flood { --flood-r: 260vmax; }
/* yayılırken kelimeler ve logo kızıllığın içinde erir */
.p-flood .bi-item { animation: bi-melt 1.4s ease forwards; }
.p-flood .bi-mark span { opacity: 0; filter: blur(8px); transition-duration: 1.2s; transition-delay: 0s; }
.p-flood .hairline { opacity: 0; transition-delay: 0s; }
.p-flood .bi-glow { animation: none; }

/* --- 5. Kızıllığın ortasında siyah bir şerit açılır, logo onun içinde oluşur ---
   Logonun kendi kompozisyonu gibi: ekranı boydan boya geçen yatay siyah şerit.
   Önce ortada ince bir ışık çizgisi soldan sağa çekilir, sonra çizgi yukarı ve
   aşağı açılarak şeride dönüşür. Şerit, logo + manifesto bloğunun boyuna oturur. */
.bi-void { display: none; }
.bi-center::before, .bi-center::after {
  content: ""; position: absolute; left: -100vw; right: -100vw; pointer-events: none; z-index: -1;
}
/* siyah şerit */
.bi-center::before {
  /* sadece yazı + manifesto: üstteki ve alttaki kılcal çizgiler şeridin dışında kalır */
  top: calc(var(--hl) - 18px); bottom: calc(var(--hl) - 18px);
  background: var(--ink);
  border-top: 1px solid rgba(var(--j-rgb), .9);
  border-bottom: 1px solid rgba(var(--j-rgb), .9);
  box-shadow: inset 0 24px 40px -30px rgba(var(--j-rgb), .5), inset 0 -24px 40px -30px rgba(var(--j-rgb), .5);
  clip-path: inset(50% 0 50% 0);
  transition: clip-path 1.3s cubic-bezier(.7, 0, .2, 1) .55s;
}
/* şeritten önce çekilen ince ışık çizgisi */
.bi-center::after {
  top: 50%; height: 1px;
  background: linear-gradient(to right, transparent, var(--crimson-light) 20%, #a8302b 50%, var(--crimson-light) 80%, transparent);
  transform: scaleX(0); opacity: 1;
  transition: transform .7s cubic-bezier(.6, 0, .2, 1), opacity .5s ease 1.3s;
}
.p-reveal .bi-center::after { transform: scaleX(1); opacity: 0; }
.p-reveal .bi-center::before { clip-path: inset(0 0 0 0); }

.p-reveal .bi-mark span {
  opacity: 1; filter: none; transform: none;
  transition: opacity 1s ease, filter .8s ease, transform 1s ease;
  transition-delay: calc(1.5s + var(--i) * 90ms);
}
.p-reveal .bi-mark .j { filter: drop-shadow(0 0 10px rgba(var(--j-rgb), .7)); }
/* kılcal çizgiler kızıllığın üstünde siyah olarak şeride bağlanır */
.p-reveal .hairline { opacity: 1; background: var(--ink); transition-delay: 2.3s; }
.p-reveal .manifesto { opacity: 1; transition-delay: 2.7s; }

/* --- Döngü sonu: yumuşakça karar --- */
.p-out .bi-center, .p-out .bi-field, .p-out .bi-flood, .p-out .bi-glow {
  opacity: 0; transition: opacity .8s ease;
}

@keyframes bi-flicker {
  0% { opacity: 0; } 8% { opacity: var(--o); } 16% { opacity: .08; }
  26% { opacity: var(--o); } 34% { opacity: .3; } 100% { opacity: var(--o); }
}
@keyframes bi-melt {
  from { opacity: var(--o); }
  to   { opacity: 0; color: var(--crimson); filter: blur(6px); }
}
@keyframes bi-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.08); }
}

/* "Hareketi azalt" açıksa: animasyonsuz, sabit logo */
.bi-static .bi-mark span, .bi-static .hairline, .bi-static .manifesto { opacity: 1; filter: none; transform: none; }
.bi-static .bi-glow, .bi-static .bi-field, .bi-static .bi-flood { display: none; }
.bi-static .bi-center::before, .bi-static .bi-center::after { display: none; }