/* ==========================================================================
   Masabaşında Eşitlik — esitlik.masabasi.vip
   Tek stil dosyası. Renkleri/fontları değiştirmek için yalnızca :root'u düzenleyin.
   ========================================================================== */

/* ---------- Fontlar (kendi sunucumuzda; üçüncü taraf isteği yok) ---------- */
@font-face { font-family: "Bricolage"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(../fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2) format("woff2-variations");
  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: "Bricolage"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(../fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2-variations");
  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: "Newsreader"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(../fonts/newsreader-latin-ext-opsz-normal.woff2) format("woff2-variations");
  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: "Newsreader"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(../fonts/newsreader-latin-opsz-normal.woff2) format("woff2-variations");
  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: "Newsreader"; font-style: italic; font-display: swap; font-weight: 200 800;
  src: url(../fonts/newsreader-latin-ext-opsz-italic.woff2) format("woff2-variations");
  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: "Newsreader"; font-style: italic; font-display: swap; font-weight: 200 800;
  src: url(../fonts/newsreader-latin-opsz-italic.woff2) format("woff2-variations");
  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: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(../fonts/jetbrains-mono-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; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(../fonts/jetbrains-mono-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: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 600;
  src: url(../fonts/jetbrains-mono-latin-ext-600-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: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 600;
  src: url(../fonts/jetbrains-mono-latin-600-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; }

/* ---------- Tasarım belirteçleri ---------- */
:root {
  --paper: #f4efe6;
  --paper-2: #ebe4d6;
  --paper-3: #e1d8c6;
  --card: #fbf8f2;
  --ink: #11142c;
  --ink-2: #3b3f5a;
  --ink-3: #6b6e86;
  --cobalt: #2340f0;
  --cobalt-2: #1a2fc2;
  --peri: #bccbff;
  --lilac: #ead8ff;
  --pink: #f6abe6;
  --pink-2: #ef7fd6;
  --mustard: #e3a92c;
  --plum: #4b2c83;
  --night: #0f1431;
  --line: rgba(17, 20, 44, 0.14);
  --line-2: rgba(17, 20, 44, 0.28);

  --f-display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --f-read: "Newsreader", Georgia, "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --radius: 18px;
  --shadow: 5px 5px 0 var(--cobalt);
  --shadow-ink: 5px 5px 0 var(--ink);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--f-display); font-optical-sizing: auto;
  overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
body::before { /* kâğıt dokusu */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .07 0 0 0 0 .08 0 0 0 0 .17 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer, section { position: relative; z-index: 1; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--cobalt); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--pink); color: var(--ink); }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: .98; text-wrap: balance; }

/* Dil seçimi: TR/EN içerikler aynı dosyada, data-lang ile gösterilir */
html[data-lang="tr"] [lang="en"], html[data-lang="en"] [lang="tr"] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 860px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.mono { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-family: var(--f-mono); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt); }
.eyebrow::before { content: ""; width: 1.6em; height: 2px; background: currentColor; }
.muted { color: var(--ink-3); }

/* ---------- Üst bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 46px; height: auto; }
.brand b { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.02em; line-height: 1; }
.brand small { display: block; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 11px; border-radius: 999px; white-space: nowrap; }
.nav a:hover { background: var(--lilac); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.lang { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; padding: 2px; background: var(--card); flex-shrink: 0; }
.lang button { border: 0; background: none; font-family: var(--f-mono); font-weight: 600; font-size: .74rem; letter-spacing: .06em; padding: 5px 9px; border-radius: 999px; }
html[data-lang="tr"] .lang [data-set-lang="tr"], html[data-lang="en"] .lang [data-set-lang="en"] { background: var(--cobalt); color: #fff; }
.menu-btn { display: none; border: 2px solid var(--ink); background: var(--card); border-radius: 999px; width: 42px; height: 42px; place-items: center; flex-shrink: 0; }
.menu-btn span { display: block; width: 16px; height: 2px; background: var(--ink); position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-btn { display: grid; }
  .topbar .lang { margin-left: auto; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; z-index: 49; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 2px solid var(--ink); padding: 10px var(--gutter) 22px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .22s var(--ease);
    max-height: calc(100dvh - 68px); overflow: auto;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; padding: 10px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { background: none; color: var(--cobalt); }
  .brand small { display: none; }
}

/* ---------- Butonlar ---------- */
.btn {
  --bg: var(--card); --fg: var(--ink); --sh: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px;
  padding: 12px 20px; border: 2px solid var(--ink); border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.1;
  box-shadow: 3px 3px 0 var(--sh); transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { color: var(--fg); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--sh); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--sh); }
.btn-primary { --bg: var(--cobalt); --fg: #fff; }
.btn-pink { --bg: var(--pink); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: .88rem; }
.btn svg { width: 1.1em; height: 1.1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Kahraman (ana sayfa) ---------- */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(40px, 7vw, 90px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 9.2vw, 8.4rem); line-height: .86; letter-spacing: -0.055em; margin: 18px 0 26px; font-variation-settings: "opsz" 96; }
.hero h1 .mark { position: relative; white-space: nowrap; color: var(--cobalt); }
.hero h1 .mark svg { position: absolute; left: -2%; bottom: -.1em; width: 104%; height: .32em; overflow: visible; }
.hero h1 .mark svg path { stroke: var(--pink-2); stroke-width: 7; fill: none; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 1.4s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lede { font-family: var(--f-read); font-size: clamp(1.2rem, 2.1vw, 1.55rem); line-height: 1.42; max-width: 36ch; color: var(--ink-2); margin-bottom: 30px; }
.hero .lede em { color: var(--ink); }
.die-slot { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; margin-inline: auto; }
.die-slot .fallback { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; }
.has-3d .die-slot .fallback { opacity: 0; }
.die-hint { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); white-space: nowrap; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: flex; gap: .5em; align-items: center; }
.die-hint kbd { font: inherit; border: 1.5px solid var(--ink-3); border-radius: 6px; padding: 1px 6px; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .die-slot { max-width: 300px; }
}

/* 3B zar: sabit katman; ana sayfada kahramandan köşeye süzülür */
#die-dock { position: fixed; left: 0; top: 0; z-index: 40; transform-origin: 0 0; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; will-change: transform; }
#die-dock canvas { width: 100% !important; height: 100% !important; }
#die-dock:focus-visible { outline: none; }
#die-dock:focus-visible + .die-bubble { outline: 3px solid var(--cobalt); outline-offset: 4px; }
.die-bubble {
  position: fixed; right: 16px; bottom: 16px; width: 92px; height: 92px; z-index: 39; border-radius: 50%;
  background: var(--card); border: 2px solid var(--ink); box-shadow: var(--shadow);
  opacity: 0; transform: scale(.6); transition: opacity .25s, transform .3s var(--ease); pointer-events: none;
}
.die-docked .die-bubble { opacity: 1; transform: none; }
.no-3d #die-dock, .no-3d .die-bubble { display: none; }
@media (max-width: 640px) { .die-bubble { width: 76px; height: 76px; right: 12px; bottom: 12px; } }

.roll-toast {
  position: fixed; right: 16px; bottom: 122px; z-index: 45; width: min(360px, calc(100vw - 32px));
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 20px 16px; transform: translateY(12px) scale(.98); opacity: 0; visibility: hidden; transition: .25s var(--ease);
}
.roll-toast.show { transform: none; opacity: 1; visibility: visible; }
.roll-toast .n { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); font-weight: 600; }
.roll-toast p { font-family: var(--f-read); font-size: 1.22rem; line-height: 1.35; margin: 6px 0 10px; }
.roll-toast .x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 1.4rem; line-height: 1; padding: 4px 8px; }
.roll-toast a { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 640px) { .roll-toast { right: 12px; bottom: 100px; } }

/* ---------- Kayan şerit ---------- */
.ticker { background: var(--cobalt); color: #fff; border-block: 2px solid var(--ink); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 2.2em; padding: 14px 0; animation: tick 46s linear infinite; font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.35rem); letter-spacing: -0.01em; }
.ticker-track span { display: inline-flex; align-items: center; gap: 2.2em; }
.ticker-track span::after { content: ""; width: .7em; height: .7em; background: var(--pink); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Bölüm başlıkları ---------- */
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(28px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); letter-spacing: -0.045em; margin-top: 14px; }
.section-head p { font-family: var(--f-read); font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); margin: 0; max-width: 46ch; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Düstur (kısa manifesto) ---------- */
.dustur { background: var(--night); color: #f2eefc; border-block: 2px solid var(--ink); overflow: hidden; }
.dustur .eyebrow { color: var(--pink); }
.dustur h2 { color: #fff; }
.dustur .section-head p { color: #c8c6e4; }
.dustur ol { list-style: none; margin: 0; padding: 0; counter-reset: d; }
.dustur li {
  counter-increment: d; position: relative;
  padding: clamp(18px, 2.6vw, 28px) 0 clamp(18px, 2.6vw, 28px) clamp(3rem, 6vw, 4.6rem); border-top: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--f-read); font-size: clamp(1.35rem, 2.9vw, 2.25rem); line-height: 1.22; letter-spacing: -0.01em;
}
.dustur li::before { content: counter(d, decimal-leading-zero); position: absolute; left: 0; top: clamp(18px, 2.6vw, 28px); font-family: var(--f-mono); font-size: .8rem; line-height: 1; color: var(--peri); padding-top: .9em; letter-spacing: .08em; }
.dustur li strong { font-weight: 600; color: #fff; background: linear-gradient(transparent 62%, rgba(246, 171, 230, .38) 0); }
.dustur .sign { margin-top: 34px; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--peri); }

/* ---------- Bildiri (École de Golem) ---------- */
.decree {
  position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: 6px;
  box-shadow: 10px 10px 0 var(--ink); padding: clamp(24px, 5vw, 64px); max-width: 980px; margin-inline: auto;
}
.decree::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line-2); border-radius: 2px; pointer-events: none; }
.decree-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 22px; margin-bottom: 28px; }
.decree-top img { width: clamp(150px, 22vw, 220px); }
.decree-meta { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; text-align: right; line-height: 1.8; color: var(--ink-2); }
.decree h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: -0.045em; margin-bottom: 22px; }
.decree .body { font-family: var(--f-read); font-size: clamp(1.1rem, 1.7vw, 1.28rem); line-height: 1.6; }
.decree .body p:first-child::first-letter { float: left; font-family: var(--f-display); font-weight: 800; font-size: 4.1em; line-height: .8; padding: .06em .1em 0 0; color: var(--cobalt); }
.decree ul { margin: 0 0 1.2em; padding: 0; list-style: none; }
.decree ul li { position: relative; padding-left: 1.8em; margin-bottom: .45em; }
.decree ul li::before { content: "✦"; position: absolute; left: .2em; color: var(--pink-2); }
.decree-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-top: 34px; }
.signature { min-width: 240px; }
.signature .line { font-family: var(--f-read); font-style: italic; font-size: 2rem; color: var(--cobalt); border-bottom: 1.5px solid var(--ink); padding: 0 6px 4px; }
.signature small { display: block; margin-top: 6px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.stamp { width: 150px; height: 150px; color: var(--pink-2); transform: rotate(-12deg); flex-shrink: 0; }
.stamp text { font-family: var(--f-mono); font-size: 10.4px; font-weight: 600; letter-spacing: 2.6px; fill: currentColor; }
@media (max-width: 640px) { .decree-meta { text-align: left; } .stamp { width: 116px; height: 116px; } }

/* ---------- Yirmi ilke ---------- */
.principles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.principle {
  position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 18px 18px 20px 70px; min-height: 112px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.principle .hex {
  position: absolute; left: 14px; top: 16px; width: 42px; height: 46px; display: grid; place-items: center;
  font-weight: 800; font-size: 1.02rem; background: var(--peri); color: var(--ink);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.principle:nth-child(3n+2) .hex { background: var(--lilac); }
.principle:nth-child(3n) .hex { background: var(--pink); }
.principle p { margin: 0; font-family: var(--f-read); font-size: 1.1rem; line-height: 1.38; }
.principle.hit { background: var(--lilac); transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--cobalt); }
.principle.hit .hex { background: var(--cobalt); color: #fff; }
.roll-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.roll-result { font-family: var(--f-read); font-style: italic; font-size: 1.2rem; color: var(--ink-2); min-height: 1.5em; }
.roll-result b { font-style: normal; font-family: var(--f-display); color: var(--cobalt); }

/* ---------- Kartlar / ızgaralar ---------- */
.grid { display: grid; gap: 18px; }
.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)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 26px); }
.card h3 { font-size: 1.45rem; letter-spacing: -0.03em; margin-bottom: 10px; }
.card p { color: var(--ink-2); }
.card-link { display: flex; flex-direction: column; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card-link:hover { color: var(--ink); transform: translate(-3px, -3px); box-shadow: var(--shadow); }
.card-link .go { margin-top: auto; padding-top: 14px; font-family: var(--f-mono); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt); }

.chapters { counter-reset: ch; }
.chapter-card { position: relative; min-height: 230px; }
.chapter-card .num { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; color: var(--ink-3); display: flex; justify-content: space-between; margin-bottom: 26px; }
.chapter-card h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.chapter-card:nth-child(4n+1) { background: var(--lilac); }
.chapter-card:nth-child(4n+3) { background: var(--peri); }

.doors .door { min-height: 300px; position: relative; overflow: hidden; }
.door .big { font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -0.05em; line-height: .9; margin: 10px 0 14px; }
.door .count { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.door-1 { background: var(--pink) !important; }
.door-2 { background: var(--peri) !important; }
.door-3 { background: var(--mustard) !important; }

/* Logo ailesi */
.family { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.family figure { margin: 0; padding: 26px 20px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; border-right: 2px solid var(--ink); }
.family figure:last-child { border-right: 0; }
.family .logo-box { height: 150px; width: 100%; display: grid; place-items: center; }
.family .logo-box img { max-height: 150px; width: auto; object-fit: contain; }
.family .logo-box.dark { background: #2b3038; border-radius: 12px; }
.family .logo-box.dark img { max-height: 150px; border-radius: 12px; }
.family figcaption b { display: block; font-size: 1.08rem; letter-spacing: -0.02em; }
.family figcaption span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 900px) { .family { grid-template-columns: repeat(2, minmax(0, 1fr)); } .family figure:nth-child(2) { border-right: 0; } .family figure:nth-child(-n+2) { border-bottom: 2px solid var(--ink); } }

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-head { padding: clamp(36px, 7vw, 92px) 0 clamp(28px, 5vw, 56px); border-bottom: 2px solid var(--ink); }
.page-head h1 { font-size: clamp(2.8rem, 8vw, 6.6rem); letter-spacing: -0.055em; line-height: .88; margin: 16px 0 22px; max-width: 14ch; }
.page-head .lede { font-family: var(--f-read); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.45; color: var(--ink-2); max-width: 52ch; margin: 0; }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.page-head-grid .badge-art { width: clamp(160px, 22vw, 280px); }
@media (max-width: 760px) { .page-head-grid { grid-template-columns: 1fr; } .page-head-grid .badge-art { width: 180px; } }

/* ---------- Uzun okuma ---------- */
.reader { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); padding-top: clamp(28px, 5vw, 56px); }
.toc { position: sticky; top: 92px; align-self: start; max-height: calc(100dvh - 110px); overflow: auto; padding-bottom: 20px; }
.toc .mono { color: var(--ink-3); margin-bottom: 12px; display: block; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: grid; grid-template-columns: 2.2em 1fr; gap: 4px; text-decoration: none; padding: 8px 10px; border-radius: 10px; font-weight: 600; font-size: .93rem; line-height: 1.25; color: var(--ink-2); }
.toc a > span:first-child { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-3); padding-top: 2px; }
.toc a:hover { background: var(--paper-2); color: var(--ink); }
.toc a.active { background: var(--ink); color: var(--paper); }
.toc a.active > span:first-child { color: var(--pink); }
.toc-mobile { display: none; }
@media (max-width: 980px) {
  .reader { grid-template-columns: 1fr; }
  .toc { display: none; }
  .toc-mobile { display: block; position: sticky; top: 68px; z-index: 30; margin: 0 calc(var(--gutter) * -1); background: var(--paper); border-bottom: 1px solid var(--line); }
  .toc-mobile select { width: 100%; border: 0; background: transparent; font: 600 1rem var(--f-display); padding: 14px var(--gutter); color: var(--ink); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2311142c' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--gutter) center; }
}

.progress { position: fixed; left: 0; top: 0; height: 4px; width: 100%; z-index: 60; background: transparent; }
.progress i { display: block; height: 100%; width: 100%; background: var(--cobalt); transform-origin: 0 50%; transform: scaleX(0); }

.prose { font-family: var(--f-read); font-size: clamp(1.13rem, 1.35vw, 1.24rem); line-height: 1.68; color: var(--ink); max-width: 68ch; }
.prose p { margin: 0 0 1.05em; hanging-punctuation: first; }
.prose h3 { font-family: var(--f-display); font-size: clamp(1.4rem, 2.3vw, 1.8rem); margin: 1.9em 0 .6em; letter-spacing: -0.03em; line-height: 1.08; }
.prose h4 { font-family: var(--f-display); font-size: 1.12rem; margin: 1.5em 0 .4em; letter-spacing: -0.01em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose ul li::marker { content: "◆  "; color: var(--cobalt); font-size: .7em; }
.prose strong { font-weight: 650; }
.prose em { font-style: italic; }
.prose a { color: var(--cobalt); }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 1.1em; border-left: 4px solid var(--pink-2); font-style: italic; font-size: 1.12em; color: var(--ink-2); }
.prose blockquote cite { display: block; margin-top: .5em; font-style: normal; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

.chapter { padding-bottom: clamp(48px, 8vw, 96px); margin-bottom: clamp(48px, 8vw, 96px); border-bottom: 2px solid var(--ink); }
.chapter:last-of-type { border-bottom: 0; }
.chapter-head { margin-bottom: 30px; }
.chapter-head .meta { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.chapter-head .meta b { color: var(--cobalt); }
.chapter-head h2 { font-size: clamp(2.3rem, 5.5vw, 4.4rem); letter-spacing: -0.05em; line-height: .92; margin: 14px 0 14px; }
.chapter-head .sub { font-family: var(--f-read); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--ink-2); line-height: 1.35; margin: 0; max-width: 40ch; }
.chapter .prose > p:first-of-type::first-letter { float: left; font-family: var(--f-display); font-weight: 800; font-size: 3.9em; line-height: .82; padding: .05em .08em 0 0; color: var(--cobalt); }

.pull { margin: 1.7em 0; padding: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.35rem); line-height: 1.04; letter-spacing: -0.035em; color: var(--cobalt); max-width: 22ch; border: 0; font-style: normal; }
.pull::before { content: "“"; display: block; font-size: 2.2em; line-height: .5; color: var(--pink-2); margin-bottom: .1em; }

.box { font-family: var(--f-display); background: var(--lilac); border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px 22px 8px; margin: 1.6em 0; font-size: 1rem; line-height: 1.5; }
.box > .mono { display: block; color: var(--cobalt); font-weight: 600; margin-bottom: 8px; }
.box ul, .box ol { margin: 0 0 12px; padding-left: 1.2em; }
.box li { margin-bottom: .55em; }
.box li strong { font-weight: 750; }
.box.peri { background: var(--peri); }
.box.pink { background: var(--pink); }
.box.ink { background: var(--night); color: #eeeafc; border-color: var(--night); }
.box.ink .mono { color: var(--pink); }
.box.warn { background: #ffe1a3; }

.reflect { border: 2px dashed var(--ink-2); border-radius: var(--radius); padding: 18px 22px 6px; margin: 2em 0 0; font-family: var(--f-display); }
.reflect .mono { display: block; color: var(--ink-3); margin-bottom: 10px; }
.reflect ol { margin: 0 0 12px; padding-left: 1.3em; font-size: 1.05rem; }
.reflect li { margin-bottom: .5em; }
.reflect li::marker { font-family: var(--f-mono); color: var(--cobalt); }

.quote-lines { list-style: none !important; padding: 0 !important; display: grid; gap: 10px; }
.quote-lines li { background: var(--card); border: 1.5px solid var(--ink); border-radius: 14px 14px 14px 4px; padding: 10px 16px; font-style: italic; }
.quote-lines li::marker { content: none; }

.types { display: grid; gap: 12px; margin: 1.4em 0; font-family: var(--f-display); }
.type { border: 2px solid var(--ink); border-radius: var(--radius); padding: 16px 18px; background: var(--card); }
.type .mono { color: var(--cobalt); font-weight: 600; }
.type h4 { margin: 6px 0 6px !important; font-size: 1.2rem; }
.type p { margin: 0 !important; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.type.danger { background: var(--night); color: #f1eefc; border-color: var(--night); }
.type.danger p { color: #d7d3ef; }
.type.danger .mono { color: var(--pink); }

/* ---------- Dizin (imzacılar) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.field { display: grid; gap: 6px; }
.field label, .label { font-family: var(--f-mono); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.input, select.input, textarea.input {
  width: 100%; min-height: 46px; border: 2px solid var(--ink); border-radius: 12px; background: var(--card);
  font: 500 1rem var(--f-display); color: var(--ink); padding: 10px 14px;
}
textarea.input { min-height: 110px; resize: vertical; line-height: 1.45; }
.input:focus { outline: none; box-shadow: 0 0 0 3px var(--peri); border-color: var(--cobalt); }
.filters .input { width: auto; min-width: 170px; }
.filters .grow { flex: 1 1 220px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--ink); background: var(--card); border-radius: 999px; padding: 4px 11px; font-size: .82rem; font-weight: 600; line-height: 1.3; }
.chip.on, .chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
button.chip { cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

.directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.entry { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.entry .top { display: flex; gap: 14px; align-items: flex-start; }
.entry .avatar { width: 56px; height: 56px; flex-shrink: 0; display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; background: var(--peri); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); overflow: hidden; }
.entry .avatar img { width: 100%; height: 100%; object-fit: cover; }
.entry h3 { font-size: 1.3rem; letter-spacing: -0.025em; line-height: 1.1; }
.entry .where { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-top: 5px; }
.entry p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.5; }
.entry dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 12px; font-size: .92rem; }
.entry dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.entry dd { margin: 0; overflow-wrap: anywhere; }
.entry .links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.entry .links a { text-decoration: none; }
.entry .links a:hover { background: var(--lilac); color: var(--ink); }
.entry .sample { position: absolute; top: -11px; right: 14px; background: var(--mustard); border: 1.5px solid var(--ink); border-radius: 999px; font-family: var(--f-mono); font-size: .66rem; font-weight: 600; letter-spacing: .1em; padding: 2px 9px; }
.pledges { display: flex; flex-wrap: wrap; gap: 5px; }
.pledges .chip { font-size: .74rem; padding: 3px 9px; background: var(--lilac); border-color: var(--ink-2); }

.empty-chair { border: 2px dashed var(--ink-2); background: transparent; align-items: flex-start; justify-content: center; min-height: 230px; }
.empty-chair .seat { width: 56px; height: 56px; border: 2px dashed var(--ink-2); clip-path: none; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; color: var(--ink-3); }
.empty-chair h3 { color: var(--ink-2); }
.dir-count { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }

/* ---------- Taahhüt listesi ---------- */
.pledge-list { list-style: none; margin: 0; padding: 0; counter-reset: p; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.pledge-list li { counter-increment: p; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.pledge-list li::before { content: counter(p, decimal-leading-zero); font-family: var(--f-mono); font-weight: 600; color: var(--cobalt); padding-top: 4px; }
.pledge-list b { display: block; font-size: 1.18rem; letter-spacing: -0.02em; margin-bottom: 3px; }
.pledge-list span { font-family: var(--f-read); font-size: 1.08rem; color: var(--ink-2); line-height: 1.5; }

/* ---------- E-posta oluşturucu (mailto) ---------- */
.composer { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-ink); padding: clamp(20px, 3vw, 34px); }
.composer .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.composer .row.one { grid-template-columns: 1fr; }
@media (max-width: 620px) { .composer .row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; line-height: 1.4; padding: 6px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--cobalt); flex-shrink: 0; margin-top: 1px; }
.composer .note { font-size: .88rem; color: var(--ink-3); margin: 12px 0 0; }
.composer .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.copied { font-family: var(--f-mono); font-size: .74rem; color: var(--cobalt); letter-spacing: .06em; opacity: 0; transition: opacity .2s; }
.copied.show { opacity: 1; }
.mail-line { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--f-mono); font-size: .9rem; }
.mail-line a { font-weight: 600; color: var(--cobalt); }

/* ---------- Araç kutusu ---------- */
.fillbar { position: sticky; top: 68px; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 12px 0; }
.fillbar .wrap { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); gap: 10px; align-items: end; }
.fillbar .input { min-height: 40px; padding: 7px 12px; font-size: .92rem; }
.fillbar .label { font-size: .62rem; }
.fillbar .intro { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; max-width: 15ch; line-height: 1.3; color: var(--cobalt); font-weight: 600; }
@media (max-width: 900px) { .fillbar { position: static; } .fillbar .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fillbar .intro { grid-column: 1 / -1; max-width: none; } }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.tabs button { border: 2px solid var(--ink); background: var(--card); border-radius: 999px; padding: 9px 16px; font-weight: 700; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }

.tpl-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.tpl-index { position: sticky; top: 172px; display: grid; gap: 6px; }
.tpl-index button { text-align: left; border: 2px solid transparent; background: none; border-radius: 12px; padding: 10px 12px; font-weight: 650; line-height: 1.25; display: grid; grid-template-columns: 2em 1fr; gap: 4px; }
.tpl-index button > span:first-child { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-3); padding-top: 2px; }
.tpl-index button:hover { background: var(--paper-2); }
.tpl-index button[aria-selected="true"] { border-color: var(--ink); background: var(--card); box-shadow: 3px 3px 0 var(--cobalt); }
@media (max-width: 900px) { .tpl-layout { grid-template-columns: 1fr; } .tpl-index { position: static; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; padding-bottom: 6px; } }

.tpl { display: none; }
.tpl.on { display: block; }
.tpl-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.tpl-tools .what { margin-right: auto; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sheet {
  background: #fff; color: #15172b; border: 2px solid var(--ink); border-radius: 6px; box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(22px, 4.5vw, 56px); font-family: var(--f-read); font-size: 1.06rem; line-height: 1.55;
}
.sheet header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; border-bottom: 2px solid #15172b; padding-bottom: 14px; margin-bottom: 20px; }
.sheet header img { width: 84px; }
.sheet h2 { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.035em; line-height: 1; }
.sheet .kicker { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 8px; display: block; }
.sheet h3 { font-family: var(--f-display); font-size: 1.12rem; margin: 1.4em 0 .5em; letter-spacing: -0.015em; }
.sheet p { margin: 0 0 .8em; }
.sheet ul, .sheet ol { margin: 0 0 1em; padding-left: 1.3em; }
.sheet li { margin-bottom: .35em; }
.sheet .fill { background: #eef1ff; border-bottom: 1.5px solid var(--cobalt); padding: 0 4px; font-style: normal; border-radius: 3px 3px 0 0; }
.sheet .blank { display: inline-block; min-width: 14ch; border-bottom: 1.5px solid #15172b; }
.sheet .lines { display: grid; gap: 22px; margin: 10px 0 18px; }
.sheet .lines i { display: block; border-bottom: 1px solid #8a8ca0; height: 1px; }
.sheet table { width: 100%; border-collapse: collapse; margin: .6em 0 1.2em; font-family: var(--f-display); font-size: .94rem; }
.sheet th, .sheet td { border: 1.5px solid #15172b; padding: 7px 9px; text-align: left; vertical-align: top; }
.sheet th { background: #f1ecff; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; font-family: var(--f-mono); }
.sheet td.c, .sheet th.c { text-align: center; width: 4.6em; }
.sheet .box-sq { display: inline-block; width: 15px; height: 15px; border: 1.5px solid #15172b; border-radius: 3px; vertical-align: -2px; margin-right: 6px; }
.sheet .sign-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 26px; margin-top: 30px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.sheet .sign-row div { border-top: 1.5px solid #15172b; padding-top: 6px; }
.sheet .foot { margin-top: 26px; padding-top: 12px; border-top: 1px solid #c9cad6; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .04em; color: #5d6075; }
.sheet .poster-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); line-height: .92; letter-spacing: -0.05em; color: var(--cobalt); margin: 4px 0 16px; }
.sheet .rules { list-style: none; padding: 0; counter-reset: r; display: grid; gap: 10px; }
.sheet .rules li { counter-increment: r; position: relative; padding: .25em 0 .25em 2.6em; min-height: 2.2em; font-family: var(--f-display); font-size: 1.05rem; }
.sheet .rules li::before { content: counter(r); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.9em; height: 2.1em; background: var(--peri); font-weight: 800; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* ---------- Mekân afişi (A4, ekranda ve baskıda aynı oranda ölçeklenir) ---------- */
.sheet-poster { padding: 0; overflow: hidden; }
.poster > * { flex-shrink: 0; }
.sheet .poster > .poster-rules { flex: 1 1 auto; min-height: 0; }
.poster {
  container-type: inline-size; position: relative; display: flex; flex-direction: column;
  aspect-ratio: 210 / 297; background: var(--paper); color: var(--ink); font-family: var(--f-display);
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.poster-top {
  position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: flex-start; gap: 5cqi;
  background: var(--cobalt); color: #fff; padding: 5.5cqi 7cqi 5cqi; border-bottom: .8cqi solid var(--ink);
}
.poster-top::after { /* dev d20 silueti */
  content: ""; position: absolute; right: -9cqi; bottom: -22cqi; width: 46cqi; aspect-ratio: 1; opacity: .16;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 3 57 17.5v29L32 61 7 46.5v-29ZM32 3 19 25h26ZM19 25 7 17.5M45 25l12-7.5M19 25 32 48l13-23M19 25 7 46.5M45 25l12 21.5M32 48v13' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.poster-k { display: block; font-family: var(--f-mono); font-weight: 600; font-size: 2.1cqi; letter-spacing: .14em; text-transform: uppercase; color: var(--peri); }
.poster-venue { display: block; margin-top: 1.6cqi; font-weight: 800; font-size: 5.8cqi; line-height: .95; letter-spacing: -.04em; }
.poster-logo { position: relative; z-index: 1; flex-shrink: 0; width: 18cqi; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: .7cqi solid var(--ink); box-shadow: 1.2cqi 1.2cqi 0 var(--ink); }
.poster-logo img { width: 74%; }
.sheet .poster-h { margin: 0; padding: 5cqi 7cqi 3.4cqi; font-size: 8.8cqi; line-height: .88; letter-spacing: -.055em; font-weight: 800; color: var(--ink); }
.sheet .poster-h em { font-style: normal; color: var(--cobalt); background: linear-gradient(transparent 70%, var(--pink) 70%, var(--pink) 92%, transparent 92%); }
.sheet .poster-rules { list-style: none; margin: 0; padding: 0 7cqi; flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 2.2cqi 5cqi; align-content: space-evenly; counter-reset: pr; }
.sheet .poster-rules li { counter-increment: pr; position: relative; padding-left: 9.2cqi; margin: 0; font-size: 2.25cqi; line-height: 1.3; color: var(--ink-2); }
.poster-rules li::before {
  content: counter(pr); position: absolute; left: 0; top: .2cqi; width: 6.6cqi; height: 7.4cqi; display: grid; place-items: center;
  font-weight: 800; font-size: 3.2cqi; color: var(--ink); background: var(--peri); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.poster-rules li:nth-child(3n+2)::before { background: var(--lilac); }
.poster-rules li:nth-child(3n)::before { background: var(--pink); }
.poster-rules li:last-child::before { background: var(--ink); color: #fff; }
.poster-rules b { display: block; font-size: 2.9cqi; line-height: 1.05; letter-spacing: -.025em; color: var(--ink); margin-bottom: .7cqi; }
.poster-rules .blank { display: inline-block; min-width: 18cqi; border-bottom: .3cqi solid var(--ink); }
.poster-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 5cqi; margin: 3cqi 7cqi 5cqi; padding-top: 3.4cqi; border-top: .7cqi solid var(--ink); }
.poster-ask { display: block; font-weight: 800; font-size: 4.4cqi; letter-spacing: -.035em; line-height: 1; }
.poster-mail { display: block; margin-top: 1.6cqi; font-family: var(--f-mono); font-weight: 600; font-size: 2.6cqi; color: var(--cobalt); overflow-wrap: anywhere; }
.poster-sos { display: inline-block; margin-top: 2.4cqi; padding: .9cqi 2.6cqi; border: .5cqi solid var(--ink); border-radius: 99px; background: var(--pink); font-family: var(--f-mono); font-size: 2.2cqi; letter-spacing: .08em; text-transform: uppercase; }
.poster-qr { margin: 0; width: 15cqi; flex-shrink: 0; text-align: center; }
.poster-qr img { width: 100%; padding: 1.6cqi; background: #fff; border: .5cqi solid var(--ink); border-radius: 2cqi; }
.poster-qr figcaption { margin-top: 1.2cqi; font-family: var(--f-mono); font-size: 1.7cqi; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.sheet .poster .fill, .sheet .poster [data-fill] { background: none; border: 0; padding: 0; }
@media print { .sheet-poster { border: 0; } .poster { width: 176mm; margin: 0 auto; break-inside: avoid; } .section { padding: 0 !important; } .wrap { padding: 0 !important; max-width: none; } }

/* ---------- Kurallar sayfası ---------- */
.rule-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rule-col { border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px; background: var(--card); }
.rule-col h3 { font-size: 2rem; letter-spacing: -0.045em; margin-bottom: 12px; }
.rule-col ul { margin: 0; padding-left: 1.1em; }
.rule-col li { margin-bottom: .55em; line-height: 1.45; }
.rule-col:nth-child(1) { background: var(--peri); } .rule-col:nth-child(2) { background: var(--lilac); } .rule-col:nth-child(3) { background: var(--pink); }
@media (max-width: 860px) { .rule-cols { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0 !important; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px !important; border: 2px solid var(--ink); border-radius: 14px; background: var(--card); font-family: var(--f-display); font-size: 1rem; line-height: 1.5; }
.steps li::marker { content: none; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 32px; height: 35px; display: grid; place-items: center; background: var(--cobalt); color: #fff; font-weight: 800; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.steps li b { display: block; font-size: 1.06rem; }

/* ---------- Altbilgi ---------- */
.footer { background: var(--ink); color: #e9e6f7; margin-top: clamp(56px, 9vw, 120px); padding: clamp(48px, 7vw, 88px) 0 28px; }
.footer a { color: #fff; }
.footer a:hover { color: var(--pink); }
.footer-big { font-size: clamp(2.2rem, 6.4vw, 5.6rem); font-weight: 800; letter-spacing: -0.055em; line-height: .9; margin: 0 0 30px; max-width: 16ch; }
.footer-big em { font-style: normal; color: var(--pink); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .18); }
.footer-grid h4 { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--peri); margin-bottom: 12px; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-grid ul a { text-decoration: none; }
.footer-grid p { color: #c3c0dc; font-size: .95rem; }
.footer .mail { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; color: #9c99bb; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

/* Görünüme girerken */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Yazdırma ---------- */
@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff; font-size: 11pt; }
  body::before, .topbar, .footer, #die-dock, .die-bubble, .roll-toast, .progress, .toc, .toc-mobile, .fillbar, .tabs, .tpl-index, .tpl-tools, .btn, .ticker, .composer { display: none !important; }
  .print-hide { display: none !important; }
  .tpl-layout { display: block; }
  .page-head .btn-row { display: none !important; }
  .sheet { box-shadow: none; border: 0; padding: 0; }
  .sheet .fill { background: none; border-bottom: 1px solid #000; }
  .page-head { border: 0; padding: 0 0 10mm; }
  .prose { max-width: none; font-size: 11.5pt; }
  .chapter { break-inside: auto; border-bottom: 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a { text-decoration: none; }
}
