/* ==========================================================================
   ADSHUBCREATIVE - WEB
   ========================================================================== */

:root {
    /* Colors */
    --bg-transparent: transparent;
    --bg-frosted: rgba(255, 255, 255, 0.85);
    --bg-card: rgba(255, 255, 255, 0.96);
    --bg-hover-pill: rgba(15, 23, 42, 0.05);

    --text-dark: #090D1A;
    --text-body: #334155;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    --color-black: #0B0F19;
    --color-black-hover: #1E293B;

    /* Vibrant Creative Accents */
    --accent-blue: #C2151C;

    /* Brand Palette */
    --brand-red: #C2151C;
    --brand-gray: #4D4D4F;
    --accent-emerald: #059669;
    --accent-purple: #7C3AED;
    --accent-rose: #E11D48;
    --accent-amber: #D97706;
    --accent-indigo: #4F46E5;

    /* Borders & Shadows */
    --border-subtle: rgba(15, 23, 42, 0.06);
    --border-card: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(15, 23, 42, 0.14);

    --shadow-dropdown: 0 25px 60px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
    --shadow-btn: 0 8px 22px -4px rgba(11, 15, 25, 0.22);
    --shadow-scrolled: 0 12px 32px -8px rgba(15, 23, 42, 0.06);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    /* Transitions */
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease-smooth);
    --transition-base: 0.35s var(--ease-smooth);
    --transition-slow: 0.5s var(--ease-smooth);

    --container-width: 1260px;
}

/* ================= CSS RESET & BASE ================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #FFFFFF;
    color: var(--text-dark);
    line-height: 1.5;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 28px;
}

/* ================= 1. FLOATING ROUNDED CAPSULE HEADER ================= */
.site-header {
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 0;
    pointer-events: none;
    transition: all var(--transition-base);
}

.site-header.is-scrolled {
    top: 14px;
}

.header-container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: center;
}

.header-nav-wrapper {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: 100%;
    max-width: 1320px;
    height: 66px;
    padding: 6px 10px 6px 30px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-pill);
    box-shadow: 0 16px 38px -8px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(15, 23, 42, 0.05);
    transition: all var(--transition-base);
}

.site-header.is-scrolled .header-nav-wrapper {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.08);
}

/* ================= 2. BRAND LOGO ================= */
.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-fast);
}

.brand-logo:hover .logo-img {
    transform: scale(1.03);
}

/* ================= 3. DESKTOP NAVIGATION ================= */
.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    font-size: 0.90625rem;
    font-weight: 500;
    color: var(--text-body);
    border-radius: var(--radius-pill);
    transition: all var(--transition-fast);
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: var(--text-dark);
    background-color: var(--bg-hover-pill);
}

.nav-link.active {
    color: var(--text-dark);
    font-weight: 600;
    background-color: transparent;
}

.nav-link.active:hover {
    background-color: var(--bg-hover-pill);
}

/* Dropdown Arrow & Basic Menu */
.nav-arrow {
    font-size: 0.625rem;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
    color: var(--text-dark);
}

.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.1);
    padding: 6px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: all var(--transition-fast);
    z-index: 1050;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 9px 14px;
    font-size: 0.84375rem;
    font-weight: 500;
    color: var(--text-body);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background-color: var(--bg-hover-pill);
    color: var(--text-dark);
    padding-left: 17px;
}

/* ================= 5. HEADER ACTIONS ================= */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}



/* Ultra-Luxury CTA Pill */
.btn-cta-luxury {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 7px 8px 7px 22px;
    background-color: var(--color-black);
    color: #FFFFFF;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-btn);
    transition: all var(--transition-fast);
}

.btn-cta-luxury:hover {
    background-color: var(--color-black-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(11, 15, 25, 0.35);
}

.btn-circle-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all var(--transition-fast);
}

.btn-cta-luxury:hover .btn-circle-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(2px);
}

/* Minimalist Modern 2-line Mobile Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border-subtle);
    gap: 6px;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover {
    background: rgba(15, 23, 42, 0.08);
}

.mobile-menu-toggle .line {
    width: 20px;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle .line-2 {
    width: 14px;
    margin-left: auto;
    margin-right: 12px;
}

.mobile-menu-toggle:hover .line-2 {
    width: 20px;
}

/* ================= 6. MOBILE DRAWER ================= */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    visibility: hidden;
    transition: visibility var(--transition-base);
}

.mobile-drawer.is-open {
    visibility: visible;
}

.mobile-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 13, 26, 0.35);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-drawer.is-open .mobile-drawer-backdrop {
    opacity: 1;
}

.mobile-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 360px;
    background: #FFFFFF;
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-drawer.is-open .mobile-drawer-panel {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-close-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

.mobile-close-btn:hover {
    background: rgba(15, 23, 42, 0.1);
    transform: rotate(90deg);
}

.mobile-drawer-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    gap: 32px;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
    background-color: rgba(15, 23, 42, 0.04);
    color: var(--accent-blue);
}

.mobile-nav-link.active {
    background-color: transparent;
    color: var(--text-dark);
    font-weight: 600;
}

.mobile-nav-link.active:hover {
    background-color: rgba(15, 23, 42, 0.04);
    color: var(--accent-blue);
}

.mobile-submenu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 6px 0 6px 14px;
    margin-top: 4px;
    border-left: 2px solid var(--border-subtle);
}

.has-mobile-submenu.is-expanded .mobile-submenu {
    display: flex;
}

.has-mobile-submenu.is-expanded .mobile-submenu-toggle i {
    transform: rotate(180deg);
}

.mobile-sublink {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 0.84375rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
}

.mobile-sublink:hover {
    color: var(--text-dark);
    background: rgba(15, 23, 42, 0.04);
}

.mobile-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.mobile-action-full {
    width: 100%;
    justify-content: center;
    padding: 13px;
}



/* ================= 6. HERO VIDEO ONLY ================= */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 480px;
    overflow: hidden;
    background-color: #000000;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ================= 7. SECTION 2: ABOUT (CHAOS TO ORDER) ================= */
.about-manifesto-section {
    position: relative;
    background: #F6F6F7;
}

/* Scroll length that drives the assembly */
.about-scroll {
    position: relative;
    height: 260vh;
}

.about-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(60% 50% at 85% 15%, rgba(194, 21, 28, 0.07) 0%, transparent 70%),
        radial-gradient(50% 50% at 10% 90%, rgba(77, 77, 79, 0.08) 0%, transparent 70%),
        #F6F6F7;
}

.about-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.about-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 60px;
}

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.about-eyebrow-index {
    font-family: monospace, sans-serif;
    color: var(--brand-red);
}

.about-eyebrow-line {
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, var(--brand-red), rgba(11, 15, 25, 0.2));
}

/* Sentence (normal case). Words are moved from scattered positions by JS via --x/--y/--r/--s/--e */
.about-sentence {
    max-width: 1100px;
    font-size: clamp(2rem, 4.4vw, 4.4rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--color-black);
}

.about-w {
    --x: 0px;
    --y: 0px;
    --r: 0deg;
    --s: 1;
    --e: 1;
    position: relative;
    display: inline-block;
    transform: translate3d(var(--x), var(--y), 0) rotate(var(--r)) scale(var(--s));
    opacity: calc(0.25 + var(--e) * 0.75);
    filter: blur(calc((1 - var(--e)) * 6px));
    will-change: transform, opacity, filter;
    transition: color 0.5s ease;
}

/* Key words turn red with a drawn underline once they land */
.about-w.is-key::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0.1em;
    bottom: 0.02em;
    height: 0.08em;
    border-radius: 0.04em;
    background: var(--brand-red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.8s var(--ease-smooth);
}

.about-w.is-key.is-landed {
    color: var(--brand-red);
}

.about-w.is-key.is-landed::after {
    transform: scaleX(1);
}

/* Supporting text + CTA appear after the sentence is built */
.about-after {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-top: 44px;
    opacity: var(--about-after, 0);
    transform: translateY(calc((1 - var(--about-after, 0)) * 30px));
    pointer-events: none;
}

.about-after.is-live {
    pointer-events: auto;
}

.about-sub {
    max-width: 620px;
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-body);
}

.about-sub strong {
    color: var(--color-black);
}

.about-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 10px 10px 10px 28px;
    border-radius: var(--radius-pill);
    background: var(--color-black);
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.4s var(--ease-smooth);
}

.about-cta-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-red);
    transition: transform 0.5s var(--ease-smooth);
}

.about-cta:hover {
    background: var(--brand-red);
    color: #FFFFFF;
}

.about-cta:hover .about-cta-icon {
    background: #FFFFFF;
    color: var(--brand-red);
    transform: rotate(-45deg);
}

.about-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 5vh;
    transform: translateX(-50%);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    opacity: calc(1 - var(--about-e-avg, 0) * 2);
    pointer-events: none;
}

.about-scroll-hint i {
    margin-left: 6px;
    color: var(--brand-red);
    animation: about-nudge 1.6s ease-in-out infinite;
}

@keyframes about-nudge {
    50% {
        transform: translateY(5px);
    }
}

@media (max-width: 768px) {
    .about-scroll {
        height: 220vh;
    }

    .about-sentence {
        font-size: clamp(1.7rem, 7.4vw, 2.6rem);
    }

    .about-after {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-top: 30px;
    }

    .about-sub {
        font-size: 0.9375rem;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* Reduced motion: no pinning, sentence already in place */
@media (prefers-reduced-motion: reduce) {
    .about-scroll {
        height: auto;
    }

    .about-stage {
        position: relative;
        height: auto;
        padding: 120px 0;
    }

    .about-lines,
    .about-scroll-hint {
        display: none;
    }

    .about-w {
        transform: none;
        opacity: 1;
        filter: none;
    }

    .about-w.is-key {
        color: var(--brand-red);
    }

    .about-w.is-key::after {
        transform: scaleX(1);
    }

    .about-after {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}

/* ================= 3. SERVICES SECTION (PARTICLE MORPH) ================= */
.services-section {
    --svc-bg: #111113;
    --svc-line: rgba(255, 255, 255, 0.08);
    --svc-text: #F4F4F5;
    --svc-muted: #A1A1A6;
    --svc-ease: cubic-bezier(0.7, 0, 0.2, 1);
    position: relative;
    margin: 0 clamp(8px, 1.2vw, 20px);
    padding: 120px 0 110px;
    background-color: #0E0E10;
    border-radius: clamp(28px, 3.5vw, 56px);
    color: var(--svc-text);
    overflow: clip;
    isolation: isolate;
}

/* ----- Ambient background: aurora + light beams + dot matrix + spotlight + grain ----- */
.services-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* Film grain over everything */
.services-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.08;
    mix-blend-mode: overlay;
    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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Layers stay in view while the long pinned section scrolls */
.services-bg-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    /* Static base glow so the stage never goes flat while the aurora turns */
    background:
        radial-gradient(55% 50% at 85% 8%, rgba(194, 21, 28, 0.3) 0%, transparent 70%),
        radial-gradient(50% 55% at 8% 92%, rgba(194, 21, 28, 0.18) 0%, transparent 70%),
        radial-gradient(60% 60% at 30% 30%, rgba(77, 77, 79, 0.35) 0%, transparent 70%);
}

/* Aurora: huge blurred conic gradients slowly rotating and breathing */
.svc-aurora {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
    filter: blur(80px);
    will-change: transform;
}

.svc-aurora-1 {
    width: 120vmax;
    height: 70vmax;
    margin: -35vmax 0 0 -60vmax;
    background: conic-gradient(from 0deg,
            rgba(194, 21, 28, 0.6),
            rgba(194, 21, 28, 0.12) 18%,
            rgba(90, 90, 94, 0.5) 34%,
            rgba(77, 77, 79, 0.15) 50%,
            rgba(142, 15, 20, 0.55) 66%,
            rgba(90, 90, 94, 0.2) 84%,
            rgba(194, 21, 28, 0.6));
    opacity: 0.6;
    animation: aurora-spin 38s linear infinite, aurora-breathe 14s ease-in-out infinite alternate;
}

.svc-aurora-2 {
    width: 80vmax;
    height: 50vmax;
    margin: -25vmax 0 0 -40vmax;
    background: conic-gradient(from 180deg,
            rgba(255, 75, 82, 0.35),
            rgba(255, 75, 82, 0) 30%,
            rgba(120, 120, 126, 0.35) 55%,
            rgba(120, 120, 126, 0) 80%,
            rgba(255, 75, 82, 0.35));
    opacity: 0.45;
    mix-blend-mode: screen;
    animation: aurora-spin 26s linear infinite reverse, aurora-breathe 10s ease-in-out infinite alternate-reverse;
}

@keyframes aurora-spin {
    to {
        rotate: 360deg;
    }
}

@keyframes aurora-breathe {
    from {
        scale: 0.85 1;
        translate: -6vw 4vh;
    }

    to {
        scale: 1.1 0.85;
        translate: 6vw -4vh;
    }
}

/* Light beams: thin diagonal streaks drifting across */
.svc-beam {
    position: absolute;
    top: -30%;
    width: 2px;
    height: 160%;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.5) 45%, rgba(194, 21, 28, 0.6) 55%, transparent 100%);
    filter: blur(1px);
    opacity: 0.35;
    rotate: 24deg;
    animation: beam-drift 18s ease-in-out infinite;
}

.svc-beam::after {
    content: "";
    position: absolute;
    inset: 0 -30px;
    background: inherit;
    filter: blur(28px);
    opacity: 0.6;
}

.svc-beam-1 {
    left: 18%;
}

.svc-beam-2 {
    left: 52%;
    opacity: 0.2;
    animation-duration: 24s;
    animation-delay: -8s;
}

.svc-beam-3 {
    left: 82%;
    opacity: 0.28;
    animation-duration: 21s;
    animation-delay: -14s;
}

@keyframes beam-drift {

    0%,
    100% {
        transform: translateX(-12vw);
        opacity: 0;
    }

    20%,
    80% {
        opacity: 0.35;
    }

    50% {
        transform: translateX(12vw);
    }
}

/* Dot matrix, strongest in the centre */
.svc-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.5px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, #000 0%, transparent 100%);
    mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, #000 0%, transparent 100%);
}

/* Cursor spotlight (position set by JS on the section) */
.svc-spotlight {
    position: absolute;
    left: 0;
    top: 0;
    width: 700px;
    height: 700px;
    margin: -350px 0 0 -350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(194, 21, 28, 0.22) 0%, rgba(194, 21, 28, 0.06) 40%, transparent 70%);
    transform: translate3d(var(--spot-x, 50vw), var(--spot-y, 50vh), 0);
    opacity: var(--spot-o, 0);
    transition: opacity 0.6s ease;
    will-change: transform;
}

/* Edge vignette for depth */
.svc-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 80% at 50% 50%, transparent 55%, rgba(8, 8, 9, 0.6) 100%),
        linear-gradient(180deg, rgba(8, 8, 9, 0.5) 0%, transparent 18%, transparent 82%, rgba(8, 8, 9, 0.5) 100%);
}

/* ----- Header ----- */
.svc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 56px;
}

.svc-header-left {
    flex: 1;
    max-width: 720px;
}

.svc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--svc-muted);
}

.svc-eyebrow-index {
    font-family: monospace, sans-serif;
    font-size: 0.875rem;
    color: var(--brand-red);
}

.svc-eyebrow-line {
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, var(--brand-red), rgba(255, 255, 255, 0.25));
}

.svc-heading {
    font-size: clamp(2rem, 3.6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--svc-text);
}

.svc-heading em {
    font-style: normal;
    background: linear-gradient(90deg, var(--brand-red) 0%, #FF4B52 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.svc-subtext {
    max-width: 420px;
    padding: 0 0 8px 24px;
    border-left: 1px solid var(--svc-line);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 500;
    color: var(--svc-muted);
}

/* ----- Particle morph (pinned, scroll morphs the service words) ----- */
.svc-morph {
    position: relative;
    /* ~75vh of scroll per service + one screen for the pinned stage */
    height: calc(8 * 75vh + 100vh);
    margin-top: 40px;
}

.svc-morph-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.svc-morph-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.svc-morph-layout {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 96px;
    pointer-events: none;
}

/* ----- Active service detail (bottom) ----- */
.svc-details {
    display: grid;
    pointer-events: auto;
}

.svc-detail {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: end;
    gap: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--svc-line);
    visibility: hidden;
    pointer-events: none;
}

.svc-detail.is-active {
    visibility: visible;
    pointer-events: auto;
}

.svc-detail-main>*,
.svc-detail-side>* {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(6px);
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.svc-detail.is-active .svc-detail-main>*,
.svc-detail.is-active .svc-detail-side>* {
    opacity: 1;
    transform: none;
    filter: none;
    transition: opacity 0.6s ease 0.2s, transform 0.8s var(--ease-smooth) 0.2s, filter 0.6s ease 0.2s;
}

.svc-detail.is-active .svc-detail-main>*:nth-child(2) {
    transition-delay: 0.28s;
}

.svc-detail.is-active .svc-detail-main>*:nth-child(3),
.svc-detail.is-active .svc-detail-side>*:nth-child(1) {
    transition-delay: 0.36s;
}

.svc-detail.is-active .svc-detail-side>*:nth-child(2) {
    transition-delay: 0.44s;
}

.svc-detail-num {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-family: monospace, sans-serif;
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--brand-red);
    margin-bottom: 10px;
}

.svc-detail-num em {
    font-style: normal;
    font-size: 0.8125rem;
    color: #6B6B70;
}

.svc-detail-title {
    font-size: clamp(1.4rem, 2.2vw, 2.1rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--svc-text);
    margin-bottom: 12px;
}

.svc-detail-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #BDBDC2;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.svc-detail-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.svc-detail-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.svc-detail-tags li {
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(17, 17, 19, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.75rem;
    font-weight: 500;
    color: #E4E4E7;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.svc-detail-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.svc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    font-size: 0.78125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease-smooth);
}

.svc-btn i {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.svc-btn-primary {
    background: var(--brand-red);
    color: #FFFFFF;
    box-shadow: 0 10px 28px -8px rgba(194, 21, 28, 0.65);
}

.svc-btn-primary:hover {
    background: #D91E26;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.svc-btn-primary:hover i {
    transform: translateX(4px);
}

.svc-btn-ghost {
    color: var(--svc-text);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.svc-btn-ghost:hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: var(--color-black);
    transform: translateY(-2px);
}

.svc-btn-ghost:hover i {
    color: var(--brand-red);
    transform: translate(2px, -2px);
}

/* ----- HUD ----- */
.svc-hud {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 64px));
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--svc-muted);
    z-index: 60;
}

.svc-hud-count {
    font-family: monospace, sans-serif;
    min-width: 70px;
}

.svc-hud-count b {
    font-size: 1.125rem;
    color: var(--brand-red);
}

.svc-hud-segments {
    flex: 1;
    display: flex;
    gap: 6px;
}

.svc-hud-segments button {
    flex: 1;
    height: 14px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    position: relative;
}

.svc-hud-segments button::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 3px;
    margin-top: -1.5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.4s ease;
}

.svc-hud-segments button:hover::before {
    background: rgba(255, 255, 255, 0.35);
}

.svc-hud-segments button.is-on::before {
    background: var(--brand-red);
}

.svc-hud-hint i {
    margin-left: 6px;
    color: var(--brand-red);
}

/* ----- Closing CTA ----- */
.svc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    margin-top: 72px;
    padding-top: 40px;
    border-top: 1px solid var(--svc-line);
}

.svc-footer-text {
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    font-weight: 600;
    color: var(--svc-muted);
}

.svc-footer-text span {
    color: var(--svc-text);
}

.svc-big-cta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 12px 12px 12px 32px;
    border-radius: var(--radius-pill);
    background: #FFFFFF;
    color: var(--color-black);
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: all 0.4s var(--svc-ease);
}

.svc-big-cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-red);
    color: #FFFFFF;
    transition: transform 0.5s var(--svc-ease);
}

.svc-big-cta:hover {
    background: var(--brand-red);
    color: #FFFFFF;
}

.svc-big-cta:hover .svc-big-cta-icon {
    background: #FFFFFF;
    color: var(--brand-red);
    transform: rotate(-45deg);
}

/* ----- Static fallback: very short screens or reduced motion (set by JS) ----- */
.svc-morph.is-static {
    height: auto;
}

.svc-morph.is-static .svc-morph-stage {
    position: relative;
    height: auto;
    overflow: visible;
}

.svc-morph.is-static .svc-morph-layout {
    padding-bottom: 0;
}

.svc-morph.is-static .svc-details {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.svc-morph.is-static .svc-detail {
    visibility: visible;
    pointer-events: auto;
}

.svc-morph.is-static .svc-detail-main>*,
.svc-morph.is-static .svc-detail-side>* {
    opacity: 1;
    transform: none;
    filter: none;
}

.svc-morph.is-static .svc-detail-desc {
    display: block;
}

.svc-morph.is-static .svc-morph-canvas,
.svc-morph.is-static .svc-hud {
    display: none;
}

/* ----- Responsive ----- */
@media (max-width: 992px) {
    .services-section {
        margin: 0 10px;
        padding: 90px 0 70px;
    }

    .svc-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .svc-subtext {
        padding-left: 18px;
    }

    .svc-morph-layout {
        padding-bottom: 76px;
    }

    .svc-detail {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-top: 20px;
    }

    .svc-detail-side {
        align-items: flex-start;
    }

    .svc-detail-tags {
        display: none;
    }

    .svc-morph.is-static .svc-detail-tags {
        display: flex;
        justify-content: flex-start;
    }

    .svc-hud-hint {
        display: none;
    }
}

@media (max-width: 576px) {
    .services-section {
        margin: 0 6px;
        padding: 64px 0 50px;
        border-radius: 24px;
    }

    .svc-heading {
        font-size: 1.55rem;
    }

    .svc-subtext {
        font-size: 0.9375rem;
        padding-left: 14px;
    }

    .svc-detail-title {
        font-size: 1.25rem;
    }

    .svc-detail-desc {
        font-size: 0.84375rem;
        line-height: 1.6;
    }

    .svc-btn {
        padding: 11px 16px;
    }

    /* Leave room for the floating WhatsApp button on the right */
    .svc-hud {
        left: 16px;
        transform: none;
        width: calc(100% - 104px);
        bottom: 30px;
        gap: 14px;
    }

    .svc-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        margin-top: 48px;
    }

    .svc-big-cta {
        justify-content: space-between;
        padding-left: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .svc-aurora,
    .svc-beam {
        animation: none;
    }

    .svc-spotlight {
        display: none;
    }
}

/* ================= 3D GLASS ICON SHOWCASE SUITE ================= */
:root {
    --neon-lime: #D4FF00;
    --neon-lime-glow: rgba(212, 255, 0, 0.45);
}

/* ===== Minimal Single Icon Display ===== */
.card-icon-display {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    z-index: 2;
}

/* Glow div gizli — yok */
.card-icon-glow {
    display: none;
}

.card-icon {
    font-size: 6rem;
    color: #1E293B;
    position: relative;
    z-index: 2;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.stack-visual-frame:hover .card-icon {
    color: #0F172A;
}

.stack-visual-frame:hover .card-icon-glow {
    display: none;
}

/* ================= FLOATING BOTTOM-RIGHT WHATSAPP ================= */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-fast);
}

.floating-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5);
    color: #FFFFFF;
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    background: #0B0F19;
    color: #FFFFFF;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-md);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: all var(--transition-fast);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #0B0F19;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ================= 4. PORTFOLIO SECTION (INFINITE DRAGGABLE CANVAS) ================= */
.portfolio-section {
    position: relative;
    background-color: #FFFFFF;
    padding: 130px 0 110px;
    color: var(--text-dark);
}

.pf-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 56px;
    margin-bottom: 36px;
}

.pf-header-left {
    flex: 1;
    max-width: 760px;
}

.pf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.pf-eyebrow-index {
    font-family: monospace, sans-serif;
    font-size: 0.875rem;
    color: var(--brand-red);
}

.pf-eyebrow-line {
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, var(--brand-red), rgba(11, 15, 25, 0.2));
}

.pf-heading {
    font-size: clamp(2rem, 3.6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--color-black);
}

.pf-heading em {
    font-style: normal;
    color: var(--brand-red);
}

.pf-subtext {
    max-width: 400px;
    padding: 0 0 8px 24px;
    border-left: 1px solid var(--border-card);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 500;
    color: #475569;
}

/* ----- Category filters ----- */
.pf-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.pf-filter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-card);
    background: #FFFFFF;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.pf-filter em {
    font-style: normal;
    font-family: monospace, sans-serif;
    font-size: 0.75rem;
    color: var(--text-light);
}

.pf-filter:hover {
    border-color: var(--color-black);
}

.pf-filter.is-active {
    background: var(--color-black);
    border-color: var(--color-black);
    color: #FFFFFF;
}

.pf-filter.is-active em {
    color: var(--brand-red);
}

/* ----- Infinite canvas ----- */
.pf-canvas {
    position: relative;
    margin: 0 clamp(8px, 1.2vw, 20px);
    height: min(100vh, 980px);
    min-height: 560px;
    border-radius: clamp(24px, 3vw, 44px);
    overflow: hidden;
    isolation: isolate;
    background-color: #EFEFF1;
    background-size: 24px 24px;
    cursor: none;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

/* Soft inner edges */
.pf-canvas::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    box-shadow: inset 0 0 80px 20px rgba(239, 239, 241, 0.95);
    border-radius: inherit;
}

.pf-plane {
    position: absolute;
    inset: 0;
    will-change: transform;
}

.pf-tile {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #DADADF;
    box-shadow: 0 18px 40px -18px rgba(11, 15, 25, 0.35);
    cursor: none;
    will-change: transform;
    transition: opacity 0.6s ease, filter 0.6s ease, box-shadow 0.6s ease;
    -webkit-user-drag: none;
}

.pf-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    transition: transform 0.8s var(--ease-smooth);
}

/* Hover: the project lifts (scale is applied in JS), the rest recede */
.pf-canvas.is-focus .pf-tile:not(.is-hover),
.pf-tile.is-muted {
    opacity: 0.22;
    filter: grayscale(0.7);
}

.pf-tile.is-hover {
    z-index: 3;
    box-shadow: 0 0 0 3px var(--brand-red), 0 50px 90px -30px rgba(11, 15, 25, 0.6);
}

.pf-tile.is-hover img {
    transform: scale(1.05);
}

/* Info card — placed next to the hovered project by JS */
.pf-info {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 6;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 22px 24px;
    border-radius: 20px;
    background: var(--color-black);
    color: #FFFFFF;
    box-shadow: 0 30px 70px -20px rgba(11, 15, 25, 0.55);
    pointer-events: none;
    opacity: 0;
    transform: translate3d(var(--ix, 0px), var(--iy, 0px), 0);
    transition: opacity 0.3s ease;
    will-change: transform;
}

.pf-canvas.is-focus .pf-info {
    opacity: 1;
}

.pf-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-red), transparent);
}

/* Content crossfade when moving between projects */
.pf-info>* {
    transition: opacity 0.2s ease;
}

.pf-info.is-swapping>* {
    opacity: 0;
}

.pf-info-meta {
    font-family: monospace, sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #FF4B52;
}

.pf-info-name {
    font-size: 1.625rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.pf-info-title {
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 500;
    color: #D4D4D8;
}

.pf-info-services {
    font-size: 0.75rem;
    font-weight: 600;
    color: #8E8E93;
}

.pf-info-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    background: var(--brand-red);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Custom cursor */
.pf-cursor {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    width: 92px;
    height: 92px;
    margin: -46px 0 0 -46px;
    border-radius: 50%;
    background: var(--color-black);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(var(--pcx, -200px), var(--pcy, -200px), 0) scale(var(--pcs, 1));
    transition: opacity 0.3s ease, background 0.3s ease, width 0.3s ease;
    will-change: transform;
}

.pf-canvas.has-cursor .pf-cursor {
    opacity: 1;
}

.pf-canvas.is-focus .pf-cursor {
    background: var(--brand-red);
}

/* HUD */
.pf-hud {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 24px;
    z-index: 6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--text-body);
    pointer-events: none;
}

.pf-hud b {
    font-family: monospace, sans-serif;
    font-size: 1rem;
    color: var(--brand-red);
}

.pf-hud-hint i {
    margin-right: 6px;
    color: var(--brand-red);
}

/* ----- Closing CTA ----- */
.pf-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    margin-top: 64px;
}

.pf-cta-micro {
    display: block;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--brand-red);
}

.pf-cta-text {
    font-size: clamp(1.5rem, 2.6vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-black);
}

.pf-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 12px 12px 12px 30px;
    border-radius: var(--radius-pill);
    background: var(--color-black);
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.4s var(--ease-smooth);
}

.pf-cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-red);
    transition: transform 0.5s var(--ease-smooth);
}

.pf-cta-btn:hover {
    background: var(--brand-red);
    color: #FFFFFF;
}

.pf-cta-btn:hover .pf-cta-icon {
    background: #FFFFFF;
    color: var(--brand-red);
    transform: rotate(-45deg);
}

/* ----- Responsive ----- */
@media (max-width: 992px) {
    .portfolio-section {
        padding: 90px 0 80px;
    }

    .pf-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .pf-subtext {
        padding-left: 18px;
    }

    .pf-canvas {
        height: 80vh;
        margin: 0 10px;
    }

    .pf-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .portfolio-section {
        padding: 64px 0 60px;
    }

    .pf-heading {
        font-size: 1.6rem;
    }

    .pf-subtext {
        font-size: 0.9375rem;
        padding-left: 14px;
    }

    .pf-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -20px 22px;
        padding: 0 20px;
        scrollbar-width: none;
    }

    .pf-filters::-webkit-scrollbar {
        display: none;
    }

    .pf-filter {
        flex: 0 0 auto;
        padding: 9px 14px;
    }

    .pf-canvas {
        height: 72vh;
        min-height: 480px;
        margin: 0 6px;
        border-radius: 22px;
    }

    .pf-hud {
        left: 18px;
        right: 90px;
        bottom: 18px;
    }

    .pf-info {
        width: 260px;
        padding: 16px 18px;
    }

    .pf-info-name {
        font-size: 1.25rem;
    }

    .pf-cta-btn {
        width: 100%;
        justify-content: space-between;
    }
}

/* Touch devices: no custom cursor, labels always readable on tap focus */
@media (hover: none) {

    .pf-canvas,
    .pf-tile {
        cursor: auto;
    }

    .pf-cursor {
        display: none;
    }
}

/* ================= 5. REFERANSLAR (BRANDS LOGO MARQUEE) ================= */
.brands-marquee-section {
    background-color: #FFFFFF;
    padding: 20px 0 110px;
    position: relative;
    overflow: hidden;
}

.brands-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 28px;
}

/* Studio Editorial Header */
.brands-header {
    margin-bottom: 56px;
}

.brands-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.brands-eyebrow .eyebrow-index {
    font-family: monospace, sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #94A3B8;
    letter-spacing: 0.08em;
}

.brands-eyebrow .eyebrow-title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-black);
}

.brands-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 48px;
}

.brands-heading {
    flex: 1;
    max-width: 680px;
    font-size: clamp(2.3rem, 3.8vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--color-black);
}

.brands-heading em {
    font-style: normal;
    font-weight: 400;
    color: #0B0F19;
}

.brands-manifesto {
    flex: 1;
    max-width: 420px;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #64748B;
    font-weight: 400;
}

/* Marquee Outer Box with Subtle Edge Fade Gradients */
.brands-marquee-wrapper {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.brands-marquee-wrapper::before,
.brands-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 220px;
    z-index: 5;
    pointer-events: none;
}

.brands-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #FFFFFF 20%, rgba(255, 255, 255, 0) 100%);
}

.brands-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #FFFFFF 20%, rgba(255, 255, 255, 0) 100%);
}

/* Individual Marquee Row */
.marquee-row {
    width: 100%;
    overflow: hidden;
    display: flex;
    user-select: none;
}

.marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

/* 1. Satır: Soldan Sağa (Left to Right) */
.track-to-right {
    animation: marqueeToRight 38s linear infinite;
}

@keyframes marqueeToRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0%);
    }
}

/* 2. Satır: Sağdan Sola (Right to Left) */
.track-to-left {
    animation: marqueeToLeft 40s linear infinite;
}

@keyframes marqueeToLeft {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Hover Pause Effect */
.marquee-row:hover .marquee-track {
    animation-play-state: paused;
}

/* Group Container */
.marquee-group {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 9px;
    flex-shrink: 0;
}

/* Brand Logo Card (Pure Logo Slot) */
.brand-logo-card {
    width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FAFAFC;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    padding: 16px 26px;
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
}


.brand-logo-img {
    width: 100%;
    height: 100%;
    max-height: 40px;
    object-fit: contain;
    transition: filter 0.35s ease, transform 0.35s ease;
    display: block;
    pointer-events: none;
}

.brand-logo-card:hover .brand-logo-img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* ================= 6. SECTION: BLOG CAROUSEL (NEXT / PREV HORIZONTAL SLIDER) ================= */
.blog-carousel-section {
    background: #FFFFFF;
    padding: 20px 0 30px;
    position: relative;
    overflow: hidden;
}

.blog-carousel-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
.blog-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 48px;
    margin-bottom: 50px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.carousel-header-left {
    flex: 1;
}

.carousel-eyebrow {
    display: inline-block;
    font-family: monospace, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c30d16;
    margin-bottom: 14px;
}

.carousel-title {
    font-size: clamp(2.3rem, 3.8vw, 3.4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #0B0F19;
    margin: 0;
}

.carousel-title em {
    font-style: normal;
    font-weight: 400;
    color: #c30d16;
}

.carousel-header-right {
    flex: 0 0 460px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    text-align: right;
}

.carousel-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #64748B;
    margin: 0;
    max-width: 400px;
}

.carousel-nav-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.carousel-nav-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #FAFAFC;
    border: 1.5px solid rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0B0F19;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.carousel-nav-btn:hover {
    background: #0B0F19;
    border-color: #0B0F19;
    color: #FFFFFF;
    transform: scale(1.08);
}

.carousel-nav-btn:active {
    transform: scale(0.95);
}

.carousel-all-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 999px;
    background: #FAFAFC;
    border: 1px solid rgba(15, 23, 42, 0.14);
    color: #0B0F19;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-left: 6px;
}

.carousel-all-link:hover {
    background: #0B0F19;
    border-color: #0B0F19;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Scrollable Viewport */
.blog-carousel-viewport {
    /* Cards size themselves from this width (cqw) so whole cards always fit */
    container-type: inline-size;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 16px 4px 44px;
    margin: 0 -4px;
    cursor: grab;
}

/* While dragging / gliding, JS turns off snapping + smooth scroll so the pointer drives it 1:1 */
.blog-carousel-viewport.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.blog-carousel-viewport.is-dragging a {
    pointer-events: none;
}

.blog-carousel-viewport::-webkit-scrollbar {
    display: none;
}

/* Track */
.blog-carousel-track {
    --tilt: 0deg;
    --blog-gap: 36px;
    --blog-per-view: 3;
    display: flex;
    gap: var(--blog-gap);
    width: max-content;
    perspective: 1400px;
}

/* Lets the hover lift animate even though transform is built from variables */
@property --lift {
    syntax: '<length>';
    inherits: false;
    initial-value: 0px;
}

/* Big Carousel Card (DEVASA KARTLAR) */
.blog-carousel-card {
    flex: 0 0 calc((100cqw - (var(--blog-per-view) - 1) * var(--blog-gap)) / var(--blog-per-view));
    min-width: 0;
    background: #FAFAFC;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    --lift: 0px;
    /* Cards lean with drag speed (--tilt set by JS on the track) */
    transform: translateY(var(--lift)) rotateY(var(--tilt));
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, --lift 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.blog-carousel-card:hover {
    --lift: -8px;
    background: #FFFFFF;
    border-color: rgba(194, 21, 28, 0.3);
    box-shadow: 0 28px 64px -16px rgba(11, 15, 25, 0.14);
}

/* Media (Kocaman Görsel) */
.carousel-card-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: block;
    background: #0B0F19;
}

.carousel-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-carousel-card:hover .carousel-card-media img {
    transform: scale(1.06);
}

/* Category Pill on Image */
.carousel-card-tag {
    transition: background 0.3s ease, border-color 0.3s ease;
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 7px 16px;
    background: rgba(11, 15, 25, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Body */
.carousel-card-body {
    padding: 24px 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.carousel-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-meta-date {
    color: #94A3B8;
}

.card-meta-sep {
    color: #CBD5E1;
}

.card-meta-read {
    color: var(--brand-red);
    font-weight: 700;
}

.carousel-card-title {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: -0.025em;
    margin: 0;
}

.carousel-card-title a {
    color: #0B0F19;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-carousel-card:hover .carousel-card-title a {
    color: var(--brand-red);
}

/* Title underline draws left → right on hover */
.title-line {
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left 92%;
    transition: background-size 0.6s var(--ease-smooth);
}

.blog-carousel-card:hover .title-line {
    background-size: 100% 2px;
}

.blog-carousel-card:hover .carousel-card-tag {
    background: var(--brand-red);
    border-color: var(--brand-red);
}

.carousel-card-excerpt {
    font-size: 0.94rem;
    line-height: 1.7;
    color: #64748B;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0B0F19;
    text-decoration: none;
    margin-top: 6px;
    transition: all 0.2s ease;
}

.blog-carousel-card:hover .carousel-card-cta {
    color: var(--brand-red);
    gap: 14px;
}

/* Nav buttons dim at the ends */
.carousel-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* ----- Drag progress ----- */
.blog-progress {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.blog-progress-count {
    font-family: monospace, sans-serif;
    min-width: 64px;
}

.blog-progress-count b {
    font-size: 1rem;
    color: var(--brand-red);
}

.blog-progress-bar {
    position: relative;
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: rgba(15, 23, 42, 0.1);
    overflow: hidden;
}

.blog-progress-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-black), var(--brand-red));
    transform: scaleX(var(--blog-p, 0));
    transform-origin: left center;
}

.blog-progress-hint i {
    margin-right: 6px;
    color: var(--brand-red);
}

@media (hover: none) {
    .blog-progress-hint {
        display: none;
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
    .blog-carousel-track {
        --blog-per-view: 2;
    }
}

@media (max-width: 992px) {
    .blog-carousel-card {
        padding: 20px;
    }

    .carousel-card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .blog-carousel-section {
        padding: 80px 0 90px;
    }

    .blog-carousel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 36px;
    }

    /* Desktop flex-basis (460px width) would become a 460px height in the stacked layout */
    .carousel-header-right {
        flex: 0 0 auto;
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }

    .blog-carousel-track {
        --blog-per-view: 1;
        --blog-gap: 20px;
    }

    .blog-carousel-card {
        border-radius: 22px;
        padding: 18px;
    }

    .carousel-card-title {
        font-size: 1.18rem;
    }
}

@media (max-width: 576px) {
    .carousel-title {
        font-size: 2rem;
    }

    .blog-carousel-container {
        padding: 0 16px;
    }

    .blog-carousel-card {
        padding: 16px;
    }
}

/* Full menu needs ~1170px; below that (iPad Pro portrait, small laptops) use the drawer */
@media (max-width: 1199px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 992px) {

    .site-header {
        top: 14px;
        padding: 0;
    }

    .header-nav-wrapper {
        height: 56px;
        padding: 6px 8px 6px 18px;
    }


    .variant-selector-bar {
        padding: 8px 12px;
        overflow-x: auto;
        max-width: 100%;
    }

    .kinetic-accordion-container {
        height: 520px;
    }

    .split-showcase-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .h-card {
        width: 440px;
    }

    /* Brands 992px */
    .brands-marquee-section {
        padding: 80px 0 90px;
    }

    .brands-header {
        margin-bottom: 40px;
    }

    .brands-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .brands-manifesto {
        max-width: 100%;
        font-size: 0.96rem;
    }

    .brands-marquee-wrapper::before,
    .brands-marquee-wrapper::after {
        width: 140px;
    }

    .brand-logo-card {
        width: 160px;
        height: 72px;
        padding: 14px 20px;
        border-radius: 14px;
    }

    .brand-logo-img {
        max-height: 36px;
    }
}

@media (max-width: 768px) {

    /* Brands 768px */
    .brands-marquee-section {
        padding: 65px 0 75px;
    }

    .brands-container {
        padding: 0 20px;
    }

    .brands-header {
        margin-bottom: 32px;
    }

    .brands-heading {
        font-size: clamp(1.85rem, 3.4vw, 2.4rem);
    }

    .brands-marquee-wrapper {
        gap: 14px;
    }

    .marquee-group {
        gap: 14px;
        padding: 0 7px;
    }

    .brand-logo-card {
        width: 140px;
        height: 64px;
        padding: 12px 16px;
        border-radius: 12px;
    }

    .brand-logo-img {
        max-height: 30px;
    }

    .brands-marquee-wrapper::before,
    .brands-marquee-wrapper::after {
        width: 70px;
    }
}

@media (max-width: 576px) {
    .header-container {
        padding: 0 14px;
    }

    .header-nav-wrapper {
        height: 52px;
        padding: 6px 6px 6px 14px;
        gap: 12px;
    }

    .logo-img {
        height: 28px;
    }

    .btn-cta-luxury {
        padding: 6px 6px 6px 14px;
        font-size: 0.78125rem;
    }

    .btn-circle-icon {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
    }

    .hero-video-section {
        height: 70vh;
        min-height: 380px;
    }

    .p-card-2026 {
        border-radius: 22px;
    }

    .p-card-inner {
        padding: 18px 16px;
        border-radius: 21px;
    }

    .p-card-stage {
        aspect-ratio: 16 / 11 !important;
        min-height: auto !important;
        margin-bottom: 16px;
        border-radius: 14px;
    }

    .p-project-title {
        font-size: 1.15rem;
    }

    .p-card-featured .p-project-title {
        font-size: 1.25rem;
    }

    .p-project-summary {
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .p-metric-card {
        padding: 6px 12px;
    }

    .p-metric-val {
        font-size: 0.95rem;
    }

    .p-action-circle {
        width: 42px;
        height: 42px;
        font-size: 0.85rem;
    }

    /* Brands 576px */
    .brands-marquee-section {
        padding: 52px 0 60px;
    }

    .brands-container {
        padding: 0 16px;
    }

    .brands-header {
        margin-bottom: 26px;
    }

    .brands-heading {
        font-size: 1.75rem;
    }

    .brands-manifesto {
        font-size: 0.9rem;
    }

    .brands-marquee-wrapper {
        gap: 12px;
    }

    .marquee-group {
        gap: 12px;
        padding: 0 6px;
    }

    .brand-logo-card {
        width: 124px;
        height: 56px;
        padding: 10px 14px;
        border-radius: 10px;
    }

    .brand-logo-img {
        max-height: 25px;
    }

    .brands-marquee-wrapper::before,
    .brands-marquee-wrapper::after {
        width: 40px;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* ================= 7. FOOTER: DARK PANEL, BIG CTA + GIANT WORDMARK ================= */
.site-footer {
    background: #FFFFFF;
    padding: 0 clamp(8px, 1.2vw, 20px) clamp(8px, 1.2vw, 20px);
}

.ft-panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: clamp(28px, 3.5vw, 56px);
    background:
        radial-gradient(50% 60% at 90% 0%, rgba(194, 21, 28, 0.28) 0%, transparent 70%),
        radial-gradient(40% 50% at 0% 100%, rgba(77, 77, 79, 0.35) 0%, transparent 70%),
        #0E0E10;
    color: #F4F4F5;
    padding-top: clamp(64px, 8vw, 110px);
}

/* Film grain */
.ft-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.07;
    mix-blend-mode: overlay;
    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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ----- CTA ----- */
.ft-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 48px;
    padding-bottom: clamp(48px, 6vw, 80px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ft-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin-bottom: 28px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #D4D4D8;
}

.ft-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: ft-pulse 2s ease-out infinite;
}

@keyframes ft-pulse {
    to {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
}

.ft-cta-title {
    max-width: 820px;
    font-size: clamp(2.6rem, 6vw, 5.75rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.045em;
    color: #FFFFFF;
    margin-bottom: 32px;
}

.ft-cta-title em {
    font-style: normal;
    color: #FF3B43;
}

/* Email: red fill wipes in under the text on hover */
.ft-mail {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: clamp(1.1rem, 2vw, 1.75rem);
    font-weight: 700;
    color: #FFFFFF;
}

.ft-mail-text {
    background-image: linear-gradient(var(--brand-red), var(--brand-red));
    background-size: 0% 3px;
    background-repeat: no-repeat;
    background-position: left 100%;
    padding-bottom: 4px;
    transition: background-size 0.6s var(--ease-smooth);
}

.ft-mail-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-red);
    font-size: 1rem;
    transition: transform 0.5s var(--ease-smooth), background 0.3s ease;
}

.ft-mail:hover {
    color: #FFFFFF;
}

.ft-mail:hover .ft-mail-text {
    background-size: 100% 3px;
}

.ft-mail:hover .ft-mail-icon {
    transform: rotate(-45deg);
    background: #FFFFFF;
    color: var(--brand-red);
}

.ft-quick {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 280px;
}

.ft-quick-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.ft-quick-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #8E8E93;
}

.ft-quick-val {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #FFFFFF;
}

.ft-quick-val i {
    margin-left: 6px;
    color: #22C55E;
}

.ft-quick-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(194, 21, 28, 0.6);
}

/* ----- Directory ----- */
.ft-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr 0.8fr;
    gap: 40px 56px;
    padding: clamp(48px, 6vw, 72px) 0;
}

.ft-logo img {
    display: block;
    filter: invert(1);
}

.ft-desc {
    margin-top: 20px;
    max-width: 300px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #A1A1A6;
}

/* office address sits under the brand text */
.ft-office {
    margin-top: 36px;
}

/* services: two columns, filled top to bottom */
.ft-links.ft-links-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(var(--rows, 4), auto);
    grid-auto-flow: column;
    gap: 12px 32px;
}

.ft-col-title {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #FF4B52;
    margin-bottom: 20px;
}

.ft-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ft-links a {
    position: relative;
    font-size: 0.9375rem;
    color: #D4D4D8;
    transition: color 0.25s ease, padding 0.35s var(--ease-smooth);
}

.ft-links a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--brand-red);
    transition: width 0.35s var(--ease-smooth);
}

.ft-links a:hover {
    color: #FFFFFF;
    padding-left: 18px;
}

.ft-links a:hover::before {
    width: 12px;
}

.ft-address {
    font-style: normal;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #D4D4D8;
    margin-bottom: 12px;
}

.ft-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 2px;
}

.ft-map-link i {
    font-size: 0.7rem;
    color: var(--brand-red);
}

.ft-map-link:hover {
    color: #FFFFFF;
    border-color: var(--brand-red);
}

.ft-clock {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    font-family: monospace, sans-serif;
    font-size: 0.875rem;
    color: #D4D4D8;
}

/* ----- Socials + back to top ----- */
.ft-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ft-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ft-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #D4D4D8;
    transition: all 0.3s ease;
}

.ft-social:hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: var(--color-black);
}

.ft-social:hover i {
    color: var(--brand-red);
}

.ft-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px 10px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #D4D4D8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ft-top-btn i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-red);
    color: #FFFFFF;
    transition: transform 0.4s var(--ease-smooth);
}

.ft-top-btn:hover {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.ft-top-btn:hover i {
    transform: translateY(-3px);
}

/* ----- Giant wordmark ----- */
.ft-giant {
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 0 12px;
    font-size: clamp(6rem, 25vw, 22rem);
    font-weight: 800;
    line-height: 0.82;
    user-select: none;
}

.ft-giant span {
    display: inline-block;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.12) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: translateY(105%);
    transition: transform 1.1s var(--ease-smooth) calc(var(--i) * 0.07s), background 0.4s ease;
}

.ft-giant.is-in span {
    transform: translateY(0);
}

.ft-giant span:hover {
    background: linear-gradient(180deg, #FF4B52 0%, rgba(194, 21, 28, 0.25) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    transform: translateY(-4%);
    transition: transform 0.4s var(--ease-smooth), background 0.4s ease;
}

/* ----- Legal ----- */
.ft-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 22px;
    padding-bottom: 26px;
    font-size: 0.8125rem;
    color: #8E8E93;
}

.ft-legal-links {
    display: flex;
    gap: 22px;
}

.ft-legal-links a {
    color: #A1A1A6;
}

.ft-legal-links a:hover {
    color: #FFFFFF;
}

/* ----- Responsive ----- */
@media (max-width: 992px) {
    .ft-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .ft-quick {
        flex-direction: row;
        width: 100%;
        min-width: 0;
    }

    .ft-quick-link {
        flex: 1;
    }

    .ft-grid {
        grid-template-columns: 2fr 1fr;
    }

    .ft-col-brand {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 40px;
    }

    .ft-col-brand .ft-logo,
    .ft-col-brand .ft-desc {
        grid-column: 1;
    }

    .ft-office {
        grid-column: 2;
        grid-row: 1 / span 2;
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .ft-mail {
        gap: 12px;
        font-size: 1.05rem;
    }

    .ft-mail-icon {
        width: 42px;
        height: 42px;
    }

    .ft-quick {
        flex-direction: column;
    }

    .ft-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ft-col-brand {
        display: block;
    }

    .ft-office {
        margin-top: 32px;
    }

    .ft-links.ft-links-split {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
    }

    .ft-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .ft-social span {
        display: none;
    }

    .ft-social {
        padding: 12px 14px;
    }

    .ft-legal {
        flex-direction: column;
        align-items: flex-start;
    }

    .ft-legal-links {
        gap: 16px;
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ft-giant span {
        transform: none;
        transition: none;
    }

    .ft-status-dot {
        animation: none;
    }
}

/* ==========================================================================
   UNIFIED UI SYSTEM — one look for every button, link and card hover
   --------------------------------------------------------------------------
   1. Primary   : pill + round icon. Hover → red pill, white icon, arrow tilts.
   2. Secondary : outline pill / round. Hover → fills with ink (white on dark).
   3. Chip      : small outline pill (filters). Active = filled.
   4. Text link : arrow link. Hover → red, underline draws, arrow nudges.
   5. Card      : lifts 6px, soft shadow, red hairline border.
   Colours flip automatically inside dark sections (services, footer).
   ========================================================================== */
:root {
    --ui-dur: 0.45s;
    --ui-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ui-ink: #0B0F19;
    --ui-btn-bg: var(--ui-ink);
    --ui-btn-fg: #FFFFFF;
    --ui-line: rgba(11, 15, 25, 0.14);
    --ui-fill: var(--ui-ink);
    --ui-fill-fg: #FFFFFF;
    --ui-text: var(--ui-ink);
}

/* Dark sections */
.services-section,
.ft-panel,
.ct-info {
    --ui-btn-bg: #FFFFFF;
    --ui-btn-fg: var(--ui-ink);
    --ui-line: rgba(255, 255, 255, 0.2);
    --ui-fill: #FFFFFF;
    --ui-fill-fg: var(--ui-ink);
    --ui-text: #FFFFFF;
}

/* ----- 1. Primary ----- */
.btn-cta-luxury,
.about-cta,
.svc-big-cta,
.pf-cta-btn,
.svc-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 6px 6px 6px 24px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--ui-btn-bg);
    color: var(--ui-btn-fg);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: none;
    transform: none;
    transition: background var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease), box-shadow var(--ui-dur) var(--ui-ease);
}

/* Round icon inside the primary button */
.btn-circle-icon,
.btn-cta-luxury>i,
.about-cta-icon,
.svc-big-cta-icon,
.pf-cta-icon,
.svc-btn-primary i {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-red);
    color: #FFFFFF;
    font-size: 0.875rem;
    transform: none;
    transition: background var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease), transform var(--ui-dur) var(--ui-ease);
}

.btn-cta-luxury:hover,
.about-cta:hover,
.svc-big-cta:hover,
.pf-cta-btn:hover,
.svc-btn-primary:hover {
    background: var(--brand-red);
    color: #FFFFFF;
    transform: none;
    box-shadow: 0 14px 30px -12px rgba(194, 21, 28, 0.6);
}

.btn-cta-luxury:hover .btn-circle-icon,
.btn-cta-luxury:hover>i,
.about-cta:hover .about-cta-icon,
.svc-big-cta:hover .svc-big-cta-icon,
.pf-cta-btn:hover .pf-cta-icon,
.svc-btn-primary:hover i {
    background: #FFFFFF;
    color: var(--brand-red);
    transform: rotate(-45deg);
}

/* Compact size in the header bar */
.site-header .btn-cta-luxury {
    padding: 5px 5px 5px 20px;
    font-size: 0.875rem;
    gap: 12px;
}

.site-header .btn-circle-icon {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
}

/* ----- 2. Secondary (outline) ----- */
.svc-btn-ghost,
.carousel-all-link,
.ft-top-btn,
.ft-social,
.action-btn-secondary,
.carousel-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--ui-line);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--ui-text);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: none;
    transform: none;
    cursor: pointer;
    transition: background var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease), border-color var(--ui-dur) var(--ui-ease);
}

.svc-btn-ghost,
.carousel-all-link,
.action-btn-secondary {
    min-height: 56px;
    padding: 0 24px;
}

.ft-top-btn,
.ft-social {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.8125rem;
}

.carousel-nav-btn {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
}

.svc-btn-ghost i,
.carousel-all-link i,
.ft-social i,
.action-btn-secondary i,
.carousel-nav-btn i {
    color: inherit;
    transition: transform var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease);
}

.svc-btn-ghost:hover,
.carousel-all-link:hover,
.ft-top-btn:hover,
.ft-social:hover,
.action-btn-secondary:hover,
.carousel-nav-btn:hover {
    background: var(--ui-fill);
    border-color: var(--ui-fill);
    color: var(--ui-fill-fg);
    transform: none;
    box-shadow: none;
}

.svc-btn-ghost:hover i,
.carousel-all-link:hover i,
.ft-social:hover i,
.action-btn-secondary:hover i {
    color: var(--brand-red);
    transform: translate(2px, -2px);
}

.carousel-nav-btn:hover i {
    transform: none;
}

.carousel-nav-btn:active {
    transform: scale(0.95);
}

/* Back-to-top keeps its small red round icon */
.ft-top-btn {
    padding-right: 6px;
}

.ft-top-btn:hover i {
    background: var(--brand-red);
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* ----- 3. Chips (filters) ----- */
.pf-filter {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--ui-line);
    background: transparent;
    color: var(--ui-text);
    transition: background var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease), border-color var(--ui-dur) var(--ui-ease);
}

.pf-filter:hover {
    border-color: var(--ui-ink);
}

.pf-filter.is-active {
    background: var(--ui-fill);
    border-color: var(--ui-fill);
    color: var(--ui-fill-fg);
}

/* ----- 4. Text links with arrow ----- */
.carousel-card-cta,
.ft-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    padding-bottom: 2px;
    color: var(--ui-text);
    font-weight: 700;
    background-image: linear-gradient(var(--brand-red), var(--brand-red));
    background-size: 0% 1.5px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: color var(--ui-dur) var(--ui-ease), background-size var(--ui-dur) var(--ui-ease);
}

.carousel-card-cta i,
.ft-map-link i {
    color: var(--brand-red);
    transition: transform var(--ui-dur) var(--ui-ease);
}

.carousel-card-cta:hover,
.blog-carousel-card:hover .carousel-card-cta,
.ft-map-link:hover {
    color: var(--brand-red);
    gap: 8px;
    background-size: 100% 1.5px;
}

.carousel-card-cta:hover i,
.blog-carousel-card:hover .carousel-card-cta i,
.ft-map-link:hover i {
    transform: translateX(4px);
}

/* ----- 5. Cards ----- */
.blog-carousel-card:hover {
    --lift: -6px;
    border-color: rgba(194, 21, 28, 0.3);
    box-shadow: 0 28px 60px -24px rgba(11, 15, 25, 0.22);
}

.ft-quick-link {
    transition: transform var(--ui-dur) var(--ui-ease), background var(--ui-dur) var(--ui-ease), border-color var(--ui-dur) var(--ui-ease), box-shadow var(--ui-dur) var(--ui-ease);
}

.ft-quick-link:hover {
    transform: translateY(-6px);
    border-color: rgba(194, 21, 28, 0.6);
    box-shadow: 0 28px 60px -24px rgba(0, 0, 0, 0.6);
}

/* Mobile drawer: full-width buttons */
.mobile-action-full {
    width: 100%;
    justify-content: space-between;
}

.action-btn-secondary.mobile-action-full {
    justify-content: center;
}

@media (max-width: 576px) {

    .svc-btn-primary,
    .svc-btn-ghost {
        width: 100%;
        justify-content: space-between;
    }

    .svc-btn-ghost {
        justify-content: center;
    }
}

/* ==========================================================================
   CONTACT PAGE (iletisim.blade.php)
   ========================================================================== */
.contact-page {
    background:
        radial-gradient(50% 700px at 90% 0%, rgba(194, 21, 28, 0.1) 0%, transparent 70%),
        radial-gradient(45% 600px at 0% 380px, rgba(77, 77, 79, 0.1) 0%, transparent 70%),
        #F6F6F7;
}

/* ----- Hero ----- */
.ct-hero {
    position: relative;
    padding: 170px 0 70px;
}

.ct-hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 56px;
}

.ct-hero-left {
    max-width: 700px;
}

.ct-title {
    font-size: clamp(2.8rem, 7vw, 6.5rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: var(--color-black);
    margin-bottom: 24px;
}

.ct-title em {
    font-style: normal;
    color: var(--brand-red);
}

.ct-lead {
    max-width: 520px;
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-body);
}

/* Quick contact cards (card pattern from the UI system) */
.ct-quick {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 360px;
}

.ct-quick-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 20px;
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    transition: transform var(--ui-dur) var(--ui-ease), border-color var(--ui-dur) var(--ui-ease), box-shadow var(--ui-dur) var(--ui-ease);
}

.ct-quick-card:hover {
    transform: translateY(-6px);
    border-color: rgba(194, 21, 28, 0.3);
    box-shadow: 0 28px 60px -24px rgba(11, 15, 25, 0.22);
}

.ct-quick-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(194, 21, 28, 0.08);
    color: var(--brand-red);
}

.ct-quick-icon.is-wa {
    background: rgba(34, 197, 94, 0.1);
    color: #16A34A;
}

.ct-quick-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ct-quick-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.ct-quick-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-black);
}

.ct-quick-arrow {
    color: var(--brand-red);
    transition: transform var(--ui-dur) var(--ui-ease);
}

.ct-quick-card:hover .ct-quick-arrow {
    transform: translateX(4px);
}

/* ----- Form + info grid ----- */
.ct-main {
    padding: 10px 0 120px;
}

.ct-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.ct-form-card {
    padding: clamp(28px, 4vw, 52px);
    border-radius: 32px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 30px 80px -40px rgba(11, 15, 25, 0.18);
}

.ct-group {
    border: 0;
    padding: 0;
    margin: 0 0 40px;
    min-width: 0;
}

.ct-group-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-black);
}

.ct-group-title span {
    font-family: monospace, sans-serif;
    font-size: 0.8125rem;
    color: var(--brand-red);
}

.ct-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Chip = filter chip from the UI system with a hidden input */
.ct-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.ct-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ct-chip:has(input:focus-visible) {
    outline: 2px solid var(--brand-red);
    outline-offset: 2px;
}

/* Floating-label fields */
.ct-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 28px;
}

.ct-field {
    position: relative;
    padding-top: 18px;
}

.ct-field-full {
    grid-column: 1 / -1;
}

.ct-field input,
.ct-field textarea {
    width: 100%;
    padding: 12px 0 12px;
    border: 0;
    border-bottom: 1px solid var(--ui-line);
    border-radius: 0;
    background: transparent;
    font: inherit;
    font-size: 1rem;
    color: var(--color-black);
    outline: none;
    resize: vertical;
}

.ct-field label {
    position: absolute;
    left: 0;
    top: 30px;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transform-origin: left top;
    transition: transform 0.35s var(--ui-ease), color 0.35s ease;
}

.ct-field input:focus+label,
.ct-field input:not(:placeholder-shown)+label,
.ct-field textarea:focus+label,
.ct-field textarea:not(:placeholder-shown)+label {
    transform: translateY(-26px) scale(0.8);
    color: var(--color-black);
}

/* Red underline draws in on focus */
.ct-field::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 1px);
    height: 2px;
    background: var(--brand-red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.5s var(--ui-ease);
}

.ct-field:has(textarea)::after {
    top: auto;
    bottom: 5px;
}

.ct-field:focus-within::after {
    transform: scaleX(1);
}

.ct-error {
    display: none;
    margin-top: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-red);
}

.ct-field.is-invalid input,
.ct-field.is-invalid textarea {
    border-bottom-color: var(--brand-red);
}

.ct-field.is-invalid .ct-error {
    display: block;
}

.ct-field.is-invalid label {
    color: var(--brand-red);
}

/* Consent + submit */
.ct-form-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-top: 8px;
}

.ct-consent {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 380px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-body);
    cursor: pointer;
}

.ct-consent input {
    position: absolute;
    opacity: 0;
}

.ct-consent-box {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 7px;
    border: 1.5px solid var(--ui-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: transparent;
    transition: all 0.3s ease;
}

.ct-consent input:checked+.ct-consent-box {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #FFFFFF;
}

.ct-consent input:focus-visible+.ct-consent-box {
    outline: 2px solid var(--brand-red);
    outline-offset: 2px;
}

.ct-consent.is-invalid .ct-consent-box {
    border-color: var(--brand-red);
}

.ct-consent a {
    color: var(--color-black);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ct-submit {
    flex-shrink: 0;
    cursor: pointer;
    font-family: inherit;
}

.ct-submit.is-loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Success state */
.ct-success {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 0;
}

.ct-success[hidden] {
    display: none;
}

.ct-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-red);
    color: #FFFFFF;
    font-size: 1.5rem;
    animation: ct-pop 0.6s var(--ui-ease);
}

@keyframes ct-pop {
    from {
        transform: scale(0.4);
        opacity: 0;
    }
}

.ct-success-title {
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-black);
}

.ct-success-text {
    margin-bottom: 10px;
    color: var(--text-body);
}

/* ----- Dark studio info panel ----- */
.ct-info {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 34px;
    border-radius: 32px;
    background:
        radial-gradient(60% 50% at 100% 0%, rgba(194, 21, 28, 0.3) 0%, transparent 70%),
        #0E0E10;
    color: #F4F4F5;
}

.ct-info-label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #FF4B52;
}

.ct-info-address {
    font-style: normal;
    font-size: 1rem;
    line-height: 1.7;
    color: #E4E4E7;
    margin-bottom: 12px;
}

.ct-map {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    aspect-ratio: 4 / 3;
    background: #1A1A1D;
}

.ct-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(1) invert(0.92) contrast(0.9);
}

.ct-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ct-info-row .ct-info-label {
    margin: 0;
}

.ct-clock {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: monospace, sans-serif;
    font-size: 1rem;
    color: #FFFFFF;
}

/* ----- Responsive ----- */
@media (max-width: 1100px) {
    .ct-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ct-quick {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        min-width: 0;
    }

    .ct-quick-card:first-child {
        grid-column: 1 / -1;
    }

    .ct-quick-val {
        white-space: nowrap;
    }

    .ct-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ct-info {
        position: relative;
        top: auto;
    }
}

@media (max-width: 768px) {
    .ct-hero {
        padding: 130px 0 50px;
    }

    .ct-quick {
        grid-template-columns: 1fr;
    }

    .ct-quick-val {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .ct-fields {
        grid-template-columns: 1fr;
    }

    .ct-form-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .ct-submit {
        justify-content: space-between;
    }

    .ct-main {
        padding-bottom: 80px;
    }

    .ct-info {
        padding: 24px;
        border-radius: 24px;
    }
}

/* ==========================================================================
   BREADCRUMB (partials/breadcrumb.blade.php)
   ========================================================================== */
.breadcrumb {
    margin-bottom: 26px;
}

.breadcrumb-list {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 6px 16px 6px 6px;
    list-style: none;
    border-radius: var(--radius-pill);
    border: 1px solid var(--ui-line);
    background: #FFFFFF;
    font-size: 0.8125rem;
    font-weight: 600;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    transition: background var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease);
}

.breadcrumb-link i {
    font-size: 0.75rem;
    color: var(--brand-red);
}

.breadcrumb-link:hover {
    background: var(--ui-fill);
    color: var(--ui-fill-fg);
}

.breadcrumb-sep {
    font-size: 0.5625rem;
    color: var(--text-light);
}

.breadcrumb-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-left: 8px;
    color: var(--color-black);
}

.breadcrumb-current::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-red);
}

/* ----- Contact: general / quote mode switch ----- */
.ct-mode {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 5px;
    margin-bottom: 40px;
    border-radius: var(--radius-pill);
    background: #F1F1F3;
    border: 1px solid var(--border-subtle);
}

.ct-mode-option {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: var(--radius-pill);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--ui-dur) var(--ui-ease);
}

.ct-mode-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ct-mode-option:has(input:checked) {
    color: #FFFFFF;
}

.ct-mode-option:has(input:focus-visible) {
    outline: 2px solid var(--brand-red);
    outline-offset: 2px;
}

/* Sliding pill under the active option */
.ct-mode-pill {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    width: calc(50% - 5px);
    border-radius: var(--radius-pill);
    background: var(--ui-ink);
    transition: transform var(--ui-dur) var(--ui-ease);
}

.ct-form[data-mode="teklif"] .ct-mode-pill {
    transform: translateX(100%);
}

/* Step numbers follow only the visible groups */
.ct-form {
    counter-reset: ct-step;
}

.ct-group:not([hidden]) {
    counter-increment: ct-step;
}

.ct-group-title span::before {
    content: counter(ct-step, decimal-leading-zero);
}

/* Groups fade in when the mode changes */
.ct-group.is-entering {
    animation: ct-group-in 0.5s var(--ui-ease);
}

@keyframes ct-group-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}

.ct-title.is-swapping,
.ct-lead.is-swapping {
    opacity: 0;
    transform: translateY(8px);
}

.ct-title,
.ct-lead {
    transition: opacity 0.25s ease, transform 0.35s var(--ui-ease);
}

/* ----- Contact: server errors + reCAPTCHA note ----- */
.ct-form-error {
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(194, 21, 28, 0.08);
    border: 1px solid rgba(194, 21, 28, 0.25);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-red);
}

.ct-form-error[hidden] {
    display: none;
}

/* reCAPTCHA checkbox above consent + submit */
.ct-recaptcha {
    min-height: 78px;
    margin-bottom: 22px;
}

.ct-recaptcha.is-invalid iframe {
    border-radius: 4px;
    box-shadow: 0 0 0 2px var(--brand-red);
}

/* Google draws the widget at a fixed 304px: on narrow phones give the card
   less padding and shrink the widget to what is left */
@media (max-width: 400px) {
    .ct-form-card {
        padding: 22px 18px;
    }

    .ct-recaptcha {
        height: 66px;
        min-height: 0;
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}

@media (max-width: 340px) {
    .ct-recaptcha {
        height: 57px;
        transform: scale(0.73);
    }
}


/* ----- Contact: services + timing as dropdowns (multi / single select) ----- */
.ct-select {
    position: relative;
}

.ct-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid var(--ui-line);
    border-radius: 16px;
    background: #FFFFFF;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-black);
    text-align: left;
    cursor: pointer;
    transition: border-color var(--ui-dur) var(--ui-ease);
}

.ct-select-value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ct-select:not(.has-value) .ct-select-value {
    color: var(--text-muted);
    font-weight: 500;
}

.ct-select-trigger i {
    font-size: 0.75rem;
    color: var(--brand-red);
    transition: transform var(--ui-dur) var(--ui-ease);
}

.ct-select.is-open .ct-select-trigger {
    border-color: var(--color-black);
}

.ct-select.is-open .ct-select-trigger i {
    transform: rotate(180deg);
}

/* Option list */
.ct-select .ct-select-panel {
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px;
    margin-top: 8px;
    padding: 6px;
    border-radius: 16px;
    border: 1px solid var(--border-card);
    background: #FFFFFF;
    box-shadow: 0 24px 50px -24px rgba(11, 15, 25, 0.3);
}

.ct-select.is-open .ct-select-panel {
    display: flex;
    animation: ct-select-in 0.3s var(--ui-ease);
}

@keyframes ct-select-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
}

/* Chips become list rows with a check mark */
.ct-select .ct-chip,
.ct-select .ct-chip.is-active {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--color-black);
}

.ct-select .ct-chip::after {
    content: "";
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1.5px solid var(--ui-line);
    transition: all 0.25s ease;
}

.ct-select .ct-chip.is-active {
    background: #F4F4F5;
}

.ct-select .ct-chip.is-active::after {
    border-color: var(--brand-red);
    background: var(--brand-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Single choice: round radio mark instead of a checkbox */
.ct-select--single .ct-chip::after {
    border-radius: 50%;
}

.ct-select--single .ct-chip.is-active::after {
    border-color: var(--brand-red);
    background: #FFFFFF;
    box-shadow: inset 0 0 0 5px var(--brand-red);
}

/* Desktop: the list floats over the form instead of pushing it down */
@media (min-width: 769px) {
    .ct-select .ct-select-panel {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 30;
    }

    /* Eight services read better in two columns */
    #ctServicesList {
        display: none;
        grid-template-columns: 1fr 1fr;
    }

    .ct-select.is-open #ctServicesList {
        display: grid;
    }
}


/* Honeypot field: invisible to people, still in the DOM for bots */
.ct-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Message character counter */
.ct-counter {
    position: absolute;
    right: 0;
    bottom: -20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    transition: color 0.3s ease;
}

.ct-counter.is-near {
    color: #D97706;
}

.ct-counter.is-full {
    color: var(--brand-red);
}

/* ==========================================================================
   TEAM PAGE (ekibimiz.blade.php)
   ========================================================================== */
.team-page {
    background:
        radial-gradient(50% 700px at 90% 0%, rgba(194, 21, 28, 0.1) 0%, transparent 70%),
        radial-gradient(45% 600px at 0% 380px, rgba(77, 77, 79, 0.1) 0%, transparent 70%),
        #F6F6F7;
}

/* ----- Hero ----- */
.tm-hero {
    padding: 170px 0 56px;
}

/* Title first, lead underneath: the headline gets the full width for its two lines */
.tm-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
}

.tm-title {
    /* Sized to the viewport so "Fikirlerin arkasındaki" always fits on one line */
    font-size: min(5.25rem, 6.4vw);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: var(--color-black);
}

.tm-title em {
    display: block;
    font-style: normal;
    color: var(--brand-red);
}

.tm-title-line {
    white-space: nowrap;
}

.tm-lead {
    max-width: 560px;
    padding: 0 0 0 24px;
    border-left: 1px solid var(--border-card);
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-body);
}

/* ----- Filters + grid ----- */
.tm-main {
    padding: 0 0 100px;
}

.tm-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* Card: UI-system card lift + reveal on scroll (is-in set by ekibimiz.js) */
.tm-card {
    border-radius: 24px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s var(--ui-ease) calc(var(--i, 0) % 3 * 0.08s),
        transform 0.7s var(--ui-ease) calc(var(--i, 0) % 3 * 0.08s),
        border-color var(--ui-dur) var(--ui-ease),
        box-shadow var(--ui-dur) var(--ui-ease);
}

.tm-card.is-in {
    opacity: 1;
    transform: none;
}

.tm-card.is-in:hover {
    transform: translateY(-6px);
    border-color: rgba(194, 21, 28, 0.3);
    box-shadow: 0 28px 60px -24px rgba(11, 15, 25, 0.22);
    transition-delay: 0s;
}



.tm-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #111113;
}

.tm-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Portraits are cropped from the top so faces stay in frame */
    object-position: center top;
    display: block;
    filter: grayscale(1);
    transform: scale(1.02);
    transition: filter 0.6s ease, transform 0.9s var(--ui-ease);
}

.tm-card:hover .tm-photo img {
    filter: none;
    transform: scale(1.07);
}

/* Placeholder until a photo is added */
.tm-photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(70% 60% at 50% 110%, rgba(194, 21, 28, 0.45) 0%, transparent 70%),
        linear-gradient(160deg, #26262A 0%, #111113 70%);
    color: rgba(255, 255, 255, 0.14);
    font-size: 5.5rem;
    transition: background-position 0.6s ease;
}

.tm-photo-placeholder i {
    transform: translateY(18%);
    transition: transform 0.9s var(--ui-ease), color 0.6s ease;
}

.tm-card:hover .tm-photo-placeholder i {
    transform: translateY(12%) scale(1.05);
    color: rgba(255, 255, 255, 0.22);
}

/* Social icons slide up on hover */
.tm-socials {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.5s var(--ui-ease);
}

.tm-card:hover .tm-socials,
.tm-card:focus-within .tm-socials {
    opacity: 1;
    transform: none;
}

.tm-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: var(--color-black);
    font-size: 0.875rem;
    transition: background var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease);
}

.tm-socials a:hover {
    background: var(--brand-red);
    color: #FFFFFF;
}

.tm-info {
    padding: 20px 22px 24px;
}

.tm-department {
    display: block;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-red);
}

.tm-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-black);
    margin-bottom: 4px;
    transition: color var(--ui-dur) var(--ui-ease);
}

/* Hover: the name turns brand red */
.tm-card:hover .tm-name,
.tm-card:focus-within .tm-name {
    color: var(--brand-red);
}

.tm-role {
    font-size: 0.9375rem;
    color: var(--text-body);
}

/* ----- Careers CTA ----- */
.tm-join {
    padding: 0 0 120px;
}

.tm-join-panel {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    padding: clamp(32px, 5vw, 64px);
    border-radius: 32px;
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(194, 21, 28, 0.35) 0%, transparent 70%),
        #0E0E10;
    color: #FFFFFF;
    /* Dark section: primary button flips to white (UI system) */
    --ui-btn-bg: #FFFFFF;
    --ui-btn-fg: var(--ui-ink);
}

.tm-join-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin-bottom: 22px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #D4D4D8;
}

.tm-join-title {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.045em;
    margin-bottom: 16px;
}

.tm-join-title em {
    font-style: normal;
    color: #FF3B43;
}

.tm-join-text {
    max-width: 520px;
    font-size: 1rem;
    line-height: 1.7;
    color: #A1A1A6;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
    .tm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .tm-join-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .tm-hero {
        padding: 130px 0 40px;
    }

    .tm-lead {
        padding-left: 16px;
    }

    .tm-info {
        padding: 14px 14px 18px;
    }

    .tm-name {
        font-size: 1.0625rem;
    }

    .tm-role {
        font-size: 0.8125rem;
    }

    .tm-photo-placeholder {
        font-size: 3.5rem;
    }

    /* No hover on touch: keep social icons visible */
    .tm-socials {
        opacity: 1;
        transform: none;
    }

    .tm-join-panel .btn-cta-luxury {
        width: 100%;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tm-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Team card: "+" opens the bio over the photo */
.tm-bio-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: var(--color-black);
    font-size: 0.875rem;
    cursor: pointer;
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.4);
    transition: background var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease), transform var(--ui-dur) var(--ui-ease);
}

.tm-bio-toggle:hover {
    background: var(--brand-red);
    color: #FFFFFF;
}

.tm-card.is-open .tm-bio-toggle {
    background: var(--brand-red);
    color: #FFFFFF;
    transform: rotate(45deg);
}

.tm-bio {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 70px 20px 20px;
    background: linear-gradient(180deg, rgba(14, 14, 16, 0.55) 0%, rgba(14, 14, 16, 0.94) 35%, #0E0E10 100%);
    color: #E4E4E7;
    font-size: 0.8125rem;
    line-height: 1.6;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.5s var(--ui-ease), visibility 0s linear 0.35s;
}

.tm-card.is-open .tm-bio {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.35s ease, transform 0.5s var(--ui-ease), visibility 0s;
}

/* Socials sit above the bio panel so they stay clickable */
.tm-socials {
    z-index: 3;
}

.tm-card.is-open .tm-socials {
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   CAREER APPLICATION POP-UP (ekibimiz.blade.php)
   ========================================================================== */
.cr-modal {
    width: min(720px, calc(100% - 24px));
    max-width: none;
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 28px;
    background: transparent;
    overflow: visible;
    color: var(--color-black);
}

.cr-modal::backdrop {
    background: rgba(8, 8, 10, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.cr-modal[open] {
    animation: cr-in 0.45s var(--ui-ease);
}

.cr-modal[open]::backdrop {
    animation: cr-fade 0.35s ease;
}

@keyframes cr-in {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }
}

@keyframes cr-fade {
    from {
        opacity: 0;
    }
}

.cr-panel {
    position: relative;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(24px, 4vw, 44px);
    border-radius: 28px;
    background: #FFFFFF;
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6);
}

.cr-close {
    position: sticky;
    top: 0;
    float: right;
    z-index: 5;
    width: 44px;
    height: 44px;
    margin: -8px -8px 0 12px;
    border: 1px solid var(--ui-line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: var(--color-black);
    font-size: 1rem;
    cursor: pointer;
    transition: background var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease), transform var(--ui-dur) var(--ui-ease);
}

.cr-close:hover {
    background: var(--ui-ink);
    color: #FFFFFF;
    transform: rotate(90deg);
}

.cr-head {
    margin-bottom: 26px;
}

.cr-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    margin-bottom: 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--ui-line);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-body);
}

.cr-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.045em;
    margin-bottom: 12px;
}

.cr-title em {
    font-style: normal;
    color: var(--brand-red);
}

.cr-lead {
    max-width: 520px;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-body);
}

.cr-area {
    margin: 26px 0 8px;
}

.cr-label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* The area list pushes content down inside the scrolling pop-up */
.cr-modal .ct-select .ct-select-panel {
    position: static;
}

/* CV drop zone */
.cr-file {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 30px 0 6px;
    padding: 16px 18px;
    border: 1.5px dashed var(--ui-line);
    border-radius: 18px;
    background: #FAFAFB;
    cursor: pointer;
    transition: border-color var(--ui-dur) var(--ui-ease), background var(--ui-dur) var(--ui-ease);
}

.cr-file input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.cr-file:hover,
.cr-file.is-dragging {
    border-color: var(--brand-red);
    background: rgba(194, 21, 28, 0.04);
}

.cr-file.has-file {
    border-style: solid;
    border-color: var(--color-black);
    background: #FFFFFF;
}

.cr-file.is-invalid {
    border-color: var(--brand-red);
}

.cr-file-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(194, 21, 28, 0.08);
    color: var(--brand-red);
    font-size: 1.1rem;
}

.cr-file-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cr-file-text strong {
    font-size: 0.9375rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cr-file-text small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cr-file-remove {
    position: relative;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F1F1F3;
    color: var(--color-black);
    cursor: pointer;
}

.cr-file-remove[hidden] {
    display: none;
}

.cr-file-remove:hover {
    background: var(--brand-red);
    color: #FFFFFF;
}

.cr-file-error {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-red);
}

.cr-file-error[hidden] {
    display: none;
}

.cr-form .ct-recaptcha {
    margin-top: 24px;
}

.cr-form .ct-form-foot {
    padding-top: 4px;
}

.cr-success {
    padding: 30px 0 10px;
}

/* Page behind the pop-up doesn't scroll */
html.cr-lock {
    overflow: hidden;
}

@media (max-width: 576px) {
    .cr-modal {
        width: 100%;
        max-height: 100dvh;
        margin: auto 0 0;
        border-radius: 24px 24px 0 0;
    }

    .cr-panel {
        max-height: 92dvh;
        border-radius: 24px 24px 0 0;
    }

    @keyframes cr-in {
        from {
            transform: translateY(100%);
        }
    }

    .cr-form .ct-form-foot .ct-submit {
        width: 100%;
        justify-content: space-between;
    }
}

/* ----- Team bio bottom sheet (mobile) ----- */
.tm-sheet-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-right: 48px;
}

.tm-sheet-photo {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    background: #111113;
}

.tm-sheet-photo[src=""] {
    visibility: hidden;
}

.tm-sheet-name {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.tm-sheet-role {
    margin-top: 4px;
    font-size: 0.9375rem;
    color: var(--brand-red);
    font-weight: 600;
}

.tm-sheet-bio {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-body);
}

.tm-sheet-socials {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.tm-sheet-socials:empty {
    display: none;
}

/* Footer hides social labels on phones; in the bio sheet keep "LinkedIn" readable */
.tm-sheet-socials .ft-social span {
    display: inline;
}

/* ==========================================================================
   BLOG (blog.blade.php + blog-detay.blade.php)
   ========================================================================== */
.blog-page {
    background:
        radial-gradient(50% 700px at 90% 0%, rgba(194, 21, 28, 0.1) 0%, transparent 70%),
        radial-gradient(45% 600px at 0% 380px, rgba(77, 77, 79, 0.1) 0%, transparent 70%),
        #F6F6F7;
}

/* ----- List hero ----- */
.bl-hero {
    padding: 170px 0 48px;
}

.bl-title {
    font-size: min(5.25rem, 6.4vw);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: var(--color-black);
    margin-bottom: 26px;
}

.bl-title-line {
    white-space: nowrap;
}

.bl-title em {
    display: block;
    font-style: normal;
    color: var(--brand-red);
}

.bl-lead {
    max-width: 560px;
    padding-left: 24px;
    border-left: 1px solid var(--border-card);
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-body);
}

.bl-main {
    padding: 0 0 120px;
}

/* ----- Shared meta line ----- */
.bl-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
}

.bl-meta-cat,
.bl-meta-read {
    color: var(--brand-red);
}

/* ----- Featured post ----- */
.bl-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    margin-bottom: 48px;
    border-radius: 32px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: transform var(--ui-dur) var(--ui-ease), border-color var(--ui-dur) var(--ui-ease), box-shadow var(--ui-dur) var(--ui-ease);
}

.bl-featured:hover {
    transform: translateY(-6px);
    border-color: rgba(194, 21, 28, 0.3);
    box-shadow: 0 28px 60px -24px rgba(11, 15, 25, 0.22);
}

.bl-featured-media {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background: #111113;
}

.bl-featured-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ui-ease);
}

.bl-featured:hover .bl-featured-media img,
.bl-card:hover .bl-card-media img {
    transform: scale(1.05);
}

.bl-featured-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    padding: clamp(28px, 4vw, 52px);
}

.bl-badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: var(--brand-red);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
}

.bl-featured-title {
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--color-black);
}

.bl-featured-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
}

.bl-featured:hover .title-line,
.bl-card:hover .title-line {
    background-size: 100% 2px;
    color: var(--brand-red);
}

.bl-featured:hover .carousel-card-cta,
.bl-card:hover .carousel-card-cta {
    color: var(--brand-red);
    background-size: 100% 1.5px;
}

.bl-featured:hover .carousel-card-cta i,
.bl-card:hover .carousel-card-cta i {
    transform: translateX(4px);
}

/* ----- Filters + grid ----- */
.bl-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.bl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.bl-card {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s var(--ui-ease) calc(var(--i, 0) % 3 * 0.08s),
        transform 0.7s var(--ui-ease) calc(var(--i, 0) % 3 * 0.08s),
        border-color var(--ui-dur) var(--ui-ease),
        box-shadow var(--ui-dur) var(--ui-ease);
}

.bl-card.is-in {
    opacity: 1;
    transform: none;
}

.bl-card.is-in:hover {
    transform: translateY(-6px);
    border-color: rgba(194, 21, 28, 0.3);
    box-shadow: 0 28px 60px -24px rgba(11, 15, 25, 0.22);
    transition-delay: 0s;
}

.bl-card.is-hidden {
    display: none;
}

.bl-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111113;
}

.bl-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.9s var(--ui-ease);
}

.bl-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 22px 24px 26px;
}

.bl-card-title {
    font-size: 1.1875rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--color-black);
}

.bl-card-excerpt {
    flex: 1;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-body);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ----- Detail ----- */
.bd-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 3px;
    pointer-events: none;
}

.bd-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--color-black), var(--brand-red));
    transform: scaleX(var(--read, 0));
    transform-origin: left center;
}

.bd-hero {
    padding: 160px 0 0;
}

.bd-title {
    margin: 18px 0 18px;
    font-size: clamp(2rem, 4.6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: var(--color-black);
}

.bd-lead {
    max-width: 760px;
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    line-height: 1.7;
    color: var(--text-body);
}

/* Cover keeps its own proportions: some covers are wide banners with text on them */
.bd-cover {
    margin: 44px 0 0;
    border-radius: 32px;
    overflow: hidden;
    background: #111113;
}

.bd-cover img {
    width: 100%;
    height: auto;
    max-height: 640px;
    object-fit: cover;
    display: block;
}

.bd-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 760px);
    justify-content: center;
    gap: 72px;
    padding: 64px 0 90px;
}

.bd-aside {
    position: sticky;
    top: 110px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.bd-aside-label {
    display: block;
    margin-bottom: 12px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brand-red);
}

.bd-toc ol {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: calc(100vh - 360px);
    overflow-y: auto;
    border-left: 1px solid var(--border-card);
}

.bd-toc a {
    display: block;
    margin-left: -1px;
    padding: 7px 0 7px 16px;
    border-left: 2px solid transparent;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--text-muted);
    transition: color 0.25s ease, border-color 0.25s ease;
}

.bd-toc a:hover {
    color: var(--color-black);
}

.bd-toc a.is-active {
    color: var(--color-black);
    font-weight: 600;
    border-left-color: var(--brand-red);
}

.bd-share-links {
    display: flex;
    gap: 8px;
}

.bd-share-links a,
.bd-share-links button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ui-line);
    background: #FFFFFF;
    color: var(--color-black);
    font-size: 0.875rem;
    cursor: pointer;
    transition: background var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease), border-color var(--ui-dur) var(--ui-ease);
}

.bd-share-links a:hover,
.bd-share-links button:hover {
    background: var(--ui-ink);
    border-color: var(--ui-ink);
    color: #FFFFFF;
}

.bd-copied {
    display: block;
    min-height: 1em;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #16A34A;
}

/* Article typography */
.bd-content {
    font-size: 1.125rem;
    line-height: 1.85;
    color: #2A2F3A;
}

.bd-content>*+* {
    margin-top: 1.1em;
}

.bd-content h2 {
    margin-top: 2em;
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--color-black);
    scroll-margin-top: 110px;
}

.bd-content h3 {
    margin-top: 1.6em;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-black);
}

.bd-content h4 {
    margin-top: 1.4em;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-black);
}

.bd-content strong {
    color: var(--color-black);
}

.bd-content a {
    color: var(--brand-red);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bd-content ul,
.bd-content ol {
    padding-left: 1.4em;
}

.bd-content li+li {
    margin-top: 0.4em;
}

.bd-content ul li::marker {
    color: var(--brand-red);
}

.bd-content ol li::marker {
    color: var(--brand-red);
    font-weight: 700;
}

.bd-content blockquote {
    padding: 18px 24px;
    border-left: 3px solid var(--brand-red);
    border-radius: 0 16px 16px 0;
    background: #FFFFFF;
    font-size: 1.1875rem;
    color: var(--color-black);
}

.bd-content img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.bd-content figure {
    margin: 2em 0;
}

.bd-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.bd-content th,
.bd-content td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-card);
    text-align: left;
}

.bd-cta-wrap {
    padding-bottom: 90px;
}

.bd-related {
    padding-bottom: 120px;
}

.bd-related-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 28px;
}

.bd-related-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--color-black);
}

/* ----- Responsive ----- */
@media (max-width: 1100px) {
    .bd-layout {
        grid-template-columns: minmax(0, 760px);
        gap: 36px;
    }

    .bd-aside {
        position: static;
        order: 2;
    }

    .bd-toc {
        display: none;
    }
}

@media (max-width: 992px) {
    .bl-featured {
        grid-template-columns: 1fr;
    }

    .bl-featured-media {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .bl-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 576px) {

    .bl-hero,
    .bd-hero {
        padding-top: 130px;
    }

    .bl-lead {
        padding-left: 16px;
    }

    .bl-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -20px 22px;
        padding: 0 20px;
        scrollbar-width: none;
    }

    .bl-filters::-webkit-scrollbar {
        display: none;
    }

    .bl-filters .pf-filter {
        flex: 0 0 auto;
    }

    .bl-grid {
        grid-template-columns: 1fr;
    }

    .bl-featured {
        border-radius: 24px;
        margin-bottom: 32px;
    }

    .bd-cover {
        margin-top: 30px;
        border-radius: 20px;
    }

    .bd-layout {
        padding: 40px 0 60px;
    }

    .bd-content {
        font-size: 1.0625rem;
        line-height: 1.8;
    }

    .bd-related-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .bd-cta-wrap .btn-cta-luxury {
        width: 100%;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bl-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   PROJECTS (projeler.blade.php + proje-detay.blade.php)
   ========================================================================== */
.projects-page {
    background:
        radial-gradient(50% 700px at 90% 0%, rgba(194, 21, 28, 0.1) 0%, transparent 70%),
        radial-gradient(45% 600px at 0% 380px, rgba(77, 77, 79, 0.1) 0%, transparent 70%),
        #F6F6F7;
}

.pj-hero {
    padding: 170px 0 0;
    overflow: hidden;
}

.pj-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.pj-title {
    font-size: min(5.25rem, 6.2vw);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: var(--color-black);
}

.pj-title-line {
    white-space: nowrap;
}

.pj-title em {
    display: block;
    font-style: normal;
    color: var(--brand-red);
}

.pj-hero-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
}

.pj-lead {
    padding-left: 24px;
    border-left: 1px solid var(--border-card);
    font-size: clamp(1rem, 1.2vw, 1.0625rem);
    line-height: 1.7;
    color: var(--text-body);
}

.pj-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pj-stats div {
    padding: 16px 18px;
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
}

.pj-stats dt {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.pj-stats dd {
    margin-top: 2px;
    font-size: clamp(1.8rem, 2.6vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--color-black);
    font-variant-numeric: tabular-nums;
}

.pj-stats dd::after {
    content: "+";
    color: var(--brand-red);
}

/* ----- Moving cover strip ----- */
.pj-strip {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 64px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.pj-strip-row {
    overflow: hidden;
}

.pj-strip-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: pj-strip 60s linear infinite;
}

.pj-strip-row.is-reverse .pj-strip-track {
    animation-direction: reverse;
    animation-duration: 70s;
}

.pj-strip:hover .pj-strip-track {
    animation-play-state: paused;
}

@keyframes pj-strip {
    to {
        transform: translateX(-50%);
    }
}

.pj-strip-item {
    position: relative;
    flex: 0 0 auto;
    width: clamp(200px, 20vw, 300px);
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    background: #111113;
}

.pj-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.5s ease, transform 0.8s var(--ui-ease);
}

.pj-strip-item span {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-black);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.4s var(--ui-ease);
}

.pj-strip-item:hover img {
    filter: none;
    transform: scale(1.06);
}

.pj-strip-item:hover span {
    opacity: 1;
    transform: none;
}

/* ----- Sticky filter bar ----- */
.pj-main {
    padding: 72px 0 100px;
}

.pj-filters-bar {
    position: sticky;
    top: 84px;
    z-index: 40;
    margin-bottom: 28px;
    pointer-events: none;
}

.pj-filters-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.pj-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 14px 40px -20px rgba(11, 15, 25, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    pointer-events: auto;
}

.pj-filters .pf-filter {
    min-height: 40px;
    border-color: transparent;
}

.pj-result {
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-body);
    pointer-events: auto;
}

/* ----- Mosaic (12 cols). Every 10 tiles fill a closed block, so there are never holes:
   1: 8x3  2: 4x3 | 3: 4x2  4: 4x2  5: 4x4 (tall) | 6: 4x2  7: 4x2 | 8: 6x3  9: 6x3 | 10: 12x3 ----- */
.pj-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: clamp(110px, 11vw, 160px);
    grid-auto-flow: dense;
    gap: 20px;
}

.pj-tile {
    position: relative;
    grid-column: span 4;
    grid-row: span 2;
    border-radius: 28px;
    overflow: hidden;
    background: #111113;
    isolation: isolate;
    color: #FFFFFF;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.8s var(--ui-ease) calc(var(--d, 0) * 0.07s), transform 0.8s var(--ui-ease) calc(var(--d, 0) * 0.07s), box-shadow var(--ui-dur) var(--ui-ease);
}

.pj-grid:not(.is-filtered) .pj-tile:nth-child(10n + 1) {
    grid-column: span 8;
    grid-row: span 3;
}

.pj-grid:not(.is-filtered) .pj-tile:nth-child(10n + 2) {
    grid-row: span 3;
}

.pj-grid:not(.is-filtered) .pj-tile:nth-child(10n + 5) {
    grid-row: span 4;
}

.pj-grid:not(.is-filtered) .pj-tile:nth-child(10n + 8),
.pj-grid:not(.is-filtered) .pj-tile:nth-child(10n + 9) {
    grid-column: span 6;
    grid-row: span 3;
}

.pj-grid:not(.is-filtered) .pj-tile:nth-child(10n) {
    grid-column: span 12;
    grid-row: span 3;
}

/* While a category filter is on: one even 3-column grid */
.pj-grid.is-filtered .pj-tile {
    grid-column: span 4;
    grid-row: span 2;
}

.pj-tile.is-in {
    opacity: 1;
    transform: none;
}

.pj-tile.is-hidden {
    display: none;
}

.pj-tile>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 1.1s var(--ui-ease), filter 0.6s ease;
}

.pj-tile-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(0deg, rgba(8, 8, 10, 0.85) 0%, rgba(8, 8, 10, 0.25) 42%, rgba(8, 8, 10, 0) 65%),
        linear-gradient(180deg, rgba(8, 8, 10, 0.35) 0%, transparent 25%);
    transition: background 0.6s ease;
}

.pj-tile:hover>img {
    transform: scale(1.08);
}

.pj-tile:hover .pj-tile-shade {
    background:
        linear-gradient(0deg, rgba(8, 8, 10, 0.92) 0%, rgba(8, 8, 10, 0.55) 55%, rgba(8, 8, 10, 0.2) 100%),
        linear-gradient(200deg, transparent 55%, rgba(194, 21, 28, 0.35) 100%);
}

.pj-tile:hover {
    box-shadow: 0 40px 80px -36px rgba(194, 21, 28, 0.55);
}

.pj-tile-top {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pj-tile-num {
    font-family: monospace, sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    margin-right: 4px;
}

.pj-tile-cat,
.pj-tile-count {
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.75rem;
    font-weight: 700;
}

.pj-tile-count {
    margin-left: auto;
}

.pj-tile-body {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.pj-tile-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pj-tile-name {
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.pj-grid:not(.is-filtered) .pj-tile:nth-child(10n + 1) .pj-tile-name,
.pj-grid:not(.is-filtered) .pj-tile:nth-child(10n) .pj-tile-name {
    font-size: clamp(2rem, 4vw, 3.75rem);
}

.pj-tile-title {
    max-width: 460px;
    margin-top: 8px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

/* "Projeyi incele" slides in on hover */
.pj-tile-cta {
    display: grid;
    grid-template-rows: 0fr;
    margin-top: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #FF6B70;
    overflow: hidden;
    opacity: 0;
    transition: grid-template-rows 0.5s var(--ui-ease), opacity 0.4s ease, margin 0.5s var(--ui-ease);
}

.pj-tile:hover .pj-tile-cta {
    grid-template-rows: 1fr;
    margin-top: 12px;
    opacity: 1;
}

.pj-tile-arrow {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: var(--color-black);
    transition: background var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease), transform var(--ui-dur) var(--ui-ease);
}

.pj-tile:hover .pj-tile-arrow {
    background: var(--brand-red);
    color: #FFFFFF;
    transform: rotate(-45deg);
}

/* ----- Detail ----- */
.pd-hero {
    padding-bottom: 0;
}

.pd-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 48px;
}

.pd-title {
    font-size: clamp(2.6rem, 6.5vw, 5.75rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: var(--color-black);
}

.pd-lead {
    max-width: 640px;
    margin-top: 18px;
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-body);
}

.pd-description {
    max-width: 760px;
    margin-top: 22px;
    padding: 0 0 0 24px;
    border-left: 2px solid var(--brand-red);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-body);
}

.pd-cover {
    display: block;
    width: 100%;
    margin: 40px 0 0;
    padding: 0;
    border: 0;
    border-radius: 32px;
    overflow: hidden;
    background: #111113;
    cursor: zoom-in;
}

.pd-cover img {
    width: 100%;
    max-height: 760px;
    object-fit: cover;
    display: block;
    transition: transform 0.9s var(--ui-ease);
}

.pd-cover:hover img {
    transform: scale(1.02);
}

/* Masonry gallery */
.pd-gallery-wrap {
    padding: 28px 0 40px;
}

.pd-gallery {
    columns: 3;
    column-gap: 20px;
}

.pd-shot {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #E4E4E7;
    cursor: zoom-in;
    break-inside: avoid;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ui-ease), transform 0.7s var(--ui-ease), box-shadow var(--ui-dur) var(--ui-ease);
}

.pd-shot.is-in {
    opacity: 1;
    transform: none;
}

.pd-shot img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.9s var(--ui-ease);
}

.pd-shot:hover img {
    transform: scale(1.04);
}

.pd-shot:hover {
    box-shadow: 0 24px 50px -24px rgba(11, 15, 25, 0.35);
}

/* Prev / next */
.pd-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding-top: 30px;
    padding-bottom: 80px;
}

.pd-nav-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 26px;
    border-radius: 24px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    transition: transform var(--ui-dur) var(--ui-ease), border-color var(--ui-dur) var(--ui-ease), box-shadow var(--ui-dur) var(--ui-ease);
}

.pd-nav-link.is-next {
    text-align: right;
    align-items: flex-end;
}

.pd-nav-link:hover {
    transform: translateY(-4px);
    border-color: rgba(194, 21, 28, 0.3);
    box-shadow: 0 24px 50px -24px rgba(11, 15, 25, 0.22);
}

.pd-nav-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pd-nav-label i {
    color: var(--brand-red);
}

.pd-nav-link strong {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-black);
    transition: color var(--ui-dur) var(--ui-ease);
}

.pd-nav-link:hover strong {
    color: var(--brand-red);
}

.pd-nav-all {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ui-line);
    background: #FFFFFF;
    color: var(--color-black);
    transition: background var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease);
}

.pd-nav-all:hover {
    background: var(--ui-ink);
    color: #FFFFFF;
}

/* Lightbox */
.pd-lightbox {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(8, 8, 10, 0.94);
    color: #FFFFFF;
}

.pd-lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cr-fade 0.3s ease;
}

.pd-lightbox::backdrop {
    background: transparent;
}

.pd-lb-stage {
    margin: 0;
    max-width: calc(100vw - 180px);
    max-height: calc(100dvh - 120px);
    display: flex;
    touch-action: pan-y;
}

.pd-lb-stage img {
    max-width: 100%;
    max-height: calc(100dvh - 120px);
    object-fit: contain;
    border-radius: 12px;
    user-select: none;
    transition: opacity 0.25s ease;
}

.pd-lb-stage img.is-loading {
    opacity: 0;
}

.pd-lb-close,
.pd-lb-arrow {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease);
}

.pd-lb-close:hover,
.pd-lb-arrow:hover {
    background: #FFFFFF;
    color: var(--color-black);
}

.pd-lb-close {
    top: 20px;
    right: 20px;
}

.pd-lb-arrow {
    top: 50%;
    transform: translateY(-50%);
}

.pd-lb-arrow.is-prev {
    left: 24px;
}

.pd-lb-arrow.is-next {
    right: 24px;
}

.pd-lb-count {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    font-family: monospace, sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

html.pd-lock {
    overflow: hidden;
}

/* ----- Responsive ----- */
@media (max-width: 992px) {
    .pj-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .pj-grid {
        grid-auto-rows: auto;
    }

    .pj-grid:not(.is-filtered) .pj-tile:nth-child(n),
    .pj-grid.is-filtered .pj-tile {
        grid-column: span 1;
        grid-row: auto;
        aspect-ratio: 4 / 3.6;
    }

    .pj-hero-side {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pj-filters-bar {
        top: 76px;
    }

    .pj-result {
        display: none;
    }

    .pd-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .pd-gallery {
        columns: 2;
        column-gap: 14px;
    }

    .pd-shot {
        margin-bottom: 14px;
    }
}

@media (max-width: 576px) {
    .pj-hero {
        padding-top: 130px;
    }

    .pj-lead {
        padding-left: 16px;
    }

    .pj-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -20px 22px;
        padding: 0 20px;
        scrollbar-width: none;
    }

    .pj-filters::-webkit-scrollbar {
        display: none;
    }

    .pj-filters .pf-filter {
        flex: 0 0 auto;
    }

    .pj-grid {
        grid-template-columns: 1fr;
    }

    .pj-grid:not(.is-filtered) .pj-tile:nth-child(n),
    .pj-grid.is-filtered .pj-tile {
        grid-column: span 1;
        grid-row: auto;
        aspect-ratio: 4 / 3.3;
        border-radius: 22px;
    }

    .pj-grid:not(.is-filtered) .pj-tile:nth-child(n) .pj-tile-name,
    .pj-grid.is-filtered .pj-tile-name {
        font-size: 1.5rem;
    }

    .pj-tile-title {
        display: none;
    }

    .pj-tile-arrow {
        width: 44px;
        height: 44px;
    }

    .pj-stats dd {
        font-size: 1.6rem;
    }

    .pj-strip {
        margin-top: 44px;
    }

    .pj-main {
        padding-top: 48px;
    }

    .pj-filters {
        flex-wrap: nowrap;
        border-radius: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0;
    }

    .pd-description {
        padding-left: 16px;
        font-size: 1rem;
    }

    .pd-cover {
        margin-top: 28px;
        border-radius: 20px;
    }

    .pd-gallery {
        columns: 1;
    }

    .pd-shot {
        border-radius: 16px;
    }

    .pd-nav {
        grid-template-columns: 1fr 1fr;
    }

    .pd-nav-all {
        display: none;
    }

    .pd-nav-link {
        padding: 16px 18px;
    }

    .pd-lb-stage {
        max-width: 100vw;
    }

    .pd-lb-stage img {
        border-radius: 0;
    }

    .pd-lb-arrow {
        top: auto;
        bottom: 14px;
        transform: none;
        width: 46px;
        height: 46px;
    }

    .pd-lb-arrow.is-prev {
        left: 16px;
    }

    .pd-lb-arrow.is-next {
        right: 16px;
    }

    .pd-lb-count {
        bottom: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .pj-tile,
    .pd-shot {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .pj-strip-track {
        animation: none;
    }
}

/* ==========================================================================
   ABOUT PAGE (hakkimizda.blade.php)
   ========================================================================== */
.about-page {
    background:
        radial-gradient(50% 700px at 90% 0%, rgba(194, 21, 28, 0.1) 0%, transparent 70%),
        radial-gradient(45% 600px at 0% 380px, rgba(77, 77, 79, 0.1) 0%, transparent 70%),
        #F6F6F7;
}

/* Scroll reveal (is-in set by hakkimizda.js) */
.ab-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ui-ease) calc(var(--i, 0) * 0.08s), transform 0.8s var(--ui-ease) calc(var(--i, 0) * 0.08s);
}

.ab-reveal.is-in {
    opacity: 1;
    transform: none;
}

.ab-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brand-red);
}

.ab-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-red);
}

.ab-h2 {
    font-size: clamp(2rem, 4.2vw, 3.75rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.045em;
    color: var(--color-black);
}

.ab-h2 em {
    font-style: normal;
    color: var(--brand-red);
}

.ab-text {
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.75;
    color: var(--text-body);
}

/* ----- Hero ----- */
.ab-hero {
    padding: 170px 0 0;
}

.ab-title {
    font-size: min(5.25rem, 6.2vw);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: var(--color-black);
}

.ab-title-line {
    white-space: nowrap;
}

.ab-title em {
    display: block;
    font-style: normal;
    color: var(--brand-red);
}

.ab-hero-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-top: 30px;
}

.ab-lead {
    max-width: 620px;
    padding-left: 24px;
    border-left: 2px solid var(--brand-red);
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    line-height: 1.65;
    color: var(--text-body);
}

.ab-lead strong {
    color: var(--color-black);
}

.ab-scroll {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ui-line);
    background: #FFFFFF;
    color: var(--color-black);
    transition: background var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease);
}

.ab-scroll i {
    animation: about-nudge 1.6s ease-in-out infinite;
}

.ab-scroll:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #FFFFFF;
}

.ab-hero-media {
    position: relative;
    margin: 48px 0 0;
    height: min(78vh, 720px);
    border-radius: 36px;
    overflow: hidden;
    background: #111113;
}

.ab-hero-media img {
    position: absolute;
    inset: -8% 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    transform: translate3d(0, var(--parallax, 0px), 0);
    will-change: transform;
}

.ab-hero-media figcaption {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-black);
}

/* ----- Story + numbers ----- */
.ab-story {
    padding: 120px 0 100px;
}

.ab-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

.ab-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 36px;
}

.ab-stats div {
    padding: 22px 22px 20px;
    border-radius: 22px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
}

.ab-stats dt {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
}

.ab-stats dd {
    margin-top: 6px;
    font-size: clamp(2.2rem, 3.4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--color-black);
    font-variant-numeric: tabular-nums;
}

.ab-stats dd::after {
    content: "+";
    color: var(--brand-red);
}

/* ----- Vision + collage ----- */
.ab-vision {
    padding: 20px 0 120px;
}

.ab-h2-wide {
    max-width: 1100px;
    margin-bottom: 56px;
}

.ab-collage {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: min(86vh, 820px);
}

.ab-shot {
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #111113;
}

.ab-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.1s var(--ui-ease);
}

.ab-shot:hover img {
    transform: scale(1.05);
}

.ab-shot.is-tall {
    grid-row: span 2;
}

.ab-collage>.ab-shot:nth-child(2) {
    grid-column: span 2;
}

.ab-quote {
    display: flex;
    align-items: flex-end;
    padding: 32px;
    border-radius: 28px;
    background:
        radial-gradient(70% 80% at 100% 0%, rgba(194, 21, 28, 0.35) 0%, transparent 70%),
        #0E0E10;
    color: #FFFFFF;
}

.ab-quote p {
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.ab-quote p::before {
    content: "“";
    display: block;
    margin-bottom: 6px;
    font-size: 4rem;
    line-height: 0.6;
    color: var(--brand-red);
}

/* ----- Principles ----- */
.ab-principles {
    padding: 0 0 120px;
}

.ab-section-head {
    margin-bottom: 44px;
}

.ab-principle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ab-principle {
    padding: 34px 30px 36px;
    border-radius: 28px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    transition: opacity 0.8s var(--ui-ease) calc(var(--i, 0) * 0.08s), transform 0.8s var(--ui-ease) calc(var(--i, 0) * 0.08s), border-color var(--ui-dur) var(--ui-ease), box-shadow var(--ui-dur) var(--ui-ease);
}

.ab-principle.is-in:hover {
    transform: translateY(-6px);
    border-color: rgba(194, 21, 28, 0.3);
    box-shadow: 0 28px 60px -24px rgba(11, 15, 25, 0.22);
    transition-delay: 0s;
}

.ab-principle-num {
    display: block;
    margin-bottom: 44px;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--brand-red);
}

.ab-principle h3 {
    margin-bottom: 12px;
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--color-black);
}

.ab-principle p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-body);
}

/* ----- Mission / vision ----- */
.ab-mv {
    padding: 0 0 120px;
}

.ab-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ab-mv-card {
    position: relative;
    padding: clamp(32px, 4vw, 52px);
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(60% 70% at 100% 0%, rgba(194, 21, 28, 0.35) 0%, transparent 70%),
        #0E0E10;
    color: #FFFFFF;
}

.ab-mv-card.is-light {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    color: var(--color-black);
}

.ab-mv-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 28px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-red);
    color: #FFFFFF;
    font-size: 1.25rem;
}

.ab-mv-card h3 {
    margin-bottom: 16px;
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.ab-mv-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: #C4C4C8;
}

.ab-mv-card.is-light p {
    color: var(--text-body);
}

.ab-mv-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.ab-mv-list li {
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFFFFF;
}

/* ----- References ----- */
.ab-refs {
    padding: 0 0 120px;
}

.ab-refs-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 48px;
    margin-bottom: 40px;
}

.ab-refs-head .ab-text {
    max-width: 420px;
    padding-left: 24px;
    border-left: 1px solid var(--border-card);
}

.ab-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.ab-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 20px;
    border-radius: 20px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    transition: opacity 0.8s var(--ui-ease) calc(var(--i, 0) * 0.06s), transform 0.8s var(--ui-ease) calc(var(--i, 0) * 0.06s), border-color var(--ui-dur) var(--ui-ease), box-shadow var(--ui-dur) var(--ui-ease);
}

.ab-logo img {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.5s var(--ui-ease);
}

.ab-logo:hover {
    border-color: rgba(194, 21, 28, 0.3);
    box-shadow: 0 20px 40px -24px rgba(11, 15, 25, 0.25);
}

.ab-logo:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.06);
}

/* ----- Team teaser ----- */
.ab-team {
    padding: 0 0 90px;
}

.ab-team-card {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 30px 34px;
    border-radius: 32px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    transition: opacity 0.8s var(--ui-ease), transform 0.8s var(--ui-ease), border-color var(--ui-dur) var(--ui-ease), box-shadow var(--ui-dur) var(--ui-ease);
}

.ab-team-card.is-in:hover {
    transform: translateY(-6px);
    border-color: rgba(194, 21, 28, 0.3);
    box-shadow: 0 28px 60px -24px rgba(11, 15, 25, 0.22);
}

.ab-team-faces {
    display: flex;
    flex-shrink: 0;
}

.ab-team-faces img {
    width: 72px;
    height: 72px;
    margin-left: -18px;
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(1);
    transition: filter 0.4s ease, transform 0.4s var(--ui-ease);
}

.ab-team-faces img:first-child {
    margin-left: 0;
}

.ab-team-card:hover .ab-team-faces img {
    filter: none;
}

.ab-team-card:hover .ab-team-faces img:nth-child(odd) {
    transform: translateY(-4px);
}

.ab-team-text {
    flex: 1;
}

.ab-team-text .ab-eyebrow {
    margin-bottom: 8px;
}

.ab-team-text h2 {
    font-size: clamp(1.4rem, 2.4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--color-black);
}

.ab-team-text h2 em {
    font-style: normal;
    color: var(--brand-red);
}

.ab-team-arrow {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ui-ink);
    color: #FFFFFF;
    transition: background var(--ui-dur) var(--ui-ease), transform var(--ui-dur) var(--ui-ease);
}

.ab-team-card:hover .ab-team-arrow {
    background: var(--brand-red);
    transform: rotate(-45deg);
}

/* ----- Responsive ----- */
@media (max-width: 1100px) {
    .ab-logo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .ab-story-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ab-collage {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: auto;
    }

    .ab-shot,
    .ab-shot.is-tall,
    .ab-collage>.ab-shot:nth-child(2) {
        grid-row: auto;
        grid-column: auto;
        aspect-ratio: 4 / 3;
    }

    .ab-shot.is-tall {
        grid-row: span 2;
        aspect-ratio: auto;
    }

    .ab-quote {
        grid-column: span 2;
        order: 3;
    }

    .ab-principle-grid,
    .ab-mv-grid {
        grid-template-columns: 1fr;
    }

    .ab-refs-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .ab-refs-head .ab-text {
        padding-left: 18px;
    }
}

@media (max-width: 576px) {
    .ab-hero {
        padding-top: 130px;
    }

    .ab-scroll {
        display: none;
    }

    .ab-lead {
        padding-left: 16px;
    }

    .ab-hero-media {
        margin-top: 32px;
        height: 60vh;
        border-radius: 24px;
    }

    .ab-story,
    .ab-vision {
        padding-bottom: 70px;
    }

    .ab-story {
        padding-top: 70px;
    }

    .ab-stats {
        gap: 8px;
    }

    .ab-stats div {
        padding: 16px 14px;
    }

    .ab-stats dt {
        font-size: 0.75rem;
    }

    .ab-stats dd {
        font-size: 1.75rem;
    }

    .ab-h2-wide {
        margin-bottom: 32px;
    }

    .ab-collage {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ab-shot.is-tall {
        grid-row: auto;
        aspect-ratio: 4 / 5;
    }

    .ab-quote {
        grid-column: auto;
        padding: 26px;
    }

    .ab-principles,
    .ab-mv,
    .ab-refs {
        padding-bottom: 70px;
    }

    .ab-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ab-logo {
        height: 96px;
    }

    .ab-team-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 24px;
    }

    .ab-team-arrow {
        display: none;
    }

    .ab-team-faces img {
        width: 56px;
        height: 56px;
        margin-left: -14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ab-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .ab-hero-media img {
        transform: none;
    }
}

/* CTA panels: keep the button on one line next to long headings */
.tm-join-panel .btn-cta-luxury {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ==========================================================================
   ABOUT PAGE — MOTION (driven by hakkimizda.js)
   ========================================================================== */

/* 1) Intro: words rise out of a mask, one after another */
.ab-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}

.ab-word>span {
    display: inline-block;
    transform: translateY(110%) rotate(4deg);
    transform-origin: left bottom;
    transition: transform 1.1s var(--ui-ease) calc(var(--w, 0) * 0.07s + 0.15s);
}

.about-page.is-loaded .ab-word>span {
    transform: none;
}

.ab-intro,
.about-page .breadcrumb {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s ease 0.75s, transform 1s var(--ui-ease) 0.75s;
}

.about-page .breadcrumb {
    transition-delay: 0.05s;
}

/* is-loaded sits on .about-page itself */
.about-page.is-loaded .ab-intro,
.about-page.is-loaded .breadcrumb {
    opacity: 1;
    transform: none;
}

/* 2) Hero photo: curtain reveal on load, then grows to full width while scrolling */
.ab-hero-stage {
    --grow: 0;
    /* inset shrinks from container gutter to 0 as --grow goes 0 → 1 */
    padding: 0 calc((1 - var(--grow)) * max(28px, (100vw - var(--container-width)) / 2 + 28px));
    margin-top: 48px;
}

.ab-hero-stage .ab-hero-media {
    margin: 0;
    border-radius: calc((1 - var(--grow)) * 36px);
    clip-path: inset(100% 0 0 0 round 36px);
    transition: clip-path 1.4s var(--ui-ease) 0.55s;
}

.about-page.is-loaded .ab-hero-stage .ab-hero-media {
    clip-path: inset(0 0 0 0 round calc((1 - var(--grow)) * 36px));
}

.ab-hero-stage .ab-hero-media img {
    transform: translate3d(0, var(--parallax, 0px), 0) scale(calc(1.18 - var(--grow) * 0.12));
}

/* 3) Heading whose words light up as it scrolls through the viewport */
[data-scrub] .ab-lit {
    color: #D4D4D8;
    transition: color 0.35s ease;
}

[data-scrub] .ab-lit.is-lit {
    color: var(--color-black);
}

[data-scrub] em .ab-lit.is-lit {
    color: var(--brand-red);
}

/* 4) Collage: images open like curtains from different sides */
.ab-wipe {
    clip-path: inset(0 0 100% 0 round 28px);
    transition: clip-path 1.3s var(--ui-ease);
}

.ab-wipe[data-dir="left"] {
    clip-path: inset(0 100% 0 0 round 28px);
}

.ab-wipe[data-dir="right"] {
    clip-path: inset(0 0 0 100% round 28px);
}

.ab-wipe img {
    transform: scale(1.25) translate3d(0, var(--drift, 0px), 0);
    transition: transform 1.6s var(--ui-ease);
}

.ab-wipe.is-in {
    clip-path: inset(0 0 0 0 round 28px);
}

.ab-wipe.is-in img {
    transform: scale(1.08) translate3d(0, var(--drift, 0px), 0);
}

.ab-wipe.is-in:hover img {
    transform: scale(1.14) translate3d(0, var(--drift, 0px), 0);
}

/* 5) Principle numbers: outline draws in, then fills on hover */
.ab-principle-num {
    background: linear-gradient(90deg, var(--brand-red) 50%, transparent 50%) right / 200% 100% no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    transition: background-position 0.7s var(--ui-ease);
}

.ab-principle:hover .ab-principle-num {
    background-position: left;
}

.ab-principle-num {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s var(--ui-ease) calc(var(--i, 0) * 0.12s + 0.2s), background-position 0.7s var(--ui-ease);
}

.ab-principle.is-in .ab-principle-num {
    clip-path: inset(0 0 0 0);
}

/* Logos pop in with a slight tilt */
.ab-logo.ab-reveal {
    transform: translateY(24px) scale(0.92) rotate(-2deg);
}

.ab-logo.ab-reveal.is-in {
    transform: none;
}

/* Mission / vision cards: tilt towards the pointer */
.ab-mv-card {
    transform-style: preserve-3d;
    will-change: transform;
}

.ab-mv-card.is-in {
    transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: opacity 0.8s var(--ui-ease), transform 0.25s ease-out;
}

/* Soft glow that follows the pointer inside dark cards */
.ab-mv-card:not(.is-light)::after,
.ab-quote::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 75, 82, 0.22), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ab-quote {
    position: relative;
    overflow: hidden;
}

.ab-mv-card:hover::after,
.ab-quote:hover::after {
    opacity: 1;
}

@media (max-width: 576px) {
    .ab-hero-stage {
        padding: 0 calc((1 - var(--grow)) * 20px);
        margin-top: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ab-word>span,
    .ab-intro,
    .about-page .breadcrumb {
        transform: none;
        opacity: 1;
        transition: none;
    }

    .ab-hero-stage .ab-hero-media,
    .ab-wipe,
    .ab-principle-num {
        clip-path: none;
        transition: none;
    }

    [data-scrub] .ab-lit {
        color: inherit;
    }

    .ab-mv-card.is-in {
        transform: none;
    }
}

/* Shared logo marquee on the about page: blend into the page background */
.about-page .brands-marquee-section {
    background: transparent;
    padding-bottom: 100px;
}

/* ==========================================================================
   SERVICES (hizmetler.blade.php + hizmet-detay.blade.php)
   ========================================================================== */
.services-page {
    background:
        radial-gradient(50% 700px at 90% 0%, rgba(194, 21, 28, 0.1) 0%, transparent 70%),
        radial-gradient(45% 600px at 0% 380px, rgba(77, 77, 79, 0.1) 0%, transparent 70%),
        #F6F6F7;
}

.sv-hero {
    padding: 170px 0 56px;
}

.sv-title {
    font-size: min(5.25rem, 6vw);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: var(--color-black);
    margin-bottom: 26px;
}

.sv-title-line {
    white-space: nowrap;
}

.sv-title em {
    display: block;
    font-style: normal;
    color: var(--brand-red);
}

.sv-lead {
    max-width: 600px;
    padding-left: 24px;
    border-left: 2px solid var(--brand-red);
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-body);
}

/* ----- Detail ----- */
.sd-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.sd-num {
    display: inline-block;
    margin-bottom: 14px;
    font-family: monospace, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-red);
}

.sd-num em {
    font-style: normal;
    color: var(--text-light);
}

.sd-title {
    max-width: 900px;
    font-size: clamp(2.4rem, 5.6vw, 5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--color-black);
}

.sd-tagline {
    max-width: 640px;
    margin-top: 18px;
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-body);
}

.sd-head-cta {
    flex-shrink: 0;
    white-space: nowrap;
}

.sd-media {
    position: relative;
    margin: 44px 0 0;
    height: min(64vh, 620px);
    border-radius: 32px;
    overflow: hidden;
    background: #111113;
    clip-path: inset(0 0 100% 0 round 32px);
    transition: clip-path 1.3s var(--ui-ease) 0.2s;
}

.services-page.is-loaded .sd-media {
    clip-path: inset(0 0 0 0 round 32px);
}

.sd-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    transition: transform 1.8s var(--ui-ease) 0.2s;
}

.services-page.is-loaded .sd-media img {
    transform: scale(1);
}

/* big outline keyword over the photo */
.sd-word {
    position: absolute;
    left: 28px;
    bottom: 10px;
    font-size: clamp(4rem, 13vw, 12rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85);
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease 0.9s, transform 1.2s var(--ui-ease) 0.9s;
}

.services-page.is-loaded .sd-word {
    opacity: 1;
    transform: none;
}

.sd-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ui-ease) calc(var(--i, 0) * 0.08s), transform 0.8s var(--ui-ease) calc(var(--i, 0) * 0.08s);
}

.sd-reveal.is-in {
    opacity: 1;
    transform: none;
}

.sd-about {
    padding: 100px 0 80px;
}

.sd-about-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.sd-desc {
    max-width: 900px;
    font-size: clamp(1.25rem, 2.1vw, 1.9rem);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.02em;
    color: var(--color-black);
}

/* What we do: 2x2 cards with title + text */
.sd-features {
    padding: 0 0 100px;
}

.sd-features-head {
    margin-bottom: 40px;
}

.sd-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sd-feature {
    position: relative;
    padding: 34px 34px 36px;
    border-radius: 28px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: opacity 0.8s var(--ui-ease) calc(var(--i, 0) * 0.08s), transform 0.8s var(--ui-ease) calc(var(--i, 0) * 0.08s), border-color var(--ui-dur) var(--ui-ease), box-shadow var(--ui-dur) var(--ui-ease);
}

/* red line grows along the top edge on hover */
.sd-feature::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 3px;
    width: 100%;
    background: var(--brand-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ui-ease);
}

.sd-feature.is-in:hover {
    transform: translateY(-6px);
    border-color: rgba(194, 21, 28, 0.3);
    box-shadow: 0 28px 60px -24px rgba(11, 15, 25, 0.22);
    transition-delay: 0s;
}

.sd-feature:hover::before {
    transform: scaleX(1);
}

.sd-feature-num {
    display: block;
    margin-bottom: 28px;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--brand-red);
}

.sd-feature-title {
    margin-bottom: 12px;
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--color-black);
    transition: color var(--ui-dur) var(--ui-ease);
}

.sd-feature:hover .sd-feature-title {
    color: var(--brand-red);
}

.sd-feature-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
}

/* Long-form copy: collapsed with a fade, full text is in the HTML */
.sd-seo {
    padding: 0 0 100px;
}

/* on white pages (home) */
.sd-seo.is-white {
    --seo-fade: #FFFFFF;
    padding-top: 90px;
    background: #FFFFFF;
}

.sd-seo-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.sd-seo-body {
    max-width: 860px;
}

.sd-seo-title {
    margin-bottom: 22px;
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--color-black);
}

.sd-seo-text {
    position: relative;
    max-height: 13.5em;
    overflow: hidden;
    transition: max-height 0.7s var(--ui-ease);
}

.sd-seo-text::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 6em;
    background: linear-gradient(to bottom, transparent, var(--seo-fade, #F6F6F7));
    pointer-events: none;
    transition: opacity 0.4s var(--ui-ease);
}

/* expanded height is set inline from JS (scrollHeight) */

.sd-seo-body.is-expanded .sd-seo-text::after {
    opacity: 0;
}

.sd-seo-text h3 {
    margin: 30px 0 10px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-black);
}

.sd-seo-text p {
    margin-bottom: 14px;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-body);
}

.sd-seo-text ul {
    display: grid;
    gap: 10px;
    margin: 4px 0 20px;
    padding: 0;
    list-style: none;
}

.sd-seo-text li {
    position: relative;
    padding-left: 26px;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text-body);
}

/* small red bullet */
.sd-seo-text li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-red);
}

.sd-seo-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 700;
    color: var(--color-black);
    cursor: pointer;
    transition: color var(--ui-dur) var(--ui-ease);
}

.sd-seo-more i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    transition: transform 0.5s var(--ui-ease), background var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease), border-color var(--ui-dur) var(--ui-ease);
}

.sd-seo-more:hover {
    color: var(--brand-red);
}

.sd-seo-more:hover i {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #FFFFFF;
}

.sd-seo-more[aria-expanded="true"] i {
    transform: rotate(45deg);
}

/* FAQ accordion */
.sd-faq {
    padding: 0 0 110px;
}

.sd-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 60px;
    align-items: start;
}

.sd-faq-head {
    position: sticky;
    top: 120px;
}

.sd-faq-note {
    margin-top: 18px;
    font-size: 1rem;
    color: var(--text-body);
}

.sd-faq-note a {
    color: var(--brand-red);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sd-faq-list {
    border-top: 1px solid var(--border-subtle);
}

.sd-faq-item {
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
}

/* red rule slides in under the open question */
.sd-faq-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: var(--brand-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ui-ease);
}

.sd-faq-item.is-open::after {
    transform: scaleX(1);
}

.sd-faq-q {
    margin: 0;
}

.sd-faq-q button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 26px 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 1.1875rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.4;
    text-align: left;
    color: var(--color-black);
    cursor: pointer;
    transition: color var(--ui-dur) var(--ui-ease);
}

.sd-faq-q button:hover,
.sd-faq-item.is-open .sd-faq-q button {
    color: var(--brand-red);
}

.sd-faq-q button:focus-visible {
    outline: 2px solid var(--brand-red);
    outline-offset: 4px;
    border-radius: 6px;
}

/* plus icon that turns into a minus */
.sd-faq-icon {
    position: relative;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    transition: background var(--ui-dur) var(--ui-ease), border-color var(--ui-dur) var(--ui-ease), transform 0.5s var(--ui-ease);
}

.sd-faq-icon::before,
.sd-faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    margin: -1px 0 0 -7px;
    border-radius: 2px;
    background: var(--color-black);
    transition: transform 0.5s var(--ui-ease), background var(--ui-dur) var(--ui-ease);
}

.sd-faq-icon::after {
    transform: rotate(90deg);
}

.sd-faq-q button:hover .sd-faq-icon {
    border-color: var(--brand-red);
}

.sd-faq-item.is-open .sd-faq-icon {
    background: var(--brand-red);
    border-color: var(--brand-red);
    transform: rotate(180deg);
}

.sd-faq-item.is-open .sd-faq-icon::before,
.sd-faq-item.is-open .sd-faq-icon::after {
    background: #FFFFFF;
}

.sd-faq-item.is-open .sd-faq-icon::after {
    transform: rotate(0deg);
}

/* smooth height: grid row 0fr -> 1fr */
.sd-faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s var(--ui-ease);
}

.sd-faq-a>div {
    overflow: hidden;
}

.sd-faq-a p {
    max-width: 640px;
    padding: 0 60px 26px 0;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-body);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.4s var(--ui-ease), transform 0.5s var(--ui-ease);
}

.sd-faq-item.is-open .sd-faq-a {
    grid-template-rows: 1fr;
}

.sd-faq-item.is-open .sd-faq-a p {
    opacity: 1;
    transform: none;
    transition-delay: 0.1s;
}

/* Process: dark panel with a progress line */
.sd-process {
    padding: 0 0 100px;
}

.sd-process-panel {
    padding: clamp(32px, 5vw, 64px);
    border-radius: 36px;
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(194, 21, 28, 0.35) 0%, transparent 70%),
        #0E0E10;
    color: #FFFFFF;
}

.sd-process-panel .ab-h2 {
    color: #FFFFFF;
}

.sd-process-panel .ab-h2 em {
    color: #FF3B43;
}

.sd-process-head {
    margin-bottom: 48px;
}

.sd-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    position: relative;
}

.sd-steps::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 23px;
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.sd-step {
    position: relative;
}

.sd-step-num {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: #0E0E10;
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-family: monospace, sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #FFFFFF;
    transition: background 0.5s ease calc(var(--i, 0) * 0.15s + 0.3s), border-color 0.5s ease calc(var(--i, 0) * 0.15s + 0.3s);
}

.sd-step.is-in .sd-step-num {
    background: var(--brand-red);
    border-color: var(--brand-red);
}

.sd-step h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.sd-step p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #A1A1A6;
}

/* Related projects reuse the project tiles */
.sd-related {
    padding: 0 0 100px;
}

.sd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.sd-related-grid .pj-tile {
    grid-column: auto;
    aspect-ratio: 4 / 3.4;
}

/* Next service */
.sd-next-wrap {
    padding: 0 0 90px;
}

.sd-next {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 34px 36px;
    border-radius: 32px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    transition: opacity 0.8s var(--ui-ease), transform 0.8s var(--ui-ease), border-color var(--ui-dur) var(--ui-ease), box-shadow var(--ui-dur) var(--ui-ease);
}

.sd-next.is-in:hover {
    transform: translateY(-6px);
    border-color: rgba(194, 21, 28, 0.3);
    box-shadow: 0 28px 60px -24px rgba(11, 15, 25, 0.22);
}

.sd-next-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brand-red);
}

.sd-next-title {
    font-size: clamp(1.5rem, 3.2vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--color-black);
}

.sd-next-arrow {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ui-ink);
    color: #FFFFFF;
    transition: background var(--ui-dur) var(--ui-ease), transform var(--ui-dur) var(--ui-ease);
}

.sd-next:hover .sd-next-arrow {
    background: var(--brand-red);
    transform: rotate(-45deg);
}

.sd-others {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

/* ----- Responsive ----- */
@media (max-width: 992px) {



    .sd-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .sd-about-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sd-seo-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sd-faq-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sd-faq-head {
        position: static;
    }

    .sd-steps {
        grid-template-columns: 1fr 1fr;
        row-gap: 32px;
    }

    .sd-steps::before {
        display: none;
    }

    .sd-related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {

    .sv-hero {
        padding-top: 130px;
    }

    .sv-lead {
        padding-left: 16px;
    }





    .sd-head-cta {
        width: 100%;
        justify-content: space-between;
        white-space: normal;
    }

    .sd-media {
        height: 48vh;
        border-radius: 22px;
    }

    .sd-about {
        padding: 60px 0;
    }

    .sd-steps,
    .sd-related-grid,
    .sd-feature-grid {
        grid-template-columns: 1fr;
    }

    .sd-feature {
        padding: 26px 24px 28px;
    }

    .sd-features {
        padding-bottom: 70px;
    }

    .sd-seo-grid,
    .sd-faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sd-seo,
    .sd-faq {
        padding-bottom: 70px;
    }

    .sd-faq-head {
        position: static;
    }

    .sd-faq-q button {
        padding: 20px 0;
        font-size: 1.0625rem;
    }

    .sd-faq-icon {
        width: 34px;
        height: 34px;
    }

    .sd-faq-a p {
        padding-right: 0;
        font-size: 1rem;
    }

    .sd-next {
        grid-template-columns: 1fr auto;
        padding: 24px;
    }

    .sd-next-label {
        grid-column: 1 / -1;
    }

    .sd-next-arrow {
        width: 48px;
        height: 48px;
    }

    .sd-others {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 22px -20px 0;
        padding: 0 20px;
        scrollbar-width: none;
    }

    .sd-others .pf-filter {
        flex: 0 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {

    .sd-reveal,
    .sd-media,
    .sd-media img,
    .sd-word {
        opacity: 1;
        transform: none;
        clip-path: none;
        transition: none;
    }
}

/* =========================================================
   FAQ PAGE (/sss): dark search-first hero, sticky index,
   cards that invert to dark when opened
   ========================================================= */
.faq-page {
    background: #F6F6F7;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ----- Hero ----- */
.fq-hero {
    position: relative;
    overflow: hidden;
    padding: 170px 0 96px;
    background: #0B0F19;
    color: #FFFFFF;
    isolation: isolate;
}

/* dot grid fading out towards the bottom */
.fq-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
    mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}

/* red glow that follows the pointer */
.fq-spot {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(520px circle at var(--mx, 78%) var(--my, 30%), rgba(194, 21, 28, 0.38), transparent 70%);
    transition: background 0.2s linear;
    pointer-events: none;
}

/* giant outlined question mark */
.fq-mark {
    position: absolute;
    right: -2vw;
    top: 50%;
    z-index: -1;
    font-size: clamp(22rem, 42vw, 44rem);
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) rotate(12deg);
    animation: fqFloat 9s ease-in-out infinite;
    pointer-events: none;
    user-select: none;
}

@keyframes fqFloat {

    0%,
    100% {
        transform: translateY(-50%) rotate(12deg);
    }

    50% {
        transform: translateY(-54%) rotate(6deg);
    }
}

.fq-hero-inner {
    position: relative;
}

.fq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #FF4D55;
}

.fq-eyebrow::before {
    content: "";
    width: 28px;
    height: 1.5px;
    background: currentColor;
}

.fq-title {
    max-width: 980px;
    margin-bottom: 44px;
    font-size: clamp(2.75rem, 7vw, 6.25rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: #FFFFFF;
}

.fq-title em {
    font-style: normal;
    color: #FF4D55;
}

/* line-by-line reveal */
.fq-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
}

.fq-line>span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1s var(--ui-ease);
}

.fq-line:nth-child(2)>span {
    transition-delay: 0.12s;
}

.faq-page.is-loaded .fq-line>span {
    transform: none;
}

/* command-bar style search */
.fq-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 780px;
    height: 76px;
    padding: 0 14px 0 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ui-ease) 0.3s, transform 0.8s var(--ui-ease) 0.3s, border-color var(--ui-dur) var(--ui-ease), box-shadow var(--ui-dur) var(--ui-ease), background var(--ui-dur) var(--ui-ease);
}

.faq-page.is-loaded .fq-search {
    opacity: 1;
    transform: none;
}

.fq-search:focus-within {
    border-color: rgba(255, 77, 85, 0.8);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 6px rgba(194, 21, 28, 0.18), 0 30px 80px -30px rgba(194, 21, 28, 0.6);
}

.fq-search>i {
    font-size: 1.25rem;
    color: #FF4D55;
}

.fq-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: none;
    font: inherit;
    font-size: 1.25rem;
    font-weight: 500;
    color: #FFFFFF;
    -webkit-appearance: none;
    appearance: none;
}

.fq-search input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.fq-search input::-webkit-search-cancel-button {
    display: none;
}

.fq-kbd,
.fq-clear {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
}

.fq-clear {
    display: none;
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: #0B0F19;
    cursor: pointer;
    transition: background var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease);
}

.fq-clear:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #FFFFFF;
}

.fq-search.has-value .fq-kbd {
    display: none;
}

.fq-search.has-value .fq-clear {
    display: grid;
}

.fq-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.fq-meta strong {
    color: #FFFFFF;
}

.fq-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.fq-status:not(:empty) {
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--brand-red);
    font-weight: 700;
    color: #FFFFFF;
}

/* ----- Body ----- */
.fq-body {
    padding: 90px 0 100px;
}

.fq-grid {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

/* grid items may shrink below their content (the chip bar scrolls instead) */
.fq-grid>* {
    min-width: 0;
}

.fq-index {
    position: sticky;
    top: 120px;
}

/* Index is a dropdown: open by default in the desktop sidebar, a sticky picker on phones */
.fq-index-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 0 14px;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
    color: var(--text-muted);
    cursor: pointer;
}

.fq-index-label {
    flex: 1 1 auto;
    font-size: 0.8125rem;
    font-weight: 700;
}

.fq-index-current {
    display: none;
}

.fq-index-caret {
    flex: 0 0 auto;
    font-size: 0.75rem;
    transition: transform 0.4s var(--ui-ease);
}

.fq-index.is-open .fq-index-caret {
    transform: rotate(180deg);
}

.fq-index-toggle:hover {
    color: var(--color-black);
}

.fq-index-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--ui-ease);
}

.fq-index.is-open .fq-index-panel {
    grid-template-rows: 1fr;
}

.fq-index-clip {
    min-height: 0;
    overflow: hidden;
}

.fq-index ol {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
    border-left: 1px solid var(--border-card);
}

.fq-index a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0 10px 18px;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-muted);
    transition: color var(--ui-dur) var(--ui-ease), opacity var(--ui-dur) var(--ui-ease);
}

/* red bar slides over the rail line for the active group */
.fq-index a::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--brand-red);
    transform: scaleY(0);
    transition: transform 0.4s var(--ui-ease);
}

.fq-index a:hover,
.fq-index a.is-active {
    color: var(--color-black);
}

.fq-index a.is-active::before {
    transform: scaleY(1);
}

.fq-index a.is-empty {
    opacity: 0.35;
    pointer-events: none;
}

.fq-index-count {
    flex: 0 0 auto;
    min-width: 28px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-muted);
    transition: background var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease), border-color var(--ui-dur) var(--ui-ease);
}

.fq-index a.is-active .fq-index-count {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #FFFFFF;
}

.fq-group {
    scroll-margin-top: 120px;
}

.fq-group+.fq-group {
    margin-top: 72px;
}

.fq-group.is-hidden,
.fq-item.is-hidden {
    display: none;
}

.fq-group-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 24px;
}

.fq-group-num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--brand-red);
}

.fq-group-title {
    flex: 1;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--color-black);
}

.fq-group-link {
    flex: 0 0 auto;
    font-size: 0.9375rem;
}

.fq-list {
    display: grid;
    gap: 10px;
}

/* question card: inverts to dark when opened */
.fq-item {
    border-radius: 22px;
    border: 1px solid var(--border-card);
    background: #FFFFFF;
    transition: background 0.45s var(--ui-ease), border-color var(--ui-dur) var(--ui-ease), box-shadow 0.45s var(--ui-ease), transform var(--ui-dur) var(--ui-ease);
}

.fq-item:hover {
    border-color: rgba(194, 21, 28, 0.3);
}

.fq-item.is-open {
    background: #0B0F19;
    border-color: #0B0F19;
    box-shadow: 0 30px 70px -30px rgba(11, 15, 25, 0.55);
}

.fq-q {
    margin: 0;
}

.fq-q button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 22px 22px 22px 28px;
    border: 0;
    background: none;
    font: inherit;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.4;
    text-align: left;
    color: var(--color-black);
    cursor: pointer;
    transition: color 0.45s var(--ui-ease);
}

.fq-q button:focus-visible {
    outline: 2px solid var(--brand-red);
    outline-offset: -2px;
    border-radius: 22px;
}

.fq-item.is-open .fq-q button {
    color: #FFFFFF;
}

.fq-q-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-card);
    font-size: 0.875rem;
    transition: transform 0.5s var(--ui-ease), background var(--ui-dur) var(--ui-ease), border-color var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease);
}

.fq-q button:hover .fq-q-icon {
    background: var(--color-black);
    border-color: var(--color-black);
    color: #FFFFFF;
}

.fq-item.is-open .fq-q-icon {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #FFFFFF;
    transform: rotate(180deg);
}

.fq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s var(--ui-ease);
}

.fq-a>div {
    overflow: hidden;
}

.fq-a p {
    max-width: 720px;
    padding: 0 28px 26px;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.4s var(--ui-ease), transform 0.5s var(--ui-ease);
}

.fq-item.is-open .fq-a {
    grid-template-rows: 1fr;
}

.fq-item.is-open .fq-a p {
    opacity: 1;
    transform: none;
    transition-delay: 0.1s;
}

/* search hits */
.fq-item mark {
    padding: 0 2px;
    border-radius: 4px;
    background: rgba(194, 21, 28, 0.14);
    color: var(--brand-red);
}

.fq-item.is-open mark {
    background: rgba(255, 77, 85, 0.3);
    color: #FFFFFF;
}

.fq-empty {
    padding: 60px 24px;
    text-align: center;
}

.fq-empty-mark {
    display: block;
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--brand-red);
    animation: fqWobble 3s ease-in-out infinite;
}

@keyframes fqWobble {

    0%,
    100% {
        transform: rotate(-8deg);
    }

    50% {
        transform: rotate(8deg);
    }
}

.fq-empty h2 {
    margin: 18px 0 10px;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-black);
}

.fq-empty p {
    margin-bottom: 26px;
    color: var(--text-body);
}

/* ----- Ask us: red panel ----- */
.fq-ask-wrap {
    padding-bottom: 90px;
}

.fq-ask {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
    overflow: hidden;
    padding: 64px;
    border-radius: 32px;
    background: var(--brand-red);
    color: #FFFFFF;
    isolation: isolate;
}

.fq-ask-mark {
    position: absolute;
    right: 22%;
    top: 50%;
    z-index: -1;
    font-size: 26rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.22);
    transform: translateY(-50%) rotate(-10deg);
    animation: fqSpin 14s ease-in-out infinite;
    pointer-events: none;
}

@keyframes fqSpin {

    0%,
    100% {
        transform: translateY(-50%) rotate(-10deg);
    }

    50% {
        transform: translateY(-50%) rotate(10deg);
    }
}

.fq-ask h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
    color: #FFFFFF;
}

.fq-ask h2 em {
    font-style: normal;
    color: #0B0F19;
}

.fq-ask p {
    max-width: 560px;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.fq-ask-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.fq-ask-alt {
    padding-bottom: 2px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.5);
    font-weight: 700;
    color: #FFFFFF;
    transition: border-color var(--ui-dur) var(--ui-ease);
}

.fq-ask-alt:hover {
    border-color: #FFFFFF;
}

@media (max-width: 991px) {
    .fq-hero {
        padding: 140px 0 64px;
    }

    .fq-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* index turns into a sticky dropdown: current topic on the button, full list below */
    .fq-index {
        top: 84px;
        z-index: 20;
        margin: 0 -16px;
        padding: 10px 16px;
        background: rgba(246, 246, 247, 0.92);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }

    .fq-index-toggle {
        padding: 12px 16px;
        border: 1px solid var(--border-card);
        border-radius: 16px;
        background: #FFFFFF;
        color: var(--color-black);
    }

    .fq-index-label {
        flex: 0 0 auto;
        font-size: 0.75rem;
        color: var(--text-muted);
    }

    .fq-index-current {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.9375rem;
        font-weight: 700;
    }

    .fq-index-panel {
        position: absolute;
        top: calc(100% - 2px);
        left: 16px;
        right: 16px;
        display: block;
        border: 1px solid var(--border-card);
        border-radius: 18px;
        background: #FFFFFF;
        box-shadow: 0 24px 50px -20px rgba(11, 15, 25, 0.35);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s var(--ui-ease), transform 0.3s var(--ui-ease), visibility 0s linear 0.3s;
    }

    .fq-index.is-open .fq-index-panel {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity 0.25s var(--ui-ease), transform 0.3s var(--ui-ease), visibility 0s;
    }

    .fq-index-clip {
        max-height: min(60vh, 460px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .fq-index ol {
        gap: 2px;
        padding: 8px;
        border-left: 0;
    }

    .fq-index a {
        padding: 12px 12px 12px 14px;
        border-radius: 12px;
        font-size: 0.9375rem;
    }

    .fq-index a::before {
        display: none;
    }

    .fq-index a.is-active {
        background: var(--color-black);
        color: #FFFFFF;
    }

    .fq-group {
        scroll-margin-top: 150px;
    }

    .fq-ask {
        grid-template-columns: 1fr;
        padding: 44px 32px;
    }

    .fq-ask-mark {
        right: -40px;
        font-size: 18rem;
    }
}

@media (max-width: 575px) {
    .fq-search {
        height: 62px;
        gap: 12px;
        padding: 0 8px 0 20px;
    }

    .fq-search input {
        font-size: 1rem;
    }

    .fq-kbd {
        display: none;
    }

    .fq-clear {
        width: 40px;
        height: 40px;
    }

    .fq-group+.fq-group {
        margin-top: 52px;
    }

    .fq-group-head {
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .fq-group-num {
        font-size: 2rem;
    }

    .fq-group-link {
        flex-basis: 100%;
        order: 3;
    }

    .fq-q button {
        gap: 16px;
        padding: 18px 16px 18px 20px;
        font-size: 1rem;
    }

    .fq-q-icon {
        width: 36px;
        height: 36px;
    }

    .fq-a p {
        padding: 0 20px 22px;
        font-size: 1rem;
    }

    .fq-item,
    .fq-q button:focus-visible {
        border-radius: 18px;
    }

    .fq-ask {
        padding: 36px 24px;
        border-radius: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .fq-mark,
    .fq-ask-mark,
    .fq-empty-mark {
        animation: none;
    }

    .fq-line>span,
    .fq-search {
        transform: none;
        opacity: 1;
        transition: none;
    }
}

/* =========================================================
   SERVICES LIST (/hizmetler): giant kinetic typography.
   Hover (or, on touch, the row in the middle of the screen)
   fills the letters with the service image; others fade.
   ========================================================= */
.services-page.kx-page {
    color: var(--color-black);
}

.kx-hero {
    padding: 170px 0 56px;
}

.kx-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 40px;
    align-items: end;
}

.kx-h1 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--color-black);
}

.kx-h1 span {
    display: block;
    margin-top: 8px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--brand-red);
}

.kx-lead {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-body);
}

/* ----- The list ----- */
.kx-list-wrap {
    padding: 10px 0 60px;
    /* rows drift sideways on scroll */
    overflow-x: clip;
}

.kx-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kx-item {
    border-top: 1px solid var(--border-card);
}

.kx-item:last-child {
    border-bottom: 1px solid var(--border-card);
}

.kx-row {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: clamp(14px, 2vw, 32px);
    width: min(100% - 32px, 1320px);
    margin-inline: auto;
    padding: clamp(10px, 1.4vw, 22px) 0;
    color: var(--color-black);
    /* --shift is set on scroll by hizmetler.js (rows drift sideways) */
    transform: translateX(calc(var(--shift, 0) * 1px));
    will-change: transform;
}

.kx-num {
    flex: 0 0 auto;
    padding-top: 0.9em;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-red);
}

.kx-name {
    position: relative;
    margin: 0;
    font-size: clamp(2.5rem, 6.6vw, 7.5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.055em;
    white-space: nowrap;
    color: var(--color-black);
    transition: opacity 0.5s var(--ui-ease), filter 0.5s var(--ui-ease), color 0.5s var(--ui-ease);
}

.kx-name-base {
    display: block;
    padding: 0 0.04em 0.06em 0;
}

/* image-filled copy of the name, wiped in from the left */
.kx-name-fill {
    position: absolute;
    inset: 0;
    padding: 0 0.04em 0.06em 0;
    /* darkened so the photo reads on the light page */
    background-image: linear-gradient(rgba(11, 15, 25, 0.45), rgba(11, 15, 25, 0.45)), var(--img);
    background-size: 100% 100%, 140% auto;
    background-position: 0 0, 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.9s var(--ui-ease);
    animation: kxPan 9s ease-in-out infinite alternate;
    animation-play-state: paused;
}

@keyframes kxPan {
    to {
        background-position: 0 0, 100% 50%;
    }
}

.kx-meta {
    position: absolute;
    right: 0;
    top: 50%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 280px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    box-shadow: 0 24px 50px -24px rgba(11, 15, 25, 0.25);
    opacity: 0;
    transform: translate(24px, -50%);
    transition: opacity 0.45s var(--ui-ease), transform 0.6s var(--ui-ease);
    pointer-events: none;
}

.kx-full {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-black);
}

.kx-tagline {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* active row: desktop hover, touch = row nearest the screen centre (.is-active) */
.kx-row:hover .kx-name-fill,
.kx-item.is-active .kx-name-fill,
.kx-row:focus-visible .kx-name-fill {
    clip-path: inset(0 0 0 0);
    animation-play-state: running;
}

.kx-row:hover .kx-meta,
.kx-row:focus-visible .kx-meta {
    opacity: 1;
    transform: translate(0, -50%);
}

.kx-list:hover .kx-item:not(:hover) .kx-name,
.kx-list.has-active .kx-item:not(.is-active) .kx-name {
    opacity: 0.14;
    filter: blur(2px);
}

.kx-row:focus-visible {
    outline: 2px solid var(--brand-red);
    outline-offset: 6px;
    border-radius: 12px;
}

/* entrance: rows rise in one after another */
.kx-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ui-ease) calc(var(--i) * 0.07s), transform 1s var(--ui-ease) calc(var(--i) * 0.07s);
}

.kx-page.is-loaded .kx-item {
    opacity: 1;
    transform: none;
}

/* ----- Closing line ----- */
.kx-end {
    padding: 70px 0 120px;
}

.kx-end-q {
    margin-bottom: 10px;
    font-size: 1.125rem;
    color: var(--text-muted);
}

.kx-end-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    font-size: clamp(3rem, 9vw, 9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.055em;
    color: var(--brand-red);
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 0.06em;
    background-repeat: no-repeat;
    background-position: left 98%;
    transition: background-size 0.7s var(--ui-ease), color var(--ui-dur) var(--ui-ease);
}

.kx-end-link i {
    font-size: 0.55em;
    transition: transform 0.6s var(--ui-ease);
}

.kx-end-link:hover {
    color: var(--color-black);
    background-size: 100% 0.06em;
}

.kx-end-link:hover i {
    transform: translateX(0.2em) rotate(-45deg);
}

/* ----- Custom cursor (fine pointers only) ----- */
.kx-cursor {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    width: 118px;
    height: 118px;
    margin: -59px 0 0 -59px;
    border-radius: 50%;
    background: var(--brand-red);
    color: #FFFFFF;
    font-size: 0.9375rem;
    font-weight: 700;
    pointer-events: none;
    transform: translate(var(--cx, -200px), var(--cy, -200px)) scale(0);
    transition: transform 0.35s var(--ui-ease);
    will-change: transform;
}

.kx-cursor.is-visible {
    transform: translate(var(--cx), var(--cy)) scale(1);
}

@media (hover: hover) and (pointer: fine) {
    .kx-row {
        cursor: none;
    }
}

@media not all and (hover: hover) {
    .kx-cursor {
        display: none;
    }
}

@media (max-width: 991px) {
    .kx-intro {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .kx-meta {
        display: none;
    }
}

@media (max-width: 575px) {
    .kx-hero {
        padding: 130px 0 32px;
    }

    .kx-name {
        font-size: 12.4vw;
        white-space: normal;
        line-height: 0.98;
    }

    .kx-num {
        padding-top: 0.5em;
        font-size: 0.75rem;
    }

    .kx-row {
        gap: 10px;
        padding: 14px 0;
    }

    .kx-end {
        padding: 50px 0 90px;
    }

    .kx-end-link {
        font-size: 14vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kx-row {
        transform: none;
    }

    .kx-name-fill {
        animation: none;
    }

    .kx-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================================================
   404 PAGE (errors/404.blade.php): the zero is a red eye
   whose pupil follows the pointer (js/hata.js)
   ========================================================= */
.nf-page {
    background:
        radial-gradient(50% 700px at 90% 0%, rgba(194, 21, 28, 0.1) 0%, transparent 70%),
        radial-gradient(45% 600px at 0% 380px, rgba(77, 77, 79, 0.1) 0%, transparent 70%),
        #F6F6F7;
}

.nf-hero {
    padding: 150px 0 40px;
}

.nf-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nf-code {
    display: flex;
    align-items: center;
    gap: 0.07em;
    font-size: clamp(8rem, 24vw, 21rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
    color: var(--color-black);
    user-select: none;
}

.nf-digit {
    display: inline-block;
    opacity: 0;
    transform: translateY(40%) rotate(-8deg);
    animation: nfDrop 1s var(--ui-ease) forwards;
}

.nf-digit:last-child {
    transform: translateY(40%) rotate(8deg);
    animation-delay: 0.12s;
}

@keyframes nfDrop {
    to {
        opacity: 1;
        transform: none;
    }
}

.nf-eye {
    position: relative;
    display: grid;
    place-items: center;
    width: 0.74em;
    height: 0.74em;
    margin: 0 0.03em;
    overflow: hidden;
    border-radius: 50%;
    border: 0.1em solid var(--brand-red);
    background: #FFFFFF;
    box-shadow: 0 0.1em 0.22em -0.14em rgba(194, 21, 28, 0.45);
    transform: scale(0);
    animation: nfPop 0.8s var(--ui-ease) 0.25s forwards;
}

@keyframes nfPop {
    to {
        transform: scale(1);
    }
}

.nf-pupil {
    position: relative;
    width: 0.24em;
    height: 0.24em;
    border-radius: 50%;
    background: var(--color-black);
    /* --px / --py are set by hata.js */
    transform: translate(var(--px, 0px), var(--py, 0px));
    transition: transform 0.12s linear;
}

/* small glint */
.nf-pupil::after {
    content: "";
    position: absolute;
    left: 22%;
    top: 20%;
    width: 28%;
    height: 28%;
    border-radius: 50%;
    background: #FFFFFF;
}

/* eyelid closes for a blink every few seconds */
.nf-lid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--brand-red);
    transform: scaleY(0);
    transform-origin: top;
    animation: nfBlink 5s ease-in-out 1.6s infinite;
}

@keyframes nfBlink {

    0%,
    90%,
    100% {
        transform: scaleY(0);
    }

    94% {
        transform: scaleY(1);
    }
}

.nf-title {
    margin: 26px 0 14px;
    font-size: clamp(1.75rem, 3.4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--color-black);
}

.nf-title em {
    font-style: normal;
    color: var(--brand-red);
}

.nf-lead {
    max-width: 560px;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-body);
}

.nf-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin-top: 32px;
}

.nf-alt {
    padding-bottom: 2px;
    border-bottom: 1.5px solid currentColor;
    font-weight: 700;
    color: var(--color-black);
    transition: color var(--ui-dur) var(--ui-ease);
}

.nf-alt:hover {
    color: var(--brand-red);
}

/* ----- Quick links ----- */
.nf-links-wrap {
    padding: 40px 0 110px;
}

.nf-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.nf-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--border-card);
    background: #FFFFFF;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-black);
    opacity: 0;
    transform: translateY(20px);
    animation: nfDrop 0.8s var(--ui-ease) calc(0.5s + var(--i) * 0.07s) forwards;
    transition: border-color var(--ui-dur) var(--ui-ease), box-shadow var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease);
}

.nf-link>i:first-child {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(194, 21, 28, 0.08);
    color: var(--brand-red);
    font-size: 0.9375rem;
    transition: background var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease);
}

.nf-link span {
    flex: 1;
    min-width: 0;
}

.nf-link-arrow {
    font-size: 0.8125rem;
    color: var(--text-light);
    transition: transform var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease);
}

.nf-link:hover {
    border-color: rgba(194, 21, 28, 0.3);
    box-shadow: 0 20px 40px -24px rgba(11, 15, 25, 0.25);
    color: var(--brand-red);
}

.nf-link:hover>i:first-child {
    background: var(--brand-red);
    color: #FFFFFF;
}

.nf-link:hover .nf-link-arrow {
    color: var(--brand-red);
    transform: translateX(4px);
}

.nf-services {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 18px;
    margin-top: 34px;
}

.nf-services-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-muted);
}

.nf-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 991px) {
    .nf-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .nf-hero {
        padding: 120px 0 24px;
    }

    .nf-links {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .nf-link {
        padding: 16px;
    }

    .nf-links-wrap {
        padding-bottom: 80px;
    }

    .nf-services {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {

    .nf-digit,
    .nf-eye,
    .nf-link {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .nf-lid {
        animation: none;
    }
}

/* =========================================================
   LEGAL PAGES (frontend/yasal.blade.php + resources/views/legal)
   ========================================================= */
.lg-page {
    background:
        radial-gradient(50% 700px at 90% 0%, rgba(194, 21, 28, 0.08) 0%, transparent 70%),
        #F6F6F7;
}

.lg-hero {
    padding: 170px 0 40px;
}

.lg-title {
    margin: 14px 0 12px;
    font-size: clamp(2.25rem, 4.4vw, 4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.05em;
    color: var(--color-black);
}

.lg-updated {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.lg-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.lg-body {
    padding: 10px 0 110px;
}

.lg-grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.lg-grid>* {
    min-width: 0;
}

/* ----- Table of contents ----- */
.lg-toc {
    position: sticky;
    top: 120px;
}

.lg-toc-label {
    display: block;
    margin-bottom: 12px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-muted);
}

.lg-toc ol {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
    border-left: 1px solid var(--border-card);
}

.lg-toc a {
    position: relative;
    display: block;
    padding: 8px 0 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-muted);
    transition: color var(--ui-dur) var(--ui-ease);
}

.lg-toc a::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--brand-red);
    transform: scaleY(0);
    transition: transform 0.4s var(--ui-ease);
}

.lg-toc a:hover,
.lg-toc a.is-active {
    color: var(--color-black);
}

.lg-toc a.is-active::before {
    transform: scaleY(1);
}

/* ----- Article ----- */
.lg-article {
    max-width: 820px;
    padding: 48px 52px;
    border-radius: 28px;
    border: 1px solid var(--border-card);
    background: #FFFFFF;
    color: var(--text-body);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.lg-article h2 {
    margin: 44px 0 14px;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--color-black);
    scroll-margin-top: 120px;
}

.lg-article h3 {
    margin: 24px 0 8px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-black);
}

.lg-article p {
    margin-bottom: 14px;
}

.lg-article ul {
    display: grid;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.lg-article ul li {
    position: relative;
    padding-left: 22px;
}

.lg-article ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.75em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-red);
}

.lg-article strong {
    color: var(--color-black);
}

.lg-article a {
    color: var(--brand-red);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.lg-article code {
    padding: 2px 6px;
    border-radius: 6px;
    background: #F1F1F3;
    font-size: 0.875em;
    color: var(--color-black);
    overflow-wrap: anywhere;
}

.lg-intro {
    padding-bottom: 8px;
    font-size: 1.1875rem;
    line-height: 1.75;
    color: var(--color-black);
}

.lg-note {
    padding: 14px 18px;
    border-left: 3px solid var(--brand-red);
    border-radius: 0 12px 12px 0;
    background: rgba(194, 21, 28, 0.05);
    font-size: 0.975rem;
}

.lg-contact {
    padding: 18px 22px !important;
    border-radius: 16px;
    background: #F6F6F7;
}

.lg-contact li {
    padding-left: 0 !important;
}

.lg-contact li::before {
    display: none;
}

.lg-table-wrap {
    margin: 8px 0 22px;
    overflow-x: auto;
    border: 1px solid var(--border-card);
    border-radius: 16px;
}

.lg-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.9375rem;
    line-height: 1.55;
}

.lg-table th,
.lg-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border-card);
}

.lg-table th {
    background: #F6F6F7;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-black);
}

/* cookie names stay on one line; the table scrolls sideways instead */
.lg-table code {
    white-space: nowrap;
    overflow-wrap: normal;
}

.lg-table tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 991px) {
    .lg-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lg-toc {
        position: static;
        padding: 18px 20px;
        border-radius: 20px;
        border: 1px solid var(--border-card);
        background: #FFFFFF;
    }
}

@media (max-width: 575px) {
    .lg-hero {
        padding: 130px 0 28px;
    }

    .lg-switch {
        flex-wrap: nowrap;
        margin: 22px -16px 0;
        padding: 0 16px 4px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .lg-switch .pf-filter {
        flex: 0 0 auto;
    }

    .lg-article {
        padding: 28px 22px;
        border-radius: 22px;
        font-size: 1rem;
    }

    .lg-article h2 {
        margin-top: 34px;
        font-size: 1.3rem;
    }

    .lg-intro {
        font-size: 1.0625rem;
    }
}

/* =========================================================
   COOKIE CONSENT (partials/cookie-consent.blade.php)
   ========================================================= */
.cc {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1200;
    width: min(420px, calc(100vw - 40px));
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--border-card);
    background: #FFFFFF;
    box-shadow: 0 30px 70px -20px rgba(11, 15, 25, 0.35);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.35s var(--ui-ease), transform 0.5s var(--ui-ease);
}

.cc.is-visible {
    opacity: 1;
    transform: none;
}

.cc-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(194, 21, 28, 0.08);
    color: var(--brand-red);
    font-size: 1.125rem;
}

.cc-title {
    margin: 0 0 8px;
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-black);
}

.cc-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-body);
}

.cc-text a {
    color: var(--brand-red);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ----- Preferences ----- */
.cc-prefs {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.cc-prefs[hidden] {
    display: none;
}

.cc-opt {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #F6F6F7;
    cursor: pointer;
}

.cc-opt strong {
    display: block;
    font-size: 0.875rem;
    color: var(--color-black);
}

.cc-opt small {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.cc-opt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cc-switch {
    position: relative;
    flex: 0 0 auto;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #D5D6DA;
    transition: background var(--ui-dur) var(--ui-ease);
}

.cc-switch::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(11, 15, 25, 0.25);
    transition: transform var(--ui-dur) var(--ui-ease);
}

.cc-opt input:checked+.cc-switch {
    background: var(--brand-red);
}

.cc-opt input:checked+.cc-switch::after {
    transform: translateX(18px);
}

.cc-opt input:disabled+.cc-switch {
    opacity: 0.55;
}

.cc-opt input:focus-visible+.cc-switch {
    outline: 2px solid var(--brand-red);
    outline-offset: 2px;
}

/* ----- Buttons: accept and reject look equally strong ----- */
.cc-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
}

.cc-btn {
    height: 46px;
    padding: 0 16px;
    border: 1px solid var(--color-black);
    border-radius: 999px;
    background: var(--color-black);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    color: #FFFFFF;
    cursor: pointer;
    transition: background var(--ui-dur) var(--ui-ease), border-color var(--ui-dur) var(--ui-ease), color var(--ui-dur) var(--ui-ease);
}

.cc-btn:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #FFFFFF;
}

.cc-btn-ghost {
    background: #FFFFFF;
    color: var(--color-black);
}

.cc-btn-save {
    grid-column: 1 / -1;
}

.cc-link {
    grid-column: 1 / -1;
    justify-self: center;
    padding: 6px 4px 2px;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.cc-link:hover {
    color: var(--brand-red);
}

.cc [hidden] {
    display: none !important;
}

.cc-btn:focus-visible,
.cc-link:focus-visible {
    outline: 2px solid var(--brand-red);
    outline-offset: 2px;
}

@media (max-width: 575px) {
    .cc {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        padding: 20px;
        max-height: calc(100vh - 24px);
        overflow-y: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cc {
        transition: none;
    }
}