/*
 * Stella Barnes Arts - Artistic Redesign
 * A warm, handcrafted design reflecting participatory arts practice
 * "Culture is ordinary" - Raymond Williams
 */

/* ===== CSS VARIABLES ===== */
:root {
    /* Original Color Palette - Preserved */
    --color-cream: #FAF7F2;
    --color-warm-white: #FFFDF9;
    --color-sand: #E8E0D5;
    --color-terracotta: #C4704F;
    --color-terracotta-dark: #A85A3A;
    --color-terracotta-light: #D4896A;
    --color-sage: #7D9082;
    --color-sage-light: #A8B8AB;
    --color-sage-dark: #5E7363;
    --color-charcoal: #2C2C2C;
    --color-brown: #4A3F35;
    --color-text: #3D3D3D;
    --color-text-light: #6B6B6B;
    --color-border: #E0D8CC;

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    /* Transitions */
    --ease-organic: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s var(--ease-organic);
    --transition-medium: 0.4s var(--ease-organic);
    --transition-slow: 0.6s var(--ease-organic);

    /* Shadows - softer, more organic */
    --shadow-soft: 0 4px 20px rgba(74, 63, 53, 0.06);
    --shadow-medium: 0 8px 40px rgba(74, 63, 53, 0.08);
    --shadow-lifted: 0 20px 50px rgba(74, 63, 53, 0.12);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text);
    background: var(--color-cream);
    /* Subtle paper texture */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

/* Bottom nav spacing for mobile */
@media (max-width: 1024px) {
    body {
        padding-bottom: 0;
    }

    .footer {
        padding-bottom: calc(var(--space-lg) + 70px);
    }
}

@media (max-width: 480px) {
    .footer {
        padding-bottom: calc(1.5rem + 65px);
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-charcoal);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1.5rem; }

a {
    color: var(--color-terracotta);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover { color: var(--color-terracotta-dark); }

/* Italic accents in headings */
h2 em, h3 em {
    font-style: italic;
    font-weight: 400;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
}

.section-large {
    padding: var(--space-2xl) 0;
}

/* ===== ARTISTIC DECORATIVE ELEMENTS ===== */

/* Hand-drawn line decoration */
.decorative-line {
    display: inline-block;
    width: 60px;
    height: 2px;
    background: var(--color-terracotta);
    position: relative;
}

.decorative-line::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -3px;
    width: 8px;
    height: 8px;
    border: 2px solid var(--color-terracotta);
    border-radius: 50%;
    transform: translateX(-50%);
    background: var(--color-cream);
}

/* Organic brush stroke accent */
.brush-accent {
    position: relative;
}

.brush-accent::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--color-sage-light) 15%,
        var(--color-sage-light) 85%,
        transparent 100%
    );
    opacity: 0.4;
    border-radius: 4px;
    transform: skewX(-3deg);
}

/* Corner flourish */
.corner-flourish {
    position: relative;
}

.corner-flourish::before,
.corner-flourish::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-sage-light);
    opacity: 0.5;
}

.corner-flourish::before {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
}

.corner-flourish::after {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-medium);
}

.nav.scrolled {
    background: rgba(250, 247, 242, 0.98);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-charcoal);
    letter-spacing: -0.02em;
    position: relative;
}

.nav-logo span {
    color: var(--color-terracotta);
    font-style: italic;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-terracotta);
    transition: width var(--transition-fast);
}

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

/* Mobile navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
    margin: 5px auto;
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-cream);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-lg);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-medium);
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.25rem;
        letter-spacing: 0.12em;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--color-cream);
    position: relative;
    overflow: hidden;
}

/* Artistic background pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, var(--color-sand) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 1;
}

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-terracotta);
    margin-bottom: var(--space-md);
}

.hero-tag::before,
.hero-tag::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--color-terracotta);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1.05;
    margin-bottom: var(--space-md);
    color: var(--color-charcoal);
}

.hero-title span {
    display: block;
}

.hero-title .accent {
    color: var(--color-terracotta);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 70vh;
    max-height: 600px;
    object-fit: cover;
    border-radius: 4px;
}

/* Artistic frame around hero image */
.hero-image::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-sage);
    border-radius: 4px;
    z-index: -1;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: -25px;
    width: 80px;
    height: 80px;
    border-left: 3px solid var(--color-terracotta);
    border-bottom: 3px solid var(--color-terracotta);
}

@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }

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

    .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-image { order: 1; }
    .hero-image img { height: 50vh; }
    .hero-image::before, .hero-image::after { display: none; }
    .hero-tag::before { display: none; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: var(--color-terracotta-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-outline:hover {
    background: var(--color-charcoal);
    color: white;
}

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

.btn-white:hover {
    background: var(--color-cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-link {
    background: none;
    padding: 0;
    color: var(--color-terracotta);
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

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

/* ===== QUOTE SECTION ===== */
.quote-section {
    background: var(--color-warm-white);
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
    position: relative;
}

/* Decorative quote marks */
.quote-section::before {
    content: '"';
    font-family: var(--font-serif);
    font-size: 15rem;
    color: var(--color-sage-light);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    opacity: 0.3;
    pointer-events: none;
}

.quote-large {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-brown);
    max-width: 900px;
    margin: 0 auto var(--space-md);
    position: relative;
    z-index: 1;
}

.quote-author {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-terracotta);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.quote-author::before,
.quote-author::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--color-sage);
}

/* ===== ABOUT PREVIEW ===== */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-image-stack {
    position: relative;
    padding: var(--space-lg);
}

.about-image-main {
    width: 80%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--shadow-medium);
}

.about-image-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    border: 5px solid var(--color-cream);
    box-shadow: var(--shadow-lifted);
}

/* Decorative elements around images */
.about-image-stack::before {
    content: '';
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    width: 60px;
    height: 60px;
    border-left: 2px solid var(--color-sage);
    border-top: 2px solid var(--color-sage);
    opacity: 0.6;
}

.about-content h2 {
    margin-bottom: var(--space-md);
}

.about-content p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-terracotta);
    line-height: 1;
    font-weight: 400;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

@media (max-width: 868px) {
    .about-preview {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about-image-stack { padding: var(--space-md); }
    .about-stats { justify-content: center; flex-wrap: wrap; }
    .stat { text-align: center; min-width: 100px; }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
}

.section-header h2 {
    margin-bottom: var(--space-sm);
    display: inline-block;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Small decorative element above section titles */
.section-header::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--color-terracotta);
    margin: 0 auto var(--space-md);
    border-radius: 2px;
}

/* ===== EXPERTISE SECTION ===== */
.expertise-section {
    background: var(--color-sand);
    position: relative;
}

/* Subtle pattern overlay */
.expertise-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

.expertise-card {
    background: var(--color-warm-white);
    padding: var(--space-lg);
    border-radius: 4px;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
}

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

/* Accent line on hover */
.expertise-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--space-lg);
    right: var(--space-lg);
    height: 3px;
    background: var(--color-terracotta);
    transform: scaleX(0);
    transition: transform var(--transition-medium);
    border-radius: 2px;
}

.expertise-card:hover::after {
    transform: scaleX(1);
}

.expertise-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-sage-light) 0%, var(--color-sage) 100%);
    color: white;
    border-radius: 50%;
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
}

.expertise-card h4 {
    margin-bottom: var(--space-sm);
    color: var(--color-charcoal);
}

.expertise-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.7;
}

/* ===== WORK GRID ===== */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.work-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 16/10;
}

.work-card.featured {
    grid-column: span 2;
    aspect-ratio: 21/9;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.work-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 44, 44, 0.9) 0%, rgba(44, 44, 44, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
    color: white;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

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

.work-card-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-sage-light);
    margin-bottom: var(--space-xs);
}

.work-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    color: white;
}

.work-card-desc {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    max-width: 500px;
}

@media (max-width: 768px) {
    .work-grid { grid-template-columns: 1fr; }
    .work-card.featured { grid-column: span 1; aspect-ratio: 16/10; }
    .work-card-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(44, 44, 44, 0.95) 0%, rgba(44, 44, 44, 0.6) 60%, transparent 100%);
    }
}

/* ===== TESTIMONIALS ===== */
.testimonial-section {
    background: var(--color-brown);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Decorative circles */
.testimonial-section::before,
.testimonial-section::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.testimonial-section::before {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
}

.testimonial-section::after {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.testimonial-card {
    padding: var(--space-lg);
    border-left: 3px solid var(--color-terracotta);
    position: relative;
}

/* Quote mark */
.testimonial-card::before {
    content: '"';
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--color-terracotta);
    line-height: 1;
    opacity: 0.5;
    position: absolute;
    top: var(--space-sm);
    left: var(--space-lg);
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.95);
    padding-top: var(--space-md);
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-sage-light);
}

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

/* ===== BLOG GRID ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.blog-card {
    background: var(--color-warm-white);
    border-radius: 4px;
    overflow: hidden;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: var(--space-md);
}

.blog-card-date {
    font-size: 0.75rem;
    color: var(--color-terracotta);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.blog-card-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
    color: var(--color-charcoal);
    line-height: 1.3;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.6;
}

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

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Decorative pattern */
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto var(--space-lg);
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    position: relative;
    z-index: 1;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-charcoal);
    color: white;
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: white;
    margin-bottom: var(--space-sm);
}

.footer-logo span {
    color: var(--color-terracotta);
    font-style: italic;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.7;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--color-sage-light);
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 868px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    .footer-brand { grid-column: span 2; }
}

@media (max-width: 500px) {
    .footer {
        padding: 2rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .footer-brand {
        grid-column: span 2;
        text-align: center;
        max-width: none;
    }

    .footer-brand p {
        font-size: 0.85rem;
        margin-bottom: 0;
    }

    .footer-logo {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .footer-heading {
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
        padding-top: 1rem;
    }
}

/* ===== PAGE HEADERS ===== */
.page-header {
    padding: 160px 0 80px;
    background: var(--color-sand);
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: var(--color-terracotta);
}

.page-header h1 {
    margin-bottom: var(--space-sm);
}

.page-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-organic) forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-charcoal);
    color: white;
    padding: 1rem 2rem;
    z-index: 10001;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

:focus-visible {
    outline: 3px solid var(--color-terracotta);
    outline-offset: 3px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== PRINT ===== */
@media print {
    .nav,
    .footer,
    .skip-link {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}

/* ===== CV PAGE STYLES (v2 - Clean Design) ===== */

/* CV Hero */
.cv-hero {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--color-sand) 0%, var(--color-cream) 100%);
}

.cv-hero-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

.cv-hero-portrait {
    position: relative;
}

.cv-hero-portrait img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(74, 63, 53, 0.15);
}

.cv-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 80px;
    height: 80px;
    background: var(--color-terracotta);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(196, 112, 79, 0.4);
}

.cv-badge-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
}

.cv-badge-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.cv-hero-content {
    padding-top: 0.5rem;
}

.cv-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-terracotta);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cv-hero-content h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--color-charcoal);
}

.cv-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.cv-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.cv-contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.cv-contact-list a:hover {
    color: var(--color-terracotta);
}

.cv-contact-list svg {
    flex-shrink: 0;
    color: var(--color-terracotta);
}

.cv-hero .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cv-hero .btn svg {
    stroke: currentColor;
}

/* CV Summary */
.cv-summary {
    padding: 3rem 2rem;
    background: var(--color-warm-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.cv-summary .container-narrow {
    max-width: 800px;
}

.cv-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-charcoal);
    font-weight: 400;
}

.cv-summary p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text);
}

.cv-summary p:last-child {
    margin-bottom: 0;
}

/* CV Sections */
.cv-section {
    padding: 4rem 2rem;
    background: var(--color-cream);
}

.cv-section-alt {
    background: var(--color-warm-white);
}

.cv-section-title {
    font-size: 1.75rem;
    color: var(--color-charcoal);
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-terracotta);
    display: inline-block;
}

/* Timeline */
.cv-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.cv-timeline-group {
    margin-bottom: 3rem;
}

.cv-timeline-group:last-child {
    margin-bottom: 0;
}

.cv-group-title {
    font-size: 1.1rem;
    color: var(--color-terracotta);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Timeline Entry */
.cv-entry {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.cv-entry:last-child {
    border-bottom: none;
}

.cv-entry::before {
    content: '';
    position: absolute;
    left: 130px;
    top: 1.5rem;
    width: 10px;
    height: 10px;
    background: var(--color-sand);
    border: 2px solid var(--color-terracotta);
    border-radius: 50%;
}

.cv-entry-current::before {
    background: var(--color-sage);
    border-color: var(--color-sage);
}

.cv-entry-major::before {
    width: 14px;
    height: 14px;
    background: var(--color-terracotta);
    border-color: var(--color-terracotta);
    left: 128px;
}

.cv-entry-date {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--color-terracotta);
    font-weight: 600;
    text-align: right;
    padding-top: 0.15rem;
}

.cv-entry-content h4 {
    font-size: 1.15rem;
    color: var(--color-charcoal);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.cv-entry-org {
    font-size: 0.95rem;
    color: var(--color-sage-dark);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.cv-entry-content > p:last-of-type {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 0;
    line-height: 1.6;
}

.cv-highlights {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.cv-highlights li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.cv-highlights li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--color-terracotta);
    font-weight: 600;
}

.cv-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.cv-links a {
    font-size: 0.85rem;
    color: var(--color-terracotta);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cv-links a:hover {
    color: var(--color-terracotta-dark);
}

/* Compact List */
.cv-compact-list {
    background: var(--color-warm-white);
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--color-border);
}

.cv-compact-item {
    display: flex;
    gap: 1.5rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
    align-items: baseline;
}

.cv-compact-item:last-child {
    border-bottom: none;
}

.cv-compact-date {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    color: var(--color-terracotta);
    font-weight: 600;
    min-width: 70px;
    flex-shrink: 0;
}

/* Projects Grid */
.cv-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.cv-project {
    background: var(--color-cream);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.cv-project:hover {
    box-shadow: 0 8px 25px rgba(74, 63, 53, 0.1);
    border-color: var(--color-terracotta-light);
}

.cv-project-year {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 0.8rem;
    color: white;
    background: var(--color-terracotta);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.cv-project h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    color: var(--color-charcoal);
}

.cv-project-org {
    font-size: 0.85rem;
    color: var(--color-sage-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.cv-project > p:last-child {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Qualifications */
.cv-quals-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cv-qual-group {
    margin-bottom: 1.5rem;
}

.cv-qual-group h4 {
    font-size: 1rem;
    color: var(--color-charcoal);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.cv-qual-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cv-qual-group li {
    padding: 0.5rem 0;
    padding-left: 1rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--color-text);
}

.cv-qual-group li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 6px;
    height: 6px;
    background: var(--color-sage);
    border-radius: 50%;
}

.cv-quals-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cv-info-card {
    background: var(--color-sand);
    padding: 1.5rem;
    border-radius: 8px;
}

.cv-info-card h4 {
    font-size: 1rem;
    color: var(--color-charcoal);
    margin-bottom: 0.75rem;
}

.cv-info-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.cv-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cv-info-card li {
    font-size: 0.9rem;
    color: var(--color-text);
    padding: 0.35rem 0;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-white:hover {
    background: white;
    color: var(--color-terracotta);
}

/* CV Page Responsive */
@media (max-width: 900px) {
    .cv-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .cv-hero-portrait {
        max-width: 220px;
        margin: 0 auto;
    }

    .cv-badge {
        right: -10px;
        bottom: -10px;
        width: 70px;
        height: 70px;
    }

    .cv-badge-number {
        font-size: 1.3rem;
    }

    .cv-contact-list {
        align-items: center;
    }

    .cv-hero-content h1 {
        font-size: 2.5rem;
    }

    .cv-entry {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .cv-entry::before {
        display: none;
    }

    .cv-entry-date {
        text-align: left;
        font-size: 0.85rem;
    }

    .cv-projects-grid {
        grid-template-columns: 1fr;
    }

    .cv-quals-grid {
        grid-template-columns: 1fr;
    }

    .cv-compact-item {
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (max-width: 600px) {
    .cv-hero {
        padding: 2.5rem 1rem;
    }

    .cv-section {
        padding: 2.5rem 1rem;
    }

    .cv-hero-content h1 {
        font-size: 2rem;
    }

    .cv-section-title {
        font-size: 1.5rem;
    }

    .cv-downloads-grid {
        grid-template-columns: 1fr;
    }
}

/* Downloads Grid */
.cv-downloads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.cv-download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--color-cream);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cv-download-card:hover {
    border-color: var(--color-terracotta);
    box-shadow: 0 8px 25px rgba(196, 112, 79, 0.15);
    transform: translateY(-4px);
}

.cv-download-icon {
    width: 60px;
    height: 60px;
    background: var(--color-terracotta);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.cv-download-card:hover .cv-download-icon {
    background: var(--color-terracotta-dark);
}

.cv-download-info h4 {
    font-size: 0.95rem;
    color: var(--color-charcoal);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.cv-download-info p {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.cv-download-type {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-terracotta);
    background: rgba(196, 112, 79, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .cv-downloads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== WORK PAGE STYLES ===== */

/* Roles Grid */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.role-card {
    background: var(--color-warm-white);
    padding: 1.75rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.role-card:hover {
    border-color: var(--color-terracotta);
    box-shadow: 0 8px 25px rgba(74, 63, 53, 0.1);
    transform: translateY(-4px);
}

.role-date {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-terracotta);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.role-card h3 {
    font-size: 1.1rem;
    color: var(--color-charcoal);
    margin-bottom: 0.25rem;
}

.role-org {
    font-size: 0.9rem;
    color: var(--color-sage-dark);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.role-card > p:last-child {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.6;
}

/* Featured Projects */
.featured-projects {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.featured-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.featured-project.reverse {
    direction: rtl;
}

.featured-project.reverse > * {
    direction: ltr;
}

.featured-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.featured-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-project:hover .featured-image img {
    transform: scale(1.03);
}

.featured-content {
    padding: 1rem 0;
}

.project-date {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-terracotta);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.featured-content h3 {
    font-size: 1.75rem;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.project-org {
    font-size: 1rem;
    color: var(--color-sage-dark);
    font-weight: 500;
    margin-bottom: 1rem;
}

.featured-content > p:not(.project-org) {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

/* Simple Work Grid */
.work-simple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.work-simple-card {
    background: var(--color-warm-white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.work-simple-card:hover {
    border-color: var(--color-terracotta);
    box-shadow: 0 6px 20px rgba(74, 63, 53, 0.08);
}

.work-year {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    background: var(--color-terracotta);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.work-simple-card h4 {
    font-size: 1rem;
    color: var(--color-charcoal);
    margin-bottom: 0.35rem;
}

.work-simple-card > p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.5;
}

/* Documents Grid */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.doc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--color-warm-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.doc-card:hover {
    border-color: var(--color-terracotta);
    box-shadow: 0 8px 25px rgba(196, 112, 79, 0.12);
    transform: translateY(-4px);
}

.doc-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.doc-card h4 {
    font-size: 0.9rem;
    color: var(--color-charcoal);
    margin: 0;
    line-height: 1.3;
}

/* Leadership List */
.leadership-list {
    max-width: 800px;
    margin: 0 auto;
}

.leadership-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
    align-items: baseline;
}

.leadership-item:last-child {
    border-bottom: none;
}

.leadership-date {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--color-terracotta);
    font-weight: 600;
    min-width: 100px;
    flex-shrink: 0;
}

.leadership-content h3 {
    font-size: 1.15rem;
    color: var(--color-charcoal);
    margin-bottom: 0.25rem;
}

.leadership-org {
    font-size: 0.95rem;
    color: var(--color-sage-dark);
    font-weight: 500;
    margin: 0;
}

/* Work Page Responsive */
@media (max-width: 900px) {
    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-project {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-project.reverse {
        direction: ltr;
    }

    .featured-image img {
        height: 280px;
    }

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

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

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

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

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

    .doc-card {
        padding: 1rem 0.75rem;
    }

    .doc-icon {
        font-size: 1.5rem;
    }

    .doc-card h4 {
        font-size: 0.8rem;
    }

    .leadership-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .leadership-date {
        min-width: auto;
    }

    .featured-content h3 {
        font-size: 1.4rem;
    }
}

/* Project Videos Section */
.project-videos {
    grid-column: 1 / -1;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.videos-title {
    font-size: 1.25rem;
    color: var(--color-charcoal);
    margin-bottom: 1.5rem;
    text-align: center;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

@media (max-width: 900px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 600px) {
    .project-videos {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .videos-title {
        font-size: 1.1rem;
    }
}

/* ===== LUXURIOUS EXPERTISE SECTION ===== */
.expertise-luxe {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2C2C2C 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.expertise-luxe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(196, 112, 79, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(125, 144, 130, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.luxe-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.luxe-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-terracotta);
    margin-bottom: 1rem;
}

.luxe-header h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.luxe-header-light h2 {
    color: var(--color-charcoal);
}

.luxe-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-terracotta), transparent);
    margin: 0 auto;
}

.expertise-luxe-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    position: relative;
    z-index: 1;
}

.expertise-luxe-card {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.expertise-luxe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-terracotta);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.expertise-luxe-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.expertise-luxe-card:hover::before {
    transform: scaleX(1);
}

.luxe-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: rgba(196, 112, 79, 0.3);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.expertise-luxe-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 500;
}

.expertise-luxe-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0;
}

/* ===== LUXURIOUS WORK SECTION ===== */
.work-luxe {
    padding: 6rem 0;
    background: var(--color-cream);
}

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

.work-luxe-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    display: block;
    text-decoration: none;
}

.work-luxe-main {
    grid-row: span 2;
}

.work-luxe-card img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.work-luxe-main img {
    min-height: 100%;
}

.work-luxe-card:hover img {
    transform: scale(1.05);
}

.work-luxe-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 44, 44, 0.95) 0%, rgba(44, 44, 44, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-luxe-card:hover .work-luxe-overlay {
    opacity: 1;
}

.work-luxe-date {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-terracotta);
    margin-bottom: 0.5rem;
}

.work-luxe-overlay h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.work-luxe-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

.btn-luxe {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-charcoal);
    background: transparent;
    border: 1px solid var(--color-charcoal);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-luxe:hover {
    background: var(--color-charcoal);
    color: white;
}

/* Responsive for Luxe sections */
@media (max-width: 1024px) {
    .expertise-luxe-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .work-luxe-grid {
        grid-template-columns: 1fr 1fr;
    }
    .work-luxe-main {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .expertise-luxe {
        padding: 4rem 0;
    }
    .luxe-header h2 {
        font-size: 2.25rem;
    }
    .expertise-luxe-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .expertise-luxe-card {
        padding: 2rem 1.5rem;
    }
    .luxe-number {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .work-luxe-grid {
        grid-template-columns: 1fr;
    }
    .work-luxe-main {
        grid-column: span 1;
    }
    .work-luxe-card img {
        min-height: 250px;
    }
    .work-luxe-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(44, 44, 44, 0.9) 0%, rgba(44, 44, 44, 0.5) 60%, transparent 100%);
    }
}
