/* ==========================================
   PROJE DETAY SAYFASI
   Ana sayfayla aynı dil: noktalı açık gri kartlar ile beyaz bölümler
   sırayla gelir; dev Montserrat 900 başlıklar, sarı kare etiketler,
   koyu hap düğmeler ve sert çizgisel gölgeler.
   ========================================== */

body {
    background: #ffffff;
}

.pd {
    --ink: #0d0d0d;
    --brand: #ffdd00;
    --bg: #e8e7e5;
    --muted: #e0e0e0;
    --stroke: 1.5px;
    --gutter: clamp(16px, 2.5vw, 32px);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);

    color: var(--ink);
    padding-bottom: 12px;
}

.pd *,
.pd *::before,
.pd *::after {
    box-sizing: border-box;
}

/* Noktalı gri kart zemini */
.pd-hero,
.pd-next,
.pd-cta {
    margin: 12px;
    border-radius: 28px;
    background-color: var(--brand);
    background-image: radial-gradient(rgba(0, 0, 0, 0.07) 1px, transparent 1.2px);
    background-size: 16px 16px;
}

/* Beyaz bölümler */
.pd-show,
.pd-related {
    margin: 0 12px;
    border-radius: 28px;
    background: #fff;
}

/* --- Ortak: küçük etiket --- */
.pd-eyebrow {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pd-eyebrow span {
    flex: none;
    width: 8px;
    height: 8px;
    background: var(--brand);
    box-shadow: 0 0 0 1px var(--ink);
}

/* --- Ortak: koyu hap düğme --- */
.pd-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 58px;
    max-width: 100%;
    padding: 0 10px 0 18px;
    border-radius: 12px;
    background: #1c1c1c;
    color: #f2f2f2;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pd-pill > span:nth-child(2) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pd-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.pd-pill:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
}

.pd-pill__dot {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent);
}

.pd-pill__btn {
    flex: none;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #4a4a4a;
    transition: background 0.2s ease, color 0.2s ease, transform 0.3s ease;
}

.pd-pill__btn svg {
    width: 16px;
    height: 16px;
}

.pd-pill:hover .pd-pill__btn {
    background: var(--brand);
    color: var(--ink);
    transform: rotate(-45deg);
}

.pd-pill:hover .pd-pill__btn--out {
    transform: scale(1.08);
}

.pd-pill--large {
    height: 66px;
    padding-left: 20px;
    font-size: clamp(0.88rem, 1.1vw, 1rem);
}

/* ==========================================
   1. Geri bağlantısı (başlık kartında, etiketin yanında)
   ========================================== */
.pd-hero__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.pd-back {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff;
    color: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: inset 0 0 0 var(--stroke) var(--ink);
    transition: box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.pd-back span {
    transition: transform 0.3s var(--ease);
}

.pd-back:hover {
    background: var(--brand);
    transform: translate(-2px, -2px);
    box-shadow: inset 0 0 0 var(--stroke) var(--ink), 3px 4px 0 var(--ink);
}

.pd-back:hover span {
    transform: translateX(-3px);
}

.pd-back:focus-visible,
.pd-next a:focus-visible,
.pd-card:focus-visible,
.pd-meta a:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
}

/* ==========================================
   2. Başlık kartı
   ========================================== */
.pd-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(24px, 4vh, 40px) var(--gutter) clamp(28px, 5vh, 48px);
    min-height: clamp(420px, 58svh, 680px);
    display: flex;
    flex-direction: column;
}

.pd-hero__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pd-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--brand);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 var(--stroke) var(--ink), 4px 5px 0 var(--ink);
    transform: rotate(-3deg);
}

.pd-hero__title {
    margin: auto 0 0;
    padding-top: clamp(40px, 8vh, 96px);
    max-width: 14ch;
    font-size: clamp(3rem, 11.5vw, 12.5rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.pd-word {
    display: inline-block;
    /* Ü noktaları ve Ç çengeli kırpılmasın */
    padding: 0.04em 0;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(0.35em);
    transition: opacity 0.9s var(--ease), filter 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: calc(var(--i) * 70ms + 100ms);
}

.pd-hero.is-ready .pd-word {
    opacity: 1;
    filter: blur(0);
    transform: none;
}

.pd-hero__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px 48px;
    margin-top: clamp(24px, 4vh, 44px);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1s ease 0.45s, transform 1s var(--ease) 0.45s;
}

.pd-hero.is-ready .pd-hero__bottom {
    opacity: 1;
    transform: none;
}

.pd-hero__summary {
    margin: 0;
    max-width: 46ch;
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    font-weight: 500;
    line-height: 1.6;
    color: #2b2b2b;
}

.pd-meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    border-radius: 16px;
    background: #fff;
    box-shadow: inset 0 0 0 var(--stroke) var(--ink);
    overflow: hidden;
}

.pd-meta__item {
    padding: 14px 20px;
    min-width: 0;
}

.pd-meta__item + .pd-meta__item {
    border-left: var(--stroke) solid var(--ink);
}

.pd-meta dt {
    margin-bottom: 6px;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(13, 13, 13, 0.55);
}

.pd-meta dd {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.pd-meta a {
    color: inherit;
    text-decoration: none;
    background: linear-gradient(var(--brand), var(--brand)) 0 100% / 100% 40% no-repeat;
    transition: background-size 0.3s ease;
}

.pd-meta a:hover {
    background-size: 100% 100%;
}

/* Dönen yıldız */
.pd-spark {
    position: absolute;
    z-index: -1;
    top: clamp(70px, 14vh, 130px);
    right: clamp(24px, 8vw, 140px);
    width: clamp(34px, 4vw, 60px);
    fill: var(--brand);
    stroke: var(--ink);
    stroke-width: 1.6;
    stroke-linejoin: round;
    animation: pd-spin 14s linear infinite;
}

@keyframes pd-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================
   3. Tarayıcı penceresinde görsel + açıklama
   ========================================== */
.pd-show {
    --backdrop-top: clamp(24px, 5vh, 56px);
    /* Uzun kategori adları da genişliğe sığsın: harf sayısına göre küçülür */
    --backdrop-size: min(clamp(3.5rem, 13vw, 14rem), calc(90vw / var(--chars, 8) / 0.74));

    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(48px, 9vh, 100px) var(--gutter) clamp(48px, 9vh, 96px);
}

/* Kategori kelimesi varsa pencere kelimenin alt yarısına biner */
.pd-show:has(.pd-show__backdrop) {
    padding-top: calc(var(--backdrop-top) + var(--backdrop-size) * 0.8);
}

/* Pencerenin arkasındaki dev soluk kelime */
.pd-show__backdrop {
    position: absolute;
    z-index: -1;
    top: var(--backdrop-top);
    left: 50%;
    margin: 0;
    translate: -50% 0;
    font-size: var(--backdrop-size);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(13, 13, 13, 0.06);
    pointer-events: none;
    user-select: none;
}

.pd-browser {
    position: relative;
    margin: 0 auto;
    width: min(100%, 1120px);
    border: var(--stroke) solid var(--ink);
    border-radius: 18px;
    background: #fff;
    box-shadow: 8px 10px 0 var(--ink);
}

.pd-browser.is-tall {
    width: min(100%, 980px);
}

.pd-browser__bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 52px;
    padding: 0 12px 0 18px;
    border-bottom: var(--stroke) solid var(--ink);
    background: #f6f5f1;
    border-radius: 16.5px 16.5px 0 0;
}

.pd-browser__dots {
    flex: none;
    display: flex;
    gap: 7px;
}

.pd-browser__dots i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 var(--stroke) var(--ink);
}

.pd-browser__dots i:first-child {
    background: var(--brand);
}

.pd-browser__url {
    flex: 1;
    min-width: 0;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(13, 13, 13, 0.18);
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
}

.pd-browser__url svg {
    flex: none;
    width: 13px;
    height: 13px;
    opacity: 0.6;
}

.pd-browser__url span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pd-browser__top,
.pd-browser__open {
    flex: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    box-shadow: inset 0 0 0 var(--stroke) var(--ink);
    transition: background 0.2s ease, transform 0.3s var(--ease);
}

.pd-browser__top[hidden] {
    display: none;
}

.pd-browser__top svg,
.pd-browser__open svg {
    width: 15px;
    height: 15px;
}

.pd-browser__top:hover,
.pd-browser__open:hover {
    background: var(--brand);
    transform: translateY(-2px);
}

.pd-browser__top:focus-visible,
.pd-browser__open:focus-visible,
.pd-browser__viewport:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 2px;
}

/* Kaydırma ilerlemesi: çubuğun alt kenarında sarı çizgi */
.pd-browser__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1.5px;
    height: 3px;
    overflow: hidden;
    pointer-events: none;
}

.pd-browser__progress i {
    display: block;
    height: 100%;
    background: var(--brand);
    transform: scaleX(var(--p, 0));
    transform-origin: left;
}

.pd-browser.is-wide .pd-browser__progress {
    display: none;
}

.pd-browser__viewport {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 16.5px 16.5px;
    background: #f6f5f1;
}

.pd-browser__viewport img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

.pd-browser.is-tall .pd-browser__viewport {
    height: clamp(420px, 74svh, 780px);
    overflow-y: auto;
    overscroll-behavior-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(13, 13, 13, 0.35) transparent;
}

.pd-browser.is-tall .pd-browser__viewport::-webkit-scrollbar {
    width: 8px;
}

.pd-browser.is-tall .pd-browser__viewport::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: rgba(13, 13, 13, 0.3);
}

/* Kaydırma ipucu */
.pd-browser__hint {
    display: none;
}

.pd-browser.is-tall .pd-browser__hint {
    position: absolute;
    left: 50%;
    bottom: 22px;
    translate: -50% 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px 9px 10px;
    border-radius: 999px;
    background: #1c1c1c;
    color: #f2f2f2;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.pd-browser__hint-touch {
    display: none;
}

@media (hover: none) {
    .pd-browser__hint-pointer {
        display: none;
    }

    .pd-browser__hint-touch {
        display: inline;
    }
}

.pd-browser__hint svg {
    width: 18px;
    height: 18px;
}

.pd-browser__hint path {
    animation: pd-wheel 1.6s ease-in-out infinite;
}

@keyframes pd-wheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    60% { transform: translateY(4px); opacity: 0.2; }
}

.pd-browser.is-scrolling .pd-browser__hint,
.pd-browser.has-scrolled .pd-browser__hint {
    opacity: 0;
    transform: translateY(8px);
}

/* Görünür olunca yumuşak giriş */
[data-reveal] {
    opacity: 0;
    translate: 0 36px;
    transition: opacity 0.8s ease, translate 1s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
}

[data-reveal].is-visible {
    opacity: 1;
    translate: 0 0;
}

/* Açıklama */
.pd-about {
    width: min(100%, 1120px);
    margin: clamp(56px, 10vh, 110px) auto 0;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
    gap: 24px clamp(24px, 5vw, 80px);
}

.pd-about__client {
    margin: 14px 0 0;
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.pd-about__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.pd-desc {
    font-size: clamp(1rem, 1.15vw, 1.1rem);
    line-height: 1.75;
    color: #333;
}

.pd-desc > :first-child {
    margin-top: 0;
}

.pd-desc > :last-child {
    margin-bottom: 0;
}

/* İlk paragraf öne çıkan giriş metni gibi büyük */
.pd-desc > p:first-child {
    font-size: clamp(1.45rem, 2.6vw, 2.35rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.035em;
    color: var(--ink);
    text-wrap: balance;
}

.pd-desc p {
    margin: 0 0 1em;
}

.pd-desc h2,
.pd-desc h3,
.pd-desc h4 {
    margin: 1.6em 0 0.5em;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.pd-desc h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.pd-desc h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); }
.pd-desc h4 { font-size: 1.1rem; }

.pd-desc a {
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(var(--brand), var(--brand)) 0 100% / 100% 35% no-repeat;
    transition: background-size 0.3s ease;
}

.pd-desc a:hover {
    background-size: 100% 100%;
}

.pd-desc ul,
.pd-desc ol {
    margin: 0 0 1em;
    padding-left: 1.2em;
}

.pd-desc li {
    margin-bottom: 0.4em;
}

.pd-desc ul li::marker {
    color: var(--ink);
}

.pd-desc strong {
    font-weight: 800;
    color: var(--ink);
}

.pd-desc img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.pd-desc blockquote {
    margin: 1.4em 0;
    padding: 4px 0 4px 20px;
    border-left: 4px solid var(--brand);
    font-weight: 600;
    color: var(--ink);
}

/* ==========================================
   4. Sıradaki proje
   ========================================== */
.pd-next {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(24px, 4vh, 40px) var(--gutter) clamp(56px, 11vh, 120px);
}

.pd-next__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.pd-next__prev {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
}

.pd-next__prev > span:first-child {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 var(--stroke) var(--ink);
    font-size: 0.9rem;
    transition: background 0.2s ease, transform 0.3s var(--ease);
}

.pd-next__prev strong {
    font-weight: 800;
}

.pd-next__prev:hover > span:first-child {
    background: var(--brand);
    transform: translateX(-4px);
}

.pd-next__link {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(14px, 2.5vh, 24px);
    margin-top: clamp(56px, 11vh, 120px);
    color: inherit;
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.pd-next__category {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(13, 13, 13, 0.6);
}

.pd-next__title {
    display: block;
    max-width: 100%;
    font-size: clamp(3rem, 10vw, 11rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    text-wrap: balance;
    overflow-wrap: anywhere;
    /* Gri zeminde soluk kelime */
    color: rgba(13, 13, 13, 0.1);
    transition: color 0.35s ease;
}

.pd-next__link:hover .pd-next__title,
.pd-next__link:focus-visible .pd-next__title {
    color: var(--ink);
}

.pd-next__go {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #1c1c1c;
    color: #fff;
    transition: background 0.25s ease, color 0.25s ease, transform 0.45s var(--ease);
}

.pd-next__go svg {
    width: 22px;
    height: 22px;
}

.pd-next__link:hover .pd-next__go {
    background: var(--brand);
    color: var(--ink);
    transform: rotate(-45deg) scale(1.06);
    box-shadow: inset 0 0 0 var(--stroke) var(--ink), 3px 4px 0 var(--ink);
}

/* İmleci takip eden küçük görsel */
.pd-next__media {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: clamp(140px, 16vw, 270px);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 6px;
    pointer-events: none;
    will-change: transform;
    clip-path: inset(50% 50% 50% 50%);
    transition: clip-path 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.pd-next.is-hovering .pd-next__media {
    clip-path: inset(0 0 0 0);
}

.pd-next__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
    background: #111;
    transform: scale(1.12);
    transition: transform 0.8s var(--ease);
}

.pd-next.is-hovering .pd-next__media img {
    transform: scale(1);
}

/* ==========================================
   5. Benzer projeler
   ========================================== */
.pd-related {
    padding: clamp(56px, 10vh, 100px) var(--gutter) clamp(48px, 9vh, 90px);
}

.pd-related__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: clamp(32px, 6vh, 56px);
    text-align: center;
}

.pd-related__title {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
}

.pd-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1320px;
    margin: 0 auto;
}

/* Benzer proje kartları — ana sayfadaki .wk-panel diliyle aynı:
   sırayla krem/koyu zemin, [ 01 ] numarası, 900 ağırlıkta başlık,
   hap şeklinde iş etiketleri ve sarı yuvarlak ok. */
.pd-card {
    --cream: #f4f3f1;
    --dark: #1c1c1c;
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 16px;
    overflow: hidden;
    padding: clamp(18px, 2vw, 26px);
    border-radius: 26px;
    background: var(--cream);
    color: var(--ink);
    text-decoration: none;
    transition:
        opacity 0.8s ease,
        translate 1s var(--ease),
        transform 0.35s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s;
}

.pd-card.is-dark {
    background: var(--dark);
    color: #f2f2f2;
}

.pd-card:hover {
    transform: translateY(-6px);
}

.pd-card__num {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    opacity: 0.5;
}

.pd-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(13, 13, 13, 0.06);
}

.pd-card.is-dark .pd-card__media {
    background: rgba(255, 255, 255, 0.08);
}

.pd-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    transition: scale 1s var(--ease);
    filter: grayscale(1);
}

.pd-card:hover .pd-card__media img {
    scale: 1.04;
}

/* Görseli henüz yüklenmemiş firmalar.
   Koyu kart kuralından (.pd-card.is-dark .pd-card__media) daha yüksek
   özgüllük gerektiği için seçiciler .pd-card ile nitelenmiştir. */
.pd-card .pd-card__media--mark {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 1px 1px, rgba(13, 13, 13, 0.14) 1px, transparent 0) 0 0 / 16px 16px,
        var(--brand);
}

.pd-card.is-dark .pd-card__media--mark {
    background:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.12) 1px, transparent 0) 0 0 / 16px 16px,
        #262626;
}

.pd-card__initials {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    color: var(--ink);
}

.pd-card.is-dark .pd-card__initials {
    color: var(--brand);
}

.pd-card__body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.pd-card__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.pd-card__title {
    font-size: clamp(1.2rem, 1.8vw, 1.7rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.05em;
    /* Ana sayfadaki gibi hover'da sarı alt vurgu açılır */
    background-image: linear-gradient(var(--brand), var(--brand));
    background-repeat: no-repeat;
    background-position: 0 88%;
    background-size: 0% 0.22em;
    transition: background-size 0.5s var(--ease);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.pd-card:hover .pd-card__title {
    background-size: 100% 0.22em;
}

.pd-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pd-card__tag {
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(13, 13, 13, 0.07);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pd-card.is-dark .pd-card__tag {
    background: rgba(255, 255, 255, 0.1);
}

.pd-card:hover .pd-card__tag {
    background: var(--brand);
    color: var(--ink);
}

.pd-card__arrow {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--ink);
    transition: transform 0.45s var(--ease);
}

.pd-card__arrow svg {
    width: 16px;
    height: 16px;
}

.pd-card:hover .pd-card__arrow {
    transform: rotate(45deg);
}

/* ==========================================
   6. İletişim çağrısı
   ========================================== */
.pd-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(18px, 3vh, 28px);
    padding: clamp(56px, 11vh, 120px) var(--gutter);
    text-align: center;
}

.pd-cta__title {
    margin: 0;
    max-width: 14ch;
    font-size: clamp(2.4rem, 6.4vw, 6.5rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

/* ==========================================
   Duyarlı düzen
   ========================================== */
@media (max-width: 1000px) {
    .pd-hero__bottom {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .pd-about {
        grid-template-columns: 1fr;
    }

    .pd-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pd-related__grid .pd-card:nth-child(3) {
        display: none;
    }
}

@media (max-width: 700px) {
    .pd-hero,
    .pd-next,
    .pd-cta {
        margin: 8px;
        border-radius: 20px;
    }

    .pd-show,
    .pd-related {
        margin: 0 8px;
        border-radius: 20px;
    }

    .pd-back {
        height: 36px;
        padding: 0 12px;
        font-size: 0.68rem;
    }

    .pd-hero {
        min-height: 0;
    }

    .pd-hero__title {
        font-size: clamp(2.6rem, 13vw, 4.5rem);
        letter-spacing: -0.055em;
    }

    .pd-meta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pd-meta__item + .pd-meta__item {
        border-left: 0;
    }

    .pd-meta__item {
        padding: 12px 16px;
    }

    .pd-meta__item:nth-child(odd):not(:last-child) {
        border-right: var(--stroke) solid var(--ink);
    }

    .pd-meta__item:nth-child(n + 3) {
        border-top: var(--stroke) solid var(--ink);
    }

    .pd-meta dd {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .pd-spark {
        display: none;
    }

    .pd-show {
        --backdrop-size: min(clamp(3rem, 16vw, 5rem), calc(86vw / var(--chars, 8) / 0.74));
    }

    .pd-browser {
        border-radius: 14px;
        box-shadow: 5px 6px 0 var(--ink);
    }

    .pd-browser__bar {
        height: 44px;
        gap: 8px;
        padding: 0 8px 0 12px;
        border-radius: 12.5px 12.5px 0 0;
    }

    .pd-browser__dots {
        gap: 5px;
    }

    .pd-browser__dots i {
        width: 9px;
        height: 9px;
    }

    .pd-browser__url {
        height: 28px;
        padding: 0 10px;
        font-size: 0.72rem;
    }

    .pd-browser__top,
    .pd-browser__open {
        width: 30px;
        height: 30px;
    }

    .pd-browser__viewport {
        border-radius: 0 0 12.5px 12.5px;
    }

    .pd-browser.is-tall .pd-browser__viewport {
        height: min(70svh, 560px);
    }

    .pd-next__title {
        font-size: clamp(2.4rem, 12.5vw, 4.5rem);
    }

    .pd-next__go {
        width: 54px;
        height: 54px;
    }

    .pd-related__grid {
        grid-template-columns: 1fr;
    }

    .pd-related__grid .pd-card:nth-child(3) {
        display: flex;
    }

    .pd-pill--large {
        height: auto;
        min-height: 58px;
        padding-block: 10px;
    }

    .pd-pill--large > span:nth-child(2) {
        white-space: normal;
        text-align: left;
        line-height: 1.35;
    }
}

/* Dokunmatik ekranlarda imleç görseli yerine küçük sabit görsel */
@media (hover: none) {
    .pd-next__media {
        position: relative;
        display: block;
        margin: 28px auto 0;
        width: min(46vw, 200px);
        transform: rotate(-4deg);
        clip-path: none;
        border-radius: 12px;
        box-shadow: 0 0 0 var(--stroke) var(--ink), 5px 6px 0 var(--ink);
    }

    .pd-next__media img {
        transform: none;
    }

    .pd-next__title {
        color: var(--ink);
    }

    .pd-next__link {
        margin-top: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pd-word,
    .pd-hero__bottom,
    [data-reveal],
    .pd-card,
    .pd-card__media img,
    .pd-next__media,
    .pd-next__media img {
        transition: none;
    }

    .pd-word {
        opacity: 1;
        filter: none;
        transform: none;
    }

    .pd-hero__bottom,
    [data-reveal] {
        opacity: 1;
        transform: none;
        translate: none;
    }

    .pd-spark,
    .pd-browser__hint path {
        animation: none;
    }

    .pd-card:hover .pd-card__media img {
        object-position: top;
    }
}

/* ==========================================
   PROJE DETAY — bu marka için yapılan işler
   Numaralı satırlar: solda iş türü, başlık ve açıklama; sağda görsel.
   Üzerine gelince satır sarı zeminle vurgulanır.
   ========================================== */

.pd-works {
    margin-top: clamp(48px, 8vh, 96px);
}

.pd-works__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(13, 13, 13, 0.14);
}

.pd-works__count {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(13, 13, 13, 0.45);
}

.pd-works__count strong {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--ink, #0d0d0d);
}

.pd-works__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pd-work {
    position: relative;
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 0.8fr);
    align-items: center;
    gap: clamp(16px, 3vw, 40px);
    padding: clamp(18px, 3vh, 30px) 0;
    border-bottom: 1px solid rgba(13, 13, 13, 0.12);
}

.pd-work::before {
    content: '';
    position: absolute;
    inset: 0 -16px;
    z-index: -1;
    border-radius: 16px;
    background: var(--brand, #ffdd00);
    opacity: 0;
    scale: 0.98;
    transition: opacity 0.35s ease, scale 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.pd-work:hover::before {
    opacity: 0.16;
    scale: 1;
}

.pd-work__num {
    font-size: clamp(0.8rem, 1vw, 0.95rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(13, 13, 13, 0.35);
}

.pd-work__cat {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--brand, #ffdd00);
    color: var(--ink, #0d0d0d);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pd-work__title {
    margin: 0;
    font-size: clamp(1.1rem, 2vw, 1.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.pd-work__summary {
    margin: 8px 0 0;
    max-width: 52ch;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(13, 13, 13, 0.65);
}

.pd-work__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 1px;
}

.pd-work__link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pd-work__link:hover svg {
    transform: rotate(45deg);
}

.pd-work__media {
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #f1f0ee;
    aspect-ratio: 16 / 10;
}

.pd-work__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.pd-work:hover .pd-work__media img {
    scale: 1.05;
}

@media (max-width: 760px) {
    .pd-work {
        grid-template-columns: 2.6rem minmax(0, 1fr);
        row-gap: 14px;
    }

    .pd-work__media {
        grid-column: 1 / -1;
    }
}

/* --- İmleci takip eden görsel (yalnızca fareli geniş ekranlar) --- */
.pd-works {
    position: relative;
}

.pd-works__float {
    display: none;
}

@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
    /* Satırdaki sabit görsel gizlenir; görsel imlecin yanında açılır */
    .pd-work {
        grid-template-columns: 4rem minmax(0, 1fr);
    }

    .pd-work__media {
        display: none;
    }

    .pd-work__title {
        font-size: clamp(1.6rem, 3.4vw, 3.2rem);
        transition: color 0.35s ease;
    }

    /* Fare listedeyken üzerinde olunmayan başlıklar soluklaşır */
    .pd-works__list:hover .pd-work:not(.is-active) .pd-work__title {
        color: rgba(13, 13, 13, 0.3);
    }

    .pd-work.has-media {
        cursor: none;
    }

    .pd-works__float {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 5;
        width: clamp(240px, 26vw, 440px);
        aspect-ratio: 16 / 10;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45);
        pointer-events: none;
        will-change: transform;
        clip-path: inset(50% 50% 50% 50% round 14px);
        transition: clip-path 0.55s cubic-bezier(0.65, 0, 0.35, 1);
    }

    .pd-works.is-hovering .pd-works__float {
        clip-path: inset(0 0 0 0 round 14px);
    }

    .pd-works__float img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        background: #111;
        opacity: 0;
        transform: scale(1.12);
        transition: opacity 0.35s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .pd-works__float img.is-active {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pd-work::before,
    .pd-work__media img,
    .pd-work__link svg,
    .pd-work__title,
    .pd-works__float,
    .pd-works__float img {
        transition: none;
    }
}
