/* SEWE. Tek aile, siyah metin, beyaz zemin; renk yalniz eserlerde. */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --metin: #111;
  --gri: #6b6b6b;
  --cizgi: #e3e3e0;
  --ust-h: 64px;
  --kenar: clamp(20px, 3.4vw, 56px);
  --yavas: .9s;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--ust-h);
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  background: #fff;
  color: var(--metin);
  font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.pen-acik { overflow: hidden; }
img { max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--gri); }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
h2 { font-size: clamp(24px, 2.3vw, 32px); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }

.kap { width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--kenar); }

.atla { position: absolute; left: 12px; top: -60px; z-index: 60; background: #111; color: #fff; padding: 8px 14px; text-decoration: none; }
.atla:focus { top: 12px; color: #fff; }

/* ---------- Ust menu ---------- */
.ust {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  height: var(--ust-h);
  background: #fff;
  color: #111;
  transition: background-color .7s ease, color .7s ease, border-color .7s ease;
  border-bottom: 1px solid transparent;
}
.ust.is-solid { border-bottom-color: var(--cizgi); }
.js .ana .ust:not(.is-solid):not(.menu-acik) { background: transparent; }
.ana[data-tone="dark"] .ust:not(.is-solid):not(.menu-acik) { color: #fff; }
.ust a:hover { color: inherit; }
.ust-ic {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: var(--kenar);
}
.ust-sol, .ust-sag { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.ust-sag { justify-content: flex-end; }
.ust nav a {
  text-decoration: underline transparent;
  text-underline-offset: .35em;
  padding-block: 10px;
  transition: text-decoration-color .3s ease;
}
.ust nav a:hover { text-decoration-color: currentColor; }
.wordmark {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  line-height: 1;
  padding: 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.dil { display: inline-flex; gap: 0; align-items: center; }
.dil a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; padding: 10px 8px; }
.dil a[aria-current] { text-decoration-color: currentColor; }

.mobil-menu { display: none; }
.mobil-menu summary { list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: flex-end; }
.mobil-menu summary::-webkit-details-marker { display: none; }
.mobil-panel {
  position: absolute; left: 0; right: 0; top: var(--ust-h);
  background: #fff; color: #111;
  padding: 10px var(--kenar) 28px;
  border-bottom: 1px solid var(--cizgi);
}
.mobil-panel nav { display: flex; flex-direction: column; }
.mobil-panel nav a { font-size: 30px; line-height: 1.2; letter-spacing: -.02em; padding-block: 9px; text-decoration: none; }
.mobil-panel .dil { margin-top: 18px; margin-left: -8px; font-size: 18px; }

/* ---------- Hero ---------- */
.kahraman {
  --kc: #111;
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  background: #fff;
  overflow: hidden;
}
.kahraman[data-tb="dark"] { --kc: #fff; }
.slaytlar { position: absolute; inset: 0; }
.slayt {
  --kc: #111;
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 2s ease, visibility 0s linear 2s;
}
.slayt[data-tb="dark"] { --kc: #fff; }
.slayt.is-on { opacity: 1; visibility: visible; transition: opacity 2s ease; z-index: 1; }
.slayt-sahne { position: absolute; inset: 0; }
.kahraman .plaka { display: block; width: 100%; height: 100%; }
.kahraman .plaka-oda { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.kahraman .plaka--duz { display: flex; align-items: center; justify-content: center; }
.kahraman .plaka-duz { width: auto; height: auto; max-width: 62%; max-height: 54%; }
.slayt-kunye {
  position: absolute; right: var(--kenar); bottom: clamp(28px, 5.5vh, 60px);
  color: var(--kc); text-align: right; z-index: 2;
  transition: color 1s ease;
}
.slayt-kunye a { text-decoration: none; display: block; }
.slayt-kunye a:hover { color: var(--kc); text-decoration: underline; text-underline-offset: .22em; }
.slayt-kunye .kunye { display: block; }
.kah-yazi {
  position: absolute; left: var(--kenar); bottom: clamp(28px, 5.5vh, 60px);
  color: var(--kc); z-index: 3;
  max-width: min(60vw, 900px);
  transition: color 1s ease;
}
.kahraman[data-tb="dark"] .kah-yazi, .kahraman[data-tb="dark"] .slayt-kunye { text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.kah-yazi h1 { font-size: clamp(36px, 4.2vw, 64px); font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.kah-yazi p { margin-top: 8px; font-size: 16px; }
.kah-kontrol {
  position: absolute; left: 50%; bottom: clamp(20px, 4.5vh, 50px); transform: translateX(-50%);
  z-index: 4; display: flex; align-items: center; color: var(--kc);
  transition: color 1s ease;
}
.kah-kontrol button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.kah-nokta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; transition: background-color .5s ease; }
.kah-nokta.is-on::before { background: currentColor; }
.kah-duraklat { margin-right: 0; }
.ik-duraklat { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.kah-duraklat[aria-pressed="true"] .ik-duraklat { width: 0; height: 0; border-left: 10px solid currentColor; border-right: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

.kunye { font-size: 14px; line-height: 1.4; }
.kunye strong { display: block; font-weight: 500; font-size: 15px; }
.kunye span { display: block; font-weight: 400; }
.kunye .kunye-imza { font-size: 12px; letter-spacing: .08em; color: var(--gri); line-height: 1.5; }
.kunye .kunye-not { margin-top: 4px; color: var(--gri); line-height: 1.45; }
.slayt-kunye .kunye-imza { color: inherit; opacity: .8; }

/* ---------- Siradaki sergi ---------- */
.sonraki { padding: clamp(24px, 2.6vw, 36px) var(--kenar); border-bottom: 1px solid var(--cizgi); }
.sonraki-ic { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 18px; max-width: 1560px; margin-inline: auto; text-decoration: none; transition: color var(--yavas) ease; }
.sonraki-etiket { font-size: 15px; color: var(--gri); }
.sonraki-tarih { font-size: clamp(22px, 2.3vw, 32px); font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
.sonraki-yer { font-size: 15px; }

/* ---------- Eserler ---------- */
.eserler { padding-top: clamp(32px, 3.4vw, 52px); max-width: 1560px; margin-inline: auto; }
.eserler-bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-inline: var(--kenar); margin-bottom: clamp(20px, 2.2vw, 32px); }
/* Gorunum anahtari: kayan siyah secici, ikonlu iki dugme */
.gorunum { display: none; }
.js .gorunum { display: inline-grid; grid-template-columns: 1fr 1fr; position: relative; isolation: isolate; padding: 4px; background: #eeeeeb; border-radius: 999px; }
.gorunum::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: #111; border-radius: 999px; z-index: -1; transition: transform .38s cubic-bezier(.3, .9, .3, 1); }
.eserler[data-view="art"] .gorunum::before { transform: translateX(100%); }
.gorunum button, .pen-gorunum button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500; color: #111; white-space: nowrap; transition: color .25s ease, background-color .25s ease; }
.gorunum button:not([aria-pressed="true"]):hover, .pen-gorunum button:not([aria-pressed="true"]):hover { background: rgba(0, 0, 0, .09); color: #111; }
.gorunum button:active, .pen-gorunum button:active { background: rgba(0, 0, 0, .16); }
.gorunum button[aria-pressed="true"] { color: #fff; }
.gorunum button[aria-pressed="true"]:active { background: none; }
.ik-gorunum { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; }
.gorunum button:focus-visible, .pen-gorunum button:focus-visible { outline-offset: 2px; outline-color: #111; }
@keyframes gorunum-belir { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.js .gorunum-gallery, .js .gorunum-art { animation: gorunum-belir .45s ease; }

.gorunum-art { display: none; }
.eserler[data-view="art"] .gorunum-gallery { display: none; }
.eserler[data-view="art"] .gorunum-art { display: block; }

.akis { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 2.4vw, 36px) clamp(12px, 1.4vw, 22px); padding-inline: var(--kenar); }
.eser { min-width: 0; }
.eser-gorsel { display: block; text-decoration: none; }
.plaka { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #f4f4f2; }
.plaka-oda { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity var(--yavas) ease; }
.plaka--duz { display: flex; align-items: center; justify-content: center; background: #fff; box-shadow: inset 0 0 0 1px var(--cizgi); }
.plaka-duz { width: auto; height: auto; max-width: 62%; max-height: 74%; }
.eser > .kunye { padding: 10px 0 0; }

.js .eser { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.js .eser.gor { opacity: 1; transform: none; }

.izgara { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) clamp(14px, 1.8vw, 28px); padding-inline: var(--kenar); }
.izgara li { display: flex; flex-direction: column; min-width: 0; }
.izgara a { flex: 1; display: flex; align-items: flex-end; text-decoration: none; }
.izgara img { display: block; width: auto; height: auto; max-width: 100%; max-height: 300px; transition: opacity var(--yavas) ease; }
.izgara .kunye { padding-top: 10px; }

/* ---------- Bolumler ---------- */
.bolum { padding-top: clamp(48px, 5vw, 76px); }
.giris { font-size: clamp(17px, 1.35vw, 20px); font-weight: 400; line-height: 1.5; letter-spacing: -.005em; max-width: 44em; margin-top: 14px; }
.hakkinda-giris.portreli { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.portre { display: block; width: 100%; height: auto; }
.gruplar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px clamp(18px, 2vw, 32px); margin-top: clamp(24px, 2.6vw, 36px); font-size: 15px; line-height: 1.45; }
.grup { border-top: 1px solid var(--metin); padding-top: 10px; }
.grup h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.grup li { padding-block: 3px; }

.sergi-grup { margin-top: 16px; border-top: 1px solid var(--metin); padding-top: 10px; display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr); gap: 16px 32px; }
.sergi-grup h3 { font-size: 15px; font-weight: 600; }
.sergi-grup ul { grid-column: 2; }
.sergi { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 4px 32px; padding-bottom: 12px; }
.sergi + .sergi { padding-top: 12px; border-top: 1px solid var(--cizgi); }
.sergi-tarih { font-size: 17px; font-weight: 500; line-height: 1.35; }
.sergi-bilgi h4 { margin: 0 0 2px; font-size: 16px; font-weight: 400; }
.sergi-bilgi p + p { margin-top: 6px; }
.sergi-gorsel { grid-column: 2; width: 100%; height: auto; margin-top: 12px; }
.mekan { grid-column: 2; font-size: 16px; line-height: 1.4; }

/* Gecmis sergiler: yila gore gruplu, sikistirilmis liste (yil solda, kayitlar sagda) */
.gecmis { grid-column: 2; min-width: 0; }
.yil-blok { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 clamp(16px, 2vw, 32px); padding-block: 10px; border-top: 1px solid var(--cizgi); }
.yil-blok:first-child { border-top: 0; padding-top: 0; }
.yil { font-size: 16px; font-weight: 500; line-height: 1.4; font-variant-numeric: tabular-nums; }
.yil-liste { display: grid; gap: 8px; min-width: 0; }
.g-kayit { display: block; line-height: 1.4; font-size: 15px; }
.g-kayit span, .g-kayit a { display: block; }
.g-baslik { font-weight: 500; }
.g-yer, .g-tarih { color: var(--gri); }
.g-link { text-decoration: underline; text-underline-offset: .2em; }
.gecmis-hepsi { border-top: 1px solid var(--cizgi); }
.gecmis-hepsi > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; font-weight: 500; font-size: 15px; text-decoration: underline transparent 1px; text-underline-offset: .35em; transition: text-decoration-color .3s ease; }
.gecmis-hepsi > summary::-webkit-details-marker { display: none; }
.gecmis-hepsi > summary::after { content: "+"; margin-left: 10px; font-weight: 400; }
.gecmis-hepsi[open] > summary::after { content: "−"; }
.gecmis-hepsi > summary:hover { text-decoration-color: currentColor; }
.gecmis-hepsi > summary:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.sertifika { margin-top: 8px; }
.sertifika a { display: inline-block; padding-block: 8px; text-decoration: underline; text-underline-offset: .25em; }

.kitap-liste { margin-top: clamp(18px, 2vw, 28px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(20px, 3vw, 48px); }
.kitap { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.kapak { display: block; width: 100%; height: auto; box-shadow: 0 14px 28px -18px rgba(0, 0, 0, .45); }
.kapak--bos { aspect-ratio: 2 / 3; background: #f1f1ee; box-shadow: inset 0 0 0 1px var(--cizgi); }
.kitap-yazi h3 { font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.kitap--bos .kitap-yazi h3 { color: var(--gri); font-weight: 400; }
.alt-baslik { font-size: 16px; margin-top: 4px; }
.kitap-meta { color: var(--gri); margin-top: 6px; font-size: 15px; }
.kitap-yazi p + p { margin-top: 8px; }
.kitap-yazi { line-height: 1.6; }
.kitaplar-bas.fotolu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(28px, 5vw, 96px); align-items: start; margin-bottom: clamp(12px, 2vw, 28px); }
.kitaplar-foto { display: block; width: 100%; height: auto; }
.kitap-neden { margin-top: 10px; border-top: 1px solid var(--cizgi); }
.kitap-neden > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; font-weight: 500; font-size: 15px; text-decoration: underline transparent 1px; text-underline-offset: .35em; transition: text-decoration-color .3s ease; }
.kitap-neden > summary::-webkit-details-marker { display: none; }
.kitap-neden > summary::after { content: "+"; margin-left: 10px; font-weight: 400; }
.kitap-neden[open] > summary::after { content: "−"; }
.kitap-neden > summary:hover { text-decoration-color: currentColor; }
.kitap-neden > summary:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.kitap-neden-yazi { font-style: italic; border-left: 1px solid var(--metin); padding: 2px 0 6px 16px; margin-bottom: 6px; }

.iletisim { padding-bottom: clamp(48px, 5vw, 76px); }
.eposta { margin-top: 8px; font-size: clamp(19px, 1.7vw, 24px); font-weight: 400; letter-spacing: -.01em; line-height: 1.2; overflow-wrap: anywhere; }
.eposta a { display: inline-block; padding-block: 6px; text-decoration-color: var(--cizgi); transition: color var(--yavas) ease, text-decoration-color var(--yavas) ease; }
.eposta a:hover { text-decoration-color: currentColor; }
.alt-kimlik a, .iletisim-diger a { display: inline-block; padding-block: 10px; }
.eser-gorsel, .izgara a { cursor: zoom-in; }
.iletisim-diger { margin-top: 6px; display: grid; gap: 0; font-size: 16px; }

/* ---------- Footer ---------- */
.alt { border-top: 1px solid var(--cizgi); padding: clamp(28px, 3vw, 44px) var(--kenar) 24px; }
.alt-ic { max-width: 1560px; margin-inline: auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px 32px; font-size: 15px; }
.alt-kol { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.alt-kol a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 5px; text-decoration-color: transparent; transition: text-decoration-color .3s ease; }
.alt-kol a:hover { text-decoration-color: currentColor; color: inherit; }
.alt-kimlik p { padding-block: 3px; }
.alt-ad { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.alt-telif { grid-column: 1 / -1; color: var(--gri); font-size: 14px; padding-top: 14px; border-top: 1px solid var(--cizgi); }

/* ---------- Yasal sayfalar, 404 ---------- */
.yasal { max-width: 780px; margin-inline: auto; padding: calc(var(--ust-h) + clamp(48px, 8vw, 110px)) var(--kenar) clamp(72px, 10vw, 140px); min-height: 70vh; }
.yasal h1 { font-size: clamp(28px, 3vw, 40px); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; margin-bottom: clamp(20px, 3vw, 36px); }
.yasal-metin h2 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin: 28px 0 8px; }
.yasal-metin p, .yasal-metin ul { margin-bottom: 14px; }
.yasal-metin ul { list-style: disc; padding-left: 22px; }
.yasal-metin li { padding-block: 3px; }
.geri { margin-top: 56px; }
.bos-durum { color: var(--gri); }

/* ---------- Buyutme penceresi ---------- */
.pencere { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: #fff; color: #111; }
.pencere[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.pencere:focus { outline: none; }
.pencere::backdrop { background: #fff; }
.pen-ust { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--kenar); }
.pen-gorunum { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #eeeeeb; border-radius: 999px; }
.pen-gorunum:has(button[hidden]) { background: none; }
.pen-gorunum button[aria-pressed="true"], .pen-gorunum button[aria-pressed="true"]:hover { background: #111; color: #fff; }
.pen-kapat { padding: 10px 0; min-height: 44px; color: var(--gri); text-decoration: underline transparent 1px; text-underline-offset: .35em; transition: color .4s ease, text-decoration-color .4s ease; }
.pen-kapat:hover { color: #111; text-decoration-color: currentColor; }
.pen-gorunum button[hidden] { display: none; }
.pen-sahne { position: relative; min-height: 0; padding: 0 clamp(56px, 7vw, 112px); display: flex; }
.pen-kare { position: relative; flex: 1 1 auto; min-width: 0; min-height: 0; overflow: hidden; }
#pen-img { width: 100%; height: 100%; object-fit: contain; transform-origin: 0 0; transition: opacity .5s ease; user-select: none; -webkit-user-select: none; }
#pen-img.z-anim { transition: opacity .5s ease, transform .35s cubic-bezier(.2, .8, .2, 1); }
.pen-kare.z-izin { cursor: zoom-in; touch-action: none; }
.pen-kare.z-izin.z-yakin { cursor: grab; }
.pen-kare.z-izin.z-yakin:active { cursor: grabbing; }
.pen-kare:not(.z-izin) { cursor: zoom-in; }
.pen-zoom { position: absolute; right: clamp(56px, 7vw, 112px); bottom: 12px; z-index: 2; display: inline-flex; gap: 2px; padding: 4px; background: rgba(255, 255, 255, .88); border-radius: 999px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 4px 14px rgba(0, 0, 0, .08); }
.pen-zoom[hidden] { display: none; }
.pen-zoom button { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #111; transition: background-color .2s ease; }
.pen-zoom button:hover { background: rgba(0, 0, 0, .08); }
.pen-zoom button:active { background: rgba(0, 0, 0, .16); }
.pen-zoom button:focus-visible { outline: 2px solid #111; outline-offset: 1px; }
.pen-zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
#pen-img.gecis { opacity: 0; }
.pen-ok { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 72px; display: inline-flex; align-items: center; justify-content: center; color: var(--gri); transition: color .3s ease; }
.pen-ok:hover { color: #111; }
.pen-geri { left: max(4px, calc(var(--kenar) - 18px)); }
.pen-ileri { right: max(4px, calc(var(--kenar) - 18px)); }
.pen-kunye { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 16px var(--kenar) 22px; }
.pen-kunye h2 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.pen-kunye p { color: var(--gri); font-size: 15px; line-height: 1.5; }
#pen-sayac { white-space: nowrap; }
.pen-kunye #pen-imza { font-size: 12px; letter-spacing: .08em; line-height: 1.5; }
.pen-kunye #pen-not { margin-top: 6px; max-width: 52em; }
.pen-kunye p[hidden] { display: none; }

/* ---------- Dar ekran ---------- */
@media (max-width: 899px) {
  :root { --ust-h: 64px; }
  .ust-sol, .ust-sag { display: none; }
  .js .ana .ust:not(.is-solid):not(.menu-acik) { background: #fff; }
  .ana[data-tone="dark"] .ust:not(.is-solid):not(.menu-acik) { color: #111; }
  .ust-ic { grid-template-columns: 1fr auto; }
  .wordmark { justify-self: start; padding-left: 0; font-size: 26px; }
  .mobil-menu { display: block; justify-self: end; }
  .hakkinda-giris.portreli { grid-template-columns: 1fr; }
  .portre { max-width: 420px; }
  .gruplar { grid-template-columns: 1fr 1fr; }
  .sergi-grup { grid-template-columns: 1fr; }
  .sergi-grup ul, .mekan, .gecmis { grid-column: 1; }
  .yil-blok { grid-template-columns: 1fr; gap: 4px 0; }
  .sergi { grid-template-columns: 1fr; }
  .sergi-gorsel { grid-column: 1; }
  .alt-ic { grid-template-columns: 1fr 1fr; }
  .alt-kimlik { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  body { font-size: 16px; }
  .izgara { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .izgara img { max-height: 210px; }
  .gruplar { grid-template-columns: 1fr; }
  .kitap-liste { grid-template-columns: 1fr; }
  .kitap { grid-template-columns: 100px minmax(0, 1fr); }
  .kitaplar-bas.fotolu { grid-template-columns: 1fr; align-items: start; }
  .js .gorunum { width: 100%; }
  .gorunum button, .pen-gorunum button { padding: 0 12px; font-size: 14px; }
  .eserler-bas h2 { width: 100%; }
  .plaka { aspect-ratio: 1 / 1; }
  /* Oda fotografi kare kutuda kirpilir; tablonun merkezi kutunun ortasina gelir (16:9 gorselin kareye oran katsayisi 1,7762) */
  .plaka-oda { object-position: clamp(0%, calc((var(--fx) * 1.7762 - 0.5) / 0.7762 * 100%), 100%) 50%; }
  .plaka-duz { max-width: 74%; max-height: 66%; }
  .pen-sahne { padding: 0 8px; }
  .pen-zoom { right: 8px; bottom: 8px; }
  .pen-ok { width: 44px; height: 64px; background: rgba(255, 255, 255, .7); }
  .pen-geri { left: 0; }
  .pen-ileri { right: 0; }
  .pen-kunye { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Dar ya da dikey pencere: oda fotografi tam gorunur, tablo merkezlenir, kunye altta beyaz bantta */
@media (max-width: 899px), (max-aspect-ratio: 5/4) {
  .kahraman { --bant: 184px; }
  .slayt-sahne { --sh: min(calc(100svh - var(--bant)), calc(50.6vw / var(--aw))); inset: auto; left: 0; right: 0; top: 0; height: min(calc(100svh - var(--bant)), calc(50.6vw / var(--aw))); min-height: 240px; overflow: hidden; background: #fff; }
  .kahraman .plaka { position: absolute; top: 0; left: 50%; width: calc(max(var(--sh), 240px) * 1.7762); height: max(var(--sh), 240px); transform: translateX(calc(var(--fx) * -100%)); }
  .kahraman .plaka-oda { width: 100%; height: 100%; object-fit: cover; }
  .kahraman .plaka--duz { position: absolute; inset: 0; left: 0; transform: none; width: 100%; }
  .kahraman .plaka-duz { max-height: 70%; max-width: 70%; }
  .kahraman, .slayt { --kc: #111 !important; }
  .slayt-kunye { right: auto; left: var(--kenar); right: var(--kenar); bottom: 118px; text-align: left; }
  .kah-yazi { right: var(--kenar); max-width: none; bottom: 22px; }
  .kah-yazi h1 { font-size: 34px; }
  .kah-yazi p { margin-top: 6px; font-size: 16px; }
  .kah-kontrol { left: auto; right: calc(var(--kenar) - 12px); bottom: 56px; transform: none; }
  .kah-kontrol .kah-nokta { width: 36px; }
  .kahraman[data-tb="dark"] .kah-yazi, .kahraman[data-tb="dark"] .slayt-kunye { text-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .eser { opacity: 1; transform: none; }
}

/* Genis ekran: tavan ve ray ust menuye degmesin, zemin bandi basliga yer acsin */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  .slayt-sahne { overflow: hidden; }
  .kahraman .plaka:not(.plaka--duz) { position: absolute; left: 0; right: 0; top: -11%; height: 111%; }
}

/* Orta genislik: eser izgarasi iki sutun, duz eserler uc sutun */
@media (max-width: 1099px) {
  .akis { grid-template-columns: 1fr 1fr; }
  .izgara { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 599px) {
  .izgara { grid-template-columns: 1fr 1fr; }
}

/* Genis ekranda footer linkleri sik; dokunmatikte 44 px kalir */
@media (min-width: 900px) {
  .alt-kol a { min-height: 28px; padding-block: 2px; }
}
