/* ============================================================
   TEMA: nurgulu  —  Konsept "Varak" (The Folio)
   Nurgül Özkeser · Eğitimci · Sanatçı · Yazar
   ------------------------------------------------------------
   Yapı taşları klasik el yazması sayfasından alınmıştır:
     cetvel    → sayfayı çevreleyen altın cetvel çizgisi
     derkenar  → kenar notu sütunu (bölüm numarası + İngilizce ad)
     unvan     → sayfa başı tezhipli başlık alanı
     şemse     → cilt kapağındaki madalyon
     zerefşan  → altın tozu serpme
     ketebe    → sayfa sonu imza satırı
   ============================================================ */

/* ---------- TOKENS : AÇIK = "sayfa" (âhârlı kâğıt) ---------- */
:root {
  --paper:      #E9E2D3;
  --paper-deep: #DED5C2;
  --plate:      #F3EDE1;
  --ink:        #191512;
  --ink-soft:   #4A423A;
  --ink-faint:  #8A7F70;
  --gold:       #AE8544;
  --gold-lit:   #D6B173;
  --gold-deep:  #7E5D2B;
  --mesin:      #4B3627;
  --yesil:      #2C4034;
  --lal:        #782E33;
  --lacivert:   #2A3B57;
  --toprak:     #8A5230;

  --rule:       rgba(25, 21, 18, 0.16);
  --rule-soft:  rgba(25, 21, 18, 0.09);
  --gold-rule:  rgba(174, 133, 68, 0.55);
  --shadow:     rgba(60, 46, 28, 0.16);
  --grain-blend: multiply;
  --grain-alpha: 0.055;
  --plate-blend: multiply;

  /* Tipografi — Newsreader: müze yayını serifi, italikleri güçlü.
     Jost: galeri etiketi grotesk'i, aralıklı büyük harfte iyi çalışır. */
  --serif: "Newsreader", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans:  "Jost", ui-sans-serif, -apple-system, "Segoe UI", Arial, sans-serif;

  --frame: 20px;
  --gut: clamp(20px, 5vw, 76px);
  --margin-col: 132px;
  --measure: 34em;

  --s1: 8px;  --s2: 16px; --s3: 28px; --s4: 48px;
  --s5: 80px; --s6: 128px; --s7: 184px;
}

/* ---------- TOKENS : KOYU = "cilt" (koyu meşin + altın) ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --paper:      #171310;
    --paper-deep: #100D0A;
    --plate:      #221B15;
    --ink:        #EFE6D6;
    --ink-soft:   #B7A991;
    --ink-faint:  #7E7263;
    --gold:       #C79E58;
    --gold-lit:   #E4C58C;
    --gold-deep:  #96702F;
    --mesin:      #A47A55;
    --yesil:      #6E8E76;
    --lal:        #C0666A;
    --lacivert:   #7A93BC;
    --toprak:     #C08757;

    --rule:       rgba(239, 230, 214, 0.18);
    --rule-soft:  rgba(239, 230, 214, 0.10);
    --gold-rule:  rgba(199, 158, 88, 0.42);
    --shadow:     rgba(0, 0, 0, 0.6);
    --grain-blend: soft-light;
    --grain-alpha: 0.09;
    --plate-blend: screen;
  }
}

/* ============================================================
   TEMEL
   ============================================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* kâğıt dokusu */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: var(--grain-alpha);
  mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
::selection { background: var(--gold-lit); color: #191512; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ============================================================
   CETVEL + OKUMA ÇİZGİSİ
   ============================================================ */
.cetvel {
  position: fixed;
  inset: var(--frame);
  z-index: 70;
  pointer-events: none;
  border: 1px solid var(--gold-rule);
  transform: scale(0.985);
  opacity: 0;
  transition: transform 1.5s cubic-bezier(.16,1,.3,1), opacity 1.2s ease;
}
.cetvel::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--rule-soft);
}
.is-ready .cetvel { transform: scale(1); opacity: 1; }

.cetvel i {
  position: absolute;
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.75;
}
.cetvel i:nth-child(1) { top: -4px; left: -4px; }
.cetvel i:nth-child(2) { top: -4px; right: -4px; }
.cetvel i:nth-child(3) { bottom: -4px; left: -4px; }
.cetvel i:nth-child(4) { bottom: -4px; right: -4px; }

.progress {
  position: fixed;
  left: var(--frame); top: var(--frame); bottom: var(--frame);
  width: 2px;
  z-index: 71;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--gold), var(--gold-lit));
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0.9;
}

/* ============================================================
   YERLEŞİM — folio ızgarası
   ============================================================ */
.shell { position: relative; z-index: 2; padding: 0 calc(var(--frame) + var(--gut)); }

.folio {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--margin-col) minmax(0, 1fr);
  column-gap: clamp(24px, 4vw, 64px);
}

.derkenar { position: relative; padding-top: 12px; }
.derkenar .num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.derkenar .vert {
  writing-mode: vertical-rl;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}
.derkenar::before {
  content: "";
  position: absolute;
  top: 0; left: -1px;
  width: 1px; height: 46px;
  background: var(--gold);
  opacity: 0.5;
}

section { position: relative; }
/* DİKKAT: "padding: var(--s7) 0 0" .hero/.contact'taki aynı hatayı
   taşıyordu — orta değer (0) sağ VE sol padding'i sıfırlayıp .shell'in
   yatay padding'ini eziyordu. .chapter EN ÇOK KULLANILAN sınıf olduğu
   için (anasayfadaki hakkında/sanatlar/eserler/sergiler/kitaplar
   bölümlerinin hepsi "chapter shell") bu, ana sayfadaki hemen her
   bölümde mobilde metin kesilmesine yol açıyordu. */
.chapter { padding-top: var(--s7); }

/* ============================================================
   TİPOGRAFİ
   ============================================================ */
.label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.h-sec {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.h-sec em { font-style: italic; color: var(--gold-deep); }

.sec-en {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 18px 0 0;
}

.lede {
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: var(--measure);
  margin: var(--s3) 0 0;
}

p { max-width: var(--measure); }
.body-text { color: var(--ink-soft); }

/* ============================================================
   ÜST BAŞLIK (global header)
   ============================================================ */
.v-header {
  position: fixed;
  top: var(--frame); left: var(--frame); right: var(--frame);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(18px, 3.4vw, 40px);
  transition: background 0.5s ease, padding 0.5s ease, box-shadow 0.5s ease;
}
.v-header.is-stuck {
  padding-top: 13px; padding-bottom: 13px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--gold-rule);
}

.monogram { display: flex; align-items: center; flex: none; }
.monogram-text { display: flex; align-items: baseline; gap: 12px; }
.monogram-text b {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
}
.monogram-text span {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}

/* Görsel logo yalnızca koyu temada kullanılır — "Nurgül" kelimesi krem
   renkte olduğu için açık (kâğıt) zeminde okunmaz hâle gelir; logonun
   kendi koyu zemini yalnızca sitenin koyu temasıyla uyumludur. */
.monogram-logo { display: none; height: clamp(45px, 6vw, 57px); width: auto; }

@media (prefers-color-scheme: dark) {
  .monogram-text { display: none; }
  .monogram-logo { display: block; }
}
:root[data-theme="dark"] .monogram-text { display: none; }
:root[data-theme="dark"] .monogram-logo { display: block; }
:root[data-theme="light"] .monogram-text { display: flex; }
:root[data-theme="light"] .monogram-logo { display: none; }

.v-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.v-nav-item { position: relative; }

.v-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 0;
  position: relative;
  transition: color 0.35s ease;
}
.v-nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(.16,1,.3,1);
}
.v-nav-link:hover,
.v-nav-link.active { color: var(--ink); }
.v-nav-link:hover::after,
.v-nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.v-nav-link .caret { transition: transform 0.3s ease; }
.v-nav-item.open .v-nav-link .caret { transform: rotate(180deg); }

/* alt menü — hem fare hem klavye ile açılır */
.v-dropdown {
  position: absolute;
  top: 100%; left: -18px;
  min-width: 232px;
  padding: 10px 0;
  background: var(--plate);
  border: 1px solid var(--gold-rule);
  box-shadow: 0 22px 48px -26px var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.16,1,.3,1), visibility 0.35s;
}
.v-nav-item.open .v-dropdown { opacity: 1; visibility: visible; transform: none; }
.v-dropdown a {
  display: block;
  padding: 9px 22px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  transition: color 0.3s ease, background 0.3s ease;
}
.v-dropdown a:hover,
.v-dropdown a.active { color: var(--ink); background: color-mix(in srgb, var(--gold) 10%, transparent); }

.v-actions { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 22px); flex: none; }

.v-lang { position: relative; }
.v-lang-btn {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: none;
  border: 0;
  border-left: 1px solid var(--rule);
  padding: 4px 0 4px clamp(12px, 1.8vw, 20px);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.v-lang-btn:hover { color: var(--ink); }
.v-lang-dd {
  position: absolute;
  top: 100%; right: 0;
  min-width: 140px;
  margin-top: 8px;
  padding: 8px 0;
  background: var(--plate);
  border: 1px solid var(--gold-rule);
  box-shadow: 0 22px 48px -26px var(--shadow);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.v-lang.open .v-lang-dd { opacity: 1; visibility: visible; transform: none; }
.v-lang-dd a {
  display: block;
  padding: 8px 18px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.v-lang-dd a:hover, .v-lang-dd a.active { color: var(--ink); background: color-mix(in srgb, var(--gold) 10%, transparent); }

.v-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--rule);
  cursor: pointer;
  color: var(--ink);
}

/* mobil menü */
.v-mobile {
  position: fixed;
  top: calc(var(--frame) + 66px);
  left: var(--frame); right: var(--frame);
  z-index: 79;
  max-height: calc(100vh - var(--frame) - 90px);
  overflow-y: auto;
  padding: 14px 0;
  background: var(--plate);
  border: 1px solid var(--gold-rule);
  box-shadow: 0 30px 60px -30px var(--shadow);
  display: none;
}
.v-mobile.open { display: block; }
.v-mobile a {
  display: block;
  padding: 13px clamp(20px, 5vw, 34px);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.v-mobile a.active { color: var(--gold-deep); }
.v-mobile .sub a {
  padding-left: clamp(36px, 8vw, 54px);
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0.08em;
  font-family: var(--serif);
  font-style: italic;
}

@media (max-width: 1080px) {
  .v-nav { display: none; }
  .v-burger { display: inline-flex; }
}
@media (max-width: 560px) {
  .monogram span { display: none; }
}

/* ============================================================
   DÜĞMELER
   ============================================================ */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 17px 30px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--gold);
  background: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.5s ease;
}
.cta > span { position: relative; z-index: 2; }
.cta .arrow {
  position: relative; z-index: 2;
  width: 26px; height: 1px;
  background: currentColor;
  transition: width 0.45s cubic-bezier(.16,1,.3,1);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--gold-deep), var(--gold), var(--gold-lit));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.62s cubic-bezier(.16,1,.3,1);
}
.cta:hover { color: #17120C; }
.cta:hover::before { transform: scaleX(1); }
.cta:hover .arrow { width: 38px; }

.text-link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--gold-rule);
  padding-bottom: 5px;
  transition: color 0.35s ease, border-color 0.35s ease;
}
.text-link:hover { color: var(--ink); border-color: var(--gold); }

/* ============================================================
   HERO — unvan / frontispis
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  /* DİKKAT: "padding: 140px 0 92px" kısayolu ORTA değeri (0) hem sola
     hem sağa uygular — bu, .shell'in kendi yatay padding'ini (frame+gut)
     eziyordu. Masaüstünde .folio'nun iki sütunlu ızgarası (margin-col +
     içerik) bunu görsel olarak gizliyordu; mobilde tek sütuna düşünce
     sol kenar boşluğu tamamen kayboluyor, metin viewport kenarından
     kesiliyordu. Yalnızca dikey padding belirtilir; yatay olan .shell'e
     bırakılır. */
  padding-top: 140px;
  padding-bottom: 92px;
  /* #semse-hero kasıtlı olarak sağ kenarın dışına taşar (right:-7vw,
     mobilde -28vw) — .contact bölümündeki aynı desen gibi burada da
     clip edilmezse mobilde yatay kaydırmaya ve tüm sayfanın otomatik
     uzaklaştırılmasına (viewport genişlemesi) yol açıyordu. */
  overflow: hidden;
}
#zerefsan { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero .folio { width: 100%; position: relative; z-index: 2; }

.hero-eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(24px, 4vh, 46px); }
.hero-eyebrow .dash { width: 44px; height: 1px; background: var(--gold); }

.name {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  font-size: clamp(52px, 12.5vw, 178px);
  line-height: 0.86;
  letter-spacing: -0.035em;
}
.name .l1 { display: block; }
.name .l2 { display: block; font-style: italic; padding-left: 0.09em; color: var(--gold-deep); }

.mesk { width: min(430px, 62%); margin: clamp(18px, 3vh, 34px) 0 0; overflow: visible; }
.mesk path { fill: var(--ink); }
.mesk .under { fill: var(--gold); opacity: 0.5; }
.mesk-wrap {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.7s cubic-bezier(.55,.06,.28,1) 0.95s;
}
.is-ready .mesk-wrap { clip-path: inset(0 0 0 0); }

.roles { margin: clamp(26px, 4vh, 46px) 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.roles .tr { font-family: var(--serif); font-size: clamp(20px, 2.3vw, 28px); font-style: italic; }
.roles .sep { color: var(--gold); font-size: 14px; }
.roles .en {
  flex-basis: 100%;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 12px;
}

.hero-actions { margin-top: clamp(38px, 6vh, 68px); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; }

#semse-hero {
  position: absolute;
  right: -7vw; top: 50%;
  transform: translateY(-50%);
  width: min(660px, 56vw); height: min(660px, 56vw);
  z-index: 1;
  opacity: 0.19;
  pointer-events: none;
}

.scroll-cue { position: absolute; left: calc(var(--frame) + var(--gut)); bottom: 46px; display: flex; align-items: center; gap: 14px; z-index: 3; }
.scroll-cue .rail { width: 1px; height: 52px; background: linear-gradient(to bottom, transparent, var(--gold)); }
.scroll-cue span { font-family: var(--sans); font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-faint); }

@media (max-width: 900px) {
  /* Not: negatif "right" değeri (kutunun sağ kenarını viewport dışına
     taşırma) mobil tarayıcılarda — .hero/.contact'ın overflow:hidden'ı
     görsel taşmayı kırpsa bile — layout viewport'un gerçek içerik
     genişliğine göre büyütülmesine yol açıyordu: sonuçta tüm sayfa
     yakınlaştırılıp kaydırılarak render ediliyor, metinler sol
     kenardan kesiliyordu. Az bir taşma bile aynı soruna yol açtığından
     (ölçekle orantılı değil, eşik davranışı), mobilde taşmayı 0'a
     çekiyoruz — süsleme kutunun sağ kenarına dayanır, viewport'u aşmaz. */
  #semse-hero { right: 0; opacity: 0.12; }
  .scroll-cue { display: none; }
}

/* ============================================================
   LEVHALAR (görsel çerçeveleri)
   ============================================================ */
.plate { margin: 0; position: relative; }

.plate-img {
  position: relative;
  overflow: hidden;
  background: var(--plate);
  box-shadow:
    0 1px 0 0 var(--gold-rule) inset,
    0 0 0 1px var(--rule-soft) inset,
    0 26px 60px -30px var(--shadow),
    0 6px 18px -12px var(--shadow);
}
.plate-img::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid var(--gold-rule);
  z-index: 3;
  pointer-events: none;
}
.plate-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.16,1,.3,1);
}
.plate-img canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  mix-blend-mode: var(--plate-blend);
  opacity: 0.9;
}
.plate-img .tone { position: absolute; inset: 0; }
a.plate-link:hover .plate-img img,
.work-plate:hover .plate-img img { transform: scale(1.045); }

figcaption { margin-top: 20px; display: flex; flex-direction: column; gap: 7px; }
figcaption .t { font-family: var(--serif); font-size: 24px; font-style: italic; line-height: 1.25; }
figcaption .m {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.9;
}

/* ============================================================
   I — HAKKINDA
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  margin-top: var(--s5);
}
.about-portrait .plate-img { aspect-ratio: 3 / 4; }
.about-body p + p { margin-top: 1.5em; }

.pull {
  font-family: var(--serif);
  font-size: clamp(24px, 2.9vw, 36px);
  font-style: italic;
  line-height: 1.42;
  margin: var(--s4) 0;
  padding-left: 30px;
  border-left: 1px solid var(--gold);
  max-width: 26em;
}
.ketebe { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-faint); margin-top: var(--s3); }

.facts {
  margin-top: var(--s4);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--rule-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.facts div { background: var(--paper); padding: 24px 20px 24px 0; }
.facts .n {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
  display: block;
}
.facts .k {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-top: 11px;
}

@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================
   II — SANAT DALLARI : fihrist (dizin), kart ızgarası değil
   ============================================================ */
.fihrist { margin-top: var(--s5); border-top: 1px solid var(--rule); }

.disc {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) minmax(0, 0.9fr) 44px;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule-soft);
  position: relative;
  transition: padding 0.55s cubic-bezier(.16,1,.3,1);
}
.disc::before {
  content: "";
  position: absolute;
  left: -24px; right: -24px; top: 0; bottom: 0;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}
.disc:hover, .disc:focus-visible { padding-left: 22px; padding-right: 22px; }
.disc:hover::before, .disc:focus-visible::before { opacity: 0.05; }

.disc-mark { width: 46px; height: 46px; opacity: 0.5; transition: opacity 0.5s ease, transform 0.7s cubic-bezier(.16,1,.3,1); }
.disc:hover .disc-mark { opacity: 1; transform: scale(1.12) rotate(-4deg); }

.disc-name {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: color 0.5s ease;
  display: block;
}
.disc:hover .disc-name { color: currentColor; }

.disc-en {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-top: 9px;
}

.disc-note {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(.16,1,.3,1);
}
.disc:hover .disc-note { opacity: 1; transform: none; }

.disc-idx {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

@media (max-width: 900px) {
  .disc { grid-template-columns: 46px minmax(0, 1fr); gap: 18px 20px; padding: 22px 0; }
  .disc-note { grid-column: 2; opacity: 1; transform: none; font-size: 14.5px; }
  .disc-idx { display: none; }
}

/* ============================================================
   III — SEÇİLMİŞ ESERLER
   ============================================================ */
.gallery { margin-top: var(--s5); display: flex; flex-direction: column; gap: var(--s7); }

.work { display: grid; gap: clamp(28px, 4vw, 64px); align-items: end; }
.work.wide   { grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.7fr); }
.work.narrow { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.15fr); }
.work.narrow .work-plate { order: 2; }
.work.narrow .work-meta  { order: 1; }
.work.wide .plate-img   { aspect-ratio: 4 / 3; }
.work.narrow .plate-img { aspect-ratio: 3 / 4; }

.work-meta { padding-bottom: 8px; }
.work-meta .idx { font-family: var(--serif); font-size: 13px; letter-spacing: 0.2em; color: var(--gold); display: block; margin-bottom: 20px; }
.work-meta h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.16;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.work-meta dl { margin: 0; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 11px; letter-spacing: 0.1em; }
.work-meta dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--rule-soft); }
.work-meta dt { color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.2em; font-size: 9.5px; }
.work-meta dd { margin: 0; color: var(--ink-soft); text-align: right; font-variant-numeric: tabular-nums; }

.work-plate { transition: transform 0.9s cubic-bezier(.16,1,.3,1); }
.work-plate:hover { transform: translateY(-8px); }

@media (max-width: 860px) {
  .work.wide, .work.narrow { grid-template-columns: minmax(0, 1fr); }
  .work.narrow .work-plate { order: 1; }
  .work.narrow .work-meta  { order: 2; }
}

/* ============================================================
   IV — SERGİLER : defter (ledger)
   ============================================================ */
.ledger { margin-top: var(--s5); border-top: 1px solid var(--ink); }
.ex {
  display: grid;
  grid-template-columns: 108px 18px minmax(0, 1fr) minmax(0, 0.65fr);
  gap: 22px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-soft);
  transition: background 0.45s ease;
}
.ex:hover { background: color-mix(in srgb, var(--gold) 7%, transparent); }
.ex .yr { font-family: var(--serif); font-size: 21px; color: var(--gold-deep); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.ex .dot { width: 8px; height: 8px; transform: rotate(45deg); justify-self: center; align-self: center; }
.ex[data-kind="solo"]  .dot { background: var(--gold); }
.ex[data-kind="group"] .dot { border: 1px solid var(--ink-faint); }
.ex .ti { font-family: var(--serif); font-size: clamp(18px, 1.9vw, 23px); line-height: 1.35; }
.ex .ve { font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); line-height: 1.8; }

.legend {
  display: flex; gap: 30px; margin-top: 26px;
  font-family: var(--sans); font-size: 9.5px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint);
}
.legend span { display: inline-flex; align-items: center; gap: 10px; }
.legend i { width: 7px; height: 7px; transform: rotate(45deg); display: inline-block; }
.legend .solo i  { background: var(--gold); }
.legend .group i { border: 1px solid var(--ink-faint); }

@media (max-width: 820px) {
  .ex { grid-template-columns: 74px 14px minmax(0, 1fr); gap: 14px; }
  .ex .ve { grid-column: 3; }
}

/* ============================================================
   V — KİTAPLAR
   ============================================================ */
.shelf {
  margin-top: var(--s5);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(26px, 4vw, 66px);
  align-items: end;
  padding-bottom: 44px;
  position: relative;
  perspective: 1600px;
}
.shelf::after {
  content: "";
  position: absolute;
  left: -3%; right: -3%; bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.75;
}

.book { position: relative; }
.cover {
  position: relative;
  aspect-ratio: 5 / 7;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.95s cubic-bezier(.16,1,.3,1), box-shadow 0.95s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 22px 44px -24px var(--shadow), 0 3px 10px -6px var(--shadow);
}
.cover::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(214, 177, 115, 0.5); z-index: 2; }
.cover::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 11px;
  background: linear-gradient(to right, rgba(0,0,0,0.34), rgba(0,0,0,0.05));
  z-index: 2;
}
.book:hover .cover {
  transform: rotateY(-13deg) translateY(-14px);
  box-shadow: 0 46px 70px -30px var(--shadow), 0 10px 22px -12px var(--shadow);
}
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cover canvas { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 62%; height: 62%; opacity: 0.26; z-index: 1; }
.cover h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.85vw, 25px);
  line-height: 1.24;
  margin: 0;
  color: #F1E7D4;
  position: relative;
  z-index: 3;
  text-wrap: balance;
}
.cover .by {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(241, 231, 212, 0.62);
  position: relative;
  z-index: 3;
}
.cover .rule { width: 40px; height: 1px; background: var(--gold-lit); margin: 16px 0; position: relative; z-index: 3; }
/* görsel varsa yazıyı okunur tut */
.cover.has-img::after {
  background: linear-gradient(to top, rgba(12,9,6,0.86) 0%, rgba(12,9,6,0.25) 46%, rgba(12,9,6,0.55) 100%);
  left: 0; right: 0; width: auto;
}

.book-meta { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.book-meta .sub { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink-soft); line-height: 1.45; }
.book-meta .fig {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-faint); font-variant-numeric: tabular-nums;
}

@media (max-width: 800px) { .shelf { grid-template-columns: minmax(0, 1fr); gap: 56px; } .cover { max-width: 320px; } }

/* ============================================================
   VI — AKADEMİK & KÜLTÜREL
   ============================================================ */
.offprints {
  margin-top: var(--s5);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
}
.offprint {
  background: var(--paper);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 236px;
  transition: background 0.5s ease;
}
.offprint:hover { background: var(--plate); }
.offprint .kind {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: 10px;
}
.offprint .kind::after { content: ""; flex: 1; height: 1px; background: var(--gold-rule); }
.offprint h4 { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.34; margin: 0; text-wrap: balance; }
.offprint p { font-size: 14.5px; line-height: 1.62; color: var(--ink-soft); margin: 0; }
.offprint .src {
  font-family: var(--sans); font-size: 9.5px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-faint); margin-top: auto; padding-top: 14px;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   VII — İLETİŞİM : bölüm "cilt" dünyasına döner
   ============================================================ */
.contact {
  margin-top: var(--s7);
  background: #14100D;
  color: #EFE6D6;
  position: relative;
  overflow: hidden;
  /* .hero'daki aynı hata: 3 değerli kısayolun ortası (0) sağ VE sol
     padding'i sıfırlar, .shell'in yatay padding'ini ezer — bkz. .hero. */
  padding-top: clamp(80px, 12vw, 168px);
  padding-bottom: clamp(64px, 8vw, 112px);
}
.contact::before { content: ""; position: absolute; inset: 26px; border: 1px solid rgba(199, 158, 88, 0.34); pointer-events: none; }
#semse-contact {
  position: absolute; right: -6%; top: 50%;
  transform: translateY(-50%);
  width: min(560px, 62vw); height: min(560px, 62vw);
  opacity: 0.2; pointer-events: none;
}
/* Mobilde negatif right, .contact'ın overflow:hidden'ına rağmen layout
   viewport'u şişirip tüm sayfanın yakınlaştırılmasına yol açıyordu —
   bkz. #semse-hero yanındaki not. Bu kural, aynı ID'li temel tanımdan
   SONRA gelmeli (kaynak sırası) ki eşit özgüllükte kazansın. */
@media (max-width: 900px) { #semse-contact { right: 0; } }
.contact .shell { position: relative; z-index: 2; }
.contact .derkenar .num { color: var(--gold-lit); }
.contact .derkenar .vert { color: rgba(239, 230, 214, 0.42); }
.contact .derkenar::before { background: var(--gold-lit); }
.contact .h-sec { color: #F4EBDA; }
.contact .h-sec em { color: var(--gold-lit); }
.contact .sec-en { color: rgba(239, 230, 214, 0.45); }
.contact .lede { color: rgba(239, 230, 214, 0.74); }

.invite {
  margin-top: var(--s5);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 34px 40px;
  max-width: 940px;
}
.invite div { border-top: 1px solid rgba(199, 158, 88, 0.38); padding-top: 18px; }
.invite .who { font-family: var(--serif); font-size: 22px; font-style: italic; color: #F4EBDA; }
.invite .what {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(239, 230, 214, 0.5);
  display: block; margin-top: 10px; line-height: 1.9;
}

.contact-actions { margin-top: var(--s5); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 44px; }
.contact .cta { color: #F4EBDA; border-color: var(--gold-lit); }
.contact .cta:hover { color: #17120C; }
.contact .text-link { color: rgba(239, 230, 214, 0.7); border-color: rgba(199, 158, 88, 0.4); }
.contact .text-link:hover { color: #F4EBDA; border-color: var(--gold-lit); }

.mail {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 30px);
  font-style: italic;
  color: var(--gold-lit);
  border-bottom: 1px solid rgba(199, 158, 88, 0.4);
  padding-bottom: 6px;
  transition: border-color 0.4s ease;
}
.mail:hover { border-color: var(--gold-lit); }

/* ============================================================
   KOLOFON / FOOTER
   ============================================================ */
.colophon { background: #14100D; color: rgba(239, 230, 214, 0.5); padding: clamp(56px, 7vw, 88px) 0 clamp(44px, 6vw, 72px); }
.colophon-seal { display: block; max-width: 252px; width: 80%; height: auto; margin: 0 0 20px; }

.colophon-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 0 calc(var(--frame) + var(--gut));
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.colophon .ket { font-family: var(--serif); font-style: italic; font-size: 17px; color: rgba(239, 230, 214, 0.72); max-width: 26em; }
.colophon h5 {
  font-family: var(--sans); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-lit); margin: 0 0 18px;
}
.colophon-links { display: flex; flex-direction: column; gap: 11px; }
.colophon-links a {
  font-family: var(--sans); font-size: 11.5px;
  letter-spacing: 0.14em; color: rgba(239, 230, 214, 0.58);
  transition: color 0.3s ease;
}
.colophon-links a:hover { color: #F4EBDA; }
.colophon-bar {
  max-width: 1320px; margin: clamp(44px, 6vw, 72px) auto 0;
  padding: 24px calc(var(--frame) + var(--gut)) 0;
  border-top: 1px solid rgba(239, 230, 214, 0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px;
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.colophon-bar a {
  color: var(--gold-lit);
  border-bottom: 1px solid rgba(199, 158, 88, 0.4);
  padding-bottom: 1px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.colophon-bar a:hover { color: #F4EBDA; border-color: var(--gold-lit); }
@media (max-width: 860px) { .colophon-inner { grid-template-columns: minmax(0, 1fr); gap: 34px; } }

/* ============================================================
   BREADCRUMB · CMS İÇERİĞİ · SSS
   ============================================================ */
.v-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint);
}
.v-breadcrumb a { color: var(--ink-faint); transition: color 0.3s ease; }
.v-breadcrumb a:hover { color: var(--gold-deep); }
.v-breadcrumb .sep { color: var(--gold); }
.v-breadcrumb .cur { color: var(--ink); }

.cms-content { margin-top: var(--s4); max-width: var(--measure); }
.cms-content h2, .cms-content h3, .cms-content h4 {
  font-family: var(--serif); font-weight: 400;
  line-height: 1.2; margin: 1.8em 0 0.6em; text-wrap: balance;
}
.cms-content h2 { font-size: clamp(28px, 3vw, 40px); }
.cms-content h3 { font-size: clamp(22px, 2.2vw, 29px); font-style: italic; }
.cms-content h4 { font-size: 20px; }
.cms-content p, .cms-content li { color: var(--ink-soft); }
.cms-content p { margin: 0 0 1.35em; }
.cms-content ul, .cms-content ol { padding-left: 1.4em; margin: 0 0 1.35em; }
.cms-content li { margin-bottom: 0.5em; }
.cms-content a { color: var(--gold-deep); border-bottom: 1px solid var(--gold-rule); }
.cms-content a:hover { border-color: var(--gold); }
.cms-content img { margin: 2em 0; box-shadow: 0 24px 56px -30px var(--shadow); }
.cms-content blockquote {
  margin: 2em 0; padding-left: 28px;
  border-left: 1px solid var(--gold);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(21px, 2.3vw, 28px); line-height: 1.45;
}
.cms-content table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 15px; }
.cms-content th, .cms-content td { padding: 12px 14px; border-bottom: 1px solid var(--rule-soft); text-align: left; }
.cms-content th { font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.cms-scroll { overflow-x: auto; }

.faq { margin-top: var(--s5); border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule-soft); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 22px 44px 22px 0;
  font-family: var(--serif); font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.4; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 11px; height: 1px; background: var(--gold);
  box-shadow: 0 0 0 0 transparent;
  transition: transform 0.4s ease;
}
.faq summary::before {
  content: ""; position: absolute; right: 13px; top: 50%;
  width: 1px; height: 11px; background: var(--gold);
  transform: translateY(-50%);
  transition: opacity 0.35s ease, transform 0.4s ease;
}
.faq details[open] summary::before { opacity: 0; transform: translateY(-50%) rotate(90deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); }

/* ============================================================
   BİYOGRAFİ — tam özgeçmiş şablonu
   ============================================================ */
/* .hero/.contact/.chapter'daki aynı hata — bkz. .hero'daki not. */
.bio-front { padding-top: calc(var(--frame) + 132px); }

.bio-intro {
  margin-top: var(--s4);
  max-width: var(--measure);
}
.bio-intro .lede { margin: 0 0 1.1em; }
.bio-intro blockquote {
  margin: 1.6em 0 0.3em;
  padding-left: 28px;
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.1vw, 25px);
  line-height: 1.5;
  color: var(--ink);
}
.bio-intro p:not(.lede) { color: var(--ink-soft); margin: 0.3em 0 1.4em; }
/* şiirin altındaki kısa kaynak satırı (blockquote hemen sonrası) */
.bio-intro blockquote + p {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 10px 0 1.6em 29px;
}

/* içindekiler — sayfanın kendi fihristi */
.bio-toc {
  margin-top: var(--s4);
  padding: 26px clamp(22px, 3vw, 40px);
  background: var(--plate);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 6px 28px;
}
.bio-toc-label {
  grid-column: 1 / -1;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.bio-toc a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule-soft);
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.bio-toc a:hover { color: var(--gold-deep); padding-left: 6px; }
.bio-toc-n {
  font-family: var(--serif);
  font-size: 11px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  flex: none;
}

/* her CV bölümü */
.bio-section {
  padding-top: clamp(56px, 7vw, 92px);
  scroll-margin-top: 108px;
  border-top: 1px solid var(--rule-soft);
}
.bio-section:first-child { border-top: 0; }

.bio-section-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 26px;
}
.bio-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  flex: none;
}
.bio-section-head h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(23px, 2.6vw, 32px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}

/* referans/atıf listeleri — asılı girinti, ince ayraç, madde imi yok */
.bio-section-body { max-width: none; }
.bio-section-body > :first-child { margin-top: 0; }
.bio-section-body h4 {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 2em 0 1em;
}
.bio-section-body ul,
.bio-section-body ol {
  list-style: none;
  padding: 0;
  margin: 0 0 0.4em;
  max-width: var(--measure);
  counter-reset: bio-li;
}
.bio-section-body li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-soft);
}
.bio-section-body li:first-child { padding-top: 0; }
.bio-section-body li::before {
  content: "—";
  position: absolute;
  left: 0; top: 13px;
  color: var(--gold);
}
.bio-section-body ol li {
  counter-increment: bio-li;
}
.bio-section-body ol li::before {
  content: counter(bio-li, decimal-leading-zero);
  font-family: var(--sans);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--gold-deep);
  top: 14px;
}
.bio-section-body p { color: var(--ink-soft); max-width: var(--measure); }

/* ============================================================
   REFERANS LİSTESİ — atıf/kaynak linkleri için yeniden kullanılabilir
   stil (Biyografi şablonunun liste görünümüyle aynı). Herhangi bir
   Standard sayfasının panelden girilen içeriğinde
   <div class="ref-list">…</div> ile sarılarak kullanılır.
   ============================================================ */
.cms-content .ref-list { max-width: none; }
.cms-content .ref-list > :first-child { margin-top: 0; }
.cms-content .ref-list h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(21px, 2.3vw, 27px);
  margin: 2em 0 0.8em;
}
.cms-content .ref-list h3:first-child { margin-top: 0; }
.cms-content .ref-list ul,
.cms-content .ref-list ol {
  list-style: none;
  padding: 0;
  margin: 0 0 0.4em;
  max-width: var(--measure);
}
.cms-content .ref-list li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.cms-content .ref-list li:first-child { padding-top: 0; }
.cms-content .ref-list li::before {
  content: "—";
  position: absolute;
  left: 0; top: 13px;
  color: var(--gold);
}
.cms-content .ref-list li a { border-bottom: 1px solid var(--gold-rule); }
.cms-content .ref-list li a:hover { border-color: var(--gold); }

@media (max-width: 780px) {
  .bio-front { padding-top: calc(var(--frame) + 92px); }
  .bio-toc { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   BÖLÜM DİZİNİ — Standard şablonunda alt sayfa listesi
   ============================================================ */
.child-index { margin-top: var(--s5); border-top: 1px solid var(--rule); }
.child-index h2 {
  font-family: var(--sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-faint);
  margin: 26px 0 4px;
}
.child-index a {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--rule-soft);
  transition: padding 0.4s cubic-bezier(.16,1,.3,1);
}
.child-index a:hover { padding-left: 10px; }
.ci-name { font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); font-style: italic; }
.ci-arrow { width: 26px; height: 1px; background: var(--gold); position: relative; flex: none; }
.ci-arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* ============================================================
   KATALOG — koleksiyon ızgarası
   ============================================================ */
.collection {
  margin-top: var(--s5);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: clamp(30px, 3.6vw, 62px) clamp(24px, 2.6vw, 44px);
}
.collection .plate-img { aspect-ratio: 4 / 5; }
.collection figcaption .t { font-size: 21px; }
.collection-empty {
  margin-top: var(--s5);
  padding: clamp(44px, 6vw, 76px);
  border: 1px solid var(--gold-rule);
  text-align: center;
}
.collection-empty p {
  max-width: 34em; margin: 0 auto;
  font-family: var(--serif); font-style: italic;
  font-size: 19px; color: var(--ink-soft);
}

/* ============================================================
   BİYOGRAFİ LEVHALARI — CV bölümlerinin içindeki görsel ızgarası
   ------------------------------------------------------------
   Katalog'un .plate / .plate-img dilini paylaşır, ama ölçüsü
   küçüktür: levhalar metnin altına serilen bir "resimli ek"
   gibi durur, bölümün önüne geçmez. theme.js → initLightbox()
   bu kapsayıcıyı da tarar; görseller tıklanınca büyür.
   ============================================================ */
.bio-plates {
  margin: 34px 0 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(186px, 1fr));
  gap: clamp(22px, 2.4vw, 36px) clamp(16px, 1.8vw, 26px);
}
.bio-plates .plate-img { aspect-ratio: 4 / 3; }
/* kitap kapağı, afiş, belge — dikey duran malzeme yatay çerçevede
   tepesinden kırpılıyordu; bu bölümler dikey orana geçer. */
.bio-plates.dikey .plate-img { aspect-ratio: 3 / 4; }
.bio-plates .plate-img::before { inset: 7px; }
.bio-plates img { margin: 0; box-shadow: none; }
.bio-plates figcaption { margin-top: 13px; }
.bio-plates figcaption .m {
  font-size: 9.5px;
  letter-spacing: 0.15em;
  line-height: 1.72;
}

/* bölüm açılışındaki tek geniş levha */
.bio-plate-wide { margin: 34px 0 10px; }
.bio-plate-wide .plate-img { aspect-ratio: 16 / 10; }
.bio-plate-wide .plate-img::before { inset: 10px; }
.bio-plate-wide img { margin: 0; box-shadow: none; }
.bio-plate-wide figcaption .m { font-size: 10px; letter-spacing: 0.16em; }

@media (max-width: 560px) {
  .bio-plates { grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); }
}

/* ============================================================
   LIGHTBOX — galeri görselleri sayfadan çıkmadan büyür
   (.collection / .gallery / .bio-plates içindeki .plate-img
   img'lere otomatik uygulanır; theme.js → initLightbox())
   ============================================================ */
.lightbox-trigger { cursor: zoom-in; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 12, 10, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
  padding: clamp(20px, 5vw, 60px);
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }

.lightbox-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.97);
  transition: transform 0.4s cubic-bezier(.16,1,.3,1);
}
.lightbox-overlay.open .lightbox-figure { transform: scale(1); }

.lightbox-figure img {
  display: block;
  max-width: 88vw;
  max-height: 82vh;
  width: auto; height: auto;
  object-fit: contain;
  border: 1px solid var(--gold-rule);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7);
  background: #100D0A;
}

.lightbox-counter {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(239, 230, 214, 0.55);
  font-variant-numeric: tabular-nums;
  min-height: 1em;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  background: rgba(15, 12, 10, 0.4);
  border: 1px solid rgba(199, 158, 88, 0.4);
  color: #F1E7D4;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { border-color: #E4C58C; background: rgba(199, 158, 88, 0.18); }

.lightbox-close {
  top: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  width: 44px; height: 44px;
  z-index: 2;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
}
.lightbox-nav:hover { transform: translateY(-50%); }
.lightbox-prev { left: clamp(10px, 2.5vw, 28px); }
.lightbox-next { right: clamp(10px, 2.5vw, 28px); }

@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox-overlay, .lightbox-figure { transition: none !important; }
}

/* ============================================================
   İLETİŞİM FORMU
   ============================================================ */
/* .hero/.contact/.chapter'daki aynı hata — bkz. .hero'daki not.
   Bu sınıf Iletisim/Katalog/Standard şablonlarının HEPSİNDE kullanılıyor. */
.contact-page { padding-top: calc(var(--frame) + 132px); }

.form-grid {
  margin-top: var(--s5);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: start;
}
@media (max-width: 900px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

.field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; }
.field label {
  font-family: var(--sans); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-faint);
}
.field input, .field textarea {
  font-family: var(--serif); font-size: 17px;
  color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--rule);
  padding: 10px 2px;
  transition: border-color 0.4s ease;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }

.form-note { font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-faint); margin: 0 0 26px; }

.form-alert {
  padding: 16px 20px; margin-bottom: 30px;
  border: 1px solid var(--gold-rule);
  background: color-mix(in srgb, var(--gold) 9%, transparent);
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.1em;
}
.form-alert.err { border-color: var(--lal); background: color-mix(in srgb, var(--lal) 9%, transparent); }

.contact-aside { border-top: 1px solid var(--gold); padding-top: var(--s3); }
.contact-aside dl { margin: 0; }
.contact-aside dt {
  font-family: var(--sans); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-faint); margin-top: 26px;
}
.contact-aside dd { margin: 8px 0 0; font-family: var(--serif); font-size: 19px; font-style: italic; }
.contact-aside dd a { border-bottom: 1px solid var(--gold-rule); }
.contact-aside dd a:hover { border-color: var(--gold); }

/* ============================================================
   AÇILIŞ ANİMASYONLARI
   ============================================================ */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1.1s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1); }
.rv.in { opacity: 1; transform: none; }
.hero .rv { transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .rv { opacity: 1; transform: none; }
  .mesk-wrap { clip-path: none; }
  .cetvel { opacity: 1; transform: none; }
}

/* küçük ekran: kenar notu sütunu yatay olur */
@media (max-width: 780px) {
  :root { --frame: 12px; --s7: 108px; --s5: 56px; }
  /* minmax(0, 1fr) — çıplak "1fr" değil: bare 1fr'in otomatik min boyutu
     "auto" (içerik tabanlı) olduğundan, .invite gibi iç içe grid/flex
     bileşenleri (minmax(210px,1fr) auto-fit) kendi min-content genişliğinin
     altına küçülemiyor ve .folio'yu — dolayısıyla tüm sayfayı — görünmez
     şekilde yatay taşırıyordu (mobilde otomatik uzaklaştırma + dev boşluklar). */
  .folio { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .derkenar { display: flex; align-items: center; gap: 16px; padding-top: 0; }
  .derkenar::before { display: none; }
  .derkenar .num { margin-bottom: 0; }
  .derkenar .vert { writing-mode: horizontal-tb; }
}

@media print {
  .cetvel, .progress, .v-header, .v-mobile, #zerefsan, #semse-hero, #semse-contact { display: none !important; }
  body { background: #fff; color: #000; }
  .rv { opacity: 1; transform: none; }
}
