/* ============================================================================
   FILMOGRAF MEDIA — Design System
   A premium, editorial, cinematic styling layer.
   Sections: 1.Tokens 2.Reset 3.Typography 4.Layout 5.Buttons 6.Header
   7.Hero 8.Components 9.Sections 10.Footer 11.Utilities 12.Responsive
   ========================================================================== */

/* 1. DESIGN TOKENS ---------------------------------------------------------- */
:root {
    /* Brand colors */
    --white: #ffffff;
    --soft: #fafafa;
    --soft-2: #f4f4f2;
    --ink: #111111;
    --ink-2: #555555;
    --line: #ececec;
    --line-strong: #e0e0e0;

    /* Accent — luxurious amber, never neon */
    --accent: #ffb300;
    --accent-deep: #ff9e00;
    --accent-soft: #ffefc7;
    --accent-glow: rgba(255, 179, 0, 0.35);
    --gradient-accent: linear-gradient(120deg, #ffc300 0%, #ffae00 50%, #ff9e00 100%);
    --gradient-ink: linear-gradient(180deg, #1a1a1a 0%, #0c0c0c 100%);

    /* Typography */
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Fluid type scale */
    --fs-hero: clamp(3rem, 9vw, 9.5rem);
    --fs-h1: clamp(2.5rem, 6vw, 5.5rem);
    --fs-h2: clamp(2rem, 4.5vw, 4rem);
    --fs-h3: clamp(1.4rem, 2.4vw, 2.2rem);
    --fs-lead: clamp(1.1rem, 1.6vw, 1.45rem);
    --fs-body: 1.0625rem;
    --fs-sm: 0.9375rem;
    --fs-xs: 0.8125rem;

    /* Spacing */
    --space-section: clamp(5rem, 12vw, 11rem);
    --container: 1320px;
    --gutter: clamp(1.25rem, 4vw, 3rem);

    /* Radius */
    --r-sm: 10px;
    --r-md: 18px;
    --r-lg: 28px;
    --r-xl: 40px;
    --r-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(17, 17, 17, 0.04);
    --shadow-md: 0 18px 50px -20px rgba(17, 17, 17, 0.18);
    --shadow-lg: 0 40px 90px -40px rgba(17, 17, 17, 0.3);
    --shadow-accent: 0 24px 60px -22px var(--accent-glow);

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur: 0.6s;
}

/* 2. RESET ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.js.lenis, html.js.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
/* During native middle-click autoscroll we stop Lenis (so its rAF loop stops
   fighting the browser), but the document must stay scrollable for autoscroll
   to move it — re-enable overflow only in that mode. */
.lenis.lenis-stopped.is-autoscroll { overflow: visible; }

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }

:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: fixed; top: -100px; left: 1rem; z-index: 200;
    background: var(--ink); color: var(--white);
    padding: 0.75rem 1.25rem; border-radius: var(--r-sm);
    transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Custom cursor hides system cursor on capable devices */
/* The fancy dot+ring cursor is now a hidden easter egg (Konami code, see
   main.js). By default the normal OS mouse cursor is used; only `html.konami`
   hides the native cursor and reveals the custom one. */
@media (hover: hover) and (pointer: fine) {
    html.konami body { cursor: none; }
    html.konami a, html.konami button, html.konami [data-magnetic],
    html.konami input, html.konami textarea { cursor: none; }
}

/* 3. TYPOGRAPHY ------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }
.display { font-size: var(--fs-hero); font-weight: 600; line-height: 0.95; letter-spacing: -0.03em; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.5; }
em { font-style: italic; }
.accent-text { color: var(--accent-deep); }
.italic-serif { font-style: italic; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before {
    content: ''; width: 28px; height: 1px; background: var(--accent-deep);
}

/* 4. LAYOUT ----------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); position: relative; }
.section--tight { padding-block: clamp(3rem, 7vw, 6rem); }
.section--dark { background: var(--ink); color: var(--white); }
.section--soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: 1rem; }
.section-head .lead { margin-top: 1.25rem; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }

/* 5. BUTTONS ---------------------------------------------------------------- */
.btn {
    --btn-bg: var(--ink); --btn-fg: var(--white);
    position: relative; display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 1rem 1.75rem; border-radius: var(--r-pill);
    font-family: var(--font-display); font-weight: 500; font-size: var(--fs-sm);
    background: var(--btn-bg); color: var(--btn-fg);
    overflow: hidden; isolation: isolate;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
    will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: var(--gradient-accent); transform: translateY(101%);
    transition: transform 0.5s var(--ease);
}
.btn:hover { color: var(--ink); box-shadow: var(--shadow-accent); }
.btn:hover::before { transform: translateY(0); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn:active { transform: scale(0.97); }

.btn--primary { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--secondary { --btn-bg: var(--accent); --btn-fg: var(--ink); }
.btn--secondary::before { background: var(--ink); }
.btn--secondary:hover { color: var(--white); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); border: 1.5px solid var(--line-strong); }
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: var(--white); border-color: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); padding-inline: 0.5rem; }
.btn--ghost::before { display: none; }
.btn--ghost:hover { color: var(--accent-deep); }
.btn--sm { padding: 0.7rem 1.2rem; font-size: var(--fs-xs); }
.btn--lg { padding: 1.2rem 2.4rem; font-size: var(--fs-body); }

.link-arrow {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-family: var(--font-display); font-weight: 500;
    position: relative; padding-bottom: 3px;
}
.link-arrow::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
    background: currentColor; transform: scaleX(0); transform-origin: right;
    transition: transform 0.5s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* 6. HEADER ----------------------------------------------------------------- */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    transition: transform 0.5s var(--ease), background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    padding-block: 1.4rem;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 var(--line);
    padding-block: 0.85rem;
}
.site-header.is-hidden { transform: translateY(-110%); }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; }
.brand__mark {
    display: grid; place-items: center; width: 38px; height: 38px;
    background: var(--ink); color: var(--white); border-radius: 11px;
    font-size: 1.1rem; transition: transform 0.5s var(--ease), background 0.4s ease;
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); background: var(--accent); color: var(--ink); }
.brand__name { font-size: 1.2rem; letter-spacing: -0.02em; }
.brand__dot { color: var(--accent-deep); }
.brand--lg .brand__mark { width: 52px; height: 52px; border-radius: 15px; font-size: 1.5rem; }
.brand--lg .brand__name { font-size: 1.6rem; }

.primary-nav ul { display: flex; align-items: center; gap: 0.4rem; }
.nav-link { position: relative; display: block; padding: 0.5rem 0.9rem; font-size: var(--fs-sm); font-weight: 500; }
.nav-link span { position: relative; display: inline-block; }
.nav-link span::after {
    content: ''; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 100%;
    background: var(--accent-deep); transform: scaleX(0); transform-origin: right;
    transition: transform 0.45s var(--ease);
}
.nav-link:hover span::after, .nav-link.is-active span::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active { color: var(--ink); }

.site-header__actions { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); position: relative; }
.nav-toggle span { position: absolute; left: 50%; top: 50%; width: 18px; height: 1.6px; background: var(--ink); transform: translate(-50%, -50%); transition: 0.4s var(--ease); }
.nav-toggle span:first-child { transform: translate(-50%, -5px); }
.nav-toggle span:last-child { transform: translate(-50%, 5px); }
.nav-toggle.is-open span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle.is-open span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

/* Mobile overlay menu */
.mobile-menu {
    position: fixed; inset: 0; z-index: 99; background: var(--ink); color: var(--white);
    padding: clamp(6rem, 14vh, 9rem) var(--gutter) 3rem;
    display: flex; flex-direction: column; justify-content: space-between;
    clip-path: circle(0% at calc(100% - 50px) 50px); pointer-events: none;
    transition: clip-path 0.7s var(--ease-out);
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 50px) 50px); pointer-events: auto; }
.mobile-menu__nav li { overflow: hidden; border-top: 1px solid rgba(255,255,255,0.12); }
.mobile-menu__link { display: flex; align-items: center; gap: 1rem; padding: clamp(0.9rem, 2.4vh, 1.4rem) 0; font-family: var(--font-display); font-size: clamp(1.6rem, 6vw, 2.6rem); transform: translateY(110%); transition: transform 0.6s var(--ease); }
.mobile-menu.is-open .mobile-menu__link { transform: translateY(0); transition-delay: calc(0.05s * var(--i) + 0.2s); }
.mobile-menu__num { font-size: 0.8rem; color: var(--accent); font-family: var(--font-body); }
.mobile-menu__text { flex: 1; }
.mobile-menu__link svg { width: 26px; height: 26px; opacity: 0; transform: translateX(-10px); transition: 0.4s var(--ease); }
.mobile-menu__link:hover { color: var(--accent); }
.mobile-menu__link:hover svg { opacity: 1; transform: translateX(0); }
.mobile-menu__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; color: rgba(255,255,255,0.7); }
.mobile-menu__social { display: flex; gap: 1rem; }
.mobile-menu__social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,0.18); border-radius: var(--r-pill); transition: 0.3s var(--ease); }
.mobile-menu__social a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.mobile-menu__social svg, .mobile-menu__link svg, .footer-social svg { width: 20px; height: 20px; }

/* 7. HERO ------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 7rem; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; will-change: transform; }
.hero__orb--1 { width: 45vw; height: 45vw; background: radial-gradient(circle, var(--accent-glow), transparent 70%); top: -10%; right: -8%; }
.hero__orb--2 { width: 35vw; height: 35vw; background: radial-gradient(circle, rgba(255,200,0,0.18), transparent 70%); bottom: -15%; left: -5%; }
.hero__grid-lines { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: clamp(60px, 8vw, 110px) clamp(60px, 8vw, 110px); -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%); opacity: 0.6; }
/* Interactive Three.js particle field (progressive: hidden until first paint). */
.hero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hero__canvas.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__canvas { display: none; } }

.hero__inner { width: 100%; position: relative; z-index: 1; }
.hero__title { font-size: var(--fs-hero); font-weight: 600; line-height: 0.92; letter-spacing: -0.035em; }
/* overflow:clip + clip-margin masks the slide-up reveal (word starts 120%
   below) while still letting glyph overhangs paint at rest — fixes the clipped
   "g" descender and the italic accent word's right edge (e.g. "brands"). */
.hero__title .line { display: block; overflow: clip; overflow-clip-margin: 0.4em; }
.hero__title .word { display: inline-block; will-change: transform; }
@supports not (overflow-clip-margin: 0.28em) {
    .hero__title .line { overflow: visible; }
}
.hero__title .outline { -webkit-text-stroke: 1.5px var(--ink); color: transparent; }
/* padding gives the background-clip:text box room so the italic overhang ("u")
   and the "ğ" descender paint in full; the equal negative margin cancels the
   layout impact so the inter-word gap stays a single clean space. */
.hero__title .accent { background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; padding: 0.06em 0.16em; margin: -0.06em -0.16em; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.hero__lead { max-width: 38ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem; font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.hero__scroll-line { width: 1px; height: 46px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 50%; background: var(--ink); animation: scrollLine 2s var(--ease) infinite; will-change: transform; }
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(200%); } }

/* Marquee / scrolling logos */
.marquee { overflow: hidden; padding-block: 2rem; border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: clamp(2.5rem, 6vw, 5rem); width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 500; color: var(--ink-2); opacity: 0.55; white-space: nowrap; transition: 0.3s var(--ease); }
.marquee__item:hover { opacity: 1; color: var(--ink); }
.marquee__item { display: inline-flex; align-items: center; }
.marquee__logo { height: clamp(1.6rem, 3.4vw, 2.6rem); width: auto; max-width: 180px; object-fit: contain; display: block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 8. COMPONENTS ------------------------------------------------------------- */
/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
.stat__num { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.stat__num em { color: var(--accent-deep); font-style: normal; }
.stat__label { margin-top: 0.6rem; color: var(--ink-2); font-size: var(--fs-sm); }
.section--dark .stat__label { color: rgba(255,255,255,0.6); }

/* Cards — influencer */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2vw, 1.75rem); }
.inf-card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); aspect-ratio: 3 / 4; isolation: isolate; }
.inf-card__visual { position: absolute; inset: 0; z-index: -1; }
.inf-card__visual::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.78) 100%); z-index: 1; transition: opacity 0.5s var(--ease); }
.inf-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.inf-card:hover .inf-card__img { transform: scale(1.06); }
.inf-card__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(1.25rem, 2vw, 1.75rem); color: var(--white); }
.inf-card__cat { display: inline-flex; gap: 0.4rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.75rem; border-radius: var(--r-pill); background: rgba(255,255,255,0.16); backdrop-filter: blur(6px); margin-bottom: 0.9rem; }
.inf-card__name { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; }
.inf-card__title { font-size: var(--fs-sm); opacity: 0.85; }
.inf-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.18); }
.inf-card__followers { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.inf-card__followers small { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-xs); opacity: 0.7; }
.inf-card__platforms { display: flex; gap: 0.5rem; }
.inf-card__platforms svg { width: 18px; height: 18px; }
.inf-card__arrow { position: absolute; top: 1.25rem; right: 1.25rem; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); transform: scale(0) rotate(-30deg); transition: transform 0.5s var(--ease); }
.inf-card:hover .inf-card__arrow { transform: scale(1) rotate(0); }
.inf-card__arrow svg { width: 18px; height: 18px; }

/* Service cards */
.service-card { position: relative; padding: clamp(1.75rem, 2.5vw, 2.5rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease); }
.service-card::after { content: ''; position: absolute; inset: 0; background: var(--gradient-accent); opacity: 0; transition: opacity 0.5s var(--ease); z-index: -1; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: var(--r-md); background: var(--soft-2); color: var(--ink); margin-bottom: 1.5rem; transition: 0.5s var(--ease); }
.service-card:hover .service-card__icon { background: var(--ink); color: var(--accent); transform: rotate(-6deg); }
.service-card__icon svg { width: 26px; height: 26px; }
.service-card__num { position: absolute; top: 1.5rem; right: 1.75rem; font-family: var(--font-display); font-size: 0.9rem; color: var(--ink-2); }
.service-card h3 { font-size: var(--fs-h3); margin-bottom: 0.75rem; }
.service-card p { color: var(--ink-2); }
.service-card .link-arrow { margin-top: 1.5rem; }

/* Case / campaign cards */
.case-card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: var(--white); aspect-ratio: 16 / 11; isolation: isolate; }
.case-card--wide { aspect-ratio: 16 / 9; }
.case-card__visual { position: absolute; inset: 0; z-index: -1; transition: transform 0.9s var(--ease); }
.case-card:hover .case-card__visual { transform: scale(1.05); }
.case-card__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(0,0,0,0.15), rgba(0,0,0,0.85)); }
.case-card__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Rich content (admin-authored blog bodies) */
.rich-content { line-height: 1.8; }
.rich-content > * + * { margin-top: 1.1rem; }
.rich-content h2, .rich-content h3, .rich-content h4 { font-family: var(--font-display); line-height: 1.25; margin-top: 2rem; }
.rich-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.rich-content h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.rich-content ul, .rich-content ol { padding-left: 1.4rem; }
.rich-content li { margin-top: 0.4rem; }
.rich-content a { color: var(--accent-strong, #c98a00); text-decoration: underline; text-underline-offset: 2px; }
.rich-content img { max-width: 100%; height: auto; border-radius: var(--r-md); margin: 1.5rem 0; }
.rich-content blockquote { border-left: 3px solid var(--accent); padding-left: 1.25rem; font-style: italic; color: var(--ink-2); }
.case-card__body { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.5rem, 3vw, 2.75rem); }
.case-card__brand { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }
.case-card__title { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 600; margin-top: 0.5rem; max-width: 18ch; }
.case-card__metrics { display: flex; gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 1.75rem; opacity: 0; transform: translateY(20px); transition: 0.6s var(--ease); }
.case-card:hover .case-card__metrics { opacity: 1; transform: translateY(0); }
.case-card__metric b { display: block; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 2rem); color: var(--accent); }
.case-card__metric span { font-size: var(--fs-xs); opacity: 0.75; }
.case-card__tag { position: absolute; top: clamp(1.5rem,3vw,2.75rem); left: clamp(1.5rem,3vw,2.75rem); padding: 0.4rem 0.9rem; border-radius: var(--r-pill); background: rgba(255,255,255,0.16); backdrop-filter: blur(6px); font-size: var(--fs-xs); }

/* Why-cards */
.why-card { padding: clamp(1.5rem, 2.5vw, 2.25rem); border-radius: var(--r-lg); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); transition: 0.5s var(--ease); }
.why-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-6px); }
.why-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: var(--r-md); background: var(--accent); color: var(--ink); margin-bottom: 1.25rem; }
.why-card__icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.why-card p { color: rgba(255,255,255,0.62); font-size: var(--fs-sm); }

/* Editorial image block */
.media-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--soft-2); aspect-ratio: 4 / 5; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--reveal::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform-origin: bottom; }
.media-badge { position: absolute; bottom: 1.5rem; left: 1.5rem; padding: 0.75rem 1.25rem; border-radius: var(--r-pill); background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); font-family: var(--font-display); font-weight: 500; box-shadow: var(--shadow-sm); }

/* Timeline */
.timeline { position: relative; display: grid; gap: 0; }
.timeline__item { display: grid; grid-template-columns: 130px 1fr; gap: clamp(1.5rem, 4vw, 3rem); padding-block: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--line); position: relative; }
.timeline__item:last-child { border-bottom: 1px solid var(--line); }
.timeline__year { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; color: var(--accent-deep); }
.timeline__title { font-family: var(--font-display); font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.timeline__text { color: var(--ink-2); max-width: 52ch; }

/* Accordion (FAQ) */
.accordion__item { border-top: 1px solid var(--line); }
.accordion__item:last-child { border-bottom: 1px solid var(--line); }
.accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.5rem, 2.5vw, 2rem) 0; text-align: left; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 500; }
.accordion__icon { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); transition: 0.4s var(--ease); position: relative; }
.accordion__icon::before, .accordion__icon::after { content: ''; position: absolute; background: var(--ink); transition: 0.4s var(--ease); }
.accordion__icon::before { width: 14px; height: 1.6px; }
.accordion__icon::after { width: 1.6px; height: 14px; }
.accordion__item.is-open .accordion__icon { background: var(--accent); border-color: var(--accent); }
.accordion__item.is-open .accordion__icon::after { transform: scaleY(0); }
.accordion__panel { overflow: hidden; height: 0; }
.accordion__panel-inner { padding-bottom: clamp(1.5rem, 2.5vw, 2rem); color: var(--ink-2); max-width: 68ch; font-size: var(--fs-lead); }

/* Testimonials */
.testimonial { padding: clamp(1.75rem, 3vw, 2.75rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); height: auto; display: flex; flex-direction: column; gap: 1.5rem; }
.testimonial__stars { display: flex; gap: 0.25rem; color: var(--accent-deep); }
.testimonial__stars svg { width: 18px; height: 18px; fill: currentColor; }
.testimonial__quote { font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.45; }
.testimonial__author { margin-top: auto; display: flex; align-items: center; gap: 0.9rem; }
.testimonial__avatar { width: 48px; height: 48px; border-radius: var(--r-pill); background: var(--gradient-accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.testimonial__name { font-weight: 600; }
.testimonial__role { font-size: var(--fs-sm); color: var(--ink-2); }

/* Forms */
.field { position: relative; margin-bottom: 1.5rem; }
.field input, .field textarea {
    width: 100%; padding: 1.4rem 1.25rem 0.6rem; background: var(--soft);
    border: 1.5px solid var(--line); border-radius: var(--r-md);
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 1.25rem; top: 1.1rem; color: var(--ink-2); pointer-events: none; transition: 0.3s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--ink); background: var(--white); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
    top: 0.5rem; font-size: var(--fs-xs); color: var(--accent-deep);
}
.field__error { display: block; margin-top: 0.5rem; font-size: var(--fs-xs); color: #d12c2c; }
.field.has-error input, .field.has-error textarea { border-color: #d12c2c; }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { padding: 0.6rem 1.15rem; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); font-size: var(--fs-sm); font-weight: 500; transition: 0.3s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Search */
.search-bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1.4rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: var(--white); }
.search-bar input { flex: 1; border: none; background: none; outline: none; }
.search-bar svg { width: 20px; height: 20px; color: var(--ink-2); }

/* Badge / tag */
.tag { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.8rem; border-radius: var(--r-pill); background: var(--soft-2); font-size: var(--fs-xs); font-weight: 600; }
.tag--accent { background: var(--accent-soft); color: var(--accent-deep); }

/* Toast / notifications */
.toast-stack { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9000; display: flex; flex-direction: column; gap: 0.75rem; max-width: min(380px, calc(100vw - 2rem)); }
.toast {
    position: relative; display: flex; align-items: flex-start; gap: 0.85rem;
    padding: 1rem 1.1rem; border-radius: var(--r-md); overflow: hidden;
    background: #1b1b1f; color: var(--white); border: 1px solid rgba(255,255,255,.08);
    border-left: 3px solid var(--accent); box-shadow: var(--shadow-lg);
    transform: translateX(120%); opacity: 0;
    transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.toast.is-visible { transform: translateX(0); opacity: 1; }
.toast__icon { display: grid; place-items: center; width: 22px; height: 22px; flex-shrink: 0; font-size: 1.05rem; margin-top: 1px; }
.toast__body { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; min-width: 0; }
.toast__title { font-size: 0.92rem; font-weight: 700; }
.toast__msg { font-size: 0.86rem; line-height: 1.4; color: rgba(255,255,255,.82); word-wrap: break-word; }
.toast__close { flex-shrink: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; color: rgba(255,255,255,.55); transition: 0.2s; }
.toast__close:hover { color: var(--white); background: rgba(255,255,255,.1); }
.toast__progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: left; transform: scaleX(1); background: var(--accent); opacity: .65; }
.toast--success { border-left-color: #2ecc71; } .toast--success .toast__icon, .toast--success .toast__progress { color: #2ecc71; background: none; } .toast--success .toast__progress { background: #2ecc71; }
.toast--error   { border-left-color: #ff5d5d; } .toast--error .toast__icon   { color: #ff5d5d; } .toast--error .toast__progress   { background: #ff5d5d; }
.toast--warning { border-left-color: #ffb300; } .toast--warning .toast__icon { color: #ffb300; } .toast--warning .toast__progress { background: #ffb300; }
.toast--info    { border-left-color: #4aa3ff; } .toast--info .toast__icon    { color: #4aa3ff; } .toast--info .toast__progress    { background: #4aa3ff; }
@media (max-width: 560px) { .toast-stack { left: 1rem; right: 1rem; bottom: 1rem; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .toast { transition: opacity 0.3s; transform: none; } .toast__progress { display: none; } }

/* 9. CUSTOM CURSOR / PROGRESS / PRELOADER ----------------------------------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; mix-blend-mode: difference; display: none; }
html.konami .cursor { display: block; }
.cursor__dot { position: fixed; width: 7px; height: 7px; border-radius: 50%; background: var(--white); transform: translate(-50%, -50%); }
.cursor__ring { position: fixed; width: 38px; height: 38px; border: 1.5px solid var(--white); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease); }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(255,255,255,0.1); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } body { cursor: auto; } }


.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 101; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--gradient-accent); transform-origin: left; }

.preloader { position: fixed; inset: 0; z-index: 9000; background: var(--ink); display: grid; place-items: center; color: var(--white); }
.preloader__inner { width: min(420px, 80vw); text-align: center; }
.preloader__logo { display: flex; align-items: baseline; justify-content: center; gap: 0.6rem; font-family: var(--font-display); margin-bottom: 2rem; }
.preloader__mark { display: grid; place-items: center; width: 44px; height: 44px; background: var(--accent); color: var(--ink); border-radius: 12px; font-weight: 700; font-size: 1.3rem; }
.preloader__word { font-size: 1.4rem; font-weight: 600; letter-spacing: 0.05em; overflow: hidden; }
.preloader__bar { height: 2px; background: rgba(255,255,255,0.15); border-radius: 2px; overflow: hidden; }
.preloader__bar-fill { display: block; height: 100%; width: 0; background: var(--accent); }
.preloader__count { margin-top: 1rem; font-family: var(--font-display); display: flex; justify-content: center; gap: 0.1rem; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.preloader.is-done { pointer-events: none; }

/* 10. FOOTER ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--white); padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: 2.5rem; position: relative; overflow: hidden; }
.footer-cta { text-align: center; padding-bottom: clamp(3rem, 7vw, 6rem); border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: clamp(3rem, 6vw, 5rem); }
.footer-cta__eyebrow { font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem; }
.footer-cta__title { font-size: var(--fs-h1); margin-bottom: 2.5rem; }
.footer-cta__title em { color: var(--accent); font-style: italic; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(2rem, 4vw, 3rem); padding-bottom: 3.5rem; }
.footer-brand p { color: rgba(255,255,255,0.6); max-width: 36ch; margin-block: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--r-pill); transition: 0.3s var(--ease); }
.footer-social a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); transform: translateY(-3px); }
.footer-col h3 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 1.25rem; font-family: var(--font-body); font-weight: 600; }
.footer-col ul { display: grid; gap: 0.75rem; }
.footer-col a { color: rgba(255,255,255,0.78); transition: 0.3s var(--ease); }
.footer-col a:hover { color: var(--accent); padding-left: 6px; }
.footer-newsletter p { color: rgba(255,255,255,0.6); margin-bottom: 1.25rem; font-size: var(--fs-sm); }
.newsletter-form__field { display: flex; align-items: center; gap: 0.5rem; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r-pill); padding: 0.4rem 0.4rem 0.4rem 1.25rem; transition: border-color 0.3s; }
.newsletter-form__field:focus-within { border-color: var(--accent); }
.newsletter-form__field input { flex: 1; background: none; border: none; outline: none; color: var(--white); }
.newsletter-form__field input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form__field button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-pill); background: var(--accent); color: var(--ink); transition: 0.3s var(--ease); }
.newsletter-form__field button:hover { transform: rotate(-45deg); }
.newsletter-form__field button svg { width: 18px; height: 18px; }
.newsletter-form__hint { font-size: var(--fs-xs); color: rgba(255,255,255,0.4); margin-top: 0.75rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.5); font-size: var(--fs-sm); }
.footer-bottom ul { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--accent); }
.footer-credit span { color: var(--accent); }

/* 11. ANIMATION UTILITIES --------------------------------------------------- */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > * { display: inline-block; }
.page-section { position: relative; }

/* IntersectionObserver-driven reveals.
   Hidden state ONLY applies when JS is active (.js) so no-JS users always see
   content; a failsafe in main.js reveals everything if the observer misfires. */
.js [data-reveal],
.js [data-reveal-text],
.js [data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    transition: opacity 0.85s var(--ease), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}
.js [data-reveal].is-inview,
.js [data-reveal-text].is-inview,
.js [data-reveal-stagger].is-inview > * {
    opacity: 1;
    transform: none;
}
.js [data-reveal-stagger] > * { transition-delay: calc(var(--d, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal], .js [data-reveal-text], .js [data-reveal-stagger] > * { transition-duration: 0.01ms; transform: none; }
}
.js [data-img-reveal] { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease); }
.js [data-img-reveal].is-inview { clip-path: inset(0 0 0 0); }

/* Language switch */
.lang-switch { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--ink-2); }
.lang-switch__opt { padding: 0.2rem 0.3rem; transition: color 0.3s var(--ease); }
.lang-switch__opt:hover { color: var(--ink); }
.lang-switch__opt.is-active { color: var(--accent-deep); }
.lang-switch--lg { font-size: 1.1rem; color: rgba(255,255,255,0.6); }
.lang-switch--lg .lang-switch__opt:hover { color: #fff; }
.lang-switch--lg .lang-switch__opt.is-active { color: var(--accent); }

/* Social links (influencer profile) */
.social-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.social-links__item { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.05rem; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); font-size: var(--fs-sm); font-weight: 500; transition: 0.3s var(--ease); }
.social-links__item:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.platform-row { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r-md); transition: 0.3s var(--ease); }
a.platform-row:hover { border-color: var(--accent); background: var(--soft); }
.platform-row strong i { font-size: 0.75em; color: var(--accent-deep); margin-left: 0.3rem; }

/* Live per-platform followers (under the influencer bio) */
.inf-followers { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.inf-follow { display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.7rem 1.05rem; border: 1.5px solid var(--line); border-radius: var(--r-md); transition: 0.3s var(--ease); }
a.inf-follow:hover { border-color: var(--accent); background: var(--soft); transform: translateY(-2px); }
.inf-follow__icon { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 1.05rem; flex: none; }
.inf-follow__meta { display: flex; flex-direction: column; line-height: 1.1; }
.inf-follow__count { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.inf-follow__label { font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.02em; }
.inf-follow__go { color: var(--accent-deep); font-size: 0.75rem; margin-left: 0.15rem; }
/* Follower growth trend: sparkline + % change over the last 30 days. */
.inf-follow__trend { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.25rem; }
.inf-follow__trend .sparkline { width: 56px; height: 18px; opacity: 0.85; }
.inf-follow__pct { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.inf-follow__trend--up { color: #2e9e5b; }
.inf-follow__trend--down { color: #d23f3f; }
.inf-follow__trend--flat { color: var(--muted); }

/* Collaborations (İş Birlikleri) cards */
.collab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.collab-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease); }
.collab-card:hover { transform: translateY(-6px); border-color: var(--ink); box-shadow: 0 24px 50px -28px rgba(0,0,0,0.4); }
.collab-card__visual { position: relative; aspect-ratio: 16/10; display: grid; place-items: center; overflow: hidden; background: linear-gradient(150deg, #232323, #161616); }
.collab-card__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
/* Brand logos (often transparent PNGs) sit contained on a clean light surface. */
.collab-card__visual--logo { background: #f5f5f4; }
.collab-card__visual--logo img { object-fit: contain; padding: 11% 16%; box-sizing: border-box; }
.collab-card:hover .collab-card__visual img { transform: scale(1.05); }
.collab-card__initial { font-family: var(--font-display); font-size: 4.5rem; font-weight: 700; color: rgba(255,255,255,0.22); }
.collab-card__go { position: absolute; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--ink); font-size: 0.85rem; transform: translateY(-6px); opacity: 0; transition: 0.35s var(--ease); }
.collab-card:hover .collab-card__go { transform: translateY(0); opacity: 1; }
.collab-card__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem; flex: 1; }
.collab-card__brand { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.collab-card__title { font-size: 1rem; font-weight: 500; color: var(--muted); margin: 0; }
.collab-card__desc { font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; margin: 0; }
/* Pin the linked-influencer row to the bottom of the body so it lines up across
   side-by-side cards regardless of description length (CTA stays right below it). */
.collab-card__inf { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-xs); color: var(--ink); margin-top: auto; padding-top: 0.75rem; }
.collab-card:has(.collab-card__inf) .collab-card__cta { margin-top: 0; }
.collab-card__inf i { color: var(--accent-deep); }
.collab-card__inf-photo { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
/* Linked influencer avatar floating on the brand visual. */
.collab-card__avatar { position: absolute; left: 1rem; bottom: -1.4rem; width: 3.4rem; height: 3.4rem; border-radius: 50%; overflow: hidden; border: 3px solid var(--bg); box-shadow: 0 8px 22px -10px rgba(0,0,0,.55); background: var(--bg); z-index: 2; }
.collab-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.collab-card__avatar-initial { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-display); font-weight: 700; color: #fff; }
.collab-card:has(.collab-card__avatar) .collab-card__body { padding-top: 2.1rem; }
.collab-card__cta { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: auto; padding-top: 0.85rem; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.collab-card__cta i { transition: transform 0.3s var(--ease); }
.collab-card:hover .collab-card__cta i { transform: translateX(4px); }

/* İş Birlikleri — brand wall (5 logos per row → click reveals that brand's collabs) */
.brand-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 1.5rem; }
.brand-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.7rem; padding: 1.5rem 1rem 1.1rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); cursor: pointer; font: inherit; color: inherit; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease); }
.brand-tile:hover { transform: translateY(-5px); border-color: var(--ink); box-shadow: 0 22px 44px -28px rgba(0,0,0,0.4); }
.brand-tile.is-active { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.brand-tile__logo { display: grid; place-items: center; width: 100%; aspect-ratio: 16/10; border-radius: var(--r-md); overflow: hidden; background: #f5f5f4; }
.brand-tile__logo img { max-width: 78%; max-height: 70%; width: auto; height: auto; object-fit: contain; transition: transform 0.4s var(--ease); }
/* Logos stay full colour; hover grows + slightly skews them for a playful tilt. */
.brand-tile:hover .brand-tile__logo img, .brand-tile.is-active .brand-tile__logo img { transform: scale(1.12) rotate(-3deg) skewX(-4deg); }
.brand-tile__logo--initial { background: linear-gradient(150deg, #232323, #161616); }
.brand-tile__logo--initial span { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: rgba(255,255,255,0.85); }
.brand-tile__name { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; text-align: center; line-height: 1.2; }
.brand-hint { margin-top: 1.4rem; }
.brand-panel { margin-top: 2rem; }
.brand-panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.4rem; }
.brand-panel__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.brand-panel__meta { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 1024px) { .brand-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) { .brand-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .brand-wall { grid-template-columns: repeat(2, 1fr); } }

/* Select fields */
.field--select select { width: 100%; padding: 2.2rem 1.25rem 0.6rem; background: var(--soft); border: 1.5px solid var(--line); border-radius: var(--r-md); appearance: none; cursor: pointer; }
.field--select select:focus { border-color: var(--ink); background: var(--white); outline: none; }
.field__static { position: absolute; left: 1.25rem; top: 0.5rem; font-size: var(--fs-xs); color: var(--accent-deep); }
.field__static[for="a-platform"], .field__static[for="a-category"] { color: var(--accent-deep); }
.field--select::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 1.25rem; top: 1.2rem; font-size: 0.8rem; color: var(--ink-2); pointer-events: none; }

/* FontAwesome icon sizing (replaces inline-SVG sizing) */
.btn i, .link-arrow i { font-size: 1em; }
.inf-card__platforms i, .inf-card__arrow i, .social-links__item i, .footer-social i,
.mobile-menu__social i, .nav-toggle i { font-size: 1.05rem; }
.service-card__icon i, .why-card__icon i { font-size: 1.4rem; }
.inf-card__platforms { display: flex; gap: 0.7rem; align-items: center; color: #fff; }

/* Page-transition skeleton */
.page-skeleton { position: fixed; inset: 0; z-index: 8000; background: var(--white); padding-top: 14vh; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; }
.page-skeleton.is-active { opacity: 1; visibility: visible; }
.sk { position: relative; overflow: hidden; background: var(--soft-2); border-radius: var(--r-sm); }
.sk::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent); animation: skshimmer 1.4s infinite; }
@keyframes skshimmer { 100% { transform: translateX(100%); } }
.sk--eyebrow { width: 160px; height: 14px; margin-bottom: 1.5rem; }
.sk--title { width: 70%; height: clamp(2.4rem, 6vw, 4.5rem); margin-bottom: 1rem; border-radius: var(--r-md); }
.sk--title-2 { width: 45%; }
.sk--lead { width: 40%; height: 18px; margin-top: 1.5rem; }
.sk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.sk--card { aspect-ratio: 3 / 4; border-radius: var(--r-lg); }
@media (max-width: 620px) { .sk-grid { grid-template-columns: 1fr; } .sk--card:nth-child(n+2) { display: none; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .preloader { display: none; }
    .cursor { display: none; }
    body { cursor: auto; }
}

/* 12. RESPONSIVE ------------------------------------------------------------ */
@media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
}
@media (max-width: 860px) {
    .primary-nav { display: none; }
    .nav-toggle { display: block; }
    .site-header__actions .btn { display: none; }
    .split { grid-template-columns: 1fr; }
    .timeline__item { grid-template-columns: 1fr; gap: 0.5rem; }
}
@media (max-width: 620px) {
    .card-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .hero__meta { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Generic grid helpers */
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}.mt-3{margin-top:3rem}
.text-center{text-align:center}.muted{color:var(--ink-2)}

/* --- 3D pointer tilt (JS-driven; pointer + non-reduced-motion only) ------ */
.tilt-3d { transition: transform 0.4s var(--ease); transform-style: preserve-3d; will-change: transform; }
.tilt-3d.is-tilting { transition: transform 0.12s linear; }

/* ========================================================================
   Home — panel separation (clearer boundaries between stacked sections)
   ===================================================================== */
.home-flow > section { position: relative; }
/* Hairline at the top edge of each panel that follows another panel, so
   consecutive same-coloured sections no longer blend into one another. */
.home-flow > section + section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(88%, 1180px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent);
    pointer-events: none;
}
/* Dark / soft panels already carry their own contrast — drop the hairline on
   them and on the panel right after them to avoid double edges. */
.home-flow > .section--dark::before,
.home-flow > .section--soft::before,
.home-flow > .section--dark + section::before,
.home-flow > .section--soft + section::before { display: none; }

/* Centered accent marker used between the major white panels for rhythm. */
.section-sep { display: flex; align-items: center; justify-content: center; gap: 1.1rem; padding-block: clamp(1.25rem, 3.5vw, 2.75rem); }
.section-sep::before, .section-sep::after { content: ""; height: 1px; width: min(28vw, 280px); }
.section-sep::before { background: linear-gradient(90deg, transparent, var(--line-strong)); }
.section-sep::after { background: linear-gradient(90deg, var(--line-strong), transparent); }
.section-sep__dot { width: 9px; height: 9px; flex: none; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 0 5px var(--accent-soft); }

/* ========================================================================
   Home — "How we work" process / approach section (agency standard)
   ===================================================================== */
.process { counter-reset: step; }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: clamp(2rem, 4vw, 3.25rem); }
.process__step {
    position: relative;
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--r, 16px);
    background: var(--white);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.process__step:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow-accent); }
.process__num {
    counter-increment: step;
    font-family: var(--font-d, "Space Grotesk"), sans-serif;
    font-size: 0.9rem; font-weight: 700; letter-spacing: .06em;
    color: var(--accent-deep);
    display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem;
}
.process__num::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft); color: var(--ink); font-size: 1rem; }
.process__step h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.process__step p { font-size: var(--fs-sm); color: var(--ink-2); }
.process__connector { display: none; }
@media (max-width: 1024px) { .process__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process__grid { grid-template-columns: 1fr; } }

/* ========================================================================
   Case study ("Başarı Hikâyesi") — infographic metrics + how-we-did-it story
   ===================================================================== */
.cs-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; margin-top: clamp(2rem, 4vw, 3rem); }
.cs-metric {
    position: relative;
    padding: 2rem 1.5rem 1.75rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--r, 16px);
    background: rgba(255,255,255,0.03);
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.cs-metric:hover { transform: translateY(-6px); border-color: var(--accent); }
.cs-metric::after { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: linear-gradient(var(--accent), transparent); }
.cs-metric__index { position: absolute; top: 1rem; right: 1.1rem; font-family: var(--font-d), sans-serif; font-size: .8rem; color: rgba(255,255,255,0.35); letter-spacing: .08em; }
.cs-metric__num { font-family: var(--font-d), sans-serif; font-weight: 700; font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1; color: #fff; }
.cs-metric__label { margin-top: .75rem; color: rgba(255,255,255,0.6); font-size: var(--fs-sm); }

.cs-story { position: relative; max-width: 820px; margin-top: clamp(2rem, 4vw, 3rem); padding-left: 2rem; }
.cs-story::before { content: ""; position: absolute; left: 7px; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(var(--accent), var(--line-strong)); }
.cs-story__step { position: relative; padding: 0 0 2.25rem 1.5rem; }
.cs-story__step:last-child { padding-bottom: 0; }
.cs-story__step::before { content: ""; position: absolute; left: -2rem; top: .35rem; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.cs-story__step--result::before { background: var(--accent); }
.cs-story__tag { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-d), sans-serif; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: .65rem; }
.cs-story__tag i { color: var(--accent-deep); }
.cs-story__text { font-size: clamp(1.02rem, 1.6vw, 1.15rem); line-height: 1.7; color: var(--ink-2); }
.cs-steps { list-style: none; counter-reset: csstep; display: grid; gap: .75rem; }
.cs-steps li { counter-increment: csstep; position: relative; padding-left: 2.5rem; line-height: 1.6; color: var(--ink); }
.cs-steps li::before { content: counter(csstep, decimal-leading-zero); position: absolute; left: 0; top: -.05rem; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--accent-soft); color: var(--ink); font-family: var(--font-d), sans-serif; font-weight: 700; font-size: .85rem; }

.cs-quote { max-width: 880px; margin-inline: auto; text-align: center; }
.cs-quote__text { font-family: var(--font-d), sans-serif; font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.35; letter-spacing: -0.01em; }
.cs-quote__author { margin-top: 1.5rem; color: var(--ink-2); font-size: var(--fs-sm); font-style: normal; }
@media (max-width: 560px) { .cs-story { padding-left: 1.25rem; } .cs-story__step { padding-left: 1rem; } .cs-story__step::before { left: -1.55rem; } }

/* ── Admin draft-preview bar (only shown to authenticated admins) ─────────── */
.preview-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap; padding: 0.6rem 1.25rem; background: #ffb300; color: #1a1a1a; font-size: 0.88rem; font-weight: 500; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.preview-bar i { font-size: 0.95rem; }
.preview-bar strong { font-weight: 700; }
.preview-bar a { color: #1a1a1a; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
body:has(.preview-bar) { padding-top: 2.6rem; }

/* ── Case-study modular content blocks ───────────────────────────────────── */
.container--narrow { max-width: 760px; margin-inline: auto; }
.cs-blocks { display: flex; flex-direction: column; }
.cs-block__h { font-family: var(--font-display), sans-serif; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; margin: 2rem 0 0.75rem; }
.cs-block__p { font-size: var(--fs-body); line-height: 1.75; color: var(--ink-2); margin: 0 0 1.25rem; }
.cs-block__p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cs-block__quote { margin: 1.75rem 0; padding: 0.25rem 0 0.25rem 1.5rem; border-left: 3px solid var(--accent, #ffb300); font-family: var(--font-display), sans-serif; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.4; font-style: italic; }
.cs-block__quote cite { display: block; margin-top: 0.85rem; font-size: var(--fs-sm); font-style: normal; color: var(--ink-2); }
.cs-block__fig { margin: 2rem 0; }
.cs-block__fig img { width: 100%; border-radius: 16px; display: block; }
.cs-block__fig figcaption { margin-top: 0.6rem; font-size: var(--fs-sm); color: var(--ink-2); text-align: center; }
.cs-block__video { position: relative; aspect-ratio: 16 / 9; margin: 2rem 0; border-radius: 16px; overflow: hidden; background: #000; }
.cs-block__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cs-block__list { margin: 0 0 1.5rem 0; display: flex; flex-direction: column; gap: 0.6rem; }
.cs-block__list li { position: relative; padding-left: 1.5rem; font-size: var(--fs-body); line-height: 1.6; color: var(--ink-2); }
.cs-block__list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 3px; background: var(--accent); }
.cs-block__hr { border: 0; height: 1px; background: var(--line-strong); margin: 2.5rem 0; }
.cs-block__btnwrap { margin: 1.5rem 0; }

/* ========================================================================
   13. PERFORMANCE-LITE MODE
   Toggled by html.perf-lite (set in the layout <head> capability gate) when
   hardware acceleration is unavailable — Chrome with GPU acceleration OFF
   falls back to software WebGL/compositing, where blur, backdrop-filter and
   promoted layers are extremely expensive and make the pointer + scroll lag.
   We keep the layout and colours; we only remove the GPU-bound effects.
   ===================================================================== */

/* 1) Restore the native cursor (the custom JS cursor is disabled in JS). */
html.perf-lite .cursor { display: none !important; }
html.perf-lite body,
html.perf-lite a,
html.perf-lite button,
html.perf-lite [data-magnetic],
html.perf-lite input,
html.perf-lite textarea { cursor: auto; }
html.perf-lite a,
html.perf-lite button,
html.perf-lite [data-magnetic] { cursor: pointer; }

/* 2) Kill the WebGL hero and the heavy blurred gradient orbs.
      filter: blur(60px) on a ~45vw element is one of the costliest things a
      CPU compositor can do; a soft radial gradient reads almost identically. */
html.perf-lite .hero__canvas { display: none !important; }
html.perf-lite .hero__orb { filter: none; opacity: 0.32; }

/* 3) Drop backdrop-filter everywhere it's used — it forces a full backdrop
      readback every frame. Swap the translucent backgrounds for near-opaque
      ones so text stays legible without the blur. */
html.perf-lite .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
html.perf-lite .inf-card__cat,
html.perf-lite .case-card__tag {
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
html.perf-lite .media-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* 4) Release promoted compositor layers — keeping dozens of will-change:transform
      layers alive is wasteful without a GPU. */
html.perf-lite .btn,
html.perf-lite .hero__orb,
html.perf-lite .hero__title .word,
html.perf-lite .tilt-3d,
html.perf-lite .scroll-progress span,
html.perf-lite [data-parallax] { will-change: auto; }

/* 5) mix-blend-mode is a per-pixel compositing op; drop it (cursor is hidden
      anyway, but any remaining blend layers are costly on software paint). */
html.perf-lite .cursor { mix-blend-mode: normal; }

/* 6) Tilt cards never get JS-driven in perf-lite, but make sure no leftover
      perspective transform lingers. */
html.perf-lite .tilt-3d { transform: none !important; transition: transform 0.3s var(--ease); }
