/* ==========================================================================
   Maymun Aklı · tasarım sistemi
   Koyu, sıcak, editoryal. Serif başlık (Fraunces), sans gövde (Inter),
   el yazısı (Caveat Brush) yalnız logo ve kenar notlarında.
   ========================================================================== */

/* ---------- fontlar (OFL, siteden sunulur) ---------- */
@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-ext-opsz-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat Brush"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/caveat-brush-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat Brush"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/caveat-brush-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- renk ve ölçü değişkenleri ---------- */
:root {
  --bg: #14100c;
  --bg-2: #1a140f;
  --surface: #211a13;
  --surface-2: #2a2119;
  --surface-3: #33281e;
  --line: rgba(242, 234, 219, .09);
  --line-2: rgba(242, 234, 219, .18);
  --line-3: rgba(242, 234, 219, .32);
  --text: #f2eadb;
  --text-2: #cdbfa8;
  --muted: #94856f;
  --accent: #f4d500;
  --accent-ink: #12100c;
  --fur: #814e00;
  --tan: #d58d52;
  --link: #e7a86c;
  --danger: #e2735a;
  --ok: #c9b458;
  --cream: #f7f2e6;
  --ink: #1b1d23;
  --glow: rgba(213, 141, 82, .16);

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-hand: "Caveat Brush", "Comic Sans MS", cursive;
  --f-mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 7rem; --s-10: 10rem;
  --r-1: 4px; --r-2: 8px; --r-3: 14px; --r-4: 22px;
  --wrap: 1240px;
  --wrap-text: 720px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 20px 50px -24px rgba(0,0,0,.7);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f7f2e6;
  --bg-2: #f1eadb;
  --surface: #fffdf7;
  --surface-2: #f3ecdd;
  --surface-3: #e9dfcb;
  --line: rgba(27, 29, 35, .09);
  --line-2: rgba(27, 29, 35, .17);
  --line-3: rgba(27, 29, 35, .32);
  --text: #1b1d23;
  --text-2: #3f3a33;
  --muted: #7a6f60;
  --link: #8f4f12;
  --glow: rgba(213, 141, 82, .22);
  --shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -26px rgba(60,40,10,.35);
  color-scheme: light;
}

/* ---------- temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: .6rem; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--line-3); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
p a, .prose a { color: var(--link); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-7) 0; }
.visually-hidden, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: var(--s-4); top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem; border-radius: var(--r-2); }
.skip:focus { top: var(--s-4); }

/* ---------- tipografi ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--f-display);
  font-weight: 420;
  line-height: 1.04;
  letter-spacing: -.018em;
  margin: 0 0 var(--s-4);
  font-optical-sizing: auto;
  text-wrap: balance;
}
.display-xl { font-size: clamp(2.9rem, 7.6vw, 7rem); line-height: .96; letter-spacing: -.03em; font-weight: 380; }
h1, .h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
h2, .h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
h3, .h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; letter-spacing: -.01em; }
h4, .h4 { font-size: 1.125rem; line-height: 1.25; letter-spacing: 0; }
em, .ital { font-style: italic; }
h1 em, h2 em, .display em, .display-xl em { font-weight: 330; color: var(--tan); }
p { margin: 0 0 var(--s-4); }
.lede { font-size: clamp(1.12rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--text-2); max-width: 46ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 var(--s-4);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--plain::before { display: none; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tiny { font-size: .76rem; letter-spacing: .02em; }
.mono { font-family: var(--f-mono); font-size: .92em; }
.hand { font-family: var(--f-hand); font-weight: 400; letter-spacing: .01em; }
.note-hand { font-family: var(--f-hand); font-size: 1.35rem; color: var(--tan); line-height: 1.1; transform: rotate(-2deg); display: inline-block; }
.num { font-family: var(--f-display); font-variant-numeric: lining-nums tabular-nums; font-weight: 400; }

.prose { max-width: var(--wrap-text); }
.prose p, .prose li { color: var(--text-2); }
.prose h2 { font-size: 1.9rem; margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-6); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: var(--s-5) 0; padding-left: var(--s-5); border-left: 2px solid var(--tan); color: var(--text-2); font-family: var(--f-display); font-size: 1.2rem; font-style: italic; }
.prose code, .md code { font-family: var(--f-mono); font-size: .88em; background: var(--surface-2); border: 1px solid var(--line); padding: .08em .35em; border-radius: 5px; }
.md pre.code, pre.code { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-2); padding: var(--s-4); overflow: auto; font-size: .88rem; line-height: 1.55; }
pre.code code { background: none; border: 0; padding: 0; }
.md p:last-child { margin-bottom: 0; }

/* ---------- düzen ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(860px + var(--gutter) * 2); }
.wrap--text { max-width: calc(var(--wrap-text) + var(--gutter) * 2); }
.section { padding-block: clamp(4rem, 10vw, 8.5rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--line { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--s-5); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head .lede { margin-top: var(--s-4); }
.stack > * + * { margin-top: var(--s-4); }
.row { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--rev { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .section-head { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- düğmeler ---------- */
.btn {
  --b: var(--line-3);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 44px; padding: .62rem 1.15rem;
  border: 1px solid var(--b); border-radius: 999px; background: transparent; color: var(--text);
  font-family: var(--f-sans); font-size: .9rem; font-weight: 500; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { border-color: var(--text); background: var(--text); color: var(--bg); }
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn--solid:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn--ghost { border-color: transparent; }
.btn--ghost:hover { background: var(--surface-2); color: var(--text); border-color: var(--line-2); }
.btn--sm { min-height: 34px; padding: .35rem .8rem; font-size: .8rem; }
.btn--lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1rem; }
.btn--danger { --b: rgba(226, 115, 90, .5); color: var(--danger); }
.btn--danger:hover { background: var(--danger); border-color: var(--danger); color: #160c08; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.link-arrow { display: inline-flex; gap: .45em; align-items: center; font-size: .92rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-3); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--text); }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- etiket ve rozet ---------- */
.chip--static { cursor: default; }
.chip {
  display: inline-flex; align-items: center; gap: .4em; min-height: 30px; padding: .2rem .7rem;
  border: 1px solid var(--line-2); border-radius: 999px; font-size: .8rem; color: var(--text-2);
  text-decoration: none; background: transparent; white-space: nowrap; transition: border-color .2s, color .2s, background .2s; cursor: pointer;
}
a.chip:hover, button.chip:hover { border-color: var(--text); color: var(--text); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 .55rem; border-radius: 999px; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--surface-3); color: var(--text-2); vertical-align: middle; }
.badge--draft { background: transparent; border: 1px dashed var(--tan); color: var(--tan); }
.badge--accent { background: var(--accent); color: var(--accent-ink); }
.badge--ok { background: rgba(201, 180, 88, .16); color: var(--ok); }

/* ---------- kartlar ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3);
  padding: clamp(1.1rem, 2.4vw, 1.6rem); box-shadow: var(--shadow);
}
.card--flat { box-shadow: none; }
.card--link { transition: border-color .3s var(--ease), transform .4s var(--ease), background .3s; }
.card--link:hover { border-color: var(--line-3); transform: translateY(-3px); }
.card h3 a, .card h4 a { text-decoration: none; }
.card h3 a::after, .card h4 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.surface-cream { background: var(--cream); color: var(--ink); --text: var(--ink); --text-2: #3f3a33; --muted: #7a6f60; --line: rgba(27,29,35,.1); --line-2: rgba(27,29,35,.18); --line-3: rgba(27,29,35,.35); --surface: #fffdf7; --surface-2: #efe7d6; --bg: #f7f2e6; --bg-2: #efe7d6; --link: #8f4f12; }

/* video kartı */
.vcard { position: relative; display: flex; flex-direction: column; gap: .9rem; }
.vcard__media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-2); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; }
.vcard:hover .vcard__media img { transform: scale(1.035); }
.vcard__muz { position: absolute; left: .7rem; top: .7rem; font-family: var(--f-hand); font-size: 1.05rem; line-height: 1; padding: .3rem .55rem .25rem; border-radius: 6px; background: rgba(20, 16, 12, .78); color: var(--accent); backdrop-filter: blur(6px); }
.vcard__dur { position: absolute; right: .6rem; bottom: .6rem; font-size: .72rem; font-weight: 600; padding: .15rem .4rem; border-radius: 4px; background: rgba(0,0,0,.72); color: #fff; }
.vcard__title { font-family: var(--f-display); font-size: 1.22rem; line-height: 1.18; font-weight: 450; letter-spacing: -.01em; margin: 0; }
.vcard__title a { text-decoration: none; }
.vcard__title a::after { content: ""; position: absolute; inset: 0; }
.vcard__meta { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; font-size: .8rem; color: var(--muted); }
.vcard__meta .dot::before { content: "·"; margin-right: .5rem; }

/* ---------- üst bölüm ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid, body:not(.has-hero) .site-header {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s-5); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; }
.brand__name { font-family: var(--f-hand); font-size: 1.62rem; line-height: 1; letter-spacing: .01em; padding-top: 3px; }
.nav { display: flex; gap: .2rem; margin-left: var(--s-4); }
.nav a { padding: .45rem .8rem; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--text-2); text-decoration: none; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 1px; background: var(--accent); margin-top: 2px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--text-2); cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .dot-count { position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: .64rem; font-weight: 700; line-height: 17px; text-align: center; }
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #fff; border: 1px solid var(--line-2); flex: none; }
.avatar--sm { width: 26px; height: 26px; }
.avatar--lg { width: 88px; height: 88px; }
.avatar--xl { width: 128px; height: 128px; }
.menu-toggle { display: none; }
.theme-ico-light { display: none; }
:root[data-theme="light"] .theme-ico-light { display: block; }
:root[data-theme="light"] .theme-ico-dark { display: none; }

.user-menu { position: relative; }
.user-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .5rem; padding: 3px; border-radius: 999px; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu[open] summary { background: var(--surface-2); }
.dropdown { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-3); padding: .5rem; box-shadow: 0 24px 60px -20px rgba(0,0,0,.6); }
.dropdown a, .dropdown button { display: flex; width: 100%; align-items: center; gap: .6rem; padding: .55rem .75rem; border-radius: var(--r-2); background: none; border: 0; text-align: left; font-size: .9rem; color: var(--text-2); text-decoration: none; cursor: pointer; }
.dropdown a:hover, .dropdown button:hover { background: var(--surface-2); color: var(--text); }
.dropdown hr { margin: .35rem 0; }
.dropdown__head { padding: .5rem .75rem .65rem; border-bottom: 1px solid var(--line); margin-bottom: .35rem; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  /* Açık menüde başlıktaki bulanıklık ve kaydırma (transform) kalkar: ikisi de fixed menüyü başlığın içine hapsediyordu */
  .site-header.menu-open { background: var(--bg) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; transform: none !important; }
  .site-header.menu-open .nav {
    display: flex; flex-direction: column; position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    padding: var(--s-6) var(--gutter); background: var(--bg); gap: 0; overflow: auto;
  }
  .site-header.menu-open .nav a { font-family: var(--f-display); font-size: 2rem; padding: .5rem 0; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .site-header.menu-open .nav a:hover { background: none; }
  .hide-mobile { display: none !important; }
}

/* ---------- alt bölüm ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 8vw, 6rem) 2.5rem; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s-6); }
.footer-grid h4 { font-family: var(--f-sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: var(--s-4); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-grid a { text-decoration: none; color: var(--text-2); font-size: .94rem; }
.footer-grid a:hover { color: var(--text); }
.footer-claim { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; margin: 0 0 var(--s-5); max-width: 16ch; }
.footer-bottom { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- sayfa başlığı (alt sayfalar) ---------- */
main { min-height: 60vh; }
.page-head { padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6.5rem)); padding-bottom: clamp(2rem, 5vw, 3.5rem); position: relative; }
.page-head::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 520px; background: radial-gradient(60% 70% at 15% 0%, var(--glow), transparent 70%); pointer-events: none; z-index: -1; }
.page-head h1 { max-width: 16ch; }
.page-head .lede { margin-top: var(--s-4); }
.crumbs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-bottom: var(--s-5); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- formlar ---------- */
.field { display: grid; gap: .45rem; margin-bottom: var(--s-5); }
.field label, .label { font-size: .84rem; font-weight: 600; color: var(--text-2); letter-spacing: .01em; }
.field .hint { font-size: .8rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: .7rem .95rem; border-radius: var(--r-2);
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.textarea { min-height: 160px; line-height: 1.55; resize: vertical; }
.textarea--code { font-family: var(--f-mono); font-size: .9rem; min-height: 240px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--tan); box-shadow: 0 0 0 4px var(--glow); background: var(--surface); }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: .8; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field.has-error .input, .field.has-error .textarea { border-color: var(--danger); }
.error-text { color: var(--danger); font-size: .82rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--text-2); }
.check input { margin-top: .3rem; accent-color: var(--accent); width: 16px; height: 16px; }
.form-card { max-width: 480px; margin-inline: auto; }
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.auth-side { position: relative; overflow: hidden; background: var(--bg-2); border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--s-8) var(--s-7); }
.auth-side { background: radial-gradient(70% 60% at 70% 90%, rgba(213,141,82,.22), transparent 70%), var(--bg-2); }
.auth-side__monkey { position: absolute; right: 6%; bottom: 0; width: min(72vh, 640px, 78%); aspect-ratio: 1; transform-origin: 50% 100%; will-change: transform; }
.auth-side__monkey video { width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
.auth-side .quote, .auth-side .eyebrow { position: relative; z-index: 1; }
.auth-side { justify-content: flex-start; padding-top: calc(var(--header-h) + 4rem); }
.auth-side .quote { position: relative; z-index: 1; font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.1; max-width: 13ch; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem; }
.auth-main .form-card { width: 100%; }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: minmax(0, 1fr); } .auth-side { display: none; } }

.avatar-pick { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
.avatar-pick label { position: relative; cursor: pointer; }
.avatar-pick input { position: absolute; opacity: 0; inset: 0; }
.avatar-pick img { width: 100%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--line); background: #fff; transition: border-color .2s, transform .2s; }
.avatar-pick input:checked + img { border-color: var(--accent); transform: scale(1.06); box-shadow: 0 0 0 4px rgba(244, 213, 0, .18); }
.avatar-pick input:focus-visible + img { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 480px) { .avatar-pick { grid-template-columns: repeat(4, 1fr); } }

/* ---------- uyarılar ---------- */
.flashes { position: fixed; z-index: 80; left: 50%; top: calc(var(--header-h) + 12px); transform: translateX(-50%); display: grid; gap: .5rem; width: min(560px, calc(100% - 2rem)); }
.flash { display: flex; gap: .8rem; align-items: center; padding: .8rem 1rem; border-radius: var(--r-3); background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); font-size: .94rem; animation: flash-in .5s var(--ease) both; }
.flash img { width: 40px; height: 40px; border-radius: 50%; background: #fff; flex: none; }
.flash--hata { border-color: rgba(226,115,90,.45); }
.flash--basari { border-color: rgba(244,213,0,.35); }
.flash button { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.2rem; line-height: 1; }
@keyframes flash-in { from { opacity: 0; transform: translateY(-8px); } }
.notice { padding: 1rem 1.2rem; border-radius: var(--r-2); border: 1px solid var(--line-2); background: var(--surface); font-size: .94rem; color: var(--text-2); }
.notice--draft { border-style: dashed; border-color: var(--tan); }

/* ---------- boş durum ---------- */
.empty { text-align: center; padding: clamp(2.5rem, 7vw, 5rem) 1rem; border: 1px dashed var(--line-2); border-radius: var(--r-3); }
.empty img { width: 120px; height: 120px; margin: 0 auto var(--s-4); border-radius: 50%; background: #fff; object-fit: cover; }
.empty h3 { margin-bottom: .4rem; }
.empty p { color: var(--muted); max-width: 40ch; margin-inline: auto; }

/* ---------- prompt bloğu ---------- */
.prompt { position: relative; border: 1px solid var(--line); border-radius: var(--r-3); background: var(--surface); overflow: hidden; }
.prompt__head { display: flex; gap: .75rem; align-items: center; justify-content: space-between; padding: .85rem 1rem .85rem 1.2rem; border-bottom: 1px solid var(--line); }
.prompt__title { font-family: var(--f-display); font-size: 1.08rem; line-height: 1.25; margin: 0; font-weight: 460; }
.prompt__meta { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .3rem; }
.prompt__body { position: relative; margin: 0; padding: 1.1rem 1.2rem; font-family: var(--f-mono); font-size: .86rem; line-height: 1.62; color: var(--text-2); white-space: pre-wrap; word-break: break-word; max-height: 300px; overflow: hidden; background: var(--bg-2); }
.prompt.is-open .prompt__body { max-height: none; }
.prompt__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, var(--bg-2)); pointer-events: none; }
.prompt.is-open .prompt__fade, .prompt.is-short .prompt__fade { display: none; }
.prompt__foot { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .6rem 1rem; border-top: 1px solid var(--line); font-size: .82rem; }
.copy-btn.is-copied { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ---------- tablolar ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-3); }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { white-space: nowrap; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--bg-2); }
.table tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table tbody tr:hover { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }

/* ---------- sayfalama ---------- */
.pager { display: flex; gap: .4rem; justify-content: center; margin-top: var(--s-7); flex-wrap: wrap; }

/* ---------- görünme animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* "hareket azalt" ayarında yalnız sayfa içi kaydırma yumuşaklığı kapanır; dalış ve döngüler site sahibinin isteğiyle çalışır */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}

/* ---------- imleci takip eden sıcak ışık (yalnız fareli masaüstü) ---------- */
.cursor-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), rgba(213, 141, 82, .075), rgba(213, 141, 82, .025) 40%, transparent 70%);
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.cursor-glow.is-on { opacity: 1; }
:root[data-theme="light"] .cursor-glow { background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), rgba(213, 141, 82, .11), rgba(213, 141, 82, .035) 40%, transparent 70%); }
