/* ===================================
   CSS Variables & Base Styles
   Classical Art + Modern Flare
   =================================== */

:root {
    /* Bold Primary Colors with Refined Undertones */
    --color-burgundy: #722F37;
    --color-burgundy-dark: #4A1F24;
    --color-gold: #C9A227;
    --color-gold-light: #E8D5A3;
    --color-gold-pale: #FDF6E3;
    --color-navy: #1B2838;
    --color-navy-light: #2D3E50;
    --color-phthalo: #123524;
    --color-platinum: #D9D9D9;

    /* Neutrals */
    --color-cream: #FAF8F5;
    --color-ivory: #FFFFF0;
    --color-charcoal: #2C2C2C;
    --color-stone: #6B6B6B;
    --color-white: #FFFFFF;

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Scroll offset for fixed navbar */
[id] {
    scroll-margin-top: 100px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-charcoal);
    background-color: var(--color-cream);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-navy);
}

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

p {
    margin-bottom: var(--spacing-sm);
}

/* Container */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-xs) 0;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: var(--spacing-xs) 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.logo-img {
    height: clamp(40px, 5vw, 55px);
    width: auto;
    transition: transform var(--transition-base);
}

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

/* Navbar logo — right side */
.nav-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.88;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.nav-logo-link:hover {
    opacity: 1;
    transform: scale(1.05);
}

.nav-logo {
    height: 38px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: clamp(0.4rem, 1vw, 1rem);
    flex-wrap: nowrap;
    align-items: center;
}

.nav-link {
    font-size: clamp(0.55rem, 0.7vw, 0.75rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-charcoal);
    position: relative;
    padding: var(--spacing-xs) 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition-base);
}

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

.nav-link:hover {
    color: var(--color-burgundy);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    min-width: 160px;
    padding: var(--spacing-sm) 0;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(27, 40, 56, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 1001;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-link {
    display: block;
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-charcoal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
}

.dropdown-link:hover {
    background: var(--color-cream);
    color: var(--color-burgundy);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.hamburger {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-navy);
    position: relative;
    transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--color-navy);
    transition: all var(--transition-fast);
}

.hamburger::before { top: -8px; left: 0; }
.hamburger::after { bottom: -8px; left: 0; }

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.btn-primary:hover {
    background: #0a1f15;
    border-color: #0a1f15;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(18, 53, 36, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.btn-secondary:hover {
    background: var(--color-navy);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* ===================================
   Hero Section - Home Page
   =================================== */

.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse 90% 80% at 50% 50%, #0f2d1e 0%, #0b2018 55%, #060e0b 100%);
    position: relative;
    overflow: hidden;
}

/* Single soft glancing highlight — like light grazing a lacquered surface */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.022) 0%,
        transparent 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.01) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-md) 0;
    position: relative;
    z-index: 1;
}

/* Hero Logo - floats off the page */
.hero-logo {
    flex-shrink: 0;
}

.hero-logo img {
    width: clamp(200px, 22vw, 340px);
    height: auto;
    filter:
        drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5))
        drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-18px); }
}

/* Brand Statement */
.hero-statement {
}

.brand-statement {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 0.15em;
}

.statement-ideas {
    font-family: 'Cabin Sketch', sans-serif;
    font-size: clamp(2rem, 4.5vw, 4.2rem);
    font-weight: 700;
    color: var(--color-platinum);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 8px 20px rgba(217, 217, 217, 0.2),
        0 16px 40px rgba(0, 0, 0, 0.3);
    display: block;
}

.statement-realized {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 6.5vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;

    /* Metallic platinum reflection */
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #e8e8e8 18%,
        #D9D9D9 35%,
        #8c8c8c 50%,
        #D9D9D9 65%,
        #efefef 82%,
        #ffffff 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    /* Shadow behind the text for lift — uses a fallback color */
    filter:
        drop-shadow(0 2px 3px rgba(0, 0, 0, 0.7))
        drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4))
        drop-shadow(0 0 30px rgba(217, 217, 217, 0.15));
}

/* ===================================
   Home Page - Glass Navbar
   =================================== */

.home-page .navbar {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.09) 0%,
        rgba(18, 53, 36, 0.12) 100%
    );
    backdrop-filter: blur(22px) saturate(1.4) brightness(1.08);
    -webkit-backdrop-filter: blur(22px) saturate(1.4) brightness(1.08);
    border-bottom: 1px solid rgba(217, 217, 217, 0.18);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 8px 32px rgba(0, 0, 0, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

.home-page .navbar.scrolled {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(18, 53, 36, 0.35) 100%
    );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 12px 40px rgba(0, 0, 0, 0.45),
        0 3px 10px rgba(0, 0, 0, 0.25);
}

.home-page .nav-link {
    color: var(--color-platinum);
}

.home-page .nav-link::after {
    background: var(--color-platinum);
}

.home-page .nav-link:hover {
    color: var(--color-white);
}

.home-page .hamburger,
.home-page .hamburger::before,
.home-page .hamburger::after {
    background: var(--color-platinum);
}

.home-page .dropdown-menu {
    background: rgba(18, 53, 36, 0.92);
    border-color: rgba(217, 217, 217, 0.2);
}

.home-page .dropdown-link {
    color: var(--color-platinum);
}

.home-page .dropdown-link:hover {
    background: rgba(217, 217, 217, 0.1);
    color: var(--color-white);
}


/* ===================================
   Section Common Styles
   =================================== */

section {
    padding: var(--spacing-xxl) 0;
}

.section-header {
    margin-bottom: 1.5rem;
    position: relative;
}

.section-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gold);
    display: block;
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.2em;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-burgundy);
}

/* ===================================
   About Section
   =================================== */

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.about-image {
    position: sticky;
    top: 120px;
    max-width: 320px;
}

.image-frame {
    position: relative;
    padding: var(--spacing-sm);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    overflow: hidden;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    background: var(--color-phthalo);
    z-index: -1;
    border-radius: 50%;
}

.image-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.image-placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(145deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-light);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
}

.about-text h3 {
    margin-bottom: var(--spacing-md);
    color: var(--color-burgundy);
}

.about-text p {
    color: var(--color-stone);
    margin-bottom: var(--spacing-md);
}

.about-details {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    background: var(--color-cream);
    border-left: 3px solid var(--color-gold);
}

.detail {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-sm);
}

.detail:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-burgundy);
    margin-bottom: 4px;
}

.detail-value {
    color: var(--color-charcoal);
    font-weight: 500;
}

/* ===================================
   Gallery Banner
   =================================== */

.gallery-banner {
    width: 100%;
    background: linear-gradient(90deg, var(--color-phthalo) 0%, var(--color-navy) 50%, var(--color-burgundy) 100%);
    padding: var(--spacing-lg) 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.lava-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.gallery-banner img {
    max-width: 800px;
    width: 90%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

/* ===================================
   Projects/Gallery Section
   =================================== */

.projects {
    background:
        linear-gradient(180deg,
            var(--color-cream) 0%,
            rgba(18, 53, 36, 0.02) 30%,
            rgba(201, 162, 39, 0.03) 50%,
            rgba(138, 43, 226, 0.02) 70%,
            var(--color-ivory) 100%
        );
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg,
            rgba(18, 53, 36, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg,
            rgba(18, 53, 36, 0.03) 25%, transparent 25%),
        linear-gradient(45deg,
            transparent 75%, rgba(201, 162, 39, 0.05) 75%),
        linear-gradient(-45deg,
            transparent 75%, rgba(138, 43, 226, 0.03) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 30px 0, 30px -30px, 0px 30px;
    opacity: 0.5;
    pointer-events: none;
}

.projects > .container {
    position: relative;
    z-index: 1;
}

.projects-filter {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: transparent;
    border: 1px solid var(--color-stone);
    color: var(--color-stone);
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: var(--color-white);
}

/* Projects Grid - Masonry-like Layout */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

/* Base Project Card */
.project-card {
    background: var(--color-white);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(27, 40, 56, 0.15);
}

/* Card Variants for Visual Hierarchy */

/* Featured - Full width, large */
.project-card--featured {
    grid-column: span 4;
}

.project-card--featured .project-image {
    aspect-ratio: 21/9;
}

/* D20 Pop Art - zoom out to show full artwork */
.project-card--featured .project-image img[alt="D20 Pop Art Design"] {
    object-fit: contain;
    background-color: var(--color-navy);
}

/* Tall - For posters */
.project-card--tall {
    grid-column: span 2;
    grid-row: span 2;
}

.project-card--tall .project-image {
    aspect-ratio: 3/4;
}

/* Wide - For banners/brochures */
.project-card--wide {
    grid-column: span 2;
}

.project-card--wide .project-image {
    aspect-ratio: 16/9;
}

/* Small - For logos */
.project-card--small {
    grid-column: span 1;
}

.project-card--small .project-image {
    aspect-ratio: 1/1;
}

.project-card--small .project-image img {
    object-fit: contain;
    padding: 1.5rem;
    background: var(--color-cream);
}

.project-card--small .project-info {
    padding: var(--spacing-sm);
}

.project-card--small .project-title {
    font-size: 1.1rem;
}

.project-card--small .project-description {
    font-size: 0.8rem;
}

/* Standard card image */
.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transition: transform var(--transition-slow);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 53, 36, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.project-link {
    padding: 1rem 2rem;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all var(--transition-fast);
}

.project-link:hover {
    background: var(--color-white);
    color: var(--color-phthalo);
}

.project-info {
    padding: var(--spacing-md);
}

.project-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
}

.project-title {
    font-size: 1.5rem;
    margin: var(--spacing-xs) 0;
    color: var(--color-navy);
}

.project-description {
    font-size: 0.9rem;
    color: var(--color-stone);
    margin-bottom: 0;
}

/* ===================================
   Gallery Page Sections
   =================================== */

.gallery-page {
    padding-bottom: var(--spacing-xl);
}

.gallery-quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.3);
}

.gallery-nav-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-navy);
    background: transparent;
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.gallery-nav-btn:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

.gallery-section {
    margin-bottom: var(--spacing-xl);
}

.gallery-section-header {
    margin-bottom: var(--spacing-lg);
}

.gallery-section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-burgundy);
    margin-bottom: var(--spacing-sm);
}

.gallery-section-divider {
    position: relative;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--color-gold) 0%,
        var(--color-gold) 30%,
        transparent 30%,
        transparent 35%,
        var(--color-burgundy) 35%,
        var(--color-burgundy) 40%,
        transparent 40%,
        transparent 45%,
        var(--color-navy) 45%,
        var(--color-navy) 50%,
        transparent 50%
    );
    background-size: 100px 3px;
    margin-top: var(--spacing-sm);
}

.gallery-section-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: -4px;
    width: 12px;
    height: 12px;
    background: var(--color-gold);
    border-radius: 50%;
}

.gallery-section-divider::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 12px;
    height: 12px;
    background: var(--color-gold);
    border-radius: 50%;
}

.gallery-section .projects-grid {
    margin-top: var(--spacing-md);
}

/* ===================================
   Contact Section
   =================================== */

.contact {
    background: transparent;
    color: var(--color-white);
}

.contact-page-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, #ffffff 0%, #e8e8e8 18%, #D9D9D9 35%, #8c8c8c 50%, #D9D9D9 65%, #efefef 82%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.7)) drop-shadow(0 6px 16px rgba(0,0,0,0.4)) drop-shadow(0 0 30px rgba(217,217,217,0.15));
    margin-bottom: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-info h3 {
    color: rgba(217, 217, 217, 0.95);
    margin-bottom: 1rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.25rem;
}

.contact-details {
    margin-bottom: var(--spacing-lg);
}

.contact-item {
    margin-bottom: var(--spacing-md);
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(217, 217, 217, 0.55);
    display: block;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1.125rem;
    color: var(--color-white);
    transition: color var(--transition-fast);
}

a.contact-value:hover {
    color: rgba(217, 217, 217, 0.75);
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--color-white);
    transition: fill var(--transition-fast);
}

.social-link:hover {
    background: rgba(217, 217, 217, 0.15);
    border-color: rgba(217, 217, 217, 0.6);
}

.social-link:hover svg {
    fill: var(--color-navy);
}

/* Contact Form */
.contact-form {
    background: transparent;
    padding: 0;
    border: none;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(217, 217, 217, 0.55);
    margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(217, 217, 217, 0.6);
    background: rgba(217, 217, 217, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form .btn-primary {
    background: rgba(217, 217, 217, 0.1);
    border-color: rgba(217, 217, 217, 0.35);
    color: rgba(217, 217, 217, 0.9);
    margin-top: var(--spacing-sm);
}

.contact-form .btn-primary:hover {
    background: rgba(217, 217, 217, 0.18);
    border-color: rgba(217, 217, 217, 0.7);
    color: #ffffff;
}

/* ===================================
   About Page
   =================================== */

.about-page {
    margin-top: 80px;
    padding: var(--spacing-md) 0 var(--spacing-xxl);
    min-height: calc(100vh - 200px);
}

.about-page-title,
.contact-page-title,
.blog-page-title,
.attributions-page-title,
.credentials-page-title {
    animation: titleEntry 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-page-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #e8e8e8 18%,
        #D9D9D9 35%,
        #8c8c8c 50%,
        #D9D9D9 65%,
        #efefef 82%,
        #ffffff 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter:
        drop-shadow(0 2px 3px rgba(0, 0, 0, 0.7))
        drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4))
        drop-shadow(0 0 30px rgba(217, 217, 217, 0.15));
    margin-bottom: 0;
}

.about-page-content {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 1.5rem;
    align-items: start;
    margin-top: var(--spacing-xl);
}

.about-glass-box {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(18, 53, 36, 0.18) 100%
    );
    backdrop-filter: blur(18px) saturate(1.3) brightness(1.06);
    -webkit-backdrop-filter: blur(18px) saturate(1.3) brightness(1.06);
    border: 1px solid rgba(217, 217, 217, 0.16);
    border-radius: var(--radius-md);
    box-shadow:
        0 4px 32px rgba(0, 0, 0, 0.45),
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 12px 40px rgba(0, 0, 0, 0.3);
    padding: var(--spacing-md);
}

.about-page-photo {
    position: sticky;
    top: 120px;
}

.about-page-photo .about-glass-box {
    padding: var(--spacing-sm);
}

.about-page-photo img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}

.about-page-bio .about-glass-box p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(217, 217, 217, 0.85);
    margin-bottom: var(--spacing-md);
}

.about-page-bio .about-glass-box p:last-child {
    margin-bottom: 0;
    color: var(--color-platinum);
    font-weight: 500;
}

.about-pets {
    margin-top: 1rem;
}

.about-pets-box {
    display: flex;
    flex-direction: row-reverse;
    gap: 1.5rem;
    align-items: center;
}

.about-pets-box--left {
    flex-direction: row;
}

.about-pets-box img {
    width: clamp(260px, 35%, 480px);
    height: auto;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    display: block;
}

.about-pets-caption {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(217, 217, 217, 0.85);
    font-style: italic;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-page-content {
        grid-template-columns: 1fr;
    }

    .about-page-photo {
        position: static;
        max-width: 320px;
        margin: 0 auto;
    }

    .about-pets-box {
        flex-direction: column;
    }

    .about-pets-box img {
        width: 100%;
    }
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--color-navy);
    border-top: 1px solid rgba(201, 162, 39, 0.3);
    padding: var(--spacing-lg) 0;
}

.footer-content {
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--spacing-xs);
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: 0;
}

/* Dark Footer Variant (Home Page) — must come after .footer to override */
.home-page body,
body.home-page {
    background: #0b2018;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.home-page .hero {
    flex: 1;
}

body.home-page .footer {
    flex-shrink: 0;
}

.footer--dark {
    background: linear-gradient(
        180deg,
        rgba(18, 53, 36, 0.12) 0%,
        rgba(255, 255, 255, 0.09) 100%
    );
    backdrop-filter: blur(22px) saturate(1.4) brightness(1.08);
    -webkit-backdrop-filter: blur(22px) saturate(1.4) brightness(1.08);
    border-top: 1px solid rgba(217, 217, 217, 0.18);
    box-shadow:
        0 -1px 0 rgba(255, 255, 255, 0.12) inset,
        0 -8px 32px rgba(0, 0, 0, 0.35),
        0 -2px 8px rgba(0, 0, 0, 0.2);
}

.footer--dark .copyright,
.footer--dark .footer-tagline {
    color: rgba(217, 217, 217, 0.6);
}

/* ===================================
   Animations
   =================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes titleEntry {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .project-card--featured {
        grid-column: span 3;
    }

    .project-card--tall {
        grid-column: span 1;
        grid-row: span 2;
    }

    .project-card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .brand-statement {
        font-size: clamp(3.5rem, 14vw, 7rem);
    }

    .hero-logo img {
        width: 220px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        position: static;
        max-width: 400px;
        margin: 0 auto var(--spacing-lg);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .project-card--featured {
        grid-column: span 2;
    }

    .project-card--tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .project-card--tall .project-image {
        aspect-ratio: 4/3;
    }

    .project-card--wide {
        grid-column: span 2;
    }

    .project-card--small {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }

    .nav-toggle {
        display: block;
        z-index: 1002;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: var(--color-navy);
        transition: right var(--transition-base);
        gap: var(--spacing-md);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--color-white);
        font-size: 1.25rem;
        padding: var(--spacing-sm);
    }

    .nav-menu .nav-link::after {
        background: var(--color-gold);
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
        background: var(--color-burgundy);
    }

    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
        background: var(--color-burgundy);
    }

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

    .project-card--featured,
    .project-card--tall,
    .project-card--wide,
    .project-card--small {
        grid-column: span 1;
        grid-row: span 1;
    }

    .project-card--tall .project-image,
    .project-card--featured .project-image {
        aspect-ratio: 4/3;
    }

    .project-card--small .project-image {
        aspect-ratio: 1/1;
    }

    .btn {
        padding: 0.875rem 1.5rem;
    }

    section {
        padding: var(--spacing-xl) 0;
    }

    .gallery-banner {
        padding: var(--spacing-md) 0;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .logo-img {
        height: 40px;
    }

    .hero-logo img {
        width: 160px;
    }

    .brand-statement {
        font-size: clamp(3rem, 16vw, 5rem);
    }

    .projects-filter {
        justify-content: center;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }

    .contact-form {
        padding: var(--spacing-md);
    }
}

/* ===================================
   Lightbox / Modal Styles
   =================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 40, 56, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border: 3px solid var(--color-gold);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--color-gold);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(27, 40, 56, 0.7);
    border: 2px solid var(--color-gold);
    color: var(--color-white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.lightbox-nav:hover {
    background: var(--color-gold);
    color: var(--color-navy);
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
}

.lightbox-nav--prev {
    left: -60px;
}

.lightbox-nav--next {
    right: -60px;
}

.lightbox-counter {
    text-align: center;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-top: 12px;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .lightbox-nav--prev {
        left: 5px;
    }
    .lightbox-nav--next {
        right: 5px;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    .lightbox-nav svg {
        width: 20px;
        height: 20px;
    }
}

/* ===================================
   Featured Carousel Styles
   =================================== */

.featured-carousel {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 100%);
}

.carousel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel {
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(27, 40, 56, 0.15);
}

.carousel-track {
    display: flex;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    background: var(--color-navy);
    opacity: 0.4;
    transform: scale(0.92) rotateY(5deg);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
}

.carousel-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--color-navy);
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide.active .carousel-image img {
    transform: scale(1.02);
}

.carousel-info {
    padding: var(--spacing-lg);
    background: var(--color-white);
    text-align: center;
}

.carousel-category {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: var(--spacing-xs);
}

.carousel-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--spacing-xs);
}

.carousel-description {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-gray);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-phthalo);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    color: var(--color-phthalo);
}

.carousel-btn:hover {
    background: var(--color-phthalo);
}

.carousel-btn:hover svg {
    color: var(--color-white);
}

.carousel-dots {
    display: flex;
    gap: var(--spacing-xs);
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--color-phthalo);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dot.active,
.carousel-dot:hover {
    background: var(--color-phthalo);
}

.carousel-cta {
    margin-top: var(--spacing-xl);
}

/* ===================================
   Page-Specific Styles
   =================================== */

/* Gallery Page */
.gallery-page-banner {
    margin-top: 80px;
}

/* Contact Page */
.contact-page {
    margin-top: 80px;
    padding-top: var(--spacing-md);
    min-height: calc(100vh - 200px);
}

/* Attributions Page */
.attributions-page {
    margin-top: 80px;
    padding-top: var(--spacing-md);
    min-height: calc(100vh - 200px);
    padding-bottom: var(--spacing-xxl);
}

.attributions-page-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, #ffffff 0%, #e8e8e8 18%, #D9D9D9 35%, #8c8c8c 50%, #D9D9D9 65%, #efefef 82%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.7)) drop-shadow(0 6px 16px rgba(0,0,0,0.4)) drop-shadow(0 0 30px rgba(217,217,217,0.15));
    margin-bottom: 0;
}

.attributions-content {
    max-width: 800px;
    margin: 0 auto;
}

.attributions-statement {
    margin-bottom: var(--spacing-lg);
}

.attributions-statement h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: rgba(217, 217, 217, 0.95);
    margin-bottom: var(--spacing-md);
}

.attributions-statement p {
    color: rgba(217, 217, 217, 0.75);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.attributions-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0;
}

.attribution-item {
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(18,53,36,0.18) 100%);
    backdrop-filter: blur(18px) saturate(1.3) brightness(1.06);
    -webkit-backdrop-filter: blur(18px) saturate(1.3) brightness(1.06);
    border: 1px solid rgba(217,217,217,0.16);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.attribution-item:hover {
    border-color: rgba(217,217,217,0.3);
    box-shadow: 0 6px 28px rgba(0,0,0,0.45);
}

.attribution-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: rgba(217, 217, 217, 0.95);
    font-weight: 500;
    display: block;
}

.attribution-desc {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(217, 217, 217, 0.55);
    margin-top: var(--spacing-xs);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.attribution-item:hover .attribution-desc {
    opacity: 1;
    max-height: 50px;
    margin-top: var(--spacing-sm);
}

/* Credentials Page */
.credentials-page {
    margin-top: 80px;
    padding-top: var(--spacing-md);
    min-height: calc(100vh - 200px);
    padding-bottom: var(--spacing-xxl);
}

.credentials-page-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, #ffffff 0%, #e8e8e8 18%, #D9D9D9 35%, #8c8c8c 50%, #D9D9D9 65%, #efefef 82%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.7)) drop-shadow(0 6px 16px rgba(0,0,0,0.4)) drop-shadow(0 0 30px rgba(217,217,217,0.15));
    margin-bottom: 0;
}

.credentials-content {
    max-width: 900px;
    margin: 0 auto;
}

.credentials-section {
    margin-bottom: 1rem;
    border-bottom: none;
}

.project-detail-side-row > .credentials-section {
    margin-bottom: 0;
}

.credentials-section:last-child {
    border-bottom: none;
}

.credentials-heading {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: rgba(217, 217, 217, 0.95);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-left: var(--spacing-md);
}

.credentials-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 100%;
    background: rgba(217, 217, 217, 0.4);
}

.credential-item {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255,255,255,0.04);
    border-radius: 4px;
    border-left: 2px solid rgba(217,217,217,0.2);
    transition: all var(--transition-fast);
}

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

.credential-item:hover {
    background: rgba(255,255,255,0.07);
    border-left-color: rgba(217,217,217,0.5);
}

.credential-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: rgba(217, 217, 217, 0.95);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.credential-institution {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(217, 217, 217, 1);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.credential-date {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(217, 217, 217, 0.45);
    margin-top: var(--spacing-xs);
}

.experience-list,
.awards-list {
    list-style: none;
    padding: 0;
}

.experience-list li,
.awards-list li {
    position: relative;
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: rgba(217, 217, 217, 0.8);
    line-height: 1.7;
}

.experience-list li::before,
.awards-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: rgba(217, 217, 217, 0.4);
    border-radius: 50%;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.skill-category h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: rgba(217, 217, 217, 0.95);
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid rgba(217,217,217,0.2);
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    color: rgba(217, 217, 217, 0.75);
    padding: var(--spacing-xs) 0;
    font-size: 0.95rem;
}

/* ===================================
   Gallery Featured Page
   =================================== */

.gallery-featured-page {
    margin-top: 80px;
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-xxl);
    min-height: calc(100vh - 200px);
}

.gallery-page-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, #ffffff 0%, #e8e8e8 18%, #D9D9D9 35%, #8c8c8c 50%, #D9D9D9 65%, #efefef 82%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.7)) drop-shadow(0 6px 16px rgba(0,0,0,0.4)) drop-shadow(0 0 30px rgba(217,217,217,0.15));
    margin-bottom: 0;
    animation: titleEntry 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Gallery Panel Layout — alternating image/text panels */
.gallery-piece {
    margin-top: 3rem;
}

.gallery-piece-box {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    align-items: center;
}

.gallery-piece-box--right {
    flex-direction: row-reverse;
}

.gallery-piece-image {
    flex: 0 0 52%;
    min-width: 0;
    aspect-ratio: 4/3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.15);
}

.gallery-piece-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Mini-carousel fills gallery piece image container */
.gallery-piece-image .mini-carousel {
    position: absolute;
    inset: 0;
}

.gallery-piece-image .mini-carousel-track {
    height: 100%;
}

.gallery-piece-image .mini-carousel-slide {
    height: 100%;
}

.gallery-piece-image .mini-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-piece-info {
    flex: 1;
    min-width: 0;
    padding: var(--spacing-sm) var(--spacing-md);
}

.gallery-featured-category {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(217, 217, 217, 0.5);
    margin-bottom: var(--spacing-xs);
}

.gallery-featured-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    color: rgba(217, 217, 217, 0.95);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.gallery-featured-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(217, 217, 217, 0.65);
    margin: 0;
}

@media (max-width: 768px) {
    .gallery-piece-box,
    .gallery-piece-box--right {
        flex-direction: column;
    }

    .gallery-piece-image {
        flex: none;
        width: 100%;
    }
}

/* Explore Project Button */
.explore-btn {
    display: inline-block;
    margin-top: var(--spacing-md);
    padding: 0.75rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(217, 217, 217, 0.9);
    border: 1px solid rgba(217, 217, 217, 0.35);
    border-radius: 2px;
    text-decoration: none;
    transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.explore-btn:hover {
    background: rgba(217, 217, 217, 0.1);
    border-color: rgba(217, 217, 217, 0.7);
    color: #ffffff;
}

/* ===================================
   Project Detail Pages
   =================================== */

.project-detail-page {
    margin-top: 80px;
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-xxl);
    min-height: calc(100vh - 200px);
}

.project-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(217, 217, 217, 0.55);
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color var(--transition-base);
}

.project-detail-back:hover {
    color: rgba(217, 217, 217, 0.9);
}

.project-detail-back svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.project-detail-header {
    margin-bottom: 1rem;
}

.project-detail-category {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(217, 217, 217, 0.45);
    margin-bottom: var(--spacing-xs);
}

.project-detail-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, #ffffff 0%, #e8e8e8 18%, #D9D9D9 35%, #8c8c8c 50%, #D9D9D9 65%, #efefef 82%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.7)) drop-shadow(0 6px 16px rgba(0,0,0,0.4));
    margin: 0;
    line-height: 1.05;
    animation: titleEntry 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Project images section */
.project-detail-images {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: 2.5rem;
}

.project-detail-images--single {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.project-detail-images--duo {
    grid-template-columns: 1fr 1fr;
}

.project-detail-images--trio {
    grid-template-columns: repeat(3, 1fr);
}

.project-detail-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(217, 217, 217, 0.1);
}

/* Project info glass sections */
.project-detail-section {
    margin-bottom: 0.75rem;
}

/* Hero split layout — text left, image right */
.project-detail-hero-split {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.project-detail-hero-split-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-detail-hero-split-text .project-detail-section {
    margin-bottom: 0;
}

.project-detail-hero-split-image {
    flex: 0 0 46%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-detail-hero-split-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .project-detail-hero-split {
        flex-direction: column;
    }
    .project-detail-hero-split-image {
        flex: none;
        width: 100%;
    }
}

.project-detail-section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(217, 217, 217, 0.45);
    margin-bottom: var(--spacing-sm);
}

.project-detail-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(217, 217, 217, 0.75);
    margin: 0;
}

/* Color palette swatches */
.project-palette {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xs);
}

.palette-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.swatch-block {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(217, 217, 217, 0.15);
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.swatch-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(217, 217, 217, 0.5);
    text-align: center;
}

/* Side-by-side palette + content row */
.project-detail-side-row {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    margin-bottom: 0.75rem;
}

.project-detail-side-row > .project-detail-section {
    margin-bottom: 0;
}

/* Compact vertical palette for side column */
.project-palette--compact {
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.project-palette--compact .palette-swatch {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
}

.project-palette--compact .swatch-block {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.project-palette--compact .swatch-label {
    text-align: left;
    font-size: 0.65rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .project-detail-side-row {
        flex-direction: column;
    }
}

/* Tools list */
.project-tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xs);
    padding: 0;
    list-style: none;
}

.project-tools-list li {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(217, 217, 217, 0.7);
    border: 1px solid rgba(217, 217, 217, 0.2);
    border-radius: 2px;
    padding: 0.3rem 0.8rem;
}

/* Process block: image floats left, text wraps around and under it */
.project-detail-process {
    margin-top: var(--spacing-sm);
    overflow: hidden; /* clearfix */
}

.project-detail-process-img {
    float: left;
    width: 160px;
    margin: 0 1.5rem 0.75rem 0;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .project-detail-images--duo,
    .project-detail-images--trio {
        grid-template-columns: 1fr;
    }

    .project-detail-process-img {
        float: none;
        width: 100%;
        margin: 0 0 1rem 0;
    }
}

/* Blog Page */
.blog-page {
    margin-top: 80px;
    padding-top: var(--spacing-md);
    min-height: calc(100vh - 200px);
    padding-bottom: var(--spacing-xxl);
}

.blog-page-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, #ffffff 0%, #e8e8e8 18%, #D9D9D9 35%, #8c8c8c 50%, #D9D9D9 65%, #efefef 82%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.7)) drop-shadow(0 6px 16px rgba(0,0,0,0.4)) drop-shadow(0 0 30px rgba(217,217,217,0.15));
    margin-bottom: 0;
}

.blog-intro {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
}

.blog-intro p {
    font-size: 1.15rem;
    color: rgba(217, 217, 217, 0.75);
    line-height: 1.8;
}

.blog-filter-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.blog-filter-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(217, 217, 217, 0.3);
    background: transparent;
    color: rgba(217, 217, 217, 0.75);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.blog-filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(217, 217, 217, 0.6);
    color: rgba(217, 217, 217, 1);
}

.blog-filter-btn.active {
    background: rgba(217, 217, 217, 0.15);
    border-color: rgba(217, 217, 217, 0.6);
    color: rgba(217, 217, 217, 1);
}

.blog-posts {
    max-width: 900px;
    margin: 0 auto;
}

.blog-post {
    background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(18,53,36,0.18) 100%);
    backdrop-filter: blur(18px) saturate(1.3) brightness(1.06);
    -webkit-backdrop-filter: blur(18px) saturate(1.3) brightness(1.06);
    border: 1px solid rgba(217,217,217,0.16);
    border-radius: var(--radius-md);
    padding: 2rem 2.25rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 32px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.1) inset, 0 12px 40px rgba(0,0,0,0.3);
    transition: all var(--transition-base);
}

.blog-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.55), 0 1px 0 rgba(255,255,255,0.12) inset;
}

.blog-post-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(217, 217, 217, 0.15);
}

.blog-post-date {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(217, 217, 217, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.blog-post-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: rgba(217, 217, 217, 0.95);
    margin-top: var(--spacing-xs);
    line-height: 1.3;
}

.blog-post-content {
    color: rgba(217, 217, 217, 0.8);
    line-height: 1.65;
}

.blog-post-content p {
    margin-bottom: 1rem;
}

.blog-post-content p:last-child {
    margin-bottom: 0;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: var(--spacing-md) 0;
}

.blog-post-content h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: rgba(217, 217, 217, 1);
    margin: 1.25rem 0 0.5rem;
    letter-spacing: 0.02em;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
}

.blog-post-content li {
    margin-bottom: var(--spacing-xs);
}

/* Mini Carousel for Multi-Image Projects */
.mini-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.mini-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.mini-carousel-slide {
    min-width: 100%;
    height: 100%;
}

.mini-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mini-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(18, 53, 36, 0.8);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-fast);
    z-index: 10;
}

.project-card:hover .mini-carousel-btn {
    opacity: 1;
}

.mini-carousel-btn:hover {
    background: var(--color-phthalo);
}

.mini-carousel-btn--prev {
    left: 8px;
}

.mini-carousel-btn--next {
    right: 8px;
}

.mini-carousel-btn svg {
    width: 16px;
    height: 16px;
}

.mini-carousel-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.mini-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mini-carousel-dot.active {
    background: var(--color-gold);
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .carousel {
        max-width: 100%;
        border-radius: 0;
    }

    .carousel-title {
        font-size: 1.5rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .carousel-info {
        padding: var(--spacing-md);
    }

    .carousel-title {
        font-size: 1.25rem;
    }

    .carousel-controls {
        gap: var(--spacing-sm);
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }
}

/* ===================================
   Easter Egg Modal
   =================================== */

#easter-egg-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

#easter-egg-modal.active {
    display: flex;
}

.easter-egg-content {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.04) 100%);
    backdrop-filter: blur(18px) saturate(1.3) brightness(1.06);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 18px;
    padding: 2.5rem 2.25rem 2rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    animation: easterEggPop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes easterEggPop {
    from { opacity: 0; transform: scale(0.65); }
    to   { opacity: 1; transform: scale(1); }
}

.easter-egg-close {
    position: absolute;
    top: 0.8rem;
    right: 1.1rem;
    background: none;
    border: none;
    color: rgba(217, 217, 217, 0.6);
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    padding: 0;
}

.easter-egg-close:hover {
    color: rgba(217, 217, 217, 1);
    transform: scale(1.15);
}

.easter-egg-img {
    width: 100%;
    max-width: 260px;
    height: auto;
    border-radius: 14px;
    display: block;
    margin: 0 auto 1.4rem;
}

.easter-egg-message {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(217, 217, 217, 0.9);
    line-height: 1.6;
    margin: 0;
}
