/* ===== Reset & Variables ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #faf8f5;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;
    --text: #2d2a24;
    --text-muted: #8a857f;
    --accent: #e07a5f;
    --accent-hover: #c96a50;
    --accent-light: rgba(224, 122, 95, 0.1);
    --border: #e8e4e0;
    --font-sans: 'Space Grotesk', sans-serif;
    --font-display: 'Playfair Display', serif;
    --radius: 16px;
    --radius-lg: 24px;
    --max-width: 1200px;
    --shadow: 0 2px 16px rgba(45, 42, 36, 0.06);
    --shadow-hover: 0 8px 32px rgba(45, 42, 36, 0.1);
    --warm-1: #fef3c7;
    --warm-2: #ede9fe;
    --warm-3: #dbeafe;
    --warm-4: #fce7f3;
    --warm-5: #ecfdf5;
    --warm-6: #fef2f2;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text);
}

.logo-accent {
    font-family: var(--font-display);
    font-weight: 700;
    font-style: italic;
    color: var(--accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-menu a {
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 100px;
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    color: var(--text);
    background: var(--accent-light);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.open span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

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

.hero-greeting {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 8px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 8px;
    color: var(--text);
}

.hero-role {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 16px rgba(224, 122, 95, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(224, 122, 95, 0.4);
}

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

.btn-ghost:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    transform: translateY(-2px);
}

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

/* Hero Shapes */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-shapes {
    position: relative;
    width: 300px;
    height: 300px;
}

.shape-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--warm-1);
    position: absolute;
    top: 20px;
    right: 20px;
    animation: float-y 6s ease-in-out infinite;
}

.shape-diamond {
    width: 120px;
    height: 120px;
    background: var(--warm-2);
    position: absolute;
    bottom: 40px;
    left: 10px;
    transform: rotate(45deg);
    border-radius: 16px;
    animation: float-y 8s ease-in-out infinite reverse;
}

.shape-wave {
    width: 100px;
    height: 100px;
    background: var(--warm-3);
    position: absolute;
    top: 100px;
    left: 60px;
    border-radius: 50% 50% 0 50%;
    animation: float-y 7s ease-in-out infinite;
}

.mascot {
    position: absolute;
    font-size: 4rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent);
    animation: spin-slow 12s linear infinite;
}

@keyframes float-y {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-24px) rotate(4deg); }
}

@keyframes spin-slow {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== Section Shared ===== */
section { padding: 100px 0; }

.section-head {
    text-align: center;
    margin-bottom: 56px;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* ===== Work / Projects ===== */
.work {
    background: var(--bg);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.work-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.work-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.work-emoji {
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.05));
}

.work-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.work-tags span {
    padding: 4px 12px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text);
}

.work-info {
    padding: 24px;
}

.work-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-sans);
}

.work-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.work-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    font-family: var(--font-sans);
}

.work-link:hover {
    text-decoration: underline;
}

/* ===== About ===== */
.about {
    background: var(--bg);
}

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

.about-portrait {
    text-align: center;
}

.portrait-frame {
    width: 280px;
    height: 280px;
    border-radius: 44% 56% 58% 42% / 42% 48% 52% 58%;
    background: linear-gradient(135deg, var(--warm-1), var(--warm-4));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% { border-radius: 44% 56% 58% 42% / 42% 48% 52% 58%; }
    50% { border-radius: 56% 44% 42% 58% / 52% 58% 42% 48%; }
    100% { border-radius: 44% 56% 58% 42% / 42% 48% 52% 58%; }
}

.portrait-emoji {
    font-size: 5rem;
}

.portrait-caption {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 1.02rem;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== Process ===== */
.process {
    background: var(--bg);
}

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

.process-step {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 12px;
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== Clients ===== */
.clients {
    background: var(--bg);
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 56px;
}

.client-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 3px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
    color: var(--text);
}

/* ===== Contact ===== */
.contact {
    background: var(--bg);
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow);
    max-width: 960px;
    margin: 0 auto;
}

.contact-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.contact-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.contact-links {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.contact-link {
    color: var(--accent);
    font-weight: 600;
}

.contact-sep {
    margin: 0 12px;
    color: var(--border);
}

.contact-socials {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-socials a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.2s ease;
}

.contact-socials a:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
}

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

.footer-inner p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-scroll a {
    color: var(--accent);
    font-weight: 500;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        gap: 4px;
    }
    .nav-menu.open { display: flex; }
    .menu-toggle { display: flex; }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-desc { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-shapes { width: 200px; height: 200px; }
    .shape-circle { width: 120px; height: 120px; }
    .shape-diamond { width: 80px; height: 80px; }
    .shape-wave { width: 70px; height: 70px; }
    .mascot { font-size: 3rem; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-stats {
        justify-content: center;
    }
    .portrait-frame {
        width: 200px;
        height: 200px;
    }
    .portrait-emoji { font-size: 3.5rem; }

    .process-grid { grid-template-columns: 1fr; }
    .contact-wrap { grid-template-columns: 1fr; padding: 32px 24px; }
    .work-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    section { padding: 60px 0; }
    .hero { padding: 100px 0 40px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
}