/* ---------- Sayfa geçişleri + logo animasyonları (tüm sayfalarda ortak) ---------- */
:root { --m-w: clamp(84px, 8vw, 124px); --ccs-w: min(78vw, 640px); }
.curtain { position: fixed; inset: 0; z-index: 1001; background: #1745ff; display: none; place-items: center; pointer-events: none; will-change: transform; }
.curtain.on { display: grid; }
.curtain svg { display: none; overflow: visible; height: auto; }
.curtain .cm { width: var(--m-w); }
.curtain .cc { width: var(--ccs-w); }
.curtain[data-kind="m"] .cm, .curtain[data-kind="ccs"] .cc { display: block; }
.trim { fill: none; stroke: #fff; stroke-dasharray: 1 1.01; stroke-dashoffset: 1.005; }
.cm .trim { stroke-width: 12; stroke-linejoin: miter; fill: #fff; fill-opacity: 0; }
/* yeni sayfa yüklenirken: son kare (mavi zemin + çizilmiş logo) ekranda kalır */
html.is-entering::before { content: ""; position: fixed; inset: 0; z-index: 1000; background: #1745ff no-repeat center; animation: entering-off 0s 5s forwards; pointer-events: none; }
html.came-m::before { background-image: url(/assets/img/brand/m-fill.svg); background-size: var(--m-w) auto; }
html.came-ccs::before { background-image: url(/assets/img/brand/ccs-white.png); background-size: var(--ccs-w) auto; }
@keyframes entering-off { to { visibility: hidden; } }

/* ---------- Açılış ekranı: beyaz MBERARTZ logosu ---------- */
.loader__logo { display: grid; place-items: center; overflow: hidden; }
.loader__logo svg { width: min(60vw, 500px); height: auto; overflow: visible; }
.loader__logo .em { fill: #fff; opacity: 0; }
.loader__logo .thin { stroke-width: 17.5; } .loader__logo .bold { stroke-width: 27; } .loader__logo .sep { stroke-width: 3; }
.loader__logo .sep { stroke: rgba(255,255,255,.6); }

/* ---------- Çerez onayı ---------- */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 95; width: min(400px, calc(100vw - 32px)); background: #fff; color: #0b0b0d; border: 1px solid #e6e7ec; border-radius: 20px; padding: 18px 20px; box-shadow: 0 24px 60px -20px rgba(10,10,40,.35); font-size: 14px; line-height: 1.5; animation: ck-in .6s cubic-bezier(.22,1,.36,1); }
.ck p { margin: 0 0 14px; } .ck a { color: #1745ff; text-decoration: underline; text-underline-offset: 3px; }
.ck__b { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ck button { border: 1px solid #0b0b0d; background: #fff; color: #0b0b0d; border-radius: 99px; height: 44px; font: inherit; font-weight: 500; cursor: pointer; transition: background .25s, color .25s; }
.ck button:hover { background: #0b0b0d; color: #fff; }
.menu-open .ck { display: none; }
@keyframes ck-in { from { opacity: 0; transform: translateY(24px); } }
