/* ==========================================================================
   KAYIŞOĞLU YAPI — Ana stil dosyası
   Düz (flat) tasarım: gölge, gradient yüzey, 3D efekt yok.
   ========================================================================== */

/* ---------- 1. Tasarım değişkenleri ---------- */
:root {
    /* Renkler */
    --c-black: #0d0d0d;
    --c-anthracite: #161616;
    --c-graphite: #202020;
    --c-steel: #2c2c2c;
    --c-offwhite: #f2efe9;
    --c-paper: #e9e5dd;
    --c-text-light: #f2efe9;
    --c-muted-light: #a9a49c;   /* koyu zeminde ikincil metin */
    --c-text-dark: #161616;
    --c-muted-dark: #57534d;    /* açık zeminde ikincil metin */
    --c-sand: #c1b2a0;          /* logodaki kum beji */
    --c-sand-ink: #75654f;      /* açık zeminde okunabilir bej */
    --c-line-dark: rgba(242, 239, 233, .12);
    --c-line-light: rgba(22, 22, 22, .14);

    /* Tipografi */
    --f-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
    --fs-xs: .78rem;
    --fs-sm: .9rem;
    --fs-base: 1.0625rem;
    --fs-md: 1.25rem;
    --fs-lg: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
    --fs-xl: clamp(2.2rem, 1.4rem + 3.4vw, 4.25rem);
    --fs-hero: clamp(2.3rem, 10vw, 8.6rem);

    /* Ölçüler */
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --section-y: clamp(80px, 11vw, 160px);
    --header-h: 76px;
    --radius: 0;
    --ease: cubic-bezier(.2, .6, .2, 1);
    --t: .3s var(--ease);
}

/* ---------- 2. Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    background: var(--c-anthracite);
    color: var(--c-text-light);
    font-family: var(--f-sans);
    font-size: var(--fs-base);
    line-height: 1.65;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible {
    outline: 2px solid var(--c-sand);
    outline-offset: 3px;
}
main:focus { outline: none; }

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.skip-link {
    position: absolute;
    left: var(--gutter); top: -100px;
    z-index: 200;
    background: var(--c-sand);
    color: var(--c-black);
    padding: .75rem 1.1rem;
    font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Butonlar ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 52px;
    padding: .85rem 1.6rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color var(--t), color var(--t), border-color var(--t);
}
.btn .icon { transition: transform var(--t); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary { background: var(--c-sand); color: var(--c-black); }
.btn--primary:hover { background: var(--c-offwhite); }

.btn--ghost { border-color: rgba(242, 239, 233, .4); color: var(--c-text-light); }
.btn--ghost:hover { border-color: var(--c-offwhite); background: var(--c-offwhite); color: var(--c-black); }

/* Açık zemin üzerindeki butonlar */
.projects .btn--primary { background: var(--c-text-dark); color: var(--c-offwhite); }
.projects .btn--primary:hover { background: var(--c-sand-ink); }

/* ---------- 4. Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-h);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color var(--t), border-color var(--t);
}
.site-header.is-scrolled,
.is-inner .site-header,
.site-header.is-open {
    background: var(--c-black);
    border-bottom-color: var(--c-line-dark);
}
.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    color: var(--c-text-light);
}
.brand__mark { width: 40px; height: auto; flex: none; }
.brand__text {
    font-weight: 700;
    font-stretch: 112%;
    font-size: 1.05rem;
    letter-spacing: .14em;
    line-height: 1;
    white-space: nowrap;
}
.brand__text span { color: var(--c-sand); font-weight: 400; }

.site-nav__list { display: flex; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.site-nav__link {
    position: relative;
    display: inline-block;
    padding: .5rem 0;
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: .06em;
    color: var(--c-muted-light);
    transition: color var(--t);
}
.site-nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--c-sand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
}
.site-nav__link:hover,
.site-nav__link.is-active { color: var(--c-text-light); }
.site-nav__link.is-active::after,
.site-nav__link:hover::after { transform: scaleX(1); }

.nav-toggle {
    display: none;
    width: 48px; height: 48px;
    margin-right: -12px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    position: relative;
}
.nav-toggle__bar {
    position: absolute;
    left: 12px; right: 12px;
    height: 1.5px;
    background: var(--c-text-light);
    transition: transform var(--t), top var(--t);
}
.nav-toggle__bar:nth-child(1) { top: 19px; }
.nav-toggle__bar:nth-child(2) { top: 28px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { top: 23.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { top: 23.5px; transform: rotate(-45deg); }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed;
        top: var(--header-h); left: 0; right: 0;
        height: calc(100dvh - var(--header-h));
        background: var(--c-black);
        padding: 2rem var(--gutter);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity var(--t), transform var(--t), visibility 0s linear .3s;
        overflow-y: auto;
    }
    .site-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity var(--t), transform var(--t), visibility 0s;
    }
    .site-nav__list { flex-direction: column; gap: 0; }
    .site-nav__list li { border-bottom: 1px solid var(--c-line-dark); }
    .site-nav__link {
        display: block;
        padding: 1.15rem 0;
        font-size: 1.5rem;
        font-weight: 600;
        font-stretch: 110%;
        letter-spacing: .01em;
        color: var(--c-text-light);
    }
    .site-nav__link::after { display: none; }
    .site-nav__link.is-active { color: var(--c-sand); }
    body.nav-open { overflow: hidden; }
}

/* ---------- 5. Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--header-h) + 3rem) 0 6rem;
    background: var(--c-black);
    overflow: hidden;
    isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
/* Fotoğrafın metni bastırmaması için düz koyu katman (gradient değil) */
.hero--photo::before {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background: rgba(13, 13, 13, .66);
}

/* Fotoğraf yoksa: logodan türeyen düz, sessiz mimari işaret */
.hero__mark {
    position: absolute;
    z-index: -1;
    right: -6vw; bottom: -4vw;
    width: min(62vw, 760px);
    opacity: .06;
    pointer-events: none;
}
.hero__mark img { width: 100%; }

/* İnce kolon çizgileri — mimari ızgara hissi */
.hero__grid {
    position: absolute; inset: 0; z-index: -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
    pointer-events: none;
}
.hero__grid span { border-left: 1px solid var(--c-line-dark); }
.hero__grid span:last-child { border-right: 1px solid var(--c-line-dark); }

.hero__content { max-width: 1120px; }

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--c-sand);
}
.hero__eyebrow::before,
.hero__eyebrow::after {
    content: "";
    width: 32px; height: 1px;
    background: currentColor;
}

.hero__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: .95;
    font-weight: 800;
    font-stretch: 125%;
    letter-spacing: -.01em;
    text-transform: uppercase;
}
.hero__title-main {
    font-size: var(--fs-hero);
    padding-top: .12em; /* Ş, Ğ gibi aksanlar için pay */
}
.hero__title-sub {
    margin-top: .25em;
    font-size: calc(var(--fs-hero) * .34);
    font-weight: 400;
    letter-spacing: .62em;
    margin-right: -.62em; /* letter-spacing ortalama düzeltmesi */
    color: var(--c-sand);
}

.hero__tagline {
    max-width: 36ch;
    margin: clamp(1.75rem, 4vw, 2.75rem) auto 0;
    font-size: clamp(1.1rem, .95rem + .6vw, 1.45rem);
    font-weight: 300;
    line-height: 1.5;
    color: var(--c-offwhite);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: clamp(2.25rem, 5vw, 3.25rem);
}

.hero__scroll {
    position: absolute;
    left: 50%; bottom: 28px;
    width: 44px; height: 44px;
    transform: translateX(-50%);
    display: grid; place-items: center;
}
.hero__scroll span {
    width: 1px; height: 40px;
    background: var(--c-line-dark);
    position: relative;
    overflow: hidden;
}
.hero__scroll span::after {
    content: "";
    position: absolute; left: 0; top: 0;
    width: 1px; height: 14px;
    background: var(--c-sand);
}
@media (prefers-reduced-motion: no-preference) {
    .hero__scroll span::after { animation: scrollLine 2.4s var(--ease) infinite; }
}
@keyframes scrollLine {
    0% { transform: translateY(-14px); }
    100% { transform: translateY(40px); }
}

@media (max-width: 600px) {
    .hero__grid { grid-template-columns: repeat(2, 1fr); }
    .hero__grid span:nth-child(3) { display: none; }
    .hero__grid span:nth-child(2) { border-right: 1px solid var(--c-line-dark); }
    .hero__title-sub { letter-spacing: .42em; margin-right: -.42em; font-size: calc(var(--fs-hero) * .42); }
    .hero__actions .btn { flex: 1 1 100%; }
    .hero__mark { width: 110vw; right: -30vw; bottom: -10vw; }
}

/* ---------- 6. Bölüm ortakları ---------- */
.section { padding: var(--section-y) 0; position: relative; }

.kicker {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.25rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--c-sand);
}
.kicker span {
    font-variant-numeric: tabular-nums;
    padding-right: .9rem;
    border-right: 1px solid currentColor;
    letter-spacing: .1em;
}

.section-title {
    font-size: var(--fs-xl);
    line-height: 1.04;
    font-weight: 700;
    font-stretch: 112%;
    letter-spacing: -.02em;
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem 3rem;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-head__intro { max-width: 38ch; color: var(--c-muted-light); }

/* Açık zeminli bölümler */
.about, .projects {
    background: var(--c-offwhite);
    color: var(--c-text-dark);
}
.about .kicker, .projects .kicker { color: var(--c-sand-ink); }

/* ---------- 7. Hakkımızda ---------- */
.about__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
}
.about__text > p:not(.kicker):not(.about__lead) {
    max-width: 58ch;
    color: var(--c-muted-dark);
    font-size: 1.1rem;
    line-height: 1.8;
}
.about__text > p + p { margin-top: 1.1rem; }
.about__lead {
    margin: 1.75rem 0 1.5rem;
    font-size: var(--fs-lg);
    font-weight: 500;
    line-height: 1.3;
    color: var(--c-text-dark);
}
.about__lead::before {
    content: "";
    display: block;
    width: 48px; height: 2px;
    margin-bottom: 1.5rem;
    background: var(--c-sand-ink);
}

.values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2.75rem;
    border-top: 1px solid var(--c-line-light);
}
.values li {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--c-line-light);
    font-weight: 600;
    font-size: var(--fs-sm);
    letter-spacing: .14em;
    text-transform: uppercase;
}
.values li:nth-child(odd) { padding-right: 1rem; }
.values li:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--c-line-light); }

.about__media {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--c-paper);
    overflow: hidden;
}
.about__img { width: 100%; height: 100%; object-fit: cover; }
.about__media--plain {
    display: grid;
    place-items: center;
    background: var(--c-anthracite);
}
.about__media--plain::before {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid var(--c-line-dark);
}
.about__logo { width: 52%; }

@media (max-width: 900px) {
    .about__grid { grid-template-columns: 1fr; }
    .about__media { aspect-ratio: 4 / 3; }
}

/* ---------- 8. Hizmetler ---------- */
.services { background: var(--c-anthracite); }

.services__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--c-line-dark);
}
.service {
    position: relative;
    padding: 2.25rem 2rem 2.75rem 0;
    border-right: 1px solid var(--c-line-dark);
    transition: background-color var(--t);
}
.service + .service { padding-left: 2rem; }
.service:last-child { border-right: 0; }
.service::before {
    content: "";
    position: absolute;
    top: -1px; left: 0;
    width: 0; height: 2px;
    background: var(--c-sand);
    transition: width .45s var(--ease);
}
.service + .service::before { left: 0; }
.service:hover::before { width: 100%; }

.service__num {
    display: block;
    font-size: var(--fs-xs);
    letter-spacing: .14em;
    color: var(--c-muted-light);
    font-variant-numeric: tabular-nums;
}
.service__icon { display: block; margin: 2.5rem 0 2rem; color: var(--c-sand); }
.service__title {
    font-size: var(--fs-md);
    font-weight: 600;
    font-stretch: 108%;
    line-height: 1.25;
}
.service__text { margin-top: .85rem; color: var(--c-muted-light); font-size: .98rem; }

@media (max-width: 1024px) {
    .services__list { grid-template-columns: repeat(2, 1fr); }
    .service, .service + .service { padding: 2.25rem 2rem 2.5rem; }
    .service:nth-child(odd) { padding-left: 0; }
    .service:nth-child(even) { border-right: 0; }
    .service { border-bottom: 1px solid var(--c-line-dark); }
}
@media (max-width: 600px) {
    .services__list { grid-template-columns: 1fr; }
    .service, .service + .service, .service:nth-child(odd) { padding: 2rem 0 2.25rem; border-right: 0; }
    .service__icon { margin: 1.5rem 0 1.25rem; }
}

/* ---------- 9. Projeler ---------- */
.projects__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
}
.project:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.project__link { display: block; }
.project__media {
    aspect-ratio: 16 / 10;
    background: var(--c-paper);
    overflow: hidden;
}
.project:first-child:nth-last-child(odd) .project__media { aspect-ratio: 21 / 9; }
.project__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease), opacity var(--t);
}
a.project__link:hover .project__img { transform: scale(1.025); }
.project__body { padding-top: 1.35rem; }
.project__meta {
    font-size: var(--fs-xs);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--c-sand-ink);
    font-weight: 600;
}
.project__title { margin-top: .5rem; font-size: var(--fs-lg); font-weight: 600; font-stretch: 108%; line-height: 1.2; }
.project__summary { margin-top: .6rem; color: var(--c-muted-dark); max-width: 60ch; }
.project__more {
    display: inline-flex; align-items: center; gap: .5rem;
    margin-top: 1rem;
    font-size: var(--fs-sm); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

.projects__empty {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    border: 1px solid var(--c-line-light);
}
.projects__empty-lines {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: end;
    gap: 10%;
    padding: 3rem 12%;
    background: var(--c-paper);
    min-height: 280px;
}
.projects__empty-lines span { background: var(--c-sand); }
.projects__empty-lines span:nth-child(1) { height: 38%; }
.projects__empty-lines span:nth-child(2) { height: 58%; }
.projects__empty-lines span:nth-child(3) { height: 92%; }
.projects__empty-lines span:nth-child(4) { height: 70%; background: var(--c-sand-ink); }
.projects__empty-text {
    padding: clamp(2rem, 5vw, 4rem);
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.projects__empty-text h3 { font-size: var(--fs-lg); font-weight: 600; font-stretch: 108%; line-height: 1.2; }
.projects__empty-text p { margin: 1rem 0 2rem; color: var(--c-muted-dark); max-width: 52ch; }

@media (max-width: 800px) {
    .projects__grid { grid-template-columns: 1fr; }
    .project:first-child:nth-last-child(odd) .project__media { aspect-ratio: 16 / 10; }
    .projects__empty { grid-template-columns: 1fr; }
    .projects__empty-lines { min-height: 200px; }
}

/* ---------- 10. İletişim ---------- */
.contact { background: var(--c-graphite); }
.contact__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: stretch;
}
.contact__intro { margin-top: 1.5rem; max-width: 44ch; color: var(--c-muted-light); }
.contact__list { margin-top: 2.75rem; border-top: 1px solid var(--c-line-dark); }
.contact__item {
    display: grid;
    grid-template-columns: 11rem 1fr;
    gap: 1rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--c-line-dark);
}
.contact__item dt {
    display: flex; align-items: center; gap: .65rem;
    font-size: var(--fs-xs);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--c-sand);
    font-weight: 600;
}
.contact__item dd { font-size: 1.1rem; font-weight: 500; }
.contact__item dd a { border-bottom: 1px solid var(--c-line-dark); transition: border-color var(--t); }
.contact__item dd a:hover { border-color: var(--c-sand); }

.contact__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.map-frame {
    position: relative;
    height: 100%;
    min-height: 420px;
    padding: 10px;
    border: 1px solid var(--c-line-dark);
    background: var(--c-black);
}
.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    filter: grayscale(1) contrast(1.05) brightness(.92);
    transition: filter var(--t);
}
.map-frame:hover iframe,
.map-frame:focus-within iframe { filter: none; }

@media (max-width: 900px) {
    .contact__grid { grid-template-columns: 1fr; }
    .map-frame, .map-frame iframe { min-height: 340px; }
}
@media (max-width: 520px) {
    .contact__item { grid-template-columns: 1fr; gap: .4rem; }
    .contact__actions .btn { flex: 1 1 100%; }
    .map-frame { padding: 6px; }
}

/* ---------- 11. Footer ---------- */
.site-footer {
    background: var(--c-black);
    color: var(--c-muted-light);
    border-top: 1px solid var(--c-line-dark);
    padding-top: clamp(4rem, 8vw, 6rem);
    font-size: .98rem;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.site-footer__about { margin-top: 1.5rem; max-width: 40ch; }
.site-footer__title {
    margin-bottom: 1.25rem;
    font-size: var(--fs-xs);
    letter-spacing: .24em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--c-sand);
}
.site-footer__links { display: grid; gap: .6rem; }
.site-footer a { transition: color var(--t); }
.site-footer__links a:hover,
.site-footer__contact a:hover { color: var(--c-text-light); }
.site-footer__contact { display: grid; gap: .6rem; }

.social { display: flex; gap: .5rem; margin-top: 1.5rem; }
.social a {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border: 1px solid var(--c-line-dark);
    transition: border-color var(--t), color var(--t);
}
.social a:hover { border-color: var(--c-sand); color: var(--c-sand); }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.75rem;
    border-top: 1px solid var(--c-line-dark);
    font-size: var(--fs-sm);
}
.to-top { letter-spacing: .08em; }
.to-top:hover { color: var(--c-sand); }

@media (max-width: 800px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- 12. Alt sayfalar (proje detay / 404) ---------- */
.is-inner main { padding-top: var(--header-h); }
.project-detail, .page-404 { background: var(--c-offwhite); color: var(--c-text-dark); }
.project-detail .kicker, .page-404 .kicker { color: var(--c-sand-ink); }
.page-404 p:not(.kicker) { margin: 1.5rem 0 2rem; color: var(--c-muted-dark); }
.back-link { display: inline-block; margin-bottom: 2.5rem; font-size: var(--fs-sm); font-weight: 600; letter-spacing: .06em; }
.back-link:hover { color: var(--c-sand-ink); }
.project-detail__lead { margin-top: 1.5rem; max-width: 60ch; font-size: var(--fs-md); color: var(--c-muted-dark); }
.project-detail__cover { margin-top: 3rem; }
.project-detail__cover img { width: 100%; }
.project-detail__body { max-width: 68ch; margin-top: 3rem; display: grid; gap: 1.1rem; color: var(--c-muted-dark); font-size: 1.1rem; line-height: 1.8; }
.project-detail__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
@media (max-width: 700px) { .project-detail__gallery { grid-template-columns: 1fr; } }

/* ---------- 13. Bölüm giriş animasyonu (yalnızca JS varsa) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
    .js .reveal.is-visible { opacity: 1; transform: none; }
}
