/* Clash Display */
@font-face {
    font-family: 'Clash Display';
    src: url('fonts/ClashDisplay-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Clash Display';
    src: url('fonts/ClashDisplay-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Clash Display';
    src: url('fonts/ClashDisplay-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}

/* Satoshi */
@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #FDF6F0;
    --surface: #FFFFFF;
    --text-primary: #2D2A26;
    --text-secondary: #7D7670;
    --accent-1: #F4B942;
    --accent-2: #2A9D8F;
    --accent-3: #E8B4B8;
    --accent-4: #A8D5E5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Satoshi', system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Decorative Shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: var(--accent-3);
    top: 100px;
    left: -40px;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: var(--accent-2);
    top: 200px;
    right: 100px;
}

.shape-3 {
    width: 60px;
    height: 60px;
    background: var(--accent-1);
    bottom: 150px;
    left: 15%;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: var(--accent-4);
    bottom: 100px;
    right: -30px;
}

.shape-5 {
    width: 40px;
    height: 40px;
    background: var(--accent-2);
    top: 50%;
    left: 5%;
}

.shape-half {
    border-radius: 0 0 100px 100px;
}

.shape-6 {
    width: 60px;
    height: 60px;
    background: var(--accent-1);
    top: 450px;
    left: 8%;
    border-radius: 50%;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 246, 240, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Clash Display', sans-serif;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent-2);
    outline-offset: 3px;
    border-radius: 4px;
}

.hero-cta:focus-visible,
.project-link:focus-visible {
    outline-offset: 4px;
}

.footer-social a:focus-visible {
    outline-color: var(--accent-1);
}

.nav-social {
    display: flex;
    gap: 16px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid rgba(0,0,0,0.1);
}

.nav-social a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-social a:hover {
    color: var(--text-primary);
}

.nav-social svg {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 48px 120px;
    min-height: 90vh;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-content .greeting {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.hero-content h1 {
    font-family: 'Clash Display', sans-serif;
    font-size: 52px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.hero-cta {
    display: inline-block;
    background: var(--accent-1);
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 16px;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 185, 66, 0.4);
}

.hero-image {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
}

.photo-frame {
    position: relative;
}

.photo-frame::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--accent-3);
    border-radius: 16px;
    z-index: -1;
}

.hero-image .photo-placeholder {
    width: 380px;
    height: 460px;
    background: url('jonas-portrait.jpg') center/cover;
    border-radius: 16px;
    border: 4px solid var(--text-primary);
}

.name-badge {
    position: absolute;
    top: 20px;
    right: -40px;
    background: var(--accent-4);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 100px;
    font-family: 'Clash Display', sans-serif;
    font-weight: 600;
    font-size: 16px;
    border: 3px solid var(--text-primary);
}

.floating-icon {
    position: absolute;
    width: 56px;
    height: 56px;
    background: var(--surface);
    border: 3px solid var(--text-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.icon-1 { top: -20px; left: 40px; }
.icon-2 { bottom: 100px; left: -30px; }
.icon-3 { bottom: 40px; right: -20px; }

/* Projects Section */
.projects {
    position: relative;
    padding: 100px 48px 120px;
}

.projects-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.section-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    text-align: center;
}

.section-title {
    font-family: 'Clash Display', sans-serif;
    font-size: 44px;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 24px;
}

.section-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 64px;
    line-height: 1.7;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.project-card {
    background: var(--surface);
    border: 3px solid var(--text-primary);
    border-radius: 20px;
    padding: 48px;
    transition: transform 0.2s;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.project-card:hover {
    transform: translateY(-4px);
}

.project-card.reverse {
    direction: rtl;
}

.project-card.reverse > * {
    direction: ltr;
}

.project-badge {
    display: inline-block;
    background: var(--accent-1);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.project-card:nth-child(2) .project-badge {
    background: var(--accent-2);
    color: white;
}

.project-content h3 {
    font-family: 'Clash Display', sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.project-content .project-tagline {
    font-size: 18px;
    color: var(--accent-2);
    font-weight: 500;
    margin-bottom: 16px;
}

.project-card:nth-child(2) .project-tagline {
    color: var(--accent-1);
}

.project-content p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1.7;
}

.project-features {
    margin: 24px 0;
}

.project-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.project-feature-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.project-card:nth-child(2) .project-feature-icon {
    background: var(--accent-2);
}

.project-feature-text {
    font-size: 15px;
    color: var(--text-secondary);
}

.project-stats {
    display: flex;
    gap: 32px;
    margin: 24px 0;
    padding: 24px 0;
    border-top: 2px solid var(--bg);
    border-bottom: 2px solid var(--bg);
}

.project-stat {
    text-align: left;
}

.project-stat-value {
    font-family: 'Clash Display', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
}

.project-stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--text-primary);
    color: white;
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s, gap 0.2s;
    margin-top: 8px;
}

.project-link:hover {
    transform: translateY(-2px);
    gap: 12px;
}

.project-visual {
    background: var(--bg);
    border-radius: 16px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-visual-icon {
    font-size: 120px;
    opacity: 0.9;
}

.project-visual-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--surface);
    padding: 10px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    border: 2px solid var(--text-primary);
}

.project-visual-image {
    background: transparent;
    padding: 0;
    height: auto;
}

.project-visual-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* About Section */
.about {
    padding: 100px 48px 120px;
    position: relative;
    background: var(--surface);
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.about-header {
    text-align: center;
    margin-bottom: 64px;
}

.about h2 {
    font-family: 'Clash Display', sans-serif;
    font-size: 44px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.about-intro {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.about-card {
    background: var(--bg);
    border-radius: 20px;
    padding: 40px;
}

.about-card-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.about-card:nth-child(2) .about-card-icon {
    background: var(--accent-2);
}

.about-card:nth-child(3) .about-card-icon {
    background: var(--accent-3);
}

.about-card:nth-child(4) .about-card-icon {
    background: var(--accent-4);
}

.about-card h3 {
    font-family: 'Clash Display', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.about-facts-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: var(--text-primary);
    border-radius: 20px;
    padding: 40px;
}

.about-fact {
    text-align: center;
    color: white;
}

.about-fact-value {
    font-family: 'Clash Display', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-fact-label {
    font-size: 14px;
    opacity: 0.7;
}

/* Philosophy Section */
.philosophy {
    padding: 100px 48px;
    position: relative;
}

.philosophy-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.philosophy h2 {
    font-family: 'Clash Display', sans-serif;
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 32px;
}

.philosophy-text {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.philosophy-quote {
    background: var(--surface);
    border: 3px solid var(--text-primary);
    border-radius: 20px;
    padding: 48px;
    margin-top: 48px;
}

.philosophy-quote blockquote {
    font-family: 'Clash Display', sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.philosophy-quote cite {
    font-size: 14px;
    color: var(--text-secondary);
    font-style: normal;
}

/* Private Section */
.private {
    padding: 100px 48px;
    background: var(--surface);
}

.private-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.private-header {
    text-align: center;
    margin-bottom: 48px;
}

.private h2 {
    font-family: 'Clash Display', sans-serif;
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 24px;
}

.private-intro {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.private-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.private-block {
    background: var(--bg);
    border-radius: 20px;
    padding: 32px;
}

.private-block h3 {
    font-family: 'Clash Display', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.private-block h3 .emoji {
    font-size: 24px;
}

.private-block p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.private-block p:last-child {
    margin-bottom: 0;
}

.private-interests {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.interest-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    padding: 12px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
}

.interest-tag:hover {
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.interest-tag .emoji {
    font-size: 18px;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 64px 48px;
    position: relative;
    z-index: 10;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-family: 'Clash Display', sans-serif;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-tagline {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.2s;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.2);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .project-card {
        grid-template-columns: 1fr;
    }

    .project-card.reverse {
        direction: ltr;
    }

    .project-visual {
        height: 240px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-facts-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .private-content {
        grid-template-columns: 1fr;
    }

    .name-badge {
        right: 0;
    }

    .footer-top {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-inner {
        padding: 16px 24px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 24px 80px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-image .photo-placeholder {
        width: 280px;
        height: 340px;
    }

    .projects,
    .about,
    .philosophy,
    .private {
        padding: 60px 24px;
    }

    .section-title,
    .about h2,
    .philosophy h2,
    .private h2 {
        font-size: 32px;
    }

    .project-card {
        padding: 24px;
    }

    .project-stats {
        flex-direction: column;
        gap: 16px;
    }

    .about-facts-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
