/* MHRM LOGIC site: mürekkep baskı stili.
   Tokenler MHRM_Studyo/ortak/stil/STIL.md ve ortak/hf/murekkep.css ile birebir aynı. Tek vurgu rengi kırmızı.
   Gradient, gölge, glow, emoji yok. */

@font-face { font-family: 'MRK Anton'; src: url('fonts/Anton-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'MRK Caveat'; src: url('fonts/Caveat.ttf') format('truetype'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'MRK Roboto Condensed'; src: url('fonts/RobotoCondensed.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }

:root {
  --kagit: #ECE4CF;
  --kagit-koyu: #DCD0B2;
  --murekkep: #1B1A17;
  --soluk: rgba(27, 26, 23, 0.55);
  --kirmizi: #D2432F;
  --f-baslik: 'MRK Anton', 'Impact', sans-serif;
  --f-script: 'MRK Caveat', cursive;
  --f-yazi: 'MRK Roboto Condensed', 'Arial Narrow', sans-serif;
  --kenar: clamp(16px, 5vw, 96px);
  --genislik: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  background: var(--kagit); color: var(--murekkep);
  font-family: var(--f-yazi); font-size: clamp(17px, 1.25vw, 20px); line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.tanimlar { position: absolute; width: 0; height: 0; }

/* sabit grain: sabit tohumlu SVG gürültü */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: 0.16; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.09  0 0 0 0.9 0'/></filter><rect width='240' height='240' filter='url(%23g)'/></svg>");
}

/* ÜST */
.ust {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--kenar); background: var(--kagit);
  border-bottom: 5px solid var(--murekkep);
}
.logo-plaka { position: relative; display: block; width: 132px; padding: 8px; flex: none; }
.logo-plaka::before { content: ''; position: absolute; inset: 0; background: var(--murekkep); filter: url(#mrk-titrek); }
.logo-plaka img { position: relative; }
.ust nav { display: flex; gap: clamp(12px, 2.4vw, 36px); flex-wrap: wrap; justify-content: flex-end; }
.ust nav a {
  font-weight: 800; text-decoration: none; font-size: 0.95em; letter-spacing: 0.02em;
  border-bottom: 3px solid transparent; padding-bottom: 2px;
}
.ust nav a:hover, .ust nav a:focus-visible { border-bottom-color: var(--murekkep); outline: none; }

/* GİRİŞ */
.giris {
  position: relative; min-height: calc(100svh - 80px);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: clamp(36px, 7vh, 80px) var(--kenar) clamp(28px, 6vh, 64px);
  overflow: hidden; border-bottom: 5px solid var(--murekkep);
}
.sahne { position: absolute; inset: 0; width: 100%; height: 100%; }
.baslik-panel {
  position: relative; text-align: center; padding: 14px clamp(18px, 3vw, 44px) 20px;
}
.baslik-panel::before { content: ''; position: absolute; inset: 0; background: var(--kagit); filter: url(#mrk-titrek); }
.baslik-panel > * { position: relative; }
.ust-etiket { font-weight: 800; letter-spacing: 0.14em; font-size: 0.82em; text-transform: uppercase; }
h1 {
  font-family: var(--f-baslik); font-weight: 400; line-height: 1;
  font-size: clamp(54px, 10.5vw, 150px); letter-spacing: 0.01em; filter: url(#mrk-baski);
}
.script {
  font-family: var(--f-script); font-weight: 700; color: var(--kirmizi);
  font-size: clamp(30px, 4.4vw, 63px); line-height: 1; transform: rotate(-1.5deg);
}
.script.kucuk { font-size: clamp(28px, 3vw, 42px); margin-bottom: 12px; }

.giris-alt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 760px; margin-top: 32px; }
.kutu {
  position: relative; padding: 18px 24px; font-weight: 700; font-size: clamp(17px, 1.5vw, 22px); text-align: center;
}
.kutu::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--kagit);
  border: 5px solid var(--murekkep); filter: url(#mrk-titrek);
}
.giris-alt .kutu { z-index: 0; }
.dugme {
  position: relative; z-index: 0; display: inline-block; padding: 14px 30px;
  font-family: var(--f-baslik); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--kagit); text-decoration: none;
}
.dugme::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--murekkep); filter: url(#mrk-titrek); }
.dugme:hover::before, .dugme:focus-visible::before { background: var(--kirmizi); }
.dugme:focus-visible { outline: none; }

/* BÖLÜMLER */
.bolum { max-width: calc(var(--genislik) + 2 * var(--kenar)); margin: 0 auto; padding: clamp(56px, 9vw, 110px) var(--kenar) 0; }
.bolum-baslik { display: flex; align-items: center; gap: 22px; margin-bottom: clamp(24px, 4vw, 44px); }
h2 { font-family: var(--f-baslik); font-weight: 400; font-size: clamp(40px, 6vw, 84px); line-height: 1; filter: url(#mrk-baski); white-space: nowrap; }
.cizgi { flex: 1; height: 8px; background: var(--murekkep); filter: url(#mrk-titrek); }
.metin p + p { margin-top: 1em; }
.metin { max-width: 62ch; font-size: 1.08em; }

.ben-izgara, .lojik-izgara { display: grid; gap: clamp(24px, 5vw, 64px); align-items: center; }
.ben-izgara { grid-template-columns: 1.4fr 1fr; }
.lojik-izgara { grid-template-columns: 1fr 1.2fr; }
.lojik-kucuk img { width: min(420px, 100%); margin-left: auto; }
.lojik-buyuk img { width: min(560px, 100%); }

.kartlar { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.kart { position: relative; padding: 52px 26px 30px; z-index: 0; }
.kart::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--kagit);
  border: 5px solid var(--murekkep); border-radius: 10px; filter: url(#mrk-titrek);
}
.sekme {
  position: absolute; top: 0; left: 0; padding: 6px 16px 7px; font-weight: 800; font-size: 0.92em;
  border-right: 5px solid var(--murekkep); border-bottom: 5px solid var(--murekkep);
}
h3 { font-family: var(--f-baslik); font-weight: 400; font-size: clamp(28px, 2.4vw, 36px); line-height: 1.05; margin-bottom: 12px; }

/* YÖNTEM: siyah şerit */
.yontem {
  margin-top: clamp(56px, 9vw, 110px); padding: clamp(36px, 5vw, 56px) var(--kenar);
  background: var(--murekkep); color: var(--kagit); text-align: center;
}
.yontem ol { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px clamp(14px, 3vw, 44px); }
.yontem li { font-family: var(--f-baslik); font-size: clamp(30px, 5vw, 72px); line-height: 1.1; filter: url(#mrk-titrek); }
.yontem li + li::before { content: '→'; margin-right: clamp(14px, 3vw, 44px); font-family: var(--f-yazi); font-weight: 800; opacity: 0.7; }
.yontem li.vurgu { color: var(--kirmizi); }
.yontem p { margin-top: 14px; font-weight: 700; opacity: 0.85; }

/* KANALLAR */
.not { margin-bottom: 22px; font-weight: 700; }
.kanal-listesi { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.kanal-listesi a {
  position: relative; z-index: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 20px 24px; text-decoration: none; color: var(--kagit);
}
.kanal-listesi a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--murekkep); filter: url(#mrk-titrek); }
.kanal-listesi a:hover::before, .kanal-listesi a:focus-visible::before { background: var(--kirmizi); }
.kanal-listesi a:focus-visible { outline: none; }
.kanal-listesi .ad { font-family: var(--f-baslik); font-size: clamp(26px, 2.6vw, 38px); line-height: 1; }
.kanal-listesi .tutamak { font-weight: 700; opacity: 0.85; text-align: right; }

/* ALT */
.alt {
  margin-top: clamp(64px, 10vw, 120px); padding: 28px var(--kenar) 36px;
  border-top: 5px solid var(--murekkep); font-weight: 700; text-align: center;
}
.alt .soluk { color: var(--soluk); font-weight: 400; font-size: 0.85em; margin-top: 4px; }

/* "Basılarak" giriş: ölçek 1.04 → 1 + opaklık, sakin */
@media (prefers-reduced-motion: no-preference) {
  .basma { animation: bas 0.45s ease-out both; }
  @keyframes bas { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
}

/* MOBİL */
@media (max-width: 860px) {
  .ben-izgara, .lojik-izgara, .kartlar, .kanal-listesi { grid-template-columns: 1fr; }
  .lojik-kucuk img { margin: 0 auto; width: min(320px, 100%); }
  .lojik-buyuk { order: 2; }
  .lojik-buyuk img { margin: 0 auto; }
}
@media (max-width: 560px) {
  .ust { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ust nav { justify-content: flex-start; gap: 8px 16px; }
  .logo-plaka { width: 112px; }
  .bolum-baslik { gap: 14px; }
  .yontem li + li::before { margin-right: 14px; }
  .kanal-listesi a { flex-direction: column; gap: 4px; }
  .kanal-listesi .tutamak { text-align: left; }
}


/* AFM proje sayfası */
.ust nav a.aktif { border-bottom-color: var(--kirmizi); }
.afm-giris { max-width: calc(var(--genislik) + 2 * var(--kenar)); margin: 0 auto; padding: clamp(40px, 7vw, 90px) var(--kenar) 0; }
.afm-giris .ust-etiket { margin-bottom: 10px; }
.afm-giris h1 { font-size: clamp(44px, 8vw, 112px); }
.afm-giris .script { display: inline-block; margin: 8px 0 22px; }
.afm-giris .metin { max-width: 70ch; }
.afm .bolum h2 { white-space: normal; font-size: clamp(34px, 5.2vw, 72px); }
.afm .bolum-baslik { align-items: flex-end; }
.afm .bolum-baslik .cizgi { min-width: 24px; margin-bottom: 8px; }
.afm-yazi { display: grid; gap: clamp(24px, 4.5vw, 56px); grid-template-columns: 1fr 1.15fr; align-items: center; }
.afm-yazi.ters { grid-template-columns: 1.15fr 1fr; }
.afm-yazi > * { min-width: 0; }

/* baskı plakası: kalın kontur, kâğıt paspartu, el yazısı etiket */
.plaka { position: relative; margin: 0; padding: clamp(10px, 1.6vw, 18px); background: var(--kagit); border: 6px solid var(--murekkep); border-radius: 4px; }
.plaka img { width: 100%; height: auto; border: 3px solid var(--murekkep); background: var(--kagit-koyu); }
.plaka figcaption { font-family: var(--f-script); font-weight: 700; color: var(--kirmizi); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05; padding: 10px 4px 0; transform: rotate(-1deg); transform-origin: left center; }
.plaka.genis { width: 100%; }
.plaka-cift { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 36px); }

.afm-liste { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.afm-liste li { position: relative; padding-left: 28px; font-weight: 700; }
.afm-liste li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 14px; height: 6px; background: var(--murekkep); }

.karsilastir { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.karsilastir .kart { padding-top: 56px; }
.karsilastir .kart.yeni .sekme { background: var(--murekkep); color: var(--kagit); }
.karsilastir ul { list-style: none; display: grid; gap: 8px; }
.karsilastir li { position: relative; padding-left: 24px; font-weight: 700; }
.karsilastir li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 12px; height: 5px; background: var(--soluk); }
.karsilastir .yeni li::before { background: var(--kirmizi); }

.dogrulama { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.surec-yontem { margin-top: clamp(56px, 9vw, 110px); }
.afm-geri { margin-top: clamp(40px, 6vw, 72px); }
.afm-geri .dugme { margin-top: 0; }

/* ana sayfa Geliştirmeler tanıtımı */
.gelistirme { display: grid; grid-template-columns: 1fr minmax(0, 340px); gap: clamp(24px, 5vw, 64px); align-items: center; }
.gelistirme .dugme { margin-top: 22px; }
.gelistirme .plaka { transform: rotate(1deg); }

@media (max-width: 860px) {
  .afm-yazi, .afm-yazi.ters, .karsilastir, .dogrulama, .gelistirme { grid-template-columns: 1fr; }
  .afm-yazi.ters > .plaka { order: -1; }
}
@media (max-width: 560px) {
  .plaka-cift { grid-template-columns: 1fr; }
  .plaka { border-width: 5px; }
  .afm .bolum-baslik .cizgi { display: none; }
}

/* AFM "Bu nedir?" bilgi kutusu */
.afm-nedir-bolum { padding-top: clamp(32px, 5vw, 56px); }
.afm-nedir { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr); gap: clamp(16px, 4vw, 56px); padding-top: clamp(22px, 3vw, 34px); }
.afm-nedir::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--murekkep); filter: url(#mrk-titrek); }
.afm-nedir > * { min-width: 0; }
.afm .afm-nedir .afm-nedir-baslik { white-space: normal; font-family: var(--f-script); font-weight: 700; color: var(--kirmizi); font-size: clamp(38px, 4.4vw, 60px); line-height: 0.95; text-transform: none; transform: rotate(-4deg); transform-origin: left top; }
.afm-nedir-govde { max-width: 68ch; font-size: 1.08em; }
.afm-nedir .afm-nedir-alt { margin-top: 26px; font-size: 0.82em; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soluk); }
.afm-cipler { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 6px; }
.afm-cipler li { font-family: var(--f-baslik); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; filter: url(#mrk-baski); }
.afm-cipler li + li::before { content: '/'; margin-right: 14px; color: var(--kirmizi); }
.afm-nedir .afm-nedir-not { margin-top: 16px; font-size: 0.9em; color: var(--soluk); font-weight: 700; }
@media (max-width: 720px) {
  .afm-nedir { grid-template-columns: 1fr; gap: 10px; }
}

/* AFM ESKİ / YENİ: zaman içinde aynı eğri */
.zaman-grafik { margin-top: clamp(32px, 5vw, 56px); }
.zaman-giris { max-width: 68ch; font-weight: 700; margin-bottom: clamp(16px, 2.4vw, 24px); }
.zaman-cift { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.zaman-panel { position: relative; z-index: 0; margin: 0; padding: 52px clamp(10px, 1.6vw, 20px) 18px; min-width: 0; }
.zaman-panel::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--kagit);
  border: 5px solid var(--murekkep); border-radius: 10px; filter: url(#mrk-titrek);
}
.zaman-panel.yeni .sekme { background: var(--murekkep); color: var(--kagit); }
.zaman-panel svg { display: block; width: 100%; height: auto; overflow: visible; }
.zaman-panel .izgara { stroke: var(--soluk); stroke-width: 1; stroke-dasharray: 2 5; opacity: 0.6; }
.zaman-panel .eksen { stroke: var(--murekkep); stroke-width: 3; stroke-linecap: square; }
.zaman-panel .olcek { font-family: var(--f-yazi); font-weight: 700; font-size: 12px; fill: var(--soluk); }
.zaman-panel .bolge { fill: var(--kagit-koyu); }
.zaman-panel .bolge-yazi { font-family: var(--f-script); font-size: 17px; font-weight: 700; fill: var(--murekkep); }
.zaman-panel path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.c-taban { stroke: var(--soluk); stroke-width: 2; stroke-dasharray: 5 4; }
.c-yil10 { stroke: var(--murekkep); stroke-width: 3; }
.c-dijital { stroke: var(--kirmizi); stroke-width: 4; }
.zaman-lejant { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-weight: 700; font-size: 0.92em; }
.zaman-lejant li { display: flex; align-items: center; gap: 8px; }
.zaman-lejant i { display: inline-block; width: 22px; height: 0; border-top: 3px solid var(--murekkep); }
.zaman-lejant .l-taban { border-top: 2px dashed var(--soluk); }
.zaman-lejant .l-dijital { border-top: 4px solid var(--kirmizi); }
.zaman-panel-not { margin-top: 10px; padding-top: 10px; border-top: 3px solid var(--murekkep); font-weight: 700; font-size: 0.92em; color: var(--soluk); }
@media (max-width: 860px) { .zaman-cift { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .zaman-panel .olcek { font-size: 15px; } .zaman-panel .bolge-yazi { font-size: 20px; } }
