.mobile-menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: white;
    cursor: pointer;
    list-style: none;
}
.mobile-menu-toggle::-webkit-details-marker { display: none; }

.mobile-menu-links {
    position: fixed;
    inset: 4rem 0 auto;
    max-height: calc(100dvh - 8rem - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: .5rem max(1.25rem, env(safe-area-inset-right)) .75rem max(1.25rem, env(safe-area-inset-left));
}
.mobile-menu-links a {
    display: flex;
    align-items: center;
    min-height: 46px;
    border-top: 1px solid rgb(255 255 255 / 16%);
}
@media (max-width: 767px) {
    .mobile-contact-bar { padding-bottom: env(safe-area-inset-bottom); }
    body > footer { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
    #back-to-top, #analytics-choice { bottom: calc(5rem + env(safe-area-inset-bottom)); }
    header nav, main .max-w-6xl.px-6, footer .max-w-6xl.px-6 { padding-inline: clamp(1rem, 4vw, 1.5rem); }
    #mesaj > div { padding: 1.25rem; }
    #mesaj :is(input:not([type="hidden"]), select, textarea) { font-size: max(16px, 1rem); min-width: 0; }
    #mesaj, #mesaj label { min-width: 0; }
    .project-filters { display: flex; flex-wrap: wrap; }
    .project-filters a, nav[aria-label="Proje görünümü"] a {
        display: grid;
        place-items: center;
        min-height: 44px;
        padding-inline: .65rem;
    }
    .project-filters a { flex: 1 1 auto; text-align: center; }
    [data-project-map] { height: clamp(14rem, 45svh, 20rem); }
    .site-prose img, .site-prose video { max-width: 100%; height: auto; }
    .site-prose table { display: block; max-width: 100%; overflow-x: auto; }
}

.banner-band {
    background: linear-gradient(to bottom, rgb(2 6 23 / 14%), rgb(2 6 23 / 54%));
}
.banner-band::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin-inline: auto;
    background: rgb(255 255 255 / 65%);
}
@keyframes hero-subtle-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.055); }
}
.hero-slide.is-active img { animation: hero-subtle-zoom 7s ease-out both; }
@media (prefers-reduced-motion: reduce) { .hero-slide.is-active img { animation: none; } }

.project-banner { display: grid; grid-template-rows: 1fr auto; min-height: clamp(25rem, 54vh, 37rem); color: white; }
.project-facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap: 1.25rem; padding-block: 1.4rem; }
.project-facts dt { font-size: .82rem; color: #e2e8f0; }
.project-facts dd { margin-top: .2rem; font-weight: 650; font-size: clamp(1.1rem,2vw,1.55rem); overflow-wrap: anywhere; }
.banner-controls { position: absolute; top: 1rem; right: max(1.5rem,calc((100% - 75rem)/2)); display: flex; gap: .35rem; }
.banner-controls button { width: 2.75rem; height: 2.75rem; border: 1px solid #ffffff80; background: #0b1a2e99; color: white; }
@media (max-width: 640px) { .project-facts { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (prefers-reduced-motion: reduce) { [data-slide] { transition: none; } }
.banner-photo-caption {
    position: relative;
    isolation: isolate;
    width: min(100%, 19rem);
    padding: .55rem 1rem;
    border-inline-start: 2px solid rgb(255 255 255 / 70%);
    color: white;
    font-size: .8rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.banner-photo-caption::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 auto 0 0;
    width: max(100%, calc(100% + (100vw - min(100vw, 78rem)) / 2 + 1.5rem));
    background: linear-gradient(90deg, rgb(10 26 45 / 90%) 0%, rgb(10 26 45 / 72%) 48%, transparent 100%);
    pointer-events: none;
}
.banner-photo-caption strong, .banner-photo-caption span:not(:empty) { display: block; }
.banner-photo-caption span { color: #e1e7ed; font-size: .75rem; }
