/* 00-tokens.css */
/* ── Tasarım token'ları (spec §3.1–3.3) ─────────────────────────────── */
:root {
  color-scheme: light;
  /* kâğıt & mürekkep */
  --paper: #F6F2EC; --paper-2: #EFE9E0; --ink: #1B1917; --ink-2: #5C5751; --line: #DCD5CA;
  /* marka */
  --red: #C8102E; --red-deep: #9E0B22; --on-red: #FFFFFF;
  /* durum panosu — her iki temada koyu */
  --board: #0F1115; --board-2: #161A21; --board-ink: #ECE9E3; --board-ink-2: #9BA3AF; --board-line: #262B33;
  /* durumlar */
  --ok: #1F9D55; --maint: #2F6FED; --degraded: #D99A00; --major: #C8102E;
  /* durum METNİ için kâğıt üstünde ≥4.5:1 tonlar (noktalar/ışıklar yukarıdaki renkleri kullanır) */
  --ok-ink: #1B7A44; --maint-ink: #1F57C8; --degraded-ink: #8A5A00; --major-ink: #B00E29;
  /* tipografi */
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --fs-hero: clamp(2.75rem, 7vw, 6rem);
  --fs-h2: clamp(2rem, 4vw, 3.25rem);
  --fs-h3: 1.5rem;
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .75rem;
  /* ölçü */
  --container: 1280px;
  --gut: clamp(16px, 4vw, 48px);
  --sec: clamp(64px, 9vw, 128px);
  --gap: clamp(16px, 2vw, 32px);
  --r-card: 4px; --r-board: 12px; --r-pill: 999px;
  /* hareket */
  --ease: cubic-bezier(.2, .7, .2, 1); --t-fast: 180ms; --t-base: 260ms;
  --focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--red);
}

/* Koyu tema: sistem tercihi (kullanıcı seçimi yoksa) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #141311; --paper-2: #1C1A17; --ink: #EDE8E0; --ink-2: #A8A197; --line: #2A2724;
    --red: #E63950; --red-deep: #C8102E;
    --board: #0B0C0F; --board-2: #13161B;
    --ok: #34C073; --maint: #5B8DEF; --degraded: #F2B61F; --major: #FF4D63;
    --ok-ink: #4CCB84; --maint-ink: #8FB0F5; --degraded-ink: #F2B61F; --major-ink: #FF6B7D;
  }
}
/* Koyu tema: kullanıcı seçimi (localStorage → data-theme) */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #141311; --paper-2: #1C1A17; --ink: #EDE8E0; --ink-2: #A8A197; --line: #2A2724;
  --red: #E63950; --red-deep: #C8102E;
  --board: #0B0C0F; --board-2: #13161B;
  --ok: #34C073; --maint: #5B8DEF; --degraded: #F2B61F; --major: #FF4D63;
  --ok-ink: #4CCB84; --maint-ink: #8FB0F5; --degraded-ink: #F2B61F; --major-ink: #FF6B7D;
}

/* ── Fontlar (kendi sunucumuzda; latin + latin-ext) ─────────────────── */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/bricolage-latin-ext.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: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/bricolage-latin.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: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/instrument-serif-latin-ext.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: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/instrument-serif-latin.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: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/instrument-serif-italic-latin-ext.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: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/instrument-serif-italic-latin.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-weight: 100 800; font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin-ext.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-weight: 100 800; font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin.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; }

/* 10-base.css */
/* ── Temel ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-body) / 1.6 var(--f-display);
  font-optical-sizing: auto;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: var(--fs-hero); letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.03em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: 1.125rem; line-height: 1.3; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
.prose a, p a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--red) 60%, transparent); text-underline-offset: .18em; }
.prose a:hover, p a:hover { text-decoration-color: var(--red); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
code, kbd, .mono { font-family: var(--f-mono); font-size: .92em; }
::selection { background: var(--red); color: var(--on-red); }

/* vurgu: serif italik tek kelime */
em.accent, .accent { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; font-size: 1.08em; }

/* mono etiket: 01 / FİRMALAR — Türkçe büyük harf için lang="tr" şart */
.label { font: 500 var(--fs-label) / 1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }

.lede { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.2em; }
.prose h2, .prose h3 { margin-top: 1.6em; margin-bottom: .5em; }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-small); }

/* odak & erişilebilirlik */
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: var(--r-pill); }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 20-layout.css */
/* ── Yerleşim ───────────────────────────────────────────────────────── */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }
.container--narrow { max-width: 900px; }
.section { padding-block: var(--sec); }
.section--tight { padding-block: calc(var(--sec) * .55); }
.section--flush-top { padding-top: 0; }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.col-3 { grid-column: span 3; } .col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; } .col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; } .col-12 { grid-column: span 12; }
@media (max-width: 900px) {
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9 { grid-column: span 12; }
}

.stack > * + * { margin-top: var(--s, 1rem); }
.stack--s { --s: .5rem; } .stack--l { --s: 2rem; } .stack--xl { --s: 3rem; }
.row { display: flex; align-items: center; gap: var(--g, 12px); flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* bölüm başlığı bloğu: etiket + h2 + lede */
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head .row { justify-content: space-between; align-items: end; }

/* 30-components.css */
/* ── Üst çubuk ──────────────────────────────────────────────────────── */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 20; }
.site-header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; font-size: 1.25rem; line-height: 1; }
.brand-mark { flex: none; }
.wordmark-g { color: var(--red); }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); font-weight: 500; color: var(--ink-2); transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.site-nav li a:hover { color: var(--ink); background: var(--paper-2); }
.site-nav li a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.site-nav-actions { display: flex; align-items: center; gap: 8px; }
.site-header-tools { display: flex; align-items: center; gap: 4px; }
.icon-btn.site-nav-toggle { display: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); transition: background var(--t-fast) var(--ease); }
.icon-btn:hover { background: var(--paper-2); }
.icon-moon, :root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: inline-flex; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .icon-sun { display: none; } :root:not([data-theme="light"]) .icon-moon { display: inline-flex; } }
.icon-close, [data-nav-toggle][aria-expanded="true"] .icon-open { display: none; }
[data-nav-toggle][aria-expanded="true"] .icon-close { display: inline-flex; }

@media (max-width: 900px) {
  .icon-btn.site-nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px var(--gut) 20px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
  .site-nav[data-open] { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a { width: 100%; padding: 0 12px; min-height: 48px; font-size: 1.125rem; }
  .site-nav li a[aria-current="page"] { border-radius: var(--r-pill); box-shadow: inset 4px 0 0 var(--red); }
  .site-nav-actions { padding-top: 8px; border-top: 1px solid var(--line); }
  .site-nav-actions .btn { flex: 1; justify-content: center; }
}

/* ── Butonlar ───────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); font-weight: 600; line-height: 1; white-space: nowrap; border: 1px solid transparent; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.btn .icon { transition: transform var(--t-fast) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--red); color: var(--on-red); }
.btn--primary:hover { background: var(--red-deep); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--red); color: var(--on-red); }
.btn--board { background: var(--board-ink); color: var(--board); }
.btn--board:hover { background: #fff; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: var(--fs-small); }

/* ── Etiket, durum, monogram ────────────────────────────────────────── */
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-pill); font: 500 .75rem / 1 var(--f-mono); letter-spacing: .02em; color: var(--ink-2); white-space: nowrap; }
.tag--red { border-color: color-mix(in srgb, var(--red) 40%, transparent); color: var(--red); }
.tag--fill { background: var(--paper-2); border-color: transparent; color: var(--ink); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex: none; }
.dot--ok { background: var(--ok); } .dot--maint { background: var(--maint); } .dot--degraded { background: var(--degraded); } .dot--major { background: var(--major); }
.dot--live { animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 0%, transparent); } 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--pulse, var(--red)) 25%, transparent); } }
.dot--ok.dot--live { --pulse: var(--ok); } .dot--maint.dot--live { --pulse: var(--maint); } .dot--degraded.dot--live { --pulse: var(--degraded); } .dot--major.dot--live { --pulse: var(--major); }
.status-chip { display: inline-flex; align-items: center; gap: 8px; font: 500 .75rem / 1 var(--f-mono); letter-spacing: .02em; color: var(--ink-2); white-space: nowrap; }
.status-chip--major { color: var(--major-ink); } .status-chip--degraded { color: var(--degraded-ink); } .status-chip--maint { color: var(--maint-ink); }
/* koyu kapak üstünde: metin açık, durum rengini nokta taşır */
.status-chip--tone-cover, .status-chip--tone-cover.status-chip--major, .status-chip--tone-cover.status-chip--degraded, .status-chip--tone-cover.status-chip--maint { color: #ECE9E3; }
.monogram { flex: none; border-radius: 9px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: var(--s, 40px); height: var(--s, 40px); border-radius: 50%; background: var(--c, var(--ink)); color: #fff; font: 700 calc(var(--s, 40px) * .38) / 1 var(--f-display); letter-spacing: -.02em; flex: none; }

/* ── Bölüm etiketi, metrik ──────────────────────────────────────────── */
.section-label { display: flex; align-items: center; gap: 12px; font: 500 var(--fs-label) / 1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }
.section-label-num { color: var(--red); }
.section-label-rule { width: 28px; height: 1px; background: var(--red); }
.metric { display: grid; gap: 6px; }
.metric-value { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }

/* ── Firma kartı ────────────────────────────────────────────────────── */
.firm-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.firm-card:hover { background: var(--paper-2); border-color: color-mix(in srgb, var(--ink) 25%, var(--line)); }
.firm-card-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.firm-card-head { display: flex; align-items: flex-start; gap: 12px; }
.firm-card-title { flex: 1; min-width: 0; }
.firm-card-title h3 { font-size: 1.125rem; letter-spacing: -.015em; }
.firm-card-tagline { color: var(--ink-2); }
.firm-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.firm-card-foot > .row { flex: 1 1 auto; min-width: 0; }
.firm-card-meta { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; white-space: nowrap; flex: none; }

.firm-card-arrow { color: var(--ink-2); transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.firm-card:hover .firm-card-arrow { transform: translateX(4px); color: var(--red); }
.firm-card .status-chip { margin-top: 4px; }

@media (max-width: 480px) {
  .firm-card-head { flex-wrap: wrap; }
  .firm-card .status-chip { width: 100%; margin-top: 0; }
  .firm-card-foot > .row { flex-basis: 100%; }
}

/* ── Alt bilgi ──────────────────────────────────────────────────────── */
.site-footer { margin-top: var(--sec); border-top: 1px solid var(--line); padding-block: clamp(40px, 6vw, 72px) 32px; }
.site-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--gap); }
.site-footer-brand { max-width: 360px; }
.site-footer-col ul { display: grid; gap: 8px; margin-top: 14px; }
.site-footer-col a { color: var(--ink-2); } .site-footer-col a:hover { color: var(--ink); }
.site-footer-bottom { display: grid; gap: 6px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .site-footer-grid { grid-template-columns: 1fr 1fr; } .site-footer-brand { grid-column: span 2; } }
@media (max-width: 480px) { .site-footer-grid { grid-template-columns: 1fr; } .site-footer-brand { grid-column: span 1; } }

/* ── Formlar ────────────────────────────────────────────────────────── */
.field { display: grid; gap: 6px; }
.field label, .field-label { font-weight: 600; font-size: var(--fs-small); }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); color: var(--ink); transition: border-color var(--t-fast) var(--ease); }
.input:hover, .select:hover, .textarea:hover { border-color: color-mix(in srgb, var(--ink) 35%, var(--line)); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent); }
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A867F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }
.field-error { color: var(--major); font-size: var(--fs-small); display: none; }
.field.is-invalid .field-error { display: block; }
.field.is-invalid .input, .field.is-invalid .select { border-color: var(--major); }

/* alan adları ASCII: Türkçe büyük harf dönüşümü uygulanmasın */
.site-footer-brand .label { text-transform: none; letter-spacing: .06em; }

/* Dokunmatik cihazlarda tüm tıklanabilir hedefler ≥ 44px (spec §6) */
@media (pointer: coarse) {
  .btn--sm, .post-action, .tag--btn, .cat-tab, .seg-item span, .filters .check, .check, .tab, .ann-feed-go, .site-nav li a, .chat-item { min-height: 44px; }
  .tag--btn { padding-inline: 14px; }
  .check input { width: 22px; height: 22px; }
}

/* 40-board.css */
/* ── Durum panosu (her iki temada koyu) ─────────────────────────────── */
.board { position: relative; color: var(--board-ink); background-color: var(--board); border: 1px solid var(--board-line); border-radius: var(--r-board); overflow: hidden;
  background-image: linear-gradient(color-mix(in srgb, var(--board-line) 55%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--board-line) 55%, transparent) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center top; }
.board .muted { color: var(--board-ink-2); }
.board .monogram { border-radius: 6px; }
.board-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 36px) 16px; border-bottom: 1px solid var(--board-line); background: color-mix(in srgb, var(--board-2) 80%, transparent); }
.board-kicker { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: var(--fs-label); letter-spacing: .12em; color: var(--board-ink-2); margin-bottom: 10px; }
.board-clock { color: var(--board-ink); font-variant-numeric: tabular-nums; }
.board-h { font-size: clamp(1.5rem, 2.6vw, 2.25rem); color: var(--board-ink); }
.board-counters { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.board-counters li { display: inline-flex; align-items: center; gap: 8px; font: 500 var(--fs-small) / 1 var(--f-mono); color: var(--board-ink-2); }
.board-counters strong { font-size: 1.25rem; color: var(--board-ink); font-weight: 600; }
.board-rows { display: grid; }
.board-row { border-bottom: 1px solid var(--board-line); }
.board-row:last-child { border-bottom: 0; }
.board-row-main { display: grid; grid-template-columns: 10px auto minmax(160px, 1.1fr) minmax(200px, 1.6fr) 7ch auto; align-items: center; gap: 16px; width: 100%; padding: 14px clamp(20px, 3vw, 36px); text-align: left; color: inherit; font-size: var(--fs-small); transition: background var(--t-fast) var(--ease); }
button.board-row-main { grid-template-columns: 10px auto minmax(160px, 1.1fr) minmax(200px, 1.6fr) 7ch auto 18px; cursor: pointer; }
button.board-row-main:hover, .board-row.is-open > .board-row-main { background: color-mix(in srgb, var(--board-2) 85%, transparent); }
.board-row.is-ongoing > .board-row-main { background: color-mix(in srgb, var(--board-2) 50%, transparent); }
.board-time { color: var(--board-ink-2); font-size: .8125rem; white-space: nowrap; }
.board-firm { display: flex; align-items: center; gap: 10px; min-width: 0; }
.board-firm-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-loc { font-size: .8125rem; white-space: nowrap; }
.board-title { min-width: 0; }
.board-type { font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.board-type--major { color: var(--major); } .board-type--degraded { color: var(--degraded); } .board-type--maint { color: var(--maint); }
.board-dur { font-size: .8125rem; color: var(--board-ink-2); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.is-ongoing .board-dur { color: var(--board-ink); }
.board-chevron { color: var(--board-ink-2); transition: transform var(--t-fast) var(--ease); }
.board-row.is-open .board-chevron { transform: rotate(180deg); }
.board-detail { padding: 4px clamp(20px, 3vw, 36px) 24px calc(clamp(20px, 3vw, 36px) + 26px); display: grid; gap: 16px; }
.board-detail a { text-decoration: underline; text-decoration-color: var(--board-ink-2); text-underline-offset: .2em; display: inline-flex; gap: 4px; align-items: center; }
.board-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px clamp(20px, 3vw, 36px); border-top: 1px solid var(--board-line); background: color-mix(in srgb, var(--board-2) 80%, transparent); }
.board-foot-note { color: var(--board-ink-2); }
.board-empty { padding: 32px; text-align: center; }
.board-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 20px; padding: 16px clamp(20px, 3vw, 36px); border-bottom: 1px solid var(--board-line); }
.board-filter { display: grid; gap: 6px; }
.board-filter .label { color: var(--board-ink-2); }
.board-filter--check { display: flex; align-items: center; gap: 8px; min-height: 48px; cursor: pointer; }
.board-filter--check input { accent-color: var(--ok); width: 16px; height: 16px; }
.select--board { background-color: var(--board-2); border-color: var(--board-line); color: var(--board-ink); min-width: 160px; }
.board-count { margin-left: auto; align-self: center; }
@media (max-width: 900px) {
  .board-kicker .muted { display: none; }
  .board-row-main, button.board-row-main { grid-template-columns: 10px 1fr auto; grid-template-areas: "dot firm dur" "dot title type"; row-gap: 6px; }
  .board-row-main > .dot { grid-area: dot; align-self: start; margin-top: 5px; }
  .board-time { display: none; }
  .board-firm { grid-area: firm; }
  .board-title { grid-area: title; }
  .board-type { grid-area: type; text-align: right; }
  .board-dur { grid-area: dur; }
  .board-chevron { display: none; }
  .board-loc { display: none; }
}

/* ── Zaman çizelgesi ────────────────────────────────────────────────── */
.timeline { display: grid; gap: 0; position: relative; padding-left: 22px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--board-line); }
.paper .timeline::before, .timeline--paper::before { background: var(--line); }
.timeline-step { position: relative; padding: 6px 0 16px; }
.timeline-dot { position: absolute; left: -22px; top: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--board-ink-2); box-shadow: 0 0 0 3px var(--board); }
.timeline--paper .timeline-dot { box-shadow: 0 0 0 3px var(--paper); }
.timeline-step--tespit .timeline-dot { background: var(--degraded); }
.timeline-step--mudahale .timeline-dot { background: var(--maint); }
.timeline-step--izleme .timeline-dot { background: var(--board-ink); }
.timeline-step--cozuldu .timeline-dot { background: var(--ok); }
.timeline-step--pending .timeline-dot { background: transparent; border: 1px dashed var(--board-ink-2); }
.timeline-step.is-live .timeline-dot { animation: pulse 2s var(--ease) infinite; --pulse: var(--degraded); }
.timeline-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8125rem; margin-bottom: 4px; }
.timeline-meta strong { font-weight: 600; }

/* ── Nokta haritası ─────────────────────────────────────────────────── */
.dot-map { position: relative; margin: 0; }
.dot-map svg { width: 100%; height: auto; overflow: visible; }
.dot-map-links line { stroke: color-mix(in srgb, var(--ink) 14%, transparent); stroke-width: 1; }
.dot-map-cities circle { fill: color-mix(in srgb, var(--ink) 28%, transparent); transition: fill var(--t-fast) var(--ease), r var(--t-fast) var(--ease); }
.dot-map-cities circle.has-firms { fill: var(--red); cursor: pointer; outline: none; }
.dot-map-cities circle.has-firms:hover, .dot-map-cities circle.has-firms:focus-visible { fill: var(--red-deep); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--red) 60%, transparent)); }
.dot-map-legend { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.dot-map-legend .dot { width: 8px; height: 8px; }
.dot-map--compact svg { max-height: 280px; }
.map-tip { position: absolute; z-index: 5; pointer-events: none; padding: 6px 10px; border-radius: var(--r-card); background: var(--ink); color: var(--paper); font: 500 .8125rem / 1.3 var(--f-mono); white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); }

/* ── Akış çizgisi ───────────────────────────────────────────────────── */
.flow-line { display: block; width: 100%; pointer-events: none; }
.flow-line--hero { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(120px, 22vw, 320px); }
.flow-line--divider { height: 24px; margin-block: 8px; }
.flow-line path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); }
.flow-line.is-visible path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .flow-line path { stroke-dashoffset: 0; } }

/* 50-pages.css */
/* ── home ───────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 7vw, 104px); padding-bottom: clamp(140px, 24vw, 340px); }
.hero-grid { align-items: start; }
.hero h1 { max-width: 13ch; }
.hero-copy { position: relative; z-index: 2; }
.hero-map { position: relative; z-index: 2; padding-top: clamp(8px, 2vw, 28px); }
.hero-metrics { display: flex; flex-wrap: wrap; gap: 20px clamp(24px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .hero { padding-bottom: clamp(120px, 30vw, 200px); }
  .hero-map { margin-top: 8px; }
}

.strip-wrap { padding-inline: 0; }
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 12px; scrollbar-width: thin; }
.strip > * { flex: 0 0 min(340px, 82vw); scroll-snap-align: start; }
@media (min-width: 1360px) { .strip { padding-inline: calc((100vw - var(--container)) / 2 + var(--gut)); } }

.ann-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.ann-card { display: grid; gap: 14px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); transition: border-color var(--t-fast) var(--ease); }
.ann-card:hover { border-color: color-mix(in srgb, var(--ink) 30%, var(--line)); }
.ann-card h3 { font-size: 1.25rem; }
.ann-card h3 a:hover { color: var(--red); }
.ann-firm { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--fs-small); font-weight: 600; }
.ann-firm .muted { font-weight: 400; }

.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.quote-card { display: grid; gap: 18px; margin: 0; padding: 28px; background: var(--paper-2); border-radius: var(--r-card); }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { font: italic 400 clamp(1.25rem, 1.8vw, 1.5rem) / 1.3 var(--f-serif); text-wrap: pretty; }
.quote-card blockquote p::before { content: "“"; color: var(--red); margin-right: 2px; }
.quote-card figcaption { gap: 12px; }
.quote-card figcaption a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; }
.quote-tags { --g: 6px; }

.manifesto { background: var(--paper-2); margin-top: var(--sec); }
.manifesto .flow-line--divider { margin: 0; transform: translateY(-50%); }
.manifesto-inner { display: grid; gap: 28px; padding-block: calc(var(--sec) * .7) var(--sec); }
.manifesto-text { font-size: clamp(1.375rem, 2.4vw, 2rem); line-height: 1.35; letter-spacing: -.015em; text-wrap: pretty; }
.manifesto-text .accent { font-size: 1.12em; }

.board--cta { text-align: center; padding: clamp(48px, 7vw, 96px) var(--gut); display: grid; justify-items: center; gap: 20px; }
.board--cta .board-h { font-size: var(--fs-h2); max-width: 16ch; }
.board--cta .board-kicker { margin: 0; }
.board-cta-text { max-width: 52ch; color: var(--board-ink-2); font-size: 1.0625rem; }

/* ── sayfa başlığı (ortak) ──────────────────────────────────────────── */
.page-head { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(24px, 4vw, 48px); }
.page-title { font-size: clamp(2.5rem, 5.5vw, 4.5rem); letter-spacing: -.035em; }
.page-head .dot-map { margin-top: clamp(16px, 3vw, 32px); }

/* ── firmalar ───────────────────────────────────────────────────────── */
.directory { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; padding-bottom: var(--sec); }
.filters { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; display: grid; gap: 22px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); }
.filters fieldset { margin: 0; padding: 0; border: 0; }
.filters legend { padding: 0; margin-bottom: 6px; }
.filters .check { min-height: 32px; }
.input-wrap { position: relative; }
.input-wrap .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.input-wrap .input { padding-left: 40px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px; gap: 2px; }
.seg-item { position: relative; }
.seg-item input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg-item span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: var(--r-pill); font-size: var(--fs-small); font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.seg-item input:checked + span { background: var(--ink); color: var(--paper); }
.seg-item input:focus-visible + span { box-shadow: var(--focus); }
.filters-toggle { display: none; }
.directory-results { display: grid; gap: 16px; }
.directory-count { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.firm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.empty { display: grid; gap: 12px; justify-items: start; padding: clamp(32px, 5vw, 56px); border: 1px dashed var(--line); border-radius: var(--r-card); }
.empty-title { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
@media (max-width: 900px) {
  .directory { grid-template-columns: 1fr; }
  .filters-toggle { display: inline-flex; justify-self: start; }
  .filters { position: static; }
  .filters:not([data-open]) { display: none; }
}

/* ── firma profili ──────────────────────────────────────────────────── */
.firm-cover { position: relative; min-height: clamp(280px, 36vw, 440px); display: flex; align-items: flex-end; background: var(--board); color: var(--board-ink); overflow: hidden; }
.firm-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.firm-cover-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.55) 55%, rgba(15,17,21,.92) 100%); }
.firm-cover-inner { position: relative; display: flex; align-items: flex-end; gap: 24px; padding-block: clamp(24px, 4vw, 48px); width: 100%; }
.firm-cover .monogram { box-shadow: 0 0 0 4px rgba(255,255,255,.12); border-radius: 18px; flex: none; }
.firm-cover h1 { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.035em; color: #fff; }
.firm-cover-kicker { color: var(--board-ink-2); margin-bottom: 8px; }
.firm-cover-meta { gap: 16px; margin-top: 12px; color: var(--board-ink-2); }
.status-chip--cover { color: var(--board-ink); }
.status-chip--cover .status-chip--major { color: var(--major); }
@media (max-width: 600px) { .firm-cover-inner { flex-direction: column; align-items: flex-start; gap: 14px; } .firm-cover .monogram { width: 64px; height: 64px; } }

.notice { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; padding: 12px 16px; border: 1px solid var(--line); border-left: 4px solid var(--maint); border-radius: var(--r-card); background: var(--paper-2); font-size: var(--fs-small); }
.notice--major { border-left-color: var(--major); } .notice--degraded { border-left-color: var(--degraded); }
.notice a { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }

.firm-body { padding-block: clamp(28px, 4vw, 48px) var(--sec); align-items: start; }
.firm-aside { display: grid; gap: 16px; position: sticky; top: 16px; }
.aside-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); }
.aside-card--soft { background: var(--paper-2); border-color: transparent; }
.contact-list { display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: var(--fs-small); }
.contact-list .icon { color: var(--ink-2); flex: none; }
.contact-list a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tablist { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: color var(--t-fast) var(--ease); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); }
.tab-count { font-size: .75rem; padding: 2px 7px; border-radius: var(--r-pill); background: var(--paper-2); color: var(--ink-2); }
.tabpanel { padding-top: 28px; }
.chip-list { display: grid; gap: 8px; }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.loc-card { display: grid; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); }
.loc-card h3 { font-size: 1.25rem; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 6px 0 0; }
.spec div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; font-size: var(--fs-small); }
.spec dt { color: var(--ink-2); } .spec dd { margin: 0; }
.spec-row { display: flex; flex-wrap: wrap; gap: 24px 48px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.ann-list { display: grid; }
.ann-row { display: grid; grid-template-columns: 12ch 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ann-row h3 { font-size: 1.125rem; margin-top: 8px; }
.ann-row .tag { font-size: .7rem; }
@media (max-width: 600px) { .ann-row { grid-template-columns: 1fr; gap: 6px; } }
.empty-inline { display: flex; align-items: center; gap: 8px; padding: 24px; border: 1px dashed var(--line); border-radius: var(--r-card); }
.uptime-strip { display: grid; grid-template-columns: repeat(90, 1fr); gap: 2px; height: 36px; margin-bottom: 8px; }
.uptime-day { border-radius: 2px; background: var(--ok); opacity: .85; }
.uptime-day--maint { background: var(--maint); } .uptime-day--degraded { background: var(--degraded); } .uptime-day--major { background: var(--major); }
.inc-card { display: grid; gap: 10px; padding: 22px; border: 1px solid var(--line); border-left: 4px solid var(--maint); border-radius: var(--r-card); }
.inc-card--major { border-left-color: var(--major); } .inc-card--degraded { border-left-color: var(--degraded); }
.inc-card h3 { font-size: 1.25rem; }
.timeline--paper { margin-top: 10px; }
.timeline--paper .timeline::before { background: var(--line); }
.timeline--paper .timeline-dot { box-shadow: 0 0 0 3px var(--paper); }
.timeline--paper .timeline-step--izleme .timeline-dot { background: var(--ink); }
.timeline--paper .timeline-step--pending .timeline-dot { border-color: var(--ink-2); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.team-card { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); }
@media (max-width: 900px) { .firm-aside { position: static; } }

/* ── kesintiler ─────────────────────────────────────────────────────── */
.counters-big { display: flex; flex-wrap: wrap; gap: 24px clamp(28px, 5vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); }
.heat-strip { display: grid; grid-template-columns: repeat(30, 1fr); gap: 4px; height: 56px; margin-top: 8px; }
.heat-day { border-radius: 3px; background: color-mix(in srgb, var(--ok) 35%, var(--paper-2)); transition: transform var(--t-fast) var(--ease); }
.heat-day:hover { transform: translateY(-3px); }
.heat-day--maint { background: var(--maint); } .heat-day--degraded { background: var(--degraded); } .heat-day--major { background: var(--major); }
.heat-legend { --g: 18px; margin-top: 8px; }
.heat-legend .dot { width: 8px; height: 8px; margin-right: 6px; }
.howto { display: grid; gap: 18px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-2); }
.howto h3 { font-size: 1.5rem; }
.howto-steps { display: grid; gap: 16px; }
.howto-steps li { display: flex; gap: 14px; }
.howto-num { color: var(--red); font-weight: 500; padding-top: 3px; white-space: nowrap; flex: none; }

/* ── duyurular ──────────────────────────────────────────────────────── */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cat-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-weight: 500; font-size: var(--fs-small); color: var(--ink-2); transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.cat-tab .mono { font-size: .75rem; color: var(--ink-2); }
.cat-tab:hover { border-color: var(--ink); color: var(--ink); }
.cat-tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cat-tab[aria-pressed="true"] .mono { color: var(--paper); opacity: .7; }
.ann-page { padding-bottom: var(--sec); align-items: start; }
.ann-feed { display: grid; }
.ann-feed-row { display: grid; grid-template-columns: 13ch minmax(0, 1fr) 44px; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ann-feed-row:first-child { border-top: 1px solid var(--line); }
.ann-feed-row.is-target { background: linear-gradient(90deg, color-mix(in srgb, var(--red) 8%, transparent), transparent); }
.ann-feed-date { padding-top: 6px; }
.ann-feed-body { display: grid; gap: 10px; min-width: 0; }
.ann-feed-firm { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--fs-small); }
.ann-feed-title { font-size: clamp(1.25rem, 2vw, 1.625rem); letter-spacing: -.02em; }
.ann-feed-go { color: var(--ink-2); border: 1px solid var(--line); }
.ann-feed-go:hover { color: var(--red); border-color: var(--red); background: transparent; }
@media (max-width: 700px) { .ann-feed-row { grid-template-columns: 1fr 44px; } .ann-feed-date { grid-column: 1 / -1; padding: 0; } }
.ann-aside { display: grid; gap: 16px; position: sticky; top: 16px; }
.active-firms { display: grid; gap: 12px; }
.active-firms li { display: flex; align-items: center; gap: 10px; }
.active-firms a { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 900px) { .ann-aside { position: static; } }

/* ── topluluk ───────────────────────────────────────────────────────── */
.community { padding-bottom: var(--sec); align-items: start; }
.composer { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); }
.composer-head { display: flex; align-items: center; gap: 12px; }
.composer-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tag--btn { cursor: pointer; transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.tag--btn:hover { border-color: var(--red); color: var(--red); }
.feed { display: grid; gap: 14px; }
.post { display: grid; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); }
.post.is-new { animation: slide-in .4s var(--ease); border-color: color-mix(in srgb, var(--red) 40%, var(--line)); }
@keyframes slide-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.post-head { display: flex; align-items: center; gap: 12px; }
.post-who { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 0 6px; align-items: baseline; }
.post-who a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; }
.post-time { flex: none; }
.post-text { font-size: 1.0625rem; line-height: 1.55; text-wrap: pretty; }
.post-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.post-actions { --g: 6px; }
.post-action { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: var(--r-pill); font: 500 .8125rem / 1 var(--f-mono); color: var(--ink-2); transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.post-action:hover { background: var(--paper-2); color: var(--ink); }
.post-action[aria-pressed="true"] { color: var(--red); }
.post-action[aria-pressed="true"] .icon { fill: var(--red); }
.community-aside { display: grid; gap: 16px; position: sticky; top: 16px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; }
.tag-cloud-item { font-weight: 600; cursor: pointer; font-size: calc(.9rem + var(--w, .5) * .7rem); color: color-mix(in srgb, var(--ink) calc(55% + var(--w, .5) * 45%), var(--paper)); transition: color var(--t-fast) var(--ease); }
.tag-cloud-item:hover, .tag-cloud-item[aria-pressed="true"] { color: var(--red); }
.meetups { display: grid; gap: 14px; }
.meetup { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: start; }
.meetup-date { display: grid; justify-items: center; padding: 6px 0; border: 1px solid var(--line); border-radius: var(--r-card); }
.meetup-day { font-size: 1.5rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.meetup .btn { grid-column: 2; justify-self: start; }
.rules { display: grid; gap: 8px; padding-left: 18px; list-style: decimal; }
.rules--big { gap: 14px; font-size: 1.0625rem; }
@media (max-width: 900px) { .community-aside { position: static; } }
@media (max-width: 600px) {
  .post-head { flex-wrap: wrap; }
  .post-who { flex-basis: calc(100% - 56px); }
  .post-time { flex-basis: 100%; }
}

/* ── mesajlar ───────────────────────────────────────────────────────── */
.chat-page { padding-top: clamp(24px, 4vw, 48px); padding-bottom: var(--sec); }
.chat-head { margin-bottom: 20px; align-items: end; }
.chat-title { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.03em; margin-top: 8px; }
.chat { display: grid; grid-template-columns: 340px minmax(0, 1fr); height: min(720px, calc(100dvh - 220px)); min-height: 480px; border: 1px solid var(--line); border-radius: var(--r-board); overflow: hidden; background: var(--paper); }
.chat-list-wrap { display: flex; flex-direction: column; border-right: 1px solid var(--line); min-height: 0; }
.chat-search { position: relative; padding: 12px; border-bottom: 1px solid var(--line); }
.chat-search .icon { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); color: var(--ink-2); }
.chat-search .input { min-height: 42px; padding-left: 38px; }
.chat-list { overflow-y: auto; flex: 1; }
.chat-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); transition: background var(--t-fast) var(--ease); }
.chat-item:hover { background: var(--paper-2); }
.chat-item[aria-selected="true"] { background: var(--paper-2); box-shadow: inset 3px 0 0 var(--red); }
.chat-item-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.chat-item-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.chat-item-last { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-unread { flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: var(--red); color: #fff; font: 600 .75rem / 22px var(--f-mono); text-align: center; }
.chat-pane { display: flex; flex-direction: column; min-height: 0; background: var(--paper-2); }
.chat-pane-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.chat-peer { flex: 1; min-width: 0; display: grid; }
.chat-peer a { display: inline-flex; align-items: center; gap: 4px; }
.chat-back { display: none; }
.bubbles { flex: 1; overflow-y: auto; padding: 20px 16px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: min(72%, 560px); padding: 10px 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 4px; }
.bubble p { font-size: var(--fs-small); line-height: 1.5; }
.bubble time { justify-self: end; }
.bubble--me { align-self: flex-end; background: var(--ink); color: var(--paper); border-color: var(--ink); border-bottom-right-radius: 4px; }
.bubble--me time { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.bubble--them { align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.is-new { animation: slide-in .3s var(--ease); }
.bubble-empty { align-self: center; padding: 20px; }
.bubble-sep { align-self: center; margin: 6px 0; }
.bubble-sep span { display: inline-block; padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); font: 500 .7rem / 1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.chat-form { display: flex; gap: 10px; align-items: flex-end; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--paper); }
.chat-input { min-height: 46px; max-height: 160px; resize: none; flex: 1; }
.chat-send { width: 46px; min-height: 46px; padding: 0; flex: none; border-radius: 50%; }
.chat-note { margin-top: 12px; }
@media (max-width: 900px) {
  .chat { grid-template-columns: 1fr; height: calc(100dvh - 200px); }
  .chat-pane { display: none; }
  .chat[data-pane-open] .chat-pane { display: flex; }
  .chat[data-pane-open] .chat-list-wrap { display: none; }
  .chat-back { display: inline-flex; }
}

/* ── kayıt / giriş ──────────────────────────────────────────────────── */
.wizard-page { padding-bottom: var(--sec); align-items: start; }
.wizard { display: grid; gap: 24px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.step { display: flex; align-items: center; gap: 10px; padding: 10px 0 12px; border-top: 2px solid var(--line); font-weight: 600; color: var(--ink-2); font-size: var(--fs-small); }
.step .mono { color: var(--ink-2); }
.step.is-current { border-top-color: var(--red); color: var(--ink); }
.step.is-current .mono { color: var(--red); }
.step.is-done { border-top-color: var(--ink); color: var(--ink); }
.wizard-step { display: grid; gap: 18px; margin: 0; padding: 0; border: 0; min-width: 0; }
.wizard-legend { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; padding: 0; margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 12px; }
.check--big { align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); }
.check--big input { margin-top: 3px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.wizard-nav [data-prev] { margin-right: auto; }
.wizard-nav [data-next], .wizard-nav [data-submit] { margin-left: auto; }
.wizard-done { display: grid; gap: 14px; justify-items: start; padding: 12px 0; }
.wizard-done-icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ok); color: #fff; }
.wizard-aside { display: grid; gap: 16px; position: sticky; top: 16px; }
.why { display: grid; gap: 14px; }
.why li { display: flex; gap: 12px; align-items: flex-start; }
.why .icon { color: var(--red); flex: none; margin-top: 3px; }
@media (max-width: 700px) { .field-row { grid-template-columns: 1fr; } .steps span:last-child { display: none; } }
@media (max-width: 900px) { .wizard-aside { position: static; } }
.auth { display: grid; place-items: center; padding-block: clamp(40px, 8vw, 96px) var(--sec); }
.auth-card { width: min(440px, 100%); display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--r-board); background: var(--paper); }
.auth-brand { margin-bottom: 4px; }
.auth-title { font-size: 2rem; letter-spacing: -.03em; }
.auth-alt a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; }

/* ── hakkında ───────────────────────────────────────────────────────── */
.about { padding-bottom: var(--sec); }
.about-lead { font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.35; letter-spacing: -.015em; margin-bottom: 1.2em; text-wrap: pretty; }
.pull { margin: 2em 0; padding: 0 0 0 24px; border-left: 3px solid var(--red); }
.pull p { font: italic 400 clamp(1.75rem, 3.6vw, 2.75rem) / 1.2 var(--f-serif); letter-spacing: -.01em; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 1em 0 2em; }
.how { display: grid; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); }
.how h3 { font-size: 1.25rem; }
.how-num { color: var(--red); }

/* ── 404 ────────────────────────────────────────────────────────────── */
.nf { display: grid; gap: 24px; justify-items: start; padding-block: clamp(64px, 12vw, 160px) var(--sec); }
.nf-code { font-size: clamp(5rem, 16vw, 12rem); line-height: .9; letter-spacing: -.06em; color: var(--red); font-weight: 300; }
.nf-title { font-size: var(--fs-h2); }

/* ── Faz 2 ekleri (Plan B) — Faz 1 token'larıyla ───────────────────────── */
.ann-body { margin-top: 8px; }
.ann-body > summary { cursor: pointer; color: var(--red); font-size: var(--fs-small); font-weight: 600; list-style: none; }
.ann-body > summary::before { content: '+ '; font-family: var(--f-mono); }
.ann-body[open] > summary::before { content: '− '; }
.ann-body-text { margin-top: 10px; }
.ann-body-text p { margin: 0 0 8px; }
.ann-body-text a { color: var(--red); text-decoration: underline; text-underline-offset: .2em; }
.ann-body-text ul, .ann-body-text ol { padding-left: 1.2em; margin: 0 0 8px; }
.bubble-who { display: block; font-size: .7rem; opacity: .7; margin-bottom: 2px; }
.chat-input.is-invalid { border-color: var(--major); }
.tag--btn { cursor: pointer; background: transparent; }
.tag--btn:hover { border-color: var(--red); color: var(--red); }
.post-action[aria-pressed="true"] { color: var(--red); }
.post-action[aria-expanded="true"] { color: var(--ink); }
.post-replies { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.reply { display: flex; gap: 10px; align-items: flex-start; }
.reply-text { margin: 2px 0 0; }
.reply-form { display: grid; gap: 8px; }
.reply-form .row { gap: 8px; }
