@import url('./fonts.css');

/* Custom Minimalist Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: grab;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 59, 48, 0.6);
}

::-webkit-scrollbar-thumb:active {
    cursor: grabbing;
    background: var(--brand-color);
}

/* Firefox Support */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

:root {
    --bg-color: #070707;
    --bg-elevated: #0d0d0d;
    --text-primary: #f5f5f5;
    --text-secondary: #a3a3a3;
    --border-color: #202020;
    --brand-color: #ff3b30;

    --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: var(--font-primary);
    --font-mono: 'Geist Mono', 'SF Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --font-pixel: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container-max: 1240px;
    --container-pad: clamp(1rem, 2vw, 1.6rem);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;

    --space-1: clamp(0.4rem, 0.8vw, 0.7rem);
    --space-2: clamp(0.7rem, 1.1vw, 1rem);
    --space-3: clamp(0.95rem, 1.5vw, 1.3rem);
    --space-4: clamp(1.25rem, 2.1vw, 1.9rem);
    --space-5: clamp(1.8rem, 3.2vw, 2.6rem);
    --space-6: clamp(2.3rem, 4.8vw, 3.9rem);

    --fs-h1: clamp(2rem, 4.8vw, 3.7rem);
    --fs-h2: clamp(1.45rem, 3.2vw, 2.7rem);
    --fs-h3: clamp(1rem, 1.7vw, 1.45rem);
    --fs-body: clamp(0.95rem, 1.35vw, 1.12rem);
    --fs-meta: clamp(0.82rem, 1vw, 0.95rem);
    --fs-logo: clamp(1.9rem, 2.5vw, 2.4rem);

    --btn-pad: 0.8rem 1rem;
    --btn-rad: 10px;

    --transition: all 0.25s ease;
}

/* ── PRELOADER & TOP BAR ── */
.top-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--brand-color);
    z-index: 10000;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px var(--brand-color), 0 0 20px var(--brand-color);
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background:
        radial-gradient(600px 500px at 80% 20%, rgba(255, 255, 255, 0.04), transparent 50%),
        #050505;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Remove separate glow elements if any */
.preloader-glow-top,
.preloader-glow-bottom,
.preloader::before {
    display: none !important;
}

.preloader-content {
    position: relative;
    z-index: 5;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hello-wrapper {
    height: clamp(2.5rem, 7vw, 4.5rem);
    line-height: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.hello-text {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1;
    color: #fff;
    margin: 0;
    transform: translateY(100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: auto;
    max-width: min(92vw, 18ch);
    white-space: nowrap;
    font-family: var(--font-heading), 'Noto Sans', 'Segoe UI', Tahoma, sans-serif;
}

.preloader-progress {
    width: min(12rem, 40vw);
    margin: 0.8rem auto 1.6rem auto;
    opacity: 0;
    transform: translateY(10px);
}

.preloader-cipher {
    display: block;
    font-family: var(--font-pixel);
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.25em;
    margin: 0;
    text-transform: uppercase;
    height: 1.2em;
    overflow: hidden;
    white-space: nowrap;
}

.preloader-progress-track {
    position: relative;
    display: block;
    width: 100%;
    height: 0.12rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.preloader-progress-fill {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: #ffffff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.preloader-progress-track::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.34) 50%, transparent 100%);
    transform: translateX(-140%);
    animation: preloader-shimmer 1.8s ease-in-out infinite;
    opacity: 0.55;
}

@keyframes preloader-shimmer {
    0% {
        transform: translateX(-140%);
    }

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

/* Corner Glows */
.preloader-glow-top,
.preloader-glow-bottom {
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(255, 59, 48, 0.12), transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.preloader-glow-top {
    top: -10vw;
    left: -10vw;
}

.preloader-glow-bottom {
    bottom: -10vw;
    right: -10vw;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: clip;
}

body.dark-theme {
    background:
        radial-gradient(600px 500px at 80% 20%, rgba(255, 255, 255, 0.04), transparent 50%),
        #050505;
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
    text-wrap: balance;
}

h1 {
    font-size: var(--fs-h1);
    text-transform: none;
}

h2 {
    font-size: var(--fs-h2);
    text-transform: none;
}

p {
    color: var(--text-secondary);
    font-size: var(--fs-body);
    max-width: 64ch;
}

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

section {
    width: min(100%, var(--container-max));
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3.4rem) var(--container-pad);
}

.badge,
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--btn-rad);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: #bebebe;
    width: fit-content;
}

.badge {
    margin-bottom: var(--space-1);
}

.section-badge {
    margin-bottom: var(--space-3);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: var(--btn-pad);
    border-radius: var(--btn-rad);
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    width: fit-content;
    white-space: nowrap;
}

.global-live-clock {
    display: grid;
    gap: 0.12rem;
    align-items: center;
    justify-items: end;
    padding: 0.42rem 0.72rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    min-width: 188px;
}

.global-live-clock .live-clock-day {
    font-size: 0.63rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #bdbdbd;
    line-height: 1.15;
}

.global-live-clock .live-clock-time {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    line-height: 1;
    animation: live-clock-pulse 1s ease-in-out infinite;
}

@media (max-width: 1024px) {
    .nav-clock {
        display: none;
    }
}

.top-banner-clock {
    min-width: 206px;
    padding: 0.34rem 0.66rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #101010;
}

.top-banner-clock.live-clock-inline {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
}

.top-banner-clock .live-clock-day {
    display: inline-flex;
    align-items: center;
    font-size: 0.63rem;
    letter-spacing: 0.09em;
    color: rgba(255, 255, 255, 0.72);
    margin-right: 0.42rem;
}

.top-banner-clock .live-clock-day::after {
    display: none;
}

.top-banner-clock .live-clock-time {
    display: inline-flex;
    align-items: center;
    font-size: 0.92rem;
    animation: none;
}

.top-banner-clock .live-clock-time.live-clock-roll {
    display: inline-flex;
    align-items: center;
    gap: 0.03em;
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum' 1;
}

.top-banner-clock .clock-char-slot {
    position: relative;
    width: 0.64em;
    height: 1.05em;
    overflow: hidden;
    display: inline-block;
    text-align: center;
}

.top-banner-clock .clock-char-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.34em;
    opacity: 0.88;
}

.top-banner-clock .clock-char-face {
    position: absolute;
    inset: 0;
    line-height: 1.05em;
    font-weight: 800;
    background: linear-gradient(180deg, #ffffff 0%, #efefef 58%, #d7d7d7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.12);
}

.top-banner-clock .clock-char-static {
    position: relative;
    display: block;
}

.top-banner-clock .clock-char-slot.is-flipping .clock-char-prev {
    animation: landing-clock-char-out 340ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.top-banner-clock .clock-char-slot.is-flipping .clock-char-next {
    transform: translateY(100%);
    filter: blur(5px);
    animation: landing-clock-char-in 340ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes landing-clock-char-out {
    0% {
        transform: translateY(0%);
        filter: blur(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-100%);
        filter: blur(5px);
        opacity: 0;
    }
}

@keyframes landing-clock-char-in {
    0% {
        transform: translateY(100%);
        filter: blur(5px);
        opacity: 0.25;
    }

    100% {
        transform: translateY(0%);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes live-clock-pulse {

    0%,
    100% {
        opacity: 1;
        text-shadow: 0 0 0 rgba(255, 59, 48, 0);
    }

    50% {
        opacity: 0.9;
        text-shadow: 0 0 12px rgba(255, 59, 48, 0.42);
    }
}

.btn-primary {
    background: #f7f7f7;
    color: #0a0a0a;
    border-color: #f7f7f7;
}

.btn-primary:hover {
    background: transparent;
    color: #f7f7f7;
}

.btn-dark {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.06);
}

.btn-dark:hover {
    background: rgba(255, 255, 255, 0.14);
}

.btn-outline {
    background: transparent;
    color: #f3f3f3;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.text-link {
    color: #c9c9c9;
    font-size: 0.95rem;
    font-weight: 600;
}

.text-link:hover {
    color: #ffffff;
}

.top-banner {
    background: #f5f5f5;
    color: #0d0d0d;
    height: 34px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.top-banner-marquee {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    z-index: 1;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 15%, black 60%, transparent 90%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 15%, black 60%, transparent 90%);
}

.top-banner-marquee::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(to right, #f5f5f5, transparent);
    z-index: 2;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    min-width: 100%;
    animation: marquee-slide 60s linear infinite;
    gap: 0;
}

.marquee-content span {
    display: inline-block;
    padding: 0 1.2rem;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: black;
}

.top-banner-fixed-clock {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    padding: 0 0.8rem;
    z-index: 10;
    border-radius: 4px;
    height: 26px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid #000;
    flex-shrink: 0;
    box-shadow: -40px 0 60px #f5f5f5, -20px 0 30px #f5f5f5, 0 4px 15px rgba(0, 0, 0, 0.1);
}

.top-banner-clock {
    min-width: max-content !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.top-banner-clock .live-clock-day {
    color: rgba(255, 255, 255, 0.5) !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 0.5em;
    margin-right: 0;
}

.top-banner-clock .live-clock-time {
    color: #fff !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em;
}

.top-banner-clock .clock-char-face {
    color: #fff !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    text-shadow: none !important;
}

.top-banner-clock .clock-char-sep {
    color: #fff !important;
    opacity: 0.6;
}

@keyframes marquee-slide {
    0% {
        transform: translateX(0);
    }

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

.top-banner:hover .marquee-content {
    animation-play-state: paused;
}


.music-toggle {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1500;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.94), rgba(8, 8, 8, 0.88));
    backdrop-filter: blur(10px);
    color: #f2f2f2;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.music-toggle i {
    font-size: 1.05rem;
}

.music-toggle:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.46);
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.96), rgba(10, 10, 10, 0.9));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.music-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.music-toggle-tooltip {
    position: absolute;
    left: calc(100% + 0.75rem);
    bottom: -0.25rem;
    width: min(280px, calc(100vw - 7rem));
    display: block;
    padding: 0.64rem 0.78rem 0.68rem;
    border-radius: 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.15), transparent 45%),
        linear-gradient(152deg, rgba(22, 22, 22, 0.96), rgba(8, 8, 8, 0.94));
    color: #f4f4f4;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    pointer-events: none;
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    transform-origin: left bottom;
    transition: opacity 0.26s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1501;
}

.music-toggle-tooltip strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.72rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.music-toggle-tooltip span {
    display: block;
    font-size: 0.8rem;
    line-height: 1.35;
}

.music-toggle-tooltip--home {
    width: max-content;
    max-width: min(300px, calc(100vw - 7rem));
    border-radius: 999px;
    padding: 0.5rem 0.82rem;
    white-space: nowrap;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    line-height: 1.2;
    background: rgba(13, 13, 13, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(245, 245, 245, 0.92);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.42);
    left: calc(100% + 0.65rem);
    top: 50%;
    bottom: auto;
    transform: translateY(calc(-50% + 8px)) scale(0.98);
    transform-origin: left center;
}

.music-toggle-tooltip::after {
    content: "";
    position: absolute;
    left: -6px;
    bottom: 16px;
    width: 10px;
    height: 10px;
    background: rgba(16, 16, 16, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
}

.music-toggle-tooltip--home::after {
    display: none;
}

.music-toggle-tooltip.is-visible,
.music-toggle:hover .music-toggle-tooltip,
.music-toggle:focus-visible .music-toggle-tooltip {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.music-toggle-tooltip--home.is-visible,
.music-toggle:hover .music-toggle-tooltip--home,
.music-toggle:focus-visible .music-toggle-tooltip--home {
    transform: translateY(-50%) scale(1);
}

.corner-bottom-left {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 0.38rem;
    transition: left 0.3s ease, right 0.3s ease, bottom 0.3s ease, transform 0.3s ease;
}

.corner-bottom-left.is-footer-centered {
    left: 50%;
    right: auto;
    bottom: 1.25rem;
    transform: translateX(-50%);
}

/* Pet Switcher Button */
.pet-switcher {
    position: relative;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.94), rgba(8, 8, 8, 0.88));
    backdrop-filter: blur(10px);
    color: #f2f2f2;
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.pet-switcher i {
    font-size: 1.05rem;
    animation: pet-cat-bob 2.4s ease-in-out infinite;
    transform-origin: center 65%;
}

@keyframes pet-cat-bob {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-1px) rotate(-4deg) scale(1.02);
    }

    50% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    75% {
        transform: translateY(-1px) rotate(4deg) scale(1.02);
    }
}

.pet-switcher:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.46);
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.96), rgba(10, 10, 10, 0.9));
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.46), 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.pet-switcher:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.pet-switcher-tooltip {
    position: absolute;
    left: calc(100% + 0.75rem);
    top: 50%;
    max-width: min(280px, calc(100vw - 7rem));
    display: block;
    padding: 0.5rem 0.82rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(13, 13, 13, 0.95);
    color: rgba(245, 245, 245, 0.92);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(12px);
    white-space: nowrap;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    line-height: 1.2;
    pointer-events: none;
    opacity: 0;
    transform: translateY(calc(-50% + 8px)) scale(0.98);
    transform-origin: left center;
    transition: opacity 0.26s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1501;
}

.pet-switcher:hover .pet-switcher-tooltip,
.pet-switcher:focus-visible .pet-switcher-tooltip {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* ── NAVBAR ── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1200;
    min-height: 64px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    background: rgba(5, 5, 5, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
    transition: min-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.navbar.is-scrolled {
    min-height: 58px;
    background: rgba(5, 5, 5, 0.88);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.nav-container {
    width: min(100%, var(--container-max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 1.2rem;
    padding: 0 var(--container-pad);
    min-height: inherit;
}

/* ── LOGO ── */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(1.2rem, 1.5vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    flex-shrink: 0;
    justify-self: start;
    padding: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover .logo-circle {
    border-color: rgba(255, 59, 48, 0.5);
    box-shadow: 0 0 12px rgba(255, 59, 48, 0.15);
}

.logo-text {
    font-family: var(--font-heading);
    color: #f5f5f5;
}

.logo-dot {
    color: var(--brand-color);
    font-weight: 800;
}

/* ── NAV CENTER MENU ── */
.nav-menu {
    display: contents;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    padding: 0.36rem;
    border: 1px solid rgba(255, 255, 255, 0.095);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    isolation: isolate;
    --nav-indicator-x: 0px;
    --nav-indicator-y: 0px;
    --nav-indicator-w: 0px;
    --nav-indicator-h: 0px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 12px 28px rgba(0, 0, 0, 0.18);
    transition: border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
    justify-self: center;
}

.nav-links:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.055);
}

/* Sliding indicator background */
.nav-links::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: var(--nav-indicator-w);
    height: var(--nav-indicator-h);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    opacity: 0;
    transform: translate3d(var(--nav-indicator-x), var(--nav-indicator-y), 0) scale(1);
    transform-origin: center;
    transition:
        transform 0.34s cubic-bezier(0.16, 1, 0.3, 1),
        width 0.34s cubic-bezier(0.16, 1, 0.3, 1),
        height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.18s ease;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.16) inset,
        0 8px 18px rgba(0, 0, 0, 0.2);
    will-change: transform, width, height, opacity;
    z-index: -1;
}

.nav-links.has-indicator::before {
    opacity: 1;
}

/* Ambient glow behind indicator */
.nav-indicator-glow {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--nav-indicator-w);
    height: var(--nav-indicator-h);
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.12), transparent 68%);
    transform: translate3d(var(--nav-indicator-x), var(--nav-indicator-y), 0) scale(1.25);
    opacity: 0;
    pointer-events: none;
    z-index: -2;
    transition:
        transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        width 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.25s ease;
    filter: blur(10px);
}

.nav-links.has-indicator .nav-indicator-glow {
    opacity: 1;
}


/* Remove the small red underline under the nav items while keeping
   the rounded sliding pill indicator (::before). This preserves the
   pill visual and spacing but removes the red line at the bottom. */
.nav-links::after {
    display: none !important;
}

@media (max-width: 640px) {
    .nav-links::after {
        display: none;
    }
}

/* Nav link items */
.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 33px;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    letter-spacing: 0;
    white-space: nowrap;
    border: 1px solid transparent;
    position: relative;
    z-index: 1;
    transition:
        color 0.25s ease,
        opacity 0.25s ease;
    cursor: pointer;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
    color: #060606;
}

/* Prevent click/active zoom or scale on nav links across browsers */
.nav-links a,
.nav-links a:active,
.nav-links a:focus,
.nav-links a:focus-visible {
    transform: none !important;
    transition: color 0.25s ease, opacity 0.25s ease !important;
    -webkit-tap-highlight-color: transparent;
}

.nav-links.is-hovering a.is-active:not(:hover):not(:focus-visible) {
    color: rgba(255, 255, 255, 0.58);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    transform: none;
}

.nav-links a.is-active {
    font-weight: 700;
}

.nav-links.is-hovering::before {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.nav-links:not(.has-indicator) a:hover,
.nav-links:not(.has-indicator) a:focus-visible,
.nav-links:not(.has-indicator) a.is-active {
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

/* ── NAV RIGHT SECTION ── */
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
    justify-self: end;
}

/* Sign In Button — Ghost style */
.nav-signin-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 36px;
    padding: 0.48rem 0.78rem;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.09);
    white-space: nowrap;
    transition:
        color 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.2s ease;
    cursor: pointer;
}

.nav-signin-btn i {
    font-size: 0.88rem;
    opacity: 0.7;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.nav-signin-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    transform: translateY(-1px);
}

.nav-signin-btn:hover i {
    opacity: 1;
    transform: translateX(-1px);
}

/* Hire Me Button — Accent solid */
.nav-hire-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 36px;
    padding: 0.48rem 0.84rem;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0a0a0a;
    background: linear-gradient(135deg, #f7f7f7 0%, #e8e8e8 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    transition:
        color 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.nav-hire-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0), rgba(255, 59, 48, 0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.nav-hire-btn i {
    font-size: 0.72rem;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-hire-btn:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.14);
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.25);
}

.nav-hire-btn:hover::before {
    opacity: 1;
}

.nav-hire-btn:hover i {
    transform: translate(2px, -2px);
}


.nav-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem 0.72rem 0.32rem 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 600;
    color: #ededed;
    background: rgba(255, 255, 255, 0.035);
    white-space: nowrap;
    max-width: 190px;
    transition: var(--transition);
}

.nav-user-badge:hover,
.profile-menu.is-open .nav-user-badge {
    border-color: rgba(255, 59, 48, 0.42);
    background: rgba(255, 59, 48, 0.08);
    box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.12), 0 12px 28px rgba(0, 0, 0, 0.24);
}

.nav-user-avatar,
.profile-avatar-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.9), rgba(255, 59, 48, 0.62));
    color: #fff;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-user-avatar {
    width: 20px;
    height: 20px;
    font-size: 0.74rem;
}

.nav-user-avatar {
    font-weight: 500;
}

.nav-user-name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.profile-menu {
    position: relative;
}

.profile-popover {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    width: min(340px, calc(100vw - 2rem));
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 59, 48, 0.15);
    background: linear-gradient(135deg, rgba(10, 10, 11, 0.97) 0%, rgba(15, 15, 18, 0.95) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 59, 48, 0.08);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.96);
    transform-origin: top right;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.25s ease;
    z-index: 1400;
}

.profile-menu.is-open .profile-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.profile-popover-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 59, 48, 0.12);
}

.profile-avatar-lg {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
}

.profile-popover-head strong,
.profile-popover-head span {
    display: block;
    max-width: 230px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.profile-popover-head strong {
    color: #fff;
    font-size: 0.98rem;
}

.profile-popover-head span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    margin-top: 0.12rem;
}

.profile-compact-form {
    display: grid;
    gap: 0.72rem;
}

.profile-compact-form label {
    display: grid;
    gap: 0.34rem;
}

.profile-compact-form label>span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.76rem;
    font-weight: 700;
}

.profile-compact-form em {
    color: rgba(255, 255, 255, 0.35);
    font-style: normal;
    font-weight: 500;
}

.profile-compact-form input,
.profile-compact-form select {
    width: 100%;
    min-height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    padding: 0.65rem 0.75rem;
}

.profile-custom-select {
    position: relative;
    display: grid;
    gap: 0.34rem;
}

.profile-custom-select-full {
    width: 100%;
}

.profile-custom-select>span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.76rem;
    font-weight: 700;
}

.profile-select-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    width: 100%;
    min-height: 40px;
    padding: 0.56rem 0.78rem 0.56rem 0.82rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    font: inherit;
    cursor: pointer;
    text-align: left;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.profile-select-trigger:hover {
    border-color: rgba(255, 59, 48, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.profile-select-trigger.is-open,
.profile-select-trigger:focus-visible {
    border-color: rgba(255, 59, 48, 0.6);
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.12);
    background: rgba(255, 255, 255, 0.1);
}

.profile-select-trigger span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.profile-select-chevron {
    flex-shrink: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.22s ease, color 0.22s ease;
}

.profile-select-trigger.is-open .profile-select-chevron {
    transform: rotate(180deg);
    color: rgba(255, 59, 48, 0.9);
}

.profile-select-menu {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.22rem;
    padding: 0.52rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 59, 48, 0.16);
    background: linear-gradient(180deg, rgba(14, 14, 16, 0.98), rgba(9, 9, 10, 0.98));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 10;
}

.profile-custom-select.is-open .profile-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.profile-select-option {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 32px;
    padding: 0.42rem 0.62rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.84rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.profile-select-option:hover {
    background: rgba(255, 59, 48, 0.12);
    transform: translateX(2px);
}

.profile-select-option.is-selected {
    background: rgba(255, 59, 48, 0.2);
    color: #fff;
}

.profile-compact-form select option {
    color: #111;
}

.profile-compact-form input:focus,
.profile-compact-form select:focus {
    border-color: rgba(255, 59, 48, 0.48);
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.12);
}

.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

.profile-toggle-row {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.8rem !important;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-toggle-row:hover {
    border-color: rgba(255, 59, 48, 0.2);
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.08) 0%, rgba(255, 59, 48, 0.03) 100%);
}

.profile-toggle-row span {
    display: grid;
    gap: 0.16rem;
}

.profile-toggle-row strong {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.86rem;
}

.profile-toggle-row small {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.72rem;
}

.profile-toggle-row input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.profile-toggle-row i {
    position: relative;
    width: 44px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.profile-toggle-row i::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-toggle-row input:checked+i {
    background: var(--brand-color);
    box-shadow: inset 0 0 0 1px rgba(255, 59, 48, 0.3), 0 0 0 4px rgba(255, 59, 48, 0.1);
}

.profile-toggle-row input:checked+i::after {
    transform: translateX(18px);
    box-shadow: 0 2px 8px rgba(255, 59, 48, 0.4);
}

/* ── CUSTOM DROPDOWN STYLING ── */
.profile-compact-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0.65rem 2.2rem 0.65rem 0.75rem;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.2em 1.2em;
    padding-right: 2.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-compact-form select:hover {
    border-color: rgba(255, 59, 48, 0.35);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(255, 59, 48, 0.08);
}

.profile-compact-form select:focus {
    border-color: rgba(255, 59, 48, 0.6);
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.15), inset 0 0 0 1px rgba(255, 59, 48, 0.1);
    background-color: rgba(255, 255, 255, 0.12);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,59,48,0.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

.profile-compact-form select option {
    background: rgba(15, 15, 15, 0.95);
    color: #fff;
    padding: 0.5rem;
    margin: 0.2rem 0;
    border-radius: 6px;
}

.profile-compact-form select option:hover {
    background: rgba(255, 59, 48, 0.3);
}

.profile-compact-form select option:checked {
    background: linear-gradient(rgba(255, 59, 48, 0.4), rgba(255, 59, 48, 0.4));
    background-color: rgba(255, 59, 48, 0.3);
}

/* ── ENHANCED FORM STYLING ── */
.profile-compact-form {
    display: grid;
    gap: 0.5rem;
}

.profile-compact-form label {
    display: grid;
    gap: 0.25rem;
}

.profile-compact-form label>span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.profile-compact-form input,
.profile-compact-form select {
    width: 100%;
    min-height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    padding: 0.6rem 0.7rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-compact-form input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

/* ── ENHANCED FORM STYLING ── */
.profile-compact-form {
    display: grid;
    gap: 0.5rem;
}

.profile-compact-form label {
    display: grid;
    gap: 0.25rem;
}

.profile-compact-form label>span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.profile-compact-form input,
.profile-compact-form select {
    width: 100%;
    min-height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    padding: 0.6rem 0.7rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-compact-form input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.profile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Mobile Responsive Form */
@media (max-width: 640px) {
    .profile-popover {
        width: calc(100vw - 1.6rem);
        padding: 1rem;
    }

    .profile-actions {
        grid-template-columns: 1fr;
    }

    .profile-form-grid {
        grid-template-columns: 1fr;
    }
}

.nav-right .btn {
    padding: 0.34rem 0.68rem;
    font-size: 0.74rem;
    border-radius: 7px;
}

.nav-toggle {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    border-radius: 999px;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.22s ease, background 0.22s ease;
}

.nav-toggle::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 999px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 59, 48, 0.16), transparent 68%);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.nav-toggle::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    opacity: 0.35;
    transition: opacity 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.nav-toggle span {
    position: absolute;
    left: 50%;
    background: #f5f5f5;
    border-radius: 2px;
    transform: translateX(-50%);
    transform-origin: center;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, width 0.28s ease, top 0.28s ease, bottom 0.28s ease, background 0.22s ease;
}

.nav-toggle span:nth-child(1) {
    top: 13px;
    width: 18px;
    height: 2px;
}

.nav-toggle span:nth-child(2) {
    top: 20px;
    width: 12px;
    height: 2px;
    opacity: 0.6;
}

.nav-toggle span:nth-child(3) {
    bottom: 13px;
    width: 18px;
    height: 2px;
}

.nav-toggle:hover {
    transform: translateY(-1px) scale(1.02);
}

.nav-toggle:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-toggle:hover::after {
    opacity: 1;
    border-color: rgba(255, 59, 48, 0.18);
    transform: scale(0.96);
}

.nav-toggle:hover span {
    background: #fff;
}

.nav-toggle span:nth-child(1),
.nav-toggle span:nth-child(3) {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

.nav-open .nav-toggle span:nth-child(1) {
    top: 20px;
    width: 20px;
    transform: translateX(-50%) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scale(0.2);
}

.nav-open .nav-toggle span:nth-child(3) {
    bottom: 20px;
    width: 20px;
    transform: translateX(-50%) rotate(-45deg);
}

.nav-open .nav-toggle {
    background: rgba(255, 59, 48, 0.08);
}

.nav-open .nav-toggle::before {
    opacity: 1;
    transform: scale(1.05);
}

.nav-open .nav-toggle::after {
    opacity: 1;
    border-color: rgba(255, 59, 48, 0.18);
}

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-2);
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: clamp(1rem, 2.5vw, 1.9rem);
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    --hero-audio: 0;
    --hero-bass: 0;
    --hero-beat: 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(820px 500px at 50% 12%, rgba(0, 255, 221, 0.16), transparent 55%),
        radial-gradient(760px 420px at 50% 38%, rgba(76, 255, 238, 0.09), transparent 58%),
        radial-gradient(640px 360px at 50% 88%, rgba(0, 255, 221, 0.06), transparent 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%, transparent 74%, rgba(0, 255, 221, 0.04));
    pointer-events: none;
    z-index: 0;
    opacity: calc(0.16 + var(--hero-audio) * 0.32);
    transform: scale(calc(1 + var(--hero-bass) * 0.02));
    transform-origin: center top;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-audio-viz {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
    opacity: 0;
    filter: saturate(1.25) contrast(1.08) blur(calc(var(--hero-beat) * 2px)) brightness(calc(1 + var(--hero-beat) * 0.5));
    transform: scale(calc(1 + var(--hero-beat) * 0.015)) translateY(calc(var(--hero-beat) * 2px));
    transition: opacity 0.55s ease;
    -webkit-mask-image: linear-gradient(to bottom, white 0%, white 55%, transparent 92%);
    mask-image: linear-gradient(to bottom, white 0%, white 55%, transparent 92%);
}

.hero.is-visualizer-visible .hero-audio-viz {
    opacity: 1;
    transform: none;
}

.hero-audio-viz::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.08), transparent 20%),
        radial-gradient(circle at 48% 58%, rgba(255, 255, 255, 0.05), transparent 28%);
    filter: blur(30px);
    opacity: calc(0.2 + var(--hero-bass) * 0.3 + var(--hero-beat) * 0.15);
}

.hero-audio-viz-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.matrix-rain-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.matrix-rain-canvas.active {
    opacity: 1;
}

.hero-top {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    max-width: 48rem;
    margin-top: clamp(4rem, 9vw, 7rem);
}

.hero-title {
    font-size: var(--fs-h2);
    max-width: 30ch;
    line-height: 1.16;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.hero-subtitle {
    max-width: 58ch;
    margin: 0 auto var(--space-1) auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-actions .text-link {
    padding: 0.8rem 0.25rem;
}

.hero-cards {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
    margin-top: clamp(1.25rem, 3vw, 2rem);
}

.hero-testimonials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: min(1180px, 100%);
    margin-inline: auto;
    overflow: hidden;
    isolation: isolate;
    mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.hero-marquee-row {
    position: relative;
    overflow: hidden;
}

.hero-marquee-track {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    width: max-content;
    min-width: 200%;
    animation: hero-testimonial-scroll 34s linear infinite;
    will-change: transform;
}

.hero-marquee-row--reverse .hero-marquee-track {
    animation-direction: reverse;
    animation-duration: 38s;
}

.hero-testimonials:hover .hero-marquee-track {
    animation-play-state: paused;
}

@keyframes hero-testimonial-scroll {
    0% {
        transform: translateX(0);
    }

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

.hero-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: var(--space-3);
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 26px rgba(0, 0, 0, 0.2);
    transition: none;
}

.hero-testimonials .hero-card {
    width: clamp(280px, 30vw, 380px);
    min-height: 218px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-card::before {
    content: none;
}

.hero-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.hero-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.58rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.7rem;
    color: #d4d4d4;
    letter-spacing: 0.02em;
}

.hero-card-score {
    font-size: 0.74rem;
    color: #f0f0f0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.25rem 0.52rem;
}

.hero-client {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.72rem;
    margin-bottom: 0.75rem;
}

.hero-client img {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
}

.hero-client .author {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.hero-client .author i {
    color: var(--accent);
    font-size: 0.95rem;
}

.hero-quote,
.hero-quote-sub {
    position: relative;
    z-index: 1;
    color: #d8d8d8;
    font-size: 0.88rem;
    line-height: 1.48;
    margin-bottom: 0.55rem;
}

.hero-quote {
    color: #f2f2f2;
}

.hero-testimonials .hero-quote {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.45em;
}

.hero-quote::before {
    content: none;
}

.card-bottom {
    position: relative;
    z-index: 1;
    margin-top: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.author-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.card-bottom .author {
    color: #ffffff;
    font-size: 0.83rem;
    font-weight: 600;
}

.author-meta {
    color: #a9a9a9;
    font-size: 0.73rem;
}

.card-bottom .stars {
    color: #f6c26f;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.card-link,
.p-link {
    color: #f7f7f7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(247, 247, 247, 0.8);
    padding-bottom: 2px;
    font-size: 0.82rem;
    font-weight: 700;
}

.metrics {
    display: block;
}

.performance-metrics {
    position: relative;
    overflow: hidden;
    padding-top: clamp(2.4rem, 5.5vw, 4rem);
    padding-bottom: clamp(2.6rem, 5.8vw, 4.3rem);
    background:
        radial-gradient(760px 360px at 50% 0%, rgba(255, 255, 255, 0.035), transparent 66%),
        radial-gradient(520px 280px at 8% 70%, rgba(255, 59, 48, 0.045), transparent 65%),
        #050505;
}

.performance-metrics::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.18;
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 74%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 74%, transparent);
}

.metrics-head {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto var(--space-3);
    text-align: center;
}

.metrics-head .section-badge {
    margin-bottom: 0.85rem;
}

.metrics-head h2 {
    max-width: 16ch;
    margin: 0 auto 0.75rem;
    font-size: clamp(1.55rem, 3.8vw, 2.55rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.metrics-head .section-desc {
    margin: 0 auto;
}

.metrics-grid {
    position: relative;
    z-index: 1;
    width: min(100%, var(--container-max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.metric {
    position: relative;
    overflow: hidden;
    min-height: 205px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.75rem;
    padding: clamp(1.25rem, 1.7vw, 1.5rem);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
        rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease, border-color 0.3s ease;
}

.metric:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
        rgba(18, 18, 18, 0.9);
}

.metric::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(260px 150px at 82% 0%, rgba(255, 255, 255, 0.06), transparent 66%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 42%);
    opacity: 0.75;
}

.metric-pattern {
    position: absolute;
    inset: -1px;
    pointer-events: none;
    opacity: 0.46;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    background-size: 22px 22px, 22px 22px, 100% 100%;
    mask-image: radial-gradient(farthest-side at 70% 0%, #000, transparent 72%);
    -webkit-mask-image: radial-gradient(farthest-side at 70% 0%, #000, transparent 72%);
}

.metric-pattern::after {
    content: "";
    position: absolute;
    top: 22px;
    right: 42px;
    width: 68px;
    height: 88px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.13) 0 0) 0 0 / 23px 23px,
        linear-gradient(rgba(255, 255, 255, 0.08) 0 0) 45px 44px / 23px 23px;
    background-repeat: no-repeat;
}

.metric-icon {
    position: relative;
    z-index: 1;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.metric-icon i {
    font-size: 1.1rem;
}

.metric-copy {
    position: relative;
    z-index: 1;
}

.metric h3 {
    font-size: clamp(2rem, 3.2vw, 2.85rem);
    margin: 0 0 0.45rem;
    letter-spacing: -0.03em;
    line-height: 0.92;
    color: #ffffff;
}

.metric-divider {
    position: relative;
    z-index: 1;
    display: block;
    height: 2px;
    width: min(76%, 190px);
    border-radius: 99px;
    background:
        linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.78) 55%, rgba(255, 255, 255, 0.08) 100%);
    margin-bottom: 0.78rem;
}

.metric p {
    position: relative;
    z-index: 1;
    color: #e8e8e8;
    max-width: 18ch;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.48;
    letter-spacing: 0.015em;
    text-transform: none;
    font-weight: 600;
}

.skills,
.tools-skills,
.about,
.case-studies,
.cta {
    text-align: center;
}

.section-center {
    text-align: center;
}

.section-head {
    margin-bottom: var(--space-3);
}

.section-head-center {
    text-align: center;
}

.section-desc {
    margin: 0 auto var(--space-3) auto;
}

.section-center .section-desc {
    max-width: 760px;
}

.about {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: transparent;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.about:hover::before {
    opacity: 1;
}

.about-webgl-wrap {
    position: absolute;
    inset: 0;
    opacity: 0.34;
    pointer-events: none;
}

.about-webgl {
    width: 100%;
    height: 100%;
    display: block;
}

.about-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-4);
    align-items: start;
    text-align: left;
}

.about-copy .section-desc {
    margin: 0 0 var(--space-3) 0;
}

.about-points {
    display: grid;
    gap: 0.7rem;
}

.about-socials {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.about-social-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f2f2f2;
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    font-size: 1rem;
    cursor: pointer;
}

.about-social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
}

.about-social-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.45);
    outline-offset: 2px;
}

.copy-site-link {
    font-family: inherit;
}

.about-point {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #d8d8d8;
    font-size: 0.9rem;
}

.about-point i {
    color: #ffffff;
    font-size: 0.95rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.scrubber-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.scrubber-card {
    position: relative;
    width: min(100%, 300px);
    height: 520px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(8px);
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame-scrub-scroller {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame-scrub-pin {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#frame-canvas {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
    height: 100%;
    object-fit: contain;
}

.profile-card-3d {
    position: relative;
    width: min(100%, 380px);
    min-height: 480px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(8px);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.profile-card-gloss {
    position: absolute;
    inset: -45% -30%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.22), transparent 60%);
    transform: translate3d(var(--gloss-x, 0), var(--gloss-y, 0), 40px);
    opacity: var(--gloss-opacity, 0.5);
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    pointer-events: none;
}

.profile-image-wrap {
    position: relative;
    margin: 1.1rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transform: translateZ(45px);
}

.profile-image {
    width: 100%;
    aspect-ratio: 4 / 4.5;
    object-fit: cover;
    display: block;
    filter: grayscale(100%) contrast(1.08);
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.32s ease;
}

.profile-image-wrap:hover .profile-image {
    filter: grayscale(100%) contrast(1.12) brightness(1.04);
}

.profile-content {
    padding: 0.2rem 1.1rem 1.2rem;
    transform: translateZ(32px);
}

.profile-content h3 {
    margin-bottom: 0.35rem;
    font-size: 1.22rem;
}

.profile-content p {
    margin-bottom: 0.8rem;
    font-size: 0.86rem;
    color: #d0d0d0;
    max-width: none;
}

.profile-tags {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.profile-tags span {
    display: inline-flex;
    padding: 0.35rem 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 0.74rem;
    color: #efefef;
    background: rgba(255, 255, 255, 0.05);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
}

.skill-pill {
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.025);
    color: #d8d8d8;
    font-size: 0.78rem;
    font-weight: 500;
    transition: var(--transition);
}

.skill-pill:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ── Tools & Skills Section ── */
.tools-skills {
    text-align: center;
}

.tools-showcase {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
    padding: 1.4rem;
    margin-bottom: 2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.18);
}

.tools-showcase-header {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 0.9rem;
}

.tools-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
}

.tool-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1.2rem 0.5rem 0.9rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 1 / 1;
}

.tool-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.tool-card-dot {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    transition: background 0.3s ease;
}

.tool-card:hover .tool-card-dot {
    background: rgba(255, 255, 255, 0.5);
}

.tool-card img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.tool-card:hover img {
    transform: scale(1.12);
}

.tool-card svg {
    width: 32px;
    height: 32px;
}

.tool-card-name {
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.tool-card:hover .tool-card-name {
    color: rgba(255, 255, 255, 0.85);
}

/* ── Skill Categories ── */
.skill-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: left;
}

.skill-category {
    padding: 1.1rem 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-category-title {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.7rem;
}

.skill-category-title i {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.skill-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

@media (max-width: 900px) {
    .tools-icon-grid {
        grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    }
    .skill-categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .tools-icon-grid {
        grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    }
    .tools-showcase {
        padding: 1rem 0.8rem 1.2rem;
    }
    .tool-card img {
        width: 26px;
        height: 26px;
    }
    .scrubber-card {
        width: min(100%, 280px);
        height: 380px;
    }
}

.design-quote-reveal {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 2rem var(--container-pad);
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.design-quote-scroll-viewport {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.design-quote-word-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.design-quote-word {
    position: absolute;
    left: 50%;
    top: -5%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 12vw, 8.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.04em;
    white-space: nowrap;
    opacity: 0;
    filter: blur(12px);
    text-align: center;
    will-change: opacity, filter, transform;
}

.design-quote-credit {
    position: relative;
    z-index: 1;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
}

.design-quote-author {
    display: inline-block;
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0;
    will-change: opacity;
}

.projects-showcase .section-badge {
    margin: 0 auto var(--space-2) auto;
}

.projects-showcase .section-desc {
    margin-bottom: var(--space-2);
}

.content-index {
    text-align: left;
}

.content-index .section-head {
    text-align: left;
    max-width: 760px;
}

.content-index .section-badge,
.content-index .section-desc {
    margin-left: 0;
    margin-right: 0;
}

.projects-showcase-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: var(--space-4);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    margin-top: var(--space-2);
}

.showcase-card,
.project-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.28s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.showcase-card[data-preload-card] {
    opacity: 0.94;
}

.showcase-card[data-preload-card].asset-ready {
    opacity: 1;
}

.jwt-ready .nav-user-badge {
    border-color: rgba(255, 59, 48, 0.32);
    box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.1), 0 10px 24px rgba(255, 59, 48, 0.08);
}

.showcase-card:hover,
.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6);
}

.showcase-img {
    aspect-ratio: 16 / 9;
    min-height: 160px;
    background-size: cover;
    background-position: center;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    position: relative;
}

.showcase-img::after,
.project-img-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.18));
    opacity: 0;
    transition: opacity 0.28s ease;
}

.showcase-card:hover .showcase-img::after,
.project-card:hover .project-img-container::after {
    opacity: 1;
}

.img-1 {
    background: linear-gradient(135deg, #1d1d1d, #3b3b3b);
}

.img-2 {
    background: linear-gradient(135deg, #272727, #080808);
}

.img-3 {
    background: linear-gradient(150deg, #191919, #080808);
}

.img-4 {
    background: linear-gradient(130deg, #080808, #3e3e3e);
}

.showcase-content,
.project-info {
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.showcase-category {
    display: inline-block;
    font-size: var(--fs-meta);
    color: #b7b7b7;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--btn-rad);
    padding: 0.28rem 0.6rem;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.showcase-content h3,
.project-info h3 {
    font-size: var(--fs-h3);
    line-height: 1.28;
    margin: 0 0 0.35rem 0;
    color: var(--text-primary);
}

.showcase-content p,
.project-info p {
    margin: 0 0 var(--space-2) 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    flex: 1 1 auto;
}

.projects-grid {
    margin-top: var(--space-4);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: calc(var(--space-2) + 0.4rem);
}

.work-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-bottom: var(--space-3);
}

.work-header .btn {
    margin-left: auto;
}

.case-grid {
    margin-top: var(--space-4);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-2);
    text-align: left;
}

.case-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: var(--space-4);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.28);
}

.case-meta {
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    font-size: 0.76rem;
    color: #d6d6d6;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.case-card h3 {
    font-size: 1.06rem;
    line-height: 1.35;
    color: #f6f6f6;
    margin-bottom: 0;
}

.case-card p {
    font-size: 0.88rem;
    color: #c5c5c5;
    max-width: none;
    margin-bottom: 0.2rem;
}

.case-card .btn {
    margin-top: auto;
}

.overlay-card {
    position: relative;
    isolation: isolate;
    display: block;
    padding: 0;
    overflow: hidden;
    background: #111;
    border-color: rgba(255, 255, 255, 0.08);
}

.case-card.overlay-card {
    display: block;
    gap: 0;
    padding: 0;
}

.overlay-card .showcase-img {
    position: relative;
    z-index: 0;
    border-radius: inherit;
    transform: scale(1.001);
    transition: transform 0.46s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.36s ease;
}

.overlay-card .project-img-container {
    position: relative;
    z-index: 0;
    border-radius: inherit;
    transform: scale(1.001);
    transition: transform 0.46s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.36s ease;
}

.overlay-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.08) 28%, rgba(0, 0, 0, 0.76) 72%, rgba(0, 0, 0, 0.94) 100%),
        radial-gradient(120% 80% at 50% 100%, rgba(255, 59, 48, 0.18), transparent 58%);
}

.overlay-card:hover .showcase-img {
    transform: scale(1.035);
    filter: saturate(1.05) contrast(1.03);
}

.overlay-card:hover .project-img-container {
    transform: scale(1.035);
    filter: saturate(1.05) contrast(1.03);
}

.overlay-card .showcase-img::after,
.overlay-card .project-img-container::after {
    display: none;
}

.overlay-card .showcase-content,
.overlay-card .project-info {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    min-height: 58%;
    padding: clamp(1rem, 2.1vw, 1.45rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.75rem;
    color: #fff;
}

.overlay-card .showcase-category,
.overlay-card .case-meta {
    width: fit-content;
    max-width: 100%;
    padding: 0.38rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 0.78rem;
    line-height: 1;
}

.overlay-card-meta {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 0.1rem;
}

.overlay-card-meta .showcase-category,
.overlay-card-meta .case-meta {
    margin: 0;
}

#work .landing-card,
#case-studies .landing-card,
.content-index .landing-card {
    border-radius: var(--radius-md);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}

#work .landing-card .showcase-content,
#case-studies .landing-card .showcase-content,
.content-index .landing-card .showcase-content {
    min-height: 62%;
    gap: 0.72rem;
}

#work .landing-card .overlay-card-action,
#case-studies .landing-card .overlay-card-action,
.content-index .landing-card .overlay-card-action {
    margin-top: 0.25rem;
}

#case-studies .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
}

.overlay-card .showcase-content h3,
.overlay-card .project-info h3,
.overlay-card.case-card h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    line-height: 1.18;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.overlay-card .showcase-content p,
.overlay-card .project-info p,
.overlay-card.case-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.93rem;
    line-height: 1.5;
    flex: initial;
}

.landing-blog-card .project-info {
    min-height: auto;
    gap: 0.62rem;
    padding: clamp(1rem, 1.6vw, 1.25rem);
}

#blogs .projects-grid,
.blog-index .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
}

.landing-blog-card .landing-blog-media {
    aspect-ratio: 4 / 3;
    width: 100%;
    min-height: 280px;
}

.landing-blog-card .project-info h3 {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: clamp(1.1rem, 1.65vw, 1.35rem);
    line-height: 1.15;
}

.landing-blog-card .project-info p {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.42;
}

.landing-blog-card .p-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.62rem;
    margin-top: 0;
}

.landing-blog-card .p-author {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.landing-blog-card .overlay-card-action.btn {
    padding: 0.78rem 1rem;
    border-radius: 14px;
}

.landing-blog-card::after {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.14) 24%, rgba(0, 0, 0, 0.7) 66%, rgba(0, 0, 0, 0.95) 100%),
        radial-gradient(110% 72% at 50% 100%, rgba(255, 255, 255, 0.12), transparent 60%);
}

.overlay-card-action.btn {
    width: 100%;
    margin-top: 0.15rem;
    justify-content: center;
    border-color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.94);
    color: #151515;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.overlay-card-action.btn:hover {
    border-color: #fff;
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

.project-img-container {
    background: #1a1a1a;
    background-size: cover;
    background-position: center;
    aspect-ratio: 16 / 9;
    min-height: 140px;
    position: relative;
}

.project-detail,
.blog-detail,
.case-study-detail {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.project-hero,
.showcase-img,
.project-img-container {
    border: none;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.project-hero img,
.showcase-img img,
.project-img-container img,
.blog-content-section img,
.case-study-content-section img {
    border-radius: 0;
    display: block;
    width: 100%;
    height: auto;
}

.thumb-1-1 {
    aspect-ratio: 1 / 1;
    width: 100%;
    display: block;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
}

.thumb-16-9 {
    aspect-ratio: 16 / 9;
    width: 100%;
    display: block;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
}

.project-info {
    padding: var(--space-2);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.p-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    margin-top: auto;
}

.p-author {
    font-size: 0.86rem;
    color: #adadad;
}

.p-link {
    color: var(--brand-color);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 0.36rem 0.6rem;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease;
}

.p-link:hover {
    background: rgba(255, 59, 48, 0.08);
    color: #fff;
    border-color: rgba(255, 59, 48, 0.12);
}

.cta {
    padding-top: var(--space-5);
}

.cta-lead {
    margin: 0 auto 1.8rem auto;
    max-width: 500px;
}


.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.footer {
    border-top: 1px solid var(--border-color);
    background: #050505;
    padding: var(--space-6) var(--container-pad) var(--space-4);
}

.footer-top,
.footer-links,
.footer-bottom {
    width: min(100%, 1240px);
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-intro {
    display: grid;
    gap: 0.9rem;
    max-width: 560px;
}

.footer-intro p {
    margin: 0;
    font-size: 0.92rem;
    color: #bdbdbd;
    max-width: 56ch;
}

.footer-top-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.footer-links {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.6fr;
    gap: var(--space-4);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--border-color);
}

.footer-col {
    min-width: 0;
}

.footer-col h4 {
    color: #f4f4f4;
    font-size: 0.98rem;
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: #b7b7b7;
    font-size: 0.87rem;
    margin-bottom: 0.65rem;
}

.footer-col a:hover {
    color: #f7f7f7;
}

.contact-info a {
    line-height: 1.65;
    width: fit-content;
}

.contact-info b {
    color: #f2f2f2;
    font-weight: 600;
}

.footer-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.45;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    width: 100%;
    background: transparent;
    color: #f5f5f5;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--btn-rad);
    padding: 0.75rem 0.95rem;
    font-size: 0.92rem;
    font-family: inherit;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: #f5f5f5;
}

.spam-warning {
    color: #ffffff !important;
    font-size: 0.82rem !important;
    font-weight: 600;
}

.footer-bottom {
    margin-top: var(--space-3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: #9f9f9f;
    font-size: 0.82rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: #9f9f9f;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: #b8b8b8;
}

.footer-bottom-links a:hover {
    color: #f3f3f3;
}

@media (max-width: 1180px) {
    :root {
        --container-max: 1080px;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.8rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-links {
        gap: 0.2rem;
    }

    .nav-links a {
        min-height: 32px;
        padding: 0.4rem 0.62rem;
        font-size: 0.76rem;
    }

    .nav-extra-link {
        font-size: 0.8rem;
    }

    .nav-right .btn {
        padding: 0.7rem 0.85rem;
        font-size: 0.9rem;
    }

    .global-live-clock {
        min-width: 168px;
    }

    .hero-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-title {
        max-width: 24ch;
        font-size: clamp(1.35rem, 4.7vw, 2rem);
    }

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

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

    .case-card {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 12px;
        padding: var(--space-3);
        transition: var(--transition);
    }

    .case-card.overlay-card {
        display: block;
        gap: 0;
        padding: 0;
    }

    .top-banner-inner {
        justify-content: center;
    }

    .top-banner-clock {
        display: none;
    }

    section {
        padding: var(--space-5) var(--container-pad);
    }

    h2 {
        font-size: clamp(1.35rem, 4.7vw, 2rem);
        line-height: 1.22;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 0.65rem);
        left: var(--container-pad);
        right: var(--container-pad);
        width: auto;
        display: grid;
        gap: 0.8rem;
        background: rgba(9, 9, 9, 0.96);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 0.78rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px) scale(0.98);
        transform-origin: top center;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
        transition:
            opacity 0.24s ease,
            transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-open .nav-menu {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.12rem;
        border-radius: 10px;
        border: 0;
        background: transparent;
        box-shadow: none;
        width: 100%;
        padding: 0;
    }

    .nav-links a {
        width: 100%;
        justify-content: flex-start;
        min-height: 38px;
        padding: 0.66rem 0.76rem;
        font-size: 0.88rem;
        color: rgba(255, 255, 255, 0.72);
    }

    .nav-links::before,
    .nav-links::after,
    .nav-indicator-glow {
        display: none;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible,
    .nav-links a.is-active {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.065);
    }

    /* Mobile sidebar: modern animated slide-in panel */
    @media (max-width: 900px) {
        .nav-menu {
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            width: min(92vw, 420px);
            max-width: 92vw;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 1.25rem;
            padding: 2.25rem 1.75rem;
            background: linear-gradient(180deg, rgba(10,10,10,0.98), rgba(6,6,6,0.99));
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-left: 1px solid rgba(255,255,255,0.04);
            box-shadow: -36px 32px 88px rgba(0,0,0,0.6);
            border-radius: 12px 0 0 12px;
            transform: translateX(100%);
            transition: transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 280ms ease;
            z-index: 10001;
            opacity: 1;
            pointer-events: auto;
        }

        /* overlay and background control via body class */
        body.mobile-menu-open::before {
            content: '';
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.56);
            backdrop-filter: blur(1px);
            z-index: 10000;
            transition: opacity 240ms ease;
        }

        body.mobile-menu-open {
            overflow: hidden;
        }

        body.mobile-menu-open .nav-menu {
            transform: translateX(0);
        }

        .nav-links {
            align-items: stretch;
            gap: 0.5rem;
        }

        .nav-links a {
            display: block;
            padding: 18px 16px;
            font-size: 1.05rem;
            font-weight: 600;
            color: rgba(255,255,255,0.92);
            letter-spacing: 0.02em;
            border-radius: 10px;
            transition: transform 260ms cubic-bezier(0.2,0.9,0.2,1), background 220ms ease, color 180ms ease;
            transform-origin: left center;
        }

        .nav-links a:hover,
        .nav-links a:focus,
        .nav-links a.is-active {
            transform: translateX(6px);
            background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
            color: #fff;
        }

        .nav-right {
            display: flex;
            gap: 0.5rem;
            margin-top: 1rem;
            justify-content: center;
        }

        .nav-hire-btn, .nav-signin-btn {
            width: 100%;
            max-width: none;
            justify-content: center;
            padding: 12px 16px;
            border-radius: 10px;
            font-weight: 600;
        }

        /* subtle staggered entrance for links */
        .nav-links a { opacity: 0; transform: translateX(18px); }
        .nav-open .nav-links a { animation: slideInItem 420ms cubic-bezier(0.2,0.9,0.2,1) forwards; }
        .nav-open .nav-links a:nth-child(1){ animation-delay: 70ms; }
        .nav-open .nav-links a:nth-child(2){ animation-delay: 120ms; }
        .nav-open .nav-links a:nth-child(3){ animation-delay: 170ms; }
        .nav-open .nav-links a:nth-child(4){ animation-delay: 220ms; }
        .nav-open .nav-links a:nth-child(5){ animation-delay: 270ms; }
        .nav-open .nav-links a:nth-child(6){ animation-delay: 320ms; }
        .nav-open .nav-links a:nth-child(7){ animation-delay: 370ms; }

        @keyframes slideInItem {
            to { opacity: 1; transform: translateX(0); }
        }
    }

    .nav-right {
        display: grid;
        gap: 0.55rem;
        justify-content: stretch;
        width: 100%;
    }

    .nav-right .btn,
    .nav-right .nav-extra-link,
    .nav-signin-btn,
    .nav-hire-btn,
    .profile-menu,
    .nav-user-badge {
        width: 100%;
    }

    .nav-user-badge {
        max-width: none;
        justify-content: flex-start;
    }

    .profile-popover {
        position: static;
        width: 100%;
        margin-top: 0.65rem;
        transform-origin: top center;
    }

    .profile-form-grid,
    .profile-actions {
        grid-template-columns: 1fr;
    }

    .global-live-clock {
        width: 100%;
        justify-items: center;
        order: -1;
    }

    .hero {
        padding-top: var(--space-3);
    }

    .hero-title {
        font-size: clamp(1.35rem, 4.7vw, 2rem);
        line-height: 1.12;
    }

    .hero-subtitle {
        font-size: 0.94rem;
    }

    .hero-cards,
    .showcase-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }

    .hero-testimonials {
        gap: 0.85rem;
        mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
    }

    .hero-testimonials .hero-card {
        width: min(82vw, 340px);
    }

    #case-studies .case-grid {
        grid-template-columns: 1fr;
    }

    #blogs .projects-grid,
    .blog-index .projects-grid {
        grid-template-columns: 1fr;
    }

    .landing-blog-card .landing-blog-media {
        min-height: 260px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-copy .section-desc {
        margin: 0 auto var(--space-3) auto;
    }

    .about-points {
        justify-items: center;
    }

    .about-socials {
        justify-content: center;
    }

    .about-point {
        justify-content: center;
    }

    .design-quote-line {
        font-size: clamp(1.9rem, 5.6vw, 4.1rem);
    }

    .project-card {
        min-height: auto;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-top-actions {
        width: 100%;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 620px) {
    .top-banner {
        padding: 0.5rem 0.8rem;
    }

    .top-banner-text {
        font-size: 0.72rem;
        text-align: center;
    }

    .music-toggle {
        left: 0.7rem;
        bottom: 0.7rem;
        width: 42px;
        height: 42px;
    }

    .music-toggle-tooltip {
        left: 0;
        right: auto;
        bottom: calc(100% + 0.6rem);
        width: min(250px, calc(100vw - 2rem));
        transform-origin: left bottom;
    }

    .music-toggle-tooltip--home {
        width: min(232px, calc(100vw - 2rem));
        left: 0;
        top: auto;
        bottom: calc(100% + 0.55rem);
        transform: translateY(8px) scale(0.98);
        transform-origin: left bottom;
    }

    .music-toggle-tooltip::after {
        left: 16px;
        bottom: -6px;
        transform: rotate(225deg);
    }

    .logo {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: clamp(1.2rem, 6.2vw, 1.65rem);
        max-width: 22ch;
        letter-spacing: -0.02em;
    }

    .badge,
    .section-badge {
        font-size: 0.76rem;
        padding: 0.4rem 0.7rem;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
        width: min(100%, 320px);
    }

    .hero-actions .btn,
    .hero-actions .text-link,
    .cta-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .metrics-grid,
    .projects-grid,
    .footer-links {
        grid-template-columns: 1fr;
    }

    .performance-metrics {
        padding-top: 2.35rem;
        padding-bottom: 2.65rem;
    }

    .metrics-head {
        margin-bottom: 1.45rem;
    }

    .metrics-head h2 {
        max-width: 15ch;
        font-size: clamp(1.45rem, 7vw, 2rem);
        line-height: 1.12;
    }

    .metric {
        min-height: 170px;
    }

    .metric h3 {
        font-size: clamp(1.9rem, 10vw, 2.35rem);
    }

    .metric p {
        max-width: 22ch;
        font-size: 0.88rem;
    }

    .hero-testimonials {
        width: calc(100vw - (var(--container-pad) * 2));
        margin-top: 1.2rem;
    }

    .hero-marquee-track {
        gap: 0.75rem;
        animation-duration: 30s;
    }

    .hero-marquee-row--reverse .hero-marquee-track {
        animation-duration: 34s;
    }

    .hero-testimonials .hero-card {
        width: min(84vw, 310px);
        min-height: 230px;
        padding: 1rem;
    }

    .hero-card-top {
        align-items: flex-start;
    }

    .hero-client img {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .footer-top-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-top-actions .btn {
        width: 100%;
    }

    .work-header {
        align-items: flex-start;
    }

    .p-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-card-3d {
        min-height: 440px;
    }

    .design-quote-reveal {
        padding-top: clamp(2.6rem, 12vw, 4rem);
        padding-bottom: clamp(2.6rem, 12vw, 4rem);
    }

    .design-quote-line {
        font-size: clamp(1.7rem, 10vw, 2.45rem);
        opacity: 1;
        transform: none;
    }

    .design-quote-author {
        font-size: 0.72rem;
        letter-spacing: 0.18em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-marquee-track {
        animation: none;
        transform: none;
    }
}

/* Floating Scroll Indicator */
.custom-scrollbar-indicator {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 180px;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: auto;
}

.custom-scrollbar-indicator.visible {
    opacity: 1;
}

.scroll-track {
    width: 1.5px;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    position: relative;
}

.scroll-thumb {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 14px;
    background: #f5f5f5;
    border-radius: 100px;
    cursor: grab;
    transition: background 0.2s ease, transform 0.2s ease, height 0.2s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.scroll-thumb:hover {
    background: #fff;
    height: 18px;
}

.scroll-thumb:active {
    cursor: grabbing;
    background: var(--brand-color);
    box-shadow: 0 0 15px var(--brand-glow);
}

@media (max-width: 900px) {
    .custom-scrollbar-indicator {
        display: none;
    }
}

/* Custom Premium Cursor */
html,
body {
    cursor: none !important;
}

a,
button,
.btn,
.nav-icon-link,
.scroll-thumb,
input,
textarea,
select,
label {
    cursor: none !important;
}

body.no-custom-cursor,
body.no-custom-cursor * {
    cursor: auto !important;
}

body.no-custom-cursor .cursor-dot,
body.no-custom-cursor .cursor-outline {
    display: none !important;
}

.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate3d(-50%, -50%, 0);
    border-radius: 50%;
    z-index: 10020;
    transition: opacity 0.2s ease;
    will-change: transform;
}

.cursor-dot {
    width: 7px;
    height: 7px;
    background-color: #fff;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.55);
    mix-blend-mode: normal;
}

.cursor-outline {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Hover States */
body.cursor-active .cursor-dot {
    transform: translate3d(-50%, -50%, 0) scale(0.72);
}

body.cursor-active .cursor-outline {
    background: rgba(255, 59, 48, 0.13);
    border-color: var(--brand-color);
    box-shadow: 0 0 26px rgba(255, 59, 48, 0.22);
}

.page-transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    pointer-events: none;
    background: #fff;
    opacity: 0;
    clip-path: circle(0px at 50% 50%);
    transform: translate3d(0, 0, 0);
    will-change: clip-path, opacity, transform;
}

html.page-transition-pending body {
    visibility: hidden;
}

html.page-transition-pending body .page-transition-overlay {
    visibility: visible;
    opacity: 1;
    clip-path: inset(0% 0% 0% 0%);
    transform: translate3d(0, 0, 0);
}

@media (max-width: 900px) {

    .cursor-dot,
    .cursor-outline,
    .page-transition-overlay {
        display: none !important;
    }

    .hero-audio-viz {
        inset: 0;
        width: 100%;
        height: 100%;
    }

    html,
    body,
    a,
    button {
        cursor: auto !important;
    }
}



/* Music Player */
.music-player {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    padding: 0.18rem 0.26rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.96), rgba(10, 10, 10, 0.92));
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    max-height: 44px;
}

.music-player-disc {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 59, 48, 0.22);
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.22), rgba(255, 59, 48, 0.08));
    color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    padding: 0;
}

.music-player-disc-core {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.18));
    overflow: hidden;
    transform-origin: center;
}

.music-player-disc-core img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
}

.music-player.is-playing .music-player-disc-core {
    animation: music-disc-spin 2.8s linear infinite;
}

@keyframes music-disc-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.music-player-control {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.music-player-control:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
}

.music-player-control--toggle {
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.28), rgba(255, 59, 48, 0.12));
    border-color: rgba(255, 59, 48, 0.4);
    color: #ff3b30;
}

.music-player-control--toggle:hover {
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.38), rgba(255, 59, 48, 0.18));
    border-color: rgba(255, 59, 48, 0.6);
}

.music-player-control--symmetry {
    font-size: 0.82rem;
}

.music-player-control--symmetry.is-active {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.music-player-input {
    display: none;
}



/* Official WebNeko layer overrides */
[id^="layerNeko"] {
    position: fixed !important;
    z-index: 1498 !important;
    pointer-events: auto !important;
}

[id^="layerNeko"] img {
    image-rendering: auto;
}

[id^="layerNeko"] a {
    display: block;
}

/* Player / small control bar (tight, crisp, bottom-rounded) */
.player-controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(6, 6, 6, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.06);
    /* landing border */
    padding: 6px 10px;
    /* overall card slightly rounded; bottom radius slightly larger for a pleasing pill */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: clamp(12px, 3vw, 22px);
    border-bottom-right-radius: clamp(12px, 3vw, 22px);
    box-shadow: 0 8px 20px rgba(3, 3, 3, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    gap: 8px;
    min-height: 40px;
}

/* circular buttons inside the control */
.player-controls .btn {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    background: rgba(12, 12, 12, 0.6);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 14px;
}

/* primary action (play) */
.player-controls .btn.primary {
    background: linear-gradient(180deg, #ff3b30, #cc3126);
    box-shadow: 0 6px 14px rgba(255, 59, 48, 0.18);
    border-color: rgba(255, 255, 255, 0.06);
}

/* label pill (small rounded label) */
.player-controls .label {
    font-size: 12px;
    color: #dcdcdc;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* make the whole component compact on small screens */
@media (max-width:480px) {
    .player-controls {
        padding: 6px 8px;
        gap: 6px;
        min-height: 34px;
    }

    .player-controls .btn {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .player-controls .label {
        padding: 4px 8px;
        font-size: 11px;
    }
}

/* Wrapper to keep bottom controls in sync and aligned */
.player-controls-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    padding: 6px;
}

/* Ensure the existing corner container doesn't stack odd elements */
.corner-bottom-left {
    display: flex;
    align-items: center;
    gap: 8px;
    left: 1rem;
    bottom: 1rem;
}

/* Slight tweak: make pet switcher visually aligned with music controls */
.pet-switcher {
    margin-left: 4px;
}

/* Circular, fully-rounded player UI (even padding on all sides) */
:root {
    --player-btn-size: 36px;
    --player-btn-gap: 6px;
    --player-container-pad: 6px;
}

.player-controls-wrap {
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.72), rgba(6, 6, 6, 0.64));
    border-radius: 9999px;
    padding: var(--player-container-pad);
    display: inline-flex;
    align-items: center;
    gap: var(--player-btn-gap);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.music-player {
    display: inline-flex;
    align-items: center;
    gap: var(--player-btn-gap);
    padding: 0;
    background: transparent;
    border: none;
}

.music-player-disc,
.music-player-control,
.pet-switcher {
    width: var(--player-btn-size);
    height: var(--player-btn-size);
    display: grid;
    place-items: center;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    flex: 0 0 auto;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.music-player-disc {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.18), rgba(255, 59, 48, 0.06));
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.music-player-disc-core {
    width: calc(var(--player-btn-size) - 16px);
    height: calc(var(--player-btn-size) - 16px);
    border-radius: 50%;
    overflow: hidden;
}

.music-player-control {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.9);
}

.music-player-control:hover,
.music-player-disc:hover,
.pet-switcher:hover {
    background: rgba(255, 255, 255, 0.08);
}

.music-player-control--toggle {
    background: linear-gradient(180deg, #ff3b30, #cc3126);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.06);
}

.pet-switcher {
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.92), rgba(10, 10, 10, 0.9));
}

@media (max-width:520px) {
    :root {
        --player-btn-size: 32px;
        --player-container-pad: 5px;
        --player-btn-gap: 6px;
    }

    .player-controls-wrap {
        padding: var(--player-container-pad);
        gap: var(--player-btn-gap);
    }
}

/* ── Cookie Consent Toast ── */
.cookie-toast {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: linear-gradient(165deg, rgba(14, 14, 14, 0.95), rgba(7, 7, 7, 0.98));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 5%;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-toast-content {
    flex: 1;
    max-width: 900px;
}

.cookie-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    margin: 0 0 0.4rem 0;
    text-transform: uppercase;
}

.cookie-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.cookie-reject-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(255, 255, 255, 0.2);
}

.cookie-reject-btn:hover {
    color: var(--text-primary);
    text-decoration-color: var(--text-primary);
}

.cookie-accept-btn {
    padding: 0.7rem 1.6rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .cookie-toast {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: space-between;
    }
}
