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

:root {
    --color-bg: #f9f7f4;
    --color-text: #1a1412;
    --color-text-light: #5a524a;
    --color-accent: #8b6e4e;
    --color-accent-hover: #a58766;
    --color-accent-secondary: #4a5f6e;
    --color-border: #ddd5cc;
    --color-surface: #f2ede7;
    --color-surface-elevated: #fdfbf8;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    --font-display: 'Impact', 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
    --max-width: 1100px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --color-bg: #1a1512;
    --color-text: #e8e3dd;
    --color-text-light: #a39a8e;
    --color-accent: #c4a57b;
    --color-accent-hover: #d4b992;
    --color-accent-secondary: #6a8099;
    --color-border: #332e28;
    --color-surface: #221e1a;
    --color-surface-elevated: #2a2520;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.7;
    background: var(--color-bg);
    transition: var(--transition);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="paperFilter"><feTurbulence type="fractalNoise" baseFrequency="1.5" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23paperFilter)"/></svg>');
    opacity: 0.015;
    pointer-events: none;
    z-index: 9999;
}

/* Film grain effect */
.film-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.06;
    z-index: 1;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 35%); }
    90% { transform: translate(-10%, 10%); }
}

/* Geometric shapes - German Expressionist */
.geometric-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.18;
    filter: contrast(1.2);
}

[data-theme="dark"] .geometric-shape {
    opacity: 0.15;
}

/* Jagged triangle - Cabinet of Dr. Caligari inspired */
.shape-1 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, var(--color-accent) 0%, transparent 100%);
    clip-path: polygon(0 0, 100% 0, 95% 100%);
    top: 3%;
    right: 2%;
    animation: float-angular 20s ease-in-out infinite;
    transform: skew(-5deg, 2deg);
}

/* Sharp diamond */
.shape-2 {
    width: 320px;
    height: 320px;
    background: var(--color-accent);
    clip-path: polygon(50% 0%, 100% 45%, 55% 100%, 0% 50%);
    bottom: 12%;
    left: 5%;
    animation: float-angular 15s ease-in-out infinite reverse;
    transform: skew(3deg, -4deg);
}

/* Distorted triangle */
.shape-3 {
    width: 380px;
    height: 380px;
    background: linear-gradient(45deg, var(--color-accent) 0%, transparent 100%);
    clip-path: polygon(0 5%, 5% 100%, 100% 95%);
    top: 8%;
    left: 2%;
    animation: float-angular 18s ease-in-out infinite;
    transform: skew(-3deg, 5deg);
}

/* Angular octagon */
.shape-4 {
    width: 280px;
    height: 280px;
    background: var(--color-accent);
    clip-path: polygon(28% 0%, 72% 0%, 100% 28%, 100% 72%, 72% 100%, 28% 100%, 0% 72%, 0% 28%);
    bottom: 5%;
    right: 4%;
    animation: float-angular 22s ease-in-out infinite reverse;
    transform: skew(4deg, -3deg);
}

@keyframes float-angular {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) skew(0deg, 0deg);
    }
    25% { 
        transform: translate(18px, -18px) rotate(10deg) skew(-3deg, 3deg);
    }
    50% { 
        transform: translate(-12px, 12px) rotate(-7deg) skew(4deg, -4deg);
    }
    75% { 
        transform: translate(12px, 18px) rotate(7deg) skew(-2deg, 5deg);
    }
}

/* Haunted double text effect */
.haunted-title,
.haunted-text {
    position: relative;
}

.haunted-title::before,
.haunted-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--color-accent);
    opacity: 0.5;
    z-index: -1;
    animation: haunt 4s ease-in-out infinite;
}

/* Smaller elements get slightly less dramatic effect */
.haunted-text::before {
    opacity: 0.4;
}

@keyframes haunt {
    0%, 100% { 
        transform: translate(0, 0);
        opacity: 0.5;
    }
    25% { 
        transform: translate(-5px, -5px);
        opacity: 0.3;
    }
    50% { 
        transform: translate(4px, 4px);
        opacity: 0.6;
    }
    75% { 
        transform: translate(-4px, 5px);
        opacity: 0.4;
    }
}

/* Hero title gets its own more dramatic version */
.hero-title[data-text]::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--color-accent);
    opacity: 0.3;
    z-index: -1;
    animation: haunt-hero 6s ease-in-out infinite;
}

@keyframes haunt-hero {
    0%, 100% { 
        transform: translate(0, 0);
        opacity: 0.3;
    }
    33% { 
        transform: translate(-6px, -6px);
        opacity: 0.2;
    }
    66% { 
        transform: translate(7px, 7px);
        opacity: 0.4;
    }
}

[data-theme="dark"] {
    --color-bg: #0a0a0a;
    --color-text: #e5e5e5;
    --color-text-light: #a3a3a3;
    --color-accent: #3b82f6;
    --color-accent-hover: #60a5fa;
    --color-border: #262626;
    --color-surface: #171717;
    --color-surface-elevated: #1f1f1f;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.7;
    background: var(--color-bg);
    transition: var(--transition);
}

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

/* Navigation */
.navbar {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background: rgba(10, 10, 10, 0.8);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
}

.theme-toggle {
    background: var(--color-surface);
    border: 2px solid var(--color-accent);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
    color: var(--color-accent);
    font-weight: bold;
}

.theme-toggle:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    transform: scale(1.1) rotate(15deg);
}
}

/* Hero section */
.hero {
    padding: 8rem 0 6rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Expressionist diagonal shadows */
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 150%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        transparent 45%,
        rgba(0, 0, 0, 0.03) 45%,
        rgba(0, 0, 0, 0.06) 50%,
        rgba(0, 0, 0, 0.03) 55%,
        transparent 55%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

[data-theme="dark"] .hero::after {
    background: linear-gradient(
        135deg,
        transparent 0%,
        transparent 45%,
        rgba(255, 255, 255, 0.02) 45%,
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0.02) 55%,
        transparent 55%,
        transparent 100%
    );
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    flex: 1;
}

.hero-image {
    position: relative;
}

.image-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid var(--color-accent);
    transform: rotate(-2deg);
    z-index: 1;
    pointer-events: none;
}

.image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        transparent 60%,
        rgba(0, 0, 0, 0.2) 100%
    );
    pointer-events: none;
    z-index: 2;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: sepia(0.35) contrast(1.15) brightness(0.95) saturate(0.9);
    transform: rotate(1deg);
    transition: var(--transition);
}

.image-frame:hover img {
    filter: sepia(0.5) contrast(1.2) brightness(0.9) saturate(0.85);
}

/* Grain overlay on hover */
.image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        transparent 60%,
        rgba(0, 0, 0, 0.2) 100%
    );
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.image-frame:hover::after {
    background: 
        linear-gradient(
            135deg,
            transparent 0%,
            transparent 60%,
            rgba(0, 0, 0, 0.25) 100%
        ),
        /* Heavy grain texture */
        url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="grainFilter"><feTurbulence type="fractalNoise" baseFrequency="4.5" numOctaves="5" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23grainFilter)"/></svg>'),
        /* Vertical scratches */
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 3px,
            transparent 3px,
            transparent 15px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 5px,
            rgba(0, 0, 0, 0.15) 5px,
            rgba(0, 0, 0, 0.15) 6px,
            transparent 6px,
            transparent 35px
        );
    opacity: 0.35;
    animation: grain-move 0.3s steps(10) infinite, scratch-flicker 0.1s steps(2) infinite;
}

/* Animated film scratches on border */
.image-frame:hover::before {
    animation: scratch-move 3s linear infinite;
    opacity: 0.9;
}

@keyframes grain-move {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -8%); }
    20% { transform: translate(-12%, 3%); }
    30% { transform: translate(6%, -12%); }
    40% { transform: translate(-4%, 10%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(8%, -4%); }
    70% { transform: translate(-3%, 7%); }
    80% { transform: translate(4%, -9%); }
    90% { transform: translate(-8%, 6%); }
}

@keyframes scratch-flicker {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.5; }
}

@keyframes scratch-move {
    0% { transform: translateY(-100%) rotate(-2deg); }
    100% { transform: translateY(100%) rotate(-2deg); }
}

[data-theme="dark"] .image-frame img {
    filter: sepia(0.4) contrast(1.2) brightness(0.85) saturate(0.85);
}

[data-theme="dark"] .image-frame:hover img {
    filter: sepia(0.55) contrast(1.25) brightness(0.8) saturate(0.8);
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
    position: relative;
    text-transform: uppercase;
    transform: scaleY(1.15);
    transform-origin: center;
}

.hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--color-text-light);
    max-width: 700px;
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
}

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

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Section dividers */
.section-divider {
    padding: 3rem 0;
}

.divider-text {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    font-weight: 700;
}

/* Sections */
.section {
    padding: 4rem 0;
}

/* About section */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.about-lead {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.about-main p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

.bio-box {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}

.bio-box:last-child {
    margin-bottom: 0;
}

.bio-box h3 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.bio-section-title {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    color: var(--color-text);
}

.bio-box p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.bio-box p:last-child {
    margin-bottom: 0;
}

.education-item {
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.education-item:last-child {
    margin-bottom: 0;
}

.bio-box strong {
    display: block;
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 0.15rem;
}
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Work section */
.work-section {
    position: relative;
    overflow: hidden;
}

/* Expressionist angular overlay */
.work-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 40%;
    height: 120%;
    background: linear-gradient(
        165deg,
        transparent 0%,
        rgba(0, 0, 0, 0.02) 40%,
        transparent 100%
    );
    transform: skew(-8deg, 0deg);
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .work-section::before {
    background: linear-gradient(
        165deg,
        transparent 0%,
        rgba(255, 255, 255, 0.02) 40%,
        transparent 100%
    );
}

.work-section .container {
    position: relative;
    z-index: 2;
}

.work-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-item {
    background: var(--color-surface-elevated);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
}

/* Expressionist shadow effect */
.featured-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        -45deg,
        transparent 0%,
        transparent 30%,
        rgba(0, 0, 0, 0.02) 30%,
        rgba(0, 0, 0, 0.04) 40%,
        transparent 40%,
        transparent 100%
    );
    pointer-events: none;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-item:hover::after {
    opacity: 1;
}

[data-theme="dark"] .featured-item::after {
    background: linear-gradient(
        -45deg,
        transparent 0%,
        transparent 30%,
        rgba(255, 255, 255, 0.02) 30%,
        rgba(255, 255, 255, 0.03) 40%,
        transparent 40%,
        transparent 100%
    );
}

/* VHS/Chromatic aberration for podcast */
.podcast-item {
    position: relative;
}

.podcast-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to right, 
            rgba(255, 0, 0, 0.06) 0%, 
            transparent 5%, 
            transparent 95%, 
            rgba(0, 0, 255, 0.06) 100%);
    pointer-events: none;
    border-radius: 16px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.podcast-item:hover::before {
    opacity: 1;
}

.podcast-item .featured-title {
    text-shadow: 
        -2px 0 rgba(255, 0, 0, 0.5),
        2px 0 rgba(0, 255, 255, 0.5);
}

.featured-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-accent);
}

[data-theme="dark"] .featured-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.featured-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.featured-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    transform: scaleY(1.1);
    transform-origin: left center;
}

.featured-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.featured-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.meta-item {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.meta-item a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition);
}

.meta-item a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.meta-item::before {
    content: '✦';
    margin-right: 0.5rem;
    color: var(--color-accent);
}

.featured-links {
    display: flex;
    gap: 1rem;
}

.btn-link-large {
    font-size: 1.1rem;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-link-large:hover {
    color: var(--color-accent-hover);
}

.btn-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 1rem;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.work-item {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.work-item h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.work-type {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.work-item p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Contact section */
.contact-content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.contact-lead {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.email-box {
    display: inline-block;
    background: var(--color-surface);
    border: 2px solid var(--color-accent);
    padding: 1.5rem 3rem;
    border-radius: 8px;
    position: relative;
    transform: rotate(-0.5deg);
    transition: var(--transition);
}

.email-box:hover {
    transform: rotate(0deg) translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.email-box a {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.contact-note {
    font-size: 1rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* Footer */
footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 3rem 0;
    margin-top: 6rem;
}

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

.footer-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* Responsive design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        max-width: 350px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .navbar .container {
        gap: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .hero {
        padding: 5rem 0 4rem;
        min-height: auto;
    }

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

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

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .featured-item {
        padding: 2rem;
    }

    .featured-title {
        font-size: 2rem;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .about-lead {
        font-size: 1.2rem;
    }

    .contact-lead {
        font-size: 1.2rem;
    }
}
