:root {
    --bg: #121212;
    --surface: #1a1a1a;
    --surface-soft: #161616;
    --border: #262626;
    --text: #f2f2f2;
    --muted: #a7a7a7;
    --muted-strong: #c4c4c4;
    --accent: #4f8cff;

    --font-main: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;
    --space-10: 128px;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}


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

html,
body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background:
        radial-gradient(circle at 15% 18%, rgba(79, 140, 255, 0.05), transparent 20%),
        radial-gradient(circle at 86% 12%, rgba(79, 140, 255, 0.05), transparent 24%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* Base */
section {
    padding: 144px 0;
}

section.hero {
    padding: 118px 0 108px;
}

section + section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--text);
}

h2 {
    font-size: 34px;
    letter-spacing: -0.02em;
}

p {
    color: #9a9a9a;
    line-height: 1.7;
}

a {
    color: var(--muted);
    text-decoration: none;
    transition: 0.2s ease;
}

a:hover {
    color: var(--accent);
}

.container {
    width: min(92%, 1140px);
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border: 1px solid transparent;
    box-shadow: 0 12px 28px rgba(79, 140, 255, 0.18);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(79, 140, 255, 0.25);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.01);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 12, 12, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
}

.header-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
}

.logo {
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: var(--text);
}

.logo:hover {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.main-menu a {
    position: relative;
    font-size: 13px;
    letter-spacing: 0.03em;
    color: var(--muted);
}

.main-menu a:hover {
    color: var(--accent);
}

.main-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: 0.2s ease;
}

.main-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 30px;
    height: 22px;
    position: relative;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
}

.menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

/* Micro UI System */
.hero-badge,
.contact-status,
.project-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid rgba(79, 140, 255, 0.15);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(79, 140, 255, 0.11), rgba(79, 140, 255, 0.06));
    color: #79a7ff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 8px 24px rgba(79, 140, 255, 0.06);
}

.contact-status {
    margin-bottom: 20px;
}

.project-label {
    margin-bottom: 18px;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    left: -120px;
    bottom: 10%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 140, 255, 0.16), transparent 70%);
    filter: blur(12px);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: 70px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 140, 255, 0.10), transparent 72%);
    filter: blur(18px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    max-width: 720px;
}

.hero h1 {
    max-width: 10.5ch;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 700;
}

.hero h1 span {
    color: var(--accent);
    white-space: nowrap;
}

.hero-text {
    max-width: 540px;
    margin-bottom: 10px;
    font-size: 19px;
    line-height: 1.82;
    color: #b8b8b8;
}

.hero-action {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-proof {
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(234, 234, 234, 0.52);
}

/* Section Header */
.section-header {
    max-width: 720px;
    margin-bottom: 46px;
}

.section-header h2 {
    margin-bottom: 14px;
    font-size: clamp(36px, 4.2vw, 46px);
    letter-spacing: -0.04em;
}

.section-header p {
    max-width: 54ch;
    font-size: 17px;
    line-height: 1.72;
    color: #8d8d8d;
    opacity: 1;
}

/* Work */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.work-item {
    position: relative;
    display: block;
    overflow: hidden;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.015));
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.work-item:hover {
    transform: translateY(-10px);
    border-color: rgba(79, 140, 255, 0.14);
    box-shadow:
        0 26px 60px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(79, 140, 255, 0.04);
}

.work-image {
    height: 236px;
    background: #1d1d1f;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.05);
}

.work-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
}

.work-content h3 {
    margin-bottom: 8px;
    font-size: 21px;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.work-content p {
    font-size: 14.5px;
    line-height: 1.7;
    color: #b1b1b1;
    opacity: 1;
}

.work-stack {
    display: inline-block;
    margin-top: 8px;
    color: rgba(79, 140, 255, 0.96);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.work-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: linear-gradient(to top, rgba(7, 7, 7, 0.78), rgba(7, 7, 7, 0.16));
    transition: 0.25s ease;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-overlay span {
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 26px rgba(79, 140, 255, 0.22);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 84px;
    align-items: start;
}

.about-text h2 {
    margin-bottom: 22px;
    font-size: clamp(36px, 4vw, 46px);
    letter-spacing: -0.04em;
}

.about-text p {
    max-width: 56ch;
    margin-bottom: 16px;
    font-size: 17px;
    line-height: 1.86;
    color: #b7b7b7;
    opacity: 1;
}

.about-text .highlight {
    color: var(--accent);
}

.about-skills {
    padding: 30px 30px 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.015));
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.about-skills h3 {
    margin-bottom: 20px;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.about-skills ul {
    list-style: none;
}

.about-skills li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: #b9b9b9;
    opacity: 1;
}

.about-skills li:last-child {
    border-bottom: none;
}

/* Contact */
.contact {
    position: relative;
}

.contact-inner {
    max-width: 640px;
    padding: 12px 0 8px;
}

.contact-inner h2 {
    max-width: 10.5ch;
    margin-bottom: 18px;
    font-size: clamp(40px, 4.8vw, 56px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.contact-inner p {
    max-width: 50ch;
    margin-bottom: 32px;
    font-size: 17px;
    line-height: 1.82;
    color: #b6b6b6;
    opacity: 1;
}

.contact-inner .btn {
    min-width: 180px;
    min-height: 52px;
}

.contact-inner .email {
    display: block;
    margin-top: 24px;
    font-size: 14px;
    color: rgba(234, 234, 234, 0.62);
    opacity: 1;
}

/* Default Project Page */
.project-page {
    padding: 128px 0 110px;
    overflow: hidden;
}

.project-article {
    max-width: 860px;
}

.project-header {
    max-width: 760px;
    margin-bottom: 36px;
}

.project-title {
    margin-bottom: 18px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.project-intro {
    max-width: 680px;
    font-size: 18px;
    line-height: 1.8;
    color: #b7b7b7;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}

.project-meta-item {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.015));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.project-meta-item:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 140, 255, 0.35);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.project-meta-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

.project-meta-value {
    display: block;
    font-size: 15px;
    line-height: 1.45;
    color: var(--text);
}

.page-content {
    max-width: 760px;
}

.page-content h2 {
    margin-top: 44px;
    margin-bottom: 14px;
    font-size: 28px;
    letter-spacing: -0.03em;
}

.page-content p,
.page-content li {
    font-size: 16px;
}

.page-content p {
    margin-bottom: 16px;
    line-height: 1.82;
    color: #b5b5b5;
}

.page-content ul {
    margin: 0 0 24px 20px;
    color: var(--muted);
}

.page-content li {
    margin-bottom: 10px;
}

.page-content strong {
    color: var(--text);
    font-weight: 600;
}

.project-back {
    margin-top: 44px;
}

.project-back .btn {
    min-width: 160px;
}

.project-back .btn:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.project-image {
    min-width: 0;
}

.project-image + .project-image {
    margin-top: 28px;
}

/* Premium Project Layout */
.project-hero {
    position: relative;
    padding: 84px 0 120px;
    overflow: hidden;
}

.project-hero::before {
    content: "";
    position: absolute;
    top: 40px;
    right: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 140, 255, 0.08), transparent 72%);
    filter: blur(18px);
    pointer-events: none;
}

.project-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
    align-items: start;
    min-width: 0;
}

.project-hero-content {
    max-width: 640px;
}

.project-hero-content h1 {
    margin-bottom: 18px;
    font-size: clamp(46px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 700;
}

.project-tagline {
    max-width: 560px;
    font-size: 20px;
    line-height: 1.75;
    color: #b7b7b7;
}

.project-hero .hero-badge {
    margin-bottom: 18px;
}

.project-hero-image {
    min-width: 0;
    margin-top: 10px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.project-hero-image img {
    width: 100%;
    border-radius: 14px;
    transition: transform 0.6s ease;
}

.project-hero-image:hover img {
    transform: scale(1.04);
}

/* Project Top Meta */
.project-overview-meta,
.project-hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.project-overview-meta {
    min-width: 0;
}

.project-overview-meta ul {
    list-style: none;
    padding: 0;
}

.project-overview-meta li,
.project-hero-meta-item {
    list-style: none;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.014));
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
    margin-bottom: 14px;
}

.project-overview-meta span,
.project-hero-meta-label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(79, 140, 255, 0.82);
}

.project-overview-meta strong,
.project-hero-meta-value {
    display: block;
    font-size: 15px;
    line-height: 1.45;
    color: var(--text);
}

/* Overview */
.project-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 88px;
    align-items: start;
    min-width: 0;
}

.project-overview-grid > * {
    min-width: 0;
}

.project-overview-text {
    min-width: 0;
}

.project-overview-text h2,
.project-split h2,
.project-results h2,
.project-cta h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 3vw, 40px);
    letter-spacing: -0.035em;
}

.project-overview-text p,
.project-split p,
.project-results-text,
.project-cta p {
    font-size: 18px;
    line-height: 1.82;
    color: #b6b6b6;
}

.project-overview h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* Image Gallery Blocks */
.project-image {
    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.012));
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.015);
}

.project-image img {
    width: 100%;
}

/* Split Section */
.project-split {
    padding: 110px 0;
}

.project-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    min-width: 0;
}

.project-split p {
    max-width: 58ch;
}

/* Results */
.project-results {
    padding: 120px 0;
    background:
        radial-gradient(circle at 50% 20%, rgba(79, 140, 255, 0.05), transparent 45%),
        #111;
    text-align: center;
    overflow: hidden;
}

.project-results h2 {
    margin-bottom: 18px;
}

.project-results-text {
    max-width: 760px;
    margin: 0 auto;
}

/* CTA */
.project-cta {
    padding: 130px 0 120px;
    text-align: center;
    overflow: hidden;
}

.project-cta h2 {
    max-width: 14ch;
    margin: 0 auto 18px;
    font-size: 36px;
    line-height: 1.04;
}

.project-cta p {
    max-width: 58ch;
    margin: 0 auto 34px;
}

.project-cta .btn {
    min-width: 180px;
    min-height: 52px;
    border-radius: 12px;
}

/* Footer */
.footer {
    padding: 38px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 32px;
}

.footer-copy {
    color: rgba(234, 234, 234, 0.54);
    font-size: 13px;
    line-height: 1.4;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-links a {
    color: rgba(234, 234, 234, 0.58);
    font-size: 16px;
    opacity: 0.62;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
    transform: translateY(-1px);
    opacity: 1;
    color: var(--text);
}

/* Responsive */
@media (max-width: 992px) {
    section {
        padding: 126px 0;
    }

    section.hero {
        padding: 102px 0 92px;
    }

    .hero-content {
        max-width: 600px;
    }

    .hero h1 {
        font-size: clamp(40px, 6vw, 66px);
    }

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

    .work-image {
        height: 220px;
    }

    .about-grid {
        gap: 58px;
    }

    .project-hero {
        padding: 72px 0 104px;
    }

    .project-hero-grid,
    .project-overview-grid,
    .project-split-grid {
        gap: 56px;
    }

    .project-hero-content h1 {
        font-size: clamp(40px, 6vw, 62px);
    }

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

@media (max-width: 768px) {
    section {
        padding: 98px 0;
    }

    section.hero {
        padding: 88px 0 80px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 72px);
        padding: 32px 20px;
        background: var(--surface);
        border-left: 1px solid var(--border);
        flex-direction: column;
        gap: 20px;
        transition: 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
        color: var(--text);
    }

    .hero::before,
    .hero::after {
        opacity: 0.55;
    }

    .hero h1 {
        max-width: 11.5ch;
        margin-bottom: 20px;
        font-size: 50px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-text,
    .project-intro {
        font-size: 16px;
    }

    .hero-action {
        gap: 12px;
        width: auto;
    }

    .hero-action .btn {
        min-width: 140px;
        width: auto;
    }

    .work-grid,
    .about-grid,
    .project-hero-grid,
    .project-split-grid {
        grid-template-columns: 1fr;
    }

    .work-image {
        height: 224px;
    }

    .work-content {
        padding: 20px;
    }

    .about-grid {
        gap: 60px;
    }

    .about-text h2,
    .contact-inner h2 {
        font-size: 32px;
    }

    .project-page {
        padding: 96px 0 90px;
    }

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

    .project-hero {
        padding: 60px 0 88px;
    }

    .project-hero-grid,
    .project-overview-grid,
    .project-split-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .project-hero-content h1 {
        font-size: 42px;
    }

    .project-tagline,
    .project-overview-text p,
    .project-split p,
    .project-results-text,
    .project-cta p {
        font-size: 16px;
    }

    .project-overview-meta,
    .project-hero-meta {
        grid-template-columns: 1fr;
    }

    .project-cta h2 {
        max-width: none;
    }

    .contact-inner {
        padding-top: 12px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 560px) {
    .hero h1 {
        max-width: 11ch;
        font-size: 38px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-action {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-action .btn {
        width: 100%;
    }

    .hero-proof {
        font-size: 11px;
    }

    .project-overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-overview-text {
        order: 1;
    }

    .project-overview-meta {
        order: 2;
    }

    .work-image {
        height: 210px;
    }

    .contact-inner h2 {
        max-width: none;
    }
}

@media (max-width: 480px) {
    section {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-text {
        font-size: 15px;
    }

    .project-meta {
        grid-template-columns: 1fr;
    }

    .project-title {
        font-size: 34px;
    }
}
.logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}

.logo span {
    color: var(--accent);
}

.logo:hover {
    color: var(--text);
}
.section-kicker {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.benefit-card {
    min-height: 250px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.014));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 24px;
    border-radius: 14px;
    background: rgba(79, 140, 255, 0.12);
    color: var(--accent);
    font-size: 18px;
}

.benefit-card h3 {
    margin-bottom: 12px;
    font-size: 21px;
    letter-spacing: -0.025em;
}

.benefit-card p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--muted-strong);
}
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

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

/* alekweb polish layer */
:root {
    --bg: #0d0f12;
    --surface: #15171b;
    --surface-soft: #101216;
    --surface-raised: #1a1d23;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #f5f7fb;
    --muted: #9da5b4;
    --muted-strong: #c4cad5;
    --accent: #4f8cff;
    --accent-strong: #7ba8ff;
    --accent-soft: rgba(79, 140, 255, 0.12);
    --shadow-soft: 0 18px 55px rgba(0, 0, 0, 0.28);
    --shadow-card: 0 20px 70px rgba(0, 0, 0, 0.34);
    --section-y: 128px;
    --section-y-lg: 152px;
    --container: 1160px;
}

body {
    background:
        linear-gradient(115deg, rgba(79, 140, 255, 0.07), transparent 34%),
        linear-gradient(180deg, #0b0d10 0%, var(--bg) 38%, #0b0d10 100%);
    color: var(--text);
    font-size: 16px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.58), transparent 72%);
}

section {
    position: relative;
    padding: var(--section-y) 0;
}

section.hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 112px 0 120px;
}

section + section {
    border-top: 1px solid rgba(255, 255, 255, 0.055);
}

h1,
h2,
h3 {
    letter-spacing: 0;
}

p {
    color: var(--muted);
}

.container {
    width: min(100% - 48px, var(--container));
    max-width: var(--container);
    padding: 0;
}

.btn {
    min-height: 52px;
    padding: 15px 22px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0;
}

.btn-primary {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 38%),
        var(--accent);
    box-shadow:
        0 18px 42px rgba(79, 140, 255, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 24px 54px rgba(79, 140, 255, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.035);
    border-color: var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
    background: rgba(79, 140, 255, 0.08);
    border-color: rgba(79, 140, 255, 0.34);
    color: var(--text);
}

.header {
    background: rgba(9, 11, 14, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0;
}

.logo span {
    color: var(--accent-strong);
}

.nav-links {
    gap: 30px;
}

.main-menu a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    color: rgba(245, 247, 251, 0.68);
}

.hero::before,
.hero::after {
    display: none;
}

.hero {
    isolation: isolate;
}

.hero .container::after {
    display: none;
}

.hero-content {
    gap: 24px;
    max-width: 760px;
}

.hero-badge,
.contact-status,
.project-label {
    padding: 9px 14px;
    border-color: rgba(79, 140, 255, 0.24);
    background: rgba(79, 140, 255, 0.10);
    color: #9bbdff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.hero h1 {
    max-width: 12.4ch;
    font-size: clamp(48px, 6.45vw, 80px);
    line-height: 0.96;
    letter-spacing: 0;
}

.hero h1 span {
    color: #6fa0ff;
    text-shadow: 0 18px 46px rgba(79, 140, 255, 0.24);
}

.hero-text {
    max-width: 660px;
    margin-bottom: 4px;
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.75;
    color: var(--muted-strong);
}

.hero-action {
    gap: 16px;
    margin-top: 6px;
}

.hero-proof {
    max-width: 720px;
    color: rgba(245, 247, 251, 0.58);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(330px, 0.76fr);
    gap: 72px;
    align-items: center;
}

.hero-preview {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(79, 140, 255, 0.16), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
        rgba(14, 17, 22, 0.86);
    box-shadow:
        0 34px 90px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: perspective(900px) rotateY(-7deg) rotateX(3deg);
}

.hero-preview::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(circle at 24% 22%, rgba(79, 140, 255, 0.24), transparent 34%),
        radial-gradient(circle at 82% 10%, rgba(255, 255, 255, 0.08), transparent 28%);
    pointer-events: none;
}

.hero-preview-top,
.hero-preview-body {
    position: relative;
    z-index: 1;
}

.hero-preview-top {
    display: flex;
    gap: 8px;
    padding: 10px 10px 18px;
}

.hero-preview-top span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(245, 247, 251, 0.28);
}

.hero-preview-body {
    min-height: 352px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(6, 8, 12, 0.24), rgba(6, 8, 12, 0.76)),
        rgba(255, 255, 255, 0.025);
}

.preview-kicker {
    margin-bottom: 16px;
    color: #98b9ff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-preview h2 {
    max-width: 13ch;
    margin-bottom: 30px;
    font-size: clamp(31px, 3.2vw, 46px);
    line-height: 1.02;
    color: var(--text);
}

.preview-bars {
    display: grid;
    gap: 12px;
    margin-bottom: 30px;
}

.preview-bars span {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(79, 140, 255, 0.8), rgba(255, 255, 255, 0.12));
}

.preview-bars span:nth-child(1) {
    width: 84%;
}

.preview-bars span:nth-child(2) {
    width: 64%;
}

.preview-bars span:nth-child(3) {
    width: 74%;
}

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

.preview-stats div {
    min-width: 0;
    padding: 16px 14px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.preview-stats strong,
.preview-stats span {
    display: block;
}

.preview-stats strong {
    margin-bottom: 5px;
    color: var(--text);
    font-size: 17px;
    line-height: 1;
}

.preview-stats span {
    color: rgba(245, 247, 251, 0.56);
    font-size: 11px;
    line-height: 1.35;
}

.section-header {
    max-width: 760px;
    margin-bottom: 56px;
}

.section-header-wide {
    max-width: 880px;
}

.section-kicker {
    margin-bottom: 14px;
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-header h2,
.about-text h2 {
    margin-bottom: 18px;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1;
    letter-spacing: 0;
}

.section-header p,
.about-text p,
.contact-inner p {
    font-size: 17px;
    line-height: 1.78;
    color: var(--muted-strong);
}

.benefits {
    padding-top: 118px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 55%),
        rgba(255, 255, 255, 0.004);
}

.benefits-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.benefit-card,
.work-item,
.about-skills,
.project-meta-item,
.project-overview-meta li,
.project-hero-meta-item,
.project-image,
.project-hero-image {
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        var(--surface-soft);
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.benefit-card {
    position: relative;
    overflow: hidden;
    min-height: 292px;
    padding: 30px;
    border-radius: 24px;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.benefit-card::after {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(79, 140, 255, 0.72), transparent);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(79, 140, 255, 0.24);
    box-shadow: var(--shadow-card);
}

.benefit-card:hover::after {
    opacity: 1;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 28px;
    border: 1px solid rgba(79, 140, 255, 0.2);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
        rgba(79, 140, 255, 0.12);
    color: #8db4ff;
}

.benefit-card h3 {
    margin-bottom: 14px;
    font-size: 22px;
    line-height: 1.12;
    letter-spacing: 0;
}

.benefit-card p {
    color: var(--muted-strong);
    font-size: 15.5px;
    line-height: 1.72;
}

.work-grid {
    gap: 28px;
}

.work-item {
    border-radius: 24px;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.work-item:hover {
    transform: translateY(-12px);
    border-color: rgba(79, 140, 255, 0.24);
    box-shadow: var(--shadow-card);
}

.work-image {
    height: 248px;
    background: #0b0d10;
}

.work-content {
    gap: 10px;
    padding: 26px;
}

.work-outcome {
    width: fit-content;
    margin-bottom: 2px;
    padding: 8px 10px;
    border: 1px solid rgba(79, 140, 255, 0.22);
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.10);
    color: #9bbdff;
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.work-content h3 {
    margin-bottom: 2px;
    font-size: 23px;
    letter-spacing: 0;
}

.work-content p {
    color: var(--muted-strong);
    font-size: 15px;
}

.work-overlay {
    background: linear-gradient(to top, rgba(8, 10, 13, 0.86), rgba(8, 10, 13, 0.08));
}

.work-overlay span {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent),
        var(--accent);
}

.about-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.82fr);
    gap: 92px;
}

.about-text p {
    max-width: 62ch;
}

.about-skills {
    position: sticky;
    top: 104px;
    padding: 32px;
    border-radius: 24px;
}

.about-skills h3 {
    font-size: 24px;
}

.about-skills li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    color: var(--muted-strong);
}

.about-skills li::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 16px rgba(79, 140, 255, 0.6);
}

.about {
    padding-bottom: 108px;
}

.contact {
    padding: 118px 0 132px;
    background:
        linear-gradient(135deg, rgba(79, 140, 255, 0.08), transparent 44%),
        rgba(255, 255, 255, 0.004);
}

.contact-inner {
    max-width: 860px;
}

.contact-inner h2 {
    max-width: 16ch;
    margin-bottom: 24px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 0.98;
    letter-spacing: 0;
}

.contact-inner .email {
    margin-top: 28px;
    color: rgba(245, 247, 251, 0.7);
}

.footer {
    padding: 42px 0;
    background: rgba(5, 6, 8, 0.54);
}

.project-hero {
    padding: 104px 0 128px;
}

.project-hero::before {
    display: none;
}

.project-hero-grid {
    gap: 86px;
}

.project-hero-content h1 {
    font-size: clamp(46px, 6vw, 82px);
    line-height: 0.98;
    letter-spacing: 0;
}

.project-tagline,
.project-overview-text p,
.project-split p,
.project-results-text,
.project-cta p {
    color: var(--muted-strong);
}

.project-overview-grid {
    gap: 92px;
}

.project-split {
    padding: 128px 0;
}

.project-results,
.project-cta {
    padding: 140px 0;
}

@media (max-width: 1080px) {
    :root {
        --section-y: 108px;
        --section-y-lg: 124px;
    }

    .hero .container {
        gap: 46px;
        grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
    }

    .hero-preview {
        min-height: 380px;
    }

    .hero-preview-body {
        min-height: 304px;
        padding: 28px;
    }

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

@media (max-width: 768px) {
    :root {
        --section-y: 88px;
    }

    .container {
        width: min(100% - 32px, var(--container));
    }

    section.hero {
        min-height: auto;
        padding: 88px 0 96px;
    }

    .hero .container::after {
        display: none;
    }

    .hero .container {
        display: block;
    }

    .hero-preview {
        display: none;
    }

    .nav-links {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
            #0d0f12;
        border-left: 1px solid var(--border);
        box-shadow: -24px 0 60px rgba(0, 0, 0, 0.32);
    }

    .hero h1 {
        max-width: 11.8ch;
        margin-bottom: 0;
        font-size: clamp(43px, 12vw, 58px);
    }

    .hero-text,
    .section-header p,
    .about-text p,
    .contact-inner p {
        font-size: 16px;
    }

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

    .section-header h2,
    .about-text h2 {
        font-size: clamp(32px, 9vw, 42px);
    }

    .work-grid,
    .about-grid,
    .project-hero-grid,
    .project-overview-grid,
    .project-split-grid {
        grid-template-columns: 1fr;
    }

    .about-skills {
        position: static;
    }

    .contact {
        padding: 104px 0;
    }

    .contact-inner h2 {
        max-width: none;
        font-size: clamp(36px, 10vw, 48px);
    }
}

@media (max-width: 560px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        min-height: auto;
        padding: 26px;
    }

    .hero-action {
        gap: 12px;
    }

    .work-image {
        height: 220px;
    }

    .work-content {
        padding: 24px;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    section {
        padding: 76px 0;
    }

    section.hero {
        padding: 72px 0 84px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .btn {
        width: 100%;
    }
}

/* Case study page polish */
.project-single .project-hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 112px 0 132px;
    background:
        linear-gradient(135deg, rgba(79, 140, 255, 0.075), transparent 42%),
        rgba(255, 255, 255, 0.004);
}

.project-single .project-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
    gap: 76px;
    align-items: center;
}

.project-single .project-hero-content {
    max-width: 680px;
}

.project-single .project-hero-content h1 {
    max-width: 10.5ch;
    margin-bottom: 24px;
    font-size: clamp(48px, 6.2vw, 84px);
    line-height: 0.96;
    letter-spacing: 0;
}

.project-single .project-tagline {
    max-width: 600px;
    margin-bottom: 28px;
    color: var(--muted-strong);
    font-size: 19px;
    line-height: 1.7;
}

.project-single .project-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 18px;
}

.project-single .project-meta span {
    display: block;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        var(--surface-soft);
    color: var(--text);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.project-single .project-meta small {
    display: block;
    margin-bottom: 7px;
    color: var(--accent-strong);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-outcomes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.project-outcomes span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(79, 140, 255, 0.22);
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.10);
    color: #9bbdff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.project-single .project-hero-image {
    margin-top: 0;
    padding: 18px;
    border-radius: 30px;
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
}

.project-single .project-hero-image img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.project-overview {
    padding: 118px 0;
}

.project-overview-text .section-kicker,
.project-case-panel .section-kicker,
.project-results .section-kicker {
    margin-bottom: 14px;
}

.project-case-panel {
    min-height: 330px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
        var(--surface-soft);
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.project-case-panel h2 {
    max-width: 12ch;
    margin-bottom: 20px;
    line-height: 1.04;
}

.project-showcase {
    padding: 0 0 118px;
}

.project-showcase .container {
    max-width: 980px;
}

.project-single .project-image {
    border-radius: 28px;
}

.project-results {
    background:
        radial-gradient(circle at 50% 0%, rgba(79, 140, 255, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.006)),
        #0d0f12;
}

.project-results h2 {
    max-width: 16ch;
    margin: 0 auto 22px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.02;
}

.project-result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 760px;
    margin: 42px auto 0;
}

.project-result-card {
    padding: 24px 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.038);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.project-result-card strong,
.project-result-card span {
    display: block;
}

.project-result-card strong {
    margin-bottom: 7px;
    color: var(--text);
    font-size: 22px;
    line-height: 1;
}

.project-result-card span {
    color: var(--muted-strong);
    font-size: 13px;
}

.project-cta {
    background:
        linear-gradient(135deg, rgba(79, 140, 255, 0.08), transparent 42%),
        rgba(255, 255, 255, 0.004);
}

.project-cta h2 {
    max-width: 15ch;
    font-size: clamp(36px, 4vw, 56px);
}

@media (max-width: 992px) {
    .project-single .project-hero-grid {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .project-single .project-hero-image {
        transform: none;
    }
}

@media (max-width: 768px) {
    .project-single .project-hero {
        min-height: auto;
        padding: 78px 0 88px;
    }

    .project-single .project-hero-content h1 {
        max-width: none;
        font-size: clamp(40px, 11vw, 54px);
    }

    .project-single .project-meta,
    .project-result-grid {
        grid-template-columns: 1fr;
    }

    .project-overview,
    .project-split,
    .project-results,
    .project-cta {
        padding: 88px 0;
    }

    .project-showcase {
        padding-bottom: 88px;
    }

    .project-case-panel {
        min-height: auto;
        padding: 28px;
    }
}
.logo.logo-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    color: var(--text) !important;
}

.logo.logo-brand img {
    display: block !important;
    width: 28px !important;
    height: auto !important;
    max-height: 24px !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.logo.logo-brand > span {
    display: inline-flex !important;
    align-items: baseline !important;
    font-family: var(--font-display) !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    color: var(--text) !important;
}

.logo.logo-brand > span span {
    color: var(--accent-strong) !important;
}

.logo.logo-brand:hover {
    color: var(--text) !important;
}

.logo.logo-brand:hover img {
    transform: translateY(-1px);
    filter: drop-shadow(0 0 10px rgba(79, 140, 255, 0.18));
}

@media (max-width: 560px) {
    .logo.logo-brand {
        gap: 8px !important;
    }

    .logo.logo-brand img {
        width: 24px !important;
        max-height: 22px !important;
    }

    .logo.logo-brand > span {
        font-size: 22px !important;
    }
}

