/* =========================================================
   CUSTOM SOCIO — Portfolyo sayfaları (/portfolyo, /portfolyo/{iş})
   style.css'in üzerine yüklenir.
   ========================================================= */
.page { overflow-x: hidden; }
.nav__links a.is-active { background: var(--paper); color: var(--ink); }
.page .nav { background: linear-gradient(rgba(11, 11, 15, .8), transparent); }
.page .nav.is-solid { background: rgba(11, 11, 15, .72); }

.pf-crumbs { color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 4vw, 48px); }
.pf-crumbs a { color: var(--paper); transition: color .3s; }
.pf-crumbs a:hover { color: var(--acid); }
.pf-crumbs span { opacity: .5; }

/* ---------- Liste: başlık ---------- */
.pf-hero { padding-top: clamp(130px, 17vw, 220px); padding-bottom: clamp(30px, 4vw, 50px); }
.pf-hero__title {
  font-family: var(--f-display); font-weight: 900; letter-spacing: -.055em; line-height: .86;
  font-size: clamp(40px, 15.5vw, 260px); overflow-wrap: anywhere;
}
.pf-hero__title .line { display: block; overflow: hidden; padding-bottom: .05em; }
.pf-hero__title .line > span { display: inline-block; }
.pf-hero__title sup { font-size: clamp(14px, 1.6vw, 22px); letter-spacing: .04em; vertical-align: top; margin-left: .4em; color: var(--acid); line-height: 2.4; }
.pf-hero__title .outline { color: transparent; -webkit-text-stroke: 2px var(--paper); }
.pf-hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: clamp(20px, 3vw, 40px); }
.pf-hero__intro { max-width: 520px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(242, 239, 232, .78); }
.pf-hero__rec { display: flex; align-items: center; gap: 8px; color: var(--muted); flex: none; }
@media (max-width: 700px) {
  .pf-hero__title { font-size: 13.4vw; }
  .pf-hero__title sup { font-size: 12px; line-height: 1.6; margin-left: .25em; }
  .pf-hero__rec { display: none; }
}

/* ---------- Filtre ---------- */
.pf-filter {
  position: sticky; top: 76px; z-index: 20; display: flex; gap: 8px; flex-wrap: wrap;
  padding-top: 14px; padding-bottom: 14px; margin-bottom: clamp(20px, 3vw, 40px);
}
.pf-filter a {
  padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); background: rgba(11, 11, 15, .6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-weight: 700; font-size: 14px; transition: background .3s, color .3s, border-color .3s;
}
.pf-filter a sup { font-family: var(--f-mono); font-size: 10px; opacity: .6; margin-left: 2px; }
.pf-filter a:hover { border-color: var(--paper); }
.pf-filter a.is-active { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (max-width: 700px) {
  .pf-filter { top: 64px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); }
  .pf-filter::-webkit-scrollbar { display: none; }
  .pf-filter a { white-space: nowrap; }
}

/* ---------- Liste: ızgara (7/5 · 5/7 kurgusu) ---------- */
.pf-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.4vw, 36px); row-gap: clamp(40px, 6vw, 90px); padding-bottom: clamp(80px, 10vw, 140px); }
.pf-item { grid-column: span 6; display: block; }
.pf-item.s-7 { grid-column: span 7; }
.pf-item.s-5 { grid-column: span 5; }
.pf-item.s-5 .pf-item__media { aspect-ratio: 4 / 5; }
.pf-item.s-5.is-low { margin-top: clamp(40px, 8vw, 140px); }
.pf-item.is-hidden { display: none; }
.pf-item__media {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 6px; background: var(--c);
  clip-path: inset(0 round 6px); transition: clip-path .8s var(--ease);
}
.pf-item__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.1s var(--ease), filter .6s; }
.pf-item:hover .pf-item__media { clip-path: inset(14px round 14px); }
.pf-item:hover .pf-item__media img { transform: scale(1); }
.pf-item__ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: clamp(80px, 12vw, 200px); color: rgba(255, 255, 255, .9); }
.pf-item__no { position: absolute; top: 16px; left: 16px; padding: 5px 9px; border-radius: 6px; background: rgba(11, 11, 15, .6); color: var(--paper); backdrop-filter: blur(6px); }
.pf-item__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-top: 16px; }
.pf-item__meta h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(20px, 2.1vw, 32px); letter-spacing: -.03em; line-height: 1.1; }
.pf-item__meta h2::after { content: ' ↗'; display: inline-block; color: var(--c); filter: brightness(1.6); opacity: 0; transform: translate(-8px, 8px); transition: .5s var(--ease); }
.pf-item:hover .pf-item__meta h2::after { opacity: 1; transform: none; }
.pf-item__meta p { color: var(--muted); text-align: right; flex: none; max-width: 45%; }
.pf-empty { grid-column: 1 / -1; font-size: 20px; color: var(--muted); padding: 60px 0; }
.pf-empty a { color: var(--acid); }
@media (max-width: 800px) {
  .pf-item, .pf-item.s-7, .pf-item.s-5 { grid-column: 1 / -1; }
  .pf-item.s-5.is-low { margin-top: 0; }
  .pf-item.s-5 .pf-item__media { aspect-ratio: 16 / 12; }
  .pf-item__meta { flex-direction: column; gap: 4px; }
  .pf-item__meta p { text-align: left; max-width: none; }
}

/* ---------- Detay ---------- */
.work__head { padding-top: clamp(130px, 15vw, 200px); padding-bottom: clamp(30px, 5vw, 60px); }
.work__title {
  font-family: var(--f-display); font-weight: 900; letter-spacing: -.05em; line-height: .92;
  font-size: clamp(44px, 9vw, 150px); max-width: 14ch; overflow-wrap: anywhere;
}
.work__summary { margin-top: clamp(18px, 2.4vw, 30px); max-width: 640px; font-size: clamp(17px, 1.5vw, 21px); color: rgba(242, 239, 232, .8); }

.work__cover { position: relative; margin: 0 var(--pad); height: min(86vh, 56vw); min-height: 320px; overflow: hidden; border-radius: 8px; background: var(--c); }
.work__cover img, .work__cover video { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.work__cover-ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; font-family: var(--f-display); font-weight: 900; font-size: clamp(40px, 8vw, 130px); letter-spacing: -.05em; color: rgba(255,255,255,.92); }
.work__slate { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

.work__body { display: grid; grid-template-columns: minmax(220px, 4fr) 8fr; gap: clamp(30px, 6vw, 110px); padding-top: clamp(60px, 8vw, 120px); padding-bottom: clamp(60px, 8vw, 120px); }
.work__meta { align-self: start; position: sticky; top: 110px; display: grid; gap: 22px; }
.work__meta div { border-top: 1px solid var(--line); padding-top: 12px; }
.work__meta small { display: block; color: var(--muted); margin-bottom: 6px; }
.work__meta b { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.work__meta b img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #fff; }
.work__meta ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.work__meta li { padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.work__visit { justify-self: start; display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 99px; background: var(--c); color: #fff; font-family: var(--f-display); font-weight: 600; font-size: 15px; transition: background .3s, color .3s; }
.work__visit:hover { background: var(--paper); color: var(--ink); }
.work__text { font-size: clamp(18px, 1.55vw, 23px); line-height: 1.55; color: rgba(242, 239, 232, .86); max-width: 820px; }
.work__text > * + * { margin-top: 1.1em; }
.work__text h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 3vw, 44px); line-height: 1.05; letter-spacing: -.03em; color: var(--paper); margin-top: 1.6em; }
.work__text h2:first-child { margin-top: 0; }
.work__text ul { list-style: none; display: grid; gap: .45em; }
.work__text li { position: relative; padding-left: 1.4em; }
.work__text li::before { content: ''; position: absolute; left: 0; top: .5em; width: .6em; height: .6em; background: currentColor; -webkit-mask: url(../../img/star.svg) center / contain no-repeat; mask: url(../../img/star.svg) center / contain no-repeat; color: var(--acid); }
.work__text strong { color: var(--paper); }
@media (max-width: 860px) {
  .work__body { grid-template-columns: 1fr; }
  .work__meta { position: static; grid-template-columns: repeat(2, 1fr); }
  .work__meta div:has(ul), .work__visit { grid-column: 1 / -1; }
  .work__cover { height: 62vh; }
}

.work__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.8vw, 26px); padding-bottom: clamp(70px, 9vw, 130px); }
.work__shot { position: relative; overflow: hidden; border-radius: 6px; background: var(--ink-2); cursor: zoom-in; }
.work__shot.is-wide { grid-column: 1 / -1; }
.work__shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 1s var(--ease); }
.work__shot.is-wide img { aspect-ratio: 16 / 8; }
.work__shot:hover img { transform: scale(1.03); }
.work__shot figcaption { position: absolute; left: 14px; bottom: 12px; padding: 6px 10px; border-radius: 6px; background: rgba(11, 11, 15, .7); backdrop-filter: blur(6px); }
@media (max-width: 700px) {
  .work__gallery { grid-template-columns: 1fr; }
  .work__shot.is-wide img { aspect-ratio: 4 / 3; }
}

/* ---------- Sıradaki iş ---------- */
.work-next { position: relative; display: block; overflow: hidden; background: var(--c); color: #fff; padding: clamp(70px, 10vw, 150px) 0; isolation: isolate; }
.work-next::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,11,15,.75), rgba(11,11,15,.15)); }
.work-next .label { color: rgba(255,255,255,.75); }
.work-next__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(40px, 8vw, 130px); letter-spacing: -.05em; line-height: .95; max-width: 14ch; transition: transform .8s var(--ease); }
.work-next:hover .work-next__title { transform: translateX(clamp(10px, 2vw, 30px)); }
.work-next__meta { margin-top: 18px; opacity: .85; }
.work-next__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .6; transform: scale(1.08); transition: transform 1.2s var(--ease), opacity .6s; }
.work-next:hover .work-next__img { transform: scale(1); opacity: .8; }
.work-back { padding-top: 26px; padding-bottom: 26px; }
.work-back a { color: var(--muted); transition: color .3s; }
.work-back a:hover { color: var(--paper); }

/* ---------- Görsel büyütme ---------- */
.zoom { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; background: rgba(5, 5, 8, .95); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.zoom.is-open { opacity: 1; visibility: visible; }
.zoom img { max-width: calc(100vw - 180px); max-height: calc(100vh - 120px); object-fit: contain; border-radius: 6px; transform: scale(.94); transition: transform .5s var(--ease); }
.zoom.is-open img { transform: none; }
.zoom__close { position: absolute; top: 22px; right: 26px; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; }
.zoom__nav { position: absolute; top: 50%; width: 60px; height: 60px; margin-top: -30px; border-radius: 50%; border: 1px solid var(--line); font-size: 22px; transition: background .3s; }
.zoom__nav--prev { left: 24px; } .zoom__nav--next { right: 24px; }
.zoom__nav:hover, .zoom__close:hover { background: var(--blue); border-color: var(--blue); }
.zoom__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: var(--muted); }
@media (max-width: 700px) {
  .zoom img { max-width: 100vw; max-height: 78vh; border-radius: 0; }
  .zoom__nav { top: auto; bottom: 20px; margin-top: 0; }
}

/* ---------- Alt çağrı ---------- */
.pf-cta { background: var(--blue); color: #fff; padding: clamp(90px, 12vw, 170px) 0; }
.pf-cta .label { color: rgba(255, 255, 255, .7); }
.pf-cta__link { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(46px, 10vw, 170px); line-height: .92; letter-spacing: -.05em; }
.pf-cta__link > span { display: inline-block; transition: transform .7s var(--ease); }
.pf-cta__link:hover > span:first-child { transform: translateX(-.08em); }
.pf-cta__link:hover > span:last-child { transform: translateX(.08em); }
.pf-cta__star .star--xl { color: var(--acid); }
.pf-cta__row { display: flex; gap: 30px; flex-wrap: wrap; margin-top: clamp(30px, 4vw, 50px); }
.pf-cta__row a { border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 4px; }

/* Animasyon başlangıç durumu: JS yoksa her şey görünür kalır */
.js-anim [data-reveal] { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .js-anim [data-reveal] { opacity: 1; } }

/* ---------- Taslak önizleme şeridi ---------- */
.draft-bar { position: fixed; left: 50%; bottom: 16px; z-index: 960; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; background: var(--acid); color: var(--ink); box-shadow: 0 14px 40px -16px rgba(0,0,0,.6); text-transform: none; letter-spacing: 0; font-size: 13px; }
.draft-bar a { text-decoration: underline; font-weight: 600; margin-left: 6px; }

/* ---------- Sayfa (KVKK, gizlilik vb.) ---------- */
.doc { max-width: 980px; padding-top: clamp(130px, 15vw, 200px); padding-bottom: clamp(80px, 10vw, 140px); }
.doc__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(36px, 6vw, 84px); line-height: .98; letter-spacing: -.045em; }
.doc__summary { margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(242,239,232,.78); max-width: 680px; }
.doc__date { margin: 26px 0 clamp(36px, 5vw, 60px); color: var(--muted); padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.doc__body { font-size: 17px; max-width: none; }
.doc__body h2 { font-size: clamp(22px, 2.4vw, 30px); }
.doc__body a { color: var(--acid); text-decoration: underline; text-underline-offset: 3px; }
.work__text a { color: var(--acid); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 404 ---------- */
.nf { min-height: 86vh; display: flex; flex-direction: column; justify-content: center; padding-top: 140px; padding-bottom: 80px; }
.nf__code { display: flex; align-items: center; gap: 10px; color: var(--muted); margin-bottom: 24px; }
.nf__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(44px, 10vw, 170px); line-height: .98; letter-spacing: -.05em; }
.nf__title span { display: block; }
.nf__title .outline { color: transparent; -webkit-text-stroke: 2px var(--paper); }
.nf__text { margin-top: 40px; max-width: 460px; font-size: 18px; color: rgba(242,239,232,.78); }
.nf__links { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.nf__link { border-bottom: 1px solid var(--line); padding-bottom: 3px; }

/* ---------- Hizmet listesi (/hizmetler) ---------- */
.sv-index { padding-bottom: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); }
.sv-row { position: relative; display: grid; grid-template-columns: 90px 1.2fr 1fr 40px; gap: 24px; align-items: center; padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); isolation: isolate; }
.sv-row::before { content: ''; position: absolute; inset: 0 calc(-1 * var(--pad)); z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.sv-row:hover::before { transform: none; }
.sv-row__no { color: var(--muted); }
.sv-row:hover .sv-row__no { color: rgba(255,255,255,.75); }
.sv-row__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, 3.4vw, 50px); line-height: 1.02; letter-spacing: -.035em; transition: transform .6s var(--ease); }
.sv-row:hover .sv-row__name { transform: translateX(16px); }
.sv-row__desc { color: rgba(242,239,232,.72); font-size: 15px; }
.sv-row:hover .sv-row__desc { color: #fff; }
.sv-row__go { font-size: 26px; justify-self: end; transition: transform .5s var(--ease); }
.sv-row:hover .sv-row__go { transform: rotate(45deg); }
@media (max-width: 800px) {
  .sv-row { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .sv-row__no { grid-column: 1 / -1; }
  .sv-row__desc { grid-column: 1 / -1; }
  .sv-row__go { grid-row: 2; grid-column: 2; }
}

/* ---------- Hizmet detayı ---------- */
.sv-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr); gap: clamp(30px, 6vw, 90px); align-items: center; padding-top: clamp(130px, 15vw, 190px); padding-bottom: clamp(60px, 8vw, 110px); }
.sv-hero__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(40px, 7vw, 116px); line-height: .94; letter-spacing: -.05em; overflow-wrap: anywhere; }
.sv-hero__lead { margin-top: clamp(18px, 2.4vw, 28px); max-width: 600px; font-size: clamp(17px, 1.5vw, 21px); color: rgba(242,239,232,.82); }
.sv-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.sv-chips li { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.sv-hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.sv-link { border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: border-color .3s, color .3s; }
.sv-link:hover { color: var(--acid); border-color: var(--acid); }
.sv-hero__media { position: relative; aspect-ratio: 9 / 16; max-height: 76vh; justify-self: end; width: 100%; max-width: 380px; border-radius: 26px; overflow: hidden; border: 7px solid #1d1d25; background: #000; transform: rotate(2.5deg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.sv-hero__media video, .sv-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.sv-hero__media figcaption { position: absolute; left: 14px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(11,11,15,.6); backdrop-filter: blur(6px); }
@media (max-width: 860px) {
  .sv-hero { grid-template-columns: 1fr; }
  .sv-hero__media { justify-self: start; max-width: 260px; transform: none; }
}
.sv-body { padding-bottom: clamp(60px, 8vw, 110px); }
.sv-body .work__text { max-width: 860px; }
.sv-process { padding-bottom: clamp(60px, 8vw, 110px); }
.sv-steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.sv-steps li { padding: 26px 24px 30px; border-radius: 20px; background: var(--c); color: var(--t); min-height: 220px; display: flex; flex-direction: column; }
.sv-steps h3 { font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: -.03em; margin: auto 0 10px; padding-top: 40px; }
.sv-steps p { opacity: .82; font-size: 15px; }
.sv-works { padding-bottom: clamp(60px, 8vw, 110px); }
.sv-works__head { display: flex; justify-content: space-between; align-items: baseline; }
.sv-works .pfh__card:nth-child(3n+2) { margin-top: 0; }
.sv-faq { max-width: 980px; padding-bottom: clamp(60px, 8vw, 110px); }
.sv-faq__item { border-bottom: 1px solid var(--line); }
.sv-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(17px, 1.6vw, 22px); letter-spacing: -.02em; }
.sv-faq__item summary::-webkit-details-marker { display: none; }
.sv-faq__item summary::after { content: '+'; font-family: var(--f-mono); font-size: 22px; transition: transform .4s var(--ease); }
.sv-faq__item[open] summary::after { transform: rotate(45deg); }
.sv-faq__item div { padding: 0 0 24px; color: rgba(242,239,232,.8); max-width: 760px; }
.sv-others { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: clamp(70px, 9vw, 120px); }
.sv-others .label { width: 100%; }
.sv-others a { padding: 12px 18px; border-radius: 99px; border: 1px solid var(--line); font-weight: 700; transition: background .3s, color .3s, border-color .3s; }
.sv-others a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.sv-others a i { font-style: normal; opacity: .6; }
/* uzun tek kelimelik başlıklar (Hizmetlerimiz) bölünmesin */
.pf-hero__title--long { font-size: clamp(36px, 10vw, 170px) !important; overflow-wrap: normal; }
