/* ============================================
   KONSEPTO GLOBAL, Custom Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-bg: #FAFAF5;
    --color-text: #111111;
    --color-lime: #C6F135;
    --color-charcoal: #1A1A1A;
    --color-muted: #666666;
    --color-border: rgba(0,0,0,0.08);
    --font-heading: 'Montserrat', sans-serif;
    --heading-tracking: -0.01em; /* büyük başlıkların harf aralığı: sitenin TEK ayar yeri */
    --font-body: 'Inter', sans-serif;
    --font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Segoe UI Mono', monospace;
}

/* --- Font Face Declarations --- */

/* Inter, body text (variable font, weight 300-600) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Montserrat, variable weight (400-900), latin-ext (Turkish, Slovenian etc.) */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat, variable weight (400-900), latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Base Styles --- */
body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Hero Cinematic Slideshow --- */
.hero-animated {
    position: relative;
    overflow: hidden;
}
.hero-animated > * {
    position: relative;
    z-index: 2;
}

/* Slideshow container */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slideshow::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(26,26,26,0.4) 0%, rgba(26,26,26,0.2) 40%, rgba(26,26,26,0.7) 80%, rgba(26,26,26,1) 100%),
        linear-gradient(to right, rgba(26,26,26,0.6) 0%, transparent 50%);
    z-index: 1;
}

/* Each slide */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: hero-crossfade 25s ease-in-out infinite;
    will-change: opacity, transform;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) saturate(0.7);
}

/* Ken Burns zoom, each slide gets slightly different movement */
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(1) img { animation: ken-burns-1 25s ease-in-out infinite; }

.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(2) img { animation: ken-burns-2 25s ease-in-out infinite; animation-delay: 5s; }

.hero-slide:nth-child(3) { animation-delay: 10s; }
.hero-slide:nth-child(3) img { animation: ken-burns-3 25s ease-in-out infinite; animation-delay: 10s; }

.hero-slide:nth-child(4) { animation-delay: 15s; }
.hero-slide:nth-child(4) img { animation: ken-burns-1 25s ease-in-out infinite; animation-delay: 15s; }

.hero-slide:nth-child(5) { animation-delay: 20s; }
.hero-slide:nth-child(5) img { animation: ken-burns-2 25s ease-in-out infinite; animation-delay: 20s; }

/* Crossfade: 5 slides, 25s total = 5s per slide. Fade in 1s, hold 3s, fade out 1s */
@keyframes hero-crossfade {
    0%      { opacity: 0; }
    2%      { opacity: 1; }
    18%     { opacity: 1; }
    22%     { opacity: 0; }
    100%    { opacity: 0; }
}

/* Ken Burns variants, slow zooms and pans */
@keyframes ken-burns-1 {
    0%   { transform: scale(1.0) translate(0, 0); }
    50%  { transform: scale(1.15) translate(-2%, -1%); }
    100% { transform: scale(1.0) translate(0, 0); }
}
@keyframes ken-burns-2 {
    0%   { transform: scale(1.1) translate(1%, 0); }
    50%  { transform: scale(1.0) translate(-1%, 2%); }
    100% { transform: scale(1.1) translate(1%, 0); }
}
@keyframes ken-burns-3 {
    0%   { transform: scale(1.05) translate(-1%, 1%); }
    50%  { transform: scale(1.18) translate(2%, -1%); }
    100% { transform: scale(1.05) translate(-1%, 1%); }
}

/* Subtle vignette on hero */
.hero-slideshow::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    box-shadow: inset 0 0 200px 60px rgba(26,26,26,0.5);
    pointer-events: none;
}

/* Thin lime accent line at bottom of hero */
.hero-animated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-lime), transparent);
    opacity: 0.4;
    z-index: 3;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.8); opacity: 0.4; }
}

/* Stagger children */
.stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(7) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* --- Menu Overlay --- */
#menu-overlay {
    clip-path: circle(0% at calc(100% - 40px) 32px);
    transition: clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
#menu-overlay.active {
    clip-path: circle(150% at calc(100% - 40px) 32px);
    pointer-events: all;
}

.burger-line { transition: all 0.3s ease; transform-origin: center; }
.menu-active .line-1 { transform: translateY(7px) rotate(45deg); }
.menu-active .line-2 { opacity: 0; }
.menu-active .line-3 { transform: translateY(-7px) rotate(-45deg); }

/* --- Link underline animation --- */
.link-hover {
    position: relative;
    display: inline-block;
}
.link-hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-lime);
    transition: width 0.3s ease;
}
.link-hover:hover::after {
    width: 100%;
}

/* --- Form Styles --- */
input, textarea, select {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--color-lime);
}

/* Dark section form overrides */
.dark-section input, .dark-section textarea, .dark-section select {
    border-bottom-color: rgba(255,255,255,0.15);
    color: #fff;
}
.dark-section input:focus, .dark-section textarea:focus, .dark-section select:focus {
    border-color: var(--color-lime);
}
.dark-section input::placeholder, .dark-section textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

/* --- Lightbox --- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    cursor: pointer;
}
.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.lightbox-overlay img,
.lightbox-overlay > div {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
}

/* --- Map pulse --- */
.map-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}

/* --- Seçili menü öğesi: yeşil yazı (dil seçicideki seçili dil ile aynı). Alt çizgi yok. ---
   Eski kural alt çizgi çiziyordu ama .link-hover::after'ın width:0 değeri yüzünden hiç görünmüyordu. */
.nav-active, .nav-active:hover { color: var(--color-lime); }
.nav-active::after { display: none; }

/* --- Client Logo Marquee --- */
.marquee-track {
    display: flex;
    gap: 4rem;
    animation: marquee-scroll 30s linear infinite;
    width: max-content;
}
.marquee-track:hover {
    animation-play-state: paused;
}
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Device Mockup Frame --- */
.device-frame {
    background: #000;
    border-radius: 12px;
    padding: 8px 8px 24px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.device-frame::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
}
.device-frame-inner {
    border-radius: 6px;
    overflow: hidden;
}

/* --- Photo Block (visual break) --- */
.photo-block {
    position: relative;
    overflow: hidden;
}
.photo-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4));
    z-index: 1;
}

/* --- Grain Texture Overlay --- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

/* --- Custom Cursor for Portfolio Items --- */
.project-card {
    cursor: none;
    position: relative;
}
.cursor-label {
    position: fixed;
    pointer-events: none;
    z-index: 100;
    background: var(--color-lime);
    color: var(--color-charcoal);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.cursor-label.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* --- Scroll Progress Bar (case studies) --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--color-lime);
    z-index: 9999;
    width: 0%;
    transition: width 0.05s linear;
}

/* --- Photo Section Styles --- */
.photo-section {
    position: relative;
    overflow: hidden;
}
.photo-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.photo-section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5));
    z-index: 1;
}

/* --- Large Headline Line-Height Fix --- */
/* Prevents Turkish/Slovenian diacritics (İ, Ş, Ç, Ğ) from overlapping on big uppercase headings */
h1.font-heading,
h2.font-heading {
    line-height: 1.0 !important;
}
/* Türkçe: İ noktası kalın Montserrat'ta 0,975em'e çıkıyor (ölçüm 2026-11-18); 1,0 aralıkta üst satıra değiyordu.
   Kullanıcı: "aralığı biraz (abartma biraz) artırmak lazım". Slovence (Š, Č, Ž) aynı gün eklendi: "aynı sorun orada da var".
   Türkçe ve Slovence sayfalarda 1,1; İngilizce 1,0 kalır. */
html[lang="tr"] h1.font-heading,
html[lang="tr"] h2.font-heading,
html[lang="sl"] h1.font-heading,
html[lang="sl"] h2.font-heading,
html[lang="tr"] .pj-index__title,
html[lang="tr"] .pj-case__title,
html[lang="sl"] .pj-index__title,
html[lang="sl"] .pj-case__title {
    line-height: 1.1 !important;
}
/* Projeler listesi ve proje sayfası başlıkları (projects.css, 1,02) aynı kurala bağlıdır: satır aralığı tek yerden yönetilir. */

/* --- Başlık harf aralığı: tek merkezi kural (Tailwind'in -.025em / -.05em sıkıştırması kalın Montserrat'ta harfleri yapıştırıyordu) --- */
.font-heading.tracking-tight,
.font-heading.tracking-tighter { letter-spacing: var(--heading-tracking); }

/* --- Büyük sayfa başlığı: boyut, içerikteki satır kırılımı (ör. "Meets Engineering") tek satıra sığacak şekilde seçildi.
   Sığdırmak için harf aralığıyla OYNAMA; gerekiyorsa buradaki boyutu değiştir. --- */
h1.hero-title { font-size: clamp(2.5rem, 6.6vw, 6rem); text-wrap: balance; }
/* BAŞLIK SIĞMA KURALI (okuma tarafı; 2026-11-17: "MÜHENDİSLİĞİN" telefonda kutudan 17px taştı). Şablon (section-renderer.ejs, heroNeed)
   başlığın sığması için gereken eni em olarak --hero-need ile verir; punto = küçük olan(tasarım boyu, kutu eni / --hero-need).
   Tasarım boyu yetiyorsa hiçbir şey değişmez; sözcük bölünmez; sayı saklanmaz. Eski tarayıcıda (cqi yok) tasarım boyu kalır. */
.hero-fit { container-type: inline-size; }
@supports (width: 1cqi) { .hero-fit h1.hero-title { font-size: min(clamp(2.5rem, 6.6vw, 6rem), calc(100cqi / var(--hero-need, 0.1))); } }

/* --- Utility Classes --- */
.font-heading { font-family: var(--font-heading); }
.font-mono { font-family: var(--font-mono); }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Selection color */
::selection {
    background: var(--color-lime);
    color: var(--color-charcoal);
}

.contact-map-input {
    backdrop-filter: blur(2px);
}

/* --- Header: constant translucent grey glass (same on every page, scrolled or not) --- */
.site-header {
    background: rgba(40, 40, 40, 0.55);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Açık zeminli sayfada aynı cam griye dönüp çamurlaşıyordu; orada koyu ve daha az geçirgen olur. */
body:has(.pj-case) .site-header {
    background: rgba(17, 17, 17, 0.86);
}

/* Sıkı satır aralıklı (0.85) büyük başlıklarda Türkçe İ'nin noktası satır kutusunun üstüne taşıp bir üstteki
   küçük yazıya biniyordu; ilk satırın üstüne nokta kadar yer açılır. */
.leading-\[0\.85\] { padding-top: 0.14em; }

/* --- Back to top: same grey glass as the header; sits above the cookie bar --- */
.to-top {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 45;
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(40, 40, 40, 0.6); color: #fff; cursor: pointer;
    -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
    display: grid; place-items: center;
    opacity: 0; transform: translateY(8px); pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--color-lime); color: var(--color-charcoal); border-color: var(--color-lime); }
.to-top:focus-visible { outline: 2px solid var(--color-lime); outline-offset: 3px; }
@media (min-width: 768px) { .to-top { right: 2rem; bottom: 2rem; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* --- Lightbox controls: previous / next, counter --- */
.lightbox-overlay #lightbox-content img { max-width: min(90vw, 1500px); max-height: 84vh; object-fit: contain; display: block; cursor: pointer; }
.lightbox-overlay .lightbox-close { appearance: none; background: none; border: 0; color: #fff; cursor: pointer; line-height: 1; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(20, 20, 20, 0.5); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.6); }
.lightbox-nav:focus-visible, .lightbox-overlay .lightbox-close:focus-visible { outline: 2px solid var(--color-lime); outline-offset: 3px; }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-count { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.7); font: 500 0.875rem/1 var(--font-body); font-variant-numeric: tabular-nums; }
.lightbox-overlay.is-single .lightbox-nav { display: none; }
@media (max-width: 640px) { .lightbox-nav { width: 42px; height: 42px; } .lightbox-prev { left: 0.5rem; } .lightbox-next { right: 0.5rem; } }

/* --- Fotoğraf bloğu: yazı görselin altında, koyu zeminde (blok ayarı caption_position = gorsel-altinda) ---
   Görselle yazı arasındaki boşluk buradadır. Koyu zemin, bölümün bg-charcoal sınıfından gelir. */
.photo-cap { padding-top: clamp(1.75rem, 3vw, 2.5rem); padding-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.photo-cap span { display: block; }
/* Yazı görselin altındayken blok koyu zeminde biter. Hemen ardından gelen bölüm de koyuysa iki boşluk üst üste biner ve yazı ile
   sonraki başlık arası anlamsız açılır: sonraki bölümün üst boşluğu kısalır (yazıdan başlığa toplam: masaüstü ~96px, telefon ~68px). */
.photo-with-cap + section.bg-charcoal { padding-top: 2.5rem; }
@media (min-width: 768px) { .photo-with-cap + section.bg-charcoal { padding-top: 3.5rem; } }

/* --- Fotoğraf bloğu: renkli, dikey, saydam şeritler (blok ayarı filter = renkli-seritler) ---
   Şeritler görselin üstünde durur ama onu örtmez: karışım "overlay" olduğu için koyu yerler koyu kalır, ışıklı yerler şeridin rengini alır.
   Yerler çerçevenin genişliğine göre yüzdedir, her ekranda aynı ritim. TEK katman, TEK kural: görselin hiçbir bölgesi ayrı ele alınmaz
   (ne şeritsiz bırakılır ne üstü ayrı bir blokla kapatılır). Görseldeki bir öğe fazla öne çıkıyorsa çözüm burada aranmaz, görsel yenilenir.
   Renkler ve yerler yalnız burada tanımlıdır. Karışımı tanımayan tarayıcıda şeritler hiç basılmaz (düz renkli çubuk görseli kapatmasın). */
.photo-strips { display: none; }
@supports (mix-blend-mode: overlay) {
    .photo-strips {
        --s1: var(--color-lime); --s2: #12CFC9; --s3: #5B4BFF; --s4: #FF2D8A;
        display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; mix-blend-mode: overlay;
        background: linear-gradient(90deg,
            transparent 4%, var(--s1) 4% 12%, transparent 12% 15%,
            var(--s2) 15% 18%, transparent 18% 20%,
            var(--s3) 20% 33%, transparent 33% 38%,
            var(--s1) 38% 43%, transparent 43% 46%,
            var(--s4) 46% 48%, transparent 48% 56%,
            var(--s2) 56% 65%, transparent 65% 68%,
            var(--s3) 68% 76%, transparent 76% 82%,
            var(--s2) 82% 88%, transparent 88% 91.5%,
            var(--s1) 91.5% 96%, transparent 96% 97.5%,
            var(--s2) 97.5% 99%, transparent 99%);
    }
}

/* Açılış (hero_text) gövde metni: içerikteki satır başı basılır (panel: gövde metni çok satırlı alan). Sınıf şablonda: section-renderer.ejs */
.hero-body { white-space: pre-line; }

/* Ana sayfa açılışı (hero_video) alt satırı. Kullanıcı 2026-11-17: "daha büyük yazsın" (eskisi 18px / 20px, en çok 36rem genişlik).
   Boyut tek kuraldan: telefonda ve tablette 22px, 1440'ta 27px (denemeler: 26 / 34px, sonra 24 / 30px; kullanıcı iki kez "bir tık küçülsün" dedi). Satır aralığı iri yazıya göre sıkı; genişlik sınırı yok (yanındaki düğmeye kadar). */
.hero-sub { margin: 0; font-size: clamp(1.375rem, 1.9vw, 1.6875rem); line-height: 1.3; }

/* ALT BİLGİ ALT SATIRI (şirket satırı + yasal bağlantılar). Kullanıcı 2026-11-18: bağlantılar "iki satıra düşmüş, çok çirkin".
   Kural: 640 ve üstünde iki parça da küçülmez; yan yana sığmazlarsa bağlantılar BLOK olarak şirket satırının altına iner.
   Bağlantıların kendi içinde bölünmesi yalnız blok tek başına satıra sığmadığında olur (telefonda). Dil ve bağlantı sayısından bağımsızdır. */
@media (min-width: 640px) {
  .foot-bar { flex-wrap: wrap; }
  .foot-bar > * { flex: 0 0 auto; max-width: 100%; }
}

/* Kart ızgarasında iş kartı (section-renderer.ejs card_grid, INV: card-grid-case-source): görsel Projeler sayfasındaki kartla aynı 4:3 çerçevede. */
.cg-case__media { aspect-ratio: 4 / 3; }

/* Çerez tercihleri (public-cookie.ejs): her kategori bir satır, anahtar sağda, satırın tamamı tıklanır. Genel input stili ezilir. */
.cc-opts { max-width: 36rem; margin: 0 0 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.cc-opt { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .875rem 0; border-bottom: 1px solid rgba(255,255,255,.1); cursor: pointer; }
.cc-opt.is-locked { cursor: default; }
.cc-opt__name { display: block; color: #fff; font-size: .875rem; font-weight: 600; }
.cc-opt__desc { display: block; margin-top: .125rem; color: rgba(255,255,255,.45); font-size: .75rem; }
.cc-opts .cc-switch { -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 2.75rem; height: 1.5rem; margin: 0; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.2); cursor: pointer; transition: background-color .2s; }
.cc-opts .cc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.cc-opts .cc-switch:checked { background: var(--color-lime); }
.cc-opts .cc-switch:checked::after { transform: translateX(1.25rem); background: var(--color-charcoal); }
.cc-opts .cc-switch:disabled { opacity: .6; cursor: not-allowed; }
.cc-opts .cc-switch:focus-visible { outline: 2px solid var(--color-lime); outline-offset: 3px; }

/* Ana sayfa açılışı (section-renderer.ejs hero_video): telefonda yazı ve düğme ekranın dibine yapışmasın (kullanıcı 2026-11-20).
   100svh = tarayıcı çubukları hariç görünen yükseklik; telefonda alt boşluk 4rem → 5.5rem (7rem fazla geldi). */
.hero-video-sec { min-height: 100vh; min-height: 100svh; }
@media (max-width: 767px) { .hero-video-sec { padding-bottom: 5.5rem; } }
