/* Ankara Arslan Vidanjör — "Saha Fişi" tasarım sistemi
   Sarı/siyah iş güvenliği paleti, dar display tipografi, keskin köşeler, teknik ızgara. */
:root {
  --paper: #f1eee4;
  --paper-2: #e7e3d5;
  --card: #faf8f2;
  --ink: #0c0c0b;
  --ink-2: #1c1c1a;
  --muted: #4a4943;
  --signal: #ffd000;
  --signal-2: #ffe25c;
  --wa: #0b7a3b;
  --rule: 2px solid var(--ink);
  --hair: 1px solid rgba(12, 12, 11, .18);
  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --rail: 92px;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --topbar: 60px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.62; font-stretch: 100%; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--signal); }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: square; stroke-linejoin: miter; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; z-index: 99; left: 12px; top: 12px; padding: 12px 16px; background: var(--signal); color: var(--ink); font-weight: 800; transform: translateY(-200%); }
.skip:focus { transform: none; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Shell: vertical rail (desktop) ---------- */
.rail { position: fixed; z-index: 50; inset: 0 auto 0 0; width: var(--rail); background: var(--ink); color: var(--paper); display: flex; flex-direction: column; align-items: center; border-right: 4px solid var(--signal); }
.rail-logo { display: grid; place-items: center; width: 100%; height: var(--rail); background: var(--signal); color: var(--ink); text-decoration: none; }
.rail-logo svg { width: 46px; height: 46px; }
.rail-nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.rail-nav a { writing-mode: vertical-rl; transform: rotate(180deg); padding: 16px 10px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: #bdbab0; border-left: 3px solid transparent; transition: color .15s, border-color .15s; }
.rail-nav a:hover, .rail-nav a[aria-current] { color: var(--signal); border-left-color: var(--signal); }
.rail-status { writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: #bdbab0; padding: 16px 0; }
.dot { width: 9px; height: 9px; background: #2bd46b; border-radius: 50%; box-shadow: 0 0 0 0 rgba(43, 212, 107, .7); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(43, 212, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 212, 107, 0); } }
.rail-call { display: grid; place-items: center; width: 100%; height: var(--rail); background: var(--signal); color: var(--ink); text-decoration: none; transition: background .15s; }
.rail-call:hover { background: var(--signal-2); }
.rail-call .icon { width: 30px; height: 30px; }
.frame { margin-left: var(--rail); min-height: 100vh; }

/* Ticker */
.ticker { overflow: hidden; background: var(--ink); color: var(--signal); border-bottom: var(--rule); font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 0; padding: 11px 0; animation: tick 70s linear infinite; }
.ticker-track span { padding: 0 18px; }
.ticker-track span::after { content: '◆'; margin-left: 36px; color: #6b6a63; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Desktop head bar */
.headbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--gut); border-bottom: var(--rule); background: var(--paper); }
.wordmark { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.wordmark b { font-family: var(--display); font-stretch: 75%; font-weight: 900; font-size: 30px; letter-spacing: -.01em; text-transform: uppercase; line-height: 1; }
.wordmark span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.headbar-call { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.headbar-call small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.headbar-call strong { font-family: var(--display); font-stretch: 80%; font-size: 28px; font-weight: 900; letter-spacing: .01em; line-height: 1; }
.headbar-call .sq { width: 50px; height: 50px; display: grid; place-items: center; background: var(--ink); color: var(--signal); }
.headbar-call:hover .sq { background: var(--signal); color: var(--ink); outline: var(--rule); }

/* Mobile top bar + menu */
.mbar { display: none; }
.menu-btn { display: none; }
.sheet { position: fixed; z-index: 60; inset: var(--topbar) 0 0; background: var(--ink); color: var(--paper); padding: 8px var(--gut) calc(120px + env(safe-area-inset-bottom)); overflow-y: auto; }
.sheet[hidden] { display: none; }
.sheet nav a { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid #33322e; font-family: var(--display); font-stretch: 75%; font-weight: 900; font-size: 38px; text-transform: uppercase; text-decoration: none; line-height: 1; }
.sheet nav a .icon { color: var(--signal); width: 28px; height: 28px; }
.sheet .sheet-actions { display: grid; gap: 10px; margin-top: 28px; }
.menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 0 26px; border: var(--rule); font-family: var(--display); font-stretch: 85%; font-size: 19px; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s; box-shadow: 5px 5px 0 var(--ink); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn .icon { width: 22px; height: 22px; }
.btn-y { background: var(--signal); color: var(--ink); }
.btn-k { background: var(--ink); color: var(--signal); }
.btn-w { background: var(--wa); color: #fff; }
.on-dark .btn { border-color: var(--signal); box-shadow: 5px 5px 0 var(--signal); }
.on-dark .btn:hover { box-shadow: 7px 7px 0 var(--signal); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 3px; }
.arrow-link .icon { width: 16px; height: 16px; transition: transform .15s; }
.arrow-link:hover .icon { transform: translateX(4px); }

/* ---------- Home: hero ---------- */
.hero { position: relative; border-bottom: var(--rule); background-image: linear-gradient(var(--paper-2) 1px, transparent 1px), linear-gradient(90deg, var(--paper-2) 1px, transparent 1px); background-size: 40px 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); }
.hero-copy { padding: clamp(36px, 5vw, 72px) var(--gut) clamp(40px, 5vw, 72px); border-right: var(--rule); }
.stamp { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: var(--rule); background: var(--card); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 26px; }
.mega { font-family: var(--display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(64px, 10.5vw, 168px); line-height: .84; letter-spacing: -.005em; margin: 0 0 28px; }
.mega .hl { background: var(--signal); padding: 0 .06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.mega .out { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero-lead { max-width: 52ch; font-size: clamp(18px, 1.5vw, 20px); color: #2b2a26; margin-bottom: 30px; }
.hero-phone { display: block; margin-top: 30px; font-family: var(--display); font-stretch: 70%; font-weight: 900; font-size: clamp(44px, 6vw, 84px); line-height: .9; text-decoration: none; letter-spacing: .005em; }
.hero-phone small { display: block; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin-bottom: 8px; }
.hero-phone:hover span { background: var(--signal); }

/* Dispatch ticket */
.ticket-col { padding: clamp(24px, 3vw, 44px) var(--gut); background: var(--ink); display: flex; align-items: flex-start; }
.ticket { position: relative; width: 100%; background: var(--card); border: var(--rule); padding: 26px 24px 24px; box-shadow: 10px 10px 0 var(--signal); }
.ticket::before, .ticket::after { content: ''; position: absolute; left: -2px; right: -2px; height: 14px; background: radial-gradient(circle at 7px 7px, var(--ink) 5px, transparent 5.5px) 0 0 / 22px 14px repeat-x; }
.ticket::before { top: -9px; }
.ticket::after { bottom: -9px; }
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px dashed var(--ink); }
.ticket-head h2 { font-stretch: 70%; font-size: 36px; text-transform: uppercase; }
.ticket fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.ticket legend { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 12px; border: var(--rule); background: #fff; font-size: 15px; font-weight: 700; line-height: 1.2; transition: background .12s; }
.choice span .icon { width: 20px; height: 20px; }
.choice input:checked + span { background: var(--signal); box-shadow: inset 0 0 0 2px var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 56px; padding: 0 48px 0 14px; border: var(--rule); background: #fff; font-size: 17px; font-weight: 700; border-radius: 0; cursor: pointer; }
.select .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%) rotate(90deg); pointer-events: none; }
.ticket .btn { width: 100%; }
.ticket-alt { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.ticket-alt a { font-weight: 700; }

/* ---------- Generic blocks ---------- */
.block { border-bottom: var(--rule); }
.block-dark { background: var(--ink); color: var(--paper); }
.block-y { background: var(--signal); }
.block-head { display: grid; grid-template-columns: 200px 1fr auto; gap: 24px; align-items: end; padding: clamp(40px, 6vw, 80px) var(--gut) 28px; border-bottom: var(--rule); }
.block-dark .block-head { border-color: #33322e; }
.block-no { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.block-no b { display: block; font-family: var(--display); font-stretch: 62%; font-size: 96px; font-weight: 900; line-height: .8; letter-spacing: 0; }
.block-dark .block-no b { color: var(--signal); }
.title-xl { font-stretch: 68%; font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 6.5vw, 96px); line-height: .88; }
.title-xl em { font-style: normal; background: var(--signal); color: var(--ink); padding: 0 .08em; }
.block-dark .title-xl em { background: none; color: var(--signal); }

/* Service index (table-like) */
.index-list li { border-bottom: var(--hair); }
.index-list li:last-child { border-bottom: 0; }
.index-row { display: grid; grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1.4fr) 56px; gap: 24px; align-items: center; padding: 26px var(--gut); text-decoration: none; transition: background .15s; }
.index-row:hover { background: var(--signal); }
.index-row .n { font-family: var(--mono); font-size: 13px; font-weight: 700; }
.index-row h3 { font-stretch: 75%; font-size: clamp(26px, 2.6vw, 38px); text-transform: uppercase; line-height: .95; }
.index-row p { margin: 0; color: var(--muted); font-size: 16px; }
.index-row:hover p { color: var(--ink); }
.index-row .go { width: 56px; height: 56px; display: grid; place-items: center; border: var(--rule); transition: background .15s, color .15s; }
.index-row:hover .go { background: var(--ink); color: var(--signal); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.steps li { padding: 36px var(--gut) 44px; border-right: 1px solid #33322e; }
.steps li:last-child { border-right: 0; }
.steps .big { display: block; font-family: var(--display); font-stretch: 62%; font-weight: 900; font-size: 120px; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--signal); margin-bottom: 24px; }
.steps h3 { font-stretch: 80%; font-size: 26px; text-transform: uppercase; margin-bottom: 10px; color: #fff; }
.steps p { margin: 0; color: #c4c1b6; font-size: 16px; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); }
.principles article { padding: 32px var(--gut) 40px; border-right: var(--rule); }
.principles article:last-child { border-right: 0; }
.principles .tag { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 4px 8px; background: var(--ink); color: var(--signal); margin-bottom: 20px; }
.principles h3 { font-stretch: 80%; font-size: 26px; text-transform: uppercase; margin-bottom: 10px; }
.principles p { margin: 0; color: var(--muted); font-size: 16px; }

/* Coverage */
.coverage { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.coverage-big { padding: 40px var(--gut); border-right: var(--rule); }
.coverage-big .num { font-family: var(--display); font-stretch: 62%; font-weight: 900; font-size: clamp(160px, 20vw, 300px); line-height: .78; }
.coverage-big p { max-width: 38ch; margin-top: 20px; }
.dir-cols { columns: 3 180px; column-gap: 0; padding: 32px var(--gut); }
.dir-cols li { break-inside: avoid; border-bottom: var(--hair); }
.dir-cols a { display: flex; justify-content: space-between; align-items: center; padding: 13px 4px; font-size: 18px; font-weight: 700; text-decoration: none; transition: background .12s, padding .12s; }
.dir-cols a:hover { background: var(--signal); padding-left: 12px; }
.dir-cols a .icon { width: 16px; height: 16px; }

/* Guides list */
.guide-list li { border-bottom: var(--hair); }
.guide-list li:last-child { border-bottom: 0; }
.guide-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 220px; gap: 24px; align-items: start; padding: 28px var(--gut); text-decoration: none; transition: background .15s; }
.guide-row:hover { background: var(--card); }
.guide-row .n { font-family: var(--display); font-stretch: 62%; font-weight: 900; font-size: 64px; line-height: .8; }
.guide-row h3 { font-stretch: 85%; font-size: clamp(22px, 2vw, 30px); margin-bottom: 8px; }
.guide-row p { margin: 0; color: var(--muted); font-size: 16px; }
.guide-row .arrow-link { justify-self: end; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.faq-wrap > div:first-child { padding: 40px var(--gut); border-right: var(--rule); }
.faq-list details { border-bottom: var(--rule); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { list-style: none; display: grid; grid-template-columns: 1fr 44px; gap: 16px; align-items: center; padding: 22px var(--gut); cursor: pointer; font-size: 19px; font-weight: 800; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; width: 44px; height: 44px; display: grid; place-items: center; border: var(--rule); font-family: var(--mono); font-size: 22px; transition: background .15s, transform .2s var(--ease); }
.faq-list details[open] summary::after { content: '−'; background: var(--signal); }
.faq-list details > div { padding: 0 var(--gut) 24px; color: #2b2a26; max-width: 70ch; }
.faq-list details > div p:last-child { margin: 0; }
.faq-plain details { border: var(--rule); background: var(--card); margin-bottom: -2px; }
.faq-plain summary { padding: 18px 20px; }
.faq-plain details > div { padding: 0 20px 20px; }

/* CTA slab */
.slab { position: relative; background: var(--signal); border-bottom: var(--rule); padding: clamp(48px, 7vw, 96px) var(--gut); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: end; }
.slab::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--signal) 14px 28px); }
.slab h2 { font-stretch: 65%; font-weight: 900; text-transform: uppercase; font-size: clamp(48px, 7vw, 110px); line-height: .86; }
.slab p { font-size: 19px; font-weight: 600; margin: 16px 0 0; max-width: 46ch; }
.slab-phone { display: block; font-family: var(--display); font-stretch: 70%; font-weight: 900; font-size: clamp(40px, 5vw, 72px); line-height: .9; text-decoration: none; margin-bottom: 20px; text-align: right; }
.slab .btn-row { justify-content: flex-end; }

/* Footer */
.foot { background: var(--ink); color: #c4c1b6; padding: 56px var(--gut) 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.foot h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); margin-bottom: 16px; font-weight: 700; }
.foot a { text-decoration: none; }
.foot li a { display: inline-block; padding: 5px 0; }
.foot li a:hover { color: var(--signal); }
.foot-phone { font-family: var(--display); font-stretch: 75%; font-weight: 900; font-size: 36px; color: #fff; line-height: 1; }
.foot-word { margin-top: 48px; font-family: var(--display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(64px, 16vw, 240px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px #4b4a44; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #33322e; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }

.dock { display: none; }

/* ---------- Inner pages ---------- */
.phead { border-bottom: var(--rule); background-image: linear-gradient(var(--paper-2) 1px, transparent 1px), linear-gradient(90deg, var(--paper-2) 1px, transparent 1px); background-size: 40px 40px; }
.crumbs { padding: 16px var(--gut); border-bottom: var(--rule); background: var(--paper); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.crumbs li + li::before { content: '›'; margin-right: 10px; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); background: var(--signal); }
.phead-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; }
.phead-copy { padding: clamp(32px, 5vw, 64px) var(--gut) clamp(36px, 5vw, 64px); border-right: var(--rule); }
.phead-copy .kicker { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--signal); padding: 6px 10px; margin-bottom: 22px; }
.phead h1 { font-stretch: 66%; font-weight: 900; text-transform: uppercase; font-size: clamp(46px, 7vw, 108px); line-height: .86; margin-bottom: 24px; max-width: 16ch; }
.phead h1 em { font-style: normal; background: var(--signal); padding: 0 .06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.phead .lead { font-size: clamp(18px, 1.5vw, 20px); max-width: 60ch; color: #2b2a26; margin-bottom: 28px; }
.phead-side { background: var(--ink); color: var(--paper); padding: 28px var(--gut); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.phead-side dl { margin: 0; display: grid; gap: 0; }
.phead-side dl div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #33322e; font-size: 15px; }
.phead-side dt { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--signal); text-transform: uppercase; padding-top: 3px; }
.phead-side dd { margin: 0; font-weight: 700; }
.phead-side .side-phone { font-family: var(--display); font-stretch: 72%; font-weight: 900; font-size: 44px; line-height: .9; color: var(--signal); text-decoration: none; }

.doc { display: grid; grid-template-columns: 280px minmax(0, 1fr); border-bottom: var(--rule); }
.doc-aside { border-right: var(--rule); padding: 32px 24px; }
.doc-aside-inner { position: sticky; top: 24px; display: grid; gap: 28px; }
.toc h2, .aside-box h2 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.toc ol { counter-reset: toc; border-left: var(--rule); }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 30px 1fr; padding: 8px 10px; font-size: 15px; font-weight: 600; line-height: 1.35; text-decoration: none; color: var(--muted); transition: background .12s, color .12s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 12px; padding-top: 2px; }
.toc a:hover, .toc a.is-active { background: var(--signal); color: var(--ink); }
.aside-box { border: var(--rule); background: var(--card); padding: 18px; }
.aside-box p { font-size: 15px; color: var(--muted); }
.aside-box .btn { width: 100%; min-height: 52px; font-size: 17px; padding: 0 14px; box-shadow: 4px 4px 0 var(--ink); }
.aside-box .btn + .btn { margin-top: 12px; }
.aside-links a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: var(--hair); font-size: 15px; font-weight: 600; text-decoration: none; }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover { color: var(--ink); background: var(--signal); }
.aside-links .icon { width: 16px; height: 16px; flex: none; margin-top: 4px; }
.doc-main { min-width: 0; }
.doc-sec { padding: clamp(32px, 4vw, 56px) clamp(20px, 4vw, 64px); border-bottom: var(--hair); }
.doc-sec:last-child { border-bottom: 0; }
.doc-sec > .sec-no { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); display: block; margin-bottom: 10px; }
.doc-sec h2 { font-stretch: 75%; font-size: clamp(30px, 3.4vw, 46px); text-transform: uppercase; line-height: .95; margin-bottom: 20px; max-width: 22ch; }
.doc-sec h3 { font-stretch: 85%; font-size: 22px; margin: 26px 0 10px; }
.prose { max-width: 70ch; font-size: 18px; color: #22211e; }
.prose p { margin-bottom: 1.05em; }
.prose a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { background: var(--signal); }

.notes { border: var(--rule); background: var(--card); }
.notes li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 16px; border-bottom: var(--hair); font-size: 16px; }
.notes li:last-child { border-bottom: 0; }
.notes li b { display: grid; place-items: center; width: 32px; height: 32px; background: var(--signal); border: var(--rule); font-family: var(--mono); font-size: 12px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-row li { border: var(--rule); padding: 6px 12px; font-weight: 700; font-size: 15px; background: #fff; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: var(--rule); }
.two-col > div { padding: 22px; }
.two-col > div + div { border-left: var(--rule); }
.two-col .mono { display: block; margin-bottom: 10px; font-weight: 700; }
.two-col p { margin: 0; font-size: 16px; }
.signal-list { border: var(--rule); }
.signal-list li { display: grid; grid-template-columns: 56px 1fr; border-bottom: var(--hair); }
.signal-list li:last-child { border-bottom: 0; }
.signal-list b { display: grid; place-items: center; background: var(--ink); color: var(--signal); font-family: var(--mono); font-size: 13px; }
.signal-list span { padding: 14px 16px; font-size: 16px; }
.check-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: var(--hair); font-size: 16px; }
.check-list .icon { margin-top: 3px; }

.svc-table li { border-bottom: var(--hair); }
.svc-table a { display: grid; grid-template-columns: 44px 1fr 24px; gap: 14px; align-items: center; padding: 14px 6px; text-decoration: none; font-weight: 700; font-size: 17px; transition: background .12s, padding .12s; }
.svc-table a:hover { background: var(--signal); padding-left: 14px; }
.svc-table .ico { width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: var(--signal); }
.svc-table .ico .icon { width: 22px; height: 22px; }

/* Neighborhood directory */
.nb-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.nb-search { position: relative; flex: 1 1 280px; max-width: 460px; }
.nb-search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); }
.nb-search input { width: 100%; min-height: 56px; padding: 0 14px 0 46px; border: var(--rule); background: #fff; border-radius: 0; font-size: 17px; font-weight: 600; }
.nb-search input:focus { outline: none; box-shadow: 6px 6px 0 var(--signal); }
.nb-count { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nb-list { columns: 3 190px; column-gap: 24px; border-top: var(--rule); padding-top: 6px; }
.nb-list li { break-inside: avoid; }
.nb-list li[hidden] { display: none; }
.nb-list a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 2px; border-bottom: var(--hair); font-size: 16px; font-weight: 600; text-decoration: none; }
.nb-list a .icon { width: 16px; height: 16px; color: var(--wa); }
.nb-list a:hover { background: var(--signal); }
.nb-empty { border: var(--rule); padding: 16px; font-weight: 700; background: var(--card); }
.fine { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); margin-top: 14px; }

/* District / hub grids */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); border-top: var(--rule); border-left: var(--rule); }
.tiles li { border-right: var(--rule); border-bottom: var(--rule); }
.tiles a { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 150px; padding: 20px; text-decoration: none; background: var(--card); transition: background .12s; }
.tiles a:hover { background: var(--signal); }
.tiles .mono { color: var(--muted); }
.tiles strong { font-family: var(--display); font-stretch: 72%; font-weight: 900; font-size: 36px; text-transform: uppercase; line-height: .9; }
.tiles .tile-foot { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; }

.related { border-bottom: var(--rule); background: var(--paper-2); padding: 32px var(--gut); }
.related h2 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.related ul { display: flex; flex-wrap: wrap; gap: 0; border-top: var(--hair); border-left: var(--hair); }
.related li { border-right: var(--hair); border-bottom: var(--hair); }
.related a { display: block; padding: 10px 14px; font-size: 15px; font-weight: 600; text-decoration: none; background: var(--card); }
.related a:hover { background: var(--signal); }

.nf { padding: clamp(48px, 8vw, 120px) var(--gut); border-bottom: var(--rule); }
.nf .code { font-family: var(--display); font-stretch: 62%; font-weight: 900; font-size: clamp(140px, 26vw, 360px); line-height: .78; color: transparent; -webkit-text-stroke: 3px var(--ink); }

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

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { border-right: 0; border-bottom: var(--rule); }
  .steps, .principles { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(-n+2) { border-bottom: 1px solid #33322e; }
  .principles article:nth-child(2) { border-right: 0; }
  .principles article:nth-child(-n+2) { border-bottom: var(--rule); }
  .phead-grid { grid-template-columns: 1fr; }
  .phead-copy { border-right: 0; border-bottom: var(--rule); }
  .phead-side { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
  .phead-side dl { flex: 1 1 320px; }
  .guide-row { grid-template-columns: 90px minmax(0, 1fr); }
  .guide-row .arrow-link { display: none; }
}
@media (max-width: 1023px) {
  :root { --rail: 0px; }
  .rail, .headbar { display: none; }
  .frame { margin-left: 0; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .mbar { position: sticky; top: 0; z-index: 55; display: flex; align-items: center; justify-content: space-between; height: var(--topbar); padding: 0 0 0 var(--gut); background: var(--ink); color: var(--paper); border-bottom: 4px solid var(--signal); }
  .mbar .wordmark b { font-size: 24px; color: #fff; }
  .mbar .wordmark span { color: var(--signal); }
  .menu-btn { display: grid; place-items: center; width: var(--topbar); height: var(--topbar); background: var(--signal); color: var(--ink); border: 0; cursor: pointer; }
  .menu-btn .icon { width: 26px; height: 26px; }
  .menu-btn .i-close { display: none; }
  .menu-open .menu-btn .i-open { display: none; }
  .menu-open .menu-btn .i-close { display: block; }
  .dock { position: fixed; z-index: 58; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.4fr 1fr; background: var(--ink); border-top: 4px solid var(--signal); padding-bottom: env(safe-area-inset-bottom); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; font-family: var(--display); font-stretch: 85%; font-weight: 800; font-size: 19px; text-transform: uppercase; text-decoration: none; }
  .dock .d-call { background: var(--signal); color: var(--ink); }
  .dock .d-wa { background: var(--wa); color: #fff; }
  .dock .icon { width: 22px; height: 22px; }
  .block-head { grid-template-columns: 1fr; gap: 14px; }
  .block-no b { font-size: 64px; }
  .index-row { grid-template-columns: 50px minmax(0, 1fr) 48px; gap: 14px; }
  .index-row p { grid-column: 2 / 3; }
  .index-row .go { grid-row: 1 / 3; grid-column: 3; width: 48px; height: 48px; }
  .coverage, .faq-wrap, .slab { grid-template-columns: 1fr; }
  .coverage-big, .faq-wrap > div:first-child { border-right: 0; border-bottom: var(--rule); }
  .slab-phone { text-align: left; }
  .slab .btn-row { justify-content: flex-start; }
  .doc { grid-template-columns: 1fr; }
  .doc-aside { border-right: 0; border-bottom: var(--rule); order: 2; }
  .doc-aside-inner { position: static; }
  .doc-aside .toc { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .mega { font-size: clamp(56px, 17vw, 96px); }
  .hero-copy .btn-row, .phead .btn-row { flex-direction: column; }
  .hero-copy .btn-row .btn, .phead .btn-row .btn { width: 100%; }
  .choice-grid { grid-template-columns: 1fr; }
  .ticket-col { padding: 28px 14px 36px; }
  .ticket { box-shadow: 6px 6px 0 var(--signal); padding: 22px 16px 20px; }
  .steps, .principles { grid-template-columns: 1fr; }
  .steps li, .principles article { border-right: 0 !important; border-bottom: 1px solid #33322e; }
  .principles article { border-bottom: var(--rule); }
  .principles article:last-child { border-bottom: 0; }
  .steps .big { font-size: 88px; }
  .dir-cols { columns: 2; }
  .guide-row { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
  .guide-row .n { font-size: 44px; }
  .faq-list summary { font-size: 17px; }
  .two-col { grid-template-columns: 1fr; }
  .two-col > div + div { border-left: 0; border-top: var(--rule); }
  .nb-list { columns: 2; }
  .foot-grid { grid-template-columns: 1fr; }
  .phead-side dl div { grid-template-columns: 80px 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles a { min-height: 120px; padding: 14px; }
  .tiles strong { font-size: 28px; }
}
@media (max-width: 380px) {
  .nb-list, .dir-cols { columns: 1; }
  .tiles { grid-template-columns: 1fr; }
}

/* Numbering is visual only (CSS counters) so it does not add repeated text to every page. */
.index-list, .guide-list { counter-reset: idx; }
.index-list > li, .guide-list > li { counter-increment: idx; }
.index-row .n::before, .guide-row .n::before { content: counter(idx, decimal-leading-zero); }
.doc-main { counter-reset: sec; }
.doc-sec { counter-increment: sec; }
.doc-sec > .sec-no::before { content: "BÖLÜM " counter(sec, decimal-leading-zero); }

/* Field photos */
.gallery-note { grid-column: 1 / -1; max-width: 60ch; margin: 0; color: #c4c1b6; font-size: 17px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid #33322e; }
.gallery figure { margin: 0; position: relative; border-right: 1px solid #33322e; border-bottom: 1px solid #33322e; overflow: hidden; }
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s var(--ease), filter .3s; filter: saturate(.9); }
.gallery figure:hover img { transform: scale(1.04); filter: saturate(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; background: linear-gradient(transparent, rgba(12, 12, 11, .92)); color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; line-height: 1.45; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shots figure { margin: 0; border: var(--rule); background: var(--card); box-shadow: 5px 5px 0 var(--ink); }
.shots img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-bottom: var(--rule); }
.shots figcaption { padding: 10px 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .03em; line-height: 1.45; color: var(--muted); }
@media (max-width: 1023px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .shots { grid-template-columns: 1fr 1fr; }
  .shots figure:nth-child(3) { display: none; }
  .gallery figcaption { font-size: 10px; padding: 28px 10px 10px; }
}

/* Touch targets: every tappable text link gets at least a 44px hit area on touch screens. */
@media (max-width: 1023px) {
  .mbar .wordmark { min-height: 44px; align-items: center; }
  .arrow-link { min-height: 44px; border-bottom-width: 0; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
  .ticket-alt a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
}
@media (max-width: 1023px) {
  .side-phone, .slab-phone, .foot-phone { display: inline-block; padding-block: 6px; }
}
