/* ==========================================================================
   DarkBucket — ziyaretçi arayüzü
   Mevcut sitenin görsel dilini (sol dikey kenar çubuğu, koyu gri tonlar,
   küçük tipografi, tam ekran görseller) koruyarak modern CSS ile yeniden yazıldı.
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
    --ink: #1c1c1c;
    --grey: #3c3c3c;
    --grey-2: #2b2b2b;
    --line: rgba(255, 255, 255, .14);
    --paper: #ffffff;
    --paper-ink: #151515;
    --muted: rgba(255, 255, 255, .62);
    --accent: #ffffff;

    --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --fs-xs: 11px;
    --fs-s: 13px;
    --fs-m: 15px;
    --fs-l: clamp(17px, 1.25vw, 20px);
    --fs-xl: clamp(24px, 2.6vw, 40px);

    --sidebar-w: 84px;
    --services-bg: #222222;
    --services-bg-2: #2c2c2c;
    --gutter: clamp(16px, 3vw, 40px);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --tile-h: calc(100svh / 3);

    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    min-height: 100svh;
    background: var(--grey);
    color: #fff;
    font-family: var(--font);
    font-size: var(--fs-m);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, video, svg, picture { display: block; max-width: 100%; }
picture { width: 100%; height: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul[role="list"] { list-style: none; padding: 0; }

:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.theme-light :focus-visible { outline-color: var(--paper-ink); }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: fixed; left: 12px; top: -60px; z-index: 100;
    background: #fff; color: #000; padding: 8px 14px; font-size: var(--fs-s);
}
.skip-link:focus { top: 12px; }

.content { min-height: 100svh; margin-left: var(--sidebar-w); outline: 0; }
.container { padding-inline: var(--gutter); }

/* ---------- Tipografi yardımcıları ---------- */
.page-title { font-size: var(--fs-m); font-weight: 600; letter-spacing: .01em; }
.display { font-size: var(--fs-xl); font-weight: 500; line-height: 1.18; letter-spacing: -.01em; }
.section-title { font-size: var(--fs-l); font-weight: 600; margin-bottom: 14px; }
.eyebrow { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.theme-light .eyebrow { color: rgba(0, 0, 0, .5); }
.lead { font-size: var(--fs-l); line-height: 1.45; }
.muted { color: var(--muted); }

.prose { font-size: var(--fs-l); line-height: 1.55; max-width: 62ch; }
.prose > * + * { margin-top: 1em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose h2, .prose h3 { font-size: var(--fs-l); font-weight: 600; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }

.link-underline {
    display: inline-block; font-size: var(--fs-s); font-weight: 600;
    border-bottom: 1px solid currentColor; padding-bottom: 2px;
    transition: opacity .2s;
}
.link-underline:hover { opacity: .7; }

.btn-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px; border: 1px solid currentColor;
    font-size: var(--fs-s); font-weight: 600; letter-spacing: .02em;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.btn-pill:hover { background: #fff; color: #000; border-color: #fff; }
.btn-pill.is-dark { background: var(--paper-ink); color: #fff; border-color: var(--paper-ink); }
.btn-pill.is-dark:hover { background: #000; }
.btn-link { font-size: var(--fs-s); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Kenar çubuğu (sidebar) + menü
   ========================================================================== */
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 50; pointer-events: none; color: #fff; }
.sidebar__bar {
    position: relative; z-index: 2; width: var(--sidebar-w); height: 100%;
    display: flex; flex-direction: column; justify-content: space-between; align-items: center;
    padding: 24px 0 28px; background: var(--grey); pointer-events: auto;
    transition: background .3s var(--ease);
}
.is-home .sidebar__bar { background: transparent; }
.is-home .sidebar.is-open .sidebar__bar { background: var(--grey); }

.navicon { width: 26px; height: 22px; position: relative; }
.navicon span {
    position: absolute; left: 1px; right: 1px; height: 1.5px; background: #fff;
    transition: transform .35s var(--ease), top .35s var(--ease);
}
.navicon span:first-child { top: 7px; }
.navicon span:last-child { top: 14px; }
.sidebar.is-open .navicon span:first-child { top: 10px; transform: rotate(45deg); }
.sidebar.is-open .navicon span:last-child { top: 10px; transform: rotate(-45deg); }

.sidebar__logo { width: 52px; color: #fff; display: block; }
.sidebar__logo img { width: 100%; height: auto; }
.logo-svg { width: 52px; height: 104px; overflow: visible; }
.is-home .sidebar__logo { filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .45)); }

.sidebar__panel {
    position: absolute; top: 0; bottom: 0; left: var(--sidebar-w); z-index: 1;
    width: min(420px, calc(100vw - var(--sidebar-w)));
    padding: 64px 40px 28px; background: var(--grey);
    display: flex; flex-direction: column; gap: 32px;
    transform: translateX(calc(-100% - var(--sidebar-w)));
    transition: transform .55s var(--ease), visibility 0s .55s;
    visibility: hidden; pointer-events: auto; overflow-y: auto;
}
.sidebar.is-open .sidebar__panel { transform: none; visibility: visible; transition: transform .55s var(--ease); }

.nav-primary { list-style: none; padding: 0; }
.nav-primary a {
    display: inline-block; font-size: clamp(28px, 4vw, 40px); font-weight: 500; line-height: 1.25;
    letter-spacing: -.01em; opacity: .9; transition: opacity .2s, transform .3s var(--ease);
}
.nav-primary a:hover, .nav-primary a[aria-current="page"] { opacity: 1; transform: translateX(6px); }
.nav-primary a[aria-current="page"]::before { content: "— "; }
.nav-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.nav-social { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.nav-social a { display: block; opacity: .75; transition: opacity .2s, transform .2s var(--ease); }
.nav-social a:hover, .nav-social a:focus-visible { opacity: 1; transform: translateY(-2px); }
.nav-social svg { display: block; }
.nav-meta a:hover { text-decoration: underline; }
.nav-meta { font-size: var(--fs-xs); color: var(--muted); line-height: 1.8; }

.sidebar-shroud {
    position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .55);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s;
}
.nav-open .sidebar-shroud { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.nav-open { overflow: hidden; }

/* ==========================================================================
   Ana sayfa — akan proje sütunları
   ========================================================================== */
.is-home .content { margin-left: 0; }
.flow { position: fixed; inset: 0; overflow: hidden; background: var(--ink); touch-action: pan-x; }
.flow__list {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    position: relative; overflow-y: auto; height: 100%;
}
.flow.is-ready .flow__list { display: flex; overflow: hidden; }
.js .flow:not(.is-ready) .flow__list { visibility: hidden; }
.flow__col { position: relative; flex: 1 1 0; min-width: 0; height: 100%; overflow: hidden; cursor: grab; }
.flow__col.is-dragging { cursor: grabbing; }
.flow__track { position: absolute; inset: 0 0 auto 0; will-change: transform; }

.tile {
    position: relative; display: block; height: var(--tile-h); overflow: hidden;
    background: #111; user-select: none; -webkit-user-drag: none;
}
.flow:not(.is-ready) .tile { height: auto; aspect-ratio: 16 / 10; }
.tile picture, .tile__img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile video { opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.tile.is-playing video { opacity: 1; }
.tile__shroud { position: absolute; inset: 0; background: rgba(0, 0, 0, .32); transition: background .4s var(--ease); }
.tile__title {
    position: absolute; left: 16px; right: 16px; bottom: 14px;
    font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; line-height: 1.35;
    opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease);
    text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}
.tile:hover .tile__shroud, .tile:focus-visible .tile__shroud { background: rgba(0, 0, 0, .08); }
.tile:hover .tile__title, .tile:focus-visible .tile__title { opacity: 1; transform: none; }
.tile:hover img { transform: scale(1.03); }
.tile:focus-visible { outline-offset: -3px; }
@media (hover: none) {
    .tile__title { opacity: 1; transform: none; }
    .tile__shroud { background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 55%); }
}

.flow__toggle {
    position: fixed; right: 16px; bottom: 16px; z-index: 30;
    width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(0, 0, 0, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    opacity: .7; transition: opacity .2s;
}
.flow__toggle:hover { opacity: 1; }
.flow__toggle .i-play { display: none; }
.flow__toggle[aria-pressed="true"] .i-play { display: block; }
.flow__toggle[aria-pressed="true"] .i-pause { display: none; }

/* ==========================================================================
   Works
   ========================================================================== */
.theme-light { background: var(--paper); color: var(--paper-ink); color-scheme: light; }
.works { padding-top: 40px; padding-bottom: 80px; }
.works__intro { display: grid; gap: 22px; margin-bottom: 36px; max-width: 760px; }
.works__text { font-weight: 500; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: baseline; gap: 4px;
    padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .18);
    font-size: var(--fs-s); font-weight: 500; transition: background .2s, color .2s, border-color .2s;
}
.chip sup { font-size: 9px; opacity: .6; }
.chip:hover { border-color: var(--paper-ink); }
.chip[aria-current="page"] { background: var(--paper-ink); color: #fff; border-color: var(--paper-ink); }

.works-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    grid-auto-rows: clamp(200px, 22vw, 440px); grid-auto-flow: row dense;
}
.works-grid__item.size-2 { grid-column: span 2; }
.works-grid__item.size-3 { grid-column: span 3; grid-row: span 2; }

.work-card { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #1a1a1a; color: #fff; }
.work-card picture, .work-card img, .work-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-card img { transition: transform 1.2s var(--ease); }
.work-card video { opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.work-card.is-playing video { opacity: 1; }
.work-card__shroud { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 45%); transition: background .4s; }
.work-card__meta { position: absolute; left: 16px; right: 16px; top: 14px; }
.work-card__title { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; line-height: 1.35; }
.work-card__sub {
    display: block; margin-top: 4px; font-size: var(--fs-xs); opacity: 0; transform: translateY(-4px);
    transition: opacity .3s, transform .3s var(--ease);
}
.work-card:hover img { transform: scale(1.035); }
.work-card:hover .work-card__sub { opacity: .8; transform: none; }

@media (max-width: 899px) {
    .works-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .works-grid__item, .works-grid__item.size-2, .works-grid__item.size-3 { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 9; }
}

/* ==========================================================================
   Proje detay
   ========================================================================== */
.project-hero { position: relative; height: 100svh; min-height: 480px; overflow: hidden; background: #000; }
.project-hero__media, .project-hero__media picture, .project-hero__img, .project-hero__video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.project-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.project-hero__video { opacity: 0; transition: opacity 1s var(--ease); }
.project-hero__video.is-playing { opacity: 1; }
.project-hero__shroud { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .12) 35%, rgba(0, 0, 0, .35) 100%); }
.project-hero__head { position: absolute; top: 32px; left: 0; right: 0; display: grid; gap: 14px; max-width: 900px; }
.project-hero__head .page-title { font-size: var(--fs-l); }
.back-link { font-size: var(--fs-s); font-weight: 600; opacity: .85; width: fit-content; }
.back-link:hover { opacity: 1; text-decoration: underline; }

.play {
    position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px;
    display: grid; place-items: center; border-radius: 50%;
}
.play__icon {
    width: 0; height: 0; margin-left: 10px;
    border-left: 46px solid #fff; border-top: 28px solid transparent; border-bottom: 28px solid transparent;
    filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .35));
    transition: transform .35s var(--ease);
}
.play:hover .play__icon { transform: scale(1.12); }
.project-hero__more {
    position: absolute; left: var(--gutter); bottom: 28px;
    font-size: var(--fs-s); font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}

.project-details {
    display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px);
    padding-top: clamp(48px, 8vw, 110px); padding-bottom: clamp(48px, 8vw, 110px);
    background: var(--ink);
}
.meta-list, .credits { display: grid; gap: 12px; margin-bottom: 36px; }
.meta-list div, .credits div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; font-size: var(--fs-s); }
.meta-list dt, .credits dt { color: var(--muted); }
.meta-list dd, .credits dd { margin: 0; }
@media (max-width: 899px) { .project-details { grid-template-columns: 1fr; } }

.project-nav { display: grid; grid-template-columns: 1fr 1fr; background: #000; }
.project-nav__link { position: relative; display: block; height: clamp(180px, 28vw, 380px); overflow: hidden; }
.project-nav__link picture, .project-nav__link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-nav__link img { opacity: .45; transition: opacity .5s var(--ease), transform 1.2s var(--ease); }
.project-nav__link:hover img { opacity: .75; transform: scale(1.03); }
.project-nav__label { position: absolute; top: 20px; left: 24px; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.project-nav__title { position: absolute; left: 24px; right: 24px; bottom: 22px; font-size: var(--fs-l); font-weight: 500; }
.project-nav__link.is-next { text-align: right; }
.project-nav__link.is-next .project-nav__label { left: auto; right: 24px; }
@media (max-width: 640px) { .project-nav { grid-template-columns: 1fr; } }

.related { padding-top: 56px; padding-bottom: 80px; background: var(--ink); }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.related__grid li { aspect-ratio: 16 / 10; }
@media (max-width: 899px) { .related__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Lightbox (video oynatıcı)
   ========================================================================== */
.lightbox {
    position: fixed; inset: 0; z-index: 90; background: #000;
    display: grid; place-items: center; padding: 64px 24px;
    animation: fade-in .35s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox__stage { width: min(100%, calc((100svh - 128px) * 16 / 9)); aspect-ratio: 16 / 9; }
.lightbox__stage iframe, .lightbox__stage video { width: 100%; height: 100%; border: 0; background: #000; }
.lightbox__close { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; display: grid; place-items: center; color: #d6d6d6; }
.lightbox__close:hover { color: #fff; }
@keyframes fade-in { from { opacity: 0; } }

/* ==========================================================================
   Services
   ========================================================================== */
.cover-section {
    position: relative; min-height: 100svh; display: grid; place-items: center;
    padding: 96px var(--gutter); overflow: hidden; text-align: center; background: #000;
}
.cover-section__bg, .cover-section__bg picture, .cover-section__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-section__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cover-section__content { position: relative; max-width: 1100px; display: grid; gap: 28px; justify-items: center; }
.cover-section__content.is-narrow { max-width: 620px; }
.cover-section__content .prose { font-size: var(--fs-l); margin-inline: auto; }
.services__cta { position: absolute; top: 28px; right: var(--gutter); z-index: 2; font-size: var(--fs-s); font-weight: 600; }
.services__cta:hover { text-decoration: underline; }

.split-section {
    display: grid; grid-template-columns: 1fr 1fr; align-items: center;
    gap: clamp(28px, 6vw, 96px); padding: clamp(56px, 9vw, 130px) var(--gutter); background: var(--services-bg);
}
.split-section.is-reverse .split-section__text { order: 2; }
.split-section__figure { aspect-ratio: 4 / 3; overflow: hidden; }
.split-section__figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
    .split-section { grid-template-columns: 1fr; }
    .split-section.is-reverse .split-section__text { order: 0; }
}
.services { background: var(--ink); }
.services__body { padding-block: 64px; background: var(--services-bg); }
.cover-section.is-plain { background: var(--services-bg-2); }
.split-section.is-text-only { grid-template-columns: minmax(0, 720px); }
.services-footer { display: grid; justify-items: center; text-align: center; gap: 14px; padding-block: clamp(56px, 8vw, 110px); background: var(--ink); font-size: var(--fs-l); }
.services-footer a:not(.btn-pill) { text-decoration: underline; text-underline-offset: 3px; }
.services-footer .section-title { margin: 0; }

/* ==========================================================================
   About
   ========================================================================== */
.about { position: relative; min-height: 100svh; }
.page-bg { position: fixed; inset: 0; z-index: -1; }
.page-bg picture, .page-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-bg::after { content: ""; position: absolute; inset: 0; background: rgb(28 28 28 / var(--bg-dim, .78)); }
.about__inner { position: relative; padding-top: 40px; padding-bottom: 80px; }
.about__cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 120px); margin-top: 28px; }
.client-list { display: grid; gap: 4px; font-size: var(--fs-l); }
.client-list img { height: 28px; width: auto; filter: grayscale(1) brightness(2); }
@media (max-width: 899px) { .about__cols { grid-template-columns: 1fr; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.contact__col { padding-top: 40px; padding-bottom: 64px; }
.contact__col.is-dark { background: var(--grey); display: grid; align-content: start; gap: 32px; }
.contact__col.is-light { background: var(--paper); color: var(--paper-ink); color-scheme: light; }
.contact__intro { font-size: var(--fs-l); max-width: 40ch; }
.contact__people { display: grid; gap: 22px; font-size: var(--fs-l); }
.contact__people a:hover { text-decoration: underline; }
.contact__locations { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.location address { font-style: normal; font-size: var(--fs-m); margin-bottom: 10px; }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } }
.contact.is-single { grid-template-columns: 1fr; }

.form { display: grid; gap: 18px; margin-top: 28px; max-width: 640px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: rgba(0, 0, 0, .6); }
.field input, .field textarea {
    width: 100%; font: inherit; font-size: var(--fs-m); color: var(--paper-ink);
    background: transparent; border: 0; border-bottom: 1px solid rgba(0, 0, 0, .25);
    padding: 10px 0; border-radius: 0; transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--paper-ink); }
.field.is-check label { display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: var(--fs-s); color: rgba(0, 0, 0, .75); }
.field.is-check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--paper-ink); }
.field__error { font-size: var(--fs-xs); color: #c0392b; min-height: 0; }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; }
.form button[type="submit"] { justify-self: start; }
.form button[disabled] { opacity: .5; cursor: progress; }
.form__status { font-size: var(--fs-s); }
.notice { padding: 14px 18px; border-radius: 8px; font-size: var(--fs-s); margin-top: 20px; }
.notice.is-success { background: #e8f5ec; color: #1e6b3a; }
.notice.is-error { background: #fdecea; color: #a12a1d; }

/* ==========================================================================
   Hata sayfası, çerez bildirimi
   ========================================================================== */
.error-page { min-height: 100svh; display: grid; align-content: center; gap: 18px; max-width: 760px; }

.consent {
    position: fixed; right: 16px; bottom: 60px; z-index: 80; width: min(380px, calc(100vw - 32px));
    padding: 18px 20px; border-radius: 12px; background: rgba(28, 28, 28, .92); color: #fff;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    font-size: var(--fs-s); box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.consent[hidden] { display: none; }
.consent__actions { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 12px; }
.consent .btn-pill { padding: 8px 16px; }

/* ==========================================================================
   Mobil: kenar çubuğu üst çubuğa dönüşür
   ========================================================================== */
@media (max-width: 640px) {
    :root { --sidebar-w: 0px; --gutter: 18px; }
    .sidebar { inset: 0 0 auto 0; height: 68px; }
    .sidebar__bar {
        position: fixed; top: 0; left: 0; right: 0; width: auto; height: 68px;
        flex-direction: row-reverse; padding: 0 22px;
    }
    /* Dikey logo yatay okunacak şekilde döndürülür; kutu döndürülmüş görselin boyutunda */
    .sidebar__logo { position: relative; width: 132px; height: 38px; }
    .sidebar__logo img, .sidebar__logo .logo-svg {
        position: absolute; left: 50%; top: 50%; width: 36px; height: auto;
        transform: translate(-50%, -50%) rotate(90deg);
    }
    .sidebar__logo .logo-svg { height: 72px; }
    .navicon { width: 30px; height: 24px; }
    .navicon span { height: 2px; }
    .navicon span:first-child { top: 6px; }
    .navicon span:last-child { top: 16px; }
    .sidebar.is-open .navicon span:first-child, .sidebar.is-open .navicon span:last-child { top: 11px; }
    .sidebar__panel {
        position: fixed; top: 68px; left: 0; width: 100vw; height: calc(100svh - 68px);
        transform: translateY(-110%); padding: 44px 26px 28px; gap: 36px;
    }
    .content { padding-top: 68px; }
    /* Mobil menü: daha büyük, nefes alan bağlantılar */
    .nav-primary { display: grid; gap: 10px; }
    .nav-primary a { font-size: clamp(38px, 11vw, 48px); line-height: 1.1; }
    .nav-social { gap: 20px; }
    .nav-social svg { width: 22px; height: 22px; }
    .nav-meta { font-size: 12px; line-height: 1.9; }
    .is-home .content { padding-top: 0; }
    .project-hero { height: calc(100svh - 68px); }
    .play { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
    .play__icon { border-left-width: 34px; border-top-width: 21px; border-bottom-width: 21px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Sayfa geçişi */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* Taslak önizleme çubuğu */
.preview-bar {
    position: fixed; top: 0; left: var(--sidebar-w); right: 0; z-index: 60;
    padding: 10px 18px; background: #f5b400; color: #111; font-size: var(--fs-s); font-weight: 600;
}
.preview-bar a { text-decoration: underline; margin-left: 8px; }
.preview-bar + .project-hero .project-hero__head { top: 72px; }

/* Panelden eklenen sayfalar (Gizlilik, KVKK…) */
.custom-page { padding-top: 40px; padding-bottom: 96px; max-width: 900px; }
.custom-page__head { display: grid; gap: 18px; margin-bottom: 32px; }
.custom-page__body h2 { margin-top: 1.8em; }
.custom-page__updated { margin-top: 48px; font-size: var(--fs-s); }
.theme-light .muted { color: rgba(0, 0, 0, .55); }
.consent__link { text-decoration: underline; text-underline-offset: 3px; }
