/* ============================================================
   tune.css — en son yuklenir, hepsini ezer.
   Astra duzenlemesinden sonraki elle ayar katmani.
   Geri almak icin: index.html'den bu satiri sil.
   ============================================================ */

/* ---------- 2. YETENEKLER: artik link degil ---------- */
.cap-row { cursor: default }
.cap-row:hover { background: none }
@media (max-width: 760px) {
  body:has(.hero-pond) .cap-row { grid-template-columns: 20px 1fr !important }
  .cap-desc { grid-column: 2 }
}

/* ---------- 3. PROJE KARTLARI: cizilmis baski sayfasi ----------
   Parlak "app karti" degil: washi zeminine basilmis bir sayfa.
   Cerceve iki kez cizilmis gibi (ikinci kontur hafif egik ve
   yavasca salinir), gorsel iceride pay birakarak oturur, kunye
   gorselin ustune binmez — altina basilir. Sagda kirmizi muhur.
   ---------------------------------------------------------------- */
.home-projects { gap: 30px !important; padding-bottom: 14px }

.home-projects .project-card {
  flex: 0 0 clamp(250px, 74vw, 300px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  overflow: visible !important;
  position: relative;
}

/* ikinci kalem gecisi — kart iki kez cizilmis gibi, hafifce salinir */
.home-projects .project-card::after {
  content: '';
  position: absolute;
  inset: -6px -5px -3px -7px;
  border: 1px solid rgba(244, 239, 230, .16);
  pointer-events: none;
  z-index: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .home-projects .project-card::after { animation: kalemSallan 7.2s ease-in-out infinite alternate }
  .home-projects .project-card:nth-child(3n+2)::after { animation-duration: 8.6s; animation-delay: -2.4s }
  .home-projects .project-card:nth-child(3n+3)::after { animation-duration: 9.4s; animation-delay: -5.1s }
}
@keyframes kalemSallan {
  from { transform: rotate(-.75deg) translate(0, 0) }
  to   { transform: rotate(.55deg) translate(1px, -1px) }
}

.home-projects .project-link {
  display: block !important;
  position: relative;
  z-index: 1;
  height: auto !important;          /* discovery.css 380px sabitliyor, kunye kirpiliyordu */
  min-height: 0 !important;
  max-height: none !important;
  padding: 11px 11px 0 !important;
  border: 1px solid rgba(244, 239, 230, .30);
  border-radius: 0;
  background: #16130f;
  overflow: hidden;
}

.home-projects .project-cover {
  aspect-ratio: 1 / 1 !important;
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  border-radius: 0 !important;
  overflow: hidden;
}
.home-projects .project-cover img {
  object-fit: cover !important;
  background: none !important;
  filter: saturate(.92) contrast(1.03);
}

/* KUNYE — gorselin ustunde degil, altinda basili */
.home-projects .project-caption {
  position: static !important;
  inset: auto !important;
  display: grid !important;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
  margin-top: 11px;
  padding: 10px 1px 16px !important;
  border-top: 1px solid rgba(244, 239, 230, .16);
  background: none !important;
  border-radius: 0 !important;
  pointer-events: none;
}
.home-projects .project-kind {
  font-family: var(--font-mono);
  font-size: 9px !important;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, .5) !important;
  margin: 0 0 5px !important;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-projects .project-caption h2 {
  position: relative;
  display: inline-block;
  font-size: 22px !important;
  line-height: 1.12 !important;
  letter-spacing: -.03em;
  font-weight: 300;
  margin: 0 !important;
  color: #F4EFE6;
}
/* baslik altinda firca cizgisi — elle cekilmis gibi */
.home-projects .project-caption h2::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -9px;
  height: 5px;
  background: var(--shu);
  opacity: .9;
  clip-path: polygon(0 46%, 6% 22%, 18% 60%, 31% 28%, 46% 66%, 60% 30%, 74% 62%, 88% 32%,
                     100% 52%, 100% 76%, 86% 58%, 72% 84%, 58% 54%, 44% 88%, 30% 52%,
                     17% 84%, 6% 50%, 0 72%);
}
.home-projects .project-description { display: none !important }

/* MUHUR — kartin sag altinda, kartin sirasi */
.home-projects .project-arrow {
  display: grid !important;
  place-items: center;
  width: 30px; height: 30px;
  font-size: 0 !important;
  border: 1px solid var(--shu);
  color: var(--shu) !important;
  transform: rotate(-4deg);
  opacity: 1;
  background: rgba(184, 0, 0, .10);
}
.home-projects .project-arrow::after {
  content: '作';
  font-family: var(--font);
  font-size: 12px;
  line-height: 1;
  color: var(--shu);
}

@media (min-width: 900px) {
  .home-projects .project-card { flex: 0 0 292px !important }
  .home-projects .project-caption h2 { font-size: 23px !important }
}

/* ---------- 4. SERIT: kendi kendine akar, elle de surulur ----------
   Eski kayan film seridinin canliligi geri geliyor ama kontrol
   kullanicida: dokun/tut durur, birakinca devam eder. */
.home-projects {
  scroll-behavior: auto;
  cursor: grab;
  scrollbar-width: none;
}
.home-projects::-webkit-scrollbar { display: none }
.home-projects.seritsurukleniyor { cursor: grabbing; scroll-snap-type: none }
.home-projects.seritsurukleniyor * { pointer-events: none }
@media (prefers-reduced-motion: reduce) { .home-projects { cursor: default } }

/* ---------- 7. SERIT KONTROLLERI: daire buton yok ----------
   Yuvarlak ok butonlari + tam genislikte cerceveli "kesfet"
   satiri jenerik duruyordu. Serit zaten surukleniyor; kontroller
   ikincil, tipografik ve sessiz. */
.showcase-controls {
  display: flex !important;
  align-items: center;
  gap: 20px;
  margin-top: 18px !important;
  padding: 0 !important;
  border: 0 !important;
}
.showcase-count {
  font-family: var(--font-mono);
  font-size: 10.5px !important;
  letter-spacing: .16em;
  color: rgba(244, 239, 230, .40) !important;
  order: 3;
  margin-left: auto;
}
.showcase-controls > div { display: flex; gap: 2px; order: 1 }

.showcase-controls button {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 7px 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: rgba(244, 239, 230, .5) !important;
  font-size: 16px !important;
  line-height: 1;
  cursor: pointer;
  transition: color .25s var(--easing), transform .25s var(--easing);
}
.showcase-controls button:hover,
.showcase-controls button:focus-visible { color: var(--washi) !important }
.showcase-controls button[data-showcase-prev]:hover { transform: translateX(-3px) }
.showcase-controls button[data-showcase-next]:hover { transform: translateX(3px) }
.showcase-controls button:disabled { opacity: .22; cursor: default; transform: none !important }

/* surukle ipucu — serit yaninda tek satir */
.showcase-controls::after {
  content: "sürükle";
  order: 2;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, .26);
}
@media (hover: none) { .showcase-controls::after { content: "kaydır" } }

/* ---------- 8. "TUM PROJELER": cerceveli satir degil, gercek bag ---------- */
.home-all-projects {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 12px;
  width: auto !important;
  min-height: 0 !important;
  margin-top: 30px !important;
  padding: 0 0 4px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(224, 128, 115, .38) !important;
  font-size: 17px !important;
  letter-spacing: -.02em;
  color: var(--washi) !important;
  transition: border-color .3s var(--easing), gap .3s var(--easing);
}
.home-all-projects span {
  font-size: 0 !important;
  width: 22px; height: 1px;
  background: var(--shu);
  position: relative;
}
.home-all-projects span::after {
  content: "";
  position: absolute; right: 0; top: 50%;
  width: 5px; height: 5px;
  border-top: 1px solid var(--shu);
  border-right: 1px solid var(--shu);
  transform: translateY(-50%) rotate(45deg);
}
.home-all-projects:hover,
.home-all-projects:focus-visible {
  gap: 18px;
  border-bottom-color: var(--shu) !important;
}

/* ---------- 10. SAG UST BAR: kutu yok ----------
   discovery.css oraya cerceve + yuvarlak kose + dolu zemin koymus.
   Istenen sadece okunurluktu: cerceve ve zemin gitti, sadece
   arkasini yumusatan bulaniklik kaldi. */
nav .nav-right {
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  gap: 16px !important;
}
/* okunurluk: yazinin arkasinda dar, yumusak bir bulaniklik */
nav .nav-right::before {
  content: "";
  position: absolute;
  inset: -10px -18px;
  z-index: -1;
  border-radius: 2px;
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  -webkit-mask-image: linear-gradient(to left, #000 60%, transparent 100%);
  mask-image: linear-gradient(to left, #000 60%, transparent 100%);
  pointer-events: none;
}
nav .nav-right { position: relative; isolation: isolate }

/* ---------- 11. MEVSIM TUSU: gorunur olsun ----------
   --muted acik zeminde neredeyse beyazdi. */
.season-mark {
  display: inline-block !important;
  color: rgba(28, 22, 17, .55) !important;
  font-size: 15px !important;
}
.season-mark:hover { color: var(--shu) !important }
body.dark-zone .season-mark { color: rgba(244, 239, 230, .58) !important }
body.dark-zone .season-mark:hover { color: var(--shu) !important }

/* nav sagindaki saat/dil de acik zeminde okunsun */
nav .nav-right .time,
nav .nav-right .lang-switch button,
nav .nav-right .lang-switch span { color: rgba(28, 22, 17, .62) }
nav .nav-right .lang-switch button.active { color: rgba(28, 22, 17, .95) }
body.dark-zone nav .nav-right .time,
body.dark-zone nav .nav-right .lang-switch button,
body.dark-zone nav .nav-right .lang-switch span { color: rgba(244, 239, 230, .60) }
body.dark-zone nav .nav-right .lang-switch button.active { color: #F4EFE6 }

/* ---------- 12. SAGDAKI KANJI RAYI: acik zeminde de okunsun ----------
   opacity .17 idi, kremde kayboluyordu. */
.tategaki span {
  opacity: calc(.34 + var(--beat, 0) * .22) !important;
  color: rgba(28, 22, 17, .9);
}
.tategaki i { opacity: .26 }
.tategaki span.on {
  opacity: 1 !important;
  color: var(--shu) !important;
}
body.dark-zone .tategaki span { color: rgba(244, 239, 230, .92) }
body.dark-zone .tategaki span.on { color: var(--shu) !important }

/* ---------- 13. YETENEK KANJILERI: solgun degil, marka kirmizisi ----------
   discovery.css #e08073 !important yapmis — o footer vurgusu,
   basliklarin rengi degil. */
.cap-kanji { color: var(--shu) !important; opacity: .92 !important }
body.dark-zone .cap-kanji,
.sec-craft .cap-kanji { color: var(--shu) !important }

/* ============================================================
   17) PERSPEKTIF IZGARASI — canli sitedeki (eski) kurulum
   Cizgiler karolarin KENDI kenarlarindan geliyor: 40x40 = 1600
   karo, iki duzlem. Perspektifte dogru daraliyorlar. SVG dokusu
   ya da gradyan zemin KULLANMA — o, dogru daralmiyor.
   ============================================================ */

.hero-pond .work-perspective-bg,
.sec-craft .work-perspective-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  perspective: 2000px;
  overflow: hidden;          /* donmus pg-inner sayfayi uzatmasin */
  clip-path: inset(0);       /* clip-path her motorda tek basina yetmiyor */
}

.hero-pond .pg-inner,
.sec-craft .pg-inner {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 230vw;
  max-width: none;
  aspect-ratio: 1 / 1;
  display: grid;
  grid-template-columns: repeat(40, 1fr);
  grid-template-rows: repeat(40, 1fr);
  transform:
    translate(-50%, -50%)
    rotateX(74deg);
  transform-origin: 50% 50%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;          /* menuye tiklamayi engelliyordu */
  z-index: 1;
}

/* Mobil: 230vw'de karo ~33 px kaliyor, izgara minicik goruluyor */
@media (max-width: 768px) {
  .hero-pond .pg-inner { width: 620vw; top: 80% }
  .sec-craft .pg-inner { width: 620vw; top: 92% }
}

/* Cizgi dokusu: 40x40 hucre, .pg-inner'in uzerinde. Element 3B'de
   dondugu icin doku da onunla donuyor ve perspektifte dogru
   daraliyor. 3200 gercek karo cizdirmek mobilde 3 FPS'e dusuruyordu. */
.hero-pond .pg-inner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%204000%204000'%3E%3Cdefs%3E%3Cpattern%20id='g'%20width='100'%20height='100'%20patternUnits='userSpaceOnUse'%3E%3Cpath%20d='M100%200H0V100'%20fill='none'%20stroke='rgba(14,11,8,0.50)'%20stroke-width='3.6'/%3E%3C/pattern%3E%3C/defs%3E%3Crect%20width='4000'%20height='4000'%20fill='url(%23g)'/%3E%3C/svg%3E") }
.sec-craft .pg-inner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%204000%204000'%3E%3Cdefs%3E%3Cpattern%20id='g'%20width='100'%20height='100'%20patternUnits='userSpaceOnUse'%3E%3Cpath%20d='M100%200H0V100'%20fill='none'%20stroke='rgba(244,239,230,0.26)'%20stroke-width='3.8'/%3E%3C/pattern%3E%3C/defs%3E%3Crect%20width='4000'%20height='4000'%20fill='url(%23g)'/%3E%3C/svg%3E") }

/* Vurgu hucreleri — dolu kareler. Sayilari az, DOM'da gercek. */
.pg-tile {
  min-width: 1px;
  min-height: 1px;
  box-sizing: border-box;
  border: 1px solid transparent;
  background-color: transparent;
  transition: background-color 1s var(--easing), border-color 1s var(--easing);
  --tile-color: rgba(184, 0, 0, .35);
  --tile-border: rgba(184, 0, 0, .6);
}
.sec-craft .pg-tile.filled  { background-color: rgba(244,239,230,.045); border-color: rgba(244,239,230,.16) }
.light-zone .pg-tile.filled { background-color: rgba(0, 0, 0, .055);    border-color: rgba(0, 0, 0, .38) }
.pg-tile { pointer-events: none }
.pg-tile.pg-beat { transition: background-color .12s linear, border-color .18s linear }

/* Zemin ufukta ve kenarlarda erir. Yeteneklerim satirlarinin
   arkasinda cizgi kalmasin diye merkez disina sert kapaniyor. */
.hero-pond .pg-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to bottom,
      var(--washi) 0%, var(--washi) 24%,
      rgba(244,239,230,.58) 38%, rgba(244,239,230,.04) 62%,
      rgba(244,239,230,.42) 92%, var(--washi) 100%),
    radial-gradient(ellipse 72% 58% at 50% 76%, transparent 0%, var(--washi) 100%) !important;
}
.sec-craft .pg-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to bottom,
      var(--sumi) 0%, var(--sumi) 24%,
      rgba(14,13,11,.58) 38%, rgba(14,13,11,.04) 62%,
      rgba(14,13,11,.42) 92%, var(--sumi) 100%),
    radial-gradient(ellipse 72% 58% at 50% 76%, transparent 0%, var(--sumi) 100%) !important;
}

/* ============================================================
   18) ACILIS — sifir bekleme
   Sayfa acildiginda her sey yerinde. Tek hareket: isim harf harf
   disaridan suzulerek geliyor. Baska hicbir oge gecikmiyor.
   ============================================================ */

/* Astra'nin ve eski kodun kademeli girislerini kapat */
.hero-portrait, .hero-role, .hero-role .accent,
.pond-nav, .pond-nav a, .pn-head,
.name-reflect, .hero-foot, .season-mark, .tategaki {
  animation: none !important;
  opacity: 1;
  transform: none;
}
.name-reflect { opacity: .07; transform: scaleY(-1) !important }
.pond-nav a   { transform: translateX(0) !important }

/* Harf hareketi: tune.js --g* degiskenlerini suruyor. Imlec
   dalgasinin --chy/--chs degerleriyle carpisMIyor. JS calismazsa
   varsayilanlar notr — harfler oldugu yerde durur. */
.hero-name-inline { animation: none !important; opacity: 1 !important; transform: none !important }
.hero-name-inline .l1, .hero-name-inline .l2 { overflow: visible }
.hero-name-inline .l-inner { transform: none !important; transition: none !important }
.hero-name-inline .ch {
  display: inline-block;
  transform:
    translate3d(var(--gx, 0px), calc(var(--gy, 0px) + var(--chy, 0px)), 0)
    rotate(var(--gr, 0deg))
    scale(calc(var(--gs, 1) * var(--chs, 1))) !important;
  opacity: var(--go, 1);
  filter: blur(var(--gb, 0px));
}
.hero-name-inline .ch.ucuyor { will-change: transform, opacity, filter }

/* ============================================================
   19) ILETISIM KANALLARI — cizilmis kutu + kirmizi muhur
   Buton gibi durmasin ama tiklanabildigi anlasilsin: elle
   cizilmis izlenimi veren cift konturlu bir cerceve (ikinci
   kontur hafif egik) ve sagda hanko — kirmizi muhur.
   ============================================================ */

.foot-kanal {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 100%;
  max-width: 400px !important;
  margin: 24px 0 0 !important;
  border: 0 !important;
}

.foot-kanal .kanal {
  position: relative;
  display: grid !important;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 0 14px !important;
  padding: 13px 14px 13px 15px !important;
  border: 1px solid rgba(244, 239, 230, .30) !important;
  border-radius: 2px !important;
  background: none !important;
  text-decoration: none;
  isolation: isolate;
  transition: border-color .35s var(--easing), transform .35s var(--easing);
}

/* ikinci kalem gecisi — kutu iki kez cizilmis gibi */
.foot-kanal .kanal::before {
  content: '';
  position: absolute;
  inset: -4px -3px -2px -5px;
  z-index: -1;
  border: 1px solid rgba(244, 239, 230, .24);
  border-radius: 2px;
  transform: rotate(-.7deg);
  transition: transform .45s var(--easing), border-color .45s var(--easing);
}
/* ustune gelince murekkep soldan doluyor */
.foot-kanal .kanal::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--shu);
  opacity: 0;
  transform: scaleX(.2);
  transform-origin: left;
  transition: opacity .4s var(--easing), transform .5s cubic-bezier(.72,0,.16,1);
}
.foot-kanal .kanal:hover,
.foot-kanal .kanal:focus-visible { border-color: var(--shu) !important; transform: translateX(3px) }
.foot-kanal .kanal:hover::before,
.foot-kanal .kanal:focus-visible::before { transform: rotate(.55deg); border-color: rgba(184, 0, 0, .45) }
.foot-kanal .kanal:hover::after,
.foot-kanal .kanal:focus-visible::after { opacity: .12; transform: scaleX(1) }

.foot-kanal .kanal svg { width: 20px !important; height: 20px !important; flex: none }
.kanal--wa   svg { color: #6FBF8B }
.kanal--mail svg { color: #D9B57E }

.foot-kanal .kanal > span:nth-of-type(1) { min-width: 0; display: block }

.foot-kanal .kanal b {
  display: block;
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px !important;
  letter-spacing: -.025em;
  line-height: 1.15;
  color: var(--washi);
}
.foot-kanal .kanal i {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px !important;
  letter-spacing: .05em;
  line-height: 1.45;
  color: rgba(244, 239, 230, .5);
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere;
}

/* HANKO — kirmizi muhur. Ok degil, mühür: basilacagi belli olsun. */
.foot-kanal .kanal .kanal-ok {
  display: grid !important;
  place-items: center;
  width: 32px !important;
  height: 32px !important;
  flex: none;
  font-size: 0 !important;
  border: 1px solid var(--shu) !important;
  border-radius: 2px !important;
  opacity: .78 !important;
  transform: rotate(-4deg);
  transition: transform .4s cubic-bezier(.2,1.6,.35,1), opacity .3s ease, background-color .3s ease;
}
.foot-kanal .kanal .kanal-ok::after {
  content: '押';
  font-family: var(--font);
  font-size: 13px;
  line-height: 1;
  color: var(--shu);
  transition: color .3s ease;
}
.foot-kanal .kanal--mail .kanal-ok::after { content: '文' }
.foot-kanal .kanal:hover .kanal-ok,
.foot-kanal .kanal:focus-visible .kanal-ok {
  transform: rotate(3deg) scale(1.06);
  opacity: 1 !important;
  background: var(--shu);
}
.foot-kanal .kanal:hover .kanal-ok::after,
.foot-kanal .kanal:focus-visible .kanal-ok::after { color: var(--washi) }

@media (max-width: 560px) {
  .foot-kanal { max-width: none !important; margin-top: 20px !important; gap: 14px !important }
  .foot-kanal .kanal { padding: 11px 12px 11px 13px !important; gap: 0 12px !important }
  .foot-kanal .kanal b { font-size: 17px !important }
  .foot-kanal .kanal i { font-size: 9.5px !important }
  .foot-kanal .kanal .kanal-ok { width: 28px !important; height: 28px !important }
}

/* ============================================================
   21) ISLER SERIDI — dock
   Kartlar tek tek proje sayfasina gitmiyor: serit tumuyle
   isler.html'e bir bag. Uzerine gelince alan hafifce kuculup
   kararir ve "TUM ISLERIM" yazisi belirir. Serit kendi basina,
   sonsuz doner (kartlar klonlanip bas basa eklenir).
   ============================================================ */

.serit-dock { position: relative; z-index: 2 }

.serit-dock #projectShowcase {
  scroll-snap-type: none !important;
  scrollbar-width: none;
  transform-origin: 50% 50%;
  transition: transform .5s var(--easing), filter .5s var(--easing);
  cursor: none;
}
.serit-dock #projectShowcase::-webkit-scrollbar { display: none }

.serit-dock.uzerinde #projectShowcase {
  transform: scale(.955);
  filter: brightness(.34) saturate(.55);
}

/* uzerine gelince inen perde — beyaz kapaklar da kararsin */
.serit-tum::before {
  content: '';
  position: absolute;
  inset: -8px -14px;
  background: radial-gradient(125% 135% at 50% 50%,
              rgba(10, 9, 8, .66) 52%, rgba(10, 9, 8, 0) 100%);
  opacity: 0;
  transition: opacity .45s var(--easing);
  pointer-events: none;
}
.serit-dock.uzerinde .serit-tum::before { opacity: 1 }

/* tum alani kaplayan bag — surukleme de bunun uzerinden */
.serit-tum {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: none;
  -webkit-tap-highlight-color: transparent;
}
.serit-tum > span { position: relative; z-index: 1; text-align: center }
.serit-tum > span > span {
  display: block;
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(26px, 4.4vw, 54px);
  letter-spacing: -.03em;
  color: var(--washi);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .42s var(--easing), transform .42s var(--easing);
  pointer-events: none;
}
.serit-tum i {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, .58);
  opacity: 0;
  transition: opacity .42s var(--easing) .06s;
}
/* baslik altinda ince vermilyon cizgi */
.serit-tum > span > span::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  margin: 12px auto 0;
  background: var(--shu);
  transition: width .55s var(--easing) .08s;
}
.serit-dock.uzerinde .serit-tum > span > span::after { width: 128px }
.serit-dock.uzerinde .serit-tum span { opacity: 1; transform: translateY(0) }
.serit-dock.uzerinde .serit-tum i    { opacity: 1 }

/* klonlar ekran okuyucuya gorunmesin, alt baglantilar tiklanmasin */
.serit-dock .project-link { pointer-events: none }

/* sayac ve ok butonlari: serit artik sonsuz, sayac anlamsiz */
.showcase-controls { display: none !important }

/* ============================================================
   22) YETENEKLER IZGARASI — hero ile ayni olcek
   sec-craft cok uzun; top:100% olunca duzlem devasa buyuyup
   birkac kare olarak goruluyordu. Bolumun altina 100vh'lik bir
   kutu veriyoruz: geometri hero ile birebir ayni oluyor.
   ============================================================ */
/* Koyu bolum cok uzun; kutu bolumun altina sabitlenince ufuk cogu
   kaydirma konumunda ekran disinda kaliyordu ve izgara dev kareler
   olarak goruluyordu. Ekrana sabitliyoruz: hero ile birebir ayni
   geometri, hangi noktada olursaniz olun. dark-zone disinda gizli. */
.sec-craft .work-perspective-bg {
  position: fixed !important;
  inset: 0 !important;
  height: 100vh !important;
  z-index: 0;
  opacity: 0;
  transition: opacity .5s var(--easing);
}
body.dark-zone .sec-craft .work-perspective-bg { opacity: 1 }
.sec-craft .craft-inner { position: relative; z-index: 4 }
/* .sec-craft::after 340px'lik bir perde; z-index 2. Icerik onun
   altinda kalinca yetenek satirlari asagi dogru soluyordu. */

/* ============================================================
   19) ILETISIM KANALLARI — cizilmis kutu + kirmizi muhur
   Buton gibi durmasin ama tiklanabildigi anlasilsin: elle
   cizilmis izlenimi veren cift konturlu bir cerceve (ikinci
   kontur hafif egik) ve sagda hanko — kirmizi muhur.
   ============================================================ */

.foot-kanal {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 100%;
  max-width: 400px !important;
  margin: 24px 0 0 !important;
  border: 0 !important;
}

.foot-kanal .kanal {
  position: relative;
  display: grid !important;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 0 14px !important;
  padding: 13px 14px 13px 15px !important;
  border: 1px solid rgba(244, 239, 230, .30) !important;
  border-radius: 2px !important;
  background: none !important;
  text-decoration: none;
  isolation: isolate;
  transition: border-color .35s var(--easing), transform .35s var(--easing);
}

/* ikinci kalem gecisi — kutu iki kez cizilmis gibi */
.foot-kanal .kanal::before {
  content: '';
  position: absolute;
  inset: -4px -3px -2px -5px;
  z-index: -1;
  border: 1px solid rgba(244, 239, 230, .24);
  border-radius: 2px;
  transform: rotate(-.7deg);
  transition: transform .45s var(--easing), border-color .45s var(--easing);
}
/* ustune gelince murekkep soldan doluyor */
.foot-kanal .kanal::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--shu);
  opacity: 0;
  transform: scaleX(.2);
  transform-origin: left;
  transition: opacity .4s var(--easing), transform .5s cubic-bezier(.72,0,.16,1);
}
.foot-kanal .kanal:hover,
.foot-kanal .kanal:focus-visible { border-color: var(--shu) !important; transform: translateX(3px) }
.foot-kanal .kanal:hover::before,
.foot-kanal .kanal:focus-visible::before { transform: rotate(.55deg); border-color: rgba(184, 0, 0, .45) }
.foot-kanal .kanal:hover::after,
.foot-kanal .kanal:focus-visible::after { opacity: .12; transform: scaleX(1) }

.foot-kanal .kanal svg { width: 20px !important; height: 20px !important; flex: none }
.kanal--wa   svg { color: #6FBF8B }
.kanal--mail svg { color: #D9B57E }

.foot-kanal .kanal > span:nth-of-type(1) { min-width: 0; display: block }

.foot-kanal .kanal b {
  display: block;
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px !important;
  letter-spacing: -.025em;
  line-height: 1.15;
  color: var(--washi);
}
.foot-kanal .kanal i {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px !important;
  letter-spacing: .05em;
  line-height: 1.45;
  color: rgba(244, 239, 230, .5);
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere;
}

/* HANKO — kirmizi muhur. Ok degil, mühür: basilacagi belli olsun. */
.foot-kanal .kanal .kanal-ok {
  display: grid !important;
  place-items: center;
  width: 32px !important;
  height: 32px !important;
  flex: none;
  font-size: 0 !important;
  border: 1px solid var(--shu) !important;
  border-radius: 2px !important;
  opacity: .78 !important;
  transform: rotate(-4deg);
  transition: transform .4s cubic-bezier(.2,1.6,.35,1), opacity .3s ease, background-color .3s ease;
}
.foot-kanal .kanal .kanal-ok::after {
  content: '押';
  font-family: var(--font);
  font-size: 13px;
  line-height: 1;
  color: var(--shu);
  transition: color .3s ease;
}
.foot-kanal .kanal--mail .kanal-ok::after { content: '文' }
.foot-kanal .kanal:hover .kanal-ok,
.foot-kanal .kanal:focus-visible .kanal-ok {
  transform: rotate(3deg) scale(1.06);
  opacity: 1 !important;
  background: var(--shu);
}
.foot-kanal .kanal:hover .kanal-ok::after,
.foot-kanal .kanal:focus-visible .kanal-ok::after { color: var(--washi) }

@media (max-width: 560px) {
  .foot-kanal { max-width: none !important; margin-top: 20px !important; gap: 14px !important }
  .foot-kanal .kanal { padding: 11px 12px 11px 13px !important; gap: 0 12px !important }
  .foot-kanal .kanal b { font-size: 17px !important }
  .foot-kanal .kanal i { font-size: 9.5px !important }
  .foot-kanal .kanal .kanal-ok { width: 28px !important; height: 28px !important }
}

/* ============================================================
   21) ISLER SERIDI — dock
   Kartlar tek tek proje sayfasina gitmiyor: serit tumuyle
   isler.html'e bir bag. Uzerine gelince alan hafifce kuculup
   kararir ve "TUM ISLERIM" yazisi belirir. Serit kendi basina,
   sonsuz doner (kartlar klonlanip bas basa eklenir).
   ============================================================ */

.serit-dock { position: relative; z-index: 2 }

.serit-dock #projectShowcase {
  scroll-snap-type: none !important;
  scrollbar-width: none;
  transform-origin: 50% 50%;
  transition: transform .5s var(--easing), filter .5s var(--easing);
  cursor: none;
}
.serit-dock #projectShowcase::-webkit-scrollbar { display: none }

.serit-dock.uzerinde #projectShowcase {
  transform: scale(.955);
  filter: brightness(.34) saturate(.55);
}

/* uzerine gelince inen perde — beyaz kapaklar da kararsin */
.serit-tum::before {
  content: '';
  position: absolute;
  inset: -8px -14px;
  background: radial-gradient(125% 135% at 50% 50%,
              rgba(10, 9, 8, .66) 52%, rgba(10, 9, 8, 0) 100%);
  opacity: 0;
  transition: opacity .45s var(--easing);
  pointer-events: none;
}
.serit-dock.uzerinde .serit-tum::before { opacity: 1 }

/* tum alani kaplayan bag — surukleme de bunun uzerinden */
.serit-tum {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: none;
  -webkit-tap-highlight-color: transparent;
}
.serit-tum > span { position: relative; z-index: 1; text-align: center }
.serit-tum > span > span {
  display: block;
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(26px, 4.4vw, 54px);
  letter-spacing: -.03em;
  color: var(--washi);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .42s var(--easing), transform .42s var(--easing);
  pointer-events: none;
}
.serit-tum i {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, .58);
  opacity: 0;
  transition: opacity .42s var(--easing) .06s;
}
/* baslik altinda ince vermilyon cizgi */
.serit-tum > span > span::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  margin: 12px auto 0;
  background: var(--shu);
  transition: width .55s var(--easing) .08s;
}
.serit-dock.uzerinde .serit-tum > span > span::after { width: 128px }
.serit-dock.uzerinde .serit-tum span { opacity: 1; transform: translateY(0) }
.serit-dock.uzerinde .serit-tum i    { opacity: 1 }

/* klonlar ekran okuyucuya gorunmesin, alt baglantilar tiklanmasin */
.serit-dock .project-link { pointer-events: none }

/* sayac ve ok butonlari: serit artik sonsuz, sayac anlamsiz */
.showcase-controls { display: none !important }

/* ============================================================
   22) YETENEKLER IZGARASI — hero ile ayni olcek
   sec-craft cok uzun; top:100% olunca duzlem devasa buyuyup
   birkac kare olarak goruluyordu. Bolumun altina 100vh'lik bir
   kutu veriyoruz: geometri hero ile birebir ayni oluyor.
   ============================================================ */
/* Koyu bolum cok uzun; kutu bolumun altina sabitlenince ufuk cogu
   kaydirma konumunda ekran disinda kaliyordu ve izgara dev kareler
   olarak goruluyordu. Ekrana sabitliyoruz: hero ile birebir ayni
   geometri, hangi noktada olursaniz olun. dark-zone disinda gizli. */
.sec-craft .work-perspective-bg {
  position: fixed !important;
  inset: 0 !important;
  height: 100vh !important;
  z-index: 0;
  opacity: 0;
  transition: opacity .5s var(--easing);
}
body.dark-zone .sec-craft .work-perspective-bg { opacity: 1 }
.sec-craft .craft-inner { position: relative; z-index: 4 }
/* .sec-craft::after 340px'lik bir perde; z-index 2. Icerik onun
   altinda kalinca yetenek satirlari asagi dogru soluyordu. */

/* Izgara ekrana sabit oldugu icin bolumden tasip footer'in uzerine
   biniyordu: footer'i uste aliyoruz. */
footer#contact { position: relative; z-index: 26 }

/* ============================================================
   23) PORTRE — eski olcusune donuyor
   Astra 100 px sabit yapmis; canli sitede ekranla olceklenen,
   hafif egik bir washi parcasi.
   ============================================================ */
body:has(.hero-pond) .hero-portrait,
.hero-portrait {
  width: clamp(120px, min(12.5vw, 19vh), 196px) !important;
  aspect-ratio: 3 / 4;
  margin: 0 auto clamp(14px, 2.4vh, 26px) !important;
  border-radius: 3px !important;
  transform: rotate(-3.5deg) !important;
  box-shadow: 0 26px 60px -26px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.hero-portrait .ph-img,
.hero-portrait .ph-mask { border-radius: 3px !important }
@media (max-width: 760px) {
  body:has(.hero-pond) .hero-portrait,
  .hero-portrait { width: clamp(112px, 30vw, 150px) !important }
}

/* ============================================================
   24) MENU GIRISI — harflerle birlikte, soldan
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .pond-nav a {
    animation: menuGir .55s cubic-bezier(.2, 1.4, .35, 1) both !important;
    animation-delay: calc(.10s + var(--i, 0) * .07s) !important;
  }
  .pn-head { animation: menuSoluk .5s ease .06s both !important }
}
@keyframes menuGir  { from { opacity: 0; transform: translateX(-38px) } to { opacity: 1; transform: none } }
@keyframes menuSoluk{ from { opacity: 0 } to { opacity: 1 } }

/* ============================================================
   25) SERIT KONTROLU — cizilmis ray
   Kartlarin uzerinde surukleme yok; tek kontrol noktasi bu ince
   murekkep cizgisi. Uzerindeki firca imi konumu gosterir,
   surukleyince serit onu takip eder. Tikler proje sayisi kadar.
   ============================================================ */
.serit-ray {
  position: relative;
  width: min(420px, 62%);
  height: 26px;
  margin: 22px 0 0;
  cursor: none;
  touch-action: none;
  z-index: 5;
}
.serit-ray .ray-cizgi {
  position: absolute;
  left: 0; right: 0; top: 12px;
  height: 1px;
  background: rgba(244, 239, 230, .22);
}
.serit-ray .ray-cizgi i {
  position: absolute;
  top: -4px;
  width: 1px; height: 9px;
  background: rgba(244, 239, 230, .28);
}
/* firca imi — dogru degil, elle cekilmis kisa bir vurus */
.serit-ray .ray-im {
  position: absolute;
  top: 7px;
  width: 34px; height: 11px;
  margin-left: -17px;
  background: var(--shu);
  transform: rotate(-1.5deg);
  transition: width .3s var(--easing), background-color .3s var(--easing);
  clip-path: polygon(0 42%, 5% 16%, 14% 62%, 25% 22%, 38% 66%, 52% 26%, 66% 62%,
                     80% 28%, 92% 58%, 100% 40%, 100% 70%, 90% 84%, 76% 56%,
                     62% 88%, 48% 52%, 34% 86%, 22% 50%, 10% 82%, 0 66%);
}
.serit-ray:hover .ray-im { width: 44px; margin-left: -22px }

/* rayin sagindaki not */
.serit-ray::after {
  content: '←  sürükle  →';
  position: absolute;
  right: -104px; top: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, .32);
  white-space: nowrap;
  pointer-events: none;
}
@media (max-width: 700px) {
  .serit-ray { width: 100%; margin-top: 18px }
  .serit-ray::after { right: 0; top: -14px }
}

/* Mobilde sol ustteki imza "Islerim" basligina biniyordu */
@media (max-width: 760px) {
  .sec-craft .craft-head { padding-top: 30px }
  body.scrolled .sec-craft .craft-head { padding-top: 38px }
}
