/* ==========================================================================
   GEFOK — Tasarım sistemi (base.css)
   DG Cinema ilhamlı sinematik koyu tema + "Klasik Film" sepya teması.

   Temalanabilir renkler YALNIZCA şu değişkenlerle kullanılır
   (/api/theme.css yönetici panelinden bunları ezer):
     --accent --bg --surface --text --muted --radius --btn-radius

   Galeri sayfalarının yeniden kullanacağı genel sınıflar (özet):
     Düzen      .container .section .section--tight .section-head .section-num
                .section-label .section-title .section-lead .grid-auto
     Tipografi  .display .gradient-text .mono .kicker .muted
     Bileşen    .btn (.btn--primary .btn--ghost .btn--sm .btn--icon)
                .frame (köşe işaretli sinematik çerçeve) .frame--lg
                .film-band (fotoğraf altı film şeridi + fotoğrafçı adı)
                .photo-card (.photo-card__media .photo-card__img .photo-card__meta)
                .badge (.badge--acil .badge--etkinlik .badge--duyuru)
                .chip (filtre düğmesi; aktif: [aria-pressed="true"] veya .is-active)
                .card .empty-state .skeleton .spinner
                .field .field__label .field__input .field__error .check .form-msg
                .modal-backdrop (lightbox vb. için koyu kaplama)
     Hareket    .reveal (+ data-reveal-delay="1..6") → core.js görünürken .is-visible ekler
                [data-parallax="0.15"] → core.js kaydırmaya göre dikey kaydırır
     Yardımcı   .visually-hidden .hp-field (bal küpü) .no-scroll .stack .cluster
   ========================================================================== */

/* ---------- Yazı tipi (yerel, değişken Inter) ---------- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/inter-latin-wght-normal.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;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/inter-latin-ext-wght-normal.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;
}

/* ---------- Tasarım değişkenleri ---------- */
:root {
    /* Temalanabilir (yönetici paneli) */
    --accent: #E50913;
    --bg: #070707;
    --surface: #111113;
    --text: #F2F1ED;
    --muted: #8A8A90;
    --radius: 4px;
    --btn-radius: 999px;

    /* Türetilmiş */
    --line: color-mix(in srgb, var(--text) 14%, transparent);
    --line-strong: color-mix(in srgb, var(--text) 28%, transparent);
    --surface-2: color-mix(in srgb, var(--surface) 82%, var(--text) 6%);
    --text-soft: color-mix(in srgb, var(--text) 78%, var(--bg));
    --accent-soft: color-mix(in srgb, var(--accent) 18%, transparent);
    --on-accent: #ffffff;
    --shade: color-mix(in srgb, var(--bg) 92%, transparent);
    --heading-gradient: linear-gradient(180deg, var(--text) 30%, color-mix(in srgb, var(--text) 52%, var(--bg)) 100%);

    --badge-acil: #E50913;
    --badge-etkinlik: #F2B705;
    --badge-duyuru: #2F80ED;
    --ok: #2EB872;
    --err: #FF4D4F;

    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-mono: ui-monospace, 'SFMono-Regular', 'JetBrains Mono', Consolas, 'Liberation Mono', monospace;

    --gutter: clamp(16px, 4vw, 56px);
    --container: 1320px;
    --header-h: 72px;
    --section-y: clamp(80px, 12vw, 168px);
    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);

    color-scheme: dark;
}

/* "Klasik Film" — sıcak sepya, eski baskı kağıdı */
html[data-theme="classic"] {
    --accent: #9B2C14;
    --bg: #EFE4CF;
    --surface: #E6D7BC;
    --text: #2A1F14;
    --muted: #6E5A44;
    --on-accent: #FFF8EC;
    --badge-etkinlik: #A86F00;
    --badge-duyuru: #2C5A8C;
    --ok: #2F7A45;
    --err: #A3271B;
    color-scheme: light;
}
html[data-theme="classic"] img:not(.no-sepia) {
    filter: sepia(.38) saturate(.85) contrast(1.04);
}

/* ---------- Sıfırlama ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background: var(--bg);
    scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    font-feature-settings: 'ss01', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}
img, picture, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
h1, h2, h3, h4 { line-height: 1.05; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}
[hidden] { display: none !important; }

/* Film greni — çok hafif, sinematik doku */
body::before {
    content: "";
    position: fixed;
    inset: -50%;
    z-index: 9000;
    pointer-events: none;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 1.2s steps(6) infinite;
}
html[data-theme="classic"] body::before { opacity: .09; }
@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    20% { transform: translate(-3%, 2%); }
    40% { transform: translate(2%, -3%); }
    60% { transform: translate(-2%, -1%); }
    80% { transform: translate(3%, 3%); }
}

/* ---------- Yardımcılar ---------- */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}
/* Bal küpü alanı: botlar doldurur, insanlar görmez */
.hp-field {
    position: absolute !important;
    left: -10000px;
    width: 1px; height: 1px;
    overflow: hidden;
}
.no-scroll { overflow: hidden; }
.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.stack > * + * { margin-top: var(--stack, 1rem); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--cluster, 12px); align-items: center; }
.muted { color: var(--muted); }
.mono {
    font-family: var(--font-mono);
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}
.kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--accent);
}
.gradient-text {
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.display {
    font-size: clamp(2.6rem, 8.2vw, 7.6rem);
    font-weight: 800;
    line-height: .92;
    letter-spacing: -.045em;
    text-transform: uppercase;
}
.accent { color: var(--accent); }

.skip-link {
    position: fixed;
    left: 16px;
    top: -60px;
    z-index: 10001;
    padding: 10px 16px;
    background: var(--accent);
    color: var(--on-accent);
    border-radius: var(--radius);
    font-weight: 600;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Butonlar ---------- */
.btn {
    --btn-bg: transparent;
    --btn-fg: var(--text);
    --btn-border: var(--line-strong);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 26px;
    border: 1px solid var(--btn-border);
    border-radius: var(--btn-radius);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: .01em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
    transition: color .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease), transform .35s var(--ease);
}
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--accent);
    transform: translateY(101%);
    transition: transform .45s var(--ease);
}
.btn:hover { border-color: var(--accent); color: var(--on-accent); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: scale(.98); }
.btn--primary { --btn-bg: var(--accent); --btn-fg: var(--on-accent); --btn-border: var(--accent); }
.btn--primary::after { background: var(--text); }
.btn--primary:hover { color: var(--bg); border-color: var(--text); }
.btn--ghost { --btn-border: var(--line); }
.btn--sm { min-height: 38px; padding: 8px 16px; font-size: .82rem; }
.btn--icon { min-height: 40px; width: 40px; padding: 0; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-underline {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .4s var(--ease);
}
.link-underline:hover { background-size: 100% 1px; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--header-h);
    transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .45s var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: .2em;
    font-size: 1rem;
    text-transform: uppercase;
}
.brand__mark {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--text);
    transition: transform 1.2s var(--ease), color .4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(120deg); color: var(--accent); }
.brand__sub {
    display: block;
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: .6rem;
    letter-spacing: .16em;
    color: var(--muted);
    margin-top: 2px;
}
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 6px; list-style: none; }
.site-nav a {
    position: relative;
    display: inline-block;
    padding: 8px 14px;
    font-size: .9rem;
    color: var(--text-soft);
    text-transform: lowercase;
    transition: color .3s var(--ease);
}
.site-nav a::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 4px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    min-width: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: var(--btn-radius);
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-soft);
    transition: border-color .3s var(--ease), color .3s var(--ease);
}
.tool-btn:hover { border-color: var(--accent); color: var(--text); }
.tool-btn svg { width: 16px; height: 16px; }
.tool-btn .theme-ico { width: 18px; height: 18px; overflow: visible; }
.theme-ico__body, .theme-ico__cut, .theme-ico__rays { transform-origin: 12px 12px; transition: transform .5s var(--ease), opacity .4s var(--ease); }
.theme-ico__rays { opacity: 0; transform: rotate(-90deg) scale(.4); }
html[data-theme="classic"] .theme-ico__body { transform: scale(.66); }
html[data-theme="classic"] .theme-ico__cut { transform: translate(14px, -14px); }
html[data-theme="classic"] .theme-ico__rays { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .theme-ico__body, .theme-ico__cut, .theme-ico__rays { transition: none; }
}
/* Tema geçişi: eski görüntü sabit, yeni görüntü daire olarak açılır (core.js) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }
/* Site içi sayfa geçişi (Cross-document View Transitions; desteklemeyen tarayıcı normal gezinir).
   "page" türü tema geçişinden ayırır: yukarıdaki kurallar yalnızca startViewTransition için geçerli kalır. */
@media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; types: page; }
    html:active-view-transition-type(page)::view-transition-old(root) { animation: vt-page-out .16s cubic-bezier(.4, 0, 1, 1) both; }
    html:active-view-transition-type(page)::view-transition-new(root) { animation: vt-page-in .28s cubic-bezier(.22, 1, .36, 1) both; }
}
@keyframes vt-page-out { to { opacity: 0; } }
@keyframes vt-page-in { from { opacity: 0; transform: translateY(10px); } }
.lang-switch b { color: var(--text); font-weight: 600; }
.lang-switch span { opacity: .45; }
.menu-toggle { display: none; }
.menu-toggle__bars { position: relative; width: 18px; height: 10px; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 1.5px;
    background: currentColor;
    transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 8px; }
.menu-open .menu-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars::after { top: 4px; transform: rotate(-45deg); }

/* Mobil tam ekran menü */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
    background: var(--bg);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .7s var(--ease), visibility 0s linear .7s;
}
.menu-open .mobile-menu {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition: clip-path .7s var(--ease), visibility 0s;
}
.mobile-menu ol { list-style: none; display: grid; gap: 4px; }
.mobile-menu a {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(2rem, 9vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -.03em;
    text-transform: uppercase;
}
.mobile-menu a span {
    font-family: var(--font-mono);
    font-size: .75rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: .1em;
}
.mobile-menu__foot {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 24px;
}

@media (max-width: 900px) {
    .site-nav, .header-tools .btn { display: none; }
    .menu-toggle { display: inline-flex; }
    .header-tools { margin-left: auto; }
}

/* ---------- Bölümler ---------- */
.section {
    position: relative;
    padding-block: var(--section-y);
}
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.section--surface { background: var(--surface); }
.section + .section:not(.section--surface)::before {
    content: "";
    position: absolute;
    top: 0;
    left: var(--gutter);
    right: var(--gutter);
    height: 1px;
    background: var(--line);
}
.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-bottom: clamp(40px, 6vw, 80px);
}
@media (min-width: 900px) {
    .section-head {
        grid-template-columns: minmax(160px, 260px) minmax(0, 1fr);
        align-items: start;
        gap: 40px;
    }
    .section-head > .section-lead { grid-column: 2; }
}
.section-tag {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding-top: 10px;
    border-top: 1px solid var(--line-strong);
}
.section-num {
    font-family: var(--font-mono);
    font-size: .8rem;
    color: var(--accent);
    letter-spacing: .08em;
}
.section-label {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}
.section-title {
    font-size: clamp(2.2rem, 5.6vw, 5rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: .98;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-bottom: .06em;
}
.section-lead {
    max-width: 640px;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--text-soft);
}

/* Dekoratif yan çizgiler (DG "side line") */
.side-lines { position: relative; }
.side-lines::before, .side-lines::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
    pointer-events: none;
}
.side-lines::before { left: calc(var(--gutter) / 2); }
.side-lines::after { right: calc(var(--gutter) / 2); }

/* ---------- Sinematik köşe çerçevesi ---------- */
.frame { position: relative; }
.frame::after {
    --c: var(--accent);
    --s: 22px;
    --w: 2px;
    content: "";
    position: absolute;
    inset: -12px;
    pointer-events: none;
    z-index: 2;
    background:
        linear-gradient(var(--c), var(--c)) top left / var(--s) var(--w) no-repeat,
        linear-gradient(var(--c), var(--c)) top left / var(--w) var(--s) no-repeat,
        linear-gradient(var(--c), var(--c)) top right / var(--s) var(--w) no-repeat,
        linear-gradient(var(--c), var(--c)) top right / var(--w) var(--s) no-repeat,
        linear-gradient(var(--c), var(--c)) bottom left / var(--s) var(--w) no-repeat,
        linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--s) no-repeat,
        linear-gradient(var(--c), var(--c)) bottom right / var(--s) var(--w) no-repeat,
        linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--s) no-repeat;
    transition: inset .6s var(--ease);
}
.frame--lg::after { --s: 40px; inset: -18px; }
.frame--light::after { --c: var(--text); }
.frame:hover::after { inset: -6px; }
.frame--lg:hover::after { inset: -10px; }

/* ---------- Fotoğraf kartı + film şeridi bandı ---------- */
.photo-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
}
.photo-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: var(--ratio, 4 / 5);
}
.photo-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 1.2s var(--ease), filter .6s var(--ease);
}
.photo-card:hover .photo-card__img, .photo-card:focus-within .photo-card__img { transform: scale(1.07); }
.photo-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 2px 0;
    font-size: .85rem;
    color: var(--text-soft);
}
.film-band {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 14px 8px;
    color: #F2F1ED;
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    background:
        repeating-linear-gradient(90deg, rgba(242, 241, 237, .55) 0 6px, transparent 6px 14px) left 0 top 6px / 100% 3px no-repeat,
        linear-gradient(180deg, transparent, rgba(0, 0, 0, .78) 38%);
    pointer-events: none;
}
.film-band__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.film-band__name::before { content: "© "; opacity: .7; }
.film-band__no { color: var(--accent); flex-shrink: 0; }

/* ---------- Rozetler, çipler, kartlar ---------- */
.badge {
    --b: var(--badge-duyuru);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--b) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--b) 60%, transparent);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
}
.badge::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--b);
    box-shadow: 0 0 10px var(--b);
}
.badge--acil { --b: var(--badge-acil); }
.badge--acil::before { animation: pulse 1.4s ease-in-out infinite; }
.badge--etkinlik { --b: var(--badge-etkinlik); }
.badge--duyuru { --b: var(--badge-duyuru); }
@keyframes pulse { 50% { opacity: .25; } }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 6px 16px;
    border: 1px solid var(--line);
    border-radius: var(--btn-radius);
    font-size: .85rem;
    color: var(--text-soft);
    transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.chip:hover { border-color: var(--line-strong); color: var(--text); }
.chip[aria-pressed="true"], .chip.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
}
.card {
    position: relative;
    padding: clamp(20px, 3vw, 32px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.empty-state {
    padding: 40px 24px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    text-align: center;
    color: var(--muted);
}
.skeleton {
    background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%;
    animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { to { background-position: -150% 0; } }
.spinner {
    width: 18px; height: 18px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 260px)), 1fr));
    gap: var(--gap, clamp(16px, 2vw, 28px));
}

/* ---------- Duyuru bandı (ticker) ---------- */
.ticker {
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: var(--surface);
}
.ticker__label {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 18px;
    background: var(--accent);
    color: var(--on-accent);
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.ticker__viewport {
    position: relative;
    flex: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track {
    display: flex;
    width: max-content;
    animation: marquee var(--ticker-duration, 40s) linear infinite;
}
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; flex-shrink: 0; }
.ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    white-space: nowrap;
    font-size: .92rem;
}
.ticker__item::after {
    content: "✦";
    margin-left: 28px;
    color: var(--accent);
    font-size: .7rem;
}
a.ticker__item:hover .ticker__text { text-decoration: underline; text-underline-offset: 3px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Söz bandı ---------- */
.quote-band {
    border-top: 1px solid var(--line);
    padding-block: clamp(36px, 5vw, 56px);
}
.quote-band__inner {
    display: grid;
    gap: 14px;
    max-width: 920px;
}
.quote-band__text {
    font-size: clamp(1.25rem, 2.6vw, 2rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -.02em;
    font-style: italic;
}
.quote-band__text::before { content: "“"; color: var(--accent); margin-right: .1em; }
.quote-band__text::after { content: "”"; color: var(--accent); margin-left: .05em; }
.quote-band__author { color: var(--muted); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    padding-top: clamp(56px, 8vw, 112px);
    border-top: 1px solid var(--line);
    background: var(--bg);
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
}
@media (min-width: 760px) {
    .footer-grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
}
.footer-brand p { max-width: 340px; margin-top: 16px; color: var(--muted); }
.footer-col h2 {
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--text-soft); transition: color .3s var(--ease); overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--text); }
.footer-notify { margin-top: 20px; display: grid; gap: 8px; justify-items: start; }
.footer-notify p { font-size: .82rem; color: var(--muted); }
.footer-wordmark {
    margin-top: clamp(48px, 7vw, 96px);
    font-size: clamp(4rem, 21vw, 19rem);
    font-weight: 900;
    line-height: .78;
    letter-spacing: -.06em;
    text-align: center;
    text-transform: uppercase;
    background: linear-gradient(180deg, color-mix(in srgb, var(--text) 16%, transparent), transparent 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    user-select: none;
    overflow: hidden;
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    padding-block: 24px;
    border-top: 1px solid var(--line);
    font-size: .8rem;
    color: var(--muted);
}

/* ---------- Formlar (DG tarzı alt çizgili alanlar) ---------- */
.field { position: relative; display: grid; gap: 8px; }
.field__label {
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}
.field__input {
    width: 100%;
    min-height: 48px;
    padding: 10px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0;
    font-size: 1.05rem;
    color: var(--text);
    transition: border-color .3s var(--ease);
}
.field__input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.field__input:focus { outline: none; border-bottom-color: var(--accent); }
.field__input:focus-visible { outline: none; box-shadow: 0 1px 0 0 var(--accent); }
textarea.field__input { min-height: 120px; resize: vertical; line-height: 1.5; }
.field__line {
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}
.field__input:focus + .field__line { transform: scaleX(1); }
.field__hint { font-size: .78rem; color: var(--muted); }
.field__error { font-size: .8rem; color: var(--err); min-height: 1em; }
.field.is-invalid .field__input { border-bottom-color: var(--err); }
.check {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: start;
    font-size: .88rem;
    color: var(--text-soft);
    line-height: 1.55;
}
.check input {
    appearance: none;
    width: 20px; height: 20px;
    margin-top: 2px;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}
.check input::after {
    content: "";
    width: 10px; height: 6px;
    border-left: 2px solid var(--on-accent);
    border-bottom: 2px solid var(--on-accent);
    transform: rotate(-45deg) scale(0);
    transition: transform .2s var(--ease);
    margin-top: -2px;
}
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.form-msg {
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    font-size: .92rem;
}
.form-msg--ok { border-color: color-mix(in srgb, var(--ok) 60%, transparent); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.form-msg--err { border-color: color-mix(in srgb, var(--err) 60%, transparent); background: color-mix(in srgb, var(--err) 12%, transparent); }
.turnstile-slot:empty { display: none; }

/* ---------- Toast ---------- */
.toast-stack {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 10000;
    display: grid;
    gap: 10px;
    width: min(360px, calc(100vw - 32px));
    pointer-events: none;
}
.toast {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 16px;
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
    font-size: .9rem;
    pointer-events: auto;
    animation: toast-in .5s var(--ease);
}
.toast--ok { border-left-color: var(--ok); }
.toast--err { border-left-color: var(--err); }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Bağlantı çubuğu & bildirim kartı ---------- */
.net-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 10001;
    padding: 8px 16px;
    text-align: center;
    font-size: .85rem;
    font-weight: 500;
    color: #fff;
    background: var(--err);
    transform: translateY(-100%);
    transition: transform .35s var(--ease);
}
.net-bar.is-visible { transform: none; }
.net-bar--on { background: var(--ok); }
.push-card {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 1500;
    display: flex;
    gap: 14px;
    width: min(420px, calc(100vw - 32px));
    padding: 18px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
    animation: toast-in .5s var(--ease);
}
.push-card__icon { color: var(--accent); flex: none; padding-top: 2px; }
.push-card__title { font-weight: 600; line-height: 1.35; margin-bottom: 6px; }
.push-card__text { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.push-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-notify__line button { color: var(--text); }
@media (prefers-reduced-motion: reduce) {
    .net-bar { transition: none; }
    .push-card { animation: none; }
}

/* ---------- Kaplama (lightbox vb.) ---------- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: color-mix(in srgb, #000 88%, transparent);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

/* ---------- Görünme animasyonu ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-reveal-delay="1"] { transition-delay: .08s; }
.reveal[data-reveal-delay="2"] { transition-delay: .16s; }
.reveal[data-reveal-delay="3"] { transition-delay: .24s; }
.reveal[data-reveal-delay="4"] { transition-delay: .32s; }
.reveal[data-reveal-delay="5"] { transition-delay: .4s; }
.reveal[data-reveal-delay="6"] { transition-delay: .48s; }
[data-parallax] { will-change: transform; }

/* ---------- Basit iç sayfa başlığı (form, yasal, 404) ---------- */
.page-hero {
    position: relative;
    padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px));
    padding-bottom: clamp(32px, 5vw, 64px);
}
.page-hero__title {
    font-size: clamp(2.4rem, 7vw, 6rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: .95;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 18px;
    padding-bottom: .06em;
}
.page-hero__lead { max-width: 680px; margin-top: 20px; color: var(--text-soft); font-size: 1.05rem; }

/* Yasal metinler */
.prose {
    max-width: 780px;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.75;
}
.prose h2 {
    margin: 2.4em 0 .7em;
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    color: var(--text);
    letter-spacing: -.02em;
}
.prose h3 { margin: 1.6em 0 .5em; font-size: 1.1rem; color: var(--text); }
.prose p, .prose ul, .prose ol, .prose table { margin-bottom: 1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose strong { color: var(--text); font-weight: 600; }
.prose .table-wrap { overflow-x: auto; margin-bottom: 1em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--text); font-weight: 600; background: var(--surface); }
.legal-meta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Hareketi azalt ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    body::before { animation: none; }
    .ticker__track { animation: none; flex-wrap: wrap; width: auto; }
    .ticker__group[aria-hidden="true"] { display: none; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Deklanşör imleci (cursor.js; yalnızca fareli cihazlarda) ---------- */
body.cursor-active,
body.cursor-active * { cursor: none !important; }
body.cursor-active input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
body.cursor-active textarea,
body.cursor-active select,
body.cursor-active [contenteditable]:not([contenteditable="false"]) { cursor: text !important; }
body.cursor-active select { cursor: default !important; }
.cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    z-index: 10000;
    color: #fff;
    mix-blend-mode: difference;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
    will-change: transform;
}
.cursor.is-on { opacity: 1; }
.cursor.is-out, .cursor.is-text { opacity: 0; }
.cursor__body {
    width: 100%;
    height: 100%;
    transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.cursor__body svg { display: block; overflow: visible; }
.cursor__ring { fill: none; stroke: currentColor; stroke-width: 1.6; }
.cursor__blade {
    fill: currentColor;
    fill-opacity: .9;
    transform-box: view-box;
    transform-origin: 24px 24px;
    transform: rotate(var(--r));
    transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.cursor.is-link .cursor__body { transform: scale(1.4); }
.cursor.is-link .cursor__blade { transform: rotate(var(--r)) translateY(-4px); }
.cursor.is-shot .cursor__body { animation: cursor-shot .26s ease-out; }
@keyframes cursor-shot {
    0% { scale: 1; }
    35% { scale: .72; }
    100% { scale: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .cursor, .cursor__body, .cursor__blade { transition: none; }
    .cursor.is-shot .cursor__body { animation: none; }
}
