
:root {
        --midnight: #1A1F2E;
    --slate: #2C3344;
    --stone: #4A5568;
    --drift: #8B95A5;
    --birch: #C4CBDA;

        --amber: #D4956A;
    --amber-light: #E8B08A;
    --amber-deep: #B87A52;
    --copper: #C2784E;

        --parchment: #F7F3EE;
    --cream: #FFFCF7;
    --warm-gray: #EDE8E1;
    --ice: #F0EDE8;

        --forest: #3D7A5F;
    --forest-light: #4E9975;
    --sea: #4A7C9B;
    --berry: #9B5A6A;

        --shadow-sm: 0 1px 3px rgba(26, 31, 46, 0.06);
    --shadow-md: 0 4px 16px rgba(26, 31, 46, 0.08);
    --shadow-lg: 0 12px 32px rgba(26, 31, 46, 0.12);
    --shadow-card: 0 1px 2px rgba(26, 31, 46, 0.04), 0 8px 24px rgba(26, 31, 46, 0.08);

    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

        --container-max: 1200px;
    --section-y: 100px;
}

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

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--slate);
}
::-webkit-scrollbar-thumb {
    background: var(--amber);
    border-radius: 10px;
    border: 2px solid var(--slate);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--amber-deep);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--midnight);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

p {
    font-size: clamp(1rem, 2vw, 1.15rem);
}

::selection {
    background-color: var(--midnight);
    color: var(--cream);
}
::-moz-selection {
    background-color: var(--midnight);
    color: var(--cream);
}

.serif {
    font-family: 'Source Serif 4', Georgia, serif;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.15;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.text-amber {
    color: var(--amber);
}

.text-midnight {
    color: var(--midnight);
}

.text-cream {
    color: var(--cream);
}

.text-birch {
    color: var(--birch);
}

.text-drift {
    color: var(--drift);
}

.bg-parchment {
    background-color: var(--parchment);
}

.bg-cream {
    background-color: var(--cream);
}

.bg-midnight {
    background-color: var(--midnight);
}

.bg-amber {
    background-color: var(--amber);
}

.bg-slate {
    background-color: var(--slate);
}

.bg-stone {
    background-color: var(--stone);
}

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

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

section[id] {
    scroll-margin-top: 100px;
}

.bg-orb {
    position: absolute;
    top: -10vw;
    right: -10vw;
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 149, 106, 0.15) 0%, rgba(212, 149, 106, 0) 70%);
    z-index: -1;
    filter: blur(40px);
    animation: float 10s ease-in-out infinite alternate;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-30px, 30px) scale(1.05);
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 100;
    transition: all 0.3s ease;
    background: rgba(255, 252, 247, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    height: 70px;
    border-bottom: 1px solid var(--warm-gray);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--stone);
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--amber-deep);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--amber);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--midnight);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--cream);
    z-index: 99;
    padding: 100px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.open {
    right: 0;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--midnight);
    transition: color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--amber-deep);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.btn-primary {
    background: var(--midnight);
    color: var(--cream);
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(26, 31, 46, 0.25);
}

.btn-amber {
    background: var(--amber);
    color: var(--midnight);
}

.btn-amber:hover {
    box-shadow: 0 8px 24px rgba(212, 149, 106, 0.35);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--midnight);
    color: var(--midnight);
}

.btn-outline:hover {
    background: var(--midnight);
    color: var(--cream);
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.88rem;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--amber);
    transition: gap 0.2s ease;
}

.btn-ghost:hover {
    gap: 10px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.tagline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--parchment);
    border: 1px solid var(--warm-gray);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--forest);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--forest);
    border-radius: 50%;
    opacity: 0.4;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--stone);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-card:hover {
    transform: translate(-50%, -52%) scale(1.02);
    box-shadow: 0 20px 40px rgba(26, 31, 46, 0.15);
    background: rgba(255, 255, 255, 0.85);
}

.main-stats-card {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--stone);
    font-weight: 500;
}

.decorative-blob {
    position: absolute;
    border-radius: var(--radius-xl);
    background: var(--amber-light);
    z-index: 1;
    transform: rotate(-10deg);
}

.blob-1 {
    width: 100%;
    height: 300px;
    background: var(--slate);
    top: 20%;
    left: -5%;
    transform: rotate(-15deg);
    opacity: 0;
    animation: blobFadeIn 1.5s ease 0.5s forwards;
}

.blob-2 {
    width: 80%;
    height: 250px;
    background: var(--amber);
    bottom: 10%;
    right: -10%;
    transform: rotate(5deg);
    opacity: 0;
    animation: blobFadeIn 1.5s ease 0.8s forwards;
}

@keyframes blobFadeIn {
    to {
        opacity: 1;
    }
}

.section-tag {
    display: block;
    font-size: 0.85rem;
    color: var(--amber);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--stone);
    max-width: 600px;
    margin-bottom: 64px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--cream);
    border: 1px solid var(--warm-gray);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: rgba(212, 149, 106, 0.2);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(212, 149, 106, 0.1);
    color: var(--amber);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--stone);
    font-size: 0.95rem;
}

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

.project-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    cursor: pointer;
}

.project-card:hover .project-image-wrapper {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.project-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid var(--warm-gray);
    aspect-ratio: 4/3;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.project-card:hover .project-placeholder {
    transform: scale(1.05);
}

.project-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.75rem;
    color: var(--stone);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.project-title {
    font-size: 1.75rem;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: var(--amber);
}

.project-desc {
    color: var(--stone);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.dark-section {
    color: var(--cream);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content {
    max-width: 500px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: var(--radius-lg);
    margin-top: 48px;
}

.contact-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.contact-desc {
    color: var(--birch);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.mt-4 {
    margin-top: 1rem;
}

.profile-frame {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--slate);
    filter: grayscale(80%) contrast(1.1);
    transition: filter 0.5s ease;
}

.profile-frame:hover .profile-image {
    filter: grayscale(0%) contrast(1);
}

.profile-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--slate);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.floating-badge {
    position: absolute;
    bottom: 32px;
    left: 32px;
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: var(--forest-light);
    border-radius: 50%;
}

.footer {
    padding: 48px 0;
    border-top: 1px solid var(--warm-gray);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .logo-text {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    font-size: 0.85rem;
    color: var(--stone);
    font-weight: 500;
}

.footer-link:hover {
    color: var(--midnight);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--drift);
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {

    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 400px;
        order: -1;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
}

@media (max-width: 768px) {
    body {
        line-height: 1.8;
    }

    .nav-links {
        display: none;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .expertise-grid,
    .work-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}